daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
dcd2e6ef
YQ
12014-08-09 Yao Qi <yao@codesourcery.com>
2
3 PR remote/9053
4 * remote.c (remote_xfer_partial): Remove dead code.
5
070bdf0b
AA
62014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
7
8 * ia64-linux-tdep.c: Include "regset.h".
9 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
10 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
11 (ia64_linux_supply_fpregset): New function.
12 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
13 (ia64_linux_regset_from_core_section): New function.
14 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
15 method.
16
08f9f542
AA
172014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
18
19 * m68klinux-tdep.c: Include "regset.h".
20 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
21 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
22 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
23 (m68k_linux_regset_from_core_section): New function.
24 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
25 method.
26
8f1cee41
AA
272014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
28
29 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
30 function. Move logic to...
31 (tilegx_linux_regmap): ... this new register map.
32 (tilegx_linux_regset): Refer to register map, replace supply
33 method by regcache_supply_regset, and add collect method.
34 * tilegx-tdep.h (enum tilegx_regnum): New enum value
35 TILEGX_FIRST_EASY_REGNUM.
36
c5741217
AA
372014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
38
39 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
40 that calls regcache_supply_regset and handles the EPC register
41 separately. Move main logic to...
42 (score7_linux_gregmap): ... this new register map.
43 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
44 (score7_linux_gregset): Refer to register map. Add collect method.
45 (score7_linux_regset_from_core_section): Replace
46 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
47 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
48 (struct regset): Delete unused forward declaraction.
49 (struct pt_regs): Delete structure definition.
50 (elf_gregset_t): Delete typedef.
51
81580573
AA
522014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
53
54 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
55 (nios2_core_regset): Add collect method.
56
ba199d7d
AA
572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
58
59 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
60 platform-independent and don't write to read-only input buffer.
61 (m32r_linux_collect_gregset): New function.
62 (m32r_linux_gregset): Add collect method.
63
0006a9da
AA
642014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
65
66 * hppa-linux-tdep.c (greg_map): Rename to...
67 (hppa_linux_gregmap): ... this. Also convert to
68 regcache_map_entry format.
69 (hppa_linux_supply_regset): Delete function.
70 (hppa_linux_supply_fpregset): Delete function. Move logic to...
71 (hppa_linux_fpregmap): ... this new register map.
72 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
73 register map, replace supply method by regcache_supply_regset, and
74 add collect method regcache_collect_regset.
75
901e1b23
AA
762014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
77
78 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
79 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
80 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
81 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
82 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
83 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
84 (frv_linux_supply_gregset): Replace main logic by call to
85 regcache_supply_regset, but keep clearing gr32-gr63.
86 (frv_linux_supply_fpregset): Delete function.
87 (frv_linux_gregset): Refer to appropriate register map and add
88 regcache_collect_regset as the collect method.
89 (frv_linux_fpregset): Likewise. Also exchange the supply method
90 by regcache_supply_regset.
91
1d6e7555
AA
922014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
93
94 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
95 by call to alpha_supply_int_regs.
96 (alpha_linux_collect_gregset): New function.
97 (alpha_linux_supply_fpregset): Replace logic by call to
98 alpha_supply_fp_regs.
99 (alpha_linux_collect_fpregset): New function.
100 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
101
d4d793bf
AA
1022014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
103
104 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
105 by call to regcache_collect_regset.
106 (supply_gregset, supply_fpregset): Call regcache_supply_regset
107 instead of aarch64_linux_supply_gregset/_fpregset.
108 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
109 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
110 header file instead.
111 (aarch64_linux_supply_gregset, supply_gregset_from_core)
112 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
113 functions. Move logic to ...
114 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
115 register maps.
116 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
117 refer to new register maps, replace *_regset_from_core by
118 regcache_supply_regset, and also use regcache_collect_regset.
119 * aarch64-linux-tdep.h: Include "regset.h".
120 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
121 Delete prototypes.
122 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
123 macros, moved from C source file.
124 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
125 variable declarations.
126
99b7da5d
AA
1272014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
128
129 * s390-linux-nat.c: Include "regset.h".
130 (regmap_gregset): Delete macro.
131 (s390_64_regmap_gregset): New register map for
132 regcache_supply/_collect_regset.
133 (s390_64_gregset): New regset.
134 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
135 (regmap_fpregset): Delete macro.
136 (s390_native_supply, s390_native_collect): Delete functions.
137 (supply_gregset, fill_gregset): Replace s390-specific regmap
138 handling by a call to regcache_supply/_collect_regset.
139 (supply_fpregset, fill_fpregset): Call regcache_supply/
140 _collect_regset instead of s390_native_supply/_collect.
141 (fetch_regset, store_regset): Likewise. Also change the last
142 parameter to a regset instead of a regmap.
143 (s390_linux_fetch_inferior_registers)
144 (390_linux_store_inferior_registers): Adjust last parameter in
145 calls to fetch_regset and store_regset.
146 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
147 (s390_gregmap): ... this. Also make static const and convert to
148 regcache_map_entry format.
149 (s390x_regmap_gregset): Delete.
150 (s390_regmap_fpregset): Rename to...
151 (s390_fpregmap): ... this. Make static const and convert to
152 regcache_map_entry format.
153 (s390_regmap_upper, s390_regmap_last_break)
154 (s390x_regmap_last_break, s390_regmap_system_call)
155 (s390_regmap_tdb): Likewise.
156 (s390_supply_regset, s390_collect_regset): Remove functions.
157 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
158 s390_supply_regset.
159 (s390_gregset, s390_fpregset, s390_upper_regset)
160 (s390_last_break_regset, s390x_last_break_regset)
161 (s390_system_call_regset, s390_tdb_regset): Make global and
162 replace s390_supply/_collect_regset by regcache_supply/
163 _collect_regset.
164 (s390x_gregset): Delete.
165 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
166 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
167 (s390_regmap_fpregset, s390_regmap_last_break)
168 (s390x_regmap_last_break, s390_regmap_system_call)
169 (s390_regmap_tdb): Delete global variable declarations.
170 (s390_gregset, s390_fpregset, s390_last_break_regset)
171 (s390x_last_break_regset, s390_system_call_regset)
172 (s390_tdb_regset): New global variable declarations.
173
0b309272
AA
1742014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
175
176 * regcache.c: Include "regset.h".
177 (regcache_transfer_regset): New local function.
178 (regcache_supply_regset, regcache_collect_regset): New functions.
179 * regcache.h (struct regcache_map_entry): New structure.
180 (REGCACHE_MAP_SKIP): New enum value.
181 (regcache_supply_regset, regcache_collect_regset): New prototypes.
182
7fefa8d7
AA
1832014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
184
185 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
186 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
187 (ppc_linux_collect_gregset ): Likewise.
188 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
189 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
190 (ppc_collect_vrregset): Likewise.
191 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
192 Likewise.
193
96c4f946
YQ
1942014-08-07 Yao Qi <yao@codesourcery.com>
195
196 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
197 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
198 * remote.c (remote_read_bytes): Likewise.
199
fffbe6a8
YQ
2002014-08-07 Yao Qi <yao@codesourcery.com>
201
202 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
203
5ee8a82c
YQ
2042014-08-07 Yao Qi <yao@codesourcery.com>
205
206 PR remote/17230
207 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
208 TARGET_XFER_OK instead of 0.
209
bb974a24
GB
2102014-08-07 Gary Benson <gbenson@redhat.com>
211
212 * common/common-defs.h: Include errno.h.
213 * defs.h: Do not include errno.h.
214 * ada-typeprint.c: Likewise.
215 * c-typeprint.c: Likewise.
216 * core-regset.c: Likewise.
217 * corefile.c: Likewise.
218 * corelow.c: Likewise.
219 * event-loop.c: Likewise.
220 * f-typeprint.c: Likewise.
221 * gnu-nat.c: Likewise.
222 * go32-nat.c: Likewise.
223 * i386gnu-nat.c: Likewise.
224 * m2-typeprint.c: Likewise.
225 * nat/linux-btrace.c: Likewise.
226 * p-typeprint.c: Likewise.
227 * procfs.c: Likewise.
228 * remote-sim.c: Likewise.
229 * rs6000-nat.c: Likewise.
230 * target.c: Likewise.
231 * typeprint.c: Likewise.
232 * ui-file.c: Likewise.
233 * valops.c: Likewise.
234 * valprint.c: Likewise.
235
6d3d12eb
GB
2362014-08-07 Gary Benson <gbenson@redhat.com>
237
238 * common/common-defs.h: Include string.h.
239 * aarch64-tdep.c: Do not include string.h.
240 * ada-exp.y: Likewise.
241 * ada-lang.c: Likewise.
242 * ada-lex.l: Likewise.
243 * ada-typeprint.c: Likewise.
244 * ada-valprint.c: Likewise.
245 * aix-thread.c: Likewise.
246 * alpha-linux-tdep.c: Likewise.
247 * alpha-mdebug-tdep.c: Likewise.
248 * alpha-nat.c: Likewise.
249 * alpha-osf1-tdep.c: Likewise.
250 * alpha-tdep.c: Likewise.
251 * alphanbsd-tdep.c: Likewise.
252 * amd64-dicos-tdep.c: Likewise.
253 * amd64-linux-tdep.c: Likewise.
254 * amd64-nat.c: Likewise.
255 * amd64-sol2-tdep.c: Likewise.
256 * amd64fbsd-tdep.c: Likewise.
257 * amd64obsd-tdep.c: Likewise.
258 * arch-utils.c: Likewise.
259 * arm-linux-nat.c: Likewise.
260 * arm-linux-tdep.c: Likewise.
261 * arm-tdep.c: Likewise.
262 * arm-wince-tdep.c: Likewise.
263 * armbsd-tdep.c: Likewise.
264 * armnbsd-nat.c: Likewise.
265 * armnbsd-tdep.c: Likewise.
266 * armobsd-tdep.c: Likewise.
267 * avr-tdep.c: Likewise.
268 * ax-gdb.c: Likewise.
269 * ax-general.c: Likewise.
270 * bcache.c: Likewise.
271 * bfin-tdep.c: Likewise.
272 * breakpoint.c: Likewise.
273 * build-id.c: Likewise.
274 * buildsym.c: Likewise.
275 * c-exp.y: Likewise.
276 * c-lang.c: Likewise.
277 * c-typeprint.c: Likewise.
278 * c-valprint.c: Likewise.
279 * charset.c: Likewise.
280 * cli-out.c: Likewise.
281 * cli/cli-cmds.c: Likewise.
282 * cli/cli-decode.c: Likewise.
283 * cli/cli-dump.c: Likewise.
284 * cli/cli-interp.c: Likewise.
285 * cli/cli-logging.c: Likewise.
286 * cli/cli-script.c: Likewise.
287 * cli/cli-setshow.c: Likewise.
288 * cli/cli-utils.c: Likewise.
289 * coffread.c: Likewise.
290 * common/agent.c: Likewise.
291 * common/buffer.c: Likewise.
292 * common/buffer.h: Likewise.
293 * common/common-utils.c: Likewise.
294 * common/filestuff.c: Likewise.
295 * common/filestuff.c: Likewise.
296 * common/format.c: Likewise.
297 * common/print-utils.c: Likewise.
298 * common/rsp-low.c: Likewise.
299 * common/signals.c: Likewise.
300 * common/vec.h: Likewise.
301 * common/xml-utils.c: Likewise.
302 * core-regset.c: Likewise.
303 * corefile.c: Likewise.
304 * corelow.c: Likewise.
305 * cp-abi.c: Likewise.
306 * cp-name-parser.y: Likewise.
307 * cp-support.c: Likewise.
308 * cp-valprint.c: Likewise.
309 * cris-tdep.c: Likewise.
310 * d-exp.y: Likewise.
311 * darwin-nat.c: Likewise.
312 * dbxread.c: Likewise.
313 * dcache.c: Likewise.
314 * demangle.c: Likewise.
315 * dicos-tdep.c: Likewise.
316 * disasm.c: Likewise.
317 * doublest.c: Likewise.
318 * dsrec.c: Likewise.
319 * dummy-frame.c: Likewise.
320 * dwarf2-frame.c: Likewise.
321 * dwarf2loc.c: Likewise.
322 * dwarf2read.c: Likewise.
323 * elfread.c: Likewise.
324 * environ.c: Likewise.
325 * eval.c: Likewise.
326 * event-loop.c: Likewise.
327 * exceptions.c: Likewise.
328 * exec.c: Likewise.
329 * expprint.c: Likewise.
330 * f-exp.y: Likewise.
331 * f-lang.c: Likewise.
332 * f-typeprint.c: Likewise.
333 * f-valprint.c: Likewise.
334 * fbsd-nat.c: Likewise.
335 * findcmd.c: Likewise.
336 * findvar.c: Likewise.
337 * fork-child.c: Likewise.
338 * frame.c: Likewise.
339 * frv-linux-tdep.c: Likewise.
340 * frv-tdep.c: Likewise.
341 * gdb.c: Likewise.
342 * gdb_bfd.c: Likewise.
343 * gdbarch.c: Likewise.
344 * gdbarch.sh: Likewise.
345 * gdbtypes.c: Likewise.
346 * gnu-nat.c: Likewise.
347 * gnu-v2-abi.c: Likewise.
348 * gnu-v3-abi.c: Likewise.
349 * go-exp.y: Likewise.
350 * go-lang.c: Likewise.
351 * go32-nat.c: Likewise.
352 * guile/guile.c: Likewise.
353 * guile/scm-auto-load.c: Likewise.
354 * hppa-hpux-tdep.c: Likewise.
355 * hppa-linux-nat.c: Likewise.
356 * hppanbsd-tdep.c: Likewise.
357 * hppaobsd-tdep.c: Likewise.
358 * i386-cygwin-tdep.c: Likewise.
359 * i386-dicos-tdep.c: Likewise.
360 * i386-linux-tdep.c: Likewise.
361 * i386-nto-tdep.c: Likewise.
362 * i386-sol2-tdep.c: Likewise.
363 * i386-tdep.c: Likewise.
364 * i386bsd-tdep.c: Likewise.
365 * i386gnu-nat.c: Likewise.
366 * i386nbsd-tdep.c: Likewise.
367 * i386obsd-tdep.c: Likewise.
368 * i387-tdep.c: Likewise.
369 * ia64-libunwind-tdep.c: Likewise.
370 * ia64-linux-nat.c: Likewise.
371 * inf-child.c: Likewise.
372 * inf-ptrace.c: Likewise.
373 * inf-ttrace.c: Likewise.
374 * infcall.c: Likewise.
375 * infcmd.c: Likewise.
376 * inflow.c: Likewise.
377 * infrun.c: Likewise.
378 * interps.c: Likewise.
379 * iq2000-tdep.c: Likewise.
380 * irix5-nat.c: Likewise.
381 * jv-exp.y: Likewise.
382 * jv-lang.c: Likewise.
383 * jv-typeprint.c: Likewise.
384 * jv-valprint.c: Likewise.
385 * language.c: Likewise.
386 * linux-fork.c: Likewise.
387 * linux-nat.c: Likewise.
388 * lm32-tdep.c: Likewise.
389 * m2-exp.y: Likewise.
390 * m2-typeprint.c: Likewise.
391 * m32c-tdep.c: Likewise.
392 * m32r-linux-nat.c: Likewise.
393 * m32r-linux-tdep.c: Likewise.
394 * m32r-rom.c: Likewise.
395 * m32r-tdep.c: Likewise.
396 * m68hc11-tdep.c: Likewise.
397 * m68k-tdep.c: Likewise.
398 * m68kbsd-tdep.c: Likewise.
399 * m68klinux-nat.c: Likewise.
400 * m68klinux-tdep.c: Likewise.
401 * m88k-tdep.c: Likewise.
402 * machoread.c: Likewise.
403 * macrocmd.c: Likewise.
404 * main.c: Likewise.
405 * mdebugread.c: Likewise.
406 * mem-break.c: Likewise.
407 * memattr.c: Likewise.
408 * memory-map.c: Likewise.
409 * mep-tdep.c: Likewise.
410 * mi/mi-cmd-break.c: Likewise.
411 * mi/mi-cmd-disas.c: Likewise.
412 * mi/mi-cmd-env.c: Likewise.
413 * mi/mi-cmd-stack.c: Likewise.
414 * mi/mi-cmd-var.c: Likewise.
415 * mi/mi-cmds.c: Likewise.
416 * mi/mi-console.c: Likewise.
417 * mi/mi-getopt.c: Likewise.
418 * mi/mi-interp.c: Likewise.
419 * mi/mi-main.c: Likewise.
420 * mi/mi-parse.c: Likewise.
421 * microblaze-rom.c: Likewise.
422 * microblaze-tdep.c: Likewise.
423 * mingw-hdep.c: Likewise.
424 * minidebug.c: Likewise.
425 * minsyms.c: Likewise.
426 * mips-irix-tdep.c: Likewise.
427 * mips-linux-tdep.c: Likewise.
428 * mips-tdep.c: Likewise.
429 * mips64obsd-tdep.c: Likewise.
430 * mipsnbsd-tdep.c: Likewise.
431 * mipsread.c: Likewise.
432 * mn10300-linux-tdep.c: Likewise.
433 * mn10300-tdep.c: Likewise.
434 * monitor.c: Likewise.
435 * moxie-tdep.c: Likewise.
436 * mt-tdep.c: Likewise.
437 * nat/linux-btrace.c: Likewise.
438 * nat/linux-osdata.c: Likewise.
439 * nat/linux-procfs.c: Likewise.
440 * nat/linux-ptrace.c: Likewise.
441 * nat/linux-waitpid.c: Likewise.
442 * nbsd-tdep.c: Likewise.
443 * nios2-linux-tdep.c: Likewise.
444 * nto-procfs.c: Likewise.
445 * nto-tdep.c: Likewise.
446 * objc-lang.c: Likewise.
447 * objfiles.c: Likewise.
448 * opencl-lang.c: Likewise.
449 * osabi.c: Likewise.
450 * osdata.c: Likewise.
451 * p-exp.y: Likewise.
452 * p-lang.c: Likewise.
453 * p-typeprint.c: Likewise.
454 * parse.c: Likewise.
455 * posix-hdep.c: Likewise.
456 * ppc-linux-nat.c: Likewise.
457 * ppc-sysv-tdep.c: Likewise.
458 * ppcfbsd-tdep.c: Likewise.
459 * ppcnbsd-tdep.c: Likewise.
460 * ppcobsd-tdep.c: Likewise.
461 * printcmd.c: Likewise.
462 * procfs.c: Likewise.
463 * prologue-value.c: Likewise.
464 * python/py-auto-load.c: Likewise.
465 * python/py-gdb-readline.c: Likewise.
466 * ravenscar-thread.c: Likewise.
467 * regcache.c: Likewise.
468 * registry.c: Likewise.
469 * remote-fileio.c: Likewise.
470 * remote-m32r-sdi.c: Likewise.
471 * remote-mips.c: Likewise.
472 * remote-notif.c: Likewise.
473 * remote-sim.c: Likewise.
474 * remote.c: Likewise.
475 * reverse.c: Likewise.
476 * rs6000-aix-tdep.c: Likewise.
477 * ser-base.c: Likewise.
478 * ser-go32.c: Likewise.
479 * ser-mingw.c: Likewise.
480 * ser-pipe.c: Likewise.
481 * ser-tcp.c: Likewise.
482 * ser-unix.c: Likewise.
483 * serial.c: Likewise.
484 * sh-tdep.c: Likewise.
485 * sh64-tdep.c: Likewise.
486 * shnbsd-tdep.c: Likewise.
487 * skip.c: Likewise.
488 * sol-thread.c: Likewise.
489 * solib-dsbt.c: Likewise.
490 * solib-frv.c: Likewise.
491 * solib-osf.c: Likewise.
492 * solib-som.c: Likewise.
493 * solib-spu.c: Likewise.
494 * solib-target.c: Likewise.
495 * solib.c: Likewise.
496 * somread.c: Likewise.
497 * source.c: Likewise.
498 * sparc-nat.c: Likewise.
499 * sparc-sol2-tdep.c: Likewise.
500 * sparc-tdep.c: Likewise.
501 * sparc64-tdep.c: Likewise.
502 * sparc64fbsd-tdep.c: Likewise.
503 * sparc64nbsd-tdep.c: Likewise.
504 * sparcnbsd-tdep.c: Likewise.
505 * spu-linux-nat.c: Likewise.
506 * spu-multiarch.c: Likewise.
507 * spu-tdep.c: Likewise.
508 * stabsread.c: Likewise.
509 * stack.c: Likewise.
510 * std-regs.c: Likewise.
511 * symfile.c: Likewise.
512 * symmisc.c: Likewise.
513 * symtab.c: Likewise.
514 * target.c: Likewise.
515 * thread.c: Likewise.
516 * tilegx-linux-nat.c: Likewise.
517 * tilegx-tdep.c: Likewise.
518 * top.c: Likewise.
519 * tracepoint.c: Likewise.
520 * tui/tui-command.c: Likewise.
521 * tui/tui-data.c: Likewise.
522 * tui/tui-disasm.c: Likewise.
523 * tui/tui-file.c: Likewise.
524 * tui/tui-layout.c: Likewise.
525 * tui/tui-out.c: Likewise.
526 * tui/tui-regs.c: Likewise.
527 * tui/tui-source.c: Likewise.
528 * tui/tui-stack.c: Likewise.
529 * tui/tui-win.c: Likewise.
530 * tui/tui-windata.c: Likewise.
531 * tui/tui-winsource.c: Likewise.
532 * typeprint.c: Likewise.
533 * ui-file.c: Likewise.
534 * ui-out.c: Likewise.
535 * user-regs.c: Likewise.
536 * utils.c: Likewise.
537 * v850-tdep.c: Likewise.
538 * valarith.c: Likewise.
539 * valops.c: Likewise.
540 * valprint.c: Likewise.
541 * value.c: Likewise.
542 * varobj.c: Likewise.
543 * vax-tdep.c: Likewise.
544 * vaxnbsd-tdep.c: Likewise.
545 * vaxobsd-tdep.c: Likewise.
546 * windows-nat.c: Likewise.
547 * xcoffread.c: Likewise.
548 * xml-support.c: Likewise.
549 * xstormy16-tdep.c: Likewise.
550 * xtensa-linux-nat.c: Likewise.
551
dccbb609
GB
5522014-08-07 Gary Benson <gbenson@redhat.com>
553
554 * common/common-defs.h: Include gdb_assert.h.
555 * aarch64-tdep.c: Do not include gdb_assert.h.
556 * addrmap.c: Likewise.
557 * aix-thread.c: Likewise.
558 * alpha-linux-tdep.c: Likewise.
559 * alpha-mdebug-tdep.c: Likewise.
560 * alphanbsd-tdep.c: Likewise.
561 * amd64-nat.c: Likewise.
562 * amd64-tdep.c: Likewise.
563 * amd64bsd-nat.c: Likewise.
564 * amd64fbsd-nat.c: Likewise.
565 * amd64fbsd-tdep.c: Likewise.
566 * amd64nbsd-nat.c: Likewise.
567 * amd64nbsd-tdep.c: Likewise.
568 * amd64obsd-nat.c: Likewise.
569 * amd64obsd-tdep.c: Likewise.
570 * arch-utils.c: Likewise.
571 * arm-tdep.c: Likewise.
572 * armbsd-tdep.c: Likewise.
573 * auxv.c: Likewise.
574 * bcache.c: Likewise.
575 * bfin-tdep.c: Likewise.
576 * blockframe.c: Likewise.
577 * breakpoint.c: Likewise.
578 * bsd-kvm.c: Likewise.
579 * bsd-uthread.c: Likewise.
580 * buildsym.c: Likewise.
581 * c-exp.y: Likewise.
582 * c-lang.c: Likewise.
583 * charset.c: Likewise.
584 * cleanups.c: Likewise.
585 * cli-out.c: Likewise.
586 * cli/cli-decode.c: Likewise.
587 * cli/cli-dump.c: Likewise.
588 * cli/cli-logging.c: Likewise.
589 * cli/cli-script.c: Likewise.
590 * cli/cli-utils.c: Likewise.
591 * coffread.c: Likewise.
592 * common/common-utils.c: Likewise.
593 * common/queue.h: Likewise.
594 * common/signals.c: Likewise.
595 * common/vec.h: Likewise.
596 * complaints.c: Likewise.
597 * completer.c: Likewise.
598 * corelow.c: Likewise.
599 * cp-abi.c: Likewise.
600 * cp-name-parser.y: Likewise.
601 * cp-namespace.c: Likewise.
602 * cp-support.c: Likewise.
603 * cris-tdep.c: Likewise.
604 * dbxread.c: Likewise.
605 * dictionary.c: Likewise.
606 * doublest.c: Likewise.
607 * dsrec.c: Likewise.
608 * dummy-frame.c: Likewise.
609 * dwarf2-frame-tailcall.c: Likewise.
610 * dwarf2-frame.c: Likewise.
611 * dwarf2expr.c: Likewise.
612 * dwarf2loc.c: Likewise.
613 * dwarf2read.c: Likewise.
614 * eval.c: Likewise.
615 * event-loop.c: Likewise.
616 * exceptions.c: Likewise.
617 * expprint.c: Likewise.
618 * f-valprint.c: Likewise.
619 * fbsd-nat.c: Likewise.
620 * findvar.c: Likewise.
621 * frame-unwind.c: Likewise.
622 * frame.c: Likewise.
623 * frv-tdep.c: Likewise.
624 * gcore.c: Likewise.
625 * gdb-dlfcn.c: Likewise.
626 * gdb_bfd.c: Likewise.
627 * gdbarch.c: Likewise.
628 * gdbarch.sh: Likewise.
629 * gdbtypes.c: Likewise.
630 * gnu-nat.c: Likewise.
631 * gnu-v3-abi.c: Likewise.
632 * go-lang.c: Likewise.
633 * guile/scm-exception.c: Likewise.
634 * guile/scm-gsmob.c: Likewise.
635 * guile/scm-lazy-string.c: Likewise.
636 * guile/scm-math.c: Likewise.
637 * guile/scm-pretty-print.c: Likewise.
638 * guile/scm-safe-call.c: Likewise.
639 * guile/scm-utils.c: Likewise.
640 * guile/scm-value.c: Likewise.
641 * h8300-tdep.c: Likewise.
642 * hppa-hpux-nat.c: Likewise.
643 * hppa-tdep.c: Likewise.
644 * hppanbsd-tdep.c: Likewise.
645 * hppaobsd-tdep.c: Likewise.
646 * i386-darwin-nat.c: Likewise.
647 * i386-darwin-tdep.c: Likewise.
648 * i386-nto-tdep.c: Likewise.
649 * i386-tdep.c: Likewise.
650 * i386bsd-nat.c: Likewise.
651 * i386fbsd-tdep.c: Likewise.
652 * i386gnu-nat.c: Likewise.
653 * i386nbsd-tdep.c: Likewise.
654 * i386obsd-tdep.c: Likewise.
655 * i387-tdep.c: Likewise.
656 * ia64-libunwind-tdep.c: Likewise.
657 * ia64-tdep.c: Likewise.
658 * inf-ptrace.c: Likewise.
659 * inf-ttrace.c: Likewise.
660 * infcall.c: Likewise.
661 * infcmd.c: Likewise.
662 * infrun.c: Likewise.
663 * inline-frame.c: Likewise.
664 * interps.c: Likewise.
665 * jv-lang.c: Likewise.
666 * jv-typeprint.c: Likewise.
667 * linux-fork.c: Likewise.
668 * linux-nat.c: Likewise.
669 * linux-thread-db.c: Likewise.
670 * m32c-tdep.c: Likewise.
671 * m32r-linux-nat.c: Likewise.
672 * m32r-tdep.c: Likewise.
673 * m68k-tdep.c: Likewise.
674 * m68kbsd-nat.c: Likewise.
675 * m68kbsd-tdep.c: Likewise.
676 * m88k-tdep.c: Likewise.
677 * machoread.c: Likewise.
678 * macroexp.c: Likewise.
679 * macrotab.c: Likewise.
680 * maint.c: Likewise.
681 * mdebugread.c: Likewise.
682 * memory-map.c: Likewise.
683 * mep-tdep.c: Likewise.
684 * mi/mi-common.c: Likewise.
685 * microblaze-tdep.c: Likewise.
686 * mingw-hdep.c: Likewise.
687 * mips-linux-nat.c: Likewise.
688 * mips-linux-tdep.c: Likewise.
689 * mips-tdep.c: Likewise.
690 * mips64obsd-tdep.c: Likewise.
691 * mipsnbsd-tdep.c: Likewise.
692 * mn10300-linux-tdep.c: Likewise.
693 * mn10300-tdep.c: Likewise.
694 * moxie-tdep.c: Likewise.
695 * mt-tdep.c: Likewise.
696 * nat/linux-btrace.c: Likewise.
697 * nat/linux-osdata.c: Likewise.
698 * nat/linux-ptrace.c: Likewise.
699 * nat/mips-linux-watch.c: Likewise.
700 * nios2-linux-tdep.c: Likewise.
701 * nios2-tdep.c: Likewise.
702 * objc-lang.c: Likewise.
703 * objfiles.c: Likewise.
704 * obsd-nat.c: Likewise.
705 * opencl-lang.c: Likewise.
706 * osabi.c: Likewise.
707 * parse.c: Likewise.
708 * ppc-linux-nat.c: Likewise.
709 * ppc-sysv-tdep.c: Likewise.
710 * ppcfbsd-nat.c: Likewise.
711 * ppcfbsd-tdep.c: Likewise.
712 * ppcnbsd-nat.c: Likewise.
713 * ppcnbsd-tdep.c: Likewise.
714 * ppcobsd-nat.c: Likewise.
715 * ppcobsd-tdep.c: Likewise.
716 * printcmd.c: Likewise.
717 * procfs.c: Likewise.
718 * prologue-value.c: Likewise.
719 * psymtab.c: Likewise.
720 * python/py-lazy-string.c: Likewise.
721 * python/py-value.c: Likewise.
722 * regcache.c: Likewise.
723 * reggroups.c: Likewise.
724 * registry.c: Likewise.
725 * remote-sim.c: Likewise.
726 * remote.c: Likewise.
727 * rs6000-aix-tdep.c: Likewise.
728 * rs6000-tdep.c: Likewise.
729 * s390-linux-tdep.c: Likewise.
730 * score-tdep.c: Likewise.
731 * ser-base.c: Likewise.
732 * ser-mingw.c: Likewise.
733 * sh-tdep.c: Likewise.
734 * sh64-tdep.c: Likewise.
735 * solib-darwin.c: Likewise.
736 * solib-spu.c: Likewise.
737 * solib-svr4.c: Likewise.
738 * source.c: Likewise.
739 * sparc-nat.c: Likewise.
740 * sparc-sol2-tdep.c: Likewise.
741 * sparc-tdep.c: Likewise.
742 * sparc64-sol2-tdep.c: Likewise.
743 * sparc64-tdep.c: Likewise.
744 * sparc64fbsd-tdep.c: Likewise.
745 * sparc64nbsd-tdep.c: Likewise.
746 * sparc64obsd-tdep.c: Likewise.
747 * sparcnbsd-tdep.c: Likewise.
748 * sparcobsd-tdep.c: Likewise.
749 * spu-multiarch.c: Likewise.
750 * spu-tdep.c: Likewise.
751 * stabsread.c: Likewise.
752 * stack.c: Likewise.
753 * symfile.c: Likewise.
754 * symtab.c: Likewise.
755 * target-descriptions.c: Likewise.
756 * target-memory.c: Likewise.
757 * target.c: Likewise.
758 * tic6x-linux-tdep.c: Likewise.
759 * tic6x-tdep.c: Likewise.
760 * tilegx-linux-nat.c: Likewise.
761 * tilegx-tdep.c: Likewise.
762 * top.c: Likewise.
763 * tramp-frame.c: Likewise.
764 * tui/tui-out.c: Likewise.
765 * tui/tui-winsource.c: Likewise.
766 * ui-out.c: Likewise.
767 * user-regs.c: Likewise.
768 * utils.c: Likewise.
769 * v850-tdep.c: Likewise.
770 * valops.c: Likewise.
771 * value.c: Likewise.
772 * varobj.c: Likewise.
773 * vax-nat.c: Likewise.
774 * xml-syscall.c: Likewise.
775 * xml-tdesc.c: Likewise.
776 * xstormy16-tdep.c: Likewise.
777 * xtensa-linux-nat.c: Likewise.
778 * xtensa-tdep.c: Likewise.
779
e76df0d0
GB
7802014-08-07 Gary Benson <gbenson@redhat.com>
781
782 * common/common-defs.h: Include common-utils.h.
783 * defs.h: Do not include common-utils.h.
784 * common/gdb_assert.h: Likewise.
785 * darwin-nat.h: Likewise.
786 * nat/linux-btrace.c: Likewise.
787 * target/waitstatus.h: Likewise.
788
4cb9c816
GB
7892014-08-07 Gary Benson <gbenson@redhat.com>
790
791 * common/common-defs.h: Include ptid.h.
792 * defs.h: Do not include ptid.h.
793 * inferior.h: Likewise.
794 * infrun.h: Likewise.
795 * nat/linux-btrace.h: Likewise.
796 * nat/linux-osdata.h: Likewise.
797 * target/waitstatus.h: Likewise.
798
3995eeee
GB
7992014-08-07 Gary Benson <gbenson@redhat.com>
800
801 * common/common-defs.h: Include gdb_locale.h.
802 * defs.h: Do not include gdb_locale.h.
803
cb9f1a9b
GB
8042014-08-07 Gary Benson <gbenson@redhat.com>
805
806 * common/common-defs.h: Include gdb/signals.h.
807 * defs.h: Do not include gdb/signals.h.
808
a5fceff8
GB
8092014-08-07 Gary Benson <gbenson@redhat.com>
810
811 * common/common-defs.h: Include pathmax.h.
812 * defs.h: Do not include pathmax.h.
813
b9391142
GB
8142014-08-07 Gary Benson <gbenson@redhat.com>
815
816 * common/common-defs.h: Include libiberty.h.
817 * defs.h: Do not include libiberty.h.
818 * common/queue.h: Likewise.
819 * cp-name-parser.y: Likewise.
820 * mi/mi-cmd-catch.c: Likewise.
821 * python/python.c: Likewise.
822
0e443c87
GB
8232014-08-07 Gary Benson <gbenson@redhat.com>
824
825 * common/common-defs.h: Include ansidecl.h.
826 * defs.h: Do not include ansidecl.h.
827 * common/buffer.h: Likewise.
828 * common/common-utils.h: Likewise.
829
8ebb3f56
GB
8302014-08-07 Gary Benson <gbenson@redhat.com>
831
832 * common/common-defs.h: Include stddef.h.
833 * defs.h: Do not include stddef.h.
834 * common/common-utils.h: Likewise.
835 * amd64fbsd-nat.c: Likewise.
836 * bcache.c: Likewise.
837 * charset.c: Likewise.
838 * common/buffer.h: Likewise.
839 * common/vec.h: Likewise.
840 * i386bsd-nat.c: Likewise.
841 * nat/linux-btrace.h: Likewise.
842 * ppcfbsd-nat.c: Likewise.
843 * ppcnbsd-tdep.h: Likewise.
844 * ppcobsd-nat.c: Likewise.
845 * ppcobsd-tdep.h: Likewise.
846 * python/py-gdb-readline.c: Likewise.
847
8980bdf6
GB
8482014-08-07 Gary Benson <gbenson@redhat.com>
849
850 * common/common-defs.h: Include stdarg.h.
851 * defs.h: Do not include stdarg.h.
852 * ada-lang.c: Likewise.
853 * common/common-utils.h: Likewise.
854 * guile/scm-string.c: Likewise.
855 * guile/scm-utils.c: Likewise.
856 * m32c-tdep.c: Likewise.
857
d7096f71
GB
8582014-08-07 Gary Benson <gbenson@redhat.com>
859
860 * common/common-defs.h: Include stdlib.h.
861 * defs.h: Do not include stdlib.h.
862 * addrmap.c: Likewise.
863 * bcache.c: Likewise.
864 * common/buffer.c: Likewise.
865 * common/common-utils.c: Likewise.
866 * cp-name-parser.y: Likewise.
867 * go32-nat.c: Likewise.
868 * mn10300-linux-tdep.c: Likewise.
869 * nat/linux-osdata.c: Likewise.
870 * tui/tui.c: Likewise.
871 * windows-nat.c: Likewise.
872
d02f550d
GB
8732014-08-07 Gary Benson <gbenson@redhat.com>
874
875 * common/common-defs.h: Include stdio.h.
876 * defs.h: Do not include stdio.h.
877 * ada-lang.c: Likewise.
878 * common/buffer.c: Likewise.
879 * common/common-utils.c: Likewise.
880 * cp-name-parser.y: Likewise.
881 * gnu-nat.c: Likewise.
882 * go32-nat.c: Likewise.
883 * i386gnu-nat.c: Likewise.
884 * proc-api.c: Likewise.
885 * proc-events.c: Likewise.
886 * proc-flags.c: Likewise.
887 * proc-why.c: Likewise.
888 * python/python-internal.h: Likewise.
889 * target-memory.c: Likewise.
890 * tui/tui-io.c: Likewise.
891 * tui/tui.c: Likewise.
892
b6d7a4bf
SM
8932014-08-06 Simon Marchi <simon.marchi@ericsson.com>
894
895 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
896 (scan_dyntag_auxv): Same.
897
af19829b
YQ
8982014-08-06 Yao Qi <yao@codesourcery.com>
899
900 * amd64-linux-nat.c: Remove duplicated include
901 "x86-linux-nat.h".
902 * i386-linux-nat.c: Likewise.
903
8e07a239
YQ
9042014-08-06 Yao Qi <yao@codesourcery.com>
905
906 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
907 operand" with "Special opcode" in comments.
908
7bfe8241
GB
9092014-08-05 Gary Benson <gbenson@redhat.com>
910
911 * interps.c (initialize_interps): Remove prototype.
912 (interpreter_initialized): Remove static global.
913 (interp_add): Do not call initialize_interps.
914 (initialize_interps): Remove function.
915
d6c95504
GB
9162014-08-05 Gary Benson <gbenson@redhat.com>
917
918 * utils.c (vwarning): Remove spurious va_end.
919
241fd515
AM
9202014-08-05 Alan Modra <amodra@gmail.com>
921
922 * charset.c (convert_between_encodings): Cast result of obstack_base.
923 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
924 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
925 (read_unwind_info): Use size_t for some locals.
926 * jit.c (finalize_symtab): Likewise.
927 * utils.c (hashtab_obstack_allocate): Likewise.
928 * symmisc.c (print_objfile_statistics): Update format strings.
929
dc304a94
JK
9302014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
931
932 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
933 (Changes in GDB 7.8): ... here.
934
3cecbbbe
TT
9352014-08-04 Tom Tromey <tromey@redhat.com>
936
937 * target.c (set_targetdebug): New function.
938 (initialize_targets): Pass set_targetdebug when creating "set
939 debug target".
940
6908c509
JB
9412014-08-01 Joel Brobecker <brobecker@adacore.com>
942
943 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
944 if detecting a variable-sized field that is not the last field.
945 Fix struct type length computation.
946
53e8f97d
JB
9472014-08-01 Joel Brobecker <brobecker@adacore.com>
948
949 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
950 Add debug trace.
951
e068c55d
JB
9522014-08-01 Joel Brobecker <brobecker@adacore.com>
953
954 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
955 Remove "+ 8" offset in computation of CHAIN_VMA.
956
4d4ca2a1
DE
9572014-07-31 Doug Evans <dje@google.com>
958
959 * inflow.c (child_terminal_inferior): Add comment.
960 (child_terminal_ours_for_output): Add comment.
961 (child_terminal_ours): Add comment.
962 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
963 (linux_nat_terminal_ours): Add comment.
964
462f517e
GB
9652014-07-31 Gary Benson <gbenson@redhat.com>
966
967 * common/btrace-common.h: Do not include defs.h or server.h.
968 * nat/mips-linux-watch.h: Likewise.
969 * gdb-dlfcn.h: Do not include defs.h.
970 * tracefile.h: Likewise.
971
74228e77
RM
9722014-07-30 Roland McGrath <mcgrathr@google.com>
973
974 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
975
014f9477
TT
9762014-07-30 Tom Tromey <tromey@redhat.com>
977
978 * bsd-kvm.c (bsd_kvm_open): Constify.
979 * corelow.c (core_open): Constify.
980 * ctf.c (ctf_open): Constify.
981 * dbug-rom.c (dbug_open): Constify.
982 * exec.c (exec_open): Constify.
983 * m32r-rom.c (m32r_open, mon2000_open): Constify.
984 * microblaze-rom.c (picobug_open): Constify.
985 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
986 Constify.
987 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
988 * record-btrace.c (record_btrace_open): Constify.
989 * record-full.c (record_full_core_open_1, record_full_open_1)
990 (record_full_open): Constify.
991 * remote-m32r-sdi.c (m32r_open): Constify.
992 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
993 (rockhopper_open, lsi_open): Constify.
994 * remote-sim.c (gdbsim_open): Constify.
995 * remote.c (remote_open, extended_remote_open, remote_open_1):
996 Constify.
997 * target.h (struct target_ops) <to_open>: Make "arg" const.
998 * tracefile-tfile.c (tfile_open): Constify.
999
e799154c
TT
10002014-07-30 Tom Tromey <tromey@redhat.com>
1001
1002 * breakpoint.c (map_breakpoint_numbers): Update.
1003 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1004 (get_number_const): New function.
1005 (get_number): Rewrite using get_number_const.
1006 (init_number_or_range): Make "string" const.
1007 (number_is_in_list): Make "list" const.
1008 * cli/cli-utils.h (get_number_const): Declare.
1009 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1010 (init_number_or_range, number_is_in_list): Update.
1011 * printcmd.c (map_display_numbers): Update.
1012 * value.c (value_from_history_ref): Constify.
1013 * value.h (value_from_history_ref): Update.
1014
5f08566b
TT
10152014-07-30 Tom Tromey <tromey@redhat.com>
1016
1017 * corefile.c (hook_type, call_extra_exec_file_hooks)
1018 (specify_exec_file_hook): Constify.
1019 * exec.c (exec_file_attach): Make "filename" const.
1020 * gdbcore.h (deprecated_exec_file_display_hook)
1021 (specify_exec_file_hook, exec_file_attach): Constify.
1022 * main.c (captured_main): Use catch_command_errors_const.
1023
8981c758
TT
10242014-07-30 Tom Tromey <tromey@redhat.com>
1025
1026 * target.c (open_target): New function.
1027 (add_target_with_completer, add_deprecated_target_alias): Use
1028 set_cmd_sfunc, set_cmd_context.
1029 (debug_to_open): Remove.
1030 (setup_target_debug): Update.
1031
a1c7835a
YQ
10322014-07-30 Yao Qi <yao@codesourcery.com>
1033
1034 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1035 comments.
1036 * parse.c (exp_iterate): Update comments.
1037
976411d6
GB
10382014-07-30 Gary Benson <gbenson@redhat.com>
1039
1040 * common/common-defs.h: New file.
1041 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1042 * defs.h: Include common-defs.h.
1043 Do not include config.h or build-gnulib/config.h.
1044
5d4848a4
GB
10452014-07-30 Gary Benson <gbenson@redhat.com>
1046
1047 * common/common-utils.h: Do not include config.h.
1048 * nat/linux-btrace.h: Likewise.
1049
d41f6d8e
GB
10502014-07-30 Gary Benson <gbenson@redhat.com>
1051
1052 * btrace.c: Include defs.h.
1053 * common/ptid.c: Include defs.h or server.h as appropriate.
1054 * nat/mips-linux-watch.c: Likewise.
1055
84202f9c
TT
10562014-07-29 Tom Tromey <tromey@redhat.com>
1057
1058 * target.c (target_is_pushed): Simplify.
1059
2530441c
JB
10602014-07-29 Joel Brobecker <brobecker@adacore.com>
1061
1062 GDB 7.8 released.
1063
7e09a223
YQ
10642014-07-29 Yao Qi <yao@codesourcery.com>
1065
1066 PR gdb/17206
1067 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1068
7ebdbe92
DE
10692014-07-28 Doug Evans <xdje42@gmail.com>
1070
1071 PR guile/17203
1072 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1073 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1074 parameters.
1075
f347ffc9
WN
10762014-07-28 Will Newton <will.newton@linaro.org>
1077
1078 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1079 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1080 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1081 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1082 (THUMB2_EABI_SYSCALL): Likewise.
1083 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1084 struct tramp_frame.
1085 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1086 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1087
37c5f1f7
DE
10882014-07-27 Doug Evans <xdje42@gmail.com>
1089
1090 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1091
0c3abbc7
DE
10922014-07-27 Doug Evans <xdje42@gmail.com>
1093
1094 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1095
e76c5d17
DE
10962014-07-26 Ludovic Courtès <ludo@gnu.org>
1097 Doug Evans <xdje42@gmail.com>
1098
1099 PR guile/17146
1100 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1101 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1102 * configure.ac: Try to use guild to compile an scm file, if it fails
1103 then disable guile support.
1104 * configure: Regenerate.
1105 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1106 GUILE_FILE_LIST.
1107 (GUILE_COMPILED_FILES): New variable.
1108 (GUILE_FILES) Update.
1109 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1110 (stamp-guile): Compile scm files.
1111 * guile/guile.c (boot_guile_support): New function.
1112 (standard_throw_args_p): New function.
1113 (print_standard_throw_error, print_throw_error): New functions.
1114 (handle_boot_error): New function.
1115 (initialize_scheme_side): Rewrite to call boot_guile_support.
1116 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1117 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1118
186fcde0
DE
11192014-07-26 Ludovic Courtès <ludo@gnu.org>
1120 Doug Evans <xdje42@gmail.com>
1121
1122 PR guile/17146
1123 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1124 * guile/lib/gdb/support.scm: New file.
1125 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1126 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1127 All uses updated.
1128 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1129 All uses updated.
1130 (%assert-type): Ditto, and renamed to assert-type.
1131 (%exception-print-style): Delete.
1132
4df42755
DE
11332014-07-26 Doug Evans <xdje42@gmail.com>
1134
1135 PR build/17105
1136 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1137 * configure: Regenerate.
1138 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1139 PYTHON_FILES.
1140 (PYTHON_FILES): New variable.
1141 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1142 (GUILE_FILES): New variable.
1143 (stamp-python, install-python, uninstall-python): Handle empty
1144 file list.
1145 (stamp-guile, install-guile, uninstall-guile): Ditto.
1146
ee7333ae
DE
11472014-07-26 Doug Evans <xdje42@gmail.com>
1148
1149 PR guile/17177
1150 * guile/lib/gdb.scm (pretty-printers): Export.
1151 (set-pretty-printers!): Export.
1152 * guile/lib/gdb/printing.scm (gdb module): Update.
1153 (prepend-pretty-printer!, append-pretty-printer!): Update.
1154 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1155 (pretty_printer_list_var): Delete.
1156 (pretty_printer_list): New static global.
1157 (gdbscm_pretty_printers): New function.
1158 (gdbscm_set_pretty_printers_x): New function.
1159 (ppscm_find_pretty_printer_from_gdb): Update.
1160 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1161 (gdbscm_initialize_pretty_printers): Update.
1162
74edf516
DE
11632014-07-26 Doug Evans <xdje42@gmail.com>
1164
1165 PR 17185
1166 * configure.ac: Add check for header gc/gc.h.
1167 Add check for function setenv.
1168 * configure: Regenerate.
1169 * config.in: Regenerate.
1170 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1171
d54398a7
MR
11722014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1173
1174 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1175 variation in gdbarch matching.
1176
ab16fce8
TT
11772014-07-25 Tom Tromey <tromey@redhat.com>
1178
1179 * exec.c (using_exec_ops): Remove.
1180 (exec_close_1): Update. Remove extraneous block, reindent.
1181 (add_target_sections): Use target_is_pushed.
1182
88056fbb
PA
11832014-07-25 Pedro Alves <palves@redhat.com>
1184
1185 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1186 * monitor.c (monitor_create_inferior): Likewise.
1187 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1188 * remote-sim.c (gdbsim_create_inferior): Likewise.
1189 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1190 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1191 * windows-nat.c (do_initial_windows_stuff): Likewise.
1192
70509625
PA
11932014-07-25 Pedro Alves <palves@redhat.com>
1194
1195 * NEWS: Mention signal passing and "signal" command changes.
1196 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1197 comment.
1198 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1199 call.
1200 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1201 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1202 (jump_command): Adjust clear_proceed_status call.
1203 (signal_command): Warn if other thread that are resumed have
1204 signals that will be delivered. Adjust clear_proceed_status call.
1205 (until_next_command, finish_command)
1206 (proceed_after_attach_callback, attach_command_post_wait)
1207 (attach_command): Adjust clear_proceed_status call.
1208 * infrun.c (proceed_after_vfork_done): Likewise.
1209 (proceed_after_attach_callback): Adjust comment.
1210 (clear_proceed_status_thread): Clear stop_signal if not in pass
1211 state.
1212 (clear_proceed_status_callback): Delete.
1213 (clear_proceed_status): New 'step' parameter. Only clear the
1214 proceed status of threads the command being prepared is about to
1215 resume.
1216 (proceed): If passed in an explicit signal, override stop_signal
1217 with it. Don't pass the last stop signal to the thread we're
1218 resuming.
1219 (init_wait_for_inferior): Adjust clear_proceed_status call.
1220 (switch_back_to_stepped_thread): Clear the signal if it should not
1221 be passed.
1222 * infrun.h (clear_proceed_status): New 'step' parameter.
1223 (user_visible_resume_ptid): Add comment.
1224 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1225 signal is in pass state.
1226 * remote.c (append_pending_thread_resumptions): Likewise.
1227 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1228
d8be2939
TT
12292014-07-25 Tom Tromey <tromey@redhat.com>
1230
1231 * target.h (target_stopped_data_address)
1232 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1233 parentheses.
1234
7d0d9d2b
PL
12352014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1236
1237 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1238 comments.
1239 (avr_pointer_to_address): Likewise.
1240
e9e7f724
TT
12412014-07-24 Tom Tromey <tromey@redhat.com>
1242
1243 * monitor.c (compile_pattern): Update.
1244 * target.h (struct target_ops) <to_shortname, to_longname,
1245 to_doc>: Now const.
1246
1947513d
TT
12472014-07-24 Tom Tromey <tromey@redhat.com>
1248
1249 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1250 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1251 (add_info_alias, add_com): Make "doc" const.
1252 (print_doc_line): Make "str" const.
1253 (delete_cmd): Update.
1254 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1255 (print_doc_line): Update.
1256 * cli/cli-script.c (document_command): Update.
1257 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1258 (add_com, add_info, add_info_alias): Update.
1259 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1260 * python/py-cmd.c (cmdpy_destroyer): Update.
1261
64e61d29
TT
12622014-07-24 Tom Tromey <tromey@redhat.com>
1263
1264 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1265 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1266 (help_cmd_list): Constify.
1267 (lookup_cmd): Update.
1268 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1269 const.
1270 (help_cmd_list, apropos_cmd): Update.
1271 * cli/cli-script.c (show_user): Update.
1272 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1273 * cli/cli-setshow.h (cmd_show_list): Update.
1274 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1275 (cmd_show_list): Update.
1276 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1277 * python/py-cmd.c (cmdpy_destroyer): Update.
1278
429e55ea
TT
12792014-07-24 Tom Tromey <tromey@redhat.com>
1280
1281 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1282 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1283 const.
1284 * command.h (deprecate_cmd): Update.
1285 * maint.c (maintenance_do_deprecate): Add casts.
1286
64669f3b
TT
12872014-07-24 Tom Tromey <tromey@redhat.com>
1288
1289 * cli/cli-decode.c (help_cmd): Make parameter "const".
1290 * cli/cli-decode.h (help_cmd): Update.
1291
d3d3328b
TT
12922014-07-24 Tom Tromey <tromey@redhat.com>
1293
1294 * stack.c (up_silently_base, down_silently_base): Make argument
1295 const.
1296
414842dc
TT
12972014-07-24 Tom Tromey <tromey@redhat.com>
1298
1299 * solib.c (solib_add): Make "pattern" const.
1300 * solib.h (solib_add): Update.
1301
baa336ce
TT
13022014-07-24 Tom Tromey <tromey@redhat.com>
1303
1304 * remote.c (remote_serial_open, print_packet, putpkt)
1305 (putpkt_binary): Constify.
1306 * remote.h (putpkt): Update.
1307
5a19e2d0
TT
13082014-07-24 Tom Tromey <tromey@redhat.com>
1309
1310 * monitor.c (monitor_open): Make "args" const.
1311 * monitor.h (monitor_open): Update.
1312
fc4baa5e
TT
13132014-07-24 Tom Tromey <tromey@redhat.com>
1314
1315 * maint.c (match_bfd_flags): Make "string" const.
1316 (print_bfd_section_info): Remove casts.
1317 (print_objfile_section_info): Make "string" const.
1318
0d5f0dbe
TT
13192014-07-24 Tom Tromey <tromey@redhat.com>
1320
1321 * inf-child.c (inf_child_open_target): Make "arg" const.
1322 * inf-child.h (inf_child_open_target): Update.
1323
41c77899
TT
13242014-07-24 Tom Tromey <tromey@redhat.com>
1325
1326 * environ.c (unset_in_environ): Make "var" const.
1327 * environ.h (unset_in_environ): Update.
1328
93db0d79
TT
13292014-07-24 Tom Tromey <tromey@redhat.com>
1330
1331 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1332 Make "cmd" const.
1333 (scan_filename_with_cleanup): Likewise.
1334 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1335 Make arguments const.
1336 (restore_command): Update.
1337
36d6eb95
PA
13382014-07-24 Pedro Alves <palves@redhat.com>
1339
1340 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1341
8009206a
TT
13422014-07-24 Tom Tromey <tromey@redhat.com>
1343 Gary Benson <gbenson@redhat.com>
1344
1345 * nat/linux-ptrace.c (additional_flags): New global.
1346 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1347 additional_flags; don't check GDBSERVER.
1348 (linux_ptrace_set_additional_flags): New function.
1349 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1350 Declare.
1351 * linux-nat.c (_initialize_linux_nat): Call
1352 linux_ptrace_set_additional_flags.
1353
a7068b60
TT
13542014-07-24 Tom Tromey <tromey@redhat.com>
1355
1356 * make-target-delegates (munge_type, write_debugmethod): New
1357 functions.
1358 (debug_names): New global.
1359 ($TARGET_DEBUG_PRINTER): New global.
1360 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1361 name.
1362 Write debug methods. Generate init_debug_target.
1363 * target-debug.h: New file.
1364 * target-delegates.c: Rebuild.
1365 * target.c: Include target-debug.h.
1366 (debug_target): Hoist definition.
1367 (target_kill, target_get_section_table, target_memory_map)
1368 (target_flash_erase, target_flash_done, target_detach)
1369 (target_disconnect, target_wait, target_resume)
1370 (target_pass_signals, target_program_signals, target_follow_fork)
1371 (target_mourn_inferior, target_search_memory)
1372 (target_thread_address_space, target_close)
1373 (target_find_new_threads, target_core_of_thread)
1374 (target_verify_memory, target_insert_mask_watchpoint)
1375 (target_remove_mask_watchpoint): Remove targetdebug code.
1376 (debug_to_post_attach, debug_to_prepare_to_store)
1377 (debug_to_files_info, debug_to_insert_breakpoint)
1378 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1379 (debug_to_region_ok_for_hw_watchpoint)
1380 (debug_to_can_accel_watchpoint_condition)
1381 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1382 (debug_to_watchpoint_addr_within_range)
1383 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1384 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1385 (debug_to_terminal_init, debug_to_terminal_inferior)
1386 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1387 (debug_to_terminal_save_ours, debug_to_terminal_info)
1388 (debug_to_load, debug_to_post_startup_inferior)
1389 (debug_to_insert_fork_catchpoint)
1390 (debug_to_remove_fork_catchpoint)
1391 (debug_to_insert_vfork_catchpoint)
1392 (debug_to_remove_vfork_catchpoint)
1393 (debug_to_insert_exec_catchpoint)
1394 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1395 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1396 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1397 (setup_target_debug): Call init_debug_target.
1398 * target.h (TARGET_DEBUG_PRINTER): New macro.
1399 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1400 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1401
2c51604d
GB
14022014-07-24 Gary Benson <gbenson@redhat.com>
1403
1404 * exceptions.h (throw_vfatal): Renamed to...
1405 (throw_vquit): New declaration.
1406 (throw_quit): Likewise.
1407 * exceptions.c (throw_vfatal): Renamed to...
1408 (throw_vquit): New function.
1409 (throw_quit): Likewise.
1410 (throw_error): Call throw_verror rather than throw_it.
1411 * utils.h (vfatal): Removed.
1412 (fatal): Likewise.
1413 * utils.c (vfatal): Removed.
1414 (fatal): Likewise.
1415 (internal_verror): Replaced call to fatal with call to throw_quit.
1416 (quit): Replaced calls to fatal with calls to throw_quit.
1417
34211963
ME
14182014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1419
1420 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1421 target_read_code.
1422
a52b4d3e
ME
14232014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1424
1425 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1426 less than zero in conditional expression.
1427
a8bdc56b
TT
14282014-07-23 Tom Tromey <tromey@redhat.com>
1429
1430 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1431 ($INTRO_PART): Don't match whitespace.
1432 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1433 argument matching.
1434 ($METHOD): Add $METHOD_TRAILER.
1435 (trim): Rewrite.
1436 (scan_target_h): New sub.
1437 Change main loop not to collect state.
1438 * target-delegates.c: Rebuild.
1439
91b52240
GB
14402014-07-23 Gary Benson <gbenson@redhat.com>
1441
1442 * cp-support.c (gdb_demangle): Fix build on systems without
1443 sigaltstack.
1444
45326f6f
JK
14452014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1446
1447 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1448 for reference entry value target data value.
1449
e214cf6c
JK
14502014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1451
1452 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1453 value_available_contents_eq.
1454
bddbbedd
PA
14552014-07-22 Pedro Alves <palves@redhat.com>
1456
1457 * value.c (allocate_optimized_out_value): Don't mark value as
1458 non-lazy.
1459
45c71484
JW
14602014-07-22 Jiong Wang <jiong.wang@arm.com>
1461
1462 * MAINTAINERS (Write After Approval): Update my email address.
1463
9597b22a
DE
14642014-07-20 Doug Evans <dje@google.com>
1465
1466 PR server/17147
1467 * remote.c (putpkt_binary): Add text to error message.
1468
91101fe5
YQ
14692014-07-20 Yao Qi <yao@codesourcery.com>
1470
1471 * eval.c: Remove "Chill" from comments.
1472 * gdbtypes.h: Likewise.
1473 * symtab.h: Likewise.
1474
c9402c95
YQ
14752014-07-20 Yao Qi <yao@codesourcery.com>
1476
1477 * std-operator.def: Update comments to TERNOP_SLICE.
1478
ae8fddda
YQ
14792014-07-20 Yao Qi <yao@codesourcery.com>
1480
1481 * std-operator.def: Remove BINOP_RANGE.
1482 * breakpoint.c (watchpoint_exp_is_const): Update.
1483 * expprint.c (dump_subexp_body_standard): Likewise.
1484 * eval.c (init_array_element): Remove dead code.
1485 (evaluate_subexp_standard): Likewise.
1486
9c816640
YQ
14872014-07-20 Yao Qi <yao@codesourcery.com>
1488
1489 * std-operator.def: Remove BINOP_IN.
1490 * breakpoint.c (watchpoint_exp_is_const): Update.
1491 * eval.c (evaluate_subexp_standard): Likewise.
1492 * expprint.c (dump_subexp_body_standard): Likewise.
1493
164224e9
ME
14942014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1495
1496 * microblaze-tdep.c (microblaze_register_names): Add
1497 the rshr and rslr register names.
1498 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1499 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1500 Use of tdesc_numbered_register. Use of
1501 microblaze_register_g_packet_guesses. Use of
1502 tdesc_use_registers. Use of set_gdbarch_register_type.
1503 (microblaze_register_g_packet_guesses): New.
1504 * microblaze-tdep.h (microblaze_reg_num): Add
1505 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1506 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1507 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1508 * features/microblaze-core.xml: New file.
1509 * features/microblaze-stack-protect.xml: New file.
1510 * features/microblaze-with-stack-protect.c: New file.
1511 * features/microblaze-with-stack-protect.xml: New file.
1512 * features/microblaze.xml: New file.
1513 * features/microblaze.c: New file.
1514 * features/Makefile (microblaze-with-stack-protect): Add
1515 microblaze-with-stack-protect microblaze and microblaze-expedite.
1516 * regformats/microblaze-with-stack-protect.dat: New file.
1517 * regformats/microblaze.dat: New file.
1518 * doc/gdb.texinfo (MicroBlaze Features): Added.
1519
e8b2341c
TT
15202014-07-18 Tom Tromey <tromey@redhat.com>
1521
1522 * exec.c (exec_ops): Now static.
1523 * exec.h (exec_ops): Don't declare.
1524
44e89118
TT
15252014-07-18 Tom Tromey <tromey@redhat.com>
1526
1527 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1528 to find_target_beneath.
1529 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1530 find_target_beneath.
1531 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1532
b0ed115f
TT
15332014-07-18 Tom Tromey <tromey@redhat.com>
1534
1535 PR gdb/17130:
1536 * utils.c (quit): Use target_supports_terminal_ours.
1537 * target.h (target_supports_terminal_ours): Declare.
1538 * target.c (target_supports_delete_record): Don't check
1539 to_delete_record against NULL.
1540 (target_supports_terminal_ours): New function.
1541
e75fdfca
TT
15422014-07-18 Tom Tromey <tromey@redhat.com>
1543
1544 PR gdb/17130:
1545 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1546 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1547 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1548 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1549 * windows-nat.c (windows_xfer_partial): Always delegate.
1550 * record-btrace.c (record_btrace_xfer_partial): Simplify
1551 delegation.
1552 (record_btrace_fetch_registers, record_btrace_store_registers)
1553 (record_btrace_prepare_to_store, record_btrace_resume)
1554 (record_btrace_wait, record_btrace_find_new_threads)
1555 (record_btrace_thread_alive): Likewise.
1556 * procfs.c (procfs_xfer_partial): Always delegate.
1557 * corelow.c (core_xfer_partial): Always delegate.
1558 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1559
83814951
TT
15602014-07-18 Tom Tromey <tromey@redhat.com>
1561
1562 * exec.c (exec_make_note_section): Move earlier.
1563
b8b8facf
DE
15642014-07-17 Doug Evans <dje@google.com>
1565
74b49205 1566 PR gdb/17170
b8b8facf
DE
1567 * maint.c (count_symtabs_and_blocks): Handle NULL
1568 current_program_space.
1569 (report_command_stats): Check global enabled flag in addition to
1570 recorded enabled flag.
1571 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1572
69ff6be5
PA
15732014-07-16 Pedro Alves <palves@redhat.com>
1574
1575 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1576
252db1b5
TT
15772014-07-16 Tom Tromey <tromey@redhat.com>
1578
1579 * target.h (struct target_ops) <to_delete_record>: Reformat
1580 comment.
1581
a432721e
TT
15822014-07-16 Tom Tromey <tromey@redhat.com>
1583
1584 * target-delegates.c: Rebuild.
1585
487d9753
PL
15862014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1587
1588 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1589 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1590 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1591 (avr_pointer_to_address): Likewise.
1592 (avr_address_class_type_flags): New function.
1593 (avr_address_class_type_flags_to_name): Likewise.
1594 (avr_address_class_name_to_type_flags): Likewise.
1595 (avr_gdbarch_init): Set address_class_type_flags,
1596 address_class_type_flags_to_name and
1597 address_class_name_to_type_flags.
1598
57745c90
PA
15992014-07-15 Pedro Alves <palves@redhat.com>
1600
1601 * linux-nat.c (kill_callback): Save errno and work with saved
1602 copy.
1603
2d40be18
SM
16042014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1605
1606 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1607
572f6555
EBM
16082014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1609
1610 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1611 breakpoint support correctly.
1612
cc1c52ad
PA
16132014-07-14 Pedro Alves <palves@redhat.com>
1614
1615 * utils.c (prompt_for_continue): Call target_terminal_ours.
1616
1e973570
PA
16172014-07-14 Pedro Alves <palves@redhat.com>
1618
1619 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1620 catch_errors. Don't re-enable stdin or notify observers where,
1621 and rethrow error.
1622 (fetch_inferior_event_wrapper): Delete.
1623
93d6eb10
PA
16242014-07-14 Pedro Alves <palves@redhat.com>
1625
1626 PR gdb/17072
1627 * top.c: Include "inf-loop.h".
1628 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1629 field.
1630 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1631 was async before.
1632 (gdb_readline_wrapper): Store whether the target is async, and
1633 make it sync.
1634
0017922d
PA
16352014-07-14 Pedro Alves <palves@redhat.com>
1636
1637 PR gdb/17072
1638 * top.c (gdb_readline_wrapper_line): Tweak comment.
1639 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1640 the input handler callback.
1641
94696ad3
PA
16422014-07-14 Pedro Alves <palves@redhat.com>
1643
1644 PR gdb/17072
1645 * main.c: Include event-top.h.
1646 (handle_command_errors): New function.
1647 (catch_command_errors, catch_command_errors_const): Use it.
1648
9d1e69a2
PA
16492014-07-14 Pedro Alves <palves@redhat.com>
1650
1651 * exceptions.c (catch_command_errors, catch_command_errors_const):
1652 Moved to main.c.
1653 * exceptions.h (catch_command_errors_ftype)
1654 (catch_command_errors_const_ftype): Moved to main.c.
1655 (catch_command_errors, catch_command_errors_const): Delete
1656 declarations.
1657 * main.c (catch_command_errors_ftype)
1658 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1659 (catch_command_errors, catch_command_errors_const)): Moved here
1660 from exceptions.c and make static.
1661
feefc97b
PA
16622014-07-14 Pedro Alves <palves@redhat.com>
1663
1664 * exceptions.c (print_any_exception): Delete.
1665 (catch_exceptions_with_msg): Use exception_print instead of
1666 print_any_exception.
1667 (catch_errors): Use exception_fprintf instead of
1668 print_any_exception.
1669 (catch_command_errors, catch_command_errors_const): Use
1670 exception_print instead of print_any_exception.
1671
c933f875
PA
16722014-07-14 Pedro Alves <palves@redhat.com>
1673
1674 * infcall.c (run_inferior_call): Set 'sync_execution' while
1675 running the inferior call.
1676
feb6f816
PA
16772014-07-14 Pedro Alves <palves@redhat.com>
1678
1679 * value.c (value_contents_equal): Delete function.
1680 * value.h (value_contents_equal): Delete declaration.
1681
d98b7a16
TT
16822014-07-14 Tom Tromey <tromey@redhat.com>
1683
1684 PR exp/17106:
1685 * gdbtypes.c (is_dynamic_type_internal): New function, from
1686 is_dynamic_type.
1687 (is_dynamic_type): Rewrite.
1688 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1689 (resolve_dynamic_struct): Likewise.
1690 (resolve_dynamic_type_internal): New function, from
1691 resolve_dynamic_type.
1692 (resolve_dynamic_type): Rewrite.
1693
548740d6
TT
16942014-07-14 Tom Tromey <tromey@redhat.com>
1695
1696 * target.c (target_require_runnable): Also check record_stratum.
1697 Update comment.
1698
808f7ab1
YQ
16992014-07-11 Yao Qi <yao@codesourcery.com>
1700
1701 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1702 thumb_instruction_restores_sp return true.
1703
540314bd
YQ
17042014-07-11 Yao Qi <yao@codesourcery.com>
1705
1706 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1707 (thumb_in_function_epilogue_p): Call
1708 thumb_instruction_restores_sp.
1709
1db01f22
YQ
17102014-07-11 Yao Qi <yao@codesourcery.com>
1711
1712 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1713 'add sp, #imm'.
1714 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1715
3116063b
GB
17162014-07-11 Gary Benson <gbenson@redhat.com>
1717
1718 * amd64-linux-nat.c (gdbcore.h): Remove include.
1719 (regset.h): Likewise.
1720 (nat/linux-btrace.h): Likewise.
1721 (btrace.h): Likewise.
1722 (gdb_assert.h): Likewise.
1723 (string.h): Likewise.
1724 (sys/uio.h): Likewise.
1725 (sys/debugreg.h): Likewise.
1726 (sys/syscall.h): Likewise.
1727 (sys/procfs.h): Likewise.
1728 (sys/user.h): Likewise.
1729 (asm/ptrace.h): Likewise.
1730 (i386-nat.h): Likewise.
1731 * i386-linux-nat.c (i386-nat.h): Likewise.
1732 (regset.h): Likewise.
1733 (target.h): Likewise.
1734 (linux-nat.h): Likewise.
1735 (nat/linux-btrace.h): Likewise.
1736 (btrace.h): Likewise.
1737 (gdb_assert.h): Likewise.
1738 (string.h): Likewise.
1739 (sys/uio.h): Likewise.
1740 (sys/user.h): Likewise.
1741 (sys/procfs.h): Likewise.
1742 (sys/reg.h): Likewise.
1743 (sys/debugreg.h): Likewise.
1744 (ORIG_EAX): Remove definition.
1745
040baaf6
GB
17462014-07-11 Gary Benson <gbenson@redhat.com>
1747
1748 * i386-linux-nat.h: New file.
1749 * x86-linux-nat.h: Likewise.
1750 * x86-linux-nat.c: Likewise.
1751 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1752 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1753 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1754 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1755 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1756 (PTRACE_SETREGSET): Likewise.
1757 (arch_lwp_info): Now in x86-linux-nat.c.
1758 (have_ptrace_getregset): Now in x86-linux-nat.h.
1759 (x86_linux_dr_get): Now in x86-linux-nat.c.
1760 (x86_linux_dr_set): Likewise.
1761 (x86_linux_dr_get_addr): Likewise.
1762 (x86_linux_dr_get_control): Likewise.
1763 (x86_linux_dr_get_status): Likewise.
1764 (update_debug_registers_callback): Likewise.
1765 (x86_linux_dr_set_control): Likewise.
1766 (x86_linux_dr_set_addr): Likewise.
1767 (x86_linux_prepare_to_resume): Likewise.
1768 (x86_linux_new_thread): Likewise.
1769 (x86_linux_new_fork): Likewise.
1770 (x86_linux_get_thread_area): Likewise.
1771 (super_post_startup_inferior): Likewise.
1772 (x86_linux_child_post_startup_inferior): Likewise.
1773 (AMD64_LINUX_USER64_CS): Likewise.
1774 (AMD64_LINUX_X32_DS): Likewise.
1775 (x86_linux_read_description): Likewise.
1776 (x86_linux_enable_btrace): Likewise.
1777 (x86_linux_disable_btrace): Likewise.
1778 (x86_linux_teardown_btrace): Likewise.
1779 (x86_linux_read_btrace): Likewise.
1780 (x86_linux_create_target): Likewise.
1781 (x86_linux_add_target): Likewise.
1782 * i386-linux-nat.c (x86-linux-nat.h): New include.
1783 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1784 (PTRACE_SETREGSET): Likewise.
1785 (arch_lwp_info): Now in x86-linux-nat.c.
1786 (have_ptrace_getregset): Now in x86-linux-nat.h.
1787 (x86_linux_dr_get): Now in x86-linux-nat.c.
1788 (x86_linux_dr_set): Likewise.
1789 (x86_linux_dr_get_addr): Likewise.
1790 (x86_linux_dr_get_control): Likewise.
1791 (x86_linux_dr_get_status): Likewise.
1792 (update_debug_registers_callback): Likewise.
1793 (x86_linux_dr_set_control): Likewise.
1794 (x86_linux_dr_set_addr): Likewise.
1795 (x86_linux_prepare_to_resume): Likewise.
1796 (x86_linux_new_thread): Likewise.
1797 (x86_linux_new_fork): Likewise.
1798 (x86_linux_get_thread_area): Likewise.
1799 (super_post_startup_inferior): Likewise.
1800 (x86_linux_child_post_startup_inferior): Likewise.
1801 (AMD64_LINUX_USER64_CS): Likewise.
1802 (AMD64_LINUX_X32_DS): Likewise.
1803 (x86_linux_read_description): Likewise.
1804 (x86_linux_enable_btrace): Likewise.
1805 (x86_linux_disable_btrace): Likewise.
1806 (x86_linux_teardown_btrace): Likewise.
1807 (x86_linux_read_btrace): Likewise.
1808 (x86_linux_create_target): Likewise.
1809 (x86_linux_add_target): Likewise.
1810
1aa7e42c
GB
18112014-07-11 Gary Benson <gbenson@redhat.com>
1812
1813 * amd64-linux-nat.c: Comment and whitespace changes.
1814 * i386-linux-nat.c: Comment and whitespace changes.
1815
c1e246a0
GB
18162014-07-11 Gary Benson <gbenson@redhat.com>
1817
1818 * amd64-linux-nat.c (x86_linux_create_target): New function.
1819 (x86_linux_add_target): Likewise.
1820 (_initialize_amd64_linux_nat): Delegate to the above new functions.
1821 * i386-linux-nat.c (x86_linux_create_target): New function.
1822 (x86_linux_add_target): Likewise.
1823 (_initialize_i386_linux_nat): Delegate to the above new functions.
1824
8c420b8d
GB
18252014-07-11 Gary Benson <gbenson@redhat.com>
1826
1827 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
1828 (ps_get_thread_area): Delegate to the above in 32-bit mode.
1829 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
1830 (ps_get_thread_area): Delegate to the above.
1831
cb1da100
GB
18322014-07-11 Gary Benson <gbenson@redhat.com>
1833
1834 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
1835 x86_linux_read_description. All uses updated. amd64-specific
1836 code conditionalized. Conditionalized i386-specific code added.
1837 Redundant cast removed.
1838 * i386-linux-nat.c (i386_linux_read_description): Renamed to
1839 x86_linux_read_description. All uses updated. i386-specific
1840 code conditionalized. Conditionalized amd64-specific code added.
1841 One sizeof replaced with the actual type it is describing.
1842
2acf3cd0
GB
18432014-07-11 Gary Benson <gbenson@redhat.com>
1844
1845 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
1846 x86_linux_dr_get. All uses updated.
1847 (amd64_linux_dr_set): Renamed to
1848 x86_linux_dr_set. All uses updated.
1849 (amd64_linux_dr_get_addr): Renamed to
1850 x86_linux_dr_get_addr. All uses updated.
1851 (amd64_linux_dr_get_control): Renamed to
1852 x86_linux_dr_get_control. All uses updated.
1853 (amd64_linux_dr_get_status): Renamed to
1854 x86_linux_dr_get_status. All uses updated.
1855 (amd64_linux_dr_set_control): Renamed to
1856 x86_linux_dr_set_control. All uses updated.
1857 (amd64_linux_dr_set_addr): Renamed to
1858 x86_linux_dr_set_addr. All uses updated.
1859 (amd64_linux_prepare_to_resume): Renamed to
1860 x86_linux_prepare_to_resume. All uses updated.
1861 (amd64_linux_new_thread): Renamed to
1862 x86_linux_new_thread. All uses updated.
1863 (amd64_linux_new_fork): Renamed to
1864 x86_linux_new_fork. All uses updated.
1865 (amd64_linux_child_post_startup_inferior): Renamed to
1866 x86_linux_child_post_startup_inferior. All uses updated.
1867 (amd64_linux_enable_btrace): Renamed to
1868 x86_linux_enable_btrace. All uses updated.
1869 (amd64_linux_disable_btrace): Renamed to
1870 x86_linux_disable_btrace. All uses updated.
1871 (amd64_linux_teardown_btrace): Renamed to
1872 x86_linux_teardown_btrace. All uses updated.
1873 (amd64_linux_read_btrace): Renamed to
1874 x86_linux_read_btrace. All uses updated.
1875 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
1876 x86_linux_dr_get. All uses updated.
1877 (i386_linux_dr_set): Renamed to
1878 x86_linux_dr_set. All uses updated.
1879 (i386_linux_dr_get_addr): Renamed to
1880 x86_linux_dr_get_addr. All uses updated.
1881 (i386_linux_dr_get_control): Renamed to
1882 x86_linux_dr_get_control. All uses updated.
1883 (i386_linux_dr_get_status): Renamed to
1884 x86_linux_dr_get_status. All uses updated.
1885 (i386_linux_dr_set_control): Renamed to
1886 x86_linux_dr_set_control. All uses updated.
1887 (i386_linux_dr_set_addr): Renamed to
1888 x86_linux_dr_set_addr. All uses updated.
1889 (i386_linux_prepare_to_resume): Renamed to
1890 x86_linux_prepare_to_resume. All uses updated.
1891 (i386_linux_new_thread): Renamed to
1892 x86_linux_new_thread. All uses updated.
1893 (i386_linux_new_fork): Renamed to
1894 x86_linux_new_fork. All uses updated.
1895 (i386_linux_child_post_startup_inferior): Renamed to
1896 x86_linux_child_post_startup_inferior. All uses updated.
1897 (i386_linux_enable_btrace): Renamed to
1898 x86_linux_enable_btrace. All uses updated.
1899 (i386_linux_disable_btrace): Renamed to
1900 x86_linux_disable_btrace. All uses updated.
1901 (i386_linux_teardown_btrace): Renamed to
1902 x86_linux_teardown_btrace. All uses updated.
1903 (i386_linux_read_btrace): Renamed to
1904 x86_linux_read_btrace. All uses updated.
1905
b9c1d481
AS
19062014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1907
1908 * remote.c (extended_remote_post_attach): New function.
1909 (init_extended_remote_ops): Install it as to_post_attach method.
1910
7180e04a
PA
19112014-07-09 Pedro Alves <palves@redhat.com>
1912
1913 * infcmd.c (attach_command_post_wait): Don't call
1914 target_terminal_inferior here.
1915 (attach_command): Call it here instead.
1916
9a9a7608
AB
19172014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1918
1919 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
1920 field.
1921 * c-varobj.c (c_is_path_expr_parent): New function, moved core
1922 from varobj.c, with additional checks.
1923 (c_varobj_ops): Fill in is_path_expr_parent field.
1924 (cplus_varobj_ops): Fill in is_path_expr_parent field.
1925 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
1926 field.
1927 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
1928 ops method.
1929 (varobj_default_is_path_expr_parent): New function.
1930 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
1931 (varobj_default_is_path_expr_parent): Declare new function.
1932
1f267ae3
MM
19332014-07-08 Markus Metzger <markus.t.metzger@intel.com>
1934
1935 * infcmd.c (finish_backward): Turn internal error into normal error.
1936
b2ee242b
PA
19372014-07-07 Pedro Alves <palves@redhat.com>
1938
8a869bca 1939 PR gdb/17096
b2ee242b
PA
1940 * remote.c (async_handle_remote_sigint)
1941 (async_handle_remote_sigint_twice): Call
1942 gdb_call_async_signal_handler instead of
1943 mark_async_signal_handler.
1944
38e229b2
TT
19452014-07-07 Tom Tromey <tromey@redhat.com>
1946
1947 * target-delegates.c: Rebuild.
1948 * target.c (target_info_record): Remove.
1949 * record.c (info_record_command): Unconditionally call
1950 to_info_record.
1951 * target.h (struct target_ops) <to_info_record>: Use
1952 TARGET_DEFAULT_IGNORE.
1953 (target_info_record): Remove.
1954
f0f9ff95
TT
19552014-07-07 Tom Tromey <tromey@redhat.com>
1956
1957 * target.h (struct target_ops) <to_get_thread_local_address>: Use
1958 TARGET_DEFAULT_NORETURN.
1959 * target.c (generic_tls_error): New function.
1960 (target_translate_tls_address): Don't search target stack.
1961 * target-delegates.c: Rebuild.
1962 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
1963 stack.
1964 * linux-thread-db.c (thread_db_get_thread_local_address):
1965 Unconditionally call beneath target.
1966
4a5be5ee
MK
19672014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
1968
1969 * cli/cli-logging.c (pop_output_files): Assign targerr to
1970 gdb_stdtargerr.
1971
92c3b204
AB
19722014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
1973
1974 * MAINTAINERS (Write After Approval): Update my email address.
1975
9b11e3a7
GB
19762014-07-02 Gary Benson <gbenson@redhat.com>
1977
1978 * proc-service.c (ps_xfer_memory): Update comment.
1979 (ps_pstop): Remove unused function.
1980 (ps_pcontinue): Likewise.
1981 (ps_lstop): Likewise.
1982 (ps_lcontinue): Likewise.
1983 (ps_lgetxregsize): Likewise.
1984 (ps_lgetxregs): Likewise.
1985 (ps_lsetxregs): Likewise.
1986 (ps_plog): Likewise.
1987 (ps_ptread): Likewise.
1988 (ps_ptwrite): Likewise.
1989
cf363f18
MW
19902014-07-01 Mark Wielaard <mjw@redhat.com>
1991
1992 * dwarf2read.c (add_array_cv_type): New function.
1993 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
1994 (read_tag_volatile_type): Likewise.
1995
82ae6c8d
TT
19962014-07-01 Tom Tromey <tromey@redhat.com>
1997
1998 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
1999 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2000 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2001 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2002 * command.h (cmd_cfunc_ftype): Move earlier.
2003 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2004 (add_com, add_info): Use cmd_cfunc_ftype.
2005
96142726
TT
20062014-06-30 Tom Tromey <tromey@redhat.com>
2007
2008 * symtab.c (operator_chars): Make parameters and return type
2009 const.
2010 (file_matches): Make "files" const.
2011 (struct search_symbols_data) <files>: Now const.
2012 (search_symbols): Make "regexp" and "files" parameters const.
2013 Update.
2014 (symtab_symbol_info): Remove cast.
2015 (rbreak_command): Update.
2016 * symtab.h (search_symbols): Update.
2017
b67a2c6f
YQ
20182014-06-27 Yao Qi <yao@codesourcery.com>
2019
2020 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2021 Change parameter type to 'struct thread_info *'. Caller
2022 updated.
2023 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2024 Update declaration.
2025 * dummy-frame.c (struct dummy_frame_id): New.
2026 (dummy_frame_id_eq): New function.
2027 (struct dummy_frame) <id>: Change its type to 'struct
2028 dummy_frame_id'.
2029 (dummy_frame_push): Add parameter ptid and save it in
2030 dummy_frame_id.
2031 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2032 inferior_ptid.
2033 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2034 to inferior_ptid.
2035 (lookup_dummy_frame): Change parameter type to 'struct
2036 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2037 instead of frame_id_eq.
2038 (dummy_frame_pop): Add parameter ptid. Callers updated.
2039 Update comments. Compose dummy_frame_id and pass it to
2040 lookup_dummy_frame.
2041 (dummy_frame_discard): Add parameter ptid.
2042 (dummy_frame_sniffer): Compose dummy_frame_id and call
2043 dummy_frame_id_eq instead of frame_id_eq.
2044 (fprint_dummy_frames): Print ptid.
2045 * dummy-frame.h: Remove comments.
2046 (dummy_frame_push): Add ptid in declaration.
2047 (dummy_frame_pop, dummy_frame_discard): Likewise.
2048
5b10184c
TT
20492014-06-26 Tom Tromey <tromey@redhat.com>
2050
2051 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2052 * command.h (error_no_arg): Update.
2053
06900326
TT
20542014-06-26 Tom Tromey <tromey@redhat.com>
2055
2056 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2057 (do_show_command): Make "arg" const.
2058 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2059
c2bcbb1d
TT
20602014-06-26 Tom Tromey <tromey@redhat.com>
2061
2062 * record-full.c (record_full_get_bookmark): Make "args" const.
2063 (record_full_goto_bookmark): Make "raw_bookmark" const.
2064 * record.c (record_goto): New function.
2065 (cmd_record_goto): Use it. Now static.
2066 * record.h (record_goto): Declare.
2067 (cmd_record_goto): Remove declaration.
2068 * target-delegates.c: Rebuild.
2069 * target.h (struct target_ops) <to_get_bookmark,
2070 to_goto_bookmark>: Make parameter const.
2071
9cbe5fff
TT
20722014-06-26 Tom Tromey <tromey@redhat.com>
2073
2074 * defs.h (generic_load): Update.
2075 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2076 * monitor.c (monitor_load): Make "args" const.
2077 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2078 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2079 const.
2080 (mips_load): Make "file" const.
2081 * remote-sim.c (gdbsim_load): Make "args" const.
2082 * remote.c (remote_load): Make "name" const.
2083 * symfile.c (generic_load): Make "args" const.
2084 * target-delegates.c: Rebuild.
2085 * target.c (target_load): Make "arg" const.
2086 (debug_to_load): Make "args" const.
2087 * target.h (struct target_ops) <to_load>: Make parameter const.
2088 (target_load): Update.
2089
34a68019
TT
20902014-06-26 Tom Tromey <tromey@redhat.com>
2091
2092 PR symtab/16902:
2093 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2094 (dwarf2_physname, read_partial_die)
2095 (guess_partial_die_structure_name, fixup_partial_die)
2096 (guess_full_die_structure_name, anonymous_struct_prefix)
2097 (dwarf2_name): Use per-BFD obstack.
2098
efc889c1
YQ
20992014-06-26 Yao Qi <yao@codesourcery.com>
2100
2101 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2102 dummyframe and this_id into inner block below.
2103
4395285e
YQ
21042014-06-26 Yao Qi <yao@codesourcery.com>
2105
2106 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2107 with "signal_pass[0]" in the initialization of signal_pass.
2108
aef92902
MM
21092014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2110
2111 * record-btrace.c (record_btrace_generating_corefile)
2112 (record_btrace_prepare_to_generate_core)
2113 (record_btrace_done_generating_core): New.
2114 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2115 (record_btrace_store_registers, record_btrace_prepare_to_store):
2116 Forward request when generating a core file.
2117 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2118 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2119 to_done_generating_core.
2120
5fff78c4
MM
21212014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2122
2123 * target.h (target_ops) <to_prepare_to_generate_core>
2124 <to_done_generating_core>: New.
2125 (target_prepare_to_generate_core, target_done_generating_core): New.
2126 * target.c (target_prepare_to_generate_core)
2127 (target_done_generating_core): New.
2128 * target-delegates.c: Regenerate.
2129 * gcore.c: (write_gcore_file): Rename to ...
2130 (write_gcore_file_1): ...this.
2131 (write_gcore_file): Call target_prepare_to_generate_core
2132 and target_done_generating_core.
2133
1d1f1ccb
MM
21342014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2135
2136 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2137 * gcore.c (write_gcore_file): Free memory returned from
2138 make_corefile_notes.
2139 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2140 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2141
3343ef86
YQ
21422014-06-24 Yao Qi <yao@codesourcery.com>
2143
2144 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2145 (arm_linux_init_abi): Set skip_trampoline_code with
2146 gdbarch_skip_trampoline_code instead of
2147 find_solib_trampoline_target.
2148
18d18ac8
YQ
21492014-06-24 Yao Qi <yao@codesourcery.com>
2150
2151 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2152 arm_skip_bx_reg returns non-zero.
2153
80d8d390
YQ
21542014-06-24 Yao Qi <yao@codesourcery.com>
2155
2156 * arm-tdep.c (arm_skip_bx_reg): New function.
2157 (arm_skip_stub): Call arm_skip_bx_reg.
2158
6a18a01c
DB
21592014-06-23 Don Breazeal <donb@codesourcery.com>
2160
2161 * MAINTAINERS: Add myself as write-after-approval maintainer.
2162
8e9db26e
PA
21632014-06-23 Pedro Alves <palves@redhat.com>
2164
2165 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2166 DR_CONTROL before setting DR0..DR3.
2167 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2168 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2169 bits of DR_CONTROL related to the debug register slot being
2170 disabled. If all slots are vacant, clear local slowdown as well,
2171 and assert DR_CONTROL is 0.
2172
70afc5b7
SC
21732014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2174
2175 * python/lib/gdb/command/xmethods.py
2176 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2177 current progspace only if the string "progspace" matches LOCUS_RE.
2178
840ed64d
JK
21792014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2180
2181 Fix --with-system-readline with readline-6.3 patch 5.
2182 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2183 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2184 types.
2185
26f2dc30
TT
21862014-06-20 Tom Tromey <tromey@redhat.com>
2187
2188 * dwarf2read.c (dw2_get_real_path): Use correct type in
2189 OBSTACK_CALLOC.
2190 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2191
125f8a3d
GB
21922014-06-20 Gary Benson <gbenson@redhat.com>
2193
2194 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2195 * common/glibc_thread_db.h: Likewise.
2196 * common/i386-cpuid.h: Likewise.
2197 * common/i386-gcc-cpuid.h: Likewise.
2198 * common/linux-btrace.h: Likewise.
2199 * common/linux-osdata.h: Likewise.
2200 * common/linux-procfs.h: Likewise.
2201 * common/linux-ptrace.h: Likewise.
2202 * common/mips-linux-watch.h: Likewise.
2203 * common/linux-btrace.c: Moved to nat.
2204 * common/linux-osdata.c: Likewise.
2205 * common/linux-procfs.c: Likewise.
2206 * common/linux-ptrace.c: Likewise.
2207 * common/mips-linux-watch.c: Likewise.
2208 * nat/gdb_thread_db.h: Moved from common.
2209 * nat/glibc_thread_db.h: Likewise.
2210 * nat/i386-cpuid.h: Likewise.
2211 * nat/i386-gcc-cpuid.h: Likewise.
2212 * nat/linux-btrace.c: Likewise.
2213 * nat/linux-btrace.h: Likewise.
2214 * nat/linux-osdata.c: Likewise.
2215 * nat/linux-osdata.h: Likewise.
2216 * nat/linux-procfs.c: Likewise.
2217 * nat/linux-procfs.h: Likewise.
2218 * nat/linux-ptrace.c: Likewise.
2219 * nat/linux-ptrace.h: Likewise.
2220 * nat/mips-linux-watch.c: Likewise.
2221 * nat/mips-linux-watch.h: Likewise.
2222 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2223 (object file files): Reordered.
2224 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2225 of glibc_thread_db.h.
2226
42995dbd
GB
22272014-06-20 Gary Benson <gbenson@redhat.com>
2228
2229 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2230 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2231 (i386_dr_low): Likewise.
2232 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2233 (i386_dr_low_set_addr): Likewise.
2234 (i386_dr_low_get_addr): Likewise.
2235 (i386_dr_low_can_set_control): Likewise.
2236 (i386_dr_low_set_control): Likewise.
2237 (i386_dr_low_get_control): Likewise.
2238 (i386_dr_low_get_status): Likewise.
2239 (i386_get_debug_register_length): Likewise.
2240 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2241 (i386_dr_low): Likewise.
2242 * nat/i386-dregs.c (i386-low.h): Remove include.
2243 (i386-nat.h): Likewise.
2244 (nat/i386-dregs.h): New include.
2245 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2246 (i386_dr_low_set_addr): Likewise.
2247 (i386_dr_low_get_addr): Likewise.
2248 (i386_dr_low_can_set_control): Likewise.
2249 (i386_dr_low_set_control): Likewise.
2250 (i386_dr_low_get_control): Likewise.
2251 (i386_dr_low_get_status): Likewise.
2252 (i386_get_debug_register_length): Likewise.
2253 (debug_hw_points): Likewise.
2254
3ed9baed
IB
22552014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2256
2257 * Makefile.in (SFILES): Add d-exp.y.
2258 (YYFILES): Add d-exp.c.
2259 (YYOBJ): Add d-exp.o.
2260 (local-maintainer-clean): Delete d-exp.c.
2261 * d-exp.y: New file.
2262 * d-lang.h (d_parse): New declaration.
2263 (d_error): New declaration.
2264 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2265 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2266 PREC_ORDER operators.
2267 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2268
78c164b0
YQ
22692014-06-19 Yao Qi <yao@codesourcery.com>
2270
2271 * gdbthread.h (any_running): Remove the declaration.
2272 * thread.c (any_running): Remove.
2273
f6e29b6e
YQ
22742014-06-19 Yao Qi <yao@codesourcery.com>
2275
2276 * gdbthread.h (struct thread_info) <state>: Change its type to
2277 'enum thread_state'. Update comments.
2278
034f788c
PA
22792014-06-19 Pedro Alves <palves@redhat.com>
2280
2281 * gdbthread.h (ALL_THREADS): Delete.
2282 (ALL_NON_EXITED_THREADS): New macro.
2283 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2284 instead of ALL_THREADS.
2285 * infrun.c (find_thread_needs_step_over)
2286 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2287 instead of ALL_THREADS.
2288 * record-btrace.c (record_btrace_open)
2289 (record_btrace_stop_recording, record_btrace_close)
2290 (record_btrace_is_replaying, record_btrace_resume)
2291 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2292 * remote.c (append_pending_thread_resumptions): Likewise.
2293 * thread.c (thread_apply_all_command): Likewise.
2294
46e33252
GB
22952014-06-19 Gary Benson <gbenson@redhat.com>
2296
2297 * i386-nat.c (i386_stopped_by_watchpoint):
2298 Use i386_dr_stopped_by_watchpoint.
2299 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2300 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2301
3a8ee006
GB
23022014-06-19 Gary Benson <gbenson@redhat.com>
2303
2304 * nat/i386-dregs.c: New file.
2305 * Makefile.in (i386-dregs.o): New rule.
2306 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2307 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2308 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2309 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2310 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2311 * config/i386/go32.mh (NATDEPFILES): Likewise.
2312 * config/i386/linux.mh (NATDEPFILES): Likewise.
2313 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2314 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2315 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2316 * i386-nat.h (debug_hw_points): New declaration.
2317 * i386-nat.c (breakpoint.h): Remove include.
2318 (command.h): Likewise.
2319 (target.h): Likewise.
2320 (gdb_assert.h): Likewise.
2321 (debug_hw_points): Made nonstatic.
2322 (debug_printf): Now in i386-dregs.c.
2323 (TARGET_HAS_DR_LEN_8): Likewise.
2324 (DR_CONTROL_SHIFT): Likewise.
2325 (DR_CONTROL_SIZE): Likewise.
2326 (DR_RW_EXECUTE): Likewise.
2327 (DR_RW_WRITE): Likewise.
2328 (DR_RW_READ): Likewise.
2329 (DR_RW_IORW): Likewise.
2330 (DR_LEN_1): Likewise.
2331 (DR_LEN_2): Likewise.
2332 (DR_LEN_4): Likewise.
2333 (DR_LEN_8): Likewise.
2334 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2335 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2336 (DR_ENABLE_SIZE): Likewise.
2337 (DR_LOCAL_SLOWDOWN): Likewise.
2338 (DR_GLOBAL_SLOWDOWN): Likewise.
2339 (DR_CONTROL_RESERVED): Likewise.
2340 (I386_DR_CONTROL_MASK): Likewise.
2341 (I386_DR_VACANT): Likewise.
2342 (I386_DR_LOCAL_ENABLE): Likewise.
2343 (I386_DR_GLOBAL_ENABLE): Likewise.
2344 (I386_DR_DISABLE): Likewise.
2345 (I386_DR_SET_RW_LEN): Likewise.
2346 (I386_DR_GET_RW_LEN): Likewise.
2347 (I386_DR_WATCH_HIT): Likewise.
2348 (i386_wp_op_t): Likewise.
2349 (i386_show_dr): Likewise.
2350 (i386_length_and_rw_bits): Likewise.
2351 (i386_insert_aligned_watchpoint): Likewise.
2352 (i386_remove_aligned_watchpoint): Likewise.
2353 (i386_handle_nonaligned_watchpoint): Likewise.
2354 (i386_update_inferior_debug_regs): Likewise.
2355 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2356 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2357 (i386_region_ok_for_watchpoint):
2358 Use i386_dr_region_ok_for_watchpoint.
2359 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2360
322a8e06
GB
23612014-06-19 Gary Benson <gbenson@redhat.com>
2362
2363 * i386-nat.c (i386_insert_hw_breakpoint): Use
2364 i386_insert_watchpoint.
2365 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2366
8f26655c
GB
23672014-06-19 Gary Benson <gbenson@redhat.com>
2368
2369 * i386-nat.c (i386_dr_show): Renamed to
2370 i386_show_dr and made static. All uses updated.
2371 (i386_dr_length_and_rw_bits): Renamed to
2372 i386_length_and_rw_bits and made static.
2373 All uses updated.
2374 (i386_dr_insert_aligned_watchpoint): Renamed to
2375 i386_insert_aligned_watchpoint and made static.
2376 All uses updated.
2377 (i386_dr_remove_aligned_watchpoint): Renamed to
2378 i386_remove_aligned_watchpoint and made static.
2379 All uses updated.
2380 (i386_dr_update_inferior_debug_regs): Renamed to
2381 i386_update_inferior_debug_regs and made static.
2382 All uses updated.
2383 * nat/i386-dregs.h (i386_dr_show): Removed.
2384 (i386_dr_length_and_rw_bits): Likewise.
2385 (i386_dr_insert_aligned_watchpoint): Likewise.
2386 (i386_dr_remove_aligned_watchpoint): Likewise.
2387 (i386_dr_update_inferior_debug_regs): Likewise.
2388
992c7d70
GB
23892014-06-19 Gary Benson <gbenson@redhat.com>
2390
2391 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2392 * configure: Regenerate.
2393 * config.in: Likewise.
2394 * main.c (signal.h): New include.
2395 (setup_alternate_signal_stack): New function.
2396 (captured_main): Call the above.
2397 * cp-support.c (signal.h): New include.
2398 (catch_demangler_crashes): New flag.
2399 (SIGJMP_BUF): New define.
2400 (SIGSETJMP): Likewise.
2401 (SIGLONGJMP): Likewise.
2402 (gdb_demangle_jmp_buf): New static global.
2403 (gdb_demangle_attempt_core_dump): Likewise.
2404 (gdb_demangle_signal_handler): New function.
2405 (gdb_demangle): If catch_demangler_crashes is set, install the
2406 above signal handler before calling bfd_demangle, and restore
2407 the original signal handler afterwards. Display the offending
2408 symbol and call demangler_warning the first time a segmentation
2409 fault is caught.
2410 (_initialize_cp_support): New maint set/show command.
2411
eae7090b
GB
24122014-06-19 Gary Benson <gbenson@redhat.com>
2413
2414 * utils.h (resource_limit_kind): New enum.
2415 (can_dump_core): New declaration.
2416 (warn_cant_dump_core): Likewise.
2417 (dump_core): Likewise.
2418 * utils.c (dump_core): Made nonstatic. Added new
2419 parameter "limit_kind".
2420 (can_dump_core): Made nonstatic. Moved printing code to...
2421 (warn_cant_dump_core): New function.
2422 (can_dump_core_warn): Likewise.
2423 (internal_vproblem): Replace calls to can_dump_core with
2424 calls to can_dump_core_warn. Supply new argument to each.
2425
57fcfb1b
GB
24262014-06-19 Gary Benson <gbenson@redhat.com>
2427
2428 * utils.h (demangler_vwarning): New declaration.
2429 (demangler_warning): Likewise.
2430 * utils.c (struct internal_problem)
2431 <user_settable_should_quit>: New field.
2432 <user_settable_should_dump_core>: Likewise
2433 (internal_error_problem): Add values for above new fields.
2434 (internal_warning_problem): Likewise.
2435 (demangler_warning_problem): New static global.
2436 (demangler_vwarning): New function.
2437 (demangler_warning): Likewise.
2438 (add_internal_problem_command): Selectively add commands.
2439 (_initialize_utils): New internal problem command.
2440 * maint.c (maintenance_demangler_warning): New function.
2441 (_initialize_maint_cmds): New command.
2442
17a40b44
TT
24432014-06-18 Tom Tromey <tromey@redhat.com>
2444
2445 * f-valprint.c (info_common_command_for_block): Update.
2446 * symtab.h (struct general_symbol_info) <common_block>: Now
2447 const.
2448
346d1dfe
TT
24492014-06-18 Tom Tromey <tromey@redhat.com>
2450
2451 * symtab.h (struct symtab) <blockvector>: Now const.
2452 * ada-lang.c (ada_add_global_exceptions): Update.
2453 * buildsym.c (augment_type_symtab): Update.
2454 * dwarf2read.c (dw2_lookup_symbol): Update.
2455 * jit.c (finalize_symtab): Update.
2456 * jv-lang.c (add_class_symtab_symbol): Update.
2457 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2458 Update.
2459 * objfiles.c (objfile_relocate1): Update.
2460 * psymtab.c (lookup_symbol_aux_psymtabs)
2461 (maintenance_check_psymtabs): Update.
2462 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2463 Update.
2464 * spu-tdep.c (spu_catch_start): Update.
2465 * symmisc.c (dump_symtab_1): Update.
2466 * symtab.c (lookup_global_symbol_from_objfile)
2467 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2468 (basic_lookup_transparent_type_quick)
2469 (basic_lookup_transparent_type, find_pc_sect_symtab)
2470 (find_pc_sect_line, search_symbols): Update.
2471 * block.c (find_block_in_blockvector): Make "bl" const.
2472 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2473 const.
2474 (blockvector_contains_pc): Make "bv" const.
2475 (block_for_pc_sect): Update.
2476 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2477 (blockvector_contains_pc): Update.
2478 * breakpoint.c (resolve_sal_pc): Update.
2479 * inline-frame.c (block_starting_point_at): Update.
2480
1834676b
TT
24812014-06-18 Tom Tromey <tromey@redhat.com>
2482
2483 * completer.c (complete_line): Make "line_buffer" const.
2484 * completer.h (complete_line): Update.
2485
ac1a991b
TT
24862014-06-18 Tom Tromey <tromey@redhat.com>
2487
2488 * symtab.c (add_macro_name): Remove unneeded cast.
2489
5bc98e52
TT
24902014-06-18 Tom Tromey <tromey@redhat.com>
2491
2492 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2493 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2494
8236def8
TT
24952014-06-18 Tom Tromey <tromey@redhat.com>
2496
2497 * probe.c (info_probes_for_ops): Make "arg" const.
2498 * probe.h (info_probes_for_ops): Update.
2499
3977b71f
TT
25002014-06-18 Tom Tromey <tromey@redhat.com>
2501
2502 * varobj.c (varobj_create): Update.
2503 * valops.c (value_of_this): Update.
2504 * tracepoint.c (add_local_symbols, scope_info): Update.
2505 * symtab.h (struct general_symbol_info) <block>: Now const.
2506 * symtab.c (skip_prologue_sal)
2507 (default_make_symbol_completion_list_break_on)
2508 (skip_prologue_using_sal): Update.
2509 * stack.h (iterate_over_block_locals)
2510 (iterate_over_block_local_vars): Update.
2511 * stack.c (print_frame_args): Update.
2512 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2513 parameter const.
2514 (get_selected_block): Make return type const.
2515 * python/py-frame.c (frapy_block): Update.
2516 * python/py-block.c (gdbpy_block_for_pc): Update.
2517 * p-exp.y (%union) <bval>: Now const.
2518 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2519 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2520 * m2-exp.y (%union) <bval>: Now const.
2521 * linespec.c (get_current_search_block): Make return type const.
2522 (create_sals_line_offset, find_label_symbols): Update.
2523 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2524 Update.
2525 (block_starting_point_at): Make "block" const.
2526 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2527 (check_exception_resume): Update.
2528 * guile/scm-frame.c (gdbscm_frame_block): Update.
2529 * guile/scm-block.c (gdbscm_lookup_block): Update.
2530 * frame.h (get_frame_block): Update.
2531 (get_selected_block): Make return type const.
2532 * frame.c (frame_id_inner): Update.
2533 * f-valprint.c (info_common_command_for_block)
2534 (info_common_command): Update.
2535 * dwarf2loc.c (dwarf2_find_location_expression)
2536 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2537 (locexpr_describe_location_piece): Update.
2538 * c-exp.y (%union) <bval>: Now const.
2539 * breakpoint.c (resolve_sal_pc): Update.
2540 * blockframe.c (get_frame_block):Make return type const.
2541 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2542 (block_innermost_frame): Update.
2543 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2544 (block_for_pc, block_for_pc_sect): Update.
2545 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2546 'pblock' const.
2547 (block_for_pc_sect, block_for_pc): Make return type const.
2548 * ax-gdb.c (gen_expr): Update.
2549 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2550 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2551 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2552 (ada_read_var_value): Update.
2553 * ada-exp.y (struct name_info) <block>: Now const.
2554 (%union): Likewise.
2555 (block_lookup): Constify.
2556
b9228891
GB
25572014-06-18 Gary Benson <gbenson@redhat.com>
2558
2559 * nat/i386-dregs.h: New file.
2560 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2561 * i386-nat.h (i386-dregs.h): New include.
2562 (DR_FIRSTADDR): Now in i386-dregs.h.
2563 (DR_LASTADDR): Likewise.
2564 (DR_NADDR): Likewise.
2565 (DR_STATUS): Likewise.
2566 (DR_CONTROL): Likewise.
2567 (i386_debug_reg_state): Likewise.
2568 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2569
a1aa2221
LM
25702014-06-18 Don Breazeal <donb@codesourcery.com>
2571
2572 * breakpoint.c (set_longjmp_breakpoint): Call
2573 momentary_breakpoint_from_master with additional argument.
2574 (set_longjmp_breakpoint_for_call_dummy): Call
2575 momentary_breakpoint_from_master with additional argument.
2576 (set_std_terminate_breakpoint): Call
2577 momentary_breakpoint_from_master with additional argument.
2578 (momentary_breakpoint_from_master): Add argument to function
2579 definition and use it to initialize structure member flag.
74228e77 2580 (clone_momentary_breakpoint): Call
a1aa2221
LM
2581 momentary_breakpoint_from_master with additional argument.
2582 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2583 member flags set in momentary_breakpoint_from_master.
2584
4be83cc2
GB
25852014-06-18 Gary Benson <gbenson@redhat.com>
2586
2587 * i386-nat.c (i386_show_dr): Renamed to
2588 i386_dr_show and made nonstatic. All uses updated.
2589 (i386_length_and_rw_bits): Renamed to
2590 i386_dr_length_and_rw_bits and made nonstatic.
2591 All uses updated.
2592 (i386_insert_aligned_watchpoint): Renamed to
2593 i386_dr_insert_aligned_watchpoint and made nonstatic.
2594 All uses updated.
2595 (i386_remove_aligned_watchpoint): Renamed to
2596 i386_dr_remove_aligned_watchpoint and made nonstatic.
2597 All uses updated.
2598 (i386_update_inferior_debug_regs): Renamed to
2599 i386_dr_update_inferior_debug_regs and made nonstatic.
2600 All uses updated.
2601
131aa0d4
GB
26022014-06-18 Gary Benson <gbenson@redhat.com>
2603
2604 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2605 (i386_dr_low_can_set_control): Likewise.
2606 (i386_dr_low_set_addr): Likewise.
2607 (i386_dr_low_set_control): Likewise.
2608 (i386_dr_low_get_addr): Likewise.
2609 (i386_dr_low_get_status): Likewise.
2610 (i386_dr_low_get_control): Likewise.
2611 (i386_insert_aligned_watchpoint): Use new macros.
2612 (i386_update_inferior_debug_regs): Likewise.
2613 (i386_stopped_data_address): Likewise.
2614
d9305f7f
GB
26152014-06-18 Gary Benson <gbenson@redhat.com>
2616
2617 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2618 New parameter. All uses updated.
2619
ea008da4
GB
26202014-06-18 Gary Benson <gbenson@redhat.com>
2621
2622 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2623 All uses updated.
2624
1b6d4134
GB
26252014-06-18 Gary Benson <gbenson@redhat.com>
2626
2627 * i386-nat.c (debug_printf): New macro.
2628 (i386_get_debug_register_length): Likewise.
2629 (TARGET_HAS_DR_LEN_8): Use above macro.
2630 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2631 and printf_unfiltered. Use phex to format values.
2632
9b4550ef
GB
26332014-06-18 Gary Benson <gbenson@redhat.com>
2634
2635 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2636 Make const.
2637
6e62758f
GB
26382014-06-18 Gary Benson <gbenson@redhat.com>
2639
2640 * i386-nat.c: Comment changes.
2641
51c79e94
GB
26422014-06-18 Gary Benson <gbenson@redhat.com>
2643
2644 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2645
3e11889a
GB
26462014-06-18 Gary Benson <gbenson@redhat.com>
2647
2648 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2649 (i386_insert_aligned_watchpoint): Likewise.
2650 (i386_remove_aligned_watchpoint): Likewise.
2651 (i386_handle_nonaligned_watchpoint): Likewise.
2652
fc6e2f03
GB
26532014-06-18 Gary Benson <gbenson@redhat.com>
2654
2655 * i386-nat.c: Whitespace changes.
2656
2afe7d50
SB
26572014-06-17 Samuel Bronson <naesten@gmail.com>
2658
2659 * MAINTAINERS: Update Roland McGrath's email address.
2660 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 2661 Red Hat a while ago, and giving me a current address.
2afe7d50 2662
3bca49ee
TT
26632014-06-17 Tom Tromey <tromey@redhat.com>
2664
2665 * utils.h (savestring): Remove declaration.
2666
6e366df1
TT
26672014-06-17 Tom Tromey <tromey@redhat.com>
2668
2669 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2670
6be47f0c
KS
26712014-06-16 Keith Seitz <keiths@redhat.com>
2672
2673 PR mi/15863
2674 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2675 to update the varobj if inferior_ptid is null_ptid.
2676
7bc112c1
TT
26772014-06-16 Tom Tromey <tromey@redhat.com>
2678
2679 * target.h (struct target_ops) <to_info_proc>: Make parameter
2680 const.
2681 (target_info_proc): Update.
2682 * target.c (target_info_proc): Make "args" const.
2683 * procfs.c (procfs_info_proc): Update.
2684 * linux-tdep.c (linux_info_proc): Update.
2685 (linux_core_info_proc_mappings): Make "args" const.
2686 (linux_core_info_proc): Update.
2687 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2688 * gdbarch.c: Rebuild.
2689 * gdbarch.h: Rebuild.
2690 * corelow.c (core_info_proc): Update.
2691
fee354ee
TT
26922014-06-16 Tom Tromey <tromey@redhat.com>
2693
2694 * target.h (struct target_ops) <to_disconnect>: Make parameter
2695 const.
2696 (target_disconnect): Update.
2697 * target.c (target_disconnect): Make "args" const.
2698 * target-delegates.c: Rebuild.
2699 * remote.c (remote_disconnect): Update.
2700 * record.h (record_disconnect): Update.
2701 * record.c (record_disconnect): Update.
2702 * inf-child.c (inf_child_disconnect): Update.
2703
a30bf1f1
TT
27042014-06-16 Tom Tromey <tromey@redhat.com>
2705
2706 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2707 * target.c (debug_to_rcmd, default_rcmd): Update.
2708 * target-delegates.c: Rebuild.
2709 * remote.c (remote_rcmd): Update.
2710 * monitor.c (monitor_rcmd): Update.
2711
d03de421
PA
27122014-06-16 Pedro Alves <palves@redhat.com>
2713
2714 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2715 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2716 have OBJF_SHARED set.
2717 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2718 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2719 instead of OBJF_USERLOADED.
2720 * objfiles.h (OBJF_SHARED): Update comment.
2721 (userloaded_objfile_contains_address_p): Rename to ...
2722 (shared_objfile_contains_address_p): ... this, and update
2723 comments.
2724 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2725 new objfile.
2726 (remove_symbol_file_command): Skip objfiles that don't have
2727 OBJF_SHARED set.
2728
99f4262f
TT
27292014-06-16 Tom Tromey <tromey@redhat.com>
2730
2731 * minsyms.h (prim_record_minimal_symbol)
2732 (prim_record_minimal_symbol_and_info): Update comments.
2733
97d66cc6
EZ
27342014-06-14 Eli Zaretskii <eliz@gnu.org>
2735
2736 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2737 or --without-guile, according to how GDB was built.
2738
635c7e8a
TT
27392014-06-13 Tom Tromey <tromey@redhat.com>
2740
2741 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2742 to help_list.
2743 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2744 to help_list.
2745 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2746 help_list.
2747 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2748 help_list.Pass all_commands, not -1, to help_list.
2749 * cli/cli-dump.c (dump_command, append_command)
2750 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2751 (binary_dump_command, binary_append_command): Pass all_commands,
2752 not -1, to help_list.
2753 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2754 -1, to help_list.
2755 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2756 -1, to help_list.
2757 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2758 help_list.
2759 * top.c (set_history): Pass all_commands, not -1, to help_list.
2760 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2761 all_commands, not -1, to help_list.
2762 * symfile.c (overlay_command): Pass all_commands, not -1, to
2763 help_list.
2764 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2765 help_list.
2766 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2767 help_list.
2768 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2769 -1, to help_list.
2770 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2771 not -1, to help_list.
2772 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2773 not -1, to help_list.
2774 * maint.c (maintenance_command, maintenance_info_command)
2775 (maintenance_print_command, maintenance_set_cmd): Pass
2776 all_commands, not -1, to help_list.
2777 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2778 help_list.
2779 * language.c (set_check): Pass all_commands, not -1, to help_list.
2780 * infcmd.c (unset_command): Pass all_commands, not -1, to
2781 help_list.
2782 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2783 help_list.
2784 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2785 help_list.
2786 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2787 help_list.
2788 * breakpoint.c (save_command): Pass all_commands, not -1, to
2789 help_list.
2790 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2791 all_commands, not -1, to help_list.
2792
b94ade42
PL
27932014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2794
2795 * regcache.c (struct register_to_invalidate): New structure.
2796 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2797 functions.
2798 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2799
31f628ae
YQ
28002014-06-12 Yao Qi <yao@codesourcery.com>
2801
2802 * varobj.c (varobj_get_num_children): Call
2803 varobj_is_dynamic_p.
2804 (varobj_list_children): Likewise.
2805 (varobj_update): Likewise. Update comments.
2806
cde5ef40
YQ
28072014-06-12 Yao Qi <yao@codesourcery.com>
2808
2809 * varobj.c (varobj_pretty_printed_p): Rename to ...
2810 (varobj_is_dynamic_p): ... this. New function.
2811 * varobj.h (varobj_pretty_printed_p): Remove declaration.
2812 (varobj_is_dynamic_p): Declare.
2813 * mi/mi-cmd-var.c (print_varobj): All callers updated.
2814 (mi_print_value_p, varobj_update_one): Likewise.
2815
576ea091
YQ
28162014-06-12 Pedro Alves <pedro@codesourcery.com>
2817 Yao Qi <yao@codesourcery.com>
2818
2819 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
2820 (varobj_get_iterator): Wrap up code for pretty-printer by
2821 "#if HAVE_PYTHON" and "#endif".
2822 (update_dynamic_varobj_children): Likewise.
2823
827f100c
YQ
28242014-06-12 Pedro Alves <pedro@codesourcery.com>
2825 Yao Qi <yao@codesourcery.com>
2826
2827 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
2828 gdb_python_initialized is false. Move some code from varobj.c.
2829 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
2830 * varobj.c: Move "varobj-iter.h" inclusion earlier.
2831 (struct varobj_item): Moved to varobj-iter.h".
2832 (varobj_clear_saved_item): New function.
2833 (update_dynamic_varobj_children): Move python-related code to
2834 py-varobj.c.
2835 (free_variable): Call varobj_clear_saved_item and
2836 varobj_iter_delete.
2837
e5250216
YQ
28382014-06-12 Pedro Alves <pedro@codesourcery.com>
2839 Yao Qi <yao@codesourcery.com>
2840
2841 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
2842 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
2843 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
2844 (py-varobj.o): New rule.
2845 * python/py-varobj.c: New file.
2846 * python/python-internal.h (py_varobj_get_iterator): Declare.
2847 * varobj-iter.h: New file.
2848 * varobj.c: Include "varobj-iter.h"
2849 (struct varobj) <child_iter>: Change its type from "PyObject *"
2850 to "struct varobj_iter *".
2851 <saved_item>: Likewise.
2852 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
2853 [HAVE_PYTHON] (varobj_get_iterator): New function.
2854 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
2855 python-specific code to python/py-varobj.c.
2856 (install_visualizer): Call varobj_iter_delete instead of
2857 Py_XDECREF.
2858 * varobj.h (varobj_ensure_python_env): Declare.
2859
5a2e0d6e
YQ
28602014-06-12 Yao Qi <yao@codesourcery.com>
2861
2862 * varobj.c (struct varobj_item): New structure.
2863 (create_child_with_value): Update declaration.
2864 (varobj_add_child): Replace arguments 'name' and 'value' with
2865 'item'. All callers updated.
2866 (install_dynamic_child): Likewise.
2867 (update_dynamic_varobj_children): Likewise.
2868 (varobj_add_child): Likewise.
2869 (create_child_with_value): Likewise.
2870
919b9a93
JB
28712014-06-11 Joel Brobecker <brobecker@adacore.com>
2872
2873 * NEWS: Create a new section for the next release branch.
2874 Rename the section of the current branch, now that it has
2875 been cut.
2876
71a55bdf
JB
28772014-06-11 Joel Brobecker <brobecker@adacore.com>
2878
2879 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
2880 * version.in: Bump version to 7.8.50.DATE-cvs.
2881
364fe1f7
PA
28822014-06-11 Pedro Alves <palves@redhat.com>
2883
2884 PR remote/17028
2885 * ser-mingw.c (net_windows_socket_check_pending): New function.
2886 (net_windows_select_thread): Ignore spurious wakeups. Use
2887 net_windows_socket_check_pending.
2888 (net_windows_wait_handle): Check for pending events with
2889 ioctlsocket, through net_windows_socket_check_pending, instead of
2890 checking the socket's event.
2891
5a6c7709
SC
28922014-06-10 Siva Chandra Reddy <sivachandra@google.com>
2893
2894 * python/python-internal.h (gdb_PyObject_GetAttrString)
2895 (gdb_PyObject_HasAttrString): New inline function definitions.
2896 * py-value.c (get_field_flag): Remove the now unnecessary cast to
2897 char * of the second argument to PyObject_GetAttrString.
74228e77 2898
0e58ee40
JB
28992014-06-10 Joel Brobecker <brobecker@adacore.com>
2900
2901 * serial.c (serial_write): Fix index of character to be printed
2902 in call to serial_logchar when serial debug traces are enabled.
2903
d190df30
JB
29042014-06-10 Joel Brobecker <brobecker@adacore.com>
2905
2906 * gdbtypes (resolve_dynamic_range): Add function description.
2907
b4b01d36
PA
29082014-06-09 Pedro Alves <palves@redhat.com>
2909
2910 * linux-nat.c (linux_child_follow_fork): Initialize status with
2911 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
2912 inner block. Only pass the signal to PTRACE_DETACH if in pass
2913 state.
2914
3657956b
GB
29152014-06-09 Gary Benson <gbenson@redhat.com>
2916
2917 * common/signals.c (gdb_signal_from_host): Reorder to separate
2918 the always-available ANSI-standard signals from the signals that
2919 require checking.
2920 (do_gdb_signal_to_host): Likewise.
2921 * proc-events.c (signal_table): Likewise.
2922
c077881a
HZ
29232014-06-08 Hui Zhu <hui@codesourcery.com>
2924
2925 * common/linux-ptrace.c (linux_disable_event_reporting): New
2926 function.
2927 * common/linux-ptrace.h (linux_disable_event_reporting): New
2928 declaration.
2929 * linux-nat.c (linux_child_follow_fork): Do a single step before
2930 detach.
2931
4186eb54
KS
29322014-06-07 Keith Seitz <keiths@redhat.com>
2933
2934 Revert:
2935 PR c++/16253
2936 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
2937 from symbol_matches_domain in symtab.c. All local callers
2938 of symbol_matches_domain updated.
2939 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
2940 search STRUCT_DOMAIN.
2941 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
2942 independently. standard_lookup will do that automatically.
2943 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
2944 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2945 (cp_lookup_symbol_in_namespace): Likewise.
2946 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
2947 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
2948 may return a STRUCT_DOMAIN match.
2949 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
2950 * cp-support.c: Include language.h.
2951 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
2952 VAR_DOMAIN.
2953 * psymtab.c (match_partial_symbol): Compare the requested
2954 domain with the symbol's domain directly.
2955 (lookup_partial_symbol): Likewise.
2956 * symtab.c (lookup_symbol_in_language): Explain when/why
2957 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
2958 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
2959 appropriate languages.
2960 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
2961 and moved to ada-lang.c
2962 (lookup_block_symbol): Explain that this function only returns
2963 symbol matching the requested DOMAIN.
2964 Compare the requested domain with the symbol's domain directly.
2965 (iterate_over_symbols): Compare the requested domain with the
2966 symbol's domain directly.
2967 * symtab.h (symbol_matches_domain): Remove.
2968
25326a28 29692014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
2970
2971 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
2972 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
2973 (gdbscm_guile_version_is_at_least): Declare.
2974 (gdbscm_scm_string_to_int): Declare.
2975 * guile/guile.c (gdbscm_guile_major_version): New global.
2976 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
2977 (guile_datadir): New static global.
2978 (gdbscm_guile_data_directory): New function.
2979 (initialize_scheme_side): Update.
2980 (misc_guile_functions): Add guile-data-directory.
2981 (initialize_gdb_module): Fetch guile version number.
2982 * guile/lib/gdb.scm: Remove call to add-to-load-path.
2983 * guile/lib/gdb/init.scm (%initialize!): Ditto.
2984 * guile/lib/gdb/boot.scm: Use guile-data-directory.
2985 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
2986 comments.
2987 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
2988 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
2989 * guile/scm-value.c (gdbscm_value_to_string): Only call
2990 scm_port_conversion_strategy if Guile version >= 2.0.6.
2991
0a770bb2 29922014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
2993
2994 * main.c (print_gdb_help): Add -q and --silent.
2995
73ba372c
GB
29962014-06-06 Gary Benson <gbenson@redhat.com>
2997
2998 * common/signals.c: Remove preprocessor conditionals for
2999 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3000 SIGSEGV and SIGTERM.
3001 * proc-events.c: Likewise.
3002
c33b2f12
MM
30032014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3004
3005 * symfile.c (symfile_free_objfile): Remove restriction to
3006 OBJF_USERLOADED.
3007 * symfile-mem.c (symbol_file_add_from_memory): Call
3008 add_target_sections_of_objfile.
3009
fb934770
LC
30102014-06-05 Ludovic Courtès <ludo@gnu.org>
3011
3012 * guile/scm-value.c (gdbscm_history_append_x): Use
3013 'vlscm_get_value_smob_arg_unsafe' instead of
3014 'vlscm_scm_to_value'.
3015
6ef284bd
SM
30162014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3017
3018 PR mi/15806
3019 * utils.c (printchar): Don't escape at all if quoter is NUL.
3020 Update function documentation to clarify effect of parameter
3021 QUOTER.
3022 * remote.c (escape_buffer): Pass '\\' as the quoter to
3023 fputstrn_unfiltered.
3024 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3025 generate the output.
3026 (mi_solib_unloaded): Same.
3027
270c9937
JB
30282014-06-05 Joel Brobecker <brobecker@adacore.com>
3029
3030 * development.sh: Delete.
3031 * Makefile.in (config.status): Adjust dependency on development.sh.
3032 * configure.ac: Adjust development.sh source call.
3033 * configure: Regenerate.
3034
16f691fb
DE
30352014-06-04 Doug Evans <xdje42@gmail.com>
3036
3037 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3038 is_scheme_bkpt, spec.
3039 (bpscm_make_breakpoint_smob): Initialize new members.
3040 (gdbscm_create_breakpoint_x): Split into two ...
3041 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3042 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3043 (scheme_function breakpoint_functions): Update.
3044 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3045 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3046 register-breakpoint!.
3047
ef7cab6b
JB
30482014-06-04 Joel Brobecker <brobecker@adacorer.com>
3049
3050 PR server/17023
3051 * mem-break.c (z_type_supported): Return zero if
3052 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3053
012370f6
TT
30542014-06-04 Tom Tromey <tromey@redhat.com>
3055
3056 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3057 value_from_contents_and_address_unresolved.
3058 (ada_template_to_fixed_record_type_1): Likewise.
3059 (ada_which_variant_applies): Likewise.
3060 * value.h (value_from_contents_and_address_unresolved): Declare.
3061 * value.c (value_from_contents_and_address_unresolved): New
3062 function.
3063 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3064 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3065 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3066
92e2a17f
TT
30672014-06-04 Tom Tromey <tromey@redhat.com>
3068
3069 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3070
c0939df1
TT
30712014-06-04 Tom Tromey <tromey@redhat.com>
3072
3073 * procfs.c (procfs_attach): Make "args" const.
3074 * windows-nat.c (windows_attach): Make "args" const.
3075 * nto-procfs.c (procfs_attach): Make "args" const.
3076 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3077 * go32-nat.c (go32_attach): Make "args" const.
3078 * gnu-nat.c (gnu_attach): Make "args" const.
3079 * darwin-nat.c (darwin_attach): Make "args" const.
3080 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3081 * linux-nat.c (linux_nat_attach): Make "args" const.
3082 * remote.c (extended_remote_attach_1, extended_remote_attach):
3083 Make "args" const.
3084 * target.h (struct target_ops) <to_attach>: Make "args" const.
3085 (find_default_attach): Likewise.
3086 * utils.c (parse_pid_to_attach): Make "args" const.
3087 * utils.h (parse_pid_to_attach): Update.
3088
8eaff7cd
TT
30892014-06-04 Tom Tromey <tromey@redhat.com>
3090
3091 * target-delegates.c: Rebuild.
3092 * target.c (default_thread_address_space): New function.
3093 (target_thread_address_space): Simplify.
3094 * target.h (struct target_ops) <to_thread_address_space>: Add
3095 TARGET_DEFAULT_FUNC.
3096
1913f160
DE
30972014-06-04 Doug Evans <xdje42@gmail.com>
3098
3099 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3100
70ad5bff
MM
31012014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3102
3103 * record-btrace.c: Include event-loop.h and inf-loop.h.
3104 (record_btrace_resume_exec_dir)
3105 (record_btrace_async_inferior_event_handler)
3106 (record_btrace_handle_async_inferior_event): New.
3107 (record_btrace_open): Create async event handler.
3108 (record_btrace_close): Delete async event handler.
3109 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3110 Mark async event handler.
3111 (record_btrace_execution_direction): New.
3112 (init_record_btrace_ops): Initialize to_execution_direction.
3113
b6210538
DE
31142014-06-03 Doug Evans <xdje42@gmail.com>
3115
3116 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3117 (gdbscm_make_parameter): Ditto.
3118
a5b1fd27
DE
31192014-06-03 Doug Evans <dje@google.com>
3120
3121 * exec.c (exec_close_1): Call clear_section_table instead of
3122 resize_section_table.
3123 (clear_section_table): New function.
3124 (resize_section_table): Make static. Rename arg num_added to
3125 adjustment.
3126 * exec.h (clear_section_table): Declare.
3127 (resize_section_table): Delete.
3128 * progspace.c (release_program_space): Call clear_section_table
3129 instead of resize_section_table.
3130
0c6e92a5
SC
31312014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3132
3133 * NEWS (Python Scripting): Add entry about the new xmethods
3134 feature.
3135
883964a7
SC
31362014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3137
3138 * python/py-xmethods.c: New file.
3139 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3140 (objfpy_dealloc): XDECREF on the new xmethods field.
3141 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3142 field.
3143 (objfpy_get_xmethods): New function.
3144 (objfile_getset): New entry 'xmethods'.
3145 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3146 (pspy_dealloc): XDECREF on the new xmethods field.
3147 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3148 field.
3149 (pspy_get_xmethods): New function.
3150 (pspace_getset): New entry 'xmethods'.
3151 * python/python-internal.h: Add declarations for new functions.
3152 * python/python.c (_initialize_python): Invoke
3153 gdbpy_initialize_xmethods.
3154 * python/lib/gdb/__init__.py (xmethods): New
3155 attribute.
3156 * python/lib/gdb/xmethod.py: New file.
3157 * python/lib/gdb/command/xmethods.py: New file.
3158
58992dc5
SC
31592014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3160
3161 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3162 best match method returned by find_overload_match is an xmethod.
3163 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3164 the best matching operator returned by find_overload_match is an
3165 xmethod.
3166 * valops.c: #include "extension.h".
3167 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3168 Return void. The list of matching source methods is returned in
3169 "fn_list" and a vector of matching debug method workers is
3170 returned in "xm_worker_vec". Update all callers.
3171 (value_find_oload_method_list): Likewise.
3172 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3173 non-NULL, then the index of the best matching method in this
3174 vector is returned. Update all callers.
3175 (find_overload_match): Include xmethods while performing overload
3176 resolution.
3177
e81e7f5e
SC
31782014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3179
3180 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3181 * extension-priv.h (struct extension_language_ops): Add the
3182 xmethod interface.
3183 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3184 get_matching_xmethod_workers, get_xmethod_argtypes,
3185 invoke_xmethod, free_xmethod_worker,
3186 free_xmethod_worker_vec): New functions.
3187 * extension.h: #include "common/vec.h".
3188 New function declarations.
3189 (struct xmethod_worker): New struct.
3190 (VEC (xmethod_worker_ptr)): New vector type.
3191 (xmethod_worker_ptr): New typedef.
3192 (xmethod_worker_vec): Likewise.
3193 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3194 builtin_type.
3195 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3196 (struct builtin_type): New field "xmethod".
3197 * valarith.c (value_ptradd): Assert that the value argument is not
3198 lval_xcallable.
3199 * valops.c (value_must_coerce_to_target): Return 0 for
3200 lval_xcallable values.
3201 * value.c (struct value): New field XM_WORKER in the field
3202 LOCATION.
3203 (value_address, value_raw_address): Return 0 for lval_xcallable
3204 values.
3205 (set_value_address): Assert that the value is not an
3206 lval_xcallable.
3207 (value_free): Free the associated xmethod worker when freeing
3208 lval_xcallable values.
3209 (set_value_component_location): Assert that the WHOLE value is not
3210 lval_xcallable.
3211 (value_of_xmethod, call_xmethod): New functions.
3212 * value.h: Declare "struct xmethod_worker".
3213 Declare new functions value_of_xmethod, call_xmethod.
3214
ef370185
JB
32152014-06-03 Joel Brobecker <brobecker@adacore.com>
3216 Pedro Alves <palves@redhat.com>
3217
3218 PR breakpoints/17000
3219 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3220 New function, extracted from software_breakpoint_inserted_here_p.
3221 (software_breakpoint_inserted_here_p): Replace factored out code
3222 by call to find_non_raw_software_breakpoint_inserted_here.
3223 (bp_target_info_copy_insertion_state): New function.
3224 (bkpt_insert_location): Handle the case of a single-step
3225 breakpoint already inserted at the same address.
3226 (bkpt_remove_location): Handle the case of a single-step
3227 breakpoint still inserted at the same address.
3228 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3229 breakpoint already inserted at the same address.
3230 (deprecated_remove_raw_breakpoint): Handle the case of a
3231 non-raw breakpoint still inserted at the same address.
3232 (find_single_step_breakpoint): New function, extracted from
3233 single_step_breakpoint_inserted_here_p.
3234 (find_single_step_breakpoint): New function,
3235 factored out from single_step_breakpoint_inserted_here_p.
3236 (single_step_breakpoint_inserted_here_p): Reimplement.
3237
1e2ccb61
BM
32382014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3239
3240 Pushed by Joel Brobecker <brobecker@adacore.com>
3241 * source.c (show_substitute_path_command): Fix display of matching
3242 substitution rules.
3243
d3448d85
GB
32442014-06-03 Gary Benson <gbenson@redhat.com>
3245
3246 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3247
06eb1586
DE
32482014-06-02 Doug Evans <xdje42@gmail.com>
3249
3250 Add parameter support for Guile.
3251 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3252 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3253 (scm-param.o): New rule.
3254 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3255 (gdbscm_misc_error): Declare.
3256 (gdbscm_canonicalize_command_name): Declare.
3257 (gdbscm_scm_to_host_string): Declare.
3258 (gdbscm_scm_from_host_string): Declare.
3259 (gdbscm_initialize_parameters): Declare.
3260 * guile/guile.c (initialize_gdb_module): Call
3261 gdbscm_initialize_parameters.
3262 * guile/lib/gdb.scm: Export parameter symbols.
3263 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3264 cmdscm_canonicalize_name and made public. All callers updated.
3265 * guile/scm-exception.c (gdbscm_misc_error): New function.
3266 * guile/scm-param.c: New file.
3267 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3268 (gdbscm_scm_to_host_string): New function.
3269 (gdbscm_scm_from_host_string): New function.
3270 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3271
e698b8c4
DE
32722014-06-02 Doug Evans <xdje42@gmail.com>
3273
3274 Add command support for Guile.
3275 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3276 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3277 (scm-cmd.o): New rule.
3278 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3279 (gdbscm_user_error_p): Declare.
3280 (gdbscm_parse_command_name): Declare.
3281 (gdbscm_valid_command_class_p): Declare.
3282 (gdbscm_initialize_commands): Declare.
3283 * guile/guile.c (initialize_gdb_module): Call
3284 gdbscm_initialize_commands.
3285 * guile/lib/gdb.scm: Export command symbols.
3286 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3287 (throw-user-error): New function.
3288 * guile/scm-cmd.c: New file.
3289 * guile/scm-exception.c (user_error_symbol): New static global.
3290 (gdbscm_user_error_p): New function.
3291 (gdbscm_initialize_exceptions): Set user_error_symbol.
3292 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3293
fb1f94b0
PM
32942014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3295
3296 * top.c (command_loop): Handle comments here...
3297 (command_line_input): ... not here.
3298
ded03782
DE
32992014-06-02 Doug Evans <xdje42@gmail.com>
3300
3301 Add progspace support for Guile.
3302 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3303 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3304 (scm-progspace.o): New rule.
3305 * guile/guile-internal.h (pspace_smob): New typedef.
3306 (psscm_pspace_smob_pretty_printers): Declare.
3307 (psscm_pspace_smob_from_pspace): Declare.
3308 (psscm_scm_from_pspace): Declare.
3309 * guile/guile.c (initialize_gdb_module): Call
3310 gdbscm_initialize_pspaces.
3311 * guile/lib/gdb.scm: Export progspace symbols.
3312 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3313 support.
3314 (append-pretty-printer!): Ditto.
3315 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3316 Implement.
3317 * guile/scm-progspace.c: New file.
3318
397998fc
AM
33192014-06-03 Alan Modra <amodra@gmail.com>
3320
3321 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3322 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3323
6aa5f3a6
DE
33242014-06-02 Doug Evans <dje@google.com>
3325
3326 Add support for skeletonless type units.
3327 * dwarf2read.c (struct dwarf2_per_objfile): New member
3328 n_allocated_type_units.
3329 (struct dwarf2_per_objfile) <tu_stats>: New member
3330 nr_all_type_units_reallocs.
3331 (create_signatured_type_table_from_index): Initialize
3332 n_allocated_type_units
3333 (create_all_type_units): Ditto.
3334 (add_type_unit): Move up in file. New arg slot.
3335 All callers updated. Increase space for all_type_units more
3336 efficiently.
3337 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3338 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3339 (lookup_dwp_signatured_type): Ditto.
3340 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3341 All callers updated.
3342 (build_type_psymtabs_1): Leave type_unit_groups as
3343 NULL if no TUs present.
3344 (print_tu_stats): New function.
3345 (process_skeletonless_type_unit): New function.
3346 (process_dwo_file_for_skeletonless_type_units): New
3347 function.
3348 (process_skeletonless_type_units): New function.
3349 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3350 Call print tu_stats if debugging enabled.
3351
41fac0cf
PA
33522014-06-02 Pedro Alves <palves@redhat.com>
3353
3354 * breakpoint.c (build_target_command_list): Don't build a command
3355 list if we have any duplicate location that isn't a dprintf.
3356
cd1608cc
PA
33572014-06-02 Pedro Alves <palves@redhat.com>
3358
3359 * breakpoint.c (dprintf_breakpoint_hit): New function.
3360 (initialize_breakpoint_ops): Install it as dprintf's
3361 breakpoint_hit method.
3362
486ef3b9
JB
33632014-06-02 Joel Brobecker <brobecker@adacore.com>
3364
3365 * source.c (substitute_path_rule_matches): Simplify using
3366 filename_ncmp instead of FILENAME_CMP.
3367
230cd560
JB
33682014-06-02 Joel Brobecker <brobecker@adacore.com>
3369
3370 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3371
16954d5d
LC
33722014-06-01 Ludovic Courtès <ludo@gnu.org>
3373
3374 * configure.ac: When Guile is available, check for the
3375 availability of 'scm_new_smob'.
3376 * configure, config.h.in: Regenerate.
3377 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3378 function.
3379
53e8a631
AB
33802014-05-30 Andrew Burgess <aburgess@broadcom.com>
3381
3382 * frame.c (struct frame_info): Add stop_string field.
3383 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3384 (get_prev_frame_always): Old content moved into
3385 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3386 TRY_CATCH, handle MEMORY_ERROR exceptions.
3387 (frame_stop_reason_string): New function definition.
3388 * frame.h (unwind_stop_reason_to_string): Extend comment to
3389 mention frame_stop_reason_string.
3390 (frame_stop_reason_string): New function declaration.
3391 * stack.c (frame_info): Switch to frame_stop_reason_string.
3392 (backtrace_command_1): Switch to frame_stop_reason_string.
3393 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3394 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3395 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3396
70e38b8e
AB
33972014-05-30 Andrew Burgess <aburgess@broadcom.com>
3398
3399 * frame.c (frame_stop_reason_string): Rename to ...
3400 (unwind_stop_reason_to_string): this.
3401 * frame.h (frame_stop_reason_string): Rename to ...
3402 (unwind_stop_reason_to_string): this.
3403 * stack.c (frame_info): Update call to frame_stop_reason_string.
3404 (backtrace_command_1): Likewise.
3405 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3406 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3407
938f0e2f
AB
34082014-05-30 Andrew Burgess <aburgess@broadcom.com>
3409
3410 * frame.c (remove_prev_frame): New function.
3411 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3412 remove_prev_frame.
3413
a09dd441
PA
34142014-05-29 Pedro Alves <palves@redhat.com>
3415
3416 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3417 and make it const. When a single-step decays to a continue,
3418 clear 'step', not 'hw_step'. Pass whether the caller wanted
3419 to step to user_visible_resume_ptid, not what we ask the
3420 target to do.
3421
bdc36728
PA
34222014-05-29 Pedro Alves <palves@redhat.com>
3423
3424 * infrun.c (process_event_stop_test, handle_step_into_function)
3425 (handle_step_into_function_backward): Adjust.
3426 Don't set the even thread's stop_step and call stop_waiting before
3427 calling end_stepping_range. Instead do that ...
3428 (end_stepping_range): ... here. Take an ecs pointer parameter.
3429
22bcd14b
PA
34302014-05-29 Pedro Alves <palves@redhat.com>
3431
3432 * infrun.c (stop_stepping): Rename to ...
3433 (stop_waiting): ... this.
3434 (proceed): Update comment.
3435 (process_event_stop_test, handle_inferior_event)
3436 (handle_signal_stop, handle_step_into_function)
3437 (handle_step_into_function_backward): Update.
3438
4ae57c05
PA
34392014-05-29 Pedro Alves <palves@redhat.com>
3440
3441 * infcall.c (run_inferior_call): Don't check whether the current
3442 thread is running after the proceed call.
3443
329ea579
PA
34442014-05-29 Pedro Alves <palves@redhat.com>
3445 Tom Tromey <tromey@redhat.com>
3446
3447 * NEWS: Mention "maint set target-async", "set mi-async", and that
3448 background execution commands are now always available.
3449 * target.h (target_async_permitted): Update comment.
3450 * target.c (target_async_permitted, target_async_permitted_1):
3451 Default to 1.
3452 (set_target_async_command): Rename to ...
3453 (maint_set_target_async_command): ... this.
3454 (show_target_async_command): Rename to ...
3455 (maint_show_target_async_command): ... this.
3456 (_initialize_target): Adjust.
3457 * infcmd.c (prepare_execution_command): Make extern.
3458 * inferior.h (prepare_execution_command): Declare.
3459 * infrun.c (set_observer_mode): Leave target async alone.
3460 * mi/mi-interp.c (mi_interpreter_init): Install
3461 mi_on_sync_execution_done as sync_execution_done observer.
3462 (mi_on_sync_execution_done): New function.
3463 (mi_execute_command_input_handler): Don't print the prompt if we
3464 just started a synchronous command with an async target.
3465 (mi_on_resume): Check sync_execution before printing prompt.
3466 * mi/mi-main.h (mi_async_p): Declare.
3467 * mi/mi-main.c: Include gdbcmd.h.
3468 (mi_async_p): New function.
3469 (mi_async, mi_async_1): New globals.
3470 (set_mi_async_command, show_mi_async_command, mi_async): New
3471 functions.
3472 (exec_continue): Call prepare_execution_command.
3473 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3474 (mi_execute_async_cli_command): Use mi_async_p.
3475 (_initialize_mi_main): Install "set mi-async". Make
3476 "target-async" a deprecated alias.
3477
92bcb5f9
PA
34782014-05-29 Pedro Alves <palves@redhat.com>
3479
3480 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3481 (_initialize_cli_interp): Adjust.
3482 * event-loop.c: Include "observer.h".
3483 (start_event_loop): Notify 'command_error' observers instead of
3484 calling display_gdb_prompt. Remove FIXME comment.
3485 * event-top.c (display_gdb_prompt): Remove call into the
3486 interpreters.
3487 * inf-loop.c: Include "observer.h".
3488 (inferior_event_handler): Notify 'command_error' observers instead
3489 of calling display_gdb_prompt.
3490 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3491 observers instead of calling display_gdb_prompt.
3492 * interps.c (interp_set): Don't call display_gdb_prompt.
3493 (current_interp_display_prompt_p): Delete.
3494 * interps.h (interp_prompt_p): Delete declaration.
3495 (interp_prompt_p_ftype): Delete.
3496 (struct interp_procs) <prompt_proc_p>: Delete field.
3497 (current_interp_display_prompt_p): Delete declaration.
3498 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3499 (_initialize_mi_interp): Adjust.
3500 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3501 'command_error' observers.
3502 (tui_on_sync_execution_done, tui_on_command_error): New
3503 functions.
3504 (tui_display_prompt_p): Delete.
3505 (_initialize_tui_interp): Adjust.
3506
fd664c91
PA
35072014-05-29 Pedro Alves <palves@redhat.com>
3508
3509 PR gdb/13860
3510 * cli/cli-interp.c: Include infrun.h and observer.h.
3511 (cli_uiout, cli_interp): New globals.
3512 (cli_on_signal_received, cli_on_end_stepping_range)
3513 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3514 functions.
3515 (cli_interpreter_init): Install them as 'end_stepping_range',
3516 'signal_received' 'signal_exited', 'exited' and 'no_history'
3517 observers.
3518 (_initialize_cli_interp): Remove cli_interp local.
3519 * infrun.c (handle_inferior_event): Call the several stop reason
3520 observers instead of printing the stop reason directly.
3521 (end_stepping_range): New function.
3522 (print_end_stepping_range_reason, print_signal_exited_reason)
3523 (print_exited_reason, print_signal_received_reason)
3524 (print_no_history_reason): Make static, and add an uiout
3525 parameter. Print to that instead of to CURRENT_UIOUT.
3526 * infrun.h (print_end_stepping_range_reason)
3527 (print_signal_exited_reason, print_exited_reason)
3528 (print_signal_received_reason print_no_history_reason): New
3529 declarations.
3530 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3531 'mi_uiout'.
3532 <cli_uiout>: New field.
3533 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3534 uiout for CLI output. Install 'signal_received',
3535 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3536 observers.
3537 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3538 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3539 (mi_on_no_history): New functions.
3540 (ui_out_free_cleanup): Delete function.
3541 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3542 instead use the one already stored in the MI interpreter data.
3543 (mi_ui_out): Adjust.
3544 * tui/tui-interp.c: Include infrun.h and observer.h.
3545 (tui_interp): New global.
3546 (tui_on_signal_received, tui_on_end_stepping_range)
3547 (tui_on_signal_exited, tui_on_exited)
3548 (tui_on_no_history): New functions.
3549 (tui_init): Install them as 'end_stepping_range',
3550 'signal_received' 'signal_exited', 'exited' and 'no_history'
3551 observers.
3552 (_initialize_tui_interp): Delete tui_interp local.
3553
8817a6f2
PA
35542014-05-29 Pedro Alves <palves@redhat.com>
3555
3556 PR gdb/15713
3557 * linux-nat.c (linux_nat_resume_callback): Rename the second
3558 parameter to 'except'. Skip LP if it points to EXCEPT.
3559 (linux_nat_resume): Don't mark the event lwp as not stopped
3560 before resuming sibling lwps. Instead ask
3561 linux_nat_resume_callback to skip the event lwp. Mark it as not
3562 stopped after actually resuming it.
3563 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3564 resuming it.
3565 (wait_lwp): Mark the lwp as stopped here.
3566 (stop_wait_callback): Mark the lwp as not stopped right after
3567 resuming it. Don't mark lwps as stopped here.
3568 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3569 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3570
251bde03
PA
35712014-05-29 Pedro Alves <palves@redhat.com>
3572
3573 PR PR15693
3574 * infrun.c (resume): Determine how much to resume depending on
3575 whether the caller wanted a step, not whether we can hardware step
3576 the target. Mark all threads that we intend to run as running,
3577 unless we're calling an inferior function.
3578 (normal_stop): If the thread is running an infcall, don't finish
3579 thread state.
3580 * target.c (target_resume): Don't mark threads as running here.
3581
7f3c0343
JB
35822014-05-28 Joel Brobecker <brobecker@adacore.com>
3583
3584 * serial.c (_initialize_serial): Remove support for
3585 the "set remotebaud" and "show remotebaud" commands.
3586 * NEWS: Add entry documenting the removal of that command.
3587
ee34b3f9
YQ
35882014-05-28 Yao Qi <yao@codesourcery.com>
3589
3590 * charset.c: Fix typo in comments.
3591
add6c04d
GB
35922014-05-27 Gary Benson <gbenson@redhat.com>
3593
3594 * utils.c (internal_vproblem): Prompt for a bug report.
3595
92c48fc5
AW
35962014-05-26 Andy Wingo <wingo@igalia.com>
3597
3598 * guile/scm-arch.c (arscm_mark_arch_smob):
3599 * guile/scm-block.c (bkscm_mark_block_smob)
3600 (bkscm_mark_block_syms_progress_smob):
3601 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3602 * guile/scm-exception.c (exscm_mark_exception_smob):
3603 * guile/scm-frame.c (frscm_mark_frame_smob):
3604 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3605 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3606 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3607 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3608 (ppscm_mark_pretty_printer_worker_smob):
3609 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3610 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3611 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3612 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3613 mark functions.
3614 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3615 function.
3616
b2715b27
AW
36172014-05-26 Andy Wingo <wingo@igalia.com>
3618 Doug Evans <xdje42@gmail.com>
3619
3620 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3621 empty_base_class. All uses updated.
3622 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3623 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3624 Adapt all callers.
3625 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3626 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3627 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3628 (gdbscm_gsmob_has_property_p, add_property_name)
3629 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3630 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3631 (gdb-object-has-property?, gdb-object-properties): Remove.
3632 (gdb-object-kind): Renamed from gsmob-kind.
3633
214ab2da
AW
36342014-05-26 Andy Wingo <wingo@igalia.com>
3635
3636 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3637 * configure: Regenerate.
3638
589fdceb
MM
36392014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3640
3641 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3642
67b5c0c1
MM
36432014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3644
3645 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3646 (replay_memory_access_read_only, replay_memory_access_read_write)
3647 (replay_memory_access_types, replay_memory_access)
3648 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3649 (cmd_set_record_btrace, cmd_show_record_btrace)
3650 (cmd_show_replay_memory_access): New.
3651 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3652 (record_btrace_remove_breakpoint): Replace
3653 record_btrace_allow_memory_access with replay_memory_access.
3654 (_initialize_record_btrace): Add commands.
3655 * NEWS: Announce it.
3656
036cd381
RR
36572014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3658
3659 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3660
c77c1e42
RR
36612014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3662
3663 * MAINTAINERS (Write After Approval): Move self back from
3664 paper trail.
3665
45741a9c
PA
36662014-05-22 Pedro Alves <palves@redhat.com>
3667
3668 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3669 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3670 (disable_randomization, enum exec_direction_kind)
3671 (execution_direction, stop_registers, start_remote)
3672 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3673 (wait_for_inferior, normal_stop, get_last_target_status)
3674 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3675 (insert_step_resume_breakpoint_at_sal)
3676 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3677 (set_step_info, print_stop_event, signal_stop_state)
3678 (signal_print_state, signal_pass_state, signal_stop_update)
3679 (signal_print_update, signal_pass_update)
3680 (update_signals_program_target, clear_exit_convenience_vars)
3681 (displaced_step_dump_bytes, update_observer_mode)
3682 (signal_catch_update, gdb_signal_from_command): Move
3683 declarations ...
3684 * infrun.h: ... to this new file.
3685 * amd64-tdep.c: Include infrun.h.
3686 * annotate.c: Include infrun.h.
3687 * arch-utils.c: Include infrun.h.
3688 * arm-linux-tdep.c: Include infrun.h.
3689 * arm-tdep.c: Include infrun.h.
3690 * break-catch-sig.c: Include infrun.h.
3691 * breakpoint.c: Include infrun.h.
3692 * common/agent.c: Include infrun.h instead of inferior.h.
3693 * corelow.c: Include infrun.h.
3694 * event-top.c: Include infrun.h.
3695 * go32-nat.c: Include infrun.h.
3696 * i386-tdep.c: Include infrun.h.
3697 * inf-loop.c: Include infrun.h.
3698 * infcall.c: Include infrun.h.
3699 * infcmd.c: Include infrun.h.
3700 * infrun.c: Include infrun.h.
3701 * linux-fork.c: Include infrun.h.
3702 * linux-nat.c: Include infrun.h.
3703 * linux-thread-db.c: Include infrun.h.
3704 * monitor.c: Include infrun.h.
3705 * nto-tdep.c: Include infrun.h.
3706 * procfs.c: Include infrun.h.
3707 * record-btrace.c: Include infrun.h.
3708 * record-full.c: Include infrun.h.
3709 * remote-m32r-sdi.c: Include infrun.h.
3710 * remote-mips.c: Include infrun.h.
3711 * remote-notif.c: Include infrun.h.
3712 * remote-sim.c: Include infrun.h.
3713 * remote.c: Include infrun.h.
3714 * reverse.c: Include infrun.h.
3715 * rs6000-tdep.c: Include infrun.h.
3716 * s390-linux-tdep.c: Include infrun.h.
3717 * solib-irix.c: Include infrun.h.
3718 * solib-osf.c: Include infrun.h.
3719 * solib-svr4.c: Include infrun.h.
3720 * target.c: Include infrun.h.
3721 * top.c: Include infrun.h.
3722 * windows-nat.c: Include infrun.h.
3723 * mi/mi-interp.c: Include infrun.h.
3724 * mi/mi-main.c: Include infrun.h.
3725 * python/py-threadevent.c: Include infrun.h.
3726
98eb56a4
PA
37272014-05-22 Pedro Alves <palves@redhat.com>
3728
3729 * infrun.c (handle_inferior_event): Store the exit code for
3730 --return-child-result here, instead of ...
3731 (print_exited_reason): ... here.
3732
17b2616c
PA
37332014-05-21 Pedro Alves <palves@redhat.com>
3734
3735 PR gdb/13860
3736 * gdbthread.h (struct thread_control_state): New field
3737 `command_interp'.
3738 * infrun.c (follow_fork): Copy the new thread control field to the
3739 child fork thread.
3740 (clear_proceed_status_thread): Clear the new thread control field.
3741 (proceed): Set the new thread control field.
3742 * interps.h (command_interp): Declare.
3743 * interps.c (command_interpreter): New global.
3744 (command_interp): New function.
3745 (interp_exec): Set `command_interpreter' while here.
3746 * cli-out.c (cli_uiout_dtor): New function.
3747 (cli_ui_out_impl): Install it.
3748 * mi/mi-interp.c: Include cli-out.h.
3749 (mi_cmd_interpreter_exec): Add comment.
3750 (restore_current_uiout_cleanup): New function.
3751 (ui_out_free_cleanup): New function.
3752 (mi_on_normal_stop): If finishing an execution command started by
3753 a CLI command, or any kind of breakpoint-like event triggered,
3754 print the stop event to the output (CLI) stream.
3755 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3756
5166082f
PA
37572014-05-21 Pedro Alves <palves@redhat.com>
3758
3759 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3760 current source line having changed.
3761 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3762 * infrun.c (normal_stop): Adjust call to
3763 set_current_sal_from_frame.
3764 * source.c (clear_lines_listed_range): New function.
3765 (set_current_source_symtab_and_line, identify_source_line): Clear
3766 the lines listed range.
3767 (line_info): Handle the first "info line" after the current source
3768 line having changed.
3769 * stack.c (print_stack_frame): Remove center handling.
3770 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3771 center sal.line.
3772
c1ee2fb3
PA
37732014-05-21 Pedro Alves <palves@redhat.com>
3774
3775 * inf-child.c (inf_child_mourn_inferior): New function.
3776 * inf-child.h (inf_child_mourn_inferior): New declaration.
3777 * darwin-nat.c (darwin_mourn_inferior): Use
3778 inf_child_mourn_inferior.
3779 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3780 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3781 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3782 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3783 * windows-nat.c (windows_mourn_inferior): Likewise.
3784
5c6d4fb2
DE
37852014-05-21 Doug Evans <xdje42@gmail.com>
3786
250748cb 3787 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 3788
4a2722c5
DE
37892014-05-21 Doug Evans <xdje42@gmail.com>
3790
17292b30 3791 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
3792 (gdbscm_out_of_range_error): Ditto.
3793 (gdbscm_memory_error): Ditto.
250748cb
DE
3794 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3795 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
3796 (gdbscm_out_of_range_error): Update.
3797 (gdbscm_memory_error): Update.
3798 (gdbscm_scm_to_target_string_unsafe): Delete.
3799
6a3cb8e8
PA
38002014-05-21 Pedro Alves <palves@redhat.com>
3801
3802 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3803 globals.
3804 (inf_child_open_target): New function.
3805 (inf_child_open): Use inf_child_open_target to push the target
3806 instead of erroring out.
3807 (inf_child_disconnect, inf_child_close)
3808 (inf_child_maybe_unpush_target): New functions.
3809 (inf_child_target): Install inf_child_disconnect and
3810 inf_child_close. Store a pointer to the returned object.
3811 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
3812 declarations.
3813 * target.c (auto_connect_native_target): New global.
3814 (show_default_run_target): New function.
3815 (find_default_run_target): Return NULL if automatically connecting
3816 to the native target is disabled.
3817 (_initialize_target): Install set/show auto-connect-native-target.
3818 * NEWS: Mention "set auto-connect-native-target", and "target
3819 native".
3820 * linux-nat.c (super_close): New global.
3821 (linux_nat_close): Call super_close.
3822 (linux_nat_add_target): Store a pointer to the base class's
3823 to_close method.
3824 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
3825 inf_child_maybe_unpush.
3826 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
3827 already pushed.
3828 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
3829 the inferior. Use inf_child_maybe_unpush_target.
3830 (inf_ttrace_attach): Don't push the target if it is already
3831 pushed.
3832 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
3833 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
3834 after mourning the inferior. Use inf_child_maybe_unpush_target.
3835 (darwin_attach_pid): Don't push the target if it is already
3836 pushed.
3837 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
3838 mourning the inferior. Use inf_child_maybe_unpush_target.
3839 (gnu_detach): Use inf_child_maybe_unpush_target.
3840 * go32-nat.c (go32_create_inferior): Don't push the target if it
3841 is already pushed.
3842 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
3843 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
3844 (procfs_open): Rename to ...
3845 (procfs_open_1): ... this. Add target_ops parameter. Adjust
3846 comments. Can target_preopen before changing node. Call
3847 inf_child_open_target to push the target explicitly.
3848 (procfs_attach): Don't push the target if it is already pushed.
3849 (procfs_detach): Use inf_child_maybe_unpush_target.
3850 (procfs_create_inferior): Don't push the target if it is already
3851 pushed.
3852 (nto_native_ops): New global.
3853 (procfs_open): Reimplement.
3854 (procfs_native_open): New function.
3855 (init_procfs_targets): Install procfs_native_open as to_open of
3856 "target native". Store a pointer to the "native" target in
3857 nto_native_ops.
3858 * procfs.c (procfs_attach): Don't push the target if it is already
3859 pushed.
3860 (procfs_detach): Use inf_child_maybe_unpush_target.
3861 (procfs_mourn_inferior): Only unpush the target after mourning the
3862 inferior. Use inf_child_maybe_unpush_target.
3863 (procfs_init_inferior): Don't push the target if it is already
3864 pushed.
3865 * windows-nat.c (do_initial_windows_stuff): Don't push the target
3866 if it is already pushed.
3867
930ee1b1
PA
38682014-05-21 Pedro Alves <palves@redhat.com>
3869
3870 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
3871 and "procfs" targets are now called "native" instead.
3872
1f5d1b13
PA
38732014-05-21 Pedro Alves <palves@redhat.com>
3874
3875 * go32-nat.c (go32_open): Delete.
3876 (go32_target): Don't override the to_open method.
3877
132f8e03
PA
38782014-05-21 Pedro Alves <palves@redhat.com>
3879
3880 * nto-procfs.c (procfs_can_run): New function.
3881 (nto_procfs_ops): New global.
3882 (init_procfs_targets): New, based on procfs_target. Install
3883 "target native" in addition to "target procfs".
3884 (_initialize_procfs): Call init_procfs_targets instead of adding
3885 the target here.
3886
03c136c3
PA
38872014-05-21 Pedro Alves <palves@redhat.com>
3888
3889 * windows-nat.c (windows_target): Don't override to_shortname,
3890 to_longname or to_doc.
3891
a635d0f3
PA
38922014-05-21 Pedro Alves <palves@redhat.com>
3893
3894 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
3895 to_doc.
3896
4f9b5133
PA
38972014-05-21 Pedro Alves <palves@redhat.com>
3898
3899 * darwin-nat.c (_initialize_darwin_inferior): Don't override
3900 to_shortname, to_longname or to_doc.
3901
bc85afde
PA
39022014-05-21 Pedro Alves <palves@redhat.com>
3903
3904 * go32-nat.c (go32_target): Don't override to_shortname,
3905 to_longname or to_doc.
3906
4ebfc96e
PA
39072014-05-21 Pedro Alves <palves@redhat.com>
3908
3909 * inf-child.c (inf_child_open): Remove mention of "child".
3910 (inf_child_target): Rename target to "native" instead of "child".
3911
2648dfed
AA
39122014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3913
3914 * Makefile.in (SFILES): Delete "regset.c".
3915 (COMMON_OBS): Delete "regset.o".
3916 * regset.c: Remove.
3917 * regset.h (regset_alloc): Delete prototype.
3918
b13feb94
AA
39192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3920
3921 * sparc-linux-tdep.c (sparc32_linux_gregset)
3922 (sparc32_linux_fpregset): New static regset structures.
3923 (sparc32_linux_init_abi): Drop dynamic regset allocations.
3924 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
3925 'fpregset' fields.
3926 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
3927 (sparc64_linux_fpregset): New static regset structures.
3928 (sparc64_linux_init_abi): Drop dynamic regset allocations.
3929 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
3930 New static regset structures.
3931 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
3932 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
3933 New static regset structures.
3934 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
3935 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
3936 New static regset structures.
3937 (sparc64obsd_init_abi): Drop dynamic regset allocations.
3938 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
3939 New static regset structures.
3940 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
3941
b4fd25c9
AA
39422014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3943
3944 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
3945 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
3946 register maps ("regmaps") from "*regset" to "*regmap". Do this
3947 for all regmap types and variables.
3948 * sparc-linux-tdep.c (sparc32_linux_step_trap)
3949 (sparc32_linux_supply_core_gregset)
3950 (sparc32_linux_collect_core_gregset)
3951 (sparc32_linux_supply_core_fpregset)
3952 (sparc32_linux_collect_core_fpregset): Likewise.
3953 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
3954 (sparc_gregmap, sparc_fpregmap): ... these.
3955 (sparc_supply_gregset, sparc_collect_gregset)
3956 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3957 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
3958 (_initialize_sparc_nat): Rename regmaps.
3959 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
3960 (sparc_gregmap, sparc_fpregmap): ... these.
3961 (sparc_supply_gregset, sparc_collect_gregset)
3962 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
3963 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
3964 Rename macros to...
3965 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
3966 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
3967 Likewise.
3968 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
3969 Rename to...
3970 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
3971 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
3972 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
3973 regmaps.
3974 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
3975 (sparc32_bsd_fpregset): Rename to...
3976 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
3977 (sparc32_bsd_fpregmap): ... these.
3978 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
3979 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
3980 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
3981 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
3982 (struct sparc_gregmap, struct sparc_fpregmap)
3983 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
3984 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
3985 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
3986 (sparc32_supply_regset, sparc32_collect_gregset)
3987 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
3988 prototypes.
3989 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
3990 (sparc64_linux_ptrace_gregmap): ... this.
3991 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
3992 (_initialize_sparc64_linux_nat): Rename regmaps.
3993 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
3994 (sparc64_linux_core_gregmap): ... this.
3995 (sparc64_linux_supply_core_gregset)
3996 (sparc64_linux_collect_core_gregset)
3997 (sparc64_linux_supply_core_fpregset)
3998 (sparc64_linux_collect_core_fpregset): Rename regmaps.
3999 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4000 (sparc64_sol2_fpregset): Rename to...
4001 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4002 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4003 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4004 regmaps.
4005 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4006 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4007 (sparc64_bsd_fpregset): Rename to...
4008 (struct sparc_gregmap, sparc64_sol2_gregmap)
4009 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4010 (sparc64_bsd_fpregmap): ... these.
4011 (sparc64_supply_gregset, sparc64_collect_gregset)
4012 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4013 prototypes.
4014 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4015 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4016 (sparc64fbsd_gregmap): ... this.
4017 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4018 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4019 Rename regmaps.
4020 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4021 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4022 (sparc64nbsd_collect_fpregset): Likewise.
4023 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4024 (sparc64nbsd_gregmap): ... this.
4025 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4026 regmaps.
4027 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4028 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4029 (sparc64obsd_gregmap): ... this.
4030 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4031 regmaps.
4032 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4033 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4034 (sparc32nbsd_gregmap): ... this.
4035 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4036 regmaps.
4037
8fea3224
AA
40382014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4039
4040 * score-tdep.c (score7_linux_gregset): New static regset
4041 structure.
4042 (score7_linux_regset_from_core_section): Remove dynamic regset
4043 allocation.
4044 (score_gdbarch_init): Drop allocation of tdep structure.
4045 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4046
24534243
AA
40472014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4048
4049 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4050 regset structures.
4051 (am33_regset_from_core_section): Remove dynamic regset
4052 allocations.
4053
b7195f27
AA
40542014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4055
4056 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4057 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4058 structures.
4059 (mips_linux_regset_from_core_section): Remove dynamic regset
4060 allocations.
4061 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4062 'gregset64', 'fpregset', and 'fpregset64'.
4063 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4064 deleted tdep fields.
4065
ecc37a5a
AA
40662014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4067
4068 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4069 regset structures.
4070 (amd64_regset_from_core_section): Remove dynamic regset
4071 allocations.
4072 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4073 structure.
4074 (amd64obsd_regset_from_core_section): Remove dynamic regset
4075 allocation.
4076 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4077 Likewise.
4078 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4079 x86-common regset supply function.
4080 * i386-tdep.c (i386_collect_gregset): Make static.
4081 (i386_gregset): New global regset structure.
4082 (i386_fpregset, i386_xstateregset): New static regset structures.
4083 (i386_regset_from_core_section): Remove dynamic regset
4084 allocations.
4085 (i386_gdbarch_init): Remove initialization of tdep fields
4086 'gregset', 'fpregset', and 'xstateregset'.
4087 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4088 'fpregset', and 'xstateregset'.
4089 (i386_collect_gregset): Remove prototype.
4090 (i386_gregset): New declaration.
4091 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4092 structure.
4093 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4094 allocation.
4095
b7611c43
AA
40962014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4097
4098 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4099 (arm_linux_vfpregset): New static regset structures.
4100 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4101 regset structures.
4102 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4103 and 'vfpregset' fields.
4104
a069a2bd
AA
41052014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4106
4107 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4108 (aarch64_linux_fpregset): New static regset structures.
4109 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4110 of regset structures.
4111 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4112 'fpregset' fields.
4113
09424cff
AA
41142014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4115
4116 * regset.h (struct regset): Remove gdbarch field.
4117 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4118 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4119 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4120 Likewise.
4121 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4122 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4123 (ppc32_linux_vsxregset): Likewise.
4124 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4125 via the regcache instead of the regset.
4126 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4127 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4128 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4129 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4130 Likewise.
4131
3ca7dae4
AA
41322014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4133
4134 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4135 Constify structures.
4136 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4137 (alphanbsd_aout_gregset): Likewise.
4138 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4139 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4140 Likewise.
4141 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4142 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4143 Likewise.
4144 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4145 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4146 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4147 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4148 * m88k-tdep.c (m88k_gregset): Likewise.
4149 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4150 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4151 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4152 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4153 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4154 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4155 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4156 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4157 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4158 Likewise.
4159 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4160 * sh-tdep.h (sh_corefile_gregset): Likewise.
4161 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4162 * vax-tdep.c (vax_gregset): Likewise.
4163
5876f503
JK
41642014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4165
4166 Fix TLS access for -static -pthread.
4167 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4168 (try_thread_db_load_1): Initialize it.
4169 (thread_db_get_thread_local_address): Call it if LM is zero.
4170 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4171 * target.h (struct target_ops) (to_get_thread_local_address): Add
4172 load_module_addr comment.
4173
0256a6ac
PA
41742014-05-21 Pedro Alves <palves@redhat.com>
4175
4176 * dcache.c (dcache_read_memory_partial): If reading the cache line
4177 fails, fallback to reading just the memory the caller wanted.
4178
227533ac
DE
41792014-05-20 Doug Evans <dje@google.com>
4180
4181 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4182 instead of get_current_arch.
4183
936d2992
PA
41842014-05-20 Pedro Alves <palves@redhat.com>
4185
4186 * NEWS: Mention that compare-sections now works with all targets.
4187
4188 * remote.c (PACKET_qCRC): New enum value.
4189 (remote_verify_memory): Don't send qCRC if the target has no
4190 execution. Use packet_support/packet_ok. If the target doesn't
4191 support the qCRC packet, fallback to a deep memory copy.
4192 (compare_sections_command): Say "target image" instead of "remote
4193 executable".
4194 (_initialize_remote): Add PACKET_qCRC to the list of config
4195 packets that have no associated command. Extend comment.
4196 * target.c (simple_verify_memory, default_verify_memory): New
4197 function.
4198 * target.h (struct target_ops) <to_verify_memory>: Default to
4199 default_verify_memory.
4200 (simple_verify_memory): New declaration.
4201 * target-delegates.c: Regenerate.
4202
e59fa00f
MM
42032014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4204
4205 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4206
f2205de0
HZ
42072014-05-20 Hui Zhu <hui@codesourcery.com>
4208 Yao Qi <yao@codesourcery.com>
4209
4210 PR backtrace/16558
4211 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4212 and change address of sp and pc.
4213
c4e54771
TT
42142014-05-19 Tom Tromey <tromey@redhat.com>
4215
4216 * gdbtypes.c (rank_function): Use XNEWVEC.
4217 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4218
73051182
DE
42192014-05-19 Doug Evans <dje@google.com>
4220
4221 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4222 build_type_unit_groups and moved closer to only caller. Remove
4223 arguments. All references updated. Remove outdated .gdb_index
4224 comment.
4225 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4226 build_type_psymtabs_1.
4227
8832e7e3
DE
42282014-05-19 Doug Evans <dje@google.com>
4229
4230 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4231 n_type_unit_groups, all_type_unit_groups. All uses removed.
4232 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4233 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4234 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4235 (add_type_unit_group_to_table): Delete.
4236
cd8ae15e
DE
42372014-05-19 Doug Evans <dje@google.com>
4238
4239 * eval.c (evaluate_subexp_standard): Add some comments.
4240
08f4850b
DE
42412014-05-17 Doug Evans <xdje42@gmail.com>
4242
4243 * progspace.c (remove_program_space): Delete, unused.
4244 * progspace.h (remove_program_space): Ditto.
4245
bed8455c
DE
42462014-05-17 Doug Evans <xdje42@gmail.com>
4247
4248 * inferior.c (prune_inferiors): Fix comment.
4249 (remove_inferior_command): Call prune_program_spaces.
4250
8d551b02
DE
42512014-05-16 Doug Evans <dje@google.com>
4252
4253 New command line option -D.
4254 * NEWS: Mention it.
4255 * main.c (set_gdb_data_directory): New function.
4256 (captured_main): Recognize -D. Flag error for --data-directory "".
4257 Call set_gdb_data_directory.
4258 (print_gdb_help): Print --data-directory, -D.
4259 * main.h (set_gdb_data_directory): Declare.
4260 * top.c (staged_gdb_datadir): New static global.
4261 (set_gdb_datadir): Call set_gdb_data_directory
4262 (show_gdb_datadir): New function.
4263 (init_main): Update init of data-directory parameter.
4264
18848e28
GF
42652014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4266
4267 Import the "dirfd" gnulib module.
4268 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4269 * gnulib/aclocal.m4: Update.
4270 * gnulib/config.in: Update.
4271 * gnulib/configure: Update.
4272 * gnulib/import/Makefile.am: Update.
4273 * gnulib/import/Makefile.in: Update.
4274 * gnulib/import/dirfd.c: New.
4275 * gnulib/import/m4/dirfd.m4: New.
4276 * gnulib/import/m4/gnulib-cache.m4: Update.
4277 * gnulib/import/m4/gnulib-comp.m4: Update.
4278
95c64f92
YQ
42792014-05-16 Pierre Muller <muller@sourceware.org>
4280 Yao Qi <yao@codesourcery.com>
4281
4282 * valprint.c (print_wchar): Move the code on checking whether
4283 W is a printable wide char to the default branch of switch
4284 statement below. Call wchar_printable instead of gdb_iswprint.
4285
cac395ea
TM
42862014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4287
19679eca 4288 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4289 ldr.w and ldrd instructions.
4290
83655187
DE
42912014-05-15 Doug Evans <dje@google.com>
4292
4293 * dwarf2read.c (read_structure_type): Delete outdated comments.
4294
dd756689
TT
42952014-05-14 Tom Tromey <tromey@redhat.com>
4296
4297 * macrocmd.c (print_macro_definition): Reindent.
4298
75ddda77
DE
42992014-05-13 Doug Evans <xdje42@gmail.com>
4300
4301 * python/py-cmd.c (cmdpy_completer): Add comment.
4302 (completers): Make const.
4303
b0f16a3e
SM
43042014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4305
4306 * infrun.c (resume): Remove should_resume (unused). Move up
4307 declaration of resume_ptid.
4308
033c3379
TT
43092014-05-13 Tom Tromey <tromey@redhat.com>
4310
4311 * language.h (unop_type_check): Remove.
4312 (binop_type_check): Don't declare.
4313
9b44a3a5
AA
43142014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4315
4316 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4317 call to regcache_raw_collect.
4318
303a33fa
SM
43192014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4320
4321 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4322 mi_console->quote as the quoting character.
4323
196100a0
SM
43242014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4325
4326 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4327
f989a1c8
TT
43282014-04-29 Tom Tromey <tromey@redhat.com>
4329
4330 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4331 "show debug varobj".
4332
9404b58f
KM
43332014-05-07 Kyle McMartin <kyle@redhat.com>
4334
4335 Pushed by Joel Brobecker <brobecker@adacore.com>.
4336 * aarch64-tdep.c (aarch64_software_single_step): New function.
4337 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4338 with aarch64_software_single_step.
4339
5e49ba57
JB
43402014-05-05 Joel Brobecker <brobecker@adacore.com>
4341
4342 GDB 7.7.1 released.
4343
c888a17d
KS
43442014-05-05 Keith Seitz <keiths@redhat.com>
4345
4346 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4347 variable or history value is successfully parsed.
4348
290a839c
YQ
43492014-05-05 Yao Qi <yao@codesourcery.com>
4350 Pedro Alves <palves@redhat.com>
4351
4352 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4353 address of blocks that intersects the requested range. Trim
4354 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4355 sections.
4356 * ctf.c (ctf_xfer_partial): Likewise.
4357
91256dc2
YQ
43582014-05-05 Yao Qi <yao@codesourcery.com>
4359
4360 * printcmd.c (display_command): Remove the check to
4361 target_has_execution.
4362
07284463
MK
43632014-05-03 Mark Kettenis <kettenis@gnu.org>
4364
4365 * ppcobsd-nat.c: Include "obsd-nat.h".
4366 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4367 add_target.
4368 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4369
30a1e6cc
SDJ
43702014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4371
4372 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4373 and 16-bit signed and unsigned arguments. Update comment.
4374 (stap_parse_probe_arguments): Extend code to handle such
4375 arguments. Use warning instead of complaint to notify about
4376 unrecognized bitness.
4377
f33da99a
SDJ
43782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4379
4380 PR breakpoints/16889
4381 * stap-probe.c (stap_parse_probe_arguments): Simplify
4382 check for non-prefixed probes (i.e., probes whose
4383 arguments do not start with "N@"). Always set the
4384 argument type to a sane value.
4385
95cf3b38
DT
43862014-05-01 David Taylor <dtaylor@emc.com>
4387
4388 * remote.c (compare_sections_command): Add -r option to compare
4389 all loadable read-only sections.
4390
1cfdf534
SC
43912014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4392
4393 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4394 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4395 Update all callers.
4396 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4397 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4398 Remove unused CORE_ADDR argument. Update all callers.
4399
ca4f7f8b
PA
44002014-04-29 Pedro Alves <palves@redhat.com>
4401
4402 * remote.c (struct packet_config) <detect>: Extend comment.
4403 (add_packet_config_cmd): Don't set the config's detect or support
4404 fields here.
4405 (init_all_packet_configs): Also initialize the config's 'detect'
4406 field.
4407 (reset_all_packet_configs_support): New function.
4408 (remote_open_1): Call reset_all_packet_configs_support instead of
4409 init_all_packet_configs.
4410 (_initialize_remote): Initialize all packet configs. Assert that
4411 all packets have an associated command, except a few known
4412 outliers.
4413
11c1ba78
JB
44142014-04-28 Joel Brobecker <brobecker@adacore.com>
4415
4416 * dwarf2read.c (read_subrange_type): Handle dynamic
4417 DW_AT_lower_bound attributes.
4418
8739bc53
JB
44192014-04-28 Joel Brobecker <brobecker@adacore.com>
4420
4421 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4422 dynamic bounds before computing its upper bound.
4423 (ada_discrete_type_low_bound): Same as above with the lower bound.
4424
6f8a3220
JB
44252014-04-28 Joel Brobecker <brobecker@adacore.com>
4426
4427 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4428 range types. Adjust the array handling implementation to
4429 take advantage of this change.
4430 (resolve_dynamic_range): New function, mostly extracted from
4431 resolve_dynamic_bounds.
4432 (resolve_dynamic_array): New function, mostly extracted from
4433 resolve_dynamic_bounds.
4434 (resolve_dynamic_bounds): Delete.
4435 (resolve_dynamic_type): Reimplement. Add handling of
4436 TYPE_CODE_RANGE types.
4437
4d072ce4
JB
44382014-04-28 Joel Brobecker <brobecker@adacore.com>
4439
4440 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4441 handling of parallel ___XA types.
4442
52865325
JB
44432014-04-28 Joel Brobecker <brobecker@adacore.com>
4444
4445 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4446 unnecessary second call to static_unwrap_type.
4447
433e77fa
HZ
44482014-04-27 Hui Zhu <hui@codesourcery.com>
4449
4450 * stack.c (print_frame_info): Call do_gdb_disassembly with
4451 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4452
b51a69ee
DE
44532014-04-26 Doug Evans <xdje42@gmail.com>
4454
4455 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4456
7ae1a6a6
PA
44572014-04-25 Pedro Alves <palves@redhat.com>
4458
4459 PR server/16255
4460 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4461 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4462 and newline from built string.
4463 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4464 (linux_ptrace_attach_fail_reason): ... this.
4465 * linux-nat.c (linux_nat_attach): Adjust to use
4466 linux_ptrace_attach_fail_reason.
4467
4082afcc
PA
44682014-04-25 Pedro Alves <palves@redhat.com>
4469
4470 * remote.c (struct remote_state): Remove multi_process_aware,
4471 non_stop_aware, cond_tracepoints, cond_breakpoints,
4472 breakpoint_commands, fast_tracepoints, static_tracepoints,
4473 install_in_trace, disconnected_tracing,
4474 enable_disable_tracepoints, string_tracing, and
4475 augmented_libraries_svr4_read fields.
4476 (remote_multi_process_p): Move further below in the file.
4477 (struct packet_config): Add comments.
4478 (update_packet_config): Delete function.
4479 (show_packet_config_cmd): Use packet_config_support.
4480 (add_packet_config_cmd): Use NULL as set callback.
4481 (packet_ok): "set remote foo-packet"-style commands no longer
4482 change config->supported -- adjust.
4483 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4484 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4485 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4486 (PACKET_QNonStop, PACKET_multiprocess_feature)
4487 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4488 (PACKET_DisconnectedTracing_feature)
4489 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4490 (set_remote_protocol_packet_cmd): Delete function.
4491 (packet_config_support, packet_support): New functions.
4492 (set_remote_protocol_Z_packet_cmd): Don't call
4493 update_packet_config.
4494 (remote_query_attached, remote_pass_signals)
4495 (remote_program_signals, remote_threads_info)
4496 (remote_threads_extra_info, remote_start_remote): Use
4497 packet_support.
4498 (remote_start_remote): Use packet_config_support and
4499 packet_support.
4500 (init_all_packet_configs): Set all packets to unknown support,
4501 instead of calling update_packet_config.
4502 (remote_check_symbols): Use packet_support.
4503 (remote_supported_packet): Unconditionally set the packet config's
4504 support status.
4505 (remote_multi_process_feature, remote_non_stop_feature)
4506 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4507 (remote_breakpoint_commands_feature)
4508 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4509 (remote_install_in_trace_feature)
4510 (remote_disconnected_tracing_feature)
4511 (remote_enable_disable_tracepoint_feature)
4512 (remote_string_tracing_feature)
4513 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4514 (remote_protocol_features): Adjust to use remote_supported_packet
4515 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4516 "ConditionalTracepoints", "ConditionalBreakpoints",
4517 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4518 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4519 "EnableDisableTracepoints", and "tracenz".
4520 (remote_query_supported): Use packet_support.
4521 (remote_open_1): Adjust.
4522 (extended_remote_attach_1): Use packet_support. Switch on the
4523 result of packet_ok instead of checking whether the packet ended
4524 up disabled.
4525 (remote_vcont_resume): Use packet_support.
4526 (remote_resume, remote_stop_ns, fetch_register_using_p)
4527 (remote_prepare_to_store, store_register_using_P)
4528 (check_binary_download, remote_write_bytes): Use packet_support.
4529 (remote_vkill): Use packet_support. Switch on the result of
4530 packet_ok instead of checking whether the packet ended up
4531 disabled.
4532 (extended_remote_supports_disable_randomization): Use
4533 packet_support.
4534 (extended_remote_run): Switch on the result of packet_ok instead
4535 of checking whether the packet ended up disabled.
4536 (remote_insert_breakpoint, remote_remove_breakpoint)
4537 (remote_insert_watchpoint, remote_remove_watchpoint)
4538 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4539 packet_support.
4540 (remote_search_memory): Use packet_config_support.
4541 (remote_get_thread_local_address, remote_get_tib_address)
4542 (remote_hostio_send_command, remote_can_execute_reverse): Use
4543 packet_support.
4544 (remote_supports_cond_tracepoints)
4545 (remote_supports_cond_breakpoints)
4546 (remote_supports_fast_tracepoints)
4547 (remote_supports_static_tracepoints)
4548 (remote_supports_install_in_trace)
4549 (remote_supports_enable_disable_tracepoint)
4550 (remote_supports_string_tracing)
4551 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4552 the packet config says the feature is enabled or disabled.
4553 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4554 (remote_get_trace_status): Use packet_support.
4555 (remote_set_disconnected_tracing): Adjust to check whether the
4556 feature is enabled with packet_support.
4557 (remote_set_trace_buffer_size, remote_use_agent)
4558 (remote_can_use_agent, remote_supports_btrace): Use
4559 packet_support.
4560 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4561 Use packet_config_support.
4562 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4563 the packet config says the feature is enabled or disabled.
4564 (set_range_stepping): Use packet_support.
4565
bdb52a22
TT
45662014-04-25 Tom Tromey <tromey@redhat.com>
4567
4568 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4569 argument.
4570
e9475ead
SA
45712014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4572
4573 * NEWS: Mention support for C99 variable length arrays.
4574
82eacd52
JB
45752014-04-24 Joel Brobecker <brobecker@adacore.com>
4576
4577 * ada-lang.c (standard_exc): Expand introductory comment.
4578
01f9f808
MS
45792014-04-24 Michael Sturm <michael.sturm@mintel.com>
4580 Walfred Tedeschi <walfred.tedeschi@intel.com>
4581
4582 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4583 AVX512 registers.
4584 (amd64_linux_read_description): Add code to handle AVX512 xstate
4585 mask and return respective tdesc.
4586 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4587 and features/i386/x32-avx512-linux.c.
4588 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4589 (amd64_linux_core_read_description): Add code to handle AVX512
4590 xstate mask and return respective tdesc.
4591 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4592 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4593 calculation.
4594 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4595 (tdesc_amd64_avx512_linux): New prototype.
4596 (tdesc_x32_avx512_linux): Likewise.
4597 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4598 features/i386/x32-avx512.c.
4599 (amd64_ymm_avx512_names): New register names for pseudo
4600 registers YMM16-31.
4601 (amd64_ymmh_avx512_names): New register names for raw registers
4602 YMMH16-31.
4603 (amd64_k_names): New register names for K registers.
4604 (amd64_zmmh_names): New register names for ZMM raw registers.
4605 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4606 (amd64_xmm_avx512_names): New register names for XMM16-31
4607 registers.
4608 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4609 registers.
4610 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4611 if feature is present.
4612 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4613 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4614 (AMD64_NUM_REGS): Adjust to new number of registers.
4615 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4616 registers supplied via XSTATE by AVX512 registers.
4617 (i386_linux_read_description): Add case for AVX512.
4618 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4619 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4620 (i386_linux_core_read_description): Add case for AVX512.
4621 (i386_linux_init_abi): Install supported register note section
4622 for AVX512.
4623 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4624 AVX512.
4625 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4626 registers to be number of zmm7h + 1.
4627 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4628 * i386-tdep.c: Include features/i386/i386-avx512.c.
4629 (i386_zmm_names): Add ZMM pseudo register names array.
4630 (i386_zmmh_names): Add ZMM raw register names array.
4631 (i386_k_names): Add K raw register names array.
4632 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4633 registers. AVX512 has 16 more ZMM registers than there are YMM
4634 registers.
4635 (i386_zmmh_regnum_p): Add function to look up register number of
4636 ZMM raw registers.
4637 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4638 (i386_k_regnum_p): Likewise for K raw registers.
4639 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4640 registers added by AVX512.
4641 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4642 registers added by AVX512.
4643 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4644 added by AVX512.
4645 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4646 (i386_pseudo_register_name): Add ZMM pseudo registers.
4647 (i386_zmm_type): Construct and return vector registers type for ZMM
4648 registers.
4649 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4650 ZMM0-31 pseudo registers and K registers.
4651 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4652 and YMM16-31 registers from register cache.
4653 (i386_pseudo_register_write): Add code to write K, ZMM and
4654 YMM16-31 registers.
4655 (i386_register_reggroup_p): Add code to include/exclude AVX512
4656 registers in/from respective register groups.
4657 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4658 registers if feature is present in xcr0.
4659 (i386_gdbarch_init): Add code to initialize AVX512 feature
4660 variables in tdep structure, wire in pseudo registers and call
4661 initialize_tdesc_i386_avx512.
4662 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4663 variables.
4664 (i386_regnum): Add AVX512 registers.
4665 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4666 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4667 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4668 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4669 512 bits wide.
4670 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4671 (i386_ymm_avx512_regnum_p): Likewise.
4672 (i386_k_regnum_p): Likewise.
4673 (i386_zmm_regnum_p): Likewise.
4674 (i386_zmmh_regnum_p): Likewise.
4675 * i387-tdep.c : Update year in copyright notice.
4676 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4677 XSAVE buffer.
4678 (XSAVE_YMM_AVX512_ADDR): New macro.
4679 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4680 XSAVE buffer.
4681 (XSAVE_XMM_AVX512_ADDR): New macro.
4682 (xsave_avx512_k_offset): New table for K register offsets in
4683 XSAVE buffer.
4684 (XSAVE_AVX512_K_ADDR): New macro.
4685 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4686 in XSAVE buffer.
4687 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4688 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4689 buffer.
4690 (i387_collect_xsave): Add code to collect AVX512 registers from
4691 XSAVE buffer.
4692 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4693 of XMM16-31 registers.
4694 (I387_NUM_K_REGS): New define for number of K registers.
4695 (I387_K0_REGNUM): New define for K0 register number.
4696 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4697 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4698 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4699 registers.
4700 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4701 (I387_XMM16_REGNUM): New define for XMM16 register number.
4702 (I387_YMM0_REGNUM): New define for YMM0 register number.
4703 (I387_KEND_REGNUM): New define for last K register number.
4704 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4705 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4706 number.
4707 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4708 number.
4709 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4710 size.
4711 * features/Makefile: Add AVX512 related files.
4712 * features/i386/32bit-avx512.xml: New file.
4713 * features/i386/64bit-avx512.xml: Likewise.
4714 * features/i386/amd64-avx512-linux.c: Likewise.
4715 * features/i386/amd64-avx512-linux.xml: Likewise.
4716 * features/i386/amd64-avx512.c: Likewise.
4717 * features/i386/amd64-avx512.xml: Likewise.
4718 * features/i386/i386-avx512-linux.c: Likewise.
4719 * features/i386/i386-avx512-linux.xml: Likewise.
4720 * features/i386/i386-avx512.c: Likewise.
4721 * features/i386/i386-avx512.xml: Likewise.
4722 * features/i386/x32-avx512-linux.c: Likewise.
4723 * features/i386/x32-avx512-linux.xml: Likewise.
4724 * features/i386/x32-avx512.c: Likewise.
4725 * features/i386/x32-avx512.xml: Likewise.
4726 * regformats/i386/amd64-avx512-linux.dat: New file.
4727 * regformats/i386/amd64-avx512.dat: Likewise.
4728 * regformats/i386/i386-avx512-linux.dat: Likewise.
4729 * regformats/i386/i386-avx512.dat: Likewise.
4730 * regformats/i386/x32-avx512-linux.dat: Likewise.
4731 * regformats/i386/x32-avx512.dat: Likewise.
4732 * NEWS: Add note about new support for AVX512.
4733
4734
08351840
PA
47352014-04-23 Pedro Alves <palves@redhat.com>
4736
4737 * breakpoint.c (insert_bp_location): Tolerate errors if the
4738 breakpoint is set in a user-loaded objfile.
4739 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4740 location is marked shlib_disabled. If the breakpoint is set in a
4741 user-loaded objfile is a GDB-side memory breakpoint, validate it
4742 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4743 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4744 flag.
4745 * mem-break.c (memory_validate_breakpoint): New function.
4746 * objfiles.c (userloaded_objfile_contains_address_p): New
4747 function.
4748 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4749 * target.h (memory_validate_breakpoint): New declaration.
4750
076855f9
PA
47512014-04-23 Pedro Alves <palves@redhat.com>
4752
4753 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4754 the breakpoint is set in a shared library, only suppress
4755 errors for software breakpoints, not hardware breakpoints.
4756
483805cf
PA
47572014-04-22 Pedro Alves <palves@redhat.com>
4758
4759 * infrun.c (schedlock_applies): New function, factored out from
4760 find_thread_needs_step_over.
4761 (find_thread_needs_step_over): Use it.
4762 (switch_back_to_stepped_thread): Always clear trap_expected if the
4763 step over is finished. Return early if scheduler locking applies.
4764 Look for the stepping thread and a potential step-over thread with
4765 a single loop.
4766 (currently_stepping_or_nexting_callback): Delete.
4767
a75fef0e
NC
47682014-04-22 Nick Clifton <nickc@redhat.com>
4769
4770 * NEWS: Mention that ARM sim now supports tracing.
4771
48b6e87e
YQ
47722014-04-22 Yao Qi <yao@codesourcery.com>
4773
4774 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4775 to ...
4776 * tracefile.c (tracefile_fetch_registers): ... it. New
4777 function.
4778 * tracefile.h (tracefile_fetch_registers): Declare.
4779 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4780 tracefile_fetch_registers.
4781
17617f2d
EZ
47822014-04-19 Eli Zaretskii <eliz@gnu.org>
4783
4784 PR gdb/14018
4785 * windows-nat.c (thread_rec): Don't display a warning when
4786 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4787 fails for any reason, set th->suspended to -1, so that we don't
4788 try to resume such a thread. Also, don't return NULL in these
4789 cases, to avoid completely ruin the session due to "PC register is
4790 not available" error.
4791 (do_windows_fetch_inferior_registers): Check errors in
4792 GetThreadContext call.
4793 (windows_continue): Accept an additional argument KILLED; if not
4794 zero, ignore errors in the SetThreadContext call, since the
4795 inferior was killed and is shutting down.
4796 (windows_resume, get_windows_debug_event)
4797 (windows_create_inferior, windows_mourn_inferior)
4798 (windows_kill_inferior): All callers of windows_continue changed
4799 to adjust to its new calling sequence.
4800
5723a6fd
YQ
48012014-04-19 Yao Qi <yao@codesourcery.com>
4802
4803 * ctf.c (ctf_open): Call post_create_inferior.
4804
614d5099
YQ
48052014-04-19 Yao Qi <yao@codesourcery.com>
4806
4807 * ctf.c (handle_id): New static variable.
4808 (ctf_open_dir): Get handle_id from bt_context_add_trace return
4809 value. Get the declaration of event "register" and get length
4810 of field "contents".
4811
dac3e710
YQ
48122014-04-19 Yao Qi <yao@codesourcery.com>
4813
4814 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
4815
2bca57ba
SC
48162014-04-18 Siva Chandra Reddy <sivachandra@google.com>
4817
4818 * valops.c (oload_method_static): Remove unnecessary argument
4819 METHOD. Update all callers.
4820
51d48146
PA
48212014-04-18 Pedro alves <palves@redhat.com>
4822 Tom Tromey <tromey@redhat.com>
4823
4824 PR backtrace/15558
4825 * frame.c (get_prev_frame_1): Rename to ...
4826 (get_prev_frame_always): ... this, and make extern. Adjust.
4827 (skip_artificial_frames): Use get_prev_frame_always.
4828 (frame_unwind_caller_id, frame_pop, get_prev_frame)
4829 (get_frame_unwind_stop_reason): Adjust to rename.
4830 * frame.h (get_prev_frame_always): Declare.
4831 * inline-frame.c: Include frame.h.
4832 (inline_frame_this_id): Use get_prev_frame_always.
4833
1bdad2e0
TG
48342014-04-18 Tristan Gingold <gingold@adacore.com>
4835
4836 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
4837 code by using bfd_mach_o_get_base_address.
4838
7ce16bd4
UW
48392014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4840
4841 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
4842 (spu_ax_pseudo_register_collect): New function.
4843 (spu_ax_pseudo_register_push_stack): Likewise.
4844 (spu_dwarf_reg_to_regnum): Likewise.
4845 (spu_gdbarch_init): Install them. Append DWARF unwinders.
4846
2ed3c037
UW
48472014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4848
4849 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4850 Replace FRAME argument with FRAME_ID.
4851 * gdbarch.c, gdbarch.h: Regenerate.
4852 * findvar.c (default_value_from_register): Add GDBARCH argument;
4853 replace FRAME by FRAME_ID. No longer call get_frame_id.
4854 (value_from_register): Update call to gdbarch_value_from_register.
4855 * value.h (default_value_from_register): Update prototype.
4856 * s390-linux-tdep.c (s390_value_from_register): Update interface
4857 and call to default_value_from_register.
4858 * spu-tdep.c (spu_value_from_register): Likewise.
4859
4860 * findvar.c (address_from_register): Remove TYPE argument.
4861 Do not call value_from_register; use gdbarch_value_from_register
4862 with null_frame_id instead.
4863 * value.h (address_from_register): Update prototype.
4864 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
4865 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
4866 address_from_register interface change.
4867
71e50e83
YQ
48682014-04-17 Yao Qi <yao@codesourcery.com>
4869
4870 * gdbtypes.h: Update comments to link to types and macros'
4871 definitions.
4872
7a23c549
SC
48732014-04-16 Siva Chandra Reddy <sivachandra@google.com>
4874
4875 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
4876
22869d73
KS
48772014-04-16 Keith Seitz <keiths@redhat.com>
4878
4879 PR gdb/15827
4880 * dwarf2read.c (skip_one_die): Check that all relative-offset
4881 sibling DIEs fall within range of the current reader's buffer.
4882 (read_partial_die): Likewise.
4883
c4f87ca6
KS
48842014-04-16 Keith Seitz <keiths@redhat.com>
4885
4886 PR c++/16597
4887 * cp-namespace.c (lookup_symbol_file): If the type name of
4888 `this' is NULL, return immediately.
4889
b50c8614
KS
48902014-04-14 Keith Seitz <keiths@redhat.com>
4891
4892 PR c++/16253
4893 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4894 from symbol_matches_domain in symtab.c. All local callers
4895 of symbol_matches_domain updated.
4896 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4897 search STRUCT_DOMAIN.
4898 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4899 independently. standard_lookup will do that automatically.
4900 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4901 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4902 (cp_lookup_symbol_in_namespace): Likewise.
4903 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4904 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4905 may return a STRUCT_DOMAIN match.
4906 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4907 * cp-support.c: Include language.h.
4908 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4909 VAR_DOMAIN.
4910 * psymtab.c (match_partial_symbol): Compare the requested
4911 domain with the symbol's domain directly.
4912 (lookup_partial_symbol): Likewise.
4913 * symtab.c (lookup_symbol_in_language): Explain when/why
4914 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4915 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4916 appropriate languages.
4917 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4918 and moved to ada-lang.c
4919 (lookup_block_symbol): Explain that this function only returns
4920 symbol matching the requested DOMAIN.
4921 Compare the requested domain with the symbol's domain directly.
4922 (iterate_over_symbols): Compare the requested domain with the
4923 symbol's domain directly.
4924 * symtab.h (symbol_matches_domain): Remove.
4925
3d567982
TT
49262014-04-14 Tom Tromey <tromey@redhat.com>
4927
4928 PR c++/15246:
4929 * c-exp.y (type_aggregate_p): New function.
4930 (qualified_name, classify_inner_name): Use it.
4931 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
4932 and TYPE_TARGET_TYPE of an enum type.
4933 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
4934 an enum type.
4935 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
4936 handle TYPE_DECLARED_CLASS.
4937 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
4938 types.
4939 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
4940 * valops.c (enum_constant_from_type): New function.
4941 (value_aggregate_elt): Use it.
4942 * cp-namespace.c (cp_lookup_nested_symbol): Handle
4943 TYPE_CODE_ENUM.
4944
c848d642
TT
49452014-04-14 Tom Tromey <tromey@redhat.com>
4946
4947 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
4948 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
4949 const.
4950 * value.h (value_aggregate_elt): Update.
4951
0626fc76
TT
49522014-04-14 Tom Tromey <tromey@redhat.com>
4953
4954 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
4955
5ecaaa66
SA
49562014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4957
4958 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
4959 (evaluate_subexp_standard): Pass noside argument.
4960 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
4961 if noside equals EVAL_NORMAL. If the subscript yields a vla type
4962 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
4963 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
4964 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
4965
1612e0c0
SA
49662014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4967
4968 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
4969 points to a constant blob.
4970
c451ebe5
SA
49712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4972
4973 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
4974 property and store it as the high bound and flag the range accordingly.
4975 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
4976 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
4977 * gdbtypes.h (enum range_flags): New enum.
4978 (struct range_bounds): Add flags member.
4979
1d42e4c4
SA
49802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4981
4982 * c-typeprint.c (c_type_print_varspec_suffix): Added
4983 check for not yet resolved high bound. If unresolved, print
4984 "variable length" string to the console instead of random
4985 length.
4986
9f1f738a
SA
49872014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
4988
4989 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
4990 value.
4991 (ada_template_to_fixed_record_type_1): Likewise.
4992 (ada_to_fixed_type_1): Likewise.
4993 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
4994 (cp_print_value): Likewise.
4995 * d-valprint.c (dynamic_array_type): Likewise.
4996 * findvar.c (address_of_variable): Likewise.
4997 * jv-valprint.c (java_value_print): Likewise.
4998 * valops.c (value_ind): Likewise.
4999 * value.c (coerce_ref): Likewise.
5000
3c8452d4
SA
50012014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5002
5003 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5004 value and retrieve the dynamic type size.
5005
4ad88275
SA
50062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5007
5008 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5009 passed to sizeof is dynamic evaluate the argument to compute the length.
5010
80180f79
SA
50112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5012 Joel Brobecker <brobecker@adacore.com>
5013
5014 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5015 (dwarf2_evaluate_property): New function.
5016 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5017 * dwarf2read.c (attr_to_dynamic_prop): New function.
5018 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5019 attribute.
5020 * gdbtypes.c: Include dwarf2loc.h.
5021 (is_dynamic_type): New function.
5022 (resolve_dynamic_type): New function.
5023 (resolve_dynamic_bounds): New function.
5024 (get_type_length): New function.
5025 (check_typedef): Use get_type_length to compute type length.
5026 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5027 (TYPE_LOW_BOUND_KIND): New macro.
5028 (is_dynamic_type): New function prototype.
5029 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5030 to resolve dynamic properties of the type. Update comment.
5031 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5032
a1556843
RH
50332014-04-14 Richard Henderson <rth@redhat.com>
5034
5035 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5036
0be03e84
DE
50372014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5038 Doug Evans <xdje42@gmail.com>
5039
5040 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5041 dereference TYPE_CODE_REF values.
5042
6b662e19
JB
50432014-04-11 Joel Brobecker <brobecker@adacore.com>
5044
5045 Revert the following changes due to regressions:
5046
5047 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5048 (dwarf2_evaluate_property): New function.
5049 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5050 * dwarf2read.c (attr_to_dynamic_prop): New function.
5051 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5052 attribute.
5053 * gdbtypes.c: Include dwarf2loc.h.
5054 (is_dynamic_type): New function.
5055 (resolve_dynamic_type): New function.
5056 (resolve_dynamic_bounds): New function.
5057 (get_type_length): New function.
5058 (check_typedef): Use get_type_length to compute type length.
5059 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5060 (TYPE_LOW_BOUND_KIND): New macro.
5061 (is_dynamic_type): New function prototype.
5062 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5063 to resolve dynamic properties of the type. Update comment.
5064 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5065
5066 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5067 passed to sizeof is dynamic evaluate the argument to compute the length.
5068
5069 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5070 value and retrieve the dynamic type size.
5071
5072 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5073 (ada_template_to_fixed_record_type_1): Likewise.
5074 (ada_to_fixed_type_1): Likewise.
5075 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5076 (cp_print_value): Likewise.
5077 * d-valprint.c (dynamic_array_type): Likewise.
5078 * eval.c (evaluate_subexp_with_coercion): Likewise.
5079 * findvar.c (address_of_variable): Likewise.
5080 * jv-valprint.c (java_value_print): Likewise.
5081 * valops.c (value_ind): Likewise.
5082 * value.c (coerce_ref): Likewise.
5083
5084 * c-typeprint.c (c_type_print_varspec_suffix): Added
5085 check for not yet resolved high bound. If unresolved, print
5086 "variable length" string to the console instead of random
5087 length.
5088
5089 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5090 property and store it as the high bound and flag the range accordingly.
5091 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5092 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5093 * gdbtypes.h (enum range_flags): New enum.
5094 (struct range_bounds): Add flags member.
5095
5096 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5097 points to a constant blob.
5098
5099 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5100 (evaluate_subexp_standard): Pass noside argument.
5101 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5102 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5103 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5104 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5105 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5106
245a5f0b
KS
51072014-04-11 Keith Seitz <keiths@redhat.com>
5108
5109 PR c++/16675
5110 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5111 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5112 reference types.
5113
3bce8237
SA
51142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5115
5116 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5117 (evaluate_subexp_standard): Pass noside argument.
5118 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5119 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5120 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5121 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5122 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5123
92b09522
SA
51242014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5125
5126 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5127 points to a constant blob.
5128
e1969afb
SA
51292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5130
5131 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5132 property and store it as the high bound and flag the range accordingly.
5133 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5134 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5135 * gdbtypes.h (enum range_flags): New enum.
5136 (struct range_bounds): Add flags member.
5137
b86138fb
SA
51382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5139
5140 * c-typeprint.c (c_type_print_varspec_suffix): Added
5141 check for not yet resolved high bound. If unresolved, print
5142 "variable length" string to the console instead of random
5143 length.
5144
bcd629a4
SA
51452014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5146
5147 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5148 (ada_template_to_fixed_record_type_1): Likewise.
5149 (ada_to_fixed_type_1): Likewise.
5150 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5151 (cp_print_value): Likewise.
5152 * d-valprint.c (dynamic_array_type): Likewise.
5153 * eval.c (evaluate_subexp_with_coercion): Likewise.
5154 * findvar.c (address_of_variable): Likewise.
5155 * jv-valprint.c (java_value_print): Likewise.
5156 * valops.c (value_ind): Likewise.
5157 * value.c (coerce_ref): Likewise.
5158
04b19544
SA
51592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5160
5161 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5162 value and retrieve the dynamic type size.
5163
26cb189f
SA
51642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5165
5166 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5167 passed to sizeof is dynamic evaluate the argument to compute the length.
5168
37c1ab67
SA
51692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5170
5171 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5172 (dwarf2_evaluate_property): New function.
5173 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5174 * dwarf2read.c (attr_to_dynamic_prop): New function.
5175 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5176 attribute.
5177 * gdbtypes.c: Include dwarf2loc.h.
5178 (is_dynamic_type): New function.
5179 (resolve_dynamic_type): New function.
5180 (resolve_dynamic_bounds): New function.
5181 (get_type_length): New function.
5182 (check_typedef): Use get_type_length to compute type length.
5183 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5184 (TYPE_LOW_BOUND_KIND): New macro.
5185 (is_dynamic_type): New function prototype.
5186 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5187 to resolve dynamic properties of the type. Update comment.
5188 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5189
729efb13
SA
51902014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5191
5192 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5193 declaring high/low bounds and change uses accordingly. Call
5194 create_range_type instead of create_static_range_type.
5195 * gdbtypes.c (create_range_type): New function.
5196 (create_range_type): Convert bounds into struct bound_prop and pass
5197 them to create_range_type.
5198 * gdbtypes.h (struct bound_prop): New struct.
5199 (create_range_type): New function prototype.
5200 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5201 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5202 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5203 part of the bound.
5204 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5205
0c9c3474
SA
52062014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5207
5208 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5209 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5210 * ada-lang.c: All uses of create_range_type updated.
5211 * coffread.c: All uses of create_range_type updated.
5212 * dwarf2read.c: All uses of create_range_type updated.
5213 * f-exp.y: All uses of create_range_type updated.
5214 * m2-valprint.c: All uses of create_range_type updated.
5215 * mdebugread.c: All uses of create_range_type updated.
5216 * stabsread.c: All uses of create_range_type updated.
5217 * valops.c: All uses of create_range_type updated.
5218 * valprint.c: All uses of create_range_type updated.
5219
9d497a19
PA
52202014-04-10 Pedro Alves <palves@redhat.com>
5221
5222 * breakpoint.c (single_step_breakpoints)
5223 (single_step_gdbarch): Move up in the file.
5224 (one_breakpoint_xfer_memory): New function, factored out from ...
5225 (breakpoint_xfer_memory): ... here. Also process single-step
5226 breakpoints.
5227
15a9128a
TG
52282014-04-09 Tristan Gingold <gingold@adacore.com>
5229
5230 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5231 comments.
5232 (darwin_decode_exception_message): Free port only after use.
5233
9c97a070
PL
52342014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5235
5236 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5237 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5238 when setting the size of call_length.
5239
7af389b8
SC
52402014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5241
5242 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5243 dereference TYPE_CODE_REF values.
5244
86ad98c3
JB
52452014-04-07 Joel Brobecker <brobecker@adacore.com>
5246
5247 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5248 end of warning message.
5249
b0aeadb3
DE
52502014-04-03 Doug Evans <dje@google.com>
5251
5252 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5253 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5254
5979d6b6
AM
52552014-04-02 Alan Modra <amodra@gmail.com>
5256
5257 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5258 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5259 (struct symbol_file_add_from_memory_args): Add size field.
5260 (find_vdso_size): New function.
5261 (add_vsyscall_page): Attempt to find vdso size.
5262
0d60c288
DE
52632014-04-01 Doug Evans <dje@google.com>
5264
5265 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5266
a41f2563
TG
52672014-04-01 Tristan Gingold <gingold@adacore.com>
5268
5269 * darwin-nat.c (darwin_encode_reply): Add prototype.
5270 (darwin_decode_exception_message): Reply to unknown inferiors.
5271 (darwin_decode_message): Handle message by id. Ignore message
5272 to unknown inferior.
5273 (darwin_wait): Discard unknown messages, add debug trace.
5274
11a865c8
DE
52752014-03-31 Doug Evans <dje@google.com>
5276
5277 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5278 comp_dir_string.
5279
770e7fc7
DE
52802014-03-31 Doug Evans <dje@google.com>
5281
5282 New option "set print symbol-loading".
5283 * NEWS: Mention it.
5284 * solib.c (solib_read_symbols): Only print symbol loading messages
5285 if requested.
5286 (solib_add): If symbol loading is in "brief" mode, notify user
5287 symbols are being loaded.
5288 (reload_shared_libraries_1): Ditto.
5289 * symfile.c (print_symbol_loading_off): New static global.
5290 (print_symbol_loading_brief): New static global.
5291 (print_symbol_loading_full): New static global.
5292 (print_symbol_loading_enums): New static global.
5293 (print_symbol_loading): New static global.
5294 (print_symbol_loading_p): New function.
5295 (symbol_file_add_with_addrs): Only print symbol loading messages
5296 if requested.
5297 (_initialize_symfile): Register "print symbol-loading" set/show
5298 command.
5299 * symfile.h (print_symbol_loading_p): Declare.
5300
c32c64b7
DE
53012014-03-30 Doug Evans <xdje42@gmail.com>
5302
5303 * infrun.c (set_last_target_status): New function.
5304 (handle_inferior_event): Call it.
5305
7c0bc051
DE
53062014-03-30 Doug Evans <xdje42@gmail.com>
5307
5308 * inferior.h (enum stop_kind): Improve comment.
5309
8776cfe9
JB
53102014-03-28 Joel Brobecker <brobecker@adacore.com>
5311
5312 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5313 a reference, strip the reference layer before calling
5314 the lang_ops value_has_mutated callback.
5315
410a0ff2
SDJ
53162014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5317
5318 Remove some globals from our parser.
5319 * language.c (unk_lang_parser): Add "struct parser_state"
5320 argument.
5321 * language.h (struct language_defn) <la_parser>: Likewise.
5322 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5323 (initialize_expout): Add "struct parser_state" argument.
5324 Rewrite function to use the parser state.
5325 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5326 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5327 write_exp_elt_longcst, write_exp_elt_dblcst,
5328 write_exp_elt_decfloatcst, write_exp_elt_type,
5329 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5330 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5331 write_dollar_variable): Likewise.
5332 (parse_exp_in_context_1): Use parser state.
5333 (insert_type_address_space): Add "struct parser_state" argument.
5334 Use parser state.
5335 (increase_expout_size): New function.
5336 * parser-defs.h: Forward declare "struct language_defn" and
5337 "struct parser_state".
5338 (expout, expout_size, expout_ptr): Remove extern declarations.
5339 (parse_gdbarch, parse_language): Rewrite macro declarations to
5340 accept the parser state.
5341 (struct parser_state): New struct.
5342 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5343 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5344 write_exp_elt_decfloatcst, write_exp_elt_type,
5345 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5346 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5347 write_exp_msymbol, write_dollar_variable,
5348 mark_struct_expression, insert_type_address_space): Add "struct
5349 parser_state" argument.
5350 (increase_expout_size): New function.
5351 * utils.c (do_clear_parser_state): New function.
5352 (make_cleanup_clear_parser_state): Likewise.
5353 * utils.h (make_cleanup_clear_parser_state): New function
5354 prototype.
5355 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5356 Update calls to write_exp* in order to pass the parser state.
5357 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5358 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5359 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5360 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5361 * stap-probe.c (stap_parse_register_operand): Likewise.
5362 (stap_parse_single_operand): Likewise.
5363 (stap_parse_argument_1): Likewise.
5364 (stap_parse_argument): Use parser state.
5365 * stap-probe.h: Include "parser-defs.h".
5366 (struct stap_parse_info) <pstate>: New field.
5367 * c-exp.y (parse_type): Rewrite to use parser state.
5368 (yyparse): Redefine to c_parse_internal.
5369 (pstate): New global variable.
5370 (parse_number): Add "struct parser_state" argument.
5371 (write_destructor_name): Likewise.
5372 (type_exp): Update calls to write_exp* and similars in order to
5373 use parser state.
5374 (exp1, exp, variable, qualified_name, space_identifier,
5375 typename, typebase): Likewise.
5376 (write_destructor_name, parse_number, lex_one_token,
5377 classify_name, classify_inner_name, c_parse): Add "struct
5378 parser_state" argument. Update function to use parser state.
5379 * c-lang.h: Forward declare "struct parser_state".
5380 (c_parse): Add "struct parser_state" argument.
5381 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5382 (yyparse): Redefine macro to ada_parse_internal.
5383 (pstate): New variable.
5384 (write_int, write_object_renaming, write_var_or_type,
5385 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5386 type_int, type_long, type_long_long, type_float, type_double,
5387 type_long_double, type_char, type_boolean, type_system_address):
5388 Add "struct parser_state" argument.
5389 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5390 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5391 var_or_type, aggregate, aggregate_component_list,
5392 positional_list, others, component_group,
5393 component_associations): Update calls to write_exp* and similar
5394 functions in order to use parser state.
5395 (ada_parse, write_var_from_sym, write_int,
5396 write_exp_op_with_string, write_object_renaming,
5397 find_primitive_type, write_selectors, write_ambiguous_var,
5398 write_var_or_type, write_name_assoc, type_int, type_long,
5399 type_long_long, type_float, type_double, type_long_double,
5400 type_char, type_boolean, type_system_address): Add "struct
5401 parser_state" argument. Adjust function to use parser state.
5402 * ada-lang.c (parse): Likewise.
5403 * ada-lang.h: Forward declare "struct parser_state".
5404 (ada_parse): Add "struct parser_state" argument.
5405 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5406 calls to both functions.
5407 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5408 parser state.
5409 (yyparse): Redefine macro to f_parse_internal.
5410 (pstate): New variable.
5411 (parse_number): Add "struct parser_state" argument.
5412 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5413 and similars in order to use parser state.
5414 (parse_number): Adjust code to use parser state.
5415 (yylex): Likewise.
5416 (f_parse): New function.
5417 * f-lang.h: Forward declare "struct parser_state".
5418 (f_parse): Add "struct parser_state" argument.
5419 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5420 parser state.
5421 (yyparse): Redefine macro for java_parse_internal.
5422 (pstate): New variable.
5423 (push_expression_name, push_expression_name, insert_exp): Add
5424 "struct parser_state" argument.
5425 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5426 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5427 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5428 PostIncrementExpression, PostDecrementExpression,
5429 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5430 UnaryExpressionNotPlusMinus, CastExpression,
5431 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5432 RelationalExpression, EqualityExpression, AndExpression,
5433 ExclusiveOrExpression, InclusiveOrExpression,
5434 ConditionalAndExpression, ConditionalOrExpression,
5435 ConditionalExpression, Assignment, LeftHandSide): Update
5436 calls to write_exp* and similars in order to use parser state.
5437 (parse_number): Ajust code to use parser state.
5438 (yylex): Likewise.
5439 (java_parse): New function.
5440 (push_variable): Add "struct parser_state" argument. Adjust
5441 code to user parser state.
5442 (push_fieldnames, push_qualified_expression_name,
5443 push_expression_name, insert_exp): Likewise.
5444 * jv-lang.h: Forward declare "struct parser_state".
5445 (java_parse): Add "struct parser_state" argument.
5446 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5447 parser state.
5448 (yyparse): Redefine macro to m2_parse_internal.
5449 (pstate): New variable.
5450 (type_exp, exp, fblock, variable, type): Update calls to
5451 write_exp* and similars to use parser state.
5452 (yylex): Likewise.
5453 (m2_parse): New function.
5454 * m2-lang.h: Forward declare "struct parser_state".
5455 (m2_parse): Add "struct parser_state" argument.
5456 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5457 * objc-lang.h: Forward declare "struct parser_state".
5458 (end_msglist): Add "struct parser_state" argument.
5459 * p-exp.y (parse_type): Rewrite macro to use parser state.
5460 (yyparse): Redefine macro to pascal_parse_internal.
5461 (pstate): New variable.
5462 (parse_number): Add "struct parser_state" argument.
5463 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5464 write_exp* and similars in order to use parser state.
5465 (parse_number, yylex): Adjust code to use parser state.
5466 (pascal_parse): New function.
5467 * p-lang.h: Forward declare "struct parser_state".
5468 (pascal_parse): Add "struct parser_state" argument.
5469 * go-exp.y (parse_type): Rewrite macro to use parser state.
5470 (yyparse): Redefine macro to go_parse_internal.
5471 (pstate): New variable.
5472 (parse_number): Add "struct parser_state" argument.
5473 (type_exp, exp1, exp, variable, type): Update calls to
5474 write_exp* and similars in order to use parser state.
5475 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5476 to use parser state.
5477 (go_parse): Likewise.
5478 * go-lang.h: Forward declare "struct parser_state".
5479 (go_parse): Add "struct parser_state" argument.
5480
342587c4
DE
54812014-03-27 Doug Evans <dje@google.com>
5482
5483 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5484
33e80786
DE
54852014-03-27 Doug Evans <dje@google.com>
5486
5487 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5488 Remove argument abbrev_section. All callers updated.
5489
1dbab08b
DE
54902014-03-27 Doug Evans <dje@google.com>
5491
5492 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5493 addr_base, ranges_base.
5494
318d3177
KS
54952014-03-26 Keith Seitz <keiths@redhat.com>
5496
5497 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5498 types, not VAR_DOMAIN.
5499
1e54db15
SL
55002014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5501
5502 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5503 "ra" registers.
5504 * features/nios2-linux.c: Regenerated.
5505 * features/nios2.c: Regenerated.
5506
d3839ede
PA
55072014-03-25 Pedro Alves <palves@redhat.com>
5508
5509 * cli/cli-script.c (script_from_file): Force the interpreter to
5510 sync mode.
5511
7588d2ec
PL
55122014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5513
5514 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5515 small stack allocation.
5516
a6290449
TG
55172014-03-24 Tristan Gingold <gingold@adacore.com>
5518
5519 * darwin-nat.c (exc_server): Remove unused prototype.
5520 (darwin_dump_message): Correctly display data on x86_64.
5521 (darwin_encode_reply): Fix style.
5522 Add comments and fix indentation.
5523
31ae9d24 55242014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
5525
5526 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5527
6339bfc4
DE
55282014-03-22 Doug Evans <xdje42@gmail.com>
5529
5530 * infcmd.c: Whitespace fixes.
5531 (interrupt_command): Merge two function comments into one.
5532
0a07590b
DE
55332014-03-22 Doug Evans <xdje42@gmail.com>
5534
5535 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5536 All uses updated.
5537
b55fbac4
YQ
55382014-03-22 Yao Qi <yao@codesourcery.com>
5539
5540 * remote.c (target_read_live_memory): Remove.
5541 (memory_xfer_live_readonly_partial): Rename it to
5542 remote_xfer_live_readonly_partial. Remove argument 'object'.
5543 All callers updated. Call remote_read_bytes_1
5544 instead of target_read_live_memory.
5545 * tracepoint.c (set_traceframe_number): Remove.
5546 (make_cleanup_restore_traceframe_number): Likewise .
5547 * tracepoint.h (set_traceframe_number): Remove declaration.
5548 (make_cleanup_restore_traceframe_number): Likewise.
5549
9217e74e
YQ
55502014-03-22 Yao Qi <yao@codesourcery.com>
5551
5552 * remote.c (remote_read_bytes): Move code on reading from the
5553 remote stub to ...
5554 (remote_read_bytes_1): ... here. New function.
5555
8acf9577
YQ
55562014-03-22 Yao Qi <yao@codesourcery.com>
5557
5558 * ctf.c (ctf_xfer_partial): Check the return value of
5559 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5560 return TARGET_XFER_UNAVAILABLE.
5561 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5562 * target.c (target_read_live_memory): Move it to remote.c.
5563 (memory_xfer_live_readonly_partial): Likewise.
5564 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5565 * remote.c (target_read_live_memory): Moved from target.c.
5566 (memory_xfer_live_readonly_partial): Likewise.
5567 (remote_read_bytes): Factored out from
5568 memory_xfer_partial_1.
5569
feef67ab
DE
55702014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5571
5572 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5573 NULL pointer.
5574
b65dc60b
PA
55752014-03-21 Pedro Alves <palves@redhat.com>
5576
5577 * infrun.c (normal_stop): Extend comment.
5578
b4ab256d
HZ
55792014-03-21 Hui Zhu <hui@codesourcery.com>
5580 Pedro Alves <palves@redhat.com>
5581
5582 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5583 static buffer.
5584 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5585 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5586 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5587
deba7593
MR
55882014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5589
5590 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5591 `z' formatted output modifier.
5592
1bff71c3
SDJ
55932014-03-20 Tom Tromey <tromey@redhat.com>
5594 Sergio Durigan Junior <sergiodj@redhat.com>
5595
5596 * probe.c (parse_probes): Turn assert into an ordinary error.
5597 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5598 exceptions when parsing probes. Rearrange the code for clarity.
5599
90e28950
TT
56002014-03-20 Tom Tromey <tromey@redhat.com>
5601
5602 PR gdb/14135
5603 * top.c (execute_command): Only dispatch events if the command
5604 started the target.
5605
beb460e8
PA
56062014-03-20 Tom Tromey <tromey@redhat.com>
5607
5608 PR cli/15718
5609 * infcall.c: Include event-top.h.
5610 (run_inferior_call): Call async_disable_stdin if needed.
5611
99619bea
PA
56122014-03-20 Pedro Alves <palves@redhat.com>
5613
5614 * infrun.c (prepare_to_proceed): Delete.
5615 (thread_still_needs_step_over): New function.
5616 (find_thread_needs_step_over): New function.
5617 (proceed): If the current thread needs a step-over, set its
5618 steping_over_breakpoint flag. Adjust to use
5619 find_thread_needs_step_over instead of prepare_to_proceed.
5620 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5621 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5622 breakpoint.
5623 (switch_back_to_stepped_thread): Step over breakpoints of all
5624 threads not the stepping thread, before switching back to the
5625 stepping thread.
5626
2adfaa28
PA
56272014-03-20 Pedro Alves <palves@redhat.com>
5628
5629 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5630 extern.
5631 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5632 * infrun.c (saved_singlestep_ptid)
5633 (stepping_past_singlestep_breakpoint): Delete.
5634 (resume): Remove stepping_past_singlestep_breakpoint handling.
5635 (proceed): Store the prev_pc of the stepping thread too.
5636 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5637 singlestep_pc.
5638 (enum infwait_states): Delete infwait_thread_hop_state.
5639 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5640 field.
5641 (handle_inferior_event): Adjust.
5642 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5643 handling and the thread-hop code. Before removing single-step
5644 breakpoints, check whether the thread hit a single-step breakpoint
5645 of another thread. If it did, the trap is not a random signal.
5646 (switch_back_to_stepped_thread): If the event thread hit a
5647 single-step breakpoint, unblock it before switching to the
5648 stepping thread. Handle the case of the stepped thread having
5649 advanced already.
5650 (keep_going): Handle the case of the current thread moving past a
5651 single-step breakpoint.
5652
31e77af2
PA
56532014-03-20 Pedro Alves <palves@redhat.com>
5654
5655 PR breakpoints/7143
5656 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5657 are being stepped over.
5658 (breakpoint_address_match): Make extern.
5659 * breakpoint.h (breakpoint_address_match): New declaration.
5660 * inferior.h (stepping_past_instruction_at): New declaration.
5661 * infrun.c (struct step_over_info): New type.
5662 (step_over_info): New global.
5663 (set_step_over_info, clear_step_over_info)
5664 (stepping_past_instruction_at): New functions.
5665 (handle_inferior_event): Clear the step-over info when
5666 trap_expected is cleared.
5667 (resume): Remove now stale comment.
5668 (clear_proceed_status): Clear step-over info.
5669 (proceed): Adjust step-over handling to set or clear the step-over
5670 info instead of removing all breakpoints.
5671 (handle_signal_stop): When setting up a thread-hop, don't remove
5672 breakpoints here.
5673 (stop_stepping): Clear step-over info.
5674 (keep_going): Adjust step-over handling to set or clear step-over
5675 info and then always inserting breakpoints, instead of removing
5676 all breakpoints when stepping over one.
5677
b9f437de
PA
56782014-03-20 Pedro Alves <palves@redhat.com>
5679
5680 * infrun.c (previous_inferior_ptid): Adjust comment.
5681 (deferred_step_ptid): Delete.
5682 (infrun_thread_ptid_changed, prepare_to_proceed)
5683 (init_wait_for_inferior): Adjust.
5684 (handle_signal_stop): Delete deferred_step_ptid handling.
5685
06c868a8
JK
56862014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5687
5688 PR gdb/15358
5689 * defs.h (sync_quit_force_run): New declaration.
5690 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5691 * event-top.c (async_sigterm_handler): New declaration.
5692 (async_sigterm_token): New variable.
5693 (async_init_signals): Create also async_sigterm_token.
5694 (async_sigterm_handler): New function.
5695 (sync_quit_force_run): New variable.
5696 (handle_sigterm): Replace quit_force call by other calls.
5697 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5698
dea80df0
MR
56992014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5700
5701 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5702 offset into SPE pseudo registers.
5703
0c7e1a46
PA
57042014-03-18 Pedro Alves <palves@redhat.com>
5705
5706 PR gdb/13860
5707 * inferior.h (print_stop_event): Declare.
5708 * infrun.c (print_stop_event): New, factored out from ...
5709 (normal_stop): ... this.
5710 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5711 of bpstat_print/print_stack_frame.
5712
9c1fcd01
TT
57132014-03-17 Tom Tromey <tromey@redhat.com>
5714
5715 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5716
11aa919a
PMR
57172014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5718
5719 * ada-lang.c (decode_constrained_packed_array): Perform a
5720 minimal coercion for reference with coerce_ref instead of
5721 ada_coerce_ref.
5722
d4ccb5e0
TG
57232014-03-17 Tristan Gingold <gingold@adacore.com>
5724
5725 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5726 (darwin_solib_create_inferior_hook): Emit a warning if version
5727 is unhandled.
5728
49840f2a
UW
57292014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5730
5731 * python/py-value.c (get_field_flag): Cast flag_name argument to
5732 PyObject_GetAttrString to support Python 2.4.
5733
ed4123e5
JK
57342014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5735
5736 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5737 (Global Maintainers): Remove Jan Kratochvil.
5738
d6b64346
PA
57392014-03-14 Pedro Alves <palves@redhat.com>
5740
5741 * inferior.h (terminal_ours_for_output): Rename to ...
5742 (child_terminal_ours_for_output): ... this.
5743 (terminal_save_ours): Rename to ...
5744 (child_terminal_save_ours): ... this.
5745 (terminal_ours): Rename to ...
5746 (child_terminal_ours): ... this.
5747 (terminal_inferior): Rename to ...
5748 (child_terminal_inferior): ... this.
5749 (terminal_init_inferior): Rename to ...
5750 (child_terminal_init_inferior): ... this.
5751 (terminal_init_inferior_with_pgrp): Rename to ...
5752 (child_terminal_init_inferior_with_pgrp): ... this.
5753 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5754 (child_terminal_init_with_pgrp): ... this.
5755 (terminal_save_ours): Rename to ...
5756 (child_terminal_save_ours): ... this.
5757 (terminal_init_inferior): Rename to ...
5758 (child_terminal_init): ... this. Adjust.
5759 (terminal_inferior): Rename to ...
5760 (child_terminal_inferior): ... this.
5761 (terminal_ours_for_output): Rename to ...
5762 (child_terminal_ours_for_output): ... this. Adjust.
5763 (terminal_ours): Rename to ...
5764 (child_terminal_ours): ... this.
5765 (terminal_ours_1): Rename to ...
5766 (child_terminal_ours_1): ... this. Adjust.
5767 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5768 * windows-nat.c (do_initial_windows_stuff): Adjust.
5769 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5770 (gnu_terminal_init): ... this. Adjust.
5771 (gnu_target): Adjust.
5772 * inf-child.c (inf_child_target): Adjust.
5773
5a1e8c7a
DE
57742014-03-13 Doug Evans <xdje42@gmail.com>
5775
5776 PR guile/16612
5777 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5778 new eq?-hashtab.
5779
350e1a76
DE
57802014-03-13 Doug Evans <xdje42@gmail.com>
5781
5782 * value.c (record_latest_value): Call release_value_or_incref
5783 instead of release_value.
5784
a69900ae
PA
57852014-03-13 Pedro Alves <palves@redhat.com>
5786
5787 * procfs.c (procfs_target): Don't override to_shortname,
5788 to_longname or to_doc.
5789
5db9f0bd
PA
57902014-03-13 Pedro Alves <palves@redhat.com>
5791
5792 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5793 Unix in user visible strings.
5794
5e3a2c38
SS
57952014-03-12 Stan Shebs <stan@codesourcery.com>
5796
5797 * gdbtypes.h: Annotate comments for Doxygen, add a page
5798 block comment with some general info.
5799
8bc2fe48
PA
58002014-03-12 Pedro Alves <palves@redhat.com>
5801
5802 * infcmd.c (prepare_execution_command): New function, factored out
5803 from several execution commands.
5804 (run_command_1, continue_command, step_1, jump_command)
5805 (signal_command, until_command, advance_command, finish_command)
5806 (attach_command): Use prepare_execution_command.
5807
638c5f49
OJ
58082014-03-12 Omair Javaid <omair.javaid@linaro.org>
5809
5810 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
5811 (MAX_BPTS): Define.
5812 (MAX_WPTS): Define.
5813 (struct arm_linux_thread_points): Removed.
5814 (struct arm_linux_process_info): New.
5815 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
5816 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
5817 (arm_linux_find_breakpoints_by_tid): Removed.
5818 (struct arch_lwp_info): New.
5819 (arm_linux_find_process_pid): New functions.
5820 (arm_linux_add_process): New functions.
5821 (arm_linux_process_info_get): New functions.
5822 (arm_linux_forget_process): New function.
5823 (arm_linux_get_debug_reg_state): New function.
5824 (struct update_registers_data): New.
5825 (update_registers_callback): New function.
5826 (arm_linux_insert_hw_breakpoint1): Updated.
5827 (arm_linux_remove_hw_breakpoint1): Updated.
5828 (arm_linux_insert_hw_breakpoint): Updated.
5829 (arm_linux_remove_hw_breakpoint): Updated.
5830 (arm_linux_insert_watchpoint): Updated.
5831 (arm_linux_remove_watchpoint): Updated.
5832 (arm_linux_new_thread): Updated.
5833 (arm_linux_prepare_to_resume): New function.
5834 (arm_linux_new_fork): New function.
5835 (_initialize_arm_linux_nat): Updated.
5836
6d03af93
PA
58372014-03-12 Pedro Alves <palves@redhat.com>
5838
5839 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
5840
b3ccfe11
TT
58412014-03-12 Tom Tromey <tromey@redhat.com>
5842
5843 * inf-child.c (return_zero): New function.
5844 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
5845 * aix-thread.c (aix_thread_inferior_created): New function.
5846 (aix_thread_attach): Remove.
5847 (init_aix_thread_ops): Don't set to_attach.
5848 (_initialize_aix_thread): Register inferior_created observer.
5849 * corelow.c (init_core_ops): Don't set to_attach or
5850 to_create_inferior.
5851 * exec.c (init_exec_ops): Don't set to_attach or
5852 to_create_inferior.
5853 * infcmd.c (run_command_1): Use find_run_target. Make direct
5854 target calls.
5855 (attach_command): Use find_attach_target. Make direct target
5856 calls.
5857 * record-btrace.c (init_record_btrace_ops): Don't set
5858 to_create_inferior.
5859 * record-full.c (record_full_can_async_p, record_full_is_async_p):
5860 Remove.
5861 (init_record_full_ops, init_record_full_core_ops): Update. Don't
5862 set to_create_inferior.
5863 * target.c (complete_target_initialization): Add assertion.
5864 (target_create_inferior): Remove.
5865 (find_default_attach, find_default_create_inferior): Remove.
5866 (find_attach_target, find_run_target): New functions.
5867 (find_default_is_async_p, find_default_can_async_p)
5868 (target_supports_non_stop, target_attach): Remove.
5869 (init_dummy_target): Don't set to_create_inferior or
5870 to_supports_non_stop.
5871 * target.h (struct target_ops) <to_attach>: Add comment. Remove
5872 TARGET_DEFAULT_FUNC.
5873 <to_create_inferior>: Add comment.
5874 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
5875 TARGET_DEFAULT_RETURN.
5876 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
5877 (find_attach_target, find_run_target): Declare.
5878 (target_create_inferior): Remove.
5879 (target_has_execution_1): Update comment.
5880 (target_supports_non_stop): Remove.
5881 * target-delegates.c: Rebuild.
5882
91f83b02
PA
58832014-03-12 Pedro Alves <palves@redhat.com>
5884
5885 * inf-child.h: Update comment to not mention Unix.
5886
f1aea813
PA
58872014-03-12 Pedro Alves <palves@redhat.com>
5888
5889 * inf-child.c: Update top comment to not mention Unix. Add
5890 generic comment describing how this target is meant to be used.
5891 (inf_child_post_attach, inf_child_post_startup_inferior)
5892 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
5893 Unix in comment.
5894
ee8e9165
PA
58952014-03-12 Pedro Alves <palves@redhat.com>
5896
5897 * nto-procfs.c: Include inf-child.h.
5898 (procfs_ops): Delete global.
5899 (procfs_can_run): Delete method.
5900 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
5901 target pointer instead of referencing procfs_ops.
5902 (procfs_prepare_to_store): Delete.
5903 (init_procfs_ops): Delete function.
5904 (procfs_target): New function, based on init_procfs_ops, but
5905 inherit inf_child_target.
5906 (_initialize_procfs): Use procfs_target.
5907
51a9c8c5
PA
59082014-03-12 Pedro Alves <palves@redhat.com>
5909
5910 * windows-nat.c: Include inf-child.h.
5911 (windows_ops): Delete global.
5912 (windows_open, windows_prepare_to_store, windows_can_run): Delete
5913 methods.
5914 (init_windows_ops): Delete function.
5915 (windows_target): New function, based on init_windows_ops, but
5916 inherit inf_child_target.
5917 (_initialize_windows_nat): Use windows_target. Install x86
5918 specific target methods here.
5919
c1966e26
DE
59202014-03-10 Doug Evans <xdje42@gmail.com>
5921
5922 * guile/guile.c (call_initialize_gdb_module): New function.
5923 (initialize_guile): Replace call to scm_init_guile with call to
5924 scm_with_guile.
5925
023db19c
JB
59262014-03-10 Joel Brobecker <brobecker@adacore.com>
5927
5928 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
5929 in call to TYPE_CODE macro.
5930
5ec18f2b
JG
59312014-03-10 Jerome Guitton <guitton@adacore.com>
5932
8668be63
JB
5933 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
5934 Resolve tagged types to full view.
5ec18f2b 5935
7d03f2eb
HZ
59362014-03-10 Hui Zhu <hui@codesourcery.com>
5937
5938 * target.h (target_insert_breakpoint): Remove "hardware" from its
5939 comments.
5940
c5164cbc
DE
59412014-03-07 Doug Evans <dje@google.com>
5942
5943 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
5944
c4a3fee2
DE
59452014-03-07 Doug Evans <dje@google.com>
5946
5947 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
5948 Remove unused local comp_dir_attr. Assert exactly one of
5949 stub_comp_unit_die, stub_comp_dir is non-NULL.
5950
3156469c
JB
59512014-03-07 Joel Brobecker <brobecker@adacore.com>
5952
5953 * target.h (complete_target_initialization, add_target):
5954 Add comment.
5955
c1a7b7c6
PA
59562014-03-07 Pedro Alves <palves@redhat.com>
5957
5958 * go32-nat.c: Include inf-child.h.
5959 (go32_ops): Delete global.
5960 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
5961 Delete methods.
5962 (go32_create_inferior): Push the passed in target pointer instead
5963 of referencing go32_ops.
5964 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
5965 (go32_target): New function, based on init_go32_ops, but inherit
5966 inf_child_target.
5967 (_initialize_go32_nat): Use go32_target. Move parts of
5968 init_go32_ops here.
5969
d3c1a85f
JB
59702014-03-06 Joel Brobecker <brobecker@adacore.com>
5971
5972 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
5973 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
5974 SYMBOL_VALUE_ADDRESS.
5975 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
5976
5fa1d40e
YQ
59772014-03-06 Yao Qi <yao@codesourcery.com>
5978
5979 * breakpoint.c (get_tracepoint_by_number): Remove argument
5980 optional_p. All callers updated. Adjust comments. Update
5981 output message.
5982 * breakpoint.h (get_tracepoint_by_number): Update declaration.
5983
0c13193f
YQ
59842014-03-06 Yao Qi <yao@codesourcery.com>
5985
5986 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
5987 early if get_number returns zero. Use 'p' instead of 'args'.
5988
2217da06
YQ
59892014-03-06 Yao Qi <yao@codesourcery.com>
5990
5991 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
5992 message.
5993
cc3da688
YQ
59942014-03-06 Yao Qi <yao@codesourcery.com>
5995
5996 PR breakpoints/16508
5997 * tracepoint.c (check_trace_running): New function.
5998 (trace_find_command): Move code to check_trace_running and
5999 call check_trace_running.
6000 (trace_find_pc_command): Likewise.
6001 (trace_find_tracepoint_command): Likewise.
6002 (trace_find_line_command): Likewise.
6003 (trace_find_range_command): Likewise.
6004 * tracepoint.h (check_trace_running): Likewise.
6005 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6006
6a5f844b
YQ
60072014-03-06 Yao Qi <yao@codesourcery.com>
6008
6009 * target.h (struct target_ops) <to_traceframe_info>: Use
6010 TARGET_DEFAULT_NORETURN (tcomplain ()).
6011 * target-delegates.c: Regenerated.
6012
0f26cec1
PA
60132014-03-05 Pedro Alves <palves@redhat.com>
6014
6015 PR gdb/16575
6016 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6017 void. Update comment.
6018 (dcache_xfer_memory): Delete.
6019 (dcache_read_memory_partial): New, based on the read bits of
6020 dcache_xfer_memory.
6021 (dcache_update): Add status parameter. Use ULONGEST for len, and
6022 adjust. Discard cache lines if the reason for the update was
6023 error.
6024 * dcache.h (dcache_xfer_memory): Delete declaration.
6025 (dcache_read_memory_partial): New declaration.
6026 (dcache_update): Update prototype.
6027 * target.c (raw_memory_xfer_partial): Update the dcache here.
6028 (memory_xfer_partial_1): Don't handle dcache writes here.
6029
b2b255bd
MF
60302014-03-05 Mike Frysinger <vapier@gentoo.org>
6031
6032 * remote-sim.c (gdbsim_load): Add const to prog.
6033
5d9cf8a4
TT
60342014-03-03 Tom Tromey <tromey@redhat.com>
6035
6036 * elfread.c (probe_key): Change to bfd_data.
6037 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6038 now per-BFD, not per-objfile.
6039 * stap-probe.c (stap_probe_destroy): Update comment.
6040 (handle_stap_probe): Allocate on the per-BFD obstack.
6041
729662a5
TT
60422014-03-03 Tom Tromey <tromey@redhat.com>
6043
6044 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6045 * breakpoint.c (create_longjmp_master_breakpoint): Use
6046 get_probe_address.
6047 (add_location_to_breakpoint, bkpt_probe_insert_location)
6048 (bkpt_probe_remove_location): Update.
6049 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6050 * elfread.c (elf_symfile_relocate_probe): Remove.
6051 (elf_probe_fns): Update.
6052 (insert_exception_resume_breakpoint): Change type of "probe"
6053 parameter to bound_probe.
6054 (check_exception_resume): Update.
6055 * objfiles.c (objfile_relocate1): Don't relocate probes.
6056 * probe.c (bound_probe_s): New typedef.
6057 (parse_probes): Use get_probe_address. Set sal's objfile.
6058 (find_probe_by_pc): Return a bound_probe.
6059 (collect_probes): Return a VEC(bound_probe_s).
6060 (compare_probes): Update.
6061 (gen_ui_out_table_header_info): Change type of "probes"
6062 parameter. Update.
6063 (info_probes_for_ops): Update.
6064 (get_probe_address): New function.
6065 (probe_safe_evaluate_at_pc): Update.
6066 * probe.h (struct probe_ops) <get_probe_address>: New field.
6067 <set_semaphore, clear_semaphore>: Add objfile parameter.
6068 (struct probe) <objfile>: Remove field.
6069 <arch>: New field.
6070 <address>: Update comment.
6071 (struct bound_probe): New.
6072 (find_probe_by_pc): Return a bound_probe.
6073 (get_probe_address): Declare.
6074 * solib-svr4.c (struct probe_and_action) <address>: New field.
6075 (hash_probe_and_action, equal_probe_and_action): Update.
6076 (register_solib_event_probe): Add address parameter.
6077 (solib_event_probe_at): Update.
6078 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6079 get_probe_address.
6080 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6081 (stap_get_probe_address): New function.
6082 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6083 (compile_probe_arg): Update.
6084 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6085 address.
6086 (handle_stap_probe): Don't relocate the probe.
6087 (stap_relocate): Remove.
6088 (stap_gen_info_probes_table_values): Update.
6089 (stap_probe_ops): Remove stap_relocate.
6090 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6091 (debug_sym_probe_fns): Update.
6092 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6093 * symtab.c (init_sal): Use memset.
6094 * symtab.h (struct symtab_and_line) <objfile>: New field.
6095 * tracepoint.c (start_tracing, stop_tracing): Update.
6096
ff887920
TT
60972014-03-03 Tom Tromey <tromey@redhat.com>
6098
6099 * probe.h (parse_probes, find_probe_by_pc)
6100 (find_probes_in_objfile): Fix comments.
6101
f0407826
DE
61022014-03-02 Doug Evans <xdje42@gmail.com>
6103
6104 * infrun.c (handle_signal_stop): Replace test for
6105 TARGET_WAITKIND_STOPPED with an assert.
6106
35e6a711
DE
61072014-03-02 Doug Evans <xdje42@gmail.com>
6108
6109 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6110
667f9d0b
DE
61112014-03-02 Doug Evans <xdje42@gmail.com>
6112
6113 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6114
dc92ace0
MK
61152014-03-01 Mark Kettenis <kettenis@gnu.org>
6116
6117 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6118
a900370f
MK
61192014-03-01 Mark Kettenis <kettenis@gnu.org>
6120
6121 * i386obsd-nat.c: Include "obsd-nat.h".
6122 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6123 add_target.
6124 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6125
b72a7981
MK
61262014-03-01 Mark Kettenis <kettenis@gnu.org>
6127
6128 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6129
96c70aba
MK
61302014-03-01 Mark Kettenis <kettenis@gnu.org>
6131
6132 * mips64obsd-nat.c: Include "obsd-nath".
6133 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6134 add_target
6135 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6136
874a80af
MK
61372014-03-01 Mark Kettenis <kettenis@gnu.org>
6138
8fd408f1
MK
6139 * amd64obsd-nat.c: Include "obsd-nat,h.
6140 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6141 add_target.
874a80af
MK
6142 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6143
9cf95373
SC
61442014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6145
6146 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6147 (find_overload_match): Update call to find_oload_champ.
6148 (find_oload_champ_namespace_loop): Likewise
6149
863e4da4
MK
61502014-02-28 Mark Kettenis <kettenis@gnu.org>
6151
025cac40
MK
6152 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6153
1ed586ce
MK
6154 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6155 * config/sparc/obsd64.mh: New file.
6156 * sparc64obsd-nat.c: New file.
6157
863e4da4
MK
6158 * obsd-nat.h: New file.
6159 * obsd-nat.c: New file.
6160 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6161 (ALLDEPFILES): Add obsd-nat.c.
6162
89de4da4
TT
61632014-02-28 Tom Tromey <tromey@redhat.com>
6164
6165 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6166 * cli-out.h (cli_ui_out_impl): Now const.
6167 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6168 * ui-out.c (struct ui_out) <impl>: Now const.
6169 (default_ui_out_impl): Now const.
6170 (ui_out_new): Make 'impl' parameter const.
6171 * ui-out.h (ui_out_new): Update.
6172
c725e7b6
MK
61732014-02-27 Mark Kettenis <kettenis@gnu.org>
6174
6175 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6176
670b46b3
MK
61772014-02-27 Mark Kettenis <kettenis@gnu.org>
6178
6179 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6180
c91550fc
JK
61812014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6182
6183 Additional PR 8882 fix.
6184 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6185
2fa0369e
PA
61862014-02-27 Pedro Alves <palves@redhat.com>
6187
6188 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6189 isn't set.
6190
d632a097
PA
61912014-02-27 Pedro Alves <palves@redhat.com>
6192
6193 PR 12702
6194 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6195 * nat/linux-waitpid.c: Include string.h.
6196 (status_to_str): Moved here and made extern.
6197 * nat/linux-waitpid.h (status_to_str): New declaration.
6198
2ebd5a35
HZ
61992014-02-27 Hui Zhu <hui@codesourcery.com>
6200
6201 PR 12702
6202 * infrun.c (ptid_match): Move ...
6203 * common/ptid.c (ptid_match): ... here.
6204 * inferior.h (ptid_match): Move ...
6205 * common/ptid.h (ptid_match): ... here.
6206
3cdd631f
MK
62072014-02-27 Mark Kettenis <kettenis@gnu.org>
6208
6209 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6210 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6211 gdb_target_obs.
6212
bee30a64
MK
62132014-02-27 Mark Kettenis <kettenis@gnu.org>
6214
6215 * obsd-tdep.c (obsd_auxv_parse): New function.
6216 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6217
6218 * gdbarch.sh (auxv_parse): New.
6219 * gdbarch.h: Regenerated.
6220 * gdbarch.c: Regenerated.
6221 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6222
7a5a839f
LC
62232014-02-26 Ludovic Courtès <ludo@gnu.org>
6224
6225 * guile/scm-value.c (gdbscm_history_append_x): New function.
6226 (value_functions): Add it.
6227
31aa7e4e
JB
62282014-02-27 Joel Brobecker <brobecker@adacore.com>
6229
6230 * dwarf2read.c (attr_value_as_address): New function.
6231 (dwarf2_find_base_address, read_call_site_scope): Use
6232 attr_value_as_address in place of DW_ADDR.
6233 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6234 the low and high addresses. Slight rework of the handling
6235 of the high pc being a constant form, and limit it to
6236 DWARF verson 4 or higher.
6237 (dwarf2_record_block_ranges): Likewise.
6238 (read_partial_die): Likewise.
6239 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6240
9b333ba3
TT
62412014-02-26 Tom Tromey <tromey@redhat.com>
6242
6243 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6244
5f6cac40
TT
62452014-02-26 Tom Tromey <tromey@redhat.com>
6246
6247 * elfread.c (elf_read_minimal_symbols): Return early if
6248 minimal symbols have already been read. Add "ei" parameter.
6249 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6250 * minsyms.c (prim_record_minimal_symbol_full): Update.
6251 * objfiles.h (struct objstats) <n_minsyms>: Move...
6252 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6253 * symmisc.c (print_objfile_statistics): Update.
6254
2750ef27
TT
62552014-02-26 Tom Tromey <tromey@redhat.com>
6256
6257 * elfread.c (elf_read_minimal_symbols): New function, from
6258 elf_symfile_read.
6259 (elf_symfile_read): Call it.
6260
34643a32
TT
62612014-02-26 Tom Tromey <tromey@redhat.com>
6262
6263 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6264 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6265 (lookup_minimal_symbol_solib_trampoline)
6266 (lookup_minimal_symbol_by_pc_section_1)
6267 (lookup_minimal_symbol_and_objfile): Update.
6268 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6269 Don't allocate a minimal symbol if minsyms have already been read.
6270 (build_minimal_symbol_hash_tables): Update.
6271 (install_minimal_symbols): Do nothing if minsyms already read.
6272 Use the per-BFD obstack.
6273 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6274 * objfiles.c (allocate_objfile): Call
6275 terminate_minimal_symbol_table later.
6276 (have_minimal_symbols): Update.
6277 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6278 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6279 Move from struct objfile.
6280 <minsyms_read>: New field.
6281 (struct objfile) <msymbols, minimal_symbol_count,
6282 msymbol_hash, msymbol_demangled_hash>: Move.
6283 (ALL_OBJFILE_MSYMBOLS): Update.
6284 * symfile.c (read_symbols): Set minsyms_read.
6285 (reread_symbols): Update.
6286 * symmisc.c (dump_objfile, dump_msymbols): Update.
6287
2273f0ac
TT
62882014-02-26 Tom Tromey <tromey@redhat.com>
6289
6290 * minsyms.c (msymbols_sort): Remove.
6291 * minsyms.h (msymbols_sort): Remove.
6292 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6293 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6294 * elfread.c (elf_symtab_read): Don't add section offsets.
6295 * xcoffread.c (record_minimal_symbol): Don't add section offset
6296 to minimal symbol address.
6297 * somread.c (text_offset, data_offset): Remove.
6298 (som_symtab_read): Don't add section offsets to minimal symbol
6299 addresses.
6300 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6301 Don't add section offsets to minimal symbols.
6302 * coffread.c (coff_symtab_read): Don't add section offsets
6303 to minimal symbol addresses.
6304 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6305 to minimal symbol addresses.
6306 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6307 section offset to minimal symbol addresses.
6308 * mdebugread.c (parse_partial_symbols): Don't add section
6309 offset to minimal symbol addresses.
6310 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6311 offset to minimal symbol addresses.
6312
77e371c0
TT
63132014-02-26 Tom Tromey <tromey@redhat.com>
6314
6315 * ada-lang.c (ada_main_name): Update.
6316 (ada_add_standard_exceptions): Update.
6317 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6318 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6319 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6320 * auxv.c (ld_so_xfer_auxv): Update.
6321 * avr-tdep.c (avr_scan_prologue): Update.
6322 * ax-gdb.c (gen_var_ref): Update.
6323 * blockframe.c (get_pc_function_start)
6324 (find_pc_partial_function_gnu_ifunc): Update.
6325 * breakpoint.c (create_overlay_event_breakpoint)
6326 (create_longjmp_master_breakpoint)
6327 (create_std_terminate_master_breakpoint)
6328 (create_exception_master_breakpoint): Update.
6329 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6330 * c-valprint.c (c_val_print): Update.
6331 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6332 * common/agent.c (agent_look_up_symbols): Update.
6333 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6334 * dwarf2loc.c (call_site_to_target_addr): Update.
6335 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6336 * elfread.c (elf_gnu_ifunc_record_cache)
6337 (elf_gnu_ifunc_resolve_by_got): Update.
6338 * findvar.c (default_read_var_value): Update.
6339 * frame.c (inside_main_func): Update.
6340 * frv-tdep.c (frv_frame_this_id): Update.
6341 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6342 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6343 Update.
6344 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6345 (hppa_hpux_find_dummy_bpaddr): Update.
6346 * hppa-tdep.c (hppa_symbol_address): Update.
6347 * infcmd.c (until_next_command): Update.
6348 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6349 Update.
6350 * linespec.c (minsym_found, add_minsym): Update.
6351 * linux-nat.c (get_signo): Update.
6352 * linux-thread-db.c (inferior_has_bug): Update.
6353 * m32c-tdep.c (m32c_return_value)
6354 (m32c_m16c_address_to_pointer): Update.
6355 * m32r-tdep.c (m32r_frame_this_id): Update.
6356 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6357 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6358 * maint.c (maintenance_translate_address): Update.
6359 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6360 (frob_address): New function.
6361 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6362 frob_address. Rename parameter to "pc_in".
6363 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6364 addresses.
6365 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6366 Update.
6367 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6368 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6369 * objc-lang.c (find_objc_msgsend): Update.
6370 * objfiles.c (objfile_relocate1): Update.
6371 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6372 * p-valprint.c (pascal_val_print): Update.
6373 * parse.c (write_exp_msymbol): Update.
6374 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6375 (ppc_elfv2_skip_entrypoint): Update.
6376 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6377 * printcmd.c (build_address_symbolic, msym_info)
6378 (address_info): Update.
6379 * proc-service.c (ps_pglobal_lookup): Update.
6380 * psymtab.c (find_pc_sect_psymtab_closer)
6381 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6382 Change msymbol parameter to bound_minimal_symbol.
6383 * ravenscar-thread.c (get_running_thread_id): Update.
6384 * remote.c (remote_check_symbols): Update.
6385 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6386 address.
6387 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6388 * solib-dsbt.c (lm_base): Update.
6389 * solib-frv.c (lm_base, main_got): Update.
6390 * solib-irix.c (locate_base): Update.
6391 * solib-som.c (som_solib_create_inferior_hook)
6392 (link_map_start): Update.
6393 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6394 * solib-svr4.c (elf_locate_base, enable_break): Update.
6395 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6396 (flush_ea_cache): Update.
6397 * stabsread.c (define_symbol, scan_file_globals): Update.
6398 * stack.c (find_frame_funname): Update.
6399 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6400 (debug_qf_find_pc_sect_symtab): Update.
6401 * symfile.c (simple_read_overlay_table)
6402 (simple_overlay_update): Update.
6403 * symfile.h (struct quick_symbol_functions)
6404 <find_pc_sect_symtab>: Change type of msymbol to
6405 bound_minimal_symbol.
6406 * symmisc.c (dump_msymbols): Update.
6407 * symtab.c (find_pc_sect_symtab_via_partial)
6408 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6409 (search_symbols, print_msymbol_info): Update.
6410 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6411 (MSYMBOL_VALUE_ADDRESS): Redefine.
6412 (BMSYMBOL_VALUE_ADDRESS): New macro.
6413 * tracepoint.c (scope_info): Update.
6414 * tui/tui-disasm.c (tui_find_disassembly_address)
6415 (tui_get_begin_asm_address): Update.
6416 * valops.c (find_function_in_inferior): Update.
6417 * value.c (value_static_field, value_fn_field): Update.
6418
3b7344d5
TT
64192014-02-26 Tom Tromey <tromey@redhat.com>
6420
6421 * ada-lang.c (ada_update_initial_language): Update.
6422 (ada_main_name, ada_has_this_exception_support): Update.
6423 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6424 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6425 * arm-tdep.c (arm_skip_stub): Update.
6426 * auxv.c (ld_so_xfer_auxv): Update.
6427 * avr-tdep.c (avr_scan_prologue): Update.
6428 * ax-gdb.c (gen_var_ref): Update.
6429 * breakpoint.c (struct breakpoint_objfile_data)
6430 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6431 type to bound_minimal_symbol.
6432 (create_overlay_event_breakpoint)
6433 (create_longjmp_master_breakpoint)
6434 (create_std_terminate_master_breakpoint)
6435 (create_exception_master_breakpoint): Update.
6436 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6437 * c-exp.y (classify_name): Update.
6438 * coffread.c (coff_symfile_read): Update.
6439 * common/agent.c (agent_look_up_symbols): Update.
6440 * d-lang.c (d_main_name): Update.
6441 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6442 * dec-thread.c (enable_dec_thread): Update.
6443 * dwarf2loc.c (call_site_to_target_addr): Update.
6444 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6445 * eval.c (evaluate_subexp_standard): Update.
6446 * findvar.c (struct minsym_lookup_data) <result>: Change type
6447 to bound_minimal_symbol.
6448 <objfile>: Remove.
6449 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6450 * frame.c (inside_main_func): Update.
6451 * frv-tdep.c (frv_frame_this_id): Update.
6452 * gcore.c (call_target_sbrk): Update.
6453 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6454 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6455 Update.
6456 * go-lang.c (go_main_name): Update.
6457 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6458 (hppa_hpux_find_import_stub_for_addr): Update.
6459 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6460 Update. Change return type.
6461 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6462 type.
6463 * jit.c (jit_breakpoint_re_set_internal): Update.
6464 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6465 Update.
6466 * linux-nat.c (get_signo): Update.
6467 * linux-thread-db.c (inferior_has_bug): Update
6468 * m32c-tdep.c (m32c_return_value)
6469 (m32c_m16c_address_to_pointer): Update.
6470 * m32r-tdep.c (m32r_frame_this_id): Update.
6471 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6472 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6473 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6474 lookup_minimal_symbol. Change return type.
6475 (lookup_minimal_symbol): Remove.
6476 (lookup_bound_minimal_symbol): Update.
6477 (lookup_minimal_symbol_text): Change return type.
6478 (lookup_minimal_symbol_solib_trampoline): Change return type.
6479 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6480 (lookup_minimal_symbol_solib_trampoline): Change return type.
6481 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6482 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6483 (value_nsstring, find_imps): Update.
6484 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6485 * p-lang.c (pascal_main_name): Update.
6486 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6487 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6488 * proc-service.c (ps_pglobal_lookup): Update.
6489 * ravenscar-thread.c (get_running_thread_msymbol): Change
6490 return type.
6491 (has_ravenscar_runtime, get_running_thread_id): Update.
6492 * remote.c (remote_check_symbols): Update.
6493 * sol-thread.c (ps_pglobal_lookup): Update.
6494 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6495 * solib-dsbt.c (lm_base): Update.
6496 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6497 Update.
6498 * solib-irix.c (locate_base): Update.
6499 * solib-som.c (som_solib_create_inferior_hook)
6500 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6501 Update.
6502 * solib-spu.c (spu_enable_break): Update.
6503 * solib-svr4.c (elf_locate_base, enable_break): Update.
6504 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6505 (flush_ea_cache): Update.
6506 * stabsread.c (define_symbol): Update.
6507 * symfile.c (simple_read_overlay_table): Update.
6508 * symtab.c (find_pc_sect_line): Update.
6509 * tracepoint.c (scope_info): Update.
6510 * tui-disasm.c (tui_get_begin_asm_address): Update.
6511 * value.c (value_static_field): Update.
6512
40c1a007
TT
65132014-02-26 Tom Tromey <tromey@redhat.com>
6514
6515 * minsyms.c (prim_record_minimal_symbol_full): Use
6516 SET_MSYMBOL_VALUE_ADDRESS.
6517 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6518 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6519 SET_MSYMBOL_VALUE_ADDRESS.
6520 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6521 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6522
efd66ac6
TT
65232014-02-26 Tom Tromey <tromey@redhat.com>
6524
6525 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6526 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6527 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6528 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6529 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6530 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6531 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6532 * ada-lang.c (ada_main_name): Update.
6533 (ada_lookup_simple_minsym): Update.
6534 (ada_make_symbol_completion_list): Update.
6535 (ada_add_standard_exceptions): Update.
6536 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6537 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6538 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6539 * arm-tdep.c (skip_prologue_function): Update.
6540 (arm_skip_stack_protector, arm_skip_stub): Update.
6541 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6542 (arm_wince_skip_main_prologue): Update.
6543 * auxv.c (ld_so_xfer_auxv): Update.
6544 * avr-tdep.c (avr_scan_prologue): Update.
6545 * ax-gdb.c (gen_var_ref): Update.
6546 * block.c (call_site_for_pc): Update.
6547 * blockframe.c (get_pc_function_start): Update.
6548 (find_pc_partial_function_gnu_ifunc): Update.
6549 * breakpoint.c (create_overlay_event_breakpoint): Update.
6550 (create_longjmp_master_breakpoint): Update.
6551 (create_std_terminate_master_breakpoint): Update.
6552 (create_exception_master_breakpoint): Update.
6553 (resolve_sal_pc): Update.
6554 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6555 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6556 Update.
6557 * c-valprint.c (c_val_print): Update.
6558 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6559 * coffread.c (coff_symfile_read): Update.
6560 * common/agent.c (agent_look_up_symbols): Update.
6561 * dbxread.c (find_stab_function_addr): Update.
6562 (end_psymtab): Update.
6563 * dwarf2loc.c (call_site_to_target_addr): Update.
6564 (func_verify_no_selftailcall): Update.
6565 (tailcall_dump): Update.
6566 (call_site_find_chain_1): Update.
6567 (dwarf_expr_reg_to_entry_parameter): Update.
6568 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6569 (elf_gnu_ifunc_resolve_by_got): Update.
6570 * f-valprint.c (info_common_command): Update.
6571 * findvar.c (read_var_value): Update.
6572 * frame.c (get_prev_frame_1): Update.
6573 (inside_main_func): Update.
6574 * frv-tdep.c (frv_skip_main_prologue): Update.
6575 (frv_frame_this_id): Update.
6576 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6577 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6578 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6579 (gnuv3_skip_trampoline): Update.
6580 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6581 (hppa64_hpux_in_solib_call_trampoline): Update.
6582 (hppa_hpux_skip_trampoline_code): Update.
6583 (hppa64_hpux_search_dummy_call_sequence): Update.
6584 (hppa_hpux_find_import_stub_for_addr): Update.
6585 (hppa_hpux_find_dummy_bpaddr): Update.
6586 * hppa-tdep.c (hppa_symbol_address)
6587 (hppa_lookup_stub_minimal_symbol): Update.
6588 * i386-tdep.c (i386_skip_main_prologue): Update.
6589 (i386_pe_skip_trampoline_code): Update.
6590 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6591 * infcall.c (get_function_name): Update.
6592 * infcmd.c (until_next_command): Update.
6593 * jit.c (jit_breakpoint_re_set_internal): Update.
6594 (jit_inferior_init): Update.
6595 * linespec.c (minsym_found): Update.
6596 (add_minsym): Update.
6597 * linux-fork.c (info_checkpoints_command): Update.
6598 * linux-nat.c (get_signo): Update.
6599 * linux-thread-db.c (inferior_has_bug): Update.
6600 * m32c-tdep.c (m32c_return_value): Update.
6601 (m32c_m16c_address_to_pointer): Update.
6602 (m32c_m16c_pointer_to_address): Update.
6603 * m32r-tdep.c (m32r_frame_this_id): Update.
6604 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6605 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6606 * maint.c (maintenance_translate_address): Update.
6607 * minsyms.c (add_minsym_to_hash_table): Update.
6608 (add_minsym_to_demangled_hash_table): Update.
6609 (msymbol_objfile): Update.
6610 (lookup_minimal_symbol): Update.
6611 (iterate_over_minimal_symbols): Update.
6612 (lookup_minimal_symbol_text): Update.
6613 (lookup_minimal_symbol_by_pc_name): Update.
6614 (lookup_minimal_symbol_solib_trampoline): Update.
6615 (lookup_minimal_symbol_by_pc_section_1): Update.
6616 (lookup_minimal_symbol_and_objfile): Update.
6617 (prim_record_minimal_symbol_full): Update.
6618 (compare_minimal_symbols): Update.
6619 (compact_minimal_symbols): Update.
6620 (build_minimal_symbol_hash_tables): Update.
6621 (install_minimal_symbols): Update.
6622 (terminate_minimal_symbol_table): Update.
6623 (find_solib_trampoline_target): Update.
6624 (minimal_symbol_upper_bound): Update.
6625 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6626 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6627 (mips_skip_pic_trampoline_code): Update.
6628 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6629 * objc-lang.c (selectors_info): Update.
6630 (classes_info): Update.
6631 (find_methods): Update.
6632 (find_imps): Update.
6633 (find_objc_msgsend): Update.
6634 * objfiles.c (objfile_relocate1): Update.
6635 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6636 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6637 * p-valprint.c (pascal_val_print): Update.
6638 * parse.c (write_exp_msymbol): Update.
6639 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6640 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6641 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6642 * printcmd.c (build_address_symbolic): Update.
6643 (sym_info): Update.
6644 (address_info): Update.
6645 * proc-service.c (ps_pglobal_lookup): Update.
6646 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6647 (find_pc_sect_psymtab): Update.
6648 * python/py-framefilter.c (py_print_frame): Update.
6649 * ravenscar-thread.c (get_running_thread_id): Update.
6650 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6651 Update.
6652 * remote.c (remote_check_symbols): Update.
6653 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6654 (rs6000_skip_trampoline_code): Update.
6655 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6656 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6657 * solib-dsbt.c (lm_base): Update.
6658 * solib-frv.c (lm_base): Update.
6659 (main_got): Update.
6660 * solib-irix.c (locate_base): Update.
6661 * solib-som.c (som_solib_create_inferior_hook): Update.
6662 (som_solib_desire_dynamic_linker_symbols): Update.
6663 (link_map_start): Update.
6664 * solib-spu.c (spu_enable_break): Update.
6665 (ocl_enable_break): Update.
6666 * solib-svr4.c (elf_locate_base): Update.
6667 (enable_break): Update.
6668 * spu-tdep.c (spu_get_overlay_table): Update.
6669 (spu_catch_start): Update.
6670 (flush_ea_cache): Update.
6671 * stabsread.c (define_symbol): Update.
6672 (scan_file_globals): Update.
6673 * stack.c (find_frame_funname): Update.
6674 (frame_info): Update.
6675 * symfile.c (simple_read_overlay_table): Update.
6676 (simple_overlay_update): Update.
6677 * symmisc.c (dump_msymbols): Update.
6678 * symtab.c (fixup_section): Update.
6679 (find_pc_sect_line): Update.
6680 (skip_prologue_sal): Update.
6681 (search_symbols): Update.
6682 (print_msymbol_info): Update.
6683 (rbreak_command): Update.
6684 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6685 (completion_list_objc_symbol): Update.
6686 (default_make_symbol_completion_list_break_on): Update.
6687 * tracepoint.c (scope_info): Update.
6688 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6689 (tui_get_begin_asm_address): Update.
6690 * valops.c (find_function_in_inferior): Update.
6691 * value.c (value_static_field): Update.
6692 (value_fn_field): Update.
6693
50e65b17
TT
66942014-02-26 Tom Tromey <tromey@redhat.com>
6695
6696 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6697 bound minimal symbols. Move code that knows about minsym
6698 table layout...
6699 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6700 function.
6701 * minsyms.h (minimal_symbol_upper_bound): Declare.
6702 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6703 minimal_symbol_upper_bound.
6704
1b588015
JB
67052014-02-27 Joel Brobecker <brobecker@adacore.com>
6706
6707 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6708 Use the type's name if its basic type does not have a tag.
6709
dbb9c2b1
JB
67102014-02-27 Joel Brobecker <brobecker@adacore.com>
6711
6712 * dwarf2read.c (read_subrange_type): Add comment.
6713
55426c9d
JB
67142014-02-27 Joel Brobecker <brobecker@adacore.com>
6715
6716 * dwarf2read.c (update_enumeration_type_from_children): New
6717 function, mostly extracted from process_structure_scope.
6718 (read_enumeration_type): Call update_enumeration_type_from_children.
6719 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6720 and flag_flag_enum fields.
6721
f2fce0ca
PA
67222014-02-26 Pedro Alves <palves@redhat.com>
6723
6724 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6725 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6726 to_xfer_partial method.
6727
7a44e40e
PA
67282014-02-26 Pedro Alves <palves@redhat.com>
6729
6730 * target.c (complete_target_initialization): Don't install
6731 default_xfer_partial as to_xfer_partial hook.
6732 (nomemory): Delete.
6733 (update_current_target): Don't INHERIT nor de_fault
6734 deprecated_xfer_memory. Delete de_fault macro.
6735 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6736 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6737 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6738 field.
6739
bd265cd0
PA
67402014-02-26 Pedro Alves <palves@redhat.com>
6741
6742 * go32-nat.c (my_write_child): New function.
6743 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6744 (go32_xfer_partial): New function.
6745 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6746 Instead install a to_xfer_partial hook.
6747
9d46c4e5
PA
67482014-02-26 Pedro Alves <palves@redhat.com>
6749
6750 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6751 to_xfer_partial helper. Rewrite.
6752 (procfs_xfer_partial): New function.
6753 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6754 Install a to_xfer_partial hook.
6755
a1583b1f
PA
67562014-02-26 Pedro Alves <palves@redhat.com>
6757
6758 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6759 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6760 (m32r_xfer_partial): New function.
6761 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6762 Install a to_xfer_partial hook.
6763
6df1b29f
PA
67642014-02-26 Pedro Alves <palves@redhat.com>
6765
6766 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6767 helper.
6768 (mips_xfer_partial): New function.
6769 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6770 hook. Install a to_xfer_partial hook.
6771
dc53a7ad
JB
67722014-02-26 Joel Brobecker <brobecker@adacore.com>
6773
6774 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6775 * gdbtypes.c (create_array_type_with_stride): New function,
6776 renaming create_array_type, but with an added parameter
6777 called "bit_stride".
6778 (create_array_type): Re-implement using
6779 create_array_type_with_stride.
6780 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6781 and DW_AT_bit_stride attributes.
6782
12ab52e9
PA
67832014-02-26 Pedro Alves <palves@redhat.com>
6784
6785 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6786 task-specific breakpoints.
6787
d16461ae
PA
67882014-02-25 Pedro Alves <palves@redhat.com>
6789
6790 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6791 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6792
a8b16220
SS
67932014-02-25 Stan Shebs <stan@codesourcery.com>
6794
6795 * defs.h: Annotate comments for Doxygen.
6796
b9e795ee
TT
67972014-02-25 Tom Tromey <tromey@redhat.com>
6798
6799 * target.h (target_ignore): Don't declare.
6800 * target.c (target_ignore): Remove.
6801
849c862e
JK
68022014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6803
6804 PR gdb/16626
6805 * auto-load.c (auto_load_objfile_script_1): Change filename to
6806 debugfile.
6807
475109d8
JB
68082014-02-25 Joel Brobecker <brobecker@adacore.com>
6809
6810 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
6811 documentation. Adjust prototype to match the target_ops
6812 to_xfer_partial method. Adjust implementation accordingly.
6813
e186c3bd
HZ
68142014-02-25 Hui Zhu <hui@codesourcery.com>
6815
6816 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
6817 to_traceframe_info.
6818
6d451942
KB
68192014-02-25 Kevin Buettner <kevinb@redhat.com>
6820
041ab8b4 6821 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
6822 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
6823 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6824 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
6825 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
6826 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
6827 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
6828 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
6829 New constants.
6830 (rl78_register_type): Use a data pointer type for SP and
6831 new pseudo registers mentioned above. Use a 16 bit integer
6832 type for all other register pairs.
6833 (rl78_register_name, rl78_g10_register_name): Update for
6834 new pseudo registers.
6835 (rl78_pseudo_register_read): Likewise.
6836 (rl78_pseudo_register_write): Likewise.
6837 (rl78_dwarf_reg_to_regnum): Return register numbers representing
6838 to the newly added pseudo registers.
6839
eddf0bae
DE
68402014-02-24 Doug Evans <dje@google.com>
6841
6842 * value.c (record_latest_value): Fix comment.
6843 * printcmd.c (print_command_1): Remove code to handle -1 return from
6844 record_latest_value.
6845
e96027e0
PA
68462014-02-24 Pedro Alves <palves@redhat.com>
6847
6848 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
6849 deprecated_xfer_memory hook.
6850 (procfs_xfer_partial): Call procfs_xfer_memory instead
6851 of the deprecated_xfer_memory target hook.
6852 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
6853 helper.
6854
0837c976
YZ
68552014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
6856
6857 * windows-nat.c (windows_xfer_shared_libraries): Return
6858 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
6859 requested object is TARGET_OBJECT_LIBRARIES.
6860
bc113b4e
YQ
68612014-02-24 Yao Qi <yao@codesourcery.com>
6862
6863 * target.h (enum target_xfer_status)
6864 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
6865 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
6866 explicitly. New.
6867 * corefile.c (memory_error_message): User updated.
6868 * exec.c (section_table_read_available_memory): Likewise.
6869 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6870 * target.c (target_xfer_status_to_string): Likewise.
6871 (raw_memory_xfer_partial): Likewise.
6872 (memory_xfer_partial_1, target_xfer_partial): Likewise.
6873 * valops.c (read_value_memory): Likewise.
6874 * exec.h: Update comments.
6875
01cb8804
YQ
68762014-02-24 Yao Qi <yao@codesourcery.com>
6877
6878 * target.c (target_xfer_status_to_string): Rename argument err
6879 to status.
6880 * target.h (target_xfer_status_to_string): Update declaration.
6881 Replace target_xfer_error_to_string with
6882 target_xfer_status_to_string in comment.
6883
93063aa6
YQ
68842014-02-24 Yao Qi <yao@codesourcery.com>
6885
6886 * mips-linux-nat.c (super_close): Update its type.
6887 (mips_linux_close): Pass 'self' to super_close.
6888
5c328c05
YQ
68892014-02-24 Yao Qi <yao@codesourcery.com>
6890
6891 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
6892 * corefile.c (read_memory): Adjusted.
6893 * target.c (target_write_with_progress): Adjusted.
6894
f73023dd
YQ
68952014-02-23 Yao Qi <yao@codesourcery.com>
6896
6897 Revert two patches:
6898
6899 2013-10-25 Yao Qi <yao@codesourcery.com>
6900
6901 * remote.c (remote_traceframe_info): Return early if
6902 traceframe is not selected.
6903
6904 2013-07-19 Yao Qi <yao@codesourcery.com>
6905
6906 * target.c (update_current_target): Change the default action
6907 of 'to_traceframe_info' from tcomplain to return_zero.
6908 * target.h (struct target_ops) <to_traceframe_info>: Add more
6909 comments.
6910
5a2eb0ef
YQ
69112014-02-23 Yao Qi <yao@codesourcery.com>
6912
6913 * valops.c (read_value_memory): Rewrite it. Call
6914 target_xfer_partial in a loop.
6915 * exec.h (section_table_available_memory): Remove declaration.
6916 Move comments to ...
6917 * exec.c (section_table_available_memory): ... here. Make it
6918 static.
6919
1ee79381
YQ
69202014-02-23 Yao Qi <yao@codesourcery.com>
6921
6922 * exec.c (section_table_read_available_memory): New function.
6923 * exec.h (section_table_read_available_memory): Declare.
6924 * ctf.c (ctf_xfer_partial): Call
6925 section_table_read_available_memory.
6926 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6927
1ca49d37
YQ
69282014-02-23 Yao Qi <yao@codesourcery.com>
6929
6930 * ctf.c (ctf_xfer_partial): Move code to ...
6931 * exec.c (exec_read_partial_read_only): ... it. New function.
6932 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6933 * tracefile.c: Include "exec.h".
6934 * exec.h (exec_read_partial_read_only): Declare.
6935
a283690e
YQ
69362014-02-23 Yao Qi <yao@codesourcery.com>
6937
6938 * tracefile-tfile.c (tfile_has_all_memory): Remove.
6939 (tfile_has_memory): Remove.
6940 (init_tfile_ops): Don't set fields to_has_all_memory and
6941 to_has_memory of tfile_ops.
6942 * tracefile.c (tracefile_has_all_memory): New function.
6943 (tracefile_has_memory): New function.
6944 (init_tracefile_ops): Initialize fields to_has_all_memory and
6945 to_has_memory of 'ops'.
6946
12e03cd0
YQ
69472014-02-23 Yao Qi <yao@codesourcery.com>
6948
6949 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
6950 (ctf_thread_alive, ctf_get_trace_status): Remove.
6951 (init_ctf_ops): Don't set some fields of ctf_ops. Call
6952 init_tracefile_ops.
6953 * tracefile-tfile.c (tfile_get_trace_status): Remove.
6954 (tfile_has_stack, tfile_has_registers): Remove.
6955 (tfile_thread_alive): Remove.
6956 (init_tfile_ops): Don't set some fields of tfile_ops. Call
6957 init_tracefile_ops.
6958 * tracefile.c (tracefile_has_stack): New function.
6959 (tracefile_has_registers): New function.
6960 (tracefile_thread_alive): New function.
6961 (tracefile_get_trace_status): New function.
6962 (init_tracefile_ops): New function.
6963 * tracefile.h (init_tracefile_ops): Declare.
6964
11395323
YQ
69652014-02-23 Yao Qi <yao@codesourcery.com>
6966
6967 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
6968 (O_LARGEFILE): Likewise.
6969 (tfile_ops): Likewise.
6970 (TRACE_HEADER_SIZE): Likewise.
6971 (trace_fd, trace_frames_offset, cur_offset): Likewise.
6972 (cur_data_size): Likewise.
6973 (tfile_read, tfile_open, tfile_interp_line): Likewise.
6974 (tfile_close, tfile_files_info): Likewise.
6975 (tfile_get_trace_status): Likewise.
6976 (tfile_get_tracepoint_status): Likewise.
6977 (tfile_get_traceframe_address): Likewise.
6978 (tfile_trace_find, match_blocktype): Likewise.
6979 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
6980 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
6981 (tfile_get_trace_state_variable_value): Likewise.
6982 (tfile_has_all_memory, tfile_has_memory): Likewise.
6983 (tfile_has_stack, tfile_has_registers): Likewise.
6984 (tfile_thread_alive, build_traceframe_info): Likewise.
6985 (tfile_traceframe_info, init_tfile_ops): Likewise.
6986 (_initialize_tracepoint): Don't call init_tfile_ops
6987 and add_target_with_completer.
6988 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
6989 exec.h, completer.h and filenames.h.
6990 (_initialize_tracefile_tfile): New function.
6991
7951c4eb
YQ
69922014-02-23 Yao Qi <yao@codesourcery.com>
6993
6994 * Makefile.in (REMOTE_OBS): Append tracefile.o and
6995 tracefile-tfile.o.
6996 (HFILES_NO_SRCDIR): Add tracefile.h.
6997 * ctf.c: Include "tracefile.h".
6998 * tracefile.h: New file.
6999 * tracefile.c: New file
7000 * tracefile-tfile.c: New file.
7001 * tracepoint.c: Include "tracefile.h".
7002 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7003 (stop_reason_names): Add const.
7004 (trace_file_writer_xfree): Move it to tracefile.c.
7005 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7006 (trace_save_ctf): Likewise.
7007 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7008 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7009 (tfile_write_header, tfile_write_regblock_type): Likewise.
7010 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7011 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7012 (tfile_write_raw_data, tfile_end): Likewise.
7013 (tfile_trace_file_writer_new): Likewise.
7014 (free_uploaded_tp): Make it extern.
7015 (free_uploaded_tsv): Make it extern.
7016 (_initialize_tracepoint): Move code to register command 'tsave'
7017 to tracefile.c.
7018 * tracepoint.h (stop_reason_names): Declare.
7019 (struct trace_frame_write_ops): Move it to tracefile.h.
7020 (struct trace_file_write_ops): Likewise.
7021 (struct trace_file_writer): Likewise.
7022 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7023
184cd072
JK
70242014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7025
7026 PR gdb/16594
7027 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7028 process name.
7029 (get_cores_used_by_process): New parameter num_cores, use it.
7030 (linux_xfer_osdata_processes): Pass num_cores to it.
7031 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7032 process name.
7033
c63528fc
AK
70342014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7035
7036 * target.c (memory_xfer_partial): Fix length arg in call to
7037 breakpoint_xfer_memory.
7038
d7b30f67
SDJ
70392014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7040
7041 PR tdep/16397
7042 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7043 number comes after the + or - signs. Adjust length of register
7044 name to be extracted.
7045
8838afaf
TT
70462014-02-20 Tom Tromey <tromey@redhat.com>
7047
7048 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7049 (ada_varobj_ops): Mark "extern".
7050
05227d14
TT
70512014-02-20 Tom Tromey <tromey@redhat.com>
7052
7053 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7054
1254eefc
DE
70552014-02-20 Doug Evans <xdje42@gmail.com>
7056
7057 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7058 All callers updated.
7059 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7060 All callers updated.
7061 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7062 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7063
adde2bff
DE
70642014-02-20 lin zuojian <manjian2006@gmail.com>
7065 Joel Brobecker <brobecker@adacore.com>
7066 Doug Evans <xdje42@gmail.com>
7067
7068 PR symtab/16581
7069 * dwarf2read.c (struct die_info): New member in_process.
7070 (reset_die_in_process): New function.
7071 (process_die): Set it at the start, reset when returning.
7072 (inherit_abstract_dies): Only call process_die if origin_child_die
7073 not already being processed.
7074
3be75f87
JB
70752014-02-20 Joel Brobecker <brobecker@adacore.com>
7076
7077 * windows-nat.c (handle_unload_dll): Add function documentation.
7078 (do_initial_windows_stuff): Add comment explaining why we wait
7079 until after inferior initialization has finished before
7080 processing all DLLs.
7081
47f7ffdb
JB
70822014-02-20 Joel Brobecker <brobecker@adacore.com>
7083
7084 * windows-nat.c (get_module_name): Delete.
7085 (windows_get_exec_module_filename): New function, mostly
7086 inspired from get_module_name.
7087 (windows_pid_to_exec_file): Replace call to get_module_name
7088 by call to windows_get_exec_module_filename.
7089
1cd9feab
JB
70902014-02-20 Joel Brobecker <brobecker@adacore.com>
7091
7092 * windows-nat.c (handle_load_dll): Rewrite this function's
7093 introductory comment. Remove code using get_module_name
7094 to get the DLL's name.
7095
ea39ad35
JB
70962014-02-20 Joel Brobecker <brobecker@adacore.com>
7097
7098 * windows-nat.c (get_windows_debug_event): Ignore
7099 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7100 if windows_initialization_done == 0.
7101 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7102 Adjust implementation to always load all DLLs.
7103 (do_initial_windows_stuff): Replace call to
7104 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7105
95060284
JB
71062014-02-20 Joel Brobecker <brobecker@adacore.com>
7107
7108 * windows-nat.c (_initialize_windows_nat): Deprecate the
7109 "dll-symbols" command. Turn the "add-shared-symbol-files"
7110 and "assf" aliases into commands, and deprecate them as well.
7111 * NEWS: Add entry explaining that "dll-symbols" and its two
7112 aliases are now deprecated.
7113
8d4fdb12
JB
71142014-02-20 Joel Brobecker <brobecker@adacore.com>
7115
7116 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7117 new-line in debug string. Remove trailing spaces.
7118
1b281443
SS
71192014-02-19 Stan Shebs <stan@codesourcery.com>
7120
7121 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7122
f7bd0f78
SC
71232014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7124
7125 * NEWS: Add entry for the new feature
7126 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7127 and class values.
7128
399ebc3d
SS
71292014-02-19 Stan Shebs <stan@codesourcery.com>
7130
7131 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7132
c658158d
PA
71332014-02-19 Pedro Alves <palves@redhat.com>
7134
7135 * common/ptid.h (struct ptid): Mention that process_stratum
7136 targets should prefer ptid.lwp.
7137
ba348170
PA
71382014-02-19 Pedro Alves <palves@redhat.com>
7139
7140 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7141 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7142 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7143 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7144 store remote thread ids rather than ptid.tid.
7145 (_initialize_remote): Adjust.
7146
ac01945b
TT
71472014-02-19 Tom Tromey <tromey@redhat.com>
7148
7149 * target.c (target_get_unwinder): Rewrite.
7150 (target_get_tailcall_unwinder): Rewrite.
7151 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7152 (record_btrace_to_get_tailcall_unwinder): New function.
7153 (init_record_btrace_ops): Update.
7154 * target.h (struct target_ops) <to_get_unwinder,
7155 to_get_tailcall_unwinder>: Now function pointers. Use
7156 TARGET_DEFAULT_RETURN.
7157
8476dc92
TT
71582014-02-19 Tom Tromey <tromey@redhat.com>
7159
7160 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7161 argument.
7162 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7163
c0eca49f
TT
71642014-02-19 Tom Tromey <tromey@redhat.com>
7165
7166 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7167 directly.
7168 * target-delegates.c: Rebuild.
7169 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7170 TARGET_DEFAULT_FUNC.
7171 * target.c (default_target_decr_pc_after_break): Rename from
7172 forward_target_decr_pc_after_break. Simplify.
7173 (target_decr_pc_after_break): Rely on delegation.
7174
596b6b39
TT
71752014-02-19 Tom Tromey <tromey@redhat.com>
7176
7177 * target.c (update_current_target): Do not INHERIT to_doc or
7178 to_magic. Do not de_fault to_open or to_close.
7179
b427c1bc
TT
71802014-02-19 Tom Tromey <tromey@redhat.com>
7181
7182 * gcore.h (objfile_find_memory_regions): Declare.
7183 * gcore.c (objfile_find_memory_regions): No longer static. Add
7184 "self" argument.
7185 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7186 * exec.c: Include gcore.h.
7187 (exec_set_find_memory_regions): Remove.
7188 (exec_find_memory_regions): Remove.
7189 (exec_do_find_memory_regions): Remove.
7190 (init_exec_ops): Update.
7191 * defs.h (exec_set_find_memory_regions): Remove.
7192
9b144037
TT
71932014-02-19 Tom Tromey <tromey@redhat.com>
7194
7195 * target-delegates.c: Rebuild.
7196 * target.h (struct target_ops) <to_extra_thread_info,
7197 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7198 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7199 not 0, in TARGET_DEFAULT_RETURN.
7200
555bbdeb
TT
72012014-02-19 Tom Tromey <tromey@redhat.com>
7202
7203 * target.c (complete_target_initialization): Remove casts. Use
7204 return_zero_has_execution.
7205 (return_zero): Add "ignore" argument.
7206 (return_zero_has_execution): New function.
7207 (init_dummy_target): Remove casts. Use
7208 return_zero_has_execution.
7209
be4ddd36
TT
72102014-02-19 Tom Tromey <tromey@redhat.com>
7211
7212 * target.c (update_current_target): Update comments. Do not
7213 INHERIT to_stratum.
7214
2117c711
TT
72152014-02-19 Tom Tromey <tromey@redhat.com>
7216
7217 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7218 needed.
7219 * corelow.c (core_read_description): Delegate when needed.
7220 * remote.c (remote_read_description): Delegate when needed.
7221 * target-delegates.c: Rebuild.
7222 * target.c (target_read_description): Rewrite.
7223 * target.h (struct target_ops) <to_read_description>: Update
7224 comment. Use TARGET_DEFAULT_RETURN.
7225
e88ef65c
TT
72262014-02-19 Tom Tromey <tromey@redhat.com>
7227
7228 * target-delegates.c: Rebuild.
7229 * target.c (update_current_target): Don't inherit or default
7230 to_can_run.
7231 (find_default_run_target): Check against delegate_can_run.
7232 * target.h (struct target_ops) <to_can_run>: Use
7233 TARGET_DEFAULT_RETURN.
7234
86a0854a
TT
72352014-02-19 Tom Tromey <tromey@redhat.com>
7236
7237 * target-delegates.c: Rebuild.
7238 * target.c (target_disconnect): Unconditionally delegate.
7239 * target.h (struct target_ops) <to_disconnect>: Use
7240 TARGET_DEFAULT_NORETURN.
7241
ee97f592
TT
72422014-02-19 Tom Tromey <tromey@redhat.com>
7243
7244 * record.c (record_stop): Unconditionally delegate.
7245 * target-delegates.c: Rebuild.
7246 * target.c (target_stop_recording): Unconditionally delegate.
7247 * target.h (struct target_ops) <to_stop_recording>: Use
7248 TARGET_DEFAULT_IGNORE.
7249
6dc7fcf4
TT
72502014-02-19 Tom Tromey <tromey@redhat.com>
7251
7252 * target-delegates.c: Rebuild.
7253 * target.c (target_enable_btrace): Unconditionally delegate.
7254 * target.h (struct target_ops) <to_enable_btrace>: Use
7255 TARGET_DEFAULT_NORETURN.
7256
eb5b20d4
TT
72572014-02-19 Tom Tromey <tromey@redhat.com>
7258
7259 * target-delegates.c: Rebuild.
7260 * target.c (target_read_btrace): Unconditionally delegate.
7261 * target.h (struct target_ops) <to_read_btrace>: Use
7262 TARGET_DEFAULT_NORETURN.
7263
9ace480d
TT
72642014-02-19 Tom Tromey <tromey@redhat.com>
7265
7266 * target-delegates.c: Rebuild.
7267 * target.c (target_teardown_btrace): Unconditionally delegate.
7268 * target.h (struct target_ops) <to_teardown_btrace>: Use
7269 TARGET_DEFAULT_NORETURN.
7270
8dc292d3
TT
72712014-02-19 Tom Tromey <tromey@redhat.com>
7272
7273 * target-delegates.c: Rebuild.
7274 * target.c (target_disable_btrace): Unconditionally delegate.
7275 * target.h (struct target_ops) <to_disable_btrace>: Use
7276 TARGET_DEFAULT_NORETURN.
7277
58a5184e
TT
72782014-02-19 Tom Tromey <tromey@redhat.com>
7279
7280 * target-delegates.c: Rebuild.
7281 * target.c (default_search_memory): New function.
7282 (simple_search_memory): Update comment.
7283 (target_search_memory): Unconditionally delegate.
7284 * target.h (struct target_ops) <to_search_memory>: Use
7285 TARGET_DEFAULT_FUNC.
7286
8de71aab
TT
72872014-02-19 Tom Tromey <tromey@redhat.com>
7288
7289 * auxv.c (default_auxv_parse): No longer static.
7290 (target_auxv_parse): Unconditionally delegate.
7291 * auxv.h (default_auxv_parse): Declare.
7292 * target-delegates.c: Rebuild.
7293 * target.c: Include auxv.h.
7294 * target.h (struct target_ops) <to_auxv_parse>: Use
7295 TARGET_DEFAULT_FUNC.
7296
6b2c5a57
TT
72972014-02-19 Tom Tromey <tromey@redhat.com>
7298
7299 * target-delegates.c: Rebuild.
7300 * target.c (target_memory_map): Unconditionally delegate.
7301 * target.h (struct target_ops) <to_memory_map>: Use
7302 TARGET_DEFAULT_RETURN.
7303
cbffc065
TT
73042014-02-19 Tom Tromey <tromey@redhat.com>
7305
7306 * target-delegates.c: Rebuild.
7307 * target.c (target_thread_alive): Unconditionally delegate.
7308 * target.h (struct target_ops) <to_thread_alive>: Use
7309 TARGET_DEFAULT_RETURN.
7310
f09e2107
TT
73112014-02-19 Tom Tromey <tromey@redhat.com>
7312
7313 * target-delegates.c: Rebuild.
7314 * target.c (target_save_record): Unconditionally delegate.
7315 * target.h (struct target_ops) <to_save_record>: Use
7316 TARGET_DEFAULT_NORETURN.
7317
07366925
TT
73182014-02-19 Tom Tromey <tromey@redhat.com>
7319
7320 * target-delegates.c: Rebuild.
7321 * target.c (target_delete_record): Unconditionally delegate.
7322 * target.h (struct target_ops) <to_delete_record>: Use
7323 TARGET_DEFAULT_NORETURN.
7324
dd2e9d25
TT
73252014-02-19 Tom Tromey <tromey@redhat.com>
7326
7327 * target-delegates.c: Rebuild.
7328 * target.c (target_record_is_replaying): Unconditionally
7329 delegate.
7330 * target.h (struct target_ops) <to_record_is_replaying>: Use
7331 TARGET_DEFAULT_RETURN.
7332
671e76cc
TT
73332014-02-19 Tom Tromey <tromey@redhat.com>
7334
7335 * target-delegates.c: Rebuild.
7336 * target.c (target_goto_record_begin): Unconditionally delegate.
7337 * target.h (struct target_ops) <to_goto_record_begin>: Use
7338 TARGET_DEFAULT_NORETURN.
7339
e9179bb3
TT
73402014-02-19 Tom Tromey <tromey@redhat.com>
7341
7342 * target-delegates.c: Rebuild.
7343 * target.c (target_goto_record_end): Unconditionally delegate.
7344 * target.h (struct target_ops) <to_goto_record_end>: Use
7345 TARGET_DEFAULT_NORETURN.
7346
05969c84
TT
73472014-02-19 Tom Tromey <tromey@redhat.com>
7348
7349 * target-delegates.c: Rebuild.
7350 * target.c (target_goto_record): Unconditionally delegate.
7351 * target.h (struct target_ops) <to_goto_record>: Use
7352 TARGET_DEFAULT_NORETURN.
7353
3679abfa
TT
73542014-02-19 Tom Tromey <tromey@redhat.com>
7355
7356 * target-delegates.c: Rebuild.
7357 * target.c (target_insn_history): Unconditionally delegate.
7358 * target.h (struct target_ops) <to_insn_history>: Use
7359 TARGET_DEFAULT_NORETURN.
7360
8444ab58
TT
73612014-02-19 Tom Tromey <tromey@redhat.com>
7362
7363 * target-delegates.c: Rebuild.
7364 * target.c (target_insn_history_from): Unconditionally delegate.
7365 * target.h (struct target_ops) <to_insn_history_from>: Use
7366 TARGET_DEFAULT_NORETURN.
7367
c29302cc
TT
73682014-02-19 Tom Tromey <tromey@redhat.com>
7369
7370 * target-delegates.c: Rebuild.
7371 * target.c (target_insn_history_range): Unconditionally delegate.
7372 * target.h (struct target_ops) <to_insn_history_range>: Use
7373 TARGET_DEFAULT_NORETURN.
7374
170049d4
TT
73752014-02-19 Tom Tromey <tromey@redhat.com>
7376
7377 * target-delegates.c: Rebuild.
7378 * target.c (target_call_history): Unconditionally delegate.
7379 * target.h (struct target_ops) <to_call_history>: Use
7380 TARGET_DEFAULT_NORETURN.
7381
16fc27d6
TT
73822014-02-19 Tom Tromey <tromey@redhat.com>
7383
7384 * target-delegates.c: Rebuild.
7385 * target.c (target_call_history_from): Unconditionally delegate.
7386 * target.h (struct target_ops) <to_call_history_from>: Use
7387 TARGET_DEFAULT_NORETURN.
7388
115d9817
TT
73892014-02-19 Tom Tromey <tromey@redhat.com>
7390
7391 * target-delegates.c: Rebuild.
7392 * target.c (target_call_history_range): Unconditionally delegate.
7393 * target.h (struct target_ops) <to_call_history_range>: Use
7394 TARGET_DEFAULT_NORETURN.
7395
eb276a6b
TT
73962014-02-19 Tom Tromey <tromey@redhat.com>
7397
7398 * target-delegates.c: Rebuild.
7399 * target.c (target_verify_memory): Unconditionally delegate.
7400 * target.h (struct target_ops) <to_verify_memory>: Use
7401 TARGET_DEFAULT_NORETURN.
7402
9e538d0d
TT
74032014-02-19 Tom Tromey <tromey@redhat.com>
7404
7405 * target-delegates.c: Rebuild.
7406 * target.c (target_core_of_thread): Unconditionally delegate.
7407 * target.h (struct target_ops) <to_core_of_thread>: Use
7408 TARGET_DEFAULT_RETURN.
7409
f6fb2925
TT
74102014-02-19 Tom Tromey <tromey@redhat.com>
7411
7412 * target-delegates.c: Rebuild.
7413 * target.c (target_flash_done): Unconditionally delegate.
7414 * target.h (struct target_ops) <to_flash_done>: Use
7415 TARGET_DEFAULT_NORETURN.
7416
e8a6c6ac
TT
74172014-02-19 Tom Tromey <tromey@redhat.com>
7418
7419 * target-delegates.c: Rebuild.
7420 * target.c (target_flash_erase): Unconditionally delegate.
7421 * target.h (struct target_ops) <to_flash_erase>: Use
7422 TARGET_DEFAULT_NORETURN.
7423
7e35c012
TT
74242014-02-19 Tom Tromey <tromey@redhat.com>
7425
7426 * target-delegates.c: Rebuild.
7427 * target.c (target_get_section_table): Unconditionally delegate.
7428 * target.h (struct target_ops) <to_get_section_table>: Use
7429 TARGET_DEFAULT_RETURN.
7430
770234d3
TT
74312014-02-19 Tom Tromey <tromey@redhat.com>
7432
7433 * target-delegates.c: Rebuild.
7434 * target.c (target_pid_to_str): Unconditionally delegate.
7435 (init_dummy_target): Don't initialize to_pid_to_str.
7436 (default_pid_to_str): Rename from dummy_pid_to_str.
7437 * target.h (struct target_ops) <to_pid_to_str>: Use
7438 TARGET_DEFAULT_FUNC.
7439
09b0dc2b
TT
74402014-02-19 Tom Tromey <tromey@redhat.com>
7441
7442 * target-delegates.c: Rebuild.
7443 * target.c (target_find_new_threads): Unconditionally delegate.
7444 * target.h (struct target_ops) <to_find_new_threads>: Use
7445 TARGET_DEFAULT_RETURN.
7446
7d4f8efa
TT
74472014-02-19 Tom Tromey <tromey@redhat.com>
7448
7449 * target-delegates.c: Rebuild.
7450 * target.c (target_program_signals): Unconditionally delegate.
7451 * target.h (struct target_ops) <to_program_signals>: Use
7452 TARGET_DEFAULT_IGNORE.
7453
035cad7f
TT
74542014-02-19 Tom Tromey <tromey@redhat.com>
7455
7456 * target-delegates.c: Rebuild.
7457 * target.c (target_pass_signals): Unconditionally delegate.
7458 * target.h (struct target_ops) <to_pass_signals>: Use
7459 TARGET_DEFAULT_IGNORE.
7460
8d657035
TT
74612014-02-19 Tom Tromey <tromey@redhat.com>
7462
7463 * target-delegates.c: Rebuild.
7464 * target.c (default_mourn_inferior): New function.
7465 (target_mourn_inferior): Unconditionally delegate.
7466 * target.h (struct target_ops) <to_mourn_inferior>: Use
7467 TARGET_DEFAULT_FUNC.
7468
098dba18
TT
74692014-02-19 Tom Tromey <tromey@redhat.com>
7470
7471 * target-delegates.c: Rebuild.
7472 * target.c (default_follow_fork): New function.
7473 (target_follow_fork): Unconditionally delegate.
7474 * target.h (struct target_ops) <to_follow_fork>: Use
7475 TARGET_DEFAULT_FUNC.
7476
423a4807
TT
74772014-02-19 Tom Tromey <tromey@redhat.com>
7478
7479 * target-delegates.c: Rebuild.
7480 * target.c (target_kill): Unconditionally delegate.
7481 * target.h (struct target_ops) <to_kill>: Use
7482 TARGET_DEFAULT_NORETURN.
7483
6c7e5e5c
TT
74842014-02-19 Tom Tromey <tromey@redhat.com>
7485
7486 * target-delegates.c: Rebuild.
7487 * target.c (target_masked_watch_num_registers): Unconditionally
7488 delegate.
7489 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7490 Use TARGET_DEFAULT_RETURN.
7491
8b1c364c
TT
74922014-02-19 Tom Tromey <tromey@redhat.com>
7493
7494 * target-delegates.c: Rebuild.
7495 * target.c (target_remove_mask_watchpoint): Unconditionally
7496 delegate.
7497 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7498 TARGET_DEFAULT_RETURN.
7499
cd4ae029
TT
75002014-02-19 Tom Tromey <tromey@redhat.com>
7501
7502 * target-delegates.c: Rebuild.
7503 * target.c (target_insert_mask_watchpoint): Unconditionally
7504 delegate.
7505 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7506 TARGET_DEFAULT_RETURN.
7507
a134316b
TT
75082014-02-19 Tom Tromey <tromey@redhat.com>
7509
7510 * target-delegates.c: Rebuild.
7511 * target.c (target_ranged_break_num_registers): Unconditionally
7512 delegate.
7513 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7514 Use TARGET_DEFAULT_RETURN.
7515
ad5989bd
TT
75162014-02-19 Tom Tromey <tromey@redhat.com>
7517
7518 * target-delegates.c: Rebuild.
7519 * target.c (target_fetch_registers): Unconditionally delegate.
7520 * target.h (struct target_ops) <to_fetch_registers>: Use
7521 TARGET_DEFAULT_NORETURN.
7522
46ee7e8d
TT
75232014-02-19 Tom Tromey <tromey@redhat.com>
7524
7525 * target-delegates.c: Rebuild.
7526 * target.c (update_current_target): Don't inherit or default
7527 to_stop.
7528 * target.h (struct target_ops) <to_stop>: Use
7529 TARGET_DEFAULT_IGNORE.
7530
843f59ed
TT
75312014-02-19 Tom Tromey <tromey@redhat.com>
7532
7533 * target-delegates.c: Rebuild.
7534 * target.c (update_current_target): Don't inherit or default
7535 to_can_run_breakpoint_commands.
7536 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7537 Use TARGET_DEFAULT_RETURN.
7538
ccfde2a0
TT
75392014-02-19 Tom Tromey <tromey@redhat.com>
7540
7541 * target-delegates.c: Rebuild.
7542 * target.c (update_current_target): Don't inherit or default
7543 to_supports_evaluation_of_breakpoint_conditions.
7544 * target.h (struct target_ops)
7545 <to_supports_evaluation_of_breakpoint_conditions>: Use
7546 TARGET_DEFAULT_RETURN.
7547
0de91722
TT
75482014-02-19 Tom Tromey <tromey@redhat.com>
7549
7550 * target-delegates.c: Rebuild.
7551 * target.c (update_current_target): Don't inherit or default
7552 to_augmented_libraries_svr4_read.
7553 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7554 Use TARGET_DEFAULT_RETURN.
7555
9a7d8b48
TT
75562014-02-19 Tom Tromey <tromey@redhat.com>
7557
7558 * target-delegates.c: Rebuild.
7559 * target.c (update_current_target): Don't inherit or default
7560 to_can_use_agent.
7561 * target.h (struct target_ops) <to_can_use_agent>: Use
7562 TARGET_DEFAULT_RETURN.
7563
d9db5b21
TT
75642014-02-19 Tom Tromey <tromey@redhat.com>
7565
7566 * target-delegates.c: Rebuild.
7567 * target.c (update_current_target): Don't inherit or default
7568 to_use_agent.
7569 * target.h (struct target_ops) <to_use_agent>: Use
7570 TARGET_DEFAULT_NORETURN.
7571
92155eeb
TT
75722014-02-19 Tom Tromey <tromey@redhat.com>
7573
7574 * target-delegates.c: Rebuild.
7575 * target.c (update_current_target): Don't inherit or default
7576 to_traceframe_info.
7577 (return_null): Remove.
7578 * target.h (struct target_ops) <to_traceframe_info>: Use
7579 TARGET_DEFAULT_RETURN.
7580
d6522a22
TT
75812014-02-19 Tom Tromey <tromey@redhat.com>
7582
7583 * target-delegates.c: Rebuild.
7584 * target.c (update_current_target): Don't inherit or default
7585 to_static_tracepoint_markers_by_strid.
7586 * target.h (struct target_ops)
7587 <to_static_tracepoint_markers_by_strid>: Use
7588 TARGET_DEFAULT_NORETURN.
7589
4c3e4425
TT
75902014-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_static_tracepoint_marker_at.
7595 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7596 Use TARGET_DEFAULT_RETURN.
7597
dcd6917f
TT
75982014-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_set_permissions.
7603 * target.h (struct target_ops) <to_set_permissions>: Use
7604 TARGET_DEFAULT_IGNORE.
7605
22bcceee
TT
76062014-02-19 Tom Tromey <tromey@redhat.com>
7607
7608 * target-delegates.c: Rebuild.
7609 * target.c (update_current_target): Don't inherit or default
7610 to_get_tib_address.
7611 * target.h (struct target_ops) <to_get_tib_address>: Use
7612 TARGET_DEFAULT_NORETURN.
7613
8586ccaa
TT
76142014-02-19 Tom Tromey <tromey@redhat.com>
7615
7616 * target-delegates.c: Rebuild.
7617 * target.c (update_current_target): Don't inherit or default
7618 to_set_trace_notes.
7619 * target.h (struct target_ops) <to_set_trace_notes>: Use
7620 TARGET_DEFAULT_RETURN.
7621
91df8d1d
TT
76222014-02-19 Tom Tromey <tromey@redhat.com>
7623
7624 * target-delegates.c: Rebuild.
7625 * target.c (update_current_target): Don't initialize
7626 to_set_trace_buffer_size.
7627 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7628 TARGET_DEFAULT_IGNORE.
7629
8d526939
TT
76302014-02-19 Tom Tromey <tromey@redhat.com>
7631
7632 * target-delegates.c: Rebuild.
7633 * target.c (update_current_target): Don't inherit or default
7634 to_set_circular_trace_buffer.
7635 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7636 TARGET_DEFAULT_IGNORE.
7637
0bcfeddf
TT
76382014-02-19 Tom Tromey <tromey@redhat.com>
7639
7640 * target-delegates.c: Rebuild.
7641 * target.c (update_current_target): Don't inherit or default
7642 to_set_disconnected_tracing.
7643 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7644 TARGET_DEFAULT_IGNORE.
7645
9249843f
TT
76462014-02-19 Tom Tromey <tromey@redhat.com>
7647
7648 * target-delegates.c: Rebuild.
7649 * target.c (update_current_target): Don't inherit or default
7650 to_get_min_fast_tracepoint_insn_len.
7651 (return_minus_one): Remove.
7652 * target.h (struct target_ops)
7653 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7654
ace92e7d
TT
76552014-02-19 Tom Tromey <tromey@redhat.com>
7656
7657 * target-delegates.c: Rebuild.
7658 * target.c (update_current_target): Don't inherit or default
7659 to_get_raw_trace_data.
7660 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7661 TARGET_DEFAULT_NORETURN.
7662
08120467
TT
76632014-02-19 Tom Tromey <tromey@redhat.com>
7664
7665 * target-delegates.c: Rebuild.
7666 * target.c (update_current_target): Don't inherit or default
7667 to_upload_trace_state_variables.
7668 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7669 Use TARGET_DEFAULT_RETURN.
7670
1e949b00
TT
76712014-02-19 Tom Tromey <tromey@redhat.com>
7672
7673 * target-delegates.c: Rebuild.
7674 * target.c (update_current_target): Don't inherit or default
7675 to_upload_tracepoints.
7676 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7677 TARGET_DEFAULT_RETURN.
7678
a2e6c147
TT
76792014-02-19 Tom Tromey <tromey@redhat.com>
7680
7681 * target-delegates.c: Rebuild.
7682 * target.c (update_current_target): Don't inherit or default
7683 to_save_trace_data.
7684 * target.h (struct target_ops) <to_save_trace_data>: Use
7685 TARGET_DEFAULT_NORETURN.
7686
959bcd0b
TT
76872014-02-19 Tom Tromey <tromey@redhat.com>
7688
7689 * target-delegates.c: Rebuild.
7690 * target.c (update_current_target): Don't inherit or default
7691 to_get_trace_state_variable_value.
7692 * target.h (struct target_ops)
7693 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
7694
afc94e66
TT
76952014-02-19 Tom Tromey <tromey@redhat.com>
7696
7697 * target-delegates.c: Rebuild.
7698 * target.c (update_current_target): Don't inherit or default
7699 to_trace_find.
7700 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7701
e51c07ea
TT
77022014-02-19 Tom Tromey <tromey@redhat.com>
7703
7704 * target-delegates.c: Rebuild.
7705 * target.c (update_current_target): Don't inherit or default
7706 to_trace_stop.
7707 * target.h (struct target_ops) <to_trace_stop>: Use
7708 TARGET_DEFAULT_NORETURN.
7709
6fea14cd
TT
77102014-02-19 Tom Tromey <tromey@redhat.com>
7711
7712 * target-delegates.c: Rebuild.
7713 * target.c (update_current_target): Don't inherit or default
7714 to_get_tracepoint_status.
7715 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7716 TARGET_DEFAULT_NORETURN.
7717
4072d4ff
TT
77182014-02-19 Tom Tromey <tromey@redhat.com>
7719
7720 * target-delegates.c: Rebuild.
7721 * target.c (update_current_target): Don't inherit or default
7722 to_get_trace_status.
7723 * target.h (struct target_ops) <to_get_trace_status>: Use
7724 TARGET_DEFAULT_RETURN.
7725
25da2e80
TT
77262014-02-19 Tom Tromey <tromey@redhat.com>
7727
7728 * target-delegates.c: Rebuild.
7729 * target.c (update_current_target): Don't inherit or default
7730 to_trace_start.
7731 * target.h (struct target_ops) <to_trace_start>: Use
7732 TARGET_DEFAULT_NORETURN.
7733
86dd181d
TT
77342014-02-19 Tom Tromey <tromey@redhat.com>
7735
7736 * target-delegates.c: Rebuild.
7737 * target.c (update_current_target): Don't inherit or default
7738 to_trace_set_readonly_regions.
7739 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7740 Use TARGET_DEFAULT_NORETURN.
7741
05c41993
TT
77422014-02-19 Tom Tromey <tromey@redhat.com>
7743
7744 * target-delegates.c: Rebuild.
7745 * target.c (update_current_target): Don't inherit or default
7746 to_disable_tracepoint.
7747 * target.h (struct target_ops) <to_disable_tracepoint>: Use
7748 TARGET_DEFAULT_NORETURN.
7749
151f70f1
TT
77502014-02-19 Tom Tromey <tromey@redhat.com>
7751
7752 * target-delegates.c: Rebuild.
7753 * target.c (update_current_target): Don't inherit or default
7754 to_enable_tracepoint.
7755 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7756 TARGET_DEFAULT_NORETURN.
7757
94eb98b9
TT
77582014-02-19 Tom Tromey <tromey@redhat.com>
7759
7760 * target-delegates.c: Rebuild.
7761 * target.c (update_current_target): Don't inherit or default
7762 to_download_trace_state_variable.
7763 * target.h (struct target_ops) <to_download_trace_state_variable>:
7764 Use TARGET_DEFAULT_NORETURN.
7765
719acc4a
TT
77662014-02-19 Tom Tromey <tromey@redhat.com>
7767
7768 * target-delegates.c: Rebuild.
7769 * target.c (update_current_target): Don't inherit or default
7770 to_can_download_tracepoint.
7771 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7772 TARGET_DEFAULT_RETURN.
7773
9a980a22
TT
77742014-02-19 Tom Tromey <tromey@redhat.com>
7775
7776 * target-delegates.c: Rebuild.
7777 * target.c (update_current_target): Don't inherit or default
7778 to_download_tracepoint.
7779 * target.h (struct target_ops) <to_download_tracepoint>: Use
7780 TARGET_DEFAULT_NORETURN.
7781
5536135b
TT
77822014-02-19 Tom Tromey <tromey@redhat.com>
7783
7784 * target-delegates.c: Rebuild.
7785 * target.c (update_current_target): Don't inherit or default
7786 to_trace_init.
7787 * target.h (struct target_ops) <to_trace_init>: Use
7788 TARGET_DEFAULT_RETURN.
7789
9409d39e
TT
77902014-02-19 Tom Tromey <tromey@redhat.com>
7791
7792 * target-delegates.c: Rebuild.
7793 * target.c (update_current_target): Don't inherit or default
7794 to_supports_string_tracing.
7795 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7796 TARGET_DEFAULT_RETURN.
7797
aab1b22d
TT
77982014-02-19 Tom Tromey <tromey@redhat.com>
7799
7800 * target-delegates.c: Rebuild.
7801 * target.c (update_current_target): Don't inherit or default
7802 to_supports_enable_disable_tracepoint.
7803 * target.h (struct target_ops)
7804 <to_supports_enable_disable_tracepoint>: Use
7805 TARGET_DEFAULT_RETURN.
7806
a7304748
TT
78072014-02-19 Tom Tromey <tromey@redhat.com>
7808
7809 * target-delegates.c: Rebuild.
7810 * target.c (update_current_target): Don't inherit or default
7811 to_supports_multi_process.
7812 * target.h (struct target_ops) <to_supports_multi_process>: Use
7813 TARGET_DEFAULT_RETURN.
7814
4229b31d
TT
78152014-02-19 Tom Tromey <tromey@redhat.com>
7816
7817 * target-delegates.c: Rebuild.
7818 * target.c (update_current_target): Don't inherit or default
7819 to_get_ada_task_ptid.
7820 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
7821 TARGET_DEFAULT_FUNC.
7822
43eba180
TT
78232014-02-19 Tom Tromey <tromey@redhat.com>
7824
7825 * target-delegates.c: Rebuild.
7826 * target.c (update_current_target): Don't inherit or default
7827 to_thread_architecture.
7828 * target.h (struct target_ops) <to_thread_architecture>: Use
7829 TARGET_DEFAULT_FUNC.
7830
fe31bf5b
TT
78312014-02-19 Tom Tromey <tromey@redhat.com>
7832
7833 * target-delegates.c: Rebuild.
7834 * target.c (update_current_target): Don't inherit or default
7835 to_execution_direction.
7836 * target.h (struct target_ops) <to_execution_direction>: Use
7837 TARGET_DEFAULT_FUNC.
7838
53e1cfc7
TT
78392014-02-19 Tom Tromey <tromey@redhat.com>
7840
7841 * target-delegates.c: Rebuild.
7842 * target.c (update_current_target): Don't inherit or default
7843 to_can_execute_reverse.
7844 * target.h (struct target_ops) <to_can_execute_reverse>: Use
7845 TARGET_DEFAULT_RETURN.
7846 (target_can_execute_reverse): Unconditionally delegate.
7847
9bb9d61d
TT
78482014-02-19 Tom Tromey <tromey@redhat.com>
7849
7850 * target-delegates.c: Rebuild.
7851 * target.c (update_current_target): Don't inherit or default
7852 to_goto_bookmark.
7853 (dummy_goto_bookmark): Remove.
7854 (init_dummy_target): Don't inherit or default to_goto_bookmark.
7855 * target.h (struct target_ops) <to_goto_bookmark>: Use
7856 TARGET_DEFAULT_NORETURN.
7857
3dbafbbb
TT
78582014-02-19 Tom Tromey <tromey@redhat.com>
7859
7860 * target-delegates.c: Rebuild.
7861 * target.c (update_current_target): Don't inherit or default
7862 to_get_bookmark.
7863 (dummy_get_bookmark): Remove.
7864 (init_dummy_target): Don't inherit or default to_get_bookmark.
7865 * target.h (struct target_ops) <to_get_bookmark>: Use
7866 TARGET_DEFAULT_NORETURN
7867
16f796b1
TT
78682014-02-19 Tom Tromey <tromey@redhat.com>
7869
7870 * target-delegates.c: Rebuild.
7871 * target.c (update_current_target): Don't inherit or default
7872 to_make_corefile_notes.
7873 (init_dummy_target): Don't initialize to_make_corefile_notes.
7874 * target.h (struct target_ops) <to_make_corefile_notes>: Use
7875 TARGET_DEFAULT_FUNC.
7876
0b5a2719
TT
78772014-02-19 Tom Tromey <tromey@redhat.com>
7878
7879 * target-delegates.c: Rebuild.
7880 * target.c (update_current_target): Don't inherit or default
7881 to_find_memory_regions.
7882 (init_dummy_target): Don't initialize to_find_memory_regions.
7883 * target.h (struct target_ops) <to_find_memory_regions>: Use
7884 TARGET_DEFAULT_FUNC.
7885
d9cb0195
TT
78862014-02-19 Tom Tromey <tromey@redhat.com>
7887
7888 * target-delegates.c: Rebuild.
7889 * target.c (update_current_target): Don't inherit or default
7890 to_log_command.
7891 * target.h (struct target_ops) <to_log_command>: Use
7892 TARGET_DEFAULT_IGNORE.
7893 (target_log_command): Unconditionally delegate.
7894
830ca330
TT
78952014-02-19 Tom Tromey <tromey@redhat.com>
7896
7897 * target-delegates.c: Rebuild.
7898 * target.c (update_current_target): Don't inherit or default
7899 to_pid_to_exec_file.
7900 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
7901 TARGET_DEFAULT_RETURN.
7902
825828fc
TT
79032014-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_thread_name.
7908 (target_thread_name): Unconditionally delegate.
7909 * target.h (struct target_ops) <to_thread_name>: Use
7910 TARGET_DEFAULT_RETURN.
7911
4a7e6dda
TT
79122014-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_extra_thread_info.
7917 * target.h (struct target_ops) <to_extra_thread_info>: Use
7918 TARGET_DEFAULT_RETURN.
7919
0db88c1d
TT
79202014-02-19 Tom Tromey <tromey@redhat.com>
7921
7922 * target-delegates.c: Rebuild.
7923 * target.c (update_current_target): Don't inherit or default
7924 to_has_exited.
7925 * target.h (struct target_ops) <to_has_exited>: Use
7926 TARGET_DEFAULT_RETURN..
7927
6a9fa051
TT
79282014-02-19 Tom Tromey <tromey@redhat.com>
7929
7930 * target-delegates.c: Rebuild.
7931 * target.c (update_current_target): Don't inherit or default
7932 to_set_syscall_catchpoint.
7933 (return_one): Remove.
7934 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
7935 TARGET_DEFAULT_RETURN.
7936
62f64d7a
TT
79372014-02-19 Tom Tromey <tromey@redhat.com>
7938
7939 * target-delegates.c: Rebuild.
7940 * target.c (update_current_target): Don't inherit or default
7941 to_insert_exec_catchpoint.
7942 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7943 TARGET_DEFAULT_RETURN.
7944
cda0f38c
TT
79452014-01-08 Tom Tromey <tromey@redhat.com>
7946
7947 * target-delegates.c: Rebuild.
7948 * target.c (update_current_target): Don't inherit or default
7949 to_insert_exec_catchpoint.
7950 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
7951 TARGET_DEFAULT_RETURN.
7952
95c3375e
TT
79532014-02-19 Tom Tromey <tromey@redhat.com>
7954
7955 * target-delegates.c: Rebuild.
7956 * target.c (update_current_target): Don't inherit or default
7957 to_remove_vfork_catchpoint.
7958 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
7959 TARGET_DEFAULT_RETURN.
7960
7e18a8dc
TT
79612014-02-19 Tom Tromey <tromey@redhat.com>
7962
7963 * target-delegates.c: Rebuild.
7964 * target.c (update_current_target): Don't inherit or default
7965 to_insert_vfork_catchpoint.
7966 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
7967 TARGET_DEFAULT_RETURN.
7968
e1a21fb7
TT
79692014-02-19 Tom Tromey <tromey@redhat.com>
7970
7971 * target-delegates.c: Rebuild.
7972 * target.c (update_current_target): Don't inherit or default
7973 to_remove_fork_catchpoint.
7974 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
7975 TARGET_DEFAULT_RETURN.
7976
5958ebeb
TT
79772014-02-19 Tom Tromey <tromey@redhat.com>
7978
7979 * target-delegates.c: Rebuild.
7980 * target.c (update_current_target): Don't inherit or default
7981 to_insert_fork_catchpoint.
7982 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
7983 TARGET_DEFAULT_RETURN.
7984
340ba4bf
TT
79852014-02-19 Tom Tromey <tromey@redhat.com>
7986
7987 * target-delegates.c: Rebuild.
7988 * target.c (update_current_target): Don't inherit or default
7989 to_post_startup_inferior.
7990 * target.h (struct target_ops) <to_post_startup_inferior>: Use
7991 TARGET_DEFAULT_IGNORE.
7992
7634da87
TT
79932014-02-19 Tom Tromey <tromey@redhat.com>
7994
7995 * target-delegates.c: Rebuild.
7996 * target.c (update_current_target): Don't inherit or default
7997 to_load.
7998 * target.h (struct target_ops) <to_load>: Use
7999 TARGET_DEFAULT_NORETURN.
8000
e19e919f
TT
80012014-02-19 Tom Tromey <tromey@redhat.com>
8002
8003 * target-delegates.c: Rebuild.
8004 * target.c (update_current_target): Don't inherit or default
8005 to_terminal_info.
8006 * target.h (struct target_ops) <to_terminal_info>: Use
8007 TARGET_DEFAULT_FUNC.
8008
c6ea8f79
TT
80092014-02-19 Tom Tromey <tromey@redhat.com>
8010
8011 * target-delegates.c: Rebuild.
8012 * target.c (update_current_target): Don't inherit or default
8013 to_terminal_save_ours.
8014 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8015 TARGET_DEFAULT_IGNORE.
8016
e4a733f1
TT
80172014-02-19 Tom Tromey <tromey@redhat.com>
8018
8019 * target-delegates.c: Rebuild.
8020 * target.c (update_current_target): Don't inherit or default
8021 to_terminal_ours.
8022 * target.h (struct target_ops) <to_terminal_ours>: Use
8023 TARGET_DEFAULT_IGNORE.
8024
74fcbef9
TT
80252014-02-19 Tom Tromey <tromey@redhat.com>
8026
8027 * target-delegates.c: Rebuild.
8028 * target.c (update_current_target): Don't inherit or default
8029 to_terminal_ours_for_output.
8030 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8031 TARGET_DEFAULT_IGNORE.
8032
ddeaacc9
TT
80332014-02-19 Tom Tromey <tromey@redhat.com>
8034
8035 * target-delegates.c: Rebuild.
8036 * target.c (update_current_target): Don't inherit or default
8037 to_terminal_inferior.
8038 * target.h (struct target_ops) <to_terminal_inferior>: Use
8039 TARGET_DEFAULT_IGNORE.
8040
0343661d
TT
80412014-02-19 Tom Tromey <tromey@redhat.com>
8042
8043 * target-delegates.c: Rebuild.
8044 * target.c (update_current_target): Don't inherit or default
8045 to_terminal_init.
8046 * target.h (struct target_ops) <to_terminal_init>: Use
8047 TARGET_DEFAULT_IGNORE.
8048
77cdffe9
TT
80492014-02-19 Tom Tromey <tromey@redhat.com>
8050
8051 * target-delegates.c: Rebuild.
8052 * target.c (update_current_target): Don't inherit or default
8053 to_can_accel_watchpoint_condition.
8054 * target.h (struct target_ops)
8055 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8056
d03655e4
TT
80572014-02-19 Tom Tromey <tromey@redhat.com>
8058
8059 * target-delegates.c: Rebuild.
8060 * target.c (update_current_target): Don't inherit or default
8061 to_region_ok_for_hw_watchpoint.
8062 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8063 Use TARGET_DEFAULT_FUNC.
8064
65f160a9
TT
80652014-02-19 Tom Tromey <tromey@redhat.com>
8066
8067 * target-delegates.c: Rebuild.
8068 * target.c (update_current_target): Don't inherit or default
8069 to_watchpoint_addr_within_range.
8070 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8071 Use TARGET_DEFAULT_FUNC.
8072
61dd109f
TT
80732014-02-19 Tom Tromey <tromey@redhat.com>
8074
8075 * target-delegates.c: Rebuild.
8076 * target.c (update_current_target): Don't inherit or default
8077 to_remove_watchpoint.
8078 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8079 TARGET_DEFAULT_NORETURN.
8080
016facd4
TT
80812014-02-19 Tom Tromey <tromey@redhat.com>
8082
8083 * target-delegates.c: Rebuild.
8084 * target.c (update_current_target): Don't inherit or default
8085 to_insert_watchpoint.
8086 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8087 TARGET_DEFAULT_RETURN.
8088
418dabac
TT
80892014-02-19 Tom Tromey <tromey@redhat.com>
8090
8091 * target-delegates.c: Rebuild.
8092 * target.c (update_current_target): Don't inherit or default
8093 to_remove_hw_breakpoint.
8094 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8095 TARGET_DEFAULT_RETURN.
8096
61b371f9
TT
80972014-02-19 Tom Tromey <tromey@redhat.com>
8098
8099 * target-delegates.c: Rebuild.
8100 * target.c (update_current_target): Don't inherit or default
8101 to_insert_hw_breakpoint.
8102 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8103 TARGET_DEFAULT_RETURN.
8104
52b51d06
TT
81052014-02-19 Tom Tromey <tromey@redhat.com>
8106
8107 * target-delegates.c: Rebuild.
8108 * target.c (update_current_target): Don't inherit or default
8109 to_can_use_hw_breakpoint.
8110 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8111 TARGET_DEFAULT_RETURN.
8112
f86e59b2
TT
81132014-02-19 Tom Tromey <tromey@redhat.com>
8114
8115 * target-delegates.c: Rebuild.
8116 * target.c (update_current_target): Don't inherit or default
8117 to_files_info.
8118 * target.h (struct target_ops) <to_files_info>: Use
8119 TARGET_DEFAULT_IGNORE.
8120
6c628163
TT
81212014-02-19 Tom Tromey <tromey@redhat.com>
8122
8123 * target-delegates.c: Rebuild.
8124 * target.c (update_current_target): Don't inherit or default
8125 to_store.
8126 * target.h (struct target_ops) <to_store>: Use
8127 TARGET_DEFAULT_NORETURN.
8128
bebd3233
TT
81292014-02-19 Tom Tromey <tromey@redhat.com>
8130
8131 * target-delegates.c: Rebuild.
8132 * target.c (update_current_target): Don't inherit or default
8133 to_post_attach.
8134 * target.h (struct target_ops) <to_post_attach>: Use
8135 TARGET_DEFAULT_IGNORE.
8136
a53f3625
TT
81372014-02-19 Tom Tromey <tromey@redhat.com>
8138
8139 * target-delegates.c: Rebuild.
8140 * target.c (update_current_target): Don't inherit or default
8141 to_rcmd.
8142 (default_rcmd): New function.
8143 (do_monitor_command): Unconditionally delegate.
8144 * target.h (struct target_ops) <to_rmcd>: Use
8145 TARGET_DEFAULT_FUNC.
8146
e9a29200
TT
81472014-02-19 Tom Tromey <tromey@redhat.com>
8148
8149 * target-delegates.c: Rebuild.
8150 * target.c (init_dummy_target): Don't initialize to_attach.
8151 (target_attach): Unconditionally delegate.
8152 * target.h (struct target_ops) <to_attach>: Use
8153 TARGET_DEFAULT_FUNC.
8154
09da0d0a
TT
81552014-02-19 Tom Tromey <tromey@redhat.com>
8156
8157 * target-delegates.c: Rebuild.
8158 * target.c (target_detach): Unconditionally delegate.
8159 (init_dummy_target): Don't initialize to_detach.
8160 * target.h (struct target_ops) <to_detach>: Use
8161 TARGET_DEFAULT_IGNORE.
8162
5436ff03
TT
81632014-02-19 Tom Tromey <tromey@redhat.com>
8164
8165 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8166 Add argument.
8167 (target_augmented_libraries_svr4_read): Add argument.
8168 * target.c (update_current_target): Update.
8169 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8170 argument.
8171
f0d960ea
TT
81722014-02-19 Tom Tromey <tromey@redhat.com>
8173
8174 * target.h (struct target_ops) <to_call_history_range>: Add
8175 argument.
8176 * target.c (target_call_history_range): Add argument.
8177 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8178 argument.
8179 (record_btrace_call_history_from): Update.
8180
ec0aea04
TT
81812014-02-19 Tom Tromey <tromey@redhat.com>
8182
8183 * target.h (struct target_ops) <to_call_history_from>: Add
8184 argument.
8185 * target.c (target_call_history_from): Add argument.
8186 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8187 argument.
8188
5df2fcba
TT
81892014-02-19 Tom Tromey <tromey@redhat.com>
8190
8191 * target.h (struct target_ops) <to_call_history>: Add argument.
8192 * target.c (target_call_history): Add argument.
8193 * record-btrace.c (record_btrace_call_history): Add 'self'
8194 argument.
8195
4e99c6b7
TT
81962014-02-19 Tom Tromey <tromey@redhat.com>
8197
8198 * target.h (struct target_ops) <to_insn_history_range>: Add
8199 argument.
8200 * target.c (target_insn_history_range): Add argument.
8201 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8202 argument.
8203 (record_btrace_insn_history_from): Update.
8204
9abc3ff3
TT
82052014-02-19 Tom Tromey <tromey@redhat.com>
8206
8207 * target.h (struct target_ops) <to_insn_history_from>: Add
8208 argument.
8209 * target.c (target_insn_history_from): Add argument.
8210 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8211 argument.
8212
7a6c5609
TT
82132014-02-19 Tom Tromey <tromey@redhat.com>
8214
8215 * target.h (struct target_ops) <to_insn_history>: Add argument.
8216 * target.c (target_insn_history): Add argument.
8217 * record-btrace.c (record_btrace_insn_history): Add 'self'
8218 argument.
8219
606183ac
TT
82202014-02-19 Tom Tromey <tromey@redhat.com>
8221
8222 * target.h (struct target_ops) <to_goto_record>: Add argument.
8223 * target.c (target_goto_record): Add argument.
8224 * record-full.c (record_full_goto): Add 'self' argument.
8225 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8226
307a1b91
TT
82272014-02-19 Tom Tromey <tromey@redhat.com>
8228
8229 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8230 * target.c (target_goto_record_end): Add argument.
8231 * record-full.c (record_full_goto_end): Add 'self' argument.
8232 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8233
08475817
TT
82342014-02-19 Tom Tromey <tromey@redhat.com>
8235
8236 * target.h (struct target_ops) <to_goto_record_begin>: Add
8237 argument.
8238 * target.c (target_goto_record_begin): Add argument.
8239 * record-full.c (record_full_goto_begin): Add 'self' argument.
8240 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8241 argument.
8242
1c63c994
TT
82432014-02-19 Tom Tromey <tromey@redhat.com>
8244
8245 * target.h (struct target_ops) <to_record_is_replaying>: Add
8246 argument.
8247 * target.c (target_record_is_replaying): Add argument.
8248 * record-full.c (record_full_is_replaying): Add 'self' argument.
8249 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8250 argument.
8251 (record_btrace_xfer_partial, record_btrace_store_registers)
8252 (record_btrace_prepare_to_store, record_btrace_resume)
8253 (record_btrace_wait, record_btrace_decr_pc_after_break)
8254 (record_btrace_find_new_threads, record_btrace_thread_alive):
8255 Update.
8256
d1b55219
TT
82572014-02-19 Tom Tromey <tromey@redhat.com>
8258
8259 * target.h (struct target_ops) <to_delete_record>: Add argument.
8260 * target.c (target_delete_record): Add argument.
8261 * record-full.c (record_full_delete): Add 'self' argument.
8262
1390f529
TT
82632014-02-19 Tom Tromey <tromey@redhat.com>
8264
8265 * target.h (struct target_ops) <to_save_record>: Add argument.
8266 * target.c (target_save_record): Add argument.
8267 * record-full.c (record_full_save): Add 'self' argument.
8268 (record_full_save): Add 'self' argument.
8269
630d6a4a
TT
82702014-02-19 Tom Tromey <tromey@redhat.com>
8271
8272 * target.h (struct target_ops) <to_info_record>: Add argument.
8273 * target.c (target_info_record): Add argument.
8274 * record.c (info_record_command): Add argument.
8275 * record-full.c (record_full_info): Add 'self' argument.
8276 * record-btrace.c (record_btrace_info): Add 'self' argument.
8277
c6cd7c02
TT
82782014-02-19 Tom Tromey <tromey@redhat.com>
8279
8280 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8281 * target.c (target_stop_recording): Add argument.
8282 * record.c (record_stop): Add argument.
8283 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8284 argument.
8285
39c49f83
TT
82862014-02-19 Tom Tromey <tromey@redhat.com>
8287
8288 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8289 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8290 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8291 argument.
8292 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8293 (_initialize_amd64_linux_nat): Use it.
8294 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8295 (_initialize_i386_linux_nat): Use it.
8296
1777056d
TT
82972014-02-19 Tom Tromey <tromey@redhat.com>
8298
8299 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8300 * target.c (target_teardown_btrace): Add argument.
8301 * remote.c (remote_teardown_btrace): Add 'self' argument.
8302 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8303 argument.
8304 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8305 argument.
8306
25e95349
TT
83072014-02-19 Tom Tromey <tromey@redhat.com>
8308
8309 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8310 * target.c (target_disable_btrace): Add argument.
8311 * remote.c (remote_disable_btrace): Add 'self' argument.
8312 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8313 argument.
8314 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8315 argument.
8316
e3c49f88
TT
83172014-02-19 Tom Tromey <tromey@redhat.com>
8318
8319 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8320 * target.c (target_enable_btrace): Add argument.
8321 * remote.c (remote_enable_btrace): Add 'self' argument.
8322 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8323 argument.
8324 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8325 argument.
8326
fe38f897
TT
83272014-02-19 Tom Tromey <tromey@redhat.com>
8328
8329 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8330 (target_can_use_agent): Add argument.
8331 * target.c (update_current_target): Update.
8332 * remote.c (remote_can_use_agent): Add 'self' argument.
8333 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8334
2c152180
TT
83352014-02-19 Tom Tromey <tromey@redhat.com>
8336
8337 * target.h (struct target_ops) <to_use_agent>: Add argument.
8338 (target_use_agent): Add argument.
8339 * target.c (update_current_target): Update.
8340 * remote.c (remote_use_agent): Add 'self' argument.
8341 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8342
a893e81f
TT
83432014-02-19 Tom Tromey <tromey@redhat.com>
8344
8345 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8346 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8347 (target_traceframe_info): Add argument.
8348 * target.c (update_current_target): Update.
8349 * remote.c (remote_traceframe_info): Add 'self' argument.
8350 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8351
c686c57f
TT
83522014-02-19 Tom Tromey <tromey@redhat.com>
8353
8354 * target.h (target_static_tracepoint_markers_by_strid): Add
8355 argument.
8356 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8357 'self' argument.
8358 * target.c (update_current_target): Update.
8359 * remote.c (struct target_ops)
8360 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8361 * linux-nat.c (struct target_ops)
8362 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8363
61fc905d
TT
83642014-02-19 Tom Tromey <tromey@redhat.com>
8365
8366 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8367 Add argument.
8368 (target_static_tracepoint_marker_at): Add argument.
8369 * target.c (update_current_target): Update.
8370 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8371 argument.
8372
c378d69d
TT
83732014-02-19 Tom Tromey <tromey@redhat.com>
8374
8375 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8376 (target_set_permissions): Add argument.
8377 * target.c (update_current_target): Update.
8378 * remote.c (remote_set_permissions): Add 'self' argument.
8379 (remote_start_remote): Update.
8380
bd7ae0f5
TT
83812014-02-19 Tom Tromey <tromey@redhat.com>
8382
8383 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8384 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8385 (target_get_tib_address): Add argument.
8386 * target.c (update_current_target): Update.
8387 * remote.c (remote_get_tib_address): Add 'self' argument.
8388
d9e68a2c
TT
83892014-02-19 Tom Tromey <tromey@redhat.com>
8390
8391 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8392 (target_set_trace_notes): Add argument.
8393 * target.c (update_current_target): Update.
8394 * remote.c (remote_set_trace_notes): Add 'self' argument.
8395
4da384be
TT
83962014-02-19 Tom Tromey <tromey@redhat.com>
8397
8398 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8399 argument.
8400 (target_set_trace_buffer_size): Add argument.
8401 * target.c (update_current_target): Update.
8402 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8403
736d5b1f
TT
84042014-02-19 Tom Tromey <tromey@redhat.com>
8405
8406 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8407 argument.
8408 (target_set_circular_trace_buffer): Add argument.
8409 * target.c (update_current_target): Update.
8410 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8411 argument.
8412
37b25738
TT
84132014-02-19 Tom Tromey <tromey@redhat.com>
8414
8415 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8416 argument.
8417 (target_set_disconnected_tracing): Add argument.
8418 * target.c (update_current_target): Update.
8419 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8420
0e67620a
TT
84212014-02-19 Tom Tromey <tromey@redhat.com>
8422
8423 * target.h (struct target_ops)
8424 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8425 (target_get_min_fast_tracepoint_insn_len): Add argument.
8426 * target.c (update_current_target): Update.
8427 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8428 argument.
8429
88ee6f45
TT
84302014-02-19 Tom Tromey <tromey@redhat.com>
8431
8432 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8433 argument.
8434 (target_get_raw_trace_data): Add argument.
8435 * target.c (update_current_target): Update.
8436 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8437
181e3713
TT
84382014-02-19 Tom Tromey <tromey@redhat.com>
8439
8440 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8441 Add argument.
8442 (target_upload_trace_state_variables): Add argument.
8443 * target.c (update_current_target): Update.
8444 * remote.c (remote_upload_trace_state_variables): Add 'self'
8445 argument.
8446 (remote_start_remote): Update.
8447
ab6617cc
TT
84482014-02-19 Tom Tromey <tromey@redhat.com>
8449
8450 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8451 argument.
8452 (target_upload_tracepoints): Add argument.
8453 * target.c (update_current_target): Update.
8454 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8455 (remote_start_remote): Update.
8456
dc3decaf
TT
84572014-02-19 Tom Tromey <tromey@redhat.com>
8458
8459 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8460 (target_save_trace_data): Add argument.
8461 * target.c (update_current_target): Update.
8462 * remote.c (remote_save_trace_data): Add 'self' argument.
8463
4011015b
TT
84642014-02-19 Tom Tromey <tromey@redhat.com>
8465
8466 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8467 argument.
8468 * target.h (struct target_ops)
8469 <to_get_trace_state_variable_value>: Add argument.
8470 (target_get_trace_state_variable_value): Add argument.
8471 * target.c (update_current_target): Update.
8472 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8473 argument.
8474 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8475
bd4c6793
TT
84762014-02-19 Tom Tromey <tromey@redhat.com>
8477
8478 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8479 * target.h (struct target_ops) <to_trace_find>: Add argument.
8480 (target_trace_find): Add argument.
8481 * target.c (update_current_target): Update.
8482 * remote.c (remote_trace_find): Add 'self' argument.
8483 * ctf.c (ctf_trace_find): Add 'self' argument.
8484
74499f1b
TT
84852014-02-19 Tom Tromey <tromey@redhat.com>
8486
8487 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8488 (target_trace_stop): Add argument.
8489 * target.c (update_current_target): Update.
8490 * remote.c (remote_trace_stop): Add 'self' argument.
8491
db90e85c
TT
84922014-02-19 Tom Tromey <tromey@redhat.com>
8493
8494 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8495 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8496 argument.
8497 (target_get_tracepoint_status): Add argument.
8498 * target.c (update_current_target): Update.
8499 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8500
8bd200f1
TT
85012014-02-19 Tom Tromey <tromey@redhat.com>
8502
8503 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8504 * target.h (struct target_ops) <to_get_trace_status>: Add
8505 argument.
8506 (target_get_trace_status): Add argument.
8507 * target.c (update_current_target): Update.
8508 * remote.c (remote_get_trace_status): Add 'self' argument.
8509 (remote_start_remote, remote_can_download_tracepoint): Update.
8510 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8511
e2d1aae3
TT
85122014-02-19 Tom Tromey <tromey@redhat.com>
8513
8514 * target.h (struct target_ops) <to_trace_start>: Add argument.
8515 (target_trace_start): Add argument.
8516 * target.c (update_current_target): Update.
8517 * remote.c (remote_trace_start): Add 'self' argument.
8518
583f9a86
TT
85192014-02-19 Tom Tromey <tromey@redhat.com>
8520
8521 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8522 Add argument.
8523 (target_trace_set_readonly_regions): Add argument.
8524 * target.c (update_current_target): Update.
8525 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8526 argument.
8527
780b049c
TT
85282014-02-19 Tom Tromey <tromey@redhat.com>
8529
8530 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8531 argument.
8532 (target_disable_tracepoint): Add argument.
8533 * target.c (update_current_target): Update.
8534 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8535
46670d57
TT
85362014-02-19 Tom Tromey <tromey@redhat.com>
8537
8538 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8539 argument.
8540 (target_enable_tracepoint): Add argument.
8541 * target.c (update_current_target): Update.
8542 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8543
559d2b81
TT
85442014-02-19 Tom Tromey <tromey@redhat.com>
8545
8546 * target.h (struct target_ops) <to_download_trace_state_variable>:
8547 Add argument.
8548 (target_download_trace_state_variable): Add argument.
8549 * target.c (update_current_target): Update.
8550 * remote.c (remote_download_trace_state_variable): Add 'self'
8551 argument.
8552
a52a8357
TT
85532014-02-19 Tom Tromey <tromey@redhat.com>
8554
8555 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8556 argument.
8557 (target_can_download_tracepoint): Add argument.
8558 * target.c (update_current_target): Update.
8559 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8560
548f7808
TT
85612014-02-19 Tom Tromey <tromey@redhat.com>
8562
8563 * target.h (struct target_ops) <to_download_tracepoint>: Add
8564 argument.
8565 (target_download_tracepoint): Add argument.
8566 * target.c (update_current_target): Update.
8567 * remote.c (remote_download_tracepoint): Add 'self' argument.
8568
ecae04e1
TT
85692014-02-19 Tom Tromey <tromey@redhat.com>
8570
8571 * target.h (struct target_ops) <to_trace_init>: Add argument.
8572 (target_trace_init): Add argument.
8573 * target.c (update_current_target): Update.
8574 * remote.c (remote_trace_init): Add 'self' argument.
8575
fab5aa7c
TT
85762014-02-19 Tom Tromey <tromey@redhat.com>
8577
8578 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8579 * target.c (target_fileio_readlink): Add argument.
8580 * remote.c (remote_hostio_readlink): Add 'self' argument.
8581 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8582
dbbca37d
TT
85832014-02-19 Tom Tromey <tromey@redhat.com>
8584
8585 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8586 * target.c (target_fileio_unlink): Add argument.
8587 * remote.c (remote_hostio_unlink): Add 'self' argument.
8588 (remote_file_delete): Update.
8589 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8590
df39ea25
TT
85912014-02-19 Tom Tromey <tromey@redhat.com>
8592
8593 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8594 * target.c (target_fileio_close): Add argument.
8595 * remote.c (remote_hostio_close): Add 'self' argument.
8596 (remote_hostio_close_cleanup): Update.
8597 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8598 Update.
8599 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8600
a3be983c
TT
86012014-02-19 Tom Tromey <tromey@redhat.com>
8602
8603 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8604 * target.c (target_fileio_pread): Add argument.
8605 * remote.c (remote_hostio_pread): Add 'self' argument.
8606 (remote_bfd_iovec_pread, remote_file_get): Update.
8607 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8608
0d866f62
TT
86092014-02-19 Tom Tromey <tromey@redhat.com>
8610
8611 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8612 * target.c (target_fileio_pwrite): Add argument.
8613 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8614 (remote_file_put): Update.
8615 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8616
cd897586
TT
86172014-02-19 Tom Tromey <tromey@redhat.com>
8618
8619 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8620 * target.c (target_fileio_open): Add argument.
8621 * remote.c (remote_hostio_open): Add 'self' argument.
8622 (remote_bfd_iovec_open): Add 'self' argument.
8623 (remote_file_put): Add 'self' argument.
8624 (remote_file_get): Add 'self' argument.
8625 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8626
78eff0ec
TT
86272014-02-19 Tom Tromey <tromey@redhat.com>
8628
8629 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8630 Add argument.
8631 (target_can_run_breakpoint_commands): Add argument.
8632 * target.c (update_current_target): Update.
8633 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8634 argument.
8635 (remote_insert_breakpoint): Add 'self' argument.
8636 (remote_insert_hw_breakpoint): Add 'self' argument.
8637 (remote_can_run_breakpoint_commands): Add 'self' argument.
8638
efcc2da7
TT
86392014-02-19 Tom Tromey <tromey@redhat.com>
8640
8641 * target.h (struct target_ops)
8642 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8643 (target_supports_evaluation_of_breakpoint_conditions): Add
8644 argument.
8645 * target.c (update_current_target): Update.
8646 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8647 argument.
8648 (remote_insert_breakpoint): Add 'self' argument.
8649 (remote_insert_hw_breakpoint): Add 'self' argument.
8650 (remote_supports_cond_breakpoints): Add 'self' argument.
8651
6de37a3a
TT
86522014-02-19 Tom Tromey <tromey@redhat.com>
8653
8654 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8655 argument.
8656 (target_supports_string_tracing): Add argument.
8657 * target.c (update_current_target): Update.
8658 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8659
2bfc0540
TT
86602014-02-19 Tom Tromey <tromey@redhat.com>
8661
8662 * target.h (struct target_ops)
8663 <to_supports_disable_randomization>: Add argument.
8664 * target.c (find_default_supports_disable_randomization): Add
8665 argument.
8666 (target_supports_disable_randomization): Add argument.
8667 (find_default_supports_disable_randomization): Add 'self'
8668 argument.
8669 * remote.c (extended_remote_supports_disable_randomization): Add
8670 'self' argument.
8671 (remote_supports_disable_randomization): Add 'self' argument.
8672 (extended_remote_create_inferior): Update.
8673 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8674 'self' argument.
8675
7d178d6a
TT
86762014-02-19 Tom Tromey <tromey@redhat.com>
8677
8678 * target.h (struct target_ops)
8679 <to_supports_enable_disable_tracepoint>: Add argument.
8680 (target_supports_enable_disable_tracepoint): Add argument.
8681 * target.c (update_current_target): Update.
8682 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8683 argument.
8684
86ce2668
TT
86852014-02-19 Tom Tromey <tromey@redhat.com>
8686
8687 * target.h (struct target_ops) <to_supports_multi_process>: Add
8688 argument.
8689 (target_supports_multi_process): Add argument.
8690 * target.c (update_current_target): Update.
8691 * remote.c (remote_supports_multi_process): Add 'self' argument.
8692 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8693 argument.
8694 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8695 argument.
8696
4c612759
TT
86972014-02-19 Tom Tromey <tromey@redhat.com>
8698
8699 * target.h (struct target_ops) <to_execution_direction>: Add
8700 argument.
8701 (target_execution_direction): Add argument.
8702 * target.c (default_execution_direction): Add 'self' argument.
8703 * record-full.c (record_full_execution_direction): Add 'self'
8704 argument.
8705
19db3e69
TT
87062014-02-19 Tom Tromey <tromey@redhat.com>
8707
8708 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8709 argument.
8710 (target_can_execute_reverse): Add argument.
8711 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8712 * record-full.c (record_full_can_execute_reverse): Add 'self'
8713 argument.
8714 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8715 argument.
8716
1e6b91a4
TT
87172014-02-19 Tom Tromey <tromey@redhat.com>
8718
8719 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8720 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8721 argument.
8722 (target_get_ada_task_ptid): Add argument.
8723 * target.c (update_current_target): Update.
8724 (default_get_ada_task_ptid): Add 'self' argument.
8725 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8726 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8727 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8728 argument.
8729 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8730 argument.
8731 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8732 argument.
8733 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8734 argument.
8735 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8736 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8737 argument.
8738
3c80fb48
TT
87392014-02-19 Tom Tromey <tromey@redhat.com>
8740
8741 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8742 (target_goto_bookmark): Add argument.
8743 * target.c (dummy_goto_bookmark): Add 'self' argument.
8744 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8745
dd0e2830
TT
87462014-02-19 Tom Tromey <tromey@redhat.com>
8747
8748 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8749 (target_get_bookmark): Add argument.
8750 * target.c (dummy_get_bookmark): Add 'self' argument.
8751 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8752
fc6691b2
TT
87532014-02-19 Tom Tromey <tromey@redhat.com>
8754
8755 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8756 argument.
8757 (target_make_corefile_notes): Add argument.
8758 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8759 * procfs.c (procfs_make_note_section): Add 'self' argument.
8760 (procfs_make_note_section): Add 'self' argument.
8761 (procfs_make_note_section): Add 'self' argument.
8762 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8763 argument.
8764 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8765 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8766 * exec.c (exec_make_note_section): Add 'self' argument.
8767 (exec_make_note_section): Add 'self' argument.
8768
2e73927c
TT
87692014-02-19 Tom Tromey <tromey@redhat.com>
8770
8771 * target.h (struct target_ops) <to_find_memory_regions>: Add
8772 argument.
8773 (target_find_memory_regions): Add argument.
8774 * target.c (dummy_find_memory_regions): Add 'self' argument.
8775 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8776 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8777 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8778 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8779 * exec. (exec_do_find_memory_regions): New global.
8780 (exec_set_find_memory_regions): Rewrite.
8781 (exec_find_memory_regions): New function.
8782 (init_exec_ops): Use exec_find_memory_regions.
8783
2a9a2795
TT
87842014-02-19 Tom Tromey <tromey@redhat.com>
8785
8786 * target.h (struct target_ops) <to_supports_non_stop>: Add
8787 argument.
8788 * target.c (find_default_supports_non_stop): Add argument.
8789 (target_supports_non_stop): Add argument.
8790 (find_default_supports_non_stop): Add 'self' argument.
8791 * remote.c (remote_supports_non_stop): Add 'self' argument.
8792 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8793
4ab76ea3
TT
87942014-02-19 Tom Tromey <tromey@redhat.com>
8795
8796 * target.h (struct target_ops) <to_log_command>: Add argument.
8797 (target_log_command): Add argument.
8798 * serial.h (serial_log_command): Add 'self' argument.
8799 * serial.c (serial_log_command): Add 'self' argument.
8800
8dd27370
TT
88012014-02-19 Tom Tromey <tromey@redhat.com>
8802
8803 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8804 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8805 argument.
8806 (target_pid_to_exec_file): Add argument.
8807 * target.c (debug_to_pid_to_exec_file): Add argument.
8808 (update_current_target): Update.
8809 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
8810 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
8811 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
8812 (linux_handle_extended_wait): Update.
8813 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
8814 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
8815 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
8816 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
8817
1aac633b
TT
88182014-02-19 Tom Tromey <tromey@redhat.com>
8819
8820 * target.h (struct target_ops) <to_rcmd>: Add argument.
8821 (target_rcmd): Add argument.
8822 * target.c (debug_to_rcmd): Add argument.
8823 (update_current_target, do_monitor_command): Update.
8824 * remote.c (remote_rcmd): Add 'self' argument.
8825 * monitor.c (monitor_rcmd): Add 'self' argument.
8826
1eab8a48
TT
88272014-02-19 Tom Tromey <tromey@redhat.com>
8828
8829 * windows-nat.c (windows_stop): Add 'self' argument.
8830 * target.h (struct target_ops) <to_stop>: Add argument.
8831 * target.c (target_stop): Add argument.
8832 (debug_to_stop): Add argument.
8833 (update_current_target): Update.
8834 * remote.c (remote_stop): Add 'self' argument.
8835 * remote-sim.c (gdbsim_stop): Add 'self' argument.
8836 (gdbsim_cntrl_c): Update.
8837 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
8838 * procfs.c (procfs_stop): Add 'self' argument.
8839 * nto-procfs.c (procfs_stop): Add 'self' argument.
8840 * monitor.c (monitor_stop): Add 'self' argument.
8841 (monitor_open): Update.
8842 * linux-nat.c (linux_nat_stop): Add argument.
8843 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
8844 * gnu-nat.c (gnu_stop): Add 'self' argument.
8845 * darwin-nat.c (darwin_stop): Add 'self' argument.
8846
503a628d
TT
88472014-02-19 Tom Tromey <tromey@redhat.com>
8848
8849 * target.h (struct target_ops) <to_thread_name>: Add argument.
8850 * target.c (target_thread_name): Add argument.
8851 (update_current_target): Update.
8852 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
8853
c15906d8
TT
88542014-02-19 Tom Tromey <tromey@redhat.com>
8855
8856 * target.h (struct target_ops) <to_extra_thread_info>: Add
8857 argument.
8858 (target_extra_thread_info): Add argument.
8859 * target.c (update_current_target): Update.
8860 * remote.c (remote_threads_extra_info): Add 'self' argument.
8861 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
8862 argument.
8863 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
8864 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
8865 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
8866 argument.
8867 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
8868 argument.
8869 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
8870 argument.
8871 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
8872 argument.
8873
daf5e9b6
TT
88742014-02-19 Tom Tromey <tromey@redhat.com>
8875
8876 * target.h (struct target_ops) <to_program_signals>: Add argument.
8877 * target.c (target_program_signals): Add argument.
8878 * remote.c (remote_program_signals): Add 'self' argument.
8879
94bedb42
TT
88802014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target.h (struct target_ops) <to_pass_signals>: Add argument.
8883 * target.c (target_pass_signals): Add argument.
8884 * remote.c (remote_pass_signals): Add 'self' argument.
8885 (remote_start_remote): Update.
8886 * procfs.c (procfs_pass_signals): Add 'self' argument.
8887 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
8888 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
8889 (linux_nat_create_inferior, linux_nat_attach): Update.
8890
da82bd6b
TT
88912014-02-19 Tom Tromey <tromey@redhat.com>
8892
8893 * windows-nat.c (windows_can_run): Add 'self' argument.
8894 * target.h (struct target_ops) <to_can_run>: Add argument.
8895 (target_can_run): Add argument.
8896 * target.c (debug_to_can_run): Add argument.
8897 (update_current_target): Update.
8898 * nto-procfs.c (procfs_can_run): Add 'self' argument.
8899 * inf-child.c (inf_child_can_run): Add 'self' argument.
8900 * go32-nat.c (go32_can_run): Add 'self' argument.
8901
d796e1d6
TT
89022014-02-19 Tom Tromey <tromey@redhat.com>
8903
8904 * target.h (struct target_ops) <to_has_exited>: Add argument.
8905 (target_has_exited): Add argument.
8906 * target.c (debug_to_has_exited): Add argument.
8907 (update_current_target): Update.
8908
ff214e67
TT
89092014-02-19 Tom Tromey <tromey@redhat.com>
8910
8911 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
8912 argument.
8913 (target_set_syscall_catchpoint): Add argument.
8914 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
8915 argument.
8916 * target.c (update_current_target): Update.
8917
758e29d2
TT
89182014-02-19 Tom Tromey <tromey@redhat.com>
8919
8920 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
8921 argument.
8922 (target_remove_exec_catchpoint): Add argument.
8923 * target.c (debug_to_remove_exec_catchpoint): Add argument.
8924 (update_current_target): Update.
8925 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
8926 argument.
8927
ba025e51
TT
89282014-02-19 Tom Tromey <tromey@redhat.com>
8929
8930 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
8931 argument.
8932 (target_insert_exec_catchpoint): Add argument.
8933 * target.c (debug_to_insert_exec_catchpoint): Add argument.
8934 (update_current_target): Update.
8935 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
8936 argument.
8937
e98cf0cd
TT
89382014-02-19 Tom Tromey <tromey@redhat.com>
8939
8940 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
8941 argument.
8942 (target_remove_vfork_catchpoint): Add argument.
8943 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
8944 (update_current_target): Update.
8945 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
8946 argument.
8947
3ecc7da0
TT
89482014-02-19 Tom Tromey <tromey@redhat.com>
8949
8950 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
8951 argument.
8952 (target_insert_vfork_catchpoint): Add argument.
8953 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
8954 (update_current_target): Update.
8955 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
8956 argument.
8957
973fc227
TT
89582014-02-19 Tom Tromey <tromey@redhat.com>
8959
8960 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
8961 argument.
8962 (target_remove_fork_catchpoint): Add argument.
8963 * target.c (debug_to_remove_fork_catchpoint): Add argument.
8964 (update_current_target): Update.
8965 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
8966 argument.
8967
a863b201
TT
89682014-02-19 Tom Tromey <tromey@redhat.com>
8969
8970 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
8971 argument.
8972 (target_insert_fork_catchpoint): Add argument.
8973 * target.c (debug_to_insert_fork_catchpoint): Add argument.
8974 (update_current_target): Update.
8975 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
8976 argument.
8977
2e97a79e
TT
89782014-02-19 Tom Tromey <tromey@redhat.com>
8979
8980 * target.h (struct target_ops) <to_post_startup_inferior>: Add
8981 argument.
8982 (target_post_startup_inferior): Add argument.
8983 * target.c (debug_to_post_startup_inferior): Add argument.
8984 (update_current_target): Update.
8985 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
8986 argument.
8987 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
8988 argument.
8989 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
8990 argument.
8991 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
8992 argument.
8993 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
8994 'self' argument.
8995 (super_post_startup_inferior): Likewise.
8996 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
8997 'self' argument.
8998 (super_post_startup_inferior): Likewise.
8999 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9000 Add 'self' argument.
9001 (super_post_startup_inferior): Likewise.
9002
71a9f134
TT
90032014-02-19 Tom Tromey <tromey@redhat.com>
9004
9005 * target.h (struct target_ops) <to_load>: Add argument.
9006 * target.c (target_load): Add argument.
9007 (debug_to_load): Add argument.
9008 (update_current_target): Update.
9009 * remote.c (remote_load): Add 'self' argument.
9010 * remote-sim.c (gdbsim_load): Add 'self' argument.
9011 * remote-mips.c (mips_load): Add 'self' argument.
9012 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9013 * monitor.c (monitor_load): Add 'self' argument.
9014 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9015
0a4f40a2
TT
90162014-02-19 Tom Tromey <tromey@redhat.com>
9017
9018 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9019 (target_terminal_info): Add argument.
9020 * target.c (debug_to_terminal_info): Add argument.
9021 (default_terminal_info): Likewise.
9022 * inflow.c (child_terminal_info): Add 'self' argument.
9023 * inferior.h (child_terminal_info): Add 'self' argument.
9024 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9025
ae3bd431
TT
90262014-02-19 Tom Tromey <tromey@redhat.com>
9027
9028 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9029 argument.
9030 (target_terminal_save_ours): Add argument.
9031 * target.c (debug_to_terminal_save_ours): Add argument.
9032 (update_current_target): Update.
9033 * inflow.c (terminal_save_ours): Add 'self' argument.
9034 * inferior.h (terminal_save_ours): Add 'self' argument.
9035
e3594fd1
TT
90362014-02-19 Tom Tromey <tromey@redhat.com>
9037
9038 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9039 (target_terminal_ours): Add argument.
9040 * target.c (debug_to_terminal_ours): Add argument.
9041 (update_current_target): Update.
9042 * remote.c (remote_terminal_ours): Add 'self' argument.
9043 (remote_close): Update.
9044 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9045 * inflow.c (terminal_ours): Add 'self' argument.
9046 * inferior.h (terminal_ours): Add 'self' argument.
9047 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9048
2e1e1a19
TT
90492014-02-19 Pedro Alves <palves@redhat.com>
9050 Tom Tromey <tromey@redhat.com>
9051
9052 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9053 argument.
9054 (target_terminal_ours_for_output): Add argument.
9055 * target.c (debug_to_terminal_ours_for_output): Add argument.
9056 (update_current_target): Update.
9057 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9058 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9059 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9060
d2f640d4
TT
90612014-02-19 Tom Tromey <tromey@redhat.com>
9062
9063 * target.h (struct target_ops) <to_terminal_inferior>: Add
9064 argument.
9065 * target.c (target_terminal_inferior): Add argument.
9066 (update_current_target): Update.
9067 * remote.c (remote_terminal_inferior): Add 'self' argument.
9068 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9069 * inflow.c (terminal_inferior): Add 'self' argument.
9070 * inferior.h (terminal_inferior): Add 'self' argument.
9071 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9072 (go32_terminal_inferior): Add 'self' argument.
9073
c42bf286
TT
90742014-02-19 Tom Tromey <tromey@redhat.com>
9075
9076 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9077 (target_terminal_init): Add argument.
9078 * target.c (debug_to_terminal_init): Add argument.
9079 (update_current_target): Update.
9080 * inflow.c (terminal_init_inferior): Add 'self' argument.
9081 * inferior.h (terminal_init_inferior): Add 'self' argument.
9082 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9083 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9084
c3a5ff89
TT
90852014-02-19 Tom Tromey <tromey@redhat.com>
9086
9087 * target.h (struct target_ops)
9088 <to_can_accel_watchpoint_condition>: Add argument.
9089 (target_can_accel_watchpoint_condition): Add argument.
9090 * target.c (debug_to_can_accel_watchpoint_condition): Add
9091 argument.
9092 (update_current_target): Update.
9093 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9094 'self' argument.
9095
31568a15
TT
90962014-02-19 Tom Tromey <tromey@redhat.com>
9097
9098 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9099 Add argument.
9100 (target_region_ok_for_hw_watchpoint): Add argument.
9101 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9102 (default_region_ok_for_hw_watchpoint): Add argument.
9103 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9104 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9105 argument.
9106 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9107 argument.
9108 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9109 argument.
9110 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9111 'self' argument.
9112 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9113 'self' argument.
9114 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9115 'self' argument.
9116 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9117 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9118 'self' argument.
9119 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9120 Add 'self' argument.
9121
7bb99c53
TT
91222014-02-19 Tom Tromey <tromey@redhat.com>
9123
9124 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9125 argument.
9126 (target_insert_watchpoint): Add argument.
9127 * target.c (debug_to_insert_watchpoint): Add argument.
9128 (update_current_target): Update.
9129 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9130 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9131 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9132 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9133 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9134 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9135 argument.
9136 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9137 (procfs_insert_hw_watchpoint): Add 'self' argument.
9138 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9139 argument.
9140 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9141 argument.
9142 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9143 argument.
9144 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9145 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9146 argument.
9147 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9148 'self' argument.
9149
11b5219a
TT
91502014-02-19 Tom Tromey <tromey@redhat.com>
9151
9152 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9153 argument.
9154 (target_remove_watchpoint): Add argument.
9155 * target.c (debug_to_remove_watchpoint): Add argument.
9156 (update_current_target): Update.
9157 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9158 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9159 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9160 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9161 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9162 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9163 argument.
9164 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9165 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9166 argument.
9167 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9168 argument.
9169 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9170 argument.
9171 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9172 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9173 argument.
9174 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9175 'self' argument.
9176
a64dc96c
TT
91772014-02-19 Tom Tromey <tromey@redhat.com>
9178
9179 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9180 argument.
9181 (target_remove_hw_breakpoint): Add argument.
9182 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9183 (update_current_target): Update.
9184 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9185 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9186 argument.
9187 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9188 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9189 argument.
9190 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9191 'self' argument.
9192
23a26771
TT
91932014-02-19 Tom Tromey <tromey@redhat.com>
9194
9195 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9196 argument.
9197 (target_insert_hw_breakpoint): Add argument.
9198 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9199 (update_current_target): Update.
9200 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9201 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9202 argument.
9203 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9204 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9205 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9206 argument.
9207 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9208 'self' argument.
9209
5461485a
TT
92102014-02-19 Tom Tromey <tromey@redhat.com>
9211
9212 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9213 argument.
9214 (target_can_use_hardware_watchpoint): Add argument.
9215 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9216 (update_current_target): Update.
9217 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9218 argument.
9219 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9220 argument.
9221 * remote.c (remote_check_watch_resources): Add 'self' argument.
9222 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9223 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9224 argument.
9225 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9226 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9227 argument.
9228 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9229 argument.
9230 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9231 argument.
9232 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9233 argument.
9234 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9235 argument.
9236 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9237 argument.
9238 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9239 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9240 argument.
9241 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9242 'self' argument.
9243
f045800c
TT
92442014-02-19 Tom Tromey <tromey@redhat.com>
9245
9246 * target.h (struct target_ops) <to_post_attach>: Add argument.
9247 (target_post_attach): Add argument.
9248 * target.c (debug_to_post_attach): Add argument.
9249 (update_current_target): Update.
9250 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9251 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9252 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9253 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9254 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9255
de90e03d
TT
92562014-02-19 Tom Tromey <tromey@redhat.com>
9257
9258 * windows-nat.c (windows_close): Add 'self' argument.
9259 * tracepoint.c (tfile_close): Add 'self' argument.
9260 * target.h (struct target_ops) <to_close>: Add argument.
9261 * target.c (target_close): Add argument.
9262 (update_current_target): Update.
9263 * remote.c (remote_close): Add 'self' argument.
9264 * remote-sim.c (gdbsim_close): Add 'self' argument.
9265 * remote-mips.c (mips_close): Add 'self' argument.
9266 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9267 * record-full.c (record_full_close): Add 'self' argument.
9268 * record-btrace.c (record_btrace_close): Add 'self' argument.
9269 * monitor.h (monitor_close): Add 'self' argument.
9270 * monitor.c (monitor_close): Add 'self' argument.
9271 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9272 * linux-nat.c (linux_nat_close): Add argument.
9273 * go32-nat.c (go32_close): Add 'self' argument.
9274 * exec.c (exec_close_1): Add 'self' argument.
9275 * ctf.c (ctf_close): Add 'self' argument.
9276 * corelow.c (core_close): Add 'self' argument.
9277 (core_close_cleanup): Update.
9278 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9279 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9280
9dd130a0
TT
92812014-02-19 Tom Tromey <tromey@redhat.com>
9282
9283 * remote.c (remote_load): New function.
9284 (init_remote_ops): Use it.
9285
46917d26
TT
92862014-02-19 Tom Tromey <tromey@redhat.com>
9287
9288 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9289 argument.
9290 * common/linux-btrace.h (linux_supports_btrace): Update.
9291 * remote.c (remote_supports_btrace): Add "self" argument.
9292 * target-delegates.c: Rebuild.
9293 * target.c (target_supports_btrace): Remove.
9294 * target.h (struct target_ops) <to_supports_btrace>: Add
9295 target_ops argument.
9296 (target_supports_btrace): New define.
9297
6b84065d
TT
92982014-02-19 Tom Tromey <tromey@redhat.com>
9299
9300 * record-full.c (record_full_beneath_to_resume_ops)
9301 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9302 (record_full_beneath_to_wait)
9303 (record_full_beneath_to_store_registers_ops)
9304 (record_full_beneath_to_store_registers)
9305 (record_full_beneath_to_xfer_partial_ops)
9306 (record_full_beneath_to_xfer_partial)
9307 (record_full_beneath_to_insert_breakpoint_ops)
9308 (record_full_beneath_to_insert_breakpoint)
9309 (record_full_beneath_to_remove_breakpoint_ops)
9310 (record_full_beneath_to_remove_breakpoint)
9311 (record_full_beneath_to_stopped_by_watchpoint)
9312 (record_full_beneath_to_stopped_data_address)
9313 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9314 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9315 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9316 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9317 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9318 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9319 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9320 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9321 (record_full_resume, record_full_wait_1)
9322 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9323 (record_full_store_registers, record_full_xfer_partial)
9324 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9325 (record_full_async, record_full_core_xfer_partial): Use target
9326 delegation.
9327 * target-delegates.c: Rebuild.
9328 * target.c (current_xfer_partial): Remove.
9329 (update_current_target): Do not INHERIT or de_fault
9330 to_insert_breakpoint, to_remove_breakpoint,
9331 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9332 to_is_async_p, to_async. Do not set to_xfer_partial field.
9333 (default_xfer_partial): Simplify.
9334 (current_xfer_partial): Remove.
9335 (target_wait, target_resume): Simplify.
9336 (find_default_can_async_p, find_default_is_async_p): Update.
9337 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9338 to_xfer_partial, to_stopped_by_watchpoint,
9339 to_stopped_data_address.
9340 (target_store_registers): Simplify.
9341 (forward_target_remove_breakpoint)
9342 (forward_target_insert_breakpoint): Remove.
9343 (target_remove_breakpoint, target_insert_breakpoint)
9344 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9345 * target.h (struct target_ops) <to_resume, to_wait,
9346 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9347 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9348 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9349 markup.
9350 (forward_target_remove_breakpoint)
9351 (forward_target_insert_breakpoint): Remove.
9352 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9353 directly.
9354 (record_btrace_insert_breakpoint): Delegate directly.
9355
1101cb7b
TT
93562014-02-19 Tom Tromey <tromey@redhat.com>
9357
9358 PR build/7701:
9359 * target-delegates.c: New file.
9360 * target.c: Include target-delegates.c.
9361 (init_dummy_target): Call install_dummy_methods.
9362 (complete_target_initialization): Call install_delegators.
9363 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9364 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9365 * make-target-delegates: New file.
9366
8b06beed
TT
93672014-02-19 Tom Tromey <tromey@redhat.com>
9368
9369 * record.c (find_record_target): Use find_target_at.
9370 * target.c (find_target_at): New function.
9371 * target.h (find_target_at): Declare.
9372
6a109b6b
TT
93732014-02-19 Tom Tromey <tromey@redhat.com>
9374
9375 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9376 Add 'ops' argument.
9377 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9378 'ops' argument.
9379 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9380 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9381 'ops' argument.
9382 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9383 argument.
9384 * linux-nat.c (save_sigtrap): Update.
9385 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9386 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9387 (linux_nat_close): Update.
9388 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9389 argument.
9390 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9391 argument.
9392 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9393 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9394 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9395 (tmp_to_async): Add 'ops' argument.
9396 (record_full_stopped_by_watchpoint, record_full_async)
9397 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9398 argument.
9399 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9400 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9401 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9402 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9403 (remote_is_async_p, remote_async): Add 'ops' argument.
9404 (remote_stopped_data_address): Update.
9405 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9406 * target.c (update_current_target)
9407 (find_default_can_async_p, find_default_is_async_p): Update.
9408 (init_dummy_target): Update.
9409 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9410 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9411 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9412 (target_can_async_p, target_is_async_p, target_async)
9413 (target_stopped_by_watchpoint): Update.
9414
e095146b
YQ
94152014-02-19 Yao Qi <yao@codesourcery.com>
9416
9417 PR gdb/16220
9418 * gdbarch.sh: Remove startup_gdbarch.
9419 * gdbarch.c: Regenerated.
9420 * gdbarch.h: Likewise.
9421
bc3c6b36
KB
94222014-02-17 Kevin Buettner <kevinb@redhat.com>
9423
9424 * rl78-tdep.c (rl78_g10_register_name): New function.
9425 (rl78_return_value): Add g10 support.
9426 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9427 g10.
9428
98dc0167 94292014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
9430
9431 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9432 (SUBDIR_GUILE_SRCS): Ditto.
9433 (scm-gsmob.o): Ditto.
9434
842c05cd
YQ
94352014-02-17 Yao Qi <yao@codesourcery.com>
9436
9437 * gnu-nat.c (ILL_RPC): Declare defined function.
9438
25c0bd04
YQ
94392014-02-17 Yao Qi <yao@codesourcery.com>
9440
9441 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9442 mach_msg_type_number_t.
9443 (gnu_write_inferior): Likewise.
9444
a9a758e3
YQ
94452014-02-17 Yao Qi <yao@codesourcery.com>
9446
9447 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9448 in format string.
9449 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9450 (inf_validate_procs, inf_signal): Likewise.
9451 (S_exception_raise_request): Likewise.
9452 (do_mach_notify_dead_name): Likewise.
9453 (steal_exc_port): Likewise.
9454 (gnu_read_inferior): Change 'copy_count''s type to
9455 mach_msg_type_number_t.
9456 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9457 format string.
9458
bae8023e
TS
94592014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9460
c82f56d9
TS
9461 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9462 flag. Adjust all users; in particular...
9463 (gnu_wait): ..., don't decrement its value in here...
9464 (gnu_create_inferior): ..., and instead set the flag in here,
9465 around the startup_inferior call, and call that one with
9466 START_INFERIOR_TRAPS_EXPECTED.
9467
3398af6a
TS
9468 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9469 (ILL_RPC): ... new macro.
9470 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9471 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9472 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9473 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9474 functions with ILL_RPC macro.
9475 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9476 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9477 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9478 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9479 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9480 (S_proc_getlogin_reply, S_proc_getsid_reply)
9481 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9482 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9483 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9484 (S_proc_getnports_reply, S_proc_is_important_reply)
9485 (S_proc_get_code_reply): New stub functions, generated with
9486 ILL_RPC macro.
9487
d47642c9
TS
9488 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9489 collected the type check structures.
9490
bae8023e
TS
9491 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9492
8a55ffb0
DE
94932014-02-14 Doug Evans <dje@google.com>
9494
9495 * target.c (target_write_partial): Fix result type.
9496
c2853f3d
JM
94972014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9498
9499 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9500 the proper offsets to access fpregset_t.
9501
ac61d2db
SA
95022014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9503
9504 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9505 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9506 * h8300-tdep.c (setmachinelist): Remove global.
9507 * hppa-tdep.c (hppa_sigtramp): Remove global.
9508 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9509 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9510 * ravenscar-thread.c (update_target_observer): Remove global.
9511 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9512
9d2d0b8b
TT
95132014-02-12 Tom Tromey <tromey@redhat.com>
9514
9515 * common/rsp-low.c: Update comments.
9516 * common/rsp-low.h: Update comments.
9517
a7191e8b
TT
95182014-02-12 Tom Tromey <tromey@redhat.com>
9519
9520 * common/rsp-low.c (convert_ascii_to_int): Remove.
9521 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9522
ff0e980e
TT
95232014-02-12 Tom Tromey <tromey@redhat.com>
9524
9525 * common/rsp-low.h (unhexify): Don't declare.
9526 * common/rsp-low.c (unhexify): Remove.
9527
e9371aff
TT
95282014-02-12 Tom Tromey <tromey@redhat.com>
9529
9530 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9531 * common/rsp-low.c (convert_int_to_ascii): Remove.
9532
971dc0b8
TT
95332014-02-12 Tom Tromey <tromey@redhat.com>
9534
9535 * common/rsp-low.h (hexify): Don't declare.
9536 * common/rsp-low.c (hexify): Remove.
9537
0a822afb
TT
95382014-02-12 Tom Tromey <tromey@redhat.com>
9539
9540 * common/rsp-low.c (hexify): Never take strlen of argument.
9541
9f1b45b0
TT
95422014-02-12 Tom Tromey <tromey@redhat.com>
9543
9544 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9545 * remote.c (extended_remote_run, remote_rcmd)
9546 (remote_download_trace_state_variable, remote_save_trace_data)
9547 (remote_set_trace_notes): Update.
9548 * tracepoint.c (encode_source_string, tfile_write_status)
9549 (tfile_write_uploaded_tsv): Update.
9550
9c3d6531
TT
95512014-02-12 Tom Tromey <tromey@redhat.com>
9552
9553 * tracepoint.c: Include rsp-low.h.
9554 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9555 * remote.c: Include rsp-low.h.
9556 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9557 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9558 (remote_unescape_input): Move to common/rsp-low.c.
9559 * common/rsp-low.h: New file.
9560 * common/rsp-low.c: New file.
9561 * Makefile.in (SFILES): Add common/rsp-low.c.
9562 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9563 (COMMON_OBS): Add rsp-low.o.
9564 (rsp-low.o): New target.
9565
01fd3ea5
TT
95662014-02-12 Tom Tromey <tromey@redhat.com>
9567
9568 * utils.h: Include print-utils.h.
9569 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9570 (int_string, core_addr_to_string, core_addr_to_string_nz)
9571 (hex_string, hex_string_custom): Don't declare.
9572 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9573 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9574 (hex_string_custom, int_string, core_addr_to_string)
9575 (core_addr_to_string_nz, host_address_to_string): Move to
9576 common/print-utils.c.
9577 * common/print-utils.h: New file.
9578 * common/print-utils.c: New file
9579 * Makefile.in (SFILES): Add common/print-utils.c.
9580 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9581 (COMMON_OBS): Add print-utils.o.
9582 (print-utils.o): New target.
9583
9fb50108
TT
95842014-02-12 Tom Tromey <tromey@redhat.com>
9585
9586 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9587
0548b5db
MK
95882014-02-12 Mark Kettenis <kettenis@gnu.org>
9589
9590 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9591
493443a4
MK
95922014-02-12 Mark Kettenis <kettenis@gnu.org>
9593
9594 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9595 if a PT_IO ptrace request returns sucessfully but indicates that 0
9596 bytes were transferred.
9597
706d0883
PA
95982014-02-12 Pedro Alves <palves@redhat.com>
9599 Kevin Buettner <kevinb@redhat.com>
9600
9601 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9602 TYPE_INSTANCE_FLAG_CODE_SPACE.
9603
5caa2f0b
PA
96042014-02-12 Pedro Alves <palves@redhat.com>
9605
9606 * h8300-tdep.c (pseudo_from_raw_register)
9607 (raw_from_pseudo_register): New functions.
9608 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9609 them.
9610
76fd5f74
PA
96112014-02-12 Pedro Alves <palves@redhat.com>
9612
9613 * h8300-tdep.c (h8300_register_sim_regno): New function.
9614 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9615 gdbarch_register_sim_regno hook.
9616
8f008406
SA
96172014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9618
9619 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9620
195abc10
SA
96212014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9622
9623 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9624
93ffa5b9
MK
96252014-02-12 Mark Kettenis <kettenis@gnu.org>
9626
9627 * obsd-tdep.h (obsd_init_abi): New prototype.
9628 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9629 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9630 (obsd_init_abi): New functions.
9631 * i386obsd-tdep.c: Include "obsd-tdep.h".
9632 (i386obsd_init_abi): Call obsd_init_abi.
9633 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9634 (amd64obsd_init_abi): Call obsd_init_abi.
9635 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9636 obsd-tdep.c to gdb_target_obs.
9637
49caec94
JM
96382014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9639
9640 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9641 double float arguments to 16-byte in the argument slots.
9642
e1402065
DE
96432014-02-11 Doug Evans <xdje42@gmail.com>
9644
9645 * configure.ac: Don't crash if pkg-config is not found and guile
9646 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9647 in guile checks.
9648 * configure: Regenerate.
9649
edcc890f
YQ
96502014-02-11 Yao Qi <yao@codesourcery.com>
9651
9652 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9653 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9654 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9655 * gnu-nat.c (gnu_xfer_memory): Likewise.
9656 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9657 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9658 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9659 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9660
9b409511
YQ
96612014-02-11 Yao Qi <yao@codesourcery.com>
9662
9663 * target.h (enum target_xfer_error): Rename to ...
9664 (enum target_xfer_status): ... it. New. All users updated.
9665 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9666 New.
9667 (TARGET_XFER_STATUS_ERROR_P): New macro.
9668 (target_xfer_error_to_string): Remove declaration.
9669 (target_xfer_status_to_string): Declare.
9670 (target_xfer_partial_ftype): Adjust it.
9671 (struct target_ops) <to_xfer_partial>: Return
9672 target_xfer_status. Add argument xfered_len. Update
9673 comments.
9674 * target.c (target_xfer_error_to_string): Rename to ...
9675 (target_xfer_status_to_string): ... it. New. All callers
9676 updated.
9677 (target_read_live_memory): Likewise. Call target_xfer_partial
9678 instead of target_read.
9679 (memory_xfer_live_readonly_partial): Return
9680 target_xfer_status. Add argument xfered_len.
9681 (raw_memory_xfer_partial): Likewise.
9682 (memory_xfer_partial_1): Likewise.
9683 (memory_xfer_partial): Likewise.
9684 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9685 properly. Update debug message.
9686 (default_xfer_partial, current_xfer_partial): Likewise.
9687 (target_write_partial): Likewise.
9688 (target_read_partial): Likewise. All callers updated.
9689 (read_whatever_is_readable): Likewise.
9690 (target_write_with_progress): Likewise.
9691 (target_read_alloc_1): Likewise.
9692
9693 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9694 * auxv.c (procfs_xfer_auxv): Likewise.
9695 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9696 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9697 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9698 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9699 * corefile.c (read_memory): Adjust.
9700 * corelow.c (core_xfer_partial): Likewise.
9701 * ctf.c (ctf_xfer_partial): Likewise.
9702 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9703 updated.
9704 (darwin_xfer_partial): Likewise.
9705 * exec.c (section_table_xfer_memory_partial): Likewise. All
9706 callers updated.
9707 (exec_xfer_partial): Likewise.
9708 * exec.h (section_table_xfer_memory_partial): Update
9709 declaration.
9710 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9711 negative.
9712 (gnu_xfer_partial): Likewise.
9713 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9714 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9715 (ia64_hpux_xfer_solib_got): Likewise.
9716 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9717 type of 'partial_len' to ULONGEST.
9718 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9719 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9720 (linux_nat_xfer_partial): Likewise.
9721 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9722 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9723 * monitor.c (monitor_xfer_memory): Likewise.
9724 (monitor_xfer_partial): Likewise.
9725 * procfs.c (procfs_xfer_partial): Likewise.
9726 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9727 * record-full.c (record_full_xfer_partial): Likewise.
9728 (record_full_core_xfer_partial): Likewise.
9729 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9730 (gdbsim_xfer_partial): Likewise.
9731 * remote.c (remote_write_bytes_aux): Likewise. All callers
9732 updated.
9733 (remote_write_bytes, remote_read_bytes): Likewise. All
9734 callers updated.
9735 (remote_flash_erase): Likewise. All callers updated.
9736 (remote_write_qxfer): Likewise. All callers updated.
9737 (remote_read_qxfer): Likewise. All callers updated.
9738 (remote_xfer_partial): Likewise.
9739 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9740 (rs6000_xfer_shared_libraries): Likewise.
9741 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9742 (sol_thread_xfer_partial): Likewise.
9743 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9744 (sparc_xfer_partial): Likewise.
9745 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9746 updated.
9747 (spu_xfer_partial): Likewise.
9748 * spu-multiarch.c (spu_xfer_partial): Likewise.
9749 * tracepoint.c (tfile_xfer_partial): Likewise.
9750 * windows-nat.c (windows_xfer_memory): Likewise.
9751 (windows_xfer_shared_libraries): Likewise.
9752 (windows_xfer_partial): Likewise.
9753 * valprint.c: Replace 'target_xfer_error' with
9754 'target_xfer_status' in comments.
9755
a8e63083
JB
97562014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9757
9758 Checked in by Joel Brobecker <brobecker@adacore.com>.
9759 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9760
e86b67d3
JB
97612014-02-11 Joel Brobecker <brobecker@adacore.com>
9762
9763 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9764 function parameters.
9765
4b7d1f7f
WN
97662014-02-10 Will Newton <will.newton@linaro.org>
9767
9768 * elfread.c (elf_rel_plt_read): Look for a .got section if
9769 looking up .got.plt fails.
9770 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9771 on address passed to elf_gnu_ifunc_record_cache.
9772 (elf_gnu_ifunc_resolve_addr): Likewise.
9773 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9774
961842b2
JM
97752014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9776
9777 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9778 (X_RETTURN): New macro.
9779 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9780
9781 * sparc64-tdep.c (sparc64_init_abi): Hook
9782 sparc_in_function_epilogue_p.
9783
3f03e7b1
GB
97842014-02-10 Gary Benson <gbenson@redhat.com>
9785
9786 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9787 Rename name_matcher to symbol_matcher.
9788
96f861ef
GB
97892014-02-10 Gary Benson <gbenson@redhat.com>
9790
9791 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9792 Use expand_symtabs_file_matcher_ftype and
9793 expand_symtabs_symbol_matcher_ftype.
9794
ee01b665
JB
97952014-02-10 Joel Brobecker <brobecker@adacore.com>
9796
9797 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9798 (struct ada_symbol_cache): New.
9799 (ada_free_symbol_cache): Forward declare.
9800 (struct ada_pspace_data): New.
9801 (ada_pspace_data_handle): New static global.
9802 (get_ada_pspace_data, ada_pspace_data_cleanup)
9803 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9804 (cache_space, cache): Delete, now folded inside struct
9805 ada_pspace_data.
9806 (ada_get_symbol_cache): New function.
9807 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9808 implementation.
9809 (_initialize_ada_language): Remove initialization of cache_space.
9810 Move call to observer_attach_inferior_exit up, grouping it
9811 with the other observer registrations inside this function.
9812 Rename command to be more general. Add call to
9813 register_program_space_data_with_cleanup.
9814
143adbbf
JB
98152014-02-10 Joel Brobecker <brobecker@adacore.com>
9816
9817 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
9818 ada_new_objfile_observer.
9819 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
9820 (_initialize_tasks): Update uses of ada_new_objfile_observer
9821 and ada_tasks_normal_stop_observer.
9822
aa4fb036
JB
98232014-02-10 Joel Brobecker <brobecker@adacore.com>
9824
9825 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
9826 returned by the 'Length attribute to integer.
9827
9dee8cc6
JB
98282014-02-10 Joel Brobecker <brobecker@adacore.com>
9829
9830 * ada-lang.c (_initialize_ada_language): Initialize
9831 cache_space obstack.
9832
3d9434b5
JB
98332014-02-10 Joel Brobecker <brobecker@adacore.com>
9834
9835 * ada-lang.c (HASH_SIZE): New macro.
9836 (struct cache_entry): New type.
9837 (cache_space, cache): New static globals.
9838 (ada_clear_symbol_cache, find_entry): New functions.
9839 (lookup_cached_symbol, cache_symbol): Implement.
9840 (ada_new_objfile_observer, ada_free_objfile_observer): New.
9841 (_initialize_ada_language): Attach ada_new_objfile_observer
9842 and ada_free_objfile_observer.
9843
f0c5f9b2
JB
98442014-02-10 Joel Brobecker <brobecker@adacore.com>
9845
9846 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
9847 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
9848 struct block * parameter.
9849 (ada_lookup_symbol_list_worker): Constify local variable "block".
9850 Remove cast which is no longer necessary.
9851
ed3ef339
DE
98522014-02-10 Doug Evans <xdje42@gmail.com>
9853
9854 Add Guile as an extension language.
9855 * NEWS: Mention Guile scripting.
9856 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
9857 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
9858 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
9859 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
9860 (CLIBS): Add GUILE_LIBS.
9861 (install-guile): New rule.
9862 (guile.o): New rule.
9863 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
9864 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
9865 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
9866 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
9867 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
9868 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
9869 (scm-type.o, scm-utils.o, scm-value.o): New rules.
9870 * configure.ac: New option --with-guile.
9871 * configure: Regenerate.
9872 * config.in: Regenerate.
9873 * auto-load.c: Remove #include "python/python.h". Add #include
9874 "gdb/section-scripts.h".
9875 (source_section_scripts): Handle Guile scripts.
9876 (_initialize_auto_load): Add name of Guile objfile script to
9877 scripts-directory help text.
9878 * breakpoint.c (condition_command): Tweak comment to include Scheme.
9879 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
9880 (struct breakpoint): New member scm_bp_object.
9881 * defs.h (enum command_control_type): New value guile_control.
9882 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
9883 "extension.h".
9884 (show_user): Update comment.
9885 (_initialize_cli_cmds): Update help text for "show user". Update help
9886 text for max-user-call-depth.
9887 * cli/cli-script.c: Remove #include "python/python.h". Add #include
9888 "extension.h".
9889 (multi_line_command_p): Add guile_control.
9890 (print_command_lines): Handle guile_control.
9891 (execute_control_command, recurse_read_control_structure): Ditto.
9892 (process_next_line): Recognize "guile" commands.
9893 * disasm.c (gdb_disassemble_info): Make non-static.
9894 * disasm.h: #include "dis-asm.h".
9895 (struct gdbarch): Add forward decl.
9896 (gdb_disassemble_info): Declare.
9897 * extension.c: #include "guile/guile.h".
9898 (extension_languages): Add guile.
9899 (get_ext_lang_defn): Handle EXT_LANG_GDB.
9900 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
9901 * gdbtypes.c (get_unsigned_type_max): New function.
9902 (get_signed_type_minmax): New function.
9903 * gdbtypes.h (get_unsigned_type_max): Declare.
9904 (get_signed_type_minmax): Declare.
9905 * guile/README: New file.
9906 * guile/guile-internal.h: New file.
9907 * guile/guile.c: New file.
9908 * guile/guile.h: New file.
9909 * guile/scm-arch.c: New file.
9910 * guile/scm-auto-load.c: New file.
9911 * guile/scm-block.c: New file.
9912 * guile/scm-breakpoint.c: New file.
9913 * guile/scm-disasm.c: New file.
9914 * guile/scm-exception.c: New file.
9915 * guile/scm-frame.c: New file.
9916 * guile/scm-gsmob.c: New file.
9917 * guile/scm-iterator.c: New file.
9918 * guile/scm-lazy-string.c: New file.
9919 * guile/scm-math.c: New file.
9920 * guile/scm-objfile.c: New file.
9921 * guile/scm-ports.c: New file.
9922 * guile/scm-pretty-print.c: New file.
9923 * guile/scm-safe-call.c: New file.
9924 * guile/scm-string.c: New file.
9925 * guile/scm-symbol.c: New file.
9926 * guile/scm-symtab.c: New file.
9927 * guile/scm-type.c: New file.
9928 * guile/scm-utils.c: New file.
9929 * guile/scm-value.c: New file.
9930 * guile/lib/gdb.scm: New file.
9931 * guile/lib/gdb/boot.scm: New file.
9932 * guile/lib/gdb/experimental.scm: New file.
9933 * guile/lib/gdb/init.scm: New file.
9934 * guile/lib/gdb/iterator.scm: New file.
9935 * guile/lib/gdb/printing.scm: New file.
9936 * guile/lib/gdb/types.scm: New file.
9937 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
9938 (VPATH): Add $(GUILE_SRCDIR).
9939 (GUILE_DIR): New variable.
9940 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
9941 (all): Add stamp-guile dependency.
9942 (stamp-guile): New rule.
9943 (clean-guile, install-guile, uninstall-guile): New rules.
9944 (install-only): Add install-guile dependency.
9945 (uninstall): Add uninstall-guile dependency.
9946 (clean): Add clean-guile dependency.
9947
ac020ec5
DE
99482014-02-09 Doug Evans <xdje42@gmail.com>
9949
9950 Revert this patch (which I approved, mea culpa).
9951
9952 2014-02-08 Mark Kettenis <kettenis@gnu.org>
9953
9954 * Makefile.in (all-lib): Remove.
9955 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9956
2a081c59
JK
99572014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
9958
9959 Fix Python stack corruption.
9960 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
9961 gdb_py_longest.
9962
0a6bd22d
MK
99632014-02-08 Mark Kettenis <kettenis@gnu.org>
9964
9965 * Makefile.in (all-lib): Remove.
9966 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
9967
1a860409
DE
99682014-02-07 Doug Evans <dje@google.com>
9969
9970 * extension-priv.h (extension_language_script_ops): Add comment.
9971 (extension_language_ops): Add comment.
caf5a491 9972 (active_ext_lang_state): Fix typo in comment.
1a860409 9973
d137e6dc
PA
99742014-02-07 Pedro Alves <palves@redhat.com>
9975
0dcb32c3 9976 PR breakpoints/16292
d137e6dc
PA
9977 * infrun.c (handle_signal_stop) <signal arrives while stepping
9978 over a breakpoint>: Switch back to the stepping thread.
9979
ce6d0892
YQ
99802014-02-07 Yao Qi <yao@codesourcery.com>
9981
9982 * target.c (target_xfer_partial): Return zero if LEN is zero.
9983
2ed4b548
YQ
99842014-02-07 Yao Qi <yao@codesourcery.com>
9985
9986 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
9987 (ld_so_xfer_auxv): Likewise.
9988 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9989 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9990 * corelow.c (core_xfer_partial): Likewise.
9991 * ctf.c (ctf_xfer_partial): Likewise.
9992 * darwin-nat.c (darwin_read_dyld_info): Likewise.
9993 (darwin_xfer_partial): Likewise.
9994 * exec.c (exec_xfer_partial): Likewise.
9995 * gnu-nat.c (gnu_xfer_partial): Likewise.
9996 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
9997 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9998 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9999 * linux-nat.c (linux_xfer_siginfo): Likewise.
10000 (linux_proc_xfer_spu): Likewise.
10001 * procfs.c (procfs_xfer_partial): Likewise.
10002 * record-full.c (record_full_xfer_partial): Likewise.
10003 (record_full_core_xfer_partial): Likewise.
10004 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10005 * remote.c (remote_write_qxfer): Likewise.
10006 (remote_write_qxfer, remote_read_qxfer): Likewise.
10007 (remote_xfer_partial): Likewise.
10008 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10009 (rs6000_xfer_shared_libraries): Likewise.
10010 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10011 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10012 (spu_xfer_partial): Likewise.
10013 * target.c (memory_xfer_partial_1): Likewise.
10014 * tracepoint.c (tfile_xfer_partial): Likewise.
10015 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10016 (windows_xfer_partial): Likewise.
10017
c09f20e4
YQ
100182014-02-07 Yao Qi <yao@codesourcery.com>
10019
10020 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10021 comments.
10022 (core_xfer_shared_libraries_aix): Likewise.
10023 * gdbarch.c, gdbarch.h: Regenerated.
10024 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10025 ULONGEST. Change 'len_avail' type to ULONGEST.
10026 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10027 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10028 declaration.
10029 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10030
8635b3bf
YQ
100312014-02-07 Yao Qi <yao@codesourcery.com>
10032
10033 * corefile.c (memory_error): Get 'exception' from ERR and pass
10034 'exception' to throw_error.
10035
6dddc817
DE
100362014-02-06 Doug Evans <xdje42@gmail.com>
10037
10038 * configure.ac (libpython checking): Remove all but python.o from
10039 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10040 * configure: Regenerate.
10041
10042 * Makefile.in (SFILES): Add extension.c.
10043 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10044 (COMMON_OBS): Add extension.o.
10045 * extension.h: New file.
10046 * extension-priv.h: New file.
10047 * extension.c: New file.
10048
10049 * python/python-internal.h: #include "extension.h".
10050 (gdbpy_auto_load_enabled): Declare.
10051 (gdbpy_apply_val_pretty_printer): Declare.
10052 (gdbpy_apply_frame_filter): Declare.
10053 (gdbpy_preserve_values): Declare.
10054 (gdbpy_breakpoint_cond_says_stop): Declare.
10055 (gdbpy_breakpoint_has_cond): Declare.
10056 (void source_python_script_for_objfile): Delete.
10057 * python/python.c: #include "extension-priv.h".
10058 Delete inclusion of "observer.h".
10059 (extension_language_python): Moved here and renamed from
10060 script_language_python in py-auto-load.c.
10061 Redefined to be of type extension_language_defn.
10062 (python_extension_script_ops): New global.
10063 (python_extension_ops): New global.
10064 (struct python_env): New member previous_active.
10065 (restore_python_env): Call restore_active_ext_lang.
10066 (ensure_python_env): Call set_active_ext_lang.
10067 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10068 New arg extlang.
10069 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10070 New arg extlang.
10071 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10072 New arg extlang.
10073 (gdbpy_eval_from_control_command): Renamed from
10074 eval_python_from_control_command, made static. New arg extlang.
10075 (gdbpy_source_script) Renamed from source_python_script, made static.
10076 New arg extlang.
10077 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10078 result to int. New arg extlang.
10079 (gdbpy_source_objfile_script): Renamed from
10080 source_python_script_for_objfile, made static. New arg extlang.
10081 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10082 static. New args extlang, extlang_printers. Change result type to
10083 "void".
10084 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10085 static. New arg extlang. Rename arg printers to extlang_printers
10086 and change type to ext_lang_type_printers *.
10087 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10088 static. Replace argument arg with extlang, extlang_printers.
10089 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10090 (!HAVE_PYTHON, source_python_script): Delete.
10091 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10092 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10093 (!HAVE_PYTHON, start_type_printers): Delete.
10094 (!HAVE_PYTHON, apply_type_printers): Delete.
10095 (!HAVE_PYTHON, free_type_printers): Delete.
10096 (_initialize_python): Delete call to observer_attach_before_prompt.
10097 (finalize_python): Set/restore active extension language.
10098 (gdbpy_finish_initialization) Renamed from
10099 finish_python_initialization, made static. New arg extlang.
10100 (gdbpy_initialized): New function.
10101 * python/python.h: #include "extension.h". Delete #include
10102 "value.h", "mi/mi-cmds.h".
10103 (extension_language_python): Declare.
10104 (GDBPY_AUTO_FILE_NAME): Delete.
10105 (enum py_bt_status): Moved to extension.h and renamed to
10106 ext_lang_bt_status.
10107 (enum frame_filter_flags): Moved to extension.h.
10108 (enum py_frame_args): Moved to extension.h and renamed to
10109 ext_lang_frame_args.
10110 (finish_python_initialization): Delete.
10111 (eval_python_from_control_command): Delete.
10112 (source_python_script): Delete.
10113 (apply_val_pretty_printer): Delete.
10114 (apply_frame_filter): Delete.
10115 (preserve_python_values): Delete.
10116 (gdbpy_script_language_defn): Delete.
10117 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10118 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10119
10120 * auto-load.c: #include "extension.h".
10121 (GDB_AUTO_FILE_NAME): Delete.
10122 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10123 (script_language_gdb): Delete, moved to extension.c and renamed to
10124 extension_language_gdb.
10125 (source_gdb_script_for_objfile): Delete.
10126 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10127 (loaded_script): Change type of language member to
10128 struct extension_language_defn *.
10129 (init_loaded_scripts_info): Initialize
10130 unsupported_script_warning_printed.
10131 (maybe_add_script): Make static. Change type of language arg to
10132 struct extension_language_defn *.
10133 (clear_section_scripts): Reset unsupported_script_warning_printed.
10134 (auto_load_objfile_script_1): Rewrite to use extension language API.
10135 (auto_load_objfile_script): Make public. Remove support-compiled-in
10136 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10137 (source_section_scripts): Rewrite to use extension language API.
10138 (load_auto_scripts_for_objfile): Rewrite to use
10139 auto_load_scripts_for_objfile.
10140 (collect_matching_scripts_data): Change type of language member to
10141 struct extension_language_defn *.
10142 (auto_load_info_scripts): Change type of language arg to
10143 struct extension_language_defn *.
10144 (unsupported_script_warning_print): New function.
10145 (script_not_found_warning_print): Make static.
10146 (_initialize_auto_load): Rewrite construction of scripts-directory
10147 help.
10148 * auto-load.h (struct objfile): Add forward decl.
10149 (struct script_language): Delete.
10150 (struct auto_load_pspace_info): Add forward decl.
10151 (struct extension_language_defn): Add forward decl.
10152 (maybe_add_script): Delete.
10153 (auto_load_objfile_script): Declare.
10154 (script_not_found_warning_print): Delete.
10155 (auto_load_info_scripts): Update prototype.
10156 (auto_load_gdb_scripts_enabled): Declare.
10157 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10158 auto_load_python_scripts_enabled and made public.
10159 (script_language_python): Delete, moved to python.c.
10160 (gdbpy_script_language_defn): Delete.
10161 (info_auto_load_python_scripts): Update to use
10162 extension_language_python.
10163
10164 * breakpoint.c (condition_command): Replace call to
10165 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10166 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10167 with call to breakpoint_ext_lang_cond_says_stop.
10168 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10169 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10170 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10171 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10172 New arg slang.
10173 (local_setattro): Print name of extension language with existing
10174 stop condition.
10175
10176 * valprint.c (val_print, value_print): Update to call
10177 apply_ext_lang_val_pretty_printer.
10178 * cp-valprint.c (cp_print_value): Update call to
10179 apply_ext_lang_val_pretty_printer.
10180 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10181 (gdbpy_apply_val_pretty_printer): Renamed from
10182 apply_val_pretty_printer. New arg extlang.
10183 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10184
10185 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10186 extension language API.
10187 * cli/cli-script.c (execute_control_command): Update to call
10188 eval_ext_lang_from_control_command.
10189
10190 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10191 enum ext_lang_bt_status values. Update call to
10192 apply_ext_lang_frame_filter.
10193 (mi_cmd_stack_list_locals): Ditto.
10194 (mi_cmd_stack_list_args): Ditto.
10195 (mi_cmd_stack_list_variables): Ditto.
10196 * mi/mi-main.c: Delete #include "python/python-internal.h".
10197 Add #include "extension.h".
10198 (mi_cmd_list_features): Replace reference to python internal variable
10199 gdb_python_initialized with call to ext_lang_initialized_p.
10200
10201 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10202 Update to use enum ext_lang_frame_args. Update to call
10203 apply_ext_lang_frame_filter.
10204 * python/py-framefilter.c (extract_sym): Update to use enum
10205 ext_lang_bt_status.
10206 (extract_value, py_print_type, py_print_value): Ditto.
10207 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10208 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10209 (py_print_frame): Ditto.
10210 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10211 New arg extlang. Update to use enum ext_lang_bt_status.
10212
10213 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10214 finish_python_initialization. Replace with call to
10215 finish_ext_lang_initialization.
10216
10217 * typeprint.c (do_free_global_table): Update to call
10218 free_ext_lang_type_printers.
10219 (create_global_typedef_table): Update to call
10220 start_ext_lang_type_printers.
10221 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10222 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10223 (type_print_options): Change type of global_printers from "void *"
10224 to "struct ext_lang_type_printers *".
10225
10226 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10227 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10228 (gdbpy_preserve_values): Renamed from preserve_python_values.
10229 New arg extlang.
10230 (!HAVE_PYTHON, preserve_python_values): Delete.
10231
10232 * utils.c (quit_flag): Delete, moved to extension.c.
10233 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10234 extension.c.
10235
10236 * eval.c: Delete #include "python/python.h".
10237 * main.c: Delete #include "python/python.h".
10238
10239 * defs.h: Update comment.
10240
6af79985
JB
102412014-02-06 Joel Brobecker <brobecker@adacore.com>
10242
10243 GDB 7.7 released.
10244
12c5175d
MK
102452014-02-05 Mark Kettenis <kettenis@gnu.org>
10246
10247 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10248 defined.
10249
8dc5b319
YQ
102502014-02-05 Yao Qi <yao@codesourcery.com>
10251
10252 * remote.c (remote_pass_signals): Remove local 'buf' and use
10253 rs->buf.
10254 (remote_program_signals): Likewise.
10255
de7b2893
YQ
102562014-02-05 Yao Qi <yao@codesourcery.com>
10257
10258 * ctf.c: Include "inferior.h" and "gdbthread.h".
10259 (CTF_PID): A new macro.
10260 (ctf_open): Call inferior_appeared and add_thread_silent.
10261 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10262 (ctf_thread_alive): New function.
10263 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10264
66d032ac
YQ
102652014-02-05 Yao Qi <yao@codesourcery.com>
10266
10267 Revert this patch:
10268
10269 2013-05-24 Yao Qi <yao@codesourcery.com>
10270
10271 * tracepoint.c (TFILE_PID): Remove.
10272 (tfile_open): Don't add thread and inferior.
10273 (tfile_close): Don't set 'inferior_ptid'. Don't call
10274 exit_inferior_silent.
10275 (tfile_thread_alive): Remove.
10276 (init_tfile_ops): Don't set field 'to_thread_alive' of
10277 tfile_ops.
10278
f4ccffad
CE
102792014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10280
10281 * remote.c (remote_start_remote): Call remote_check_symbols even
10282 if only symbol-file (not file) has been given.
10283
591a12a1
UW
102842014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10285
10286 * gdbarch.sh (skip_entrypoint): New callback.
10287 * gdbarch.c, gdbarch.h: Regenerate.
10288 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10289 * infrun.c (fill_in_stop_func): Likewise.
10290 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10291 (ppc_elfv2_elf_make_msymbol_special): New function.
10292 (ppc_elfv2_skip_entrypoint): Likewise.
10293 (ppc_linux_init_abi): Install them for ELFv2.
10294
cc0e89c5
UW
102952014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10296
10297 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10298 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10299 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10300 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10301 structures returned in GPRs.
10302
52f548e4
UW
103032014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10304
10305 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10306 offset to the stack parameter list for the ELFv2 ABI.
10307
d4094b6a
UW
103082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10309
10310 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10311 set_gdbarch_convert_from_func_ptr_addr and
10312 set_gdbarch_elf_make_msymbol_special for ELFv1.
10313 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10314 function descriptors on ELFv1.
10315 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10316 set up r12 at function entry.
10317
cd453cd0
UW
103182014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10319
10320 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10321 (struct gdbarch_tdep): New member elf_abi.
10322
10323 * rs6000-tdep.c: Include "elf/ppc64.h".
10324 (rs6000_gdbarch_init): Detect ELF ABI version.
10325
0ff3e01f
UW
103262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10327
10328 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10329 within a register pair holding a DFP 128-bit value on little-endian.
10330 (ppc64_sysv_abi_return_value_base): Likewise.
10331 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10332 (dfp_pseudo_register_write): Likewise.
10333
5b757e5d
UW
103342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10335
10336 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10337 offset on little-endian when passing _Decimal32.
10338 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10339
084ee545
UW
103402014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10341
10342 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10343 of the overlapped FP register within the VSX register on little-
10344 endian platforms.
10345 (efpr_pseudo_register_write): Likewise.
10346
d63167af
UW
103472014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10348
10349 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10350 offset on little-endian when passing small structures.
10351
e765b44c
UW
103522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10353
10354 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10355 (struct ppc64_sysv_argpos): New data structure.
10356 (ppc64_sysv_abi_push_float): Remove.
10357 (ppc64_sysv_abi_push_val): New function.
10358 (ppc64_sysv_abi_push_integer): Likewise.
10359 (ppc64_sysv_abi_push_freg): Likewise.
10360 (ppc64_sysv_abi_push_vreg): Likewise.
10361 (ppc64_sysv_abi_push_param): Likewise.
10362 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10363 (ppc64_sysv_abi_return_value_base): New function.
10364 (ppc64_sysv_abi_return_value): Refactor to use it.
10365
36c24d95
UW
103662014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10367
10368 * NEWS: Document new target powerpc64le-*-linux*.
10369
26fd9228
MK
103702014-02-04 Mark Kettenis <kettenis@gnu.org>
10371
10372 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10373 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10374 core dumps.
10375 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10376 register set used in ELF core dumps. Add floating-point register set.
10377
c5bb7362
KB
103782014-02-03 Kevin Buettner <kevinb@redhat.com>
10379
74228e77 10380 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10381 dwarf2_to_gdb[] table using symbolic constants. Adjust
10382 penultimate entry from number representing the PC register
10383 to symbolic constant representing the MDR register. Add
10384 constant for the PC register to the end of the table.
10385
af09351e
MK
103862014-02-03 Mark Kettenis <kettenis@gnu.org>
10387
10388 * bsd-kvm.c: Include <sys/param.h>
10389
8507e05d
MK
103902014-02-03 Mark Kettenis <kettenis@gnu.org>
10391
10392 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10393
ae56bfb8
JB
103942014-01-31 Joel Brobecker <brobecker@adacore.com>
10395
10396 * ada-lang.h (clear_ada_sym_cache): Delete.
10397
718ee4dc
UW
103982014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10399
10400 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10401
401e27fd
JM
104022014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10403
10404 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10405 the sigreturn register save area only if the syscall is
10406 sigreturn.
10407
a7c88acd
JB
104082014-01-29 Joel Brobecker <brobecker@adacore.com>
10409
10410 * valops.c (value_slice): Minor reformatting.
10411
fa0079ea
UW
104122014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10413
10414 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10415
c6044dd1
JB
104162014-01-28 Joel Brobecker <brobecker@adacore.com>
10417
10418 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10419 New static globals.
10420 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10421 (ada_ignore_descriptive_types_p): New static global.
10422 (find_parallel_type_by_descriptive_type): Return immediately
10423 if ada_ignore_descriptive_types_p is set.
10424 (_initialize_ada_language): Register new commands "maintenance
10425 set ada", "maintenance show ada", "maintenance set ada
10426 ignore-descriptive-types" and "maintenance show ada
10427 ignore-descriptive-types".
10428 * NEWS: Add entry for new "maint ada set/show
10429 ignore-descriptive-types" commands.
10430
568e808b
MM
104312014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10432
10433 * record-btrace.c (record_btrace_close): Call btrace_teardown
10434 for all threads.
10435
467d141b
JB
104362014-01-27 Joel Brobecker <brobecker@adacore.com>
10437
10438 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10439 "ui-out.h".
10440
fb151210
JB
104412014-01-27 Joel Brobecker <brobecker@adacore.com>
10442
10443 * ada-typeprint (type_is_full_subrange_of_target_type):
10444 New function.
10445 (print_range): Add parameter bounds_prefered_p. If not set,
10446 try printing range types using the name of their base type.
10447 (print_range_type): Add parameter bounds_prefered_p.
10448 Use it in call to print_range.
10449 (print_array_type, ada_print_type): Update calls to print_range
10450 and print_range_type.
10451
aba02109
JB
104522014-01-27 Joel Brobecker <brobecker@adacore.com>
10453
10454 * ada-typeprint.c (print_array_type, print_choices, print_range)
10455 (print_range_bound, print_dynamic_range_bound, print_range_type):
10456 Remove declaration.
10457
e62e21fd
JB
104582014-01-27 Joel Brobecker <brobecker@adacore.com>
10459
10460 * ada-typeprint.c (print_range): Add missing empty line
10461 after local declaration.
10462
859cf5d1
JB
104632014-01-27 Joel Brobecker <brobecker@adacore.com>
10464
10465 * ada-valprint.c (print_optional_low_bound): Get index_type's
10466 target type for as long as it is a TYPE_CODE_RANGE.
10467
25790f6f
JB
104682014-01-27 Joel Brobecker <brobecker@adacore.com>
10469
10470 * procfs.c (procfs_make_note_section): Remove assertion and
10471 associated comment.
10472
6b6aa828
YQ
104732014-01-24 Yao Qi <yao@codesourcery.com>
10474
10475 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10476 * corelow.c (get_core_siginfo): Likewise.
10477
5d6df423
YQ
104782014-01-24 Yao Qi <yao@codesourcery.com>
10479
10480 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10481 ULONGEST. Don't check 'len' is negative.
10482 (remote_write_bytes): Change type of 'len' to ULONGEST.
10483
83b645b8
TT
104842014-01-23 Tom Tromey <tromey@redhat.com>
10485
10486 PR python/16485:
10487 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10488 Handle exception from frame.block.
10489 (FrameVars.fetch_frame_locals): Likewise.
10490
0740f8d8
TT
104912014-01-23 Tom Tromey <tromey@redhat.com>
10492
10493 PR python/16487:
10494 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10495 on a NULL pointer. Move "goto error" to correct place.
10496
21909fa1
TT
104972014-01-23 Tom Tromey <tromey@redhat.com>
10498
10499 PR python/16491:
10500 * python/py-framefilter.c (apply_frame_filter): Call
10501 ensure_python_env after computing gdbarch.
10502
17fde6d0
YQ
105032014-01-23 Yao Qi <yao@codesourcery.com>
10504
10505 * target.c (raw_memory_xfer_partial): Change argument type
10506 from void * to gdb_byte *.
10507 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10508
87ce2a04
DE
105092014-01-22 Doug Evans <dje@google.com>
10510
10511 New gdbserver option --debug-format=timestamp.
10512 * NEWS: Mention it.
10513
237b092b
AA
105142014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10515
10516 * syscalls/s390x-linux.xml: New file.
10517 * syscalls/s390-linux.xml: New file.
10518 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10519 (XML_SYSCALL_FILENAME_S390X): Likewise.
10520 (op_svc): New enum value for SVC opcode.
10521 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10522 (s390_linux_get_syscall_number): New function.
10523 (s390_gdbarch_init): Register '*get_syscall_number' and the
10524 syscall xml file name.
10525 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10526 "s390-linux.xml" and "s390x-linux.xml".
10527 * NEWS: Announce new feature.
10528
54bff650
BS
105292014-01-22 Baruch Siach <baruch@tkos.co.il>
10530
10531 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10532
14e361d7
PA
105332014-01-22 Pedro Alves <palves@redhat.com>
10534
10535 * xtensa-config.c: Include defs.h.
10536
46bbb3ed
JB
105372014-01-22 Joel Brobecker <brobecker@adacore.com>
10538
10539 * common/common-utils.h: Add "ARI:" comment beside __func__
10540 reference.
10541
3a80edfc
JB
105422014-01-22 Joel Brobecker <brobecker@adacore.com>
10543
10544 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10545 documentation a bit.
10546
4869db5e
RM
105472014-01-21 Roland McGrath <mcgrathr@google.com>
10548
10549 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10550 * configure: Regenerate.
10551 * aclocal.m4: Regenerate.
10552 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10553 New substituted variables.
10554 (install-strip): New target.
10555 (INSTALL_SCRIPT): New substituted variable.
10556 (FLAGS_TO_PASS): Add it.
10557 (install-only): Use $(INSTALL_SCRIPT) rather than
10558 $(INSTALL_PROGRAM) for gcore.
10559
9ea4267d
TT
105602014-01-20 Tom Tromey <tromey@redhat.com>
10561
10562 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10563 together.
10564
1f2bdf09
TT
105652014-01-20 Tom Tromey <tromey@redhat.com>
10566
10567 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10568 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10569 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10570 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10571 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10572 (struct cmd_list_element) <flags>: Remove.
10573 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10574 doc_allocated>: New fields.
10575 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10576 bitfields.
10577 * maint.c (maintenance_do_deprecate): Update.
10578 * top.c (execute_command): Update.
10579
e671835b
BS
105802014-01-20 Baruch Siach <baruch@tkos.co.il>
10581
10582 * xtensa-linux-nat.c: Include asm/ptrace.h.
10583
50367cd2
IB
105842014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10585
10586 * Makefile.in (SFILES): Add d-support.c.
10587 (COMMON_OBS): Add d-support.o.
10588 * d-lang.h (d_parse_symbol): Add comment, now defined in
10589 d-support.c.
10590 * d-lang.c (parse_call_convention)
10591 (parse_attributes, parse_function_types)
10592 (parse_function_args, parse_type, parse_identifier)
10593 (call_convention_p, d_parse_symbol): Move functions to ...
10594 * d-support.c: ... New file.
10595
ec9f644a
IB
105962014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10597
10598 * d-lang.h (d_parse_symbol): Add declaration.
10599 * d-lang.c (extract_identifiers)
10600 (extract_type_info): Remove functions.
10601 (parse_call_convention, parse_attributes)
10602 (parse_function_types, parse_function_args)
10603 (parse_type, parse_identifier, call_convention_p)
10604 (d_parse_symbol): New functions.
10605 (d_demangle): Use d_parse_symbol to demangle D symbols.
10606
94b1b47e
IB
106072014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10608
10609 * d-lang.h (struct builtin_d_type): New data type.
10610 (builtin_d_type): Add declaration.
10611 * d-lang.c (d_language_arch_info, build_d_types)
10612 (builtin_d_type): New functions.
10613 (enum d_primitive_types): New data type.
10614 (d_language_defn): Change c_language_arch_info to
10615 d_language_arch_info.
10616 (d_type_data): New static variable.
10617 (_initialize_d_language): Initialize d_type_data.
10618
63778547
IB
106192014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10620
10621 * d-lang.h (d_main_name): Add declaration.
10622 * d-lang.c (d_main_name): New function.
10623 * symtab.c (find_main_name): Add call to d_main_name.
10624
3271ba66
IB
106252014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10626
10627 * d-lang.c (d_language_defn): Change macro_expansion_c to
10628 macro_expansion_no.
10629
d36b3012
IB
106302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10631
10632 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10633
c90a6fb7
SDJ
106342014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10635
10636 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10637 gdb_exception" declaration.
10638 * remote.c (getpkt_or_notif_sane): Likewise.
10639
749234e5
DE
106402014-01-17 Doug Evans <dje@google.com>
10641
10642 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10643 function, contents of dirnames_to_char_ptr_vec_append moved here.
10644 (delim_string_to_char_ptr_vec): New function.
10645 (dirnames_to_char_ptr_vec_append): Rewrite.
10646 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10647
df049a58
DE
106482014-01-17 Doug Evans <dje@google.com>
10649
10650 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10651 and moved here ...
10652 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10653 #include "common-utils.h".
10654 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10655 * common/vec.h (VEC_ASSERT_PASS): Update.
10656 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10657 (MACH_CHECK_ERROR): Update.
10658
69f97648
SM
106592014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10660
10661 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10662 comments.
10663 * gdbarch.h: Regenerate.
10664
98b1cfdc
TT
106652014-01-16 Tom Tromey <tromey@redhat.com>
10666
10667 * value.c (struct value) <regnum>: Move earlier.
10668
77a19445
TT
106692014-01-16 Tom Tromey <tromey@redhat.com>
10670
10671 * remote.c (extended_remote_create_inferior): Rename from
10672 extended_remote_create_inferior_1. Add "ops" argument. Remove
10673 old implementation.
10674
62261490
PA
106752014-01-16 Pedro Alves <palves@redhat.com>
10676
10677 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10678 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10679 the backchain.
10680
4d65956b
DE
106812014-01-16 Doug Evans <dje@google.com>
10682
10683 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10684
52834460
MM
106852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10686
10687 * btrace.h (btrace_thread_flag): New.
10688 (struct btrace_thread_info) <flags>: New.
10689 * record-btrace.c (record_btrace_resume_thread)
10690 (record_btrace_find_thread_to_move, btrace_step_no_history)
10691 (btrace_step_stopped, record_btrace_start_replaying)
10692 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10693 (record_btrace_find_resume_thread): New.
10694 (record_btrace_resume, record_btrace_wait): Extend.
10695 (record_btrace_can_execute_reverse): New.
10696 (record_btrace_open): Fail in non-stop mode.
10697 (record_btrace_set_replay): Split into this, ...
10698 (record_btrace_stop_replaying): ... this, ...
10699 (record_btrace_clear_histories): ... and this.
10700 (init_record_btrace_ops): Init to_can_execute_reverse.
10701 * NEWS: Announce it.
10702
118e6252
MM
107032014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10704
10705 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10706 (forward_target_decr_pc_after_break)
10707 (target_decr_pc_after_break): New.
10708 * target.c (forward_target_decr_pc_after_break)
10709 (target_decr_pc_after_break): New.
10710 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10711 instead of gdbarch_decr_pc_after_break.
10712 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10713 instead of gdbarch_decr_pc_after_break.
10714 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10715 instead of gdbarch_decr_pc_after_break.
10716 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10717 instead of gdbarch_decr_pc_after_break.
10718 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10719 instead of gdbarch_decr_pc_after_break.
10720 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10721 instead of gdbarch_decr_pc_after_break.
10722
6e07b1d2
MM
107232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10724
10725 * btrace.c: Include regcache.h.
10726 (btrace_add_pc): New.
10727 (btrace_enable): Call btrace_add_pc.
10728 (btrace_is_empty): New.
10729 * btrace.h (btrace_is_empty): New.
10730 * record-btrace.c (require_btrace, record_btrace_info): Call
10731 btrace_is_empty.
10732
969c39fb
MM
107332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10734
10735 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10736 Support delta reads.
10737 (linux_disable_btrace): Change return type.
10738 * common/linux-btrace.h (linux_read_btrace): Change parameters
10739 and return type to allow error reporting. Update users.
10740 (linux_disable_btrace): Change return type. Update users.
10741 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10742 New.
10743 (btrace_error): New.
10744 (btrace_block) <begin>: Comment on BEGIN == 0.
10745 * btrace.c (btrace_compute_ftrace): Start from the end of
10746 the current trace.
10747 (btrace_stitch_trace, btrace_clear_history): New.
10748 (btrace_fetch): Read delta trace, return if replaying.
10749 (btrace_clear): Move clear history code to btrace_clear_history.
10750 (parse_xml_btrace): Throw an error if parsing failed.
10751 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10752 and return type to allow error reporting.
10753 (target_read_btrace): Change parameters and return type to allow
10754 error reporting.
10755 * target.c (target_read_btrace): Update.
10756 * remote.c (remote_read_btrace): Support delta reads. Pass
10757 errors on.
10758 * NEWS: Announce it.
10759
0b722aec
MM
107602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10761
10762 * record.h (record_btrace_frame_unwind)
10763 (record_btrace_tailcall_frame_unwind): New declarations.
10764 * dwarf2-frame: Include record.h
10765 (dwarf2_frame_cfa): Throw an error for btrace frames.
10766 * record-btrace.c: Include hashtab.h.
10767 (btrace_get_bfun_name): New.
10768 (btrace_call_history): Call btrace_get_bfun_name.
10769 (struct btrace_frame_cache): New.
10770 (bfcache): New.
10771 (bfcache_hash, bfcache_eq, bfcache_new): New.
10772 (btrace_get_frame_function): New.
10773 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10774 (record_btrace_frame_this_id): Compute own id.
10775 (record_btrace_frame_prev_register): Provide PC, throw_error
10776 for all other registers.
10777 (record_btrace_frame_sniffer): Detect btrace frames.
10778 (record_btrace_tailcall_frame_sniffer): New.
10779 (record_btrace_frame_dealloc_cache): New.
10780 (record_btrace_frame_unwind): Add new functions.
10781 (record_btrace_tailcall_frame_unwind): New.
10782 (_initialize_record_btrace): Allocate cache.
10783 * btrace.c (btrace_clear): Call reinit_frame_cache.
10784 * NEWS: Announce it.
10785
066ce621
MM
107862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10787
10788 * record-btrace.c (record_btrace_set_replay)
10789 (record_btrace_goto_begin, record_btrace_goto_end)
10790 (record_btrace_goto): New.
10791 (init_record_btrace_ops): Initialize them.
10792 * NEWS: Announce it.
10793
e2887aa3
MM
107942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10795
10796 * record-btrace.c (record_btrace_find_new_threads)
10797 (record_btrace_thread_alive): New.
10798 (init_record_btrace_ops): Initialize to_find_new_threads and
10799 to_thread_alive.
10800
b2f4cfde
MM
108012014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10802
10803 * record-btrace.c (record_btrace_resume): New.
10804 (record_btrace_wait): New.
10805 (init_record_btrace_ops): Initialize to_wait and to_resume.
10806
633785ff
MM
108072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10808
10809 * record-btrace.c (record_btrace_xfer_partial)
10810 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
10811 (record_btrace_allow_memory_access): New.
10812 (init_record_btrace_ops): Initialize new methods.
10813 * target.c (raw_memory_xfer_partial): Bail out if target reports
10814 that this memory is not available.
10815
3db08215
MM
108162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10817
10818 * target.h (target_ops) <to_insert_breakpoint>
10819 <to_remove_breakpoint>: Add target_ops parameter.
10820 (forward_target_insert_breakpoint): New.
10821 (forward_target_remove_breakpoint): New.
10822 (memory_remove_breakpoint, memory_insert_breakpoint):
10823 Add target_ops parameter.
10824 * target.c (target_insert_breakpoint): Split into this and ...
10825 (forward_target_insert_breakpoint): ... this.
10826 (target_remove_breakpoint): Split into this and ...
10827 (forward_target_remove_breakpoint): ... this.
10828 (debug_to_insert_breakpoint): Add target_ops parameter.
10829 Call forward_target_insert_breakpoint.
10830 (debug_to_remove_breakpoint): Add target_ops parameter.
10831 Call forward_target_remove_breakpoint.
10832 (update_current_target): Do not inherit or default to_insert_breakpoint
10833 and to_remove_breakpoint.
10834 * corelow.c (ignore): Add target_ops parameter.
10835 * exec.c (ignore): Add target_ops parameter.
10836 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
10837 Add target_ops parameter.
10838 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
10839 Add target_ops parameter.
10840 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
10841 Add target_ops parameter.
10842 * record-full.c (record_full_beneath_to_insert_breakpoint)
10843 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
10844 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
10845 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
10846 (record_full_core_remove_breakpoint): Add target_ops parameter.
10847 Update users.
10848 (record_full_beneath_to_insert_breakpoint_ops)
10849 (record_full_beneath_to_remove_breakpoint_ops)
10850 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
10851 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
10852 tmp_to_remove_breakpoint_ops,
10853 record_full_beneath_to_insert_breakpoint_ops, and
10854 record_full_beneath_to_remove_breakpoint_ops.
10855 * remote-m32r-sdi.c (m32r_insert_breakpoint)
10856 (m32r_remove_breakpoint): Add target_ops parameter.
10857 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
10858 Add target_ops parameter.
10859 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
10860 Add target_ops parameter.
10861
cecac1ab
MM
108622014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10863 Markus Metzger <markus.t.metzger@intel.com>
10864
10865 * record-btrace.c: Include frame-unwind.h.
10866 (record_btrace_frame_unwind_stop_reason)
10867 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
10868 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
10869 New.
10870 (init_record_btrace_ops): Install it.
10871
824344ca
MM
108722014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10873
10874 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
10875 get_prev_frame_1.
10876
32261e52
MM
108772014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10878
10879 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
10880 earlier.
10881
ea001bdc
MM
108822014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10883
10884 * frame-unwind.c: Include target.h.
10885 (frame_unwind_try_unwinder): New function with code from ...
10886 (frame_unwind_find_by_frame): ... here. New variable
10887 unwinder_from_target, call also target_get_unwinder)
10888 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
10889 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
10890 * target.h (struct target_ops): New fields to_get_unwinder and
10891 to_get_tailcall_unwinder.
10892 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
10893
1f3ef581
MM
108942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10895
10896 * record-btrace.c (record_btrace_fetch_registers)
10897 (record_btrace_store_registers)
10898 (record_btrace_to_prepare_to_store): New.
10899 (init_record_btrace_ops): Add the above.
10900
f32dbf8c
MM
109012014-01-16 Tom Tromey <tromey@redhat.com>
10902
10903 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
10904 * target.h (struct target_ops) <to_prepare_to_store>: Add
10905 argument.
10906 (target_prepare_to_store): Add argument.
10907 * target.c (debug_to_prepare_to_store): Add argument.
10908 (update_current_target): Update.
10909 * remote.c (remote_prepare_to_store): Add 'self' argument.
10910 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
10911 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
10912 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
10913 * record-full.c (record_full_core_prepare_to_store): Add 'self'
10914 argument.
10915 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
10916 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
10917 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
10918 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
10919 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
10920
07bbe694
MM
109212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10922
10923 * btrace.h (replay) <replay>: New.
10924 (btrace_is_replaying): New.
10925 * btrace.c (btrace_clear): Free replay iterator.
10926 (btrace_is_replaying): New.
10927 * record-btrace.c (record_btrace_is_replaying): New.
10928 (record_btrace_info): Print insn number if replaying.
10929 (record_btrace_insn_history): Start at replay position.
10930 (record_btrace_call_history): Start at replay position.
10931 (init_record_btrace_ops): Init to_record_is_replaying.
10932
0688d04e
MM
109332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10934
10935 * record-btrace.c (record_btrace_insn_history_range): Include
10936 end.
10937 (record_btrace_insn_history_from): Adjust range.
10938 (record_btrace_call_history_range): Include
10939 end.
10940 (record_btrace_call_history_from): Adjust range.
10941 * NEWS: Announce changes.
10942
8710b709
MM
109432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10944
10945 * record.h (enum record_print_flag)
10946 <record_print_indent_calls>: New.
10947 * record.c (get_call_history_modifiers): Recognize /c modifier.
10948 (_initialize_record): Document /c modifier.
10949 * record-btrace.c (btrace_call_history): Add btinfo parameter.
10950 Reorder fields. Optionally indent the function name. Update
10951 all users.
10952 * NEWS: Announce changes.
10953
d0fa7535
MM
109542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10955
10956 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
10957
5de9129b
MM
109582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10959
10960 * btrace.c (ftrace_new_function): Start counting at one.
10961 * record-btrace.c (record_btrace_info): Adjust number of calls
10962 and insns.
10963 * NEWS: Announce it.
10964
7acbe133
MM
109652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10966
10967 * record-btrace.c (btrace_call_history_insn_range): Print
10968 insn range as [begin, end].
10969
23a7fe75
MM
109702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10971
10972 * btrace.h (struct btrace_func_link): New.
10973 (enum btrace_function_flag): New.
10974 (struct btrace_inst): Rename to ...
10975 (struct btrace_insn): ...this. Update all users.
10976 (struct btrace_func) <ibegin, iend>: Remove.
10977 (struct btrace_func_link): New.
10978 (struct btrace_func): Rename to ...
10979 (struct btrace_function): ...this. Update all users.
10980 (struct btrace_function) <segment, flow, up, insn, insn_offset)
10981 (number, level, flags>: New.
10982 (struct btrace_insn_iterator): Rename to ...
10983 (struct btrace_insn_history): ...this.
10984 Update all users.
10985 (struct btrace_insn_iterator, btrace_call_iterator): New.
10986 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
10987 (struct btrace_target_info) <begin, end, level>
10988 <insn_history, call_history>: New.
10989 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
10990 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
10991 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
10992 (btrace_call_number, btrace_call_begin, btrace_call_end)
10993 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
10994 (btrace_find_function_by_number, btrace_set_insn_history)
10995 (btrace_set_call_history): New.
10996 * btrace.c (btrace_init_insn_iterator)
10997 (btrace_init_func_iterator, compute_itrace): Remove.
10998 (ftrace_print_function_name, ftrace_print_filename)
10999 (ftrace_skip_file): Change
11000 parameter to const.
11001 (ftrace_init_func): Remove.
11002 (ftrace_debug): Use new btrace_function fields.
11003 (ftrace_function_switched): Also consider gaining and
11004 losing symbol information).
11005 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11006 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11007 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11008 New.
11009 (ftrace_new_function): Move. Remove debug print.
11010 (ftrace_update_lines, ftrace_update_insns): New.
11011 (ftrace_update_function): Check for call, ret, and jump.
11012 (compute_ftrace): Renamed to ...
11013 (btrace_compute_ftrace): ...this. Rewritten to compute call
11014 stack.
11015 (btrace_fetch, btrace_clear): Updated.
11016 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11017 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11018 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11019 (btrace_call_number, btrace_call_begin, btrace_call_end)
11020 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11021 (btrace_find_function_by_number, btrace_set_insn_history)
11022 (btrace_set_call_history): New.
11023 * record-btrace.c (require_btrace): Use new btrace thread
11024 info fields.
11025 (record_btrace_info, btrace_insn_history)
11026 (record_btrace_insn_history, record_btrace_insn_history_range):
11027 Use new btrace thread info fields and new iterator.
11028 (btrace_func_history_src_line): Rename to ...
11029 (btrace_call_history_src_line): ...this. Use new btrace
11030 thread info fields.
11031 (btrace_func_history): Rename to ...
11032 (btrace_call_history): ...this. Use new btrace thread info
11033 fields and new iterator.
11034 (record_btrace_call_history, record_btrace_call_history_range):
11035 Use new btrace thread info fields and new iterator.
11036
8372a7cb
MM
110372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11038
11039 * frame.h (frame_id_build_unavailable_stack_special): New.
11040 * frame.c (frame_id_build_unavailable_stack_special): New.
11041
c2170eef
MM
110422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11043
11044 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11045 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11046 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11047 to gdbarch.
11048 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11049 (i386_insn_is_jump, i386_jmp_p): New.
11050 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11051 insn_is_jump to gdbarch.
11052 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11053 * gdbarch.h: Regenerated.
11054 * gdbarch.c: Regenerated.
11055 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11056 (default_insn_is_jump): New.
11057 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11058 (default_insn_is_jump): New.
11059
864089d2
MM
110602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11061
11062 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11063 Change to ...
11064 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11065 (btrace_read_type) <btrace_read_new>: Change to ...
11066 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11067
ed9edfb5
MM
110682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11069
11070 * common/linux-btrace.c (linux_read_btrace): Free trace from
11071 previous iteration.
11072
fbcbc3fd
DE
110732014-01-15 Doug Evans <dje@google.com>
11074
11075 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11076 uint32_t.
11077
3d548a53
TT
110782014-01-15 Tom Tromey <tromey@redhat.com>
11079
11080 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11081 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11082 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11083 (set_objfile_main_name): New function.
11084 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11085 language_of_main>: New fields.
11086 (set_objfile_main_name): Declare.
11087 * symtab.c (find_main_name): Loop over objfiles to find the main
11088 name and language.
11089 (set_main_name): Now static.
11090 (get_main_info): Add comment.
11091 * symtab.h (set_main_name): Don't declare.
11092
32ac0d11
TT
110932014-01-15 Tom Tromey <tromey@redhat.com>
11094
11095 * symtab.c (main_progspace_key): New global.
11096 (struct main_info): New.
11097 (name_of_main, language_of_main): Remove.
11098 (get_main_info, main_info_cleanup): New function.
11099 (set_main_name, main_name, main_language): Use get_main_info.
11100 (_initialize_symtab): Initialize main_progspace_key.
11101
9e6c82ad
TT
111022014-01-15 Tom Tromey <tromey@redhat.com>
11103
11104 * dbxread.c (process_one_symbol): Update.
11105 * dwarf2read.c (read_partial_die): Update.
11106 * symfile.c (set_initial_language): Call main_language.
11107 * symtab.c (language_of_main): Now static.
11108 (set_main_name): Add 'lang' parameter.
11109 (find_main_name): Update.
11110 (main_language): New function.
11111 (symtab_observer_executable_changed): Update.
11112 * symtab.h (set_main_name): Update.
11113 (language_of_main): Remove.
11114 (main_language): Declare.
11115
6ef55de7
TT
111162014-01-15 Tom Tromey <tromey@redhat.com>
11117
11118 * symfile.c (init_entry_point_info): Use new "initialized" field.
11119 Update.
11120 * objfiles.h (struct entry_point) <initialized>: New field.
11121 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11122 (struct objfile) <ei>: ...here. Remove.
11123 * objfiles.c (entry_point_address_query): Update.
11124
53eddfa6
TT
111252014-01-15 Tom Tromey <tromey@redhat.com>
11126
11127 * objfiles.c (entry_point_address_query): Relocate entry point
11128 address.
11129 (objfile_relocate1): Do not relocate entry point address.
11130 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11131 <the_bfd_section_index>: New field.
11132 * symfile.c (init_entry_point_info): Find the entry point's
11133 section.
11134
d56e56aa
TT
111352014-01-15 Tom Tromey <tromey@redhat.com>
11136
11137 * solib-frv.c (enable_break): Use entry_point_address_query.
11138
33a97bbe
OJ
111392014-01-15 Omair Javaid <omair.javaid@linaro.org>
11140
11141 * NEWS: Add note on improved process record-replay on
11142 arm*-linux* targets.
11143
c6ec2b30
OJ
111442014-01-15 Omair Javaid <omair.javaid@linaro.org>
11145
11146 * arm-tdep.c (enum arm_record_result): New enum.
11147 (arm_record_unsupported_insn): New function.
11148 (arm_record_coproc_data_proc): Removed.
11149 (thumb2_record_ld_st_multiple): New function.
11150 (thumb2_record_ld_st_dual_ex_tbb): New function.
11151 (thumb2_record_data_proc_sreg_mimm): New function.
11152 (thumb2_record_ps_dest_generic): New function.
11153 (thumb2_record_branch_misc_cntrl): New function.
11154 (thumb2_record_str_single_data): New function.
11155 (thumb2_record_ld_mem_hints): New function.
11156 (thumb2_record_ld_word): New function.
11157 (thumb2_record_lmul_lmla_div): New function.
11158 (thumb2_record_decode_insn_handler): New function.
11159 (decode_insn): Add thumb32 instruction handlers.
11160
97dfe206
OJ
111612014-01-15 Omair Javaid <omair.javaid@linaro.org>
11162
11163 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11164 (struct arm_linux_record_tdep): Declare.
11165 (arm_canonicalize_syscall): New function.
11166 (arm_all_but_pc_registers_record): New function.
11167 (arm_linux_syscall_record): New function.
11168 (arm_linux_init_abi): Add syscall recording constructs.
11169 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11170 decoding. (arm_record_coproc_data_proc): Update arm syscall
11171 decoding.
11172 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11173 <arm_syscall_record>: New field.
11174 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11175 gdb_target_obs.
11176
9904a494
OJ
111772014-01-15 Omair Javaid <omair.javaid@linaro.org>
11178
11179 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11180 register for push instruction recording.
11181
f969241e
OJ
111822014-01-15 Omair Javaid <omair.javaid@linaro.org>
11183
11184 * arm-tdep.c (thumb_record_misc): Update to correct logical
11185 error while recording ldm, ldmia and pop instructions.
11186
bfbbec00
OJ
111872014-01-15 Omair Javaid <omair.javaid@linaro.org>
11188
11189 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11190
e40adcc9
PA
111912014-01-15 Pedro Alves <palves@redhat.com>
11192
11193 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11194 (go32_resume, go32_fetch_registers, store_register)
11195 (go32_store_registers, go32_prepare_to_store)
11196 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11197 (go32_create_inferior, go32_can_run, go32_terminal_init)
11198 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11199 declarations.
11200
b0a16e66
TT
112012014-01-15 Tom Tromey <tromey@redhat.com>
11202
11203 * target.h (async_callback_ftype): New typedef.
11204 (struct target_ops) <to_async>: Use it.
11205
bf7105a4
JB
112062014-01-15 Joel Brobecker <brobecker@adacore.com>
11207
11208 * python/py-value.c (get_field_type): Remove unnecessary curly
11209 braces for single-statement if block.
11210
a8f35c2e
JB
112112014-01-15 Joel Brobecker <brobecker@adacore.com>
11212
11213 * python/py-type.c (convert_field): Add missing empty line
11214 after declarations.
11215
bb4142cf
DE
112162014-01-14 Doug Evans <dje@google.com>
11217
11218 * symfile.h (expand_symtabs_matching): Renamed from
11219 expand_partial_symbol_names. Update prototype.
11220 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11221 * symfile.c (expand_symtabs_matching): Renamed from
11222 expand_partial_symbol_names. New args file_matcher, kind.
11223 Rename arg fun to symbol_matcher.
11224 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11225 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11226 ada_expand_partial_symbol_name.
11227 (ada_make_symbol_completion_list): Update to call
11228 expand_symtabs_matching.
11229 (ada_add_global_exceptions): Call expand_symtabs_matching.
11230 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11231 call map_symbol_filenames.
11232 * symtab.c (sources_info): Update to call map_symbol_filenames.
11233 (search_symbols): Call expand_symtabs_matching.
11234 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11235 (default_make_symbol_completion_list_break_on): Update to call
11236 expand_symtabs_matching.
11237 (make_source_files_completion_list): Update to call
11238 map_symbol_filenames.
11239
206f2a57
DE
112402014-01-14 Doug Evans <dje@google.com>
11241
11242 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11243 (expand_symtabs_symbol_matcher_ftype): New typedef.
11244 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11245 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11246 * symfile.c (expand_partial_symbol_names): Update to use
11247 expand_symtabs_symbol_matcher_ftype.
11248 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11249 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11250 Arg name_matcher renamed to symbol_matcher.
11251 * psymtab.c (recursively_search_psymtabs): Update to use
11252 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11253 sym_matcher.
11254 (expand_symtabs_matching_via_partial): Update to use
11255 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11256 Arg name_matcher renamed to symbol_matcher.
11257
540c2971
DE
112582014-01-14 Doug Evans <dje@google.com>
11259
11260 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11261 (map_partial_symbol_filenames): Ditto.
11262 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11263 (map_partial_symbol_filenames): Ditto.
11264 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11265 (map_partial_symbol_filenames): Ditto.
11266 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11267 (map_partial_symbol_filenames): Ditto.
11268 * symtab.c: Delete #include "psymtab.h".
11269
8213266a
PA
112702014-01-14 Pedro Alves <palves@redhat.com>
11271 Tom Tromey <tromey@redhat.com>
11272
11273 * infrun.c (use_displaced_stepping): Use find_record_target
11274 instead of RECORD_IS_USED.
11275 (adjust_pc_after_break): Use record_full_is_used instead of
11276 RECORD_IS_USED.
11277 * record-btrace.c (record_btrace_open): Call record_preopen
11278 instead of checking RECORD_IS_USED.
11279 * record-full.c (record_full_shortname)
11280 (record_full_core_shortname): New globals.
11281 (record_full_is_used): New function.
11282 (find_full_open): Call record_preopen instead of checking
11283 RECORD_IS_USED.
11284 (init_record_full_ops): Set the target's shortname to
11285 record_full_shortname.
11286 (init_record_full_core_ops): Set the target's shortname to
11287 record_full_core_shortname.
11288 * record-full.h (record_full_is_used): Declare.
11289 * record.c (find_record_target): Make extern.
11290 (record_preopen): New function.
11291 * record.h (RECORD_IS_USED): Delete macro.
11292 (find_record_target, record_preopen): Declare functions.
11293
7ec1862d
YQ
112942014-01-14 Yao Qi <yao@codesourcery.com>
11295
11296 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11297 'len''s type to ULONGEST.
11298 (core_xfer_shared_libraries_aix): Likewise.
11299 * gdbarch.c, gdbarch.h: Regenerated.
11300 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11301 Change type of 'len' to ULONGEST.
11302 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11303 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11304
dea80a27
YQ
113052014-01-14 Yao Qi <yao@codesourcery.com>
11306
11307 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11308 type of 'len' to ULONGEST.
11309 (linux_xfer_osdata_processgroups): Likewise.
11310 (linux_xfer_osdata_threads): Likewise.
11311 (linux_xfer_osdata_fds): Likewise.
11312 (linux_xfer_osdata_isockets): Likewise.
11313 (linux_xfer_osdata_shm): Likewise.
11314 (linux_xfer_osdata_sem): Likewise.
11315 (linux_xfer_osdata_msg): Likewise.
11316 (linux_common_xfer_osdata): Likewise.
11317 (struct osdata_type) <getter>: Likewise.
11318 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11319 the declaration.
11320
b55e14c7
YQ
113212014-01-14 Yao Qi <yao@codesourcery.com>
11322
11323 * target.h (target_xfer_partial_ftype): Update.
11324 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11325 ULONGEST.
11326 * aix-thread.c (aix_thread_xfer_partial): Change type of
11327 argument 'len' to ULONGEST.
11328 * auxv.c (procfs_xfer_auxv): Likewise.
11329 (ld_so_xfer_auxv): Likewise.
11330 (memory_xfer_auxv): Likewise.
11331 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11332 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11333 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11334 * corelow.c (core_xfer_partial): Likewise.
11335 * ctf.c (ctf_xfer_partial): Likewise.
11336 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11337 '%u'.
11338 (darwin_read_dyld_info): Likewise.
11339 (darwin_xfer_partial): Likewise.
11340 * exec.c (section_table_xfer_memory_partial): Likewise.
11341 (exec_xfer_partial): Likewise.
11342 * exec.h (section_table_xfer_memory_partial): Update
11343 declaration.
11344 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11345 instead of plongest.
11346 (gnu_xfer_partial): Likewise.
11347 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11348 (ia64_hpux_xfer_solib_got): Likewise.
11349 (ia64_hpux_xfer_partial): Likewise.
11350 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11351 * inf-ptrace.c (inf_ptrace_xfer_partial):
11352 * inf-ttrace.c (inf_ttrace_xfer_partial):
11353 * linux-nat.c (linux_xfer_siginfo): Likewise.
11354 (linux_nat_xfer_partial): Likewise.
11355 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11356 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11357 * monitor.c (monitor_xfer_memory): Likewise.
11358 (monitor_xfer_partial): Likewise.
11359 * procfs.c (procfs_xfer_partial): Likewise.
11360 * record-full.c (record_full_xfer_partial): Likewise.
11361 (record_full_core_xfer_partial): Likewise.
11362 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11363 instead of plongest.
11364 (gdbsim_xfer_partial): Likewise.
11365 * remote.c (remote_xfer_partial): Likewise.
11366 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11367 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11368 declaration.
11369 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11370 (rs6000_xfer_shared_libraries): Likewise.
11371 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11372 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11373 (sparc_xfer_partial): Likewise.
11374 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11375 (spu_xfer_partial): Likewise.
11376 * spu-multiarch.c (spu_xfer_partial): Likewise.
11377 * target.c (target_read_live_memory): Likewise.
11378 (memory_xfer_live_readonly_partial): Likewise.
11379 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11380 (target_xfer_partial, default_xfer_partial): Likewise.
11381 (current_xfer_partial): Likewise.
11382 * tracepoint.c (tfile_xfer_partial): Likewise.
11383 * windows-nat.c (windows_xfer_memory): Likewise. Call
11384 pulongest instead of plongest.
11385 (windows_xfer_partial): Likewise.
11386 (windows_xfer_shared_libraries): Likewise.
11387
05804640
YQ
113882014-01-14 Yao Qi <yao@codesourcery.com>
11389
11390 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11391 target_xfer_partial_ftype.
11392
b5b08fb4
SC
113932014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11394
11395 PR python/15464
11396 PR python/16113
11397 * valops.c (value_struct_elt_bitpos): New function
11398 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11399 object to 'None' if the field name is an empty string ("").
11400 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11401 attribute to look for a field when 'name' is 'None'.
11402 (get_field_type): New function
11403
13aaf454
DE
114042014-01-13 Doug Evans <dje@google.com>
11405
11406 PR symtab/16426
11407 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11408 (try_open_dwop_file): Ditto.
11409 * gdb_bfd.c: #include "vec.h".
11410 (bfdp): New typedef.
11411 (struct gdb_bfd_data): New member included_bfds.
11412 (gdb_bfd_unref): Unref all included bfds.
11413 (gdb_bfd_record_inclusion): New function.
11414 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11415
c2cec97c
TT
114162014-01-13 Tom Tromey <tromey@redhat.com>
11417
11418 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11419
78e5999d
TT
114202014-01-13 Tom Tromey <tromey@redhat.com>
11421
11422 * defs.h (use_windows): Remove.
11423 * gdb.c (main): Update.
11424 * main.c (captured_main, gdb_main): Update.
11425 * main.h (struct captured_main_args) <use_windows>: Remove.
11426 * top.c (use_windows): Remove.
11427
f2052bbe
TT
114282014-01-13 Tom Tromey <tromey@redhat.com>
11429
11430 * defs.h (deprecated_flush_hook): Remove.
11431
fde4f8ed
JK
114322014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11433
11434 PR threads/16216
11435 * linux-thread-db.c (try_thread_db_load): Add parameter
11436 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11437 (try_thread_db_load_from_pdir_1): Move it there from here.
11438 (try_thread_db_load_from_sdir): Update caller.
11439 (try_thread_db_load_from_dir): Move it there from here.
11440
bdf61915
PP
114412014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11442
11443 * regformats/regdat.sh: Always rewrite the register file.
11444
f71e1a8d
PA
114452014-01-13 Pedro Alves <palves@redhat.com>
11446
11447 * Makefile.in (CHECK_HEADERS): New variable.
11448 (check-headers:): New rule.
11449
42c85435
TT
114502014-01-13 Tom Tromey <tromey@redhat.com>
11451
11452 * cli/cli-setshow.c (do_set_command): Update.
11453 * defs.h (deprecated_set_hook): Remove.
11454 * top.c (deprecated_set_hook): Remove.
11455
f8de5129
PA
114562014-01-13 Pedro Alves <palves@redhat.com>
11457
11458 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11459 the tracepoint if the PC is a pseudo-register.
11460
fc270c35
TT
114612014-01-13 Tom Tromey <tromey@redhat.com>
11462
11463 * defs.h (XCALLOC): Remove.
11464 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11465 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11466 * dwarf2loc.c (allocate_piece_closure): Likewise.
11467 * elfread.c (elf_symfile_segments): Likewise.
11468 (elf_symfile_segments): Likewise.
11469 * gdbtypes.c (copy_type_recursive): Likewise.
11470 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11471 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11472 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11473 XCALLOC.
11474 * mt-tdep.c (mt_gdbarch_init): Likewise.
11475 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11476 XCALLOC.
11477 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11478 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11479 * registry.c (registry_alloc_data): Likewise.
11480 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11481 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11482 * serial.c (serial_fdopen_ops): Likewise.
11483 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11484 XCALLOC.
11485 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11486 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11487 not XCALLOC.
11488
70ba0933
TT
114892014-01-13 Tom Tromey <tromey@redhat.com>
11490
11491 * defs.h (XMALLOC): Remove.
11492 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11493 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11494 * cli-out.c (struct ui_out *): Likewise.
11495 * cli/cli-dump.c (add_dump_command): Likewise.
11496 (add_dump_command): Likewise.
11497 * complaints.c (get_complaints): Likewise.
11498 (find_complaint): Likewise.
11499 * dwarf2-frame.c (execute_cfa_program): Likewise.
11500 * dwarf2read.c (abbrev_table_read_table): Likewise.
11501 * gdbarch.sh: Likewise.
11502 * gdbarch.c: Rebuild.
11503 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11504 * interps.c (interp_new): Likewise.
11505 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11506 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11507 * mi/mi-console.c (mi_console_file_new): Likewise.
11508 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11509 * mi/mi-out.c (mi_out_new): Likewise.
11510 * mi/mi-parse.c (mi_parse): Likewise.
11511 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11512 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11513 * observer.c (xalloc_observer_list_node): Likewise.
11514 * regcache.c (regcache_xmalloc_1): Likewise.
11515 * reggroups.c (reggroup_new): Likewise.
11516 (_initialize_reggroup): Likewise.
11517 * registry.c (register_data_with_cleanup): Likewise.
11518 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11519 * ser-base.c (serial_ttystate): Likewise.
11520 * ser-mingw.c (make_pipe_state): Likewise.
11521 * ser-pipe.c (pipe_open): Likewise.
11522 * serial.c (serial_open): Likewise.
11523 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11524 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11525 (tui_alloc_win_info): Likewise.
11526 (tui_add_content_elements): Likewise.
11527 * tui/tui-file.c (tui_file_new): Likewise.
11528 * tui/tui-out.c (tui_out_new): Likewise.
11529 * ui-file.c (mem_file_new): Likewise.
11530 * ui-out.c (push_level): Likewise.
11531 (make_cleanup_ui_out_end): Likewise.
11532 (append_header_to_list): Likewise.
11533 (ui_out_new): Likewise.
11534 * user-regs.c (user_reg_add_builtin): Likewise.
11535
41bf6aca
TT
115362014-01-13 Tom Tromey <tromey@redhat.com>
11537
11538 * defs.h (XZALLOC): Remove.
11539 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11540 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11541 (get_ada_tasks_inferior_data): Likewise.
11542 * auto-load.c (get_auto_load_pspace_data): Likewise.
11543 * auxv.c (get_auxv_inferior_data): Likewise.
11544 * bfd-target.c (target_bfd_reopen): Likewise.
11545 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11546 (deprecated_insert_raw_breakpoint): Likewise.
11547 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11548 * corelow.c (core_open): Likewise.
11549 * darwin-nat.c (darwin_check_new_threads): Likewise.
11550 (darwin_attach_pid): Likewise.
11551 * dummy-frame.c (dummy_frame_push): Likewise.
11552 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11553 * dwarf2loc.c (allocate_piece_closure): Likewise.
11554 * elfread.c (elf_symfile_segments): Likewise.
11555 * eval.c (ptrmath_type_p): Likewise.
11556 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11557 * gdbtypes.c (alloc_type_arch): Likewise.
11558 (alloc_type_instance): Likewise.
11559 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11560 * inf-child.c (inf_child_can_use_agent): Likewise.
11561 * inflow.c (get_inflow_inferior_data): Likewise.
11562 * infrun.c (save_infcall_suspend_state): Likewise.
11563 * jit.c (jit_reader_load): Likewise.
11564 (get_jit_objfile_data): Likewise.
11565 (get_jit_program_space_data): Likewise.
11566 (jit_object_open_impl): Likewise.
11567 (jit_symtab_open_impl): Likewise.
11568 (jit_block_open_impl): Likewise.
11569 (jit_frame_sniffer): Likewise.
11570 * linux-fork.c (add_fork): Likewise.
11571 * maint.c (make_command_stats_cleanup): Likewise.
11572 * objfiles.c (get_objfile_pspace_data): Likewise.
11573 * opencl-lang.c (struct lval_closure): Likewise.
11574 * osdata.c (osdata_start_osdata): Likewise.
11575 * progspace.c (new_address_space): Likewise.
11576 (add_program_space): Likewise.
11577 * remote-sim.c (get_sim_inferior_data): Likewise.
11578 * sh-tdep.c (sh_gdbarch_init): Likewise.
11579 * skip.c (Ignore): Likewise.
11580 (skip_delete_command): Likewise.
11581 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11582 (library_list_start_library): Likewise.
11583 (solib_aix_current_sos): Likewise.
11584 * solib-darwin.c (get_darwin_info): Likewise.
11585 (darwin_current_sos): Likewise.
11586 * solib-dsbt.c (get_dsbt_info): Likewise.
11587 * solib-ia64-hpux.c (new_so_list): Likewise.
11588 (ia64_hpux_get_solib_linkage_addr): Likewise.
11589 * solib-spu.c (append_ocl_sos): Likewise.
11590 (spu_current_sos): Likewise.
11591 * solib-svr4.c (get_svr4_info): Likewise.
11592 (svr4_keep_data_in_core): Likewise.
11593 (library_list_start_library): Likewise.
11594 (svr4_default_sos): Likewise.
11595 (svr4_read_so_list): Likewise.
11596 * solib-target.c (library_list_start_library): Likewise.
11597 (solib_target_current_sos): Likewise.
11598 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11599 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11600 * symfile.c (default_symfile_segments): Likewise.
11601 * target-descriptions.c (tdesc_data_init): Likewise.
11602 (tdesc_create_reg): Likewise.
11603 (struct tdesc_type *): Likewise.
11604 (tdesc_create_vector): Likewise.
11605 (tdesc_set_struct_size): Likewise.
11606 (struct tdesc_type *): Likewise.
11607 (tdesc_free_feature): Likewise.
11608 (tdesc_create_feature): Likewise.
11609 * windows-nat.c (windows_add_thread): Likewise.
11610 (windows_make_so): Likewise.
11611 * xml-support.c (gdb_xml_body_text): Likewise.
11612 (gdb_xml_create_parser_and_cleanup): Likewise.
11613 (xml_process_xincludes): Likewise.
11614 * xml-syscall.c (allocate_syscalls_info): Likewise.
11615 (syscall_create_syscall_desc): Likewise.
11616
5acfdbae
SDJ
116172014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11618
11619 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11620 function, with code from i386_stap_parse_special_token.
11621 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11622 (i386_stap_parse_special_token): Move code to the two functions
11623 above; simplify it.
11624
0000e5cc
PA
116252014-01-09 Pedro Alves <palves@redhat.com>
11626 Hui Zhu <hui@codesourcery.com>
11627
11628 PR gdb/16101
11629 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11630 bp_err_string. Don't mark the location shlib_disabled if the
11631 error thrown wasn't a generic or memory error. Catch errors
11632 thrown while inserting breakpoints in overlayed code. Output
11633 error message of software breakpoints.
11634 * remote.c (remote_insert_breakpoint): If this breakpoint has
11635 target-side commands but this stub doesn't support Z0 packets,
11636 throw NOT_SUPPORTED_ERROR error.
11637 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11638 * target.h (target_insert_breakpoint): Extend comment.
11639 (target_insert_hw_breakpoint): Add comment.
11640
b7ea362b
PA
116412014-01-08 Pedro Alves <palves@redhat.com>
11642
11643 * remote.c (remote_add_thread): Add threads silently if starting
11644 up.
11645 (remote_notice_new_inferior): If in all-stop, and starting up,
11646 don't call notice_new_inferior.
11647 (get_current_thread): New function, factored out from ...
11648 (add_current_inferior_and_thread): ... this. Adjust.
11649 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11650 found any thread, then select the remote's current thread as GDB's
11651 current thread too.
11652
b7bba001
JB
116532014-01-08 Joel Brobecker <brobecker@adacore.com>
11654
11655 * NEWS: Create a new section for the next release branch.
11656 Rename the section of the current branch, now that it has
11657 been cut.
11658
16dfbded
JB
116592014-01-08 Joel Brobecker <brobecker@adacore.com>
11660
11661 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11662 * version.in: Bump version to 7.7.50.DATE-cvs.
11663
22c90ac1
YQ
116642014-01-08 Yao Qi <yao@codesourcery.com>
11665
11666 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11667 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11668 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11669
d64ad97c
YQ
116702014-01-08 Yao Qi <yao@codesourcery.com>
11671
11672 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11673 return value of bfd_get_filename to symbol_file_add_from_bfd.
11674
f93ba80c
PM
116752014-01-08 Pierre Muller <muller@sourceware.org>
11676
11677 Fix PR16201.
11678 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11679 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11680 to prim_record_mininal_symbol_and_info.
11681 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11682 in call to prim_record_minimal_symbol_and_info.
11683 (read_pe_exported_syms): Set index field of section_data.
11684
a4d9ba85
AP
116852014-01-07 Andrew Pinski <apinski@cavium.com>
11686
11687 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11688 * features/aarch64.c: Regenerate.
11689
1b67eb02
AS
116902014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11691
11692 * target.c (return_null): Define.
11693 (update_current_target): Use it instead of return_zero for
11694 functions that return a pointer.
11695
5e3f4fab
EBM
116962014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11697
11698 * source.c (add_path): Fix check for duplicated paths in the previously
11699 included paths.
11700
e2616788
HK
117012014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11702
11703 * ada-lang.c: Remove duplicated include statements.
11704 * alphabsd-nat.c: Ditto.
11705 * amd64-darwin-tdep.c: Ditto.
11706 * amd64fbsd-nat.c: Ditto.
11707 * auto-load.c: Ditto.
11708 * ax-gdb.c: Ditto.
11709 * breakpoint.c: Ditto.
11710 * dbxread.c: Ditto.
11711 * fork-child.c: Ditto.
11712 * gdb_usleep.c: Ditto.
11713 * i386-darwin-tdep.c: Ditto.
11714 * i386fbsd-nat.c: Ditto.
11715 * infcmd.c: Ditto.
11716 * inferior.c: Ditto.
11717 * jv-lang.c: Ditto.
11718 * linux-nat.c: Ditto.
11719 * linux-tdep.c: Ditto.
11720 * m68kbsd-nat.c: Ditto.
11721 * m68klinux-nat.c: Ditto.
11722 * microblaze-tdep.c: Ditto.
11723 * mips-linux-tdep.c: Ditto.
11724 * mn10300-tdep.c: Ditto.
11725 * nto-tdep.c: Ditto.
11726 * opencl-lang.c: Ditto.
11727 * osdata.c: Ditto.
11728 * printcmd.c: Ditto.
11729 * regcache.c: Ditto.
11730 * remote-m32r-sdi.c: Ditto.
11731 * remote.c: Ditto.
11732 * symfile.c: Ditto.
11733 * symtab.c: Ditto.
11734 * tilegx-linux-nat.c: Ditto.
11735 * tilegx-tdep.c: Ditto.
11736 * tracepoint.c: Ditto.
11737 * valops.c: Ditto.
11738 * vaxbsd-nat.c: Ditto.
11739 * windows-nat.c: Ditto.
11740 * xtensa-tdep.c: Ditto.
11741
bd1f7788
YQ
117422014-01-07 Yao Qi <yao@codesourcery.com>
11743
11744 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11745
79301218
JB
117462014-01-07 Yao Qi <yao@codesourcery.com>
11747 Joel Brobecker <brobecker@adacore.com>
11748
11749 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11750 (pdc_write_regs): Likewise.
11751 (fetch_regs_kernel_thread): Likewise.
11752 (store_regs_kernel_thread): Likewise.
11753
117542014-01-07 Joel Brobecker <brobecker@adacore.com>
11755
11756 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11757 tagged type objects to their actual type.
11758
8e355c5d
JB
117592014-01-07 Joel Brobecker <brobecker@adacore.com>
11760
11761 * ada-valprint.c (print_field_values): Add "language" parameter.
11762 Update calls to print_field_values and print_variant_part.
11763 Pass new parameter "language" in call to val_print instead
11764 of "current_language". Replace call to ada_val_print by call
11765 to val_print.
11766 (print_variant_part): Add "language" parameter.
11767 (ada_val_print_struct_union): Update call to print_field_values.
11768
4fbf5aa5
JB
117692014-01-07 Joel Brobecker <brobecker@adacore.com>
11770
11771 * ada-valprint.c (ui_memcpy): Delete.
11772 (ada_print_floating): Update documentation. Add empty line
11773 between between function documentation and implementation.
11774 Delete variable "buffer". Use ui_file_xstrdup in place of
11775 ui_file_put. Minor adjustments following this change.
11776
71855601
JB
117772014-01-07 Joel Brobecker <brobecker@adacore.com>
11778
11779 * ada-valprint.c (ada_val_print_string): New function,
11780 extracted from ada_val_print_array.
11781 (ada_val_print_array): Replace extracted code by call
11782 to ada_val_print_string followed by a return. Move
11783 "else" branch to the function's top block.
11784
4eb27a30
JB
117852014-01-07 Joel Brobecker <brobecker@adacore.com>
11786
11787 * ada-valprint.c (ada_val_print_array): Move implementation
11788 down. Rename parameter "offset" and "val" into "offset_aligned"
11789 and "original_value" respectively. Add parameter "offset".
11790
34b27950
JB
117912014-01-07 Joel Brobecker <brobecker@adacore.com>
11792
11793 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11794 re-organizing the code. Change the "???" message printed
11795 when target type is a TYPE_CODE_UNDEF into
11796 "<ref to undefined type>".
11797
079e4591
JB
117982014-01-07 Joel Brobecker <brobecker@adacore.com>
11799
11800 * ada-valprint.c (print_record): Delete, implementation inlined...
11801 (ada_val_print_struct_union): ... here. Remove call to
11802 ada_check_typedef in inlined implementation.
11803
8004dfd1
JB
118042014-01-07 Joel Brobecker <brobecker@adacore.com>
11805
11806 * ada-valprint.c (ada_val_print_gnat_array): New function,
11807 extracted from ada_val_print_1;
11808 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
11809 (ada_val_print_flt, ada_val_print_struct_union)
11810 (ada_val_print_ref): Likewise.
11811 (ada_val_print_1): Delete variables i and elttype.
11812 Replace extracted-out code by call to corresponding
11813 new functions.
11814
760a2db0
JB
118152014-01-07 Joel Brobecker <brobecker@adacore.com>
11816
11817 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
11818
3a92c861
JB
118192014-01-07 Joel Brobecker <brobecker@adacore.com>
11820
11821 * ada-valprint.c (ada_val_print_1): Replace calls to
11822 ada_val_print_1 by calls to val_print.
11823
cd1630f9
JB
118242014-01-07 Joel Brobecker <brobecker@adacore.com>
11825
11826 * ada-valprint.c (ada_val_print_1): Add parameter "language".
11827 Update calls to self accordingly. Replace calls to c_val_print
11828 by calls to val_print.
11829
bdf779a0
JB
118302014-01-07 Joel Brobecker <brobecker@adacore.com>
11831
11832 * ada-valprint.c (print_record): Delete declaration.
11833 (adjust_type_signedness, ada_val_print_1): Likewise.
11834 (ada_val_print): Move function implementation down.
11835 (print_variant_part, print_field_values, print_record):
11836 Move function implementation up.
11837
c0d48811
JB
118382014-01-07 Joel Brobecker <brobecker@adacore.com>
11839
11840 * python/py-type.c (typy_get_name): New function.
11841 (type_object_getset): Add entry for attribute "name".
11842 * NEWS: Add entry mentioning this new attribute.
11843
c26e9cbb
YQ
118442014-01-07 Yao Qi <yao@codesourcery.com>
11845
11846 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
11847 statement.
11848
0cc6f43d
YQ
118492014-01-07 Yao Qi <yao@codesourcery.com>
11850
11851 * gnu-nat.c (info_port_rights): Add qualifier const to
11852 argument args.
11853
eec03155
YQ
118542014-01-07 Yao Qi <yao@codesourcery.com>
11855
11856 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
11857
f04a82ef
YQ
118582014-01-07 Yao Qi <yao@codesourcery.com>
11859
11860 * gnu-nat.c (make_inf) Update declaration.
11861 (make_inf): Make it static.
11862 (inf_set_traced): Likewise.
11863 (inf_port_to_thread, inf_task_died_status): Likewise.
11864
d57dda0a
YQ
118652014-01-07 Yao Qi <yao@codesourcery.com>
11866
11867 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
11868
3aa8c969
YQ
118692014-01-07 Yao Qi <yao@codesourcery.com>
11870
11871 * gnu-nat.c (_initialize_gnu_nat): Declare.
11872
94123b4f
YQ
118732014-01-07 Yao Qi <yao@codesourcery.com>
11874
11875 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
11876 'enum bfd_endian'.
11877 (struct gdbarch_info) <byte_order>: Change type to
11878 'enum bfd_endian'.
11879 <byte_order_for_code>: Likewise.
11880 * gdbarch.c, gdbarch.h: Regenerated.
11881
dc81d70a
TT
118822014-01-06 Sasha Smundak <asmundak@google.com>
11883
11884 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
11885
cc2f3c35
TT
118862014-01-06 Tom Tromey <tromey@redhat.com>
11887
11888 * doublest.c (convert_doublest_to_floatformat): Use const, not
11889 CONST.
11890 * somread.c (som_symtab_read): Likewise.
11891
adcf2eed
HZ
118922014-01-07 Hui Zhu <hui@codesourcery.com>
11893
11894 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
11895 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
11896 (gdb_bfd_fopen): Ditto.
11897 (gdb_bfd_openr): Ditto.
11898 (gdb_bfd_openw): Ditto.
11899 (gdb_bfd_openr_iovec): Ditto.
11900 (gdb_bfd_fdopenr): Ditto.
11901 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
11902 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
11903 with xstrdup.
11904 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
11905 with xstrdup.
11906 * symfile-mem.c (symbol_file_add_from_memory): Removed
11907 gdb_bfd_stash_filename.
11908
50722198
DE
119092014-01-03 Doug Evans <dje@google.com>
11910
11911 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
11912 output.
11913
2fa4b862
JB
119142014-01-01 Joel Brobecker <brobecker@adacore.com>
11915
11916 Update year range in copyright notice of all files.
11917
28498c42
JB
119182014-01-01 Joel Brobecker <brobecker@adacore.com>
11919
11920 * top.c (print_gdb_version): Set copyright year to 2014.
11921
7b6e1046
JB
119222014-01-01 Joel Brobecker <brobecker@adacore.com>
11923
11924 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
11925
df96af55 11926For older changes see ChangeLog-2013.
c906108c
SS
11927\f
11928Local Variables:
11929mode: change-log
11930left-margin: 8
11931fill-column: 74
11932version-control: never
57da7796 11933coding: utf-8
c906108c 11934End:
This page took 4.61896 seconds and 4 git commands to generate.