FRV Linux: Fill 'collect_regset' in regset structures.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
4 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
5 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
6 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
7 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
8 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
9 (frv_linux_supply_gregset): Replace main logic by call to
10 regcache_supply_regset, but keep clearing gr32-gr63.
11 (frv_linux_supply_fpregset): Delete function.
12 (frv_linux_gregset): Refer to appropriate register map and add
13 regcache_collect_regset as the collect method.
14 (frv_linux_fpregset): Likewise. Also exchange the supply method
15 by regcache_supply_regset.
16
17 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
18
19 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
20 by call to alpha_supply_int_regs.
21 (alpha_linux_collect_gregset): New function.
22 (alpha_linux_supply_fpregset): Replace logic by call to
23 alpha_supply_fp_regs.
24 (alpha_linux_collect_fpregset): New function.
25 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
26
27 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
28
29 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
30 by call to regcache_collect_regset.
31 (supply_gregset, supply_fpregset): Call regcache_supply_regset
32 instead of aarch64_linux_supply_gregset/_fpregset.
33 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
34 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
35 header file instead.
36 (aarch64_linux_supply_gregset, supply_gregset_from_core)
37 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
38 functions. Move logic to ...
39 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
40 register maps.
41 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
42 refer to new register maps, replace *_regset_from_core by
43 regcache_supply_regset, and also use regcache_collect_regset.
44 * aarch64-linux-tdep.h: Include "regset.h".
45 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
46 Delete prototypes.
47 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
48 macros, moved from C source file.
49 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
50 variable declarations.
51
52 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
53
54 * s390-linux-nat.c: Include "regset.h".
55 (regmap_gregset): Delete macro.
56 (s390_64_regmap_gregset): New register map for
57 regcache_supply/_collect_regset.
58 (s390_64_gregset): New regset.
59 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
60 (regmap_fpregset): Delete macro.
61 (s390_native_supply, s390_native_collect): Delete functions.
62 (supply_gregset, fill_gregset): Replace s390-specific regmap
63 handling by a call to regcache_supply/_collect_regset.
64 (supply_fpregset, fill_fpregset): Call regcache_supply/
65 _collect_regset instead of s390_native_supply/_collect.
66 (fetch_regset, store_regset): Likewise. Also change the last
67 parameter to a regset instead of a regmap.
68 (s390_linux_fetch_inferior_registers)
69 (390_linux_store_inferior_registers): Adjust last parameter in
70 calls to fetch_regset and store_regset.
71 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
72 (s390_gregmap): ... this. Also make static const and convert to
73 regcache_map_entry format.
74 (s390x_regmap_gregset): Delete.
75 (s390_regmap_fpregset): Rename to...
76 (s390_fpregmap): ... this. Make static const and convert to
77 regcache_map_entry format.
78 (s390_regmap_upper, s390_regmap_last_break)
79 (s390x_regmap_last_break, s390_regmap_system_call)
80 (s390_regmap_tdb): Likewise.
81 (s390_supply_regset, s390_collect_regset): Remove functions.
82 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
83 s390_supply_regset.
84 (s390_gregset, s390_fpregset, s390_upper_regset)
85 (s390_last_break_regset, s390x_last_break_regset)
86 (s390_system_call_regset, s390_tdb_regset): Make global and
87 replace s390_supply/_collect_regset by regcache_supply/
88 _collect_regset.
89 (s390x_gregset): Delete.
90 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
91 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
92 (s390_regmap_fpregset, s390_regmap_last_break)
93 (s390x_regmap_last_break, s390_regmap_system_call)
94 (s390_regmap_tdb): Delete global variable declarations.
95 (s390_gregset, s390_fpregset, s390_last_break_regset)
96 (s390x_last_break_regset, s390_system_call_regset)
97 (s390_tdb_regset): New global variable declarations.
98
99 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
100
101 * regcache.c: Include "regset.h".
102 (regcache_transfer_regset): New local function.
103 (regcache_supply_regset, regcache_collect_regset): New functions.
104 * regcache.h (struct regcache_map_entry): New structure.
105 (REGCACHE_MAP_SKIP): New enum value.
106 (regcache_supply_regset, regcache_collect_regset): New prototypes.
107
108 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
109
110 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
111 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
112 (ppc_linux_collect_gregset ): Likewise.
113 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
114 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
115 (ppc_collect_vrregset): Likewise.
116 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
117 Likewise.
118
119 2014-08-07 Yao Qi <yao@codesourcery.com>
120
121 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
122 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
123 * remote.c (remote_read_bytes): Likewise.
124
125 2014-08-07 Yao Qi <yao@codesourcery.com>
126
127 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
128
129 2014-08-07 Yao Qi <yao@codesourcery.com>
130
131 PR remote/17230
132 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
133 TARGET_XFER_OK instead of 0.
134
135 2014-08-07 Gary Benson <gbenson@redhat.com>
136
137 * common/common-defs.h: Include errno.h.
138 * defs.h: Do not include errno.h.
139 * ada-typeprint.c: Likewise.
140 * c-typeprint.c: Likewise.
141 * core-regset.c: Likewise.
142 * corefile.c: Likewise.
143 * corelow.c: Likewise.
144 * event-loop.c: Likewise.
145 * f-typeprint.c: Likewise.
146 * gnu-nat.c: Likewise.
147 * go32-nat.c: Likewise.
148 * i386gnu-nat.c: Likewise.
149 * m2-typeprint.c: Likewise.
150 * nat/linux-btrace.c: Likewise.
151 * p-typeprint.c: Likewise.
152 * procfs.c: Likewise.
153 * remote-sim.c: Likewise.
154 * rs6000-nat.c: Likewise.
155 * target.c: Likewise.
156 * typeprint.c: Likewise.
157 * ui-file.c: Likewise.
158 * valops.c: Likewise.
159 * valprint.c: Likewise.
160
161 2014-08-07 Gary Benson <gbenson@redhat.com>
162
163 * common/common-defs.h: Include string.h.
164 * aarch64-tdep.c: Do not include string.h.
165 * ada-exp.y: Likewise.
166 * ada-lang.c: Likewise.
167 * ada-lex.l: Likewise.
168 * ada-typeprint.c: Likewise.
169 * ada-valprint.c: Likewise.
170 * aix-thread.c: Likewise.
171 * alpha-linux-tdep.c: Likewise.
172 * alpha-mdebug-tdep.c: Likewise.
173 * alpha-nat.c: Likewise.
174 * alpha-osf1-tdep.c: Likewise.
175 * alpha-tdep.c: Likewise.
176 * alphanbsd-tdep.c: Likewise.
177 * amd64-dicos-tdep.c: Likewise.
178 * amd64-linux-tdep.c: Likewise.
179 * amd64-nat.c: Likewise.
180 * amd64-sol2-tdep.c: Likewise.
181 * amd64fbsd-tdep.c: Likewise.
182 * amd64obsd-tdep.c: Likewise.
183 * arch-utils.c: Likewise.
184 * arm-linux-nat.c: Likewise.
185 * arm-linux-tdep.c: Likewise.
186 * arm-tdep.c: Likewise.
187 * arm-wince-tdep.c: Likewise.
188 * armbsd-tdep.c: Likewise.
189 * armnbsd-nat.c: Likewise.
190 * armnbsd-tdep.c: Likewise.
191 * armobsd-tdep.c: Likewise.
192 * avr-tdep.c: Likewise.
193 * ax-gdb.c: Likewise.
194 * ax-general.c: Likewise.
195 * bcache.c: Likewise.
196 * bfin-tdep.c: Likewise.
197 * breakpoint.c: Likewise.
198 * build-id.c: Likewise.
199 * buildsym.c: Likewise.
200 * c-exp.y: Likewise.
201 * c-lang.c: Likewise.
202 * c-typeprint.c: Likewise.
203 * c-valprint.c: Likewise.
204 * charset.c: Likewise.
205 * cli-out.c: Likewise.
206 * cli/cli-cmds.c: Likewise.
207 * cli/cli-decode.c: Likewise.
208 * cli/cli-dump.c: Likewise.
209 * cli/cli-interp.c: Likewise.
210 * cli/cli-logging.c: Likewise.
211 * cli/cli-script.c: Likewise.
212 * cli/cli-setshow.c: Likewise.
213 * cli/cli-utils.c: Likewise.
214 * coffread.c: Likewise.
215 * common/agent.c: Likewise.
216 * common/buffer.c: Likewise.
217 * common/buffer.h: Likewise.
218 * common/common-utils.c: Likewise.
219 * common/filestuff.c: Likewise.
220 * common/filestuff.c: Likewise.
221 * common/format.c: Likewise.
222 * common/print-utils.c: Likewise.
223 * common/rsp-low.c: Likewise.
224 * common/signals.c: Likewise.
225 * common/vec.h: Likewise.
226 * common/xml-utils.c: Likewise.
227 * core-regset.c: Likewise.
228 * corefile.c: Likewise.
229 * corelow.c: Likewise.
230 * cp-abi.c: Likewise.
231 * cp-name-parser.y: Likewise.
232 * cp-support.c: Likewise.
233 * cp-valprint.c: Likewise.
234 * cris-tdep.c: Likewise.
235 * d-exp.y: Likewise.
236 * darwin-nat.c: Likewise.
237 * dbxread.c: Likewise.
238 * dcache.c: Likewise.
239 * demangle.c: Likewise.
240 * dicos-tdep.c: Likewise.
241 * disasm.c: Likewise.
242 * doublest.c: Likewise.
243 * dsrec.c: Likewise.
244 * dummy-frame.c: Likewise.
245 * dwarf2-frame.c: Likewise.
246 * dwarf2loc.c: Likewise.
247 * dwarf2read.c: Likewise.
248 * elfread.c: Likewise.
249 * environ.c: Likewise.
250 * eval.c: Likewise.
251 * event-loop.c: Likewise.
252 * exceptions.c: Likewise.
253 * exec.c: Likewise.
254 * expprint.c: Likewise.
255 * f-exp.y: Likewise.
256 * f-lang.c: Likewise.
257 * f-typeprint.c: Likewise.
258 * f-valprint.c: Likewise.
259 * fbsd-nat.c: Likewise.
260 * findcmd.c: Likewise.
261 * findvar.c: Likewise.
262 * fork-child.c: Likewise.
263 * frame.c: Likewise.
264 * frv-linux-tdep.c: Likewise.
265 * frv-tdep.c: Likewise.
266 * gdb.c: Likewise.
267 * gdb_bfd.c: Likewise.
268 * gdbarch.c: Likewise.
269 * gdbarch.sh: Likewise.
270 * gdbtypes.c: Likewise.
271 * gnu-nat.c: Likewise.
272 * gnu-v2-abi.c: Likewise.
273 * gnu-v3-abi.c: Likewise.
274 * go-exp.y: Likewise.
275 * go-lang.c: Likewise.
276 * go32-nat.c: Likewise.
277 * guile/guile.c: Likewise.
278 * guile/scm-auto-load.c: Likewise.
279 * hppa-hpux-tdep.c: Likewise.
280 * hppa-linux-nat.c: Likewise.
281 * hppanbsd-tdep.c: Likewise.
282 * hppaobsd-tdep.c: Likewise.
283 * i386-cygwin-tdep.c: Likewise.
284 * i386-dicos-tdep.c: Likewise.
285 * i386-linux-tdep.c: Likewise.
286 * i386-nto-tdep.c: Likewise.
287 * i386-sol2-tdep.c: Likewise.
288 * i386-tdep.c: Likewise.
289 * i386bsd-tdep.c: Likewise.
290 * i386gnu-nat.c: Likewise.
291 * i386nbsd-tdep.c: Likewise.
292 * i386obsd-tdep.c: Likewise.
293 * i387-tdep.c: Likewise.
294 * ia64-libunwind-tdep.c: Likewise.
295 * ia64-linux-nat.c: Likewise.
296 * inf-child.c: Likewise.
297 * inf-ptrace.c: Likewise.
298 * inf-ttrace.c: Likewise.
299 * infcall.c: Likewise.
300 * infcmd.c: Likewise.
301 * inflow.c: Likewise.
302 * infrun.c: Likewise.
303 * interps.c: Likewise.
304 * iq2000-tdep.c: Likewise.
305 * irix5-nat.c: Likewise.
306 * jv-exp.y: Likewise.
307 * jv-lang.c: Likewise.
308 * jv-typeprint.c: Likewise.
309 * jv-valprint.c: Likewise.
310 * language.c: Likewise.
311 * linux-fork.c: Likewise.
312 * linux-nat.c: Likewise.
313 * lm32-tdep.c: Likewise.
314 * m2-exp.y: Likewise.
315 * m2-typeprint.c: Likewise.
316 * m32c-tdep.c: Likewise.
317 * m32r-linux-nat.c: Likewise.
318 * m32r-linux-tdep.c: Likewise.
319 * m32r-rom.c: Likewise.
320 * m32r-tdep.c: Likewise.
321 * m68hc11-tdep.c: Likewise.
322 * m68k-tdep.c: Likewise.
323 * m68kbsd-tdep.c: Likewise.
324 * m68klinux-nat.c: Likewise.
325 * m68klinux-tdep.c: Likewise.
326 * m88k-tdep.c: Likewise.
327 * machoread.c: Likewise.
328 * macrocmd.c: Likewise.
329 * main.c: Likewise.
330 * mdebugread.c: Likewise.
331 * mem-break.c: Likewise.
332 * memattr.c: Likewise.
333 * memory-map.c: Likewise.
334 * mep-tdep.c: Likewise.
335 * mi/mi-cmd-break.c: Likewise.
336 * mi/mi-cmd-disas.c: Likewise.
337 * mi/mi-cmd-env.c: Likewise.
338 * mi/mi-cmd-stack.c: Likewise.
339 * mi/mi-cmd-var.c: Likewise.
340 * mi/mi-cmds.c: Likewise.
341 * mi/mi-console.c: Likewise.
342 * mi/mi-getopt.c: Likewise.
343 * mi/mi-interp.c: Likewise.
344 * mi/mi-main.c: Likewise.
345 * mi/mi-parse.c: Likewise.
346 * microblaze-rom.c: Likewise.
347 * microblaze-tdep.c: Likewise.
348 * mingw-hdep.c: Likewise.
349 * minidebug.c: Likewise.
350 * minsyms.c: Likewise.
351 * mips-irix-tdep.c: Likewise.
352 * mips-linux-tdep.c: Likewise.
353 * mips-tdep.c: Likewise.
354 * mips64obsd-tdep.c: Likewise.
355 * mipsnbsd-tdep.c: Likewise.
356 * mipsread.c: Likewise.
357 * mn10300-linux-tdep.c: Likewise.
358 * mn10300-tdep.c: Likewise.
359 * monitor.c: Likewise.
360 * moxie-tdep.c: Likewise.
361 * mt-tdep.c: Likewise.
362 * nat/linux-btrace.c: Likewise.
363 * nat/linux-osdata.c: Likewise.
364 * nat/linux-procfs.c: Likewise.
365 * nat/linux-ptrace.c: Likewise.
366 * nat/linux-waitpid.c: Likewise.
367 * nbsd-tdep.c: Likewise.
368 * nios2-linux-tdep.c: Likewise.
369 * nto-procfs.c: Likewise.
370 * nto-tdep.c: Likewise.
371 * objc-lang.c: Likewise.
372 * objfiles.c: Likewise.
373 * opencl-lang.c: Likewise.
374 * osabi.c: Likewise.
375 * osdata.c: Likewise.
376 * p-exp.y: Likewise.
377 * p-lang.c: Likewise.
378 * p-typeprint.c: Likewise.
379 * parse.c: Likewise.
380 * posix-hdep.c: Likewise.
381 * ppc-linux-nat.c: Likewise.
382 * ppc-sysv-tdep.c: Likewise.
383 * ppcfbsd-tdep.c: Likewise.
384 * ppcnbsd-tdep.c: Likewise.
385 * ppcobsd-tdep.c: Likewise.
386 * printcmd.c: Likewise.
387 * procfs.c: Likewise.
388 * prologue-value.c: Likewise.
389 * python/py-auto-load.c: Likewise.
390 * python/py-gdb-readline.c: Likewise.
391 * ravenscar-thread.c: Likewise.
392 * regcache.c: Likewise.
393 * registry.c: Likewise.
394 * remote-fileio.c: Likewise.
395 * remote-m32r-sdi.c: Likewise.
396 * remote-mips.c: Likewise.
397 * remote-notif.c: Likewise.
398 * remote-sim.c: Likewise.
399 * remote.c: Likewise.
400 * reverse.c: Likewise.
401 * rs6000-aix-tdep.c: Likewise.
402 * ser-base.c: Likewise.
403 * ser-go32.c: Likewise.
404 * ser-mingw.c: Likewise.
405 * ser-pipe.c: Likewise.
406 * ser-tcp.c: Likewise.
407 * ser-unix.c: Likewise.
408 * serial.c: Likewise.
409 * sh-tdep.c: Likewise.
410 * sh64-tdep.c: Likewise.
411 * shnbsd-tdep.c: Likewise.
412 * skip.c: Likewise.
413 * sol-thread.c: Likewise.
414 * solib-dsbt.c: Likewise.
415 * solib-frv.c: Likewise.
416 * solib-osf.c: Likewise.
417 * solib-som.c: Likewise.
418 * solib-spu.c: Likewise.
419 * solib-target.c: Likewise.
420 * solib.c: Likewise.
421 * somread.c: Likewise.
422 * source.c: Likewise.
423 * sparc-nat.c: Likewise.
424 * sparc-sol2-tdep.c: Likewise.
425 * sparc-tdep.c: Likewise.
426 * sparc64-tdep.c: Likewise.
427 * sparc64fbsd-tdep.c: Likewise.
428 * sparc64nbsd-tdep.c: Likewise.
429 * sparcnbsd-tdep.c: Likewise.
430 * spu-linux-nat.c: Likewise.
431 * spu-multiarch.c: Likewise.
432 * spu-tdep.c: Likewise.
433 * stabsread.c: Likewise.
434 * stack.c: Likewise.
435 * std-regs.c: Likewise.
436 * symfile.c: Likewise.
437 * symmisc.c: Likewise.
438 * symtab.c: Likewise.
439 * target.c: Likewise.
440 * thread.c: Likewise.
441 * tilegx-linux-nat.c: Likewise.
442 * tilegx-tdep.c: Likewise.
443 * top.c: Likewise.
444 * tracepoint.c: Likewise.
445 * tui/tui-command.c: Likewise.
446 * tui/tui-data.c: Likewise.
447 * tui/tui-disasm.c: Likewise.
448 * tui/tui-file.c: Likewise.
449 * tui/tui-layout.c: Likewise.
450 * tui/tui-out.c: Likewise.
451 * tui/tui-regs.c: Likewise.
452 * tui/tui-source.c: Likewise.
453 * tui/tui-stack.c: Likewise.
454 * tui/tui-win.c: Likewise.
455 * tui/tui-windata.c: Likewise.
456 * tui/tui-winsource.c: Likewise.
457 * typeprint.c: Likewise.
458 * ui-file.c: Likewise.
459 * ui-out.c: Likewise.
460 * user-regs.c: Likewise.
461 * utils.c: Likewise.
462 * v850-tdep.c: Likewise.
463 * valarith.c: Likewise.
464 * valops.c: Likewise.
465 * valprint.c: Likewise.
466 * value.c: Likewise.
467 * varobj.c: Likewise.
468 * vax-tdep.c: Likewise.
469 * vaxnbsd-tdep.c: Likewise.
470 * vaxobsd-tdep.c: Likewise.
471 * windows-nat.c: Likewise.
472 * xcoffread.c: Likewise.
473 * xml-support.c: Likewise.
474 * xstormy16-tdep.c: Likewise.
475 * xtensa-linux-nat.c: Likewise.
476
477 2014-08-07 Gary Benson <gbenson@redhat.com>
478
479 * common/common-defs.h: Include gdb_assert.h.
480 * aarch64-tdep.c: Do not include gdb_assert.h.
481 * addrmap.c: Likewise.
482 * aix-thread.c: Likewise.
483 * alpha-linux-tdep.c: Likewise.
484 * alpha-mdebug-tdep.c: Likewise.
485 * alphanbsd-tdep.c: Likewise.
486 * amd64-nat.c: Likewise.
487 * amd64-tdep.c: Likewise.
488 * amd64bsd-nat.c: Likewise.
489 * amd64fbsd-nat.c: Likewise.
490 * amd64fbsd-tdep.c: Likewise.
491 * amd64nbsd-nat.c: Likewise.
492 * amd64nbsd-tdep.c: Likewise.
493 * amd64obsd-nat.c: Likewise.
494 * amd64obsd-tdep.c: Likewise.
495 * arch-utils.c: Likewise.
496 * arm-tdep.c: Likewise.
497 * armbsd-tdep.c: Likewise.
498 * auxv.c: Likewise.
499 * bcache.c: Likewise.
500 * bfin-tdep.c: Likewise.
501 * blockframe.c: Likewise.
502 * breakpoint.c: Likewise.
503 * bsd-kvm.c: Likewise.
504 * bsd-uthread.c: Likewise.
505 * buildsym.c: Likewise.
506 * c-exp.y: Likewise.
507 * c-lang.c: Likewise.
508 * charset.c: Likewise.
509 * cleanups.c: Likewise.
510 * cli-out.c: Likewise.
511 * cli/cli-decode.c: Likewise.
512 * cli/cli-dump.c: Likewise.
513 * cli/cli-logging.c: Likewise.
514 * cli/cli-script.c: Likewise.
515 * cli/cli-utils.c: Likewise.
516 * coffread.c: Likewise.
517 * common/common-utils.c: Likewise.
518 * common/queue.h: Likewise.
519 * common/signals.c: Likewise.
520 * common/vec.h: Likewise.
521 * complaints.c: Likewise.
522 * completer.c: Likewise.
523 * corelow.c: Likewise.
524 * cp-abi.c: Likewise.
525 * cp-name-parser.y: Likewise.
526 * cp-namespace.c: Likewise.
527 * cp-support.c: Likewise.
528 * cris-tdep.c: Likewise.
529 * dbxread.c: Likewise.
530 * dictionary.c: Likewise.
531 * doublest.c: Likewise.
532 * dsrec.c: Likewise.
533 * dummy-frame.c: Likewise.
534 * dwarf2-frame-tailcall.c: Likewise.
535 * dwarf2-frame.c: Likewise.
536 * dwarf2expr.c: Likewise.
537 * dwarf2loc.c: Likewise.
538 * dwarf2read.c: Likewise.
539 * eval.c: Likewise.
540 * event-loop.c: Likewise.
541 * exceptions.c: Likewise.
542 * expprint.c: Likewise.
543 * f-valprint.c: Likewise.
544 * fbsd-nat.c: Likewise.
545 * findvar.c: Likewise.
546 * frame-unwind.c: Likewise.
547 * frame.c: Likewise.
548 * frv-tdep.c: Likewise.
549 * gcore.c: Likewise.
550 * gdb-dlfcn.c: Likewise.
551 * gdb_bfd.c: Likewise.
552 * gdbarch.c: Likewise.
553 * gdbarch.sh: Likewise.
554 * gdbtypes.c: Likewise.
555 * gnu-nat.c: Likewise.
556 * gnu-v3-abi.c: Likewise.
557 * go-lang.c: Likewise.
558 * guile/scm-exception.c: Likewise.
559 * guile/scm-gsmob.c: Likewise.
560 * guile/scm-lazy-string.c: Likewise.
561 * guile/scm-math.c: Likewise.
562 * guile/scm-pretty-print.c: Likewise.
563 * guile/scm-safe-call.c: Likewise.
564 * guile/scm-utils.c: Likewise.
565 * guile/scm-value.c: Likewise.
566 * h8300-tdep.c: Likewise.
567 * hppa-hpux-nat.c: Likewise.
568 * hppa-tdep.c: Likewise.
569 * hppanbsd-tdep.c: Likewise.
570 * hppaobsd-tdep.c: Likewise.
571 * i386-darwin-nat.c: Likewise.
572 * i386-darwin-tdep.c: Likewise.
573 * i386-nto-tdep.c: Likewise.
574 * i386-tdep.c: Likewise.
575 * i386bsd-nat.c: Likewise.
576 * i386fbsd-tdep.c: Likewise.
577 * i386gnu-nat.c: Likewise.
578 * i386nbsd-tdep.c: Likewise.
579 * i386obsd-tdep.c: Likewise.
580 * i387-tdep.c: Likewise.
581 * ia64-libunwind-tdep.c: Likewise.
582 * ia64-tdep.c: Likewise.
583 * inf-ptrace.c: Likewise.
584 * inf-ttrace.c: Likewise.
585 * infcall.c: Likewise.
586 * infcmd.c: Likewise.
587 * infrun.c: Likewise.
588 * inline-frame.c: Likewise.
589 * interps.c: Likewise.
590 * jv-lang.c: Likewise.
591 * jv-typeprint.c: Likewise.
592 * linux-fork.c: Likewise.
593 * linux-nat.c: Likewise.
594 * linux-thread-db.c: Likewise.
595 * m32c-tdep.c: Likewise.
596 * m32r-linux-nat.c: Likewise.
597 * m32r-tdep.c: Likewise.
598 * m68k-tdep.c: Likewise.
599 * m68kbsd-nat.c: Likewise.
600 * m68kbsd-tdep.c: Likewise.
601 * m88k-tdep.c: Likewise.
602 * machoread.c: Likewise.
603 * macroexp.c: Likewise.
604 * macrotab.c: Likewise.
605 * maint.c: Likewise.
606 * mdebugread.c: Likewise.
607 * memory-map.c: Likewise.
608 * mep-tdep.c: Likewise.
609 * mi/mi-common.c: Likewise.
610 * microblaze-tdep.c: Likewise.
611 * mingw-hdep.c: Likewise.
612 * mips-linux-nat.c: Likewise.
613 * mips-linux-tdep.c: Likewise.
614 * mips-tdep.c: Likewise.
615 * mips64obsd-tdep.c: Likewise.
616 * mipsnbsd-tdep.c: Likewise.
617 * mn10300-linux-tdep.c: Likewise.
618 * mn10300-tdep.c: Likewise.
619 * moxie-tdep.c: Likewise.
620 * mt-tdep.c: Likewise.
621 * nat/linux-btrace.c: Likewise.
622 * nat/linux-osdata.c: Likewise.
623 * nat/linux-ptrace.c: Likewise.
624 * nat/mips-linux-watch.c: Likewise.
625 * nios2-linux-tdep.c: Likewise.
626 * nios2-tdep.c: Likewise.
627 * objc-lang.c: Likewise.
628 * objfiles.c: Likewise.
629 * obsd-nat.c: Likewise.
630 * opencl-lang.c: Likewise.
631 * osabi.c: Likewise.
632 * parse.c: Likewise.
633 * ppc-linux-nat.c: Likewise.
634 * ppc-sysv-tdep.c: Likewise.
635 * ppcfbsd-nat.c: Likewise.
636 * ppcfbsd-tdep.c: Likewise.
637 * ppcnbsd-nat.c: Likewise.
638 * ppcnbsd-tdep.c: Likewise.
639 * ppcobsd-nat.c: Likewise.
640 * ppcobsd-tdep.c: Likewise.
641 * printcmd.c: Likewise.
642 * procfs.c: Likewise.
643 * prologue-value.c: Likewise.
644 * psymtab.c: Likewise.
645 * python/py-lazy-string.c: Likewise.
646 * python/py-value.c: Likewise.
647 * regcache.c: Likewise.
648 * reggroups.c: Likewise.
649 * registry.c: Likewise.
650 * remote-sim.c: Likewise.
651 * remote.c: Likewise.
652 * rs6000-aix-tdep.c: Likewise.
653 * rs6000-tdep.c: Likewise.
654 * s390-linux-tdep.c: Likewise.
655 * score-tdep.c: Likewise.
656 * ser-base.c: Likewise.
657 * ser-mingw.c: Likewise.
658 * sh-tdep.c: Likewise.
659 * sh64-tdep.c: Likewise.
660 * solib-darwin.c: Likewise.
661 * solib-spu.c: Likewise.
662 * solib-svr4.c: Likewise.
663 * source.c: Likewise.
664 * sparc-nat.c: Likewise.
665 * sparc-sol2-tdep.c: Likewise.
666 * sparc-tdep.c: Likewise.
667 * sparc64-sol2-tdep.c: Likewise.
668 * sparc64-tdep.c: Likewise.
669 * sparc64fbsd-tdep.c: Likewise.
670 * sparc64nbsd-tdep.c: Likewise.
671 * sparc64obsd-tdep.c: Likewise.
672 * sparcnbsd-tdep.c: Likewise.
673 * sparcobsd-tdep.c: Likewise.
674 * spu-multiarch.c: Likewise.
675 * spu-tdep.c: Likewise.
676 * stabsread.c: Likewise.
677 * stack.c: Likewise.
678 * symfile.c: Likewise.
679 * symtab.c: Likewise.
680 * target-descriptions.c: Likewise.
681 * target-memory.c: Likewise.
682 * target.c: Likewise.
683 * tic6x-linux-tdep.c: Likewise.
684 * tic6x-tdep.c: Likewise.
685 * tilegx-linux-nat.c: Likewise.
686 * tilegx-tdep.c: Likewise.
687 * top.c: Likewise.
688 * tramp-frame.c: Likewise.
689 * tui/tui-out.c: Likewise.
690 * tui/tui-winsource.c: Likewise.
691 * ui-out.c: Likewise.
692 * user-regs.c: Likewise.
693 * utils.c: Likewise.
694 * v850-tdep.c: Likewise.
695 * valops.c: Likewise.
696 * value.c: Likewise.
697 * varobj.c: Likewise.
698 * vax-nat.c: Likewise.
699 * xml-syscall.c: Likewise.
700 * xml-tdesc.c: Likewise.
701 * xstormy16-tdep.c: Likewise.
702 * xtensa-linux-nat.c: Likewise.
703 * xtensa-tdep.c: Likewise.
704
705 2014-08-07 Gary Benson <gbenson@redhat.com>
706
707 * common/common-defs.h: Include common-utils.h.
708 * defs.h: Do not include common-utils.h.
709 * common/gdb_assert.h: Likewise.
710 * darwin-nat.h: Likewise.
711 * nat/linux-btrace.c: Likewise.
712 * target/waitstatus.h: Likewise.
713
714 2014-08-07 Gary Benson <gbenson@redhat.com>
715
716 * common/common-defs.h: Include ptid.h.
717 * defs.h: Do not include ptid.h.
718 * inferior.h: Likewise.
719 * infrun.h: Likewise.
720 * nat/linux-btrace.h: Likewise.
721 * nat/linux-osdata.h: Likewise.
722 * target/waitstatus.h: Likewise.
723
724 2014-08-07 Gary Benson <gbenson@redhat.com>
725
726 * common/common-defs.h: Include gdb_locale.h.
727 * defs.h: Do not include gdb_locale.h.
728
729 2014-08-07 Gary Benson <gbenson@redhat.com>
730
731 * common/common-defs.h: Include gdb/signals.h.
732 * defs.h: Do not include gdb/signals.h.
733
734 2014-08-07 Gary Benson <gbenson@redhat.com>
735
736 * common/common-defs.h: Include pathmax.h.
737 * defs.h: Do not include pathmax.h.
738
739 2014-08-07 Gary Benson <gbenson@redhat.com>
740
741 * common/common-defs.h: Include libiberty.h.
742 * defs.h: Do not include libiberty.h.
743 * common/queue.h: Likewise.
744 * cp-name-parser.y: Likewise.
745 * mi/mi-cmd-catch.c: Likewise.
746 * python/python.c: Likewise.
747
748 2014-08-07 Gary Benson <gbenson@redhat.com>
749
750 * common/common-defs.h: Include ansidecl.h.
751 * defs.h: Do not include ansidecl.h.
752 * common/buffer.h: Likewise.
753 * common/common-utils.h: Likewise.
754
755 2014-08-07 Gary Benson <gbenson@redhat.com>
756
757 * common/common-defs.h: Include stddef.h.
758 * defs.h: Do not include stddef.h.
759 * common/common-utils.h: Likewise.
760 * amd64fbsd-nat.c: Likewise.
761 * bcache.c: Likewise.
762 * charset.c: Likewise.
763 * common/buffer.h: Likewise.
764 * common/vec.h: Likewise.
765 * i386bsd-nat.c: Likewise.
766 * nat/linux-btrace.h: Likewise.
767 * ppcfbsd-nat.c: Likewise.
768 * ppcnbsd-tdep.h: Likewise.
769 * ppcobsd-nat.c: Likewise.
770 * ppcobsd-tdep.h: Likewise.
771 * python/py-gdb-readline.c: Likewise.
772
773 2014-08-07 Gary Benson <gbenson@redhat.com>
774
775 * common/common-defs.h: Include stdarg.h.
776 * defs.h: Do not include stdarg.h.
777 * ada-lang.c: Likewise.
778 * common/common-utils.h: Likewise.
779 * guile/scm-string.c: Likewise.
780 * guile/scm-utils.c: Likewise.
781 * m32c-tdep.c: Likewise.
782
783 2014-08-07 Gary Benson <gbenson@redhat.com>
784
785 * common/common-defs.h: Include stdlib.h.
786 * defs.h: Do not include stdlib.h.
787 * addrmap.c: Likewise.
788 * bcache.c: Likewise.
789 * common/buffer.c: Likewise.
790 * common/common-utils.c: Likewise.
791 * cp-name-parser.y: Likewise.
792 * go32-nat.c: Likewise.
793 * mn10300-linux-tdep.c: Likewise.
794 * nat/linux-osdata.c: Likewise.
795 * tui/tui.c: Likewise.
796 * windows-nat.c: Likewise.
797
798 2014-08-07 Gary Benson <gbenson@redhat.com>
799
800 * common/common-defs.h: Include stdio.h.
801 * defs.h: Do not include stdio.h.
802 * ada-lang.c: Likewise.
803 * common/buffer.c: Likewise.
804 * common/common-utils.c: Likewise.
805 * cp-name-parser.y: Likewise.
806 * gnu-nat.c: Likewise.
807 * go32-nat.c: Likewise.
808 * i386gnu-nat.c: Likewise.
809 * proc-api.c: Likewise.
810 * proc-events.c: Likewise.
811 * proc-flags.c: Likewise.
812 * proc-why.c: Likewise.
813 * python/python-internal.h: Likewise.
814 * target-memory.c: Likewise.
815 * tui/tui-io.c: Likewise.
816 * tui/tui.c: Likewise.
817
818 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
819
820 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
821 (scan_dyntag_auxv): Same.
822
823 2014-08-06 Yao Qi <yao@codesourcery.com>
824
825 * amd64-linux-nat.c: Remove duplicated include
826 "x86-linux-nat.h".
827 * i386-linux-nat.c: Likewise.
828
829 2014-08-06 Yao Qi <yao@codesourcery.com>
830
831 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
832 operand" with "Special opcode" in comments.
833
834 2014-08-05 Gary Benson <gbenson@redhat.com>
835
836 * interps.c (initialize_interps): Remove prototype.
837 (interpreter_initialized): Remove static global.
838 (interp_add): Do not call initialize_interps.
839 (initialize_interps): Remove function.
840
841 2014-08-05 Gary Benson <gbenson@redhat.com>
842
843 * utils.c (vwarning): Remove spurious va_end.
844
845 2014-08-05 Alan Modra <amodra@gmail.com>
846
847 * charset.c (convert_between_encodings): Cast result of obstack_base.
848 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
849 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
850 (read_unwind_info): Use size_t for some locals.
851 * jit.c (finalize_symtab): Likewise.
852 * utils.c (hashtab_obstack_allocate): Likewise.
853 * symmisc.c (print_objfile_statistics): Update format strings.
854
855 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
856
857 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
858 (Changes in GDB 7.8): ... here.
859
860 2014-08-04 Tom Tromey <tromey@redhat.com>
861
862 * target.c (set_targetdebug): New function.
863 (initialize_targets): Pass set_targetdebug when creating "set
864 debug target".
865
866 2014-08-01 Joel Brobecker <brobecker@adacore.com>
867
868 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
869 if detecting a variable-sized field that is not the last field.
870 Fix struct type length computation.
871
872 2014-08-01 Joel Brobecker <brobecker@adacore.com>
873
874 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
875 Add debug trace.
876
877 2014-08-01 Joel Brobecker <brobecker@adacore.com>
878
879 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
880 Remove "+ 8" offset in computation of CHAIN_VMA.
881
882 2014-07-31 Doug Evans <dje@google.com>
883
884 * inflow.c (child_terminal_inferior): Add comment.
885 (child_terminal_ours_for_output): Add comment.
886 (child_terminal_ours): Add comment.
887 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
888 (linux_nat_terminal_ours): Add comment.
889
890 2014-07-31 Gary Benson <gbenson@redhat.com>
891
892 * common/btrace-common.h: Do not include defs.h or server.h.
893 * nat/mips-linux-watch.h: Likewise.
894 * gdb-dlfcn.h: Do not include defs.h.
895 * tracefile.h: Likewise.
896
897 2014-07-30 Roland McGrath <mcgrathr@google.com>
898
899 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
900
901 2014-07-30 Tom Tromey <tromey@redhat.com>
902
903 * bsd-kvm.c (bsd_kvm_open): Constify.
904 * corelow.c (core_open): Constify.
905 * ctf.c (ctf_open): Constify.
906 * dbug-rom.c (dbug_open): Constify.
907 * exec.c (exec_open): Constify.
908 * m32r-rom.c (m32r_open, mon2000_open): Constify.
909 * microblaze-rom.c (picobug_open): Constify.
910 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
911 Constify.
912 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
913 * record-btrace.c (record_btrace_open): Constify.
914 * record-full.c (record_full_core_open_1, record_full_open_1)
915 (record_full_open): Constify.
916 * remote-m32r-sdi.c (m32r_open): Constify.
917 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
918 (rockhopper_open, lsi_open): Constify.
919 * remote-sim.c (gdbsim_open): Constify.
920 * remote.c (remote_open, extended_remote_open, remote_open_1):
921 Constify.
922 * target.h (struct target_ops) <to_open>: Make "arg" const.
923 * tracefile-tfile.c (tfile_open): Constify.
924
925 2014-07-30 Tom Tromey <tromey@redhat.com>
926
927 * breakpoint.c (map_breakpoint_numbers): Update.
928 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
929 (get_number_const): New function.
930 (get_number): Rewrite using get_number_const.
931 (init_number_or_range): Make "string" const.
932 (number_is_in_list): Make "list" const.
933 * cli/cli-utils.h (get_number_const): Declare.
934 (struct get_number_or_range_state) <string, end_ptr>: Now const.
935 (init_number_or_range, number_is_in_list): Update.
936 * printcmd.c (map_display_numbers): Update.
937 * value.c (value_from_history_ref): Constify.
938 * value.h (value_from_history_ref): Update.
939
940 2014-07-30 Tom Tromey <tromey@redhat.com>
941
942 * corefile.c (hook_type, call_extra_exec_file_hooks)
943 (specify_exec_file_hook): Constify.
944 * exec.c (exec_file_attach): Make "filename" const.
945 * gdbcore.h (deprecated_exec_file_display_hook)
946 (specify_exec_file_hook, exec_file_attach): Constify.
947 * main.c (captured_main): Use catch_command_errors_const.
948
949 2014-07-30 Tom Tromey <tromey@redhat.com>
950
951 * target.c (open_target): New function.
952 (add_target_with_completer, add_deprecated_target_alias): Use
953 set_cmd_sfunc, set_cmd_context.
954 (debug_to_open): Remove.
955 (setup_target_debug): Update.
956
957 2014-07-30 Yao Qi <yao@codesourcery.com>
958
959 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
960 comments.
961 * parse.c (exp_iterate): Update comments.
962
963 2014-07-30 Gary Benson <gbenson@redhat.com>
964
965 * common/common-defs.h: New file.
966 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
967 * defs.h: Include common-defs.h.
968 Do not include config.h or build-gnulib/config.h.
969
970 2014-07-30 Gary Benson <gbenson@redhat.com>
971
972 * common/common-utils.h: Do not include config.h.
973 * nat/linux-btrace.h: Likewise.
974
975 2014-07-30 Gary Benson <gbenson@redhat.com>
976
977 * btrace.c: Include defs.h.
978 * common/ptid.c: Include defs.h or server.h as appropriate.
979 * nat/mips-linux-watch.c: Likewise.
980
981 2014-07-29 Tom Tromey <tromey@redhat.com>
982
983 * target.c (target_is_pushed): Simplify.
984
985 2014-07-29 Joel Brobecker <brobecker@adacore.com>
986
987 GDB 7.8 released.
988
989 2014-07-29 Yao Qi <yao@codesourcery.com>
990
991 PR gdb/17206
992 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
993
994 2014-07-28 Doug Evans <xdje42@gmail.com>
995
996 PR guile/17203
997 * guile/scm-param.c (pascm_parameter_defined_p): New function.
998 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
999 parameters.
1000
1001 2014-07-28 Will Newton <will.newton@linaro.org>
1002
1003 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1004 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1005 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1006 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1007 (THUMB2_EABI_SYSCALL): Likewise.
1008 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1009 struct tramp_frame.
1010 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1011 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1012
1013 2014-07-27 Doug Evans <xdje42@gmail.com>
1014
1015 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1016
1017 2014-07-27 Doug Evans <xdje42@gmail.com>
1018
1019 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1020
1021 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1022 Doug Evans <xdje42@gmail.com>
1023
1024 PR guile/17146
1025 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1026 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1027 * configure.ac: Try to use guild to compile an scm file, if it fails
1028 then disable guile support.
1029 * configure: Regenerate.
1030 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1031 GUILE_FILE_LIST.
1032 (GUILE_COMPILED_FILES): New variable.
1033 (GUILE_FILES) Update.
1034 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1035 (stamp-guile): Compile scm files.
1036 * guile/guile.c (boot_guile_support): New function.
1037 (standard_throw_args_p): New function.
1038 (print_standard_throw_error, print_throw_error): New functions.
1039 (handle_boot_error): New function.
1040 (initialize_scheme_side): Rewrite to call boot_guile_support.
1041 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1042 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1043
1044 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1045 Doug Evans <xdje42@gmail.com>
1046
1047 PR guile/17146
1048 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1049 * guile/lib/gdb/support.scm: New file.
1050 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1051 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1052 All uses updated.
1053 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1054 All uses updated.
1055 (%assert-type): Ditto, and renamed to assert-type.
1056 (%exception-print-style): Delete.
1057
1058 2014-07-26 Doug Evans <xdje42@gmail.com>
1059
1060 PR build/17105
1061 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1062 * configure: Regenerate.
1063 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1064 PYTHON_FILES.
1065 (PYTHON_FILES): New variable.
1066 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1067 (GUILE_FILES): New variable.
1068 (stamp-python, install-python, uninstall-python): Handle empty
1069 file list.
1070 (stamp-guile, install-guile, uninstall-guile): Ditto.
1071
1072 2014-07-26 Doug Evans <xdje42@gmail.com>
1073
1074 PR guile/17177
1075 * guile/lib/gdb.scm (pretty-printers): Export.
1076 (set-pretty-printers!): Export.
1077 * guile/lib/gdb/printing.scm (gdb module): Update.
1078 (prepend-pretty-printer!, append-pretty-printer!): Update.
1079 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1080 (pretty_printer_list_var): Delete.
1081 (pretty_printer_list): New static global.
1082 (gdbscm_pretty_printers): New function.
1083 (gdbscm_set_pretty_printers_x): New function.
1084 (ppscm_find_pretty_printer_from_gdb): Update.
1085 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1086 (gdbscm_initialize_pretty_printers): Update.
1087
1088 2014-07-26 Doug Evans <xdje42@gmail.com>
1089
1090 PR 17185
1091 * configure.ac: Add check for header gc/gc.h.
1092 Add check for function setenv.
1093 * configure: Regenerate.
1094 * config.in: Regenerate.
1095 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1096
1097 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1098
1099 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1100 variation in gdbarch matching.
1101
1102 2014-07-25 Tom Tromey <tromey@redhat.com>
1103
1104 * exec.c (using_exec_ops): Remove.
1105 (exec_close_1): Update. Remove extraneous block, reindent.
1106 (add_target_sections): Use target_is_pushed.
1107
1108 2014-07-25 Pedro Alves <palves@redhat.com>
1109
1110 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1111 * monitor.c (monitor_create_inferior): Likewise.
1112 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1113 * remote-sim.c (gdbsim_create_inferior): Likewise.
1114 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1115 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1116 * windows-nat.c (do_initial_windows_stuff): Likewise.
1117
1118 2014-07-25 Pedro Alves <palves@redhat.com>
1119
1120 * NEWS: Mention signal passing and "signal" command changes.
1121 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1122 comment.
1123 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1124 call.
1125 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1126 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1127 (jump_command): Adjust clear_proceed_status call.
1128 (signal_command): Warn if other thread that are resumed have
1129 signals that will be delivered. Adjust clear_proceed_status call.
1130 (until_next_command, finish_command)
1131 (proceed_after_attach_callback, attach_command_post_wait)
1132 (attach_command): Adjust clear_proceed_status call.
1133 * infrun.c (proceed_after_vfork_done): Likewise.
1134 (proceed_after_attach_callback): Adjust comment.
1135 (clear_proceed_status_thread): Clear stop_signal if not in pass
1136 state.
1137 (clear_proceed_status_callback): Delete.
1138 (clear_proceed_status): New 'step' parameter. Only clear the
1139 proceed status of threads the command being prepared is about to
1140 resume.
1141 (proceed): If passed in an explicit signal, override stop_signal
1142 with it. Don't pass the last stop signal to the thread we're
1143 resuming.
1144 (init_wait_for_inferior): Adjust clear_proceed_status call.
1145 (switch_back_to_stepped_thread): Clear the signal if it should not
1146 be passed.
1147 * infrun.h (clear_proceed_status): New 'step' parameter.
1148 (user_visible_resume_ptid): Add comment.
1149 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1150 signal is in pass state.
1151 * remote.c (append_pending_thread_resumptions): Likewise.
1152 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1153
1154 2014-07-25 Tom Tromey <tromey@redhat.com>
1155
1156 * target.h (target_stopped_data_address)
1157 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1158 parentheses.
1159
1160 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1161
1162 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1163 comments.
1164 (avr_pointer_to_address): Likewise.
1165
1166 2014-07-24 Tom Tromey <tromey@redhat.com>
1167
1168 * monitor.c (compile_pattern): Update.
1169 * target.h (struct target_ops) <to_shortname, to_longname,
1170 to_doc>: Now const.
1171
1172 2014-07-24 Tom Tromey <tromey@redhat.com>
1173
1174 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1175 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1176 (add_info_alias, add_com): Make "doc" const.
1177 (print_doc_line): Make "str" const.
1178 (delete_cmd): Update.
1179 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1180 (print_doc_line): Update.
1181 * cli/cli-script.c (document_command): Update.
1182 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1183 (add_com, add_info, add_info_alias): Update.
1184 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1185 * python/py-cmd.c (cmdpy_destroyer): Update.
1186
1187 2014-07-24 Tom Tromey <tromey@redhat.com>
1188
1189 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1190 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1191 (help_cmd_list): Constify.
1192 (lookup_cmd): Update.
1193 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1194 const.
1195 (help_cmd_list, apropos_cmd): Update.
1196 * cli/cli-script.c (show_user): Update.
1197 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1198 * cli/cli-setshow.h (cmd_show_list): Update.
1199 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1200 (cmd_show_list): Update.
1201 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1202 * python/py-cmd.c (cmdpy_destroyer): Update.
1203
1204 2014-07-24 Tom Tromey <tromey@redhat.com>
1205
1206 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1207 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1208 const.
1209 * command.h (deprecate_cmd): Update.
1210 * maint.c (maintenance_do_deprecate): Add casts.
1211
1212 2014-07-24 Tom Tromey <tromey@redhat.com>
1213
1214 * cli/cli-decode.c (help_cmd): Make parameter "const".
1215 * cli/cli-decode.h (help_cmd): Update.
1216
1217 2014-07-24 Tom Tromey <tromey@redhat.com>
1218
1219 * stack.c (up_silently_base, down_silently_base): Make argument
1220 const.
1221
1222 2014-07-24 Tom Tromey <tromey@redhat.com>
1223
1224 * solib.c (solib_add): Make "pattern" const.
1225 * solib.h (solib_add): Update.
1226
1227 2014-07-24 Tom Tromey <tromey@redhat.com>
1228
1229 * remote.c (remote_serial_open, print_packet, putpkt)
1230 (putpkt_binary): Constify.
1231 * remote.h (putpkt): Update.
1232
1233 2014-07-24 Tom Tromey <tromey@redhat.com>
1234
1235 * monitor.c (monitor_open): Make "args" const.
1236 * monitor.h (monitor_open): Update.
1237
1238 2014-07-24 Tom Tromey <tromey@redhat.com>
1239
1240 * maint.c (match_bfd_flags): Make "string" const.
1241 (print_bfd_section_info): Remove casts.
1242 (print_objfile_section_info): Make "string" const.
1243
1244 2014-07-24 Tom Tromey <tromey@redhat.com>
1245
1246 * inf-child.c (inf_child_open_target): Make "arg" const.
1247 * inf-child.h (inf_child_open_target): Update.
1248
1249 2014-07-24 Tom Tromey <tromey@redhat.com>
1250
1251 * environ.c (unset_in_environ): Make "var" const.
1252 * environ.h (unset_in_environ): Update.
1253
1254 2014-07-24 Tom Tromey <tromey@redhat.com>
1255
1256 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1257 Make "cmd" const.
1258 (scan_filename_with_cleanup): Likewise.
1259 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1260 Make arguments const.
1261 (restore_command): Update.
1262
1263 2014-07-24 Pedro Alves <palves@redhat.com>
1264
1265 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1266
1267 2014-07-24 Tom Tromey <tromey@redhat.com>
1268 Gary Benson <gbenson@redhat.com>
1269
1270 * nat/linux-ptrace.c (additional_flags): New global.
1271 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1272 additional_flags; don't check GDBSERVER.
1273 (linux_ptrace_set_additional_flags): New function.
1274 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1275 Declare.
1276 * linux-nat.c (_initialize_linux_nat): Call
1277 linux_ptrace_set_additional_flags.
1278
1279 2014-07-24 Tom Tromey <tromey@redhat.com>
1280
1281 * make-target-delegates (munge_type, write_debugmethod): New
1282 functions.
1283 (debug_names): New global.
1284 ($TARGET_DEBUG_PRINTER): New global.
1285 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1286 name.
1287 Write debug methods. Generate init_debug_target.
1288 * target-debug.h: New file.
1289 * target-delegates.c: Rebuild.
1290 * target.c: Include target-debug.h.
1291 (debug_target): Hoist definition.
1292 (target_kill, target_get_section_table, target_memory_map)
1293 (target_flash_erase, target_flash_done, target_detach)
1294 (target_disconnect, target_wait, target_resume)
1295 (target_pass_signals, target_program_signals, target_follow_fork)
1296 (target_mourn_inferior, target_search_memory)
1297 (target_thread_address_space, target_close)
1298 (target_find_new_threads, target_core_of_thread)
1299 (target_verify_memory, target_insert_mask_watchpoint)
1300 (target_remove_mask_watchpoint): Remove targetdebug code.
1301 (debug_to_post_attach, debug_to_prepare_to_store)
1302 (debug_to_files_info, debug_to_insert_breakpoint)
1303 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1304 (debug_to_region_ok_for_hw_watchpoint)
1305 (debug_to_can_accel_watchpoint_condition)
1306 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1307 (debug_to_watchpoint_addr_within_range)
1308 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1309 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1310 (debug_to_terminal_init, debug_to_terminal_inferior)
1311 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1312 (debug_to_terminal_save_ours, debug_to_terminal_info)
1313 (debug_to_load, debug_to_post_startup_inferior)
1314 (debug_to_insert_fork_catchpoint)
1315 (debug_to_remove_fork_catchpoint)
1316 (debug_to_insert_vfork_catchpoint)
1317 (debug_to_remove_vfork_catchpoint)
1318 (debug_to_insert_exec_catchpoint)
1319 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1320 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1321 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1322 (setup_target_debug): Call init_debug_target.
1323 * target.h (TARGET_DEBUG_PRINTER): New macro.
1324 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1325 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1326
1327 2014-07-24 Gary Benson <gbenson@redhat.com>
1328
1329 * exceptions.h (throw_vfatal): Renamed to...
1330 (throw_vquit): New declaration.
1331 (throw_quit): Likewise.
1332 * exceptions.c (throw_vfatal): Renamed to...
1333 (throw_vquit): New function.
1334 (throw_quit): Likewise.
1335 (throw_error): Call throw_verror rather than throw_it.
1336 * utils.h (vfatal): Removed.
1337 (fatal): Likewise.
1338 * utils.c (vfatal): Removed.
1339 (fatal): Likewise.
1340 (internal_verror): Replaced call to fatal with call to throw_quit.
1341 (quit): Replaced calls to fatal with calls to throw_quit.
1342
1343 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1344
1345 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1346 target_read_code.
1347
1348 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1349
1350 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1351 less than zero in conditional expression.
1352
1353 2014-07-23 Tom Tromey <tromey@redhat.com>
1354
1355 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1356 ($INTRO_PART): Don't match whitespace.
1357 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1358 argument matching.
1359 ($METHOD): Add $METHOD_TRAILER.
1360 (trim): Rewrite.
1361 (scan_target_h): New sub.
1362 Change main loop not to collect state.
1363 * target-delegates.c: Rebuild.
1364
1365 2014-07-23 Gary Benson <gbenson@redhat.com>
1366
1367 * cp-support.c (gdb_demangle): Fix build on systems without
1368 sigaltstack.
1369
1370 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1371
1372 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1373 for reference entry value target data value.
1374
1375 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1376
1377 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1378 value_available_contents_eq.
1379
1380 2014-07-22 Pedro Alves <palves@redhat.com>
1381
1382 * value.c (allocate_optimized_out_value): Don't mark value as
1383 non-lazy.
1384
1385 2014-07-22 Jiong Wang <jiong.wang@arm.com>
1386
1387 * MAINTAINERS (Write After Approval): Update my email address.
1388
1389 2014-07-20 Doug Evans <dje@google.com>
1390
1391 PR server/17147
1392 * remote.c (putpkt_binary): Add text to error message.
1393
1394 2014-07-20 Yao Qi <yao@codesourcery.com>
1395
1396 * eval.c: Remove "Chill" from comments.
1397 * gdbtypes.h: Likewise.
1398 * symtab.h: Likewise.
1399
1400 2014-07-20 Yao Qi <yao@codesourcery.com>
1401
1402 * std-operator.def: Update comments to TERNOP_SLICE.
1403
1404 2014-07-20 Yao Qi <yao@codesourcery.com>
1405
1406 * std-operator.def: Remove BINOP_RANGE.
1407 * breakpoint.c (watchpoint_exp_is_const): Update.
1408 * expprint.c (dump_subexp_body_standard): Likewise.
1409 * eval.c (init_array_element): Remove dead code.
1410 (evaluate_subexp_standard): Likewise.
1411
1412 2014-07-20 Yao Qi <yao@codesourcery.com>
1413
1414 * std-operator.def: Remove BINOP_IN.
1415 * breakpoint.c (watchpoint_exp_is_const): Update.
1416 * eval.c (evaluate_subexp_standard): Likewise.
1417 * expprint.c (dump_subexp_body_standard): Likewise.
1418
1419 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1420
1421 * microblaze-tdep.c (microblaze_register_names): Add
1422 the rshr and rslr register names.
1423 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1424 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1425 Use of tdesc_numbered_register. Use of
1426 microblaze_register_g_packet_guesses. Use of
1427 tdesc_use_registers. Use of set_gdbarch_register_type.
1428 (microblaze_register_g_packet_guesses): New.
1429 * microblaze-tdep.h (microblaze_reg_num): Add
1430 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1431 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1432 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1433 * features/microblaze-core.xml: New file.
1434 * features/microblaze-stack-protect.xml: New file.
1435 * features/microblaze-with-stack-protect.c: New file.
1436 * features/microblaze-with-stack-protect.xml: New file.
1437 * features/microblaze.xml: New file.
1438 * features/microblaze.c: New file.
1439 * features/Makefile (microblaze-with-stack-protect): Add
1440 microblaze-with-stack-protect microblaze and microblaze-expedite.
1441 * regformats/microblaze-with-stack-protect.dat: New file.
1442 * regformats/microblaze.dat: New file.
1443 * doc/gdb.texinfo (MicroBlaze Features): Added.
1444
1445 2014-07-18 Tom Tromey <tromey@redhat.com>
1446
1447 * exec.c (exec_ops): Now static.
1448 * exec.h (exec_ops): Don't declare.
1449
1450 2014-07-18 Tom Tromey <tromey@redhat.com>
1451
1452 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1453 to find_target_beneath.
1454 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1455 find_target_beneath.
1456 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1457
1458 2014-07-18 Tom Tromey <tromey@redhat.com>
1459
1460 PR gdb/17130:
1461 * utils.c (quit): Use target_supports_terminal_ours.
1462 * target.h (target_supports_terminal_ours): Declare.
1463 * target.c (target_supports_delete_record): Don't check
1464 to_delete_record against NULL.
1465 (target_supports_terminal_ours): New function.
1466
1467 2014-07-18 Tom Tromey <tromey@redhat.com>
1468
1469 PR gdb/17130:
1470 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1471 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1472 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1473 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1474 * windows-nat.c (windows_xfer_partial): Always delegate.
1475 * record-btrace.c (record_btrace_xfer_partial): Simplify
1476 delegation.
1477 (record_btrace_fetch_registers, record_btrace_store_registers)
1478 (record_btrace_prepare_to_store, record_btrace_resume)
1479 (record_btrace_wait, record_btrace_find_new_threads)
1480 (record_btrace_thread_alive): Likewise.
1481 * procfs.c (procfs_xfer_partial): Always delegate.
1482 * corelow.c (core_xfer_partial): Always delegate.
1483 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1484
1485 2014-07-18 Tom Tromey <tromey@redhat.com>
1486
1487 * exec.c (exec_make_note_section): Move earlier.
1488
1489 2014-07-17 Doug Evans <dje@google.com>
1490
1491 PR gdb/17170
1492 * maint.c (count_symtabs_and_blocks): Handle NULL
1493 current_program_space.
1494 (report_command_stats): Check global enabled flag in addition to
1495 recorded enabled flag.
1496 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1497
1498 2014-07-16 Pedro Alves <palves@redhat.com>
1499
1500 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1501
1502 2014-07-16 Tom Tromey <tromey@redhat.com>
1503
1504 * target.h (struct target_ops) <to_delete_record>: Reformat
1505 comment.
1506
1507 2014-07-16 Tom Tromey <tromey@redhat.com>
1508
1509 * target-delegates.c: Rebuild.
1510
1511 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1512
1513 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1514 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1515 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1516 (avr_pointer_to_address): Likewise.
1517 (avr_address_class_type_flags): New function.
1518 (avr_address_class_type_flags_to_name): Likewise.
1519 (avr_address_class_name_to_type_flags): Likewise.
1520 (avr_gdbarch_init): Set address_class_type_flags,
1521 address_class_type_flags_to_name and
1522 address_class_name_to_type_flags.
1523
1524 2014-07-15 Pedro Alves <palves@redhat.com>
1525
1526 * linux-nat.c (kill_callback): Save errno and work with saved
1527 copy.
1528
1529 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1530
1531 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1532
1533 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1534
1535 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1536 breakpoint support correctly.
1537
1538 2014-07-14 Pedro Alves <palves@redhat.com>
1539
1540 * utils.c (prompt_for_continue): Call target_terminal_ours.
1541
1542 2014-07-14 Pedro Alves <palves@redhat.com>
1543
1544 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1545 catch_errors. Don't re-enable stdin or notify observers where,
1546 and rethrow error.
1547 (fetch_inferior_event_wrapper): Delete.
1548
1549 2014-07-14 Pedro Alves <palves@redhat.com>
1550
1551 PR gdb/17072
1552 * top.c: Include "inf-loop.h".
1553 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1554 field.
1555 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1556 was async before.
1557 (gdb_readline_wrapper): Store whether the target is async, and
1558 make it sync.
1559
1560 2014-07-14 Pedro Alves <palves@redhat.com>
1561
1562 PR gdb/17072
1563 * top.c (gdb_readline_wrapper_line): Tweak comment.
1564 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1565 the input handler callback.
1566
1567 2014-07-14 Pedro Alves <palves@redhat.com>
1568
1569 PR gdb/17072
1570 * main.c: Include event-top.h.
1571 (handle_command_errors): New function.
1572 (catch_command_errors, catch_command_errors_const): Use it.
1573
1574 2014-07-14 Pedro Alves <palves@redhat.com>
1575
1576 * exceptions.c (catch_command_errors, catch_command_errors_const):
1577 Moved to main.c.
1578 * exceptions.h (catch_command_errors_ftype)
1579 (catch_command_errors_const_ftype): Moved to main.c.
1580 (catch_command_errors, catch_command_errors_const): Delete
1581 declarations.
1582 * main.c (catch_command_errors_ftype)
1583 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1584 (catch_command_errors, catch_command_errors_const)): Moved here
1585 from exceptions.c and make static.
1586
1587 2014-07-14 Pedro Alves <palves@redhat.com>
1588
1589 * exceptions.c (print_any_exception): Delete.
1590 (catch_exceptions_with_msg): Use exception_print instead of
1591 print_any_exception.
1592 (catch_errors): Use exception_fprintf instead of
1593 print_any_exception.
1594 (catch_command_errors, catch_command_errors_const): Use
1595 exception_print instead of print_any_exception.
1596
1597 2014-07-14 Pedro Alves <palves@redhat.com>
1598
1599 * infcall.c (run_inferior_call): Set 'sync_execution' while
1600 running the inferior call.
1601
1602 2014-07-14 Pedro Alves <palves@redhat.com>
1603
1604 * value.c (value_contents_equal): Delete function.
1605 * value.h (value_contents_equal): Delete declaration.
1606
1607 2014-07-14 Tom Tromey <tromey@redhat.com>
1608
1609 PR exp/17106:
1610 * gdbtypes.c (is_dynamic_type_internal): New function, from
1611 is_dynamic_type.
1612 (is_dynamic_type): Rewrite.
1613 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1614 (resolve_dynamic_struct): Likewise.
1615 (resolve_dynamic_type_internal): New function, from
1616 resolve_dynamic_type.
1617 (resolve_dynamic_type): Rewrite.
1618
1619 2014-07-14 Tom Tromey <tromey@redhat.com>
1620
1621 * target.c (target_require_runnable): Also check record_stratum.
1622 Update comment.
1623
1624 2014-07-11 Yao Qi <yao@codesourcery.com>
1625
1626 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1627 thumb_instruction_restores_sp return true.
1628
1629 2014-07-11 Yao Qi <yao@codesourcery.com>
1630
1631 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1632 (thumb_in_function_epilogue_p): Call
1633 thumb_instruction_restores_sp.
1634
1635 2014-07-11 Yao Qi <yao@codesourcery.com>
1636
1637 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1638 'add sp, #imm'.
1639 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1640
1641 2014-07-11 Gary Benson <gbenson@redhat.com>
1642
1643 * amd64-linux-nat.c (gdbcore.h): Remove include.
1644 (regset.h): Likewise.
1645 (nat/linux-btrace.h): Likewise.
1646 (btrace.h): Likewise.
1647 (gdb_assert.h): Likewise.
1648 (string.h): Likewise.
1649 (sys/uio.h): Likewise.
1650 (sys/debugreg.h): Likewise.
1651 (sys/syscall.h): Likewise.
1652 (sys/procfs.h): Likewise.
1653 (sys/user.h): Likewise.
1654 (asm/ptrace.h): Likewise.
1655 (i386-nat.h): Likewise.
1656 * i386-linux-nat.c (i386-nat.h): Likewise.
1657 (regset.h): Likewise.
1658 (target.h): Likewise.
1659 (linux-nat.h): Likewise.
1660 (nat/linux-btrace.h): Likewise.
1661 (btrace.h): Likewise.
1662 (gdb_assert.h): Likewise.
1663 (string.h): Likewise.
1664 (sys/uio.h): Likewise.
1665 (sys/user.h): Likewise.
1666 (sys/procfs.h): Likewise.
1667 (sys/reg.h): Likewise.
1668 (sys/debugreg.h): Likewise.
1669 (ORIG_EAX): Remove definition.
1670
1671 2014-07-11 Gary Benson <gbenson@redhat.com>
1672
1673 * i386-linux-nat.h: New file.
1674 * x86-linux-nat.h: Likewise.
1675 * x86-linux-nat.c: Likewise.
1676 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1677 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1678 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1679 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1680 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1681 (PTRACE_SETREGSET): Likewise.
1682 (arch_lwp_info): Now in x86-linux-nat.c.
1683 (have_ptrace_getregset): Now in x86-linux-nat.h.
1684 (x86_linux_dr_get): Now in x86-linux-nat.c.
1685 (x86_linux_dr_set): Likewise.
1686 (x86_linux_dr_get_addr): Likewise.
1687 (x86_linux_dr_get_control): Likewise.
1688 (x86_linux_dr_get_status): Likewise.
1689 (update_debug_registers_callback): Likewise.
1690 (x86_linux_dr_set_control): Likewise.
1691 (x86_linux_dr_set_addr): Likewise.
1692 (x86_linux_prepare_to_resume): Likewise.
1693 (x86_linux_new_thread): Likewise.
1694 (x86_linux_new_fork): Likewise.
1695 (x86_linux_get_thread_area): Likewise.
1696 (super_post_startup_inferior): Likewise.
1697 (x86_linux_child_post_startup_inferior): Likewise.
1698 (AMD64_LINUX_USER64_CS): Likewise.
1699 (AMD64_LINUX_X32_DS): Likewise.
1700 (x86_linux_read_description): Likewise.
1701 (x86_linux_enable_btrace): Likewise.
1702 (x86_linux_disable_btrace): Likewise.
1703 (x86_linux_teardown_btrace): Likewise.
1704 (x86_linux_read_btrace): Likewise.
1705 (x86_linux_create_target): Likewise.
1706 (x86_linux_add_target): Likewise.
1707 * i386-linux-nat.c (x86-linux-nat.h): New include.
1708 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1709 (PTRACE_SETREGSET): Likewise.
1710 (arch_lwp_info): Now in x86-linux-nat.c.
1711 (have_ptrace_getregset): Now in x86-linux-nat.h.
1712 (x86_linux_dr_get): Now in x86-linux-nat.c.
1713 (x86_linux_dr_set): Likewise.
1714 (x86_linux_dr_get_addr): Likewise.
1715 (x86_linux_dr_get_control): Likewise.
1716 (x86_linux_dr_get_status): Likewise.
1717 (update_debug_registers_callback): Likewise.
1718 (x86_linux_dr_set_control): Likewise.
1719 (x86_linux_dr_set_addr): Likewise.
1720 (x86_linux_prepare_to_resume): Likewise.
1721 (x86_linux_new_thread): Likewise.
1722 (x86_linux_new_fork): Likewise.
1723 (x86_linux_get_thread_area): Likewise.
1724 (super_post_startup_inferior): Likewise.
1725 (x86_linux_child_post_startup_inferior): Likewise.
1726 (AMD64_LINUX_USER64_CS): Likewise.
1727 (AMD64_LINUX_X32_DS): Likewise.
1728 (x86_linux_read_description): Likewise.
1729 (x86_linux_enable_btrace): Likewise.
1730 (x86_linux_disable_btrace): Likewise.
1731 (x86_linux_teardown_btrace): Likewise.
1732 (x86_linux_read_btrace): Likewise.
1733 (x86_linux_create_target): Likewise.
1734 (x86_linux_add_target): Likewise.
1735
1736 2014-07-11 Gary Benson <gbenson@redhat.com>
1737
1738 * amd64-linux-nat.c: Comment and whitespace changes.
1739 * i386-linux-nat.c: Comment and whitespace changes.
1740
1741 2014-07-11 Gary Benson <gbenson@redhat.com>
1742
1743 * amd64-linux-nat.c (x86_linux_create_target): New function.
1744 (x86_linux_add_target): Likewise.
1745 (_initialize_amd64_linux_nat): Delegate to the above new functions.
1746 * i386-linux-nat.c (x86_linux_create_target): New function.
1747 (x86_linux_add_target): Likewise.
1748 (_initialize_i386_linux_nat): Delegate to the above new functions.
1749
1750 2014-07-11 Gary Benson <gbenson@redhat.com>
1751
1752 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
1753 (ps_get_thread_area): Delegate to the above in 32-bit mode.
1754 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
1755 (ps_get_thread_area): Delegate to the above.
1756
1757 2014-07-11 Gary Benson <gbenson@redhat.com>
1758
1759 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
1760 x86_linux_read_description. All uses updated. amd64-specific
1761 code conditionalized. Conditionalized i386-specific code added.
1762 Redundant cast removed.
1763 * i386-linux-nat.c (i386_linux_read_description): Renamed to
1764 x86_linux_read_description. All uses updated. i386-specific
1765 code conditionalized. Conditionalized amd64-specific code added.
1766 One sizeof replaced with the actual type it is describing.
1767
1768 2014-07-11 Gary Benson <gbenson@redhat.com>
1769
1770 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
1771 x86_linux_dr_get. All uses updated.
1772 (amd64_linux_dr_set): Renamed to
1773 x86_linux_dr_set. All uses updated.
1774 (amd64_linux_dr_get_addr): Renamed to
1775 x86_linux_dr_get_addr. All uses updated.
1776 (amd64_linux_dr_get_control): Renamed to
1777 x86_linux_dr_get_control. All uses updated.
1778 (amd64_linux_dr_get_status): Renamed to
1779 x86_linux_dr_get_status. All uses updated.
1780 (amd64_linux_dr_set_control): Renamed to
1781 x86_linux_dr_set_control. All uses updated.
1782 (amd64_linux_dr_set_addr): Renamed to
1783 x86_linux_dr_set_addr. All uses updated.
1784 (amd64_linux_prepare_to_resume): Renamed to
1785 x86_linux_prepare_to_resume. All uses updated.
1786 (amd64_linux_new_thread): Renamed to
1787 x86_linux_new_thread. All uses updated.
1788 (amd64_linux_new_fork): Renamed to
1789 x86_linux_new_fork. All uses updated.
1790 (amd64_linux_child_post_startup_inferior): Renamed to
1791 x86_linux_child_post_startup_inferior. All uses updated.
1792 (amd64_linux_enable_btrace): Renamed to
1793 x86_linux_enable_btrace. All uses updated.
1794 (amd64_linux_disable_btrace): Renamed to
1795 x86_linux_disable_btrace. All uses updated.
1796 (amd64_linux_teardown_btrace): Renamed to
1797 x86_linux_teardown_btrace. All uses updated.
1798 (amd64_linux_read_btrace): Renamed to
1799 x86_linux_read_btrace. All uses updated.
1800 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
1801 x86_linux_dr_get. All uses updated.
1802 (i386_linux_dr_set): Renamed to
1803 x86_linux_dr_set. All uses updated.
1804 (i386_linux_dr_get_addr): Renamed to
1805 x86_linux_dr_get_addr. All uses updated.
1806 (i386_linux_dr_get_control): Renamed to
1807 x86_linux_dr_get_control. All uses updated.
1808 (i386_linux_dr_get_status): Renamed to
1809 x86_linux_dr_get_status. All uses updated.
1810 (i386_linux_dr_set_control): Renamed to
1811 x86_linux_dr_set_control. All uses updated.
1812 (i386_linux_dr_set_addr): Renamed to
1813 x86_linux_dr_set_addr. All uses updated.
1814 (i386_linux_prepare_to_resume): Renamed to
1815 x86_linux_prepare_to_resume. All uses updated.
1816 (i386_linux_new_thread): Renamed to
1817 x86_linux_new_thread. All uses updated.
1818 (i386_linux_new_fork): Renamed to
1819 x86_linux_new_fork. All uses updated.
1820 (i386_linux_child_post_startup_inferior): Renamed to
1821 x86_linux_child_post_startup_inferior. All uses updated.
1822 (i386_linux_enable_btrace): Renamed to
1823 x86_linux_enable_btrace. All uses updated.
1824 (i386_linux_disable_btrace): Renamed to
1825 x86_linux_disable_btrace. All uses updated.
1826 (i386_linux_teardown_btrace): Renamed to
1827 x86_linux_teardown_btrace. All uses updated.
1828 (i386_linux_read_btrace): Renamed to
1829 x86_linux_read_btrace. All uses updated.
1830
1831 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1832
1833 * remote.c (extended_remote_post_attach): New function.
1834 (init_extended_remote_ops): Install it as to_post_attach method.
1835
1836 2014-07-09 Pedro Alves <palves@redhat.com>
1837
1838 * infcmd.c (attach_command_post_wait): Don't call
1839 target_terminal_inferior here.
1840 (attach_command): Call it here instead.
1841
1842 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1843
1844 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
1845 field.
1846 * c-varobj.c (c_is_path_expr_parent): New function, moved core
1847 from varobj.c, with additional checks.
1848 (c_varobj_ops): Fill in is_path_expr_parent field.
1849 (cplus_varobj_ops): Fill in is_path_expr_parent field.
1850 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
1851 field.
1852 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
1853 ops method.
1854 (varobj_default_is_path_expr_parent): New function.
1855 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
1856 (varobj_default_is_path_expr_parent): Declare new function.
1857
1858 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1859
1860 * infcmd.c (finish_backward): Turn internal error into normal error.
1861
1862 2014-07-07 Pedro Alves <palves@redhat.com>
1863
1864 PR gdb/17096
1865 * remote.c (async_handle_remote_sigint)
1866 (async_handle_remote_sigint_twice): Call
1867 gdb_call_async_signal_handler instead of
1868 mark_async_signal_handler.
1869
1870 2014-07-07 Tom Tromey <tromey@redhat.com>
1871
1872 * target-delegates.c: Rebuild.
1873 * target.c (target_info_record): Remove.
1874 * record.c (info_record_command): Unconditionally call
1875 to_info_record.
1876 * target.h (struct target_ops) <to_info_record>: Use
1877 TARGET_DEFAULT_IGNORE.
1878 (target_info_record): Remove.
1879
1880 2014-07-07 Tom Tromey <tromey@redhat.com>
1881
1882 * target.h (struct target_ops) <to_get_thread_local_address>: Use
1883 TARGET_DEFAULT_NORETURN.
1884 * target.c (generic_tls_error): New function.
1885 (target_translate_tls_address): Don't search target stack.
1886 * target-delegates.c: Rebuild.
1887 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
1888 stack.
1889 * linux-thread-db.c (thread_db_get_thread_local_address):
1890 Unconditionally call beneath target.
1891
1892 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
1893
1894 * cli/cli-logging.c (pop_output_files): Assign targerr to
1895 gdb_stdtargerr.
1896
1897 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
1898
1899 * MAINTAINERS (Write After Approval): Update my email address.
1900
1901 2014-07-02 Gary Benson <gbenson@redhat.com>
1902
1903 * proc-service.c (ps_xfer_memory): Update comment.
1904 (ps_pstop): Remove unused function.
1905 (ps_pcontinue): Likewise.
1906 (ps_lstop): Likewise.
1907 (ps_lcontinue): Likewise.
1908 (ps_lgetxregsize): Likewise.
1909 (ps_lgetxregs): Likewise.
1910 (ps_lsetxregs): Likewise.
1911 (ps_plog): Likewise.
1912 (ps_ptread): Likewise.
1913 (ps_ptwrite): Likewise.
1914
1915 2014-07-01 Mark Wielaard <mjw@redhat.com>
1916
1917 * dwarf2read.c (add_array_cv_type): New function.
1918 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
1919 (read_tag_volatile_type): Likewise.
1920
1921 2014-07-01 Tom Tromey <tromey@redhat.com>
1922
1923 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
1924 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
1925 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
1926 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
1927 * command.h (cmd_cfunc_ftype): Move earlier.
1928 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
1929 (add_com, add_info): Use cmd_cfunc_ftype.
1930
1931 2014-06-30 Tom Tromey <tromey@redhat.com>
1932
1933 * symtab.c (operator_chars): Make parameters and return type
1934 const.
1935 (file_matches): Make "files" const.
1936 (struct search_symbols_data) <files>: Now const.
1937 (search_symbols): Make "regexp" and "files" parameters const.
1938 Update.
1939 (symtab_symbol_info): Remove cast.
1940 (rbreak_command): Update.
1941 * symtab.h (search_symbols): Update.
1942
1943 2014-06-27 Yao Qi <yao@codesourcery.com>
1944
1945 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
1946 Change parameter type to 'struct thread_info *'. Caller
1947 updated.
1948 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
1949 Update declaration.
1950 * dummy-frame.c (struct dummy_frame_id): New.
1951 (dummy_frame_id_eq): New function.
1952 (struct dummy_frame) <id>: Change its type to 'struct
1953 dummy_frame_id'.
1954 (dummy_frame_push): Add parameter ptid and save it in
1955 dummy_frame_id.
1956 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
1957 inferior_ptid.
1958 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
1959 to inferior_ptid.
1960 (lookup_dummy_frame): Change parameter type to 'struct
1961 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
1962 instead of frame_id_eq.
1963 (dummy_frame_pop): Add parameter ptid. Callers updated.
1964 Update comments. Compose dummy_frame_id and pass it to
1965 lookup_dummy_frame.
1966 (dummy_frame_discard): Add parameter ptid.
1967 (dummy_frame_sniffer): Compose dummy_frame_id and call
1968 dummy_frame_id_eq instead of frame_id_eq.
1969 (fprint_dummy_frames): Print ptid.
1970 * dummy-frame.h: Remove comments.
1971 (dummy_frame_push): Add ptid in declaration.
1972 (dummy_frame_pop, dummy_frame_discard): Likewise.
1973
1974 2014-06-26 Tom Tromey <tromey@redhat.com>
1975
1976 * cli/cli-cmds.c (error_no_arg): Make "why" const.
1977 * command.h (error_no_arg): Update.
1978
1979 2014-06-26 Tom Tromey <tromey@redhat.com>
1980
1981 * cli/cli-setshow.c (do_set_command): Make "arg" const.
1982 (do_show_command): Make "arg" const.
1983 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
1984
1985 2014-06-26 Tom Tromey <tromey@redhat.com>
1986
1987 * record-full.c (record_full_get_bookmark): Make "args" const.
1988 (record_full_goto_bookmark): Make "raw_bookmark" const.
1989 * record.c (record_goto): New function.
1990 (cmd_record_goto): Use it. Now static.
1991 * record.h (record_goto): Declare.
1992 (cmd_record_goto): Remove declaration.
1993 * target-delegates.c: Rebuild.
1994 * target.h (struct target_ops) <to_get_bookmark,
1995 to_goto_bookmark>: Make parameter const.
1996
1997 2014-06-26 Tom Tromey <tromey@redhat.com>
1998
1999 * defs.h (generic_load): Update.
2000 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2001 * monitor.c (monitor_load): Make "args" const.
2002 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2003 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2004 const.
2005 (mips_load): Make "file" const.
2006 * remote-sim.c (gdbsim_load): Make "args" const.
2007 * remote.c (remote_load): Make "name" const.
2008 * symfile.c (generic_load): Make "args" const.
2009 * target-delegates.c: Rebuild.
2010 * target.c (target_load): Make "arg" const.
2011 (debug_to_load): Make "args" const.
2012 * target.h (struct target_ops) <to_load>: Make parameter const.
2013 (target_load): Update.
2014
2015 2014-06-26 Tom Tromey <tromey@redhat.com>
2016
2017 PR symtab/16902:
2018 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2019 (dwarf2_physname, read_partial_die)
2020 (guess_partial_die_structure_name, fixup_partial_die)
2021 (guess_full_die_structure_name, anonymous_struct_prefix)
2022 (dwarf2_name): Use per-BFD obstack.
2023
2024 2014-06-26 Yao Qi <yao@codesourcery.com>
2025
2026 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2027 dummyframe and this_id into inner block below.
2028
2029 2014-06-26 Yao Qi <yao@codesourcery.com>
2030
2031 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2032 with "signal_pass[0]" in the initialization of signal_pass.
2033
2034 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2035
2036 * record-btrace.c (record_btrace_generating_corefile)
2037 (record_btrace_prepare_to_generate_core)
2038 (record_btrace_done_generating_core): New.
2039 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2040 (record_btrace_store_registers, record_btrace_prepare_to_store):
2041 Forward request when generating a core file.
2042 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2043 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2044 to_done_generating_core.
2045
2046 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2047
2048 * target.h (target_ops) <to_prepare_to_generate_core>
2049 <to_done_generating_core>: New.
2050 (target_prepare_to_generate_core, target_done_generating_core): New.
2051 * target.c (target_prepare_to_generate_core)
2052 (target_done_generating_core): New.
2053 * target-delegates.c: Regenerate.
2054 * gcore.c: (write_gcore_file): Rename to ...
2055 (write_gcore_file_1): ...this.
2056 (write_gcore_file): Call target_prepare_to_generate_core
2057 and target_done_generating_core.
2058
2059 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2060
2061 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2062 * gcore.c (write_gcore_file): Free memory returned from
2063 make_corefile_notes.
2064 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2065 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2066
2067 2014-06-24 Yao Qi <yao@codesourcery.com>
2068
2069 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2070 (arm_linux_init_abi): Set skip_trampoline_code with
2071 gdbarch_skip_trampoline_code instead of
2072 find_solib_trampoline_target.
2073
2074 2014-06-24 Yao Qi <yao@codesourcery.com>
2075
2076 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2077 arm_skip_bx_reg returns non-zero.
2078
2079 2014-06-24 Yao Qi <yao@codesourcery.com>
2080
2081 * arm-tdep.c (arm_skip_bx_reg): New function.
2082 (arm_skip_stub): Call arm_skip_bx_reg.
2083
2084 2014-06-23 Don Breazeal <donb@codesourcery.com>
2085
2086 * MAINTAINERS: Add myself as write-after-approval maintainer.
2087
2088 2014-06-23 Pedro Alves <palves@redhat.com>
2089
2090 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2091 DR_CONTROL before setting DR0..DR3.
2092 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2093 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2094 bits of DR_CONTROL related to the debug register slot being
2095 disabled. If all slots are vacant, clear local slowdown as well,
2096 and assert DR_CONTROL is 0.
2097
2098 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2099
2100 * python/lib/gdb/command/xmethods.py
2101 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2102 current progspace only if the string "progspace" matches LOCUS_RE.
2103
2104 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2105
2106 Fix --with-system-readline with readline-6.3 patch 5.
2107 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2108 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2109 types.
2110
2111 2014-06-20 Tom Tromey <tromey@redhat.com>
2112
2113 * dwarf2read.c (dw2_get_real_path): Use correct type in
2114 OBSTACK_CALLOC.
2115 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2116
2117 2014-06-20 Gary Benson <gbenson@redhat.com>
2118
2119 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2120 * common/glibc_thread_db.h: Likewise.
2121 * common/i386-cpuid.h: Likewise.
2122 * common/i386-gcc-cpuid.h: Likewise.
2123 * common/linux-btrace.h: Likewise.
2124 * common/linux-osdata.h: Likewise.
2125 * common/linux-procfs.h: Likewise.
2126 * common/linux-ptrace.h: Likewise.
2127 * common/mips-linux-watch.h: Likewise.
2128 * common/linux-btrace.c: Moved to nat.
2129 * common/linux-osdata.c: Likewise.
2130 * common/linux-procfs.c: Likewise.
2131 * common/linux-ptrace.c: Likewise.
2132 * common/mips-linux-watch.c: Likewise.
2133 * nat/gdb_thread_db.h: Moved from common.
2134 * nat/glibc_thread_db.h: Likewise.
2135 * nat/i386-cpuid.h: Likewise.
2136 * nat/i386-gcc-cpuid.h: Likewise.
2137 * nat/linux-btrace.c: Likewise.
2138 * nat/linux-btrace.h: Likewise.
2139 * nat/linux-osdata.c: Likewise.
2140 * nat/linux-osdata.h: Likewise.
2141 * nat/linux-procfs.c: Likewise.
2142 * nat/linux-procfs.h: Likewise.
2143 * nat/linux-ptrace.c: Likewise.
2144 * nat/linux-ptrace.h: Likewise.
2145 * nat/mips-linux-watch.c: Likewise.
2146 * nat/mips-linux-watch.h: Likewise.
2147 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2148 (object file files): Reordered.
2149 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2150 of glibc_thread_db.h.
2151
2152 2014-06-20 Gary Benson <gbenson@redhat.com>
2153
2154 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2155 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2156 (i386_dr_low): Likewise.
2157 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2158 (i386_dr_low_set_addr): Likewise.
2159 (i386_dr_low_get_addr): Likewise.
2160 (i386_dr_low_can_set_control): Likewise.
2161 (i386_dr_low_set_control): Likewise.
2162 (i386_dr_low_get_control): Likewise.
2163 (i386_dr_low_get_status): Likewise.
2164 (i386_get_debug_register_length): Likewise.
2165 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2166 (i386_dr_low): Likewise.
2167 * nat/i386-dregs.c (i386-low.h): Remove include.
2168 (i386-nat.h): Likewise.
2169 (nat/i386-dregs.h): New include.
2170 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2171 (i386_dr_low_set_addr): Likewise.
2172 (i386_dr_low_get_addr): Likewise.
2173 (i386_dr_low_can_set_control): Likewise.
2174 (i386_dr_low_set_control): Likewise.
2175 (i386_dr_low_get_control): Likewise.
2176 (i386_dr_low_get_status): Likewise.
2177 (i386_get_debug_register_length): Likewise.
2178 (debug_hw_points): Likewise.
2179
2180 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2181
2182 * Makefile.in (SFILES): Add d-exp.y.
2183 (YYFILES): Add d-exp.c.
2184 (YYOBJ): Add d-exp.o.
2185 (local-maintainer-clean): Delete d-exp.c.
2186 * d-exp.y: New file.
2187 * d-lang.h (d_parse): New declaration.
2188 (d_error): New declaration.
2189 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2190 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2191 PREC_ORDER operators.
2192 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2193
2194 2014-06-19 Yao Qi <yao@codesourcery.com>
2195
2196 * gdbthread.h (any_running): Remove the declaration.
2197 * thread.c (any_running): Remove.
2198
2199 2014-06-19 Yao Qi <yao@codesourcery.com>
2200
2201 * gdbthread.h (struct thread_info) <state>: Change its type to
2202 'enum thread_state'. Update comments.
2203
2204 2014-06-19 Pedro Alves <palves@redhat.com>
2205
2206 * gdbthread.h (ALL_THREADS): Delete.
2207 (ALL_NON_EXITED_THREADS): New macro.
2208 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2209 instead of ALL_THREADS.
2210 * infrun.c (find_thread_needs_step_over)
2211 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2212 instead of ALL_THREADS.
2213 * record-btrace.c (record_btrace_open)
2214 (record_btrace_stop_recording, record_btrace_close)
2215 (record_btrace_is_replaying, record_btrace_resume)
2216 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2217 * remote.c (append_pending_thread_resumptions): Likewise.
2218 * thread.c (thread_apply_all_command): Likewise.
2219
2220 2014-06-19 Gary Benson <gbenson@redhat.com>
2221
2222 * i386-nat.c (i386_stopped_by_watchpoint):
2223 Use i386_dr_stopped_by_watchpoint.
2224 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2225 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2226
2227 2014-06-19 Gary Benson <gbenson@redhat.com>
2228
2229 * nat/i386-dregs.c: New file.
2230 * Makefile.in (i386-dregs.o): New rule.
2231 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2232 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2233 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2234 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2235 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2236 * config/i386/go32.mh (NATDEPFILES): Likewise.
2237 * config/i386/linux.mh (NATDEPFILES): Likewise.
2238 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2239 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2240 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2241 * i386-nat.h (debug_hw_points): New declaration.
2242 * i386-nat.c (breakpoint.h): Remove include.
2243 (command.h): Likewise.
2244 (target.h): Likewise.
2245 (gdb_assert.h): Likewise.
2246 (debug_hw_points): Made nonstatic.
2247 (debug_printf): Now in i386-dregs.c.
2248 (TARGET_HAS_DR_LEN_8): Likewise.
2249 (DR_CONTROL_SHIFT): Likewise.
2250 (DR_CONTROL_SIZE): Likewise.
2251 (DR_RW_EXECUTE): Likewise.
2252 (DR_RW_WRITE): Likewise.
2253 (DR_RW_READ): Likewise.
2254 (DR_RW_IORW): Likewise.
2255 (DR_LEN_1): Likewise.
2256 (DR_LEN_2): Likewise.
2257 (DR_LEN_4): Likewise.
2258 (DR_LEN_8): Likewise.
2259 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2260 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2261 (DR_ENABLE_SIZE): Likewise.
2262 (DR_LOCAL_SLOWDOWN): Likewise.
2263 (DR_GLOBAL_SLOWDOWN): Likewise.
2264 (DR_CONTROL_RESERVED): Likewise.
2265 (I386_DR_CONTROL_MASK): Likewise.
2266 (I386_DR_VACANT): Likewise.
2267 (I386_DR_LOCAL_ENABLE): Likewise.
2268 (I386_DR_GLOBAL_ENABLE): Likewise.
2269 (I386_DR_DISABLE): Likewise.
2270 (I386_DR_SET_RW_LEN): Likewise.
2271 (I386_DR_GET_RW_LEN): Likewise.
2272 (I386_DR_WATCH_HIT): Likewise.
2273 (i386_wp_op_t): Likewise.
2274 (i386_show_dr): Likewise.
2275 (i386_length_and_rw_bits): Likewise.
2276 (i386_insert_aligned_watchpoint): Likewise.
2277 (i386_remove_aligned_watchpoint): Likewise.
2278 (i386_handle_nonaligned_watchpoint): Likewise.
2279 (i386_update_inferior_debug_regs): Likewise.
2280 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2281 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2282 (i386_region_ok_for_watchpoint):
2283 Use i386_dr_region_ok_for_watchpoint.
2284 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2285
2286 2014-06-19 Gary Benson <gbenson@redhat.com>
2287
2288 * i386-nat.c (i386_insert_hw_breakpoint): Use
2289 i386_insert_watchpoint.
2290 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2291
2292 2014-06-19 Gary Benson <gbenson@redhat.com>
2293
2294 * i386-nat.c (i386_dr_show): Renamed to
2295 i386_show_dr and made static. All uses updated.
2296 (i386_dr_length_and_rw_bits): Renamed to
2297 i386_length_and_rw_bits and made static.
2298 All uses updated.
2299 (i386_dr_insert_aligned_watchpoint): Renamed to
2300 i386_insert_aligned_watchpoint and made static.
2301 All uses updated.
2302 (i386_dr_remove_aligned_watchpoint): Renamed to
2303 i386_remove_aligned_watchpoint and made static.
2304 All uses updated.
2305 (i386_dr_update_inferior_debug_regs): Renamed to
2306 i386_update_inferior_debug_regs and made static.
2307 All uses updated.
2308 * nat/i386-dregs.h (i386_dr_show): Removed.
2309 (i386_dr_length_and_rw_bits): Likewise.
2310 (i386_dr_insert_aligned_watchpoint): Likewise.
2311 (i386_dr_remove_aligned_watchpoint): Likewise.
2312 (i386_dr_update_inferior_debug_regs): Likewise.
2313
2314 2014-06-19 Gary Benson <gbenson@redhat.com>
2315
2316 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2317 * configure: Regenerate.
2318 * config.in: Likewise.
2319 * main.c (signal.h): New include.
2320 (setup_alternate_signal_stack): New function.
2321 (captured_main): Call the above.
2322 * cp-support.c (signal.h): New include.
2323 (catch_demangler_crashes): New flag.
2324 (SIGJMP_BUF): New define.
2325 (SIGSETJMP): Likewise.
2326 (SIGLONGJMP): Likewise.
2327 (gdb_demangle_jmp_buf): New static global.
2328 (gdb_demangle_attempt_core_dump): Likewise.
2329 (gdb_demangle_signal_handler): New function.
2330 (gdb_demangle): If catch_demangler_crashes is set, install the
2331 above signal handler before calling bfd_demangle, and restore
2332 the original signal handler afterwards. Display the offending
2333 symbol and call demangler_warning the first time a segmentation
2334 fault is caught.
2335 (_initialize_cp_support): New maint set/show command.
2336
2337 2014-06-19 Gary Benson <gbenson@redhat.com>
2338
2339 * utils.h (resource_limit_kind): New enum.
2340 (can_dump_core): New declaration.
2341 (warn_cant_dump_core): Likewise.
2342 (dump_core): Likewise.
2343 * utils.c (dump_core): Made nonstatic. Added new
2344 parameter "limit_kind".
2345 (can_dump_core): Made nonstatic. Moved printing code to...
2346 (warn_cant_dump_core): New function.
2347 (can_dump_core_warn): Likewise.
2348 (internal_vproblem): Replace calls to can_dump_core with
2349 calls to can_dump_core_warn. Supply new argument to each.
2350
2351 2014-06-19 Gary Benson <gbenson@redhat.com>
2352
2353 * utils.h (demangler_vwarning): New declaration.
2354 (demangler_warning): Likewise.
2355 * utils.c (struct internal_problem)
2356 <user_settable_should_quit>: New field.
2357 <user_settable_should_dump_core>: Likewise
2358 (internal_error_problem): Add values for above new fields.
2359 (internal_warning_problem): Likewise.
2360 (demangler_warning_problem): New static global.
2361 (demangler_vwarning): New function.
2362 (demangler_warning): Likewise.
2363 (add_internal_problem_command): Selectively add commands.
2364 (_initialize_utils): New internal problem command.
2365 * maint.c (maintenance_demangler_warning): New function.
2366 (_initialize_maint_cmds): New command.
2367
2368 2014-06-18 Tom Tromey <tromey@redhat.com>
2369
2370 * f-valprint.c (info_common_command_for_block): Update.
2371 * symtab.h (struct general_symbol_info) <common_block>: Now
2372 const.
2373
2374 2014-06-18 Tom Tromey <tromey@redhat.com>
2375
2376 * symtab.h (struct symtab) <blockvector>: Now const.
2377 * ada-lang.c (ada_add_global_exceptions): Update.
2378 * buildsym.c (augment_type_symtab): Update.
2379 * dwarf2read.c (dw2_lookup_symbol): Update.
2380 * jit.c (finalize_symtab): Update.
2381 * jv-lang.c (add_class_symtab_symbol): Update.
2382 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2383 Update.
2384 * objfiles.c (objfile_relocate1): Update.
2385 * psymtab.c (lookup_symbol_aux_psymtabs)
2386 (maintenance_check_psymtabs): Update.
2387 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2388 Update.
2389 * spu-tdep.c (spu_catch_start): Update.
2390 * symmisc.c (dump_symtab_1): Update.
2391 * symtab.c (lookup_global_symbol_from_objfile)
2392 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2393 (basic_lookup_transparent_type_quick)
2394 (basic_lookup_transparent_type, find_pc_sect_symtab)
2395 (find_pc_sect_line, search_symbols): Update.
2396 * block.c (find_block_in_blockvector): Make "bl" const.
2397 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2398 const.
2399 (blockvector_contains_pc): Make "bv" const.
2400 (block_for_pc_sect): Update.
2401 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2402 (blockvector_contains_pc): Update.
2403 * breakpoint.c (resolve_sal_pc): Update.
2404 * inline-frame.c (block_starting_point_at): Update.
2405
2406 2014-06-18 Tom Tromey <tromey@redhat.com>
2407
2408 * completer.c (complete_line): Make "line_buffer" const.
2409 * completer.h (complete_line): Update.
2410
2411 2014-06-18 Tom Tromey <tromey@redhat.com>
2412
2413 * symtab.c (add_macro_name): Remove unneeded cast.
2414
2415 2014-06-18 Tom Tromey <tromey@redhat.com>
2416
2417 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2418 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2419
2420 2014-06-18 Tom Tromey <tromey@redhat.com>
2421
2422 * probe.c (info_probes_for_ops): Make "arg" const.
2423 * probe.h (info_probes_for_ops): Update.
2424
2425 2014-06-18 Tom Tromey <tromey@redhat.com>
2426
2427 * varobj.c (varobj_create): Update.
2428 * valops.c (value_of_this): Update.
2429 * tracepoint.c (add_local_symbols, scope_info): Update.
2430 * symtab.h (struct general_symbol_info) <block>: Now const.
2431 * symtab.c (skip_prologue_sal)
2432 (default_make_symbol_completion_list_break_on)
2433 (skip_prologue_using_sal): Update.
2434 * stack.h (iterate_over_block_locals)
2435 (iterate_over_block_local_vars): Update.
2436 * stack.c (print_frame_args): Update.
2437 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2438 parameter const.
2439 (get_selected_block): Make return type const.
2440 * python/py-frame.c (frapy_block): Update.
2441 * python/py-block.c (gdbpy_block_for_pc): Update.
2442 * p-exp.y (%union) <bval>: Now const.
2443 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2444 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2445 * m2-exp.y (%union) <bval>: Now const.
2446 * linespec.c (get_current_search_block): Make return type const.
2447 (create_sals_line_offset, find_label_symbols): Update.
2448 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2449 Update.
2450 (block_starting_point_at): Make "block" const.
2451 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2452 (check_exception_resume): Update.
2453 * guile/scm-frame.c (gdbscm_frame_block): Update.
2454 * guile/scm-block.c (gdbscm_lookup_block): Update.
2455 * frame.h (get_frame_block): Update.
2456 (get_selected_block): Make return type const.
2457 * frame.c (frame_id_inner): Update.
2458 * f-valprint.c (info_common_command_for_block)
2459 (info_common_command): Update.
2460 * dwarf2loc.c (dwarf2_find_location_expression)
2461 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2462 (locexpr_describe_location_piece): Update.
2463 * c-exp.y (%union) <bval>: Now const.
2464 * breakpoint.c (resolve_sal_pc): Update.
2465 * blockframe.c (get_frame_block):Make return type const.
2466 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2467 (block_innermost_frame): Update.
2468 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2469 (block_for_pc, block_for_pc_sect): Update.
2470 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2471 'pblock' const.
2472 (block_for_pc_sect, block_for_pc): Make return type const.
2473 * ax-gdb.c (gen_expr): Update.
2474 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2475 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2476 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2477 (ada_read_var_value): Update.
2478 * ada-exp.y (struct name_info) <block>: Now const.
2479 (%union): Likewise.
2480 (block_lookup): Constify.
2481
2482 2014-06-18 Gary Benson <gbenson@redhat.com>
2483
2484 * nat/i386-dregs.h: New file.
2485 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2486 * i386-nat.h (i386-dregs.h): New include.
2487 (DR_FIRSTADDR): Now in i386-dregs.h.
2488 (DR_LASTADDR): Likewise.
2489 (DR_NADDR): Likewise.
2490 (DR_STATUS): Likewise.
2491 (DR_CONTROL): Likewise.
2492 (i386_debug_reg_state): Likewise.
2493 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2494
2495 2014-06-18 Don Breazeal <donb@codesourcery.com>
2496
2497 * breakpoint.c (set_longjmp_breakpoint): Call
2498 momentary_breakpoint_from_master with additional argument.
2499 (set_longjmp_breakpoint_for_call_dummy): Call
2500 momentary_breakpoint_from_master with additional argument.
2501 (set_std_terminate_breakpoint): Call
2502 momentary_breakpoint_from_master with additional argument.
2503 (momentary_breakpoint_from_master): Add argument to function
2504 definition and use it to initialize structure member flag.
2505 (clone_momentary_breakpoint): Call
2506 momentary_breakpoint_from_master with additional argument.
2507 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2508 member flags set in momentary_breakpoint_from_master.
2509
2510 2014-06-18 Gary Benson <gbenson@redhat.com>
2511
2512 * i386-nat.c (i386_show_dr): Renamed to
2513 i386_dr_show and made nonstatic. All uses updated.
2514 (i386_length_and_rw_bits): Renamed to
2515 i386_dr_length_and_rw_bits and made nonstatic.
2516 All uses updated.
2517 (i386_insert_aligned_watchpoint): Renamed to
2518 i386_dr_insert_aligned_watchpoint and made nonstatic.
2519 All uses updated.
2520 (i386_remove_aligned_watchpoint): Renamed to
2521 i386_dr_remove_aligned_watchpoint and made nonstatic.
2522 All uses updated.
2523 (i386_update_inferior_debug_regs): Renamed to
2524 i386_dr_update_inferior_debug_regs and made nonstatic.
2525 All uses updated.
2526
2527 2014-06-18 Gary Benson <gbenson@redhat.com>
2528
2529 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2530 (i386_dr_low_can_set_control): Likewise.
2531 (i386_dr_low_set_addr): Likewise.
2532 (i386_dr_low_set_control): Likewise.
2533 (i386_dr_low_get_addr): Likewise.
2534 (i386_dr_low_get_status): Likewise.
2535 (i386_dr_low_get_control): Likewise.
2536 (i386_insert_aligned_watchpoint): Use new macros.
2537 (i386_update_inferior_debug_regs): Likewise.
2538 (i386_stopped_data_address): Likewise.
2539
2540 2014-06-18 Gary Benson <gbenson@redhat.com>
2541
2542 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2543 New parameter. All uses updated.
2544
2545 2014-06-18 Gary Benson <gbenson@redhat.com>
2546
2547 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2548 All uses updated.
2549
2550 2014-06-18 Gary Benson <gbenson@redhat.com>
2551
2552 * i386-nat.c (debug_printf): New macro.
2553 (i386_get_debug_register_length): Likewise.
2554 (TARGET_HAS_DR_LEN_8): Use above macro.
2555 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2556 and printf_unfiltered. Use phex to format values.
2557
2558 2014-06-18 Gary Benson <gbenson@redhat.com>
2559
2560 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2561 Make const.
2562
2563 2014-06-18 Gary Benson <gbenson@redhat.com>
2564
2565 * i386-nat.c: Comment changes.
2566
2567 2014-06-18 Gary Benson <gbenson@redhat.com>
2568
2569 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2570
2571 2014-06-18 Gary Benson <gbenson@redhat.com>
2572
2573 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2574 (i386_insert_aligned_watchpoint): Likewise.
2575 (i386_remove_aligned_watchpoint): Likewise.
2576 (i386_handle_nonaligned_watchpoint): Likewise.
2577
2578 2014-06-18 Gary Benson <gbenson@redhat.com>
2579
2580 * i386-nat.c: Whitespace changes.
2581
2582 2014-06-17 Samuel Bronson <naesten@gmail.com>
2583
2584 * MAINTAINERS: Update Roland McGrath's email address.
2585 Thanks to Sergio Durigan Junior for pointing out that he left
2586 Red Hat a while ago, and giving me a current address.
2587
2588 2014-06-17 Tom Tromey <tromey@redhat.com>
2589
2590 * utils.h (savestring): Remove declaration.
2591
2592 2014-06-17 Tom Tromey <tromey@redhat.com>
2593
2594 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2595
2596 2014-06-16 Keith Seitz <keiths@redhat.com>
2597
2598 PR mi/15863
2599 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2600 to update the varobj if inferior_ptid is null_ptid.
2601
2602 2014-06-16 Tom Tromey <tromey@redhat.com>
2603
2604 * target.h (struct target_ops) <to_info_proc>: Make parameter
2605 const.
2606 (target_info_proc): Update.
2607 * target.c (target_info_proc): Make "args" const.
2608 * procfs.c (procfs_info_proc): Update.
2609 * linux-tdep.c (linux_info_proc): Update.
2610 (linux_core_info_proc_mappings): Make "args" const.
2611 (linux_core_info_proc): Update.
2612 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2613 * gdbarch.c: Rebuild.
2614 * gdbarch.h: Rebuild.
2615 * corelow.c (core_info_proc): Update.
2616
2617 2014-06-16 Tom Tromey <tromey@redhat.com>
2618
2619 * target.h (struct target_ops) <to_disconnect>: Make parameter
2620 const.
2621 (target_disconnect): Update.
2622 * target.c (target_disconnect): Make "args" const.
2623 * target-delegates.c: Rebuild.
2624 * remote.c (remote_disconnect): Update.
2625 * record.h (record_disconnect): Update.
2626 * record.c (record_disconnect): Update.
2627 * inf-child.c (inf_child_disconnect): Update.
2628
2629 2014-06-16 Tom Tromey <tromey@redhat.com>
2630
2631 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2632 * target.c (debug_to_rcmd, default_rcmd): Update.
2633 * target-delegates.c: Rebuild.
2634 * remote.c (remote_rcmd): Update.
2635 * monitor.c (monitor_rcmd): Update.
2636
2637 2014-06-16 Pedro Alves <palves@redhat.com>
2638
2639 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2640 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2641 have OBJF_SHARED set.
2642 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2643 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2644 instead of OBJF_USERLOADED.
2645 * objfiles.h (OBJF_SHARED): Update comment.
2646 (userloaded_objfile_contains_address_p): Rename to ...
2647 (shared_objfile_contains_address_p): ... this, and update
2648 comments.
2649 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2650 new objfile.
2651 (remove_symbol_file_command): Skip objfiles that don't have
2652 OBJF_SHARED set.
2653
2654 2014-06-16 Tom Tromey <tromey@redhat.com>
2655
2656 * minsyms.h (prim_record_minimal_symbol)
2657 (prim_record_minimal_symbol_and_info): Update comments.
2658
2659 2014-06-14 Eli Zaretskii <eliz@gnu.org>
2660
2661 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2662 or --without-guile, according to how GDB was built.
2663
2664 2014-06-13 Tom Tromey <tromey@redhat.com>
2665
2666 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2667 to help_list.
2668 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2669 to help_list.
2670 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2671 help_list.
2672 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2673 help_list.Pass all_commands, not -1, to help_list.
2674 * cli/cli-dump.c (dump_command, append_command)
2675 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2676 (binary_dump_command, binary_append_command): Pass all_commands,
2677 not -1, to help_list.
2678 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2679 -1, to help_list.
2680 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2681 -1, to help_list.
2682 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2683 help_list.
2684 * top.c (set_history): Pass all_commands, not -1, to help_list.
2685 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2686 all_commands, not -1, to help_list.
2687 * symfile.c (overlay_command): Pass all_commands, not -1, to
2688 help_list.
2689 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2690 help_list.
2691 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2692 help_list.
2693 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2694 -1, to help_list.
2695 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2696 not -1, to help_list.
2697 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2698 not -1, to help_list.
2699 * maint.c (maintenance_command, maintenance_info_command)
2700 (maintenance_print_command, maintenance_set_cmd): Pass
2701 all_commands, not -1, to help_list.
2702 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2703 help_list.
2704 * language.c (set_check): Pass all_commands, not -1, to help_list.
2705 * infcmd.c (unset_command): Pass all_commands, not -1, to
2706 help_list.
2707 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2708 help_list.
2709 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2710 help_list.
2711 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2712 help_list.
2713 * breakpoint.c (save_command): Pass all_commands, not -1, to
2714 help_list.
2715 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2716 all_commands, not -1, to help_list.
2717
2718 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2719
2720 * regcache.c (struct register_to_invalidate): New structure.
2721 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2722 functions.
2723 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2724
2725 2014-06-12 Yao Qi <yao@codesourcery.com>
2726
2727 * varobj.c (varobj_get_num_children): Call
2728 varobj_is_dynamic_p.
2729 (varobj_list_children): Likewise.
2730 (varobj_update): Likewise. Update comments.
2731
2732 2014-06-12 Yao Qi <yao@codesourcery.com>
2733
2734 * varobj.c (varobj_pretty_printed_p): Rename to ...
2735 (varobj_is_dynamic_p): ... this. New function.
2736 * varobj.h (varobj_pretty_printed_p): Remove declaration.
2737 (varobj_is_dynamic_p): Declare.
2738 * mi/mi-cmd-var.c (print_varobj): All callers updated.
2739 (mi_print_value_p, varobj_update_one): Likewise.
2740
2741 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2742 Yao Qi <yao@codesourcery.com>
2743
2744 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
2745 (varobj_get_iterator): Wrap up code for pretty-printer by
2746 "#if HAVE_PYTHON" and "#endif".
2747 (update_dynamic_varobj_children): Likewise.
2748
2749 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2750 Yao Qi <yao@codesourcery.com>
2751
2752 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
2753 gdb_python_initialized is false. Move some code from varobj.c.
2754 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
2755 * varobj.c: Move "varobj-iter.h" inclusion earlier.
2756 (struct varobj_item): Moved to varobj-iter.h".
2757 (varobj_clear_saved_item): New function.
2758 (update_dynamic_varobj_children): Move python-related code to
2759 py-varobj.c.
2760 (free_variable): Call varobj_clear_saved_item and
2761 varobj_iter_delete.
2762
2763 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2764 Yao Qi <yao@codesourcery.com>
2765
2766 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
2767 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
2768 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
2769 (py-varobj.o): New rule.
2770 * python/py-varobj.c: New file.
2771 * python/python-internal.h (py_varobj_get_iterator): Declare.
2772 * varobj-iter.h: New file.
2773 * varobj.c: Include "varobj-iter.h"
2774 (struct varobj) <child_iter>: Change its type from "PyObject *"
2775 to "struct varobj_iter *".
2776 <saved_item>: Likewise.
2777 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
2778 [HAVE_PYTHON] (varobj_get_iterator): New function.
2779 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
2780 python-specific code to python/py-varobj.c.
2781 (install_visualizer): Call varobj_iter_delete instead of
2782 Py_XDECREF.
2783 * varobj.h (varobj_ensure_python_env): Declare.
2784
2785 2014-06-12 Yao Qi <yao@codesourcery.com>
2786
2787 * varobj.c (struct varobj_item): New structure.
2788 (create_child_with_value): Update declaration.
2789 (varobj_add_child): Replace arguments 'name' and 'value' with
2790 'item'. All callers updated.
2791 (install_dynamic_child): Likewise.
2792 (update_dynamic_varobj_children): Likewise.
2793 (varobj_add_child): Likewise.
2794 (create_child_with_value): Likewise.
2795
2796 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2797
2798 * NEWS: Create a new section for the next release branch.
2799 Rename the section of the current branch, now that it has
2800 been cut.
2801
2802 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2803
2804 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
2805 * version.in: Bump version to 7.8.50.DATE-cvs.
2806
2807 2014-06-11 Pedro Alves <palves@redhat.com>
2808
2809 PR remote/17028
2810 * ser-mingw.c (net_windows_socket_check_pending): New function.
2811 (net_windows_select_thread): Ignore spurious wakeups. Use
2812 net_windows_socket_check_pending.
2813 (net_windows_wait_handle): Check for pending events with
2814 ioctlsocket, through net_windows_socket_check_pending, instead of
2815 checking the socket's event.
2816
2817 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
2818
2819 * python/python-internal.h (gdb_PyObject_GetAttrString)
2820 (gdb_PyObject_HasAttrString): New inline function definitions.
2821 * py-value.c (get_field_flag): Remove the now unnecessary cast to
2822 char * of the second argument to PyObject_GetAttrString.
2823
2824 2014-06-10 Joel Brobecker <brobecker@adacore.com>
2825
2826 * serial.c (serial_write): Fix index of character to be printed
2827 in call to serial_logchar when serial debug traces are enabled.
2828
2829 2014-06-10 Joel Brobecker <brobecker@adacore.com>
2830
2831 * gdbtypes (resolve_dynamic_range): Add function description.
2832
2833 2014-06-09 Pedro Alves <palves@redhat.com>
2834
2835 * linux-nat.c (linux_child_follow_fork): Initialize status with
2836 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
2837 inner block. Only pass the signal to PTRACE_DETACH if in pass
2838 state.
2839
2840 2014-06-09 Gary Benson <gbenson@redhat.com>
2841
2842 * common/signals.c (gdb_signal_from_host): Reorder to separate
2843 the always-available ANSI-standard signals from the signals that
2844 require checking.
2845 (do_gdb_signal_to_host): Likewise.
2846 * proc-events.c (signal_table): Likewise.
2847
2848 2014-06-08 Hui Zhu <hui@codesourcery.com>
2849
2850 * common/linux-ptrace.c (linux_disable_event_reporting): New
2851 function.
2852 * common/linux-ptrace.h (linux_disable_event_reporting): New
2853 declaration.
2854 * linux-nat.c (linux_child_follow_fork): Do a single step before
2855 detach.
2856
2857 2014-06-07 Keith Seitz <keiths@redhat.com>
2858
2859 Revert:
2860 PR c++/16253
2861 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
2862 from symbol_matches_domain in symtab.c. All local callers
2863 of symbol_matches_domain updated.
2864 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
2865 search STRUCT_DOMAIN.
2866 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
2867 independently. standard_lookup will do that automatically.
2868 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
2869 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2870 (cp_lookup_symbol_in_namespace): Likewise.
2871 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
2872 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
2873 may return a STRUCT_DOMAIN match.
2874 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
2875 * cp-support.c: Include language.h.
2876 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
2877 VAR_DOMAIN.
2878 * psymtab.c (match_partial_symbol): Compare the requested
2879 domain with the symbol's domain directly.
2880 (lookup_partial_symbol): Likewise.
2881 * symtab.c (lookup_symbol_in_language): Explain when/why
2882 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2883 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
2884 appropriate languages.
2885 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
2886 and moved to ada-lang.c
2887 (lookup_block_symbol): Explain that this function only returns
2888 symbol matching the requested DOMAIN.
2889 Compare the requested domain with the symbol's domain directly.
2890 (iterate_over_symbols): Compare the requested domain with the
2891 symbol's domain directly.
2892 * symtab.h (symbol_matches_domain): Remove.
2893
2894 2014-06-06 Doug Evans <xdje42@gmail.com>
2895
2896 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
2897 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
2898 (gdbscm_guile_version_is_at_least): Declare.
2899 (gdbscm_scm_string_to_int): Declare.
2900 * guile/guile.c (gdbscm_guile_major_version): New global.
2901 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
2902 (guile_datadir): New static global.
2903 (gdbscm_guile_data_directory): New function.
2904 (initialize_scheme_side): Update.
2905 (misc_guile_functions): Add guile-data-directory.
2906 (initialize_gdb_module): Fetch guile version number.
2907 * guile/lib/gdb.scm: Remove call to add-to-load-path.
2908 * guile/lib/gdb/init.scm (%initialize!): Ditto.
2909 * guile/lib/gdb/boot.scm: Use guile-data-directory.
2910 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
2911 comments.
2912 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
2913 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
2914 * guile/scm-value.c (gdbscm_value_to_string): Only call
2915 scm_port_conversion_strategy if Guile version >= 2.0.6.
2916
2917 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
2918
2919 * main.c (print_gdb_help): Add -q and --silent.
2920
2921 2014-06-06 Gary Benson <gbenson@redhat.com>
2922
2923 * common/signals.c: Remove preprocessor conditionals for
2924 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
2925 SIGSEGV and SIGTERM.
2926 * proc-events.c: Likewise.
2927
2928 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
2929
2930 * symfile.c (symfile_free_objfile): Remove restriction to
2931 OBJF_USERLOADED.
2932 * symfile-mem.c (symbol_file_add_from_memory): Call
2933 add_target_sections_of_objfile.
2934
2935 2014-06-05 Ludovic Courtès <ludo@gnu.org>
2936
2937 * guile/scm-value.c (gdbscm_history_append_x): Use
2938 'vlscm_get_value_smob_arg_unsafe' instead of
2939 'vlscm_scm_to_value'.
2940
2941 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
2942
2943 PR mi/15806
2944 * utils.c (printchar): Don't escape at all if quoter is NUL.
2945 Update function documentation to clarify effect of parameter
2946 QUOTER.
2947 * remote.c (escape_buffer): Pass '\\' as the quoter to
2948 fputstrn_unfiltered.
2949 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
2950 generate the output.
2951 (mi_solib_unloaded): Same.
2952
2953 2014-06-05 Joel Brobecker <brobecker@adacore.com>
2954
2955 * development.sh: Delete.
2956 * Makefile.in (config.status): Adjust dependency on development.sh.
2957 * configure.ac: Adjust development.sh source call.
2958 * configure: Regenerate.
2959
2960 2014-06-04 Doug Evans <xdje42@gmail.com>
2961
2962 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
2963 is_scheme_bkpt, spec.
2964 (bpscm_make_breakpoint_smob): Initialize new members.
2965 (gdbscm_create_breakpoint_x): Split into two ...
2966 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
2967 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
2968 (scheme_function breakpoint_functions): Update.
2969 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
2970 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
2971 register-breakpoint!.
2972
2973 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
2974
2975 PR server/17023
2976 * mem-break.c (z_type_supported): Return zero if
2977 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
2978
2979 2014-06-04 Tom Tromey <tromey@redhat.com>
2980
2981 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
2982 value_from_contents_and_address_unresolved.
2983 (ada_template_to_fixed_record_type_1): Likewise.
2984 (ada_which_variant_applies): Likewise.
2985 * value.h (value_from_contents_and_address_unresolved): Declare.
2986 * value.c (value_from_contents_and_address_unresolved): New
2987 function.
2988 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
2989 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
2990 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
2991
2992 2014-06-04 Tom Tromey <tromey@redhat.com>
2993
2994 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
2995
2996 2014-06-04 Tom Tromey <tromey@redhat.com>
2997
2998 * procfs.c (procfs_attach): Make "args" const.
2999 * windows-nat.c (windows_attach): Make "args" const.
3000 * nto-procfs.c (procfs_attach): Make "args" const.
3001 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3002 * go32-nat.c (go32_attach): Make "args" const.
3003 * gnu-nat.c (gnu_attach): Make "args" const.
3004 * darwin-nat.c (darwin_attach): Make "args" const.
3005 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3006 * linux-nat.c (linux_nat_attach): Make "args" const.
3007 * remote.c (extended_remote_attach_1, extended_remote_attach):
3008 Make "args" const.
3009 * target.h (struct target_ops) <to_attach>: Make "args" const.
3010 (find_default_attach): Likewise.
3011 * utils.c (parse_pid_to_attach): Make "args" const.
3012 * utils.h (parse_pid_to_attach): Update.
3013
3014 2014-06-04 Tom Tromey <tromey@redhat.com>
3015
3016 * target-delegates.c: Rebuild.
3017 * target.c (default_thread_address_space): New function.
3018 (target_thread_address_space): Simplify.
3019 * target.h (struct target_ops) <to_thread_address_space>: Add
3020 TARGET_DEFAULT_FUNC.
3021
3022 2014-06-04 Doug Evans <xdje42@gmail.com>
3023
3024 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3025
3026 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3027
3028 * record-btrace.c: Include event-loop.h and inf-loop.h.
3029 (record_btrace_resume_exec_dir)
3030 (record_btrace_async_inferior_event_handler)
3031 (record_btrace_handle_async_inferior_event): New.
3032 (record_btrace_open): Create async event handler.
3033 (record_btrace_close): Delete async event handler.
3034 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3035 Mark async event handler.
3036 (record_btrace_execution_direction): New.
3037 (init_record_btrace_ops): Initialize to_execution_direction.
3038
3039 2014-06-03 Doug Evans <xdje42@gmail.com>
3040
3041 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3042 (gdbscm_make_parameter): Ditto.
3043
3044 2014-06-03 Doug Evans <dje@google.com>
3045
3046 * exec.c (exec_close_1): Call clear_section_table instead of
3047 resize_section_table.
3048 (clear_section_table): New function.
3049 (resize_section_table): Make static. Rename arg num_added to
3050 adjustment.
3051 * exec.h (clear_section_table): Declare.
3052 (resize_section_table): Delete.
3053 * progspace.c (release_program_space): Call clear_section_table
3054 instead of resize_section_table.
3055
3056 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3057
3058 * NEWS (Python Scripting): Add entry about the new xmethods
3059 feature.
3060
3061 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3062
3063 * python/py-xmethods.c: New file.
3064 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3065 (objfpy_dealloc): XDECREF on the new xmethods field.
3066 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3067 field.
3068 (objfpy_get_xmethods): New function.
3069 (objfile_getset): New entry 'xmethods'.
3070 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3071 (pspy_dealloc): XDECREF on the new xmethods field.
3072 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3073 field.
3074 (pspy_get_xmethods): New function.
3075 (pspace_getset): New entry 'xmethods'.
3076 * python/python-internal.h: Add declarations for new functions.
3077 * python/python.c (_initialize_python): Invoke
3078 gdbpy_initialize_xmethods.
3079 * python/lib/gdb/__init__.py (xmethods): New
3080 attribute.
3081 * python/lib/gdb/xmethod.py: New file.
3082 * python/lib/gdb/command/xmethods.py: New file.
3083
3084 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3085
3086 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3087 best match method returned by find_overload_match is an xmethod.
3088 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3089 the best matching operator returned by find_overload_match is an
3090 xmethod.
3091 * valops.c: #include "extension.h".
3092 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3093 Return void. The list of matching source methods is returned in
3094 "fn_list" and a vector of matching debug method workers is
3095 returned in "xm_worker_vec". Update all callers.
3096 (value_find_oload_method_list): Likewise.
3097 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3098 non-NULL, then the index of the best matching method in this
3099 vector is returned. Update all callers.
3100 (find_overload_match): Include xmethods while performing overload
3101 resolution.
3102
3103 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3104
3105 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3106 * extension-priv.h (struct extension_language_ops): Add the
3107 xmethod interface.
3108 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3109 get_matching_xmethod_workers, get_xmethod_argtypes,
3110 invoke_xmethod, free_xmethod_worker,
3111 free_xmethod_worker_vec): New functions.
3112 * extension.h: #include "common/vec.h".
3113 New function declarations.
3114 (struct xmethod_worker): New struct.
3115 (VEC (xmethod_worker_ptr)): New vector type.
3116 (xmethod_worker_ptr): New typedef.
3117 (xmethod_worker_vec): Likewise.
3118 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3119 builtin_type.
3120 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3121 (struct builtin_type): New field "xmethod".
3122 * valarith.c (value_ptradd): Assert that the value argument is not
3123 lval_xcallable.
3124 * valops.c (value_must_coerce_to_target): Return 0 for
3125 lval_xcallable values.
3126 * value.c (struct value): New field XM_WORKER in the field
3127 LOCATION.
3128 (value_address, value_raw_address): Return 0 for lval_xcallable
3129 values.
3130 (set_value_address): Assert that the value is not an
3131 lval_xcallable.
3132 (value_free): Free the associated xmethod worker when freeing
3133 lval_xcallable values.
3134 (set_value_component_location): Assert that the WHOLE value is not
3135 lval_xcallable.
3136 (value_of_xmethod, call_xmethod): New functions.
3137 * value.h: Declare "struct xmethod_worker".
3138 Declare new functions value_of_xmethod, call_xmethod.
3139
3140 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3141 Pedro Alves <palves@redhat.com>
3142
3143 PR breakpoints/17000
3144 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3145 New function, extracted from software_breakpoint_inserted_here_p.
3146 (software_breakpoint_inserted_here_p): Replace factored out code
3147 by call to find_non_raw_software_breakpoint_inserted_here.
3148 (bp_target_info_copy_insertion_state): New function.
3149 (bkpt_insert_location): Handle the case of a single-step
3150 breakpoint already inserted at the same address.
3151 (bkpt_remove_location): Handle the case of a single-step
3152 breakpoint still inserted at the same address.
3153 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3154 breakpoint already inserted at the same address.
3155 (deprecated_remove_raw_breakpoint): Handle the case of a
3156 non-raw breakpoint still inserted at the same address.
3157 (find_single_step_breakpoint): New function, extracted from
3158 single_step_breakpoint_inserted_here_p.
3159 (find_single_step_breakpoint): New function,
3160 factored out from single_step_breakpoint_inserted_here_p.
3161 (single_step_breakpoint_inserted_here_p): Reimplement.
3162
3163 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3164
3165 Pushed by Joel Brobecker <brobecker@adacore.com>
3166 * source.c (show_substitute_path_command): Fix display of matching
3167 substitution rules.
3168
3169 2014-06-03 Gary Benson <gbenson@redhat.com>
3170
3171 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3172
3173 2014-06-02 Doug Evans <xdje42@gmail.com>
3174
3175 Add parameter support for Guile.
3176 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3177 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3178 (scm-param.o): New rule.
3179 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3180 (gdbscm_misc_error): Declare.
3181 (gdbscm_canonicalize_command_name): Declare.
3182 (gdbscm_scm_to_host_string): Declare.
3183 (gdbscm_scm_from_host_string): Declare.
3184 (gdbscm_initialize_parameters): Declare.
3185 * guile/guile.c (initialize_gdb_module): Call
3186 gdbscm_initialize_parameters.
3187 * guile/lib/gdb.scm: Export parameter symbols.
3188 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3189 cmdscm_canonicalize_name and made public. All callers updated.
3190 * guile/scm-exception.c (gdbscm_misc_error): New function.
3191 * guile/scm-param.c: New file.
3192 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3193 (gdbscm_scm_to_host_string): New function.
3194 (gdbscm_scm_from_host_string): New function.
3195 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3196
3197 2014-06-02 Doug Evans <xdje42@gmail.com>
3198
3199 Add command support for Guile.
3200 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3201 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3202 (scm-cmd.o): New rule.
3203 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3204 (gdbscm_user_error_p): Declare.
3205 (gdbscm_parse_command_name): Declare.
3206 (gdbscm_valid_command_class_p): Declare.
3207 (gdbscm_initialize_commands): Declare.
3208 * guile/guile.c (initialize_gdb_module): Call
3209 gdbscm_initialize_commands.
3210 * guile/lib/gdb.scm: Export command symbols.
3211 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3212 (throw-user-error): New function.
3213 * guile/scm-cmd.c: New file.
3214 * guile/scm-exception.c (user_error_symbol): New static global.
3215 (gdbscm_user_error_p): New function.
3216 (gdbscm_initialize_exceptions): Set user_error_symbol.
3217 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3218
3219 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3220
3221 * top.c (command_loop): Handle comments here...
3222 (command_line_input): ... not here.
3223
3224 2014-06-02 Doug Evans <xdje42@gmail.com>
3225
3226 Add progspace support for Guile.
3227 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3228 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3229 (scm-progspace.o): New rule.
3230 * guile/guile-internal.h (pspace_smob): New typedef.
3231 (psscm_pspace_smob_pretty_printers): Declare.
3232 (psscm_pspace_smob_from_pspace): Declare.
3233 (psscm_scm_from_pspace): Declare.
3234 * guile/guile.c (initialize_gdb_module): Call
3235 gdbscm_initialize_pspaces.
3236 * guile/lib/gdb.scm: Export progspace symbols.
3237 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3238 support.
3239 (append-pretty-printer!): Ditto.
3240 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3241 Implement.
3242 * guile/scm-progspace.c: New file.
3243
3244 2014-06-03 Alan Modra <amodra@gmail.com>
3245
3246 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3247 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3248
3249 2014-06-02 Doug Evans <dje@google.com>
3250
3251 Add support for skeletonless type units.
3252 * dwarf2read.c (struct dwarf2_per_objfile): New member
3253 n_allocated_type_units.
3254 (struct dwarf2_per_objfile) <tu_stats>: New member
3255 nr_all_type_units_reallocs.
3256 (create_signatured_type_table_from_index): Initialize
3257 n_allocated_type_units
3258 (create_all_type_units): Ditto.
3259 (add_type_unit): Move up in file. New arg slot.
3260 All callers updated. Increase space for all_type_units more
3261 efficiently.
3262 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3263 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3264 (lookup_dwp_signatured_type): Ditto.
3265 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3266 All callers updated.
3267 (build_type_psymtabs_1): Leave type_unit_groups as
3268 NULL if no TUs present.
3269 (print_tu_stats): New function.
3270 (process_skeletonless_type_unit): New function.
3271 (process_dwo_file_for_skeletonless_type_units): New
3272 function.
3273 (process_skeletonless_type_units): New function.
3274 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3275 Call print tu_stats if debugging enabled.
3276
3277 2014-06-02 Pedro Alves <palves@redhat.com>
3278
3279 * breakpoint.c (build_target_command_list): Don't build a command
3280 list if we have any duplicate location that isn't a dprintf.
3281
3282 2014-06-02 Pedro Alves <palves@redhat.com>
3283
3284 * breakpoint.c (dprintf_breakpoint_hit): New function.
3285 (initialize_breakpoint_ops): Install it as dprintf's
3286 breakpoint_hit method.
3287
3288 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3289
3290 * source.c (substitute_path_rule_matches): Simplify using
3291 filename_ncmp instead of FILENAME_CMP.
3292
3293 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3294
3295 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3296
3297 2014-06-01 Ludovic Courtès <ludo@gnu.org>
3298
3299 * configure.ac: When Guile is available, check for the
3300 availability of 'scm_new_smob'.
3301 * configure, config.h.in: Regenerate.
3302 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3303 function.
3304
3305 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3306
3307 * frame.c (struct frame_info): Add stop_string field.
3308 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3309 (get_prev_frame_always): Old content moved into
3310 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3311 TRY_CATCH, handle MEMORY_ERROR exceptions.
3312 (frame_stop_reason_string): New function definition.
3313 * frame.h (unwind_stop_reason_to_string): Extend comment to
3314 mention frame_stop_reason_string.
3315 (frame_stop_reason_string): New function declaration.
3316 * stack.c (frame_info): Switch to frame_stop_reason_string.
3317 (backtrace_command_1): Switch to frame_stop_reason_string.
3318 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3319 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3320 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3321
3322 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3323
3324 * frame.c (frame_stop_reason_string): Rename to ...
3325 (unwind_stop_reason_to_string): this.
3326 * frame.h (frame_stop_reason_string): Rename to ...
3327 (unwind_stop_reason_to_string): this.
3328 * stack.c (frame_info): Update call to frame_stop_reason_string.
3329 (backtrace_command_1): Likewise.
3330 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3331 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3332
3333 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3334
3335 * frame.c (remove_prev_frame): New function.
3336 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3337 remove_prev_frame.
3338
3339 2014-05-29 Pedro Alves <palves@redhat.com>
3340
3341 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3342 and make it const. When a single-step decays to a continue,
3343 clear 'step', not 'hw_step'. Pass whether the caller wanted
3344 to step to user_visible_resume_ptid, not what we ask the
3345 target to do.
3346
3347 2014-05-29 Pedro Alves <palves@redhat.com>
3348
3349 * infrun.c (process_event_stop_test, handle_step_into_function)
3350 (handle_step_into_function_backward): Adjust.
3351 Don't set the even thread's stop_step and call stop_waiting before
3352 calling end_stepping_range. Instead do that ...
3353 (end_stepping_range): ... here. Take an ecs pointer parameter.
3354
3355 2014-05-29 Pedro Alves <palves@redhat.com>
3356
3357 * infrun.c (stop_stepping): Rename to ...
3358 (stop_waiting): ... this.
3359 (proceed): Update comment.
3360 (process_event_stop_test, handle_inferior_event)
3361 (handle_signal_stop, handle_step_into_function)
3362 (handle_step_into_function_backward): Update.
3363
3364 2014-05-29 Pedro Alves <palves@redhat.com>
3365
3366 * infcall.c (run_inferior_call): Don't check whether the current
3367 thread is running after the proceed call.
3368
3369 2014-05-29 Pedro Alves <palves@redhat.com>
3370 Tom Tromey <tromey@redhat.com>
3371
3372 * NEWS: Mention "maint set target-async", "set mi-async", and that
3373 background execution commands are now always available.
3374 * target.h (target_async_permitted): Update comment.
3375 * target.c (target_async_permitted, target_async_permitted_1):
3376 Default to 1.
3377 (set_target_async_command): Rename to ...
3378 (maint_set_target_async_command): ... this.
3379 (show_target_async_command): Rename to ...
3380 (maint_show_target_async_command): ... this.
3381 (_initialize_target): Adjust.
3382 * infcmd.c (prepare_execution_command): Make extern.
3383 * inferior.h (prepare_execution_command): Declare.
3384 * infrun.c (set_observer_mode): Leave target async alone.
3385 * mi/mi-interp.c (mi_interpreter_init): Install
3386 mi_on_sync_execution_done as sync_execution_done observer.
3387 (mi_on_sync_execution_done): New function.
3388 (mi_execute_command_input_handler): Don't print the prompt if we
3389 just started a synchronous command with an async target.
3390 (mi_on_resume): Check sync_execution before printing prompt.
3391 * mi/mi-main.h (mi_async_p): Declare.
3392 * mi/mi-main.c: Include gdbcmd.h.
3393 (mi_async_p): New function.
3394 (mi_async, mi_async_1): New globals.
3395 (set_mi_async_command, show_mi_async_command, mi_async): New
3396 functions.
3397 (exec_continue): Call prepare_execution_command.
3398 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3399 (mi_execute_async_cli_command): Use mi_async_p.
3400 (_initialize_mi_main): Install "set mi-async". Make
3401 "target-async" a deprecated alias.
3402
3403 2014-05-29 Pedro Alves <palves@redhat.com>
3404
3405 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3406 (_initialize_cli_interp): Adjust.
3407 * event-loop.c: Include "observer.h".
3408 (start_event_loop): Notify 'command_error' observers instead of
3409 calling display_gdb_prompt. Remove FIXME comment.
3410 * event-top.c (display_gdb_prompt): Remove call into the
3411 interpreters.
3412 * inf-loop.c: Include "observer.h".
3413 (inferior_event_handler): Notify 'command_error' observers instead
3414 of calling display_gdb_prompt.
3415 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3416 observers instead of calling display_gdb_prompt.
3417 * interps.c (interp_set): Don't call display_gdb_prompt.
3418 (current_interp_display_prompt_p): Delete.
3419 * interps.h (interp_prompt_p): Delete declaration.
3420 (interp_prompt_p_ftype): Delete.
3421 (struct interp_procs) <prompt_proc_p>: Delete field.
3422 (current_interp_display_prompt_p): Delete declaration.
3423 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3424 (_initialize_mi_interp): Adjust.
3425 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3426 'command_error' observers.
3427 (tui_on_sync_execution_done, tui_on_command_error): New
3428 functions.
3429 (tui_display_prompt_p): Delete.
3430 (_initialize_tui_interp): Adjust.
3431
3432 2014-05-29 Pedro Alves <palves@redhat.com>
3433
3434 PR gdb/13860
3435 * cli/cli-interp.c: Include infrun.h and observer.h.
3436 (cli_uiout, cli_interp): New globals.
3437 (cli_on_signal_received, cli_on_end_stepping_range)
3438 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3439 functions.
3440 (cli_interpreter_init): Install them as 'end_stepping_range',
3441 'signal_received' 'signal_exited', 'exited' and 'no_history'
3442 observers.
3443 (_initialize_cli_interp): Remove cli_interp local.
3444 * infrun.c (handle_inferior_event): Call the several stop reason
3445 observers instead of printing the stop reason directly.
3446 (end_stepping_range): New function.
3447 (print_end_stepping_range_reason, print_signal_exited_reason)
3448 (print_exited_reason, print_signal_received_reason)
3449 (print_no_history_reason): Make static, and add an uiout
3450 parameter. Print to that instead of to CURRENT_UIOUT.
3451 * infrun.h (print_end_stepping_range_reason)
3452 (print_signal_exited_reason, print_exited_reason)
3453 (print_signal_received_reason print_no_history_reason): New
3454 declarations.
3455 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3456 'mi_uiout'.
3457 <cli_uiout>: New field.
3458 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3459 uiout for CLI output. Install 'signal_received',
3460 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3461 observers.
3462 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3463 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3464 (mi_on_no_history): New functions.
3465 (ui_out_free_cleanup): Delete function.
3466 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3467 instead use the one already stored in the MI interpreter data.
3468 (mi_ui_out): Adjust.
3469 * tui/tui-interp.c: Include infrun.h and observer.h.
3470 (tui_interp): New global.
3471 (tui_on_signal_received, tui_on_end_stepping_range)
3472 (tui_on_signal_exited, tui_on_exited)
3473 (tui_on_no_history): New functions.
3474 (tui_init): Install them as 'end_stepping_range',
3475 'signal_received' 'signal_exited', 'exited' and 'no_history'
3476 observers.
3477 (_initialize_tui_interp): Delete tui_interp local.
3478
3479 2014-05-29 Pedro Alves <palves@redhat.com>
3480
3481 PR gdb/15713
3482 * linux-nat.c (linux_nat_resume_callback): Rename the second
3483 parameter to 'except'. Skip LP if it points to EXCEPT.
3484 (linux_nat_resume): Don't mark the event lwp as not stopped
3485 before resuming sibling lwps. Instead ask
3486 linux_nat_resume_callback to skip the event lwp. Mark it as not
3487 stopped after actually resuming it.
3488 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3489 resuming it.
3490 (wait_lwp): Mark the lwp as stopped here.
3491 (stop_wait_callback): Mark the lwp as not stopped right after
3492 resuming it. Don't mark lwps as stopped here.
3493 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3494 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3495
3496 2014-05-29 Pedro Alves <palves@redhat.com>
3497
3498 PR PR15693
3499 * infrun.c (resume): Determine how much to resume depending on
3500 whether the caller wanted a step, not whether we can hardware step
3501 the target. Mark all threads that we intend to run as running,
3502 unless we're calling an inferior function.
3503 (normal_stop): If the thread is running an infcall, don't finish
3504 thread state.
3505 * target.c (target_resume): Don't mark threads as running here.
3506
3507 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3508
3509 * serial.c (_initialize_serial): Remove support for
3510 the "set remotebaud" and "show remotebaud" commands.
3511 * NEWS: Add entry documenting the removal of that command.
3512
3513 2014-05-28 Yao Qi <yao@codesourcery.com>
3514
3515 * charset.c: Fix typo in comments.
3516
3517 2014-05-27 Gary Benson <gbenson@redhat.com>
3518
3519 * utils.c (internal_vproblem): Prompt for a bug report.
3520
3521 2014-05-26 Andy Wingo <wingo@igalia.com>
3522
3523 * guile/scm-arch.c (arscm_mark_arch_smob):
3524 * guile/scm-block.c (bkscm_mark_block_smob)
3525 (bkscm_mark_block_syms_progress_smob):
3526 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3527 * guile/scm-exception.c (exscm_mark_exception_smob):
3528 * guile/scm-frame.c (frscm_mark_frame_smob):
3529 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3530 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3531 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3532 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3533 (ppscm_mark_pretty_printer_worker_smob):
3534 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3535 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3536 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3537 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3538 mark functions.
3539 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3540 function.
3541
3542 2014-05-26 Andy Wingo <wingo@igalia.com>
3543 Doug Evans <xdje42@gmail.com>
3544
3545 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3546 empty_base_class. All uses updated.
3547 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3548 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3549 Adapt all callers.
3550 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3551 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3552 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3553 (gdbscm_gsmob_has_property_p, add_property_name)
3554 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3555 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3556 (gdb-object-has-property?, gdb-object-properties): Remove.
3557 (gdb-object-kind): Renamed from gsmob-kind.
3558
3559 2014-05-26 Andy Wingo <wingo@igalia.com>
3560
3561 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3562 * configure: Regenerate.
3563
3564 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3565
3566 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3567
3568 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3569
3570 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3571 (replay_memory_access_read_only, replay_memory_access_read_write)
3572 (replay_memory_access_types, replay_memory_access)
3573 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3574 (cmd_set_record_btrace, cmd_show_record_btrace)
3575 (cmd_show_replay_memory_access): New.
3576 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3577 (record_btrace_remove_breakpoint): Replace
3578 record_btrace_allow_memory_access with replay_memory_access.
3579 (_initialize_record_btrace): Add commands.
3580 * NEWS: Announce it.
3581
3582 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3583
3584 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3585
3586 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3587
3588 * MAINTAINERS (Write After Approval): Move self back from
3589 paper trail.
3590
3591 2014-05-22 Pedro Alves <palves@redhat.com>
3592
3593 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3594 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3595 (disable_randomization, enum exec_direction_kind)
3596 (execution_direction, stop_registers, start_remote)
3597 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3598 (wait_for_inferior, normal_stop, get_last_target_status)
3599 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3600 (insert_step_resume_breakpoint_at_sal)
3601 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3602 (set_step_info, print_stop_event, signal_stop_state)
3603 (signal_print_state, signal_pass_state, signal_stop_update)
3604 (signal_print_update, signal_pass_update)
3605 (update_signals_program_target, clear_exit_convenience_vars)
3606 (displaced_step_dump_bytes, update_observer_mode)
3607 (signal_catch_update, gdb_signal_from_command): Move
3608 declarations ...
3609 * infrun.h: ... to this new file.
3610 * amd64-tdep.c: Include infrun.h.
3611 * annotate.c: Include infrun.h.
3612 * arch-utils.c: Include infrun.h.
3613 * arm-linux-tdep.c: Include infrun.h.
3614 * arm-tdep.c: Include infrun.h.
3615 * break-catch-sig.c: Include infrun.h.
3616 * breakpoint.c: Include infrun.h.
3617 * common/agent.c: Include infrun.h instead of inferior.h.
3618 * corelow.c: Include infrun.h.
3619 * event-top.c: Include infrun.h.
3620 * go32-nat.c: Include infrun.h.
3621 * i386-tdep.c: Include infrun.h.
3622 * inf-loop.c: Include infrun.h.
3623 * infcall.c: Include infrun.h.
3624 * infcmd.c: Include infrun.h.
3625 * infrun.c: Include infrun.h.
3626 * linux-fork.c: Include infrun.h.
3627 * linux-nat.c: Include infrun.h.
3628 * linux-thread-db.c: Include infrun.h.
3629 * monitor.c: Include infrun.h.
3630 * nto-tdep.c: Include infrun.h.
3631 * procfs.c: Include infrun.h.
3632 * record-btrace.c: Include infrun.h.
3633 * record-full.c: Include infrun.h.
3634 * remote-m32r-sdi.c: Include infrun.h.
3635 * remote-mips.c: Include infrun.h.
3636 * remote-notif.c: Include infrun.h.
3637 * remote-sim.c: Include infrun.h.
3638 * remote.c: Include infrun.h.
3639 * reverse.c: Include infrun.h.
3640 * rs6000-tdep.c: Include infrun.h.
3641 * s390-linux-tdep.c: Include infrun.h.
3642 * solib-irix.c: Include infrun.h.
3643 * solib-osf.c: Include infrun.h.
3644 * solib-svr4.c: Include infrun.h.
3645 * target.c: Include infrun.h.
3646 * top.c: Include infrun.h.
3647 * windows-nat.c: Include infrun.h.
3648 * mi/mi-interp.c: Include infrun.h.
3649 * mi/mi-main.c: Include infrun.h.
3650 * python/py-threadevent.c: Include infrun.h.
3651
3652 2014-05-22 Pedro Alves <palves@redhat.com>
3653
3654 * infrun.c (handle_inferior_event): Store the exit code for
3655 --return-child-result here, instead of ...
3656 (print_exited_reason): ... here.
3657
3658 2014-05-21 Pedro Alves <palves@redhat.com>
3659
3660 PR gdb/13860
3661 * gdbthread.h (struct thread_control_state): New field
3662 `command_interp'.
3663 * infrun.c (follow_fork): Copy the new thread control field to the
3664 child fork thread.
3665 (clear_proceed_status_thread): Clear the new thread control field.
3666 (proceed): Set the new thread control field.
3667 * interps.h (command_interp): Declare.
3668 * interps.c (command_interpreter): New global.
3669 (command_interp): New function.
3670 (interp_exec): Set `command_interpreter' while here.
3671 * cli-out.c (cli_uiout_dtor): New function.
3672 (cli_ui_out_impl): Install it.
3673 * mi/mi-interp.c: Include cli-out.h.
3674 (mi_cmd_interpreter_exec): Add comment.
3675 (restore_current_uiout_cleanup): New function.
3676 (ui_out_free_cleanup): New function.
3677 (mi_on_normal_stop): If finishing an execution command started by
3678 a CLI command, or any kind of breakpoint-like event triggered,
3679 print the stop event to the output (CLI) stream.
3680 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3681
3682 2014-05-21 Pedro Alves <palves@redhat.com>
3683
3684 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3685 current source line having changed.
3686 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3687 * infrun.c (normal_stop): Adjust call to
3688 set_current_sal_from_frame.
3689 * source.c (clear_lines_listed_range): New function.
3690 (set_current_source_symtab_and_line, identify_source_line): Clear
3691 the lines listed range.
3692 (line_info): Handle the first "info line" after the current source
3693 line having changed.
3694 * stack.c (print_stack_frame): Remove center handling.
3695 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3696 center sal.line.
3697
3698 2014-05-21 Pedro Alves <palves@redhat.com>
3699
3700 * inf-child.c (inf_child_mourn_inferior): New function.
3701 * inf-child.h (inf_child_mourn_inferior): New declaration.
3702 * darwin-nat.c (darwin_mourn_inferior): Use
3703 inf_child_mourn_inferior.
3704 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3705 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3706 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3707 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3708 * windows-nat.c (windows_mourn_inferior): Likewise.
3709
3710 2014-05-21 Doug Evans <xdje42@gmail.com>
3711
3712 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
3713
3714 2014-05-21 Doug Evans <xdje42@gmail.com>
3715
3716 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
3717 (gdbscm_out_of_range_error): Ditto.
3718 (gdbscm_memory_error): Ditto.
3719 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3720 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
3721 (gdbscm_out_of_range_error): Update.
3722 (gdbscm_memory_error): Update.
3723 (gdbscm_scm_to_target_string_unsafe): Delete.
3724
3725 2014-05-21 Pedro Alves <palves@redhat.com>
3726
3727 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3728 globals.
3729 (inf_child_open_target): New function.
3730 (inf_child_open): Use inf_child_open_target to push the target
3731 instead of erroring out.
3732 (inf_child_disconnect, inf_child_close)
3733 (inf_child_maybe_unpush_target): New functions.
3734 (inf_child_target): Install inf_child_disconnect and
3735 inf_child_close. Store a pointer to the returned object.
3736 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
3737 declarations.
3738 * target.c (auto_connect_native_target): New global.
3739 (show_default_run_target): New function.
3740 (find_default_run_target): Return NULL if automatically connecting
3741 to the native target is disabled.
3742 (_initialize_target): Install set/show auto-connect-native-target.
3743 * NEWS: Mention "set auto-connect-native-target", and "target
3744 native".
3745 * linux-nat.c (super_close): New global.
3746 (linux_nat_close): Call super_close.
3747 (linux_nat_add_target): Store a pointer to the base class's
3748 to_close method.
3749 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
3750 inf_child_maybe_unpush.
3751 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
3752 already pushed.
3753 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
3754 the inferior. Use inf_child_maybe_unpush_target.
3755 (inf_ttrace_attach): Don't push the target if it is already
3756 pushed.
3757 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
3758 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
3759 after mourning the inferior. Use inf_child_maybe_unpush_target.
3760 (darwin_attach_pid): Don't push the target if it is already
3761 pushed.
3762 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
3763 mourning the inferior. Use inf_child_maybe_unpush_target.
3764 (gnu_detach): Use inf_child_maybe_unpush_target.
3765 * go32-nat.c (go32_create_inferior): Don't push the target if it
3766 is already pushed.
3767 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
3768 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
3769 (procfs_open): Rename to ...
3770 (procfs_open_1): ... this. Add target_ops parameter. Adjust
3771 comments. Can target_preopen before changing node. Call
3772 inf_child_open_target to push the target explicitly.
3773 (procfs_attach): Don't push the target if it is already pushed.
3774 (procfs_detach): Use inf_child_maybe_unpush_target.
3775 (procfs_create_inferior): Don't push the target if it is already
3776 pushed.
3777 (nto_native_ops): New global.
3778 (procfs_open): Reimplement.
3779 (procfs_native_open): New function.
3780 (init_procfs_targets): Install procfs_native_open as to_open of
3781 "target native". Store a pointer to the "native" target in
3782 nto_native_ops.
3783 * procfs.c (procfs_attach): Don't push the target if it is already
3784 pushed.
3785 (procfs_detach): Use inf_child_maybe_unpush_target.
3786 (procfs_mourn_inferior): Only unpush the target after mourning the
3787 inferior. Use inf_child_maybe_unpush_target.
3788 (procfs_init_inferior): Don't push the target if it is already
3789 pushed.
3790 * windows-nat.c (do_initial_windows_stuff): Don't push the target
3791 if it is already pushed.
3792
3793 2014-05-21 Pedro Alves <palves@redhat.com>
3794
3795 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
3796 and "procfs" targets are now called "native" instead.
3797
3798 2014-05-21 Pedro Alves <palves@redhat.com>
3799
3800 * go32-nat.c (go32_open): Delete.
3801 (go32_target): Don't override the to_open method.
3802
3803 2014-05-21 Pedro Alves <palves@redhat.com>
3804
3805 * nto-procfs.c (procfs_can_run): New function.
3806 (nto_procfs_ops): New global.
3807 (init_procfs_targets): New, based on procfs_target. Install
3808 "target native" in addition to "target procfs".
3809 (_initialize_procfs): Call init_procfs_targets instead of adding
3810 the target here.
3811
3812 2014-05-21 Pedro Alves <palves@redhat.com>
3813
3814 * windows-nat.c (windows_target): Don't override to_shortname,
3815 to_longname or to_doc.
3816
3817 2014-05-21 Pedro Alves <palves@redhat.com>
3818
3819 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
3820 to_doc.
3821
3822 2014-05-21 Pedro Alves <palves@redhat.com>
3823
3824 * darwin-nat.c (_initialize_darwin_inferior): Don't override
3825 to_shortname, to_longname or to_doc.
3826
3827 2014-05-21 Pedro Alves <palves@redhat.com>
3828
3829 * go32-nat.c (go32_target): Don't override to_shortname,
3830 to_longname or to_doc.
3831
3832 2014-05-21 Pedro Alves <palves@redhat.com>
3833
3834 * inf-child.c (inf_child_open): Remove mention of "child".
3835 (inf_child_target): Rename target to "native" instead of "child".
3836
3837 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3838
3839 * Makefile.in (SFILES): Delete "regset.c".
3840 (COMMON_OBS): Delete "regset.o".
3841 * regset.c: Remove.
3842 * regset.h (regset_alloc): Delete prototype.
3843
3844 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3845
3846 * sparc-linux-tdep.c (sparc32_linux_gregset)
3847 (sparc32_linux_fpregset): New static regset structures.
3848 (sparc32_linux_init_abi): Drop dynamic regset allocations.
3849 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
3850 'fpregset' fields.
3851 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
3852 (sparc64_linux_fpregset): New static regset structures.
3853 (sparc64_linux_init_abi): Drop dynamic regset allocations.
3854 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
3855 New static regset structures.
3856 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
3857 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
3858 New static regset structures.
3859 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
3860 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
3861 New static regset structures.
3862 (sparc64obsd_init_abi): Drop dynamic regset allocations.
3863 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
3864 New static regset structures.
3865 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
3866
3867 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3868
3869 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
3870 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
3871 register maps ("regmaps") from "*regset" to "*regmap". Do this
3872 for all regmap types and variables.
3873 * sparc-linux-tdep.c (sparc32_linux_step_trap)
3874 (sparc32_linux_supply_core_gregset)
3875 (sparc32_linux_collect_core_gregset)
3876 (sparc32_linux_supply_core_fpregset)
3877 (sparc32_linux_collect_core_fpregset): Likewise.
3878 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
3879 (sparc_gregmap, sparc_fpregmap): ... these.
3880 (sparc_supply_gregset, sparc_collect_gregset)
3881 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3882 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
3883 (_initialize_sparc_nat): Rename regmaps.
3884 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
3885 (sparc_gregmap, sparc_fpregmap): ... these.
3886 (sparc_supply_gregset, sparc_collect_gregset)
3887 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3888 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
3889 Rename macros to...
3890 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
3891 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
3892 Likewise.
3893 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
3894 Rename to...
3895 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
3896 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
3897 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
3898 regmaps.
3899 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
3900 (sparc32_bsd_fpregset): Rename to...
3901 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
3902 (sparc32_bsd_fpregmap): ... these.
3903 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
3904 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
3905 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
3906 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
3907 (struct sparc_gregmap, struct sparc_fpregmap)
3908 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
3909 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
3910 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
3911 (sparc32_supply_regset, sparc32_collect_gregset)
3912 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
3913 prototypes.
3914 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
3915 (sparc64_linux_ptrace_gregmap): ... this.
3916 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
3917 (_initialize_sparc64_linux_nat): Rename regmaps.
3918 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
3919 (sparc64_linux_core_gregmap): ... this.
3920 (sparc64_linux_supply_core_gregset)
3921 (sparc64_linux_collect_core_gregset)
3922 (sparc64_linux_supply_core_fpregset)
3923 (sparc64_linux_collect_core_fpregset): Rename regmaps.
3924 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
3925 (sparc64_sol2_fpregset): Rename to...
3926 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
3927 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
3928 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
3929 regmaps.
3930 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
3931 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
3932 (sparc64_bsd_fpregset): Rename to...
3933 (struct sparc_gregmap, sparc64_sol2_gregmap)
3934 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
3935 (sparc64_bsd_fpregmap): ... these.
3936 (sparc64_supply_gregset, sparc64_collect_gregset)
3937 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
3938 prototypes.
3939 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
3940 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
3941 (sparc64fbsd_gregmap): ... this.
3942 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
3943 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
3944 Rename regmaps.
3945 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
3946 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
3947 (sparc64nbsd_collect_fpregset): Likewise.
3948 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
3949 (sparc64nbsd_gregmap): ... this.
3950 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
3951 regmaps.
3952 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
3953 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
3954 (sparc64obsd_gregmap): ... this.
3955 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
3956 regmaps.
3957 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
3958 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
3959 (sparc32nbsd_gregmap): ... this.
3960 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
3961 regmaps.
3962
3963 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3964
3965 * score-tdep.c (score7_linux_gregset): New static regset
3966 structure.
3967 (score7_linux_regset_from_core_section): Remove dynamic regset
3968 allocation.
3969 (score_gdbarch_init): Drop allocation of tdep structure.
3970 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
3971
3972 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3973
3974 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
3975 regset structures.
3976 (am33_regset_from_core_section): Remove dynamic regset
3977 allocations.
3978
3979 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3980
3981 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
3982 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
3983 structures.
3984 (mips_linux_regset_from_core_section): Remove dynamic regset
3985 allocations.
3986 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
3987 'gregset64', 'fpregset', and 'fpregset64'.
3988 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
3989 deleted tdep fields.
3990
3991 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3992
3993 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
3994 regset structures.
3995 (amd64_regset_from_core_section): Remove dynamic regset
3996 allocations.
3997 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
3998 structure.
3999 (amd64obsd_regset_from_core_section): Remove dynamic regset
4000 allocation.
4001 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4002 Likewise.
4003 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4004 x86-common regset supply function.
4005 * i386-tdep.c (i386_collect_gregset): Make static.
4006 (i386_gregset): New global regset structure.
4007 (i386_fpregset, i386_xstateregset): New static regset structures.
4008 (i386_regset_from_core_section): Remove dynamic regset
4009 allocations.
4010 (i386_gdbarch_init): Remove initialization of tdep fields
4011 'gregset', 'fpregset', and 'xstateregset'.
4012 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4013 'fpregset', and 'xstateregset'.
4014 (i386_collect_gregset): Remove prototype.
4015 (i386_gregset): New declaration.
4016 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4017 structure.
4018 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4019 allocation.
4020
4021 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4022
4023 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4024 (arm_linux_vfpregset): New static regset structures.
4025 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4026 regset structures.
4027 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4028 and 'vfpregset' fields.
4029
4030 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4031
4032 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4033 (aarch64_linux_fpregset): New static regset structures.
4034 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4035 of regset structures.
4036 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4037 'fpregset' fields.
4038
4039 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4040
4041 * regset.h (struct regset): Remove gdbarch field.
4042 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4043 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4044 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4045 Likewise.
4046 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4047 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4048 (ppc32_linux_vsxregset): Likewise.
4049 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4050 via the regcache instead of the regset.
4051 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4052 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4053 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4054 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4055 Likewise.
4056
4057 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4058
4059 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4060 Constify structures.
4061 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4062 (alphanbsd_aout_gregset): Likewise.
4063 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4064 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4065 Likewise.
4066 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4067 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4068 Likewise.
4069 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4070 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4071 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4072 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4073 * m88k-tdep.c (m88k_gregset): Likewise.
4074 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4075 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4076 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4077 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4078 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4079 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4080 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4081 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4082 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4083 Likewise.
4084 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4085 * sh-tdep.h (sh_corefile_gregset): Likewise.
4086 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4087 * vax-tdep.c (vax_gregset): Likewise.
4088
4089 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4090
4091 Fix TLS access for -static -pthread.
4092 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4093 (try_thread_db_load_1): Initialize it.
4094 (thread_db_get_thread_local_address): Call it if LM is zero.
4095 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4096 * target.h (struct target_ops) (to_get_thread_local_address): Add
4097 load_module_addr comment.
4098
4099 2014-05-21 Pedro Alves <palves@redhat.com>
4100
4101 * dcache.c (dcache_read_memory_partial): If reading the cache line
4102 fails, fallback to reading just the memory the caller wanted.
4103
4104 2014-05-20 Doug Evans <dje@google.com>
4105
4106 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4107 instead of get_current_arch.
4108
4109 2014-05-20 Pedro Alves <palves@redhat.com>
4110
4111 * NEWS: Mention that compare-sections now works with all targets.
4112
4113 * remote.c (PACKET_qCRC): New enum value.
4114 (remote_verify_memory): Don't send qCRC if the target has no
4115 execution. Use packet_support/packet_ok. If the target doesn't
4116 support the qCRC packet, fallback to a deep memory copy.
4117 (compare_sections_command): Say "target image" instead of "remote
4118 executable".
4119 (_initialize_remote): Add PACKET_qCRC to the list of config
4120 packets that have no associated command. Extend comment.
4121 * target.c (simple_verify_memory, default_verify_memory): New
4122 function.
4123 * target.h (struct target_ops) <to_verify_memory>: Default to
4124 default_verify_memory.
4125 (simple_verify_memory): New declaration.
4126 * target-delegates.c: Regenerate.
4127
4128 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4129
4130 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4131
4132 2014-05-20 Hui Zhu <hui@codesourcery.com>
4133 Yao Qi <yao@codesourcery.com>
4134
4135 PR backtrace/16558
4136 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4137 and change address of sp and pc.
4138
4139 2014-05-19 Tom Tromey <tromey@redhat.com>
4140
4141 * gdbtypes.c (rank_function): Use XNEWVEC.
4142 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4143
4144 2014-05-19 Doug Evans <dje@google.com>
4145
4146 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4147 build_type_unit_groups and moved closer to only caller. Remove
4148 arguments. All references updated. Remove outdated .gdb_index
4149 comment.
4150 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4151 build_type_psymtabs_1.
4152
4153 2014-05-19 Doug Evans <dje@google.com>
4154
4155 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4156 n_type_unit_groups, all_type_unit_groups. All uses removed.
4157 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4158 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4159 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4160 (add_type_unit_group_to_table): Delete.
4161
4162 2014-05-19 Doug Evans <dje@google.com>
4163
4164 * eval.c (evaluate_subexp_standard): Add some comments.
4165
4166 2014-05-17 Doug Evans <xdje42@gmail.com>
4167
4168 * progspace.c (remove_program_space): Delete, unused.
4169 * progspace.h (remove_program_space): Ditto.
4170
4171 2014-05-17 Doug Evans <xdje42@gmail.com>
4172
4173 * inferior.c (prune_inferiors): Fix comment.
4174 (remove_inferior_command): Call prune_program_spaces.
4175
4176 2014-05-16 Doug Evans <dje@google.com>
4177
4178 New command line option -D.
4179 * NEWS: Mention it.
4180 * main.c (set_gdb_data_directory): New function.
4181 (captured_main): Recognize -D. Flag error for --data-directory "".
4182 Call set_gdb_data_directory.
4183 (print_gdb_help): Print --data-directory, -D.
4184 * main.h (set_gdb_data_directory): Declare.
4185 * top.c (staged_gdb_datadir): New static global.
4186 (set_gdb_datadir): Call set_gdb_data_directory
4187 (show_gdb_datadir): New function.
4188 (init_main): Update init of data-directory parameter.
4189
4190 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4191
4192 Import the "dirfd" gnulib module.
4193 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4194 * gnulib/aclocal.m4: Update.
4195 * gnulib/config.in: Update.
4196 * gnulib/configure: Update.
4197 * gnulib/import/Makefile.am: Update.
4198 * gnulib/import/Makefile.in: Update.
4199 * gnulib/import/dirfd.c: New.
4200 * gnulib/import/m4/dirfd.m4: New.
4201 * gnulib/import/m4/gnulib-cache.m4: Update.
4202 * gnulib/import/m4/gnulib-comp.m4: Update.
4203
4204 2014-05-16 Pierre Muller <muller@sourceware.org>
4205 Yao Qi <yao@codesourcery.com>
4206
4207 * valprint.c (print_wchar): Move the code on checking whether
4208 W is a printable wide char to the default branch of switch
4209 statement below. Call wchar_printable instead of gdb_iswprint.
4210
4211 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4212
4213 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
4214 ldr.w and ldrd instructions.
4215
4216 2014-05-15 Doug Evans <dje@google.com>
4217
4218 * dwarf2read.c (read_structure_type): Delete outdated comments.
4219
4220 2014-05-14 Tom Tromey <tromey@redhat.com>
4221
4222 * macrocmd.c (print_macro_definition): Reindent.
4223
4224 2014-05-13 Doug Evans <xdje42@gmail.com>
4225
4226 * python/py-cmd.c (cmdpy_completer): Add comment.
4227 (completers): Make const.
4228
4229 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4230
4231 * infrun.c (resume): Remove should_resume (unused). Move up
4232 declaration of resume_ptid.
4233
4234 2014-05-13 Tom Tromey <tromey@redhat.com>
4235
4236 * language.h (unop_type_check): Remove.
4237 (binop_type_check): Don't declare.
4238
4239 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4240
4241 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4242 call to regcache_raw_collect.
4243
4244 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4245
4246 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4247 mi_console->quote as the quoting character.
4248
4249 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4250
4251 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4252
4253 2014-04-29 Tom Tromey <tromey@redhat.com>
4254
4255 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4256 "show debug varobj".
4257
4258 2014-05-07 Kyle McMartin <kyle@redhat.com>
4259
4260 Pushed by Joel Brobecker <brobecker@adacore.com>.
4261 * aarch64-tdep.c (aarch64_software_single_step): New function.
4262 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4263 with aarch64_software_single_step.
4264
4265 2014-05-05 Joel Brobecker <brobecker@adacore.com>
4266
4267 GDB 7.7.1 released.
4268
4269 2014-05-05 Keith Seitz <keiths@redhat.com>
4270
4271 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4272 variable or history value is successfully parsed.
4273
4274 2014-05-05 Yao Qi <yao@codesourcery.com>
4275 Pedro Alves <palves@redhat.com>
4276
4277 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4278 address of blocks that intersects the requested range. Trim
4279 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4280 sections.
4281 * ctf.c (ctf_xfer_partial): Likewise.
4282
4283 2014-05-05 Yao Qi <yao@codesourcery.com>
4284
4285 * printcmd.c (display_command): Remove the check to
4286 target_has_execution.
4287
4288 2014-05-03 Mark Kettenis <kettenis@gnu.org>
4289
4290 * ppcobsd-nat.c: Include "obsd-nat.h".
4291 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4292 add_target.
4293 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4294
4295 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4296
4297 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4298 and 16-bit signed and unsigned arguments. Update comment.
4299 (stap_parse_probe_arguments): Extend code to handle such
4300 arguments. Use warning instead of complaint to notify about
4301 unrecognized bitness.
4302
4303 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4304
4305 PR breakpoints/16889
4306 * stap-probe.c (stap_parse_probe_arguments): Simplify
4307 check for non-prefixed probes (i.e., probes whose
4308 arguments do not start with "N@"). Always set the
4309 argument type to a sane value.
4310
4311 2014-05-01 David Taylor <dtaylor@emc.com>
4312
4313 * remote.c (compare_sections_command): Add -r option to compare
4314 all loadable read-only sections.
4315
4316 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4317
4318 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4319 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4320 Update all callers.
4321 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4322 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4323 Remove unused CORE_ADDR argument. Update all callers.
4324
4325 2014-04-29 Pedro Alves <palves@redhat.com>
4326
4327 * remote.c (struct packet_config) <detect>: Extend comment.
4328 (add_packet_config_cmd): Don't set the config's detect or support
4329 fields here.
4330 (init_all_packet_configs): Also initialize the config's 'detect'
4331 field.
4332 (reset_all_packet_configs_support): New function.
4333 (remote_open_1): Call reset_all_packet_configs_support instead of
4334 init_all_packet_configs.
4335 (_initialize_remote): Initialize all packet configs. Assert that
4336 all packets have an associated command, except a few known
4337 outliers.
4338
4339 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4340
4341 * dwarf2read.c (read_subrange_type): Handle dynamic
4342 DW_AT_lower_bound attributes.
4343
4344 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4345
4346 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4347 dynamic bounds before computing its upper bound.
4348 (ada_discrete_type_low_bound): Same as above with the lower bound.
4349
4350 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4351
4352 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4353 range types. Adjust the array handling implementation to
4354 take advantage of this change.
4355 (resolve_dynamic_range): New function, mostly extracted from
4356 resolve_dynamic_bounds.
4357 (resolve_dynamic_array): New function, mostly extracted from
4358 resolve_dynamic_bounds.
4359 (resolve_dynamic_bounds): Delete.
4360 (resolve_dynamic_type): Reimplement. Add handling of
4361 TYPE_CODE_RANGE types.
4362
4363 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4364
4365 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4366 handling of parallel ___XA types.
4367
4368 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4369
4370 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4371 unnecessary second call to static_unwrap_type.
4372
4373 2014-04-27 Hui Zhu <hui@codesourcery.com>
4374
4375 * stack.c (print_frame_info): Call do_gdb_disassembly with
4376 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4377
4378 2014-04-26 Doug Evans <xdje42@gmail.com>
4379
4380 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4381
4382 2014-04-25 Pedro Alves <palves@redhat.com>
4383
4384 PR server/16255
4385 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4386 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4387 and newline from built string.
4388 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4389 (linux_ptrace_attach_fail_reason): ... this.
4390 * linux-nat.c (linux_nat_attach): Adjust to use
4391 linux_ptrace_attach_fail_reason.
4392
4393 2014-04-25 Pedro Alves <palves@redhat.com>
4394
4395 * remote.c (struct remote_state): Remove multi_process_aware,
4396 non_stop_aware, cond_tracepoints, cond_breakpoints,
4397 breakpoint_commands, fast_tracepoints, static_tracepoints,
4398 install_in_trace, disconnected_tracing,
4399 enable_disable_tracepoints, string_tracing, and
4400 augmented_libraries_svr4_read fields.
4401 (remote_multi_process_p): Move further below in the file.
4402 (struct packet_config): Add comments.
4403 (update_packet_config): Delete function.
4404 (show_packet_config_cmd): Use packet_config_support.
4405 (add_packet_config_cmd): Use NULL as set callback.
4406 (packet_ok): "set remote foo-packet"-style commands no longer
4407 change config->supported -- adjust.
4408 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4409 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4410 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4411 (PACKET_QNonStop, PACKET_multiprocess_feature)
4412 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4413 (PACKET_DisconnectedTracing_feature)
4414 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4415 (set_remote_protocol_packet_cmd): Delete function.
4416 (packet_config_support, packet_support): New functions.
4417 (set_remote_protocol_Z_packet_cmd): Don't call
4418 update_packet_config.
4419 (remote_query_attached, remote_pass_signals)
4420 (remote_program_signals, remote_threads_info)
4421 (remote_threads_extra_info, remote_start_remote): Use
4422 packet_support.
4423 (remote_start_remote): Use packet_config_support and
4424 packet_support.
4425 (init_all_packet_configs): Set all packets to unknown support,
4426 instead of calling update_packet_config.
4427 (remote_check_symbols): Use packet_support.
4428 (remote_supported_packet): Unconditionally set the packet config's
4429 support status.
4430 (remote_multi_process_feature, remote_non_stop_feature)
4431 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4432 (remote_breakpoint_commands_feature)
4433 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4434 (remote_install_in_trace_feature)
4435 (remote_disconnected_tracing_feature)
4436 (remote_enable_disable_tracepoint_feature)
4437 (remote_string_tracing_feature)
4438 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4439 (remote_protocol_features): Adjust to use remote_supported_packet
4440 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4441 "ConditionalTracepoints", "ConditionalBreakpoints",
4442 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4443 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4444 "EnableDisableTracepoints", and "tracenz".
4445 (remote_query_supported): Use packet_support.
4446 (remote_open_1): Adjust.
4447 (extended_remote_attach_1): Use packet_support. Switch on the
4448 result of packet_ok instead of checking whether the packet ended
4449 up disabled.
4450 (remote_vcont_resume): Use packet_support.
4451 (remote_resume, remote_stop_ns, fetch_register_using_p)
4452 (remote_prepare_to_store, store_register_using_P)
4453 (check_binary_download, remote_write_bytes): Use packet_support.
4454 (remote_vkill): Use packet_support. Switch on the result of
4455 packet_ok instead of checking whether the packet ended up
4456 disabled.
4457 (extended_remote_supports_disable_randomization): Use
4458 packet_support.
4459 (extended_remote_run): Switch on the result of packet_ok instead
4460 of checking whether the packet ended up disabled.
4461 (remote_insert_breakpoint, remote_remove_breakpoint)
4462 (remote_insert_watchpoint, remote_remove_watchpoint)
4463 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4464 packet_support.
4465 (remote_search_memory): Use packet_config_support.
4466 (remote_get_thread_local_address, remote_get_tib_address)
4467 (remote_hostio_send_command, remote_can_execute_reverse): Use
4468 packet_support.
4469 (remote_supports_cond_tracepoints)
4470 (remote_supports_cond_breakpoints)
4471 (remote_supports_fast_tracepoints)
4472 (remote_supports_static_tracepoints)
4473 (remote_supports_install_in_trace)
4474 (remote_supports_enable_disable_tracepoint)
4475 (remote_supports_string_tracing)
4476 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4477 the packet config says the feature is enabled or disabled.
4478 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4479 (remote_get_trace_status): Use packet_support.
4480 (remote_set_disconnected_tracing): Adjust to check whether the
4481 feature is enabled with packet_support.
4482 (remote_set_trace_buffer_size, remote_use_agent)
4483 (remote_can_use_agent, remote_supports_btrace): Use
4484 packet_support.
4485 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4486 Use packet_config_support.
4487 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4488 the packet config says the feature is enabled or disabled.
4489 (set_range_stepping): Use packet_support.
4490
4491 2014-04-25 Tom Tromey <tromey@redhat.com>
4492
4493 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4494 argument.
4495
4496 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4497
4498 * NEWS: Mention support for C99 variable length arrays.
4499
4500 2014-04-24 Joel Brobecker <brobecker@adacore.com>
4501
4502 * ada-lang.c (standard_exc): Expand introductory comment.
4503
4504 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4505 Walfred Tedeschi <walfred.tedeschi@intel.com>
4506
4507 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4508 AVX512 registers.
4509 (amd64_linux_read_description): Add code to handle AVX512 xstate
4510 mask and return respective tdesc.
4511 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4512 and features/i386/x32-avx512-linux.c.
4513 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4514 (amd64_linux_core_read_description): Add code to handle AVX512
4515 xstate mask and return respective tdesc.
4516 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4517 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4518 calculation.
4519 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4520 (tdesc_amd64_avx512_linux): New prototype.
4521 (tdesc_x32_avx512_linux): Likewise.
4522 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4523 features/i386/x32-avx512.c.
4524 (amd64_ymm_avx512_names): New register names for pseudo
4525 registers YMM16-31.
4526 (amd64_ymmh_avx512_names): New register names for raw registers
4527 YMMH16-31.
4528 (amd64_k_names): New register names for K registers.
4529 (amd64_zmmh_names): New register names for ZMM raw registers.
4530 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4531 (amd64_xmm_avx512_names): New register names for XMM16-31
4532 registers.
4533 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4534 registers.
4535 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4536 if feature is present.
4537 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4538 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4539 (AMD64_NUM_REGS): Adjust to new number of registers.
4540 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4541 registers supplied via XSTATE by AVX512 registers.
4542 (i386_linux_read_description): Add case for AVX512.
4543 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4544 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4545 (i386_linux_core_read_description): Add case for AVX512.
4546 (i386_linux_init_abi): Install supported register note section
4547 for AVX512.
4548 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4549 AVX512.
4550 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4551 registers to be number of zmm7h + 1.
4552 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4553 * i386-tdep.c: Include features/i386/i386-avx512.c.
4554 (i386_zmm_names): Add ZMM pseudo register names array.
4555 (i386_zmmh_names): Add ZMM raw register names array.
4556 (i386_k_names): Add K raw register names array.
4557 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4558 registers. AVX512 has 16 more ZMM registers than there are YMM
4559 registers.
4560 (i386_zmmh_regnum_p): Add function to look up register number of
4561 ZMM raw registers.
4562 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4563 (i386_k_regnum_p): Likewise for K raw registers.
4564 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4565 registers added by AVX512.
4566 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4567 registers added by AVX512.
4568 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4569 added by AVX512.
4570 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4571 (i386_pseudo_register_name): Add ZMM pseudo registers.
4572 (i386_zmm_type): Construct and return vector registers type for ZMM
4573 registers.
4574 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4575 ZMM0-31 pseudo registers and K registers.
4576 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4577 and YMM16-31 registers from register cache.
4578 (i386_pseudo_register_write): Add code to write K, ZMM and
4579 YMM16-31 registers.
4580 (i386_register_reggroup_p): Add code to include/exclude AVX512
4581 registers in/from respective register groups.
4582 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4583 registers if feature is present in xcr0.
4584 (i386_gdbarch_init): Add code to initialize AVX512 feature
4585 variables in tdep structure, wire in pseudo registers and call
4586 initialize_tdesc_i386_avx512.
4587 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4588 variables.
4589 (i386_regnum): Add AVX512 registers.
4590 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4591 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4592 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4593 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4594 512 bits wide.
4595 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4596 (i386_ymm_avx512_regnum_p): Likewise.
4597 (i386_k_regnum_p): Likewise.
4598 (i386_zmm_regnum_p): Likewise.
4599 (i386_zmmh_regnum_p): Likewise.
4600 * i387-tdep.c : Update year in copyright notice.
4601 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4602 XSAVE buffer.
4603 (XSAVE_YMM_AVX512_ADDR): New macro.
4604 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4605 XSAVE buffer.
4606 (XSAVE_XMM_AVX512_ADDR): New macro.
4607 (xsave_avx512_k_offset): New table for K register offsets in
4608 XSAVE buffer.
4609 (XSAVE_AVX512_K_ADDR): New macro.
4610 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4611 in XSAVE buffer.
4612 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4613 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4614 buffer.
4615 (i387_collect_xsave): Add code to collect AVX512 registers from
4616 XSAVE buffer.
4617 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4618 of XMM16-31 registers.
4619 (I387_NUM_K_REGS): New define for number of K registers.
4620 (I387_K0_REGNUM): New define for K0 register number.
4621 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4622 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4623 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4624 registers.
4625 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4626 (I387_XMM16_REGNUM): New define for XMM16 register number.
4627 (I387_YMM0_REGNUM): New define for YMM0 register number.
4628 (I387_KEND_REGNUM): New define for last K register number.
4629 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4630 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4631 number.
4632 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4633 number.
4634 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4635 size.
4636 * features/Makefile: Add AVX512 related files.
4637 * features/i386/32bit-avx512.xml: New file.
4638 * features/i386/64bit-avx512.xml: Likewise.
4639 * features/i386/amd64-avx512-linux.c: Likewise.
4640 * features/i386/amd64-avx512-linux.xml: Likewise.
4641 * features/i386/amd64-avx512.c: Likewise.
4642 * features/i386/amd64-avx512.xml: Likewise.
4643 * features/i386/i386-avx512-linux.c: Likewise.
4644 * features/i386/i386-avx512-linux.xml: Likewise.
4645 * features/i386/i386-avx512.c: Likewise.
4646 * features/i386/i386-avx512.xml: Likewise.
4647 * features/i386/x32-avx512-linux.c: Likewise.
4648 * features/i386/x32-avx512-linux.xml: Likewise.
4649 * features/i386/x32-avx512.c: Likewise.
4650 * features/i386/x32-avx512.xml: Likewise.
4651 * regformats/i386/amd64-avx512-linux.dat: New file.
4652 * regformats/i386/amd64-avx512.dat: Likewise.
4653 * regformats/i386/i386-avx512-linux.dat: Likewise.
4654 * regformats/i386/i386-avx512.dat: Likewise.
4655 * regformats/i386/x32-avx512-linux.dat: Likewise.
4656 * regformats/i386/x32-avx512.dat: Likewise.
4657 * NEWS: Add note about new support for AVX512.
4658
4659
4660 2014-04-23 Pedro Alves <palves@redhat.com>
4661
4662 * breakpoint.c (insert_bp_location): Tolerate errors if the
4663 breakpoint is set in a user-loaded objfile.
4664 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4665 location is marked shlib_disabled. If the breakpoint is set in a
4666 user-loaded objfile is a GDB-side memory breakpoint, validate it
4667 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4668 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4669 flag.
4670 * mem-break.c (memory_validate_breakpoint): New function.
4671 * objfiles.c (userloaded_objfile_contains_address_p): New
4672 function.
4673 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4674 * target.h (memory_validate_breakpoint): New declaration.
4675
4676 2014-04-23 Pedro Alves <palves@redhat.com>
4677
4678 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4679 the breakpoint is set in a shared library, only suppress
4680 errors for software breakpoints, not hardware breakpoints.
4681
4682 2014-04-22 Pedro Alves <palves@redhat.com>
4683
4684 * infrun.c (schedlock_applies): New function, factored out from
4685 find_thread_needs_step_over.
4686 (find_thread_needs_step_over): Use it.
4687 (switch_back_to_stepped_thread): Always clear trap_expected if the
4688 step over is finished. Return early if scheduler locking applies.
4689 Look for the stepping thread and a potential step-over thread with
4690 a single loop.
4691 (currently_stepping_or_nexting_callback): Delete.
4692
4693 2014-04-22 Nick Clifton <nickc@redhat.com>
4694
4695 * NEWS: Mention that ARM sim now supports tracing.
4696
4697 2014-04-22 Yao Qi <yao@codesourcery.com>
4698
4699 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4700 to ...
4701 * tracefile.c (tracefile_fetch_registers): ... it. New
4702 function.
4703 * tracefile.h (tracefile_fetch_registers): Declare.
4704 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4705 tracefile_fetch_registers.
4706
4707 2014-04-19 Eli Zaretskii <eliz@gnu.org>
4708
4709 PR gdb/14018
4710 * windows-nat.c (thread_rec): Don't display a warning when
4711 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4712 fails for any reason, set th->suspended to -1, so that we don't
4713 try to resume such a thread. Also, don't return NULL in these
4714 cases, to avoid completely ruin the session due to "PC register is
4715 not available" error.
4716 (do_windows_fetch_inferior_registers): Check errors in
4717 GetThreadContext call.
4718 (windows_continue): Accept an additional argument KILLED; if not
4719 zero, ignore errors in the SetThreadContext call, since the
4720 inferior was killed and is shutting down.
4721 (windows_resume, get_windows_debug_event)
4722 (windows_create_inferior, windows_mourn_inferior)
4723 (windows_kill_inferior): All callers of windows_continue changed
4724 to adjust to its new calling sequence.
4725
4726 2014-04-19 Yao Qi <yao@codesourcery.com>
4727
4728 * ctf.c (ctf_open): Call post_create_inferior.
4729
4730 2014-04-19 Yao Qi <yao@codesourcery.com>
4731
4732 * ctf.c (handle_id): New static variable.
4733 (ctf_open_dir): Get handle_id from bt_context_add_trace return
4734 value. Get the declaration of event "register" and get length
4735 of field "contents".
4736
4737 2014-04-19 Yao Qi <yao@codesourcery.com>
4738
4739 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
4740
4741 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
4742
4743 * valops.c (oload_method_static): Remove unnecessary argument
4744 METHOD. Update all callers.
4745
4746 2014-04-18 Pedro alves <palves@redhat.com>
4747 Tom Tromey <tromey@redhat.com>
4748
4749 PR backtrace/15558
4750 * frame.c (get_prev_frame_1): Rename to ...
4751 (get_prev_frame_always): ... this, and make extern. Adjust.
4752 (skip_artificial_frames): Use get_prev_frame_always.
4753 (frame_unwind_caller_id, frame_pop, get_prev_frame)
4754 (get_frame_unwind_stop_reason): Adjust to rename.
4755 * frame.h (get_prev_frame_always): Declare.
4756 * inline-frame.c: Include frame.h.
4757 (inline_frame_this_id): Use get_prev_frame_always.
4758
4759 2014-04-18 Tristan Gingold <gingold@adacore.com>
4760
4761 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
4762 code by using bfd_mach_o_get_base_address.
4763
4764 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4765
4766 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
4767 (spu_ax_pseudo_register_collect): New function.
4768 (spu_ax_pseudo_register_push_stack): Likewise.
4769 (spu_dwarf_reg_to_regnum): Likewise.
4770 (spu_gdbarch_init): Install them. Append DWARF unwinders.
4771
4772 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4773
4774 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4775 Replace FRAME argument with FRAME_ID.
4776 * gdbarch.c, gdbarch.h: Regenerate.
4777 * findvar.c (default_value_from_register): Add GDBARCH argument;
4778 replace FRAME by FRAME_ID. No longer call get_frame_id.
4779 (value_from_register): Update call to gdbarch_value_from_register.
4780 * value.h (default_value_from_register): Update prototype.
4781 * s390-linux-tdep.c (s390_value_from_register): Update interface
4782 and call to default_value_from_register.
4783 * spu-tdep.c (spu_value_from_register): Likewise.
4784
4785 * findvar.c (address_from_register): Remove TYPE argument.
4786 Do not call value_from_register; use gdbarch_value_from_register
4787 with null_frame_id instead.
4788 * value.h (address_from_register): Update prototype.
4789 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
4790 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
4791 address_from_register interface change.
4792
4793 2014-04-17 Yao Qi <yao@codesourcery.com>
4794
4795 * gdbtypes.h: Update comments to link to types and macros'
4796 definitions.
4797
4798 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
4799
4800 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
4801
4802 2014-04-16 Keith Seitz <keiths@redhat.com>
4803
4804 PR gdb/15827
4805 * dwarf2read.c (skip_one_die): Check that all relative-offset
4806 sibling DIEs fall within range of the current reader's buffer.
4807 (read_partial_die): Likewise.
4808
4809 2014-04-16 Keith Seitz <keiths@redhat.com>
4810
4811 PR c++/16597
4812 * cp-namespace.c (lookup_symbol_file): If the type name of
4813 `this' is NULL, return immediately.
4814
4815 2014-04-14 Keith Seitz <keiths@redhat.com>
4816
4817 PR c++/16253
4818 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4819 from symbol_matches_domain in symtab.c. All local callers
4820 of symbol_matches_domain updated.
4821 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4822 search STRUCT_DOMAIN.
4823 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4824 independently. standard_lookup will do that automatically.
4825 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4826 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4827 (cp_lookup_symbol_in_namespace): Likewise.
4828 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4829 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4830 may return a STRUCT_DOMAIN match.
4831 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4832 * cp-support.c: Include language.h.
4833 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4834 VAR_DOMAIN.
4835 * psymtab.c (match_partial_symbol): Compare the requested
4836 domain with the symbol's domain directly.
4837 (lookup_partial_symbol): Likewise.
4838 * symtab.c (lookup_symbol_in_language): Explain when/why
4839 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4840 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4841 appropriate languages.
4842 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4843 and moved to ada-lang.c
4844 (lookup_block_symbol): Explain that this function only returns
4845 symbol matching the requested DOMAIN.
4846 Compare the requested domain with the symbol's domain directly.
4847 (iterate_over_symbols): Compare the requested domain with the
4848 symbol's domain directly.
4849 * symtab.h (symbol_matches_domain): Remove.
4850
4851 2014-04-14 Tom Tromey <tromey@redhat.com>
4852
4853 PR c++/15246:
4854 * c-exp.y (type_aggregate_p): New function.
4855 (qualified_name, classify_inner_name): Use it.
4856 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
4857 and TYPE_TARGET_TYPE of an enum type.
4858 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
4859 an enum type.
4860 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
4861 handle TYPE_DECLARED_CLASS.
4862 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
4863 types.
4864 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
4865 * valops.c (enum_constant_from_type): New function.
4866 (value_aggregate_elt): Use it.
4867 * cp-namespace.c (cp_lookup_nested_symbol): Handle
4868 TYPE_CODE_ENUM.
4869
4870 2014-04-14 Tom Tromey <tromey@redhat.com>
4871
4872 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
4873 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
4874 const.
4875 * value.h (value_aggregate_elt): Update.
4876
4877 2014-04-14 Tom Tromey <tromey@redhat.com>
4878
4879 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
4880
4881 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4882
4883 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
4884 (evaluate_subexp_standard): Pass noside argument.
4885 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
4886 if noside equals EVAL_NORMAL. If the subscript yields a vla type
4887 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
4888 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
4889 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
4890
4891 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4892
4893 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
4894 points to a constant blob.
4895
4896 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4897
4898 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
4899 property and store it as the high bound and flag the range accordingly.
4900 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
4901 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
4902 * gdbtypes.h (enum range_flags): New enum.
4903 (struct range_bounds): Add flags member.
4904
4905 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4906
4907 * c-typeprint.c (c_type_print_varspec_suffix): Added
4908 check for not yet resolved high bound. If unresolved, print
4909 "variable length" string to the console instead of random
4910 length.
4911
4912 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4913
4914 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
4915 value.
4916 (ada_template_to_fixed_record_type_1): Likewise.
4917 (ada_to_fixed_type_1): Likewise.
4918 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
4919 (cp_print_value): Likewise.
4920 * d-valprint.c (dynamic_array_type): Likewise.
4921 * findvar.c (address_of_variable): Likewise.
4922 * jv-valprint.c (java_value_print): Likewise.
4923 * valops.c (value_ind): Likewise.
4924 * value.c (coerce_ref): Likewise.
4925
4926 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4927
4928 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
4929 value and retrieve the dynamic type size.
4930
4931 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4932
4933 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
4934 passed to sizeof is dynamic evaluate the argument to compute the length.
4935
4936 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4937 Joel Brobecker <brobecker@adacore.com>
4938
4939 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
4940 (dwarf2_evaluate_property): New function.
4941 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
4942 * dwarf2read.c (attr_to_dynamic_prop): New function.
4943 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
4944 attribute.
4945 * gdbtypes.c: Include dwarf2loc.h.
4946 (is_dynamic_type): New function.
4947 (resolve_dynamic_type): New function.
4948 (resolve_dynamic_bounds): New function.
4949 (get_type_length): New function.
4950 (check_typedef): Use get_type_length to compute type length.
4951 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
4952 (TYPE_LOW_BOUND_KIND): New macro.
4953 (is_dynamic_type): New function prototype.
4954 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
4955 to resolve dynamic properties of the type. Update comment.
4956 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
4957
4958 2014-04-14 Richard Henderson <rth@redhat.com>
4959
4960 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
4961
4962 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
4963 Doug Evans <xdje42@gmail.com>
4964
4965 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
4966 dereference TYPE_CODE_REF values.
4967
4968 2014-04-11 Joel Brobecker <brobecker@adacore.com>
4969
4970 Revert the following changes due to regressions:
4971
4972 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
4973 (dwarf2_evaluate_property): New function.
4974 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
4975 * dwarf2read.c (attr_to_dynamic_prop): New function.
4976 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
4977 attribute.
4978 * gdbtypes.c: Include dwarf2loc.h.
4979 (is_dynamic_type): New function.
4980 (resolve_dynamic_type): New function.
4981 (resolve_dynamic_bounds): New function.
4982 (get_type_length): New function.
4983 (check_typedef): Use get_type_length to compute type length.
4984 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
4985 (TYPE_LOW_BOUND_KIND): New macro.
4986 (is_dynamic_type): New function prototype.
4987 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
4988 to resolve dynamic properties of the type. Update comment.
4989 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
4990
4991 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
4992 passed to sizeof is dynamic evaluate the argument to compute the length.
4993
4994 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
4995 value and retrieve the dynamic type size.
4996
4997 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
4998 (ada_template_to_fixed_record_type_1): Likewise.
4999 (ada_to_fixed_type_1): Likewise.
5000 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5001 (cp_print_value): Likewise.
5002 * d-valprint.c (dynamic_array_type): Likewise.
5003 * eval.c (evaluate_subexp_with_coercion): Likewise.
5004 * findvar.c (address_of_variable): Likewise.
5005 * jv-valprint.c (java_value_print): Likewise.
5006 * valops.c (value_ind): Likewise.
5007 * value.c (coerce_ref): Likewise.
5008
5009 * c-typeprint.c (c_type_print_varspec_suffix): Added
5010 check for not yet resolved high bound. If unresolved, print
5011 "variable length" string to the console instead of random
5012 length.
5013
5014 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5015 property and store it as the high bound and flag the range accordingly.
5016 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5017 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5018 * gdbtypes.h (enum range_flags): New enum.
5019 (struct range_bounds): Add flags member.
5020
5021 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5022 points to a constant blob.
5023
5024 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5025 (evaluate_subexp_standard): Pass noside argument.
5026 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5027 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5028 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5029 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5030 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5031
5032 2014-04-11 Keith Seitz <keiths@redhat.com>
5033
5034 PR c++/16675
5035 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5036 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5037 reference types.
5038
5039 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5040
5041 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5042 (evaluate_subexp_standard): Pass noside argument.
5043 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5044 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5045 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5046 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5047 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5048
5049 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5050
5051 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5052 points to a constant blob.
5053
5054 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5055
5056 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5057 property and store it as the high bound and flag the range accordingly.
5058 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5059 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5060 * gdbtypes.h (enum range_flags): New enum.
5061 (struct range_bounds): Add flags member.
5062
5063 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5064
5065 * c-typeprint.c (c_type_print_varspec_suffix): Added
5066 check for not yet resolved high bound. If unresolved, print
5067 "variable length" string to the console instead of random
5068 length.
5069
5070 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5071
5072 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5073 (ada_template_to_fixed_record_type_1): Likewise.
5074 (ada_to_fixed_type_1): Likewise.
5075 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5076 (cp_print_value): Likewise.
5077 * d-valprint.c (dynamic_array_type): Likewise.
5078 * eval.c (evaluate_subexp_with_coercion): Likewise.
5079 * findvar.c (address_of_variable): Likewise.
5080 * jv-valprint.c (java_value_print): Likewise.
5081 * valops.c (value_ind): Likewise.
5082 * value.c (coerce_ref): Likewise.
5083
5084 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5085
5086 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5087 value and retrieve the dynamic type size.
5088
5089 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5090
5091 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5092 passed to sizeof is dynamic evaluate the argument to compute the length.
5093
5094 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5095
5096 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5097 (dwarf2_evaluate_property): New function.
5098 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5099 * dwarf2read.c (attr_to_dynamic_prop): New function.
5100 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5101 attribute.
5102 * gdbtypes.c: Include dwarf2loc.h.
5103 (is_dynamic_type): New function.
5104 (resolve_dynamic_type): New function.
5105 (resolve_dynamic_bounds): New function.
5106 (get_type_length): New function.
5107 (check_typedef): Use get_type_length to compute type length.
5108 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5109 (TYPE_LOW_BOUND_KIND): New macro.
5110 (is_dynamic_type): New function prototype.
5111 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5112 to resolve dynamic properties of the type. Update comment.
5113 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5114
5115 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5116
5117 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5118 declaring high/low bounds and change uses accordingly. Call
5119 create_range_type instead of create_static_range_type.
5120 * gdbtypes.c (create_range_type): New function.
5121 (create_range_type): Convert bounds into struct bound_prop and pass
5122 them to create_range_type.
5123 * gdbtypes.h (struct bound_prop): New struct.
5124 (create_range_type): New function prototype.
5125 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5126 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5127 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5128 part of the bound.
5129 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5130
5131 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5132
5133 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5134 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5135 * ada-lang.c: All uses of create_range_type updated.
5136 * coffread.c: All uses of create_range_type updated.
5137 * dwarf2read.c: All uses of create_range_type updated.
5138 * f-exp.y: All uses of create_range_type updated.
5139 * m2-valprint.c: All uses of create_range_type updated.
5140 * mdebugread.c: All uses of create_range_type updated.
5141 * stabsread.c: All uses of create_range_type updated.
5142 * valops.c: All uses of create_range_type updated.
5143 * valprint.c: All uses of create_range_type updated.
5144
5145 2014-04-10 Pedro Alves <palves@redhat.com>
5146
5147 * breakpoint.c (single_step_breakpoints)
5148 (single_step_gdbarch): Move up in the file.
5149 (one_breakpoint_xfer_memory): New function, factored out from ...
5150 (breakpoint_xfer_memory): ... here. Also process single-step
5151 breakpoints.
5152
5153 2014-04-09 Tristan Gingold <gingold@adacore.com>
5154
5155 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5156 comments.
5157 (darwin_decode_exception_message): Free port only after use.
5158
5159 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5160
5161 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5162 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5163 when setting the size of call_length.
5164
5165 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5166
5167 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5168 dereference TYPE_CODE_REF values.
5169
5170 2014-04-07 Joel Brobecker <brobecker@adacore.com>
5171
5172 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5173 end of warning message.
5174
5175 2014-04-03 Doug Evans <dje@google.com>
5176
5177 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5178 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5179
5180 2014-04-02 Alan Modra <amodra@gmail.com>
5181
5182 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5183 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5184 (struct symbol_file_add_from_memory_args): Add size field.
5185 (find_vdso_size): New function.
5186 (add_vsyscall_page): Attempt to find vdso size.
5187
5188 2014-04-01 Doug Evans <dje@google.com>
5189
5190 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5191
5192 2014-04-01 Tristan Gingold <gingold@adacore.com>
5193
5194 * darwin-nat.c (darwin_encode_reply): Add prototype.
5195 (darwin_decode_exception_message): Reply to unknown inferiors.
5196 (darwin_decode_message): Handle message by id. Ignore message
5197 to unknown inferior.
5198 (darwin_wait): Discard unknown messages, add debug trace.
5199
5200 2014-03-31 Doug Evans <dje@google.com>
5201
5202 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5203 comp_dir_string.
5204
5205 2014-03-31 Doug Evans <dje@google.com>
5206
5207 New option "set print symbol-loading".
5208 * NEWS: Mention it.
5209 * solib.c (solib_read_symbols): Only print symbol loading messages
5210 if requested.
5211 (solib_add): If symbol loading is in "brief" mode, notify user
5212 symbols are being loaded.
5213 (reload_shared_libraries_1): Ditto.
5214 * symfile.c (print_symbol_loading_off): New static global.
5215 (print_symbol_loading_brief): New static global.
5216 (print_symbol_loading_full): New static global.
5217 (print_symbol_loading_enums): New static global.
5218 (print_symbol_loading): New static global.
5219 (print_symbol_loading_p): New function.
5220 (symbol_file_add_with_addrs): Only print symbol loading messages
5221 if requested.
5222 (_initialize_symfile): Register "print symbol-loading" set/show
5223 command.
5224 * symfile.h (print_symbol_loading_p): Declare.
5225
5226 2014-03-30 Doug Evans <xdje42@gmail.com>
5227
5228 * infrun.c (set_last_target_status): New function.
5229 (handle_inferior_event): Call it.
5230
5231 2014-03-30 Doug Evans <xdje42@gmail.com>
5232
5233 * inferior.h (enum stop_kind): Improve comment.
5234
5235 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5236
5237 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5238 a reference, strip the reference layer before calling
5239 the lang_ops value_has_mutated callback.
5240
5241 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5242
5243 Remove some globals from our parser.
5244 * language.c (unk_lang_parser): Add "struct parser_state"
5245 argument.
5246 * language.h (struct language_defn) <la_parser>: Likewise.
5247 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5248 (initialize_expout): Add "struct parser_state" argument.
5249 Rewrite function to use the parser state.
5250 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5251 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5252 write_exp_elt_longcst, write_exp_elt_dblcst,
5253 write_exp_elt_decfloatcst, write_exp_elt_type,
5254 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5255 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5256 write_dollar_variable): Likewise.
5257 (parse_exp_in_context_1): Use parser state.
5258 (insert_type_address_space): Add "struct parser_state" argument.
5259 Use parser state.
5260 (increase_expout_size): New function.
5261 * parser-defs.h: Forward declare "struct language_defn" and
5262 "struct parser_state".
5263 (expout, expout_size, expout_ptr): Remove extern declarations.
5264 (parse_gdbarch, parse_language): Rewrite macro declarations to
5265 accept the parser state.
5266 (struct parser_state): New struct.
5267 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5268 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5269 write_exp_elt_decfloatcst, write_exp_elt_type,
5270 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5271 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5272 write_exp_msymbol, write_dollar_variable,
5273 mark_struct_expression, insert_type_address_space): Add "struct
5274 parser_state" argument.
5275 (increase_expout_size): New function.
5276 * utils.c (do_clear_parser_state): New function.
5277 (make_cleanup_clear_parser_state): Likewise.
5278 * utils.h (make_cleanup_clear_parser_state): New function
5279 prototype.
5280 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5281 Update calls to write_exp* in order to pass the parser state.
5282 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5283 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5284 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5285 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5286 * stap-probe.c (stap_parse_register_operand): Likewise.
5287 (stap_parse_single_operand): Likewise.
5288 (stap_parse_argument_1): Likewise.
5289 (stap_parse_argument): Use parser state.
5290 * stap-probe.h: Include "parser-defs.h".
5291 (struct stap_parse_info) <pstate>: New field.
5292 * c-exp.y (parse_type): Rewrite to use parser state.
5293 (yyparse): Redefine to c_parse_internal.
5294 (pstate): New global variable.
5295 (parse_number): Add "struct parser_state" argument.
5296 (write_destructor_name): Likewise.
5297 (type_exp): Update calls to write_exp* and similars in order to
5298 use parser state.
5299 (exp1, exp, variable, qualified_name, space_identifier,
5300 typename, typebase): Likewise.
5301 (write_destructor_name, parse_number, lex_one_token,
5302 classify_name, classify_inner_name, c_parse): Add "struct
5303 parser_state" argument. Update function to use parser state.
5304 * c-lang.h: Forward declare "struct parser_state".
5305 (c_parse): Add "struct parser_state" argument.
5306 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5307 (yyparse): Redefine macro to ada_parse_internal.
5308 (pstate): New variable.
5309 (write_int, write_object_renaming, write_var_or_type,
5310 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5311 type_int, type_long, type_long_long, type_float, type_double,
5312 type_long_double, type_char, type_boolean, type_system_address):
5313 Add "struct parser_state" argument.
5314 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5315 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5316 var_or_type, aggregate, aggregate_component_list,
5317 positional_list, others, component_group,
5318 component_associations): Update calls to write_exp* and similar
5319 functions in order to use parser state.
5320 (ada_parse, write_var_from_sym, write_int,
5321 write_exp_op_with_string, write_object_renaming,
5322 find_primitive_type, write_selectors, write_ambiguous_var,
5323 write_var_or_type, write_name_assoc, type_int, type_long,
5324 type_long_long, type_float, type_double, type_long_double,
5325 type_char, type_boolean, type_system_address): Add "struct
5326 parser_state" argument. Adjust function to use parser state.
5327 * ada-lang.c (parse): Likewise.
5328 * ada-lang.h: Forward declare "struct parser_state".
5329 (ada_parse): Add "struct parser_state" argument.
5330 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5331 calls to both functions.
5332 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5333 parser state.
5334 (yyparse): Redefine macro to f_parse_internal.
5335 (pstate): New variable.
5336 (parse_number): Add "struct parser_state" argument.
5337 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5338 and similars in order to use parser state.
5339 (parse_number): Adjust code to use parser state.
5340 (yylex): Likewise.
5341 (f_parse): New function.
5342 * f-lang.h: Forward declare "struct parser_state".
5343 (f_parse): Add "struct parser_state" argument.
5344 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5345 parser state.
5346 (yyparse): Redefine macro for java_parse_internal.
5347 (pstate): New variable.
5348 (push_expression_name, push_expression_name, insert_exp): Add
5349 "struct parser_state" argument.
5350 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5351 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5352 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5353 PostIncrementExpression, PostDecrementExpression,
5354 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5355 UnaryExpressionNotPlusMinus, CastExpression,
5356 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5357 RelationalExpression, EqualityExpression, AndExpression,
5358 ExclusiveOrExpression, InclusiveOrExpression,
5359 ConditionalAndExpression, ConditionalOrExpression,
5360 ConditionalExpression, Assignment, LeftHandSide): Update
5361 calls to write_exp* and similars in order to use parser state.
5362 (parse_number): Ajust code to use parser state.
5363 (yylex): Likewise.
5364 (java_parse): New function.
5365 (push_variable): Add "struct parser_state" argument. Adjust
5366 code to user parser state.
5367 (push_fieldnames, push_qualified_expression_name,
5368 push_expression_name, insert_exp): Likewise.
5369 * jv-lang.h: Forward declare "struct parser_state".
5370 (java_parse): Add "struct parser_state" argument.
5371 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5372 parser state.
5373 (yyparse): Redefine macro to m2_parse_internal.
5374 (pstate): New variable.
5375 (type_exp, exp, fblock, variable, type): Update calls to
5376 write_exp* and similars to use parser state.
5377 (yylex): Likewise.
5378 (m2_parse): New function.
5379 * m2-lang.h: Forward declare "struct parser_state".
5380 (m2_parse): Add "struct parser_state" argument.
5381 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5382 * objc-lang.h: Forward declare "struct parser_state".
5383 (end_msglist): Add "struct parser_state" argument.
5384 * p-exp.y (parse_type): Rewrite macro to use parser state.
5385 (yyparse): Redefine macro to pascal_parse_internal.
5386 (pstate): New variable.
5387 (parse_number): Add "struct parser_state" argument.
5388 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5389 write_exp* and similars in order to use parser state.
5390 (parse_number, yylex): Adjust code to use parser state.
5391 (pascal_parse): New function.
5392 * p-lang.h: Forward declare "struct parser_state".
5393 (pascal_parse): Add "struct parser_state" argument.
5394 * go-exp.y (parse_type): Rewrite macro to use parser state.
5395 (yyparse): Redefine macro to go_parse_internal.
5396 (pstate): New variable.
5397 (parse_number): Add "struct parser_state" argument.
5398 (type_exp, exp1, exp, variable, type): Update calls to
5399 write_exp* and similars in order to use parser state.
5400 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5401 to use parser state.
5402 (go_parse): Likewise.
5403 * go-lang.h: Forward declare "struct parser_state".
5404 (go_parse): Add "struct parser_state" argument.
5405
5406 2014-03-27 Doug Evans <dje@google.com>
5407
5408 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5409
5410 2014-03-27 Doug Evans <dje@google.com>
5411
5412 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5413 Remove argument abbrev_section. All callers updated.
5414
5415 2014-03-27 Doug Evans <dje@google.com>
5416
5417 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5418 addr_base, ranges_base.
5419
5420 2014-03-26 Keith Seitz <keiths@redhat.com>
5421
5422 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5423 types, not VAR_DOMAIN.
5424
5425 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5426
5427 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5428 "ra" registers.
5429 * features/nios2-linux.c: Regenerated.
5430 * features/nios2.c: Regenerated.
5431
5432 2014-03-25 Pedro Alves <palves@redhat.com>
5433
5434 * cli/cli-script.c (script_from_file): Force the interpreter to
5435 sync mode.
5436
5437 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5438
5439 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5440 small stack allocation.
5441
5442 2014-03-24 Tristan Gingold <gingold@adacore.com>
5443
5444 * darwin-nat.c (exc_server): Remove unused prototype.
5445 (darwin_dump_message): Correctly display data on x86_64.
5446 (darwin_encode_reply): Fix style.
5447 Add comments and fix indentation.
5448
5449 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5450
5451 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5452
5453 2014-03-22 Doug Evans <xdje42@gmail.com>
5454
5455 * infcmd.c: Whitespace fixes.
5456 (interrupt_command): Merge two function comments into one.
5457
5458 2014-03-22 Doug Evans <xdje42@gmail.com>
5459
5460 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5461 All uses updated.
5462
5463 2014-03-22 Yao Qi <yao@codesourcery.com>
5464
5465 * remote.c (target_read_live_memory): Remove.
5466 (memory_xfer_live_readonly_partial): Rename it to
5467 remote_xfer_live_readonly_partial. Remove argument 'object'.
5468 All callers updated. Call remote_read_bytes_1
5469 instead of target_read_live_memory.
5470 * tracepoint.c (set_traceframe_number): Remove.
5471 (make_cleanup_restore_traceframe_number): Likewise .
5472 * tracepoint.h (set_traceframe_number): Remove declaration.
5473 (make_cleanup_restore_traceframe_number): Likewise.
5474
5475 2014-03-22 Yao Qi <yao@codesourcery.com>
5476
5477 * remote.c (remote_read_bytes): Move code on reading from the
5478 remote stub to ...
5479 (remote_read_bytes_1): ... here. New function.
5480
5481 2014-03-22 Yao Qi <yao@codesourcery.com>
5482
5483 * ctf.c (ctf_xfer_partial): Check the return value of
5484 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5485 return TARGET_XFER_UNAVAILABLE.
5486 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5487 * target.c (target_read_live_memory): Move it to remote.c.
5488 (memory_xfer_live_readonly_partial): Likewise.
5489 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5490 * remote.c (target_read_live_memory): Moved from target.c.
5491 (memory_xfer_live_readonly_partial): Likewise.
5492 (remote_read_bytes): Factored out from
5493 memory_xfer_partial_1.
5494
5495 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5496
5497 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5498 NULL pointer.
5499
5500 2014-03-21 Pedro Alves <palves@redhat.com>
5501
5502 * infrun.c (normal_stop): Extend comment.
5503
5504 2014-03-21 Hui Zhu <hui@codesourcery.com>
5505 Pedro Alves <palves@redhat.com>
5506
5507 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5508 static buffer.
5509 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5510 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5511 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5512
5513 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5514
5515 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5516 `z' formatted output modifier.
5517
5518 2014-03-20 Tom Tromey <tromey@redhat.com>
5519 Sergio Durigan Junior <sergiodj@redhat.com>
5520
5521 * probe.c (parse_probes): Turn assert into an ordinary error.
5522 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5523 exceptions when parsing probes. Rearrange the code for clarity.
5524
5525 2014-03-20 Tom Tromey <tromey@redhat.com>
5526
5527 PR gdb/14135
5528 * top.c (execute_command): Only dispatch events if the command
5529 started the target.
5530
5531 2014-03-20 Tom Tromey <tromey@redhat.com>
5532
5533 PR cli/15718
5534 * infcall.c: Include event-top.h.
5535 (run_inferior_call): Call async_disable_stdin if needed.
5536
5537 2014-03-20 Pedro Alves <palves@redhat.com>
5538
5539 * infrun.c (prepare_to_proceed): Delete.
5540 (thread_still_needs_step_over): New function.
5541 (find_thread_needs_step_over): New function.
5542 (proceed): If the current thread needs a step-over, set its
5543 steping_over_breakpoint flag. Adjust to use
5544 find_thread_needs_step_over instead of prepare_to_proceed.
5545 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5546 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5547 breakpoint.
5548 (switch_back_to_stepped_thread): Step over breakpoints of all
5549 threads not the stepping thread, before switching back to the
5550 stepping thread.
5551
5552 2014-03-20 Pedro Alves <palves@redhat.com>
5553
5554 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5555 extern.
5556 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5557 * infrun.c (saved_singlestep_ptid)
5558 (stepping_past_singlestep_breakpoint): Delete.
5559 (resume): Remove stepping_past_singlestep_breakpoint handling.
5560 (proceed): Store the prev_pc of the stepping thread too.
5561 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5562 singlestep_pc.
5563 (enum infwait_states): Delete infwait_thread_hop_state.
5564 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5565 field.
5566 (handle_inferior_event): Adjust.
5567 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5568 handling and the thread-hop code. Before removing single-step
5569 breakpoints, check whether the thread hit a single-step breakpoint
5570 of another thread. If it did, the trap is not a random signal.
5571 (switch_back_to_stepped_thread): If the event thread hit a
5572 single-step breakpoint, unblock it before switching to the
5573 stepping thread. Handle the case of the stepped thread having
5574 advanced already.
5575 (keep_going): Handle the case of the current thread moving past a
5576 single-step breakpoint.
5577
5578 2014-03-20 Pedro Alves <palves@redhat.com>
5579
5580 PR breakpoints/7143
5581 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5582 are being stepped over.
5583 (breakpoint_address_match): Make extern.
5584 * breakpoint.h (breakpoint_address_match): New declaration.
5585 * inferior.h (stepping_past_instruction_at): New declaration.
5586 * infrun.c (struct step_over_info): New type.
5587 (step_over_info): New global.
5588 (set_step_over_info, clear_step_over_info)
5589 (stepping_past_instruction_at): New functions.
5590 (handle_inferior_event): Clear the step-over info when
5591 trap_expected is cleared.
5592 (resume): Remove now stale comment.
5593 (clear_proceed_status): Clear step-over info.
5594 (proceed): Adjust step-over handling to set or clear the step-over
5595 info instead of removing all breakpoints.
5596 (handle_signal_stop): When setting up a thread-hop, don't remove
5597 breakpoints here.
5598 (stop_stepping): Clear step-over info.
5599 (keep_going): Adjust step-over handling to set or clear step-over
5600 info and then always inserting breakpoints, instead of removing
5601 all breakpoints when stepping over one.
5602
5603 2014-03-20 Pedro Alves <palves@redhat.com>
5604
5605 * infrun.c (previous_inferior_ptid): Adjust comment.
5606 (deferred_step_ptid): Delete.
5607 (infrun_thread_ptid_changed, prepare_to_proceed)
5608 (init_wait_for_inferior): Adjust.
5609 (handle_signal_stop): Delete deferred_step_ptid handling.
5610
5611 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5612
5613 PR gdb/15358
5614 * defs.h (sync_quit_force_run): New declaration.
5615 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5616 * event-top.c (async_sigterm_handler): New declaration.
5617 (async_sigterm_token): New variable.
5618 (async_init_signals): Create also async_sigterm_token.
5619 (async_sigterm_handler): New function.
5620 (sync_quit_force_run): New variable.
5621 (handle_sigterm): Replace quit_force call by other calls.
5622 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5623
5624 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5625
5626 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5627 offset into SPE pseudo registers.
5628
5629 2014-03-18 Pedro Alves <palves@redhat.com>
5630
5631 PR gdb/13860
5632 * inferior.h (print_stop_event): Declare.
5633 * infrun.c (print_stop_event): New, factored out from ...
5634 (normal_stop): ... this.
5635 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5636 of bpstat_print/print_stack_frame.
5637
5638 2014-03-17 Tom Tromey <tromey@redhat.com>
5639
5640 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5641
5642 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5643
5644 * ada-lang.c (decode_constrained_packed_array): Perform a
5645 minimal coercion for reference with coerce_ref instead of
5646 ada_coerce_ref.
5647
5648 2014-03-17 Tristan Gingold <gingold@adacore.com>
5649
5650 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5651 (darwin_solib_create_inferior_hook): Emit a warning if version
5652 is unhandled.
5653
5654 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5655
5656 * python/py-value.c (get_field_flag): Cast flag_name argument to
5657 PyObject_GetAttrString to support Python 2.4.
5658
5659 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5660
5661 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5662 (Global Maintainers): Remove Jan Kratochvil.
5663
5664 2014-03-14 Pedro Alves <palves@redhat.com>
5665
5666 * inferior.h (terminal_ours_for_output): Rename to ...
5667 (child_terminal_ours_for_output): ... this.
5668 (terminal_save_ours): Rename to ...
5669 (child_terminal_save_ours): ... this.
5670 (terminal_ours): Rename to ...
5671 (child_terminal_ours): ... this.
5672 (terminal_inferior): Rename to ...
5673 (child_terminal_inferior): ... this.
5674 (terminal_init_inferior): Rename to ...
5675 (child_terminal_init_inferior): ... this.
5676 (terminal_init_inferior_with_pgrp): Rename to ...
5677 (child_terminal_init_inferior_with_pgrp): ... this.
5678 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5679 (child_terminal_init_with_pgrp): ... this.
5680 (terminal_save_ours): Rename to ...
5681 (child_terminal_save_ours): ... this.
5682 (terminal_init_inferior): Rename to ...
5683 (child_terminal_init): ... this. Adjust.
5684 (terminal_inferior): Rename to ...
5685 (child_terminal_inferior): ... this.
5686 (terminal_ours_for_output): Rename to ...
5687 (child_terminal_ours_for_output): ... this. Adjust.
5688 (terminal_ours): Rename to ...
5689 (child_terminal_ours): ... this.
5690 (terminal_ours_1): Rename to ...
5691 (child_terminal_ours_1): ... this. Adjust.
5692 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5693 * windows-nat.c (do_initial_windows_stuff): Adjust.
5694 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5695 (gnu_terminal_init): ... this. Adjust.
5696 (gnu_target): Adjust.
5697 * inf-child.c (inf_child_target): Adjust.
5698
5699 2014-03-13 Doug Evans <xdje42@gmail.com>
5700
5701 PR guile/16612
5702 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5703 new eq?-hashtab.
5704
5705 2014-03-13 Doug Evans <xdje42@gmail.com>
5706
5707 * value.c (record_latest_value): Call release_value_or_incref
5708 instead of release_value.
5709
5710 2014-03-13 Pedro Alves <palves@redhat.com>
5711
5712 * procfs.c (procfs_target): Don't override to_shortname,
5713 to_longname or to_doc.
5714
5715 2014-03-13 Pedro Alves <palves@redhat.com>
5716
5717 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5718 Unix in user visible strings.
5719
5720 2014-03-12 Stan Shebs <stan@codesourcery.com>
5721
5722 * gdbtypes.h: Annotate comments for Doxygen, add a page
5723 block comment with some general info.
5724
5725 2014-03-12 Pedro Alves <palves@redhat.com>
5726
5727 * infcmd.c (prepare_execution_command): New function, factored out
5728 from several execution commands.
5729 (run_command_1, continue_command, step_1, jump_command)
5730 (signal_command, until_command, advance_command, finish_command)
5731 (attach_command): Use prepare_execution_command.
5732
5733 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
5734
5735 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
5736 (MAX_BPTS): Define.
5737 (MAX_WPTS): Define.
5738 (struct arm_linux_thread_points): Removed.
5739 (struct arm_linux_process_info): New.
5740 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
5741 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
5742 (arm_linux_find_breakpoints_by_tid): Removed.
5743 (struct arch_lwp_info): New.
5744 (arm_linux_find_process_pid): New functions.
5745 (arm_linux_add_process): New functions.
5746 (arm_linux_process_info_get): New functions.
5747 (arm_linux_forget_process): New function.
5748 (arm_linux_get_debug_reg_state): New function.
5749 (struct update_registers_data): New.
5750 (update_registers_callback): New function.
5751 (arm_linux_insert_hw_breakpoint1): Updated.
5752 (arm_linux_remove_hw_breakpoint1): Updated.
5753 (arm_linux_insert_hw_breakpoint): Updated.
5754 (arm_linux_remove_hw_breakpoint): Updated.
5755 (arm_linux_insert_watchpoint): Updated.
5756 (arm_linux_remove_watchpoint): Updated.
5757 (arm_linux_new_thread): Updated.
5758 (arm_linux_prepare_to_resume): New function.
5759 (arm_linux_new_fork): New function.
5760 (_initialize_arm_linux_nat): Updated.
5761
5762 2014-03-12 Pedro Alves <palves@redhat.com>
5763
5764 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
5765
5766 2014-03-12 Tom Tromey <tromey@redhat.com>
5767
5768 * inf-child.c (return_zero): New function.
5769 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
5770 * aix-thread.c (aix_thread_inferior_created): New function.
5771 (aix_thread_attach): Remove.
5772 (init_aix_thread_ops): Don't set to_attach.
5773 (_initialize_aix_thread): Register inferior_created observer.
5774 * corelow.c (init_core_ops): Don't set to_attach or
5775 to_create_inferior.
5776 * exec.c (init_exec_ops): Don't set to_attach or
5777 to_create_inferior.
5778 * infcmd.c (run_command_1): Use find_run_target. Make direct
5779 target calls.
5780 (attach_command): Use find_attach_target. Make direct target
5781 calls.
5782 * record-btrace.c (init_record_btrace_ops): Don't set
5783 to_create_inferior.
5784 * record-full.c (record_full_can_async_p, record_full_is_async_p):
5785 Remove.
5786 (init_record_full_ops, init_record_full_core_ops): Update. Don't
5787 set to_create_inferior.
5788 * target.c (complete_target_initialization): Add assertion.
5789 (target_create_inferior): Remove.
5790 (find_default_attach, find_default_create_inferior): Remove.
5791 (find_attach_target, find_run_target): New functions.
5792 (find_default_is_async_p, find_default_can_async_p)
5793 (target_supports_non_stop, target_attach): Remove.
5794 (init_dummy_target): Don't set to_create_inferior or
5795 to_supports_non_stop.
5796 * target.h (struct target_ops) <to_attach>: Add comment. Remove
5797 TARGET_DEFAULT_FUNC.
5798 <to_create_inferior>: Add comment.
5799 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
5800 TARGET_DEFAULT_RETURN.
5801 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
5802 (find_attach_target, find_run_target): Declare.
5803 (target_create_inferior): Remove.
5804 (target_has_execution_1): Update comment.
5805 (target_supports_non_stop): Remove.
5806 * target-delegates.c: Rebuild.
5807
5808 2014-03-12 Pedro Alves <palves@redhat.com>
5809
5810 * inf-child.h: Update comment to not mention Unix.
5811
5812 2014-03-12 Pedro Alves <palves@redhat.com>
5813
5814 * inf-child.c: Update top comment to not mention Unix. Add
5815 generic comment describing how this target is meant to be used.
5816 (inf_child_post_attach, inf_child_post_startup_inferior)
5817 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
5818 Unix in comment.
5819
5820 2014-03-12 Pedro Alves <palves@redhat.com>
5821
5822 * nto-procfs.c: Include inf-child.h.
5823 (procfs_ops): Delete global.
5824 (procfs_can_run): Delete method.
5825 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
5826 target pointer instead of referencing procfs_ops.
5827 (procfs_prepare_to_store): Delete.
5828 (init_procfs_ops): Delete function.
5829 (procfs_target): New function, based on init_procfs_ops, but
5830 inherit inf_child_target.
5831 (_initialize_procfs): Use procfs_target.
5832
5833 2014-03-12 Pedro Alves <palves@redhat.com>
5834
5835 * windows-nat.c: Include inf-child.h.
5836 (windows_ops): Delete global.
5837 (windows_open, windows_prepare_to_store, windows_can_run): Delete
5838 methods.
5839 (init_windows_ops): Delete function.
5840 (windows_target): New function, based on init_windows_ops, but
5841 inherit inf_child_target.
5842 (_initialize_windows_nat): Use windows_target. Install x86
5843 specific target methods here.
5844
5845 2014-03-10 Doug Evans <xdje42@gmail.com>
5846
5847 * guile/guile.c (call_initialize_gdb_module): New function.
5848 (initialize_guile): Replace call to scm_init_guile with call to
5849 scm_with_guile.
5850
5851 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5852
5853 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
5854 in call to TYPE_CODE macro.
5855
5856 2014-03-10 Jerome Guitton <guitton@adacore.com>
5857
5858 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
5859 Resolve tagged types to full view.
5860
5861 2014-03-10 Hui Zhu <hui@codesourcery.com>
5862
5863 * target.h (target_insert_breakpoint): Remove "hardware" from its
5864 comments.
5865
5866 2014-03-07 Doug Evans <dje@google.com>
5867
5868 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
5869
5870 2014-03-07 Doug Evans <dje@google.com>
5871
5872 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
5873 Remove unused local comp_dir_attr. Assert exactly one of
5874 stub_comp_unit_die, stub_comp_dir is non-NULL.
5875
5876 2014-03-07 Joel Brobecker <brobecker@adacore.com>
5877
5878 * target.h (complete_target_initialization, add_target):
5879 Add comment.
5880
5881 2014-03-07 Pedro Alves <palves@redhat.com>
5882
5883 * go32-nat.c: Include inf-child.h.
5884 (go32_ops): Delete global.
5885 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
5886 Delete methods.
5887 (go32_create_inferior): Push the passed in target pointer instead
5888 of referencing go32_ops.
5889 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
5890 (go32_target): New function, based on init_go32_ops, but inherit
5891 inf_child_target.
5892 (_initialize_go32_nat): Use go32_target. Move parts of
5893 init_go32_ops here.
5894
5895 2014-03-06 Joel Brobecker <brobecker@adacore.com>
5896
5897 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
5898 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
5899 SYMBOL_VALUE_ADDRESS.
5900 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
5901
5902 2014-03-06 Yao Qi <yao@codesourcery.com>
5903
5904 * breakpoint.c (get_tracepoint_by_number): Remove argument
5905 optional_p. All callers updated. Adjust comments. Update
5906 output message.
5907 * breakpoint.h (get_tracepoint_by_number): Update declaration.
5908
5909 2014-03-06 Yao Qi <yao@codesourcery.com>
5910
5911 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
5912 early if get_number returns zero. Use 'p' instead of 'args'.
5913
5914 2014-03-06 Yao Qi <yao@codesourcery.com>
5915
5916 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
5917 message.
5918
5919 2014-03-06 Yao Qi <yao@codesourcery.com>
5920
5921 PR breakpoints/16508
5922 * tracepoint.c (check_trace_running): New function.
5923 (trace_find_command): Move code to check_trace_running and
5924 call check_trace_running.
5925 (trace_find_pc_command): Likewise.
5926 (trace_find_tracepoint_command): Likewise.
5927 (trace_find_line_command): Likewise.
5928 (trace_find_range_command): Likewise.
5929 * tracepoint.h (check_trace_running): Likewise.
5930 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
5931
5932 2014-03-06 Yao Qi <yao@codesourcery.com>
5933
5934 * target.h (struct target_ops) <to_traceframe_info>: Use
5935 TARGET_DEFAULT_NORETURN (tcomplain ()).
5936 * target-delegates.c: Regenerated.
5937
5938 2014-03-05 Pedro Alves <palves@redhat.com>
5939
5940 PR gdb/16575
5941 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
5942 void. Update comment.
5943 (dcache_xfer_memory): Delete.
5944 (dcache_read_memory_partial): New, based on the read bits of
5945 dcache_xfer_memory.
5946 (dcache_update): Add status parameter. Use ULONGEST for len, and
5947 adjust. Discard cache lines if the reason for the update was
5948 error.
5949 * dcache.h (dcache_xfer_memory): Delete declaration.
5950 (dcache_read_memory_partial): New declaration.
5951 (dcache_update): Update prototype.
5952 * target.c (raw_memory_xfer_partial): Update the dcache here.
5953 (memory_xfer_partial_1): Don't handle dcache writes here.
5954
5955 2014-03-05 Mike Frysinger <vapier@gentoo.org>
5956
5957 * remote-sim.c (gdbsim_load): Add const to prog.
5958
5959 2014-03-03 Tom Tromey <tromey@redhat.com>
5960
5961 * elfread.c (probe_key): Change to bfd_data.
5962 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
5963 now per-BFD, not per-objfile.
5964 * stap-probe.c (stap_probe_destroy): Update comment.
5965 (handle_stap_probe): Allocate on the per-BFD obstack.
5966
5967 2014-03-03 Tom Tromey <tromey@redhat.com>
5968
5969 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
5970 * breakpoint.c (create_longjmp_master_breakpoint): Use
5971 get_probe_address.
5972 (add_location_to_breakpoint, bkpt_probe_insert_location)
5973 (bkpt_probe_remove_location): Update.
5974 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
5975 * elfread.c (elf_symfile_relocate_probe): Remove.
5976 (elf_probe_fns): Update.
5977 (insert_exception_resume_breakpoint): Change type of "probe"
5978 parameter to bound_probe.
5979 (check_exception_resume): Update.
5980 * objfiles.c (objfile_relocate1): Don't relocate probes.
5981 * probe.c (bound_probe_s): New typedef.
5982 (parse_probes): Use get_probe_address. Set sal's objfile.
5983 (find_probe_by_pc): Return a bound_probe.
5984 (collect_probes): Return a VEC(bound_probe_s).
5985 (compare_probes): Update.
5986 (gen_ui_out_table_header_info): Change type of "probes"
5987 parameter. Update.
5988 (info_probes_for_ops): Update.
5989 (get_probe_address): New function.
5990 (probe_safe_evaluate_at_pc): Update.
5991 * probe.h (struct probe_ops) <get_probe_address>: New field.
5992 <set_semaphore, clear_semaphore>: Add objfile parameter.
5993 (struct probe) <objfile>: Remove field.
5994 <arch>: New field.
5995 <address>: Update comment.
5996 (struct bound_probe): New.
5997 (find_probe_by_pc): Return a bound_probe.
5998 (get_probe_address): Declare.
5999 * solib-svr4.c (struct probe_and_action) <address>: New field.
6000 (hash_probe_and_action, equal_probe_and_action): Update.
6001 (register_solib_event_probe): Add address parameter.
6002 (solib_event_probe_at): Update.
6003 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6004 get_probe_address.
6005 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6006 (stap_get_probe_address): New function.
6007 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6008 (compile_probe_arg): Update.
6009 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6010 address.
6011 (handle_stap_probe): Don't relocate the probe.
6012 (stap_relocate): Remove.
6013 (stap_gen_info_probes_table_values): Update.
6014 (stap_probe_ops): Remove stap_relocate.
6015 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6016 (debug_sym_probe_fns): Update.
6017 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6018 * symtab.c (init_sal): Use memset.
6019 * symtab.h (struct symtab_and_line) <objfile>: New field.
6020 * tracepoint.c (start_tracing, stop_tracing): Update.
6021
6022 2014-03-03 Tom Tromey <tromey@redhat.com>
6023
6024 * probe.h (parse_probes, find_probe_by_pc)
6025 (find_probes_in_objfile): Fix comments.
6026
6027 2014-03-02 Doug Evans <xdje42@gmail.com>
6028
6029 * infrun.c (handle_signal_stop): Replace test for
6030 TARGET_WAITKIND_STOPPED with an assert.
6031
6032 2014-03-02 Doug Evans <xdje42@gmail.com>
6033
6034 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6035
6036 2014-03-02 Doug Evans <xdje42@gmail.com>
6037
6038 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6039
6040 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6041
6042 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6043
6044 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6045
6046 * i386obsd-nat.c: Include "obsd-nat.h".
6047 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6048 add_target.
6049 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6050
6051 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6052
6053 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6054
6055 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6056
6057 * mips64obsd-nat.c: Include "obsd-nath".
6058 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6059 add_target
6060 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6061
6062 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6063
6064 * amd64obsd-nat.c: Include "obsd-nat,h.
6065 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6066 add_target.
6067 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6068
6069 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6070
6071 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6072 (find_overload_match): Update call to find_oload_champ.
6073 (find_oload_champ_namespace_loop): Likewise
6074
6075 2014-02-28 Mark Kettenis <kettenis@gnu.org>
6076
6077 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6078
6079 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6080 * config/sparc/obsd64.mh: New file.
6081 * sparc64obsd-nat.c: New file.
6082
6083 * obsd-nat.h: New file.
6084 * obsd-nat.c: New file.
6085 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6086 (ALLDEPFILES): Add obsd-nat.c.
6087
6088 2014-02-28 Tom Tromey <tromey@redhat.com>
6089
6090 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6091 * cli-out.h (cli_ui_out_impl): Now const.
6092 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6093 * ui-out.c (struct ui_out) <impl>: Now const.
6094 (default_ui_out_impl): Now const.
6095 (ui_out_new): Make 'impl' parameter const.
6096 * ui-out.h (ui_out_new): Update.
6097
6098 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6099
6100 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6101
6102 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6103
6104 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6105
6106 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6107
6108 Additional PR 8882 fix.
6109 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6110
6111 2014-02-27 Pedro Alves <palves@redhat.com>
6112
6113 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6114 isn't set.
6115
6116 2014-02-27 Pedro Alves <palves@redhat.com>
6117
6118 PR 12702
6119 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6120 * nat/linux-waitpid.c: Include string.h.
6121 (status_to_str): Moved here and made extern.
6122 * nat/linux-waitpid.h (status_to_str): New declaration.
6123
6124 2014-02-27 Hui Zhu <hui@codesourcery.com>
6125
6126 PR 12702
6127 * infrun.c (ptid_match): Move ...
6128 * common/ptid.c (ptid_match): ... here.
6129 * inferior.h (ptid_match): Move ...
6130 * common/ptid.h (ptid_match): ... here.
6131
6132 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6133
6134 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6135 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6136 gdb_target_obs.
6137
6138 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6139
6140 * obsd-tdep.c (obsd_auxv_parse): New function.
6141 (obsd_init_abi): Set auxv_parse.
6142
6143 * gdbarch.sh (auxv_parse): New.
6144 * gdbarch.h: Regenerated.
6145 * gdbarch.c: Regenerated.
6146 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6147
6148 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6149
6150 * guile/scm-value.c (gdbscm_history_append_x): New function.
6151 (value_functions): Add it.
6152
6153 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6154
6155 * dwarf2read.c (attr_value_as_address): New function.
6156 (dwarf2_find_base_address, read_call_site_scope): Use
6157 attr_value_as_address in place of DW_ADDR.
6158 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6159 the low and high addresses. Slight rework of the handling
6160 of the high pc being a constant form, and limit it to
6161 DWARF verson 4 or higher.
6162 (dwarf2_record_block_ranges): Likewise.
6163 (read_partial_die): Likewise.
6164 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6165
6166 2014-02-26 Tom Tromey <tromey@redhat.com>
6167
6168 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6169
6170 2014-02-26 Tom Tromey <tromey@redhat.com>
6171
6172 * elfread.c (elf_read_minimal_symbols): Return early if
6173 minimal symbols have already been read. Add "ei" parameter.
6174 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6175 * minsyms.c (prim_record_minimal_symbol_full): Update.
6176 * objfiles.h (struct objstats) <n_minsyms>: Move...
6177 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6178 * symmisc.c (print_objfile_statistics): Update.
6179
6180 2014-02-26 Tom Tromey <tromey@redhat.com>
6181
6182 * elfread.c (elf_read_minimal_symbols): New function, from
6183 elf_symfile_read.
6184 (elf_symfile_read): Call it.
6185
6186 2014-02-26 Tom Tromey <tromey@redhat.com>
6187
6188 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6189 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6190 (lookup_minimal_symbol_solib_trampoline)
6191 (lookup_minimal_symbol_by_pc_section_1)
6192 (lookup_minimal_symbol_and_objfile): Update.
6193 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6194 Don't allocate a minimal symbol if minsyms have already been read.
6195 (build_minimal_symbol_hash_tables): Update.
6196 (install_minimal_symbols): Do nothing if minsyms already read.
6197 Use the per-BFD obstack.
6198 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6199 * objfiles.c (allocate_objfile): Call
6200 terminate_minimal_symbol_table later.
6201 (have_minimal_symbols): Update.
6202 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6203 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6204 Move from struct objfile.
6205 <minsyms_read>: New field.
6206 (struct objfile) <msymbols, minimal_symbol_count,
6207 msymbol_hash, msymbol_demangled_hash>: Move.
6208 (ALL_OBJFILE_MSYMBOLS): Update.
6209 * symfile.c (read_symbols): Set minsyms_read.
6210 (reread_symbols): Update.
6211 * symmisc.c (dump_objfile, dump_msymbols): Update.
6212
6213 2014-02-26 Tom Tromey <tromey@redhat.com>
6214
6215 * minsyms.c (msymbols_sort): Remove.
6216 * minsyms.h (msymbols_sort): Remove.
6217 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6218 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6219 * elfread.c (elf_symtab_read): Don't add section offsets.
6220 * xcoffread.c (record_minimal_symbol): Don't add section offset
6221 to minimal symbol address.
6222 * somread.c (text_offset, data_offset): Remove.
6223 (som_symtab_read): Don't add section offsets to minimal symbol
6224 addresses.
6225 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6226 Don't add section offsets to minimal symbols.
6227 * coffread.c (coff_symtab_read): Don't add section offsets
6228 to minimal symbol addresses.
6229 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6230 to minimal symbol addresses.
6231 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6232 section offset to minimal symbol addresses.
6233 * mdebugread.c (parse_partial_symbols): Don't add section
6234 offset to minimal symbol addresses.
6235 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6236 offset to minimal symbol addresses.
6237
6238 2014-02-26 Tom Tromey <tromey@redhat.com>
6239
6240 * ada-lang.c (ada_main_name): Update.
6241 (ada_add_standard_exceptions): Update.
6242 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6243 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6244 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6245 * auxv.c (ld_so_xfer_auxv): Update.
6246 * avr-tdep.c (avr_scan_prologue): Update.
6247 * ax-gdb.c (gen_var_ref): Update.
6248 * blockframe.c (get_pc_function_start)
6249 (find_pc_partial_function_gnu_ifunc): Update.
6250 * breakpoint.c (create_overlay_event_breakpoint)
6251 (create_longjmp_master_breakpoint)
6252 (create_std_terminate_master_breakpoint)
6253 (create_exception_master_breakpoint): Update.
6254 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6255 * c-valprint.c (c_val_print): Update.
6256 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6257 * common/agent.c (agent_look_up_symbols): Update.
6258 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6259 * dwarf2loc.c (call_site_to_target_addr): Update.
6260 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6261 * elfread.c (elf_gnu_ifunc_record_cache)
6262 (elf_gnu_ifunc_resolve_by_got): Update.
6263 * findvar.c (default_read_var_value): Update.
6264 * frame.c (inside_main_func): Update.
6265 * frv-tdep.c (frv_frame_this_id): Update.
6266 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6267 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6268 Update.
6269 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6270 (hppa_hpux_find_dummy_bpaddr): Update.
6271 * hppa-tdep.c (hppa_symbol_address): Update.
6272 * infcmd.c (until_next_command): Update.
6273 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6274 Update.
6275 * linespec.c (minsym_found, add_minsym): Update.
6276 * linux-nat.c (get_signo): Update.
6277 * linux-thread-db.c (inferior_has_bug): Update.
6278 * m32c-tdep.c (m32c_return_value)
6279 (m32c_m16c_address_to_pointer): Update.
6280 * m32r-tdep.c (m32r_frame_this_id): Update.
6281 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6282 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6283 * maint.c (maintenance_translate_address): Update.
6284 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6285 (frob_address): New function.
6286 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6287 frob_address. Rename parameter to "pc_in".
6288 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6289 addresses.
6290 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6291 Update.
6292 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6293 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6294 * objc-lang.c (find_objc_msgsend): Update.
6295 * objfiles.c (objfile_relocate1): Update.
6296 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6297 * p-valprint.c (pascal_val_print): Update.
6298 * parse.c (write_exp_msymbol): Update.
6299 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6300 (ppc_elfv2_skip_entrypoint): Update.
6301 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6302 * printcmd.c (build_address_symbolic, msym_info)
6303 (address_info): Update.
6304 * proc-service.c (ps_pglobal_lookup): Update.
6305 * psymtab.c (find_pc_sect_psymtab_closer)
6306 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6307 Change msymbol parameter to bound_minimal_symbol.
6308 * ravenscar-thread.c (get_running_thread_id): Update.
6309 * remote.c (remote_check_symbols): Update.
6310 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6311 address.
6312 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6313 * solib-dsbt.c (lm_base): Update.
6314 * solib-frv.c (lm_base, main_got): Update.
6315 * solib-irix.c (locate_base): Update.
6316 * solib-som.c (som_solib_create_inferior_hook)
6317 (link_map_start): Update.
6318 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6319 * solib-svr4.c (elf_locate_base, enable_break): Update.
6320 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6321 (flush_ea_cache): Update.
6322 * stabsread.c (define_symbol, scan_file_globals): Update.
6323 * stack.c (find_frame_funname): Update.
6324 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6325 (debug_qf_find_pc_sect_symtab): Update.
6326 * symfile.c (simple_read_overlay_table)
6327 (simple_overlay_update): Update.
6328 * symfile.h (struct quick_symbol_functions)
6329 <find_pc_sect_symtab>: Change type of msymbol to
6330 bound_minimal_symbol.
6331 * symmisc.c (dump_msymbols): Update.
6332 * symtab.c (find_pc_sect_symtab_via_partial)
6333 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6334 (search_symbols, print_msymbol_info): Update.
6335 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6336 (MSYMBOL_VALUE_ADDRESS): Redefine.
6337 (BMSYMBOL_VALUE_ADDRESS): New macro.
6338 * tracepoint.c (scope_info): Update.
6339 * tui/tui-disasm.c (tui_find_disassembly_address)
6340 (tui_get_begin_asm_address): Update.
6341 * valops.c (find_function_in_inferior): Update.
6342 * value.c (value_static_field, value_fn_field): Update.
6343
6344 2014-02-26 Tom Tromey <tromey@redhat.com>
6345
6346 * ada-lang.c (ada_update_initial_language): Update.
6347 (ada_main_name, ada_has_this_exception_support): Update.
6348 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6349 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6350 * arm-tdep.c (arm_skip_stub): Update.
6351 * auxv.c (ld_so_xfer_auxv): Update.
6352 * avr-tdep.c (avr_scan_prologue): Update.
6353 * ax-gdb.c (gen_var_ref): Update.
6354 * breakpoint.c (struct breakpoint_objfile_data)
6355 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6356 type to bound_minimal_symbol.
6357 (create_overlay_event_breakpoint)
6358 (create_longjmp_master_breakpoint)
6359 (create_std_terminate_master_breakpoint)
6360 (create_exception_master_breakpoint): Update.
6361 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6362 * c-exp.y (classify_name): Update.
6363 * coffread.c (coff_symfile_read): Update.
6364 * common/agent.c (agent_look_up_symbols): Update.
6365 * d-lang.c (d_main_name): Update.
6366 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6367 * dec-thread.c (enable_dec_thread): Update.
6368 * dwarf2loc.c (call_site_to_target_addr): Update.
6369 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6370 * eval.c (evaluate_subexp_standard): Update.
6371 * findvar.c (struct minsym_lookup_data) <result>: Change type
6372 to bound_minimal_symbol.
6373 <objfile>: Remove.
6374 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6375 * frame.c (inside_main_func): Update.
6376 * frv-tdep.c (frv_frame_this_id): Update.
6377 * gcore.c (call_target_sbrk): Update.
6378 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6379 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6380 Update.
6381 * go-lang.c (go_main_name): Update.
6382 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6383 (hppa_hpux_find_import_stub_for_addr): Update.
6384 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6385 Update. Change return type.
6386 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6387 type.
6388 * jit.c (jit_breakpoint_re_set_internal): Update.
6389 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6390 Update.
6391 * linux-nat.c (get_signo): Update.
6392 * linux-thread-db.c (inferior_has_bug): Update
6393 * m32c-tdep.c (m32c_return_value)
6394 (m32c_m16c_address_to_pointer): Update.
6395 * m32r-tdep.c (m32r_frame_this_id): Update.
6396 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6397 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6398 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6399 lookup_minimal_symbol. Change return type.
6400 (lookup_minimal_symbol): Remove.
6401 (lookup_bound_minimal_symbol): Update.
6402 (lookup_minimal_symbol_text): Change return type.
6403 (lookup_minimal_symbol_solib_trampoline): Change return type.
6404 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6405 (lookup_minimal_symbol_solib_trampoline): Change return type.
6406 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6407 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6408 (value_nsstring, find_imps): Update.
6409 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6410 * p-lang.c (pascal_main_name): Update.
6411 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6412 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6413 * proc-service.c (ps_pglobal_lookup): Update.
6414 * ravenscar-thread.c (get_running_thread_msymbol): Change
6415 return type.
6416 (has_ravenscar_runtime, get_running_thread_id): Update.
6417 * remote.c (remote_check_symbols): Update.
6418 * sol-thread.c (ps_pglobal_lookup): Update.
6419 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6420 * solib-dsbt.c (lm_base): Update.
6421 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6422 Update.
6423 * solib-irix.c (locate_base): Update.
6424 * solib-som.c (som_solib_create_inferior_hook)
6425 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6426 Update.
6427 * solib-spu.c (spu_enable_break): Update.
6428 * solib-svr4.c (elf_locate_base, enable_break): Update.
6429 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6430 (flush_ea_cache): Update.
6431 * stabsread.c (define_symbol): Update.
6432 * symfile.c (simple_read_overlay_table): Update.
6433 * symtab.c (find_pc_sect_line): Update.
6434 * tracepoint.c (scope_info): Update.
6435 * tui-disasm.c (tui_get_begin_asm_address): Update.
6436 * value.c (value_static_field): Update.
6437
6438 2014-02-26 Tom Tromey <tromey@redhat.com>
6439
6440 * minsyms.c (prim_record_minimal_symbol_full): Use
6441 SET_MSYMBOL_VALUE_ADDRESS.
6442 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6443 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6444 SET_MSYMBOL_VALUE_ADDRESS.
6445 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6446 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6447
6448 2014-02-26 Tom Tromey <tromey@redhat.com>
6449
6450 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6451 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6452 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6453 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6454 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6455 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6456 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6457 * ada-lang.c (ada_main_name): Update.
6458 (ada_lookup_simple_minsym): Update.
6459 (ada_make_symbol_completion_list): Update.
6460 (ada_add_standard_exceptions): Update.
6461 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6462 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6463 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6464 * arm-tdep.c (skip_prologue_function): Update.
6465 (arm_skip_stack_protector, arm_skip_stub): Update.
6466 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6467 (arm_wince_skip_main_prologue): Update.
6468 * auxv.c (ld_so_xfer_auxv): Update.
6469 * avr-tdep.c (avr_scan_prologue): Update.
6470 * ax-gdb.c (gen_var_ref): Update.
6471 * block.c (call_site_for_pc): Update.
6472 * blockframe.c (get_pc_function_start): Update.
6473 (find_pc_partial_function_gnu_ifunc): Update.
6474 * breakpoint.c (create_overlay_event_breakpoint): Update.
6475 (create_longjmp_master_breakpoint): Update.
6476 (create_std_terminate_master_breakpoint): Update.
6477 (create_exception_master_breakpoint): Update.
6478 (resolve_sal_pc): Update.
6479 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6480 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6481 Update.
6482 * c-valprint.c (c_val_print): Update.
6483 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6484 * coffread.c (coff_symfile_read): Update.
6485 * common/agent.c (agent_look_up_symbols): Update.
6486 * dbxread.c (find_stab_function_addr): Update.
6487 (end_psymtab): Update.
6488 * dwarf2loc.c (call_site_to_target_addr): Update.
6489 (func_verify_no_selftailcall): Update.
6490 (tailcall_dump): Update.
6491 (call_site_find_chain_1): Update.
6492 (dwarf_expr_reg_to_entry_parameter): Update.
6493 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6494 (elf_gnu_ifunc_resolve_by_got): Update.
6495 * f-valprint.c (info_common_command): Update.
6496 * findvar.c (read_var_value): Update.
6497 * frame.c (get_prev_frame_1): Update.
6498 (inside_main_func): Update.
6499 * frv-tdep.c (frv_skip_main_prologue): Update.
6500 (frv_frame_this_id): Update.
6501 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6502 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6503 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6504 (gnuv3_skip_trampoline): Update.
6505 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6506 (hppa64_hpux_in_solib_call_trampoline): Update.
6507 (hppa_hpux_skip_trampoline_code): Update.
6508 (hppa64_hpux_search_dummy_call_sequence): Update.
6509 (hppa_hpux_find_import_stub_for_addr): Update.
6510 (hppa_hpux_find_dummy_bpaddr): Update.
6511 * hppa-tdep.c (hppa_symbol_address)
6512 (hppa_lookup_stub_minimal_symbol): Update.
6513 * i386-tdep.c (i386_skip_main_prologue): Update.
6514 (i386_pe_skip_trampoline_code): Update.
6515 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6516 * infcall.c (get_function_name): Update.
6517 * infcmd.c (until_next_command): Update.
6518 * jit.c (jit_breakpoint_re_set_internal): Update.
6519 (jit_inferior_init): Update.
6520 * linespec.c (minsym_found): Update.
6521 (add_minsym): Update.
6522 * linux-fork.c (info_checkpoints_command): Update.
6523 * linux-nat.c (get_signo): Update.
6524 * linux-thread-db.c (inferior_has_bug): Update.
6525 * m32c-tdep.c (m32c_return_value): Update.
6526 (m32c_m16c_address_to_pointer): Update.
6527 (m32c_m16c_pointer_to_address): Update.
6528 * m32r-tdep.c (m32r_frame_this_id): Update.
6529 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6530 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6531 * maint.c (maintenance_translate_address): Update.
6532 * minsyms.c (add_minsym_to_hash_table): Update.
6533 (add_minsym_to_demangled_hash_table): Update.
6534 (msymbol_objfile): Update.
6535 (lookup_minimal_symbol): Update.
6536 (iterate_over_minimal_symbols): Update.
6537 (lookup_minimal_symbol_text): Update.
6538 (lookup_minimal_symbol_by_pc_name): Update.
6539 (lookup_minimal_symbol_solib_trampoline): Update.
6540 (lookup_minimal_symbol_by_pc_section_1): Update.
6541 (lookup_minimal_symbol_and_objfile): Update.
6542 (prim_record_minimal_symbol_full): Update.
6543 (compare_minimal_symbols): Update.
6544 (compact_minimal_symbols): Update.
6545 (build_minimal_symbol_hash_tables): Update.
6546 (install_minimal_symbols): Update.
6547 (terminate_minimal_symbol_table): Update.
6548 (find_solib_trampoline_target): Update.
6549 (minimal_symbol_upper_bound): Update.
6550 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6551 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6552 (mips_skip_pic_trampoline_code): Update.
6553 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6554 * objc-lang.c (selectors_info): Update.
6555 (classes_info): Update.
6556 (find_methods): Update.
6557 (find_imps): Update.
6558 (find_objc_msgsend): Update.
6559 * objfiles.c (objfile_relocate1): Update.
6560 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6561 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6562 * p-valprint.c (pascal_val_print): Update.
6563 * parse.c (write_exp_msymbol): Update.
6564 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6565 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6566 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6567 * printcmd.c (build_address_symbolic): Update.
6568 (sym_info): Update.
6569 (address_info): Update.
6570 * proc-service.c (ps_pglobal_lookup): Update.
6571 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6572 (find_pc_sect_psymtab): Update.
6573 * python/py-framefilter.c (py_print_frame): Update.
6574 * ravenscar-thread.c (get_running_thread_id): Update.
6575 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6576 Update.
6577 * remote.c (remote_check_symbols): Update.
6578 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6579 (rs6000_skip_trampoline_code): Update.
6580 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6581 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6582 * solib-dsbt.c (lm_base): Update.
6583 * solib-frv.c (lm_base): Update.
6584 (main_got): Update.
6585 * solib-irix.c (locate_base): Update.
6586 * solib-som.c (som_solib_create_inferior_hook): Update.
6587 (som_solib_desire_dynamic_linker_symbols): Update.
6588 (link_map_start): Update.
6589 * solib-spu.c (spu_enable_break): Update.
6590 (ocl_enable_break): Update.
6591 * solib-svr4.c (elf_locate_base): Update.
6592 (enable_break): Update.
6593 * spu-tdep.c (spu_get_overlay_table): Update.
6594 (spu_catch_start): Update.
6595 (flush_ea_cache): Update.
6596 * stabsread.c (define_symbol): Update.
6597 (scan_file_globals): Update.
6598 * stack.c (find_frame_funname): Update.
6599 (frame_info): Update.
6600 * symfile.c (simple_read_overlay_table): Update.
6601 (simple_overlay_update): Update.
6602 * symmisc.c (dump_msymbols): Update.
6603 * symtab.c (fixup_section): Update.
6604 (find_pc_sect_line): Update.
6605 (skip_prologue_sal): Update.
6606 (search_symbols): Update.
6607 (print_msymbol_info): Update.
6608 (rbreak_command): Update.
6609 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6610 (completion_list_objc_symbol): Update.
6611 (default_make_symbol_completion_list_break_on): Update.
6612 * tracepoint.c (scope_info): Update.
6613 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6614 (tui_get_begin_asm_address): Update.
6615 * valops.c (find_function_in_inferior): Update.
6616 * value.c (value_static_field): Update.
6617 (value_fn_field): Update.
6618
6619 2014-02-26 Tom Tromey <tromey@redhat.com>
6620
6621 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6622 bound minimal symbols. Move code that knows about minsym
6623 table layout...
6624 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6625 function.
6626 * minsyms.h (minimal_symbol_upper_bound): Declare.
6627 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6628 minimal_symbol_upper_bound.
6629
6630 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6631
6632 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6633 Use the type's name if its basic type does not have a tag.
6634
6635 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6636
6637 * dwarf2read.c (read_subrange_type): Add comment.
6638
6639 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6640
6641 * dwarf2read.c (update_enumeration_type_from_children): New
6642 function, mostly extracted from process_structure_scope.
6643 (read_enumeration_type): Call update_enumeration_type_from_children.
6644 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6645 and flag_flag_enum fields.
6646
6647 2014-02-26 Pedro Alves <palves@redhat.com>
6648
6649 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6650 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6651 to_xfer_partial method.
6652
6653 2014-02-26 Pedro Alves <palves@redhat.com>
6654
6655 * target.c (complete_target_initialization): Don't install
6656 default_xfer_partial as to_xfer_partial hook.
6657 (nomemory): Delete.
6658 (update_current_target): Don't INHERIT nor de_fault
6659 deprecated_xfer_memory. Delete de_fault macro.
6660 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6661 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6662 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6663 field.
6664
6665 2014-02-26 Pedro Alves <palves@redhat.com>
6666
6667 * go32-nat.c (my_write_child): New function.
6668 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6669 (go32_xfer_partial): New function.
6670 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6671 Instead install a to_xfer_partial hook.
6672
6673 2014-02-26 Pedro Alves <palves@redhat.com>
6674
6675 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6676 to_xfer_partial helper. Rewrite.
6677 (procfs_xfer_partial): New function.
6678 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6679 Install a to_xfer_partial hook.
6680
6681 2014-02-26 Pedro Alves <palves@redhat.com>
6682
6683 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6684 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6685 (m32r_xfer_partial): New function.
6686 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6687 Install a to_xfer_partial hook.
6688
6689 2014-02-26 Pedro Alves <palves@redhat.com>
6690
6691 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6692 helper.
6693 (mips_xfer_partial): New function.
6694 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6695 hook. Install a to_xfer_partial hook.
6696
6697 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6698
6699 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6700 * gdbtypes.c (create_array_type_with_stride): New function,
6701 renaming create_array_type, but with an added parameter
6702 called "bit_stride".
6703 (create_array_type): Re-implement using
6704 create_array_type_with_stride.
6705 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6706 and DW_AT_bit_stride attributes.
6707
6708 2014-02-26 Pedro Alves <palves@redhat.com>
6709
6710 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6711 task-specific breakpoints.
6712
6713 2014-02-25 Pedro Alves <palves@redhat.com>
6714
6715 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6716 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6717
6718 2014-02-25 Stan Shebs <stan@codesourcery.com>
6719
6720 * defs.h: Annotate comments for Doxygen.
6721
6722 2014-02-25 Tom Tromey <tromey@redhat.com>
6723
6724 * target.h (target_ignore): Don't declare.
6725 * target.c (target_ignore): Remove.
6726
6727 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6728
6729 PR gdb/16626
6730 * auto-load.c (auto_load_objfile_script_1): Change filename to
6731 debugfile.
6732
6733 2014-02-25 Joel Brobecker <brobecker@adacore.com>
6734
6735 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
6736 documentation. Adjust prototype to match the target_ops
6737 to_xfer_partial method. Adjust implementation accordingly.
6738
6739 2014-02-25 Hui Zhu <hui@codesourcery.com>
6740
6741 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
6742 to_traceframe_info.
6743
6744 2014-02-25 Kevin Buettner <kevinb@redhat.com>
6745
6746 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6747 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
6748 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6749 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
6750 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
6751 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
6752 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
6753 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
6754 New constants.
6755 (rl78_register_type): Use a data pointer type for SP and
6756 new pseudo registers mentioned above. Use a 16 bit integer
6757 type for all other register pairs.
6758 (rl78_register_name, rl78_g10_register_name): Update for
6759 new pseudo registers.
6760 (rl78_pseudo_register_read): Likewise.
6761 (rl78_pseudo_register_write): Likewise.
6762 (rl78_dwarf_reg_to_regnum): Return register numbers representing
6763 to the newly added pseudo registers.
6764
6765 2014-02-24 Doug Evans <dje@google.com>
6766
6767 * value.c (record_latest_value): Fix comment.
6768 * printcmd.c (print_command_1): Remove code to handle -1 return from
6769 record_latest_value.
6770
6771 2014-02-24 Pedro Alves <palves@redhat.com>
6772
6773 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
6774 deprecated_xfer_memory hook.
6775 (procfs_xfer_partial): Call procfs_xfer_memory instead
6776 of the deprecated_xfer_memory target hook.
6777 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
6778 helper.
6779
6780 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
6781
6782 * windows-nat.c (windows_xfer_shared_libraries): Return
6783 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
6784 requested object is TARGET_OBJECT_LIBRARIES.
6785
6786 2014-02-24 Yao Qi <yao@codesourcery.com>
6787
6788 * target.h (enum target_xfer_status)
6789 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
6790 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
6791 explicitly. New.
6792 * corefile.c (memory_error_message): User updated.
6793 * exec.c (section_table_read_available_memory): Likewise.
6794 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6795 * target.c (target_xfer_status_to_string): Likewise.
6796 (raw_memory_xfer_partial): Likewise.
6797 (memory_xfer_partial_1, target_xfer_partial): Likewise.
6798 * valops.c (read_value_memory): Likewise.
6799 * exec.h: Update comments.
6800
6801 2014-02-24 Yao Qi <yao@codesourcery.com>
6802
6803 * target.c (target_xfer_status_to_string): Rename argument err
6804 to status.
6805 * target.h (target_xfer_status_to_string): Update declaration.
6806 Replace target_xfer_error_to_string with
6807 target_xfer_status_to_string in comment.
6808
6809 2014-02-24 Yao Qi <yao@codesourcery.com>
6810
6811 * mips-linux-nat.c (super_close): Update its type.
6812 (mips_linux_close): Pass 'self' to super_close.
6813
6814 2014-02-24 Yao Qi <yao@codesourcery.com>
6815
6816 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
6817 * corefile.c (read_memory): Adjusted.
6818 * target.c (target_write_with_progress): Adjusted.
6819
6820 2014-02-23 Yao Qi <yao@codesourcery.com>
6821
6822 Revert two patches:
6823
6824 2013-10-25 Yao Qi <yao@codesourcery.com>
6825
6826 * remote.c (remote_traceframe_info): Return early if
6827 traceframe is not selected.
6828
6829 2013-07-19 Yao Qi <yao@codesourcery.com>
6830
6831 * target.c (update_current_target): Change the default action
6832 of 'to_traceframe_info' from tcomplain to return_zero.
6833 * target.h (struct target_ops) <to_traceframe_info>: Add more
6834 comments.
6835
6836 2014-02-23 Yao Qi <yao@codesourcery.com>
6837
6838 * valops.c (read_value_memory): Rewrite it. Call
6839 target_xfer_partial in a loop.
6840 * exec.h (section_table_available_memory): Remove declaration.
6841 Move comments to ...
6842 * exec.c (section_table_available_memory): ... here. Make it
6843 static.
6844
6845 2014-02-23 Yao Qi <yao@codesourcery.com>
6846
6847 * exec.c (section_table_read_available_memory): New function.
6848 * exec.h (section_table_read_available_memory): Declare.
6849 * ctf.c (ctf_xfer_partial): Call
6850 section_table_read_available_memory.
6851 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6852
6853 2014-02-23 Yao Qi <yao@codesourcery.com>
6854
6855 * ctf.c (ctf_xfer_partial): Move code to ...
6856 * exec.c (exec_read_partial_read_only): ... it. New function.
6857 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6858 * tracefile.c: Include "exec.h".
6859 * exec.h (exec_read_partial_read_only): Declare.
6860
6861 2014-02-23 Yao Qi <yao@codesourcery.com>
6862
6863 * tracefile-tfile.c (tfile_has_all_memory): Remove.
6864 (tfile_has_memory): Remove.
6865 (init_tfile_ops): Don't set fields to_has_all_memory and
6866 to_has_memory of tfile_ops.
6867 * tracefile.c (tracefile_has_all_memory): New function.
6868 (tracefile_has_memory): New function.
6869 (init_tracefile_ops): Initialize fields to_has_all_memory and
6870 to_has_memory of 'ops'.
6871
6872 2014-02-23 Yao Qi <yao@codesourcery.com>
6873
6874 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
6875 (ctf_thread_alive, ctf_get_trace_status): Remove.
6876 (init_ctf_ops): Don't set some fields of ctf_ops. Call
6877 init_tracefile_ops.
6878 * tracefile-tfile.c (tfile_get_trace_status): Remove.
6879 (tfile_has_stack, tfile_has_registers): Remove.
6880 (tfile_thread_alive): Remove.
6881 (init_tfile_ops): Don't set some fields of tfile_ops. Call
6882 init_tracefile_ops.
6883 * tracefile.c (tracefile_has_stack): New function.
6884 (tracefile_has_registers): New function.
6885 (tracefile_thread_alive): New function.
6886 (tracefile_get_trace_status): New function.
6887 (init_tracefile_ops): New function.
6888 * tracefile.h (init_tracefile_ops): Declare.
6889
6890 2014-02-23 Yao Qi <yao@codesourcery.com>
6891
6892 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
6893 (O_LARGEFILE): Likewise.
6894 (tfile_ops): Likewise.
6895 (TRACE_HEADER_SIZE): Likewise.
6896 (trace_fd, trace_frames_offset, cur_offset): Likewise.
6897 (cur_data_size): Likewise.
6898 (tfile_read, tfile_open, tfile_interp_line): Likewise.
6899 (tfile_close, tfile_files_info): Likewise.
6900 (tfile_get_trace_status): Likewise.
6901 (tfile_get_tracepoint_status): Likewise.
6902 (tfile_get_traceframe_address): Likewise.
6903 (tfile_trace_find, match_blocktype): Likewise.
6904 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
6905 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
6906 (tfile_get_trace_state_variable_value): Likewise.
6907 (tfile_has_all_memory, tfile_has_memory): Likewise.
6908 (tfile_has_stack, tfile_has_registers): Likewise.
6909 (tfile_thread_alive, build_traceframe_info): Likewise.
6910 (tfile_traceframe_info, init_tfile_ops): Likewise.
6911 (_initialize_tracepoint): Don't call init_tfile_ops
6912 and add_target_with_completer.
6913 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
6914 exec.h, completer.h and filenames.h.
6915 (_initialize_tracefile_tfile): New function.
6916
6917 2014-02-23 Yao Qi <yao@codesourcery.com>
6918
6919 * Makefile.in (REMOTE_OBS): Append tracefile.o and
6920 tracefile-tfile.o.
6921 (HFILES_NO_SRCDIR): Add tracefile.h.
6922 * ctf.c: Include "tracefile.h".
6923 * tracefile.h: New file.
6924 * tracefile.c: New file
6925 * tracefile-tfile.c: New file.
6926 * tracepoint.c: Include "tracefile.h".
6927 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
6928 (stop_reason_names): Add const.
6929 (trace_file_writer_xfree): Move it to tracefile.c.
6930 (trace_save, trace_save_command, trace_save_tfile): Likewise.
6931 (trace_save_ctf): Likewise.
6932 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
6933 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
6934 (tfile_write_header, tfile_write_regblock_type): Likewise.
6935 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
6936 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
6937 (tfile_write_raw_data, tfile_end): Likewise.
6938 (tfile_trace_file_writer_new): Likewise.
6939 (free_uploaded_tp): Make it extern.
6940 (free_uploaded_tsv): Make it extern.
6941 (_initialize_tracepoint): Move code to register command 'tsave'
6942 to tracefile.c.
6943 * tracepoint.h (stop_reason_names): Declare.
6944 (struct trace_frame_write_ops): Move it to tracefile.h.
6945 (struct trace_file_write_ops): Likewise.
6946 (struct trace_file_writer): Likewise.
6947 (free_uploaded_tsvs, free_uploaded_tps): Declare.
6948
6949 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
6951 PR gdb/16594
6952 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
6953 process name.
6954 (get_cores_used_by_process): New parameter num_cores, use it.
6955 (linux_xfer_osdata_processes): Pass num_cores to it.
6956 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
6957 process name.
6958
6959 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
6960
6961 * target.c (memory_xfer_partial): Fix length arg in call to
6962 breakpoint_xfer_memory.
6963
6964 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
6965
6966 PR tdep/16397
6967 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
6968 number comes after the + or - signs. Adjust length of register
6969 name to be extracted.
6970
6971 2014-02-20 Tom Tromey <tromey@redhat.com>
6972
6973 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
6974 (ada_varobj_ops): Mark "extern".
6975
6976 2014-02-20 Tom Tromey <tromey@redhat.com>
6977
6978 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
6979
6980 2014-02-20 Doug Evans <xdje42@gmail.com>
6981
6982 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
6983 All callers updated.
6984 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
6985 All callers updated.
6986 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
6987 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
6988
6989 2014-02-20 lin zuojian <manjian2006@gmail.com>
6990 Joel Brobecker <brobecker@adacore.com>
6991 Doug Evans <xdje42@gmail.com>
6992
6993 PR symtab/16581
6994 * dwarf2read.c (struct die_info): New member in_process.
6995 (reset_die_in_process): New function.
6996 (process_die): Set it at the start, reset when returning.
6997 (inherit_abstract_dies): Only call process_die if origin_child_die
6998 not already being processed.
6999
7000 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7001
7002 * windows-nat.c (handle_unload_dll): Add function documentation.
7003 (do_initial_windows_stuff): Add comment explaining why we wait
7004 until after inferior initialization has finished before
7005 processing all DLLs.
7006
7007 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7008
7009 * windows-nat.c (get_module_name): Delete.
7010 (windows_get_exec_module_filename): New function, mostly
7011 inspired from get_module_name.
7012 (windows_pid_to_exec_file): Replace call to get_module_name
7013 by call to windows_get_exec_module_filename.
7014
7015 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7016
7017 * windows-nat.c (handle_load_dll): Rewrite this function's
7018 introductory comment. Remove code using get_module_name
7019 to get the DLL's name.
7020
7021 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7022
7023 * windows-nat.c (get_windows_debug_event): Ignore
7024 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7025 if windows_initialization_done == 0.
7026 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7027 Adjust implementation to always load all DLLs.
7028 (do_initial_windows_stuff): Replace call to
7029 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7030
7031 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7032
7033 * windows-nat.c (_initialize_windows_nat): Deprecate the
7034 "dll-symbols" command. Turn the "add-shared-symbol-files"
7035 and "assf" aliases into commands, and deprecate them as well.
7036 * NEWS: Add entry explaining that "dll-symbols" and its two
7037 aliases are now deprecated.
7038
7039 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7040
7041 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7042 new-line in debug string. Remove trailing spaces.
7043
7044 2014-02-19 Stan Shebs <stan@codesourcery.com>
7045
7046 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7047
7048 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7049
7050 * NEWS: Add entry for the new feature
7051 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7052 and class values.
7053
7054 2014-02-19 Stan Shebs <stan@codesourcery.com>
7055
7056 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7057
7058 2014-02-19 Pedro Alves <palves@redhat.com>
7059
7060 * common/ptid.h (struct ptid): Mention that process_stratum
7061 targets should prefer ptid.lwp.
7062
7063 2014-02-19 Pedro Alves <palves@redhat.com>
7064
7065 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7066 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7067 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7068 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7069 store remote thread ids rather than ptid.tid.
7070 (_initialize_remote): Adjust.
7071
7072 2014-02-19 Tom Tromey <tromey@redhat.com>
7073
7074 * target.c (target_get_unwinder): Rewrite.
7075 (target_get_tailcall_unwinder): Rewrite.
7076 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7077 (record_btrace_to_get_tailcall_unwinder): New function.
7078 (init_record_btrace_ops): Update.
7079 * target.h (struct target_ops) <to_get_unwinder,
7080 to_get_tailcall_unwinder>: Now function pointers. Use
7081 TARGET_DEFAULT_RETURN.
7082
7083 2014-02-19 Tom Tromey <tromey@redhat.com>
7084
7085 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7086 argument.
7087 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7088
7089 2014-02-19 Tom Tromey <tromey@redhat.com>
7090
7091 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7092 directly.
7093 * target-delegates.c: Rebuild.
7094 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7095 TARGET_DEFAULT_FUNC.
7096 * target.c (default_target_decr_pc_after_break): Rename from
7097 forward_target_decr_pc_after_break. Simplify.
7098 (target_decr_pc_after_break): Rely on delegation.
7099
7100 2014-02-19 Tom Tromey <tromey@redhat.com>
7101
7102 * target.c (update_current_target): Do not INHERIT to_doc or
7103 to_magic. Do not de_fault to_open or to_close.
7104
7105 2014-02-19 Tom Tromey <tromey@redhat.com>
7106
7107 * gcore.h (objfile_find_memory_regions): Declare.
7108 * gcore.c (objfile_find_memory_regions): No longer static. Add
7109 "self" argument.
7110 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7111 * exec.c: Include gcore.h.
7112 (exec_set_find_memory_regions): Remove.
7113 (exec_find_memory_regions): Remove.
7114 (exec_do_find_memory_regions): Remove.
7115 (init_exec_ops): Update.
7116 * defs.h (exec_set_find_memory_regions): Remove.
7117
7118 2014-02-19 Tom Tromey <tromey@redhat.com>
7119
7120 * target-delegates.c: Rebuild.
7121 * target.h (struct target_ops) <to_extra_thread_info,
7122 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7123 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7124 not 0, in TARGET_DEFAULT_RETURN.
7125
7126 2014-02-19 Tom Tromey <tromey@redhat.com>
7127
7128 * target.c (complete_target_initialization): Remove casts. Use
7129 return_zero_has_execution.
7130 (return_zero): Add "ignore" argument.
7131 (return_zero_has_execution): New function.
7132 (init_dummy_target): Remove casts. Use
7133 return_zero_has_execution.
7134
7135 2014-02-19 Tom Tromey <tromey@redhat.com>
7136
7137 * target.c (update_current_target): Update comments. Do not
7138 INHERIT to_stratum.
7139
7140 2014-02-19 Tom Tromey <tromey@redhat.com>
7141
7142 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7143 needed.
7144 * corelow.c (core_read_description): Delegate when needed.
7145 * remote.c (remote_read_description): Delegate when needed.
7146 * target-delegates.c: Rebuild.
7147 * target.c (target_read_description): Rewrite.
7148 * target.h (struct target_ops) <to_read_description>: Update
7149 comment. Use TARGET_DEFAULT_RETURN.
7150
7151 2014-02-19 Tom Tromey <tromey@redhat.com>
7152
7153 * target-delegates.c: Rebuild.
7154 * target.c (update_current_target): Don't inherit or default
7155 to_can_run.
7156 (find_default_run_target): Check against delegate_can_run.
7157 * target.h (struct target_ops) <to_can_run>: Use
7158 TARGET_DEFAULT_RETURN.
7159
7160 2014-02-19 Tom Tromey <tromey@redhat.com>
7161
7162 * target-delegates.c: Rebuild.
7163 * target.c (target_disconnect): Unconditionally delegate.
7164 * target.h (struct target_ops) <to_disconnect>: Use
7165 TARGET_DEFAULT_NORETURN.
7166
7167 2014-02-19 Tom Tromey <tromey@redhat.com>
7168
7169 * record.c (record_stop): Unconditionally delegate.
7170 * target-delegates.c: Rebuild.
7171 * target.c (target_stop_recording): Unconditionally delegate.
7172 * target.h (struct target_ops) <to_stop_recording>: Use
7173 TARGET_DEFAULT_IGNORE.
7174
7175 2014-02-19 Tom Tromey <tromey@redhat.com>
7176
7177 * target-delegates.c: Rebuild.
7178 * target.c (target_enable_btrace): Unconditionally delegate.
7179 * target.h (struct target_ops) <to_enable_btrace>: Use
7180 TARGET_DEFAULT_NORETURN.
7181
7182 2014-02-19 Tom Tromey <tromey@redhat.com>
7183
7184 * target-delegates.c: Rebuild.
7185 * target.c (target_read_btrace): Unconditionally delegate.
7186 * target.h (struct target_ops) <to_read_btrace>: Use
7187 TARGET_DEFAULT_NORETURN.
7188
7189 2014-02-19 Tom Tromey <tromey@redhat.com>
7190
7191 * target-delegates.c: Rebuild.
7192 * target.c (target_teardown_btrace): Unconditionally delegate.
7193 * target.h (struct target_ops) <to_teardown_btrace>: Use
7194 TARGET_DEFAULT_NORETURN.
7195
7196 2014-02-19 Tom Tromey <tromey@redhat.com>
7197
7198 * target-delegates.c: Rebuild.
7199 * target.c (target_disable_btrace): Unconditionally delegate.
7200 * target.h (struct target_ops) <to_disable_btrace>: Use
7201 TARGET_DEFAULT_NORETURN.
7202
7203 2014-02-19 Tom Tromey <tromey@redhat.com>
7204
7205 * target-delegates.c: Rebuild.
7206 * target.c (default_search_memory): New function.
7207 (simple_search_memory): Update comment.
7208 (target_search_memory): Unconditionally delegate.
7209 * target.h (struct target_ops) <to_search_memory>: Use
7210 TARGET_DEFAULT_FUNC.
7211
7212 2014-02-19 Tom Tromey <tromey@redhat.com>
7213
7214 * auxv.c (default_auxv_parse): No longer static.
7215 (target_auxv_parse): Unconditionally delegate.
7216 * auxv.h (default_auxv_parse): Declare.
7217 * target-delegates.c: Rebuild.
7218 * target.c: Include auxv.h.
7219 * target.h (struct target_ops) <to_auxv_parse>: Use
7220 TARGET_DEFAULT_FUNC.
7221
7222 2014-02-19 Tom Tromey <tromey@redhat.com>
7223
7224 * target-delegates.c: Rebuild.
7225 * target.c (target_memory_map): Unconditionally delegate.
7226 * target.h (struct target_ops) <to_memory_map>: Use
7227 TARGET_DEFAULT_RETURN.
7228
7229 2014-02-19 Tom Tromey <tromey@redhat.com>
7230
7231 * target-delegates.c: Rebuild.
7232 * target.c (target_thread_alive): Unconditionally delegate.
7233 * target.h (struct target_ops) <to_thread_alive>: Use
7234 TARGET_DEFAULT_RETURN.
7235
7236 2014-02-19 Tom Tromey <tromey@redhat.com>
7237
7238 * target-delegates.c: Rebuild.
7239 * target.c (target_save_record): Unconditionally delegate.
7240 * target.h (struct target_ops) <to_save_record>: Use
7241 TARGET_DEFAULT_NORETURN.
7242
7243 2014-02-19 Tom Tromey <tromey@redhat.com>
7244
7245 * target-delegates.c: Rebuild.
7246 * target.c (target_delete_record): Unconditionally delegate.
7247 * target.h (struct target_ops) <to_delete_record>: Use
7248 TARGET_DEFAULT_NORETURN.
7249
7250 2014-02-19 Tom Tromey <tromey@redhat.com>
7251
7252 * target-delegates.c: Rebuild.
7253 * target.c (target_record_is_replaying): Unconditionally
7254 delegate.
7255 * target.h (struct target_ops) <to_record_is_replaying>: Use
7256 TARGET_DEFAULT_RETURN.
7257
7258 2014-02-19 Tom Tromey <tromey@redhat.com>
7259
7260 * target-delegates.c: Rebuild.
7261 * target.c (target_goto_record_begin): Unconditionally delegate.
7262 * target.h (struct target_ops) <to_goto_record_begin>: Use
7263 TARGET_DEFAULT_NORETURN.
7264
7265 2014-02-19 Tom Tromey <tromey@redhat.com>
7266
7267 * target-delegates.c: Rebuild.
7268 * target.c (target_goto_record_end): Unconditionally delegate.
7269 * target.h (struct target_ops) <to_goto_record_end>: Use
7270 TARGET_DEFAULT_NORETURN.
7271
7272 2014-02-19 Tom Tromey <tromey@redhat.com>
7273
7274 * target-delegates.c: Rebuild.
7275 * target.c (target_goto_record): Unconditionally delegate.
7276 * target.h (struct target_ops) <to_goto_record>: Use
7277 TARGET_DEFAULT_NORETURN.
7278
7279 2014-02-19 Tom Tromey <tromey@redhat.com>
7280
7281 * target-delegates.c: Rebuild.
7282 * target.c (target_insn_history): Unconditionally delegate.
7283 * target.h (struct target_ops) <to_insn_history>: Use
7284 TARGET_DEFAULT_NORETURN.
7285
7286 2014-02-19 Tom Tromey <tromey@redhat.com>
7287
7288 * target-delegates.c: Rebuild.
7289 * target.c (target_insn_history_from): Unconditionally delegate.
7290 * target.h (struct target_ops) <to_insn_history_from>: Use
7291 TARGET_DEFAULT_NORETURN.
7292
7293 2014-02-19 Tom Tromey <tromey@redhat.com>
7294
7295 * target-delegates.c: Rebuild.
7296 * target.c (target_insn_history_range): Unconditionally delegate.
7297 * target.h (struct target_ops) <to_insn_history_range>: Use
7298 TARGET_DEFAULT_NORETURN.
7299
7300 2014-02-19 Tom Tromey <tromey@redhat.com>
7301
7302 * target-delegates.c: Rebuild.
7303 * target.c (target_call_history): Unconditionally delegate.
7304 * target.h (struct target_ops) <to_call_history>: Use
7305 TARGET_DEFAULT_NORETURN.
7306
7307 2014-02-19 Tom Tromey <tromey@redhat.com>
7308
7309 * target-delegates.c: Rebuild.
7310 * target.c (target_call_history_from): Unconditionally delegate.
7311 * target.h (struct target_ops) <to_call_history_from>: Use
7312 TARGET_DEFAULT_NORETURN.
7313
7314 2014-02-19 Tom Tromey <tromey@redhat.com>
7315
7316 * target-delegates.c: Rebuild.
7317 * target.c (target_call_history_range): Unconditionally delegate.
7318 * target.h (struct target_ops) <to_call_history_range>: Use
7319 TARGET_DEFAULT_NORETURN.
7320
7321 2014-02-19 Tom Tromey <tromey@redhat.com>
7322
7323 * target-delegates.c: Rebuild.
7324 * target.c (target_verify_memory): Unconditionally delegate.
7325 * target.h (struct target_ops) <to_verify_memory>: Use
7326 TARGET_DEFAULT_NORETURN.
7327
7328 2014-02-19 Tom Tromey <tromey@redhat.com>
7329
7330 * target-delegates.c: Rebuild.
7331 * target.c (target_core_of_thread): Unconditionally delegate.
7332 * target.h (struct target_ops) <to_core_of_thread>: Use
7333 TARGET_DEFAULT_RETURN.
7334
7335 2014-02-19 Tom Tromey <tromey@redhat.com>
7336
7337 * target-delegates.c: Rebuild.
7338 * target.c (target_flash_done): Unconditionally delegate.
7339 * target.h (struct target_ops) <to_flash_done>: Use
7340 TARGET_DEFAULT_NORETURN.
7341
7342 2014-02-19 Tom Tromey <tromey@redhat.com>
7343
7344 * target-delegates.c: Rebuild.
7345 * target.c (target_flash_erase): Unconditionally delegate.
7346 * target.h (struct target_ops) <to_flash_erase>: Use
7347 TARGET_DEFAULT_NORETURN.
7348
7349 2014-02-19 Tom Tromey <tromey@redhat.com>
7350
7351 * target-delegates.c: Rebuild.
7352 * target.c (target_get_section_table): Unconditionally delegate.
7353 * target.h (struct target_ops) <to_get_section_table>: Use
7354 TARGET_DEFAULT_RETURN.
7355
7356 2014-02-19 Tom Tromey <tromey@redhat.com>
7357
7358 * target-delegates.c: Rebuild.
7359 * target.c (target_pid_to_str): Unconditionally delegate.
7360 (init_dummy_target): Don't initialize to_pid_to_str.
7361 (default_pid_to_str): Rename from dummy_pid_to_str.
7362 * target.h (struct target_ops) <to_pid_to_str>: Use
7363 TARGET_DEFAULT_FUNC.
7364
7365 2014-02-19 Tom Tromey <tromey@redhat.com>
7366
7367 * target-delegates.c: Rebuild.
7368 * target.c (target_find_new_threads): Unconditionally delegate.
7369 * target.h (struct target_ops) <to_find_new_threads>: 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_program_signals): Unconditionally delegate.
7376 * target.h (struct target_ops) <to_program_signals>: Use
7377 TARGET_DEFAULT_IGNORE.
7378
7379 2014-02-19 Tom Tromey <tromey@redhat.com>
7380
7381 * target-delegates.c: Rebuild.
7382 * target.c (target_pass_signals): Unconditionally delegate.
7383 * target.h (struct target_ops) <to_pass_signals>: Use
7384 TARGET_DEFAULT_IGNORE.
7385
7386 2014-02-19 Tom Tromey <tromey@redhat.com>
7387
7388 * target-delegates.c: Rebuild.
7389 * target.c (default_mourn_inferior): New function.
7390 (target_mourn_inferior): Unconditionally delegate.
7391 * target.h (struct target_ops) <to_mourn_inferior>: Use
7392 TARGET_DEFAULT_FUNC.
7393
7394 2014-02-19 Tom Tromey <tromey@redhat.com>
7395
7396 * target-delegates.c: Rebuild.
7397 * target.c (default_follow_fork): New function.
7398 (target_follow_fork): Unconditionally delegate.
7399 * target.h (struct target_ops) <to_follow_fork>: Use
7400 TARGET_DEFAULT_FUNC.
7401
7402 2014-02-19 Tom Tromey <tromey@redhat.com>
7403
7404 * target-delegates.c: Rebuild.
7405 * target.c (target_kill): Unconditionally delegate.
7406 * target.h (struct target_ops) <to_kill>: Use
7407 TARGET_DEFAULT_NORETURN.
7408
7409 2014-02-19 Tom Tromey <tromey@redhat.com>
7410
7411 * target-delegates.c: Rebuild.
7412 * target.c (target_masked_watch_num_registers): Unconditionally
7413 delegate.
7414 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7415 Use TARGET_DEFAULT_RETURN.
7416
7417 2014-02-19 Tom Tromey <tromey@redhat.com>
7418
7419 * target-delegates.c: Rebuild.
7420 * target.c (target_remove_mask_watchpoint): Unconditionally
7421 delegate.
7422 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7423 TARGET_DEFAULT_RETURN.
7424
7425 2014-02-19 Tom Tromey <tromey@redhat.com>
7426
7427 * target-delegates.c: Rebuild.
7428 * target.c (target_insert_mask_watchpoint): Unconditionally
7429 delegate.
7430 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7431 TARGET_DEFAULT_RETURN.
7432
7433 2014-02-19 Tom Tromey <tromey@redhat.com>
7434
7435 * target-delegates.c: Rebuild.
7436 * target.c (target_ranged_break_num_registers): Unconditionally
7437 delegate.
7438 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7439 Use TARGET_DEFAULT_RETURN.
7440
7441 2014-02-19 Tom Tromey <tromey@redhat.com>
7442
7443 * target-delegates.c: Rebuild.
7444 * target.c (target_fetch_registers): Unconditionally delegate.
7445 * target.h (struct target_ops) <to_fetch_registers>: Use
7446 TARGET_DEFAULT_NORETURN.
7447
7448 2014-02-19 Tom Tromey <tromey@redhat.com>
7449
7450 * target-delegates.c: Rebuild.
7451 * target.c (update_current_target): Don't inherit or default
7452 to_stop.
7453 * target.h (struct target_ops) <to_stop>: Use
7454 TARGET_DEFAULT_IGNORE.
7455
7456 2014-02-19 Tom Tromey <tromey@redhat.com>
7457
7458 * target-delegates.c: Rebuild.
7459 * target.c (update_current_target): Don't inherit or default
7460 to_can_run_breakpoint_commands.
7461 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7462 Use TARGET_DEFAULT_RETURN.
7463
7464 2014-02-19 Tom Tromey <tromey@redhat.com>
7465
7466 * target-delegates.c: Rebuild.
7467 * target.c (update_current_target): Don't inherit or default
7468 to_supports_evaluation_of_breakpoint_conditions.
7469 * target.h (struct target_ops)
7470 <to_supports_evaluation_of_breakpoint_conditions>: Use
7471 TARGET_DEFAULT_RETURN.
7472
7473 2014-02-19 Tom Tromey <tromey@redhat.com>
7474
7475 * target-delegates.c: Rebuild.
7476 * target.c (update_current_target): Don't inherit or default
7477 to_augmented_libraries_svr4_read.
7478 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7479 Use TARGET_DEFAULT_RETURN.
7480
7481 2014-02-19 Tom Tromey <tromey@redhat.com>
7482
7483 * target-delegates.c: Rebuild.
7484 * target.c (update_current_target): Don't inherit or default
7485 to_can_use_agent.
7486 * target.h (struct target_ops) <to_can_use_agent>: Use
7487 TARGET_DEFAULT_RETURN.
7488
7489 2014-02-19 Tom Tromey <tromey@redhat.com>
7490
7491 * target-delegates.c: Rebuild.
7492 * target.c (update_current_target): Don't inherit or default
7493 to_use_agent.
7494 * target.h (struct target_ops) <to_use_agent>: Use
7495 TARGET_DEFAULT_NORETURN.
7496
7497 2014-02-19 Tom Tromey <tromey@redhat.com>
7498
7499 * target-delegates.c: Rebuild.
7500 * target.c (update_current_target): Don't inherit or default
7501 to_traceframe_info.
7502 (return_null): Remove.
7503 * target.h (struct target_ops) <to_traceframe_info>: Use
7504 TARGET_DEFAULT_RETURN.
7505
7506 2014-02-19 Tom Tromey <tromey@redhat.com>
7507
7508 * target-delegates.c: Rebuild.
7509 * target.c (update_current_target): Don't inherit or default
7510 to_static_tracepoint_markers_by_strid.
7511 * target.h (struct target_ops)
7512 <to_static_tracepoint_markers_by_strid>: Use
7513 TARGET_DEFAULT_NORETURN.
7514
7515 2014-02-19 Tom Tromey <tromey@redhat.com>
7516
7517 * target-delegates.c: Rebuild.
7518 * target.c (update_current_target): Don't inherit or default
7519 to_static_tracepoint_marker_at.
7520 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7521 Use TARGET_DEFAULT_RETURN.
7522
7523 2014-02-19 Tom Tromey <tromey@redhat.com>
7524
7525 * target-delegates.c: Rebuild.
7526 * target.c (update_current_target): Don't inherit or default
7527 to_set_permissions.
7528 * target.h (struct target_ops) <to_set_permissions>: Use
7529 TARGET_DEFAULT_IGNORE.
7530
7531 2014-02-19 Tom Tromey <tromey@redhat.com>
7532
7533 * target-delegates.c: Rebuild.
7534 * target.c (update_current_target): Don't inherit or default
7535 to_get_tib_address.
7536 * target.h (struct target_ops) <to_get_tib_address>: Use
7537 TARGET_DEFAULT_NORETURN.
7538
7539 2014-02-19 Tom Tromey <tromey@redhat.com>
7540
7541 * target-delegates.c: Rebuild.
7542 * target.c (update_current_target): Don't inherit or default
7543 to_set_trace_notes.
7544 * target.h (struct target_ops) <to_set_trace_notes>: Use
7545 TARGET_DEFAULT_RETURN.
7546
7547 2014-02-19 Tom Tromey <tromey@redhat.com>
7548
7549 * target-delegates.c: Rebuild.
7550 * target.c (update_current_target): Don't initialize
7551 to_set_trace_buffer_size.
7552 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7553 TARGET_DEFAULT_IGNORE.
7554
7555 2014-02-19 Tom Tromey <tromey@redhat.com>
7556
7557 * target-delegates.c: Rebuild.
7558 * target.c (update_current_target): Don't inherit or default
7559 to_set_circular_trace_buffer.
7560 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7561 TARGET_DEFAULT_IGNORE.
7562
7563 2014-02-19 Tom Tromey <tromey@redhat.com>
7564
7565 * target-delegates.c: Rebuild.
7566 * target.c (update_current_target): Don't inherit or default
7567 to_set_disconnected_tracing.
7568 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7569 TARGET_DEFAULT_IGNORE.
7570
7571 2014-02-19 Tom Tromey <tromey@redhat.com>
7572
7573 * target-delegates.c: Rebuild.
7574 * target.c (update_current_target): Don't inherit or default
7575 to_get_min_fast_tracepoint_insn_len.
7576 (return_minus_one): Remove.
7577 * target.h (struct target_ops)
7578 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7579
7580 2014-02-19 Tom Tromey <tromey@redhat.com>
7581
7582 * target-delegates.c: Rebuild.
7583 * target.c (update_current_target): Don't inherit or default
7584 to_get_raw_trace_data.
7585 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7586 TARGET_DEFAULT_NORETURN.
7587
7588 2014-02-19 Tom Tromey <tromey@redhat.com>
7589
7590 * target-delegates.c: Rebuild.
7591 * target.c (update_current_target): Don't inherit or default
7592 to_upload_trace_state_variables.
7593 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7594 Use TARGET_DEFAULT_RETURN.
7595
7596 2014-02-19 Tom Tromey <tromey@redhat.com>
7597
7598 * target-delegates.c: Rebuild.
7599 * target.c (update_current_target): Don't inherit or default
7600 to_upload_tracepoints.
7601 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7602 TARGET_DEFAULT_RETURN.
7603
7604 2014-02-19 Tom Tromey <tromey@redhat.com>
7605
7606 * target-delegates.c: Rebuild.
7607 * target.c (update_current_target): Don't inherit or default
7608 to_save_trace_data.
7609 * target.h (struct target_ops) <to_save_trace_data>: Use
7610 TARGET_DEFAULT_NORETURN.
7611
7612 2014-02-19 Tom Tromey <tromey@redhat.com>
7613
7614 * target-delegates.c: Rebuild.
7615 * target.c (update_current_target): Don't inherit or default
7616 to_get_trace_state_variable_value.
7617 * target.h (struct target_ops)
7618 <to_get_trace_state_variable_value>: Use 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_trace_find.
7625 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7626
7627 2014-02-19 Tom Tromey <tromey@redhat.com>
7628
7629 * target-delegates.c: Rebuild.
7630 * target.c (update_current_target): Don't inherit or default
7631 to_trace_stop.
7632 * target.h (struct target_ops) <to_trace_stop>: Use
7633 TARGET_DEFAULT_NORETURN.
7634
7635 2014-02-19 Tom Tromey <tromey@redhat.com>
7636
7637 * target-delegates.c: Rebuild.
7638 * target.c (update_current_target): Don't inherit or default
7639 to_get_tracepoint_status.
7640 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7641 TARGET_DEFAULT_NORETURN.
7642
7643 2014-02-19 Tom Tromey <tromey@redhat.com>
7644
7645 * target-delegates.c: Rebuild.
7646 * target.c (update_current_target): Don't inherit or default
7647 to_get_trace_status.
7648 * target.h (struct target_ops) <to_get_trace_status>: Use
7649 TARGET_DEFAULT_RETURN.
7650
7651 2014-02-19 Tom Tromey <tromey@redhat.com>
7652
7653 * target-delegates.c: Rebuild.
7654 * target.c (update_current_target): Don't inherit or default
7655 to_trace_start.
7656 * target.h (struct target_ops) <to_trace_start>: Use
7657 TARGET_DEFAULT_NORETURN.
7658
7659 2014-02-19 Tom Tromey <tromey@redhat.com>
7660
7661 * target-delegates.c: Rebuild.
7662 * target.c (update_current_target): Don't inherit or default
7663 to_trace_set_readonly_regions.
7664 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7665 Use TARGET_DEFAULT_NORETURN.
7666
7667 2014-02-19 Tom Tromey <tromey@redhat.com>
7668
7669 * target-delegates.c: Rebuild.
7670 * target.c (update_current_target): Don't inherit or default
7671 to_disable_tracepoint.
7672 * target.h (struct target_ops) <to_disable_tracepoint>: Use
7673 TARGET_DEFAULT_NORETURN.
7674
7675 2014-02-19 Tom Tromey <tromey@redhat.com>
7676
7677 * target-delegates.c: Rebuild.
7678 * target.c (update_current_target): Don't inherit or default
7679 to_enable_tracepoint.
7680 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7681 TARGET_DEFAULT_NORETURN.
7682
7683 2014-02-19 Tom Tromey <tromey@redhat.com>
7684
7685 * target-delegates.c: Rebuild.
7686 * target.c (update_current_target): Don't inherit or default
7687 to_download_trace_state_variable.
7688 * target.h (struct target_ops) <to_download_trace_state_variable>:
7689 Use TARGET_DEFAULT_NORETURN.
7690
7691 2014-02-19 Tom Tromey <tromey@redhat.com>
7692
7693 * target-delegates.c: Rebuild.
7694 * target.c (update_current_target): Don't inherit or default
7695 to_can_download_tracepoint.
7696 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7697 TARGET_DEFAULT_RETURN.
7698
7699 2014-02-19 Tom Tromey <tromey@redhat.com>
7700
7701 * target-delegates.c: Rebuild.
7702 * target.c (update_current_target): Don't inherit or default
7703 to_download_tracepoint.
7704 * target.h (struct target_ops) <to_download_tracepoint>: Use
7705 TARGET_DEFAULT_NORETURN.
7706
7707 2014-02-19 Tom Tromey <tromey@redhat.com>
7708
7709 * target-delegates.c: Rebuild.
7710 * target.c (update_current_target): Don't inherit or default
7711 to_trace_init.
7712 * target.h (struct target_ops) <to_trace_init>: Use
7713 TARGET_DEFAULT_RETURN.
7714
7715 2014-02-19 Tom Tromey <tromey@redhat.com>
7716
7717 * target-delegates.c: Rebuild.
7718 * target.c (update_current_target): Don't inherit or default
7719 to_supports_string_tracing.
7720 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7721 TARGET_DEFAULT_RETURN.
7722
7723 2014-02-19 Tom Tromey <tromey@redhat.com>
7724
7725 * target-delegates.c: Rebuild.
7726 * target.c (update_current_target): Don't inherit or default
7727 to_supports_enable_disable_tracepoint.
7728 * target.h (struct target_ops)
7729 <to_supports_enable_disable_tracepoint>: Use
7730 TARGET_DEFAULT_RETURN.
7731
7732 2014-02-19 Tom Tromey <tromey@redhat.com>
7733
7734 * target-delegates.c: Rebuild.
7735 * target.c (update_current_target): Don't inherit or default
7736 to_supports_multi_process.
7737 * target.h (struct target_ops) <to_supports_multi_process>: Use
7738 TARGET_DEFAULT_RETURN.
7739
7740 2014-02-19 Tom Tromey <tromey@redhat.com>
7741
7742 * target-delegates.c: Rebuild.
7743 * target.c (update_current_target): Don't inherit or default
7744 to_get_ada_task_ptid.
7745 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
7746 TARGET_DEFAULT_FUNC.
7747
7748 2014-02-19 Tom Tromey <tromey@redhat.com>
7749
7750 * target-delegates.c: Rebuild.
7751 * target.c (update_current_target): Don't inherit or default
7752 to_thread_architecture.
7753 * target.h (struct target_ops) <to_thread_architecture>: Use
7754 TARGET_DEFAULT_FUNC.
7755
7756 2014-02-19 Tom Tromey <tromey@redhat.com>
7757
7758 * target-delegates.c: Rebuild.
7759 * target.c (update_current_target): Don't inherit or default
7760 to_execution_direction.
7761 * target.h (struct target_ops) <to_execution_direction>: Use
7762 TARGET_DEFAULT_FUNC.
7763
7764 2014-02-19 Tom Tromey <tromey@redhat.com>
7765
7766 * target-delegates.c: Rebuild.
7767 * target.c (update_current_target): Don't inherit or default
7768 to_can_execute_reverse.
7769 * target.h (struct target_ops) <to_can_execute_reverse>: Use
7770 TARGET_DEFAULT_RETURN.
7771 (target_can_execute_reverse): Unconditionally delegate.
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_goto_bookmark.
7778 (dummy_goto_bookmark): Remove.
7779 (init_dummy_target): Don't inherit or default to_goto_bookmark.
7780 * target.h (struct target_ops) <to_goto_bookmark>: Use
7781 TARGET_DEFAULT_NORETURN.
7782
7783 2014-02-19 Tom Tromey <tromey@redhat.com>
7784
7785 * target-delegates.c: Rebuild.
7786 * target.c (update_current_target): Don't inherit or default
7787 to_get_bookmark.
7788 (dummy_get_bookmark): Remove.
7789 (init_dummy_target): Don't inherit or default to_get_bookmark.
7790 * target.h (struct target_ops) <to_get_bookmark>: Use
7791 TARGET_DEFAULT_NORETURN
7792
7793 2014-02-19 Tom Tromey <tromey@redhat.com>
7794
7795 * target-delegates.c: Rebuild.
7796 * target.c (update_current_target): Don't inherit or default
7797 to_make_corefile_notes.
7798 (init_dummy_target): Don't initialize to_make_corefile_notes.
7799 * target.h (struct target_ops) <to_make_corefile_notes>: Use
7800 TARGET_DEFAULT_FUNC.
7801
7802 2014-02-19 Tom Tromey <tromey@redhat.com>
7803
7804 * target-delegates.c: Rebuild.
7805 * target.c (update_current_target): Don't inherit or default
7806 to_find_memory_regions.
7807 (init_dummy_target): Don't initialize to_find_memory_regions.
7808 * target.h (struct target_ops) <to_find_memory_regions>: Use
7809 TARGET_DEFAULT_FUNC.
7810
7811 2014-02-19 Tom Tromey <tromey@redhat.com>
7812
7813 * target-delegates.c: Rebuild.
7814 * target.c (update_current_target): Don't inherit or default
7815 to_log_command.
7816 * target.h (struct target_ops) <to_log_command>: Use
7817 TARGET_DEFAULT_IGNORE.
7818 (target_log_command): Unconditionally delegate.
7819
7820 2014-02-19 Tom Tromey <tromey@redhat.com>
7821
7822 * target-delegates.c: Rebuild.
7823 * target.c (update_current_target): Don't inherit or default
7824 to_pid_to_exec_file.
7825 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
7826 TARGET_DEFAULT_RETURN.
7827
7828 2014-02-19 Tom Tromey <tromey@redhat.com>
7829
7830 * target-delegates.c: Rebuild.
7831 * target.c (update_current_target): Don't inherit or default
7832 to_thread_name.
7833 (target_thread_name): Unconditionally delegate.
7834 * target.h (struct target_ops) <to_thread_name>: 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_extra_thread_info.
7842 * target.h (struct target_ops) <to_extra_thread_info>: Use
7843 TARGET_DEFAULT_RETURN.
7844
7845 2014-02-19 Tom Tromey <tromey@redhat.com>
7846
7847 * target-delegates.c: Rebuild.
7848 * target.c (update_current_target): Don't inherit or default
7849 to_has_exited.
7850 * target.h (struct target_ops) <to_has_exited>: Use
7851 TARGET_DEFAULT_RETURN..
7852
7853 2014-02-19 Tom Tromey <tromey@redhat.com>
7854
7855 * target-delegates.c: Rebuild.
7856 * target.c (update_current_target): Don't inherit or default
7857 to_set_syscall_catchpoint.
7858 (return_one): Remove.
7859 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
7860 TARGET_DEFAULT_RETURN.
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_insert_exec_catchpoint.
7867 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7868 TARGET_DEFAULT_RETURN.
7869
7870 2014-01-08 Tom Tromey <tromey@redhat.com>
7871
7872 * target-delegates.c: Rebuild.
7873 * target.c (update_current_target): Don't inherit or default
7874 to_insert_exec_catchpoint.
7875 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7876 TARGET_DEFAULT_RETURN.
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_remove_vfork_catchpoint.
7883 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
7884 TARGET_DEFAULT_RETURN.
7885
7886 2014-02-19 Tom Tromey <tromey@redhat.com>
7887
7888 * target-delegates.c: Rebuild.
7889 * target.c (update_current_target): Don't inherit or default
7890 to_insert_vfork_catchpoint.
7891 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
7892 TARGET_DEFAULT_RETURN.
7893
7894 2014-02-19 Tom Tromey <tromey@redhat.com>
7895
7896 * target-delegates.c: Rebuild.
7897 * target.c (update_current_target): Don't inherit or default
7898 to_remove_fork_catchpoint.
7899 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
7900 TARGET_DEFAULT_RETURN.
7901
7902 2014-02-19 Tom Tromey <tromey@redhat.com>
7903
7904 * target-delegates.c: Rebuild.
7905 * target.c (update_current_target): Don't inherit or default
7906 to_insert_fork_catchpoint.
7907 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
7908 TARGET_DEFAULT_RETURN.
7909
7910 2014-02-19 Tom Tromey <tromey@redhat.com>
7911
7912 * target-delegates.c: Rebuild.
7913 * target.c (update_current_target): Don't inherit or default
7914 to_post_startup_inferior.
7915 * target.h (struct target_ops) <to_post_startup_inferior>: Use
7916 TARGET_DEFAULT_IGNORE.
7917
7918 2014-02-19 Tom Tromey <tromey@redhat.com>
7919
7920 * target-delegates.c: Rebuild.
7921 * target.c (update_current_target): Don't inherit or default
7922 to_load.
7923 * target.h (struct target_ops) <to_load>: Use
7924 TARGET_DEFAULT_NORETURN.
7925
7926 2014-02-19 Tom Tromey <tromey@redhat.com>
7927
7928 * target-delegates.c: Rebuild.
7929 * target.c (update_current_target): Don't inherit or default
7930 to_terminal_info.
7931 * target.h (struct target_ops) <to_terminal_info>: Use
7932 TARGET_DEFAULT_FUNC.
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_terminal_save_ours.
7939 * target.h (struct target_ops) <to_terminal_save_ours>: Use
7940 TARGET_DEFAULT_IGNORE.
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_terminal_ours.
7947 * target.h (struct target_ops) <to_terminal_ours>: Use
7948 TARGET_DEFAULT_IGNORE.
7949
7950 2014-02-19 Tom Tromey <tromey@redhat.com>
7951
7952 * target-delegates.c: Rebuild.
7953 * target.c (update_current_target): Don't inherit or default
7954 to_terminal_ours_for_output.
7955 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
7956 TARGET_DEFAULT_IGNORE.
7957
7958 2014-02-19 Tom Tromey <tromey@redhat.com>
7959
7960 * target-delegates.c: Rebuild.
7961 * target.c (update_current_target): Don't inherit or default
7962 to_terminal_inferior.
7963 * target.h (struct target_ops) <to_terminal_inferior>: Use
7964 TARGET_DEFAULT_IGNORE.
7965
7966 2014-02-19 Tom Tromey <tromey@redhat.com>
7967
7968 * target-delegates.c: Rebuild.
7969 * target.c (update_current_target): Don't inherit or default
7970 to_terminal_init.
7971 * target.h (struct target_ops) <to_terminal_init>: Use
7972 TARGET_DEFAULT_IGNORE.
7973
7974 2014-02-19 Tom Tromey <tromey@redhat.com>
7975
7976 * target-delegates.c: Rebuild.
7977 * target.c (update_current_target): Don't inherit or default
7978 to_can_accel_watchpoint_condition.
7979 * target.h (struct target_ops)
7980 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
7981
7982 2014-02-19 Tom Tromey <tromey@redhat.com>
7983
7984 * target-delegates.c: Rebuild.
7985 * target.c (update_current_target): Don't inherit or default
7986 to_region_ok_for_hw_watchpoint.
7987 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
7988 Use TARGET_DEFAULT_FUNC.
7989
7990 2014-02-19 Tom Tromey <tromey@redhat.com>
7991
7992 * target-delegates.c: Rebuild.
7993 * target.c (update_current_target): Don't inherit or default
7994 to_watchpoint_addr_within_range.
7995 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
7996 Use TARGET_DEFAULT_FUNC.
7997
7998 2014-02-19 Tom Tromey <tromey@redhat.com>
7999
8000 * target-delegates.c: Rebuild.
8001 * target.c (update_current_target): Don't inherit or default
8002 to_remove_watchpoint.
8003 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8004 TARGET_DEFAULT_NORETURN.
8005
8006 2014-02-19 Tom Tromey <tromey@redhat.com>
8007
8008 * target-delegates.c: Rebuild.
8009 * target.c (update_current_target): Don't inherit or default
8010 to_insert_watchpoint.
8011 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8012 TARGET_DEFAULT_RETURN.
8013
8014 2014-02-19 Tom Tromey <tromey@redhat.com>
8015
8016 * target-delegates.c: Rebuild.
8017 * target.c (update_current_target): Don't inherit or default
8018 to_remove_hw_breakpoint.
8019 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8020 TARGET_DEFAULT_RETURN.
8021
8022 2014-02-19 Tom Tromey <tromey@redhat.com>
8023
8024 * target-delegates.c: Rebuild.
8025 * target.c (update_current_target): Don't inherit or default
8026 to_insert_hw_breakpoint.
8027 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8028 TARGET_DEFAULT_RETURN.
8029
8030 2014-02-19 Tom Tromey <tromey@redhat.com>
8031
8032 * target-delegates.c: Rebuild.
8033 * target.c (update_current_target): Don't inherit or default
8034 to_can_use_hw_breakpoint.
8035 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8036 TARGET_DEFAULT_RETURN.
8037
8038 2014-02-19 Tom Tromey <tromey@redhat.com>
8039
8040 * target-delegates.c: Rebuild.
8041 * target.c (update_current_target): Don't inherit or default
8042 to_files_info.
8043 * target.h (struct target_ops) <to_files_info>: Use
8044 TARGET_DEFAULT_IGNORE.
8045
8046 2014-02-19 Tom Tromey <tromey@redhat.com>
8047
8048 * target-delegates.c: Rebuild.
8049 * target.c (update_current_target): Don't inherit or default
8050 to_store.
8051 * target.h (struct target_ops) <to_store>: Use
8052 TARGET_DEFAULT_NORETURN.
8053
8054 2014-02-19 Tom Tromey <tromey@redhat.com>
8055
8056 * target-delegates.c: Rebuild.
8057 * target.c (update_current_target): Don't inherit or default
8058 to_post_attach.
8059 * target.h (struct target_ops) <to_post_attach>: Use
8060 TARGET_DEFAULT_IGNORE.
8061
8062 2014-02-19 Tom Tromey <tromey@redhat.com>
8063
8064 * target-delegates.c: Rebuild.
8065 * target.c (update_current_target): Don't inherit or default
8066 to_rcmd.
8067 (default_rcmd): New function.
8068 (do_monitor_command): Unconditionally delegate.
8069 * target.h (struct target_ops) <to_rmcd>: Use
8070 TARGET_DEFAULT_FUNC.
8071
8072 2014-02-19 Tom Tromey <tromey@redhat.com>
8073
8074 * target-delegates.c: Rebuild.
8075 * target.c (init_dummy_target): Don't initialize to_attach.
8076 (target_attach): Unconditionally delegate.
8077 * target.h (struct target_ops) <to_attach>: Use
8078 TARGET_DEFAULT_FUNC.
8079
8080 2014-02-19 Tom Tromey <tromey@redhat.com>
8081
8082 * target-delegates.c: Rebuild.
8083 * target.c (target_detach): Unconditionally delegate.
8084 (init_dummy_target): Don't initialize to_detach.
8085 * target.h (struct target_ops) <to_detach>: Use
8086 TARGET_DEFAULT_IGNORE.
8087
8088 2014-02-19 Tom Tromey <tromey@redhat.com>
8089
8090 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8091 Add argument.
8092 (target_augmented_libraries_svr4_read): Add argument.
8093 * target.c (update_current_target): Update.
8094 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8095 argument.
8096
8097 2014-02-19 Tom Tromey <tromey@redhat.com>
8098
8099 * target.h (struct target_ops) <to_call_history_range>: Add
8100 argument.
8101 * target.c (target_call_history_range): Add argument.
8102 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8103 argument.
8104 (record_btrace_call_history_from): Update.
8105
8106 2014-02-19 Tom Tromey <tromey@redhat.com>
8107
8108 * target.h (struct target_ops) <to_call_history_from>: Add
8109 argument.
8110 * target.c (target_call_history_from): Add argument.
8111 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8112 argument.
8113
8114 2014-02-19 Tom Tromey <tromey@redhat.com>
8115
8116 * target.h (struct target_ops) <to_call_history>: Add argument.
8117 * target.c (target_call_history): Add argument.
8118 * record-btrace.c (record_btrace_call_history): Add 'self'
8119 argument.
8120
8121 2014-02-19 Tom Tromey <tromey@redhat.com>
8122
8123 * target.h (struct target_ops) <to_insn_history_range>: Add
8124 argument.
8125 * target.c (target_insn_history_range): Add argument.
8126 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8127 argument.
8128 (record_btrace_insn_history_from): Update.
8129
8130 2014-02-19 Tom Tromey <tromey@redhat.com>
8131
8132 * target.h (struct target_ops) <to_insn_history_from>: Add
8133 argument.
8134 * target.c (target_insn_history_from): Add argument.
8135 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8136 argument.
8137
8138 2014-02-19 Tom Tromey <tromey@redhat.com>
8139
8140 * target.h (struct target_ops) <to_insn_history>: Add argument.
8141 * target.c (target_insn_history): Add argument.
8142 * record-btrace.c (record_btrace_insn_history): Add 'self'
8143 argument.
8144
8145 2014-02-19 Tom Tromey <tromey@redhat.com>
8146
8147 * target.h (struct target_ops) <to_goto_record>: Add argument.
8148 * target.c (target_goto_record): Add argument.
8149 * record-full.c (record_full_goto): Add 'self' argument.
8150 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8151
8152 2014-02-19 Tom Tromey <tromey@redhat.com>
8153
8154 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8155 * target.c (target_goto_record_end): Add argument.
8156 * record-full.c (record_full_goto_end): Add 'self' argument.
8157 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8158
8159 2014-02-19 Tom Tromey <tromey@redhat.com>
8160
8161 * target.h (struct target_ops) <to_goto_record_begin>: Add
8162 argument.
8163 * target.c (target_goto_record_begin): Add argument.
8164 * record-full.c (record_full_goto_begin): Add 'self' argument.
8165 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8166 argument.
8167
8168 2014-02-19 Tom Tromey <tromey@redhat.com>
8169
8170 * target.h (struct target_ops) <to_record_is_replaying>: Add
8171 argument.
8172 * target.c (target_record_is_replaying): Add argument.
8173 * record-full.c (record_full_is_replaying): Add 'self' argument.
8174 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8175 argument.
8176 (record_btrace_xfer_partial, record_btrace_store_registers)
8177 (record_btrace_prepare_to_store, record_btrace_resume)
8178 (record_btrace_wait, record_btrace_decr_pc_after_break)
8179 (record_btrace_find_new_threads, record_btrace_thread_alive):
8180 Update.
8181
8182 2014-02-19 Tom Tromey <tromey@redhat.com>
8183
8184 * target.h (struct target_ops) <to_delete_record>: Add argument.
8185 * target.c (target_delete_record): Add argument.
8186 * record-full.c (record_full_delete): Add 'self' argument.
8187
8188 2014-02-19 Tom Tromey <tromey@redhat.com>
8189
8190 * target.h (struct target_ops) <to_save_record>: Add argument.
8191 * target.c (target_save_record): Add argument.
8192 * record-full.c (record_full_save): Add 'self' argument.
8193 (record_full_save): Add 'self' argument.
8194
8195 2014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * target.h (struct target_ops) <to_info_record>: Add argument.
8198 * target.c (target_info_record): Add argument.
8199 * record.c (info_record_command): Add argument.
8200 * record-full.c (record_full_info): Add 'self' argument.
8201 * record-btrace.c (record_btrace_info): Add 'self' argument.
8202
8203 2014-02-19 Tom Tromey <tromey@redhat.com>
8204
8205 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8206 * target.c (target_stop_recording): Add argument.
8207 * record.c (record_stop): Add argument.
8208 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8209 argument.
8210
8211 2014-02-19 Tom Tromey <tromey@redhat.com>
8212
8213 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8214 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8215 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8216 argument.
8217 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8218 (_initialize_amd64_linux_nat): Use it.
8219 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8220 (_initialize_i386_linux_nat): Use it.
8221
8222 2014-02-19 Tom Tromey <tromey@redhat.com>
8223
8224 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8225 * target.c (target_teardown_btrace): Add argument.
8226 * remote.c (remote_teardown_btrace): Add 'self' argument.
8227 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8228 argument.
8229 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8230 argument.
8231
8232 2014-02-19 Tom Tromey <tromey@redhat.com>
8233
8234 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8235 * target.c (target_disable_btrace): Add argument.
8236 * remote.c (remote_disable_btrace): Add 'self' argument.
8237 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8238 argument.
8239 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8240 argument.
8241
8242 2014-02-19 Tom Tromey <tromey@redhat.com>
8243
8244 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8245 * target.c (target_enable_btrace): Add argument.
8246 * remote.c (remote_enable_btrace): Add 'self' argument.
8247 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8248 argument.
8249 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8250 argument.
8251
8252 2014-02-19 Tom Tromey <tromey@redhat.com>
8253
8254 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8255 (target_can_use_agent): Add argument.
8256 * target.c (update_current_target): Update.
8257 * remote.c (remote_can_use_agent): Add 'self' argument.
8258 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8259
8260 2014-02-19 Tom Tromey <tromey@redhat.com>
8261
8262 * target.h (struct target_ops) <to_use_agent>: Add argument.
8263 (target_use_agent): Add argument.
8264 * target.c (update_current_target): Update.
8265 * remote.c (remote_use_agent): Add 'self' argument.
8266 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8267
8268 2014-02-19 Tom Tromey <tromey@redhat.com>
8269
8270 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8271 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8272 (target_traceframe_info): Add argument.
8273 * target.c (update_current_target): Update.
8274 * remote.c (remote_traceframe_info): Add 'self' argument.
8275 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8276
8277 2014-02-19 Tom Tromey <tromey@redhat.com>
8278
8279 * target.h (target_static_tracepoint_markers_by_strid): Add
8280 argument.
8281 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8282 'self' argument.
8283 * target.c (update_current_target): Update.
8284 * remote.c (struct target_ops)
8285 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8286 * linux-nat.c (struct target_ops)
8287 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8288
8289 2014-02-19 Tom Tromey <tromey@redhat.com>
8290
8291 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8292 Add argument.
8293 (target_static_tracepoint_marker_at): Add argument.
8294 * target.c (update_current_target): Update.
8295 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8296 argument.
8297
8298 2014-02-19 Tom Tromey <tromey@redhat.com>
8299
8300 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8301 (target_set_permissions): Add argument.
8302 * target.c (update_current_target): Update.
8303 * remote.c (remote_set_permissions): Add 'self' argument.
8304 (remote_start_remote): Update.
8305
8306 2014-02-19 Tom Tromey <tromey@redhat.com>
8307
8308 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8309 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8310 (target_get_tib_address): Add argument.
8311 * target.c (update_current_target): Update.
8312 * remote.c (remote_get_tib_address): Add 'self' argument.
8313
8314 2014-02-19 Tom Tromey <tromey@redhat.com>
8315
8316 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8317 (target_set_trace_notes): Add argument.
8318 * target.c (update_current_target): Update.
8319 * remote.c (remote_set_trace_notes): Add 'self' argument.
8320
8321 2014-02-19 Tom Tromey <tromey@redhat.com>
8322
8323 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8324 argument.
8325 (target_set_trace_buffer_size): Add argument.
8326 * target.c (update_current_target): Update.
8327 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8328
8329 2014-02-19 Tom Tromey <tromey@redhat.com>
8330
8331 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8332 argument.
8333 (target_set_circular_trace_buffer): Add argument.
8334 * target.c (update_current_target): Update.
8335 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8336 argument.
8337
8338 2014-02-19 Tom Tromey <tromey@redhat.com>
8339
8340 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8341 argument.
8342 (target_set_disconnected_tracing): Add argument.
8343 * target.c (update_current_target): Update.
8344 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8345
8346 2014-02-19 Tom Tromey <tromey@redhat.com>
8347
8348 * target.h (struct target_ops)
8349 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8350 (target_get_min_fast_tracepoint_insn_len): Add argument.
8351 * target.c (update_current_target): Update.
8352 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8353 argument.
8354
8355 2014-02-19 Tom Tromey <tromey@redhat.com>
8356
8357 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8358 argument.
8359 (target_get_raw_trace_data): Add argument.
8360 * target.c (update_current_target): Update.
8361 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8362
8363 2014-02-19 Tom Tromey <tromey@redhat.com>
8364
8365 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8366 Add argument.
8367 (target_upload_trace_state_variables): Add argument.
8368 * target.c (update_current_target): Update.
8369 * remote.c (remote_upload_trace_state_variables): Add 'self'
8370 argument.
8371 (remote_start_remote): Update.
8372
8373 2014-02-19 Tom Tromey <tromey@redhat.com>
8374
8375 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8376 argument.
8377 (target_upload_tracepoints): Add argument.
8378 * target.c (update_current_target): Update.
8379 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8380 (remote_start_remote): Update.
8381
8382 2014-02-19 Tom Tromey <tromey@redhat.com>
8383
8384 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8385 (target_save_trace_data): Add argument.
8386 * target.c (update_current_target): Update.
8387 * remote.c (remote_save_trace_data): Add 'self' argument.
8388
8389 2014-02-19 Tom Tromey <tromey@redhat.com>
8390
8391 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8392 argument.
8393 * target.h (struct target_ops)
8394 <to_get_trace_state_variable_value>: Add argument.
8395 (target_get_trace_state_variable_value): Add argument.
8396 * target.c (update_current_target): Update.
8397 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8398 argument.
8399 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8400
8401 2014-02-19 Tom Tromey <tromey@redhat.com>
8402
8403 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8404 * target.h (struct target_ops) <to_trace_find>: Add argument.
8405 (target_trace_find): Add argument.
8406 * target.c (update_current_target): Update.
8407 * remote.c (remote_trace_find): Add 'self' argument.
8408 * ctf.c (ctf_trace_find): Add 'self' argument.
8409
8410 2014-02-19 Tom Tromey <tromey@redhat.com>
8411
8412 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8413 (target_trace_stop): Add argument.
8414 * target.c (update_current_target): Update.
8415 * remote.c (remote_trace_stop): Add 'self' argument.
8416
8417 2014-02-19 Tom Tromey <tromey@redhat.com>
8418
8419 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8420 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8421 argument.
8422 (target_get_tracepoint_status): Add argument.
8423 * target.c (update_current_target): Update.
8424 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8425
8426 2014-02-19 Tom Tromey <tromey@redhat.com>
8427
8428 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8429 * target.h (struct target_ops) <to_get_trace_status>: Add
8430 argument.
8431 (target_get_trace_status): Add argument.
8432 * target.c (update_current_target): Update.
8433 * remote.c (remote_get_trace_status): Add 'self' argument.
8434 (remote_start_remote, remote_can_download_tracepoint): Update.
8435 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8436
8437 2014-02-19 Tom Tromey <tromey@redhat.com>
8438
8439 * target.h (struct target_ops) <to_trace_start>: Add argument.
8440 (target_trace_start): Add argument.
8441 * target.c (update_current_target): Update.
8442 * remote.c (remote_trace_start): Add 'self' argument.
8443
8444 2014-02-19 Tom Tromey <tromey@redhat.com>
8445
8446 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8447 Add argument.
8448 (target_trace_set_readonly_regions): Add argument.
8449 * target.c (update_current_target): Update.
8450 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8451 argument.
8452
8453 2014-02-19 Tom Tromey <tromey@redhat.com>
8454
8455 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8456 argument.
8457 (target_disable_tracepoint): Add argument.
8458 * target.c (update_current_target): Update.
8459 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8460
8461 2014-02-19 Tom Tromey <tromey@redhat.com>
8462
8463 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8464 argument.
8465 (target_enable_tracepoint): Add argument.
8466 * target.c (update_current_target): Update.
8467 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8468
8469 2014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target.h (struct target_ops) <to_download_trace_state_variable>:
8472 Add argument.
8473 (target_download_trace_state_variable): Add argument.
8474 * target.c (update_current_target): Update.
8475 * remote.c (remote_download_trace_state_variable): Add 'self'
8476 argument.
8477
8478 2014-02-19 Tom Tromey <tromey@redhat.com>
8479
8480 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8481 argument.
8482 (target_can_download_tracepoint): Add argument.
8483 * target.c (update_current_target): Update.
8484 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8485
8486 2014-02-19 Tom Tromey <tromey@redhat.com>
8487
8488 * target.h (struct target_ops) <to_download_tracepoint>: Add
8489 argument.
8490 (target_download_tracepoint): Add argument.
8491 * target.c (update_current_target): Update.
8492 * remote.c (remote_download_tracepoint): Add 'self' argument.
8493
8494 2014-02-19 Tom Tromey <tromey@redhat.com>
8495
8496 * target.h (struct target_ops) <to_trace_init>: Add argument.
8497 (target_trace_init): Add argument.
8498 * target.c (update_current_target): Update.
8499 * remote.c (remote_trace_init): Add 'self' argument.
8500
8501 2014-02-19 Tom Tromey <tromey@redhat.com>
8502
8503 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8504 * target.c (target_fileio_readlink): Add argument.
8505 * remote.c (remote_hostio_readlink): Add 'self' argument.
8506 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8507
8508 2014-02-19 Tom Tromey <tromey@redhat.com>
8509
8510 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8511 * target.c (target_fileio_unlink): Add argument.
8512 * remote.c (remote_hostio_unlink): Add 'self' argument.
8513 (remote_file_delete): Update.
8514 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8515
8516 2014-02-19 Tom Tromey <tromey@redhat.com>
8517
8518 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8519 * target.c (target_fileio_close): Add argument.
8520 * remote.c (remote_hostio_close): Add 'self' argument.
8521 (remote_hostio_close_cleanup): Update.
8522 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8523 Update.
8524 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8525
8526 2014-02-19 Tom Tromey <tromey@redhat.com>
8527
8528 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8529 * target.c (target_fileio_pread): Add argument.
8530 * remote.c (remote_hostio_pread): Add 'self' argument.
8531 (remote_bfd_iovec_pread, remote_file_get): Update.
8532 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8533
8534 2014-02-19 Tom Tromey <tromey@redhat.com>
8535
8536 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8537 * target.c (target_fileio_pwrite): Add argument.
8538 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8539 (remote_file_put): Update.
8540 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8541
8542 2014-02-19 Tom Tromey <tromey@redhat.com>
8543
8544 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8545 * target.c (target_fileio_open): Add argument.
8546 * remote.c (remote_hostio_open): Add 'self' argument.
8547 (remote_bfd_iovec_open): Add 'self' argument.
8548 (remote_file_put): Add 'self' argument.
8549 (remote_file_get): Add 'self' argument.
8550 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8551
8552 2014-02-19 Tom Tromey <tromey@redhat.com>
8553
8554 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8555 Add argument.
8556 (target_can_run_breakpoint_commands): Add argument.
8557 * target.c (update_current_target): Update.
8558 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8559 argument.
8560 (remote_insert_breakpoint): Add 'self' argument.
8561 (remote_insert_hw_breakpoint): Add 'self' argument.
8562 (remote_can_run_breakpoint_commands): Add 'self' argument.
8563
8564 2014-02-19 Tom Tromey <tromey@redhat.com>
8565
8566 * target.h (struct target_ops)
8567 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8568 (target_supports_evaluation_of_breakpoint_conditions): Add
8569 argument.
8570 * target.c (update_current_target): Update.
8571 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8572 argument.
8573 (remote_insert_breakpoint): Add 'self' argument.
8574 (remote_insert_hw_breakpoint): Add 'self' argument.
8575 (remote_supports_cond_breakpoints): Add 'self' argument.
8576
8577 2014-02-19 Tom Tromey <tromey@redhat.com>
8578
8579 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8580 argument.
8581 (target_supports_string_tracing): Add argument.
8582 * target.c (update_current_target): Update.
8583 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8584
8585 2014-02-19 Tom Tromey <tromey@redhat.com>
8586
8587 * target.h (struct target_ops)
8588 <to_supports_disable_randomization>: Add argument.
8589 * target.c (find_default_supports_disable_randomization): Add
8590 argument.
8591 (target_supports_disable_randomization): Add argument.
8592 (find_default_supports_disable_randomization): Add 'self'
8593 argument.
8594 * remote.c (extended_remote_supports_disable_randomization): Add
8595 'self' argument.
8596 (remote_supports_disable_randomization): Add 'self' argument.
8597 (extended_remote_create_inferior): Update.
8598 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8599 'self' argument.
8600
8601 2014-02-19 Tom Tromey <tromey@redhat.com>
8602
8603 * target.h (struct target_ops)
8604 <to_supports_enable_disable_tracepoint>: Add argument.
8605 (target_supports_enable_disable_tracepoint): Add argument.
8606 * target.c (update_current_target): Update.
8607 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8608 argument.
8609
8610 2014-02-19 Tom Tromey <tromey@redhat.com>
8611
8612 * target.h (struct target_ops) <to_supports_multi_process>: Add
8613 argument.
8614 (target_supports_multi_process): Add argument.
8615 * target.c (update_current_target): Update.
8616 * remote.c (remote_supports_multi_process): Add 'self' argument.
8617 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8618 argument.
8619 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8620 argument.
8621
8622 2014-02-19 Tom Tromey <tromey@redhat.com>
8623
8624 * target.h (struct target_ops) <to_execution_direction>: Add
8625 argument.
8626 (target_execution_direction): Add argument.
8627 * target.c (default_execution_direction): Add 'self' argument.
8628 * record-full.c (record_full_execution_direction): Add 'self'
8629 argument.
8630
8631 2014-02-19 Tom Tromey <tromey@redhat.com>
8632
8633 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8634 argument.
8635 (target_can_execute_reverse): Add argument.
8636 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8637 * record-full.c (record_full_can_execute_reverse): Add 'self'
8638 argument.
8639 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8640 argument.
8641
8642 2014-02-19 Tom Tromey <tromey@redhat.com>
8643
8644 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8645 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8646 argument.
8647 (target_get_ada_task_ptid): Add argument.
8648 * target.c (update_current_target): Update.
8649 (default_get_ada_task_ptid): Add 'self' argument.
8650 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8651 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8652 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8653 argument.
8654 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8655 argument.
8656 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8657 argument.
8658 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8659 argument.
8660 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8661 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8662 argument.
8663
8664 2014-02-19 Tom Tromey <tromey@redhat.com>
8665
8666 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8667 (target_goto_bookmark): Add argument.
8668 * target.c (dummy_goto_bookmark): Add 'self' argument.
8669 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8670
8671 2014-02-19 Tom Tromey <tromey@redhat.com>
8672
8673 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8674 (target_get_bookmark): Add argument.
8675 * target.c (dummy_get_bookmark): Add 'self' argument.
8676 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8677
8678 2014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8681 argument.
8682 (target_make_corefile_notes): Add argument.
8683 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8684 * procfs.c (procfs_make_note_section): Add 'self' argument.
8685 (procfs_make_note_section): Add 'self' argument.
8686 (procfs_make_note_section): Add 'self' argument.
8687 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8688 argument.
8689 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8690 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8691 * exec.c (exec_make_note_section): Add 'self' argument.
8692 (exec_make_note_section): Add 'self' argument.
8693
8694 2014-02-19 Tom Tromey <tromey@redhat.com>
8695
8696 * target.h (struct target_ops) <to_find_memory_regions>: Add
8697 argument.
8698 (target_find_memory_regions): Add argument.
8699 * target.c (dummy_find_memory_regions): Add 'self' argument.
8700 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8701 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8702 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8703 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8704 * exec. (exec_do_find_memory_regions): New global.
8705 (exec_set_find_memory_regions): Rewrite.
8706 (exec_find_memory_regions): New function.
8707 (init_exec_ops): Use exec_find_memory_regions.
8708
8709 2014-02-19 Tom Tromey <tromey@redhat.com>
8710
8711 * target.h (struct target_ops) <to_supports_non_stop>: Add
8712 argument.
8713 * target.c (find_default_supports_non_stop): Add argument.
8714 (target_supports_non_stop): Add argument.
8715 (find_default_supports_non_stop): Add 'self' argument.
8716 * remote.c (remote_supports_non_stop): Add 'self' argument.
8717 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8718
8719 2014-02-19 Tom Tromey <tromey@redhat.com>
8720
8721 * target.h (struct target_ops) <to_log_command>: Add argument.
8722 (target_log_command): Add argument.
8723 * serial.h (serial_log_command): Add 'self' argument.
8724 * serial.c (serial_log_command): Add 'self' argument.
8725
8726 2014-02-19 Tom Tromey <tromey@redhat.com>
8727
8728 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8729 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8730 argument.
8731 (target_pid_to_exec_file): Add argument.
8732 * target.c (debug_to_pid_to_exec_file): Add argument.
8733 (update_current_target): Update.
8734 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
8735 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
8736 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
8737 (linux_handle_extended_wait): Update.
8738 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
8739 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
8740 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
8741 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
8742
8743 2014-02-19 Tom Tromey <tromey@redhat.com>
8744
8745 * target.h (struct target_ops) <to_rcmd>: Add argument.
8746 (target_rcmd): Add argument.
8747 * target.c (debug_to_rcmd): Add argument.
8748 (update_current_target, do_monitor_command): Update.
8749 * remote.c (remote_rcmd): Add 'self' argument.
8750 * monitor.c (monitor_rcmd): Add 'self' argument.
8751
8752 2014-02-19 Tom Tromey <tromey@redhat.com>
8753
8754 * windows-nat.c (windows_stop): Add 'self' argument.
8755 * target.h (struct target_ops) <to_stop>: Add argument.
8756 * target.c (target_stop): Add argument.
8757 (debug_to_stop): Add argument.
8758 (update_current_target): Update.
8759 * remote.c (remote_stop): Add 'self' argument.
8760 * remote-sim.c (gdbsim_stop): Add 'self' argument.
8761 (gdbsim_cntrl_c): Update.
8762 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
8763 * procfs.c (procfs_stop): Add 'self' argument.
8764 * nto-procfs.c (procfs_stop): Add 'self' argument.
8765 * monitor.c (monitor_stop): Add 'self' argument.
8766 (monitor_open): Update.
8767 * linux-nat.c (linux_nat_stop): Add argument.
8768 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
8769 * gnu-nat.c (gnu_stop): Add 'self' argument.
8770 * darwin-nat.c (darwin_stop): Add 'self' argument.
8771
8772 2014-02-19 Tom Tromey <tromey@redhat.com>
8773
8774 * target.h (struct target_ops) <to_thread_name>: Add argument.
8775 * target.c (target_thread_name): Add argument.
8776 (update_current_target): Update.
8777 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
8778
8779 2014-02-19 Tom Tromey <tromey@redhat.com>
8780
8781 * target.h (struct target_ops) <to_extra_thread_info>: Add
8782 argument.
8783 (target_extra_thread_info): Add argument.
8784 * target.c (update_current_target): Update.
8785 * remote.c (remote_threads_extra_info): Add 'self' argument.
8786 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
8787 argument.
8788 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
8789 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
8790 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
8791 argument.
8792 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
8793 argument.
8794 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
8795 argument.
8796 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
8797 argument.
8798
8799 2014-02-19 Tom Tromey <tromey@redhat.com>
8800
8801 * target.h (struct target_ops) <to_program_signals>: Add argument.
8802 * target.c (target_program_signals): Add argument.
8803 * remote.c (remote_program_signals): Add 'self' argument.
8804
8805 2014-02-19 Tom Tromey <tromey@redhat.com>
8806
8807 * target.h (struct target_ops) <to_pass_signals>: Add argument.
8808 * target.c (target_pass_signals): Add argument.
8809 * remote.c (remote_pass_signals): Add 'self' argument.
8810 (remote_start_remote): Update.
8811 * procfs.c (procfs_pass_signals): Add 'self' argument.
8812 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
8813 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
8814 (linux_nat_create_inferior, linux_nat_attach): Update.
8815
8816 2014-02-19 Tom Tromey <tromey@redhat.com>
8817
8818 * windows-nat.c (windows_can_run): Add 'self' argument.
8819 * target.h (struct target_ops) <to_can_run>: Add argument.
8820 (target_can_run): Add argument.
8821 * target.c (debug_to_can_run): Add argument.
8822 (update_current_target): Update.
8823 * nto-procfs.c (procfs_can_run): Add 'self' argument.
8824 * inf-child.c (inf_child_can_run): Add 'self' argument.
8825 * go32-nat.c (go32_can_run): Add 'self' argument.
8826
8827 2014-02-19 Tom Tromey <tromey@redhat.com>
8828
8829 * target.h (struct target_ops) <to_has_exited>: Add argument.
8830 (target_has_exited): Add argument.
8831 * target.c (debug_to_has_exited): Add argument.
8832 (update_current_target): Update.
8833
8834 2014-02-19 Tom Tromey <tromey@redhat.com>
8835
8836 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
8837 argument.
8838 (target_set_syscall_catchpoint): Add argument.
8839 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
8840 argument.
8841 * target.c (update_current_target): Update.
8842
8843 2014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
8846 argument.
8847 (target_remove_exec_catchpoint): Add argument.
8848 * target.c (debug_to_remove_exec_catchpoint): Add argument.
8849 (update_current_target): Update.
8850 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
8851 argument.
8852
8853 2014-02-19 Tom Tromey <tromey@redhat.com>
8854
8855 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
8856 argument.
8857 (target_insert_exec_catchpoint): Add argument.
8858 * target.c (debug_to_insert_exec_catchpoint): Add argument.
8859 (update_current_target): Update.
8860 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
8861 argument.
8862
8863 2014-02-19 Tom Tromey <tromey@redhat.com>
8864
8865 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
8866 argument.
8867 (target_remove_vfork_catchpoint): Add argument.
8868 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
8869 (update_current_target): Update.
8870 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
8871 argument.
8872
8873 2014-02-19 Tom Tromey <tromey@redhat.com>
8874
8875 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
8876 argument.
8877 (target_insert_vfork_catchpoint): Add argument.
8878 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
8879 (update_current_target): Update.
8880 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
8881 argument.
8882
8883 2014-02-19 Tom Tromey <tromey@redhat.com>
8884
8885 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
8886 argument.
8887 (target_remove_fork_catchpoint): Add argument.
8888 * target.c (debug_to_remove_fork_catchpoint): Add argument.
8889 (update_current_target): Update.
8890 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
8891 argument.
8892
8893 2014-02-19 Tom Tromey <tromey@redhat.com>
8894
8895 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
8896 argument.
8897 (target_insert_fork_catchpoint): Add argument.
8898 * target.c (debug_to_insert_fork_catchpoint): Add argument.
8899 (update_current_target): Update.
8900 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
8901 argument.
8902
8903 2014-02-19 Tom Tromey <tromey@redhat.com>
8904
8905 * target.h (struct target_ops) <to_post_startup_inferior>: Add
8906 argument.
8907 (target_post_startup_inferior): Add argument.
8908 * target.c (debug_to_post_startup_inferior): Add argument.
8909 (update_current_target): Update.
8910 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
8911 argument.
8912 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
8913 argument.
8914 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
8915 argument.
8916 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
8917 argument.
8918 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
8919 'self' argument.
8920 (super_post_startup_inferior): Likewise.
8921 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
8922 'self' argument.
8923 (super_post_startup_inferior): Likewise.
8924 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
8925 Add 'self' argument.
8926 (super_post_startup_inferior): Likewise.
8927
8928 2014-02-19 Tom Tromey <tromey@redhat.com>
8929
8930 * target.h (struct target_ops) <to_load>: Add argument.
8931 * target.c (target_load): Add argument.
8932 (debug_to_load): Add argument.
8933 (update_current_target): Update.
8934 * remote.c (remote_load): Add 'self' argument.
8935 * remote-sim.c (gdbsim_load): Add 'self' argument.
8936 * remote-mips.c (mips_load): Add 'self' argument.
8937 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
8938 * monitor.c (monitor_load): Add 'self' argument.
8939 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
8940
8941 2014-02-19 Tom Tromey <tromey@redhat.com>
8942
8943 * target.h (struct target_ops) <to_terminal_info>: Add argument.
8944 (target_terminal_info): Add argument.
8945 * target.c (debug_to_terminal_info): Add argument.
8946 (default_terminal_info): Likewise.
8947 * inflow.c (child_terminal_info): Add 'self' argument.
8948 * inferior.h (child_terminal_info): Add 'self' argument.
8949 * go32-nat.c (go32_terminal_info): Add 'self' argument.
8950
8951 2014-02-19 Tom Tromey <tromey@redhat.com>
8952
8953 * target.h (struct target_ops) <to_terminal_save_ours>: Add
8954 argument.
8955 (target_terminal_save_ours): Add argument.
8956 * target.c (debug_to_terminal_save_ours): Add argument.
8957 (update_current_target): Update.
8958 * inflow.c (terminal_save_ours): Add 'self' argument.
8959 * inferior.h (terminal_save_ours): Add 'self' argument.
8960
8961 2014-02-19 Tom Tromey <tromey@redhat.com>
8962
8963 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
8964 (target_terminal_ours): Add argument.
8965 * target.c (debug_to_terminal_ours): Add argument.
8966 (update_current_target): Update.
8967 * remote.c (remote_terminal_ours): Add 'self' argument.
8968 (remote_close): Update.
8969 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
8970 * inflow.c (terminal_ours): Add 'self' argument.
8971 * inferior.h (terminal_ours): Add 'self' argument.
8972 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
8973
8974 2014-02-19 Pedro Alves <palves@redhat.com>
8975 Tom Tromey <tromey@redhat.com>
8976
8977 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
8978 argument.
8979 (target_terminal_ours_for_output): Add argument.
8980 * target.c (debug_to_terminal_ours_for_output): Add argument.
8981 (update_current_target): Update.
8982 * inflow.c (terminal_ours_for_output): Add 'self' argument.
8983 * inferior.h (terminal_ours_for_output): Add 'self' argument.
8984 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
8985
8986 2014-02-19 Tom Tromey <tromey@redhat.com>
8987
8988 * target.h (struct target_ops) <to_terminal_inferior>: Add
8989 argument.
8990 * target.c (target_terminal_inferior): Add argument.
8991 (update_current_target): Update.
8992 * remote.c (remote_terminal_inferior): Add 'self' argument.
8993 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
8994 * inflow.c (terminal_inferior): Add 'self' argument.
8995 * inferior.h (terminal_inferior): Add 'self' argument.
8996 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
8997 (go32_terminal_inferior): Add 'self' argument.
8998
8999 2014-02-19 Tom Tromey <tromey@redhat.com>
9000
9001 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9002 (target_terminal_init): Add argument.
9003 * target.c (debug_to_terminal_init): Add argument.
9004 (update_current_target): Update.
9005 * inflow.c (terminal_init_inferior): Add 'self' argument.
9006 * inferior.h (terminal_init_inferior): Add 'self' argument.
9007 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9008 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9009
9010 2014-02-19 Tom Tromey <tromey@redhat.com>
9011
9012 * target.h (struct target_ops)
9013 <to_can_accel_watchpoint_condition>: Add argument.
9014 (target_can_accel_watchpoint_condition): Add argument.
9015 * target.c (debug_to_can_accel_watchpoint_condition): Add
9016 argument.
9017 (update_current_target): Update.
9018 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9019 'self' argument.
9020
9021 2014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9024 Add argument.
9025 (target_region_ok_for_hw_watchpoint): Add argument.
9026 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9027 (default_region_ok_for_hw_watchpoint): Add argument.
9028 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9029 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9030 argument.
9031 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9032 argument.
9033 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9034 argument.
9035 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9036 'self' argument.
9037 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9038 'self' argument.
9039 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9040 'self' argument.
9041 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9042 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9043 'self' argument.
9044 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9045 Add 'self' argument.
9046
9047 2014-02-19 Tom Tromey <tromey@redhat.com>
9048
9049 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9050 argument.
9051 (target_insert_watchpoint): Add argument.
9052 * target.c (debug_to_insert_watchpoint): Add argument.
9053 (update_current_target): Update.
9054 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9055 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9056 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9057 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9058 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9059 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9060 argument.
9061 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9062 (procfs_insert_hw_watchpoint): Add 'self' argument.
9063 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9064 argument.
9065 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9066 argument.
9067 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9068 argument.
9069 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9070 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9071 argument.
9072 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9073 'self' argument.
9074
9075 2014-02-19 Tom Tromey <tromey@redhat.com>
9076
9077 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9078 argument.
9079 (target_remove_watchpoint): Add argument.
9080 * target.c (debug_to_remove_watchpoint): Add argument.
9081 (update_current_target): Update.
9082 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9083 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9084 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9085 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9086 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9087 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9088 argument.
9089 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9090 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9091 argument.
9092 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9093 argument.
9094 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9095 argument.
9096 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9097 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9098 argument.
9099 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9100 'self' argument.
9101
9102 2014-02-19 Tom Tromey <tromey@redhat.com>
9103
9104 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9105 argument.
9106 (target_remove_hw_breakpoint): Add argument.
9107 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9108 (update_current_target): Update.
9109 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9110 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9111 argument.
9112 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9113 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9114 argument.
9115 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9116 'self' argument.
9117
9118 2014-02-19 Tom Tromey <tromey@redhat.com>
9119
9120 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9121 argument.
9122 (target_insert_hw_breakpoint): Add argument.
9123 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9124 (update_current_target): Update.
9125 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9126 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9127 argument.
9128 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9129 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9130 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9131 argument.
9132 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9133 'self' argument.
9134
9135 2014-02-19 Tom Tromey <tromey@redhat.com>
9136
9137 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9138 argument.
9139 (target_can_use_hardware_watchpoint): Add argument.
9140 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9141 (update_current_target): Update.
9142 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9143 argument.
9144 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9145 argument.
9146 * remote.c (remote_check_watch_resources): Add 'self' argument.
9147 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9148 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9149 argument.
9150 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9151 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9152 argument.
9153 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9154 argument.
9155 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9156 argument.
9157 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9158 argument.
9159 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9160 argument.
9161 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9162 argument.
9163 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9164 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9165 argument.
9166 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9167 'self' argument.
9168
9169 2014-02-19 Tom Tromey <tromey@redhat.com>
9170
9171 * target.h (struct target_ops) <to_post_attach>: Add argument.
9172 (target_post_attach): Add argument.
9173 * target.c (debug_to_post_attach): Add argument.
9174 (update_current_target): Update.
9175 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9176 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9177 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9178 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9179 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9180
9181 2014-02-19 Tom Tromey <tromey@redhat.com>
9182
9183 * windows-nat.c (windows_close): Add 'self' argument.
9184 * tracepoint.c (tfile_close): Add 'self' argument.
9185 * target.h (struct target_ops) <to_close>: Add argument.
9186 * target.c (target_close): Add argument.
9187 (update_current_target): Update.
9188 * remote.c (remote_close): Add 'self' argument.
9189 * remote-sim.c (gdbsim_close): Add 'self' argument.
9190 * remote-mips.c (mips_close): Add 'self' argument.
9191 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9192 * record-full.c (record_full_close): Add 'self' argument.
9193 * record-btrace.c (record_btrace_close): Add 'self' argument.
9194 * monitor.h (monitor_close): Add 'self' argument.
9195 * monitor.c (monitor_close): Add 'self' argument.
9196 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9197 * linux-nat.c (linux_nat_close): Add argument.
9198 * go32-nat.c (go32_close): Add 'self' argument.
9199 * exec.c (exec_close_1): Add 'self' argument.
9200 * ctf.c (ctf_close): Add 'self' argument.
9201 * corelow.c (core_close): Add 'self' argument.
9202 (core_close_cleanup): Update.
9203 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9204 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9205
9206 2014-02-19 Tom Tromey <tromey@redhat.com>
9207
9208 * remote.c (remote_load): New function.
9209 (init_remote_ops): Use it.
9210
9211 2014-02-19 Tom Tromey <tromey@redhat.com>
9212
9213 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9214 argument.
9215 * common/linux-btrace.h (linux_supports_btrace): Update.
9216 * remote.c (remote_supports_btrace): Add "self" argument.
9217 * target-delegates.c: Rebuild.
9218 * target.c (target_supports_btrace): Remove.
9219 * target.h (struct target_ops) <to_supports_btrace>: Add
9220 target_ops argument.
9221 (target_supports_btrace): New define.
9222
9223 2014-02-19 Tom Tromey <tromey@redhat.com>
9224
9225 * record-full.c (record_full_beneath_to_resume_ops)
9226 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9227 (record_full_beneath_to_wait)
9228 (record_full_beneath_to_store_registers_ops)
9229 (record_full_beneath_to_store_registers)
9230 (record_full_beneath_to_xfer_partial_ops)
9231 (record_full_beneath_to_xfer_partial)
9232 (record_full_beneath_to_insert_breakpoint_ops)
9233 (record_full_beneath_to_insert_breakpoint)
9234 (record_full_beneath_to_remove_breakpoint_ops)
9235 (record_full_beneath_to_remove_breakpoint)
9236 (record_full_beneath_to_stopped_by_watchpoint)
9237 (record_full_beneath_to_stopped_data_address)
9238 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9239 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9240 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9241 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9242 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9243 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9244 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9245 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9246 (record_full_resume, record_full_wait_1)
9247 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9248 (record_full_store_registers, record_full_xfer_partial)
9249 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9250 (record_full_async, record_full_core_xfer_partial): Use target
9251 delegation.
9252 * target-delegates.c: Rebuild.
9253 * target.c (current_xfer_partial): Remove.
9254 (update_current_target): Do not INHERIT or de_fault
9255 to_insert_breakpoint, to_remove_breakpoint,
9256 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9257 to_is_async_p, to_async. Do not set to_xfer_partial field.
9258 (default_xfer_partial): Simplify.
9259 (current_xfer_partial): Remove.
9260 (target_wait, target_resume): Simplify.
9261 (find_default_can_async_p, find_default_is_async_p): Update.
9262 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9263 to_xfer_partial, to_stopped_by_watchpoint,
9264 to_stopped_data_address.
9265 (target_store_registers): Simplify.
9266 (forward_target_remove_breakpoint)
9267 (forward_target_insert_breakpoint): Remove.
9268 (target_remove_breakpoint, target_insert_breakpoint)
9269 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9270 * target.h (struct target_ops) <to_resume, to_wait,
9271 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9272 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9273 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9274 markup.
9275 (forward_target_remove_breakpoint)
9276 (forward_target_insert_breakpoint): Remove.
9277 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9278 directly.
9279 (record_btrace_insert_breakpoint): Delegate directly.
9280
9281 2014-02-19 Tom Tromey <tromey@redhat.com>
9282
9283 PR build/7701:
9284 * target-delegates.c: New file.
9285 * target.c: Include target-delegates.c.
9286 (init_dummy_target): Call install_dummy_methods.
9287 (complete_target_initialization): Call install_delegators.
9288 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9289 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9290 * make-target-delegates: New file.
9291
9292 2014-02-19 Tom Tromey <tromey@redhat.com>
9293
9294 * record.c (find_record_target): Use find_target_at.
9295 * target.c (find_target_at): New function.
9296 * target.h (find_target_at): Declare.
9297
9298 2014-02-19 Tom Tromey <tromey@redhat.com>
9299
9300 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9301 Add 'ops' argument.
9302 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9303 'ops' argument.
9304 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9305 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9306 'ops' argument.
9307 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9308 argument.
9309 * linux-nat.c (save_sigtrap): Update.
9310 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9311 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9312 (linux_nat_close): Update.
9313 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9314 argument.
9315 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9316 argument.
9317 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9318 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9319 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9320 (tmp_to_async): Add 'ops' argument.
9321 (record_full_stopped_by_watchpoint, record_full_async)
9322 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9323 argument.
9324 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9325 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9326 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9327 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9328 (remote_is_async_p, remote_async): Add 'ops' argument.
9329 (remote_stopped_data_address): Update.
9330 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9331 * target.c (update_current_target)
9332 (find_default_can_async_p, find_default_is_async_p): Update.
9333 (init_dummy_target): Update.
9334 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9335 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9336 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9337 (target_can_async_p, target_is_async_p, target_async)
9338 (target_stopped_by_watchpoint): Update.
9339
9340 2014-02-19 Yao Qi <yao@codesourcery.com>
9341
9342 PR gdb/16220
9343 * gdbarch.sh: Remove startup_gdbarch.
9344 * gdbarch.c: Regenerated.
9345 * gdbarch.h: Likewise.
9346
9347 2014-02-17 Kevin Buettner <kevinb@redhat.com>
9348
9349 * rl78-tdep.c (rl78_g10_register_name): New function.
9350 (rl78_return_value): Add g10 support.
9351 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9352 g10.
9353
9354 2014-02-17 Doug Evans <xdje42@gmail.com>
9355
9356 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9357 (SUBDIR_GUILE_SRCS): Ditto.
9358 (scm-gsmob.o): Ditto.
9359
9360 2014-02-17 Yao Qi <yao@codesourcery.com>
9361
9362 * gnu-nat.c (ILL_RPC): Declare defined function.
9363
9364 2014-02-17 Yao Qi <yao@codesourcery.com>
9365
9366 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9367 mach_msg_type_number_t.
9368 (gnu_write_inferior): Likewise.
9369
9370 2014-02-17 Yao Qi <yao@codesourcery.com>
9371
9372 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9373 in format string.
9374 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9375 (inf_validate_procs, inf_signal): Likewise.
9376 (S_exception_raise_request): Likewise.
9377 (do_mach_notify_dead_name): Likewise.
9378 (steal_exc_port): Likewise.
9379 (gnu_read_inferior): Change 'copy_count''s type to
9380 mach_msg_type_number_t.
9381 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9382 format string.
9383
9384 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9385
9386 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9387 flag. Adjust all users; in particular...
9388 (gnu_wait): ..., don't decrement its value in here...
9389 (gnu_create_inferior): ..., and instead set the flag in here,
9390 around the startup_inferior call, and call that one with
9391 START_INFERIOR_TRAPS_EXPECTED.
9392
9393 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9394 (ILL_RPC): ... new macro.
9395 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9396 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9397 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9398 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9399 functions with ILL_RPC macro.
9400 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9401 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9402 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9403 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9404 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9405 (S_proc_getlogin_reply, S_proc_getsid_reply)
9406 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9407 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9408 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9409 (S_proc_getnports_reply, S_proc_is_important_reply)
9410 (S_proc_get_code_reply): New stub functions, generated with
9411 ILL_RPC macro.
9412
9413 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9414 collected the type check structures.
9415
9416 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9417
9418 2014-02-14 Doug Evans <dje@google.com>
9419
9420 * target.c (target_write_partial): Fix result type.
9421
9422 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9423
9424 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9425 the proper offsets to access fpregset_t.
9426
9427 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9428
9429 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9430 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9431 * h8300-tdep.c (setmachinelist): Remove global.
9432 * hppa-tdep.c (hppa_sigtramp): Remove global.
9433 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9434 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9435 * ravenscar-thread.c (update_target_observer): Remove global.
9436 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9437
9438 2014-02-12 Tom Tromey <tromey@redhat.com>
9439
9440 * common/rsp-low.c: Update comments.
9441 * common/rsp-low.h: Update comments.
9442
9443 2014-02-12 Tom Tromey <tromey@redhat.com>
9444
9445 * common/rsp-low.c (convert_ascii_to_int): Remove.
9446 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9447
9448 2014-02-12 Tom Tromey <tromey@redhat.com>
9449
9450 * common/rsp-low.h (unhexify): Don't declare.
9451 * common/rsp-low.c (unhexify): Remove.
9452
9453 2014-02-12 Tom Tromey <tromey@redhat.com>
9454
9455 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9456 * common/rsp-low.c (convert_int_to_ascii): Remove.
9457
9458 2014-02-12 Tom Tromey <tromey@redhat.com>
9459
9460 * common/rsp-low.h (hexify): Don't declare.
9461 * common/rsp-low.c (hexify): Remove.
9462
9463 2014-02-12 Tom Tromey <tromey@redhat.com>
9464
9465 * common/rsp-low.c (hexify): Never take strlen of argument.
9466
9467 2014-02-12 Tom Tromey <tromey@redhat.com>
9468
9469 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9470 * remote.c (extended_remote_run, remote_rcmd)
9471 (remote_download_trace_state_variable, remote_save_trace_data)
9472 (remote_set_trace_notes): Update.
9473 * tracepoint.c (encode_source_string, tfile_write_status)
9474 (tfile_write_uploaded_tsv): Update.
9475
9476 2014-02-12 Tom Tromey <tromey@redhat.com>
9477
9478 * tracepoint.c: Include rsp-low.h.
9479 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9480 * remote.c: Include rsp-low.h.
9481 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9482 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9483 (remote_unescape_input): Move to common/rsp-low.c.
9484 * common/rsp-low.h: New file.
9485 * common/rsp-low.c: New file.
9486 * Makefile.in (SFILES): Add common/rsp-low.c.
9487 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9488 (COMMON_OBS): Add rsp-low.o.
9489 (rsp-low.o): New target.
9490
9491 2014-02-12 Tom Tromey <tromey@redhat.com>
9492
9493 * utils.h: Include print-utils.h.
9494 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9495 (int_string, core_addr_to_string, core_addr_to_string_nz)
9496 (hex_string, hex_string_custom): Don't declare.
9497 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9498 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9499 (hex_string_custom, int_string, core_addr_to_string)
9500 (core_addr_to_string_nz, host_address_to_string): Move to
9501 common/print-utils.c.
9502 * common/print-utils.h: New file.
9503 * common/print-utils.c: New file
9504 * Makefile.in (SFILES): Add common/print-utils.c.
9505 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9506 (COMMON_OBS): Add print-utils.o.
9507 (print-utils.o): New target.
9508
9509 2014-02-12 Tom Tromey <tromey@redhat.com>
9510
9511 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9512
9513 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9514
9515 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9516
9517 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9518
9519 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9520 if a PT_IO ptrace request returns sucessfully but indicates that 0
9521 bytes were transferred.
9522
9523 2014-02-12 Pedro Alves <palves@redhat.com>
9524 Kevin Buettner <kevinb@redhat.com>
9525
9526 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9527 TYPE_INSTANCE_FLAG_CODE_SPACE.
9528
9529 2014-02-12 Pedro Alves <palves@redhat.com>
9530
9531 * h8300-tdep.c (pseudo_from_raw_register)
9532 (raw_from_pseudo_register): New functions.
9533 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9534 them.
9535
9536 2014-02-12 Pedro Alves <palves@redhat.com>
9537
9538 * h8300-tdep.c (h8300_register_sim_regno): New function.
9539 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9540 gdbarch_register_sim_regno hook.
9541
9542 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9543
9544 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9545
9546 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9547
9548 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9549
9550 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9551
9552 * obsd-tdep.h (obsd_init_abi): New prototype.
9553 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9554 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9555 (obsd_init_abi): New functions.
9556 * i386obsd-tdep.c: Include "obsd-tdep.h".
9557 (i386obsd_init_abi): Call obsd_init_abi.
9558 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9559 (amd64obsd_init_abi): Call obsd_init_abi.
9560 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9561 obsd-tdep.c to gdb_target_obs.
9562
9563 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9564
9565 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9566 double float arguments to 16-byte in the argument slots.
9567
9568 2014-02-11 Doug Evans <xdje42@gmail.com>
9569
9570 * configure.ac: Don't crash if pkg-config is not found and guile
9571 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9572 in guile checks.
9573 * configure: Regenerate.
9574
9575 2014-02-11 Yao Qi <yao@codesourcery.com>
9576
9577 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9578 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9579 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9580 * gnu-nat.c (gnu_xfer_memory): Likewise.
9581 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9582 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9583 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9584 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9585
9586 2014-02-11 Yao Qi <yao@codesourcery.com>
9587
9588 * target.h (enum target_xfer_error): Rename to ...
9589 (enum target_xfer_status): ... it. New. All users updated.
9590 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9591 New.
9592 (TARGET_XFER_STATUS_ERROR_P): New macro.
9593 (target_xfer_error_to_string): Remove declaration.
9594 (target_xfer_status_to_string): Declare.
9595 (target_xfer_partial_ftype): Adjust it.
9596 (struct target_ops) <to_xfer_partial>: Return
9597 target_xfer_status. Add argument xfered_len. Update
9598 comments.
9599 * target.c (target_xfer_error_to_string): Rename to ...
9600 (target_xfer_status_to_string): ... it. New. All callers
9601 updated.
9602 (target_read_live_memory): Likewise. Call target_xfer_partial
9603 instead of target_read.
9604 (memory_xfer_live_readonly_partial): Return
9605 target_xfer_status. Add argument xfered_len.
9606 (raw_memory_xfer_partial): Likewise.
9607 (memory_xfer_partial_1): Likewise.
9608 (memory_xfer_partial): Likewise.
9609 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9610 properly. Update debug message.
9611 (default_xfer_partial, current_xfer_partial): Likewise.
9612 (target_write_partial): Likewise.
9613 (target_read_partial): Likewise. All callers updated.
9614 (read_whatever_is_readable): Likewise.
9615 (target_write_with_progress): Likewise.
9616 (target_read_alloc_1): Likewise.
9617
9618 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9619 * auxv.c (procfs_xfer_auxv): Likewise.
9620 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9621 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9622 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9623 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9624 * corefile.c (read_memory): Adjust.
9625 * corelow.c (core_xfer_partial): Likewise.
9626 * ctf.c (ctf_xfer_partial): Likewise.
9627 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9628 updated.
9629 (darwin_xfer_partial): Likewise.
9630 * exec.c (section_table_xfer_memory_partial): Likewise. All
9631 callers updated.
9632 (exec_xfer_partial): Likewise.
9633 * exec.h (section_table_xfer_memory_partial): Update
9634 declaration.
9635 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9636 negative.
9637 (gnu_xfer_partial): Likewise.
9638 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9639 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9640 (ia64_hpux_xfer_solib_got): Likewise.
9641 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9642 type of 'partial_len' to ULONGEST.
9643 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9644 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9645 (linux_nat_xfer_partial): Likewise.
9646 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9647 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9648 * monitor.c (monitor_xfer_memory): Likewise.
9649 (monitor_xfer_partial): Likewise.
9650 * procfs.c (procfs_xfer_partial): Likewise.
9651 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9652 * record-full.c (record_full_xfer_partial): Likewise.
9653 (record_full_core_xfer_partial): Likewise.
9654 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9655 (gdbsim_xfer_partial): Likewise.
9656 * remote.c (remote_write_bytes_aux): Likewise. All callers
9657 updated.
9658 (remote_write_bytes, remote_read_bytes): Likewise. All
9659 callers updated.
9660 (remote_flash_erase): Likewise. All callers updated.
9661 (remote_write_qxfer): Likewise. All callers updated.
9662 (remote_read_qxfer): Likewise. All callers updated.
9663 (remote_xfer_partial): Likewise.
9664 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9665 (rs6000_xfer_shared_libraries): Likewise.
9666 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9667 (sol_thread_xfer_partial): Likewise.
9668 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9669 (sparc_xfer_partial): Likewise.
9670 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9671 updated.
9672 (spu_xfer_partial): Likewise.
9673 * spu-multiarch.c (spu_xfer_partial): Likewise.
9674 * tracepoint.c (tfile_xfer_partial): Likewise.
9675 * windows-nat.c (windows_xfer_memory): Likewise.
9676 (windows_xfer_shared_libraries): Likewise.
9677 (windows_xfer_partial): Likewise.
9678 * valprint.c: Replace 'target_xfer_error' with
9679 'target_xfer_status' in comments.
9680
9681 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9682
9683 Checked in by Joel Brobecker <brobecker@adacore.com>.
9684 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9685
9686 2014-02-11 Joel Brobecker <brobecker@adacore.com>
9687
9688 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9689 function parameters.
9690
9691 2014-02-10 Will Newton <will.newton@linaro.org>
9692
9693 * elfread.c (elf_rel_plt_read): Look for a .got section if
9694 looking up .got.plt fails.
9695 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9696 on address passed to elf_gnu_ifunc_record_cache.
9697 (elf_gnu_ifunc_resolve_addr): Likewise.
9698 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9699
9700 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9701
9702 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9703 (X_RETTURN): New macro.
9704 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9705
9706 * sparc64-tdep.c (sparc64_init_abi): Hook
9707 sparc_in_function_epilogue_p.
9708
9709 2014-02-10 Gary Benson <gbenson@redhat.com>
9710
9711 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9712 Rename name_matcher to symbol_matcher.
9713
9714 2014-02-10 Gary Benson <gbenson@redhat.com>
9715
9716 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9717 Use expand_symtabs_file_matcher_ftype and
9718 expand_symtabs_symbol_matcher_ftype.
9719
9720 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9721
9722 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9723 (struct ada_symbol_cache): New.
9724 (ada_free_symbol_cache): Forward declare.
9725 (struct ada_pspace_data): New.
9726 (ada_pspace_data_handle): New static global.
9727 (get_ada_pspace_data, ada_pspace_data_cleanup)
9728 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9729 (cache_space, cache): Delete, now folded inside struct
9730 ada_pspace_data.
9731 (ada_get_symbol_cache): New function.
9732 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9733 implementation.
9734 (_initialize_ada_language): Remove initialization of cache_space.
9735 Move call to observer_attach_inferior_exit up, grouping it
9736 with the other observer registrations inside this function.
9737 Rename command to be more general. Add call to
9738 register_program_space_data_with_cleanup.
9739
9740 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9741
9742 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
9743 ada_new_objfile_observer.
9744 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
9745 (_initialize_tasks): Update uses of ada_new_objfile_observer
9746 and ada_tasks_normal_stop_observer.
9747
9748 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9749
9750 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
9751 returned by the 'Length attribute to integer.
9752
9753 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9754
9755 * ada-lang.c (_initialize_ada_language): Initialize
9756 cache_space obstack.
9757
9758 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9759
9760 * ada-lang.c (HASH_SIZE): New macro.
9761 (struct cache_entry): New type.
9762 (cache_space, cache): New static globals.
9763 (ada_clear_symbol_cache, find_entry): New functions.
9764 (lookup_cached_symbol, cache_symbol): Implement.
9765 (ada_new_objfile_observer, ada_free_objfile_observer): New.
9766 (_initialize_ada_language): Attach ada_new_objfile_observer
9767 and ada_free_objfile_observer.
9768
9769 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9770
9771 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
9772 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
9773 struct block * parameter.
9774 (ada_lookup_symbol_list_worker): Constify local variable "block".
9775 Remove cast which is no longer necessary.
9776
9777 2014-02-10 Doug Evans <xdje42@gmail.com>
9778
9779 Add Guile as an extension language.
9780 * NEWS: Mention Guile scripting.
9781 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
9782 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
9783 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
9784 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
9785 (CLIBS): Add GUILE_LIBS.
9786 (install-guile): New rule.
9787 (guile.o): New rule.
9788 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
9789 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
9790 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
9791 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
9792 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
9793 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
9794 (scm-type.o, scm-utils.o, scm-value.o): New rules.
9795 * configure.ac: New option --with-guile.
9796 * configure: Regenerate.
9797 * config.in: Regenerate.
9798 * auto-load.c: Remove #include "python/python.h". Add #include
9799 "gdb/section-scripts.h".
9800 (source_section_scripts): Handle Guile scripts.
9801 (_initialize_auto_load): Add name of Guile objfile script to
9802 scripts-directory help text.
9803 * breakpoint.c (condition_command): Tweak comment to include Scheme.
9804 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
9805 (struct breakpoint): New member scm_bp_object.
9806 * defs.h (enum command_control_type): New value guile_control.
9807 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
9808 "extension.h".
9809 (show_user): Update comment.
9810 (_initialize_cli_cmds): Update help text for "show user". Update help
9811 text for max-user-call-depth.
9812 * cli/cli-script.c: Remove #include "python/python.h". Add #include
9813 "extension.h".
9814 (multi_line_command_p): Add guile_control.
9815 (print_command_lines): Handle guile_control.
9816 (execute_control_command, recurse_read_control_structure): Ditto.
9817 (process_next_line): Recognize "guile" commands.
9818 * disasm.c (gdb_disassemble_info): Make non-static.
9819 * disasm.h: #include "dis-asm.h".
9820 (struct gdbarch): Add forward decl.
9821 (gdb_disassemble_info): Declare.
9822 * extension.c: #include "guile/guile.h".
9823 (extension_languages): Add guile.
9824 (get_ext_lang_defn): Handle EXT_LANG_GDB.
9825 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
9826 * gdbtypes.c (get_unsigned_type_max): New function.
9827 (get_signed_type_minmax): New function.
9828 * gdbtypes.h (get_unsigned_type_max): Declare.
9829 (get_signed_type_minmax): Declare.
9830 * guile/README: New file.
9831 * guile/guile-internal.h: New file.
9832 * guile/guile.c: New file.
9833 * guile/guile.h: New file.
9834 * guile/scm-arch.c: New file.
9835 * guile/scm-auto-load.c: New file.
9836 * guile/scm-block.c: New file.
9837 * guile/scm-breakpoint.c: New file.
9838 * guile/scm-disasm.c: New file.
9839 * guile/scm-exception.c: New file.
9840 * guile/scm-frame.c: New file.
9841 * guile/scm-gsmob.c: New file.
9842 * guile/scm-iterator.c: New file.
9843 * guile/scm-lazy-string.c: New file.
9844 * guile/scm-math.c: New file.
9845 * guile/scm-objfile.c: New file.
9846 * guile/scm-ports.c: New file.
9847 * guile/scm-pretty-print.c: New file.
9848 * guile/scm-safe-call.c: New file.
9849 * guile/scm-string.c: New file.
9850 * guile/scm-symbol.c: New file.
9851 * guile/scm-symtab.c: New file.
9852 * guile/scm-type.c: New file.
9853 * guile/scm-utils.c: New file.
9854 * guile/scm-value.c: New file.
9855 * guile/lib/gdb.scm: New file.
9856 * guile/lib/gdb/boot.scm: New file.
9857 * guile/lib/gdb/experimental.scm: New file.
9858 * guile/lib/gdb/init.scm: New file.
9859 * guile/lib/gdb/iterator.scm: New file.
9860 * guile/lib/gdb/printing.scm: New file.
9861 * guile/lib/gdb/types.scm: New file.
9862 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
9863 (VPATH): Add $(GUILE_SRCDIR).
9864 (GUILE_DIR): New variable.
9865 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
9866 (all): Add stamp-guile dependency.
9867 (stamp-guile): New rule.
9868 (clean-guile, install-guile, uninstall-guile): New rules.
9869 (install-only): Add install-guile dependency.
9870 (uninstall): Add uninstall-guile dependency.
9871 (clean): Add clean-guile dependency.
9872
9873 2014-02-09 Doug Evans <xdje42@gmail.com>
9874
9875 Revert this patch (which I approved, mea culpa).
9876
9877 2014-02-08 Mark Kettenis <kettenis@gnu.org>
9878
9879 * Makefile.in (all-lib): Remove.
9880 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9881
9882 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9883
9884 Fix Python stack corruption.
9885 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
9886 gdb_py_longest.
9887
9888 2014-02-08 Mark Kettenis <kettenis@gnu.org>
9889
9890 * Makefile.in (all-lib): Remove.
9891 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9892
9893 2014-02-07 Doug Evans <dje@google.com>
9894
9895 * extension-priv.h (extension_language_script_ops): Add comment.
9896 (extension_language_ops): Add comment.
9897 (active_ext_lang_state): Fix typo in comment.
9898
9899 2014-02-07 Pedro Alves <palves@redhat.com>
9900
9901 PR breakpoints/16292
9902 * infrun.c (handle_signal_stop) <signal arrives while stepping
9903 over a breakpoint>: Switch back to the stepping thread.
9904
9905 2014-02-07 Yao Qi <yao@codesourcery.com>
9906
9907 * target.c (target_xfer_partial): Return zero if LEN is zero.
9908
9909 2014-02-07 Yao Qi <yao@codesourcery.com>
9910
9911 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
9912 (ld_so_xfer_auxv): Likewise.
9913 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9914 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9915 * corelow.c (core_xfer_partial): Likewise.
9916 * ctf.c (ctf_xfer_partial): Likewise.
9917 * darwin-nat.c (darwin_read_dyld_info): Likewise.
9918 (darwin_xfer_partial): Likewise.
9919 * exec.c (exec_xfer_partial): Likewise.
9920 * gnu-nat.c (gnu_xfer_partial): Likewise.
9921 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
9922 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9923 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9924 * linux-nat.c (linux_xfer_siginfo): Likewise.
9925 (linux_proc_xfer_spu): Likewise.
9926 * procfs.c (procfs_xfer_partial): Likewise.
9927 * record-full.c (record_full_xfer_partial): Likewise.
9928 (record_full_core_xfer_partial): Likewise.
9929 * remote-sim.c (gdbsim_xfer_partial): Likewise.
9930 * remote.c (remote_write_qxfer): Likewise.
9931 (remote_write_qxfer, remote_read_qxfer): Likewise.
9932 (remote_xfer_partial): Likewise.
9933 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9934 (rs6000_xfer_shared_libraries): Likewise.
9935 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9936 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9937 (spu_xfer_partial): Likewise.
9938 * target.c (memory_xfer_partial_1): Likewise.
9939 * tracepoint.c (tfile_xfer_partial): Likewise.
9940 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
9941 (windows_xfer_partial): Likewise.
9942
9943 2014-02-07 Yao Qi <yao@codesourcery.com>
9944
9945 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
9946 comments.
9947 (core_xfer_shared_libraries_aix): Likewise.
9948 * gdbarch.c, gdbarch.h: Regenerated.
9949 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
9950 ULONGEST. Change 'len_avail' type to ULONGEST.
9951 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
9952 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
9953 declaration.
9954 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
9955
9956 2014-02-07 Yao Qi <yao@codesourcery.com>
9957
9958 * corefile.c (memory_error): Get 'exception' from ERR and pass
9959 'exception' to throw_error.
9960
9961 2014-02-06 Doug Evans <xdje42@gmail.com>
9962
9963 * configure.ac (libpython checking): Remove all but python.o from
9964 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
9965 * configure: Regenerate.
9966
9967 * Makefile.in (SFILES): Add extension.c.
9968 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
9969 (COMMON_OBS): Add extension.o.
9970 * extension.h: New file.
9971 * extension-priv.h: New file.
9972 * extension.c: New file.
9973
9974 * python/python-internal.h: #include "extension.h".
9975 (gdbpy_auto_load_enabled): Declare.
9976 (gdbpy_apply_val_pretty_printer): Declare.
9977 (gdbpy_apply_frame_filter): Declare.
9978 (gdbpy_preserve_values): Declare.
9979 (gdbpy_breakpoint_cond_says_stop): Declare.
9980 (gdbpy_breakpoint_has_cond): Declare.
9981 (void source_python_script_for_objfile): Delete.
9982 * python/python.c: #include "extension-priv.h".
9983 Delete inclusion of "observer.h".
9984 (extension_language_python): Moved here and renamed from
9985 script_language_python in py-auto-load.c.
9986 Redefined to be of type extension_language_defn.
9987 (python_extension_script_ops): New global.
9988 (python_extension_ops): New global.
9989 (struct python_env): New member previous_active.
9990 (restore_python_env): Call restore_active_ext_lang.
9991 (ensure_python_env): Call set_active_ext_lang.
9992 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
9993 New arg extlang.
9994 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
9995 New arg extlang.
9996 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
9997 New arg extlang.
9998 (gdbpy_eval_from_control_command): Renamed from
9999 eval_python_from_control_command, made static. New arg extlang.
10000 (gdbpy_source_script) Renamed from source_python_script, made static.
10001 New arg extlang.
10002 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10003 result to int. New arg extlang.
10004 (gdbpy_source_objfile_script): Renamed from
10005 source_python_script_for_objfile, made static. New arg extlang.
10006 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10007 static. New args extlang, extlang_printers. Change result type to
10008 "void".
10009 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10010 static. New arg extlang. Rename arg printers to extlang_printers
10011 and change type to ext_lang_type_printers *.
10012 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10013 static. Replace argument arg with extlang, extlang_printers.
10014 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10015 (!HAVE_PYTHON, source_python_script): Delete.
10016 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10017 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10018 (!HAVE_PYTHON, start_type_printers): Delete.
10019 (!HAVE_PYTHON, apply_type_printers): Delete.
10020 (!HAVE_PYTHON, free_type_printers): Delete.
10021 (_initialize_python): Delete call to observer_attach_before_prompt.
10022 (finalize_python): Set/restore active extension language.
10023 (gdbpy_finish_initialization) Renamed from
10024 finish_python_initialization, made static. New arg extlang.
10025 (gdbpy_initialized): New function.
10026 * python/python.h: #include "extension.h". Delete #include
10027 "value.h", "mi/mi-cmds.h".
10028 (extension_language_python): Declare.
10029 (GDBPY_AUTO_FILE_NAME): Delete.
10030 (enum py_bt_status): Moved to extension.h and renamed to
10031 ext_lang_bt_status.
10032 (enum frame_filter_flags): Moved to extension.h.
10033 (enum py_frame_args): Moved to extension.h and renamed to
10034 ext_lang_frame_args.
10035 (finish_python_initialization): Delete.
10036 (eval_python_from_control_command): Delete.
10037 (source_python_script): Delete.
10038 (apply_val_pretty_printer): Delete.
10039 (apply_frame_filter): Delete.
10040 (preserve_python_values): Delete.
10041 (gdbpy_script_language_defn): Delete.
10042 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10043 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10044
10045 * auto-load.c: #include "extension.h".
10046 (GDB_AUTO_FILE_NAME): Delete.
10047 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10048 (script_language_gdb): Delete, moved to extension.c and renamed to
10049 extension_language_gdb.
10050 (source_gdb_script_for_objfile): Delete.
10051 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10052 (loaded_script): Change type of language member to
10053 struct extension_language_defn *.
10054 (init_loaded_scripts_info): Initialize
10055 unsupported_script_warning_printed.
10056 (maybe_add_script): Make static. Change type of language arg to
10057 struct extension_language_defn *.
10058 (clear_section_scripts): Reset unsupported_script_warning_printed.
10059 (auto_load_objfile_script_1): Rewrite to use extension language API.
10060 (auto_load_objfile_script): Make public. Remove support-compiled-in
10061 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10062 (source_section_scripts): Rewrite to use extension language API.
10063 (load_auto_scripts_for_objfile): Rewrite to use
10064 auto_load_scripts_for_objfile.
10065 (collect_matching_scripts_data): Change type of language member to
10066 struct extension_language_defn *.
10067 (auto_load_info_scripts): Change type of language arg to
10068 struct extension_language_defn *.
10069 (unsupported_script_warning_print): New function.
10070 (script_not_found_warning_print): Make static.
10071 (_initialize_auto_load): Rewrite construction of scripts-directory
10072 help.
10073 * auto-load.h (struct objfile): Add forward decl.
10074 (struct script_language): Delete.
10075 (struct auto_load_pspace_info): Add forward decl.
10076 (struct extension_language_defn): Add forward decl.
10077 (maybe_add_script): Delete.
10078 (auto_load_objfile_script): Declare.
10079 (script_not_found_warning_print): Delete.
10080 (auto_load_info_scripts): Update prototype.
10081 (auto_load_gdb_scripts_enabled): Declare.
10082 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10083 auto_load_python_scripts_enabled and made public.
10084 (script_language_python): Delete, moved to python.c.
10085 (gdbpy_script_language_defn): Delete.
10086 (info_auto_load_python_scripts): Update to use
10087 extension_language_python.
10088
10089 * breakpoint.c (condition_command): Replace call to
10090 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10091 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10092 with call to breakpoint_ext_lang_cond_says_stop.
10093 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10094 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10095 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10096 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10097 New arg slang.
10098 (local_setattro): Print name of extension language with existing
10099 stop condition.
10100
10101 * valprint.c (val_print, value_print): Update to call
10102 apply_ext_lang_val_pretty_printer.
10103 * cp-valprint.c (cp_print_value): Update call to
10104 apply_ext_lang_val_pretty_printer.
10105 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10106 (gdbpy_apply_val_pretty_printer): Renamed from
10107 apply_val_pretty_printer. New arg extlang.
10108 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10109
10110 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10111 extension language API.
10112 * cli/cli-script.c (execute_control_command): Update to call
10113 eval_ext_lang_from_control_command.
10114
10115 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10116 enum ext_lang_bt_status values. Update call to
10117 apply_ext_lang_frame_filter.
10118 (mi_cmd_stack_list_locals): Ditto.
10119 (mi_cmd_stack_list_args): Ditto.
10120 (mi_cmd_stack_list_variables): Ditto.
10121 * mi/mi-main.c: Delete #include "python/python-internal.h".
10122 Add #include "extension.h".
10123 (mi_cmd_list_features): Replace reference to python internal variable
10124 gdb_python_initialized with call to ext_lang_initialized_p.
10125
10126 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10127 Update to use enum ext_lang_frame_args. Update to call
10128 apply_ext_lang_frame_filter.
10129 * python/py-framefilter.c (extract_sym): Update to use enum
10130 ext_lang_bt_status.
10131 (extract_value, py_print_type, py_print_value): Ditto.
10132 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10133 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10134 (py_print_frame): Ditto.
10135 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10136 New arg extlang. Update to use enum ext_lang_bt_status.
10137
10138 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10139 finish_python_initialization. Replace with call to
10140 finish_ext_lang_initialization.
10141
10142 * typeprint.c (do_free_global_table): Update to call
10143 free_ext_lang_type_printers.
10144 (create_global_typedef_table): Update to call
10145 start_ext_lang_type_printers.
10146 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10147 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10148 (type_print_options): Change type of global_printers from "void *"
10149 to "struct ext_lang_type_printers *".
10150
10151 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10152 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10153 (gdbpy_preserve_values): Renamed from preserve_python_values.
10154 New arg extlang.
10155 (!HAVE_PYTHON, preserve_python_values): Delete.
10156
10157 * utils.c (quit_flag): Delete, moved to extension.c.
10158 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10159 extension.c.
10160
10161 * eval.c: Delete #include "python/python.h".
10162 * main.c: Delete #include "python/python.h".
10163
10164 * defs.h: Update comment.
10165
10166 2014-02-06 Joel Brobecker <brobecker@adacore.com>
10167
10168 GDB 7.7 released.
10169
10170 2014-02-05 Mark Kettenis <kettenis@gnu.org>
10171
10172 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10173 defined.
10174
10175 2014-02-05 Yao Qi <yao@codesourcery.com>
10176
10177 * remote.c (remote_pass_signals): Remove local 'buf' and use
10178 rs->buf.
10179 (remote_program_signals): Likewise.
10180
10181 2014-02-05 Yao Qi <yao@codesourcery.com>
10182
10183 * ctf.c: Include "inferior.h" and "gdbthread.h".
10184 (CTF_PID): A new macro.
10185 (ctf_open): Call inferior_appeared and add_thread_silent.
10186 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10187 (ctf_thread_alive): New function.
10188 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10189
10190 2014-02-05 Yao Qi <yao@codesourcery.com>
10191
10192 Revert this patch:
10193
10194 2013-05-24 Yao Qi <yao@codesourcery.com>
10195
10196 * tracepoint.c (TFILE_PID): Remove.
10197 (tfile_open): Don't add thread and inferior.
10198 (tfile_close): Don't set 'inferior_ptid'. Don't call
10199 exit_inferior_silent.
10200 (tfile_thread_alive): Remove.
10201 (init_tfile_ops): Don't set field 'to_thread_alive' of
10202 tfile_ops.
10203
10204 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10205
10206 * remote.c (remote_start_remote): Call remote_check_symbols even
10207 if only symbol-file (not file) has been given.
10208
10209 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10210
10211 * gdbarch.sh (skip_entrypoint): New callback.
10212 * gdbarch.c, gdbarch.h: Regenerate.
10213 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10214 * infrun.c (fill_in_stop_func): Likewise.
10215 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10216 (ppc_elfv2_elf_make_msymbol_special): New function.
10217 (ppc_elfv2_skip_entrypoint): Likewise.
10218 (ppc_linux_init_abi): Install them for ELFv2.
10219
10220 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10221
10222 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10223 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10224 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10225 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10226 structures returned in GPRs.
10227
10228 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10229
10230 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10231 offset to the stack parameter list for the ELFv2 ABI.
10232
10233 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10234
10235 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10236 set_gdbarch_convert_from_func_ptr_addr and
10237 set_gdbarch_elf_make_msymbol_special for ELFv1.
10238 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10239 function descriptors on ELFv1.
10240 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10241 set up r12 at function entry.
10242
10243 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10244
10245 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10246 (struct gdbarch_tdep): New member elf_abi.
10247
10248 * rs6000-tdep.c: Include "elf/ppc64.h".
10249 (rs6000_gdbarch_init): Detect ELF ABI version.
10250
10251 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10252
10253 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10254 within a register pair holding a DFP 128-bit value on little-endian.
10255 (ppc64_sysv_abi_return_value_base): Likewise.
10256 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10257 (dfp_pseudo_register_write): Likewise.
10258
10259 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10260
10261 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10262 offset on little-endian when passing _Decimal32.
10263 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10264
10265 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10266
10267 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10268 of the overlapped FP register within the VSX register on little-
10269 endian platforms.
10270 (efpr_pseudo_register_write): Likewise.
10271
10272 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10273
10274 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10275 offset on little-endian when passing small structures.
10276
10277 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10278
10279 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10280 (struct ppc64_sysv_argpos): New data structure.
10281 (ppc64_sysv_abi_push_float): Remove.
10282 (ppc64_sysv_abi_push_val): New function.
10283 (ppc64_sysv_abi_push_integer): Likewise.
10284 (ppc64_sysv_abi_push_freg): Likewise.
10285 (ppc64_sysv_abi_push_vreg): Likewise.
10286 (ppc64_sysv_abi_push_param): Likewise.
10287 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10288 (ppc64_sysv_abi_return_value_base): New function.
10289 (ppc64_sysv_abi_return_value): Refactor to use it.
10290
10291 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10292
10293 * NEWS: Document new target powerpc64le-*-linux*.
10294
10295 2014-02-04 Mark Kettenis <kettenis@gnu.org>
10296
10297 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10298 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10299 core dumps.
10300 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10301 register set used in ELF core dumps. Add floating-point register set.
10302
10303 2014-02-03 Kevin Buettner <kevinb@redhat.com>
10304
10305 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
10306 dwarf2_to_gdb[] table using symbolic constants. Adjust
10307 penultimate entry from number representing the PC register
10308 to symbolic constant representing the MDR register. Add
10309 constant for the PC register to the end of the table.
10310
10311 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10312
10313 * bsd-kvm.c: Include <sys/param.h>
10314
10315 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10316
10317 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10318
10319 2014-01-31 Joel Brobecker <brobecker@adacore.com>
10320
10321 * ada-lang.h (clear_ada_sym_cache): Delete.
10322
10323 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10324
10325 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10326
10327 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10328
10329 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10330 the sigreturn register save area only if the syscall is
10331 sigreturn.
10332
10333 2014-01-29 Joel Brobecker <brobecker@adacore.com>
10334
10335 * valops.c (value_slice): Minor reformatting.
10336
10337 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10338
10339 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10340
10341 2014-01-28 Joel Brobecker <brobecker@adacore.com>
10342
10343 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10344 New static globals.
10345 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10346 (ada_ignore_descriptive_types_p): New static global.
10347 (find_parallel_type_by_descriptive_type): Return immediately
10348 if ada_ignore_descriptive_types_p is set.
10349 (_initialize_ada_language): Register new commands "maintenance
10350 set ada", "maintenance show ada", "maintenance set ada
10351 ignore-descriptive-types" and "maintenance show ada
10352 ignore-descriptive-types".
10353 * NEWS: Add entry for new "maint ada set/show
10354 ignore-descriptive-types" commands.
10355
10356 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10357
10358 * record-btrace.c (record_btrace_close): Call btrace_teardown
10359 for all threads.
10360
10361 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10362
10363 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10364 "ui-out.h".
10365
10366 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10367
10368 * ada-typeprint (type_is_full_subrange_of_target_type):
10369 New function.
10370 (print_range): Add parameter bounds_prefered_p. If not set,
10371 try printing range types using the name of their base type.
10372 (print_range_type): Add parameter bounds_prefered_p.
10373 Use it in call to print_range.
10374 (print_array_type, ada_print_type): Update calls to print_range
10375 and print_range_type.
10376
10377 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10378
10379 * ada-typeprint.c (print_array_type, print_choices, print_range)
10380 (print_range_bound, print_dynamic_range_bound, print_range_type):
10381 Remove declaration.
10382
10383 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10384
10385 * ada-typeprint.c (print_range): Add missing empty line
10386 after local declaration.
10387
10388 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10389
10390 * ada-valprint.c (print_optional_low_bound): Get index_type's
10391 target type for as long as it is a TYPE_CODE_RANGE.
10392
10393 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10394
10395 * procfs.c (procfs_make_note_section): Remove assertion and
10396 associated comment.
10397
10398 2014-01-24 Yao Qi <yao@codesourcery.com>
10399
10400 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10401 * corelow.c (get_core_siginfo): Likewise.
10402
10403 2014-01-24 Yao Qi <yao@codesourcery.com>
10404
10405 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10406 ULONGEST. Don't check 'len' is negative.
10407 (remote_write_bytes): Change type of 'len' to ULONGEST.
10408
10409 2014-01-23 Tom Tromey <tromey@redhat.com>
10410
10411 PR python/16485:
10412 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10413 Handle exception from frame.block.
10414 (FrameVars.fetch_frame_locals): Likewise.
10415
10416 2014-01-23 Tom Tromey <tromey@redhat.com>
10417
10418 PR python/16487:
10419 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10420 on a NULL pointer. Move "goto error" to correct place.
10421
10422 2014-01-23 Tom Tromey <tromey@redhat.com>
10423
10424 PR python/16491:
10425 * python/py-framefilter.c (apply_frame_filter): Call
10426 ensure_python_env after computing gdbarch.
10427
10428 2014-01-23 Yao Qi <yao@codesourcery.com>
10429
10430 * target.c (raw_memory_xfer_partial): Change argument type
10431 from void * to gdb_byte *.
10432 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10433
10434 2014-01-22 Doug Evans <dje@google.com>
10435
10436 New gdbserver option --debug-format=timestamp.
10437 * NEWS: Mention it.
10438
10439 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10440
10441 * syscalls/s390x-linux.xml: New file.
10442 * syscalls/s390-linux.xml: New file.
10443 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10444 (XML_SYSCALL_FILENAME_S390X): Likewise.
10445 (op_svc): New enum value for SVC opcode.
10446 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10447 (s390_linux_get_syscall_number): New function.
10448 (s390_gdbarch_init): Register '*get_syscall_number' and the
10449 syscall xml file name.
10450 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10451 "s390-linux.xml" and "s390x-linux.xml".
10452 * NEWS: Announce new feature.
10453
10454 2014-01-22 Baruch Siach <baruch@tkos.co.il>
10455
10456 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10457
10458 2014-01-22 Pedro Alves <palves@redhat.com>
10459
10460 * xtensa-config.c: Include defs.h.
10461
10462 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10463
10464 * common/common-utils.h: Add "ARI:" comment beside __func__
10465 reference.
10466
10467 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10468
10469 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10470 documentation a bit.
10471
10472 2014-01-21 Roland McGrath <mcgrathr@google.com>
10473
10474 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10475 * configure: Regenerate.
10476 * aclocal.m4: Regenerate.
10477 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10478 New substituted variables.
10479 (install-strip): New target.
10480 (INSTALL_SCRIPT): New substituted variable.
10481 (FLAGS_TO_PASS): Add it.
10482 (install-only): Use $(INSTALL_SCRIPT) rather than
10483 $(INSTALL_PROGRAM) for gcore.
10484
10485 2014-01-20 Tom Tromey <tromey@redhat.com>
10486
10487 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10488 together.
10489
10490 2014-01-20 Tom Tromey <tromey@redhat.com>
10491
10492 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10493 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10494 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10495 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10496 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10497 (struct cmd_list_element) <flags>: Remove.
10498 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10499 doc_allocated>: New fields.
10500 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10501 bitfields.
10502 * maint.c (maintenance_do_deprecate): Update.
10503 * top.c (execute_command): Update.
10504
10505 2014-01-20 Baruch Siach <baruch@tkos.co.il>
10506
10507 * xtensa-linux-nat.c: Include asm/ptrace.h.
10508
10509 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10510
10511 * Makefile.in (SFILES): Add d-support.c.
10512 (COMMON_OBS): Add d-support.o.
10513 * d-lang.h (d_parse_symbol): Add comment, now defined in
10514 d-support.c.
10515 * d-lang.c (parse_call_convention)
10516 (parse_attributes, parse_function_types)
10517 (parse_function_args, parse_type, parse_identifier)
10518 (call_convention_p, d_parse_symbol): Move functions to ...
10519 * d-support.c: ... New file.
10520
10521 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10522
10523 * d-lang.h (d_parse_symbol): Add declaration.
10524 * d-lang.c (extract_identifiers)
10525 (extract_type_info): Remove functions.
10526 (parse_call_convention, parse_attributes)
10527 (parse_function_types, parse_function_args)
10528 (parse_type, parse_identifier, call_convention_p)
10529 (d_parse_symbol): New functions.
10530 (d_demangle): Use d_parse_symbol to demangle D symbols.
10531
10532 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10533
10534 * d-lang.h (struct builtin_d_type): New data type.
10535 (builtin_d_type): Add declaration.
10536 * d-lang.c (d_language_arch_info, build_d_types)
10537 (builtin_d_type): New functions.
10538 (enum d_primitive_types): New data type.
10539 (d_language_defn): Change c_language_arch_info to
10540 d_language_arch_info.
10541 (d_type_data): New static variable.
10542 (_initialize_d_language): Initialize d_type_data.
10543
10544 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10545
10546 * d-lang.h (d_main_name): Add declaration.
10547 * d-lang.c (d_main_name): New function.
10548 * symtab.c (find_main_name): Add call to d_main_name.
10549
10550 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10551
10552 * d-lang.c (d_language_defn): Change macro_expansion_c to
10553 macro_expansion_no.
10554
10555 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10556
10557 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10558
10559 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10560
10561 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10562 gdb_exception" declaration.
10563 * remote.c (getpkt_or_notif_sane): Likewise.
10564
10565 2014-01-17 Doug Evans <dje@google.com>
10566
10567 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10568 function, contents of dirnames_to_char_ptr_vec_append moved here.
10569 (delim_string_to_char_ptr_vec): New function.
10570 (dirnames_to_char_ptr_vec_append): Rewrite.
10571 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10572
10573 2014-01-17 Doug Evans <dje@google.com>
10574
10575 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10576 and moved here ...
10577 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10578 #include "common-utils.h".
10579 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10580 * common/vec.h (VEC_ASSERT_PASS): Update.
10581 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10582 (MACH_CHECK_ERROR): Update.
10583
10584 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10585
10586 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10587 comments.
10588 * gdbarch.h: Regenerate.
10589
10590 2014-01-16 Tom Tromey <tromey@redhat.com>
10591
10592 * value.c (struct value) <regnum>: Move earlier.
10593
10594 2014-01-16 Tom Tromey <tromey@redhat.com>
10595
10596 * remote.c (extended_remote_create_inferior): Rename from
10597 extended_remote_create_inferior_1. Add "ops" argument. Remove
10598 old implementation.
10599
10600 2014-01-16 Pedro Alves <palves@redhat.com>
10601
10602 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10603 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10604 the backchain.
10605
10606 2014-01-16 Doug Evans <dje@google.com>
10607
10608 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10609
10610 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10611
10612 * btrace.h (btrace_thread_flag): New.
10613 (struct btrace_thread_info) <flags>: New.
10614 * record-btrace.c (record_btrace_resume_thread)
10615 (record_btrace_find_thread_to_move, btrace_step_no_history)
10616 (btrace_step_stopped, record_btrace_start_replaying)
10617 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10618 (record_btrace_find_resume_thread): New.
10619 (record_btrace_resume, record_btrace_wait): Extend.
10620 (record_btrace_can_execute_reverse): New.
10621 (record_btrace_open): Fail in non-stop mode.
10622 (record_btrace_set_replay): Split into this, ...
10623 (record_btrace_stop_replaying): ... this, ...
10624 (record_btrace_clear_histories): ... and this.
10625 (init_record_btrace_ops): Init to_can_execute_reverse.
10626 * NEWS: Announce it.
10627
10628 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10629
10630 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10631 (forward_target_decr_pc_after_break)
10632 (target_decr_pc_after_break): New.
10633 * target.c (forward_target_decr_pc_after_break)
10634 (target_decr_pc_after_break): New.
10635 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10636 instead of gdbarch_decr_pc_after_break.
10637 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10638 instead of gdbarch_decr_pc_after_break.
10639 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10640 instead of gdbarch_decr_pc_after_break.
10641 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10642 instead of gdbarch_decr_pc_after_break.
10643 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10644 instead of gdbarch_decr_pc_after_break.
10645 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10646 instead of gdbarch_decr_pc_after_break.
10647
10648 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10649
10650 * btrace.c: Include regcache.h.
10651 (btrace_add_pc): New.
10652 (btrace_enable): Call btrace_add_pc.
10653 (btrace_is_empty): New.
10654 * btrace.h (btrace_is_empty): New.
10655 * record-btrace.c (require_btrace, record_btrace_info): Call
10656 btrace_is_empty.
10657
10658 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10659
10660 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10661 Support delta reads.
10662 (linux_disable_btrace): Change return type.
10663 * common/linux-btrace.h (linux_read_btrace): Change parameters
10664 and return type to allow error reporting. Update users.
10665 (linux_disable_btrace): Change return type. Update users.
10666 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10667 New.
10668 (btrace_error): New.
10669 (btrace_block) <begin>: Comment on BEGIN == 0.
10670 * btrace.c (btrace_compute_ftrace): Start from the end of
10671 the current trace.
10672 (btrace_stitch_trace, btrace_clear_history): New.
10673 (btrace_fetch): Read delta trace, return if replaying.
10674 (btrace_clear): Move clear history code to btrace_clear_history.
10675 (parse_xml_btrace): Throw an error if parsing failed.
10676 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10677 and return type to allow error reporting.
10678 (target_read_btrace): Change parameters and return type to allow
10679 error reporting.
10680 * target.c (target_read_btrace): Update.
10681 * remote.c (remote_read_btrace): Support delta reads. Pass
10682 errors on.
10683 * NEWS: Announce it.
10684
10685 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10686
10687 * record.h (record_btrace_frame_unwind)
10688 (record_btrace_tailcall_frame_unwind): New declarations.
10689 * dwarf2-frame: Include record.h
10690 (dwarf2_frame_cfa): Throw an error for btrace frames.
10691 * record-btrace.c: Include hashtab.h.
10692 (btrace_get_bfun_name): New.
10693 (btrace_call_history): Call btrace_get_bfun_name.
10694 (struct btrace_frame_cache): New.
10695 (bfcache): New.
10696 (bfcache_hash, bfcache_eq, bfcache_new): New.
10697 (btrace_get_frame_function): New.
10698 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10699 (record_btrace_frame_this_id): Compute own id.
10700 (record_btrace_frame_prev_register): Provide PC, throw_error
10701 for all other registers.
10702 (record_btrace_frame_sniffer): Detect btrace frames.
10703 (record_btrace_tailcall_frame_sniffer): New.
10704 (record_btrace_frame_dealloc_cache): New.
10705 (record_btrace_frame_unwind): Add new functions.
10706 (record_btrace_tailcall_frame_unwind): New.
10707 (_initialize_record_btrace): Allocate cache.
10708 * btrace.c (btrace_clear): Call reinit_frame_cache.
10709 * NEWS: Announce it.
10710
10711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10712
10713 * record-btrace.c (record_btrace_set_replay)
10714 (record_btrace_goto_begin, record_btrace_goto_end)
10715 (record_btrace_goto): New.
10716 (init_record_btrace_ops): Initialize them.
10717 * NEWS: Announce it.
10718
10719 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10720
10721 * record-btrace.c (record_btrace_find_new_threads)
10722 (record_btrace_thread_alive): New.
10723 (init_record_btrace_ops): Initialize to_find_new_threads and
10724 to_thread_alive.
10725
10726 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10727
10728 * record-btrace.c (record_btrace_resume): New.
10729 (record_btrace_wait): New.
10730 (init_record_btrace_ops): Initialize to_wait and to_resume.
10731
10732 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10733
10734 * record-btrace.c (record_btrace_xfer_partial)
10735 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
10736 (record_btrace_allow_memory_access): New.
10737 (init_record_btrace_ops): Initialize new methods.
10738 * target.c (raw_memory_xfer_partial): Bail out if target reports
10739 that this memory is not available.
10740
10741 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10742
10743 * target.h (target_ops) <to_insert_breakpoint>
10744 <to_remove_breakpoint>: Add target_ops parameter.
10745 (forward_target_insert_breakpoint): New.
10746 (forward_target_remove_breakpoint): New.
10747 (memory_remove_breakpoint, memory_insert_breakpoint):
10748 Add target_ops parameter.
10749 * target.c (target_insert_breakpoint): Split into this and ...
10750 (forward_target_insert_breakpoint): ... this.
10751 (target_remove_breakpoint): Split into this and ...
10752 (forward_target_remove_breakpoint): ... this.
10753 (debug_to_insert_breakpoint): Add target_ops parameter.
10754 Call forward_target_insert_breakpoint.
10755 (debug_to_remove_breakpoint): Add target_ops parameter.
10756 Call forward_target_remove_breakpoint.
10757 (update_current_target): Do not inherit or default to_insert_breakpoint
10758 and to_remove_breakpoint.
10759 * corelow.c (ignore): Add target_ops parameter.
10760 * exec.c (ignore): Add target_ops parameter.
10761 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
10762 Add target_ops parameter.
10763 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
10764 Add target_ops parameter.
10765 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
10766 Add target_ops parameter.
10767 * record-full.c (record_full_beneath_to_insert_breakpoint)
10768 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
10769 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
10770 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
10771 (record_full_core_remove_breakpoint): Add target_ops parameter.
10772 Update users.
10773 (record_full_beneath_to_insert_breakpoint_ops)
10774 (record_full_beneath_to_remove_breakpoint_ops)
10775 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
10776 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
10777 tmp_to_remove_breakpoint_ops,
10778 record_full_beneath_to_insert_breakpoint_ops, and
10779 record_full_beneath_to_remove_breakpoint_ops.
10780 * remote-m32r-sdi.c (m32r_insert_breakpoint)
10781 (m32r_remove_breakpoint): Add target_ops parameter.
10782 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
10783 Add target_ops parameter.
10784 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
10785 Add target_ops parameter.
10786
10787 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10788 Markus Metzger <markus.t.metzger@intel.com>
10789
10790 * record-btrace.c: Include frame-unwind.h.
10791 (record_btrace_frame_unwind_stop_reason)
10792 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
10793 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
10794 New.
10795 (init_record_btrace_ops): Install it.
10796
10797 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10798
10799 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
10800 get_prev_frame_1.
10801
10802 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10803
10804 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
10805 earlier.
10806
10807 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10808
10809 * frame-unwind.c: Include target.h.
10810 (frame_unwind_try_unwinder): New function with code from ...
10811 (frame_unwind_find_by_frame): ... here. New variable
10812 unwinder_from_target, call also target_get_unwinder)
10813 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
10814 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
10815 * target.h (struct target_ops): New fields to_get_unwinder and
10816 to_get_tailcall_unwinder.
10817 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
10818
10819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10820
10821 * record-btrace.c (record_btrace_fetch_registers)
10822 (record_btrace_store_registers)
10823 (record_btrace_to_prepare_to_store): New.
10824 (init_record_btrace_ops): Add the above.
10825
10826 2014-01-16 Tom Tromey <tromey@redhat.com>
10827
10828 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
10829 * target.h (struct target_ops) <to_prepare_to_store>: Add
10830 argument.
10831 (target_prepare_to_store): Add argument.
10832 * target.c (debug_to_prepare_to_store): Add argument.
10833 (update_current_target): Update.
10834 * remote.c (remote_prepare_to_store): Add 'self' argument.
10835 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
10836 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
10837 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
10838 * record-full.c (record_full_core_prepare_to_store): Add 'self'
10839 argument.
10840 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
10841 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
10842 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
10843 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
10844 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
10845
10846 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10847
10848 * btrace.h (replay) <replay>: New.
10849 (btrace_is_replaying): New.
10850 * btrace.c (btrace_clear): Free replay iterator.
10851 (btrace_is_replaying): New.
10852 * record-btrace.c (record_btrace_is_replaying): New.
10853 (record_btrace_info): Print insn number if replaying.
10854 (record_btrace_insn_history): Start at replay position.
10855 (record_btrace_call_history): Start at replay position.
10856 (init_record_btrace_ops): Init to_record_is_replaying.
10857
10858 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10859
10860 * record-btrace.c (record_btrace_insn_history_range): Include
10861 end.
10862 (record_btrace_insn_history_from): Adjust range.
10863 (record_btrace_call_history_range): Include
10864 end.
10865 (record_btrace_call_history_from): Adjust range.
10866 * NEWS: Announce changes.
10867
10868 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10869
10870 * record.h (enum record_print_flag)
10871 <record_print_indent_calls>: New.
10872 * record.c (get_call_history_modifiers): Recognize /c modifier.
10873 (_initialize_record): Document /c modifier.
10874 * record-btrace.c (btrace_call_history): Add btinfo parameter.
10875 Reorder fields. Optionally indent the function name. Update
10876 all users.
10877 * NEWS: Announce changes.
10878
10879 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10880
10881 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
10882
10883 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10884
10885 * btrace.c (ftrace_new_function): Start counting at one.
10886 * record-btrace.c (record_btrace_info): Adjust number of calls
10887 and insns.
10888 * NEWS: Announce it.
10889
10890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10891
10892 * record-btrace.c (btrace_call_history_insn_range): Print
10893 insn range as [begin, end].
10894
10895 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10896
10897 * btrace.h (struct btrace_func_link): New.
10898 (enum btrace_function_flag): New.
10899 (struct btrace_inst): Rename to ...
10900 (struct btrace_insn): ...this. Update all users.
10901 (struct btrace_func) <ibegin, iend>: Remove.
10902 (struct btrace_func_link): New.
10903 (struct btrace_func): Rename to ...
10904 (struct btrace_function): ...this. Update all users.
10905 (struct btrace_function) <segment, flow, up, insn, insn_offset)
10906 (number, level, flags>: New.
10907 (struct btrace_insn_iterator): Rename to ...
10908 (struct btrace_insn_history): ...this.
10909 Update all users.
10910 (struct btrace_insn_iterator, btrace_call_iterator): New.
10911 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
10912 (struct btrace_target_info) <begin, end, level>
10913 <insn_history, call_history>: New.
10914 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
10915 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
10916 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
10917 (btrace_call_number, btrace_call_begin, btrace_call_end)
10918 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
10919 (btrace_find_function_by_number, btrace_set_insn_history)
10920 (btrace_set_call_history): New.
10921 * btrace.c (btrace_init_insn_iterator)
10922 (btrace_init_func_iterator, compute_itrace): Remove.
10923 (ftrace_print_function_name, ftrace_print_filename)
10924 (ftrace_skip_file): Change
10925 parameter to const.
10926 (ftrace_init_func): Remove.
10927 (ftrace_debug): Use new btrace_function fields.
10928 (ftrace_function_switched): Also consider gaining and
10929 losing symbol information).
10930 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
10931 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
10932 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
10933 New.
10934 (ftrace_new_function): Move. Remove debug print.
10935 (ftrace_update_lines, ftrace_update_insns): New.
10936 (ftrace_update_function): Check for call, ret, and jump.
10937 (compute_ftrace): Renamed to ...
10938 (btrace_compute_ftrace): ...this. Rewritten to compute call
10939 stack.
10940 (btrace_fetch, btrace_clear): Updated.
10941 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
10942 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
10943 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
10944 (btrace_call_number, btrace_call_begin, btrace_call_end)
10945 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
10946 (btrace_find_function_by_number, btrace_set_insn_history)
10947 (btrace_set_call_history): New.
10948 * record-btrace.c (require_btrace): Use new btrace thread
10949 info fields.
10950 (record_btrace_info, btrace_insn_history)
10951 (record_btrace_insn_history, record_btrace_insn_history_range):
10952 Use new btrace thread info fields and new iterator.
10953 (btrace_func_history_src_line): Rename to ...
10954 (btrace_call_history_src_line): ...this. Use new btrace
10955 thread info fields.
10956 (btrace_func_history): Rename to ...
10957 (btrace_call_history): ...this. Use new btrace thread info
10958 fields and new iterator.
10959 (record_btrace_call_history, record_btrace_call_history_range):
10960 Use new btrace thread info fields and new iterator.
10961
10962 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10963
10964 * frame.h (frame_id_build_unavailable_stack_special): New.
10965 * frame.c (frame_id_build_unavailable_stack_special): New.
10966
10967 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10968
10969 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
10970 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
10971 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
10972 to gdbarch.
10973 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
10974 (i386_insn_is_jump, i386_jmp_p): New.
10975 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
10976 insn_is_jump to gdbarch.
10977 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
10978 * gdbarch.h: Regenerated.
10979 * gdbarch.c: Regenerated.
10980 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
10981 (default_insn_is_jump): New.
10982 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
10983 (default_insn_is_jump): New.
10984
10985 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10986
10987 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
10988 Change to ...
10989 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
10990 (btrace_read_type) <btrace_read_new>: Change to ...
10991 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
10992
10993 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10994
10995 * common/linux-btrace.c (linux_read_btrace): Free trace from
10996 previous iteration.
10997
10998 2014-01-15 Doug Evans <dje@google.com>
10999
11000 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11001 uint32_t.
11002
11003 2014-01-15 Tom Tromey <tromey@redhat.com>
11004
11005 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11006 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11007 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11008 (set_objfile_main_name): New function.
11009 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11010 language_of_main>: New fields.
11011 (set_objfile_main_name): Declare.
11012 * symtab.c (find_main_name): Loop over objfiles to find the main
11013 name and language.
11014 (set_main_name): Now static.
11015 (get_main_info): Add comment.
11016 * symtab.h (set_main_name): Don't declare.
11017
11018 2014-01-15 Tom Tromey <tromey@redhat.com>
11019
11020 * symtab.c (main_progspace_key): New global.
11021 (struct main_info): New.
11022 (name_of_main, language_of_main): Remove.
11023 (get_main_info, main_info_cleanup): New function.
11024 (set_main_name, main_name, main_language): Use get_main_info.
11025 (_initialize_symtab): Initialize main_progspace_key.
11026
11027 2014-01-15 Tom Tromey <tromey@redhat.com>
11028
11029 * dbxread.c (process_one_symbol): Update.
11030 * dwarf2read.c (read_partial_die): Update.
11031 * symfile.c (set_initial_language): Call main_language.
11032 * symtab.c (language_of_main): Now static.
11033 (set_main_name): Add 'lang' parameter.
11034 (find_main_name): Update.
11035 (main_language): New function.
11036 (symtab_observer_executable_changed): Update.
11037 * symtab.h (set_main_name): Update.
11038 (language_of_main): Remove.
11039 (main_language): Declare.
11040
11041 2014-01-15 Tom Tromey <tromey@redhat.com>
11042
11043 * symfile.c (init_entry_point_info): Use new "initialized" field.
11044 Update.
11045 * objfiles.h (struct entry_point) <initialized>: New field.
11046 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11047 (struct objfile) <ei>: ...here. Remove.
11048 * objfiles.c (entry_point_address_query): Update.
11049
11050 2014-01-15 Tom Tromey <tromey@redhat.com>
11051
11052 * objfiles.c (entry_point_address_query): Relocate entry point
11053 address.
11054 (objfile_relocate1): Do not relocate entry point address.
11055 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11056 <the_bfd_section_index>: New field.
11057 * symfile.c (init_entry_point_info): Find the entry point's
11058 section.
11059
11060 2014-01-15 Tom Tromey <tromey@redhat.com>
11061
11062 * solib-frv.c (enable_break): Use entry_point_address_query.
11063
11064 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11065
11066 * NEWS: Add note on improved process record-replay on
11067 arm*-linux* targets.
11068
11069 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11070
11071 * arm-tdep.c (enum arm_record_result): New enum.
11072 (arm_record_unsupported_insn): New function.
11073 (arm_record_coproc_data_proc): Removed.
11074 (thumb2_record_ld_st_multiple): New function.
11075 (thumb2_record_ld_st_dual_ex_tbb): New function.
11076 (thumb2_record_data_proc_sreg_mimm): New function.
11077 (thumb2_record_ps_dest_generic): New function.
11078 (thumb2_record_branch_misc_cntrl): New function.
11079 (thumb2_record_str_single_data): New function.
11080 (thumb2_record_ld_mem_hints): New function.
11081 (thumb2_record_ld_word): New function.
11082 (thumb2_record_lmul_lmla_div): New function.
11083 (thumb2_record_decode_insn_handler): New function.
11084 (decode_insn): Add thumb32 instruction handlers.
11085
11086 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11087
11088 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11089 (struct arm_linux_record_tdep): Declare.
11090 (arm_canonicalize_syscall): New function.
11091 (arm_all_but_pc_registers_record): New function.
11092 (arm_linux_syscall_record): New function.
11093 (arm_linux_init_abi): Add syscall recording constructs.
11094 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11095 decoding. (arm_record_coproc_data_proc): Update arm syscall
11096 decoding.
11097 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11098 <arm_syscall_record>: New field.
11099 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11100 gdb_target_obs.
11101
11102 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11103
11104 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11105 register for push instruction recording.
11106
11107 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11108
11109 * arm-tdep.c (thumb_record_misc): Update to correct logical
11110 error while recording ldm, ldmia and pop instructions.
11111
11112 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11113
11114 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11115
11116 2014-01-15 Pedro Alves <palves@redhat.com>
11117
11118 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11119 (go32_resume, go32_fetch_registers, store_register)
11120 (go32_store_registers, go32_prepare_to_store)
11121 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11122 (go32_create_inferior, go32_can_run, go32_terminal_init)
11123 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11124 declarations.
11125
11126 2014-01-15 Tom Tromey <tromey@redhat.com>
11127
11128 * target.h (async_callback_ftype): New typedef.
11129 (struct target_ops) <to_async>: Use it.
11130
11131 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11132
11133 * python/py-value.c (get_field_type): Remove unnecessary curly
11134 braces for single-statement if block.
11135
11136 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11137
11138 * python/py-type.c (convert_field): Add missing empty line
11139 after declarations.
11140
11141 2014-01-14 Doug Evans <dje@google.com>
11142
11143 * symfile.h (expand_symtabs_matching): Renamed from
11144 expand_partial_symbol_names. Update prototype.
11145 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11146 * symfile.c (expand_symtabs_matching): Renamed from
11147 expand_partial_symbol_names. New args file_matcher, kind.
11148 Rename arg fun to symbol_matcher.
11149 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11150 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11151 ada_expand_partial_symbol_name.
11152 (ada_make_symbol_completion_list): Update to call
11153 expand_symtabs_matching.
11154 (ada_add_global_exceptions): Call expand_symtabs_matching.
11155 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11156 call map_symbol_filenames.
11157 * symtab.c (sources_info): Update to call map_symbol_filenames.
11158 (search_symbols): Call expand_symtabs_matching.
11159 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11160 (default_make_symbol_completion_list_break_on): Update to call
11161 expand_symtabs_matching.
11162 (make_source_files_completion_list): Update to call
11163 map_symbol_filenames.
11164
11165 2014-01-14 Doug Evans <dje@google.com>
11166
11167 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11168 (expand_symtabs_symbol_matcher_ftype): New typedef.
11169 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11170 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11171 * symfile.c (expand_partial_symbol_names): Update to use
11172 expand_symtabs_symbol_matcher_ftype.
11173 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11174 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11175 Arg name_matcher renamed to symbol_matcher.
11176 * psymtab.c (recursively_search_psymtabs): Update to use
11177 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11178 sym_matcher.
11179 (expand_symtabs_matching_via_partial): Update to use
11180 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11181 Arg name_matcher renamed to symbol_matcher.
11182
11183 2014-01-14 Doug Evans <dje@google.com>
11184
11185 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11186 (map_partial_symbol_filenames): Ditto.
11187 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11188 (map_partial_symbol_filenames): Ditto.
11189 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11190 (map_partial_symbol_filenames): Ditto.
11191 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11192 (map_partial_symbol_filenames): Ditto.
11193 * symtab.c: Delete #include "psymtab.h".
11194
11195 2014-01-14 Pedro Alves <palves@redhat.com>
11196 Tom Tromey <tromey@redhat.com>
11197
11198 * infrun.c (use_displaced_stepping): Use find_record_target
11199 instead of RECORD_IS_USED.
11200 (adjust_pc_after_break): Use record_full_is_used instead of
11201 RECORD_IS_USED.
11202 * record-btrace.c (record_btrace_open): Call record_preopen
11203 instead of checking RECORD_IS_USED.
11204 * record-full.c (record_full_shortname)
11205 (record_full_core_shortname): New globals.
11206 (record_full_is_used): New function.
11207 (find_full_open): Call record_preopen instead of checking
11208 RECORD_IS_USED.
11209 (init_record_full_ops): Set the target's shortname to
11210 record_full_shortname.
11211 (init_record_full_core_ops): Set the target's shortname to
11212 record_full_core_shortname.
11213 * record-full.h (record_full_is_used): Declare.
11214 * record.c (find_record_target): Make extern.
11215 (record_preopen): New function.
11216 * record.h (RECORD_IS_USED): Delete macro.
11217 (find_record_target, record_preopen): Declare functions.
11218
11219 2014-01-14 Yao Qi <yao@codesourcery.com>
11220
11221 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11222 'len''s type to ULONGEST.
11223 (core_xfer_shared_libraries_aix): Likewise.
11224 * gdbarch.c, gdbarch.h: Regenerated.
11225 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11226 Change type of 'len' to ULONGEST.
11227 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11228 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11229
11230 2014-01-14 Yao Qi <yao@codesourcery.com>
11231
11232 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11233 type of 'len' to ULONGEST.
11234 (linux_xfer_osdata_processgroups): Likewise.
11235 (linux_xfer_osdata_threads): Likewise.
11236 (linux_xfer_osdata_fds): Likewise.
11237 (linux_xfer_osdata_isockets): Likewise.
11238 (linux_xfer_osdata_shm): Likewise.
11239 (linux_xfer_osdata_sem): Likewise.
11240 (linux_xfer_osdata_msg): Likewise.
11241 (linux_common_xfer_osdata): Likewise.
11242 (struct osdata_type) <getter>: Likewise.
11243 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11244 the declaration.
11245
11246 2014-01-14 Yao Qi <yao@codesourcery.com>
11247
11248 * target.h (target_xfer_partial_ftype): Update.
11249 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11250 ULONGEST.
11251 * aix-thread.c (aix_thread_xfer_partial): Change type of
11252 argument 'len' to ULONGEST.
11253 * auxv.c (procfs_xfer_auxv): Likewise.
11254 (ld_so_xfer_auxv): Likewise.
11255 (memory_xfer_auxv): Likewise.
11256 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11257 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11258 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11259 * corelow.c (core_xfer_partial): Likewise.
11260 * ctf.c (ctf_xfer_partial): Likewise.
11261 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11262 '%u'.
11263 (darwin_read_dyld_info): Likewise.
11264 (darwin_xfer_partial): Likewise.
11265 * exec.c (section_table_xfer_memory_partial): Likewise.
11266 (exec_xfer_partial): Likewise.
11267 * exec.h (section_table_xfer_memory_partial): Update
11268 declaration.
11269 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11270 instead of plongest.
11271 (gnu_xfer_partial): Likewise.
11272 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11273 (ia64_hpux_xfer_solib_got): Likewise.
11274 (ia64_hpux_xfer_partial): Likewise.
11275 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11276 * inf-ptrace.c (inf_ptrace_xfer_partial):
11277 * inf-ttrace.c (inf_ttrace_xfer_partial):
11278 * linux-nat.c (linux_xfer_siginfo): Likewise.
11279 (linux_nat_xfer_partial): Likewise.
11280 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11281 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11282 * monitor.c (monitor_xfer_memory): Likewise.
11283 (monitor_xfer_partial): Likewise.
11284 * procfs.c (procfs_xfer_partial): Likewise.
11285 * record-full.c (record_full_xfer_partial): Likewise.
11286 (record_full_core_xfer_partial): Likewise.
11287 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11288 instead of plongest.
11289 (gdbsim_xfer_partial): Likewise.
11290 * remote.c (remote_xfer_partial): Likewise.
11291 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11292 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11293 declaration.
11294 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11295 (rs6000_xfer_shared_libraries): Likewise.
11296 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11297 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11298 (sparc_xfer_partial): Likewise.
11299 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11300 (spu_xfer_partial): Likewise.
11301 * spu-multiarch.c (spu_xfer_partial): Likewise.
11302 * target.c (target_read_live_memory): Likewise.
11303 (memory_xfer_live_readonly_partial): Likewise.
11304 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11305 (target_xfer_partial, default_xfer_partial): Likewise.
11306 (current_xfer_partial): Likewise.
11307 * tracepoint.c (tfile_xfer_partial): Likewise.
11308 * windows-nat.c (windows_xfer_memory): Likewise. Call
11309 pulongest instead of plongest.
11310 (windows_xfer_partial): Likewise.
11311 (windows_xfer_shared_libraries): Likewise.
11312
11313 2014-01-14 Yao Qi <yao@codesourcery.com>
11314
11315 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11316 target_xfer_partial_ftype.
11317
11318 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11319
11320 PR python/15464
11321 PR python/16113
11322 * valops.c (value_struct_elt_bitpos): New function
11323 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11324 object to 'None' if the field name is an empty string ("").
11325 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11326 attribute to look for a field when 'name' is 'None'.
11327 (get_field_type): New function
11328
11329 2014-01-13 Doug Evans <dje@google.com>
11330
11331 PR symtab/16426
11332 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11333 (try_open_dwop_file): Ditto.
11334 * gdb_bfd.c: #include "vec.h".
11335 (bfdp): New typedef.
11336 (struct gdb_bfd_data): New member included_bfds.
11337 (gdb_bfd_unref): Unref all included bfds.
11338 (gdb_bfd_record_inclusion): New function.
11339 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11340
11341 2014-01-13 Tom Tromey <tromey@redhat.com>
11342
11343 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11344
11345 2014-01-13 Tom Tromey <tromey@redhat.com>
11346
11347 * defs.h (use_windows): Remove.
11348 * gdb.c (main): Update.
11349 * main.c (captured_main, gdb_main): Update.
11350 * main.h (struct captured_main_args) <use_windows>: Remove.
11351 * top.c (use_windows): Remove.
11352
11353 2014-01-13 Tom Tromey <tromey@redhat.com>
11354
11355 * defs.h (deprecated_flush_hook): Remove.
11356
11357 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11358
11359 PR threads/16216
11360 * linux-thread-db.c (try_thread_db_load): Add parameter
11361 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11362 (try_thread_db_load_from_pdir_1): Move it there from here.
11363 (try_thread_db_load_from_sdir): Update caller.
11364 (try_thread_db_load_from_dir): Move it there from here.
11365
11366 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11367
11368 * regformats/regdat.sh: Always rewrite the register file.
11369
11370 2014-01-13 Pedro Alves <palves@redhat.com>
11371
11372 * Makefile.in (CHECK_HEADERS): New variable.
11373 (check-headers:): New rule.
11374
11375 2014-01-13 Tom Tromey <tromey@redhat.com>
11376
11377 * cli/cli-setshow.c (do_set_command): Update.
11378 * defs.h (deprecated_set_hook): Remove.
11379 * top.c (deprecated_set_hook): Remove.
11380
11381 2014-01-13 Pedro Alves <palves@redhat.com>
11382
11383 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11384 the tracepoint if the PC is a pseudo-register.
11385
11386 2014-01-13 Tom Tromey <tromey@redhat.com>
11387
11388 * defs.h (XCALLOC): Remove.
11389 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11390 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11391 * dwarf2loc.c (allocate_piece_closure): Likewise.
11392 * elfread.c (elf_symfile_segments): Likewise.
11393 (elf_symfile_segments): Likewise.
11394 * gdbtypes.c (copy_type_recursive): Likewise.
11395 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11396 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11397 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11398 XCALLOC.
11399 * mt-tdep.c (mt_gdbarch_init): Likewise.
11400 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11401 XCALLOC.
11402 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11403 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11404 * registry.c (registry_alloc_data): Likewise.
11405 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11406 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11407 * serial.c (serial_fdopen_ops): Likewise.
11408 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11409 XCALLOC.
11410 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11411 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11412 not XCALLOC.
11413
11414 2014-01-13 Tom Tromey <tromey@redhat.com>
11415
11416 * defs.h (XMALLOC): Remove.
11417 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11418 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11419 * cli-out.c (struct ui_out *): Likewise.
11420 * cli/cli-dump.c (add_dump_command): Likewise.
11421 (add_dump_command): Likewise.
11422 * complaints.c (get_complaints): Likewise.
11423 (find_complaint): Likewise.
11424 * dwarf2-frame.c (execute_cfa_program): Likewise.
11425 * dwarf2read.c (abbrev_table_read_table): Likewise.
11426 * gdbarch.sh: Likewise.
11427 * gdbarch.c: Rebuild.
11428 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11429 * interps.c (interp_new): Likewise.
11430 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11431 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11432 * mi/mi-console.c (mi_console_file_new): Likewise.
11433 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11434 * mi/mi-out.c (mi_out_new): Likewise.
11435 * mi/mi-parse.c (mi_parse): Likewise.
11436 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11437 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11438 * observer.c (xalloc_observer_list_node): Likewise.
11439 * regcache.c (regcache_xmalloc_1): Likewise.
11440 * reggroups.c (reggroup_new): Likewise.
11441 (_initialize_reggroup): Likewise.
11442 * registry.c (register_data_with_cleanup): Likewise.
11443 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11444 * ser-base.c (serial_ttystate): Likewise.
11445 * ser-mingw.c (make_pipe_state): Likewise.
11446 * ser-pipe.c (pipe_open): Likewise.
11447 * serial.c (serial_open): Likewise.
11448 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11449 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11450 (tui_alloc_win_info): Likewise.
11451 (tui_add_content_elements): Likewise.
11452 * tui/tui-file.c (tui_file_new): Likewise.
11453 * tui/tui-out.c (tui_out_new): Likewise.
11454 * ui-file.c (mem_file_new): Likewise.
11455 * ui-out.c (push_level): Likewise.
11456 (make_cleanup_ui_out_end): Likewise.
11457 (append_header_to_list): Likewise.
11458 (ui_out_new): Likewise.
11459 * user-regs.c (user_reg_add_builtin): Likewise.
11460
11461 2014-01-13 Tom Tromey <tromey@redhat.com>
11462
11463 * defs.h (XZALLOC): Remove.
11464 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11465 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11466 (get_ada_tasks_inferior_data): Likewise.
11467 * auto-load.c (get_auto_load_pspace_data): Likewise.
11468 * auxv.c (get_auxv_inferior_data): Likewise.
11469 * bfd-target.c (target_bfd_reopen): Likewise.
11470 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11471 (deprecated_insert_raw_breakpoint): Likewise.
11472 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11473 * corelow.c (core_open): Likewise.
11474 * darwin-nat.c (darwin_check_new_threads): Likewise.
11475 (darwin_attach_pid): Likewise.
11476 * dummy-frame.c (dummy_frame_push): Likewise.
11477 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11478 * dwarf2loc.c (allocate_piece_closure): Likewise.
11479 * elfread.c (elf_symfile_segments): Likewise.
11480 * eval.c (ptrmath_type_p): Likewise.
11481 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11482 * gdbtypes.c (alloc_type_arch): Likewise.
11483 (alloc_type_instance): Likewise.
11484 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11485 * inf-child.c (inf_child_can_use_agent): Likewise.
11486 * inflow.c (get_inflow_inferior_data): Likewise.
11487 * infrun.c (save_infcall_suspend_state): Likewise.
11488 * jit.c (jit_reader_load): Likewise.
11489 (get_jit_objfile_data): Likewise.
11490 (get_jit_program_space_data): Likewise.
11491 (jit_object_open_impl): Likewise.
11492 (jit_symtab_open_impl): Likewise.
11493 (jit_block_open_impl): Likewise.
11494 (jit_frame_sniffer): Likewise.
11495 * linux-fork.c (add_fork): Likewise.
11496 * maint.c (make_command_stats_cleanup): Likewise.
11497 * objfiles.c (get_objfile_pspace_data): Likewise.
11498 * opencl-lang.c (struct lval_closure): Likewise.
11499 * osdata.c (osdata_start_osdata): Likewise.
11500 * progspace.c (new_address_space): Likewise.
11501 (add_program_space): Likewise.
11502 * remote-sim.c (get_sim_inferior_data): Likewise.
11503 * sh-tdep.c (sh_gdbarch_init): Likewise.
11504 * skip.c (Ignore): Likewise.
11505 (skip_delete_command): Likewise.
11506 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11507 (library_list_start_library): Likewise.
11508 (solib_aix_current_sos): Likewise.
11509 * solib-darwin.c (get_darwin_info): Likewise.
11510 (darwin_current_sos): Likewise.
11511 * solib-dsbt.c (get_dsbt_info): Likewise.
11512 * solib-ia64-hpux.c (new_so_list): Likewise.
11513 (ia64_hpux_get_solib_linkage_addr): Likewise.
11514 * solib-spu.c (append_ocl_sos): Likewise.
11515 (spu_current_sos): Likewise.
11516 * solib-svr4.c (get_svr4_info): Likewise.
11517 (svr4_keep_data_in_core): Likewise.
11518 (library_list_start_library): Likewise.
11519 (svr4_default_sos): Likewise.
11520 (svr4_read_so_list): Likewise.
11521 * solib-target.c (library_list_start_library): Likewise.
11522 (solib_target_current_sos): Likewise.
11523 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11524 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11525 * symfile.c (default_symfile_segments): Likewise.
11526 * target-descriptions.c (tdesc_data_init): Likewise.
11527 (tdesc_create_reg): Likewise.
11528 (struct tdesc_type *): Likewise.
11529 (tdesc_create_vector): Likewise.
11530 (tdesc_set_struct_size): Likewise.
11531 (struct tdesc_type *): Likewise.
11532 (tdesc_free_feature): Likewise.
11533 (tdesc_create_feature): Likewise.
11534 * windows-nat.c (windows_add_thread): Likewise.
11535 (windows_make_so): Likewise.
11536 * xml-support.c (gdb_xml_body_text): Likewise.
11537 (gdb_xml_create_parser_and_cleanup): Likewise.
11538 (xml_process_xincludes): Likewise.
11539 * xml-syscall.c (allocate_syscalls_info): Likewise.
11540 (syscall_create_syscall_desc): Likewise.
11541
11542 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11543
11544 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11545 function, with code from i386_stap_parse_special_token.
11546 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11547 (i386_stap_parse_special_token): Move code to the two functions
11548 above; simplify it.
11549
11550 2014-01-09 Pedro Alves <palves@redhat.com>
11551 Hui Zhu <hui@codesourcery.com>
11552
11553 PR gdb/16101
11554 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11555 bp_err_string. Don't mark the location shlib_disabled if the
11556 error thrown wasn't a generic or memory error. Catch errors
11557 thrown while inserting breakpoints in overlayed code. Output
11558 error message of software breakpoints.
11559 * remote.c (remote_insert_breakpoint): If this breakpoint has
11560 target-side commands but this stub doesn't support Z0 packets,
11561 throw NOT_SUPPORTED_ERROR error.
11562 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11563 * target.h (target_insert_breakpoint): Extend comment.
11564 (target_insert_hw_breakpoint): Add comment.
11565
11566 2014-01-08 Pedro Alves <palves@redhat.com>
11567
11568 * remote.c (remote_add_thread): Add threads silently if starting
11569 up.
11570 (remote_notice_new_inferior): If in all-stop, and starting up,
11571 don't call notice_new_inferior.
11572 (get_current_thread): New function, factored out from ...
11573 (add_current_inferior_and_thread): ... this. Adjust.
11574 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11575 found any thread, then select the remote's current thread as GDB's
11576 current thread too.
11577
11578 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11579
11580 * NEWS: Create a new section for the next release branch.
11581 Rename the section of the current branch, now that it has
11582 been cut.
11583
11584 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11585
11586 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11587 * version.in: Bump version to 7.7.50.DATE-cvs.
11588
11589 2014-01-08 Yao Qi <yao@codesourcery.com>
11590
11591 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11592 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11593 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11594
11595 2014-01-08 Yao Qi <yao@codesourcery.com>
11596
11597 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11598 return value of bfd_get_filename to symbol_file_add_from_bfd.
11599
11600 2014-01-08 Pierre Muller <muller@sourceware.org>
11601
11602 Fix PR16201.
11603 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11604 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11605 to prim_record_mininal_symbol_and_info.
11606 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11607 in call to prim_record_minimal_symbol_and_info.
11608 (read_pe_exported_syms): Set index field of section_data.
11609
11610 2014-01-07 Andrew Pinski <apinski@cavium.com>
11611
11612 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11613 * features/aarch64.c: Regenerate.
11614
11615 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11616
11617 * target.c (return_null): Define.
11618 (update_current_target): Use it instead of return_zero for
11619 functions that return a pointer.
11620
11621 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11622
11623 * source.c (add_path): Fix check for duplicated paths in the previously
11624 included paths.
11625
11626 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11627
11628 * ada-lang.c: Remove duplicated include statements.
11629 * alphabsd-nat.c: Ditto.
11630 * amd64-darwin-tdep.c: Ditto.
11631 * amd64fbsd-nat.c: Ditto.
11632 * auto-load.c: Ditto.
11633 * ax-gdb.c: Ditto.
11634 * breakpoint.c: Ditto.
11635 * dbxread.c: Ditto.
11636 * fork-child.c: Ditto.
11637 * gdb_usleep.c: Ditto.
11638 * i386-darwin-tdep.c: Ditto.
11639 * i386fbsd-nat.c: Ditto.
11640 * infcmd.c: Ditto.
11641 * inferior.c: Ditto.
11642 * jv-lang.c: Ditto.
11643 * linux-nat.c: Ditto.
11644 * linux-tdep.c: Ditto.
11645 * m68kbsd-nat.c: Ditto.
11646 * m68klinux-nat.c: Ditto.
11647 * microblaze-tdep.c: Ditto.
11648 * mips-linux-tdep.c: Ditto.
11649 * mn10300-tdep.c: Ditto.
11650 * nto-tdep.c: Ditto.
11651 * opencl-lang.c: Ditto.
11652 * osdata.c: Ditto.
11653 * printcmd.c: Ditto.
11654 * regcache.c: Ditto.
11655 * remote-m32r-sdi.c: Ditto.
11656 * remote.c: Ditto.
11657 * symfile.c: Ditto.
11658 * symtab.c: Ditto.
11659 * tilegx-linux-nat.c: Ditto.
11660 * tilegx-tdep.c: Ditto.
11661 * tracepoint.c: Ditto.
11662 * valops.c: Ditto.
11663 * vaxbsd-nat.c: Ditto.
11664 * windows-nat.c: Ditto.
11665 * xtensa-tdep.c: Ditto.
11666
11667 2014-01-07 Yao Qi <yao@codesourcery.com>
11668
11669 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11670
11671 2014-01-07 Yao Qi <yao@codesourcery.com>
11672 Joel Brobecker <brobecker@adacore.com>
11673
11674 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11675 (pdc_write_regs): Likewise.
11676 (fetch_regs_kernel_thread): Likewise.
11677 (store_regs_kernel_thread): Likewise.
11678
11679 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11680
11681 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11682 tagged type objects to their actual type.
11683
11684 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11685
11686 * ada-valprint.c (print_field_values): Add "language" parameter.
11687 Update calls to print_field_values and print_variant_part.
11688 Pass new parameter "language" in call to val_print instead
11689 of "current_language". Replace call to ada_val_print by call
11690 to val_print.
11691 (print_variant_part): Add "language" parameter.
11692 (ada_val_print_struct_union): Update call to print_field_values.
11693
11694 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11695
11696 * ada-valprint.c (ui_memcpy): Delete.
11697 (ada_print_floating): Update documentation. Add empty line
11698 between between function documentation and implementation.
11699 Delete variable "buffer". Use ui_file_xstrdup in place of
11700 ui_file_put. Minor adjustments following this change.
11701
11702 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11703
11704 * ada-valprint.c (ada_val_print_string): New function,
11705 extracted from ada_val_print_array.
11706 (ada_val_print_array): Replace extracted code by call
11707 to ada_val_print_string followed by a return. Move
11708 "else" branch to the function's top block.
11709
11710 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11711
11712 * ada-valprint.c (ada_val_print_array): Move implementation
11713 down. Rename parameter "offset" and "val" into "offset_aligned"
11714 and "original_value" respectively. Add parameter "offset".
11715
11716 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11717
11718 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11719 re-organizing the code. Change the "???" message printed
11720 when target type is a TYPE_CODE_UNDEF into
11721 "<ref to undefined type>".
11722
11723 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11724
11725 * ada-valprint.c (print_record): Delete, implementation inlined...
11726 (ada_val_print_struct_union): ... here. Remove call to
11727 ada_check_typedef in inlined implementation.
11728
11729 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11730
11731 * ada-valprint.c (ada_val_print_gnat_array): New function,
11732 extracted from ada_val_print_1;
11733 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
11734 (ada_val_print_flt, ada_val_print_struct_union)
11735 (ada_val_print_ref): Likewise.
11736 (ada_val_print_1): Delete variables i and elttype.
11737 Replace extracted-out code by call to corresponding
11738 new functions.
11739
11740 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11741
11742 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
11743
11744 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11745
11746 * ada-valprint.c (ada_val_print_1): Replace calls to
11747 ada_val_print_1 by calls to val_print.
11748
11749 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11750
11751 * ada-valprint.c (ada_val_print_1): Add parameter "language".
11752 Update calls to self accordingly. Replace calls to c_val_print
11753 by calls to val_print.
11754
11755 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11756
11757 * ada-valprint.c (print_record): Delete declaration.
11758 (adjust_type_signedness, ada_val_print_1): Likewise.
11759 (ada_val_print): Move function implementation down.
11760 (print_variant_part, print_field_values, print_record):
11761 Move function implementation up.
11762
11763 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11764
11765 * python/py-type.c (typy_get_name): New function.
11766 (type_object_getset): Add entry for attribute "name".
11767 * NEWS: Add entry mentioning this new attribute.
11768
11769 2014-01-07 Yao Qi <yao@codesourcery.com>
11770
11771 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
11772 statement.
11773
11774 2014-01-07 Yao Qi <yao@codesourcery.com>
11775
11776 * gnu-nat.c (info_port_rights): Add qualifier const to
11777 argument args.
11778
11779 2014-01-07 Yao Qi <yao@codesourcery.com>
11780
11781 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
11782
11783 2014-01-07 Yao Qi <yao@codesourcery.com>
11784
11785 * gnu-nat.c (make_inf) Update declaration.
11786 (make_inf): Make it static.
11787 (inf_set_traced): Likewise.
11788 (inf_port_to_thread, inf_task_died_status): Likewise.
11789
11790 2014-01-07 Yao Qi <yao@codesourcery.com>
11791
11792 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
11793
11794 2014-01-07 Yao Qi <yao@codesourcery.com>
11795
11796 * gnu-nat.c (_initialize_gnu_nat): Declare.
11797
11798 2014-01-07 Yao Qi <yao@codesourcery.com>
11799
11800 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
11801 'enum bfd_endian'.
11802 (struct gdbarch_info) <byte_order>: Change type to
11803 'enum bfd_endian'.
11804 <byte_order_for_code>: Likewise.
11805 * gdbarch.c, gdbarch.h: Regenerated.
11806
11807 2014-01-06 Sasha Smundak <asmundak@google.com>
11808
11809 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
11810
11811 2014-01-06 Tom Tromey <tromey@redhat.com>
11812
11813 * doublest.c (convert_doublest_to_floatformat): Use const, not
11814 CONST.
11815 * somread.c (som_symtab_read): Likewise.
11816
11817 2014-01-07 Hui Zhu <hui@codesourcery.com>
11818
11819 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
11820 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
11821 (gdb_bfd_fopen): Ditto.
11822 (gdb_bfd_openr): Ditto.
11823 (gdb_bfd_openw): Ditto.
11824 (gdb_bfd_openr_iovec): Ditto.
11825 (gdb_bfd_fdopenr): Ditto.
11826 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
11827 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
11828 with xstrdup.
11829 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
11830 with xstrdup.
11831 * symfile-mem.c (symbol_file_add_from_memory): Removed
11832 gdb_bfd_stash_filename.
11833
11834 2014-01-03 Doug Evans <dje@google.com>
11835
11836 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
11837 output.
11838
11839 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11840
11841 Update year range in copyright notice of all files.
11842
11843 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11844
11845 * top.c (print_gdb_version): Set copyright year to 2014.
11846
11847 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11848
11849 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
11850
11851 For older changes see ChangeLog-2013.
11852 \f
11853 Local Variables:
11854 mode: change-log
11855 left-margin: 8
11856 fill-column: 74
11857 version-control: never
11858 coding: utf-8
11859 End:
This page took 0.256091 seconds and 5 git commands to generate.