This patch adds support for FreeBSD ARM in gas.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
cb417230
JB
12014-08-19 Joel Brobecker <brobecker@adacore.com>
2
3 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
4 Adjust code accordingly. Adjust function description comment.
5
817e0957
YQ
62014-08-19 Yao Qi <yao@codesourcery.com>
7
8 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
9 types.
10
2974be62
AM
112014-08-19 Alan Modra <amodra@gmail.com>
12
13 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
14 * config.in: Regenerate.
15 * configure: Regenerate.
16
34abf635
GB
172014-08-19 Tom Tromey <tromey@redhat.com>
18 Gary Benson <gbenson@redhat.com>
19
20 * common/common-debug.h: New file.
21 * common/common-debug.c: Likewise.
22 * debug.c: Likewise.
23 * Makefile.in (SFILES): Add common/common-debug.c.
24 (HFILES_NO_SRCDIR): Add common/common-debug.h.
25 (COMMON_OBS): Add common-debug.o and debug.o.
26 (common-debug.o): New rule.
27 * common/common-defs.h: Include common-debug.h.
28 * common/agent.c (debug_agent_printf): New function.
29 (DEBUG_AGENT): Redefine.
30 * nat/i386-dregs.c (debug_printf): Undefine.
31
f6e94d78
GB
322014-08-19 Gary Benson <gbenson@redhat.com>
33
34 * common/common-defs.h: Include print-utils.h.
35 * utils.h: Do not include print-utils.h.
36
9239eeab
GB
372014-08-19 Tom Tromey <tromey@redhat.com>
38 Gary Benson <gbenson@redhat.com>
39
40 * common/common-types.h: New file.
41 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
42 * common/common-defs.h: Include common-types.h.
43 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
44 (ULONGEST): Remove.
45
ef87c8bb
GB
462014-08-19 Tom Tromey <tromey@redhat.com>
47 Gary Benson <gbenson@redhat.com>
48
49 * common/errors.h: New file.
50 * common/errors.c: Likewise.
51 * Makefile.in (SFILES): Add common/errors.c.
52 (HFILES_NO_SRCDIR): Add common/errors.h.
53 (COMMON_OBS): Add errors.o.
54 (errors.o): New rule.
55 * common/common-defs.h: Include errors.h.
56 * utils.h (perror_with_name, error, verror, warning, vwarning):
57 Don't declare.
58 * common/common-utils.h: (malloc_failure, internal_error):
59 Likewise.
60
196a707b
GB
612014-08-19 Gary Benson <gbenson@redhat.com>
62
63 * utils.c (internal_vproblem): Always print the message.
64
ded4fc8f
DE
652014-08-18 Doug Evans <dje@google.com>
66
67 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
68
950c97d8
JB
692014-08-18 Joel Brobecker <brobecker@adacore.com>
70
71 * ada-typeprint.c (type_is_full_subrange_of_target_type):
72 Return 0 if TYPE is dynamic.
73 (print_range): Add handling of dynamic ranges.
74
3cdcd0ce
JB
752014-08-18 Keven Boell <keven.boell@intel.com>
76 Joel Brobecker <brobecker@adacore.com>
77
78 * gdbtypes.h (struct main_type): Add field "data_location".
79 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
80 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
81 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
82 a dynamic data location.
83 (resolve_dynamic_type): Add DW_AT_data_location handling.
84 (copy_recursive, copy_type): Copy the data_location information
85 when present.
86 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
87 * value.c (value_from_contents_and_address): Add
88 DW_AT_data_location handling.
89
08412b07
JB
902014-08-18 Keven Boell <keven.boell@intel.com>
91 Joel Brobecker <brobecker@adacore.com>
92
93 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
94 field "get_object_address".
95 * dwarf2expr.c (execute_stack_op): Add handling for
96 DW_OP_push_object_address.
97 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
98 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
99 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
100 (dwarf_expr_get_obj_addr): New function.
101 (dwarf_expr_ctx_funcs): Add get_object_address field.
102 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
103 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
104 (dwarf2_evaluate_property): Add parameter "address". Use it.
105 (needs_get_obj_addr): New function.
106 (needs_frame_ctx_funcs): Add get_object_address field.
107 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
108 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
109 (resolve_dynamic_array): Likewise.
110
84754697
JB
1112014-08-18 Joel Brobecker <brobecker@adacore.com>
112
113 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
114 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
115 fixed value for records and unions for which some GNAT encodings
116 are present.
117
da5c522f
JB
1182014-08-18 Joel Brobecker <brobecker@adacore.com>
119
120 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
121 rewrite to avoid "else if" and "else" constructs. Should be
122 a no-op in practice.
123
0d72a7c3
JB
1242014-08-18 Joel Brobecker <brobecker@adacore.com>
125
126 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
127 of lexical block.
128
e66d4446
SC
1292014-08-15 Siva Chandra Reddy <sivachandra@google.com>
130
131 PR c++/17132
132 * eval.c: Update all calls to find_overload_match.
133 * valarith.c: Likewise.
134 (value_user_defined_cpp_op, value_user_defined_op): New
135 argument NOSIDE. Update all callers.
136 * valops.c (find_overload_match): New argument NOSIDE.
137 * value.h (find_overload_match): Update signature.
138
940df408
SC
1392014-08-15 Siva Chandra Reddy <sivachandra@google.com>
140
141 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
142 'items' methods instead of 'iteritems' method on dictionaries.
143
699ca60a
DE
1442014-08-15 Doug Evans <dje@google.com>
145
146 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
147 closer to use.
148
37780ee5
DE
1492014-08-15 Doug Evans <dje@google.com>
150
151 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
152
0ad93d4f
DE
1532014-08-15 Doug Evans <dje@google.com>
154
155 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
156
20d8c372
DE
1572014-08-15 Doug Evans <dje@google.com>
158
159 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
160 unused.
161
cb039ba4
EZ
1622014-08-15 Eli Zaretskii <eliz@gnu.org>
163
164 * dcache.h: Include target.h, to avoid compile time warnings.
165
eb7a547a
JB
1662014-08-15 Joel Brobecker <brobecker@adacore.com>
167
168 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
169 frame_info" partial declaration.
170 * gdbarch.h: Regenerate.
171
783cecc8
YQ
1722014-08-15 Yao Qi <yao@codesourcery.com>
173
174 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
175 Add parameter 'decode_for_pst_p'. Callers update.
176
65c749e7
YQ
1772014-08-13 Yao Qi <yao@codesourcery.com>
178
179 PR build/17104
180 * configure.ac: Use local variable 'pos'.
181 * configure: Regenerated.
182
d769e349
DE
1832014-08-11 Doug Evans <dje@google.com>
184
185 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
186 message, it is redundant with "Reading symbols from ..." message.
187
24f1235e
DE
1882014-08-10 Doug Evans <xdje42@gmail.com>
189
190 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
191
dcd2e6ef
YQ
1922014-08-09 Yao Qi <yao@codesourcery.com>
193
194 PR remote/9053
195 * remote.c (remote_xfer_partial): Remove dead code.
196
070bdf0b
AA
1972014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
198
199 * ia64-linux-tdep.c: Include "regset.h".
200 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
201 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
202 (ia64_linux_supply_fpregset): New function.
203 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
204 (ia64_linux_regset_from_core_section): New function.
205 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
206 method.
207
08f9f542
AA
2082014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
209
210 * m68klinux-tdep.c: Include "regset.h".
211 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
212 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
213 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
214 (m68k_linux_regset_from_core_section): New function.
215 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
216 method.
217
8f1cee41
AA
2182014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
219
220 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
221 function. Move logic to...
222 (tilegx_linux_regmap): ... this new register map.
223 (tilegx_linux_regset): Refer to register map, replace supply
224 method by regcache_supply_regset, and add collect method.
225 * tilegx-tdep.h (enum tilegx_regnum): New enum value
226 TILEGX_FIRST_EASY_REGNUM.
227
c5741217
AA
2282014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
229
230 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
231 that calls regcache_supply_regset and handles the EPC register
232 separately. Move main logic to...
233 (score7_linux_gregmap): ... this new register map.
234 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
235 (score7_linux_gregset): Refer to register map. Add collect method.
236 (score7_linux_regset_from_core_section): Replace
237 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
238 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
239 (struct regset): Delete unused forward declaraction.
240 (struct pt_regs): Delete structure definition.
241 (elf_gregset_t): Delete typedef.
242
81580573
AA
2432014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
244
245 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
246 (nios2_core_regset): Add collect method.
247
ba199d7d
AA
2482014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
249
250 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
251 platform-independent and don't write to read-only input buffer.
252 (m32r_linux_collect_gregset): New function.
253 (m32r_linux_gregset): Add collect method.
254
0006a9da
AA
2552014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
256
257 * hppa-linux-tdep.c (greg_map): Rename to...
258 (hppa_linux_gregmap): ... this. Also convert to
259 regcache_map_entry format.
260 (hppa_linux_supply_regset): Delete function.
261 (hppa_linux_supply_fpregset): Delete function. Move logic to...
262 (hppa_linux_fpregmap): ... this new register map.
263 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
264 register map, replace supply method by regcache_supply_regset, and
265 add collect method regcache_collect_regset.
266
901e1b23
AA
2672014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
268
269 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
270 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
271 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
272 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
273 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
274 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
275 (frv_linux_supply_gregset): Replace main logic by call to
276 regcache_supply_regset, but keep clearing gr32-gr63.
277 (frv_linux_supply_fpregset): Delete function.
278 (frv_linux_gregset): Refer to appropriate register map and add
279 regcache_collect_regset as the collect method.
280 (frv_linux_fpregset): Likewise. Also exchange the supply method
281 by regcache_supply_regset.
282
1d6e7555
AA
2832014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
284
285 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
286 by call to alpha_supply_int_regs.
287 (alpha_linux_collect_gregset): New function.
288 (alpha_linux_supply_fpregset): Replace logic by call to
289 alpha_supply_fp_regs.
290 (alpha_linux_collect_fpregset): New function.
291 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
292
d4d793bf
AA
2932014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
294
295 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
296 by call to regcache_collect_regset.
297 (supply_gregset, supply_fpregset): Call regcache_supply_regset
298 instead of aarch64_linux_supply_gregset/_fpregset.
299 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
300 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
301 header file instead.
302 (aarch64_linux_supply_gregset, supply_gregset_from_core)
303 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
304 functions. Move logic to ...
305 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
306 register maps.
307 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
308 refer to new register maps, replace *_regset_from_core by
309 regcache_supply_regset, and also use regcache_collect_regset.
310 * aarch64-linux-tdep.h: Include "regset.h".
311 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
312 Delete prototypes.
313 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
314 macros, moved from C source file.
315 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
316 variable declarations.
317
99b7da5d
AA
3182014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
319
320 * s390-linux-nat.c: Include "regset.h".
321 (regmap_gregset): Delete macro.
322 (s390_64_regmap_gregset): New register map for
323 regcache_supply/_collect_regset.
324 (s390_64_gregset): New regset.
325 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
326 (regmap_fpregset): Delete macro.
327 (s390_native_supply, s390_native_collect): Delete functions.
328 (supply_gregset, fill_gregset): Replace s390-specific regmap
329 handling by a call to regcache_supply/_collect_regset.
330 (supply_fpregset, fill_fpregset): Call regcache_supply/
331 _collect_regset instead of s390_native_supply/_collect.
332 (fetch_regset, store_regset): Likewise. Also change the last
333 parameter to a regset instead of a regmap.
334 (s390_linux_fetch_inferior_registers)
335 (390_linux_store_inferior_registers): Adjust last parameter in
336 calls to fetch_regset and store_regset.
337 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
338 (s390_gregmap): ... this. Also make static const and convert to
339 regcache_map_entry format.
340 (s390x_regmap_gregset): Delete.
341 (s390_regmap_fpregset): Rename to...
342 (s390_fpregmap): ... this. Make static const and convert to
343 regcache_map_entry format.
344 (s390_regmap_upper, s390_regmap_last_break)
345 (s390x_regmap_last_break, s390_regmap_system_call)
346 (s390_regmap_tdb): Likewise.
347 (s390_supply_regset, s390_collect_regset): Remove functions.
348 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
349 s390_supply_regset.
350 (s390_gregset, s390_fpregset, s390_upper_regset)
351 (s390_last_break_regset, s390x_last_break_regset)
352 (s390_system_call_regset, s390_tdb_regset): Make global and
353 replace s390_supply/_collect_regset by regcache_supply/
354 _collect_regset.
355 (s390x_gregset): Delete.
356 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
357 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
358 (s390_regmap_fpregset, s390_regmap_last_break)
359 (s390x_regmap_last_break, s390_regmap_system_call)
360 (s390_regmap_tdb): Delete global variable declarations.
361 (s390_gregset, s390_fpregset, s390_last_break_regset)
362 (s390x_last_break_regset, s390_system_call_regset)
363 (s390_tdb_regset): New global variable declarations.
364
0b309272
AA
3652014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
366
367 * regcache.c: Include "regset.h".
368 (regcache_transfer_regset): New local function.
369 (regcache_supply_regset, regcache_collect_regset): New functions.
370 * regcache.h (struct regcache_map_entry): New structure.
371 (REGCACHE_MAP_SKIP): New enum value.
372 (regcache_supply_regset, regcache_collect_regset): New prototypes.
373
7fefa8d7
AA
3742014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
375
376 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
377 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
378 (ppc_linux_collect_gregset ): Likewise.
379 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
380 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
381 (ppc_collect_vrregset): Likewise.
382 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
383 Likewise.
384
96c4f946
YQ
3852014-08-07 Yao Qi <yao@codesourcery.com>
386
387 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
388 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
389 * remote.c (remote_read_bytes): Likewise.
390
fffbe6a8
YQ
3912014-08-07 Yao Qi <yao@codesourcery.com>
392
393 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
394
5ee8a82c
YQ
3952014-08-07 Yao Qi <yao@codesourcery.com>
396
397 PR remote/17230
398 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
399 TARGET_XFER_OK instead of 0.
400
bb974a24
GB
4012014-08-07 Gary Benson <gbenson@redhat.com>
402
403 * common/common-defs.h: Include errno.h.
404 * defs.h: Do not include errno.h.
405 * ada-typeprint.c: Likewise.
406 * c-typeprint.c: Likewise.
407 * core-regset.c: Likewise.
408 * corefile.c: Likewise.
409 * corelow.c: Likewise.
410 * event-loop.c: Likewise.
411 * f-typeprint.c: Likewise.
412 * gnu-nat.c: Likewise.
413 * go32-nat.c: Likewise.
414 * i386gnu-nat.c: Likewise.
415 * m2-typeprint.c: Likewise.
416 * nat/linux-btrace.c: Likewise.
417 * p-typeprint.c: Likewise.
418 * procfs.c: Likewise.
419 * remote-sim.c: Likewise.
420 * rs6000-nat.c: Likewise.
421 * target.c: Likewise.
422 * typeprint.c: Likewise.
423 * ui-file.c: Likewise.
424 * valops.c: Likewise.
425 * valprint.c: Likewise.
426
6d3d12eb
GB
4272014-08-07 Gary Benson <gbenson@redhat.com>
428
429 * common/common-defs.h: Include string.h.
430 * aarch64-tdep.c: Do not include string.h.
431 * ada-exp.y: Likewise.
432 * ada-lang.c: Likewise.
433 * ada-lex.l: Likewise.
434 * ada-typeprint.c: Likewise.
435 * ada-valprint.c: Likewise.
436 * aix-thread.c: Likewise.
437 * alpha-linux-tdep.c: Likewise.
438 * alpha-mdebug-tdep.c: Likewise.
439 * alpha-nat.c: Likewise.
440 * alpha-osf1-tdep.c: Likewise.
441 * alpha-tdep.c: Likewise.
442 * alphanbsd-tdep.c: Likewise.
443 * amd64-dicos-tdep.c: Likewise.
444 * amd64-linux-tdep.c: Likewise.
445 * amd64-nat.c: Likewise.
446 * amd64-sol2-tdep.c: Likewise.
447 * amd64fbsd-tdep.c: Likewise.
448 * amd64obsd-tdep.c: Likewise.
449 * arch-utils.c: Likewise.
450 * arm-linux-nat.c: Likewise.
451 * arm-linux-tdep.c: Likewise.
452 * arm-tdep.c: Likewise.
453 * arm-wince-tdep.c: Likewise.
454 * armbsd-tdep.c: Likewise.
455 * armnbsd-nat.c: Likewise.
456 * armnbsd-tdep.c: Likewise.
457 * armobsd-tdep.c: Likewise.
458 * avr-tdep.c: Likewise.
459 * ax-gdb.c: Likewise.
460 * ax-general.c: Likewise.
461 * bcache.c: Likewise.
462 * bfin-tdep.c: Likewise.
463 * breakpoint.c: Likewise.
464 * build-id.c: Likewise.
465 * buildsym.c: Likewise.
466 * c-exp.y: Likewise.
467 * c-lang.c: Likewise.
468 * c-typeprint.c: Likewise.
469 * c-valprint.c: Likewise.
470 * charset.c: Likewise.
471 * cli-out.c: Likewise.
472 * cli/cli-cmds.c: Likewise.
473 * cli/cli-decode.c: Likewise.
474 * cli/cli-dump.c: Likewise.
475 * cli/cli-interp.c: Likewise.
476 * cli/cli-logging.c: Likewise.
477 * cli/cli-script.c: Likewise.
478 * cli/cli-setshow.c: Likewise.
479 * cli/cli-utils.c: Likewise.
480 * coffread.c: Likewise.
481 * common/agent.c: Likewise.
482 * common/buffer.c: Likewise.
483 * common/buffer.h: Likewise.
484 * common/common-utils.c: Likewise.
485 * common/filestuff.c: Likewise.
486 * common/filestuff.c: Likewise.
487 * common/format.c: Likewise.
488 * common/print-utils.c: Likewise.
489 * common/rsp-low.c: Likewise.
490 * common/signals.c: Likewise.
491 * common/vec.h: Likewise.
492 * common/xml-utils.c: Likewise.
493 * core-regset.c: Likewise.
494 * corefile.c: Likewise.
495 * corelow.c: Likewise.
496 * cp-abi.c: Likewise.
497 * cp-name-parser.y: Likewise.
498 * cp-support.c: Likewise.
499 * cp-valprint.c: Likewise.
500 * cris-tdep.c: Likewise.
501 * d-exp.y: Likewise.
502 * darwin-nat.c: Likewise.
503 * dbxread.c: Likewise.
504 * dcache.c: Likewise.
505 * demangle.c: Likewise.
506 * dicos-tdep.c: Likewise.
507 * disasm.c: Likewise.
508 * doublest.c: Likewise.
509 * dsrec.c: Likewise.
510 * dummy-frame.c: Likewise.
511 * dwarf2-frame.c: Likewise.
512 * dwarf2loc.c: Likewise.
513 * dwarf2read.c: Likewise.
514 * elfread.c: Likewise.
515 * environ.c: Likewise.
516 * eval.c: Likewise.
517 * event-loop.c: Likewise.
518 * exceptions.c: Likewise.
519 * exec.c: Likewise.
520 * expprint.c: Likewise.
521 * f-exp.y: Likewise.
522 * f-lang.c: Likewise.
523 * f-typeprint.c: Likewise.
524 * f-valprint.c: Likewise.
525 * fbsd-nat.c: Likewise.
526 * findcmd.c: Likewise.
527 * findvar.c: Likewise.
528 * fork-child.c: Likewise.
529 * frame.c: Likewise.
530 * frv-linux-tdep.c: Likewise.
531 * frv-tdep.c: Likewise.
532 * gdb.c: Likewise.
533 * gdb_bfd.c: Likewise.
534 * gdbarch.c: Likewise.
535 * gdbarch.sh: Likewise.
536 * gdbtypes.c: Likewise.
537 * gnu-nat.c: Likewise.
538 * gnu-v2-abi.c: Likewise.
539 * gnu-v3-abi.c: Likewise.
540 * go-exp.y: Likewise.
541 * go-lang.c: Likewise.
542 * go32-nat.c: Likewise.
543 * guile/guile.c: Likewise.
544 * guile/scm-auto-load.c: Likewise.
545 * hppa-hpux-tdep.c: Likewise.
546 * hppa-linux-nat.c: Likewise.
547 * hppanbsd-tdep.c: Likewise.
548 * hppaobsd-tdep.c: Likewise.
549 * i386-cygwin-tdep.c: Likewise.
550 * i386-dicos-tdep.c: Likewise.
551 * i386-linux-tdep.c: Likewise.
552 * i386-nto-tdep.c: Likewise.
553 * i386-sol2-tdep.c: Likewise.
554 * i386-tdep.c: Likewise.
555 * i386bsd-tdep.c: Likewise.
556 * i386gnu-nat.c: Likewise.
557 * i386nbsd-tdep.c: Likewise.
558 * i386obsd-tdep.c: Likewise.
559 * i387-tdep.c: Likewise.
560 * ia64-libunwind-tdep.c: Likewise.
561 * ia64-linux-nat.c: Likewise.
562 * inf-child.c: Likewise.
563 * inf-ptrace.c: Likewise.
564 * inf-ttrace.c: Likewise.
565 * infcall.c: Likewise.
566 * infcmd.c: Likewise.
567 * inflow.c: Likewise.
568 * infrun.c: Likewise.
569 * interps.c: Likewise.
570 * iq2000-tdep.c: Likewise.
571 * irix5-nat.c: Likewise.
572 * jv-exp.y: Likewise.
573 * jv-lang.c: Likewise.
574 * jv-typeprint.c: Likewise.
575 * jv-valprint.c: Likewise.
576 * language.c: Likewise.
577 * linux-fork.c: Likewise.
578 * linux-nat.c: Likewise.
579 * lm32-tdep.c: Likewise.
580 * m2-exp.y: Likewise.
581 * m2-typeprint.c: Likewise.
582 * m32c-tdep.c: Likewise.
583 * m32r-linux-nat.c: Likewise.
584 * m32r-linux-tdep.c: Likewise.
585 * m32r-rom.c: Likewise.
586 * m32r-tdep.c: Likewise.
587 * m68hc11-tdep.c: Likewise.
588 * m68k-tdep.c: Likewise.
589 * m68kbsd-tdep.c: Likewise.
590 * m68klinux-nat.c: Likewise.
591 * m68klinux-tdep.c: Likewise.
592 * m88k-tdep.c: Likewise.
593 * machoread.c: Likewise.
594 * macrocmd.c: Likewise.
595 * main.c: Likewise.
596 * mdebugread.c: Likewise.
597 * mem-break.c: Likewise.
598 * memattr.c: Likewise.
599 * memory-map.c: Likewise.
600 * mep-tdep.c: Likewise.
601 * mi/mi-cmd-break.c: Likewise.
602 * mi/mi-cmd-disas.c: Likewise.
603 * mi/mi-cmd-env.c: Likewise.
604 * mi/mi-cmd-stack.c: Likewise.
605 * mi/mi-cmd-var.c: Likewise.
606 * mi/mi-cmds.c: Likewise.
607 * mi/mi-console.c: Likewise.
608 * mi/mi-getopt.c: Likewise.
609 * mi/mi-interp.c: Likewise.
610 * mi/mi-main.c: Likewise.
611 * mi/mi-parse.c: Likewise.
612 * microblaze-rom.c: Likewise.
613 * microblaze-tdep.c: Likewise.
614 * mingw-hdep.c: Likewise.
615 * minidebug.c: Likewise.
616 * minsyms.c: Likewise.
617 * mips-irix-tdep.c: Likewise.
618 * mips-linux-tdep.c: Likewise.
619 * mips-tdep.c: Likewise.
620 * mips64obsd-tdep.c: Likewise.
621 * mipsnbsd-tdep.c: Likewise.
622 * mipsread.c: Likewise.
623 * mn10300-linux-tdep.c: Likewise.
624 * mn10300-tdep.c: Likewise.
625 * monitor.c: Likewise.
626 * moxie-tdep.c: Likewise.
627 * mt-tdep.c: Likewise.
628 * nat/linux-btrace.c: Likewise.
629 * nat/linux-osdata.c: Likewise.
630 * nat/linux-procfs.c: Likewise.
631 * nat/linux-ptrace.c: Likewise.
632 * nat/linux-waitpid.c: Likewise.
633 * nbsd-tdep.c: Likewise.
634 * nios2-linux-tdep.c: Likewise.
635 * nto-procfs.c: Likewise.
636 * nto-tdep.c: Likewise.
637 * objc-lang.c: Likewise.
638 * objfiles.c: Likewise.
639 * opencl-lang.c: Likewise.
640 * osabi.c: Likewise.
641 * osdata.c: Likewise.
642 * p-exp.y: Likewise.
643 * p-lang.c: Likewise.
644 * p-typeprint.c: Likewise.
645 * parse.c: Likewise.
646 * posix-hdep.c: Likewise.
647 * ppc-linux-nat.c: Likewise.
648 * ppc-sysv-tdep.c: Likewise.
649 * ppcfbsd-tdep.c: Likewise.
650 * ppcnbsd-tdep.c: Likewise.
651 * ppcobsd-tdep.c: Likewise.
652 * printcmd.c: Likewise.
653 * procfs.c: Likewise.
654 * prologue-value.c: Likewise.
655 * python/py-auto-load.c: Likewise.
656 * python/py-gdb-readline.c: Likewise.
657 * ravenscar-thread.c: Likewise.
658 * regcache.c: Likewise.
659 * registry.c: Likewise.
660 * remote-fileio.c: Likewise.
661 * remote-m32r-sdi.c: Likewise.
662 * remote-mips.c: Likewise.
663 * remote-notif.c: Likewise.
664 * remote-sim.c: Likewise.
665 * remote.c: Likewise.
666 * reverse.c: Likewise.
667 * rs6000-aix-tdep.c: Likewise.
668 * ser-base.c: Likewise.
669 * ser-go32.c: Likewise.
670 * ser-mingw.c: Likewise.
671 * ser-pipe.c: Likewise.
672 * ser-tcp.c: Likewise.
673 * ser-unix.c: Likewise.
674 * serial.c: Likewise.
675 * sh-tdep.c: Likewise.
676 * sh64-tdep.c: Likewise.
677 * shnbsd-tdep.c: Likewise.
678 * skip.c: Likewise.
679 * sol-thread.c: Likewise.
680 * solib-dsbt.c: Likewise.
681 * solib-frv.c: Likewise.
682 * solib-osf.c: Likewise.
683 * solib-som.c: Likewise.
684 * solib-spu.c: Likewise.
685 * solib-target.c: Likewise.
686 * solib.c: Likewise.
687 * somread.c: Likewise.
688 * source.c: Likewise.
689 * sparc-nat.c: Likewise.
690 * sparc-sol2-tdep.c: Likewise.
691 * sparc-tdep.c: Likewise.
692 * sparc64-tdep.c: Likewise.
693 * sparc64fbsd-tdep.c: Likewise.
694 * sparc64nbsd-tdep.c: Likewise.
695 * sparcnbsd-tdep.c: Likewise.
696 * spu-linux-nat.c: Likewise.
697 * spu-multiarch.c: Likewise.
698 * spu-tdep.c: Likewise.
699 * stabsread.c: Likewise.
700 * stack.c: Likewise.
701 * std-regs.c: Likewise.
702 * symfile.c: Likewise.
703 * symmisc.c: Likewise.
704 * symtab.c: Likewise.
705 * target.c: Likewise.
706 * thread.c: Likewise.
707 * tilegx-linux-nat.c: Likewise.
708 * tilegx-tdep.c: Likewise.
709 * top.c: Likewise.
710 * tracepoint.c: Likewise.
711 * tui/tui-command.c: Likewise.
712 * tui/tui-data.c: Likewise.
713 * tui/tui-disasm.c: Likewise.
714 * tui/tui-file.c: Likewise.
715 * tui/tui-layout.c: Likewise.
716 * tui/tui-out.c: Likewise.
717 * tui/tui-regs.c: Likewise.
718 * tui/tui-source.c: Likewise.
719 * tui/tui-stack.c: Likewise.
720 * tui/tui-win.c: Likewise.
721 * tui/tui-windata.c: Likewise.
722 * tui/tui-winsource.c: Likewise.
723 * typeprint.c: Likewise.
724 * ui-file.c: Likewise.
725 * ui-out.c: Likewise.
726 * user-regs.c: Likewise.
727 * utils.c: Likewise.
728 * v850-tdep.c: Likewise.
729 * valarith.c: Likewise.
730 * valops.c: Likewise.
731 * valprint.c: Likewise.
732 * value.c: Likewise.
733 * varobj.c: Likewise.
734 * vax-tdep.c: Likewise.
735 * vaxnbsd-tdep.c: Likewise.
736 * vaxobsd-tdep.c: Likewise.
737 * windows-nat.c: Likewise.
738 * xcoffread.c: Likewise.
739 * xml-support.c: Likewise.
740 * xstormy16-tdep.c: Likewise.
741 * xtensa-linux-nat.c: Likewise.
742
dccbb609
GB
7432014-08-07 Gary Benson <gbenson@redhat.com>
744
745 * common/common-defs.h: Include gdb_assert.h.
746 * aarch64-tdep.c: Do not include gdb_assert.h.
747 * addrmap.c: Likewise.
748 * aix-thread.c: Likewise.
749 * alpha-linux-tdep.c: Likewise.
750 * alpha-mdebug-tdep.c: Likewise.
751 * alphanbsd-tdep.c: Likewise.
752 * amd64-nat.c: Likewise.
753 * amd64-tdep.c: Likewise.
754 * amd64bsd-nat.c: Likewise.
755 * amd64fbsd-nat.c: Likewise.
756 * amd64fbsd-tdep.c: Likewise.
757 * amd64nbsd-nat.c: Likewise.
758 * amd64nbsd-tdep.c: Likewise.
759 * amd64obsd-nat.c: Likewise.
760 * amd64obsd-tdep.c: Likewise.
761 * arch-utils.c: Likewise.
762 * arm-tdep.c: Likewise.
763 * armbsd-tdep.c: Likewise.
764 * auxv.c: Likewise.
765 * bcache.c: Likewise.
766 * bfin-tdep.c: Likewise.
767 * blockframe.c: Likewise.
768 * breakpoint.c: Likewise.
769 * bsd-kvm.c: Likewise.
770 * bsd-uthread.c: Likewise.
771 * buildsym.c: Likewise.
772 * c-exp.y: Likewise.
773 * c-lang.c: Likewise.
774 * charset.c: Likewise.
775 * cleanups.c: Likewise.
776 * cli-out.c: Likewise.
777 * cli/cli-decode.c: Likewise.
778 * cli/cli-dump.c: Likewise.
779 * cli/cli-logging.c: Likewise.
780 * cli/cli-script.c: Likewise.
781 * cli/cli-utils.c: Likewise.
782 * coffread.c: Likewise.
783 * common/common-utils.c: Likewise.
784 * common/queue.h: Likewise.
785 * common/signals.c: Likewise.
786 * common/vec.h: Likewise.
787 * complaints.c: Likewise.
788 * completer.c: Likewise.
789 * corelow.c: Likewise.
790 * cp-abi.c: Likewise.
791 * cp-name-parser.y: Likewise.
792 * cp-namespace.c: Likewise.
793 * cp-support.c: Likewise.
794 * cris-tdep.c: Likewise.
795 * dbxread.c: Likewise.
796 * dictionary.c: Likewise.
797 * doublest.c: Likewise.
798 * dsrec.c: Likewise.
799 * dummy-frame.c: Likewise.
800 * dwarf2-frame-tailcall.c: Likewise.
801 * dwarf2-frame.c: Likewise.
802 * dwarf2expr.c: Likewise.
803 * dwarf2loc.c: Likewise.
804 * dwarf2read.c: Likewise.
805 * eval.c: Likewise.
806 * event-loop.c: Likewise.
807 * exceptions.c: Likewise.
808 * expprint.c: Likewise.
809 * f-valprint.c: Likewise.
810 * fbsd-nat.c: Likewise.
811 * findvar.c: Likewise.
812 * frame-unwind.c: Likewise.
813 * frame.c: Likewise.
814 * frv-tdep.c: Likewise.
815 * gcore.c: Likewise.
816 * gdb-dlfcn.c: Likewise.
817 * gdb_bfd.c: Likewise.
818 * gdbarch.c: Likewise.
819 * gdbarch.sh: Likewise.
820 * gdbtypes.c: Likewise.
821 * gnu-nat.c: Likewise.
822 * gnu-v3-abi.c: Likewise.
823 * go-lang.c: Likewise.
824 * guile/scm-exception.c: Likewise.
825 * guile/scm-gsmob.c: Likewise.
826 * guile/scm-lazy-string.c: Likewise.
827 * guile/scm-math.c: Likewise.
828 * guile/scm-pretty-print.c: Likewise.
829 * guile/scm-safe-call.c: Likewise.
830 * guile/scm-utils.c: Likewise.
831 * guile/scm-value.c: Likewise.
832 * h8300-tdep.c: Likewise.
833 * hppa-hpux-nat.c: Likewise.
834 * hppa-tdep.c: Likewise.
835 * hppanbsd-tdep.c: Likewise.
836 * hppaobsd-tdep.c: Likewise.
837 * i386-darwin-nat.c: Likewise.
838 * i386-darwin-tdep.c: Likewise.
839 * i386-nto-tdep.c: Likewise.
840 * i386-tdep.c: Likewise.
841 * i386bsd-nat.c: Likewise.
842 * i386fbsd-tdep.c: Likewise.
843 * i386gnu-nat.c: Likewise.
844 * i386nbsd-tdep.c: Likewise.
845 * i386obsd-tdep.c: Likewise.
846 * i387-tdep.c: Likewise.
847 * ia64-libunwind-tdep.c: Likewise.
848 * ia64-tdep.c: Likewise.
849 * inf-ptrace.c: Likewise.
850 * inf-ttrace.c: Likewise.
851 * infcall.c: Likewise.
852 * infcmd.c: Likewise.
853 * infrun.c: Likewise.
854 * inline-frame.c: Likewise.
855 * interps.c: Likewise.
856 * jv-lang.c: Likewise.
857 * jv-typeprint.c: Likewise.
858 * linux-fork.c: Likewise.
859 * linux-nat.c: Likewise.
860 * linux-thread-db.c: Likewise.
861 * m32c-tdep.c: Likewise.
862 * m32r-linux-nat.c: Likewise.
863 * m32r-tdep.c: Likewise.
864 * m68k-tdep.c: Likewise.
865 * m68kbsd-nat.c: Likewise.
866 * m68kbsd-tdep.c: Likewise.
867 * m88k-tdep.c: Likewise.
868 * machoread.c: Likewise.
869 * macroexp.c: Likewise.
870 * macrotab.c: Likewise.
871 * maint.c: Likewise.
872 * mdebugread.c: Likewise.
873 * memory-map.c: Likewise.
874 * mep-tdep.c: Likewise.
875 * mi/mi-common.c: Likewise.
876 * microblaze-tdep.c: Likewise.
877 * mingw-hdep.c: Likewise.
878 * mips-linux-nat.c: Likewise.
879 * mips-linux-tdep.c: Likewise.
880 * mips-tdep.c: Likewise.
881 * mips64obsd-tdep.c: Likewise.
882 * mipsnbsd-tdep.c: Likewise.
883 * mn10300-linux-tdep.c: Likewise.
884 * mn10300-tdep.c: Likewise.
885 * moxie-tdep.c: Likewise.
886 * mt-tdep.c: Likewise.
887 * nat/linux-btrace.c: Likewise.
888 * nat/linux-osdata.c: Likewise.
889 * nat/linux-ptrace.c: Likewise.
890 * nat/mips-linux-watch.c: Likewise.
891 * nios2-linux-tdep.c: Likewise.
892 * nios2-tdep.c: Likewise.
893 * objc-lang.c: Likewise.
894 * objfiles.c: Likewise.
895 * obsd-nat.c: Likewise.
896 * opencl-lang.c: Likewise.
897 * osabi.c: Likewise.
898 * parse.c: Likewise.
899 * ppc-linux-nat.c: Likewise.
900 * ppc-sysv-tdep.c: Likewise.
901 * ppcfbsd-nat.c: Likewise.
902 * ppcfbsd-tdep.c: Likewise.
903 * ppcnbsd-nat.c: Likewise.
904 * ppcnbsd-tdep.c: Likewise.
905 * ppcobsd-nat.c: Likewise.
906 * ppcobsd-tdep.c: Likewise.
907 * printcmd.c: Likewise.
908 * procfs.c: Likewise.
909 * prologue-value.c: Likewise.
910 * psymtab.c: Likewise.
911 * python/py-lazy-string.c: Likewise.
912 * python/py-value.c: Likewise.
913 * regcache.c: Likewise.
914 * reggroups.c: Likewise.
915 * registry.c: Likewise.
916 * remote-sim.c: Likewise.
917 * remote.c: Likewise.
918 * rs6000-aix-tdep.c: Likewise.
919 * rs6000-tdep.c: Likewise.
920 * s390-linux-tdep.c: Likewise.
921 * score-tdep.c: Likewise.
922 * ser-base.c: Likewise.
923 * ser-mingw.c: Likewise.
924 * sh-tdep.c: Likewise.
925 * sh64-tdep.c: Likewise.
926 * solib-darwin.c: Likewise.
927 * solib-spu.c: Likewise.
928 * solib-svr4.c: Likewise.
929 * source.c: Likewise.
930 * sparc-nat.c: Likewise.
931 * sparc-sol2-tdep.c: Likewise.
932 * sparc-tdep.c: Likewise.
933 * sparc64-sol2-tdep.c: Likewise.
934 * sparc64-tdep.c: Likewise.
935 * sparc64fbsd-tdep.c: Likewise.
936 * sparc64nbsd-tdep.c: Likewise.
937 * sparc64obsd-tdep.c: Likewise.
938 * sparcnbsd-tdep.c: Likewise.
939 * sparcobsd-tdep.c: Likewise.
940 * spu-multiarch.c: Likewise.
941 * spu-tdep.c: Likewise.
942 * stabsread.c: Likewise.
943 * stack.c: Likewise.
944 * symfile.c: Likewise.
945 * symtab.c: Likewise.
946 * target-descriptions.c: Likewise.
947 * target-memory.c: Likewise.
948 * target.c: Likewise.
949 * tic6x-linux-tdep.c: Likewise.
950 * tic6x-tdep.c: Likewise.
951 * tilegx-linux-nat.c: Likewise.
952 * tilegx-tdep.c: Likewise.
953 * top.c: Likewise.
954 * tramp-frame.c: Likewise.
955 * tui/tui-out.c: Likewise.
956 * tui/tui-winsource.c: Likewise.
957 * ui-out.c: Likewise.
958 * user-regs.c: Likewise.
959 * utils.c: Likewise.
960 * v850-tdep.c: Likewise.
961 * valops.c: Likewise.
962 * value.c: Likewise.
963 * varobj.c: Likewise.
964 * vax-nat.c: Likewise.
965 * xml-syscall.c: Likewise.
966 * xml-tdesc.c: Likewise.
967 * xstormy16-tdep.c: Likewise.
968 * xtensa-linux-nat.c: Likewise.
969 * xtensa-tdep.c: Likewise.
970
e76df0d0
GB
9712014-08-07 Gary Benson <gbenson@redhat.com>
972
973 * common/common-defs.h: Include common-utils.h.
974 * defs.h: Do not include common-utils.h.
975 * common/gdb_assert.h: Likewise.
976 * darwin-nat.h: Likewise.
977 * nat/linux-btrace.c: Likewise.
978 * target/waitstatus.h: Likewise.
979
4cb9c816
GB
9802014-08-07 Gary Benson <gbenson@redhat.com>
981
982 * common/common-defs.h: Include ptid.h.
983 * defs.h: Do not include ptid.h.
984 * inferior.h: Likewise.
985 * infrun.h: Likewise.
986 * nat/linux-btrace.h: Likewise.
987 * nat/linux-osdata.h: Likewise.
988 * target/waitstatus.h: Likewise.
989
3995eeee
GB
9902014-08-07 Gary Benson <gbenson@redhat.com>
991
992 * common/common-defs.h: Include gdb_locale.h.
993 * defs.h: Do not include gdb_locale.h.
994
cb9f1a9b
GB
9952014-08-07 Gary Benson <gbenson@redhat.com>
996
997 * common/common-defs.h: Include gdb/signals.h.
998 * defs.h: Do not include gdb/signals.h.
999
a5fceff8
GB
10002014-08-07 Gary Benson <gbenson@redhat.com>
1001
1002 * common/common-defs.h: Include pathmax.h.
1003 * defs.h: Do not include pathmax.h.
1004
b9391142
GB
10052014-08-07 Gary Benson <gbenson@redhat.com>
1006
1007 * common/common-defs.h: Include libiberty.h.
1008 * defs.h: Do not include libiberty.h.
1009 * common/queue.h: Likewise.
1010 * cp-name-parser.y: Likewise.
1011 * mi/mi-cmd-catch.c: Likewise.
1012 * python/python.c: Likewise.
1013
0e443c87
GB
10142014-08-07 Gary Benson <gbenson@redhat.com>
1015
1016 * common/common-defs.h: Include ansidecl.h.
1017 * defs.h: Do not include ansidecl.h.
1018 * common/buffer.h: Likewise.
1019 * common/common-utils.h: Likewise.
1020
8ebb3f56
GB
10212014-08-07 Gary Benson <gbenson@redhat.com>
1022
1023 * common/common-defs.h: Include stddef.h.
1024 * defs.h: Do not include stddef.h.
1025 * common/common-utils.h: Likewise.
1026 * amd64fbsd-nat.c: Likewise.
1027 * bcache.c: Likewise.
1028 * charset.c: Likewise.
1029 * common/buffer.h: Likewise.
1030 * common/vec.h: Likewise.
1031 * i386bsd-nat.c: Likewise.
1032 * nat/linux-btrace.h: Likewise.
1033 * ppcfbsd-nat.c: Likewise.
1034 * ppcnbsd-tdep.h: Likewise.
1035 * ppcobsd-nat.c: Likewise.
1036 * ppcobsd-tdep.h: Likewise.
1037 * python/py-gdb-readline.c: Likewise.
1038
8980bdf6
GB
10392014-08-07 Gary Benson <gbenson@redhat.com>
1040
1041 * common/common-defs.h: Include stdarg.h.
1042 * defs.h: Do not include stdarg.h.
1043 * ada-lang.c: Likewise.
1044 * common/common-utils.h: Likewise.
1045 * guile/scm-string.c: Likewise.
1046 * guile/scm-utils.c: Likewise.
1047 * m32c-tdep.c: Likewise.
1048
d7096f71
GB
10492014-08-07 Gary Benson <gbenson@redhat.com>
1050
1051 * common/common-defs.h: Include stdlib.h.
1052 * defs.h: Do not include stdlib.h.
1053 * addrmap.c: Likewise.
1054 * bcache.c: Likewise.
1055 * common/buffer.c: Likewise.
1056 * common/common-utils.c: Likewise.
1057 * cp-name-parser.y: Likewise.
1058 * go32-nat.c: Likewise.
1059 * mn10300-linux-tdep.c: Likewise.
1060 * nat/linux-osdata.c: Likewise.
1061 * tui/tui.c: Likewise.
1062 * windows-nat.c: Likewise.
1063
d02f550d
GB
10642014-08-07 Gary Benson <gbenson@redhat.com>
1065
1066 * common/common-defs.h: Include stdio.h.
1067 * defs.h: Do not include stdio.h.
1068 * ada-lang.c: Likewise.
1069 * common/buffer.c: Likewise.
1070 * common/common-utils.c: Likewise.
1071 * cp-name-parser.y: Likewise.
1072 * gnu-nat.c: Likewise.
1073 * go32-nat.c: Likewise.
1074 * i386gnu-nat.c: Likewise.
1075 * proc-api.c: Likewise.
1076 * proc-events.c: Likewise.
1077 * proc-flags.c: Likewise.
1078 * proc-why.c: Likewise.
1079 * python/python-internal.h: Likewise.
1080 * target-memory.c: Likewise.
1081 * tui/tui-io.c: Likewise.
1082 * tui/tui.c: Likewise.
1083
b6d7a4bf
SM
10842014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1085
1086 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1087 (scan_dyntag_auxv): Same.
1088
af19829b
YQ
10892014-08-06 Yao Qi <yao@codesourcery.com>
1090
1091 * amd64-linux-nat.c: Remove duplicated include
1092 "x86-linux-nat.h".
1093 * i386-linux-nat.c: Likewise.
1094
8e07a239
YQ
10952014-08-06 Yao Qi <yao@codesourcery.com>
1096
1097 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1098 operand" with "Special opcode" in comments.
1099
7bfe8241
GB
11002014-08-05 Gary Benson <gbenson@redhat.com>
1101
1102 * interps.c (initialize_interps): Remove prototype.
1103 (interpreter_initialized): Remove static global.
1104 (interp_add): Do not call initialize_interps.
1105 (initialize_interps): Remove function.
1106
d6c95504
GB
11072014-08-05 Gary Benson <gbenson@redhat.com>
1108
1109 * utils.c (vwarning): Remove spurious va_end.
1110
241fd515
AM
11112014-08-05 Alan Modra <amodra@gmail.com>
1112
1113 * charset.c (convert_between_encodings): Cast result of obstack_base.
1114 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1115 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1116 (read_unwind_info): Use size_t for some locals.
1117 * jit.c (finalize_symtab): Likewise.
1118 * utils.c (hashtab_obstack_allocate): Likewise.
1119 * symmisc.c (print_objfile_statistics): Update format strings.
1120
dc304a94
JK
11212014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1122
1123 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1124 (Changes in GDB 7.8): ... here.
1125
3cecbbbe
TT
11262014-08-04 Tom Tromey <tromey@redhat.com>
1127
1128 * target.c (set_targetdebug): New function.
1129 (initialize_targets): Pass set_targetdebug when creating "set
1130 debug target".
1131
6908c509
JB
11322014-08-01 Joel Brobecker <brobecker@adacore.com>
1133
1134 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1135 if detecting a variable-sized field that is not the last field.
1136 Fix struct type length computation.
1137
53e8f97d
JB
11382014-08-01 Joel Brobecker <brobecker@adacore.com>
1139
1140 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1141 Add debug trace.
1142
e068c55d
JB
11432014-08-01 Joel Brobecker <brobecker@adacore.com>
1144
1145 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1146 Remove "+ 8" offset in computation of CHAIN_VMA.
1147
4d4ca2a1
DE
11482014-07-31 Doug Evans <dje@google.com>
1149
1150 * inflow.c (child_terminal_inferior): Add comment.
1151 (child_terminal_ours_for_output): Add comment.
1152 (child_terminal_ours): Add comment.
1153 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1154 (linux_nat_terminal_ours): Add comment.
1155
462f517e
GB
11562014-07-31 Gary Benson <gbenson@redhat.com>
1157
1158 * common/btrace-common.h: Do not include defs.h or server.h.
1159 * nat/mips-linux-watch.h: Likewise.
1160 * gdb-dlfcn.h: Do not include defs.h.
1161 * tracefile.h: Likewise.
1162
74228e77
RM
11632014-07-30 Roland McGrath <mcgrathr@google.com>
1164
1165 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1166
014f9477
TT
11672014-07-30 Tom Tromey <tromey@redhat.com>
1168
1169 * bsd-kvm.c (bsd_kvm_open): Constify.
1170 * corelow.c (core_open): Constify.
1171 * ctf.c (ctf_open): Constify.
1172 * dbug-rom.c (dbug_open): Constify.
1173 * exec.c (exec_open): Constify.
1174 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1175 * microblaze-rom.c (picobug_open): Constify.
1176 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1177 Constify.
1178 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1179 * record-btrace.c (record_btrace_open): Constify.
1180 * record-full.c (record_full_core_open_1, record_full_open_1)
1181 (record_full_open): Constify.
1182 * remote-m32r-sdi.c (m32r_open): Constify.
1183 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1184 (rockhopper_open, lsi_open): Constify.
1185 * remote-sim.c (gdbsim_open): Constify.
1186 * remote.c (remote_open, extended_remote_open, remote_open_1):
1187 Constify.
1188 * target.h (struct target_ops) <to_open>: Make "arg" const.
1189 * tracefile-tfile.c (tfile_open): Constify.
1190
e799154c
TT
11912014-07-30 Tom Tromey <tromey@redhat.com>
1192
1193 * breakpoint.c (map_breakpoint_numbers): Update.
1194 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1195 (get_number_const): New function.
1196 (get_number): Rewrite using get_number_const.
1197 (init_number_or_range): Make "string" const.
1198 (number_is_in_list): Make "list" const.
1199 * cli/cli-utils.h (get_number_const): Declare.
1200 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1201 (init_number_or_range, number_is_in_list): Update.
1202 * printcmd.c (map_display_numbers): Update.
1203 * value.c (value_from_history_ref): Constify.
1204 * value.h (value_from_history_ref): Update.
1205
5f08566b
TT
12062014-07-30 Tom Tromey <tromey@redhat.com>
1207
1208 * corefile.c (hook_type, call_extra_exec_file_hooks)
1209 (specify_exec_file_hook): Constify.
1210 * exec.c (exec_file_attach): Make "filename" const.
1211 * gdbcore.h (deprecated_exec_file_display_hook)
1212 (specify_exec_file_hook, exec_file_attach): Constify.
1213 * main.c (captured_main): Use catch_command_errors_const.
1214
8981c758
TT
12152014-07-30 Tom Tromey <tromey@redhat.com>
1216
1217 * target.c (open_target): New function.
1218 (add_target_with_completer, add_deprecated_target_alias): Use
1219 set_cmd_sfunc, set_cmd_context.
1220 (debug_to_open): Remove.
1221 (setup_target_debug): Update.
1222
a1c7835a
YQ
12232014-07-30 Yao Qi <yao@codesourcery.com>
1224
1225 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1226 comments.
1227 * parse.c (exp_iterate): Update comments.
1228
976411d6
GB
12292014-07-30 Gary Benson <gbenson@redhat.com>
1230
1231 * common/common-defs.h: New file.
1232 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1233 * defs.h: Include common-defs.h.
1234 Do not include config.h or build-gnulib/config.h.
1235
5d4848a4
GB
12362014-07-30 Gary Benson <gbenson@redhat.com>
1237
1238 * common/common-utils.h: Do not include config.h.
1239 * nat/linux-btrace.h: Likewise.
1240
d41f6d8e
GB
12412014-07-30 Gary Benson <gbenson@redhat.com>
1242
1243 * btrace.c: Include defs.h.
1244 * common/ptid.c: Include defs.h or server.h as appropriate.
1245 * nat/mips-linux-watch.c: Likewise.
1246
84202f9c
TT
12472014-07-29 Tom Tromey <tromey@redhat.com>
1248
1249 * target.c (target_is_pushed): Simplify.
1250
2530441c
JB
12512014-07-29 Joel Brobecker <brobecker@adacore.com>
1252
1253 GDB 7.8 released.
1254
7e09a223
YQ
12552014-07-29 Yao Qi <yao@codesourcery.com>
1256
1257 PR gdb/17206
1258 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1259
7ebdbe92
DE
12602014-07-28 Doug Evans <xdje42@gmail.com>
1261
1262 PR guile/17203
1263 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1264 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1265 parameters.
1266
f347ffc9
WN
12672014-07-28 Will Newton <will.newton@linaro.org>
1268
1269 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1270 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1271 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1272 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1273 (THUMB2_EABI_SYSCALL): Likewise.
1274 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1275 struct tramp_frame.
1276 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1277 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1278
37c5f1f7
DE
12792014-07-27 Doug Evans <xdje42@gmail.com>
1280
1281 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1282
0c3abbc7
DE
12832014-07-27 Doug Evans <xdje42@gmail.com>
1284
1285 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1286
e76c5d17
DE
12872014-07-26 Ludovic Courtès <ludo@gnu.org>
1288 Doug Evans <xdje42@gmail.com>
1289
1290 PR guile/17146
1291 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1292 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1293 * configure.ac: Try to use guild to compile an scm file, if it fails
1294 then disable guile support.
1295 * configure: Regenerate.
1296 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1297 GUILE_FILE_LIST.
1298 (GUILE_COMPILED_FILES): New variable.
1299 (GUILE_FILES) Update.
1300 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1301 (stamp-guile): Compile scm files.
1302 * guile/guile.c (boot_guile_support): New function.
1303 (standard_throw_args_p): New function.
1304 (print_standard_throw_error, print_throw_error): New functions.
1305 (handle_boot_error): New function.
1306 (initialize_scheme_side): Rewrite to call boot_guile_support.
1307 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1308 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1309
186fcde0
DE
13102014-07-26 Ludovic Courtès <ludo@gnu.org>
1311 Doug Evans <xdje42@gmail.com>
1312
1313 PR guile/17146
1314 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1315 * guile/lib/gdb/support.scm: New file.
1316 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1317 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1318 All uses updated.
1319 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1320 All uses updated.
1321 (%assert-type): Ditto, and renamed to assert-type.
1322 (%exception-print-style): Delete.
1323
4df42755
DE
13242014-07-26 Doug Evans <xdje42@gmail.com>
1325
1326 PR build/17105
1327 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1328 * configure: Regenerate.
1329 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1330 PYTHON_FILES.
1331 (PYTHON_FILES): New variable.
1332 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1333 (GUILE_FILES): New variable.
1334 (stamp-python, install-python, uninstall-python): Handle empty
1335 file list.
1336 (stamp-guile, install-guile, uninstall-guile): Ditto.
1337
ee7333ae
DE
13382014-07-26 Doug Evans <xdje42@gmail.com>
1339
1340 PR guile/17177
1341 * guile/lib/gdb.scm (pretty-printers): Export.
1342 (set-pretty-printers!): Export.
1343 * guile/lib/gdb/printing.scm (gdb module): Update.
1344 (prepend-pretty-printer!, append-pretty-printer!): Update.
1345 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1346 (pretty_printer_list_var): Delete.
1347 (pretty_printer_list): New static global.
1348 (gdbscm_pretty_printers): New function.
1349 (gdbscm_set_pretty_printers_x): New function.
1350 (ppscm_find_pretty_printer_from_gdb): Update.
1351 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1352 (gdbscm_initialize_pretty_printers): Update.
1353
74edf516
DE
13542014-07-26 Doug Evans <xdje42@gmail.com>
1355
1356 PR 17185
1357 * configure.ac: Add check for header gc/gc.h.
1358 Add check for function setenv.
1359 * configure: Regenerate.
1360 * config.in: Regenerate.
1361 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1362
d54398a7
MR
13632014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1364
1365 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1366 variation in gdbarch matching.
1367
ab16fce8
TT
13682014-07-25 Tom Tromey <tromey@redhat.com>
1369
1370 * exec.c (using_exec_ops): Remove.
1371 (exec_close_1): Update. Remove extraneous block, reindent.
1372 (add_target_sections): Use target_is_pushed.
1373
88056fbb
PA
13742014-07-25 Pedro Alves <palves@redhat.com>
1375
1376 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1377 * monitor.c (monitor_create_inferior): Likewise.
1378 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1379 * remote-sim.c (gdbsim_create_inferior): Likewise.
1380 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1381 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1382 * windows-nat.c (do_initial_windows_stuff): Likewise.
1383
70509625
PA
13842014-07-25 Pedro Alves <palves@redhat.com>
1385
1386 * NEWS: Mention signal passing and "signal" command changes.
1387 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1388 comment.
1389 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1390 call.
1391 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1392 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1393 (jump_command): Adjust clear_proceed_status call.
1394 (signal_command): Warn if other thread that are resumed have
1395 signals that will be delivered. Adjust clear_proceed_status call.
1396 (until_next_command, finish_command)
1397 (proceed_after_attach_callback, attach_command_post_wait)
1398 (attach_command): Adjust clear_proceed_status call.
1399 * infrun.c (proceed_after_vfork_done): Likewise.
1400 (proceed_after_attach_callback): Adjust comment.
1401 (clear_proceed_status_thread): Clear stop_signal if not in pass
1402 state.
1403 (clear_proceed_status_callback): Delete.
1404 (clear_proceed_status): New 'step' parameter. Only clear the
1405 proceed status of threads the command being prepared is about to
1406 resume.
1407 (proceed): If passed in an explicit signal, override stop_signal
1408 with it. Don't pass the last stop signal to the thread we're
1409 resuming.
1410 (init_wait_for_inferior): Adjust clear_proceed_status call.
1411 (switch_back_to_stepped_thread): Clear the signal if it should not
1412 be passed.
1413 * infrun.h (clear_proceed_status): New 'step' parameter.
1414 (user_visible_resume_ptid): Add comment.
1415 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1416 signal is in pass state.
1417 * remote.c (append_pending_thread_resumptions): Likewise.
1418 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1419
d8be2939
TT
14202014-07-25 Tom Tromey <tromey@redhat.com>
1421
1422 * target.h (target_stopped_data_address)
1423 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1424 parentheses.
1425
7d0d9d2b
PL
14262014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1427
1428 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1429 comments.
1430 (avr_pointer_to_address): Likewise.
1431
e9e7f724
TT
14322014-07-24 Tom Tromey <tromey@redhat.com>
1433
1434 * monitor.c (compile_pattern): Update.
1435 * target.h (struct target_ops) <to_shortname, to_longname,
1436 to_doc>: Now const.
1437
1947513d
TT
14382014-07-24 Tom Tromey <tromey@redhat.com>
1439
1440 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1441 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1442 (add_info_alias, add_com): Make "doc" const.
1443 (print_doc_line): Make "str" const.
1444 (delete_cmd): Update.
1445 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1446 (print_doc_line): Update.
1447 * cli/cli-script.c (document_command): Update.
1448 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1449 (add_com, add_info, add_info_alias): Update.
1450 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1451 * python/py-cmd.c (cmdpy_destroyer): Update.
1452
64e61d29
TT
14532014-07-24 Tom Tromey <tromey@redhat.com>
1454
1455 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1456 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1457 (help_cmd_list): Constify.
1458 (lookup_cmd): Update.
1459 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1460 const.
1461 (help_cmd_list, apropos_cmd): Update.
1462 * cli/cli-script.c (show_user): Update.
1463 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1464 * cli/cli-setshow.h (cmd_show_list): Update.
1465 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1466 (cmd_show_list): Update.
1467 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1468 * python/py-cmd.c (cmdpy_destroyer): Update.
1469
429e55ea
TT
14702014-07-24 Tom Tromey <tromey@redhat.com>
1471
1472 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1473 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1474 const.
1475 * command.h (deprecate_cmd): Update.
1476 * maint.c (maintenance_do_deprecate): Add casts.
1477
64669f3b
TT
14782014-07-24 Tom Tromey <tromey@redhat.com>
1479
1480 * cli/cli-decode.c (help_cmd): Make parameter "const".
1481 * cli/cli-decode.h (help_cmd): Update.
1482
d3d3328b
TT
14832014-07-24 Tom Tromey <tromey@redhat.com>
1484
1485 * stack.c (up_silently_base, down_silently_base): Make argument
1486 const.
1487
414842dc
TT
14882014-07-24 Tom Tromey <tromey@redhat.com>
1489
1490 * solib.c (solib_add): Make "pattern" const.
1491 * solib.h (solib_add): Update.
1492
baa336ce
TT
14932014-07-24 Tom Tromey <tromey@redhat.com>
1494
1495 * remote.c (remote_serial_open, print_packet, putpkt)
1496 (putpkt_binary): Constify.
1497 * remote.h (putpkt): Update.
1498
5a19e2d0
TT
14992014-07-24 Tom Tromey <tromey@redhat.com>
1500
1501 * monitor.c (monitor_open): Make "args" const.
1502 * monitor.h (monitor_open): Update.
1503
fc4baa5e
TT
15042014-07-24 Tom Tromey <tromey@redhat.com>
1505
1506 * maint.c (match_bfd_flags): Make "string" const.
1507 (print_bfd_section_info): Remove casts.
1508 (print_objfile_section_info): Make "string" const.
1509
0d5f0dbe
TT
15102014-07-24 Tom Tromey <tromey@redhat.com>
1511
1512 * inf-child.c (inf_child_open_target): Make "arg" const.
1513 * inf-child.h (inf_child_open_target): Update.
1514
41c77899
TT
15152014-07-24 Tom Tromey <tromey@redhat.com>
1516
1517 * environ.c (unset_in_environ): Make "var" const.
1518 * environ.h (unset_in_environ): Update.
1519
93db0d79
TT
15202014-07-24 Tom Tromey <tromey@redhat.com>
1521
1522 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1523 Make "cmd" const.
1524 (scan_filename_with_cleanup): Likewise.
1525 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1526 Make arguments const.
1527 (restore_command): Update.
1528
36d6eb95
PA
15292014-07-24 Pedro Alves <palves@redhat.com>
1530
1531 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1532
8009206a
TT
15332014-07-24 Tom Tromey <tromey@redhat.com>
1534 Gary Benson <gbenson@redhat.com>
1535
1536 * nat/linux-ptrace.c (additional_flags): New global.
1537 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1538 additional_flags; don't check GDBSERVER.
1539 (linux_ptrace_set_additional_flags): New function.
1540 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1541 Declare.
1542 * linux-nat.c (_initialize_linux_nat): Call
1543 linux_ptrace_set_additional_flags.
1544
a7068b60
TT
15452014-07-24 Tom Tromey <tromey@redhat.com>
1546
1547 * make-target-delegates (munge_type, write_debugmethod): New
1548 functions.
1549 (debug_names): New global.
1550 ($TARGET_DEBUG_PRINTER): New global.
1551 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1552 name.
1553 Write debug methods. Generate init_debug_target.
1554 * target-debug.h: New file.
1555 * target-delegates.c: Rebuild.
1556 * target.c: Include target-debug.h.
1557 (debug_target): Hoist definition.
1558 (target_kill, target_get_section_table, target_memory_map)
1559 (target_flash_erase, target_flash_done, target_detach)
1560 (target_disconnect, target_wait, target_resume)
1561 (target_pass_signals, target_program_signals, target_follow_fork)
1562 (target_mourn_inferior, target_search_memory)
1563 (target_thread_address_space, target_close)
1564 (target_find_new_threads, target_core_of_thread)
1565 (target_verify_memory, target_insert_mask_watchpoint)
1566 (target_remove_mask_watchpoint): Remove targetdebug code.
1567 (debug_to_post_attach, debug_to_prepare_to_store)
1568 (debug_to_files_info, debug_to_insert_breakpoint)
1569 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1570 (debug_to_region_ok_for_hw_watchpoint)
1571 (debug_to_can_accel_watchpoint_condition)
1572 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1573 (debug_to_watchpoint_addr_within_range)
1574 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1575 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1576 (debug_to_terminal_init, debug_to_terminal_inferior)
1577 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1578 (debug_to_terminal_save_ours, debug_to_terminal_info)
1579 (debug_to_load, debug_to_post_startup_inferior)
1580 (debug_to_insert_fork_catchpoint)
1581 (debug_to_remove_fork_catchpoint)
1582 (debug_to_insert_vfork_catchpoint)
1583 (debug_to_remove_vfork_catchpoint)
1584 (debug_to_insert_exec_catchpoint)
1585 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1586 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1587 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1588 (setup_target_debug): Call init_debug_target.
1589 * target.h (TARGET_DEBUG_PRINTER): New macro.
1590 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1591 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1592
2c51604d
GB
15932014-07-24 Gary Benson <gbenson@redhat.com>
1594
1595 * exceptions.h (throw_vfatal): Renamed to...
1596 (throw_vquit): New declaration.
1597 (throw_quit): Likewise.
1598 * exceptions.c (throw_vfatal): Renamed to...
1599 (throw_vquit): New function.
1600 (throw_quit): Likewise.
1601 (throw_error): Call throw_verror rather than throw_it.
1602 * utils.h (vfatal): Removed.
1603 (fatal): Likewise.
1604 * utils.c (vfatal): Removed.
1605 (fatal): Likewise.
1606 (internal_verror): Replaced call to fatal with call to throw_quit.
1607 (quit): Replaced calls to fatal with calls to throw_quit.
1608
34211963
ME
16092014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1610
1611 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1612 target_read_code.
1613
a52b4d3e
ME
16142014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1615
1616 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1617 less than zero in conditional expression.
1618
a8bdc56b
TT
16192014-07-23 Tom Tromey <tromey@redhat.com>
1620
1621 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1622 ($INTRO_PART): Don't match whitespace.
1623 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1624 argument matching.
1625 ($METHOD): Add $METHOD_TRAILER.
1626 (trim): Rewrite.
1627 (scan_target_h): New sub.
1628 Change main loop not to collect state.
1629 * target-delegates.c: Rebuild.
1630
91b52240
GB
16312014-07-23 Gary Benson <gbenson@redhat.com>
1632
1633 * cp-support.c (gdb_demangle): Fix build on systems without
1634 sigaltstack.
1635
45326f6f
JK
16362014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1637
1638 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1639 for reference entry value target data value.
1640
e214cf6c
JK
16412014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1642
1643 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1644 value_available_contents_eq.
1645
bddbbedd
PA
16462014-07-22 Pedro Alves <palves@redhat.com>
1647
1648 * value.c (allocate_optimized_out_value): Don't mark value as
1649 non-lazy.
1650
45c71484
JW
16512014-07-22 Jiong Wang <jiong.wang@arm.com>
1652
1653 * MAINTAINERS (Write After Approval): Update my email address.
1654
9597b22a
DE
16552014-07-20 Doug Evans <dje@google.com>
1656
1657 PR server/17147
1658 * remote.c (putpkt_binary): Add text to error message.
1659
91101fe5
YQ
16602014-07-20 Yao Qi <yao@codesourcery.com>
1661
1662 * eval.c: Remove "Chill" from comments.
1663 * gdbtypes.h: Likewise.
1664 * symtab.h: Likewise.
1665
c9402c95
YQ
16662014-07-20 Yao Qi <yao@codesourcery.com>
1667
1668 * std-operator.def: Update comments to TERNOP_SLICE.
1669
ae8fddda
YQ
16702014-07-20 Yao Qi <yao@codesourcery.com>
1671
1672 * std-operator.def: Remove BINOP_RANGE.
1673 * breakpoint.c (watchpoint_exp_is_const): Update.
1674 * expprint.c (dump_subexp_body_standard): Likewise.
1675 * eval.c (init_array_element): Remove dead code.
1676 (evaluate_subexp_standard): Likewise.
1677
9c816640
YQ
16782014-07-20 Yao Qi <yao@codesourcery.com>
1679
1680 * std-operator.def: Remove BINOP_IN.
1681 * breakpoint.c (watchpoint_exp_is_const): Update.
1682 * eval.c (evaluate_subexp_standard): Likewise.
1683 * expprint.c (dump_subexp_body_standard): Likewise.
1684
164224e9
ME
16852014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
1686
1687 * microblaze-tdep.c (microblaze_register_names): Add
1688 the rshr and rslr register names.
1689 (microblaze_gdbarch_init): Use of tdesc_has_registers.
1690 Use of tdesc_find_feature. Use of tdesc_data_alloc.
1691 Use of tdesc_numbered_register. Use of
1692 microblaze_register_g_packet_guesses. Use of
1693 tdesc_use_registers. Use of set_gdbarch_register_type.
1694 (microblaze_register_g_packet_guesses): New.
1695 * microblaze-tdep.h (microblaze_reg_num): Add
1696 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
1697 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
1698 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
1699 * features/microblaze-core.xml: New file.
1700 * features/microblaze-stack-protect.xml: New file.
1701 * features/microblaze-with-stack-protect.c: New file.
1702 * features/microblaze-with-stack-protect.xml: New file.
1703 * features/microblaze.xml: New file.
1704 * features/microblaze.c: New file.
1705 * features/Makefile (microblaze-with-stack-protect): Add
1706 microblaze-with-stack-protect microblaze and microblaze-expedite.
1707 * regformats/microblaze-with-stack-protect.dat: New file.
1708 * regformats/microblaze.dat: New file.
1709 * doc/gdb.texinfo (MicroBlaze Features): Added.
1710
e8b2341c
TT
17112014-07-18 Tom Tromey <tromey@redhat.com>
1712
1713 * exec.c (exec_ops): Now static.
1714 * exec.h (exec_ops): Don't declare.
1715
44e89118
TT
17162014-07-18 Tom Tromey <tromey@redhat.com>
1717
1718 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
1719 to find_target_beneath.
1720 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
1721 find_target_beneath.
1722 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
1723
b0ed115f
TT
17242014-07-18 Tom Tromey <tromey@redhat.com>
1725
1726 PR gdb/17130:
1727 * utils.c (quit): Use target_supports_terminal_ours.
1728 * target.h (target_supports_terminal_ours): Declare.
1729 * target.c (target_supports_delete_record): Don't check
1730 to_delete_record against NULL.
1731 (target_supports_terminal_ours): New function.
1732
e75fdfca
TT
17332014-07-18 Tom Tromey <tromey@redhat.com>
1734
1735 PR gdb/17130:
1736 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
1737 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
1738 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
1739 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
1740 * windows-nat.c (windows_xfer_partial): Always delegate.
1741 * record-btrace.c (record_btrace_xfer_partial): Simplify
1742 delegation.
1743 (record_btrace_fetch_registers, record_btrace_store_registers)
1744 (record_btrace_prepare_to_store, record_btrace_resume)
1745 (record_btrace_wait, record_btrace_find_new_threads)
1746 (record_btrace_thread_alive): Likewise.
1747 * procfs.c (procfs_xfer_partial): Always delegate.
1748 * corelow.c (core_xfer_partial): Always delegate.
1749 * sol-thread.c (sol_find_new_threads): Simplify delegation.
1750
83814951
TT
17512014-07-18 Tom Tromey <tromey@redhat.com>
1752
1753 * exec.c (exec_make_note_section): Move earlier.
1754
b8b8facf
DE
17552014-07-17 Doug Evans <dje@google.com>
1756
74b49205 1757 PR gdb/17170
b8b8facf
DE
1758 * maint.c (count_symtabs_and_blocks): Handle NULL
1759 current_program_space.
1760 (report_command_stats): Check global enabled flag in addition to
1761 recorded enabled flag.
1762 (make_command_stats_cleanup): Handle msg_type == 0, startup.
1763
69ff6be5
PA
17642014-07-16 Pedro Alves <palves@redhat.com>
1765
1766 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
1767
252db1b5
TT
17682014-07-16 Tom Tromey <tromey@redhat.com>
1769
1770 * target.h (struct target_ops) <to_delete_record>: Reformat
1771 comment.
1772
a432721e
TT
17732014-07-16 Tom Tromey <tromey@redhat.com>
1774
1775 * target-delegates.c: Rebuild.
1776
487d9753
PL
17772014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
1778
1779 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
1780 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
1781 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
1782 (avr_pointer_to_address): Likewise.
1783 (avr_address_class_type_flags): New function.
1784 (avr_address_class_type_flags_to_name): Likewise.
1785 (avr_address_class_name_to_type_flags): Likewise.
1786 (avr_gdbarch_init): Set address_class_type_flags,
1787 address_class_type_flags_to_name and
1788 address_class_name_to_type_flags.
1789
57745c90
PA
17902014-07-15 Pedro Alves <palves@redhat.com>
1791
1792 * linux-nat.c (kill_callback): Save errno and work with saved
1793 copy.
1794
2d40be18
SM
17952014-07-15 Simon Marchi <simon.marchi@ericsson.com>
1796
1797 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
1798
572f6555
EBM
17992014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1800
1801 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
1802 breakpoint support correctly.
1803
cc1c52ad
PA
18042014-07-14 Pedro Alves <palves@redhat.com>
1805
1806 * utils.c (prompt_for_continue): Call target_terminal_ours.
1807
1e973570
PA
18082014-07-14 Pedro Alves <palves@redhat.com>
1809
1810 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
1811 catch_errors. Don't re-enable stdin or notify observers where,
1812 and rethrow error.
1813 (fetch_inferior_event_wrapper): Delete.
1814
93d6eb10
PA
18152014-07-14 Pedro Alves <palves@redhat.com>
1816
1817 PR gdb/17072
1818 * top.c: Include "inf-loop.h".
1819 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
1820 field.
1821 (gdb_readline_wrapper_cleanup): Make the target async again, if it
1822 was async before.
1823 (gdb_readline_wrapper): Store whether the target is async, and
1824 make it sync.
1825
0017922d
PA
18262014-07-14 Pedro Alves <palves@redhat.com>
1827
1828 PR gdb/17072
1829 * top.c (gdb_readline_wrapper_line): Tweak comment.
1830 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
1831 the input handler callback.
1832
94696ad3
PA
18332014-07-14 Pedro Alves <palves@redhat.com>
1834
1835 PR gdb/17072
1836 * main.c: Include event-top.h.
1837 (handle_command_errors): New function.
1838 (catch_command_errors, catch_command_errors_const): Use it.
1839
9d1e69a2
PA
18402014-07-14 Pedro Alves <palves@redhat.com>
1841
1842 * exceptions.c (catch_command_errors, catch_command_errors_const):
1843 Moved to main.c.
1844 * exceptions.h (catch_command_errors_ftype)
1845 (catch_command_errors_const_ftype): Moved to main.c.
1846 (catch_command_errors, catch_command_errors_const): Delete
1847 declarations.
1848 * main.c (catch_command_errors_ftype)
1849 (catch_command_errors_const_ftype): Moved here from exceptions.h.
1850 (catch_command_errors, catch_command_errors_const)): Moved here
1851 from exceptions.c and make static.
1852
feefc97b
PA
18532014-07-14 Pedro Alves <palves@redhat.com>
1854
1855 * exceptions.c (print_any_exception): Delete.
1856 (catch_exceptions_with_msg): Use exception_print instead of
1857 print_any_exception.
1858 (catch_errors): Use exception_fprintf instead of
1859 print_any_exception.
1860 (catch_command_errors, catch_command_errors_const): Use
1861 exception_print instead of print_any_exception.
1862
c933f875
PA
18632014-07-14 Pedro Alves <palves@redhat.com>
1864
1865 * infcall.c (run_inferior_call): Set 'sync_execution' while
1866 running the inferior call.
1867
feb6f816
PA
18682014-07-14 Pedro Alves <palves@redhat.com>
1869
1870 * value.c (value_contents_equal): Delete function.
1871 * value.h (value_contents_equal): Delete declaration.
1872
d98b7a16
TT
18732014-07-14 Tom Tromey <tromey@redhat.com>
1874
1875 PR exp/17106:
1876 * gdbtypes.c (is_dynamic_type_internal): New function, from
1877 is_dynamic_type.
1878 (is_dynamic_type): Rewrite.
1879 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
1880 (resolve_dynamic_struct): Likewise.
1881 (resolve_dynamic_type_internal): New function, from
1882 resolve_dynamic_type.
1883 (resolve_dynamic_type): Rewrite.
1884
548740d6
TT
18852014-07-14 Tom Tromey <tromey@redhat.com>
1886
1887 * target.c (target_require_runnable): Also check record_stratum.
1888 Update comment.
1889
808f7ab1
YQ
18902014-07-11 Yao Qi <yao@codesourcery.com>
1891
1892 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
1893 thumb_instruction_restores_sp return true.
1894
540314bd
YQ
18952014-07-11 Yao Qi <yao@codesourcery.com>
1896
1897 * arm-tdep.c (thumb_instruction_restores_sp): New function.
1898 (thumb_in_function_epilogue_p): Call
1899 thumb_instruction_restores_sp.
1900
1db01f22
YQ
19012014-07-11 Yao Qi <yao@codesourcery.com>
1902
1903 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
1904 'add sp, #imm'.
1905 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
1906
3116063b
GB
19072014-07-11 Gary Benson <gbenson@redhat.com>
1908
1909 * amd64-linux-nat.c (gdbcore.h): Remove include.
1910 (regset.h): Likewise.
1911 (nat/linux-btrace.h): Likewise.
1912 (btrace.h): Likewise.
1913 (gdb_assert.h): Likewise.
1914 (string.h): Likewise.
1915 (sys/uio.h): Likewise.
1916 (sys/debugreg.h): Likewise.
1917 (sys/syscall.h): Likewise.
1918 (sys/procfs.h): Likewise.
1919 (sys/user.h): Likewise.
1920 (asm/ptrace.h): Likewise.
1921 (i386-nat.h): Likewise.
1922 * i386-linux-nat.c (i386-nat.h): Likewise.
1923 (regset.h): Likewise.
1924 (target.h): Likewise.
1925 (linux-nat.h): Likewise.
1926 (nat/linux-btrace.h): Likewise.
1927 (btrace.h): Likewise.
1928 (gdb_assert.h): Likewise.
1929 (string.h): Likewise.
1930 (sys/uio.h): Likewise.
1931 (sys/user.h): Likewise.
1932 (sys/procfs.h): Likewise.
1933 (sys/reg.h): Likewise.
1934 (sys/debugreg.h): Likewise.
1935 (ORIG_EAX): Remove definition.
1936
040baaf6
GB
19372014-07-11 Gary Benson <gbenson@redhat.com>
1938
1939 * i386-linux-nat.h: New file.
1940 * x86-linux-nat.h: Likewise.
1941 * x86-linux-nat.c: Likewise.
1942 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
1943 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
1944 * config/i386/linux64.mh (NATDEPFILES): Likewise.
1945 * amd64-linux-nat.c (x86-linux-nat.h): New include.
1946 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1947 (PTRACE_SETREGSET): Likewise.
1948 (arch_lwp_info): Now in x86-linux-nat.c.
1949 (have_ptrace_getregset): Now in x86-linux-nat.h.
1950 (x86_linux_dr_get): Now in x86-linux-nat.c.
1951 (x86_linux_dr_set): Likewise.
1952 (x86_linux_dr_get_addr): Likewise.
1953 (x86_linux_dr_get_control): Likewise.
1954 (x86_linux_dr_get_status): Likewise.
1955 (update_debug_registers_callback): Likewise.
1956 (x86_linux_dr_set_control): Likewise.
1957 (x86_linux_dr_set_addr): Likewise.
1958 (x86_linux_prepare_to_resume): Likewise.
1959 (x86_linux_new_thread): Likewise.
1960 (x86_linux_new_fork): Likewise.
1961 (x86_linux_get_thread_area): Likewise.
1962 (super_post_startup_inferior): Likewise.
1963 (x86_linux_child_post_startup_inferior): Likewise.
1964 (AMD64_LINUX_USER64_CS): Likewise.
1965 (AMD64_LINUX_X32_DS): Likewise.
1966 (x86_linux_read_description): Likewise.
1967 (x86_linux_enable_btrace): Likewise.
1968 (x86_linux_disable_btrace): Likewise.
1969 (x86_linux_teardown_btrace): Likewise.
1970 (x86_linux_read_btrace): Likewise.
1971 (x86_linux_create_target): Likewise.
1972 (x86_linux_add_target): Likewise.
1973 * i386-linux-nat.c (x86-linux-nat.h): New include.
1974 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
1975 (PTRACE_SETREGSET): Likewise.
1976 (arch_lwp_info): Now in x86-linux-nat.c.
1977 (have_ptrace_getregset): Now in x86-linux-nat.h.
1978 (x86_linux_dr_get): Now in x86-linux-nat.c.
1979 (x86_linux_dr_set): Likewise.
1980 (x86_linux_dr_get_addr): Likewise.
1981 (x86_linux_dr_get_control): Likewise.
1982 (x86_linux_dr_get_status): Likewise.
1983 (update_debug_registers_callback): Likewise.
1984 (x86_linux_dr_set_control): Likewise.
1985 (x86_linux_dr_set_addr): Likewise.
1986 (x86_linux_prepare_to_resume): Likewise.
1987 (x86_linux_new_thread): Likewise.
1988 (x86_linux_new_fork): Likewise.
1989 (x86_linux_get_thread_area): Likewise.
1990 (super_post_startup_inferior): Likewise.
1991 (x86_linux_child_post_startup_inferior): Likewise.
1992 (AMD64_LINUX_USER64_CS): Likewise.
1993 (AMD64_LINUX_X32_DS): Likewise.
1994 (x86_linux_read_description): Likewise.
1995 (x86_linux_enable_btrace): Likewise.
1996 (x86_linux_disable_btrace): Likewise.
1997 (x86_linux_teardown_btrace): Likewise.
1998 (x86_linux_read_btrace): Likewise.
1999 (x86_linux_create_target): Likewise.
2000 (x86_linux_add_target): Likewise.
2001
1aa7e42c
GB
20022014-07-11 Gary Benson <gbenson@redhat.com>
2003
2004 * amd64-linux-nat.c: Comment and whitespace changes.
2005 * i386-linux-nat.c: Comment and whitespace changes.
2006
c1e246a0
GB
20072014-07-11 Gary Benson <gbenson@redhat.com>
2008
2009 * amd64-linux-nat.c (x86_linux_create_target): New function.
2010 (x86_linux_add_target): Likewise.
2011 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2012 * i386-linux-nat.c (x86_linux_create_target): New function.
2013 (x86_linux_add_target): Likewise.
2014 (_initialize_i386_linux_nat): Delegate to the above new functions.
2015
8c420b8d
GB
20162014-07-11 Gary Benson <gbenson@redhat.com>
2017
2018 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2019 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2020 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2021 (ps_get_thread_area): Delegate to the above.
2022
cb1da100
GB
20232014-07-11 Gary Benson <gbenson@redhat.com>
2024
2025 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2026 x86_linux_read_description. All uses updated. amd64-specific
2027 code conditionalized. Conditionalized i386-specific code added.
2028 Redundant cast removed.
2029 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2030 x86_linux_read_description. All uses updated. i386-specific
2031 code conditionalized. Conditionalized amd64-specific code added.
2032 One sizeof replaced with the actual type it is describing.
2033
2acf3cd0
GB
20342014-07-11 Gary Benson <gbenson@redhat.com>
2035
2036 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2037 x86_linux_dr_get. All uses updated.
2038 (amd64_linux_dr_set): Renamed to
2039 x86_linux_dr_set. All uses updated.
2040 (amd64_linux_dr_get_addr): Renamed to
2041 x86_linux_dr_get_addr. All uses updated.
2042 (amd64_linux_dr_get_control): Renamed to
2043 x86_linux_dr_get_control. All uses updated.
2044 (amd64_linux_dr_get_status): Renamed to
2045 x86_linux_dr_get_status. All uses updated.
2046 (amd64_linux_dr_set_control): Renamed to
2047 x86_linux_dr_set_control. All uses updated.
2048 (amd64_linux_dr_set_addr): Renamed to
2049 x86_linux_dr_set_addr. All uses updated.
2050 (amd64_linux_prepare_to_resume): Renamed to
2051 x86_linux_prepare_to_resume. All uses updated.
2052 (amd64_linux_new_thread): Renamed to
2053 x86_linux_new_thread. All uses updated.
2054 (amd64_linux_new_fork): Renamed to
2055 x86_linux_new_fork. All uses updated.
2056 (amd64_linux_child_post_startup_inferior): Renamed to
2057 x86_linux_child_post_startup_inferior. All uses updated.
2058 (amd64_linux_enable_btrace): Renamed to
2059 x86_linux_enable_btrace. All uses updated.
2060 (amd64_linux_disable_btrace): Renamed to
2061 x86_linux_disable_btrace. All uses updated.
2062 (amd64_linux_teardown_btrace): Renamed to
2063 x86_linux_teardown_btrace. All uses updated.
2064 (amd64_linux_read_btrace): Renamed to
2065 x86_linux_read_btrace. All uses updated.
2066 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2067 x86_linux_dr_get. All uses updated.
2068 (i386_linux_dr_set): Renamed to
2069 x86_linux_dr_set. All uses updated.
2070 (i386_linux_dr_get_addr): Renamed to
2071 x86_linux_dr_get_addr. All uses updated.
2072 (i386_linux_dr_get_control): Renamed to
2073 x86_linux_dr_get_control. All uses updated.
2074 (i386_linux_dr_get_status): Renamed to
2075 x86_linux_dr_get_status. All uses updated.
2076 (i386_linux_dr_set_control): Renamed to
2077 x86_linux_dr_set_control. All uses updated.
2078 (i386_linux_dr_set_addr): Renamed to
2079 x86_linux_dr_set_addr. All uses updated.
2080 (i386_linux_prepare_to_resume): Renamed to
2081 x86_linux_prepare_to_resume. All uses updated.
2082 (i386_linux_new_thread): Renamed to
2083 x86_linux_new_thread. All uses updated.
2084 (i386_linux_new_fork): Renamed to
2085 x86_linux_new_fork. All uses updated.
2086 (i386_linux_child_post_startup_inferior): Renamed to
2087 x86_linux_child_post_startup_inferior. All uses updated.
2088 (i386_linux_enable_btrace): Renamed to
2089 x86_linux_enable_btrace. All uses updated.
2090 (i386_linux_disable_btrace): Renamed to
2091 x86_linux_disable_btrace. All uses updated.
2092 (i386_linux_teardown_btrace): Renamed to
2093 x86_linux_teardown_btrace. All uses updated.
2094 (i386_linux_read_btrace): Renamed to
2095 x86_linux_read_btrace. All uses updated.
2096
b9c1d481
AS
20972014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2098
2099 * remote.c (extended_remote_post_attach): New function.
2100 (init_extended_remote_ops): Install it as to_post_attach method.
2101
7180e04a
PA
21022014-07-09 Pedro Alves <palves@redhat.com>
2103
2104 * infcmd.c (attach_command_post_wait): Don't call
2105 target_terminal_inferior here.
2106 (attach_command): Call it here instead.
2107
9a9a7608
AB
21082014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2109
2110 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2111 field.
2112 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2113 from varobj.c, with additional checks.
2114 (c_varobj_ops): Fill in is_path_expr_parent field.
2115 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2116 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2117 field.
2118 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2119 ops method.
2120 (varobj_default_is_path_expr_parent): New function.
2121 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2122 (varobj_default_is_path_expr_parent): Declare new function.
2123
1f267ae3
MM
21242014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2125
2126 * infcmd.c (finish_backward): Turn internal error into normal error.
2127
b2ee242b
PA
21282014-07-07 Pedro Alves <palves@redhat.com>
2129
8a869bca 2130 PR gdb/17096
b2ee242b
PA
2131 * remote.c (async_handle_remote_sigint)
2132 (async_handle_remote_sigint_twice): Call
2133 gdb_call_async_signal_handler instead of
2134 mark_async_signal_handler.
2135
38e229b2
TT
21362014-07-07 Tom Tromey <tromey@redhat.com>
2137
2138 * target-delegates.c: Rebuild.
2139 * target.c (target_info_record): Remove.
2140 * record.c (info_record_command): Unconditionally call
2141 to_info_record.
2142 * target.h (struct target_ops) <to_info_record>: Use
2143 TARGET_DEFAULT_IGNORE.
2144 (target_info_record): Remove.
2145
f0f9ff95
TT
21462014-07-07 Tom Tromey <tromey@redhat.com>
2147
2148 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2149 TARGET_DEFAULT_NORETURN.
2150 * target.c (generic_tls_error): New function.
2151 (target_translate_tls_address): Don't search target stack.
2152 * target-delegates.c: Rebuild.
2153 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2154 stack.
2155 * linux-thread-db.c (thread_db_get_thread_local_address):
2156 Unconditionally call beneath target.
2157
4a5be5ee
MK
21582014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2159
2160 * cli/cli-logging.c (pop_output_files): Assign targerr to
2161 gdb_stdtargerr.
2162
92c3b204
AB
21632014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2164
2165 * MAINTAINERS (Write After Approval): Update my email address.
2166
9b11e3a7
GB
21672014-07-02 Gary Benson <gbenson@redhat.com>
2168
2169 * proc-service.c (ps_xfer_memory): Update comment.
2170 (ps_pstop): Remove unused function.
2171 (ps_pcontinue): Likewise.
2172 (ps_lstop): Likewise.
2173 (ps_lcontinue): Likewise.
2174 (ps_lgetxregsize): Likewise.
2175 (ps_lgetxregs): Likewise.
2176 (ps_lsetxregs): Likewise.
2177 (ps_plog): Likewise.
2178 (ps_ptread): Likewise.
2179 (ps_ptwrite): Likewise.
2180
cf363f18
MW
21812014-07-01 Mark Wielaard <mjw@redhat.com>
2182
2183 * dwarf2read.c (add_array_cv_type): New function.
2184 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2185 (read_tag_volatile_type): Likewise.
2186
82ae6c8d
TT
21872014-07-01 Tom Tromey <tromey@redhat.com>
2188
2189 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2190 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2191 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2192 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2193 * command.h (cmd_cfunc_ftype): Move earlier.
2194 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2195 (add_com, add_info): Use cmd_cfunc_ftype.
2196
96142726
TT
21972014-06-30 Tom Tromey <tromey@redhat.com>
2198
2199 * symtab.c (operator_chars): Make parameters and return type
2200 const.
2201 (file_matches): Make "files" const.
2202 (struct search_symbols_data) <files>: Now const.
2203 (search_symbols): Make "regexp" and "files" parameters const.
2204 Update.
2205 (symtab_symbol_info): Remove cast.
2206 (rbreak_command): Update.
2207 * symtab.h (search_symbols): Update.
2208
b67a2c6f
YQ
22092014-06-27 Yao Qi <yao@codesourcery.com>
2210
2211 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2212 Change parameter type to 'struct thread_info *'. Caller
2213 updated.
2214 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2215 Update declaration.
2216 * dummy-frame.c (struct dummy_frame_id): New.
2217 (dummy_frame_id_eq): New function.
2218 (struct dummy_frame) <id>: Change its type to 'struct
2219 dummy_frame_id'.
2220 (dummy_frame_push): Add parameter ptid and save it in
2221 dummy_frame_id.
2222 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2223 inferior_ptid.
2224 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2225 to inferior_ptid.
2226 (lookup_dummy_frame): Change parameter type to 'struct
2227 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2228 instead of frame_id_eq.
2229 (dummy_frame_pop): Add parameter ptid. Callers updated.
2230 Update comments. Compose dummy_frame_id and pass it to
2231 lookup_dummy_frame.
2232 (dummy_frame_discard): Add parameter ptid.
2233 (dummy_frame_sniffer): Compose dummy_frame_id and call
2234 dummy_frame_id_eq instead of frame_id_eq.
2235 (fprint_dummy_frames): Print ptid.
2236 * dummy-frame.h: Remove comments.
2237 (dummy_frame_push): Add ptid in declaration.
2238 (dummy_frame_pop, dummy_frame_discard): Likewise.
2239
5b10184c
TT
22402014-06-26 Tom Tromey <tromey@redhat.com>
2241
2242 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2243 * command.h (error_no_arg): Update.
2244
06900326
TT
22452014-06-26 Tom Tromey <tromey@redhat.com>
2246
2247 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2248 (do_show_command): Make "arg" const.
2249 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2250
c2bcbb1d
TT
22512014-06-26 Tom Tromey <tromey@redhat.com>
2252
2253 * record-full.c (record_full_get_bookmark): Make "args" const.
2254 (record_full_goto_bookmark): Make "raw_bookmark" const.
2255 * record.c (record_goto): New function.
2256 (cmd_record_goto): Use it. Now static.
2257 * record.h (record_goto): Declare.
2258 (cmd_record_goto): Remove declaration.
2259 * target-delegates.c: Rebuild.
2260 * target.h (struct target_ops) <to_get_bookmark,
2261 to_goto_bookmark>: Make parameter const.
2262
9cbe5fff
TT
22632014-06-26 Tom Tromey <tromey@redhat.com>
2264
2265 * defs.h (generic_load): Update.
2266 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2267 * monitor.c (monitor_load): Make "args" const.
2268 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2269 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2270 const.
2271 (mips_load): Make "file" const.
2272 * remote-sim.c (gdbsim_load): Make "args" const.
2273 * remote.c (remote_load): Make "name" const.
2274 * symfile.c (generic_load): Make "args" const.
2275 * target-delegates.c: Rebuild.
2276 * target.c (target_load): Make "arg" const.
2277 (debug_to_load): Make "args" const.
2278 * target.h (struct target_ops) <to_load>: Make parameter const.
2279 (target_load): Update.
2280
34a68019
TT
22812014-06-26 Tom Tromey <tromey@redhat.com>
2282
2283 PR symtab/16902:
2284 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2285 (dwarf2_physname, read_partial_die)
2286 (guess_partial_die_structure_name, fixup_partial_die)
2287 (guess_full_die_structure_name, anonymous_struct_prefix)
2288 (dwarf2_name): Use per-BFD obstack.
2289
efc889c1
YQ
22902014-06-26 Yao Qi <yao@codesourcery.com>
2291
2292 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2293 dummyframe and this_id into inner block below.
2294
4395285e
YQ
22952014-06-26 Yao Qi <yao@codesourcery.com>
2296
2297 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2298 with "signal_pass[0]" in the initialization of signal_pass.
2299
aef92902
MM
23002014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2301
2302 * record-btrace.c (record_btrace_generating_corefile)
2303 (record_btrace_prepare_to_generate_core)
2304 (record_btrace_done_generating_core): New.
2305 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2306 (record_btrace_store_registers, record_btrace_prepare_to_store):
2307 Forward request when generating a core file.
2308 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2309 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2310 to_done_generating_core.
2311
5fff78c4
MM
23122014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2313
2314 * target.h (target_ops) <to_prepare_to_generate_core>
2315 <to_done_generating_core>: New.
2316 (target_prepare_to_generate_core, target_done_generating_core): New.
2317 * target.c (target_prepare_to_generate_core)
2318 (target_done_generating_core): New.
2319 * target-delegates.c: Regenerate.
2320 * gcore.c: (write_gcore_file): Rename to ...
2321 (write_gcore_file_1): ...this.
2322 (write_gcore_file): Call target_prepare_to_generate_core
2323 and target_done_generating_core.
2324
1d1f1ccb
MM
23252014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2326
2327 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2328 * gcore.c (write_gcore_file): Free memory returned from
2329 make_corefile_notes.
2330 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2331 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2332
3343ef86
YQ
23332014-06-24 Yao Qi <yao@codesourcery.com>
2334
2335 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2336 (arm_linux_init_abi): Set skip_trampoline_code with
2337 gdbarch_skip_trampoline_code instead of
2338 find_solib_trampoline_target.
2339
18d18ac8
YQ
23402014-06-24 Yao Qi <yao@codesourcery.com>
2341
2342 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2343 arm_skip_bx_reg returns non-zero.
2344
80d8d390
YQ
23452014-06-24 Yao Qi <yao@codesourcery.com>
2346
2347 * arm-tdep.c (arm_skip_bx_reg): New function.
2348 (arm_skip_stub): Call arm_skip_bx_reg.
2349
6a18a01c
DB
23502014-06-23 Don Breazeal <donb@codesourcery.com>
2351
2352 * MAINTAINERS: Add myself as write-after-approval maintainer.
2353
8e9db26e
PA
23542014-06-23 Pedro Alves <palves@redhat.com>
2355
2356 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2357 DR_CONTROL before setting DR0..DR3.
2358 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2359 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2360 bits of DR_CONTROL related to the debug register slot being
2361 disabled. If all slots are vacant, clear local slowdown as well,
2362 and assert DR_CONTROL is 0.
2363
70afc5b7
SC
23642014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2365
2366 * python/lib/gdb/command/xmethods.py
2367 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2368 current progspace only if the string "progspace" matches LOCUS_RE.
2369
840ed64d
JK
23702014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2371
2372 Fix --with-system-readline with readline-6.3 patch 5.
2373 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2374 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2375 types.
2376
26f2dc30
TT
23772014-06-20 Tom Tromey <tromey@redhat.com>
2378
2379 * dwarf2read.c (dw2_get_real_path): Use correct type in
2380 OBSTACK_CALLOC.
2381 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2382
125f8a3d
GB
23832014-06-20 Gary Benson <gbenson@redhat.com>
2384
2385 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2386 * common/glibc_thread_db.h: Likewise.
2387 * common/i386-cpuid.h: Likewise.
2388 * common/i386-gcc-cpuid.h: Likewise.
2389 * common/linux-btrace.h: Likewise.
2390 * common/linux-osdata.h: Likewise.
2391 * common/linux-procfs.h: Likewise.
2392 * common/linux-ptrace.h: Likewise.
2393 * common/mips-linux-watch.h: Likewise.
2394 * common/linux-btrace.c: Moved to nat.
2395 * common/linux-osdata.c: Likewise.
2396 * common/linux-procfs.c: Likewise.
2397 * common/linux-ptrace.c: Likewise.
2398 * common/mips-linux-watch.c: Likewise.
2399 * nat/gdb_thread_db.h: Moved from common.
2400 * nat/glibc_thread_db.h: Likewise.
2401 * nat/i386-cpuid.h: Likewise.
2402 * nat/i386-gcc-cpuid.h: Likewise.
2403 * nat/linux-btrace.c: Likewise.
2404 * nat/linux-btrace.h: Likewise.
2405 * nat/linux-osdata.c: Likewise.
2406 * nat/linux-osdata.h: Likewise.
2407 * nat/linux-procfs.c: Likewise.
2408 * nat/linux-procfs.h: Likewise.
2409 * nat/linux-ptrace.c: Likewise.
2410 * nat/linux-ptrace.h: Likewise.
2411 * nat/mips-linux-watch.c: Likewise.
2412 * nat/mips-linux-watch.h: Likewise.
2413 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2414 (object file files): Reordered.
2415 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2416 of glibc_thread_db.h.
2417
42995dbd
GB
24182014-06-20 Gary Benson <gbenson@redhat.com>
2419
2420 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2421 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2422 (i386_dr_low): Likewise.
2423 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2424 (i386_dr_low_set_addr): Likewise.
2425 (i386_dr_low_get_addr): Likewise.
2426 (i386_dr_low_can_set_control): Likewise.
2427 (i386_dr_low_set_control): Likewise.
2428 (i386_dr_low_get_control): Likewise.
2429 (i386_dr_low_get_status): Likewise.
2430 (i386_get_debug_register_length): Likewise.
2431 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2432 (i386_dr_low): Likewise.
2433 * nat/i386-dregs.c (i386-low.h): Remove include.
2434 (i386-nat.h): Likewise.
2435 (nat/i386-dregs.h): New include.
2436 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2437 (i386_dr_low_set_addr): Likewise.
2438 (i386_dr_low_get_addr): Likewise.
2439 (i386_dr_low_can_set_control): Likewise.
2440 (i386_dr_low_set_control): Likewise.
2441 (i386_dr_low_get_control): Likewise.
2442 (i386_dr_low_get_status): Likewise.
2443 (i386_get_debug_register_length): Likewise.
2444 (debug_hw_points): Likewise.
2445
3ed9baed
IB
24462014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2447
2448 * Makefile.in (SFILES): Add d-exp.y.
2449 (YYFILES): Add d-exp.c.
2450 (YYOBJ): Add d-exp.o.
2451 (local-maintainer-clean): Delete d-exp.c.
2452 * d-exp.y: New file.
2453 * d-lang.h (d_parse): New declaration.
2454 (d_error): New declaration.
2455 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2456 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2457 PREC_ORDER operators.
2458 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2459
78c164b0
YQ
24602014-06-19 Yao Qi <yao@codesourcery.com>
2461
2462 * gdbthread.h (any_running): Remove the declaration.
2463 * thread.c (any_running): Remove.
2464
f6e29b6e
YQ
24652014-06-19 Yao Qi <yao@codesourcery.com>
2466
2467 * gdbthread.h (struct thread_info) <state>: Change its type to
2468 'enum thread_state'. Update comments.
2469
034f788c
PA
24702014-06-19 Pedro Alves <palves@redhat.com>
2471
2472 * gdbthread.h (ALL_THREADS): Delete.
2473 (ALL_NON_EXITED_THREADS): New macro.
2474 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2475 instead of ALL_THREADS.
2476 * infrun.c (find_thread_needs_step_over)
2477 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2478 instead of ALL_THREADS.
2479 * record-btrace.c (record_btrace_open)
2480 (record_btrace_stop_recording, record_btrace_close)
2481 (record_btrace_is_replaying, record_btrace_resume)
2482 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2483 * remote.c (append_pending_thread_resumptions): Likewise.
2484 * thread.c (thread_apply_all_command): Likewise.
2485
46e33252
GB
24862014-06-19 Gary Benson <gbenson@redhat.com>
2487
2488 * i386-nat.c (i386_stopped_by_watchpoint):
2489 Use i386_dr_stopped_by_watchpoint.
2490 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2491 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2492
3a8ee006
GB
24932014-06-19 Gary Benson <gbenson@redhat.com>
2494
2495 * nat/i386-dregs.c: New file.
2496 * Makefile.in (i386-dregs.o): New rule.
2497 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2498 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2499 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2500 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2501 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2502 * config/i386/go32.mh (NATDEPFILES): Likewise.
2503 * config/i386/linux.mh (NATDEPFILES): Likewise.
2504 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2505 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2506 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2507 * i386-nat.h (debug_hw_points): New declaration.
2508 * i386-nat.c (breakpoint.h): Remove include.
2509 (command.h): Likewise.
2510 (target.h): Likewise.
2511 (gdb_assert.h): Likewise.
2512 (debug_hw_points): Made nonstatic.
2513 (debug_printf): Now in i386-dregs.c.
2514 (TARGET_HAS_DR_LEN_8): Likewise.
2515 (DR_CONTROL_SHIFT): Likewise.
2516 (DR_CONTROL_SIZE): Likewise.
2517 (DR_RW_EXECUTE): Likewise.
2518 (DR_RW_WRITE): Likewise.
2519 (DR_RW_READ): Likewise.
2520 (DR_RW_IORW): Likewise.
2521 (DR_LEN_1): Likewise.
2522 (DR_LEN_2): Likewise.
2523 (DR_LEN_4): Likewise.
2524 (DR_LEN_8): Likewise.
2525 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2526 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2527 (DR_ENABLE_SIZE): Likewise.
2528 (DR_LOCAL_SLOWDOWN): Likewise.
2529 (DR_GLOBAL_SLOWDOWN): Likewise.
2530 (DR_CONTROL_RESERVED): Likewise.
2531 (I386_DR_CONTROL_MASK): Likewise.
2532 (I386_DR_VACANT): Likewise.
2533 (I386_DR_LOCAL_ENABLE): Likewise.
2534 (I386_DR_GLOBAL_ENABLE): Likewise.
2535 (I386_DR_DISABLE): Likewise.
2536 (I386_DR_SET_RW_LEN): Likewise.
2537 (I386_DR_GET_RW_LEN): Likewise.
2538 (I386_DR_WATCH_HIT): Likewise.
2539 (i386_wp_op_t): Likewise.
2540 (i386_show_dr): Likewise.
2541 (i386_length_and_rw_bits): Likewise.
2542 (i386_insert_aligned_watchpoint): Likewise.
2543 (i386_remove_aligned_watchpoint): Likewise.
2544 (i386_handle_nonaligned_watchpoint): Likewise.
2545 (i386_update_inferior_debug_regs): Likewise.
2546 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2547 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2548 (i386_region_ok_for_watchpoint):
2549 Use i386_dr_region_ok_for_watchpoint.
2550 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2551
322a8e06
GB
25522014-06-19 Gary Benson <gbenson@redhat.com>
2553
2554 * i386-nat.c (i386_insert_hw_breakpoint): Use
2555 i386_insert_watchpoint.
2556 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2557
8f26655c
GB
25582014-06-19 Gary Benson <gbenson@redhat.com>
2559
2560 * i386-nat.c (i386_dr_show): Renamed to
2561 i386_show_dr and made static. All uses updated.
2562 (i386_dr_length_and_rw_bits): Renamed to
2563 i386_length_and_rw_bits and made static.
2564 All uses updated.
2565 (i386_dr_insert_aligned_watchpoint): Renamed to
2566 i386_insert_aligned_watchpoint and made static.
2567 All uses updated.
2568 (i386_dr_remove_aligned_watchpoint): Renamed to
2569 i386_remove_aligned_watchpoint and made static.
2570 All uses updated.
2571 (i386_dr_update_inferior_debug_regs): Renamed to
2572 i386_update_inferior_debug_regs and made static.
2573 All uses updated.
2574 * nat/i386-dregs.h (i386_dr_show): Removed.
2575 (i386_dr_length_and_rw_bits): Likewise.
2576 (i386_dr_insert_aligned_watchpoint): Likewise.
2577 (i386_dr_remove_aligned_watchpoint): Likewise.
2578 (i386_dr_update_inferior_debug_regs): Likewise.
2579
992c7d70
GB
25802014-06-19 Gary Benson <gbenson@redhat.com>
2581
2582 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2583 * configure: Regenerate.
2584 * config.in: Likewise.
2585 * main.c (signal.h): New include.
2586 (setup_alternate_signal_stack): New function.
2587 (captured_main): Call the above.
2588 * cp-support.c (signal.h): New include.
2589 (catch_demangler_crashes): New flag.
2590 (SIGJMP_BUF): New define.
2591 (SIGSETJMP): Likewise.
2592 (SIGLONGJMP): Likewise.
2593 (gdb_demangle_jmp_buf): New static global.
2594 (gdb_demangle_attempt_core_dump): Likewise.
2595 (gdb_demangle_signal_handler): New function.
2596 (gdb_demangle): If catch_demangler_crashes is set, install the
2597 above signal handler before calling bfd_demangle, and restore
2598 the original signal handler afterwards. Display the offending
2599 symbol and call demangler_warning the first time a segmentation
2600 fault is caught.
2601 (_initialize_cp_support): New maint set/show command.
2602
eae7090b
GB
26032014-06-19 Gary Benson <gbenson@redhat.com>
2604
2605 * utils.h (resource_limit_kind): New enum.
2606 (can_dump_core): New declaration.
2607 (warn_cant_dump_core): Likewise.
2608 (dump_core): Likewise.
2609 * utils.c (dump_core): Made nonstatic. Added new
2610 parameter "limit_kind".
2611 (can_dump_core): Made nonstatic. Moved printing code to...
2612 (warn_cant_dump_core): New function.
2613 (can_dump_core_warn): Likewise.
2614 (internal_vproblem): Replace calls to can_dump_core with
2615 calls to can_dump_core_warn. Supply new argument to each.
2616
57fcfb1b
GB
26172014-06-19 Gary Benson <gbenson@redhat.com>
2618
2619 * utils.h (demangler_vwarning): New declaration.
2620 (demangler_warning): Likewise.
2621 * utils.c (struct internal_problem)
2622 <user_settable_should_quit>: New field.
2623 <user_settable_should_dump_core>: Likewise
2624 (internal_error_problem): Add values for above new fields.
2625 (internal_warning_problem): Likewise.
2626 (demangler_warning_problem): New static global.
2627 (demangler_vwarning): New function.
2628 (demangler_warning): Likewise.
2629 (add_internal_problem_command): Selectively add commands.
2630 (_initialize_utils): New internal problem command.
2631 * maint.c (maintenance_demangler_warning): New function.
2632 (_initialize_maint_cmds): New command.
2633
17a40b44
TT
26342014-06-18 Tom Tromey <tromey@redhat.com>
2635
2636 * f-valprint.c (info_common_command_for_block): Update.
2637 * symtab.h (struct general_symbol_info) <common_block>: Now
2638 const.
2639
346d1dfe
TT
26402014-06-18 Tom Tromey <tromey@redhat.com>
2641
2642 * symtab.h (struct symtab) <blockvector>: Now const.
2643 * ada-lang.c (ada_add_global_exceptions): Update.
2644 * buildsym.c (augment_type_symtab): Update.
2645 * dwarf2read.c (dw2_lookup_symbol): Update.
2646 * jit.c (finalize_symtab): Update.
2647 * jv-lang.c (add_class_symtab_symbol): Update.
2648 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2649 Update.
2650 * objfiles.c (objfile_relocate1): Update.
2651 * psymtab.c (lookup_symbol_aux_psymtabs)
2652 (maintenance_check_psymtabs): Update.
2653 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2654 Update.
2655 * spu-tdep.c (spu_catch_start): Update.
2656 * symmisc.c (dump_symtab_1): Update.
2657 * symtab.c (lookup_global_symbol_from_objfile)
2658 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2659 (basic_lookup_transparent_type_quick)
2660 (basic_lookup_transparent_type, find_pc_sect_symtab)
2661 (find_pc_sect_line, search_symbols): Update.
2662 * block.c (find_block_in_blockvector): Make "bl" const.
2663 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2664 const.
2665 (blockvector_contains_pc): Make "bv" const.
2666 (block_for_pc_sect): Update.
2667 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2668 (blockvector_contains_pc): Update.
2669 * breakpoint.c (resolve_sal_pc): Update.
2670 * inline-frame.c (block_starting_point_at): Update.
2671
1834676b
TT
26722014-06-18 Tom Tromey <tromey@redhat.com>
2673
2674 * completer.c (complete_line): Make "line_buffer" const.
2675 * completer.h (complete_line): Update.
2676
ac1a991b
TT
26772014-06-18 Tom Tromey <tromey@redhat.com>
2678
2679 * symtab.c (add_macro_name): Remove unneeded cast.
2680
5bc98e52
TT
26812014-06-18 Tom Tromey <tromey@redhat.com>
2682
2683 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
2684 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
2685
8236def8
TT
26862014-06-18 Tom Tromey <tromey@redhat.com>
2687
2688 * probe.c (info_probes_for_ops): Make "arg" const.
2689 * probe.h (info_probes_for_ops): Update.
2690
3977b71f
TT
26912014-06-18 Tom Tromey <tromey@redhat.com>
2692
2693 * varobj.c (varobj_create): Update.
2694 * valops.c (value_of_this): Update.
2695 * tracepoint.c (add_local_symbols, scope_info): Update.
2696 * symtab.h (struct general_symbol_info) <block>: Now const.
2697 * symtab.c (skip_prologue_sal)
2698 (default_make_symbol_completion_list_break_on)
2699 (skip_prologue_using_sal): Update.
2700 * stack.h (iterate_over_block_locals)
2701 (iterate_over_block_local_vars): Update.
2702 * stack.c (print_frame_args): Update.
2703 (iterate_over_block_locals, iterate_over_block_local_vars): Make
2704 parameter const.
2705 (get_selected_block): Make return type const.
2706 * python/py-frame.c (frapy_block): Update.
2707 * python/py-block.c (gdbpy_block_for_pc): Update.
2708 * p-exp.y (%union) <bval>: Now const.
2709 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
2710 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
2711 * m2-exp.y (%union) <bval>: Now const.
2712 * linespec.c (get_current_search_block): Make return type const.
2713 (create_sals_line_offset, find_label_symbols): Update.
2714 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
2715 Update.
2716 (block_starting_point_at): Make "block" const.
2717 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
2718 (check_exception_resume): Update.
2719 * guile/scm-frame.c (gdbscm_frame_block): Update.
2720 * guile/scm-block.c (gdbscm_lookup_block): Update.
2721 * frame.h (get_frame_block): Update.
2722 (get_selected_block): Make return type const.
2723 * frame.c (frame_id_inner): Update.
2724 * f-valprint.c (info_common_command_for_block)
2725 (info_common_command): Update.
2726 * dwarf2loc.c (dwarf2_find_location_expression)
2727 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
2728 (locexpr_describe_location_piece): Update.
2729 * c-exp.y (%union) <bval>: Now const.
2730 * breakpoint.c (resolve_sal_pc): Update.
2731 * blockframe.c (get_frame_block):Make return type const.
2732 (get_pc_function_start, get_frame_function, find_pc_sect_function)
2733 (block_innermost_frame): Update.
2734 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2735 (block_for_pc, block_for_pc_sect): Update.
2736 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
2737 'pblock' const.
2738 (block_for_pc_sect, block_for_pc): Make return type const.
2739 * ax-gdb.c (gen_expr): Update.
2740 * alpha-mdebug-tdep.c (find_proc_desc): Update.
2741 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
2742 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
2743 (ada_read_var_value): Update.
2744 * ada-exp.y (struct name_info) <block>: Now const.
2745 (%union): Likewise.
2746 (block_lookup): Constify.
2747
b9228891
GB
27482014-06-18 Gary Benson <gbenson@redhat.com>
2749
2750 * nat/i386-dregs.h: New file.
2751 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
2752 * i386-nat.h (i386-dregs.h): New include.
2753 (DR_FIRSTADDR): Now in i386-dregs.h.
2754 (DR_LASTADDR): Likewise.
2755 (DR_NADDR): Likewise.
2756 (DR_STATUS): Likewise.
2757 (DR_CONTROL): Likewise.
2758 (i386_debug_reg_state): Likewise.
2759 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
2760
a1aa2221
LM
27612014-06-18 Don Breazeal <donb@codesourcery.com>
2762
2763 * breakpoint.c (set_longjmp_breakpoint): Call
2764 momentary_breakpoint_from_master with additional argument.
2765 (set_longjmp_breakpoint_for_call_dummy): Call
2766 momentary_breakpoint_from_master with additional argument.
2767 (set_std_terminate_breakpoint): Call
2768 momentary_breakpoint_from_master with additional argument.
2769 (momentary_breakpoint_from_master): Add argument to function
2770 definition and use it to initialize structure member flag.
74228e77 2771 (clone_momentary_breakpoint): Call
a1aa2221
LM
2772 momentary_breakpoint_from_master with additional argument.
2773 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
2774 member flags set in momentary_breakpoint_from_master.
2775
4be83cc2
GB
27762014-06-18 Gary Benson <gbenson@redhat.com>
2777
2778 * i386-nat.c (i386_show_dr): Renamed to
2779 i386_dr_show and made nonstatic. All uses updated.
2780 (i386_length_and_rw_bits): Renamed to
2781 i386_dr_length_and_rw_bits and made nonstatic.
2782 All uses updated.
2783 (i386_insert_aligned_watchpoint): Renamed to
2784 i386_dr_insert_aligned_watchpoint and made nonstatic.
2785 All uses updated.
2786 (i386_remove_aligned_watchpoint): Renamed to
2787 i386_dr_remove_aligned_watchpoint and made nonstatic.
2788 All uses updated.
2789 (i386_update_inferior_debug_regs): Renamed to
2790 i386_dr_update_inferior_debug_regs and made nonstatic.
2791 All uses updated.
2792
131aa0d4
GB
27932014-06-18 Gary Benson <gbenson@redhat.com>
2794
2795 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
2796 (i386_dr_low_can_set_control): Likewise.
2797 (i386_dr_low_set_addr): Likewise.
2798 (i386_dr_low_set_control): Likewise.
2799 (i386_dr_low_get_addr): Likewise.
2800 (i386_dr_low_get_status): Likewise.
2801 (i386_dr_low_get_control): Likewise.
2802 (i386_insert_aligned_watchpoint): Use new macros.
2803 (i386_update_inferior_debug_regs): Likewise.
2804 (i386_stopped_data_address): Likewise.
2805
d9305f7f
GB
28062014-06-18 Gary Benson <gbenson@redhat.com>
2807
2808 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
2809 New parameter. All uses updated.
2810
ea008da4
GB
28112014-06-18 Gary Benson <gbenson@redhat.com>
2812
2813 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
2814 All uses updated.
2815
1b6d4134
GB
28162014-06-18 Gary Benson <gbenson@redhat.com>
2817
2818 * i386-nat.c (debug_printf): New macro.
2819 (i386_get_debug_register_length): Likewise.
2820 (TARGET_HAS_DR_LEN_8): Use above macro.
2821 (i386_show_dr): Use debug_printf instead of puts_unfiltered
2822 and printf_unfiltered. Use phex to format values.
2823
9b4550ef
GB
28242014-06-18 Gary Benson <gbenson@redhat.com>
2825
2826 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
2827 Make const.
2828
6e62758f
GB
28292014-06-18 Gary Benson <gbenson@redhat.com>
2830
2831 * i386-nat.c: Comment changes.
2832
51c79e94
GB
28332014-06-18 Gary Benson <gbenson@redhat.com>
2834
2835 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
2836
3e11889a
GB
28372014-06-18 Gary Benson <gbenson@redhat.com>
2838
2839 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
2840 (i386_insert_aligned_watchpoint): Likewise.
2841 (i386_remove_aligned_watchpoint): Likewise.
2842 (i386_handle_nonaligned_watchpoint): Likewise.
2843
fc6e2f03
GB
28442014-06-18 Gary Benson <gbenson@redhat.com>
2845
2846 * i386-nat.c: Whitespace changes.
2847
2afe7d50
SB
28482014-06-17 Samuel Bronson <naesten@gmail.com>
2849
2850 * MAINTAINERS: Update Roland McGrath's email address.
2851 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 2852 Red Hat a while ago, and giving me a current address.
2afe7d50 2853
3bca49ee
TT
28542014-06-17 Tom Tromey <tromey@redhat.com>
2855
2856 * utils.h (savestring): Remove declaration.
2857
6e366df1
TT
28582014-06-17 Tom Tromey <tromey@redhat.com>
2859
2860 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
2861
6be47f0c
KS
28622014-06-16 Keith Seitz <keiths@redhat.com>
2863
2864 PR mi/15863
2865 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
2866 to update the varobj if inferior_ptid is null_ptid.
2867
7bc112c1
TT
28682014-06-16 Tom Tromey <tromey@redhat.com>
2869
2870 * target.h (struct target_ops) <to_info_proc>: Make parameter
2871 const.
2872 (target_info_proc): Update.
2873 * target.c (target_info_proc): Make "args" const.
2874 * procfs.c (procfs_info_proc): Update.
2875 * linux-tdep.c (linux_info_proc): Update.
2876 (linux_core_info_proc_mappings): Make "args" const.
2877 (linux_core_info_proc): Update.
2878 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
2879 * gdbarch.c: Rebuild.
2880 * gdbarch.h: Rebuild.
2881 * corelow.c (core_info_proc): Update.
2882
fee354ee
TT
28832014-06-16 Tom Tromey <tromey@redhat.com>
2884
2885 * target.h (struct target_ops) <to_disconnect>: Make parameter
2886 const.
2887 (target_disconnect): Update.
2888 * target.c (target_disconnect): Make "args" const.
2889 * target-delegates.c: Rebuild.
2890 * remote.c (remote_disconnect): Update.
2891 * record.h (record_disconnect): Update.
2892 * record.c (record_disconnect): Update.
2893 * inf-child.c (inf_child_disconnect): Update.
2894
a30bf1f1
TT
28952014-06-16 Tom Tromey <tromey@redhat.com>
2896
2897 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
2898 * target.c (debug_to_rcmd, default_rcmd): Update.
2899 * target-delegates.c: Rebuild.
2900 * remote.c (remote_rcmd): Update.
2901 * monitor.c (monitor_rcmd): Update.
2902
d03de421
PA
29032014-06-16 Pedro Alves <palves@redhat.com>
2904
2905 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
2906 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
2907 have OBJF_SHARED set.
2908 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
2909 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
2910 instead of OBJF_USERLOADED.
2911 * objfiles.h (OBJF_SHARED): Update comment.
2912 (userloaded_objfile_contains_address_p): Rename to ...
2913 (shared_objfile_contains_address_p): ... this, and update
2914 comments.
2915 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
2916 new objfile.
2917 (remove_symbol_file_command): Skip objfiles that don't have
2918 OBJF_SHARED set.
2919
99f4262f
TT
29202014-06-16 Tom Tromey <tromey@redhat.com>
2921
2922 * minsyms.h (prim_record_minimal_symbol)
2923 (prim_record_minimal_symbol_and_info): Update comments.
2924
97d66cc6
EZ
29252014-06-14 Eli Zaretskii <eliz@gnu.org>
2926
2927 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
2928 or --without-guile, according to how GDB was built.
2929
635c7e8a
TT
29302014-06-13 Tom Tromey <tromey@redhat.com>
2931
2932 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
2933 to help_list.
2934 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
2935 to help_list.
2936 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
2937 help_list.
2938 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
2939 help_list.Pass all_commands, not -1, to help_list.
2940 * cli/cli-dump.c (dump_command, append_command)
2941 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
2942 (binary_dump_command, binary_append_command): Pass all_commands,
2943 not -1, to help_list.
2944 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
2945 -1, to help_list.
2946 * valprint.c (set_print, set_print_raw): Pass all_commands, not
2947 -1, to help_list.
2948 * typeprint.c (set_print_type): Pass all_commands, not -1, to
2949 help_list.
2950 * top.c (set_history): Pass all_commands, not -1, to help_list.
2951 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
2952 all_commands, not -1, to help_list.
2953 * symfile.c (overlay_command): Pass all_commands, not -1, to
2954 help_list.
2955 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
2956 help_list.
2957 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
2958 help_list.
2959 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
2960 -1, to help_list.
2961 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
2962 not -1, to help_list.
2963 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
2964 not -1, to help_list.
2965 * maint.c (maintenance_command, maintenance_info_command)
2966 (maintenance_print_command, maintenance_set_cmd): Pass
2967 all_commands, not -1, to help_list.
2968 * macrocmd.c (macro_command): Pass all_commands, not -1, to
2969 help_list.
2970 * language.c (set_check): Pass all_commands, not -1, to help_list.
2971 * infcmd.c (unset_command): Pass all_commands, not -1, to
2972 help_list.
2973 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
2974 help_list.
2975 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
2976 help_list.
2977 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
2978 help_list.
2979 * breakpoint.c (save_command): Pass all_commands, not -1, to
2980 help_list.
2981 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
2982 all_commands, not -1, to help_list.
2983
b94ade42
PL
29842014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
2985
2986 * regcache.c (struct register_to_invalidate): New structure.
2987 (do_register_invalidate, make_cleanup_regcache_invalidate): New
2988 functions.
2989 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
2990
31f628ae
YQ
29912014-06-12 Yao Qi <yao@codesourcery.com>
2992
2993 * varobj.c (varobj_get_num_children): Call
2994 varobj_is_dynamic_p.
2995 (varobj_list_children): Likewise.
2996 (varobj_update): Likewise. Update comments.
2997
cde5ef40
YQ
29982014-06-12 Yao Qi <yao@codesourcery.com>
2999
3000 * varobj.c (varobj_pretty_printed_p): Rename to ...
3001 (varobj_is_dynamic_p): ... this. New function.
3002 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3003 (varobj_is_dynamic_p): Declare.
3004 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3005 (mi_print_value_p, varobj_update_one): Likewise.
3006
576ea091
YQ
30072014-06-12 Pedro Alves <pedro@codesourcery.com>
3008 Yao Qi <yao@codesourcery.com>
3009
3010 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3011 (varobj_get_iterator): Wrap up code for pretty-printer by
3012 "#if HAVE_PYTHON" and "#endif".
3013 (update_dynamic_varobj_children): Likewise.
3014
827f100c
YQ
30152014-06-12 Pedro Alves <pedro@codesourcery.com>
3016 Yao Qi <yao@codesourcery.com>
3017
3018 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3019 gdb_python_initialized is false. Move some code from varobj.c.
3020 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3021 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3022 (struct varobj_item): Moved to varobj-iter.h".
3023 (varobj_clear_saved_item): New function.
3024 (update_dynamic_varobj_children): Move python-related code to
3025 py-varobj.c.
3026 (free_variable): Call varobj_clear_saved_item and
3027 varobj_iter_delete.
3028
e5250216
YQ
30292014-06-12 Pedro Alves <pedro@codesourcery.com>
3030 Yao Qi <yao@codesourcery.com>
3031
3032 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3033 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3034 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3035 (py-varobj.o): New rule.
3036 * python/py-varobj.c: New file.
3037 * python/python-internal.h (py_varobj_get_iterator): Declare.
3038 * varobj-iter.h: New file.
3039 * varobj.c: Include "varobj-iter.h"
3040 (struct varobj) <child_iter>: Change its type from "PyObject *"
3041 to "struct varobj_iter *".
3042 <saved_item>: Likewise.
3043 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3044 [HAVE_PYTHON] (varobj_get_iterator): New function.
3045 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3046 python-specific code to python/py-varobj.c.
3047 (install_visualizer): Call varobj_iter_delete instead of
3048 Py_XDECREF.
3049 * varobj.h (varobj_ensure_python_env): Declare.
3050
5a2e0d6e
YQ
30512014-06-12 Yao Qi <yao@codesourcery.com>
3052
3053 * varobj.c (struct varobj_item): New structure.
3054 (create_child_with_value): Update declaration.
3055 (varobj_add_child): Replace arguments 'name' and 'value' with
3056 'item'. All callers updated.
3057 (install_dynamic_child): Likewise.
3058 (update_dynamic_varobj_children): Likewise.
3059 (varobj_add_child): Likewise.
3060 (create_child_with_value): Likewise.
3061
919b9a93
JB
30622014-06-11 Joel Brobecker <brobecker@adacore.com>
3063
3064 * NEWS: Create a new section for the next release branch.
3065 Rename the section of the current branch, now that it has
3066 been cut.
3067
71a55bdf
JB
30682014-06-11 Joel Brobecker <brobecker@adacore.com>
3069
3070 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3071 * version.in: Bump version to 7.8.50.DATE-cvs.
3072
364fe1f7
PA
30732014-06-11 Pedro Alves <palves@redhat.com>
3074
3075 PR remote/17028
3076 * ser-mingw.c (net_windows_socket_check_pending): New function.
3077 (net_windows_select_thread): Ignore spurious wakeups. Use
3078 net_windows_socket_check_pending.
3079 (net_windows_wait_handle): Check for pending events with
3080 ioctlsocket, through net_windows_socket_check_pending, instead of
3081 checking the socket's event.
3082
5a6c7709
SC
30832014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3084
3085 * python/python-internal.h (gdb_PyObject_GetAttrString)
3086 (gdb_PyObject_HasAttrString): New inline function definitions.
3087 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3088 char * of the second argument to PyObject_GetAttrString.
74228e77 3089
0e58ee40
JB
30902014-06-10 Joel Brobecker <brobecker@adacore.com>
3091
3092 * serial.c (serial_write): Fix index of character to be printed
3093 in call to serial_logchar when serial debug traces are enabled.
3094
d190df30
JB
30952014-06-10 Joel Brobecker <brobecker@adacore.com>
3096
3097 * gdbtypes (resolve_dynamic_range): Add function description.
3098
b4b01d36
PA
30992014-06-09 Pedro Alves <palves@redhat.com>
3100
3101 * linux-nat.c (linux_child_follow_fork): Initialize status with
3102 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3103 inner block. Only pass the signal to PTRACE_DETACH if in pass
3104 state.
3105
3657956b
GB
31062014-06-09 Gary Benson <gbenson@redhat.com>
3107
3108 * common/signals.c (gdb_signal_from_host): Reorder to separate
3109 the always-available ANSI-standard signals from the signals that
3110 require checking.
3111 (do_gdb_signal_to_host): Likewise.
3112 * proc-events.c (signal_table): Likewise.
3113
c077881a
HZ
31142014-06-08 Hui Zhu <hui@codesourcery.com>
3115
3116 * common/linux-ptrace.c (linux_disable_event_reporting): New
3117 function.
3118 * common/linux-ptrace.h (linux_disable_event_reporting): New
3119 declaration.
3120 * linux-nat.c (linux_child_follow_fork): Do a single step before
3121 detach.
3122
4186eb54
KS
31232014-06-07 Keith Seitz <keiths@redhat.com>
3124
3125 Revert:
3126 PR c++/16253
3127 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3128 from symbol_matches_domain in symtab.c. All local callers
3129 of symbol_matches_domain updated.
3130 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3131 search STRUCT_DOMAIN.
3132 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3133 independently. standard_lookup will do that automatically.
3134 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3135 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3136 (cp_lookup_symbol_in_namespace): Likewise.
3137 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3138 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3139 may return a STRUCT_DOMAIN match.
3140 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3141 * cp-support.c: Include language.h.
3142 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3143 VAR_DOMAIN.
3144 * psymtab.c (match_partial_symbol): Compare the requested
3145 domain with the symbol's domain directly.
3146 (lookup_partial_symbol): Likewise.
3147 * symtab.c (lookup_symbol_in_language): Explain when/why
3148 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3149 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3150 appropriate languages.
3151 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3152 and moved to ada-lang.c
3153 (lookup_block_symbol): Explain that this function only returns
3154 symbol matching the requested DOMAIN.
3155 Compare the requested domain with the symbol's domain directly.
3156 (iterate_over_symbols): Compare the requested domain with the
3157 symbol's domain directly.
3158 * symtab.h (symbol_matches_domain): Remove.
3159
25326a28 31602014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3161
3162 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3163 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3164 (gdbscm_guile_version_is_at_least): Declare.
3165 (gdbscm_scm_string_to_int): Declare.
3166 * guile/guile.c (gdbscm_guile_major_version): New global.
3167 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3168 (guile_datadir): New static global.
3169 (gdbscm_guile_data_directory): New function.
3170 (initialize_scheme_side): Update.
3171 (misc_guile_functions): Add guile-data-directory.
3172 (initialize_gdb_module): Fetch guile version number.
3173 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3174 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3175 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3176 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3177 comments.
3178 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3179 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3180 * guile/scm-value.c (gdbscm_value_to_string): Only call
3181 scm_port_conversion_strategy if Guile version >= 2.0.6.
3182
0a770bb2 31832014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3184
3185 * main.c (print_gdb_help): Add -q and --silent.
3186
73ba372c
GB
31872014-06-06 Gary Benson <gbenson@redhat.com>
3188
3189 * common/signals.c: Remove preprocessor conditionals for
3190 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3191 SIGSEGV and SIGTERM.
3192 * proc-events.c: Likewise.
3193
c33b2f12
MM
31942014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3195
3196 * symfile.c (symfile_free_objfile): Remove restriction to
3197 OBJF_USERLOADED.
3198 * symfile-mem.c (symbol_file_add_from_memory): Call
3199 add_target_sections_of_objfile.
3200
fb934770
LC
32012014-06-05 Ludovic Courtès <ludo@gnu.org>
3202
3203 * guile/scm-value.c (gdbscm_history_append_x): Use
3204 'vlscm_get_value_smob_arg_unsafe' instead of
3205 'vlscm_scm_to_value'.
3206
6ef284bd
SM
32072014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3208
3209 PR mi/15806
3210 * utils.c (printchar): Don't escape at all if quoter is NUL.
3211 Update function documentation to clarify effect of parameter
3212 QUOTER.
3213 * remote.c (escape_buffer): Pass '\\' as the quoter to
3214 fputstrn_unfiltered.
3215 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3216 generate the output.
3217 (mi_solib_unloaded): Same.
3218
270c9937
JB
32192014-06-05 Joel Brobecker <brobecker@adacore.com>
3220
3221 * development.sh: Delete.
3222 * Makefile.in (config.status): Adjust dependency on development.sh.
3223 * configure.ac: Adjust development.sh source call.
3224 * configure: Regenerate.
3225
16f691fb
DE
32262014-06-04 Doug Evans <xdje42@gmail.com>
3227
3228 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3229 is_scheme_bkpt, spec.
3230 (bpscm_make_breakpoint_smob): Initialize new members.
3231 (gdbscm_create_breakpoint_x): Split into two ...
3232 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3233 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3234 (scheme_function breakpoint_functions): Update.
3235 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3236 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3237 register-breakpoint!.
3238
ef7cab6b
JB
32392014-06-04 Joel Brobecker <brobecker@adacorer.com>
3240
3241 PR server/17023
3242 * mem-break.c (z_type_supported): Return zero if
3243 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3244
012370f6
TT
32452014-06-04 Tom Tromey <tromey@redhat.com>
3246
3247 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3248 value_from_contents_and_address_unresolved.
3249 (ada_template_to_fixed_record_type_1): Likewise.
3250 (ada_which_variant_applies): Likewise.
3251 * value.h (value_from_contents_and_address_unresolved): Declare.
3252 * value.c (value_from_contents_and_address_unresolved): New
3253 function.
3254 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3255 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3256 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3257
92e2a17f
TT
32582014-06-04 Tom Tromey <tromey@redhat.com>
3259
3260 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3261
c0939df1
TT
32622014-06-04 Tom Tromey <tromey@redhat.com>
3263
3264 * procfs.c (procfs_attach): Make "args" const.
3265 * windows-nat.c (windows_attach): Make "args" const.
3266 * nto-procfs.c (procfs_attach): Make "args" const.
3267 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3268 * go32-nat.c (go32_attach): Make "args" const.
3269 * gnu-nat.c (gnu_attach): Make "args" const.
3270 * darwin-nat.c (darwin_attach): Make "args" const.
3271 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3272 * linux-nat.c (linux_nat_attach): Make "args" const.
3273 * remote.c (extended_remote_attach_1, extended_remote_attach):
3274 Make "args" const.
3275 * target.h (struct target_ops) <to_attach>: Make "args" const.
3276 (find_default_attach): Likewise.
3277 * utils.c (parse_pid_to_attach): Make "args" const.
3278 * utils.h (parse_pid_to_attach): Update.
3279
8eaff7cd
TT
32802014-06-04 Tom Tromey <tromey@redhat.com>
3281
3282 * target-delegates.c: Rebuild.
3283 * target.c (default_thread_address_space): New function.
3284 (target_thread_address_space): Simplify.
3285 * target.h (struct target_ops) <to_thread_address_space>: Add
3286 TARGET_DEFAULT_FUNC.
3287
1913f160
DE
32882014-06-04 Doug Evans <xdje42@gmail.com>
3289
3290 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3291
70ad5bff
MM
32922014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3293
3294 * record-btrace.c: Include event-loop.h and inf-loop.h.
3295 (record_btrace_resume_exec_dir)
3296 (record_btrace_async_inferior_event_handler)
3297 (record_btrace_handle_async_inferior_event): New.
3298 (record_btrace_open): Create async event handler.
3299 (record_btrace_close): Delete async event handler.
3300 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3301 Mark async event handler.
3302 (record_btrace_execution_direction): New.
3303 (init_record_btrace_ops): Initialize to_execution_direction.
3304
b6210538
DE
33052014-06-03 Doug Evans <xdje42@gmail.com>
3306
3307 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3308 (gdbscm_make_parameter): Ditto.
3309
a5b1fd27
DE
33102014-06-03 Doug Evans <dje@google.com>
3311
3312 * exec.c (exec_close_1): Call clear_section_table instead of
3313 resize_section_table.
3314 (clear_section_table): New function.
3315 (resize_section_table): Make static. Rename arg num_added to
3316 adjustment.
3317 * exec.h (clear_section_table): Declare.
3318 (resize_section_table): Delete.
3319 * progspace.c (release_program_space): Call clear_section_table
3320 instead of resize_section_table.
3321
0c6e92a5
SC
33222014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3323
3324 * NEWS (Python Scripting): Add entry about the new xmethods
3325 feature.
3326
883964a7
SC
33272014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3328
3329 * python/py-xmethods.c: New file.
3330 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3331 (objfpy_dealloc): XDECREF on the new xmethods field.
3332 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3333 field.
3334 (objfpy_get_xmethods): New function.
3335 (objfile_getset): New entry 'xmethods'.
3336 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3337 (pspy_dealloc): XDECREF on the new xmethods field.
3338 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3339 field.
3340 (pspy_get_xmethods): New function.
3341 (pspace_getset): New entry 'xmethods'.
3342 * python/python-internal.h: Add declarations for new functions.
3343 * python/python.c (_initialize_python): Invoke
3344 gdbpy_initialize_xmethods.
3345 * python/lib/gdb/__init__.py (xmethods): New
3346 attribute.
3347 * python/lib/gdb/xmethod.py: New file.
3348 * python/lib/gdb/command/xmethods.py: New file.
3349
58992dc5
SC
33502014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3351
3352 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3353 best match method returned by find_overload_match is an xmethod.
3354 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3355 the best matching operator returned by find_overload_match is an
3356 xmethod.
3357 * valops.c: #include "extension.h".
3358 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3359 Return void. The list of matching source methods is returned in
3360 "fn_list" and a vector of matching debug method workers is
3361 returned in "xm_worker_vec". Update all callers.
3362 (value_find_oload_method_list): Likewise.
3363 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3364 non-NULL, then the index of the best matching method in this
3365 vector is returned. Update all callers.
3366 (find_overload_match): Include xmethods while performing overload
3367 resolution.
3368
e81e7f5e
SC
33692014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3370
3371 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3372 * extension-priv.h (struct extension_language_ops): Add the
3373 xmethod interface.
3374 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3375 get_matching_xmethod_workers, get_xmethod_argtypes,
3376 invoke_xmethod, free_xmethod_worker,
3377 free_xmethod_worker_vec): New functions.
3378 * extension.h: #include "common/vec.h".
3379 New function declarations.
3380 (struct xmethod_worker): New struct.
3381 (VEC (xmethod_worker_ptr)): New vector type.
3382 (xmethod_worker_ptr): New typedef.
3383 (xmethod_worker_vec): Likewise.
3384 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3385 builtin_type.
3386 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3387 (struct builtin_type): New field "xmethod".
3388 * valarith.c (value_ptradd): Assert that the value argument is not
3389 lval_xcallable.
3390 * valops.c (value_must_coerce_to_target): Return 0 for
3391 lval_xcallable values.
3392 * value.c (struct value): New field XM_WORKER in the field
3393 LOCATION.
3394 (value_address, value_raw_address): Return 0 for lval_xcallable
3395 values.
3396 (set_value_address): Assert that the value is not an
3397 lval_xcallable.
3398 (value_free): Free the associated xmethod worker when freeing
3399 lval_xcallable values.
3400 (set_value_component_location): Assert that the WHOLE value is not
3401 lval_xcallable.
3402 (value_of_xmethod, call_xmethod): New functions.
3403 * value.h: Declare "struct xmethod_worker".
3404 Declare new functions value_of_xmethod, call_xmethod.
3405
ef370185
JB
34062014-06-03 Joel Brobecker <brobecker@adacore.com>
3407 Pedro Alves <palves@redhat.com>
3408
3409 PR breakpoints/17000
3410 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3411 New function, extracted from software_breakpoint_inserted_here_p.
3412 (software_breakpoint_inserted_here_p): Replace factored out code
3413 by call to find_non_raw_software_breakpoint_inserted_here.
3414 (bp_target_info_copy_insertion_state): New function.
3415 (bkpt_insert_location): Handle the case of a single-step
3416 breakpoint already inserted at the same address.
3417 (bkpt_remove_location): Handle the case of a single-step
3418 breakpoint still inserted at the same address.
3419 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3420 breakpoint already inserted at the same address.
3421 (deprecated_remove_raw_breakpoint): Handle the case of a
3422 non-raw breakpoint still inserted at the same address.
3423 (find_single_step_breakpoint): New function, extracted from
3424 single_step_breakpoint_inserted_here_p.
3425 (find_single_step_breakpoint): New function,
3426 factored out from single_step_breakpoint_inserted_here_p.
3427 (single_step_breakpoint_inserted_here_p): Reimplement.
3428
1e2ccb61
BM
34292014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3430
3431 Pushed by Joel Brobecker <brobecker@adacore.com>
3432 * source.c (show_substitute_path_command): Fix display of matching
3433 substitution rules.
3434
d3448d85
GB
34352014-06-03 Gary Benson <gbenson@redhat.com>
3436
3437 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3438
06eb1586
DE
34392014-06-02 Doug Evans <xdje42@gmail.com>
3440
3441 Add parameter support for Guile.
3442 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3443 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3444 (scm-param.o): New rule.
3445 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3446 (gdbscm_misc_error): Declare.
3447 (gdbscm_canonicalize_command_name): Declare.
3448 (gdbscm_scm_to_host_string): Declare.
3449 (gdbscm_scm_from_host_string): Declare.
3450 (gdbscm_initialize_parameters): Declare.
3451 * guile/guile.c (initialize_gdb_module): Call
3452 gdbscm_initialize_parameters.
3453 * guile/lib/gdb.scm: Export parameter symbols.
3454 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3455 cmdscm_canonicalize_name and made public. All callers updated.
3456 * guile/scm-exception.c (gdbscm_misc_error): New function.
3457 * guile/scm-param.c: New file.
3458 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3459 (gdbscm_scm_to_host_string): New function.
3460 (gdbscm_scm_from_host_string): New function.
3461 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3462
e698b8c4
DE
34632014-06-02 Doug Evans <xdje42@gmail.com>
3464
3465 Add command support for Guile.
3466 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3467 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3468 (scm-cmd.o): New rule.
3469 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3470 (gdbscm_user_error_p): Declare.
3471 (gdbscm_parse_command_name): Declare.
3472 (gdbscm_valid_command_class_p): Declare.
3473 (gdbscm_initialize_commands): Declare.
3474 * guile/guile.c (initialize_gdb_module): Call
3475 gdbscm_initialize_commands.
3476 * guile/lib/gdb.scm: Export command symbols.
3477 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3478 (throw-user-error): New function.
3479 * guile/scm-cmd.c: New file.
3480 * guile/scm-exception.c (user_error_symbol): New static global.
3481 (gdbscm_user_error_p): New function.
3482 (gdbscm_initialize_exceptions): Set user_error_symbol.
3483 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3484
fb1f94b0
PM
34852014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3486
3487 * top.c (command_loop): Handle comments here...
3488 (command_line_input): ... not here.
3489
ded03782
DE
34902014-06-02 Doug Evans <xdje42@gmail.com>
3491
3492 Add progspace support for Guile.
3493 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3494 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3495 (scm-progspace.o): New rule.
3496 * guile/guile-internal.h (pspace_smob): New typedef.
3497 (psscm_pspace_smob_pretty_printers): Declare.
3498 (psscm_pspace_smob_from_pspace): Declare.
3499 (psscm_scm_from_pspace): Declare.
3500 * guile/guile.c (initialize_gdb_module): Call
3501 gdbscm_initialize_pspaces.
3502 * guile/lib/gdb.scm: Export progspace symbols.
3503 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3504 support.
3505 (append-pretty-printer!): Ditto.
3506 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3507 Implement.
3508 * guile/scm-progspace.c: New file.
3509
397998fc
AM
35102014-06-03 Alan Modra <amodra@gmail.com>
3511
3512 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3513 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3514
6aa5f3a6
DE
35152014-06-02 Doug Evans <dje@google.com>
3516
3517 Add support for skeletonless type units.
3518 * dwarf2read.c (struct dwarf2_per_objfile): New member
3519 n_allocated_type_units.
3520 (struct dwarf2_per_objfile) <tu_stats>: New member
3521 nr_all_type_units_reallocs.
3522 (create_signatured_type_table_from_index): Initialize
3523 n_allocated_type_units
3524 (create_all_type_units): Ditto.
3525 (add_type_unit): Move up in file. New arg slot.
3526 All callers updated. Increase space for all_type_units more
3527 efficiently.
3528 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3529 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3530 (lookup_dwp_signatured_type): Ditto.
3531 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3532 All callers updated.
3533 (build_type_psymtabs_1): Leave type_unit_groups as
3534 NULL if no TUs present.
3535 (print_tu_stats): New function.
3536 (process_skeletonless_type_unit): New function.
3537 (process_dwo_file_for_skeletonless_type_units): New
3538 function.
3539 (process_skeletonless_type_units): New function.
3540 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3541 Call print tu_stats if debugging enabled.
3542
41fac0cf
PA
35432014-06-02 Pedro Alves <palves@redhat.com>
3544
3545 * breakpoint.c (build_target_command_list): Don't build a command
3546 list if we have any duplicate location that isn't a dprintf.
3547
cd1608cc
PA
35482014-06-02 Pedro Alves <palves@redhat.com>
3549
3550 * breakpoint.c (dprintf_breakpoint_hit): New function.
3551 (initialize_breakpoint_ops): Install it as dprintf's
3552 breakpoint_hit method.
3553
486ef3b9
JB
35542014-06-02 Joel Brobecker <brobecker@adacore.com>
3555
3556 * source.c (substitute_path_rule_matches): Simplify using
3557 filename_ncmp instead of FILENAME_CMP.
3558
230cd560
JB
35592014-06-02 Joel Brobecker <brobecker@adacore.com>
3560
3561 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3562
16954d5d
LC
35632014-06-01 Ludovic Courtès <ludo@gnu.org>
3564
3565 * configure.ac: When Guile is available, check for the
3566 availability of 'scm_new_smob'.
3567 * configure, config.h.in: Regenerate.
3568 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3569 function.
3570
53e8a631
AB
35712014-05-30 Andrew Burgess <aburgess@broadcom.com>
3572
3573 * frame.c (struct frame_info): Add stop_string field.
3574 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3575 (get_prev_frame_always): Old content moved into
3576 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3577 TRY_CATCH, handle MEMORY_ERROR exceptions.
3578 (frame_stop_reason_string): New function definition.
3579 * frame.h (unwind_stop_reason_to_string): Extend comment to
3580 mention frame_stop_reason_string.
3581 (frame_stop_reason_string): New function declaration.
3582 * stack.c (frame_info): Switch to frame_stop_reason_string.
3583 (backtrace_command_1): Switch to frame_stop_reason_string.
3584 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3585 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3586 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3587
70e38b8e
AB
35882014-05-30 Andrew Burgess <aburgess@broadcom.com>
3589
3590 * frame.c (frame_stop_reason_string): Rename to ...
3591 (unwind_stop_reason_to_string): this.
3592 * frame.h (frame_stop_reason_string): Rename to ...
3593 (unwind_stop_reason_to_string): this.
3594 * stack.c (frame_info): Update call to frame_stop_reason_string.
3595 (backtrace_command_1): Likewise.
3596 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3597 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3598
938f0e2f
AB
35992014-05-30 Andrew Burgess <aburgess@broadcom.com>
3600
3601 * frame.c (remove_prev_frame): New function.
3602 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3603 remove_prev_frame.
3604
a09dd441
PA
36052014-05-29 Pedro Alves <palves@redhat.com>
3606
3607 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3608 and make it const. When a single-step decays to a continue,
3609 clear 'step', not 'hw_step'. Pass whether the caller wanted
3610 to step to user_visible_resume_ptid, not what we ask the
3611 target to do.
3612
bdc36728
PA
36132014-05-29 Pedro Alves <palves@redhat.com>
3614
3615 * infrun.c (process_event_stop_test, handle_step_into_function)
3616 (handle_step_into_function_backward): Adjust.
3617 Don't set the even thread's stop_step and call stop_waiting before
3618 calling end_stepping_range. Instead do that ...
3619 (end_stepping_range): ... here. Take an ecs pointer parameter.
3620
22bcd14b
PA
36212014-05-29 Pedro Alves <palves@redhat.com>
3622
3623 * infrun.c (stop_stepping): Rename to ...
3624 (stop_waiting): ... this.
3625 (proceed): Update comment.
3626 (process_event_stop_test, handle_inferior_event)
3627 (handle_signal_stop, handle_step_into_function)
3628 (handle_step_into_function_backward): Update.
3629
4ae57c05
PA
36302014-05-29 Pedro Alves <palves@redhat.com>
3631
3632 * infcall.c (run_inferior_call): Don't check whether the current
3633 thread is running after the proceed call.
3634
329ea579
PA
36352014-05-29 Pedro Alves <palves@redhat.com>
3636 Tom Tromey <tromey@redhat.com>
3637
3638 * NEWS: Mention "maint set target-async", "set mi-async", and that
3639 background execution commands are now always available.
3640 * target.h (target_async_permitted): Update comment.
3641 * target.c (target_async_permitted, target_async_permitted_1):
3642 Default to 1.
3643 (set_target_async_command): Rename to ...
3644 (maint_set_target_async_command): ... this.
3645 (show_target_async_command): Rename to ...
3646 (maint_show_target_async_command): ... this.
3647 (_initialize_target): Adjust.
3648 * infcmd.c (prepare_execution_command): Make extern.
3649 * inferior.h (prepare_execution_command): Declare.
3650 * infrun.c (set_observer_mode): Leave target async alone.
3651 * mi/mi-interp.c (mi_interpreter_init): Install
3652 mi_on_sync_execution_done as sync_execution_done observer.
3653 (mi_on_sync_execution_done): New function.
3654 (mi_execute_command_input_handler): Don't print the prompt if we
3655 just started a synchronous command with an async target.
3656 (mi_on_resume): Check sync_execution before printing prompt.
3657 * mi/mi-main.h (mi_async_p): Declare.
3658 * mi/mi-main.c: Include gdbcmd.h.
3659 (mi_async_p): New function.
3660 (mi_async, mi_async_1): New globals.
3661 (set_mi_async_command, show_mi_async_command, mi_async): New
3662 functions.
3663 (exec_continue): Call prepare_execution_command.
3664 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3665 (mi_execute_async_cli_command): Use mi_async_p.
3666 (_initialize_mi_main): Install "set mi-async". Make
3667 "target-async" a deprecated alias.
3668
92bcb5f9
PA
36692014-05-29 Pedro Alves <palves@redhat.com>
3670
3671 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3672 (_initialize_cli_interp): Adjust.
3673 * event-loop.c: Include "observer.h".
3674 (start_event_loop): Notify 'command_error' observers instead of
3675 calling display_gdb_prompt. Remove FIXME comment.
3676 * event-top.c (display_gdb_prompt): Remove call into the
3677 interpreters.
3678 * inf-loop.c: Include "observer.h".
3679 (inferior_event_handler): Notify 'command_error' observers instead
3680 of calling display_gdb_prompt.
3681 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3682 observers instead of calling display_gdb_prompt.
3683 * interps.c (interp_set): Don't call display_gdb_prompt.
3684 (current_interp_display_prompt_p): Delete.
3685 * interps.h (interp_prompt_p): Delete declaration.
3686 (interp_prompt_p_ftype): Delete.
3687 (struct interp_procs) <prompt_proc_p>: Delete field.
3688 (current_interp_display_prompt_p): Delete declaration.
3689 * mi-interp.c (mi_interpreter_prompt_p): Delete.
3690 (_initialize_mi_interp): Adjust.
3691 * tui-interp.c (tui_init): Install 'sync_execution_done' and
3692 'command_error' observers.
3693 (tui_on_sync_execution_done, tui_on_command_error): New
3694 functions.
3695 (tui_display_prompt_p): Delete.
3696 (_initialize_tui_interp): Adjust.
3697
fd664c91
PA
36982014-05-29 Pedro Alves <palves@redhat.com>
3699
3700 PR gdb/13860
3701 * cli/cli-interp.c: Include infrun.h and observer.h.
3702 (cli_uiout, cli_interp): New globals.
3703 (cli_on_signal_received, cli_on_end_stepping_range)
3704 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
3705 functions.
3706 (cli_interpreter_init): Install them as 'end_stepping_range',
3707 'signal_received' 'signal_exited', 'exited' and 'no_history'
3708 observers.
3709 (_initialize_cli_interp): Remove cli_interp local.
3710 * infrun.c (handle_inferior_event): Call the several stop reason
3711 observers instead of printing the stop reason directly.
3712 (end_stepping_range): New function.
3713 (print_end_stepping_range_reason, print_signal_exited_reason)
3714 (print_exited_reason, print_signal_received_reason)
3715 (print_no_history_reason): Make static, and add an uiout
3716 parameter. Print to that instead of to CURRENT_UIOUT.
3717 * infrun.h (print_end_stepping_range_reason)
3718 (print_signal_exited_reason, print_exited_reason)
3719 (print_signal_received_reason print_no_history_reason): New
3720 declarations.
3721 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
3722 'mi_uiout'.
3723 <cli_uiout>: New field.
3724 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
3725 uiout for CLI output. Install 'signal_received',
3726 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
3727 observers.
3728 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
3729 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
3730 (mi_on_no_history): New functions.
3731 (ui_out_free_cleanup): Delete function.
3732 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
3733 instead use the one already stored in the MI interpreter data.
3734 (mi_ui_out): Adjust.
3735 * tui/tui-interp.c: Include infrun.h and observer.h.
3736 (tui_interp): New global.
3737 (tui_on_signal_received, tui_on_end_stepping_range)
3738 (tui_on_signal_exited, tui_on_exited)
3739 (tui_on_no_history): New functions.
3740 (tui_init): Install them as 'end_stepping_range',
3741 'signal_received' 'signal_exited', 'exited' and 'no_history'
3742 observers.
3743 (_initialize_tui_interp): Delete tui_interp local.
3744
8817a6f2
PA
37452014-05-29 Pedro Alves <palves@redhat.com>
3746
3747 PR gdb/15713
3748 * linux-nat.c (linux_nat_resume_callback): Rename the second
3749 parameter to 'except'. Skip LP if it points to EXCEPT.
3750 (linux_nat_resume): Don't mark the event lwp as not stopped
3751 before resuming sibling lwps. Instead ask
3752 linux_nat_resume_callback to skip the event lwp. Mark it as not
3753 stopped after actually resuming it.
3754 (linux_handle_syscall_trap): Mark the lwp as not stopped after
3755 resuming it.
3756 (wait_lwp): Mark the lwp as stopped here.
3757 (stop_wait_callback): Mark the lwp as not stopped right after
3758 resuming it. Don't mark lwps as stopped here.
3759 (linux_nat_filter_event): Mark the lwp as stopped earlier.
3760 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
3761
251bde03
PA
37622014-05-29 Pedro Alves <palves@redhat.com>
3763
3764 PR PR15693
3765 * infrun.c (resume): Determine how much to resume depending on
3766 whether the caller wanted a step, not whether we can hardware step
3767 the target. Mark all threads that we intend to run as running,
3768 unless we're calling an inferior function.
3769 (normal_stop): If the thread is running an infcall, don't finish
3770 thread state.
3771 * target.c (target_resume): Don't mark threads as running here.
3772
7f3c0343
JB
37732014-05-28 Joel Brobecker <brobecker@adacore.com>
3774
3775 * serial.c (_initialize_serial): Remove support for
3776 the "set remotebaud" and "show remotebaud" commands.
3777 * NEWS: Add entry documenting the removal of that command.
3778
ee34b3f9
YQ
37792014-05-28 Yao Qi <yao@codesourcery.com>
3780
3781 * charset.c: Fix typo in comments.
3782
add6c04d
GB
37832014-05-27 Gary Benson <gbenson@redhat.com>
3784
3785 * utils.c (internal_vproblem): Prompt for a bug report.
3786
92c48fc5
AW
37872014-05-26 Andy Wingo <wingo@igalia.com>
3788
3789 * guile/scm-arch.c (arscm_mark_arch_smob):
3790 * guile/scm-block.c (bkscm_mark_block_smob)
3791 (bkscm_mark_block_syms_progress_smob):
3792 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
3793 * guile/scm-exception.c (exscm_mark_exception_smob):
3794 * guile/scm-frame.c (frscm_mark_frame_smob):
3795 * guile/scm-iterator.c (itscm_mark_iterator_smob):
3796 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
3797 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
3798 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
3799 (ppscm_mark_pretty_printer_worker_smob):
3800 * guile/scm-symbol.c (syscm_mark_symbol_smob):
3801 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
3802 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
3803 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
3804 mark functions.
3805 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
3806 function.
3807
b2715b27
AW
38082014-05-26 Andy Wingo <wingo@igalia.com>
3809 Doug Evans <xdje42@gmail.com>
3810
3811 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
3812 empty_base_class. All uses updated.
3813 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
3814 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
3815 Adapt all callers.
3816 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
3817 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
3818 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
3819 (gdbscm_gsmob_has_property_p, add_property_name)
3820 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
3821 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
3822 (gdb-object-has-property?, gdb-object-properties): Remove.
3823 (gdb-object-kind): Renamed from gsmob-kind.
3824
214ab2da
AW
38252014-05-26 Andy Wingo <wingo@igalia.com>
3826
3827 * configure.ac (try_guile_versions): Allow building with guile 2.2.
3828 * configure: Regenerate.
3829
589fdceb
MM
38302014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3831
3832 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
3833
67b5c0c1
MM
38342014-05-23 Markus Metzger <markus.t.metzger@intel.com>
3835
3836 * record-btrace.c (record_btrace_allow_memory_access): Remove.
3837 (replay_memory_access_read_only, replay_memory_access_read_write)
3838 (replay_memory_access_types, replay_memory_access)
3839 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
3840 (cmd_set_record_btrace, cmd_show_record_btrace)
3841 (cmd_show_replay_memory_access): New.
3842 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
3843 (record_btrace_remove_breakpoint): Replace
3844 record_btrace_allow_memory_access with replay_memory_access.
3845 (_initialize_record_btrace): Add commands.
3846 * NEWS: Announce it.
3847
036cd381
RR
38482014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3849
3850 * aarch64-linux-nat.c (asm/ptrace.h): Include.
3851
c77c1e42
RR
38522014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3853
3854 * MAINTAINERS (Write After Approval): Move self back from
3855 paper trail.
3856
45741a9c
PA
38572014-05-22 Pedro Alves <palves@redhat.com>
3858
3859 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
3860 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
3861 (disable_randomization, enum exec_direction_kind)
3862 (execution_direction, stop_registers, start_remote)
3863 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
3864 (wait_for_inferior, normal_stop, get_last_target_status)
3865 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
3866 (insert_step_resume_breakpoint_at_sal)
3867 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
3868 (set_step_info, print_stop_event, signal_stop_state)
3869 (signal_print_state, signal_pass_state, signal_stop_update)
3870 (signal_print_update, signal_pass_update)
3871 (update_signals_program_target, clear_exit_convenience_vars)
3872 (displaced_step_dump_bytes, update_observer_mode)
3873 (signal_catch_update, gdb_signal_from_command): Move
3874 declarations ...
3875 * infrun.h: ... to this new file.
3876 * amd64-tdep.c: Include infrun.h.
3877 * annotate.c: Include infrun.h.
3878 * arch-utils.c: Include infrun.h.
3879 * arm-linux-tdep.c: Include infrun.h.
3880 * arm-tdep.c: Include infrun.h.
3881 * break-catch-sig.c: Include infrun.h.
3882 * breakpoint.c: Include infrun.h.
3883 * common/agent.c: Include infrun.h instead of inferior.h.
3884 * corelow.c: Include infrun.h.
3885 * event-top.c: Include infrun.h.
3886 * go32-nat.c: Include infrun.h.
3887 * i386-tdep.c: Include infrun.h.
3888 * inf-loop.c: Include infrun.h.
3889 * infcall.c: Include infrun.h.
3890 * infcmd.c: Include infrun.h.
3891 * infrun.c: Include infrun.h.
3892 * linux-fork.c: Include infrun.h.
3893 * linux-nat.c: Include infrun.h.
3894 * linux-thread-db.c: Include infrun.h.
3895 * monitor.c: Include infrun.h.
3896 * nto-tdep.c: Include infrun.h.
3897 * procfs.c: Include infrun.h.
3898 * record-btrace.c: Include infrun.h.
3899 * record-full.c: Include infrun.h.
3900 * remote-m32r-sdi.c: Include infrun.h.
3901 * remote-mips.c: Include infrun.h.
3902 * remote-notif.c: Include infrun.h.
3903 * remote-sim.c: Include infrun.h.
3904 * remote.c: Include infrun.h.
3905 * reverse.c: Include infrun.h.
3906 * rs6000-tdep.c: Include infrun.h.
3907 * s390-linux-tdep.c: Include infrun.h.
3908 * solib-irix.c: Include infrun.h.
3909 * solib-osf.c: Include infrun.h.
3910 * solib-svr4.c: Include infrun.h.
3911 * target.c: Include infrun.h.
3912 * top.c: Include infrun.h.
3913 * windows-nat.c: Include infrun.h.
3914 * mi/mi-interp.c: Include infrun.h.
3915 * mi/mi-main.c: Include infrun.h.
3916 * python/py-threadevent.c: Include infrun.h.
3917
98eb56a4
PA
39182014-05-22 Pedro Alves <palves@redhat.com>
3919
3920 * infrun.c (handle_inferior_event): Store the exit code for
3921 --return-child-result here, instead of ...
3922 (print_exited_reason): ... here.
3923
17b2616c
PA
39242014-05-21 Pedro Alves <palves@redhat.com>
3925
3926 PR gdb/13860
3927 * gdbthread.h (struct thread_control_state): New field
3928 `command_interp'.
3929 * infrun.c (follow_fork): Copy the new thread control field to the
3930 child fork thread.
3931 (clear_proceed_status_thread): Clear the new thread control field.
3932 (proceed): Set the new thread control field.
3933 * interps.h (command_interp): Declare.
3934 * interps.c (command_interpreter): New global.
3935 (command_interp): New function.
3936 (interp_exec): Set `command_interpreter' while here.
3937 * cli-out.c (cli_uiout_dtor): New function.
3938 (cli_ui_out_impl): Install it.
3939 * mi/mi-interp.c: Include cli-out.h.
3940 (mi_cmd_interpreter_exec): Add comment.
3941 (restore_current_uiout_cleanup): New function.
3942 (ui_out_free_cleanup): New function.
3943 (mi_on_normal_stop): If finishing an execution command started by
3944 a CLI command, or any kind of breakpoint-like event triggered,
3945 print the stop event to the output (CLI) stream.
3946 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
3947
5166082f
PA
39482014-05-21 Pedro Alves <palves@redhat.com>
3949
3950 * cli/cli-cmds.c (list_command): Handle the first "list" after the
3951 current source line having changed.
3952 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
3953 * infrun.c (normal_stop): Adjust call to
3954 set_current_sal_from_frame.
3955 * source.c (clear_lines_listed_range): New function.
3956 (set_current_source_symtab_and_line, identify_source_line): Clear
3957 the lines listed range.
3958 (line_info): Handle the first "info line" after the current source
3959 line having changed.
3960 * stack.c (print_stack_frame): Remove center handling.
3961 (set_current_sal_from_frame): Remove 'center' parameter. Don't
3962 center sal.line.
3963
c1ee2fb3
PA
39642014-05-21 Pedro Alves <palves@redhat.com>
3965
3966 * inf-child.c (inf_child_mourn_inferior): New function.
3967 * inf-child.h (inf_child_mourn_inferior): New declaration.
3968 * darwin-nat.c (darwin_mourn_inferior): Use
3969 inf_child_mourn_inferior.
3970 * gnu-nat.c (gnu_mourn_inferior): Likewise.
3971 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
3972 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
3973 * nto-procfs.c (procfs_mourn_inferior): Likewise.
3974 * windows-nat.c (windows_mourn_inferior): Likewise.
3975
5c6d4fb2
DE
39762014-05-21 Doug Evans <xdje42@gmail.com>
3977
250748cb 3978 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 3979
4a2722c5
DE
39802014-05-21 Doug Evans <xdje42@gmail.com>
3981
17292b30 3982 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
3983 (gdbscm_out_of_range_error): Ditto.
3984 (gdbscm_memory_error): Ditto.
250748cb
DE
3985 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
3986 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
3987 (gdbscm_out_of_range_error): Update.
3988 (gdbscm_memory_error): Update.
3989 (gdbscm_scm_to_target_string_unsafe): Delete.
3990
6a3cb8e8
PA
39912014-05-21 Pedro Alves <palves@redhat.com>
3992
3993 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
3994 globals.
3995 (inf_child_open_target): New function.
3996 (inf_child_open): Use inf_child_open_target to push the target
3997 instead of erroring out.
3998 (inf_child_disconnect, inf_child_close)
3999 (inf_child_maybe_unpush_target): New functions.
4000 (inf_child_target): Install inf_child_disconnect and
4001 inf_child_close. Store a pointer to the returned object.
4002 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4003 declarations.
4004 * target.c (auto_connect_native_target): New global.
4005 (show_default_run_target): New function.
4006 (find_default_run_target): Return NULL if automatically connecting
4007 to the native target is disabled.
4008 (_initialize_target): Install set/show auto-connect-native-target.
4009 * NEWS: Mention "set auto-connect-native-target", and "target
4010 native".
4011 * linux-nat.c (super_close): New global.
4012 (linux_nat_close): Call super_close.
4013 (linux_nat_add_target): Store a pointer to the base class's
4014 to_close method.
4015 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4016 inf_child_maybe_unpush.
4017 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4018 already pushed.
4019 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4020 the inferior. Use inf_child_maybe_unpush_target.
4021 (inf_ttrace_attach): Don't push the target if it is already
4022 pushed.
4023 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4024 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4025 after mourning the inferior. Use inf_child_maybe_unpush_target.
4026 (darwin_attach_pid): Don't push the target if it is already
4027 pushed.
4028 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4029 mourning the inferior. Use inf_child_maybe_unpush_target.
4030 (gnu_detach): Use inf_child_maybe_unpush_target.
4031 * go32-nat.c (go32_create_inferior): Don't push the target if it
4032 is already pushed.
4033 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4034 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4035 (procfs_open): Rename to ...
4036 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4037 comments. Can target_preopen before changing node. Call
4038 inf_child_open_target to push the target explicitly.
4039 (procfs_attach): Don't push the target if it is already pushed.
4040 (procfs_detach): Use inf_child_maybe_unpush_target.
4041 (procfs_create_inferior): Don't push the target if it is already
4042 pushed.
4043 (nto_native_ops): New global.
4044 (procfs_open): Reimplement.
4045 (procfs_native_open): New function.
4046 (init_procfs_targets): Install procfs_native_open as to_open of
4047 "target native". Store a pointer to the "native" target in
4048 nto_native_ops.
4049 * procfs.c (procfs_attach): Don't push the target if it is already
4050 pushed.
4051 (procfs_detach): Use inf_child_maybe_unpush_target.
4052 (procfs_mourn_inferior): Only unpush the target after mourning the
4053 inferior. Use inf_child_maybe_unpush_target.
4054 (procfs_init_inferior): Don't push the target if it is already
4055 pushed.
4056 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4057 if it is already pushed.
4058
930ee1b1
PA
40592014-05-21 Pedro Alves <palves@redhat.com>
4060
4061 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4062 and "procfs" targets are now called "native" instead.
4063
1f5d1b13
PA
40642014-05-21 Pedro Alves <palves@redhat.com>
4065
4066 * go32-nat.c (go32_open): Delete.
4067 (go32_target): Don't override the to_open method.
4068
132f8e03
PA
40692014-05-21 Pedro Alves <palves@redhat.com>
4070
4071 * nto-procfs.c (procfs_can_run): New function.
4072 (nto_procfs_ops): New global.
4073 (init_procfs_targets): New, based on procfs_target. Install
4074 "target native" in addition to "target procfs".
4075 (_initialize_procfs): Call init_procfs_targets instead of adding
4076 the target here.
4077
03c136c3
PA
40782014-05-21 Pedro Alves <palves@redhat.com>
4079
4080 * windows-nat.c (windows_target): Don't override to_shortname,
4081 to_longname or to_doc.
4082
a635d0f3
PA
40832014-05-21 Pedro Alves <palves@redhat.com>
4084
4085 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4086 to_doc.
4087
4f9b5133
PA
40882014-05-21 Pedro Alves <palves@redhat.com>
4089
4090 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4091 to_shortname, to_longname or to_doc.
4092
bc85afde
PA
40932014-05-21 Pedro Alves <palves@redhat.com>
4094
4095 * go32-nat.c (go32_target): Don't override to_shortname,
4096 to_longname or to_doc.
4097
4ebfc96e
PA
40982014-05-21 Pedro Alves <palves@redhat.com>
4099
4100 * inf-child.c (inf_child_open): Remove mention of "child".
4101 (inf_child_target): Rename target to "native" instead of "child".
4102
2648dfed
AA
41032014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4104
4105 * Makefile.in (SFILES): Delete "regset.c".
4106 (COMMON_OBS): Delete "regset.o".
4107 * regset.c: Remove.
4108 * regset.h (regset_alloc): Delete prototype.
4109
b13feb94
AA
41102014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4111
4112 * sparc-linux-tdep.c (sparc32_linux_gregset)
4113 (sparc32_linux_fpregset): New static regset structures.
4114 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4115 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4116 'fpregset' fields.
4117 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4118 (sparc64_linux_fpregset): New static regset structures.
4119 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4120 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4121 New static regset structures.
4122 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4123 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4124 New static regset structures.
4125 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4126 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4127 New static regset structures.
4128 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4129 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4130 New static regset structures.
4131 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4132
b4fd25c9
AA
41332014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4134
4135 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4136 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4137 register maps ("regmaps") from "*regset" to "*regmap". Do this
4138 for all regmap types and variables.
4139 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4140 (sparc32_linux_supply_core_gregset)
4141 (sparc32_linux_collect_core_gregset)
4142 (sparc32_linux_supply_core_fpregset)
4143 (sparc32_linux_collect_core_fpregset): Likewise.
4144 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4145 (sparc_gregmap, sparc_fpregmap): ... these.
4146 (sparc_supply_gregset, sparc_collect_gregset)
4147 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4148 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4149 (_initialize_sparc_nat): Rename regmaps.
4150 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4151 (sparc_gregmap, sparc_fpregmap): ... these.
4152 (sparc_supply_gregset, sparc_collect_gregset)
4153 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4154 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4155 Rename macros to...
4156 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4157 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4158 Likewise.
4159 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4160 Rename to...
4161 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4162 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4163 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4164 regmaps.
4165 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4166 (sparc32_bsd_fpregset): Rename to...
4167 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4168 (sparc32_bsd_fpregmap): ... these.
4169 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4170 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4171 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4172 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4173 (struct sparc_gregmap, struct sparc_fpregmap)
4174 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4175 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4176 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4177 (sparc32_supply_regset, sparc32_collect_gregset)
4178 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4179 prototypes.
4180 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4181 (sparc64_linux_ptrace_gregmap): ... this.
4182 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4183 (_initialize_sparc64_linux_nat): Rename regmaps.
4184 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4185 (sparc64_linux_core_gregmap): ... this.
4186 (sparc64_linux_supply_core_gregset)
4187 (sparc64_linux_collect_core_gregset)
4188 (sparc64_linux_supply_core_fpregset)
4189 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4190 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4191 (sparc64_sol2_fpregset): Rename to...
4192 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4193 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4194 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4195 regmaps.
4196 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4197 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4198 (sparc64_bsd_fpregset): Rename to...
4199 (struct sparc_gregmap, sparc64_sol2_gregmap)
4200 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4201 (sparc64_bsd_fpregmap): ... these.
4202 (sparc64_supply_gregset, sparc64_collect_gregset)
4203 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4204 prototypes.
4205 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4206 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4207 (sparc64fbsd_gregmap): ... this.
4208 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4209 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4210 Rename regmaps.
4211 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4212 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4213 (sparc64nbsd_collect_fpregset): Likewise.
4214 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4215 (sparc64nbsd_gregmap): ... this.
4216 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4217 regmaps.
4218 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4219 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4220 (sparc64obsd_gregmap): ... this.
4221 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4222 regmaps.
4223 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4224 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4225 (sparc32nbsd_gregmap): ... this.
4226 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4227 regmaps.
4228
8fea3224
AA
42292014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4230
4231 * score-tdep.c (score7_linux_gregset): New static regset
4232 structure.
4233 (score7_linux_regset_from_core_section): Remove dynamic regset
4234 allocation.
4235 (score_gdbarch_init): Drop allocation of tdep structure.
4236 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4237
24534243
AA
42382014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4239
4240 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4241 regset structures.
4242 (am33_regset_from_core_section): Remove dynamic regset
4243 allocations.
4244
b7195f27
AA
42452014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4246
4247 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4248 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4249 structures.
4250 (mips_linux_regset_from_core_section): Remove dynamic regset
4251 allocations.
4252 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4253 'gregset64', 'fpregset', and 'fpregset64'.
4254 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4255 deleted tdep fields.
4256
ecc37a5a
AA
42572014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4258
4259 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4260 regset structures.
4261 (amd64_regset_from_core_section): Remove dynamic regset
4262 allocations.
4263 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4264 structure.
4265 (amd64obsd_regset_from_core_section): Remove dynamic regset
4266 allocation.
4267 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4268 Likewise.
4269 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4270 x86-common regset supply function.
4271 * i386-tdep.c (i386_collect_gregset): Make static.
4272 (i386_gregset): New global regset structure.
4273 (i386_fpregset, i386_xstateregset): New static regset structures.
4274 (i386_regset_from_core_section): Remove dynamic regset
4275 allocations.
4276 (i386_gdbarch_init): Remove initialization of tdep fields
4277 'gregset', 'fpregset', and 'xstateregset'.
4278 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4279 'fpregset', and 'xstateregset'.
4280 (i386_collect_gregset): Remove prototype.
4281 (i386_gregset): New declaration.
4282 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4283 structure.
4284 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4285 allocation.
4286
b7611c43
AA
42872014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4288
4289 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4290 (arm_linux_vfpregset): New static regset structures.
4291 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4292 regset structures.
4293 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4294 and 'vfpregset' fields.
4295
a069a2bd
AA
42962014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4297
4298 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4299 (aarch64_linux_fpregset): New static regset structures.
4300 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4301 of regset structures.
4302 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4303 'fpregset' fields.
4304
09424cff
AA
43052014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4306
4307 * regset.h (struct regset): Remove gdbarch field.
4308 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4309 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4310 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4311 Likewise.
4312 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4313 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4314 (ppc32_linux_vsxregset): Likewise.
4315 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4316 via the regcache instead of the regset.
4317 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4318 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4319 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4320 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4321 Likewise.
4322
3ca7dae4
AA
43232014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4324
4325 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4326 Constify structures.
4327 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4328 (alphanbsd_aout_gregset): Likewise.
4329 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4330 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4331 Likewise.
4332 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4333 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4334 Likewise.
4335 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4336 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4337 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4338 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4339 * m88k-tdep.c (m88k_gregset): Likewise.
4340 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4341 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4342 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4343 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4344 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4345 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4346 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4347 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4348 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4349 Likewise.
4350 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4351 * sh-tdep.h (sh_corefile_gregset): Likewise.
4352 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4353 * vax-tdep.c (vax_gregset): Likewise.
4354
5876f503
JK
43552014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4356
4357 Fix TLS access for -static -pthread.
4358 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4359 (try_thread_db_load_1): Initialize it.
4360 (thread_db_get_thread_local_address): Call it if LM is zero.
4361 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4362 * target.h (struct target_ops) (to_get_thread_local_address): Add
4363 load_module_addr comment.
4364
0256a6ac
PA
43652014-05-21 Pedro Alves <palves@redhat.com>
4366
4367 * dcache.c (dcache_read_memory_partial): If reading the cache line
4368 fails, fallback to reading just the memory the caller wanted.
4369
227533ac
DE
43702014-05-20 Doug Evans <dje@google.com>
4371
4372 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4373 instead of get_current_arch.
4374
936d2992
PA
43752014-05-20 Pedro Alves <palves@redhat.com>
4376
4377 * NEWS: Mention that compare-sections now works with all targets.
4378
4379 * remote.c (PACKET_qCRC): New enum value.
4380 (remote_verify_memory): Don't send qCRC if the target has no
4381 execution. Use packet_support/packet_ok. If the target doesn't
4382 support the qCRC packet, fallback to a deep memory copy.
4383 (compare_sections_command): Say "target image" instead of "remote
4384 executable".
4385 (_initialize_remote): Add PACKET_qCRC to the list of config
4386 packets that have no associated command. Extend comment.
4387 * target.c (simple_verify_memory, default_verify_memory): New
4388 function.
4389 * target.h (struct target_ops) <to_verify_memory>: Default to
4390 default_verify_memory.
4391 (simple_verify_memory): New declaration.
4392 * target-delegates.c: Regenerate.
4393
e59fa00f
MM
43942014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4395
4396 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4397
f2205de0
HZ
43982014-05-20 Hui Zhu <hui@codesourcery.com>
4399 Yao Qi <yao@codesourcery.com>
4400
4401 PR backtrace/16558
4402 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4403 and change address of sp and pc.
4404
c4e54771
TT
44052014-05-19 Tom Tromey <tromey@redhat.com>
4406
4407 * gdbtypes.c (rank_function): Use XNEWVEC.
4408 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4409
73051182
DE
44102014-05-19 Doug Evans <dje@google.com>
4411
4412 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4413 build_type_unit_groups and moved closer to only caller. Remove
4414 arguments. All references updated. Remove outdated .gdb_index
4415 comment.
4416 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4417 build_type_psymtabs_1.
4418
8832e7e3
DE
44192014-05-19 Doug Evans <dje@google.com>
4420
4421 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4422 n_type_unit_groups, all_type_unit_groups. All uses removed.
4423 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4424 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4425 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4426 (add_type_unit_group_to_table): Delete.
4427
cd8ae15e
DE
44282014-05-19 Doug Evans <dje@google.com>
4429
4430 * eval.c (evaluate_subexp_standard): Add some comments.
4431
08f4850b
DE
44322014-05-17 Doug Evans <xdje42@gmail.com>
4433
4434 * progspace.c (remove_program_space): Delete, unused.
4435 * progspace.h (remove_program_space): Ditto.
4436
bed8455c
DE
44372014-05-17 Doug Evans <xdje42@gmail.com>
4438
4439 * inferior.c (prune_inferiors): Fix comment.
4440 (remove_inferior_command): Call prune_program_spaces.
4441
8d551b02
DE
44422014-05-16 Doug Evans <dje@google.com>
4443
4444 New command line option -D.
4445 * NEWS: Mention it.
4446 * main.c (set_gdb_data_directory): New function.
4447 (captured_main): Recognize -D. Flag error for --data-directory "".
4448 Call set_gdb_data_directory.
4449 (print_gdb_help): Print --data-directory, -D.
4450 * main.h (set_gdb_data_directory): Declare.
4451 * top.c (staged_gdb_datadir): New static global.
4452 (set_gdb_datadir): Call set_gdb_data_directory
4453 (show_gdb_datadir): New function.
4454 (init_main): Update init of data-directory parameter.
4455
18848e28
GF
44562014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4457
4458 Import the "dirfd" gnulib module.
4459 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4460 * gnulib/aclocal.m4: Update.
4461 * gnulib/config.in: Update.
4462 * gnulib/configure: Update.
4463 * gnulib/import/Makefile.am: Update.
4464 * gnulib/import/Makefile.in: Update.
4465 * gnulib/import/dirfd.c: New.
4466 * gnulib/import/m4/dirfd.m4: New.
4467 * gnulib/import/m4/gnulib-cache.m4: Update.
4468 * gnulib/import/m4/gnulib-comp.m4: Update.
4469
95c64f92
YQ
44702014-05-16 Pierre Muller <muller@sourceware.org>
4471 Yao Qi <yao@codesourcery.com>
4472
4473 * valprint.c (print_wchar): Move the code on checking whether
4474 W is a printable wide char to the default branch of switch
4475 statement below. Call wchar_printable instead of gdb_iswprint.
4476
cac395ea
TM
44772014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4478
19679eca 4479 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4480 ldr.w and ldrd instructions.
4481
83655187
DE
44822014-05-15 Doug Evans <dje@google.com>
4483
4484 * dwarf2read.c (read_structure_type): Delete outdated comments.
4485
dd756689
TT
44862014-05-14 Tom Tromey <tromey@redhat.com>
4487
4488 * macrocmd.c (print_macro_definition): Reindent.
4489
75ddda77
DE
44902014-05-13 Doug Evans <xdje42@gmail.com>
4491
4492 * python/py-cmd.c (cmdpy_completer): Add comment.
4493 (completers): Make const.
4494
b0f16a3e
SM
44952014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4496
4497 * infrun.c (resume): Remove should_resume (unused). Move up
4498 declaration of resume_ptid.
4499
033c3379
TT
45002014-05-13 Tom Tromey <tromey@redhat.com>
4501
4502 * language.h (unop_type_check): Remove.
4503 (binop_type_check): Don't declare.
4504
9b44a3a5
AA
45052014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4506
4507 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4508 call to regcache_raw_collect.
4509
303a33fa
SM
45102014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4511
4512 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4513 mi_console->quote as the quoting character.
4514
196100a0
SM
45152014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4516
4517 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4518
f989a1c8
TT
45192014-04-29 Tom Tromey <tromey@redhat.com>
4520
4521 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4522 "show debug varobj".
4523
9404b58f
KM
45242014-05-07 Kyle McMartin <kyle@redhat.com>
4525
4526 Pushed by Joel Brobecker <brobecker@adacore.com>.
4527 * aarch64-tdep.c (aarch64_software_single_step): New function.
4528 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4529 with aarch64_software_single_step.
4530
5e49ba57
JB
45312014-05-05 Joel Brobecker <brobecker@adacore.com>
4532
4533 GDB 7.7.1 released.
4534
c888a17d
KS
45352014-05-05 Keith Seitz <keiths@redhat.com>
4536
4537 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4538 variable or history value is successfully parsed.
4539
290a839c
YQ
45402014-05-05 Yao Qi <yao@codesourcery.com>
4541 Pedro Alves <palves@redhat.com>
4542
4543 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4544 address of blocks that intersects the requested range. Trim
4545 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4546 sections.
4547 * ctf.c (ctf_xfer_partial): Likewise.
4548
91256dc2
YQ
45492014-05-05 Yao Qi <yao@codesourcery.com>
4550
4551 * printcmd.c (display_command): Remove the check to
4552 target_has_execution.
4553
07284463
MK
45542014-05-03 Mark Kettenis <kettenis@gnu.org>
4555
4556 * ppcobsd-nat.c: Include "obsd-nat.h".
4557 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4558 add_target.
4559 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4560
30a1e6cc
SDJ
45612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4562
4563 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4564 and 16-bit signed and unsigned arguments. Update comment.
4565 (stap_parse_probe_arguments): Extend code to handle such
4566 arguments. Use warning instead of complaint to notify about
4567 unrecognized bitness.
4568
f33da99a
SDJ
45692014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4570
4571 PR breakpoints/16889
4572 * stap-probe.c (stap_parse_probe_arguments): Simplify
4573 check for non-prefixed probes (i.e., probes whose
4574 arguments do not start with "N@"). Always set the
4575 argument type to a sane value.
4576
95cf3b38
DT
45772014-05-01 David Taylor <dtaylor@emc.com>
4578
4579 * remote.c (compare_sections_command): Add -r option to compare
4580 all loadable read-only sections.
4581
1cfdf534
SC
45822014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4583
4584 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4585 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4586 Update all callers.
4587 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4588 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4589 Remove unused CORE_ADDR argument. Update all callers.
4590
ca4f7f8b
PA
45912014-04-29 Pedro Alves <palves@redhat.com>
4592
4593 * remote.c (struct packet_config) <detect>: Extend comment.
4594 (add_packet_config_cmd): Don't set the config's detect or support
4595 fields here.
4596 (init_all_packet_configs): Also initialize the config's 'detect'
4597 field.
4598 (reset_all_packet_configs_support): New function.
4599 (remote_open_1): Call reset_all_packet_configs_support instead of
4600 init_all_packet_configs.
4601 (_initialize_remote): Initialize all packet configs. Assert that
4602 all packets have an associated command, except a few known
4603 outliers.
4604
11c1ba78
JB
46052014-04-28 Joel Brobecker <brobecker@adacore.com>
4606
4607 * dwarf2read.c (read_subrange_type): Handle dynamic
4608 DW_AT_lower_bound attributes.
4609
8739bc53
JB
46102014-04-28 Joel Brobecker <brobecker@adacore.com>
4611
4612 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4613 dynamic bounds before computing its upper bound.
4614 (ada_discrete_type_low_bound): Same as above with the lower bound.
4615
6f8a3220
JB
46162014-04-28 Joel Brobecker <brobecker@adacore.com>
4617
4618 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4619 range types. Adjust the array handling implementation to
4620 take advantage of this change.
4621 (resolve_dynamic_range): New function, mostly extracted from
4622 resolve_dynamic_bounds.
4623 (resolve_dynamic_array): New function, mostly extracted from
4624 resolve_dynamic_bounds.
4625 (resolve_dynamic_bounds): Delete.
4626 (resolve_dynamic_type): Reimplement. Add handling of
4627 TYPE_CODE_RANGE types.
4628
4d072ce4
JB
46292014-04-28 Joel Brobecker <brobecker@adacore.com>
4630
4631 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4632 handling of parallel ___XA types.
4633
52865325
JB
46342014-04-28 Joel Brobecker <brobecker@adacore.com>
4635
4636 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4637 unnecessary second call to static_unwrap_type.
4638
433e77fa
HZ
46392014-04-27 Hui Zhu <hui@codesourcery.com>
4640
4641 * stack.c (print_frame_info): Call do_gdb_disassembly with
4642 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4643
b51a69ee
DE
46442014-04-26 Doug Evans <xdje42@gmail.com>
4645
4646 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4647
7ae1a6a6
PA
46482014-04-25 Pedro Alves <palves@redhat.com>
4649
4650 PR server/16255
4651 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4652 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4653 and newline from built string.
4654 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4655 (linux_ptrace_attach_fail_reason): ... this.
4656 * linux-nat.c (linux_nat_attach): Adjust to use
4657 linux_ptrace_attach_fail_reason.
4658
4082afcc
PA
46592014-04-25 Pedro Alves <palves@redhat.com>
4660
4661 * remote.c (struct remote_state): Remove multi_process_aware,
4662 non_stop_aware, cond_tracepoints, cond_breakpoints,
4663 breakpoint_commands, fast_tracepoints, static_tracepoints,
4664 install_in_trace, disconnected_tracing,
4665 enable_disable_tracepoints, string_tracing, and
4666 augmented_libraries_svr4_read fields.
4667 (remote_multi_process_p): Move further below in the file.
4668 (struct packet_config): Add comments.
4669 (update_packet_config): Delete function.
4670 (show_packet_config_cmd): Use packet_config_support.
4671 (add_packet_config_cmd): Use NULL as set callback.
4672 (packet_ok): "set remote foo-packet"-style commands no longer
4673 change config->supported -- adjust.
4674 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4675 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4676 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4677 (PACKET_QNonStop, PACKET_multiprocess_feature)
4678 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4679 (PACKET_DisconnectedTracing_feature)
4680 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4681 (set_remote_protocol_packet_cmd): Delete function.
4682 (packet_config_support, packet_support): New functions.
4683 (set_remote_protocol_Z_packet_cmd): Don't call
4684 update_packet_config.
4685 (remote_query_attached, remote_pass_signals)
4686 (remote_program_signals, remote_threads_info)
4687 (remote_threads_extra_info, remote_start_remote): Use
4688 packet_support.
4689 (remote_start_remote): Use packet_config_support and
4690 packet_support.
4691 (init_all_packet_configs): Set all packets to unknown support,
4692 instead of calling update_packet_config.
4693 (remote_check_symbols): Use packet_support.
4694 (remote_supported_packet): Unconditionally set the packet config's
4695 support status.
4696 (remote_multi_process_feature, remote_non_stop_feature)
4697 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
4698 (remote_breakpoint_commands_feature)
4699 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
4700 (remote_install_in_trace_feature)
4701 (remote_disconnected_tracing_feature)
4702 (remote_enable_disable_tracepoint_feature)
4703 (remote_string_tracing_feature)
4704 (remote_augmented_libraries_svr4_read_feature): Delete functions.
4705 (remote_protocol_features): Adjust to use remote_supported_packet
4706 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
4707 "ConditionalTracepoints", "ConditionalBreakpoints",
4708 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
4709 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
4710 "EnableDisableTracepoints", and "tracenz".
4711 (remote_query_supported): Use packet_support.
4712 (remote_open_1): Adjust.
4713 (extended_remote_attach_1): Use packet_support. Switch on the
4714 result of packet_ok instead of checking whether the packet ended
4715 up disabled.
4716 (remote_vcont_resume): Use packet_support.
4717 (remote_resume, remote_stop_ns, fetch_register_using_p)
4718 (remote_prepare_to_store, store_register_using_P)
4719 (check_binary_download, remote_write_bytes): Use packet_support.
4720 (remote_vkill): Use packet_support. Switch on the result of
4721 packet_ok instead of checking whether the packet ended up
4722 disabled.
4723 (extended_remote_supports_disable_randomization): Use
4724 packet_support.
4725 (extended_remote_run): Switch on the result of packet_ok instead
4726 of checking whether the packet ended up disabled.
4727 (remote_insert_breakpoint, remote_remove_breakpoint)
4728 (remote_insert_watchpoint, remote_remove_watchpoint)
4729 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
4730 packet_support.
4731 (remote_search_memory): Use packet_config_support.
4732 (remote_get_thread_local_address, remote_get_tib_address)
4733 (remote_hostio_send_command, remote_can_execute_reverse): Use
4734 packet_support.
4735 (remote_supports_cond_tracepoints)
4736 (remote_supports_cond_breakpoints)
4737 (remote_supports_fast_tracepoints)
4738 (remote_supports_static_tracepoints)
4739 (remote_supports_install_in_trace)
4740 (remote_supports_enable_disable_tracepoint)
4741 (remote_supports_string_tracing)
4742 (remote_can_run_breakpoint_commands): Rewrite, checking whether
4743 the packet config says the feature is enabled or disabled.
4744 (remote_download_tracepoint, remote_trace_set_readonly_regions)
4745 (remote_get_trace_status): Use packet_support.
4746 (remote_set_disconnected_tracing): Adjust to check whether the
4747 feature is enabled with packet_support.
4748 (remote_set_trace_buffer_size, remote_use_agent)
4749 (remote_can_use_agent, remote_supports_btrace): Use
4750 packet_support.
4751 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
4752 Use packet_config_support.
4753 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
4754 the packet config says the feature is enabled or disabled.
4755 (set_range_stepping): Use packet_support.
4756
bdb52a22
TT
47572014-04-25 Tom Tromey <tromey@redhat.com>
4758
4759 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
4760 argument.
4761
e9475ead
SA
47622014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
4763
4764 * NEWS: Mention support for C99 variable length arrays.
4765
82eacd52
JB
47662014-04-24 Joel Brobecker <brobecker@adacore.com>
4767
4768 * ada-lang.c (standard_exc): Expand introductory comment.
4769
01f9f808
MS
47702014-04-24 Michael Sturm <michael.sturm@mintel.com>
4771 Walfred Tedeschi <walfred.tedeschi@intel.com>
4772
4773 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
4774 AVX512 registers.
4775 (amd64_linux_read_description): Add code to handle AVX512 xstate
4776 mask and return respective tdesc.
4777 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
4778 and features/i386/x32-avx512-linux.c.
4779 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
4780 (amd64_linux_core_read_description): Add code to handle AVX512
4781 xstate mask and return respective tdesc.
4782 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
4783 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
4784 calculation.
4785 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
4786 (tdesc_amd64_avx512_linux): New prototype.
4787 (tdesc_x32_avx512_linux): Likewise.
4788 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
4789 features/i386/x32-avx512.c.
4790 (amd64_ymm_avx512_names): New register names for pseudo
4791 registers YMM16-31.
4792 (amd64_ymmh_avx512_names): New register names for raw registers
4793 YMMH16-31.
4794 (amd64_k_names): New register names for K registers.
4795 (amd64_zmmh_names): New register names for ZMM raw registers.
4796 (amd64_zmm_names): New registers names for ZMM pseudo registers.
4797 (amd64_xmm_avx512_names): New register names for XMM16-31
4798 registers.
4799 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
4800 registers.
4801 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
4802 if feature is present.
4803 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
4804 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
4805 (AMD64_NUM_REGS): Adjust to new number of registers.
4806 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
4807 registers supplied via XSTATE by AVX512 registers.
4808 (i386_linux_read_description): Add case for AVX512.
4809 * i386-linux-tdep.c: Include i386-avx512-linux.c.
4810 (i386_linux_gregset_reg_offset): Add AVX512 registers.
4811 (i386_linux_core_read_description): Add case for AVX512.
4812 (i386_linux_init_abi): Install supported register note section
4813 for AVX512.
4814 (_initialize_i386_linux_tdep): Add call to tdesc init function for
4815 AVX512.
4816 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
4817 registers to be number of zmm7h + 1.
4818 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
4819 * i386-tdep.c: Include features/i386/i386-avx512.c.
4820 (i386_zmm_names): Add ZMM pseudo register names array.
4821 (i386_zmmh_names): Add ZMM raw register names array.
4822 (i386_k_names): Add K raw register names array.
4823 (num_lower_zmm_regs): Add constant for the number of lower ZMM
4824 registers. AVX512 has 16 more ZMM registers than there are YMM
4825 registers.
4826 (i386_zmmh_regnum_p): Add function to look up register number of
4827 ZMM raw registers.
4828 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
4829 (i386_k_regnum_p): Likewise for K raw registers.
4830 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
4831 registers added by AVX512.
4832 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
4833 registers added by AVX512.
4834 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
4835 added by AVX512.
4836 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
4837 (i386_pseudo_register_name): Add ZMM pseudo registers.
4838 (i386_zmm_type): Construct and return vector registers type for ZMM
4839 registers.
4840 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
4841 ZMM0-31 pseudo registers and K registers.
4842 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
4843 and YMM16-31 registers from register cache.
4844 (i386_pseudo_register_write): Add code to write K, ZMM and
4845 YMM16-31 registers.
4846 (i386_register_reggroup_p): Add code to include/exclude AVX512
4847 registers in/from respective register groups.
4848 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
4849 registers if feature is present in xcr0.
4850 (i386_gdbarch_init): Add code to initialize AVX512 feature
4851 variables in tdep structure, wire in pseudo registers and call
4852 initialize_tdesc_i386_avx512.
4853 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
4854 variables.
4855 (i386_regnum): Add AVX512 registers.
4856 (I386_SSE_NUM_REGS): New define for number of SSE registers.
4857 (I386_AVX_NUM_REGS): Likewise for AVX registers.
4858 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
4859 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
4860 512 bits wide.
4861 (i386_xmm_avx512_regnum_p): New prototype for register look up.
4862 (i386_ymm_avx512_regnum_p): Likewise.
4863 (i386_k_regnum_p): Likewise.
4864 (i386_zmm_regnum_p): Likewise.
4865 (i386_zmmh_regnum_p): Likewise.
4866 * i387-tdep.c : Update year in copyright notice.
4867 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
4868 XSAVE buffer.
4869 (XSAVE_YMM_AVX512_ADDR): New macro.
4870 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
4871 XSAVE buffer.
4872 (XSAVE_XMM_AVX512_ADDR): New macro.
4873 (xsave_avx512_k_offset): New table for K register offsets in
4874 XSAVE buffer.
4875 (XSAVE_AVX512_K_ADDR): New macro.
4876 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
4877 in XSAVE buffer.
4878 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
4879 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
4880 buffer.
4881 (i387_collect_xsave): Add code to collect AVX512 registers from
4882 XSAVE buffer.
4883 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
4884 of XMM16-31 registers.
4885 (I387_NUM_K_REGS): New define for number of K registers.
4886 (I387_K0_REGNUM): New define for K0 register number.
4887 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
4888 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
4889 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
4890 registers.
4891 (I387_YMM16H_REGNUM): New define for YMM16H register number.
4892 (I387_XMM16_REGNUM): New define for XMM16 register number.
4893 (I387_YMM0_REGNUM): New define for YMM0 register number.
4894 (I387_KEND_REGNUM): New define for last K register number.
4895 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
4896 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
4897 number.
4898 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
4899 number.
4900 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
4901 size.
4902 * features/Makefile: Add AVX512 related files.
4903 * features/i386/32bit-avx512.xml: New file.
4904 * features/i386/64bit-avx512.xml: Likewise.
4905 * features/i386/amd64-avx512-linux.c: Likewise.
4906 * features/i386/amd64-avx512-linux.xml: Likewise.
4907 * features/i386/amd64-avx512.c: Likewise.
4908 * features/i386/amd64-avx512.xml: Likewise.
4909 * features/i386/i386-avx512-linux.c: Likewise.
4910 * features/i386/i386-avx512-linux.xml: Likewise.
4911 * features/i386/i386-avx512.c: Likewise.
4912 * features/i386/i386-avx512.xml: Likewise.
4913 * features/i386/x32-avx512-linux.c: Likewise.
4914 * features/i386/x32-avx512-linux.xml: Likewise.
4915 * features/i386/x32-avx512.c: Likewise.
4916 * features/i386/x32-avx512.xml: Likewise.
4917 * regformats/i386/amd64-avx512-linux.dat: New file.
4918 * regformats/i386/amd64-avx512.dat: Likewise.
4919 * regformats/i386/i386-avx512-linux.dat: Likewise.
4920 * regformats/i386/i386-avx512.dat: Likewise.
4921 * regformats/i386/x32-avx512-linux.dat: Likewise.
4922 * regformats/i386/x32-avx512.dat: Likewise.
4923 * NEWS: Add note about new support for AVX512.
4924
4925
08351840
PA
49262014-04-23 Pedro Alves <palves@redhat.com>
4927
4928 * breakpoint.c (insert_bp_location): Tolerate errors if the
4929 breakpoint is set in a user-loaded objfile.
4930 (remove_breakpoint_1): Likewise. Also tolerate errors if the
4931 location is marked shlib_disabled. If the breakpoint is set in a
4932 user-loaded objfile is a GDB-side memory breakpoint, validate it
4933 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
4934 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
4935 flag.
4936 * mem-break.c (memory_validate_breakpoint): New function.
4937 * objfiles.c (userloaded_objfile_contains_address_p): New
4938 function.
4939 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
4940 * target.h (memory_validate_breakpoint): New declaration.
4941
076855f9
PA
49422014-04-23 Pedro Alves <palves@redhat.com>
4943
4944 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
4945 the breakpoint is set in a shared library, only suppress
4946 errors for software breakpoints, not hardware breakpoints.
4947
483805cf
PA
49482014-04-22 Pedro Alves <palves@redhat.com>
4949
4950 * infrun.c (schedlock_applies): New function, factored out from
4951 find_thread_needs_step_over.
4952 (find_thread_needs_step_over): Use it.
4953 (switch_back_to_stepped_thread): Always clear trap_expected if the
4954 step over is finished. Return early if scheduler locking applies.
4955 Look for the stepping thread and a potential step-over thread with
4956 a single loop.
4957 (currently_stepping_or_nexting_callback): Delete.
4958
a75fef0e
NC
49592014-04-22 Nick Clifton <nickc@redhat.com>
4960
4961 * NEWS: Mention that ARM sim now supports tracing.
4962
48b6e87e
YQ
49632014-04-22 Yao Qi <yao@codesourcery.com>
4964
4965 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
4966 to ...
4967 * tracefile.c (tracefile_fetch_registers): ... it. New
4968 function.
4969 * tracefile.h (tracefile_fetch_registers): Declare.
4970 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
4971 tracefile_fetch_registers.
4972
17617f2d
EZ
49732014-04-19 Eli Zaretskii <eliz@gnu.org>
4974
4975 PR gdb/14018
4976 * windows-nat.c (thread_rec): Don't display a warning when
4977 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
4978 fails for any reason, set th->suspended to -1, so that we don't
4979 try to resume such a thread. Also, don't return NULL in these
4980 cases, to avoid completely ruin the session due to "PC register is
4981 not available" error.
4982 (do_windows_fetch_inferior_registers): Check errors in
4983 GetThreadContext call.
4984 (windows_continue): Accept an additional argument KILLED; if not
4985 zero, ignore errors in the SetThreadContext call, since the
4986 inferior was killed and is shutting down.
4987 (windows_resume, get_windows_debug_event)
4988 (windows_create_inferior, windows_mourn_inferior)
4989 (windows_kill_inferior): All callers of windows_continue changed
4990 to adjust to its new calling sequence.
4991
5723a6fd
YQ
49922014-04-19 Yao Qi <yao@codesourcery.com>
4993
4994 * ctf.c (ctf_open): Call post_create_inferior.
4995
614d5099
YQ
49962014-04-19 Yao Qi <yao@codesourcery.com>
4997
4998 * ctf.c (handle_id): New static variable.
4999 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5000 value. Get the declaration of event "register" and get length
5001 of field "contents".
5002
dac3e710
YQ
50032014-04-19 Yao Qi <yao@codesourcery.com>
5004
5005 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5006
2bca57ba
SC
50072014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5008
5009 * valops.c (oload_method_static): Remove unnecessary argument
5010 METHOD. Update all callers.
5011
51d48146
PA
50122014-04-18 Pedro alves <palves@redhat.com>
5013 Tom Tromey <tromey@redhat.com>
5014
5015 PR backtrace/15558
5016 * frame.c (get_prev_frame_1): Rename to ...
5017 (get_prev_frame_always): ... this, and make extern. Adjust.
5018 (skip_artificial_frames): Use get_prev_frame_always.
5019 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5020 (get_frame_unwind_stop_reason): Adjust to rename.
5021 * frame.h (get_prev_frame_always): Declare.
5022 * inline-frame.c: Include frame.h.
5023 (inline_frame_this_id): Use get_prev_frame_always.
5024
1bdad2e0
TG
50252014-04-18 Tristan Gingold <gingold@adacore.com>
5026
5027 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5028 code by using bfd_mach_o_get_base_address.
5029
7ce16bd4
UW
50302014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5031
5032 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5033 (spu_ax_pseudo_register_collect): New function.
5034 (spu_ax_pseudo_register_push_stack): Likewise.
5035 (spu_dwarf_reg_to_regnum): Likewise.
5036 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5037
2ed3c037
UW
50382014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5039
5040 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5041 Replace FRAME argument with FRAME_ID.
5042 * gdbarch.c, gdbarch.h: Regenerate.
5043 * findvar.c (default_value_from_register): Add GDBARCH argument;
5044 replace FRAME by FRAME_ID. No longer call get_frame_id.
5045 (value_from_register): Update call to gdbarch_value_from_register.
5046 * value.h (default_value_from_register): Update prototype.
5047 * s390-linux-tdep.c (s390_value_from_register): Update interface
5048 and call to default_value_from_register.
5049 * spu-tdep.c (spu_value_from_register): Likewise.
5050
5051 * findvar.c (address_from_register): Remove TYPE argument.
5052 Do not call value_from_register; use gdbarch_value_from_register
5053 with null_frame_id instead.
5054 * value.h (address_from_register): Update prototype.
5055 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5056 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5057 address_from_register interface change.
5058
71e50e83
YQ
50592014-04-17 Yao Qi <yao@codesourcery.com>
5060
5061 * gdbtypes.h: Update comments to link to types and macros'
5062 definitions.
5063
7a23c549
SC
50642014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5065
5066 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5067
22869d73
KS
50682014-04-16 Keith Seitz <keiths@redhat.com>
5069
5070 PR gdb/15827
5071 * dwarf2read.c (skip_one_die): Check that all relative-offset
5072 sibling DIEs fall within range of the current reader's buffer.
5073 (read_partial_die): Likewise.
5074
c4f87ca6
KS
50752014-04-16 Keith Seitz <keiths@redhat.com>
5076
5077 PR c++/16597
5078 * cp-namespace.c (lookup_symbol_file): If the type name of
5079 `this' is NULL, return immediately.
5080
b50c8614
KS
50812014-04-14 Keith Seitz <keiths@redhat.com>
5082
5083 PR c++/16253
5084 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5085 from symbol_matches_domain in symtab.c. All local callers
5086 of symbol_matches_domain updated.
5087 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5088 search STRUCT_DOMAIN.
5089 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5090 independently. standard_lookup will do that automatically.
5091 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5092 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5093 (cp_lookup_symbol_in_namespace): Likewise.
5094 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5095 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5096 may return a STRUCT_DOMAIN match.
5097 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5098 * cp-support.c: Include language.h.
5099 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5100 VAR_DOMAIN.
5101 * psymtab.c (match_partial_symbol): Compare the requested
5102 domain with the symbol's domain directly.
5103 (lookup_partial_symbol): Likewise.
5104 * symtab.c (lookup_symbol_in_language): Explain when/why
5105 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5106 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5107 appropriate languages.
5108 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5109 and moved to ada-lang.c
5110 (lookup_block_symbol): Explain that this function only returns
5111 symbol matching the requested DOMAIN.
5112 Compare the requested domain with the symbol's domain directly.
5113 (iterate_over_symbols): Compare the requested domain with the
5114 symbol's domain directly.
5115 * symtab.h (symbol_matches_domain): Remove.
5116
3d567982
TT
51172014-04-14 Tom Tromey <tromey@redhat.com>
5118
5119 PR c++/15246:
5120 * c-exp.y (type_aggregate_p): New function.
5121 (qualified_name, classify_inner_name): Use it.
5122 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5123 and TYPE_TARGET_TYPE of an enum type.
5124 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5125 an enum type.
5126 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5127 handle TYPE_DECLARED_CLASS.
5128 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5129 types.
5130 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5131 * valops.c (enum_constant_from_type): New function.
5132 (value_aggregate_elt): Use it.
5133 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5134 TYPE_CODE_ENUM.
5135
c848d642
TT
51362014-04-14 Tom Tromey <tromey@redhat.com>
5137
5138 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5139 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5140 const.
5141 * value.h (value_aggregate_elt): Update.
5142
0626fc76
TT
51432014-04-14 Tom Tromey <tromey@redhat.com>
5144
5145 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5146
5ecaaa66
SA
51472014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5148
5149 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5150 (evaluate_subexp_standard): Pass noside argument.
5151 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5152 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5153 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5154 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5155 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5156
1612e0c0
SA
51572014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5158
5159 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5160 points to a constant blob.
5161
c451ebe5
SA
51622014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5163
5164 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5165 property and store it as the high bound and flag the range accordingly.
5166 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5167 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5168 * gdbtypes.h (enum range_flags): New enum.
5169 (struct range_bounds): Add flags member.
5170
1d42e4c4
SA
51712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5172
5173 * c-typeprint.c (c_type_print_varspec_suffix): Added
5174 check for not yet resolved high bound. If unresolved, print
5175 "variable length" string to the console instead of random
5176 length.
5177
9f1f738a
SA
51782014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5179
5180 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5181 value.
5182 (ada_template_to_fixed_record_type_1): Likewise.
5183 (ada_to_fixed_type_1): Likewise.
5184 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5185 (cp_print_value): Likewise.
5186 * d-valprint.c (dynamic_array_type): Likewise.
5187 * findvar.c (address_of_variable): Likewise.
5188 * jv-valprint.c (java_value_print): Likewise.
5189 * valops.c (value_ind): Likewise.
5190 * value.c (coerce_ref): Likewise.
5191
3c8452d4
SA
51922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5193
5194 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5195 value and retrieve the dynamic type size.
5196
4ad88275
SA
51972014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5198
5199 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5200 passed to sizeof is dynamic evaluate the argument to compute the length.
5201
80180f79
SA
52022014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5203 Joel Brobecker <brobecker@adacore.com>
5204
5205 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5206 (dwarf2_evaluate_property): New function.
5207 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5208 * dwarf2read.c (attr_to_dynamic_prop): New function.
5209 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5210 attribute.
5211 * gdbtypes.c: Include dwarf2loc.h.
5212 (is_dynamic_type): New function.
5213 (resolve_dynamic_type): New function.
5214 (resolve_dynamic_bounds): New function.
5215 (get_type_length): New function.
5216 (check_typedef): Use get_type_length to compute type length.
5217 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5218 (TYPE_LOW_BOUND_KIND): New macro.
5219 (is_dynamic_type): New function prototype.
5220 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5221 to resolve dynamic properties of the type. Update comment.
5222 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5223
a1556843
RH
52242014-04-14 Richard Henderson <rth@redhat.com>
5225
5226 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5227
0be03e84
DE
52282014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5229 Doug Evans <xdje42@gmail.com>
5230
5231 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5232 dereference TYPE_CODE_REF values.
5233
6b662e19
JB
52342014-04-11 Joel Brobecker <brobecker@adacore.com>
5235
5236 Revert the following changes due to regressions:
5237
5238 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5239 (dwarf2_evaluate_property): New function.
5240 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5241 * dwarf2read.c (attr_to_dynamic_prop): New function.
5242 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5243 attribute.
5244 * gdbtypes.c: Include dwarf2loc.h.
5245 (is_dynamic_type): New function.
5246 (resolve_dynamic_type): New function.
5247 (resolve_dynamic_bounds): New function.
5248 (get_type_length): New function.
5249 (check_typedef): Use get_type_length to compute type length.
5250 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5251 (TYPE_LOW_BOUND_KIND): New macro.
5252 (is_dynamic_type): New function prototype.
5253 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5254 to resolve dynamic properties of the type. Update comment.
5255 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5256
5257 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5258 passed to sizeof is dynamic evaluate the argument to compute the length.
5259
5260 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5261 value and retrieve the dynamic type size.
5262
5263 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5264 (ada_template_to_fixed_record_type_1): Likewise.
5265 (ada_to_fixed_type_1): Likewise.
5266 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5267 (cp_print_value): Likewise.
5268 * d-valprint.c (dynamic_array_type): Likewise.
5269 * eval.c (evaluate_subexp_with_coercion): Likewise.
5270 * findvar.c (address_of_variable): Likewise.
5271 * jv-valprint.c (java_value_print): Likewise.
5272 * valops.c (value_ind): Likewise.
5273 * value.c (coerce_ref): Likewise.
5274
5275 * c-typeprint.c (c_type_print_varspec_suffix): Added
5276 check for not yet resolved high bound. If unresolved, print
5277 "variable length" string to the console instead of random
5278 length.
5279
5280 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5281 property and store it as the high bound and flag the range accordingly.
5282 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5283 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5284 * gdbtypes.h (enum range_flags): New enum.
5285 (struct range_bounds): Add flags member.
5286
5287 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5288 points to a constant blob.
5289
5290 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5291 (evaluate_subexp_standard): Pass noside argument.
5292 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5293 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5294 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5295 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5296 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5297
245a5f0b
KS
52982014-04-11 Keith Seitz <keiths@redhat.com>
5299
5300 PR c++/16675
5301 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5302 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5303 reference types.
5304
3bce8237
SA
53052014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5306
5307 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5308 (evaluate_subexp_standard): Pass noside argument.
5309 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5310 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5311 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5312 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5313 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5314
92b09522
SA
53152014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5316
5317 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5318 points to a constant blob.
5319
e1969afb
SA
53202014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5321
5322 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5323 property and store it as the high bound and flag the range accordingly.
5324 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5325 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5326 * gdbtypes.h (enum range_flags): New enum.
5327 (struct range_bounds): Add flags member.
5328
b86138fb
SA
53292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5330
5331 * c-typeprint.c (c_type_print_varspec_suffix): Added
5332 check for not yet resolved high bound. If unresolved, print
5333 "variable length" string to the console instead of random
5334 length.
5335
bcd629a4
SA
53362014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5337
5338 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5339 (ada_template_to_fixed_record_type_1): Likewise.
5340 (ada_to_fixed_type_1): Likewise.
5341 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5342 (cp_print_value): Likewise.
5343 * d-valprint.c (dynamic_array_type): Likewise.
5344 * eval.c (evaluate_subexp_with_coercion): Likewise.
5345 * findvar.c (address_of_variable): Likewise.
5346 * jv-valprint.c (java_value_print): Likewise.
5347 * valops.c (value_ind): Likewise.
5348 * value.c (coerce_ref): Likewise.
5349
04b19544
SA
53502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5351
5352 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5353 value and retrieve the dynamic type size.
5354
26cb189f
SA
53552014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5356
5357 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5358 passed to sizeof is dynamic evaluate the argument to compute the length.
5359
37c1ab67
SA
53602014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5361
5362 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5363 (dwarf2_evaluate_property): New function.
5364 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5365 * dwarf2read.c (attr_to_dynamic_prop): New function.
5366 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5367 attribute.
5368 * gdbtypes.c: Include dwarf2loc.h.
5369 (is_dynamic_type): New function.
5370 (resolve_dynamic_type): New function.
5371 (resolve_dynamic_bounds): New function.
5372 (get_type_length): New function.
5373 (check_typedef): Use get_type_length to compute type length.
5374 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5375 (TYPE_LOW_BOUND_KIND): New macro.
5376 (is_dynamic_type): New function prototype.
5377 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5378 to resolve dynamic properties of the type. Update comment.
5379 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5380
729efb13
SA
53812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5382
5383 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5384 declaring high/low bounds and change uses accordingly. Call
5385 create_range_type instead of create_static_range_type.
5386 * gdbtypes.c (create_range_type): New function.
5387 (create_range_type): Convert bounds into struct bound_prop and pass
5388 them to create_range_type.
5389 * gdbtypes.h (struct bound_prop): New struct.
5390 (create_range_type): New function prototype.
5391 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5392 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5393 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5394 part of the bound.
5395 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5396
0c9c3474
SA
53972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5398
5399 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5400 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5401 * ada-lang.c: All uses of create_range_type updated.
5402 * coffread.c: All uses of create_range_type updated.
5403 * dwarf2read.c: All uses of create_range_type updated.
5404 * f-exp.y: All uses of create_range_type updated.
5405 * m2-valprint.c: All uses of create_range_type updated.
5406 * mdebugread.c: All uses of create_range_type updated.
5407 * stabsread.c: All uses of create_range_type updated.
5408 * valops.c: All uses of create_range_type updated.
5409 * valprint.c: All uses of create_range_type updated.
5410
9d497a19
PA
54112014-04-10 Pedro Alves <palves@redhat.com>
5412
5413 * breakpoint.c (single_step_breakpoints)
5414 (single_step_gdbarch): Move up in the file.
5415 (one_breakpoint_xfer_memory): New function, factored out from ...
5416 (breakpoint_xfer_memory): ... here. Also process single-step
5417 breakpoints.
5418
15a9128a
TG
54192014-04-09 Tristan Gingold <gingold@adacore.com>
5420
5421 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5422 comments.
5423 (darwin_decode_exception_message): Free port only after use.
5424
9c97a070
PL
54252014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5426
5427 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5428 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5429 when setting the size of call_length.
5430
7af389b8
SC
54312014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5432
5433 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5434 dereference TYPE_CODE_REF values.
5435
86ad98c3
JB
54362014-04-07 Joel Brobecker <brobecker@adacore.com>
5437
5438 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5439 end of warning message.
5440
b0aeadb3
DE
54412014-04-03 Doug Evans <dje@google.com>
5442
5443 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5444 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5445
5979d6b6
AM
54462014-04-02 Alan Modra <amodra@gmail.com>
5447
5448 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5449 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5450 (struct symbol_file_add_from_memory_args): Add size field.
5451 (find_vdso_size): New function.
5452 (add_vsyscall_page): Attempt to find vdso size.
5453
0d60c288
DE
54542014-04-01 Doug Evans <dje@google.com>
5455
5456 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5457
a41f2563
TG
54582014-04-01 Tristan Gingold <gingold@adacore.com>
5459
5460 * darwin-nat.c (darwin_encode_reply): Add prototype.
5461 (darwin_decode_exception_message): Reply to unknown inferiors.
5462 (darwin_decode_message): Handle message by id. Ignore message
5463 to unknown inferior.
5464 (darwin_wait): Discard unknown messages, add debug trace.
5465
11a865c8
DE
54662014-03-31 Doug Evans <dje@google.com>
5467
5468 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5469 comp_dir_string.
5470
770e7fc7
DE
54712014-03-31 Doug Evans <dje@google.com>
5472
5473 New option "set print symbol-loading".
5474 * NEWS: Mention it.
5475 * solib.c (solib_read_symbols): Only print symbol loading messages
5476 if requested.
5477 (solib_add): If symbol loading is in "brief" mode, notify user
5478 symbols are being loaded.
5479 (reload_shared_libraries_1): Ditto.
5480 * symfile.c (print_symbol_loading_off): New static global.
5481 (print_symbol_loading_brief): New static global.
5482 (print_symbol_loading_full): New static global.
5483 (print_symbol_loading_enums): New static global.
5484 (print_symbol_loading): New static global.
5485 (print_symbol_loading_p): New function.
5486 (symbol_file_add_with_addrs): Only print symbol loading messages
5487 if requested.
5488 (_initialize_symfile): Register "print symbol-loading" set/show
5489 command.
5490 * symfile.h (print_symbol_loading_p): Declare.
5491
c32c64b7
DE
54922014-03-30 Doug Evans <xdje42@gmail.com>
5493
5494 * infrun.c (set_last_target_status): New function.
5495 (handle_inferior_event): Call it.
5496
7c0bc051
DE
54972014-03-30 Doug Evans <xdje42@gmail.com>
5498
5499 * inferior.h (enum stop_kind): Improve comment.
5500
8776cfe9
JB
55012014-03-28 Joel Brobecker <brobecker@adacore.com>
5502
5503 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5504 a reference, strip the reference layer before calling
5505 the lang_ops value_has_mutated callback.
5506
410a0ff2
SDJ
55072014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5508
5509 Remove some globals from our parser.
5510 * language.c (unk_lang_parser): Add "struct parser_state"
5511 argument.
5512 * language.h (struct language_defn) <la_parser>: Likewise.
5513 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5514 (initialize_expout): Add "struct parser_state" argument.
5515 Rewrite function to use the parser state.
5516 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5517 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5518 write_exp_elt_longcst, write_exp_elt_dblcst,
5519 write_exp_elt_decfloatcst, write_exp_elt_type,
5520 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5521 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5522 write_dollar_variable): Likewise.
5523 (parse_exp_in_context_1): Use parser state.
5524 (insert_type_address_space): Add "struct parser_state" argument.
5525 Use parser state.
5526 (increase_expout_size): New function.
5527 * parser-defs.h: Forward declare "struct language_defn" and
5528 "struct parser_state".
5529 (expout, expout_size, expout_ptr): Remove extern declarations.
5530 (parse_gdbarch, parse_language): Rewrite macro declarations to
5531 accept the parser state.
5532 (struct parser_state): New struct.
5533 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5534 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5535 write_exp_elt_decfloatcst, write_exp_elt_type,
5536 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5537 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5538 write_exp_msymbol, write_dollar_variable,
5539 mark_struct_expression, insert_type_address_space): Add "struct
5540 parser_state" argument.
5541 (increase_expout_size): New function.
5542 * utils.c (do_clear_parser_state): New function.
5543 (make_cleanup_clear_parser_state): Likewise.
5544 * utils.h (make_cleanup_clear_parser_state): New function
5545 prototype.
5546 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5547 Update calls to write_exp* in order to pass the parser state.
5548 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5549 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5550 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5551 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5552 * stap-probe.c (stap_parse_register_operand): Likewise.
5553 (stap_parse_single_operand): Likewise.
5554 (stap_parse_argument_1): Likewise.
5555 (stap_parse_argument): Use parser state.
5556 * stap-probe.h: Include "parser-defs.h".
5557 (struct stap_parse_info) <pstate>: New field.
5558 * c-exp.y (parse_type): Rewrite to use parser state.
5559 (yyparse): Redefine to c_parse_internal.
5560 (pstate): New global variable.
5561 (parse_number): Add "struct parser_state" argument.
5562 (write_destructor_name): Likewise.
5563 (type_exp): Update calls to write_exp* and similars in order to
5564 use parser state.
5565 (exp1, exp, variable, qualified_name, space_identifier,
5566 typename, typebase): Likewise.
5567 (write_destructor_name, parse_number, lex_one_token,
5568 classify_name, classify_inner_name, c_parse): Add "struct
5569 parser_state" argument. Update function to use parser state.
5570 * c-lang.h: Forward declare "struct parser_state".
5571 (c_parse): Add "struct parser_state" argument.
5572 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5573 (yyparse): Redefine macro to ada_parse_internal.
5574 (pstate): New variable.
5575 (write_int, write_object_renaming, write_var_or_type,
5576 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5577 type_int, type_long, type_long_long, type_float, type_double,
5578 type_long_double, type_char, type_boolean, type_system_address):
5579 Add "struct parser_state" argument.
5580 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5581 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5582 var_or_type, aggregate, aggregate_component_list,
5583 positional_list, others, component_group,
5584 component_associations): Update calls to write_exp* and similar
5585 functions in order to use parser state.
5586 (ada_parse, write_var_from_sym, write_int,
5587 write_exp_op_with_string, write_object_renaming,
5588 find_primitive_type, write_selectors, write_ambiguous_var,
5589 write_var_or_type, write_name_assoc, type_int, type_long,
5590 type_long_long, type_float, type_double, type_long_double,
5591 type_char, type_boolean, type_system_address): Add "struct
5592 parser_state" argument. Adjust function to use parser state.
5593 * ada-lang.c (parse): Likewise.
5594 * ada-lang.h: Forward declare "struct parser_state".
5595 (ada_parse): Add "struct parser_state" argument.
5596 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5597 calls to both functions.
5598 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5599 parser state.
5600 (yyparse): Redefine macro to f_parse_internal.
5601 (pstate): New variable.
5602 (parse_number): Add "struct parser_state" argument.
5603 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5604 and similars in order to use parser state.
5605 (parse_number): Adjust code to use parser state.
5606 (yylex): Likewise.
5607 (f_parse): New function.
5608 * f-lang.h: Forward declare "struct parser_state".
5609 (f_parse): Add "struct parser_state" argument.
5610 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5611 parser state.
5612 (yyparse): Redefine macro for java_parse_internal.
5613 (pstate): New variable.
5614 (push_expression_name, push_expression_name, insert_exp): Add
5615 "struct parser_state" argument.
5616 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5617 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5618 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5619 PostIncrementExpression, PostDecrementExpression,
5620 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5621 UnaryExpressionNotPlusMinus, CastExpression,
5622 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5623 RelationalExpression, EqualityExpression, AndExpression,
5624 ExclusiveOrExpression, InclusiveOrExpression,
5625 ConditionalAndExpression, ConditionalOrExpression,
5626 ConditionalExpression, Assignment, LeftHandSide): Update
5627 calls to write_exp* and similars in order to use parser state.
5628 (parse_number): Ajust code to use parser state.
5629 (yylex): Likewise.
5630 (java_parse): New function.
5631 (push_variable): Add "struct parser_state" argument. Adjust
5632 code to user parser state.
5633 (push_fieldnames, push_qualified_expression_name,
5634 push_expression_name, insert_exp): Likewise.
5635 * jv-lang.h: Forward declare "struct parser_state".
5636 (java_parse): Add "struct parser_state" argument.
5637 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5638 parser state.
5639 (yyparse): Redefine macro to m2_parse_internal.
5640 (pstate): New variable.
5641 (type_exp, exp, fblock, variable, type): Update calls to
5642 write_exp* and similars to use parser state.
5643 (yylex): Likewise.
5644 (m2_parse): New function.
5645 * m2-lang.h: Forward declare "struct parser_state".
5646 (m2_parse): Add "struct parser_state" argument.
5647 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5648 * objc-lang.h: Forward declare "struct parser_state".
5649 (end_msglist): Add "struct parser_state" argument.
5650 * p-exp.y (parse_type): Rewrite macro to use parser state.
5651 (yyparse): Redefine macro to pascal_parse_internal.
5652 (pstate): New variable.
5653 (parse_number): Add "struct parser_state" argument.
5654 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5655 write_exp* and similars in order to use parser state.
5656 (parse_number, yylex): Adjust code to use parser state.
5657 (pascal_parse): New function.
5658 * p-lang.h: Forward declare "struct parser_state".
5659 (pascal_parse): Add "struct parser_state" argument.
5660 * go-exp.y (parse_type): Rewrite macro to use parser state.
5661 (yyparse): Redefine macro to go_parse_internal.
5662 (pstate): New variable.
5663 (parse_number): Add "struct parser_state" argument.
5664 (type_exp, exp1, exp, variable, type): Update calls to
5665 write_exp* and similars in order to use parser state.
5666 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5667 to use parser state.
5668 (go_parse): Likewise.
5669 * go-lang.h: Forward declare "struct parser_state".
5670 (go_parse): Add "struct parser_state" argument.
5671
342587c4
DE
56722014-03-27 Doug Evans <dje@google.com>
5673
5674 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5675
33e80786
DE
56762014-03-27 Doug Evans <dje@google.com>
5677
5678 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5679 Remove argument abbrev_section. All callers updated.
5680
1dbab08b
DE
56812014-03-27 Doug Evans <dje@google.com>
5682
5683 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
5684 addr_base, ranges_base.
5685
318d3177
KS
56862014-03-26 Keith Seitz <keiths@redhat.com>
5687
5688 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
5689 types, not VAR_DOMAIN.
5690
1e54db15
SL
56912014-03-25 Sandra Loosemore <sandra@codesourcery.com>
5692
5693 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
5694 "ra" registers.
5695 * features/nios2-linux.c: Regenerated.
5696 * features/nios2.c: Regenerated.
5697
d3839ede
PA
56982014-03-25 Pedro Alves <palves@redhat.com>
5699
5700 * cli/cli-script.c (script_from_file): Force the interpreter to
5701 sync mode.
5702
7588d2ec
PL
57032014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
5704
5705 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
5706 small stack allocation.
5707
a6290449
TG
57082014-03-24 Tristan Gingold <gingold@adacore.com>
5709
5710 * darwin-nat.c (exc_server): Remove unused prototype.
5711 (darwin_dump_message): Correctly display data on x86_64.
5712 (darwin_encode_reply): Fix style.
5713 Add comments and fix indentation.
5714
31ae9d24 57152014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
5716
5717 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
5718
6339bfc4
DE
57192014-03-22 Doug Evans <xdje42@gmail.com>
5720
5721 * infcmd.c: Whitespace fixes.
5722 (interrupt_command): Merge two function comments into one.
5723
0a07590b
DE
57242014-03-22 Doug Evans <xdje42@gmail.com>
5725
5726 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
5727 All uses updated.
5728
b55fbac4
YQ
57292014-03-22 Yao Qi <yao@codesourcery.com>
5730
5731 * remote.c (target_read_live_memory): Remove.
5732 (memory_xfer_live_readonly_partial): Rename it to
5733 remote_xfer_live_readonly_partial. Remove argument 'object'.
5734 All callers updated. Call remote_read_bytes_1
5735 instead of target_read_live_memory.
5736 * tracepoint.c (set_traceframe_number): Remove.
5737 (make_cleanup_restore_traceframe_number): Likewise .
5738 * tracepoint.h (set_traceframe_number): Remove declaration.
5739 (make_cleanup_restore_traceframe_number): Likewise.
5740
9217e74e
YQ
57412014-03-22 Yao Qi <yao@codesourcery.com>
5742
5743 * remote.c (remote_read_bytes): Move code on reading from the
5744 remote stub to ...
5745 (remote_read_bytes_1): ... here. New function.
5746
8acf9577
YQ
57472014-03-22 Yao Qi <yao@codesourcery.com>
5748
5749 * ctf.c (ctf_xfer_partial): Check the return value of
5750 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
5751 return TARGET_XFER_UNAVAILABLE.
5752 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
5753 * target.c (target_read_live_memory): Move it to remote.c.
5754 (memory_xfer_live_readonly_partial): Likewise.
5755 (memory_xfer_partial_1): Move some code to remote_read_bytes.
5756 * remote.c (target_read_live_memory): Moved from target.c.
5757 (memory_xfer_live_readonly_partial): Likewise.
5758 (remote_read_bytes): Factored out from
5759 memory_xfer_partial_1.
5760
feef67ab
DE
57612014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
5762
5763 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
5764 NULL pointer.
5765
b65dc60b
PA
57662014-03-21 Pedro Alves <palves@redhat.com>
5767
5768 * infrun.c (normal_stop): Extend comment.
5769
b4ab256d
HZ
57702014-03-21 Hui Zhu <hui@codesourcery.com>
5771 Pedro Alves <palves@redhat.com>
5772
5773 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
5774 static buffer.
5775 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
5776 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
5777 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
5778
deba7593
MR
57792014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
5780
5781 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
5782 `z' formatted output modifier.
5783
1bff71c3
SDJ
57842014-03-20 Tom Tromey <tromey@redhat.com>
5785 Sergio Durigan Junior <sergiodj@redhat.com>
5786
5787 * probe.c (parse_probes): Turn assert into an ordinary error.
5788 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
5789 exceptions when parsing probes. Rearrange the code for clarity.
5790
90e28950
TT
57912014-03-20 Tom Tromey <tromey@redhat.com>
5792
5793 PR gdb/14135
5794 * top.c (execute_command): Only dispatch events if the command
5795 started the target.
5796
beb460e8
PA
57972014-03-20 Tom Tromey <tromey@redhat.com>
5798
5799 PR cli/15718
5800 * infcall.c: Include event-top.h.
5801 (run_inferior_call): Call async_disable_stdin if needed.
5802
99619bea
PA
58032014-03-20 Pedro Alves <palves@redhat.com>
5804
5805 * infrun.c (prepare_to_proceed): Delete.
5806 (thread_still_needs_step_over): New function.
5807 (find_thread_needs_step_over): New function.
5808 (proceed): If the current thread needs a step-over, set its
5809 steping_over_breakpoint flag. Adjust to use
5810 find_thread_needs_step_over instead of prepare_to_proceed.
5811 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
5812 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
5813 breakpoint.
5814 (switch_back_to_stepped_thread): Step over breakpoints of all
5815 threads not the stepping thread, before switching back to the
5816 stepping thread.
5817
2adfaa28
PA
58182014-03-20 Pedro Alves <palves@redhat.com>
5819
5820 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
5821 extern.
5822 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
5823 * infrun.c (saved_singlestep_ptid)
5824 (stepping_past_singlestep_breakpoint): Delete.
5825 (resume): Remove stepping_past_singlestep_breakpoint handling.
5826 (proceed): Store the prev_pc of the stepping thread too.
5827 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
5828 singlestep_pc.
5829 (enum infwait_states): Delete infwait_thread_hop_state.
5830 (struct execution_control_state) <hit_singlestep_breakpoint>: New
5831 field.
5832 (handle_inferior_event): Adjust.
5833 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
5834 handling and the thread-hop code. Before removing single-step
5835 breakpoints, check whether the thread hit a single-step breakpoint
5836 of another thread. If it did, the trap is not a random signal.
5837 (switch_back_to_stepped_thread): If the event thread hit a
5838 single-step breakpoint, unblock it before switching to the
5839 stepping thread. Handle the case of the stepped thread having
5840 advanced already.
5841 (keep_going): Handle the case of the current thread moving past a
5842 single-step breakpoint.
5843
31e77af2
PA
58442014-03-20 Pedro Alves <palves@redhat.com>
5845
5846 PR breakpoints/7143
5847 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
5848 are being stepped over.
5849 (breakpoint_address_match): Make extern.
5850 * breakpoint.h (breakpoint_address_match): New declaration.
5851 * inferior.h (stepping_past_instruction_at): New declaration.
5852 * infrun.c (struct step_over_info): New type.
5853 (step_over_info): New global.
5854 (set_step_over_info, clear_step_over_info)
5855 (stepping_past_instruction_at): New functions.
5856 (handle_inferior_event): Clear the step-over info when
5857 trap_expected is cleared.
5858 (resume): Remove now stale comment.
5859 (clear_proceed_status): Clear step-over info.
5860 (proceed): Adjust step-over handling to set or clear the step-over
5861 info instead of removing all breakpoints.
5862 (handle_signal_stop): When setting up a thread-hop, don't remove
5863 breakpoints here.
5864 (stop_stepping): Clear step-over info.
5865 (keep_going): Adjust step-over handling to set or clear step-over
5866 info and then always inserting breakpoints, instead of removing
5867 all breakpoints when stepping over one.
5868
b9f437de
PA
58692014-03-20 Pedro Alves <palves@redhat.com>
5870
5871 * infrun.c (previous_inferior_ptid): Adjust comment.
5872 (deferred_step_ptid): Delete.
5873 (infrun_thread_ptid_changed, prepare_to_proceed)
5874 (init_wait_for_inferior): Adjust.
5875 (handle_signal_stop): Delete deferred_step_ptid handling.
5876
06c868a8
JK
58772014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
5878
5879 PR gdb/15358
5880 * defs.h (sync_quit_force_run): New declaration.
5881 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
5882 * event-top.c (async_sigterm_handler): New declaration.
5883 (async_sigterm_token): New variable.
5884 (async_init_signals): Create also async_sigterm_token.
5885 (async_sigterm_handler): New function.
5886 (sync_quit_force_run): New variable.
5887 (handle_sigterm): Replace quit_force call by other calls.
5888 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
5889
dea80df0
MR
58902014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
5891
5892 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
5893 offset into SPE pseudo registers.
5894
0c7e1a46
PA
58952014-03-18 Pedro Alves <palves@redhat.com>
5896
5897 PR gdb/13860
5898 * inferior.h (print_stop_event): Declare.
5899 * infrun.c (print_stop_event): New, factored out from ...
5900 (normal_stop): ... this.
5901 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
5902 of bpstat_print/print_stack_frame.
5903
9c1fcd01
TT
59042014-03-17 Tom Tromey <tromey@redhat.com>
5905
5906 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
5907
11aa919a
PMR
59082014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
5909
5910 * ada-lang.c (decode_constrained_packed_array): Perform a
5911 minimal coercion for reference with coerce_ref instead of
5912 ada_coerce_ref.
5913
d4ccb5e0
TG
59142014-03-17 Tristan Gingold <gingold@adacore.com>
5915
5916 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
5917 (darwin_solib_create_inferior_hook): Emit a warning if version
5918 is unhandled.
5919
49840f2a
UW
59202014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
5921
5922 * python/py-value.c (get_field_flag): Cast flag_name argument to
5923 PyObject_GetAttrString to support Python 2.4.
5924
ed4123e5
JK
59252014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
5926
5927 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
5928 (Global Maintainers): Remove Jan Kratochvil.
5929
d6b64346
PA
59302014-03-14 Pedro Alves <palves@redhat.com>
5931
5932 * inferior.h (terminal_ours_for_output): Rename to ...
5933 (child_terminal_ours_for_output): ... this.
5934 (terminal_save_ours): Rename to ...
5935 (child_terminal_save_ours): ... this.
5936 (terminal_ours): Rename to ...
5937 (child_terminal_ours): ... this.
5938 (terminal_inferior): Rename to ...
5939 (child_terminal_inferior): ... this.
5940 (terminal_init_inferior): Rename to ...
5941 (child_terminal_init_inferior): ... this.
5942 (terminal_init_inferior_with_pgrp): Rename to ...
5943 (child_terminal_init_inferior_with_pgrp): ... this.
5944 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
5945 (child_terminal_init_with_pgrp): ... this.
5946 (terminal_save_ours): Rename to ...
5947 (child_terminal_save_ours): ... this.
5948 (terminal_init_inferior): Rename to ...
5949 (child_terminal_init): ... this. Adjust.
5950 (terminal_inferior): Rename to ...
5951 (child_terminal_inferior): ... this.
5952 (terminal_ours_for_output): Rename to ...
5953 (child_terminal_ours_for_output): ... this. Adjust.
5954 (terminal_ours): Rename to ...
5955 (child_terminal_ours): ... this.
5956 (terminal_ours_1): Rename to ...
5957 (child_terminal_ours_1): ... this. Adjust.
5958 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
5959 * windows-nat.c (do_initial_windows_stuff): Adjust.
5960 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
5961 (gnu_terminal_init): ... this. Adjust.
5962 (gnu_target): Adjust.
5963 * inf-child.c (inf_child_target): Adjust.
5964
5a1e8c7a
DE
59652014-03-13 Doug Evans <xdje42@gmail.com>
5966
5967 PR guile/16612
5968 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
5969 new eq?-hashtab.
5970
350e1a76
DE
59712014-03-13 Doug Evans <xdje42@gmail.com>
5972
5973 * value.c (record_latest_value): Call release_value_or_incref
5974 instead of release_value.
5975
a69900ae
PA
59762014-03-13 Pedro Alves <palves@redhat.com>
5977
5978 * procfs.c (procfs_target): Don't override to_shortname,
5979 to_longname or to_doc.
5980
5db9f0bd
PA
59812014-03-13 Pedro Alves <palves@redhat.com>
5982
5983 * inf-child.c (inf_child_open, inf_child_target): Don't mention
5984 Unix in user visible strings.
5985
5e3a2c38
SS
59862014-03-12 Stan Shebs <stan@codesourcery.com>
5987
5988 * gdbtypes.h: Annotate comments for Doxygen, add a page
5989 block comment with some general info.
5990
8bc2fe48
PA
59912014-03-12 Pedro Alves <palves@redhat.com>
5992
5993 * infcmd.c (prepare_execution_command): New function, factored out
5994 from several execution commands.
5995 (run_command_1, continue_command, step_1, jump_command)
5996 (signal_command, until_command, advance_command, finish_command)
5997 (attach_command): Use prepare_execution_command.
5998
638c5f49
OJ
59992014-03-12 Omair Javaid <omair.javaid@linaro.org>
6000
6001 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6002 (MAX_BPTS): Define.
6003 (MAX_WPTS): Define.
6004 (struct arm_linux_thread_points): Removed.
6005 (struct arm_linux_process_info): New.
6006 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6007 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6008 (arm_linux_find_breakpoints_by_tid): Removed.
6009 (struct arch_lwp_info): New.
6010 (arm_linux_find_process_pid): New functions.
6011 (arm_linux_add_process): New functions.
6012 (arm_linux_process_info_get): New functions.
6013 (arm_linux_forget_process): New function.
6014 (arm_linux_get_debug_reg_state): New function.
6015 (struct update_registers_data): New.
6016 (update_registers_callback): New function.
6017 (arm_linux_insert_hw_breakpoint1): Updated.
6018 (arm_linux_remove_hw_breakpoint1): Updated.
6019 (arm_linux_insert_hw_breakpoint): Updated.
6020 (arm_linux_remove_hw_breakpoint): Updated.
6021 (arm_linux_insert_watchpoint): Updated.
6022 (arm_linux_remove_watchpoint): Updated.
6023 (arm_linux_new_thread): Updated.
6024 (arm_linux_prepare_to_resume): New function.
6025 (arm_linux_new_fork): New function.
6026 (_initialize_arm_linux_nat): Updated.
6027
6d03af93
PA
60282014-03-12 Pedro Alves <palves@redhat.com>
6029
6030 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6031
b3ccfe11
TT
60322014-03-12 Tom Tromey <tromey@redhat.com>
6033
6034 * inf-child.c (return_zero): New function.
6035 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6036 * aix-thread.c (aix_thread_inferior_created): New function.
6037 (aix_thread_attach): Remove.
6038 (init_aix_thread_ops): Don't set to_attach.
6039 (_initialize_aix_thread): Register inferior_created observer.
6040 * corelow.c (init_core_ops): Don't set to_attach or
6041 to_create_inferior.
6042 * exec.c (init_exec_ops): Don't set to_attach or
6043 to_create_inferior.
6044 * infcmd.c (run_command_1): Use find_run_target. Make direct
6045 target calls.
6046 (attach_command): Use find_attach_target. Make direct target
6047 calls.
6048 * record-btrace.c (init_record_btrace_ops): Don't set
6049 to_create_inferior.
6050 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6051 Remove.
6052 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6053 set to_create_inferior.
6054 * target.c (complete_target_initialization): Add assertion.
6055 (target_create_inferior): Remove.
6056 (find_default_attach, find_default_create_inferior): Remove.
6057 (find_attach_target, find_run_target): New functions.
6058 (find_default_is_async_p, find_default_can_async_p)
6059 (target_supports_non_stop, target_attach): Remove.
6060 (init_dummy_target): Don't set to_create_inferior or
6061 to_supports_non_stop.
6062 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6063 TARGET_DEFAULT_FUNC.
6064 <to_create_inferior>: Add comment.
6065 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6066 TARGET_DEFAULT_RETURN.
6067 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6068 (find_attach_target, find_run_target): Declare.
6069 (target_create_inferior): Remove.
6070 (target_has_execution_1): Update comment.
6071 (target_supports_non_stop): Remove.
6072 * target-delegates.c: Rebuild.
6073
91f83b02
PA
60742014-03-12 Pedro Alves <palves@redhat.com>
6075
6076 * inf-child.h: Update comment to not mention Unix.
6077
f1aea813
PA
60782014-03-12 Pedro Alves <palves@redhat.com>
6079
6080 * inf-child.c: Update top comment to not mention Unix. Add
6081 generic comment describing how this target is meant to be used.
6082 (inf_child_post_attach, inf_child_post_startup_inferior)
6083 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6084 Unix in comment.
6085
ee8e9165
PA
60862014-03-12 Pedro Alves <palves@redhat.com>
6087
6088 * nto-procfs.c: Include inf-child.h.
6089 (procfs_ops): Delete global.
6090 (procfs_can_run): Delete method.
6091 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6092 target pointer instead of referencing procfs_ops.
6093 (procfs_prepare_to_store): Delete.
6094 (init_procfs_ops): Delete function.
6095 (procfs_target): New function, based on init_procfs_ops, but
6096 inherit inf_child_target.
6097 (_initialize_procfs): Use procfs_target.
6098
51a9c8c5
PA
60992014-03-12 Pedro Alves <palves@redhat.com>
6100
6101 * windows-nat.c: Include inf-child.h.
6102 (windows_ops): Delete global.
6103 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6104 methods.
6105 (init_windows_ops): Delete function.
6106 (windows_target): New function, based on init_windows_ops, but
6107 inherit inf_child_target.
6108 (_initialize_windows_nat): Use windows_target. Install x86
6109 specific target methods here.
6110
c1966e26
DE
61112014-03-10 Doug Evans <xdje42@gmail.com>
6112
6113 * guile/guile.c (call_initialize_gdb_module): New function.
6114 (initialize_guile): Replace call to scm_init_guile with call to
6115 scm_with_guile.
6116
023db19c
JB
61172014-03-10 Joel Brobecker <brobecker@adacore.com>
6118
6119 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6120 in call to TYPE_CODE macro.
6121
5ec18f2b
JG
61222014-03-10 Jerome Guitton <guitton@adacore.com>
6123
8668be63
JB
6124 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6125 Resolve tagged types to full view.
5ec18f2b 6126
7d03f2eb
HZ
61272014-03-10 Hui Zhu <hui@codesourcery.com>
6128
6129 * target.h (target_insert_breakpoint): Remove "hardware" from its
6130 comments.
6131
c5164cbc
DE
61322014-03-07 Doug Evans <dje@google.com>
6133
6134 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6135
c4a3fee2
DE
61362014-03-07 Doug Evans <dje@google.com>
6137
6138 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6139 Remove unused local comp_dir_attr. Assert exactly one of
6140 stub_comp_unit_die, stub_comp_dir is non-NULL.
6141
3156469c
JB
61422014-03-07 Joel Brobecker <brobecker@adacore.com>
6143
6144 * target.h (complete_target_initialization, add_target):
6145 Add comment.
6146
c1a7b7c6
PA
61472014-03-07 Pedro Alves <palves@redhat.com>
6148
6149 * go32-nat.c: Include inf-child.h.
6150 (go32_ops): Delete global.
6151 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6152 Delete methods.
6153 (go32_create_inferior): Push the passed in target pointer instead
6154 of referencing go32_ops.
6155 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6156 (go32_target): New function, based on init_go32_ops, but inherit
6157 inf_child_target.
6158 (_initialize_go32_nat): Use go32_target. Move parts of
6159 init_go32_ops here.
6160
d3c1a85f
JB
61612014-03-06 Joel Brobecker <brobecker@adacore.com>
6162
6163 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6164 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6165 SYMBOL_VALUE_ADDRESS.
6166 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6167
5fa1d40e
YQ
61682014-03-06 Yao Qi <yao@codesourcery.com>
6169
6170 * breakpoint.c (get_tracepoint_by_number): Remove argument
6171 optional_p. All callers updated. Adjust comments. Update
6172 output message.
6173 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6174
0c13193f
YQ
61752014-03-06 Yao Qi <yao@codesourcery.com>
6176
6177 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6178 early if get_number returns zero. Use 'p' instead of 'args'.
6179
2217da06
YQ
61802014-03-06 Yao Qi <yao@codesourcery.com>
6181
6182 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6183 message.
6184
cc3da688
YQ
61852014-03-06 Yao Qi <yao@codesourcery.com>
6186
6187 PR breakpoints/16508
6188 * tracepoint.c (check_trace_running): New function.
6189 (trace_find_command): Move code to check_trace_running and
6190 call check_trace_running.
6191 (trace_find_pc_command): Likewise.
6192 (trace_find_tracepoint_command): Likewise.
6193 (trace_find_line_command): Likewise.
6194 (trace_find_range_command): Likewise.
6195 * tracepoint.h (check_trace_running): Likewise.
6196 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6197
6a5f844b
YQ
61982014-03-06 Yao Qi <yao@codesourcery.com>
6199
6200 * target.h (struct target_ops) <to_traceframe_info>: Use
6201 TARGET_DEFAULT_NORETURN (tcomplain ()).
6202 * target-delegates.c: Regenerated.
6203
0f26cec1
PA
62042014-03-05 Pedro Alves <palves@redhat.com>
6205
6206 PR gdb/16575
6207 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6208 void. Update comment.
6209 (dcache_xfer_memory): Delete.
6210 (dcache_read_memory_partial): New, based on the read bits of
6211 dcache_xfer_memory.
6212 (dcache_update): Add status parameter. Use ULONGEST for len, and
6213 adjust. Discard cache lines if the reason for the update was
6214 error.
6215 * dcache.h (dcache_xfer_memory): Delete declaration.
6216 (dcache_read_memory_partial): New declaration.
6217 (dcache_update): Update prototype.
6218 * target.c (raw_memory_xfer_partial): Update the dcache here.
6219 (memory_xfer_partial_1): Don't handle dcache writes here.
6220
b2b255bd
MF
62212014-03-05 Mike Frysinger <vapier@gentoo.org>
6222
6223 * remote-sim.c (gdbsim_load): Add const to prog.
6224
5d9cf8a4
TT
62252014-03-03 Tom Tromey <tromey@redhat.com>
6226
6227 * elfread.c (probe_key): Change to bfd_data.
6228 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6229 now per-BFD, not per-objfile.
6230 * stap-probe.c (stap_probe_destroy): Update comment.
6231 (handle_stap_probe): Allocate on the per-BFD obstack.
6232
729662a5
TT
62332014-03-03 Tom Tromey <tromey@redhat.com>
6234
6235 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6236 * breakpoint.c (create_longjmp_master_breakpoint): Use
6237 get_probe_address.
6238 (add_location_to_breakpoint, bkpt_probe_insert_location)
6239 (bkpt_probe_remove_location): Update.
6240 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6241 * elfread.c (elf_symfile_relocate_probe): Remove.
6242 (elf_probe_fns): Update.
6243 (insert_exception_resume_breakpoint): Change type of "probe"
6244 parameter to bound_probe.
6245 (check_exception_resume): Update.
6246 * objfiles.c (objfile_relocate1): Don't relocate probes.
6247 * probe.c (bound_probe_s): New typedef.
6248 (parse_probes): Use get_probe_address. Set sal's objfile.
6249 (find_probe_by_pc): Return a bound_probe.
6250 (collect_probes): Return a VEC(bound_probe_s).
6251 (compare_probes): Update.
6252 (gen_ui_out_table_header_info): Change type of "probes"
6253 parameter. Update.
6254 (info_probes_for_ops): Update.
6255 (get_probe_address): New function.
6256 (probe_safe_evaluate_at_pc): Update.
6257 * probe.h (struct probe_ops) <get_probe_address>: New field.
6258 <set_semaphore, clear_semaphore>: Add objfile parameter.
6259 (struct probe) <objfile>: Remove field.
6260 <arch>: New field.
6261 <address>: Update comment.
6262 (struct bound_probe): New.
6263 (find_probe_by_pc): Return a bound_probe.
6264 (get_probe_address): Declare.
6265 * solib-svr4.c (struct probe_and_action) <address>: New field.
6266 (hash_probe_and_action, equal_probe_and_action): Update.
6267 (register_solib_event_probe): Add address parameter.
6268 (solib_event_probe_at): Update.
6269 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6270 get_probe_address.
6271 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6272 (stap_get_probe_address): New function.
6273 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6274 (compile_probe_arg): Update.
6275 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6276 address.
6277 (handle_stap_probe): Don't relocate the probe.
6278 (stap_relocate): Remove.
6279 (stap_gen_info_probes_table_values): Update.
6280 (stap_probe_ops): Remove stap_relocate.
6281 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6282 (debug_sym_probe_fns): Update.
6283 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6284 * symtab.c (init_sal): Use memset.
6285 * symtab.h (struct symtab_and_line) <objfile>: New field.
6286 * tracepoint.c (start_tracing, stop_tracing): Update.
6287
ff887920
TT
62882014-03-03 Tom Tromey <tromey@redhat.com>
6289
6290 * probe.h (parse_probes, find_probe_by_pc)
6291 (find_probes_in_objfile): Fix comments.
6292
f0407826
DE
62932014-03-02 Doug Evans <xdje42@gmail.com>
6294
6295 * infrun.c (handle_signal_stop): Replace test for
6296 TARGET_WAITKIND_STOPPED with an assert.
6297
35e6a711
DE
62982014-03-02 Doug Evans <xdje42@gmail.com>
6299
6300 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6301
667f9d0b
DE
63022014-03-02 Doug Evans <xdje42@gmail.com>
6303
6304 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6305
dc92ace0
MK
63062014-03-01 Mark Kettenis <kettenis@gnu.org>
6307
6308 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6309
a900370f
MK
63102014-03-01 Mark Kettenis <kettenis@gnu.org>
6311
6312 * i386obsd-nat.c: Include "obsd-nat.h".
6313 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6314 add_target.
6315 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6316
b72a7981
MK
63172014-03-01 Mark Kettenis <kettenis@gnu.org>
6318
6319 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6320
96c70aba
MK
63212014-03-01 Mark Kettenis <kettenis@gnu.org>
6322
6323 * mips64obsd-nat.c: Include "obsd-nath".
6324 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6325 add_target
6326 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6327
874a80af
MK
63282014-03-01 Mark Kettenis <kettenis@gnu.org>
6329
8fd408f1
MK
6330 * amd64obsd-nat.c: Include "obsd-nat,h.
6331 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6332 add_target.
874a80af
MK
6333 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6334
9cf95373
SC
63352014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6336
6337 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6338 (find_overload_match): Update call to find_oload_champ.
6339 (find_oload_champ_namespace_loop): Likewise
6340
863e4da4
MK
63412014-02-28 Mark Kettenis <kettenis@gnu.org>
6342
025cac40
MK
6343 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6344
1ed586ce
MK
6345 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6346 * config/sparc/obsd64.mh: New file.
6347 * sparc64obsd-nat.c: New file.
6348
863e4da4
MK
6349 * obsd-nat.h: New file.
6350 * obsd-nat.c: New file.
6351 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6352 (ALLDEPFILES): Add obsd-nat.c.
6353
89de4da4
TT
63542014-02-28 Tom Tromey <tromey@redhat.com>
6355
6356 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6357 * cli-out.h (cli_ui_out_impl): Now const.
6358 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6359 * ui-out.c (struct ui_out) <impl>: Now const.
6360 (default_ui_out_impl): Now const.
6361 (ui_out_new): Make 'impl' parameter const.
6362 * ui-out.h (ui_out_new): Update.
6363
c725e7b6
MK
63642014-02-27 Mark Kettenis <kettenis@gnu.org>
6365
6366 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6367
670b46b3
MK
63682014-02-27 Mark Kettenis <kettenis@gnu.org>
6369
6370 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6371
c91550fc
JK
63722014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6373
6374 Additional PR 8882 fix.
6375 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6376
2fa0369e
PA
63772014-02-27 Pedro Alves <palves@redhat.com>
6378
6379 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6380 isn't set.
6381
d632a097
PA
63822014-02-27 Pedro Alves <palves@redhat.com>
6383
6384 PR 12702
6385 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6386 * nat/linux-waitpid.c: Include string.h.
6387 (status_to_str): Moved here and made extern.
6388 * nat/linux-waitpid.h (status_to_str): New declaration.
6389
2ebd5a35
HZ
63902014-02-27 Hui Zhu <hui@codesourcery.com>
6391
6392 PR 12702
6393 * infrun.c (ptid_match): Move ...
6394 * common/ptid.c (ptid_match): ... here.
6395 * inferior.h (ptid_match): Move ...
6396 * common/ptid.h (ptid_match): ... here.
6397
3cdd631f
MK
63982014-02-27 Mark Kettenis <kettenis@gnu.org>
6399
6400 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6401 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6402 gdb_target_obs.
6403
bee30a64
MK
64042014-02-27 Mark Kettenis <kettenis@gnu.org>
6405
6406 * obsd-tdep.c (obsd_auxv_parse): New function.
6407 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6408
6409 * gdbarch.sh (auxv_parse): New.
6410 * gdbarch.h: Regenerated.
6411 * gdbarch.c: Regenerated.
6412 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6413
7a5a839f
LC
64142014-02-26 Ludovic Courtès <ludo@gnu.org>
6415
6416 * guile/scm-value.c (gdbscm_history_append_x): New function.
6417 (value_functions): Add it.
6418
31aa7e4e
JB
64192014-02-27 Joel Brobecker <brobecker@adacore.com>
6420
6421 * dwarf2read.c (attr_value_as_address): New function.
6422 (dwarf2_find_base_address, read_call_site_scope): Use
6423 attr_value_as_address in place of DW_ADDR.
6424 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6425 the low and high addresses. Slight rework of the handling
6426 of the high pc being a constant form, and limit it to
6427 DWARF verson 4 or higher.
6428 (dwarf2_record_block_ranges): Likewise.
6429 (read_partial_die): Likewise.
6430 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6431
9b333ba3
TT
64322014-02-26 Tom Tromey <tromey@redhat.com>
6433
6434 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6435
5f6cac40
TT
64362014-02-26 Tom Tromey <tromey@redhat.com>
6437
6438 * elfread.c (elf_read_minimal_symbols): Return early if
6439 minimal symbols have already been read. Add "ei" parameter.
6440 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6441 * minsyms.c (prim_record_minimal_symbol_full): Update.
6442 * objfiles.h (struct objstats) <n_minsyms>: Move...
6443 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6444 * symmisc.c (print_objfile_statistics): Update.
6445
2750ef27
TT
64462014-02-26 Tom Tromey <tromey@redhat.com>
6447
6448 * elfread.c (elf_read_minimal_symbols): New function, from
6449 elf_symfile_read.
6450 (elf_symfile_read): Call it.
6451
34643a32
TT
64522014-02-26 Tom Tromey <tromey@redhat.com>
6453
6454 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6455 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6456 (lookup_minimal_symbol_solib_trampoline)
6457 (lookup_minimal_symbol_by_pc_section_1)
6458 (lookup_minimal_symbol_and_objfile): Update.
6459 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6460 Don't allocate a minimal symbol if minsyms have already been read.
6461 (build_minimal_symbol_hash_tables): Update.
6462 (install_minimal_symbols): Do nothing if minsyms already read.
6463 Use the per-BFD obstack.
6464 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6465 * objfiles.c (allocate_objfile): Call
6466 terminate_minimal_symbol_table later.
6467 (have_minimal_symbols): Update.
6468 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6469 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6470 Move from struct objfile.
6471 <minsyms_read>: New field.
6472 (struct objfile) <msymbols, minimal_symbol_count,
6473 msymbol_hash, msymbol_demangled_hash>: Move.
6474 (ALL_OBJFILE_MSYMBOLS): Update.
6475 * symfile.c (read_symbols): Set minsyms_read.
6476 (reread_symbols): Update.
6477 * symmisc.c (dump_objfile, dump_msymbols): Update.
6478
2273f0ac
TT
64792014-02-26 Tom Tromey <tromey@redhat.com>
6480
6481 * minsyms.c (msymbols_sort): Remove.
6482 * minsyms.h (msymbols_sort): Remove.
6483 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6484 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6485 * elfread.c (elf_symtab_read): Don't add section offsets.
6486 * xcoffread.c (record_minimal_symbol): Don't add section offset
6487 to minimal symbol address.
6488 * somread.c (text_offset, data_offset): Remove.
6489 (som_symtab_read): Don't add section offsets to minimal symbol
6490 addresses.
6491 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6492 Don't add section offsets to minimal symbols.
6493 * coffread.c (coff_symtab_read): Don't add section offsets
6494 to minimal symbol addresses.
6495 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6496 to minimal symbol addresses.
6497 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6498 section offset to minimal symbol addresses.
6499 * mdebugread.c (parse_partial_symbols): Don't add section
6500 offset to minimal symbol addresses.
6501 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6502 offset to minimal symbol addresses.
6503
77e371c0
TT
65042014-02-26 Tom Tromey <tromey@redhat.com>
6505
6506 * ada-lang.c (ada_main_name): Update.
6507 (ada_add_standard_exceptions): Update.
6508 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6509 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6510 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6511 * auxv.c (ld_so_xfer_auxv): Update.
6512 * avr-tdep.c (avr_scan_prologue): Update.
6513 * ax-gdb.c (gen_var_ref): Update.
6514 * blockframe.c (get_pc_function_start)
6515 (find_pc_partial_function_gnu_ifunc): Update.
6516 * breakpoint.c (create_overlay_event_breakpoint)
6517 (create_longjmp_master_breakpoint)
6518 (create_std_terminate_master_breakpoint)
6519 (create_exception_master_breakpoint): Update.
6520 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6521 * c-valprint.c (c_val_print): Update.
6522 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6523 * common/agent.c (agent_look_up_symbols): Update.
6524 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6525 * dwarf2loc.c (call_site_to_target_addr): Update.
6526 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6527 * elfread.c (elf_gnu_ifunc_record_cache)
6528 (elf_gnu_ifunc_resolve_by_got): Update.
6529 * findvar.c (default_read_var_value): Update.
6530 * frame.c (inside_main_func): Update.
6531 * frv-tdep.c (frv_frame_this_id): Update.
6532 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6533 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6534 Update.
6535 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6536 (hppa_hpux_find_dummy_bpaddr): Update.
6537 * hppa-tdep.c (hppa_symbol_address): Update.
6538 * infcmd.c (until_next_command): Update.
6539 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6540 Update.
6541 * linespec.c (minsym_found, add_minsym): Update.
6542 * linux-nat.c (get_signo): Update.
6543 * linux-thread-db.c (inferior_has_bug): Update.
6544 * m32c-tdep.c (m32c_return_value)
6545 (m32c_m16c_address_to_pointer): Update.
6546 * m32r-tdep.c (m32r_frame_this_id): Update.
6547 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6548 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6549 * maint.c (maintenance_translate_address): Update.
6550 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6551 (frob_address): New function.
6552 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6553 frob_address. Rename parameter to "pc_in".
6554 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6555 addresses.
6556 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6557 Update.
6558 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6559 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6560 * objc-lang.c (find_objc_msgsend): Update.
6561 * objfiles.c (objfile_relocate1): Update.
6562 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6563 * p-valprint.c (pascal_val_print): Update.
6564 * parse.c (write_exp_msymbol): Update.
6565 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6566 (ppc_elfv2_skip_entrypoint): Update.
6567 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6568 * printcmd.c (build_address_symbolic, msym_info)
6569 (address_info): Update.
6570 * proc-service.c (ps_pglobal_lookup): Update.
6571 * psymtab.c (find_pc_sect_psymtab_closer)
6572 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6573 Change msymbol parameter to bound_minimal_symbol.
6574 * ravenscar-thread.c (get_running_thread_id): Update.
6575 * remote.c (remote_check_symbols): Update.
6576 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6577 address.
6578 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6579 * solib-dsbt.c (lm_base): Update.
6580 * solib-frv.c (lm_base, main_got): Update.
6581 * solib-irix.c (locate_base): Update.
6582 * solib-som.c (som_solib_create_inferior_hook)
6583 (link_map_start): Update.
6584 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6585 * solib-svr4.c (elf_locate_base, enable_break): Update.
6586 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6587 (flush_ea_cache): Update.
6588 * stabsread.c (define_symbol, scan_file_globals): Update.
6589 * stack.c (find_frame_funname): Update.
6590 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6591 (debug_qf_find_pc_sect_symtab): Update.
6592 * symfile.c (simple_read_overlay_table)
6593 (simple_overlay_update): Update.
6594 * symfile.h (struct quick_symbol_functions)
6595 <find_pc_sect_symtab>: Change type of msymbol to
6596 bound_minimal_symbol.
6597 * symmisc.c (dump_msymbols): Update.
6598 * symtab.c (find_pc_sect_symtab_via_partial)
6599 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6600 (search_symbols, print_msymbol_info): Update.
6601 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6602 (MSYMBOL_VALUE_ADDRESS): Redefine.
6603 (BMSYMBOL_VALUE_ADDRESS): New macro.
6604 * tracepoint.c (scope_info): Update.
6605 * tui/tui-disasm.c (tui_find_disassembly_address)
6606 (tui_get_begin_asm_address): Update.
6607 * valops.c (find_function_in_inferior): Update.
6608 * value.c (value_static_field, value_fn_field): Update.
6609
3b7344d5
TT
66102014-02-26 Tom Tromey <tromey@redhat.com>
6611
6612 * ada-lang.c (ada_update_initial_language): Update.
6613 (ada_main_name, ada_has_this_exception_support): Update.
6614 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6615 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6616 * arm-tdep.c (arm_skip_stub): 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 * breakpoint.c (struct breakpoint_objfile_data)
6621 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6622 type to bound_minimal_symbol.
6623 (create_overlay_event_breakpoint)
6624 (create_longjmp_master_breakpoint)
6625 (create_std_terminate_master_breakpoint)
6626 (create_exception_master_breakpoint): Update.
6627 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6628 * c-exp.y (classify_name): Update.
6629 * coffread.c (coff_symfile_read): Update.
6630 * common/agent.c (agent_look_up_symbols): Update.
6631 * d-lang.c (d_main_name): Update.
6632 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6633 * dec-thread.c (enable_dec_thread): Update.
6634 * dwarf2loc.c (call_site_to_target_addr): Update.
6635 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6636 * eval.c (evaluate_subexp_standard): Update.
6637 * findvar.c (struct minsym_lookup_data) <result>: Change type
6638 to bound_minimal_symbol.
6639 <objfile>: Remove.
6640 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6641 * frame.c (inside_main_func): Update.
6642 * frv-tdep.c (frv_frame_this_id): Update.
6643 * gcore.c (call_target_sbrk): Update.
6644 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6645 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6646 Update.
6647 * go-lang.c (go_main_name): Update.
6648 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6649 (hppa_hpux_find_import_stub_for_addr): Update.
6650 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6651 Update. Change return type.
6652 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6653 type.
6654 * jit.c (jit_breakpoint_re_set_internal): Update.
6655 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6656 Update.
6657 * linux-nat.c (get_signo): Update.
6658 * linux-thread-db.c (inferior_has_bug): Update
6659 * m32c-tdep.c (m32c_return_value)
6660 (m32c_m16c_address_to_pointer): Update.
6661 * m32r-tdep.c (m32r_frame_this_id): Update.
6662 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6663 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6664 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6665 lookup_minimal_symbol. Change return type.
6666 (lookup_minimal_symbol): Remove.
6667 (lookup_bound_minimal_symbol): Update.
6668 (lookup_minimal_symbol_text): Change return type.
6669 (lookup_minimal_symbol_solib_trampoline): Change return type.
6670 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6671 (lookup_minimal_symbol_solib_trampoline): Change return type.
6672 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6673 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6674 (value_nsstring, find_imps): Update.
6675 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6676 * p-lang.c (pascal_main_name): Update.
6677 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6678 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6679 * proc-service.c (ps_pglobal_lookup): Update.
6680 * ravenscar-thread.c (get_running_thread_msymbol): Change
6681 return type.
6682 (has_ravenscar_runtime, get_running_thread_id): Update.
6683 * remote.c (remote_check_symbols): Update.
6684 * sol-thread.c (ps_pglobal_lookup): Update.
6685 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6686 * solib-dsbt.c (lm_base): Update.
6687 * solib-frv.c (lm_base, frv_relocate_section_addresses):
6688 Update.
6689 * solib-irix.c (locate_base): Update.
6690 * solib-som.c (som_solib_create_inferior_hook)
6691 (som_solib_desire_dynamic_linker_symbols, link_map_start):
6692 Update.
6693 * solib-spu.c (spu_enable_break): Update.
6694 * solib-svr4.c (elf_locate_base, enable_break): Update.
6695 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6696 (flush_ea_cache): Update.
6697 * stabsread.c (define_symbol): Update.
6698 * symfile.c (simple_read_overlay_table): Update.
6699 * symtab.c (find_pc_sect_line): Update.
6700 * tracepoint.c (scope_info): Update.
6701 * tui-disasm.c (tui_get_begin_asm_address): Update.
6702 * value.c (value_static_field): Update.
6703
40c1a007
TT
67042014-02-26 Tom Tromey <tromey@redhat.com>
6705
6706 * minsyms.c (prim_record_minimal_symbol_full): Use
6707 SET_MSYMBOL_VALUE_ADDRESS.
6708 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
6709 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
6710 SET_MSYMBOL_VALUE_ADDRESS.
6711 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
6712 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
6713
efd66ac6
TT
67142014-02-26 Tom Tromey <tromey@redhat.com>
6715
6716 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
6717 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
6718 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
6719 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
6720 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
6721 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
6722 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
6723 * ada-lang.c (ada_main_name): Update.
6724 (ada_lookup_simple_minsym): Update.
6725 (ada_make_symbol_completion_list): Update.
6726 (ada_add_standard_exceptions): Update.
6727 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
6728 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6729 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
6730 * arm-tdep.c (skip_prologue_function): Update.
6731 (arm_skip_stack_protector, arm_skip_stub): Update.
6732 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
6733 (arm_wince_skip_main_prologue): Update.
6734 * auxv.c (ld_so_xfer_auxv): Update.
6735 * avr-tdep.c (avr_scan_prologue): Update.
6736 * ax-gdb.c (gen_var_ref): Update.
6737 * block.c (call_site_for_pc): Update.
6738 * blockframe.c (get_pc_function_start): Update.
6739 (find_pc_partial_function_gnu_ifunc): Update.
6740 * breakpoint.c (create_overlay_event_breakpoint): Update.
6741 (create_longjmp_master_breakpoint): Update.
6742 (create_std_terminate_master_breakpoint): Update.
6743 (create_exception_master_breakpoint): Update.
6744 (resolve_sal_pc): Update.
6745 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6746 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
6747 Update.
6748 * c-valprint.c (c_val_print): Update.
6749 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6750 * coffread.c (coff_symfile_read): Update.
6751 * common/agent.c (agent_look_up_symbols): Update.
6752 * dbxread.c (find_stab_function_addr): Update.
6753 (end_psymtab): Update.
6754 * dwarf2loc.c (call_site_to_target_addr): Update.
6755 (func_verify_no_selftailcall): Update.
6756 (tailcall_dump): Update.
6757 (call_site_find_chain_1): Update.
6758 (dwarf_expr_reg_to_entry_parameter): Update.
6759 * elfread.c (elf_gnu_ifunc_record_cache): Update.
6760 (elf_gnu_ifunc_resolve_by_got): Update.
6761 * f-valprint.c (info_common_command): Update.
6762 * findvar.c (read_var_value): Update.
6763 * frame.c (get_prev_frame_1): Update.
6764 (inside_main_func): Update.
6765 * frv-tdep.c (frv_skip_main_prologue): Update.
6766 (frv_frame_this_id): Update.
6767 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6768 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
6769 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
6770 (gnuv3_skip_trampoline): Update.
6771 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
6772 (hppa64_hpux_in_solib_call_trampoline): Update.
6773 (hppa_hpux_skip_trampoline_code): Update.
6774 (hppa64_hpux_search_dummy_call_sequence): Update.
6775 (hppa_hpux_find_import_stub_for_addr): Update.
6776 (hppa_hpux_find_dummy_bpaddr): Update.
6777 * hppa-tdep.c (hppa_symbol_address)
6778 (hppa_lookup_stub_minimal_symbol): Update.
6779 * i386-tdep.c (i386_skip_main_prologue): Update.
6780 (i386_pe_skip_trampoline_code): Update.
6781 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
6782 * infcall.c (get_function_name): Update.
6783 * infcmd.c (until_next_command): Update.
6784 * jit.c (jit_breakpoint_re_set_internal): Update.
6785 (jit_inferior_init): Update.
6786 * linespec.c (minsym_found): Update.
6787 (add_minsym): Update.
6788 * linux-fork.c (info_checkpoints_command): Update.
6789 * linux-nat.c (get_signo): Update.
6790 * linux-thread-db.c (inferior_has_bug): Update.
6791 * m32c-tdep.c (m32c_return_value): Update.
6792 (m32c_m16c_address_to_pointer): Update.
6793 (m32c_m16c_pointer_to_address): Update.
6794 * m32r-tdep.c (m32r_frame_this_id): Update.
6795 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6796 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6797 * maint.c (maintenance_translate_address): Update.
6798 * minsyms.c (add_minsym_to_hash_table): Update.
6799 (add_minsym_to_demangled_hash_table): Update.
6800 (msymbol_objfile): Update.
6801 (lookup_minimal_symbol): Update.
6802 (iterate_over_minimal_symbols): Update.
6803 (lookup_minimal_symbol_text): Update.
6804 (lookup_minimal_symbol_by_pc_name): Update.
6805 (lookup_minimal_symbol_solib_trampoline): Update.
6806 (lookup_minimal_symbol_by_pc_section_1): Update.
6807 (lookup_minimal_symbol_and_objfile): Update.
6808 (prim_record_minimal_symbol_full): Update.
6809 (compare_minimal_symbols): Update.
6810 (compact_minimal_symbols): Update.
6811 (build_minimal_symbol_hash_tables): Update.
6812 (install_minimal_symbols): Update.
6813 (terminate_minimal_symbol_table): Update.
6814 (find_solib_trampoline_target): Update.
6815 (minimal_symbol_upper_bound): Update.
6816 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6817 * mips-tdep.c (mips_stub_frame_sniffer): Update.
6818 (mips_skip_pic_trampoline_code): Update.
6819 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
6820 * objc-lang.c (selectors_info): Update.
6821 (classes_info): Update.
6822 (find_methods): Update.
6823 (find_imps): Update.
6824 (find_objc_msgsend): Update.
6825 * objfiles.c (objfile_relocate1): Update.
6826 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
6827 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6828 * p-valprint.c (pascal_val_print): Update.
6829 * parse.c (write_exp_msymbol): Update.
6830 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
6831 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
6832 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6833 * printcmd.c (build_address_symbolic): Update.
6834 (sym_info): Update.
6835 (address_info): Update.
6836 * proc-service.c (ps_pglobal_lookup): Update.
6837 * psymtab.c (find_pc_sect_psymtab_closer): Update.
6838 (find_pc_sect_psymtab): Update.
6839 * python/py-framefilter.c (py_print_frame): Update.
6840 * ravenscar-thread.c (get_running_thread_id): Update.
6841 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
6842 Update.
6843 * remote.c (remote_check_symbols): Update.
6844 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
6845 (rs6000_skip_trampoline_code): Update.
6846 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
6847 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6848 * solib-dsbt.c (lm_base): Update.
6849 * solib-frv.c (lm_base): Update.
6850 (main_got): Update.
6851 * solib-irix.c (locate_base): Update.
6852 * solib-som.c (som_solib_create_inferior_hook): Update.
6853 (som_solib_desire_dynamic_linker_symbols): Update.
6854 (link_map_start): Update.
6855 * solib-spu.c (spu_enable_break): Update.
6856 (ocl_enable_break): Update.
6857 * solib-svr4.c (elf_locate_base): Update.
6858 (enable_break): Update.
6859 * spu-tdep.c (spu_get_overlay_table): Update.
6860 (spu_catch_start): Update.
6861 (flush_ea_cache): Update.
6862 * stabsread.c (define_symbol): Update.
6863 (scan_file_globals): Update.
6864 * stack.c (find_frame_funname): Update.
6865 (frame_info): Update.
6866 * symfile.c (simple_read_overlay_table): Update.
6867 (simple_overlay_update): Update.
6868 * symmisc.c (dump_msymbols): Update.
6869 * symtab.c (fixup_section): Update.
6870 (find_pc_sect_line): Update.
6871 (skip_prologue_sal): Update.
6872 (search_symbols): Update.
6873 (print_msymbol_info): Update.
6874 (rbreak_command): Update.
6875 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
6876 (completion_list_objc_symbol): Update.
6877 (default_make_symbol_completion_list_break_on): Update.
6878 * tracepoint.c (scope_info): Update.
6879 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
6880 (tui_get_begin_asm_address): Update.
6881 * valops.c (find_function_in_inferior): Update.
6882 * value.c (value_static_field): Update.
6883 (value_fn_field): Update.
6884
50e65b17
TT
68852014-02-26 Tom Tromey <tromey@redhat.com>
6886
6887 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
6888 bound minimal symbols. Move code that knows about minsym
6889 table layout...
6890 * minsyms.c (minimal_symbol_upper_bound): ... here. New
6891 function.
6892 * minsyms.h (minimal_symbol_upper_bound): Declare.
6893 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
6894 minimal_symbol_upper_bound.
6895
1b588015
JB
68962014-02-27 Joel Brobecker <brobecker@adacore.com>
6897
6898 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
6899 Use the type's name if its basic type does not have a tag.
6900
dbb9c2b1
JB
69012014-02-27 Joel Brobecker <brobecker@adacore.com>
6902
6903 * dwarf2read.c (read_subrange_type): Add comment.
6904
55426c9d
JB
69052014-02-27 Joel Brobecker <brobecker@adacore.com>
6906
6907 * dwarf2read.c (update_enumeration_type_from_children): New
6908 function, mostly extracted from process_structure_scope.
6909 (read_enumeration_type): Call update_enumeration_type_from_children.
6910 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
6911 and flag_flag_enum fields.
6912
f2fce0ca
PA
69132014-02-26 Pedro Alves <palves@redhat.com>
6914
6915 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
6916 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
6917 to_xfer_partial method.
6918
7a44e40e
PA
69192014-02-26 Pedro Alves <palves@redhat.com>
6920
6921 * target.c (complete_target_initialization): Don't install
6922 default_xfer_partial as to_xfer_partial hook.
6923 (nomemory): Delete.
6924 (update_current_target): Don't INHERIT nor de_fault
6925 deprecated_xfer_memory. Delete de_fault macro.
6926 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
6927 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
6928 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
6929 field.
6930
bd265cd0
PA
69312014-02-26 Pedro Alves <palves@redhat.com>
6932
6933 * go32-nat.c (my_write_child): New function.
6934 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
6935 (go32_xfer_partial): New function.
6936 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
6937 Instead install a to_xfer_partial hook.
6938
9d46c4e5
PA
69392014-02-26 Pedro Alves <palves@redhat.com>
6940
6941 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
6942 to_xfer_partial helper. Rewrite.
6943 (procfs_xfer_partial): New function.
6944 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
6945 Install a to_xfer_partial hook.
6946
a1583b1f
PA
69472014-02-26 Pedro Alves <palves@redhat.com>
6948
6949 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
6950 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
6951 (m32r_xfer_partial): New function.
6952 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
6953 Install a to_xfer_partial hook.
6954
6df1b29f
PA
69552014-02-26 Pedro Alves <palves@redhat.com>
6956
6957 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
6958 helper.
6959 (mips_xfer_partial): New function.
6960 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
6961 hook. Install a to_xfer_partial hook.
6962
dc53a7ad
JB
69632014-02-26 Joel Brobecker <brobecker@adacore.com>
6964
6965 * gdbtypes.h (create_array_type_with_stride): Add declaration.
6966 * gdbtypes.c (create_array_type_with_stride): New function,
6967 renaming create_array_type, but with an added parameter
6968 called "bit_stride".
6969 (create_array_type): Re-implement using
6970 create_array_type_with_stride.
6971 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
6972 and DW_AT_bit_stride attributes.
6973
12ab52e9
PA
69742014-02-26 Pedro Alves <palves@redhat.com>
6975
6976 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
6977 task-specific breakpoints.
6978
d16461ae
PA
69792014-02-25 Pedro Alves <palves@redhat.com>
6980
6981 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
6982 handling of object == TARGET_OBJECT_UNWIND_TABLE.
6983
a8b16220
SS
69842014-02-25 Stan Shebs <stan@codesourcery.com>
6985
6986 * defs.h: Annotate comments for Doxygen.
6987
b9e795ee
TT
69882014-02-25 Tom Tromey <tromey@redhat.com>
6989
6990 * target.h (target_ignore): Don't declare.
6991 * target.c (target_ignore): Remove.
6992
849c862e
JK
69932014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
6994
6995 PR gdb/16626
6996 * auto-load.c (auto_load_objfile_script_1): Change filename to
6997 debugfile.
6998
475109d8
JB
69992014-02-25 Joel Brobecker <brobecker@adacore.com>
7000
7001 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7002 documentation. Adjust prototype to match the target_ops
7003 to_xfer_partial method. Adjust implementation accordingly.
7004
e186c3bd
HZ
70052014-02-25 Hui Zhu <hui@codesourcery.com>
7006
7007 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7008 to_traceframe_info.
7009
6d451942
KB
70102014-02-25 Kevin Buettner <kevinb@redhat.com>
7011
041ab8b4 7012 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7013 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7014 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7015 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7016 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7017 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7018 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7019 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7020 New constants.
7021 (rl78_register_type): Use a data pointer type for SP and
7022 new pseudo registers mentioned above. Use a 16 bit integer
7023 type for all other register pairs.
7024 (rl78_register_name, rl78_g10_register_name): Update for
7025 new pseudo registers.
7026 (rl78_pseudo_register_read): Likewise.
7027 (rl78_pseudo_register_write): Likewise.
7028 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7029 to the newly added pseudo registers.
7030
eddf0bae
DE
70312014-02-24 Doug Evans <dje@google.com>
7032
7033 * value.c (record_latest_value): Fix comment.
7034 * printcmd.c (print_command_1): Remove code to handle -1 return from
7035 record_latest_value.
7036
e96027e0
PA
70372014-02-24 Pedro Alves <palves@redhat.com>
7038
7039 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7040 deprecated_xfer_memory hook.
7041 (procfs_xfer_partial): Call procfs_xfer_memory instead
7042 of the deprecated_xfer_memory target hook.
7043 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7044 helper.
7045
0837c976
YZ
70462014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7047
7048 * windows-nat.c (windows_xfer_shared_libraries): Return
7049 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7050 requested object is TARGET_OBJECT_LIBRARIES.
7051
bc113b4e
YQ
70522014-02-24 Yao Qi <yao@codesourcery.com>
7053
7054 * target.h (enum target_xfer_status)
7055 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7056 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7057 explicitly. New.
7058 * corefile.c (memory_error_message): User updated.
7059 * exec.c (section_table_read_available_memory): Likewise.
7060 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7061 * target.c (target_xfer_status_to_string): Likewise.
7062 (raw_memory_xfer_partial): Likewise.
7063 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7064 * valops.c (read_value_memory): Likewise.
7065 * exec.h: Update comments.
7066
01cb8804
YQ
70672014-02-24 Yao Qi <yao@codesourcery.com>
7068
7069 * target.c (target_xfer_status_to_string): Rename argument err
7070 to status.
7071 * target.h (target_xfer_status_to_string): Update declaration.
7072 Replace target_xfer_error_to_string with
7073 target_xfer_status_to_string in comment.
7074
93063aa6
YQ
70752014-02-24 Yao Qi <yao@codesourcery.com>
7076
7077 * mips-linux-nat.c (super_close): Update its type.
7078 (mips_linux_close): Pass 'self' to super_close.
7079
5c328c05
YQ
70802014-02-24 Yao Qi <yao@codesourcery.com>
7081
7082 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7083 * corefile.c (read_memory): Adjusted.
7084 * target.c (target_write_with_progress): Adjusted.
7085
f73023dd
YQ
70862014-02-23 Yao Qi <yao@codesourcery.com>
7087
7088 Revert two patches:
7089
7090 2013-10-25 Yao Qi <yao@codesourcery.com>
7091
7092 * remote.c (remote_traceframe_info): Return early if
7093 traceframe is not selected.
7094
7095 2013-07-19 Yao Qi <yao@codesourcery.com>
7096
7097 * target.c (update_current_target): Change the default action
7098 of 'to_traceframe_info' from tcomplain to return_zero.
7099 * target.h (struct target_ops) <to_traceframe_info>: Add more
7100 comments.
7101
5a2eb0ef
YQ
71022014-02-23 Yao Qi <yao@codesourcery.com>
7103
7104 * valops.c (read_value_memory): Rewrite it. Call
7105 target_xfer_partial in a loop.
7106 * exec.h (section_table_available_memory): Remove declaration.
7107 Move comments to ...
7108 * exec.c (section_table_available_memory): ... here. Make it
7109 static.
7110
1ee79381
YQ
71112014-02-23 Yao Qi <yao@codesourcery.com>
7112
7113 * exec.c (section_table_read_available_memory): New function.
7114 * exec.h (section_table_read_available_memory): Declare.
7115 * ctf.c (ctf_xfer_partial): Call
7116 section_table_read_available_memory.
7117 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7118
1ca49d37
YQ
71192014-02-23 Yao Qi <yao@codesourcery.com>
7120
7121 * ctf.c (ctf_xfer_partial): Move code to ...
7122 * exec.c (exec_read_partial_read_only): ... it. New function.
7123 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7124 * tracefile.c: Include "exec.h".
7125 * exec.h (exec_read_partial_read_only): Declare.
7126
a283690e
YQ
71272014-02-23 Yao Qi <yao@codesourcery.com>
7128
7129 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7130 (tfile_has_memory): Remove.
7131 (init_tfile_ops): Don't set fields to_has_all_memory and
7132 to_has_memory of tfile_ops.
7133 * tracefile.c (tracefile_has_all_memory): New function.
7134 (tracefile_has_memory): New function.
7135 (init_tracefile_ops): Initialize fields to_has_all_memory and
7136 to_has_memory of 'ops'.
7137
12e03cd0
YQ
71382014-02-23 Yao Qi <yao@codesourcery.com>
7139
7140 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7141 (ctf_thread_alive, ctf_get_trace_status): Remove.
7142 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7143 init_tracefile_ops.
7144 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7145 (tfile_has_stack, tfile_has_registers): Remove.
7146 (tfile_thread_alive): Remove.
7147 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7148 init_tracefile_ops.
7149 * tracefile.c (tracefile_has_stack): New function.
7150 (tracefile_has_registers): New function.
7151 (tracefile_thread_alive): New function.
7152 (tracefile_get_trace_status): New function.
7153 (init_tracefile_ops): New function.
7154 * tracefile.h (init_tracefile_ops): Declare.
7155
11395323
YQ
71562014-02-23 Yao Qi <yao@codesourcery.com>
7157
7158 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7159 (O_LARGEFILE): Likewise.
7160 (tfile_ops): Likewise.
7161 (TRACE_HEADER_SIZE): Likewise.
7162 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7163 (cur_data_size): Likewise.
7164 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7165 (tfile_close, tfile_files_info): Likewise.
7166 (tfile_get_trace_status): Likewise.
7167 (tfile_get_tracepoint_status): Likewise.
7168 (tfile_get_traceframe_address): Likewise.
7169 (tfile_trace_find, match_blocktype): Likewise.
7170 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7171 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7172 (tfile_get_trace_state_variable_value): Likewise.
7173 (tfile_has_all_memory, tfile_has_memory): Likewise.
7174 (tfile_has_stack, tfile_has_registers): Likewise.
7175 (tfile_thread_alive, build_traceframe_info): Likewise.
7176 (tfile_traceframe_info, init_tfile_ops): Likewise.
7177 (_initialize_tracepoint): Don't call init_tfile_ops
7178 and add_target_with_completer.
7179 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7180 exec.h, completer.h and filenames.h.
7181 (_initialize_tracefile_tfile): New function.
7182
7951c4eb
YQ
71832014-02-23 Yao Qi <yao@codesourcery.com>
7184
7185 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7186 tracefile-tfile.o.
7187 (HFILES_NO_SRCDIR): Add tracefile.h.
7188 * ctf.c: Include "tracefile.h".
7189 * tracefile.h: New file.
7190 * tracefile.c: New file
7191 * tracefile-tfile.c: New file.
7192 * tracepoint.c: Include "tracefile.h".
7193 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7194 (stop_reason_names): Add const.
7195 (trace_file_writer_xfree): Move it to tracefile.c.
7196 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7197 (trace_save_ctf): Likewise.
7198 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7199 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7200 (tfile_write_header, tfile_write_regblock_type): Likewise.
7201 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7202 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7203 (tfile_write_raw_data, tfile_end): Likewise.
7204 (tfile_trace_file_writer_new): Likewise.
7205 (free_uploaded_tp): Make it extern.
7206 (free_uploaded_tsv): Make it extern.
7207 (_initialize_tracepoint): Move code to register command 'tsave'
7208 to tracefile.c.
7209 * tracepoint.h (stop_reason_names): Declare.
7210 (struct trace_frame_write_ops): Move it to tracefile.h.
7211 (struct trace_file_write_ops): Likewise.
7212 (struct trace_file_writer): Likewise.
7213 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7214
184cd072
JK
72152014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7216
7217 PR gdb/16594
7218 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7219 process name.
7220 (get_cores_used_by_process): New parameter num_cores, use it.
7221 (linux_xfer_osdata_processes): Pass num_cores to it.
7222 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7223 process name.
7224
c63528fc
AK
72252014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7226
7227 * target.c (memory_xfer_partial): Fix length arg in call to
7228 breakpoint_xfer_memory.
7229
d7b30f67
SDJ
72302014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7231
7232 PR tdep/16397
7233 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7234 number comes after the + or - signs. Adjust length of register
7235 name to be extracted.
7236
8838afaf
TT
72372014-02-20 Tom Tromey <tromey@redhat.com>
7238
7239 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7240 (ada_varobj_ops): Mark "extern".
7241
05227d14
TT
72422014-02-20 Tom Tromey <tromey@redhat.com>
7243
7244 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7245
1254eefc
DE
72462014-02-20 Doug Evans <xdje42@gmail.com>
7247
7248 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7249 All callers updated.
7250 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7251 All callers updated.
7252 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7253 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7254
adde2bff
DE
72552014-02-20 lin zuojian <manjian2006@gmail.com>
7256 Joel Brobecker <brobecker@adacore.com>
7257 Doug Evans <xdje42@gmail.com>
7258
7259 PR symtab/16581
7260 * dwarf2read.c (struct die_info): New member in_process.
7261 (reset_die_in_process): New function.
7262 (process_die): Set it at the start, reset when returning.
7263 (inherit_abstract_dies): Only call process_die if origin_child_die
7264 not already being processed.
7265
3be75f87
JB
72662014-02-20 Joel Brobecker <brobecker@adacore.com>
7267
7268 * windows-nat.c (handle_unload_dll): Add function documentation.
7269 (do_initial_windows_stuff): Add comment explaining why we wait
7270 until after inferior initialization has finished before
7271 processing all DLLs.
7272
47f7ffdb
JB
72732014-02-20 Joel Brobecker <brobecker@adacore.com>
7274
7275 * windows-nat.c (get_module_name): Delete.
7276 (windows_get_exec_module_filename): New function, mostly
7277 inspired from get_module_name.
7278 (windows_pid_to_exec_file): Replace call to get_module_name
7279 by call to windows_get_exec_module_filename.
7280
1cd9feab
JB
72812014-02-20 Joel Brobecker <brobecker@adacore.com>
7282
7283 * windows-nat.c (handle_load_dll): Rewrite this function's
7284 introductory comment. Remove code using get_module_name
7285 to get the DLL's name.
7286
ea39ad35
JB
72872014-02-20 Joel Brobecker <brobecker@adacore.com>
7288
7289 * windows-nat.c (get_windows_debug_event): Ignore
7290 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7291 if windows_initialization_done == 0.
7292 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7293 Adjust implementation to always load all DLLs.
7294 (do_initial_windows_stuff): Replace call to
7295 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7296
95060284
JB
72972014-02-20 Joel Brobecker <brobecker@adacore.com>
7298
7299 * windows-nat.c (_initialize_windows_nat): Deprecate the
7300 "dll-symbols" command. Turn the "add-shared-symbol-files"
7301 and "assf" aliases into commands, and deprecate them as well.
7302 * NEWS: Add entry explaining that "dll-symbols" and its two
7303 aliases are now deprecated.
7304
8d4fdb12
JB
73052014-02-20 Joel Brobecker <brobecker@adacore.com>
7306
7307 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7308 new-line in debug string. Remove trailing spaces.
7309
1b281443
SS
73102014-02-19 Stan Shebs <stan@codesourcery.com>
7311
7312 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7313
f7bd0f78
SC
73142014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7315
7316 * NEWS: Add entry for the new feature
7317 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7318 and class values.
7319
399ebc3d
SS
73202014-02-19 Stan Shebs <stan@codesourcery.com>
7321
7322 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7323
c658158d
PA
73242014-02-19 Pedro Alves <palves@redhat.com>
7325
7326 * common/ptid.h (struct ptid): Mention that process_stratum
7327 targets should prefer ptid.lwp.
7328
ba348170
PA
73292014-02-19 Pedro Alves <palves@redhat.com>
7330
7331 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7332 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7333 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7334 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7335 store remote thread ids rather than ptid.tid.
7336 (_initialize_remote): Adjust.
7337
ac01945b
TT
73382014-02-19 Tom Tromey <tromey@redhat.com>
7339
7340 * target.c (target_get_unwinder): Rewrite.
7341 (target_get_tailcall_unwinder): Rewrite.
7342 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7343 (record_btrace_to_get_tailcall_unwinder): New function.
7344 (init_record_btrace_ops): Update.
7345 * target.h (struct target_ops) <to_get_unwinder,
7346 to_get_tailcall_unwinder>: Now function pointers. Use
7347 TARGET_DEFAULT_RETURN.
7348
8476dc92
TT
73492014-02-19 Tom Tromey <tromey@redhat.com>
7350
7351 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7352 argument.
7353 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7354
c0eca49f
TT
73552014-02-19 Tom Tromey <tromey@redhat.com>
7356
7357 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7358 directly.
7359 * target-delegates.c: Rebuild.
7360 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7361 TARGET_DEFAULT_FUNC.
7362 * target.c (default_target_decr_pc_after_break): Rename from
7363 forward_target_decr_pc_after_break. Simplify.
7364 (target_decr_pc_after_break): Rely on delegation.
7365
596b6b39
TT
73662014-02-19 Tom Tromey <tromey@redhat.com>
7367
7368 * target.c (update_current_target): Do not INHERIT to_doc or
7369 to_magic. Do not de_fault to_open or to_close.
7370
b427c1bc
TT
73712014-02-19 Tom Tromey <tromey@redhat.com>
7372
7373 * gcore.h (objfile_find_memory_regions): Declare.
7374 * gcore.c (objfile_find_memory_regions): No longer static. Add
7375 "self" argument.
7376 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7377 * exec.c: Include gcore.h.
7378 (exec_set_find_memory_regions): Remove.
7379 (exec_find_memory_regions): Remove.
7380 (exec_do_find_memory_regions): Remove.
7381 (init_exec_ops): Update.
7382 * defs.h (exec_set_find_memory_regions): Remove.
7383
9b144037
TT
73842014-02-19 Tom Tromey <tromey@redhat.com>
7385
7386 * target-delegates.c: Rebuild.
7387 * target.h (struct target_ops) <to_extra_thread_info,
7388 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7389 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7390 not 0, in TARGET_DEFAULT_RETURN.
7391
555bbdeb
TT
73922014-02-19 Tom Tromey <tromey@redhat.com>
7393
7394 * target.c (complete_target_initialization): Remove casts. Use
7395 return_zero_has_execution.
7396 (return_zero): Add "ignore" argument.
7397 (return_zero_has_execution): New function.
7398 (init_dummy_target): Remove casts. Use
7399 return_zero_has_execution.
7400
be4ddd36
TT
74012014-02-19 Tom Tromey <tromey@redhat.com>
7402
7403 * target.c (update_current_target): Update comments. Do not
7404 INHERIT to_stratum.
7405
2117c711
TT
74062014-02-19 Tom Tromey <tromey@redhat.com>
7407
7408 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7409 needed.
7410 * corelow.c (core_read_description): Delegate when needed.
7411 * remote.c (remote_read_description): Delegate when needed.
7412 * target-delegates.c: Rebuild.
7413 * target.c (target_read_description): Rewrite.
7414 * target.h (struct target_ops) <to_read_description>: Update
7415 comment. Use TARGET_DEFAULT_RETURN.
7416
e88ef65c
TT
74172014-02-19 Tom Tromey <tromey@redhat.com>
7418
7419 * target-delegates.c: Rebuild.
7420 * target.c (update_current_target): Don't inherit or default
7421 to_can_run.
7422 (find_default_run_target): Check against delegate_can_run.
7423 * target.h (struct target_ops) <to_can_run>: Use
7424 TARGET_DEFAULT_RETURN.
7425
86a0854a
TT
74262014-02-19 Tom Tromey <tromey@redhat.com>
7427
7428 * target-delegates.c: Rebuild.
7429 * target.c (target_disconnect): Unconditionally delegate.
7430 * target.h (struct target_ops) <to_disconnect>: Use
7431 TARGET_DEFAULT_NORETURN.
7432
ee97f592
TT
74332014-02-19 Tom Tromey <tromey@redhat.com>
7434
7435 * record.c (record_stop): Unconditionally delegate.
7436 * target-delegates.c: Rebuild.
7437 * target.c (target_stop_recording): Unconditionally delegate.
7438 * target.h (struct target_ops) <to_stop_recording>: Use
7439 TARGET_DEFAULT_IGNORE.
7440
6dc7fcf4
TT
74412014-02-19 Tom Tromey <tromey@redhat.com>
7442
7443 * target-delegates.c: Rebuild.
7444 * target.c (target_enable_btrace): Unconditionally delegate.
7445 * target.h (struct target_ops) <to_enable_btrace>: Use
7446 TARGET_DEFAULT_NORETURN.
7447
eb5b20d4
TT
74482014-02-19 Tom Tromey <tromey@redhat.com>
7449
7450 * target-delegates.c: Rebuild.
7451 * target.c (target_read_btrace): Unconditionally delegate.
7452 * target.h (struct target_ops) <to_read_btrace>: Use
7453 TARGET_DEFAULT_NORETURN.
7454
9ace480d
TT
74552014-02-19 Tom Tromey <tromey@redhat.com>
7456
7457 * target-delegates.c: Rebuild.
7458 * target.c (target_teardown_btrace): Unconditionally delegate.
7459 * target.h (struct target_ops) <to_teardown_btrace>: Use
7460 TARGET_DEFAULT_NORETURN.
7461
8dc292d3
TT
74622014-02-19 Tom Tromey <tromey@redhat.com>
7463
7464 * target-delegates.c: Rebuild.
7465 * target.c (target_disable_btrace): Unconditionally delegate.
7466 * target.h (struct target_ops) <to_disable_btrace>: Use
7467 TARGET_DEFAULT_NORETURN.
7468
58a5184e
TT
74692014-02-19 Tom Tromey <tromey@redhat.com>
7470
7471 * target-delegates.c: Rebuild.
7472 * target.c (default_search_memory): New function.
7473 (simple_search_memory): Update comment.
7474 (target_search_memory): Unconditionally delegate.
7475 * target.h (struct target_ops) <to_search_memory>: Use
7476 TARGET_DEFAULT_FUNC.
7477
8de71aab
TT
74782014-02-19 Tom Tromey <tromey@redhat.com>
7479
7480 * auxv.c (default_auxv_parse): No longer static.
7481 (target_auxv_parse): Unconditionally delegate.
7482 * auxv.h (default_auxv_parse): Declare.
7483 * target-delegates.c: Rebuild.
7484 * target.c: Include auxv.h.
7485 * target.h (struct target_ops) <to_auxv_parse>: Use
7486 TARGET_DEFAULT_FUNC.
7487
6b2c5a57
TT
74882014-02-19 Tom Tromey <tromey@redhat.com>
7489
7490 * target-delegates.c: Rebuild.
7491 * target.c (target_memory_map): Unconditionally delegate.
7492 * target.h (struct target_ops) <to_memory_map>: Use
7493 TARGET_DEFAULT_RETURN.
7494
cbffc065
TT
74952014-02-19 Tom Tromey <tromey@redhat.com>
7496
7497 * target-delegates.c: Rebuild.
7498 * target.c (target_thread_alive): Unconditionally delegate.
7499 * target.h (struct target_ops) <to_thread_alive>: Use
7500 TARGET_DEFAULT_RETURN.
7501
f09e2107
TT
75022014-02-19 Tom Tromey <tromey@redhat.com>
7503
7504 * target-delegates.c: Rebuild.
7505 * target.c (target_save_record): Unconditionally delegate.
7506 * target.h (struct target_ops) <to_save_record>: Use
7507 TARGET_DEFAULT_NORETURN.
7508
07366925
TT
75092014-02-19 Tom Tromey <tromey@redhat.com>
7510
7511 * target-delegates.c: Rebuild.
7512 * target.c (target_delete_record): Unconditionally delegate.
7513 * target.h (struct target_ops) <to_delete_record>: Use
7514 TARGET_DEFAULT_NORETURN.
7515
dd2e9d25
TT
75162014-02-19 Tom Tromey <tromey@redhat.com>
7517
7518 * target-delegates.c: Rebuild.
7519 * target.c (target_record_is_replaying): Unconditionally
7520 delegate.
7521 * target.h (struct target_ops) <to_record_is_replaying>: Use
7522 TARGET_DEFAULT_RETURN.
7523
671e76cc
TT
75242014-02-19 Tom Tromey <tromey@redhat.com>
7525
7526 * target-delegates.c: Rebuild.
7527 * target.c (target_goto_record_begin): Unconditionally delegate.
7528 * target.h (struct target_ops) <to_goto_record_begin>: Use
7529 TARGET_DEFAULT_NORETURN.
7530
e9179bb3
TT
75312014-02-19 Tom Tromey <tromey@redhat.com>
7532
7533 * target-delegates.c: Rebuild.
7534 * target.c (target_goto_record_end): Unconditionally delegate.
7535 * target.h (struct target_ops) <to_goto_record_end>: Use
7536 TARGET_DEFAULT_NORETURN.
7537
05969c84
TT
75382014-02-19 Tom Tromey <tromey@redhat.com>
7539
7540 * target-delegates.c: Rebuild.
7541 * target.c (target_goto_record): Unconditionally delegate.
7542 * target.h (struct target_ops) <to_goto_record>: Use
7543 TARGET_DEFAULT_NORETURN.
7544
3679abfa
TT
75452014-02-19 Tom Tromey <tromey@redhat.com>
7546
7547 * target-delegates.c: Rebuild.
7548 * target.c (target_insn_history): Unconditionally delegate.
7549 * target.h (struct target_ops) <to_insn_history>: Use
7550 TARGET_DEFAULT_NORETURN.
7551
8444ab58
TT
75522014-02-19 Tom Tromey <tromey@redhat.com>
7553
7554 * target-delegates.c: Rebuild.
7555 * target.c (target_insn_history_from): Unconditionally delegate.
7556 * target.h (struct target_ops) <to_insn_history_from>: Use
7557 TARGET_DEFAULT_NORETURN.
7558
c29302cc
TT
75592014-02-19 Tom Tromey <tromey@redhat.com>
7560
7561 * target-delegates.c: Rebuild.
7562 * target.c (target_insn_history_range): Unconditionally delegate.
7563 * target.h (struct target_ops) <to_insn_history_range>: Use
7564 TARGET_DEFAULT_NORETURN.
7565
170049d4
TT
75662014-02-19 Tom Tromey <tromey@redhat.com>
7567
7568 * target-delegates.c: Rebuild.
7569 * target.c (target_call_history): Unconditionally delegate.
7570 * target.h (struct target_ops) <to_call_history>: Use
7571 TARGET_DEFAULT_NORETURN.
7572
16fc27d6
TT
75732014-02-19 Tom Tromey <tromey@redhat.com>
7574
7575 * target-delegates.c: Rebuild.
7576 * target.c (target_call_history_from): Unconditionally delegate.
7577 * target.h (struct target_ops) <to_call_history_from>: Use
7578 TARGET_DEFAULT_NORETURN.
7579
115d9817
TT
75802014-02-19 Tom Tromey <tromey@redhat.com>
7581
7582 * target-delegates.c: Rebuild.
7583 * target.c (target_call_history_range): Unconditionally delegate.
7584 * target.h (struct target_ops) <to_call_history_range>: Use
7585 TARGET_DEFAULT_NORETURN.
7586
eb276a6b
TT
75872014-02-19 Tom Tromey <tromey@redhat.com>
7588
7589 * target-delegates.c: Rebuild.
7590 * target.c (target_verify_memory): Unconditionally delegate.
7591 * target.h (struct target_ops) <to_verify_memory>: Use
7592 TARGET_DEFAULT_NORETURN.
7593
9e538d0d
TT
75942014-02-19 Tom Tromey <tromey@redhat.com>
7595
7596 * target-delegates.c: Rebuild.
7597 * target.c (target_core_of_thread): Unconditionally delegate.
7598 * target.h (struct target_ops) <to_core_of_thread>: Use
7599 TARGET_DEFAULT_RETURN.
7600
f6fb2925
TT
76012014-02-19 Tom Tromey <tromey@redhat.com>
7602
7603 * target-delegates.c: Rebuild.
7604 * target.c (target_flash_done): Unconditionally delegate.
7605 * target.h (struct target_ops) <to_flash_done>: Use
7606 TARGET_DEFAULT_NORETURN.
7607
e8a6c6ac
TT
76082014-02-19 Tom Tromey <tromey@redhat.com>
7609
7610 * target-delegates.c: Rebuild.
7611 * target.c (target_flash_erase): Unconditionally delegate.
7612 * target.h (struct target_ops) <to_flash_erase>: Use
7613 TARGET_DEFAULT_NORETURN.
7614
7e35c012
TT
76152014-02-19 Tom Tromey <tromey@redhat.com>
7616
7617 * target-delegates.c: Rebuild.
7618 * target.c (target_get_section_table): Unconditionally delegate.
7619 * target.h (struct target_ops) <to_get_section_table>: Use
7620 TARGET_DEFAULT_RETURN.
7621
770234d3
TT
76222014-02-19 Tom Tromey <tromey@redhat.com>
7623
7624 * target-delegates.c: Rebuild.
7625 * target.c (target_pid_to_str): Unconditionally delegate.
7626 (init_dummy_target): Don't initialize to_pid_to_str.
7627 (default_pid_to_str): Rename from dummy_pid_to_str.
7628 * target.h (struct target_ops) <to_pid_to_str>: Use
7629 TARGET_DEFAULT_FUNC.
7630
09b0dc2b
TT
76312014-02-19 Tom Tromey <tromey@redhat.com>
7632
7633 * target-delegates.c: Rebuild.
7634 * target.c (target_find_new_threads): Unconditionally delegate.
7635 * target.h (struct target_ops) <to_find_new_threads>: Use
7636 TARGET_DEFAULT_RETURN.
7637
7d4f8efa
TT
76382014-02-19 Tom Tromey <tromey@redhat.com>
7639
7640 * target-delegates.c: Rebuild.
7641 * target.c (target_program_signals): Unconditionally delegate.
7642 * target.h (struct target_ops) <to_program_signals>: Use
7643 TARGET_DEFAULT_IGNORE.
7644
035cad7f
TT
76452014-02-19 Tom Tromey <tromey@redhat.com>
7646
7647 * target-delegates.c: Rebuild.
7648 * target.c (target_pass_signals): Unconditionally delegate.
7649 * target.h (struct target_ops) <to_pass_signals>: Use
7650 TARGET_DEFAULT_IGNORE.
7651
8d657035
TT
76522014-02-19 Tom Tromey <tromey@redhat.com>
7653
7654 * target-delegates.c: Rebuild.
7655 * target.c (default_mourn_inferior): New function.
7656 (target_mourn_inferior): Unconditionally delegate.
7657 * target.h (struct target_ops) <to_mourn_inferior>: Use
7658 TARGET_DEFAULT_FUNC.
7659
098dba18
TT
76602014-02-19 Tom Tromey <tromey@redhat.com>
7661
7662 * target-delegates.c: Rebuild.
7663 * target.c (default_follow_fork): New function.
7664 (target_follow_fork): Unconditionally delegate.
7665 * target.h (struct target_ops) <to_follow_fork>: Use
7666 TARGET_DEFAULT_FUNC.
7667
423a4807
TT
76682014-02-19 Tom Tromey <tromey@redhat.com>
7669
7670 * target-delegates.c: Rebuild.
7671 * target.c (target_kill): Unconditionally delegate.
7672 * target.h (struct target_ops) <to_kill>: Use
7673 TARGET_DEFAULT_NORETURN.
7674
6c7e5e5c
TT
76752014-02-19 Tom Tromey <tromey@redhat.com>
7676
7677 * target-delegates.c: Rebuild.
7678 * target.c (target_masked_watch_num_registers): Unconditionally
7679 delegate.
7680 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7681 Use TARGET_DEFAULT_RETURN.
7682
8b1c364c
TT
76832014-02-19 Tom Tromey <tromey@redhat.com>
7684
7685 * target-delegates.c: Rebuild.
7686 * target.c (target_remove_mask_watchpoint): Unconditionally
7687 delegate.
7688 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
7689 TARGET_DEFAULT_RETURN.
7690
cd4ae029
TT
76912014-02-19 Tom Tromey <tromey@redhat.com>
7692
7693 * target-delegates.c: Rebuild.
7694 * target.c (target_insert_mask_watchpoint): Unconditionally
7695 delegate.
7696 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
7697 TARGET_DEFAULT_RETURN.
7698
a134316b
TT
76992014-02-19 Tom Tromey <tromey@redhat.com>
7700
7701 * target-delegates.c: Rebuild.
7702 * target.c (target_ranged_break_num_registers): Unconditionally
7703 delegate.
7704 * target.h (struct target_ops) <to_ranged_break_num_registers>:
7705 Use TARGET_DEFAULT_RETURN.
7706
ad5989bd
TT
77072014-02-19 Tom Tromey <tromey@redhat.com>
7708
7709 * target-delegates.c: Rebuild.
7710 * target.c (target_fetch_registers): Unconditionally delegate.
7711 * target.h (struct target_ops) <to_fetch_registers>: Use
7712 TARGET_DEFAULT_NORETURN.
7713
46ee7e8d
TT
77142014-02-19 Tom Tromey <tromey@redhat.com>
7715
7716 * target-delegates.c: Rebuild.
7717 * target.c (update_current_target): Don't inherit or default
7718 to_stop.
7719 * target.h (struct target_ops) <to_stop>: Use
7720 TARGET_DEFAULT_IGNORE.
7721
843f59ed
TT
77222014-02-19 Tom Tromey <tromey@redhat.com>
7723
7724 * target-delegates.c: Rebuild.
7725 * target.c (update_current_target): Don't inherit or default
7726 to_can_run_breakpoint_commands.
7727 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
7728 Use TARGET_DEFAULT_RETURN.
7729
ccfde2a0
TT
77302014-02-19 Tom Tromey <tromey@redhat.com>
7731
7732 * target-delegates.c: Rebuild.
7733 * target.c (update_current_target): Don't inherit or default
7734 to_supports_evaluation_of_breakpoint_conditions.
7735 * target.h (struct target_ops)
7736 <to_supports_evaluation_of_breakpoint_conditions>: Use
7737 TARGET_DEFAULT_RETURN.
7738
0de91722
TT
77392014-02-19 Tom Tromey <tromey@redhat.com>
7740
7741 * target-delegates.c: Rebuild.
7742 * target.c (update_current_target): Don't inherit or default
7743 to_augmented_libraries_svr4_read.
7744 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
7745 Use TARGET_DEFAULT_RETURN.
7746
9a7d8b48
TT
77472014-02-19 Tom Tromey <tromey@redhat.com>
7748
7749 * target-delegates.c: Rebuild.
7750 * target.c (update_current_target): Don't inherit or default
7751 to_can_use_agent.
7752 * target.h (struct target_ops) <to_can_use_agent>: Use
7753 TARGET_DEFAULT_RETURN.
7754
d9db5b21
TT
77552014-02-19 Tom Tromey <tromey@redhat.com>
7756
7757 * target-delegates.c: Rebuild.
7758 * target.c (update_current_target): Don't inherit or default
7759 to_use_agent.
7760 * target.h (struct target_ops) <to_use_agent>: Use
7761 TARGET_DEFAULT_NORETURN.
7762
92155eeb
TT
77632014-02-19 Tom Tromey <tromey@redhat.com>
7764
7765 * target-delegates.c: Rebuild.
7766 * target.c (update_current_target): Don't inherit or default
7767 to_traceframe_info.
7768 (return_null): Remove.
7769 * target.h (struct target_ops) <to_traceframe_info>: Use
7770 TARGET_DEFAULT_RETURN.
7771
d6522a22
TT
77722014-02-19 Tom Tromey <tromey@redhat.com>
7773
7774 * target-delegates.c: Rebuild.
7775 * target.c (update_current_target): Don't inherit or default
7776 to_static_tracepoint_markers_by_strid.
7777 * target.h (struct target_ops)
7778 <to_static_tracepoint_markers_by_strid>: Use
7779 TARGET_DEFAULT_NORETURN.
7780
4c3e4425
TT
77812014-02-19 Tom Tromey <tromey@redhat.com>
7782
7783 * target-delegates.c: Rebuild.
7784 * target.c (update_current_target): Don't inherit or default
7785 to_static_tracepoint_marker_at.
7786 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
7787 Use TARGET_DEFAULT_RETURN.
7788
dcd6917f
TT
77892014-02-19 Tom Tromey <tromey@redhat.com>
7790
7791 * target-delegates.c: Rebuild.
7792 * target.c (update_current_target): Don't inherit or default
7793 to_set_permissions.
7794 * target.h (struct target_ops) <to_set_permissions>: Use
7795 TARGET_DEFAULT_IGNORE.
7796
22bcceee
TT
77972014-02-19 Tom Tromey <tromey@redhat.com>
7798
7799 * target-delegates.c: Rebuild.
7800 * target.c (update_current_target): Don't inherit or default
7801 to_get_tib_address.
7802 * target.h (struct target_ops) <to_get_tib_address>: Use
7803 TARGET_DEFAULT_NORETURN.
7804
8586ccaa
TT
78052014-02-19 Tom Tromey <tromey@redhat.com>
7806
7807 * target-delegates.c: Rebuild.
7808 * target.c (update_current_target): Don't inherit or default
7809 to_set_trace_notes.
7810 * target.h (struct target_ops) <to_set_trace_notes>: Use
7811 TARGET_DEFAULT_RETURN.
7812
91df8d1d
TT
78132014-02-19 Tom Tromey <tromey@redhat.com>
7814
7815 * target-delegates.c: Rebuild.
7816 * target.c (update_current_target): Don't initialize
7817 to_set_trace_buffer_size.
7818 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
7819 TARGET_DEFAULT_IGNORE.
7820
8d526939
TT
78212014-02-19 Tom Tromey <tromey@redhat.com>
7822
7823 * target-delegates.c: Rebuild.
7824 * target.c (update_current_target): Don't inherit or default
7825 to_set_circular_trace_buffer.
7826 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
7827 TARGET_DEFAULT_IGNORE.
7828
0bcfeddf
TT
78292014-02-19 Tom Tromey <tromey@redhat.com>
7830
7831 * target-delegates.c: Rebuild.
7832 * target.c (update_current_target): Don't inherit or default
7833 to_set_disconnected_tracing.
7834 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
7835 TARGET_DEFAULT_IGNORE.
7836
9249843f
TT
78372014-02-19 Tom Tromey <tromey@redhat.com>
7838
7839 * target-delegates.c: Rebuild.
7840 * target.c (update_current_target): Don't inherit or default
7841 to_get_min_fast_tracepoint_insn_len.
7842 (return_minus_one): Remove.
7843 * target.h (struct target_ops)
7844 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
7845
ace92e7d
TT
78462014-02-19 Tom Tromey <tromey@redhat.com>
7847
7848 * target-delegates.c: Rebuild.
7849 * target.c (update_current_target): Don't inherit or default
7850 to_get_raw_trace_data.
7851 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
7852 TARGET_DEFAULT_NORETURN.
7853
08120467
TT
78542014-02-19 Tom Tromey <tromey@redhat.com>
7855
7856 * target-delegates.c: Rebuild.
7857 * target.c (update_current_target): Don't inherit or default
7858 to_upload_trace_state_variables.
7859 * target.h (struct target_ops) <to_upload_trace_state_variables>:
7860 Use TARGET_DEFAULT_RETURN.
7861
1e949b00
TT
78622014-02-19 Tom Tromey <tromey@redhat.com>
7863
7864 * target-delegates.c: Rebuild.
7865 * target.c (update_current_target): Don't inherit or default
7866 to_upload_tracepoints.
7867 * target.h (struct target_ops) <to_upload_tracepoints>: Use
7868 TARGET_DEFAULT_RETURN.
7869
a2e6c147
TT
78702014-02-19 Tom Tromey <tromey@redhat.com>
7871
7872 * target-delegates.c: Rebuild.
7873 * target.c (update_current_target): Don't inherit or default
7874 to_save_trace_data.
7875 * target.h (struct target_ops) <to_save_trace_data>: Use
7876 TARGET_DEFAULT_NORETURN.
7877
959bcd0b
TT
78782014-02-19 Tom Tromey <tromey@redhat.com>
7879
7880 * target-delegates.c: Rebuild.
7881 * target.c (update_current_target): Don't inherit or default
7882 to_get_trace_state_variable_value.
7883 * target.h (struct target_ops)
7884 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
7885
afc94e66
TT
78862014-02-19 Tom Tromey <tromey@redhat.com>
7887
7888 * target-delegates.c: Rebuild.
7889 * target.c (update_current_target): Don't inherit or default
7890 to_trace_find.
7891 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
7892
e51c07ea
TT
78932014-02-19 Tom Tromey <tromey@redhat.com>
7894
7895 * target-delegates.c: Rebuild.
7896 * target.c (update_current_target): Don't inherit or default
7897 to_trace_stop.
7898 * target.h (struct target_ops) <to_trace_stop>: Use
7899 TARGET_DEFAULT_NORETURN.
7900
6fea14cd
TT
79012014-02-19 Tom Tromey <tromey@redhat.com>
7902
7903 * target-delegates.c: Rebuild.
7904 * target.c (update_current_target): Don't inherit or default
7905 to_get_tracepoint_status.
7906 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
7907 TARGET_DEFAULT_NORETURN.
7908
4072d4ff
TT
79092014-02-19 Tom Tromey <tromey@redhat.com>
7910
7911 * target-delegates.c: Rebuild.
7912 * target.c (update_current_target): Don't inherit or default
7913 to_get_trace_status.
7914 * target.h (struct target_ops) <to_get_trace_status>: Use
7915 TARGET_DEFAULT_RETURN.
7916
25da2e80
TT
79172014-02-19 Tom Tromey <tromey@redhat.com>
7918
7919 * target-delegates.c: Rebuild.
7920 * target.c (update_current_target): Don't inherit or default
7921 to_trace_start.
7922 * target.h (struct target_ops) <to_trace_start>: Use
7923 TARGET_DEFAULT_NORETURN.
7924
86dd181d
TT
79252014-02-19 Tom Tromey <tromey@redhat.com>
7926
7927 * target-delegates.c: Rebuild.
7928 * target.c (update_current_target): Don't inherit or default
7929 to_trace_set_readonly_regions.
7930 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
7931 Use TARGET_DEFAULT_NORETURN.
7932
05c41993
TT
79332014-02-19 Tom Tromey <tromey@redhat.com>
7934
7935 * target-delegates.c: Rebuild.
7936 * target.c (update_current_target): Don't inherit or default
7937 to_disable_tracepoint.
7938 * target.h (struct target_ops) <to_disable_tracepoint>: Use
7939 TARGET_DEFAULT_NORETURN.
7940
151f70f1
TT
79412014-02-19 Tom Tromey <tromey@redhat.com>
7942
7943 * target-delegates.c: Rebuild.
7944 * target.c (update_current_target): Don't inherit or default
7945 to_enable_tracepoint.
7946 * target.h (struct target_ops) <to_enable_tracepoint>: Use
7947 TARGET_DEFAULT_NORETURN.
7948
94eb98b9
TT
79492014-02-19 Tom Tromey <tromey@redhat.com>
7950
7951 * target-delegates.c: Rebuild.
7952 * target.c (update_current_target): Don't inherit or default
7953 to_download_trace_state_variable.
7954 * target.h (struct target_ops) <to_download_trace_state_variable>:
7955 Use TARGET_DEFAULT_NORETURN.
7956
719acc4a
TT
79572014-02-19 Tom Tromey <tromey@redhat.com>
7958
7959 * target-delegates.c: Rebuild.
7960 * target.c (update_current_target): Don't inherit or default
7961 to_can_download_tracepoint.
7962 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
7963 TARGET_DEFAULT_RETURN.
7964
9a980a22
TT
79652014-02-19 Tom Tromey <tromey@redhat.com>
7966
7967 * target-delegates.c: Rebuild.
7968 * target.c (update_current_target): Don't inherit or default
7969 to_download_tracepoint.
7970 * target.h (struct target_ops) <to_download_tracepoint>: Use
7971 TARGET_DEFAULT_NORETURN.
7972
5536135b
TT
79732014-02-19 Tom Tromey <tromey@redhat.com>
7974
7975 * target-delegates.c: Rebuild.
7976 * target.c (update_current_target): Don't inherit or default
7977 to_trace_init.
7978 * target.h (struct target_ops) <to_trace_init>: Use
7979 TARGET_DEFAULT_RETURN.
7980
9409d39e
TT
79812014-02-19 Tom Tromey <tromey@redhat.com>
7982
7983 * target-delegates.c: Rebuild.
7984 * target.c (update_current_target): Don't inherit or default
7985 to_supports_string_tracing.
7986 * target.h (struct target_ops) <to_supports_string_tracing>: Use
7987 TARGET_DEFAULT_RETURN.
7988
aab1b22d
TT
79892014-02-19 Tom Tromey <tromey@redhat.com>
7990
7991 * target-delegates.c: Rebuild.
7992 * target.c (update_current_target): Don't inherit or default
7993 to_supports_enable_disable_tracepoint.
7994 * target.h (struct target_ops)
7995 <to_supports_enable_disable_tracepoint>: Use
7996 TARGET_DEFAULT_RETURN.
7997
a7304748
TT
79982014-02-19 Tom Tromey <tromey@redhat.com>
7999
8000 * target-delegates.c: Rebuild.
8001 * target.c (update_current_target): Don't inherit or default
8002 to_supports_multi_process.
8003 * target.h (struct target_ops) <to_supports_multi_process>: Use
8004 TARGET_DEFAULT_RETURN.
8005
4229b31d
TT
80062014-02-19 Tom Tromey <tromey@redhat.com>
8007
8008 * target-delegates.c: Rebuild.
8009 * target.c (update_current_target): Don't inherit or default
8010 to_get_ada_task_ptid.
8011 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8012 TARGET_DEFAULT_FUNC.
8013
43eba180
TT
80142014-02-19 Tom Tromey <tromey@redhat.com>
8015
8016 * target-delegates.c: Rebuild.
8017 * target.c (update_current_target): Don't inherit or default
8018 to_thread_architecture.
8019 * target.h (struct target_ops) <to_thread_architecture>: Use
8020 TARGET_DEFAULT_FUNC.
8021
fe31bf5b
TT
80222014-02-19 Tom Tromey <tromey@redhat.com>
8023
8024 * target-delegates.c: Rebuild.
8025 * target.c (update_current_target): Don't inherit or default
8026 to_execution_direction.
8027 * target.h (struct target_ops) <to_execution_direction>: Use
8028 TARGET_DEFAULT_FUNC.
8029
53e1cfc7
TT
80302014-02-19 Tom Tromey <tromey@redhat.com>
8031
8032 * target-delegates.c: Rebuild.
8033 * target.c (update_current_target): Don't inherit or default
8034 to_can_execute_reverse.
8035 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8036 TARGET_DEFAULT_RETURN.
8037 (target_can_execute_reverse): Unconditionally delegate.
8038
9bb9d61d
TT
80392014-02-19 Tom Tromey <tromey@redhat.com>
8040
8041 * target-delegates.c: Rebuild.
8042 * target.c (update_current_target): Don't inherit or default
8043 to_goto_bookmark.
8044 (dummy_goto_bookmark): Remove.
8045 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8046 * target.h (struct target_ops) <to_goto_bookmark>: Use
8047 TARGET_DEFAULT_NORETURN.
8048
3dbafbbb
TT
80492014-02-19 Tom Tromey <tromey@redhat.com>
8050
8051 * target-delegates.c: Rebuild.
8052 * target.c (update_current_target): Don't inherit or default
8053 to_get_bookmark.
8054 (dummy_get_bookmark): Remove.
8055 (init_dummy_target): Don't inherit or default to_get_bookmark.
8056 * target.h (struct target_ops) <to_get_bookmark>: Use
8057 TARGET_DEFAULT_NORETURN
8058
16f796b1
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_make_corefile_notes.
8064 (init_dummy_target): Don't initialize to_make_corefile_notes.
8065 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8066 TARGET_DEFAULT_FUNC.
8067
0b5a2719
TT
80682014-02-19 Tom Tromey <tromey@redhat.com>
8069
8070 * target-delegates.c: Rebuild.
8071 * target.c (update_current_target): Don't inherit or default
8072 to_find_memory_regions.
8073 (init_dummy_target): Don't initialize to_find_memory_regions.
8074 * target.h (struct target_ops) <to_find_memory_regions>: Use
8075 TARGET_DEFAULT_FUNC.
8076
d9cb0195
TT
80772014-02-19 Tom Tromey <tromey@redhat.com>
8078
8079 * target-delegates.c: Rebuild.
8080 * target.c (update_current_target): Don't inherit or default
8081 to_log_command.
8082 * target.h (struct target_ops) <to_log_command>: Use
8083 TARGET_DEFAULT_IGNORE.
8084 (target_log_command): Unconditionally delegate.
8085
830ca330
TT
80862014-02-19 Tom Tromey <tromey@redhat.com>
8087
8088 * target-delegates.c: Rebuild.
8089 * target.c (update_current_target): Don't inherit or default
8090 to_pid_to_exec_file.
8091 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8092 TARGET_DEFAULT_RETURN.
8093
825828fc
TT
80942014-02-19 Tom Tromey <tromey@redhat.com>
8095
8096 * target-delegates.c: Rebuild.
8097 * target.c (update_current_target): Don't inherit or default
8098 to_thread_name.
8099 (target_thread_name): Unconditionally delegate.
8100 * target.h (struct target_ops) <to_thread_name>: Use
8101 TARGET_DEFAULT_RETURN.
8102
4a7e6dda
TT
81032014-02-19 Tom Tromey <tromey@redhat.com>
8104
8105 * target-delegates.c: Rebuild.
8106 * target.c (update_current_target): Don't inherit or default
8107 to_extra_thread_info.
8108 * target.h (struct target_ops) <to_extra_thread_info>: Use
8109 TARGET_DEFAULT_RETURN.
8110
0db88c1d
TT
81112014-02-19 Tom Tromey <tromey@redhat.com>
8112
8113 * target-delegates.c: Rebuild.
8114 * target.c (update_current_target): Don't inherit or default
8115 to_has_exited.
8116 * target.h (struct target_ops) <to_has_exited>: Use
8117 TARGET_DEFAULT_RETURN..
8118
6a9fa051
TT
81192014-02-19 Tom Tromey <tromey@redhat.com>
8120
8121 * target-delegates.c: Rebuild.
8122 * target.c (update_current_target): Don't inherit or default
8123 to_set_syscall_catchpoint.
8124 (return_one): Remove.
8125 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8126 TARGET_DEFAULT_RETURN.
8127
62f64d7a
TT
81282014-02-19 Tom Tromey <tromey@redhat.com>
8129
8130 * target-delegates.c: Rebuild.
8131 * target.c (update_current_target): Don't inherit or default
8132 to_insert_exec_catchpoint.
8133 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8134 TARGET_DEFAULT_RETURN.
8135
cda0f38c
TT
81362014-01-08 Tom Tromey <tromey@redhat.com>
8137
8138 * target-delegates.c: Rebuild.
8139 * target.c (update_current_target): Don't inherit or default
8140 to_insert_exec_catchpoint.
8141 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8142 TARGET_DEFAULT_RETURN.
8143
95c3375e
TT
81442014-02-19 Tom Tromey <tromey@redhat.com>
8145
8146 * target-delegates.c: Rebuild.
8147 * target.c (update_current_target): Don't inherit or default
8148 to_remove_vfork_catchpoint.
8149 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8150 TARGET_DEFAULT_RETURN.
8151
7e18a8dc
TT
81522014-02-19 Tom Tromey <tromey@redhat.com>
8153
8154 * target-delegates.c: Rebuild.
8155 * target.c (update_current_target): Don't inherit or default
8156 to_insert_vfork_catchpoint.
8157 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8158 TARGET_DEFAULT_RETURN.
8159
e1a21fb7
TT
81602014-02-19 Tom Tromey <tromey@redhat.com>
8161
8162 * target-delegates.c: Rebuild.
8163 * target.c (update_current_target): Don't inherit or default
8164 to_remove_fork_catchpoint.
8165 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8166 TARGET_DEFAULT_RETURN.
8167
5958ebeb
TT
81682014-02-19 Tom Tromey <tromey@redhat.com>
8169
8170 * target-delegates.c: Rebuild.
8171 * target.c (update_current_target): Don't inherit or default
8172 to_insert_fork_catchpoint.
8173 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8174 TARGET_DEFAULT_RETURN.
8175
340ba4bf
TT
81762014-02-19 Tom Tromey <tromey@redhat.com>
8177
8178 * target-delegates.c: Rebuild.
8179 * target.c (update_current_target): Don't inherit or default
8180 to_post_startup_inferior.
8181 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8182 TARGET_DEFAULT_IGNORE.
8183
7634da87
TT
81842014-02-19 Tom Tromey <tromey@redhat.com>
8185
8186 * target-delegates.c: Rebuild.
8187 * target.c (update_current_target): Don't inherit or default
8188 to_load.
8189 * target.h (struct target_ops) <to_load>: Use
8190 TARGET_DEFAULT_NORETURN.
8191
e19e919f
TT
81922014-02-19 Tom Tromey <tromey@redhat.com>
8193
8194 * target-delegates.c: Rebuild.
8195 * target.c (update_current_target): Don't inherit or default
8196 to_terminal_info.
8197 * target.h (struct target_ops) <to_terminal_info>: Use
8198 TARGET_DEFAULT_FUNC.
8199
c6ea8f79
TT
82002014-02-19 Tom Tromey <tromey@redhat.com>
8201
8202 * target-delegates.c: Rebuild.
8203 * target.c (update_current_target): Don't inherit or default
8204 to_terminal_save_ours.
8205 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8206 TARGET_DEFAULT_IGNORE.
8207
e4a733f1
TT
82082014-02-19 Tom Tromey <tromey@redhat.com>
8209
8210 * target-delegates.c: Rebuild.
8211 * target.c (update_current_target): Don't inherit or default
8212 to_terminal_ours.
8213 * target.h (struct target_ops) <to_terminal_ours>: Use
8214 TARGET_DEFAULT_IGNORE.
8215
74fcbef9
TT
82162014-02-19 Tom Tromey <tromey@redhat.com>
8217
8218 * target-delegates.c: Rebuild.
8219 * target.c (update_current_target): Don't inherit or default
8220 to_terminal_ours_for_output.
8221 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8222 TARGET_DEFAULT_IGNORE.
8223
ddeaacc9
TT
82242014-02-19 Tom Tromey <tromey@redhat.com>
8225
8226 * target-delegates.c: Rebuild.
8227 * target.c (update_current_target): Don't inherit or default
8228 to_terminal_inferior.
8229 * target.h (struct target_ops) <to_terminal_inferior>: Use
8230 TARGET_DEFAULT_IGNORE.
8231
0343661d
TT
82322014-02-19 Tom Tromey <tromey@redhat.com>
8233
8234 * target-delegates.c: Rebuild.
8235 * target.c (update_current_target): Don't inherit or default
8236 to_terminal_init.
8237 * target.h (struct target_ops) <to_terminal_init>: Use
8238 TARGET_DEFAULT_IGNORE.
8239
77cdffe9
TT
82402014-02-19 Tom Tromey <tromey@redhat.com>
8241
8242 * target-delegates.c: Rebuild.
8243 * target.c (update_current_target): Don't inherit or default
8244 to_can_accel_watchpoint_condition.
8245 * target.h (struct target_ops)
8246 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8247
d03655e4
TT
82482014-02-19 Tom Tromey <tromey@redhat.com>
8249
8250 * target-delegates.c: Rebuild.
8251 * target.c (update_current_target): Don't inherit or default
8252 to_region_ok_for_hw_watchpoint.
8253 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8254 Use TARGET_DEFAULT_FUNC.
8255
65f160a9
TT
82562014-02-19 Tom Tromey <tromey@redhat.com>
8257
8258 * target-delegates.c: Rebuild.
8259 * target.c (update_current_target): Don't inherit or default
8260 to_watchpoint_addr_within_range.
8261 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8262 Use TARGET_DEFAULT_FUNC.
8263
61dd109f
TT
82642014-02-19 Tom Tromey <tromey@redhat.com>
8265
8266 * target-delegates.c: Rebuild.
8267 * target.c (update_current_target): Don't inherit or default
8268 to_remove_watchpoint.
8269 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8270 TARGET_DEFAULT_NORETURN.
8271
016facd4
TT
82722014-02-19 Tom Tromey <tromey@redhat.com>
8273
8274 * target-delegates.c: Rebuild.
8275 * target.c (update_current_target): Don't inherit or default
8276 to_insert_watchpoint.
8277 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8278 TARGET_DEFAULT_RETURN.
8279
418dabac
TT
82802014-02-19 Tom Tromey <tromey@redhat.com>
8281
8282 * target-delegates.c: Rebuild.
8283 * target.c (update_current_target): Don't inherit or default
8284 to_remove_hw_breakpoint.
8285 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8286 TARGET_DEFAULT_RETURN.
8287
61b371f9
TT
82882014-02-19 Tom Tromey <tromey@redhat.com>
8289
8290 * target-delegates.c: Rebuild.
8291 * target.c (update_current_target): Don't inherit or default
8292 to_insert_hw_breakpoint.
8293 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8294 TARGET_DEFAULT_RETURN.
8295
52b51d06
TT
82962014-02-19 Tom Tromey <tromey@redhat.com>
8297
8298 * target-delegates.c: Rebuild.
8299 * target.c (update_current_target): Don't inherit or default
8300 to_can_use_hw_breakpoint.
8301 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8302 TARGET_DEFAULT_RETURN.
8303
f86e59b2
TT
83042014-02-19 Tom Tromey <tromey@redhat.com>
8305
8306 * target-delegates.c: Rebuild.
8307 * target.c (update_current_target): Don't inherit or default
8308 to_files_info.
8309 * target.h (struct target_ops) <to_files_info>: Use
8310 TARGET_DEFAULT_IGNORE.
8311
6c628163
TT
83122014-02-19 Tom Tromey <tromey@redhat.com>
8313
8314 * target-delegates.c: Rebuild.
8315 * target.c (update_current_target): Don't inherit or default
8316 to_store.
8317 * target.h (struct target_ops) <to_store>: Use
8318 TARGET_DEFAULT_NORETURN.
8319
bebd3233
TT
83202014-02-19 Tom Tromey <tromey@redhat.com>
8321
8322 * target-delegates.c: Rebuild.
8323 * target.c (update_current_target): Don't inherit or default
8324 to_post_attach.
8325 * target.h (struct target_ops) <to_post_attach>: Use
8326 TARGET_DEFAULT_IGNORE.
8327
a53f3625
TT
83282014-02-19 Tom Tromey <tromey@redhat.com>
8329
8330 * target-delegates.c: Rebuild.
8331 * target.c (update_current_target): Don't inherit or default
8332 to_rcmd.
8333 (default_rcmd): New function.
8334 (do_monitor_command): Unconditionally delegate.
8335 * target.h (struct target_ops) <to_rmcd>: Use
8336 TARGET_DEFAULT_FUNC.
8337
e9a29200
TT
83382014-02-19 Tom Tromey <tromey@redhat.com>
8339
8340 * target-delegates.c: Rebuild.
8341 * target.c (init_dummy_target): Don't initialize to_attach.
8342 (target_attach): Unconditionally delegate.
8343 * target.h (struct target_ops) <to_attach>: Use
8344 TARGET_DEFAULT_FUNC.
8345
09da0d0a
TT
83462014-02-19 Tom Tromey <tromey@redhat.com>
8347
8348 * target-delegates.c: Rebuild.
8349 * target.c (target_detach): Unconditionally delegate.
8350 (init_dummy_target): Don't initialize to_detach.
8351 * target.h (struct target_ops) <to_detach>: Use
8352 TARGET_DEFAULT_IGNORE.
8353
5436ff03
TT
83542014-02-19 Tom Tromey <tromey@redhat.com>
8355
8356 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8357 Add argument.
8358 (target_augmented_libraries_svr4_read): Add argument.
8359 * target.c (update_current_target): Update.
8360 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8361 argument.
8362
f0d960ea
TT
83632014-02-19 Tom Tromey <tromey@redhat.com>
8364
8365 * target.h (struct target_ops) <to_call_history_range>: Add
8366 argument.
8367 * target.c (target_call_history_range): Add argument.
8368 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8369 argument.
8370 (record_btrace_call_history_from): Update.
8371
ec0aea04
TT
83722014-02-19 Tom Tromey <tromey@redhat.com>
8373
8374 * target.h (struct target_ops) <to_call_history_from>: Add
8375 argument.
8376 * target.c (target_call_history_from): Add argument.
8377 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8378 argument.
8379
5df2fcba
TT
83802014-02-19 Tom Tromey <tromey@redhat.com>
8381
8382 * target.h (struct target_ops) <to_call_history>: Add argument.
8383 * target.c (target_call_history): Add argument.
8384 * record-btrace.c (record_btrace_call_history): Add 'self'
8385 argument.
8386
4e99c6b7
TT
83872014-02-19 Tom Tromey <tromey@redhat.com>
8388
8389 * target.h (struct target_ops) <to_insn_history_range>: Add
8390 argument.
8391 * target.c (target_insn_history_range): Add argument.
8392 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8393 argument.
8394 (record_btrace_insn_history_from): Update.
8395
9abc3ff3
TT
83962014-02-19 Tom Tromey <tromey@redhat.com>
8397
8398 * target.h (struct target_ops) <to_insn_history_from>: Add
8399 argument.
8400 * target.c (target_insn_history_from): Add argument.
8401 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8402 argument.
8403
7a6c5609
TT
84042014-02-19 Tom Tromey <tromey@redhat.com>
8405
8406 * target.h (struct target_ops) <to_insn_history>: Add argument.
8407 * target.c (target_insn_history): Add argument.
8408 * record-btrace.c (record_btrace_insn_history): Add 'self'
8409 argument.
8410
606183ac
TT
84112014-02-19 Tom Tromey <tromey@redhat.com>
8412
8413 * target.h (struct target_ops) <to_goto_record>: Add argument.
8414 * target.c (target_goto_record): Add argument.
8415 * record-full.c (record_full_goto): Add 'self' argument.
8416 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8417
307a1b91
TT
84182014-02-19 Tom Tromey <tromey@redhat.com>
8419
8420 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8421 * target.c (target_goto_record_end): Add argument.
8422 * record-full.c (record_full_goto_end): Add 'self' argument.
8423 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8424
08475817
TT
84252014-02-19 Tom Tromey <tromey@redhat.com>
8426
8427 * target.h (struct target_ops) <to_goto_record_begin>: Add
8428 argument.
8429 * target.c (target_goto_record_begin): Add argument.
8430 * record-full.c (record_full_goto_begin): Add 'self' argument.
8431 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8432 argument.
8433
1c63c994
TT
84342014-02-19 Tom Tromey <tromey@redhat.com>
8435
8436 * target.h (struct target_ops) <to_record_is_replaying>: Add
8437 argument.
8438 * target.c (target_record_is_replaying): Add argument.
8439 * record-full.c (record_full_is_replaying): Add 'self' argument.
8440 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8441 argument.
8442 (record_btrace_xfer_partial, record_btrace_store_registers)
8443 (record_btrace_prepare_to_store, record_btrace_resume)
8444 (record_btrace_wait, record_btrace_decr_pc_after_break)
8445 (record_btrace_find_new_threads, record_btrace_thread_alive):
8446 Update.
8447
d1b55219
TT
84482014-02-19 Tom Tromey <tromey@redhat.com>
8449
8450 * target.h (struct target_ops) <to_delete_record>: Add argument.
8451 * target.c (target_delete_record): Add argument.
8452 * record-full.c (record_full_delete): Add 'self' argument.
8453
1390f529
TT
84542014-02-19 Tom Tromey <tromey@redhat.com>
8455
8456 * target.h (struct target_ops) <to_save_record>: Add argument.
8457 * target.c (target_save_record): Add argument.
8458 * record-full.c (record_full_save): Add 'self' argument.
8459 (record_full_save): Add 'self' argument.
8460
630d6a4a
TT
84612014-02-19 Tom Tromey <tromey@redhat.com>
8462
8463 * target.h (struct target_ops) <to_info_record>: Add argument.
8464 * target.c (target_info_record): Add argument.
8465 * record.c (info_record_command): Add argument.
8466 * record-full.c (record_full_info): Add 'self' argument.
8467 * record-btrace.c (record_btrace_info): Add 'self' argument.
8468
c6cd7c02
TT
84692014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8472 * target.c (target_stop_recording): Add argument.
8473 * record.c (record_stop): Add argument.
8474 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8475 argument.
8476
39c49f83
TT
84772014-02-19 Tom Tromey <tromey@redhat.com>
8478
8479 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8480 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8481 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8482 argument.
8483 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8484 (_initialize_amd64_linux_nat): Use it.
8485 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8486 (_initialize_i386_linux_nat): Use it.
8487
1777056d
TT
84882014-02-19 Tom Tromey <tromey@redhat.com>
8489
8490 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8491 * target.c (target_teardown_btrace): Add argument.
8492 * remote.c (remote_teardown_btrace): Add 'self' argument.
8493 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8494 argument.
8495 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8496 argument.
8497
25e95349
TT
84982014-02-19 Tom Tromey <tromey@redhat.com>
8499
8500 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8501 * target.c (target_disable_btrace): Add argument.
8502 * remote.c (remote_disable_btrace): Add 'self' argument.
8503 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8504 argument.
8505 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8506 argument.
8507
e3c49f88
TT
85082014-02-19 Tom Tromey <tromey@redhat.com>
8509
8510 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8511 * target.c (target_enable_btrace): Add argument.
8512 * remote.c (remote_enable_btrace): Add 'self' argument.
8513 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8514 argument.
8515 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8516 argument.
8517
fe38f897
TT
85182014-02-19 Tom Tromey <tromey@redhat.com>
8519
8520 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8521 (target_can_use_agent): Add argument.
8522 * target.c (update_current_target): Update.
8523 * remote.c (remote_can_use_agent): Add 'self' argument.
8524 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8525
2c152180
TT
85262014-02-19 Tom Tromey <tromey@redhat.com>
8527
8528 * target.h (struct target_ops) <to_use_agent>: Add argument.
8529 (target_use_agent): Add argument.
8530 * target.c (update_current_target): Update.
8531 * remote.c (remote_use_agent): Add 'self' argument.
8532 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8533
a893e81f
TT
85342014-02-19 Tom Tromey <tromey@redhat.com>
8535
8536 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8537 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8538 (target_traceframe_info): Add argument.
8539 * target.c (update_current_target): Update.
8540 * remote.c (remote_traceframe_info): Add 'self' argument.
8541 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8542
c686c57f
TT
85432014-02-19 Tom Tromey <tromey@redhat.com>
8544
8545 * target.h (target_static_tracepoint_markers_by_strid): Add
8546 argument.
8547 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8548 'self' argument.
8549 * target.c (update_current_target): Update.
8550 * remote.c (struct target_ops)
8551 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8552 * linux-nat.c (struct target_ops)
8553 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8554
61fc905d
TT
85552014-02-19 Tom Tromey <tromey@redhat.com>
8556
8557 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8558 Add argument.
8559 (target_static_tracepoint_marker_at): Add argument.
8560 * target.c (update_current_target): Update.
8561 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8562 argument.
8563
c378d69d
TT
85642014-02-19 Tom Tromey <tromey@redhat.com>
8565
8566 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8567 (target_set_permissions): Add argument.
8568 * target.c (update_current_target): Update.
8569 * remote.c (remote_set_permissions): Add 'self' argument.
8570 (remote_start_remote): Update.
8571
bd7ae0f5
TT
85722014-02-19 Tom Tromey <tromey@redhat.com>
8573
8574 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8575 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8576 (target_get_tib_address): Add argument.
8577 * target.c (update_current_target): Update.
8578 * remote.c (remote_get_tib_address): Add 'self' argument.
8579
d9e68a2c
TT
85802014-02-19 Tom Tromey <tromey@redhat.com>
8581
8582 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8583 (target_set_trace_notes): Add argument.
8584 * target.c (update_current_target): Update.
8585 * remote.c (remote_set_trace_notes): Add 'self' argument.
8586
4da384be
TT
85872014-02-19 Tom Tromey <tromey@redhat.com>
8588
8589 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8590 argument.
8591 (target_set_trace_buffer_size): Add argument.
8592 * target.c (update_current_target): Update.
8593 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8594
736d5b1f
TT
85952014-02-19 Tom Tromey <tromey@redhat.com>
8596
8597 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8598 argument.
8599 (target_set_circular_trace_buffer): Add argument.
8600 * target.c (update_current_target): Update.
8601 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8602 argument.
8603
37b25738
TT
86042014-02-19 Tom Tromey <tromey@redhat.com>
8605
8606 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8607 argument.
8608 (target_set_disconnected_tracing): Add argument.
8609 * target.c (update_current_target): Update.
8610 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8611
0e67620a
TT
86122014-02-19 Tom Tromey <tromey@redhat.com>
8613
8614 * target.h (struct target_ops)
8615 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8616 (target_get_min_fast_tracepoint_insn_len): Add argument.
8617 * target.c (update_current_target): Update.
8618 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8619 argument.
8620
88ee6f45
TT
86212014-02-19 Tom Tromey <tromey@redhat.com>
8622
8623 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8624 argument.
8625 (target_get_raw_trace_data): Add argument.
8626 * target.c (update_current_target): Update.
8627 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8628
181e3713
TT
86292014-02-19 Tom Tromey <tromey@redhat.com>
8630
8631 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8632 Add argument.
8633 (target_upload_trace_state_variables): Add argument.
8634 * target.c (update_current_target): Update.
8635 * remote.c (remote_upload_trace_state_variables): Add 'self'
8636 argument.
8637 (remote_start_remote): Update.
8638
ab6617cc
TT
86392014-02-19 Tom Tromey <tromey@redhat.com>
8640
8641 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8642 argument.
8643 (target_upload_tracepoints): Add argument.
8644 * target.c (update_current_target): Update.
8645 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8646 (remote_start_remote): Update.
8647
dc3decaf
TT
86482014-02-19 Tom Tromey <tromey@redhat.com>
8649
8650 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8651 (target_save_trace_data): Add argument.
8652 * target.c (update_current_target): Update.
8653 * remote.c (remote_save_trace_data): Add 'self' argument.
8654
4011015b
TT
86552014-02-19 Tom Tromey <tromey@redhat.com>
8656
8657 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8658 argument.
8659 * target.h (struct target_ops)
8660 <to_get_trace_state_variable_value>: Add argument.
8661 (target_get_trace_state_variable_value): Add argument.
8662 * target.c (update_current_target): Update.
8663 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8664 argument.
8665 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8666
bd4c6793
TT
86672014-02-19 Tom Tromey <tromey@redhat.com>
8668
8669 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8670 * target.h (struct target_ops) <to_trace_find>: Add argument.
8671 (target_trace_find): Add argument.
8672 * target.c (update_current_target): Update.
8673 * remote.c (remote_trace_find): Add 'self' argument.
8674 * ctf.c (ctf_trace_find): Add 'self' argument.
8675
74499f1b
TT
86762014-02-19 Tom Tromey <tromey@redhat.com>
8677
8678 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8679 (target_trace_stop): Add argument.
8680 * target.c (update_current_target): Update.
8681 * remote.c (remote_trace_stop): Add 'self' argument.
8682
db90e85c
TT
86832014-02-19 Tom Tromey <tromey@redhat.com>
8684
8685 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
8686 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
8687 argument.
8688 (target_get_tracepoint_status): Add argument.
8689 * target.c (update_current_target): Update.
8690 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
8691
8bd200f1
TT
86922014-02-19 Tom Tromey <tromey@redhat.com>
8693
8694 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
8695 * target.h (struct target_ops) <to_get_trace_status>: Add
8696 argument.
8697 (target_get_trace_status): Add argument.
8698 * target.c (update_current_target): Update.
8699 * remote.c (remote_get_trace_status): Add 'self' argument.
8700 (remote_start_remote, remote_can_download_tracepoint): Update.
8701 * ctf.c (ctf_get_trace_status): Add 'self' argument.
8702
e2d1aae3
TT
87032014-02-19 Tom Tromey <tromey@redhat.com>
8704
8705 * target.h (struct target_ops) <to_trace_start>: Add argument.
8706 (target_trace_start): Add argument.
8707 * target.c (update_current_target): Update.
8708 * remote.c (remote_trace_start): Add 'self' argument.
8709
583f9a86
TT
87102014-02-19 Tom Tromey <tromey@redhat.com>
8711
8712 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8713 Add argument.
8714 (target_trace_set_readonly_regions): Add argument.
8715 * target.c (update_current_target): Update.
8716 * remote.c (remote_trace_set_readonly_regions): Add 'self'
8717 argument.
8718
780b049c
TT
87192014-02-19 Tom Tromey <tromey@redhat.com>
8720
8721 * target.h (struct target_ops) <to_disable_tracepoint>: Add
8722 argument.
8723 (target_disable_tracepoint): Add argument.
8724 * target.c (update_current_target): Update.
8725 * remote.c (remote_disable_tracepoint): Add 'self' argument.
8726
46670d57
TT
87272014-02-19 Tom Tromey <tromey@redhat.com>
8728
8729 * target.h (struct target_ops) <to_enable_tracepoint>: Add
8730 argument.
8731 (target_enable_tracepoint): Add argument.
8732 * target.c (update_current_target): Update.
8733 * remote.c (remote_enable_tracepoint): Add 'self' argument.
8734
559d2b81
TT
87352014-02-19 Tom Tromey <tromey@redhat.com>
8736
8737 * target.h (struct target_ops) <to_download_trace_state_variable>:
8738 Add argument.
8739 (target_download_trace_state_variable): Add argument.
8740 * target.c (update_current_target): Update.
8741 * remote.c (remote_download_trace_state_variable): Add 'self'
8742 argument.
8743
a52a8357
TT
87442014-02-19 Tom Tromey <tromey@redhat.com>
8745
8746 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
8747 argument.
8748 (target_can_download_tracepoint): Add argument.
8749 * target.c (update_current_target): Update.
8750 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
8751
548f7808
TT
87522014-02-19 Tom Tromey <tromey@redhat.com>
8753
8754 * target.h (struct target_ops) <to_download_tracepoint>: Add
8755 argument.
8756 (target_download_tracepoint): Add argument.
8757 * target.c (update_current_target): Update.
8758 * remote.c (remote_download_tracepoint): Add 'self' argument.
8759
ecae04e1
TT
87602014-02-19 Tom Tromey <tromey@redhat.com>
8761
8762 * target.h (struct target_ops) <to_trace_init>: Add argument.
8763 (target_trace_init): Add argument.
8764 * target.c (update_current_target): Update.
8765 * remote.c (remote_trace_init): Add 'self' argument.
8766
fab5aa7c
TT
87672014-02-19 Tom Tromey <tromey@redhat.com>
8768
8769 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
8770 * target.c (target_fileio_readlink): Add argument.
8771 * remote.c (remote_hostio_readlink): Add 'self' argument.
8772 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
8773
dbbca37d
TT
87742014-02-19 Tom Tromey <tromey@redhat.com>
8775
8776 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
8777 * target.c (target_fileio_unlink): Add argument.
8778 * remote.c (remote_hostio_unlink): Add 'self' argument.
8779 (remote_file_delete): Update.
8780 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
8781
df39ea25
TT
87822014-02-19 Tom Tromey <tromey@redhat.com>
8783
8784 * target.h (struct target_ops) <to_fileio_close>: Add argument.
8785 * target.c (target_fileio_close): Add argument.
8786 * remote.c (remote_hostio_close): Add 'self' argument.
8787 (remote_hostio_close_cleanup): Update.
8788 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
8789 Update.
8790 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
8791
a3be983c
TT
87922014-02-19 Tom Tromey <tromey@redhat.com>
8793
8794 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
8795 * target.c (target_fileio_pread): Add argument.
8796 * remote.c (remote_hostio_pread): Add 'self' argument.
8797 (remote_bfd_iovec_pread, remote_file_get): Update.
8798 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
8799
0d866f62
TT
88002014-02-19 Tom Tromey <tromey@redhat.com>
8801
8802 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
8803 * target.c (target_fileio_pwrite): Add argument.
8804 * remote.c (remote_hostio_pwrite): Add 'self' argument.
8805 (remote_file_put): Update.
8806 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
8807
cd897586
TT
88082014-02-19 Tom Tromey <tromey@redhat.com>
8809
8810 * target.h (struct target_ops) <to_fileio_open>: Add argument.
8811 * target.c (target_fileio_open): Add argument.
8812 * remote.c (remote_hostio_open): Add 'self' argument.
8813 (remote_bfd_iovec_open): Add 'self' argument.
8814 (remote_file_put): Add 'self' argument.
8815 (remote_file_get): Add 'self' argument.
8816 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
8817
78eff0ec
TT
88182014-02-19 Tom Tromey <tromey@redhat.com>
8819
8820 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8821 Add argument.
8822 (target_can_run_breakpoint_commands): Add argument.
8823 * target.c (update_current_target): Update.
8824 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
8825 argument.
8826 (remote_insert_breakpoint): Add 'self' argument.
8827 (remote_insert_hw_breakpoint): Add 'self' argument.
8828 (remote_can_run_breakpoint_commands): Add 'self' argument.
8829
efcc2da7
TT
88302014-02-19 Tom Tromey <tromey@redhat.com>
8831
8832 * target.h (struct target_ops)
8833 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
8834 (target_supports_evaluation_of_breakpoint_conditions): Add
8835 argument.
8836 * target.c (update_current_target): Update.
8837 * remote.c (remote_supports_cond_breakpoints): Add 'self'
8838 argument.
8839 (remote_insert_breakpoint): Add 'self' argument.
8840 (remote_insert_hw_breakpoint): Add 'self' argument.
8841 (remote_supports_cond_breakpoints): Add 'self' argument.
8842
6de37a3a
TT
88432014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target.h (struct target_ops) <to_supports_string_tracing>: Add
8846 argument.
8847 (target_supports_string_tracing): Add argument.
8848 * target.c (update_current_target): Update.
8849 * remote.c (remote_supports_string_tracing): Add 'self' argument.
8850
2bfc0540
TT
88512014-02-19 Tom Tromey <tromey@redhat.com>
8852
8853 * target.h (struct target_ops)
8854 <to_supports_disable_randomization>: Add argument.
8855 * target.c (find_default_supports_disable_randomization): Add
8856 argument.
8857 (target_supports_disable_randomization): Add argument.
8858 (find_default_supports_disable_randomization): Add 'self'
8859 argument.
8860 * remote.c (extended_remote_supports_disable_randomization): Add
8861 'self' argument.
8862 (remote_supports_disable_randomization): Add 'self' argument.
8863 (extended_remote_create_inferior): Update.
8864 * linux-nat.c (linux_nat_supports_disable_randomization): Add
8865 'self' argument.
8866
7d178d6a
TT
88672014-02-19 Tom Tromey <tromey@redhat.com>
8868
8869 * target.h (struct target_ops)
8870 <to_supports_enable_disable_tracepoint>: Add argument.
8871 (target_supports_enable_disable_tracepoint): Add argument.
8872 * target.c (update_current_target): Update.
8873 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
8874 argument.
8875
86ce2668
TT
88762014-02-19 Tom Tromey <tromey@redhat.com>
8877
8878 * target.h (struct target_ops) <to_supports_multi_process>: Add
8879 argument.
8880 (target_supports_multi_process): Add argument.
8881 * target.c (update_current_target): Update.
8882 * remote.c (remote_supports_multi_process): Add 'self' argument.
8883 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
8884 argument.
8885 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
8886 argument.
8887
4c612759
TT
88882014-02-19 Tom Tromey <tromey@redhat.com>
8889
8890 * target.h (struct target_ops) <to_execution_direction>: Add
8891 argument.
8892 (target_execution_direction): Add argument.
8893 * target.c (default_execution_direction): Add 'self' argument.
8894 * record-full.c (record_full_execution_direction): Add 'self'
8895 argument.
8896
19db3e69
TT
88972014-02-19 Tom Tromey <tromey@redhat.com>
8898
8899 * target.h (struct target_ops) <to_can_execute_reverse>: Add
8900 argument.
8901 (target_can_execute_reverse): Add argument.
8902 * remote.c (remote_can_execute_reverse): Add 'self' argument.
8903 * record-full.c (record_full_can_execute_reverse): Add 'self'
8904 argument.
8905 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
8906 argument.
8907
1e6b91a4
TT
89082014-02-19 Tom Tromey <tromey@redhat.com>
8909
8910 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
8911 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
8912 argument.
8913 (target_get_ada_task_ptid): Add argument.
8914 * target.c (update_current_target): Update.
8915 (default_get_ada_task_ptid): Add 'self' argument.
8916 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
8917 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
8918 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
8919 argument.
8920 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
8921 argument.
8922 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
8923 argument.
8924 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
8925 argument.
8926 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
8927 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
8928 argument.
8929
3c80fb48
TT
89302014-02-19 Tom Tromey <tromey@redhat.com>
8931
8932 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
8933 (target_goto_bookmark): Add argument.
8934 * target.c (dummy_goto_bookmark): Add 'self' argument.
8935 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
8936
dd0e2830
TT
89372014-02-19 Tom Tromey <tromey@redhat.com>
8938
8939 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
8940 (target_get_bookmark): Add argument.
8941 * target.c (dummy_get_bookmark): Add 'self' argument.
8942 * record-full.c (record_full_get_bookmark): Add 'self' argument.
8943
fc6691b2
TT
89442014-02-19 Tom Tromey <tromey@redhat.com>
8945
8946 * target.h (struct target_ops) <to_make_corefile_notes>: Add
8947 argument.
8948 (target_make_corefile_notes): Add argument.
8949 * target.c (dummy_make_corefile_notes): Add 'self' argument.
8950 * procfs.c (procfs_make_note_section): Add 'self' argument.
8951 (procfs_make_note_section): Add 'self' argument.
8952 (procfs_make_note_section): Add 'self' argument.
8953 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
8954 argument.
8955 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
8956 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
8957 * exec.c (exec_make_note_section): Add 'self' argument.
8958 (exec_make_note_section): Add 'self' argument.
8959
2e73927c
TT
89602014-02-19 Tom Tromey <tromey@redhat.com>
8961
8962 * target.h (struct target_ops) <to_find_memory_regions>: Add
8963 argument.
8964 (target_find_memory_regions): Add argument.
8965 * target.c (dummy_find_memory_regions): Add 'self' argument.
8966 * procfs.c (proc_find_memory_regions): Add 'self' argument.
8967 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
8968 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
8969 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
8970 * exec. (exec_do_find_memory_regions): New global.
8971 (exec_set_find_memory_regions): Rewrite.
8972 (exec_find_memory_regions): New function.
8973 (init_exec_ops): Use exec_find_memory_regions.
8974
2a9a2795
TT
89752014-02-19 Tom Tromey <tromey@redhat.com>
8976
8977 * target.h (struct target_ops) <to_supports_non_stop>: Add
8978 argument.
8979 * target.c (find_default_supports_non_stop): Add argument.
8980 (target_supports_non_stop): Add argument.
8981 (find_default_supports_non_stop): Add 'self' argument.
8982 * remote.c (remote_supports_non_stop): Add 'self' argument.
8983 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
8984
4ab76ea3
TT
89852014-02-19 Tom Tromey <tromey@redhat.com>
8986
8987 * target.h (struct target_ops) <to_log_command>: Add argument.
8988 (target_log_command): Add argument.
8989 * serial.h (serial_log_command): Add 'self' argument.
8990 * serial.c (serial_log_command): Add 'self' argument.
8991
8dd27370
TT
89922014-02-19 Tom Tromey <tromey@redhat.com>
8993
8994 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
8995 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
8996 argument.
8997 (target_pid_to_exec_file): Add argument.
8998 * target.c (debug_to_pid_to_exec_file): Add argument.
8999 (update_current_target): Update.
9000 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9001 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9002 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9003 (linux_handle_extended_wait): Update.
9004 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9005 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9006 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9007 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9008
1aac633b
TT
90092014-02-19 Tom Tromey <tromey@redhat.com>
9010
9011 * target.h (struct target_ops) <to_rcmd>: Add argument.
9012 (target_rcmd): Add argument.
9013 * target.c (debug_to_rcmd): Add argument.
9014 (update_current_target, do_monitor_command): Update.
9015 * remote.c (remote_rcmd): Add 'self' argument.
9016 * monitor.c (monitor_rcmd): Add 'self' argument.
9017
1eab8a48
TT
90182014-02-19 Tom Tromey <tromey@redhat.com>
9019
9020 * windows-nat.c (windows_stop): Add 'self' argument.
9021 * target.h (struct target_ops) <to_stop>: Add argument.
9022 * target.c (target_stop): Add argument.
9023 (debug_to_stop): Add argument.
9024 (update_current_target): Update.
9025 * remote.c (remote_stop): Add 'self' argument.
9026 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9027 (gdbsim_cntrl_c): Update.
9028 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9029 * procfs.c (procfs_stop): Add 'self' argument.
9030 * nto-procfs.c (procfs_stop): Add 'self' argument.
9031 * monitor.c (monitor_stop): Add 'self' argument.
9032 (monitor_open): Update.
9033 * linux-nat.c (linux_nat_stop): Add argument.
9034 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9035 * gnu-nat.c (gnu_stop): Add 'self' argument.
9036 * darwin-nat.c (darwin_stop): Add 'self' argument.
9037
503a628d
TT
90382014-02-19 Tom Tromey <tromey@redhat.com>
9039
9040 * target.h (struct target_ops) <to_thread_name>: Add argument.
9041 * target.c (target_thread_name): Add argument.
9042 (update_current_target): Update.
9043 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9044
c15906d8
TT
90452014-02-19 Tom Tromey <tromey@redhat.com>
9046
9047 * target.h (struct target_ops) <to_extra_thread_info>: Add
9048 argument.
9049 (target_extra_thread_info): Add argument.
9050 * target.c (update_current_target): Update.
9051 * remote.c (remote_threads_extra_info): Add 'self' argument.
9052 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9053 argument.
9054 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9055 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9056 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9057 argument.
9058 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9059 argument.
9060 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9061 argument.
9062 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9063 argument.
9064
daf5e9b6
TT
90652014-02-19 Tom Tromey <tromey@redhat.com>
9066
9067 * target.h (struct target_ops) <to_program_signals>: Add argument.
9068 * target.c (target_program_signals): Add argument.
9069 * remote.c (remote_program_signals): Add 'self' argument.
9070
94bedb42
TT
90712014-02-19 Tom Tromey <tromey@redhat.com>
9072
9073 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9074 * target.c (target_pass_signals): Add argument.
9075 * remote.c (remote_pass_signals): Add 'self' argument.
9076 (remote_start_remote): Update.
9077 * procfs.c (procfs_pass_signals): Add 'self' argument.
9078 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9079 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9080 (linux_nat_create_inferior, linux_nat_attach): Update.
9081
da82bd6b
TT
90822014-02-19 Tom Tromey <tromey@redhat.com>
9083
9084 * windows-nat.c (windows_can_run): Add 'self' argument.
9085 * target.h (struct target_ops) <to_can_run>: Add argument.
9086 (target_can_run): Add argument.
9087 * target.c (debug_to_can_run): Add argument.
9088 (update_current_target): Update.
9089 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9090 * inf-child.c (inf_child_can_run): Add 'self' argument.
9091 * go32-nat.c (go32_can_run): Add 'self' argument.
9092
d796e1d6
TT
90932014-02-19 Tom Tromey <tromey@redhat.com>
9094
9095 * target.h (struct target_ops) <to_has_exited>: Add argument.
9096 (target_has_exited): Add argument.
9097 * target.c (debug_to_has_exited): Add argument.
9098 (update_current_target): Update.
9099
ff214e67
TT
91002014-02-19 Tom Tromey <tromey@redhat.com>
9101
9102 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9103 argument.
9104 (target_set_syscall_catchpoint): Add argument.
9105 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9106 argument.
9107 * target.c (update_current_target): Update.
9108
758e29d2
TT
91092014-02-19 Tom Tromey <tromey@redhat.com>
9110
9111 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9112 argument.
9113 (target_remove_exec_catchpoint): Add argument.
9114 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9115 (update_current_target): Update.
9116 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9117 argument.
9118
ba025e51
TT
91192014-02-19 Tom Tromey <tromey@redhat.com>
9120
9121 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9122 argument.
9123 (target_insert_exec_catchpoint): Add argument.
9124 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9125 (update_current_target): Update.
9126 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9127 argument.
9128
e98cf0cd
TT
91292014-02-19 Tom Tromey <tromey@redhat.com>
9130
9131 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9132 argument.
9133 (target_remove_vfork_catchpoint): Add argument.
9134 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9135 (update_current_target): Update.
9136 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9137 argument.
9138
3ecc7da0
TT
91392014-02-19 Tom Tromey <tromey@redhat.com>
9140
9141 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9142 argument.
9143 (target_insert_vfork_catchpoint): Add argument.
9144 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9145 (update_current_target): Update.
9146 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9147 argument.
9148
973fc227
TT
91492014-02-19 Tom Tromey <tromey@redhat.com>
9150
9151 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9152 argument.
9153 (target_remove_fork_catchpoint): Add argument.
9154 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9155 (update_current_target): Update.
9156 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9157 argument.
9158
a863b201
TT
91592014-02-19 Tom Tromey <tromey@redhat.com>
9160
9161 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9162 argument.
9163 (target_insert_fork_catchpoint): Add argument.
9164 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9165 (update_current_target): Update.
9166 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9167 argument.
9168
2e97a79e
TT
91692014-02-19 Tom Tromey <tromey@redhat.com>
9170
9171 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9172 argument.
9173 (target_post_startup_inferior): Add argument.
9174 * target.c (debug_to_post_startup_inferior): Add argument.
9175 (update_current_target): Update.
9176 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9177 argument.
9178 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9179 argument.
9180 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9181 argument.
9182 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9183 argument.
9184 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9185 'self' argument.
9186 (super_post_startup_inferior): Likewise.
9187 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9188 'self' argument.
9189 (super_post_startup_inferior): Likewise.
9190 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9191 Add 'self' argument.
9192 (super_post_startup_inferior): Likewise.
9193
71a9f134
TT
91942014-02-19 Tom Tromey <tromey@redhat.com>
9195
9196 * target.h (struct target_ops) <to_load>: Add argument.
9197 * target.c (target_load): Add argument.
9198 (debug_to_load): Add argument.
9199 (update_current_target): Update.
9200 * remote.c (remote_load): Add 'self' argument.
9201 * remote-sim.c (gdbsim_load): Add 'self' argument.
9202 * remote-mips.c (mips_load): Add 'self' argument.
9203 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9204 * monitor.c (monitor_load): Add 'self' argument.
9205 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9206
0a4f40a2
TT
92072014-02-19 Tom Tromey <tromey@redhat.com>
9208
9209 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9210 (target_terminal_info): Add argument.
9211 * target.c (debug_to_terminal_info): Add argument.
9212 (default_terminal_info): Likewise.
9213 * inflow.c (child_terminal_info): Add 'self' argument.
9214 * inferior.h (child_terminal_info): Add 'self' argument.
9215 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9216
ae3bd431
TT
92172014-02-19 Tom Tromey <tromey@redhat.com>
9218
9219 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9220 argument.
9221 (target_terminal_save_ours): Add argument.
9222 * target.c (debug_to_terminal_save_ours): Add argument.
9223 (update_current_target): Update.
9224 * inflow.c (terminal_save_ours): Add 'self' argument.
9225 * inferior.h (terminal_save_ours): Add 'self' argument.
9226
e3594fd1
TT
92272014-02-19 Tom Tromey <tromey@redhat.com>
9228
9229 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9230 (target_terminal_ours): Add argument.
9231 * target.c (debug_to_terminal_ours): Add argument.
9232 (update_current_target): Update.
9233 * remote.c (remote_terminal_ours): Add 'self' argument.
9234 (remote_close): Update.
9235 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9236 * inflow.c (terminal_ours): Add 'self' argument.
9237 * inferior.h (terminal_ours): Add 'self' argument.
9238 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9239
2e1e1a19
TT
92402014-02-19 Pedro Alves <palves@redhat.com>
9241 Tom Tromey <tromey@redhat.com>
9242
9243 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9244 argument.
9245 (target_terminal_ours_for_output): Add argument.
9246 * target.c (debug_to_terminal_ours_for_output): Add argument.
9247 (update_current_target): Update.
9248 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9249 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9250 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9251
d2f640d4
TT
92522014-02-19 Tom Tromey <tromey@redhat.com>
9253
9254 * target.h (struct target_ops) <to_terminal_inferior>: Add
9255 argument.
9256 * target.c (target_terminal_inferior): Add argument.
9257 (update_current_target): Update.
9258 * remote.c (remote_terminal_inferior): Add 'self' argument.
9259 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9260 * inflow.c (terminal_inferior): Add 'self' argument.
9261 * inferior.h (terminal_inferior): Add 'self' argument.
9262 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9263 (go32_terminal_inferior): Add 'self' argument.
9264
c42bf286
TT
92652014-02-19 Tom Tromey <tromey@redhat.com>
9266
9267 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9268 (target_terminal_init): Add argument.
9269 * target.c (debug_to_terminal_init): Add argument.
9270 (update_current_target): Update.
9271 * inflow.c (terminal_init_inferior): Add 'self' argument.
9272 * inferior.h (terminal_init_inferior): Add 'self' argument.
9273 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9274 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9275
c3a5ff89
TT
92762014-02-19 Tom Tromey <tromey@redhat.com>
9277
9278 * target.h (struct target_ops)
9279 <to_can_accel_watchpoint_condition>: Add argument.
9280 (target_can_accel_watchpoint_condition): Add argument.
9281 * target.c (debug_to_can_accel_watchpoint_condition): Add
9282 argument.
9283 (update_current_target): Update.
9284 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9285 'self' argument.
9286
31568a15
TT
92872014-02-19 Tom Tromey <tromey@redhat.com>
9288
9289 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9290 Add argument.
9291 (target_region_ok_for_hw_watchpoint): Add argument.
9292 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9293 (default_region_ok_for_hw_watchpoint): Add argument.
9294 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9295 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9296 argument.
9297 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9298 argument.
9299 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9300 argument.
9301 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9302 'self' argument.
9303 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9304 'self' argument.
9305 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9306 'self' argument.
9307 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9308 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9309 'self' argument.
9310 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9311 Add 'self' argument.
9312
7bb99c53
TT
93132014-02-19 Tom Tromey <tromey@redhat.com>
9314
9315 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9316 argument.
9317 (target_insert_watchpoint): Add argument.
9318 * target.c (debug_to_insert_watchpoint): Add argument.
9319 (update_current_target): Update.
9320 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9321 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9322 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9323 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9324 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9325 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9326 argument.
9327 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9328 (procfs_insert_hw_watchpoint): Add 'self' argument.
9329 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9330 argument.
9331 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9332 argument.
9333 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9334 argument.
9335 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9336 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9337 argument.
9338 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9339 'self' argument.
9340
11b5219a
TT
93412014-02-19 Tom Tromey <tromey@redhat.com>
9342
9343 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9344 argument.
9345 (target_remove_watchpoint): Add argument.
9346 * target.c (debug_to_remove_watchpoint): Add argument.
9347 (update_current_target): Update.
9348 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9349 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9350 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9351 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9352 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9353 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9354 argument.
9355 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9356 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9357 argument.
9358 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9359 argument.
9360 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9361 argument.
9362 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9363 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9364 argument.
9365 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9366 'self' argument.
9367
a64dc96c
TT
93682014-02-19 Tom Tromey <tromey@redhat.com>
9369
9370 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9371 argument.
9372 (target_remove_hw_breakpoint): Add argument.
9373 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9374 (update_current_target): Update.
9375 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9376 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9377 argument.
9378 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9379 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9380 argument.
9381 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9382 'self' argument.
9383
23a26771
TT
93842014-02-19 Tom Tromey <tromey@redhat.com>
9385
9386 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9387 argument.
9388 (target_insert_hw_breakpoint): Add argument.
9389 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9390 (update_current_target): Update.
9391 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9392 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9393 argument.
9394 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9395 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9396 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9397 argument.
9398 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9399 'self' argument.
9400
5461485a
TT
94012014-02-19 Tom Tromey <tromey@redhat.com>
9402
9403 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9404 argument.
9405 (target_can_use_hardware_watchpoint): Add argument.
9406 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9407 (update_current_target): Update.
9408 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9409 argument.
9410 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9411 argument.
9412 * remote.c (remote_check_watch_resources): Add 'self' argument.
9413 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9414 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9415 argument.
9416 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9417 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9418 argument.
9419 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9420 argument.
9421 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9422 argument.
9423 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9424 argument.
9425 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9426 argument.
9427 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9428 argument.
9429 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9430 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9431 argument.
9432 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9433 'self' argument.
9434
f045800c
TT
94352014-02-19 Tom Tromey <tromey@redhat.com>
9436
9437 * target.h (struct target_ops) <to_post_attach>: Add argument.
9438 (target_post_attach): Add argument.
9439 * target.c (debug_to_post_attach): Add argument.
9440 (update_current_target): Update.
9441 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9442 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9443 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9444 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9445 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9446
de90e03d
TT
94472014-02-19 Tom Tromey <tromey@redhat.com>
9448
9449 * windows-nat.c (windows_close): Add 'self' argument.
9450 * tracepoint.c (tfile_close): Add 'self' argument.
9451 * target.h (struct target_ops) <to_close>: Add argument.
9452 * target.c (target_close): Add argument.
9453 (update_current_target): Update.
9454 * remote.c (remote_close): Add 'self' argument.
9455 * remote-sim.c (gdbsim_close): Add 'self' argument.
9456 * remote-mips.c (mips_close): Add 'self' argument.
9457 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9458 * record-full.c (record_full_close): Add 'self' argument.
9459 * record-btrace.c (record_btrace_close): Add 'self' argument.
9460 * monitor.h (monitor_close): Add 'self' argument.
9461 * monitor.c (monitor_close): Add 'self' argument.
9462 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9463 * linux-nat.c (linux_nat_close): Add argument.
9464 * go32-nat.c (go32_close): Add 'self' argument.
9465 * exec.c (exec_close_1): Add 'self' argument.
9466 * ctf.c (ctf_close): Add 'self' argument.
9467 * corelow.c (core_close): Add 'self' argument.
9468 (core_close_cleanup): Update.
9469 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9470 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9471
9dd130a0
TT
94722014-02-19 Tom Tromey <tromey@redhat.com>
9473
9474 * remote.c (remote_load): New function.
9475 (init_remote_ops): Use it.
9476
46917d26
TT
94772014-02-19 Tom Tromey <tromey@redhat.com>
9478
9479 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9480 argument.
9481 * common/linux-btrace.h (linux_supports_btrace): Update.
9482 * remote.c (remote_supports_btrace): Add "self" argument.
9483 * target-delegates.c: Rebuild.
9484 * target.c (target_supports_btrace): Remove.
9485 * target.h (struct target_ops) <to_supports_btrace>: Add
9486 target_ops argument.
9487 (target_supports_btrace): New define.
9488
6b84065d
TT
94892014-02-19 Tom Tromey <tromey@redhat.com>
9490
9491 * record-full.c (record_full_beneath_to_resume_ops)
9492 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9493 (record_full_beneath_to_wait)
9494 (record_full_beneath_to_store_registers_ops)
9495 (record_full_beneath_to_store_registers)
9496 (record_full_beneath_to_xfer_partial_ops)
9497 (record_full_beneath_to_xfer_partial)
9498 (record_full_beneath_to_insert_breakpoint_ops)
9499 (record_full_beneath_to_insert_breakpoint)
9500 (record_full_beneath_to_remove_breakpoint_ops)
9501 (record_full_beneath_to_remove_breakpoint)
9502 (record_full_beneath_to_stopped_by_watchpoint)
9503 (record_full_beneath_to_stopped_data_address)
9504 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9505 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9506 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9507 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9508 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9509 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9510 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9511 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9512 (record_full_resume, record_full_wait_1)
9513 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9514 (record_full_store_registers, record_full_xfer_partial)
9515 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9516 (record_full_async, record_full_core_xfer_partial): Use target
9517 delegation.
9518 * target-delegates.c: Rebuild.
9519 * target.c (current_xfer_partial): Remove.
9520 (update_current_target): Do not INHERIT or de_fault
9521 to_insert_breakpoint, to_remove_breakpoint,
9522 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9523 to_is_async_p, to_async. Do not set to_xfer_partial field.
9524 (default_xfer_partial): Simplify.
9525 (current_xfer_partial): Remove.
9526 (target_wait, target_resume): Simplify.
9527 (find_default_can_async_p, find_default_is_async_p): Update.
9528 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9529 to_xfer_partial, to_stopped_by_watchpoint,
9530 to_stopped_data_address.
9531 (target_store_registers): Simplify.
9532 (forward_target_remove_breakpoint)
9533 (forward_target_insert_breakpoint): Remove.
9534 (target_remove_breakpoint, target_insert_breakpoint)
9535 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9536 * target.h (struct target_ops) <to_resume, to_wait,
9537 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9538 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9539 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9540 markup.
9541 (forward_target_remove_breakpoint)
9542 (forward_target_insert_breakpoint): Remove.
9543 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9544 directly.
9545 (record_btrace_insert_breakpoint): Delegate directly.
9546
1101cb7b
TT
95472014-02-19 Tom Tromey <tromey@redhat.com>
9548
9549 PR build/7701:
9550 * target-delegates.c: New file.
9551 * target.c: Include target-delegates.c.
9552 (init_dummy_target): Call install_dummy_methods.
9553 (complete_target_initialization): Call install_delegators.
9554 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9555 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9556 * make-target-delegates: New file.
9557
8b06beed
TT
95582014-02-19 Tom Tromey <tromey@redhat.com>
9559
9560 * record.c (find_record_target): Use find_target_at.
9561 * target.c (find_target_at): New function.
9562 * target.h (find_target_at): Declare.
9563
6a109b6b
TT
95642014-02-19 Tom Tromey <tromey@redhat.com>
9565
9566 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9567 Add 'ops' argument.
9568 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9569 'ops' argument.
9570 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9571 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9572 'ops' argument.
9573 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9574 argument.
9575 * linux-nat.c (save_sigtrap): Update.
9576 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9577 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9578 (linux_nat_close): Update.
9579 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9580 argument.
9581 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9582 argument.
9583 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9584 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9585 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9586 (tmp_to_async): Add 'ops' argument.
9587 (record_full_stopped_by_watchpoint, record_full_async)
9588 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9589 argument.
9590 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9591 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9592 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9593 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9594 (remote_is_async_p, remote_async): Add 'ops' argument.
9595 (remote_stopped_data_address): Update.
9596 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9597 * target.c (update_current_target)
9598 (find_default_can_async_p, find_default_is_async_p): Update.
9599 (init_dummy_target): Update.
9600 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9601 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9602 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9603 (target_can_async_p, target_is_async_p, target_async)
9604 (target_stopped_by_watchpoint): Update.
9605
e095146b
YQ
96062014-02-19 Yao Qi <yao@codesourcery.com>
9607
9608 PR gdb/16220
9609 * gdbarch.sh: Remove startup_gdbarch.
9610 * gdbarch.c: Regenerated.
9611 * gdbarch.h: Likewise.
9612
bc3c6b36
KB
96132014-02-17 Kevin Buettner <kevinb@redhat.com>
9614
9615 * rl78-tdep.c (rl78_g10_register_name): New function.
9616 (rl78_return_value): Add g10 support.
9617 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9618 g10.
9619
98dc0167 96202014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
9621
9622 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9623 (SUBDIR_GUILE_SRCS): Ditto.
9624 (scm-gsmob.o): Ditto.
9625
842c05cd
YQ
96262014-02-17 Yao Qi <yao@codesourcery.com>
9627
9628 * gnu-nat.c (ILL_RPC): Declare defined function.
9629
25c0bd04
YQ
96302014-02-17 Yao Qi <yao@codesourcery.com>
9631
9632 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9633 mach_msg_type_number_t.
9634 (gnu_write_inferior): Likewise.
9635
a9a758e3
YQ
96362014-02-17 Yao Qi <yao@codesourcery.com>
9637
9638 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9639 in format string.
9640 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9641 (inf_validate_procs, inf_signal): Likewise.
9642 (S_exception_raise_request): Likewise.
9643 (do_mach_notify_dead_name): Likewise.
9644 (steal_exc_port): Likewise.
9645 (gnu_read_inferior): Change 'copy_count''s type to
9646 mach_msg_type_number_t.
9647 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9648 format string.
9649
bae8023e
TS
96502014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9651
c82f56d9
TS
9652 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9653 flag. Adjust all users; in particular...
9654 (gnu_wait): ..., don't decrement its value in here...
9655 (gnu_create_inferior): ..., and instead set the flag in here,
9656 around the startup_inferior call, and call that one with
9657 START_INFERIOR_TRAPS_EXPECTED.
9658
3398af6a
TS
9659 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9660 (ILL_RPC): ... new macro.
9661 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9662 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9663 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9664 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9665 functions with ILL_RPC macro.
9666 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9667 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9668 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9669 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9670 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9671 (S_proc_getlogin_reply, S_proc_getsid_reply)
9672 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9673 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9674 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9675 (S_proc_getnports_reply, S_proc_is_important_reply)
9676 (S_proc_get_code_reply): New stub functions, generated with
9677 ILL_RPC macro.
9678
d47642c9
TS
9679 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9680 collected the type check structures.
9681
bae8023e
TS
9682 * reply_mig_hack.awk: Don't expect to see the auto keyword.
9683
8a55ffb0
DE
96842014-02-14 Doug Evans <dje@google.com>
9685
9686 * target.c (target_write_partial): Fix result type.
9687
c2853f3d
JM
96882014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
9689
9690 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
9691 the proper offsets to access fpregset_t.
9692
ac61d2db
SA
96932014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
9694
9695 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
9696 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
9697 * h8300-tdep.c (setmachinelist): Remove global.
9698 * hppa-tdep.c (hppa_sigtramp): Remove global.
9699 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
9700 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
9701 * ravenscar-thread.c (update_target_observer): Remove global.
9702 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
9703
9d2d0b8b
TT
97042014-02-12 Tom Tromey <tromey@redhat.com>
9705
9706 * common/rsp-low.c: Update comments.
9707 * common/rsp-low.h: Update comments.
9708
a7191e8b
TT
97092014-02-12 Tom Tromey <tromey@redhat.com>
9710
9711 * common/rsp-low.c (convert_ascii_to_int): Remove.
9712 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
9713
ff0e980e
TT
97142014-02-12 Tom Tromey <tromey@redhat.com>
9715
9716 * common/rsp-low.h (unhexify): Don't declare.
9717 * common/rsp-low.c (unhexify): Remove.
9718
e9371aff
TT
97192014-02-12 Tom Tromey <tromey@redhat.com>
9720
9721 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
9722 * common/rsp-low.c (convert_int_to_ascii): Remove.
9723
971dc0b8
TT
97242014-02-12 Tom Tromey <tromey@redhat.com>
9725
9726 * common/rsp-low.h (hexify): Don't declare.
9727 * common/rsp-low.c (hexify): Remove.
9728
0a822afb
TT
97292014-02-12 Tom Tromey <tromey@redhat.com>
9730
9731 * common/rsp-low.c (hexify): Never take strlen of argument.
9732
9f1b45b0
TT
97332014-02-12 Tom Tromey <tromey@redhat.com>
9734
9735 * common/rsp-low.c (bin2hex): Never take strlen of argument.
9736 * remote.c (extended_remote_run, remote_rcmd)
9737 (remote_download_trace_state_variable, remote_save_trace_data)
9738 (remote_set_trace_notes): Update.
9739 * tracepoint.c (encode_source_string, tfile_write_status)
9740 (tfile_write_uploaded_tsv): Update.
9741
9c3d6531
TT
97422014-02-12 Tom Tromey <tromey@redhat.com>
9743
9744 * tracepoint.c: Include rsp-low.h.
9745 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
9746 * remote.c: Include rsp-low.h.
9747 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
9748 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
9749 (remote_unescape_input): Move to common/rsp-low.c.
9750 * common/rsp-low.h: New file.
9751 * common/rsp-low.c: New file.
9752 * Makefile.in (SFILES): Add common/rsp-low.c.
9753 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
9754 (COMMON_OBS): Add rsp-low.o.
9755 (rsp-low.o): New target.
9756
01fd3ea5
TT
97572014-02-12 Tom Tromey <tromey@redhat.com>
9758
9759 * utils.h: Include print-utils.h.
9760 (host_address_to_string, plongest, pulongest, phex, phex_nz)
9761 (int_string, core_addr_to_string, core_addr_to_string_nz)
9762 (hex_string, hex_string_custom): Don't declare.
9763 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
9764 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
9765 (hex_string_custom, int_string, core_addr_to_string)
9766 (core_addr_to_string_nz, host_address_to_string): Move to
9767 common/print-utils.c.
9768 * common/print-utils.h: New file.
9769 * common/print-utils.c: New file
9770 * Makefile.in (SFILES): Add common/print-utils.c.
9771 (HFILES_NO_SRCDIR): Add common/print-utils.h.
9772 (COMMON_OBS): Add print-utils.o.
9773 (print-utils.o): New target.
9774
9fb50108
TT
97752014-02-12 Tom Tromey <tromey@redhat.com>
9776
9777 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
9778
0548b5db
MK
97792014-02-12 Mark Kettenis <kettenis@gnu.org>
9780
9781 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
9782
493443a4
MK
97832014-02-12 Mark Kettenis <kettenis@gnu.org>
9784
9785 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
9786 if a PT_IO ptrace request returns sucessfully but indicates that 0
9787 bytes were transferred.
9788
706d0883
PA
97892014-02-12 Pedro Alves <palves@redhat.com>
9790 Kevin Buettner <kevinb@redhat.com>
9791
9792 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
9793 TYPE_INSTANCE_FLAG_CODE_SPACE.
9794
5caa2f0b
PA
97952014-02-12 Pedro Alves <palves@redhat.com>
9796
9797 * h8300-tdep.c (pseudo_from_raw_register)
9798 (raw_from_pseudo_register): New functions.
9799 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
9800 them.
9801
76fd5f74
PA
98022014-02-12 Pedro Alves <palves@redhat.com>
9803
9804 * h8300-tdep.c (h8300_register_sim_regno): New function.
9805 (h8300_gdbarch_init): Install h8300_register_sim_regno as
9806 gdbarch_register_sim_regno hook.
9807
8f008406
SA
98082014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9809
9810 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
9811
195abc10
SA
98122014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
9813
9814 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
9815
93ffa5b9
MK
98162014-02-12 Mark Kettenis <kettenis@gnu.org>
9817
9818 * obsd-tdep.h (obsd_init_abi): New prototype.
9819 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
9820 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
9821 (obsd_init_abi): New functions.
9822 * i386obsd-tdep.c: Include "obsd-tdep.h".
9823 (i386obsd_init_abi): Call obsd_init_abi.
9824 * amd64obsd-tdep.c: Include "obsd-tdep.h".
9825 (amd64obsd_init_abi): Call obsd_init_abi.
9826 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
9827 obsd-tdep.c to gdb_target_obs.
9828
49caec94
JM
98292014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
9830
9831 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
9832 double float arguments to 16-byte in the argument slots.
9833
e1402065
DE
98342014-02-11 Doug Evans <xdje42@gmail.com>
9835
9836 * configure.ac: Don't crash if pkg-config is not found and guile
9837 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
9838 in guile checks.
9839 * configure: Regenerate.
9840
edcc890f
YQ
98412014-02-11 Yao Qi <yao@codesourcery.com>
9842
9843 * aix-thread.c (aix_thread_xfer_partial): Update comments.
9844 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
9845 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
9846 * gnu-nat.c (gnu_xfer_memory): Likewise.
9847 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
9848 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9849 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9850 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
9851
9b409511
YQ
98522014-02-11 Yao Qi <yao@codesourcery.com>
9853
9854 * target.h (enum target_xfer_error): Rename to ...
9855 (enum target_xfer_status): ... it. New. All users updated.
9856 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
9857 New.
9858 (TARGET_XFER_STATUS_ERROR_P): New macro.
9859 (target_xfer_error_to_string): Remove declaration.
9860 (target_xfer_status_to_string): Declare.
9861 (target_xfer_partial_ftype): Adjust it.
9862 (struct target_ops) <to_xfer_partial>: Return
9863 target_xfer_status. Add argument xfered_len. Update
9864 comments.
9865 * target.c (target_xfer_error_to_string): Rename to ...
9866 (target_xfer_status_to_string): ... it. New. All callers
9867 updated.
9868 (target_read_live_memory): Likewise. Call target_xfer_partial
9869 instead of target_read.
9870 (memory_xfer_live_readonly_partial): Return
9871 target_xfer_status. Add argument xfered_len.
9872 (raw_memory_xfer_partial): Likewise.
9873 (memory_xfer_partial_1): Likewise.
9874 (memory_xfer_partial): Likewise.
9875 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
9876 properly. Update debug message.
9877 (default_xfer_partial, current_xfer_partial): Likewise.
9878 (target_write_partial): Likewise.
9879 (target_read_partial): Likewise. All callers updated.
9880 (read_whatever_is_readable): Likewise.
9881 (target_write_with_progress): Likewise.
9882 (target_read_alloc_1): Likewise.
9883
9884 * aix-thread.c (aix_thread_xfer_partial): Likewise.
9885 * auxv.c (procfs_xfer_auxv): Likewise.
9886 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
9887 * bfd-target.c (target_bfd_xfer_partial): Likewise.
9888 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
9889 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
9890 * corefile.c (read_memory): Adjust.
9891 * corelow.c (core_xfer_partial): Likewise.
9892 * ctf.c (ctf_xfer_partial): Likewise.
9893 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
9894 updated.
9895 (darwin_xfer_partial): Likewise.
9896 * exec.c (section_table_xfer_memory_partial): Likewise. All
9897 callers updated.
9898 (exec_xfer_partial): Likewise.
9899 * exec.h (section_table_xfer_memory_partial): Update
9900 declaration.
9901 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
9902 negative.
9903 (gnu_xfer_partial): Likewise.
9904 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
9905 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
9906 (ia64_hpux_xfer_solib_got): Likewise.
9907 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
9908 type of 'partial_len' to ULONGEST.
9909 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
9910 * linux-nat.c (linux_xfer_siginfo ): Likewise.
9911 (linux_nat_xfer_partial): Likewise.
9912 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
9913 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
9914 * monitor.c (monitor_xfer_memory): Likewise.
9915 (monitor_xfer_partial): Likewise.
9916 * procfs.c (procfs_xfer_partial): Likewise.
9917 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9918 * record-full.c (record_full_xfer_partial): Likewise.
9919 (record_full_core_xfer_partial): Likewise.
9920 * remote-sim.c (gdbsim_xfer_memory): Likewise.
9921 (gdbsim_xfer_partial): Likewise.
9922 * remote.c (remote_write_bytes_aux): Likewise. All callers
9923 updated.
9924 (remote_write_bytes, remote_read_bytes): Likewise. All
9925 callers updated.
9926 (remote_flash_erase): Likewise. All callers updated.
9927 (remote_write_qxfer): Likewise. All callers updated.
9928 (remote_read_qxfer): Likewise. All callers updated.
9929 (remote_xfer_partial): Likewise.
9930 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
9931 (rs6000_xfer_shared_libraries): Likewise.
9932 * sol-thread.c (sol_thread_xfer_partial): Likewise.
9933 (sol_thread_xfer_partial): Likewise.
9934 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
9935 (sparc_xfer_partial): Likewise.
9936 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
9937 updated.
9938 (spu_xfer_partial): Likewise.
9939 * spu-multiarch.c (spu_xfer_partial): Likewise.
9940 * tracepoint.c (tfile_xfer_partial): Likewise.
9941 * windows-nat.c (windows_xfer_memory): Likewise.
9942 (windows_xfer_shared_libraries): Likewise.
9943 (windows_xfer_partial): Likewise.
9944 * valprint.c: Replace 'target_xfer_error' with
9945 'target_xfer_status' in comments.
9946
a8e63083
JB
99472014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
9948
9949 Checked in by Joel Brobecker <brobecker@adacore.com>.
9950 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
9951
e86b67d3
JB
99522014-02-11 Joel Brobecker <brobecker@adacore.com>
9953
9954 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
9955 function parameters.
9956
4b7d1f7f
WN
99572014-02-10 Will Newton <will.newton@linaro.org>
9958
9959 * elfread.c (elf_rel_plt_read): Look for a .got section if
9960 looking up .got.plt fails.
9961 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
9962 on address passed to elf_gnu_ifunc_record_cache.
9963 (elf_gnu_ifunc_resolve_addr): Likewise.
9964 (elf_gnu_ifunc_resolver_return_stop): Likewise.
9965
961842b2
JM
99662014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
9967
9968 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
9969 (X_RETTURN): New macro.
9970 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
9971
9972 * sparc64-tdep.c (sparc64_init_abi): Hook
9973 sparc_in_function_epilogue_p.
9974
3f03e7b1
GB
99752014-02-10 Gary Benson <gbenson@redhat.com>
9976
9977 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9978 Rename name_matcher to symbol_matcher.
9979
96f861ef
GB
99802014-02-10 Gary Benson <gbenson@redhat.com>
9981
9982 * symfile-debug.c (debug_qf_expand_symtabs_matching):
9983 Use expand_symtabs_file_matcher_ftype and
9984 expand_symtabs_symbol_matcher_ftype.
9985
ee01b665
JB
99862014-02-10 Joel Brobecker <brobecker@adacore.com>
9987
9988 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
9989 (struct ada_symbol_cache): New.
9990 (ada_free_symbol_cache): Forward declare.
9991 (struct ada_pspace_data): New.
9992 (ada_pspace_data_handle): New static global.
9993 (get_ada_pspace_data, ada_pspace_data_cleanup)
9994 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
9995 (cache_space, cache): Delete, now folded inside struct
9996 ada_pspace_data.
9997 (ada_get_symbol_cache): New function.
9998 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
9999 implementation.
10000 (_initialize_ada_language): Remove initialization of cache_space.
10001 Move call to observer_attach_inferior_exit up, grouping it
10002 with the other observer registrations inside this function.
10003 Rename command to be more general. Add call to
10004 register_program_space_data_with_cleanup.
10005
143adbbf
JB
100062014-02-10 Joel Brobecker <brobecker@adacore.com>
10007
10008 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10009 ada_new_objfile_observer.
10010 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10011 (_initialize_tasks): Update uses of ada_new_objfile_observer
10012 and ada_tasks_normal_stop_observer.
10013
aa4fb036
JB
100142014-02-10 Joel Brobecker <brobecker@adacore.com>
10015
10016 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10017 returned by the 'Length attribute to integer.
10018
9dee8cc6
JB
100192014-02-10 Joel Brobecker <brobecker@adacore.com>
10020
10021 * ada-lang.c (_initialize_ada_language): Initialize
10022 cache_space obstack.
10023
3d9434b5
JB
100242014-02-10 Joel Brobecker <brobecker@adacore.com>
10025
10026 * ada-lang.c (HASH_SIZE): New macro.
10027 (struct cache_entry): New type.
10028 (cache_space, cache): New static globals.
10029 (ada_clear_symbol_cache, find_entry): New functions.
10030 (lookup_cached_symbol, cache_symbol): Implement.
10031 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10032 (_initialize_ada_language): Attach ada_new_objfile_observer
10033 and ada_free_objfile_observer.
10034
f0c5f9b2
JB
100352014-02-10 Joel Brobecker <brobecker@adacore.com>
10036
10037 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10038 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10039 struct block * parameter.
10040 (ada_lookup_symbol_list_worker): Constify local variable "block".
10041 Remove cast which is no longer necessary.
10042
ed3ef339
DE
100432014-02-10 Doug Evans <xdje42@gmail.com>
10044
10045 Add Guile as an extension language.
10046 * NEWS: Mention Guile scripting.
10047 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10048 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10049 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10050 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10051 (CLIBS): Add GUILE_LIBS.
10052 (install-guile): New rule.
10053 (guile.o): New rule.
10054 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10055 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10056 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10057 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10058 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10059 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10060 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10061 * configure.ac: New option --with-guile.
10062 * configure: Regenerate.
10063 * config.in: Regenerate.
10064 * auto-load.c: Remove #include "python/python.h". Add #include
10065 "gdb/section-scripts.h".
10066 (source_section_scripts): Handle Guile scripts.
10067 (_initialize_auto_load): Add name of Guile objfile script to
10068 scripts-directory help text.
10069 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10070 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10071 (struct breakpoint): New member scm_bp_object.
10072 * defs.h (enum command_control_type): New value guile_control.
10073 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10074 "extension.h".
10075 (show_user): Update comment.
10076 (_initialize_cli_cmds): Update help text for "show user". Update help
10077 text for max-user-call-depth.
10078 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10079 "extension.h".
10080 (multi_line_command_p): Add guile_control.
10081 (print_command_lines): Handle guile_control.
10082 (execute_control_command, recurse_read_control_structure): Ditto.
10083 (process_next_line): Recognize "guile" commands.
10084 * disasm.c (gdb_disassemble_info): Make non-static.
10085 * disasm.h: #include "dis-asm.h".
10086 (struct gdbarch): Add forward decl.
10087 (gdb_disassemble_info): Declare.
10088 * extension.c: #include "guile/guile.h".
10089 (extension_languages): Add guile.
10090 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10091 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10092 * gdbtypes.c (get_unsigned_type_max): New function.
10093 (get_signed_type_minmax): New function.
10094 * gdbtypes.h (get_unsigned_type_max): Declare.
10095 (get_signed_type_minmax): Declare.
10096 * guile/README: New file.
10097 * guile/guile-internal.h: New file.
10098 * guile/guile.c: New file.
10099 * guile/guile.h: New file.
10100 * guile/scm-arch.c: New file.
10101 * guile/scm-auto-load.c: New file.
10102 * guile/scm-block.c: New file.
10103 * guile/scm-breakpoint.c: New file.
10104 * guile/scm-disasm.c: New file.
10105 * guile/scm-exception.c: New file.
10106 * guile/scm-frame.c: New file.
10107 * guile/scm-gsmob.c: New file.
10108 * guile/scm-iterator.c: New file.
10109 * guile/scm-lazy-string.c: New file.
10110 * guile/scm-math.c: New file.
10111 * guile/scm-objfile.c: New file.
10112 * guile/scm-ports.c: New file.
10113 * guile/scm-pretty-print.c: New file.
10114 * guile/scm-safe-call.c: New file.
10115 * guile/scm-string.c: New file.
10116 * guile/scm-symbol.c: New file.
10117 * guile/scm-symtab.c: New file.
10118 * guile/scm-type.c: New file.
10119 * guile/scm-utils.c: New file.
10120 * guile/scm-value.c: New file.
10121 * guile/lib/gdb.scm: New file.
10122 * guile/lib/gdb/boot.scm: New file.
10123 * guile/lib/gdb/experimental.scm: New file.
10124 * guile/lib/gdb/init.scm: New file.
10125 * guile/lib/gdb/iterator.scm: New file.
10126 * guile/lib/gdb/printing.scm: New file.
10127 * guile/lib/gdb/types.scm: New file.
10128 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10129 (VPATH): Add $(GUILE_SRCDIR).
10130 (GUILE_DIR): New variable.
10131 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10132 (all): Add stamp-guile dependency.
10133 (stamp-guile): New rule.
10134 (clean-guile, install-guile, uninstall-guile): New rules.
10135 (install-only): Add install-guile dependency.
10136 (uninstall): Add uninstall-guile dependency.
10137 (clean): Add clean-guile dependency.
10138
ac020ec5
DE
101392014-02-09 Doug Evans <xdje42@gmail.com>
10140
10141 Revert this patch (which I approved, mea culpa).
10142
10143 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10144
10145 * Makefile.in (all-lib): Remove.
10146 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10147
2a081c59
JK
101482014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10149
10150 Fix Python stack corruption.
10151 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10152 gdb_py_longest.
10153
0a6bd22d
MK
101542014-02-08 Mark Kettenis <kettenis@gnu.org>
10155
10156 * Makefile.in (all-lib): Remove.
10157 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10158
1a860409
DE
101592014-02-07 Doug Evans <dje@google.com>
10160
10161 * extension-priv.h (extension_language_script_ops): Add comment.
10162 (extension_language_ops): Add comment.
caf5a491 10163 (active_ext_lang_state): Fix typo in comment.
1a860409 10164
d137e6dc
PA
101652014-02-07 Pedro Alves <palves@redhat.com>
10166
0dcb32c3 10167 PR breakpoints/16292
d137e6dc
PA
10168 * infrun.c (handle_signal_stop) <signal arrives while stepping
10169 over a breakpoint>: Switch back to the stepping thread.
10170
ce6d0892
YQ
101712014-02-07 Yao Qi <yao@codesourcery.com>
10172
10173 * target.c (target_xfer_partial): Return zero if LEN is zero.
10174
2ed4b548
YQ
101752014-02-07 Yao Qi <yao@codesourcery.com>
10176
10177 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10178 (ld_so_xfer_auxv): Likewise.
10179 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10180 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10181 * corelow.c (core_xfer_partial): Likewise.
10182 * ctf.c (ctf_xfer_partial): Likewise.
10183 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10184 (darwin_xfer_partial): Likewise.
10185 * exec.c (exec_xfer_partial): Likewise.
10186 * gnu-nat.c (gnu_xfer_partial): Likewise.
10187 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10188 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10189 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10190 * linux-nat.c (linux_xfer_siginfo): Likewise.
10191 (linux_proc_xfer_spu): Likewise.
10192 * procfs.c (procfs_xfer_partial): Likewise.
10193 * record-full.c (record_full_xfer_partial): Likewise.
10194 (record_full_core_xfer_partial): Likewise.
10195 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10196 * remote.c (remote_write_qxfer): Likewise.
10197 (remote_write_qxfer, remote_read_qxfer): Likewise.
10198 (remote_xfer_partial): Likewise.
10199 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10200 (rs6000_xfer_shared_libraries): Likewise.
10201 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10202 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10203 (spu_xfer_partial): Likewise.
10204 * target.c (memory_xfer_partial_1): Likewise.
10205 * tracepoint.c (tfile_xfer_partial): Likewise.
10206 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10207 (windows_xfer_partial): Likewise.
10208
c09f20e4
YQ
102092014-02-07 Yao Qi <yao@codesourcery.com>
10210
10211 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10212 comments.
10213 (core_xfer_shared_libraries_aix): Likewise.
10214 * gdbarch.c, gdbarch.h: Regenerated.
10215 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10216 ULONGEST. Change 'len_avail' type to ULONGEST.
10217 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10218 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10219 declaration.
10220 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10221
8635b3bf
YQ
102222014-02-07 Yao Qi <yao@codesourcery.com>
10223
10224 * corefile.c (memory_error): Get 'exception' from ERR and pass
10225 'exception' to throw_error.
10226
6dddc817
DE
102272014-02-06 Doug Evans <xdje42@gmail.com>
10228
10229 * configure.ac (libpython checking): Remove all but python.o from
10230 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10231 * configure: Regenerate.
10232
10233 * Makefile.in (SFILES): Add extension.c.
10234 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10235 (COMMON_OBS): Add extension.o.
10236 * extension.h: New file.
10237 * extension-priv.h: New file.
10238 * extension.c: New file.
10239
10240 * python/python-internal.h: #include "extension.h".
10241 (gdbpy_auto_load_enabled): Declare.
10242 (gdbpy_apply_val_pretty_printer): Declare.
10243 (gdbpy_apply_frame_filter): Declare.
10244 (gdbpy_preserve_values): Declare.
10245 (gdbpy_breakpoint_cond_says_stop): Declare.
10246 (gdbpy_breakpoint_has_cond): Declare.
10247 (void source_python_script_for_objfile): Delete.
10248 * python/python.c: #include "extension-priv.h".
10249 Delete inclusion of "observer.h".
10250 (extension_language_python): Moved here and renamed from
10251 script_language_python in py-auto-load.c.
10252 Redefined to be of type extension_language_defn.
10253 (python_extension_script_ops): New global.
10254 (python_extension_ops): New global.
10255 (struct python_env): New member previous_active.
10256 (restore_python_env): Call restore_active_ext_lang.
10257 (ensure_python_env): Call set_active_ext_lang.
10258 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10259 New arg extlang.
10260 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10261 New arg extlang.
10262 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10263 New arg extlang.
10264 (gdbpy_eval_from_control_command): Renamed from
10265 eval_python_from_control_command, made static. New arg extlang.
10266 (gdbpy_source_script) Renamed from source_python_script, made static.
10267 New arg extlang.
10268 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10269 result to int. New arg extlang.
10270 (gdbpy_source_objfile_script): Renamed from
10271 source_python_script_for_objfile, made static. New arg extlang.
10272 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10273 static. New args extlang, extlang_printers. Change result type to
10274 "void".
10275 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10276 static. New arg extlang. Rename arg printers to extlang_printers
10277 and change type to ext_lang_type_printers *.
10278 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10279 static. Replace argument arg with extlang, extlang_printers.
10280 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10281 (!HAVE_PYTHON, source_python_script): Delete.
10282 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10283 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10284 (!HAVE_PYTHON, start_type_printers): Delete.
10285 (!HAVE_PYTHON, apply_type_printers): Delete.
10286 (!HAVE_PYTHON, free_type_printers): Delete.
10287 (_initialize_python): Delete call to observer_attach_before_prompt.
10288 (finalize_python): Set/restore active extension language.
10289 (gdbpy_finish_initialization) Renamed from
10290 finish_python_initialization, made static. New arg extlang.
10291 (gdbpy_initialized): New function.
10292 * python/python.h: #include "extension.h". Delete #include
10293 "value.h", "mi/mi-cmds.h".
10294 (extension_language_python): Declare.
10295 (GDBPY_AUTO_FILE_NAME): Delete.
10296 (enum py_bt_status): Moved to extension.h and renamed to
10297 ext_lang_bt_status.
10298 (enum frame_filter_flags): Moved to extension.h.
10299 (enum py_frame_args): Moved to extension.h and renamed to
10300 ext_lang_frame_args.
10301 (finish_python_initialization): Delete.
10302 (eval_python_from_control_command): Delete.
10303 (source_python_script): Delete.
10304 (apply_val_pretty_printer): Delete.
10305 (apply_frame_filter): Delete.
10306 (preserve_python_values): Delete.
10307 (gdbpy_script_language_defn): Delete.
10308 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10309 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10310
10311 * auto-load.c: #include "extension.h".
10312 (GDB_AUTO_FILE_NAME): Delete.
10313 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10314 (script_language_gdb): Delete, moved to extension.c and renamed to
10315 extension_language_gdb.
10316 (source_gdb_script_for_objfile): Delete.
10317 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10318 (loaded_script): Change type of language member to
10319 struct extension_language_defn *.
10320 (init_loaded_scripts_info): Initialize
10321 unsupported_script_warning_printed.
10322 (maybe_add_script): Make static. Change type of language arg to
10323 struct extension_language_defn *.
10324 (clear_section_scripts): Reset unsupported_script_warning_printed.
10325 (auto_load_objfile_script_1): Rewrite to use extension language API.
10326 (auto_load_objfile_script): Make public. Remove support-compiled-in
10327 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10328 (source_section_scripts): Rewrite to use extension language API.
10329 (load_auto_scripts_for_objfile): Rewrite to use
10330 auto_load_scripts_for_objfile.
10331 (collect_matching_scripts_data): Change type of language member to
10332 struct extension_language_defn *.
10333 (auto_load_info_scripts): Change type of language arg to
10334 struct extension_language_defn *.
10335 (unsupported_script_warning_print): New function.
10336 (script_not_found_warning_print): Make static.
10337 (_initialize_auto_load): Rewrite construction of scripts-directory
10338 help.
10339 * auto-load.h (struct objfile): Add forward decl.
10340 (struct script_language): Delete.
10341 (struct auto_load_pspace_info): Add forward decl.
10342 (struct extension_language_defn): Add forward decl.
10343 (maybe_add_script): Delete.
10344 (auto_load_objfile_script): Declare.
10345 (script_not_found_warning_print): Delete.
10346 (auto_load_info_scripts): Update prototype.
10347 (auto_load_gdb_scripts_enabled): Declare.
10348 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10349 auto_load_python_scripts_enabled and made public.
10350 (script_language_python): Delete, moved to python.c.
10351 (gdbpy_script_language_defn): Delete.
10352 (info_auto_load_python_scripts): Update to use
10353 extension_language_python.
10354
10355 * breakpoint.c (condition_command): Replace call to
10356 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10357 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10358 with call to breakpoint_ext_lang_cond_says_stop.
10359 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10360 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10361 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10362 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10363 New arg slang.
10364 (local_setattro): Print name of extension language with existing
10365 stop condition.
10366
10367 * valprint.c (val_print, value_print): Update to call
10368 apply_ext_lang_val_pretty_printer.
10369 * cp-valprint.c (cp_print_value): Update call to
10370 apply_ext_lang_val_pretty_printer.
10371 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10372 (gdbpy_apply_val_pretty_printer): Renamed from
10373 apply_val_pretty_printer. New arg extlang.
10374 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10375
10376 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10377 extension language API.
10378 * cli/cli-script.c (execute_control_command): Update to call
10379 eval_ext_lang_from_control_command.
10380
10381 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10382 enum ext_lang_bt_status values. Update call to
10383 apply_ext_lang_frame_filter.
10384 (mi_cmd_stack_list_locals): Ditto.
10385 (mi_cmd_stack_list_args): Ditto.
10386 (mi_cmd_stack_list_variables): Ditto.
10387 * mi/mi-main.c: Delete #include "python/python-internal.h".
10388 Add #include "extension.h".
10389 (mi_cmd_list_features): Replace reference to python internal variable
10390 gdb_python_initialized with call to ext_lang_initialized_p.
10391
10392 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10393 Update to use enum ext_lang_frame_args. Update to call
10394 apply_ext_lang_frame_filter.
10395 * python/py-framefilter.c (extract_sym): Update to use enum
10396 ext_lang_bt_status.
10397 (extract_value, py_print_type, py_print_value): Ditto.
10398 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10399 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10400 (py_print_frame): Ditto.
10401 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10402 New arg extlang. Update to use enum ext_lang_bt_status.
10403
10404 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10405 finish_python_initialization. Replace with call to
10406 finish_ext_lang_initialization.
10407
10408 * typeprint.c (do_free_global_table): Update to call
10409 free_ext_lang_type_printers.
10410 (create_global_typedef_table): Update to call
10411 start_ext_lang_type_printers.
10412 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10413 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10414 (type_print_options): Change type of global_printers from "void *"
10415 to "struct ext_lang_type_printers *".
10416
10417 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10418 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10419 (gdbpy_preserve_values): Renamed from preserve_python_values.
10420 New arg extlang.
10421 (!HAVE_PYTHON, preserve_python_values): Delete.
10422
10423 * utils.c (quit_flag): Delete, moved to extension.c.
10424 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10425 extension.c.
10426
10427 * eval.c: Delete #include "python/python.h".
10428 * main.c: Delete #include "python/python.h".
10429
10430 * defs.h: Update comment.
10431
6af79985
JB
104322014-02-06 Joel Brobecker <brobecker@adacore.com>
10433
10434 GDB 7.7 released.
10435
12c5175d
MK
104362014-02-05 Mark Kettenis <kettenis@gnu.org>
10437
10438 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10439 defined.
10440
8dc5b319
YQ
104412014-02-05 Yao Qi <yao@codesourcery.com>
10442
10443 * remote.c (remote_pass_signals): Remove local 'buf' and use
10444 rs->buf.
10445 (remote_program_signals): Likewise.
10446
de7b2893
YQ
104472014-02-05 Yao Qi <yao@codesourcery.com>
10448
10449 * ctf.c: Include "inferior.h" and "gdbthread.h".
10450 (CTF_PID): A new macro.
10451 (ctf_open): Call inferior_appeared and add_thread_silent.
10452 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10453 (ctf_thread_alive): New function.
10454 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10455
66d032ac
YQ
104562014-02-05 Yao Qi <yao@codesourcery.com>
10457
10458 Revert this patch:
10459
10460 2013-05-24 Yao Qi <yao@codesourcery.com>
10461
10462 * tracepoint.c (TFILE_PID): Remove.
10463 (tfile_open): Don't add thread and inferior.
10464 (tfile_close): Don't set 'inferior_ptid'. Don't call
10465 exit_inferior_silent.
10466 (tfile_thread_alive): Remove.
10467 (init_tfile_ops): Don't set field 'to_thread_alive' of
10468 tfile_ops.
10469
f4ccffad
CE
104702014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10471
10472 * remote.c (remote_start_remote): Call remote_check_symbols even
10473 if only symbol-file (not file) has been given.
10474
591a12a1
UW
104752014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10476
10477 * gdbarch.sh (skip_entrypoint): New callback.
10478 * gdbarch.c, gdbarch.h: Regenerate.
10479 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10480 * infrun.c (fill_in_stop_func): Likewise.
10481 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10482 (ppc_elfv2_elf_make_msymbol_special): New function.
10483 (ppc_elfv2_skip_entrypoint): Likewise.
10484 (ppc_linux_init_abi): Install them for ELFv2.
10485
cc0e89c5
UW
104862014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10487
10488 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10489 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10490 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10491 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10492 structures returned in GPRs.
10493
52f548e4
UW
104942014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10495
10496 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10497 offset to the stack parameter list for the ELFv2 ABI.
10498
d4094b6a
UW
104992014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10500
10501 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10502 set_gdbarch_convert_from_func_ptr_addr and
10503 set_gdbarch_elf_make_msymbol_special for ELFv1.
10504 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10505 function descriptors on ELFv1.
10506 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10507 set up r12 at function entry.
10508
cd453cd0
UW
105092014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10510
10511 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10512 (struct gdbarch_tdep): New member elf_abi.
10513
10514 * rs6000-tdep.c: Include "elf/ppc64.h".
10515 (rs6000_gdbarch_init): Detect ELF ABI version.
10516
0ff3e01f
UW
105172014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10518
10519 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10520 within a register pair holding a DFP 128-bit value on little-endian.
10521 (ppc64_sysv_abi_return_value_base): Likewise.
10522 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10523 (dfp_pseudo_register_write): Likewise.
10524
5b757e5d
UW
105252014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10526
10527 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10528 offset on little-endian when passing _Decimal32.
10529 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10530
084ee545
UW
105312014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10532
10533 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10534 of the overlapped FP register within the VSX register on little-
10535 endian platforms.
10536 (efpr_pseudo_register_write): Likewise.
10537
d63167af
UW
105382014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10539
10540 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10541 offset on little-endian when passing small structures.
10542
e765b44c
UW
105432014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10544
10545 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10546 (struct ppc64_sysv_argpos): New data structure.
10547 (ppc64_sysv_abi_push_float): Remove.
10548 (ppc64_sysv_abi_push_val): New function.
10549 (ppc64_sysv_abi_push_integer): Likewise.
10550 (ppc64_sysv_abi_push_freg): Likewise.
10551 (ppc64_sysv_abi_push_vreg): Likewise.
10552 (ppc64_sysv_abi_push_param): Likewise.
10553 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10554 (ppc64_sysv_abi_return_value_base): New function.
10555 (ppc64_sysv_abi_return_value): Refactor to use it.
10556
36c24d95
UW
105572014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10558
10559 * NEWS: Document new target powerpc64le-*-linux*.
10560
26fd9228
MK
105612014-02-04 Mark Kettenis <kettenis@gnu.org>
10562
10563 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10564 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10565 core dumps.
10566 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10567 register set used in ELF core dumps. Add floating-point register set.
10568
c5bb7362
KB
105692014-02-03 Kevin Buettner <kevinb@redhat.com>
10570
74228e77 10571 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10572 dwarf2_to_gdb[] table using symbolic constants. Adjust
10573 penultimate entry from number representing the PC register
10574 to symbolic constant representing the MDR register. Add
10575 constant for the PC register to the end of the table.
10576
af09351e
MK
105772014-02-03 Mark Kettenis <kettenis@gnu.org>
10578
10579 * bsd-kvm.c: Include <sys/param.h>
10580
8507e05d
MK
105812014-02-03 Mark Kettenis <kettenis@gnu.org>
10582
10583 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10584
ae56bfb8
JB
105852014-01-31 Joel Brobecker <brobecker@adacore.com>
10586
10587 * ada-lang.h (clear_ada_sym_cache): Delete.
10588
718ee4dc
UW
105892014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10590
10591 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10592
401e27fd
JM
105932014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10594
10595 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10596 the sigreturn register save area only if the syscall is
10597 sigreturn.
10598
a7c88acd
JB
105992014-01-29 Joel Brobecker <brobecker@adacore.com>
10600
10601 * valops.c (value_slice): Minor reformatting.
10602
fa0079ea
UW
106032014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10604
10605 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10606
c6044dd1
JB
106072014-01-28 Joel Brobecker <brobecker@adacore.com>
10608
10609 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10610 New static globals.
10611 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10612 (ada_ignore_descriptive_types_p): New static global.
10613 (find_parallel_type_by_descriptive_type): Return immediately
10614 if ada_ignore_descriptive_types_p is set.
10615 (_initialize_ada_language): Register new commands "maintenance
10616 set ada", "maintenance show ada", "maintenance set ada
10617 ignore-descriptive-types" and "maintenance show ada
10618 ignore-descriptive-types".
10619 * NEWS: Add entry for new "maint ada set/show
10620 ignore-descriptive-types" commands.
10621
568e808b
MM
106222014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10623
10624 * record-btrace.c (record_btrace_close): Call btrace_teardown
10625 for all threads.
10626
467d141b
JB
106272014-01-27 Joel Brobecker <brobecker@adacore.com>
10628
10629 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10630 "ui-out.h".
10631
fb151210
JB
106322014-01-27 Joel Brobecker <brobecker@adacore.com>
10633
10634 * ada-typeprint (type_is_full_subrange_of_target_type):
10635 New function.
10636 (print_range): Add parameter bounds_prefered_p. If not set,
10637 try printing range types using the name of their base type.
10638 (print_range_type): Add parameter bounds_prefered_p.
10639 Use it in call to print_range.
10640 (print_array_type, ada_print_type): Update calls to print_range
10641 and print_range_type.
10642
aba02109
JB
106432014-01-27 Joel Brobecker <brobecker@adacore.com>
10644
10645 * ada-typeprint.c (print_array_type, print_choices, print_range)
10646 (print_range_bound, print_dynamic_range_bound, print_range_type):
10647 Remove declaration.
10648
e62e21fd
JB
106492014-01-27 Joel Brobecker <brobecker@adacore.com>
10650
10651 * ada-typeprint.c (print_range): Add missing empty line
10652 after local declaration.
10653
859cf5d1
JB
106542014-01-27 Joel Brobecker <brobecker@adacore.com>
10655
10656 * ada-valprint.c (print_optional_low_bound): Get index_type's
10657 target type for as long as it is a TYPE_CODE_RANGE.
10658
25790f6f
JB
106592014-01-27 Joel Brobecker <brobecker@adacore.com>
10660
10661 * procfs.c (procfs_make_note_section): Remove assertion and
10662 associated comment.
10663
6b6aa828
YQ
106642014-01-24 Yao Qi <yao@codesourcery.com>
10665
10666 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10667 * corelow.c (get_core_siginfo): Likewise.
10668
5d6df423
YQ
106692014-01-24 Yao Qi <yao@codesourcery.com>
10670
10671 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10672 ULONGEST. Don't check 'len' is negative.
10673 (remote_write_bytes): Change type of 'len' to ULONGEST.
10674
83b645b8
TT
106752014-01-23 Tom Tromey <tromey@redhat.com>
10676
10677 PR python/16485:
10678 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10679 Handle exception from frame.block.
10680 (FrameVars.fetch_frame_locals): Likewise.
10681
0740f8d8
TT
106822014-01-23 Tom Tromey <tromey@redhat.com>
10683
10684 PR python/16487:
10685 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
10686 on a NULL pointer. Move "goto error" to correct place.
10687
21909fa1
TT
106882014-01-23 Tom Tromey <tromey@redhat.com>
10689
10690 PR python/16491:
10691 * python/py-framefilter.c (apply_frame_filter): Call
10692 ensure_python_env after computing gdbarch.
10693
17fde6d0
YQ
106942014-01-23 Yao Qi <yao@codesourcery.com>
10695
10696 * target.c (raw_memory_xfer_partial): Change argument type
10697 from void * to gdb_byte *.
10698 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
10699
87ce2a04
DE
107002014-01-22 Doug Evans <dje@google.com>
10701
10702 New gdbserver option --debug-format=timestamp.
10703 * NEWS: Mention it.
10704
237b092b
AA
107052014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
10706
10707 * syscalls/s390x-linux.xml: New file.
10708 * syscalls/s390-linux.xml: New file.
10709 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
10710 (XML_SYSCALL_FILENAME_S390X): Likewise.
10711 (op_svc): New enum value for SVC opcode.
10712 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
10713 (s390_linux_get_syscall_number): New function.
10714 (s390_gdbarch_init): Register '*get_syscall_number' and the
10715 syscall xml file name.
10716 * data-directory/Makefile.in (SYSCALLS_FILES): Add
10717 "s390-linux.xml" and "s390x-linux.xml".
10718 * NEWS: Announce new feature.
10719
54bff650
BS
107202014-01-22 Baruch Siach <baruch@tkos.co.il>
10721
10722 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
10723
14e361d7
PA
107242014-01-22 Pedro Alves <palves@redhat.com>
10725
10726 * xtensa-config.c: Include defs.h.
10727
46bbb3ed
JB
107282014-01-22 Joel Brobecker <brobecker@adacore.com>
10729
10730 * common/common-utils.h: Add "ARI:" comment beside __func__
10731 reference.
10732
3a80edfc
JB
107332014-01-22 Joel Brobecker <brobecker@adacore.com>
10734
10735 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
10736 documentation a bit.
10737
4869db5e
RM
107382014-01-21 Roland McGrath <mcgrathr@google.com>
10739
10740 * configure.ac: Call AM_PROG_INSTALL_STRIP.
10741 * configure: Regenerate.
10742 * aclocal.m4: Regenerate.
10743 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
10744 New substituted variables.
10745 (install-strip): New target.
10746 (INSTALL_SCRIPT): New substituted variable.
10747 (FLAGS_TO_PASS): Add it.
10748 (install-only): Use $(INSTALL_SCRIPT) rather than
10749 $(INSTALL_PROGRAM) for gcore.
10750
9ea4267d
TT
107512014-01-20 Tom Tromey <tromey@redhat.com>
10752
10753 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
10754 together.
10755
1f2bdf09
TT
107562014-01-20 Tom Tromey <tromey@redhat.com>
10757
10758 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
10759 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
10760 (deprecated_cmd_warning, complete_on_cmdlist): Update.
10761 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
10762 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
10763 (struct cmd_list_element) <flags>: Remove.
10764 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
10765 doc_allocated>: New fields.
10766 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
10767 bitfields.
10768 * maint.c (maintenance_do_deprecate): Update.
10769 * top.c (execute_command): Update.
10770
e671835b
BS
107712014-01-20 Baruch Siach <baruch@tkos.co.il>
10772
10773 * xtensa-linux-nat.c: Include asm/ptrace.h.
10774
50367cd2
IB
107752014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10776
10777 * Makefile.in (SFILES): Add d-support.c.
10778 (COMMON_OBS): Add d-support.o.
10779 * d-lang.h (d_parse_symbol): Add comment, now defined in
10780 d-support.c.
10781 * d-lang.c (parse_call_convention)
10782 (parse_attributes, parse_function_types)
10783 (parse_function_args, parse_type, parse_identifier)
10784 (call_convention_p, d_parse_symbol): Move functions to ...
10785 * d-support.c: ... New file.
10786
ec9f644a
IB
107872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10788
10789 * d-lang.h (d_parse_symbol): Add declaration.
10790 * d-lang.c (extract_identifiers)
10791 (extract_type_info): Remove functions.
10792 (parse_call_convention, parse_attributes)
10793 (parse_function_types, parse_function_args)
10794 (parse_type, parse_identifier, call_convention_p)
10795 (d_parse_symbol): New functions.
10796 (d_demangle): Use d_parse_symbol to demangle D symbols.
10797
94b1b47e
IB
107982014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10799
10800 * d-lang.h (struct builtin_d_type): New data type.
10801 (builtin_d_type): Add declaration.
10802 * d-lang.c (d_language_arch_info, build_d_types)
10803 (builtin_d_type): New functions.
10804 (enum d_primitive_types): New data type.
10805 (d_language_defn): Change c_language_arch_info to
10806 d_language_arch_info.
10807 (d_type_data): New static variable.
10808 (_initialize_d_language): Initialize d_type_data.
10809
63778547
IB
108102014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10811
10812 * d-lang.h (d_main_name): Add declaration.
10813 * d-lang.c (d_main_name): New function.
10814 * symtab.c (find_main_name): Add call to d_main_name.
10815
3271ba66
IB
108162014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10817
10818 * d-lang.c (d_language_defn): Change macro_expansion_c to
10819 macro_expansion_no.
10820
d36b3012
IB
108212014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
10822
10823 * MAINTAINERS: Add myself as a write-after-approval maintainer.
10824
c90a6fb7
SDJ
108252014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
10826
10827 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
10828 gdb_exception" declaration.
10829 * remote.c (getpkt_or_notif_sane): Likewise.
10830
749234e5
DE
108312014-01-17 Doug Evans <dje@google.com>
10832
10833 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
10834 function, contents of dirnames_to_char_ptr_vec_append moved here.
10835 (delim_string_to_char_ptr_vec): New function.
10836 (dirnames_to_char_ptr_vec_append): Rewrite.
10837 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
10838
df049a58
DE
108392014-01-17 Doug Evans <dje@google.com>
10840
10841 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
10842 and moved here ...
10843 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
10844 #include "common-utils.h".
10845 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
10846 * common/vec.h (VEC_ASSERT_PASS): Update.
10847 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
10848 (MACH_CHECK_ERROR): Update.
10849
69f97648
SM
108502014-01-17 Simon Marchi <simon.marchi@ericsson.com>
10851
10852 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
10853 comments.
10854 * gdbarch.h: Regenerate.
10855
98b1cfdc
TT
108562014-01-16 Tom Tromey <tromey@redhat.com>
10857
10858 * value.c (struct value) <regnum>: Move earlier.
10859
77a19445
TT
108602014-01-16 Tom Tromey <tromey@redhat.com>
10861
10862 * remote.c (extended_remote_create_inferior): Rename from
10863 extended_remote_create_inferior_1. Add "ops" argument. Remove
10864 old implementation.
10865
62261490
PA
108662014-01-16 Pedro Alves <palves@redhat.com>
10867
10868 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
10869 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
10870 the backchain.
10871
4d65956b
DE
108722014-01-16 Doug Evans <dje@google.com>
10873
10874 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
10875
52834460
MM
108762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10877
10878 * btrace.h (btrace_thread_flag): New.
10879 (struct btrace_thread_info) <flags>: New.
10880 * record-btrace.c (record_btrace_resume_thread)
10881 (record_btrace_find_thread_to_move, btrace_step_no_history)
10882 (btrace_step_stopped, record_btrace_start_replaying)
10883 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
10884 (record_btrace_find_resume_thread): New.
10885 (record_btrace_resume, record_btrace_wait): Extend.
10886 (record_btrace_can_execute_reverse): New.
10887 (record_btrace_open): Fail in non-stop mode.
10888 (record_btrace_set_replay): Split into this, ...
10889 (record_btrace_stop_replaying): ... this, ...
10890 (record_btrace_clear_histories): ... and this.
10891 (init_record_btrace_ops): Init to_can_execute_reverse.
10892 * NEWS: Announce it.
10893
118e6252
MM
108942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10895
10896 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
10897 (forward_target_decr_pc_after_break)
10898 (target_decr_pc_after_break): New.
10899 * target.c (forward_target_decr_pc_after_break)
10900 (target_decr_pc_after_break): New.
10901 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
10902 instead of gdbarch_decr_pc_after_break.
10903 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10904 instead of gdbarch_decr_pc_after_break.
10905 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
10906 instead of gdbarch_decr_pc_after_break.
10907 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
10908 instead of gdbarch_decr_pc_after_break.
10909 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
10910 instead of gdbarch_decr_pc_after_break.
10911 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
10912 instead of gdbarch_decr_pc_after_break.
10913
6e07b1d2
MM
109142014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10915
10916 * btrace.c: Include regcache.h.
10917 (btrace_add_pc): New.
10918 (btrace_enable): Call btrace_add_pc.
10919 (btrace_is_empty): New.
10920 * btrace.h (btrace_is_empty): New.
10921 * record-btrace.c (require_btrace, record_btrace_info): Call
10922 btrace_is_empty.
10923
969c39fb
MM
109242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10925
10926 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
10927 Support delta reads.
10928 (linux_disable_btrace): Change return type.
10929 * common/linux-btrace.h (linux_read_btrace): Change parameters
10930 and return type to allow error reporting. Update users.
10931 (linux_disable_btrace): Change return type. Update users.
10932 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
10933 New.
10934 (btrace_error): New.
10935 (btrace_block) <begin>: Comment on BEGIN == 0.
10936 * btrace.c (btrace_compute_ftrace): Start from the end of
10937 the current trace.
10938 (btrace_stitch_trace, btrace_clear_history): New.
10939 (btrace_fetch): Read delta trace, return if replaying.
10940 (btrace_clear): Move clear history code to btrace_clear_history.
10941 (parse_xml_btrace): Throw an error if parsing failed.
10942 * target.h (struct target_ops) <to_read_btrace>: Change parameters
10943 and return type to allow error reporting.
10944 (target_read_btrace): Change parameters and return type to allow
10945 error reporting.
10946 * target.c (target_read_btrace): Update.
10947 * remote.c (remote_read_btrace): Support delta reads. Pass
10948 errors on.
10949 * NEWS: Announce it.
10950
0b722aec
MM
109512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10952
10953 * record.h (record_btrace_frame_unwind)
10954 (record_btrace_tailcall_frame_unwind): New declarations.
10955 * dwarf2-frame: Include record.h
10956 (dwarf2_frame_cfa): Throw an error for btrace frames.
10957 * record-btrace.c: Include hashtab.h.
10958 (btrace_get_bfun_name): New.
10959 (btrace_call_history): Call btrace_get_bfun_name.
10960 (struct btrace_frame_cache): New.
10961 (bfcache): New.
10962 (bfcache_hash, bfcache_eq, bfcache_new): New.
10963 (btrace_get_frame_function): New.
10964 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
10965 (record_btrace_frame_this_id): Compute own id.
10966 (record_btrace_frame_prev_register): Provide PC, throw_error
10967 for all other registers.
10968 (record_btrace_frame_sniffer): Detect btrace frames.
10969 (record_btrace_tailcall_frame_sniffer): New.
10970 (record_btrace_frame_dealloc_cache): New.
10971 (record_btrace_frame_unwind): Add new functions.
10972 (record_btrace_tailcall_frame_unwind): New.
10973 (_initialize_record_btrace): Allocate cache.
10974 * btrace.c (btrace_clear): Call reinit_frame_cache.
10975 * NEWS: Announce it.
10976
066ce621
MM
109772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10978
10979 * record-btrace.c (record_btrace_set_replay)
10980 (record_btrace_goto_begin, record_btrace_goto_end)
10981 (record_btrace_goto): New.
10982 (init_record_btrace_ops): Initialize them.
10983 * NEWS: Announce it.
10984
e2887aa3
MM
109852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10986
10987 * record-btrace.c (record_btrace_find_new_threads)
10988 (record_btrace_thread_alive): New.
10989 (init_record_btrace_ops): Initialize to_find_new_threads and
10990 to_thread_alive.
10991
b2f4cfde
MM
109922014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10993
10994 * record-btrace.c (record_btrace_resume): New.
10995 (record_btrace_wait): New.
10996 (init_record_btrace_ops): Initialize to_wait and to_resume.
10997
633785ff
MM
109982014-01-16 Markus Metzger <markus.t.metzger@intel.com>
10999
11000 * record-btrace.c (record_btrace_xfer_partial)
11001 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11002 (record_btrace_allow_memory_access): New.
11003 (init_record_btrace_ops): Initialize new methods.
11004 * target.c (raw_memory_xfer_partial): Bail out if target reports
11005 that this memory is not available.
11006
3db08215
MM
110072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11008
11009 * target.h (target_ops) <to_insert_breakpoint>
11010 <to_remove_breakpoint>: Add target_ops parameter.
11011 (forward_target_insert_breakpoint): New.
11012 (forward_target_remove_breakpoint): New.
11013 (memory_remove_breakpoint, memory_insert_breakpoint):
11014 Add target_ops parameter.
11015 * target.c (target_insert_breakpoint): Split into this and ...
11016 (forward_target_insert_breakpoint): ... this.
11017 (target_remove_breakpoint): Split into this and ...
11018 (forward_target_remove_breakpoint): ... this.
11019 (debug_to_insert_breakpoint): Add target_ops parameter.
11020 Call forward_target_insert_breakpoint.
11021 (debug_to_remove_breakpoint): Add target_ops parameter.
11022 Call forward_target_remove_breakpoint.
11023 (update_current_target): Do not inherit or default to_insert_breakpoint
11024 and to_remove_breakpoint.
11025 * corelow.c (ignore): Add target_ops parameter.
11026 * exec.c (ignore): Add target_ops parameter.
11027 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11028 Add target_ops parameter.
11029 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11030 Add target_ops parameter.
11031 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11032 Add target_ops parameter.
11033 * record-full.c (record_full_beneath_to_insert_breakpoint)
11034 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11035 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11036 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11037 (record_full_core_remove_breakpoint): Add target_ops parameter.
11038 Update users.
11039 (record_full_beneath_to_insert_breakpoint_ops)
11040 (record_full_beneath_to_remove_breakpoint_ops)
11041 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11042 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11043 tmp_to_remove_breakpoint_ops,
11044 record_full_beneath_to_insert_breakpoint_ops, and
11045 record_full_beneath_to_remove_breakpoint_ops.
11046 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11047 (m32r_remove_breakpoint): Add target_ops parameter.
11048 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11049 Add target_ops parameter.
11050 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11051 Add target_ops parameter.
11052
cecac1ab
MM
110532014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11054 Markus Metzger <markus.t.metzger@intel.com>
11055
11056 * record-btrace.c: Include frame-unwind.h.
11057 (record_btrace_frame_unwind_stop_reason)
11058 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11059 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11060 New.
11061 (init_record_btrace_ops): Install it.
11062
824344ca
MM
110632014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11064
11065 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11066 get_prev_frame_1.
11067
32261e52
MM
110682014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11069
11070 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11071 earlier.
11072
ea001bdc
MM
110732014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11074
11075 * frame-unwind.c: Include target.h.
11076 (frame_unwind_try_unwinder): New function with code from ...
11077 (frame_unwind_find_by_frame): ... here. New variable
11078 unwinder_from_target, call also target_get_unwinder)
11079 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11080 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11081 * target.h (struct target_ops): New fields to_get_unwinder and
11082 to_get_tailcall_unwinder.
11083 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11084
1f3ef581
MM
110852014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11086
11087 * record-btrace.c (record_btrace_fetch_registers)
11088 (record_btrace_store_registers)
11089 (record_btrace_to_prepare_to_store): New.
11090 (init_record_btrace_ops): Add the above.
11091
f32dbf8c
MM
110922014-01-16 Tom Tromey <tromey@redhat.com>
11093
11094 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11095 * target.h (struct target_ops) <to_prepare_to_store>: Add
11096 argument.
11097 (target_prepare_to_store): Add argument.
11098 * target.c (debug_to_prepare_to_store): Add argument.
11099 (update_current_target): Update.
11100 * remote.c (remote_prepare_to_store): Add 'self' argument.
11101 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11102 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11103 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11104 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11105 argument.
11106 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11107 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11108 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11109 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11110 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11111
07bbe694
MM
111122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11113
11114 * btrace.h (replay) <replay>: New.
11115 (btrace_is_replaying): New.
11116 * btrace.c (btrace_clear): Free replay iterator.
11117 (btrace_is_replaying): New.
11118 * record-btrace.c (record_btrace_is_replaying): New.
11119 (record_btrace_info): Print insn number if replaying.
11120 (record_btrace_insn_history): Start at replay position.
11121 (record_btrace_call_history): Start at replay position.
11122 (init_record_btrace_ops): Init to_record_is_replaying.
11123
0688d04e
MM
111242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11125
11126 * record-btrace.c (record_btrace_insn_history_range): Include
11127 end.
11128 (record_btrace_insn_history_from): Adjust range.
11129 (record_btrace_call_history_range): Include
11130 end.
11131 (record_btrace_call_history_from): Adjust range.
11132 * NEWS: Announce changes.
11133
8710b709
MM
111342014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11135
11136 * record.h (enum record_print_flag)
11137 <record_print_indent_calls>: New.
11138 * record.c (get_call_history_modifiers): Recognize /c modifier.
11139 (_initialize_record): Document /c modifier.
11140 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11141 Reorder fields. Optionally indent the function name. Update
11142 all users.
11143 * NEWS: Announce changes.
11144
d0fa7535
MM
111452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11146
11147 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11148
5de9129b
MM
111492014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11150
11151 * btrace.c (ftrace_new_function): Start counting at one.
11152 * record-btrace.c (record_btrace_info): Adjust number of calls
11153 and insns.
11154 * NEWS: Announce it.
11155
7acbe133
MM
111562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11157
11158 * record-btrace.c (btrace_call_history_insn_range): Print
11159 insn range as [begin, end].
11160
23a7fe75
MM
111612014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11162
11163 * btrace.h (struct btrace_func_link): New.
11164 (enum btrace_function_flag): New.
11165 (struct btrace_inst): Rename to ...
11166 (struct btrace_insn): ...this. Update all users.
11167 (struct btrace_func) <ibegin, iend>: Remove.
11168 (struct btrace_func_link): New.
11169 (struct btrace_func): Rename to ...
11170 (struct btrace_function): ...this. Update all users.
11171 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11172 (number, level, flags>: New.
11173 (struct btrace_insn_iterator): Rename to ...
11174 (struct btrace_insn_history): ...this.
11175 Update all users.
11176 (struct btrace_insn_iterator, btrace_call_iterator): New.
11177 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11178 (struct btrace_target_info) <begin, end, level>
11179 <insn_history, call_history>: New.
11180 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11181 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11182 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11183 (btrace_call_number, btrace_call_begin, btrace_call_end)
11184 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11185 (btrace_find_function_by_number, btrace_set_insn_history)
11186 (btrace_set_call_history): New.
11187 * btrace.c (btrace_init_insn_iterator)
11188 (btrace_init_func_iterator, compute_itrace): Remove.
11189 (ftrace_print_function_name, ftrace_print_filename)
11190 (ftrace_skip_file): Change
11191 parameter to const.
11192 (ftrace_init_func): Remove.
11193 (ftrace_debug): Use new btrace_function fields.
11194 (ftrace_function_switched): Also consider gaining and
11195 losing symbol information).
11196 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11197 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11198 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11199 New.
11200 (ftrace_new_function): Move. Remove debug print.
11201 (ftrace_update_lines, ftrace_update_insns): New.
11202 (ftrace_update_function): Check for call, ret, and jump.
11203 (compute_ftrace): Renamed to ...
11204 (btrace_compute_ftrace): ...this. Rewritten to compute call
11205 stack.
11206 (btrace_fetch, btrace_clear): Updated.
11207 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11208 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11209 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11210 (btrace_call_number, btrace_call_begin, btrace_call_end)
11211 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11212 (btrace_find_function_by_number, btrace_set_insn_history)
11213 (btrace_set_call_history): New.
11214 * record-btrace.c (require_btrace): Use new btrace thread
11215 info fields.
11216 (record_btrace_info, btrace_insn_history)
11217 (record_btrace_insn_history, record_btrace_insn_history_range):
11218 Use new btrace thread info fields and new iterator.
11219 (btrace_func_history_src_line): Rename to ...
11220 (btrace_call_history_src_line): ...this. Use new btrace
11221 thread info fields.
11222 (btrace_func_history): Rename to ...
11223 (btrace_call_history): ...this. Use new btrace thread info
11224 fields and new iterator.
11225 (record_btrace_call_history, record_btrace_call_history_range):
11226 Use new btrace thread info fields and new iterator.
11227
8372a7cb
MM
112282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11229
11230 * frame.h (frame_id_build_unavailable_stack_special): New.
11231 * frame.c (frame_id_build_unavailable_stack_special): New.
11232
c2170eef
MM
112332014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11234
11235 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11236 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11237 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11238 to gdbarch.
11239 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11240 (i386_insn_is_jump, i386_jmp_p): New.
11241 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11242 insn_is_jump to gdbarch.
11243 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11244 * gdbarch.h: Regenerated.
11245 * gdbarch.c: Regenerated.
11246 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11247 (default_insn_is_jump): New.
11248 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11249 (default_insn_is_jump): New.
11250
864089d2
MM
112512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11252
11253 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11254 Change to ...
11255 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11256 (btrace_read_type) <btrace_read_new>: Change to ...
11257 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11258
ed9edfb5
MM
112592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11260
11261 * common/linux-btrace.c (linux_read_btrace): Free trace from
11262 previous iteration.
11263
fbcbc3fd
DE
112642014-01-15 Doug Evans <dje@google.com>
11265
11266 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11267 uint32_t.
11268
3d548a53
TT
112692014-01-15 Tom Tromey <tromey@redhat.com>
11270
11271 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11272 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11273 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11274 (set_objfile_main_name): New function.
11275 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11276 language_of_main>: New fields.
11277 (set_objfile_main_name): Declare.
11278 * symtab.c (find_main_name): Loop over objfiles to find the main
11279 name and language.
11280 (set_main_name): Now static.
11281 (get_main_info): Add comment.
11282 * symtab.h (set_main_name): Don't declare.
11283
32ac0d11
TT
112842014-01-15 Tom Tromey <tromey@redhat.com>
11285
11286 * symtab.c (main_progspace_key): New global.
11287 (struct main_info): New.
11288 (name_of_main, language_of_main): Remove.
11289 (get_main_info, main_info_cleanup): New function.
11290 (set_main_name, main_name, main_language): Use get_main_info.
11291 (_initialize_symtab): Initialize main_progspace_key.
11292
9e6c82ad
TT
112932014-01-15 Tom Tromey <tromey@redhat.com>
11294
11295 * dbxread.c (process_one_symbol): Update.
11296 * dwarf2read.c (read_partial_die): Update.
11297 * symfile.c (set_initial_language): Call main_language.
11298 * symtab.c (language_of_main): Now static.
11299 (set_main_name): Add 'lang' parameter.
11300 (find_main_name): Update.
11301 (main_language): New function.
11302 (symtab_observer_executable_changed): Update.
11303 * symtab.h (set_main_name): Update.
11304 (language_of_main): Remove.
11305 (main_language): Declare.
11306
6ef55de7
TT
113072014-01-15 Tom Tromey <tromey@redhat.com>
11308
11309 * symfile.c (init_entry_point_info): Use new "initialized" field.
11310 Update.
11311 * objfiles.h (struct entry_point) <initialized>: New field.
11312 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11313 (struct objfile) <ei>: ...here. Remove.
11314 * objfiles.c (entry_point_address_query): Update.
11315
53eddfa6
TT
113162014-01-15 Tom Tromey <tromey@redhat.com>
11317
11318 * objfiles.c (entry_point_address_query): Relocate entry point
11319 address.
11320 (objfile_relocate1): Do not relocate entry point address.
11321 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11322 <the_bfd_section_index>: New field.
11323 * symfile.c (init_entry_point_info): Find the entry point's
11324 section.
11325
d56e56aa
TT
113262014-01-15 Tom Tromey <tromey@redhat.com>
11327
11328 * solib-frv.c (enable_break): Use entry_point_address_query.
11329
33a97bbe
OJ
113302014-01-15 Omair Javaid <omair.javaid@linaro.org>
11331
11332 * NEWS: Add note on improved process record-replay on
11333 arm*-linux* targets.
11334
c6ec2b30
OJ
113352014-01-15 Omair Javaid <omair.javaid@linaro.org>
11336
11337 * arm-tdep.c (enum arm_record_result): New enum.
11338 (arm_record_unsupported_insn): New function.
11339 (arm_record_coproc_data_proc): Removed.
11340 (thumb2_record_ld_st_multiple): New function.
11341 (thumb2_record_ld_st_dual_ex_tbb): New function.
11342 (thumb2_record_data_proc_sreg_mimm): New function.
11343 (thumb2_record_ps_dest_generic): New function.
11344 (thumb2_record_branch_misc_cntrl): New function.
11345 (thumb2_record_str_single_data): New function.
11346 (thumb2_record_ld_mem_hints): New function.
11347 (thumb2_record_ld_word): New function.
11348 (thumb2_record_lmul_lmla_div): New function.
11349 (thumb2_record_decode_insn_handler): New function.
11350 (decode_insn): Add thumb32 instruction handlers.
11351
97dfe206
OJ
113522014-01-15 Omair Javaid <omair.javaid@linaro.org>
11353
11354 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11355 (struct arm_linux_record_tdep): Declare.
11356 (arm_canonicalize_syscall): New function.
11357 (arm_all_but_pc_registers_record): New function.
11358 (arm_linux_syscall_record): New function.
11359 (arm_linux_init_abi): Add syscall recording constructs.
11360 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11361 decoding. (arm_record_coproc_data_proc): Update arm syscall
11362 decoding.
11363 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11364 <arm_syscall_record>: New field.
11365 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11366 gdb_target_obs.
11367
9904a494
OJ
113682014-01-15 Omair Javaid <omair.javaid@linaro.org>
11369
11370 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11371 register for push instruction recording.
11372
f969241e
OJ
113732014-01-15 Omair Javaid <omair.javaid@linaro.org>
11374
11375 * arm-tdep.c (thumb_record_misc): Update to correct logical
11376 error while recording ldm, ldmia and pop instructions.
11377
bfbbec00
OJ
113782014-01-15 Omair Javaid <omair.javaid@linaro.org>
11379
11380 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11381
e40adcc9
PA
113822014-01-15 Pedro Alves <palves@redhat.com>
11383
11384 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11385 (go32_resume, go32_fetch_registers, store_register)
11386 (go32_store_registers, go32_prepare_to_store)
11387 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11388 (go32_create_inferior, go32_can_run, go32_terminal_init)
11389 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11390 declarations.
11391
b0a16e66
TT
113922014-01-15 Tom Tromey <tromey@redhat.com>
11393
11394 * target.h (async_callback_ftype): New typedef.
11395 (struct target_ops) <to_async>: Use it.
11396
bf7105a4
JB
113972014-01-15 Joel Brobecker <brobecker@adacore.com>
11398
11399 * python/py-value.c (get_field_type): Remove unnecessary curly
11400 braces for single-statement if block.
11401
a8f35c2e
JB
114022014-01-15 Joel Brobecker <brobecker@adacore.com>
11403
11404 * python/py-type.c (convert_field): Add missing empty line
11405 after declarations.
11406
bb4142cf
DE
114072014-01-14 Doug Evans <dje@google.com>
11408
11409 * symfile.h (expand_symtabs_matching): Renamed from
11410 expand_partial_symbol_names. Update prototype.
11411 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11412 * symfile.c (expand_symtabs_matching): Renamed from
11413 expand_partial_symbol_names. New args file_matcher, kind.
11414 Rename arg fun to symbol_matcher.
11415 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11416 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11417 ada_expand_partial_symbol_name.
11418 (ada_make_symbol_completion_list): Update to call
11419 expand_symtabs_matching.
11420 (ada_add_global_exceptions): Call expand_symtabs_matching.
11421 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11422 call map_symbol_filenames.
11423 * symtab.c (sources_info): Update to call map_symbol_filenames.
11424 (search_symbols): Call expand_symtabs_matching.
11425 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11426 (default_make_symbol_completion_list_break_on): Update to call
11427 expand_symtabs_matching.
11428 (make_source_files_completion_list): Update to call
11429 map_symbol_filenames.
11430
206f2a57
DE
114312014-01-14 Doug Evans <dje@google.com>
11432
11433 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11434 (expand_symtabs_symbol_matcher_ftype): New typedef.
11435 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11436 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11437 * symfile.c (expand_partial_symbol_names): Update to use
11438 expand_symtabs_symbol_matcher_ftype.
11439 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11440 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11441 Arg name_matcher renamed to symbol_matcher.
11442 * psymtab.c (recursively_search_psymtabs): Update to use
11443 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11444 sym_matcher.
11445 (expand_symtabs_matching_via_partial): Update to use
11446 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11447 Arg name_matcher renamed to symbol_matcher.
11448
540c2971
DE
114492014-01-14 Doug Evans <dje@google.com>
11450
11451 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11452 (map_partial_symbol_filenames): Ditto.
11453 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11454 (map_partial_symbol_filenames): Ditto.
11455 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11456 (map_partial_symbol_filenames): Ditto.
11457 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11458 (map_partial_symbol_filenames): Ditto.
11459 * symtab.c: Delete #include "psymtab.h".
11460
8213266a
PA
114612014-01-14 Pedro Alves <palves@redhat.com>
11462 Tom Tromey <tromey@redhat.com>
11463
11464 * infrun.c (use_displaced_stepping): Use find_record_target
11465 instead of RECORD_IS_USED.
11466 (adjust_pc_after_break): Use record_full_is_used instead of
11467 RECORD_IS_USED.
11468 * record-btrace.c (record_btrace_open): Call record_preopen
11469 instead of checking RECORD_IS_USED.
11470 * record-full.c (record_full_shortname)
11471 (record_full_core_shortname): New globals.
11472 (record_full_is_used): New function.
11473 (find_full_open): Call record_preopen instead of checking
11474 RECORD_IS_USED.
11475 (init_record_full_ops): Set the target's shortname to
11476 record_full_shortname.
11477 (init_record_full_core_ops): Set the target's shortname to
11478 record_full_core_shortname.
11479 * record-full.h (record_full_is_used): Declare.
11480 * record.c (find_record_target): Make extern.
11481 (record_preopen): New function.
11482 * record.h (RECORD_IS_USED): Delete macro.
11483 (find_record_target, record_preopen): Declare functions.
11484
7ec1862d
YQ
114852014-01-14 Yao Qi <yao@codesourcery.com>
11486
11487 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11488 'len''s type to ULONGEST.
11489 (core_xfer_shared_libraries_aix): Likewise.
11490 * gdbarch.c, gdbarch.h: Regenerated.
11491 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11492 Change type of 'len' to ULONGEST.
11493 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11494 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11495
dea80a27
YQ
114962014-01-14 Yao Qi <yao@codesourcery.com>
11497
11498 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11499 type of 'len' to ULONGEST.
11500 (linux_xfer_osdata_processgroups): Likewise.
11501 (linux_xfer_osdata_threads): Likewise.
11502 (linux_xfer_osdata_fds): Likewise.
11503 (linux_xfer_osdata_isockets): Likewise.
11504 (linux_xfer_osdata_shm): Likewise.
11505 (linux_xfer_osdata_sem): Likewise.
11506 (linux_xfer_osdata_msg): Likewise.
11507 (linux_common_xfer_osdata): Likewise.
11508 (struct osdata_type) <getter>: Likewise.
11509 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11510 the declaration.
11511
b55e14c7
YQ
115122014-01-14 Yao Qi <yao@codesourcery.com>
11513
11514 * target.h (target_xfer_partial_ftype): Update.
11515 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11516 ULONGEST.
11517 * aix-thread.c (aix_thread_xfer_partial): Change type of
11518 argument 'len' to ULONGEST.
11519 * auxv.c (procfs_xfer_auxv): Likewise.
11520 (ld_so_xfer_auxv): Likewise.
11521 (memory_xfer_auxv): Likewise.
11522 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11523 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11524 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11525 * corelow.c (core_xfer_partial): Likewise.
11526 * ctf.c (ctf_xfer_partial): Likewise.
11527 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11528 '%u'.
11529 (darwin_read_dyld_info): Likewise.
11530 (darwin_xfer_partial): Likewise.
11531 * exec.c (section_table_xfer_memory_partial): Likewise.
11532 (exec_xfer_partial): Likewise.
11533 * exec.h (section_table_xfer_memory_partial): Update
11534 declaration.
11535 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11536 instead of plongest.
11537 (gnu_xfer_partial): Likewise.
11538 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11539 (ia64_hpux_xfer_solib_got): Likewise.
11540 (ia64_hpux_xfer_partial): Likewise.
11541 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11542 * inf-ptrace.c (inf_ptrace_xfer_partial):
11543 * inf-ttrace.c (inf_ttrace_xfer_partial):
11544 * linux-nat.c (linux_xfer_siginfo): Likewise.
11545 (linux_nat_xfer_partial): Likewise.
11546 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11547 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11548 * monitor.c (monitor_xfer_memory): Likewise.
11549 (monitor_xfer_partial): Likewise.
11550 * procfs.c (procfs_xfer_partial): Likewise.
11551 * record-full.c (record_full_xfer_partial): Likewise.
11552 (record_full_core_xfer_partial): Likewise.
11553 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11554 instead of plongest.
11555 (gdbsim_xfer_partial): Likewise.
11556 * remote.c (remote_xfer_partial): Likewise.
11557 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11558 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11559 declaration.
11560 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11561 (rs6000_xfer_shared_libraries): Likewise.
11562 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11563 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11564 (sparc_xfer_partial): Likewise.
11565 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11566 (spu_xfer_partial): Likewise.
11567 * spu-multiarch.c (spu_xfer_partial): Likewise.
11568 * target.c (target_read_live_memory): Likewise.
11569 (memory_xfer_live_readonly_partial): Likewise.
11570 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11571 (target_xfer_partial, default_xfer_partial): Likewise.
11572 (current_xfer_partial): Likewise.
11573 * tracepoint.c (tfile_xfer_partial): Likewise.
11574 * windows-nat.c (windows_xfer_memory): Likewise. Call
11575 pulongest instead of plongest.
11576 (windows_xfer_partial): Likewise.
11577 (windows_xfer_shared_libraries): Likewise.
11578
05804640
YQ
115792014-01-14 Yao Qi <yao@codesourcery.com>
11580
11581 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11582 target_xfer_partial_ftype.
11583
b5b08fb4
SC
115842014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11585
11586 PR python/15464
11587 PR python/16113
11588 * valops.c (value_struct_elt_bitpos): New function
11589 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11590 object to 'None' if the field name is an empty string ("").
11591 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11592 attribute to look for a field when 'name' is 'None'.
11593 (get_field_type): New function
11594
13aaf454
DE
115952014-01-13 Doug Evans <dje@google.com>
11596
11597 PR symtab/16426
11598 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11599 (try_open_dwop_file): Ditto.
11600 * gdb_bfd.c: #include "vec.h".
11601 (bfdp): New typedef.
11602 (struct gdb_bfd_data): New member included_bfds.
11603 (gdb_bfd_unref): Unref all included bfds.
11604 (gdb_bfd_record_inclusion): New function.
11605 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11606
c2cec97c
TT
116072014-01-13 Tom Tromey <tromey@redhat.com>
11608
11609 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11610
78e5999d
TT
116112014-01-13 Tom Tromey <tromey@redhat.com>
11612
11613 * defs.h (use_windows): Remove.
11614 * gdb.c (main): Update.
11615 * main.c (captured_main, gdb_main): Update.
11616 * main.h (struct captured_main_args) <use_windows>: Remove.
11617 * top.c (use_windows): Remove.
11618
f2052bbe
TT
116192014-01-13 Tom Tromey <tromey@redhat.com>
11620
11621 * defs.h (deprecated_flush_hook): Remove.
11622
fde4f8ed
JK
116232014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11624
11625 PR threads/16216
11626 * linux-thread-db.c (try_thread_db_load): Add parameter
11627 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11628 (try_thread_db_load_from_pdir_1): Move it there from here.
11629 (try_thread_db_load_from_sdir): Update caller.
11630 (try_thread_db_load_from_dir): Move it there from here.
11631
bdf61915
PP
116322014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11633
11634 * regformats/regdat.sh: Always rewrite the register file.
11635
f71e1a8d
PA
116362014-01-13 Pedro Alves <palves@redhat.com>
11637
11638 * Makefile.in (CHECK_HEADERS): New variable.
11639 (check-headers:): New rule.
11640
42c85435
TT
116412014-01-13 Tom Tromey <tromey@redhat.com>
11642
11643 * cli/cli-setshow.c (do_set_command): Update.
11644 * defs.h (deprecated_set_hook): Remove.
11645 * top.c (deprecated_set_hook): Remove.
11646
f8de5129
PA
116472014-01-13 Pedro Alves <palves@redhat.com>
11648
11649 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11650 the tracepoint if the PC is a pseudo-register.
11651
fc270c35
TT
116522014-01-13 Tom Tromey <tromey@redhat.com>
11653
11654 * defs.h (XCALLOC): Remove.
11655 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11656 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11657 * dwarf2loc.c (allocate_piece_closure): Likewise.
11658 * elfread.c (elf_symfile_segments): Likewise.
11659 (elf_symfile_segments): Likewise.
11660 * gdbtypes.c (copy_type_recursive): Likewise.
11661 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11662 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11663 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11664 XCALLOC.
11665 * mt-tdep.c (mt_gdbarch_init): Likewise.
11666 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11667 XCALLOC.
11668 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11669 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11670 * registry.c (registry_alloc_data): Likewise.
11671 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11672 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11673 * serial.c (serial_fdopen_ops): Likewise.
11674 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11675 XCALLOC.
11676 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11677 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11678 not XCALLOC.
11679
70ba0933
TT
116802014-01-13 Tom Tromey <tromey@redhat.com>
11681
11682 * defs.h (XMALLOC): Remove.
11683 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
11684 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
11685 * cli-out.c (struct ui_out *): Likewise.
11686 * cli/cli-dump.c (add_dump_command): Likewise.
11687 (add_dump_command): Likewise.
11688 * complaints.c (get_complaints): Likewise.
11689 (find_complaint): Likewise.
11690 * dwarf2-frame.c (execute_cfa_program): Likewise.
11691 * dwarf2read.c (abbrev_table_read_table): Likewise.
11692 * gdbarch.sh: Likewise.
11693 * gdbarch.c: Rebuild.
11694 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
11695 * interps.c (interp_new): Likewise.
11696 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
11697 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
11698 * mi/mi-console.c (mi_console_file_new): Likewise.
11699 * mi/mi-interp.c (mi_interpreter_init): Likewise.
11700 * mi/mi-out.c (mi_out_new): Likewise.
11701 * mi/mi-parse.c (mi_parse): Likewise.
11702 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
11703 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
11704 * observer.c (xalloc_observer_list_node): Likewise.
11705 * regcache.c (regcache_xmalloc_1): Likewise.
11706 * reggroups.c (reggroup_new): Likewise.
11707 (_initialize_reggroup): Likewise.
11708 * registry.c (register_data_with_cleanup): Likewise.
11709 * remote.c (remote_notif_stop_alloc_reply): Likewise.
11710 * ser-base.c (serial_ttystate): Likewise.
11711 * ser-mingw.c (make_pipe_state): Likewise.
11712 * ser-pipe.c (pipe_open): Likewise.
11713 * serial.c (serial_open): Likewise.
11714 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
11715 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
11716 (tui_alloc_win_info): Likewise.
11717 (tui_add_content_elements): Likewise.
11718 * tui/tui-file.c (tui_file_new): Likewise.
11719 * tui/tui-out.c (tui_out_new): Likewise.
11720 * ui-file.c (mem_file_new): Likewise.
11721 * ui-out.c (push_level): Likewise.
11722 (make_cleanup_ui_out_end): Likewise.
11723 (append_header_to_list): Likewise.
11724 (ui_out_new): Likewise.
11725 * user-regs.c (user_reg_add_builtin): Likewise.
11726
41bf6aca
TT
117272014-01-13 Tom Tromey <tromey@redhat.com>
11728
11729 * defs.h (XZALLOC): Remove.
11730 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
11731 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
11732 (get_ada_tasks_inferior_data): Likewise.
11733 * auto-load.c (get_auto_load_pspace_data): Likewise.
11734 * auxv.c (get_auxv_inferior_data): Likewise.
11735 * bfd-target.c (target_bfd_reopen): Likewise.
11736 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
11737 (deprecated_insert_raw_breakpoint): Likewise.
11738 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
11739 * corelow.c (core_open): Likewise.
11740 * darwin-nat.c (darwin_check_new_threads): Likewise.
11741 (darwin_attach_pid): Likewise.
11742 * dummy-frame.c (dummy_frame_push): Likewise.
11743 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
11744 * dwarf2loc.c (allocate_piece_closure): Likewise.
11745 * elfread.c (elf_symfile_segments): Likewise.
11746 * eval.c (ptrmath_type_p): Likewise.
11747 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
11748 * gdbtypes.c (alloc_type_arch): Likewise.
11749 (alloc_type_instance): Likewise.
11750 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
11751 * inf-child.c (inf_child_can_use_agent): Likewise.
11752 * inflow.c (get_inflow_inferior_data): Likewise.
11753 * infrun.c (save_infcall_suspend_state): Likewise.
11754 * jit.c (jit_reader_load): Likewise.
11755 (get_jit_objfile_data): Likewise.
11756 (get_jit_program_space_data): Likewise.
11757 (jit_object_open_impl): Likewise.
11758 (jit_symtab_open_impl): Likewise.
11759 (jit_block_open_impl): Likewise.
11760 (jit_frame_sniffer): Likewise.
11761 * linux-fork.c (add_fork): Likewise.
11762 * maint.c (make_command_stats_cleanup): Likewise.
11763 * objfiles.c (get_objfile_pspace_data): Likewise.
11764 * opencl-lang.c (struct lval_closure): Likewise.
11765 * osdata.c (osdata_start_osdata): Likewise.
11766 * progspace.c (new_address_space): Likewise.
11767 (add_program_space): Likewise.
11768 * remote-sim.c (get_sim_inferior_data): Likewise.
11769 * sh-tdep.c (sh_gdbarch_init): Likewise.
11770 * skip.c (Ignore): Likewise.
11771 (skip_delete_command): Likewise.
11772 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
11773 (library_list_start_library): Likewise.
11774 (solib_aix_current_sos): Likewise.
11775 * solib-darwin.c (get_darwin_info): Likewise.
11776 (darwin_current_sos): Likewise.
11777 * solib-dsbt.c (get_dsbt_info): Likewise.
11778 * solib-ia64-hpux.c (new_so_list): Likewise.
11779 (ia64_hpux_get_solib_linkage_addr): Likewise.
11780 * solib-spu.c (append_ocl_sos): Likewise.
11781 (spu_current_sos): Likewise.
11782 * solib-svr4.c (get_svr4_info): Likewise.
11783 (svr4_keep_data_in_core): Likewise.
11784 (library_list_start_library): Likewise.
11785 (svr4_default_sos): Likewise.
11786 (svr4_read_so_list): Likewise.
11787 * solib-target.c (library_list_start_library): Likewise.
11788 (solib_target_current_sos): Likewise.
11789 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
11790 * symfile-debug.c (install_symfile_debug_logging): Likewise.
11791 * symfile.c (default_symfile_segments): Likewise.
11792 * target-descriptions.c (tdesc_data_init): Likewise.
11793 (tdesc_create_reg): Likewise.
11794 (struct tdesc_type *): Likewise.
11795 (tdesc_create_vector): Likewise.
11796 (tdesc_set_struct_size): Likewise.
11797 (struct tdesc_type *): Likewise.
11798 (tdesc_free_feature): Likewise.
11799 (tdesc_create_feature): Likewise.
11800 * windows-nat.c (windows_add_thread): Likewise.
11801 (windows_make_so): Likewise.
11802 * xml-support.c (gdb_xml_body_text): Likewise.
11803 (gdb_xml_create_parser_and_cleanup): Likewise.
11804 (xml_process_xincludes): Likewise.
11805 * xml-syscall.c (allocate_syscalls_info): Likewise.
11806 (syscall_create_syscall_desc): Likewise.
11807
5acfdbae
SDJ
118082014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
11809
11810 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
11811 function, with code from i386_stap_parse_special_token.
11812 (i386_stap_parse_special_token_three_arg_disp): Likewise.
11813 (i386_stap_parse_special_token): Move code to the two functions
11814 above; simplify it.
11815
0000e5cc
PA
118162014-01-09 Pedro Alves <palves@redhat.com>
11817 Hui Zhu <hui@codesourcery.com>
11818
11819 PR gdb/16101
11820 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
11821 bp_err_string. Don't mark the location shlib_disabled if the
11822 error thrown wasn't a generic or memory error. Catch errors
11823 thrown while inserting breakpoints in overlayed code. Output
11824 error message of software breakpoints.
11825 * remote.c (remote_insert_breakpoint): If this breakpoint has
11826 target-side commands but this stub doesn't support Z0 packets,
11827 throw NOT_SUPPORTED_ERROR error.
11828 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
11829 * target.h (target_insert_breakpoint): Extend comment.
11830 (target_insert_hw_breakpoint): Add comment.
11831
b7ea362b
PA
118322014-01-08 Pedro Alves <palves@redhat.com>
11833
11834 * remote.c (remote_add_thread): Add threads silently if starting
11835 up.
11836 (remote_notice_new_inferior): If in all-stop, and starting up,
11837 don't call notice_new_inferior.
11838 (get_current_thread): New function, factored out from ...
11839 (add_current_inferior_and_thread): ... this. Adjust.
11840 (remote_start_remote) <all-stop>: Fetch the thread list. If we
11841 found any thread, then select the remote's current thread as GDB's
11842 current thread too.
11843
b7bba001
JB
118442014-01-08 Joel Brobecker <brobecker@adacore.com>
11845
11846 * NEWS: Create a new section for the next release branch.
11847 Rename the section of the current branch, now that it has
11848 been cut.
11849
16dfbded
JB
118502014-01-08 Joel Brobecker <brobecker@adacore.com>
11851
11852 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
11853 * version.in: Bump version to 7.7.50.DATE-cvs.
11854
22c90ac1
YQ
118552014-01-08 Yao Qi <yao@codesourcery.com>
11856
11857 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
11858 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
11859 (spu_xfer_partial): Cast 'buf' to 'const char *'.
11860
d64ad97c
YQ
118612014-01-08 Yao Qi <yao@codesourcery.com>
11862
11863 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
11864 return value of bfd_get_filename to symbol_file_add_from_bfd.
11865
f93ba80c
PM
118662014-01-08 Pierre Muller <muller@sourceware.org>
11867
11868 Fix PR16201.
11869 * coff-pe-read.c (struct read_pe_section_data): Add index field.
11870 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
11871 to prim_record_mininal_symbol_and_info.
11872 (add_pe_forwarded_sym): Use known section number of forwarded symbol
11873 in call to prim_record_minimal_symbol_and_info.
11874 (read_pe_exported_syms): Set index field of section_data.
11875
a4d9ba85
AP
118762014-01-07 Andrew Pinski <apinski@cavium.com>
11877
11878 * features/aarch64-core.xml (cpsr): Change to be 64bit.
11879 * features/aarch64.c: Regenerate.
11880
1b67eb02
AS
118812014-01-07 Andreas Schwab <schwab@linux-m68k.org>
11882
11883 * target.c (return_null): Define.
11884 (update_current_target): Use it instead of return_zero for
11885 functions that return a pointer.
11886
5e3f4fab
EBM
118872014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
11888
11889 * source.c (add_path): Fix check for duplicated paths in the previously
11890 included paths.
11891
e2616788
HK
118922014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
11893
11894 * ada-lang.c: Remove duplicated include statements.
11895 * alphabsd-nat.c: Ditto.
11896 * amd64-darwin-tdep.c: Ditto.
11897 * amd64fbsd-nat.c: Ditto.
11898 * auto-load.c: Ditto.
11899 * ax-gdb.c: Ditto.
11900 * breakpoint.c: Ditto.
11901 * dbxread.c: Ditto.
11902 * fork-child.c: Ditto.
11903 * gdb_usleep.c: Ditto.
11904 * i386-darwin-tdep.c: Ditto.
11905 * i386fbsd-nat.c: Ditto.
11906 * infcmd.c: Ditto.
11907 * inferior.c: Ditto.
11908 * jv-lang.c: Ditto.
11909 * linux-nat.c: Ditto.
11910 * linux-tdep.c: Ditto.
11911 * m68kbsd-nat.c: Ditto.
11912 * m68klinux-nat.c: Ditto.
11913 * microblaze-tdep.c: Ditto.
11914 * mips-linux-tdep.c: Ditto.
11915 * mn10300-tdep.c: Ditto.
11916 * nto-tdep.c: Ditto.
11917 * opencl-lang.c: Ditto.
11918 * osdata.c: Ditto.
11919 * printcmd.c: Ditto.
11920 * regcache.c: Ditto.
11921 * remote-m32r-sdi.c: Ditto.
11922 * remote.c: Ditto.
11923 * symfile.c: Ditto.
11924 * symtab.c: Ditto.
11925 * tilegx-linux-nat.c: Ditto.
11926 * tilegx-tdep.c: Ditto.
11927 * tracepoint.c: Ditto.
11928 * valops.c: Ditto.
11929 * vaxbsd-nat.c: Ditto.
11930 * windows-nat.c: Ditto.
11931 * xtensa-tdep.c: Ditto.
11932
bd1f7788
YQ
119332014-01-07 Yao Qi <yao@codesourcery.com>
11934
11935 * spu-linux-nat.c (_initialize_spu_nat): Declare.
11936
79301218
JB
119372014-01-07 Yao Qi <yao@codesourcery.com>
11938 Joel Brobecker <brobecker@adacore.com>
11939
11940 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
11941 (pdc_write_regs): Likewise.
11942 (fetch_regs_kernel_thread): Likewise.
11943 (store_regs_kernel_thread): Likewise.
11944
119452014-01-07 Joel Brobecker <brobecker@adacore.com>
11946
11947 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
11948 tagged type objects to their actual type.
11949
8e355c5d
JB
119502014-01-07 Joel Brobecker <brobecker@adacore.com>
11951
11952 * ada-valprint.c (print_field_values): Add "language" parameter.
11953 Update calls to print_field_values and print_variant_part.
11954 Pass new parameter "language" in call to val_print instead
11955 of "current_language". Replace call to ada_val_print by call
11956 to val_print.
11957 (print_variant_part): Add "language" parameter.
11958 (ada_val_print_struct_union): Update call to print_field_values.
11959
4fbf5aa5
JB
119602014-01-07 Joel Brobecker <brobecker@adacore.com>
11961
11962 * ada-valprint.c (ui_memcpy): Delete.
11963 (ada_print_floating): Update documentation. Add empty line
11964 between between function documentation and implementation.
11965 Delete variable "buffer". Use ui_file_xstrdup in place of
11966 ui_file_put. Minor adjustments following this change.
11967
71855601
JB
119682014-01-07 Joel Brobecker <brobecker@adacore.com>
11969
11970 * ada-valprint.c (ada_val_print_string): New function,
11971 extracted from ada_val_print_array.
11972 (ada_val_print_array): Replace extracted code by call
11973 to ada_val_print_string followed by a return. Move
11974 "else" branch to the function's top block.
11975
4eb27a30
JB
119762014-01-07 Joel Brobecker <brobecker@adacore.com>
11977
11978 * ada-valprint.c (ada_val_print_array): Move implementation
11979 down. Rename parameter "offset" and "val" into "offset_aligned"
11980 and "original_value" respectively. Add parameter "offset".
11981
34b27950
JB
119822014-01-07 Joel Brobecker <brobecker@adacore.com>
11983
11984 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
11985 re-organizing the code. Change the "???" message printed
11986 when target type is a TYPE_CODE_UNDEF into
11987 "<ref to undefined type>".
11988
079e4591
JB
119892014-01-07 Joel Brobecker <brobecker@adacore.com>
11990
11991 * ada-valprint.c (print_record): Delete, implementation inlined...
11992 (ada_val_print_struct_union): ... here. Remove call to
11993 ada_check_typedef in inlined implementation.
11994
8004dfd1
JB
119952014-01-07 Joel Brobecker <brobecker@adacore.com>
11996
11997 * ada-valprint.c (ada_val_print_gnat_array): New function,
11998 extracted from ada_val_print_1;
11999 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12000 (ada_val_print_flt, ada_val_print_struct_union)
12001 (ada_val_print_ref): Likewise.
12002 (ada_val_print_1): Delete variables i and elttype.
12003 Replace extracted-out code by call to corresponding
12004 new functions.
12005
760a2db0
JB
120062014-01-07 Joel Brobecker <brobecker@adacore.com>
12007
12008 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12009
3a92c861
JB
120102014-01-07 Joel Brobecker <brobecker@adacore.com>
12011
12012 * ada-valprint.c (ada_val_print_1): Replace calls to
12013 ada_val_print_1 by calls to val_print.
12014
cd1630f9
JB
120152014-01-07 Joel Brobecker <brobecker@adacore.com>
12016
12017 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12018 Update calls to self accordingly. Replace calls to c_val_print
12019 by calls to val_print.
12020
bdf779a0
JB
120212014-01-07 Joel Brobecker <brobecker@adacore.com>
12022
12023 * ada-valprint.c (print_record): Delete declaration.
12024 (adjust_type_signedness, ada_val_print_1): Likewise.
12025 (ada_val_print): Move function implementation down.
12026 (print_variant_part, print_field_values, print_record):
12027 Move function implementation up.
12028
c0d48811
JB
120292014-01-07 Joel Brobecker <brobecker@adacore.com>
12030
12031 * python/py-type.c (typy_get_name): New function.
12032 (type_object_getset): Add entry for attribute "name".
12033 * NEWS: Add entry mentioning this new attribute.
12034
c26e9cbb
YQ
120352014-01-07 Yao Qi <yao@codesourcery.com>
12036
12037 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12038 statement.
12039
0cc6f43d
YQ
120402014-01-07 Yao Qi <yao@codesourcery.com>
12041
12042 * gnu-nat.c (info_port_rights): Add qualifier const to
12043 argument args.
12044
eec03155
YQ
120452014-01-07 Yao Qi <yao@codesourcery.com>
12046
12047 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12048
f04a82ef
YQ
120492014-01-07 Yao Qi <yao@codesourcery.com>
12050
12051 * gnu-nat.c (make_inf) Update declaration.
12052 (make_inf): Make it static.
12053 (inf_set_traced): Likewise.
12054 (inf_port_to_thread, inf_task_died_status): Likewise.
12055
d57dda0a
YQ
120562014-01-07 Yao Qi <yao@codesourcery.com>
12057
12058 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12059
3aa8c969
YQ
120602014-01-07 Yao Qi <yao@codesourcery.com>
12061
12062 * gnu-nat.c (_initialize_gnu_nat): Declare.
12063
94123b4f
YQ
120642014-01-07 Yao Qi <yao@codesourcery.com>
12065
12066 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12067 'enum bfd_endian'.
12068 (struct gdbarch_info) <byte_order>: Change type to
12069 'enum bfd_endian'.
12070 <byte_order_for_code>: Likewise.
12071 * gdbarch.c, gdbarch.h: Regenerated.
12072
dc81d70a
TT
120732014-01-06 Sasha Smundak <asmundak@google.com>
12074
12075 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12076
cc2f3c35
TT
120772014-01-06 Tom Tromey <tromey@redhat.com>
12078
12079 * doublest.c (convert_doublest_to_floatformat): Use const, not
12080 CONST.
12081 * somread.c (som_symtab_read): Likewise.
12082
adcf2eed
HZ
120832014-01-07 Hui Zhu <hui@codesourcery.com>
12084
12085 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12086 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12087 (gdb_bfd_fopen): Ditto.
12088 (gdb_bfd_openr): Ditto.
12089 (gdb_bfd_openw): Ditto.
12090 (gdb_bfd_openr_iovec): Ditto.
12091 (gdb_bfd_fdopenr): Ditto.
12092 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12093 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12094 with xstrdup.
12095 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12096 with xstrdup.
12097 * symfile-mem.c (symbol_file_add_from_memory): Removed
12098 gdb_bfd_stash_filename.
12099
50722198
DE
121002014-01-03 Doug Evans <dje@google.com>
12101
12102 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12103 output.
12104
2fa4b862
JB
121052014-01-01 Joel Brobecker <brobecker@adacore.com>
12106
12107 Update year range in copyright notice of all files.
12108
28498c42
JB
121092014-01-01 Joel Brobecker <brobecker@adacore.com>
12110
12111 * top.c (print_gdb_version): Set copyright year to 2014.
12112
7b6e1046
JB
121132014-01-01 Joel Brobecker <brobecker@adacore.com>
12114
12115 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12116
df96af55 12117For older changes see ChangeLog-2013.
c906108c
SS
12118\f
12119Local Variables:
12120mode: change-log
12121left-margin: 8
12122fill-column: 74
12123version-control: never
57da7796 12124coding: utf-8
c906108c 12125End:
This page took 2.4241 seconds and 4 git commands to generate.