avoid "if ... else if ... else" logic in ada-lang.c::ada_evaluate_subexp
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
da5c522f
JB
12014-08-18 Joel Brobecker <brobecker@adacore.com>
2
3 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
4 rewrite to avoid "else if" and "else" constructs. Should be
5 a no-op in practice.
6
0d72a7c3
JB
72014-08-18 Joel Brobecker <brobecker@adacore.com>
8
9 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
10 of lexical block.
11
e66d4446
SC
122014-08-15 Siva Chandra Reddy <sivachandra@google.com>
13
14 PR c++/17132
15 * eval.c: Update all calls to find_overload_match.
16 * valarith.c: Likewise.
17 (value_user_defined_cpp_op, value_user_defined_op): New
18 argument NOSIDE. Update all callers.
19 * valops.c (find_overload_match): New argument NOSIDE.
20 * value.h (find_overload_match): Update signature.
21
940df408
SC
222014-08-15 Siva Chandra Reddy <sivachandra@google.com>
23
24 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
25 'items' methods instead of 'iteritems' method on dictionaries.
26
699ca60a
DE
272014-08-15 Doug Evans <dje@google.com>
28
29 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
30 closer to use.
31
37780ee5
DE
322014-08-15 Doug Evans <dje@google.com>
33
34 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
35
0ad93d4f
DE
362014-08-15 Doug Evans <dje@google.com>
37
38 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
39
20d8c372
DE
402014-08-15 Doug Evans <dje@google.com>
41
42 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
43 unused.
44
cb039ba4
EZ
452014-08-15 Eli Zaretskii <eliz@gnu.org>
46
47 * dcache.h: Include target.h, to avoid compile time warnings.
48
eb7a547a
JB
492014-08-15 Joel Brobecker <brobecker@adacore.com>
50
51 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
52 frame_info" partial declaration.
53 * gdbarch.h: Regenerate.
54
783cecc8
YQ
552014-08-15 Yao Qi <yao@codesourcery.com>
56
57 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
58 Add parameter 'decode_for_pst_p'. Callers update.
59
65c749e7
YQ
602014-08-13 Yao Qi <yao@codesourcery.com>
61
62 PR build/17104
63 * configure.ac: Use local variable 'pos'.
64 * configure: Regenerated.
65
d769e349
DE
662014-08-11 Doug Evans <dje@google.com>
67
68 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
69 message, it is redundant with "Reading symbols from ..." message.
70
24f1235e
DE
712014-08-10 Doug Evans <xdje42@gmail.com>
72
73 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
74
dcd2e6ef
YQ
752014-08-09 Yao Qi <yao@codesourcery.com>
76
77 PR remote/9053
78 * remote.c (remote_xfer_partial): Remove dead code.
79
070bdf0b
AA
802014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
81
82 * ia64-linux-tdep.c: Include "regset.h".
83 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
84 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
85 (ia64_linux_supply_fpregset): New function.
86 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
87 (ia64_linux_regset_from_core_section): New function.
88 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
89 method.
90
08f9f542
AA
912014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
92
93 * m68klinux-tdep.c: Include "regset.h".
94 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
95 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
96 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
97 (m68k_linux_regset_from_core_section): New function.
98 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
99 method.
100
8f1cee41
AA
1012014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
102
103 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
104 function. Move logic to...
105 (tilegx_linux_regmap): ... this new register map.
106 (tilegx_linux_regset): Refer to register map, replace supply
107 method by regcache_supply_regset, and add collect method.
108 * tilegx-tdep.h (enum tilegx_regnum): New enum value
109 TILEGX_FIRST_EASY_REGNUM.
110
c5741217
AA
1112014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
112
113 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
114 that calls regcache_supply_regset and handles the EPC register
115 separately. Move main logic to...
116 (score7_linux_gregmap): ... this new register map.
117 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
118 (score7_linux_gregset): Refer to register map. Add collect method.
119 (score7_linux_regset_from_core_section): Replace
120 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
121 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
122 (struct regset): Delete unused forward declaraction.
123 (struct pt_regs): Delete structure definition.
124 (elf_gregset_t): Delete typedef.
125
81580573
AA
1262014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
127
128 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
129 (nios2_core_regset): Add collect method.
130
ba199d7d
AA
1312014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
132
133 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
134 platform-independent and don't write to read-only input buffer.
135 (m32r_linux_collect_gregset): New function.
136 (m32r_linux_gregset): Add collect method.
137
0006a9da
AA
1382014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
139
140 * hppa-linux-tdep.c (greg_map): Rename to...
141 (hppa_linux_gregmap): ... this. Also convert to
142 regcache_map_entry format.
143 (hppa_linux_supply_regset): Delete function.
144 (hppa_linux_supply_fpregset): Delete function. Move logic to...
145 (hppa_linux_fpregmap): ... this new register map.
146 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
147 register map, replace supply method by regcache_supply_regset, and
148 add collect method regcache_collect_regset.
149
901e1b23
AA
1502014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
151
152 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
153 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
154 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
155 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
156 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
157 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
158 (frv_linux_supply_gregset): Replace main logic by call to
159 regcache_supply_regset, but keep clearing gr32-gr63.
160 (frv_linux_supply_fpregset): Delete function.
161 (frv_linux_gregset): Refer to appropriate register map and add
162 regcache_collect_regset as the collect method.
163 (frv_linux_fpregset): Likewise. Also exchange the supply method
164 by regcache_supply_regset.
165
1d6e7555
AA
1662014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
167
168 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
169 by call to alpha_supply_int_regs.
170 (alpha_linux_collect_gregset): New function.
171 (alpha_linux_supply_fpregset): Replace logic by call to
172 alpha_supply_fp_regs.
173 (alpha_linux_collect_fpregset): New function.
174 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
175
d4d793bf
AA
1762014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
177
178 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
179 by call to regcache_collect_regset.
180 (supply_gregset, supply_fpregset): Call regcache_supply_regset
181 instead of aarch64_linux_supply_gregset/_fpregset.
182 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
183 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
184 header file instead.
185 (aarch64_linux_supply_gregset, supply_gregset_from_core)
186 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
187 functions. Move logic to ...
188 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
189 register maps.
190 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
191 refer to new register maps, replace *_regset_from_core by
192 regcache_supply_regset, and also use regcache_collect_regset.
193 * aarch64-linux-tdep.h: Include "regset.h".
194 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
195 Delete prototypes.
196 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
197 macros, moved from C source file.
198 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
199 variable declarations.
200
99b7da5d
AA
2012014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
202
203 * s390-linux-nat.c: Include "regset.h".
204 (regmap_gregset): Delete macro.
205 (s390_64_regmap_gregset): New register map for
206 regcache_supply/_collect_regset.
207 (s390_64_gregset): New regset.
208 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
209 (regmap_fpregset): Delete macro.
210 (s390_native_supply, s390_native_collect): Delete functions.
211 (supply_gregset, fill_gregset): Replace s390-specific regmap
212 handling by a call to regcache_supply/_collect_regset.
213 (supply_fpregset, fill_fpregset): Call regcache_supply/
214 _collect_regset instead of s390_native_supply/_collect.
215 (fetch_regset, store_regset): Likewise. Also change the last
216 parameter to a regset instead of a regmap.
217 (s390_linux_fetch_inferior_registers)
218 (390_linux_store_inferior_registers): Adjust last parameter in
219 calls to fetch_regset and store_regset.
220 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
221 (s390_gregmap): ... this. Also make static const and convert to
222 regcache_map_entry format.
223 (s390x_regmap_gregset): Delete.
224 (s390_regmap_fpregset): Rename to...
225 (s390_fpregmap): ... this. Make static const and convert to
226 regcache_map_entry format.
227 (s390_regmap_upper, s390_regmap_last_break)
228 (s390x_regmap_last_break, s390_regmap_system_call)
229 (s390_regmap_tdb): Likewise.
230 (s390_supply_regset, s390_collect_regset): Remove functions.
231 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
232 s390_supply_regset.
233 (s390_gregset, s390_fpregset, s390_upper_regset)
234 (s390_last_break_regset, s390x_last_break_regset)
235 (s390_system_call_regset, s390_tdb_regset): Make global and
236 replace s390_supply/_collect_regset by regcache_supply/
237 _collect_regset.
238 (s390x_gregset): Delete.
239 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
240 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
241 (s390_regmap_fpregset, s390_regmap_last_break)
242 (s390x_regmap_last_break, s390_regmap_system_call)
243 (s390_regmap_tdb): Delete global variable declarations.
244 (s390_gregset, s390_fpregset, s390_last_break_regset)
245 (s390x_last_break_regset, s390_system_call_regset)
246 (s390_tdb_regset): New global variable declarations.
247
0b309272
AA
2482014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
249
250 * regcache.c: Include "regset.h".
251 (regcache_transfer_regset): New local function.
252 (regcache_supply_regset, regcache_collect_regset): New functions.
253 * regcache.h (struct regcache_map_entry): New structure.
254 (REGCACHE_MAP_SKIP): New enum value.
255 (regcache_supply_regset, regcache_collect_regset): New prototypes.
256
7fefa8d7
AA
2572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
258
259 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
260 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
261 (ppc_linux_collect_gregset ): Likewise.
262 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
263 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
264 (ppc_collect_vrregset): Likewise.
265 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
266 Likewise.
267
96c4f946
YQ
2682014-08-07 Yao Qi <yao@codesourcery.com>
269
270 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
271 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
272 * remote.c (remote_read_bytes): Likewise.
273
fffbe6a8
YQ
2742014-08-07 Yao Qi <yao@codesourcery.com>
275
276 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
277
5ee8a82c
YQ
2782014-08-07 Yao Qi <yao@codesourcery.com>
279
280 PR remote/17230
281 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
282 TARGET_XFER_OK instead of 0.
283
bb974a24
GB
2842014-08-07 Gary Benson <gbenson@redhat.com>
285
286 * common/common-defs.h: Include errno.h.
287 * defs.h: Do not include errno.h.
288 * ada-typeprint.c: Likewise.
289 * c-typeprint.c: Likewise.
290 * core-regset.c: Likewise.
291 * corefile.c: Likewise.
292 * corelow.c: Likewise.
293 * event-loop.c: Likewise.
294 * f-typeprint.c: Likewise.
295 * gnu-nat.c: Likewise.
296 * go32-nat.c: Likewise.
297 * i386gnu-nat.c: Likewise.
298 * m2-typeprint.c: Likewise.
299 * nat/linux-btrace.c: Likewise.
300 * p-typeprint.c: Likewise.
301 * procfs.c: Likewise.
302 * remote-sim.c: Likewise.
303 * rs6000-nat.c: Likewise.
304 * target.c: Likewise.
305 * typeprint.c: Likewise.
306 * ui-file.c: Likewise.
307 * valops.c: Likewise.
308 * valprint.c: Likewise.
309
6d3d12eb
GB
3102014-08-07 Gary Benson <gbenson@redhat.com>
311
312 * common/common-defs.h: Include string.h.
313 * aarch64-tdep.c: Do not include string.h.
314 * ada-exp.y: Likewise.
315 * ada-lang.c: Likewise.
316 * ada-lex.l: Likewise.
317 * ada-typeprint.c: Likewise.
318 * ada-valprint.c: Likewise.
319 * aix-thread.c: Likewise.
320 * alpha-linux-tdep.c: Likewise.
321 * alpha-mdebug-tdep.c: Likewise.
322 * alpha-nat.c: Likewise.
323 * alpha-osf1-tdep.c: Likewise.
324 * alpha-tdep.c: Likewise.
325 * alphanbsd-tdep.c: Likewise.
326 * amd64-dicos-tdep.c: Likewise.
327 * amd64-linux-tdep.c: Likewise.
328 * amd64-nat.c: Likewise.
329 * amd64-sol2-tdep.c: Likewise.
330 * amd64fbsd-tdep.c: Likewise.
331 * amd64obsd-tdep.c: Likewise.
332 * arch-utils.c: Likewise.
333 * arm-linux-nat.c: Likewise.
334 * arm-linux-tdep.c: Likewise.
335 * arm-tdep.c: Likewise.
336 * arm-wince-tdep.c: Likewise.
337 * armbsd-tdep.c: Likewise.
338 * armnbsd-nat.c: Likewise.
339 * armnbsd-tdep.c: Likewise.
340 * armobsd-tdep.c: Likewise.
341 * avr-tdep.c: Likewise.
342 * ax-gdb.c: Likewise.
343 * ax-general.c: Likewise.
344 * bcache.c: Likewise.
345 * bfin-tdep.c: Likewise.
346 * breakpoint.c: Likewise.
347 * build-id.c: Likewise.
348 * buildsym.c: Likewise.
349 * c-exp.y: Likewise.
350 * c-lang.c: Likewise.
351 * c-typeprint.c: Likewise.
352 * c-valprint.c: Likewise.
353 * charset.c: Likewise.
354 * cli-out.c: Likewise.
355 * cli/cli-cmds.c: Likewise.
356 * cli/cli-decode.c: Likewise.
357 * cli/cli-dump.c: Likewise.
358 * cli/cli-interp.c: Likewise.
359 * cli/cli-logging.c: Likewise.
360 * cli/cli-script.c: Likewise.
361 * cli/cli-setshow.c: Likewise.
362 * cli/cli-utils.c: Likewise.
363 * coffread.c: Likewise.
364 * common/agent.c: Likewise.
365 * common/buffer.c: Likewise.
366 * common/buffer.h: Likewise.
367 * common/common-utils.c: Likewise.
368 * common/filestuff.c: Likewise.
369 * common/filestuff.c: Likewise.
370 * common/format.c: Likewise.
371 * common/print-utils.c: Likewise.
372 * common/rsp-low.c: Likewise.
373 * common/signals.c: Likewise.
374 * common/vec.h: Likewise.
375 * common/xml-utils.c: Likewise.
376 * core-regset.c: Likewise.
377 * corefile.c: Likewise.
378 * corelow.c: Likewise.
379 * cp-abi.c: Likewise.
380 * cp-name-parser.y: Likewise.
381 * cp-support.c: Likewise.
382 * cp-valprint.c: Likewise.
383 * cris-tdep.c: Likewise.
384 * d-exp.y: Likewise.
385 * darwin-nat.c: Likewise.
386 * dbxread.c: Likewise.
387 * dcache.c: Likewise.
388 * demangle.c: Likewise.
389 * dicos-tdep.c: Likewise.
390 * disasm.c: Likewise.
391 * doublest.c: Likewise.
392 * dsrec.c: Likewise.
393 * dummy-frame.c: Likewise.
394 * dwarf2-frame.c: Likewise.
395 * dwarf2loc.c: Likewise.
396 * dwarf2read.c: Likewise.
397 * elfread.c: Likewise.
398 * environ.c: Likewise.
399 * eval.c: Likewise.
400 * event-loop.c: Likewise.
401 * exceptions.c: Likewise.
402 * exec.c: Likewise.
403 * expprint.c: Likewise.
404 * f-exp.y: Likewise.
405 * f-lang.c: Likewise.
406 * f-typeprint.c: Likewise.
407 * f-valprint.c: Likewise.
408 * fbsd-nat.c: Likewise.
409 * findcmd.c: Likewise.
410 * findvar.c: Likewise.
411 * fork-child.c: Likewise.
412 * frame.c: Likewise.
413 * frv-linux-tdep.c: Likewise.
414 * frv-tdep.c: Likewise.
415 * gdb.c: Likewise.
416 * gdb_bfd.c: Likewise.
417 * gdbarch.c: Likewise.
418 * gdbarch.sh: Likewise.
419 * gdbtypes.c: Likewise.
420 * gnu-nat.c: Likewise.
421 * gnu-v2-abi.c: Likewise.
422 * gnu-v3-abi.c: Likewise.
423 * go-exp.y: Likewise.
424 * go-lang.c: Likewise.
425 * go32-nat.c: Likewise.
426 * guile/guile.c: Likewise.
427 * guile/scm-auto-load.c: Likewise.
428 * hppa-hpux-tdep.c: Likewise.
429 * hppa-linux-nat.c: Likewise.
430 * hppanbsd-tdep.c: Likewise.
431 * hppaobsd-tdep.c: Likewise.
432 * i386-cygwin-tdep.c: Likewise.
433 * i386-dicos-tdep.c: Likewise.
434 * i386-linux-tdep.c: Likewise.
435 * i386-nto-tdep.c: Likewise.
436 * i386-sol2-tdep.c: Likewise.
437 * i386-tdep.c: Likewise.
438 * i386bsd-tdep.c: Likewise.
439 * i386gnu-nat.c: Likewise.
440 * i386nbsd-tdep.c: Likewise.
441 * i386obsd-tdep.c: Likewise.
442 * i387-tdep.c: Likewise.
443 * ia64-libunwind-tdep.c: Likewise.
444 * ia64-linux-nat.c: Likewise.
445 * inf-child.c: Likewise.
446 * inf-ptrace.c: Likewise.
447 * inf-ttrace.c: Likewise.
448 * infcall.c: Likewise.
449 * infcmd.c: Likewise.
450 * inflow.c: Likewise.
451 * infrun.c: Likewise.
452 * interps.c: Likewise.
453 * iq2000-tdep.c: Likewise.
454 * irix5-nat.c: Likewise.
455 * jv-exp.y: Likewise.
456 * jv-lang.c: Likewise.
457 * jv-typeprint.c: Likewise.
458 * jv-valprint.c: Likewise.
459 * language.c: Likewise.
460 * linux-fork.c: Likewise.
461 * linux-nat.c: Likewise.
462 * lm32-tdep.c: Likewise.
463 * m2-exp.y: Likewise.
464 * m2-typeprint.c: Likewise.
465 * m32c-tdep.c: Likewise.
466 * m32r-linux-nat.c: Likewise.
467 * m32r-linux-tdep.c: Likewise.
468 * m32r-rom.c: Likewise.
469 * m32r-tdep.c: Likewise.
470 * m68hc11-tdep.c: Likewise.
471 * m68k-tdep.c: Likewise.
472 * m68kbsd-tdep.c: Likewise.
473 * m68klinux-nat.c: Likewise.
474 * m68klinux-tdep.c: Likewise.
475 * m88k-tdep.c: Likewise.
476 * machoread.c: Likewise.
477 * macrocmd.c: Likewise.
478 * main.c: Likewise.
479 * mdebugread.c: Likewise.
480 * mem-break.c: Likewise.
481 * memattr.c: Likewise.
482 * memory-map.c: Likewise.
483 * mep-tdep.c: Likewise.
484 * mi/mi-cmd-break.c: Likewise.
485 * mi/mi-cmd-disas.c: Likewise.
486 * mi/mi-cmd-env.c: Likewise.
487 * mi/mi-cmd-stack.c: Likewise.
488 * mi/mi-cmd-var.c: Likewise.
489 * mi/mi-cmds.c: Likewise.
490 * mi/mi-console.c: Likewise.
491 * mi/mi-getopt.c: Likewise.
492 * mi/mi-interp.c: Likewise.
493 * mi/mi-main.c: Likewise.
494 * mi/mi-parse.c: Likewise.
495 * microblaze-rom.c: Likewise.
496 * microblaze-tdep.c: Likewise.
497 * mingw-hdep.c: Likewise.
498 * minidebug.c: Likewise.
499 * minsyms.c: Likewise.
500 * mips-irix-tdep.c: Likewise.
501 * mips-linux-tdep.c: Likewise.
502 * mips-tdep.c: Likewise.
503 * mips64obsd-tdep.c: Likewise.
504 * mipsnbsd-tdep.c: Likewise.
505 * mipsread.c: Likewise.
506 * mn10300-linux-tdep.c: Likewise.
507 * mn10300-tdep.c: Likewise.
508 * monitor.c: Likewise.
509 * moxie-tdep.c: Likewise.
510 * mt-tdep.c: Likewise.
511 * nat/linux-btrace.c: Likewise.
512 * nat/linux-osdata.c: Likewise.
513 * nat/linux-procfs.c: Likewise.
514 * nat/linux-ptrace.c: Likewise.
515 * nat/linux-waitpid.c: Likewise.
516 * nbsd-tdep.c: Likewise.
517 * nios2-linux-tdep.c: Likewise.
518 * nto-procfs.c: Likewise.
519 * nto-tdep.c: Likewise.
520 * objc-lang.c: Likewise.
521 * objfiles.c: Likewise.
522 * opencl-lang.c: Likewise.
523 * osabi.c: Likewise.
524 * osdata.c: Likewise.
525 * p-exp.y: Likewise.
526 * p-lang.c: Likewise.
527 * p-typeprint.c: Likewise.
528 * parse.c: Likewise.
529 * posix-hdep.c: Likewise.
530 * ppc-linux-nat.c: Likewise.
531 * ppc-sysv-tdep.c: Likewise.
532 * ppcfbsd-tdep.c: Likewise.
533 * ppcnbsd-tdep.c: Likewise.
534 * ppcobsd-tdep.c: Likewise.
535 * printcmd.c: Likewise.
536 * procfs.c: Likewise.
537 * prologue-value.c: Likewise.
538 * python/py-auto-load.c: Likewise.
539 * python/py-gdb-readline.c: Likewise.
540 * ravenscar-thread.c: Likewise.
541 * regcache.c: Likewise.
542 * registry.c: Likewise.
543 * remote-fileio.c: Likewise.
544 * remote-m32r-sdi.c: Likewise.
545 * remote-mips.c: Likewise.
546 * remote-notif.c: Likewise.
547 * remote-sim.c: Likewise.
548 * remote.c: Likewise.
549 * reverse.c: Likewise.
550 * rs6000-aix-tdep.c: Likewise.
551 * ser-base.c: Likewise.
552 * ser-go32.c: Likewise.
553 * ser-mingw.c: Likewise.
554 * ser-pipe.c: Likewise.
555 * ser-tcp.c: Likewise.
556 * ser-unix.c: Likewise.
557 * serial.c: Likewise.
558 * sh-tdep.c: Likewise.
559 * sh64-tdep.c: Likewise.
560 * shnbsd-tdep.c: Likewise.
561 * skip.c: Likewise.
562 * sol-thread.c: Likewise.
563 * solib-dsbt.c: Likewise.
564 * solib-frv.c: Likewise.
565 * solib-osf.c: Likewise.
566 * solib-som.c: Likewise.
567 * solib-spu.c: Likewise.
568 * solib-target.c: Likewise.
569 * solib.c: Likewise.
570 * somread.c: Likewise.
571 * source.c: Likewise.
572 * sparc-nat.c: Likewise.
573 * sparc-sol2-tdep.c: Likewise.
574 * sparc-tdep.c: Likewise.
575 * sparc64-tdep.c: Likewise.
576 * sparc64fbsd-tdep.c: Likewise.
577 * sparc64nbsd-tdep.c: Likewise.
578 * sparcnbsd-tdep.c: Likewise.
579 * spu-linux-nat.c: Likewise.
580 * spu-multiarch.c: Likewise.
581 * spu-tdep.c: Likewise.
582 * stabsread.c: Likewise.
583 * stack.c: Likewise.
584 * std-regs.c: Likewise.
585 * symfile.c: Likewise.
586 * symmisc.c: Likewise.
587 * symtab.c: Likewise.
588 * target.c: Likewise.
589 * thread.c: Likewise.
590 * tilegx-linux-nat.c: Likewise.
591 * tilegx-tdep.c: Likewise.
592 * top.c: Likewise.
593 * tracepoint.c: Likewise.
594 * tui/tui-command.c: Likewise.
595 * tui/tui-data.c: Likewise.
596 * tui/tui-disasm.c: Likewise.
597 * tui/tui-file.c: Likewise.
598 * tui/tui-layout.c: Likewise.
599 * tui/tui-out.c: Likewise.
600 * tui/tui-regs.c: Likewise.
601 * tui/tui-source.c: Likewise.
602 * tui/tui-stack.c: Likewise.
603 * tui/tui-win.c: Likewise.
604 * tui/tui-windata.c: Likewise.
605 * tui/tui-winsource.c: Likewise.
606 * typeprint.c: Likewise.
607 * ui-file.c: Likewise.
608 * ui-out.c: Likewise.
609 * user-regs.c: Likewise.
610 * utils.c: Likewise.
611 * v850-tdep.c: Likewise.
612 * valarith.c: Likewise.
613 * valops.c: Likewise.
614 * valprint.c: Likewise.
615 * value.c: Likewise.
616 * varobj.c: Likewise.
617 * vax-tdep.c: Likewise.
618 * vaxnbsd-tdep.c: Likewise.
619 * vaxobsd-tdep.c: Likewise.
620 * windows-nat.c: Likewise.
621 * xcoffread.c: Likewise.
622 * xml-support.c: Likewise.
623 * xstormy16-tdep.c: Likewise.
624 * xtensa-linux-nat.c: Likewise.
625
dccbb609
GB
6262014-08-07 Gary Benson <gbenson@redhat.com>
627
628 * common/common-defs.h: Include gdb_assert.h.
629 * aarch64-tdep.c: Do not include gdb_assert.h.
630 * addrmap.c: Likewise.
631 * aix-thread.c: Likewise.
632 * alpha-linux-tdep.c: Likewise.
633 * alpha-mdebug-tdep.c: Likewise.
634 * alphanbsd-tdep.c: Likewise.
635 * amd64-nat.c: Likewise.
636 * amd64-tdep.c: Likewise.
637 * amd64bsd-nat.c: Likewise.
638 * amd64fbsd-nat.c: Likewise.
639 * amd64fbsd-tdep.c: Likewise.
640 * amd64nbsd-nat.c: Likewise.
641 * amd64nbsd-tdep.c: Likewise.
642 * amd64obsd-nat.c: Likewise.
643 * amd64obsd-tdep.c: Likewise.
644 * arch-utils.c: Likewise.
645 * arm-tdep.c: Likewise.
646 * armbsd-tdep.c: Likewise.
647 * auxv.c: Likewise.
648 * bcache.c: Likewise.
649 * bfin-tdep.c: Likewise.
650 * blockframe.c: Likewise.
651 * breakpoint.c: Likewise.
652 * bsd-kvm.c: Likewise.
653 * bsd-uthread.c: Likewise.
654 * buildsym.c: Likewise.
655 * c-exp.y: Likewise.
656 * c-lang.c: Likewise.
657 * charset.c: Likewise.
658 * cleanups.c: Likewise.
659 * cli-out.c: Likewise.
660 * cli/cli-decode.c: Likewise.
661 * cli/cli-dump.c: Likewise.
662 * cli/cli-logging.c: Likewise.
663 * cli/cli-script.c: Likewise.
664 * cli/cli-utils.c: Likewise.
665 * coffread.c: Likewise.
666 * common/common-utils.c: Likewise.
667 * common/queue.h: Likewise.
668 * common/signals.c: Likewise.
669 * common/vec.h: Likewise.
670 * complaints.c: Likewise.
671 * completer.c: Likewise.
672 * corelow.c: Likewise.
673 * cp-abi.c: Likewise.
674 * cp-name-parser.y: Likewise.
675 * cp-namespace.c: Likewise.
676 * cp-support.c: Likewise.
677 * cris-tdep.c: Likewise.
678 * dbxread.c: Likewise.
679 * dictionary.c: Likewise.
680 * doublest.c: Likewise.
681 * dsrec.c: Likewise.
682 * dummy-frame.c: Likewise.
683 * dwarf2-frame-tailcall.c: Likewise.
684 * dwarf2-frame.c: Likewise.
685 * dwarf2expr.c: Likewise.
686 * dwarf2loc.c: Likewise.
687 * dwarf2read.c: Likewise.
688 * eval.c: Likewise.
689 * event-loop.c: Likewise.
690 * exceptions.c: Likewise.
691 * expprint.c: Likewise.
692 * f-valprint.c: Likewise.
693 * fbsd-nat.c: Likewise.
694 * findvar.c: Likewise.
695 * frame-unwind.c: Likewise.
696 * frame.c: Likewise.
697 * frv-tdep.c: Likewise.
698 * gcore.c: Likewise.
699 * gdb-dlfcn.c: Likewise.
700 * gdb_bfd.c: Likewise.
701 * gdbarch.c: Likewise.
702 * gdbarch.sh: Likewise.
703 * gdbtypes.c: Likewise.
704 * gnu-nat.c: Likewise.
705 * gnu-v3-abi.c: Likewise.
706 * go-lang.c: Likewise.
707 * guile/scm-exception.c: Likewise.
708 * guile/scm-gsmob.c: Likewise.
709 * guile/scm-lazy-string.c: Likewise.
710 * guile/scm-math.c: Likewise.
711 * guile/scm-pretty-print.c: Likewise.
712 * guile/scm-safe-call.c: Likewise.
713 * guile/scm-utils.c: Likewise.
714 * guile/scm-value.c: Likewise.
715 * h8300-tdep.c: Likewise.
716 * hppa-hpux-nat.c: Likewise.
717 * hppa-tdep.c: Likewise.
718 * hppanbsd-tdep.c: Likewise.
719 * hppaobsd-tdep.c: Likewise.
720 * i386-darwin-nat.c: Likewise.
721 * i386-darwin-tdep.c: Likewise.
722 * i386-nto-tdep.c: Likewise.
723 * i386-tdep.c: Likewise.
724 * i386bsd-nat.c: Likewise.
725 * i386fbsd-tdep.c: Likewise.
726 * i386gnu-nat.c: Likewise.
727 * i386nbsd-tdep.c: Likewise.
728 * i386obsd-tdep.c: Likewise.
729 * i387-tdep.c: Likewise.
730 * ia64-libunwind-tdep.c: Likewise.
731 * ia64-tdep.c: Likewise.
732 * inf-ptrace.c: Likewise.
733 * inf-ttrace.c: Likewise.
734 * infcall.c: Likewise.
735 * infcmd.c: Likewise.
736 * infrun.c: Likewise.
737 * inline-frame.c: Likewise.
738 * interps.c: Likewise.
739 * jv-lang.c: Likewise.
740 * jv-typeprint.c: Likewise.
741 * linux-fork.c: Likewise.
742 * linux-nat.c: Likewise.
743 * linux-thread-db.c: Likewise.
744 * m32c-tdep.c: Likewise.
745 * m32r-linux-nat.c: Likewise.
746 * m32r-tdep.c: Likewise.
747 * m68k-tdep.c: Likewise.
748 * m68kbsd-nat.c: Likewise.
749 * m68kbsd-tdep.c: Likewise.
750 * m88k-tdep.c: Likewise.
751 * machoread.c: Likewise.
752 * macroexp.c: Likewise.
753 * macrotab.c: Likewise.
754 * maint.c: Likewise.
755 * mdebugread.c: Likewise.
756 * memory-map.c: Likewise.
757 * mep-tdep.c: Likewise.
758 * mi/mi-common.c: Likewise.
759 * microblaze-tdep.c: Likewise.
760 * mingw-hdep.c: Likewise.
761 * mips-linux-nat.c: Likewise.
762 * mips-linux-tdep.c: Likewise.
763 * mips-tdep.c: Likewise.
764 * mips64obsd-tdep.c: Likewise.
765 * mipsnbsd-tdep.c: Likewise.
766 * mn10300-linux-tdep.c: Likewise.
767 * mn10300-tdep.c: Likewise.
768 * moxie-tdep.c: Likewise.
769 * mt-tdep.c: Likewise.
770 * nat/linux-btrace.c: Likewise.
771 * nat/linux-osdata.c: Likewise.
772 * nat/linux-ptrace.c: Likewise.
773 * nat/mips-linux-watch.c: Likewise.
774 * nios2-linux-tdep.c: Likewise.
775 * nios2-tdep.c: Likewise.
776 * objc-lang.c: Likewise.
777 * objfiles.c: Likewise.
778 * obsd-nat.c: Likewise.
779 * opencl-lang.c: Likewise.
780 * osabi.c: Likewise.
781 * parse.c: Likewise.
782 * ppc-linux-nat.c: Likewise.
783 * ppc-sysv-tdep.c: Likewise.
784 * ppcfbsd-nat.c: Likewise.
785 * ppcfbsd-tdep.c: Likewise.
786 * ppcnbsd-nat.c: Likewise.
787 * ppcnbsd-tdep.c: Likewise.
788 * ppcobsd-nat.c: Likewise.
789 * ppcobsd-tdep.c: Likewise.
790 * printcmd.c: Likewise.
791 * procfs.c: Likewise.
792 * prologue-value.c: Likewise.
793 * psymtab.c: Likewise.
794 * python/py-lazy-string.c: Likewise.
795 * python/py-value.c: Likewise.
796 * regcache.c: Likewise.
797 * reggroups.c: Likewise.
798 * registry.c: Likewise.
799 * remote-sim.c: Likewise.
800 * remote.c: Likewise.
801 * rs6000-aix-tdep.c: Likewise.
802 * rs6000-tdep.c: Likewise.
803 * s390-linux-tdep.c: Likewise.
804 * score-tdep.c: Likewise.
805 * ser-base.c: Likewise.
806 * ser-mingw.c: Likewise.
807 * sh-tdep.c: Likewise.
808 * sh64-tdep.c: Likewise.
809 * solib-darwin.c: Likewise.
810 * solib-spu.c: Likewise.
811 * solib-svr4.c: Likewise.
812 * source.c: Likewise.
813 * sparc-nat.c: Likewise.
814 * sparc-sol2-tdep.c: Likewise.
815 * sparc-tdep.c: Likewise.
816 * sparc64-sol2-tdep.c: Likewise.
817 * sparc64-tdep.c: Likewise.
818 * sparc64fbsd-tdep.c: Likewise.
819 * sparc64nbsd-tdep.c: Likewise.
820 * sparc64obsd-tdep.c: Likewise.
821 * sparcnbsd-tdep.c: Likewise.
822 * sparcobsd-tdep.c: Likewise.
823 * spu-multiarch.c: Likewise.
824 * spu-tdep.c: Likewise.
825 * stabsread.c: Likewise.
826 * stack.c: Likewise.
827 * symfile.c: Likewise.
828 * symtab.c: Likewise.
829 * target-descriptions.c: Likewise.
830 * target-memory.c: Likewise.
831 * target.c: Likewise.
832 * tic6x-linux-tdep.c: Likewise.
833 * tic6x-tdep.c: Likewise.
834 * tilegx-linux-nat.c: Likewise.
835 * tilegx-tdep.c: Likewise.
836 * top.c: Likewise.
837 * tramp-frame.c: Likewise.
838 * tui/tui-out.c: Likewise.
839 * tui/tui-winsource.c: Likewise.
840 * ui-out.c: Likewise.
841 * user-regs.c: Likewise.
842 * utils.c: Likewise.
843 * v850-tdep.c: Likewise.
844 * valops.c: Likewise.
845 * value.c: Likewise.
846 * varobj.c: Likewise.
847 * vax-nat.c: Likewise.
848 * xml-syscall.c: Likewise.
849 * xml-tdesc.c: Likewise.
850 * xstormy16-tdep.c: Likewise.
851 * xtensa-linux-nat.c: Likewise.
852 * xtensa-tdep.c: Likewise.
853
e76df0d0
GB
8542014-08-07 Gary Benson <gbenson@redhat.com>
855
856 * common/common-defs.h: Include common-utils.h.
857 * defs.h: Do not include common-utils.h.
858 * common/gdb_assert.h: Likewise.
859 * darwin-nat.h: Likewise.
860 * nat/linux-btrace.c: Likewise.
861 * target/waitstatus.h: Likewise.
862
4cb9c816
GB
8632014-08-07 Gary Benson <gbenson@redhat.com>
864
865 * common/common-defs.h: Include ptid.h.
866 * defs.h: Do not include ptid.h.
867 * inferior.h: Likewise.
868 * infrun.h: Likewise.
869 * nat/linux-btrace.h: Likewise.
870 * nat/linux-osdata.h: Likewise.
871 * target/waitstatus.h: Likewise.
872
3995eeee
GB
8732014-08-07 Gary Benson <gbenson@redhat.com>
874
875 * common/common-defs.h: Include gdb_locale.h.
876 * defs.h: Do not include gdb_locale.h.
877
cb9f1a9b
GB
8782014-08-07 Gary Benson <gbenson@redhat.com>
879
880 * common/common-defs.h: Include gdb/signals.h.
881 * defs.h: Do not include gdb/signals.h.
882
a5fceff8
GB
8832014-08-07 Gary Benson <gbenson@redhat.com>
884
885 * common/common-defs.h: Include pathmax.h.
886 * defs.h: Do not include pathmax.h.
887
b9391142
GB
8882014-08-07 Gary Benson <gbenson@redhat.com>
889
890 * common/common-defs.h: Include libiberty.h.
891 * defs.h: Do not include libiberty.h.
892 * common/queue.h: Likewise.
893 * cp-name-parser.y: Likewise.
894 * mi/mi-cmd-catch.c: Likewise.
895 * python/python.c: Likewise.
896
0e443c87
GB
8972014-08-07 Gary Benson <gbenson@redhat.com>
898
899 * common/common-defs.h: Include ansidecl.h.
900 * defs.h: Do not include ansidecl.h.
901 * common/buffer.h: Likewise.
902 * common/common-utils.h: Likewise.
903
8ebb3f56
GB
9042014-08-07 Gary Benson <gbenson@redhat.com>
905
906 * common/common-defs.h: Include stddef.h.
907 * defs.h: Do not include stddef.h.
908 * common/common-utils.h: Likewise.
909 * amd64fbsd-nat.c: Likewise.
910 * bcache.c: Likewise.
911 * charset.c: Likewise.
912 * common/buffer.h: Likewise.
913 * common/vec.h: Likewise.
914 * i386bsd-nat.c: Likewise.
915 * nat/linux-btrace.h: Likewise.
916 * ppcfbsd-nat.c: Likewise.
917 * ppcnbsd-tdep.h: Likewise.
918 * ppcobsd-nat.c: Likewise.
919 * ppcobsd-tdep.h: Likewise.
920 * python/py-gdb-readline.c: Likewise.
921
8980bdf6
GB
9222014-08-07 Gary Benson <gbenson@redhat.com>
923
924 * common/common-defs.h: Include stdarg.h.
925 * defs.h: Do not include stdarg.h.
926 * ada-lang.c: Likewise.
927 * common/common-utils.h: Likewise.
928 * guile/scm-string.c: Likewise.
929 * guile/scm-utils.c: Likewise.
930 * m32c-tdep.c: Likewise.
931
d7096f71
GB
9322014-08-07 Gary Benson <gbenson@redhat.com>
933
934 * common/common-defs.h: Include stdlib.h.
935 * defs.h: Do not include stdlib.h.
936 * addrmap.c: Likewise.
937 * bcache.c: Likewise.
938 * common/buffer.c: Likewise.
939 * common/common-utils.c: Likewise.
940 * cp-name-parser.y: Likewise.
941 * go32-nat.c: Likewise.
942 * mn10300-linux-tdep.c: Likewise.
943 * nat/linux-osdata.c: Likewise.
944 * tui/tui.c: Likewise.
945 * windows-nat.c: Likewise.
946
d02f550d
GB
9472014-08-07 Gary Benson <gbenson@redhat.com>
948
949 * common/common-defs.h: Include stdio.h.
950 * defs.h: Do not include stdio.h.
951 * ada-lang.c: Likewise.
952 * common/buffer.c: Likewise.
953 * common/common-utils.c: Likewise.
954 * cp-name-parser.y: Likewise.
955 * gnu-nat.c: Likewise.
956 * go32-nat.c: Likewise.
957 * i386gnu-nat.c: Likewise.
958 * proc-api.c: Likewise.
959 * proc-events.c: Likewise.
960 * proc-flags.c: Likewise.
961 * proc-why.c: Likewise.
962 * python/python-internal.h: Likewise.
963 * target-memory.c: Likewise.
964 * tui/tui-io.c: Likewise.
965 * tui/tui.c: Likewise.
966
b6d7a4bf
SM
9672014-08-06 Simon Marchi <simon.marchi@ericsson.com>
968
969 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
970 (scan_dyntag_auxv): Same.
971
af19829b
YQ
9722014-08-06 Yao Qi <yao@codesourcery.com>
973
974 * amd64-linux-nat.c: Remove duplicated include
975 "x86-linux-nat.h".
976 * i386-linux-nat.c: Likewise.
977
8e07a239
YQ
9782014-08-06 Yao Qi <yao@codesourcery.com>
979
980 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
981 operand" with "Special opcode" in comments.
982
7bfe8241
GB
9832014-08-05 Gary Benson <gbenson@redhat.com>
984
985 * interps.c (initialize_interps): Remove prototype.
986 (interpreter_initialized): Remove static global.
987 (interp_add): Do not call initialize_interps.
988 (initialize_interps): Remove function.
989
d6c95504
GB
9902014-08-05 Gary Benson <gbenson@redhat.com>
991
992 * utils.c (vwarning): Remove spurious va_end.
993
241fd515
AM
9942014-08-05 Alan Modra <amodra@gmail.com>
995
996 * charset.c (convert_between_encodings): Cast result of obstack_base.
997 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
998 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
999 (read_unwind_info): Use size_t for some locals.
1000 * jit.c (finalize_symtab): Likewise.
1001 * utils.c (hashtab_obstack_allocate): Likewise.
1002 * symmisc.c (print_objfile_statistics): Update format strings.
1003
dc304a94
JK
10042014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1005
1006 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1007 (Changes in GDB 7.8): ... here.
1008
3cecbbbe
TT
10092014-08-04 Tom Tromey <tromey@redhat.com>
1010
1011 * target.c (set_targetdebug): New function.
1012 (initialize_targets): Pass set_targetdebug when creating "set
1013 debug target".
1014
6908c509
JB
10152014-08-01 Joel Brobecker <brobecker@adacore.com>
1016
1017 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1018 if detecting a variable-sized field that is not the last field.
1019 Fix struct type length computation.
1020
53e8f97d
JB
10212014-08-01 Joel Brobecker <brobecker@adacore.com>
1022
1023 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1024 Add debug trace.
1025
e068c55d
JB
10262014-08-01 Joel Brobecker <brobecker@adacore.com>
1027
1028 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1029 Remove "+ 8" offset in computation of CHAIN_VMA.
1030
4d4ca2a1
DE
10312014-07-31 Doug Evans <dje@google.com>
1032
1033 * inflow.c (child_terminal_inferior): Add comment.
1034 (child_terminal_ours_for_output): Add comment.
1035 (child_terminal_ours): Add comment.
1036 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1037 (linux_nat_terminal_ours): Add comment.
1038
462f517e
GB
10392014-07-31 Gary Benson <gbenson@redhat.com>
1040
1041 * common/btrace-common.h: Do not include defs.h or server.h.
1042 * nat/mips-linux-watch.h: Likewise.
1043 * gdb-dlfcn.h: Do not include defs.h.
1044 * tracefile.h: Likewise.
1045
74228e77
RM
10462014-07-30 Roland McGrath <mcgrathr@google.com>
1047
1048 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1049
014f9477
TT
10502014-07-30 Tom Tromey <tromey@redhat.com>
1051
1052 * bsd-kvm.c (bsd_kvm_open): Constify.
1053 * corelow.c (core_open): Constify.
1054 * ctf.c (ctf_open): Constify.
1055 * dbug-rom.c (dbug_open): Constify.
1056 * exec.c (exec_open): Constify.
1057 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1058 * microblaze-rom.c (picobug_open): Constify.
1059 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1060 Constify.
1061 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1062 * record-btrace.c (record_btrace_open): Constify.
1063 * record-full.c (record_full_core_open_1, record_full_open_1)
1064 (record_full_open): Constify.
1065 * remote-m32r-sdi.c (m32r_open): Constify.
1066 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1067 (rockhopper_open, lsi_open): Constify.
1068 * remote-sim.c (gdbsim_open): Constify.
1069 * remote.c (remote_open, extended_remote_open, remote_open_1):
1070 Constify.
1071 * target.h (struct target_ops) <to_open>: Make "arg" const.
1072 * tracefile-tfile.c (tfile_open): Constify.
1073
e799154c
TT
10742014-07-30 Tom Tromey <tromey@redhat.com>
1075
1076 * breakpoint.c (map_breakpoint_numbers): Update.
1077 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1078 (get_number_const): New function.
1079 (get_number): Rewrite using get_number_const.
1080 (init_number_or_range): Make "string" const.
1081 (number_is_in_list): Make "list" const.
1082 * cli/cli-utils.h (get_number_const): Declare.
1083 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1084 (init_number_or_range, number_is_in_list): Update.
1085 * printcmd.c (map_display_numbers): Update.
1086 * value.c (value_from_history_ref): Constify.
1087 * value.h (value_from_history_ref): Update.
1088
5f08566b
TT
10892014-07-30 Tom Tromey <tromey@redhat.com>
1090
1091 * corefile.c (hook_type, call_extra_exec_file_hooks)
1092 (specify_exec_file_hook): Constify.
1093 * exec.c (exec_file_attach): Make "filename" const.
1094 * gdbcore.h (deprecated_exec_file_display_hook)
1095 (specify_exec_file_hook, exec_file_attach): Constify.
1096 * main.c (captured_main): Use catch_command_errors_const.
1097
8981c758
TT
10982014-07-30 Tom Tromey <tromey@redhat.com>
1099
1100 * target.c (open_target): New function.
1101 (add_target_with_completer, add_deprecated_target_alias): Use
1102 set_cmd_sfunc, set_cmd_context.
1103 (debug_to_open): Remove.
1104 (setup_target_debug): Update.
1105
a1c7835a
YQ
11062014-07-30 Yao Qi <yao@codesourcery.com>
1107
1108 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1109 comments.
1110 * parse.c (exp_iterate): Update comments.
1111
976411d6
GB
11122014-07-30 Gary Benson <gbenson@redhat.com>
1113
1114 * common/common-defs.h: New file.
1115 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1116 * defs.h: Include common-defs.h.
1117 Do not include config.h or build-gnulib/config.h.
1118
5d4848a4
GB
11192014-07-30 Gary Benson <gbenson@redhat.com>
1120
1121 * common/common-utils.h: Do not include config.h.
1122 * nat/linux-btrace.h: Likewise.
1123
d41f6d8e
GB
11242014-07-30 Gary Benson <gbenson@redhat.com>
1125
1126 * btrace.c: Include defs.h.
1127 * common/ptid.c: Include defs.h or server.h as appropriate.
1128 * nat/mips-linux-watch.c: Likewise.
1129
84202f9c
TT
11302014-07-29 Tom Tromey <tromey@redhat.com>
1131
1132 * target.c (target_is_pushed): Simplify.
1133
2530441c
JB
11342014-07-29 Joel Brobecker <brobecker@adacore.com>
1135
1136 GDB 7.8 released.
1137
7e09a223
YQ
11382014-07-29 Yao Qi <yao@codesourcery.com>
1139
1140 PR gdb/17206
1141 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1142
7ebdbe92
DE
11432014-07-28 Doug Evans <xdje42@gmail.com>
1144
1145 PR guile/17203
1146 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1147 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1148 parameters.
1149
f347ffc9
WN
11502014-07-28 Will Newton <will.newton@linaro.org>
1151
1152 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1153 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1154 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1155 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1156 (THUMB2_EABI_SYSCALL): Likewise.
1157 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1158 struct tramp_frame.
1159 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1160 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1161
37c5f1f7
DE
11622014-07-27 Doug Evans <xdje42@gmail.com>
1163
1164 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1165
0c3abbc7
DE
11662014-07-27 Doug Evans <xdje42@gmail.com>
1167
1168 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1169
e76c5d17
DE
11702014-07-26 Ludovic Courtès <ludo@gnu.org>
1171 Doug Evans <xdje42@gmail.com>
1172
1173 PR guile/17146
1174 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1175 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1176 * configure.ac: Try to use guild to compile an scm file, if it fails
1177 then disable guile support.
1178 * configure: Regenerate.
1179 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1180 GUILE_FILE_LIST.
1181 (GUILE_COMPILED_FILES): New variable.
1182 (GUILE_FILES) Update.
1183 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1184 (stamp-guile): Compile scm files.
1185 * guile/guile.c (boot_guile_support): New function.
1186 (standard_throw_args_p): New function.
1187 (print_standard_throw_error, print_throw_error): New functions.
1188 (handle_boot_error): New function.
1189 (initialize_scheme_side): Rewrite to call boot_guile_support.
1190 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1191 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1192
186fcde0
DE
11932014-07-26 Ludovic Courtès <ludo@gnu.org>
1194 Doug Evans <xdje42@gmail.com>
1195
1196 PR guile/17146
1197 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1198 * guile/lib/gdb/support.scm: New file.
1199 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1200 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1201 All uses updated.
1202 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1203 All uses updated.
1204 (%assert-type): Ditto, and renamed to assert-type.
1205 (%exception-print-style): Delete.
1206
4df42755
DE
12072014-07-26 Doug Evans <xdje42@gmail.com>
1208
1209 PR build/17105
1210 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1211 * configure: Regenerate.
1212 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1213 PYTHON_FILES.
1214 (PYTHON_FILES): New variable.
1215 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1216 (GUILE_FILES): New variable.
1217 (stamp-python, install-python, uninstall-python): Handle empty
1218 file list.
1219 (stamp-guile, install-guile, uninstall-guile): Ditto.
1220
ee7333ae
DE
12212014-07-26 Doug Evans <xdje42@gmail.com>
1222
1223 PR guile/17177
1224 * guile/lib/gdb.scm (pretty-printers): Export.
1225 (set-pretty-printers!): Export.
1226 * guile/lib/gdb/printing.scm (gdb module): Update.
1227 (prepend-pretty-printer!, append-pretty-printer!): Update.
1228 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1229 (pretty_printer_list_var): Delete.
1230 (pretty_printer_list): New static global.
1231 (gdbscm_pretty_printers): New function.
1232 (gdbscm_set_pretty_printers_x): New function.
1233 (ppscm_find_pretty_printer_from_gdb): Update.
1234 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1235 (gdbscm_initialize_pretty_printers): Update.
1236
74edf516
DE
12372014-07-26 Doug Evans <xdje42@gmail.com>
1238
1239 PR 17185
1240 * configure.ac: Add check for header gc/gc.h.
1241 Add check for function setenv.
1242 * configure: Regenerate.
1243 * config.in: Regenerate.
1244 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1245
d54398a7
MR
12462014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1247
1248 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1249 variation in gdbarch matching.
1250
ab16fce8
TT
12512014-07-25 Tom Tromey <tromey@redhat.com>
1252
1253 * exec.c (using_exec_ops): Remove.
1254 (exec_close_1): Update. Remove extraneous block, reindent.
1255 (add_target_sections): Use target_is_pushed.
1256
88056fbb
PA
12572014-07-25 Pedro Alves <palves@redhat.com>
1258
1259 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1260 * monitor.c (monitor_create_inferior): Likewise.
1261 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1262 * remote-sim.c (gdbsim_create_inferior): Likewise.
1263 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1264 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1265 * windows-nat.c (do_initial_windows_stuff): Likewise.
1266
70509625
PA
12672014-07-25 Pedro Alves <palves@redhat.com>
1268
1269 * NEWS: Mention signal passing and "signal" command changes.
1270 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1271 comment.
1272 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1273 call.
1274 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1275 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1276 (jump_command): Adjust clear_proceed_status call.
1277 (signal_command): Warn if other thread that are resumed have
1278 signals that will be delivered. Adjust clear_proceed_status call.
1279 (until_next_command, finish_command)
1280 (proceed_after_attach_callback, attach_command_post_wait)
1281 (attach_command): Adjust clear_proceed_status call.
1282 * infrun.c (proceed_after_vfork_done): Likewise.
1283 (proceed_after_attach_callback): Adjust comment.
1284 (clear_proceed_status_thread): Clear stop_signal if not in pass
1285 state.
1286 (clear_proceed_status_callback): Delete.
1287 (clear_proceed_status): New 'step' parameter. Only clear the
1288 proceed status of threads the command being prepared is about to
1289 resume.
1290 (proceed): If passed in an explicit signal, override stop_signal
1291 with it. Don't pass the last stop signal to the thread we're
1292 resuming.
1293 (init_wait_for_inferior): Adjust clear_proceed_status call.
1294 (switch_back_to_stepped_thread): Clear the signal if it should not
1295 be passed.
1296 * infrun.h (clear_proceed_status): New 'step' parameter.
1297 (user_visible_resume_ptid): Add comment.
1298 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1299 signal is in pass state.
1300 * remote.c (append_pending_thread_resumptions): Likewise.
1301 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1302
d8be2939
TT
13032014-07-25 Tom Tromey <tromey@redhat.com>
1304
1305 * target.h (target_stopped_data_address)
1306 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1307 parentheses.
1308
7d0d9d2b
PL
13092014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1310
1311 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1312 comments.
1313 (avr_pointer_to_address): Likewise.
1314
e9e7f724
TT
13152014-07-24 Tom Tromey <tromey@redhat.com>
1316
1317 * monitor.c (compile_pattern): Update.
1318 * target.h (struct target_ops) <to_shortname, to_longname,
1319 to_doc>: Now const.
1320
1947513d
TT
13212014-07-24 Tom Tromey <tromey@redhat.com>
1322
1323 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1324 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1325 (add_info_alias, add_com): Make "doc" const.
1326 (print_doc_line): Make "str" const.
1327 (delete_cmd): Update.
1328 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1329 (print_doc_line): Update.
1330 * cli/cli-script.c (document_command): Update.
1331 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1332 (add_com, add_info, add_info_alias): Update.
1333 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1334 * python/py-cmd.c (cmdpy_destroyer): Update.
1335
64e61d29
TT
13362014-07-24 Tom Tromey <tromey@redhat.com>
1337
1338 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1339 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1340 (help_cmd_list): Constify.
1341 (lookup_cmd): Update.
1342 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1343 const.
1344 (help_cmd_list, apropos_cmd): Update.
1345 * cli/cli-script.c (show_user): Update.
1346 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1347 * cli/cli-setshow.h (cmd_show_list): Update.
1348 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1349 (cmd_show_list): Update.
1350 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1351 * python/py-cmd.c (cmdpy_destroyer): Update.
1352
429e55ea
TT
13532014-07-24 Tom Tromey <tromey@redhat.com>
1354
1355 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1356 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1357 const.
1358 * command.h (deprecate_cmd): Update.
1359 * maint.c (maintenance_do_deprecate): Add casts.
1360
64669f3b
TT
13612014-07-24 Tom Tromey <tromey@redhat.com>
1362
1363 * cli/cli-decode.c (help_cmd): Make parameter "const".
1364 * cli/cli-decode.h (help_cmd): Update.
1365
d3d3328b
TT
13662014-07-24 Tom Tromey <tromey@redhat.com>
1367
1368 * stack.c (up_silently_base, down_silently_base): Make argument
1369 const.
1370
414842dc
TT
13712014-07-24 Tom Tromey <tromey@redhat.com>
1372
1373 * solib.c (solib_add): Make "pattern" const.
1374 * solib.h (solib_add): Update.
1375
baa336ce
TT
13762014-07-24 Tom Tromey <tromey@redhat.com>
1377
1378 * remote.c (remote_serial_open, print_packet, putpkt)
1379 (putpkt_binary): Constify.
1380 * remote.h (putpkt): Update.
1381
5a19e2d0
TT
13822014-07-24 Tom Tromey <tromey@redhat.com>
1383
1384 * monitor.c (monitor_open): Make "args" const.
1385 * monitor.h (monitor_open): Update.
1386
fc4baa5e
TT
13872014-07-24 Tom Tromey <tromey@redhat.com>
1388
1389 * maint.c (match_bfd_flags): Make "string" const.
1390 (print_bfd_section_info): Remove casts.
1391 (print_objfile_section_info): Make "string" const.
1392
0d5f0dbe
TT
13932014-07-24 Tom Tromey <tromey@redhat.com>
1394
1395 * inf-child.c (inf_child_open_target): Make "arg" const.
1396 * inf-child.h (inf_child_open_target): Update.
1397
41c77899
TT
13982014-07-24 Tom Tromey <tromey@redhat.com>
1399
1400 * environ.c (unset_in_environ): Make "var" const.
1401 * environ.h (unset_in_environ): Update.
1402
93db0d79
TT
14032014-07-24 Tom Tromey <tromey@redhat.com>
1404
1405 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1406 Make "cmd" const.
1407 (scan_filename_with_cleanup): Likewise.
1408 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1409 Make arguments const.
1410 (restore_command): Update.
1411
36d6eb95
PA
14122014-07-24 Pedro Alves <palves@redhat.com>
1413
1414 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1415
8009206a
TT
14162014-07-24 Tom Tromey <tromey@redhat.com>
1417 Gary Benson <gbenson@redhat.com>
1418
1419 * nat/linux-ptrace.c (additional_flags): New global.
1420 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1421 additional_flags; don't check GDBSERVER.
1422 (linux_ptrace_set_additional_flags): New function.
1423 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1424 Declare.
1425 * linux-nat.c (_initialize_linux_nat): Call
1426 linux_ptrace_set_additional_flags.
1427
a7068b60
TT
14282014-07-24 Tom Tromey <tromey@redhat.com>
1429
1430 * make-target-delegates (munge_type, write_debugmethod): New
1431 functions.
1432 (debug_names): New global.
1433 ($TARGET_DEBUG_PRINTER): New global.
1434 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1435 name.
1436 Write debug methods. Generate init_debug_target.
1437 * target-debug.h: New file.
1438 * target-delegates.c: Rebuild.
1439 * target.c: Include target-debug.h.
1440 (debug_target): Hoist definition.
1441 (target_kill, target_get_section_table, target_memory_map)
1442 (target_flash_erase, target_flash_done, target_detach)
1443 (target_disconnect, target_wait, target_resume)
1444 (target_pass_signals, target_program_signals, target_follow_fork)
1445 (target_mourn_inferior, target_search_memory)
1446 (target_thread_address_space, target_close)
1447 (target_find_new_threads, target_core_of_thread)
1448 (target_verify_memory, target_insert_mask_watchpoint)
1449 (target_remove_mask_watchpoint): Remove targetdebug code.
1450 (debug_to_post_attach, debug_to_prepare_to_store)
1451 (debug_to_files_info, debug_to_insert_breakpoint)
1452 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1453 (debug_to_region_ok_for_hw_watchpoint)
1454 (debug_to_can_accel_watchpoint_condition)
1455 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1456 (debug_to_watchpoint_addr_within_range)
1457 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1458 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1459 (debug_to_terminal_init, debug_to_terminal_inferior)
1460 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1461 (debug_to_terminal_save_ours, debug_to_terminal_info)
1462 (debug_to_load, debug_to_post_startup_inferior)
1463 (debug_to_insert_fork_catchpoint)
1464 (debug_to_remove_fork_catchpoint)
1465 (debug_to_insert_vfork_catchpoint)
1466 (debug_to_remove_vfork_catchpoint)
1467 (debug_to_insert_exec_catchpoint)
1468 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1469 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1470 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1471 (setup_target_debug): Call init_debug_target.
1472 * target.h (TARGET_DEBUG_PRINTER): New macro.
1473 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1474 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1475
2c51604d
GB
14762014-07-24 Gary Benson <gbenson@redhat.com>
1477
1478 * exceptions.h (throw_vfatal): Renamed to...
1479 (throw_vquit): New declaration.
1480 (throw_quit): Likewise.
1481 * exceptions.c (throw_vfatal): Renamed to...
1482 (throw_vquit): New function.
1483 (throw_quit): Likewise.
1484 (throw_error): Call throw_verror rather than throw_it.
1485 * utils.h (vfatal): Removed.
1486 (fatal): Likewise.
1487 * utils.c (vfatal): Removed.
1488 (fatal): Likewise.
1489 (internal_verror): Replaced call to fatal with call to throw_quit.
1490 (quit): Replaced calls to fatal with calls to throw_quit.
1491
34211963
ME
14922014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1493
1494 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1495 target_read_code.
1496
a52b4d3e
ME
14972014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1498
1499 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1500 less than zero in conditional expression.
1501
a8bdc56b
TT
15022014-07-23 Tom Tromey <tromey@redhat.com>
1503
1504 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1505 ($INTRO_PART): Don't match whitespace.
1506 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1507 argument matching.
1508 ($METHOD): Add $METHOD_TRAILER.
1509 (trim): Rewrite.
1510 (scan_target_h): New sub.
1511 Change main loop not to collect state.
1512 * target-delegates.c: Rebuild.
1513
91b52240
GB
15142014-07-23 Gary Benson <gbenson@redhat.com>
1515
1516 * cp-support.c (gdb_demangle): Fix build on systems without
1517 sigaltstack.
1518
45326f6f
JK
15192014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1520
1521 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1522 for reference entry value target data value.
1523
e214cf6c
JK
15242014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1525
1526 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1527 value_available_contents_eq.
1528
bddbbedd
PA
15292014-07-22 Pedro Alves <palves@redhat.com>
1530
1531 * value.c (allocate_optimized_out_value): Don't mark value as
1532 non-lazy.
1533
45c71484
JW
15342014-07-22 Jiong Wang <jiong.wang@arm.com>
1535
1536 * MAINTAINERS (Write After Approval): Update my email address.
1537
9597b22a
DE
15382014-07-20 Doug Evans <dje@google.com>
1539
1540 PR server/17147
1541 * remote.c (putpkt_binary): Add text to error message.
1542
91101fe5
YQ
15432014-07-20 Yao Qi <yao@codesourcery.com>
1544
1545 * eval.c: Remove "Chill" from comments.
1546 * gdbtypes.h: Likewise.
1547 * symtab.h: Likewise.
1548
c9402c95
YQ
15492014-07-20 Yao Qi <yao@codesourcery.com>
1550
1551 * std-operator.def: Update comments to TERNOP_SLICE.
1552
ae8fddda
YQ
15532014-07-20 Yao Qi <yao@codesourcery.com>
1554
1555 * std-operator.def: Remove BINOP_RANGE.
1556 * breakpoint.c (watchpoint_exp_is_const): Update.
1557 * expprint.c (dump_subexp_body_standard): Likewise.
1558 * eval.c (init_array_element): Remove dead code.
1559 (evaluate_subexp_standard): Likewise.
1560
9c816640
YQ
15612014-07-20 Yao Qi <yao@codesourcery.com>
1562
1563 * std-operator.def: Remove BINOP_IN.
1564 * breakpoint.c (watchpoint_exp_is_const): Update.
1565 * eval.c (evaluate_subexp_standard): Likewise.
1566 * expprint.c (dump_subexp_body_standard): Likewise.
1567
164224e9
ME
15682014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1569
1570 * microblaze-tdep.c (microblaze_register_names): Add
1571 the rshr and rslr register names.
1572 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1573 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1574 Use of tdesc_numbered_register. Use of
1575 microblaze_register_g_packet_guesses. Use of
1576 tdesc_use_registers. Use of set_gdbarch_register_type.
1577 (microblaze_register_g_packet_guesses): New.
1578 * microblaze-tdep.h (microblaze_reg_num): Add
1579 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1580 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1581 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1582 * features/microblaze-core.xml: New file.
1583 * features/microblaze-stack-protect.xml: New file.
1584 * features/microblaze-with-stack-protect.c: New file.
1585 * features/microblaze-with-stack-protect.xml: New file.
1586 * features/microblaze.xml: New file.
1587 * features/microblaze.c: New file.
1588 * features/Makefile (microblaze-with-stack-protect): Add
1589 microblaze-with-stack-protect microblaze and microblaze-expedite.
1590 * regformats/microblaze-with-stack-protect.dat: New file.
1591 * regformats/microblaze.dat: New file.
1592 * doc/gdb.texinfo (MicroBlaze Features): Added.
1593
e8b2341c
TT
15942014-07-18 Tom Tromey <tromey@redhat.com>
1595
1596 * exec.c (exec_ops): Now static.
1597 * exec.h (exec_ops): Don't declare.
1598
44e89118
TT
15992014-07-18 Tom Tromey <tromey@redhat.com>
1600
1601 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1602 to find_target_beneath.
1603 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1604 find_target_beneath.
1605 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1606
b0ed115f
TT
16072014-07-18 Tom Tromey <tromey@redhat.com>
1608
1609 PR gdb/17130:
1610 * utils.c (quit): Use target_supports_terminal_ours.
1611 * target.h (target_supports_terminal_ours): Declare.
1612 * target.c (target_supports_delete_record): Don't check
1613 to_delete_record against NULL.
1614 (target_supports_terminal_ours): New function.
1615
e75fdfca
TT
16162014-07-18 Tom Tromey <tromey@redhat.com>
1617
1618 PR gdb/17130:
1619 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1620 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1621 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1622 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1623 * windows-nat.c (windows_xfer_partial): Always delegate.
1624 * record-btrace.c (record_btrace_xfer_partial): Simplify
1625 delegation.
1626 (record_btrace_fetch_registers, record_btrace_store_registers)
1627 (record_btrace_prepare_to_store, record_btrace_resume)
1628 (record_btrace_wait, record_btrace_find_new_threads)
1629 (record_btrace_thread_alive): Likewise.
1630 * procfs.c (procfs_xfer_partial): Always delegate.
1631 * corelow.c (core_xfer_partial): Always delegate.
1632 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1633
83814951
TT
16342014-07-18 Tom Tromey <tromey@redhat.com>
1635
1636 * exec.c (exec_make_note_section): Move earlier.
1637
b8b8facf
DE
16382014-07-17 Doug Evans <dje@google.com>
1639
74b49205 1640 PR gdb/17170
b8b8facf
DE
1641 * maint.c (count_symtabs_and_blocks): Handle NULL
1642 current_program_space.
1643 (report_command_stats): Check global enabled flag in addition to
1644 recorded enabled flag.
1645 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1646
69ff6be5
PA
16472014-07-16 Pedro Alves <palves@redhat.com>
1648
1649 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1650
252db1b5
TT
16512014-07-16 Tom Tromey <tromey@redhat.com>
1652
1653 * target.h (struct target_ops) <to_delete_record>: Reformat
1654 comment.
1655
a432721e
TT
16562014-07-16 Tom Tromey <tromey@redhat.com>
1657
1658 * target-delegates.c: Rebuild.
1659
487d9753
PL
16602014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1661
1662 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1663 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1664 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1665 (avr_pointer_to_address): Likewise.
1666 (avr_address_class_type_flags): New function.
1667 (avr_address_class_type_flags_to_name): Likewise.
1668 (avr_address_class_name_to_type_flags): Likewise.
1669 (avr_gdbarch_init): Set address_class_type_flags,
1670 address_class_type_flags_to_name and
1671 address_class_name_to_type_flags.
1672
57745c90
PA
16732014-07-15 Pedro Alves <palves@redhat.com>
1674
1675 * linux-nat.c (kill_callback): Save errno and work with saved
1676 copy.
1677
2d40be18
SM
16782014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1679
1680 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1681
572f6555
EBM
16822014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1683
1684 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1685 breakpoint support correctly.
1686
cc1c52ad
PA
16872014-07-14 Pedro Alves <palves@redhat.com>
1688
1689 * utils.c (prompt_for_continue): Call target_terminal_ours.
1690
1e973570
PA
16912014-07-14 Pedro Alves <palves@redhat.com>
1692
1693 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1694 catch_errors. Don't re-enable stdin or notify observers where,
1695 and rethrow error.
1696 (fetch_inferior_event_wrapper): Delete.
1697
93d6eb10
PA
16982014-07-14 Pedro Alves <palves@redhat.com>
1699
1700 PR gdb/17072
1701 * top.c: Include "inf-loop.h".
1702 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1703 field.
1704 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1705 was async before.
1706 (gdb_readline_wrapper): Store whether the target is async, and
1707 make it sync.
1708
0017922d
PA
17092014-07-14 Pedro Alves <palves@redhat.com>
1710
1711 PR gdb/17072
1712 * top.c (gdb_readline_wrapper_line): Tweak comment.
1713 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1714 the input handler callback.
1715
94696ad3
PA
17162014-07-14 Pedro Alves <palves@redhat.com>
1717
1718 PR gdb/17072
1719 * main.c: Include event-top.h.
1720 (handle_command_errors): New function.
1721 (catch_command_errors, catch_command_errors_const): Use it.
1722
9d1e69a2
PA
17232014-07-14 Pedro Alves <palves@redhat.com>
1724
1725 * exceptions.c (catch_command_errors, catch_command_errors_const):
1726 Moved to main.c.
1727 * exceptions.h (catch_command_errors_ftype)
1728 (catch_command_errors_const_ftype): Moved to main.c.
1729 (catch_command_errors, catch_command_errors_const): Delete
1730 declarations.
1731 * main.c (catch_command_errors_ftype)
1732 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1733 (catch_command_errors, catch_command_errors_const)): Moved here
1734 from exceptions.c and make static.
1735
feefc97b
PA
17362014-07-14 Pedro Alves <palves@redhat.com>
1737
1738 * exceptions.c (print_any_exception): Delete.
1739 (catch_exceptions_with_msg): Use exception_print instead of
1740 print_any_exception.
1741 (catch_errors): Use exception_fprintf instead of
1742 print_any_exception.
1743 (catch_command_errors, catch_command_errors_const): Use
1744 exception_print instead of print_any_exception.
1745
c933f875
PA
17462014-07-14 Pedro Alves <palves@redhat.com>
1747
1748 * infcall.c (run_inferior_call): Set 'sync_execution' while
1749 running the inferior call.
1750
feb6f816
PA
17512014-07-14 Pedro Alves <palves@redhat.com>
1752
1753 * value.c (value_contents_equal): Delete function.
1754 * value.h (value_contents_equal): Delete declaration.
1755
d98b7a16
TT
17562014-07-14 Tom Tromey <tromey@redhat.com>
1757
1758 PR exp/17106:
1759 * gdbtypes.c (is_dynamic_type_internal): New function, from
1760 is_dynamic_type.
1761 (is_dynamic_type): Rewrite.
1762 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1763 (resolve_dynamic_struct): Likewise.
1764 (resolve_dynamic_type_internal): New function, from
1765 resolve_dynamic_type.
1766 (resolve_dynamic_type): Rewrite.
1767
548740d6
TT
17682014-07-14 Tom Tromey <tromey@redhat.com>
1769
1770 * target.c (target_require_runnable): Also check record_stratum.
1771 Update comment.
1772
808f7ab1
YQ
17732014-07-11 Yao Qi <yao@codesourcery.com>
1774
1775 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1776 thumb_instruction_restores_sp return true.
1777
540314bd
YQ
17782014-07-11 Yao Qi <yao@codesourcery.com>
1779
1780 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1781 (thumb_in_function_epilogue_p): Call
1782 thumb_instruction_restores_sp.
1783
1db01f22
YQ
17842014-07-11 Yao Qi <yao@codesourcery.com>
1785
1786 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1787 'add sp, #imm'.
1788 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1789
3116063b
GB
17902014-07-11 Gary Benson <gbenson@redhat.com>
1791
1792 * amd64-linux-nat.c (gdbcore.h): Remove include.
1793 (regset.h): Likewise.
1794 (nat/linux-btrace.h): Likewise.
1795 (btrace.h): Likewise.
1796 (gdb_assert.h): Likewise.
1797 (string.h): Likewise.
1798 (sys/uio.h): Likewise.
1799 (sys/debugreg.h): Likewise.
1800 (sys/syscall.h): Likewise.
1801 (sys/procfs.h): Likewise.
1802 (sys/user.h): Likewise.
1803 (asm/ptrace.h): Likewise.
1804 (i386-nat.h): Likewise.
1805 * i386-linux-nat.c (i386-nat.h): Likewise.
1806 (regset.h): Likewise.
1807 (target.h): Likewise.
1808 (linux-nat.h): Likewise.
1809 (nat/linux-btrace.h): Likewise.
1810 (btrace.h): Likewise.
1811 (gdb_assert.h): Likewise.
1812 (string.h): Likewise.
1813 (sys/uio.h): Likewise.
1814 (sys/user.h): Likewise.
1815 (sys/procfs.h): Likewise.
1816 (sys/reg.h): Likewise.
1817 (sys/debugreg.h): Likewise.
1818 (ORIG_EAX): Remove definition.
1819
040baaf6
GB
18202014-07-11 Gary Benson <gbenson@redhat.com>
1821
1822 * i386-linux-nat.h: New file.
1823 * x86-linux-nat.h: Likewise.
1824 * x86-linux-nat.c: Likewise.
1825 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1826 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1827 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1828 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1829 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1830 (PTRACE_SETREGSET): Likewise.
1831 (arch_lwp_info): Now in x86-linux-nat.c.
1832 (have_ptrace_getregset): Now in x86-linux-nat.h.
1833 (x86_linux_dr_get): Now in x86-linux-nat.c.
1834 (x86_linux_dr_set): Likewise.
1835 (x86_linux_dr_get_addr): Likewise.
1836 (x86_linux_dr_get_control): Likewise.
1837 (x86_linux_dr_get_status): Likewise.
1838 (update_debug_registers_callback): Likewise.
1839 (x86_linux_dr_set_control): Likewise.
1840 (x86_linux_dr_set_addr): Likewise.
1841 (x86_linux_prepare_to_resume): Likewise.
1842 (x86_linux_new_thread): Likewise.
1843 (x86_linux_new_fork): Likewise.
1844 (x86_linux_get_thread_area): Likewise.
1845 (super_post_startup_inferior): Likewise.
1846 (x86_linux_child_post_startup_inferior): Likewise.
1847 (AMD64_LINUX_USER64_CS): Likewise.
1848 (AMD64_LINUX_X32_DS): Likewise.
1849 (x86_linux_read_description): Likewise.
1850 (x86_linux_enable_btrace): Likewise.
1851 (x86_linux_disable_btrace): Likewise.
1852 (x86_linux_teardown_btrace): Likewise.
1853 (x86_linux_read_btrace): Likewise.
1854 (x86_linux_create_target): Likewise.
1855 (x86_linux_add_target): Likewise.
1856 * i386-linux-nat.c (x86-linux-nat.h): New include.
1857 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1858 (PTRACE_SETREGSET): Likewise.
1859 (arch_lwp_info): Now in x86-linux-nat.c.
1860 (have_ptrace_getregset): Now in x86-linux-nat.h.
1861 (x86_linux_dr_get): Now in x86-linux-nat.c.
1862 (x86_linux_dr_set): Likewise.
1863 (x86_linux_dr_get_addr): Likewise.
1864 (x86_linux_dr_get_control): Likewise.
1865 (x86_linux_dr_get_status): Likewise.
1866 (update_debug_registers_callback): Likewise.
1867 (x86_linux_dr_set_control): Likewise.
1868 (x86_linux_dr_set_addr): Likewise.
1869 (x86_linux_prepare_to_resume): Likewise.
1870 (x86_linux_new_thread): Likewise.
1871 (x86_linux_new_fork): Likewise.
1872 (x86_linux_get_thread_area): Likewise.
1873 (super_post_startup_inferior): Likewise.
1874 (x86_linux_child_post_startup_inferior): Likewise.
1875 (AMD64_LINUX_USER64_CS): Likewise.
1876 (AMD64_LINUX_X32_DS): Likewise.
1877 (x86_linux_read_description): Likewise.
1878 (x86_linux_enable_btrace): Likewise.
1879 (x86_linux_disable_btrace): Likewise.
1880 (x86_linux_teardown_btrace): Likewise.
1881 (x86_linux_read_btrace): Likewise.
1882 (x86_linux_create_target): Likewise.
1883 (x86_linux_add_target): Likewise.
1884
1aa7e42c
GB
18852014-07-11 Gary Benson <gbenson@redhat.com>
1886
1887 * amd64-linux-nat.c: Comment and whitespace changes.
1888 * i386-linux-nat.c: Comment and whitespace changes.
1889
c1e246a0
GB
18902014-07-11 Gary Benson <gbenson@redhat.com>
1891
1892 * amd64-linux-nat.c (x86_linux_create_target): New function.
1893 (x86_linux_add_target): Likewise.
1894 (_initialize_amd64_linux_nat): Delegate to the above new functions.
1895 * i386-linux-nat.c (x86_linux_create_target): New function.
1896 (x86_linux_add_target): Likewise.
1897 (_initialize_i386_linux_nat): Delegate to the above new functions.
1898
8c420b8d
GB
18992014-07-11 Gary Benson <gbenson@redhat.com>
1900
1901 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
1902 (ps_get_thread_area): Delegate to the above in 32-bit mode.
1903 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
1904 (ps_get_thread_area): Delegate to the above.
1905
cb1da100
GB
19062014-07-11 Gary Benson <gbenson@redhat.com>
1907
1908 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
1909 x86_linux_read_description. All uses updated. amd64-specific
1910 code conditionalized. Conditionalized i386-specific code added.
1911 Redundant cast removed.
1912 * i386-linux-nat.c (i386_linux_read_description): Renamed to
1913 x86_linux_read_description. All uses updated. i386-specific
1914 code conditionalized. Conditionalized amd64-specific code added.
1915 One sizeof replaced with the actual type it is describing.
1916
2acf3cd0
GB
19172014-07-11 Gary Benson <gbenson@redhat.com>
1918
1919 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
1920 x86_linux_dr_get. All uses updated.
1921 (amd64_linux_dr_set): Renamed to
1922 x86_linux_dr_set. All uses updated.
1923 (amd64_linux_dr_get_addr): Renamed to
1924 x86_linux_dr_get_addr. All uses updated.
1925 (amd64_linux_dr_get_control): Renamed to
1926 x86_linux_dr_get_control. All uses updated.
1927 (amd64_linux_dr_get_status): Renamed to
1928 x86_linux_dr_get_status. All uses updated.
1929 (amd64_linux_dr_set_control): Renamed to
1930 x86_linux_dr_set_control. All uses updated.
1931 (amd64_linux_dr_set_addr): Renamed to
1932 x86_linux_dr_set_addr. All uses updated.
1933 (amd64_linux_prepare_to_resume): Renamed to
1934 x86_linux_prepare_to_resume. All uses updated.
1935 (amd64_linux_new_thread): Renamed to
1936 x86_linux_new_thread. All uses updated.
1937 (amd64_linux_new_fork): Renamed to
1938 x86_linux_new_fork. All uses updated.
1939 (amd64_linux_child_post_startup_inferior): Renamed to
1940 x86_linux_child_post_startup_inferior. All uses updated.
1941 (amd64_linux_enable_btrace): Renamed to
1942 x86_linux_enable_btrace. All uses updated.
1943 (amd64_linux_disable_btrace): Renamed to
1944 x86_linux_disable_btrace. All uses updated.
1945 (amd64_linux_teardown_btrace): Renamed to
1946 x86_linux_teardown_btrace. All uses updated.
1947 (amd64_linux_read_btrace): Renamed to
1948 x86_linux_read_btrace. All uses updated.
1949 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
1950 x86_linux_dr_get. All uses updated.
1951 (i386_linux_dr_set): Renamed to
1952 x86_linux_dr_set. All uses updated.
1953 (i386_linux_dr_get_addr): Renamed to
1954 x86_linux_dr_get_addr. All uses updated.
1955 (i386_linux_dr_get_control): Renamed to
1956 x86_linux_dr_get_control. All uses updated.
1957 (i386_linux_dr_get_status): Renamed to
1958 x86_linux_dr_get_status. All uses updated.
1959 (i386_linux_dr_set_control): Renamed to
1960 x86_linux_dr_set_control. All uses updated.
1961 (i386_linux_dr_set_addr): Renamed to
1962 x86_linux_dr_set_addr. All uses updated.
1963 (i386_linux_prepare_to_resume): Renamed to
1964 x86_linux_prepare_to_resume. All uses updated.
1965 (i386_linux_new_thread): Renamed to
1966 x86_linux_new_thread. All uses updated.
1967 (i386_linux_new_fork): Renamed to
1968 x86_linux_new_fork. All uses updated.
1969 (i386_linux_child_post_startup_inferior): Renamed to
1970 x86_linux_child_post_startup_inferior. All uses updated.
1971 (i386_linux_enable_btrace): Renamed to
1972 x86_linux_enable_btrace. All uses updated.
1973 (i386_linux_disable_btrace): Renamed to
1974 x86_linux_disable_btrace. All uses updated.
1975 (i386_linux_teardown_btrace): Renamed to
1976 x86_linux_teardown_btrace. All uses updated.
1977 (i386_linux_read_btrace): Renamed to
1978 x86_linux_read_btrace. All uses updated.
1979
b9c1d481
AS
19802014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1981
1982 * remote.c (extended_remote_post_attach): New function.
1983 (init_extended_remote_ops): Install it as to_post_attach method.
1984
7180e04a
PA
19852014-07-09 Pedro Alves <palves@redhat.com>
1986
1987 * infcmd.c (attach_command_post_wait): Don't call
1988 target_terminal_inferior here.
1989 (attach_command): Call it here instead.
1990
9a9a7608
AB
19912014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1992
1993 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
1994 field.
1995 * c-varobj.c (c_is_path_expr_parent): New function, moved core
1996 from varobj.c, with additional checks.
1997 (c_varobj_ops): Fill in is_path_expr_parent field.
1998 (cplus_varobj_ops): Fill in is_path_expr_parent field.
1999 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2000 field.
2001 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2002 ops method.
2003 (varobj_default_is_path_expr_parent): New function.
2004 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2005 (varobj_default_is_path_expr_parent): Declare new function.
2006
1f267ae3
MM
20072014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2008
2009 * infcmd.c (finish_backward): Turn internal error into normal error.
2010
b2ee242b
PA
20112014-07-07 Pedro Alves <palves@redhat.com>
2012
8a869bca 2013 PR gdb/17096
b2ee242b
PA
2014 * remote.c (async_handle_remote_sigint)
2015 (async_handle_remote_sigint_twice): Call
2016 gdb_call_async_signal_handler instead of
2017 mark_async_signal_handler.
2018
38e229b2
TT
20192014-07-07 Tom Tromey <tromey@redhat.com>
2020
2021 * target-delegates.c: Rebuild.
2022 * target.c (target_info_record): Remove.
2023 * record.c (info_record_command): Unconditionally call
2024 to_info_record.
2025 * target.h (struct target_ops) <to_info_record>: Use
2026 TARGET_DEFAULT_IGNORE.
2027 (target_info_record): Remove.
2028
f0f9ff95
TT
20292014-07-07 Tom Tromey <tromey@redhat.com>
2030
2031 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2032 TARGET_DEFAULT_NORETURN.
2033 * target.c (generic_tls_error): New function.
2034 (target_translate_tls_address): Don't search target stack.
2035 * target-delegates.c: Rebuild.
2036 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2037 stack.
2038 * linux-thread-db.c (thread_db_get_thread_local_address):
2039 Unconditionally call beneath target.
2040
4a5be5ee
MK
20412014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2042
2043 * cli/cli-logging.c (pop_output_files): Assign targerr to
2044 gdb_stdtargerr.
2045
92c3b204
AB
20462014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2047
2048 * MAINTAINERS (Write After Approval): Update my email address.
2049
9b11e3a7
GB
20502014-07-02 Gary Benson <gbenson@redhat.com>
2051
2052 * proc-service.c (ps_xfer_memory): Update comment.
2053 (ps_pstop): Remove unused function.
2054 (ps_pcontinue): Likewise.
2055 (ps_lstop): Likewise.
2056 (ps_lcontinue): Likewise.
2057 (ps_lgetxregsize): Likewise.
2058 (ps_lgetxregs): Likewise.
2059 (ps_lsetxregs): Likewise.
2060 (ps_plog): Likewise.
2061 (ps_ptread): Likewise.
2062 (ps_ptwrite): Likewise.
2063
cf363f18
MW
20642014-07-01 Mark Wielaard <mjw@redhat.com>
2065
2066 * dwarf2read.c (add_array_cv_type): New function.
2067 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2068 (read_tag_volatile_type): Likewise.
2069
82ae6c8d
TT
20702014-07-01 Tom Tromey <tromey@redhat.com>
2071
2072 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2073 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2074 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2075 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2076 * command.h (cmd_cfunc_ftype): Move earlier.
2077 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2078 (add_com, add_info): Use cmd_cfunc_ftype.
2079
96142726
TT
20802014-06-30 Tom Tromey <tromey@redhat.com>
2081
2082 * symtab.c (operator_chars): Make parameters and return type
2083 const.
2084 (file_matches): Make "files" const.
2085 (struct search_symbols_data) <files>: Now const.
2086 (search_symbols): Make "regexp" and "files" parameters const.
2087 Update.
2088 (symtab_symbol_info): Remove cast.
2089 (rbreak_command): Update.
2090 * symtab.h (search_symbols): Update.
2091
b67a2c6f
YQ
20922014-06-27 Yao Qi <yao@codesourcery.com>
2093
2094 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2095 Change parameter type to 'struct thread_info *'. Caller
2096 updated.
2097 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2098 Update declaration.
2099 * dummy-frame.c (struct dummy_frame_id): New.
2100 (dummy_frame_id_eq): New function.
2101 (struct dummy_frame) <id>: Change its type to 'struct
2102 dummy_frame_id'.
2103 (dummy_frame_push): Add parameter ptid and save it in
2104 dummy_frame_id.
2105 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2106 inferior_ptid.
2107 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2108 to inferior_ptid.
2109 (lookup_dummy_frame): Change parameter type to 'struct
2110 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2111 instead of frame_id_eq.
2112 (dummy_frame_pop): Add parameter ptid. Callers updated.
2113 Update comments. Compose dummy_frame_id and pass it to
2114 lookup_dummy_frame.
2115 (dummy_frame_discard): Add parameter ptid.
2116 (dummy_frame_sniffer): Compose dummy_frame_id and call
2117 dummy_frame_id_eq instead of frame_id_eq.
2118 (fprint_dummy_frames): Print ptid.
2119 * dummy-frame.h: Remove comments.
2120 (dummy_frame_push): Add ptid in declaration.
2121 (dummy_frame_pop, dummy_frame_discard): Likewise.
2122
5b10184c
TT
21232014-06-26 Tom Tromey <tromey@redhat.com>
2124
2125 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2126 * command.h (error_no_arg): Update.
2127
06900326
TT
21282014-06-26 Tom Tromey <tromey@redhat.com>
2129
2130 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2131 (do_show_command): Make "arg" const.
2132 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2133
c2bcbb1d
TT
21342014-06-26 Tom Tromey <tromey@redhat.com>
2135
2136 * record-full.c (record_full_get_bookmark): Make "args" const.
2137 (record_full_goto_bookmark): Make "raw_bookmark" const.
2138 * record.c (record_goto): New function.
2139 (cmd_record_goto): Use it. Now static.
2140 * record.h (record_goto): Declare.
2141 (cmd_record_goto): Remove declaration.
2142 * target-delegates.c: Rebuild.
2143 * target.h (struct target_ops) <to_get_bookmark,
2144 to_goto_bookmark>: Make parameter const.
2145
9cbe5fff
TT
21462014-06-26 Tom Tromey <tromey@redhat.com>
2147
2148 * defs.h (generic_load): Update.
2149 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2150 * monitor.c (monitor_load): Make "args" const.
2151 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2152 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2153 const.
2154 (mips_load): Make "file" const.
2155 * remote-sim.c (gdbsim_load): Make "args" const.
2156 * remote.c (remote_load): Make "name" const.
2157 * symfile.c (generic_load): Make "args" const.
2158 * target-delegates.c: Rebuild.
2159 * target.c (target_load): Make "arg" const.
2160 (debug_to_load): Make "args" const.
2161 * target.h (struct target_ops) <to_load>: Make parameter const.
2162 (target_load): Update.
2163
34a68019
TT
21642014-06-26 Tom Tromey <tromey@redhat.com>
2165
2166 PR symtab/16902:
2167 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2168 (dwarf2_physname, read_partial_die)
2169 (guess_partial_die_structure_name, fixup_partial_die)
2170 (guess_full_die_structure_name, anonymous_struct_prefix)
2171 (dwarf2_name): Use per-BFD obstack.
2172
efc889c1
YQ
21732014-06-26 Yao Qi <yao@codesourcery.com>
2174
2175 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2176 dummyframe and this_id into inner block below.
2177
4395285e
YQ
21782014-06-26 Yao Qi <yao@codesourcery.com>
2179
2180 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2181 with "signal_pass[0]" in the initialization of signal_pass.
2182
aef92902
MM
21832014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2184
2185 * record-btrace.c (record_btrace_generating_corefile)
2186 (record_btrace_prepare_to_generate_core)
2187 (record_btrace_done_generating_core): New.
2188 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2189 (record_btrace_store_registers, record_btrace_prepare_to_store):
2190 Forward request when generating a core file.
2191 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2192 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2193 to_done_generating_core.
2194
5fff78c4
MM
21952014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2196
2197 * target.h (target_ops) <to_prepare_to_generate_core>
2198 <to_done_generating_core>: New.
2199 (target_prepare_to_generate_core, target_done_generating_core): New.
2200 * target.c (target_prepare_to_generate_core)
2201 (target_done_generating_core): New.
2202 * target-delegates.c: Regenerate.
2203 * gcore.c: (write_gcore_file): Rename to ...
2204 (write_gcore_file_1): ...this.
2205 (write_gcore_file): Call target_prepare_to_generate_core
2206 and target_done_generating_core.
2207
1d1f1ccb
MM
22082014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2209
2210 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2211 * gcore.c (write_gcore_file): Free memory returned from
2212 make_corefile_notes.
2213 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2214 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2215
3343ef86
YQ
22162014-06-24 Yao Qi <yao@codesourcery.com>
2217
2218 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2219 (arm_linux_init_abi): Set skip_trampoline_code with
2220 gdbarch_skip_trampoline_code instead of
2221 find_solib_trampoline_target.
2222
18d18ac8
YQ
22232014-06-24 Yao Qi <yao@codesourcery.com>
2224
2225 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2226 arm_skip_bx_reg returns non-zero.
2227
80d8d390
YQ
22282014-06-24 Yao Qi <yao@codesourcery.com>
2229
2230 * arm-tdep.c (arm_skip_bx_reg): New function.
2231 (arm_skip_stub): Call arm_skip_bx_reg.
2232
6a18a01c
DB
22332014-06-23 Don Breazeal <donb@codesourcery.com>
2234
2235 * MAINTAINERS: Add myself as write-after-approval maintainer.
2236
8e9db26e
PA
22372014-06-23 Pedro Alves <palves@redhat.com>
2238
2239 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2240 DR_CONTROL before setting DR0..DR3.
2241 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2242 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2243 bits of DR_CONTROL related to the debug register slot being
2244 disabled. If all slots are vacant, clear local slowdown as well,
2245 and assert DR_CONTROL is 0.
2246
70afc5b7
SC
22472014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2248
2249 * python/lib/gdb/command/xmethods.py
2250 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2251 current progspace only if the string "progspace" matches LOCUS_RE.
2252
840ed64d
JK
22532014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2254
2255 Fix --with-system-readline with readline-6.3 patch 5.
2256 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2257 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2258 types.
2259
26f2dc30
TT
22602014-06-20 Tom Tromey <tromey@redhat.com>
2261
2262 * dwarf2read.c (dw2_get_real_path): Use correct type in
2263 OBSTACK_CALLOC.
2264 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2265
125f8a3d
GB
22662014-06-20 Gary Benson <gbenson@redhat.com>
2267
2268 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2269 * common/glibc_thread_db.h: Likewise.
2270 * common/i386-cpuid.h: Likewise.
2271 * common/i386-gcc-cpuid.h: Likewise.
2272 * common/linux-btrace.h: Likewise.
2273 * common/linux-osdata.h: Likewise.
2274 * common/linux-procfs.h: Likewise.
2275 * common/linux-ptrace.h: Likewise.
2276 * common/mips-linux-watch.h: Likewise.
2277 * common/linux-btrace.c: Moved to nat.
2278 * common/linux-osdata.c: Likewise.
2279 * common/linux-procfs.c: Likewise.
2280 * common/linux-ptrace.c: Likewise.
2281 * common/mips-linux-watch.c: Likewise.
2282 * nat/gdb_thread_db.h: Moved from common.
2283 * nat/glibc_thread_db.h: Likewise.
2284 * nat/i386-cpuid.h: Likewise.
2285 * nat/i386-gcc-cpuid.h: Likewise.
2286 * nat/linux-btrace.c: Likewise.
2287 * nat/linux-btrace.h: Likewise.
2288 * nat/linux-osdata.c: Likewise.
2289 * nat/linux-osdata.h: Likewise.
2290 * nat/linux-procfs.c: Likewise.
2291 * nat/linux-procfs.h: Likewise.
2292 * nat/linux-ptrace.c: Likewise.
2293 * nat/linux-ptrace.h: Likewise.
2294 * nat/mips-linux-watch.c: Likewise.
2295 * nat/mips-linux-watch.h: Likewise.
2296 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2297 (object file files): Reordered.
2298 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2299 of glibc_thread_db.h.
2300
42995dbd
GB
23012014-06-20 Gary Benson <gbenson@redhat.com>
2302
2303 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2304 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2305 (i386_dr_low): Likewise.
2306 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2307 (i386_dr_low_set_addr): Likewise.
2308 (i386_dr_low_get_addr): Likewise.
2309 (i386_dr_low_can_set_control): Likewise.
2310 (i386_dr_low_set_control): Likewise.
2311 (i386_dr_low_get_control): Likewise.
2312 (i386_dr_low_get_status): Likewise.
2313 (i386_get_debug_register_length): Likewise.
2314 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2315 (i386_dr_low): Likewise.
2316 * nat/i386-dregs.c (i386-low.h): Remove include.
2317 (i386-nat.h): Likewise.
2318 (nat/i386-dregs.h): New include.
2319 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2320 (i386_dr_low_set_addr): Likewise.
2321 (i386_dr_low_get_addr): Likewise.
2322 (i386_dr_low_can_set_control): Likewise.
2323 (i386_dr_low_set_control): Likewise.
2324 (i386_dr_low_get_control): Likewise.
2325 (i386_dr_low_get_status): Likewise.
2326 (i386_get_debug_register_length): Likewise.
2327 (debug_hw_points): Likewise.
2328
3ed9baed
IB
23292014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2330
2331 * Makefile.in (SFILES): Add d-exp.y.
2332 (YYFILES): Add d-exp.c.
2333 (YYOBJ): Add d-exp.o.
2334 (local-maintainer-clean): Delete d-exp.c.
2335 * d-exp.y: New file.
2336 * d-lang.h (d_parse): New declaration.
2337 (d_error): New declaration.
2338 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2339 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2340 PREC_ORDER operators.
2341 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2342
78c164b0
YQ
23432014-06-19 Yao Qi <yao@codesourcery.com>
2344
2345 * gdbthread.h (any_running): Remove the declaration.
2346 * thread.c (any_running): Remove.
2347
f6e29b6e
YQ
23482014-06-19 Yao Qi <yao@codesourcery.com>
2349
2350 * gdbthread.h (struct thread_info) <state>: Change its type to
2351 'enum thread_state'. Update comments.
2352
034f788c
PA
23532014-06-19 Pedro Alves <palves@redhat.com>
2354
2355 * gdbthread.h (ALL_THREADS): Delete.
2356 (ALL_NON_EXITED_THREADS): New macro.
2357 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2358 instead of ALL_THREADS.
2359 * infrun.c (find_thread_needs_step_over)
2360 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2361 instead of ALL_THREADS.
2362 * record-btrace.c (record_btrace_open)
2363 (record_btrace_stop_recording, record_btrace_close)
2364 (record_btrace_is_replaying, record_btrace_resume)
2365 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2366 * remote.c (append_pending_thread_resumptions): Likewise.
2367 * thread.c (thread_apply_all_command): Likewise.
2368
46e33252
GB
23692014-06-19 Gary Benson <gbenson@redhat.com>
2370
2371 * i386-nat.c (i386_stopped_by_watchpoint):
2372 Use i386_dr_stopped_by_watchpoint.
2373 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2374 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2375
3a8ee006
GB
23762014-06-19 Gary Benson <gbenson@redhat.com>
2377
2378 * nat/i386-dregs.c: New file.
2379 * Makefile.in (i386-dregs.o): New rule.
2380 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2381 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2382 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2383 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2384 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2385 * config/i386/go32.mh (NATDEPFILES): Likewise.
2386 * config/i386/linux.mh (NATDEPFILES): Likewise.
2387 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2388 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2389 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2390 * i386-nat.h (debug_hw_points): New declaration.
2391 * i386-nat.c (breakpoint.h): Remove include.
2392 (command.h): Likewise.
2393 (target.h): Likewise.
2394 (gdb_assert.h): Likewise.
2395 (debug_hw_points): Made nonstatic.
2396 (debug_printf): Now in i386-dregs.c.
2397 (TARGET_HAS_DR_LEN_8): Likewise.
2398 (DR_CONTROL_SHIFT): Likewise.
2399 (DR_CONTROL_SIZE): Likewise.
2400 (DR_RW_EXECUTE): Likewise.
2401 (DR_RW_WRITE): Likewise.
2402 (DR_RW_READ): Likewise.
2403 (DR_RW_IORW): Likewise.
2404 (DR_LEN_1): Likewise.
2405 (DR_LEN_2): Likewise.
2406 (DR_LEN_4): Likewise.
2407 (DR_LEN_8): Likewise.
2408 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2409 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2410 (DR_ENABLE_SIZE): Likewise.
2411 (DR_LOCAL_SLOWDOWN): Likewise.
2412 (DR_GLOBAL_SLOWDOWN): Likewise.
2413 (DR_CONTROL_RESERVED): Likewise.
2414 (I386_DR_CONTROL_MASK): Likewise.
2415 (I386_DR_VACANT): Likewise.
2416 (I386_DR_LOCAL_ENABLE): Likewise.
2417 (I386_DR_GLOBAL_ENABLE): Likewise.
2418 (I386_DR_DISABLE): Likewise.
2419 (I386_DR_SET_RW_LEN): Likewise.
2420 (I386_DR_GET_RW_LEN): Likewise.
2421 (I386_DR_WATCH_HIT): Likewise.
2422 (i386_wp_op_t): Likewise.
2423 (i386_show_dr): Likewise.
2424 (i386_length_and_rw_bits): Likewise.
2425 (i386_insert_aligned_watchpoint): Likewise.
2426 (i386_remove_aligned_watchpoint): Likewise.
2427 (i386_handle_nonaligned_watchpoint): Likewise.
2428 (i386_update_inferior_debug_regs): Likewise.
2429 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2430 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2431 (i386_region_ok_for_watchpoint):
2432 Use i386_dr_region_ok_for_watchpoint.
2433 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2434
322a8e06
GB
24352014-06-19 Gary Benson <gbenson@redhat.com>
2436
2437 * i386-nat.c (i386_insert_hw_breakpoint): Use
2438 i386_insert_watchpoint.
2439 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2440
8f26655c
GB
24412014-06-19 Gary Benson <gbenson@redhat.com>
2442
2443 * i386-nat.c (i386_dr_show): Renamed to
2444 i386_show_dr and made static. All uses updated.
2445 (i386_dr_length_and_rw_bits): Renamed to
2446 i386_length_and_rw_bits and made static.
2447 All uses updated.
2448 (i386_dr_insert_aligned_watchpoint): Renamed to
2449 i386_insert_aligned_watchpoint and made static.
2450 All uses updated.
2451 (i386_dr_remove_aligned_watchpoint): Renamed to
2452 i386_remove_aligned_watchpoint and made static.
2453 All uses updated.
2454 (i386_dr_update_inferior_debug_regs): Renamed to
2455 i386_update_inferior_debug_regs and made static.
2456 All uses updated.
2457 * nat/i386-dregs.h (i386_dr_show): Removed.
2458 (i386_dr_length_and_rw_bits): Likewise.
2459 (i386_dr_insert_aligned_watchpoint): Likewise.
2460 (i386_dr_remove_aligned_watchpoint): Likewise.
2461 (i386_dr_update_inferior_debug_regs): Likewise.
2462
992c7d70
GB
24632014-06-19 Gary Benson <gbenson@redhat.com>
2464
2465 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2466 * configure: Regenerate.
2467 * config.in: Likewise.
2468 * main.c (signal.h): New include.
2469 (setup_alternate_signal_stack): New function.
2470 (captured_main): Call the above.
2471 * cp-support.c (signal.h): New include.
2472 (catch_demangler_crashes): New flag.
2473 (SIGJMP_BUF): New define.
2474 (SIGSETJMP): Likewise.
2475 (SIGLONGJMP): Likewise.
2476 (gdb_demangle_jmp_buf): New static global.
2477 (gdb_demangle_attempt_core_dump): Likewise.
2478 (gdb_demangle_signal_handler): New function.
2479 (gdb_demangle): If catch_demangler_crashes is set, install the
2480 above signal handler before calling bfd_demangle, and restore
2481 the original signal handler afterwards. Display the offending
2482 symbol and call demangler_warning the first time a segmentation
2483 fault is caught.
2484 (_initialize_cp_support): New maint set/show command.
2485
eae7090b
GB
24862014-06-19 Gary Benson <gbenson@redhat.com>
2487
2488 * utils.h (resource_limit_kind): New enum.
2489 (can_dump_core): New declaration.
2490 (warn_cant_dump_core): Likewise.
2491 (dump_core): Likewise.
2492 * utils.c (dump_core): Made nonstatic. Added new
2493 parameter "limit_kind".
2494 (can_dump_core): Made nonstatic. Moved printing code to...
2495 (warn_cant_dump_core): New function.
2496 (can_dump_core_warn): Likewise.
2497 (internal_vproblem): Replace calls to can_dump_core with
2498 calls to can_dump_core_warn. Supply new argument to each.
2499
57fcfb1b
GB
25002014-06-19 Gary Benson <gbenson@redhat.com>
2501
2502 * utils.h (demangler_vwarning): New declaration.
2503 (demangler_warning): Likewise.
2504 * utils.c (struct internal_problem)
2505 <user_settable_should_quit>: New field.
2506 <user_settable_should_dump_core>: Likewise
2507 (internal_error_problem): Add values for above new fields.
2508 (internal_warning_problem): Likewise.
2509 (demangler_warning_problem): New static global.
2510 (demangler_vwarning): New function.
2511 (demangler_warning): Likewise.
2512 (add_internal_problem_command): Selectively add commands.
2513 (_initialize_utils): New internal problem command.
2514 * maint.c (maintenance_demangler_warning): New function.
2515 (_initialize_maint_cmds): New command.
2516
17a40b44
TT
25172014-06-18 Tom Tromey <tromey@redhat.com>
2518
2519 * f-valprint.c (info_common_command_for_block): Update.
2520 * symtab.h (struct general_symbol_info) <common_block>: Now
2521 const.
2522
346d1dfe
TT
25232014-06-18 Tom Tromey <tromey@redhat.com>
2524
2525 * symtab.h (struct symtab) <blockvector>: Now const.
2526 * ada-lang.c (ada_add_global_exceptions): Update.
2527 * buildsym.c (augment_type_symtab): Update.
2528 * dwarf2read.c (dw2_lookup_symbol): Update.
2529 * jit.c (finalize_symtab): Update.
2530 * jv-lang.c (add_class_symtab_symbol): Update.
2531 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2532 Update.
2533 * objfiles.c (objfile_relocate1): Update.
2534 * psymtab.c (lookup_symbol_aux_psymtabs)
2535 (maintenance_check_psymtabs): Update.
2536 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2537 Update.
2538 * spu-tdep.c (spu_catch_start): Update.
2539 * symmisc.c (dump_symtab_1): Update.
2540 * symtab.c (lookup_global_symbol_from_objfile)
2541 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2542 (basic_lookup_transparent_type_quick)
2543 (basic_lookup_transparent_type, find_pc_sect_symtab)
2544 (find_pc_sect_line, search_symbols): Update.
2545 * block.c (find_block_in_blockvector): Make "bl" const.
2546 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2547 const.
2548 (blockvector_contains_pc): Make "bv" const.
2549 (block_for_pc_sect): Update.
2550 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2551 (blockvector_contains_pc): Update.
2552 * breakpoint.c (resolve_sal_pc): Update.
2553 * inline-frame.c (block_starting_point_at): Update.
2554
1834676b
TT
25552014-06-18 Tom Tromey <tromey@redhat.com>
2556
2557 * completer.c (complete_line): Make "line_buffer" const.
2558 * completer.h (complete_line): Update.
2559
ac1a991b
TT
25602014-06-18 Tom Tromey <tromey@redhat.com>
2561
2562 * symtab.c (add_macro_name): Remove unneeded cast.
2563
5bc98e52
TT
25642014-06-18 Tom Tromey <tromey@redhat.com>
2565
2566 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2567 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2568
8236def8
TT
25692014-06-18 Tom Tromey <tromey@redhat.com>
2570
2571 * probe.c (info_probes_for_ops): Make "arg" const.
2572 * probe.h (info_probes_for_ops): Update.
2573
3977b71f
TT
25742014-06-18 Tom Tromey <tromey@redhat.com>
2575
2576 * varobj.c (varobj_create): Update.
2577 * valops.c (value_of_this): Update.
2578 * tracepoint.c (add_local_symbols, scope_info): Update.
2579 * symtab.h (struct general_symbol_info) <block>: Now const.
2580 * symtab.c (skip_prologue_sal)
2581 (default_make_symbol_completion_list_break_on)
2582 (skip_prologue_using_sal): Update.
2583 * stack.h (iterate_over_block_locals)
2584 (iterate_over_block_local_vars): Update.
2585 * stack.c (print_frame_args): Update.
2586 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2587 parameter const.
2588 (get_selected_block): Make return type const.
2589 * python/py-frame.c (frapy_block): Update.
2590 * python/py-block.c (gdbpy_block_for_pc): Update.
2591 * p-exp.y (%union) <bval>: Now const.
2592 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2593 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2594 * m2-exp.y (%union) <bval>: Now const.
2595 * linespec.c (get_current_search_block): Make return type const.
2596 (create_sals_line_offset, find_label_symbols): Update.
2597 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2598 Update.
2599 (block_starting_point_at): Make "block" const.
2600 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2601 (check_exception_resume): Update.
2602 * guile/scm-frame.c (gdbscm_frame_block): Update.
2603 * guile/scm-block.c (gdbscm_lookup_block): Update.
2604 * frame.h (get_frame_block): Update.
2605 (get_selected_block): Make return type const.
2606 * frame.c (frame_id_inner): Update.
2607 * f-valprint.c (info_common_command_for_block)
2608 (info_common_command): Update.
2609 * dwarf2loc.c (dwarf2_find_location_expression)
2610 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2611 (locexpr_describe_location_piece): Update.
2612 * c-exp.y (%union) <bval>: Now const.
2613 * breakpoint.c (resolve_sal_pc): Update.
2614 * blockframe.c (get_frame_block):Make return type const.
2615 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2616 (block_innermost_frame): Update.
2617 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2618 (block_for_pc, block_for_pc_sect): Update.
2619 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2620 'pblock' const.
2621 (block_for_pc_sect, block_for_pc): Make return type const.
2622 * ax-gdb.c (gen_expr): Update.
2623 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2624 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2625 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2626 (ada_read_var_value): Update.
2627 * ada-exp.y (struct name_info) <block>: Now const.
2628 (%union): Likewise.
2629 (block_lookup): Constify.
2630
b9228891
GB
26312014-06-18 Gary Benson <gbenson@redhat.com>
2632
2633 * nat/i386-dregs.h: New file.
2634 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2635 * i386-nat.h (i386-dregs.h): New include.
2636 (DR_FIRSTADDR): Now in i386-dregs.h.
2637 (DR_LASTADDR): Likewise.
2638 (DR_NADDR): Likewise.
2639 (DR_STATUS): Likewise.
2640 (DR_CONTROL): Likewise.
2641 (i386_debug_reg_state): Likewise.
2642 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2643
a1aa2221
LM
26442014-06-18 Don Breazeal <donb@codesourcery.com>
2645
2646 * breakpoint.c (set_longjmp_breakpoint): Call
2647 momentary_breakpoint_from_master with additional argument.
2648 (set_longjmp_breakpoint_for_call_dummy): Call
2649 momentary_breakpoint_from_master with additional argument.
2650 (set_std_terminate_breakpoint): Call
2651 momentary_breakpoint_from_master with additional argument.
2652 (momentary_breakpoint_from_master): Add argument to function
2653 definition and use it to initialize structure member flag.
74228e77 2654 (clone_momentary_breakpoint): Call
a1aa2221
LM
2655 momentary_breakpoint_from_master with additional argument.
2656 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2657 member flags set in momentary_breakpoint_from_master.
2658
4be83cc2
GB
26592014-06-18 Gary Benson <gbenson@redhat.com>
2660
2661 * i386-nat.c (i386_show_dr): Renamed to
2662 i386_dr_show and made nonstatic. All uses updated.
2663 (i386_length_and_rw_bits): Renamed to
2664 i386_dr_length_and_rw_bits and made nonstatic.
2665 All uses updated.
2666 (i386_insert_aligned_watchpoint): Renamed to
2667 i386_dr_insert_aligned_watchpoint and made nonstatic.
2668 All uses updated.
2669 (i386_remove_aligned_watchpoint): Renamed to
2670 i386_dr_remove_aligned_watchpoint and made nonstatic.
2671 All uses updated.
2672 (i386_update_inferior_debug_regs): Renamed to
2673 i386_dr_update_inferior_debug_regs and made nonstatic.
2674 All uses updated.
2675
131aa0d4
GB
26762014-06-18 Gary Benson <gbenson@redhat.com>
2677
2678 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2679 (i386_dr_low_can_set_control): Likewise.
2680 (i386_dr_low_set_addr): Likewise.
2681 (i386_dr_low_set_control): Likewise.
2682 (i386_dr_low_get_addr): Likewise.
2683 (i386_dr_low_get_status): Likewise.
2684 (i386_dr_low_get_control): Likewise.
2685 (i386_insert_aligned_watchpoint): Use new macros.
2686 (i386_update_inferior_debug_regs): Likewise.
2687 (i386_stopped_data_address): Likewise.
2688
d9305f7f
GB
26892014-06-18 Gary Benson <gbenson@redhat.com>
2690
2691 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2692 New parameter. All uses updated.
2693
ea008da4
GB
26942014-06-18 Gary Benson <gbenson@redhat.com>
2695
2696 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2697 All uses updated.
2698
1b6d4134
GB
26992014-06-18 Gary Benson <gbenson@redhat.com>
2700
2701 * i386-nat.c (debug_printf): New macro.
2702 (i386_get_debug_register_length): Likewise.
2703 (TARGET_HAS_DR_LEN_8): Use above macro.
2704 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2705 and printf_unfiltered. Use phex to format values.
2706
9b4550ef
GB
27072014-06-18 Gary Benson <gbenson@redhat.com>
2708
2709 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2710 Make const.
2711
6e62758f
GB
27122014-06-18 Gary Benson <gbenson@redhat.com>
2713
2714 * i386-nat.c: Comment changes.
2715
51c79e94
GB
27162014-06-18 Gary Benson <gbenson@redhat.com>
2717
2718 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2719
3e11889a
GB
27202014-06-18 Gary Benson <gbenson@redhat.com>
2721
2722 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2723 (i386_insert_aligned_watchpoint): Likewise.
2724 (i386_remove_aligned_watchpoint): Likewise.
2725 (i386_handle_nonaligned_watchpoint): Likewise.
2726
fc6e2f03
GB
27272014-06-18 Gary Benson <gbenson@redhat.com>
2728
2729 * i386-nat.c: Whitespace changes.
2730
2afe7d50
SB
27312014-06-17 Samuel Bronson <naesten@gmail.com>
2732
2733 * MAINTAINERS: Update Roland McGrath's email address.
2734 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 2735 Red Hat a while ago, and giving me a current address.
2afe7d50 2736
3bca49ee
TT
27372014-06-17 Tom Tromey <tromey@redhat.com>
2738
2739 * utils.h (savestring): Remove declaration.
2740
6e366df1
TT
27412014-06-17 Tom Tromey <tromey@redhat.com>
2742
2743 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2744
6be47f0c
KS
27452014-06-16 Keith Seitz <keiths@redhat.com>
2746
2747 PR mi/15863
2748 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2749 to update the varobj if inferior_ptid is null_ptid.
2750
7bc112c1
TT
27512014-06-16 Tom Tromey <tromey@redhat.com>
2752
2753 * target.h (struct target_ops) <to_info_proc>: Make parameter
2754 const.
2755 (target_info_proc): Update.
2756 * target.c (target_info_proc): Make "args" const.
2757 * procfs.c (procfs_info_proc): Update.
2758 * linux-tdep.c (linux_info_proc): Update.
2759 (linux_core_info_proc_mappings): Make "args" const.
2760 (linux_core_info_proc): Update.
2761 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2762 * gdbarch.c: Rebuild.
2763 * gdbarch.h: Rebuild.
2764 * corelow.c (core_info_proc): Update.
2765
fee354ee
TT
27662014-06-16 Tom Tromey <tromey@redhat.com>
2767
2768 * target.h (struct target_ops) <to_disconnect>: Make parameter
2769 const.
2770 (target_disconnect): Update.
2771 * target.c (target_disconnect): Make "args" const.
2772 * target-delegates.c: Rebuild.
2773 * remote.c (remote_disconnect): Update.
2774 * record.h (record_disconnect): Update.
2775 * record.c (record_disconnect): Update.
2776 * inf-child.c (inf_child_disconnect): Update.
2777
a30bf1f1
TT
27782014-06-16 Tom Tromey <tromey@redhat.com>
2779
2780 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2781 * target.c (debug_to_rcmd, default_rcmd): Update.
2782 * target-delegates.c: Rebuild.
2783 * remote.c (remote_rcmd): Update.
2784 * monitor.c (monitor_rcmd): Update.
2785
d03de421
PA
27862014-06-16 Pedro Alves <palves@redhat.com>
2787
2788 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2789 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2790 have OBJF_SHARED set.
2791 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2792 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2793 instead of OBJF_USERLOADED.
2794 * objfiles.h (OBJF_SHARED): Update comment.
2795 (userloaded_objfile_contains_address_p): Rename to ...
2796 (shared_objfile_contains_address_p): ... this, and update
2797 comments.
2798 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2799 new objfile.
2800 (remove_symbol_file_command): Skip objfiles that don't have
2801 OBJF_SHARED set.
2802
99f4262f
TT
28032014-06-16 Tom Tromey <tromey@redhat.com>
2804
2805 * minsyms.h (prim_record_minimal_symbol)
2806 (prim_record_minimal_symbol_and_info): Update comments.
2807
97d66cc6
EZ
28082014-06-14 Eli Zaretskii <eliz@gnu.org>
2809
2810 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2811 or --without-guile, according to how GDB was built.
2812
635c7e8a
TT
28132014-06-13 Tom Tromey <tromey@redhat.com>
2814
2815 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2816 to help_list.
2817 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2818 to help_list.
2819 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2820 help_list.
2821 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2822 help_list.Pass all_commands, not -1, to help_list.
2823 * cli/cli-dump.c (dump_command, append_command)
2824 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2825 (binary_dump_command, binary_append_command): Pass all_commands,
2826 not -1, to help_list.
2827 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2828 -1, to help_list.
2829 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2830 -1, to help_list.
2831 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2832 help_list.
2833 * top.c (set_history): Pass all_commands, not -1, to help_list.
2834 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2835 all_commands, not -1, to help_list.
2836 * symfile.c (overlay_command): Pass all_commands, not -1, to
2837 help_list.
2838 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2839 help_list.
2840 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2841 help_list.
2842 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2843 -1, to help_list.
2844 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2845 not -1, to help_list.
2846 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2847 not -1, to help_list.
2848 * maint.c (maintenance_command, maintenance_info_command)
2849 (maintenance_print_command, maintenance_set_cmd): Pass
2850 all_commands, not -1, to help_list.
2851 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2852 help_list.
2853 * language.c (set_check): Pass all_commands, not -1, to help_list.
2854 * infcmd.c (unset_command): Pass all_commands, not -1, to
2855 help_list.
2856 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2857 help_list.
2858 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2859 help_list.
2860 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2861 help_list.
2862 * breakpoint.c (save_command): Pass all_commands, not -1, to
2863 help_list.
2864 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2865 all_commands, not -1, to help_list.
2866
b94ade42
PL
28672014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2868
2869 * regcache.c (struct register_to_invalidate): New structure.
2870 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2871 functions.
2872 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2873
31f628ae
YQ
28742014-06-12 Yao Qi <yao@codesourcery.com>
2875
2876 * varobj.c (varobj_get_num_children): Call
2877 varobj_is_dynamic_p.
2878 (varobj_list_children): Likewise.
2879 (varobj_update): Likewise. Update comments.
2880
cde5ef40
YQ
28812014-06-12 Yao Qi <yao@codesourcery.com>
2882
2883 * varobj.c (varobj_pretty_printed_p): Rename to ...
2884 (varobj_is_dynamic_p): ... this. New function.
2885 * varobj.h (varobj_pretty_printed_p): Remove declaration.
2886 (varobj_is_dynamic_p): Declare.
2887 * mi/mi-cmd-var.c (print_varobj): All callers updated.
2888 (mi_print_value_p, varobj_update_one): Likewise.
2889
576ea091
YQ
28902014-06-12 Pedro Alves <pedro@codesourcery.com>
2891 Yao Qi <yao@codesourcery.com>
2892
2893 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
2894 (varobj_get_iterator): Wrap up code for pretty-printer by
2895 "#if HAVE_PYTHON" and "#endif".
2896 (update_dynamic_varobj_children): Likewise.
2897
827f100c
YQ
28982014-06-12 Pedro Alves <pedro@codesourcery.com>
2899 Yao Qi <yao@codesourcery.com>
2900
2901 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
2902 gdb_python_initialized is false. Move some code from varobj.c.
2903 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
2904 * varobj.c: Move "varobj-iter.h" inclusion earlier.
2905 (struct varobj_item): Moved to varobj-iter.h".
2906 (varobj_clear_saved_item): New function.
2907 (update_dynamic_varobj_children): Move python-related code to
2908 py-varobj.c.
2909 (free_variable): Call varobj_clear_saved_item and
2910 varobj_iter_delete.
2911
e5250216
YQ
29122014-06-12 Pedro Alves <pedro@codesourcery.com>
2913 Yao Qi <yao@codesourcery.com>
2914
2915 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
2916 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
2917 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
2918 (py-varobj.o): New rule.
2919 * python/py-varobj.c: New file.
2920 * python/python-internal.h (py_varobj_get_iterator): Declare.
2921 * varobj-iter.h: New file.
2922 * varobj.c: Include "varobj-iter.h"
2923 (struct varobj) <child_iter>: Change its type from "PyObject *"
2924 to "struct varobj_iter *".
2925 <saved_item>: Likewise.
2926 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
2927 [HAVE_PYTHON] (varobj_get_iterator): New function.
2928 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
2929 python-specific code to python/py-varobj.c.
2930 (install_visualizer): Call varobj_iter_delete instead of
2931 Py_XDECREF.
2932 * varobj.h (varobj_ensure_python_env): Declare.
2933
5a2e0d6e
YQ
29342014-06-12 Yao Qi <yao@codesourcery.com>
2935
2936 * varobj.c (struct varobj_item): New structure.
2937 (create_child_with_value): Update declaration.
2938 (varobj_add_child): Replace arguments 'name' and 'value' with
2939 'item'. All callers updated.
2940 (install_dynamic_child): Likewise.
2941 (update_dynamic_varobj_children): Likewise.
2942 (varobj_add_child): Likewise.
2943 (create_child_with_value): Likewise.
2944
919b9a93
JB
29452014-06-11 Joel Brobecker <brobecker@adacore.com>
2946
2947 * NEWS: Create a new section for the next release branch.
2948 Rename the section of the current branch, now that it has
2949 been cut.
2950
71a55bdf
JB
29512014-06-11 Joel Brobecker <brobecker@adacore.com>
2952
2953 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
2954 * version.in: Bump version to 7.8.50.DATE-cvs.
2955
364fe1f7
PA
29562014-06-11 Pedro Alves <palves@redhat.com>
2957
2958 PR remote/17028
2959 * ser-mingw.c (net_windows_socket_check_pending): New function.
2960 (net_windows_select_thread): Ignore spurious wakeups. Use
2961 net_windows_socket_check_pending.
2962 (net_windows_wait_handle): Check for pending events with
2963 ioctlsocket, through net_windows_socket_check_pending, instead of
2964 checking the socket's event.
2965
5a6c7709
SC
29662014-06-10 Siva Chandra Reddy <sivachandra@google.com>
2967
2968 * python/python-internal.h (gdb_PyObject_GetAttrString)
2969 (gdb_PyObject_HasAttrString): New inline function definitions.
2970 * py-value.c (get_field_flag): Remove the now unnecessary cast to
2971 char * of the second argument to PyObject_GetAttrString.
74228e77 2972
0e58ee40
JB
29732014-06-10 Joel Brobecker <brobecker@adacore.com>
2974
2975 * serial.c (serial_write): Fix index of character to be printed
2976 in call to serial_logchar when serial debug traces are enabled.
2977
d190df30
JB
29782014-06-10 Joel Brobecker <brobecker@adacore.com>
2979
2980 * gdbtypes (resolve_dynamic_range): Add function description.
2981
b4b01d36
PA
29822014-06-09 Pedro Alves <palves@redhat.com>
2983
2984 * linux-nat.c (linux_child_follow_fork): Initialize status with
2985 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
2986 inner block. Only pass the signal to PTRACE_DETACH if in pass
2987 state.
2988
3657956b
GB
29892014-06-09 Gary Benson <gbenson@redhat.com>
2990
2991 * common/signals.c (gdb_signal_from_host): Reorder to separate
2992 the always-available ANSI-standard signals from the signals that
2993 require checking.
2994 (do_gdb_signal_to_host): Likewise.
2995 * proc-events.c (signal_table): Likewise.
2996
c077881a
HZ
29972014-06-08 Hui Zhu <hui@codesourcery.com>
2998
2999 * common/linux-ptrace.c (linux_disable_event_reporting): New
3000 function.
3001 * common/linux-ptrace.h (linux_disable_event_reporting): New
3002 declaration.
3003 * linux-nat.c (linux_child_follow_fork): Do a single step before
3004 detach.
3005
4186eb54
KS
30062014-06-07 Keith Seitz <keiths@redhat.com>
3007
3008 Revert:
3009 PR c++/16253
3010 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3011 from symbol_matches_domain in symtab.c. All local callers
3012 of symbol_matches_domain updated.
3013 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3014 search STRUCT_DOMAIN.
3015 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3016 independently. standard_lookup will do that automatically.
3017 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3018 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3019 (cp_lookup_symbol_in_namespace): Likewise.
3020 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3021 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3022 may return a STRUCT_DOMAIN match.
3023 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3024 * cp-support.c: Include language.h.
3025 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3026 VAR_DOMAIN.
3027 * psymtab.c (match_partial_symbol): Compare the requested
3028 domain with the symbol's domain directly.
3029 (lookup_partial_symbol): Likewise.
3030 * symtab.c (lookup_symbol_in_language): Explain when/why
3031 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3032 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3033 appropriate languages.
3034 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3035 and moved to ada-lang.c
3036 (lookup_block_symbol): Explain that this function only returns
3037 symbol matching the requested DOMAIN.
3038 Compare the requested domain with the symbol's domain directly.
3039 (iterate_over_symbols): Compare the requested domain with the
3040 symbol's domain directly.
3041 * symtab.h (symbol_matches_domain): Remove.
3042
25326a28 30432014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3044
3045 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3046 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3047 (gdbscm_guile_version_is_at_least): Declare.
3048 (gdbscm_scm_string_to_int): Declare.
3049 * guile/guile.c (gdbscm_guile_major_version): New global.
3050 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3051 (guile_datadir): New static global.
3052 (gdbscm_guile_data_directory): New function.
3053 (initialize_scheme_side): Update.
3054 (misc_guile_functions): Add guile-data-directory.
3055 (initialize_gdb_module): Fetch guile version number.
3056 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3057 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3058 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3059 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3060 comments.
3061 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3062 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3063 * guile/scm-value.c (gdbscm_value_to_string): Only call
3064 scm_port_conversion_strategy if Guile version >= 2.0.6.
3065
0a770bb2 30662014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3067
3068 * main.c (print_gdb_help): Add -q and --silent.
3069
73ba372c
GB
30702014-06-06 Gary Benson <gbenson@redhat.com>
3071
3072 * common/signals.c: Remove preprocessor conditionals for
3073 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3074 SIGSEGV and SIGTERM.
3075 * proc-events.c: Likewise.
3076
c33b2f12
MM
30772014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3078
3079 * symfile.c (symfile_free_objfile): Remove restriction to
3080 OBJF_USERLOADED.
3081 * symfile-mem.c (symbol_file_add_from_memory): Call
3082 add_target_sections_of_objfile.
3083
fb934770
LC
30842014-06-05 Ludovic Courtès <ludo@gnu.org>
3085
3086 * guile/scm-value.c (gdbscm_history_append_x): Use
3087 'vlscm_get_value_smob_arg_unsafe' instead of
3088 'vlscm_scm_to_value'.
3089
6ef284bd
SM
30902014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3091
3092 PR mi/15806
3093 * utils.c (printchar): Don't escape at all if quoter is NUL.
3094 Update function documentation to clarify effect of parameter
3095 QUOTER.
3096 * remote.c (escape_buffer): Pass '\\' as the quoter to
3097 fputstrn_unfiltered.
3098 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3099 generate the output.
3100 (mi_solib_unloaded): Same.
3101
270c9937
JB
31022014-06-05 Joel Brobecker <brobecker@adacore.com>
3103
3104 * development.sh: Delete.
3105 * Makefile.in (config.status): Adjust dependency on development.sh.
3106 * configure.ac: Adjust development.sh source call.
3107 * configure: Regenerate.
3108
16f691fb
DE
31092014-06-04 Doug Evans <xdje42@gmail.com>
3110
3111 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3112 is_scheme_bkpt, spec.
3113 (bpscm_make_breakpoint_smob): Initialize new members.
3114 (gdbscm_create_breakpoint_x): Split into two ...
3115 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3116 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3117 (scheme_function breakpoint_functions): Update.
3118 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3119 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3120 register-breakpoint!.
3121
ef7cab6b
JB
31222014-06-04 Joel Brobecker <brobecker@adacorer.com>
3123
3124 PR server/17023
3125 * mem-break.c (z_type_supported): Return zero if
3126 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3127
012370f6
TT
31282014-06-04 Tom Tromey <tromey@redhat.com>
3129
3130 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3131 value_from_contents_and_address_unresolved.
3132 (ada_template_to_fixed_record_type_1): Likewise.
3133 (ada_which_variant_applies): Likewise.
3134 * value.h (value_from_contents_and_address_unresolved): Declare.
3135 * value.c (value_from_contents_and_address_unresolved): New
3136 function.
3137 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3138 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3139 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3140
92e2a17f
TT
31412014-06-04 Tom Tromey <tromey@redhat.com>
3142
3143 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3144
c0939df1
TT
31452014-06-04 Tom Tromey <tromey@redhat.com>
3146
3147 * procfs.c (procfs_attach): Make "args" const.
3148 * windows-nat.c (windows_attach): Make "args" const.
3149 * nto-procfs.c (procfs_attach): Make "args" const.
3150 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3151 * go32-nat.c (go32_attach): Make "args" const.
3152 * gnu-nat.c (gnu_attach): Make "args" const.
3153 * darwin-nat.c (darwin_attach): Make "args" const.
3154 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3155 * linux-nat.c (linux_nat_attach): Make "args" const.
3156 * remote.c (extended_remote_attach_1, extended_remote_attach):
3157 Make "args" const.
3158 * target.h (struct target_ops) <to_attach>: Make "args" const.
3159 (find_default_attach): Likewise.
3160 * utils.c (parse_pid_to_attach): Make "args" const.
3161 * utils.h (parse_pid_to_attach): Update.
3162
8eaff7cd
TT
31632014-06-04 Tom Tromey <tromey@redhat.com>
3164
3165 * target-delegates.c: Rebuild.
3166 * target.c (default_thread_address_space): New function.
3167 (target_thread_address_space): Simplify.
3168 * target.h (struct target_ops) <to_thread_address_space>: Add
3169 TARGET_DEFAULT_FUNC.
3170
1913f160
DE
31712014-06-04 Doug Evans <xdje42@gmail.com>
3172
3173 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3174
70ad5bff
MM
31752014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3176
3177 * record-btrace.c: Include event-loop.h and inf-loop.h.
3178 (record_btrace_resume_exec_dir)
3179 (record_btrace_async_inferior_event_handler)
3180 (record_btrace_handle_async_inferior_event): New.
3181 (record_btrace_open): Create async event handler.
3182 (record_btrace_close): Delete async event handler.
3183 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3184 Mark async event handler.
3185 (record_btrace_execution_direction): New.
3186 (init_record_btrace_ops): Initialize to_execution_direction.
3187
b6210538
DE
31882014-06-03 Doug Evans <xdje42@gmail.com>
3189
3190 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3191 (gdbscm_make_parameter): Ditto.
3192
a5b1fd27
DE
31932014-06-03 Doug Evans <dje@google.com>
3194
3195 * exec.c (exec_close_1): Call clear_section_table instead of
3196 resize_section_table.
3197 (clear_section_table): New function.
3198 (resize_section_table): Make static. Rename arg num_added to
3199 adjustment.
3200 * exec.h (clear_section_table): Declare.
3201 (resize_section_table): Delete.
3202 * progspace.c (release_program_space): Call clear_section_table
3203 instead of resize_section_table.
3204
0c6e92a5
SC
32052014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3206
3207 * NEWS (Python Scripting): Add entry about the new xmethods
3208 feature.
3209
883964a7
SC
32102014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3211
3212 * python/py-xmethods.c: New file.
3213 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3214 (objfpy_dealloc): XDECREF on the new xmethods field.
3215 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3216 field.
3217 (objfpy_get_xmethods): New function.
3218 (objfile_getset): New entry 'xmethods'.
3219 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3220 (pspy_dealloc): XDECREF on the new xmethods field.
3221 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3222 field.
3223 (pspy_get_xmethods): New function.
3224 (pspace_getset): New entry 'xmethods'.
3225 * python/python-internal.h: Add declarations for new functions.
3226 * python/python.c (_initialize_python): Invoke
3227 gdbpy_initialize_xmethods.
3228 * python/lib/gdb/__init__.py (xmethods): New
3229 attribute.
3230 * python/lib/gdb/xmethod.py: New file.
3231 * python/lib/gdb/command/xmethods.py: New file.
3232
58992dc5
SC
32332014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3234
3235 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3236 best match method returned by find_overload_match is an xmethod.
3237 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3238 the best matching operator returned by find_overload_match is an
3239 xmethod.
3240 * valops.c: #include "extension.h".
3241 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3242 Return void. The list of matching source methods is returned in
3243 "fn_list" and a vector of matching debug method workers is
3244 returned in "xm_worker_vec". Update all callers.
3245 (value_find_oload_method_list): Likewise.
3246 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3247 non-NULL, then the index of the best matching method in this
3248 vector is returned. Update all callers.
3249 (find_overload_match): Include xmethods while performing overload
3250 resolution.
3251
e81e7f5e
SC
32522014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3253
3254 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3255 * extension-priv.h (struct extension_language_ops): Add the
3256 xmethod interface.
3257 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3258 get_matching_xmethod_workers, get_xmethod_argtypes,
3259 invoke_xmethod, free_xmethod_worker,
3260 free_xmethod_worker_vec): New functions.
3261 * extension.h: #include "common/vec.h".
3262 New function declarations.
3263 (struct xmethod_worker): New struct.
3264 (VEC (xmethod_worker_ptr)): New vector type.
3265 (xmethod_worker_ptr): New typedef.
3266 (xmethod_worker_vec): Likewise.
3267 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3268 builtin_type.
3269 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3270 (struct builtin_type): New field "xmethod".
3271 * valarith.c (value_ptradd): Assert that the value argument is not
3272 lval_xcallable.
3273 * valops.c (value_must_coerce_to_target): Return 0 for
3274 lval_xcallable values.
3275 * value.c (struct value): New field XM_WORKER in the field
3276 LOCATION.
3277 (value_address, value_raw_address): Return 0 for lval_xcallable
3278 values.
3279 (set_value_address): Assert that the value is not an
3280 lval_xcallable.
3281 (value_free): Free the associated xmethod worker when freeing
3282 lval_xcallable values.
3283 (set_value_component_location): Assert that the WHOLE value is not
3284 lval_xcallable.
3285 (value_of_xmethod, call_xmethod): New functions.
3286 * value.h: Declare "struct xmethod_worker".
3287 Declare new functions value_of_xmethod, call_xmethod.
3288
ef370185
JB
32892014-06-03 Joel Brobecker <brobecker@adacore.com>
3290 Pedro Alves <palves@redhat.com>
3291
3292 PR breakpoints/17000
3293 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3294 New function, extracted from software_breakpoint_inserted_here_p.
3295 (software_breakpoint_inserted_here_p): Replace factored out code
3296 by call to find_non_raw_software_breakpoint_inserted_here.
3297 (bp_target_info_copy_insertion_state): New function.
3298 (bkpt_insert_location): Handle the case of a single-step
3299 breakpoint already inserted at the same address.
3300 (bkpt_remove_location): Handle the case of a single-step
3301 breakpoint still inserted at the same address.
3302 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3303 breakpoint already inserted at the same address.
3304 (deprecated_remove_raw_breakpoint): Handle the case of a
3305 non-raw breakpoint still inserted at the same address.
3306 (find_single_step_breakpoint): New function, extracted from
3307 single_step_breakpoint_inserted_here_p.
3308 (find_single_step_breakpoint): New function,
3309 factored out from single_step_breakpoint_inserted_here_p.
3310 (single_step_breakpoint_inserted_here_p): Reimplement.
3311
1e2ccb61
BM
33122014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3313
3314 Pushed by Joel Brobecker <brobecker@adacore.com>
3315 * source.c (show_substitute_path_command): Fix display of matching
3316 substitution rules.
3317
d3448d85
GB
33182014-06-03 Gary Benson <gbenson@redhat.com>
3319
3320 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3321
06eb1586
DE
33222014-06-02 Doug Evans <xdje42@gmail.com>
3323
3324 Add parameter support for Guile.
3325 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3326 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3327 (scm-param.o): New rule.
3328 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3329 (gdbscm_misc_error): Declare.
3330 (gdbscm_canonicalize_command_name): Declare.
3331 (gdbscm_scm_to_host_string): Declare.
3332 (gdbscm_scm_from_host_string): Declare.
3333 (gdbscm_initialize_parameters): Declare.
3334 * guile/guile.c (initialize_gdb_module): Call
3335 gdbscm_initialize_parameters.
3336 * guile/lib/gdb.scm: Export parameter symbols.
3337 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3338 cmdscm_canonicalize_name and made public. All callers updated.
3339 * guile/scm-exception.c (gdbscm_misc_error): New function.
3340 * guile/scm-param.c: New file.
3341 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3342 (gdbscm_scm_to_host_string): New function.
3343 (gdbscm_scm_from_host_string): New function.
3344 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3345
e698b8c4
DE
33462014-06-02 Doug Evans <xdje42@gmail.com>
3347
3348 Add command support for Guile.
3349 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3350 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3351 (scm-cmd.o): New rule.
3352 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3353 (gdbscm_user_error_p): Declare.
3354 (gdbscm_parse_command_name): Declare.
3355 (gdbscm_valid_command_class_p): Declare.
3356 (gdbscm_initialize_commands): Declare.
3357 * guile/guile.c (initialize_gdb_module): Call
3358 gdbscm_initialize_commands.
3359 * guile/lib/gdb.scm: Export command symbols.
3360 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3361 (throw-user-error): New function.
3362 * guile/scm-cmd.c: New file.
3363 * guile/scm-exception.c (user_error_symbol): New static global.
3364 (gdbscm_user_error_p): New function.
3365 (gdbscm_initialize_exceptions): Set user_error_symbol.
3366 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3367
fb1f94b0
PM
33682014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3369
3370 * top.c (command_loop): Handle comments here...
3371 (command_line_input): ... not here.
3372
ded03782
DE
33732014-06-02 Doug Evans <xdje42@gmail.com>
3374
3375 Add progspace support for Guile.
3376 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3377 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3378 (scm-progspace.o): New rule.
3379 * guile/guile-internal.h (pspace_smob): New typedef.
3380 (psscm_pspace_smob_pretty_printers): Declare.
3381 (psscm_pspace_smob_from_pspace): Declare.
3382 (psscm_scm_from_pspace): Declare.
3383 * guile/guile.c (initialize_gdb_module): Call
3384 gdbscm_initialize_pspaces.
3385 * guile/lib/gdb.scm: Export progspace symbols.
3386 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3387 support.
3388 (append-pretty-printer!): Ditto.
3389 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3390 Implement.
3391 * guile/scm-progspace.c: New file.
3392
397998fc
AM
33932014-06-03 Alan Modra <amodra@gmail.com>
3394
3395 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3396 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3397
6aa5f3a6
DE
33982014-06-02 Doug Evans <dje@google.com>
3399
3400 Add support for skeletonless type units.
3401 * dwarf2read.c (struct dwarf2_per_objfile): New member
3402 n_allocated_type_units.
3403 (struct dwarf2_per_objfile) <tu_stats>: New member
3404 nr_all_type_units_reallocs.
3405 (create_signatured_type_table_from_index): Initialize
3406 n_allocated_type_units
3407 (create_all_type_units): Ditto.
3408 (add_type_unit): Move up in file. New arg slot.
3409 All callers updated. Increase space for all_type_units more
3410 efficiently.
3411 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3412 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3413 (lookup_dwp_signatured_type): Ditto.
3414 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3415 All callers updated.
3416 (build_type_psymtabs_1): Leave type_unit_groups as
3417 NULL if no TUs present.
3418 (print_tu_stats): New function.
3419 (process_skeletonless_type_unit): New function.
3420 (process_dwo_file_for_skeletonless_type_units): New
3421 function.
3422 (process_skeletonless_type_units): New function.
3423 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3424 Call print tu_stats if debugging enabled.
3425
41fac0cf
PA
34262014-06-02 Pedro Alves <palves@redhat.com>
3427
3428 * breakpoint.c (build_target_command_list): Don't build a command
3429 list if we have any duplicate location that isn't a dprintf.
3430
cd1608cc
PA
34312014-06-02 Pedro Alves <palves@redhat.com>
3432
3433 * breakpoint.c (dprintf_breakpoint_hit): New function.
3434 (initialize_breakpoint_ops): Install it as dprintf's
3435 breakpoint_hit method.
3436
486ef3b9
JB
34372014-06-02 Joel Brobecker <brobecker@adacore.com>
3438
3439 * source.c (substitute_path_rule_matches): Simplify using
3440 filename_ncmp instead of FILENAME_CMP.
3441
230cd560
JB
34422014-06-02 Joel Brobecker <brobecker@adacore.com>
3443
3444 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3445
16954d5d
LC
34462014-06-01 Ludovic Courtès <ludo@gnu.org>
3447
3448 * configure.ac: When Guile is available, check for the
3449 availability of 'scm_new_smob'.
3450 * configure, config.h.in: Regenerate.
3451 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3452 function.
3453
53e8a631
AB
34542014-05-30 Andrew Burgess <aburgess@broadcom.com>
3455
3456 * frame.c (struct frame_info): Add stop_string field.
3457 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3458 (get_prev_frame_always): Old content moved into
3459 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3460 TRY_CATCH, handle MEMORY_ERROR exceptions.
3461 (frame_stop_reason_string): New function definition.
3462 * frame.h (unwind_stop_reason_to_string): Extend comment to
3463 mention frame_stop_reason_string.
3464 (frame_stop_reason_string): New function declaration.
3465 * stack.c (frame_info): Switch to frame_stop_reason_string.
3466 (backtrace_command_1): Switch to frame_stop_reason_string.
3467 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3468 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3469 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3470
70e38b8e
AB
34712014-05-30 Andrew Burgess <aburgess@broadcom.com>
3472
3473 * frame.c (frame_stop_reason_string): Rename to ...
3474 (unwind_stop_reason_to_string): this.
3475 * frame.h (frame_stop_reason_string): Rename to ...
3476 (unwind_stop_reason_to_string): this.
3477 * stack.c (frame_info): Update call to frame_stop_reason_string.
3478 (backtrace_command_1): Likewise.
3479 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3480 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3481
938f0e2f
AB
34822014-05-30 Andrew Burgess <aburgess@broadcom.com>
3483
3484 * frame.c (remove_prev_frame): New function.
3485 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3486 remove_prev_frame.
3487
a09dd441
PA
34882014-05-29 Pedro Alves <palves@redhat.com>
3489
3490 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3491 and make it const. When a single-step decays to a continue,
3492 clear 'step', not 'hw_step'. Pass whether the caller wanted
3493 to step to user_visible_resume_ptid, not what we ask the
3494 target to do.
3495
bdc36728
PA
34962014-05-29 Pedro Alves <palves@redhat.com>
3497
3498 * infrun.c (process_event_stop_test, handle_step_into_function)
3499 (handle_step_into_function_backward): Adjust.
3500 Don't set the even thread's stop_step and call stop_waiting before
3501 calling end_stepping_range. Instead do that ...
3502 (end_stepping_range): ... here. Take an ecs pointer parameter.
3503
22bcd14b
PA
35042014-05-29 Pedro Alves <palves@redhat.com>
3505
3506 * infrun.c (stop_stepping): Rename to ...
3507 (stop_waiting): ... this.
3508 (proceed): Update comment.
3509 (process_event_stop_test, handle_inferior_event)
3510 (handle_signal_stop, handle_step_into_function)
3511 (handle_step_into_function_backward): Update.
3512
4ae57c05
PA
35132014-05-29 Pedro Alves <palves@redhat.com>
3514
3515 * infcall.c (run_inferior_call): Don't check whether the current
3516 thread is running after the proceed call.
3517
329ea579
PA
35182014-05-29 Pedro Alves <palves@redhat.com>
3519 Tom Tromey <tromey@redhat.com>
3520
3521 * NEWS: Mention "maint set target-async", "set mi-async", and that
3522 background execution commands are now always available.
3523 * target.h (target_async_permitted): Update comment.
3524 * target.c (target_async_permitted, target_async_permitted_1):
3525 Default to 1.
3526 (set_target_async_command): Rename to ...
3527 (maint_set_target_async_command): ... this.
3528 (show_target_async_command): Rename to ...
3529 (maint_show_target_async_command): ... this.
3530 (_initialize_target): Adjust.
3531 * infcmd.c (prepare_execution_command): Make extern.
3532 * inferior.h (prepare_execution_command): Declare.
3533 * infrun.c (set_observer_mode): Leave target async alone.
3534 * mi/mi-interp.c (mi_interpreter_init): Install
3535 mi_on_sync_execution_done as sync_execution_done observer.
3536 (mi_on_sync_execution_done): New function.
3537 (mi_execute_command_input_handler): Don't print the prompt if we
3538 just started a synchronous command with an async target.
3539 (mi_on_resume): Check sync_execution before printing prompt.
3540 * mi/mi-main.h (mi_async_p): Declare.
3541 * mi/mi-main.c: Include gdbcmd.h.
3542 (mi_async_p): New function.
3543 (mi_async, mi_async_1): New globals.
3544 (set_mi_async_command, show_mi_async_command, mi_async): New
3545 functions.
3546 (exec_continue): Call prepare_execution_command.
3547 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3548 (mi_execute_async_cli_command): Use mi_async_p.
3549 (_initialize_mi_main): Install "set mi-async". Make
3550 "target-async" a deprecated alias.
3551
92bcb5f9
PA
35522014-05-29 Pedro Alves <palves@redhat.com>
3553
3554 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3555 (_initialize_cli_interp): Adjust.
3556 * event-loop.c: Include "observer.h".
3557 (start_event_loop): Notify 'command_error' observers instead of
3558 calling display_gdb_prompt. Remove FIXME comment.
3559 * event-top.c (display_gdb_prompt): Remove call into the
3560 interpreters.
3561 * inf-loop.c: Include "observer.h".
3562 (inferior_event_handler): Notify 'command_error' observers instead
3563 of calling display_gdb_prompt.
3564 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3565 observers instead of calling display_gdb_prompt.
3566 * interps.c (interp_set): Don't call display_gdb_prompt.
3567 (current_interp_display_prompt_p): Delete.
3568 * interps.h (interp_prompt_p): Delete declaration.
3569 (interp_prompt_p_ftype): Delete.
3570 (struct interp_procs) <prompt_proc_p>: Delete field.
3571 (current_interp_display_prompt_p): Delete declaration.
3572 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3573 (_initialize_mi_interp): Adjust.
3574 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3575 'command_error' observers.
3576 (tui_on_sync_execution_done, tui_on_command_error): New
3577 functions.
3578 (tui_display_prompt_p): Delete.
3579 (_initialize_tui_interp): Adjust.
3580
fd664c91
PA
35812014-05-29 Pedro Alves <palves@redhat.com>
3582
3583 PR gdb/13860
3584 * cli/cli-interp.c: Include infrun.h and observer.h.
3585 (cli_uiout, cli_interp): New globals.
3586 (cli_on_signal_received, cli_on_end_stepping_range)
3587 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3588 functions.
3589 (cli_interpreter_init): Install them as 'end_stepping_range',
3590 'signal_received' 'signal_exited', 'exited' and 'no_history'
3591 observers.
3592 (_initialize_cli_interp): Remove cli_interp local.
3593 * infrun.c (handle_inferior_event): Call the several stop reason
3594 observers instead of printing the stop reason directly.
3595 (end_stepping_range): New function.
3596 (print_end_stepping_range_reason, print_signal_exited_reason)
3597 (print_exited_reason, print_signal_received_reason)
3598 (print_no_history_reason): Make static, and add an uiout
3599 parameter. Print to that instead of to CURRENT_UIOUT.
3600 * infrun.h (print_end_stepping_range_reason)
3601 (print_signal_exited_reason, print_exited_reason)
3602 (print_signal_received_reason print_no_history_reason): New
3603 declarations.
3604 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3605 'mi_uiout'.
3606 <cli_uiout>: New field.
3607 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3608 uiout for CLI output. Install 'signal_received',
3609 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3610 observers.
3611 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3612 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3613 (mi_on_no_history): New functions.
3614 (ui_out_free_cleanup): Delete function.
3615 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3616 instead use the one already stored in the MI interpreter data.
3617 (mi_ui_out): Adjust.
3618 * tui/tui-interp.c: Include infrun.h and observer.h.
3619 (tui_interp): New global.
3620 (tui_on_signal_received, tui_on_end_stepping_range)
3621 (tui_on_signal_exited, tui_on_exited)
3622 (tui_on_no_history): New functions.
3623 (tui_init): Install them as 'end_stepping_range',
3624 'signal_received' 'signal_exited', 'exited' and 'no_history'
3625 observers.
3626 (_initialize_tui_interp): Delete tui_interp local.
3627
8817a6f2
PA
36282014-05-29 Pedro Alves <palves@redhat.com>
3629
3630 PR gdb/15713
3631 * linux-nat.c (linux_nat_resume_callback): Rename the second
3632 parameter to 'except'. Skip LP if it points to EXCEPT.
3633 (linux_nat_resume): Don't mark the event lwp as not stopped
3634 before resuming sibling lwps. Instead ask
3635 linux_nat_resume_callback to skip the event lwp. Mark it as not
3636 stopped after actually resuming it.
3637 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3638 resuming it.
3639 (wait_lwp): Mark the lwp as stopped here.
3640 (stop_wait_callback): Mark the lwp as not stopped right after
3641 resuming it. Don't mark lwps as stopped here.
3642 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3643 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3644
251bde03
PA
36452014-05-29 Pedro Alves <palves@redhat.com>
3646
3647 PR PR15693
3648 * infrun.c (resume): Determine how much to resume depending on
3649 whether the caller wanted a step, not whether we can hardware step
3650 the target. Mark all threads that we intend to run as running,
3651 unless we're calling an inferior function.
3652 (normal_stop): If the thread is running an infcall, don't finish
3653 thread state.
3654 * target.c (target_resume): Don't mark threads as running here.
3655
7f3c0343
JB
36562014-05-28 Joel Brobecker <brobecker@adacore.com>
3657
3658 * serial.c (_initialize_serial): Remove support for
3659 the "set remotebaud" and "show remotebaud" commands.
3660 * NEWS: Add entry documenting the removal of that command.
3661
ee34b3f9
YQ
36622014-05-28 Yao Qi <yao@codesourcery.com>
3663
3664 * charset.c: Fix typo in comments.
3665
add6c04d
GB
36662014-05-27 Gary Benson <gbenson@redhat.com>
3667
3668 * utils.c (internal_vproblem): Prompt for a bug report.
3669
92c48fc5
AW
36702014-05-26 Andy Wingo <wingo@igalia.com>
3671
3672 * guile/scm-arch.c (arscm_mark_arch_smob):
3673 * guile/scm-block.c (bkscm_mark_block_smob)
3674 (bkscm_mark_block_syms_progress_smob):
3675 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3676 * guile/scm-exception.c (exscm_mark_exception_smob):
3677 * guile/scm-frame.c (frscm_mark_frame_smob):
3678 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3679 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3680 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3681 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3682 (ppscm_mark_pretty_printer_worker_smob):
3683 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3684 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3685 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3686 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3687 mark functions.
3688 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3689 function.
3690
b2715b27
AW
36912014-05-26 Andy Wingo <wingo@igalia.com>
3692 Doug Evans <xdje42@gmail.com>
3693
3694 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3695 empty_base_class. All uses updated.
3696 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3697 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3698 Adapt all callers.
3699 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3700 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3701 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3702 (gdbscm_gsmob_has_property_p, add_property_name)
3703 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3704 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3705 (gdb-object-has-property?, gdb-object-properties): Remove.
3706 (gdb-object-kind): Renamed from gsmob-kind.
3707
214ab2da
AW
37082014-05-26 Andy Wingo <wingo@igalia.com>
3709
3710 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3711 * configure: Regenerate.
3712
589fdceb
MM
37132014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3714
3715 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3716
67b5c0c1
MM
37172014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3718
3719 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3720 (replay_memory_access_read_only, replay_memory_access_read_write)
3721 (replay_memory_access_types, replay_memory_access)
3722 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3723 (cmd_set_record_btrace, cmd_show_record_btrace)
3724 (cmd_show_replay_memory_access): New.
3725 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3726 (record_btrace_remove_breakpoint): Replace
3727 record_btrace_allow_memory_access with replay_memory_access.
3728 (_initialize_record_btrace): Add commands.
3729 * NEWS: Announce it.
3730
036cd381
RR
37312014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3732
3733 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3734
c77c1e42
RR
37352014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3736
3737 * MAINTAINERS (Write After Approval): Move self back from
3738 paper trail.
3739
45741a9c
PA
37402014-05-22 Pedro Alves <palves@redhat.com>
3741
3742 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3743 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3744 (disable_randomization, enum exec_direction_kind)
3745 (execution_direction, stop_registers, start_remote)
3746 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3747 (wait_for_inferior, normal_stop, get_last_target_status)
3748 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3749 (insert_step_resume_breakpoint_at_sal)
3750 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3751 (set_step_info, print_stop_event, signal_stop_state)
3752 (signal_print_state, signal_pass_state, signal_stop_update)
3753 (signal_print_update, signal_pass_update)
3754 (update_signals_program_target, clear_exit_convenience_vars)
3755 (displaced_step_dump_bytes, update_observer_mode)
3756 (signal_catch_update, gdb_signal_from_command): Move
3757 declarations ...
3758 * infrun.h: ... to this new file.
3759 * amd64-tdep.c: Include infrun.h.
3760 * annotate.c: Include infrun.h.
3761 * arch-utils.c: Include infrun.h.
3762 * arm-linux-tdep.c: Include infrun.h.
3763 * arm-tdep.c: Include infrun.h.
3764 * break-catch-sig.c: Include infrun.h.
3765 * breakpoint.c: Include infrun.h.
3766 * common/agent.c: Include infrun.h instead of inferior.h.
3767 * corelow.c: Include infrun.h.
3768 * event-top.c: Include infrun.h.
3769 * go32-nat.c: Include infrun.h.
3770 * i386-tdep.c: Include infrun.h.
3771 * inf-loop.c: Include infrun.h.
3772 * infcall.c: Include infrun.h.
3773 * infcmd.c: Include infrun.h.
3774 * infrun.c: Include infrun.h.
3775 * linux-fork.c: Include infrun.h.
3776 * linux-nat.c: Include infrun.h.
3777 * linux-thread-db.c: Include infrun.h.
3778 * monitor.c: Include infrun.h.
3779 * nto-tdep.c: Include infrun.h.
3780 * procfs.c: Include infrun.h.
3781 * record-btrace.c: Include infrun.h.
3782 * record-full.c: Include infrun.h.
3783 * remote-m32r-sdi.c: Include infrun.h.
3784 * remote-mips.c: Include infrun.h.
3785 * remote-notif.c: Include infrun.h.
3786 * remote-sim.c: Include infrun.h.
3787 * remote.c: Include infrun.h.
3788 * reverse.c: Include infrun.h.
3789 * rs6000-tdep.c: Include infrun.h.
3790 * s390-linux-tdep.c: Include infrun.h.
3791 * solib-irix.c: Include infrun.h.
3792 * solib-osf.c: Include infrun.h.
3793 * solib-svr4.c: Include infrun.h.
3794 * target.c: Include infrun.h.
3795 * top.c: Include infrun.h.
3796 * windows-nat.c: Include infrun.h.
3797 * mi/mi-interp.c: Include infrun.h.
3798 * mi/mi-main.c: Include infrun.h.
3799 * python/py-threadevent.c: Include infrun.h.
3800
98eb56a4
PA
38012014-05-22 Pedro Alves <palves@redhat.com>
3802
3803 * infrun.c (handle_inferior_event): Store the exit code for
3804 --return-child-result here, instead of ...
3805 (print_exited_reason): ... here.
3806
17b2616c
PA
38072014-05-21 Pedro Alves <palves@redhat.com>
3808
3809 PR gdb/13860
3810 * gdbthread.h (struct thread_control_state): New field
3811 `command_interp'.
3812 * infrun.c (follow_fork): Copy the new thread control field to the
3813 child fork thread.
3814 (clear_proceed_status_thread): Clear the new thread control field.
3815 (proceed): Set the new thread control field.
3816 * interps.h (command_interp): Declare.
3817 * interps.c (command_interpreter): New global.
3818 (command_interp): New function.
3819 (interp_exec): Set `command_interpreter' while here.
3820 * cli-out.c (cli_uiout_dtor): New function.
3821 (cli_ui_out_impl): Install it.
3822 * mi/mi-interp.c: Include cli-out.h.
3823 (mi_cmd_interpreter_exec): Add comment.
3824 (restore_current_uiout_cleanup): New function.
3825 (ui_out_free_cleanup): New function.
3826 (mi_on_normal_stop): If finishing an execution command started by
3827 a CLI command, or any kind of breakpoint-like event triggered,
3828 print the stop event to the output (CLI) stream.
3829 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3830
5166082f
PA
38312014-05-21 Pedro Alves <palves@redhat.com>
3832
3833 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3834 current source line having changed.
3835 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3836 * infrun.c (normal_stop): Adjust call to
3837 set_current_sal_from_frame.
3838 * source.c (clear_lines_listed_range): New function.
3839 (set_current_source_symtab_and_line, identify_source_line): Clear
3840 the lines listed range.
3841 (line_info): Handle the first "info line" after the current source
3842 line having changed.
3843 * stack.c (print_stack_frame): Remove center handling.
3844 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3845 center sal.line.
3846
c1ee2fb3
PA
38472014-05-21 Pedro Alves <palves@redhat.com>
3848
3849 * inf-child.c (inf_child_mourn_inferior): New function.
3850 * inf-child.h (inf_child_mourn_inferior): New declaration.
3851 * darwin-nat.c (darwin_mourn_inferior): Use
3852 inf_child_mourn_inferior.
3853 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3854 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3855 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3856 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3857 * windows-nat.c (windows_mourn_inferior): Likewise.
3858
5c6d4fb2
DE
38592014-05-21 Doug Evans <xdje42@gmail.com>
3860
250748cb 3861 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 3862
4a2722c5
DE
38632014-05-21 Doug Evans <xdje42@gmail.com>
3864
17292b30 3865 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
3866 (gdbscm_out_of_range_error): Ditto.
3867 (gdbscm_memory_error): Ditto.
250748cb
DE
3868 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3869 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
3870 (gdbscm_out_of_range_error): Update.
3871 (gdbscm_memory_error): Update.
3872 (gdbscm_scm_to_target_string_unsafe): Delete.
3873
6a3cb8e8
PA
38742014-05-21 Pedro Alves <palves@redhat.com>
3875
3876 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3877 globals.
3878 (inf_child_open_target): New function.
3879 (inf_child_open): Use inf_child_open_target to push the target
3880 instead of erroring out.
3881 (inf_child_disconnect, inf_child_close)
3882 (inf_child_maybe_unpush_target): New functions.
3883 (inf_child_target): Install inf_child_disconnect and
3884 inf_child_close. Store a pointer to the returned object.
3885 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
3886 declarations.
3887 * target.c (auto_connect_native_target): New global.
3888 (show_default_run_target): New function.
3889 (find_default_run_target): Return NULL if automatically connecting
3890 to the native target is disabled.
3891 (_initialize_target): Install set/show auto-connect-native-target.
3892 * NEWS: Mention "set auto-connect-native-target", and "target
3893 native".
3894 * linux-nat.c (super_close): New global.
3895 (linux_nat_close): Call super_close.
3896 (linux_nat_add_target): Store a pointer to the base class's
3897 to_close method.
3898 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
3899 inf_child_maybe_unpush.
3900 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
3901 already pushed.
3902 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
3903 the inferior. Use inf_child_maybe_unpush_target.
3904 (inf_ttrace_attach): Don't push the target if it is already
3905 pushed.
3906 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
3907 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
3908 after mourning the inferior. Use inf_child_maybe_unpush_target.
3909 (darwin_attach_pid): Don't push the target if it is already
3910 pushed.
3911 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
3912 mourning the inferior. Use inf_child_maybe_unpush_target.
3913 (gnu_detach): Use inf_child_maybe_unpush_target.
3914 * go32-nat.c (go32_create_inferior): Don't push the target if it
3915 is already pushed.
3916 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
3917 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
3918 (procfs_open): Rename to ...
3919 (procfs_open_1): ... this. Add target_ops parameter. Adjust
3920 comments. Can target_preopen before changing node. Call
3921 inf_child_open_target to push the target explicitly.
3922 (procfs_attach): Don't push the target if it is already pushed.
3923 (procfs_detach): Use inf_child_maybe_unpush_target.
3924 (procfs_create_inferior): Don't push the target if it is already
3925 pushed.
3926 (nto_native_ops): New global.
3927 (procfs_open): Reimplement.
3928 (procfs_native_open): New function.
3929 (init_procfs_targets): Install procfs_native_open as to_open of
3930 "target native". Store a pointer to the "native" target in
3931 nto_native_ops.
3932 * procfs.c (procfs_attach): Don't push the target if it is already
3933 pushed.
3934 (procfs_detach): Use inf_child_maybe_unpush_target.
3935 (procfs_mourn_inferior): Only unpush the target after mourning the
3936 inferior. Use inf_child_maybe_unpush_target.
3937 (procfs_init_inferior): Don't push the target if it is already
3938 pushed.
3939 * windows-nat.c (do_initial_windows_stuff): Don't push the target
3940 if it is already pushed.
3941
930ee1b1
PA
39422014-05-21 Pedro Alves <palves@redhat.com>
3943
3944 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
3945 and "procfs" targets are now called "native" instead.
3946
1f5d1b13
PA
39472014-05-21 Pedro Alves <palves@redhat.com>
3948
3949 * go32-nat.c (go32_open): Delete.
3950 (go32_target): Don't override the to_open method.
3951
132f8e03
PA
39522014-05-21 Pedro Alves <palves@redhat.com>
3953
3954 * nto-procfs.c (procfs_can_run): New function.
3955 (nto_procfs_ops): New global.
3956 (init_procfs_targets): New, based on procfs_target. Install
3957 "target native" in addition to "target procfs".
3958 (_initialize_procfs): Call init_procfs_targets instead of adding
3959 the target here.
3960
03c136c3
PA
39612014-05-21 Pedro Alves <palves@redhat.com>
3962
3963 * windows-nat.c (windows_target): Don't override to_shortname,
3964 to_longname or to_doc.
3965
a635d0f3
PA
39662014-05-21 Pedro Alves <palves@redhat.com>
3967
3968 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
3969 to_doc.
3970
4f9b5133
PA
39712014-05-21 Pedro Alves <palves@redhat.com>
3972
3973 * darwin-nat.c (_initialize_darwin_inferior): Don't override
3974 to_shortname, to_longname or to_doc.
3975
bc85afde
PA
39762014-05-21 Pedro Alves <palves@redhat.com>
3977
3978 * go32-nat.c (go32_target): Don't override to_shortname,
3979 to_longname or to_doc.
3980
4ebfc96e
PA
39812014-05-21 Pedro Alves <palves@redhat.com>
3982
3983 * inf-child.c (inf_child_open): Remove mention of "child".
3984 (inf_child_target): Rename target to "native" instead of "child".
3985
2648dfed
AA
39862014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3987
3988 * Makefile.in (SFILES): Delete "regset.c".
3989 (COMMON_OBS): Delete "regset.o".
3990 * regset.c: Remove.
3991 * regset.h (regset_alloc): Delete prototype.
3992
b13feb94
AA
39932014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
3994
3995 * sparc-linux-tdep.c (sparc32_linux_gregset)
3996 (sparc32_linux_fpregset): New static regset structures.
3997 (sparc32_linux_init_abi): Drop dynamic regset allocations.
3998 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
3999 'fpregset' fields.
4000 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4001 (sparc64_linux_fpregset): New static regset structures.
4002 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4003 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4004 New static regset structures.
4005 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4006 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4007 New static regset structures.
4008 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4009 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4010 New static regset structures.
4011 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4012 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4013 New static regset structures.
4014 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4015
b4fd25c9
AA
40162014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4017
4018 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4019 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4020 register maps ("regmaps") from "*regset" to "*regmap". Do this
4021 for all regmap types and variables.
4022 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4023 (sparc32_linux_supply_core_gregset)
4024 (sparc32_linux_collect_core_gregset)
4025 (sparc32_linux_supply_core_fpregset)
4026 (sparc32_linux_collect_core_fpregset): Likewise.
4027 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4028 (sparc_gregmap, sparc_fpregmap): ... these.
4029 (sparc_supply_gregset, sparc_collect_gregset)
4030 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4031 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4032 (_initialize_sparc_nat): Rename regmaps.
4033 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4034 (sparc_gregmap, sparc_fpregmap): ... these.
4035 (sparc_supply_gregset, sparc_collect_gregset)
4036 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4037 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4038 Rename macros to...
4039 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4040 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4041 Likewise.
4042 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4043 Rename to...
4044 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4045 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4046 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4047 regmaps.
4048 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4049 (sparc32_bsd_fpregset): Rename to...
4050 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4051 (sparc32_bsd_fpregmap): ... these.
4052 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4053 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4054 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4055 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4056 (struct sparc_gregmap, struct sparc_fpregmap)
4057 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4058 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4059 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4060 (sparc32_supply_regset, sparc32_collect_gregset)
4061 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4062 prototypes.
4063 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4064 (sparc64_linux_ptrace_gregmap): ... this.
4065 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4066 (_initialize_sparc64_linux_nat): Rename regmaps.
4067 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4068 (sparc64_linux_core_gregmap): ... this.
4069 (sparc64_linux_supply_core_gregset)
4070 (sparc64_linux_collect_core_gregset)
4071 (sparc64_linux_supply_core_fpregset)
4072 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4073 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4074 (sparc64_sol2_fpregset): Rename to...
4075 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4076 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4077 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4078 regmaps.
4079 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4080 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4081 (sparc64_bsd_fpregset): Rename to...
4082 (struct sparc_gregmap, sparc64_sol2_gregmap)
4083 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4084 (sparc64_bsd_fpregmap): ... these.
4085 (sparc64_supply_gregset, sparc64_collect_gregset)
4086 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4087 prototypes.
4088 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4089 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4090 (sparc64fbsd_gregmap): ... this.
4091 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4092 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4093 Rename regmaps.
4094 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4095 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4096 (sparc64nbsd_collect_fpregset): Likewise.
4097 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4098 (sparc64nbsd_gregmap): ... this.
4099 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4100 regmaps.
4101 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4102 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4103 (sparc64obsd_gregmap): ... this.
4104 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4105 regmaps.
4106 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4107 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4108 (sparc32nbsd_gregmap): ... this.
4109 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4110 regmaps.
4111
8fea3224
AA
41122014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4113
4114 * score-tdep.c (score7_linux_gregset): New static regset
4115 structure.
4116 (score7_linux_regset_from_core_section): Remove dynamic regset
4117 allocation.
4118 (score_gdbarch_init): Drop allocation of tdep structure.
4119 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4120
24534243
AA
41212014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4122
4123 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4124 regset structures.
4125 (am33_regset_from_core_section): Remove dynamic regset
4126 allocations.
4127
b7195f27
AA
41282014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4129
4130 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4131 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4132 structures.
4133 (mips_linux_regset_from_core_section): Remove dynamic regset
4134 allocations.
4135 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4136 'gregset64', 'fpregset', and 'fpregset64'.
4137 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4138 deleted tdep fields.
4139
ecc37a5a
AA
41402014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4141
4142 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4143 regset structures.
4144 (amd64_regset_from_core_section): Remove dynamic regset
4145 allocations.
4146 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4147 structure.
4148 (amd64obsd_regset_from_core_section): Remove dynamic regset
4149 allocation.
4150 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4151 Likewise.
4152 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4153 x86-common regset supply function.
4154 * i386-tdep.c (i386_collect_gregset): Make static.
4155 (i386_gregset): New global regset structure.
4156 (i386_fpregset, i386_xstateregset): New static regset structures.
4157 (i386_regset_from_core_section): Remove dynamic regset
4158 allocations.
4159 (i386_gdbarch_init): Remove initialization of tdep fields
4160 'gregset', 'fpregset', and 'xstateregset'.
4161 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4162 'fpregset', and 'xstateregset'.
4163 (i386_collect_gregset): Remove prototype.
4164 (i386_gregset): New declaration.
4165 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4166 structure.
4167 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4168 allocation.
4169
b7611c43
AA
41702014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4171
4172 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4173 (arm_linux_vfpregset): New static regset structures.
4174 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4175 regset structures.
4176 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4177 and 'vfpregset' fields.
4178
a069a2bd
AA
41792014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4180
4181 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4182 (aarch64_linux_fpregset): New static regset structures.
4183 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4184 of regset structures.
4185 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4186 'fpregset' fields.
4187
09424cff
AA
41882014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4189
4190 * regset.h (struct regset): Remove gdbarch field.
4191 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4192 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4193 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4194 Likewise.
4195 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4196 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4197 (ppc32_linux_vsxregset): Likewise.
4198 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4199 via the regcache instead of the regset.
4200 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4201 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4202 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4203 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4204 Likewise.
4205
3ca7dae4
AA
42062014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4207
4208 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4209 Constify structures.
4210 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4211 (alphanbsd_aout_gregset): Likewise.
4212 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4213 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4214 Likewise.
4215 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4216 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4217 Likewise.
4218 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4219 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4220 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4221 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4222 * m88k-tdep.c (m88k_gregset): Likewise.
4223 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4224 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4225 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4226 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4227 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4228 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4229 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4230 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4231 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4232 Likewise.
4233 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4234 * sh-tdep.h (sh_corefile_gregset): Likewise.
4235 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4236 * vax-tdep.c (vax_gregset): Likewise.
4237
5876f503
JK
42382014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4239
4240 Fix TLS access for -static -pthread.
4241 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4242 (try_thread_db_load_1): Initialize it.
4243 (thread_db_get_thread_local_address): Call it if LM is zero.
4244 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4245 * target.h (struct target_ops) (to_get_thread_local_address): Add
4246 load_module_addr comment.
4247
0256a6ac
PA
42482014-05-21 Pedro Alves <palves@redhat.com>
4249
4250 * dcache.c (dcache_read_memory_partial): If reading the cache line
4251 fails, fallback to reading just the memory the caller wanted.
4252
227533ac
DE
42532014-05-20 Doug Evans <dje@google.com>
4254
4255 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4256 instead of get_current_arch.
4257
936d2992
PA
42582014-05-20 Pedro Alves <palves@redhat.com>
4259
4260 * NEWS: Mention that compare-sections now works with all targets.
4261
4262 * remote.c (PACKET_qCRC): New enum value.
4263 (remote_verify_memory): Don't send qCRC if the target has no
4264 execution. Use packet_support/packet_ok. If the target doesn't
4265 support the qCRC packet, fallback to a deep memory copy.
4266 (compare_sections_command): Say "target image" instead of "remote
4267 executable".
4268 (_initialize_remote): Add PACKET_qCRC to the list of config
4269 packets that have no associated command. Extend comment.
4270 * target.c (simple_verify_memory, default_verify_memory): New
4271 function.
4272 * target.h (struct target_ops) <to_verify_memory>: Default to
4273 default_verify_memory.
4274 (simple_verify_memory): New declaration.
4275 * target-delegates.c: Regenerate.
4276
e59fa00f
MM
42772014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4278
4279 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4280
f2205de0
HZ
42812014-05-20 Hui Zhu <hui@codesourcery.com>
4282 Yao Qi <yao@codesourcery.com>
4283
4284 PR backtrace/16558
4285 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4286 and change address of sp and pc.
4287
c4e54771
TT
42882014-05-19 Tom Tromey <tromey@redhat.com>
4289
4290 * gdbtypes.c (rank_function): Use XNEWVEC.
4291 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4292
73051182
DE
42932014-05-19 Doug Evans <dje@google.com>
4294
4295 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4296 build_type_unit_groups and moved closer to only caller. Remove
4297 arguments. All references updated. Remove outdated .gdb_index
4298 comment.
4299 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4300 build_type_psymtabs_1.
4301
8832e7e3
DE
43022014-05-19 Doug Evans <dje@google.com>
4303
4304 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4305 n_type_unit_groups, all_type_unit_groups. All uses removed.
4306 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4307 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4308 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4309 (add_type_unit_group_to_table): Delete.
4310
cd8ae15e
DE
43112014-05-19 Doug Evans <dje@google.com>
4312
4313 * eval.c (evaluate_subexp_standard): Add some comments.
4314
08f4850b
DE
43152014-05-17 Doug Evans <xdje42@gmail.com>
4316
4317 * progspace.c (remove_program_space): Delete, unused.
4318 * progspace.h (remove_program_space): Ditto.
4319
bed8455c
DE
43202014-05-17 Doug Evans <xdje42@gmail.com>
4321
4322 * inferior.c (prune_inferiors): Fix comment.
4323 (remove_inferior_command): Call prune_program_spaces.
4324
8d551b02
DE
43252014-05-16 Doug Evans <dje@google.com>
4326
4327 New command line option -D.
4328 * NEWS: Mention it.
4329 * main.c (set_gdb_data_directory): New function.
4330 (captured_main): Recognize -D. Flag error for --data-directory "".
4331 Call set_gdb_data_directory.
4332 (print_gdb_help): Print --data-directory, -D.
4333 * main.h (set_gdb_data_directory): Declare.
4334 * top.c (staged_gdb_datadir): New static global.
4335 (set_gdb_datadir): Call set_gdb_data_directory
4336 (show_gdb_datadir): New function.
4337 (init_main): Update init of data-directory parameter.
4338
18848e28
GF
43392014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4340
4341 Import the "dirfd" gnulib module.
4342 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4343 * gnulib/aclocal.m4: Update.
4344 * gnulib/config.in: Update.
4345 * gnulib/configure: Update.
4346 * gnulib/import/Makefile.am: Update.
4347 * gnulib/import/Makefile.in: Update.
4348 * gnulib/import/dirfd.c: New.
4349 * gnulib/import/m4/dirfd.m4: New.
4350 * gnulib/import/m4/gnulib-cache.m4: Update.
4351 * gnulib/import/m4/gnulib-comp.m4: Update.
4352
95c64f92
YQ
43532014-05-16 Pierre Muller <muller@sourceware.org>
4354 Yao Qi <yao@codesourcery.com>
4355
4356 * valprint.c (print_wchar): Move the code on checking whether
4357 W is a printable wide char to the default branch of switch
4358 statement below. Call wchar_printable instead of gdb_iswprint.
4359
cac395ea
TM
43602014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4361
19679eca 4362 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4363 ldr.w and ldrd instructions.
4364
83655187
DE
43652014-05-15 Doug Evans <dje@google.com>
4366
4367 * dwarf2read.c (read_structure_type): Delete outdated comments.
4368
dd756689
TT
43692014-05-14 Tom Tromey <tromey@redhat.com>
4370
4371 * macrocmd.c (print_macro_definition): Reindent.
4372
75ddda77
DE
43732014-05-13 Doug Evans <xdje42@gmail.com>
4374
4375 * python/py-cmd.c (cmdpy_completer): Add comment.
4376 (completers): Make const.
4377
b0f16a3e
SM
43782014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4379
4380 * infrun.c (resume): Remove should_resume (unused). Move up
4381 declaration of resume_ptid.
4382
033c3379
TT
43832014-05-13 Tom Tromey <tromey@redhat.com>
4384
4385 * language.h (unop_type_check): Remove.
4386 (binop_type_check): Don't declare.
4387
9b44a3a5
AA
43882014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4389
4390 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4391 call to regcache_raw_collect.
4392
303a33fa
SM
43932014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4394
4395 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4396 mi_console->quote as the quoting character.
4397
196100a0
SM
43982014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4399
4400 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4401
f989a1c8
TT
44022014-04-29 Tom Tromey <tromey@redhat.com>
4403
4404 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4405 "show debug varobj".
4406
9404b58f
KM
44072014-05-07 Kyle McMartin <kyle@redhat.com>
4408
4409 Pushed by Joel Brobecker <brobecker@adacore.com>.
4410 * aarch64-tdep.c (aarch64_software_single_step): New function.
4411 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4412 with aarch64_software_single_step.
4413
5e49ba57
JB
44142014-05-05 Joel Brobecker <brobecker@adacore.com>
4415
4416 GDB 7.7.1 released.
4417
c888a17d
KS
44182014-05-05 Keith Seitz <keiths@redhat.com>
4419
4420 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4421 variable or history value is successfully parsed.
4422
290a839c
YQ
44232014-05-05 Yao Qi <yao@codesourcery.com>
4424 Pedro Alves <palves@redhat.com>
4425
4426 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4427 address of blocks that intersects the requested range. Trim
4428 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4429 sections.
4430 * ctf.c (ctf_xfer_partial): Likewise.
4431
91256dc2
YQ
44322014-05-05 Yao Qi <yao@codesourcery.com>
4433
4434 * printcmd.c (display_command): Remove the check to
4435 target_has_execution.
4436
07284463
MK
44372014-05-03 Mark Kettenis <kettenis@gnu.org>
4438
4439 * ppcobsd-nat.c: Include "obsd-nat.h".
4440 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4441 add_target.
4442 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4443
30a1e6cc
SDJ
44442014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4445
4446 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4447 and 16-bit signed and unsigned arguments. Update comment.
4448 (stap_parse_probe_arguments): Extend code to handle such
4449 arguments. Use warning instead of complaint to notify about
4450 unrecognized bitness.
4451
f33da99a
SDJ
44522014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4453
4454 PR breakpoints/16889
4455 * stap-probe.c (stap_parse_probe_arguments): Simplify
4456 check for non-prefixed probes (i.e., probes whose
4457 arguments do not start with "N@"). Always set the
4458 argument type to a sane value.
4459
95cf3b38
DT
44602014-05-01 David Taylor <dtaylor@emc.com>
4461
4462 * remote.c (compare_sections_command): Add -r option to compare
4463 all loadable read-only sections.
4464
1cfdf534
SC
44652014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4466
4467 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4468 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4469 Update all callers.
4470 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4471 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4472 Remove unused CORE_ADDR argument. Update all callers.
4473
ca4f7f8b
PA
44742014-04-29 Pedro Alves <palves@redhat.com>
4475
4476 * remote.c (struct packet_config) <detect>: Extend comment.
4477 (add_packet_config_cmd): Don't set the config's detect or support
4478 fields here.
4479 (init_all_packet_configs): Also initialize the config's 'detect'
4480 field.
4481 (reset_all_packet_configs_support): New function.
4482 (remote_open_1): Call reset_all_packet_configs_support instead of
4483 init_all_packet_configs.
4484 (_initialize_remote): Initialize all packet configs. Assert that
4485 all packets have an associated command, except a few known
4486 outliers.
4487
11c1ba78
JB
44882014-04-28 Joel Brobecker <brobecker@adacore.com>
4489
4490 * dwarf2read.c (read_subrange_type): Handle dynamic
4491 DW_AT_lower_bound attributes.
4492
8739bc53
JB
44932014-04-28 Joel Brobecker <brobecker@adacore.com>
4494
4495 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4496 dynamic bounds before computing its upper bound.
4497 (ada_discrete_type_low_bound): Same as above with the lower bound.
4498
6f8a3220
JB
44992014-04-28 Joel Brobecker <brobecker@adacore.com>
4500
4501 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4502 range types. Adjust the array handling implementation to
4503 take advantage of this change.
4504 (resolve_dynamic_range): New function, mostly extracted from
4505 resolve_dynamic_bounds.
4506 (resolve_dynamic_array): New function, mostly extracted from
4507 resolve_dynamic_bounds.
4508 (resolve_dynamic_bounds): Delete.
4509 (resolve_dynamic_type): Reimplement. Add handling of
4510 TYPE_CODE_RANGE types.
4511
4d072ce4
JB
45122014-04-28 Joel Brobecker <brobecker@adacore.com>
4513
4514 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4515 handling of parallel ___XA types.
4516
52865325
JB
45172014-04-28 Joel Brobecker <brobecker@adacore.com>
4518
4519 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4520 unnecessary second call to static_unwrap_type.
4521
433e77fa
HZ
45222014-04-27 Hui Zhu <hui@codesourcery.com>
4523
4524 * stack.c (print_frame_info): Call do_gdb_disassembly with
4525 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4526
b51a69ee
DE
45272014-04-26 Doug Evans <xdje42@gmail.com>
4528
4529 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4530
7ae1a6a6
PA
45312014-04-25 Pedro Alves <palves@redhat.com>
4532
4533 PR server/16255
4534 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4535 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4536 and newline from built string.
4537 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4538 (linux_ptrace_attach_fail_reason): ... this.
4539 * linux-nat.c (linux_nat_attach): Adjust to use
4540 linux_ptrace_attach_fail_reason.
4541
4082afcc
PA
45422014-04-25 Pedro Alves <palves@redhat.com>
4543
4544 * remote.c (struct remote_state): Remove multi_process_aware,
4545 non_stop_aware, cond_tracepoints, cond_breakpoints,
4546 breakpoint_commands, fast_tracepoints, static_tracepoints,
4547 install_in_trace, disconnected_tracing,
4548 enable_disable_tracepoints, string_tracing, and
4549 augmented_libraries_svr4_read fields.
4550 (remote_multi_process_p): Move further below in the file.
4551 (struct packet_config): Add comments.
4552 (update_packet_config): Delete function.
4553 (show_packet_config_cmd): Use packet_config_support.
4554 (add_packet_config_cmd): Use NULL as set callback.
4555 (packet_ok): "set remote foo-packet"-style commands no longer
4556 change config->supported -- adjust.
4557 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4558 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4559 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4560 (PACKET_QNonStop, PACKET_multiprocess_feature)
4561 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4562 (PACKET_DisconnectedTracing_feature)
4563 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4564 (set_remote_protocol_packet_cmd): Delete function.
4565 (packet_config_support, packet_support): New functions.
4566 (set_remote_protocol_Z_packet_cmd): Don't call
4567 update_packet_config.
4568 (remote_query_attached, remote_pass_signals)
4569 (remote_program_signals, remote_threads_info)
4570 (remote_threads_extra_info, remote_start_remote): Use
4571 packet_support.
4572 (remote_start_remote): Use packet_config_support and
4573 packet_support.
4574 (init_all_packet_configs): Set all packets to unknown support,
4575 instead of calling update_packet_config.
4576 (remote_check_symbols): Use packet_support.
4577 (remote_supported_packet): Unconditionally set the packet config's
4578 support status.
4579 (remote_multi_process_feature, remote_non_stop_feature)
4580 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4581 (remote_breakpoint_commands_feature)
4582 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4583 (remote_install_in_trace_feature)
4584 (remote_disconnected_tracing_feature)
4585 (remote_enable_disable_tracepoint_feature)
4586 (remote_string_tracing_feature)
4587 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4588 (remote_protocol_features): Adjust to use remote_supported_packet
4589 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4590 "ConditionalTracepoints", "ConditionalBreakpoints",
4591 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4592 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4593 "EnableDisableTracepoints", and "tracenz".
4594 (remote_query_supported): Use packet_support.
4595 (remote_open_1): Adjust.
4596 (extended_remote_attach_1): Use packet_support. Switch on the
4597 result of packet_ok instead of checking whether the packet ended
4598 up disabled.
4599 (remote_vcont_resume): Use packet_support.
4600 (remote_resume, remote_stop_ns, fetch_register_using_p)
4601 (remote_prepare_to_store, store_register_using_P)
4602 (check_binary_download, remote_write_bytes): Use packet_support.
4603 (remote_vkill): Use packet_support. Switch on the result of
4604 packet_ok instead of checking whether the packet ended up
4605 disabled.
4606 (extended_remote_supports_disable_randomization): Use
4607 packet_support.
4608 (extended_remote_run): Switch on the result of packet_ok instead
4609 of checking whether the packet ended up disabled.
4610 (remote_insert_breakpoint, remote_remove_breakpoint)
4611 (remote_insert_watchpoint, remote_remove_watchpoint)
4612 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4613 packet_support.
4614 (remote_search_memory): Use packet_config_support.
4615 (remote_get_thread_local_address, remote_get_tib_address)
4616 (remote_hostio_send_command, remote_can_execute_reverse): Use
4617 packet_support.
4618 (remote_supports_cond_tracepoints)
4619 (remote_supports_cond_breakpoints)
4620 (remote_supports_fast_tracepoints)
4621 (remote_supports_static_tracepoints)
4622 (remote_supports_install_in_trace)
4623 (remote_supports_enable_disable_tracepoint)
4624 (remote_supports_string_tracing)
4625 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4626 the packet config says the feature is enabled or disabled.
4627 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4628 (remote_get_trace_status): Use packet_support.
4629 (remote_set_disconnected_tracing): Adjust to check whether the
4630 feature is enabled with packet_support.
4631 (remote_set_trace_buffer_size, remote_use_agent)
4632 (remote_can_use_agent, remote_supports_btrace): Use
4633 packet_support.
4634 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4635 Use packet_config_support.
4636 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4637 the packet config says the feature is enabled or disabled.
4638 (set_range_stepping): Use packet_support.
4639
bdb52a22
TT
46402014-04-25 Tom Tromey <tromey@redhat.com>
4641
4642 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4643 argument.
4644
e9475ead
SA
46452014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4646
4647 * NEWS: Mention support for C99 variable length arrays.
4648
82eacd52
JB
46492014-04-24 Joel Brobecker <brobecker@adacore.com>
4650
4651 * ada-lang.c (standard_exc): Expand introductory comment.
4652
01f9f808
MS
46532014-04-24 Michael Sturm <michael.sturm@mintel.com>
4654 Walfred Tedeschi <walfred.tedeschi@intel.com>
4655
4656 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4657 AVX512 registers.
4658 (amd64_linux_read_description): Add code to handle AVX512 xstate
4659 mask and return respective tdesc.
4660 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4661 and features/i386/x32-avx512-linux.c.
4662 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4663 (amd64_linux_core_read_description): Add code to handle AVX512
4664 xstate mask and return respective tdesc.
4665 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4666 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4667 calculation.
4668 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4669 (tdesc_amd64_avx512_linux): New prototype.
4670 (tdesc_x32_avx512_linux): Likewise.
4671 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4672 features/i386/x32-avx512.c.
4673 (amd64_ymm_avx512_names): New register names for pseudo
4674 registers YMM16-31.
4675 (amd64_ymmh_avx512_names): New register names for raw registers
4676 YMMH16-31.
4677 (amd64_k_names): New register names for K registers.
4678 (amd64_zmmh_names): New register names for ZMM raw registers.
4679 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4680 (amd64_xmm_avx512_names): New register names for XMM16-31
4681 registers.
4682 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4683 registers.
4684 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4685 if feature is present.
4686 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4687 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4688 (AMD64_NUM_REGS): Adjust to new number of registers.
4689 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4690 registers supplied via XSTATE by AVX512 registers.
4691 (i386_linux_read_description): Add case for AVX512.
4692 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4693 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4694 (i386_linux_core_read_description): Add case for AVX512.
4695 (i386_linux_init_abi): Install supported register note section
4696 for AVX512.
4697 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4698 AVX512.
4699 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4700 registers to be number of zmm7h + 1.
4701 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4702 * i386-tdep.c: Include features/i386/i386-avx512.c.
4703 (i386_zmm_names): Add ZMM pseudo register names array.
4704 (i386_zmmh_names): Add ZMM raw register names array.
4705 (i386_k_names): Add K raw register names array.
4706 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4707 registers. AVX512 has 16 more ZMM registers than there are YMM
4708 registers.
4709 (i386_zmmh_regnum_p): Add function to look up register number of
4710 ZMM raw registers.
4711 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4712 (i386_k_regnum_p): Likewise for K raw registers.
4713 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4714 registers added by AVX512.
4715 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4716 registers added by AVX512.
4717 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4718 added by AVX512.
4719 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4720 (i386_pseudo_register_name): Add ZMM pseudo registers.
4721 (i386_zmm_type): Construct and return vector registers type for ZMM
4722 registers.
4723 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4724 ZMM0-31 pseudo registers and K registers.
4725 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4726 and YMM16-31 registers from register cache.
4727 (i386_pseudo_register_write): Add code to write K, ZMM and
4728 YMM16-31 registers.
4729 (i386_register_reggroup_p): Add code to include/exclude AVX512
4730 registers in/from respective register groups.
4731 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4732 registers if feature is present in xcr0.
4733 (i386_gdbarch_init): Add code to initialize AVX512 feature
4734 variables in tdep structure, wire in pseudo registers and call
4735 initialize_tdesc_i386_avx512.
4736 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4737 variables.
4738 (i386_regnum): Add AVX512 registers.
4739 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4740 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4741 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4742 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4743 512 bits wide.
4744 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4745 (i386_ymm_avx512_regnum_p): Likewise.
4746 (i386_k_regnum_p): Likewise.
4747 (i386_zmm_regnum_p): Likewise.
4748 (i386_zmmh_regnum_p): Likewise.
4749 * i387-tdep.c : Update year in copyright notice.
4750 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4751 XSAVE buffer.
4752 (XSAVE_YMM_AVX512_ADDR): New macro.
4753 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4754 XSAVE buffer.
4755 (XSAVE_XMM_AVX512_ADDR): New macro.
4756 (xsave_avx512_k_offset): New table for K register offsets in
4757 XSAVE buffer.
4758 (XSAVE_AVX512_K_ADDR): New macro.
4759 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4760 in XSAVE buffer.
4761 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4762 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4763 buffer.
4764 (i387_collect_xsave): Add code to collect AVX512 registers from
4765 XSAVE buffer.
4766 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4767 of XMM16-31 registers.
4768 (I387_NUM_K_REGS): New define for number of K registers.
4769 (I387_K0_REGNUM): New define for K0 register number.
4770 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4771 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4772 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4773 registers.
4774 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4775 (I387_XMM16_REGNUM): New define for XMM16 register number.
4776 (I387_YMM0_REGNUM): New define for YMM0 register number.
4777 (I387_KEND_REGNUM): New define for last K register number.
4778 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4779 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4780 number.
4781 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4782 number.
4783 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4784 size.
4785 * features/Makefile: Add AVX512 related files.
4786 * features/i386/32bit-avx512.xml: New file.
4787 * features/i386/64bit-avx512.xml: Likewise.
4788 * features/i386/amd64-avx512-linux.c: Likewise.
4789 * features/i386/amd64-avx512-linux.xml: Likewise.
4790 * features/i386/amd64-avx512.c: Likewise.
4791 * features/i386/amd64-avx512.xml: Likewise.
4792 * features/i386/i386-avx512-linux.c: Likewise.
4793 * features/i386/i386-avx512-linux.xml: Likewise.
4794 * features/i386/i386-avx512.c: Likewise.
4795 * features/i386/i386-avx512.xml: Likewise.
4796 * features/i386/x32-avx512-linux.c: Likewise.
4797 * features/i386/x32-avx512-linux.xml: Likewise.
4798 * features/i386/x32-avx512.c: Likewise.
4799 * features/i386/x32-avx512.xml: Likewise.
4800 * regformats/i386/amd64-avx512-linux.dat: New file.
4801 * regformats/i386/amd64-avx512.dat: Likewise.
4802 * regformats/i386/i386-avx512-linux.dat: Likewise.
4803 * regformats/i386/i386-avx512.dat: Likewise.
4804 * regformats/i386/x32-avx512-linux.dat: Likewise.
4805 * regformats/i386/x32-avx512.dat: Likewise.
4806 * NEWS: Add note about new support for AVX512.
4807
4808
08351840
PA
48092014-04-23 Pedro Alves <palves@redhat.com>
4810
4811 * breakpoint.c (insert_bp_location): Tolerate errors if the
4812 breakpoint is set in a user-loaded objfile.
4813 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4814 location is marked shlib_disabled. If the breakpoint is set in a
4815 user-loaded objfile is a GDB-side memory breakpoint, validate it
4816 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4817 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4818 flag.
4819 * mem-break.c (memory_validate_breakpoint): New function.
4820 * objfiles.c (userloaded_objfile_contains_address_p): New
4821 function.
4822 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4823 * target.h (memory_validate_breakpoint): New declaration.
4824
076855f9
PA
48252014-04-23 Pedro Alves <palves@redhat.com>
4826
4827 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4828 the breakpoint is set in a shared library, only suppress
4829 errors for software breakpoints, not hardware breakpoints.
4830
483805cf
PA
48312014-04-22 Pedro Alves <palves@redhat.com>
4832
4833 * infrun.c (schedlock_applies): New function, factored out from
4834 find_thread_needs_step_over.
4835 (find_thread_needs_step_over): Use it.
4836 (switch_back_to_stepped_thread): Always clear trap_expected if the
4837 step over is finished. Return early if scheduler locking applies.
4838 Look for the stepping thread and a potential step-over thread with
4839 a single loop.
4840 (currently_stepping_or_nexting_callback): Delete.
4841
a75fef0e
NC
48422014-04-22 Nick Clifton <nickc@redhat.com>
4843
4844 * NEWS: Mention that ARM sim now supports tracing.
4845
48b6e87e
YQ
48462014-04-22 Yao Qi <yao@codesourcery.com>
4847
4848 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4849 to ...
4850 * tracefile.c (tracefile_fetch_registers): ... it. New
4851 function.
4852 * tracefile.h (tracefile_fetch_registers): Declare.
4853 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4854 tracefile_fetch_registers.
4855
17617f2d
EZ
48562014-04-19 Eli Zaretskii <eliz@gnu.org>
4857
4858 PR gdb/14018
4859 * windows-nat.c (thread_rec): Don't display a warning when
4860 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4861 fails for any reason, set th->suspended to -1, so that we don't
4862 try to resume such a thread. Also, don't return NULL in these
4863 cases, to avoid completely ruin the session due to "PC register is
4864 not available" error.
4865 (do_windows_fetch_inferior_registers): Check errors in
4866 GetThreadContext call.
4867 (windows_continue): Accept an additional argument KILLED; if not
4868 zero, ignore errors in the SetThreadContext call, since the
4869 inferior was killed and is shutting down.
4870 (windows_resume, get_windows_debug_event)
4871 (windows_create_inferior, windows_mourn_inferior)
4872 (windows_kill_inferior): All callers of windows_continue changed
4873 to adjust to its new calling sequence.
4874
5723a6fd
YQ
48752014-04-19 Yao Qi <yao@codesourcery.com>
4876
4877 * ctf.c (ctf_open): Call post_create_inferior.
4878
614d5099
YQ
48792014-04-19 Yao Qi <yao@codesourcery.com>
4880
4881 * ctf.c (handle_id): New static variable.
4882 (ctf_open_dir): Get handle_id from bt_context_add_trace return
4883 value. Get the declaration of event "register" and get length
4884 of field "contents".
4885
dac3e710
YQ
48862014-04-19 Yao Qi <yao@codesourcery.com>
4887
4888 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
4889
2bca57ba
SC
48902014-04-18 Siva Chandra Reddy <sivachandra@google.com>
4891
4892 * valops.c (oload_method_static): Remove unnecessary argument
4893 METHOD. Update all callers.
4894
51d48146
PA
48952014-04-18 Pedro alves <palves@redhat.com>
4896 Tom Tromey <tromey@redhat.com>
4897
4898 PR backtrace/15558
4899 * frame.c (get_prev_frame_1): Rename to ...
4900 (get_prev_frame_always): ... this, and make extern. Adjust.
4901 (skip_artificial_frames): Use get_prev_frame_always.
4902 (frame_unwind_caller_id, frame_pop, get_prev_frame)
4903 (get_frame_unwind_stop_reason): Adjust to rename.
4904 * frame.h (get_prev_frame_always): Declare.
4905 * inline-frame.c: Include frame.h.
4906 (inline_frame_this_id): Use get_prev_frame_always.
4907
1bdad2e0
TG
49082014-04-18 Tristan Gingold <gingold@adacore.com>
4909
4910 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
4911 code by using bfd_mach_o_get_base_address.
4912
7ce16bd4
UW
49132014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4914
4915 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
4916 (spu_ax_pseudo_register_collect): New function.
4917 (spu_ax_pseudo_register_push_stack): Likewise.
4918 (spu_dwarf_reg_to_regnum): Likewise.
4919 (spu_gdbarch_init): Install them. Append DWARF unwinders.
4920
2ed3c037
UW
49212014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
4922
4923 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
4924 Replace FRAME argument with FRAME_ID.
4925 * gdbarch.c, gdbarch.h: Regenerate.
4926 * findvar.c (default_value_from_register): Add GDBARCH argument;
4927 replace FRAME by FRAME_ID. No longer call get_frame_id.
4928 (value_from_register): Update call to gdbarch_value_from_register.
4929 * value.h (default_value_from_register): Update prototype.
4930 * s390-linux-tdep.c (s390_value_from_register): Update interface
4931 and call to default_value_from_register.
4932 * spu-tdep.c (spu_value_from_register): Likewise.
4933
4934 * findvar.c (address_from_register): Remove TYPE argument.
4935 Do not call value_from_register; use gdbarch_value_from_register
4936 with null_frame_id instead.
4937 * value.h (address_from_register): Update prototype.
4938 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
4939 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
4940 address_from_register interface change.
4941
71e50e83
YQ
49422014-04-17 Yao Qi <yao@codesourcery.com>
4943
4944 * gdbtypes.h: Update comments to link to types and macros'
4945 definitions.
4946
7a23c549
SC
49472014-04-16 Siva Chandra Reddy <sivachandra@google.com>
4948
4949 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
4950
22869d73
KS
49512014-04-16 Keith Seitz <keiths@redhat.com>
4952
4953 PR gdb/15827
4954 * dwarf2read.c (skip_one_die): Check that all relative-offset
4955 sibling DIEs fall within range of the current reader's buffer.
4956 (read_partial_die): Likewise.
4957
c4f87ca6
KS
49582014-04-16 Keith Seitz <keiths@redhat.com>
4959
4960 PR c++/16597
4961 * cp-namespace.c (lookup_symbol_file): If the type name of
4962 `this' is NULL, return immediately.
4963
b50c8614
KS
49642014-04-14 Keith Seitz <keiths@redhat.com>
4965
4966 PR c++/16253
4967 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
4968 from symbol_matches_domain in symtab.c. All local callers
4969 of symbol_matches_domain updated.
4970 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
4971 search STRUCT_DOMAIN.
4972 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
4973 independently. standard_lookup will do that automatically.
4974 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
4975 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4976 (cp_lookup_symbol_in_namespace): Likewise.
4977 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
4978 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
4979 may return a STRUCT_DOMAIN match.
4980 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
4981 * cp-support.c: Include language.h.
4982 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
4983 VAR_DOMAIN.
4984 * psymtab.c (match_partial_symbol): Compare the requested
4985 domain with the symbol's domain directly.
4986 (lookup_partial_symbol): Likewise.
4987 * symtab.c (lookup_symbol_in_language): Explain when/why
4988 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
4989 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
4990 appropriate languages.
4991 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
4992 and moved to ada-lang.c
4993 (lookup_block_symbol): Explain that this function only returns
4994 symbol matching the requested DOMAIN.
4995 Compare the requested domain with the symbol's domain directly.
4996 (iterate_over_symbols): Compare the requested domain with the
4997 symbol's domain directly.
4998 * symtab.h (symbol_matches_domain): Remove.
4999
3d567982
TT
50002014-04-14 Tom Tromey <tromey@redhat.com>
5001
5002 PR c++/15246:
5003 * c-exp.y (type_aggregate_p): New function.
5004 (qualified_name, classify_inner_name): Use it.
5005 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5006 and TYPE_TARGET_TYPE of an enum type.
5007 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5008 an enum type.
5009 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5010 handle TYPE_DECLARED_CLASS.
5011 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5012 types.
5013 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5014 * valops.c (enum_constant_from_type): New function.
5015 (value_aggregate_elt): Use it.
5016 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5017 TYPE_CODE_ENUM.
5018
c848d642
TT
50192014-04-14 Tom Tromey <tromey@redhat.com>
5020
5021 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5022 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5023 const.
5024 * value.h (value_aggregate_elt): Update.
5025
0626fc76
TT
50262014-04-14 Tom Tromey <tromey@redhat.com>
5027
5028 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5029
5ecaaa66
SA
50302014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5031
5032 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5033 (evaluate_subexp_standard): Pass noside argument.
5034 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5035 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5036 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5037 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5038 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5039
1612e0c0
SA
50402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5041
5042 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5043 points to a constant blob.
5044
c451ebe5
SA
50452014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5046
5047 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5048 property and store it as the high bound and flag the range accordingly.
5049 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5050 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5051 * gdbtypes.h (enum range_flags): New enum.
5052 (struct range_bounds): Add flags member.
5053
1d42e4c4
SA
50542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5055
5056 * c-typeprint.c (c_type_print_varspec_suffix): Added
5057 check for not yet resolved high bound. If unresolved, print
5058 "variable length" string to the console instead of random
5059 length.
5060
9f1f738a
SA
50612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5062
5063 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5064 value.
5065 (ada_template_to_fixed_record_type_1): Likewise.
5066 (ada_to_fixed_type_1): Likewise.
5067 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5068 (cp_print_value): Likewise.
5069 * d-valprint.c (dynamic_array_type): Likewise.
5070 * findvar.c (address_of_variable): Likewise.
5071 * jv-valprint.c (java_value_print): Likewise.
5072 * valops.c (value_ind): Likewise.
5073 * value.c (coerce_ref): Likewise.
5074
3c8452d4
SA
50752014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5076
5077 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5078 value and retrieve the dynamic type size.
5079
4ad88275
SA
50802014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5081
5082 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5083 passed to sizeof is dynamic evaluate the argument to compute the length.
5084
80180f79
SA
50852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5086 Joel Brobecker <brobecker@adacore.com>
5087
5088 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5089 (dwarf2_evaluate_property): New function.
5090 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5091 * dwarf2read.c (attr_to_dynamic_prop): New function.
5092 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5093 attribute.
5094 * gdbtypes.c: Include dwarf2loc.h.
5095 (is_dynamic_type): New function.
5096 (resolve_dynamic_type): New function.
5097 (resolve_dynamic_bounds): New function.
5098 (get_type_length): New function.
5099 (check_typedef): Use get_type_length to compute type length.
5100 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5101 (TYPE_LOW_BOUND_KIND): New macro.
5102 (is_dynamic_type): New function prototype.
5103 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5104 to resolve dynamic properties of the type. Update comment.
5105 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5106
a1556843
RH
51072014-04-14 Richard Henderson <rth@redhat.com>
5108
5109 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5110
0be03e84
DE
51112014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5112 Doug Evans <xdje42@gmail.com>
5113
5114 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5115 dereference TYPE_CODE_REF values.
5116
6b662e19
JB
51172014-04-11 Joel Brobecker <brobecker@adacore.com>
5118
5119 Revert the following changes due to regressions:
5120
5121 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5122 (dwarf2_evaluate_property): New function.
5123 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5124 * dwarf2read.c (attr_to_dynamic_prop): New function.
5125 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5126 attribute.
5127 * gdbtypes.c: Include dwarf2loc.h.
5128 (is_dynamic_type): New function.
5129 (resolve_dynamic_type): New function.
5130 (resolve_dynamic_bounds): New function.
5131 (get_type_length): New function.
5132 (check_typedef): Use get_type_length to compute type length.
5133 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5134 (TYPE_LOW_BOUND_KIND): New macro.
5135 (is_dynamic_type): New function prototype.
5136 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5137 to resolve dynamic properties of the type. Update comment.
5138 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5139
5140 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5141 passed to sizeof is dynamic evaluate the argument to compute the length.
5142
5143 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5144 value and retrieve the dynamic type size.
5145
5146 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5147 (ada_template_to_fixed_record_type_1): Likewise.
5148 (ada_to_fixed_type_1): Likewise.
5149 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5150 (cp_print_value): Likewise.
5151 * d-valprint.c (dynamic_array_type): Likewise.
5152 * eval.c (evaluate_subexp_with_coercion): Likewise.
5153 * findvar.c (address_of_variable): Likewise.
5154 * jv-valprint.c (java_value_print): Likewise.
5155 * valops.c (value_ind): Likewise.
5156 * value.c (coerce_ref): Likewise.
5157
5158 * c-typeprint.c (c_type_print_varspec_suffix): Added
5159 check for not yet resolved high bound. If unresolved, print
5160 "variable length" string to the console instead of random
5161 length.
5162
5163 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5164 property and store it as the high bound and flag the range accordingly.
5165 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5166 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5167 * gdbtypes.h (enum range_flags): New enum.
5168 (struct range_bounds): Add flags member.
5169
5170 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5171 points to a constant blob.
5172
5173 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5174 (evaluate_subexp_standard): Pass noside argument.
5175 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5176 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5177 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5178 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5179 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5180
245a5f0b
KS
51812014-04-11 Keith Seitz <keiths@redhat.com>
5182
5183 PR c++/16675
5184 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5185 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5186 reference types.
5187
3bce8237
SA
51882014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5189
5190 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5191 (evaluate_subexp_standard): Pass noside argument.
5192 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5193 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5194 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5195 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5196 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5197
92b09522
SA
51982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5199
5200 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5201 points to a constant blob.
5202
e1969afb
SA
52032014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5204
5205 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5206 property and store it as the high bound and flag the range accordingly.
5207 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5208 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5209 * gdbtypes.h (enum range_flags): New enum.
5210 (struct range_bounds): Add flags member.
5211
b86138fb
SA
52122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5213
5214 * c-typeprint.c (c_type_print_varspec_suffix): Added
5215 check for not yet resolved high bound. If unresolved, print
5216 "variable length" string to the console instead of random
5217 length.
5218
bcd629a4
SA
52192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5220
5221 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5222 (ada_template_to_fixed_record_type_1): Likewise.
5223 (ada_to_fixed_type_1): Likewise.
5224 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5225 (cp_print_value): Likewise.
5226 * d-valprint.c (dynamic_array_type): Likewise.
5227 * eval.c (evaluate_subexp_with_coercion): Likewise.
5228 * findvar.c (address_of_variable): Likewise.
5229 * jv-valprint.c (java_value_print): Likewise.
5230 * valops.c (value_ind): Likewise.
5231 * value.c (coerce_ref): Likewise.
5232
04b19544
SA
52332014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5234
5235 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5236 value and retrieve the dynamic type size.
5237
26cb189f
SA
52382014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5239
5240 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5241 passed to sizeof is dynamic evaluate the argument to compute the length.
5242
37c1ab67
SA
52432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5244
5245 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5246 (dwarf2_evaluate_property): New function.
5247 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5248 * dwarf2read.c (attr_to_dynamic_prop): New function.
5249 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5250 attribute.
5251 * gdbtypes.c: Include dwarf2loc.h.
5252 (is_dynamic_type): New function.
5253 (resolve_dynamic_type): New function.
5254 (resolve_dynamic_bounds): New function.
5255 (get_type_length): New function.
5256 (check_typedef): Use get_type_length to compute type length.
5257 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5258 (TYPE_LOW_BOUND_KIND): New macro.
5259 (is_dynamic_type): New function prototype.
5260 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5261 to resolve dynamic properties of the type. Update comment.
5262 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5263
729efb13
SA
52642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5265
5266 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5267 declaring high/low bounds and change uses accordingly. Call
5268 create_range_type instead of create_static_range_type.
5269 * gdbtypes.c (create_range_type): New function.
5270 (create_range_type): Convert bounds into struct bound_prop and pass
5271 them to create_range_type.
5272 * gdbtypes.h (struct bound_prop): New struct.
5273 (create_range_type): New function prototype.
5274 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5275 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5276 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5277 part of the bound.
5278 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5279
0c9c3474
SA
52802014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5281
5282 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5283 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5284 * ada-lang.c: All uses of create_range_type updated.
5285 * coffread.c: All uses of create_range_type updated.
5286 * dwarf2read.c: All uses of create_range_type updated.
5287 * f-exp.y: All uses of create_range_type updated.
5288 * m2-valprint.c: All uses of create_range_type updated.
5289 * mdebugread.c: All uses of create_range_type updated.
5290 * stabsread.c: All uses of create_range_type updated.
5291 * valops.c: All uses of create_range_type updated.
5292 * valprint.c: All uses of create_range_type updated.
5293
9d497a19
PA
52942014-04-10 Pedro Alves <palves@redhat.com>
5295
5296 * breakpoint.c (single_step_breakpoints)
5297 (single_step_gdbarch): Move up in the file.
5298 (one_breakpoint_xfer_memory): New function, factored out from ...
5299 (breakpoint_xfer_memory): ... here. Also process single-step
5300 breakpoints.
5301
15a9128a
TG
53022014-04-09 Tristan Gingold <gingold@adacore.com>
5303
5304 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5305 comments.
5306 (darwin_decode_exception_message): Free port only after use.
5307
9c97a070
PL
53082014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5309
5310 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5311 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5312 when setting the size of call_length.
5313
7af389b8
SC
53142014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5315
5316 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5317 dereference TYPE_CODE_REF values.
5318
86ad98c3
JB
53192014-04-07 Joel Brobecker <brobecker@adacore.com>
5320
5321 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5322 end of warning message.
5323
b0aeadb3
DE
53242014-04-03 Doug Evans <dje@google.com>
5325
5326 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5327 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5328
5979d6b6
AM
53292014-04-02 Alan Modra <amodra@gmail.com>
5330
5331 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5332 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5333 (struct symbol_file_add_from_memory_args): Add size field.
5334 (find_vdso_size): New function.
5335 (add_vsyscall_page): Attempt to find vdso size.
5336
0d60c288
DE
53372014-04-01 Doug Evans <dje@google.com>
5338
5339 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5340
a41f2563
TG
53412014-04-01 Tristan Gingold <gingold@adacore.com>
5342
5343 * darwin-nat.c (darwin_encode_reply): Add prototype.
5344 (darwin_decode_exception_message): Reply to unknown inferiors.
5345 (darwin_decode_message): Handle message by id. Ignore message
5346 to unknown inferior.
5347 (darwin_wait): Discard unknown messages, add debug trace.
5348
11a865c8
DE
53492014-03-31 Doug Evans <dje@google.com>
5350
5351 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5352 comp_dir_string.
5353
770e7fc7
DE
53542014-03-31 Doug Evans <dje@google.com>
5355
5356 New option "set print symbol-loading".
5357 * NEWS: Mention it.
5358 * solib.c (solib_read_symbols): Only print symbol loading messages
5359 if requested.
5360 (solib_add): If symbol loading is in "brief" mode, notify user
5361 symbols are being loaded.
5362 (reload_shared_libraries_1): Ditto.
5363 * symfile.c (print_symbol_loading_off): New static global.
5364 (print_symbol_loading_brief): New static global.
5365 (print_symbol_loading_full): New static global.
5366 (print_symbol_loading_enums): New static global.
5367 (print_symbol_loading): New static global.
5368 (print_symbol_loading_p): New function.
5369 (symbol_file_add_with_addrs): Only print symbol loading messages
5370 if requested.
5371 (_initialize_symfile): Register "print symbol-loading" set/show
5372 command.
5373 * symfile.h (print_symbol_loading_p): Declare.
5374
c32c64b7
DE
53752014-03-30 Doug Evans <xdje42@gmail.com>
5376
5377 * infrun.c (set_last_target_status): New function.
5378 (handle_inferior_event): Call it.
5379
7c0bc051
DE
53802014-03-30 Doug Evans <xdje42@gmail.com>
5381
5382 * inferior.h (enum stop_kind): Improve comment.
5383
8776cfe9
JB
53842014-03-28 Joel Brobecker <brobecker@adacore.com>
5385
5386 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5387 a reference, strip the reference layer before calling
5388 the lang_ops value_has_mutated callback.
5389
410a0ff2
SDJ
53902014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5391
5392 Remove some globals from our parser.
5393 * language.c (unk_lang_parser): Add "struct parser_state"
5394 argument.
5395 * language.h (struct language_defn) <la_parser>: Likewise.
5396 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5397 (initialize_expout): Add "struct parser_state" argument.
5398 Rewrite function to use the parser state.
5399 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5400 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5401 write_exp_elt_longcst, write_exp_elt_dblcst,
5402 write_exp_elt_decfloatcst, write_exp_elt_type,
5403 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5404 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5405 write_dollar_variable): Likewise.
5406 (parse_exp_in_context_1): Use parser state.
5407 (insert_type_address_space): Add "struct parser_state" argument.
5408 Use parser state.
5409 (increase_expout_size): New function.
5410 * parser-defs.h: Forward declare "struct language_defn" and
5411 "struct parser_state".
5412 (expout, expout_size, expout_ptr): Remove extern declarations.
5413 (parse_gdbarch, parse_language): Rewrite macro declarations to
5414 accept the parser state.
5415 (struct parser_state): New struct.
5416 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5417 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5418 write_exp_elt_decfloatcst, write_exp_elt_type,
5419 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5420 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5421 write_exp_msymbol, write_dollar_variable,
5422 mark_struct_expression, insert_type_address_space): Add "struct
5423 parser_state" argument.
5424 (increase_expout_size): New function.
5425 * utils.c (do_clear_parser_state): New function.
5426 (make_cleanup_clear_parser_state): Likewise.
5427 * utils.h (make_cleanup_clear_parser_state): New function
5428 prototype.
5429 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5430 Update calls to write_exp* in order to pass the parser state.
5431 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5432 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5433 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5434 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5435 * stap-probe.c (stap_parse_register_operand): Likewise.
5436 (stap_parse_single_operand): Likewise.
5437 (stap_parse_argument_1): Likewise.
5438 (stap_parse_argument): Use parser state.
5439 * stap-probe.h: Include "parser-defs.h".
5440 (struct stap_parse_info) <pstate>: New field.
5441 * c-exp.y (parse_type): Rewrite to use parser state.
5442 (yyparse): Redefine to c_parse_internal.
5443 (pstate): New global variable.
5444 (parse_number): Add "struct parser_state" argument.
5445 (write_destructor_name): Likewise.
5446 (type_exp): Update calls to write_exp* and similars in order to
5447 use parser state.
5448 (exp1, exp, variable, qualified_name, space_identifier,
5449 typename, typebase): Likewise.
5450 (write_destructor_name, parse_number, lex_one_token,
5451 classify_name, classify_inner_name, c_parse): Add "struct
5452 parser_state" argument. Update function to use parser state.
5453 * c-lang.h: Forward declare "struct parser_state".
5454 (c_parse): Add "struct parser_state" argument.
5455 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5456 (yyparse): Redefine macro to ada_parse_internal.
5457 (pstate): New variable.
5458 (write_int, write_object_renaming, write_var_or_type,
5459 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5460 type_int, type_long, type_long_long, type_float, type_double,
5461 type_long_double, type_char, type_boolean, type_system_address):
5462 Add "struct parser_state" argument.
5463 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5464 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5465 var_or_type, aggregate, aggregate_component_list,
5466 positional_list, others, component_group,
5467 component_associations): Update calls to write_exp* and similar
5468 functions in order to use parser state.
5469 (ada_parse, write_var_from_sym, write_int,
5470 write_exp_op_with_string, write_object_renaming,
5471 find_primitive_type, write_selectors, write_ambiguous_var,
5472 write_var_or_type, write_name_assoc, type_int, type_long,
5473 type_long_long, type_float, type_double, type_long_double,
5474 type_char, type_boolean, type_system_address): Add "struct
5475 parser_state" argument. Adjust function to use parser state.
5476 * ada-lang.c (parse): Likewise.
5477 * ada-lang.h: Forward declare "struct parser_state".
5478 (ada_parse): Add "struct parser_state" argument.
5479 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5480 calls to both functions.
5481 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5482 parser state.
5483 (yyparse): Redefine macro to f_parse_internal.
5484 (pstate): New variable.
5485 (parse_number): Add "struct parser_state" argument.
5486 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5487 and similars in order to use parser state.
5488 (parse_number): Adjust code to use parser state.
5489 (yylex): Likewise.
5490 (f_parse): New function.
5491 * f-lang.h: Forward declare "struct parser_state".
5492 (f_parse): Add "struct parser_state" argument.
5493 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5494 parser state.
5495 (yyparse): Redefine macro for java_parse_internal.
5496 (pstate): New variable.
5497 (push_expression_name, push_expression_name, insert_exp): Add
5498 "struct parser_state" argument.
5499 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5500 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5501 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5502 PostIncrementExpression, PostDecrementExpression,
5503 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5504 UnaryExpressionNotPlusMinus, CastExpression,
5505 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5506 RelationalExpression, EqualityExpression, AndExpression,
5507 ExclusiveOrExpression, InclusiveOrExpression,
5508 ConditionalAndExpression, ConditionalOrExpression,
5509 ConditionalExpression, Assignment, LeftHandSide): Update
5510 calls to write_exp* and similars in order to use parser state.
5511 (parse_number): Ajust code to use parser state.
5512 (yylex): Likewise.
5513 (java_parse): New function.
5514 (push_variable): Add "struct parser_state" argument. Adjust
5515 code to user parser state.
5516 (push_fieldnames, push_qualified_expression_name,
5517 push_expression_name, insert_exp): Likewise.
5518 * jv-lang.h: Forward declare "struct parser_state".
5519 (java_parse): Add "struct parser_state" argument.
5520 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5521 parser state.
5522 (yyparse): Redefine macro to m2_parse_internal.
5523 (pstate): New variable.
5524 (type_exp, exp, fblock, variable, type): Update calls to
5525 write_exp* and similars to use parser state.
5526 (yylex): Likewise.
5527 (m2_parse): New function.
5528 * m2-lang.h: Forward declare "struct parser_state".
5529 (m2_parse): Add "struct parser_state" argument.
5530 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5531 * objc-lang.h: Forward declare "struct parser_state".
5532 (end_msglist): Add "struct parser_state" argument.
5533 * p-exp.y (parse_type): Rewrite macro to use parser state.
5534 (yyparse): Redefine macro to pascal_parse_internal.
5535 (pstate): New variable.
5536 (parse_number): Add "struct parser_state" argument.
5537 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5538 write_exp* and similars in order to use parser state.
5539 (parse_number, yylex): Adjust code to use parser state.
5540 (pascal_parse): New function.
5541 * p-lang.h: Forward declare "struct parser_state".
5542 (pascal_parse): Add "struct parser_state" argument.
5543 * go-exp.y (parse_type): Rewrite macro to use parser state.
5544 (yyparse): Redefine macro to go_parse_internal.
5545 (pstate): New variable.
5546 (parse_number): Add "struct parser_state" argument.
5547 (type_exp, exp1, exp, variable, type): Update calls to
5548 write_exp* and similars in order to use parser state.
5549 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5550 to use parser state.
5551 (go_parse): Likewise.
5552 * go-lang.h: Forward declare "struct parser_state".
5553 (go_parse): Add "struct parser_state" argument.
5554
342587c4
DE
55552014-03-27 Doug Evans <dje@google.com>
5556
5557 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5558
33e80786
DE
55592014-03-27 Doug Evans <dje@google.com>
5560
5561 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5562 Remove argument abbrev_section. All callers updated.
5563
1dbab08b
DE
55642014-03-27 Doug Evans <dje@google.com>
5565
5566 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5567 addr_base, ranges_base.
5568
318d3177
KS
55692014-03-26 Keith Seitz <keiths@redhat.com>
5570
5571 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5572 types, not VAR_DOMAIN.
5573
1e54db15
SL
55742014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5575
5576 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5577 "ra" registers.
5578 * features/nios2-linux.c: Regenerated.
5579 * features/nios2.c: Regenerated.
5580
d3839ede
PA
55812014-03-25 Pedro Alves <palves@redhat.com>
5582
5583 * cli/cli-script.c (script_from_file): Force the interpreter to
5584 sync mode.
5585
7588d2ec
PL
55862014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5587
5588 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5589 small stack allocation.
5590
a6290449
TG
55912014-03-24 Tristan Gingold <gingold@adacore.com>
5592
5593 * darwin-nat.c (exc_server): Remove unused prototype.
5594 (darwin_dump_message): Correctly display data on x86_64.
5595 (darwin_encode_reply): Fix style.
5596 Add comments and fix indentation.
5597
31ae9d24 55982014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
5599
5600 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5601
6339bfc4
DE
56022014-03-22 Doug Evans <xdje42@gmail.com>
5603
5604 * infcmd.c: Whitespace fixes.
5605 (interrupt_command): Merge two function comments into one.
5606
0a07590b
DE
56072014-03-22 Doug Evans <xdje42@gmail.com>
5608
5609 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5610 All uses updated.
5611
b55fbac4
YQ
56122014-03-22 Yao Qi <yao@codesourcery.com>
5613
5614 * remote.c (target_read_live_memory): Remove.
5615 (memory_xfer_live_readonly_partial): Rename it to
5616 remote_xfer_live_readonly_partial. Remove argument 'object'.
5617 All callers updated. Call remote_read_bytes_1
5618 instead of target_read_live_memory.
5619 * tracepoint.c (set_traceframe_number): Remove.
5620 (make_cleanup_restore_traceframe_number): Likewise .
5621 * tracepoint.h (set_traceframe_number): Remove declaration.
5622 (make_cleanup_restore_traceframe_number): Likewise.
5623
9217e74e
YQ
56242014-03-22 Yao Qi <yao@codesourcery.com>
5625
5626 * remote.c (remote_read_bytes): Move code on reading from the
5627 remote stub to ...
5628 (remote_read_bytes_1): ... here. New function.
5629
8acf9577
YQ
56302014-03-22 Yao Qi <yao@codesourcery.com>
5631
5632 * ctf.c (ctf_xfer_partial): Check the return value of
5633 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5634 return TARGET_XFER_UNAVAILABLE.
5635 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5636 * target.c (target_read_live_memory): Move it to remote.c.
5637 (memory_xfer_live_readonly_partial): Likewise.
5638 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5639 * remote.c (target_read_live_memory): Moved from target.c.
5640 (memory_xfer_live_readonly_partial): Likewise.
5641 (remote_read_bytes): Factored out from
5642 memory_xfer_partial_1.
5643
feef67ab
DE
56442014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5645
5646 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5647 NULL pointer.
5648
b65dc60b
PA
56492014-03-21 Pedro Alves <palves@redhat.com>
5650
5651 * infrun.c (normal_stop): Extend comment.
5652
b4ab256d
HZ
56532014-03-21 Hui Zhu <hui@codesourcery.com>
5654 Pedro Alves <palves@redhat.com>
5655
5656 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5657 static buffer.
5658 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5659 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5660 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5661
deba7593
MR
56622014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5663
5664 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5665 `z' formatted output modifier.
5666
1bff71c3
SDJ
56672014-03-20 Tom Tromey <tromey@redhat.com>
5668 Sergio Durigan Junior <sergiodj@redhat.com>
5669
5670 * probe.c (parse_probes): Turn assert into an ordinary error.
5671 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5672 exceptions when parsing probes. Rearrange the code for clarity.
5673
90e28950
TT
56742014-03-20 Tom Tromey <tromey@redhat.com>
5675
5676 PR gdb/14135
5677 * top.c (execute_command): Only dispatch events if the command
5678 started the target.
5679
beb460e8
PA
56802014-03-20 Tom Tromey <tromey@redhat.com>
5681
5682 PR cli/15718
5683 * infcall.c: Include event-top.h.
5684 (run_inferior_call): Call async_disable_stdin if needed.
5685
99619bea
PA
56862014-03-20 Pedro Alves <palves@redhat.com>
5687
5688 * infrun.c (prepare_to_proceed): Delete.
5689 (thread_still_needs_step_over): New function.
5690 (find_thread_needs_step_over): New function.
5691 (proceed): If the current thread needs a step-over, set its
5692 steping_over_breakpoint flag. Adjust to use
5693 find_thread_needs_step_over instead of prepare_to_proceed.
5694 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5695 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5696 breakpoint.
5697 (switch_back_to_stepped_thread): Step over breakpoints of all
5698 threads not the stepping thread, before switching back to the
5699 stepping thread.
5700
2adfaa28
PA
57012014-03-20 Pedro Alves <palves@redhat.com>
5702
5703 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5704 extern.
5705 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5706 * infrun.c (saved_singlestep_ptid)
5707 (stepping_past_singlestep_breakpoint): Delete.
5708 (resume): Remove stepping_past_singlestep_breakpoint handling.
5709 (proceed): Store the prev_pc of the stepping thread too.
5710 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5711 singlestep_pc.
5712 (enum infwait_states): Delete infwait_thread_hop_state.
5713 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5714 field.
5715 (handle_inferior_event): Adjust.
5716 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5717 handling and the thread-hop code. Before removing single-step
5718 breakpoints, check whether the thread hit a single-step breakpoint
5719 of another thread. If it did, the trap is not a random signal.
5720 (switch_back_to_stepped_thread): If the event thread hit a
5721 single-step breakpoint, unblock it before switching to the
5722 stepping thread. Handle the case of the stepped thread having
5723 advanced already.
5724 (keep_going): Handle the case of the current thread moving past a
5725 single-step breakpoint.
5726
31e77af2
PA
57272014-03-20 Pedro Alves <palves@redhat.com>
5728
5729 PR breakpoints/7143
5730 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5731 are being stepped over.
5732 (breakpoint_address_match): Make extern.
5733 * breakpoint.h (breakpoint_address_match): New declaration.
5734 * inferior.h (stepping_past_instruction_at): New declaration.
5735 * infrun.c (struct step_over_info): New type.
5736 (step_over_info): New global.
5737 (set_step_over_info, clear_step_over_info)
5738 (stepping_past_instruction_at): New functions.
5739 (handle_inferior_event): Clear the step-over info when
5740 trap_expected is cleared.
5741 (resume): Remove now stale comment.
5742 (clear_proceed_status): Clear step-over info.
5743 (proceed): Adjust step-over handling to set or clear the step-over
5744 info instead of removing all breakpoints.
5745 (handle_signal_stop): When setting up a thread-hop, don't remove
5746 breakpoints here.
5747 (stop_stepping): Clear step-over info.
5748 (keep_going): Adjust step-over handling to set or clear step-over
5749 info and then always inserting breakpoints, instead of removing
5750 all breakpoints when stepping over one.
5751
b9f437de
PA
57522014-03-20 Pedro Alves <palves@redhat.com>
5753
5754 * infrun.c (previous_inferior_ptid): Adjust comment.
5755 (deferred_step_ptid): Delete.
5756 (infrun_thread_ptid_changed, prepare_to_proceed)
5757 (init_wait_for_inferior): Adjust.
5758 (handle_signal_stop): Delete deferred_step_ptid handling.
5759
06c868a8
JK
57602014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5761
5762 PR gdb/15358
5763 * defs.h (sync_quit_force_run): New declaration.
5764 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5765 * event-top.c (async_sigterm_handler): New declaration.
5766 (async_sigterm_token): New variable.
5767 (async_init_signals): Create also async_sigterm_token.
5768 (async_sigterm_handler): New function.
5769 (sync_quit_force_run): New variable.
5770 (handle_sigterm): Replace quit_force call by other calls.
5771 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5772
dea80df0
MR
57732014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5774
5775 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5776 offset into SPE pseudo registers.
5777
0c7e1a46
PA
57782014-03-18 Pedro Alves <palves@redhat.com>
5779
5780 PR gdb/13860
5781 * inferior.h (print_stop_event): Declare.
5782 * infrun.c (print_stop_event): New, factored out from ...
5783 (normal_stop): ... this.
5784 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5785 of bpstat_print/print_stack_frame.
5786
9c1fcd01
TT
57872014-03-17 Tom Tromey <tromey@redhat.com>
5788
5789 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5790
11aa919a
PMR
57912014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5792
5793 * ada-lang.c (decode_constrained_packed_array): Perform a
5794 minimal coercion for reference with coerce_ref instead of
5795 ada_coerce_ref.
5796
d4ccb5e0
TG
57972014-03-17 Tristan Gingold <gingold@adacore.com>
5798
5799 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5800 (darwin_solib_create_inferior_hook): Emit a warning if version
5801 is unhandled.
5802
49840f2a
UW
58032014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5804
5805 * python/py-value.c (get_field_flag): Cast flag_name argument to
5806 PyObject_GetAttrString to support Python 2.4.
5807
ed4123e5
JK
58082014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5809
5810 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5811 (Global Maintainers): Remove Jan Kratochvil.
5812
d6b64346
PA
58132014-03-14 Pedro Alves <palves@redhat.com>
5814
5815 * inferior.h (terminal_ours_for_output): Rename to ...
5816 (child_terminal_ours_for_output): ... this.
5817 (terminal_save_ours): Rename to ...
5818 (child_terminal_save_ours): ... this.
5819 (terminal_ours): Rename to ...
5820 (child_terminal_ours): ... this.
5821 (terminal_inferior): Rename to ...
5822 (child_terminal_inferior): ... this.
5823 (terminal_init_inferior): Rename to ...
5824 (child_terminal_init_inferior): ... this.
5825 (terminal_init_inferior_with_pgrp): Rename to ...
5826 (child_terminal_init_inferior_with_pgrp): ... this.
5827 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5828 (child_terminal_init_with_pgrp): ... this.
5829 (terminal_save_ours): Rename to ...
5830 (child_terminal_save_ours): ... this.
5831 (terminal_init_inferior): Rename to ...
5832 (child_terminal_init): ... this. Adjust.
5833 (terminal_inferior): Rename to ...
5834 (child_terminal_inferior): ... this.
5835 (terminal_ours_for_output): Rename to ...
5836 (child_terminal_ours_for_output): ... this. Adjust.
5837 (terminal_ours): Rename to ...
5838 (child_terminal_ours): ... this.
5839 (terminal_ours_1): Rename to ...
5840 (child_terminal_ours_1): ... this. Adjust.
5841 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5842 * windows-nat.c (do_initial_windows_stuff): Adjust.
5843 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5844 (gnu_terminal_init): ... this. Adjust.
5845 (gnu_target): Adjust.
5846 * inf-child.c (inf_child_target): Adjust.
5847
5a1e8c7a
DE
58482014-03-13 Doug Evans <xdje42@gmail.com>
5849
5850 PR guile/16612
5851 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5852 new eq?-hashtab.
5853
350e1a76
DE
58542014-03-13 Doug Evans <xdje42@gmail.com>
5855
5856 * value.c (record_latest_value): Call release_value_or_incref
5857 instead of release_value.
5858
a69900ae
PA
58592014-03-13 Pedro Alves <palves@redhat.com>
5860
5861 * procfs.c (procfs_target): Don't override to_shortname,
5862 to_longname or to_doc.
5863
5db9f0bd
PA
58642014-03-13 Pedro Alves <palves@redhat.com>
5865
5866 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5867 Unix in user visible strings.
5868
5e3a2c38
SS
58692014-03-12 Stan Shebs <stan@codesourcery.com>
5870
5871 * gdbtypes.h: Annotate comments for Doxygen, add a page
5872 block comment with some general info.
5873
8bc2fe48
PA
58742014-03-12 Pedro Alves <palves@redhat.com>
5875
5876 * infcmd.c (prepare_execution_command): New function, factored out
5877 from several execution commands.
5878 (run_command_1, continue_command, step_1, jump_command)
5879 (signal_command, until_command, advance_command, finish_command)
5880 (attach_command): Use prepare_execution_command.
5881
638c5f49
OJ
58822014-03-12 Omair Javaid <omair.javaid@linaro.org>
5883
5884 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
5885 (MAX_BPTS): Define.
5886 (MAX_WPTS): Define.
5887 (struct arm_linux_thread_points): Removed.
5888 (struct arm_linux_process_info): New.
5889 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
5890 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
5891 (arm_linux_find_breakpoints_by_tid): Removed.
5892 (struct arch_lwp_info): New.
5893 (arm_linux_find_process_pid): New functions.
5894 (arm_linux_add_process): New functions.
5895 (arm_linux_process_info_get): New functions.
5896 (arm_linux_forget_process): New function.
5897 (arm_linux_get_debug_reg_state): New function.
5898 (struct update_registers_data): New.
5899 (update_registers_callback): New function.
5900 (arm_linux_insert_hw_breakpoint1): Updated.
5901 (arm_linux_remove_hw_breakpoint1): Updated.
5902 (arm_linux_insert_hw_breakpoint): Updated.
5903 (arm_linux_remove_hw_breakpoint): Updated.
5904 (arm_linux_insert_watchpoint): Updated.
5905 (arm_linux_remove_watchpoint): Updated.
5906 (arm_linux_new_thread): Updated.
5907 (arm_linux_prepare_to_resume): New function.
5908 (arm_linux_new_fork): New function.
5909 (_initialize_arm_linux_nat): Updated.
5910
6d03af93
PA
59112014-03-12 Pedro Alves <palves@redhat.com>
5912
5913 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
5914
b3ccfe11
TT
59152014-03-12 Tom Tromey <tromey@redhat.com>
5916
5917 * inf-child.c (return_zero): New function.
5918 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
5919 * aix-thread.c (aix_thread_inferior_created): New function.
5920 (aix_thread_attach): Remove.
5921 (init_aix_thread_ops): Don't set to_attach.
5922 (_initialize_aix_thread): Register inferior_created observer.
5923 * corelow.c (init_core_ops): Don't set to_attach or
5924 to_create_inferior.
5925 * exec.c (init_exec_ops): Don't set to_attach or
5926 to_create_inferior.
5927 * infcmd.c (run_command_1): Use find_run_target. Make direct
5928 target calls.
5929 (attach_command): Use find_attach_target. Make direct target
5930 calls.
5931 * record-btrace.c (init_record_btrace_ops): Don't set
5932 to_create_inferior.
5933 * record-full.c (record_full_can_async_p, record_full_is_async_p):
5934 Remove.
5935 (init_record_full_ops, init_record_full_core_ops): Update. Don't
5936 set to_create_inferior.
5937 * target.c (complete_target_initialization): Add assertion.
5938 (target_create_inferior): Remove.
5939 (find_default_attach, find_default_create_inferior): Remove.
5940 (find_attach_target, find_run_target): New functions.
5941 (find_default_is_async_p, find_default_can_async_p)
5942 (target_supports_non_stop, target_attach): Remove.
5943 (init_dummy_target): Don't set to_create_inferior or
5944 to_supports_non_stop.
5945 * target.h (struct target_ops) <to_attach>: Add comment. Remove
5946 TARGET_DEFAULT_FUNC.
5947 <to_create_inferior>: Add comment.
5948 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
5949 TARGET_DEFAULT_RETURN.
5950 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
5951 (find_attach_target, find_run_target): Declare.
5952 (target_create_inferior): Remove.
5953 (target_has_execution_1): Update comment.
5954 (target_supports_non_stop): Remove.
5955 * target-delegates.c: Rebuild.
5956
91f83b02
PA
59572014-03-12 Pedro Alves <palves@redhat.com>
5958
5959 * inf-child.h: Update comment to not mention Unix.
5960
f1aea813
PA
59612014-03-12 Pedro Alves <palves@redhat.com>
5962
5963 * inf-child.c: Update top comment to not mention Unix. Add
5964 generic comment describing how this target is meant to be used.
5965 (inf_child_post_attach, inf_child_post_startup_inferior)
5966 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
5967 Unix in comment.
5968
ee8e9165
PA
59692014-03-12 Pedro Alves <palves@redhat.com>
5970
5971 * nto-procfs.c: Include inf-child.h.
5972 (procfs_ops): Delete global.
5973 (procfs_can_run): Delete method.
5974 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
5975 target pointer instead of referencing procfs_ops.
5976 (procfs_prepare_to_store): Delete.
5977 (init_procfs_ops): Delete function.
5978 (procfs_target): New function, based on init_procfs_ops, but
5979 inherit inf_child_target.
5980 (_initialize_procfs): Use procfs_target.
5981
51a9c8c5
PA
59822014-03-12 Pedro Alves <palves@redhat.com>
5983
5984 * windows-nat.c: Include inf-child.h.
5985 (windows_ops): Delete global.
5986 (windows_open, windows_prepare_to_store, windows_can_run): Delete
5987 methods.
5988 (init_windows_ops): Delete function.
5989 (windows_target): New function, based on init_windows_ops, but
5990 inherit inf_child_target.
5991 (_initialize_windows_nat): Use windows_target. Install x86
5992 specific target methods here.
5993
c1966e26
DE
59942014-03-10 Doug Evans <xdje42@gmail.com>
5995
5996 * guile/guile.c (call_initialize_gdb_module): New function.
5997 (initialize_guile): Replace call to scm_init_guile with call to
5998 scm_with_guile.
5999
023db19c
JB
60002014-03-10 Joel Brobecker <brobecker@adacore.com>
6001
6002 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6003 in call to TYPE_CODE macro.
6004
5ec18f2b
JG
60052014-03-10 Jerome Guitton <guitton@adacore.com>
6006
8668be63
JB
6007 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6008 Resolve tagged types to full view.
5ec18f2b 6009
7d03f2eb
HZ
60102014-03-10 Hui Zhu <hui@codesourcery.com>
6011
6012 * target.h (target_insert_breakpoint): Remove "hardware" from its
6013 comments.
6014
c5164cbc
DE
60152014-03-07 Doug Evans <dje@google.com>
6016
6017 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6018
c4a3fee2
DE
60192014-03-07 Doug Evans <dje@google.com>
6020
6021 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6022 Remove unused local comp_dir_attr. Assert exactly one of
6023 stub_comp_unit_die, stub_comp_dir is non-NULL.
6024
3156469c
JB
60252014-03-07 Joel Brobecker <brobecker@adacore.com>
6026
6027 * target.h (complete_target_initialization, add_target):
6028 Add comment.
6029
c1a7b7c6
PA
60302014-03-07 Pedro Alves <palves@redhat.com>
6031
6032 * go32-nat.c: Include inf-child.h.
6033 (go32_ops): Delete global.
6034 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6035 Delete methods.
6036 (go32_create_inferior): Push the passed in target pointer instead
6037 of referencing go32_ops.
6038 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6039 (go32_target): New function, based on init_go32_ops, but inherit
6040 inf_child_target.
6041 (_initialize_go32_nat): Use go32_target. Move parts of
6042 init_go32_ops here.
6043
d3c1a85f
JB
60442014-03-06 Joel Brobecker <brobecker@adacore.com>
6045
6046 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6047 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6048 SYMBOL_VALUE_ADDRESS.
6049 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6050
5fa1d40e
YQ
60512014-03-06 Yao Qi <yao@codesourcery.com>
6052
6053 * breakpoint.c (get_tracepoint_by_number): Remove argument
6054 optional_p. All callers updated. Adjust comments. Update
6055 output message.
6056 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6057
0c13193f
YQ
60582014-03-06 Yao Qi <yao@codesourcery.com>
6059
6060 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6061 early if get_number returns zero. Use 'p' instead of 'args'.
6062
2217da06
YQ
60632014-03-06 Yao Qi <yao@codesourcery.com>
6064
6065 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6066 message.
6067
cc3da688
YQ
60682014-03-06 Yao Qi <yao@codesourcery.com>
6069
6070 PR breakpoints/16508
6071 * tracepoint.c (check_trace_running): New function.
6072 (trace_find_command): Move code to check_trace_running and
6073 call check_trace_running.
6074 (trace_find_pc_command): Likewise.
6075 (trace_find_tracepoint_command): Likewise.
6076 (trace_find_line_command): Likewise.
6077 (trace_find_range_command): Likewise.
6078 * tracepoint.h (check_trace_running): Likewise.
6079 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6080
6a5f844b
YQ
60812014-03-06 Yao Qi <yao@codesourcery.com>
6082
6083 * target.h (struct target_ops) <to_traceframe_info>: Use
6084 TARGET_DEFAULT_NORETURN (tcomplain ()).
6085 * target-delegates.c: Regenerated.
6086
0f26cec1
PA
60872014-03-05 Pedro Alves <palves@redhat.com>
6088
6089 PR gdb/16575
6090 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6091 void. Update comment.
6092 (dcache_xfer_memory): Delete.
6093 (dcache_read_memory_partial): New, based on the read bits of
6094 dcache_xfer_memory.
6095 (dcache_update): Add status parameter. Use ULONGEST for len, and
6096 adjust. Discard cache lines if the reason for the update was
6097 error.
6098 * dcache.h (dcache_xfer_memory): Delete declaration.
6099 (dcache_read_memory_partial): New declaration.
6100 (dcache_update): Update prototype.
6101 * target.c (raw_memory_xfer_partial): Update the dcache here.
6102 (memory_xfer_partial_1): Don't handle dcache writes here.
6103
b2b255bd
MF
61042014-03-05 Mike Frysinger <vapier@gentoo.org>
6105
6106 * remote-sim.c (gdbsim_load): Add const to prog.
6107
5d9cf8a4
TT
61082014-03-03 Tom Tromey <tromey@redhat.com>
6109
6110 * elfread.c (probe_key): Change to bfd_data.
6111 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6112 now per-BFD, not per-objfile.
6113 * stap-probe.c (stap_probe_destroy): Update comment.
6114 (handle_stap_probe): Allocate on the per-BFD obstack.
6115
729662a5
TT
61162014-03-03 Tom Tromey <tromey@redhat.com>
6117
6118 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6119 * breakpoint.c (create_longjmp_master_breakpoint): Use
6120 get_probe_address.
6121 (add_location_to_breakpoint, bkpt_probe_insert_location)
6122 (bkpt_probe_remove_location): Update.
6123 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6124 * elfread.c (elf_symfile_relocate_probe): Remove.
6125 (elf_probe_fns): Update.
6126 (insert_exception_resume_breakpoint): Change type of "probe"
6127 parameter to bound_probe.
6128 (check_exception_resume): Update.
6129 * objfiles.c (objfile_relocate1): Don't relocate probes.
6130 * probe.c (bound_probe_s): New typedef.
6131 (parse_probes): Use get_probe_address. Set sal's objfile.
6132 (find_probe_by_pc): Return a bound_probe.
6133 (collect_probes): Return a VEC(bound_probe_s).
6134 (compare_probes): Update.
6135 (gen_ui_out_table_header_info): Change type of "probes"
6136 parameter. Update.
6137 (info_probes_for_ops): Update.
6138 (get_probe_address): New function.
6139 (probe_safe_evaluate_at_pc): Update.
6140 * probe.h (struct probe_ops) <get_probe_address>: New field.
6141 <set_semaphore, clear_semaphore>: Add objfile parameter.
6142 (struct probe) <objfile>: Remove field.
6143 <arch>: New field.
6144 <address>: Update comment.
6145 (struct bound_probe): New.
6146 (find_probe_by_pc): Return a bound_probe.
6147 (get_probe_address): Declare.
6148 * solib-svr4.c (struct probe_and_action) <address>: New field.
6149 (hash_probe_and_action, equal_probe_and_action): Update.
6150 (register_solib_event_probe): Add address parameter.
6151 (solib_event_probe_at): Update.
6152 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6153 get_probe_address.
6154 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6155 (stap_get_probe_address): New function.
6156 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6157 (compile_probe_arg): Update.
6158 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6159 address.
6160 (handle_stap_probe): Don't relocate the probe.
6161 (stap_relocate): Remove.
6162 (stap_gen_info_probes_table_values): Update.
6163 (stap_probe_ops): Remove stap_relocate.
6164 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6165 (debug_sym_probe_fns): Update.
6166 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6167 * symtab.c (init_sal): Use memset.
6168 * symtab.h (struct symtab_and_line) <objfile>: New field.
6169 * tracepoint.c (start_tracing, stop_tracing): Update.
6170
ff887920
TT
61712014-03-03 Tom Tromey <tromey@redhat.com>
6172
6173 * probe.h (parse_probes, find_probe_by_pc)
6174 (find_probes_in_objfile): Fix comments.
6175
f0407826
DE
61762014-03-02 Doug Evans <xdje42@gmail.com>
6177
6178 * infrun.c (handle_signal_stop): Replace test for
6179 TARGET_WAITKIND_STOPPED with an assert.
6180
35e6a711
DE
61812014-03-02 Doug Evans <xdje42@gmail.com>
6182
6183 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6184
667f9d0b
DE
61852014-03-02 Doug Evans <xdje42@gmail.com>
6186
6187 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6188
dc92ace0
MK
61892014-03-01 Mark Kettenis <kettenis@gnu.org>
6190
6191 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6192
a900370f
MK
61932014-03-01 Mark Kettenis <kettenis@gnu.org>
6194
6195 * i386obsd-nat.c: Include "obsd-nat.h".
6196 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6197 add_target.
6198 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6199
b72a7981
MK
62002014-03-01 Mark Kettenis <kettenis@gnu.org>
6201
6202 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6203
96c70aba
MK
62042014-03-01 Mark Kettenis <kettenis@gnu.org>
6205
6206 * mips64obsd-nat.c: Include "obsd-nath".
6207 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6208 add_target
6209 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6210
874a80af
MK
62112014-03-01 Mark Kettenis <kettenis@gnu.org>
6212
8fd408f1
MK
6213 * amd64obsd-nat.c: Include "obsd-nat,h.
6214 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6215 add_target.
874a80af
MK
6216 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6217
9cf95373
SC
62182014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6219
6220 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6221 (find_overload_match): Update call to find_oload_champ.
6222 (find_oload_champ_namespace_loop): Likewise
6223
863e4da4
MK
62242014-02-28 Mark Kettenis <kettenis@gnu.org>
6225
025cac40
MK
6226 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6227
1ed586ce
MK
6228 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6229 * config/sparc/obsd64.mh: New file.
6230 * sparc64obsd-nat.c: New file.
6231
863e4da4
MK
6232 * obsd-nat.h: New file.
6233 * obsd-nat.c: New file.
6234 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6235 (ALLDEPFILES): Add obsd-nat.c.
6236
89de4da4
TT
62372014-02-28 Tom Tromey <tromey@redhat.com>
6238
6239 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6240 * cli-out.h (cli_ui_out_impl): Now const.
6241 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6242 * ui-out.c (struct ui_out) <impl>: Now const.
6243 (default_ui_out_impl): Now const.
6244 (ui_out_new): Make 'impl' parameter const.
6245 * ui-out.h (ui_out_new): Update.
6246
c725e7b6
MK
62472014-02-27 Mark Kettenis <kettenis@gnu.org>
6248
6249 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6250
670b46b3
MK
62512014-02-27 Mark Kettenis <kettenis@gnu.org>
6252
6253 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6254
c91550fc
JK
62552014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6256
6257 Additional PR 8882 fix.
6258 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6259
2fa0369e
PA
62602014-02-27 Pedro Alves <palves@redhat.com>
6261
6262 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6263 isn't set.
6264
d632a097
PA
62652014-02-27 Pedro Alves <palves@redhat.com>
6266
6267 PR 12702
6268 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6269 * nat/linux-waitpid.c: Include string.h.
6270 (status_to_str): Moved here and made extern.
6271 * nat/linux-waitpid.h (status_to_str): New declaration.
6272
2ebd5a35
HZ
62732014-02-27 Hui Zhu <hui@codesourcery.com>
6274
6275 PR 12702
6276 * infrun.c (ptid_match): Move ...
6277 * common/ptid.c (ptid_match): ... here.
6278 * inferior.h (ptid_match): Move ...
6279 * common/ptid.h (ptid_match): ... here.
6280
3cdd631f
MK
62812014-02-27 Mark Kettenis <kettenis@gnu.org>
6282
6283 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6284 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6285 gdb_target_obs.
6286
bee30a64
MK
62872014-02-27 Mark Kettenis <kettenis@gnu.org>
6288
6289 * obsd-tdep.c (obsd_auxv_parse): New function.
6290 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6291
6292 * gdbarch.sh (auxv_parse): New.
6293 * gdbarch.h: Regenerated.
6294 * gdbarch.c: Regenerated.
6295 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6296
7a5a839f
LC
62972014-02-26 Ludovic Courtès <ludo@gnu.org>
6298
6299 * guile/scm-value.c (gdbscm_history_append_x): New function.
6300 (value_functions): Add it.
6301
31aa7e4e
JB
63022014-02-27 Joel Brobecker <brobecker@adacore.com>
6303
6304 * dwarf2read.c (attr_value_as_address): New function.
6305 (dwarf2_find_base_address, read_call_site_scope): Use
6306 attr_value_as_address in place of DW_ADDR.
6307 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6308 the low and high addresses. Slight rework of the handling
6309 of the high pc being a constant form, and limit it to
6310 DWARF verson 4 or higher.
6311 (dwarf2_record_block_ranges): Likewise.
6312 (read_partial_die): Likewise.
6313 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6314
9b333ba3
TT
63152014-02-26 Tom Tromey <tromey@redhat.com>
6316
6317 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6318
5f6cac40
TT
63192014-02-26 Tom Tromey <tromey@redhat.com>
6320
6321 * elfread.c (elf_read_minimal_symbols): Return early if
6322 minimal symbols have already been read. Add "ei" parameter.
6323 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6324 * minsyms.c (prim_record_minimal_symbol_full): Update.
6325 * objfiles.h (struct objstats) <n_minsyms>: Move...
6326 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6327 * symmisc.c (print_objfile_statistics): Update.
6328
2750ef27
TT
63292014-02-26 Tom Tromey <tromey@redhat.com>
6330
6331 * elfread.c (elf_read_minimal_symbols): New function, from
6332 elf_symfile_read.
6333 (elf_symfile_read): Call it.
6334
34643a32
TT
63352014-02-26 Tom Tromey <tromey@redhat.com>
6336
6337 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6338 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6339 (lookup_minimal_symbol_solib_trampoline)
6340 (lookup_minimal_symbol_by_pc_section_1)
6341 (lookup_minimal_symbol_and_objfile): Update.
6342 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6343 Don't allocate a minimal symbol if minsyms have already been read.
6344 (build_minimal_symbol_hash_tables): Update.
6345 (install_minimal_symbols): Do nothing if minsyms already read.
6346 Use the per-BFD obstack.
6347 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6348 * objfiles.c (allocate_objfile): Call
6349 terminate_minimal_symbol_table later.
6350 (have_minimal_symbols): Update.
6351 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6352 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6353 Move from struct objfile.
6354 <minsyms_read>: New field.
6355 (struct objfile) <msymbols, minimal_symbol_count,
6356 msymbol_hash, msymbol_demangled_hash>: Move.
6357 (ALL_OBJFILE_MSYMBOLS): Update.
6358 * symfile.c (read_symbols): Set minsyms_read.
6359 (reread_symbols): Update.
6360 * symmisc.c (dump_objfile, dump_msymbols): Update.
6361
2273f0ac
TT
63622014-02-26 Tom Tromey <tromey@redhat.com>
6363
6364 * minsyms.c (msymbols_sort): Remove.
6365 * minsyms.h (msymbols_sort): Remove.
6366 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6367 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6368 * elfread.c (elf_symtab_read): Don't add section offsets.
6369 * xcoffread.c (record_minimal_symbol): Don't add section offset
6370 to minimal symbol address.
6371 * somread.c (text_offset, data_offset): Remove.
6372 (som_symtab_read): Don't add section offsets to minimal symbol
6373 addresses.
6374 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6375 Don't add section offsets to minimal symbols.
6376 * coffread.c (coff_symtab_read): Don't add section offsets
6377 to minimal symbol addresses.
6378 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6379 to minimal symbol addresses.
6380 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6381 section offset to minimal symbol addresses.
6382 * mdebugread.c (parse_partial_symbols): Don't add section
6383 offset to minimal symbol addresses.
6384 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6385 offset to minimal symbol addresses.
6386
77e371c0
TT
63872014-02-26 Tom Tromey <tromey@redhat.com>
6388
6389 * ada-lang.c (ada_main_name): Update.
6390 (ada_add_standard_exceptions): Update.
6391 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6392 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6393 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6394 * auxv.c (ld_so_xfer_auxv): Update.
6395 * avr-tdep.c (avr_scan_prologue): Update.
6396 * ax-gdb.c (gen_var_ref): Update.
6397 * blockframe.c (get_pc_function_start)
6398 (find_pc_partial_function_gnu_ifunc): Update.
6399 * breakpoint.c (create_overlay_event_breakpoint)
6400 (create_longjmp_master_breakpoint)
6401 (create_std_terminate_master_breakpoint)
6402 (create_exception_master_breakpoint): Update.
6403 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6404 * c-valprint.c (c_val_print): Update.
6405 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6406 * common/agent.c (agent_look_up_symbols): Update.
6407 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6408 * dwarf2loc.c (call_site_to_target_addr): Update.
6409 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6410 * elfread.c (elf_gnu_ifunc_record_cache)
6411 (elf_gnu_ifunc_resolve_by_got): Update.
6412 * findvar.c (default_read_var_value): Update.
6413 * frame.c (inside_main_func): Update.
6414 * frv-tdep.c (frv_frame_this_id): Update.
6415 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6416 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6417 Update.
6418 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6419 (hppa_hpux_find_dummy_bpaddr): Update.
6420 * hppa-tdep.c (hppa_symbol_address): Update.
6421 * infcmd.c (until_next_command): Update.
6422 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6423 Update.
6424 * linespec.c (minsym_found, add_minsym): Update.
6425 * linux-nat.c (get_signo): Update.
6426 * linux-thread-db.c (inferior_has_bug): Update.
6427 * m32c-tdep.c (m32c_return_value)
6428 (m32c_m16c_address_to_pointer): Update.
6429 * m32r-tdep.c (m32r_frame_this_id): Update.
6430 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6431 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6432 * maint.c (maintenance_translate_address): Update.
6433 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6434 (frob_address): New function.
6435 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6436 frob_address. Rename parameter to "pc_in".
6437 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6438 addresses.
6439 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6440 Update.
6441 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6442 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6443 * objc-lang.c (find_objc_msgsend): Update.
6444 * objfiles.c (objfile_relocate1): Update.
6445 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6446 * p-valprint.c (pascal_val_print): Update.
6447 * parse.c (write_exp_msymbol): Update.
6448 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6449 (ppc_elfv2_skip_entrypoint): Update.
6450 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6451 * printcmd.c (build_address_symbolic, msym_info)
6452 (address_info): Update.
6453 * proc-service.c (ps_pglobal_lookup): Update.
6454 * psymtab.c (find_pc_sect_psymtab_closer)
6455 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6456 Change msymbol parameter to bound_minimal_symbol.
6457 * ravenscar-thread.c (get_running_thread_id): Update.
6458 * remote.c (remote_check_symbols): Update.
6459 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6460 address.
6461 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6462 * solib-dsbt.c (lm_base): Update.
6463 * solib-frv.c (lm_base, main_got): Update.
6464 * solib-irix.c (locate_base): Update.
6465 * solib-som.c (som_solib_create_inferior_hook)
6466 (link_map_start): Update.
6467 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6468 * solib-svr4.c (elf_locate_base, enable_break): Update.
6469 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6470 (flush_ea_cache): Update.
6471 * stabsread.c (define_symbol, scan_file_globals): Update.
6472 * stack.c (find_frame_funname): Update.
6473 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6474 (debug_qf_find_pc_sect_symtab): Update.
6475 * symfile.c (simple_read_overlay_table)
6476 (simple_overlay_update): Update.
6477 * symfile.h (struct quick_symbol_functions)
6478 <find_pc_sect_symtab>: Change type of msymbol to
6479 bound_minimal_symbol.
6480 * symmisc.c (dump_msymbols): Update.
6481 * symtab.c (find_pc_sect_symtab_via_partial)
6482 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6483 (search_symbols, print_msymbol_info): Update.
6484 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6485 (MSYMBOL_VALUE_ADDRESS): Redefine.
6486 (BMSYMBOL_VALUE_ADDRESS): New macro.
6487 * tracepoint.c (scope_info): Update.
6488 * tui/tui-disasm.c (tui_find_disassembly_address)
6489 (tui_get_begin_asm_address): Update.
6490 * valops.c (find_function_in_inferior): Update.
6491 * value.c (value_static_field, value_fn_field): Update.
6492
3b7344d5
TT
64932014-02-26 Tom Tromey <tromey@redhat.com>
6494
6495 * ada-lang.c (ada_update_initial_language): Update.
6496 (ada_main_name, ada_has_this_exception_support): Update.
6497 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6498 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6499 * arm-tdep.c (arm_skip_stub): Update.
6500 * auxv.c (ld_so_xfer_auxv): Update.
6501 * avr-tdep.c (avr_scan_prologue): Update.
6502 * ax-gdb.c (gen_var_ref): Update.
6503 * breakpoint.c (struct breakpoint_objfile_data)
6504 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6505 type to bound_minimal_symbol.
6506 (create_overlay_event_breakpoint)
6507 (create_longjmp_master_breakpoint)
6508 (create_std_terminate_master_breakpoint)
6509 (create_exception_master_breakpoint): Update.
6510 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6511 * c-exp.y (classify_name): Update.
6512 * coffread.c (coff_symfile_read): Update.
6513 * common/agent.c (agent_look_up_symbols): Update.
6514 * d-lang.c (d_main_name): Update.
6515 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6516 * dec-thread.c (enable_dec_thread): Update.
6517 * dwarf2loc.c (call_site_to_target_addr): Update.
6518 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6519 * eval.c (evaluate_subexp_standard): Update.
6520 * findvar.c (struct minsym_lookup_data) <result>: Change type
6521 to bound_minimal_symbol.
6522 <objfile>: Remove.
6523 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6524 * frame.c (inside_main_func): Update.
6525 * frv-tdep.c (frv_frame_this_id): Update.
6526 * gcore.c (call_target_sbrk): Update.
6527 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6528 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6529 Update.
6530 * go-lang.c (go_main_name): Update.
6531 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6532 (hppa_hpux_find_import_stub_for_addr): Update.
6533 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6534 Update. Change return type.
6535 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6536 type.
6537 * jit.c (jit_breakpoint_re_set_internal): Update.
6538 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6539 Update.
6540 * linux-nat.c (get_signo): Update.
6541 * linux-thread-db.c (inferior_has_bug): Update
6542 * m32c-tdep.c (m32c_return_value)
6543 (m32c_m16c_address_to_pointer): Update.
6544 * m32r-tdep.c (m32r_frame_this_id): Update.
6545 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6546 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6547 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6548 lookup_minimal_symbol. Change return type.
6549 (lookup_minimal_symbol): Remove.
6550 (lookup_bound_minimal_symbol): Update.
6551 (lookup_minimal_symbol_text): Change return type.
6552 (lookup_minimal_symbol_solib_trampoline): Change return type.
6553 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6554 (lookup_minimal_symbol_solib_trampoline): Change return type.
6555 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6556 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6557 (value_nsstring, find_imps): Update.
6558 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6559 * p-lang.c (pascal_main_name): Update.
6560 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6561 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6562 * proc-service.c (ps_pglobal_lookup): Update.
6563 * ravenscar-thread.c (get_running_thread_msymbol): Change
6564 return type.
6565 (has_ravenscar_runtime, get_running_thread_id): Update.
6566 * remote.c (remote_check_symbols): Update.
6567 * sol-thread.c (ps_pglobal_lookup): Update.
6568 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6569 * solib-dsbt.c (lm_base): Update.
6570 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6571 Update.
6572 * solib-irix.c (locate_base): Update.
6573 * solib-som.c (som_solib_create_inferior_hook)
6574 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6575 Update.
6576 * solib-spu.c (spu_enable_break): Update.
6577 * solib-svr4.c (elf_locate_base, enable_break): Update.
6578 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6579 (flush_ea_cache): Update.
6580 * stabsread.c (define_symbol): Update.
6581 * symfile.c (simple_read_overlay_table): Update.
6582 * symtab.c (find_pc_sect_line): Update.
6583 * tracepoint.c (scope_info): Update.
6584 * tui-disasm.c (tui_get_begin_asm_address): Update.
6585 * value.c (value_static_field): Update.
6586
40c1a007
TT
65872014-02-26 Tom Tromey <tromey@redhat.com>
6588
6589 * minsyms.c (prim_record_minimal_symbol_full): Use
6590 SET_MSYMBOL_VALUE_ADDRESS.
6591 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6592 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6593 SET_MSYMBOL_VALUE_ADDRESS.
6594 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6595 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6596
efd66ac6
TT
65972014-02-26 Tom Tromey <tromey@redhat.com>
6598
6599 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6600 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6601 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6602 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6603 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6604 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6605 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6606 * ada-lang.c (ada_main_name): Update.
6607 (ada_lookup_simple_minsym): Update.
6608 (ada_make_symbol_completion_list): Update.
6609 (ada_add_standard_exceptions): Update.
6610 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6611 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6612 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6613 * arm-tdep.c (skip_prologue_function): Update.
6614 (arm_skip_stack_protector, arm_skip_stub): Update.
6615 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6616 (arm_wince_skip_main_prologue): Update.
6617 * auxv.c (ld_so_xfer_auxv): Update.
6618 * avr-tdep.c (avr_scan_prologue): Update.
6619 * ax-gdb.c (gen_var_ref): Update.
6620 * block.c (call_site_for_pc): Update.
6621 * blockframe.c (get_pc_function_start): Update.
6622 (find_pc_partial_function_gnu_ifunc): Update.
6623 * breakpoint.c (create_overlay_event_breakpoint): Update.
6624 (create_longjmp_master_breakpoint): Update.
6625 (create_std_terminate_master_breakpoint): Update.
6626 (create_exception_master_breakpoint): Update.
6627 (resolve_sal_pc): Update.
6628 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6629 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6630 Update.
6631 * c-valprint.c (c_val_print): Update.
6632 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6633 * coffread.c (coff_symfile_read): Update.
6634 * common/agent.c (agent_look_up_symbols): Update.
6635 * dbxread.c (find_stab_function_addr): Update.
6636 (end_psymtab): Update.
6637 * dwarf2loc.c (call_site_to_target_addr): Update.
6638 (func_verify_no_selftailcall): Update.
6639 (tailcall_dump): Update.
6640 (call_site_find_chain_1): Update.
6641 (dwarf_expr_reg_to_entry_parameter): Update.
6642 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6643 (elf_gnu_ifunc_resolve_by_got): Update.
6644 * f-valprint.c (info_common_command): Update.
6645 * findvar.c (read_var_value): Update.
6646 * frame.c (get_prev_frame_1): Update.
6647 (inside_main_func): Update.
6648 * frv-tdep.c (frv_skip_main_prologue): Update.
6649 (frv_frame_this_id): Update.
6650 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6651 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6652 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6653 (gnuv3_skip_trampoline): Update.
6654 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6655 (hppa64_hpux_in_solib_call_trampoline): Update.
6656 (hppa_hpux_skip_trampoline_code): Update.
6657 (hppa64_hpux_search_dummy_call_sequence): Update.
6658 (hppa_hpux_find_import_stub_for_addr): Update.
6659 (hppa_hpux_find_dummy_bpaddr): Update.
6660 * hppa-tdep.c (hppa_symbol_address)
6661 (hppa_lookup_stub_minimal_symbol): Update.
6662 * i386-tdep.c (i386_skip_main_prologue): Update.
6663 (i386_pe_skip_trampoline_code): Update.
6664 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6665 * infcall.c (get_function_name): Update.
6666 * infcmd.c (until_next_command): Update.
6667 * jit.c (jit_breakpoint_re_set_internal): Update.
6668 (jit_inferior_init): Update.
6669 * linespec.c (minsym_found): Update.
6670 (add_minsym): Update.
6671 * linux-fork.c (info_checkpoints_command): Update.
6672 * linux-nat.c (get_signo): Update.
6673 * linux-thread-db.c (inferior_has_bug): Update.
6674 * m32c-tdep.c (m32c_return_value): Update.
6675 (m32c_m16c_address_to_pointer): Update.
6676 (m32c_m16c_pointer_to_address): Update.
6677 * m32r-tdep.c (m32r_frame_this_id): Update.
6678 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6679 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6680 * maint.c (maintenance_translate_address): Update.
6681 * minsyms.c (add_minsym_to_hash_table): Update.
6682 (add_minsym_to_demangled_hash_table): Update.
6683 (msymbol_objfile): Update.
6684 (lookup_minimal_symbol): Update.
6685 (iterate_over_minimal_symbols): Update.
6686 (lookup_minimal_symbol_text): Update.
6687 (lookup_minimal_symbol_by_pc_name): Update.
6688 (lookup_minimal_symbol_solib_trampoline): Update.
6689 (lookup_minimal_symbol_by_pc_section_1): Update.
6690 (lookup_minimal_symbol_and_objfile): Update.
6691 (prim_record_minimal_symbol_full): Update.
6692 (compare_minimal_symbols): Update.
6693 (compact_minimal_symbols): Update.
6694 (build_minimal_symbol_hash_tables): Update.
6695 (install_minimal_symbols): Update.
6696 (terminate_minimal_symbol_table): Update.
6697 (find_solib_trampoline_target): Update.
6698 (minimal_symbol_upper_bound): Update.
6699 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6700 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6701 (mips_skip_pic_trampoline_code): Update.
6702 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6703 * objc-lang.c (selectors_info): Update.
6704 (classes_info): Update.
6705 (find_methods): Update.
6706 (find_imps): Update.
6707 (find_objc_msgsend): Update.
6708 * objfiles.c (objfile_relocate1): Update.
6709 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6710 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6711 * p-valprint.c (pascal_val_print): Update.
6712 * parse.c (write_exp_msymbol): Update.
6713 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6714 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6715 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6716 * printcmd.c (build_address_symbolic): Update.
6717 (sym_info): Update.
6718 (address_info): Update.
6719 * proc-service.c (ps_pglobal_lookup): Update.
6720 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6721 (find_pc_sect_psymtab): Update.
6722 * python/py-framefilter.c (py_print_frame): Update.
6723 * ravenscar-thread.c (get_running_thread_id): Update.
6724 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6725 Update.
6726 * remote.c (remote_check_symbols): Update.
6727 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6728 (rs6000_skip_trampoline_code): Update.
6729 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6730 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6731 * solib-dsbt.c (lm_base): Update.
6732 * solib-frv.c (lm_base): Update.
6733 (main_got): Update.
6734 * solib-irix.c (locate_base): Update.
6735 * solib-som.c (som_solib_create_inferior_hook): Update.
6736 (som_solib_desire_dynamic_linker_symbols): Update.
6737 (link_map_start): Update.
6738 * solib-spu.c (spu_enable_break): Update.
6739 (ocl_enable_break): Update.
6740 * solib-svr4.c (elf_locate_base): Update.
6741 (enable_break): Update.
6742 * spu-tdep.c (spu_get_overlay_table): Update.
6743 (spu_catch_start): Update.
6744 (flush_ea_cache): Update.
6745 * stabsread.c (define_symbol): Update.
6746 (scan_file_globals): Update.
6747 * stack.c (find_frame_funname): Update.
6748 (frame_info): Update.
6749 * symfile.c (simple_read_overlay_table): Update.
6750 (simple_overlay_update): Update.
6751 * symmisc.c (dump_msymbols): Update.
6752 * symtab.c (fixup_section): Update.
6753 (find_pc_sect_line): Update.
6754 (skip_prologue_sal): Update.
6755 (search_symbols): Update.
6756 (print_msymbol_info): Update.
6757 (rbreak_command): Update.
6758 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6759 (completion_list_objc_symbol): Update.
6760 (default_make_symbol_completion_list_break_on): Update.
6761 * tracepoint.c (scope_info): Update.
6762 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6763 (tui_get_begin_asm_address): Update.
6764 * valops.c (find_function_in_inferior): Update.
6765 * value.c (value_static_field): Update.
6766 (value_fn_field): Update.
6767
50e65b17
TT
67682014-02-26 Tom Tromey <tromey@redhat.com>
6769
6770 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6771 bound minimal symbols. Move code that knows about minsym
6772 table layout...
6773 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6774 function.
6775 * minsyms.h (minimal_symbol_upper_bound): Declare.
6776 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6777 minimal_symbol_upper_bound.
6778
1b588015
JB
67792014-02-27 Joel Brobecker <brobecker@adacore.com>
6780
6781 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6782 Use the type's name if its basic type does not have a tag.
6783
dbb9c2b1
JB
67842014-02-27 Joel Brobecker <brobecker@adacore.com>
6785
6786 * dwarf2read.c (read_subrange_type): Add comment.
6787
55426c9d
JB
67882014-02-27 Joel Brobecker <brobecker@adacore.com>
6789
6790 * dwarf2read.c (update_enumeration_type_from_children): New
6791 function, mostly extracted from process_structure_scope.
6792 (read_enumeration_type): Call update_enumeration_type_from_children.
6793 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6794 and flag_flag_enum fields.
6795
f2fce0ca
PA
67962014-02-26 Pedro Alves <palves@redhat.com>
6797
6798 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6799 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6800 to_xfer_partial method.
6801
7a44e40e
PA
68022014-02-26 Pedro Alves <palves@redhat.com>
6803
6804 * target.c (complete_target_initialization): Don't install
6805 default_xfer_partial as to_xfer_partial hook.
6806 (nomemory): Delete.
6807 (update_current_target): Don't INHERIT nor de_fault
6808 deprecated_xfer_memory. Delete de_fault macro.
6809 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6810 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6811 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6812 field.
6813
bd265cd0
PA
68142014-02-26 Pedro Alves <palves@redhat.com>
6815
6816 * go32-nat.c (my_write_child): New function.
6817 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6818 (go32_xfer_partial): New function.
6819 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6820 Instead install a to_xfer_partial hook.
6821
9d46c4e5
PA
68222014-02-26 Pedro Alves <palves@redhat.com>
6823
6824 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6825 to_xfer_partial helper. Rewrite.
6826 (procfs_xfer_partial): New function.
6827 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6828 Install a to_xfer_partial hook.
6829
a1583b1f
PA
68302014-02-26 Pedro Alves <palves@redhat.com>
6831
6832 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6833 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6834 (m32r_xfer_partial): New function.
6835 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6836 Install a to_xfer_partial hook.
6837
6df1b29f
PA
68382014-02-26 Pedro Alves <palves@redhat.com>
6839
6840 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6841 helper.
6842 (mips_xfer_partial): New function.
6843 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6844 hook. Install a to_xfer_partial hook.
6845
dc53a7ad
JB
68462014-02-26 Joel Brobecker <brobecker@adacore.com>
6847
6848 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6849 * gdbtypes.c (create_array_type_with_stride): New function,
6850 renaming create_array_type, but with an added parameter
6851 called "bit_stride".
6852 (create_array_type): Re-implement using
6853 create_array_type_with_stride.
6854 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6855 and DW_AT_bit_stride attributes.
6856
12ab52e9
PA
68572014-02-26 Pedro Alves <palves@redhat.com>
6858
6859 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6860 task-specific breakpoints.
6861
d16461ae
PA
68622014-02-25 Pedro Alves <palves@redhat.com>
6863
6864 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6865 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6866
a8b16220
SS
68672014-02-25 Stan Shebs <stan@codesourcery.com>
6868
6869 * defs.h: Annotate comments for Doxygen.
6870
b9e795ee
TT
68712014-02-25 Tom Tromey <tromey@redhat.com>
6872
6873 * target.h (target_ignore): Don't declare.
6874 * target.c (target_ignore): Remove.
6875
849c862e
JK
68762014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6877
6878 PR gdb/16626
6879 * auto-load.c (auto_load_objfile_script_1): Change filename to
6880 debugfile.
6881
475109d8
JB
68822014-02-25 Joel Brobecker <brobecker@adacore.com>
6883
6884 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
6885 documentation. Adjust prototype to match the target_ops
6886 to_xfer_partial method. Adjust implementation accordingly.
6887
e186c3bd
HZ
68882014-02-25 Hui Zhu <hui@codesourcery.com>
6889
6890 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
6891 to_traceframe_info.
6892
6d451942
KB
68932014-02-25 Kevin Buettner <kevinb@redhat.com>
6894
041ab8b4 6895 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
6896 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
6897 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
6898 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
6899 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
6900 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
6901 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
6902 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
6903 New constants.
6904 (rl78_register_type): Use a data pointer type for SP and
6905 new pseudo registers mentioned above. Use a 16 bit integer
6906 type for all other register pairs.
6907 (rl78_register_name, rl78_g10_register_name): Update for
6908 new pseudo registers.
6909 (rl78_pseudo_register_read): Likewise.
6910 (rl78_pseudo_register_write): Likewise.
6911 (rl78_dwarf_reg_to_regnum): Return register numbers representing
6912 to the newly added pseudo registers.
6913
eddf0bae
DE
69142014-02-24 Doug Evans <dje@google.com>
6915
6916 * value.c (record_latest_value): Fix comment.
6917 * printcmd.c (print_command_1): Remove code to handle -1 return from
6918 record_latest_value.
6919
e96027e0
PA
69202014-02-24 Pedro Alves <palves@redhat.com>
6921
6922 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
6923 deprecated_xfer_memory hook.
6924 (procfs_xfer_partial): Call procfs_xfer_memory instead
6925 of the deprecated_xfer_memory target hook.
6926 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
6927 helper.
6928
0837c976
YZ
69292014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
6930
6931 * windows-nat.c (windows_xfer_shared_libraries): Return
6932 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
6933 requested object is TARGET_OBJECT_LIBRARIES.
6934
bc113b4e
YQ
69352014-02-24 Yao Qi <yao@codesourcery.com>
6936
6937 * target.h (enum target_xfer_status)
6938 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
6939 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
6940 explicitly. New.
6941 * corefile.c (memory_error_message): User updated.
6942 * exec.c (section_table_read_available_memory): Likewise.
6943 * record-btrace.c (record_btrace_xfer_partial): Likewise.
6944 * target.c (target_xfer_status_to_string): Likewise.
6945 (raw_memory_xfer_partial): Likewise.
6946 (memory_xfer_partial_1, target_xfer_partial): Likewise.
6947 * valops.c (read_value_memory): Likewise.
6948 * exec.h: Update comments.
6949
01cb8804
YQ
69502014-02-24 Yao Qi <yao@codesourcery.com>
6951
6952 * target.c (target_xfer_status_to_string): Rename argument err
6953 to status.
6954 * target.h (target_xfer_status_to_string): Update declaration.
6955 Replace target_xfer_error_to_string with
6956 target_xfer_status_to_string in comment.
6957
93063aa6
YQ
69582014-02-24 Yao Qi <yao@codesourcery.com>
6959
6960 * mips-linux-nat.c (super_close): Update its type.
6961 (mips_linux_close): Pass 'self' to super_close.
6962
5c328c05
YQ
69632014-02-24 Yao Qi <yao@codesourcery.com>
6964
6965 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
6966 * corefile.c (read_memory): Adjusted.
6967 * target.c (target_write_with_progress): Adjusted.
6968
f73023dd
YQ
69692014-02-23 Yao Qi <yao@codesourcery.com>
6970
6971 Revert two patches:
6972
6973 2013-10-25 Yao Qi <yao@codesourcery.com>
6974
6975 * remote.c (remote_traceframe_info): Return early if
6976 traceframe is not selected.
6977
6978 2013-07-19 Yao Qi <yao@codesourcery.com>
6979
6980 * target.c (update_current_target): Change the default action
6981 of 'to_traceframe_info' from tcomplain to return_zero.
6982 * target.h (struct target_ops) <to_traceframe_info>: Add more
6983 comments.
6984
5a2eb0ef
YQ
69852014-02-23 Yao Qi <yao@codesourcery.com>
6986
6987 * valops.c (read_value_memory): Rewrite it. Call
6988 target_xfer_partial in a loop.
6989 * exec.h (section_table_available_memory): Remove declaration.
6990 Move comments to ...
6991 * exec.c (section_table_available_memory): ... here. Make it
6992 static.
6993
1ee79381
YQ
69942014-02-23 Yao Qi <yao@codesourcery.com>
6995
6996 * exec.c (section_table_read_available_memory): New function.
6997 * exec.h (section_table_read_available_memory): Declare.
6998 * ctf.c (ctf_xfer_partial): Call
6999 section_table_read_available_memory.
7000 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7001
1ca49d37
YQ
70022014-02-23 Yao Qi <yao@codesourcery.com>
7003
7004 * ctf.c (ctf_xfer_partial): Move code to ...
7005 * exec.c (exec_read_partial_read_only): ... it. New function.
7006 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7007 * tracefile.c: Include "exec.h".
7008 * exec.h (exec_read_partial_read_only): Declare.
7009
a283690e
YQ
70102014-02-23 Yao Qi <yao@codesourcery.com>
7011
7012 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7013 (tfile_has_memory): Remove.
7014 (init_tfile_ops): Don't set fields to_has_all_memory and
7015 to_has_memory of tfile_ops.
7016 * tracefile.c (tracefile_has_all_memory): New function.
7017 (tracefile_has_memory): New function.
7018 (init_tracefile_ops): Initialize fields to_has_all_memory and
7019 to_has_memory of 'ops'.
7020
12e03cd0
YQ
70212014-02-23 Yao Qi <yao@codesourcery.com>
7022
7023 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7024 (ctf_thread_alive, ctf_get_trace_status): Remove.
7025 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7026 init_tracefile_ops.
7027 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7028 (tfile_has_stack, tfile_has_registers): Remove.
7029 (tfile_thread_alive): Remove.
7030 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7031 init_tracefile_ops.
7032 * tracefile.c (tracefile_has_stack): New function.
7033 (tracefile_has_registers): New function.
7034 (tracefile_thread_alive): New function.
7035 (tracefile_get_trace_status): New function.
7036 (init_tracefile_ops): New function.
7037 * tracefile.h (init_tracefile_ops): Declare.
7038
11395323
YQ
70392014-02-23 Yao Qi <yao@codesourcery.com>
7040
7041 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7042 (O_LARGEFILE): Likewise.
7043 (tfile_ops): Likewise.
7044 (TRACE_HEADER_SIZE): Likewise.
7045 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7046 (cur_data_size): Likewise.
7047 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7048 (tfile_close, tfile_files_info): Likewise.
7049 (tfile_get_trace_status): Likewise.
7050 (tfile_get_tracepoint_status): Likewise.
7051 (tfile_get_traceframe_address): Likewise.
7052 (tfile_trace_find, match_blocktype): Likewise.
7053 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7054 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7055 (tfile_get_trace_state_variable_value): Likewise.
7056 (tfile_has_all_memory, tfile_has_memory): Likewise.
7057 (tfile_has_stack, tfile_has_registers): Likewise.
7058 (tfile_thread_alive, build_traceframe_info): Likewise.
7059 (tfile_traceframe_info, init_tfile_ops): Likewise.
7060 (_initialize_tracepoint): Don't call init_tfile_ops
7061 and add_target_with_completer.
7062 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7063 exec.h, completer.h and filenames.h.
7064 (_initialize_tracefile_tfile): New function.
7065
7951c4eb
YQ
70662014-02-23 Yao Qi <yao@codesourcery.com>
7067
7068 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7069 tracefile-tfile.o.
7070 (HFILES_NO_SRCDIR): Add tracefile.h.
7071 * ctf.c: Include "tracefile.h".
7072 * tracefile.h: New file.
7073 * tracefile.c: New file
7074 * tracefile-tfile.c: New file.
7075 * tracepoint.c: Include "tracefile.h".
7076 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7077 (stop_reason_names): Add const.
7078 (trace_file_writer_xfree): Move it to tracefile.c.
7079 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7080 (trace_save_ctf): Likewise.
7081 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7082 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7083 (tfile_write_header, tfile_write_regblock_type): Likewise.
7084 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7085 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7086 (tfile_write_raw_data, tfile_end): Likewise.
7087 (tfile_trace_file_writer_new): Likewise.
7088 (free_uploaded_tp): Make it extern.
7089 (free_uploaded_tsv): Make it extern.
7090 (_initialize_tracepoint): Move code to register command 'tsave'
7091 to tracefile.c.
7092 * tracepoint.h (stop_reason_names): Declare.
7093 (struct trace_frame_write_ops): Move it to tracefile.h.
7094 (struct trace_file_write_ops): Likewise.
7095 (struct trace_file_writer): Likewise.
7096 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7097
184cd072
JK
70982014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7099
7100 PR gdb/16594
7101 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7102 process name.
7103 (get_cores_used_by_process): New parameter num_cores, use it.
7104 (linux_xfer_osdata_processes): Pass num_cores to it.
7105 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7106 process name.
7107
c63528fc
AK
71082014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7109
7110 * target.c (memory_xfer_partial): Fix length arg in call to
7111 breakpoint_xfer_memory.
7112
d7b30f67
SDJ
71132014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7114
7115 PR tdep/16397
7116 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7117 number comes after the + or - signs. Adjust length of register
7118 name to be extracted.
7119
8838afaf
TT
71202014-02-20 Tom Tromey <tromey@redhat.com>
7121
7122 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7123 (ada_varobj_ops): Mark "extern".
7124
05227d14
TT
71252014-02-20 Tom Tromey <tromey@redhat.com>
7126
7127 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7128
1254eefc
DE
71292014-02-20 Doug Evans <xdje42@gmail.com>
7130
7131 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7132 All callers updated.
7133 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7134 All callers updated.
7135 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7136 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7137
adde2bff
DE
71382014-02-20 lin zuojian <manjian2006@gmail.com>
7139 Joel Brobecker <brobecker@adacore.com>
7140 Doug Evans <xdje42@gmail.com>
7141
7142 PR symtab/16581
7143 * dwarf2read.c (struct die_info): New member in_process.
7144 (reset_die_in_process): New function.
7145 (process_die): Set it at the start, reset when returning.
7146 (inherit_abstract_dies): Only call process_die if origin_child_die
7147 not already being processed.
7148
3be75f87
JB
71492014-02-20 Joel Brobecker <brobecker@adacore.com>
7150
7151 * windows-nat.c (handle_unload_dll): Add function documentation.
7152 (do_initial_windows_stuff): Add comment explaining why we wait
7153 until after inferior initialization has finished before
7154 processing all DLLs.
7155
47f7ffdb
JB
71562014-02-20 Joel Brobecker <brobecker@adacore.com>
7157
7158 * windows-nat.c (get_module_name): Delete.
7159 (windows_get_exec_module_filename): New function, mostly
7160 inspired from get_module_name.
7161 (windows_pid_to_exec_file): Replace call to get_module_name
7162 by call to windows_get_exec_module_filename.
7163
1cd9feab
JB
71642014-02-20 Joel Brobecker <brobecker@adacore.com>
7165
7166 * windows-nat.c (handle_load_dll): Rewrite this function's
7167 introductory comment. Remove code using get_module_name
7168 to get the DLL's name.
7169
ea39ad35
JB
71702014-02-20 Joel Brobecker <brobecker@adacore.com>
7171
7172 * windows-nat.c (get_windows_debug_event): Ignore
7173 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7174 if windows_initialization_done == 0.
7175 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7176 Adjust implementation to always load all DLLs.
7177 (do_initial_windows_stuff): Replace call to
7178 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7179
95060284
JB
71802014-02-20 Joel Brobecker <brobecker@adacore.com>
7181
7182 * windows-nat.c (_initialize_windows_nat): Deprecate the
7183 "dll-symbols" command. Turn the "add-shared-symbol-files"
7184 and "assf" aliases into commands, and deprecate them as well.
7185 * NEWS: Add entry explaining that "dll-symbols" and its two
7186 aliases are now deprecated.
7187
8d4fdb12
JB
71882014-02-20 Joel Brobecker <brobecker@adacore.com>
7189
7190 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7191 new-line in debug string. Remove trailing spaces.
7192
1b281443
SS
71932014-02-19 Stan Shebs <stan@codesourcery.com>
7194
7195 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7196
f7bd0f78
SC
71972014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7198
7199 * NEWS: Add entry for the new feature
7200 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7201 and class values.
7202
399ebc3d
SS
72032014-02-19 Stan Shebs <stan@codesourcery.com>
7204
7205 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7206
c658158d
PA
72072014-02-19 Pedro Alves <palves@redhat.com>
7208
7209 * common/ptid.h (struct ptid): Mention that process_stratum
7210 targets should prefer ptid.lwp.
7211
ba348170
PA
72122014-02-19 Pedro Alves <palves@redhat.com>
7213
7214 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7215 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7216 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7217 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7218 store remote thread ids rather than ptid.tid.
7219 (_initialize_remote): Adjust.
7220
ac01945b
TT
72212014-02-19 Tom Tromey <tromey@redhat.com>
7222
7223 * target.c (target_get_unwinder): Rewrite.
7224 (target_get_tailcall_unwinder): Rewrite.
7225 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7226 (record_btrace_to_get_tailcall_unwinder): New function.
7227 (init_record_btrace_ops): Update.
7228 * target.h (struct target_ops) <to_get_unwinder,
7229 to_get_tailcall_unwinder>: Now function pointers. Use
7230 TARGET_DEFAULT_RETURN.
7231
8476dc92
TT
72322014-02-19 Tom Tromey <tromey@redhat.com>
7233
7234 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7235 argument.
7236 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7237
c0eca49f
TT
72382014-02-19 Tom Tromey <tromey@redhat.com>
7239
7240 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7241 directly.
7242 * target-delegates.c: Rebuild.
7243 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7244 TARGET_DEFAULT_FUNC.
7245 * target.c (default_target_decr_pc_after_break): Rename from
7246 forward_target_decr_pc_after_break. Simplify.
7247 (target_decr_pc_after_break): Rely on delegation.
7248
596b6b39
TT
72492014-02-19 Tom Tromey <tromey@redhat.com>
7250
7251 * target.c (update_current_target): Do not INHERIT to_doc or
7252 to_magic. Do not de_fault to_open or to_close.
7253
b427c1bc
TT
72542014-02-19 Tom Tromey <tromey@redhat.com>
7255
7256 * gcore.h (objfile_find_memory_regions): Declare.
7257 * gcore.c (objfile_find_memory_regions): No longer static. Add
7258 "self" argument.
7259 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7260 * exec.c: Include gcore.h.
7261 (exec_set_find_memory_regions): Remove.
7262 (exec_find_memory_regions): Remove.
7263 (exec_do_find_memory_regions): Remove.
7264 (init_exec_ops): Update.
7265 * defs.h (exec_set_find_memory_regions): Remove.
7266
9b144037
TT
72672014-02-19 Tom Tromey <tromey@redhat.com>
7268
7269 * target-delegates.c: Rebuild.
7270 * target.h (struct target_ops) <to_extra_thread_info,
7271 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7272 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7273 not 0, in TARGET_DEFAULT_RETURN.
7274
555bbdeb
TT
72752014-02-19 Tom Tromey <tromey@redhat.com>
7276
7277 * target.c (complete_target_initialization): Remove casts. Use
7278 return_zero_has_execution.
7279 (return_zero): Add "ignore" argument.
7280 (return_zero_has_execution): New function.
7281 (init_dummy_target): Remove casts. Use
7282 return_zero_has_execution.
7283
be4ddd36
TT
72842014-02-19 Tom Tromey <tromey@redhat.com>
7285
7286 * target.c (update_current_target): Update comments. Do not
7287 INHERIT to_stratum.
7288
2117c711
TT
72892014-02-19 Tom Tromey <tromey@redhat.com>
7290
7291 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7292 needed.
7293 * corelow.c (core_read_description): Delegate when needed.
7294 * remote.c (remote_read_description): Delegate when needed.
7295 * target-delegates.c: Rebuild.
7296 * target.c (target_read_description): Rewrite.
7297 * target.h (struct target_ops) <to_read_description>: Update
7298 comment. Use TARGET_DEFAULT_RETURN.
7299
e88ef65c
TT
73002014-02-19 Tom Tromey <tromey@redhat.com>
7301
7302 * target-delegates.c: Rebuild.
7303 * target.c (update_current_target): Don't inherit or default
7304 to_can_run.
7305 (find_default_run_target): Check against delegate_can_run.
7306 * target.h (struct target_ops) <to_can_run>: Use
7307 TARGET_DEFAULT_RETURN.
7308
86a0854a
TT
73092014-02-19 Tom Tromey <tromey@redhat.com>
7310
7311 * target-delegates.c: Rebuild.
7312 * target.c (target_disconnect): Unconditionally delegate.
7313 * target.h (struct target_ops) <to_disconnect>: Use
7314 TARGET_DEFAULT_NORETURN.
7315
ee97f592
TT
73162014-02-19 Tom Tromey <tromey@redhat.com>
7317
7318 * record.c (record_stop): Unconditionally delegate.
7319 * target-delegates.c: Rebuild.
7320 * target.c (target_stop_recording): Unconditionally delegate.
7321 * target.h (struct target_ops) <to_stop_recording>: Use
7322 TARGET_DEFAULT_IGNORE.
7323
6dc7fcf4
TT
73242014-02-19 Tom Tromey <tromey@redhat.com>
7325
7326 * target-delegates.c: Rebuild.
7327 * target.c (target_enable_btrace): Unconditionally delegate.
7328 * target.h (struct target_ops) <to_enable_btrace>: Use
7329 TARGET_DEFAULT_NORETURN.
7330
eb5b20d4
TT
73312014-02-19 Tom Tromey <tromey@redhat.com>
7332
7333 * target-delegates.c: Rebuild.
7334 * target.c (target_read_btrace): Unconditionally delegate.
7335 * target.h (struct target_ops) <to_read_btrace>: Use
7336 TARGET_DEFAULT_NORETURN.
7337
9ace480d
TT
73382014-02-19 Tom Tromey <tromey@redhat.com>
7339
7340 * target-delegates.c: Rebuild.
7341 * target.c (target_teardown_btrace): Unconditionally delegate.
7342 * target.h (struct target_ops) <to_teardown_btrace>: Use
7343 TARGET_DEFAULT_NORETURN.
7344
8dc292d3
TT
73452014-02-19 Tom Tromey <tromey@redhat.com>
7346
7347 * target-delegates.c: Rebuild.
7348 * target.c (target_disable_btrace): Unconditionally delegate.
7349 * target.h (struct target_ops) <to_disable_btrace>: Use
7350 TARGET_DEFAULT_NORETURN.
7351
58a5184e
TT
73522014-02-19 Tom Tromey <tromey@redhat.com>
7353
7354 * target-delegates.c: Rebuild.
7355 * target.c (default_search_memory): New function.
7356 (simple_search_memory): Update comment.
7357 (target_search_memory): Unconditionally delegate.
7358 * target.h (struct target_ops) <to_search_memory>: Use
7359 TARGET_DEFAULT_FUNC.
7360
8de71aab
TT
73612014-02-19 Tom Tromey <tromey@redhat.com>
7362
7363 * auxv.c (default_auxv_parse): No longer static.
7364 (target_auxv_parse): Unconditionally delegate.
7365 * auxv.h (default_auxv_parse): Declare.
7366 * target-delegates.c: Rebuild.
7367 * target.c: Include auxv.h.
7368 * target.h (struct target_ops) <to_auxv_parse>: Use
7369 TARGET_DEFAULT_FUNC.
7370
6b2c5a57
TT
73712014-02-19 Tom Tromey <tromey@redhat.com>
7372
7373 * target-delegates.c: Rebuild.
7374 * target.c (target_memory_map): Unconditionally delegate.
7375 * target.h (struct target_ops) <to_memory_map>: Use
7376 TARGET_DEFAULT_RETURN.
7377
cbffc065
TT
73782014-02-19 Tom Tromey <tromey@redhat.com>
7379
7380 * target-delegates.c: Rebuild.
7381 * target.c (target_thread_alive): Unconditionally delegate.
7382 * target.h (struct target_ops) <to_thread_alive>: Use
7383 TARGET_DEFAULT_RETURN.
7384
f09e2107
TT
73852014-02-19 Tom Tromey <tromey@redhat.com>
7386
7387 * target-delegates.c: Rebuild.
7388 * target.c (target_save_record): Unconditionally delegate.
7389 * target.h (struct target_ops) <to_save_record>: Use
7390 TARGET_DEFAULT_NORETURN.
7391
07366925
TT
73922014-02-19 Tom Tromey <tromey@redhat.com>
7393
7394 * target-delegates.c: Rebuild.
7395 * target.c (target_delete_record): Unconditionally delegate.
7396 * target.h (struct target_ops) <to_delete_record>: Use
7397 TARGET_DEFAULT_NORETURN.
7398
dd2e9d25
TT
73992014-02-19 Tom Tromey <tromey@redhat.com>
7400
7401 * target-delegates.c: Rebuild.
7402 * target.c (target_record_is_replaying): Unconditionally
7403 delegate.
7404 * target.h (struct target_ops) <to_record_is_replaying>: Use
7405 TARGET_DEFAULT_RETURN.
7406
671e76cc
TT
74072014-02-19 Tom Tromey <tromey@redhat.com>
7408
7409 * target-delegates.c: Rebuild.
7410 * target.c (target_goto_record_begin): Unconditionally delegate.
7411 * target.h (struct target_ops) <to_goto_record_begin>: Use
7412 TARGET_DEFAULT_NORETURN.
7413
e9179bb3
TT
74142014-02-19 Tom Tromey <tromey@redhat.com>
7415
7416 * target-delegates.c: Rebuild.
7417 * target.c (target_goto_record_end): Unconditionally delegate.
7418 * target.h (struct target_ops) <to_goto_record_end>: Use
7419 TARGET_DEFAULT_NORETURN.
7420
05969c84
TT
74212014-02-19 Tom Tromey <tromey@redhat.com>
7422
7423 * target-delegates.c: Rebuild.
7424 * target.c (target_goto_record): Unconditionally delegate.
7425 * target.h (struct target_ops) <to_goto_record>: Use
7426 TARGET_DEFAULT_NORETURN.
7427
3679abfa
TT
74282014-02-19 Tom Tromey <tromey@redhat.com>
7429
7430 * target-delegates.c: Rebuild.
7431 * target.c (target_insn_history): Unconditionally delegate.
7432 * target.h (struct target_ops) <to_insn_history>: Use
7433 TARGET_DEFAULT_NORETURN.
7434
8444ab58
TT
74352014-02-19 Tom Tromey <tromey@redhat.com>
7436
7437 * target-delegates.c: Rebuild.
7438 * target.c (target_insn_history_from): Unconditionally delegate.
7439 * target.h (struct target_ops) <to_insn_history_from>: Use
7440 TARGET_DEFAULT_NORETURN.
7441
c29302cc
TT
74422014-02-19 Tom Tromey <tromey@redhat.com>
7443
7444 * target-delegates.c: Rebuild.
7445 * target.c (target_insn_history_range): Unconditionally delegate.
7446 * target.h (struct target_ops) <to_insn_history_range>: Use
7447 TARGET_DEFAULT_NORETURN.
7448
170049d4
TT
74492014-02-19 Tom Tromey <tromey@redhat.com>
7450
7451 * target-delegates.c: Rebuild.
7452 * target.c (target_call_history): Unconditionally delegate.
7453 * target.h (struct target_ops) <to_call_history>: Use
7454 TARGET_DEFAULT_NORETURN.
7455
16fc27d6
TT
74562014-02-19 Tom Tromey <tromey@redhat.com>
7457
7458 * target-delegates.c: Rebuild.
7459 * target.c (target_call_history_from): Unconditionally delegate.
7460 * target.h (struct target_ops) <to_call_history_from>: Use
7461 TARGET_DEFAULT_NORETURN.
7462
115d9817
TT
74632014-02-19 Tom Tromey <tromey@redhat.com>
7464
7465 * target-delegates.c: Rebuild.
7466 * target.c (target_call_history_range): Unconditionally delegate.
7467 * target.h (struct target_ops) <to_call_history_range>: Use
7468 TARGET_DEFAULT_NORETURN.
7469
eb276a6b
TT
74702014-02-19 Tom Tromey <tromey@redhat.com>
7471
7472 * target-delegates.c: Rebuild.
7473 * target.c (target_verify_memory): Unconditionally delegate.
7474 * target.h (struct target_ops) <to_verify_memory>: Use
7475 TARGET_DEFAULT_NORETURN.
7476
9e538d0d
TT
74772014-02-19 Tom Tromey <tromey@redhat.com>
7478
7479 * target-delegates.c: Rebuild.
7480 * target.c (target_core_of_thread): Unconditionally delegate.
7481 * target.h (struct target_ops) <to_core_of_thread>: Use
7482 TARGET_DEFAULT_RETURN.
7483
f6fb2925
TT
74842014-02-19 Tom Tromey <tromey@redhat.com>
7485
7486 * target-delegates.c: Rebuild.
7487 * target.c (target_flash_done): Unconditionally delegate.
7488 * target.h (struct target_ops) <to_flash_done>: Use
7489 TARGET_DEFAULT_NORETURN.
7490
e8a6c6ac
TT
74912014-02-19 Tom Tromey <tromey@redhat.com>
7492
7493 * target-delegates.c: Rebuild.
7494 * target.c (target_flash_erase): Unconditionally delegate.
7495 * target.h (struct target_ops) <to_flash_erase>: Use
7496 TARGET_DEFAULT_NORETURN.
7497
7e35c012
TT
74982014-02-19 Tom Tromey <tromey@redhat.com>
7499
7500 * target-delegates.c: Rebuild.
7501 * target.c (target_get_section_table): Unconditionally delegate.
7502 * target.h (struct target_ops) <to_get_section_table>: Use
7503 TARGET_DEFAULT_RETURN.
7504
770234d3
TT
75052014-02-19 Tom Tromey <tromey@redhat.com>
7506
7507 * target-delegates.c: Rebuild.
7508 * target.c (target_pid_to_str): Unconditionally delegate.
7509 (init_dummy_target): Don't initialize to_pid_to_str.
7510 (default_pid_to_str): Rename from dummy_pid_to_str.
7511 * target.h (struct target_ops) <to_pid_to_str>: Use
7512 TARGET_DEFAULT_FUNC.
7513
09b0dc2b
TT
75142014-02-19 Tom Tromey <tromey@redhat.com>
7515
7516 * target-delegates.c: Rebuild.
7517 * target.c (target_find_new_threads): Unconditionally delegate.
7518 * target.h (struct target_ops) <to_find_new_threads>: Use
7519 TARGET_DEFAULT_RETURN.
7520
7d4f8efa
TT
75212014-02-19 Tom Tromey <tromey@redhat.com>
7522
7523 * target-delegates.c: Rebuild.
7524 * target.c (target_program_signals): Unconditionally delegate.
7525 * target.h (struct target_ops) <to_program_signals>: Use
7526 TARGET_DEFAULT_IGNORE.
7527
035cad7f
TT
75282014-02-19 Tom Tromey <tromey@redhat.com>
7529
7530 * target-delegates.c: Rebuild.
7531 * target.c (target_pass_signals): Unconditionally delegate.
7532 * target.h (struct target_ops) <to_pass_signals>: Use
7533 TARGET_DEFAULT_IGNORE.
7534
8d657035
TT
75352014-02-19 Tom Tromey <tromey@redhat.com>
7536
7537 * target-delegates.c: Rebuild.
7538 * target.c (default_mourn_inferior): New function.
7539 (target_mourn_inferior): Unconditionally delegate.
7540 * target.h (struct target_ops) <to_mourn_inferior>: Use
7541 TARGET_DEFAULT_FUNC.
7542
098dba18
TT
75432014-02-19 Tom Tromey <tromey@redhat.com>
7544
7545 * target-delegates.c: Rebuild.
7546 * target.c (default_follow_fork): New function.
7547 (target_follow_fork): Unconditionally delegate.
7548 * target.h (struct target_ops) <to_follow_fork>: Use
7549 TARGET_DEFAULT_FUNC.
7550
423a4807
TT
75512014-02-19 Tom Tromey <tromey@redhat.com>
7552
7553 * target-delegates.c: Rebuild.
7554 * target.c (target_kill): Unconditionally delegate.
7555 * target.h (struct target_ops) <to_kill>: Use
7556 TARGET_DEFAULT_NORETURN.
7557
6c7e5e5c
TT
75582014-02-19 Tom Tromey <tromey@redhat.com>
7559
7560 * target-delegates.c: Rebuild.
7561 * target.c (target_masked_watch_num_registers): Unconditionally
7562 delegate.
7563 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7564 Use TARGET_DEFAULT_RETURN.
7565
8b1c364c
TT
75662014-02-19 Tom Tromey <tromey@redhat.com>
7567
7568 * target-delegates.c: Rebuild.
7569 * target.c (target_remove_mask_watchpoint): Unconditionally
7570 delegate.
7571 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7572 TARGET_DEFAULT_RETURN.
7573
cd4ae029
TT
75742014-02-19 Tom Tromey <tromey@redhat.com>
7575
7576 * target-delegates.c: Rebuild.
7577 * target.c (target_insert_mask_watchpoint): Unconditionally
7578 delegate.
7579 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7580 TARGET_DEFAULT_RETURN.
7581
a134316b
TT
75822014-02-19 Tom Tromey <tromey@redhat.com>
7583
7584 * target-delegates.c: Rebuild.
7585 * target.c (target_ranged_break_num_registers): Unconditionally
7586 delegate.
7587 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7588 Use TARGET_DEFAULT_RETURN.
7589
ad5989bd
TT
75902014-02-19 Tom Tromey <tromey@redhat.com>
7591
7592 * target-delegates.c: Rebuild.
7593 * target.c (target_fetch_registers): Unconditionally delegate.
7594 * target.h (struct target_ops) <to_fetch_registers>: Use
7595 TARGET_DEFAULT_NORETURN.
7596
46ee7e8d
TT
75972014-02-19 Tom Tromey <tromey@redhat.com>
7598
7599 * target-delegates.c: Rebuild.
7600 * target.c (update_current_target): Don't inherit or default
7601 to_stop.
7602 * target.h (struct target_ops) <to_stop>: Use
7603 TARGET_DEFAULT_IGNORE.
7604
843f59ed
TT
76052014-02-19 Tom Tromey <tromey@redhat.com>
7606
7607 * target-delegates.c: Rebuild.
7608 * target.c (update_current_target): Don't inherit or default
7609 to_can_run_breakpoint_commands.
7610 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7611 Use TARGET_DEFAULT_RETURN.
7612
ccfde2a0
TT
76132014-02-19 Tom Tromey <tromey@redhat.com>
7614
7615 * target-delegates.c: Rebuild.
7616 * target.c (update_current_target): Don't inherit or default
7617 to_supports_evaluation_of_breakpoint_conditions.
7618 * target.h (struct target_ops)
7619 <to_supports_evaluation_of_breakpoint_conditions>: Use
7620 TARGET_DEFAULT_RETURN.
7621
0de91722
TT
76222014-02-19 Tom Tromey <tromey@redhat.com>
7623
7624 * target-delegates.c: Rebuild.
7625 * target.c (update_current_target): Don't inherit or default
7626 to_augmented_libraries_svr4_read.
7627 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7628 Use TARGET_DEFAULT_RETURN.
7629
9a7d8b48
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_can_use_agent.
7635 * target.h (struct target_ops) <to_can_use_agent>: Use
7636 TARGET_DEFAULT_RETURN.
7637
d9db5b21
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_use_agent.
7643 * target.h (struct target_ops) <to_use_agent>: Use
7644 TARGET_DEFAULT_NORETURN.
7645
92155eeb
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_traceframe_info.
7651 (return_null): Remove.
7652 * target.h (struct target_ops) <to_traceframe_info>: Use
7653 TARGET_DEFAULT_RETURN.
7654
d6522a22
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_static_tracepoint_markers_by_strid.
7660 * target.h (struct target_ops)
7661 <to_static_tracepoint_markers_by_strid>: Use
7662 TARGET_DEFAULT_NORETURN.
7663
4c3e4425
TT
76642014-02-19 Tom Tromey <tromey@redhat.com>
7665
7666 * target-delegates.c: Rebuild.
7667 * target.c (update_current_target): Don't inherit or default
7668 to_static_tracepoint_marker_at.
7669 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7670 Use TARGET_DEFAULT_RETURN.
7671
dcd6917f
TT
76722014-02-19 Tom Tromey <tromey@redhat.com>
7673
7674 * target-delegates.c: Rebuild.
7675 * target.c (update_current_target): Don't inherit or default
7676 to_set_permissions.
7677 * target.h (struct target_ops) <to_set_permissions>: Use
7678 TARGET_DEFAULT_IGNORE.
7679
22bcceee
TT
76802014-02-19 Tom Tromey <tromey@redhat.com>
7681
7682 * target-delegates.c: Rebuild.
7683 * target.c (update_current_target): Don't inherit or default
7684 to_get_tib_address.
7685 * target.h (struct target_ops) <to_get_tib_address>: Use
7686 TARGET_DEFAULT_NORETURN.
7687
8586ccaa
TT
76882014-02-19 Tom Tromey <tromey@redhat.com>
7689
7690 * target-delegates.c: Rebuild.
7691 * target.c (update_current_target): Don't inherit or default
7692 to_set_trace_notes.
7693 * target.h (struct target_ops) <to_set_trace_notes>: Use
7694 TARGET_DEFAULT_RETURN.
7695
91df8d1d
TT
76962014-02-19 Tom Tromey <tromey@redhat.com>
7697
7698 * target-delegates.c: Rebuild.
7699 * target.c (update_current_target): Don't initialize
7700 to_set_trace_buffer_size.
7701 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7702 TARGET_DEFAULT_IGNORE.
7703
8d526939
TT
77042014-02-19 Tom Tromey <tromey@redhat.com>
7705
7706 * target-delegates.c: Rebuild.
7707 * target.c (update_current_target): Don't inherit or default
7708 to_set_circular_trace_buffer.
7709 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7710 TARGET_DEFAULT_IGNORE.
7711
0bcfeddf
TT
77122014-02-19 Tom Tromey <tromey@redhat.com>
7713
7714 * target-delegates.c: Rebuild.
7715 * target.c (update_current_target): Don't inherit or default
7716 to_set_disconnected_tracing.
7717 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7718 TARGET_DEFAULT_IGNORE.
7719
9249843f
TT
77202014-02-19 Tom Tromey <tromey@redhat.com>
7721
7722 * target-delegates.c: Rebuild.
7723 * target.c (update_current_target): Don't inherit or default
7724 to_get_min_fast_tracepoint_insn_len.
7725 (return_minus_one): Remove.
7726 * target.h (struct target_ops)
7727 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7728
ace92e7d
TT
77292014-02-19 Tom Tromey <tromey@redhat.com>
7730
7731 * target-delegates.c: Rebuild.
7732 * target.c (update_current_target): Don't inherit or default
7733 to_get_raw_trace_data.
7734 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7735 TARGET_DEFAULT_NORETURN.
7736
08120467
TT
77372014-02-19 Tom Tromey <tromey@redhat.com>
7738
7739 * target-delegates.c: Rebuild.
7740 * target.c (update_current_target): Don't inherit or default
7741 to_upload_trace_state_variables.
7742 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7743 Use TARGET_DEFAULT_RETURN.
7744
1e949b00
TT
77452014-02-19 Tom Tromey <tromey@redhat.com>
7746
7747 * target-delegates.c: Rebuild.
7748 * target.c (update_current_target): Don't inherit or default
7749 to_upload_tracepoints.
7750 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7751 TARGET_DEFAULT_RETURN.
7752
a2e6c147
TT
77532014-02-19 Tom Tromey <tromey@redhat.com>
7754
7755 * target-delegates.c: Rebuild.
7756 * target.c (update_current_target): Don't inherit or default
7757 to_save_trace_data.
7758 * target.h (struct target_ops) <to_save_trace_data>: Use
7759 TARGET_DEFAULT_NORETURN.
7760
959bcd0b
TT
77612014-02-19 Tom Tromey <tromey@redhat.com>
7762
7763 * target-delegates.c: Rebuild.
7764 * target.c (update_current_target): Don't inherit or default
7765 to_get_trace_state_variable_value.
7766 * target.h (struct target_ops)
7767 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
7768
afc94e66
TT
77692014-02-19 Tom Tromey <tromey@redhat.com>
7770
7771 * target-delegates.c: Rebuild.
7772 * target.c (update_current_target): Don't inherit or default
7773 to_trace_find.
7774 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7775
e51c07ea
TT
77762014-02-19 Tom Tromey <tromey@redhat.com>
7777
7778 * target-delegates.c: Rebuild.
7779 * target.c (update_current_target): Don't inherit or default
7780 to_trace_stop.
7781 * target.h (struct target_ops) <to_trace_stop>: Use
7782 TARGET_DEFAULT_NORETURN.
7783
6fea14cd
TT
77842014-02-19 Tom Tromey <tromey@redhat.com>
7785
7786 * target-delegates.c: Rebuild.
7787 * target.c (update_current_target): Don't inherit or default
7788 to_get_tracepoint_status.
7789 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7790 TARGET_DEFAULT_NORETURN.
7791
4072d4ff
TT
77922014-02-19 Tom Tromey <tromey@redhat.com>
7793
7794 * target-delegates.c: Rebuild.
7795 * target.c (update_current_target): Don't inherit or default
7796 to_get_trace_status.
7797 * target.h (struct target_ops) <to_get_trace_status>: Use
7798 TARGET_DEFAULT_RETURN.
7799
25da2e80
TT
78002014-02-19 Tom Tromey <tromey@redhat.com>
7801
7802 * target-delegates.c: Rebuild.
7803 * target.c (update_current_target): Don't inherit or default
7804 to_trace_start.
7805 * target.h (struct target_ops) <to_trace_start>: Use
7806 TARGET_DEFAULT_NORETURN.
7807
86dd181d
TT
78082014-02-19 Tom Tromey <tromey@redhat.com>
7809
7810 * target-delegates.c: Rebuild.
7811 * target.c (update_current_target): Don't inherit or default
7812 to_trace_set_readonly_regions.
7813 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7814 Use TARGET_DEFAULT_NORETURN.
7815
05c41993
TT
78162014-02-19 Tom Tromey <tromey@redhat.com>
7817
7818 * target-delegates.c: Rebuild.
7819 * target.c (update_current_target): Don't inherit or default
7820 to_disable_tracepoint.
7821 * target.h (struct target_ops) <to_disable_tracepoint>: Use
7822 TARGET_DEFAULT_NORETURN.
7823
151f70f1
TT
78242014-02-19 Tom Tromey <tromey@redhat.com>
7825
7826 * target-delegates.c: Rebuild.
7827 * target.c (update_current_target): Don't inherit or default
7828 to_enable_tracepoint.
7829 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7830 TARGET_DEFAULT_NORETURN.
7831
94eb98b9
TT
78322014-02-19 Tom Tromey <tromey@redhat.com>
7833
7834 * target-delegates.c: Rebuild.
7835 * target.c (update_current_target): Don't inherit or default
7836 to_download_trace_state_variable.
7837 * target.h (struct target_ops) <to_download_trace_state_variable>:
7838 Use TARGET_DEFAULT_NORETURN.
7839
719acc4a
TT
78402014-02-19 Tom Tromey <tromey@redhat.com>
7841
7842 * target-delegates.c: Rebuild.
7843 * target.c (update_current_target): Don't inherit or default
7844 to_can_download_tracepoint.
7845 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7846 TARGET_DEFAULT_RETURN.
7847
9a980a22
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_download_tracepoint.
7853 * target.h (struct target_ops) <to_download_tracepoint>: Use
7854 TARGET_DEFAULT_NORETURN.
7855
5536135b
TT
78562014-02-19 Tom Tromey <tromey@redhat.com>
7857
7858 * target-delegates.c: Rebuild.
7859 * target.c (update_current_target): Don't inherit or default
7860 to_trace_init.
7861 * target.h (struct target_ops) <to_trace_init>: Use
7862 TARGET_DEFAULT_RETURN.
7863
9409d39e
TT
78642014-02-19 Tom Tromey <tromey@redhat.com>
7865
7866 * target-delegates.c: Rebuild.
7867 * target.c (update_current_target): Don't inherit or default
7868 to_supports_string_tracing.
7869 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7870 TARGET_DEFAULT_RETURN.
7871
aab1b22d
TT
78722014-02-19 Tom Tromey <tromey@redhat.com>
7873
7874 * target-delegates.c: Rebuild.
7875 * target.c (update_current_target): Don't inherit or default
7876 to_supports_enable_disable_tracepoint.
7877 * target.h (struct target_ops)
7878 <to_supports_enable_disable_tracepoint>: Use
7879 TARGET_DEFAULT_RETURN.
7880
a7304748
TT
78812014-02-19 Tom Tromey <tromey@redhat.com>
7882
7883 * target-delegates.c: Rebuild.
7884 * target.c (update_current_target): Don't inherit or default
7885 to_supports_multi_process.
7886 * target.h (struct target_ops) <to_supports_multi_process>: Use
7887 TARGET_DEFAULT_RETURN.
7888
4229b31d
TT
78892014-02-19 Tom Tromey <tromey@redhat.com>
7890
7891 * target-delegates.c: Rebuild.
7892 * target.c (update_current_target): Don't inherit or default
7893 to_get_ada_task_ptid.
7894 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
7895 TARGET_DEFAULT_FUNC.
7896
43eba180
TT
78972014-02-19 Tom Tromey <tromey@redhat.com>
7898
7899 * target-delegates.c: Rebuild.
7900 * target.c (update_current_target): Don't inherit or default
7901 to_thread_architecture.
7902 * target.h (struct target_ops) <to_thread_architecture>: Use
7903 TARGET_DEFAULT_FUNC.
7904
fe31bf5b
TT
79052014-02-19 Tom Tromey <tromey@redhat.com>
7906
7907 * target-delegates.c: Rebuild.
7908 * target.c (update_current_target): Don't inherit or default
7909 to_execution_direction.
7910 * target.h (struct target_ops) <to_execution_direction>: Use
7911 TARGET_DEFAULT_FUNC.
7912
53e1cfc7
TT
79132014-02-19 Tom Tromey <tromey@redhat.com>
7914
7915 * target-delegates.c: Rebuild.
7916 * target.c (update_current_target): Don't inherit or default
7917 to_can_execute_reverse.
7918 * target.h (struct target_ops) <to_can_execute_reverse>: Use
7919 TARGET_DEFAULT_RETURN.
7920 (target_can_execute_reverse): Unconditionally delegate.
7921
9bb9d61d
TT
79222014-02-19 Tom Tromey <tromey@redhat.com>
7923
7924 * target-delegates.c: Rebuild.
7925 * target.c (update_current_target): Don't inherit or default
7926 to_goto_bookmark.
7927 (dummy_goto_bookmark): Remove.
7928 (init_dummy_target): Don't inherit or default to_goto_bookmark.
7929 * target.h (struct target_ops) <to_goto_bookmark>: Use
7930 TARGET_DEFAULT_NORETURN.
7931
3dbafbbb
TT
79322014-02-19 Tom Tromey <tromey@redhat.com>
7933
7934 * target-delegates.c: Rebuild.
7935 * target.c (update_current_target): Don't inherit or default
7936 to_get_bookmark.
7937 (dummy_get_bookmark): Remove.
7938 (init_dummy_target): Don't inherit or default to_get_bookmark.
7939 * target.h (struct target_ops) <to_get_bookmark>: Use
7940 TARGET_DEFAULT_NORETURN
7941
16f796b1
TT
79422014-02-19 Tom Tromey <tromey@redhat.com>
7943
7944 * target-delegates.c: Rebuild.
7945 * target.c (update_current_target): Don't inherit or default
7946 to_make_corefile_notes.
7947 (init_dummy_target): Don't initialize to_make_corefile_notes.
7948 * target.h (struct target_ops) <to_make_corefile_notes>: Use
7949 TARGET_DEFAULT_FUNC.
7950
0b5a2719
TT
79512014-02-19 Tom Tromey <tromey@redhat.com>
7952
7953 * target-delegates.c: Rebuild.
7954 * target.c (update_current_target): Don't inherit or default
7955 to_find_memory_regions.
7956 (init_dummy_target): Don't initialize to_find_memory_regions.
7957 * target.h (struct target_ops) <to_find_memory_regions>: Use
7958 TARGET_DEFAULT_FUNC.
7959
d9cb0195
TT
79602014-02-19 Tom Tromey <tromey@redhat.com>
7961
7962 * target-delegates.c: Rebuild.
7963 * target.c (update_current_target): Don't inherit or default
7964 to_log_command.
7965 * target.h (struct target_ops) <to_log_command>: Use
7966 TARGET_DEFAULT_IGNORE.
7967 (target_log_command): Unconditionally delegate.
7968
830ca330
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_pid_to_exec_file.
7974 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
7975 TARGET_DEFAULT_RETURN.
7976
825828fc
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_thread_name.
7982 (target_thread_name): Unconditionally delegate.
7983 * target.h (struct target_ops) <to_thread_name>: Use
7984 TARGET_DEFAULT_RETURN.
7985
4a7e6dda
TT
79862014-02-19 Tom Tromey <tromey@redhat.com>
7987
7988 * target-delegates.c: Rebuild.
7989 * target.c (update_current_target): Don't inherit or default
7990 to_extra_thread_info.
7991 * target.h (struct target_ops) <to_extra_thread_info>: Use
7992 TARGET_DEFAULT_RETURN.
7993
0db88c1d
TT
79942014-02-19 Tom Tromey <tromey@redhat.com>
7995
7996 * target-delegates.c: Rebuild.
7997 * target.c (update_current_target): Don't inherit or default
7998 to_has_exited.
7999 * target.h (struct target_ops) <to_has_exited>: Use
8000 TARGET_DEFAULT_RETURN..
8001
6a9fa051
TT
80022014-02-19 Tom Tromey <tromey@redhat.com>
8003
8004 * target-delegates.c: Rebuild.
8005 * target.c (update_current_target): Don't inherit or default
8006 to_set_syscall_catchpoint.
8007 (return_one): Remove.
8008 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8009 TARGET_DEFAULT_RETURN.
8010
62f64d7a
TT
80112014-02-19 Tom Tromey <tromey@redhat.com>
8012
8013 * target-delegates.c: Rebuild.
8014 * target.c (update_current_target): Don't inherit or default
8015 to_insert_exec_catchpoint.
8016 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8017 TARGET_DEFAULT_RETURN.
8018
cda0f38c
TT
80192014-01-08 Tom Tromey <tromey@redhat.com>
8020
8021 * target-delegates.c: Rebuild.
8022 * target.c (update_current_target): Don't inherit or default
8023 to_insert_exec_catchpoint.
8024 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8025 TARGET_DEFAULT_RETURN.
8026
95c3375e
TT
80272014-02-19 Tom Tromey <tromey@redhat.com>
8028
8029 * target-delegates.c: Rebuild.
8030 * target.c (update_current_target): Don't inherit or default
8031 to_remove_vfork_catchpoint.
8032 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8033 TARGET_DEFAULT_RETURN.
8034
7e18a8dc
TT
80352014-02-19 Tom Tromey <tromey@redhat.com>
8036
8037 * target-delegates.c: Rebuild.
8038 * target.c (update_current_target): Don't inherit or default
8039 to_insert_vfork_catchpoint.
8040 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8041 TARGET_DEFAULT_RETURN.
8042
e1a21fb7
TT
80432014-02-19 Tom Tromey <tromey@redhat.com>
8044
8045 * target-delegates.c: Rebuild.
8046 * target.c (update_current_target): Don't inherit or default
8047 to_remove_fork_catchpoint.
8048 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8049 TARGET_DEFAULT_RETURN.
8050
5958ebeb
TT
80512014-02-19 Tom Tromey <tromey@redhat.com>
8052
8053 * target-delegates.c: Rebuild.
8054 * target.c (update_current_target): Don't inherit or default
8055 to_insert_fork_catchpoint.
8056 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8057 TARGET_DEFAULT_RETURN.
8058
340ba4bf
TT
80592014-02-19 Tom Tromey <tromey@redhat.com>
8060
8061 * target-delegates.c: Rebuild.
8062 * target.c (update_current_target): Don't inherit or default
8063 to_post_startup_inferior.
8064 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8065 TARGET_DEFAULT_IGNORE.
8066
7634da87
TT
80672014-02-19 Tom Tromey <tromey@redhat.com>
8068
8069 * target-delegates.c: Rebuild.
8070 * target.c (update_current_target): Don't inherit or default
8071 to_load.
8072 * target.h (struct target_ops) <to_load>: Use
8073 TARGET_DEFAULT_NORETURN.
8074
e19e919f
TT
80752014-02-19 Tom Tromey <tromey@redhat.com>
8076
8077 * target-delegates.c: Rebuild.
8078 * target.c (update_current_target): Don't inherit or default
8079 to_terminal_info.
8080 * target.h (struct target_ops) <to_terminal_info>: Use
8081 TARGET_DEFAULT_FUNC.
8082
c6ea8f79
TT
80832014-02-19 Tom Tromey <tromey@redhat.com>
8084
8085 * target-delegates.c: Rebuild.
8086 * target.c (update_current_target): Don't inherit or default
8087 to_terminal_save_ours.
8088 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8089 TARGET_DEFAULT_IGNORE.
8090
e4a733f1
TT
80912014-02-19 Tom Tromey <tromey@redhat.com>
8092
8093 * target-delegates.c: Rebuild.
8094 * target.c (update_current_target): Don't inherit or default
8095 to_terminal_ours.
8096 * target.h (struct target_ops) <to_terminal_ours>: Use
8097 TARGET_DEFAULT_IGNORE.
8098
74fcbef9
TT
80992014-02-19 Tom Tromey <tromey@redhat.com>
8100
8101 * target-delegates.c: Rebuild.
8102 * target.c (update_current_target): Don't inherit or default
8103 to_terminal_ours_for_output.
8104 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8105 TARGET_DEFAULT_IGNORE.
8106
ddeaacc9
TT
81072014-02-19 Tom Tromey <tromey@redhat.com>
8108
8109 * target-delegates.c: Rebuild.
8110 * target.c (update_current_target): Don't inherit or default
8111 to_terminal_inferior.
8112 * target.h (struct target_ops) <to_terminal_inferior>: Use
8113 TARGET_DEFAULT_IGNORE.
8114
0343661d
TT
81152014-02-19 Tom Tromey <tromey@redhat.com>
8116
8117 * target-delegates.c: Rebuild.
8118 * target.c (update_current_target): Don't inherit or default
8119 to_terminal_init.
8120 * target.h (struct target_ops) <to_terminal_init>: Use
8121 TARGET_DEFAULT_IGNORE.
8122
77cdffe9
TT
81232014-02-19 Tom Tromey <tromey@redhat.com>
8124
8125 * target-delegates.c: Rebuild.
8126 * target.c (update_current_target): Don't inherit or default
8127 to_can_accel_watchpoint_condition.
8128 * target.h (struct target_ops)
8129 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8130
d03655e4
TT
81312014-02-19 Tom Tromey <tromey@redhat.com>
8132
8133 * target-delegates.c: Rebuild.
8134 * target.c (update_current_target): Don't inherit or default
8135 to_region_ok_for_hw_watchpoint.
8136 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8137 Use TARGET_DEFAULT_FUNC.
8138
65f160a9
TT
81392014-02-19 Tom Tromey <tromey@redhat.com>
8140
8141 * target-delegates.c: Rebuild.
8142 * target.c (update_current_target): Don't inherit or default
8143 to_watchpoint_addr_within_range.
8144 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8145 Use TARGET_DEFAULT_FUNC.
8146
61dd109f
TT
81472014-02-19 Tom Tromey <tromey@redhat.com>
8148
8149 * target-delegates.c: Rebuild.
8150 * target.c (update_current_target): Don't inherit or default
8151 to_remove_watchpoint.
8152 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8153 TARGET_DEFAULT_NORETURN.
8154
016facd4
TT
81552014-02-19 Tom Tromey <tromey@redhat.com>
8156
8157 * target-delegates.c: Rebuild.
8158 * target.c (update_current_target): Don't inherit or default
8159 to_insert_watchpoint.
8160 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8161 TARGET_DEFAULT_RETURN.
8162
418dabac
TT
81632014-02-19 Tom Tromey <tromey@redhat.com>
8164
8165 * target-delegates.c: Rebuild.
8166 * target.c (update_current_target): Don't inherit or default
8167 to_remove_hw_breakpoint.
8168 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8169 TARGET_DEFAULT_RETURN.
8170
61b371f9
TT
81712014-02-19 Tom Tromey <tromey@redhat.com>
8172
8173 * target-delegates.c: Rebuild.
8174 * target.c (update_current_target): Don't inherit or default
8175 to_insert_hw_breakpoint.
8176 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8177 TARGET_DEFAULT_RETURN.
8178
52b51d06
TT
81792014-02-19 Tom Tromey <tromey@redhat.com>
8180
8181 * target-delegates.c: Rebuild.
8182 * target.c (update_current_target): Don't inherit or default
8183 to_can_use_hw_breakpoint.
8184 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8185 TARGET_DEFAULT_RETURN.
8186
f86e59b2
TT
81872014-02-19 Tom Tromey <tromey@redhat.com>
8188
8189 * target-delegates.c: Rebuild.
8190 * target.c (update_current_target): Don't inherit or default
8191 to_files_info.
8192 * target.h (struct target_ops) <to_files_info>: Use
8193 TARGET_DEFAULT_IGNORE.
8194
6c628163
TT
81952014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * target-delegates.c: Rebuild.
8198 * target.c (update_current_target): Don't inherit or default
8199 to_store.
8200 * target.h (struct target_ops) <to_store>: Use
8201 TARGET_DEFAULT_NORETURN.
8202
bebd3233
TT
82032014-02-19 Tom Tromey <tromey@redhat.com>
8204
8205 * target-delegates.c: Rebuild.
8206 * target.c (update_current_target): Don't inherit or default
8207 to_post_attach.
8208 * target.h (struct target_ops) <to_post_attach>: Use
8209 TARGET_DEFAULT_IGNORE.
8210
a53f3625
TT
82112014-02-19 Tom Tromey <tromey@redhat.com>
8212
8213 * target-delegates.c: Rebuild.
8214 * target.c (update_current_target): Don't inherit or default
8215 to_rcmd.
8216 (default_rcmd): New function.
8217 (do_monitor_command): Unconditionally delegate.
8218 * target.h (struct target_ops) <to_rmcd>: Use
8219 TARGET_DEFAULT_FUNC.
8220
e9a29200
TT
82212014-02-19 Tom Tromey <tromey@redhat.com>
8222
8223 * target-delegates.c: Rebuild.
8224 * target.c (init_dummy_target): Don't initialize to_attach.
8225 (target_attach): Unconditionally delegate.
8226 * target.h (struct target_ops) <to_attach>: Use
8227 TARGET_DEFAULT_FUNC.
8228
09da0d0a
TT
82292014-02-19 Tom Tromey <tromey@redhat.com>
8230
8231 * target-delegates.c: Rebuild.
8232 * target.c (target_detach): Unconditionally delegate.
8233 (init_dummy_target): Don't initialize to_detach.
8234 * target.h (struct target_ops) <to_detach>: Use
8235 TARGET_DEFAULT_IGNORE.
8236
5436ff03
TT
82372014-02-19 Tom Tromey <tromey@redhat.com>
8238
8239 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8240 Add argument.
8241 (target_augmented_libraries_svr4_read): Add argument.
8242 * target.c (update_current_target): Update.
8243 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8244 argument.
8245
f0d960ea
TT
82462014-02-19 Tom Tromey <tromey@redhat.com>
8247
8248 * target.h (struct target_ops) <to_call_history_range>: Add
8249 argument.
8250 * target.c (target_call_history_range): Add argument.
8251 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8252 argument.
8253 (record_btrace_call_history_from): Update.
8254
ec0aea04
TT
82552014-02-19 Tom Tromey <tromey@redhat.com>
8256
8257 * target.h (struct target_ops) <to_call_history_from>: Add
8258 argument.
8259 * target.c (target_call_history_from): Add argument.
8260 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8261 argument.
8262
5df2fcba
TT
82632014-02-19 Tom Tromey <tromey@redhat.com>
8264
8265 * target.h (struct target_ops) <to_call_history>: Add argument.
8266 * target.c (target_call_history): Add argument.
8267 * record-btrace.c (record_btrace_call_history): Add 'self'
8268 argument.
8269
4e99c6b7
TT
82702014-02-19 Tom Tromey <tromey@redhat.com>
8271
8272 * target.h (struct target_ops) <to_insn_history_range>: Add
8273 argument.
8274 * target.c (target_insn_history_range): Add argument.
8275 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8276 argument.
8277 (record_btrace_insn_history_from): Update.
8278
9abc3ff3
TT
82792014-02-19 Tom Tromey <tromey@redhat.com>
8280
8281 * target.h (struct target_ops) <to_insn_history_from>: Add
8282 argument.
8283 * target.c (target_insn_history_from): Add argument.
8284 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8285 argument.
8286
7a6c5609
TT
82872014-02-19 Tom Tromey <tromey@redhat.com>
8288
8289 * target.h (struct target_ops) <to_insn_history>: Add argument.
8290 * target.c (target_insn_history): Add argument.
8291 * record-btrace.c (record_btrace_insn_history): Add 'self'
8292 argument.
8293
606183ac
TT
82942014-02-19 Tom Tromey <tromey@redhat.com>
8295
8296 * target.h (struct target_ops) <to_goto_record>: Add argument.
8297 * target.c (target_goto_record): Add argument.
8298 * record-full.c (record_full_goto): Add 'self' argument.
8299 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8300
307a1b91
TT
83012014-02-19 Tom Tromey <tromey@redhat.com>
8302
8303 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8304 * target.c (target_goto_record_end): Add argument.
8305 * record-full.c (record_full_goto_end): Add 'self' argument.
8306 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8307
08475817
TT
83082014-02-19 Tom Tromey <tromey@redhat.com>
8309
8310 * target.h (struct target_ops) <to_goto_record_begin>: Add
8311 argument.
8312 * target.c (target_goto_record_begin): Add argument.
8313 * record-full.c (record_full_goto_begin): Add 'self' argument.
8314 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8315 argument.
8316
1c63c994
TT
83172014-02-19 Tom Tromey <tromey@redhat.com>
8318
8319 * target.h (struct target_ops) <to_record_is_replaying>: Add
8320 argument.
8321 * target.c (target_record_is_replaying): Add argument.
8322 * record-full.c (record_full_is_replaying): Add 'self' argument.
8323 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8324 argument.
8325 (record_btrace_xfer_partial, record_btrace_store_registers)
8326 (record_btrace_prepare_to_store, record_btrace_resume)
8327 (record_btrace_wait, record_btrace_decr_pc_after_break)
8328 (record_btrace_find_new_threads, record_btrace_thread_alive):
8329 Update.
8330
d1b55219
TT
83312014-02-19 Tom Tromey <tromey@redhat.com>
8332
8333 * target.h (struct target_ops) <to_delete_record>: Add argument.
8334 * target.c (target_delete_record): Add argument.
8335 * record-full.c (record_full_delete): Add 'self' argument.
8336
1390f529
TT
83372014-02-19 Tom Tromey <tromey@redhat.com>
8338
8339 * target.h (struct target_ops) <to_save_record>: Add argument.
8340 * target.c (target_save_record): Add argument.
8341 * record-full.c (record_full_save): Add 'self' argument.
8342 (record_full_save): Add 'self' argument.
8343
630d6a4a
TT
83442014-02-19 Tom Tromey <tromey@redhat.com>
8345
8346 * target.h (struct target_ops) <to_info_record>: Add argument.
8347 * target.c (target_info_record): Add argument.
8348 * record.c (info_record_command): Add argument.
8349 * record-full.c (record_full_info): Add 'self' argument.
8350 * record-btrace.c (record_btrace_info): Add 'self' argument.
8351
c6cd7c02
TT
83522014-02-19 Tom Tromey <tromey@redhat.com>
8353
8354 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8355 * target.c (target_stop_recording): Add argument.
8356 * record.c (record_stop): Add argument.
8357 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8358 argument.
8359
39c49f83
TT
83602014-02-19 Tom Tromey <tromey@redhat.com>
8361
8362 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8363 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8364 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8365 argument.
8366 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8367 (_initialize_amd64_linux_nat): Use it.
8368 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8369 (_initialize_i386_linux_nat): Use it.
8370
1777056d
TT
83712014-02-19 Tom Tromey <tromey@redhat.com>
8372
8373 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8374 * target.c (target_teardown_btrace): Add argument.
8375 * remote.c (remote_teardown_btrace): Add 'self' argument.
8376 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8377 argument.
8378 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8379 argument.
8380
25e95349
TT
83812014-02-19 Tom Tromey <tromey@redhat.com>
8382
8383 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8384 * target.c (target_disable_btrace): Add argument.
8385 * remote.c (remote_disable_btrace): Add 'self' argument.
8386 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8387 argument.
8388 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8389 argument.
8390
e3c49f88
TT
83912014-02-19 Tom Tromey <tromey@redhat.com>
8392
8393 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8394 * target.c (target_enable_btrace): Add argument.
8395 * remote.c (remote_enable_btrace): Add 'self' argument.
8396 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8397 argument.
8398 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8399 argument.
8400
fe38f897
TT
84012014-02-19 Tom Tromey <tromey@redhat.com>
8402
8403 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8404 (target_can_use_agent): Add argument.
8405 * target.c (update_current_target): Update.
8406 * remote.c (remote_can_use_agent): Add 'self' argument.
8407 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8408
2c152180
TT
84092014-02-19 Tom Tromey <tromey@redhat.com>
8410
8411 * target.h (struct target_ops) <to_use_agent>: Add argument.
8412 (target_use_agent): Add argument.
8413 * target.c (update_current_target): Update.
8414 * remote.c (remote_use_agent): Add 'self' argument.
8415 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8416
a893e81f
TT
84172014-02-19 Tom Tromey <tromey@redhat.com>
8418
8419 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8420 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8421 (target_traceframe_info): Add argument.
8422 * target.c (update_current_target): Update.
8423 * remote.c (remote_traceframe_info): Add 'self' argument.
8424 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8425
c686c57f
TT
84262014-02-19 Tom Tromey <tromey@redhat.com>
8427
8428 * target.h (target_static_tracepoint_markers_by_strid): Add
8429 argument.
8430 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8431 'self' argument.
8432 * target.c (update_current_target): Update.
8433 * remote.c (struct target_ops)
8434 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8435 * linux-nat.c (struct target_ops)
8436 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8437
61fc905d
TT
84382014-02-19 Tom Tromey <tromey@redhat.com>
8439
8440 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8441 Add argument.
8442 (target_static_tracepoint_marker_at): Add argument.
8443 * target.c (update_current_target): Update.
8444 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8445 argument.
8446
c378d69d
TT
84472014-02-19 Tom Tromey <tromey@redhat.com>
8448
8449 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8450 (target_set_permissions): Add argument.
8451 * target.c (update_current_target): Update.
8452 * remote.c (remote_set_permissions): Add 'self' argument.
8453 (remote_start_remote): Update.
8454
bd7ae0f5
TT
84552014-02-19 Tom Tromey <tromey@redhat.com>
8456
8457 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8458 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8459 (target_get_tib_address): Add argument.
8460 * target.c (update_current_target): Update.
8461 * remote.c (remote_get_tib_address): Add 'self' argument.
8462
d9e68a2c
TT
84632014-02-19 Tom Tromey <tromey@redhat.com>
8464
8465 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8466 (target_set_trace_notes): Add argument.
8467 * target.c (update_current_target): Update.
8468 * remote.c (remote_set_trace_notes): Add 'self' argument.
8469
4da384be
TT
84702014-02-19 Tom Tromey <tromey@redhat.com>
8471
8472 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8473 argument.
8474 (target_set_trace_buffer_size): Add argument.
8475 * target.c (update_current_target): Update.
8476 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8477
736d5b1f
TT
84782014-02-19 Tom Tromey <tromey@redhat.com>
8479
8480 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8481 argument.
8482 (target_set_circular_trace_buffer): Add argument.
8483 * target.c (update_current_target): Update.
8484 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8485 argument.
8486
37b25738
TT
84872014-02-19 Tom Tromey <tromey@redhat.com>
8488
8489 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8490 argument.
8491 (target_set_disconnected_tracing): Add argument.
8492 * target.c (update_current_target): Update.
8493 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8494
0e67620a
TT
84952014-02-19 Tom Tromey <tromey@redhat.com>
8496
8497 * target.h (struct target_ops)
8498 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8499 (target_get_min_fast_tracepoint_insn_len): Add argument.
8500 * target.c (update_current_target): Update.
8501 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8502 argument.
8503
88ee6f45
TT
85042014-02-19 Tom Tromey <tromey@redhat.com>
8505
8506 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8507 argument.
8508 (target_get_raw_trace_data): Add argument.
8509 * target.c (update_current_target): Update.
8510 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8511
181e3713
TT
85122014-02-19 Tom Tromey <tromey@redhat.com>
8513
8514 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8515 Add argument.
8516 (target_upload_trace_state_variables): Add argument.
8517 * target.c (update_current_target): Update.
8518 * remote.c (remote_upload_trace_state_variables): Add 'self'
8519 argument.
8520 (remote_start_remote): Update.
8521
ab6617cc
TT
85222014-02-19 Tom Tromey <tromey@redhat.com>
8523
8524 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8525 argument.
8526 (target_upload_tracepoints): Add argument.
8527 * target.c (update_current_target): Update.
8528 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8529 (remote_start_remote): Update.
8530
dc3decaf
TT
85312014-02-19 Tom Tromey <tromey@redhat.com>
8532
8533 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8534 (target_save_trace_data): Add argument.
8535 * target.c (update_current_target): Update.
8536 * remote.c (remote_save_trace_data): Add 'self' argument.
8537
4011015b
TT
85382014-02-19 Tom Tromey <tromey@redhat.com>
8539
8540 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8541 argument.
8542 * target.h (struct target_ops)
8543 <to_get_trace_state_variable_value>: Add argument.
8544 (target_get_trace_state_variable_value): Add argument.
8545 * target.c (update_current_target): Update.
8546 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8547 argument.
8548 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8549
bd4c6793
TT
85502014-02-19 Tom Tromey <tromey@redhat.com>
8551
8552 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8553 * target.h (struct target_ops) <to_trace_find>: Add argument.
8554 (target_trace_find): Add argument.
8555 * target.c (update_current_target): Update.
8556 * remote.c (remote_trace_find): Add 'self' argument.
8557 * ctf.c (ctf_trace_find): Add 'self' argument.
8558
74499f1b
TT
85592014-02-19 Tom Tromey <tromey@redhat.com>
8560
8561 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8562 (target_trace_stop): Add argument.
8563 * target.c (update_current_target): Update.
8564 * remote.c (remote_trace_stop): Add 'self' argument.
8565
db90e85c
TT
85662014-02-19 Tom Tromey <tromey@redhat.com>
8567
8568 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8569 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8570 argument.
8571 (target_get_tracepoint_status): Add argument.
8572 * target.c (update_current_target): Update.
8573 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8574
8bd200f1
TT
85752014-02-19 Tom Tromey <tromey@redhat.com>
8576
8577 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8578 * target.h (struct target_ops) <to_get_trace_status>: Add
8579 argument.
8580 (target_get_trace_status): Add argument.
8581 * target.c (update_current_target): Update.
8582 * remote.c (remote_get_trace_status): Add 'self' argument.
8583 (remote_start_remote, remote_can_download_tracepoint): Update.
8584 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8585
e2d1aae3
TT
85862014-02-19 Tom Tromey <tromey@redhat.com>
8587
8588 * target.h (struct target_ops) <to_trace_start>: Add argument.
8589 (target_trace_start): Add argument.
8590 * target.c (update_current_target): Update.
8591 * remote.c (remote_trace_start): Add 'self' argument.
8592
583f9a86
TT
85932014-02-19 Tom Tromey <tromey@redhat.com>
8594
8595 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8596 Add argument.
8597 (target_trace_set_readonly_regions): Add argument.
8598 * target.c (update_current_target): Update.
8599 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8600 argument.
8601
780b049c
TT
86022014-02-19 Tom Tromey <tromey@redhat.com>
8603
8604 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8605 argument.
8606 (target_disable_tracepoint): Add argument.
8607 * target.c (update_current_target): Update.
8608 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8609
46670d57
TT
86102014-02-19 Tom Tromey <tromey@redhat.com>
8611
8612 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8613 argument.
8614 (target_enable_tracepoint): Add argument.
8615 * target.c (update_current_target): Update.
8616 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8617
559d2b81
TT
86182014-02-19 Tom Tromey <tromey@redhat.com>
8619
8620 * target.h (struct target_ops) <to_download_trace_state_variable>:
8621 Add argument.
8622 (target_download_trace_state_variable): Add argument.
8623 * target.c (update_current_target): Update.
8624 * remote.c (remote_download_trace_state_variable): Add 'self'
8625 argument.
8626
a52a8357
TT
86272014-02-19 Tom Tromey <tromey@redhat.com>
8628
8629 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8630 argument.
8631 (target_can_download_tracepoint): Add argument.
8632 * target.c (update_current_target): Update.
8633 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8634
548f7808
TT
86352014-02-19 Tom Tromey <tromey@redhat.com>
8636
8637 * target.h (struct target_ops) <to_download_tracepoint>: Add
8638 argument.
8639 (target_download_tracepoint): Add argument.
8640 * target.c (update_current_target): Update.
8641 * remote.c (remote_download_tracepoint): Add 'self' argument.
8642
ecae04e1
TT
86432014-02-19 Tom Tromey <tromey@redhat.com>
8644
8645 * target.h (struct target_ops) <to_trace_init>: Add argument.
8646 (target_trace_init): Add argument.
8647 * target.c (update_current_target): Update.
8648 * remote.c (remote_trace_init): Add 'self' argument.
8649
fab5aa7c
TT
86502014-02-19 Tom Tromey <tromey@redhat.com>
8651
8652 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8653 * target.c (target_fileio_readlink): Add argument.
8654 * remote.c (remote_hostio_readlink): Add 'self' argument.
8655 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8656
dbbca37d
TT
86572014-02-19 Tom Tromey <tromey@redhat.com>
8658
8659 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8660 * target.c (target_fileio_unlink): Add argument.
8661 * remote.c (remote_hostio_unlink): Add 'self' argument.
8662 (remote_file_delete): Update.
8663 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8664
df39ea25
TT
86652014-02-19 Tom Tromey <tromey@redhat.com>
8666
8667 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8668 * target.c (target_fileio_close): Add argument.
8669 * remote.c (remote_hostio_close): Add 'self' argument.
8670 (remote_hostio_close_cleanup): Update.
8671 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8672 Update.
8673 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8674
a3be983c
TT
86752014-02-19 Tom Tromey <tromey@redhat.com>
8676
8677 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8678 * target.c (target_fileio_pread): Add argument.
8679 * remote.c (remote_hostio_pread): Add 'self' argument.
8680 (remote_bfd_iovec_pread, remote_file_get): Update.
8681 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8682
0d866f62
TT
86832014-02-19 Tom Tromey <tromey@redhat.com>
8684
8685 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8686 * target.c (target_fileio_pwrite): Add argument.
8687 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8688 (remote_file_put): Update.
8689 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8690
cd897586
TT
86912014-02-19 Tom Tromey <tromey@redhat.com>
8692
8693 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8694 * target.c (target_fileio_open): Add argument.
8695 * remote.c (remote_hostio_open): Add 'self' argument.
8696 (remote_bfd_iovec_open): Add 'self' argument.
8697 (remote_file_put): Add 'self' argument.
8698 (remote_file_get): Add 'self' argument.
8699 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8700
78eff0ec
TT
87012014-02-19 Tom Tromey <tromey@redhat.com>
8702
8703 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8704 Add argument.
8705 (target_can_run_breakpoint_commands): Add argument.
8706 * target.c (update_current_target): Update.
8707 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8708 argument.
8709 (remote_insert_breakpoint): Add 'self' argument.
8710 (remote_insert_hw_breakpoint): Add 'self' argument.
8711 (remote_can_run_breakpoint_commands): Add 'self' argument.
8712
efcc2da7
TT
87132014-02-19 Tom Tromey <tromey@redhat.com>
8714
8715 * target.h (struct target_ops)
8716 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8717 (target_supports_evaluation_of_breakpoint_conditions): Add
8718 argument.
8719 * target.c (update_current_target): Update.
8720 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8721 argument.
8722 (remote_insert_breakpoint): Add 'self' argument.
8723 (remote_insert_hw_breakpoint): Add 'self' argument.
8724 (remote_supports_cond_breakpoints): Add 'self' argument.
8725
6de37a3a
TT
87262014-02-19 Tom Tromey <tromey@redhat.com>
8727
8728 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8729 argument.
8730 (target_supports_string_tracing): Add argument.
8731 * target.c (update_current_target): Update.
8732 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8733
2bfc0540
TT
87342014-02-19 Tom Tromey <tromey@redhat.com>
8735
8736 * target.h (struct target_ops)
8737 <to_supports_disable_randomization>: Add argument.
8738 * target.c (find_default_supports_disable_randomization): Add
8739 argument.
8740 (target_supports_disable_randomization): Add argument.
8741 (find_default_supports_disable_randomization): Add 'self'
8742 argument.
8743 * remote.c (extended_remote_supports_disable_randomization): Add
8744 'self' argument.
8745 (remote_supports_disable_randomization): Add 'self' argument.
8746 (extended_remote_create_inferior): Update.
8747 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8748 'self' argument.
8749
7d178d6a
TT
87502014-02-19 Tom Tromey <tromey@redhat.com>
8751
8752 * target.h (struct target_ops)
8753 <to_supports_enable_disable_tracepoint>: Add argument.
8754 (target_supports_enable_disable_tracepoint): Add argument.
8755 * target.c (update_current_target): Update.
8756 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8757 argument.
8758
86ce2668
TT
87592014-02-19 Tom Tromey <tromey@redhat.com>
8760
8761 * target.h (struct target_ops) <to_supports_multi_process>: Add
8762 argument.
8763 (target_supports_multi_process): Add argument.
8764 * target.c (update_current_target): Update.
8765 * remote.c (remote_supports_multi_process): Add 'self' argument.
8766 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8767 argument.
8768 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8769 argument.
8770
4c612759
TT
87712014-02-19 Tom Tromey <tromey@redhat.com>
8772
8773 * target.h (struct target_ops) <to_execution_direction>: Add
8774 argument.
8775 (target_execution_direction): Add argument.
8776 * target.c (default_execution_direction): Add 'self' argument.
8777 * record-full.c (record_full_execution_direction): Add 'self'
8778 argument.
8779
19db3e69
TT
87802014-02-19 Tom Tromey <tromey@redhat.com>
8781
8782 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8783 argument.
8784 (target_can_execute_reverse): Add argument.
8785 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8786 * record-full.c (record_full_can_execute_reverse): Add 'self'
8787 argument.
8788 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8789 argument.
8790
1e6b91a4
TT
87912014-02-19 Tom Tromey <tromey@redhat.com>
8792
8793 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8794 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8795 argument.
8796 (target_get_ada_task_ptid): Add argument.
8797 * target.c (update_current_target): Update.
8798 (default_get_ada_task_ptid): Add 'self' argument.
8799 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8800 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8801 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8802 argument.
8803 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8804 argument.
8805 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8806 argument.
8807 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8808 argument.
8809 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8810 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8811 argument.
8812
3c80fb48
TT
88132014-02-19 Tom Tromey <tromey@redhat.com>
8814
8815 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8816 (target_goto_bookmark): Add argument.
8817 * target.c (dummy_goto_bookmark): Add 'self' argument.
8818 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8819
dd0e2830
TT
88202014-02-19 Tom Tromey <tromey@redhat.com>
8821
8822 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8823 (target_get_bookmark): Add argument.
8824 * target.c (dummy_get_bookmark): Add 'self' argument.
8825 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8826
fc6691b2
TT
88272014-02-19 Tom Tromey <tromey@redhat.com>
8828
8829 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8830 argument.
8831 (target_make_corefile_notes): Add argument.
8832 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8833 * procfs.c (procfs_make_note_section): Add 'self' argument.
8834 (procfs_make_note_section): Add 'self' argument.
8835 (procfs_make_note_section): Add 'self' argument.
8836 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8837 argument.
8838 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8839 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8840 * exec.c (exec_make_note_section): Add 'self' argument.
8841 (exec_make_note_section): Add 'self' argument.
8842
2e73927c
TT
88432014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target.h (struct target_ops) <to_find_memory_regions>: Add
8846 argument.
8847 (target_find_memory_regions): Add argument.
8848 * target.c (dummy_find_memory_regions): Add 'self' argument.
8849 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8850 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8851 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8852 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8853 * exec. (exec_do_find_memory_regions): New global.
8854 (exec_set_find_memory_regions): Rewrite.
8855 (exec_find_memory_regions): New function.
8856 (init_exec_ops): Use exec_find_memory_regions.
8857
2a9a2795
TT
88582014-02-19 Tom Tromey <tromey@redhat.com>
8859
8860 * target.h (struct target_ops) <to_supports_non_stop>: Add
8861 argument.
8862 * target.c (find_default_supports_non_stop): Add argument.
8863 (target_supports_non_stop): Add argument.
8864 (find_default_supports_non_stop): Add 'self' argument.
8865 * remote.c (remote_supports_non_stop): Add 'self' argument.
8866 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8867
4ab76ea3
TT
88682014-02-19 Tom Tromey <tromey@redhat.com>
8869
8870 * target.h (struct target_ops) <to_log_command>: Add argument.
8871 (target_log_command): Add argument.
8872 * serial.h (serial_log_command): Add 'self' argument.
8873 * serial.c (serial_log_command): Add 'self' argument.
8874
8dd27370
TT
88752014-02-19 Tom Tromey <tromey@redhat.com>
8876
8877 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8878 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8879 argument.
8880 (target_pid_to_exec_file): Add argument.
8881 * target.c (debug_to_pid_to_exec_file): Add argument.
8882 (update_current_target): Update.
8883 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
8884 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
8885 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
8886 (linux_handle_extended_wait): Update.
8887 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
8888 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
8889 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
8890 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
8891
1aac633b
TT
88922014-02-19 Tom Tromey <tromey@redhat.com>
8893
8894 * target.h (struct target_ops) <to_rcmd>: Add argument.
8895 (target_rcmd): Add argument.
8896 * target.c (debug_to_rcmd): Add argument.
8897 (update_current_target, do_monitor_command): Update.
8898 * remote.c (remote_rcmd): Add 'self' argument.
8899 * monitor.c (monitor_rcmd): Add 'self' argument.
8900
1eab8a48
TT
89012014-02-19 Tom Tromey <tromey@redhat.com>
8902
8903 * windows-nat.c (windows_stop): Add 'self' argument.
8904 * target.h (struct target_ops) <to_stop>: Add argument.
8905 * target.c (target_stop): Add argument.
8906 (debug_to_stop): Add argument.
8907 (update_current_target): Update.
8908 * remote.c (remote_stop): Add 'self' argument.
8909 * remote-sim.c (gdbsim_stop): Add 'self' argument.
8910 (gdbsim_cntrl_c): Update.
8911 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
8912 * procfs.c (procfs_stop): Add 'self' argument.
8913 * nto-procfs.c (procfs_stop): Add 'self' argument.
8914 * monitor.c (monitor_stop): Add 'self' argument.
8915 (monitor_open): Update.
8916 * linux-nat.c (linux_nat_stop): Add argument.
8917 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
8918 * gnu-nat.c (gnu_stop): Add 'self' argument.
8919 * darwin-nat.c (darwin_stop): Add 'self' argument.
8920
503a628d
TT
89212014-02-19 Tom Tromey <tromey@redhat.com>
8922
8923 * target.h (struct target_ops) <to_thread_name>: Add argument.
8924 * target.c (target_thread_name): Add argument.
8925 (update_current_target): Update.
8926 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
8927
c15906d8
TT
89282014-02-19 Tom Tromey <tromey@redhat.com>
8929
8930 * target.h (struct target_ops) <to_extra_thread_info>: Add
8931 argument.
8932 (target_extra_thread_info): Add argument.
8933 * target.c (update_current_target): Update.
8934 * remote.c (remote_threads_extra_info): Add 'self' argument.
8935 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
8936 argument.
8937 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
8938 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
8939 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
8940 argument.
8941 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
8942 argument.
8943 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
8944 argument.
8945 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
8946 argument.
8947
daf5e9b6
TT
89482014-02-19 Tom Tromey <tromey@redhat.com>
8949
8950 * target.h (struct target_ops) <to_program_signals>: Add argument.
8951 * target.c (target_program_signals): Add argument.
8952 * remote.c (remote_program_signals): Add 'self' argument.
8953
94bedb42
TT
89542014-02-19 Tom Tromey <tromey@redhat.com>
8955
8956 * target.h (struct target_ops) <to_pass_signals>: Add argument.
8957 * target.c (target_pass_signals): Add argument.
8958 * remote.c (remote_pass_signals): Add 'self' argument.
8959 (remote_start_remote): Update.
8960 * procfs.c (procfs_pass_signals): Add 'self' argument.
8961 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
8962 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
8963 (linux_nat_create_inferior, linux_nat_attach): Update.
8964
da82bd6b
TT
89652014-02-19 Tom Tromey <tromey@redhat.com>
8966
8967 * windows-nat.c (windows_can_run): Add 'self' argument.
8968 * target.h (struct target_ops) <to_can_run>: Add argument.
8969 (target_can_run): Add argument.
8970 * target.c (debug_to_can_run): Add argument.
8971 (update_current_target): Update.
8972 * nto-procfs.c (procfs_can_run): Add 'self' argument.
8973 * inf-child.c (inf_child_can_run): Add 'self' argument.
8974 * go32-nat.c (go32_can_run): Add 'self' argument.
8975
d796e1d6
TT
89762014-02-19 Tom Tromey <tromey@redhat.com>
8977
8978 * target.h (struct target_ops) <to_has_exited>: Add argument.
8979 (target_has_exited): Add argument.
8980 * target.c (debug_to_has_exited): Add argument.
8981 (update_current_target): Update.
8982
ff214e67
TT
89832014-02-19 Tom Tromey <tromey@redhat.com>
8984
8985 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
8986 argument.
8987 (target_set_syscall_catchpoint): Add argument.
8988 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
8989 argument.
8990 * target.c (update_current_target): Update.
8991
758e29d2
TT
89922014-02-19 Tom Tromey <tromey@redhat.com>
8993
8994 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
8995 argument.
8996 (target_remove_exec_catchpoint): Add argument.
8997 * target.c (debug_to_remove_exec_catchpoint): Add argument.
8998 (update_current_target): Update.
8999 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9000 argument.
9001
ba025e51
TT
90022014-02-19 Tom Tromey <tromey@redhat.com>
9003
9004 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9005 argument.
9006 (target_insert_exec_catchpoint): Add argument.
9007 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9008 (update_current_target): Update.
9009 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9010 argument.
9011
e98cf0cd
TT
90122014-02-19 Tom Tromey <tromey@redhat.com>
9013
9014 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9015 argument.
9016 (target_remove_vfork_catchpoint): Add argument.
9017 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9018 (update_current_target): Update.
9019 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9020 argument.
9021
3ecc7da0
TT
90222014-02-19 Tom Tromey <tromey@redhat.com>
9023
9024 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9025 argument.
9026 (target_insert_vfork_catchpoint): Add argument.
9027 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9028 (update_current_target): Update.
9029 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9030 argument.
9031
973fc227
TT
90322014-02-19 Tom Tromey <tromey@redhat.com>
9033
9034 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9035 argument.
9036 (target_remove_fork_catchpoint): Add argument.
9037 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9038 (update_current_target): Update.
9039 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9040 argument.
9041
a863b201
TT
90422014-02-19 Tom Tromey <tromey@redhat.com>
9043
9044 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9045 argument.
9046 (target_insert_fork_catchpoint): Add argument.
9047 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9048 (update_current_target): Update.
9049 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9050 argument.
9051
2e97a79e
TT
90522014-02-19 Tom Tromey <tromey@redhat.com>
9053
9054 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9055 argument.
9056 (target_post_startup_inferior): Add argument.
9057 * target.c (debug_to_post_startup_inferior): Add argument.
9058 (update_current_target): Update.
9059 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9060 argument.
9061 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9062 argument.
9063 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9064 argument.
9065 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9066 argument.
9067 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9068 'self' argument.
9069 (super_post_startup_inferior): Likewise.
9070 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9071 'self' argument.
9072 (super_post_startup_inferior): Likewise.
9073 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9074 Add 'self' argument.
9075 (super_post_startup_inferior): Likewise.
9076
71a9f134
TT
90772014-02-19 Tom Tromey <tromey@redhat.com>
9078
9079 * target.h (struct target_ops) <to_load>: Add argument.
9080 * target.c (target_load): Add argument.
9081 (debug_to_load): Add argument.
9082 (update_current_target): Update.
9083 * remote.c (remote_load): Add 'self' argument.
9084 * remote-sim.c (gdbsim_load): Add 'self' argument.
9085 * remote-mips.c (mips_load): Add 'self' argument.
9086 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9087 * monitor.c (monitor_load): Add 'self' argument.
9088 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9089
0a4f40a2
TT
90902014-02-19 Tom Tromey <tromey@redhat.com>
9091
9092 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9093 (target_terminal_info): Add argument.
9094 * target.c (debug_to_terminal_info): Add argument.
9095 (default_terminal_info): Likewise.
9096 * inflow.c (child_terminal_info): Add 'self' argument.
9097 * inferior.h (child_terminal_info): Add 'self' argument.
9098 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9099
ae3bd431
TT
91002014-02-19 Tom Tromey <tromey@redhat.com>
9101
9102 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9103 argument.
9104 (target_terminal_save_ours): Add argument.
9105 * target.c (debug_to_terminal_save_ours): Add argument.
9106 (update_current_target): Update.
9107 * inflow.c (terminal_save_ours): Add 'self' argument.
9108 * inferior.h (terminal_save_ours): Add 'self' argument.
9109
e3594fd1
TT
91102014-02-19 Tom Tromey <tromey@redhat.com>
9111
9112 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9113 (target_terminal_ours): Add argument.
9114 * target.c (debug_to_terminal_ours): Add argument.
9115 (update_current_target): Update.
9116 * remote.c (remote_terminal_ours): Add 'self' argument.
9117 (remote_close): Update.
9118 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9119 * inflow.c (terminal_ours): Add 'self' argument.
9120 * inferior.h (terminal_ours): Add 'self' argument.
9121 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9122
2e1e1a19
TT
91232014-02-19 Pedro Alves <palves@redhat.com>
9124 Tom Tromey <tromey@redhat.com>
9125
9126 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9127 argument.
9128 (target_terminal_ours_for_output): Add argument.
9129 * target.c (debug_to_terminal_ours_for_output): Add argument.
9130 (update_current_target): Update.
9131 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9132 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9133 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9134
d2f640d4
TT
91352014-02-19 Tom Tromey <tromey@redhat.com>
9136
9137 * target.h (struct target_ops) <to_terminal_inferior>: Add
9138 argument.
9139 * target.c (target_terminal_inferior): Add argument.
9140 (update_current_target): Update.
9141 * remote.c (remote_terminal_inferior): Add 'self' argument.
9142 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9143 * inflow.c (terminal_inferior): Add 'self' argument.
9144 * inferior.h (terminal_inferior): Add 'self' argument.
9145 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9146 (go32_terminal_inferior): Add 'self' argument.
9147
c42bf286
TT
91482014-02-19 Tom Tromey <tromey@redhat.com>
9149
9150 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9151 (target_terminal_init): Add argument.
9152 * target.c (debug_to_terminal_init): Add argument.
9153 (update_current_target): Update.
9154 * inflow.c (terminal_init_inferior): Add 'self' argument.
9155 * inferior.h (terminal_init_inferior): Add 'self' argument.
9156 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9157 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9158
c3a5ff89
TT
91592014-02-19 Tom Tromey <tromey@redhat.com>
9160
9161 * target.h (struct target_ops)
9162 <to_can_accel_watchpoint_condition>: Add argument.
9163 (target_can_accel_watchpoint_condition): Add argument.
9164 * target.c (debug_to_can_accel_watchpoint_condition): Add
9165 argument.
9166 (update_current_target): Update.
9167 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9168 'self' argument.
9169
31568a15
TT
91702014-02-19 Tom Tromey <tromey@redhat.com>
9171
9172 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9173 Add argument.
9174 (target_region_ok_for_hw_watchpoint): Add argument.
9175 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9176 (default_region_ok_for_hw_watchpoint): Add argument.
9177 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9178 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9179 argument.
9180 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9181 argument.
9182 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9183 argument.
9184 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9185 'self' argument.
9186 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9187 'self' argument.
9188 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9189 'self' argument.
9190 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9191 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9192 'self' argument.
9193 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9194 Add 'self' argument.
9195
7bb99c53
TT
91962014-02-19 Tom Tromey <tromey@redhat.com>
9197
9198 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9199 argument.
9200 (target_insert_watchpoint): Add argument.
9201 * target.c (debug_to_insert_watchpoint): Add argument.
9202 (update_current_target): Update.
9203 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9204 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9205 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9206 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9207 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9208 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9209 argument.
9210 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9211 (procfs_insert_hw_watchpoint): Add 'self' argument.
9212 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9213 argument.
9214 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9215 argument.
9216 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9217 argument.
9218 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9219 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9220 argument.
9221 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9222 'self' argument.
9223
11b5219a
TT
92242014-02-19 Tom Tromey <tromey@redhat.com>
9225
9226 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9227 argument.
9228 (target_remove_watchpoint): Add argument.
9229 * target.c (debug_to_remove_watchpoint): Add argument.
9230 (update_current_target): Update.
9231 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9232 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9233 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9234 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9235 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9236 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9237 argument.
9238 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9239 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9240 argument.
9241 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9242 argument.
9243 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9244 argument.
9245 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9246 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9247 argument.
9248 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9249 'self' argument.
9250
a64dc96c
TT
92512014-02-19 Tom Tromey <tromey@redhat.com>
9252
9253 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9254 argument.
9255 (target_remove_hw_breakpoint): Add argument.
9256 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9257 (update_current_target): Update.
9258 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9259 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9260 argument.
9261 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9262 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9263 argument.
9264 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9265 'self' argument.
9266
23a26771
TT
92672014-02-19 Tom Tromey <tromey@redhat.com>
9268
9269 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9270 argument.
9271 (target_insert_hw_breakpoint): Add argument.
9272 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9273 (update_current_target): Update.
9274 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9275 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9276 argument.
9277 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9278 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9279 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9280 argument.
9281 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9282 'self' argument.
9283
5461485a
TT
92842014-02-19 Tom Tromey <tromey@redhat.com>
9285
9286 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9287 argument.
9288 (target_can_use_hardware_watchpoint): Add argument.
9289 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9290 (update_current_target): Update.
9291 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9292 argument.
9293 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9294 argument.
9295 * remote.c (remote_check_watch_resources): Add 'self' argument.
9296 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9297 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9298 argument.
9299 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9300 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9301 argument.
9302 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9303 argument.
9304 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9305 argument.
9306 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9307 argument.
9308 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9309 argument.
9310 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9311 argument.
9312 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9313 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9314 argument.
9315 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9316 'self' argument.
9317
f045800c
TT
93182014-02-19 Tom Tromey <tromey@redhat.com>
9319
9320 * target.h (struct target_ops) <to_post_attach>: Add argument.
9321 (target_post_attach): Add argument.
9322 * target.c (debug_to_post_attach): Add argument.
9323 (update_current_target): Update.
9324 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9325 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9326 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9327 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9328 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9329
de90e03d
TT
93302014-02-19 Tom Tromey <tromey@redhat.com>
9331
9332 * windows-nat.c (windows_close): Add 'self' argument.
9333 * tracepoint.c (tfile_close): Add 'self' argument.
9334 * target.h (struct target_ops) <to_close>: Add argument.
9335 * target.c (target_close): Add argument.
9336 (update_current_target): Update.
9337 * remote.c (remote_close): Add 'self' argument.
9338 * remote-sim.c (gdbsim_close): Add 'self' argument.
9339 * remote-mips.c (mips_close): Add 'self' argument.
9340 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9341 * record-full.c (record_full_close): Add 'self' argument.
9342 * record-btrace.c (record_btrace_close): Add 'self' argument.
9343 * monitor.h (monitor_close): Add 'self' argument.
9344 * monitor.c (monitor_close): Add 'self' argument.
9345 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9346 * linux-nat.c (linux_nat_close): Add argument.
9347 * go32-nat.c (go32_close): Add 'self' argument.
9348 * exec.c (exec_close_1): Add 'self' argument.
9349 * ctf.c (ctf_close): Add 'self' argument.
9350 * corelow.c (core_close): Add 'self' argument.
9351 (core_close_cleanup): Update.
9352 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9353 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9354
9dd130a0
TT
93552014-02-19 Tom Tromey <tromey@redhat.com>
9356
9357 * remote.c (remote_load): New function.
9358 (init_remote_ops): Use it.
9359
46917d26
TT
93602014-02-19 Tom Tromey <tromey@redhat.com>
9361
9362 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9363 argument.
9364 * common/linux-btrace.h (linux_supports_btrace): Update.
9365 * remote.c (remote_supports_btrace): Add "self" argument.
9366 * target-delegates.c: Rebuild.
9367 * target.c (target_supports_btrace): Remove.
9368 * target.h (struct target_ops) <to_supports_btrace>: Add
9369 target_ops argument.
9370 (target_supports_btrace): New define.
9371
6b84065d
TT
93722014-02-19 Tom Tromey <tromey@redhat.com>
9373
9374 * record-full.c (record_full_beneath_to_resume_ops)
9375 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9376 (record_full_beneath_to_wait)
9377 (record_full_beneath_to_store_registers_ops)
9378 (record_full_beneath_to_store_registers)
9379 (record_full_beneath_to_xfer_partial_ops)
9380 (record_full_beneath_to_xfer_partial)
9381 (record_full_beneath_to_insert_breakpoint_ops)
9382 (record_full_beneath_to_insert_breakpoint)
9383 (record_full_beneath_to_remove_breakpoint_ops)
9384 (record_full_beneath_to_remove_breakpoint)
9385 (record_full_beneath_to_stopped_by_watchpoint)
9386 (record_full_beneath_to_stopped_data_address)
9387 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9388 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9389 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9390 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9391 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9392 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9393 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9394 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9395 (record_full_resume, record_full_wait_1)
9396 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9397 (record_full_store_registers, record_full_xfer_partial)
9398 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9399 (record_full_async, record_full_core_xfer_partial): Use target
9400 delegation.
9401 * target-delegates.c: Rebuild.
9402 * target.c (current_xfer_partial): Remove.
9403 (update_current_target): Do not INHERIT or de_fault
9404 to_insert_breakpoint, to_remove_breakpoint,
9405 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9406 to_is_async_p, to_async. Do not set to_xfer_partial field.
9407 (default_xfer_partial): Simplify.
9408 (current_xfer_partial): Remove.
9409 (target_wait, target_resume): Simplify.
9410 (find_default_can_async_p, find_default_is_async_p): Update.
9411 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9412 to_xfer_partial, to_stopped_by_watchpoint,
9413 to_stopped_data_address.
9414 (target_store_registers): Simplify.
9415 (forward_target_remove_breakpoint)
9416 (forward_target_insert_breakpoint): Remove.
9417 (target_remove_breakpoint, target_insert_breakpoint)
9418 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9419 * target.h (struct target_ops) <to_resume, to_wait,
9420 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9421 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9422 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9423 markup.
9424 (forward_target_remove_breakpoint)
9425 (forward_target_insert_breakpoint): Remove.
9426 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9427 directly.
9428 (record_btrace_insert_breakpoint): Delegate directly.
9429
1101cb7b
TT
94302014-02-19 Tom Tromey <tromey@redhat.com>
9431
9432 PR build/7701:
9433 * target-delegates.c: New file.
9434 * target.c: Include target-delegates.c.
9435 (init_dummy_target): Call install_dummy_methods.
9436 (complete_target_initialization): Call install_delegators.
9437 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9438 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9439 * make-target-delegates: New file.
9440
8b06beed
TT
94412014-02-19 Tom Tromey <tromey@redhat.com>
9442
9443 * record.c (find_record_target): Use find_target_at.
9444 * target.c (find_target_at): New function.
9445 * target.h (find_target_at): Declare.
9446
6a109b6b
TT
94472014-02-19 Tom Tromey <tromey@redhat.com>
9448
9449 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9450 Add 'ops' argument.
9451 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9452 'ops' argument.
9453 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9454 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9455 'ops' argument.
9456 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9457 argument.
9458 * linux-nat.c (save_sigtrap): Update.
9459 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9460 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9461 (linux_nat_close): Update.
9462 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9463 argument.
9464 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9465 argument.
9466 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9467 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9468 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9469 (tmp_to_async): Add 'ops' argument.
9470 (record_full_stopped_by_watchpoint, record_full_async)
9471 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9472 argument.
9473 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9474 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9475 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9476 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9477 (remote_is_async_p, remote_async): Add 'ops' argument.
9478 (remote_stopped_data_address): Update.
9479 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9480 * target.c (update_current_target)
9481 (find_default_can_async_p, find_default_is_async_p): Update.
9482 (init_dummy_target): Update.
9483 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9484 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9485 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9486 (target_can_async_p, target_is_async_p, target_async)
9487 (target_stopped_by_watchpoint): Update.
9488
e095146b
YQ
94892014-02-19 Yao Qi <yao@codesourcery.com>
9490
9491 PR gdb/16220
9492 * gdbarch.sh: Remove startup_gdbarch.
9493 * gdbarch.c: Regenerated.
9494 * gdbarch.h: Likewise.
9495
bc3c6b36
KB
94962014-02-17 Kevin Buettner <kevinb@redhat.com>
9497
9498 * rl78-tdep.c (rl78_g10_register_name): New function.
9499 (rl78_return_value): Add g10 support.
9500 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9501 g10.
9502
98dc0167 95032014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
9504
9505 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9506 (SUBDIR_GUILE_SRCS): Ditto.
9507 (scm-gsmob.o): Ditto.
9508
842c05cd
YQ
95092014-02-17 Yao Qi <yao@codesourcery.com>
9510
9511 * gnu-nat.c (ILL_RPC): Declare defined function.
9512
25c0bd04
YQ
95132014-02-17 Yao Qi <yao@codesourcery.com>
9514
9515 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9516 mach_msg_type_number_t.
9517 (gnu_write_inferior): Likewise.
9518
a9a758e3
YQ
95192014-02-17 Yao Qi <yao@codesourcery.com>
9520
9521 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9522 in format string.
9523 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9524 (inf_validate_procs, inf_signal): Likewise.
9525 (S_exception_raise_request): Likewise.
9526 (do_mach_notify_dead_name): Likewise.
9527 (steal_exc_port): Likewise.
9528 (gnu_read_inferior): Change 'copy_count''s type to
9529 mach_msg_type_number_t.
9530 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9531 format string.
9532
bae8023e
TS
95332014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9534
c82f56d9
TS
9535 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9536 flag. Adjust all users; in particular...
9537 (gnu_wait): ..., don't decrement its value in here...
9538 (gnu_create_inferior): ..., and instead set the flag in here,
9539 around the startup_inferior call, and call that one with
9540 START_INFERIOR_TRAPS_EXPECTED.
9541
3398af6a
TS
9542 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9543 (ILL_RPC): ... new macro.
9544 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9545 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9546 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9547 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9548 functions with ILL_RPC macro.
9549 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9550 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9551 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9552 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9553 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9554 (S_proc_getlogin_reply, S_proc_getsid_reply)
9555 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9556 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9557 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9558 (S_proc_getnports_reply, S_proc_is_important_reply)
9559 (S_proc_get_code_reply): New stub functions, generated with
9560 ILL_RPC macro.
9561
d47642c9
TS
9562 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9563 collected the type check structures.
9564
bae8023e
TS
9565 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9566
8a55ffb0
DE
95672014-02-14 Doug Evans <dje@google.com>
9568
9569 * target.c (target_write_partial): Fix result type.
9570
c2853f3d
JM
95712014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9572
9573 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9574 the proper offsets to access fpregset_t.
9575
ac61d2db
SA
95762014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9577
9578 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9579 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9580 * h8300-tdep.c (setmachinelist): Remove global.
9581 * hppa-tdep.c (hppa_sigtramp): Remove global.
9582 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9583 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9584 * ravenscar-thread.c (update_target_observer): Remove global.
9585 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9586
9d2d0b8b
TT
95872014-02-12 Tom Tromey <tromey@redhat.com>
9588
9589 * common/rsp-low.c: Update comments.
9590 * common/rsp-low.h: Update comments.
9591
a7191e8b
TT
95922014-02-12 Tom Tromey <tromey@redhat.com>
9593
9594 * common/rsp-low.c (convert_ascii_to_int): Remove.
9595 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9596
ff0e980e
TT
95972014-02-12 Tom Tromey <tromey@redhat.com>
9598
9599 * common/rsp-low.h (unhexify): Don't declare.
9600 * common/rsp-low.c (unhexify): Remove.
9601
e9371aff
TT
96022014-02-12 Tom Tromey <tromey@redhat.com>
9603
9604 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9605 * common/rsp-low.c (convert_int_to_ascii): Remove.
9606
971dc0b8
TT
96072014-02-12 Tom Tromey <tromey@redhat.com>
9608
9609 * common/rsp-low.h (hexify): Don't declare.
9610 * common/rsp-low.c (hexify): Remove.
9611
0a822afb
TT
96122014-02-12 Tom Tromey <tromey@redhat.com>
9613
9614 * common/rsp-low.c (hexify): Never take strlen of argument.
9615
9f1b45b0
TT
96162014-02-12 Tom Tromey <tromey@redhat.com>
9617
9618 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9619 * remote.c (extended_remote_run, remote_rcmd)
9620 (remote_download_trace_state_variable, remote_save_trace_data)
9621 (remote_set_trace_notes): Update.
9622 * tracepoint.c (encode_source_string, tfile_write_status)
9623 (tfile_write_uploaded_tsv): Update.
9624
9c3d6531
TT
96252014-02-12 Tom Tromey <tromey@redhat.com>
9626
9627 * tracepoint.c: Include rsp-low.h.
9628 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9629 * remote.c: Include rsp-low.h.
9630 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9631 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9632 (remote_unescape_input): Move to common/rsp-low.c.
9633 * common/rsp-low.h: New file.
9634 * common/rsp-low.c: New file.
9635 * Makefile.in (SFILES): Add common/rsp-low.c.
9636 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9637 (COMMON_OBS): Add rsp-low.o.
9638 (rsp-low.o): New target.
9639
01fd3ea5
TT
96402014-02-12 Tom Tromey <tromey@redhat.com>
9641
9642 * utils.h: Include print-utils.h.
9643 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9644 (int_string, core_addr_to_string, core_addr_to_string_nz)
9645 (hex_string, hex_string_custom): Don't declare.
9646 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9647 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9648 (hex_string_custom, int_string, core_addr_to_string)
9649 (core_addr_to_string_nz, host_address_to_string): Move to
9650 common/print-utils.c.
9651 * common/print-utils.h: New file.
9652 * common/print-utils.c: New file
9653 * Makefile.in (SFILES): Add common/print-utils.c.
9654 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9655 (COMMON_OBS): Add print-utils.o.
9656 (print-utils.o): New target.
9657
9fb50108
TT
96582014-02-12 Tom Tromey <tromey@redhat.com>
9659
9660 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9661
0548b5db
MK
96622014-02-12 Mark Kettenis <kettenis@gnu.org>
9663
9664 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9665
493443a4
MK
96662014-02-12 Mark Kettenis <kettenis@gnu.org>
9667
9668 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9669 if a PT_IO ptrace request returns sucessfully but indicates that 0
9670 bytes were transferred.
9671
706d0883
PA
96722014-02-12 Pedro Alves <palves@redhat.com>
9673 Kevin Buettner <kevinb@redhat.com>
9674
9675 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9676 TYPE_INSTANCE_FLAG_CODE_SPACE.
9677
5caa2f0b
PA
96782014-02-12 Pedro Alves <palves@redhat.com>
9679
9680 * h8300-tdep.c (pseudo_from_raw_register)
9681 (raw_from_pseudo_register): New functions.
9682 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9683 them.
9684
76fd5f74
PA
96852014-02-12 Pedro Alves <palves@redhat.com>
9686
9687 * h8300-tdep.c (h8300_register_sim_regno): New function.
9688 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9689 gdbarch_register_sim_regno hook.
9690
8f008406
SA
96912014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9692
9693 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9694
195abc10
SA
96952014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9696
9697 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9698
93ffa5b9
MK
96992014-02-12 Mark Kettenis <kettenis@gnu.org>
9700
9701 * obsd-tdep.h (obsd_init_abi): New prototype.
9702 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9703 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9704 (obsd_init_abi): New functions.
9705 * i386obsd-tdep.c: Include "obsd-tdep.h".
9706 (i386obsd_init_abi): Call obsd_init_abi.
9707 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9708 (amd64obsd_init_abi): Call obsd_init_abi.
9709 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9710 obsd-tdep.c to gdb_target_obs.
9711
49caec94
JM
97122014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9713
9714 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9715 double float arguments to 16-byte in the argument slots.
9716
e1402065
DE
97172014-02-11 Doug Evans <xdje42@gmail.com>
9718
9719 * configure.ac: Don't crash if pkg-config is not found and guile
9720 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9721 in guile checks.
9722 * configure: Regenerate.
9723
edcc890f
YQ
97242014-02-11 Yao Qi <yao@codesourcery.com>
9725
9726 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9727 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9728 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9729 * gnu-nat.c (gnu_xfer_memory): Likewise.
9730 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9731 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9732 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9733 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9734
9b409511
YQ
97352014-02-11 Yao Qi <yao@codesourcery.com>
9736
9737 * target.h (enum target_xfer_error): Rename to ...
9738 (enum target_xfer_status): ... it. New. All users updated.
9739 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9740 New.
9741 (TARGET_XFER_STATUS_ERROR_P): New macro.
9742 (target_xfer_error_to_string): Remove declaration.
9743 (target_xfer_status_to_string): Declare.
9744 (target_xfer_partial_ftype): Adjust it.
9745 (struct target_ops) <to_xfer_partial>: Return
9746 target_xfer_status. Add argument xfered_len. Update
9747 comments.
9748 * target.c (target_xfer_error_to_string): Rename to ...
9749 (target_xfer_status_to_string): ... it. New. All callers
9750 updated.
9751 (target_read_live_memory): Likewise. Call target_xfer_partial
9752 instead of target_read.
9753 (memory_xfer_live_readonly_partial): Return
9754 target_xfer_status. Add argument xfered_len.
9755 (raw_memory_xfer_partial): Likewise.
9756 (memory_xfer_partial_1): Likewise.
9757 (memory_xfer_partial): Likewise.
9758 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9759 properly. Update debug message.
9760 (default_xfer_partial, current_xfer_partial): Likewise.
9761 (target_write_partial): Likewise.
9762 (target_read_partial): Likewise. All callers updated.
9763 (read_whatever_is_readable): Likewise.
9764 (target_write_with_progress): Likewise.
9765 (target_read_alloc_1): Likewise.
9766
9767 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9768 * auxv.c (procfs_xfer_auxv): Likewise.
9769 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9770 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9771 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9772 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9773 * corefile.c (read_memory): Adjust.
9774 * corelow.c (core_xfer_partial): Likewise.
9775 * ctf.c (ctf_xfer_partial): Likewise.
9776 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9777 updated.
9778 (darwin_xfer_partial): Likewise.
9779 * exec.c (section_table_xfer_memory_partial): Likewise. All
9780 callers updated.
9781 (exec_xfer_partial): Likewise.
9782 * exec.h (section_table_xfer_memory_partial): Update
9783 declaration.
9784 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9785 negative.
9786 (gnu_xfer_partial): Likewise.
9787 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9788 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9789 (ia64_hpux_xfer_solib_got): Likewise.
9790 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9791 type of 'partial_len' to ULONGEST.
9792 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9793 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9794 (linux_nat_xfer_partial): Likewise.
9795 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9796 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9797 * monitor.c (monitor_xfer_memory): Likewise.
9798 (monitor_xfer_partial): Likewise.
9799 * procfs.c (procfs_xfer_partial): Likewise.
9800 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9801 * record-full.c (record_full_xfer_partial): Likewise.
9802 (record_full_core_xfer_partial): Likewise.
9803 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9804 (gdbsim_xfer_partial): Likewise.
9805 * remote.c (remote_write_bytes_aux): Likewise. All callers
9806 updated.
9807 (remote_write_bytes, remote_read_bytes): Likewise. All
9808 callers updated.
9809 (remote_flash_erase): Likewise. All callers updated.
9810 (remote_write_qxfer): Likewise. All callers updated.
9811 (remote_read_qxfer): Likewise. All callers updated.
9812 (remote_xfer_partial): Likewise.
9813 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9814 (rs6000_xfer_shared_libraries): Likewise.
9815 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9816 (sol_thread_xfer_partial): Likewise.
9817 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9818 (sparc_xfer_partial): Likewise.
9819 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9820 updated.
9821 (spu_xfer_partial): Likewise.
9822 * spu-multiarch.c (spu_xfer_partial): Likewise.
9823 * tracepoint.c (tfile_xfer_partial): Likewise.
9824 * windows-nat.c (windows_xfer_memory): Likewise.
9825 (windows_xfer_shared_libraries): Likewise.
9826 (windows_xfer_partial): Likewise.
9827 * valprint.c: Replace 'target_xfer_error' with
9828 'target_xfer_status' in comments.
9829
a8e63083
JB
98302014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9831
9832 Checked in by Joel Brobecker <brobecker@adacore.com>.
9833 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9834
e86b67d3
JB
98352014-02-11 Joel Brobecker <brobecker@adacore.com>
9836
9837 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9838 function parameters.
9839
4b7d1f7f
WN
98402014-02-10 Will Newton <will.newton@linaro.org>
9841
9842 * elfread.c (elf_rel_plt_read): Look for a .got section if
9843 looking up .got.plt fails.
9844 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9845 on address passed to elf_gnu_ifunc_record_cache.
9846 (elf_gnu_ifunc_resolve_addr): Likewise.
9847 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9848
961842b2
JM
98492014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9850
9851 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9852 (X_RETTURN): New macro.
9853 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9854
9855 * sparc64-tdep.c (sparc64_init_abi): Hook
9856 sparc_in_function_epilogue_p.
9857
3f03e7b1
GB
98582014-02-10 Gary Benson <gbenson@redhat.com>
9859
9860 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9861 Rename name_matcher to symbol_matcher.
9862
96f861ef
GB
98632014-02-10 Gary Benson <gbenson@redhat.com>
9864
9865 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9866 Use expand_symtabs_file_matcher_ftype and
9867 expand_symtabs_symbol_matcher_ftype.
9868
ee01b665
JB
98692014-02-10 Joel Brobecker <brobecker@adacore.com>
9870
9871 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9872 (struct ada_symbol_cache): New.
9873 (ada_free_symbol_cache): Forward declare.
9874 (struct ada_pspace_data): New.
9875 (ada_pspace_data_handle): New static global.
9876 (get_ada_pspace_data, ada_pspace_data_cleanup)
9877 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9878 (cache_space, cache): Delete, now folded inside struct
9879 ada_pspace_data.
9880 (ada_get_symbol_cache): New function.
9881 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9882 implementation.
9883 (_initialize_ada_language): Remove initialization of cache_space.
9884 Move call to observer_attach_inferior_exit up, grouping it
9885 with the other observer registrations inside this function.
9886 Rename command to be more general. Add call to
9887 register_program_space_data_with_cleanup.
9888
143adbbf
JB
98892014-02-10 Joel Brobecker <brobecker@adacore.com>
9890
9891 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
9892 ada_new_objfile_observer.
9893 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
9894 (_initialize_tasks): Update uses of ada_new_objfile_observer
9895 and ada_tasks_normal_stop_observer.
9896
aa4fb036
JB
98972014-02-10 Joel Brobecker <brobecker@adacore.com>
9898
9899 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
9900 returned by the 'Length attribute to integer.
9901
9dee8cc6
JB
99022014-02-10 Joel Brobecker <brobecker@adacore.com>
9903
9904 * ada-lang.c (_initialize_ada_language): Initialize
9905 cache_space obstack.
9906
3d9434b5
JB
99072014-02-10 Joel Brobecker <brobecker@adacore.com>
9908
9909 * ada-lang.c (HASH_SIZE): New macro.
9910 (struct cache_entry): New type.
9911 (cache_space, cache): New static globals.
9912 (ada_clear_symbol_cache, find_entry): New functions.
9913 (lookup_cached_symbol, cache_symbol): Implement.
9914 (ada_new_objfile_observer, ada_free_objfile_observer): New.
9915 (_initialize_ada_language): Attach ada_new_objfile_observer
9916 and ada_free_objfile_observer.
9917
f0c5f9b2
JB
99182014-02-10 Joel Brobecker <brobecker@adacore.com>
9919
9920 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
9921 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
9922 struct block * parameter.
9923 (ada_lookup_symbol_list_worker): Constify local variable "block".
9924 Remove cast which is no longer necessary.
9925
ed3ef339
DE
99262014-02-10 Doug Evans <xdje42@gmail.com>
9927
9928 Add Guile as an extension language.
9929 * NEWS: Mention Guile scripting.
9930 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
9931 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
9932 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
9933 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
9934 (CLIBS): Add GUILE_LIBS.
9935 (install-guile): New rule.
9936 (guile.o): New rule.
9937 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
9938 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
9939 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
9940 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
9941 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
9942 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
9943 (scm-type.o, scm-utils.o, scm-value.o): New rules.
9944 * configure.ac: New option --with-guile.
9945 * configure: Regenerate.
9946 * config.in: Regenerate.
9947 * auto-load.c: Remove #include "python/python.h". Add #include
9948 "gdb/section-scripts.h".
9949 (source_section_scripts): Handle Guile scripts.
9950 (_initialize_auto_load): Add name of Guile objfile script to
9951 scripts-directory help text.
9952 * breakpoint.c (condition_command): Tweak comment to include Scheme.
9953 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
9954 (struct breakpoint): New member scm_bp_object.
9955 * defs.h (enum command_control_type): New value guile_control.
9956 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
9957 "extension.h".
9958 (show_user): Update comment.
9959 (_initialize_cli_cmds): Update help text for "show user". Update help
9960 text for max-user-call-depth.
9961 * cli/cli-script.c: Remove #include "python/python.h". Add #include
9962 "extension.h".
9963 (multi_line_command_p): Add guile_control.
9964 (print_command_lines): Handle guile_control.
9965 (execute_control_command, recurse_read_control_structure): Ditto.
9966 (process_next_line): Recognize "guile" commands.
9967 * disasm.c (gdb_disassemble_info): Make non-static.
9968 * disasm.h: #include "dis-asm.h".
9969 (struct gdbarch): Add forward decl.
9970 (gdb_disassemble_info): Declare.
9971 * extension.c: #include "guile/guile.h".
9972 (extension_languages): Add guile.
9973 (get_ext_lang_defn): Handle EXT_LANG_GDB.
9974 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
9975 * gdbtypes.c (get_unsigned_type_max): New function.
9976 (get_signed_type_minmax): New function.
9977 * gdbtypes.h (get_unsigned_type_max): Declare.
9978 (get_signed_type_minmax): Declare.
9979 * guile/README: New file.
9980 * guile/guile-internal.h: New file.
9981 * guile/guile.c: New file.
9982 * guile/guile.h: New file.
9983 * guile/scm-arch.c: New file.
9984 * guile/scm-auto-load.c: New file.
9985 * guile/scm-block.c: New file.
9986 * guile/scm-breakpoint.c: New file.
9987 * guile/scm-disasm.c: New file.
9988 * guile/scm-exception.c: New file.
9989 * guile/scm-frame.c: New file.
9990 * guile/scm-gsmob.c: New file.
9991 * guile/scm-iterator.c: New file.
9992 * guile/scm-lazy-string.c: New file.
9993 * guile/scm-math.c: New file.
9994 * guile/scm-objfile.c: New file.
9995 * guile/scm-ports.c: New file.
9996 * guile/scm-pretty-print.c: New file.
9997 * guile/scm-safe-call.c: New file.
9998 * guile/scm-string.c: New file.
9999 * guile/scm-symbol.c: New file.
10000 * guile/scm-symtab.c: New file.
10001 * guile/scm-type.c: New file.
10002 * guile/scm-utils.c: New file.
10003 * guile/scm-value.c: New file.
10004 * guile/lib/gdb.scm: New file.
10005 * guile/lib/gdb/boot.scm: New file.
10006 * guile/lib/gdb/experimental.scm: New file.
10007 * guile/lib/gdb/init.scm: New file.
10008 * guile/lib/gdb/iterator.scm: New file.
10009 * guile/lib/gdb/printing.scm: New file.
10010 * guile/lib/gdb/types.scm: New file.
10011 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10012 (VPATH): Add $(GUILE_SRCDIR).
10013 (GUILE_DIR): New variable.
10014 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10015 (all): Add stamp-guile dependency.
10016 (stamp-guile): New rule.
10017 (clean-guile, install-guile, uninstall-guile): New rules.
10018 (install-only): Add install-guile dependency.
10019 (uninstall): Add uninstall-guile dependency.
10020 (clean): Add clean-guile dependency.
10021
ac020ec5
DE
100222014-02-09 Doug Evans <xdje42@gmail.com>
10023
10024 Revert this patch (which I approved, mea culpa).
10025
10026 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10027
10028 * Makefile.in (all-lib): Remove.
10029 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10030
2a081c59
JK
100312014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10032
10033 Fix Python stack corruption.
10034 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10035 gdb_py_longest.
10036
0a6bd22d
MK
100372014-02-08 Mark Kettenis <kettenis@gnu.org>
10038
10039 * Makefile.in (all-lib): Remove.
10040 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10041
1a860409
DE
100422014-02-07 Doug Evans <dje@google.com>
10043
10044 * extension-priv.h (extension_language_script_ops): Add comment.
10045 (extension_language_ops): Add comment.
caf5a491 10046 (active_ext_lang_state): Fix typo in comment.
1a860409 10047
d137e6dc
PA
100482014-02-07 Pedro Alves <palves@redhat.com>
10049
0dcb32c3 10050 PR breakpoints/16292
d137e6dc
PA
10051 * infrun.c (handle_signal_stop) <signal arrives while stepping
10052 over a breakpoint>: Switch back to the stepping thread.
10053
ce6d0892
YQ
100542014-02-07 Yao Qi <yao@codesourcery.com>
10055
10056 * target.c (target_xfer_partial): Return zero if LEN is zero.
10057
2ed4b548
YQ
100582014-02-07 Yao Qi <yao@codesourcery.com>
10059
10060 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10061 (ld_so_xfer_auxv): Likewise.
10062 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10063 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10064 * corelow.c (core_xfer_partial): Likewise.
10065 * ctf.c (ctf_xfer_partial): Likewise.
10066 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10067 (darwin_xfer_partial): Likewise.
10068 * exec.c (exec_xfer_partial): Likewise.
10069 * gnu-nat.c (gnu_xfer_partial): Likewise.
10070 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10071 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10072 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10073 * linux-nat.c (linux_xfer_siginfo): Likewise.
10074 (linux_proc_xfer_spu): Likewise.
10075 * procfs.c (procfs_xfer_partial): Likewise.
10076 * record-full.c (record_full_xfer_partial): Likewise.
10077 (record_full_core_xfer_partial): Likewise.
10078 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10079 * remote.c (remote_write_qxfer): Likewise.
10080 (remote_write_qxfer, remote_read_qxfer): Likewise.
10081 (remote_xfer_partial): Likewise.
10082 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10083 (rs6000_xfer_shared_libraries): Likewise.
10084 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10085 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10086 (spu_xfer_partial): Likewise.
10087 * target.c (memory_xfer_partial_1): Likewise.
10088 * tracepoint.c (tfile_xfer_partial): Likewise.
10089 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10090 (windows_xfer_partial): Likewise.
10091
c09f20e4
YQ
100922014-02-07 Yao Qi <yao@codesourcery.com>
10093
10094 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10095 comments.
10096 (core_xfer_shared_libraries_aix): Likewise.
10097 * gdbarch.c, gdbarch.h: Regenerated.
10098 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10099 ULONGEST. Change 'len_avail' type to ULONGEST.
10100 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10101 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10102 declaration.
10103 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10104
8635b3bf
YQ
101052014-02-07 Yao Qi <yao@codesourcery.com>
10106
10107 * corefile.c (memory_error): Get 'exception' from ERR and pass
10108 'exception' to throw_error.
10109
6dddc817
DE
101102014-02-06 Doug Evans <xdje42@gmail.com>
10111
10112 * configure.ac (libpython checking): Remove all but python.o from
10113 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10114 * configure: Regenerate.
10115
10116 * Makefile.in (SFILES): Add extension.c.
10117 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10118 (COMMON_OBS): Add extension.o.
10119 * extension.h: New file.
10120 * extension-priv.h: New file.
10121 * extension.c: New file.
10122
10123 * python/python-internal.h: #include "extension.h".
10124 (gdbpy_auto_load_enabled): Declare.
10125 (gdbpy_apply_val_pretty_printer): Declare.
10126 (gdbpy_apply_frame_filter): Declare.
10127 (gdbpy_preserve_values): Declare.
10128 (gdbpy_breakpoint_cond_says_stop): Declare.
10129 (gdbpy_breakpoint_has_cond): Declare.
10130 (void source_python_script_for_objfile): Delete.
10131 * python/python.c: #include "extension-priv.h".
10132 Delete inclusion of "observer.h".
10133 (extension_language_python): Moved here and renamed from
10134 script_language_python in py-auto-load.c.
10135 Redefined to be of type extension_language_defn.
10136 (python_extension_script_ops): New global.
10137 (python_extension_ops): New global.
10138 (struct python_env): New member previous_active.
10139 (restore_python_env): Call restore_active_ext_lang.
10140 (ensure_python_env): Call set_active_ext_lang.
10141 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10142 New arg extlang.
10143 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10144 New arg extlang.
10145 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10146 New arg extlang.
10147 (gdbpy_eval_from_control_command): Renamed from
10148 eval_python_from_control_command, made static. New arg extlang.
10149 (gdbpy_source_script) Renamed from source_python_script, made static.
10150 New arg extlang.
10151 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10152 result to int. New arg extlang.
10153 (gdbpy_source_objfile_script): Renamed from
10154 source_python_script_for_objfile, made static. New arg extlang.
10155 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10156 static. New args extlang, extlang_printers. Change result type to
10157 "void".
10158 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10159 static. New arg extlang. Rename arg printers to extlang_printers
10160 and change type to ext_lang_type_printers *.
10161 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10162 static. Replace argument arg with extlang, extlang_printers.
10163 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10164 (!HAVE_PYTHON, source_python_script): Delete.
10165 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10166 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10167 (!HAVE_PYTHON, start_type_printers): Delete.
10168 (!HAVE_PYTHON, apply_type_printers): Delete.
10169 (!HAVE_PYTHON, free_type_printers): Delete.
10170 (_initialize_python): Delete call to observer_attach_before_prompt.
10171 (finalize_python): Set/restore active extension language.
10172 (gdbpy_finish_initialization) Renamed from
10173 finish_python_initialization, made static. New arg extlang.
10174 (gdbpy_initialized): New function.
10175 * python/python.h: #include "extension.h". Delete #include
10176 "value.h", "mi/mi-cmds.h".
10177 (extension_language_python): Declare.
10178 (GDBPY_AUTO_FILE_NAME): Delete.
10179 (enum py_bt_status): Moved to extension.h and renamed to
10180 ext_lang_bt_status.
10181 (enum frame_filter_flags): Moved to extension.h.
10182 (enum py_frame_args): Moved to extension.h and renamed to
10183 ext_lang_frame_args.
10184 (finish_python_initialization): Delete.
10185 (eval_python_from_control_command): Delete.
10186 (source_python_script): Delete.
10187 (apply_val_pretty_printer): Delete.
10188 (apply_frame_filter): Delete.
10189 (preserve_python_values): Delete.
10190 (gdbpy_script_language_defn): Delete.
10191 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10192 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10193
10194 * auto-load.c: #include "extension.h".
10195 (GDB_AUTO_FILE_NAME): Delete.
10196 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10197 (script_language_gdb): Delete, moved to extension.c and renamed to
10198 extension_language_gdb.
10199 (source_gdb_script_for_objfile): Delete.
10200 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10201 (loaded_script): Change type of language member to
10202 struct extension_language_defn *.
10203 (init_loaded_scripts_info): Initialize
10204 unsupported_script_warning_printed.
10205 (maybe_add_script): Make static. Change type of language arg to
10206 struct extension_language_defn *.
10207 (clear_section_scripts): Reset unsupported_script_warning_printed.
10208 (auto_load_objfile_script_1): Rewrite to use extension language API.
10209 (auto_load_objfile_script): Make public. Remove support-compiled-in
10210 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10211 (source_section_scripts): Rewrite to use extension language API.
10212 (load_auto_scripts_for_objfile): Rewrite to use
10213 auto_load_scripts_for_objfile.
10214 (collect_matching_scripts_data): Change type of language member to
10215 struct extension_language_defn *.
10216 (auto_load_info_scripts): Change type of language arg to
10217 struct extension_language_defn *.
10218 (unsupported_script_warning_print): New function.
10219 (script_not_found_warning_print): Make static.
10220 (_initialize_auto_load): Rewrite construction of scripts-directory
10221 help.
10222 * auto-load.h (struct objfile): Add forward decl.
10223 (struct script_language): Delete.
10224 (struct auto_load_pspace_info): Add forward decl.
10225 (struct extension_language_defn): Add forward decl.
10226 (maybe_add_script): Delete.
10227 (auto_load_objfile_script): Declare.
10228 (script_not_found_warning_print): Delete.
10229 (auto_load_info_scripts): Update prototype.
10230 (auto_load_gdb_scripts_enabled): Declare.
10231 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10232 auto_load_python_scripts_enabled and made public.
10233 (script_language_python): Delete, moved to python.c.
10234 (gdbpy_script_language_defn): Delete.
10235 (info_auto_load_python_scripts): Update to use
10236 extension_language_python.
10237
10238 * breakpoint.c (condition_command): Replace call to
10239 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10240 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10241 with call to breakpoint_ext_lang_cond_says_stop.
10242 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10243 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10244 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10245 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10246 New arg slang.
10247 (local_setattro): Print name of extension language with existing
10248 stop condition.
10249
10250 * valprint.c (val_print, value_print): Update to call
10251 apply_ext_lang_val_pretty_printer.
10252 * cp-valprint.c (cp_print_value): Update call to
10253 apply_ext_lang_val_pretty_printer.
10254 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10255 (gdbpy_apply_val_pretty_printer): Renamed from
10256 apply_val_pretty_printer. New arg extlang.
10257 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10258
10259 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10260 extension language API.
10261 * cli/cli-script.c (execute_control_command): Update to call
10262 eval_ext_lang_from_control_command.
10263
10264 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10265 enum ext_lang_bt_status values. Update call to
10266 apply_ext_lang_frame_filter.
10267 (mi_cmd_stack_list_locals): Ditto.
10268 (mi_cmd_stack_list_args): Ditto.
10269 (mi_cmd_stack_list_variables): Ditto.
10270 * mi/mi-main.c: Delete #include "python/python-internal.h".
10271 Add #include "extension.h".
10272 (mi_cmd_list_features): Replace reference to python internal variable
10273 gdb_python_initialized with call to ext_lang_initialized_p.
10274
10275 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10276 Update to use enum ext_lang_frame_args. Update to call
10277 apply_ext_lang_frame_filter.
10278 * python/py-framefilter.c (extract_sym): Update to use enum
10279 ext_lang_bt_status.
10280 (extract_value, py_print_type, py_print_value): Ditto.
10281 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10282 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10283 (py_print_frame): Ditto.
10284 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10285 New arg extlang. Update to use enum ext_lang_bt_status.
10286
10287 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10288 finish_python_initialization. Replace with call to
10289 finish_ext_lang_initialization.
10290
10291 * typeprint.c (do_free_global_table): Update to call
10292 free_ext_lang_type_printers.
10293 (create_global_typedef_table): Update to call
10294 start_ext_lang_type_printers.
10295 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10296 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10297 (type_print_options): Change type of global_printers from "void *"
10298 to "struct ext_lang_type_printers *".
10299
10300 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10301 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10302 (gdbpy_preserve_values): Renamed from preserve_python_values.
10303 New arg extlang.
10304 (!HAVE_PYTHON, preserve_python_values): Delete.
10305
10306 * utils.c (quit_flag): Delete, moved to extension.c.
10307 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10308 extension.c.
10309
10310 * eval.c: Delete #include "python/python.h".
10311 * main.c: Delete #include "python/python.h".
10312
10313 * defs.h: Update comment.
10314
6af79985
JB
103152014-02-06 Joel Brobecker <brobecker@adacore.com>
10316
10317 GDB 7.7 released.
10318
12c5175d
MK
103192014-02-05 Mark Kettenis <kettenis@gnu.org>
10320
10321 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10322 defined.
10323
8dc5b319
YQ
103242014-02-05 Yao Qi <yao@codesourcery.com>
10325
10326 * remote.c (remote_pass_signals): Remove local 'buf' and use
10327 rs->buf.
10328 (remote_program_signals): Likewise.
10329
de7b2893
YQ
103302014-02-05 Yao Qi <yao@codesourcery.com>
10331
10332 * ctf.c: Include "inferior.h" and "gdbthread.h".
10333 (CTF_PID): A new macro.
10334 (ctf_open): Call inferior_appeared and add_thread_silent.
10335 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10336 (ctf_thread_alive): New function.
10337 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10338
66d032ac
YQ
103392014-02-05 Yao Qi <yao@codesourcery.com>
10340
10341 Revert this patch:
10342
10343 2013-05-24 Yao Qi <yao@codesourcery.com>
10344
10345 * tracepoint.c (TFILE_PID): Remove.
10346 (tfile_open): Don't add thread and inferior.
10347 (tfile_close): Don't set 'inferior_ptid'. Don't call
10348 exit_inferior_silent.
10349 (tfile_thread_alive): Remove.
10350 (init_tfile_ops): Don't set field 'to_thread_alive' of
10351 tfile_ops.
10352
f4ccffad
CE
103532014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10354
10355 * remote.c (remote_start_remote): Call remote_check_symbols even
10356 if only symbol-file (not file) has been given.
10357
591a12a1
UW
103582014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10359
10360 * gdbarch.sh (skip_entrypoint): New callback.
10361 * gdbarch.c, gdbarch.h: Regenerate.
10362 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10363 * infrun.c (fill_in_stop_func): Likewise.
10364 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10365 (ppc_elfv2_elf_make_msymbol_special): New function.
10366 (ppc_elfv2_skip_entrypoint): Likewise.
10367 (ppc_linux_init_abi): Install them for ELFv2.
10368
cc0e89c5
UW
103692014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10370
10371 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10372 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10373 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10374 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10375 structures returned in GPRs.
10376
52f548e4
UW
103772014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10378
10379 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10380 offset to the stack parameter list for the ELFv2 ABI.
10381
d4094b6a
UW
103822014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10383
10384 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10385 set_gdbarch_convert_from_func_ptr_addr and
10386 set_gdbarch_elf_make_msymbol_special for ELFv1.
10387 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10388 function descriptors on ELFv1.
10389 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10390 set up r12 at function entry.
10391
cd453cd0
UW
103922014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10393
10394 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10395 (struct gdbarch_tdep): New member elf_abi.
10396
10397 * rs6000-tdep.c: Include "elf/ppc64.h".
10398 (rs6000_gdbarch_init): Detect ELF ABI version.
10399
0ff3e01f
UW
104002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10401
10402 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10403 within a register pair holding a DFP 128-bit value on little-endian.
10404 (ppc64_sysv_abi_return_value_base): Likewise.
10405 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10406 (dfp_pseudo_register_write): Likewise.
10407
5b757e5d
UW
104082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10409
10410 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10411 offset on little-endian when passing _Decimal32.
10412 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10413
084ee545
UW
104142014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10415
10416 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10417 of the overlapped FP register within the VSX register on little-
10418 endian platforms.
10419 (efpr_pseudo_register_write): Likewise.
10420
d63167af
UW
104212014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10422
10423 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10424 offset on little-endian when passing small structures.
10425
e765b44c
UW
104262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10427
10428 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10429 (struct ppc64_sysv_argpos): New data structure.
10430 (ppc64_sysv_abi_push_float): Remove.
10431 (ppc64_sysv_abi_push_val): New function.
10432 (ppc64_sysv_abi_push_integer): Likewise.
10433 (ppc64_sysv_abi_push_freg): Likewise.
10434 (ppc64_sysv_abi_push_vreg): Likewise.
10435 (ppc64_sysv_abi_push_param): Likewise.
10436 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10437 (ppc64_sysv_abi_return_value_base): New function.
10438 (ppc64_sysv_abi_return_value): Refactor to use it.
10439
36c24d95
UW
104402014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10441
10442 * NEWS: Document new target powerpc64le-*-linux*.
10443
26fd9228
MK
104442014-02-04 Mark Kettenis <kettenis@gnu.org>
10445
10446 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10447 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10448 core dumps.
10449 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10450 register set used in ELF core dumps. Add floating-point register set.
10451
c5bb7362
KB
104522014-02-03 Kevin Buettner <kevinb@redhat.com>
10453
74228e77 10454 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10455 dwarf2_to_gdb[] table using symbolic constants. Adjust
10456 penultimate entry from number representing the PC register
10457 to symbolic constant representing the MDR register. Add
10458 constant for the PC register to the end of the table.
10459
af09351e
MK
104602014-02-03 Mark Kettenis <kettenis@gnu.org>
10461
10462 * bsd-kvm.c: Include <sys/param.h>
10463
8507e05d
MK
104642014-02-03 Mark Kettenis <kettenis@gnu.org>
10465
10466 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10467
ae56bfb8
JB
104682014-01-31 Joel Brobecker <brobecker@adacore.com>
10469
10470 * ada-lang.h (clear_ada_sym_cache): Delete.
10471
718ee4dc
UW
104722014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10473
10474 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10475
401e27fd
JM
104762014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10477
10478 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10479 the sigreturn register save area only if the syscall is
10480 sigreturn.
10481
a7c88acd
JB
104822014-01-29 Joel Brobecker <brobecker@adacore.com>
10483
10484 * valops.c (value_slice): Minor reformatting.
10485
fa0079ea
UW
104862014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10487
10488 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10489
c6044dd1
JB
104902014-01-28 Joel Brobecker <brobecker@adacore.com>
10491
10492 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10493 New static globals.
10494 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10495 (ada_ignore_descriptive_types_p): New static global.
10496 (find_parallel_type_by_descriptive_type): Return immediately
10497 if ada_ignore_descriptive_types_p is set.
10498 (_initialize_ada_language): Register new commands "maintenance
10499 set ada", "maintenance show ada", "maintenance set ada
10500 ignore-descriptive-types" and "maintenance show ada
10501 ignore-descriptive-types".
10502 * NEWS: Add entry for new "maint ada set/show
10503 ignore-descriptive-types" commands.
10504
568e808b
MM
105052014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10506
10507 * record-btrace.c (record_btrace_close): Call btrace_teardown
10508 for all threads.
10509
467d141b
JB
105102014-01-27 Joel Brobecker <brobecker@adacore.com>
10511
10512 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10513 "ui-out.h".
10514
fb151210
JB
105152014-01-27 Joel Brobecker <brobecker@adacore.com>
10516
10517 * ada-typeprint (type_is_full_subrange_of_target_type):
10518 New function.
10519 (print_range): Add parameter bounds_prefered_p. If not set,
10520 try printing range types using the name of their base type.
10521 (print_range_type): Add parameter bounds_prefered_p.
10522 Use it in call to print_range.
10523 (print_array_type, ada_print_type): Update calls to print_range
10524 and print_range_type.
10525
aba02109
JB
105262014-01-27 Joel Brobecker <brobecker@adacore.com>
10527
10528 * ada-typeprint.c (print_array_type, print_choices, print_range)
10529 (print_range_bound, print_dynamic_range_bound, print_range_type):
10530 Remove declaration.
10531
e62e21fd
JB
105322014-01-27 Joel Brobecker <brobecker@adacore.com>
10533
10534 * ada-typeprint.c (print_range): Add missing empty line
10535 after local declaration.
10536
859cf5d1
JB
105372014-01-27 Joel Brobecker <brobecker@adacore.com>
10538
10539 * ada-valprint.c (print_optional_low_bound): Get index_type's
10540 target type for as long as it is a TYPE_CODE_RANGE.
10541
25790f6f
JB
105422014-01-27 Joel Brobecker <brobecker@adacore.com>
10543
10544 * procfs.c (procfs_make_note_section): Remove assertion and
10545 associated comment.
10546
6b6aa828
YQ
105472014-01-24 Yao Qi <yao@codesourcery.com>
10548
10549 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10550 * corelow.c (get_core_siginfo): Likewise.
10551
5d6df423
YQ
105522014-01-24 Yao Qi <yao@codesourcery.com>
10553
10554 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10555 ULONGEST. Don't check 'len' is negative.
10556 (remote_write_bytes): Change type of 'len' to ULONGEST.
10557
83b645b8
TT
105582014-01-23 Tom Tromey <tromey@redhat.com>
10559
10560 PR python/16485:
10561 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10562 Handle exception from frame.block.
10563 (FrameVars.fetch_frame_locals): Likewise.
10564
0740f8d8
TT
105652014-01-23 Tom Tromey <tromey@redhat.com>
10566
10567 PR python/16487:
10568 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10569 on a NULL pointer. Move "goto error" to correct place.
10570
21909fa1
TT
105712014-01-23 Tom Tromey <tromey@redhat.com>
10572
10573 PR python/16491:
10574 * python/py-framefilter.c (apply_frame_filter): Call
10575 ensure_python_env after computing gdbarch.
10576
17fde6d0
YQ
105772014-01-23 Yao Qi <yao@codesourcery.com>
10578
10579 * target.c (raw_memory_xfer_partial): Change argument type
10580 from void * to gdb_byte *.
10581 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10582
87ce2a04
DE
105832014-01-22 Doug Evans <dje@google.com>
10584
10585 New gdbserver option --debug-format=timestamp.
10586 * NEWS: Mention it.
10587
237b092b
AA
105882014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10589
10590 * syscalls/s390x-linux.xml: New file.
10591 * syscalls/s390-linux.xml: New file.
10592 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10593 (XML_SYSCALL_FILENAME_S390X): Likewise.
10594 (op_svc): New enum value for SVC opcode.
10595 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10596 (s390_linux_get_syscall_number): New function.
10597 (s390_gdbarch_init): Register '*get_syscall_number' and the
10598 syscall xml file name.
10599 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10600 "s390-linux.xml" and "s390x-linux.xml".
10601 * NEWS: Announce new feature.
10602
54bff650
BS
106032014-01-22 Baruch Siach <baruch@tkos.co.il>
10604
10605 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10606
14e361d7
PA
106072014-01-22 Pedro Alves <palves@redhat.com>
10608
10609 * xtensa-config.c: Include defs.h.
10610
46bbb3ed
JB
106112014-01-22 Joel Brobecker <brobecker@adacore.com>
10612
10613 * common/common-utils.h: Add "ARI:" comment beside __func__
10614 reference.
10615
3a80edfc
JB
106162014-01-22 Joel Brobecker <brobecker@adacore.com>
10617
10618 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10619 documentation a bit.
10620
4869db5e
RM
106212014-01-21 Roland McGrath <mcgrathr@google.com>
10622
10623 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10624 * configure: Regenerate.
10625 * aclocal.m4: Regenerate.
10626 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10627 New substituted variables.
10628 (install-strip): New target.
10629 (INSTALL_SCRIPT): New substituted variable.
10630 (FLAGS_TO_PASS): Add it.
10631 (install-only): Use $(INSTALL_SCRIPT) rather than
10632 $(INSTALL_PROGRAM) for gcore.
10633
9ea4267d
TT
106342014-01-20 Tom Tromey <tromey@redhat.com>
10635
10636 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10637 together.
10638
1f2bdf09
TT
106392014-01-20 Tom Tromey <tromey@redhat.com>
10640
10641 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10642 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10643 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10644 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10645 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10646 (struct cmd_list_element) <flags>: Remove.
10647 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10648 doc_allocated>: New fields.
10649 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10650 bitfields.
10651 * maint.c (maintenance_do_deprecate): Update.
10652 * top.c (execute_command): Update.
10653
e671835b
BS
106542014-01-20 Baruch Siach <baruch@tkos.co.il>
10655
10656 * xtensa-linux-nat.c: Include asm/ptrace.h.
10657
50367cd2
IB
106582014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10659
10660 * Makefile.in (SFILES): Add d-support.c.
10661 (COMMON_OBS): Add d-support.o.
10662 * d-lang.h (d_parse_symbol): Add comment, now defined in
10663 d-support.c.
10664 * d-lang.c (parse_call_convention)
10665 (parse_attributes, parse_function_types)
10666 (parse_function_args, parse_type, parse_identifier)
10667 (call_convention_p, d_parse_symbol): Move functions to ...
10668 * d-support.c: ... New file.
10669
ec9f644a
IB
106702014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10671
10672 * d-lang.h (d_parse_symbol): Add declaration.
10673 * d-lang.c (extract_identifiers)
10674 (extract_type_info): Remove functions.
10675 (parse_call_convention, parse_attributes)
10676 (parse_function_types, parse_function_args)
10677 (parse_type, parse_identifier, call_convention_p)
10678 (d_parse_symbol): New functions.
10679 (d_demangle): Use d_parse_symbol to demangle D symbols.
10680
94b1b47e
IB
106812014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10682
10683 * d-lang.h (struct builtin_d_type): New data type.
10684 (builtin_d_type): Add declaration.
10685 * d-lang.c (d_language_arch_info, build_d_types)
10686 (builtin_d_type): New functions.
10687 (enum d_primitive_types): New data type.
10688 (d_language_defn): Change c_language_arch_info to
10689 d_language_arch_info.
10690 (d_type_data): New static variable.
10691 (_initialize_d_language): Initialize d_type_data.
10692
63778547
IB
106932014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10694
10695 * d-lang.h (d_main_name): Add declaration.
10696 * d-lang.c (d_main_name): New function.
10697 * symtab.c (find_main_name): Add call to d_main_name.
10698
3271ba66
IB
106992014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10700
10701 * d-lang.c (d_language_defn): Change macro_expansion_c to
10702 macro_expansion_no.
10703
d36b3012
IB
107042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10705
10706 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10707
c90a6fb7
SDJ
107082014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10709
10710 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10711 gdb_exception" declaration.
10712 * remote.c (getpkt_or_notif_sane): Likewise.
10713
749234e5
DE
107142014-01-17 Doug Evans <dje@google.com>
10715
10716 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10717 function, contents of dirnames_to_char_ptr_vec_append moved here.
10718 (delim_string_to_char_ptr_vec): New function.
10719 (dirnames_to_char_ptr_vec_append): Rewrite.
10720 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10721
df049a58
DE
107222014-01-17 Doug Evans <dje@google.com>
10723
10724 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10725 and moved here ...
10726 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10727 #include "common-utils.h".
10728 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10729 * common/vec.h (VEC_ASSERT_PASS): Update.
10730 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10731 (MACH_CHECK_ERROR): Update.
10732
69f97648
SM
107332014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10734
10735 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10736 comments.
10737 * gdbarch.h: Regenerate.
10738
98b1cfdc
TT
107392014-01-16 Tom Tromey <tromey@redhat.com>
10740
10741 * value.c (struct value) <regnum>: Move earlier.
10742
77a19445
TT
107432014-01-16 Tom Tromey <tromey@redhat.com>
10744
10745 * remote.c (extended_remote_create_inferior): Rename from
10746 extended_remote_create_inferior_1. Add "ops" argument. Remove
10747 old implementation.
10748
62261490
PA
107492014-01-16 Pedro Alves <palves@redhat.com>
10750
10751 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10752 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10753 the backchain.
10754
4d65956b
DE
107552014-01-16 Doug Evans <dje@google.com>
10756
10757 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10758
52834460
MM
107592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10760
10761 * btrace.h (btrace_thread_flag): New.
10762 (struct btrace_thread_info) <flags>: New.
10763 * record-btrace.c (record_btrace_resume_thread)
10764 (record_btrace_find_thread_to_move, btrace_step_no_history)
10765 (btrace_step_stopped, record_btrace_start_replaying)
10766 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10767 (record_btrace_find_resume_thread): New.
10768 (record_btrace_resume, record_btrace_wait): Extend.
10769 (record_btrace_can_execute_reverse): New.
10770 (record_btrace_open): Fail in non-stop mode.
10771 (record_btrace_set_replay): Split into this, ...
10772 (record_btrace_stop_replaying): ... this, ...
10773 (record_btrace_clear_histories): ... and this.
10774 (init_record_btrace_ops): Init to_can_execute_reverse.
10775 * NEWS: Announce it.
10776
118e6252
MM
107772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10778
10779 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10780 (forward_target_decr_pc_after_break)
10781 (target_decr_pc_after_break): New.
10782 * target.c (forward_target_decr_pc_after_break)
10783 (target_decr_pc_after_break): New.
10784 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10785 instead of gdbarch_decr_pc_after_break.
10786 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10787 instead of gdbarch_decr_pc_after_break.
10788 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10789 instead of gdbarch_decr_pc_after_break.
10790 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10791 instead of gdbarch_decr_pc_after_break.
10792 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10793 instead of gdbarch_decr_pc_after_break.
10794 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10795 instead of gdbarch_decr_pc_after_break.
10796
6e07b1d2
MM
107972014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10798
10799 * btrace.c: Include regcache.h.
10800 (btrace_add_pc): New.
10801 (btrace_enable): Call btrace_add_pc.
10802 (btrace_is_empty): New.
10803 * btrace.h (btrace_is_empty): New.
10804 * record-btrace.c (require_btrace, record_btrace_info): Call
10805 btrace_is_empty.
10806
969c39fb
MM
108072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10808
10809 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10810 Support delta reads.
10811 (linux_disable_btrace): Change return type.
10812 * common/linux-btrace.h (linux_read_btrace): Change parameters
10813 and return type to allow error reporting. Update users.
10814 (linux_disable_btrace): Change return type. Update users.
10815 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10816 New.
10817 (btrace_error): New.
10818 (btrace_block) <begin>: Comment on BEGIN == 0.
10819 * btrace.c (btrace_compute_ftrace): Start from the end of
10820 the current trace.
10821 (btrace_stitch_trace, btrace_clear_history): New.
10822 (btrace_fetch): Read delta trace, return if replaying.
10823 (btrace_clear): Move clear history code to btrace_clear_history.
10824 (parse_xml_btrace): Throw an error if parsing failed.
10825 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10826 and return type to allow error reporting.
10827 (target_read_btrace): Change parameters and return type to allow
10828 error reporting.
10829 * target.c (target_read_btrace): Update.
10830 * remote.c (remote_read_btrace): Support delta reads. Pass
10831 errors on.
10832 * NEWS: Announce it.
10833
0b722aec
MM
108342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10835
10836 * record.h (record_btrace_frame_unwind)
10837 (record_btrace_tailcall_frame_unwind): New declarations.
10838 * dwarf2-frame: Include record.h
10839 (dwarf2_frame_cfa): Throw an error for btrace frames.
10840 * record-btrace.c: Include hashtab.h.
10841 (btrace_get_bfun_name): New.
10842 (btrace_call_history): Call btrace_get_bfun_name.
10843 (struct btrace_frame_cache): New.
10844 (bfcache): New.
10845 (bfcache_hash, bfcache_eq, bfcache_new): New.
10846 (btrace_get_frame_function): New.
10847 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10848 (record_btrace_frame_this_id): Compute own id.
10849 (record_btrace_frame_prev_register): Provide PC, throw_error
10850 for all other registers.
10851 (record_btrace_frame_sniffer): Detect btrace frames.
10852 (record_btrace_tailcall_frame_sniffer): New.
10853 (record_btrace_frame_dealloc_cache): New.
10854 (record_btrace_frame_unwind): Add new functions.
10855 (record_btrace_tailcall_frame_unwind): New.
10856 (_initialize_record_btrace): Allocate cache.
10857 * btrace.c (btrace_clear): Call reinit_frame_cache.
10858 * NEWS: Announce it.
10859
066ce621
MM
108602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10861
10862 * record-btrace.c (record_btrace_set_replay)
10863 (record_btrace_goto_begin, record_btrace_goto_end)
10864 (record_btrace_goto): New.
10865 (init_record_btrace_ops): Initialize them.
10866 * NEWS: Announce it.
10867
e2887aa3
MM
108682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10869
10870 * record-btrace.c (record_btrace_find_new_threads)
10871 (record_btrace_thread_alive): New.
10872 (init_record_btrace_ops): Initialize to_find_new_threads and
10873 to_thread_alive.
10874
b2f4cfde
MM
108752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10876
10877 * record-btrace.c (record_btrace_resume): New.
10878 (record_btrace_wait): New.
10879 (init_record_btrace_ops): Initialize to_wait and to_resume.
10880
633785ff
MM
108812014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10882
10883 * record-btrace.c (record_btrace_xfer_partial)
10884 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
10885 (record_btrace_allow_memory_access): New.
10886 (init_record_btrace_ops): Initialize new methods.
10887 * target.c (raw_memory_xfer_partial): Bail out if target reports
10888 that this memory is not available.
10889
3db08215
MM
108902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10891
10892 * target.h (target_ops) <to_insert_breakpoint>
10893 <to_remove_breakpoint>: Add target_ops parameter.
10894 (forward_target_insert_breakpoint): New.
10895 (forward_target_remove_breakpoint): New.
10896 (memory_remove_breakpoint, memory_insert_breakpoint):
10897 Add target_ops parameter.
10898 * target.c (target_insert_breakpoint): Split into this and ...
10899 (forward_target_insert_breakpoint): ... this.
10900 (target_remove_breakpoint): Split into this and ...
10901 (forward_target_remove_breakpoint): ... this.
10902 (debug_to_insert_breakpoint): Add target_ops parameter.
10903 Call forward_target_insert_breakpoint.
10904 (debug_to_remove_breakpoint): Add target_ops parameter.
10905 Call forward_target_remove_breakpoint.
10906 (update_current_target): Do not inherit or default to_insert_breakpoint
10907 and to_remove_breakpoint.
10908 * corelow.c (ignore): Add target_ops parameter.
10909 * exec.c (ignore): Add target_ops parameter.
10910 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
10911 Add target_ops parameter.
10912 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
10913 Add target_ops parameter.
10914 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
10915 Add target_ops parameter.
10916 * record-full.c (record_full_beneath_to_insert_breakpoint)
10917 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
10918 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
10919 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
10920 (record_full_core_remove_breakpoint): Add target_ops parameter.
10921 Update users.
10922 (record_full_beneath_to_insert_breakpoint_ops)
10923 (record_full_beneath_to_remove_breakpoint_ops)
10924 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
10925 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
10926 tmp_to_remove_breakpoint_ops,
10927 record_full_beneath_to_insert_breakpoint_ops, and
10928 record_full_beneath_to_remove_breakpoint_ops.
10929 * remote-m32r-sdi.c (m32r_insert_breakpoint)
10930 (m32r_remove_breakpoint): Add target_ops parameter.
10931 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
10932 Add target_ops parameter.
10933 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
10934 Add target_ops parameter.
10935
cecac1ab
MM
109362014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10937 Markus Metzger <markus.t.metzger@intel.com>
10938
10939 * record-btrace.c: Include frame-unwind.h.
10940 (record_btrace_frame_unwind_stop_reason)
10941 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
10942 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
10943 New.
10944 (init_record_btrace_ops): Install it.
10945
824344ca
MM
109462014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10947
10948 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
10949 get_prev_frame_1.
10950
32261e52
MM
109512014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10952
10953 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
10954 earlier.
10955
ea001bdc
MM
109562014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
10957
10958 * frame-unwind.c: Include target.h.
10959 (frame_unwind_try_unwinder): New function with code from ...
10960 (frame_unwind_find_by_frame): ... here. New variable
10961 unwinder_from_target, call also target_get_unwinder)
10962 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
10963 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
10964 * target.h (struct target_ops): New fields to_get_unwinder and
10965 to_get_tailcall_unwinder.
10966 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
10967
1f3ef581
MM
109682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10969
10970 * record-btrace.c (record_btrace_fetch_registers)
10971 (record_btrace_store_registers)
10972 (record_btrace_to_prepare_to_store): New.
10973 (init_record_btrace_ops): Add the above.
10974
f32dbf8c
MM
109752014-01-16 Tom Tromey <tromey@redhat.com>
10976
10977 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
10978 * target.h (struct target_ops) <to_prepare_to_store>: Add
10979 argument.
10980 (target_prepare_to_store): Add argument.
10981 * target.c (debug_to_prepare_to_store): Add argument.
10982 (update_current_target): Update.
10983 * remote.c (remote_prepare_to_store): Add 'self' argument.
10984 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
10985 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
10986 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
10987 * record-full.c (record_full_core_prepare_to_store): Add 'self'
10988 argument.
10989 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
10990 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
10991 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
10992 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
10993 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
10994
07bbe694
MM
109952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10996
10997 * btrace.h (replay) <replay>: New.
10998 (btrace_is_replaying): New.
10999 * btrace.c (btrace_clear): Free replay iterator.
11000 (btrace_is_replaying): New.
11001 * record-btrace.c (record_btrace_is_replaying): New.
11002 (record_btrace_info): Print insn number if replaying.
11003 (record_btrace_insn_history): Start at replay position.
11004 (record_btrace_call_history): Start at replay position.
11005 (init_record_btrace_ops): Init to_record_is_replaying.
11006
0688d04e
MM
110072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11008
11009 * record-btrace.c (record_btrace_insn_history_range): Include
11010 end.
11011 (record_btrace_insn_history_from): Adjust range.
11012 (record_btrace_call_history_range): Include
11013 end.
11014 (record_btrace_call_history_from): Adjust range.
11015 * NEWS: Announce changes.
11016
8710b709
MM
110172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11018
11019 * record.h (enum record_print_flag)
11020 <record_print_indent_calls>: New.
11021 * record.c (get_call_history_modifiers): Recognize /c modifier.
11022 (_initialize_record): Document /c modifier.
11023 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11024 Reorder fields. Optionally indent the function name. Update
11025 all users.
11026 * NEWS: Announce changes.
11027
d0fa7535
MM
110282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11029
11030 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11031
5de9129b
MM
110322014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11033
11034 * btrace.c (ftrace_new_function): Start counting at one.
11035 * record-btrace.c (record_btrace_info): Adjust number of calls
11036 and insns.
11037 * NEWS: Announce it.
11038
7acbe133
MM
110392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11040
11041 * record-btrace.c (btrace_call_history_insn_range): Print
11042 insn range as [begin, end].
11043
23a7fe75
MM
110442014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11045
11046 * btrace.h (struct btrace_func_link): New.
11047 (enum btrace_function_flag): New.
11048 (struct btrace_inst): Rename to ...
11049 (struct btrace_insn): ...this. Update all users.
11050 (struct btrace_func) <ibegin, iend>: Remove.
11051 (struct btrace_func_link): New.
11052 (struct btrace_func): Rename to ...
11053 (struct btrace_function): ...this. Update all users.
11054 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11055 (number, level, flags>: New.
11056 (struct btrace_insn_iterator): Rename to ...
11057 (struct btrace_insn_history): ...this.
11058 Update all users.
11059 (struct btrace_insn_iterator, btrace_call_iterator): New.
11060 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11061 (struct btrace_target_info) <begin, end, level>
11062 <insn_history, call_history>: New.
11063 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11064 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11065 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11066 (btrace_call_number, btrace_call_begin, btrace_call_end)
11067 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11068 (btrace_find_function_by_number, btrace_set_insn_history)
11069 (btrace_set_call_history): New.
11070 * btrace.c (btrace_init_insn_iterator)
11071 (btrace_init_func_iterator, compute_itrace): Remove.
11072 (ftrace_print_function_name, ftrace_print_filename)
11073 (ftrace_skip_file): Change
11074 parameter to const.
11075 (ftrace_init_func): Remove.
11076 (ftrace_debug): Use new btrace_function fields.
11077 (ftrace_function_switched): Also consider gaining and
11078 losing symbol information).
11079 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11080 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11081 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11082 New.
11083 (ftrace_new_function): Move. Remove debug print.
11084 (ftrace_update_lines, ftrace_update_insns): New.
11085 (ftrace_update_function): Check for call, ret, and jump.
11086 (compute_ftrace): Renamed to ...
11087 (btrace_compute_ftrace): ...this. Rewritten to compute call
11088 stack.
11089 (btrace_fetch, btrace_clear): Updated.
11090 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11091 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11092 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11093 (btrace_call_number, btrace_call_begin, btrace_call_end)
11094 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11095 (btrace_find_function_by_number, btrace_set_insn_history)
11096 (btrace_set_call_history): New.
11097 * record-btrace.c (require_btrace): Use new btrace thread
11098 info fields.
11099 (record_btrace_info, btrace_insn_history)
11100 (record_btrace_insn_history, record_btrace_insn_history_range):
11101 Use new btrace thread info fields and new iterator.
11102 (btrace_func_history_src_line): Rename to ...
11103 (btrace_call_history_src_line): ...this. Use new btrace
11104 thread info fields.
11105 (btrace_func_history): Rename to ...
11106 (btrace_call_history): ...this. Use new btrace thread info
11107 fields and new iterator.
11108 (record_btrace_call_history, record_btrace_call_history_range):
11109 Use new btrace thread info fields and new iterator.
11110
8372a7cb
MM
111112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11112
11113 * frame.h (frame_id_build_unavailable_stack_special): New.
11114 * frame.c (frame_id_build_unavailable_stack_special): New.
11115
c2170eef
MM
111162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11117
11118 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11119 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11120 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11121 to gdbarch.
11122 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11123 (i386_insn_is_jump, i386_jmp_p): New.
11124 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11125 insn_is_jump to gdbarch.
11126 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11127 * gdbarch.h: Regenerated.
11128 * gdbarch.c: Regenerated.
11129 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11130 (default_insn_is_jump): New.
11131 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11132 (default_insn_is_jump): New.
11133
864089d2
MM
111342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11135
11136 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11137 Change to ...
11138 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11139 (btrace_read_type) <btrace_read_new>: Change to ...
11140 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11141
ed9edfb5
MM
111422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11143
11144 * common/linux-btrace.c (linux_read_btrace): Free trace from
11145 previous iteration.
11146
fbcbc3fd
DE
111472014-01-15 Doug Evans <dje@google.com>
11148
11149 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11150 uint32_t.
11151
3d548a53
TT
111522014-01-15 Tom Tromey <tromey@redhat.com>
11153
11154 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11155 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11156 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11157 (set_objfile_main_name): New function.
11158 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11159 language_of_main>: New fields.
11160 (set_objfile_main_name): Declare.
11161 * symtab.c (find_main_name): Loop over objfiles to find the main
11162 name and language.
11163 (set_main_name): Now static.
11164 (get_main_info): Add comment.
11165 * symtab.h (set_main_name): Don't declare.
11166
32ac0d11
TT
111672014-01-15 Tom Tromey <tromey@redhat.com>
11168
11169 * symtab.c (main_progspace_key): New global.
11170 (struct main_info): New.
11171 (name_of_main, language_of_main): Remove.
11172 (get_main_info, main_info_cleanup): New function.
11173 (set_main_name, main_name, main_language): Use get_main_info.
11174 (_initialize_symtab): Initialize main_progspace_key.
11175
9e6c82ad
TT
111762014-01-15 Tom Tromey <tromey@redhat.com>
11177
11178 * dbxread.c (process_one_symbol): Update.
11179 * dwarf2read.c (read_partial_die): Update.
11180 * symfile.c (set_initial_language): Call main_language.
11181 * symtab.c (language_of_main): Now static.
11182 (set_main_name): Add 'lang' parameter.
11183 (find_main_name): Update.
11184 (main_language): New function.
11185 (symtab_observer_executable_changed): Update.
11186 * symtab.h (set_main_name): Update.
11187 (language_of_main): Remove.
11188 (main_language): Declare.
11189
6ef55de7
TT
111902014-01-15 Tom Tromey <tromey@redhat.com>
11191
11192 * symfile.c (init_entry_point_info): Use new "initialized" field.
11193 Update.
11194 * objfiles.h (struct entry_point) <initialized>: New field.
11195 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11196 (struct objfile) <ei>: ...here. Remove.
11197 * objfiles.c (entry_point_address_query): Update.
11198
53eddfa6
TT
111992014-01-15 Tom Tromey <tromey@redhat.com>
11200
11201 * objfiles.c (entry_point_address_query): Relocate entry point
11202 address.
11203 (objfile_relocate1): Do not relocate entry point address.
11204 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11205 <the_bfd_section_index>: New field.
11206 * symfile.c (init_entry_point_info): Find the entry point's
11207 section.
11208
d56e56aa
TT
112092014-01-15 Tom Tromey <tromey@redhat.com>
11210
11211 * solib-frv.c (enable_break): Use entry_point_address_query.
11212
33a97bbe
OJ
112132014-01-15 Omair Javaid <omair.javaid@linaro.org>
11214
11215 * NEWS: Add note on improved process record-replay on
11216 arm*-linux* targets.
11217
c6ec2b30
OJ
112182014-01-15 Omair Javaid <omair.javaid@linaro.org>
11219
11220 * arm-tdep.c (enum arm_record_result): New enum.
11221 (arm_record_unsupported_insn): New function.
11222 (arm_record_coproc_data_proc): Removed.
11223 (thumb2_record_ld_st_multiple): New function.
11224 (thumb2_record_ld_st_dual_ex_tbb): New function.
11225 (thumb2_record_data_proc_sreg_mimm): New function.
11226 (thumb2_record_ps_dest_generic): New function.
11227 (thumb2_record_branch_misc_cntrl): New function.
11228 (thumb2_record_str_single_data): New function.
11229 (thumb2_record_ld_mem_hints): New function.
11230 (thumb2_record_ld_word): New function.
11231 (thumb2_record_lmul_lmla_div): New function.
11232 (thumb2_record_decode_insn_handler): New function.
11233 (decode_insn): Add thumb32 instruction handlers.
11234
97dfe206
OJ
112352014-01-15 Omair Javaid <omair.javaid@linaro.org>
11236
11237 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11238 (struct arm_linux_record_tdep): Declare.
11239 (arm_canonicalize_syscall): New function.
11240 (arm_all_but_pc_registers_record): New function.
11241 (arm_linux_syscall_record): New function.
11242 (arm_linux_init_abi): Add syscall recording constructs.
11243 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11244 decoding. (arm_record_coproc_data_proc): Update arm syscall
11245 decoding.
11246 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11247 <arm_syscall_record>: New field.
11248 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11249 gdb_target_obs.
11250
9904a494
OJ
112512014-01-15 Omair Javaid <omair.javaid@linaro.org>
11252
11253 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11254 register for push instruction recording.
11255
f969241e
OJ
112562014-01-15 Omair Javaid <omair.javaid@linaro.org>
11257
11258 * arm-tdep.c (thumb_record_misc): Update to correct logical
11259 error while recording ldm, ldmia and pop instructions.
11260
bfbbec00
OJ
112612014-01-15 Omair Javaid <omair.javaid@linaro.org>
11262
11263 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11264
e40adcc9
PA
112652014-01-15 Pedro Alves <palves@redhat.com>
11266
11267 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11268 (go32_resume, go32_fetch_registers, store_register)
11269 (go32_store_registers, go32_prepare_to_store)
11270 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11271 (go32_create_inferior, go32_can_run, go32_terminal_init)
11272 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11273 declarations.
11274
b0a16e66
TT
112752014-01-15 Tom Tromey <tromey@redhat.com>
11276
11277 * target.h (async_callback_ftype): New typedef.
11278 (struct target_ops) <to_async>: Use it.
11279
bf7105a4
JB
112802014-01-15 Joel Brobecker <brobecker@adacore.com>
11281
11282 * python/py-value.c (get_field_type): Remove unnecessary curly
11283 braces for single-statement if block.
11284
a8f35c2e
JB
112852014-01-15 Joel Brobecker <brobecker@adacore.com>
11286
11287 * python/py-type.c (convert_field): Add missing empty line
11288 after declarations.
11289
bb4142cf
DE
112902014-01-14 Doug Evans <dje@google.com>
11291
11292 * symfile.h (expand_symtabs_matching): Renamed from
11293 expand_partial_symbol_names. Update prototype.
11294 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11295 * symfile.c (expand_symtabs_matching): Renamed from
11296 expand_partial_symbol_names. New args file_matcher, kind.
11297 Rename arg fun to symbol_matcher.
11298 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11299 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11300 ada_expand_partial_symbol_name.
11301 (ada_make_symbol_completion_list): Update to call
11302 expand_symtabs_matching.
11303 (ada_add_global_exceptions): Call expand_symtabs_matching.
11304 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11305 call map_symbol_filenames.
11306 * symtab.c (sources_info): Update to call map_symbol_filenames.
11307 (search_symbols): Call expand_symtabs_matching.
11308 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11309 (default_make_symbol_completion_list_break_on): Update to call
11310 expand_symtabs_matching.
11311 (make_source_files_completion_list): Update to call
11312 map_symbol_filenames.
11313
206f2a57
DE
113142014-01-14 Doug Evans <dje@google.com>
11315
11316 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11317 (expand_symtabs_symbol_matcher_ftype): New typedef.
11318 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11319 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11320 * symfile.c (expand_partial_symbol_names): Update to use
11321 expand_symtabs_symbol_matcher_ftype.
11322 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11323 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11324 Arg name_matcher renamed to symbol_matcher.
11325 * psymtab.c (recursively_search_psymtabs): Update to use
11326 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11327 sym_matcher.
11328 (expand_symtabs_matching_via_partial): Update to use
11329 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11330 Arg name_matcher renamed to symbol_matcher.
11331
540c2971
DE
113322014-01-14 Doug Evans <dje@google.com>
11333
11334 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11335 (map_partial_symbol_filenames): Ditto.
11336 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11337 (map_partial_symbol_filenames): Ditto.
11338 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11339 (map_partial_symbol_filenames): Ditto.
11340 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11341 (map_partial_symbol_filenames): Ditto.
11342 * symtab.c: Delete #include "psymtab.h".
11343
8213266a
PA
113442014-01-14 Pedro Alves <palves@redhat.com>
11345 Tom Tromey <tromey@redhat.com>
11346
11347 * infrun.c (use_displaced_stepping): Use find_record_target
11348 instead of RECORD_IS_USED.
11349 (adjust_pc_after_break): Use record_full_is_used instead of
11350 RECORD_IS_USED.
11351 * record-btrace.c (record_btrace_open): Call record_preopen
11352 instead of checking RECORD_IS_USED.
11353 * record-full.c (record_full_shortname)
11354 (record_full_core_shortname): New globals.
11355 (record_full_is_used): New function.
11356 (find_full_open): Call record_preopen instead of checking
11357 RECORD_IS_USED.
11358 (init_record_full_ops): Set the target's shortname to
11359 record_full_shortname.
11360 (init_record_full_core_ops): Set the target's shortname to
11361 record_full_core_shortname.
11362 * record-full.h (record_full_is_used): Declare.
11363 * record.c (find_record_target): Make extern.
11364 (record_preopen): New function.
11365 * record.h (RECORD_IS_USED): Delete macro.
11366 (find_record_target, record_preopen): Declare functions.
11367
7ec1862d
YQ
113682014-01-14 Yao Qi <yao@codesourcery.com>
11369
11370 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11371 'len''s type to ULONGEST.
11372 (core_xfer_shared_libraries_aix): Likewise.
11373 * gdbarch.c, gdbarch.h: Regenerated.
11374 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11375 Change type of 'len' to ULONGEST.
11376 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11377 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11378
dea80a27
YQ
113792014-01-14 Yao Qi <yao@codesourcery.com>
11380
11381 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11382 type of 'len' to ULONGEST.
11383 (linux_xfer_osdata_processgroups): Likewise.
11384 (linux_xfer_osdata_threads): Likewise.
11385 (linux_xfer_osdata_fds): Likewise.
11386 (linux_xfer_osdata_isockets): Likewise.
11387 (linux_xfer_osdata_shm): Likewise.
11388 (linux_xfer_osdata_sem): Likewise.
11389 (linux_xfer_osdata_msg): Likewise.
11390 (linux_common_xfer_osdata): Likewise.
11391 (struct osdata_type) <getter>: Likewise.
11392 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11393 the declaration.
11394
b55e14c7
YQ
113952014-01-14 Yao Qi <yao@codesourcery.com>
11396
11397 * target.h (target_xfer_partial_ftype): Update.
11398 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11399 ULONGEST.
11400 * aix-thread.c (aix_thread_xfer_partial): Change type of
11401 argument 'len' to ULONGEST.
11402 * auxv.c (procfs_xfer_auxv): Likewise.
11403 (ld_so_xfer_auxv): Likewise.
11404 (memory_xfer_auxv): Likewise.
11405 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11406 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11407 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11408 * corelow.c (core_xfer_partial): Likewise.
11409 * ctf.c (ctf_xfer_partial): Likewise.
11410 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11411 '%u'.
11412 (darwin_read_dyld_info): Likewise.
11413 (darwin_xfer_partial): Likewise.
11414 * exec.c (section_table_xfer_memory_partial): Likewise.
11415 (exec_xfer_partial): Likewise.
11416 * exec.h (section_table_xfer_memory_partial): Update
11417 declaration.
11418 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11419 instead of plongest.
11420 (gnu_xfer_partial): Likewise.
11421 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11422 (ia64_hpux_xfer_solib_got): Likewise.
11423 (ia64_hpux_xfer_partial): Likewise.
11424 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11425 * inf-ptrace.c (inf_ptrace_xfer_partial):
11426 * inf-ttrace.c (inf_ttrace_xfer_partial):
11427 * linux-nat.c (linux_xfer_siginfo): Likewise.
11428 (linux_nat_xfer_partial): Likewise.
11429 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11430 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11431 * monitor.c (monitor_xfer_memory): Likewise.
11432 (monitor_xfer_partial): Likewise.
11433 * procfs.c (procfs_xfer_partial): Likewise.
11434 * record-full.c (record_full_xfer_partial): Likewise.
11435 (record_full_core_xfer_partial): Likewise.
11436 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11437 instead of plongest.
11438 (gdbsim_xfer_partial): Likewise.
11439 * remote.c (remote_xfer_partial): Likewise.
11440 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11441 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11442 declaration.
11443 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11444 (rs6000_xfer_shared_libraries): Likewise.
11445 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11446 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11447 (sparc_xfer_partial): Likewise.
11448 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11449 (spu_xfer_partial): Likewise.
11450 * spu-multiarch.c (spu_xfer_partial): Likewise.
11451 * target.c (target_read_live_memory): Likewise.
11452 (memory_xfer_live_readonly_partial): Likewise.
11453 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11454 (target_xfer_partial, default_xfer_partial): Likewise.
11455 (current_xfer_partial): Likewise.
11456 * tracepoint.c (tfile_xfer_partial): Likewise.
11457 * windows-nat.c (windows_xfer_memory): Likewise. Call
11458 pulongest instead of plongest.
11459 (windows_xfer_partial): Likewise.
11460 (windows_xfer_shared_libraries): Likewise.
11461
05804640
YQ
114622014-01-14 Yao Qi <yao@codesourcery.com>
11463
11464 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11465 target_xfer_partial_ftype.
11466
b5b08fb4
SC
114672014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11468
11469 PR python/15464
11470 PR python/16113
11471 * valops.c (value_struct_elt_bitpos): New function
11472 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11473 object to 'None' if the field name is an empty string ("").
11474 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11475 attribute to look for a field when 'name' is 'None'.
11476 (get_field_type): New function
11477
13aaf454
DE
114782014-01-13 Doug Evans <dje@google.com>
11479
11480 PR symtab/16426
11481 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11482 (try_open_dwop_file): Ditto.
11483 * gdb_bfd.c: #include "vec.h".
11484 (bfdp): New typedef.
11485 (struct gdb_bfd_data): New member included_bfds.
11486 (gdb_bfd_unref): Unref all included bfds.
11487 (gdb_bfd_record_inclusion): New function.
11488 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11489
c2cec97c
TT
114902014-01-13 Tom Tromey <tromey@redhat.com>
11491
11492 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11493
78e5999d
TT
114942014-01-13 Tom Tromey <tromey@redhat.com>
11495
11496 * defs.h (use_windows): Remove.
11497 * gdb.c (main): Update.
11498 * main.c (captured_main, gdb_main): Update.
11499 * main.h (struct captured_main_args) <use_windows>: Remove.
11500 * top.c (use_windows): Remove.
11501
f2052bbe
TT
115022014-01-13 Tom Tromey <tromey@redhat.com>
11503
11504 * defs.h (deprecated_flush_hook): Remove.
11505
fde4f8ed
JK
115062014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11507
11508 PR threads/16216
11509 * linux-thread-db.c (try_thread_db_load): Add parameter
11510 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11511 (try_thread_db_load_from_pdir_1): Move it there from here.
11512 (try_thread_db_load_from_sdir): Update caller.
11513 (try_thread_db_load_from_dir): Move it there from here.
11514
bdf61915
PP
115152014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11516
11517 * regformats/regdat.sh: Always rewrite the register file.
11518
f71e1a8d
PA
115192014-01-13 Pedro Alves <palves@redhat.com>
11520
11521 * Makefile.in (CHECK_HEADERS): New variable.
11522 (check-headers:): New rule.
11523
42c85435
TT
115242014-01-13 Tom Tromey <tromey@redhat.com>
11525
11526 * cli/cli-setshow.c (do_set_command): Update.
11527 * defs.h (deprecated_set_hook): Remove.
11528 * top.c (deprecated_set_hook): Remove.
11529
f8de5129
PA
115302014-01-13 Pedro Alves <palves@redhat.com>
11531
11532 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11533 the tracepoint if the PC is a pseudo-register.
11534
fc270c35
TT
115352014-01-13 Tom Tromey <tromey@redhat.com>
11536
11537 * defs.h (XCALLOC): Remove.
11538 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11539 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11540 * dwarf2loc.c (allocate_piece_closure): Likewise.
11541 * elfread.c (elf_symfile_segments): Likewise.
11542 (elf_symfile_segments): Likewise.
11543 * gdbtypes.c (copy_type_recursive): Likewise.
11544 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11545 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11546 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11547 XCALLOC.
11548 * mt-tdep.c (mt_gdbarch_init): Likewise.
11549 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11550 XCALLOC.
11551 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11552 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11553 * registry.c (registry_alloc_data): Likewise.
11554 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11555 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11556 * serial.c (serial_fdopen_ops): Likewise.
11557 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11558 XCALLOC.
11559 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11560 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11561 not XCALLOC.
11562
70ba0933
TT
115632014-01-13 Tom Tromey <tromey@redhat.com>
11564
11565 * defs.h (XMALLOC): Remove.
11566 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11567 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11568 * cli-out.c (struct ui_out *): Likewise.
11569 * cli/cli-dump.c (add_dump_command): Likewise.
11570 (add_dump_command): Likewise.
11571 * complaints.c (get_complaints): Likewise.
11572 (find_complaint): Likewise.
11573 * dwarf2-frame.c (execute_cfa_program): Likewise.
11574 * dwarf2read.c (abbrev_table_read_table): Likewise.
11575 * gdbarch.sh: Likewise.
11576 * gdbarch.c: Rebuild.
11577 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11578 * interps.c (interp_new): Likewise.
11579 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11580 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11581 * mi/mi-console.c (mi_console_file_new): Likewise.
11582 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11583 * mi/mi-out.c (mi_out_new): Likewise.
11584 * mi/mi-parse.c (mi_parse): Likewise.
11585 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11586 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11587 * observer.c (xalloc_observer_list_node): Likewise.
11588 * regcache.c (regcache_xmalloc_1): Likewise.
11589 * reggroups.c (reggroup_new): Likewise.
11590 (_initialize_reggroup): Likewise.
11591 * registry.c (register_data_with_cleanup): Likewise.
11592 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11593 * ser-base.c (serial_ttystate): Likewise.
11594 * ser-mingw.c (make_pipe_state): Likewise.
11595 * ser-pipe.c (pipe_open): Likewise.
11596 * serial.c (serial_open): Likewise.
11597 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11598 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11599 (tui_alloc_win_info): Likewise.
11600 (tui_add_content_elements): Likewise.
11601 * tui/tui-file.c (tui_file_new): Likewise.
11602 * tui/tui-out.c (tui_out_new): Likewise.
11603 * ui-file.c (mem_file_new): Likewise.
11604 * ui-out.c (push_level): Likewise.
11605 (make_cleanup_ui_out_end): Likewise.
11606 (append_header_to_list): Likewise.
11607 (ui_out_new): Likewise.
11608 * user-regs.c (user_reg_add_builtin): Likewise.
11609
41bf6aca
TT
116102014-01-13 Tom Tromey <tromey@redhat.com>
11611
11612 * defs.h (XZALLOC): Remove.
11613 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11614 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11615 (get_ada_tasks_inferior_data): Likewise.
11616 * auto-load.c (get_auto_load_pspace_data): Likewise.
11617 * auxv.c (get_auxv_inferior_data): Likewise.
11618 * bfd-target.c (target_bfd_reopen): Likewise.
11619 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11620 (deprecated_insert_raw_breakpoint): Likewise.
11621 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11622 * corelow.c (core_open): Likewise.
11623 * darwin-nat.c (darwin_check_new_threads): Likewise.
11624 (darwin_attach_pid): Likewise.
11625 * dummy-frame.c (dummy_frame_push): Likewise.
11626 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11627 * dwarf2loc.c (allocate_piece_closure): Likewise.
11628 * elfread.c (elf_symfile_segments): Likewise.
11629 * eval.c (ptrmath_type_p): Likewise.
11630 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11631 * gdbtypes.c (alloc_type_arch): Likewise.
11632 (alloc_type_instance): Likewise.
11633 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11634 * inf-child.c (inf_child_can_use_agent): Likewise.
11635 * inflow.c (get_inflow_inferior_data): Likewise.
11636 * infrun.c (save_infcall_suspend_state): Likewise.
11637 * jit.c (jit_reader_load): Likewise.
11638 (get_jit_objfile_data): Likewise.
11639 (get_jit_program_space_data): Likewise.
11640 (jit_object_open_impl): Likewise.
11641 (jit_symtab_open_impl): Likewise.
11642 (jit_block_open_impl): Likewise.
11643 (jit_frame_sniffer): Likewise.
11644 * linux-fork.c (add_fork): Likewise.
11645 * maint.c (make_command_stats_cleanup): Likewise.
11646 * objfiles.c (get_objfile_pspace_data): Likewise.
11647 * opencl-lang.c (struct lval_closure): Likewise.
11648 * osdata.c (osdata_start_osdata): Likewise.
11649 * progspace.c (new_address_space): Likewise.
11650 (add_program_space): Likewise.
11651 * remote-sim.c (get_sim_inferior_data): Likewise.
11652 * sh-tdep.c (sh_gdbarch_init): Likewise.
11653 * skip.c (Ignore): Likewise.
11654 (skip_delete_command): Likewise.
11655 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11656 (library_list_start_library): Likewise.
11657 (solib_aix_current_sos): Likewise.
11658 * solib-darwin.c (get_darwin_info): Likewise.
11659 (darwin_current_sos): Likewise.
11660 * solib-dsbt.c (get_dsbt_info): Likewise.
11661 * solib-ia64-hpux.c (new_so_list): Likewise.
11662 (ia64_hpux_get_solib_linkage_addr): Likewise.
11663 * solib-spu.c (append_ocl_sos): Likewise.
11664 (spu_current_sos): Likewise.
11665 * solib-svr4.c (get_svr4_info): Likewise.
11666 (svr4_keep_data_in_core): Likewise.
11667 (library_list_start_library): Likewise.
11668 (svr4_default_sos): Likewise.
11669 (svr4_read_so_list): Likewise.
11670 * solib-target.c (library_list_start_library): Likewise.
11671 (solib_target_current_sos): Likewise.
11672 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11673 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11674 * symfile.c (default_symfile_segments): Likewise.
11675 * target-descriptions.c (tdesc_data_init): Likewise.
11676 (tdesc_create_reg): Likewise.
11677 (struct tdesc_type *): Likewise.
11678 (tdesc_create_vector): Likewise.
11679 (tdesc_set_struct_size): Likewise.
11680 (struct tdesc_type *): Likewise.
11681 (tdesc_free_feature): Likewise.
11682 (tdesc_create_feature): Likewise.
11683 * windows-nat.c (windows_add_thread): Likewise.
11684 (windows_make_so): Likewise.
11685 * xml-support.c (gdb_xml_body_text): Likewise.
11686 (gdb_xml_create_parser_and_cleanup): Likewise.
11687 (xml_process_xincludes): Likewise.
11688 * xml-syscall.c (allocate_syscalls_info): Likewise.
11689 (syscall_create_syscall_desc): Likewise.
11690
5acfdbae
SDJ
116912014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11692
11693 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11694 function, with code from i386_stap_parse_special_token.
11695 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11696 (i386_stap_parse_special_token): Move code to the two functions
11697 above; simplify it.
11698
0000e5cc
PA
116992014-01-09 Pedro Alves <palves@redhat.com>
11700 Hui Zhu <hui@codesourcery.com>
11701
11702 PR gdb/16101
11703 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11704 bp_err_string. Don't mark the location shlib_disabled if the
11705 error thrown wasn't a generic or memory error. Catch errors
11706 thrown while inserting breakpoints in overlayed code. Output
11707 error message of software breakpoints.
11708 * remote.c (remote_insert_breakpoint): If this breakpoint has
11709 target-side commands but this stub doesn't support Z0 packets,
11710 throw NOT_SUPPORTED_ERROR error.
11711 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11712 * target.h (target_insert_breakpoint): Extend comment.
11713 (target_insert_hw_breakpoint): Add comment.
11714
b7ea362b
PA
117152014-01-08 Pedro Alves <palves@redhat.com>
11716
11717 * remote.c (remote_add_thread): Add threads silently if starting
11718 up.
11719 (remote_notice_new_inferior): If in all-stop, and starting up,
11720 don't call notice_new_inferior.
11721 (get_current_thread): New function, factored out from ...
11722 (add_current_inferior_and_thread): ... this. Adjust.
11723 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11724 found any thread, then select the remote's current thread as GDB's
11725 current thread too.
11726
b7bba001
JB
117272014-01-08 Joel Brobecker <brobecker@adacore.com>
11728
11729 * NEWS: Create a new section for the next release branch.
11730 Rename the section of the current branch, now that it has
11731 been cut.
11732
16dfbded
JB
117332014-01-08 Joel Brobecker <brobecker@adacore.com>
11734
11735 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11736 * version.in: Bump version to 7.7.50.DATE-cvs.
11737
22c90ac1
YQ
117382014-01-08 Yao Qi <yao@codesourcery.com>
11739
11740 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11741 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11742 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11743
d64ad97c
YQ
117442014-01-08 Yao Qi <yao@codesourcery.com>
11745
11746 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11747 return value of bfd_get_filename to symbol_file_add_from_bfd.
11748
f93ba80c
PM
117492014-01-08 Pierre Muller <muller@sourceware.org>
11750
11751 Fix PR16201.
11752 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11753 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11754 to prim_record_mininal_symbol_and_info.
11755 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11756 in call to prim_record_minimal_symbol_and_info.
11757 (read_pe_exported_syms): Set index field of section_data.
11758
a4d9ba85
AP
117592014-01-07 Andrew Pinski <apinski@cavium.com>
11760
11761 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11762 * features/aarch64.c: Regenerate.
11763
1b67eb02
AS
117642014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11765
11766 * target.c (return_null): Define.
11767 (update_current_target): Use it instead of return_zero for
11768 functions that return a pointer.
11769
5e3f4fab
EBM
117702014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11771
11772 * source.c (add_path): Fix check for duplicated paths in the previously
11773 included paths.
11774
e2616788
HK
117752014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11776
11777 * ada-lang.c: Remove duplicated include statements.
11778 * alphabsd-nat.c: Ditto.
11779 * amd64-darwin-tdep.c: Ditto.
11780 * amd64fbsd-nat.c: Ditto.
11781 * auto-load.c: Ditto.
11782 * ax-gdb.c: Ditto.
11783 * breakpoint.c: Ditto.
11784 * dbxread.c: Ditto.
11785 * fork-child.c: Ditto.
11786 * gdb_usleep.c: Ditto.
11787 * i386-darwin-tdep.c: Ditto.
11788 * i386fbsd-nat.c: Ditto.
11789 * infcmd.c: Ditto.
11790 * inferior.c: Ditto.
11791 * jv-lang.c: Ditto.
11792 * linux-nat.c: Ditto.
11793 * linux-tdep.c: Ditto.
11794 * m68kbsd-nat.c: Ditto.
11795 * m68klinux-nat.c: Ditto.
11796 * microblaze-tdep.c: Ditto.
11797 * mips-linux-tdep.c: Ditto.
11798 * mn10300-tdep.c: Ditto.
11799 * nto-tdep.c: Ditto.
11800 * opencl-lang.c: Ditto.
11801 * osdata.c: Ditto.
11802 * printcmd.c: Ditto.
11803 * regcache.c: Ditto.
11804 * remote-m32r-sdi.c: Ditto.
11805 * remote.c: Ditto.
11806 * symfile.c: Ditto.
11807 * symtab.c: Ditto.
11808 * tilegx-linux-nat.c: Ditto.
11809 * tilegx-tdep.c: Ditto.
11810 * tracepoint.c: Ditto.
11811 * valops.c: Ditto.
11812 * vaxbsd-nat.c: Ditto.
11813 * windows-nat.c: Ditto.
11814 * xtensa-tdep.c: Ditto.
11815
bd1f7788
YQ
118162014-01-07 Yao Qi <yao@codesourcery.com>
11817
11818 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11819
79301218
JB
118202014-01-07 Yao Qi <yao@codesourcery.com>
11821 Joel Brobecker <brobecker@adacore.com>
11822
11823 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11824 (pdc_write_regs): Likewise.
11825 (fetch_regs_kernel_thread): Likewise.
11826 (store_regs_kernel_thread): Likewise.
11827
118282014-01-07 Joel Brobecker <brobecker@adacore.com>
11829
11830 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11831 tagged type objects to their actual type.
11832
8e355c5d
JB
118332014-01-07 Joel Brobecker <brobecker@adacore.com>
11834
11835 * ada-valprint.c (print_field_values): Add "language" parameter.
11836 Update calls to print_field_values and print_variant_part.
11837 Pass new parameter "language" in call to val_print instead
11838 of "current_language". Replace call to ada_val_print by call
11839 to val_print.
11840 (print_variant_part): Add "language" parameter.
11841 (ada_val_print_struct_union): Update call to print_field_values.
11842
4fbf5aa5
JB
118432014-01-07 Joel Brobecker <brobecker@adacore.com>
11844
11845 * ada-valprint.c (ui_memcpy): Delete.
11846 (ada_print_floating): Update documentation. Add empty line
11847 between between function documentation and implementation.
11848 Delete variable "buffer". Use ui_file_xstrdup in place of
11849 ui_file_put. Minor adjustments following this change.
11850
71855601
JB
118512014-01-07 Joel Brobecker <brobecker@adacore.com>
11852
11853 * ada-valprint.c (ada_val_print_string): New function,
11854 extracted from ada_val_print_array.
11855 (ada_val_print_array): Replace extracted code by call
11856 to ada_val_print_string followed by a return. Move
11857 "else" branch to the function's top block.
11858
4eb27a30
JB
118592014-01-07 Joel Brobecker <brobecker@adacore.com>
11860
11861 * ada-valprint.c (ada_val_print_array): Move implementation
11862 down. Rename parameter "offset" and "val" into "offset_aligned"
11863 and "original_value" respectively. Add parameter "offset".
11864
34b27950
JB
118652014-01-07 Joel Brobecker <brobecker@adacore.com>
11866
11867 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11868 re-organizing the code. Change the "???" message printed
11869 when target type is a TYPE_CODE_UNDEF into
11870 "<ref to undefined type>".
11871
079e4591
JB
118722014-01-07 Joel Brobecker <brobecker@adacore.com>
11873
11874 * ada-valprint.c (print_record): Delete, implementation inlined...
11875 (ada_val_print_struct_union): ... here. Remove call to
11876 ada_check_typedef in inlined implementation.
11877
8004dfd1
JB
118782014-01-07 Joel Brobecker <brobecker@adacore.com>
11879
11880 * ada-valprint.c (ada_val_print_gnat_array): New function,
11881 extracted from ada_val_print_1;
11882 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
11883 (ada_val_print_flt, ada_val_print_struct_union)
11884 (ada_val_print_ref): Likewise.
11885 (ada_val_print_1): Delete variables i and elttype.
11886 Replace extracted-out code by call to corresponding
11887 new functions.
11888
760a2db0
JB
118892014-01-07 Joel Brobecker <brobecker@adacore.com>
11890
11891 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
11892
3a92c861
JB
118932014-01-07 Joel Brobecker <brobecker@adacore.com>
11894
11895 * ada-valprint.c (ada_val_print_1): Replace calls to
11896 ada_val_print_1 by calls to val_print.
11897
cd1630f9
JB
118982014-01-07 Joel Brobecker <brobecker@adacore.com>
11899
11900 * ada-valprint.c (ada_val_print_1): Add parameter "language".
11901 Update calls to self accordingly. Replace calls to c_val_print
11902 by calls to val_print.
11903
bdf779a0
JB
119042014-01-07 Joel Brobecker <brobecker@adacore.com>
11905
11906 * ada-valprint.c (print_record): Delete declaration.
11907 (adjust_type_signedness, ada_val_print_1): Likewise.
11908 (ada_val_print): Move function implementation down.
11909 (print_variant_part, print_field_values, print_record):
11910 Move function implementation up.
11911
c0d48811
JB
119122014-01-07 Joel Brobecker <brobecker@adacore.com>
11913
11914 * python/py-type.c (typy_get_name): New function.
11915 (type_object_getset): Add entry for attribute "name".
11916 * NEWS: Add entry mentioning this new attribute.
11917
c26e9cbb
YQ
119182014-01-07 Yao Qi <yao@codesourcery.com>
11919
11920 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
11921 statement.
11922
0cc6f43d
YQ
119232014-01-07 Yao Qi <yao@codesourcery.com>
11924
11925 * gnu-nat.c (info_port_rights): Add qualifier const to
11926 argument args.
11927
eec03155
YQ
119282014-01-07 Yao Qi <yao@codesourcery.com>
11929
11930 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
11931
f04a82ef
YQ
119322014-01-07 Yao Qi <yao@codesourcery.com>
11933
11934 * gnu-nat.c (make_inf) Update declaration.
11935 (make_inf): Make it static.
11936 (inf_set_traced): Likewise.
11937 (inf_port_to_thread, inf_task_died_status): Likewise.
11938
d57dda0a
YQ
119392014-01-07 Yao Qi <yao@codesourcery.com>
11940
11941 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
11942
3aa8c969
YQ
119432014-01-07 Yao Qi <yao@codesourcery.com>
11944
11945 * gnu-nat.c (_initialize_gnu_nat): Declare.
11946
94123b4f
YQ
119472014-01-07 Yao Qi <yao@codesourcery.com>
11948
11949 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
11950 'enum bfd_endian'.
11951 (struct gdbarch_info) <byte_order>: Change type to
11952 'enum bfd_endian'.
11953 <byte_order_for_code>: Likewise.
11954 * gdbarch.c, gdbarch.h: Regenerated.
11955
dc81d70a
TT
119562014-01-06 Sasha Smundak <asmundak@google.com>
11957
11958 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
11959
cc2f3c35
TT
119602014-01-06 Tom Tromey <tromey@redhat.com>
11961
11962 * doublest.c (convert_doublest_to_floatformat): Use const, not
11963 CONST.
11964 * somread.c (som_symtab_read): Likewise.
11965
adcf2eed
HZ
119662014-01-07 Hui Zhu <hui@codesourcery.com>
11967
11968 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
11969 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
11970 (gdb_bfd_fopen): Ditto.
11971 (gdb_bfd_openr): Ditto.
11972 (gdb_bfd_openw): Ditto.
11973 (gdb_bfd_openr_iovec): Ditto.
11974 (gdb_bfd_fdopenr): Ditto.
11975 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
11976 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
11977 with xstrdup.
11978 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
11979 with xstrdup.
11980 * symfile-mem.c (symbol_file_add_from_memory): Removed
11981 gdb_bfd_stash_filename.
11982
50722198
DE
119832014-01-03 Doug Evans <dje@google.com>
11984
11985 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
11986 output.
11987
2fa4b862
JB
119882014-01-01 Joel Brobecker <brobecker@adacore.com>
11989
11990 Update year range in copyright notice of all files.
11991
28498c42
JB
119922014-01-01 Joel Brobecker <brobecker@adacore.com>
11993
11994 * top.c (print_gdb_version): Set copyright year to 2014.
11995
7b6e1046
JB
119962014-01-01 Joel Brobecker <brobecker@adacore.com>
11997
11998 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
11999
df96af55 12000For older changes see ChangeLog-2013.
c906108c
SS
12001\f
12002Local Variables:
12003mode: change-log
12004left-margin: 8
12005fill-column: 74
12006version-control: never
57da7796 12007coding: utf-8
c906108c 12008End:
This page took 2.950498 seconds and 4 git commands to generate.