Add "frame.h" #include in gdbarch.h.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2014-08-15 Joel Brobecker <brobecker@adacore.com>
2
3 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
4 frame_info" partial declaration.
5 * gdbarch.h: Regenerate.
6
7 2014-08-15 Yao Qi <yao@codesourcery.com>
8
9 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
10 Add parameter 'decode_for_pst_p'. Callers update.
11
12 2014-08-13 Yao Qi <yao@codesourcery.com>
13
14 PR build/17104
15 * configure.ac: Use local variable 'pos'.
16 * configure: Regenerated.
17
18 2014-08-11 Doug Evans <dje@google.com>
19
20 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
21 message, it is redundant with "Reading symbols from ..." message.
22
23 2014-08-10 Doug Evans <xdje42@gmail.com>
24
25 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
26
27 2014-08-09 Yao Qi <yao@codesourcery.com>
28
29 PR remote/9053
30 * remote.c (remote_xfer_partial): Remove dead code.
31
32 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
33
34 * ia64-linux-tdep.c: Include "regset.h".
35 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
36 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
37 (ia64_linux_supply_fpregset): New function.
38 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
39 (ia64_linux_regset_from_core_section): New function.
40 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
41 method.
42
43 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
44
45 * m68klinux-tdep.c: Include "regset.h".
46 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
47 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
48 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
49 (m68k_linux_regset_from_core_section): New function.
50 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
51 method.
52
53 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
54
55 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
56 function. Move logic to...
57 (tilegx_linux_regmap): ... this new register map.
58 (tilegx_linux_regset): Refer to register map, replace supply
59 method by regcache_supply_regset, and add collect method.
60 * tilegx-tdep.h (enum tilegx_regnum): New enum value
61 TILEGX_FIRST_EASY_REGNUM.
62
63 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
64
65 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
66 that calls regcache_supply_regset and handles the EPC register
67 separately. Move main logic to...
68 (score7_linux_gregmap): ... this new register map.
69 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
70 (score7_linux_gregset): Refer to register map. Add collect method.
71 (score7_linux_regset_from_core_section): Replace
72 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
73 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
74 (struct regset): Delete unused forward declaraction.
75 (struct pt_regs): Delete structure definition.
76 (elf_gregset_t): Delete typedef.
77
78 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
79
80 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
81 (nios2_core_regset): Add collect method.
82
83 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
84
85 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
86 platform-independent and don't write to read-only input buffer.
87 (m32r_linux_collect_gregset): New function.
88 (m32r_linux_gregset): Add collect method.
89
90 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
91
92 * hppa-linux-tdep.c (greg_map): Rename to...
93 (hppa_linux_gregmap): ... this. Also convert to
94 regcache_map_entry format.
95 (hppa_linux_supply_regset): Delete function.
96 (hppa_linux_supply_fpregset): Delete function. Move logic to...
97 (hppa_linux_fpregmap): ... this new register map.
98 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
99 register map, replace supply method by regcache_supply_regset, and
100 add collect method regcache_collect_regset.
101
102 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
103
104 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
105 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
106 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
107 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
108 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
109 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
110 (frv_linux_supply_gregset): Replace main logic by call to
111 regcache_supply_regset, but keep clearing gr32-gr63.
112 (frv_linux_supply_fpregset): Delete function.
113 (frv_linux_gregset): Refer to appropriate register map and add
114 regcache_collect_regset as the collect method.
115 (frv_linux_fpregset): Likewise. Also exchange the supply method
116 by regcache_supply_regset.
117
118 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
119
120 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
121 by call to alpha_supply_int_regs.
122 (alpha_linux_collect_gregset): New function.
123 (alpha_linux_supply_fpregset): Replace logic by call to
124 alpha_supply_fp_regs.
125 (alpha_linux_collect_fpregset): New function.
126 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
127
128 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
129
130 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
131 by call to regcache_collect_regset.
132 (supply_gregset, supply_fpregset): Call regcache_supply_regset
133 instead of aarch64_linux_supply_gregset/_fpregset.
134 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
135 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
136 header file instead.
137 (aarch64_linux_supply_gregset, supply_gregset_from_core)
138 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
139 functions. Move logic to ...
140 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
141 register maps.
142 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
143 refer to new register maps, replace *_regset_from_core by
144 regcache_supply_regset, and also use regcache_collect_regset.
145 * aarch64-linux-tdep.h: Include "regset.h".
146 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
147 Delete prototypes.
148 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
149 macros, moved from C source file.
150 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
151 variable declarations.
152
153 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
154
155 * s390-linux-nat.c: Include "regset.h".
156 (regmap_gregset): Delete macro.
157 (s390_64_regmap_gregset): New register map for
158 regcache_supply/_collect_regset.
159 (s390_64_gregset): New regset.
160 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
161 (regmap_fpregset): Delete macro.
162 (s390_native_supply, s390_native_collect): Delete functions.
163 (supply_gregset, fill_gregset): Replace s390-specific regmap
164 handling by a call to regcache_supply/_collect_regset.
165 (supply_fpregset, fill_fpregset): Call regcache_supply/
166 _collect_regset instead of s390_native_supply/_collect.
167 (fetch_regset, store_regset): Likewise. Also change the last
168 parameter to a regset instead of a regmap.
169 (s390_linux_fetch_inferior_registers)
170 (390_linux_store_inferior_registers): Adjust last parameter in
171 calls to fetch_regset and store_regset.
172 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
173 (s390_gregmap): ... this. Also make static const and convert to
174 regcache_map_entry format.
175 (s390x_regmap_gregset): Delete.
176 (s390_regmap_fpregset): Rename to...
177 (s390_fpregmap): ... this. Make static const and convert to
178 regcache_map_entry format.
179 (s390_regmap_upper, s390_regmap_last_break)
180 (s390x_regmap_last_break, s390_regmap_system_call)
181 (s390_regmap_tdb): Likewise.
182 (s390_supply_regset, s390_collect_regset): Remove functions.
183 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
184 s390_supply_regset.
185 (s390_gregset, s390_fpregset, s390_upper_regset)
186 (s390_last_break_regset, s390x_last_break_regset)
187 (s390_system_call_regset, s390_tdb_regset): Make global and
188 replace s390_supply/_collect_regset by regcache_supply/
189 _collect_regset.
190 (s390x_gregset): Delete.
191 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
192 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
193 (s390_regmap_fpregset, s390_regmap_last_break)
194 (s390x_regmap_last_break, s390_regmap_system_call)
195 (s390_regmap_tdb): Delete global variable declarations.
196 (s390_gregset, s390_fpregset, s390_last_break_regset)
197 (s390x_last_break_regset, s390_system_call_regset)
198 (s390_tdb_regset): New global variable declarations.
199
200 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
201
202 * regcache.c: Include "regset.h".
203 (regcache_transfer_regset): New local function.
204 (regcache_supply_regset, regcache_collect_regset): New functions.
205 * regcache.h (struct regcache_map_entry): New structure.
206 (REGCACHE_MAP_SKIP): New enum value.
207 (regcache_supply_regset, regcache_collect_regset): New prototypes.
208
209 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
210
211 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
212 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
213 (ppc_linux_collect_gregset ): Likewise.
214 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
215 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
216 (ppc_collect_vrregset): Likewise.
217 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
218 Likewise.
219
220 2014-08-07 Yao Qi <yao@codesourcery.com>
221
222 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
223 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
224 * remote.c (remote_read_bytes): Likewise.
225
226 2014-08-07 Yao Qi <yao@codesourcery.com>
227
228 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
229
230 2014-08-07 Yao Qi <yao@codesourcery.com>
231
232 PR remote/17230
233 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
234 TARGET_XFER_OK instead of 0.
235
236 2014-08-07 Gary Benson <gbenson@redhat.com>
237
238 * common/common-defs.h: Include errno.h.
239 * defs.h: Do not include errno.h.
240 * ada-typeprint.c: Likewise.
241 * c-typeprint.c: Likewise.
242 * core-regset.c: Likewise.
243 * corefile.c: Likewise.
244 * corelow.c: Likewise.
245 * event-loop.c: Likewise.
246 * f-typeprint.c: Likewise.
247 * gnu-nat.c: Likewise.
248 * go32-nat.c: Likewise.
249 * i386gnu-nat.c: Likewise.
250 * m2-typeprint.c: Likewise.
251 * nat/linux-btrace.c: Likewise.
252 * p-typeprint.c: Likewise.
253 * procfs.c: Likewise.
254 * remote-sim.c: Likewise.
255 * rs6000-nat.c: Likewise.
256 * target.c: Likewise.
257 * typeprint.c: Likewise.
258 * ui-file.c: Likewise.
259 * valops.c: Likewise.
260 * valprint.c: Likewise.
261
262 2014-08-07 Gary Benson <gbenson@redhat.com>
263
264 * common/common-defs.h: Include string.h.
265 * aarch64-tdep.c: Do not include string.h.
266 * ada-exp.y: Likewise.
267 * ada-lang.c: Likewise.
268 * ada-lex.l: Likewise.
269 * ada-typeprint.c: Likewise.
270 * ada-valprint.c: Likewise.
271 * aix-thread.c: Likewise.
272 * alpha-linux-tdep.c: Likewise.
273 * alpha-mdebug-tdep.c: Likewise.
274 * alpha-nat.c: Likewise.
275 * alpha-osf1-tdep.c: Likewise.
276 * alpha-tdep.c: Likewise.
277 * alphanbsd-tdep.c: Likewise.
278 * amd64-dicos-tdep.c: Likewise.
279 * amd64-linux-tdep.c: Likewise.
280 * amd64-nat.c: Likewise.
281 * amd64-sol2-tdep.c: Likewise.
282 * amd64fbsd-tdep.c: Likewise.
283 * amd64obsd-tdep.c: Likewise.
284 * arch-utils.c: Likewise.
285 * arm-linux-nat.c: Likewise.
286 * arm-linux-tdep.c: Likewise.
287 * arm-tdep.c: Likewise.
288 * arm-wince-tdep.c: Likewise.
289 * armbsd-tdep.c: Likewise.
290 * armnbsd-nat.c: Likewise.
291 * armnbsd-tdep.c: Likewise.
292 * armobsd-tdep.c: Likewise.
293 * avr-tdep.c: Likewise.
294 * ax-gdb.c: Likewise.
295 * ax-general.c: Likewise.
296 * bcache.c: Likewise.
297 * bfin-tdep.c: Likewise.
298 * breakpoint.c: Likewise.
299 * build-id.c: Likewise.
300 * buildsym.c: Likewise.
301 * c-exp.y: Likewise.
302 * c-lang.c: Likewise.
303 * c-typeprint.c: Likewise.
304 * c-valprint.c: Likewise.
305 * charset.c: Likewise.
306 * cli-out.c: Likewise.
307 * cli/cli-cmds.c: Likewise.
308 * cli/cli-decode.c: Likewise.
309 * cli/cli-dump.c: Likewise.
310 * cli/cli-interp.c: Likewise.
311 * cli/cli-logging.c: Likewise.
312 * cli/cli-script.c: Likewise.
313 * cli/cli-setshow.c: Likewise.
314 * cli/cli-utils.c: Likewise.
315 * coffread.c: Likewise.
316 * common/agent.c: Likewise.
317 * common/buffer.c: Likewise.
318 * common/buffer.h: Likewise.
319 * common/common-utils.c: Likewise.
320 * common/filestuff.c: Likewise.
321 * common/filestuff.c: Likewise.
322 * common/format.c: Likewise.
323 * common/print-utils.c: Likewise.
324 * common/rsp-low.c: Likewise.
325 * common/signals.c: Likewise.
326 * common/vec.h: Likewise.
327 * common/xml-utils.c: Likewise.
328 * core-regset.c: Likewise.
329 * corefile.c: Likewise.
330 * corelow.c: Likewise.
331 * cp-abi.c: Likewise.
332 * cp-name-parser.y: Likewise.
333 * cp-support.c: Likewise.
334 * cp-valprint.c: Likewise.
335 * cris-tdep.c: Likewise.
336 * d-exp.y: Likewise.
337 * darwin-nat.c: Likewise.
338 * dbxread.c: Likewise.
339 * dcache.c: Likewise.
340 * demangle.c: Likewise.
341 * dicos-tdep.c: Likewise.
342 * disasm.c: Likewise.
343 * doublest.c: Likewise.
344 * dsrec.c: Likewise.
345 * dummy-frame.c: Likewise.
346 * dwarf2-frame.c: Likewise.
347 * dwarf2loc.c: Likewise.
348 * dwarf2read.c: Likewise.
349 * elfread.c: Likewise.
350 * environ.c: Likewise.
351 * eval.c: Likewise.
352 * event-loop.c: Likewise.
353 * exceptions.c: Likewise.
354 * exec.c: Likewise.
355 * expprint.c: Likewise.
356 * f-exp.y: Likewise.
357 * f-lang.c: Likewise.
358 * f-typeprint.c: Likewise.
359 * f-valprint.c: Likewise.
360 * fbsd-nat.c: Likewise.
361 * findcmd.c: Likewise.
362 * findvar.c: Likewise.
363 * fork-child.c: Likewise.
364 * frame.c: Likewise.
365 * frv-linux-tdep.c: Likewise.
366 * frv-tdep.c: Likewise.
367 * gdb.c: Likewise.
368 * gdb_bfd.c: Likewise.
369 * gdbarch.c: Likewise.
370 * gdbarch.sh: Likewise.
371 * gdbtypes.c: Likewise.
372 * gnu-nat.c: Likewise.
373 * gnu-v2-abi.c: Likewise.
374 * gnu-v3-abi.c: Likewise.
375 * go-exp.y: Likewise.
376 * go-lang.c: Likewise.
377 * go32-nat.c: Likewise.
378 * guile/guile.c: Likewise.
379 * guile/scm-auto-load.c: Likewise.
380 * hppa-hpux-tdep.c: Likewise.
381 * hppa-linux-nat.c: Likewise.
382 * hppanbsd-tdep.c: Likewise.
383 * hppaobsd-tdep.c: Likewise.
384 * i386-cygwin-tdep.c: Likewise.
385 * i386-dicos-tdep.c: Likewise.
386 * i386-linux-tdep.c: Likewise.
387 * i386-nto-tdep.c: Likewise.
388 * i386-sol2-tdep.c: Likewise.
389 * i386-tdep.c: Likewise.
390 * i386bsd-tdep.c: Likewise.
391 * i386gnu-nat.c: Likewise.
392 * i386nbsd-tdep.c: Likewise.
393 * i386obsd-tdep.c: Likewise.
394 * i387-tdep.c: Likewise.
395 * ia64-libunwind-tdep.c: Likewise.
396 * ia64-linux-nat.c: Likewise.
397 * inf-child.c: Likewise.
398 * inf-ptrace.c: Likewise.
399 * inf-ttrace.c: Likewise.
400 * infcall.c: Likewise.
401 * infcmd.c: Likewise.
402 * inflow.c: Likewise.
403 * infrun.c: Likewise.
404 * interps.c: Likewise.
405 * iq2000-tdep.c: Likewise.
406 * irix5-nat.c: Likewise.
407 * jv-exp.y: Likewise.
408 * jv-lang.c: Likewise.
409 * jv-typeprint.c: Likewise.
410 * jv-valprint.c: Likewise.
411 * language.c: Likewise.
412 * linux-fork.c: Likewise.
413 * linux-nat.c: Likewise.
414 * lm32-tdep.c: Likewise.
415 * m2-exp.y: Likewise.
416 * m2-typeprint.c: Likewise.
417 * m32c-tdep.c: Likewise.
418 * m32r-linux-nat.c: Likewise.
419 * m32r-linux-tdep.c: Likewise.
420 * m32r-rom.c: Likewise.
421 * m32r-tdep.c: Likewise.
422 * m68hc11-tdep.c: Likewise.
423 * m68k-tdep.c: Likewise.
424 * m68kbsd-tdep.c: Likewise.
425 * m68klinux-nat.c: Likewise.
426 * m68klinux-tdep.c: Likewise.
427 * m88k-tdep.c: Likewise.
428 * machoread.c: Likewise.
429 * macrocmd.c: Likewise.
430 * main.c: Likewise.
431 * mdebugread.c: Likewise.
432 * mem-break.c: Likewise.
433 * memattr.c: Likewise.
434 * memory-map.c: Likewise.
435 * mep-tdep.c: Likewise.
436 * mi/mi-cmd-break.c: Likewise.
437 * mi/mi-cmd-disas.c: Likewise.
438 * mi/mi-cmd-env.c: Likewise.
439 * mi/mi-cmd-stack.c: Likewise.
440 * mi/mi-cmd-var.c: Likewise.
441 * mi/mi-cmds.c: Likewise.
442 * mi/mi-console.c: Likewise.
443 * mi/mi-getopt.c: Likewise.
444 * mi/mi-interp.c: Likewise.
445 * mi/mi-main.c: Likewise.
446 * mi/mi-parse.c: Likewise.
447 * microblaze-rom.c: Likewise.
448 * microblaze-tdep.c: Likewise.
449 * mingw-hdep.c: Likewise.
450 * minidebug.c: Likewise.
451 * minsyms.c: Likewise.
452 * mips-irix-tdep.c: Likewise.
453 * mips-linux-tdep.c: Likewise.
454 * mips-tdep.c: Likewise.
455 * mips64obsd-tdep.c: Likewise.
456 * mipsnbsd-tdep.c: Likewise.
457 * mipsread.c: Likewise.
458 * mn10300-linux-tdep.c: Likewise.
459 * mn10300-tdep.c: Likewise.
460 * monitor.c: Likewise.
461 * moxie-tdep.c: Likewise.
462 * mt-tdep.c: Likewise.
463 * nat/linux-btrace.c: Likewise.
464 * nat/linux-osdata.c: Likewise.
465 * nat/linux-procfs.c: Likewise.
466 * nat/linux-ptrace.c: Likewise.
467 * nat/linux-waitpid.c: Likewise.
468 * nbsd-tdep.c: Likewise.
469 * nios2-linux-tdep.c: Likewise.
470 * nto-procfs.c: Likewise.
471 * nto-tdep.c: Likewise.
472 * objc-lang.c: Likewise.
473 * objfiles.c: Likewise.
474 * opencl-lang.c: Likewise.
475 * osabi.c: Likewise.
476 * osdata.c: Likewise.
477 * p-exp.y: Likewise.
478 * p-lang.c: Likewise.
479 * p-typeprint.c: Likewise.
480 * parse.c: Likewise.
481 * posix-hdep.c: Likewise.
482 * ppc-linux-nat.c: Likewise.
483 * ppc-sysv-tdep.c: Likewise.
484 * ppcfbsd-tdep.c: Likewise.
485 * ppcnbsd-tdep.c: Likewise.
486 * ppcobsd-tdep.c: Likewise.
487 * printcmd.c: Likewise.
488 * procfs.c: Likewise.
489 * prologue-value.c: Likewise.
490 * python/py-auto-load.c: Likewise.
491 * python/py-gdb-readline.c: Likewise.
492 * ravenscar-thread.c: Likewise.
493 * regcache.c: Likewise.
494 * registry.c: Likewise.
495 * remote-fileio.c: Likewise.
496 * remote-m32r-sdi.c: Likewise.
497 * remote-mips.c: Likewise.
498 * remote-notif.c: Likewise.
499 * remote-sim.c: Likewise.
500 * remote.c: Likewise.
501 * reverse.c: Likewise.
502 * rs6000-aix-tdep.c: Likewise.
503 * ser-base.c: Likewise.
504 * ser-go32.c: Likewise.
505 * ser-mingw.c: Likewise.
506 * ser-pipe.c: Likewise.
507 * ser-tcp.c: Likewise.
508 * ser-unix.c: Likewise.
509 * serial.c: Likewise.
510 * sh-tdep.c: Likewise.
511 * sh64-tdep.c: Likewise.
512 * shnbsd-tdep.c: Likewise.
513 * skip.c: Likewise.
514 * sol-thread.c: Likewise.
515 * solib-dsbt.c: Likewise.
516 * solib-frv.c: Likewise.
517 * solib-osf.c: Likewise.
518 * solib-som.c: Likewise.
519 * solib-spu.c: Likewise.
520 * solib-target.c: Likewise.
521 * solib.c: Likewise.
522 * somread.c: Likewise.
523 * source.c: Likewise.
524 * sparc-nat.c: Likewise.
525 * sparc-sol2-tdep.c: Likewise.
526 * sparc-tdep.c: Likewise.
527 * sparc64-tdep.c: Likewise.
528 * sparc64fbsd-tdep.c: Likewise.
529 * sparc64nbsd-tdep.c: Likewise.
530 * sparcnbsd-tdep.c: Likewise.
531 * spu-linux-nat.c: Likewise.
532 * spu-multiarch.c: Likewise.
533 * spu-tdep.c: Likewise.
534 * stabsread.c: Likewise.
535 * stack.c: Likewise.
536 * std-regs.c: Likewise.
537 * symfile.c: Likewise.
538 * symmisc.c: Likewise.
539 * symtab.c: Likewise.
540 * target.c: Likewise.
541 * thread.c: Likewise.
542 * tilegx-linux-nat.c: Likewise.
543 * tilegx-tdep.c: Likewise.
544 * top.c: Likewise.
545 * tracepoint.c: Likewise.
546 * tui/tui-command.c: Likewise.
547 * tui/tui-data.c: Likewise.
548 * tui/tui-disasm.c: Likewise.
549 * tui/tui-file.c: Likewise.
550 * tui/tui-layout.c: Likewise.
551 * tui/tui-out.c: Likewise.
552 * tui/tui-regs.c: Likewise.
553 * tui/tui-source.c: Likewise.
554 * tui/tui-stack.c: Likewise.
555 * tui/tui-win.c: Likewise.
556 * tui/tui-windata.c: Likewise.
557 * tui/tui-winsource.c: Likewise.
558 * typeprint.c: Likewise.
559 * ui-file.c: Likewise.
560 * ui-out.c: Likewise.
561 * user-regs.c: Likewise.
562 * utils.c: Likewise.
563 * v850-tdep.c: Likewise.
564 * valarith.c: Likewise.
565 * valops.c: Likewise.
566 * valprint.c: Likewise.
567 * value.c: Likewise.
568 * varobj.c: Likewise.
569 * vax-tdep.c: Likewise.
570 * vaxnbsd-tdep.c: Likewise.
571 * vaxobsd-tdep.c: Likewise.
572 * windows-nat.c: Likewise.
573 * xcoffread.c: Likewise.
574 * xml-support.c: Likewise.
575 * xstormy16-tdep.c: Likewise.
576 * xtensa-linux-nat.c: Likewise.
577
578 2014-08-07 Gary Benson <gbenson@redhat.com>
579
580 * common/common-defs.h: Include gdb_assert.h.
581 * aarch64-tdep.c: Do not include gdb_assert.h.
582 * addrmap.c: Likewise.
583 * aix-thread.c: Likewise.
584 * alpha-linux-tdep.c: Likewise.
585 * alpha-mdebug-tdep.c: Likewise.
586 * alphanbsd-tdep.c: Likewise.
587 * amd64-nat.c: Likewise.
588 * amd64-tdep.c: Likewise.
589 * amd64bsd-nat.c: Likewise.
590 * amd64fbsd-nat.c: Likewise.
591 * amd64fbsd-tdep.c: Likewise.
592 * amd64nbsd-nat.c: Likewise.
593 * amd64nbsd-tdep.c: Likewise.
594 * amd64obsd-nat.c: Likewise.
595 * amd64obsd-tdep.c: Likewise.
596 * arch-utils.c: Likewise.
597 * arm-tdep.c: Likewise.
598 * armbsd-tdep.c: Likewise.
599 * auxv.c: Likewise.
600 * bcache.c: Likewise.
601 * bfin-tdep.c: Likewise.
602 * blockframe.c: Likewise.
603 * breakpoint.c: Likewise.
604 * bsd-kvm.c: Likewise.
605 * bsd-uthread.c: Likewise.
606 * buildsym.c: Likewise.
607 * c-exp.y: Likewise.
608 * c-lang.c: Likewise.
609 * charset.c: Likewise.
610 * cleanups.c: Likewise.
611 * cli-out.c: Likewise.
612 * cli/cli-decode.c: Likewise.
613 * cli/cli-dump.c: Likewise.
614 * cli/cli-logging.c: Likewise.
615 * cli/cli-script.c: Likewise.
616 * cli/cli-utils.c: Likewise.
617 * coffread.c: Likewise.
618 * common/common-utils.c: Likewise.
619 * common/queue.h: Likewise.
620 * common/signals.c: Likewise.
621 * common/vec.h: Likewise.
622 * complaints.c: Likewise.
623 * completer.c: Likewise.
624 * corelow.c: Likewise.
625 * cp-abi.c: Likewise.
626 * cp-name-parser.y: Likewise.
627 * cp-namespace.c: Likewise.
628 * cp-support.c: Likewise.
629 * cris-tdep.c: Likewise.
630 * dbxread.c: Likewise.
631 * dictionary.c: Likewise.
632 * doublest.c: Likewise.
633 * dsrec.c: Likewise.
634 * dummy-frame.c: Likewise.
635 * dwarf2-frame-tailcall.c: Likewise.
636 * dwarf2-frame.c: Likewise.
637 * dwarf2expr.c: Likewise.
638 * dwarf2loc.c: Likewise.
639 * dwarf2read.c: Likewise.
640 * eval.c: Likewise.
641 * event-loop.c: Likewise.
642 * exceptions.c: Likewise.
643 * expprint.c: Likewise.
644 * f-valprint.c: Likewise.
645 * fbsd-nat.c: Likewise.
646 * findvar.c: Likewise.
647 * frame-unwind.c: Likewise.
648 * frame.c: Likewise.
649 * frv-tdep.c: Likewise.
650 * gcore.c: Likewise.
651 * gdb-dlfcn.c: Likewise.
652 * gdb_bfd.c: Likewise.
653 * gdbarch.c: Likewise.
654 * gdbarch.sh: Likewise.
655 * gdbtypes.c: Likewise.
656 * gnu-nat.c: Likewise.
657 * gnu-v3-abi.c: Likewise.
658 * go-lang.c: Likewise.
659 * guile/scm-exception.c: Likewise.
660 * guile/scm-gsmob.c: Likewise.
661 * guile/scm-lazy-string.c: Likewise.
662 * guile/scm-math.c: Likewise.
663 * guile/scm-pretty-print.c: Likewise.
664 * guile/scm-safe-call.c: Likewise.
665 * guile/scm-utils.c: Likewise.
666 * guile/scm-value.c: Likewise.
667 * h8300-tdep.c: Likewise.
668 * hppa-hpux-nat.c: Likewise.
669 * hppa-tdep.c: Likewise.
670 * hppanbsd-tdep.c: Likewise.
671 * hppaobsd-tdep.c: Likewise.
672 * i386-darwin-nat.c: Likewise.
673 * i386-darwin-tdep.c: Likewise.
674 * i386-nto-tdep.c: Likewise.
675 * i386-tdep.c: Likewise.
676 * i386bsd-nat.c: Likewise.
677 * i386fbsd-tdep.c: Likewise.
678 * i386gnu-nat.c: Likewise.
679 * i386nbsd-tdep.c: Likewise.
680 * i386obsd-tdep.c: Likewise.
681 * i387-tdep.c: Likewise.
682 * ia64-libunwind-tdep.c: Likewise.
683 * ia64-tdep.c: Likewise.
684 * inf-ptrace.c: Likewise.
685 * inf-ttrace.c: Likewise.
686 * infcall.c: Likewise.
687 * infcmd.c: Likewise.
688 * infrun.c: Likewise.
689 * inline-frame.c: Likewise.
690 * interps.c: Likewise.
691 * jv-lang.c: Likewise.
692 * jv-typeprint.c: Likewise.
693 * linux-fork.c: Likewise.
694 * linux-nat.c: Likewise.
695 * linux-thread-db.c: Likewise.
696 * m32c-tdep.c: Likewise.
697 * m32r-linux-nat.c: Likewise.
698 * m32r-tdep.c: Likewise.
699 * m68k-tdep.c: Likewise.
700 * m68kbsd-nat.c: Likewise.
701 * m68kbsd-tdep.c: Likewise.
702 * m88k-tdep.c: Likewise.
703 * machoread.c: Likewise.
704 * macroexp.c: Likewise.
705 * macrotab.c: Likewise.
706 * maint.c: Likewise.
707 * mdebugread.c: Likewise.
708 * memory-map.c: Likewise.
709 * mep-tdep.c: Likewise.
710 * mi/mi-common.c: Likewise.
711 * microblaze-tdep.c: Likewise.
712 * mingw-hdep.c: Likewise.
713 * mips-linux-nat.c: Likewise.
714 * mips-linux-tdep.c: Likewise.
715 * mips-tdep.c: Likewise.
716 * mips64obsd-tdep.c: Likewise.
717 * mipsnbsd-tdep.c: Likewise.
718 * mn10300-linux-tdep.c: Likewise.
719 * mn10300-tdep.c: Likewise.
720 * moxie-tdep.c: Likewise.
721 * mt-tdep.c: Likewise.
722 * nat/linux-btrace.c: Likewise.
723 * nat/linux-osdata.c: Likewise.
724 * nat/linux-ptrace.c: Likewise.
725 * nat/mips-linux-watch.c: Likewise.
726 * nios2-linux-tdep.c: Likewise.
727 * nios2-tdep.c: Likewise.
728 * objc-lang.c: Likewise.
729 * objfiles.c: Likewise.
730 * obsd-nat.c: Likewise.
731 * opencl-lang.c: Likewise.
732 * osabi.c: Likewise.
733 * parse.c: Likewise.
734 * ppc-linux-nat.c: Likewise.
735 * ppc-sysv-tdep.c: Likewise.
736 * ppcfbsd-nat.c: Likewise.
737 * ppcfbsd-tdep.c: Likewise.
738 * ppcnbsd-nat.c: Likewise.
739 * ppcnbsd-tdep.c: Likewise.
740 * ppcobsd-nat.c: Likewise.
741 * ppcobsd-tdep.c: Likewise.
742 * printcmd.c: Likewise.
743 * procfs.c: Likewise.
744 * prologue-value.c: Likewise.
745 * psymtab.c: Likewise.
746 * python/py-lazy-string.c: Likewise.
747 * python/py-value.c: Likewise.
748 * regcache.c: Likewise.
749 * reggroups.c: Likewise.
750 * registry.c: Likewise.
751 * remote-sim.c: Likewise.
752 * remote.c: Likewise.
753 * rs6000-aix-tdep.c: Likewise.
754 * rs6000-tdep.c: Likewise.
755 * s390-linux-tdep.c: Likewise.
756 * score-tdep.c: Likewise.
757 * ser-base.c: Likewise.
758 * ser-mingw.c: Likewise.
759 * sh-tdep.c: Likewise.
760 * sh64-tdep.c: Likewise.
761 * solib-darwin.c: Likewise.
762 * solib-spu.c: Likewise.
763 * solib-svr4.c: Likewise.
764 * source.c: Likewise.
765 * sparc-nat.c: Likewise.
766 * sparc-sol2-tdep.c: Likewise.
767 * sparc-tdep.c: Likewise.
768 * sparc64-sol2-tdep.c: Likewise.
769 * sparc64-tdep.c: Likewise.
770 * sparc64fbsd-tdep.c: Likewise.
771 * sparc64nbsd-tdep.c: Likewise.
772 * sparc64obsd-tdep.c: Likewise.
773 * sparcnbsd-tdep.c: Likewise.
774 * sparcobsd-tdep.c: Likewise.
775 * spu-multiarch.c: Likewise.
776 * spu-tdep.c: Likewise.
777 * stabsread.c: Likewise.
778 * stack.c: Likewise.
779 * symfile.c: Likewise.
780 * symtab.c: Likewise.
781 * target-descriptions.c: Likewise.
782 * target-memory.c: Likewise.
783 * target.c: Likewise.
784 * tic6x-linux-tdep.c: Likewise.
785 * tic6x-tdep.c: Likewise.
786 * tilegx-linux-nat.c: Likewise.
787 * tilegx-tdep.c: Likewise.
788 * top.c: Likewise.
789 * tramp-frame.c: Likewise.
790 * tui/tui-out.c: Likewise.
791 * tui/tui-winsource.c: Likewise.
792 * ui-out.c: Likewise.
793 * user-regs.c: Likewise.
794 * utils.c: Likewise.
795 * v850-tdep.c: Likewise.
796 * valops.c: Likewise.
797 * value.c: Likewise.
798 * varobj.c: Likewise.
799 * vax-nat.c: Likewise.
800 * xml-syscall.c: Likewise.
801 * xml-tdesc.c: Likewise.
802 * xstormy16-tdep.c: Likewise.
803 * xtensa-linux-nat.c: Likewise.
804 * xtensa-tdep.c: Likewise.
805
806 2014-08-07 Gary Benson <gbenson@redhat.com>
807
808 * common/common-defs.h: Include common-utils.h.
809 * defs.h: Do not include common-utils.h.
810 * common/gdb_assert.h: Likewise.
811 * darwin-nat.h: Likewise.
812 * nat/linux-btrace.c: Likewise.
813 * target/waitstatus.h: Likewise.
814
815 2014-08-07 Gary Benson <gbenson@redhat.com>
816
817 * common/common-defs.h: Include ptid.h.
818 * defs.h: Do not include ptid.h.
819 * inferior.h: Likewise.
820 * infrun.h: Likewise.
821 * nat/linux-btrace.h: Likewise.
822 * nat/linux-osdata.h: Likewise.
823 * target/waitstatus.h: Likewise.
824
825 2014-08-07 Gary Benson <gbenson@redhat.com>
826
827 * common/common-defs.h: Include gdb_locale.h.
828 * defs.h: Do not include gdb_locale.h.
829
830 2014-08-07 Gary Benson <gbenson@redhat.com>
831
832 * common/common-defs.h: Include gdb/signals.h.
833 * defs.h: Do not include gdb/signals.h.
834
835 2014-08-07 Gary Benson <gbenson@redhat.com>
836
837 * common/common-defs.h: Include pathmax.h.
838 * defs.h: Do not include pathmax.h.
839
840 2014-08-07 Gary Benson <gbenson@redhat.com>
841
842 * common/common-defs.h: Include libiberty.h.
843 * defs.h: Do not include libiberty.h.
844 * common/queue.h: Likewise.
845 * cp-name-parser.y: Likewise.
846 * mi/mi-cmd-catch.c: Likewise.
847 * python/python.c: Likewise.
848
849 2014-08-07 Gary Benson <gbenson@redhat.com>
850
851 * common/common-defs.h: Include ansidecl.h.
852 * defs.h: Do not include ansidecl.h.
853 * common/buffer.h: Likewise.
854 * common/common-utils.h: Likewise.
855
856 2014-08-07 Gary Benson <gbenson@redhat.com>
857
858 * common/common-defs.h: Include stddef.h.
859 * defs.h: Do not include stddef.h.
860 * common/common-utils.h: Likewise.
861 * amd64fbsd-nat.c: Likewise.
862 * bcache.c: Likewise.
863 * charset.c: Likewise.
864 * common/buffer.h: Likewise.
865 * common/vec.h: Likewise.
866 * i386bsd-nat.c: Likewise.
867 * nat/linux-btrace.h: Likewise.
868 * ppcfbsd-nat.c: Likewise.
869 * ppcnbsd-tdep.h: Likewise.
870 * ppcobsd-nat.c: Likewise.
871 * ppcobsd-tdep.h: Likewise.
872 * python/py-gdb-readline.c: Likewise.
873
874 2014-08-07 Gary Benson <gbenson@redhat.com>
875
876 * common/common-defs.h: Include stdarg.h.
877 * defs.h: Do not include stdarg.h.
878 * ada-lang.c: Likewise.
879 * common/common-utils.h: Likewise.
880 * guile/scm-string.c: Likewise.
881 * guile/scm-utils.c: Likewise.
882 * m32c-tdep.c: Likewise.
883
884 2014-08-07 Gary Benson <gbenson@redhat.com>
885
886 * common/common-defs.h: Include stdlib.h.
887 * defs.h: Do not include stdlib.h.
888 * addrmap.c: Likewise.
889 * bcache.c: Likewise.
890 * common/buffer.c: Likewise.
891 * common/common-utils.c: Likewise.
892 * cp-name-parser.y: Likewise.
893 * go32-nat.c: Likewise.
894 * mn10300-linux-tdep.c: Likewise.
895 * nat/linux-osdata.c: Likewise.
896 * tui/tui.c: Likewise.
897 * windows-nat.c: Likewise.
898
899 2014-08-07 Gary Benson <gbenson@redhat.com>
900
901 * common/common-defs.h: Include stdio.h.
902 * defs.h: Do not include stdio.h.
903 * ada-lang.c: Likewise.
904 * common/buffer.c: Likewise.
905 * common/common-utils.c: Likewise.
906 * cp-name-parser.y: Likewise.
907 * gnu-nat.c: Likewise.
908 * go32-nat.c: Likewise.
909 * i386gnu-nat.c: Likewise.
910 * proc-api.c: Likewise.
911 * proc-events.c: Likewise.
912 * proc-flags.c: Likewise.
913 * proc-why.c: Likewise.
914 * python/python-internal.h: Likewise.
915 * target-memory.c: Likewise.
916 * tui/tui-io.c: Likewise.
917 * tui/tui.c: Likewise.
918
919 2014-08-06 Simon Marchi <simon.marchi@ericsson.com>
920
921 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
922 (scan_dyntag_auxv): Same.
923
924 2014-08-06 Yao Qi <yao@codesourcery.com>
925
926 * amd64-linux-nat.c: Remove duplicated include
927 "x86-linux-nat.h".
928 * i386-linux-nat.c: Likewise.
929
930 2014-08-06 Yao Qi <yao@codesourcery.com>
931
932 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
933 operand" with "Special opcode" in comments.
934
935 2014-08-05 Gary Benson <gbenson@redhat.com>
936
937 * interps.c (initialize_interps): Remove prototype.
938 (interpreter_initialized): Remove static global.
939 (interp_add): Do not call initialize_interps.
940 (initialize_interps): Remove function.
941
942 2014-08-05 Gary Benson <gbenson@redhat.com>
943
944 * utils.c (vwarning): Remove spurious va_end.
945
946 2014-08-05 Alan Modra <amodra@gmail.com>
947
948 * charset.c (convert_between_encodings): Cast result of obstack_base.
949 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
950 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
951 (read_unwind_info): Use size_t for some locals.
952 * jit.c (finalize_symtab): Likewise.
953 * utils.c (hashtab_obstack_allocate): Likewise.
954 * symmisc.c (print_objfile_statistics): Update format strings.
955
956 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
957
958 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
959 (Changes in GDB 7.8): ... here.
960
961 2014-08-04 Tom Tromey <tromey@redhat.com>
962
963 * target.c (set_targetdebug): New function.
964 (initialize_targets): Pass set_targetdebug when creating "set
965 debug target".
966
967 2014-08-01 Joel Brobecker <brobecker@adacore.com>
968
969 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
970 if detecting a variable-sized field that is not the last field.
971 Fix struct type length computation.
972
973 2014-08-01 Joel Brobecker <brobecker@adacore.com>
974
975 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
976 Add debug trace.
977
978 2014-08-01 Joel Brobecker <brobecker@adacore.com>
979
980 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
981 Remove "+ 8" offset in computation of CHAIN_VMA.
982
983 2014-07-31 Doug Evans <dje@google.com>
984
985 * inflow.c (child_terminal_inferior): Add comment.
986 (child_terminal_ours_for_output): Add comment.
987 (child_terminal_ours): Add comment.
988 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
989 (linux_nat_terminal_ours): Add comment.
990
991 2014-07-31 Gary Benson <gbenson@redhat.com>
992
993 * common/btrace-common.h: Do not include defs.h or server.h.
994 * nat/mips-linux-watch.h: Likewise.
995 * gdb-dlfcn.h: Do not include defs.h.
996 * tracefile.h: Likewise.
997
998 2014-07-30 Roland McGrath <mcgrathr@google.com>
999
1000 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1001
1002 2014-07-30 Tom Tromey <tromey@redhat.com>
1003
1004 * bsd-kvm.c (bsd_kvm_open): Constify.
1005 * corelow.c (core_open): Constify.
1006 * ctf.c (ctf_open): Constify.
1007 * dbug-rom.c (dbug_open): Constify.
1008 * exec.c (exec_open): Constify.
1009 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1010 * microblaze-rom.c (picobug_open): Constify.
1011 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1012 Constify.
1013 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1014 * record-btrace.c (record_btrace_open): Constify.
1015 * record-full.c (record_full_core_open_1, record_full_open_1)
1016 (record_full_open): Constify.
1017 * remote-m32r-sdi.c (m32r_open): Constify.
1018 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1019 (rockhopper_open, lsi_open): Constify.
1020 * remote-sim.c (gdbsim_open): Constify.
1021 * remote.c (remote_open, extended_remote_open, remote_open_1):
1022 Constify.
1023 * target.h (struct target_ops) <to_open>: Make "arg" const.
1024 * tracefile-tfile.c (tfile_open): Constify.
1025
1026 2014-07-30 Tom Tromey <tromey@redhat.com>
1027
1028 * breakpoint.c (map_breakpoint_numbers): Update.
1029 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1030 (get_number_const): New function.
1031 (get_number): Rewrite using get_number_const.
1032 (init_number_or_range): Make "string" const.
1033 (number_is_in_list): Make "list" const.
1034 * cli/cli-utils.h (get_number_const): Declare.
1035 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1036 (init_number_or_range, number_is_in_list): Update.
1037 * printcmd.c (map_display_numbers): Update.
1038 * value.c (value_from_history_ref): Constify.
1039 * value.h (value_from_history_ref): Update.
1040
1041 2014-07-30 Tom Tromey <tromey@redhat.com>
1042
1043 * corefile.c (hook_type, call_extra_exec_file_hooks)
1044 (specify_exec_file_hook): Constify.
1045 * exec.c (exec_file_attach): Make "filename" const.
1046 * gdbcore.h (deprecated_exec_file_display_hook)
1047 (specify_exec_file_hook, exec_file_attach): Constify.
1048 * main.c (captured_main): Use catch_command_errors_const.
1049
1050 2014-07-30 Tom Tromey <tromey@redhat.com>
1051
1052 * target.c (open_target): New function.
1053 (add_target_with_completer, add_deprecated_target_alias): Use
1054 set_cmd_sfunc, set_cmd_context.
1055 (debug_to_open): Remove.
1056 (setup_target_debug): Update.
1057
1058 2014-07-30 Yao Qi <yao@codesourcery.com>
1059
1060 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1061 comments.
1062 * parse.c (exp_iterate): Update comments.
1063
1064 2014-07-30 Gary Benson <gbenson@redhat.com>
1065
1066 * common/common-defs.h: New file.
1067 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1068 * defs.h: Include common-defs.h.
1069 Do not include config.h or build-gnulib/config.h.
1070
1071 2014-07-30 Gary Benson <gbenson@redhat.com>
1072
1073 * common/common-utils.h: Do not include config.h.
1074 * nat/linux-btrace.h: Likewise.
1075
1076 2014-07-30 Gary Benson <gbenson@redhat.com>
1077
1078 * btrace.c: Include defs.h.
1079 * common/ptid.c: Include defs.h or server.h as appropriate.
1080 * nat/mips-linux-watch.c: Likewise.
1081
1082 2014-07-29 Tom Tromey <tromey@redhat.com>
1083
1084 * target.c (target_is_pushed): Simplify.
1085
1086 2014-07-29 Joel Brobecker <brobecker@adacore.com>
1087
1088 GDB 7.8 released.
1089
1090 2014-07-29 Yao Qi <yao@codesourcery.com>
1091
1092 PR gdb/17206
1093 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1094
1095 2014-07-28 Doug Evans <xdje42@gmail.com>
1096
1097 PR guile/17203
1098 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1099 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1100 parameters.
1101
1102 2014-07-28 Will Newton <will.newton@linaro.org>
1103
1104 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1105 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1106 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1107 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1108 (THUMB2_EABI_SYSCALL): Likewise.
1109 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1110 struct tramp_frame.
1111 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1112 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1113
1114 2014-07-27 Doug Evans <xdje42@gmail.com>
1115
1116 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1117
1118 2014-07-27 Doug Evans <xdje42@gmail.com>
1119
1120 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1121
1122 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1123 Doug Evans <xdje42@gmail.com>
1124
1125 PR guile/17146
1126 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1127 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1128 * configure.ac: Try to use guild to compile an scm file, if it fails
1129 then disable guile support.
1130 * configure: Regenerate.
1131 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1132 GUILE_FILE_LIST.
1133 (GUILE_COMPILED_FILES): New variable.
1134 (GUILE_FILES) Update.
1135 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1136 (stamp-guile): Compile scm files.
1137 * guile/guile.c (boot_guile_support): New function.
1138 (standard_throw_args_p): New function.
1139 (print_standard_throw_error, print_throw_error): New functions.
1140 (handle_boot_error): New function.
1141 (initialize_scheme_side): Rewrite to call boot_guile_support.
1142 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1143 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1144
1145 2014-07-26 Ludovic Courtès <ludo@gnu.org>
1146 Doug Evans <xdje42@gmail.com>
1147
1148 PR guile/17146
1149 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1150 * guile/lib/gdb/support.scm: New file.
1151 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1152 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1153 All uses updated.
1154 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1155 All uses updated.
1156 (%assert-type): Ditto, and renamed to assert-type.
1157 (%exception-print-style): Delete.
1158
1159 2014-07-26 Doug Evans <xdje42@gmail.com>
1160
1161 PR build/17105
1162 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1163 * configure: Regenerate.
1164 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1165 PYTHON_FILES.
1166 (PYTHON_FILES): New variable.
1167 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1168 (GUILE_FILES): New variable.
1169 (stamp-python, install-python, uninstall-python): Handle empty
1170 file list.
1171 (stamp-guile, install-guile, uninstall-guile): Ditto.
1172
1173 2014-07-26 Doug Evans <xdje42@gmail.com>
1174
1175 PR guile/17177
1176 * guile/lib/gdb.scm (pretty-printers): Export.
1177 (set-pretty-printers!): Export.
1178 * guile/lib/gdb/printing.scm (gdb module): Update.
1179 (prepend-pretty-printer!, append-pretty-printer!): Update.
1180 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1181 (pretty_printer_list_var): Delete.
1182 (pretty_printer_list): New static global.
1183 (gdbscm_pretty_printers): New function.
1184 (gdbscm_set_pretty_printers_x): New function.
1185 (ppscm_find_pretty_printer_from_gdb): Update.
1186 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1187 (gdbscm_initialize_pretty_printers): Update.
1188
1189 2014-07-26 Doug Evans <xdje42@gmail.com>
1190
1191 PR 17185
1192 * configure.ac: Add check for header gc/gc.h.
1193 Add check for function setenv.
1194 * configure: Regenerate.
1195 * config.in: Regenerate.
1196 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1197
1198 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1199
1200 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1201 variation in gdbarch matching.
1202
1203 2014-07-25 Tom Tromey <tromey@redhat.com>
1204
1205 * exec.c (using_exec_ops): Remove.
1206 (exec_close_1): Update. Remove extraneous block, reindent.
1207 (add_target_sections): Use target_is_pushed.
1208
1209 2014-07-25 Pedro Alves <palves@redhat.com>
1210
1211 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1212 * monitor.c (monitor_create_inferior): Likewise.
1213 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1214 * remote-sim.c (gdbsim_create_inferior): Likewise.
1215 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1216 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1217 * windows-nat.c (do_initial_windows_stuff): Likewise.
1218
1219 2014-07-25 Pedro Alves <palves@redhat.com>
1220
1221 * NEWS: Mention signal passing and "signal" command changes.
1222 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1223 comment.
1224 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1225 call.
1226 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1227 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1228 (jump_command): Adjust clear_proceed_status call.
1229 (signal_command): Warn if other thread that are resumed have
1230 signals that will be delivered. Adjust clear_proceed_status call.
1231 (until_next_command, finish_command)
1232 (proceed_after_attach_callback, attach_command_post_wait)
1233 (attach_command): Adjust clear_proceed_status call.
1234 * infrun.c (proceed_after_vfork_done): Likewise.
1235 (proceed_after_attach_callback): Adjust comment.
1236 (clear_proceed_status_thread): Clear stop_signal if not in pass
1237 state.
1238 (clear_proceed_status_callback): Delete.
1239 (clear_proceed_status): New 'step' parameter. Only clear the
1240 proceed status of threads the command being prepared is about to
1241 resume.
1242 (proceed): If passed in an explicit signal, override stop_signal
1243 with it. Don't pass the last stop signal to the thread we're
1244 resuming.
1245 (init_wait_for_inferior): Adjust clear_proceed_status call.
1246 (switch_back_to_stepped_thread): Clear the signal if it should not
1247 be passed.
1248 * infrun.h (clear_proceed_status): New 'step' parameter.
1249 (user_visible_resume_ptid): Add comment.
1250 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1251 signal is in pass state.
1252 * remote.c (append_pending_thread_resumptions): Likewise.
1253 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1254
1255 2014-07-25 Tom Tromey <tromey@redhat.com>
1256
1257 * target.h (target_stopped_data_address)
1258 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1259 parentheses.
1260
1261 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1262
1263 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1264 comments.
1265 (avr_pointer_to_address): Likewise.
1266
1267 2014-07-24 Tom Tromey <tromey@redhat.com>
1268
1269 * monitor.c (compile_pattern): Update.
1270 * target.h (struct target_ops) <to_shortname, to_longname,
1271 to_doc>: Now const.
1272
1273 2014-07-24 Tom Tromey <tromey@redhat.com>
1274
1275 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1276 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1277 (add_info_alias, add_com): Make "doc" const.
1278 (print_doc_line): Make "str" const.
1279 (delete_cmd): Update.
1280 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1281 (print_doc_line): Update.
1282 * cli/cli-script.c (document_command): Update.
1283 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1284 (add_com, add_info, add_info_alias): Update.
1285 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1286 * python/py-cmd.c (cmdpy_destroyer): Update.
1287
1288 2014-07-24 Tom Tromey <tromey@redhat.com>
1289
1290 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1291 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1292 (help_cmd_list): Constify.
1293 (lookup_cmd): Update.
1294 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1295 const.
1296 (help_cmd_list, apropos_cmd): Update.
1297 * cli/cli-script.c (show_user): Update.
1298 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1299 * cli/cli-setshow.h (cmd_show_list): Update.
1300 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1301 (cmd_show_list): Update.
1302 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1303 * python/py-cmd.c (cmdpy_destroyer): Update.
1304
1305 2014-07-24 Tom Tromey <tromey@redhat.com>
1306
1307 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1308 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1309 const.
1310 * command.h (deprecate_cmd): Update.
1311 * maint.c (maintenance_do_deprecate): Add casts.
1312
1313 2014-07-24 Tom Tromey <tromey@redhat.com>
1314
1315 * cli/cli-decode.c (help_cmd): Make parameter "const".
1316 * cli/cli-decode.h (help_cmd): Update.
1317
1318 2014-07-24 Tom Tromey <tromey@redhat.com>
1319
1320 * stack.c (up_silently_base, down_silently_base): Make argument
1321 const.
1322
1323 2014-07-24 Tom Tromey <tromey@redhat.com>
1324
1325 * solib.c (solib_add): Make "pattern" const.
1326 * solib.h (solib_add): Update.
1327
1328 2014-07-24 Tom Tromey <tromey@redhat.com>
1329
1330 * remote.c (remote_serial_open, print_packet, putpkt)
1331 (putpkt_binary): Constify.
1332 * remote.h (putpkt): Update.
1333
1334 2014-07-24 Tom Tromey <tromey@redhat.com>
1335
1336 * monitor.c (monitor_open): Make "args" const.
1337 * monitor.h (monitor_open): Update.
1338
1339 2014-07-24 Tom Tromey <tromey@redhat.com>
1340
1341 * maint.c (match_bfd_flags): Make "string" const.
1342 (print_bfd_section_info): Remove casts.
1343 (print_objfile_section_info): Make "string" const.
1344
1345 2014-07-24 Tom Tromey <tromey@redhat.com>
1346
1347 * inf-child.c (inf_child_open_target): Make "arg" const.
1348 * inf-child.h (inf_child_open_target): Update.
1349
1350 2014-07-24 Tom Tromey <tromey@redhat.com>
1351
1352 * environ.c (unset_in_environ): Make "var" const.
1353 * environ.h (unset_in_environ): Update.
1354
1355 2014-07-24 Tom Tromey <tromey@redhat.com>
1356
1357 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1358 Make "cmd" const.
1359 (scan_filename_with_cleanup): Likewise.
1360 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1361 Make arguments const.
1362 (restore_command): Update.
1363
1364 2014-07-24 Pedro Alves <palves@redhat.com>
1365
1366 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1367
1368 2014-07-24 Tom Tromey <tromey@redhat.com>
1369 Gary Benson <gbenson@redhat.com>
1370
1371 * nat/linux-ptrace.c (additional_flags): New global.
1372 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1373 additional_flags; don't check GDBSERVER.
1374 (linux_ptrace_set_additional_flags): New function.
1375 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1376 Declare.
1377 * linux-nat.c (_initialize_linux_nat): Call
1378 linux_ptrace_set_additional_flags.
1379
1380 2014-07-24 Tom Tromey <tromey@redhat.com>
1381
1382 * make-target-delegates (munge_type, write_debugmethod): New
1383 functions.
1384 (debug_names): New global.
1385 ($TARGET_DEBUG_PRINTER): New global.
1386 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1387 name.
1388 Write debug methods. Generate init_debug_target.
1389 * target-debug.h: New file.
1390 * target-delegates.c: Rebuild.
1391 * target.c: Include target-debug.h.
1392 (debug_target): Hoist definition.
1393 (target_kill, target_get_section_table, target_memory_map)
1394 (target_flash_erase, target_flash_done, target_detach)
1395 (target_disconnect, target_wait, target_resume)
1396 (target_pass_signals, target_program_signals, target_follow_fork)
1397 (target_mourn_inferior, target_search_memory)
1398 (target_thread_address_space, target_close)
1399 (target_find_new_threads, target_core_of_thread)
1400 (target_verify_memory, target_insert_mask_watchpoint)
1401 (target_remove_mask_watchpoint): Remove targetdebug code.
1402 (debug_to_post_attach, debug_to_prepare_to_store)
1403 (debug_to_files_info, debug_to_insert_breakpoint)
1404 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1405 (debug_to_region_ok_for_hw_watchpoint)
1406 (debug_to_can_accel_watchpoint_condition)
1407 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1408 (debug_to_watchpoint_addr_within_range)
1409 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1410 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1411 (debug_to_terminal_init, debug_to_terminal_inferior)
1412 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1413 (debug_to_terminal_save_ours, debug_to_terminal_info)
1414 (debug_to_load, debug_to_post_startup_inferior)
1415 (debug_to_insert_fork_catchpoint)
1416 (debug_to_remove_fork_catchpoint)
1417 (debug_to_insert_vfork_catchpoint)
1418 (debug_to_remove_vfork_catchpoint)
1419 (debug_to_insert_exec_catchpoint)
1420 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1421 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1422 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1423 (setup_target_debug): Call init_debug_target.
1424 * target.h (TARGET_DEBUG_PRINTER): New macro.
1425 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1426 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1427
1428 2014-07-24 Gary Benson <gbenson@redhat.com>
1429
1430 * exceptions.h (throw_vfatal): Renamed to...
1431 (throw_vquit): New declaration.
1432 (throw_quit): Likewise.
1433 * exceptions.c (throw_vfatal): Renamed to...
1434 (throw_vquit): New function.
1435 (throw_quit): Likewise.
1436 (throw_error): Call throw_verror rather than throw_it.
1437 * utils.h (vfatal): Removed.
1438 (fatal): Likewise.
1439 * utils.c (vfatal): Removed.
1440 (fatal): Likewise.
1441 (internal_verror): Replaced call to fatal with call to throw_quit.
1442 (quit): Replaced calls to fatal with calls to throw_quit.
1443
1444 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1445
1446 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1447 target_read_code.
1448
1449 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1450
1451 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1452 less than zero in conditional expression.
1453
1454 2014-07-23 Tom Tromey <tromey@redhat.com>
1455
1456 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1457 ($INTRO_PART): Don't match whitespace.
1458 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1459 argument matching.
1460 ($METHOD): Add $METHOD_TRAILER.
1461 (trim): Rewrite.
1462 (scan_target_h): New sub.
1463 Change main loop not to collect state.
1464 * target-delegates.c: Rebuild.
1465
1466 2014-07-23 Gary Benson <gbenson@redhat.com>
1467
1468 * cp-support.c (gdb_demangle): Fix build on systems without
1469 sigaltstack.
1470
1471 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1472
1473 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1474 for reference entry value target data value.
1475
1476 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1477
1478 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1479 value_available_contents_eq.
1480
1481 2014-07-22 Pedro Alves <palves@redhat.com>
1482
1483 * value.c (allocate_optimized_out_value): Don't mark value as
1484 non-lazy.
1485
1486 2014-07-22 Jiong Wang <jiong.wang@arm.com>
1487
1488 * MAINTAINERS (Write After Approval): Update my email address.
1489
1490 2014-07-20 Doug Evans <dje@google.com>
1491
1492 PR server/17147
1493 * remote.c (putpkt_binary): Add text to error message.
1494
1495 2014-07-20 Yao Qi <yao@codesourcery.com>
1496
1497 * eval.c: Remove "Chill" from comments.
1498 * gdbtypes.h: Likewise.
1499 * symtab.h: Likewise.
1500
1501 2014-07-20 Yao Qi <yao@codesourcery.com>
1502
1503 * std-operator.def: Update comments to TERNOP_SLICE.
1504
1505 2014-07-20 Yao Qi <yao@codesourcery.com>
1506
1507 * std-operator.def: Remove BINOP_RANGE.
1508 * breakpoint.c (watchpoint_exp_is_const): Update.
1509 * expprint.c (dump_subexp_body_standard): Likewise.
1510 * eval.c (init_array_element): Remove dead code.
1511 (evaluate_subexp_standard): Likewise.
1512
1513 2014-07-20 Yao Qi <yao@codesourcery.com>
1514
1515 * std-operator.def: Remove BINOP_IN.
1516 * breakpoint.c (watchpoint_exp_is_const): Update.
1517 * eval.c (evaluate_subexp_standard): Likewise.
1518 * expprint.c (dump_subexp_body_standard): Likewise.
1519
1520 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1521
1522 * microblaze-tdep.c (microblaze_register_names): Add
1523 the rshr and rslr register names.
1524 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1525 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1526 Use of tdesc_numbered_register. Use of
1527 microblaze_register_g_packet_guesses. Use of
1528 tdesc_use_registers. Use of set_gdbarch_register_type.
1529 (microblaze_register_g_packet_guesses): New.
1530 * microblaze-tdep.h (microblaze_reg_num): Add
1531 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1532 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1533 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1534 * features/microblaze-core.xml: New file.
1535 * features/microblaze-stack-protect.xml: New file.
1536 * features/microblaze-with-stack-protect.c: New file.
1537 * features/microblaze-with-stack-protect.xml: New file.
1538 * features/microblaze.xml: New file.
1539 * features/microblaze.c: New file.
1540 * features/Makefile (microblaze-with-stack-protect): Add
1541 microblaze-with-stack-protect microblaze and microblaze-expedite.
1542 * regformats/microblaze-with-stack-protect.dat: New file.
1543 * regformats/microblaze.dat: New file.
1544 * doc/gdb.texinfo (MicroBlaze Features): Added.
1545
1546 2014-07-18 Tom Tromey <tromey@redhat.com>
1547
1548 * exec.c (exec_ops): Now static.
1549 * exec.h (exec_ops): Don't declare.
1550
1551 2014-07-18 Tom Tromey <tromey@redhat.com>
1552
1553 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1554 to find_target_beneath.
1555 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1556 find_target_beneath.
1557 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1558
1559 2014-07-18 Tom Tromey <tromey@redhat.com>
1560
1561 PR gdb/17130:
1562 * utils.c (quit): Use target_supports_terminal_ours.
1563 * target.h (target_supports_terminal_ours): Declare.
1564 * target.c (target_supports_delete_record): Don't check
1565 to_delete_record against NULL.
1566 (target_supports_terminal_ours): New function.
1567
1568 2014-07-18 Tom Tromey <tromey@redhat.com>
1569
1570 PR gdb/17130:
1571 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1572 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1573 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1574 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1575 * windows-nat.c (windows_xfer_partial): Always delegate.
1576 * record-btrace.c (record_btrace_xfer_partial): Simplify
1577 delegation.
1578 (record_btrace_fetch_registers, record_btrace_store_registers)
1579 (record_btrace_prepare_to_store, record_btrace_resume)
1580 (record_btrace_wait, record_btrace_find_new_threads)
1581 (record_btrace_thread_alive): Likewise.
1582 * procfs.c (procfs_xfer_partial): Always delegate.
1583 * corelow.c (core_xfer_partial): Always delegate.
1584 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1585
1586 2014-07-18 Tom Tromey <tromey@redhat.com>
1587
1588 * exec.c (exec_make_note_section): Move earlier.
1589
1590 2014-07-17 Doug Evans <dje@google.com>
1591
1592 PR gdb/17170
1593 * maint.c (count_symtabs_and_blocks): Handle NULL
1594 current_program_space.
1595 (report_command_stats): Check global enabled flag in addition to
1596 recorded enabled flag.
1597 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1598
1599 2014-07-16 Pedro Alves <palves@redhat.com>
1600
1601 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1602
1603 2014-07-16 Tom Tromey <tromey@redhat.com>
1604
1605 * target.h (struct target_ops) <to_delete_record>: Reformat
1606 comment.
1607
1608 2014-07-16 Tom Tromey <tromey@redhat.com>
1609
1610 * target-delegates.c: Rebuild.
1611
1612 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1613
1614 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1615 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1616 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1617 (avr_pointer_to_address): Likewise.
1618 (avr_address_class_type_flags): New function.
1619 (avr_address_class_type_flags_to_name): Likewise.
1620 (avr_address_class_name_to_type_flags): Likewise.
1621 (avr_gdbarch_init): Set address_class_type_flags,
1622 address_class_type_flags_to_name and
1623 address_class_name_to_type_flags.
1624
1625 2014-07-15 Pedro Alves <palves@redhat.com>
1626
1627 * linux-nat.c (kill_callback): Save errno and work with saved
1628 copy.
1629
1630 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1631
1632 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1633
1634 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1635
1636 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1637 breakpoint support correctly.
1638
1639 2014-07-14 Pedro Alves <palves@redhat.com>
1640
1641 * utils.c (prompt_for_continue): Call target_terminal_ours.
1642
1643 2014-07-14 Pedro Alves <palves@redhat.com>
1644
1645 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1646 catch_errors. Don't re-enable stdin or notify observers where,
1647 and rethrow error.
1648 (fetch_inferior_event_wrapper): Delete.
1649
1650 2014-07-14 Pedro Alves <palves@redhat.com>
1651
1652 PR gdb/17072
1653 * top.c: Include "inf-loop.h".
1654 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1655 field.
1656 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1657 was async before.
1658 (gdb_readline_wrapper): Store whether the target is async, and
1659 make it sync.
1660
1661 2014-07-14 Pedro Alves <palves@redhat.com>
1662
1663 PR gdb/17072
1664 * top.c (gdb_readline_wrapper_line): Tweak comment.
1665 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1666 the input handler callback.
1667
1668 2014-07-14 Pedro Alves <palves@redhat.com>
1669
1670 PR gdb/17072
1671 * main.c: Include event-top.h.
1672 (handle_command_errors): New function.
1673 (catch_command_errors, catch_command_errors_const): Use it.
1674
1675 2014-07-14 Pedro Alves <palves@redhat.com>
1676
1677 * exceptions.c (catch_command_errors, catch_command_errors_const):
1678 Moved to main.c.
1679 * exceptions.h (catch_command_errors_ftype)
1680 (catch_command_errors_const_ftype): Moved to main.c.
1681 (catch_command_errors, catch_command_errors_const): Delete
1682 declarations.
1683 * main.c (catch_command_errors_ftype)
1684 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1685 (catch_command_errors, catch_command_errors_const)): Moved here
1686 from exceptions.c and make static.
1687
1688 2014-07-14 Pedro Alves <palves@redhat.com>
1689
1690 * exceptions.c (print_any_exception): Delete.
1691 (catch_exceptions_with_msg): Use exception_print instead of
1692 print_any_exception.
1693 (catch_errors): Use exception_fprintf instead of
1694 print_any_exception.
1695 (catch_command_errors, catch_command_errors_const): Use
1696 exception_print instead of print_any_exception.
1697
1698 2014-07-14 Pedro Alves <palves@redhat.com>
1699
1700 * infcall.c (run_inferior_call): Set 'sync_execution' while
1701 running the inferior call.
1702
1703 2014-07-14 Pedro Alves <palves@redhat.com>
1704
1705 * value.c (value_contents_equal): Delete function.
1706 * value.h (value_contents_equal): Delete declaration.
1707
1708 2014-07-14 Tom Tromey <tromey@redhat.com>
1709
1710 PR exp/17106:
1711 * gdbtypes.c (is_dynamic_type_internal): New function, from
1712 is_dynamic_type.
1713 (is_dynamic_type): Rewrite.
1714 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1715 (resolve_dynamic_struct): Likewise.
1716 (resolve_dynamic_type_internal): New function, from
1717 resolve_dynamic_type.
1718 (resolve_dynamic_type): Rewrite.
1719
1720 2014-07-14 Tom Tromey <tromey@redhat.com>
1721
1722 * target.c (target_require_runnable): Also check record_stratum.
1723 Update comment.
1724
1725 2014-07-11 Yao Qi <yao@codesourcery.com>
1726
1727 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1728 thumb_instruction_restores_sp return true.
1729
1730 2014-07-11 Yao Qi <yao@codesourcery.com>
1731
1732 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1733 (thumb_in_function_epilogue_p): Call
1734 thumb_instruction_restores_sp.
1735
1736 2014-07-11 Yao Qi <yao@codesourcery.com>
1737
1738 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1739 'add sp, #imm'.
1740 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1741
1742 2014-07-11 Gary Benson <gbenson@redhat.com>
1743
1744 * amd64-linux-nat.c (gdbcore.h): Remove include.
1745 (regset.h): Likewise.
1746 (nat/linux-btrace.h): Likewise.
1747 (btrace.h): Likewise.
1748 (gdb_assert.h): Likewise.
1749 (string.h): Likewise.
1750 (sys/uio.h): Likewise.
1751 (sys/debugreg.h): Likewise.
1752 (sys/syscall.h): Likewise.
1753 (sys/procfs.h): Likewise.
1754 (sys/user.h): Likewise.
1755 (asm/ptrace.h): Likewise.
1756 (i386-nat.h): Likewise.
1757 * i386-linux-nat.c (i386-nat.h): Likewise.
1758 (regset.h): Likewise.
1759 (target.h): Likewise.
1760 (linux-nat.h): Likewise.
1761 (nat/linux-btrace.h): Likewise.
1762 (btrace.h): Likewise.
1763 (gdb_assert.h): Likewise.
1764 (string.h): Likewise.
1765 (sys/uio.h): Likewise.
1766 (sys/user.h): Likewise.
1767 (sys/procfs.h): Likewise.
1768 (sys/reg.h): Likewise.
1769 (sys/debugreg.h): Likewise.
1770 (ORIG_EAX): Remove definition.
1771
1772 2014-07-11 Gary Benson <gbenson@redhat.com>
1773
1774 * i386-linux-nat.h: New file.
1775 * x86-linux-nat.h: Likewise.
1776 * x86-linux-nat.c: Likewise.
1777 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1778 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1779 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1780 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1781 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1782 (PTRACE_SETREGSET): Likewise.
1783 (arch_lwp_info): Now in x86-linux-nat.c.
1784 (have_ptrace_getregset): Now in x86-linux-nat.h.
1785 (x86_linux_dr_get): Now in x86-linux-nat.c.
1786 (x86_linux_dr_set): Likewise.
1787 (x86_linux_dr_get_addr): Likewise.
1788 (x86_linux_dr_get_control): Likewise.
1789 (x86_linux_dr_get_status): Likewise.
1790 (update_debug_registers_callback): Likewise.
1791 (x86_linux_dr_set_control): Likewise.
1792 (x86_linux_dr_set_addr): Likewise.
1793 (x86_linux_prepare_to_resume): Likewise.
1794 (x86_linux_new_thread): Likewise.
1795 (x86_linux_new_fork): Likewise.
1796 (x86_linux_get_thread_area): Likewise.
1797 (super_post_startup_inferior): Likewise.
1798 (x86_linux_child_post_startup_inferior): Likewise.
1799 (AMD64_LINUX_USER64_CS): Likewise.
1800 (AMD64_LINUX_X32_DS): Likewise.
1801 (x86_linux_read_description): Likewise.
1802 (x86_linux_enable_btrace): Likewise.
1803 (x86_linux_disable_btrace): Likewise.
1804 (x86_linux_teardown_btrace): Likewise.
1805 (x86_linux_read_btrace): Likewise.
1806 (x86_linux_create_target): Likewise.
1807 (x86_linux_add_target): Likewise.
1808 * i386-linux-nat.c (x86-linux-nat.h): New include.
1809 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1810 (PTRACE_SETREGSET): Likewise.
1811 (arch_lwp_info): Now in x86-linux-nat.c.
1812 (have_ptrace_getregset): Now in x86-linux-nat.h.
1813 (x86_linux_dr_get): Now in x86-linux-nat.c.
1814 (x86_linux_dr_set): Likewise.
1815 (x86_linux_dr_get_addr): Likewise.
1816 (x86_linux_dr_get_control): Likewise.
1817 (x86_linux_dr_get_status): Likewise.
1818 (update_debug_registers_callback): Likewise.
1819 (x86_linux_dr_set_control): Likewise.
1820 (x86_linux_dr_set_addr): Likewise.
1821 (x86_linux_prepare_to_resume): Likewise.
1822 (x86_linux_new_thread): Likewise.
1823 (x86_linux_new_fork): Likewise.
1824 (x86_linux_get_thread_area): Likewise.
1825 (super_post_startup_inferior): Likewise.
1826 (x86_linux_child_post_startup_inferior): Likewise.
1827 (AMD64_LINUX_USER64_CS): Likewise.
1828 (AMD64_LINUX_X32_DS): Likewise.
1829 (x86_linux_read_description): Likewise.
1830 (x86_linux_enable_btrace): Likewise.
1831 (x86_linux_disable_btrace): Likewise.
1832 (x86_linux_teardown_btrace): Likewise.
1833 (x86_linux_read_btrace): Likewise.
1834 (x86_linux_create_target): Likewise.
1835 (x86_linux_add_target): Likewise.
1836
1837 2014-07-11 Gary Benson <gbenson@redhat.com>
1838
1839 * amd64-linux-nat.c: Comment and whitespace changes.
1840 * i386-linux-nat.c: Comment and whitespace changes.
1841
1842 2014-07-11 Gary Benson <gbenson@redhat.com>
1843
1844 * amd64-linux-nat.c (x86_linux_create_target): New function.
1845 (x86_linux_add_target): Likewise.
1846 (_initialize_amd64_linux_nat): Delegate to the above new functions.
1847 * i386-linux-nat.c (x86_linux_create_target): New function.
1848 (x86_linux_add_target): Likewise.
1849 (_initialize_i386_linux_nat): Delegate to the above new functions.
1850
1851 2014-07-11 Gary Benson <gbenson@redhat.com>
1852
1853 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
1854 (ps_get_thread_area): Delegate to the above in 32-bit mode.
1855 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
1856 (ps_get_thread_area): Delegate to the above.
1857
1858 2014-07-11 Gary Benson <gbenson@redhat.com>
1859
1860 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
1861 x86_linux_read_description. All uses updated. amd64-specific
1862 code conditionalized. Conditionalized i386-specific code added.
1863 Redundant cast removed.
1864 * i386-linux-nat.c (i386_linux_read_description): Renamed to
1865 x86_linux_read_description. All uses updated. i386-specific
1866 code conditionalized. Conditionalized amd64-specific code added.
1867 One sizeof replaced with the actual type it is describing.
1868
1869 2014-07-11 Gary Benson <gbenson@redhat.com>
1870
1871 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
1872 x86_linux_dr_get. All uses updated.
1873 (amd64_linux_dr_set): Renamed to
1874 x86_linux_dr_set. All uses updated.
1875 (amd64_linux_dr_get_addr): Renamed to
1876 x86_linux_dr_get_addr. All uses updated.
1877 (amd64_linux_dr_get_control): Renamed to
1878 x86_linux_dr_get_control. All uses updated.
1879 (amd64_linux_dr_get_status): Renamed to
1880 x86_linux_dr_get_status. All uses updated.
1881 (amd64_linux_dr_set_control): Renamed to
1882 x86_linux_dr_set_control. All uses updated.
1883 (amd64_linux_dr_set_addr): Renamed to
1884 x86_linux_dr_set_addr. All uses updated.
1885 (amd64_linux_prepare_to_resume): Renamed to
1886 x86_linux_prepare_to_resume. All uses updated.
1887 (amd64_linux_new_thread): Renamed to
1888 x86_linux_new_thread. All uses updated.
1889 (amd64_linux_new_fork): Renamed to
1890 x86_linux_new_fork. All uses updated.
1891 (amd64_linux_child_post_startup_inferior): Renamed to
1892 x86_linux_child_post_startup_inferior. All uses updated.
1893 (amd64_linux_enable_btrace): Renamed to
1894 x86_linux_enable_btrace. All uses updated.
1895 (amd64_linux_disable_btrace): Renamed to
1896 x86_linux_disable_btrace. All uses updated.
1897 (amd64_linux_teardown_btrace): Renamed to
1898 x86_linux_teardown_btrace. All uses updated.
1899 (amd64_linux_read_btrace): Renamed to
1900 x86_linux_read_btrace. All uses updated.
1901 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
1902 x86_linux_dr_get. All uses updated.
1903 (i386_linux_dr_set): Renamed to
1904 x86_linux_dr_set. All uses updated.
1905 (i386_linux_dr_get_addr): Renamed to
1906 x86_linux_dr_get_addr. All uses updated.
1907 (i386_linux_dr_get_control): Renamed to
1908 x86_linux_dr_get_control. All uses updated.
1909 (i386_linux_dr_get_status): Renamed to
1910 x86_linux_dr_get_status. All uses updated.
1911 (i386_linux_dr_set_control): Renamed to
1912 x86_linux_dr_set_control. All uses updated.
1913 (i386_linux_dr_set_addr): Renamed to
1914 x86_linux_dr_set_addr. All uses updated.
1915 (i386_linux_prepare_to_resume): Renamed to
1916 x86_linux_prepare_to_resume. All uses updated.
1917 (i386_linux_new_thread): Renamed to
1918 x86_linux_new_thread. All uses updated.
1919 (i386_linux_new_fork): Renamed to
1920 x86_linux_new_fork. All uses updated.
1921 (i386_linux_child_post_startup_inferior): Renamed to
1922 x86_linux_child_post_startup_inferior. All uses updated.
1923 (i386_linux_enable_btrace): Renamed to
1924 x86_linux_enable_btrace. All uses updated.
1925 (i386_linux_disable_btrace): Renamed to
1926 x86_linux_disable_btrace. All uses updated.
1927 (i386_linux_teardown_btrace): Renamed to
1928 x86_linux_teardown_btrace. All uses updated.
1929 (i386_linux_read_btrace): Renamed to
1930 x86_linux_read_btrace. All uses updated.
1931
1932 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1933
1934 * remote.c (extended_remote_post_attach): New function.
1935 (init_extended_remote_ops): Install it as to_post_attach method.
1936
1937 2014-07-09 Pedro Alves <palves@redhat.com>
1938
1939 * infcmd.c (attach_command_post_wait): Don't call
1940 target_terminal_inferior here.
1941 (attach_command): Call it here instead.
1942
1943 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1944
1945 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
1946 field.
1947 * c-varobj.c (c_is_path_expr_parent): New function, moved core
1948 from varobj.c, with additional checks.
1949 (c_varobj_ops): Fill in is_path_expr_parent field.
1950 (cplus_varobj_ops): Fill in is_path_expr_parent field.
1951 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
1952 field.
1953 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
1954 ops method.
1955 (varobj_default_is_path_expr_parent): New function.
1956 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
1957 (varobj_default_is_path_expr_parent): Declare new function.
1958
1959 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1960
1961 * infcmd.c (finish_backward): Turn internal error into normal error.
1962
1963 2014-07-07 Pedro Alves <palves@redhat.com>
1964
1965 PR gdb/17096
1966 * remote.c (async_handle_remote_sigint)
1967 (async_handle_remote_sigint_twice): Call
1968 gdb_call_async_signal_handler instead of
1969 mark_async_signal_handler.
1970
1971 2014-07-07 Tom Tromey <tromey@redhat.com>
1972
1973 * target-delegates.c: Rebuild.
1974 * target.c (target_info_record): Remove.
1975 * record.c (info_record_command): Unconditionally call
1976 to_info_record.
1977 * target.h (struct target_ops) <to_info_record>: Use
1978 TARGET_DEFAULT_IGNORE.
1979 (target_info_record): Remove.
1980
1981 2014-07-07 Tom Tromey <tromey@redhat.com>
1982
1983 * target.h (struct target_ops) <to_get_thread_local_address>: Use
1984 TARGET_DEFAULT_NORETURN.
1985 * target.c (generic_tls_error): New function.
1986 (target_translate_tls_address): Don't search target stack.
1987 * target-delegates.c: Rebuild.
1988 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
1989 stack.
1990 * linux-thread-db.c (thread_db_get_thread_local_address):
1991 Unconditionally call beneath target.
1992
1993 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
1994
1995 * cli/cli-logging.c (pop_output_files): Assign targerr to
1996 gdb_stdtargerr.
1997
1998 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
1999
2000 * MAINTAINERS (Write After Approval): Update my email address.
2001
2002 2014-07-02 Gary Benson <gbenson@redhat.com>
2003
2004 * proc-service.c (ps_xfer_memory): Update comment.
2005 (ps_pstop): Remove unused function.
2006 (ps_pcontinue): Likewise.
2007 (ps_lstop): Likewise.
2008 (ps_lcontinue): Likewise.
2009 (ps_lgetxregsize): Likewise.
2010 (ps_lgetxregs): Likewise.
2011 (ps_lsetxregs): Likewise.
2012 (ps_plog): Likewise.
2013 (ps_ptread): Likewise.
2014 (ps_ptwrite): Likewise.
2015
2016 2014-07-01 Mark Wielaard <mjw@redhat.com>
2017
2018 * dwarf2read.c (add_array_cv_type): New function.
2019 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2020 (read_tag_volatile_type): Likewise.
2021
2022 2014-07-01 Tom Tromey <tromey@redhat.com>
2023
2024 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2025 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2026 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2027 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2028 * command.h (cmd_cfunc_ftype): Move earlier.
2029 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2030 (add_com, add_info): Use cmd_cfunc_ftype.
2031
2032 2014-06-30 Tom Tromey <tromey@redhat.com>
2033
2034 * symtab.c (operator_chars): Make parameters and return type
2035 const.
2036 (file_matches): Make "files" const.
2037 (struct search_symbols_data) <files>: Now const.
2038 (search_symbols): Make "regexp" and "files" parameters const.
2039 Update.
2040 (symtab_symbol_info): Remove cast.
2041 (rbreak_command): Update.
2042 * symtab.h (search_symbols): Update.
2043
2044 2014-06-27 Yao Qi <yao@codesourcery.com>
2045
2046 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2047 Change parameter type to 'struct thread_info *'. Caller
2048 updated.
2049 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2050 Update declaration.
2051 * dummy-frame.c (struct dummy_frame_id): New.
2052 (dummy_frame_id_eq): New function.
2053 (struct dummy_frame) <id>: Change its type to 'struct
2054 dummy_frame_id'.
2055 (dummy_frame_push): Add parameter ptid and save it in
2056 dummy_frame_id.
2057 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2058 inferior_ptid.
2059 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2060 to inferior_ptid.
2061 (lookup_dummy_frame): Change parameter type to 'struct
2062 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2063 instead of frame_id_eq.
2064 (dummy_frame_pop): Add parameter ptid. Callers updated.
2065 Update comments. Compose dummy_frame_id and pass it to
2066 lookup_dummy_frame.
2067 (dummy_frame_discard): Add parameter ptid.
2068 (dummy_frame_sniffer): Compose dummy_frame_id and call
2069 dummy_frame_id_eq instead of frame_id_eq.
2070 (fprint_dummy_frames): Print ptid.
2071 * dummy-frame.h: Remove comments.
2072 (dummy_frame_push): Add ptid in declaration.
2073 (dummy_frame_pop, dummy_frame_discard): Likewise.
2074
2075 2014-06-26 Tom Tromey <tromey@redhat.com>
2076
2077 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2078 * command.h (error_no_arg): Update.
2079
2080 2014-06-26 Tom Tromey <tromey@redhat.com>
2081
2082 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2083 (do_show_command): Make "arg" const.
2084 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2085
2086 2014-06-26 Tom Tromey <tromey@redhat.com>
2087
2088 * record-full.c (record_full_get_bookmark): Make "args" const.
2089 (record_full_goto_bookmark): Make "raw_bookmark" const.
2090 * record.c (record_goto): New function.
2091 (cmd_record_goto): Use it. Now static.
2092 * record.h (record_goto): Declare.
2093 (cmd_record_goto): Remove declaration.
2094 * target-delegates.c: Rebuild.
2095 * target.h (struct target_ops) <to_get_bookmark,
2096 to_goto_bookmark>: Make parameter const.
2097
2098 2014-06-26 Tom Tromey <tromey@redhat.com>
2099
2100 * defs.h (generic_load): Update.
2101 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2102 * monitor.c (monitor_load): Make "args" const.
2103 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2104 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2105 const.
2106 (mips_load): Make "file" const.
2107 * remote-sim.c (gdbsim_load): Make "args" const.
2108 * remote.c (remote_load): Make "name" const.
2109 * symfile.c (generic_load): Make "args" const.
2110 * target-delegates.c: Rebuild.
2111 * target.c (target_load): Make "arg" const.
2112 (debug_to_load): Make "args" const.
2113 * target.h (struct target_ops) <to_load>: Make parameter const.
2114 (target_load): Update.
2115
2116 2014-06-26 Tom Tromey <tromey@redhat.com>
2117
2118 PR symtab/16902:
2119 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2120 (dwarf2_physname, read_partial_die)
2121 (guess_partial_die_structure_name, fixup_partial_die)
2122 (guess_full_die_structure_name, anonymous_struct_prefix)
2123 (dwarf2_name): Use per-BFD obstack.
2124
2125 2014-06-26 Yao Qi <yao@codesourcery.com>
2126
2127 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2128 dummyframe and this_id into inner block below.
2129
2130 2014-06-26 Yao Qi <yao@codesourcery.com>
2131
2132 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2133 with "signal_pass[0]" in the initialization of signal_pass.
2134
2135 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2136
2137 * record-btrace.c (record_btrace_generating_corefile)
2138 (record_btrace_prepare_to_generate_core)
2139 (record_btrace_done_generating_core): New.
2140 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2141 (record_btrace_store_registers, record_btrace_prepare_to_store):
2142 Forward request when generating a core file.
2143 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2144 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2145 to_done_generating_core.
2146
2147 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2148
2149 * target.h (target_ops) <to_prepare_to_generate_core>
2150 <to_done_generating_core>: New.
2151 (target_prepare_to_generate_core, target_done_generating_core): New.
2152 * target.c (target_prepare_to_generate_core)
2153 (target_done_generating_core): New.
2154 * target-delegates.c: Regenerate.
2155 * gcore.c: (write_gcore_file): Rename to ...
2156 (write_gcore_file_1): ...this.
2157 (write_gcore_file): Call target_prepare_to_generate_core
2158 and target_done_generating_core.
2159
2160 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2161
2162 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2163 * gcore.c (write_gcore_file): Free memory returned from
2164 make_corefile_notes.
2165 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2166 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2167
2168 2014-06-24 Yao Qi <yao@codesourcery.com>
2169
2170 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2171 (arm_linux_init_abi): Set skip_trampoline_code with
2172 gdbarch_skip_trampoline_code instead of
2173 find_solib_trampoline_target.
2174
2175 2014-06-24 Yao Qi <yao@codesourcery.com>
2176
2177 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2178 arm_skip_bx_reg returns non-zero.
2179
2180 2014-06-24 Yao Qi <yao@codesourcery.com>
2181
2182 * arm-tdep.c (arm_skip_bx_reg): New function.
2183 (arm_skip_stub): Call arm_skip_bx_reg.
2184
2185 2014-06-23 Don Breazeal <donb@codesourcery.com>
2186
2187 * MAINTAINERS: Add myself as write-after-approval maintainer.
2188
2189 2014-06-23 Pedro Alves <palves@redhat.com>
2190
2191 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2192 DR_CONTROL before setting DR0..DR3.
2193 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2194 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2195 bits of DR_CONTROL related to the debug register slot being
2196 disabled. If all slots are vacant, clear local slowdown as well,
2197 and assert DR_CONTROL is 0.
2198
2199 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2200
2201 * python/lib/gdb/command/xmethods.py
2202 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2203 current progspace only if the string "progspace" matches LOCUS_RE.
2204
2205 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2206
2207 Fix --with-system-readline with readline-6.3 patch 5.
2208 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2209 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2210 types.
2211
2212 2014-06-20 Tom Tromey <tromey@redhat.com>
2213
2214 * dwarf2read.c (dw2_get_real_path): Use correct type in
2215 OBSTACK_CALLOC.
2216 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2217
2218 2014-06-20 Gary Benson <gbenson@redhat.com>
2219
2220 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2221 * common/glibc_thread_db.h: Likewise.
2222 * common/i386-cpuid.h: Likewise.
2223 * common/i386-gcc-cpuid.h: Likewise.
2224 * common/linux-btrace.h: Likewise.
2225 * common/linux-osdata.h: Likewise.
2226 * common/linux-procfs.h: Likewise.
2227 * common/linux-ptrace.h: Likewise.
2228 * common/mips-linux-watch.h: Likewise.
2229 * common/linux-btrace.c: Moved to nat.
2230 * common/linux-osdata.c: Likewise.
2231 * common/linux-procfs.c: Likewise.
2232 * common/linux-ptrace.c: Likewise.
2233 * common/mips-linux-watch.c: Likewise.
2234 * nat/gdb_thread_db.h: Moved from common.
2235 * nat/glibc_thread_db.h: Likewise.
2236 * nat/i386-cpuid.h: Likewise.
2237 * nat/i386-gcc-cpuid.h: Likewise.
2238 * nat/linux-btrace.c: Likewise.
2239 * nat/linux-btrace.h: Likewise.
2240 * nat/linux-osdata.c: Likewise.
2241 * nat/linux-osdata.h: Likewise.
2242 * nat/linux-procfs.c: Likewise.
2243 * nat/linux-procfs.h: Likewise.
2244 * nat/linux-ptrace.c: Likewise.
2245 * nat/linux-ptrace.h: Likewise.
2246 * nat/mips-linux-watch.c: Likewise.
2247 * nat/mips-linux-watch.h: Likewise.
2248 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2249 (object file files): Reordered.
2250 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2251 of glibc_thread_db.h.
2252
2253 2014-06-20 Gary Benson <gbenson@redhat.com>
2254
2255 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2256 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2257 (i386_dr_low): Likewise.
2258 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2259 (i386_dr_low_set_addr): Likewise.
2260 (i386_dr_low_get_addr): Likewise.
2261 (i386_dr_low_can_set_control): Likewise.
2262 (i386_dr_low_set_control): Likewise.
2263 (i386_dr_low_get_control): Likewise.
2264 (i386_dr_low_get_status): Likewise.
2265 (i386_get_debug_register_length): Likewise.
2266 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2267 (i386_dr_low): Likewise.
2268 * nat/i386-dregs.c (i386-low.h): Remove include.
2269 (i386-nat.h): Likewise.
2270 (nat/i386-dregs.h): New include.
2271 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2272 (i386_dr_low_set_addr): Likewise.
2273 (i386_dr_low_get_addr): Likewise.
2274 (i386_dr_low_can_set_control): Likewise.
2275 (i386_dr_low_set_control): Likewise.
2276 (i386_dr_low_get_control): Likewise.
2277 (i386_dr_low_get_status): Likewise.
2278 (i386_get_debug_register_length): Likewise.
2279 (debug_hw_points): Likewise.
2280
2281 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2282
2283 * Makefile.in (SFILES): Add d-exp.y.
2284 (YYFILES): Add d-exp.c.
2285 (YYOBJ): Add d-exp.o.
2286 (local-maintainer-clean): Delete d-exp.c.
2287 * d-exp.y: New file.
2288 * d-lang.h (d_parse): New declaration.
2289 (d_error): New declaration.
2290 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2291 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2292 PREC_ORDER operators.
2293 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2294
2295 2014-06-19 Yao Qi <yao@codesourcery.com>
2296
2297 * gdbthread.h (any_running): Remove the declaration.
2298 * thread.c (any_running): Remove.
2299
2300 2014-06-19 Yao Qi <yao@codesourcery.com>
2301
2302 * gdbthread.h (struct thread_info) <state>: Change its type to
2303 'enum thread_state'. Update comments.
2304
2305 2014-06-19 Pedro Alves <palves@redhat.com>
2306
2307 * gdbthread.h (ALL_THREADS): Delete.
2308 (ALL_NON_EXITED_THREADS): New macro.
2309 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2310 instead of ALL_THREADS.
2311 * infrun.c (find_thread_needs_step_over)
2312 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2313 instead of ALL_THREADS.
2314 * record-btrace.c (record_btrace_open)
2315 (record_btrace_stop_recording, record_btrace_close)
2316 (record_btrace_is_replaying, record_btrace_resume)
2317 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2318 * remote.c (append_pending_thread_resumptions): Likewise.
2319 * thread.c (thread_apply_all_command): Likewise.
2320
2321 2014-06-19 Gary Benson <gbenson@redhat.com>
2322
2323 * i386-nat.c (i386_stopped_by_watchpoint):
2324 Use i386_dr_stopped_by_watchpoint.
2325 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2326 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2327
2328 2014-06-19 Gary Benson <gbenson@redhat.com>
2329
2330 * nat/i386-dregs.c: New file.
2331 * Makefile.in (i386-dregs.o): New rule.
2332 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2333 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2334 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2335 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2336 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2337 * config/i386/go32.mh (NATDEPFILES): Likewise.
2338 * config/i386/linux.mh (NATDEPFILES): Likewise.
2339 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2340 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2341 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2342 * i386-nat.h (debug_hw_points): New declaration.
2343 * i386-nat.c (breakpoint.h): Remove include.
2344 (command.h): Likewise.
2345 (target.h): Likewise.
2346 (gdb_assert.h): Likewise.
2347 (debug_hw_points): Made nonstatic.
2348 (debug_printf): Now in i386-dregs.c.
2349 (TARGET_HAS_DR_LEN_8): Likewise.
2350 (DR_CONTROL_SHIFT): Likewise.
2351 (DR_CONTROL_SIZE): Likewise.
2352 (DR_RW_EXECUTE): Likewise.
2353 (DR_RW_WRITE): Likewise.
2354 (DR_RW_READ): Likewise.
2355 (DR_RW_IORW): Likewise.
2356 (DR_LEN_1): Likewise.
2357 (DR_LEN_2): Likewise.
2358 (DR_LEN_4): Likewise.
2359 (DR_LEN_8): Likewise.
2360 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2361 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2362 (DR_ENABLE_SIZE): Likewise.
2363 (DR_LOCAL_SLOWDOWN): Likewise.
2364 (DR_GLOBAL_SLOWDOWN): Likewise.
2365 (DR_CONTROL_RESERVED): Likewise.
2366 (I386_DR_CONTROL_MASK): Likewise.
2367 (I386_DR_VACANT): Likewise.
2368 (I386_DR_LOCAL_ENABLE): Likewise.
2369 (I386_DR_GLOBAL_ENABLE): Likewise.
2370 (I386_DR_DISABLE): Likewise.
2371 (I386_DR_SET_RW_LEN): Likewise.
2372 (I386_DR_GET_RW_LEN): Likewise.
2373 (I386_DR_WATCH_HIT): Likewise.
2374 (i386_wp_op_t): Likewise.
2375 (i386_show_dr): Likewise.
2376 (i386_length_and_rw_bits): Likewise.
2377 (i386_insert_aligned_watchpoint): Likewise.
2378 (i386_remove_aligned_watchpoint): Likewise.
2379 (i386_handle_nonaligned_watchpoint): Likewise.
2380 (i386_update_inferior_debug_regs): Likewise.
2381 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2382 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2383 (i386_region_ok_for_watchpoint):
2384 Use i386_dr_region_ok_for_watchpoint.
2385 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2386
2387 2014-06-19 Gary Benson <gbenson@redhat.com>
2388
2389 * i386-nat.c (i386_insert_hw_breakpoint): Use
2390 i386_insert_watchpoint.
2391 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2392
2393 2014-06-19 Gary Benson <gbenson@redhat.com>
2394
2395 * i386-nat.c (i386_dr_show): Renamed to
2396 i386_show_dr and made static. All uses updated.
2397 (i386_dr_length_and_rw_bits): Renamed to
2398 i386_length_and_rw_bits and made static.
2399 All uses updated.
2400 (i386_dr_insert_aligned_watchpoint): Renamed to
2401 i386_insert_aligned_watchpoint and made static.
2402 All uses updated.
2403 (i386_dr_remove_aligned_watchpoint): Renamed to
2404 i386_remove_aligned_watchpoint and made static.
2405 All uses updated.
2406 (i386_dr_update_inferior_debug_regs): Renamed to
2407 i386_update_inferior_debug_regs and made static.
2408 All uses updated.
2409 * nat/i386-dregs.h (i386_dr_show): Removed.
2410 (i386_dr_length_and_rw_bits): Likewise.
2411 (i386_dr_insert_aligned_watchpoint): Likewise.
2412 (i386_dr_remove_aligned_watchpoint): Likewise.
2413 (i386_dr_update_inferior_debug_regs): Likewise.
2414
2415 2014-06-19 Gary Benson <gbenson@redhat.com>
2416
2417 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2418 * configure: Regenerate.
2419 * config.in: Likewise.
2420 * main.c (signal.h): New include.
2421 (setup_alternate_signal_stack): New function.
2422 (captured_main): Call the above.
2423 * cp-support.c (signal.h): New include.
2424 (catch_demangler_crashes): New flag.
2425 (SIGJMP_BUF): New define.
2426 (SIGSETJMP): Likewise.
2427 (SIGLONGJMP): Likewise.
2428 (gdb_demangle_jmp_buf): New static global.
2429 (gdb_demangle_attempt_core_dump): Likewise.
2430 (gdb_demangle_signal_handler): New function.
2431 (gdb_demangle): If catch_demangler_crashes is set, install the
2432 above signal handler before calling bfd_demangle, and restore
2433 the original signal handler afterwards. Display the offending
2434 symbol and call demangler_warning the first time a segmentation
2435 fault is caught.
2436 (_initialize_cp_support): New maint set/show command.
2437
2438 2014-06-19 Gary Benson <gbenson@redhat.com>
2439
2440 * utils.h (resource_limit_kind): New enum.
2441 (can_dump_core): New declaration.
2442 (warn_cant_dump_core): Likewise.
2443 (dump_core): Likewise.
2444 * utils.c (dump_core): Made nonstatic. Added new
2445 parameter "limit_kind".
2446 (can_dump_core): Made nonstatic. Moved printing code to...
2447 (warn_cant_dump_core): New function.
2448 (can_dump_core_warn): Likewise.
2449 (internal_vproblem): Replace calls to can_dump_core with
2450 calls to can_dump_core_warn. Supply new argument to each.
2451
2452 2014-06-19 Gary Benson <gbenson@redhat.com>
2453
2454 * utils.h (demangler_vwarning): New declaration.
2455 (demangler_warning): Likewise.
2456 * utils.c (struct internal_problem)
2457 <user_settable_should_quit>: New field.
2458 <user_settable_should_dump_core>: Likewise
2459 (internal_error_problem): Add values for above new fields.
2460 (internal_warning_problem): Likewise.
2461 (demangler_warning_problem): New static global.
2462 (demangler_vwarning): New function.
2463 (demangler_warning): Likewise.
2464 (add_internal_problem_command): Selectively add commands.
2465 (_initialize_utils): New internal problem command.
2466 * maint.c (maintenance_demangler_warning): New function.
2467 (_initialize_maint_cmds): New command.
2468
2469 2014-06-18 Tom Tromey <tromey@redhat.com>
2470
2471 * f-valprint.c (info_common_command_for_block): Update.
2472 * symtab.h (struct general_symbol_info) <common_block>: Now
2473 const.
2474
2475 2014-06-18 Tom Tromey <tromey@redhat.com>
2476
2477 * symtab.h (struct symtab) <blockvector>: Now const.
2478 * ada-lang.c (ada_add_global_exceptions): Update.
2479 * buildsym.c (augment_type_symtab): Update.
2480 * dwarf2read.c (dw2_lookup_symbol): Update.
2481 * jit.c (finalize_symtab): Update.
2482 * jv-lang.c (add_class_symtab_symbol): Update.
2483 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2484 Update.
2485 * objfiles.c (objfile_relocate1): Update.
2486 * psymtab.c (lookup_symbol_aux_psymtabs)
2487 (maintenance_check_psymtabs): Update.
2488 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2489 Update.
2490 * spu-tdep.c (spu_catch_start): Update.
2491 * symmisc.c (dump_symtab_1): Update.
2492 * symtab.c (lookup_global_symbol_from_objfile)
2493 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2494 (basic_lookup_transparent_type_quick)
2495 (basic_lookup_transparent_type, find_pc_sect_symtab)
2496 (find_pc_sect_line, search_symbols): Update.
2497 * block.c (find_block_in_blockvector): Make "bl" const.
2498 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2499 const.
2500 (blockvector_contains_pc): Make "bv" const.
2501 (block_for_pc_sect): Update.
2502 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2503 (blockvector_contains_pc): Update.
2504 * breakpoint.c (resolve_sal_pc): Update.
2505 * inline-frame.c (block_starting_point_at): Update.
2506
2507 2014-06-18 Tom Tromey <tromey@redhat.com>
2508
2509 * completer.c (complete_line): Make "line_buffer" const.
2510 * completer.h (complete_line): Update.
2511
2512 2014-06-18 Tom Tromey <tromey@redhat.com>
2513
2514 * symtab.c (add_macro_name): Remove unneeded cast.
2515
2516 2014-06-18 Tom Tromey <tromey@redhat.com>
2517
2518 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2519 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2520
2521 2014-06-18 Tom Tromey <tromey@redhat.com>
2522
2523 * probe.c (info_probes_for_ops): Make "arg" const.
2524 * probe.h (info_probes_for_ops): Update.
2525
2526 2014-06-18 Tom Tromey <tromey@redhat.com>
2527
2528 * varobj.c (varobj_create): Update.
2529 * valops.c (value_of_this): Update.
2530 * tracepoint.c (add_local_symbols, scope_info): Update.
2531 * symtab.h (struct general_symbol_info) <block>: Now const.
2532 * symtab.c (skip_prologue_sal)
2533 (default_make_symbol_completion_list_break_on)
2534 (skip_prologue_using_sal): Update.
2535 * stack.h (iterate_over_block_locals)
2536 (iterate_over_block_local_vars): Update.
2537 * stack.c (print_frame_args): Update.
2538 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2539 parameter const.
2540 (get_selected_block): Make return type const.
2541 * python/py-frame.c (frapy_block): Update.
2542 * python/py-block.c (gdbpy_block_for_pc): Update.
2543 * p-exp.y (%union) <bval>: Now const.
2544 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2545 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2546 * m2-exp.y (%union) <bval>: Now const.
2547 * linespec.c (get_current_search_block): Make return type const.
2548 (create_sals_line_offset, find_label_symbols): Update.
2549 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2550 Update.
2551 (block_starting_point_at): Make "block" const.
2552 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2553 (check_exception_resume): Update.
2554 * guile/scm-frame.c (gdbscm_frame_block): Update.
2555 * guile/scm-block.c (gdbscm_lookup_block): Update.
2556 * frame.h (get_frame_block): Update.
2557 (get_selected_block): Make return type const.
2558 * frame.c (frame_id_inner): Update.
2559 * f-valprint.c (info_common_command_for_block)
2560 (info_common_command): Update.
2561 * dwarf2loc.c (dwarf2_find_location_expression)
2562 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2563 (locexpr_describe_location_piece): Update.
2564 * c-exp.y (%union) <bval>: Now const.
2565 * breakpoint.c (resolve_sal_pc): Update.
2566 * blockframe.c (get_frame_block):Make return type const.
2567 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2568 (block_innermost_frame): Update.
2569 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2570 (block_for_pc, block_for_pc_sect): Update.
2571 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2572 'pblock' const.
2573 (block_for_pc_sect, block_for_pc): Make return type const.
2574 * ax-gdb.c (gen_expr): Update.
2575 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2576 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2577 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2578 (ada_read_var_value): Update.
2579 * ada-exp.y (struct name_info) <block>: Now const.
2580 (%union): Likewise.
2581 (block_lookup): Constify.
2582
2583 2014-06-18 Gary Benson <gbenson@redhat.com>
2584
2585 * nat/i386-dregs.h: New file.
2586 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2587 * i386-nat.h (i386-dregs.h): New include.
2588 (DR_FIRSTADDR): Now in i386-dregs.h.
2589 (DR_LASTADDR): Likewise.
2590 (DR_NADDR): Likewise.
2591 (DR_STATUS): Likewise.
2592 (DR_CONTROL): Likewise.
2593 (i386_debug_reg_state): Likewise.
2594 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2595
2596 2014-06-18 Don Breazeal <donb@codesourcery.com>
2597
2598 * breakpoint.c (set_longjmp_breakpoint): Call
2599 momentary_breakpoint_from_master with additional argument.
2600 (set_longjmp_breakpoint_for_call_dummy): Call
2601 momentary_breakpoint_from_master with additional argument.
2602 (set_std_terminate_breakpoint): Call
2603 momentary_breakpoint_from_master with additional argument.
2604 (momentary_breakpoint_from_master): Add argument to function
2605 definition and use it to initialize structure member flag.
2606 (clone_momentary_breakpoint): Call
2607 momentary_breakpoint_from_master with additional argument.
2608 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2609 member flags set in momentary_breakpoint_from_master.
2610
2611 2014-06-18 Gary Benson <gbenson@redhat.com>
2612
2613 * i386-nat.c (i386_show_dr): Renamed to
2614 i386_dr_show and made nonstatic. All uses updated.
2615 (i386_length_and_rw_bits): Renamed to
2616 i386_dr_length_and_rw_bits and made nonstatic.
2617 All uses updated.
2618 (i386_insert_aligned_watchpoint): Renamed to
2619 i386_dr_insert_aligned_watchpoint and made nonstatic.
2620 All uses updated.
2621 (i386_remove_aligned_watchpoint): Renamed to
2622 i386_dr_remove_aligned_watchpoint and made nonstatic.
2623 All uses updated.
2624 (i386_update_inferior_debug_regs): Renamed to
2625 i386_dr_update_inferior_debug_regs and made nonstatic.
2626 All uses updated.
2627
2628 2014-06-18 Gary Benson <gbenson@redhat.com>
2629
2630 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2631 (i386_dr_low_can_set_control): Likewise.
2632 (i386_dr_low_set_addr): Likewise.
2633 (i386_dr_low_set_control): Likewise.
2634 (i386_dr_low_get_addr): Likewise.
2635 (i386_dr_low_get_status): Likewise.
2636 (i386_dr_low_get_control): Likewise.
2637 (i386_insert_aligned_watchpoint): Use new macros.
2638 (i386_update_inferior_debug_regs): Likewise.
2639 (i386_stopped_data_address): Likewise.
2640
2641 2014-06-18 Gary Benson <gbenson@redhat.com>
2642
2643 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2644 New parameter. All uses updated.
2645
2646 2014-06-18 Gary Benson <gbenson@redhat.com>
2647
2648 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2649 All uses updated.
2650
2651 2014-06-18 Gary Benson <gbenson@redhat.com>
2652
2653 * i386-nat.c (debug_printf): New macro.
2654 (i386_get_debug_register_length): Likewise.
2655 (TARGET_HAS_DR_LEN_8): Use above macro.
2656 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2657 and printf_unfiltered. Use phex to format values.
2658
2659 2014-06-18 Gary Benson <gbenson@redhat.com>
2660
2661 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2662 Make const.
2663
2664 2014-06-18 Gary Benson <gbenson@redhat.com>
2665
2666 * i386-nat.c: Comment changes.
2667
2668 2014-06-18 Gary Benson <gbenson@redhat.com>
2669
2670 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2671
2672 2014-06-18 Gary Benson <gbenson@redhat.com>
2673
2674 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2675 (i386_insert_aligned_watchpoint): Likewise.
2676 (i386_remove_aligned_watchpoint): Likewise.
2677 (i386_handle_nonaligned_watchpoint): Likewise.
2678
2679 2014-06-18 Gary Benson <gbenson@redhat.com>
2680
2681 * i386-nat.c: Whitespace changes.
2682
2683 2014-06-17 Samuel Bronson <naesten@gmail.com>
2684
2685 * MAINTAINERS: Update Roland McGrath's email address.
2686 Thanks to Sergio Durigan Junior for pointing out that he left
2687 Red Hat a while ago, and giving me a current address.
2688
2689 2014-06-17 Tom Tromey <tromey@redhat.com>
2690
2691 * utils.h (savestring): Remove declaration.
2692
2693 2014-06-17 Tom Tromey <tromey@redhat.com>
2694
2695 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2696
2697 2014-06-16 Keith Seitz <keiths@redhat.com>
2698
2699 PR mi/15863
2700 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2701 to update the varobj if inferior_ptid is null_ptid.
2702
2703 2014-06-16 Tom Tromey <tromey@redhat.com>
2704
2705 * target.h (struct target_ops) <to_info_proc>: Make parameter
2706 const.
2707 (target_info_proc): Update.
2708 * target.c (target_info_proc): Make "args" const.
2709 * procfs.c (procfs_info_proc): Update.
2710 * linux-tdep.c (linux_info_proc): Update.
2711 (linux_core_info_proc_mappings): Make "args" const.
2712 (linux_core_info_proc): Update.
2713 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2714 * gdbarch.c: Rebuild.
2715 * gdbarch.h: Rebuild.
2716 * corelow.c (core_info_proc): Update.
2717
2718 2014-06-16 Tom Tromey <tromey@redhat.com>
2719
2720 * target.h (struct target_ops) <to_disconnect>: Make parameter
2721 const.
2722 (target_disconnect): Update.
2723 * target.c (target_disconnect): Make "args" const.
2724 * target-delegates.c: Rebuild.
2725 * remote.c (remote_disconnect): Update.
2726 * record.h (record_disconnect): Update.
2727 * record.c (record_disconnect): Update.
2728 * inf-child.c (inf_child_disconnect): Update.
2729
2730 2014-06-16 Tom Tromey <tromey@redhat.com>
2731
2732 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2733 * target.c (debug_to_rcmd, default_rcmd): Update.
2734 * target-delegates.c: Rebuild.
2735 * remote.c (remote_rcmd): Update.
2736 * monitor.c (monitor_rcmd): Update.
2737
2738 2014-06-16 Pedro Alves <palves@redhat.com>
2739
2740 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2741 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2742 have OBJF_SHARED set.
2743 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2744 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2745 instead of OBJF_USERLOADED.
2746 * objfiles.h (OBJF_SHARED): Update comment.
2747 (userloaded_objfile_contains_address_p): Rename to ...
2748 (shared_objfile_contains_address_p): ... this, and update
2749 comments.
2750 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2751 new objfile.
2752 (remove_symbol_file_command): Skip objfiles that don't have
2753 OBJF_SHARED set.
2754
2755 2014-06-16 Tom Tromey <tromey@redhat.com>
2756
2757 * minsyms.h (prim_record_minimal_symbol)
2758 (prim_record_minimal_symbol_and_info): Update comments.
2759
2760 2014-06-14 Eli Zaretskii <eliz@gnu.org>
2761
2762 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2763 or --without-guile, according to how GDB was built.
2764
2765 2014-06-13 Tom Tromey <tromey@redhat.com>
2766
2767 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2768 to help_list.
2769 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2770 to help_list.
2771 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2772 help_list.
2773 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2774 help_list.Pass all_commands, not -1, to help_list.
2775 * cli/cli-dump.c (dump_command, append_command)
2776 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2777 (binary_dump_command, binary_append_command): Pass all_commands,
2778 not -1, to help_list.
2779 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2780 -1, to help_list.
2781 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2782 -1, to help_list.
2783 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2784 help_list.
2785 * top.c (set_history): Pass all_commands, not -1, to help_list.
2786 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2787 all_commands, not -1, to help_list.
2788 * symfile.c (overlay_command): Pass all_commands, not -1, to
2789 help_list.
2790 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2791 help_list.
2792 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2793 help_list.
2794 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2795 -1, to help_list.
2796 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2797 not -1, to help_list.
2798 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2799 not -1, to help_list.
2800 * maint.c (maintenance_command, maintenance_info_command)
2801 (maintenance_print_command, maintenance_set_cmd): Pass
2802 all_commands, not -1, to help_list.
2803 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2804 help_list.
2805 * language.c (set_check): Pass all_commands, not -1, to help_list.
2806 * infcmd.c (unset_command): Pass all_commands, not -1, to
2807 help_list.
2808 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2809 help_list.
2810 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2811 help_list.
2812 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2813 help_list.
2814 * breakpoint.c (save_command): Pass all_commands, not -1, to
2815 help_list.
2816 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2817 all_commands, not -1, to help_list.
2818
2819 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2820
2821 * regcache.c (struct register_to_invalidate): New structure.
2822 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2823 functions.
2824 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2825
2826 2014-06-12 Yao Qi <yao@codesourcery.com>
2827
2828 * varobj.c (varobj_get_num_children): Call
2829 varobj_is_dynamic_p.
2830 (varobj_list_children): Likewise.
2831 (varobj_update): Likewise. Update comments.
2832
2833 2014-06-12 Yao Qi <yao@codesourcery.com>
2834
2835 * varobj.c (varobj_pretty_printed_p): Rename to ...
2836 (varobj_is_dynamic_p): ... this. New function.
2837 * varobj.h (varobj_pretty_printed_p): Remove declaration.
2838 (varobj_is_dynamic_p): Declare.
2839 * mi/mi-cmd-var.c (print_varobj): All callers updated.
2840 (mi_print_value_p, varobj_update_one): Likewise.
2841
2842 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2843 Yao Qi <yao@codesourcery.com>
2844
2845 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
2846 (varobj_get_iterator): Wrap up code for pretty-printer by
2847 "#if HAVE_PYTHON" and "#endif".
2848 (update_dynamic_varobj_children): Likewise.
2849
2850 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2851 Yao Qi <yao@codesourcery.com>
2852
2853 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
2854 gdb_python_initialized is false. Move some code from varobj.c.
2855 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
2856 * varobj.c: Move "varobj-iter.h" inclusion earlier.
2857 (struct varobj_item): Moved to varobj-iter.h".
2858 (varobj_clear_saved_item): New function.
2859 (update_dynamic_varobj_children): Move python-related code to
2860 py-varobj.c.
2861 (free_variable): Call varobj_clear_saved_item and
2862 varobj_iter_delete.
2863
2864 2014-06-12 Pedro Alves <pedro@codesourcery.com>
2865 Yao Qi <yao@codesourcery.com>
2866
2867 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
2868 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
2869 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
2870 (py-varobj.o): New rule.
2871 * python/py-varobj.c: New file.
2872 * python/python-internal.h (py_varobj_get_iterator): Declare.
2873 * varobj-iter.h: New file.
2874 * varobj.c: Include "varobj-iter.h"
2875 (struct varobj) <child_iter>: Change its type from "PyObject *"
2876 to "struct varobj_iter *".
2877 <saved_item>: Likewise.
2878 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
2879 [HAVE_PYTHON] (varobj_get_iterator): New function.
2880 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
2881 python-specific code to python/py-varobj.c.
2882 (install_visualizer): Call varobj_iter_delete instead of
2883 Py_XDECREF.
2884 * varobj.h (varobj_ensure_python_env): Declare.
2885
2886 2014-06-12 Yao Qi <yao@codesourcery.com>
2887
2888 * varobj.c (struct varobj_item): New structure.
2889 (create_child_with_value): Update declaration.
2890 (varobj_add_child): Replace arguments 'name' and 'value' with
2891 'item'. All callers updated.
2892 (install_dynamic_child): Likewise.
2893 (update_dynamic_varobj_children): Likewise.
2894 (varobj_add_child): Likewise.
2895 (create_child_with_value): Likewise.
2896
2897 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2898
2899 * NEWS: Create a new section for the next release branch.
2900 Rename the section of the current branch, now that it has
2901 been cut.
2902
2903 2014-06-11 Joel Brobecker <brobecker@adacore.com>
2904
2905 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
2906 * version.in: Bump version to 7.8.50.DATE-cvs.
2907
2908 2014-06-11 Pedro Alves <palves@redhat.com>
2909
2910 PR remote/17028
2911 * ser-mingw.c (net_windows_socket_check_pending): New function.
2912 (net_windows_select_thread): Ignore spurious wakeups. Use
2913 net_windows_socket_check_pending.
2914 (net_windows_wait_handle): Check for pending events with
2915 ioctlsocket, through net_windows_socket_check_pending, instead of
2916 checking the socket's event.
2917
2918 2014-06-10 Siva Chandra Reddy <sivachandra@google.com>
2919
2920 * python/python-internal.h (gdb_PyObject_GetAttrString)
2921 (gdb_PyObject_HasAttrString): New inline function definitions.
2922 * py-value.c (get_field_flag): Remove the now unnecessary cast to
2923 char * of the second argument to PyObject_GetAttrString.
2924
2925 2014-06-10 Joel Brobecker <brobecker@adacore.com>
2926
2927 * serial.c (serial_write): Fix index of character to be printed
2928 in call to serial_logchar when serial debug traces are enabled.
2929
2930 2014-06-10 Joel Brobecker <brobecker@adacore.com>
2931
2932 * gdbtypes (resolve_dynamic_range): Add function description.
2933
2934 2014-06-09 Pedro Alves <palves@redhat.com>
2935
2936 * linux-nat.c (linux_child_follow_fork): Initialize status with
2937 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
2938 inner block. Only pass the signal to PTRACE_DETACH if in pass
2939 state.
2940
2941 2014-06-09 Gary Benson <gbenson@redhat.com>
2942
2943 * common/signals.c (gdb_signal_from_host): Reorder to separate
2944 the always-available ANSI-standard signals from the signals that
2945 require checking.
2946 (do_gdb_signal_to_host): Likewise.
2947 * proc-events.c (signal_table): Likewise.
2948
2949 2014-06-08 Hui Zhu <hui@codesourcery.com>
2950
2951 * common/linux-ptrace.c (linux_disable_event_reporting): New
2952 function.
2953 * common/linux-ptrace.h (linux_disable_event_reporting): New
2954 declaration.
2955 * linux-nat.c (linux_child_follow_fork): Do a single step before
2956 detach.
2957
2958 2014-06-07 Keith Seitz <keiths@redhat.com>
2959
2960 Revert:
2961 PR c++/16253
2962 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
2963 from symbol_matches_domain in symtab.c. All local callers
2964 of symbol_matches_domain updated.
2965 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
2966 search STRUCT_DOMAIN.
2967 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
2968 independently. standard_lookup will do that automatically.
2969 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
2970 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2971 (cp_lookup_symbol_in_namespace): Likewise.
2972 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
2973 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
2974 may return a STRUCT_DOMAIN match.
2975 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
2976 * cp-support.c: Include language.h.
2977 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
2978 VAR_DOMAIN.
2979 * psymtab.c (match_partial_symbol): Compare the requested
2980 domain with the symbol's domain directly.
2981 (lookup_partial_symbol): Likewise.
2982 * symtab.c (lookup_symbol_in_language): Explain when/why
2983 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2984 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
2985 appropriate languages.
2986 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
2987 and moved to ada-lang.c
2988 (lookup_block_symbol): Explain that this function only returns
2989 symbol matching the requested DOMAIN.
2990 Compare the requested domain with the symbol's domain directly.
2991 (iterate_over_symbols): Compare the requested domain with the
2992 symbol's domain directly.
2993 * symtab.h (symbol_matches_domain): Remove.
2994
2995 2014-06-06 Doug Evans <xdje42@gmail.com>
2996
2997 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
2998 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
2999 (gdbscm_guile_version_is_at_least): Declare.
3000 (gdbscm_scm_string_to_int): Declare.
3001 * guile/guile.c (gdbscm_guile_major_version): New global.
3002 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3003 (guile_datadir): New static global.
3004 (gdbscm_guile_data_directory): New function.
3005 (initialize_scheme_side): Update.
3006 (misc_guile_functions): Add guile-data-directory.
3007 (initialize_gdb_module): Fetch guile version number.
3008 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3009 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3010 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3011 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3012 comments.
3013 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3014 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3015 * guile/scm-value.c (gdbscm_value_to_string): Only call
3016 scm_port_conversion_strategy if Guile version >= 2.0.6.
3017
3018 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3019
3020 * main.c (print_gdb_help): Add -q and --silent.
3021
3022 2014-06-06 Gary Benson <gbenson@redhat.com>
3023
3024 * common/signals.c: Remove preprocessor conditionals for
3025 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3026 SIGSEGV and SIGTERM.
3027 * proc-events.c: Likewise.
3028
3029 2014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3030
3031 * symfile.c (symfile_free_objfile): Remove restriction to
3032 OBJF_USERLOADED.
3033 * symfile-mem.c (symbol_file_add_from_memory): Call
3034 add_target_sections_of_objfile.
3035
3036 2014-06-05 Ludovic Courtès <ludo@gnu.org>
3037
3038 * guile/scm-value.c (gdbscm_history_append_x): Use
3039 'vlscm_get_value_smob_arg_unsafe' instead of
3040 'vlscm_scm_to_value'.
3041
3042 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3043
3044 PR mi/15806
3045 * utils.c (printchar): Don't escape at all if quoter is NUL.
3046 Update function documentation to clarify effect of parameter
3047 QUOTER.
3048 * remote.c (escape_buffer): Pass '\\' as the quoter to
3049 fputstrn_unfiltered.
3050 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3051 generate the output.
3052 (mi_solib_unloaded): Same.
3053
3054 2014-06-05 Joel Brobecker <brobecker@adacore.com>
3055
3056 * development.sh: Delete.
3057 * Makefile.in (config.status): Adjust dependency on development.sh.
3058 * configure.ac: Adjust development.sh source call.
3059 * configure: Regenerate.
3060
3061 2014-06-04 Doug Evans <xdje42@gmail.com>
3062
3063 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3064 is_scheme_bkpt, spec.
3065 (bpscm_make_breakpoint_smob): Initialize new members.
3066 (gdbscm_create_breakpoint_x): Split into two ...
3067 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3068 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3069 (scheme_function breakpoint_functions): Update.
3070 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3071 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3072 register-breakpoint!.
3073
3074 2014-06-04 Joel Brobecker <brobecker@adacorer.com>
3075
3076 PR server/17023
3077 * mem-break.c (z_type_supported): Return zero if
3078 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3079
3080 2014-06-04 Tom Tromey <tromey@redhat.com>
3081
3082 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3083 value_from_contents_and_address_unresolved.
3084 (ada_template_to_fixed_record_type_1): Likewise.
3085 (ada_which_variant_applies): Likewise.
3086 * value.h (value_from_contents_and_address_unresolved): Declare.
3087 * value.c (value_from_contents_and_address_unresolved): New
3088 function.
3089 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3090 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3091 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3092
3093 2014-06-04 Tom Tromey <tromey@redhat.com>
3094
3095 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3096
3097 2014-06-04 Tom Tromey <tromey@redhat.com>
3098
3099 * procfs.c (procfs_attach): Make "args" const.
3100 * windows-nat.c (windows_attach): Make "args" const.
3101 * nto-procfs.c (procfs_attach): Make "args" const.
3102 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3103 * go32-nat.c (go32_attach): Make "args" const.
3104 * gnu-nat.c (gnu_attach): Make "args" const.
3105 * darwin-nat.c (darwin_attach): Make "args" const.
3106 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3107 * linux-nat.c (linux_nat_attach): Make "args" const.
3108 * remote.c (extended_remote_attach_1, extended_remote_attach):
3109 Make "args" const.
3110 * target.h (struct target_ops) <to_attach>: Make "args" const.
3111 (find_default_attach): Likewise.
3112 * utils.c (parse_pid_to_attach): Make "args" const.
3113 * utils.h (parse_pid_to_attach): Update.
3114
3115 2014-06-04 Tom Tromey <tromey@redhat.com>
3116
3117 * target-delegates.c: Rebuild.
3118 * target.c (default_thread_address_space): New function.
3119 (target_thread_address_space): Simplify.
3120 * target.h (struct target_ops) <to_thread_address_space>: Add
3121 TARGET_DEFAULT_FUNC.
3122
3123 2014-06-04 Doug Evans <xdje42@gmail.com>
3124
3125 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3126
3127 2014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3128
3129 * record-btrace.c: Include event-loop.h and inf-loop.h.
3130 (record_btrace_resume_exec_dir)
3131 (record_btrace_async_inferior_event_handler)
3132 (record_btrace_handle_async_inferior_event): New.
3133 (record_btrace_open): Create async event handler.
3134 (record_btrace_close): Delete async event handler.
3135 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3136 Mark async event handler.
3137 (record_btrace_execution_direction): New.
3138 (init_record_btrace_ops): Initialize to_execution_direction.
3139
3140 2014-06-03 Doug Evans <xdje42@gmail.com>
3141
3142 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3143 (gdbscm_make_parameter): Ditto.
3144
3145 2014-06-03 Doug Evans <dje@google.com>
3146
3147 * exec.c (exec_close_1): Call clear_section_table instead of
3148 resize_section_table.
3149 (clear_section_table): New function.
3150 (resize_section_table): Make static. Rename arg num_added to
3151 adjustment.
3152 * exec.h (clear_section_table): Declare.
3153 (resize_section_table): Delete.
3154 * progspace.c (release_program_space): Call clear_section_table
3155 instead of resize_section_table.
3156
3157 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3158
3159 * NEWS (Python Scripting): Add entry about the new xmethods
3160 feature.
3161
3162 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3163
3164 * python/py-xmethods.c: New file.
3165 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3166 (objfpy_dealloc): XDECREF on the new xmethods field.
3167 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3168 field.
3169 (objfpy_get_xmethods): New function.
3170 (objfile_getset): New entry 'xmethods'.
3171 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3172 (pspy_dealloc): XDECREF on the new xmethods field.
3173 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3174 field.
3175 (pspy_get_xmethods): New function.
3176 (pspace_getset): New entry 'xmethods'.
3177 * python/python-internal.h: Add declarations for new functions.
3178 * python/python.c (_initialize_python): Invoke
3179 gdbpy_initialize_xmethods.
3180 * python/lib/gdb/__init__.py (xmethods): New
3181 attribute.
3182 * python/lib/gdb/xmethod.py: New file.
3183 * python/lib/gdb/command/xmethods.py: New file.
3184
3185 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3186
3187 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3188 best match method returned by find_overload_match is an xmethod.
3189 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3190 the best matching operator returned by find_overload_match is an
3191 xmethod.
3192 * valops.c: #include "extension.h".
3193 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3194 Return void. The list of matching source methods is returned in
3195 "fn_list" and a vector of matching debug method workers is
3196 returned in "xm_worker_vec". Update all callers.
3197 (value_find_oload_method_list): Likewise.
3198 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3199 non-NULL, then the index of the best matching method in this
3200 vector is returned. Update all callers.
3201 (find_overload_match): Include xmethods while performing overload
3202 resolution.
3203
3204 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3205
3206 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3207 * extension-priv.h (struct extension_language_ops): Add the
3208 xmethod interface.
3209 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3210 get_matching_xmethod_workers, get_xmethod_argtypes,
3211 invoke_xmethod, free_xmethod_worker,
3212 free_xmethod_worker_vec): New functions.
3213 * extension.h: #include "common/vec.h".
3214 New function declarations.
3215 (struct xmethod_worker): New struct.
3216 (VEC (xmethod_worker_ptr)): New vector type.
3217 (xmethod_worker_ptr): New typedef.
3218 (xmethod_worker_vec): Likewise.
3219 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3220 builtin_type.
3221 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3222 (struct builtin_type): New field "xmethod".
3223 * valarith.c (value_ptradd): Assert that the value argument is not
3224 lval_xcallable.
3225 * valops.c (value_must_coerce_to_target): Return 0 for
3226 lval_xcallable values.
3227 * value.c (struct value): New field XM_WORKER in the field
3228 LOCATION.
3229 (value_address, value_raw_address): Return 0 for lval_xcallable
3230 values.
3231 (set_value_address): Assert that the value is not an
3232 lval_xcallable.
3233 (value_free): Free the associated xmethod worker when freeing
3234 lval_xcallable values.
3235 (set_value_component_location): Assert that the WHOLE value is not
3236 lval_xcallable.
3237 (value_of_xmethod, call_xmethod): New functions.
3238 * value.h: Declare "struct xmethod_worker".
3239 Declare new functions value_of_xmethod, call_xmethod.
3240
3241 2014-06-03 Joel Brobecker <brobecker@adacore.com>
3242 Pedro Alves <palves@redhat.com>
3243
3244 PR breakpoints/17000
3245 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3246 New function, extracted from software_breakpoint_inserted_here_p.
3247 (software_breakpoint_inserted_here_p): Replace factored out code
3248 by call to find_non_raw_software_breakpoint_inserted_here.
3249 (bp_target_info_copy_insertion_state): New function.
3250 (bkpt_insert_location): Handle the case of a single-step
3251 breakpoint already inserted at the same address.
3252 (bkpt_remove_location): Handle the case of a single-step
3253 breakpoint still inserted at the same address.
3254 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3255 breakpoint already inserted at the same address.
3256 (deprecated_remove_raw_breakpoint): Handle the case of a
3257 non-raw breakpoint still inserted at the same address.
3258 (find_single_step_breakpoint): New function, extracted from
3259 single_step_breakpoint_inserted_here_p.
3260 (find_single_step_breakpoint): New function,
3261 factored out from single_step_breakpoint_inserted_here_p.
3262 (single_step_breakpoint_inserted_here_p): Reimplement.
3263
3264 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3265
3266 Pushed by Joel Brobecker <brobecker@adacore.com>
3267 * source.c (show_substitute_path_command): Fix display of matching
3268 substitution rules.
3269
3270 2014-06-03 Gary Benson <gbenson@redhat.com>
3271
3272 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3273
3274 2014-06-02 Doug Evans <xdje42@gmail.com>
3275
3276 Add parameter support for Guile.
3277 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3278 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3279 (scm-param.o): New rule.
3280 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3281 (gdbscm_misc_error): Declare.
3282 (gdbscm_canonicalize_command_name): Declare.
3283 (gdbscm_scm_to_host_string): Declare.
3284 (gdbscm_scm_from_host_string): Declare.
3285 (gdbscm_initialize_parameters): Declare.
3286 * guile/guile.c (initialize_gdb_module): Call
3287 gdbscm_initialize_parameters.
3288 * guile/lib/gdb.scm: Export parameter symbols.
3289 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3290 cmdscm_canonicalize_name and made public. All callers updated.
3291 * guile/scm-exception.c (gdbscm_misc_error): New function.
3292 * guile/scm-param.c: New file.
3293 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3294 (gdbscm_scm_to_host_string): New function.
3295 (gdbscm_scm_from_host_string): New function.
3296 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3297
3298 2014-06-02 Doug Evans <xdje42@gmail.com>
3299
3300 Add command support for Guile.
3301 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3302 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3303 (scm-cmd.o): New rule.
3304 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3305 (gdbscm_user_error_p): Declare.
3306 (gdbscm_parse_command_name): Declare.
3307 (gdbscm_valid_command_class_p): Declare.
3308 (gdbscm_initialize_commands): Declare.
3309 * guile/guile.c (initialize_gdb_module): Call
3310 gdbscm_initialize_commands.
3311 * guile/lib/gdb.scm: Export command symbols.
3312 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3313 (throw-user-error): New function.
3314 * guile/scm-cmd.c: New file.
3315 * guile/scm-exception.c (user_error_symbol): New static global.
3316 (gdbscm_user_error_p): New function.
3317 (gdbscm_initialize_exceptions): Set user_error_symbol.
3318 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3319
3320 2014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3321
3322 * top.c (command_loop): Handle comments here...
3323 (command_line_input): ... not here.
3324
3325 2014-06-02 Doug Evans <xdje42@gmail.com>
3326
3327 Add progspace support for Guile.
3328 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3329 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3330 (scm-progspace.o): New rule.
3331 * guile/guile-internal.h (pspace_smob): New typedef.
3332 (psscm_pspace_smob_pretty_printers): Declare.
3333 (psscm_pspace_smob_from_pspace): Declare.
3334 (psscm_scm_from_pspace): Declare.
3335 * guile/guile.c (initialize_gdb_module): Call
3336 gdbscm_initialize_pspaces.
3337 * guile/lib/gdb.scm: Export progspace symbols.
3338 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3339 support.
3340 (append-pretty-printer!): Ditto.
3341 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3342 Implement.
3343 * guile/scm-progspace.c: New file.
3344
3345 2014-06-03 Alan Modra <amodra@gmail.com>
3346
3347 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3348 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3349
3350 2014-06-02 Doug Evans <dje@google.com>
3351
3352 Add support for skeletonless type units.
3353 * dwarf2read.c (struct dwarf2_per_objfile): New member
3354 n_allocated_type_units.
3355 (struct dwarf2_per_objfile) <tu_stats>: New member
3356 nr_all_type_units_reallocs.
3357 (create_signatured_type_table_from_index): Initialize
3358 n_allocated_type_units
3359 (create_all_type_units): Ditto.
3360 (add_type_unit): Move up in file. New arg slot.
3361 All callers updated. Increase space for all_type_units more
3362 efficiently.
3363 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3364 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3365 (lookup_dwp_signatured_type): Ditto.
3366 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3367 All callers updated.
3368 (build_type_psymtabs_1): Leave type_unit_groups as
3369 NULL if no TUs present.
3370 (print_tu_stats): New function.
3371 (process_skeletonless_type_unit): New function.
3372 (process_dwo_file_for_skeletonless_type_units): New
3373 function.
3374 (process_skeletonless_type_units): New function.
3375 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3376 Call print tu_stats if debugging enabled.
3377
3378 2014-06-02 Pedro Alves <palves@redhat.com>
3379
3380 * breakpoint.c (build_target_command_list): Don't build a command
3381 list if we have any duplicate location that isn't a dprintf.
3382
3383 2014-06-02 Pedro Alves <palves@redhat.com>
3384
3385 * breakpoint.c (dprintf_breakpoint_hit): New function.
3386 (initialize_breakpoint_ops): Install it as dprintf's
3387 breakpoint_hit method.
3388
3389 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3390
3391 * source.c (substitute_path_rule_matches): Simplify using
3392 filename_ncmp instead of FILENAME_CMP.
3393
3394 2014-06-02 Joel Brobecker <brobecker@adacore.com>
3395
3396 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3397
3398 2014-06-01 Ludovic Courtès <ludo@gnu.org>
3399
3400 * configure.ac: When Guile is available, check for the
3401 availability of 'scm_new_smob'.
3402 * configure, config.h.in: Regenerate.
3403 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3404 function.
3405
3406 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3407
3408 * frame.c (struct frame_info): Add stop_string field.
3409 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3410 (get_prev_frame_always): Old content moved into
3411 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3412 TRY_CATCH, handle MEMORY_ERROR exceptions.
3413 (frame_stop_reason_string): New function definition.
3414 * frame.h (unwind_stop_reason_to_string): Extend comment to
3415 mention frame_stop_reason_string.
3416 (frame_stop_reason_string): New function declaration.
3417 * stack.c (frame_info): Switch to frame_stop_reason_string.
3418 (backtrace_command_1): Switch to frame_stop_reason_string.
3419 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3420 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3421 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3422
3423 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3424
3425 * frame.c (frame_stop_reason_string): Rename to ...
3426 (unwind_stop_reason_to_string): this.
3427 * frame.h (frame_stop_reason_string): Rename to ...
3428 (unwind_stop_reason_to_string): this.
3429 * stack.c (frame_info): Update call to frame_stop_reason_string.
3430 (backtrace_command_1): Likewise.
3431 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3432 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3433
3434 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
3435
3436 * frame.c (remove_prev_frame): New function.
3437 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3438 remove_prev_frame.
3439
3440 2014-05-29 Pedro Alves <palves@redhat.com>
3441
3442 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3443 and make it const. When a single-step decays to a continue,
3444 clear 'step', not 'hw_step'. Pass whether the caller wanted
3445 to step to user_visible_resume_ptid, not what we ask the
3446 target to do.
3447
3448 2014-05-29 Pedro Alves <palves@redhat.com>
3449
3450 * infrun.c (process_event_stop_test, handle_step_into_function)
3451 (handle_step_into_function_backward): Adjust.
3452 Don't set the even thread's stop_step and call stop_waiting before
3453 calling end_stepping_range. Instead do that ...
3454 (end_stepping_range): ... here. Take an ecs pointer parameter.
3455
3456 2014-05-29 Pedro Alves <palves@redhat.com>
3457
3458 * infrun.c (stop_stepping): Rename to ...
3459 (stop_waiting): ... this.
3460 (proceed): Update comment.
3461 (process_event_stop_test, handle_inferior_event)
3462 (handle_signal_stop, handle_step_into_function)
3463 (handle_step_into_function_backward): Update.
3464
3465 2014-05-29 Pedro Alves <palves@redhat.com>
3466
3467 * infcall.c (run_inferior_call): Don't check whether the current
3468 thread is running after the proceed call.
3469
3470 2014-05-29 Pedro Alves <palves@redhat.com>
3471 Tom Tromey <tromey@redhat.com>
3472
3473 * NEWS: Mention "maint set target-async", "set mi-async", and that
3474 background execution commands are now always available.
3475 * target.h (target_async_permitted): Update comment.
3476 * target.c (target_async_permitted, target_async_permitted_1):
3477 Default to 1.
3478 (set_target_async_command): Rename to ...
3479 (maint_set_target_async_command): ... this.
3480 (show_target_async_command): Rename to ...
3481 (maint_show_target_async_command): ... this.
3482 (_initialize_target): Adjust.
3483 * infcmd.c (prepare_execution_command): Make extern.
3484 * inferior.h (prepare_execution_command): Declare.
3485 * infrun.c (set_observer_mode): Leave target async alone.
3486 * mi/mi-interp.c (mi_interpreter_init): Install
3487 mi_on_sync_execution_done as sync_execution_done observer.
3488 (mi_on_sync_execution_done): New function.
3489 (mi_execute_command_input_handler): Don't print the prompt if we
3490 just started a synchronous command with an async target.
3491 (mi_on_resume): Check sync_execution before printing prompt.
3492 * mi/mi-main.h (mi_async_p): Declare.
3493 * mi/mi-main.c: Include gdbcmd.h.
3494 (mi_async_p): New function.
3495 (mi_async, mi_async_1): New globals.
3496 (set_mi_async_command, show_mi_async_command, mi_async): New
3497 functions.
3498 (exec_continue): Call prepare_execution_command.
3499 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3500 (mi_execute_async_cli_command): Use mi_async_p.
3501 (_initialize_mi_main): Install "set mi-async". Make
3502 "target-async" a deprecated alias.
3503
3504 2014-05-29 Pedro Alves <palves@redhat.com>
3505
3506 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3507 (_initialize_cli_interp): Adjust.
3508 * event-loop.c: Include "observer.h".
3509 (start_event_loop): Notify 'command_error' observers instead of
3510 calling display_gdb_prompt. Remove FIXME comment.
3511 * event-top.c (display_gdb_prompt): Remove call into the
3512 interpreters.
3513 * inf-loop.c: Include "observer.h".
3514 (inferior_event_handler): Notify 'command_error' observers instead
3515 of calling display_gdb_prompt.
3516 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3517 observers instead of calling display_gdb_prompt.
3518 * interps.c (interp_set): Don't call display_gdb_prompt.
3519 (current_interp_display_prompt_p): Delete.
3520 * interps.h (interp_prompt_p): Delete declaration.
3521 (interp_prompt_p_ftype): Delete.
3522 (struct interp_procs) <prompt_proc_p>: Delete field.
3523 (current_interp_display_prompt_p): Delete declaration.
3524 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3525 (_initialize_mi_interp): Adjust.
3526 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3527 'command_error' observers.
3528 (tui_on_sync_execution_done, tui_on_command_error): New
3529 functions.
3530 (tui_display_prompt_p): Delete.
3531 (_initialize_tui_interp): Adjust.
3532
3533 2014-05-29 Pedro Alves <palves@redhat.com>
3534
3535 PR gdb/13860
3536 * cli/cli-interp.c: Include infrun.h and observer.h.
3537 (cli_uiout, cli_interp): New globals.
3538 (cli_on_signal_received, cli_on_end_stepping_range)
3539 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3540 functions.
3541 (cli_interpreter_init): Install them as 'end_stepping_range',
3542 'signal_received' 'signal_exited', 'exited' and 'no_history'
3543 observers.
3544 (_initialize_cli_interp): Remove cli_interp local.
3545 * infrun.c (handle_inferior_event): Call the several stop reason
3546 observers instead of printing the stop reason directly.
3547 (end_stepping_range): New function.
3548 (print_end_stepping_range_reason, print_signal_exited_reason)
3549 (print_exited_reason, print_signal_received_reason)
3550 (print_no_history_reason): Make static, and add an uiout
3551 parameter. Print to that instead of to CURRENT_UIOUT.
3552 * infrun.h (print_end_stepping_range_reason)
3553 (print_signal_exited_reason, print_exited_reason)
3554 (print_signal_received_reason print_no_history_reason): New
3555 declarations.
3556 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3557 'mi_uiout'.
3558 <cli_uiout>: New field.
3559 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3560 uiout for CLI output. Install 'signal_received',
3561 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3562 observers.
3563 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3564 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3565 (mi_on_no_history): New functions.
3566 (ui_out_free_cleanup): Delete function.
3567 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3568 instead use the one already stored in the MI interpreter data.
3569 (mi_ui_out): Adjust.
3570 * tui/tui-interp.c: Include infrun.h and observer.h.
3571 (tui_interp): New global.
3572 (tui_on_signal_received, tui_on_end_stepping_range)
3573 (tui_on_signal_exited, tui_on_exited)
3574 (tui_on_no_history): New functions.
3575 (tui_init): Install them as 'end_stepping_range',
3576 'signal_received' 'signal_exited', 'exited' and 'no_history'
3577 observers.
3578 (_initialize_tui_interp): Delete tui_interp local.
3579
3580 2014-05-29 Pedro Alves <palves@redhat.com>
3581
3582 PR gdb/15713
3583 * linux-nat.c (linux_nat_resume_callback): Rename the second
3584 parameter to 'except'. Skip LP if it points to EXCEPT.
3585 (linux_nat_resume): Don't mark the event lwp as not stopped
3586 before resuming sibling lwps. Instead ask
3587 linux_nat_resume_callback to skip the event lwp. Mark it as not
3588 stopped after actually resuming it.
3589 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3590 resuming it.
3591 (wait_lwp): Mark the lwp as stopped here.
3592 (stop_wait_callback): Mark the lwp as not stopped right after
3593 resuming it. Don't mark lwps as stopped here.
3594 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3595 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3596
3597 2014-05-29 Pedro Alves <palves@redhat.com>
3598
3599 PR PR15693
3600 * infrun.c (resume): Determine how much to resume depending on
3601 whether the caller wanted a step, not whether we can hardware step
3602 the target. Mark all threads that we intend to run as running,
3603 unless we're calling an inferior function.
3604 (normal_stop): If the thread is running an infcall, don't finish
3605 thread state.
3606 * target.c (target_resume): Don't mark threads as running here.
3607
3608 2014-05-28 Joel Brobecker <brobecker@adacore.com>
3609
3610 * serial.c (_initialize_serial): Remove support for
3611 the "set remotebaud" and "show remotebaud" commands.
3612 * NEWS: Add entry documenting the removal of that command.
3613
3614 2014-05-28 Yao Qi <yao@codesourcery.com>
3615
3616 * charset.c: Fix typo in comments.
3617
3618 2014-05-27 Gary Benson <gbenson@redhat.com>
3619
3620 * utils.c (internal_vproblem): Prompt for a bug report.
3621
3622 2014-05-26 Andy Wingo <wingo@igalia.com>
3623
3624 * guile/scm-arch.c (arscm_mark_arch_smob):
3625 * guile/scm-block.c (bkscm_mark_block_smob)
3626 (bkscm_mark_block_syms_progress_smob):
3627 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3628 * guile/scm-exception.c (exscm_mark_exception_smob):
3629 * guile/scm-frame.c (frscm_mark_frame_smob):
3630 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3631 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3632 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3633 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3634 (ppscm_mark_pretty_printer_worker_smob):
3635 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3636 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3637 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3638 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3639 mark functions.
3640 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3641 function.
3642
3643 2014-05-26 Andy Wingo <wingo@igalia.com>
3644 Doug Evans <xdje42@gmail.com>
3645
3646 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3647 empty_base_class. All uses updated.
3648 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3649 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3650 Adapt all callers.
3651 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3652 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3653 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3654 (gdbscm_gsmob_has_property_p, add_property_name)
3655 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3656 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3657 (gdb-object-has-property?, gdb-object-properties): Remove.
3658 (gdb-object-kind): Renamed from gsmob-kind.
3659
3660 2014-05-26 Andy Wingo <wingo@igalia.com>
3661
3662 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3663 * configure: Regenerate.
3664
3665 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3666
3667 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3668
3669 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3670
3671 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3672 (replay_memory_access_read_only, replay_memory_access_read_write)
3673 (replay_memory_access_types, replay_memory_access)
3674 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3675 (cmd_set_record_btrace, cmd_show_record_btrace)
3676 (cmd_show_replay_memory_access): New.
3677 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3678 (record_btrace_remove_breakpoint): Replace
3679 record_btrace_allow_memory_access with replay_memory_access.
3680 (_initialize_record_btrace): Add commands.
3681 * NEWS: Announce it.
3682
3683 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3684
3685 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3686
3687 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3688
3689 * MAINTAINERS (Write After Approval): Move self back from
3690 paper trail.
3691
3692 2014-05-22 Pedro Alves <palves@redhat.com>
3693
3694 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3695 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3696 (disable_randomization, enum exec_direction_kind)
3697 (execution_direction, stop_registers, start_remote)
3698 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3699 (wait_for_inferior, normal_stop, get_last_target_status)
3700 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3701 (insert_step_resume_breakpoint_at_sal)
3702 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3703 (set_step_info, print_stop_event, signal_stop_state)
3704 (signal_print_state, signal_pass_state, signal_stop_update)
3705 (signal_print_update, signal_pass_update)
3706 (update_signals_program_target, clear_exit_convenience_vars)
3707 (displaced_step_dump_bytes, update_observer_mode)
3708 (signal_catch_update, gdb_signal_from_command): Move
3709 declarations ...
3710 * infrun.h: ... to this new file.
3711 * amd64-tdep.c: Include infrun.h.
3712 * annotate.c: Include infrun.h.
3713 * arch-utils.c: Include infrun.h.
3714 * arm-linux-tdep.c: Include infrun.h.
3715 * arm-tdep.c: Include infrun.h.
3716 * break-catch-sig.c: Include infrun.h.
3717 * breakpoint.c: Include infrun.h.
3718 * common/agent.c: Include infrun.h instead of inferior.h.
3719 * corelow.c: Include infrun.h.
3720 * event-top.c: Include infrun.h.
3721 * go32-nat.c: Include infrun.h.
3722 * i386-tdep.c: Include infrun.h.
3723 * inf-loop.c: Include infrun.h.
3724 * infcall.c: Include infrun.h.
3725 * infcmd.c: Include infrun.h.
3726 * infrun.c: Include infrun.h.
3727 * linux-fork.c: Include infrun.h.
3728 * linux-nat.c: Include infrun.h.
3729 * linux-thread-db.c: Include infrun.h.
3730 * monitor.c: Include infrun.h.
3731 * nto-tdep.c: Include infrun.h.
3732 * procfs.c: Include infrun.h.
3733 * record-btrace.c: Include infrun.h.
3734 * record-full.c: Include infrun.h.
3735 * remote-m32r-sdi.c: Include infrun.h.
3736 * remote-mips.c: Include infrun.h.
3737 * remote-notif.c: Include infrun.h.
3738 * remote-sim.c: Include infrun.h.
3739 * remote.c: Include infrun.h.
3740 * reverse.c: Include infrun.h.
3741 * rs6000-tdep.c: Include infrun.h.
3742 * s390-linux-tdep.c: Include infrun.h.
3743 * solib-irix.c: Include infrun.h.
3744 * solib-osf.c: Include infrun.h.
3745 * solib-svr4.c: Include infrun.h.
3746 * target.c: Include infrun.h.
3747 * top.c: Include infrun.h.
3748 * windows-nat.c: Include infrun.h.
3749 * mi/mi-interp.c: Include infrun.h.
3750 * mi/mi-main.c: Include infrun.h.
3751 * python/py-threadevent.c: Include infrun.h.
3752
3753 2014-05-22 Pedro Alves <palves@redhat.com>
3754
3755 * infrun.c (handle_inferior_event): Store the exit code for
3756 --return-child-result here, instead of ...
3757 (print_exited_reason): ... here.
3758
3759 2014-05-21 Pedro Alves <palves@redhat.com>
3760
3761 PR gdb/13860
3762 * gdbthread.h (struct thread_control_state): New field
3763 `command_interp'.
3764 * infrun.c (follow_fork): Copy the new thread control field to the
3765 child fork thread.
3766 (clear_proceed_status_thread): Clear the new thread control field.
3767 (proceed): Set the new thread control field.
3768 * interps.h (command_interp): Declare.
3769 * interps.c (command_interpreter): New global.
3770 (command_interp): New function.
3771 (interp_exec): Set `command_interpreter' while here.
3772 * cli-out.c (cli_uiout_dtor): New function.
3773 (cli_ui_out_impl): Install it.
3774 * mi/mi-interp.c: Include cli-out.h.
3775 (mi_cmd_interpreter_exec): Add comment.
3776 (restore_current_uiout_cleanup): New function.
3777 (ui_out_free_cleanup): New function.
3778 (mi_on_normal_stop): If finishing an execution command started by
3779 a CLI command, or any kind of breakpoint-like event triggered,
3780 print the stop event to the output (CLI) stream.
3781 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3782
3783 2014-05-21 Pedro Alves <palves@redhat.com>
3784
3785 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3786 current source line having changed.
3787 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3788 * infrun.c (normal_stop): Adjust call to
3789 set_current_sal_from_frame.
3790 * source.c (clear_lines_listed_range): New function.
3791 (set_current_source_symtab_and_line, identify_source_line): Clear
3792 the lines listed range.
3793 (line_info): Handle the first "info line" after the current source
3794 line having changed.
3795 * stack.c (print_stack_frame): Remove center handling.
3796 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3797 center sal.line.
3798
3799 2014-05-21 Pedro Alves <palves@redhat.com>
3800
3801 * inf-child.c (inf_child_mourn_inferior): New function.
3802 * inf-child.h (inf_child_mourn_inferior): New declaration.
3803 * darwin-nat.c (darwin_mourn_inferior): Use
3804 inf_child_mourn_inferior.
3805 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3806 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3807 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3808 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3809 * windows-nat.c (windows_mourn_inferior): Likewise.
3810
3811 2014-05-21 Doug Evans <xdje42@gmail.com>
3812
3813 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
3814
3815 2014-05-21 Doug Evans <xdje42@gmail.com>
3816
3817 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
3818 (gdbscm_out_of_range_error): Ditto.
3819 (gdbscm_memory_error): Ditto.
3820 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3821 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
3822 (gdbscm_out_of_range_error): Update.
3823 (gdbscm_memory_error): Update.
3824 (gdbscm_scm_to_target_string_unsafe): Delete.
3825
3826 2014-05-21 Pedro Alves <palves@redhat.com>
3827
3828 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3829 globals.
3830 (inf_child_open_target): New function.
3831 (inf_child_open): Use inf_child_open_target to push the target
3832 instead of erroring out.
3833 (inf_child_disconnect, inf_child_close)
3834 (inf_child_maybe_unpush_target): New functions.
3835 (inf_child_target): Install inf_child_disconnect and
3836 inf_child_close. Store a pointer to the returned object.
3837 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
3838 declarations.
3839 * target.c (auto_connect_native_target): New global.
3840 (show_default_run_target): New function.
3841 (find_default_run_target): Return NULL if automatically connecting
3842 to the native target is disabled.
3843 (_initialize_target): Install set/show auto-connect-native-target.
3844 * NEWS: Mention "set auto-connect-native-target", and "target
3845 native".
3846 * linux-nat.c (super_close): New global.
3847 (linux_nat_close): Call super_close.
3848 (linux_nat_add_target): Store a pointer to the base class's
3849 to_close method.
3850 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
3851 inf_child_maybe_unpush.
3852 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
3853 already pushed.
3854 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
3855 the inferior. Use inf_child_maybe_unpush_target.
3856 (inf_ttrace_attach): Don't push the target if it is already
3857 pushed.
3858 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
3859 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
3860 after mourning the inferior. Use inf_child_maybe_unpush_target.
3861 (darwin_attach_pid): Don't push the target if it is already
3862 pushed.
3863 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
3864 mourning the inferior. Use inf_child_maybe_unpush_target.
3865 (gnu_detach): Use inf_child_maybe_unpush_target.
3866 * go32-nat.c (go32_create_inferior): Don't push the target if it
3867 is already pushed.
3868 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
3869 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
3870 (procfs_open): Rename to ...
3871 (procfs_open_1): ... this. Add target_ops parameter. Adjust
3872 comments. Can target_preopen before changing node. Call
3873 inf_child_open_target to push the target explicitly.
3874 (procfs_attach): Don't push the target if it is already pushed.
3875 (procfs_detach): Use inf_child_maybe_unpush_target.
3876 (procfs_create_inferior): Don't push the target if it is already
3877 pushed.
3878 (nto_native_ops): New global.
3879 (procfs_open): Reimplement.
3880 (procfs_native_open): New function.
3881 (init_procfs_targets): Install procfs_native_open as to_open of
3882 "target native". Store a pointer to the "native" target in
3883 nto_native_ops.
3884 * procfs.c (procfs_attach): Don't push the target if it is already
3885 pushed.
3886 (procfs_detach): Use inf_child_maybe_unpush_target.
3887 (procfs_mourn_inferior): Only unpush the target after mourning the
3888 inferior. Use inf_child_maybe_unpush_target.
3889 (procfs_init_inferior): Don't push the target if it is already
3890 pushed.
3891 * windows-nat.c (do_initial_windows_stuff): Don't push the target
3892 if it is already pushed.
3893
3894 2014-05-21 Pedro Alves <palves@redhat.com>
3895
3896 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
3897 and "procfs" targets are now called "native" instead.
3898
3899 2014-05-21 Pedro Alves <palves@redhat.com>
3900
3901 * go32-nat.c (go32_open): Delete.
3902 (go32_target): Don't override the to_open method.
3903
3904 2014-05-21 Pedro Alves <palves@redhat.com>
3905
3906 * nto-procfs.c (procfs_can_run): New function.
3907 (nto_procfs_ops): New global.
3908 (init_procfs_targets): New, based on procfs_target. Install
3909 "target native" in addition to "target procfs".
3910 (_initialize_procfs): Call init_procfs_targets instead of adding
3911 the target here.
3912
3913 2014-05-21 Pedro Alves <palves@redhat.com>
3914
3915 * windows-nat.c (windows_target): Don't override to_shortname,
3916 to_longname or to_doc.
3917
3918 2014-05-21 Pedro Alves <palves@redhat.com>
3919
3920 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
3921 to_doc.
3922
3923 2014-05-21 Pedro Alves <palves@redhat.com>
3924
3925 * darwin-nat.c (_initialize_darwin_inferior): Don't override
3926 to_shortname, to_longname or to_doc.
3927
3928 2014-05-21 Pedro Alves <palves@redhat.com>
3929
3930 * go32-nat.c (go32_target): Don't override to_shortname,
3931 to_longname or to_doc.
3932
3933 2014-05-21 Pedro Alves <palves@redhat.com>
3934
3935 * inf-child.c (inf_child_open): Remove mention of "child".
3936 (inf_child_target): Rename target to "native" instead of "child".
3937
3938 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3939
3940 * Makefile.in (SFILES): Delete "regset.c".
3941 (COMMON_OBS): Delete "regset.o".
3942 * regset.c: Remove.
3943 * regset.h (regset_alloc): Delete prototype.
3944
3945 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3946
3947 * sparc-linux-tdep.c (sparc32_linux_gregset)
3948 (sparc32_linux_fpregset): New static regset structures.
3949 (sparc32_linux_init_abi): Drop dynamic regset allocations.
3950 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
3951 'fpregset' fields.
3952 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
3953 (sparc64_linux_fpregset): New static regset structures.
3954 (sparc64_linux_init_abi): Drop dynamic regset allocations.
3955 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
3956 New static regset structures.
3957 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
3958 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
3959 New static regset structures.
3960 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
3961 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
3962 New static regset structures.
3963 (sparc64obsd_init_abi): Drop dynamic regset allocations.
3964 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
3965 New static regset structures.
3966 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
3967
3968 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3969
3970 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
3971 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
3972 register maps ("regmaps") from "*regset" to "*regmap". Do this
3973 for all regmap types and variables.
3974 * sparc-linux-tdep.c (sparc32_linux_step_trap)
3975 (sparc32_linux_supply_core_gregset)
3976 (sparc32_linux_collect_core_gregset)
3977 (sparc32_linux_supply_core_fpregset)
3978 (sparc32_linux_collect_core_fpregset): Likewise.
3979 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
3980 (sparc_gregmap, sparc_fpregmap): ... these.
3981 (sparc_supply_gregset, sparc_collect_gregset)
3982 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3983 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
3984 (_initialize_sparc_nat): Rename regmaps.
3985 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
3986 (sparc_gregmap, sparc_fpregmap): ... these.
3987 (sparc_supply_gregset, sparc_collect_gregset)
3988 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3989 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
3990 Rename macros to...
3991 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
3992 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
3993 Likewise.
3994 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
3995 Rename to...
3996 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
3997 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
3998 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
3999 regmaps.
4000 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4001 (sparc32_bsd_fpregset): Rename to...
4002 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4003 (sparc32_bsd_fpregmap): ... these.
4004 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4005 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4006 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4007 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4008 (struct sparc_gregmap, struct sparc_fpregmap)
4009 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4010 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4011 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4012 (sparc32_supply_regset, sparc32_collect_gregset)
4013 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4014 prototypes.
4015 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4016 (sparc64_linux_ptrace_gregmap): ... this.
4017 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4018 (_initialize_sparc64_linux_nat): Rename regmaps.
4019 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4020 (sparc64_linux_core_gregmap): ... this.
4021 (sparc64_linux_supply_core_gregset)
4022 (sparc64_linux_collect_core_gregset)
4023 (sparc64_linux_supply_core_fpregset)
4024 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4025 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4026 (sparc64_sol2_fpregset): Rename to...
4027 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4028 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4029 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4030 regmaps.
4031 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4032 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4033 (sparc64_bsd_fpregset): Rename to...
4034 (struct sparc_gregmap, sparc64_sol2_gregmap)
4035 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4036 (sparc64_bsd_fpregmap): ... these.
4037 (sparc64_supply_gregset, sparc64_collect_gregset)
4038 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4039 prototypes.
4040 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4041 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4042 (sparc64fbsd_gregmap): ... this.
4043 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4044 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4045 Rename regmaps.
4046 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4047 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4048 (sparc64nbsd_collect_fpregset): Likewise.
4049 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4050 (sparc64nbsd_gregmap): ... this.
4051 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4052 regmaps.
4053 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4054 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4055 (sparc64obsd_gregmap): ... this.
4056 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4057 regmaps.
4058 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4059 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4060 (sparc32nbsd_gregmap): ... this.
4061 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4062 regmaps.
4063
4064 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4065
4066 * score-tdep.c (score7_linux_gregset): New static regset
4067 structure.
4068 (score7_linux_regset_from_core_section): Remove dynamic regset
4069 allocation.
4070 (score_gdbarch_init): Drop allocation of tdep structure.
4071 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4072
4073 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4074
4075 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4076 regset structures.
4077 (am33_regset_from_core_section): Remove dynamic regset
4078 allocations.
4079
4080 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4081
4082 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4083 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4084 structures.
4085 (mips_linux_regset_from_core_section): Remove dynamic regset
4086 allocations.
4087 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4088 'gregset64', 'fpregset', and 'fpregset64'.
4089 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4090 deleted tdep fields.
4091
4092 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4093
4094 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4095 regset structures.
4096 (amd64_regset_from_core_section): Remove dynamic regset
4097 allocations.
4098 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4099 structure.
4100 (amd64obsd_regset_from_core_section): Remove dynamic regset
4101 allocation.
4102 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4103 Likewise.
4104 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4105 x86-common regset supply function.
4106 * i386-tdep.c (i386_collect_gregset): Make static.
4107 (i386_gregset): New global regset structure.
4108 (i386_fpregset, i386_xstateregset): New static regset structures.
4109 (i386_regset_from_core_section): Remove dynamic regset
4110 allocations.
4111 (i386_gdbarch_init): Remove initialization of tdep fields
4112 'gregset', 'fpregset', and 'xstateregset'.
4113 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4114 'fpregset', and 'xstateregset'.
4115 (i386_collect_gregset): Remove prototype.
4116 (i386_gregset): New declaration.
4117 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4118 structure.
4119 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4120 allocation.
4121
4122 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4123
4124 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4125 (arm_linux_vfpregset): New static regset structures.
4126 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4127 regset structures.
4128 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4129 and 'vfpregset' fields.
4130
4131 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4132
4133 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4134 (aarch64_linux_fpregset): New static regset structures.
4135 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4136 of regset structures.
4137 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4138 'fpregset' fields.
4139
4140 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4141
4142 * regset.h (struct regset): Remove gdbarch field.
4143 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4144 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4145 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4146 Likewise.
4147 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4148 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4149 (ppc32_linux_vsxregset): Likewise.
4150 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4151 via the regcache instead of the regset.
4152 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4153 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4154 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4155 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4156 Likewise.
4157
4158 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4159
4160 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4161 Constify structures.
4162 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4163 (alphanbsd_aout_gregset): Likewise.
4164 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4165 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4166 Likewise.
4167 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4168 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4169 Likewise.
4170 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4171 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4172 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4173 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4174 * m88k-tdep.c (m88k_gregset): Likewise.
4175 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4176 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4177 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4178 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4179 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4180 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4181 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4182 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4183 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4184 Likewise.
4185 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4186 * sh-tdep.h (sh_corefile_gregset): Likewise.
4187 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4188 * vax-tdep.c (vax_gregset): Likewise.
4189
4190 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4191
4192 Fix TLS access for -static -pthread.
4193 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4194 (try_thread_db_load_1): Initialize it.
4195 (thread_db_get_thread_local_address): Call it if LM is zero.
4196 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4197 * target.h (struct target_ops) (to_get_thread_local_address): Add
4198 load_module_addr comment.
4199
4200 2014-05-21 Pedro Alves <palves@redhat.com>
4201
4202 * dcache.c (dcache_read_memory_partial): If reading the cache line
4203 fails, fallback to reading just the memory the caller wanted.
4204
4205 2014-05-20 Doug Evans <dje@google.com>
4206
4207 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4208 instead of get_current_arch.
4209
4210 2014-05-20 Pedro Alves <palves@redhat.com>
4211
4212 * NEWS: Mention that compare-sections now works with all targets.
4213
4214 * remote.c (PACKET_qCRC): New enum value.
4215 (remote_verify_memory): Don't send qCRC if the target has no
4216 execution. Use packet_support/packet_ok. If the target doesn't
4217 support the qCRC packet, fallback to a deep memory copy.
4218 (compare_sections_command): Say "target image" instead of "remote
4219 executable".
4220 (_initialize_remote): Add PACKET_qCRC to the list of config
4221 packets that have no associated command. Extend comment.
4222 * target.c (simple_verify_memory, default_verify_memory): New
4223 function.
4224 * target.h (struct target_ops) <to_verify_memory>: Default to
4225 default_verify_memory.
4226 (simple_verify_memory): New declaration.
4227 * target-delegates.c: Regenerate.
4228
4229 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4230
4231 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4232
4233 2014-05-20 Hui Zhu <hui@codesourcery.com>
4234 Yao Qi <yao@codesourcery.com>
4235
4236 PR backtrace/16558
4237 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4238 and change address of sp and pc.
4239
4240 2014-05-19 Tom Tromey <tromey@redhat.com>
4241
4242 * gdbtypes.c (rank_function): Use XNEWVEC.
4243 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4244
4245 2014-05-19 Doug Evans <dje@google.com>
4246
4247 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4248 build_type_unit_groups and moved closer to only caller. Remove
4249 arguments. All references updated. Remove outdated .gdb_index
4250 comment.
4251 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4252 build_type_psymtabs_1.
4253
4254 2014-05-19 Doug Evans <dje@google.com>
4255
4256 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4257 n_type_unit_groups, all_type_unit_groups. All uses removed.
4258 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4259 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4260 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4261 (add_type_unit_group_to_table): Delete.
4262
4263 2014-05-19 Doug Evans <dje@google.com>
4264
4265 * eval.c (evaluate_subexp_standard): Add some comments.
4266
4267 2014-05-17 Doug Evans <xdje42@gmail.com>
4268
4269 * progspace.c (remove_program_space): Delete, unused.
4270 * progspace.h (remove_program_space): Ditto.
4271
4272 2014-05-17 Doug Evans <xdje42@gmail.com>
4273
4274 * inferior.c (prune_inferiors): Fix comment.
4275 (remove_inferior_command): Call prune_program_spaces.
4276
4277 2014-05-16 Doug Evans <dje@google.com>
4278
4279 New command line option -D.
4280 * NEWS: Mention it.
4281 * main.c (set_gdb_data_directory): New function.
4282 (captured_main): Recognize -D. Flag error for --data-directory "".
4283 Call set_gdb_data_directory.
4284 (print_gdb_help): Print --data-directory, -D.
4285 * main.h (set_gdb_data_directory): Declare.
4286 * top.c (staged_gdb_datadir): New static global.
4287 (set_gdb_datadir): Call set_gdb_data_directory
4288 (show_gdb_datadir): New function.
4289 (init_main): Update init of data-directory parameter.
4290
4291 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4292
4293 Import the "dirfd" gnulib module.
4294 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4295 * gnulib/aclocal.m4: Update.
4296 * gnulib/config.in: Update.
4297 * gnulib/configure: Update.
4298 * gnulib/import/Makefile.am: Update.
4299 * gnulib/import/Makefile.in: Update.
4300 * gnulib/import/dirfd.c: New.
4301 * gnulib/import/m4/dirfd.m4: New.
4302 * gnulib/import/m4/gnulib-cache.m4: Update.
4303 * gnulib/import/m4/gnulib-comp.m4: Update.
4304
4305 2014-05-16 Pierre Muller <muller@sourceware.org>
4306 Yao Qi <yao@codesourcery.com>
4307
4308 * valprint.c (print_wchar): Move the code on checking whether
4309 W is a printable wide char to the default branch of switch
4310 statement below. Call wchar_printable instead of gdb_iswprint.
4311
4312 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4313
4314 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
4315 ldr.w and ldrd instructions.
4316
4317 2014-05-15 Doug Evans <dje@google.com>
4318
4319 * dwarf2read.c (read_structure_type): Delete outdated comments.
4320
4321 2014-05-14 Tom Tromey <tromey@redhat.com>
4322
4323 * macrocmd.c (print_macro_definition): Reindent.
4324
4325 2014-05-13 Doug Evans <xdje42@gmail.com>
4326
4327 * python/py-cmd.c (cmdpy_completer): Add comment.
4328 (completers): Make const.
4329
4330 2014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4331
4332 * infrun.c (resume): Remove should_resume (unused). Move up
4333 declaration of resume_ptid.
4334
4335 2014-05-13 Tom Tromey <tromey@redhat.com>
4336
4337 * language.h (unop_type_check): Remove.
4338 (binop_type_check): Don't declare.
4339
4340 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4341
4342 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4343 call to regcache_raw_collect.
4344
4345 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4346
4347 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4348 mi_console->quote as the quoting character.
4349
4350 2014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4351
4352 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4353
4354 2014-04-29 Tom Tromey <tromey@redhat.com>
4355
4356 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4357 "show debug varobj".
4358
4359 2014-05-07 Kyle McMartin <kyle@redhat.com>
4360
4361 Pushed by Joel Brobecker <brobecker@adacore.com>.
4362 * aarch64-tdep.c (aarch64_software_single_step): New function.
4363 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4364 with aarch64_software_single_step.
4365
4366 2014-05-05 Joel Brobecker <brobecker@adacore.com>
4367
4368 GDB 7.7.1 released.
4369
4370 2014-05-05 Keith Seitz <keiths@redhat.com>
4371
4372 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4373 variable or history value is successfully parsed.
4374
4375 2014-05-05 Yao Qi <yao@codesourcery.com>
4376 Pedro Alves <palves@redhat.com>
4377
4378 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4379 address of blocks that intersects the requested range. Trim
4380 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4381 sections.
4382 * ctf.c (ctf_xfer_partial): Likewise.
4383
4384 2014-05-05 Yao Qi <yao@codesourcery.com>
4385
4386 * printcmd.c (display_command): Remove the check to
4387 target_has_execution.
4388
4389 2014-05-03 Mark Kettenis <kettenis@gnu.org>
4390
4391 * ppcobsd-nat.c: Include "obsd-nat.h".
4392 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4393 add_target.
4394 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4395
4396 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4397
4398 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4399 and 16-bit signed and unsigned arguments. Update comment.
4400 (stap_parse_probe_arguments): Extend code to handle such
4401 arguments. Use warning instead of complaint to notify about
4402 unrecognized bitness.
4403
4404 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4405
4406 PR breakpoints/16889
4407 * stap-probe.c (stap_parse_probe_arguments): Simplify
4408 check for non-prefixed probes (i.e., probes whose
4409 arguments do not start with "N@"). Always set the
4410 argument type to a sane value.
4411
4412 2014-05-01 David Taylor <dtaylor@emc.com>
4413
4414 * remote.c (compare_sections_command): Add -r option to compare
4415 all loadable read-only sections.
4416
4417 2014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4418
4419 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4420 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4421 Update all callers.
4422 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4423 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4424 Remove unused CORE_ADDR argument. Update all callers.
4425
4426 2014-04-29 Pedro Alves <palves@redhat.com>
4427
4428 * remote.c (struct packet_config) <detect>: Extend comment.
4429 (add_packet_config_cmd): Don't set the config's detect or support
4430 fields here.
4431 (init_all_packet_configs): Also initialize the config's 'detect'
4432 field.
4433 (reset_all_packet_configs_support): New function.
4434 (remote_open_1): Call reset_all_packet_configs_support instead of
4435 init_all_packet_configs.
4436 (_initialize_remote): Initialize all packet configs. Assert that
4437 all packets have an associated command, except a few known
4438 outliers.
4439
4440 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4441
4442 * dwarf2read.c (read_subrange_type): Handle dynamic
4443 DW_AT_lower_bound attributes.
4444
4445 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4446
4447 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4448 dynamic bounds before computing its upper bound.
4449 (ada_discrete_type_low_bound): Same as above with the lower bound.
4450
4451 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4452
4453 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4454 range types. Adjust the array handling implementation to
4455 take advantage of this change.
4456 (resolve_dynamic_range): New function, mostly extracted from
4457 resolve_dynamic_bounds.
4458 (resolve_dynamic_array): New function, mostly extracted from
4459 resolve_dynamic_bounds.
4460 (resolve_dynamic_bounds): Delete.
4461 (resolve_dynamic_type): Reimplement. Add handling of
4462 TYPE_CODE_RANGE types.
4463
4464 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4465
4466 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4467 handling of parallel ___XA types.
4468
4469 2014-04-28 Joel Brobecker <brobecker@adacore.com>
4470
4471 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4472 unnecessary second call to static_unwrap_type.
4473
4474 2014-04-27 Hui Zhu <hui@codesourcery.com>
4475
4476 * stack.c (print_frame_info): Call do_gdb_disassembly with
4477 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4478
4479 2014-04-26 Doug Evans <xdje42@gmail.com>
4480
4481 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4482
4483 2014-04-25 Pedro Alves <palves@redhat.com>
4484
4485 PR server/16255
4486 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4487 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4488 and newline from built string.
4489 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4490 (linux_ptrace_attach_fail_reason): ... this.
4491 * linux-nat.c (linux_nat_attach): Adjust to use
4492 linux_ptrace_attach_fail_reason.
4493
4494 2014-04-25 Pedro Alves <palves@redhat.com>
4495
4496 * remote.c (struct remote_state): Remove multi_process_aware,
4497 non_stop_aware, cond_tracepoints, cond_breakpoints,
4498 breakpoint_commands, fast_tracepoints, static_tracepoints,
4499 install_in_trace, disconnected_tracing,
4500 enable_disable_tracepoints, string_tracing, and
4501 augmented_libraries_svr4_read fields.
4502 (remote_multi_process_p): Move further below in the file.
4503 (struct packet_config): Add comments.
4504 (update_packet_config): Delete function.
4505 (show_packet_config_cmd): Use packet_config_support.
4506 (add_packet_config_cmd): Use NULL as set callback.
4507 (packet_ok): "set remote foo-packet"-style commands no longer
4508 change config->supported -- adjust.
4509 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4510 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4511 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4512 (PACKET_QNonStop, PACKET_multiprocess_feature)
4513 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4514 (PACKET_DisconnectedTracing_feature)
4515 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4516 (set_remote_protocol_packet_cmd): Delete function.
4517 (packet_config_support, packet_support): New functions.
4518 (set_remote_protocol_Z_packet_cmd): Don't call
4519 update_packet_config.
4520 (remote_query_attached, remote_pass_signals)
4521 (remote_program_signals, remote_threads_info)
4522 (remote_threads_extra_info, remote_start_remote): Use
4523 packet_support.
4524 (remote_start_remote): Use packet_config_support and
4525 packet_support.
4526 (init_all_packet_configs): Set all packets to unknown support,
4527 instead of calling update_packet_config.
4528 (remote_check_symbols): Use packet_support.
4529 (remote_supported_packet): Unconditionally set the packet config's
4530 support status.
4531 (remote_multi_process_feature, remote_non_stop_feature)
4532 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4533 (remote_breakpoint_commands_feature)
4534 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4535 (remote_install_in_trace_feature)
4536 (remote_disconnected_tracing_feature)
4537 (remote_enable_disable_tracepoint_feature)
4538 (remote_string_tracing_feature)
4539 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4540 (remote_protocol_features): Adjust to use remote_supported_packet
4541 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4542 "ConditionalTracepoints", "ConditionalBreakpoints",
4543 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4544 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4545 "EnableDisableTracepoints", and "tracenz".
4546 (remote_query_supported): Use packet_support.
4547 (remote_open_1): Adjust.
4548 (extended_remote_attach_1): Use packet_support. Switch on the
4549 result of packet_ok instead of checking whether the packet ended
4550 up disabled.
4551 (remote_vcont_resume): Use packet_support.
4552 (remote_resume, remote_stop_ns, fetch_register_using_p)
4553 (remote_prepare_to_store, store_register_using_P)
4554 (check_binary_download, remote_write_bytes): Use packet_support.
4555 (remote_vkill): Use packet_support. Switch on the result of
4556 packet_ok instead of checking whether the packet ended up
4557 disabled.
4558 (extended_remote_supports_disable_randomization): Use
4559 packet_support.
4560 (extended_remote_run): Switch on the result of packet_ok instead
4561 of checking whether the packet ended up disabled.
4562 (remote_insert_breakpoint, remote_remove_breakpoint)
4563 (remote_insert_watchpoint, remote_remove_watchpoint)
4564 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4565 packet_support.
4566 (remote_search_memory): Use packet_config_support.
4567 (remote_get_thread_local_address, remote_get_tib_address)
4568 (remote_hostio_send_command, remote_can_execute_reverse): Use
4569 packet_support.
4570 (remote_supports_cond_tracepoints)
4571 (remote_supports_cond_breakpoints)
4572 (remote_supports_fast_tracepoints)
4573 (remote_supports_static_tracepoints)
4574 (remote_supports_install_in_trace)
4575 (remote_supports_enable_disable_tracepoint)
4576 (remote_supports_string_tracing)
4577 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4578 the packet config says the feature is enabled or disabled.
4579 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4580 (remote_get_trace_status): Use packet_support.
4581 (remote_set_disconnected_tracing): Adjust to check whether the
4582 feature is enabled with packet_support.
4583 (remote_set_trace_buffer_size, remote_use_agent)
4584 (remote_can_use_agent, remote_supports_btrace): Use
4585 packet_support.
4586 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4587 Use packet_config_support.
4588 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4589 the packet config says the feature is enabled or disabled.
4590 (set_range_stepping): Use packet_support.
4591
4592 2014-04-25 Tom Tromey <tromey@redhat.com>
4593
4594 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4595 argument.
4596
4597 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4598
4599 * NEWS: Mention support for C99 variable length arrays.
4600
4601 2014-04-24 Joel Brobecker <brobecker@adacore.com>
4602
4603 * ada-lang.c (standard_exc): Expand introductory comment.
4604
4605 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
4606 Walfred Tedeschi <walfred.tedeschi@intel.com>
4607
4608 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4609 AVX512 registers.
4610 (amd64_linux_read_description): Add code to handle AVX512 xstate
4611 mask and return respective tdesc.
4612 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4613 and features/i386/x32-avx512-linux.c.
4614 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4615 (amd64_linux_core_read_description): Add code to handle AVX512
4616 xstate mask and return respective tdesc.
4617 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4618 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4619 calculation.
4620 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4621 (tdesc_amd64_avx512_linux): New prototype.
4622 (tdesc_x32_avx512_linux): Likewise.
4623 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4624 features/i386/x32-avx512.c.
4625 (amd64_ymm_avx512_names): New register names for pseudo
4626 registers YMM16-31.
4627 (amd64_ymmh_avx512_names): New register names for raw registers
4628 YMMH16-31.
4629 (amd64_k_names): New register names for K registers.
4630 (amd64_zmmh_names): New register names for ZMM raw registers.
4631 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4632 (amd64_xmm_avx512_names): New register names for XMM16-31
4633 registers.
4634 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4635 registers.
4636 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4637 if feature is present.
4638 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4639 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4640 (AMD64_NUM_REGS): Adjust to new number of registers.
4641 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4642 registers supplied via XSTATE by AVX512 registers.
4643 (i386_linux_read_description): Add case for AVX512.
4644 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4645 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4646 (i386_linux_core_read_description): Add case for AVX512.
4647 (i386_linux_init_abi): Install supported register note section
4648 for AVX512.
4649 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4650 AVX512.
4651 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4652 registers to be number of zmm7h + 1.
4653 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4654 * i386-tdep.c: Include features/i386/i386-avx512.c.
4655 (i386_zmm_names): Add ZMM pseudo register names array.
4656 (i386_zmmh_names): Add ZMM raw register names array.
4657 (i386_k_names): Add K raw register names array.
4658 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4659 registers. AVX512 has 16 more ZMM registers than there are YMM
4660 registers.
4661 (i386_zmmh_regnum_p): Add function to look up register number of
4662 ZMM raw registers.
4663 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4664 (i386_k_regnum_p): Likewise for K raw registers.
4665 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4666 registers added by AVX512.
4667 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4668 registers added by AVX512.
4669 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4670 added by AVX512.
4671 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4672 (i386_pseudo_register_name): Add ZMM pseudo registers.
4673 (i386_zmm_type): Construct and return vector registers type for ZMM
4674 registers.
4675 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4676 ZMM0-31 pseudo registers and K registers.
4677 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4678 and YMM16-31 registers from register cache.
4679 (i386_pseudo_register_write): Add code to write K, ZMM and
4680 YMM16-31 registers.
4681 (i386_register_reggroup_p): Add code to include/exclude AVX512
4682 registers in/from respective register groups.
4683 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4684 registers if feature is present in xcr0.
4685 (i386_gdbarch_init): Add code to initialize AVX512 feature
4686 variables in tdep structure, wire in pseudo registers and call
4687 initialize_tdesc_i386_avx512.
4688 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4689 variables.
4690 (i386_regnum): Add AVX512 registers.
4691 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4692 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4693 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4694 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4695 512 bits wide.
4696 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4697 (i386_ymm_avx512_regnum_p): Likewise.
4698 (i386_k_regnum_p): Likewise.
4699 (i386_zmm_regnum_p): Likewise.
4700 (i386_zmmh_regnum_p): Likewise.
4701 * i387-tdep.c : Update year in copyright notice.
4702 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4703 XSAVE buffer.
4704 (XSAVE_YMM_AVX512_ADDR): New macro.
4705 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4706 XSAVE buffer.
4707 (XSAVE_XMM_AVX512_ADDR): New macro.
4708 (xsave_avx512_k_offset): New table for K register offsets in
4709 XSAVE buffer.
4710 (XSAVE_AVX512_K_ADDR): New macro.
4711 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4712 in XSAVE buffer.
4713 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4714 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4715 buffer.
4716 (i387_collect_xsave): Add code to collect AVX512 registers from
4717 XSAVE buffer.
4718 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4719 of XMM16-31 registers.
4720 (I387_NUM_K_REGS): New define for number of K registers.
4721 (I387_K0_REGNUM): New define for K0 register number.
4722 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4723 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4724 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4725 registers.
4726 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4727 (I387_XMM16_REGNUM): New define for XMM16 register number.
4728 (I387_YMM0_REGNUM): New define for YMM0 register number.
4729 (I387_KEND_REGNUM): New define for last K register number.
4730 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4731 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4732 number.
4733 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4734 number.
4735 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4736 size.
4737 * features/Makefile: Add AVX512 related files.
4738 * features/i386/32bit-avx512.xml: New file.
4739 * features/i386/64bit-avx512.xml: Likewise.
4740 * features/i386/amd64-avx512-linux.c: Likewise.
4741 * features/i386/amd64-avx512-linux.xml: Likewise.
4742 * features/i386/amd64-avx512.c: Likewise.
4743 * features/i386/amd64-avx512.xml: Likewise.
4744 * features/i386/i386-avx512-linux.c: Likewise.
4745 * features/i386/i386-avx512-linux.xml: Likewise.
4746 * features/i386/i386-avx512.c: Likewise.
4747 * features/i386/i386-avx512.xml: Likewise.
4748 * features/i386/x32-avx512-linux.c: Likewise.
4749 * features/i386/x32-avx512-linux.xml: Likewise.
4750 * features/i386/x32-avx512.c: Likewise.
4751 * features/i386/x32-avx512.xml: Likewise.
4752 * regformats/i386/amd64-avx512-linux.dat: New file.
4753 * regformats/i386/amd64-avx512.dat: Likewise.
4754 * regformats/i386/i386-avx512-linux.dat: Likewise.
4755 * regformats/i386/i386-avx512.dat: Likewise.
4756 * regformats/i386/x32-avx512-linux.dat: Likewise.
4757 * regformats/i386/x32-avx512.dat: Likewise.
4758 * NEWS: Add note about new support for AVX512.
4759
4760
4761 2014-04-23 Pedro Alves <palves@redhat.com>
4762
4763 * breakpoint.c (insert_bp_location): Tolerate errors if the
4764 breakpoint is set in a user-loaded objfile.
4765 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4766 location is marked shlib_disabled. If the breakpoint is set in a
4767 user-loaded objfile is a GDB-side memory breakpoint, validate it
4768 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4769 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4770 flag.
4771 * mem-break.c (memory_validate_breakpoint): New function.
4772 * objfiles.c (userloaded_objfile_contains_address_p): New
4773 function.
4774 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4775 * target.h (memory_validate_breakpoint): New declaration.
4776
4777 2014-04-23 Pedro Alves <palves@redhat.com>
4778
4779 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4780 the breakpoint is set in a shared library, only suppress
4781 errors for software breakpoints, not hardware breakpoints.
4782
4783 2014-04-22 Pedro Alves <palves@redhat.com>
4784
4785 * infrun.c (schedlock_applies): New function, factored out from
4786 find_thread_needs_step_over.
4787 (find_thread_needs_step_over): Use it.
4788 (switch_back_to_stepped_thread): Always clear trap_expected if the
4789 step over is finished. Return early if scheduler locking applies.
4790 Look for the stepping thread and a potential step-over thread with
4791 a single loop.
4792 (currently_stepping_or_nexting_callback): Delete.
4793
4794 2014-04-22 Nick Clifton <nickc@redhat.com>
4795
4796 * NEWS: Mention that ARM sim now supports tracing.
4797
4798 2014-04-22 Yao Qi <yao@codesourcery.com>
4799
4800 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4801 to ...
4802 * tracefile.c (tracefile_fetch_registers): ... it. New
4803 function.
4804 * tracefile.h (tracefile_fetch_registers): Declare.
4805 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4806 tracefile_fetch_registers.
4807
4808 2014-04-19 Eli Zaretskii <eliz@gnu.org>
4809
4810 PR gdb/14018
4811 * windows-nat.c (thread_rec): Don't display a warning when
4812 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4813 fails for any reason, set th->suspended to -1, so that we don't
4814 try to resume such a thread. Also, don't return NULL in these
4815 cases, to avoid completely ruin the session due to "PC register is
4816 not available" error.
4817 (do_windows_fetch_inferior_registers): Check errors in
4818 GetThreadContext call.
4819 (windows_continue): Accept an additional argument KILLED; if not
4820 zero, ignore errors in the SetThreadContext call, since the
4821 inferior was killed and is shutting down.
4822 (windows_resume, get_windows_debug_event)
4823 (windows_create_inferior, windows_mourn_inferior)
4824 (windows_kill_inferior): All callers of windows_continue changed
4825 to adjust to its new calling sequence.
4826
4827 2014-04-19 Yao Qi <yao@codesourcery.com>
4828
4829 * ctf.c (ctf_open): Call post_create_inferior.
4830
4831 2014-04-19 Yao Qi <yao@codesourcery.com>
4832
4833 * ctf.c (handle_id): New static variable.
4834 (ctf_open_dir): Get handle_id from bt_context_add_trace return
4835 value. Get the declaration of event "register" and get length
4836 of field "contents".
4837
4838 2014-04-19 Yao Qi <yao@codesourcery.com>
4839
4840 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
4841
4842 2014-04-18 Siva Chandra Reddy <sivachandra@google.com>
4843
4844 * valops.c (oload_method_static): Remove unnecessary argument
4845 METHOD. Update all callers.
4846
4847 2014-04-18 Pedro alves <palves@redhat.com>
4848 Tom Tromey <tromey@redhat.com>
4849
4850 PR backtrace/15558
4851 * frame.c (get_prev_frame_1): Rename to ...
4852 (get_prev_frame_always): ... this, and make extern. Adjust.
4853 (skip_artificial_frames): Use get_prev_frame_always.
4854 (frame_unwind_caller_id, frame_pop, get_prev_frame)
4855 (get_frame_unwind_stop_reason): Adjust to rename.
4856 * frame.h (get_prev_frame_always): Declare.
4857 * inline-frame.c: Include frame.h.
4858 (inline_frame_this_id): Use get_prev_frame_always.
4859
4860 2014-04-18 Tristan Gingold <gingold@adacore.com>
4861
4862 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
4863 code by using bfd_mach_o_get_base_address.
4864
4865 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4866
4867 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
4868 (spu_ax_pseudo_register_collect): New function.
4869 (spu_ax_pseudo_register_push_stack): Likewise.
4870 (spu_dwarf_reg_to_regnum): Likewise.
4871 (spu_gdbarch_init): Install them. Append DWARF unwinders.
4872
4873 2014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4874
4875 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4876 Replace FRAME argument with FRAME_ID.
4877 * gdbarch.c, gdbarch.h: Regenerate.
4878 * findvar.c (default_value_from_register): Add GDBARCH argument;
4879 replace FRAME by FRAME_ID. No longer call get_frame_id.
4880 (value_from_register): Update call to gdbarch_value_from_register.
4881 * value.h (default_value_from_register): Update prototype.
4882 * s390-linux-tdep.c (s390_value_from_register): Update interface
4883 and call to default_value_from_register.
4884 * spu-tdep.c (spu_value_from_register): Likewise.
4885
4886 * findvar.c (address_from_register): Remove TYPE argument.
4887 Do not call value_from_register; use gdbarch_value_from_register
4888 with null_frame_id instead.
4889 * value.h (address_from_register): Update prototype.
4890 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
4891 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
4892 address_from_register interface change.
4893
4894 2014-04-17 Yao Qi <yao@codesourcery.com>
4895
4896 * gdbtypes.h: Update comments to link to types and macros'
4897 definitions.
4898
4899 2014-04-16 Siva Chandra Reddy <sivachandra@google.com>
4900
4901 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
4902
4903 2014-04-16 Keith Seitz <keiths@redhat.com>
4904
4905 PR gdb/15827
4906 * dwarf2read.c (skip_one_die): Check that all relative-offset
4907 sibling DIEs fall within range of the current reader's buffer.
4908 (read_partial_die): Likewise.
4909
4910 2014-04-16 Keith Seitz <keiths@redhat.com>
4911
4912 PR c++/16597
4913 * cp-namespace.c (lookup_symbol_file): If the type name of
4914 `this' is NULL, return immediately.
4915
4916 2014-04-14 Keith Seitz <keiths@redhat.com>
4917
4918 PR c++/16253
4919 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4920 from symbol_matches_domain in symtab.c. All local callers
4921 of symbol_matches_domain updated.
4922 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4923 search STRUCT_DOMAIN.
4924 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4925 independently. standard_lookup will do that automatically.
4926 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4927 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4928 (cp_lookup_symbol_in_namespace): Likewise.
4929 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4930 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4931 may return a STRUCT_DOMAIN match.
4932 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4933 * cp-support.c: Include language.h.
4934 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4935 VAR_DOMAIN.
4936 * psymtab.c (match_partial_symbol): Compare the requested
4937 domain with the symbol's domain directly.
4938 (lookup_partial_symbol): Likewise.
4939 * symtab.c (lookup_symbol_in_language): Explain when/why
4940 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4941 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4942 appropriate languages.
4943 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4944 and moved to ada-lang.c
4945 (lookup_block_symbol): Explain that this function only returns
4946 symbol matching the requested DOMAIN.
4947 Compare the requested domain with the symbol's domain directly.
4948 (iterate_over_symbols): Compare the requested domain with the
4949 symbol's domain directly.
4950 * symtab.h (symbol_matches_domain): Remove.
4951
4952 2014-04-14 Tom Tromey <tromey@redhat.com>
4953
4954 PR c++/15246:
4955 * c-exp.y (type_aggregate_p): New function.
4956 (qualified_name, classify_inner_name): Use it.
4957 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
4958 and TYPE_TARGET_TYPE of an enum type.
4959 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
4960 an enum type.
4961 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
4962 handle TYPE_DECLARED_CLASS.
4963 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
4964 types.
4965 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
4966 * valops.c (enum_constant_from_type): New function.
4967 (value_aggregate_elt): Use it.
4968 * cp-namespace.c (cp_lookup_nested_symbol): Handle
4969 TYPE_CODE_ENUM.
4970
4971 2014-04-14 Tom Tromey <tromey@redhat.com>
4972
4973 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
4974 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
4975 const.
4976 * value.h (value_aggregate_elt): Update.
4977
4978 2014-04-14 Tom Tromey <tromey@redhat.com>
4979
4980 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
4981
4982 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4983
4984 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
4985 (evaluate_subexp_standard): Pass noside argument.
4986 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
4987 if noside equals EVAL_NORMAL. If the subscript yields a vla type
4988 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
4989 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
4990 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
4991
4992 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4993
4994 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
4995 points to a constant blob.
4996
4997 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4998
4999 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5000 property and store it as the high bound and flag the range accordingly.
5001 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5002 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5003 * gdbtypes.h (enum range_flags): New enum.
5004 (struct range_bounds): Add flags member.
5005
5006 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5007
5008 * c-typeprint.c (c_type_print_varspec_suffix): Added
5009 check for not yet resolved high bound. If unresolved, print
5010 "variable length" string to the console instead of random
5011 length.
5012
5013 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5014
5015 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5016 value.
5017 (ada_template_to_fixed_record_type_1): Likewise.
5018 (ada_to_fixed_type_1): Likewise.
5019 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5020 (cp_print_value): Likewise.
5021 * d-valprint.c (dynamic_array_type): Likewise.
5022 * findvar.c (address_of_variable): Likewise.
5023 * jv-valprint.c (java_value_print): Likewise.
5024 * valops.c (value_ind): Likewise.
5025 * value.c (coerce_ref): Likewise.
5026
5027 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5028
5029 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5030 value and retrieve the dynamic type size.
5031
5032 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5033
5034 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5035 passed to sizeof is dynamic evaluate the argument to compute the length.
5036
5037 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5038 Joel Brobecker <brobecker@adacore.com>
5039
5040 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5041 (dwarf2_evaluate_property): New function.
5042 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5043 * dwarf2read.c (attr_to_dynamic_prop): New function.
5044 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5045 attribute.
5046 * gdbtypes.c: Include dwarf2loc.h.
5047 (is_dynamic_type): New function.
5048 (resolve_dynamic_type): New function.
5049 (resolve_dynamic_bounds): New function.
5050 (get_type_length): New function.
5051 (check_typedef): Use get_type_length to compute type length.
5052 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5053 (TYPE_LOW_BOUND_KIND): New macro.
5054 (is_dynamic_type): New function prototype.
5055 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5056 to resolve dynamic properties of the type. Update comment.
5057 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5058
5059 2014-04-14 Richard Henderson <rth@redhat.com>
5060
5061 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5062
5063 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5064 Doug Evans <xdje42@gmail.com>
5065
5066 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5067 dereference TYPE_CODE_REF values.
5068
5069 2014-04-11 Joel Brobecker <brobecker@adacore.com>
5070
5071 Revert the following changes due to regressions:
5072
5073 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5074 (dwarf2_evaluate_property): New function.
5075 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5076 * dwarf2read.c (attr_to_dynamic_prop): New function.
5077 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5078 attribute.
5079 * gdbtypes.c: Include dwarf2loc.h.
5080 (is_dynamic_type): New function.
5081 (resolve_dynamic_type): New function.
5082 (resolve_dynamic_bounds): New function.
5083 (get_type_length): New function.
5084 (check_typedef): Use get_type_length to compute type length.
5085 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5086 (TYPE_LOW_BOUND_KIND): New macro.
5087 (is_dynamic_type): New function prototype.
5088 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5089 to resolve dynamic properties of the type. Update comment.
5090 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5091
5092 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5093 passed to sizeof is dynamic evaluate the argument to compute the length.
5094
5095 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5096 value and retrieve the dynamic type size.
5097
5098 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5099 (ada_template_to_fixed_record_type_1): Likewise.
5100 (ada_to_fixed_type_1): Likewise.
5101 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5102 (cp_print_value): Likewise.
5103 * d-valprint.c (dynamic_array_type): Likewise.
5104 * eval.c (evaluate_subexp_with_coercion): Likewise.
5105 * findvar.c (address_of_variable): Likewise.
5106 * jv-valprint.c (java_value_print): Likewise.
5107 * valops.c (value_ind): Likewise.
5108 * value.c (coerce_ref): Likewise.
5109
5110 * c-typeprint.c (c_type_print_varspec_suffix): Added
5111 check for not yet resolved high bound. If unresolved, print
5112 "variable length" string to the console instead of random
5113 length.
5114
5115 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5116 property and store it as the high bound and flag the range accordingly.
5117 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5118 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5119 * gdbtypes.h (enum range_flags): New enum.
5120 (struct range_bounds): Add flags member.
5121
5122 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5123 points to a constant blob.
5124
5125 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5126 (evaluate_subexp_standard): Pass noside argument.
5127 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5128 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5129 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5130 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5131 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5132
5133 2014-04-11 Keith Seitz <keiths@redhat.com>
5134
5135 PR c++/16675
5136 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5137 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5138 reference types.
5139
5140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5141
5142 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5143 (evaluate_subexp_standard): Pass noside argument.
5144 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5145 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5146 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5147 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5148 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5149
5150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5151
5152 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5153 points to a constant blob.
5154
5155 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5156
5157 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5158 property and store it as the high bound and flag the range accordingly.
5159 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5160 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5161 * gdbtypes.h (enum range_flags): New enum.
5162 (struct range_bounds): Add flags member.
5163
5164 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5165
5166 * c-typeprint.c (c_type_print_varspec_suffix): Added
5167 check for not yet resolved high bound. If unresolved, print
5168 "variable length" string to the console instead of random
5169 length.
5170
5171 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5172
5173 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5174 (ada_template_to_fixed_record_type_1): Likewise.
5175 (ada_to_fixed_type_1): Likewise.
5176 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5177 (cp_print_value): Likewise.
5178 * d-valprint.c (dynamic_array_type): Likewise.
5179 * eval.c (evaluate_subexp_with_coercion): Likewise.
5180 * findvar.c (address_of_variable): Likewise.
5181 * jv-valprint.c (java_value_print): Likewise.
5182 * valops.c (value_ind): Likewise.
5183 * value.c (coerce_ref): Likewise.
5184
5185 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5186
5187 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5188 value and retrieve the dynamic type size.
5189
5190 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5191
5192 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5193 passed to sizeof is dynamic evaluate the argument to compute the length.
5194
5195 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5196
5197 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5198 (dwarf2_evaluate_property): New function.
5199 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5200 * dwarf2read.c (attr_to_dynamic_prop): New function.
5201 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5202 attribute.
5203 * gdbtypes.c: Include dwarf2loc.h.
5204 (is_dynamic_type): New function.
5205 (resolve_dynamic_type): New function.
5206 (resolve_dynamic_bounds): New function.
5207 (get_type_length): New function.
5208 (check_typedef): Use get_type_length to compute type length.
5209 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5210 (TYPE_LOW_BOUND_KIND): New macro.
5211 (is_dynamic_type): New function prototype.
5212 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5213 to resolve dynamic properties of the type. Update comment.
5214 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5215
5216 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5217
5218 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5219 declaring high/low bounds and change uses accordingly. Call
5220 create_range_type instead of create_static_range_type.
5221 * gdbtypes.c (create_range_type): New function.
5222 (create_range_type): Convert bounds into struct bound_prop and pass
5223 them to create_range_type.
5224 * gdbtypes.h (struct bound_prop): New struct.
5225 (create_range_type): New function prototype.
5226 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5227 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5228 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5229 part of the bound.
5230 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5231
5232 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5233
5234 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5235 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5236 * ada-lang.c: All uses of create_range_type updated.
5237 * coffread.c: All uses of create_range_type updated.
5238 * dwarf2read.c: All uses of create_range_type updated.
5239 * f-exp.y: All uses of create_range_type updated.
5240 * m2-valprint.c: All uses of create_range_type updated.
5241 * mdebugread.c: All uses of create_range_type updated.
5242 * stabsread.c: All uses of create_range_type updated.
5243 * valops.c: All uses of create_range_type updated.
5244 * valprint.c: All uses of create_range_type updated.
5245
5246 2014-04-10 Pedro Alves <palves@redhat.com>
5247
5248 * breakpoint.c (single_step_breakpoints)
5249 (single_step_gdbarch): Move up in the file.
5250 (one_breakpoint_xfer_memory): New function, factored out from ...
5251 (breakpoint_xfer_memory): ... here. Also process single-step
5252 breakpoints.
5253
5254 2014-04-09 Tristan Gingold <gingold@adacore.com>
5255
5256 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5257 comments.
5258 (darwin_decode_exception_message): Free port only after use.
5259
5260 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5261
5262 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5263 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5264 when setting the size of call_length.
5265
5266 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5267
5268 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5269 dereference TYPE_CODE_REF values.
5270
5271 2014-04-07 Joel Brobecker <brobecker@adacore.com>
5272
5273 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5274 end of warning message.
5275
5276 2014-04-03 Doug Evans <dje@google.com>
5277
5278 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5279 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5280
5281 2014-04-02 Alan Modra <amodra@gmail.com>
5282
5283 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5284 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5285 (struct symbol_file_add_from_memory_args): Add size field.
5286 (find_vdso_size): New function.
5287 (add_vsyscall_page): Attempt to find vdso size.
5288
5289 2014-04-01 Doug Evans <dje@google.com>
5290
5291 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5292
5293 2014-04-01 Tristan Gingold <gingold@adacore.com>
5294
5295 * darwin-nat.c (darwin_encode_reply): Add prototype.
5296 (darwin_decode_exception_message): Reply to unknown inferiors.
5297 (darwin_decode_message): Handle message by id. Ignore message
5298 to unknown inferior.
5299 (darwin_wait): Discard unknown messages, add debug trace.
5300
5301 2014-03-31 Doug Evans <dje@google.com>
5302
5303 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5304 comp_dir_string.
5305
5306 2014-03-31 Doug Evans <dje@google.com>
5307
5308 New option "set print symbol-loading".
5309 * NEWS: Mention it.
5310 * solib.c (solib_read_symbols): Only print symbol loading messages
5311 if requested.
5312 (solib_add): If symbol loading is in "brief" mode, notify user
5313 symbols are being loaded.
5314 (reload_shared_libraries_1): Ditto.
5315 * symfile.c (print_symbol_loading_off): New static global.
5316 (print_symbol_loading_brief): New static global.
5317 (print_symbol_loading_full): New static global.
5318 (print_symbol_loading_enums): New static global.
5319 (print_symbol_loading): New static global.
5320 (print_symbol_loading_p): New function.
5321 (symbol_file_add_with_addrs): Only print symbol loading messages
5322 if requested.
5323 (_initialize_symfile): Register "print symbol-loading" set/show
5324 command.
5325 * symfile.h (print_symbol_loading_p): Declare.
5326
5327 2014-03-30 Doug Evans <xdje42@gmail.com>
5328
5329 * infrun.c (set_last_target_status): New function.
5330 (handle_inferior_event): Call it.
5331
5332 2014-03-30 Doug Evans <xdje42@gmail.com>
5333
5334 * inferior.h (enum stop_kind): Improve comment.
5335
5336 2014-03-28 Joel Brobecker <brobecker@adacore.com>
5337
5338 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5339 a reference, strip the reference layer before calling
5340 the lang_ops value_has_mutated callback.
5341
5342 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5343
5344 Remove some globals from our parser.
5345 * language.c (unk_lang_parser): Add "struct parser_state"
5346 argument.
5347 * language.h (struct language_defn) <la_parser>: Likewise.
5348 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5349 (initialize_expout): Add "struct parser_state" argument.
5350 Rewrite function to use the parser state.
5351 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5352 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5353 write_exp_elt_longcst, write_exp_elt_dblcst,
5354 write_exp_elt_decfloatcst, write_exp_elt_type,
5355 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5356 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5357 write_dollar_variable): Likewise.
5358 (parse_exp_in_context_1): Use parser state.
5359 (insert_type_address_space): Add "struct parser_state" argument.
5360 Use parser state.
5361 (increase_expout_size): New function.
5362 * parser-defs.h: Forward declare "struct language_defn" and
5363 "struct parser_state".
5364 (expout, expout_size, expout_ptr): Remove extern declarations.
5365 (parse_gdbarch, parse_language): Rewrite macro declarations to
5366 accept the parser state.
5367 (struct parser_state): New struct.
5368 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5369 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5370 write_exp_elt_decfloatcst, write_exp_elt_type,
5371 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5372 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5373 write_exp_msymbol, write_dollar_variable,
5374 mark_struct_expression, insert_type_address_space): Add "struct
5375 parser_state" argument.
5376 (increase_expout_size): New function.
5377 * utils.c (do_clear_parser_state): New function.
5378 (make_cleanup_clear_parser_state): Likewise.
5379 * utils.h (make_cleanup_clear_parser_state): New function
5380 prototype.
5381 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5382 Update calls to write_exp* in order to pass the parser state.
5383 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5384 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5385 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5386 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5387 * stap-probe.c (stap_parse_register_operand): Likewise.
5388 (stap_parse_single_operand): Likewise.
5389 (stap_parse_argument_1): Likewise.
5390 (stap_parse_argument): Use parser state.
5391 * stap-probe.h: Include "parser-defs.h".
5392 (struct stap_parse_info) <pstate>: New field.
5393 * c-exp.y (parse_type): Rewrite to use parser state.
5394 (yyparse): Redefine to c_parse_internal.
5395 (pstate): New global variable.
5396 (parse_number): Add "struct parser_state" argument.
5397 (write_destructor_name): Likewise.
5398 (type_exp): Update calls to write_exp* and similars in order to
5399 use parser state.
5400 (exp1, exp, variable, qualified_name, space_identifier,
5401 typename, typebase): Likewise.
5402 (write_destructor_name, parse_number, lex_one_token,
5403 classify_name, classify_inner_name, c_parse): Add "struct
5404 parser_state" argument. Update function to use parser state.
5405 * c-lang.h: Forward declare "struct parser_state".
5406 (c_parse): Add "struct parser_state" argument.
5407 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5408 (yyparse): Redefine macro to ada_parse_internal.
5409 (pstate): New variable.
5410 (write_int, write_object_renaming, write_var_or_type,
5411 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5412 type_int, type_long, type_long_long, type_float, type_double,
5413 type_long_double, type_char, type_boolean, type_system_address):
5414 Add "struct parser_state" argument.
5415 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5416 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5417 var_or_type, aggregate, aggregate_component_list,
5418 positional_list, others, component_group,
5419 component_associations): Update calls to write_exp* and similar
5420 functions in order to use parser state.
5421 (ada_parse, write_var_from_sym, write_int,
5422 write_exp_op_with_string, write_object_renaming,
5423 find_primitive_type, write_selectors, write_ambiguous_var,
5424 write_var_or_type, write_name_assoc, type_int, type_long,
5425 type_long_long, type_float, type_double, type_long_double,
5426 type_char, type_boolean, type_system_address): Add "struct
5427 parser_state" argument. Adjust function to use parser state.
5428 * ada-lang.c (parse): Likewise.
5429 * ada-lang.h: Forward declare "struct parser_state".
5430 (ada_parse): Add "struct parser_state" argument.
5431 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5432 calls to both functions.
5433 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5434 parser state.
5435 (yyparse): Redefine macro to f_parse_internal.
5436 (pstate): New variable.
5437 (parse_number): Add "struct parser_state" argument.
5438 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5439 and similars in order to use parser state.
5440 (parse_number): Adjust code to use parser state.
5441 (yylex): Likewise.
5442 (f_parse): New function.
5443 * f-lang.h: Forward declare "struct parser_state".
5444 (f_parse): Add "struct parser_state" argument.
5445 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5446 parser state.
5447 (yyparse): Redefine macro for java_parse_internal.
5448 (pstate): New variable.
5449 (push_expression_name, push_expression_name, insert_exp): Add
5450 "struct parser_state" argument.
5451 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5452 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5453 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5454 PostIncrementExpression, PostDecrementExpression,
5455 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5456 UnaryExpressionNotPlusMinus, CastExpression,
5457 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5458 RelationalExpression, EqualityExpression, AndExpression,
5459 ExclusiveOrExpression, InclusiveOrExpression,
5460 ConditionalAndExpression, ConditionalOrExpression,
5461 ConditionalExpression, Assignment, LeftHandSide): Update
5462 calls to write_exp* and similars in order to use parser state.
5463 (parse_number): Ajust code to use parser state.
5464 (yylex): Likewise.
5465 (java_parse): New function.
5466 (push_variable): Add "struct parser_state" argument. Adjust
5467 code to user parser state.
5468 (push_fieldnames, push_qualified_expression_name,
5469 push_expression_name, insert_exp): Likewise.
5470 * jv-lang.h: Forward declare "struct parser_state".
5471 (java_parse): Add "struct parser_state" argument.
5472 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5473 parser state.
5474 (yyparse): Redefine macro to m2_parse_internal.
5475 (pstate): New variable.
5476 (type_exp, exp, fblock, variable, type): Update calls to
5477 write_exp* and similars to use parser state.
5478 (yylex): Likewise.
5479 (m2_parse): New function.
5480 * m2-lang.h: Forward declare "struct parser_state".
5481 (m2_parse): Add "struct parser_state" argument.
5482 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5483 * objc-lang.h: Forward declare "struct parser_state".
5484 (end_msglist): Add "struct parser_state" argument.
5485 * p-exp.y (parse_type): Rewrite macro to use parser state.
5486 (yyparse): Redefine macro to pascal_parse_internal.
5487 (pstate): New variable.
5488 (parse_number): Add "struct parser_state" argument.
5489 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5490 write_exp* and similars in order to use parser state.
5491 (parse_number, yylex): Adjust code to use parser state.
5492 (pascal_parse): New function.
5493 * p-lang.h: Forward declare "struct parser_state".
5494 (pascal_parse): Add "struct parser_state" argument.
5495 * go-exp.y (parse_type): Rewrite macro to use parser state.
5496 (yyparse): Redefine macro to go_parse_internal.
5497 (pstate): New variable.
5498 (parse_number): Add "struct parser_state" argument.
5499 (type_exp, exp1, exp, variable, type): Update calls to
5500 write_exp* and similars in order to use parser state.
5501 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5502 to use parser state.
5503 (go_parse): Likewise.
5504 * go-lang.h: Forward declare "struct parser_state".
5505 (go_parse): Add "struct parser_state" argument.
5506
5507 2014-03-27 Doug Evans <dje@google.com>
5508
5509 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5510
5511 2014-03-27 Doug Evans <dje@google.com>
5512
5513 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5514 Remove argument abbrev_section. All callers updated.
5515
5516 2014-03-27 Doug Evans <dje@google.com>
5517
5518 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5519 addr_base, ranges_base.
5520
5521 2014-03-26 Keith Seitz <keiths@redhat.com>
5522
5523 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5524 types, not VAR_DOMAIN.
5525
5526 2014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5527
5528 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5529 "ra" registers.
5530 * features/nios2-linux.c: Regenerated.
5531 * features/nios2.c: Regenerated.
5532
5533 2014-03-25 Pedro Alves <palves@redhat.com>
5534
5535 * cli/cli-script.c (script_from_file): Force the interpreter to
5536 sync mode.
5537
5538 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5539
5540 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5541 small stack allocation.
5542
5543 2014-03-24 Tristan Gingold <gingold@adacore.com>
5544
5545 * darwin-nat.c (exc_server): Remove unused prototype.
5546 (darwin_dump_message): Correctly display data on x86_64.
5547 (darwin_encode_reply): Fix style.
5548 Add comments and fix indentation.
5549
5550 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5551
5552 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5553
5554 2014-03-22 Doug Evans <xdje42@gmail.com>
5555
5556 * infcmd.c: Whitespace fixes.
5557 (interrupt_command): Merge two function comments into one.
5558
5559 2014-03-22 Doug Evans <xdje42@gmail.com>
5560
5561 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5562 All uses updated.
5563
5564 2014-03-22 Yao Qi <yao@codesourcery.com>
5565
5566 * remote.c (target_read_live_memory): Remove.
5567 (memory_xfer_live_readonly_partial): Rename it to
5568 remote_xfer_live_readonly_partial. Remove argument 'object'.
5569 All callers updated. Call remote_read_bytes_1
5570 instead of target_read_live_memory.
5571 * tracepoint.c (set_traceframe_number): Remove.
5572 (make_cleanup_restore_traceframe_number): Likewise .
5573 * tracepoint.h (set_traceframe_number): Remove declaration.
5574 (make_cleanup_restore_traceframe_number): Likewise.
5575
5576 2014-03-22 Yao Qi <yao@codesourcery.com>
5577
5578 * remote.c (remote_read_bytes): Move code on reading from the
5579 remote stub to ...
5580 (remote_read_bytes_1): ... here. New function.
5581
5582 2014-03-22 Yao Qi <yao@codesourcery.com>
5583
5584 * ctf.c (ctf_xfer_partial): Check the return value of
5585 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5586 return TARGET_XFER_UNAVAILABLE.
5587 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5588 * target.c (target_read_live_memory): Move it to remote.c.
5589 (memory_xfer_live_readonly_partial): Likewise.
5590 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5591 * remote.c (target_read_live_memory): Moved from target.c.
5592 (memory_xfer_live_readonly_partial): Likewise.
5593 (remote_read_bytes): Factored out from
5594 memory_xfer_partial_1.
5595
5596 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5597
5598 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5599 NULL pointer.
5600
5601 2014-03-21 Pedro Alves <palves@redhat.com>
5602
5603 * infrun.c (normal_stop): Extend comment.
5604
5605 2014-03-21 Hui Zhu <hui@codesourcery.com>
5606 Pedro Alves <palves@redhat.com>
5607
5608 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5609 static buffer.
5610 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5611 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5612 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5613
5614 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5615
5616 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5617 `z' formatted output modifier.
5618
5619 2014-03-20 Tom Tromey <tromey@redhat.com>
5620 Sergio Durigan Junior <sergiodj@redhat.com>
5621
5622 * probe.c (parse_probes): Turn assert into an ordinary error.
5623 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5624 exceptions when parsing probes. Rearrange the code for clarity.
5625
5626 2014-03-20 Tom Tromey <tromey@redhat.com>
5627
5628 PR gdb/14135
5629 * top.c (execute_command): Only dispatch events if the command
5630 started the target.
5631
5632 2014-03-20 Tom Tromey <tromey@redhat.com>
5633
5634 PR cli/15718
5635 * infcall.c: Include event-top.h.
5636 (run_inferior_call): Call async_disable_stdin if needed.
5637
5638 2014-03-20 Pedro Alves <palves@redhat.com>
5639
5640 * infrun.c (prepare_to_proceed): Delete.
5641 (thread_still_needs_step_over): New function.
5642 (find_thread_needs_step_over): New function.
5643 (proceed): If the current thread needs a step-over, set its
5644 steping_over_breakpoint flag. Adjust to use
5645 find_thread_needs_step_over instead of prepare_to_proceed.
5646 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5647 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5648 breakpoint.
5649 (switch_back_to_stepped_thread): Step over breakpoints of all
5650 threads not the stepping thread, before switching back to the
5651 stepping thread.
5652
5653 2014-03-20 Pedro Alves <palves@redhat.com>
5654
5655 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5656 extern.
5657 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5658 * infrun.c (saved_singlestep_ptid)
5659 (stepping_past_singlestep_breakpoint): Delete.
5660 (resume): Remove stepping_past_singlestep_breakpoint handling.
5661 (proceed): Store the prev_pc of the stepping thread too.
5662 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5663 singlestep_pc.
5664 (enum infwait_states): Delete infwait_thread_hop_state.
5665 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5666 field.
5667 (handle_inferior_event): Adjust.
5668 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5669 handling and the thread-hop code. Before removing single-step
5670 breakpoints, check whether the thread hit a single-step breakpoint
5671 of another thread. If it did, the trap is not a random signal.
5672 (switch_back_to_stepped_thread): If the event thread hit a
5673 single-step breakpoint, unblock it before switching to the
5674 stepping thread. Handle the case of the stepped thread having
5675 advanced already.
5676 (keep_going): Handle the case of the current thread moving past a
5677 single-step breakpoint.
5678
5679 2014-03-20 Pedro Alves <palves@redhat.com>
5680
5681 PR breakpoints/7143
5682 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5683 are being stepped over.
5684 (breakpoint_address_match): Make extern.
5685 * breakpoint.h (breakpoint_address_match): New declaration.
5686 * inferior.h (stepping_past_instruction_at): New declaration.
5687 * infrun.c (struct step_over_info): New type.
5688 (step_over_info): New global.
5689 (set_step_over_info, clear_step_over_info)
5690 (stepping_past_instruction_at): New functions.
5691 (handle_inferior_event): Clear the step-over info when
5692 trap_expected is cleared.
5693 (resume): Remove now stale comment.
5694 (clear_proceed_status): Clear step-over info.
5695 (proceed): Adjust step-over handling to set or clear the step-over
5696 info instead of removing all breakpoints.
5697 (handle_signal_stop): When setting up a thread-hop, don't remove
5698 breakpoints here.
5699 (stop_stepping): Clear step-over info.
5700 (keep_going): Adjust step-over handling to set or clear step-over
5701 info and then always inserting breakpoints, instead of removing
5702 all breakpoints when stepping over one.
5703
5704 2014-03-20 Pedro Alves <palves@redhat.com>
5705
5706 * infrun.c (previous_inferior_ptid): Adjust comment.
5707 (deferred_step_ptid): Delete.
5708 (infrun_thread_ptid_changed, prepare_to_proceed)
5709 (init_wait_for_inferior): Adjust.
5710 (handle_signal_stop): Delete deferred_step_ptid handling.
5711
5712 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5713
5714 PR gdb/15358
5715 * defs.h (sync_quit_force_run): New declaration.
5716 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5717 * event-top.c (async_sigterm_handler): New declaration.
5718 (async_sigterm_token): New variable.
5719 (async_init_signals): Create also async_sigterm_token.
5720 (async_sigterm_handler): New function.
5721 (sync_quit_force_run): New variable.
5722 (handle_sigterm): Replace quit_force call by other calls.
5723 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5724
5725 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5726
5727 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5728 offset into SPE pseudo registers.
5729
5730 2014-03-18 Pedro Alves <palves@redhat.com>
5731
5732 PR gdb/13860
5733 * inferior.h (print_stop_event): Declare.
5734 * infrun.c (print_stop_event): New, factored out from ...
5735 (normal_stop): ... this.
5736 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5737 of bpstat_print/print_stack_frame.
5738
5739 2014-03-17 Tom Tromey <tromey@redhat.com>
5740
5741 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5742
5743 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5744
5745 * ada-lang.c (decode_constrained_packed_array): Perform a
5746 minimal coercion for reference with coerce_ref instead of
5747 ada_coerce_ref.
5748
5749 2014-03-17 Tristan Gingold <gingold@adacore.com>
5750
5751 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5752 (darwin_solib_create_inferior_hook): Emit a warning if version
5753 is unhandled.
5754
5755 2014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5756
5757 * python/py-value.c (get_field_flag): Cast flag_name argument to
5758 PyObject_GetAttrString to support Python 2.4.
5759
5760 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5761
5762 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5763 (Global Maintainers): Remove Jan Kratochvil.
5764
5765 2014-03-14 Pedro Alves <palves@redhat.com>
5766
5767 * inferior.h (terminal_ours_for_output): Rename to ...
5768 (child_terminal_ours_for_output): ... this.
5769 (terminal_save_ours): Rename to ...
5770 (child_terminal_save_ours): ... this.
5771 (terminal_ours): Rename to ...
5772 (child_terminal_ours): ... this.
5773 (terminal_inferior): Rename to ...
5774 (child_terminal_inferior): ... this.
5775 (terminal_init_inferior): Rename to ...
5776 (child_terminal_init_inferior): ... this.
5777 (terminal_init_inferior_with_pgrp): Rename to ...
5778 (child_terminal_init_inferior_with_pgrp): ... this.
5779 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5780 (child_terminal_init_with_pgrp): ... this.
5781 (terminal_save_ours): Rename to ...
5782 (child_terminal_save_ours): ... this.
5783 (terminal_init_inferior): Rename to ...
5784 (child_terminal_init): ... this. Adjust.
5785 (terminal_inferior): Rename to ...
5786 (child_terminal_inferior): ... this.
5787 (terminal_ours_for_output): Rename to ...
5788 (child_terminal_ours_for_output): ... this. Adjust.
5789 (terminal_ours): Rename to ...
5790 (child_terminal_ours): ... this.
5791 (terminal_ours_1): Rename to ...
5792 (child_terminal_ours_1): ... this. Adjust.
5793 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5794 * windows-nat.c (do_initial_windows_stuff): Adjust.
5795 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5796 (gnu_terminal_init): ... this. Adjust.
5797 (gnu_target): Adjust.
5798 * inf-child.c (inf_child_target): Adjust.
5799
5800 2014-03-13 Doug Evans <xdje42@gmail.com>
5801
5802 PR guile/16612
5803 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5804 new eq?-hashtab.
5805
5806 2014-03-13 Doug Evans <xdje42@gmail.com>
5807
5808 * value.c (record_latest_value): Call release_value_or_incref
5809 instead of release_value.
5810
5811 2014-03-13 Pedro Alves <palves@redhat.com>
5812
5813 * procfs.c (procfs_target): Don't override to_shortname,
5814 to_longname or to_doc.
5815
5816 2014-03-13 Pedro Alves <palves@redhat.com>
5817
5818 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5819 Unix in user visible strings.
5820
5821 2014-03-12 Stan Shebs <stan@codesourcery.com>
5822
5823 * gdbtypes.h: Annotate comments for Doxygen, add a page
5824 block comment with some general info.
5825
5826 2014-03-12 Pedro Alves <palves@redhat.com>
5827
5828 * infcmd.c (prepare_execution_command): New function, factored out
5829 from several execution commands.
5830 (run_command_1, continue_command, step_1, jump_command)
5831 (signal_command, until_command, advance_command, finish_command)
5832 (attach_command): Use prepare_execution_command.
5833
5834 2014-03-12 Omair Javaid <omair.javaid@linaro.org>
5835
5836 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
5837 (MAX_BPTS): Define.
5838 (MAX_WPTS): Define.
5839 (struct arm_linux_thread_points): Removed.
5840 (struct arm_linux_process_info): New.
5841 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
5842 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
5843 (arm_linux_find_breakpoints_by_tid): Removed.
5844 (struct arch_lwp_info): New.
5845 (arm_linux_find_process_pid): New functions.
5846 (arm_linux_add_process): New functions.
5847 (arm_linux_process_info_get): New functions.
5848 (arm_linux_forget_process): New function.
5849 (arm_linux_get_debug_reg_state): New function.
5850 (struct update_registers_data): New.
5851 (update_registers_callback): New function.
5852 (arm_linux_insert_hw_breakpoint1): Updated.
5853 (arm_linux_remove_hw_breakpoint1): Updated.
5854 (arm_linux_insert_hw_breakpoint): Updated.
5855 (arm_linux_remove_hw_breakpoint): Updated.
5856 (arm_linux_insert_watchpoint): Updated.
5857 (arm_linux_remove_watchpoint): Updated.
5858 (arm_linux_new_thread): Updated.
5859 (arm_linux_prepare_to_resume): New function.
5860 (arm_linux_new_fork): New function.
5861 (_initialize_arm_linux_nat): Updated.
5862
5863 2014-03-12 Pedro Alves <palves@redhat.com>
5864
5865 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
5866
5867 2014-03-12 Tom Tromey <tromey@redhat.com>
5868
5869 * inf-child.c (return_zero): New function.
5870 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
5871 * aix-thread.c (aix_thread_inferior_created): New function.
5872 (aix_thread_attach): Remove.
5873 (init_aix_thread_ops): Don't set to_attach.
5874 (_initialize_aix_thread): Register inferior_created observer.
5875 * corelow.c (init_core_ops): Don't set to_attach or
5876 to_create_inferior.
5877 * exec.c (init_exec_ops): Don't set to_attach or
5878 to_create_inferior.
5879 * infcmd.c (run_command_1): Use find_run_target. Make direct
5880 target calls.
5881 (attach_command): Use find_attach_target. Make direct target
5882 calls.
5883 * record-btrace.c (init_record_btrace_ops): Don't set
5884 to_create_inferior.
5885 * record-full.c (record_full_can_async_p, record_full_is_async_p):
5886 Remove.
5887 (init_record_full_ops, init_record_full_core_ops): Update. Don't
5888 set to_create_inferior.
5889 * target.c (complete_target_initialization): Add assertion.
5890 (target_create_inferior): Remove.
5891 (find_default_attach, find_default_create_inferior): Remove.
5892 (find_attach_target, find_run_target): New functions.
5893 (find_default_is_async_p, find_default_can_async_p)
5894 (target_supports_non_stop, target_attach): Remove.
5895 (init_dummy_target): Don't set to_create_inferior or
5896 to_supports_non_stop.
5897 * target.h (struct target_ops) <to_attach>: Add comment. Remove
5898 TARGET_DEFAULT_FUNC.
5899 <to_create_inferior>: Add comment.
5900 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
5901 TARGET_DEFAULT_RETURN.
5902 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
5903 (find_attach_target, find_run_target): Declare.
5904 (target_create_inferior): Remove.
5905 (target_has_execution_1): Update comment.
5906 (target_supports_non_stop): Remove.
5907 * target-delegates.c: Rebuild.
5908
5909 2014-03-12 Pedro Alves <palves@redhat.com>
5910
5911 * inf-child.h: Update comment to not mention Unix.
5912
5913 2014-03-12 Pedro Alves <palves@redhat.com>
5914
5915 * inf-child.c: Update top comment to not mention Unix. Add
5916 generic comment describing how this target is meant to be used.
5917 (inf_child_post_attach, inf_child_post_startup_inferior)
5918 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
5919 Unix in comment.
5920
5921 2014-03-12 Pedro Alves <palves@redhat.com>
5922
5923 * nto-procfs.c: Include inf-child.h.
5924 (procfs_ops): Delete global.
5925 (procfs_can_run): Delete method.
5926 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
5927 target pointer instead of referencing procfs_ops.
5928 (procfs_prepare_to_store): Delete.
5929 (init_procfs_ops): Delete function.
5930 (procfs_target): New function, based on init_procfs_ops, but
5931 inherit inf_child_target.
5932 (_initialize_procfs): Use procfs_target.
5933
5934 2014-03-12 Pedro Alves <palves@redhat.com>
5935
5936 * windows-nat.c: Include inf-child.h.
5937 (windows_ops): Delete global.
5938 (windows_open, windows_prepare_to_store, windows_can_run): Delete
5939 methods.
5940 (init_windows_ops): Delete function.
5941 (windows_target): New function, based on init_windows_ops, but
5942 inherit inf_child_target.
5943 (_initialize_windows_nat): Use windows_target. Install x86
5944 specific target methods here.
5945
5946 2014-03-10 Doug Evans <xdje42@gmail.com>
5947
5948 * guile/guile.c (call_initialize_gdb_module): New function.
5949 (initialize_guile): Replace call to scm_init_guile with call to
5950 scm_with_guile.
5951
5952 2014-03-10 Joel Brobecker <brobecker@adacore.com>
5953
5954 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
5955 in call to TYPE_CODE macro.
5956
5957 2014-03-10 Jerome Guitton <guitton@adacore.com>
5958
5959 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
5960 Resolve tagged types to full view.
5961
5962 2014-03-10 Hui Zhu <hui@codesourcery.com>
5963
5964 * target.h (target_insert_breakpoint): Remove "hardware" from its
5965 comments.
5966
5967 2014-03-07 Doug Evans <dje@google.com>
5968
5969 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
5970
5971 2014-03-07 Doug Evans <dje@google.com>
5972
5973 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
5974 Remove unused local comp_dir_attr. Assert exactly one of
5975 stub_comp_unit_die, stub_comp_dir is non-NULL.
5976
5977 2014-03-07 Joel Brobecker <brobecker@adacore.com>
5978
5979 * target.h (complete_target_initialization, add_target):
5980 Add comment.
5981
5982 2014-03-07 Pedro Alves <palves@redhat.com>
5983
5984 * go32-nat.c: Include inf-child.h.
5985 (go32_ops): Delete global.
5986 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
5987 Delete methods.
5988 (go32_create_inferior): Push the passed in target pointer instead
5989 of referencing go32_ops.
5990 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
5991 (go32_target): New function, based on init_go32_ops, but inherit
5992 inf_child_target.
5993 (_initialize_go32_nat): Use go32_target. Move parts of
5994 init_go32_ops here.
5995
5996 2014-03-06 Joel Brobecker <brobecker@adacore.com>
5997
5998 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
5999 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6000 SYMBOL_VALUE_ADDRESS.
6001 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6002
6003 2014-03-06 Yao Qi <yao@codesourcery.com>
6004
6005 * breakpoint.c (get_tracepoint_by_number): Remove argument
6006 optional_p. All callers updated. Adjust comments. Update
6007 output message.
6008 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6009
6010 2014-03-06 Yao Qi <yao@codesourcery.com>
6011
6012 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6013 early if get_number returns zero. Use 'p' instead of 'args'.
6014
6015 2014-03-06 Yao Qi <yao@codesourcery.com>
6016
6017 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6018 message.
6019
6020 2014-03-06 Yao Qi <yao@codesourcery.com>
6021
6022 PR breakpoints/16508
6023 * tracepoint.c (check_trace_running): New function.
6024 (trace_find_command): Move code to check_trace_running and
6025 call check_trace_running.
6026 (trace_find_pc_command): Likewise.
6027 (trace_find_tracepoint_command): Likewise.
6028 (trace_find_line_command): Likewise.
6029 (trace_find_range_command): Likewise.
6030 * tracepoint.h (check_trace_running): Likewise.
6031 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6032
6033 2014-03-06 Yao Qi <yao@codesourcery.com>
6034
6035 * target.h (struct target_ops) <to_traceframe_info>: Use
6036 TARGET_DEFAULT_NORETURN (tcomplain ()).
6037 * target-delegates.c: Regenerated.
6038
6039 2014-03-05 Pedro Alves <palves@redhat.com>
6040
6041 PR gdb/16575
6042 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6043 void. Update comment.
6044 (dcache_xfer_memory): Delete.
6045 (dcache_read_memory_partial): New, based on the read bits of
6046 dcache_xfer_memory.
6047 (dcache_update): Add status parameter. Use ULONGEST for len, and
6048 adjust. Discard cache lines if the reason for the update was
6049 error.
6050 * dcache.h (dcache_xfer_memory): Delete declaration.
6051 (dcache_read_memory_partial): New declaration.
6052 (dcache_update): Update prototype.
6053 * target.c (raw_memory_xfer_partial): Update the dcache here.
6054 (memory_xfer_partial_1): Don't handle dcache writes here.
6055
6056 2014-03-05 Mike Frysinger <vapier@gentoo.org>
6057
6058 * remote-sim.c (gdbsim_load): Add const to prog.
6059
6060 2014-03-03 Tom Tromey <tromey@redhat.com>
6061
6062 * elfread.c (probe_key): Change to bfd_data.
6063 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6064 now per-BFD, not per-objfile.
6065 * stap-probe.c (stap_probe_destroy): Update comment.
6066 (handle_stap_probe): Allocate on the per-BFD obstack.
6067
6068 2014-03-03 Tom Tromey <tromey@redhat.com>
6069
6070 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6071 * breakpoint.c (create_longjmp_master_breakpoint): Use
6072 get_probe_address.
6073 (add_location_to_breakpoint, bkpt_probe_insert_location)
6074 (bkpt_probe_remove_location): Update.
6075 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6076 * elfread.c (elf_symfile_relocate_probe): Remove.
6077 (elf_probe_fns): Update.
6078 (insert_exception_resume_breakpoint): Change type of "probe"
6079 parameter to bound_probe.
6080 (check_exception_resume): Update.
6081 * objfiles.c (objfile_relocate1): Don't relocate probes.
6082 * probe.c (bound_probe_s): New typedef.
6083 (parse_probes): Use get_probe_address. Set sal's objfile.
6084 (find_probe_by_pc): Return a bound_probe.
6085 (collect_probes): Return a VEC(bound_probe_s).
6086 (compare_probes): Update.
6087 (gen_ui_out_table_header_info): Change type of "probes"
6088 parameter. Update.
6089 (info_probes_for_ops): Update.
6090 (get_probe_address): New function.
6091 (probe_safe_evaluate_at_pc): Update.
6092 * probe.h (struct probe_ops) <get_probe_address>: New field.
6093 <set_semaphore, clear_semaphore>: Add objfile parameter.
6094 (struct probe) <objfile>: Remove field.
6095 <arch>: New field.
6096 <address>: Update comment.
6097 (struct bound_probe): New.
6098 (find_probe_by_pc): Return a bound_probe.
6099 (get_probe_address): Declare.
6100 * solib-svr4.c (struct probe_and_action) <address>: New field.
6101 (hash_probe_and_action, equal_probe_and_action): Update.
6102 (register_solib_event_probe): Add address parameter.
6103 (solib_event_probe_at): Update.
6104 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6105 get_probe_address.
6106 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6107 (stap_get_probe_address): New function.
6108 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6109 (compile_probe_arg): Update.
6110 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6111 address.
6112 (handle_stap_probe): Don't relocate the probe.
6113 (stap_relocate): Remove.
6114 (stap_gen_info_probes_table_values): Update.
6115 (stap_probe_ops): Remove stap_relocate.
6116 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6117 (debug_sym_probe_fns): Update.
6118 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6119 * symtab.c (init_sal): Use memset.
6120 * symtab.h (struct symtab_and_line) <objfile>: New field.
6121 * tracepoint.c (start_tracing, stop_tracing): Update.
6122
6123 2014-03-03 Tom Tromey <tromey@redhat.com>
6124
6125 * probe.h (parse_probes, find_probe_by_pc)
6126 (find_probes_in_objfile): Fix comments.
6127
6128 2014-03-02 Doug Evans <xdje42@gmail.com>
6129
6130 * infrun.c (handle_signal_stop): Replace test for
6131 TARGET_WAITKIND_STOPPED with an assert.
6132
6133 2014-03-02 Doug Evans <xdje42@gmail.com>
6134
6135 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6136
6137 2014-03-02 Doug Evans <xdje42@gmail.com>
6138
6139 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6140
6141 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6142
6143 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6144
6145 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6146
6147 * i386obsd-nat.c: Include "obsd-nat.h".
6148 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6149 add_target.
6150 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6151
6152 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6153
6154 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6155
6156 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6157
6158 * mips64obsd-nat.c: Include "obsd-nath".
6159 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6160 add_target
6161 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6162
6163 2014-03-01 Mark Kettenis <kettenis@gnu.org>
6164
6165 * amd64obsd-nat.c: Include "obsd-nat,h.
6166 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6167 add_target.
6168 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6169
6170 2014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6171
6172 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6173 (find_overload_match): Update call to find_oload_champ.
6174 (find_oload_champ_namespace_loop): Likewise
6175
6176 2014-02-28 Mark Kettenis <kettenis@gnu.org>
6177
6178 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6179
6180 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6181 * config/sparc/obsd64.mh: New file.
6182 * sparc64obsd-nat.c: New file.
6183
6184 * obsd-nat.h: New file.
6185 * obsd-nat.c: New file.
6186 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6187 (ALLDEPFILES): Add obsd-nat.c.
6188
6189 2014-02-28 Tom Tromey <tromey@redhat.com>
6190
6191 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6192 * cli-out.h (cli_ui_out_impl): Now const.
6193 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6194 * ui-out.c (struct ui_out) <impl>: Now const.
6195 (default_ui_out_impl): Now const.
6196 (ui_out_new): Make 'impl' parameter const.
6197 * ui-out.h (ui_out_new): Update.
6198
6199 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6200
6201 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6202
6203 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6204
6205 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6206
6207 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6208
6209 Additional PR 8882 fix.
6210 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6211
6212 2014-02-27 Pedro Alves <palves@redhat.com>
6213
6214 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6215 isn't set.
6216
6217 2014-02-27 Pedro Alves <palves@redhat.com>
6218
6219 PR 12702
6220 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6221 * nat/linux-waitpid.c: Include string.h.
6222 (status_to_str): Moved here and made extern.
6223 * nat/linux-waitpid.h (status_to_str): New declaration.
6224
6225 2014-02-27 Hui Zhu <hui@codesourcery.com>
6226
6227 PR 12702
6228 * infrun.c (ptid_match): Move ...
6229 * common/ptid.c (ptid_match): ... here.
6230 * inferior.h (ptid_match): Move ...
6231 * common/ptid.h (ptid_match): ... here.
6232
6233 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6234
6235 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6236 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6237 gdb_target_obs.
6238
6239 2014-02-27 Mark Kettenis <kettenis@gnu.org>
6240
6241 * obsd-tdep.c (obsd_auxv_parse): New function.
6242 (obsd_init_abi): Set auxv_parse.
6243
6244 * gdbarch.sh (auxv_parse): New.
6245 * gdbarch.h: Regenerated.
6246 * gdbarch.c: Regenerated.
6247 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6248
6249 2014-02-26 Ludovic Courtès <ludo@gnu.org>
6250
6251 * guile/scm-value.c (gdbscm_history_append_x): New function.
6252 (value_functions): Add it.
6253
6254 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6255
6256 * dwarf2read.c (attr_value_as_address): New function.
6257 (dwarf2_find_base_address, read_call_site_scope): Use
6258 attr_value_as_address in place of DW_ADDR.
6259 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6260 the low and high addresses. Slight rework of the handling
6261 of the high pc being a constant form, and limit it to
6262 DWARF verson 4 or higher.
6263 (dwarf2_record_block_ranges): Likewise.
6264 (read_partial_die): Likewise.
6265 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6266
6267 2014-02-26 Tom Tromey <tromey@redhat.com>
6268
6269 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6270
6271 2014-02-26 Tom Tromey <tromey@redhat.com>
6272
6273 * elfread.c (elf_read_minimal_symbols): Return early if
6274 minimal symbols have already been read. Add "ei" parameter.
6275 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6276 * minsyms.c (prim_record_minimal_symbol_full): Update.
6277 * objfiles.h (struct objstats) <n_minsyms>: Move...
6278 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6279 * symmisc.c (print_objfile_statistics): Update.
6280
6281 2014-02-26 Tom Tromey <tromey@redhat.com>
6282
6283 * elfread.c (elf_read_minimal_symbols): New function, from
6284 elf_symfile_read.
6285 (elf_symfile_read): Call it.
6286
6287 2014-02-26 Tom Tromey <tromey@redhat.com>
6288
6289 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6290 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6291 (lookup_minimal_symbol_solib_trampoline)
6292 (lookup_minimal_symbol_by_pc_section_1)
6293 (lookup_minimal_symbol_and_objfile): Update.
6294 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6295 Don't allocate a minimal symbol if minsyms have already been read.
6296 (build_minimal_symbol_hash_tables): Update.
6297 (install_minimal_symbols): Do nothing if minsyms already read.
6298 Use the per-BFD obstack.
6299 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6300 * objfiles.c (allocate_objfile): Call
6301 terminate_minimal_symbol_table later.
6302 (have_minimal_symbols): Update.
6303 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6304 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6305 Move from struct objfile.
6306 <minsyms_read>: New field.
6307 (struct objfile) <msymbols, minimal_symbol_count,
6308 msymbol_hash, msymbol_demangled_hash>: Move.
6309 (ALL_OBJFILE_MSYMBOLS): Update.
6310 * symfile.c (read_symbols): Set minsyms_read.
6311 (reread_symbols): Update.
6312 * symmisc.c (dump_objfile, dump_msymbols): Update.
6313
6314 2014-02-26 Tom Tromey <tromey@redhat.com>
6315
6316 * minsyms.c (msymbols_sort): Remove.
6317 * minsyms.h (msymbols_sort): Remove.
6318 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6319 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6320 * elfread.c (elf_symtab_read): Don't add section offsets.
6321 * xcoffread.c (record_minimal_symbol): Don't add section offset
6322 to minimal symbol address.
6323 * somread.c (text_offset, data_offset): Remove.
6324 (som_symtab_read): Don't add section offsets to minimal symbol
6325 addresses.
6326 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6327 Don't add section offsets to minimal symbols.
6328 * coffread.c (coff_symtab_read): Don't add section offsets
6329 to minimal symbol addresses.
6330 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6331 to minimal symbol addresses.
6332 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6333 section offset to minimal symbol addresses.
6334 * mdebugread.c (parse_partial_symbols): Don't add section
6335 offset to minimal symbol addresses.
6336 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6337 offset to minimal symbol addresses.
6338
6339 2014-02-26 Tom Tromey <tromey@redhat.com>
6340
6341 * ada-lang.c (ada_main_name): Update.
6342 (ada_add_standard_exceptions): Update.
6343 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6344 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6345 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6346 * auxv.c (ld_so_xfer_auxv): Update.
6347 * avr-tdep.c (avr_scan_prologue): Update.
6348 * ax-gdb.c (gen_var_ref): Update.
6349 * blockframe.c (get_pc_function_start)
6350 (find_pc_partial_function_gnu_ifunc): Update.
6351 * breakpoint.c (create_overlay_event_breakpoint)
6352 (create_longjmp_master_breakpoint)
6353 (create_std_terminate_master_breakpoint)
6354 (create_exception_master_breakpoint): Update.
6355 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6356 * c-valprint.c (c_val_print): Update.
6357 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6358 * common/agent.c (agent_look_up_symbols): Update.
6359 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6360 * dwarf2loc.c (call_site_to_target_addr): Update.
6361 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6362 * elfread.c (elf_gnu_ifunc_record_cache)
6363 (elf_gnu_ifunc_resolve_by_got): Update.
6364 * findvar.c (default_read_var_value): Update.
6365 * frame.c (inside_main_func): Update.
6366 * frv-tdep.c (frv_frame_this_id): Update.
6367 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6368 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6369 Update.
6370 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6371 (hppa_hpux_find_dummy_bpaddr): Update.
6372 * hppa-tdep.c (hppa_symbol_address): Update.
6373 * infcmd.c (until_next_command): Update.
6374 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6375 Update.
6376 * linespec.c (minsym_found, add_minsym): Update.
6377 * linux-nat.c (get_signo): Update.
6378 * linux-thread-db.c (inferior_has_bug): Update.
6379 * m32c-tdep.c (m32c_return_value)
6380 (m32c_m16c_address_to_pointer): Update.
6381 * m32r-tdep.c (m32r_frame_this_id): Update.
6382 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6383 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6384 * maint.c (maintenance_translate_address): Update.
6385 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6386 (frob_address): New function.
6387 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6388 frob_address. Rename parameter to "pc_in".
6389 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6390 addresses.
6391 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6392 Update.
6393 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6394 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6395 * objc-lang.c (find_objc_msgsend): Update.
6396 * objfiles.c (objfile_relocate1): Update.
6397 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6398 * p-valprint.c (pascal_val_print): Update.
6399 * parse.c (write_exp_msymbol): Update.
6400 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6401 (ppc_elfv2_skip_entrypoint): Update.
6402 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6403 * printcmd.c (build_address_symbolic, msym_info)
6404 (address_info): Update.
6405 * proc-service.c (ps_pglobal_lookup): Update.
6406 * psymtab.c (find_pc_sect_psymtab_closer)
6407 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6408 Change msymbol parameter to bound_minimal_symbol.
6409 * ravenscar-thread.c (get_running_thread_id): Update.
6410 * remote.c (remote_check_symbols): Update.
6411 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6412 address.
6413 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6414 * solib-dsbt.c (lm_base): Update.
6415 * solib-frv.c (lm_base, main_got): Update.
6416 * solib-irix.c (locate_base): Update.
6417 * solib-som.c (som_solib_create_inferior_hook)
6418 (link_map_start): Update.
6419 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6420 * solib-svr4.c (elf_locate_base, enable_break): Update.
6421 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6422 (flush_ea_cache): Update.
6423 * stabsread.c (define_symbol, scan_file_globals): Update.
6424 * stack.c (find_frame_funname): Update.
6425 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6426 (debug_qf_find_pc_sect_symtab): Update.
6427 * symfile.c (simple_read_overlay_table)
6428 (simple_overlay_update): Update.
6429 * symfile.h (struct quick_symbol_functions)
6430 <find_pc_sect_symtab>: Change type of msymbol to
6431 bound_minimal_symbol.
6432 * symmisc.c (dump_msymbols): Update.
6433 * symtab.c (find_pc_sect_symtab_via_partial)
6434 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6435 (search_symbols, print_msymbol_info): Update.
6436 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6437 (MSYMBOL_VALUE_ADDRESS): Redefine.
6438 (BMSYMBOL_VALUE_ADDRESS): New macro.
6439 * tracepoint.c (scope_info): Update.
6440 * tui/tui-disasm.c (tui_find_disassembly_address)
6441 (tui_get_begin_asm_address): Update.
6442 * valops.c (find_function_in_inferior): Update.
6443 * value.c (value_static_field, value_fn_field): Update.
6444
6445 2014-02-26 Tom Tromey <tromey@redhat.com>
6446
6447 * ada-lang.c (ada_update_initial_language): Update.
6448 (ada_main_name, ada_has_this_exception_support): Update.
6449 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6450 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6451 * arm-tdep.c (arm_skip_stub): Update.
6452 * auxv.c (ld_so_xfer_auxv): Update.
6453 * avr-tdep.c (avr_scan_prologue): Update.
6454 * ax-gdb.c (gen_var_ref): Update.
6455 * breakpoint.c (struct breakpoint_objfile_data)
6456 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6457 type to bound_minimal_symbol.
6458 (create_overlay_event_breakpoint)
6459 (create_longjmp_master_breakpoint)
6460 (create_std_terminate_master_breakpoint)
6461 (create_exception_master_breakpoint): Update.
6462 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6463 * c-exp.y (classify_name): Update.
6464 * coffread.c (coff_symfile_read): Update.
6465 * common/agent.c (agent_look_up_symbols): Update.
6466 * d-lang.c (d_main_name): Update.
6467 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6468 * dec-thread.c (enable_dec_thread): Update.
6469 * dwarf2loc.c (call_site_to_target_addr): Update.
6470 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6471 * eval.c (evaluate_subexp_standard): Update.
6472 * findvar.c (struct minsym_lookup_data) <result>: Change type
6473 to bound_minimal_symbol.
6474 <objfile>: Remove.
6475 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6476 * frame.c (inside_main_func): Update.
6477 * frv-tdep.c (frv_frame_this_id): Update.
6478 * gcore.c (call_target_sbrk): Update.
6479 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6480 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6481 Update.
6482 * go-lang.c (go_main_name): Update.
6483 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6484 (hppa_hpux_find_import_stub_for_addr): Update.
6485 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6486 Update. Change return type.
6487 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6488 type.
6489 * jit.c (jit_breakpoint_re_set_internal): Update.
6490 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6491 Update.
6492 * linux-nat.c (get_signo): Update.
6493 * linux-thread-db.c (inferior_has_bug): Update
6494 * m32c-tdep.c (m32c_return_value)
6495 (m32c_m16c_address_to_pointer): Update.
6496 * m32r-tdep.c (m32r_frame_this_id): Update.
6497 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6498 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6499 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6500 lookup_minimal_symbol. Change return type.
6501 (lookup_minimal_symbol): Remove.
6502 (lookup_bound_minimal_symbol): Update.
6503 (lookup_minimal_symbol_text): Change return type.
6504 (lookup_minimal_symbol_solib_trampoline): Change return type.
6505 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6506 (lookup_minimal_symbol_solib_trampoline): Change return type.
6507 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6508 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6509 (value_nsstring, find_imps): Update.
6510 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6511 * p-lang.c (pascal_main_name): Update.
6512 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6513 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6514 * proc-service.c (ps_pglobal_lookup): Update.
6515 * ravenscar-thread.c (get_running_thread_msymbol): Change
6516 return type.
6517 (has_ravenscar_runtime, get_running_thread_id): Update.
6518 * remote.c (remote_check_symbols): Update.
6519 * sol-thread.c (ps_pglobal_lookup): Update.
6520 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6521 * solib-dsbt.c (lm_base): Update.
6522 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6523 Update.
6524 * solib-irix.c (locate_base): Update.
6525 * solib-som.c (som_solib_create_inferior_hook)
6526 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6527 Update.
6528 * solib-spu.c (spu_enable_break): Update.
6529 * solib-svr4.c (elf_locate_base, enable_break): Update.
6530 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6531 (flush_ea_cache): Update.
6532 * stabsread.c (define_symbol): Update.
6533 * symfile.c (simple_read_overlay_table): Update.
6534 * symtab.c (find_pc_sect_line): Update.
6535 * tracepoint.c (scope_info): Update.
6536 * tui-disasm.c (tui_get_begin_asm_address): Update.
6537 * value.c (value_static_field): Update.
6538
6539 2014-02-26 Tom Tromey <tromey@redhat.com>
6540
6541 * minsyms.c (prim_record_minimal_symbol_full): Use
6542 SET_MSYMBOL_VALUE_ADDRESS.
6543 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6544 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6545 SET_MSYMBOL_VALUE_ADDRESS.
6546 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6547 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6548
6549 2014-02-26 Tom Tromey <tromey@redhat.com>
6550
6551 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6552 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6553 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6554 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6555 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6556 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6557 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6558 * ada-lang.c (ada_main_name): Update.
6559 (ada_lookup_simple_minsym): Update.
6560 (ada_make_symbol_completion_list): Update.
6561 (ada_add_standard_exceptions): Update.
6562 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6563 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6564 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6565 * arm-tdep.c (skip_prologue_function): Update.
6566 (arm_skip_stack_protector, arm_skip_stub): Update.
6567 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6568 (arm_wince_skip_main_prologue): Update.
6569 * auxv.c (ld_so_xfer_auxv): Update.
6570 * avr-tdep.c (avr_scan_prologue): Update.
6571 * ax-gdb.c (gen_var_ref): Update.
6572 * block.c (call_site_for_pc): Update.
6573 * blockframe.c (get_pc_function_start): Update.
6574 (find_pc_partial_function_gnu_ifunc): Update.
6575 * breakpoint.c (create_overlay_event_breakpoint): Update.
6576 (create_longjmp_master_breakpoint): Update.
6577 (create_std_terminate_master_breakpoint): Update.
6578 (create_exception_master_breakpoint): Update.
6579 (resolve_sal_pc): Update.
6580 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6581 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6582 Update.
6583 * c-valprint.c (c_val_print): Update.
6584 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6585 * coffread.c (coff_symfile_read): Update.
6586 * common/agent.c (agent_look_up_symbols): Update.
6587 * dbxread.c (find_stab_function_addr): Update.
6588 (end_psymtab): Update.
6589 * dwarf2loc.c (call_site_to_target_addr): Update.
6590 (func_verify_no_selftailcall): Update.
6591 (tailcall_dump): Update.
6592 (call_site_find_chain_1): Update.
6593 (dwarf_expr_reg_to_entry_parameter): Update.
6594 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6595 (elf_gnu_ifunc_resolve_by_got): Update.
6596 * f-valprint.c (info_common_command): Update.
6597 * findvar.c (read_var_value): Update.
6598 * frame.c (get_prev_frame_1): Update.
6599 (inside_main_func): Update.
6600 * frv-tdep.c (frv_skip_main_prologue): Update.
6601 (frv_frame_this_id): Update.
6602 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6603 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6604 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6605 (gnuv3_skip_trampoline): Update.
6606 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6607 (hppa64_hpux_in_solib_call_trampoline): Update.
6608 (hppa_hpux_skip_trampoline_code): Update.
6609 (hppa64_hpux_search_dummy_call_sequence): Update.
6610 (hppa_hpux_find_import_stub_for_addr): Update.
6611 (hppa_hpux_find_dummy_bpaddr): Update.
6612 * hppa-tdep.c (hppa_symbol_address)
6613 (hppa_lookup_stub_minimal_symbol): Update.
6614 * i386-tdep.c (i386_skip_main_prologue): Update.
6615 (i386_pe_skip_trampoline_code): Update.
6616 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6617 * infcall.c (get_function_name): Update.
6618 * infcmd.c (until_next_command): Update.
6619 * jit.c (jit_breakpoint_re_set_internal): Update.
6620 (jit_inferior_init): Update.
6621 * linespec.c (minsym_found): Update.
6622 (add_minsym): Update.
6623 * linux-fork.c (info_checkpoints_command): Update.
6624 * linux-nat.c (get_signo): Update.
6625 * linux-thread-db.c (inferior_has_bug): Update.
6626 * m32c-tdep.c (m32c_return_value): Update.
6627 (m32c_m16c_address_to_pointer): Update.
6628 (m32c_m16c_pointer_to_address): Update.
6629 * m32r-tdep.c (m32r_frame_this_id): Update.
6630 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6631 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6632 * maint.c (maintenance_translate_address): Update.
6633 * minsyms.c (add_minsym_to_hash_table): Update.
6634 (add_minsym_to_demangled_hash_table): Update.
6635 (msymbol_objfile): Update.
6636 (lookup_minimal_symbol): Update.
6637 (iterate_over_minimal_symbols): Update.
6638 (lookup_minimal_symbol_text): Update.
6639 (lookup_minimal_symbol_by_pc_name): Update.
6640 (lookup_minimal_symbol_solib_trampoline): Update.
6641 (lookup_minimal_symbol_by_pc_section_1): Update.
6642 (lookup_minimal_symbol_and_objfile): Update.
6643 (prim_record_minimal_symbol_full): Update.
6644 (compare_minimal_symbols): Update.
6645 (compact_minimal_symbols): Update.
6646 (build_minimal_symbol_hash_tables): Update.
6647 (install_minimal_symbols): Update.
6648 (terminate_minimal_symbol_table): Update.
6649 (find_solib_trampoline_target): Update.
6650 (minimal_symbol_upper_bound): Update.
6651 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6652 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6653 (mips_skip_pic_trampoline_code): Update.
6654 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6655 * objc-lang.c (selectors_info): Update.
6656 (classes_info): Update.
6657 (find_methods): Update.
6658 (find_imps): Update.
6659 (find_objc_msgsend): Update.
6660 * objfiles.c (objfile_relocate1): Update.
6661 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6662 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6663 * p-valprint.c (pascal_val_print): Update.
6664 * parse.c (write_exp_msymbol): Update.
6665 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6666 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6667 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6668 * printcmd.c (build_address_symbolic): Update.
6669 (sym_info): Update.
6670 (address_info): Update.
6671 * proc-service.c (ps_pglobal_lookup): Update.
6672 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6673 (find_pc_sect_psymtab): Update.
6674 * python/py-framefilter.c (py_print_frame): Update.
6675 * ravenscar-thread.c (get_running_thread_id): Update.
6676 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6677 Update.
6678 * remote.c (remote_check_symbols): Update.
6679 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6680 (rs6000_skip_trampoline_code): Update.
6681 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6682 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6683 * solib-dsbt.c (lm_base): Update.
6684 * solib-frv.c (lm_base): Update.
6685 (main_got): Update.
6686 * solib-irix.c (locate_base): Update.
6687 * solib-som.c (som_solib_create_inferior_hook): Update.
6688 (som_solib_desire_dynamic_linker_symbols): Update.
6689 (link_map_start): Update.
6690 * solib-spu.c (spu_enable_break): Update.
6691 (ocl_enable_break): Update.
6692 * solib-svr4.c (elf_locate_base): Update.
6693 (enable_break): Update.
6694 * spu-tdep.c (spu_get_overlay_table): Update.
6695 (spu_catch_start): Update.
6696 (flush_ea_cache): Update.
6697 * stabsread.c (define_symbol): Update.
6698 (scan_file_globals): Update.
6699 * stack.c (find_frame_funname): Update.
6700 (frame_info): Update.
6701 * symfile.c (simple_read_overlay_table): Update.
6702 (simple_overlay_update): Update.
6703 * symmisc.c (dump_msymbols): Update.
6704 * symtab.c (fixup_section): Update.
6705 (find_pc_sect_line): Update.
6706 (skip_prologue_sal): Update.
6707 (search_symbols): Update.
6708 (print_msymbol_info): Update.
6709 (rbreak_command): Update.
6710 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6711 (completion_list_objc_symbol): Update.
6712 (default_make_symbol_completion_list_break_on): Update.
6713 * tracepoint.c (scope_info): Update.
6714 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6715 (tui_get_begin_asm_address): Update.
6716 * valops.c (find_function_in_inferior): Update.
6717 * value.c (value_static_field): Update.
6718 (value_fn_field): Update.
6719
6720 2014-02-26 Tom Tromey <tromey@redhat.com>
6721
6722 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6723 bound minimal symbols. Move code that knows about minsym
6724 table layout...
6725 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6726 function.
6727 * minsyms.h (minimal_symbol_upper_bound): Declare.
6728 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6729 minimal_symbol_upper_bound.
6730
6731 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6732
6733 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6734 Use the type's name if its basic type does not have a tag.
6735
6736 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6737
6738 * dwarf2read.c (read_subrange_type): Add comment.
6739
6740 2014-02-27 Joel Brobecker <brobecker@adacore.com>
6741
6742 * dwarf2read.c (update_enumeration_type_from_children): New
6743 function, mostly extracted from process_structure_scope.
6744 (read_enumeration_type): Call update_enumeration_type_from_children.
6745 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6746 and flag_flag_enum fields.
6747
6748 2014-02-26 Pedro Alves <palves@redhat.com>
6749
6750 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6751 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6752 to_xfer_partial method.
6753
6754 2014-02-26 Pedro Alves <palves@redhat.com>
6755
6756 * target.c (complete_target_initialization): Don't install
6757 default_xfer_partial as to_xfer_partial hook.
6758 (nomemory): Delete.
6759 (update_current_target): Don't INHERIT nor de_fault
6760 deprecated_xfer_memory. Delete de_fault macro.
6761 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6762 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6763 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6764 field.
6765
6766 2014-02-26 Pedro Alves <palves@redhat.com>
6767
6768 * go32-nat.c (my_write_child): New function.
6769 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6770 (go32_xfer_partial): New function.
6771 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6772 Instead install a to_xfer_partial hook.
6773
6774 2014-02-26 Pedro Alves <palves@redhat.com>
6775
6776 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6777 to_xfer_partial helper. Rewrite.
6778 (procfs_xfer_partial): New function.
6779 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6780 Install a to_xfer_partial hook.
6781
6782 2014-02-26 Pedro Alves <palves@redhat.com>
6783
6784 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6785 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6786 (m32r_xfer_partial): New function.
6787 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6788 Install a to_xfer_partial hook.
6789
6790 2014-02-26 Pedro Alves <palves@redhat.com>
6791
6792 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6793 helper.
6794 (mips_xfer_partial): New function.
6795 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6796 hook. Install a to_xfer_partial hook.
6797
6798 2014-02-26 Joel Brobecker <brobecker@adacore.com>
6799
6800 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6801 * gdbtypes.c (create_array_type_with_stride): New function,
6802 renaming create_array_type, but with an added parameter
6803 called "bit_stride".
6804 (create_array_type): Re-implement using
6805 create_array_type_with_stride.
6806 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6807 and DW_AT_bit_stride attributes.
6808
6809 2014-02-26 Pedro Alves <palves@redhat.com>
6810
6811 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6812 task-specific breakpoints.
6813
6814 2014-02-25 Pedro Alves <palves@redhat.com>
6815
6816 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6817 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6818
6819 2014-02-25 Stan Shebs <stan@codesourcery.com>
6820
6821 * defs.h: Annotate comments for Doxygen.
6822
6823 2014-02-25 Tom Tromey <tromey@redhat.com>
6824
6825 * target.h (target_ignore): Don't declare.
6826 * target.c (target_ignore): Remove.
6827
6828 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6829
6830 PR gdb/16626
6831 * auto-load.c (auto_load_objfile_script_1): Change filename to
6832 debugfile.
6833
6834 2014-02-25 Joel Brobecker <brobecker@adacore.com>
6835
6836 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
6837 documentation. Adjust prototype to match the target_ops
6838 to_xfer_partial method. Adjust implementation accordingly.
6839
6840 2014-02-25 Hui Zhu <hui@codesourcery.com>
6841
6842 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
6843 to_traceframe_info.
6844
6845 2014-02-25 Kevin Buettner <kevinb@redhat.com>
6846
6847 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6848 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
6849 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6850 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
6851 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
6852 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
6853 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
6854 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
6855 New constants.
6856 (rl78_register_type): Use a data pointer type for SP and
6857 new pseudo registers mentioned above. Use a 16 bit integer
6858 type for all other register pairs.
6859 (rl78_register_name, rl78_g10_register_name): Update for
6860 new pseudo registers.
6861 (rl78_pseudo_register_read): Likewise.
6862 (rl78_pseudo_register_write): Likewise.
6863 (rl78_dwarf_reg_to_regnum): Return register numbers representing
6864 to the newly added pseudo registers.
6865
6866 2014-02-24 Doug Evans <dje@google.com>
6867
6868 * value.c (record_latest_value): Fix comment.
6869 * printcmd.c (print_command_1): Remove code to handle -1 return from
6870 record_latest_value.
6871
6872 2014-02-24 Pedro Alves <palves@redhat.com>
6873
6874 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
6875 deprecated_xfer_memory hook.
6876 (procfs_xfer_partial): Call procfs_xfer_memory instead
6877 of the deprecated_xfer_memory target hook.
6878 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
6879 helper.
6880
6881 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
6882
6883 * windows-nat.c (windows_xfer_shared_libraries): Return
6884 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
6885 requested object is TARGET_OBJECT_LIBRARIES.
6886
6887 2014-02-24 Yao Qi <yao@codesourcery.com>
6888
6889 * target.h (enum target_xfer_status)
6890 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
6891 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
6892 explicitly. New.
6893 * corefile.c (memory_error_message): User updated.
6894 * exec.c (section_table_read_available_memory): Likewise.
6895 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6896 * target.c (target_xfer_status_to_string): Likewise.
6897 (raw_memory_xfer_partial): Likewise.
6898 (memory_xfer_partial_1, target_xfer_partial): Likewise.
6899 * valops.c (read_value_memory): Likewise.
6900 * exec.h: Update comments.
6901
6902 2014-02-24 Yao Qi <yao@codesourcery.com>
6903
6904 * target.c (target_xfer_status_to_string): Rename argument err
6905 to status.
6906 * target.h (target_xfer_status_to_string): Update declaration.
6907 Replace target_xfer_error_to_string with
6908 target_xfer_status_to_string in comment.
6909
6910 2014-02-24 Yao Qi <yao@codesourcery.com>
6911
6912 * mips-linux-nat.c (super_close): Update its type.
6913 (mips_linux_close): Pass 'self' to super_close.
6914
6915 2014-02-24 Yao Qi <yao@codesourcery.com>
6916
6917 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
6918 * corefile.c (read_memory): Adjusted.
6919 * target.c (target_write_with_progress): Adjusted.
6920
6921 2014-02-23 Yao Qi <yao@codesourcery.com>
6922
6923 Revert two patches:
6924
6925 2013-10-25 Yao Qi <yao@codesourcery.com>
6926
6927 * remote.c (remote_traceframe_info): Return early if
6928 traceframe is not selected.
6929
6930 2013-07-19 Yao Qi <yao@codesourcery.com>
6931
6932 * target.c (update_current_target): Change the default action
6933 of 'to_traceframe_info' from tcomplain to return_zero.
6934 * target.h (struct target_ops) <to_traceframe_info>: Add more
6935 comments.
6936
6937 2014-02-23 Yao Qi <yao@codesourcery.com>
6938
6939 * valops.c (read_value_memory): Rewrite it. Call
6940 target_xfer_partial in a loop.
6941 * exec.h (section_table_available_memory): Remove declaration.
6942 Move comments to ...
6943 * exec.c (section_table_available_memory): ... here. Make it
6944 static.
6945
6946 2014-02-23 Yao Qi <yao@codesourcery.com>
6947
6948 * exec.c (section_table_read_available_memory): New function.
6949 * exec.h (section_table_read_available_memory): Declare.
6950 * ctf.c (ctf_xfer_partial): Call
6951 section_table_read_available_memory.
6952 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6953
6954 2014-02-23 Yao Qi <yao@codesourcery.com>
6955
6956 * ctf.c (ctf_xfer_partial): Move code to ...
6957 * exec.c (exec_read_partial_read_only): ... it. New function.
6958 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6959 * tracefile.c: Include "exec.h".
6960 * exec.h (exec_read_partial_read_only): Declare.
6961
6962 2014-02-23 Yao Qi <yao@codesourcery.com>
6963
6964 * tracefile-tfile.c (tfile_has_all_memory): Remove.
6965 (tfile_has_memory): Remove.
6966 (init_tfile_ops): Don't set fields to_has_all_memory and
6967 to_has_memory of tfile_ops.
6968 * tracefile.c (tracefile_has_all_memory): New function.
6969 (tracefile_has_memory): New function.
6970 (init_tracefile_ops): Initialize fields to_has_all_memory and
6971 to_has_memory of 'ops'.
6972
6973 2014-02-23 Yao Qi <yao@codesourcery.com>
6974
6975 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
6976 (ctf_thread_alive, ctf_get_trace_status): Remove.
6977 (init_ctf_ops): Don't set some fields of ctf_ops. Call
6978 init_tracefile_ops.
6979 * tracefile-tfile.c (tfile_get_trace_status): Remove.
6980 (tfile_has_stack, tfile_has_registers): Remove.
6981 (tfile_thread_alive): Remove.
6982 (init_tfile_ops): Don't set some fields of tfile_ops. Call
6983 init_tracefile_ops.
6984 * tracefile.c (tracefile_has_stack): New function.
6985 (tracefile_has_registers): New function.
6986 (tracefile_thread_alive): New function.
6987 (tracefile_get_trace_status): New function.
6988 (init_tracefile_ops): New function.
6989 * tracefile.h (init_tracefile_ops): Declare.
6990
6991 2014-02-23 Yao Qi <yao@codesourcery.com>
6992
6993 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
6994 (O_LARGEFILE): Likewise.
6995 (tfile_ops): Likewise.
6996 (TRACE_HEADER_SIZE): Likewise.
6997 (trace_fd, trace_frames_offset, cur_offset): Likewise.
6998 (cur_data_size): Likewise.
6999 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7000 (tfile_close, tfile_files_info): Likewise.
7001 (tfile_get_trace_status): Likewise.
7002 (tfile_get_tracepoint_status): Likewise.
7003 (tfile_get_traceframe_address): Likewise.
7004 (tfile_trace_find, match_blocktype): Likewise.
7005 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7006 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7007 (tfile_get_trace_state_variable_value): Likewise.
7008 (tfile_has_all_memory, tfile_has_memory): Likewise.
7009 (tfile_has_stack, tfile_has_registers): Likewise.
7010 (tfile_thread_alive, build_traceframe_info): Likewise.
7011 (tfile_traceframe_info, init_tfile_ops): Likewise.
7012 (_initialize_tracepoint): Don't call init_tfile_ops
7013 and add_target_with_completer.
7014 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7015 exec.h, completer.h and filenames.h.
7016 (_initialize_tracefile_tfile): New function.
7017
7018 2014-02-23 Yao Qi <yao@codesourcery.com>
7019
7020 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7021 tracefile-tfile.o.
7022 (HFILES_NO_SRCDIR): Add tracefile.h.
7023 * ctf.c: Include "tracefile.h".
7024 * tracefile.h: New file.
7025 * tracefile.c: New file
7026 * tracefile-tfile.c: New file.
7027 * tracepoint.c: Include "tracefile.h".
7028 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7029 (stop_reason_names): Add const.
7030 (trace_file_writer_xfree): Move it to tracefile.c.
7031 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7032 (trace_save_ctf): Likewise.
7033 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7034 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7035 (tfile_write_header, tfile_write_regblock_type): Likewise.
7036 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7037 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7038 (tfile_write_raw_data, tfile_end): Likewise.
7039 (tfile_trace_file_writer_new): Likewise.
7040 (free_uploaded_tp): Make it extern.
7041 (free_uploaded_tsv): Make it extern.
7042 (_initialize_tracepoint): Move code to register command 'tsave'
7043 to tracefile.c.
7044 * tracepoint.h (stop_reason_names): Declare.
7045 (struct trace_frame_write_ops): Move it to tracefile.h.
7046 (struct trace_file_write_ops): Likewise.
7047 (struct trace_file_writer): Likewise.
7048 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7049
7050 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7051
7052 PR gdb/16594
7053 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7054 process name.
7055 (get_cores_used_by_process): New parameter num_cores, use it.
7056 (linux_xfer_osdata_processes): Pass num_cores to it.
7057 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7058 process name.
7059
7060 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7061
7062 * target.c (memory_xfer_partial): Fix length arg in call to
7063 breakpoint_xfer_memory.
7064
7065 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7066
7067 PR tdep/16397
7068 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7069 number comes after the + or - signs. Adjust length of register
7070 name to be extracted.
7071
7072 2014-02-20 Tom Tromey <tromey@redhat.com>
7073
7074 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7075 (ada_varobj_ops): Mark "extern".
7076
7077 2014-02-20 Tom Tromey <tromey@redhat.com>
7078
7079 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7080
7081 2014-02-20 Doug Evans <xdje42@gmail.com>
7082
7083 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7084 All callers updated.
7085 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7086 All callers updated.
7087 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7088 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7089
7090 2014-02-20 lin zuojian <manjian2006@gmail.com>
7091 Joel Brobecker <brobecker@adacore.com>
7092 Doug Evans <xdje42@gmail.com>
7093
7094 PR symtab/16581
7095 * dwarf2read.c (struct die_info): New member in_process.
7096 (reset_die_in_process): New function.
7097 (process_die): Set it at the start, reset when returning.
7098 (inherit_abstract_dies): Only call process_die if origin_child_die
7099 not already being processed.
7100
7101 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7102
7103 * windows-nat.c (handle_unload_dll): Add function documentation.
7104 (do_initial_windows_stuff): Add comment explaining why we wait
7105 until after inferior initialization has finished before
7106 processing all DLLs.
7107
7108 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7109
7110 * windows-nat.c (get_module_name): Delete.
7111 (windows_get_exec_module_filename): New function, mostly
7112 inspired from get_module_name.
7113 (windows_pid_to_exec_file): Replace call to get_module_name
7114 by call to windows_get_exec_module_filename.
7115
7116 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7117
7118 * windows-nat.c (handle_load_dll): Rewrite this function's
7119 introductory comment. Remove code using get_module_name
7120 to get the DLL's name.
7121
7122 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7123
7124 * windows-nat.c (get_windows_debug_event): Ignore
7125 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7126 if windows_initialization_done == 0.
7127 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7128 Adjust implementation to always load all DLLs.
7129 (do_initial_windows_stuff): Replace call to
7130 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7131
7132 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7133
7134 * windows-nat.c (_initialize_windows_nat): Deprecate the
7135 "dll-symbols" command. Turn the "add-shared-symbol-files"
7136 and "assf" aliases into commands, and deprecate them as well.
7137 * NEWS: Add entry explaining that "dll-symbols" and its two
7138 aliases are now deprecated.
7139
7140 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7141
7142 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7143 new-line in debug string. Remove trailing spaces.
7144
7145 2014-02-19 Stan Shebs <stan@codesourcery.com>
7146
7147 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7148
7149 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7150
7151 * NEWS: Add entry for the new feature
7152 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7153 and class values.
7154
7155 2014-02-19 Stan Shebs <stan@codesourcery.com>
7156
7157 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7158
7159 2014-02-19 Pedro Alves <palves@redhat.com>
7160
7161 * common/ptid.h (struct ptid): Mention that process_stratum
7162 targets should prefer ptid.lwp.
7163
7164 2014-02-19 Pedro Alves <palves@redhat.com>
7165
7166 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7167 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7168 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7169 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7170 store remote thread ids rather than ptid.tid.
7171 (_initialize_remote): Adjust.
7172
7173 2014-02-19 Tom Tromey <tromey@redhat.com>
7174
7175 * target.c (target_get_unwinder): Rewrite.
7176 (target_get_tailcall_unwinder): Rewrite.
7177 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7178 (record_btrace_to_get_tailcall_unwinder): New function.
7179 (init_record_btrace_ops): Update.
7180 * target.h (struct target_ops) <to_get_unwinder,
7181 to_get_tailcall_unwinder>: Now function pointers. Use
7182 TARGET_DEFAULT_RETURN.
7183
7184 2014-02-19 Tom Tromey <tromey@redhat.com>
7185
7186 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7187 argument.
7188 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7189
7190 2014-02-19 Tom Tromey <tromey@redhat.com>
7191
7192 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7193 directly.
7194 * target-delegates.c: Rebuild.
7195 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7196 TARGET_DEFAULT_FUNC.
7197 * target.c (default_target_decr_pc_after_break): Rename from
7198 forward_target_decr_pc_after_break. Simplify.
7199 (target_decr_pc_after_break): Rely on delegation.
7200
7201 2014-02-19 Tom Tromey <tromey@redhat.com>
7202
7203 * target.c (update_current_target): Do not INHERIT to_doc or
7204 to_magic. Do not de_fault to_open or to_close.
7205
7206 2014-02-19 Tom Tromey <tromey@redhat.com>
7207
7208 * gcore.h (objfile_find_memory_regions): Declare.
7209 * gcore.c (objfile_find_memory_regions): No longer static. Add
7210 "self" argument.
7211 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7212 * exec.c: Include gcore.h.
7213 (exec_set_find_memory_regions): Remove.
7214 (exec_find_memory_regions): Remove.
7215 (exec_do_find_memory_regions): Remove.
7216 (init_exec_ops): Update.
7217 * defs.h (exec_set_find_memory_regions): Remove.
7218
7219 2014-02-19 Tom Tromey <tromey@redhat.com>
7220
7221 * target-delegates.c: Rebuild.
7222 * target.h (struct target_ops) <to_extra_thread_info,
7223 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7224 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7225 not 0, in TARGET_DEFAULT_RETURN.
7226
7227 2014-02-19 Tom Tromey <tromey@redhat.com>
7228
7229 * target.c (complete_target_initialization): Remove casts. Use
7230 return_zero_has_execution.
7231 (return_zero): Add "ignore" argument.
7232 (return_zero_has_execution): New function.
7233 (init_dummy_target): Remove casts. Use
7234 return_zero_has_execution.
7235
7236 2014-02-19 Tom Tromey <tromey@redhat.com>
7237
7238 * target.c (update_current_target): Update comments. Do not
7239 INHERIT to_stratum.
7240
7241 2014-02-19 Tom Tromey <tromey@redhat.com>
7242
7243 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7244 needed.
7245 * corelow.c (core_read_description): Delegate when needed.
7246 * remote.c (remote_read_description): Delegate when needed.
7247 * target-delegates.c: Rebuild.
7248 * target.c (target_read_description): Rewrite.
7249 * target.h (struct target_ops) <to_read_description>: Update
7250 comment. Use TARGET_DEFAULT_RETURN.
7251
7252 2014-02-19 Tom Tromey <tromey@redhat.com>
7253
7254 * target-delegates.c: Rebuild.
7255 * target.c (update_current_target): Don't inherit or default
7256 to_can_run.
7257 (find_default_run_target): Check against delegate_can_run.
7258 * target.h (struct target_ops) <to_can_run>: Use
7259 TARGET_DEFAULT_RETURN.
7260
7261 2014-02-19 Tom Tromey <tromey@redhat.com>
7262
7263 * target-delegates.c: Rebuild.
7264 * target.c (target_disconnect): Unconditionally delegate.
7265 * target.h (struct target_ops) <to_disconnect>: Use
7266 TARGET_DEFAULT_NORETURN.
7267
7268 2014-02-19 Tom Tromey <tromey@redhat.com>
7269
7270 * record.c (record_stop): Unconditionally delegate.
7271 * target-delegates.c: Rebuild.
7272 * target.c (target_stop_recording): Unconditionally delegate.
7273 * target.h (struct target_ops) <to_stop_recording>: Use
7274 TARGET_DEFAULT_IGNORE.
7275
7276 2014-02-19 Tom Tromey <tromey@redhat.com>
7277
7278 * target-delegates.c: Rebuild.
7279 * target.c (target_enable_btrace): Unconditionally delegate.
7280 * target.h (struct target_ops) <to_enable_btrace>: Use
7281 TARGET_DEFAULT_NORETURN.
7282
7283 2014-02-19 Tom Tromey <tromey@redhat.com>
7284
7285 * target-delegates.c: Rebuild.
7286 * target.c (target_read_btrace): Unconditionally delegate.
7287 * target.h (struct target_ops) <to_read_btrace>: Use
7288 TARGET_DEFAULT_NORETURN.
7289
7290 2014-02-19 Tom Tromey <tromey@redhat.com>
7291
7292 * target-delegates.c: Rebuild.
7293 * target.c (target_teardown_btrace): Unconditionally delegate.
7294 * target.h (struct target_ops) <to_teardown_btrace>: Use
7295 TARGET_DEFAULT_NORETURN.
7296
7297 2014-02-19 Tom Tromey <tromey@redhat.com>
7298
7299 * target-delegates.c: Rebuild.
7300 * target.c (target_disable_btrace): Unconditionally delegate.
7301 * target.h (struct target_ops) <to_disable_btrace>: Use
7302 TARGET_DEFAULT_NORETURN.
7303
7304 2014-02-19 Tom Tromey <tromey@redhat.com>
7305
7306 * target-delegates.c: Rebuild.
7307 * target.c (default_search_memory): New function.
7308 (simple_search_memory): Update comment.
7309 (target_search_memory): Unconditionally delegate.
7310 * target.h (struct target_ops) <to_search_memory>: Use
7311 TARGET_DEFAULT_FUNC.
7312
7313 2014-02-19 Tom Tromey <tromey@redhat.com>
7314
7315 * auxv.c (default_auxv_parse): No longer static.
7316 (target_auxv_parse): Unconditionally delegate.
7317 * auxv.h (default_auxv_parse): Declare.
7318 * target-delegates.c: Rebuild.
7319 * target.c: Include auxv.h.
7320 * target.h (struct target_ops) <to_auxv_parse>: Use
7321 TARGET_DEFAULT_FUNC.
7322
7323 2014-02-19 Tom Tromey <tromey@redhat.com>
7324
7325 * target-delegates.c: Rebuild.
7326 * target.c (target_memory_map): Unconditionally delegate.
7327 * target.h (struct target_ops) <to_memory_map>: Use
7328 TARGET_DEFAULT_RETURN.
7329
7330 2014-02-19 Tom Tromey <tromey@redhat.com>
7331
7332 * target-delegates.c: Rebuild.
7333 * target.c (target_thread_alive): Unconditionally delegate.
7334 * target.h (struct target_ops) <to_thread_alive>: Use
7335 TARGET_DEFAULT_RETURN.
7336
7337 2014-02-19 Tom Tromey <tromey@redhat.com>
7338
7339 * target-delegates.c: Rebuild.
7340 * target.c (target_save_record): Unconditionally delegate.
7341 * target.h (struct target_ops) <to_save_record>: Use
7342 TARGET_DEFAULT_NORETURN.
7343
7344 2014-02-19 Tom Tromey <tromey@redhat.com>
7345
7346 * target-delegates.c: Rebuild.
7347 * target.c (target_delete_record): Unconditionally delegate.
7348 * target.h (struct target_ops) <to_delete_record>: Use
7349 TARGET_DEFAULT_NORETURN.
7350
7351 2014-02-19 Tom Tromey <tromey@redhat.com>
7352
7353 * target-delegates.c: Rebuild.
7354 * target.c (target_record_is_replaying): Unconditionally
7355 delegate.
7356 * target.h (struct target_ops) <to_record_is_replaying>: Use
7357 TARGET_DEFAULT_RETURN.
7358
7359 2014-02-19 Tom Tromey <tromey@redhat.com>
7360
7361 * target-delegates.c: Rebuild.
7362 * target.c (target_goto_record_begin): Unconditionally delegate.
7363 * target.h (struct target_ops) <to_goto_record_begin>: Use
7364 TARGET_DEFAULT_NORETURN.
7365
7366 2014-02-19 Tom Tromey <tromey@redhat.com>
7367
7368 * target-delegates.c: Rebuild.
7369 * target.c (target_goto_record_end): Unconditionally delegate.
7370 * target.h (struct target_ops) <to_goto_record_end>: Use
7371 TARGET_DEFAULT_NORETURN.
7372
7373 2014-02-19 Tom Tromey <tromey@redhat.com>
7374
7375 * target-delegates.c: Rebuild.
7376 * target.c (target_goto_record): Unconditionally delegate.
7377 * target.h (struct target_ops) <to_goto_record>: Use
7378 TARGET_DEFAULT_NORETURN.
7379
7380 2014-02-19 Tom Tromey <tromey@redhat.com>
7381
7382 * target-delegates.c: Rebuild.
7383 * target.c (target_insn_history): Unconditionally delegate.
7384 * target.h (struct target_ops) <to_insn_history>: Use
7385 TARGET_DEFAULT_NORETURN.
7386
7387 2014-02-19 Tom Tromey <tromey@redhat.com>
7388
7389 * target-delegates.c: Rebuild.
7390 * target.c (target_insn_history_from): Unconditionally delegate.
7391 * target.h (struct target_ops) <to_insn_history_from>: Use
7392 TARGET_DEFAULT_NORETURN.
7393
7394 2014-02-19 Tom Tromey <tromey@redhat.com>
7395
7396 * target-delegates.c: Rebuild.
7397 * target.c (target_insn_history_range): Unconditionally delegate.
7398 * target.h (struct target_ops) <to_insn_history_range>: Use
7399 TARGET_DEFAULT_NORETURN.
7400
7401 2014-02-19 Tom Tromey <tromey@redhat.com>
7402
7403 * target-delegates.c: Rebuild.
7404 * target.c (target_call_history): Unconditionally delegate.
7405 * target.h (struct target_ops) <to_call_history>: Use
7406 TARGET_DEFAULT_NORETURN.
7407
7408 2014-02-19 Tom Tromey <tromey@redhat.com>
7409
7410 * target-delegates.c: Rebuild.
7411 * target.c (target_call_history_from): Unconditionally delegate.
7412 * target.h (struct target_ops) <to_call_history_from>: Use
7413 TARGET_DEFAULT_NORETURN.
7414
7415 2014-02-19 Tom Tromey <tromey@redhat.com>
7416
7417 * target-delegates.c: Rebuild.
7418 * target.c (target_call_history_range): Unconditionally delegate.
7419 * target.h (struct target_ops) <to_call_history_range>: Use
7420 TARGET_DEFAULT_NORETURN.
7421
7422 2014-02-19 Tom Tromey <tromey@redhat.com>
7423
7424 * target-delegates.c: Rebuild.
7425 * target.c (target_verify_memory): Unconditionally delegate.
7426 * target.h (struct target_ops) <to_verify_memory>: Use
7427 TARGET_DEFAULT_NORETURN.
7428
7429 2014-02-19 Tom Tromey <tromey@redhat.com>
7430
7431 * target-delegates.c: Rebuild.
7432 * target.c (target_core_of_thread): Unconditionally delegate.
7433 * target.h (struct target_ops) <to_core_of_thread>: Use
7434 TARGET_DEFAULT_RETURN.
7435
7436 2014-02-19 Tom Tromey <tromey@redhat.com>
7437
7438 * target-delegates.c: Rebuild.
7439 * target.c (target_flash_done): Unconditionally delegate.
7440 * target.h (struct target_ops) <to_flash_done>: Use
7441 TARGET_DEFAULT_NORETURN.
7442
7443 2014-02-19 Tom Tromey <tromey@redhat.com>
7444
7445 * target-delegates.c: Rebuild.
7446 * target.c (target_flash_erase): Unconditionally delegate.
7447 * target.h (struct target_ops) <to_flash_erase>: Use
7448 TARGET_DEFAULT_NORETURN.
7449
7450 2014-02-19 Tom Tromey <tromey@redhat.com>
7451
7452 * target-delegates.c: Rebuild.
7453 * target.c (target_get_section_table): Unconditionally delegate.
7454 * target.h (struct target_ops) <to_get_section_table>: Use
7455 TARGET_DEFAULT_RETURN.
7456
7457 2014-02-19 Tom Tromey <tromey@redhat.com>
7458
7459 * target-delegates.c: Rebuild.
7460 * target.c (target_pid_to_str): Unconditionally delegate.
7461 (init_dummy_target): Don't initialize to_pid_to_str.
7462 (default_pid_to_str): Rename from dummy_pid_to_str.
7463 * target.h (struct target_ops) <to_pid_to_str>: Use
7464 TARGET_DEFAULT_FUNC.
7465
7466 2014-02-19 Tom Tromey <tromey@redhat.com>
7467
7468 * target-delegates.c: Rebuild.
7469 * target.c (target_find_new_threads): Unconditionally delegate.
7470 * target.h (struct target_ops) <to_find_new_threads>: Use
7471 TARGET_DEFAULT_RETURN.
7472
7473 2014-02-19 Tom Tromey <tromey@redhat.com>
7474
7475 * target-delegates.c: Rebuild.
7476 * target.c (target_program_signals): Unconditionally delegate.
7477 * target.h (struct target_ops) <to_program_signals>: Use
7478 TARGET_DEFAULT_IGNORE.
7479
7480 2014-02-19 Tom Tromey <tromey@redhat.com>
7481
7482 * target-delegates.c: Rebuild.
7483 * target.c (target_pass_signals): Unconditionally delegate.
7484 * target.h (struct target_ops) <to_pass_signals>: Use
7485 TARGET_DEFAULT_IGNORE.
7486
7487 2014-02-19 Tom Tromey <tromey@redhat.com>
7488
7489 * target-delegates.c: Rebuild.
7490 * target.c (default_mourn_inferior): New function.
7491 (target_mourn_inferior): Unconditionally delegate.
7492 * target.h (struct target_ops) <to_mourn_inferior>: Use
7493 TARGET_DEFAULT_FUNC.
7494
7495 2014-02-19 Tom Tromey <tromey@redhat.com>
7496
7497 * target-delegates.c: Rebuild.
7498 * target.c (default_follow_fork): New function.
7499 (target_follow_fork): Unconditionally delegate.
7500 * target.h (struct target_ops) <to_follow_fork>: Use
7501 TARGET_DEFAULT_FUNC.
7502
7503 2014-02-19 Tom Tromey <tromey@redhat.com>
7504
7505 * target-delegates.c: Rebuild.
7506 * target.c (target_kill): Unconditionally delegate.
7507 * target.h (struct target_ops) <to_kill>: Use
7508 TARGET_DEFAULT_NORETURN.
7509
7510 2014-02-19 Tom Tromey <tromey@redhat.com>
7511
7512 * target-delegates.c: Rebuild.
7513 * target.c (target_masked_watch_num_registers): Unconditionally
7514 delegate.
7515 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7516 Use TARGET_DEFAULT_RETURN.
7517
7518 2014-02-19 Tom Tromey <tromey@redhat.com>
7519
7520 * target-delegates.c: Rebuild.
7521 * target.c (target_remove_mask_watchpoint): Unconditionally
7522 delegate.
7523 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7524 TARGET_DEFAULT_RETURN.
7525
7526 2014-02-19 Tom Tromey <tromey@redhat.com>
7527
7528 * target-delegates.c: Rebuild.
7529 * target.c (target_insert_mask_watchpoint): Unconditionally
7530 delegate.
7531 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7532 TARGET_DEFAULT_RETURN.
7533
7534 2014-02-19 Tom Tromey <tromey@redhat.com>
7535
7536 * target-delegates.c: Rebuild.
7537 * target.c (target_ranged_break_num_registers): Unconditionally
7538 delegate.
7539 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7540 Use TARGET_DEFAULT_RETURN.
7541
7542 2014-02-19 Tom Tromey <tromey@redhat.com>
7543
7544 * target-delegates.c: Rebuild.
7545 * target.c (target_fetch_registers): Unconditionally delegate.
7546 * target.h (struct target_ops) <to_fetch_registers>: Use
7547 TARGET_DEFAULT_NORETURN.
7548
7549 2014-02-19 Tom Tromey <tromey@redhat.com>
7550
7551 * target-delegates.c: Rebuild.
7552 * target.c (update_current_target): Don't inherit or default
7553 to_stop.
7554 * target.h (struct target_ops) <to_stop>: Use
7555 TARGET_DEFAULT_IGNORE.
7556
7557 2014-02-19 Tom Tromey <tromey@redhat.com>
7558
7559 * target-delegates.c: Rebuild.
7560 * target.c (update_current_target): Don't inherit or default
7561 to_can_run_breakpoint_commands.
7562 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7563 Use TARGET_DEFAULT_RETURN.
7564
7565 2014-02-19 Tom Tromey <tromey@redhat.com>
7566
7567 * target-delegates.c: Rebuild.
7568 * target.c (update_current_target): Don't inherit or default
7569 to_supports_evaluation_of_breakpoint_conditions.
7570 * target.h (struct target_ops)
7571 <to_supports_evaluation_of_breakpoint_conditions>: Use
7572 TARGET_DEFAULT_RETURN.
7573
7574 2014-02-19 Tom Tromey <tromey@redhat.com>
7575
7576 * target-delegates.c: Rebuild.
7577 * target.c (update_current_target): Don't inherit or default
7578 to_augmented_libraries_svr4_read.
7579 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7580 Use TARGET_DEFAULT_RETURN.
7581
7582 2014-02-19 Tom Tromey <tromey@redhat.com>
7583
7584 * target-delegates.c: Rebuild.
7585 * target.c (update_current_target): Don't inherit or default
7586 to_can_use_agent.
7587 * target.h (struct target_ops) <to_can_use_agent>: Use
7588 TARGET_DEFAULT_RETURN.
7589
7590 2014-02-19 Tom Tromey <tromey@redhat.com>
7591
7592 * target-delegates.c: Rebuild.
7593 * target.c (update_current_target): Don't inherit or default
7594 to_use_agent.
7595 * target.h (struct target_ops) <to_use_agent>: Use
7596 TARGET_DEFAULT_NORETURN.
7597
7598 2014-02-19 Tom Tromey <tromey@redhat.com>
7599
7600 * target-delegates.c: Rebuild.
7601 * target.c (update_current_target): Don't inherit or default
7602 to_traceframe_info.
7603 (return_null): Remove.
7604 * target.h (struct target_ops) <to_traceframe_info>: Use
7605 TARGET_DEFAULT_RETURN.
7606
7607 2014-02-19 Tom Tromey <tromey@redhat.com>
7608
7609 * target-delegates.c: Rebuild.
7610 * target.c (update_current_target): Don't inherit or default
7611 to_static_tracepoint_markers_by_strid.
7612 * target.h (struct target_ops)
7613 <to_static_tracepoint_markers_by_strid>: Use
7614 TARGET_DEFAULT_NORETURN.
7615
7616 2014-02-19 Tom Tromey <tromey@redhat.com>
7617
7618 * target-delegates.c: Rebuild.
7619 * target.c (update_current_target): Don't inherit or default
7620 to_static_tracepoint_marker_at.
7621 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7622 Use TARGET_DEFAULT_RETURN.
7623
7624 2014-02-19 Tom Tromey <tromey@redhat.com>
7625
7626 * target-delegates.c: Rebuild.
7627 * target.c (update_current_target): Don't inherit or default
7628 to_set_permissions.
7629 * target.h (struct target_ops) <to_set_permissions>: Use
7630 TARGET_DEFAULT_IGNORE.
7631
7632 2014-02-19 Tom Tromey <tromey@redhat.com>
7633
7634 * target-delegates.c: Rebuild.
7635 * target.c (update_current_target): Don't inherit or default
7636 to_get_tib_address.
7637 * target.h (struct target_ops) <to_get_tib_address>: Use
7638 TARGET_DEFAULT_NORETURN.
7639
7640 2014-02-19 Tom Tromey <tromey@redhat.com>
7641
7642 * target-delegates.c: Rebuild.
7643 * target.c (update_current_target): Don't inherit or default
7644 to_set_trace_notes.
7645 * target.h (struct target_ops) <to_set_trace_notes>: Use
7646 TARGET_DEFAULT_RETURN.
7647
7648 2014-02-19 Tom Tromey <tromey@redhat.com>
7649
7650 * target-delegates.c: Rebuild.
7651 * target.c (update_current_target): Don't initialize
7652 to_set_trace_buffer_size.
7653 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7654 TARGET_DEFAULT_IGNORE.
7655
7656 2014-02-19 Tom Tromey <tromey@redhat.com>
7657
7658 * target-delegates.c: Rebuild.
7659 * target.c (update_current_target): Don't inherit or default
7660 to_set_circular_trace_buffer.
7661 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7662 TARGET_DEFAULT_IGNORE.
7663
7664 2014-02-19 Tom Tromey <tromey@redhat.com>
7665
7666 * target-delegates.c: Rebuild.
7667 * target.c (update_current_target): Don't inherit or default
7668 to_set_disconnected_tracing.
7669 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7670 TARGET_DEFAULT_IGNORE.
7671
7672 2014-02-19 Tom Tromey <tromey@redhat.com>
7673
7674 * target-delegates.c: Rebuild.
7675 * target.c (update_current_target): Don't inherit or default
7676 to_get_min_fast_tracepoint_insn_len.
7677 (return_minus_one): Remove.
7678 * target.h (struct target_ops)
7679 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7680
7681 2014-02-19 Tom Tromey <tromey@redhat.com>
7682
7683 * target-delegates.c: Rebuild.
7684 * target.c (update_current_target): Don't inherit or default
7685 to_get_raw_trace_data.
7686 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7687 TARGET_DEFAULT_NORETURN.
7688
7689 2014-02-19 Tom Tromey <tromey@redhat.com>
7690
7691 * target-delegates.c: Rebuild.
7692 * target.c (update_current_target): Don't inherit or default
7693 to_upload_trace_state_variables.
7694 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7695 Use TARGET_DEFAULT_RETURN.
7696
7697 2014-02-19 Tom Tromey <tromey@redhat.com>
7698
7699 * target-delegates.c: Rebuild.
7700 * target.c (update_current_target): Don't inherit or default
7701 to_upload_tracepoints.
7702 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7703 TARGET_DEFAULT_RETURN.
7704
7705 2014-02-19 Tom Tromey <tromey@redhat.com>
7706
7707 * target-delegates.c: Rebuild.
7708 * target.c (update_current_target): Don't inherit or default
7709 to_save_trace_data.
7710 * target.h (struct target_ops) <to_save_trace_data>: Use
7711 TARGET_DEFAULT_NORETURN.
7712
7713 2014-02-19 Tom Tromey <tromey@redhat.com>
7714
7715 * target-delegates.c: Rebuild.
7716 * target.c (update_current_target): Don't inherit or default
7717 to_get_trace_state_variable_value.
7718 * target.h (struct target_ops)
7719 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
7720
7721 2014-02-19 Tom Tromey <tromey@redhat.com>
7722
7723 * target-delegates.c: Rebuild.
7724 * target.c (update_current_target): Don't inherit or default
7725 to_trace_find.
7726 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7727
7728 2014-02-19 Tom Tromey <tromey@redhat.com>
7729
7730 * target-delegates.c: Rebuild.
7731 * target.c (update_current_target): Don't inherit or default
7732 to_trace_stop.
7733 * target.h (struct target_ops) <to_trace_stop>: Use
7734 TARGET_DEFAULT_NORETURN.
7735
7736 2014-02-19 Tom Tromey <tromey@redhat.com>
7737
7738 * target-delegates.c: Rebuild.
7739 * target.c (update_current_target): Don't inherit or default
7740 to_get_tracepoint_status.
7741 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7742 TARGET_DEFAULT_NORETURN.
7743
7744 2014-02-19 Tom Tromey <tromey@redhat.com>
7745
7746 * target-delegates.c: Rebuild.
7747 * target.c (update_current_target): Don't inherit or default
7748 to_get_trace_status.
7749 * target.h (struct target_ops) <to_get_trace_status>: Use
7750 TARGET_DEFAULT_RETURN.
7751
7752 2014-02-19 Tom Tromey <tromey@redhat.com>
7753
7754 * target-delegates.c: Rebuild.
7755 * target.c (update_current_target): Don't inherit or default
7756 to_trace_start.
7757 * target.h (struct target_ops) <to_trace_start>: Use
7758 TARGET_DEFAULT_NORETURN.
7759
7760 2014-02-19 Tom Tromey <tromey@redhat.com>
7761
7762 * target-delegates.c: Rebuild.
7763 * target.c (update_current_target): Don't inherit or default
7764 to_trace_set_readonly_regions.
7765 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7766 Use TARGET_DEFAULT_NORETURN.
7767
7768 2014-02-19 Tom Tromey <tromey@redhat.com>
7769
7770 * target-delegates.c: Rebuild.
7771 * target.c (update_current_target): Don't inherit or default
7772 to_disable_tracepoint.
7773 * target.h (struct target_ops) <to_disable_tracepoint>: Use
7774 TARGET_DEFAULT_NORETURN.
7775
7776 2014-02-19 Tom Tromey <tromey@redhat.com>
7777
7778 * target-delegates.c: Rebuild.
7779 * target.c (update_current_target): Don't inherit or default
7780 to_enable_tracepoint.
7781 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7782 TARGET_DEFAULT_NORETURN.
7783
7784 2014-02-19 Tom Tromey <tromey@redhat.com>
7785
7786 * target-delegates.c: Rebuild.
7787 * target.c (update_current_target): Don't inherit or default
7788 to_download_trace_state_variable.
7789 * target.h (struct target_ops) <to_download_trace_state_variable>:
7790 Use TARGET_DEFAULT_NORETURN.
7791
7792 2014-02-19 Tom Tromey <tromey@redhat.com>
7793
7794 * target-delegates.c: Rebuild.
7795 * target.c (update_current_target): Don't inherit or default
7796 to_can_download_tracepoint.
7797 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7798 TARGET_DEFAULT_RETURN.
7799
7800 2014-02-19 Tom Tromey <tromey@redhat.com>
7801
7802 * target-delegates.c: Rebuild.
7803 * target.c (update_current_target): Don't inherit or default
7804 to_download_tracepoint.
7805 * target.h (struct target_ops) <to_download_tracepoint>: Use
7806 TARGET_DEFAULT_NORETURN.
7807
7808 2014-02-19 Tom Tromey <tromey@redhat.com>
7809
7810 * target-delegates.c: Rebuild.
7811 * target.c (update_current_target): Don't inherit or default
7812 to_trace_init.
7813 * target.h (struct target_ops) <to_trace_init>: Use
7814 TARGET_DEFAULT_RETURN.
7815
7816 2014-02-19 Tom Tromey <tromey@redhat.com>
7817
7818 * target-delegates.c: Rebuild.
7819 * target.c (update_current_target): Don't inherit or default
7820 to_supports_string_tracing.
7821 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7822 TARGET_DEFAULT_RETURN.
7823
7824 2014-02-19 Tom Tromey <tromey@redhat.com>
7825
7826 * target-delegates.c: Rebuild.
7827 * target.c (update_current_target): Don't inherit or default
7828 to_supports_enable_disable_tracepoint.
7829 * target.h (struct target_ops)
7830 <to_supports_enable_disable_tracepoint>: Use
7831 TARGET_DEFAULT_RETURN.
7832
7833 2014-02-19 Tom Tromey <tromey@redhat.com>
7834
7835 * target-delegates.c: Rebuild.
7836 * target.c (update_current_target): Don't inherit or default
7837 to_supports_multi_process.
7838 * target.h (struct target_ops) <to_supports_multi_process>: Use
7839 TARGET_DEFAULT_RETURN.
7840
7841 2014-02-19 Tom Tromey <tromey@redhat.com>
7842
7843 * target-delegates.c: Rebuild.
7844 * target.c (update_current_target): Don't inherit or default
7845 to_get_ada_task_ptid.
7846 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
7847 TARGET_DEFAULT_FUNC.
7848
7849 2014-02-19 Tom Tromey <tromey@redhat.com>
7850
7851 * target-delegates.c: Rebuild.
7852 * target.c (update_current_target): Don't inherit or default
7853 to_thread_architecture.
7854 * target.h (struct target_ops) <to_thread_architecture>: Use
7855 TARGET_DEFAULT_FUNC.
7856
7857 2014-02-19 Tom Tromey <tromey@redhat.com>
7858
7859 * target-delegates.c: Rebuild.
7860 * target.c (update_current_target): Don't inherit or default
7861 to_execution_direction.
7862 * target.h (struct target_ops) <to_execution_direction>: Use
7863 TARGET_DEFAULT_FUNC.
7864
7865 2014-02-19 Tom Tromey <tromey@redhat.com>
7866
7867 * target-delegates.c: Rebuild.
7868 * target.c (update_current_target): Don't inherit or default
7869 to_can_execute_reverse.
7870 * target.h (struct target_ops) <to_can_execute_reverse>: Use
7871 TARGET_DEFAULT_RETURN.
7872 (target_can_execute_reverse): Unconditionally delegate.
7873
7874 2014-02-19 Tom Tromey <tromey@redhat.com>
7875
7876 * target-delegates.c: Rebuild.
7877 * target.c (update_current_target): Don't inherit or default
7878 to_goto_bookmark.
7879 (dummy_goto_bookmark): Remove.
7880 (init_dummy_target): Don't inherit or default to_goto_bookmark.
7881 * target.h (struct target_ops) <to_goto_bookmark>: Use
7882 TARGET_DEFAULT_NORETURN.
7883
7884 2014-02-19 Tom Tromey <tromey@redhat.com>
7885
7886 * target-delegates.c: Rebuild.
7887 * target.c (update_current_target): Don't inherit or default
7888 to_get_bookmark.
7889 (dummy_get_bookmark): Remove.
7890 (init_dummy_target): Don't inherit or default to_get_bookmark.
7891 * target.h (struct target_ops) <to_get_bookmark>: Use
7892 TARGET_DEFAULT_NORETURN
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_make_corefile_notes.
7899 (init_dummy_target): Don't initialize to_make_corefile_notes.
7900 * target.h (struct target_ops) <to_make_corefile_notes>: Use
7901 TARGET_DEFAULT_FUNC.
7902
7903 2014-02-19 Tom Tromey <tromey@redhat.com>
7904
7905 * target-delegates.c: Rebuild.
7906 * target.c (update_current_target): Don't inherit or default
7907 to_find_memory_regions.
7908 (init_dummy_target): Don't initialize to_find_memory_regions.
7909 * target.h (struct target_ops) <to_find_memory_regions>: Use
7910 TARGET_DEFAULT_FUNC.
7911
7912 2014-02-19 Tom Tromey <tromey@redhat.com>
7913
7914 * target-delegates.c: Rebuild.
7915 * target.c (update_current_target): Don't inherit or default
7916 to_log_command.
7917 * target.h (struct target_ops) <to_log_command>: Use
7918 TARGET_DEFAULT_IGNORE.
7919 (target_log_command): Unconditionally delegate.
7920
7921 2014-02-19 Tom Tromey <tromey@redhat.com>
7922
7923 * target-delegates.c: Rebuild.
7924 * target.c (update_current_target): Don't inherit or default
7925 to_pid_to_exec_file.
7926 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
7927 TARGET_DEFAULT_RETURN.
7928
7929 2014-02-19 Tom Tromey <tromey@redhat.com>
7930
7931 * target-delegates.c: Rebuild.
7932 * target.c (update_current_target): Don't inherit or default
7933 to_thread_name.
7934 (target_thread_name): Unconditionally delegate.
7935 * target.h (struct target_ops) <to_thread_name>: Use
7936 TARGET_DEFAULT_RETURN.
7937
7938 2014-02-19 Tom Tromey <tromey@redhat.com>
7939
7940 * target-delegates.c: Rebuild.
7941 * target.c (update_current_target): Don't inherit or default
7942 to_extra_thread_info.
7943 * target.h (struct target_ops) <to_extra_thread_info>: Use
7944 TARGET_DEFAULT_RETURN.
7945
7946 2014-02-19 Tom Tromey <tromey@redhat.com>
7947
7948 * target-delegates.c: Rebuild.
7949 * target.c (update_current_target): Don't inherit or default
7950 to_has_exited.
7951 * target.h (struct target_ops) <to_has_exited>: Use
7952 TARGET_DEFAULT_RETURN..
7953
7954 2014-02-19 Tom Tromey <tromey@redhat.com>
7955
7956 * target-delegates.c: Rebuild.
7957 * target.c (update_current_target): Don't inherit or default
7958 to_set_syscall_catchpoint.
7959 (return_one): Remove.
7960 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
7961 TARGET_DEFAULT_RETURN.
7962
7963 2014-02-19 Tom Tromey <tromey@redhat.com>
7964
7965 * target-delegates.c: Rebuild.
7966 * target.c (update_current_target): Don't inherit or default
7967 to_insert_exec_catchpoint.
7968 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7969 TARGET_DEFAULT_RETURN.
7970
7971 2014-01-08 Tom Tromey <tromey@redhat.com>
7972
7973 * target-delegates.c: Rebuild.
7974 * target.c (update_current_target): Don't inherit or default
7975 to_insert_exec_catchpoint.
7976 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7977 TARGET_DEFAULT_RETURN.
7978
7979 2014-02-19 Tom Tromey <tromey@redhat.com>
7980
7981 * target-delegates.c: Rebuild.
7982 * target.c (update_current_target): Don't inherit or default
7983 to_remove_vfork_catchpoint.
7984 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
7985 TARGET_DEFAULT_RETURN.
7986
7987 2014-02-19 Tom Tromey <tromey@redhat.com>
7988
7989 * target-delegates.c: Rebuild.
7990 * target.c (update_current_target): Don't inherit or default
7991 to_insert_vfork_catchpoint.
7992 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
7993 TARGET_DEFAULT_RETURN.
7994
7995 2014-02-19 Tom Tromey <tromey@redhat.com>
7996
7997 * target-delegates.c: Rebuild.
7998 * target.c (update_current_target): Don't inherit or default
7999 to_remove_fork_catchpoint.
8000 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8001 TARGET_DEFAULT_RETURN.
8002
8003 2014-02-19 Tom Tromey <tromey@redhat.com>
8004
8005 * target-delegates.c: Rebuild.
8006 * target.c (update_current_target): Don't inherit or default
8007 to_insert_fork_catchpoint.
8008 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8009 TARGET_DEFAULT_RETURN.
8010
8011 2014-02-19 Tom Tromey <tromey@redhat.com>
8012
8013 * target-delegates.c: Rebuild.
8014 * target.c (update_current_target): Don't inherit or default
8015 to_post_startup_inferior.
8016 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8017 TARGET_DEFAULT_IGNORE.
8018
8019 2014-02-19 Tom Tromey <tromey@redhat.com>
8020
8021 * target-delegates.c: Rebuild.
8022 * target.c (update_current_target): Don't inherit or default
8023 to_load.
8024 * target.h (struct target_ops) <to_load>: Use
8025 TARGET_DEFAULT_NORETURN.
8026
8027 2014-02-19 Tom Tromey <tromey@redhat.com>
8028
8029 * target-delegates.c: Rebuild.
8030 * target.c (update_current_target): Don't inherit or default
8031 to_terminal_info.
8032 * target.h (struct target_ops) <to_terminal_info>: Use
8033 TARGET_DEFAULT_FUNC.
8034
8035 2014-02-19 Tom Tromey <tromey@redhat.com>
8036
8037 * target-delegates.c: Rebuild.
8038 * target.c (update_current_target): Don't inherit or default
8039 to_terminal_save_ours.
8040 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8041 TARGET_DEFAULT_IGNORE.
8042
8043 2014-02-19 Tom Tromey <tromey@redhat.com>
8044
8045 * target-delegates.c: Rebuild.
8046 * target.c (update_current_target): Don't inherit or default
8047 to_terminal_ours.
8048 * target.h (struct target_ops) <to_terminal_ours>: Use
8049 TARGET_DEFAULT_IGNORE.
8050
8051 2014-02-19 Tom Tromey <tromey@redhat.com>
8052
8053 * target-delegates.c: Rebuild.
8054 * target.c (update_current_target): Don't inherit or default
8055 to_terminal_ours_for_output.
8056 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8057 TARGET_DEFAULT_IGNORE.
8058
8059 2014-02-19 Tom Tromey <tromey@redhat.com>
8060
8061 * target-delegates.c: Rebuild.
8062 * target.c (update_current_target): Don't inherit or default
8063 to_terminal_inferior.
8064 * target.h (struct target_ops) <to_terminal_inferior>: Use
8065 TARGET_DEFAULT_IGNORE.
8066
8067 2014-02-19 Tom Tromey <tromey@redhat.com>
8068
8069 * target-delegates.c: Rebuild.
8070 * target.c (update_current_target): Don't inherit or default
8071 to_terminal_init.
8072 * target.h (struct target_ops) <to_terminal_init>: Use
8073 TARGET_DEFAULT_IGNORE.
8074
8075 2014-02-19 Tom Tromey <tromey@redhat.com>
8076
8077 * target-delegates.c: Rebuild.
8078 * target.c (update_current_target): Don't inherit or default
8079 to_can_accel_watchpoint_condition.
8080 * target.h (struct target_ops)
8081 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8082
8083 2014-02-19 Tom Tromey <tromey@redhat.com>
8084
8085 * target-delegates.c: Rebuild.
8086 * target.c (update_current_target): Don't inherit or default
8087 to_region_ok_for_hw_watchpoint.
8088 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8089 Use TARGET_DEFAULT_FUNC.
8090
8091 2014-02-19 Tom Tromey <tromey@redhat.com>
8092
8093 * target-delegates.c: Rebuild.
8094 * target.c (update_current_target): Don't inherit or default
8095 to_watchpoint_addr_within_range.
8096 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8097 Use TARGET_DEFAULT_FUNC.
8098
8099 2014-02-19 Tom Tromey <tromey@redhat.com>
8100
8101 * target-delegates.c: Rebuild.
8102 * target.c (update_current_target): Don't inherit or default
8103 to_remove_watchpoint.
8104 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8105 TARGET_DEFAULT_NORETURN.
8106
8107 2014-02-19 Tom Tromey <tromey@redhat.com>
8108
8109 * target-delegates.c: Rebuild.
8110 * target.c (update_current_target): Don't inherit or default
8111 to_insert_watchpoint.
8112 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8113 TARGET_DEFAULT_RETURN.
8114
8115 2014-02-19 Tom Tromey <tromey@redhat.com>
8116
8117 * target-delegates.c: Rebuild.
8118 * target.c (update_current_target): Don't inherit or default
8119 to_remove_hw_breakpoint.
8120 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8121 TARGET_DEFAULT_RETURN.
8122
8123 2014-02-19 Tom Tromey <tromey@redhat.com>
8124
8125 * target-delegates.c: Rebuild.
8126 * target.c (update_current_target): Don't inherit or default
8127 to_insert_hw_breakpoint.
8128 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8129 TARGET_DEFAULT_RETURN.
8130
8131 2014-02-19 Tom Tromey <tromey@redhat.com>
8132
8133 * target-delegates.c: Rebuild.
8134 * target.c (update_current_target): Don't inherit or default
8135 to_can_use_hw_breakpoint.
8136 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8137 TARGET_DEFAULT_RETURN.
8138
8139 2014-02-19 Tom Tromey <tromey@redhat.com>
8140
8141 * target-delegates.c: Rebuild.
8142 * target.c (update_current_target): Don't inherit or default
8143 to_files_info.
8144 * target.h (struct target_ops) <to_files_info>: Use
8145 TARGET_DEFAULT_IGNORE.
8146
8147 2014-02-19 Tom Tromey <tromey@redhat.com>
8148
8149 * target-delegates.c: Rebuild.
8150 * target.c (update_current_target): Don't inherit or default
8151 to_store.
8152 * target.h (struct target_ops) <to_store>: Use
8153 TARGET_DEFAULT_NORETURN.
8154
8155 2014-02-19 Tom Tromey <tromey@redhat.com>
8156
8157 * target-delegates.c: Rebuild.
8158 * target.c (update_current_target): Don't inherit or default
8159 to_post_attach.
8160 * target.h (struct target_ops) <to_post_attach>: Use
8161 TARGET_DEFAULT_IGNORE.
8162
8163 2014-02-19 Tom Tromey <tromey@redhat.com>
8164
8165 * target-delegates.c: Rebuild.
8166 * target.c (update_current_target): Don't inherit or default
8167 to_rcmd.
8168 (default_rcmd): New function.
8169 (do_monitor_command): Unconditionally delegate.
8170 * target.h (struct target_ops) <to_rmcd>: Use
8171 TARGET_DEFAULT_FUNC.
8172
8173 2014-02-19 Tom Tromey <tromey@redhat.com>
8174
8175 * target-delegates.c: Rebuild.
8176 * target.c (init_dummy_target): Don't initialize to_attach.
8177 (target_attach): Unconditionally delegate.
8178 * target.h (struct target_ops) <to_attach>: Use
8179 TARGET_DEFAULT_FUNC.
8180
8181 2014-02-19 Tom Tromey <tromey@redhat.com>
8182
8183 * target-delegates.c: Rebuild.
8184 * target.c (target_detach): Unconditionally delegate.
8185 (init_dummy_target): Don't initialize to_detach.
8186 * target.h (struct target_ops) <to_detach>: Use
8187 TARGET_DEFAULT_IGNORE.
8188
8189 2014-02-19 Tom Tromey <tromey@redhat.com>
8190
8191 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8192 Add argument.
8193 (target_augmented_libraries_svr4_read): Add argument.
8194 * target.c (update_current_target): Update.
8195 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8196 argument.
8197
8198 2014-02-19 Tom Tromey <tromey@redhat.com>
8199
8200 * target.h (struct target_ops) <to_call_history_range>: Add
8201 argument.
8202 * target.c (target_call_history_range): Add argument.
8203 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8204 argument.
8205 (record_btrace_call_history_from): Update.
8206
8207 2014-02-19 Tom Tromey <tromey@redhat.com>
8208
8209 * target.h (struct target_ops) <to_call_history_from>: Add
8210 argument.
8211 * target.c (target_call_history_from): Add argument.
8212 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8213 argument.
8214
8215 2014-02-19 Tom Tromey <tromey@redhat.com>
8216
8217 * target.h (struct target_ops) <to_call_history>: Add argument.
8218 * target.c (target_call_history): Add argument.
8219 * record-btrace.c (record_btrace_call_history): Add 'self'
8220 argument.
8221
8222 2014-02-19 Tom Tromey <tromey@redhat.com>
8223
8224 * target.h (struct target_ops) <to_insn_history_range>: Add
8225 argument.
8226 * target.c (target_insn_history_range): Add argument.
8227 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8228 argument.
8229 (record_btrace_insn_history_from): Update.
8230
8231 2014-02-19 Tom Tromey <tromey@redhat.com>
8232
8233 * target.h (struct target_ops) <to_insn_history_from>: Add
8234 argument.
8235 * target.c (target_insn_history_from): Add argument.
8236 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8237 argument.
8238
8239 2014-02-19 Tom Tromey <tromey@redhat.com>
8240
8241 * target.h (struct target_ops) <to_insn_history>: Add argument.
8242 * target.c (target_insn_history): Add argument.
8243 * record-btrace.c (record_btrace_insn_history): Add 'self'
8244 argument.
8245
8246 2014-02-19 Tom Tromey <tromey@redhat.com>
8247
8248 * target.h (struct target_ops) <to_goto_record>: Add argument.
8249 * target.c (target_goto_record): Add argument.
8250 * record-full.c (record_full_goto): Add 'self' argument.
8251 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8252
8253 2014-02-19 Tom Tromey <tromey@redhat.com>
8254
8255 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8256 * target.c (target_goto_record_end): Add argument.
8257 * record-full.c (record_full_goto_end): Add 'self' argument.
8258 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8259
8260 2014-02-19 Tom Tromey <tromey@redhat.com>
8261
8262 * target.h (struct target_ops) <to_goto_record_begin>: Add
8263 argument.
8264 * target.c (target_goto_record_begin): Add argument.
8265 * record-full.c (record_full_goto_begin): Add 'self' argument.
8266 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8267 argument.
8268
8269 2014-02-19 Tom Tromey <tromey@redhat.com>
8270
8271 * target.h (struct target_ops) <to_record_is_replaying>: Add
8272 argument.
8273 * target.c (target_record_is_replaying): Add argument.
8274 * record-full.c (record_full_is_replaying): Add 'self' argument.
8275 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8276 argument.
8277 (record_btrace_xfer_partial, record_btrace_store_registers)
8278 (record_btrace_prepare_to_store, record_btrace_resume)
8279 (record_btrace_wait, record_btrace_decr_pc_after_break)
8280 (record_btrace_find_new_threads, record_btrace_thread_alive):
8281 Update.
8282
8283 2014-02-19 Tom Tromey <tromey@redhat.com>
8284
8285 * target.h (struct target_ops) <to_delete_record>: Add argument.
8286 * target.c (target_delete_record): Add argument.
8287 * record-full.c (record_full_delete): Add 'self' argument.
8288
8289 2014-02-19 Tom Tromey <tromey@redhat.com>
8290
8291 * target.h (struct target_ops) <to_save_record>: Add argument.
8292 * target.c (target_save_record): Add argument.
8293 * record-full.c (record_full_save): Add 'self' argument.
8294 (record_full_save): Add 'self' argument.
8295
8296 2014-02-19 Tom Tromey <tromey@redhat.com>
8297
8298 * target.h (struct target_ops) <to_info_record>: Add argument.
8299 * target.c (target_info_record): Add argument.
8300 * record.c (info_record_command): Add argument.
8301 * record-full.c (record_full_info): Add 'self' argument.
8302 * record-btrace.c (record_btrace_info): Add 'self' argument.
8303
8304 2014-02-19 Tom Tromey <tromey@redhat.com>
8305
8306 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8307 * target.c (target_stop_recording): Add argument.
8308 * record.c (record_stop): Add argument.
8309 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8310 argument.
8311
8312 2014-02-19 Tom Tromey <tromey@redhat.com>
8313
8314 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8315 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8316 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8317 argument.
8318 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8319 (_initialize_amd64_linux_nat): Use it.
8320 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8321 (_initialize_i386_linux_nat): Use it.
8322
8323 2014-02-19 Tom Tromey <tromey@redhat.com>
8324
8325 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8326 * target.c (target_teardown_btrace): Add argument.
8327 * remote.c (remote_teardown_btrace): Add 'self' argument.
8328 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8329 argument.
8330 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8331 argument.
8332
8333 2014-02-19 Tom Tromey <tromey@redhat.com>
8334
8335 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8336 * target.c (target_disable_btrace): Add argument.
8337 * remote.c (remote_disable_btrace): Add 'self' argument.
8338 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8339 argument.
8340 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8341 argument.
8342
8343 2014-02-19 Tom Tromey <tromey@redhat.com>
8344
8345 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8346 * target.c (target_enable_btrace): Add argument.
8347 * remote.c (remote_enable_btrace): Add 'self' argument.
8348 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8349 argument.
8350 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8351 argument.
8352
8353 2014-02-19 Tom Tromey <tromey@redhat.com>
8354
8355 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8356 (target_can_use_agent): Add argument.
8357 * target.c (update_current_target): Update.
8358 * remote.c (remote_can_use_agent): Add 'self' argument.
8359 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8360
8361 2014-02-19 Tom Tromey <tromey@redhat.com>
8362
8363 * target.h (struct target_ops) <to_use_agent>: Add argument.
8364 (target_use_agent): Add argument.
8365 * target.c (update_current_target): Update.
8366 * remote.c (remote_use_agent): Add 'self' argument.
8367 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8368
8369 2014-02-19 Tom Tromey <tromey@redhat.com>
8370
8371 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8372 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8373 (target_traceframe_info): Add argument.
8374 * target.c (update_current_target): Update.
8375 * remote.c (remote_traceframe_info): Add 'self' argument.
8376 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8377
8378 2014-02-19 Tom Tromey <tromey@redhat.com>
8379
8380 * target.h (target_static_tracepoint_markers_by_strid): Add
8381 argument.
8382 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8383 'self' argument.
8384 * target.c (update_current_target): Update.
8385 * remote.c (struct target_ops)
8386 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8387 * linux-nat.c (struct target_ops)
8388 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8389
8390 2014-02-19 Tom Tromey <tromey@redhat.com>
8391
8392 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8393 Add argument.
8394 (target_static_tracepoint_marker_at): Add argument.
8395 * target.c (update_current_target): Update.
8396 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8397 argument.
8398
8399 2014-02-19 Tom Tromey <tromey@redhat.com>
8400
8401 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8402 (target_set_permissions): Add argument.
8403 * target.c (update_current_target): Update.
8404 * remote.c (remote_set_permissions): Add 'self' argument.
8405 (remote_start_remote): Update.
8406
8407 2014-02-19 Tom Tromey <tromey@redhat.com>
8408
8409 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8410 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8411 (target_get_tib_address): Add argument.
8412 * target.c (update_current_target): Update.
8413 * remote.c (remote_get_tib_address): Add 'self' argument.
8414
8415 2014-02-19 Tom Tromey <tromey@redhat.com>
8416
8417 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8418 (target_set_trace_notes): Add argument.
8419 * target.c (update_current_target): Update.
8420 * remote.c (remote_set_trace_notes): Add 'self' argument.
8421
8422 2014-02-19 Tom Tromey <tromey@redhat.com>
8423
8424 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8425 argument.
8426 (target_set_trace_buffer_size): Add argument.
8427 * target.c (update_current_target): Update.
8428 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8429
8430 2014-02-19 Tom Tromey <tromey@redhat.com>
8431
8432 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8433 argument.
8434 (target_set_circular_trace_buffer): Add argument.
8435 * target.c (update_current_target): Update.
8436 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8437 argument.
8438
8439 2014-02-19 Tom Tromey <tromey@redhat.com>
8440
8441 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8442 argument.
8443 (target_set_disconnected_tracing): Add argument.
8444 * target.c (update_current_target): Update.
8445 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8446
8447 2014-02-19 Tom Tromey <tromey@redhat.com>
8448
8449 * target.h (struct target_ops)
8450 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8451 (target_get_min_fast_tracepoint_insn_len): Add argument.
8452 * target.c (update_current_target): Update.
8453 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8454 argument.
8455
8456 2014-02-19 Tom Tromey <tromey@redhat.com>
8457
8458 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8459 argument.
8460 (target_get_raw_trace_data): Add argument.
8461 * target.c (update_current_target): Update.
8462 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8463
8464 2014-02-19 Tom Tromey <tromey@redhat.com>
8465
8466 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8467 Add argument.
8468 (target_upload_trace_state_variables): Add argument.
8469 * target.c (update_current_target): Update.
8470 * remote.c (remote_upload_trace_state_variables): Add 'self'
8471 argument.
8472 (remote_start_remote): Update.
8473
8474 2014-02-19 Tom Tromey <tromey@redhat.com>
8475
8476 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8477 argument.
8478 (target_upload_tracepoints): Add argument.
8479 * target.c (update_current_target): Update.
8480 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8481 (remote_start_remote): Update.
8482
8483 2014-02-19 Tom Tromey <tromey@redhat.com>
8484
8485 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8486 (target_save_trace_data): Add argument.
8487 * target.c (update_current_target): Update.
8488 * remote.c (remote_save_trace_data): Add 'self' argument.
8489
8490 2014-02-19 Tom Tromey <tromey@redhat.com>
8491
8492 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8493 argument.
8494 * target.h (struct target_ops)
8495 <to_get_trace_state_variable_value>: Add argument.
8496 (target_get_trace_state_variable_value): Add argument.
8497 * target.c (update_current_target): Update.
8498 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8499 argument.
8500 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8501
8502 2014-02-19 Tom Tromey <tromey@redhat.com>
8503
8504 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8505 * target.h (struct target_ops) <to_trace_find>: Add argument.
8506 (target_trace_find): Add argument.
8507 * target.c (update_current_target): Update.
8508 * remote.c (remote_trace_find): Add 'self' argument.
8509 * ctf.c (ctf_trace_find): Add 'self' argument.
8510
8511 2014-02-19 Tom Tromey <tromey@redhat.com>
8512
8513 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8514 (target_trace_stop): Add argument.
8515 * target.c (update_current_target): Update.
8516 * remote.c (remote_trace_stop): Add 'self' argument.
8517
8518 2014-02-19 Tom Tromey <tromey@redhat.com>
8519
8520 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8521 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8522 argument.
8523 (target_get_tracepoint_status): Add argument.
8524 * target.c (update_current_target): Update.
8525 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8526
8527 2014-02-19 Tom Tromey <tromey@redhat.com>
8528
8529 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8530 * target.h (struct target_ops) <to_get_trace_status>: Add
8531 argument.
8532 (target_get_trace_status): Add argument.
8533 * target.c (update_current_target): Update.
8534 * remote.c (remote_get_trace_status): Add 'self' argument.
8535 (remote_start_remote, remote_can_download_tracepoint): Update.
8536 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8537
8538 2014-02-19 Tom Tromey <tromey@redhat.com>
8539
8540 * target.h (struct target_ops) <to_trace_start>: Add argument.
8541 (target_trace_start): Add argument.
8542 * target.c (update_current_target): Update.
8543 * remote.c (remote_trace_start): Add 'self' argument.
8544
8545 2014-02-19 Tom Tromey <tromey@redhat.com>
8546
8547 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8548 Add argument.
8549 (target_trace_set_readonly_regions): Add argument.
8550 * target.c (update_current_target): Update.
8551 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8552 argument.
8553
8554 2014-02-19 Tom Tromey <tromey@redhat.com>
8555
8556 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8557 argument.
8558 (target_disable_tracepoint): Add argument.
8559 * target.c (update_current_target): Update.
8560 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8561
8562 2014-02-19 Tom Tromey <tromey@redhat.com>
8563
8564 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8565 argument.
8566 (target_enable_tracepoint): Add argument.
8567 * target.c (update_current_target): Update.
8568 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8569
8570 2014-02-19 Tom Tromey <tromey@redhat.com>
8571
8572 * target.h (struct target_ops) <to_download_trace_state_variable>:
8573 Add argument.
8574 (target_download_trace_state_variable): Add argument.
8575 * target.c (update_current_target): Update.
8576 * remote.c (remote_download_trace_state_variable): Add 'self'
8577 argument.
8578
8579 2014-02-19 Tom Tromey <tromey@redhat.com>
8580
8581 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8582 argument.
8583 (target_can_download_tracepoint): Add argument.
8584 * target.c (update_current_target): Update.
8585 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8586
8587 2014-02-19 Tom Tromey <tromey@redhat.com>
8588
8589 * target.h (struct target_ops) <to_download_tracepoint>: Add
8590 argument.
8591 (target_download_tracepoint): Add argument.
8592 * target.c (update_current_target): Update.
8593 * remote.c (remote_download_tracepoint): Add 'self' argument.
8594
8595 2014-02-19 Tom Tromey <tromey@redhat.com>
8596
8597 * target.h (struct target_ops) <to_trace_init>: Add argument.
8598 (target_trace_init): Add argument.
8599 * target.c (update_current_target): Update.
8600 * remote.c (remote_trace_init): Add 'self' argument.
8601
8602 2014-02-19 Tom Tromey <tromey@redhat.com>
8603
8604 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8605 * target.c (target_fileio_readlink): Add argument.
8606 * remote.c (remote_hostio_readlink): Add 'self' argument.
8607 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8608
8609 2014-02-19 Tom Tromey <tromey@redhat.com>
8610
8611 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8612 * target.c (target_fileio_unlink): Add argument.
8613 * remote.c (remote_hostio_unlink): Add 'self' argument.
8614 (remote_file_delete): Update.
8615 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8616
8617 2014-02-19 Tom Tromey <tromey@redhat.com>
8618
8619 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8620 * target.c (target_fileio_close): Add argument.
8621 * remote.c (remote_hostio_close): Add 'self' argument.
8622 (remote_hostio_close_cleanup): Update.
8623 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8624 Update.
8625 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8626
8627 2014-02-19 Tom Tromey <tromey@redhat.com>
8628
8629 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8630 * target.c (target_fileio_pread): Add argument.
8631 * remote.c (remote_hostio_pread): Add 'self' argument.
8632 (remote_bfd_iovec_pread, remote_file_get): Update.
8633 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8634
8635 2014-02-19 Tom Tromey <tromey@redhat.com>
8636
8637 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8638 * target.c (target_fileio_pwrite): Add argument.
8639 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8640 (remote_file_put): Update.
8641 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8642
8643 2014-02-19 Tom Tromey <tromey@redhat.com>
8644
8645 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8646 * target.c (target_fileio_open): Add argument.
8647 * remote.c (remote_hostio_open): Add 'self' argument.
8648 (remote_bfd_iovec_open): Add 'self' argument.
8649 (remote_file_put): Add 'self' argument.
8650 (remote_file_get): Add 'self' argument.
8651 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8652
8653 2014-02-19 Tom Tromey <tromey@redhat.com>
8654
8655 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8656 Add argument.
8657 (target_can_run_breakpoint_commands): Add argument.
8658 * target.c (update_current_target): Update.
8659 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8660 argument.
8661 (remote_insert_breakpoint): Add 'self' argument.
8662 (remote_insert_hw_breakpoint): Add 'self' argument.
8663 (remote_can_run_breakpoint_commands): Add 'self' argument.
8664
8665 2014-02-19 Tom Tromey <tromey@redhat.com>
8666
8667 * target.h (struct target_ops)
8668 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8669 (target_supports_evaluation_of_breakpoint_conditions): Add
8670 argument.
8671 * target.c (update_current_target): Update.
8672 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8673 argument.
8674 (remote_insert_breakpoint): Add 'self' argument.
8675 (remote_insert_hw_breakpoint): Add 'self' argument.
8676 (remote_supports_cond_breakpoints): Add 'self' argument.
8677
8678 2014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8681 argument.
8682 (target_supports_string_tracing): Add argument.
8683 * target.c (update_current_target): Update.
8684 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8685
8686 2014-02-19 Tom Tromey <tromey@redhat.com>
8687
8688 * target.h (struct target_ops)
8689 <to_supports_disable_randomization>: Add argument.
8690 * target.c (find_default_supports_disable_randomization): Add
8691 argument.
8692 (target_supports_disable_randomization): Add argument.
8693 (find_default_supports_disable_randomization): Add 'self'
8694 argument.
8695 * remote.c (extended_remote_supports_disable_randomization): Add
8696 'self' argument.
8697 (remote_supports_disable_randomization): Add 'self' argument.
8698 (extended_remote_create_inferior): Update.
8699 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8700 'self' argument.
8701
8702 2014-02-19 Tom Tromey <tromey@redhat.com>
8703
8704 * target.h (struct target_ops)
8705 <to_supports_enable_disable_tracepoint>: Add argument.
8706 (target_supports_enable_disable_tracepoint): Add argument.
8707 * target.c (update_current_target): Update.
8708 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8709 argument.
8710
8711 2014-02-19 Tom Tromey <tromey@redhat.com>
8712
8713 * target.h (struct target_ops) <to_supports_multi_process>: Add
8714 argument.
8715 (target_supports_multi_process): Add argument.
8716 * target.c (update_current_target): Update.
8717 * remote.c (remote_supports_multi_process): Add 'self' argument.
8718 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8719 argument.
8720 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8721 argument.
8722
8723 2014-02-19 Tom Tromey <tromey@redhat.com>
8724
8725 * target.h (struct target_ops) <to_execution_direction>: Add
8726 argument.
8727 (target_execution_direction): Add argument.
8728 * target.c (default_execution_direction): Add 'self' argument.
8729 * record-full.c (record_full_execution_direction): Add 'self'
8730 argument.
8731
8732 2014-02-19 Tom Tromey <tromey@redhat.com>
8733
8734 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8735 argument.
8736 (target_can_execute_reverse): Add argument.
8737 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8738 * record-full.c (record_full_can_execute_reverse): Add 'self'
8739 argument.
8740 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8741 argument.
8742
8743 2014-02-19 Tom Tromey <tromey@redhat.com>
8744
8745 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8746 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8747 argument.
8748 (target_get_ada_task_ptid): Add argument.
8749 * target.c (update_current_target): Update.
8750 (default_get_ada_task_ptid): Add 'self' argument.
8751 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8752 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8753 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8754 argument.
8755 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8756 argument.
8757 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8758 argument.
8759 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8760 argument.
8761 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8762 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8763 argument.
8764
8765 2014-02-19 Tom Tromey <tromey@redhat.com>
8766
8767 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8768 (target_goto_bookmark): Add argument.
8769 * target.c (dummy_goto_bookmark): Add 'self' argument.
8770 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8771
8772 2014-02-19 Tom Tromey <tromey@redhat.com>
8773
8774 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8775 (target_get_bookmark): Add argument.
8776 * target.c (dummy_get_bookmark): Add 'self' argument.
8777 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8778
8779 2014-02-19 Tom Tromey <tromey@redhat.com>
8780
8781 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8782 argument.
8783 (target_make_corefile_notes): Add argument.
8784 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8785 * procfs.c (procfs_make_note_section): Add 'self' argument.
8786 (procfs_make_note_section): Add 'self' argument.
8787 (procfs_make_note_section): Add 'self' argument.
8788 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8789 argument.
8790 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8791 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8792 * exec.c (exec_make_note_section): Add 'self' argument.
8793 (exec_make_note_section): Add 'self' argument.
8794
8795 2014-02-19 Tom Tromey <tromey@redhat.com>
8796
8797 * target.h (struct target_ops) <to_find_memory_regions>: Add
8798 argument.
8799 (target_find_memory_regions): Add argument.
8800 * target.c (dummy_find_memory_regions): Add 'self' argument.
8801 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8802 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8803 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8804 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8805 * exec. (exec_do_find_memory_regions): New global.
8806 (exec_set_find_memory_regions): Rewrite.
8807 (exec_find_memory_regions): New function.
8808 (init_exec_ops): Use exec_find_memory_regions.
8809
8810 2014-02-19 Tom Tromey <tromey@redhat.com>
8811
8812 * target.h (struct target_ops) <to_supports_non_stop>: Add
8813 argument.
8814 * target.c (find_default_supports_non_stop): Add argument.
8815 (target_supports_non_stop): Add argument.
8816 (find_default_supports_non_stop): Add 'self' argument.
8817 * remote.c (remote_supports_non_stop): Add 'self' argument.
8818 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8819
8820 2014-02-19 Tom Tromey <tromey@redhat.com>
8821
8822 * target.h (struct target_ops) <to_log_command>: Add argument.
8823 (target_log_command): Add argument.
8824 * serial.h (serial_log_command): Add 'self' argument.
8825 * serial.c (serial_log_command): Add 'self' argument.
8826
8827 2014-02-19 Tom Tromey <tromey@redhat.com>
8828
8829 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8830 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8831 argument.
8832 (target_pid_to_exec_file): Add argument.
8833 * target.c (debug_to_pid_to_exec_file): Add argument.
8834 (update_current_target): Update.
8835 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
8836 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
8837 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
8838 (linux_handle_extended_wait): Update.
8839 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
8840 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
8841 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
8842 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
8843
8844 2014-02-19 Tom Tromey <tromey@redhat.com>
8845
8846 * target.h (struct target_ops) <to_rcmd>: Add argument.
8847 (target_rcmd): Add argument.
8848 * target.c (debug_to_rcmd): Add argument.
8849 (update_current_target, do_monitor_command): Update.
8850 * remote.c (remote_rcmd): Add 'self' argument.
8851 * monitor.c (monitor_rcmd): Add 'self' argument.
8852
8853 2014-02-19 Tom Tromey <tromey@redhat.com>
8854
8855 * windows-nat.c (windows_stop): Add 'self' argument.
8856 * target.h (struct target_ops) <to_stop>: Add argument.
8857 * target.c (target_stop): Add argument.
8858 (debug_to_stop): Add argument.
8859 (update_current_target): Update.
8860 * remote.c (remote_stop): Add 'self' argument.
8861 * remote-sim.c (gdbsim_stop): Add 'self' argument.
8862 (gdbsim_cntrl_c): Update.
8863 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
8864 * procfs.c (procfs_stop): Add 'self' argument.
8865 * nto-procfs.c (procfs_stop): Add 'self' argument.
8866 * monitor.c (monitor_stop): Add 'self' argument.
8867 (monitor_open): Update.
8868 * linux-nat.c (linux_nat_stop): Add argument.
8869 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
8870 * gnu-nat.c (gnu_stop): Add 'self' argument.
8871 * darwin-nat.c (darwin_stop): Add 'self' argument.
8872
8873 2014-02-19 Tom Tromey <tromey@redhat.com>
8874
8875 * target.h (struct target_ops) <to_thread_name>: Add argument.
8876 * target.c (target_thread_name): Add argument.
8877 (update_current_target): Update.
8878 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
8879
8880 2014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target.h (struct target_ops) <to_extra_thread_info>: Add
8883 argument.
8884 (target_extra_thread_info): Add argument.
8885 * target.c (update_current_target): Update.
8886 * remote.c (remote_threads_extra_info): Add 'self' argument.
8887 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
8888 argument.
8889 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
8890 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
8891 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
8892 argument.
8893 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
8894 argument.
8895 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
8896 argument.
8897 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
8898 argument.
8899
8900 2014-02-19 Tom Tromey <tromey@redhat.com>
8901
8902 * target.h (struct target_ops) <to_program_signals>: Add argument.
8903 * target.c (target_program_signals): Add argument.
8904 * remote.c (remote_program_signals): Add 'self' argument.
8905
8906 2014-02-19 Tom Tromey <tromey@redhat.com>
8907
8908 * target.h (struct target_ops) <to_pass_signals>: Add argument.
8909 * target.c (target_pass_signals): Add argument.
8910 * remote.c (remote_pass_signals): Add 'self' argument.
8911 (remote_start_remote): Update.
8912 * procfs.c (procfs_pass_signals): Add 'self' argument.
8913 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
8914 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
8915 (linux_nat_create_inferior, linux_nat_attach): Update.
8916
8917 2014-02-19 Tom Tromey <tromey@redhat.com>
8918
8919 * windows-nat.c (windows_can_run): Add 'self' argument.
8920 * target.h (struct target_ops) <to_can_run>: Add argument.
8921 (target_can_run): Add argument.
8922 * target.c (debug_to_can_run): Add argument.
8923 (update_current_target): Update.
8924 * nto-procfs.c (procfs_can_run): Add 'self' argument.
8925 * inf-child.c (inf_child_can_run): Add 'self' argument.
8926 * go32-nat.c (go32_can_run): Add 'self' argument.
8927
8928 2014-02-19 Tom Tromey <tromey@redhat.com>
8929
8930 * target.h (struct target_ops) <to_has_exited>: Add argument.
8931 (target_has_exited): Add argument.
8932 * target.c (debug_to_has_exited): Add argument.
8933 (update_current_target): Update.
8934
8935 2014-02-19 Tom Tromey <tromey@redhat.com>
8936
8937 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
8938 argument.
8939 (target_set_syscall_catchpoint): Add argument.
8940 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
8941 argument.
8942 * target.c (update_current_target): Update.
8943
8944 2014-02-19 Tom Tromey <tromey@redhat.com>
8945
8946 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
8947 argument.
8948 (target_remove_exec_catchpoint): Add argument.
8949 * target.c (debug_to_remove_exec_catchpoint): Add argument.
8950 (update_current_target): Update.
8951 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
8952 argument.
8953
8954 2014-02-19 Tom Tromey <tromey@redhat.com>
8955
8956 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
8957 argument.
8958 (target_insert_exec_catchpoint): Add argument.
8959 * target.c (debug_to_insert_exec_catchpoint): Add argument.
8960 (update_current_target): Update.
8961 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
8962 argument.
8963
8964 2014-02-19 Tom Tromey <tromey@redhat.com>
8965
8966 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
8967 argument.
8968 (target_remove_vfork_catchpoint): Add argument.
8969 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
8970 (update_current_target): Update.
8971 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
8972 argument.
8973
8974 2014-02-19 Tom Tromey <tromey@redhat.com>
8975
8976 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
8977 argument.
8978 (target_insert_vfork_catchpoint): Add argument.
8979 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
8980 (update_current_target): Update.
8981 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
8982 argument.
8983
8984 2014-02-19 Tom Tromey <tromey@redhat.com>
8985
8986 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
8987 argument.
8988 (target_remove_fork_catchpoint): Add argument.
8989 * target.c (debug_to_remove_fork_catchpoint): Add argument.
8990 (update_current_target): Update.
8991 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
8992 argument.
8993
8994 2014-02-19 Tom Tromey <tromey@redhat.com>
8995
8996 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
8997 argument.
8998 (target_insert_fork_catchpoint): Add argument.
8999 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9000 (update_current_target): Update.
9001 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9002 argument.
9003
9004 2014-02-19 Tom Tromey <tromey@redhat.com>
9005
9006 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9007 argument.
9008 (target_post_startup_inferior): Add argument.
9009 * target.c (debug_to_post_startup_inferior): Add argument.
9010 (update_current_target): Update.
9011 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9012 argument.
9013 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9014 argument.
9015 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9016 argument.
9017 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9018 argument.
9019 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9020 'self' argument.
9021 (super_post_startup_inferior): Likewise.
9022 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9023 'self' argument.
9024 (super_post_startup_inferior): Likewise.
9025 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9026 Add 'self' argument.
9027 (super_post_startup_inferior): Likewise.
9028
9029 2014-02-19 Tom Tromey <tromey@redhat.com>
9030
9031 * target.h (struct target_ops) <to_load>: Add argument.
9032 * target.c (target_load): Add argument.
9033 (debug_to_load): Add argument.
9034 (update_current_target): Update.
9035 * remote.c (remote_load): Add 'self' argument.
9036 * remote-sim.c (gdbsim_load): Add 'self' argument.
9037 * remote-mips.c (mips_load): Add 'self' argument.
9038 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9039 * monitor.c (monitor_load): Add 'self' argument.
9040 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9041
9042 2014-02-19 Tom Tromey <tromey@redhat.com>
9043
9044 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9045 (target_terminal_info): Add argument.
9046 * target.c (debug_to_terminal_info): Add argument.
9047 (default_terminal_info): Likewise.
9048 * inflow.c (child_terminal_info): Add 'self' argument.
9049 * inferior.h (child_terminal_info): Add 'self' argument.
9050 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9051
9052 2014-02-19 Tom Tromey <tromey@redhat.com>
9053
9054 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9055 argument.
9056 (target_terminal_save_ours): Add argument.
9057 * target.c (debug_to_terminal_save_ours): Add argument.
9058 (update_current_target): Update.
9059 * inflow.c (terminal_save_ours): Add 'self' argument.
9060 * inferior.h (terminal_save_ours): Add 'self' argument.
9061
9062 2014-02-19 Tom Tromey <tromey@redhat.com>
9063
9064 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9065 (target_terminal_ours): Add argument.
9066 * target.c (debug_to_terminal_ours): Add argument.
9067 (update_current_target): Update.
9068 * remote.c (remote_terminal_ours): Add 'self' argument.
9069 (remote_close): Update.
9070 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9071 * inflow.c (terminal_ours): Add 'self' argument.
9072 * inferior.h (terminal_ours): Add 'self' argument.
9073 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9074
9075 2014-02-19 Pedro Alves <palves@redhat.com>
9076 Tom Tromey <tromey@redhat.com>
9077
9078 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9079 argument.
9080 (target_terminal_ours_for_output): Add argument.
9081 * target.c (debug_to_terminal_ours_for_output): Add argument.
9082 (update_current_target): Update.
9083 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9084 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9085 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9086
9087 2014-02-19 Tom Tromey <tromey@redhat.com>
9088
9089 * target.h (struct target_ops) <to_terminal_inferior>: Add
9090 argument.
9091 * target.c (target_terminal_inferior): Add argument.
9092 (update_current_target): Update.
9093 * remote.c (remote_terminal_inferior): Add 'self' argument.
9094 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9095 * inflow.c (terminal_inferior): Add 'self' argument.
9096 * inferior.h (terminal_inferior): Add 'self' argument.
9097 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9098 (go32_terminal_inferior): Add 'self' argument.
9099
9100 2014-02-19 Tom Tromey <tromey@redhat.com>
9101
9102 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9103 (target_terminal_init): Add argument.
9104 * target.c (debug_to_terminal_init): Add argument.
9105 (update_current_target): Update.
9106 * inflow.c (terminal_init_inferior): Add 'self' argument.
9107 * inferior.h (terminal_init_inferior): Add 'self' argument.
9108 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9109 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9110
9111 2014-02-19 Tom Tromey <tromey@redhat.com>
9112
9113 * target.h (struct target_ops)
9114 <to_can_accel_watchpoint_condition>: Add argument.
9115 (target_can_accel_watchpoint_condition): Add argument.
9116 * target.c (debug_to_can_accel_watchpoint_condition): Add
9117 argument.
9118 (update_current_target): Update.
9119 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9120 'self' argument.
9121
9122 2014-02-19 Tom Tromey <tromey@redhat.com>
9123
9124 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9125 Add argument.
9126 (target_region_ok_for_hw_watchpoint): Add argument.
9127 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9128 (default_region_ok_for_hw_watchpoint): Add argument.
9129 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9130 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9131 argument.
9132 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9133 argument.
9134 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9135 argument.
9136 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9137 'self' argument.
9138 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9139 'self' argument.
9140 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9141 'self' argument.
9142 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9143 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9144 'self' argument.
9145 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9146 Add 'self' argument.
9147
9148 2014-02-19 Tom Tromey <tromey@redhat.com>
9149
9150 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9151 argument.
9152 (target_insert_watchpoint): Add argument.
9153 * target.c (debug_to_insert_watchpoint): Add argument.
9154 (update_current_target): Update.
9155 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9156 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9157 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9158 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9159 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9160 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9161 argument.
9162 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9163 (procfs_insert_hw_watchpoint): Add 'self' argument.
9164 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9165 argument.
9166 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9167 argument.
9168 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9169 argument.
9170 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9171 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9172 argument.
9173 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9174 'self' argument.
9175
9176 2014-02-19 Tom Tromey <tromey@redhat.com>
9177
9178 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9179 argument.
9180 (target_remove_watchpoint): Add argument.
9181 * target.c (debug_to_remove_watchpoint): Add argument.
9182 (update_current_target): Update.
9183 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9184 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9185 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9186 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9187 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9188 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9189 argument.
9190 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9191 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9192 argument.
9193 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9194 argument.
9195 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9196 argument.
9197 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9198 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9199 argument.
9200 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9201 'self' argument.
9202
9203 2014-02-19 Tom Tromey <tromey@redhat.com>
9204
9205 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9206 argument.
9207 (target_remove_hw_breakpoint): Add argument.
9208 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9209 (update_current_target): Update.
9210 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9211 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9212 argument.
9213 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9214 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9215 argument.
9216 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9217 'self' argument.
9218
9219 2014-02-19 Tom Tromey <tromey@redhat.com>
9220
9221 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9222 argument.
9223 (target_insert_hw_breakpoint): Add argument.
9224 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9225 (update_current_target): Update.
9226 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9227 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9228 argument.
9229 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9230 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9231 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9232 argument.
9233 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9234 'self' argument.
9235
9236 2014-02-19 Tom Tromey <tromey@redhat.com>
9237
9238 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9239 argument.
9240 (target_can_use_hardware_watchpoint): Add argument.
9241 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9242 (update_current_target): Update.
9243 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9244 argument.
9245 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9246 argument.
9247 * remote.c (remote_check_watch_resources): Add 'self' argument.
9248 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9249 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9250 argument.
9251 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9252 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9253 argument.
9254 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9255 argument.
9256 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9257 argument.
9258 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9259 argument.
9260 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9261 argument.
9262 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9263 argument.
9264 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9265 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9266 argument.
9267 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9268 'self' argument.
9269
9270 2014-02-19 Tom Tromey <tromey@redhat.com>
9271
9272 * target.h (struct target_ops) <to_post_attach>: Add argument.
9273 (target_post_attach): Add argument.
9274 * target.c (debug_to_post_attach): Add argument.
9275 (update_current_target): Update.
9276 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9277 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9278 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9279 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9280 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9281
9282 2014-02-19 Tom Tromey <tromey@redhat.com>
9283
9284 * windows-nat.c (windows_close): Add 'self' argument.
9285 * tracepoint.c (tfile_close): Add 'self' argument.
9286 * target.h (struct target_ops) <to_close>: Add argument.
9287 * target.c (target_close): Add argument.
9288 (update_current_target): Update.
9289 * remote.c (remote_close): Add 'self' argument.
9290 * remote-sim.c (gdbsim_close): Add 'self' argument.
9291 * remote-mips.c (mips_close): Add 'self' argument.
9292 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9293 * record-full.c (record_full_close): Add 'self' argument.
9294 * record-btrace.c (record_btrace_close): Add 'self' argument.
9295 * monitor.h (monitor_close): Add 'self' argument.
9296 * monitor.c (monitor_close): Add 'self' argument.
9297 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9298 * linux-nat.c (linux_nat_close): Add argument.
9299 * go32-nat.c (go32_close): Add 'self' argument.
9300 * exec.c (exec_close_1): Add 'self' argument.
9301 * ctf.c (ctf_close): Add 'self' argument.
9302 * corelow.c (core_close): Add 'self' argument.
9303 (core_close_cleanup): Update.
9304 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9305 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9306
9307 2014-02-19 Tom Tromey <tromey@redhat.com>
9308
9309 * remote.c (remote_load): New function.
9310 (init_remote_ops): Use it.
9311
9312 2014-02-19 Tom Tromey <tromey@redhat.com>
9313
9314 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9315 argument.
9316 * common/linux-btrace.h (linux_supports_btrace): Update.
9317 * remote.c (remote_supports_btrace): Add "self" argument.
9318 * target-delegates.c: Rebuild.
9319 * target.c (target_supports_btrace): Remove.
9320 * target.h (struct target_ops) <to_supports_btrace>: Add
9321 target_ops argument.
9322 (target_supports_btrace): New define.
9323
9324 2014-02-19 Tom Tromey <tromey@redhat.com>
9325
9326 * record-full.c (record_full_beneath_to_resume_ops)
9327 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9328 (record_full_beneath_to_wait)
9329 (record_full_beneath_to_store_registers_ops)
9330 (record_full_beneath_to_store_registers)
9331 (record_full_beneath_to_xfer_partial_ops)
9332 (record_full_beneath_to_xfer_partial)
9333 (record_full_beneath_to_insert_breakpoint_ops)
9334 (record_full_beneath_to_insert_breakpoint)
9335 (record_full_beneath_to_remove_breakpoint_ops)
9336 (record_full_beneath_to_remove_breakpoint)
9337 (record_full_beneath_to_stopped_by_watchpoint)
9338 (record_full_beneath_to_stopped_data_address)
9339 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9340 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9341 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9342 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9343 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9344 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9345 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9346 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9347 (record_full_resume, record_full_wait_1)
9348 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9349 (record_full_store_registers, record_full_xfer_partial)
9350 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9351 (record_full_async, record_full_core_xfer_partial): Use target
9352 delegation.
9353 * target-delegates.c: Rebuild.
9354 * target.c (current_xfer_partial): Remove.
9355 (update_current_target): Do not INHERIT or de_fault
9356 to_insert_breakpoint, to_remove_breakpoint,
9357 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9358 to_is_async_p, to_async. Do not set to_xfer_partial field.
9359 (default_xfer_partial): Simplify.
9360 (current_xfer_partial): Remove.
9361 (target_wait, target_resume): Simplify.
9362 (find_default_can_async_p, find_default_is_async_p): Update.
9363 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9364 to_xfer_partial, to_stopped_by_watchpoint,
9365 to_stopped_data_address.
9366 (target_store_registers): Simplify.
9367 (forward_target_remove_breakpoint)
9368 (forward_target_insert_breakpoint): Remove.
9369 (target_remove_breakpoint, target_insert_breakpoint)
9370 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9371 * target.h (struct target_ops) <to_resume, to_wait,
9372 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9373 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9374 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9375 markup.
9376 (forward_target_remove_breakpoint)
9377 (forward_target_insert_breakpoint): Remove.
9378 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9379 directly.
9380 (record_btrace_insert_breakpoint): Delegate directly.
9381
9382 2014-02-19 Tom Tromey <tromey@redhat.com>
9383
9384 PR build/7701:
9385 * target-delegates.c: New file.
9386 * target.c: Include target-delegates.c.
9387 (init_dummy_target): Call install_dummy_methods.
9388 (complete_target_initialization): Call install_delegators.
9389 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9390 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9391 * make-target-delegates: New file.
9392
9393 2014-02-19 Tom Tromey <tromey@redhat.com>
9394
9395 * record.c (find_record_target): Use find_target_at.
9396 * target.c (find_target_at): New function.
9397 * target.h (find_target_at): Declare.
9398
9399 2014-02-19 Tom Tromey <tromey@redhat.com>
9400
9401 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9402 Add 'ops' argument.
9403 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9404 'ops' argument.
9405 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9406 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9407 'ops' argument.
9408 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9409 argument.
9410 * linux-nat.c (save_sigtrap): Update.
9411 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9412 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9413 (linux_nat_close): Update.
9414 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9415 argument.
9416 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9417 argument.
9418 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9419 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9420 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9421 (tmp_to_async): Add 'ops' argument.
9422 (record_full_stopped_by_watchpoint, record_full_async)
9423 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9424 argument.
9425 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9426 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9427 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9428 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9429 (remote_is_async_p, remote_async): Add 'ops' argument.
9430 (remote_stopped_data_address): Update.
9431 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9432 * target.c (update_current_target)
9433 (find_default_can_async_p, find_default_is_async_p): Update.
9434 (init_dummy_target): Update.
9435 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9436 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9437 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9438 (target_can_async_p, target_is_async_p, target_async)
9439 (target_stopped_by_watchpoint): Update.
9440
9441 2014-02-19 Yao Qi <yao@codesourcery.com>
9442
9443 PR gdb/16220
9444 * gdbarch.sh: Remove startup_gdbarch.
9445 * gdbarch.c: Regenerated.
9446 * gdbarch.h: Likewise.
9447
9448 2014-02-17 Kevin Buettner <kevinb@redhat.com>
9449
9450 * rl78-tdep.c (rl78_g10_register_name): New function.
9451 (rl78_return_value): Add g10 support.
9452 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9453 g10.
9454
9455 2014-02-17 Doug Evans <xdje42@gmail.com>
9456
9457 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9458 (SUBDIR_GUILE_SRCS): Ditto.
9459 (scm-gsmob.o): Ditto.
9460
9461 2014-02-17 Yao Qi <yao@codesourcery.com>
9462
9463 * gnu-nat.c (ILL_RPC): Declare defined function.
9464
9465 2014-02-17 Yao Qi <yao@codesourcery.com>
9466
9467 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9468 mach_msg_type_number_t.
9469 (gnu_write_inferior): Likewise.
9470
9471 2014-02-17 Yao Qi <yao@codesourcery.com>
9472
9473 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9474 in format string.
9475 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9476 (inf_validate_procs, inf_signal): Likewise.
9477 (S_exception_raise_request): Likewise.
9478 (do_mach_notify_dead_name): Likewise.
9479 (steal_exc_port): Likewise.
9480 (gnu_read_inferior): Change 'copy_count''s type to
9481 mach_msg_type_number_t.
9482 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9483 format string.
9484
9485 2014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9486
9487 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9488 flag. Adjust all users; in particular...
9489 (gnu_wait): ..., don't decrement its value in here...
9490 (gnu_create_inferior): ..., and instead set the flag in here,
9491 around the startup_inferior call, and call that one with
9492 START_INFERIOR_TRAPS_EXPECTED.
9493
9494 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9495 (ILL_RPC): ... new macro.
9496 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9497 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9498 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9499 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9500 functions with ILL_RPC macro.
9501 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9502 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9503 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9504 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9505 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9506 (S_proc_getlogin_reply, S_proc_getsid_reply)
9507 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9508 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9509 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9510 (S_proc_getnports_reply, S_proc_is_important_reply)
9511 (S_proc_get_code_reply): New stub functions, generated with
9512 ILL_RPC macro.
9513
9514 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9515 collected the type check structures.
9516
9517 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9518
9519 2014-02-14 Doug Evans <dje@google.com>
9520
9521 * target.c (target_write_partial): Fix result type.
9522
9523 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9524
9525 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9526 the proper offsets to access fpregset_t.
9527
9528 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9529
9530 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9531 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9532 * h8300-tdep.c (setmachinelist): Remove global.
9533 * hppa-tdep.c (hppa_sigtramp): Remove global.
9534 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9535 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9536 * ravenscar-thread.c (update_target_observer): Remove global.
9537 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9538
9539 2014-02-12 Tom Tromey <tromey@redhat.com>
9540
9541 * common/rsp-low.c: Update comments.
9542 * common/rsp-low.h: Update comments.
9543
9544 2014-02-12 Tom Tromey <tromey@redhat.com>
9545
9546 * common/rsp-low.c (convert_ascii_to_int): Remove.
9547 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9548
9549 2014-02-12 Tom Tromey <tromey@redhat.com>
9550
9551 * common/rsp-low.h (unhexify): Don't declare.
9552 * common/rsp-low.c (unhexify): Remove.
9553
9554 2014-02-12 Tom Tromey <tromey@redhat.com>
9555
9556 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9557 * common/rsp-low.c (convert_int_to_ascii): Remove.
9558
9559 2014-02-12 Tom Tromey <tromey@redhat.com>
9560
9561 * common/rsp-low.h (hexify): Don't declare.
9562 * common/rsp-low.c (hexify): Remove.
9563
9564 2014-02-12 Tom Tromey <tromey@redhat.com>
9565
9566 * common/rsp-low.c (hexify): Never take strlen of argument.
9567
9568 2014-02-12 Tom Tromey <tromey@redhat.com>
9569
9570 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9571 * remote.c (extended_remote_run, remote_rcmd)
9572 (remote_download_trace_state_variable, remote_save_trace_data)
9573 (remote_set_trace_notes): Update.
9574 * tracepoint.c (encode_source_string, tfile_write_status)
9575 (tfile_write_uploaded_tsv): Update.
9576
9577 2014-02-12 Tom Tromey <tromey@redhat.com>
9578
9579 * tracepoint.c: Include rsp-low.h.
9580 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9581 * remote.c: Include rsp-low.h.
9582 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9583 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9584 (remote_unescape_input): Move to common/rsp-low.c.
9585 * common/rsp-low.h: New file.
9586 * common/rsp-low.c: New file.
9587 * Makefile.in (SFILES): Add common/rsp-low.c.
9588 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9589 (COMMON_OBS): Add rsp-low.o.
9590 (rsp-low.o): New target.
9591
9592 2014-02-12 Tom Tromey <tromey@redhat.com>
9593
9594 * utils.h: Include print-utils.h.
9595 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9596 (int_string, core_addr_to_string, core_addr_to_string_nz)
9597 (hex_string, hex_string_custom): Don't declare.
9598 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9599 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9600 (hex_string_custom, int_string, core_addr_to_string)
9601 (core_addr_to_string_nz, host_address_to_string): Move to
9602 common/print-utils.c.
9603 * common/print-utils.h: New file.
9604 * common/print-utils.c: New file
9605 * Makefile.in (SFILES): Add common/print-utils.c.
9606 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9607 (COMMON_OBS): Add print-utils.o.
9608 (print-utils.o): New target.
9609
9610 2014-02-12 Tom Tromey <tromey@redhat.com>
9611
9612 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9613
9614 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9615
9616 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9617
9618 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9619
9620 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9621 if a PT_IO ptrace request returns sucessfully but indicates that 0
9622 bytes were transferred.
9623
9624 2014-02-12 Pedro Alves <palves@redhat.com>
9625 Kevin Buettner <kevinb@redhat.com>
9626
9627 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9628 TYPE_INSTANCE_FLAG_CODE_SPACE.
9629
9630 2014-02-12 Pedro Alves <palves@redhat.com>
9631
9632 * h8300-tdep.c (pseudo_from_raw_register)
9633 (raw_from_pseudo_register): New functions.
9634 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9635 them.
9636
9637 2014-02-12 Pedro Alves <palves@redhat.com>
9638
9639 * h8300-tdep.c (h8300_register_sim_regno): New function.
9640 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9641 gdbarch_register_sim_regno hook.
9642
9643 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9644
9645 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9646
9647 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9648
9649 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9650
9651 2014-02-12 Mark Kettenis <kettenis@gnu.org>
9652
9653 * obsd-tdep.h (obsd_init_abi): New prototype.
9654 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9655 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9656 (obsd_init_abi): New functions.
9657 * i386obsd-tdep.c: Include "obsd-tdep.h".
9658 (i386obsd_init_abi): Call obsd_init_abi.
9659 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9660 (amd64obsd_init_abi): Call obsd_init_abi.
9661 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9662 obsd-tdep.c to gdb_target_obs.
9663
9664 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9665
9666 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9667 double float arguments to 16-byte in the argument slots.
9668
9669 2014-02-11 Doug Evans <xdje42@gmail.com>
9670
9671 * configure.ac: Don't crash if pkg-config is not found and guile
9672 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9673 in guile checks.
9674 * configure: Regenerate.
9675
9676 2014-02-11 Yao Qi <yao@codesourcery.com>
9677
9678 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9679 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9680 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9681 * gnu-nat.c (gnu_xfer_memory): Likewise.
9682 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9683 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9684 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9685 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9686
9687 2014-02-11 Yao Qi <yao@codesourcery.com>
9688
9689 * target.h (enum target_xfer_error): Rename to ...
9690 (enum target_xfer_status): ... it. New. All users updated.
9691 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9692 New.
9693 (TARGET_XFER_STATUS_ERROR_P): New macro.
9694 (target_xfer_error_to_string): Remove declaration.
9695 (target_xfer_status_to_string): Declare.
9696 (target_xfer_partial_ftype): Adjust it.
9697 (struct target_ops) <to_xfer_partial>: Return
9698 target_xfer_status. Add argument xfered_len. Update
9699 comments.
9700 * target.c (target_xfer_error_to_string): Rename to ...
9701 (target_xfer_status_to_string): ... it. New. All callers
9702 updated.
9703 (target_read_live_memory): Likewise. Call target_xfer_partial
9704 instead of target_read.
9705 (memory_xfer_live_readonly_partial): Return
9706 target_xfer_status. Add argument xfered_len.
9707 (raw_memory_xfer_partial): Likewise.
9708 (memory_xfer_partial_1): Likewise.
9709 (memory_xfer_partial): Likewise.
9710 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9711 properly. Update debug message.
9712 (default_xfer_partial, current_xfer_partial): Likewise.
9713 (target_write_partial): Likewise.
9714 (target_read_partial): Likewise. All callers updated.
9715 (read_whatever_is_readable): Likewise.
9716 (target_write_with_progress): Likewise.
9717 (target_read_alloc_1): Likewise.
9718
9719 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9720 * auxv.c (procfs_xfer_auxv): Likewise.
9721 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9722 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9723 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9724 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9725 * corefile.c (read_memory): Adjust.
9726 * corelow.c (core_xfer_partial): Likewise.
9727 * ctf.c (ctf_xfer_partial): Likewise.
9728 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9729 updated.
9730 (darwin_xfer_partial): Likewise.
9731 * exec.c (section_table_xfer_memory_partial): Likewise. All
9732 callers updated.
9733 (exec_xfer_partial): Likewise.
9734 * exec.h (section_table_xfer_memory_partial): Update
9735 declaration.
9736 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9737 negative.
9738 (gnu_xfer_partial): Likewise.
9739 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9740 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9741 (ia64_hpux_xfer_solib_got): Likewise.
9742 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9743 type of 'partial_len' to ULONGEST.
9744 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9745 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9746 (linux_nat_xfer_partial): Likewise.
9747 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9748 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9749 * monitor.c (monitor_xfer_memory): Likewise.
9750 (monitor_xfer_partial): Likewise.
9751 * procfs.c (procfs_xfer_partial): Likewise.
9752 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9753 * record-full.c (record_full_xfer_partial): Likewise.
9754 (record_full_core_xfer_partial): Likewise.
9755 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9756 (gdbsim_xfer_partial): Likewise.
9757 * remote.c (remote_write_bytes_aux): Likewise. All callers
9758 updated.
9759 (remote_write_bytes, remote_read_bytes): Likewise. All
9760 callers updated.
9761 (remote_flash_erase): Likewise. All callers updated.
9762 (remote_write_qxfer): Likewise. All callers updated.
9763 (remote_read_qxfer): Likewise. All callers updated.
9764 (remote_xfer_partial): Likewise.
9765 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9766 (rs6000_xfer_shared_libraries): Likewise.
9767 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9768 (sol_thread_xfer_partial): Likewise.
9769 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9770 (sparc_xfer_partial): Likewise.
9771 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9772 updated.
9773 (spu_xfer_partial): Likewise.
9774 * spu-multiarch.c (spu_xfer_partial): Likewise.
9775 * tracepoint.c (tfile_xfer_partial): Likewise.
9776 * windows-nat.c (windows_xfer_memory): Likewise.
9777 (windows_xfer_shared_libraries): Likewise.
9778 (windows_xfer_partial): Likewise.
9779 * valprint.c: Replace 'target_xfer_error' with
9780 'target_xfer_status' in comments.
9781
9782 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9783
9784 Checked in by Joel Brobecker <brobecker@adacore.com>.
9785 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9786
9787 2014-02-11 Joel Brobecker <brobecker@adacore.com>
9788
9789 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9790 function parameters.
9791
9792 2014-02-10 Will Newton <will.newton@linaro.org>
9793
9794 * elfread.c (elf_rel_plt_read): Look for a .got section if
9795 looking up .got.plt fails.
9796 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9797 on address passed to elf_gnu_ifunc_record_cache.
9798 (elf_gnu_ifunc_resolve_addr): Likewise.
9799 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9800
9801 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9802
9803 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9804 (X_RETTURN): New macro.
9805 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9806
9807 * sparc64-tdep.c (sparc64_init_abi): Hook
9808 sparc_in_function_epilogue_p.
9809
9810 2014-02-10 Gary Benson <gbenson@redhat.com>
9811
9812 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9813 Rename name_matcher to symbol_matcher.
9814
9815 2014-02-10 Gary Benson <gbenson@redhat.com>
9816
9817 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9818 Use expand_symtabs_file_matcher_ftype and
9819 expand_symtabs_symbol_matcher_ftype.
9820
9821 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9822
9823 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9824 (struct ada_symbol_cache): New.
9825 (ada_free_symbol_cache): Forward declare.
9826 (struct ada_pspace_data): New.
9827 (ada_pspace_data_handle): New static global.
9828 (get_ada_pspace_data, ada_pspace_data_cleanup)
9829 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9830 (cache_space, cache): Delete, now folded inside struct
9831 ada_pspace_data.
9832 (ada_get_symbol_cache): New function.
9833 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9834 implementation.
9835 (_initialize_ada_language): Remove initialization of cache_space.
9836 Move call to observer_attach_inferior_exit up, grouping it
9837 with the other observer registrations inside this function.
9838 Rename command to be more general. Add call to
9839 register_program_space_data_with_cleanup.
9840
9841 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9842
9843 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
9844 ada_new_objfile_observer.
9845 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
9846 (_initialize_tasks): Update uses of ada_new_objfile_observer
9847 and ada_tasks_normal_stop_observer.
9848
9849 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9850
9851 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
9852 returned by the 'Length attribute to integer.
9853
9854 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9855
9856 * ada-lang.c (_initialize_ada_language): Initialize
9857 cache_space obstack.
9858
9859 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9860
9861 * ada-lang.c (HASH_SIZE): New macro.
9862 (struct cache_entry): New type.
9863 (cache_space, cache): New static globals.
9864 (ada_clear_symbol_cache, find_entry): New functions.
9865 (lookup_cached_symbol, cache_symbol): Implement.
9866 (ada_new_objfile_observer, ada_free_objfile_observer): New.
9867 (_initialize_ada_language): Attach ada_new_objfile_observer
9868 and ada_free_objfile_observer.
9869
9870 2014-02-10 Joel Brobecker <brobecker@adacore.com>
9871
9872 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
9873 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
9874 struct block * parameter.
9875 (ada_lookup_symbol_list_worker): Constify local variable "block".
9876 Remove cast which is no longer necessary.
9877
9878 2014-02-10 Doug Evans <xdje42@gmail.com>
9879
9880 Add Guile as an extension language.
9881 * NEWS: Mention Guile scripting.
9882 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
9883 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
9884 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
9885 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
9886 (CLIBS): Add GUILE_LIBS.
9887 (install-guile): New rule.
9888 (guile.o): New rule.
9889 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
9890 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
9891 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
9892 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
9893 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
9894 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
9895 (scm-type.o, scm-utils.o, scm-value.o): New rules.
9896 * configure.ac: New option --with-guile.
9897 * configure: Regenerate.
9898 * config.in: Regenerate.
9899 * auto-load.c: Remove #include "python/python.h". Add #include
9900 "gdb/section-scripts.h".
9901 (source_section_scripts): Handle Guile scripts.
9902 (_initialize_auto_load): Add name of Guile objfile script to
9903 scripts-directory help text.
9904 * breakpoint.c (condition_command): Tweak comment to include Scheme.
9905 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
9906 (struct breakpoint): New member scm_bp_object.
9907 * defs.h (enum command_control_type): New value guile_control.
9908 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
9909 "extension.h".
9910 (show_user): Update comment.
9911 (_initialize_cli_cmds): Update help text for "show user". Update help
9912 text for max-user-call-depth.
9913 * cli/cli-script.c: Remove #include "python/python.h". Add #include
9914 "extension.h".
9915 (multi_line_command_p): Add guile_control.
9916 (print_command_lines): Handle guile_control.
9917 (execute_control_command, recurse_read_control_structure): Ditto.
9918 (process_next_line): Recognize "guile" commands.
9919 * disasm.c (gdb_disassemble_info): Make non-static.
9920 * disasm.h: #include "dis-asm.h".
9921 (struct gdbarch): Add forward decl.
9922 (gdb_disassemble_info): Declare.
9923 * extension.c: #include "guile/guile.h".
9924 (extension_languages): Add guile.
9925 (get_ext_lang_defn): Handle EXT_LANG_GDB.
9926 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
9927 * gdbtypes.c (get_unsigned_type_max): New function.
9928 (get_signed_type_minmax): New function.
9929 * gdbtypes.h (get_unsigned_type_max): Declare.
9930 (get_signed_type_minmax): Declare.
9931 * guile/README: New file.
9932 * guile/guile-internal.h: New file.
9933 * guile/guile.c: New file.
9934 * guile/guile.h: New file.
9935 * guile/scm-arch.c: New file.
9936 * guile/scm-auto-load.c: New file.
9937 * guile/scm-block.c: New file.
9938 * guile/scm-breakpoint.c: New file.
9939 * guile/scm-disasm.c: New file.
9940 * guile/scm-exception.c: New file.
9941 * guile/scm-frame.c: New file.
9942 * guile/scm-gsmob.c: New file.
9943 * guile/scm-iterator.c: New file.
9944 * guile/scm-lazy-string.c: New file.
9945 * guile/scm-math.c: New file.
9946 * guile/scm-objfile.c: New file.
9947 * guile/scm-ports.c: New file.
9948 * guile/scm-pretty-print.c: New file.
9949 * guile/scm-safe-call.c: New file.
9950 * guile/scm-string.c: New file.
9951 * guile/scm-symbol.c: New file.
9952 * guile/scm-symtab.c: New file.
9953 * guile/scm-type.c: New file.
9954 * guile/scm-utils.c: New file.
9955 * guile/scm-value.c: New file.
9956 * guile/lib/gdb.scm: New file.
9957 * guile/lib/gdb/boot.scm: New file.
9958 * guile/lib/gdb/experimental.scm: New file.
9959 * guile/lib/gdb/init.scm: New file.
9960 * guile/lib/gdb/iterator.scm: New file.
9961 * guile/lib/gdb/printing.scm: New file.
9962 * guile/lib/gdb/types.scm: New file.
9963 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
9964 (VPATH): Add $(GUILE_SRCDIR).
9965 (GUILE_DIR): New variable.
9966 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
9967 (all): Add stamp-guile dependency.
9968 (stamp-guile): New rule.
9969 (clean-guile, install-guile, uninstall-guile): New rules.
9970 (install-only): Add install-guile dependency.
9971 (uninstall): Add uninstall-guile dependency.
9972 (clean): Add clean-guile dependency.
9973
9974 2014-02-09 Doug Evans <xdje42@gmail.com>
9975
9976 Revert this patch (which I approved, mea culpa).
9977
9978 2014-02-08 Mark Kettenis <kettenis@gnu.org>
9979
9980 * Makefile.in (all-lib): Remove.
9981 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9982
9983 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9984
9985 Fix Python stack corruption.
9986 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
9987 gdb_py_longest.
9988
9989 2014-02-08 Mark Kettenis <kettenis@gnu.org>
9990
9991 * Makefile.in (all-lib): Remove.
9992 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9993
9994 2014-02-07 Doug Evans <dje@google.com>
9995
9996 * extension-priv.h (extension_language_script_ops): Add comment.
9997 (extension_language_ops): Add comment.
9998 (active_ext_lang_state): Fix typo in comment.
9999
10000 2014-02-07 Pedro Alves <palves@redhat.com>
10001
10002 PR breakpoints/16292
10003 * infrun.c (handle_signal_stop) <signal arrives while stepping
10004 over a breakpoint>: Switch back to the stepping thread.
10005
10006 2014-02-07 Yao Qi <yao@codesourcery.com>
10007
10008 * target.c (target_xfer_partial): Return zero if LEN is zero.
10009
10010 2014-02-07 Yao Qi <yao@codesourcery.com>
10011
10012 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10013 (ld_so_xfer_auxv): Likewise.
10014 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10015 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10016 * corelow.c (core_xfer_partial): Likewise.
10017 * ctf.c (ctf_xfer_partial): Likewise.
10018 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10019 (darwin_xfer_partial): Likewise.
10020 * exec.c (exec_xfer_partial): Likewise.
10021 * gnu-nat.c (gnu_xfer_partial): Likewise.
10022 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10023 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10024 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10025 * linux-nat.c (linux_xfer_siginfo): Likewise.
10026 (linux_proc_xfer_spu): Likewise.
10027 * procfs.c (procfs_xfer_partial): Likewise.
10028 * record-full.c (record_full_xfer_partial): Likewise.
10029 (record_full_core_xfer_partial): Likewise.
10030 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10031 * remote.c (remote_write_qxfer): Likewise.
10032 (remote_write_qxfer, remote_read_qxfer): Likewise.
10033 (remote_xfer_partial): Likewise.
10034 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10035 (rs6000_xfer_shared_libraries): Likewise.
10036 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10037 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10038 (spu_xfer_partial): Likewise.
10039 * target.c (memory_xfer_partial_1): Likewise.
10040 * tracepoint.c (tfile_xfer_partial): Likewise.
10041 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10042 (windows_xfer_partial): Likewise.
10043
10044 2014-02-07 Yao Qi <yao@codesourcery.com>
10045
10046 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10047 comments.
10048 (core_xfer_shared_libraries_aix): Likewise.
10049 * gdbarch.c, gdbarch.h: Regenerated.
10050 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10051 ULONGEST. Change 'len_avail' type to ULONGEST.
10052 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10053 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10054 declaration.
10055 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10056
10057 2014-02-07 Yao Qi <yao@codesourcery.com>
10058
10059 * corefile.c (memory_error): Get 'exception' from ERR and pass
10060 'exception' to throw_error.
10061
10062 2014-02-06 Doug Evans <xdje42@gmail.com>
10063
10064 * configure.ac (libpython checking): Remove all but python.o from
10065 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10066 * configure: Regenerate.
10067
10068 * Makefile.in (SFILES): Add extension.c.
10069 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10070 (COMMON_OBS): Add extension.o.
10071 * extension.h: New file.
10072 * extension-priv.h: New file.
10073 * extension.c: New file.
10074
10075 * python/python-internal.h: #include "extension.h".
10076 (gdbpy_auto_load_enabled): Declare.
10077 (gdbpy_apply_val_pretty_printer): Declare.
10078 (gdbpy_apply_frame_filter): Declare.
10079 (gdbpy_preserve_values): Declare.
10080 (gdbpy_breakpoint_cond_says_stop): Declare.
10081 (gdbpy_breakpoint_has_cond): Declare.
10082 (void source_python_script_for_objfile): Delete.
10083 * python/python.c: #include "extension-priv.h".
10084 Delete inclusion of "observer.h".
10085 (extension_language_python): Moved here and renamed from
10086 script_language_python in py-auto-load.c.
10087 Redefined to be of type extension_language_defn.
10088 (python_extension_script_ops): New global.
10089 (python_extension_ops): New global.
10090 (struct python_env): New member previous_active.
10091 (restore_python_env): Call restore_active_ext_lang.
10092 (ensure_python_env): Call set_active_ext_lang.
10093 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10094 New arg extlang.
10095 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10096 New arg extlang.
10097 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10098 New arg extlang.
10099 (gdbpy_eval_from_control_command): Renamed from
10100 eval_python_from_control_command, made static. New arg extlang.
10101 (gdbpy_source_script) Renamed from source_python_script, made static.
10102 New arg extlang.
10103 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10104 result to int. New arg extlang.
10105 (gdbpy_source_objfile_script): Renamed from
10106 source_python_script_for_objfile, made static. New arg extlang.
10107 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10108 static. New args extlang, extlang_printers. Change result type to
10109 "void".
10110 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10111 static. New arg extlang. Rename arg printers to extlang_printers
10112 and change type to ext_lang_type_printers *.
10113 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10114 static. Replace argument arg with extlang, extlang_printers.
10115 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10116 (!HAVE_PYTHON, source_python_script): Delete.
10117 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10118 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10119 (!HAVE_PYTHON, start_type_printers): Delete.
10120 (!HAVE_PYTHON, apply_type_printers): Delete.
10121 (!HAVE_PYTHON, free_type_printers): Delete.
10122 (_initialize_python): Delete call to observer_attach_before_prompt.
10123 (finalize_python): Set/restore active extension language.
10124 (gdbpy_finish_initialization) Renamed from
10125 finish_python_initialization, made static. New arg extlang.
10126 (gdbpy_initialized): New function.
10127 * python/python.h: #include "extension.h". Delete #include
10128 "value.h", "mi/mi-cmds.h".
10129 (extension_language_python): Declare.
10130 (GDBPY_AUTO_FILE_NAME): Delete.
10131 (enum py_bt_status): Moved to extension.h and renamed to
10132 ext_lang_bt_status.
10133 (enum frame_filter_flags): Moved to extension.h.
10134 (enum py_frame_args): Moved to extension.h and renamed to
10135 ext_lang_frame_args.
10136 (finish_python_initialization): Delete.
10137 (eval_python_from_control_command): Delete.
10138 (source_python_script): Delete.
10139 (apply_val_pretty_printer): Delete.
10140 (apply_frame_filter): Delete.
10141 (preserve_python_values): Delete.
10142 (gdbpy_script_language_defn): Delete.
10143 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10144 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10145
10146 * auto-load.c: #include "extension.h".
10147 (GDB_AUTO_FILE_NAME): Delete.
10148 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10149 (script_language_gdb): Delete, moved to extension.c and renamed to
10150 extension_language_gdb.
10151 (source_gdb_script_for_objfile): Delete.
10152 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10153 (loaded_script): Change type of language member to
10154 struct extension_language_defn *.
10155 (init_loaded_scripts_info): Initialize
10156 unsupported_script_warning_printed.
10157 (maybe_add_script): Make static. Change type of language arg to
10158 struct extension_language_defn *.
10159 (clear_section_scripts): Reset unsupported_script_warning_printed.
10160 (auto_load_objfile_script_1): Rewrite to use extension language API.
10161 (auto_load_objfile_script): Make public. Remove support-compiled-in
10162 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10163 (source_section_scripts): Rewrite to use extension language API.
10164 (load_auto_scripts_for_objfile): Rewrite to use
10165 auto_load_scripts_for_objfile.
10166 (collect_matching_scripts_data): Change type of language member to
10167 struct extension_language_defn *.
10168 (auto_load_info_scripts): Change type of language arg to
10169 struct extension_language_defn *.
10170 (unsupported_script_warning_print): New function.
10171 (script_not_found_warning_print): Make static.
10172 (_initialize_auto_load): Rewrite construction of scripts-directory
10173 help.
10174 * auto-load.h (struct objfile): Add forward decl.
10175 (struct script_language): Delete.
10176 (struct auto_load_pspace_info): Add forward decl.
10177 (struct extension_language_defn): Add forward decl.
10178 (maybe_add_script): Delete.
10179 (auto_load_objfile_script): Declare.
10180 (script_not_found_warning_print): Delete.
10181 (auto_load_info_scripts): Update prototype.
10182 (auto_load_gdb_scripts_enabled): Declare.
10183 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10184 auto_load_python_scripts_enabled and made public.
10185 (script_language_python): Delete, moved to python.c.
10186 (gdbpy_script_language_defn): Delete.
10187 (info_auto_load_python_scripts): Update to use
10188 extension_language_python.
10189
10190 * breakpoint.c (condition_command): Replace call to
10191 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10192 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10193 with call to breakpoint_ext_lang_cond_says_stop.
10194 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10195 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10196 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10197 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10198 New arg slang.
10199 (local_setattro): Print name of extension language with existing
10200 stop condition.
10201
10202 * valprint.c (val_print, value_print): Update to call
10203 apply_ext_lang_val_pretty_printer.
10204 * cp-valprint.c (cp_print_value): Update call to
10205 apply_ext_lang_val_pretty_printer.
10206 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10207 (gdbpy_apply_val_pretty_printer): Renamed from
10208 apply_val_pretty_printer. New arg extlang.
10209 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10210
10211 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10212 extension language API.
10213 * cli/cli-script.c (execute_control_command): Update to call
10214 eval_ext_lang_from_control_command.
10215
10216 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10217 enum ext_lang_bt_status values. Update call to
10218 apply_ext_lang_frame_filter.
10219 (mi_cmd_stack_list_locals): Ditto.
10220 (mi_cmd_stack_list_args): Ditto.
10221 (mi_cmd_stack_list_variables): Ditto.
10222 * mi/mi-main.c: Delete #include "python/python-internal.h".
10223 Add #include "extension.h".
10224 (mi_cmd_list_features): Replace reference to python internal variable
10225 gdb_python_initialized with call to ext_lang_initialized_p.
10226
10227 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10228 Update to use enum ext_lang_frame_args. Update to call
10229 apply_ext_lang_frame_filter.
10230 * python/py-framefilter.c (extract_sym): Update to use enum
10231 ext_lang_bt_status.
10232 (extract_value, py_print_type, py_print_value): Ditto.
10233 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10234 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10235 (py_print_frame): Ditto.
10236 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10237 New arg extlang. Update to use enum ext_lang_bt_status.
10238
10239 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10240 finish_python_initialization. Replace with call to
10241 finish_ext_lang_initialization.
10242
10243 * typeprint.c (do_free_global_table): Update to call
10244 free_ext_lang_type_printers.
10245 (create_global_typedef_table): Update to call
10246 start_ext_lang_type_printers.
10247 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10248 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10249 (type_print_options): Change type of global_printers from "void *"
10250 to "struct ext_lang_type_printers *".
10251
10252 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10253 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10254 (gdbpy_preserve_values): Renamed from preserve_python_values.
10255 New arg extlang.
10256 (!HAVE_PYTHON, preserve_python_values): Delete.
10257
10258 * utils.c (quit_flag): Delete, moved to extension.c.
10259 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10260 extension.c.
10261
10262 * eval.c: Delete #include "python/python.h".
10263 * main.c: Delete #include "python/python.h".
10264
10265 * defs.h: Update comment.
10266
10267 2014-02-06 Joel Brobecker <brobecker@adacore.com>
10268
10269 GDB 7.7 released.
10270
10271 2014-02-05 Mark Kettenis <kettenis@gnu.org>
10272
10273 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10274 defined.
10275
10276 2014-02-05 Yao Qi <yao@codesourcery.com>
10277
10278 * remote.c (remote_pass_signals): Remove local 'buf' and use
10279 rs->buf.
10280 (remote_program_signals): Likewise.
10281
10282 2014-02-05 Yao Qi <yao@codesourcery.com>
10283
10284 * ctf.c: Include "inferior.h" and "gdbthread.h".
10285 (CTF_PID): A new macro.
10286 (ctf_open): Call inferior_appeared and add_thread_silent.
10287 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10288 (ctf_thread_alive): New function.
10289 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10290
10291 2014-02-05 Yao Qi <yao@codesourcery.com>
10292
10293 Revert this patch:
10294
10295 2013-05-24 Yao Qi <yao@codesourcery.com>
10296
10297 * tracepoint.c (TFILE_PID): Remove.
10298 (tfile_open): Don't add thread and inferior.
10299 (tfile_close): Don't set 'inferior_ptid'. Don't call
10300 exit_inferior_silent.
10301 (tfile_thread_alive): Remove.
10302 (init_tfile_ops): Don't set field 'to_thread_alive' of
10303 tfile_ops.
10304
10305 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10306
10307 * remote.c (remote_start_remote): Call remote_check_symbols even
10308 if only symbol-file (not file) has been given.
10309
10310 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10311
10312 * gdbarch.sh (skip_entrypoint): New callback.
10313 * gdbarch.c, gdbarch.h: Regenerate.
10314 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10315 * infrun.c (fill_in_stop_func): Likewise.
10316 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10317 (ppc_elfv2_elf_make_msymbol_special): New function.
10318 (ppc_elfv2_skip_entrypoint): Likewise.
10319 (ppc_linux_init_abi): Install them for ELFv2.
10320
10321 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10322
10323 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10324 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10325 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10326 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10327 structures returned in GPRs.
10328
10329 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10330
10331 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10332 offset to the stack parameter list for the ELFv2 ABI.
10333
10334 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10335
10336 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10337 set_gdbarch_convert_from_func_ptr_addr and
10338 set_gdbarch_elf_make_msymbol_special for ELFv1.
10339 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10340 function descriptors on ELFv1.
10341 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10342 set up r12 at function entry.
10343
10344 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10345
10346 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10347 (struct gdbarch_tdep): New member elf_abi.
10348
10349 * rs6000-tdep.c: Include "elf/ppc64.h".
10350 (rs6000_gdbarch_init): Detect ELF ABI version.
10351
10352 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10353
10354 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10355 within a register pair holding a DFP 128-bit value on little-endian.
10356 (ppc64_sysv_abi_return_value_base): Likewise.
10357 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10358 (dfp_pseudo_register_write): Likewise.
10359
10360 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10361
10362 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10363 offset on little-endian when passing _Decimal32.
10364 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10365
10366 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10367
10368 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10369 of the overlapped FP register within the VSX register on little-
10370 endian platforms.
10371 (efpr_pseudo_register_write): Likewise.
10372
10373 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10374
10375 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10376 offset on little-endian when passing small structures.
10377
10378 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10379
10380 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10381 (struct ppc64_sysv_argpos): New data structure.
10382 (ppc64_sysv_abi_push_float): Remove.
10383 (ppc64_sysv_abi_push_val): New function.
10384 (ppc64_sysv_abi_push_integer): Likewise.
10385 (ppc64_sysv_abi_push_freg): Likewise.
10386 (ppc64_sysv_abi_push_vreg): Likewise.
10387 (ppc64_sysv_abi_push_param): Likewise.
10388 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10389 (ppc64_sysv_abi_return_value_base): New function.
10390 (ppc64_sysv_abi_return_value): Refactor to use it.
10391
10392 2014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10393
10394 * NEWS: Document new target powerpc64le-*-linux*.
10395
10396 2014-02-04 Mark Kettenis <kettenis@gnu.org>
10397
10398 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10399 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10400 core dumps.
10401 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10402 register set used in ELF core dumps. Add floating-point register set.
10403
10404 2014-02-03 Kevin Buettner <kevinb@redhat.com>
10405
10406 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
10407 dwarf2_to_gdb[] table using symbolic constants. Adjust
10408 penultimate entry from number representing the PC register
10409 to symbolic constant representing the MDR register. Add
10410 constant for the PC register to the end of the table.
10411
10412 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10413
10414 * bsd-kvm.c: Include <sys/param.h>
10415
10416 2014-02-03 Mark Kettenis <kettenis@gnu.org>
10417
10418 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10419
10420 2014-01-31 Joel Brobecker <brobecker@adacore.com>
10421
10422 * ada-lang.h (clear_ada_sym_cache): Delete.
10423
10424 2014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10425
10426 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10427
10428 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10429
10430 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10431 the sigreturn register save area only if the syscall is
10432 sigreturn.
10433
10434 2014-01-29 Joel Brobecker <brobecker@adacore.com>
10435
10436 * valops.c (value_slice): Minor reformatting.
10437
10438 2014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10439
10440 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10441
10442 2014-01-28 Joel Brobecker <brobecker@adacore.com>
10443
10444 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10445 New static globals.
10446 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10447 (ada_ignore_descriptive_types_p): New static global.
10448 (find_parallel_type_by_descriptive_type): Return immediately
10449 if ada_ignore_descriptive_types_p is set.
10450 (_initialize_ada_language): Register new commands "maintenance
10451 set ada", "maintenance show ada", "maintenance set ada
10452 ignore-descriptive-types" and "maintenance show ada
10453 ignore-descriptive-types".
10454 * NEWS: Add entry for new "maint ada set/show
10455 ignore-descriptive-types" commands.
10456
10457 2014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10458
10459 * record-btrace.c (record_btrace_close): Call btrace_teardown
10460 for all threads.
10461
10462 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10463
10464 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10465 "ui-out.h".
10466
10467 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10468
10469 * ada-typeprint (type_is_full_subrange_of_target_type):
10470 New function.
10471 (print_range): Add parameter bounds_prefered_p. If not set,
10472 try printing range types using the name of their base type.
10473 (print_range_type): Add parameter bounds_prefered_p.
10474 Use it in call to print_range.
10475 (print_array_type, ada_print_type): Update calls to print_range
10476 and print_range_type.
10477
10478 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10479
10480 * ada-typeprint.c (print_array_type, print_choices, print_range)
10481 (print_range_bound, print_dynamic_range_bound, print_range_type):
10482 Remove declaration.
10483
10484 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10485
10486 * ada-typeprint.c (print_range): Add missing empty line
10487 after local declaration.
10488
10489 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10490
10491 * ada-valprint.c (print_optional_low_bound): Get index_type's
10492 target type for as long as it is a TYPE_CODE_RANGE.
10493
10494 2014-01-27 Joel Brobecker <brobecker@adacore.com>
10495
10496 * procfs.c (procfs_make_note_section): Remove assertion and
10497 associated comment.
10498
10499 2014-01-24 Yao Qi <yao@codesourcery.com>
10500
10501 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10502 * corelow.c (get_core_siginfo): Likewise.
10503
10504 2014-01-24 Yao Qi <yao@codesourcery.com>
10505
10506 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10507 ULONGEST. Don't check 'len' is negative.
10508 (remote_write_bytes): Change type of 'len' to ULONGEST.
10509
10510 2014-01-23 Tom Tromey <tromey@redhat.com>
10511
10512 PR python/16485:
10513 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10514 Handle exception from frame.block.
10515 (FrameVars.fetch_frame_locals): Likewise.
10516
10517 2014-01-23 Tom Tromey <tromey@redhat.com>
10518
10519 PR python/16487:
10520 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10521 on a NULL pointer. Move "goto error" to correct place.
10522
10523 2014-01-23 Tom Tromey <tromey@redhat.com>
10524
10525 PR python/16491:
10526 * python/py-framefilter.c (apply_frame_filter): Call
10527 ensure_python_env after computing gdbarch.
10528
10529 2014-01-23 Yao Qi <yao@codesourcery.com>
10530
10531 * target.c (raw_memory_xfer_partial): Change argument type
10532 from void * to gdb_byte *.
10533 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10534
10535 2014-01-22 Doug Evans <dje@google.com>
10536
10537 New gdbserver option --debug-format=timestamp.
10538 * NEWS: Mention it.
10539
10540 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10541
10542 * syscalls/s390x-linux.xml: New file.
10543 * syscalls/s390-linux.xml: New file.
10544 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10545 (XML_SYSCALL_FILENAME_S390X): Likewise.
10546 (op_svc): New enum value for SVC opcode.
10547 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10548 (s390_linux_get_syscall_number): New function.
10549 (s390_gdbarch_init): Register '*get_syscall_number' and the
10550 syscall xml file name.
10551 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10552 "s390-linux.xml" and "s390x-linux.xml".
10553 * NEWS: Announce new feature.
10554
10555 2014-01-22 Baruch Siach <baruch@tkos.co.il>
10556
10557 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10558
10559 2014-01-22 Pedro Alves <palves@redhat.com>
10560
10561 * xtensa-config.c: Include defs.h.
10562
10563 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10564
10565 * common/common-utils.h: Add "ARI:" comment beside __func__
10566 reference.
10567
10568 2014-01-22 Joel Brobecker <brobecker@adacore.com>
10569
10570 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10571 documentation a bit.
10572
10573 2014-01-21 Roland McGrath <mcgrathr@google.com>
10574
10575 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10576 * configure: Regenerate.
10577 * aclocal.m4: Regenerate.
10578 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10579 New substituted variables.
10580 (install-strip): New target.
10581 (INSTALL_SCRIPT): New substituted variable.
10582 (FLAGS_TO_PASS): Add it.
10583 (install-only): Use $(INSTALL_SCRIPT) rather than
10584 $(INSTALL_PROGRAM) for gcore.
10585
10586 2014-01-20 Tom Tromey <tromey@redhat.com>
10587
10588 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10589 together.
10590
10591 2014-01-20 Tom Tromey <tromey@redhat.com>
10592
10593 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10594 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10595 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10596 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10597 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10598 (struct cmd_list_element) <flags>: Remove.
10599 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10600 doc_allocated>: New fields.
10601 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10602 bitfields.
10603 * maint.c (maintenance_do_deprecate): Update.
10604 * top.c (execute_command): Update.
10605
10606 2014-01-20 Baruch Siach <baruch@tkos.co.il>
10607
10608 * xtensa-linux-nat.c: Include asm/ptrace.h.
10609
10610 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10611
10612 * Makefile.in (SFILES): Add d-support.c.
10613 (COMMON_OBS): Add d-support.o.
10614 * d-lang.h (d_parse_symbol): Add comment, now defined in
10615 d-support.c.
10616 * d-lang.c (parse_call_convention)
10617 (parse_attributes, parse_function_types)
10618 (parse_function_args, parse_type, parse_identifier)
10619 (call_convention_p, d_parse_symbol): Move functions to ...
10620 * d-support.c: ... New file.
10621
10622 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10623
10624 * d-lang.h (d_parse_symbol): Add declaration.
10625 * d-lang.c (extract_identifiers)
10626 (extract_type_info): Remove functions.
10627 (parse_call_convention, parse_attributes)
10628 (parse_function_types, parse_function_args)
10629 (parse_type, parse_identifier, call_convention_p)
10630 (d_parse_symbol): New functions.
10631 (d_demangle): Use d_parse_symbol to demangle D symbols.
10632
10633 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10634
10635 * d-lang.h (struct builtin_d_type): New data type.
10636 (builtin_d_type): Add declaration.
10637 * d-lang.c (d_language_arch_info, build_d_types)
10638 (builtin_d_type): New functions.
10639 (enum d_primitive_types): New data type.
10640 (d_language_defn): Change c_language_arch_info to
10641 d_language_arch_info.
10642 (d_type_data): New static variable.
10643 (_initialize_d_language): Initialize d_type_data.
10644
10645 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10646
10647 * d-lang.h (d_main_name): Add declaration.
10648 * d-lang.c (d_main_name): New function.
10649 * symtab.c (find_main_name): Add call to d_main_name.
10650
10651 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10652
10653 * d-lang.c (d_language_defn): Change macro_expansion_c to
10654 macro_expansion_no.
10655
10656 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10657
10658 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10659
10660 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10661
10662 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10663 gdb_exception" declaration.
10664 * remote.c (getpkt_or_notif_sane): Likewise.
10665
10666 2014-01-17 Doug Evans <dje@google.com>
10667
10668 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10669 function, contents of dirnames_to_char_ptr_vec_append moved here.
10670 (delim_string_to_char_ptr_vec): New function.
10671 (dirnames_to_char_ptr_vec_append): Rewrite.
10672 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10673
10674 2014-01-17 Doug Evans <dje@google.com>
10675
10676 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10677 and moved here ...
10678 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10679 #include "common-utils.h".
10680 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10681 * common/vec.h (VEC_ASSERT_PASS): Update.
10682 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10683 (MACH_CHECK_ERROR): Update.
10684
10685 2014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10686
10687 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10688 comments.
10689 * gdbarch.h: Regenerate.
10690
10691 2014-01-16 Tom Tromey <tromey@redhat.com>
10692
10693 * value.c (struct value) <regnum>: Move earlier.
10694
10695 2014-01-16 Tom Tromey <tromey@redhat.com>
10696
10697 * remote.c (extended_remote_create_inferior): Rename from
10698 extended_remote_create_inferior_1. Add "ops" argument. Remove
10699 old implementation.
10700
10701 2014-01-16 Pedro Alves <palves@redhat.com>
10702
10703 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10704 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10705 the backchain.
10706
10707 2014-01-16 Doug Evans <dje@google.com>
10708
10709 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10710
10711 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10712
10713 * btrace.h (btrace_thread_flag): New.
10714 (struct btrace_thread_info) <flags>: New.
10715 * record-btrace.c (record_btrace_resume_thread)
10716 (record_btrace_find_thread_to_move, btrace_step_no_history)
10717 (btrace_step_stopped, record_btrace_start_replaying)
10718 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10719 (record_btrace_find_resume_thread): New.
10720 (record_btrace_resume, record_btrace_wait): Extend.
10721 (record_btrace_can_execute_reverse): New.
10722 (record_btrace_open): Fail in non-stop mode.
10723 (record_btrace_set_replay): Split into this, ...
10724 (record_btrace_stop_replaying): ... this, ...
10725 (record_btrace_clear_histories): ... and this.
10726 (init_record_btrace_ops): Init to_can_execute_reverse.
10727 * NEWS: Announce it.
10728
10729 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10730
10731 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10732 (forward_target_decr_pc_after_break)
10733 (target_decr_pc_after_break): New.
10734 * target.c (forward_target_decr_pc_after_break)
10735 (target_decr_pc_after_break): New.
10736 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10737 instead of gdbarch_decr_pc_after_break.
10738 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10739 instead of gdbarch_decr_pc_after_break.
10740 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10741 instead of gdbarch_decr_pc_after_break.
10742 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10743 instead of gdbarch_decr_pc_after_break.
10744 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10745 instead of gdbarch_decr_pc_after_break.
10746 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10747 instead of gdbarch_decr_pc_after_break.
10748
10749 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10750
10751 * btrace.c: Include regcache.h.
10752 (btrace_add_pc): New.
10753 (btrace_enable): Call btrace_add_pc.
10754 (btrace_is_empty): New.
10755 * btrace.h (btrace_is_empty): New.
10756 * record-btrace.c (require_btrace, record_btrace_info): Call
10757 btrace_is_empty.
10758
10759 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10760
10761 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10762 Support delta reads.
10763 (linux_disable_btrace): Change return type.
10764 * common/linux-btrace.h (linux_read_btrace): Change parameters
10765 and return type to allow error reporting. Update users.
10766 (linux_disable_btrace): Change return type. Update users.
10767 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10768 New.
10769 (btrace_error): New.
10770 (btrace_block) <begin>: Comment on BEGIN == 0.
10771 * btrace.c (btrace_compute_ftrace): Start from the end of
10772 the current trace.
10773 (btrace_stitch_trace, btrace_clear_history): New.
10774 (btrace_fetch): Read delta trace, return if replaying.
10775 (btrace_clear): Move clear history code to btrace_clear_history.
10776 (parse_xml_btrace): Throw an error if parsing failed.
10777 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10778 and return type to allow error reporting.
10779 (target_read_btrace): Change parameters and return type to allow
10780 error reporting.
10781 * target.c (target_read_btrace): Update.
10782 * remote.c (remote_read_btrace): Support delta reads. Pass
10783 errors on.
10784 * NEWS: Announce it.
10785
10786 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10787
10788 * record.h (record_btrace_frame_unwind)
10789 (record_btrace_tailcall_frame_unwind): New declarations.
10790 * dwarf2-frame: Include record.h
10791 (dwarf2_frame_cfa): Throw an error for btrace frames.
10792 * record-btrace.c: Include hashtab.h.
10793 (btrace_get_bfun_name): New.
10794 (btrace_call_history): Call btrace_get_bfun_name.
10795 (struct btrace_frame_cache): New.
10796 (bfcache): New.
10797 (bfcache_hash, bfcache_eq, bfcache_new): New.
10798 (btrace_get_frame_function): New.
10799 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10800 (record_btrace_frame_this_id): Compute own id.
10801 (record_btrace_frame_prev_register): Provide PC, throw_error
10802 for all other registers.
10803 (record_btrace_frame_sniffer): Detect btrace frames.
10804 (record_btrace_tailcall_frame_sniffer): New.
10805 (record_btrace_frame_dealloc_cache): New.
10806 (record_btrace_frame_unwind): Add new functions.
10807 (record_btrace_tailcall_frame_unwind): New.
10808 (_initialize_record_btrace): Allocate cache.
10809 * btrace.c (btrace_clear): Call reinit_frame_cache.
10810 * NEWS: Announce it.
10811
10812 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10813
10814 * record-btrace.c (record_btrace_set_replay)
10815 (record_btrace_goto_begin, record_btrace_goto_end)
10816 (record_btrace_goto): New.
10817 (init_record_btrace_ops): Initialize them.
10818 * NEWS: Announce it.
10819
10820 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10821
10822 * record-btrace.c (record_btrace_find_new_threads)
10823 (record_btrace_thread_alive): New.
10824 (init_record_btrace_ops): Initialize to_find_new_threads and
10825 to_thread_alive.
10826
10827 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10828
10829 * record-btrace.c (record_btrace_resume): New.
10830 (record_btrace_wait): New.
10831 (init_record_btrace_ops): Initialize to_wait and to_resume.
10832
10833 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10834
10835 * record-btrace.c (record_btrace_xfer_partial)
10836 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
10837 (record_btrace_allow_memory_access): New.
10838 (init_record_btrace_ops): Initialize new methods.
10839 * target.c (raw_memory_xfer_partial): Bail out if target reports
10840 that this memory is not available.
10841
10842 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10843
10844 * target.h (target_ops) <to_insert_breakpoint>
10845 <to_remove_breakpoint>: Add target_ops parameter.
10846 (forward_target_insert_breakpoint): New.
10847 (forward_target_remove_breakpoint): New.
10848 (memory_remove_breakpoint, memory_insert_breakpoint):
10849 Add target_ops parameter.
10850 * target.c (target_insert_breakpoint): Split into this and ...
10851 (forward_target_insert_breakpoint): ... this.
10852 (target_remove_breakpoint): Split into this and ...
10853 (forward_target_remove_breakpoint): ... this.
10854 (debug_to_insert_breakpoint): Add target_ops parameter.
10855 Call forward_target_insert_breakpoint.
10856 (debug_to_remove_breakpoint): Add target_ops parameter.
10857 Call forward_target_remove_breakpoint.
10858 (update_current_target): Do not inherit or default to_insert_breakpoint
10859 and to_remove_breakpoint.
10860 * corelow.c (ignore): Add target_ops parameter.
10861 * exec.c (ignore): Add target_ops parameter.
10862 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
10863 Add target_ops parameter.
10864 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
10865 Add target_ops parameter.
10866 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
10867 Add target_ops parameter.
10868 * record-full.c (record_full_beneath_to_insert_breakpoint)
10869 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
10870 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
10871 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
10872 (record_full_core_remove_breakpoint): Add target_ops parameter.
10873 Update users.
10874 (record_full_beneath_to_insert_breakpoint_ops)
10875 (record_full_beneath_to_remove_breakpoint_ops)
10876 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
10877 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
10878 tmp_to_remove_breakpoint_ops,
10879 record_full_beneath_to_insert_breakpoint_ops, and
10880 record_full_beneath_to_remove_breakpoint_ops.
10881 * remote-m32r-sdi.c (m32r_insert_breakpoint)
10882 (m32r_remove_breakpoint): Add target_ops parameter.
10883 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
10884 Add target_ops parameter.
10885 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
10886 Add target_ops parameter.
10887
10888 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10889 Markus Metzger <markus.t.metzger@intel.com>
10890
10891 * record-btrace.c: Include frame-unwind.h.
10892 (record_btrace_frame_unwind_stop_reason)
10893 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
10894 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
10895 New.
10896 (init_record_btrace_ops): Install it.
10897
10898 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10899
10900 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
10901 get_prev_frame_1.
10902
10903 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10904
10905 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
10906 earlier.
10907
10908 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10909
10910 * frame-unwind.c: Include target.h.
10911 (frame_unwind_try_unwinder): New function with code from ...
10912 (frame_unwind_find_by_frame): ... here. New variable
10913 unwinder_from_target, call also target_get_unwinder)
10914 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
10915 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
10916 * target.h (struct target_ops): New fields to_get_unwinder and
10917 to_get_tailcall_unwinder.
10918 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
10919
10920 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10921
10922 * record-btrace.c (record_btrace_fetch_registers)
10923 (record_btrace_store_registers)
10924 (record_btrace_to_prepare_to_store): New.
10925 (init_record_btrace_ops): Add the above.
10926
10927 2014-01-16 Tom Tromey <tromey@redhat.com>
10928
10929 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
10930 * target.h (struct target_ops) <to_prepare_to_store>: Add
10931 argument.
10932 (target_prepare_to_store): Add argument.
10933 * target.c (debug_to_prepare_to_store): Add argument.
10934 (update_current_target): Update.
10935 * remote.c (remote_prepare_to_store): Add 'self' argument.
10936 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
10937 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
10938 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
10939 * record-full.c (record_full_core_prepare_to_store): Add 'self'
10940 argument.
10941 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
10942 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
10943 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
10944 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
10945 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
10946
10947 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10948
10949 * btrace.h (replay) <replay>: New.
10950 (btrace_is_replaying): New.
10951 * btrace.c (btrace_clear): Free replay iterator.
10952 (btrace_is_replaying): New.
10953 * record-btrace.c (record_btrace_is_replaying): New.
10954 (record_btrace_info): Print insn number if replaying.
10955 (record_btrace_insn_history): Start at replay position.
10956 (record_btrace_call_history): Start at replay position.
10957 (init_record_btrace_ops): Init to_record_is_replaying.
10958
10959 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10960
10961 * record-btrace.c (record_btrace_insn_history_range): Include
10962 end.
10963 (record_btrace_insn_history_from): Adjust range.
10964 (record_btrace_call_history_range): Include
10965 end.
10966 (record_btrace_call_history_from): Adjust range.
10967 * NEWS: Announce changes.
10968
10969 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10970
10971 * record.h (enum record_print_flag)
10972 <record_print_indent_calls>: New.
10973 * record.c (get_call_history_modifiers): Recognize /c modifier.
10974 (_initialize_record): Document /c modifier.
10975 * record-btrace.c (btrace_call_history): Add btinfo parameter.
10976 Reorder fields. Optionally indent the function name. Update
10977 all users.
10978 * NEWS: Announce changes.
10979
10980 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10981
10982 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
10983
10984 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10985
10986 * btrace.c (ftrace_new_function): Start counting at one.
10987 * record-btrace.c (record_btrace_info): Adjust number of calls
10988 and insns.
10989 * NEWS: Announce it.
10990
10991 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10992
10993 * record-btrace.c (btrace_call_history_insn_range): Print
10994 insn range as [begin, end].
10995
10996 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10997
10998 * btrace.h (struct btrace_func_link): New.
10999 (enum btrace_function_flag): New.
11000 (struct btrace_inst): Rename to ...
11001 (struct btrace_insn): ...this. Update all users.
11002 (struct btrace_func) <ibegin, iend>: Remove.
11003 (struct btrace_func_link): New.
11004 (struct btrace_func): Rename to ...
11005 (struct btrace_function): ...this. Update all users.
11006 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11007 (number, level, flags>: New.
11008 (struct btrace_insn_iterator): Rename to ...
11009 (struct btrace_insn_history): ...this.
11010 Update all users.
11011 (struct btrace_insn_iterator, btrace_call_iterator): New.
11012 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11013 (struct btrace_target_info) <begin, end, level>
11014 <insn_history, call_history>: New.
11015 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11016 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11017 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11018 (btrace_call_number, btrace_call_begin, btrace_call_end)
11019 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11020 (btrace_find_function_by_number, btrace_set_insn_history)
11021 (btrace_set_call_history): New.
11022 * btrace.c (btrace_init_insn_iterator)
11023 (btrace_init_func_iterator, compute_itrace): Remove.
11024 (ftrace_print_function_name, ftrace_print_filename)
11025 (ftrace_skip_file): Change
11026 parameter to const.
11027 (ftrace_init_func): Remove.
11028 (ftrace_debug): Use new btrace_function fields.
11029 (ftrace_function_switched): Also consider gaining and
11030 losing symbol information).
11031 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11032 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11033 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11034 New.
11035 (ftrace_new_function): Move. Remove debug print.
11036 (ftrace_update_lines, ftrace_update_insns): New.
11037 (ftrace_update_function): Check for call, ret, and jump.
11038 (compute_ftrace): Renamed to ...
11039 (btrace_compute_ftrace): ...this. Rewritten to compute call
11040 stack.
11041 (btrace_fetch, btrace_clear): Updated.
11042 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11043 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11044 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11045 (btrace_call_number, btrace_call_begin, btrace_call_end)
11046 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11047 (btrace_find_function_by_number, btrace_set_insn_history)
11048 (btrace_set_call_history): New.
11049 * record-btrace.c (require_btrace): Use new btrace thread
11050 info fields.
11051 (record_btrace_info, btrace_insn_history)
11052 (record_btrace_insn_history, record_btrace_insn_history_range):
11053 Use new btrace thread info fields and new iterator.
11054 (btrace_func_history_src_line): Rename to ...
11055 (btrace_call_history_src_line): ...this. Use new btrace
11056 thread info fields.
11057 (btrace_func_history): Rename to ...
11058 (btrace_call_history): ...this. Use new btrace thread info
11059 fields and new iterator.
11060 (record_btrace_call_history, record_btrace_call_history_range):
11061 Use new btrace thread info fields and new iterator.
11062
11063 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11064
11065 * frame.h (frame_id_build_unavailable_stack_special): New.
11066 * frame.c (frame_id_build_unavailable_stack_special): New.
11067
11068 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11069
11070 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11071 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11072 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11073 to gdbarch.
11074 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11075 (i386_insn_is_jump, i386_jmp_p): New.
11076 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11077 insn_is_jump to gdbarch.
11078 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11079 * gdbarch.h: Regenerated.
11080 * gdbarch.c: Regenerated.
11081 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11082 (default_insn_is_jump): New.
11083 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11084 (default_insn_is_jump): New.
11085
11086 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11087
11088 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11089 Change to ...
11090 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11091 (btrace_read_type) <btrace_read_new>: Change to ...
11092 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11093
11094 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11095
11096 * common/linux-btrace.c (linux_read_btrace): Free trace from
11097 previous iteration.
11098
11099 2014-01-15 Doug Evans <dje@google.com>
11100
11101 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11102 uint32_t.
11103
11104 2014-01-15 Tom Tromey <tromey@redhat.com>
11105
11106 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11107 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11108 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11109 (set_objfile_main_name): New function.
11110 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11111 language_of_main>: New fields.
11112 (set_objfile_main_name): Declare.
11113 * symtab.c (find_main_name): Loop over objfiles to find the main
11114 name and language.
11115 (set_main_name): Now static.
11116 (get_main_info): Add comment.
11117 * symtab.h (set_main_name): Don't declare.
11118
11119 2014-01-15 Tom Tromey <tromey@redhat.com>
11120
11121 * symtab.c (main_progspace_key): New global.
11122 (struct main_info): New.
11123 (name_of_main, language_of_main): Remove.
11124 (get_main_info, main_info_cleanup): New function.
11125 (set_main_name, main_name, main_language): Use get_main_info.
11126 (_initialize_symtab): Initialize main_progspace_key.
11127
11128 2014-01-15 Tom Tromey <tromey@redhat.com>
11129
11130 * dbxread.c (process_one_symbol): Update.
11131 * dwarf2read.c (read_partial_die): Update.
11132 * symfile.c (set_initial_language): Call main_language.
11133 * symtab.c (language_of_main): Now static.
11134 (set_main_name): Add 'lang' parameter.
11135 (find_main_name): Update.
11136 (main_language): New function.
11137 (symtab_observer_executable_changed): Update.
11138 * symtab.h (set_main_name): Update.
11139 (language_of_main): Remove.
11140 (main_language): Declare.
11141
11142 2014-01-15 Tom Tromey <tromey@redhat.com>
11143
11144 * symfile.c (init_entry_point_info): Use new "initialized" field.
11145 Update.
11146 * objfiles.h (struct entry_point) <initialized>: New field.
11147 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11148 (struct objfile) <ei>: ...here. Remove.
11149 * objfiles.c (entry_point_address_query): Update.
11150
11151 2014-01-15 Tom Tromey <tromey@redhat.com>
11152
11153 * objfiles.c (entry_point_address_query): Relocate entry point
11154 address.
11155 (objfile_relocate1): Do not relocate entry point address.
11156 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11157 <the_bfd_section_index>: New field.
11158 * symfile.c (init_entry_point_info): Find the entry point's
11159 section.
11160
11161 2014-01-15 Tom Tromey <tromey@redhat.com>
11162
11163 * solib-frv.c (enable_break): Use entry_point_address_query.
11164
11165 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11166
11167 * NEWS: Add note on improved process record-replay on
11168 arm*-linux* targets.
11169
11170 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11171
11172 * arm-tdep.c (enum arm_record_result): New enum.
11173 (arm_record_unsupported_insn): New function.
11174 (arm_record_coproc_data_proc): Removed.
11175 (thumb2_record_ld_st_multiple): New function.
11176 (thumb2_record_ld_st_dual_ex_tbb): New function.
11177 (thumb2_record_data_proc_sreg_mimm): New function.
11178 (thumb2_record_ps_dest_generic): New function.
11179 (thumb2_record_branch_misc_cntrl): New function.
11180 (thumb2_record_str_single_data): New function.
11181 (thumb2_record_ld_mem_hints): New function.
11182 (thumb2_record_ld_word): New function.
11183 (thumb2_record_lmul_lmla_div): New function.
11184 (thumb2_record_decode_insn_handler): New function.
11185 (decode_insn): Add thumb32 instruction handlers.
11186
11187 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11188
11189 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11190 (struct arm_linux_record_tdep): Declare.
11191 (arm_canonicalize_syscall): New function.
11192 (arm_all_but_pc_registers_record): New function.
11193 (arm_linux_syscall_record): New function.
11194 (arm_linux_init_abi): Add syscall recording constructs.
11195 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11196 decoding. (arm_record_coproc_data_proc): Update arm syscall
11197 decoding.
11198 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11199 <arm_syscall_record>: New field.
11200 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11201 gdb_target_obs.
11202
11203 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11204
11205 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11206 register for push instruction recording.
11207
11208 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11209
11210 * arm-tdep.c (thumb_record_misc): Update to correct logical
11211 error while recording ldm, ldmia and pop instructions.
11212
11213 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
11214
11215 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11216
11217 2014-01-15 Pedro Alves <palves@redhat.com>
11218
11219 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11220 (go32_resume, go32_fetch_registers, store_register)
11221 (go32_store_registers, go32_prepare_to_store)
11222 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11223 (go32_create_inferior, go32_can_run, go32_terminal_init)
11224 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11225 declarations.
11226
11227 2014-01-15 Tom Tromey <tromey@redhat.com>
11228
11229 * target.h (async_callback_ftype): New typedef.
11230 (struct target_ops) <to_async>: Use it.
11231
11232 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11233
11234 * python/py-value.c (get_field_type): Remove unnecessary curly
11235 braces for single-statement if block.
11236
11237 2014-01-15 Joel Brobecker <brobecker@adacore.com>
11238
11239 * python/py-type.c (convert_field): Add missing empty line
11240 after declarations.
11241
11242 2014-01-14 Doug Evans <dje@google.com>
11243
11244 * symfile.h (expand_symtabs_matching): Renamed from
11245 expand_partial_symbol_names. Update prototype.
11246 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11247 * symfile.c (expand_symtabs_matching): Renamed from
11248 expand_partial_symbol_names. New args file_matcher, kind.
11249 Rename arg fun to symbol_matcher.
11250 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11251 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11252 ada_expand_partial_symbol_name.
11253 (ada_make_symbol_completion_list): Update to call
11254 expand_symtabs_matching.
11255 (ada_add_global_exceptions): Call expand_symtabs_matching.
11256 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11257 call map_symbol_filenames.
11258 * symtab.c (sources_info): Update to call map_symbol_filenames.
11259 (search_symbols): Call expand_symtabs_matching.
11260 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11261 (default_make_symbol_completion_list_break_on): Update to call
11262 expand_symtabs_matching.
11263 (make_source_files_completion_list): Update to call
11264 map_symbol_filenames.
11265
11266 2014-01-14 Doug Evans <dje@google.com>
11267
11268 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11269 (expand_symtabs_symbol_matcher_ftype): New typedef.
11270 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11271 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11272 * symfile.c (expand_partial_symbol_names): Update to use
11273 expand_symtabs_symbol_matcher_ftype.
11274 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11275 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11276 Arg name_matcher renamed to symbol_matcher.
11277 * psymtab.c (recursively_search_psymtabs): Update to use
11278 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11279 sym_matcher.
11280 (expand_symtabs_matching_via_partial): Update to use
11281 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11282 Arg name_matcher renamed to symbol_matcher.
11283
11284 2014-01-14 Doug Evans <dje@google.com>
11285
11286 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11287 (map_partial_symbol_filenames): Ditto.
11288 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11289 (map_partial_symbol_filenames): Ditto.
11290 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11291 (map_partial_symbol_filenames): Ditto.
11292 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11293 (map_partial_symbol_filenames): Ditto.
11294 * symtab.c: Delete #include "psymtab.h".
11295
11296 2014-01-14 Pedro Alves <palves@redhat.com>
11297 Tom Tromey <tromey@redhat.com>
11298
11299 * infrun.c (use_displaced_stepping): Use find_record_target
11300 instead of RECORD_IS_USED.
11301 (adjust_pc_after_break): Use record_full_is_used instead of
11302 RECORD_IS_USED.
11303 * record-btrace.c (record_btrace_open): Call record_preopen
11304 instead of checking RECORD_IS_USED.
11305 * record-full.c (record_full_shortname)
11306 (record_full_core_shortname): New globals.
11307 (record_full_is_used): New function.
11308 (find_full_open): Call record_preopen instead of checking
11309 RECORD_IS_USED.
11310 (init_record_full_ops): Set the target's shortname to
11311 record_full_shortname.
11312 (init_record_full_core_ops): Set the target's shortname to
11313 record_full_core_shortname.
11314 * record-full.h (record_full_is_used): Declare.
11315 * record.c (find_record_target): Make extern.
11316 (record_preopen): New function.
11317 * record.h (RECORD_IS_USED): Delete macro.
11318 (find_record_target, record_preopen): Declare functions.
11319
11320 2014-01-14 Yao Qi <yao@codesourcery.com>
11321
11322 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11323 'len''s type to ULONGEST.
11324 (core_xfer_shared_libraries_aix): Likewise.
11325 * gdbarch.c, gdbarch.h: Regenerated.
11326 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11327 Change type of 'len' to ULONGEST.
11328 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11329 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11330
11331 2014-01-14 Yao Qi <yao@codesourcery.com>
11332
11333 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11334 type of 'len' to ULONGEST.
11335 (linux_xfer_osdata_processgroups): Likewise.
11336 (linux_xfer_osdata_threads): Likewise.
11337 (linux_xfer_osdata_fds): Likewise.
11338 (linux_xfer_osdata_isockets): Likewise.
11339 (linux_xfer_osdata_shm): Likewise.
11340 (linux_xfer_osdata_sem): Likewise.
11341 (linux_xfer_osdata_msg): Likewise.
11342 (linux_common_xfer_osdata): Likewise.
11343 (struct osdata_type) <getter>: Likewise.
11344 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11345 the declaration.
11346
11347 2014-01-14 Yao Qi <yao@codesourcery.com>
11348
11349 * target.h (target_xfer_partial_ftype): Update.
11350 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11351 ULONGEST.
11352 * aix-thread.c (aix_thread_xfer_partial): Change type of
11353 argument 'len' to ULONGEST.
11354 * auxv.c (procfs_xfer_auxv): Likewise.
11355 (ld_so_xfer_auxv): Likewise.
11356 (memory_xfer_auxv): Likewise.
11357 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11358 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11359 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11360 * corelow.c (core_xfer_partial): Likewise.
11361 * ctf.c (ctf_xfer_partial): Likewise.
11362 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11363 '%u'.
11364 (darwin_read_dyld_info): Likewise.
11365 (darwin_xfer_partial): Likewise.
11366 * exec.c (section_table_xfer_memory_partial): Likewise.
11367 (exec_xfer_partial): Likewise.
11368 * exec.h (section_table_xfer_memory_partial): Update
11369 declaration.
11370 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11371 instead of plongest.
11372 (gnu_xfer_partial): Likewise.
11373 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11374 (ia64_hpux_xfer_solib_got): Likewise.
11375 (ia64_hpux_xfer_partial): Likewise.
11376 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11377 * inf-ptrace.c (inf_ptrace_xfer_partial):
11378 * inf-ttrace.c (inf_ttrace_xfer_partial):
11379 * linux-nat.c (linux_xfer_siginfo): Likewise.
11380 (linux_nat_xfer_partial): Likewise.
11381 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11382 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11383 * monitor.c (monitor_xfer_memory): Likewise.
11384 (monitor_xfer_partial): Likewise.
11385 * procfs.c (procfs_xfer_partial): Likewise.
11386 * record-full.c (record_full_xfer_partial): Likewise.
11387 (record_full_core_xfer_partial): Likewise.
11388 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11389 instead of plongest.
11390 (gdbsim_xfer_partial): Likewise.
11391 * remote.c (remote_xfer_partial): Likewise.
11392 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11393 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11394 declaration.
11395 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11396 (rs6000_xfer_shared_libraries): Likewise.
11397 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11398 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11399 (sparc_xfer_partial): Likewise.
11400 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11401 (spu_xfer_partial): Likewise.
11402 * spu-multiarch.c (spu_xfer_partial): Likewise.
11403 * target.c (target_read_live_memory): Likewise.
11404 (memory_xfer_live_readonly_partial): Likewise.
11405 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11406 (target_xfer_partial, default_xfer_partial): Likewise.
11407 (current_xfer_partial): Likewise.
11408 * tracepoint.c (tfile_xfer_partial): Likewise.
11409 * windows-nat.c (windows_xfer_memory): Likewise. Call
11410 pulongest instead of plongest.
11411 (windows_xfer_partial): Likewise.
11412 (windows_xfer_shared_libraries): Likewise.
11413
11414 2014-01-14 Yao Qi <yao@codesourcery.com>
11415
11416 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11417 target_xfer_partial_ftype.
11418
11419 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11420
11421 PR python/15464
11422 PR python/16113
11423 * valops.c (value_struct_elt_bitpos): New function
11424 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11425 object to 'None' if the field name is an empty string ("").
11426 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11427 attribute to look for a field when 'name' is 'None'.
11428 (get_field_type): New function
11429
11430 2014-01-13 Doug Evans <dje@google.com>
11431
11432 PR symtab/16426
11433 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11434 (try_open_dwop_file): Ditto.
11435 * gdb_bfd.c: #include "vec.h".
11436 (bfdp): New typedef.
11437 (struct gdb_bfd_data): New member included_bfds.
11438 (gdb_bfd_unref): Unref all included bfds.
11439 (gdb_bfd_record_inclusion): New function.
11440 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11441
11442 2014-01-13 Tom Tromey <tromey@redhat.com>
11443
11444 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11445
11446 2014-01-13 Tom Tromey <tromey@redhat.com>
11447
11448 * defs.h (use_windows): Remove.
11449 * gdb.c (main): Update.
11450 * main.c (captured_main, gdb_main): Update.
11451 * main.h (struct captured_main_args) <use_windows>: Remove.
11452 * top.c (use_windows): Remove.
11453
11454 2014-01-13 Tom Tromey <tromey@redhat.com>
11455
11456 * defs.h (deprecated_flush_hook): Remove.
11457
11458 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11459
11460 PR threads/16216
11461 * linux-thread-db.c (try_thread_db_load): Add parameter
11462 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11463 (try_thread_db_load_from_pdir_1): Move it there from here.
11464 (try_thread_db_load_from_sdir): Update caller.
11465 (try_thread_db_load_from_dir): Move it there from here.
11466
11467 2014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11468
11469 * regformats/regdat.sh: Always rewrite the register file.
11470
11471 2014-01-13 Pedro Alves <palves@redhat.com>
11472
11473 * Makefile.in (CHECK_HEADERS): New variable.
11474 (check-headers:): New rule.
11475
11476 2014-01-13 Tom Tromey <tromey@redhat.com>
11477
11478 * cli/cli-setshow.c (do_set_command): Update.
11479 * defs.h (deprecated_set_hook): Remove.
11480 * top.c (deprecated_set_hook): Remove.
11481
11482 2014-01-13 Pedro Alves <palves@redhat.com>
11483
11484 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11485 the tracepoint if the PC is a pseudo-register.
11486
11487 2014-01-13 Tom Tromey <tromey@redhat.com>
11488
11489 * defs.h (XCALLOC): Remove.
11490 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11491 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11492 * dwarf2loc.c (allocate_piece_closure): Likewise.
11493 * elfread.c (elf_symfile_segments): Likewise.
11494 (elf_symfile_segments): Likewise.
11495 * gdbtypes.c (copy_type_recursive): Likewise.
11496 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11497 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11498 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11499 XCALLOC.
11500 * mt-tdep.c (mt_gdbarch_init): Likewise.
11501 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11502 XCALLOC.
11503 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11504 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11505 * registry.c (registry_alloc_data): Likewise.
11506 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11507 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11508 * serial.c (serial_fdopen_ops): Likewise.
11509 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11510 XCALLOC.
11511 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11512 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11513 not XCALLOC.
11514
11515 2014-01-13 Tom Tromey <tromey@redhat.com>
11516
11517 * defs.h (XMALLOC): Remove.
11518 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11519 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11520 * cli-out.c (struct ui_out *): Likewise.
11521 * cli/cli-dump.c (add_dump_command): Likewise.
11522 (add_dump_command): Likewise.
11523 * complaints.c (get_complaints): Likewise.
11524 (find_complaint): Likewise.
11525 * dwarf2-frame.c (execute_cfa_program): Likewise.
11526 * dwarf2read.c (abbrev_table_read_table): Likewise.
11527 * gdbarch.sh: Likewise.
11528 * gdbarch.c: Rebuild.
11529 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11530 * interps.c (interp_new): Likewise.
11531 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11532 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11533 * mi/mi-console.c (mi_console_file_new): Likewise.
11534 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11535 * mi/mi-out.c (mi_out_new): Likewise.
11536 * mi/mi-parse.c (mi_parse): Likewise.
11537 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11538 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11539 * observer.c (xalloc_observer_list_node): Likewise.
11540 * regcache.c (regcache_xmalloc_1): Likewise.
11541 * reggroups.c (reggroup_new): Likewise.
11542 (_initialize_reggroup): Likewise.
11543 * registry.c (register_data_with_cleanup): Likewise.
11544 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11545 * ser-base.c (serial_ttystate): Likewise.
11546 * ser-mingw.c (make_pipe_state): Likewise.
11547 * ser-pipe.c (pipe_open): Likewise.
11548 * serial.c (serial_open): Likewise.
11549 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11550 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11551 (tui_alloc_win_info): Likewise.
11552 (tui_add_content_elements): Likewise.
11553 * tui/tui-file.c (tui_file_new): Likewise.
11554 * tui/tui-out.c (tui_out_new): Likewise.
11555 * ui-file.c (mem_file_new): Likewise.
11556 * ui-out.c (push_level): Likewise.
11557 (make_cleanup_ui_out_end): Likewise.
11558 (append_header_to_list): Likewise.
11559 (ui_out_new): Likewise.
11560 * user-regs.c (user_reg_add_builtin): Likewise.
11561
11562 2014-01-13 Tom Tromey <tromey@redhat.com>
11563
11564 * defs.h (XZALLOC): Remove.
11565 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11566 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11567 (get_ada_tasks_inferior_data): Likewise.
11568 * auto-load.c (get_auto_load_pspace_data): Likewise.
11569 * auxv.c (get_auxv_inferior_data): Likewise.
11570 * bfd-target.c (target_bfd_reopen): Likewise.
11571 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11572 (deprecated_insert_raw_breakpoint): Likewise.
11573 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11574 * corelow.c (core_open): Likewise.
11575 * darwin-nat.c (darwin_check_new_threads): Likewise.
11576 (darwin_attach_pid): Likewise.
11577 * dummy-frame.c (dummy_frame_push): Likewise.
11578 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11579 * dwarf2loc.c (allocate_piece_closure): Likewise.
11580 * elfread.c (elf_symfile_segments): Likewise.
11581 * eval.c (ptrmath_type_p): Likewise.
11582 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11583 * gdbtypes.c (alloc_type_arch): Likewise.
11584 (alloc_type_instance): Likewise.
11585 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11586 * inf-child.c (inf_child_can_use_agent): Likewise.
11587 * inflow.c (get_inflow_inferior_data): Likewise.
11588 * infrun.c (save_infcall_suspend_state): Likewise.
11589 * jit.c (jit_reader_load): Likewise.
11590 (get_jit_objfile_data): Likewise.
11591 (get_jit_program_space_data): Likewise.
11592 (jit_object_open_impl): Likewise.
11593 (jit_symtab_open_impl): Likewise.
11594 (jit_block_open_impl): Likewise.
11595 (jit_frame_sniffer): Likewise.
11596 * linux-fork.c (add_fork): Likewise.
11597 * maint.c (make_command_stats_cleanup): Likewise.
11598 * objfiles.c (get_objfile_pspace_data): Likewise.
11599 * opencl-lang.c (struct lval_closure): Likewise.
11600 * osdata.c (osdata_start_osdata): Likewise.
11601 * progspace.c (new_address_space): Likewise.
11602 (add_program_space): Likewise.
11603 * remote-sim.c (get_sim_inferior_data): Likewise.
11604 * sh-tdep.c (sh_gdbarch_init): Likewise.
11605 * skip.c (Ignore): Likewise.
11606 (skip_delete_command): Likewise.
11607 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11608 (library_list_start_library): Likewise.
11609 (solib_aix_current_sos): Likewise.
11610 * solib-darwin.c (get_darwin_info): Likewise.
11611 (darwin_current_sos): Likewise.
11612 * solib-dsbt.c (get_dsbt_info): Likewise.
11613 * solib-ia64-hpux.c (new_so_list): Likewise.
11614 (ia64_hpux_get_solib_linkage_addr): Likewise.
11615 * solib-spu.c (append_ocl_sos): Likewise.
11616 (spu_current_sos): Likewise.
11617 * solib-svr4.c (get_svr4_info): Likewise.
11618 (svr4_keep_data_in_core): Likewise.
11619 (library_list_start_library): Likewise.
11620 (svr4_default_sos): Likewise.
11621 (svr4_read_so_list): Likewise.
11622 * solib-target.c (library_list_start_library): Likewise.
11623 (solib_target_current_sos): Likewise.
11624 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11625 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11626 * symfile.c (default_symfile_segments): Likewise.
11627 * target-descriptions.c (tdesc_data_init): Likewise.
11628 (tdesc_create_reg): Likewise.
11629 (struct tdesc_type *): Likewise.
11630 (tdesc_create_vector): Likewise.
11631 (tdesc_set_struct_size): Likewise.
11632 (struct tdesc_type *): Likewise.
11633 (tdesc_free_feature): Likewise.
11634 (tdesc_create_feature): Likewise.
11635 * windows-nat.c (windows_add_thread): Likewise.
11636 (windows_make_so): Likewise.
11637 * xml-support.c (gdb_xml_body_text): Likewise.
11638 (gdb_xml_create_parser_and_cleanup): Likewise.
11639 (xml_process_xincludes): Likewise.
11640 * xml-syscall.c (allocate_syscalls_info): Likewise.
11641 (syscall_create_syscall_desc): Likewise.
11642
11643 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11644
11645 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11646 function, with code from i386_stap_parse_special_token.
11647 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11648 (i386_stap_parse_special_token): Move code to the two functions
11649 above; simplify it.
11650
11651 2014-01-09 Pedro Alves <palves@redhat.com>
11652 Hui Zhu <hui@codesourcery.com>
11653
11654 PR gdb/16101
11655 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11656 bp_err_string. Don't mark the location shlib_disabled if the
11657 error thrown wasn't a generic or memory error. Catch errors
11658 thrown while inserting breakpoints in overlayed code. Output
11659 error message of software breakpoints.
11660 * remote.c (remote_insert_breakpoint): If this breakpoint has
11661 target-side commands but this stub doesn't support Z0 packets,
11662 throw NOT_SUPPORTED_ERROR error.
11663 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11664 * target.h (target_insert_breakpoint): Extend comment.
11665 (target_insert_hw_breakpoint): Add comment.
11666
11667 2014-01-08 Pedro Alves <palves@redhat.com>
11668
11669 * remote.c (remote_add_thread): Add threads silently if starting
11670 up.
11671 (remote_notice_new_inferior): If in all-stop, and starting up,
11672 don't call notice_new_inferior.
11673 (get_current_thread): New function, factored out from ...
11674 (add_current_inferior_and_thread): ... this. Adjust.
11675 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11676 found any thread, then select the remote's current thread as GDB's
11677 current thread too.
11678
11679 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11680
11681 * NEWS: Create a new section for the next release branch.
11682 Rename the section of the current branch, now that it has
11683 been cut.
11684
11685 2014-01-08 Joel Brobecker <brobecker@adacore.com>
11686
11687 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11688 * version.in: Bump version to 7.7.50.DATE-cvs.
11689
11690 2014-01-08 Yao Qi <yao@codesourcery.com>
11691
11692 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11693 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11694 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11695
11696 2014-01-08 Yao Qi <yao@codesourcery.com>
11697
11698 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11699 return value of bfd_get_filename to symbol_file_add_from_bfd.
11700
11701 2014-01-08 Pierre Muller <muller@sourceware.org>
11702
11703 Fix PR16201.
11704 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11705 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11706 to prim_record_mininal_symbol_and_info.
11707 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11708 in call to prim_record_minimal_symbol_and_info.
11709 (read_pe_exported_syms): Set index field of section_data.
11710
11711 2014-01-07 Andrew Pinski <apinski@cavium.com>
11712
11713 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11714 * features/aarch64.c: Regenerate.
11715
11716 2014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11717
11718 * target.c (return_null): Define.
11719 (update_current_target): Use it instead of return_zero for
11720 functions that return a pointer.
11721
11722 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11723
11724 * source.c (add_path): Fix check for duplicated paths in the previously
11725 included paths.
11726
11727 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11728
11729 * ada-lang.c: Remove duplicated include statements.
11730 * alphabsd-nat.c: Ditto.
11731 * amd64-darwin-tdep.c: Ditto.
11732 * amd64fbsd-nat.c: Ditto.
11733 * auto-load.c: Ditto.
11734 * ax-gdb.c: Ditto.
11735 * breakpoint.c: Ditto.
11736 * dbxread.c: Ditto.
11737 * fork-child.c: Ditto.
11738 * gdb_usleep.c: Ditto.
11739 * i386-darwin-tdep.c: Ditto.
11740 * i386fbsd-nat.c: Ditto.
11741 * infcmd.c: Ditto.
11742 * inferior.c: Ditto.
11743 * jv-lang.c: Ditto.
11744 * linux-nat.c: Ditto.
11745 * linux-tdep.c: Ditto.
11746 * m68kbsd-nat.c: Ditto.
11747 * m68klinux-nat.c: Ditto.
11748 * microblaze-tdep.c: Ditto.
11749 * mips-linux-tdep.c: Ditto.
11750 * mn10300-tdep.c: Ditto.
11751 * nto-tdep.c: Ditto.
11752 * opencl-lang.c: Ditto.
11753 * osdata.c: Ditto.
11754 * printcmd.c: Ditto.
11755 * regcache.c: Ditto.
11756 * remote-m32r-sdi.c: Ditto.
11757 * remote.c: Ditto.
11758 * symfile.c: Ditto.
11759 * symtab.c: Ditto.
11760 * tilegx-linux-nat.c: Ditto.
11761 * tilegx-tdep.c: Ditto.
11762 * tracepoint.c: Ditto.
11763 * valops.c: Ditto.
11764 * vaxbsd-nat.c: Ditto.
11765 * windows-nat.c: Ditto.
11766 * xtensa-tdep.c: Ditto.
11767
11768 2014-01-07 Yao Qi <yao@codesourcery.com>
11769
11770 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11771
11772 2014-01-07 Yao Qi <yao@codesourcery.com>
11773 Joel Brobecker <brobecker@adacore.com>
11774
11775 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11776 (pdc_write_regs): Likewise.
11777 (fetch_regs_kernel_thread): Likewise.
11778 (store_regs_kernel_thread): Likewise.
11779
11780 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11781
11782 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11783 tagged type objects to their actual type.
11784
11785 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11786
11787 * ada-valprint.c (print_field_values): Add "language" parameter.
11788 Update calls to print_field_values and print_variant_part.
11789 Pass new parameter "language" in call to val_print instead
11790 of "current_language". Replace call to ada_val_print by call
11791 to val_print.
11792 (print_variant_part): Add "language" parameter.
11793 (ada_val_print_struct_union): Update call to print_field_values.
11794
11795 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11796
11797 * ada-valprint.c (ui_memcpy): Delete.
11798 (ada_print_floating): Update documentation. Add empty line
11799 between between function documentation and implementation.
11800 Delete variable "buffer". Use ui_file_xstrdup in place of
11801 ui_file_put. Minor adjustments following this change.
11802
11803 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11804
11805 * ada-valprint.c (ada_val_print_string): New function,
11806 extracted from ada_val_print_array.
11807 (ada_val_print_array): Replace extracted code by call
11808 to ada_val_print_string followed by a return. Move
11809 "else" branch to the function's top block.
11810
11811 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11812
11813 * ada-valprint.c (ada_val_print_array): Move implementation
11814 down. Rename parameter "offset" and "val" into "offset_aligned"
11815 and "original_value" respectively. Add parameter "offset".
11816
11817 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11818
11819 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11820 re-organizing the code. Change the "???" message printed
11821 when target type is a TYPE_CODE_UNDEF into
11822 "<ref to undefined type>".
11823
11824 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11825
11826 * ada-valprint.c (print_record): Delete, implementation inlined...
11827 (ada_val_print_struct_union): ... here. Remove call to
11828 ada_check_typedef in inlined implementation.
11829
11830 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11831
11832 * ada-valprint.c (ada_val_print_gnat_array): New function,
11833 extracted from ada_val_print_1;
11834 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
11835 (ada_val_print_flt, ada_val_print_struct_union)
11836 (ada_val_print_ref): Likewise.
11837 (ada_val_print_1): Delete variables i and elttype.
11838 Replace extracted-out code by call to corresponding
11839 new functions.
11840
11841 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11842
11843 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
11844
11845 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11846
11847 * ada-valprint.c (ada_val_print_1): Replace calls to
11848 ada_val_print_1 by calls to val_print.
11849
11850 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11851
11852 * ada-valprint.c (ada_val_print_1): Add parameter "language".
11853 Update calls to self accordingly. Replace calls to c_val_print
11854 by calls to val_print.
11855
11856 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11857
11858 * ada-valprint.c (print_record): Delete declaration.
11859 (adjust_type_signedness, ada_val_print_1): Likewise.
11860 (ada_val_print): Move function implementation down.
11861 (print_variant_part, print_field_values, print_record):
11862 Move function implementation up.
11863
11864 2014-01-07 Joel Brobecker <brobecker@adacore.com>
11865
11866 * python/py-type.c (typy_get_name): New function.
11867 (type_object_getset): Add entry for attribute "name".
11868 * NEWS: Add entry mentioning this new attribute.
11869
11870 2014-01-07 Yao Qi <yao@codesourcery.com>
11871
11872 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
11873 statement.
11874
11875 2014-01-07 Yao Qi <yao@codesourcery.com>
11876
11877 * gnu-nat.c (info_port_rights): Add qualifier const to
11878 argument args.
11879
11880 2014-01-07 Yao Qi <yao@codesourcery.com>
11881
11882 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
11883
11884 2014-01-07 Yao Qi <yao@codesourcery.com>
11885
11886 * gnu-nat.c (make_inf) Update declaration.
11887 (make_inf): Make it static.
11888 (inf_set_traced): Likewise.
11889 (inf_port_to_thread, inf_task_died_status): Likewise.
11890
11891 2014-01-07 Yao Qi <yao@codesourcery.com>
11892
11893 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
11894
11895 2014-01-07 Yao Qi <yao@codesourcery.com>
11896
11897 * gnu-nat.c (_initialize_gnu_nat): Declare.
11898
11899 2014-01-07 Yao Qi <yao@codesourcery.com>
11900
11901 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
11902 'enum bfd_endian'.
11903 (struct gdbarch_info) <byte_order>: Change type to
11904 'enum bfd_endian'.
11905 <byte_order_for_code>: Likewise.
11906 * gdbarch.c, gdbarch.h: Regenerated.
11907
11908 2014-01-06 Sasha Smundak <asmundak@google.com>
11909
11910 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
11911
11912 2014-01-06 Tom Tromey <tromey@redhat.com>
11913
11914 * doublest.c (convert_doublest_to_floatformat): Use const, not
11915 CONST.
11916 * somread.c (som_symtab_read): Likewise.
11917
11918 2014-01-07 Hui Zhu <hui@codesourcery.com>
11919
11920 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
11921 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
11922 (gdb_bfd_fopen): Ditto.
11923 (gdb_bfd_openr): Ditto.
11924 (gdb_bfd_openw): Ditto.
11925 (gdb_bfd_openr_iovec): Ditto.
11926 (gdb_bfd_fdopenr): Ditto.
11927 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
11928 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
11929 with xstrdup.
11930 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
11931 with xstrdup.
11932 * symfile-mem.c (symbol_file_add_from_memory): Removed
11933 gdb_bfd_stash_filename.
11934
11935 2014-01-03 Doug Evans <dje@google.com>
11936
11937 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
11938 output.
11939
11940 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11941
11942 Update year range in copyright notice of all files.
11943
11944 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11945
11946 * top.c (print_gdb_version): Set copyright year to 2014.
11947
11948 2014-01-01 Joel Brobecker <brobecker@adacore.com>
11949
11950 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
11951
11952 For older changes see ChangeLog-2013.
11953 \f
11954 Local Variables:
11955 mode: change-log
11956 left-margin: 8
11957 fill-column: 74
11958 version-control: never
11959 coding: utf-8
11960 End:
This page took 0.267107 seconds and 5 git commands to generate.