Introduce common/gdb_setjmp.h
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e9bcb658
GB
12014-08-29 Gary Benson <gbenson@redhat.com>
2
3 * common/gdb_setjmp.h: New file.
4 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
5 * configure.ac: Move sigsetjmp check...
6 * common/common.m4: ...here.
7 * configure: Regenerate.
8 * cp-support.c (SIGJMP_BUF): Delete.
9 (SIGSETJMP): Likewise.
10 (SIGLONGJMP): Likewise.
11 * exceptions.h (gdb_setjmp.h): Include.
12 (setjmp.h): Do not include.
13 (EXCEPTIONS_SIGJMP_BUF): Delete.
14 (EXCEPTIONS_SIGSETJMP): Likewise.
15 (EXCEPTIONS_SIGLONGJMP): Likewise.
16 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
17 from gdb_setjmp.h.
18 * exceptions.c: Likewise.
19
e3180625
GB
202014-08-29 Gary Benson <gbenson@redhat.com>
21
22 * cleanups.h: Moved to...
23 * common/cleanups.h: New file.
24 * cleanups.c: Moved to...
25 * common/cleanups.c: New file. Include common-defs.h and
26 cleanups.h. Do not include defs.h.
27 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
28 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
29 (cleanups.o): New rule.
30
e3d6ba5d
GB
312014-08-29 Gary Benson <gbenson@redhat.com>
32
33 * common/errors.h (internal_warning): New declaration.
34 (internal_vwarning): Likewise.
35 * common/errors.c (internal_warning): New function.
36 * utils.h (internal_warning): Don't declare.
37 (internal_vwarning): Likewise.
38 * utils.c (internal_warning): Removed.
39
075c7033
GB
402014-08-29 Gary Benson <gbenson@redhat.com>
41
42 * main.c (captured_main): Use warning during startup.
43 Prefix startup warning messages with command name.
44
91b35fd0
GB
452014-08-29 Gary Benson <gbenson@redhat.com>
46
47 * main.c (captured_main): Handle usage errors with error.
48
b1ec390e
GB
492014-08-29 Gary Benson <gbenson@redhat.com>
50
51 * go32-nat.c (go32_create_inferior): Replace a fprintf/
52 exit pair with a call to error. Wrap the message with _().
53
fd0ef3dd
GB
542014-08-29 Gary Benson <gbenson@redhat.com>
55
56 * main.c (captured_main): Replace a fprintf/exit
57 pair with a call to error. Wrap the message with _().
58
e0e6bcab
GB
592014-08-29 Gary Benson <gbenson@redhat.com>
60
61 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
62 pairs with calls to error. Wrap the message with _().
63
0d2f5c07
GB
642014-08-29 Gary Benson <gbenson@redhat.com>
65
66 * utils.c (vwarning): Protect calls to target_terminal_ours
67 and wrap_here.
68
5df43998
GB
692014-08-29 Gary Benson <gbenson@redhat.com>
70
71 * exceptions.c (print_flush): Protect calls to
72 target_terminal_ours and wrap_here.
73
2437fd32
GB
742014-08-29 Gary Benson <gbenson@redhat.com>
75
76 * utils.h (filtered_printing_initialized): New declaration.
77 * utils.c (abort_with_message): New function.
78 (internal_vproblem): Use abort_with_message for first level
79 recursive internal problems, and if gdb_stderr is not set up.
80 Protect calls to target_terminal_ours, begin_line and query.
81
f1f58506
DE
822014-08-28 Doug Evans <dje@google.com>
83
84 * symtab.c (in_prologue): Move definition to better spot.
85 (skip_prologue_using_sal): Ditto.
86
aab2f208
DE
872014-08-28 Doug Evans <dje@google.com>
88
89 * symtab.c (find_function_start_sal): Move definition to better spot.
90
6b65d1b6
YQ
912014-08-28 Yao Qi <yao@codesourcery.com>
92
93 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
94 found_stack_adjust in forward scan. Remove condition check
95 on found_stack_adjust which is always true. Indent the code.
96
a1b34d15
YQ
972014-08-28 Yao Qi <yao@codesourcery.com>
98
99 * dwarf2read.c (dwarf_decode_lines): Update declaration.
100 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
101 (dwarf_decode_lines): Remove argument
102 want_line_info. Remove condition check on want_line_info.
103 Callers update.
104
d5962de5
DE
1052014-08-27 Doug Evans <dje@google.com>
106
107 * dwarf2read.c (dwarf_record_line): Fix typo.
108
9b139002
SDJ
1092014-08-27 Patrick Palka <patrick@parcs.ath.cx>
110
111 * target.h (struct target_ops::to_terminal_save_ours): Remove
112 declaration.
113 (target_terminal_save_ours): Remove macro.
114 * target-delegates.c: Regenerate.
115 * inf-child.c (inf_child_target): Don't set the nonexistent
116 field to_terminal_save_ours.
117 * inferior.h (child_terminal_save_ours): Remove declaration.
118 * terminal.h (gdb_save_tty_state): New declaration.
119 * inflow.c (child_terminal_save_ours): Rename to ...
120 (gdb_save_tty_state): ... this.
121 * tui/tui.c: Include terminal.h.
122 (tui_enable): Use gdb_save_tty_state instead of
123 target_terminal_save_ours.
124 (tui_disable): Likewise.
125
9debeba0
DE
1262014-08-25 Doug Evans <dje@google.com>
127
128 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
129 Pass NULL instead of 0 for context pointer.
130
428fc5fc
YQ
1312014-08-25 Yao Qi <yao@codesourcery.com>
132
133 * dwarf2read.c: Fix grammatical error.
134
cdc07690
YQ
1352014-08-24 Yao Qi <yao@codesourcery.com>
136
137 * dwarf2read.c (scan_partial_symbols): Update comments.
138 Rename argument 'need_pc' with 'set_addrmap'.
139 (add_partial_namespace): Rename argument 'need_pc' with
140 'set_addrmap'.
141 (add_partial_module): Likewise.
142 (add_partial_subprogram): Likewise. Update comments.
143 (dwarf2_name): Fix typo.
144
a05a36a5
DE
1452014-08-22 Doug Evans <dje@google.com>
146
147 PR 17276
148 * dwarf2read.c (dwarf_record_line_p): New function.
149 (dwarf_decode_lines_1): Ignore subsequent line number entries
150 for the same line if any entry had a non-zero discriminator.
151
252a6764
DE
1522014-08-22 Doug Evans <dje@google.com>
153
154 * buildsym.h (record_line_ftype): New typedef.
155 (record_line): Use it.
156 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
157 (dwarf_decode_lines_1): Call them.
158
510db052
YQ
1592014-08-22 Yao Qi <yao@codesourcery.com>
160
161 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
162 (ctf_end): Remove code.
163
22fd09ae
JK
1642014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
165
166 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
167 (linux_make_corefile_notes): call update_thread_list, protected against
168 exceptions.
169
656e8868
PA
1702014-08-21 Pedro Alves <palves@redhat.com>
171
172 * infcmd.c (attach_command): Remove comment.
173
de589d04
WN
1742014-08-21 Bin Cheng <bin.cheng@arm.com>
175
176 * aarch64-linux-nat.c (dr_changed_t): Change the type from
177 unsigned LONGEST to ULONGEST.
178
2a31c623
PA
1792014-08-20 Pedro Alves <palves@redhat.com>
180
181 * Makefile.in (check-read1): New rule.
182
d36430db
JB
1832014-08-20 Joel Brobecker <brobecker@adacore.com>
184
185 * value.c (value_from_contents_and_address): Strip resolved_type's
186 typedef layers before checking its TYPE_DATA_LOCATION.
187
000339af
PA
1882014-08-20 Pedro Alves <palves@redhat.com>
189
190 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
191
5f52445b
YQ
1922014-08-20 Yao Qi <yao@codesourcery.com>
193
194 * amd64-tdep.c (amd64_classify): Add a blank line after the
195 example. Move "*/" to a new line.
196 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
197 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
198 * dwarf2read.c (psymtab_include_file_name): Likewise.
199
9a0dc9e3
PA
2002014-08-19 Andrew Burgess <aburgess@broadcom.com>
201 Pedro Alves <palves@redhat.com>
202
203 PR symtab/14604
204 PR symtab/14605
205 * ada-lang.c (coerce_unspec_val_to_type): Use
206 value_contents_copy_raw.
207 * ada-valprint.c (val_print_packed_array_elements): Adjust.
208 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
209 * cp-valprint.c (cp_print_value_fields): Let the common printing
210 code handle optimized out values.
211 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
212 * d-valprint.c (dynamic_array_type): Use
213 value_bits_any_optimized_out.
214 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
215 check_any_valid fields.
216 (check_pieced_value_bits): Delete and inline ...
217 (check_pieced_synthetic_pointer): ... here.
218 (check_pieced_value_validity): Delete.
219 (check_pieced_value_invalid): Delete.
220 (pieced_value_funcs): Remove check_validity and check_any_valid
221 fields.
222 (read_pieced_value): Use mark_value_bits_optimized_out.
223 (write_pieced_value): Switch to use
224 mark_value_bytes_optimized_out.
225 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
226 of assuming the whole value is optimized out.
227 * findvar.c (read_frame_register_value): Remove special handling
228 of optimized out registers.
229 (value_from_register): Use mark_value_bytes_optimized_out.
230 * frame-unwind.c (frame_unwind_got_optimized): Use
231 mark_value_bytes_optimized_out.
232 * jv-valprint.c (java_value_print): Adjust.
233 (java_print_value_fields): Let the common printing code handle
234 optimized out values.
235 * mips-tdep.c (mips_print_register): Remove special handling of
236 optimized out registers.
237 * opencl-lang.c (lval_func_check_validity): Delete.
238 (lval_func_check_any_valid): Delete.
239 (opencl_value_funcs): Remove check_validity and check_any_valid
240 fields.
241 * p-valprint.c (pascal_object_print_value_fields): Let the common
242 printing code handle optimized out values.
243 * stack.c (read_frame_arg): Remove special handling of optimized
244 out values. Fetch both VAL and ENTRYVAL before comparing
245 contents. Adjust to value_available_contents_eq rename.
246 * valprint.c (valprint_check_validity)
247 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
248 (val_print_array_elements): Adjust.
249 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
250 (value_bits_any_optimized_out): New function.
251 (value_entirely_covered_by_range_vector): New function, factored
252 out from value_entirely_unavailable.
253 (value_entirely_unavailable): Reimplement.
254 (value_entirely_optimized_out): New function.
255 (insert_into_bit_range_vector): New function, factored out from
256 mark_value_bits_unavailable.
257 (mark_value_bits_unavailable): Reimplement.
258 (struct ranges_and_idx): New struct.
259 (find_first_range_overlap_and_match): New function, factored out
260 from value_available_contents_bits_eq.
261 (value_available_contents_bits_eq): Rename to ...
262 (value_contents_bits_eq): ... this. Check both unavailable
263 contents and optimized out contents.
264 (value_available_contents_eq): Rename to ...
265 (value_contents_eq): ... this.
266 (allocate_value_lazy): Remove reference to the old optimized_out
267 boolean.
268 (allocate_optimized_out_value): Use
269 mark_value_bytes_optimized_out.
270 (require_not_optimized_out): Adjust to check whether the
271 optimized_out vec is empty.
272 (ranges_copy_adjusted): New function, factored out from
273 value_contents_copy_raw.
274 (value_contents_copy_raw): Also copy the optimized out ranges.
275 Assert the destination ranges aren't optimized out.
276 (value_contents_copy): Update comment, remove call to
277 require_not_optimized_out.
278 (value_contents_equal): Adjust to check whether the optimized_out
279 vec is empty.
280 (set_value_optimized_out, value_optimized_out_const): Delete.
281 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
282 New functions.
283 (value_entirely_optimized_out, value_bits_valid): Delete.
284 (value_copy): Take a VEC copy of the 'optimized_out' field.
285 (value_primitive_field): Remove special handling of optimized out.
286 (value_fetch_lazy): Assert that lazy values have no unavailable
287 regions. Use value_bits_any_optimized_out. Remove some special
288 handling for optimized out values.
289 * value.h: Add intro comment about <optimized out> and
290 <unavailable>.
291 (struct lval_funcs): Remove check_validity and check_any_valid
292 fields.
293 (set_value_optimized_out, value_optimized_out_const): Remove.
294 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
295 New declarations.
296 (value_bits_any_optimized_out): New declaration.
297 (value_bits_valid): Delete declaration.
298 (value_available_contents_eq): Rename to ...
299 (value_contents_eq): ... this, and extend comments.
300
6694c411
JK
3012014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
302
303 Fix -fsanitize=address on unreadable inferior strings.
304 * valprint.c (val_print_string): Fix access before BUFFER.
305
89a1c21a
SM
3062014-08-19 Simon Marchi <simon.marchi@ericsson.com>
307
308 * target.c (target_struct_size): Remove.
309 (target_struct_allocsize): Remove.
310 (DEFAULT_ALLOCSIZE): Remove.
311 (target_ops_p): New typedef.
312 (DEF_VEC_P (target_ops_p)): New vector type.
313 (target_structs): Change type to VEC (target_ops_p).
314 (add_target_with_completer): Replace "push" code by VEC_safe_push.
315 (find_default_run_target): Rewrite for loop following changes to
316 target_structs.
317
cb417230
JB
3182014-08-19 Joel Brobecker <brobecker@adacore.com>
319
320 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
321 Adjust code accordingly. Adjust function description comment.
322
817e0957
YQ
3232014-08-19 Yao Qi <yao@codesourcery.com>
324
325 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
326 types.
327
2974be62
AM
3282014-08-19 Alan Modra <amodra@gmail.com>
329
330 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
331 * config.in: Regenerate.
332 * configure: Regenerate.
333
34abf635
GB
3342014-08-19 Tom Tromey <tromey@redhat.com>
335 Gary Benson <gbenson@redhat.com>
336
337 * common/common-debug.h: New file.
338 * common/common-debug.c: Likewise.
339 * debug.c: Likewise.
340 * Makefile.in (SFILES): Add common/common-debug.c.
341 (HFILES_NO_SRCDIR): Add common/common-debug.h.
342 (COMMON_OBS): Add common-debug.o and debug.o.
343 (common-debug.o): New rule.
344 * common/common-defs.h: Include common-debug.h.
345 * common/agent.c (debug_agent_printf): New function.
346 (DEBUG_AGENT): Redefine.
347 * nat/i386-dregs.c (debug_printf): Undefine.
348
f6e94d78
GB
3492014-08-19 Gary Benson <gbenson@redhat.com>
350
351 * common/common-defs.h: Include print-utils.h.
352 * utils.h: Do not include print-utils.h.
353
9239eeab
GB
3542014-08-19 Tom Tromey <tromey@redhat.com>
355 Gary Benson <gbenson@redhat.com>
356
357 * common/common-types.h: New file.
358 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
359 * common/common-defs.h: Include common-types.h.
360 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
361 (ULONGEST): Remove.
362
ef87c8bb
GB
3632014-08-19 Tom Tromey <tromey@redhat.com>
364 Gary Benson <gbenson@redhat.com>
365
366 * common/errors.h: New file.
367 * common/errors.c: Likewise.
368 * Makefile.in (SFILES): Add common/errors.c.
369 (HFILES_NO_SRCDIR): Add common/errors.h.
370 (COMMON_OBS): Add errors.o.
371 (errors.o): New rule.
372 * common/common-defs.h: Include errors.h.
373 * utils.h (perror_with_name, error, verror, warning, vwarning):
374 Don't declare.
375 * common/common-utils.h: (malloc_failure, internal_error):
376 Likewise.
377
196a707b
GB
3782014-08-19 Gary Benson <gbenson@redhat.com>
379
380 * utils.c (internal_vproblem): Always print the message.
381
ded4fc8f
DE
3822014-08-18 Doug Evans <dje@google.com>
383
384 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
385
950c97d8
JB
3862014-08-18 Joel Brobecker <brobecker@adacore.com>
387
388 * ada-typeprint.c (type_is_full_subrange_of_target_type):
389 Return 0 if TYPE is dynamic.
390 (print_range): Add handling of dynamic ranges.
391
3cdcd0ce
JB
3922014-08-18 Keven Boell <keven.boell@intel.com>
393 Joel Brobecker <brobecker@adacore.com>
394
395 * gdbtypes.h (struct main_type): Add field "data_location".
396 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
397 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
398 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
399 a dynamic data location.
400 (resolve_dynamic_type): Add DW_AT_data_location handling.
401 (copy_recursive, copy_type): Copy the data_location information
402 when present.
403 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
404 * value.c (value_from_contents_and_address): Add
405 DW_AT_data_location handling.
406
08412b07
JB
4072014-08-18 Keven Boell <keven.boell@intel.com>
408 Joel Brobecker <brobecker@adacore.com>
409
410 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
411 field "get_object_address".
412 * dwarf2expr.c (execute_stack_op): Add handling for
413 DW_OP_push_object_address.
414 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
415 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
416 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
417 (dwarf_expr_get_obj_addr): New function.
418 (dwarf_expr_ctx_funcs): Add get_object_address field.
419 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
420 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
421 (dwarf2_evaluate_property): Add parameter "address". Use it.
422 (needs_get_obj_addr): New function.
423 (needs_frame_ctx_funcs): Add get_object_address field.
424 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
425 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
426 (resolve_dynamic_array): Likewise.
427
84754697
JB
4282014-08-18 Joel Brobecker <brobecker@adacore.com>
429
430 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
431 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
432 fixed value for records and unions for which some GNAT encodings
433 are present.
434
da5c522f
JB
4352014-08-18 Joel Brobecker <brobecker@adacore.com>
436
437 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
438 rewrite to avoid "else if" and "else" constructs. Should be
439 a no-op in practice.
440
0d72a7c3
JB
4412014-08-18 Joel Brobecker <brobecker@adacore.com>
442
443 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
444 of lexical block.
445
e66d4446
SC
4462014-08-15 Siva Chandra Reddy <sivachandra@google.com>
447
448 PR c++/17132
449 * eval.c: Update all calls to find_overload_match.
450 * valarith.c: Likewise.
451 (value_user_defined_cpp_op, value_user_defined_op): New
452 argument NOSIDE. Update all callers.
453 * valops.c (find_overload_match): New argument NOSIDE.
454 * value.h (find_overload_match): Update signature.
455
940df408
SC
4562014-08-15 Siva Chandra Reddy <sivachandra@google.com>
457
458 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
459 'items' methods instead of 'iteritems' method on dictionaries.
460
699ca60a
DE
4612014-08-15 Doug Evans <dje@google.com>
462
463 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
464 closer to use.
465
37780ee5
DE
4662014-08-15 Doug Evans <dje@google.com>
467
468 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
469
0ad93d4f
DE
4702014-08-15 Doug Evans <dje@google.com>
471
472 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
473
20d8c372
DE
4742014-08-15 Doug Evans <dje@google.com>
475
476 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
477 unused.
478
cb039ba4
EZ
4792014-08-15 Eli Zaretskii <eliz@gnu.org>
480
481 * dcache.h: Include target.h, to avoid compile time warnings.
482
eb7a547a
JB
4832014-08-15 Joel Brobecker <brobecker@adacore.com>
484
485 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
486 frame_info" partial declaration.
487 * gdbarch.h: Regenerate.
488
783cecc8
YQ
4892014-08-15 Yao Qi <yao@codesourcery.com>
490
491 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
492 Add parameter 'decode_for_pst_p'. Callers update.
493
65c749e7
YQ
4942014-08-13 Yao Qi <yao@codesourcery.com>
495
496 PR build/17104
497 * configure.ac: Use local variable 'pos'.
498 * configure: Regenerated.
499
d769e349
DE
5002014-08-11 Doug Evans <dje@google.com>
501
502 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
503 message, it is redundant with "Reading symbols from ..." message.
504
24f1235e
DE
5052014-08-10 Doug Evans <xdje42@gmail.com>
506
507 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
508
dcd2e6ef
YQ
5092014-08-09 Yao Qi <yao@codesourcery.com>
510
511 PR remote/9053
512 * remote.c (remote_xfer_partial): Remove dead code.
513
070bdf0b
AA
5142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
515
516 * ia64-linux-tdep.c: Include "regset.h".
517 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
518 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
519 (ia64_linux_supply_fpregset): New function.
520 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
521 (ia64_linux_regset_from_core_section): New function.
522 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
523 method.
524
08f9f542
AA
5252014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
526
527 * m68klinux-tdep.c: Include "regset.h".
528 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
529 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
530 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
531 (m68k_linux_regset_from_core_section): New function.
532 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
533 method.
534
8f1cee41
AA
5352014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
536
537 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
538 function. Move logic to...
539 (tilegx_linux_regmap): ... this new register map.
540 (tilegx_linux_regset): Refer to register map, replace supply
541 method by regcache_supply_regset, and add collect method.
542 * tilegx-tdep.h (enum tilegx_regnum): New enum value
543 TILEGX_FIRST_EASY_REGNUM.
544
c5741217
AA
5452014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
546
547 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
548 that calls regcache_supply_regset and handles the EPC register
549 separately. Move main logic to...
550 (score7_linux_gregmap): ... this new register map.
551 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
552 (score7_linux_gregset): Refer to register map. Add collect method.
553 (score7_linux_regset_from_core_section): Replace
554 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
555 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
556 (struct regset): Delete unused forward declaraction.
557 (struct pt_regs): Delete structure definition.
558 (elf_gregset_t): Delete typedef.
559
81580573
AA
5602014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
561
562 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
563 (nios2_core_regset): Add collect method.
564
ba199d7d
AA
5652014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
566
567 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
568 platform-independent and don't write to read-only input buffer.
569 (m32r_linux_collect_gregset): New function.
570 (m32r_linux_gregset): Add collect method.
571
0006a9da
AA
5722014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
573
574 * hppa-linux-tdep.c (greg_map): Rename to...
575 (hppa_linux_gregmap): ... this. Also convert to
576 regcache_map_entry format.
577 (hppa_linux_supply_regset): Delete function.
578 (hppa_linux_supply_fpregset): Delete function. Move logic to...
579 (hppa_linux_fpregmap): ... this new register map.
580 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
581 register map, replace supply method by regcache_supply_regset, and
582 add collect method regcache_collect_regset.
583
901e1b23
AA
5842014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
585
586 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
587 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
588 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
589 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
590 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
591 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
592 (frv_linux_supply_gregset): Replace main logic by call to
593 regcache_supply_regset, but keep clearing gr32-gr63.
594 (frv_linux_supply_fpregset): Delete function.
595 (frv_linux_gregset): Refer to appropriate register map and add
596 regcache_collect_regset as the collect method.
597 (frv_linux_fpregset): Likewise. Also exchange the supply method
598 by regcache_supply_regset.
599
1d6e7555
AA
6002014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
601
602 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
603 by call to alpha_supply_int_regs.
604 (alpha_linux_collect_gregset): New function.
605 (alpha_linux_supply_fpregset): Replace logic by call to
606 alpha_supply_fp_regs.
607 (alpha_linux_collect_fpregset): New function.
608 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
609
d4d793bf
AA
6102014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
611
612 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
613 by call to regcache_collect_regset.
614 (supply_gregset, supply_fpregset): Call regcache_supply_regset
615 instead of aarch64_linux_supply_gregset/_fpregset.
616 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
617 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
618 header file instead.
619 (aarch64_linux_supply_gregset, supply_gregset_from_core)
620 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
621 functions. Move logic to ...
622 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
623 register maps.
624 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
625 refer to new register maps, replace *_regset_from_core by
626 regcache_supply_regset, and also use regcache_collect_regset.
627 * aarch64-linux-tdep.h: Include "regset.h".
628 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
629 Delete prototypes.
630 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
631 macros, moved from C source file.
632 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
633 variable declarations.
634
99b7da5d
AA
6352014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
636
637 * s390-linux-nat.c: Include "regset.h".
638 (regmap_gregset): Delete macro.
639 (s390_64_regmap_gregset): New register map for
640 regcache_supply/_collect_regset.
641 (s390_64_gregset): New regset.
642 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
643 (regmap_fpregset): Delete macro.
644 (s390_native_supply, s390_native_collect): Delete functions.
645 (supply_gregset, fill_gregset): Replace s390-specific regmap
646 handling by a call to regcache_supply/_collect_regset.
647 (supply_fpregset, fill_fpregset): Call regcache_supply/
648 _collect_regset instead of s390_native_supply/_collect.
649 (fetch_regset, store_regset): Likewise. Also change the last
650 parameter to a regset instead of a regmap.
651 (s390_linux_fetch_inferior_registers)
652 (390_linux_store_inferior_registers): Adjust last parameter in
653 calls to fetch_regset and store_regset.
654 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
655 (s390_gregmap): ... this. Also make static const and convert to
656 regcache_map_entry format.
657 (s390x_regmap_gregset): Delete.
658 (s390_regmap_fpregset): Rename to...
659 (s390_fpregmap): ... this. Make static const and convert to
660 regcache_map_entry format.
661 (s390_regmap_upper, s390_regmap_last_break)
662 (s390x_regmap_last_break, s390_regmap_system_call)
663 (s390_regmap_tdb): Likewise.
664 (s390_supply_regset, s390_collect_regset): Remove functions.
665 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
666 s390_supply_regset.
667 (s390_gregset, s390_fpregset, s390_upper_regset)
668 (s390_last_break_regset, s390x_last_break_regset)
669 (s390_system_call_regset, s390_tdb_regset): Make global and
670 replace s390_supply/_collect_regset by regcache_supply/
671 _collect_regset.
672 (s390x_gregset): Delete.
673 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
674 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
675 (s390_regmap_fpregset, s390_regmap_last_break)
676 (s390x_regmap_last_break, s390_regmap_system_call)
677 (s390_regmap_tdb): Delete global variable declarations.
678 (s390_gregset, s390_fpregset, s390_last_break_regset)
679 (s390x_last_break_regset, s390_system_call_regset)
680 (s390_tdb_regset): New global variable declarations.
681
0b309272
AA
6822014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
683
684 * regcache.c: Include "regset.h".
685 (regcache_transfer_regset): New local function.
686 (regcache_supply_regset, regcache_collect_regset): New functions.
687 * regcache.h (struct regcache_map_entry): New structure.
688 (REGCACHE_MAP_SKIP): New enum value.
689 (regcache_supply_regset, regcache_collect_regset): New prototypes.
690
7fefa8d7
AA
6912014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
692
693 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
694 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
695 (ppc_linux_collect_gregset ): Likewise.
696 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
697 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
698 (ppc_collect_vrregset): Likewise.
699 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
700 Likewise.
701
96c4f946
YQ
7022014-08-07 Yao Qi <yao@codesourcery.com>
703
704 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
705 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
706 * remote.c (remote_read_bytes): Likewise.
707
fffbe6a8
YQ
7082014-08-07 Yao Qi <yao@codesourcery.com>
709
710 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
711
5ee8a82c
YQ
7122014-08-07 Yao Qi <yao@codesourcery.com>
713
714 PR remote/17230
715 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
716 TARGET_XFER_OK instead of 0.
717
bb974a24
GB
7182014-08-07 Gary Benson <gbenson@redhat.com>
719
720 * common/common-defs.h: Include errno.h.
721 * defs.h: Do not include errno.h.
722 * ada-typeprint.c: Likewise.
723 * c-typeprint.c: Likewise.
724 * core-regset.c: Likewise.
725 * corefile.c: Likewise.
726 * corelow.c: Likewise.
727 * event-loop.c: Likewise.
728 * f-typeprint.c: Likewise.
729 * gnu-nat.c: Likewise.
730 * go32-nat.c: Likewise.
731 * i386gnu-nat.c: Likewise.
732 * m2-typeprint.c: Likewise.
733 * nat/linux-btrace.c: Likewise.
734 * p-typeprint.c: Likewise.
735 * procfs.c: Likewise.
736 * remote-sim.c: Likewise.
737 * rs6000-nat.c: Likewise.
738 * target.c: Likewise.
739 * typeprint.c: Likewise.
740 * ui-file.c: Likewise.
741 * valops.c: Likewise.
742 * valprint.c: Likewise.
743
6d3d12eb
GB
7442014-08-07 Gary Benson <gbenson@redhat.com>
745
746 * common/common-defs.h: Include string.h.
747 * aarch64-tdep.c: Do not include string.h.
748 * ada-exp.y: Likewise.
749 * ada-lang.c: Likewise.
750 * ada-lex.l: Likewise.
751 * ada-typeprint.c: Likewise.
752 * ada-valprint.c: Likewise.
753 * aix-thread.c: Likewise.
754 * alpha-linux-tdep.c: Likewise.
755 * alpha-mdebug-tdep.c: Likewise.
756 * alpha-nat.c: Likewise.
757 * alpha-osf1-tdep.c: Likewise.
758 * alpha-tdep.c: Likewise.
759 * alphanbsd-tdep.c: Likewise.
760 * amd64-dicos-tdep.c: Likewise.
761 * amd64-linux-tdep.c: Likewise.
762 * amd64-nat.c: Likewise.
763 * amd64-sol2-tdep.c: Likewise.
764 * amd64fbsd-tdep.c: Likewise.
765 * amd64obsd-tdep.c: Likewise.
766 * arch-utils.c: Likewise.
767 * arm-linux-nat.c: Likewise.
768 * arm-linux-tdep.c: Likewise.
769 * arm-tdep.c: Likewise.
770 * arm-wince-tdep.c: Likewise.
771 * armbsd-tdep.c: Likewise.
772 * armnbsd-nat.c: Likewise.
773 * armnbsd-tdep.c: Likewise.
774 * armobsd-tdep.c: Likewise.
775 * avr-tdep.c: Likewise.
776 * ax-gdb.c: Likewise.
777 * ax-general.c: Likewise.
778 * bcache.c: Likewise.
779 * bfin-tdep.c: Likewise.
780 * breakpoint.c: Likewise.
781 * build-id.c: Likewise.
782 * buildsym.c: Likewise.
783 * c-exp.y: Likewise.
784 * c-lang.c: Likewise.
785 * c-typeprint.c: Likewise.
786 * c-valprint.c: Likewise.
787 * charset.c: Likewise.
788 * cli-out.c: Likewise.
789 * cli/cli-cmds.c: Likewise.
790 * cli/cli-decode.c: Likewise.
791 * cli/cli-dump.c: Likewise.
792 * cli/cli-interp.c: Likewise.
793 * cli/cli-logging.c: Likewise.
794 * cli/cli-script.c: Likewise.
795 * cli/cli-setshow.c: Likewise.
796 * cli/cli-utils.c: Likewise.
797 * coffread.c: Likewise.
798 * common/agent.c: Likewise.
799 * common/buffer.c: Likewise.
800 * common/buffer.h: Likewise.
801 * common/common-utils.c: Likewise.
802 * common/filestuff.c: Likewise.
803 * common/filestuff.c: Likewise.
804 * common/format.c: Likewise.
805 * common/print-utils.c: Likewise.
806 * common/rsp-low.c: Likewise.
807 * common/signals.c: Likewise.
808 * common/vec.h: Likewise.
809 * common/xml-utils.c: Likewise.
810 * core-regset.c: Likewise.
811 * corefile.c: Likewise.
812 * corelow.c: Likewise.
813 * cp-abi.c: Likewise.
814 * cp-name-parser.y: Likewise.
815 * cp-support.c: Likewise.
816 * cp-valprint.c: Likewise.
817 * cris-tdep.c: Likewise.
818 * d-exp.y: Likewise.
819 * darwin-nat.c: Likewise.
820 * dbxread.c: Likewise.
821 * dcache.c: Likewise.
822 * demangle.c: Likewise.
823 * dicos-tdep.c: Likewise.
824 * disasm.c: Likewise.
825 * doublest.c: Likewise.
826 * dsrec.c: Likewise.
827 * dummy-frame.c: Likewise.
828 * dwarf2-frame.c: Likewise.
829 * dwarf2loc.c: Likewise.
830 * dwarf2read.c: Likewise.
831 * elfread.c: Likewise.
832 * environ.c: Likewise.
833 * eval.c: Likewise.
834 * event-loop.c: Likewise.
835 * exceptions.c: Likewise.
836 * exec.c: Likewise.
837 * expprint.c: Likewise.
838 * f-exp.y: Likewise.
839 * f-lang.c: Likewise.
840 * f-typeprint.c: Likewise.
841 * f-valprint.c: Likewise.
842 * fbsd-nat.c: Likewise.
843 * findcmd.c: Likewise.
844 * findvar.c: Likewise.
845 * fork-child.c: Likewise.
846 * frame.c: Likewise.
847 * frv-linux-tdep.c: Likewise.
848 * frv-tdep.c: Likewise.
849 * gdb.c: Likewise.
850 * gdb_bfd.c: Likewise.
851 * gdbarch.c: Likewise.
852 * gdbarch.sh: Likewise.
853 * gdbtypes.c: Likewise.
854 * gnu-nat.c: Likewise.
855 * gnu-v2-abi.c: Likewise.
856 * gnu-v3-abi.c: Likewise.
857 * go-exp.y: Likewise.
858 * go-lang.c: Likewise.
859 * go32-nat.c: Likewise.
860 * guile/guile.c: Likewise.
861 * guile/scm-auto-load.c: Likewise.
862 * hppa-hpux-tdep.c: Likewise.
863 * hppa-linux-nat.c: Likewise.
864 * hppanbsd-tdep.c: Likewise.
865 * hppaobsd-tdep.c: Likewise.
866 * i386-cygwin-tdep.c: Likewise.
867 * i386-dicos-tdep.c: Likewise.
868 * i386-linux-tdep.c: Likewise.
869 * i386-nto-tdep.c: Likewise.
870 * i386-sol2-tdep.c: Likewise.
871 * i386-tdep.c: Likewise.
872 * i386bsd-tdep.c: Likewise.
873 * i386gnu-nat.c: Likewise.
874 * i386nbsd-tdep.c: Likewise.
875 * i386obsd-tdep.c: Likewise.
876 * i387-tdep.c: Likewise.
877 * ia64-libunwind-tdep.c: Likewise.
878 * ia64-linux-nat.c: Likewise.
879 * inf-child.c: Likewise.
880 * inf-ptrace.c: Likewise.
881 * inf-ttrace.c: Likewise.
882 * infcall.c: Likewise.
883 * infcmd.c: Likewise.
884 * inflow.c: Likewise.
885 * infrun.c: Likewise.
886 * interps.c: Likewise.
887 * iq2000-tdep.c: Likewise.
888 * irix5-nat.c: Likewise.
889 * jv-exp.y: Likewise.
890 * jv-lang.c: Likewise.
891 * jv-typeprint.c: Likewise.
892 * jv-valprint.c: Likewise.
893 * language.c: Likewise.
894 * linux-fork.c: Likewise.
895 * linux-nat.c: Likewise.
896 * lm32-tdep.c: Likewise.
897 * m2-exp.y: Likewise.
898 * m2-typeprint.c: Likewise.
899 * m32c-tdep.c: Likewise.
900 * m32r-linux-nat.c: Likewise.
901 * m32r-linux-tdep.c: Likewise.
902 * m32r-rom.c: Likewise.
903 * m32r-tdep.c: Likewise.
904 * m68hc11-tdep.c: Likewise.
905 * m68k-tdep.c: Likewise.
906 * m68kbsd-tdep.c: Likewise.
907 * m68klinux-nat.c: Likewise.
908 * m68klinux-tdep.c: Likewise.
909 * m88k-tdep.c: Likewise.
910 * machoread.c: Likewise.
911 * macrocmd.c: Likewise.
912 * main.c: Likewise.
913 * mdebugread.c: Likewise.
914 * mem-break.c: Likewise.
915 * memattr.c: Likewise.
916 * memory-map.c: Likewise.
917 * mep-tdep.c: Likewise.
918 * mi/mi-cmd-break.c: Likewise.
919 * mi/mi-cmd-disas.c: Likewise.
920 * mi/mi-cmd-env.c: Likewise.
921 * mi/mi-cmd-stack.c: Likewise.
922 * mi/mi-cmd-var.c: Likewise.
923 * mi/mi-cmds.c: Likewise.
924 * mi/mi-console.c: Likewise.
925 * mi/mi-getopt.c: Likewise.
926 * mi/mi-interp.c: Likewise.
927 * mi/mi-main.c: Likewise.
928 * mi/mi-parse.c: Likewise.
929 * microblaze-rom.c: Likewise.
930 * microblaze-tdep.c: Likewise.
931 * mingw-hdep.c: Likewise.
932 * minidebug.c: Likewise.
933 * minsyms.c: Likewise.
934 * mips-irix-tdep.c: Likewise.
935 * mips-linux-tdep.c: Likewise.
936 * mips-tdep.c: Likewise.
937 * mips64obsd-tdep.c: Likewise.
938 * mipsnbsd-tdep.c: Likewise.
939 * mipsread.c: Likewise.
940 * mn10300-linux-tdep.c: Likewise.
941 * mn10300-tdep.c: Likewise.
942 * monitor.c: Likewise.
943 * moxie-tdep.c: Likewise.
944 * mt-tdep.c: Likewise.
945 * nat/linux-btrace.c: Likewise.
946 * nat/linux-osdata.c: Likewise.
947 * nat/linux-procfs.c: Likewise.
948 * nat/linux-ptrace.c: Likewise.
949 * nat/linux-waitpid.c: Likewise.
950 * nbsd-tdep.c: Likewise.
951 * nios2-linux-tdep.c: Likewise.
952 * nto-procfs.c: Likewise.
953 * nto-tdep.c: Likewise.
954 * objc-lang.c: Likewise.
955 * objfiles.c: Likewise.
956 * opencl-lang.c: Likewise.
957 * osabi.c: Likewise.
958 * osdata.c: Likewise.
959 * p-exp.y: Likewise.
960 * p-lang.c: Likewise.
961 * p-typeprint.c: Likewise.
962 * parse.c: Likewise.
963 * posix-hdep.c: Likewise.
964 * ppc-linux-nat.c: Likewise.
965 * ppc-sysv-tdep.c: Likewise.
966 * ppcfbsd-tdep.c: Likewise.
967 * ppcnbsd-tdep.c: Likewise.
968 * ppcobsd-tdep.c: Likewise.
969 * printcmd.c: Likewise.
970 * procfs.c: Likewise.
971 * prologue-value.c: Likewise.
972 * python/py-auto-load.c: Likewise.
973 * python/py-gdb-readline.c: Likewise.
974 * ravenscar-thread.c: Likewise.
975 * regcache.c: Likewise.
976 * registry.c: Likewise.
977 * remote-fileio.c: Likewise.
978 * remote-m32r-sdi.c: Likewise.
979 * remote-mips.c: Likewise.
980 * remote-notif.c: Likewise.
981 * remote-sim.c: Likewise.
982 * remote.c: Likewise.
983 * reverse.c: Likewise.
984 * rs6000-aix-tdep.c: Likewise.
985 * ser-base.c: Likewise.
986 * ser-go32.c: Likewise.
987 * ser-mingw.c: Likewise.
988 * ser-pipe.c: Likewise.
989 * ser-tcp.c: Likewise.
990 * ser-unix.c: Likewise.
991 * serial.c: Likewise.
992 * sh-tdep.c: Likewise.
993 * sh64-tdep.c: Likewise.
994 * shnbsd-tdep.c: Likewise.
995 * skip.c: Likewise.
996 * sol-thread.c: Likewise.
997 * solib-dsbt.c: Likewise.
998 * solib-frv.c: Likewise.
999 * solib-osf.c: Likewise.
1000 * solib-som.c: Likewise.
1001 * solib-spu.c: Likewise.
1002 * solib-target.c: Likewise.
1003 * solib.c: Likewise.
1004 * somread.c: Likewise.
1005 * source.c: Likewise.
1006 * sparc-nat.c: Likewise.
1007 * sparc-sol2-tdep.c: Likewise.
1008 * sparc-tdep.c: Likewise.
1009 * sparc64-tdep.c: Likewise.
1010 * sparc64fbsd-tdep.c: Likewise.
1011 * sparc64nbsd-tdep.c: Likewise.
1012 * sparcnbsd-tdep.c: Likewise.
1013 * spu-linux-nat.c: Likewise.
1014 * spu-multiarch.c: Likewise.
1015 * spu-tdep.c: Likewise.
1016 * stabsread.c: Likewise.
1017 * stack.c: Likewise.
1018 * std-regs.c: Likewise.
1019 * symfile.c: Likewise.
1020 * symmisc.c: Likewise.
1021 * symtab.c: Likewise.
1022 * target.c: Likewise.
1023 * thread.c: Likewise.
1024 * tilegx-linux-nat.c: Likewise.
1025 * tilegx-tdep.c: Likewise.
1026 * top.c: Likewise.
1027 * tracepoint.c: Likewise.
1028 * tui/tui-command.c: Likewise.
1029 * tui/tui-data.c: Likewise.
1030 * tui/tui-disasm.c: Likewise.
1031 * tui/tui-file.c: Likewise.
1032 * tui/tui-layout.c: Likewise.
1033 * tui/tui-out.c: Likewise.
1034 * tui/tui-regs.c: Likewise.
1035 * tui/tui-source.c: Likewise.
1036 * tui/tui-stack.c: Likewise.
1037 * tui/tui-win.c: Likewise.
1038 * tui/tui-windata.c: Likewise.
1039 * tui/tui-winsource.c: Likewise.
1040 * typeprint.c: Likewise.
1041 * ui-file.c: Likewise.
1042 * ui-out.c: Likewise.
1043 * user-regs.c: Likewise.
1044 * utils.c: Likewise.
1045 * v850-tdep.c: Likewise.
1046 * valarith.c: Likewise.
1047 * valops.c: Likewise.
1048 * valprint.c: Likewise.
1049 * value.c: Likewise.
1050 * varobj.c: Likewise.
1051 * vax-tdep.c: Likewise.
1052 * vaxnbsd-tdep.c: Likewise.
1053 * vaxobsd-tdep.c: Likewise.
1054 * windows-nat.c: Likewise.
1055 * xcoffread.c: Likewise.
1056 * xml-support.c: Likewise.
1057 * xstormy16-tdep.c: Likewise.
1058 * xtensa-linux-nat.c: Likewise.
1059
dccbb609
GB
10602014-08-07 Gary Benson <gbenson@redhat.com>
1061
1062 * common/common-defs.h: Include gdb_assert.h.
1063 * aarch64-tdep.c: Do not include gdb_assert.h.
1064 * addrmap.c: Likewise.
1065 * aix-thread.c: Likewise.
1066 * alpha-linux-tdep.c: Likewise.
1067 * alpha-mdebug-tdep.c: Likewise.
1068 * alphanbsd-tdep.c: Likewise.
1069 * amd64-nat.c: Likewise.
1070 * amd64-tdep.c: Likewise.
1071 * amd64bsd-nat.c: Likewise.
1072 * amd64fbsd-nat.c: Likewise.
1073 * amd64fbsd-tdep.c: Likewise.
1074 * amd64nbsd-nat.c: Likewise.
1075 * amd64nbsd-tdep.c: Likewise.
1076 * amd64obsd-nat.c: Likewise.
1077 * amd64obsd-tdep.c: Likewise.
1078 * arch-utils.c: Likewise.
1079 * arm-tdep.c: Likewise.
1080 * armbsd-tdep.c: Likewise.
1081 * auxv.c: Likewise.
1082 * bcache.c: Likewise.
1083 * bfin-tdep.c: Likewise.
1084 * blockframe.c: Likewise.
1085 * breakpoint.c: Likewise.
1086 * bsd-kvm.c: Likewise.
1087 * bsd-uthread.c: Likewise.
1088 * buildsym.c: Likewise.
1089 * c-exp.y: Likewise.
1090 * c-lang.c: Likewise.
1091 * charset.c: Likewise.
1092 * cleanups.c: Likewise.
1093 * cli-out.c: Likewise.
1094 * cli/cli-decode.c: Likewise.
1095 * cli/cli-dump.c: Likewise.
1096 * cli/cli-logging.c: Likewise.
1097 * cli/cli-script.c: Likewise.
1098 * cli/cli-utils.c: Likewise.
1099 * coffread.c: Likewise.
1100 * common/common-utils.c: Likewise.
1101 * common/queue.h: Likewise.
1102 * common/signals.c: Likewise.
1103 * common/vec.h: Likewise.
1104 * complaints.c: Likewise.
1105 * completer.c: Likewise.
1106 * corelow.c: Likewise.
1107 * cp-abi.c: Likewise.
1108 * cp-name-parser.y: Likewise.
1109 * cp-namespace.c: Likewise.
1110 * cp-support.c: Likewise.
1111 * cris-tdep.c: Likewise.
1112 * dbxread.c: Likewise.
1113 * dictionary.c: Likewise.
1114 * doublest.c: Likewise.
1115 * dsrec.c: Likewise.
1116 * dummy-frame.c: Likewise.
1117 * dwarf2-frame-tailcall.c: Likewise.
1118 * dwarf2-frame.c: Likewise.
1119 * dwarf2expr.c: Likewise.
1120 * dwarf2loc.c: Likewise.
1121 * dwarf2read.c: Likewise.
1122 * eval.c: Likewise.
1123 * event-loop.c: Likewise.
1124 * exceptions.c: Likewise.
1125 * expprint.c: Likewise.
1126 * f-valprint.c: Likewise.
1127 * fbsd-nat.c: Likewise.
1128 * findvar.c: Likewise.
1129 * frame-unwind.c: Likewise.
1130 * frame.c: Likewise.
1131 * frv-tdep.c: Likewise.
1132 * gcore.c: Likewise.
1133 * gdb-dlfcn.c: Likewise.
1134 * gdb_bfd.c: Likewise.
1135 * gdbarch.c: Likewise.
1136 * gdbarch.sh: Likewise.
1137 * gdbtypes.c: Likewise.
1138 * gnu-nat.c: Likewise.
1139 * gnu-v3-abi.c: Likewise.
1140 * go-lang.c: Likewise.
1141 * guile/scm-exception.c: Likewise.
1142 * guile/scm-gsmob.c: Likewise.
1143 * guile/scm-lazy-string.c: Likewise.
1144 * guile/scm-math.c: Likewise.
1145 * guile/scm-pretty-print.c: Likewise.
1146 * guile/scm-safe-call.c: Likewise.
1147 * guile/scm-utils.c: Likewise.
1148 * guile/scm-value.c: Likewise.
1149 * h8300-tdep.c: Likewise.
1150 * hppa-hpux-nat.c: Likewise.
1151 * hppa-tdep.c: Likewise.
1152 * hppanbsd-tdep.c: Likewise.
1153 * hppaobsd-tdep.c: Likewise.
1154 * i386-darwin-nat.c: Likewise.
1155 * i386-darwin-tdep.c: Likewise.
1156 * i386-nto-tdep.c: Likewise.
1157 * i386-tdep.c: Likewise.
1158 * i386bsd-nat.c: Likewise.
1159 * i386fbsd-tdep.c: Likewise.
1160 * i386gnu-nat.c: Likewise.
1161 * i386nbsd-tdep.c: Likewise.
1162 * i386obsd-tdep.c: Likewise.
1163 * i387-tdep.c: Likewise.
1164 * ia64-libunwind-tdep.c: Likewise.
1165 * ia64-tdep.c: Likewise.
1166 * inf-ptrace.c: Likewise.
1167 * inf-ttrace.c: Likewise.
1168 * infcall.c: Likewise.
1169 * infcmd.c: Likewise.
1170 * infrun.c: Likewise.
1171 * inline-frame.c: Likewise.
1172 * interps.c: Likewise.
1173 * jv-lang.c: Likewise.
1174 * jv-typeprint.c: Likewise.
1175 * linux-fork.c: Likewise.
1176 * linux-nat.c: Likewise.
1177 * linux-thread-db.c: Likewise.
1178 * m32c-tdep.c: Likewise.
1179 * m32r-linux-nat.c: Likewise.
1180 * m32r-tdep.c: Likewise.
1181 * m68k-tdep.c: Likewise.
1182 * m68kbsd-nat.c: Likewise.
1183 * m68kbsd-tdep.c: Likewise.
1184 * m88k-tdep.c: Likewise.
1185 * machoread.c: Likewise.
1186 * macroexp.c: Likewise.
1187 * macrotab.c: Likewise.
1188 * maint.c: Likewise.
1189 * mdebugread.c: Likewise.
1190 * memory-map.c: Likewise.
1191 * mep-tdep.c: Likewise.
1192 * mi/mi-common.c: Likewise.
1193 * microblaze-tdep.c: Likewise.
1194 * mingw-hdep.c: Likewise.
1195 * mips-linux-nat.c: Likewise.
1196 * mips-linux-tdep.c: Likewise.
1197 * mips-tdep.c: Likewise.
1198 * mips64obsd-tdep.c: Likewise.
1199 * mipsnbsd-tdep.c: Likewise.
1200 * mn10300-linux-tdep.c: Likewise.
1201 * mn10300-tdep.c: Likewise.
1202 * moxie-tdep.c: Likewise.
1203 * mt-tdep.c: Likewise.
1204 * nat/linux-btrace.c: Likewise.
1205 * nat/linux-osdata.c: Likewise.
1206 * nat/linux-ptrace.c: Likewise.
1207 * nat/mips-linux-watch.c: Likewise.
1208 * nios2-linux-tdep.c: Likewise.
1209 * nios2-tdep.c: Likewise.
1210 * objc-lang.c: Likewise.
1211 * objfiles.c: Likewise.
1212 * obsd-nat.c: Likewise.
1213 * opencl-lang.c: Likewise.
1214 * osabi.c: Likewise.
1215 * parse.c: Likewise.
1216 * ppc-linux-nat.c: Likewise.
1217 * ppc-sysv-tdep.c: Likewise.
1218 * ppcfbsd-nat.c: Likewise.
1219 * ppcfbsd-tdep.c: Likewise.
1220 * ppcnbsd-nat.c: Likewise.
1221 * ppcnbsd-tdep.c: Likewise.
1222 * ppcobsd-nat.c: Likewise.
1223 * ppcobsd-tdep.c: Likewise.
1224 * printcmd.c: Likewise.
1225 * procfs.c: Likewise.
1226 * prologue-value.c: Likewise.
1227 * psymtab.c: Likewise.
1228 * python/py-lazy-string.c: Likewise.
1229 * python/py-value.c: Likewise.
1230 * regcache.c: Likewise.
1231 * reggroups.c: Likewise.
1232 * registry.c: Likewise.
1233 * remote-sim.c: Likewise.
1234 * remote.c: Likewise.
1235 * rs6000-aix-tdep.c: Likewise.
1236 * rs6000-tdep.c: Likewise.
1237 * s390-linux-tdep.c: Likewise.
1238 * score-tdep.c: Likewise.
1239 * ser-base.c: Likewise.
1240 * ser-mingw.c: Likewise.
1241 * sh-tdep.c: Likewise.
1242 * sh64-tdep.c: Likewise.
1243 * solib-darwin.c: Likewise.
1244 * solib-spu.c: Likewise.
1245 * solib-svr4.c: Likewise.
1246 * source.c: Likewise.
1247 * sparc-nat.c: Likewise.
1248 * sparc-sol2-tdep.c: Likewise.
1249 * sparc-tdep.c: Likewise.
1250 * sparc64-sol2-tdep.c: Likewise.
1251 * sparc64-tdep.c: Likewise.
1252 * sparc64fbsd-tdep.c: Likewise.
1253 * sparc64nbsd-tdep.c: Likewise.
1254 * sparc64obsd-tdep.c: Likewise.
1255 * sparcnbsd-tdep.c: Likewise.
1256 * sparcobsd-tdep.c: Likewise.
1257 * spu-multiarch.c: Likewise.
1258 * spu-tdep.c: Likewise.
1259 * stabsread.c: Likewise.
1260 * stack.c: Likewise.
1261 * symfile.c: Likewise.
1262 * symtab.c: Likewise.
1263 * target-descriptions.c: Likewise.
1264 * target-memory.c: Likewise.
1265 * target.c: Likewise.
1266 * tic6x-linux-tdep.c: Likewise.
1267 * tic6x-tdep.c: Likewise.
1268 * tilegx-linux-nat.c: Likewise.
1269 * tilegx-tdep.c: Likewise.
1270 * top.c: Likewise.
1271 * tramp-frame.c: Likewise.
1272 * tui/tui-out.c: Likewise.
1273 * tui/tui-winsource.c: Likewise.
1274 * ui-out.c: Likewise.
1275 * user-regs.c: Likewise.
1276 * utils.c: Likewise.
1277 * v850-tdep.c: Likewise.
1278 * valops.c: Likewise.
1279 * value.c: Likewise.
1280 * varobj.c: Likewise.
1281 * vax-nat.c: Likewise.
1282 * xml-syscall.c: Likewise.
1283 * xml-tdesc.c: Likewise.
1284 * xstormy16-tdep.c: Likewise.
1285 * xtensa-linux-nat.c: Likewise.
1286 * xtensa-tdep.c: Likewise.
1287
e76df0d0
GB
12882014-08-07 Gary Benson <gbenson@redhat.com>
1289
1290 * common/common-defs.h: Include common-utils.h.
1291 * defs.h: Do not include common-utils.h.
1292 * common/gdb_assert.h: Likewise.
1293 * darwin-nat.h: Likewise.
1294 * nat/linux-btrace.c: Likewise.
1295 * target/waitstatus.h: Likewise.
1296
4cb9c816
GB
12972014-08-07 Gary Benson <gbenson@redhat.com>
1298
1299 * common/common-defs.h: Include ptid.h.
1300 * defs.h: Do not include ptid.h.
1301 * inferior.h: Likewise.
1302 * infrun.h: Likewise.
1303 * nat/linux-btrace.h: Likewise.
1304 * nat/linux-osdata.h: Likewise.
1305 * target/waitstatus.h: Likewise.
1306
3995eeee
GB
13072014-08-07 Gary Benson <gbenson@redhat.com>
1308
1309 * common/common-defs.h: Include gdb_locale.h.
1310 * defs.h: Do not include gdb_locale.h.
1311
cb9f1a9b
GB
13122014-08-07 Gary Benson <gbenson@redhat.com>
1313
1314 * common/common-defs.h: Include gdb/signals.h.
1315 * defs.h: Do not include gdb/signals.h.
1316
a5fceff8
GB
13172014-08-07 Gary Benson <gbenson@redhat.com>
1318
1319 * common/common-defs.h: Include pathmax.h.
1320 * defs.h: Do not include pathmax.h.
1321
b9391142
GB
13222014-08-07 Gary Benson <gbenson@redhat.com>
1323
1324 * common/common-defs.h: Include libiberty.h.
1325 * defs.h: Do not include libiberty.h.
1326 * common/queue.h: Likewise.
1327 * cp-name-parser.y: Likewise.
1328 * mi/mi-cmd-catch.c: Likewise.
1329 * python/python.c: Likewise.
1330
0e443c87
GB
13312014-08-07 Gary Benson <gbenson@redhat.com>
1332
1333 * common/common-defs.h: Include ansidecl.h.
1334 * defs.h: Do not include ansidecl.h.
1335 * common/buffer.h: Likewise.
1336 * common/common-utils.h: Likewise.
1337
8ebb3f56
GB
13382014-08-07 Gary Benson <gbenson@redhat.com>
1339
1340 * common/common-defs.h: Include stddef.h.
1341 * defs.h: Do not include stddef.h.
1342 * common/common-utils.h: Likewise.
1343 * amd64fbsd-nat.c: Likewise.
1344 * bcache.c: Likewise.
1345 * charset.c: Likewise.
1346 * common/buffer.h: Likewise.
1347 * common/vec.h: Likewise.
1348 * i386bsd-nat.c: Likewise.
1349 * nat/linux-btrace.h: Likewise.
1350 * ppcfbsd-nat.c: Likewise.
1351 * ppcnbsd-tdep.h: Likewise.
1352 * ppcobsd-nat.c: Likewise.
1353 * ppcobsd-tdep.h: Likewise.
1354 * python/py-gdb-readline.c: Likewise.
1355
8980bdf6
GB
13562014-08-07 Gary Benson <gbenson@redhat.com>
1357
1358 * common/common-defs.h: Include stdarg.h.
1359 * defs.h: Do not include stdarg.h.
1360 * ada-lang.c: Likewise.
1361 * common/common-utils.h: Likewise.
1362 * guile/scm-string.c: Likewise.
1363 * guile/scm-utils.c: Likewise.
1364 * m32c-tdep.c: Likewise.
1365
d7096f71
GB
13662014-08-07 Gary Benson <gbenson@redhat.com>
1367
1368 * common/common-defs.h: Include stdlib.h.
1369 * defs.h: Do not include stdlib.h.
1370 * addrmap.c: Likewise.
1371 * bcache.c: Likewise.
1372 * common/buffer.c: Likewise.
1373 * common/common-utils.c: Likewise.
1374 * cp-name-parser.y: Likewise.
1375 * go32-nat.c: Likewise.
1376 * mn10300-linux-tdep.c: Likewise.
1377 * nat/linux-osdata.c: Likewise.
1378 * tui/tui.c: Likewise.
1379 * windows-nat.c: Likewise.
1380
d02f550d
GB
13812014-08-07 Gary Benson <gbenson@redhat.com>
1382
1383 * common/common-defs.h: Include stdio.h.
1384 * defs.h: Do not include stdio.h.
1385 * ada-lang.c: Likewise.
1386 * common/buffer.c: Likewise.
1387 * common/common-utils.c: Likewise.
1388 * cp-name-parser.y: Likewise.
1389 * gnu-nat.c: Likewise.
1390 * go32-nat.c: Likewise.
1391 * i386gnu-nat.c: Likewise.
1392 * proc-api.c: Likewise.
1393 * proc-events.c: Likewise.
1394 * proc-flags.c: Likewise.
1395 * proc-why.c: Likewise.
1396 * python/python-internal.h: Likewise.
1397 * target-memory.c: Likewise.
1398 * tui/tui-io.c: Likewise.
1399 * tui/tui.c: Likewise.
1400
b6d7a4bf
SM
14012014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1402
1403 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1404 (scan_dyntag_auxv): Same.
1405
af19829b
YQ
14062014-08-06 Yao Qi <yao@codesourcery.com>
1407
1408 * amd64-linux-nat.c: Remove duplicated include
1409 "x86-linux-nat.h".
1410 * i386-linux-nat.c: Likewise.
1411
8e07a239
YQ
14122014-08-06 Yao Qi <yao@codesourcery.com>
1413
1414 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1415 operand" with "Special opcode" in comments.
1416
7bfe8241
GB
14172014-08-05 Gary Benson <gbenson@redhat.com>
1418
1419 * interps.c (initialize_interps): Remove prototype.
1420 (interpreter_initialized): Remove static global.
1421 (interp_add): Do not call initialize_interps.
1422 (initialize_interps): Remove function.
1423
d6c95504
GB
14242014-08-05 Gary Benson <gbenson@redhat.com>
1425
1426 * utils.c (vwarning): Remove spurious va_end.
1427
241fd515
AM
14282014-08-05 Alan Modra <amodra@gmail.com>
1429
1430 * charset.c (convert_between_encodings): Cast result of obstack_base.
1431 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1432 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1433 (read_unwind_info): Use size_t for some locals.
1434 * jit.c (finalize_symtab): Likewise.
1435 * utils.c (hashtab_obstack_allocate): Likewise.
1436 * symmisc.c (print_objfile_statistics): Update format strings.
1437
dc304a94
JK
14382014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1439
1440 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1441 (Changes in GDB 7.8): ... here.
1442
3cecbbbe
TT
14432014-08-04 Tom Tromey <tromey@redhat.com>
1444
1445 * target.c (set_targetdebug): New function.
1446 (initialize_targets): Pass set_targetdebug when creating "set
1447 debug target".
1448
6908c509
JB
14492014-08-01 Joel Brobecker <brobecker@adacore.com>
1450
1451 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1452 if detecting a variable-sized field that is not the last field.
1453 Fix struct type length computation.
1454
53e8f97d
JB
14552014-08-01 Joel Brobecker <brobecker@adacore.com>
1456
1457 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1458 Add debug trace.
1459
e068c55d
JB
14602014-08-01 Joel Brobecker <brobecker@adacore.com>
1461
1462 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1463 Remove "+ 8" offset in computation of CHAIN_VMA.
1464
4d4ca2a1
DE
14652014-07-31 Doug Evans <dje@google.com>
1466
1467 * inflow.c (child_terminal_inferior): Add comment.
1468 (child_terminal_ours_for_output): Add comment.
1469 (child_terminal_ours): Add comment.
1470 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1471 (linux_nat_terminal_ours): Add comment.
1472
462f517e
GB
14732014-07-31 Gary Benson <gbenson@redhat.com>
1474
1475 * common/btrace-common.h: Do not include defs.h or server.h.
1476 * nat/mips-linux-watch.h: Likewise.
1477 * gdb-dlfcn.h: Do not include defs.h.
1478 * tracefile.h: Likewise.
1479
74228e77
RM
14802014-07-30 Roland McGrath <mcgrathr@google.com>
1481
1482 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1483
014f9477
TT
14842014-07-30 Tom Tromey <tromey@redhat.com>
1485
1486 * bsd-kvm.c (bsd_kvm_open): Constify.
1487 * corelow.c (core_open): Constify.
1488 * ctf.c (ctf_open): Constify.
1489 * dbug-rom.c (dbug_open): Constify.
1490 * exec.c (exec_open): Constify.
1491 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1492 * microblaze-rom.c (picobug_open): Constify.
1493 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1494 Constify.
1495 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1496 * record-btrace.c (record_btrace_open): Constify.
1497 * record-full.c (record_full_core_open_1, record_full_open_1)
1498 (record_full_open): Constify.
1499 * remote-m32r-sdi.c (m32r_open): Constify.
1500 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1501 (rockhopper_open, lsi_open): Constify.
1502 * remote-sim.c (gdbsim_open): Constify.
1503 * remote.c (remote_open, extended_remote_open, remote_open_1):
1504 Constify.
1505 * target.h (struct target_ops) <to_open>: Make "arg" const.
1506 * tracefile-tfile.c (tfile_open): Constify.
1507
e799154c
TT
15082014-07-30 Tom Tromey <tromey@redhat.com>
1509
1510 * breakpoint.c (map_breakpoint_numbers): Update.
1511 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1512 (get_number_const): New function.
1513 (get_number): Rewrite using get_number_const.
1514 (init_number_or_range): Make "string" const.
1515 (number_is_in_list): Make "list" const.
1516 * cli/cli-utils.h (get_number_const): Declare.
1517 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1518 (init_number_or_range, number_is_in_list): Update.
1519 * printcmd.c (map_display_numbers): Update.
1520 * value.c (value_from_history_ref): Constify.
1521 * value.h (value_from_history_ref): Update.
1522
5f08566b
TT
15232014-07-30 Tom Tromey <tromey@redhat.com>
1524
1525 * corefile.c (hook_type, call_extra_exec_file_hooks)
1526 (specify_exec_file_hook): Constify.
1527 * exec.c (exec_file_attach): Make "filename" const.
1528 * gdbcore.h (deprecated_exec_file_display_hook)
1529 (specify_exec_file_hook, exec_file_attach): Constify.
1530 * main.c (captured_main): Use catch_command_errors_const.
1531
8981c758
TT
15322014-07-30 Tom Tromey <tromey@redhat.com>
1533
1534 * target.c (open_target): New function.
1535 (add_target_with_completer, add_deprecated_target_alias): Use
1536 set_cmd_sfunc, set_cmd_context.
1537 (debug_to_open): Remove.
1538 (setup_target_debug): Update.
1539
a1c7835a
YQ
15402014-07-30 Yao Qi <yao@codesourcery.com>
1541
1542 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1543 comments.
1544 * parse.c (exp_iterate): Update comments.
1545
976411d6
GB
15462014-07-30 Gary Benson <gbenson@redhat.com>
1547
1548 * common/common-defs.h: New file.
1549 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1550 * defs.h: Include common-defs.h.
1551 Do not include config.h or build-gnulib/config.h.
1552
5d4848a4
GB
15532014-07-30 Gary Benson <gbenson@redhat.com>
1554
1555 * common/common-utils.h: Do not include config.h.
1556 * nat/linux-btrace.h: Likewise.
1557
d41f6d8e
GB
15582014-07-30 Gary Benson <gbenson@redhat.com>
1559
1560 * btrace.c: Include defs.h.
1561 * common/ptid.c: Include defs.h or server.h as appropriate.
1562 * nat/mips-linux-watch.c: Likewise.
1563
84202f9c
TT
15642014-07-29 Tom Tromey <tromey@redhat.com>
1565
1566 * target.c (target_is_pushed): Simplify.
1567
2530441c
JB
15682014-07-29 Joel Brobecker <brobecker@adacore.com>
1569
1570 GDB 7.8 released.
1571
7e09a223
YQ
15722014-07-29 Yao Qi <yao@codesourcery.com>
1573
1574 PR gdb/17206
1575 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1576
7ebdbe92
DE
15772014-07-28 Doug Evans <xdje42@gmail.com>
1578
1579 PR guile/17203
1580 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1581 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1582 parameters.
1583
f347ffc9
WN
15842014-07-28 Will Newton <will.newton@linaro.org>
1585
1586 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1587 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1588 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1589 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1590 (THUMB2_EABI_SYSCALL): Likewise.
1591 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1592 struct tramp_frame.
1593 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1594 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1595
37c5f1f7
DE
15962014-07-27 Doug Evans <xdje42@gmail.com>
1597
1598 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1599
0c3abbc7
DE
16002014-07-27 Doug Evans <xdje42@gmail.com>
1601
1602 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1603
e76c5d17
DE
16042014-07-26 Ludovic Courtès <ludo@gnu.org>
1605 Doug Evans <xdje42@gmail.com>
1606
1607 PR guile/17146
1608 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1609 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1610 * configure.ac: Try to use guild to compile an scm file, if it fails
1611 then disable guile support.
1612 * configure: Regenerate.
1613 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1614 GUILE_FILE_LIST.
1615 (GUILE_COMPILED_FILES): New variable.
1616 (GUILE_FILES) Update.
1617 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1618 (stamp-guile): Compile scm files.
1619 * guile/guile.c (boot_guile_support): New function.
1620 (standard_throw_args_p): New function.
1621 (print_standard_throw_error, print_throw_error): New functions.
1622 (handle_boot_error): New function.
1623 (initialize_scheme_side): Rewrite to call boot_guile_support.
1624 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1625 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1626
186fcde0
DE
16272014-07-26 Ludovic Courtès <ludo@gnu.org>
1628 Doug Evans <xdje42@gmail.com>
1629
1630 PR guile/17146
1631 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1632 * guile/lib/gdb/support.scm: New file.
1633 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1634 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1635 All uses updated.
1636 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1637 All uses updated.
1638 (%assert-type): Ditto, and renamed to assert-type.
1639 (%exception-print-style): Delete.
1640
4df42755
DE
16412014-07-26 Doug Evans <xdje42@gmail.com>
1642
1643 PR build/17105
1644 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1645 * configure: Regenerate.
1646 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1647 PYTHON_FILES.
1648 (PYTHON_FILES): New variable.
1649 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1650 (GUILE_FILES): New variable.
1651 (stamp-python, install-python, uninstall-python): Handle empty
1652 file list.
1653 (stamp-guile, install-guile, uninstall-guile): Ditto.
1654
ee7333ae
DE
16552014-07-26 Doug Evans <xdje42@gmail.com>
1656
1657 PR guile/17177
1658 * guile/lib/gdb.scm (pretty-printers): Export.
1659 (set-pretty-printers!): Export.
1660 * guile/lib/gdb/printing.scm (gdb module): Update.
1661 (prepend-pretty-printer!, append-pretty-printer!): Update.
1662 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1663 (pretty_printer_list_var): Delete.
1664 (pretty_printer_list): New static global.
1665 (gdbscm_pretty_printers): New function.
1666 (gdbscm_set_pretty_printers_x): New function.
1667 (ppscm_find_pretty_printer_from_gdb): Update.
1668 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1669 (gdbscm_initialize_pretty_printers): Update.
1670
74edf516
DE
16712014-07-26 Doug Evans <xdje42@gmail.com>
1672
1673 PR 17185
1674 * configure.ac: Add check for header gc/gc.h.
1675 Add check for function setenv.
1676 * configure: Regenerate.
1677 * config.in: Regenerate.
1678 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1679
d54398a7
MR
16802014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1681
1682 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1683 variation in gdbarch matching.
1684
ab16fce8
TT
16852014-07-25 Tom Tromey <tromey@redhat.com>
1686
1687 * exec.c (using_exec_ops): Remove.
1688 (exec_close_1): Update. Remove extraneous block, reindent.
1689 (add_target_sections): Use target_is_pushed.
1690
88056fbb
PA
16912014-07-25 Pedro Alves <palves@redhat.com>
1692
1693 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1694 * monitor.c (monitor_create_inferior): Likewise.
1695 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1696 * remote-sim.c (gdbsim_create_inferior): Likewise.
1697 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1698 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1699 * windows-nat.c (do_initial_windows_stuff): Likewise.
1700
70509625
PA
17012014-07-25 Pedro Alves <palves@redhat.com>
1702
1703 * NEWS: Mention signal passing and "signal" command changes.
1704 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1705 comment.
1706 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1707 call.
1708 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1709 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1710 (jump_command): Adjust clear_proceed_status call.
1711 (signal_command): Warn if other thread that are resumed have
1712 signals that will be delivered. Adjust clear_proceed_status call.
1713 (until_next_command, finish_command)
1714 (proceed_after_attach_callback, attach_command_post_wait)
1715 (attach_command): Adjust clear_proceed_status call.
1716 * infrun.c (proceed_after_vfork_done): Likewise.
1717 (proceed_after_attach_callback): Adjust comment.
1718 (clear_proceed_status_thread): Clear stop_signal if not in pass
1719 state.
1720 (clear_proceed_status_callback): Delete.
1721 (clear_proceed_status): New 'step' parameter. Only clear the
1722 proceed status of threads the command being prepared is about to
1723 resume.
1724 (proceed): If passed in an explicit signal, override stop_signal
1725 with it. Don't pass the last stop signal to the thread we're
1726 resuming.
1727 (init_wait_for_inferior): Adjust clear_proceed_status call.
1728 (switch_back_to_stepped_thread): Clear the signal if it should not
1729 be passed.
1730 * infrun.h (clear_proceed_status): New 'step' parameter.
1731 (user_visible_resume_ptid): Add comment.
1732 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1733 signal is in pass state.
1734 * remote.c (append_pending_thread_resumptions): Likewise.
1735 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1736
d8be2939
TT
17372014-07-25 Tom Tromey <tromey@redhat.com>
1738
1739 * target.h (target_stopped_data_address)
1740 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1741 parentheses.
1742
7d0d9d2b
PL
17432014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1744
1745 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1746 comments.
1747 (avr_pointer_to_address): Likewise.
1748
e9e7f724
TT
17492014-07-24 Tom Tromey <tromey@redhat.com>
1750
1751 * monitor.c (compile_pattern): Update.
1752 * target.h (struct target_ops) <to_shortname, to_longname,
1753 to_doc>: Now const.
1754
1947513d
TT
17552014-07-24 Tom Tromey <tromey@redhat.com>
1756
1757 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1758 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1759 (add_info_alias, add_com): Make "doc" const.
1760 (print_doc_line): Make "str" const.
1761 (delete_cmd): Update.
1762 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1763 (print_doc_line): Update.
1764 * cli/cli-script.c (document_command): Update.
1765 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1766 (add_com, add_info, add_info_alias): Update.
1767 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1768 * python/py-cmd.c (cmdpy_destroyer): Update.
1769
64e61d29
TT
17702014-07-24 Tom Tromey <tromey@redhat.com>
1771
1772 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1773 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1774 (help_cmd_list): Constify.
1775 (lookup_cmd): Update.
1776 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1777 const.
1778 (help_cmd_list, apropos_cmd): Update.
1779 * cli/cli-script.c (show_user): Update.
1780 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1781 * cli/cli-setshow.h (cmd_show_list): Update.
1782 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1783 (cmd_show_list): Update.
1784 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1785 * python/py-cmd.c (cmdpy_destroyer): Update.
1786
429e55ea
TT
17872014-07-24 Tom Tromey <tromey@redhat.com>
1788
1789 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1790 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1791 const.
1792 * command.h (deprecate_cmd): Update.
1793 * maint.c (maintenance_do_deprecate): Add casts.
1794
64669f3b
TT
17952014-07-24 Tom Tromey <tromey@redhat.com>
1796
1797 * cli/cli-decode.c (help_cmd): Make parameter "const".
1798 * cli/cli-decode.h (help_cmd): Update.
1799
d3d3328b
TT
18002014-07-24 Tom Tromey <tromey@redhat.com>
1801
1802 * stack.c (up_silently_base, down_silently_base): Make argument
1803 const.
1804
414842dc
TT
18052014-07-24 Tom Tromey <tromey@redhat.com>
1806
1807 * solib.c (solib_add): Make "pattern" const.
1808 * solib.h (solib_add): Update.
1809
baa336ce
TT
18102014-07-24 Tom Tromey <tromey@redhat.com>
1811
1812 * remote.c (remote_serial_open, print_packet, putpkt)
1813 (putpkt_binary): Constify.
1814 * remote.h (putpkt): Update.
1815
5a19e2d0
TT
18162014-07-24 Tom Tromey <tromey@redhat.com>
1817
1818 * monitor.c (monitor_open): Make "args" const.
1819 * monitor.h (monitor_open): Update.
1820
fc4baa5e
TT
18212014-07-24 Tom Tromey <tromey@redhat.com>
1822
1823 * maint.c (match_bfd_flags): Make "string" const.
1824 (print_bfd_section_info): Remove casts.
1825 (print_objfile_section_info): Make "string" const.
1826
0d5f0dbe
TT
18272014-07-24 Tom Tromey <tromey@redhat.com>
1828
1829 * inf-child.c (inf_child_open_target): Make "arg" const.
1830 * inf-child.h (inf_child_open_target): Update.
1831
41c77899
TT
18322014-07-24 Tom Tromey <tromey@redhat.com>
1833
1834 * environ.c (unset_in_environ): Make "var" const.
1835 * environ.h (unset_in_environ): Update.
1836
93db0d79
TT
18372014-07-24 Tom Tromey <tromey@redhat.com>
1838
1839 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1840 Make "cmd" const.
1841 (scan_filename_with_cleanup): Likewise.
1842 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1843 Make arguments const.
1844 (restore_command): Update.
1845
36d6eb95
PA
18462014-07-24 Pedro Alves <palves@redhat.com>
1847
1848 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1849
8009206a
TT
18502014-07-24 Tom Tromey <tromey@redhat.com>
1851 Gary Benson <gbenson@redhat.com>
1852
1853 * nat/linux-ptrace.c (additional_flags): New global.
1854 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1855 additional_flags; don't check GDBSERVER.
1856 (linux_ptrace_set_additional_flags): New function.
1857 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1858 Declare.
1859 * linux-nat.c (_initialize_linux_nat): Call
1860 linux_ptrace_set_additional_flags.
1861
a7068b60
TT
18622014-07-24 Tom Tromey <tromey@redhat.com>
1863
1864 * make-target-delegates (munge_type, write_debugmethod): New
1865 functions.
1866 (debug_names): New global.
1867 ($TARGET_DEBUG_PRINTER): New global.
1868 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1869 name.
1870 Write debug methods. Generate init_debug_target.
1871 * target-debug.h: New file.
1872 * target-delegates.c: Rebuild.
1873 * target.c: Include target-debug.h.
1874 (debug_target): Hoist definition.
1875 (target_kill, target_get_section_table, target_memory_map)
1876 (target_flash_erase, target_flash_done, target_detach)
1877 (target_disconnect, target_wait, target_resume)
1878 (target_pass_signals, target_program_signals, target_follow_fork)
1879 (target_mourn_inferior, target_search_memory)
1880 (target_thread_address_space, target_close)
1881 (target_find_new_threads, target_core_of_thread)
1882 (target_verify_memory, target_insert_mask_watchpoint)
1883 (target_remove_mask_watchpoint): Remove targetdebug code.
1884 (debug_to_post_attach, debug_to_prepare_to_store)
1885 (debug_to_files_info, debug_to_insert_breakpoint)
1886 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1887 (debug_to_region_ok_for_hw_watchpoint)
1888 (debug_to_can_accel_watchpoint_condition)
1889 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1890 (debug_to_watchpoint_addr_within_range)
1891 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1892 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1893 (debug_to_terminal_init, debug_to_terminal_inferior)
1894 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1895 (debug_to_terminal_save_ours, debug_to_terminal_info)
1896 (debug_to_load, debug_to_post_startup_inferior)
1897 (debug_to_insert_fork_catchpoint)
1898 (debug_to_remove_fork_catchpoint)
1899 (debug_to_insert_vfork_catchpoint)
1900 (debug_to_remove_vfork_catchpoint)
1901 (debug_to_insert_exec_catchpoint)
1902 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1903 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1904 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1905 (setup_target_debug): Call init_debug_target.
1906 * target.h (TARGET_DEBUG_PRINTER): New macro.
1907 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1908 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1909
2c51604d
GB
19102014-07-24 Gary Benson <gbenson@redhat.com>
1911
1912 * exceptions.h (throw_vfatal): Renamed to...
1913 (throw_vquit): New declaration.
1914 (throw_quit): Likewise.
1915 * exceptions.c (throw_vfatal): Renamed to...
1916 (throw_vquit): New function.
1917 (throw_quit): Likewise.
1918 (throw_error): Call throw_verror rather than throw_it.
1919 * utils.h (vfatal): Removed.
1920 (fatal): Likewise.
1921 * utils.c (vfatal): Removed.
1922 (fatal): Likewise.
1923 (internal_verror): Replaced call to fatal with call to throw_quit.
1924 (quit): Replaced calls to fatal with calls to throw_quit.
1925
34211963
ME
19262014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1927
1928 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1929 target_read_code.
1930
a52b4d3e
ME
19312014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1932
1933 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1934 less than zero in conditional expression.
1935
a8bdc56b
TT
19362014-07-23 Tom Tromey <tromey@redhat.com>
1937
1938 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1939 ($INTRO_PART): Don't match whitespace.
1940 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1941 argument matching.
1942 ($METHOD): Add $METHOD_TRAILER.
1943 (trim): Rewrite.
1944 (scan_target_h): New sub.
1945 Change main loop not to collect state.
1946 * target-delegates.c: Rebuild.
1947
91b52240
GB
19482014-07-23 Gary Benson <gbenson@redhat.com>
1949
1950 * cp-support.c (gdb_demangle): Fix build on systems without
1951 sigaltstack.
1952
45326f6f
JK
19532014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1954
1955 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
1956 for reference entry value target data value.
1957
e214cf6c
JK
19582014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1959
1960 * stack.c (read_frame_arg): Verify value_optimized_out before calling
1961 value_available_contents_eq.
1962
bddbbedd
PA
19632014-07-22 Pedro Alves <palves@redhat.com>
1964
1965 * value.c (allocate_optimized_out_value): Don't mark value as
1966 non-lazy.
1967
45c71484
JW
19682014-07-22 Jiong Wang <jiong.wang@arm.com>
1969
1970 * MAINTAINERS (Write After Approval): Update my email address.
1971
9597b22a
DE
19722014-07-20 Doug Evans <dje@google.com>
1973
1974 PR server/17147
1975 * remote.c (putpkt_binary): Add text to error message.
1976
91101fe5
YQ
19772014-07-20 Yao Qi <yao@codesourcery.com>
1978
1979 * eval.c: Remove "Chill" from comments.
1980 * gdbtypes.h: Likewise.
1981 * symtab.h: Likewise.
1982
c9402c95
YQ
19832014-07-20 Yao Qi <yao@codesourcery.com>
1984
1985 * std-operator.def: Update comments to TERNOP_SLICE.
1986
ae8fddda
YQ
19872014-07-20 Yao Qi <yao@codesourcery.com>
1988
1989 * std-operator.def: Remove BINOP_RANGE.
1990 * breakpoint.c (watchpoint_exp_is_const): Update.
1991 * expprint.c (dump_subexp_body_standard): Likewise.
1992 * eval.c (init_array_element): Remove dead code.
1993 (evaluate_subexp_standard): Likewise.
1994
9c816640
YQ
19952014-07-20 Yao Qi <yao@codesourcery.com>
1996
1997 * std-operator.def: Remove BINOP_IN.
1998 * breakpoint.c (watchpoint_exp_is_const): Update.
1999 * eval.c (evaluate_subexp_standard): Likewise.
2000 * expprint.c (dump_subexp_body_standard): Likewise.
2001
164224e9
ME
20022014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2003
2004 * microblaze-tdep.c (microblaze_register_names): Add
2005 the rshr and rslr register names.
2006 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2007 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2008 Use of tdesc_numbered_register. Use of
2009 microblaze_register_g_packet_guesses. Use of
2010 tdesc_use_registers. Use of set_gdbarch_register_type.
2011 (microblaze_register_g_packet_guesses): New.
2012 * microblaze-tdep.h (microblaze_reg_num): Add
2013 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2014 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2015 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2016 * features/microblaze-core.xml: New file.
2017 * features/microblaze-stack-protect.xml: New file.
2018 * features/microblaze-with-stack-protect.c: New file.
2019 * features/microblaze-with-stack-protect.xml: New file.
2020 * features/microblaze.xml: New file.
2021 * features/microblaze.c: New file.
2022 * features/Makefile (microblaze-with-stack-protect): Add
2023 microblaze-with-stack-protect microblaze and microblaze-expedite.
2024 * regformats/microblaze-with-stack-protect.dat: New file.
2025 * regformats/microblaze.dat: New file.
2026 * doc/gdb.texinfo (MicroBlaze Features): Added.
2027
e8b2341c
TT
20282014-07-18 Tom Tromey <tromey@redhat.com>
2029
2030 * exec.c (exec_ops): Now static.
2031 * exec.h (exec_ops): Don't declare.
2032
44e89118
TT
20332014-07-18 Tom Tromey <tromey@redhat.com>
2034
2035 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2036 to find_target_beneath.
2037 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2038 find_target_beneath.
2039 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2040
b0ed115f
TT
20412014-07-18 Tom Tromey <tromey@redhat.com>
2042
2043 PR gdb/17130:
2044 * utils.c (quit): Use target_supports_terminal_ours.
2045 * target.h (target_supports_terminal_ours): Declare.
2046 * target.c (target_supports_delete_record): Don't check
2047 to_delete_record against NULL.
2048 (target_supports_terminal_ours): New function.
2049
e75fdfca
TT
20502014-07-18 Tom Tromey <tromey@redhat.com>
2051
2052 PR gdb/17130:
2053 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2054 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2055 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2056 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2057 * windows-nat.c (windows_xfer_partial): Always delegate.
2058 * record-btrace.c (record_btrace_xfer_partial): Simplify
2059 delegation.
2060 (record_btrace_fetch_registers, record_btrace_store_registers)
2061 (record_btrace_prepare_to_store, record_btrace_resume)
2062 (record_btrace_wait, record_btrace_find_new_threads)
2063 (record_btrace_thread_alive): Likewise.
2064 * procfs.c (procfs_xfer_partial): Always delegate.
2065 * corelow.c (core_xfer_partial): Always delegate.
2066 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2067
83814951
TT
20682014-07-18 Tom Tromey <tromey@redhat.com>
2069
2070 * exec.c (exec_make_note_section): Move earlier.
2071
b8b8facf
DE
20722014-07-17 Doug Evans <dje@google.com>
2073
74b49205 2074 PR gdb/17170
b8b8facf
DE
2075 * maint.c (count_symtabs_and_blocks): Handle NULL
2076 current_program_space.
2077 (report_command_stats): Check global enabled flag in addition to
2078 recorded enabled flag.
2079 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2080
69ff6be5
PA
20812014-07-16 Pedro Alves <palves@redhat.com>
2082
2083 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2084
252db1b5
TT
20852014-07-16 Tom Tromey <tromey@redhat.com>
2086
2087 * target.h (struct target_ops) <to_delete_record>: Reformat
2088 comment.
2089
a432721e
TT
20902014-07-16 Tom Tromey <tromey@redhat.com>
2091
2092 * target-delegates.c: Rebuild.
2093
487d9753
PL
20942014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2095
2096 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2097 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2098 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2099 (avr_pointer_to_address): Likewise.
2100 (avr_address_class_type_flags): New function.
2101 (avr_address_class_type_flags_to_name): Likewise.
2102 (avr_address_class_name_to_type_flags): Likewise.
2103 (avr_gdbarch_init): Set address_class_type_flags,
2104 address_class_type_flags_to_name and
2105 address_class_name_to_type_flags.
2106
57745c90
PA
21072014-07-15 Pedro Alves <palves@redhat.com>
2108
2109 * linux-nat.c (kill_callback): Save errno and work with saved
2110 copy.
2111
2d40be18
SM
21122014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2113
2114 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2115
572f6555
EBM
21162014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2117
2118 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2119 breakpoint support correctly.
2120
cc1c52ad
PA
21212014-07-14 Pedro Alves <palves@redhat.com>
2122
2123 * utils.c (prompt_for_continue): Call target_terminal_ours.
2124
1e973570
PA
21252014-07-14 Pedro Alves <palves@redhat.com>
2126
2127 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2128 catch_errors. Don't re-enable stdin or notify observers where,
2129 and rethrow error.
2130 (fetch_inferior_event_wrapper): Delete.
2131
93d6eb10
PA
21322014-07-14 Pedro Alves <palves@redhat.com>
2133
2134 PR gdb/17072
2135 * top.c: Include "inf-loop.h".
2136 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2137 field.
2138 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2139 was async before.
2140 (gdb_readline_wrapper): Store whether the target is async, and
2141 make it sync.
2142
0017922d
PA
21432014-07-14 Pedro Alves <palves@redhat.com>
2144
2145 PR gdb/17072
2146 * top.c (gdb_readline_wrapper_line): Tweak comment.
2147 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2148 the input handler callback.
2149
94696ad3
PA
21502014-07-14 Pedro Alves <palves@redhat.com>
2151
2152 PR gdb/17072
2153 * main.c: Include event-top.h.
2154 (handle_command_errors): New function.
2155 (catch_command_errors, catch_command_errors_const): Use it.
2156
9d1e69a2
PA
21572014-07-14 Pedro Alves <palves@redhat.com>
2158
2159 * exceptions.c (catch_command_errors, catch_command_errors_const):
2160 Moved to main.c.
2161 * exceptions.h (catch_command_errors_ftype)
2162 (catch_command_errors_const_ftype): Moved to main.c.
2163 (catch_command_errors, catch_command_errors_const): Delete
2164 declarations.
2165 * main.c (catch_command_errors_ftype)
2166 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2167 (catch_command_errors, catch_command_errors_const)): Moved here
2168 from exceptions.c and make static.
2169
feefc97b
PA
21702014-07-14 Pedro Alves <palves@redhat.com>
2171
2172 * exceptions.c (print_any_exception): Delete.
2173 (catch_exceptions_with_msg): Use exception_print instead of
2174 print_any_exception.
2175 (catch_errors): Use exception_fprintf instead of
2176 print_any_exception.
2177 (catch_command_errors, catch_command_errors_const): Use
2178 exception_print instead of print_any_exception.
2179
c933f875
PA
21802014-07-14 Pedro Alves <palves@redhat.com>
2181
2182 * infcall.c (run_inferior_call): Set 'sync_execution' while
2183 running the inferior call.
2184
feb6f816
PA
21852014-07-14 Pedro Alves <palves@redhat.com>
2186
2187 * value.c (value_contents_equal): Delete function.
2188 * value.h (value_contents_equal): Delete declaration.
2189
d98b7a16
TT
21902014-07-14 Tom Tromey <tromey@redhat.com>
2191
2192 PR exp/17106:
2193 * gdbtypes.c (is_dynamic_type_internal): New function, from
2194 is_dynamic_type.
2195 (is_dynamic_type): Rewrite.
2196 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2197 (resolve_dynamic_struct): Likewise.
2198 (resolve_dynamic_type_internal): New function, from
2199 resolve_dynamic_type.
2200 (resolve_dynamic_type): Rewrite.
2201
548740d6
TT
22022014-07-14 Tom Tromey <tromey@redhat.com>
2203
2204 * target.c (target_require_runnable): Also check record_stratum.
2205 Update comment.
2206
808f7ab1
YQ
22072014-07-11 Yao Qi <yao@codesourcery.com>
2208
2209 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2210 thumb_instruction_restores_sp return true.
2211
540314bd
YQ
22122014-07-11 Yao Qi <yao@codesourcery.com>
2213
2214 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2215 (thumb_in_function_epilogue_p): Call
2216 thumb_instruction_restores_sp.
2217
1db01f22
YQ
22182014-07-11 Yao Qi <yao@codesourcery.com>
2219
2220 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2221 'add sp, #imm'.
2222 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2223
3116063b
GB
22242014-07-11 Gary Benson <gbenson@redhat.com>
2225
2226 * amd64-linux-nat.c (gdbcore.h): Remove include.
2227 (regset.h): Likewise.
2228 (nat/linux-btrace.h): Likewise.
2229 (btrace.h): Likewise.
2230 (gdb_assert.h): Likewise.
2231 (string.h): Likewise.
2232 (sys/uio.h): Likewise.
2233 (sys/debugreg.h): Likewise.
2234 (sys/syscall.h): Likewise.
2235 (sys/procfs.h): Likewise.
2236 (sys/user.h): Likewise.
2237 (asm/ptrace.h): Likewise.
2238 (i386-nat.h): Likewise.
2239 * i386-linux-nat.c (i386-nat.h): Likewise.
2240 (regset.h): Likewise.
2241 (target.h): Likewise.
2242 (linux-nat.h): Likewise.
2243 (nat/linux-btrace.h): Likewise.
2244 (btrace.h): Likewise.
2245 (gdb_assert.h): Likewise.
2246 (string.h): Likewise.
2247 (sys/uio.h): Likewise.
2248 (sys/user.h): Likewise.
2249 (sys/procfs.h): Likewise.
2250 (sys/reg.h): Likewise.
2251 (sys/debugreg.h): Likewise.
2252 (ORIG_EAX): Remove definition.
2253
040baaf6
GB
22542014-07-11 Gary Benson <gbenson@redhat.com>
2255
2256 * i386-linux-nat.h: New file.
2257 * x86-linux-nat.h: Likewise.
2258 * x86-linux-nat.c: Likewise.
2259 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2260 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2261 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2262 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2263 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2264 (PTRACE_SETREGSET): Likewise.
2265 (arch_lwp_info): Now in x86-linux-nat.c.
2266 (have_ptrace_getregset): Now in x86-linux-nat.h.
2267 (x86_linux_dr_get): Now in x86-linux-nat.c.
2268 (x86_linux_dr_set): Likewise.
2269 (x86_linux_dr_get_addr): Likewise.
2270 (x86_linux_dr_get_control): Likewise.
2271 (x86_linux_dr_get_status): Likewise.
2272 (update_debug_registers_callback): Likewise.
2273 (x86_linux_dr_set_control): Likewise.
2274 (x86_linux_dr_set_addr): Likewise.
2275 (x86_linux_prepare_to_resume): Likewise.
2276 (x86_linux_new_thread): Likewise.
2277 (x86_linux_new_fork): Likewise.
2278 (x86_linux_get_thread_area): Likewise.
2279 (super_post_startup_inferior): Likewise.
2280 (x86_linux_child_post_startup_inferior): Likewise.
2281 (AMD64_LINUX_USER64_CS): Likewise.
2282 (AMD64_LINUX_X32_DS): Likewise.
2283 (x86_linux_read_description): Likewise.
2284 (x86_linux_enable_btrace): Likewise.
2285 (x86_linux_disable_btrace): Likewise.
2286 (x86_linux_teardown_btrace): Likewise.
2287 (x86_linux_read_btrace): Likewise.
2288 (x86_linux_create_target): Likewise.
2289 (x86_linux_add_target): Likewise.
2290 * i386-linux-nat.c (x86-linux-nat.h): New include.
2291 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2292 (PTRACE_SETREGSET): Likewise.
2293 (arch_lwp_info): Now in x86-linux-nat.c.
2294 (have_ptrace_getregset): Now in x86-linux-nat.h.
2295 (x86_linux_dr_get): Now in x86-linux-nat.c.
2296 (x86_linux_dr_set): Likewise.
2297 (x86_linux_dr_get_addr): Likewise.
2298 (x86_linux_dr_get_control): Likewise.
2299 (x86_linux_dr_get_status): Likewise.
2300 (update_debug_registers_callback): Likewise.
2301 (x86_linux_dr_set_control): Likewise.
2302 (x86_linux_dr_set_addr): Likewise.
2303 (x86_linux_prepare_to_resume): Likewise.
2304 (x86_linux_new_thread): Likewise.
2305 (x86_linux_new_fork): Likewise.
2306 (x86_linux_get_thread_area): Likewise.
2307 (super_post_startup_inferior): Likewise.
2308 (x86_linux_child_post_startup_inferior): Likewise.
2309 (AMD64_LINUX_USER64_CS): Likewise.
2310 (AMD64_LINUX_X32_DS): Likewise.
2311 (x86_linux_read_description): Likewise.
2312 (x86_linux_enable_btrace): Likewise.
2313 (x86_linux_disable_btrace): Likewise.
2314 (x86_linux_teardown_btrace): Likewise.
2315 (x86_linux_read_btrace): Likewise.
2316 (x86_linux_create_target): Likewise.
2317 (x86_linux_add_target): Likewise.
2318
1aa7e42c
GB
23192014-07-11 Gary Benson <gbenson@redhat.com>
2320
2321 * amd64-linux-nat.c: Comment and whitespace changes.
2322 * i386-linux-nat.c: Comment and whitespace changes.
2323
c1e246a0
GB
23242014-07-11 Gary Benson <gbenson@redhat.com>
2325
2326 * amd64-linux-nat.c (x86_linux_create_target): New function.
2327 (x86_linux_add_target): Likewise.
2328 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2329 * i386-linux-nat.c (x86_linux_create_target): New function.
2330 (x86_linux_add_target): Likewise.
2331 (_initialize_i386_linux_nat): Delegate to the above new functions.
2332
8c420b8d
GB
23332014-07-11 Gary Benson <gbenson@redhat.com>
2334
2335 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2336 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2337 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2338 (ps_get_thread_area): Delegate to the above.
2339
cb1da100
GB
23402014-07-11 Gary Benson <gbenson@redhat.com>
2341
2342 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2343 x86_linux_read_description. All uses updated. amd64-specific
2344 code conditionalized. Conditionalized i386-specific code added.
2345 Redundant cast removed.
2346 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2347 x86_linux_read_description. All uses updated. i386-specific
2348 code conditionalized. Conditionalized amd64-specific code added.
2349 One sizeof replaced with the actual type it is describing.
2350
2acf3cd0
GB
23512014-07-11 Gary Benson <gbenson@redhat.com>
2352
2353 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2354 x86_linux_dr_get. All uses updated.
2355 (amd64_linux_dr_set): Renamed to
2356 x86_linux_dr_set. All uses updated.
2357 (amd64_linux_dr_get_addr): Renamed to
2358 x86_linux_dr_get_addr. All uses updated.
2359 (amd64_linux_dr_get_control): Renamed to
2360 x86_linux_dr_get_control. All uses updated.
2361 (amd64_linux_dr_get_status): Renamed to
2362 x86_linux_dr_get_status. All uses updated.
2363 (amd64_linux_dr_set_control): Renamed to
2364 x86_linux_dr_set_control. All uses updated.
2365 (amd64_linux_dr_set_addr): Renamed to
2366 x86_linux_dr_set_addr. All uses updated.
2367 (amd64_linux_prepare_to_resume): Renamed to
2368 x86_linux_prepare_to_resume. All uses updated.
2369 (amd64_linux_new_thread): Renamed to
2370 x86_linux_new_thread. All uses updated.
2371 (amd64_linux_new_fork): Renamed to
2372 x86_linux_new_fork. All uses updated.
2373 (amd64_linux_child_post_startup_inferior): Renamed to
2374 x86_linux_child_post_startup_inferior. All uses updated.
2375 (amd64_linux_enable_btrace): Renamed to
2376 x86_linux_enable_btrace. All uses updated.
2377 (amd64_linux_disable_btrace): Renamed to
2378 x86_linux_disable_btrace. All uses updated.
2379 (amd64_linux_teardown_btrace): Renamed to
2380 x86_linux_teardown_btrace. All uses updated.
2381 (amd64_linux_read_btrace): Renamed to
2382 x86_linux_read_btrace. All uses updated.
2383 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2384 x86_linux_dr_get. All uses updated.
2385 (i386_linux_dr_set): Renamed to
2386 x86_linux_dr_set. All uses updated.
2387 (i386_linux_dr_get_addr): Renamed to
2388 x86_linux_dr_get_addr. All uses updated.
2389 (i386_linux_dr_get_control): Renamed to
2390 x86_linux_dr_get_control. All uses updated.
2391 (i386_linux_dr_get_status): Renamed to
2392 x86_linux_dr_get_status. All uses updated.
2393 (i386_linux_dr_set_control): Renamed to
2394 x86_linux_dr_set_control. All uses updated.
2395 (i386_linux_dr_set_addr): Renamed to
2396 x86_linux_dr_set_addr. All uses updated.
2397 (i386_linux_prepare_to_resume): Renamed to
2398 x86_linux_prepare_to_resume. All uses updated.
2399 (i386_linux_new_thread): Renamed to
2400 x86_linux_new_thread. All uses updated.
2401 (i386_linux_new_fork): Renamed to
2402 x86_linux_new_fork. All uses updated.
2403 (i386_linux_child_post_startup_inferior): Renamed to
2404 x86_linux_child_post_startup_inferior. All uses updated.
2405 (i386_linux_enable_btrace): Renamed to
2406 x86_linux_enable_btrace. All uses updated.
2407 (i386_linux_disable_btrace): Renamed to
2408 x86_linux_disable_btrace. All uses updated.
2409 (i386_linux_teardown_btrace): Renamed to
2410 x86_linux_teardown_btrace. All uses updated.
2411 (i386_linux_read_btrace): Renamed to
2412 x86_linux_read_btrace. All uses updated.
2413
b9c1d481
AS
24142014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2415
2416 * remote.c (extended_remote_post_attach): New function.
2417 (init_extended_remote_ops): Install it as to_post_attach method.
2418
7180e04a
PA
24192014-07-09 Pedro Alves <palves@redhat.com>
2420
2421 * infcmd.c (attach_command_post_wait): Don't call
2422 target_terminal_inferior here.
2423 (attach_command): Call it here instead.
2424
9a9a7608
AB
24252014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2426
2427 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2428 field.
2429 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2430 from varobj.c, with additional checks.
2431 (c_varobj_ops): Fill in is_path_expr_parent field.
2432 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2433 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2434 field.
2435 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2436 ops method.
2437 (varobj_default_is_path_expr_parent): New function.
2438 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2439 (varobj_default_is_path_expr_parent): Declare new function.
2440
1f267ae3
MM
24412014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2442
2443 * infcmd.c (finish_backward): Turn internal error into normal error.
2444
b2ee242b
PA
24452014-07-07 Pedro Alves <palves@redhat.com>
2446
8a869bca 2447 PR gdb/17096
b2ee242b
PA
2448 * remote.c (async_handle_remote_sigint)
2449 (async_handle_remote_sigint_twice): Call
2450 gdb_call_async_signal_handler instead of
2451 mark_async_signal_handler.
2452
38e229b2
TT
24532014-07-07 Tom Tromey <tromey@redhat.com>
2454
2455 * target-delegates.c: Rebuild.
2456 * target.c (target_info_record): Remove.
2457 * record.c (info_record_command): Unconditionally call
2458 to_info_record.
2459 * target.h (struct target_ops) <to_info_record>: Use
2460 TARGET_DEFAULT_IGNORE.
2461 (target_info_record): Remove.
2462
f0f9ff95
TT
24632014-07-07 Tom Tromey <tromey@redhat.com>
2464
2465 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2466 TARGET_DEFAULT_NORETURN.
2467 * target.c (generic_tls_error): New function.
2468 (target_translate_tls_address): Don't search target stack.
2469 * target-delegates.c: Rebuild.
2470 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2471 stack.
2472 * linux-thread-db.c (thread_db_get_thread_local_address):
2473 Unconditionally call beneath target.
2474
4a5be5ee
MK
24752014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2476
2477 * cli/cli-logging.c (pop_output_files): Assign targerr to
2478 gdb_stdtargerr.
2479
92c3b204
AB
24802014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2481
2482 * MAINTAINERS (Write After Approval): Update my email address.
2483
9b11e3a7
GB
24842014-07-02 Gary Benson <gbenson@redhat.com>
2485
2486 * proc-service.c (ps_xfer_memory): Update comment.
2487 (ps_pstop): Remove unused function.
2488 (ps_pcontinue): Likewise.
2489 (ps_lstop): Likewise.
2490 (ps_lcontinue): Likewise.
2491 (ps_lgetxregsize): Likewise.
2492 (ps_lgetxregs): Likewise.
2493 (ps_lsetxregs): Likewise.
2494 (ps_plog): Likewise.
2495 (ps_ptread): Likewise.
2496 (ps_ptwrite): Likewise.
2497
cf363f18
MW
24982014-07-01 Mark Wielaard <mjw@redhat.com>
2499
2500 * dwarf2read.c (add_array_cv_type): New function.
2501 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2502 (read_tag_volatile_type): Likewise.
2503
82ae6c8d
TT
25042014-07-01 Tom Tromey <tromey@redhat.com>
2505
2506 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2507 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2508 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2509 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2510 * command.h (cmd_cfunc_ftype): Move earlier.
2511 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2512 (add_com, add_info): Use cmd_cfunc_ftype.
2513
96142726
TT
25142014-06-30 Tom Tromey <tromey@redhat.com>
2515
2516 * symtab.c (operator_chars): Make parameters and return type
2517 const.
2518 (file_matches): Make "files" const.
2519 (struct search_symbols_data) <files>: Now const.
2520 (search_symbols): Make "regexp" and "files" parameters const.
2521 Update.
2522 (symtab_symbol_info): Remove cast.
2523 (rbreak_command): Update.
2524 * symtab.h (search_symbols): Update.
2525
b67a2c6f
YQ
25262014-06-27 Yao Qi <yao@codesourcery.com>
2527
2528 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2529 Change parameter type to 'struct thread_info *'. Caller
2530 updated.
2531 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2532 Update declaration.
2533 * dummy-frame.c (struct dummy_frame_id): New.
2534 (dummy_frame_id_eq): New function.
2535 (struct dummy_frame) <id>: Change its type to 'struct
2536 dummy_frame_id'.
2537 (dummy_frame_push): Add parameter ptid and save it in
2538 dummy_frame_id.
2539 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2540 inferior_ptid.
2541 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2542 to inferior_ptid.
2543 (lookup_dummy_frame): Change parameter type to 'struct
2544 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2545 instead of frame_id_eq.
2546 (dummy_frame_pop): Add parameter ptid. Callers updated.
2547 Update comments. Compose dummy_frame_id and pass it to
2548 lookup_dummy_frame.
2549 (dummy_frame_discard): Add parameter ptid.
2550 (dummy_frame_sniffer): Compose dummy_frame_id and call
2551 dummy_frame_id_eq instead of frame_id_eq.
2552 (fprint_dummy_frames): Print ptid.
2553 * dummy-frame.h: Remove comments.
2554 (dummy_frame_push): Add ptid in declaration.
2555 (dummy_frame_pop, dummy_frame_discard): Likewise.
2556
5b10184c
TT
25572014-06-26 Tom Tromey <tromey@redhat.com>
2558
2559 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2560 * command.h (error_no_arg): Update.
2561
06900326
TT
25622014-06-26 Tom Tromey <tromey@redhat.com>
2563
2564 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2565 (do_show_command): Make "arg" const.
2566 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2567
c2bcbb1d
TT
25682014-06-26 Tom Tromey <tromey@redhat.com>
2569
2570 * record-full.c (record_full_get_bookmark): Make "args" const.
2571 (record_full_goto_bookmark): Make "raw_bookmark" const.
2572 * record.c (record_goto): New function.
2573 (cmd_record_goto): Use it. Now static.
2574 * record.h (record_goto): Declare.
2575 (cmd_record_goto): Remove declaration.
2576 * target-delegates.c: Rebuild.
2577 * target.h (struct target_ops) <to_get_bookmark,
2578 to_goto_bookmark>: Make parameter const.
2579
9cbe5fff
TT
25802014-06-26 Tom Tromey <tromey@redhat.com>
2581
2582 * defs.h (generic_load): Update.
2583 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2584 * monitor.c (monitor_load): Make "args" const.
2585 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2586 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2587 const.
2588 (mips_load): Make "file" const.
2589 * remote-sim.c (gdbsim_load): Make "args" const.
2590 * remote.c (remote_load): Make "name" const.
2591 * symfile.c (generic_load): Make "args" const.
2592 * target-delegates.c: Rebuild.
2593 * target.c (target_load): Make "arg" const.
2594 (debug_to_load): Make "args" const.
2595 * target.h (struct target_ops) <to_load>: Make parameter const.
2596 (target_load): Update.
2597
34a68019
TT
25982014-06-26 Tom Tromey <tromey@redhat.com>
2599
2600 PR symtab/16902:
2601 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2602 (dwarf2_physname, read_partial_die)
2603 (guess_partial_die_structure_name, fixup_partial_die)
2604 (guess_full_die_structure_name, anonymous_struct_prefix)
2605 (dwarf2_name): Use per-BFD obstack.
2606
efc889c1
YQ
26072014-06-26 Yao Qi <yao@codesourcery.com>
2608
2609 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2610 dummyframe and this_id into inner block below.
2611
4395285e
YQ
26122014-06-26 Yao Qi <yao@codesourcery.com>
2613
2614 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2615 with "signal_pass[0]" in the initialization of signal_pass.
2616
aef92902
MM
26172014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2618
2619 * record-btrace.c (record_btrace_generating_corefile)
2620 (record_btrace_prepare_to_generate_core)
2621 (record_btrace_done_generating_core): New.
2622 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2623 (record_btrace_store_registers, record_btrace_prepare_to_store):
2624 Forward request when generating a core file.
2625 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2626 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2627 to_done_generating_core.
2628
5fff78c4
MM
26292014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2630
2631 * target.h (target_ops) <to_prepare_to_generate_core>
2632 <to_done_generating_core>: New.
2633 (target_prepare_to_generate_core, target_done_generating_core): New.
2634 * target.c (target_prepare_to_generate_core)
2635 (target_done_generating_core): New.
2636 * target-delegates.c: Regenerate.
2637 * gcore.c: (write_gcore_file): Rename to ...
2638 (write_gcore_file_1): ...this.
2639 (write_gcore_file): Call target_prepare_to_generate_core
2640 and target_done_generating_core.
2641
1d1f1ccb
MM
26422014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2643
2644 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2645 * gcore.c (write_gcore_file): Free memory returned from
2646 make_corefile_notes.
2647 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2648 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2649
3343ef86
YQ
26502014-06-24 Yao Qi <yao@codesourcery.com>
2651
2652 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2653 (arm_linux_init_abi): Set skip_trampoline_code with
2654 gdbarch_skip_trampoline_code instead of
2655 find_solib_trampoline_target.
2656
18d18ac8
YQ
26572014-06-24 Yao Qi <yao@codesourcery.com>
2658
2659 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2660 arm_skip_bx_reg returns non-zero.
2661
80d8d390
YQ
26622014-06-24 Yao Qi <yao@codesourcery.com>
2663
2664 * arm-tdep.c (arm_skip_bx_reg): New function.
2665 (arm_skip_stub): Call arm_skip_bx_reg.
2666
6a18a01c
DB
26672014-06-23 Don Breazeal <donb@codesourcery.com>
2668
2669 * MAINTAINERS: Add myself as write-after-approval maintainer.
2670
8e9db26e
PA
26712014-06-23 Pedro Alves <palves@redhat.com>
2672
2673 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2674 DR_CONTROL before setting DR0..DR3.
2675 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2676 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2677 bits of DR_CONTROL related to the debug register slot being
2678 disabled. If all slots are vacant, clear local slowdown as well,
2679 and assert DR_CONTROL is 0.
2680
70afc5b7
SC
26812014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2682
2683 * python/lib/gdb/command/xmethods.py
2684 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2685 current progspace only if the string "progspace" matches LOCUS_RE.
2686
840ed64d
JK
26872014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2688
2689 Fix --with-system-readline with readline-6.3 patch 5.
2690 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2691 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2692 types.
2693
26f2dc30
TT
26942014-06-20 Tom Tromey <tromey@redhat.com>
2695
2696 * dwarf2read.c (dw2_get_real_path): Use correct type in
2697 OBSTACK_CALLOC.
2698 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2699
125f8a3d
GB
27002014-06-20 Gary Benson <gbenson@redhat.com>
2701
2702 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2703 * common/glibc_thread_db.h: Likewise.
2704 * common/i386-cpuid.h: Likewise.
2705 * common/i386-gcc-cpuid.h: Likewise.
2706 * common/linux-btrace.h: Likewise.
2707 * common/linux-osdata.h: Likewise.
2708 * common/linux-procfs.h: Likewise.
2709 * common/linux-ptrace.h: Likewise.
2710 * common/mips-linux-watch.h: Likewise.
2711 * common/linux-btrace.c: Moved to nat.
2712 * common/linux-osdata.c: Likewise.
2713 * common/linux-procfs.c: Likewise.
2714 * common/linux-ptrace.c: Likewise.
2715 * common/mips-linux-watch.c: Likewise.
2716 * nat/gdb_thread_db.h: Moved from common.
2717 * nat/glibc_thread_db.h: Likewise.
2718 * nat/i386-cpuid.h: Likewise.
2719 * nat/i386-gcc-cpuid.h: Likewise.
2720 * nat/linux-btrace.c: Likewise.
2721 * nat/linux-btrace.h: Likewise.
2722 * nat/linux-osdata.c: Likewise.
2723 * nat/linux-osdata.h: Likewise.
2724 * nat/linux-procfs.c: Likewise.
2725 * nat/linux-procfs.h: Likewise.
2726 * nat/linux-ptrace.c: Likewise.
2727 * nat/linux-ptrace.h: Likewise.
2728 * nat/mips-linux-watch.c: Likewise.
2729 * nat/mips-linux-watch.h: Likewise.
2730 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2731 (object file files): Reordered.
2732 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2733 of glibc_thread_db.h.
2734
42995dbd
GB
27352014-06-20 Gary Benson <gbenson@redhat.com>
2736
2737 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2738 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2739 (i386_dr_low): Likewise.
2740 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2741 (i386_dr_low_set_addr): Likewise.
2742 (i386_dr_low_get_addr): Likewise.
2743 (i386_dr_low_can_set_control): Likewise.
2744 (i386_dr_low_set_control): Likewise.
2745 (i386_dr_low_get_control): Likewise.
2746 (i386_dr_low_get_status): Likewise.
2747 (i386_get_debug_register_length): Likewise.
2748 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2749 (i386_dr_low): Likewise.
2750 * nat/i386-dregs.c (i386-low.h): Remove include.
2751 (i386-nat.h): Likewise.
2752 (nat/i386-dregs.h): New include.
2753 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2754 (i386_dr_low_set_addr): Likewise.
2755 (i386_dr_low_get_addr): Likewise.
2756 (i386_dr_low_can_set_control): Likewise.
2757 (i386_dr_low_set_control): Likewise.
2758 (i386_dr_low_get_control): Likewise.
2759 (i386_dr_low_get_status): Likewise.
2760 (i386_get_debug_register_length): Likewise.
2761 (debug_hw_points): Likewise.
2762
3ed9baed
IB
27632014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2764
2765 * Makefile.in (SFILES): Add d-exp.y.
2766 (YYFILES): Add d-exp.c.
2767 (YYOBJ): Add d-exp.o.
2768 (local-maintainer-clean): Delete d-exp.c.
2769 * d-exp.y: New file.
2770 * d-lang.h (d_parse): New declaration.
2771 (d_error): New declaration.
2772 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2773 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2774 PREC_ORDER operators.
2775 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2776
78c164b0
YQ
27772014-06-19 Yao Qi <yao@codesourcery.com>
2778
2779 * gdbthread.h (any_running): Remove the declaration.
2780 * thread.c (any_running): Remove.
2781
f6e29b6e
YQ
27822014-06-19 Yao Qi <yao@codesourcery.com>
2783
2784 * gdbthread.h (struct thread_info) <state>: Change its type to
2785 'enum thread_state'. Update comments.
2786
034f788c
PA
27872014-06-19 Pedro Alves <palves@redhat.com>
2788
2789 * gdbthread.h (ALL_THREADS): Delete.
2790 (ALL_NON_EXITED_THREADS): New macro.
2791 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2792 instead of ALL_THREADS.
2793 * infrun.c (find_thread_needs_step_over)
2794 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2795 instead of ALL_THREADS.
2796 * record-btrace.c (record_btrace_open)
2797 (record_btrace_stop_recording, record_btrace_close)
2798 (record_btrace_is_replaying, record_btrace_resume)
2799 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2800 * remote.c (append_pending_thread_resumptions): Likewise.
2801 * thread.c (thread_apply_all_command): Likewise.
2802
46e33252
GB
28032014-06-19 Gary Benson <gbenson@redhat.com>
2804
2805 * i386-nat.c (i386_stopped_by_watchpoint):
2806 Use i386_dr_stopped_by_watchpoint.
2807 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2808 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2809
3a8ee006
GB
28102014-06-19 Gary Benson <gbenson@redhat.com>
2811
2812 * nat/i386-dregs.c: New file.
2813 * Makefile.in (i386-dregs.o): New rule.
2814 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2815 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2816 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2817 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2818 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2819 * config/i386/go32.mh (NATDEPFILES): Likewise.
2820 * config/i386/linux.mh (NATDEPFILES): Likewise.
2821 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2822 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2823 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2824 * i386-nat.h (debug_hw_points): New declaration.
2825 * i386-nat.c (breakpoint.h): Remove include.
2826 (command.h): Likewise.
2827 (target.h): Likewise.
2828 (gdb_assert.h): Likewise.
2829 (debug_hw_points): Made nonstatic.
2830 (debug_printf): Now in i386-dregs.c.
2831 (TARGET_HAS_DR_LEN_8): Likewise.
2832 (DR_CONTROL_SHIFT): Likewise.
2833 (DR_CONTROL_SIZE): Likewise.
2834 (DR_RW_EXECUTE): Likewise.
2835 (DR_RW_WRITE): Likewise.
2836 (DR_RW_READ): Likewise.
2837 (DR_RW_IORW): Likewise.
2838 (DR_LEN_1): Likewise.
2839 (DR_LEN_2): Likewise.
2840 (DR_LEN_4): Likewise.
2841 (DR_LEN_8): Likewise.
2842 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2843 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2844 (DR_ENABLE_SIZE): Likewise.
2845 (DR_LOCAL_SLOWDOWN): Likewise.
2846 (DR_GLOBAL_SLOWDOWN): Likewise.
2847 (DR_CONTROL_RESERVED): Likewise.
2848 (I386_DR_CONTROL_MASK): Likewise.
2849 (I386_DR_VACANT): Likewise.
2850 (I386_DR_LOCAL_ENABLE): Likewise.
2851 (I386_DR_GLOBAL_ENABLE): Likewise.
2852 (I386_DR_DISABLE): Likewise.
2853 (I386_DR_SET_RW_LEN): Likewise.
2854 (I386_DR_GET_RW_LEN): Likewise.
2855 (I386_DR_WATCH_HIT): Likewise.
2856 (i386_wp_op_t): Likewise.
2857 (i386_show_dr): Likewise.
2858 (i386_length_and_rw_bits): Likewise.
2859 (i386_insert_aligned_watchpoint): Likewise.
2860 (i386_remove_aligned_watchpoint): Likewise.
2861 (i386_handle_nonaligned_watchpoint): Likewise.
2862 (i386_update_inferior_debug_regs): Likewise.
2863 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2864 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2865 (i386_region_ok_for_watchpoint):
2866 Use i386_dr_region_ok_for_watchpoint.
2867 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2868
322a8e06
GB
28692014-06-19 Gary Benson <gbenson@redhat.com>
2870
2871 * i386-nat.c (i386_insert_hw_breakpoint): Use
2872 i386_insert_watchpoint.
2873 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2874
8f26655c
GB
28752014-06-19 Gary Benson <gbenson@redhat.com>
2876
2877 * i386-nat.c (i386_dr_show): Renamed to
2878 i386_show_dr and made static. All uses updated.
2879 (i386_dr_length_and_rw_bits): Renamed to
2880 i386_length_and_rw_bits and made static.
2881 All uses updated.
2882 (i386_dr_insert_aligned_watchpoint): Renamed to
2883 i386_insert_aligned_watchpoint and made static.
2884 All uses updated.
2885 (i386_dr_remove_aligned_watchpoint): Renamed to
2886 i386_remove_aligned_watchpoint and made static.
2887 All uses updated.
2888 (i386_dr_update_inferior_debug_regs): Renamed to
2889 i386_update_inferior_debug_regs and made static.
2890 All uses updated.
2891 * nat/i386-dregs.h (i386_dr_show): Removed.
2892 (i386_dr_length_and_rw_bits): Likewise.
2893 (i386_dr_insert_aligned_watchpoint): Likewise.
2894 (i386_dr_remove_aligned_watchpoint): Likewise.
2895 (i386_dr_update_inferior_debug_regs): Likewise.
2896
992c7d70
GB
28972014-06-19 Gary Benson <gbenson@redhat.com>
2898
2899 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2900 * configure: Regenerate.
2901 * config.in: Likewise.
2902 * main.c (signal.h): New include.
2903 (setup_alternate_signal_stack): New function.
2904 (captured_main): Call the above.
2905 * cp-support.c (signal.h): New include.
2906 (catch_demangler_crashes): New flag.
2907 (SIGJMP_BUF): New define.
2908 (SIGSETJMP): Likewise.
2909 (SIGLONGJMP): Likewise.
2910 (gdb_demangle_jmp_buf): New static global.
2911 (gdb_demangle_attempt_core_dump): Likewise.
2912 (gdb_demangle_signal_handler): New function.
2913 (gdb_demangle): If catch_demangler_crashes is set, install the
2914 above signal handler before calling bfd_demangle, and restore
2915 the original signal handler afterwards. Display the offending
2916 symbol and call demangler_warning the first time a segmentation
2917 fault is caught.
2918 (_initialize_cp_support): New maint set/show command.
2919
eae7090b
GB
29202014-06-19 Gary Benson <gbenson@redhat.com>
2921
2922 * utils.h (resource_limit_kind): New enum.
2923 (can_dump_core): New declaration.
2924 (warn_cant_dump_core): Likewise.
2925 (dump_core): Likewise.
2926 * utils.c (dump_core): Made nonstatic. Added new
2927 parameter "limit_kind".
2928 (can_dump_core): Made nonstatic. Moved printing code to...
2929 (warn_cant_dump_core): New function.
2930 (can_dump_core_warn): Likewise.
2931 (internal_vproblem): Replace calls to can_dump_core with
2932 calls to can_dump_core_warn. Supply new argument to each.
2933
57fcfb1b
GB
29342014-06-19 Gary Benson <gbenson@redhat.com>
2935
2936 * utils.h (demangler_vwarning): New declaration.
2937 (demangler_warning): Likewise.
2938 * utils.c (struct internal_problem)
2939 <user_settable_should_quit>: New field.
2940 <user_settable_should_dump_core>: Likewise
2941 (internal_error_problem): Add values for above new fields.
2942 (internal_warning_problem): Likewise.
2943 (demangler_warning_problem): New static global.
2944 (demangler_vwarning): New function.
2945 (demangler_warning): Likewise.
2946 (add_internal_problem_command): Selectively add commands.
2947 (_initialize_utils): New internal problem command.
2948 * maint.c (maintenance_demangler_warning): New function.
2949 (_initialize_maint_cmds): New command.
2950
17a40b44
TT
29512014-06-18 Tom Tromey <tromey@redhat.com>
2952
2953 * f-valprint.c (info_common_command_for_block): Update.
2954 * symtab.h (struct general_symbol_info) <common_block>: Now
2955 const.
2956
346d1dfe
TT
29572014-06-18 Tom Tromey <tromey@redhat.com>
2958
2959 * symtab.h (struct symtab) <blockvector>: Now const.
2960 * ada-lang.c (ada_add_global_exceptions): Update.
2961 * buildsym.c (augment_type_symtab): Update.
2962 * dwarf2read.c (dw2_lookup_symbol): Update.
2963 * jit.c (finalize_symtab): Update.
2964 * jv-lang.c (add_class_symtab_symbol): Update.
2965 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
2966 Update.
2967 * objfiles.c (objfile_relocate1): Update.
2968 * psymtab.c (lookup_symbol_aux_psymtabs)
2969 (maintenance_check_psymtabs): Update.
2970 * python/py-symtab.c (stpy_global_block, stpy_static_block):
2971 Update.
2972 * spu-tdep.c (spu_catch_start): Update.
2973 * symmisc.c (dump_symtab_1): Update.
2974 * symtab.c (lookup_global_symbol_from_objfile)
2975 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
2976 (basic_lookup_transparent_type_quick)
2977 (basic_lookup_transparent_type, find_pc_sect_symtab)
2978 (find_pc_sect_line, search_symbols): Update.
2979 * block.c (find_block_in_blockvector): Make "bl" const.
2980 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
2981 const.
2982 (blockvector_contains_pc): Make "bv" const.
2983 (block_for_pc_sect): Update.
2984 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
2985 (blockvector_contains_pc): Update.
2986 * breakpoint.c (resolve_sal_pc): Update.
2987 * inline-frame.c (block_starting_point_at): Update.
2988
1834676b
TT
29892014-06-18 Tom Tromey <tromey@redhat.com>
2990
2991 * completer.c (complete_line): Make "line_buffer" const.
2992 * completer.h (complete_line): Update.
2993
ac1a991b
TT
29942014-06-18 Tom Tromey <tromey@redhat.com>
2995
2996 * symtab.c (add_macro_name): Remove unneeded cast.
2997
5bc98e52
TT
29982014-06-18 Tom Tromey <tromey@redhat.com>
2999
3000 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3001 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3002
8236def8
TT
30032014-06-18 Tom Tromey <tromey@redhat.com>
3004
3005 * probe.c (info_probes_for_ops): Make "arg" const.
3006 * probe.h (info_probes_for_ops): Update.
3007
3977b71f
TT
30082014-06-18 Tom Tromey <tromey@redhat.com>
3009
3010 * varobj.c (varobj_create): Update.
3011 * valops.c (value_of_this): Update.
3012 * tracepoint.c (add_local_symbols, scope_info): Update.
3013 * symtab.h (struct general_symbol_info) <block>: Now const.
3014 * symtab.c (skip_prologue_sal)
3015 (default_make_symbol_completion_list_break_on)
3016 (skip_prologue_using_sal): Update.
3017 * stack.h (iterate_over_block_locals)
3018 (iterate_over_block_local_vars): Update.
3019 * stack.c (print_frame_args): Update.
3020 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3021 parameter const.
3022 (get_selected_block): Make return type const.
3023 * python/py-frame.c (frapy_block): Update.
3024 * python/py-block.c (gdbpy_block_for_pc): Update.
3025 * p-exp.y (%union) <bval>: Now const.
3026 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3027 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3028 * m2-exp.y (%union) <bval>: Now const.
3029 * linespec.c (get_current_search_block): Make return type const.
3030 (create_sals_line_offset, find_label_symbols): Update.
3031 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3032 Update.
3033 (block_starting_point_at): Make "block" const.
3034 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3035 (check_exception_resume): Update.
3036 * guile/scm-frame.c (gdbscm_frame_block): Update.
3037 * guile/scm-block.c (gdbscm_lookup_block): Update.
3038 * frame.h (get_frame_block): Update.
3039 (get_selected_block): Make return type const.
3040 * frame.c (frame_id_inner): Update.
3041 * f-valprint.c (info_common_command_for_block)
3042 (info_common_command): Update.
3043 * dwarf2loc.c (dwarf2_find_location_expression)
3044 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3045 (locexpr_describe_location_piece): Update.
3046 * c-exp.y (%union) <bval>: Now const.
3047 * breakpoint.c (resolve_sal_pc): Update.
3048 * blockframe.c (get_frame_block):Make return type const.
3049 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3050 (block_innermost_frame): Update.
3051 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3052 (block_for_pc, block_for_pc_sect): Update.
3053 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3054 'pblock' const.
3055 (block_for_pc_sect, block_for_pc): Make return type const.
3056 * ax-gdb.c (gen_expr): Update.
3057 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3058 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3059 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3060 (ada_read_var_value): Update.
3061 * ada-exp.y (struct name_info) <block>: Now const.
3062 (%union): Likewise.
3063 (block_lookup): Constify.
3064
b9228891
GB
30652014-06-18 Gary Benson <gbenson@redhat.com>
3066
3067 * nat/i386-dregs.h: New file.
3068 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3069 * i386-nat.h (i386-dregs.h): New include.
3070 (DR_FIRSTADDR): Now in i386-dregs.h.
3071 (DR_LASTADDR): Likewise.
3072 (DR_NADDR): Likewise.
3073 (DR_STATUS): Likewise.
3074 (DR_CONTROL): Likewise.
3075 (i386_debug_reg_state): Likewise.
3076 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3077
a1aa2221
LM
30782014-06-18 Don Breazeal <donb@codesourcery.com>
3079
3080 * breakpoint.c (set_longjmp_breakpoint): Call
3081 momentary_breakpoint_from_master with additional argument.
3082 (set_longjmp_breakpoint_for_call_dummy): Call
3083 momentary_breakpoint_from_master with additional argument.
3084 (set_std_terminate_breakpoint): Call
3085 momentary_breakpoint_from_master with additional argument.
3086 (momentary_breakpoint_from_master): Add argument to function
3087 definition and use it to initialize structure member flag.
74228e77 3088 (clone_momentary_breakpoint): Call
a1aa2221
LM
3089 momentary_breakpoint_from_master with additional argument.
3090 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3091 member flags set in momentary_breakpoint_from_master.
3092
4be83cc2
GB
30932014-06-18 Gary Benson <gbenson@redhat.com>
3094
3095 * i386-nat.c (i386_show_dr): Renamed to
3096 i386_dr_show and made nonstatic. All uses updated.
3097 (i386_length_and_rw_bits): Renamed to
3098 i386_dr_length_and_rw_bits and made nonstatic.
3099 All uses updated.
3100 (i386_insert_aligned_watchpoint): Renamed to
3101 i386_dr_insert_aligned_watchpoint and made nonstatic.
3102 All uses updated.
3103 (i386_remove_aligned_watchpoint): Renamed to
3104 i386_dr_remove_aligned_watchpoint and made nonstatic.
3105 All uses updated.
3106 (i386_update_inferior_debug_regs): Renamed to
3107 i386_dr_update_inferior_debug_regs and made nonstatic.
3108 All uses updated.
3109
131aa0d4
GB
31102014-06-18 Gary Benson <gbenson@redhat.com>
3111
3112 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3113 (i386_dr_low_can_set_control): Likewise.
3114 (i386_dr_low_set_addr): Likewise.
3115 (i386_dr_low_set_control): Likewise.
3116 (i386_dr_low_get_addr): Likewise.
3117 (i386_dr_low_get_status): Likewise.
3118 (i386_dr_low_get_control): Likewise.
3119 (i386_insert_aligned_watchpoint): Use new macros.
3120 (i386_update_inferior_debug_regs): Likewise.
3121 (i386_stopped_data_address): Likewise.
3122
d9305f7f
GB
31232014-06-18 Gary Benson <gbenson@redhat.com>
3124
3125 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3126 New parameter. All uses updated.
3127
ea008da4
GB
31282014-06-18 Gary Benson <gbenson@redhat.com>
3129
3130 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3131 All uses updated.
3132
1b6d4134
GB
31332014-06-18 Gary Benson <gbenson@redhat.com>
3134
3135 * i386-nat.c (debug_printf): New macro.
3136 (i386_get_debug_register_length): Likewise.
3137 (TARGET_HAS_DR_LEN_8): Use above macro.
3138 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3139 and printf_unfiltered. Use phex to format values.
3140
9b4550ef
GB
31412014-06-18 Gary Benson <gbenson@redhat.com>
3142
3143 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3144 Make const.
3145
6e62758f
GB
31462014-06-18 Gary Benson <gbenson@redhat.com>
3147
3148 * i386-nat.c: Comment changes.
3149
51c79e94
GB
31502014-06-18 Gary Benson <gbenson@redhat.com>
3151
3152 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3153
3e11889a
GB
31542014-06-18 Gary Benson <gbenson@redhat.com>
3155
3156 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3157 (i386_insert_aligned_watchpoint): Likewise.
3158 (i386_remove_aligned_watchpoint): Likewise.
3159 (i386_handle_nonaligned_watchpoint): Likewise.
3160
fc6e2f03
GB
31612014-06-18 Gary Benson <gbenson@redhat.com>
3162
3163 * i386-nat.c: Whitespace changes.
3164
2afe7d50
SB
31652014-06-17 Samuel Bronson <naesten@gmail.com>
3166
3167 * MAINTAINERS: Update Roland McGrath's email address.
3168 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3169 Red Hat a while ago, and giving me a current address.
2afe7d50 3170
3bca49ee
TT
31712014-06-17 Tom Tromey <tromey@redhat.com>
3172
3173 * utils.h (savestring): Remove declaration.
3174
6e366df1
TT
31752014-06-17 Tom Tromey <tromey@redhat.com>
3176
3177 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3178
6be47f0c
KS
31792014-06-16 Keith Seitz <keiths@redhat.com>
3180
3181 PR mi/15863
3182 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3183 to update the varobj if inferior_ptid is null_ptid.
3184
7bc112c1
TT
31852014-06-16 Tom Tromey <tromey@redhat.com>
3186
3187 * target.h (struct target_ops) <to_info_proc>: Make parameter
3188 const.
3189 (target_info_proc): Update.
3190 * target.c (target_info_proc): Make "args" const.
3191 * procfs.c (procfs_info_proc): Update.
3192 * linux-tdep.c (linux_info_proc): Update.
3193 (linux_core_info_proc_mappings): Make "args" const.
3194 (linux_core_info_proc): Update.
3195 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3196 * gdbarch.c: Rebuild.
3197 * gdbarch.h: Rebuild.
3198 * corelow.c (core_info_proc): Update.
3199
fee354ee
TT
32002014-06-16 Tom Tromey <tromey@redhat.com>
3201
3202 * target.h (struct target_ops) <to_disconnect>: Make parameter
3203 const.
3204 (target_disconnect): Update.
3205 * target.c (target_disconnect): Make "args" const.
3206 * target-delegates.c: Rebuild.
3207 * remote.c (remote_disconnect): Update.
3208 * record.h (record_disconnect): Update.
3209 * record.c (record_disconnect): Update.
3210 * inf-child.c (inf_child_disconnect): Update.
3211
a30bf1f1
TT
32122014-06-16 Tom Tromey <tromey@redhat.com>
3213
3214 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3215 * target.c (debug_to_rcmd, default_rcmd): Update.
3216 * target-delegates.c: Rebuild.
3217 * remote.c (remote_rcmd): Update.
3218 * monitor.c (monitor_rcmd): Update.
3219
d03de421
PA
32202014-06-16 Pedro Alves <palves@redhat.com>
3221
3222 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3223 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3224 have OBJF_SHARED set.
3225 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3226 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3227 instead of OBJF_USERLOADED.
3228 * objfiles.h (OBJF_SHARED): Update comment.
3229 (userloaded_objfile_contains_address_p): Rename to ...
3230 (shared_objfile_contains_address_p): ... this, and update
3231 comments.
3232 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3233 new objfile.
3234 (remove_symbol_file_command): Skip objfiles that don't have
3235 OBJF_SHARED set.
3236
99f4262f
TT
32372014-06-16 Tom Tromey <tromey@redhat.com>
3238
3239 * minsyms.h (prim_record_minimal_symbol)
3240 (prim_record_minimal_symbol_and_info): Update comments.
3241
97d66cc6
EZ
32422014-06-14 Eli Zaretskii <eliz@gnu.org>
3243
3244 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3245 or --without-guile, according to how GDB was built.
3246
635c7e8a
TT
32472014-06-13 Tom Tromey <tromey@redhat.com>
3248
3249 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3250 to help_list.
3251 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3252 to help_list.
3253 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3254 help_list.
3255 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3256 help_list.Pass all_commands, not -1, to help_list.
3257 * cli/cli-dump.c (dump_command, append_command)
3258 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3259 (binary_dump_command, binary_append_command): Pass all_commands,
3260 not -1, to help_list.
3261 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3262 -1, to help_list.
3263 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3264 -1, to help_list.
3265 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3266 help_list.
3267 * top.c (set_history): Pass all_commands, not -1, to help_list.
3268 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3269 all_commands, not -1, to help_list.
3270 * symfile.c (overlay_command): Pass all_commands, not -1, to
3271 help_list.
3272 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3273 help_list.
3274 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3275 help_list.
3276 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3277 -1, to help_list.
3278 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3279 not -1, to help_list.
3280 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3281 not -1, to help_list.
3282 * maint.c (maintenance_command, maintenance_info_command)
3283 (maintenance_print_command, maintenance_set_cmd): Pass
3284 all_commands, not -1, to help_list.
3285 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3286 help_list.
3287 * language.c (set_check): Pass all_commands, not -1, to help_list.
3288 * infcmd.c (unset_command): Pass all_commands, not -1, to
3289 help_list.
3290 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3291 help_list.
3292 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3293 help_list.
3294 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3295 help_list.
3296 * breakpoint.c (save_command): Pass all_commands, not -1, to
3297 help_list.
3298 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3299 all_commands, not -1, to help_list.
3300
b94ade42
PL
33012014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3302
3303 * regcache.c (struct register_to_invalidate): New structure.
3304 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3305 functions.
3306 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3307
31f628ae
YQ
33082014-06-12 Yao Qi <yao@codesourcery.com>
3309
3310 * varobj.c (varobj_get_num_children): Call
3311 varobj_is_dynamic_p.
3312 (varobj_list_children): Likewise.
3313 (varobj_update): Likewise. Update comments.
3314
cde5ef40
YQ
33152014-06-12 Yao Qi <yao@codesourcery.com>
3316
3317 * varobj.c (varobj_pretty_printed_p): Rename to ...
3318 (varobj_is_dynamic_p): ... this. New function.
3319 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3320 (varobj_is_dynamic_p): Declare.
3321 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3322 (mi_print_value_p, varobj_update_one): Likewise.
3323
576ea091
YQ
33242014-06-12 Pedro Alves <pedro@codesourcery.com>
3325 Yao Qi <yao@codesourcery.com>
3326
3327 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3328 (varobj_get_iterator): Wrap up code for pretty-printer by
3329 "#if HAVE_PYTHON" and "#endif".
3330 (update_dynamic_varobj_children): Likewise.
3331
827f100c
YQ
33322014-06-12 Pedro Alves <pedro@codesourcery.com>
3333 Yao Qi <yao@codesourcery.com>
3334
3335 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3336 gdb_python_initialized is false. Move some code from varobj.c.
3337 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3338 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3339 (struct varobj_item): Moved to varobj-iter.h".
3340 (varobj_clear_saved_item): New function.
3341 (update_dynamic_varobj_children): Move python-related code to
3342 py-varobj.c.
3343 (free_variable): Call varobj_clear_saved_item and
3344 varobj_iter_delete.
3345
e5250216
YQ
33462014-06-12 Pedro Alves <pedro@codesourcery.com>
3347 Yao Qi <yao@codesourcery.com>
3348
3349 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3350 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3351 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3352 (py-varobj.o): New rule.
3353 * python/py-varobj.c: New file.
3354 * python/python-internal.h (py_varobj_get_iterator): Declare.
3355 * varobj-iter.h: New file.
3356 * varobj.c: Include "varobj-iter.h"
3357 (struct varobj) <child_iter>: Change its type from "PyObject *"
3358 to "struct varobj_iter *".
3359 <saved_item>: Likewise.
3360 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3361 [HAVE_PYTHON] (varobj_get_iterator): New function.
3362 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3363 python-specific code to python/py-varobj.c.
3364 (install_visualizer): Call varobj_iter_delete instead of
3365 Py_XDECREF.
3366 * varobj.h (varobj_ensure_python_env): Declare.
3367
5a2e0d6e
YQ
33682014-06-12 Yao Qi <yao@codesourcery.com>
3369
3370 * varobj.c (struct varobj_item): New structure.
3371 (create_child_with_value): Update declaration.
3372 (varobj_add_child): Replace arguments 'name' and 'value' with
3373 'item'. All callers updated.
3374 (install_dynamic_child): Likewise.
3375 (update_dynamic_varobj_children): Likewise.
3376 (varobj_add_child): Likewise.
3377 (create_child_with_value): Likewise.
3378
919b9a93
JB
33792014-06-11 Joel Brobecker <brobecker@adacore.com>
3380
3381 * NEWS: Create a new section for the next release branch.
3382 Rename the section of the current branch, now that it has
3383 been cut.
3384
71a55bdf
JB
33852014-06-11 Joel Brobecker <brobecker@adacore.com>
3386
3387 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3388 * version.in: Bump version to 7.8.50.DATE-cvs.
3389
364fe1f7
PA
33902014-06-11 Pedro Alves <palves@redhat.com>
3391
3392 PR remote/17028
3393 * ser-mingw.c (net_windows_socket_check_pending): New function.
3394 (net_windows_select_thread): Ignore spurious wakeups. Use
3395 net_windows_socket_check_pending.
3396 (net_windows_wait_handle): Check for pending events with
3397 ioctlsocket, through net_windows_socket_check_pending, instead of
3398 checking the socket's event.
3399
5a6c7709
SC
34002014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3401
3402 * python/python-internal.h (gdb_PyObject_GetAttrString)
3403 (gdb_PyObject_HasAttrString): New inline function definitions.
3404 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3405 char * of the second argument to PyObject_GetAttrString.
74228e77 3406
0e58ee40
JB
34072014-06-10 Joel Brobecker <brobecker@adacore.com>
3408
3409 * serial.c (serial_write): Fix index of character to be printed
3410 in call to serial_logchar when serial debug traces are enabled.
3411
d190df30
JB
34122014-06-10 Joel Brobecker <brobecker@adacore.com>
3413
3414 * gdbtypes (resolve_dynamic_range): Add function description.
3415
b4b01d36
PA
34162014-06-09 Pedro Alves <palves@redhat.com>
3417
3418 * linux-nat.c (linux_child_follow_fork): Initialize status with
3419 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3420 inner block. Only pass the signal to PTRACE_DETACH if in pass
3421 state.
3422
3657956b
GB
34232014-06-09 Gary Benson <gbenson@redhat.com>
3424
3425 * common/signals.c (gdb_signal_from_host): Reorder to separate
3426 the always-available ANSI-standard signals from the signals that
3427 require checking.
3428 (do_gdb_signal_to_host): Likewise.
3429 * proc-events.c (signal_table): Likewise.
3430
c077881a
HZ
34312014-06-08 Hui Zhu <hui@codesourcery.com>
3432
3433 * common/linux-ptrace.c (linux_disable_event_reporting): New
3434 function.
3435 * common/linux-ptrace.h (linux_disable_event_reporting): New
3436 declaration.
3437 * linux-nat.c (linux_child_follow_fork): Do a single step before
3438 detach.
3439
4186eb54
KS
34402014-06-07 Keith Seitz <keiths@redhat.com>
3441
3442 Revert:
3443 PR c++/16253
3444 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3445 from symbol_matches_domain in symtab.c. All local callers
3446 of symbol_matches_domain updated.
3447 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3448 search STRUCT_DOMAIN.
3449 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3450 independently. standard_lookup will do that automatically.
3451 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3452 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3453 (cp_lookup_symbol_in_namespace): Likewise.
3454 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3455 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3456 may return a STRUCT_DOMAIN match.
3457 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3458 * cp-support.c: Include language.h.
3459 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3460 VAR_DOMAIN.
3461 * psymtab.c (match_partial_symbol): Compare the requested
3462 domain with the symbol's domain directly.
3463 (lookup_partial_symbol): Likewise.
3464 * symtab.c (lookup_symbol_in_language): Explain when/why
3465 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3466 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3467 appropriate languages.
3468 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3469 and moved to ada-lang.c
3470 (lookup_block_symbol): Explain that this function only returns
3471 symbol matching the requested DOMAIN.
3472 Compare the requested domain with the symbol's domain directly.
3473 (iterate_over_symbols): Compare the requested domain with the
3474 symbol's domain directly.
3475 * symtab.h (symbol_matches_domain): Remove.
3476
25326a28 34772014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3478
3479 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3480 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3481 (gdbscm_guile_version_is_at_least): Declare.
3482 (gdbscm_scm_string_to_int): Declare.
3483 * guile/guile.c (gdbscm_guile_major_version): New global.
3484 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3485 (guile_datadir): New static global.
3486 (gdbscm_guile_data_directory): New function.
3487 (initialize_scheme_side): Update.
3488 (misc_guile_functions): Add guile-data-directory.
3489 (initialize_gdb_module): Fetch guile version number.
3490 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3491 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3492 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3493 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3494 comments.
3495 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3496 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3497 * guile/scm-value.c (gdbscm_value_to_string): Only call
3498 scm_port_conversion_strategy if Guile version >= 2.0.6.
3499
0a770bb2 35002014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3501
3502 * main.c (print_gdb_help): Add -q and --silent.
3503
73ba372c
GB
35042014-06-06 Gary Benson <gbenson@redhat.com>
3505
3506 * common/signals.c: Remove preprocessor conditionals for
3507 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3508 SIGSEGV and SIGTERM.
3509 * proc-events.c: Likewise.
3510
c33b2f12
MM
35112014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3512
3513 * symfile.c (symfile_free_objfile): Remove restriction to
3514 OBJF_USERLOADED.
3515 * symfile-mem.c (symbol_file_add_from_memory): Call
3516 add_target_sections_of_objfile.
3517
fb934770
LC
35182014-06-05 Ludovic Courtès <ludo@gnu.org>
3519
3520 * guile/scm-value.c (gdbscm_history_append_x): Use
3521 'vlscm_get_value_smob_arg_unsafe' instead of
3522 'vlscm_scm_to_value'.
3523
6ef284bd
SM
35242014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3525
3526 PR mi/15806
3527 * utils.c (printchar): Don't escape at all if quoter is NUL.
3528 Update function documentation to clarify effect of parameter
3529 QUOTER.
3530 * remote.c (escape_buffer): Pass '\\' as the quoter to
3531 fputstrn_unfiltered.
3532 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3533 generate the output.
3534 (mi_solib_unloaded): Same.
3535
270c9937
JB
35362014-06-05 Joel Brobecker <brobecker@adacore.com>
3537
3538 * development.sh: Delete.
3539 * Makefile.in (config.status): Adjust dependency on development.sh.
3540 * configure.ac: Adjust development.sh source call.
3541 * configure: Regenerate.
3542
16f691fb
DE
35432014-06-04 Doug Evans <xdje42@gmail.com>
3544
3545 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3546 is_scheme_bkpt, spec.
3547 (bpscm_make_breakpoint_smob): Initialize new members.
3548 (gdbscm_create_breakpoint_x): Split into two ...
3549 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3550 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3551 (scheme_function breakpoint_functions): Update.
3552 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3553 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3554 register-breakpoint!.
3555
ef7cab6b
JB
35562014-06-04 Joel Brobecker <brobecker@adacorer.com>
3557
3558 PR server/17023
3559 * mem-break.c (z_type_supported): Return zero if
3560 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3561
012370f6
TT
35622014-06-04 Tom Tromey <tromey@redhat.com>
3563
3564 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3565 value_from_contents_and_address_unresolved.
3566 (ada_template_to_fixed_record_type_1): Likewise.
3567 (ada_which_variant_applies): Likewise.
3568 * value.h (value_from_contents_and_address_unresolved): Declare.
3569 * value.c (value_from_contents_and_address_unresolved): New
3570 function.
3571 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3572 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3573 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3574
92e2a17f
TT
35752014-06-04 Tom Tromey <tromey@redhat.com>
3576
3577 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3578
c0939df1
TT
35792014-06-04 Tom Tromey <tromey@redhat.com>
3580
3581 * procfs.c (procfs_attach): Make "args" const.
3582 * windows-nat.c (windows_attach): Make "args" const.
3583 * nto-procfs.c (procfs_attach): Make "args" const.
3584 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3585 * go32-nat.c (go32_attach): Make "args" const.
3586 * gnu-nat.c (gnu_attach): Make "args" const.
3587 * darwin-nat.c (darwin_attach): Make "args" const.
3588 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3589 * linux-nat.c (linux_nat_attach): Make "args" const.
3590 * remote.c (extended_remote_attach_1, extended_remote_attach):
3591 Make "args" const.
3592 * target.h (struct target_ops) <to_attach>: Make "args" const.
3593 (find_default_attach): Likewise.
3594 * utils.c (parse_pid_to_attach): Make "args" const.
3595 * utils.h (parse_pid_to_attach): Update.
3596
8eaff7cd
TT
35972014-06-04 Tom Tromey <tromey@redhat.com>
3598
3599 * target-delegates.c: Rebuild.
3600 * target.c (default_thread_address_space): New function.
3601 (target_thread_address_space): Simplify.
3602 * target.h (struct target_ops) <to_thread_address_space>: Add
3603 TARGET_DEFAULT_FUNC.
3604
1913f160
DE
36052014-06-04 Doug Evans <xdje42@gmail.com>
3606
3607 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3608
70ad5bff
MM
36092014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3610
3611 * record-btrace.c: Include event-loop.h and inf-loop.h.
3612 (record_btrace_resume_exec_dir)
3613 (record_btrace_async_inferior_event_handler)
3614 (record_btrace_handle_async_inferior_event): New.
3615 (record_btrace_open): Create async event handler.
3616 (record_btrace_close): Delete async event handler.
3617 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3618 Mark async event handler.
3619 (record_btrace_execution_direction): New.
3620 (init_record_btrace_ops): Initialize to_execution_direction.
3621
b6210538
DE
36222014-06-03 Doug Evans <xdje42@gmail.com>
3623
3624 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3625 (gdbscm_make_parameter): Ditto.
3626
a5b1fd27
DE
36272014-06-03 Doug Evans <dje@google.com>
3628
3629 * exec.c (exec_close_1): Call clear_section_table instead of
3630 resize_section_table.
3631 (clear_section_table): New function.
3632 (resize_section_table): Make static. Rename arg num_added to
3633 adjustment.
3634 * exec.h (clear_section_table): Declare.
3635 (resize_section_table): Delete.
3636 * progspace.c (release_program_space): Call clear_section_table
3637 instead of resize_section_table.
3638
0c6e92a5
SC
36392014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3640
3641 * NEWS (Python Scripting): Add entry about the new xmethods
3642 feature.
3643
883964a7
SC
36442014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3645
3646 * python/py-xmethods.c: New file.
3647 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3648 (objfpy_dealloc): XDECREF on the new xmethods field.
3649 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3650 field.
3651 (objfpy_get_xmethods): New function.
3652 (objfile_getset): New entry 'xmethods'.
3653 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3654 (pspy_dealloc): XDECREF on the new xmethods field.
3655 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3656 field.
3657 (pspy_get_xmethods): New function.
3658 (pspace_getset): New entry 'xmethods'.
3659 * python/python-internal.h: Add declarations for new functions.
3660 * python/python.c (_initialize_python): Invoke
3661 gdbpy_initialize_xmethods.
3662 * python/lib/gdb/__init__.py (xmethods): New
3663 attribute.
3664 * python/lib/gdb/xmethod.py: New file.
3665 * python/lib/gdb/command/xmethods.py: New file.
3666
58992dc5
SC
36672014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3668
3669 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3670 best match method returned by find_overload_match is an xmethod.
3671 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3672 the best matching operator returned by find_overload_match is an
3673 xmethod.
3674 * valops.c: #include "extension.h".
3675 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3676 Return void. The list of matching source methods is returned in
3677 "fn_list" and a vector of matching debug method workers is
3678 returned in "xm_worker_vec". Update all callers.
3679 (value_find_oload_method_list): Likewise.
3680 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3681 non-NULL, then the index of the best matching method in this
3682 vector is returned. Update all callers.
3683 (find_overload_match): Include xmethods while performing overload
3684 resolution.
3685
e81e7f5e
SC
36862014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3687
3688 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3689 * extension-priv.h (struct extension_language_ops): Add the
3690 xmethod interface.
3691 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3692 get_matching_xmethod_workers, get_xmethod_argtypes,
3693 invoke_xmethod, free_xmethod_worker,
3694 free_xmethod_worker_vec): New functions.
3695 * extension.h: #include "common/vec.h".
3696 New function declarations.
3697 (struct xmethod_worker): New struct.
3698 (VEC (xmethod_worker_ptr)): New vector type.
3699 (xmethod_worker_ptr): New typedef.
3700 (xmethod_worker_vec): Likewise.
3701 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3702 builtin_type.
3703 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3704 (struct builtin_type): New field "xmethod".
3705 * valarith.c (value_ptradd): Assert that the value argument is not
3706 lval_xcallable.
3707 * valops.c (value_must_coerce_to_target): Return 0 for
3708 lval_xcallable values.
3709 * value.c (struct value): New field XM_WORKER in the field
3710 LOCATION.
3711 (value_address, value_raw_address): Return 0 for lval_xcallable
3712 values.
3713 (set_value_address): Assert that the value is not an
3714 lval_xcallable.
3715 (value_free): Free the associated xmethod worker when freeing
3716 lval_xcallable values.
3717 (set_value_component_location): Assert that the WHOLE value is not
3718 lval_xcallable.
3719 (value_of_xmethod, call_xmethod): New functions.
3720 * value.h: Declare "struct xmethod_worker".
3721 Declare new functions value_of_xmethod, call_xmethod.
3722
ef370185
JB
37232014-06-03 Joel Brobecker <brobecker@adacore.com>
3724 Pedro Alves <palves@redhat.com>
3725
3726 PR breakpoints/17000
3727 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3728 New function, extracted from software_breakpoint_inserted_here_p.
3729 (software_breakpoint_inserted_here_p): Replace factored out code
3730 by call to find_non_raw_software_breakpoint_inserted_here.
3731 (bp_target_info_copy_insertion_state): New function.
3732 (bkpt_insert_location): Handle the case of a single-step
3733 breakpoint already inserted at the same address.
3734 (bkpt_remove_location): Handle the case of a single-step
3735 breakpoint still inserted at the same address.
3736 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3737 breakpoint already inserted at the same address.
3738 (deprecated_remove_raw_breakpoint): Handle the case of a
3739 non-raw breakpoint still inserted at the same address.
3740 (find_single_step_breakpoint): New function, extracted from
3741 single_step_breakpoint_inserted_here_p.
3742 (find_single_step_breakpoint): New function,
3743 factored out from single_step_breakpoint_inserted_here_p.
3744 (single_step_breakpoint_inserted_here_p): Reimplement.
3745
1e2ccb61
BM
37462014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3747
3748 Pushed by Joel Brobecker <brobecker@adacore.com>
3749 * source.c (show_substitute_path_command): Fix display of matching
3750 substitution rules.
3751
d3448d85
GB
37522014-06-03 Gary Benson <gbenson@redhat.com>
3753
3754 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3755
06eb1586
DE
37562014-06-02 Doug Evans <xdje42@gmail.com>
3757
3758 Add parameter support for Guile.
3759 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3760 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3761 (scm-param.o): New rule.
3762 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3763 (gdbscm_misc_error): Declare.
3764 (gdbscm_canonicalize_command_name): Declare.
3765 (gdbscm_scm_to_host_string): Declare.
3766 (gdbscm_scm_from_host_string): Declare.
3767 (gdbscm_initialize_parameters): Declare.
3768 * guile/guile.c (initialize_gdb_module): Call
3769 gdbscm_initialize_parameters.
3770 * guile/lib/gdb.scm: Export parameter symbols.
3771 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3772 cmdscm_canonicalize_name and made public. All callers updated.
3773 * guile/scm-exception.c (gdbscm_misc_error): New function.
3774 * guile/scm-param.c: New file.
3775 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3776 (gdbscm_scm_to_host_string): New function.
3777 (gdbscm_scm_from_host_string): New function.
3778 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3779
e698b8c4
DE
37802014-06-02 Doug Evans <xdje42@gmail.com>
3781
3782 Add command support for Guile.
3783 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3784 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3785 (scm-cmd.o): New rule.
3786 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3787 (gdbscm_user_error_p): Declare.
3788 (gdbscm_parse_command_name): Declare.
3789 (gdbscm_valid_command_class_p): Declare.
3790 (gdbscm_initialize_commands): Declare.
3791 * guile/guile.c (initialize_gdb_module): Call
3792 gdbscm_initialize_commands.
3793 * guile/lib/gdb.scm: Export command symbols.
3794 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3795 (throw-user-error): New function.
3796 * guile/scm-cmd.c: New file.
3797 * guile/scm-exception.c (user_error_symbol): New static global.
3798 (gdbscm_user_error_p): New function.
3799 (gdbscm_initialize_exceptions): Set user_error_symbol.
3800 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3801
fb1f94b0
PM
38022014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3803
3804 * top.c (command_loop): Handle comments here...
3805 (command_line_input): ... not here.
3806
ded03782
DE
38072014-06-02 Doug Evans <xdje42@gmail.com>
3808
3809 Add progspace support for Guile.
3810 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3811 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3812 (scm-progspace.o): New rule.
3813 * guile/guile-internal.h (pspace_smob): New typedef.
3814 (psscm_pspace_smob_pretty_printers): Declare.
3815 (psscm_pspace_smob_from_pspace): Declare.
3816 (psscm_scm_from_pspace): Declare.
3817 * guile/guile.c (initialize_gdb_module): Call
3818 gdbscm_initialize_pspaces.
3819 * guile/lib/gdb.scm: Export progspace symbols.
3820 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3821 support.
3822 (append-pretty-printer!): Ditto.
3823 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3824 Implement.
3825 * guile/scm-progspace.c: New file.
3826
397998fc
AM
38272014-06-03 Alan Modra <amodra@gmail.com>
3828
3829 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3830 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3831
6aa5f3a6
DE
38322014-06-02 Doug Evans <dje@google.com>
3833
3834 Add support for skeletonless type units.
3835 * dwarf2read.c (struct dwarf2_per_objfile): New member
3836 n_allocated_type_units.
3837 (struct dwarf2_per_objfile) <tu_stats>: New member
3838 nr_all_type_units_reallocs.
3839 (create_signatured_type_table_from_index): Initialize
3840 n_allocated_type_units
3841 (create_all_type_units): Ditto.
3842 (add_type_unit): Move up in file. New arg slot.
3843 All callers updated. Increase space for all_type_units more
3844 efficiently.
3845 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3846 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3847 (lookup_dwp_signatured_type): Ditto.
3848 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3849 All callers updated.
3850 (build_type_psymtabs_1): Leave type_unit_groups as
3851 NULL if no TUs present.
3852 (print_tu_stats): New function.
3853 (process_skeletonless_type_unit): New function.
3854 (process_dwo_file_for_skeletonless_type_units): New
3855 function.
3856 (process_skeletonless_type_units): New function.
3857 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3858 Call print tu_stats if debugging enabled.
3859
41fac0cf
PA
38602014-06-02 Pedro Alves <palves@redhat.com>
3861
3862 * breakpoint.c (build_target_command_list): Don't build a command
3863 list if we have any duplicate location that isn't a dprintf.
3864
cd1608cc
PA
38652014-06-02 Pedro Alves <palves@redhat.com>
3866
3867 * breakpoint.c (dprintf_breakpoint_hit): New function.
3868 (initialize_breakpoint_ops): Install it as dprintf's
3869 breakpoint_hit method.
3870
486ef3b9
JB
38712014-06-02 Joel Brobecker <brobecker@adacore.com>
3872
3873 * source.c (substitute_path_rule_matches): Simplify using
3874 filename_ncmp instead of FILENAME_CMP.
3875
230cd560
JB
38762014-06-02 Joel Brobecker <brobecker@adacore.com>
3877
3878 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3879
16954d5d
LC
38802014-06-01 Ludovic Courtès <ludo@gnu.org>
3881
3882 * configure.ac: When Guile is available, check for the
3883 availability of 'scm_new_smob'.
3884 * configure, config.h.in: Regenerate.
3885 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3886 function.
3887
53e8a631
AB
38882014-05-30 Andrew Burgess <aburgess@broadcom.com>
3889
3890 * frame.c (struct frame_info): Add stop_string field.
3891 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3892 (get_prev_frame_always): Old content moved into
3893 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3894 TRY_CATCH, handle MEMORY_ERROR exceptions.
3895 (frame_stop_reason_string): New function definition.
3896 * frame.h (unwind_stop_reason_to_string): Extend comment to
3897 mention frame_stop_reason_string.
3898 (frame_stop_reason_string): New function declaration.
3899 * stack.c (frame_info): Switch to frame_stop_reason_string.
3900 (backtrace_command_1): Switch to frame_stop_reason_string.
3901 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3902 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3903 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3904
70e38b8e
AB
39052014-05-30 Andrew Burgess <aburgess@broadcom.com>
3906
3907 * frame.c (frame_stop_reason_string): Rename to ...
3908 (unwind_stop_reason_to_string): this.
3909 * frame.h (frame_stop_reason_string): Rename to ...
3910 (unwind_stop_reason_to_string): this.
3911 * stack.c (frame_info): Update call to frame_stop_reason_string.
3912 (backtrace_command_1): Likewise.
3913 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3914 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3915
938f0e2f
AB
39162014-05-30 Andrew Burgess <aburgess@broadcom.com>
3917
3918 * frame.c (remove_prev_frame): New function.
3919 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3920 remove_prev_frame.
3921
a09dd441
PA
39222014-05-29 Pedro Alves <palves@redhat.com>
3923
3924 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3925 and make it const. When a single-step decays to a continue,
3926 clear 'step', not 'hw_step'. Pass whether the caller wanted
3927 to step to user_visible_resume_ptid, not what we ask the
3928 target to do.
3929
bdc36728
PA
39302014-05-29 Pedro Alves <palves@redhat.com>
3931
3932 * infrun.c (process_event_stop_test, handle_step_into_function)
3933 (handle_step_into_function_backward): Adjust.
3934 Don't set the even thread's stop_step and call stop_waiting before
3935 calling end_stepping_range. Instead do that ...
3936 (end_stepping_range): ... here. Take an ecs pointer parameter.
3937
22bcd14b
PA
39382014-05-29 Pedro Alves <palves@redhat.com>
3939
3940 * infrun.c (stop_stepping): Rename to ...
3941 (stop_waiting): ... this.
3942 (proceed): Update comment.
3943 (process_event_stop_test, handle_inferior_event)
3944 (handle_signal_stop, handle_step_into_function)
3945 (handle_step_into_function_backward): Update.
3946
4ae57c05
PA
39472014-05-29 Pedro Alves <palves@redhat.com>
3948
3949 * infcall.c (run_inferior_call): Don't check whether the current
3950 thread is running after the proceed call.
3951
329ea579
PA
39522014-05-29 Pedro Alves <palves@redhat.com>
3953 Tom Tromey <tromey@redhat.com>
3954
3955 * NEWS: Mention "maint set target-async", "set mi-async", and that
3956 background execution commands are now always available.
3957 * target.h (target_async_permitted): Update comment.
3958 * target.c (target_async_permitted, target_async_permitted_1):
3959 Default to 1.
3960 (set_target_async_command): Rename to ...
3961 (maint_set_target_async_command): ... this.
3962 (show_target_async_command): Rename to ...
3963 (maint_show_target_async_command): ... this.
3964 (_initialize_target): Adjust.
3965 * infcmd.c (prepare_execution_command): Make extern.
3966 * inferior.h (prepare_execution_command): Declare.
3967 * infrun.c (set_observer_mode): Leave target async alone.
3968 * mi/mi-interp.c (mi_interpreter_init): Install
3969 mi_on_sync_execution_done as sync_execution_done observer.
3970 (mi_on_sync_execution_done): New function.
3971 (mi_execute_command_input_handler): Don't print the prompt if we
3972 just started a synchronous command with an async target.
3973 (mi_on_resume): Check sync_execution before printing prompt.
3974 * mi/mi-main.h (mi_async_p): Declare.
3975 * mi/mi-main.c: Include gdbcmd.h.
3976 (mi_async_p): New function.
3977 (mi_async, mi_async_1): New globals.
3978 (set_mi_async_command, show_mi_async_command, mi_async): New
3979 functions.
3980 (exec_continue): Call prepare_execution_command.
3981 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
3982 (mi_execute_async_cli_command): Use mi_async_p.
3983 (_initialize_mi_main): Install "set mi-async". Make
3984 "target-async" a deprecated alias.
3985
92bcb5f9
PA
39862014-05-29 Pedro Alves <palves@redhat.com>
3987
3988 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
3989 (_initialize_cli_interp): Adjust.
3990 * event-loop.c: Include "observer.h".
3991 (start_event_loop): Notify 'command_error' observers instead of
3992 calling display_gdb_prompt. Remove FIXME comment.
3993 * event-top.c (display_gdb_prompt): Remove call into the
3994 interpreters.
3995 * inf-loop.c: Include "observer.h".
3996 (inferior_event_handler): Notify 'command_error' observers instead
3997 of calling display_gdb_prompt.
3998 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
3999 observers instead of calling display_gdb_prompt.
4000 * interps.c (interp_set): Don't call display_gdb_prompt.
4001 (current_interp_display_prompt_p): Delete.
4002 * interps.h (interp_prompt_p): Delete declaration.
4003 (interp_prompt_p_ftype): Delete.
4004 (struct interp_procs) <prompt_proc_p>: Delete field.
4005 (current_interp_display_prompt_p): Delete declaration.
4006 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4007 (_initialize_mi_interp): Adjust.
4008 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4009 'command_error' observers.
4010 (tui_on_sync_execution_done, tui_on_command_error): New
4011 functions.
4012 (tui_display_prompt_p): Delete.
4013 (_initialize_tui_interp): Adjust.
4014
fd664c91
PA
40152014-05-29 Pedro Alves <palves@redhat.com>
4016
4017 PR gdb/13860
4018 * cli/cli-interp.c: Include infrun.h and observer.h.
4019 (cli_uiout, cli_interp): New globals.
4020 (cli_on_signal_received, cli_on_end_stepping_range)
4021 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4022 functions.
4023 (cli_interpreter_init): Install them as 'end_stepping_range',
4024 'signal_received' 'signal_exited', 'exited' and 'no_history'
4025 observers.
4026 (_initialize_cli_interp): Remove cli_interp local.
4027 * infrun.c (handle_inferior_event): Call the several stop reason
4028 observers instead of printing the stop reason directly.
4029 (end_stepping_range): New function.
4030 (print_end_stepping_range_reason, print_signal_exited_reason)
4031 (print_exited_reason, print_signal_received_reason)
4032 (print_no_history_reason): Make static, and add an uiout
4033 parameter. Print to that instead of to CURRENT_UIOUT.
4034 * infrun.h (print_end_stepping_range_reason)
4035 (print_signal_exited_reason, print_exited_reason)
4036 (print_signal_received_reason print_no_history_reason): New
4037 declarations.
4038 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4039 'mi_uiout'.
4040 <cli_uiout>: New field.
4041 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4042 uiout for CLI output. Install 'signal_received',
4043 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4044 observers.
4045 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4046 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4047 (mi_on_no_history): New functions.
4048 (ui_out_free_cleanup): Delete function.
4049 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4050 instead use the one already stored in the MI interpreter data.
4051 (mi_ui_out): Adjust.
4052 * tui/tui-interp.c: Include infrun.h and observer.h.
4053 (tui_interp): New global.
4054 (tui_on_signal_received, tui_on_end_stepping_range)
4055 (tui_on_signal_exited, tui_on_exited)
4056 (tui_on_no_history): New functions.
4057 (tui_init): Install them as 'end_stepping_range',
4058 'signal_received' 'signal_exited', 'exited' and 'no_history'
4059 observers.
4060 (_initialize_tui_interp): Delete tui_interp local.
4061
8817a6f2
PA
40622014-05-29 Pedro Alves <palves@redhat.com>
4063
4064 PR gdb/15713
4065 * linux-nat.c (linux_nat_resume_callback): Rename the second
4066 parameter to 'except'. Skip LP if it points to EXCEPT.
4067 (linux_nat_resume): Don't mark the event lwp as not stopped
4068 before resuming sibling lwps. Instead ask
4069 linux_nat_resume_callback to skip the event lwp. Mark it as not
4070 stopped after actually resuming it.
4071 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4072 resuming it.
4073 (wait_lwp): Mark the lwp as stopped here.
4074 (stop_wait_callback): Mark the lwp as not stopped right after
4075 resuming it. Don't mark lwps as stopped here.
4076 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4077 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4078
251bde03
PA
40792014-05-29 Pedro Alves <palves@redhat.com>
4080
4081 PR PR15693
4082 * infrun.c (resume): Determine how much to resume depending on
4083 whether the caller wanted a step, not whether we can hardware step
4084 the target. Mark all threads that we intend to run as running,
4085 unless we're calling an inferior function.
4086 (normal_stop): If the thread is running an infcall, don't finish
4087 thread state.
4088 * target.c (target_resume): Don't mark threads as running here.
4089
7f3c0343
JB
40902014-05-28 Joel Brobecker <brobecker@adacore.com>
4091
4092 * serial.c (_initialize_serial): Remove support for
4093 the "set remotebaud" and "show remotebaud" commands.
4094 * NEWS: Add entry documenting the removal of that command.
4095
ee34b3f9
YQ
40962014-05-28 Yao Qi <yao@codesourcery.com>
4097
4098 * charset.c: Fix typo in comments.
4099
add6c04d
GB
41002014-05-27 Gary Benson <gbenson@redhat.com>
4101
4102 * utils.c (internal_vproblem): Prompt for a bug report.
4103
92c48fc5
AW
41042014-05-26 Andy Wingo <wingo@igalia.com>
4105
4106 * guile/scm-arch.c (arscm_mark_arch_smob):
4107 * guile/scm-block.c (bkscm_mark_block_smob)
4108 (bkscm_mark_block_syms_progress_smob):
4109 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4110 * guile/scm-exception.c (exscm_mark_exception_smob):
4111 * guile/scm-frame.c (frscm_mark_frame_smob):
4112 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4113 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4114 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4115 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4116 (ppscm_mark_pretty_printer_worker_smob):
4117 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4118 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4119 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4120 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4121 mark functions.
4122 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4123 function.
4124
b2715b27
AW
41252014-05-26 Andy Wingo <wingo@igalia.com>
4126 Doug Evans <xdje42@gmail.com>
4127
4128 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4129 empty_base_class. All uses updated.
4130 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4131 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4132 Adapt all callers.
4133 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4134 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4135 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4136 (gdbscm_gsmob_has_property_p, add_property_name)
4137 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4138 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4139 (gdb-object-has-property?, gdb-object-properties): Remove.
4140 (gdb-object-kind): Renamed from gsmob-kind.
4141
214ab2da
AW
41422014-05-26 Andy Wingo <wingo@igalia.com>
4143
4144 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4145 * configure: Regenerate.
4146
589fdceb
MM
41472014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4148
4149 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4150
67b5c0c1
MM
41512014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4152
4153 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4154 (replay_memory_access_read_only, replay_memory_access_read_write)
4155 (replay_memory_access_types, replay_memory_access)
4156 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4157 (cmd_set_record_btrace, cmd_show_record_btrace)
4158 (cmd_show_replay_memory_access): New.
4159 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4160 (record_btrace_remove_breakpoint): Replace
4161 record_btrace_allow_memory_access with replay_memory_access.
4162 (_initialize_record_btrace): Add commands.
4163 * NEWS: Announce it.
4164
036cd381
RR
41652014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4166
4167 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4168
c77c1e42
RR
41692014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4170
4171 * MAINTAINERS (Write After Approval): Move self back from
4172 paper trail.
4173
45741a9c
PA
41742014-05-22 Pedro Alves <palves@redhat.com>
4175
4176 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4177 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4178 (disable_randomization, enum exec_direction_kind)
4179 (execution_direction, stop_registers, start_remote)
4180 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4181 (wait_for_inferior, normal_stop, get_last_target_status)
4182 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4183 (insert_step_resume_breakpoint_at_sal)
4184 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4185 (set_step_info, print_stop_event, signal_stop_state)
4186 (signal_print_state, signal_pass_state, signal_stop_update)
4187 (signal_print_update, signal_pass_update)
4188 (update_signals_program_target, clear_exit_convenience_vars)
4189 (displaced_step_dump_bytes, update_observer_mode)
4190 (signal_catch_update, gdb_signal_from_command): Move
4191 declarations ...
4192 * infrun.h: ... to this new file.
4193 * amd64-tdep.c: Include infrun.h.
4194 * annotate.c: Include infrun.h.
4195 * arch-utils.c: Include infrun.h.
4196 * arm-linux-tdep.c: Include infrun.h.
4197 * arm-tdep.c: Include infrun.h.
4198 * break-catch-sig.c: Include infrun.h.
4199 * breakpoint.c: Include infrun.h.
4200 * common/agent.c: Include infrun.h instead of inferior.h.
4201 * corelow.c: Include infrun.h.
4202 * event-top.c: Include infrun.h.
4203 * go32-nat.c: Include infrun.h.
4204 * i386-tdep.c: Include infrun.h.
4205 * inf-loop.c: Include infrun.h.
4206 * infcall.c: Include infrun.h.
4207 * infcmd.c: Include infrun.h.
4208 * infrun.c: Include infrun.h.
4209 * linux-fork.c: Include infrun.h.
4210 * linux-nat.c: Include infrun.h.
4211 * linux-thread-db.c: Include infrun.h.
4212 * monitor.c: Include infrun.h.
4213 * nto-tdep.c: Include infrun.h.
4214 * procfs.c: Include infrun.h.
4215 * record-btrace.c: Include infrun.h.
4216 * record-full.c: Include infrun.h.
4217 * remote-m32r-sdi.c: Include infrun.h.
4218 * remote-mips.c: Include infrun.h.
4219 * remote-notif.c: Include infrun.h.
4220 * remote-sim.c: Include infrun.h.
4221 * remote.c: Include infrun.h.
4222 * reverse.c: Include infrun.h.
4223 * rs6000-tdep.c: Include infrun.h.
4224 * s390-linux-tdep.c: Include infrun.h.
4225 * solib-irix.c: Include infrun.h.
4226 * solib-osf.c: Include infrun.h.
4227 * solib-svr4.c: Include infrun.h.
4228 * target.c: Include infrun.h.
4229 * top.c: Include infrun.h.
4230 * windows-nat.c: Include infrun.h.
4231 * mi/mi-interp.c: Include infrun.h.
4232 * mi/mi-main.c: Include infrun.h.
4233 * python/py-threadevent.c: Include infrun.h.
4234
98eb56a4
PA
42352014-05-22 Pedro Alves <palves@redhat.com>
4236
4237 * infrun.c (handle_inferior_event): Store the exit code for
4238 --return-child-result here, instead of ...
4239 (print_exited_reason): ... here.
4240
17b2616c
PA
42412014-05-21 Pedro Alves <palves@redhat.com>
4242
4243 PR gdb/13860
4244 * gdbthread.h (struct thread_control_state): New field
4245 `command_interp'.
4246 * infrun.c (follow_fork): Copy the new thread control field to the
4247 child fork thread.
4248 (clear_proceed_status_thread): Clear the new thread control field.
4249 (proceed): Set the new thread control field.
4250 * interps.h (command_interp): Declare.
4251 * interps.c (command_interpreter): New global.
4252 (command_interp): New function.
4253 (interp_exec): Set `command_interpreter' while here.
4254 * cli-out.c (cli_uiout_dtor): New function.
4255 (cli_ui_out_impl): Install it.
4256 * mi/mi-interp.c: Include cli-out.h.
4257 (mi_cmd_interpreter_exec): Add comment.
4258 (restore_current_uiout_cleanup): New function.
4259 (ui_out_free_cleanup): New function.
4260 (mi_on_normal_stop): If finishing an execution command started by
4261 a CLI command, or any kind of breakpoint-like event triggered,
4262 print the stop event to the output (CLI) stream.
4263 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4264
5166082f
PA
42652014-05-21 Pedro Alves <palves@redhat.com>
4266
4267 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4268 current source line having changed.
4269 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4270 * infrun.c (normal_stop): Adjust call to
4271 set_current_sal_from_frame.
4272 * source.c (clear_lines_listed_range): New function.
4273 (set_current_source_symtab_and_line, identify_source_line): Clear
4274 the lines listed range.
4275 (line_info): Handle the first "info line" after the current source
4276 line having changed.
4277 * stack.c (print_stack_frame): Remove center handling.
4278 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4279 center sal.line.
4280
c1ee2fb3
PA
42812014-05-21 Pedro Alves <palves@redhat.com>
4282
4283 * inf-child.c (inf_child_mourn_inferior): New function.
4284 * inf-child.h (inf_child_mourn_inferior): New declaration.
4285 * darwin-nat.c (darwin_mourn_inferior): Use
4286 inf_child_mourn_inferior.
4287 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4288 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4289 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4290 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4291 * windows-nat.c (windows_mourn_inferior): Likewise.
4292
5c6d4fb2
DE
42932014-05-21 Doug Evans <xdje42@gmail.com>
4294
250748cb 4295 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4296
4a2722c5
DE
42972014-05-21 Doug Evans <xdje42@gmail.com>
4298
17292b30 4299 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4300 (gdbscm_out_of_range_error): Ditto.
4301 (gdbscm_memory_error): Ditto.
250748cb
DE
4302 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4303 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4304 (gdbscm_out_of_range_error): Update.
4305 (gdbscm_memory_error): Update.
4306 (gdbscm_scm_to_target_string_unsafe): Delete.
4307
6a3cb8e8
PA
43082014-05-21 Pedro Alves <palves@redhat.com>
4309
4310 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4311 globals.
4312 (inf_child_open_target): New function.
4313 (inf_child_open): Use inf_child_open_target to push the target
4314 instead of erroring out.
4315 (inf_child_disconnect, inf_child_close)
4316 (inf_child_maybe_unpush_target): New functions.
4317 (inf_child_target): Install inf_child_disconnect and
4318 inf_child_close. Store a pointer to the returned object.
4319 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4320 declarations.
4321 * target.c (auto_connect_native_target): New global.
4322 (show_default_run_target): New function.
4323 (find_default_run_target): Return NULL if automatically connecting
4324 to the native target is disabled.
4325 (_initialize_target): Install set/show auto-connect-native-target.
4326 * NEWS: Mention "set auto-connect-native-target", and "target
4327 native".
4328 * linux-nat.c (super_close): New global.
4329 (linux_nat_close): Call super_close.
4330 (linux_nat_add_target): Store a pointer to the base class's
4331 to_close method.
4332 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4333 inf_child_maybe_unpush.
4334 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4335 already pushed.
4336 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4337 the inferior. Use inf_child_maybe_unpush_target.
4338 (inf_ttrace_attach): Don't push the target if it is already
4339 pushed.
4340 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4341 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4342 after mourning the inferior. Use inf_child_maybe_unpush_target.
4343 (darwin_attach_pid): Don't push the target if it is already
4344 pushed.
4345 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4346 mourning the inferior. Use inf_child_maybe_unpush_target.
4347 (gnu_detach): Use inf_child_maybe_unpush_target.
4348 * go32-nat.c (go32_create_inferior): Don't push the target if it
4349 is already pushed.
4350 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4351 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4352 (procfs_open): Rename to ...
4353 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4354 comments. Can target_preopen before changing node. Call
4355 inf_child_open_target to push the target explicitly.
4356 (procfs_attach): Don't push the target if it is already pushed.
4357 (procfs_detach): Use inf_child_maybe_unpush_target.
4358 (procfs_create_inferior): Don't push the target if it is already
4359 pushed.
4360 (nto_native_ops): New global.
4361 (procfs_open): Reimplement.
4362 (procfs_native_open): New function.
4363 (init_procfs_targets): Install procfs_native_open as to_open of
4364 "target native". Store a pointer to the "native" target in
4365 nto_native_ops.
4366 * procfs.c (procfs_attach): Don't push the target if it is already
4367 pushed.
4368 (procfs_detach): Use inf_child_maybe_unpush_target.
4369 (procfs_mourn_inferior): Only unpush the target after mourning the
4370 inferior. Use inf_child_maybe_unpush_target.
4371 (procfs_init_inferior): Don't push the target if it is already
4372 pushed.
4373 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4374 if it is already pushed.
4375
930ee1b1
PA
43762014-05-21 Pedro Alves <palves@redhat.com>
4377
4378 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4379 and "procfs" targets are now called "native" instead.
4380
1f5d1b13
PA
43812014-05-21 Pedro Alves <palves@redhat.com>
4382
4383 * go32-nat.c (go32_open): Delete.
4384 (go32_target): Don't override the to_open method.
4385
132f8e03
PA
43862014-05-21 Pedro Alves <palves@redhat.com>
4387
4388 * nto-procfs.c (procfs_can_run): New function.
4389 (nto_procfs_ops): New global.
4390 (init_procfs_targets): New, based on procfs_target. Install
4391 "target native" in addition to "target procfs".
4392 (_initialize_procfs): Call init_procfs_targets instead of adding
4393 the target here.
4394
03c136c3
PA
43952014-05-21 Pedro Alves <palves@redhat.com>
4396
4397 * windows-nat.c (windows_target): Don't override to_shortname,
4398 to_longname or to_doc.
4399
a635d0f3
PA
44002014-05-21 Pedro Alves <palves@redhat.com>
4401
4402 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4403 to_doc.
4404
4f9b5133
PA
44052014-05-21 Pedro Alves <palves@redhat.com>
4406
4407 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4408 to_shortname, to_longname or to_doc.
4409
bc85afde
PA
44102014-05-21 Pedro Alves <palves@redhat.com>
4411
4412 * go32-nat.c (go32_target): Don't override to_shortname,
4413 to_longname or to_doc.
4414
4ebfc96e
PA
44152014-05-21 Pedro Alves <palves@redhat.com>
4416
4417 * inf-child.c (inf_child_open): Remove mention of "child".
4418 (inf_child_target): Rename target to "native" instead of "child".
4419
2648dfed
AA
44202014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4421
4422 * Makefile.in (SFILES): Delete "regset.c".
4423 (COMMON_OBS): Delete "regset.o".
4424 * regset.c: Remove.
4425 * regset.h (regset_alloc): Delete prototype.
4426
b13feb94
AA
44272014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4428
4429 * sparc-linux-tdep.c (sparc32_linux_gregset)
4430 (sparc32_linux_fpregset): New static regset structures.
4431 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4432 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4433 'fpregset' fields.
4434 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4435 (sparc64_linux_fpregset): New static regset structures.
4436 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4437 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4438 New static regset structures.
4439 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4440 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4441 New static regset structures.
4442 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4443 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4444 New static regset structures.
4445 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4446 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4447 New static regset structures.
4448 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4449
b4fd25c9
AA
44502014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4451
4452 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4453 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4454 register maps ("regmaps") from "*regset" to "*regmap". Do this
4455 for all regmap types and variables.
4456 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4457 (sparc32_linux_supply_core_gregset)
4458 (sparc32_linux_collect_core_gregset)
4459 (sparc32_linux_supply_core_fpregset)
4460 (sparc32_linux_collect_core_fpregset): Likewise.
4461 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4462 (sparc_gregmap, sparc_fpregmap): ... these.
4463 (sparc_supply_gregset, sparc_collect_gregset)
4464 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4465 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4466 (_initialize_sparc_nat): Rename regmaps.
4467 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4468 (sparc_gregmap, sparc_fpregmap): ... these.
4469 (sparc_supply_gregset, sparc_collect_gregset)
4470 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4471 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4472 Rename macros to...
4473 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4474 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4475 Likewise.
4476 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4477 Rename to...
4478 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4479 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4480 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4481 regmaps.
4482 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4483 (sparc32_bsd_fpregset): Rename to...
4484 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4485 (sparc32_bsd_fpregmap): ... these.
4486 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4487 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4488 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4489 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4490 (struct sparc_gregmap, struct sparc_fpregmap)
4491 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4492 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4493 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4494 (sparc32_supply_regset, sparc32_collect_gregset)
4495 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4496 prototypes.
4497 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4498 (sparc64_linux_ptrace_gregmap): ... this.
4499 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4500 (_initialize_sparc64_linux_nat): Rename regmaps.
4501 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4502 (sparc64_linux_core_gregmap): ... this.
4503 (sparc64_linux_supply_core_gregset)
4504 (sparc64_linux_collect_core_gregset)
4505 (sparc64_linux_supply_core_fpregset)
4506 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4507 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4508 (sparc64_sol2_fpregset): Rename to...
4509 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4510 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4511 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4512 regmaps.
4513 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4514 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4515 (sparc64_bsd_fpregset): Rename to...
4516 (struct sparc_gregmap, sparc64_sol2_gregmap)
4517 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4518 (sparc64_bsd_fpregmap): ... these.
4519 (sparc64_supply_gregset, sparc64_collect_gregset)
4520 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4521 prototypes.
4522 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4523 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4524 (sparc64fbsd_gregmap): ... this.
4525 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4526 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4527 Rename regmaps.
4528 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4529 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4530 (sparc64nbsd_collect_fpregset): Likewise.
4531 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4532 (sparc64nbsd_gregmap): ... this.
4533 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4534 regmaps.
4535 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4536 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4537 (sparc64obsd_gregmap): ... this.
4538 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4539 regmaps.
4540 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4541 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4542 (sparc32nbsd_gregmap): ... this.
4543 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4544 regmaps.
4545
8fea3224
AA
45462014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4547
4548 * score-tdep.c (score7_linux_gregset): New static regset
4549 structure.
4550 (score7_linux_regset_from_core_section): Remove dynamic regset
4551 allocation.
4552 (score_gdbarch_init): Drop allocation of tdep structure.
4553 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4554
24534243
AA
45552014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4556
4557 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4558 regset structures.
4559 (am33_regset_from_core_section): Remove dynamic regset
4560 allocations.
4561
b7195f27
AA
45622014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4563
4564 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4565 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4566 structures.
4567 (mips_linux_regset_from_core_section): Remove dynamic regset
4568 allocations.
4569 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4570 'gregset64', 'fpregset', and 'fpregset64'.
4571 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4572 deleted tdep fields.
4573
ecc37a5a
AA
45742014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4575
4576 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4577 regset structures.
4578 (amd64_regset_from_core_section): Remove dynamic regset
4579 allocations.
4580 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4581 structure.
4582 (amd64obsd_regset_from_core_section): Remove dynamic regset
4583 allocation.
4584 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4585 Likewise.
4586 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4587 x86-common regset supply function.
4588 * i386-tdep.c (i386_collect_gregset): Make static.
4589 (i386_gregset): New global regset structure.
4590 (i386_fpregset, i386_xstateregset): New static regset structures.
4591 (i386_regset_from_core_section): Remove dynamic regset
4592 allocations.
4593 (i386_gdbarch_init): Remove initialization of tdep fields
4594 'gregset', 'fpregset', and 'xstateregset'.
4595 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4596 'fpregset', and 'xstateregset'.
4597 (i386_collect_gregset): Remove prototype.
4598 (i386_gregset): New declaration.
4599 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4600 structure.
4601 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4602 allocation.
4603
b7611c43
AA
46042014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605
4606 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4607 (arm_linux_vfpregset): New static regset structures.
4608 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4609 regset structures.
4610 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4611 and 'vfpregset' fields.
4612
a069a2bd
AA
46132014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4614
4615 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4616 (aarch64_linux_fpregset): New static regset structures.
4617 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4618 of regset structures.
4619 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4620 'fpregset' fields.
4621
09424cff
AA
46222014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4623
4624 * regset.h (struct regset): Remove gdbarch field.
4625 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4626 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4627 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4628 Likewise.
4629 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4630 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4631 (ppc32_linux_vsxregset): Likewise.
4632 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4633 via the regcache instead of the regset.
4634 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4635 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4636 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4637 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4638 Likewise.
4639
3ca7dae4
AA
46402014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4641
4642 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4643 Constify structures.
4644 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4645 (alphanbsd_aout_gregset): Likewise.
4646 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4647 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4648 Likewise.
4649 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4650 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4651 Likewise.
4652 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4653 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4654 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4655 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4656 * m88k-tdep.c (m88k_gregset): Likewise.
4657 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4658 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4659 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4660 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4661 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4662 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4663 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4664 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4665 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4666 Likewise.
4667 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4668 * sh-tdep.h (sh_corefile_gregset): Likewise.
4669 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4670 * vax-tdep.c (vax_gregset): Likewise.
4671
5876f503
JK
46722014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4673
4674 Fix TLS access for -static -pthread.
4675 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4676 (try_thread_db_load_1): Initialize it.
4677 (thread_db_get_thread_local_address): Call it if LM is zero.
4678 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4679 * target.h (struct target_ops) (to_get_thread_local_address): Add
4680 load_module_addr comment.
4681
0256a6ac
PA
46822014-05-21 Pedro Alves <palves@redhat.com>
4683
4684 * dcache.c (dcache_read_memory_partial): If reading the cache line
4685 fails, fallback to reading just the memory the caller wanted.
4686
227533ac
DE
46872014-05-20 Doug Evans <dje@google.com>
4688
4689 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4690 instead of get_current_arch.
4691
936d2992
PA
46922014-05-20 Pedro Alves <palves@redhat.com>
4693
4694 * NEWS: Mention that compare-sections now works with all targets.
4695
4696 * remote.c (PACKET_qCRC): New enum value.
4697 (remote_verify_memory): Don't send qCRC if the target has no
4698 execution. Use packet_support/packet_ok. If the target doesn't
4699 support the qCRC packet, fallback to a deep memory copy.
4700 (compare_sections_command): Say "target image" instead of "remote
4701 executable".
4702 (_initialize_remote): Add PACKET_qCRC to the list of config
4703 packets that have no associated command. Extend comment.
4704 * target.c (simple_verify_memory, default_verify_memory): New
4705 function.
4706 * target.h (struct target_ops) <to_verify_memory>: Default to
4707 default_verify_memory.
4708 (simple_verify_memory): New declaration.
4709 * target-delegates.c: Regenerate.
4710
e59fa00f
MM
47112014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4712
4713 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4714
f2205de0
HZ
47152014-05-20 Hui Zhu <hui@codesourcery.com>
4716 Yao Qi <yao@codesourcery.com>
4717
4718 PR backtrace/16558
4719 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4720 and change address of sp and pc.
4721
c4e54771
TT
47222014-05-19 Tom Tromey <tromey@redhat.com>
4723
4724 * gdbtypes.c (rank_function): Use XNEWVEC.
4725 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4726
73051182
DE
47272014-05-19 Doug Evans <dje@google.com>
4728
4729 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4730 build_type_unit_groups and moved closer to only caller. Remove
4731 arguments. All references updated. Remove outdated .gdb_index
4732 comment.
4733 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4734 build_type_psymtabs_1.
4735
8832e7e3
DE
47362014-05-19 Doug Evans <dje@google.com>
4737
4738 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4739 n_type_unit_groups, all_type_unit_groups. All uses removed.
4740 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4741 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4742 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4743 (add_type_unit_group_to_table): Delete.
4744
cd8ae15e
DE
47452014-05-19 Doug Evans <dje@google.com>
4746
4747 * eval.c (evaluate_subexp_standard): Add some comments.
4748
08f4850b
DE
47492014-05-17 Doug Evans <xdje42@gmail.com>
4750
4751 * progspace.c (remove_program_space): Delete, unused.
4752 * progspace.h (remove_program_space): Ditto.
4753
bed8455c
DE
47542014-05-17 Doug Evans <xdje42@gmail.com>
4755
4756 * inferior.c (prune_inferiors): Fix comment.
4757 (remove_inferior_command): Call prune_program_spaces.
4758
8d551b02
DE
47592014-05-16 Doug Evans <dje@google.com>
4760
4761 New command line option -D.
4762 * NEWS: Mention it.
4763 * main.c (set_gdb_data_directory): New function.
4764 (captured_main): Recognize -D. Flag error for --data-directory "".
4765 Call set_gdb_data_directory.
4766 (print_gdb_help): Print --data-directory, -D.
4767 * main.h (set_gdb_data_directory): Declare.
4768 * top.c (staged_gdb_datadir): New static global.
4769 (set_gdb_datadir): Call set_gdb_data_directory
4770 (show_gdb_datadir): New function.
4771 (init_main): Update init of data-directory parameter.
4772
18848e28
GF
47732014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4774
4775 Import the "dirfd" gnulib module.
4776 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4777 * gnulib/aclocal.m4: Update.
4778 * gnulib/config.in: Update.
4779 * gnulib/configure: Update.
4780 * gnulib/import/Makefile.am: Update.
4781 * gnulib/import/Makefile.in: Update.
4782 * gnulib/import/dirfd.c: New.
4783 * gnulib/import/m4/dirfd.m4: New.
4784 * gnulib/import/m4/gnulib-cache.m4: Update.
4785 * gnulib/import/m4/gnulib-comp.m4: Update.
4786
95c64f92
YQ
47872014-05-16 Pierre Muller <muller@sourceware.org>
4788 Yao Qi <yao@codesourcery.com>
4789
4790 * valprint.c (print_wchar): Move the code on checking whether
4791 W is a printable wide char to the default branch of switch
4792 statement below. Call wchar_printable instead of gdb_iswprint.
4793
cac395ea
TM
47942014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4795
19679eca 4796 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4797 ldr.w and ldrd instructions.
4798
83655187
DE
47992014-05-15 Doug Evans <dje@google.com>
4800
4801 * dwarf2read.c (read_structure_type): Delete outdated comments.
4802
dd756689
TT
48032014-05-14 Tom Tromey <tromey@redhat.com>
4804
4805 * macrocmd.c (print_macro_definition): Reindent.
4806
75ddda77
DE
48072014-05-13 Doug Evans <xdje42@gmail.com>
4808
4809 * python/py-cmd.c (cmdpy_completer): Add comment.
4810 (completers): Make const.
4811
b0f16a3e
SM
48122014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4813
4814 * infrun.c (resume): Remove should_resume (unused). Move up
4815 declaration of resume_ptid.
4816
033c3379
TT
48172014-05-13 Tom Tromey <tromey@redhat.com>
4818
4819 * language.h (unop_type_check): Remove.
4820 (binop_type_check): Don't declare.
4821
9b44a3a5
AA
48222014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4823
4824 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4825 call to regcache_raw_collect.
4826
303a33fa
SM
48272014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4828
4829 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4830 mi_console->quote as the quoting character.
4831
196100a0
SM
48322014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4833
4834 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4835
f989a1c8
TT
48362014-04-29 Tom Tromey <tromey@redhat.com>
4837
4838 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4839 "show debug varobj".
4840
9404b58f
KM
48412014-05-07 Kyle McMartin <kyle@redhat.com>
4842
4843 Pushed by Joel Brobecker <brobecker@adacore.com>.
4844 * aarch64-tdep.c (aarch64_software_single_step): New function.
4845 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4846 with aarch64_software_single_step.
4847
5e49ba57
JB
48482014-05-05 Joel Brobecker <brobecker@adacore.com>
4849
4850 GDB 7.7.1 released.
4851
c888a17d
KS
48522014-05-05 Keith Seitz <keiths@redhat.com>
4853
4854 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4855 variable or history value is successfully parsed.
4856
290a839c
YQ
48572014-05-05 Yao Qi <yao@codesourcery.com>
4858 Pedro Alves <palves@redhat.com>
4859
4860 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4861 address of blocks that intersects the requested range. Trim
4862 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4863 sections.
4864 * ctf.c (ctf_xfer_partial): Likewise.
4865
91256dc2
YQ
48662014-05-05 Yao Qi <yao@codesourcery.com>
4867
4868 * printcmd.c (display_command): Remove the check to
4869 target_has_execution.
4870
07284463
MK
48712014-05-03 Mark Kettenis <kettenis@gnu.org>
4872
4873 * ppcobsd-nat.c: Include "obsd-nat.h".
4874 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4875 add_target.
4876 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4877
30a1e6cc
SDJ
48782014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4879
4880 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4881 and 16-bit signed and unsigned arguments. Update comment.
4882 (stap_parse_probe_arguments): Extend code to handle such
4883 arguments. Use warning instead of complaint to notify about
4884 unrecognized bitness.
4885
f33da99a
SDJ
48862014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4887
4888 PR breakpoints/16889
4889 * stap-probe.c (stap_parse_probe_arguments): Simplify
4890 check for non-prefixed probes (i.e., probes whose
4891 arguments do not start with "N@"). Always set the
4892 argument type to a sane value.
4893
95cf3b38
DT
48942014-05-01 David Taylor <dtaylor@emc.com>
4895
4896 * remote.c (compare_sections_command): Add -r option to compare
4897 all loadable read-only sections.
4898
1cfdf534
SC
48992014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4900
4901 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4902 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4903 Update all callers.
4904 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4905 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4906 Remove unused CORE_ADDR argument. Update all callers.
4907
ca4f7f8b
PA
49082014-04-29 Pedro Alves <palves@redhat.com>
4909
4910 * remote.c (struct packet_config) <detect>: Extend comment.
4911 (add_packet_config_cmd): Don't set the config's detect or support
4912 fields here.
4913 (init_all_packet_configs): Also initialize the config's 'detect'
4914 field.
4915 (reset_all_packet_configs_support): New function.
4916 (remote_open_1): Call reset_all_packet_configs_support instead of
4917 init_all_packet_configs.
4918 (_initialize_remote): Initialize all packet configs. Assert that
4919 all packets have an associated command, except a few known
4920 outliers.
4921
11c1ba78
JB
49222014-04-28 Joel Brobecker <brobecker@adacore.com>
4923
4924 * dwarf2read.c (read_subrange_type): Handle dynamic
4925 DW_AT_lower_bound attributes.
4926
8739bc53
JB
49272014-04-28 Joel Brobecker <brobecker@adacore.com>
4928
4929 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4930 dynamic bounds before computing its upper bound.
4931 (ada_discrete_type_low_bound): Same as above with the lower bound.
4932
6f8a3220
JB
49332014-04-28 Joel Brobecker <brobecker@adacore.com>
4934
4935 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4936 range types. Adjust the array handling implementation to
4937 take advantage of this change.
4938 (resolve_dynamic_range): New function, mostly extracted from
4939 resolve_dynamic_bounds.
4940 (resolve_dynamic_array): New function, mostly extracted from
4941 resolve_dynamic_bounds.
4942 (resolve_dynamic_bounds): Delete.
4943 (resolve_dynamic_type): Reimplement. Add handling of
4944 TYPE_CODE_RANGE types.
4945
4d072ce4
JB
49462014-04-28 Joel Brobecker <brobecker@adacore.com>
4947
4948 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4949 handling of parallel ___XA types.
4950
52865325
JB
49512014-04-28 Joel Brobecker <brobecker@adacore.com>
4952
4953 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4954 unnecessary second call to static_unwrap_type.
4955
433e77fa
HZ
49562014-04-27 Hui Zhu <hui@codesourcery.com>
4957
4958 * stack.c (print_frame_info): Call do_gdb_disassembly with
4959 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
4960
b51a69ee
DE
49612014-04-26 Doug Evans <xdje42@gmail.com>
4962
4963 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
4964
7ae1a6a6
PA
49652014-04-25 Pedro Alves <palves@redhat.com>
4966
4967 PR server/16255
4968 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
4969 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
4970 and newline from built string.
4971 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
4972 (linux_ptrace_attach_fail_reason): ... this.
4973 * linux-nat.c (linux_nat_attach): Adjust to use
4974 linux_ptrace_attach_fail_reason.
4975
4082afcc
PA
49762014-04-25 Pedro Alves <palves@redhat.com>
4977
4978 * remote.c (struct remote_state): Remove multi_process_aware,
4979 non_stop_aware, cond_tracepoints, cond_breakpoints,
4980 breakpoint_commands, fast_tracepoints, static_tracepoints,
4981 install_in_trace, disconnected_tracing,
4982 enable_disable_tracepoints, string_tracing, and
4983 augmented_libraries_svr4_read fields.
4984 (remote_multi_process_p): Move further below in the file.
4985 (struct packet_config): Add comments.
4986 (update_packet_config): Delete function.
4987 (show_packet_config_cmd): Use packet_config_support.
4988 (add_packet_config_cmd): Use NULL as set callback.
4989 (packet_ok): "set remote foo-packet"-style commands no longer
4990 change config->supported -- adjust.
4991 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
4992 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
4993 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
4994 (PACKET_QNonStop, PACKET_multiprocess_feature)
4995 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
4996 (PACKET_DisconnectedTracing_feature)
4997 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
4998 (set_remote_protocol_packet_cmd): Delete function.
4999 (packet_config_support, packet_support): New functions.
5000 (set_remote_protocol_Z_packet_cmd): Don't call
5001 update_packet_config.
5002 (remote_query_attached, remote_pass_signals)
5003 (remote_program_signals, remote_threads_info)
5004 (remote_threads_extra_info, remote_start_remote): Use
5005 packet_support.
5006 (remote_start_remote): Use packet_config_support and
5007 packet_support.
5008 (init_all_packet_configs): Set all packets to unknown support,
5009 instead of calling update_packet_config.
5010 (remote_check_symbols): Use packet_support.
5011 (remote_supported_packet): Unconditionally set the packet config's
5012 support status.
5013 (remote_multi_process_feature, remote_non_stop_feature)
5014 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5015 (remote_breakpoint_commands_feature)
5016 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5017 (remote_install_in_trace_feature)
5018 (remote_disconnected_tracing_feature)
5019 (remote_enable_disable_tracepoint_feature)
5020 (remote_string_tracing_feature)
5021 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5022 (remote_protocol_features): Adjust to use remote_supported_packet
5023 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5024 "ConditionalTracepoints", "ConditionalBreakpoints",
5025 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5026 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5027 "EnableDisableTracepoints", and "tracenz".
5028 (remote_query_supported): Use packet_support.
5029 (remote_open_1): Adjust.
5030 (extended_remote_attach_1): Use packet_support. Switch on the
5031 result of packet_ok instead of checking whether the packet ended
5032 up disabled.
5033 (remote_vcont_resume): Use packet_support.
5034 (remote_resume, remote_stop_ns, fetch_register_using_p)
5035 (remote_prepare_to_store, store_register_using_P)
5036 (check_binary_download, remote_write_bytes): Use packet_support.
5037 (remote_vkill): Use packet_support. Switch on the result of
5038 packet_ok instead of checking whether the packet ended up
5039 disabled.
5040 (extended_remote_supports_disable_randomization): Use
5041 packet_support.
5042 (extended_remote_run): Switch on the result of packet_ok instead
5043 of checking whether the packet ended up disabled.
5044 (remote_insert_breakpoint, remote_remove_breakpoint)
5045 (remote_insert_watchpoint, remote_remove_watchpoint)
5046 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5047 packet_support.
5048 (remote_search_memory): Use packet_config_support.
5049 (remote_get_thread_local_address, remote_get_tib_address)
5050 (remote_hostio_send_command, remote_can_execute_reverse): Use
5051 packet_support.
5052 (remote_supports_cond_tracepoints)
5053 (remote_supports_cond_breakpoints)
5054 (remote_supports_fast_tracepoints)
5055 (remote_supports_static_tracepoints)
5056 (remote_supports_install_in_trace)
5057 (remote_supports_enable_disable_tracepoint)
5058 (remote_supports_string_tracing)
5059 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5060 the packet config says the feature is enabled or disabled.
5061 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5062 (remote_get_trace_status): Use packet_support.
5063 (remote_set_disconnected_tracing): Adjust to check whether the
5064 feature is enabled with packet_support.
5065 (remote_set_trace_buffer_size, remote_use_agent)
5066 (remote_can_use_agent, remote_supports_btrace): Use
5067 packet_support.
5068 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5069 Use packet_config_support.
5070 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5071 the packet config says the feature is enabled or disabled.
5072 (set_range_stepping): Use packet_support.
5073
bdb52a22
TT
50742014-04-25 Tom Tromey <tromey@redhat.com>
5075
5076 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5077 argument.
5078
e9475ead
SA
50792014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5080
5081 * NEWS: Mention support for C99 variable length arrays.
5082
82eacd52
JB
50832014-04-24 Joel Brobecker <brobecker@adacore.com>
5084
5085 * ada-lang.c (standard_exc): Expand introductory comment.
5086
01f9f808
MS
50872014-04-24 Michael Sturm <michael.sturm@mintel.com>
5088 Walfred Tedeschi <walfred.tedeschi@intel.com>
5089
5090 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5091 AVX512 registers.
5092 (amd64_linux_read_description): Add code to handle AVX512 xstate
5093 mask and return respective tdesc.
5094 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5095 and features/i386/x32-avx512-linux.c.
5096 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5097 (amd64_linux_core_read_description): Add code to handle AVX512
5098 xstate mask and return respective tdesc.
5099 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5100 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5101 calculation.
5102 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5103 (tdesc_amd64_avx512_linux): New prototype.
5104 (tdesc_x32_avx512_linux): Likewise.
5105 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5106 features/i386/x32-avx512.c.
5107 (amd64_ymm_avx512_names): New register names for pseudo
5108 registers YMM16-31.
5109 (amd64_ymmh_avx512_names): New register names for raw registers
5110 YMMH16-31.
5111 (amd64_k_names): New register names for K registers.
5112 (amd64_zmmh_names): New register names for ZMM raw registers.
5113 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5114 (amd64_xmm_avx512_names): New register names for XMM16-31
5115 registers.
5116 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5117 registers.
5118 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5119 if feature is present.
5120 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5121 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5122 (AMD64_NUM_REGS): Adjust to new number of registers.
5123 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5124 registers supplied via XSTATE by AVX512 registers.
5125 (i386_linux_read_description): Add case for AVX512.
5126 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5127 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5128 (i386_linux_core_read_description): Add case for AVX512.
5129 (i386_linux_init_abi): Install supported register note section
5130 for AVX512.
5131 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5132 AVX512.
5133 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5134 registers to be number of zmm7h + 1.
5135 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5136 * i386-tdep.c: Include features/i386/i386-avx512.c.
5137 (i386_zmm_names): Add ZMM pseudo register names array.
5138 (i386_zmmh_names): Add ZMM raw register names array.
5139 (i386_k_names): Add K raw register names array.
5140 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5141 registers. AVX512 has 16 more ZMM registers than there are YMM
5142 registers.
5143 (i386_zmmh_regnum_p): Add function to look up register number of
5144 ZMM raw registers.
5145 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5146 (i386_k_regnum_p): Likewise for K raw registers.
5147 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5148 registers added by AVX512.
5149 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5150 registers added by AVX512.
5151 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5152 added by AVX512.
5153 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5154 (i386_pseudo_register_name): Add ZMM pseudo registers.
5155 (i386_zmm_type): Construct and return vector registers type for ZMM
5156 registers.
5157 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5158 ZMM0-31 pseudo registers and K registers.
5159 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5160 and YMM16-31 registers from register cache.
5161 (i386_pseudo_register_write): Add code to write K, ZMM and
5162 YMM16-31 registers.
5163 (i386_register_reggroup_p): Add code to include/exclude AVX512
5164 registers in/from respective register groups.
5165 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5166 registers if feature is present in xcr0.
5167 (i386_gdbarch_init): Add code to initialize AVX512 feature
5168 variables in tdep structure, wire in pseudo registers and call
5169 initialize_tdesc_i386_avx512.
5170 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5171 variables.
5172 (i386_regnum): Add AVX512 registers.
5173 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5174 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5175 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5176 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5177 512 bits wide.
5178 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5179 (i386_ymm_avx512_regnum_p): Likewise.
5180 (i386_k_regnum_p): Likewise.
5181 (i386_zmm_regnum_p): Likewise.
5182 (i386_zmmh_regnum_p): Likewise.
5183 * i387-tdep.c : Update year in copyright notice.
5184 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5185 XSAVE buffer.
5186 (XSAVE_YMM_AVX512_ADDR): New macro.
5187 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5188 XSAVE buffer.
5189 (XSAVE_XMM_AVX512_ADDR): New macro.
5190 (xsave_avx512_k_offset): New table for K register offsets in
5191 XSAVE buffer.
5192 (XSAVE_AVX512_K_ADDR): New macro.
5193 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5194 in XSAVE buffer.
5195 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5196 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5197 buffer.
5198 (i387_collect_xsave): Add code to collect AVX512 registers from
5199 XSAVE buffer.
5200 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5201 of XMM16-31 registers.
5202 (I387_NUM_K_REGS): New define for number of K registers.
5203 (I387_K0_REGNUM): New define for K0 register number.
5204 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5205 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5206 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5207 registers.
5208 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5209 (I387_XMM16_REGNUM): New define for XMM16 register number.
5210 (I387_YMM0_REGNUM): New define for YMM0 register number.
5211 (I387_KEND_REGNUM): New define for last K register number.
5212 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5213 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5214 number.
5215 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5216 number.
5217 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5218 size.
5219 * features/Makefile: Add AVX512 related files.
5220 * features/i386/32bit-avx512.xml: New file.
5221 * features/i386/64bit-avx512.xml: Likewise.
5222 * features/i386/amd64-avx512-linux.c: Likewise.
5223 * features/i386/amd64-avx512-linux.xml: Likewise.
5224 * features/i386/amd64-avx512.c: Likewise.
5225 * features/i386/amd64-avx512.xml: Likewise.
5226 * features/i386/i386-avx512-linux.c: Likewise.
5227 * features/i386/i386-avx512-linux.xml: Likewise.
5228 * features/i386/i386-avx512.c: Likewise.
5229 * features/i386/i386-avx512.xml: Likewise.
5230 * features/i386/x32-avx512-linux.c: Likewise.
5231 * features/i386/x32-avx512-linux.xml: Likewise.
5232 * features/i386/x32-avx512.c: Likewise.
5233 * features/i386/x32-avx512.xml: Likewise.
5234 * regformats/i386/amd64-avx512-linux.dat: New file.
5235 * regformats/i386/amd64-avx512.dat: Likewise.
5236 * regformats/i386/i386-avx512-linux.dat: Likewise.
5237 * regformats/i386/i386-avx512.dat: Likewise.
5238 * regformats/i386/x32-avx512-linux.dat: Likewise.
5239 * regformats/i386/x32-avx512.dat: Likewise.
5240 * NEWS: Add note about new support for AVX512.
5241
5242
08351840
PA
52432014-04-23 Pedro Alves <palves@redhat.com>
5244
5245 * breakpoint.c (insert_bp_location): Tolerate errors if the
5246 breakpoint is set in a user-loaded objfile.
5247 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5248 location is marked shlib_disabled. If the breakpoint is set in a
5249 user-loaded objfile is a GDB-side memory breakpoint, validate it
5250 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5251 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5252 flag.
5253 * mem-break.c (memory_validate_breakpoint): New function.
5254 * objfiles.c (userloaded_objfile_contains_address_p): New
5255 function.
5256 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5257 * target.h (memory_validate_breakpoint): New declaration.
5258
076855f9
PA
52592014-04-23 Pedro Alves <palves@redhat.com>
5260
5261 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5262 the breakpoint is set in a shared library, only suppress
5263 errors for software breakpoints, not hardware breakpoints.
5264
483805cf
PA
52652014-04-22 Pedro Alves <palves@redhat.com>
5266
5267 * infrun.c (schedlock_applies): New function, factored out from
5268 find_thread_needs_step_over.
5269 (find_thread_needs_step_over): Use it.
5270 (switch_back_to_stepped_thread): Always clear trap_expected if the
5271 step over is finished. Return early if scheduler locking applies.
5272 Look for the stepping thread and a potential step-over thread with
5273 a single loop.
5274 (currently_stepping_or_nexting_callback): Delete.
5275
a75fef0e
NC
52762014-04-22 Nick Clifton <nickc@redhat.com>
5277
5278 * NEWS: Mention that ARM sim now supports tracing.
5279
48b6e87e
YQ
52802014-04-22 Yao Qi <yao@codesourcery.com>
5281
5282 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5283 to ...
5284 * tracefile.c (tracefile_fetch_registers): ... it. New
5285 function.
5286 * tracefile.h (tracefile_fetch_registers): Declare.
5287 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5288 tracefile_fetch_registers.
5289
17617f2d
EZ
52902014-04-19 Eli Zaretskii <eliz@gnu.org>
5291
5292 PR gdb/14018
5293 * windows-nat.c (thread_rec): Don't display a warning when
5294 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5295 fails for any reason, set th->suspended to -1, so that we don't
5296 try to resume such a thread. Also, don't return NULL in these
5297 cases, to avoid completely ruin the session due to "PC register is
5298 not available" error.
5299 (do_windows_fetch_inferior_registers): Check errors in
5300 GetThreadContext call.
5301 (windows_continue): Accept an additional argument KILLED; if not
5302 zero, ignore errors in the SetThreadContext call, since the
5303 inferior was killed and is shutting down.
5304 (windows_resume, get_windows_debug_event)
5305 (windows_create_inferior, windows_mourn_inferior)
5306 (windows_kill_inferior): All callers of windows_continue changed
5307 to adjust to its new calling sequence.
5308
5723a6fd
YQ
53092014-04-19 Yao Qi <yao@codesourcery.com>
5310
5311 * ctf.c (ctf_open): Call post_create_inferior.
5312
614d5099
YQ
53132014-04-19 Yao Qi <yao@codesourcery.com>
5314
5315 * ctf.c (handle_id): New static variable.
5316 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5317 value. Get the declaration of event "register" and get length
5318 of field "contents".
5319
dac3e710
YQ
53202014-04-19 Yao Qi <yao@codesourcery.com>
5321
5322 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5323
2bca57ba
SC
53242014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5325
5326 * valops.c (oload_method_static): Remove unnecessary argument
5327 METHOD. Update all callers.
5328
51d48146
PA
53292014-04-18 Pedro alves <palves@redhat.com>
5330 Tom Tromey <tromey@redhat.com>
5331
5332 PR backtrace/15558
5333 * frame.c (get_prev_frame_1): Rename to ...
5334 (get_prev_frame_always): ... this, and make extern. Adjust.
5335 (skip_artificial_frames): Use get_prev_frame_always.
5336 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5337 (get_frame_unwind_stop_reason): Adjust to rename.
5338 * frame.h (get_prev_frame_always): Declare.
5339 * inline-frame.c: Include frame.h.
5340 (inline_frame_this_id): Use get_prev_frame_always.
5341
1bdad2e0
TG
53422014-04-18 Tristan Gingold <gingold@adacore.com>
5343
5344 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5345 code by using bfd_mach_o_get_base_address.
5346
7ce16bd4
UW
53472014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5348
5349 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5350 (spu_ax_pseudo_register_collect): New function.
5351 (spu_ax_pseudo_register_push_stack): Likewise.
5352 (spu_dwarf_reg_to_regnum): Likewise.
5353 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5354
2ed3c037
UW
53552014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5356
5357 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5358 Replace FRAME argument with FRAME_ID.
5359 * gdbarch.c, gdbarch.h: Regenerate.
5360 * findvar.c (default_value_from_register): Add GDBARCH argument;
5361 replace FRAME by FRAME_ID. No longer call get_frame_id.
5362 (value_from_register): Update call to gdbarch_value_from_register.
5363 * value.h (default_value_from_register): Update prototype.
5364 * s390-linux-tdep.c (s390_value_from_register): Update interface
5365 and call to default_value_from_register.
5366 * spu-tdep.c (spu_value_from_register): Likewise.
5367
5368 * findvar.c (address_from_register): Remove TYPE argument.
5369 Do not call value_from_register; use gdbarch_value_from_register
5370 with null_frame_id instead.
5371 * value.h (address_from_register): Update prototype.
5372 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5373 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5374 address_from_register interface change.
5375
71e50e83
YQ
53762014-04-17 Yao Qi <yao@codesourcery.com>
5377
5378 * gdbtypes.h: Update comments to link to types and macros'
5379 definitions.
5380
7a23c549
SC
53812014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5382
5383 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5384
22869d73
KS
53852014-04-16 Keith Seitz <keiths@redhat.com>
5386
5387 PR gdb/15827
5388 * dwarf2read.c (skip_one_die): Check that all relative-offset
5389 sibling DIEs fall within range of the current reader's buffer.
5390 (read_partial_die): Likewise.
5391
c4f87ca6
KS
53922014-04-16 Keith Seitz <keiths@redhat.com>
5393
5394 PR c++/16597
5395 * cp-namespace.c (lookup_symbol_file): If the type name of
5396 `this' is NULL, return immediately.
5397
b50c8614
KS
53982014-04-14 Keith Seitz <keiths@redhat.com>
5399
5400 PR c++/16253
5401 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5402 from symbol_matches_domain in symtab.c. All local callers
5403 of symbol_matches_domain updated.
5404 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5405 search STRUCT_DOMAIN.
5406 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5407 independently. standard_lookup will do that automatically.
5408 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5409 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5410 (cp_lookup_symbol_in_namespace): Likewise.
5411 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5412 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5413 may return a STRUCT_DOMAIN match.
5414 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5415 * cp-support.c: Include language.h.
5416 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5417 VAR_DOMAIN.
5418 * psymtab.c (match_partial_symbol): Compare the requested
5419 domain with the symbol's domain directly.
5420 (lookup_partial_symbol): Likewise.
5421 * symtab.c (lookup_symbol_in_language): Explain when/why
5422 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5423 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5424 appropriate languages.
5425 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5426 and moved to ada-lang.c
5427 (lookup_block_symbol): Explain that this function only returns
5428 symbol matching the requested DOMAIN.
5429 Compare the requested domain with the symbol's domain directly.
5430 (iterate_over_symbols): Compare the requested domain with the
5431 symbol's domain directly.
5432 * symtab.h (symbol_matches_domain): Remove.
5433
3d567982
TT
54342014-04-14 Tom Tromey <tromey@redhat.com>
5435
5436 PR c++/15246:
5437 * c-exp.y (type_aggregate_p): New function.
5438 (qualified_name, classify_inner_name): Use it.
5439 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5440 and TYPE_TARGET_TYPE of an enum type.
5441 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5442 an enum type.
5443 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5444 handle TYPE_DECLARED_CLASS.
5445 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5446 types.
5447 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5448 * valops.c (enum_constant_from_type): New function.
5449 (value_aggregate_elt): Use it.
5450 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5451 TYPE_CODE_ENUM.
5452
c848d642
TT
54532014-04-14 Tom Tromey <tromey@redhat.com>
5454
5455 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5456 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5457 const.
5458 * value.h (value_aggregate_elt): Update.
5459
0626fc76
TT
54602014-04-14 Tom Tromey <tromey@redhat.com>
5461
5462 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5463
5ecaaa66
SA
54642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5465
5466 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5467 (evaluate_subexp_standard): Pass noside argument.
5468 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5469 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5470 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5471 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5472 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5473
1612e0c0
SA
54742014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5475
5476 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5477 points to a constant blob.
5478
c451ebe5
SA
54792014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5480
5481 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5482 property and store it as the high bound and flag the range accordingly.
5483 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5484 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5485 * gdbtypes.h (enum range_flags): New enum.
5486 (struct range_bounds): Add flags member.
5487
1d42e4c4
SA
54882014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5489
5490 * c-typeprint.c (c_type_print_varspec_suffix): Added
5491 check for not yet resolved high bound. If unresolved, print
5492 "variable length" string to the console instead of random
5493 length.
5494
9f1f738a
SA
54952014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5496
5497 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5498 value.
5499 (ada_template_to_fixed_record_type_1): Likewise.
5500 (ada_to_fixed_type_1): Likewise.
5501 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5502 (cp_print_value): Likewise.
5503 * d-valprint.c (dynamic_array_type): Likewise.
5504 * findvar.c (address_of_variable): Likewise.
5505 * jv-valprint.c (java_value_print): Likewise.
5506 * valops.c (value_ind): Likewise.
5507 * value.c (coerce_ref): Likewise.
5508
3c8452d4
SA
55092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5510
5511 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5512 value and retrieve the dynamic type size.
5513
4ad88275
SA
55142014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5515
5516 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5517 passed to sizeof is dynamic evaluate the argument to compute the length.
5518
80180f79
SA
55192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5520 Joel Brobecker <brobecker@adacore.com>
5521
5522 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5523 (dwarf2_evaluate_property): New function.
5524 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5525 * dwarf2read.c (attr_to_dynamic_prop): New function.
5526 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5527 attribute.
5528 * gdbtypes.c: Include dwarf2loc.h.
5529 (is_dynamic_type): New function.
5530 (resolve_dynamic_type): New function.
5531 (resolve_dynamic_bounds): New function.
5532 (get_type_length): New function.
5533 (check_typedef): Use get_type_length to compute type length.
5534 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5535 (TYPE_LOW_BOUND_KIND): New macro.
5536 (is_dynamic_type): New function prototype.
5537 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5538 to resolve dynamic properties of the type. Update comment.
5539 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5540
a1556843
RH
55412014-04-14 Richard Henderson <rth@redhat.com>
5542
5543 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5544
0be03e84
DE
55452014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5546 Doug Evans <xdje42@gmail.com>
5547
5548 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5549 dereference TYPE_CODE_REF values.
5550
6b662e19
JB
55512014-04-11 Joel Brobecker <brobecker@adacore.com>
5552
5553 Revert the following changes due to regressions:
5554
5555 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5556 (dwarf2_evaluate_property): New function.
5557 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5558 * dwarf2read.c (attr_to_dynamic_prop): New function.
5559 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5560 attribute.
5561 * gdbtypes.c: Include dwarf2loc.h.
5562 (is_dynamic_type): New function.
5563 (resolve_dynamic_type): New function.
5564 (resolve_dynamic_bounds): New function.
5565 (get_type_length): New function.
5566 (check_typedef): Use get_type_length to compute type length.
5567 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5568 (TYPE_LOW_BOUND_KIND): New macro.
5569 (is_dynamic_type): New function prototype.
5570 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5571 to resolve dynamic properties of the type. Update comment.
5572 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5573
5574 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5575 passed to sizeof is dynamic evaluate the argument to compute the length.
5576
5577 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5578 value and retrieve the dynamic type size.
5579
5580 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5581 (ada_template_to_fixed_record_type_1): Likewise.
5582 (ada_to_fixed_type_1): Likewise.
5583 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5584 (cp_print_value): Likewise.
5585 * d-valprint.c (dynamic_array_type): Likewise.
5586 * eval.c (evaluate_subexp_with_coercion): Likewise.
5587 * findvar.c (address_of_variable): Likewise.
5588 * jv-valprint.c (java_value_print): Likewise.
5589 * valops.c (value_ind): Likewise.
5590 * value.c (coerce_ref): Likewise.
5591
5592 * c-typeprint.c (c_type_print_varspec_suffix): Added
5593 check for not yet resolved high bound. If unresolved, print
5594 "variable length" string to the console instead of random
5595 length.
5596
5597 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5598 property and store it as the high bound and flag the range accordingly.
5599 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5600 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5601 * gdbtypes.h (enum range_flags): New enum.
5602 (struct range_bounds): Add flags member.
5603
5604 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5605 points to a constant blob.
5606
5607 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5608 (evaluate_subexp_standard): Pass noside argument.
5609 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5610 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5611 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5612 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5613 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5614
245a5f0b
KS
56152014-04-11 Keith Seitz <keiths@redhat.com>
5616
5617 PR c++/16675
5618 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5619 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5620 reference types.
5621
3bce8237
SA
56222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5623
5624 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5625 (evaluate_subexp_standard): Pass noside argument.
5626 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5627 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5628 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5629 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5630 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5631
92b09522
SA
56322014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5633
5634 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5635 points to a constant blob.
5636
e1969afb
SA
56372014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5638
5639 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5640 property and store it as the high bound and flag the range accordingly.
5641 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5642 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5643 * gdbtypes.h (enum range_flags): New enum.
5644 (struct range_bounds): Add flags member.
5645
b86138fb
SA
56462014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5647
5648 * c-typeprint.c (c_type_print_varspec_suffix): Added
5649 check for not yet resolved high bound. If unresolved, print
5650 "variable length" string to the console instead of random
5651 length.
5652
bcd629a4
SA
56532014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5654
5655 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5656 (ada_template_to_fixed_record_type_1): Likewise.
5657 (ada_to_fixed_type_1): Likewise.
5658 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5659 (cp_print_value): Likewise.
5660 * d-valprint.c (dynamic_array_type): Likewise.
5661 * eval.c (evaluate_subexp_with_coercion): Likewise.
5662 * findvar.c (address_of_variable): Likewise.
5663 * jv-valprint.c (java_value_print): Likewise.
5664 * valops.c (value_ind): Likewise.
5665 * value.c (coerce_ref): Likewise.
5666
04b19544
SA
56672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5668
5669 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5670 value and retrieve the dynamic type size.
5671
26cb189f
SA
56722014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5673
5674 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5675 passed to sizeof is dynamic evaluate the argument to compute the length.
5676
37c1ab67
SA
56772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5678
5679 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5680 (dwarf2_evaluate_property): New function.
5681 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5682 * dwarf2read.c (attr_to_dynamic_prop): New function.
5683 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5684 attribute.
5685 * gdbtypes.c: Include dwarf2loc.h.
5686 (is_dynamic_type): New function.
5687 (resolve_dynamic_type): New function.
5688 (resolve_dynamic_bounds): New function.
5689 (get_type_length): New function.
5690 (check_typedef): Use get_type_length to compute type length.
5691 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5692 (TYPE_LOW_BOUND_KIND): New macro.
5693 (is_dynamic_type): New function prototype.
5694 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5695 to resolve dynamic properties of the type. Update comment.
5696 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5697
729efb13
SA
56982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5699
5700 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5701 declaring high/low bounds and change uses accordingly. Call
5702 create_range_type instead of create_static_range_type.
5703 * gdbtypes.c (create_range_type): New function.
5704 (create_range_type): Convert bounds into struct bound_prop and pass
5705 them to create_range_type.
5706 * gdbtypes.h (struct bound_prop): New struct.
5707 (create_range_type): New function prototype.
5708 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5709 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5710 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5711 part of the bound.
5712 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5713
0c9c3474
SA
57142014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5715
5716 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5717 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5718 * ada-lang.c: All uses of create_range_type updated.
5719 * coffread.c: All uses of create_range_type updated.
5720 * dwarf2read.c: All uses of create_range_type updated.
5721 * f-exp.y: All uses of create_range_type updated.
5722 * m2-valprint.c: All uses of create_range_type updated.
5723 * mdebugread.c: All uses of create_range_type updated.
5724 * stabsread.c: All uses of create_range_type updated.
5725 * valops.c: All uses of create_range_type updated.
5726 * valprint.c: All uses of create_range_type updated.
5727
9d497a19
PA
57282014-04-10 Pedro Alves <palves@redhat.com>
5729
5730 * breakpoint.c (single_step_breakpoints)
5731 (single_step_gdbarch): Move up in the file.
5732 (one_breakpoint_xfer_memory): New function, factored out from ...
5733 (breakpoint_xfer_memory): ... here. Also process single-step
5734 breakpoints.
5735
15a9128a
TG
57362014-04-09 Tristan Gingold <gingold@adacore.com>
5737
5738 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5739 comments.
5740 (darwin_decode_exception_message): Free port only after use.
5741
9c97a070
PL
57422014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5743
5744 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5745 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5746 when setting the size of call_length.
5747
7af389b8
SC
57482014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5749
5750 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5751 dereference TYPE_CODE_REF values.
5752
86ad98c3
JB
57532014-04-07 Joel Brobecker <brobecker@adacore.com>
5754
5755 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5756 end of warning message.
5757
b0aeadb3
DE
57582014-04-03 Doug Evans <dje@google.com>
5759
5760 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5761 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5762
5979d6b6
AM
57632014-04-02 Alan Modra <amodra@gmail.com>
5764
5765 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5766 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5767 (struct symbol_file_add_from_memory_args): Add size field.
5768 (find_vdso_size): New function.
5769 (add_vsyscall_page): Attempt to find vdso size.
5770
0d60c288
DE
57712014-04-01 Doug Evans <dje@google.com>
5772
5773 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5774
a41f2563
TG
57752014-04-01 Tristan Gingold <gingold@adacore.com>
5776
5777 * darwin-nat.c (darwin_encode_reply): Add prototype.
5778 (darwin_decode_exception_message): Reply to unknown inferiors.
5779 (darwin_decode_message): Handle message by id. Ignore message
5780 to unknown inferior.
5781 (darwin_wait): Discard unknown messages, add debug trace.
5782
11a865c8
DE
57832014-03-31 Doug Evans <dje@google.com>
5784
5785 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5786 comp_dir_string.
5787
770e7fc7
DE
57882014-03-31 Doug Evans <dje@google.com>
5789
5790 New option "set print symbol-loading".
5791 * NEWS: Mention it.
5792 * solib.c (solib_read_symbols): Only print symbol loading messages
5793 if requested.
5794 (solib_add): If symbol loading is in "brief" mode, notify user
5795 symbols are being loaded.
5796 (reload_shared_libraries_1): Ditto.
5797 * symfile.c (print_symbol_loading_off): New static global.
5798 (print_symbol_loading_brief): New static global.
5799 (print_symbol_loading_full): New static global.
5800 (print_symbol_loading_enums): New static global.
5801 (print_symbol_loading): New static global.
5802 (print_symbol_loading_p): New function.
5803 (symbol_file_add_with_addrs): Only print symbol loading messages
5804 if requested.
5805 (_initialize_symfile): Register "print symbol-loading" set/show
5806 command.
5807 * symfile.h (print_symbol_loading_p): Declare.
5808
c32c64b7
DE
58092014-03-30 Doug Evans <xdje42@gmail.com>
5810
5811 * infrun.c (set_last_target_status): New function.
5812 (handle_inferior_event): Call it.
5813
7c0bc051
DE
58142014-03-30 Doug Evans <xdje42@gmail.com>
5815
5816 * inferior.h (enum stop_kind): Improve comment.
5817
8776cfe9
JB
58182014-03-28 Joel Brobecker <brobecker@adacore.com>
5819
5820 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5821 a reference, strip the reference layer before calling
5822 the lang_ops value_has_mutated callback.
5823
410a0ff2
SDJ
58242014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5825
5826 Remove some globals from our parser.
5827 * language.c (unk_lang_parser): Add "struct parser_state"
5828 argument.
5829 * language.h (struct language_defn) <la_parser>: Likewise.
5830 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5831 (initialize_expout): Add "struct parser_state" argument.
5832 Rewrite function to use the parser state.
5833 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5834 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5835 write_exp_elt_longcst, write_exp_elt_dblcst,
5836 write_exp_elt_decfloatcst, write_exp_elt_type,
5837 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5838 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5839 write_dollar_variable): Likewise.
5840 (parse_exp_in_context_1): Use parser state.
5841 (insert_type_address_space): Add "struct parser_state" argument.
5842 Use parser state.
5843 (increase_expout_size): New function.
5844 * parser-defs.h: Forward declare "struct language_defn" and
5845 "struct parser_state".
5846 (expout, expout_size, expout_ptr): Remove extern declarations.
5847 (parse_gdbarch, parse_language): Rewrite macro declarations to
5848 accept the parser state.
5849 (struct parser_state): New struct.
5850 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5851 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5852 write_exp_elt_decfloatcst, write_exp_elt_type,
5853 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5854 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5855 write_exp_msymbol, write_dollar_variable,
5856 mark_struct_expression, insert_type_address_space): Add "struct
5857 parser_state" argument.
5858 (increase_expout_size): New function.
5859 * utils.c (do_clear_parser_state): New function.
5860 (make_cleanup_clear_parser_state): Likewise.
5861 * utils.h (make_cleanup_clear_parser_state): New function
5862 prototype.
5863 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5864 Update calls to write_exp* in order to pass the parser state.
5865 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5866 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5867 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5868 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5869 * stap-probe.c (stap_parse_register_operand): Likewise.
5870 (stap_parse_single_operand): Likewise.
5871 (stap_parse_argument_1): Likewise.
5872 (stap_parse_argument): Use parser state.
5873 * stap-probe.h: Include "parser-defs.h".
5874 (struct stap_parse_info) <pstate>: New field.
5875 * c-exp.y (parse_type): Rewrite to use parser state.
5876 (yyparse): Redefine to c_parse_internal.
5877 (pstate): New global variable.
5878 (parse_number): Add "struct parser_state" argument.
5879 (write_destructor_name): Likewise.
5880 (type_exp): Update calls to write_exp* and similars in order to
5881 use parser state.
5882 (exp1, exp, variable, qualified_name, space_identifier,
5883 typename, typebase): Likewise.
5884 (write_destructor_name, parse_number, lex_one_token,
5885 classify_name, classify_inner_name, c_parse): Add "struct
5886 parser_state" argument. Update function to use parser state.
5887 * c-lang.h: Forward declare "struct parser_state".
5888 (c_parse): Add "struct parser_state" argument.
5889 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5890 (yyparse): Redefine macro to ada_parse_internal.
5891 (pstate): New variable.
5892 (write_int, write_object_renaming, write_var_or_type,
5893 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5894 type_int, type_long, type_long_long, type_float, type_double,
5895 type_long_double, type_char, type_boolean, type_system_address):
5896 Add "struct parser_state" argument.
5897 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5898 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5899 var_or_type, aggregate, aggregate_component_list,
5900 positional_list, others, component_group,
5901 component_associations): Update calls to write_exp* and similar
5902 functions in order to use parser state.
5903 (ada_parse, write_var_from_sym, write_int,
5904 write_exp_op_with_string, write_object_renaming,
5905 find_primitive_type, write_selectors, write_ambiguous_var,
5906 write_var_or_type, write_name_assoc, type_int, type_long,
5907 type_long_long, type_float, type_double, type_long_double,
5908 type_char, type_boolean, type_system_address): Add "struct
5909 parser_state" argument. Adjust function to use parser state.
5910 * ada-lang.c (parse): Likewise.
5911 * ada-lang.h: Forward declare "struct parser_state".
5912 (ada_parse): Add "struct parser_state" argument.
5913 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5914 calls to both functions.
5915 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5916 parser state.
5917 (yyparse): Redefine macro to f_parse_internal.
5918 (pstate): New variable.
5919 (parse_number): Add "struct parser_state" argument.
5920 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5921 and similars in order to use parser state.
5922 (parse_number): Adjust code to use parser state.
5923 (yylex): Likewise.
5924 (f_parse): New function.
5925 * f-lang.h: Forward declare "struct parser_state".
5926 (f_parse): Add "struct parser_state" argument.
5927 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5928 parser state.
5929 (yyparse): Redefine macro for java_parse_internal.
5930 (pstate): New variable.
5931 (push_expression_name, push_expression_name, insert_exp): Add
5932 "struct parser_state" argument.
5933 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5934 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5935 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5936 PostIncrementExpression, PostDecrementExpression,
5937 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5938 UnaryExpressionNotPlusMinus, CastExpression,
5939 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5940 RelationalExpression, EqualityExpression, AndExpression,
5941 ExclusiveOrExpression, InclusiveOrExpression,
5942 ConditionalAndExpression, ConditionalOrExpression,
5943 ConditionalExpression, Assignment, LeftHandSide): Update
5944 calls to write_exp* and similars in order to use parser state.
5945 (parse_number): Ajust code to use parser state.
5946 (yylex): Likewise.
5947 (java_parse): New function.
5948 (push_variable): Add "struct parser_state" argument. Adjust
5949 code to user parser state.
5950 (push_fieldnames, push_qualified_expression_name,
5951 push_expression_name, insert_exp): Likewise.
5952 * jv-lang.h: Forward declare "struct parser_state".
5953 (java_parse): Add "struct parser_state" argument.
5954 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
5955 parser state.
5956 (yyparse): Redefine macro to m2_parse_internal.
5957 (pstate): New variable.
5958 (type_exp, exp, fblock, variable, type): Update calls to
5959 write_exp* and similars to use parser state.
5960 (yylex): Likewise.
5961 (m2_parse): New function.
5962 * m2-lang.h: Forward declare "struct parser_state".
5963 (m2_parse): Add "struct parser_state" argument.
5964 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
5965 * objc-lang.h: Forward declare "struct parser_state".
5966 (end_msglist): Add "struct parser_state" argument.
5967 * p-exp.y (parse_type): Rewrite macro to use parser state.
5968 (yyparse): Redefine macro to pascal_parse_internal.
5969 (pstate): New variable.
5970 (parse_number): Add "struct parser_state" argument.
5971 (type_exp, exp1, exp, qualified_name, variable): Update calls to
5972 write_exp* and similars in order to use parser state.
5973 (parse_number, yylex): Adjust code to use parser state.
5974 (pascal_parse): New function.
5975 * p-lang.h: Forward declare "struct parser_state".
5976 (pascal_parse): Add "struct parser_state" argument.
5977 * go-exp.y (parse_type): Rewrite macro to use parser state.
5978 (yyparse): Redefine macro to go_parse_internal.
5979 (pstate): New variable.
5980 (parse_number): Add "struct parser_state" argument.
5981 (type_exp, exp1, exp, variable, type): Update calls to
5982 write_exp* and similars in order to use parser state.
5983 (parse_number, lex_one_token, classify_name, yylex): Adjust code
5984 to use parser state.
5985 (go_parse): Likewise.
5986 * go-lang.h: Forward declare "struct parser_state".
5987 (go_parse): Add "struct parser_state" argument.
5988
342587c4
DE
59892014-03-27 Doug Evans <dje@google.com>
5990
5991 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
5992
33e80786
DE
59932014-03-27 Doug Evans <dje@google.com>
5994
5995 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
5996 Remove argument abbrev_section. All callers updated.
5997
1dbab08b
DE
59982014-03-27 Doug Evans <dje@google.com>
5999
6000 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6001 addr_base, ranges_base.
6002
318d3177
KS
60032014-03-26 Keith Seitz <keiths@redhat.com>
6004
6005 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6006 types, not VAR_DOMAIN.
6007
1e54db15
SL
60082014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6009
6010 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6011 "ra" registers.
6012 * features/nios2-linux.c: Regenerated.
6013 * features/nios2.c: Regenerated.
6014
d3839ede
PA
60152014-03-25 Pedro Alves <palves@redhat.com>
6016
6017 * cli/cli-script.c (script_from_file): Force the interpreter to
6018 sync mode.
6019
7588d2ec
PL
60202014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6021
6022 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6023 small stack allocation.
6024
a6290449
TG
60252014-03-24 Tristan Gingold <gingold@adacore.com>
6026
6027 * darwin-nat.c (exc_server): Remove unused prototype.
6028 (darwin_dump_message): Correctly display data on x86_64.
6029 (darwin_encode_reply): Fix style.
6030 Add comments and fix indentation.
6031
31ae9d24 60322014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6033
6034 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6035
6339bfc4
DE
60362014-03-22 Doug Evans <xdje42@gmail.com>
6037
6038 * infcmd.c: Whitespace fixes.
6039 (interrupt_command): Merge two function comments into one.
6040
0a07590b
DE
60412014-03-22 Doug Evans <xdje42@gmail.com>
6042
6043 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6044 All uses updated.
6045
b55fbac4
YQ
60462014-03-22 Yao Qi <yao@codesourcery.com>
6047
6048 * remote.c (target_read_live_memory): Remove.
6049 (memory_xfer_live_readonly_partial): Rename it to
6050 remote_xfer_live_readonly_partial. Remove argument 'object'.
6051 All callers updated. Call remote_read_bytes_1
6052 instead of target_read_live_memory.
6053 * tracepoint.c (set_traceframe_number): Remove.
6054 (make_cleanup_restore_traceframe_number): Likewise .
6055 * tracepoint.h (set_traceframe_number): Remove declaration.
6056 (make_cleanup_restore_traceframe_number): Likewise.
6057
9217e74e
YQ
60582014-03-22 Yao Qi <yao@codesourcery.com>
6059
6060 * remote.c (remote_read_bytes): Move code on reading from the
6061 remote stub to ...
6062 (remote_read_bytes_1): ... here. New function.
6063
8acf9577
YQ
60642014-03-22 Yao Qi <yao@codesourcery.com>
6065
6066 * ctf.c (ctf_xfer_partial): Check the return value of
6067 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6068 return TARGET_XFER_UNAVAILABLE.
6069 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6070 * target.c (target_read_live_memory): Move it to remote.c.
6071 (memory_xfer_live_readonly_partial): Likewise.
6072 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6073 * remote.c (target_read_live_memory): Moved from target.c.
6074 (memory_xfer_live_readonly_partial): Likewise.
6075 (remote_read_bytes): Factored out from
6076 memory_xfer_partial_1.
6077
feef67ab
DE
60782014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6079
6080 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6081 NULL pointer.
6082
b65dc60b
PA
60832014-03-21 Pedro Alves <palves@redhat.com>
6084
6085 * infrun.c (normal_stop): Extend comment.
6086
b4ab256d
HZ
60872014-03-21 Hui Zhu <hui@codesourcery.com>
6088 Pedro Alves <palves@redhat.com>
6089
6090 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6091 static buffer.
6092 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6093 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6094 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6095
deba7593
MR
60962014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6097
6098 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6099 `z' formatted output modifier.
6100
1bff71c3
SDJ
61012014-03-20 Tom Tromey <tromey@redhat.com>
6102 Sergio Durigan Junior <sergiodj@redhat.com>
6103
6104 * probe.c (parse_probes): Turn assert into an ordinary error.
6105 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6106 exceptions when parsing probes. Rearrange the code for clarity.
6107
90e28950
TT
61082014-03-20 Tom Tromey <tromey@redhat.com>
6109
6110 PR gdb/14135
6111 * top.c (execute_command): Only dispatch events if the command
6112 started the target.
6113
beb460e8
PA
61142014-03-20 Tom Tromey <tromey@redhat.com>
6115
6116 PR cli/15718
6117 * infcall.c: Include event-top.h.
6118 (run_inferior_call): Call async_disable_stdin if needed.
6119
99619bea
PA
61202014-03-20 Pedro Alves <palves@redhat.com>
6121
6122 * infrun.c (prepare_to_proceed): Delete.
6123 (thread_still_needs_step_over): New function.
6124 (find_thread_needs_step_over): New function.
6125 (proceed): If the current thread needs a step-over, set its
6126 steping_over_breakpoint flag. Adjust to use
6127 find_thread_needs_step_over instead of prepare_to_proceed.
6128 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6129 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6130 breakpoint.
6131 (switch_back_to_stepped_thread): Step over breakpoints of all
6132 threads not the stepping thread, before switching back to the
6133 stepping thread.
6134
2adfaa28
PA
61352014-03-20 Pedro Alves <palves@redhat.com>
6136
6137 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6138 extern.
6139 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6140 * infrun.c (saved_singlestep_ptid)
6141 (stepping_past_singlestep_breakpoint): Delete.
6142 (resume): Remove stepping_past_singlestep_breakpoint handling.
6143 (proceed): Store the prev_pc of the stepping thread too.
6144 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6145 singlestep_pc.
6146 (enum infwait_states): Delete infwait_thread_hop_state.
6147 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6148 field.
6149 (handle_inferior_event): Adjust.
6150 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6151 handling and the thread-hop code. Before removing single-step
6152 breakpoints, check whether the thread hit a single-step breakpoint
6153 of another thread. If it did, the trap is not a random signal.
6154 (switch_back_to_stepped_thread): If the event thread hit a
6155 single-step breakpoint, unblock it before switching to the
6156 stepping thread. Handle the case of the stepped thread having
6157 advanced already.
6158 (keep_going): Handle the case of the current thread moving past a
6159 single-step breakpoint.
6160
31e77af2
PA
61612014-03-20 Pedro Alves <palves@redhat.com>
6162
6163 PR breakpoints/7143
6164 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6165 are being stepped over.
6166 (breakpoint_address_match): Make extern.
6167 * breakpoint.h (breakpoint_address_match): New declaration.
6168 * inferior.h (stepping_past_instruction_at): New declaration.
6169 * infrun.c (struct step_over_info): New type.
6170 (step_over_info): New global.
6171 (set_step_over_info, clear_step_over_info)
6172 (stepping_past_instruction_at): New functions.
6173 (handle_inferior_event): Clear the step-over info when
6174 trap_expected is cleared.
6175 (resume): Remove now stale comment.
6176 (clear_proceed_status): Clear step-over info.
6177 (proceed): Adjust step-over handling to set or clear the step-over
6178 info instead of removing all breakpoints.
6179 (handle_signal_stop): When setting up a thread-hop, don't remove
6180 breakpoints here.
6181 (stop_stepping): Clear step-over info.
6182 (keep_going): Adjust step-over handling to set or clear step-over
6183 info and then always inserting breakpoints, instead of removing
6184 all breakpoints when stepping over one.
6185
b9f437de
PA
61862014-03-20 Pedro Alves <palves@redhat.com>
6187
6188 * infrun.c (previous_inferior_ptid): Adjust comment.
6189 (deferred_step_ptid): Delete.
6190 (infrun_thread_ptid_changed, prepare_to_proceed)
6191 (init_wait_for_inferior): Adjust.
6192 (handle_signal_stop): Delete deferred_step_ptid handling.
6193
06c868a8
JK
61942014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6195
6196 PR gdb/15358
6197 * defs.h (sync_quit_force_run): New declaration.
6198 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6199 * event-top.c (async_sigterm_handler): New declaration.
6200 (async_sigterm_token): New variable.
6201 (async_init_signals): Create also async_sigterm_token.
6202 (async_sigterm_handler): New function.
6203 (sync_quit_force_run): New variable.
6204 (handle_sigterm): Replace quit_force call by other calls.
6205 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6206
dea80df0
MR
62072014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6208
6209 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6210 offset into SPE pseudo registers.
6211
0c7e1a46
PA
62122014-03-18 Pedro Alves <palves@redhat.com>
6213
6214 PR gdb/13860
6215 * inferior.h (print_stop_event): Declare.
6216 * infrun.c (print_stop_event): New, factored out from ...
6217 (normal_stop): ... this.
6218 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6219 of bpstat_print/print_stack_frame.
6220
9c1fcd01
TT
62212014-03-17 Tom Tromey <tromey@redhat.com>
6222
6223 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6224
11aa919a
PMR
62252014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6226
6227 * ada-lang.c (decode_constrained_packed_array): Perform a
6228 minimal coercion for reference with coerce_ref instead of
6229 ada_coerce_ref.
6230
d4ccb5e0
TG
62312014-03-17 Tristan Gingold <gingold@adacore.com>
6232
6233 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6234 (darwin_solib_create_inferior_hook): Emit a warning if version
6235 is unhandled.
6236
49840f2a
UW
62372014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6238
6239 * python/py-value.c (get_field_flag): Cast flag_name argument to
6240 PyObject_GetAttrString to support Python 2.4.
6241
ed4123e5
JK
62422014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6243
6244 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6245 (Global Maintainers): Remove Jan Kratochvil.
6246
d6b64346
PA
62472014-03-14 Pedro Alves <palves@redhat.com>
6248
6249 * inferior.h (terminal_ours_for_output): Rename to ...
6250 (child_terminal_ours_for_output): ... this.
6251 (terminal_save_ours): Rename to ...
6252 (child_terminal_save_ours): ... this.
6253 (terminal_ours): Rename to ...
6254 (child_terminal_ours): ... this.
6255 (terminal_inferior): Rename to ...
6256 (child_terminal_inferior): ... this.
6257 (terminal_init_inferior): Rename to ...
6258 (child_terminal_init_inferior): ... this.
6259 (terminal_init_inferior_with_pgrp): Rename to ...
6260 (child_terminal_init_inferior_with_pgrp): ... this.
6261 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6262 (child_terminal_init_with_pgrp): ... this.
6263 (terminal_save_ours): Rename to ...
6264 (child_terminal_save_ours): ... this.
6265 (terminal_init_inferior): Rename to ...
6266 (child_terminal_init): ... this. Adjust.
6267 (terminal_inferior): Rename to ...
6268 (child_terminal_inferior): ... this.
6269 (terminal_ours_for_output): Rename to ...
6270 (child_terminal_ours_for_output): ... this. Adjust.
6271 (terminal_ours): Rename to ...
6272 (child_terminal_ours): ... this.
6273 (terminal_ours_1): Rename to ...
6274 (child_terminal_ours_1): ... this. Adjust.
6275 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6276 * windows-nat.c (do_initial_windows_stuff): Adjust.
6277 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6278 (gnu_terminal_init): ... this. Adjust.
6279 (gnu_target): Adjust.
6280 * inf-child.c (inf_child_target): Adjust.
6281
5a1e8c7a
DE
62822014-03-13 Doug Evans <xdje42@gmail.com>
6283
6284 PR guile/16612
6285 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6286 new eq?-hashtab.
6287
350e1a76
DE
62882014-03-13 Doug Evans <xdje42@gmail.com>
6289
6290 * value.c (record_latest_value): Call release_value_or_incref
6291 instead of release_value.
6292
a69900ae
PA
62932014-03-13 Pedro Alves <palves@redhat.com>
6294
6295 * procfs.c (procfs_target): Don't override to_shortname,
6296 to_longname or to_doc.
6297
5db9f0bd
PA
62982014-03-13 Pedro Alves <palves@redhat.com>
6299
6300 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6301 Unix in user visible strings.
6302
5e3a2c38
SS
63032014-03-12 Stan Shebs <stan@codesourcery.com>
6304
6305 * gdbtypes.h: Annotate comments for Doxygen, add a page
6306 block comment with some general info.
6307
8bc2fe48
PA
63082014-03-12 Pedro Alves <palves@redhat.com>
6309
6310 * infcmd.c (prepare_execution_command): New function, factored out
6311 from several execution commands.
6312 (run_command_1, continue_command, step_1, jump_command)
6313 (signal_command, until_command, advance_command, finish_command)
6314 (attach_command): Use prepare_execution_command.
6315
638c5f49
OJ
63162014-03-12 Omair Javaid <omair.javaid@linaro.org>
6317
6318 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6319 (MAX_BPTS): Define.
6320 (MAX_WPTS): Define.
6321 (struct arm_linux_thread_points): Removed.
6322 (struct arm_linux_process_info): New.
6323 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6324 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6325 (arm_linux_find_breakpoints_by_tid): Removed.
6326 (struct arch_lwp_info): New.
6327 (arm_linux_find_process_pid): New functions.
6328 (arm_linux_add_process): New functions.
6329 (arm_linux_process_info_get): New functions.
6330 (arm_linux_forget_process): New function.
6331 (arm_linux_get_debug_reg_state): New function.
6332 (struct update_registers_data): New.
6333 (update_registers_callback): New function.
6334 (arm_linux_insert_hw_breakpoint1): Updated.
6335 (arm_linux_remove_hw_breakpoint1): Updated.
6336 (arm_linux_insert_hw_breakpoint): Updated.
6337 (arm_linux_remove_hw_breakpoint): Updated.
6338 (arm_linux_insert_watchpoint): Updated.
6339 (arm_linux_remove_watchpoint): Updated.
6340 (arm_linux_new_thread): Updated.
6341 (arm_linux_prepare_to_resume): New function.
6342 (arm_linux_new_fork): New function.
6343 (_initialize_arm_linux_nat): Updated.
6344
6d03af93
PA
63452014-03-12 Pedro Alves <palves@redhat.com>
6346
6347 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6348
b3ccfe11
TT
63492014-03-12 Tom Tromey <tromey@redhat.com>
6350
6351 * inf-child.c (return_zero): New function.
6352 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6353 * aix-thread.c (aix_thread_inferior_created): New function.
6354 (aix_thread_attach): Remove.
6355 (init_aix_thread_ops): Don't set to_attach.
6356 (_initialize_aix_thread): Register inferior_created observer.
6357 * corelow.c (init_core_ops): Don't set to_attach or
6358 to_create_inferior.
6359 * exec.c (init_exec_ops): Don't set to_attach or
6360 to_create_inferior.
6361 * infcmd.c (run_command_1): Use find_run_target. Make direct
6362 target calls.
6363 (attach_command): Use find_attach_target. Make direct target
6364 calls.
6365 * record-btrace.c (init_record_btrace_ops): Don't set
6366 to_create_inferior.
6367 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6368 Remove.
6369 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6370 set to_create_inferior.
6371 * target.c (complete_target_initialization): Add assertion.
6372 (target_create_inferior): Remove.
6373 (find_default_attach, find_default_create_inferior): Remove.
6374 (find_attach_target, find_run_target): New functions.
6375 (find_default_is_async_p, find_default_can_async_p)
6376 (target_supports_non_stop, target_attach): Remove.
6377 (init_dummy_target): Don't set to_create_inferior or
6378 to_supports_non_stop.
6379 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6380 TARGET_DEFAULT_FUNC.
6381 <to_create_inferior>: Add comment.
6382 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6383 TARGET_DEFAULT_RETURN.
6384 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6385 (find_attach_target, find_run_target): Declare.
6386 (target_create_inferior): Remove.
6387 (target_has_execution_1): Update comment.
6388 (target_supports_non_stop): Remove.
6389 * target-delegates.c: Rebuild.
6390
91f83b02
PA
63912014-03-12 Pedro Alves <palves@redhat.com>
6392
6393 * inf-child.h: Update comment to not mention Unix.
6394
f1aea813
PA
63952014-03-12 Pedro Alves <palves@redhat.com>
6396
6397 * inf-child.c: Update top comment to not mention Unix. Add
6398 generic comment describing how this target is meant to be used.
6399 (inf_child_post_attach, inf_child_post_startup_inferior)
6400 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6401 Unix in comment.
6402
ee8e9165
PA
64032014-03-12 Pedro Alves <palves@redhat.com>
6404
6405 * nto-procfs.c: Include inf-child.h.
6406 (procfs_ops): Delete global.
6407 (procfs_can_run): Delete method.
6408 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6409 target pointer instead of referencing procfs_ops.
6410 (procfs_prepare_to_store): Delete.
6411 (init_procfs_ops): Delete function.
6412 (procfs_target): New function, based on init_procfs_ops, but
6413 inherit inf_child_target.
6414 (_initialize_procfs): Use procfs_target.
6415
51a9c8c5
PA
64162014-03-12 Pedro Alves <palves@redhat.com>
6417
6418 * windows-nat.c: Include inf-child.h.
6419 (windows_ops): Delete global.
6420 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6421 methods.
6422 (init_windows_ops): Delete function.
6423 (windows_target): New function, based on init_windows_ops, but
6424 inherit inf_child_target.
6425 (_initialize_windows_nat): Use windows_target. Install x86
6426 specific target methods here.
6427
c1966e26
DE
64282014-03-10 Doug Evans <xdje42@gmail.com>
6429
6430 * guile/guile.c (call_initialize_gdb_module): New function.
6431 (initialize_guile): Replace call to scm_init_guile with call to
6432 scm_with_guile.
6433
023db19c
JB
64342014-03-10 Joel Brobecker <brobecker@adacore.com>
6435
6436 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6437 in call to TYPE_CODE macro.
6438
5ec18f2b
JG
64392014-03-10 Jerome Guitton <guitton@adacore.com>
6440
8668be63
JB
6441 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6442 Resolve tagged types to full view.
5ec18f2b 6443
7d03f2eb
HZ
64442014-03-10 Hui Zhu <hui@codesourcery.com>
6445
6446 * target.h (target_insert_breakpoint): Remove "hardware" from its
6447 comments.
6448
c5164cbc
DE
64492014-03-07 Doug Evans <dje@google.com>
6450
6451 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6452
c4a3fee2
DE
64532014-03-07 Doug Evans <dje@google.com>
6454
6455 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6456 Remove unused local comp_dir_attr. Assert exactly one of
6457 stub_comp_unit_die, stub_comp_dir is non-NULL.
6458
3156469c
JB
64592014-03-07 Joel Brobecker <brobecker@adacore.com>
6460
6461 * target.h (complete_target_initialization, add_target):
6462 Add comment.
6463
c1a7b7c6
PA
64642014-03-07 Pedro Alves <palves@redhat.com>
6465
6466 * go32-nat.c: Include inf-child.h.
6467 (go32_ops): Delete global.
6468 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6469 Delete methods.
6470 (go32_create_inferior): Push the passed in target pointer instead
6471 of referencing go32_ops.
6472 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6473 (go32_target): New function, based on init_go32_ops, but inherit
6474 inf_child_target.
6475 (_initialize_go32_nat): Use go32_target. Move parts of
6476 init_go32_ops here.
6477
d3c1a85f
JB
64782014-03-06 Joel Brobecker <brobecker@adacore.com>
6479
6480 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6481 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6482 SYMBOL_VALUE_ADDRESS.
6483 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6484
5fa1d40e
YQ
64852014-03-06 Yao Qi <yao@codesourcery.com>
6486
6487 * breakpoint.c (get_tracepoint_by_number): Remove argument
6488 optional_p. All callers updated. Adjust comments. Update
6489 output message.
6490 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6491
0c13193f
YQ
64922014-03-06 Yao Qi <yao@codesourcery.com>
6493
6494 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6495 early if get_number returns zero. Use 'p' instead of 'args'.
6496
2217da06
YQ
64972014-03-06 Yao Qi <yao@codesourcery.com>
6498
6499 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6500 message.
6501
cc3da688
YQ
65022014-03-06 Yao Qi <yao@codesourcery.com>
6503
6504 PR breakpoints/16508
6505 * tracepoint.c (check_trace_running): New function.
6506 (trace_find_command): Move code to check_trace_running and
6507 call check_trace_running.
6508 (trace_find_pc_command): Likewise.
6509 (trace_find_tracepoint_command): Likewise.
6510 (trace_find_line_command): Likewise.
6511 (trace_find_range_command): Likewise.
6512 * tracepoint.h (check_trace_running): Likewise.
6513 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6514
6a5f844b
YQ
65152014-03-06 Yao Qi <yao@codesourcery.com>
6516
6517 * target.h (struct target_ops) <to_traceframe_info>: Use
6518 TARGET_DEFAULT_NORETURN (tcomplain ()).
6519 * target-delegates.c: Regenerated.
6520
0f26cec1
PA
65212014-03-05 Pedro Alves <palves@redhat.com>
6522
6523 PR gdb/16575
6524 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6525 void. Update comment.
6526 (dcache_xfer_memory): Delete.
6527 (dcache_read_memory_partial): New, based on the read bits of
6528 dcache_xfer_memory.
6529 (dcache_update): Add status parameter. Use ULONGEST for len, and
6530 adjust. Discard cache lines if the reason for the update was
6531 error.
6532 * dcache.h (dcache_xfer_memory): Delete declaration.
6533 (dcache_read_memory_partial): New declaration.
6534 (dcache_update): Update prototype.
6535 * target.c (raw_memory_xfer_partial): Update the dcache here.
6536 (memory_xfer_partial_1): Don't handle dcache writes here.
6537
b2b255bd
MF
65382014-03-05 Mike Frysinger <vapier@gentoo.org>
6539
6540 * remote-sim.c (gdbsim_load): Add const to prog.
6541
5d9cf8a4
TT
65422014-03-03 Tom Tromey <tromey@redhat.com>
6543
6544 * elfread.c (probe_key): Change to bfd_data.
6545 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6546 now per-BFD, not per-objfile.
6547 * stap-probe.c (stap_probe_destroy): Update comment.
6548 (handle_stap_probe): Allocate on the per-BFD obstack.
6549
729662a5
TT
65502014-03-03 Tom Tromey <tromey@redhat.com>
6551
6552 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6553 * breakpoint.c (create_longjmp_master_breakpoint): Use
6554 get_probe_address.
6555 (add_location_to_breakpoint, bkpt_probe_insert_location)
6556 (bkpt_probe_remove_location): Update.
6557 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6558 * elfread.c (elf_symfile_relocate_probe): Remove.
6559 (elf_probe_fns): Update.
6560 (insert_exception_resume_breakpoint): Change type of "probe"
6561 parameter to bound_probe.
6562 (check_exception_resume): Update.
6563 * objfiles.c (objfile_relocate1): Don't relocate probes.
6564 * probe.c (bound_probe_s): New typedef.
6565 (parse_probes): Use get_probe_address. Set sal's objfile.
6566 (find_probe_by_pc): Return a bound_probe.
6567 (collect_probes): Return a VEC(bound_probe_s).
6568 (compare_probes): Update.
6569 (gen_ui_out_table_header_info): Change type of "probes"
6570 parameter. Update.
6571 (info_probes_for_ops): Update.
6572 (get_probe_address): New function.
6573 (probe_safe_evaluate_at_pc): Update.
6574 * probe.h (struct probe_ops) <get_probe_address>: New field.
6575 <set_semaphore, clear_semaphore>: Add objfile parameter.
6576 (struct probe) <objfile>: Remove field.
6577 <arch>: New field.
6578 <address>: Update comment.
6579 (struct bound_probe): New.
6580 (find_probe_by_pc): Return a bound_probe.
6581 (get_probe_address): Declare.
6582 * solib-svr4.c (struct probe_and_action) <address>: New field.
6583 (hash_probe_and_action, equal_probe_and_action): Update.
6584 (register_solib_event_probe): Add address parameter.
6585 (solib_event_probe_at): Update.
6586 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6587 get_probe_address.
6588 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6589 (stap_get_probe_address): New function.
6590 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6591 (compile_probe_arg): Update.
6592 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6593 address.
6594 (handle_stap_probe): Don't relocate the probe.
6595 (stap_relocate): Remove.
6596 (stap_gen_info_probes_table_values): Update.
6597 (stap_probe_ops): Remove stap_relocate.
6598 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6599 (debug_sym_probe_fns): Update.
6600 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6601 * symtab.c (init_sal): Use memset.
6602 * symtab.h (struct symtab_and_line) <objfile>: New field.
6603 * tracepoint.c (start_tracing, stop_tracing): Update.
6604
ff887920
TT
66052014-03-03 Tom Tromey <tromey@redhat.com>
6606
6607 * probe.h (parse_probes, find_probe_by_pc)
6608 (find_probes_in_objfile): Fix comments.
6609
f0407826
DE
66102014-03-02 Doug Evans <xdje42@gmail.com>
6611
6612 * infrun.c (handle_signal_stop): Replace test for
6613 TARGET_WAITKIND_STOPPED with an assert.
6614
35e6a711
DE
66152014-03-02 Doug Evans <xdje42@gmail.com>
6616
6617 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6618
667f9d0b
DE
66192014-03-02 Doug Evans <xdje42@gmail.com>
6620
6621 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6622
dc92ace0
MK
66232014-03-01 Mark Kettenis <kettenis@gnu.org>
6624
6625 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6626
a900370f
MK
66272014-03-01 Mark Kettenis <kettenis@gnu.org>
6628
6629 * i386obsd-nat.c: Include "obsd-nat.h".
6630 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6631 add_target.
6632 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6633
b72a7981
MK
66342014-03-01 Mark Kettenis <kettenis@gnu.org>
6635
6636 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6637
96c70aba
MK
66382014-03-01 Mark Kettenis <kettenis@gnu.org>
6639
6640 * mips64obsd-nat.c: Include "obsd-nath".
6641 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6642 add_target
6643 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6644
874a80af
MK
66452014-03-01 Mark Kettenis <kettenis@gnu.org>
6646
8fd408f1
MK
6647 * amd64obsd-nat.c: Include "obsd-nat,h.
6648 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6649 add_target.
874a80af
MK
6650 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6651
9cf95373
SC
66522014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6653
6654 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6655 (find_overload_match): Update call to find_oload_champ.
6656 (find_oload_champ_namespace_loop): Likewise
6657
863e4da4
MK
66582014-02-28 Mark Kettenis <kettenis@gnu.org>
6659
025cac40
MK
6660 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6661
1ed586ce
MK
6662 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6663 * config/sparc/obsd64.mh: New file.
6664 * sparc64obsd-nat.c: New file.
6665
863e4da4
MK
6666 * obsd-nat.h: New file.
6667 * obsd-nat.c: New file.
6668 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6669 (ALLDEPFILES): Add obsd-nat.c.
6670
89de4da4
TT
66712014-02-28 Tom Tromey <tromey@redhat.com>
6672
6673 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6674 * cli-out.h (cli_ui_out_impl): Now const.
6675 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6676 * ui-out.c (struct ui_out) <impl>: Now const.
6677 (default_ui_out_impl): Now const.
6678 (ui_out_new): Make 'impl' parameter const.
6679 * ui-out.h (ui_out_new): Update.
6680
c725e7b6
MK
66812014-02-27 Mark Kettenis <kettenis@gnu.org>
6682
6683 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6684
670b46b3
MK
66852014-02-27 Mark Kettenis <kettenis@gnu.org>
6686
6687 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6688
c91550fc
JK
66892014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6690
6691 Additional PR 8882 fix.
6692 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6693
2fa0369e
PA
66942014-02-27 Pedro Alves <palves@redhat.com>
6695
6696 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6697 isn't set.
6698
d632a097
PA
66992014-02-27 Pedro Alves <palves@redhat.com>
6700
6701 PR 12702
6702 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6703 * nat/linux-waitpid.c: Include string.h.
6704 (status_to_str): Moved here and made extern.
6705 * nat/linux-waitpid.h (status_to_str): New declaration.
6706
2ebd5a35
HZ
67072014-02-27 Hui Zhu <hui@codesourcery.com>
6708
6709 PR 12702
6710 * infrun.c (ptid_match): Move ...
6711 * common/ptid.c (ptid_match): ... here.
6712 * inferior.h (ptid_match): Move ...
6713 * common/ptid.h (ptid_match): ... here.
6714
3cdd631f
MK
67152014-02-27 Mark Kettenis <kettenis@gnu.org>
6716
6717 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6718 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6719 gdb_target_obs.
6720
bee30a64
MK
67212014-02-27 Mark Kettenis <kettenis@gnu.org>
6722
6723 * obsd-tdep.c (obsd_auxv_parse): New function.
6724 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6725
6726 * gdbarch.sh (auxv_parse): New.
6727 * gdbarch.h: Regenerated.
6728 * gdbarch.c: Regenerated.
6729 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6730
7a5a839f
LC
67312014-02-26 Ludovic Courtès <ludo@gnu.org>
6732
6733 * guile/scm-value.c (gdbscm_history_append_x): New function.
6734 (value_functions): Add it.
6735
31aa7e4e
JB
67362014-02-27 Joel Brobecker <brobecker@adacore.com>
6737
6738 * dwarf2read.c (attr_value_as_address): New function.
6739 (dwarf2_find_base_address, read_call_site_scope): Use
6740 attr_value_as_address in place of DW_ADDR.
6741 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6742 the low and high addresses. Slight rework of the handling
6743 of the high pc being a constant form, and limit it to
6744 DWARF verson 4 or higher.
6745 (dwarf2_record_block_ranges): Likewise.
6746 (read_partial_die): Likewise.
6747 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6748
9b333ba3
TT
67492014-02-26 Tom Tromey <tromey@redhat.com>
6750
6751 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6752
5f6cac40
TT
67532014-02-26 Tom Tromey <tromey@redhat.com>
6754
6755 * elfread.c (elf_read_minimal_symbols): Return early if
6756 minimal symbols have already been read. Add "ei" parameter.
6757 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6758 * minsyms.c (prim_record_minimal_symbol_full): Update.
6759 * objfiles.h (struct objstats) <n_minsyms>: Move...
6760 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6761 * symmisc.c (print_objfile_statistics): Update.
6762
2750ef27
TT
67632014-02-26 Tom Tromey <tromey@redhat.com>
6764
6765 * elfread.c (elf_read_minimal_symbols): New function, from
6766 elf_symfile_read.
6767 (elf_symfile_read): Call it.
6768
34643a32
TT
67692014-02-26 Tom Tromey <tromey@redhat.com>
6770
6771 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6772 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6773 (lookup_minimal_symbol_solib_trampoline)
6774 (lookup_minimal_symbol_by_pc_section_1)
6775 (lookup_minimal_symbol_and_objfile): Update.
6776 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6777 Don't allocate a minimal symbol if minsyms have already been read.
6778 (build_minimal_symbol_hash_tables): Update.
6779 (install_minimal_symbols): Do nothing if minsyms already read.
6780 Use the per-BFD obstack.
6781 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6782 * objfiles.c (allocate_objfile): Call
6783 terminate_minimal_symbol_table later.
6784 (have_minimal_symbols): Update.
6785 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6786 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6787 Move from struct objfile.
6788 <minsyms_read>: New field.
6789 (struct objfile) <msymbols, minimal_symbol_count,
6790 msymbol_hash, msymbol_demangled_hash>: Move.
6791 (ALL_OBJFILE_MSYMBOLS): Update.
6792 * symfile.c (read_symbols): Set minsyms_read.
6793 (reread_symbols): Update.
6794 * symmisc.c (dump_objfile, dump_msymbols): Update.
6795
2273f0ac
TT
67962014-02-26 Tom Tromey <tromey@redhat.com>
6797
6798 * minsyms.c (msymbols_sort): Remove.
6799 * minsyms.h (msymbols_sort): Remove.
6800 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6801 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6802 * elfread.c (elf_symtab_read): Don't add section offsets.
6803 * xcoffread.c (record_minimal_symbol): Don't add section offset
6804 to minimal symbol address.
6805 * somread.c (text_offset, data_offset): Remove.
6806 (som_symtab_read): Don't add section offsets to minimal symbol
6807 addresses.
6808 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6809 Don't add section offsets to minimal symbols.
6810 * coffread.c (coff_symtab_read): Don't add section offsets
6811 to minimal symbol addresses.
6812 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6813 to minimal symbol addresses.
6814 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6815 section offset to minimal symbol addresses.
6816 * mdebugread.c (parse_partial_symbols): Don't add section
6817 offset to minimal symbol addresses.
6818 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6819 offset to minimal symbol addresses.
6820
77e371c0
TT
68212014-02-26 Tom Tromey <tromey@redhat.com>
6822
6823 * ada-lang.c (ada_main_name): Update.
6824 (ada_add_standard_exceptions): Update.
6825 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6826 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6827 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6828 * auxv.c (ld_so_xfer_auxv): Update.
6829 * avr-tdep.c (avr_scan_prologue): Update.
6830 * ax-gdb.c (gen_var_ref): Update.
6831 * blockframe.c (get_pc_function_start)
6832 (find_pc_partial_function_gnu_ifunc): Update.
6833 * breakpoint.c (create_overlay_event_breakpoint)
6834 (create_longjmp_master_breakpoint)
6835 (create_std_terminate_master_breakpoint)
6836 (create_exception_master_breakpoint): Update.
6837 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6838 * c-valprint.c (c_val_print): Update.
6839 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6840 * common/agent.c (agent_look_up_symbols): Update.
6841 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6842 * dwarf2loc.c (call_site_to_target_addr): Update.
6843 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6844 * elfread.c (elf_gnu_ifunc_record_cache)
6845 (elf_gnu_ifunc_resolve_by_got): Update.
6846 * findvar.c (default_read_var_value): Update.
6847 * frame.c (inside_main_func): Update.
6848 * frv-tdep.c (frv_frame_this_id): Update.
6849 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6850 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6851 Update.
6852 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6853 (hppa_hpux_find_dummy_bpaddr): Update.
6854 * hppa-tdep.c (hppa_symbol_address): Update.
6855 * infcmd.c (until_next_command): Update.
6856 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6857 Update.
6858 * linespec.c (minsym_found, add_minsym): Update.
6859 * linux-nat.c (get_signo): Update.
6860 * linux-thread-db.c (inferior_has_bug): Update.
6861 * m32c-tdep.c (m32c_return_value)
6862 (m32c_m16c_address_to_pointer): Update.
6863 * m32r-tdep.c (m32r_frame_this_id): Update.
6864 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6865 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6866 * maint.c (maintenance_translate_address): Update.
6867 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6868 (frob_address): New function.
6869 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6870 frob_address. Rename parameter to "pc_in".
6871 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6872 addresses.
6873 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6874 Update.
6875 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6876 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6877 * objc-lang.c (find_objc_msgsend): Update.
6878 * objfiles.c (objfile_relocate1): Update.
6879 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6880 * p-valprint.c (pascal_val_print): Update.
6881 * parse.c (write_exp_msymbol): Update.
6882 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6883 (ppc_elfv2_skip_entrypoint): Update.
6884 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6885 * printcmd.c (build_address_symbolic, msym_info)
6886 (address_info): Update.
6887 * proc-service.c (ps_pglobal_lookup): Update.
6888 * psymtab.c (find_pc_sect_psymtab_closer)
6889 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6890 Change msymbol parameter to bound_minimal_symbol.
6891 * ravenscar-thread.c (get_running_thread_id): Update.
6892 * remote.c (remote_check_symbols): Update.
6893 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6894 address.
6895 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6896 * solib-dsbt.c (lm_base): Update.
6897 * solib-frv.c (lm_base, main_got): Update.
6898 * solib-irix.c (locate_base): Update.
6899 * solib-som.c (som_solib_create_inferior_hook)
6900 (link_map_start): Update.
6901 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6902 * solib-svr4.c (elf_locate_base, enable_break): Update.
6903 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6904 (flush_ea_cache): Update.
6905 * stabsread.c (define_symbol, scan_file_globals): Update.
6906 * stack.c (find_frame_funname): Update.
6907 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6908 (debug_qf_find_pc_sect_symtab): Update.
6909 * symfile.c (simple_read_overlay_table)
6910 (simple_overlay_update): Update.
6911 * symfile.h (struct quick_symbol_functions)
6912 <find_pc_sect_symtab>: Change type of msymbol to
6913 bound_minimal_symbol.
6914 * symmisc.c (dump_msymbols): Update.
6915 * symtab.c (find_pc_sect_symtab_via_partial)
6916 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6917 (search_symbols, print_msymbol_info): Update.
6918 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6919 (MSYMBOL_VALUE_ADDRESS): Redefine.
6920 (BMSYMBOL_VALUE_ADDRESS): New macro.
6921 * tracepoint.c (scope_info): Update.
6922 * tui/tui-disasm.c (tui_find_disassembly_address)
6923 (tui_get_begin_asm_address): Update.
6924 * valops.c (find_function_in_inferior): Update.
6925 * value.c (value_static_field, value_fn_field): Update.
6926
3b7344d5
TT
69272014-02-26 Tom Tromey <tromey@redhat.com>
6928
6929 * ada-lang.c (ada_update_initial_language): Update.
6930 (ada_main_name, ada_has_this_exception_support): Update.
6931 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6932 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6933 * arm-tdep.c (arm_skip_stub): Update.
6934 * auxv.c (ld_so_xfer_auxv): Update.
6935 * avr-tdep.c (avr_scan_prologue): Update.
6936 * ax-gdb.c (gen_var_ref): Update.
6937 * breakpoint.c (struct breakpoint_objfile_data)
6938 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6939 type to bound_minimal_symbol.
6940 (create_overlay_event_breakpoint)
6941 (create_longjmp_master_breakpoint)
6942 (create_std_terminate_master_breakpoint)
6943 (create_exception_master_breakpoint): Update.
6944 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6945 * c-exp.y (classify_name): Update.
6946 * coffread.c (coff_symfile_read): Update.
6947 * common/agent.c (agent_look_up_symbols): Update.
6948 * d-lang.c (d_main_name): Update.
6949 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6950 * dec-thread.c (enable_dec_thread): Update.
6951 * dwarf2loc.c (call_site_to_target_addr): Update.
6952 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6953 * eval.c (evaluate_subexp_standard): Update.
6954 * findvar.c (struct minsym_lookup_data) <result>: Change type
6955 to bound_minimal_symbol.
6956 <objfile>: Remove.
6957 (minsym_lookup_iterator_cb, default_read_var_value): Update.
6958 * frame.c (inside_main_func): Update.
6959 * frv-tdep.c (frv_frame_this_id): Update.
6960 * gcore.c (call_target_sbrk): Update.
6961 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6962 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6963 Update.
6964 * go-lang.c (go_main_name): Update.
6965 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
6966 (hppa_hpux_find_import_stub_for_addr): Update.
6967 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
6968 Update. Change return type.
6969 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
6970 type.
6971 * jit.c (jit_breakpoint_re_set_internal): Update.
6972 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
6973 Update.
6974 * linux-nat.c (get_signo): Update.
6975 * linux-thread-db.c (inferior_has_bug): Update
6976 * m32c-tdep.c (m32c_return_value)
6977 (m32c_m16c_address_to_pointer): Update.
6978 * m32r-tdep.c (m32r_frame_this_id): Update.
6979 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6980 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6981 * minsyms.c (lookup_minimal_symbol_internal): Rename to
6982 lookup_minimal_symbol. Change return type.
6983 (lookup_minimal_symbol): Remove.
6984 (lookup_bound_minimal_symbol): Update.
6985 (lookup_minimal_symbol_text): Change return type.
6986 (lookup_minimal_symbol_solib_trampoline): Change return type.
6987 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
6988 (lookup_minimal_symbol_solib_trampoline): Change return type.
6989 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6990 * objc-lang.c (lookup_objc_class, lookup_child_selector)
6991 (value_nsstring, find_imps): Update.
6992 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6993 * p-lang.c (pascal_main_name): Update.
6994 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
6995 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6996 * proc-service.c (ps_pglobal_lookup): Update.
6997 * ravenscar-thread.c (get_running_thread_msymbol): Change
6998 return type.
6999 (has_ravenscar_runtime, get_running_thread_id): Update.
7000 * remote.c (remote_check_symbols): Update.
7001 * sol-thread.c (ps_pglobal_lookup): Update.
7002 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7003 * solib-dsbt.c (lm_base): Update.
7004 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7005 Update.
7006 * solib-irix.c (locate_base): Update.
7007 * solib-som.c (som_solib_create_inferior_hook)
7008 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7009 Update.
7010 * solib-spu.c (spu_enable_break): Update.
7011 * solib-svr4.c (elf_locate_base, enable_break): Update.
7012 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7013 (flush_ea_cache): Update.
7014 * stabsread.c (define_symbol): Update.
7015 * symfile.c (simple_read_overlay_table): Update.
7016 * symtab.c (find_pc_sect_line): Update.
7017 * tracepoint.c (scope_info): Update.
7018 * tui-disasm.c (tui_get_begin_asm_address): Update.
7019 * value.c (value_static_field): Update.
7020
40c1a007
TT
70212014-02-26 Tom Tromey <tromey@redhat.com>
7022
7023 * minsyms.c (prim_record_minimal_symbol_full): Use
7024 SET_MSYMBOL_VALUE_ADDRESS.
7025 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7026 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7027 SET_MSYMBOL_VALUE_ADDRESS.
7028 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7029 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7030
efd66ac6
TT
70312014-02-26 Tom Tromey <tromey@redhat.com>
7032
7033 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7034 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7035 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7036 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7037 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7038 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7039 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7040 * ada-lang.c (ada_main_name): Update.
7041 (ada_lookup_simple_minsym): Update.
7042 (ada_make_symbol_completion_list): Update.
7043 (ada_add_standard_exceptions): Update.
7044 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7045 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7046 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7047 * arm-tdep.c (skip_prologue_function): Update.
7048 (arm_skip_stack_protector, arm_skip_stub): Update.
7049 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7050 (arm_wince_skip_main_prologue): Update.
7051 * auxv.c (ld_so_xfer_auxv): Update.
7052 * avr-tdep.c (avr_scan_prologue): Update.
7053 * ax-gdb.c (gen_var_ref): Update.
7054 * block.c (call_site_for_pc): Update.
7055 * blockframe.c (get_pc_function_start): Update.
7056 (find_pc_partial_function_gnu_ifunc): Update.
7057 * breakpoint.c (create_overlay_event_breakpoint): Update.
7058 (create_longjmp_master_breakpoint): Update.
7059 (create_std_terminate_master_breakpoint): Update.
7060 (create_exception_master_breakpoint): Update.
7061 (resolve_sal_pc): Update.
7062 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7063 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7064 Update.
7065 * c-valprint.c (c_val_print): Update.
7066 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7067 * coffread.c (coff_symfile_read): Update.
7068 * common/agent.c (agent_look_up_symbols): Update.
7069 * dbxread.c (find_stab_function_addr): Update.
7070 (end_psymtab): Update.
7071 * dwarf2loc.c (call_site_to_target_addr): Update.
7072 (func_verify_no_selftailcall): Update.
7073 (tailcall_dump): Update.
7074 (call_site_find_chain_1): Update.
7075 (dwarf_expr_reg_to_entry_parameter): Update.
7076 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7077 (elf_gnu_ifunc_resolve_by_got): Update.
7078 * f-valprint.c (info_common_command): Update.
7079 * findvar.c (read_var_value): Update.
7080 * frame.c (get_prev_frame_1): Update.
7081 (inside_main_func): Update.
7082 * frv-tdep.c (frv_skip_main_prologue): Update.
7083 (frv_frame_this_id): Update.
7084 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7085 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7086 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7087 (gnuv3_skip_trampoline): Update.
7088 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7089 (hppa64_hpux_in_solib_call_trampoline): Update.
7090 (hppa_hpux_skip_trampoline_code): Update.
7091 (hppa64_hpux_search_dummy_call_sequence): Update.
7092 (hppa_hpux_find_import_stub_for_addr): Update.
7093 (hppa_hpux_find_dummy_bpaddr): Update.
7094 * hppa-tdep.c (hppa_symbol_address)
7095 (hppa_lookup_stub_minimal_symbol): Update.
7096 * i386-tdep.c (i386_skip_main_prologue): Update.
7097 (i386_pe_skip_trampoline_code): Update.
7098 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7099 * infcall.c (get_function_name): Update.
7100 * infcmd.c (until_next_command): Update.
7101 * jit.c (jit_breakpoint_re_set_internal): Update.
7102 (jit_inferior_init): Update.
7103 * linespec.c (minsym_found): Update.
7104 (add_minsym): Update.
7105 * linux-fork.c (info_checkpoints_command): Update.
7106 * linux-nat.c (get_signo): Update.
7107 * linux-thread-db.c (inferior_has_bug): Update.
7108 * m32c-tdep.c (m32c_return_value): Update.
7109 (m32c_m16c_address_to_pointer): Update.
7110 (m32c_m16c_pointer_to_address): Update.
7111 * m32r-tdep.c (m32r_frame_this_id): Update.
7112 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7113 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7114 * maint.c (maintenance_translate_address): Update.
7115 * minsyms.c (add_minsym_to_hash_table): Update.
7116 (add_minsym_to_demangled_hash_table): Update.
7117 (msymbol_objfile): Update.
7118 (lookup_minimal_symbol): Update.
7119 (iterate_over_minimal_symbols): Update.
7120 (lookup_minimal_symbol_text): Update.
7121 (lookup_minimal_symbol_by_pc_name): Update.
7122 (lookup_minimal_symbol_solib_trampoline): Update.
7123 (lookup_minimal_symbol_by_pc_section_1): Update.
7124 (lookup_minimal_symbol_and_objfile): Update.
7125 (prim_record_minimal_symbol_full): Update.
7126 (compare_minimal_symbols): Update.
7127 (compact_minimal_symbols): Update.
7128 (build_minimal_symbol_hash_tables): Update.
7129 (install_minimal_symbols): Update.
7130 (terminate_minimal_symbol_table): Update.
7131 (find_solib_trampoline_target): Update.
7132 (minimal_symbol_upper_bound): Update.
7133 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7134 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7135 (mips_skip_pic_trampoline_code): Update.
7136 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7137 * objc-lang.c (selectors_info): Update.
7138 (classes_info): Update.
7139 (find_methods): Update.
7140 (find_imps): Update.
7141 (find_objc_msgsend): Update.
7142 * objfiles.c (objfile_relocate1): Update.
7143 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7144 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7145 * p-valprint.c (pascal_val_print): Update.
7146 * parse.c (write_exp_msymbol): Update.
7147 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7148 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7149 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7150 * printcmd.c (build_address_symbolic): Update.
7151 (sym_info): Update.
7152 (address_info): Update.
7153 * proc-service.c (ps_pglobal_lookup): Update.
7154 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7155 (find_pc_sect_psymtab): Update.
7156 * python/py-framefilter.c (py_print_frame): Update.
7157 * ravenscar-thread.c (get_running_thread_id): Update.
7158 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7159 Update.
7160 * remote.c (remote_check_symbols): Update.
7161 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7162 (rs6000_skip_trampoline_code): Update.
7163 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7164 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7165 * solib-dsbt.c (lm_base): Update.
7166 * solib-frv.c (lm_base): Update.
7167 (main_got): Update.
7168 * solib-irix.c (locate_base): Update.
7169 * solib-som.c (som_solib_create_inferior_hook): Update.
7170 (som_solib_desire_dynamic_linker_symbols): Update.
7171 (link_map_start): Update.
7172 * solib-spu.c (spu_enable_break): Update.
7173 (ocl_enable_break): Update.
7174 * solib-svr4.c (elf_locate_base): Update.
7175 (enable_break): Update.
7176 * spu-tdep.c (spu_get_overlay_table): Update.
7177 (spu_catch_start): Update.
7178 (flush_ea_cache): Update.
7179 * stabsread.c (define_symbol): Update.
7180 (scan_file_globals): Update.
7181 * stack.c (find_frame_funname): Update.
7182 (frame_info): Update.
7183 * symfile.c (simple_read_overlay_table): Update.
7184 (simple_overlay_update): Update.
7185 * symmisc.c (dump_msymbols): Update.
7186 * symtab.c (fixup_section): Update.
7187 (find_pc_sect_line): Update.
7188 (skip_prologue_sal): Update.
7189 (search_symbols): Update.
7190 (print_msymbol_info): Update.
7191 (rbreak_command): Update.
7192 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7193 (completion_list_objc_symbol): Update.
7194 (default_make_symbol_completion_list_break_on): Update.
7195 * tracepoint.c (scope_info): Update.
7196 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7197 (tui_get_begin_asm_address): Update.
7198 * valops.c (find_function_in_inferior): Update.
7199 * value.c (value_static_field): Update.
7200 (value_fn_field): Update.
7201
50e65b17
TT
72022014-02-26 Tom Tromey <tromey@redhat.com>
7203
7204 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7205 bound minimal symbols. Move code that knows about minsym
7206 table layout...
7207 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7208 function.
7209 * minsyms.h (minimal_symbol_upper_bound): Declare.
7210 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7211 minimal_symbol_upper_bound.
7212
1b588015
JB
72132014-02-27 Joel Brobecker <brobecker@adacore.com>
7214
7215 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7216 Use the type's name if its basic type does not have a tag.
7217
dbb9c2b1
JB
72182014-02-27 Joel Brobecker <brobecker@adacore.com>
7219
7220 * dwarf2read.c (read_subrange_type): Add comment.
7221
55426c9d
JB
72222014-02-27 Joel Brobecker <brobecker@adacore.com>
7223
7224 * dwarf2read.c (update_enumeration_type_from_children): New
7225 function, mostly extracted from process_structure_scope.
7226 (read_enumeration_type): Call update_enumeration_type_from_children.
7227 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7228 and flag_flag_enum fields.
7229
f2fce0ca
PA
72302014-02-26 Pedro Alves <palves@redhat.com>
7231
7232 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7233 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7234 to_xfer_partial method.
7235
7a44e40e
PA
72362014-02-26 Pedro Alves <palves@redhat.com>
7237
7238 * target.c (complete_target_initialization): Don't install
7239 default_xfer_partial as to_xfer_partial hook.
7240 (nomemory): Delete.
7241 (update_current_target): Don't INHERIT nor de_fault
7242 deprecated_xfer_memory. Delete de_fault macro.
7243 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7244 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7245 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7246 field.
7247
bd265cd0
PA
72482014-02-26 Pedro Alves <palves@redhat.com>
7249
7250 * go32-nat.c (my_write_child): New function.
7251 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7252 (go32_xfer_partial): New function.
7253 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7254 Instead install a to_xfer_partial hook.
7255
9d46c4e5
PA
72562014-02-26 Pedro Alves <palves@redhat.com>
7257
7258 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7259 to_xfer_partial helper. Rewrite.
7260 (procfs_xfer_partial): New function.
7261 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7262 Install a to_xfer_partial hook.
7263
a1583b1f
PA
72642014-02-26 Pedro Alves <palves@redhat.com>
7265
7266 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7267 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7268 (m32r_xfer_partial): New function.
7269 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7270 Install a to_xfer_partial hook.
7271
6df1b29f
PA
72722014-02-26 Pedro Alves <palves@redhat.com>
7273
7274 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7275 helper.
7276 (mips_xfer_partial): New function.
7277 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7278 hook. Install a to_xfer_partial hook.
7279
dc53a7ad
JB
72802014-02-26 Joel Brobecker <brobecker@adacore.com>
7281
7282 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7283 * gdbtypes.c (create_array_type_with_stride): New function,
7284 renaming create_array_type, but with an added parameter
7285 called "bit_stride".
7286 (create_array_type): Re-implement using
7287 create_array_type_with_stride.
7288 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7289 and DW_AT_bit_stride attributes.
7290
12ab52e9
PA
72912014-02-26 Pedro Alves <palves@redhat.com>
7292
7293 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7294 task-specific breakpoints.
7295
d16461ae
PA
72962014-02-25 Pedro Alves <palves@redhat.com>
7297
7298 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7299 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7300
a8b16220
SS
73012014-02-25 Stan Shebs <stan@codesourcery.com>
7302
7303 * defs.h: Annotate comments for Doxygen.
7304
b9e795ee
TT
73052014-02-25 Tom Tromey <tromey@redhat.com>
7306
7307 * target.h (target_ignore): Don't declare.
7308 * target.c (target_ignore): Remove.
7309
849c862e
JK
73102014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7311
7312 PR gdb/16626
7313 * auto-load.c (auto_load_objfile_script_1): Change filename to
7314 debugfile.
7315
475109d8
JB
73162014-02-25 Joel Brobecker <brobecker@adacore.com>
7317
7318 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7319 documentation. Adjust prototype to match the target_ops
7320 to_xfer_partial method. Adjust implementation accordingly.
7321
e186c3bd
HZ
73222014-02-25 Hui Zhu <hui@codesourcery.com>
7323
7324 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7325 to_traceframe_info.
7326
6d451942
KB
73272014-02-25 Kevin Buettner <kevinb@redhat.com>
7328
041ab8b4 7329 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7330 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7331 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7332 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7333 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7334 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7335 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7336 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7337 New constants.
7338 (rl78_register_type): Use a data pointer type for SP and
7339 new pseudo registers mentioned above. Use a 16 bit integer
7340 type for all other register pairs.
7341 (rl78_register_name, rl78_g10_register_name): Update for
7342 new pseudo registers.
7343 (rl78_pseudo_register_read): Likewise.
7344 (rl78_pseudo_register_write): Likewise.
7345 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7346 to the newly added pseudo registers.
7347
eddf0bae
DE
73482014-02-24 Doug Evans <dje@google.com>
7349
7350 * value.c (record_latest_value): Fix comment.
7351 * printcmd.c (print_command_1): Remove code to handle -1 return from
7352 record_latest_value.
7353
e96027e0
PA
73542014-02-24 Pedro Alves <palves@redhat.com>
7355
7356 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7357 deprecated_xfer_memory hook.
7358 (procfs_xfer_partial): Call procfs_xfer_memory instead
7359 of the deprecated_xfer_memory target hook.
7360 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7361 helper.
7362
0837c976
YZ
73632014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7364
7365 * windows-nat.c (windows_xfer_shared_libraries): Return
7366 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7367 requested object is TARGET_OBJECT_LIBRARIES.
7368
bc113b4e
YQ
73692014-02-24 Yao Qi <yao@codesourcery.com>
7370
7371 * target.h (enum target_xfer_status)
7372 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7373 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7374 explicitly. New.
7375 * corefile.c (memory_error_message): User updated.
7376 * exec.c (section_table_read_available_memory): Likewise.
7377 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7378 * target.c (target_xfer_status_to_string): Likewise.
7379 (raw_memory_xfer_partial): Likewise.
7380 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7381 * valops.c (read_value_memory): Likewise.
7382 * exec.h: Update comments.
7383
01cb8804
YQ
73842014-02-24 Yao Qi <yao@codesourcery.com>
7385
7386 * target.c (target_xfer_status_to_string): Rename argument err
7387 to status.
7388 * target.h (target_xfer_status_to_string): Update declaration.
7389 Replace target_xfer_error_to_string with
7390 target_xfer_status_to_string in comment.
7391
93063aa6
YQ
73922014-02-24 Yao Qi <yao@codesourcery.com>
7393
7394 * mips-linux-nat.c (super_close): Update its type.
7395 (mips_linux_close): Pass 'self' to super_close.
7396
5c328c05
YQ
73972014-02-24 Yao Qi <yao@codesourcery.com>
7398
7399 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7400 * corefile.c (read_memory): Adjusted.
7401 * target.c (target_write_with_progress): Adjusted.
7402
f73023dd
YQ
74032014-02-23 Yao Qi <yao@codesourcery.com>
7404
7405 Revert two patches:
7406
7407 2013-10-25 Yao Qi <yao@codesourcery.com>
7408
7409 * remote.c (remote_traceframe_info): Return early if
7410 traceframe is not selected.
7411
7412 2013-07-19 Yao Qi <yao@codesourcery.com>
7413
7414 * target.c (update_current_target): Change the default action
7415 of 'to_traceframe_info' from tcomplain to return_zero.
7416 * target.h (struct target_ops) <to_traceframe_info>: Add more
7417 comments.
7418
5a2eb0ef
YQ
74192014-02-23 Yao Qi <yao@codesourcery.com>
7420
7421 * valops.c (read_value_memory): Rewrite it. Call
7422 target_xfer_partial in a loop.
7423 * exec.h (section_table_available_memory): Remove declaration.
7424 Move comments to ...
7425 * exec.c (section_table_available_memory): ... here. Make it
7426 static.
7427
1ee79381
YQ
74282014-02-23 Yao Qi <yao@codesourcery.com>
7429
7430 * exec.c (section_table_read_available_memory): New function.
7431 * exec.h (section_table_read_available_memory): Declare.
7432 * ctf.c (ctf_xfer_partial): Call
7433 section_table_read_available_memory.
7434 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7435
1ca49d37
YQ
74362014-02-23 Yao Qi <yao@codesourcery.com>
7437
7438 * ctf.c (ctf_xfer_partial): Move code to ...
7439 * exec.c (exec_read_partial_read_only): ... it. New function.
7440 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7441 * tracefile.c: Include "exec.h".
7442 * exec.h (exec_read_partial_read_only): Declare.
7443
a283690e
YQ
74442014-02-23 Yao Qi <yao@codesourcery.com>
7445
7446 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7447 (tfile_has_memory): Remove.
7448 (init_tfile_ops): Don't set fields to_has_all_memory and
7449 to_has_memory of tfile_ops.
7450 * tracefile.c (tracefile_has_all_memory): New function.
7451 (tracefile_has_memory): New function.
7452 (init_tracefile_ops): Initialize fields to_has_all_memory and
7453 to_has_memory of 'ops'.
7454
12e03cd0
YQ
74552014-02-23 Yao Qi <yao@codesourcery.com>
7456
7457 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7458 (ctf_thread_alive, ctf_get_trace_status): Remove.
7459 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7460 init_tracefile_ops.
7461 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7462 (tfile_has_stack, tfile_has_registers): Remove.
7463 (tfile_thread_alive): Remove.
7464 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7465 init_tracefile_ops.
7466 * tracefile.c (tracefile_has_stack): New function.
7467 (tracefile_has_registers): New function.
7468 (tracefile_thread_alive): New function.
7469 (tracefile_get_trace_status): New function.
7470 (init_tracefile_ops): New function.
7471 * tracefile.h (init_tracefile_ops): Declare.
7472
11395323
YQ
74732014-02-23 Yao Qi <yao@codesourcery.com>
7474
7475 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7476 (O_LARGEFILE): Likewise.
7477 (tfile_ops): Likewise.
7478 (TRACE_HEADER_SIZE): Likewise.
7479 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7480 (cur_data_size): Likewise.
7481 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7482 (tfile_close, tfile_files_info): Likewise.
7483 (tfile_get_trace_status): Likewise.
7484 (tfile_get_tracepoint_status): Likewise.
7485 (tfile_get_traceframe_address): Likewise.
7486 (tfile_trace_find, match_blocktype): Likewise.
7487 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7488 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7489 (tfile_get_trace_state_variable_value): Likewise.
7490 (tfile_has_all_memory, tfile_has_memory): Likewise.
7491 (tfile_has_stack, tfile_has_registers): Likewise.
7492 (tfile_thread_alive, build_traceframe_info): Likewise.
7493 (tfile_traceframe_info, init_tfile_ops): Likewise.
7494 (_initialize_tracepoint): Don't call init_tfile_ops
7495 and add_target_with_completer.
7496 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7497 exec.h, completer.h and filenames.h.
7498 (_initialize_tracefile_tfile): New function.
7499
7951c4eb
YQ
75002014-02-23 Yao Qi <yao@codesourcery.com>
7501
7502 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7503 tracefile-tfile.o.
7504 (HFILES_NO_SRCDIR): Add tracefile.h.
7505 * ctf.c: Include "tracefile.h".
7506 * tracefile.h: New file.
7507 * tracefile.c: New file
7508 * tracefile-tfile.c: New file.
7509 * tracepoint.c: Include "tracefile.h".
7510 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7511 (stop_reason_names): Add const.
7512 (trace_file_writer_xfree): Move it to tracefile.c.
7513 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7514 (trace_save_ctf): Likewise.
7515 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7516 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7517 (tfile_write_header, tfile_write_regblock_type): Likewise.
7518 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7519 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7520 (tfile_write_raw_data, tfile_end): Likewise.
7521 (tfile_trace_file_writer_new): Likewise.
7522 (free_uploaded_tp): Make it extern.
7523 (free_uploaded_tsv): Make it extern.
7524 (_initialize_tracepoint): Move code to register command 'tsave'
7525 to tracefile.c.
7526 * tracepoint.h (stop_reason_names): Declare.
7527 (struct trace_frame_write_ops): Move it to tracefile.h.
7528 (struct trace_file_write_ops): Likewise.
7529 (struct trace_file_writer): Likewise.
7530 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7531
184cd072
JK
75322014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7533
7534 PR gdb/16594
7535 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7536 process name.
7537 (get_cores_used_by_process): New parameter num_cores, use it.
7538 (linux_xfer_osdata_processes): Pass num_cores to it.
7539 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7540 process name.
7541
c63528fc
AK
75422014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7543
7544 * target.c (memory_xfer_partial): Fix length arg in call to
7545 breakpoint_xfer_memory.
7546
d7b30f67
SDJ
75472014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7548
7549 PR tdep/16397
7550 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7551 number comes after the + or - signs. Adjust length of register
7552 name to be extracted.
7553
8838afaf
TT
75542014-02-20 Tom Tromey <tromey@redhat.com>
7555
7556 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7557 (ada_varobj_ops): Mark "extern".
7558
05227d14
TT
75592014-02-20 Tom Tromey <tromey@redhat.com>
7560
7561 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7562
1254eefc
DE
75632014-02-20 Doug Evans <xdje42@gmail.com>
7564
7565 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7566 All callers updated.
7567 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7568 All callers updated.
7569 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7570 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7571
adde2bff
DE
75722014-02-20 lin zuojian <manjian2006@gmail.com>
7573 Joel Brobecker <brobecker@adacore.com>
7574 Doug Evans <xdje42@gmail.com>
7575
7576 PR symtab/16581
7577 * dwarf2read.c (struct die_info): New member in_process.
7578 (reset_die_in_process): New function.
7579 (process_die): Set it at the start, reset when returning.
7580 (inherit_abstract_dies): Only call process_die if origin_child_die
7581 not already being processed.
7582
3be75f87
JB
75832014-02-20 Joel Brobecker <brobecker@adacore.com>
7584
7585 * windows-nat.c (handle_unload_dll): Add function documentation.
7586 (do_initial_windows_stuff): Add comment explaining why we wait
7587 until after inferior initialization has finished before
7588 processing all DLLs.
7589
47f7ffdb
JB
75902014-02-20 Joel Brobecker <brobecker@adacore.com>
7591
7592 * windows-nat.c (get_module_name): Delete.
7593 (windows_get_exec_module_filename): New function, mostly
7594 inspired from get_module_name.
7595 (windows_pid_to_exec_file): Replace call to get_module_name
7596 by call to windows_get_exec_module_filename.
7597
1cd9feab
JB
75982014-02-20 Joel Brobecker <brobecker@adacore.com>
7599
7600 * windows-nat.c (handle_load_dll): Rewrite this function's
7601 introductory comment. Remove code using get_module_name
7602 to get the DLL's name.
7603
ea39ad35
JB
76042014-02-20 Joel Brobecker <brobecker@adacore.com>
7605
7606 * windows-nat.c (get_windows_debug_event): Ignore
7607 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7608 if windows_initialization_done == 0.
7609 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7610 Adjust implementation to always load all DLLs.
7611 (do_initial_windows_stuff): Replace call to
7612 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7613
95060284
JB
76142014-02-20 Joel Brobecker <brobecker@adacore.com>
7615
7616 * windows-nat.c (_initialize_windows_nat): Deprecate the
7617 "dll-symbols" command. Turn the "add-shared-symbol-files"
7618 and "assf" aliases into commands, and deprecate them as well.
7619 * NEWS: Add entry explaining that "dll-symbols" and its two
7620 aliases are now deprecated.
7621
8d4fdb12
JB
76222014-02-20 Joel Brobecker <brobecker@adacore.com>
7623
7624 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7625 new-line in debug string. Remove trailing spaces.
7626
1b281443
SS
76272014-02-19 Stan Shebs <stan@codesourcery.com>
7628
7629 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7630
f7bd0f78
SC
76312014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7632
7633 * NEWS: Add entry for the new feature
7634 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7635 and class values.
7636
399ebc3d
SS
76372014-02-19 Stan Shebs <stan@codesourcery.com>
7638
7639 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7640
c658158d
PA
76412014-02-19 Pedro Alves <palves@redhat.com>
7642
7643 * common/ptid.h (struct ptid): Mention that process_stratum
7644 targets should prefer ptid.lwp.
7645
ba348170
PA
76462014-02-19 Pedro Alves <palves@redhat.com>
7647
7648 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7649 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7650 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7651 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7652 store remote thread ids rather than ptid.tid.
7653 (_initialize_remote): Adjust.
7654
ac01945b
TT
76552014-02-19 Tom Tromey <tromey@redhat.com>
7656
7657 * target.c (target_get_unwinder): Rewrite.
7658 (target_get_tailcall_unwinder): Rewrite.
7659 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7660 (record_btrace_to_get_tailcall_unwinder): New function.
7661 (init_record_btrace_ops): Update.
7662 * target.h (struct target_ops) <to_get_unwinder,
7663 to_get_tailcall_unwinder>: Now function pointers. Use
7664 TARGET_DEFAULT_RETURN.
7665
8476dc92
TT
76662014-02-19 Tom Tromey <tromey@redhat.com>
7667
7668 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7669 argument.
7670 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7671
c0eca49f
TT
76722014-02-19 Tom Tromey <tromey@redhat.com>
7673
7674 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7675 directly.
7676 * target-delegates.c: Rebuild.
7677 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7678 TARGET_DEFAULT_FUNC.
7679 * target.c (default_target_decr_pc_after_break): Rename from
7680 forward_target_decr_pc_after_break. Simplify.
7681 (target_decr_pc_after_break): Rely on delegation.
7682
596b6b39
TT
76832014-02-19 Tom Tromey <tromey@redhat.com>
7684
7685 * target.c (update_current_target): Do not INHERIT to_doc or
7686 to_magic. Do not de_fault to_open or to_close.
7687
b427c1bc
TT
76882014-02-19 Tom Tromey <tromey@redhat.com>
7689
7690 * gcore.h (objfile_find_memory_regions): Declare.
7691 * gcore.c (objfile_find_memory_regions): No longer static. Add
7692 "self" argument.
7693 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7694 * exec.c: Include gcore.h.
7695 (exec_set_find_memory_regions): Remove.
7696 (exec_find_memory_regions): Remove.
7697 (exec_do_find_memory_regions): Remove.
7698 (init_exec_ops): Update.
7699 * defs.h (exec_set_find_memory_regions): Remove.
7700
9b144037
TT
77012014-02-19 Tom Tromey <tromey@redhat.com>
7702
7703 * target-delegates.c: Rebuild.
7704 * target.h (struct target_ops) <to_extra_thread_info,
7705 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7706 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7707 not 0, in TARGET_DEFAULT_RETURN.
7708
555bbdeb
TT
77092014-02-19 Tom Tromey <tromey@redhat.com>
7710
7711 * target.c (complete_target_initialization): Remove casts. Use
7712 return_zero_has_execution.
7713 (return_zero): Add "ignore" argument.
7714 (return_zero_has_execution): New function.
7715 (init_dummy_target): Remove casts. Use
7716 return_zero_has_execution.
7717
be4ddd36
TT
77182014-02-19 Tom Tromey <tromey@redhat.com>
7719
7720 * target.c (update_current_target): Update comments. Do not
7721 INHERIT to_stratum.
7722
2117c711
TT
77232014-02-19 Tom Tromey <tromey@redhat.com>
7724
7725 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7726 needed.
7727 * corelow.c (core_read_description): Delegate when needed.
7728 * remote.c (remote_read_description): Delegate when needed.
7729 * target-delegates.c: Rebuild.
7730 * target.c (target_read_description): Rewrite.
7731 * target.h (struct target_ops) <to_read_description>: Update
7732 comment. Use TARGET_DEFAULT_RETURN.
7733
e88ef65c
TT
77342014-02-19 Tom Tromey <tromey@redhat.com>
7735
7736 * target-delegates.c: Rebuild.
7737 * target.c (update_current_target): Don't inherit or default
7738 to_can_run.
7739 (find_default_run_target): Check against delegate_can_run.
7740 * target.h (struct target_ops) <to_can_run>: Use
7741 TARGET_DEFAULT_RETURN.
7742
86a0854a
TT
77432014-02-19 Tom Tromey <tromey@redhat.com>
7744
7745 * target-delegates.c: Rebuild.
7746 * target.c (target_disconnect): Unconditionally delegate.
7747 * target.h (struct target_ops) <to_disconnect>: Use
7748 TARGET_DEFAULT_NORETURN.
7749
ee97f592
TT
77502014-02-19 Tom Tromey <tromey@redhat.com>
7751
7752 * record.c (record_stop): Unconditionally delegate.
7753 * target-delegates.c: Rebuild.
7754 * target.c (target_stop_recording): Unconditionally delegate.
7755 * target.h (struct target_ops) <to_stop_recording>: Use
7756 TARGET_DEFAULT_IGNORE.
7757
6dc7fcf4
TT
77582014-02-19 Tom Tromey <tromey@redhat.com>
7759
7760 * target-delegates.c: Rebuild.
7761 * target.c (target_enable_btrace): Unconditionally delegate.
7762 * target.h (struct target_ops) <to_enable_btrace>: Use
7763 TARGET_DEFAULT_NORETURN.
7764
eb5b20d4
TT
77652014-02-19 Tom Tromey <tromey@redhat.com>
7766
7767 * target-delegates.c: Rebuild.
7768 * target.c (target_read_btrace): Unconditionally delegate.
7769 * target.h (struct target_ops) <to_read_btrace>: Use
7770 TARGET_DEFAULT_NORETURN.
7771
9ace480d
TT
77722014-02-19 Tom Tromey <tromey@redhat.com>
7773
7774 * target-delegates.c: Rebuild.
7775 * target.c (target_teardown_btrace): Unconditionally delegate.
7776 * target.h (struct target_ops) <to_teardown_btrace>: Use
7777 TARGET_DEFAULT_NORETURN.
7778
8dc292d3
TT
77792014-02-19 Tom Tromey <tromey@redhat.com>
7780
7781 * target-delegates.c: Rebuild.
7782 * target.c (target_disable_btrace): Unconditionally delegate.
7783 * target.h (struct target_ops) <to_disable_btrace>: Use
7784 TARGET_DEFAULT_NORETURN.
7785
58a5184e
TT
77862014-02-19 Tom Tromey <tromey@redhat.com>
7787
7788 * target-delegates.c: Rebuild.
7789 * target.c (default_search_memory): New function.
7790 (simple_search_memory): Update comment.
7791 (target_search_memory): Unconditionally delegate.
7792 * target.h (struct target_ops) <to_search_memory>: Use
7793 TARGET_DEFAULT_FUNC.
7794
8de71aab
TT
77952014-02-19 Tom Tromey <tromey@redhat.com>
7796
7797 * auxv.c (default_auxv_parse): No longer static.
7798 (target_auxv_parse): Unconditionally delegate.
7799 * auxv.h (default_auxv_parse): Declare.
7800 * target-delegates.c: Rebuild.
7801 * target.c: Include auxv.h.
7802 * target.h (struct target_ops) <to_auxv_parse>: Use
7803 TARGET_DEFAULT_FUNC.
7804
6b2c5a57
TT
78052014-02-19 Tom Tromey <tromey@redhat.com>
7806
7807 * target-delegates.c: Rebuild.
7808 * target.c (target_memory_map): Unconditionally delegate.
7809 * target.h (struct target_ops) <to_memory_map>: Use
7810 TARGET_DEFAULT_RETURN.
7811
cbffc065
TT
78122014-02-19 Tom Tromey <tromey@redhat.com>
7813
7814 * target-delegates.c: Rebuild.
7815 * target.c (target_thread_alive): Unconditionally delegate.
7816 * target.h (struct target_ops) <to_thread_alive>: Use
7817 TARGET_DEFAULT_RETURN.
7818
f09e2107
TT
78192014-02-19 Tom Tromey <tromey@redhat.com>
7820
7821 * target-delegates.c: Rebuild.
7822 * target.c (target_save_record): Unconditionally delegate.
7823 * target.h (struct target_ops) <to_save_record>: Use
7824 TARGET_DEFAULT_NORETURN.
7825
07366925
TT
78262014-02-19 Tom Tromey <tromey@redhat.com>
7827
7828 * target-delegates.c: Rebuild.
7829 * target.c (target_delete_record): Unconditionally delegate.
7830 * target.h (struct target_ops) <to_delete_record>: Use
7831 TARGET_DEFAULT_NORETURN.
7832
dd2e9d25
TT
78332014-02-19 Tom Tromey <tromey@redhat.com>
7834
7835 * target-delegates.c: Rebuild.
7836 * target.c (target_record_is_replaying): Unconditionally
7837 delegate.
7838 * target.h (struct target_ops) <to_record_is_replaying>: Use
7839 TARGET_DEFAULT_RETURN.
7840
671e76cc
TT
78412014-02-19 Tom Tromey <tromey@redhat.com>
7842
7843 * target-delegates.c: Rebuild.
7844 * target.c (target_goto_record_begin): Unconditionally delegate.
7845 * target.h (struct target_ops) <to_goto_record_begin>: Use
7846 TARGET_DEFAULT_NORETURN.
7847
e9179bb3
TT
78482014-02-19 Tom Tromey <tromey@redhat.com>
7849
7850 * target-delegates.c: Rebuild.
7851 * target.c (target_goto_record_end): Unconditionally delegate.
7852 * target.h (struct target_ops) <to_goto_record_end>: Use
7853 TARGET_DEFAULT_NORETURN.
7854
05969c84
TT
78552014-02-19 Tom Tromey <tromey@redhat.com>
7856
7857 * target-delegates.c: Rebuild.
7858 * target.c (target_goto_record): Unconditionally delegate.
7859 * target.h (struct target_ops) <to_goto_record>: Use
7860 TARGET_DEFAULT_NORETURN.
7861
3679abfa
TT
78622014-02-19 Tom Tromey <tromey@redhat.com>
7863
7864 * target-delegates.c: Rebuild.
7865 * target.c (target_insn_history): Unconditionally delegate.
7866 * target.h (struct target_ops) <to_insn_history>: Use
7867 TARGET_DEFAULT_NORETURN.
7868
8444ab58
TT
78692014-02-19 Tom Tromey <tromey@redhat.com>
7870
7871 * target-delegates.c: Rebuild.
7872 * target.c (target_insn_history_from): Unconditionally delegate.
7873 * target.h (struct target_ops) <to_insn_history_from>: Use
7874 TARGET_DEFAULT_NORETURN.
7875
c29302cc
TT
78762014-02-19 Tom Tromey <tromey@redhat.com>
7877
7878 * target-delegates.c: Rebuild.
7879 * target.c (target_insn_history_range): Unconditionally delegate.
7880 * target.h (struct target_ops) <to_insn_history_range>: Use
7881 TARGET_DEFAULT_NORETURN.
7882
170049d4
TT
78832014-02-19 Tom Tromey <tromey@redhat.com>
7884
7885 * target-delegates.c: Rebuild.
7886 * target.c (target_call_history): Unconditionally delegate.
7887 * target.h (struct target_ops) <to_call_history>: Use
7888 TARGET_DEFAULT_NORETURN.
7889
16fc27d6
TT
78902014-02-19 Tom Tromey <tromey@redhat.com>
7891
7892 * target-delegates.c: Rebuild.
7893 * target.c (target_call_history_from): Unconditionally delegate.
7894 * target.h (struct target_ops) <to_call_history_from>: Use
7895 TARGET_DEFAULT_NORETURN.
7896
115d9817
TT
78972014-02-19 Tom Tromey <tromey@redhat.com>
7898
7899 * target-delegates.c: Rebuild.
7900 * target.c (target_call_history_range): Unconditionally delegate.
7901 * target.h (struct target_ops) <to_call_history_range>: Use
7902 TARGET_DEFAULT_NORETURN.
7903
eb276a6b
TT
79042014-02-19 Tom Tromey <tromey@redhat.com>
7905
7906 * target-delegates.c: Rebuild.
7907 * target.c (target_verify_memory): Unconditionally delegate.
7908 * target.h (struct target_ops) <to_verify_memory>: Use
7909 TARGET_DEFAULT_NORETURN.
7910
9e538d0d
TT
79112014-02-19 Tom Tromey <tromey@redhat.com>
7912
7913 * target-delegates.c: Rebuild.
7914 * target.c (target_core_of_thread): Unconditionally delegate.
7915 * target.h (struct target_ops) <to_core_of_thread>: Use
7916 TARGET_DEFAULT_RETURN.
7917
f6fb2925
TT
79182014-02-19 Tom Tromey <tromey@redhat.com>
7919
7920 * target-delegates.c: Rebuild.
7921 * target.c (target_flash_done): Unconditionally delegate.
7922 * target.h (struct target_ops) <to_flash_done>: Use
7923 TARGET_DEFAULT_NORETURN.
7924
e8a6c6ac
TT
79252014-02-19 Tom Tromey <tromey@redhat.com>
7926
7927 * target-delegates.c: Rebuild.
7928 * target.c (target_flash_erase): Unconditionally delegate.
7929 * target.h (struct target_ops) <to_flash_erase>: Use
7930 TARGET_DEFAULT_NORETURN.
7931
7e35c012
TT
79322014-02-19 Tom Tromey <tromey@redhat.com>
7933
7934 * target-delegates.c: Rebuild.
7935 * target.c (target_get_section_table): Unconditionally delegate.
7936 * target.h (struct target_ops) <to_get_section_table>: Use
7937 TARGET_DEFAULT_RETURN.
7938
770234d3
TT
79392014-02-19 Tom Tromey <tromey@redhat.com>
7940
7941 * target-delegates.c: Rebuild.
7942 * target.c (target_pid_to_str): Unconditionally delegate.
7943 (init_dummy_target): Don't initialize to_pid_to_str.
7944 (default_pid_to_str): Rename from dummy_pid_to_str.
7945 * target.h (struct target_ops) <to_pid_to_str>: Use
7946 TARGET_DEFAULT_FUNC.
7947
09b0dc2b
TT
79482014-02-19 Tom Tromey <tromey@redhat.com>
7949
7950 * target-delegates.c: Rebuild.
7951 * target.c (target_find_new_threads): Unconditionally delegate.
7952 * target.h (struct target_ops) <to_find_new_threads>: Use
7953 TARGET_DEFAULT_RETURN.
7954
7d4f8efa
TT
79552014-02-19 Tom Tromey <tromey@redhat.com>
7956
7957 * target-delegates.c: Rebuild.
7958 * target.c (target_program_signals): Unconditionally delegate.
7959 * target.h (struct target_ops) <to_program_signals>: Use
7960 TARGET_DEFAULT_IGNORE.
7961
035cad7f
TT
79622014-02-19 Tom Tromey <tromey@redhat.com>
7963
7964 * target-delegates.c: Rebuild.
7965 * target.c (target_pass_signals): Unconditionally delegate.
7966 * target.h (struct target_ops) <to_pass_signals>: Use
7967 TARGET_DEFAULT_IGNORE.
7968
8d657035
TT
79692014-02-19 Tom Tromey <tromey@redhat.com>
7970
7971 * target-delegates.c: Rebuild.
7972 * target.c (default_mourn_inferior): New function.
7973 (target_mourn_inferior): Unconditionally delegate.
7974 * target.h (struct target_ops) <to_mourn_inferior>: Use
7975 TARGET_DEFAULT_FUNC.
7976
098dba18
TT
79772014-02-19 Tom Tromey <tromey@redhat.com>
7978
7979 * target-delegates.c: Rebuild.
7980 * target.c (default_follow_fork): New function.
7981 (target_follow_fork): Unconditionally delegate.
7982 * target.h (struct target_ops) <to_follow_fork>: Use
7983 TARGET_DEFAULT_FUNC.
7984
423a4807
TT
79852014-02-19 Tom Tromey <tromey@redhat.com>
7986
7987 * target-delegates.c: Rebuild.
7988 * target.c (target_kill): Unconditionally delegate.
7989 * target.h (struct target_ops) <to_kill>: Use
7990 TARGET_DEFAULT_NORETURN.
7991
6c7e5e5c
TT
79922014-02-19 Tom Tromey <tromey@redhat.com>
7993
7994 * target-delegates.c: Rebuild.
7995 * target.c (target_masked_watch_num_registers): Unconditionally
7996 delegate.
7997 * target.h (struct target_ops) <to_masked_watch_num_registers>:
7998 Use TARGET_DEFAULT_RETURN.
7999
8b1c364c
TT
80002014-02-19 Tom Tromey <tromey@redhat.com>
8001
8002 * target-delegates.c: Rebuild.
8003 * target.c (target_remove_mask_watchpoint): Unconditionally
8004 delegate.
8005 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8006 TARGET_DEFAULT_RETURN.
8007
cd4ae029
TT
80082014-02-19 Tom Tromey <tromey@redhat.com>
8009
8010 * target-delegates.c: Rebuild.
8011 * target.c (target_insert_mask_watchpoint): Unconditionally
8012 delegate.
8013 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8014 TARGET_DEFAULT_RETURN.
8015
a134316b
TT
80162014-02-19 Tom Tromey <tromey@redhat.com>
8017
8018 * target-delegates.c: Rebuild.
8019 * target.c (target_ranged_break_num_registers): Unconditionally
8020 delegate.
8021 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8022 Use TARGET_DEFAULT_RETURN.
8023
ad5989bd
TT
80242014-02-19 Tom Tromey <tromey@redhat.com>
8025
8026 * target-delegates.c: Rebuild.
8027 * target.c (target_fetch_registers): Unconditionally delegate.
8028 * target.h (struct target_ops) <to_fetch_registers>: Use
8029 TARGET_DEFAULT_NORETURN.
8030
46ee7e8d
TT
80312014-02-19 Tom Tromey <tromey@redhat.com>
8032
8033 * target-delegates.c: Rebuild.
8034 * target.c (update_current_target): Don't inherit or default
8035 to_stop.
8036 * target.h (struct target_ops) <to_stop>: Use
8037 TARGET_DEFAULT_IGNORE.
8038
843f59ed
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_can_run_breakpoint_commands.
8044 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8045 Use TARGET_DEFAULT_RETURN.
8046
ccfde2a0
TT
80472014-02-19 Tom Tromey <tromey@redhat.com>
8048
8049 * target-delegates.c: Rebuild.
8050 * target.c (update_current_target): Don't inherit or default
8051 to_supports_evaluation_of_breakpoint_conditions.
8052 * target.h (struct target_ops)
8053 <to_supports_evaluation_of_breakpoint_conditions>: Use
8054 TARGET_DEFAULT_RETURN.
8055
0de91722
TT
80562014-02-19 Tom Tromey <tromey@redhat.com>
8057
8058 * target-delegates.c: Rebuild.
8059 * target.c (update_current_target): Don't inherit or default
8060 to_augmented_libraries_svr4_read.
8061 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8062 Use TARGET_DEFAULT_RETURN.
8063
9a7d8b48
TT
80642014-02-19 Tom Tromey <tromey@redhat.com>
8065
8066 * target-delegates.c: Rebuild.
8067 * target.c (update_current_target): Don't inherit or default
8068 to_can_use_agent.
8069 * target.h (struct target_ops) <to_can_use_agent>: Use
8070 TARGET_DEFAULT_RETURN.
8071
d9db5b21
TT
80722014-02-19 Tom Tromey <tromey@redhat.com>
8073
8074 * target-delegates.c: Rebuild.
8075 * target.c (update_current_target): Don't inherit or default
8076 to_use_agent.
8077 * target.h (struct target_ops) <to_use_agent>: Use
8078 TARGET_DEFAULT_NORETURN.
8079
92155eeb
TT
80802014-02-19 Tom Tromey <tromey@redhat.com>
8081
8082 * target-delegates.c: Rebuild.
8083 * target.c (update_current_target): Don't inherit or default
8084 to_traceframe_info.
8085 (return_null): Remove.
8086 * target.h (struct target_ops) <to_traceframe_info>: Use
8087 TARGET_DEFAULT_RETURN.
8088
d6522a22
TT
80892014-02-19 Tom Tromey <tromey@redhat.com>
8090
8091 * target-delegates.c: Rebuild.
8092 * target.c (update_current_target): Don't inherit or default
8093 to_static_tracepoint_markers_by_strid.
8094 * target.h (struct target_ops)
8095 <to_static_tracepoint_markers_by_strid>: Use
8096 TARGET_DEFAULT_NORETURN.
8097
4c3e4425
TT
80982014-02-19 Tom Tromey <tromey@redhat.com>
8099
8100 * target-delegates.c: Rebuild.
8101 * target.c (update_current_target): Don't inherit or default
8102 to_static_tracepoint_marker_at.
8103 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8104 Use TARGET_DEFAULT_RETURN.
8105
dcd6917f
TT
81062014-02-19 Tom Tromey <tromey@redhat.com>
8107
8108 * target-delegates.c: Rebuild.
8109 * target.c (update_current_target): Don't inherit or default
8110 to_set_permissions.
8111 * target.h (struct target_ops) <to_set_permissions>: Use
8112 TARGET_DEFAULT_IGNORE.
8113
22bcceee
TT
81142014-02-19 Tom Tromey <tromey@redhat.com>
8115
8116 * target-delegates.c: Rebuild.
8117 * target.c (update_current_target): Don't inherit or default
8118 to_get_tib_address.
8119 * target.h (struct target_ops) <to_get_tib_address>: Use
8120 TARGET_DEFAULT_NORETURN.
8121
8586ccaa
TT
81222014-02-19 Tom Tromey <tromey@redhat.com>
8123
8124 * target-delegates.c: Rebuild.
8125 * target.c (update_current_target): Don't inherit or default
8126 to_set_trace_notes.
8127 * target.h (struct target_ops) <to_set_trace_notes>: Use
8128 TARGET_DEFAULT_RETURN.
8129
91df8d1d
TT
81302014-02-19 Tom Tromey <tromey@redhat.com>
8131
8132 * target-delegates.c: Rebuild.
8133 * target.c (update_current_target): Don't initialize
8134 to_set_trace_buffer_size.
8135 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8136 TARGET_DEFAULT_IGNORE.
8137
8d526939
TT
81382014-02-19 Tom Tromey <tromey@redhat.com>
8139
8140 * target-delegates.c: Rebuild.
8141 * target.c (update_current_target): Don't inherit or default
8142 to_set_circular_trace_buffer.
8143 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8144 TARGET_DEFAULT_IGNORE.
8145
0bcfeddf
TT
81462014-02-19 Tom Tromey <tromey@redhat.com>
8147
8148 * target-delegates.c: Rebuild.
8149 * target.c (update_current_target): Don't inherit or default
8150 to_set_disconnected_tracing.
8151 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8152 TARGET_DEFAULT_IGNORE.
8153
9249843f
TT
81542014-02-19 Tom Tromey <tromey@redhat.com>
8155
8156 * target-delegates.c: Rebuild.
8157 * target.c (update_current_target): Don't inherit or default
8158 to_get_min_fast_tracepoint_insn_len.
8159 (return_minus_one): Remove.
8160 * target.h (struct target_ops)
8161 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8162
ace92e7d
TT
81632014-02-19 Tom Tromey <tromey@redhat.com>
8164
8165 * target-delegates.c: Rebuild.
8166 * target.c (update_current_target): Don't inherit or default
8167 to_get_raw_trace_data.
8168 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8169 TARGET_DEFAULT_NORETURN.
8170
08120467
TT
81712014-02-19 Tom Tromey <tromey@redhat.com>
8172
8173 * target-delegates.c: Rebuild.
8174 * target.c (update_current_target): Don't inherit or default
8175 to_upload_trace_state_variables.
8176 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8177 Use TARGET_DEFAULT_RETURN.
8178
1e949b00
TT
81792014-02-19 Tom Tromey <tromey@redhat.com>
8180
8181 * target-delegates.c: Rebuild.
8182 * target.c (update_current_target): Don't inherit or default
8183 to_upload_tracepoints.
8184 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8185 TARGET_DEFAULT_RETURN.
8186
a2e6c147
TT
81872014-02-19 Tom Tromey <tromey@redhat.com>
8188
8189 * target-delegates.c: Rebuild.
8190 * target.c (update_current_target): Don't inherit or default
8191 to_save_trace_data.
8192 * target.h (struct target_ops) <to_save_trace_data>: Use
8193 TARGET_DEFAULT_NORETURN.
8194
959bcd0b
TT
81952014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * target-delegates.c: Rebuild.
8198 * target.c (update_current_target): Don't inherit or default
8199 to_get_trace_state_variable_value.
8200 * target.h (struct target_ops)
8201 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8202
afc94e66
TT
82032014-02-19 Tom Tromey <tromey@redhat.com>
8204
8205 * target-delegates.c: Rebuild.
8206 * target.c (update_current_target): Don't inherit or default
8207 to_trace_find.
8208 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8209
e51c07ea
TT
82102014-02-19 Tom Tromey <tromey@redhat.com>
8211
8212 * target-delegates.c: Rebuild.
8213 * target.c (update_current_target): Don't inherit or default
8214 to_trace_stop.
8215 * target.h (struct target_ops) <to_trace_stop>: Use
8216 TARGET_DEFAULT_NORETURN.
8217
6fea14cd
TT
82182014-02-19 Tom Tromey <tromey@redhat.com>
8219
8220 * target-delegates.c: Rebuild.
8221 * target.c (update_current_target): Don't inherit or default
8222 to_get_tracepoint_status.
8223 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8224 TARGET_DEFAULT_NORETURN.
8225
4072d4ff
TT
82262014-02-19 Tom Tromey <tromey@redhat.com>
8227
8228 * target-delegates.c: Rebuild.
8229 * target.c (update_current_target): Don't inherit or default
8230 to_get_trace_status.
8231 * target.h (struct target_ops) <to_get_trace_status>: Use
8232 TARGET_DEFAULT_RETURN.
8233
25da2e80
TT
82342014-02-19 Tom Tromey <tromey@redhat.com>
8235
8236 * target-delegates.c: Rebuild.
8237 * target.c (update_current_target): Don't inherit or default
8238 to_trace_start.
8239 * target.h (struct target_ops) <to_trace_start>: Use
8240 TARGET_DEFAULT_NORETURN.
8241
86dd181d
TT
82422014-02-19 Tom Tromey <tromey@redhat.com>
8243
8244 * target-delegates.c: Rebuild.
8245 * target.c (update_current_target): Don't inherit or default
8246 to_trace_set_readonly_regions.
8247 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8248 Use TARGET_DEFAULT_NORETURN.
8249
05c41993
TT
82502014-02-19 Tom Tromey <tromey@redhat.com>
8251
8252 * target-delegates.c: Rebuild.
8253 * target.c (update_current_target): Don't inherit or default
8254 to_disable_tracepoint.
8255 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8256 TARGET_DEFAULT_NORETURN.
8257
151f70f1
TT
82582014-02-19 Tom Tromey <tromey@redhat.com>
8259
8260 * target-delegates.c: Rebuild.
8261 * target.c (update_current_target): Don't inherit or default
8262 to_enable_tracepoint.
8263 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8264 TARGET_DEFAULT_NORETURN.
8265
94eb98b9
TT
82662014-02-19 Tom Tromey <tromey@redhat.com>
8267
8268 * target-delegates.c: Rebuild.
8269 * target.c (update_current_target): Don't inherit or default
8270 to_download_trace_state_variable.
8271 * target.h (struct target_ops) <to_download_trace_state_variable>:
8272 Use TARGET_DEFAULT_NORETURN.
8273
719acc4a
TT
82742014-02-19 Tom Tromey <tromey@redhat.com>
8275
8276 * target-delegates.c: Rebuild.
8277 * target.c (update_current_target): Don't inherit or default
8278 to_can_download_tracepoint.
8279 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8280 TARGET_DEFAULT_RETURN.
8281
9a980a22
TT
82822014-02-19 Tom Tromey <tromey@redhat.com>
8283
8284 * target-delegates.c: Rebuild.
8285 * target.c (update_current_target): Don't inherit or default
8286 to_download_tracepoint.
8287 * target.h (struct target_ops) <to_download_tracepoint>: Use
8288 TARGET_DEFAULT_NORETURN.
8289
5536135b
TT
82902014-02-19 Tom Tromey <tromey@redhat.com>
8291
8292 * target-delegates.c: Rebuild.
8293 * target.c (update_current_target): Don't inherit or default
8294 to_trace_init.
8295 * target.h (struct target_ops) <to_trace_init>: Use
8296 TARGET_DEFAULT_RETURN.
8297
9409d39e
TT
82982014-02-19 Tom Tromey <tromey@redhat.com>
8299
8300 * target-delegates.c: Rebuild.
8301 * target.c (update_current_target): Don't inherit or default
8302 to_supports_string_tracing.
8303 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8304 TARGET_DEFAULT_RETURN.
8305
aab1b22d
TT
83062014-02-19 Tom Tromey <tromey@redhat.com>
8307
8308 * target-delegates.c: Rebuild.
8309 * target.c (update_current_target): Don't inherit or default
8310 to_supports_enable_disable_tracepoint.
8311 * target.h (struct target_ops)
8312 <to_supports_enable_disable_tracepoint>: Use
8313 TARGET_DEFAULT_RETURN.
8314
a7304748
TT
83152014-02-19 Tom Tromey <tromey@redhat.com>
8316
8317 * target-delegates.c: Rebuild.
8318 * target.c (update_current_target): Don't inherit or default
8319 to_supports_multi_process.
8320 * target.h (struct target_ops) <to_supports_multi_process>: Use
8321 TARGET_DEFAULT_RETURN.
8322
4229b31d
TT
83232014-02-19 Tom Tromey <tromey@redhat.com>
8324
8325 * target-delegates.c: Rebuild.
8326 * target.c (update_current_target): Don't inherit or default
8327 to_get_ada_task_ptid.
8328 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8329 TARGET_DEFAULT_FUNC.
8330
43eba180
TT
83312014-02-19 Tom Tromey <tromey@redhat.com>
8332
8333 * target-delegates.c: Rebuild.
8334 * target.c (update_current_target): Don't inherit or default
8335 to_thread_architecture.
8336 * target.h (struct target_ops) <to_thread_architecture>: Use
8337 TARGET_DEFAULT_FUNC.
8338
fe31bf5b
TT
83392014-02-19 Tom Tromey <tromey@redhat.com>
8340
8341 * target-delegates.c: Rebuild.
8342 * target.c (update_current_target): Don't inherit or default
8343 to_execution_direction.
8344 * target.h (struct target_ops) <to_execution_direction>: Use
8345 TARGET_DEFAULT_FUNC.
8346
53e1cfc7
TT
83472014-02-19 Tom Tromey <tromey@redhat.com>
8348
8349 * target-delegates.c: Rebuild.
8350 * target.c (update_current_target): Don't inherit or default
8351 to_can_execute_reverse.
8352 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8353 TARGET_DEFAULT_RETURN.
8354 (target_can_execute_reverse): Unconditionally delegate.
8355
9bb9d61d
TT
83562014-02-19 Tom Tromey <tromey@redhat.com>
8357
8358 * target-delegates.c: Rebuild.
8359 * target.c (update_current_target): Don't inherit or default
8360 to_goto_bookmark.
8361 (dummy_goto_bookmark): Remove.
8362 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8363 * target.h (struct target_ops) <to_goto_bookmark>: Use
8364 TARGET_DEFAULT_NORETURN.
8365
3dbafbbb
TT
83662014-02-19 Tom Tromey <tromey@redhat.com>
8367
8368 * target-delegates.c: Rebuild.
8369 * target.c (update_current_target): Don't inherit or default
8370 to_get_bookmark.
8371 (dummy_get_bookmark): Remove.
8372 (init_dummy_target): Don't inherit or default to_get_bookmark.
8373 * target.h (struct target_ops) <to_get_bookmark>: Use
8374 TARGET_DEFAULT_NORETURN
8375
16f796b1
TT
83762014-02-19 Tom Tromey <tromey@redhat.com>
8377
8378 * target-delegates.c: Rebuild.
8379 * target.c (update_current_target): Don't inherit or default
8380 to_make_corefile_notes.
8381 (init_dummy_target): Don't initialize to_make_corefile_notes.
8382 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8383 TARGET_DEFAULT_FUNC.
8384
0b5a2719
TT
83852014-02-19 Tom Tromey <tromey@redhat.com>
8386
8387 * target-delegates.c: Rebuild.
8388 * target.c (update_current_target): Don't inherit or default
8389 to_find_memory_regions.
8390 (init_dummy_target): Don't initialize to_find_memory_regions.
8391 * target.h (struct target_ops) <to_find_memory_regions>: Use
8392 TARGET_DEFAULT_FUNC.
8393
d9cb0195
TT
83942014-02-19 Tom Tromey <tromey@redhat.com>
8395
8396 * target-delegates.c: Rebuild.
8397 * target.c (update_current_target): Don't inherit or default
8398 to_log_command.
8399 * target.h (struct target_ops) <to_log_command>: Use
8400 TARGET_DEFAULT_IGNORE.
8401 (target_log_command): Unconditionally delegate.
8402
830ca330
TT
84032014-02-19 Tom Tromey <tromey@redhat.com>
8404
8405 * target-delegates.c: Rebuild.
8406 * target.c (update_current_target): Don't inherit or default
8407 to_pid_to_exec_file.
8408 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8409 TARGET_DEFAULT_RETURN.
8410
825828fc
TT
84112014-02-19 Tom Tromey <tromey@redhat.com>
8412
8413 * target-delegates.c: Rebuild.
8414 * target.c (update_current_target): Don't inherit or default
8415 to_thread_name.
8416 (target_thread_name): Unconditionally delegate.
8417 * target.h (struct target_ops) <to_thread_name>: Use
8418 TARGET_DEFAULT_RETURN.
8419
4a7e6dda
TT
84202014-02-19 Tom Tromey <tromey@redhat.com>
8421
8422 * target-delegates.c: Rebuild.
8423 * target.c (update_current_target): Don't inherit or default
8424 to_extra_thread_info.
8425 * target.h (struct target_ops) <to_extra_thread_info>: Use
8426 TARGET_DEFAULT_RETURN.
8427
0db88c1d
TT
84282014-02-19 Tom Tromey <tromey@redhat.com>
8429
8430 * target-delegates.c: Rebuild.
8431 * target.c (update_current_target): Don't inherit or default
8432 to_has_exited.
8433 * target.h (struct target_ops) <to_has_exited>: Use
8434 TARGET_DEFAULT_RETURN..
8435
6a9fa051
TT
84362014-02-19 Tom Tromey <tromey@redhat.com>
8437
8438 * target-delegates.c: Rebuild.
8439 * target.c (update_current_target): Don't inherit or default
8440 to_set_syscall_catchpoint.
8441 (return_one): Remove.
8442 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8443 TARGET_DEFAULT_RETURN.
8444
62f64d7a
TT
84452014-02-19 Tom Tromey <tromey@redhat.com>
8446
8447 * target-delegates.c: Rebuild.
8448 * target.c (update_current_target): Don't inherit or default
8449 to_insert_exec_catchpoint.
8450 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8451 TARGET_DEFAULT_RETURN.
8452
cda0f38c
TT
84532014-01-08 Tom Tromey <tromey@redhat.com>
8454
8455 * target-delegates.c: Rebuild.
8456 * target.c (update_current_target): Don't inherit or default
8457 to_insert_exec_catchpoint.
8458 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8459 TARGET_DEFAULT_RETURN.
8460
95c3375e
TT
84612014-02-19 Tom Tromey <tromey@redhat.com>
8462
8463 * target-delegates.c: Rebuild.
8464 * target.c (update_current_target): Don't inherit or default
8465 to_remove_vfork_catchpoint.
8466 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8467 TARGET_DEFAULT_RETURN.
8468
7e18a8dc
TT
84692014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target-delegates.c: Rebuild.
8472 * target.c (update_current_target): Don't inherit or default
8473 to_insert_vfork_catchpoint.
8474 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8475 TARGET_DEFAULT_RETURN.
8476
e1a21fb7
TT
84772014-02-19 Tom Tromey <tromey@redhat.com>
8478
8479 * target-delegates.c: Rebuild.
8480 * target.c (update_current_target): Don't inherit or default
8481 to_remove_fork_catchpoint.
8482 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8483 TARGET_DEFAULT_RETURN.
8484
5958ebeb
TT
84852014-02-19 Tom Tromey <tromey@redhat.com>
8486
8487 * target-delegates.c: Rebuild.
8488 * target.c (update_current_target): Don't inherit or default
8489 to_insert_fork_catchpoint.
8490 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8491 TARGET_DEFAULT_RETURN.
8492
340ba4bf
TT
84932014-02-19 Tom Tromey <tromey@redhat.com>
8494
8495 * target-delegates.c: Rebuild.
8496 * target.c (update_current_target): Don't inherit or default
8497 to_post_startup_inferior.
8498 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8499 TARGET_DEFAULT_IGNORE.
8500
7634da87
TT
85012014-02-19 Tom Tromey <tromey@redhat.com>
8502
8503 * target-delegates.c: Rebuild.
8504 * target.c (update_current_target): Don't inherit or default
8505 to_load.
8506 * target.h (struct target_ops) <to_load>: Use
8507 TARGET_DEFAULT_NORETURN.
8508
e19e919f
TT
85092014-02-19 Tom Tromey <tromey@redhat.com>
8510
8511 * target-delegates.c: Rebuild.
8512 * target.c (update_current_target): Don't inherit or default
8513 to_terminal_info.
8514 * target.h (struct target_ops) <to_terminal_info>: Use
8515 TARGET_DEFAULT_FUNC.
8516
c6ea8f79
TT
85172014-02-19 Tom Tromey <tromey@redhat.com>
8518
8519 * target-delegates.c: Rebuild.
8520 * target.c (update_current_target): Don't inherit or default
8521 to_terminal_save_ours.
8522 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8523 TARGET_DEFAULT_IGNORE.
8524
e4a733f1
TT
85252014-02-19 Tom Tromey <tromey@redhat.com>
8526
8527 * target-delegates.c: Rebuild.
8528 * target.c (update_current_target): Don't inherit or default
8529 to_terminal_ours.
8530 * target.h (struct target_ops) <to_terminal_ours>: Use
8531 TARGET_DEFAULT_IGNORE.
8532
74fcbef9
TT
85332014-02-19 Tom Tromey <tromey@redhat.com>
8534
8535 * target-delegates.c: Rebuild.
8536 * target.c (update_current_target): Don't inherit or default
8537 to_terminal_ours_for_output.
8538 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8539 TARGET_DEFAULT_IGNORE.
8540
ddeaacc9
TT
85412014-02-19 Tom Tromey <tromey@redhat.com>
8542
8543 * target-delegates.c: Rebuild.
8544 * target.c (update_current_target): Don't inherit or default
8545 to_terminal_inferior.
8546 * target.h (struct target_ops) <to_terminal_inferior>: Use
8547 TARGET_DEFAULT_IGNORE.
8548
0343661d
TT
85492014-02-19 Tom Tromey <tromey@redhat.com>
8550
8551 * target-delegates.c: Rebuild.
8552 * target.c (update_current_target): Don't inherit or default
8553 to_terminal_init.
8554 * target.h (struct target_ops) <to_terminal_init>: Use
8555 TARGET_DEFAULT_IGNORE.
8556
77cdffe9
TT
85572014-02-19 Tom Tromey <tromey@redhat.com>
8558
8559 * target-delegates.c: Rebuild.
8560 * target.c (update_current_target): Don't inherit or default
8561 to_can_accel_watchpoint_condition.
8562 * target.h (struct target_ops)
8563 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8564
d03655e4
TT
85652014-02-19 Tom Tromey <tromey@redhat.com>
8566
8567 * target-delegates.c: Rebuild.
8568 * target.c (update_current_target): Don't inherit or default
8569 to_region_ok_for_hw_watchpoint.
8570 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8571 Use TARGET_DEFAULT_FUNC.
8572
65f160a9
TT
85732014-02-19 Tom Tromey <tromey@redhat.com>
8574
8575 * target-delegates.c: Rebuild.
8576 * target.c (update_current_target): Don't inherit or default
8577 to_watchpoint_addr_within_range.
8578 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8579 Use TARGET_DEFAULT_FUNC.
8580
61dd109f
TT
85812014-02-19 Tom Tromey <tromey@redhat.com>
8582
8583 * target-delegates.c: Rebuild.
8584 * target.c (update_current_target): Don't inherit or default
8585 to_remove_watchpoint.
8586 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8587 TARGET_DEFAULT_NORETURN.
8588
016facd4
TT
85892014-02-19 Tom Tromey <tromey@redhat.com>
8590
8591 * target-delegates.c: Rebuild.
8592 * target.c (update_current_target): Don't inherit or default
8593 to_insert_watchpoint.
8594 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8595 TARGET_DEFAULT_RETURN.
8596
418dabac
TT
85972014-02-19 Tom Tromey <tromey@redhat.com>
8598
8599 * target-delegates.c: Rebuild.
8600 * target.c (update_current_target): Don't inherit or default
8601 to_remove_hw_breakpoint.
8602 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8603 TARGET_DEFAULT_RETURN.
8604
61b371f9
TT
86052014-02-19 Tom Tromey <tromey@redhat.com>
8606
8607 * target-delegates.c: Rebuild.
8608 * target.c (update_current_target): Don't inherit or default
8609 to_insert_hw_breakpoint.
8610 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8611 TARGET_DEFAULT_RETURN.
8612
52b51d06
TT
86132014-02-19 Tom Tromey <tromey@redhat.com>
8614
8615 * target-delegates.c: Rebuild.
8616 * target.c (update_current_target): Don't inherit or default
8617 to_can_use_hw_breakpoint.
8618 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8619 TARGET_DEFAULT_RETURN.
8620
f86e59b2
TT
86212014-02-19 Tom Tromey <tromey@redhat.com>
8622
8623 * target-delegates.c: Rebuild.
8624 * target.c (update_current_target): Don't inherit or default
8625 to_files_info.
8626 * target.h (struct target_ops) <to_files_info>: Use
8627 TARGET_DEFAULT_IGNORE.
8628
6c628163
TT
86292014-02-19 Tom Tromey <tromey@redhat.com>
8630
8631 * target-delegates.c: Rebuild.
8632 * target.c (update_current_target): Don't inherit or default
8633 to_store.
8634 * target.h (struct target_ops) <to_store>: Use
8635 TARGET_DEFAULT_NORETURN.
8636
bebd3233
TT
86372014-02-19 Tom Tromey <tromey@redhat.com>
8638
8639 * target-delegates.c: Rebuild.
8640 * target.c (update_current_target): Don't inherit or default
8641 to_post_attach.
8642 * target.h (struct target_ops) <to_post_attach>: Use
8643 TARGET_DEFAULT_IGNORE.
8644
a53f3625
TT
86452014-02-19 Tom Tromey <tromey@redhat.com>
8646
8647 * target-delegates.c: Rebuild.
8648 * target.c (update_current_target): Don't inherit or default
8649 to_rcmd.
8650 (default_rcmd): New function.
8651 (do_monitor_command): Unconditionally delegate.
8652 * target.h (struct target_ops) <to_rmcd>: Use
8653 TARGET_DEFAULT_FUNC.
8654
e9a29200
TT
86552014-02-19 Tom Tromey <tromey@redhat.com>
8656
8657 * target-delegates.c: Rebuild.
8658 * target.c (init_dummy_target): Don't initialize to_attach.
8659 (target_attach): Unconditionally delegate.
8660 * target.h (struct target_ops) <to_attach>: Use
8661 TARGET_DEFAULT_FUNC.
8662
09da0d0a
TT
86632014-02-19 Tom Tromey <tromey@redhat.com>
8664
8665 * target-delegates.c: Rebuild.
8666 * target.c (target_detach): Unconditionally delegate.
8667 (init_dummy_target): Don't initialize to_detach.
8668 * target.h (struct target_ops) <to_detach>: Use
8669 TARGET_DEFAULT_IGNORE.
8670
5436ff03
TT
86712014-02-19 Tom Tromey <tromey@redhat.com>
8672
8673 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8674 Add argument.
8675 (target_augmented_libraries_svr4_read): Add argument.
8676 * target.c (update_current_target): Update.
8677 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8678 argument.
8679
f0d960ea
TT
86802014-02-19 Tom Tromey <tromey@redhat.com>
8681
8682 * target.h (struct target_ops) <to_call_history_range>: Add
8683 argument.
8684 * target.c (target_call_history_range): Add argument.
8685 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8686 argument.
8687 (record_btrace_call_history_from): Update.
8688
ec0aea04
TT
86892014-02-19 Tom Tromey <tromey@redhat.com>
8690
8691 * target.h (struct target_ops) <to_call_history_from>: Add
8692 argument.
8693 * target.c (target_call_history_from): Add argument.
8694 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8695 argument.
8696
5df2fcba
TT
86972014-02-19 Tom Tromey <tromey@redhat.com>
8698
8699 * target.h (struct target_ops) <to_call_history>: Add argument.
8700 * target.c (target_call_history): Add argument.
8701 * record-btrace.c (record_btrace_call_history): Add 'self'
8702 argument.
8703
4e99c6b7
TT
87042014-02-19 Tom Tromey <tromey@redhat.com>
8705
8706 * target.h (struct target_ops) <to_insn_history_range>: Add
8707 argument.
8708 * target.c (target_insn_history_range): Add argument.
8709 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8710 argument.
8711 (record_btrace_insn_history_from): Update.
8712
9abc3ff3
TT
87132014-02-19 Tom Tromey <tromey@redhat.com>
8714
8715 * target.h (struct target_ops) <to_insn_history_from>: Add
8716 argument.
8717 * target.c (target_insn_history_from): Add argument.
8718 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8719 argument.
8720
7a6c5609
TT
87212014-02-19 Tom Tromey <tromey@redhat.com>
8722
8723 * target.h (struct target_ops) <to_insn_history>: Add argument.
8724 * target.c (target_insn_history): Add argument.
8725 * record-btrace.c (record_btrace_insn_history): Add 'self'
8726 argument.
8727
606183ac
TT
87282014-02-19 Tom Tromey <tromey@redhat.com>
8729
8730 * target.h (struct target_ops) <to_goto_record>: Add argument.
8731 * target.c (target_goto_record): Add argument.
8732 * record-full.c (record_full_goto): Add 'self' argument.
8733 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8734
307a1b91
TT
87352014-02-19 Tom Tromey <tromey@redhat.com>
8736
8737 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8738 * target.c (target_goto_record_end): Add argument.
8739 * record-full.c (record_full_goto_end): Add 'self' argument.
8740 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8741
08475817
TT
87422014-02-19 Tom Tromey <tromey@redhat.com>
8743
8744 * target.h (struct target_ops) <to_goto_record_begin>: Add
8745 argument.
8746 * target.c (target_goto_record_begin): Add argument.
8747 * record-full.c (record_full_goto_begin): Add 'self' argument.
8748 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8749 argument.
8750
1c63c994
TT
87512014-02-19 Tom Tromey <tromey@redhat.com>
8752
8753 * target.h (struct target_ops) <to_record_is_replaying>: Add
8754 argument.
8755 * target.c (target_record_is_replaying): Add argument.
8756 * record-full.c (record_full_is_replaying): Add 'self' argument.
8757 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8758 argument.
8759 (record_btrace_xfer_partial, record_btrace_store_registers)
8760 (record_btrace_prepare_to_store, record_btrace_resume)
8761 (record_btrace_wait, record_btrace_decr_pc_after_break)
8762 (record_btrace_find_new_threads, record_btrace_thread_alive):
8763 Update.
8764
d1b55219
TT
87652014-02-19 Tom Tromey <tromey@redhat.com>
8766
8767 * target.h (struct target_ops) <to_delete_record>: Add argument.
8768 * target.c (target_delete_record): Add argument.
8769 * record-full.c (record_full_delete): Add 'self' argument.
8770
1390f529
TT
87712014-02-19 Tom Tromey <tromey@redhat.com>
8772
8773 * target.h (struct target_ops) <to_save_record>: Add argument.
8774 * target.c (target_save_record): Add argument.
8775 * record-full.c (record_full_save): Add 'self' argument.
8776 (record_full_save): Add 'self' argument.
8777
630d6a4a
TT
87782014-02-19 Tom Tromey <tromey@redhat.com>
8779
8780 * target.h (struct target_ops) <to_info_record>: Add argument.
8781 * target.c (target_info_record): Add argument.
8782 * record.c (info_record_command): Add argument.
8783 * record-full.c (record_full_info): Add 'self' argument.
8784 * record-btrace.c (record_btrace_info): Add 'self' argument.
8785
c6cd7c02
TT
87862014-02-19 Tom Tromey <tromey@redhat.com>
8787
8788 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8789 * target.c (target_stop_recording): Add argument.
8790 * record.c (record_stop): Add argument.
8791 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8792 argument.
8793
39c49f83
TT
87942014-02-19 Tom Tromey <tromey@redhat.com>
8795
8796 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8797 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8798 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8799 argument.
8800 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8801 (_initialize_amd64_linux_nat): Use it.
8802 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8803 (_initialize_i386_linux_nat): Use it.
8804
1777056d
TT
88052014-02-19 Tom Tromey <tromey@redhat.com>
8806
8807 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8808 * target.c (target_teardown_btrace): Add argument.
8809 * remote.c (remote_teardown_btrace): Add 'self' argument.
8810 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8811 argument.
8812 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8813 argument.
8814
25e95349
TT
88152014-02-19 Tom Tromey <tromey@redhat.com>
8816
8817 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8818 * target.c (target_disable_btrace): Add argument.
8819 * remote.c (remote_disable_btrace): Add 'self' argument.
8820 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8821 argument.
8822 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8823 argument.
8824
e3c49f88
TT
88252014-02-19 Tom Tromey <tromey@redhat.com>
8826
8827 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8828 * target.c (target_enable_btrace): Add argument.
8829 * remote.c (remote_enable_btrace): Add 'self' argument.
8830 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8831 argument.
8832 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8833 argument.
8834
fe38f897
TT
88352014-02-19 Tom Tromey <tromey@redhat.com>
8836
8837 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8838 (target_can_use_agent): Add argument.
8839 * target.c (update_current_target): Update.
8840 * remote.c (remote_can_use_agent): Add 'self' argument.
8841 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8842
2c152180
TT
88432014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target.h (struct target_ops) <to_use_agent>: Add argument.
8846 (target_use_agent): Add argument.
8847 * target.c (update_current_target): Update.
8848 * remote.c (remote_use_agent): Add 'self' argument.
8849 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8850
a893e81f
TT
88512014-02-19 Tom Tromey <tromey@redhat.com>
8852
8853 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8854 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8855 (target_traceframe_info): Add argument.
8856 * target.c (update_current_target): Update.
8857 * remote.c (remote_traceframe_info): Add 'self' argument.
8858 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8859
c686c57f
TT
88602014-02-19 Tom Tromey <tromey@redhat.com>
8861
8862 * target.h (target_static_tracepoint_markers_by_strid): Add
8863 argument.
8864 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8865 'self' argument.
8866 * target.c (update_current_target): Update.
8867 * remote.c (struct target_ops)
8868 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8869 * linux-nat.c (struct target_ops)
8870 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8871
61fc905d
TT
88722014-02-19 Tom Tromey <tromey@redhat.com>
8873
8874 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8875 Add argument.
8876 (target_static_tracepoint_marker_at): Add argument.
8877 * target.c (update_current_target): Update.
8878 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8879 argument.
8880
c378d69d
TT
88812014-02-19 Tom Tromey <tromey@redhat.com>
8882
8883 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8884 (target_set_permissions): Add argument.
8885 * target.c (update_current_target): Update.
8886 * remote.c (remote_set_permissions): Add 'self' argument.
8887 (remote_start_remote): Update.
8888
bd7ae0f5
TT
88892014-02-19 Tom Tromey <tromey@redhat.com>
8890
8891 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8892 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8893 (target_get_tib_address): Add argument.
8894 * target.c (update_current_target): Update.
8895 * remote.c (remote_get_tib_address): Add 'self' argument.
8896
d9e68a2c
TT
88972014-02-19 Tom Tromey <tromey@redhat.com>
8898
8899 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8900 (target_set_trace_notes): Add argument.
8901 * target.c (update_current_target): Update.
8902 * remote.c (remote_set_trace_notes): Add 'self' argument.
8903
4da384be
TT
89042014-02-19 Tom Tromey <tromey@redhat.com>
8905
8906 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8907 argument.
8908 (target_set_trace_buffer_size): Add argument.
8909 * target.c (update_current_target): Update.
8910 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8911
736d5b1f
TT
89122014-02-19 Tom Tromey <tromey@redhat.com>
8913
8914 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8915 argument.
8916 (target_set_circular_trace_buffer): Add argument.
8917 * target.c (update_current_target): Update.
8918 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8919 argument.
8920
37b25738
TT
89212014-02-19 Tom Tromey <tromey@redhat.com>
8922
8923 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8924 argument.
8925 (target_set_disconnected_tracing): Add argument.
8926 * target.c (update_current_target): Update.
8927 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8928
0e67620a
TT
89292014-02-19 Tom Tromey <tromey@redhat.com>
8930
8931 * target.h (struct target_ops)
8932 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8933 (target_get_min_fast_tracepoint_insn_len): Add argument.
8934 * target.c (update_current_target): Update.
8935 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8936 argument.
8937
88ee6f45
TT
89382014-02-19 Tom Tromey <tromey@redhat.com>
8939
8940 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8941 argument.
8942 (target_get_raw_trace_data): Add argument.
8943 * target.c (update_current_target): Update.
8944 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8945
181e3713
TT
89462014-02-19 Tom Tromey <tromey@redhat.com>
8947
8948 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8949 Add argument.
8950 (target_upload_trace_state_variables): Add argument.
8951 * target.c (update_current_target): Update.
8952 * remote.c (remote_upload_trace_state_variables): Add 'self'
8953 argument.
8954 (remote_start_remote): Update.
8955
ab6617cc
TT
89562014-02-19 Tom Tromey <tromey@redhat.com>
8957
8958 * target.h (struct target_ops) <to_upload_tracepoints>: Add
8959 argument.
8960 (target_upload_tracepoints): Add argument.
8961 * target.c (update_current_target): Update.
8962 * remote.c (remote_upload_tracepoints): Add 'self' argument.
8963 (remote_start_remote): Update.
8964
dc3decaf
TT
89652014-02-19 Tom Tromey <tromey@redhat.com>
8966
8967 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
8968 (target_save_trace_data): Add argument.
8969 * target.c (update_current_target): Update.
8970 * remote.c (remote_save_trace_data): Add 'self' argument.
8971
4011015b
TT
89722014-02-19 Tom Tromey <tromey@redhat.com>
8973
8974 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
8975 argument.
8976 * target.h (struct target_ops)
8977 <to_get_trace_state_variable_value>: Add argument.
8978 (target_get_trace_state_variable_value): Add argument.
8979 * target.c (update_current_target): Update.
8980 * remote.c (remote_get_trace_state_variable_value): Add 'self'
8981 argument.
8982 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
8983
bd4c6793
TT
89842014-02-19 Tom Tromey <tromey@redhat.com>
8985
8986 * tracepoint.c (tfile_trace_find): Add 'self' argument.
8987 * target.h (struct target_ops) <to_trace_find>: Add argument.
8988 (target_trace_find): Add argument.
8989 * target.c (update_current_target): Update.
8990 * remote.c (remote_trace_find): Add 'self' argument.
8991 * ctf.c (ctf_trace_find): Add 'self' argument.
8992
74499f1b
TT
89932014-02-19 Tom Tromey <tromey@redhat.com>
8994
8995 * target.h (struct target_ops) <to_trace_stop>: Add argument.
8996 (target_trace_stop): Add argument.
8997 * target.c (update_current_target): Update.
8998 * remote.c (remote_trace_stop): Add 'self' argument.
8999
db90e85c
TT
90002014-02-19 Tom Tromey <tromey@redhat.com>
9001
9002 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9003 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9004 argument.
9005 (target_get_tracepoint_status): Add argument.
9006 * target.c (update_current_target): Update.
9007 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9008
8bd200f1
TT
90092014-02-19 Tom Tromey <tromey@redhat.com>
9010
9011 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9012 * target.h (struct target_ops) <to_get_trace_status>: Add
9013 argument.
9014 (target_get_trace_status): Add argument.
9015 * target.c (update_current_target): Update.
9016 * remote.c (remote_get_trace_status): Add 'self' argument.
9017 (remote_start_remote, remote_can_download_tracepoint): Update.
9018 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9019
e2d1aae3
TT
90202014-02-19 Tom Tromey <tromey@redhat.com>
9021
9022 * target.h (struct target_ops) <to_trace_start>: Add argument.
9023 (target_trace_start): Add argument.
9024 * target.c (update_current_target): Update.
9025 * remote.c (remote_trace_start): Add 'self' argument.
9026
583f9a86
TT
90272014-02-19 Tom Tromey <tromey@redhat.com>
9028
9029 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9030 Add argument.
9031 (target_trace_set_readonly_regions): Add argument.
9032 * target.c (update_current_target): Update.
9033 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9034 argument.
9035
780b049c
TT
90362014-02-19 Tom Tromey <tromey@redhat.com>
9037
9038 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9039 argument.
9040 (target_disable_tracepoint): Add argument.
9041 * target.c (update_current_target): Update.
9042 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9043
46670d57
TT
90442014-02-19 Tom Tromey <tromey@redhat.com>
9045
9046 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9047 argument.
9048 (target_enable_tracepoint): Add argument.
9049 * target.c (update_current_target): Update.
9050 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9051
559d2b81
TT
90522014-02-19 Tom Tromey <tromey@redhat.com>
9053
9054 * target.h (struct target_ops) <to_download_trace_state_variable>:
9055 Add argument.
9056 (target_download_trace_state_variable): Add argument.
9057 * target.c (update_current_target): Update.
9058 * remote.c (remote_download_trace_state_variable): Add 'self'
9059 argument.
9060
a52a8357
TT
90612014-02-19 Tom Tromey <tromey@redhat.com>
9062
9063 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9064 argument.
9065 (target_can_download_tracepoint): Add argument.
9066 * target.c (update_current_target): Update.
9067 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9068
548f7808
TT
90692014-02-19 Tom Tromey <tromey@redhat.com>
9070
9071 * target.h (struct target_ops) <to_download_tracepoint>: Add
9072 argument.
9073 (target_download_tracepoint): Add argument.
9074 * target.c (update_current_target): Update.
9075 * remote.c (remote_download_tracepoint): Add 'self' argument.
9076
ecae04e1
TT
90772014-02-19 Tom Tromey <tromey@redhat.com>
9078
9079 * target.h (struct target_ops) <to_trace_init>: Add argument.
9080 (target_trace_init): Add argument.
9081 * target.c (update_current_target): Update.
9082 * remote.c (remote_trace_init): Add 'self' argument.
9083
fab5aa7c
TT
90842014-02-19 Tom Tromey <tromey@redhat.com>
9085
9086 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9087 * target.c (target_fileio_readlink): Add argument.
9088 * remote.c (remote_hostio_readlink): Add 'self' argument.
9089 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9090
dbbca37d
TT
90912014-02-19 Tom Tromey <tromey@redhat.com>
9092
9093 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9094 * target.c (target_fileio_unlink): Add argument.
9095 * remote.c (remote_hostio_unlink): Add 'self' argument.
9096 (remote_file_delete): Update.
9097 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9098
df39ea25
TT
90992014-02-19 Tom Tromey <tromey@redhat.com>
9100
9101 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9102 * target.c (target_fileio_close): Add argument.
9103 * remote.c (remote_hostio_close): Add 'self' argument.
9104 (remote_hostio_close_cleanup): Update.
9105 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9106 Update.
9107 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9108
a3be983c
TT
91092014-02-19 Tom Tromey <tromey@redhat.com>
9110
9111 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9112 * target.c (target_fileio_pread): Add argument.
9113 * remote.c (remote_hostio_pread): Add 'self' argument.
9114 (remote_bfd_iovec_pread, remote_file_get): Update.
9115 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9116
0d866f62
TT
91172014-02-19 Tom Tromey <tromey@redhat.com>
9118
9119 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9120 * target.c (target_fileio_pwrite): Add argument.
9121 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9122 (remote_file_put): Update.
9123 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9124
cd897586
TT
91252014-02-19 Tom Tromey <tromey@redhat.com>
9126
9127 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9128 * target.c (target_fileio_open): Add argument.
9129 * remote.c (remote_hostio_open): Add 'self' argument.
9130 (remote_bfd_iovec_open): Add 'self' argument.
9131 (remote_file_put): Add 'self' argument.
9132 (remote_file_get): Add 'self' argument.
9133 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9134
78eff0ec
TT
91352014-02-19 Tom Tromey <tromey@redhat.com>
9136
9137 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9138 Add argument.
9139 (target_can_run_breakpoint_commands): Add argument.
9140 * target.c (update_current_target): Update.
9141 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9142 argument.
9143 (remote_insert_breakpoint): Add 'self' argument.
9144 (remote_insert_hw_breakpoint): Add 'self' argument.
9145 (remote_can_run_breakpoint_commands): Add 'self' argument.
9146
efcc2da7
TT
91472014-02-19 Tom Tromey <tromey@redhat.com>
9148
9149 * target.h (struct target_ops)
9150 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9151 (target_supports_evaluation_of_breakpoint_conditions): Add
9152 argument.
9153 * target.c (update_current_target): Update.
9154 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9155 argument.
9156 (remote_insert_breakpoint): Add 'self' argument.
9157 (remote_insert_hw_breakpoint): Add 'self' argument.
9158 (remote_supports_cond_breakpoints): Add 'self' argument.
9159
6de37a3a
TT
91602014-02-19 Tom Tromey <tromey@redhat.com>
9161
9162 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9163 argument.
9164 (target_supports_string_tracing): Add argument.
9165 * target.c (update_current_target): Update.
9166 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9167
2bfc0540
TT
91682014-02-19 Tom Tromey <tromey@redhat.com>
9169
9170 * target.h (struct target_ops)
9171 <to_supports_disable_randomization>: Add argument.
9172 * target.c (find_default_supports_disable_randomization): Add
9173 argument.
9174 (target_supports_disable_randomization): Add argument.
9175 (find_default_supports_disable_randomization): Add 'self'
9176 argument.
9177 * remote.c (extended_remote_supports_disable_randomization): Add
9178 'self' argument.
9179 (remote_supports_disable_randomization): Add 'self' argument.
9180 (extended_remote_create_inferior): Update.
9181 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9182 'self' argument.
9183
7d178d6a
TT
91842014-02-19 Tom Tromey <tromey@redhat.com>
9185
9186 * target.h (struct target_ops)
9187 <to_supports_enable_disable_tracepoint>: Add argument.
9188 (target_supports_enable_disable_tracepoint): Add argument.
9189 * target.c (update_current_target): Update.
9190 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9191 argument.
9192
86ce2668
TT
91932014-02-19 Tom Tromey <tromey@redhat.com>
9194
9195 * target.h (struct target_ops) <to_supports_multi_process>: Add
9196 argument.
9197 (target_supports_multi_process): Add argument.
9198 * target.c (update_current_target): Update.
9199 * remote.c (remote_supports_multi_process): Add 'self' argument.
9200 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9201 argument.
9202 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9203 argument.
9204
4c612759
TT
92052014-02-19 Tom Tromey <tromey@redhat.com>
9206
9207 * target.h (struct target_ops) <to_execution_direction>: Add
9208 argument.
9209 (target_execution_direction): Add argument.
9210 * target.c (default_execution_direction): Add 'self' argument.
9211 * record-full.c (record_full_execution_direction): Add 'self'
9212 argument.
9213
19db3e69
TT
92142014-02-19 Tom Tromey <tromey@redhat.com>
9215
9216 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9217 argument.
9218 (target_can_execute_reverse): Add argument.
9219 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9220 * record-full.c (record_full_can_execute_reverse): Add 'self'
9221 argument.
9222 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9223 argument.
9224
1e6b91a4
TT
92252014-02-19 Tom Tromey <tromey@redhat.com>
9226
9227 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9228 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9229 argument.
9230 (target_get_ada_task_ptid): Add argument.
9231 * target.c (update_current_target): Update.
9232 (default_get_ada_task_ptid): Add 'self' argument.
9233 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9234 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9235 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9236 argument.
9237 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9238 argument.
9239 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9240 argument.
9241 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9242 argument.
9243 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9244 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9245 argument.
9246
3c80fb48
TT
92472014-02-19 Tom Tromey <tromey@redhat.com>
9248
9249 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9250 (target_goto_bookmark): Add argument.
9251 * target.c (dummy_goto_bookmark): Add 'self' argument.
9252 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9253
dd0e2830
TT
92542014-02-19 Tom Tromey <tromey@redhat.com>
9255
9256 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9257 (target_get_bookmark): Add argument.
9258 * target.c (dummy_get_bookmark): Add 'self' argument.
9259 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9260
fc6691b2
TT
92612014-02-19 Tom Tromey <tromey@redhat.com>
9262
9263 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9264 argument.
9265 (target_make_corefile_notes): Add argument.
9266 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9267 * procfs.c (procfs_make_note_section): Add 'self' argument.
9268 (procfs_make_note_section): Add 'self' argument.
9269 (procfs_make_note_section): Add 'self' argument.
9270 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9271 argument.
9272 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9273 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9274 * exec.c (exec_make_note_section): Add 'self' argument.
9275 (exec_make_note_section): Add 'self' argument.
9276
2e73927c
TT
92772014-02-19 Tom Tromey <tromey@redhat.com>
9278
9279 * target.h (struct target_ops) <to_find_memory_regions>: Add
9280 argument.
9281 (target_find_memory_regions): Add argument.
9282 * target.c (dummy_find_memory_regions): Add 'self' argument.
9283 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9284 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9285 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9286 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9287 * exec. (exec_do_find_memory_regions): New global.
9288 (exec_set_find_memory_regions): Rewrite.
9289 (exec_find_memory_regions): New function.
9290 (init_exec_ops): Use exec_find_memory_regions.
9291
2a9a2795
TT
92922014-02-19 Tom Tromey <tromey@redhat.com>
9293
9294 * target.h (struct target_ops) <to_supports_non_stop>: Add
9295 argument.
9296 * target.c (find_default_supports_non_stop): Add argument.
9297 (target_supports_non_stop): Add argument.
9298 (find_default_supports_non_stop): Add 'self' argument.
9299 * remote.c (remote_supports_non_stop): Add 'self' argument.
9300 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9301
4ab76ea3
TT
93022014-02-19 Tom Tromey <tromey@redhat.com>
9303
9304 * target.h (struct target_ops) <to_log_command>: Add argument.
9305 (target_log_command): Add argument.
9306 * serial.h (serial_log_command): Add 'self' argument.
9307 * serial.c (serial_log_command): Add 'self' argument.
9308
8dd27370
TT
93092014-02-19 Tom Tromey <tromey@redhat.com>
9310
9311 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9312 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9313 argument.
9314 (target_pid_to_exec_file): Add argument.
9315 * target.c (debug_to_pid_to_exec_file): Add argument.
9316 (update_current_target): Update.
9317 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9318 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9319 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9320 (linux_handle_extended_wait): Update.
9321 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9322 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9323 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9324 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9325
1aac633b
TT
93262014-02-19 Tom Tromey <tromey@redhat.com>
9327
9328 * target.h (struct target_ops) <to_rcmd>: Add argument.
9329 (target_rcmd): Add argument.
9330 * target.c (debug_to_rcmd): Add argument.
9331 (update_current_target, do_monitor_command): Update.
9332 * remote.c (remote_rcmd): Add 'self' argument.
9333 * monitor.c (monitor_rcmd): Add 'self' argument.
9334
1eab8a48
TT
93352014-02-19 Tom Tromey <tromey@redhat.com>
9336
9337 * windows-nat.c (windows_stop): Add 'self' argument.
9338 * target.h (struct target_ops) <to_stop>: Add argument.
9339 * target.c (target_stop): Add argument.
9340 (debug_to_stop): Add argument.
9341 (update_current_target): Update.
9342 * remote.c (remote_stop): Add 'self' argument.
9343 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9344 (gdbsim_cntrl_c): Update.
9345 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9346 * procfs.c (procfs_stop): Add 'self' argument.
9347 * nto-procfs.c (procfs_stop): Add 'self' argument.
9348 * monitor.c (monitor_stop): Add 'self' argument.
9349 (monitor_open): Update.
9350 * linux-nat.c (linux_nat_stop): Add argument.
9351 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9352 * gnu-nat.c (gnu_stop): Add 'self' argument.
9353 * darwin-nat.c (darwin_stop): Add 'self' argument.
9354
503a628d
TT
93552014-02-19 Tom Tromey <tromey@redhat.com>
9356
9357 * target.h (struct target_ops) <to_thread_name>: Add argument.
9358 * target.c (target_thread_name): Add argument.
9359 (update_current_target): Update.
9360 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9361
c15906d8
TT
93622014-02-19 Tom Tromey <tromey@redhat.com>
9363
9364 * target.h (struct target_ops) <to_extra_thread_info>: Add
9365 argument.
9366 (target_extra_thread_info): Add argument.
9367 * target.c (update_current_target): Update.
9368 * remote.c (remote_threads_extra_info): Add 'self' argument.
9369 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9370 argument.
9371 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9372 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9373 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9374 argument.
9375 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9376 argument.
9377 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9378 argument.
9379 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9380 argument.
9381
daf5e9b6
TT
93822014-02-19 Tom Tromey <tromey@redhat.com>
9383
9384 * target.h (struct target_ops) <to_program_signals>: Add argument.
9385 * target.c (target_program_signals): Add argument.
9386 * remote.c (remote_program_signals): Add 'self' argument.
9387
94bedb42
TT
93882014-02-19 Tom Tromey <tromey@redhat.com>
9389
9390 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9391 * target.c (target_pass_signals): Add argument.
9392 * remote.c (remote_pass_signals): Add 'self' argument.
9393 (remote_start_remote): Update.
9394 * procfs.c (procfs_pass_signals): Add 'self' argument.
9395 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9396 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9397 (linux_nat_create_inferior, linux_nat_attach): Update.
9398
da82bd6b
TT
93992014-02-19 Tom Tromey <tromey@redhat.com>
9400
9401 * windows-nat.c (windows_can_run): Add 'self' argument.
9402 * target.h (struct target_ops) <to_can_run>: Add argument.
9403 (target_can_run): Add argument.
9404 * target.c (debug_to_can_run): Add argument.
9405 (update_current_target): Update.
9406 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9407 * inf-child.c (inf_child_can_run): Add 'self' argument.
9408 * go32-nat.c (go32_can_run): Add 'self' argument.
9409
d796e1d6
TT
94102014-02-19 Tom Tromey <tromey@redhat.com>
9411
9412 * target.h (struct target_ops) <to_has_exited>: Add argument.
9413 (target_has_exited): Add argument.
9414 * target.c (debug_to_has_exited): Add argument.
9415 (update_current_target): Update.
9416
ff214e67
TT
94172014-02-19 Tom Tromey <tromey@redhat.com>
9418
9419 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9420 argument.
9421 (target_set_syscall_catchpoint): Add argument.
9422 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9423 argument.
9424 * target.c (update_current_target): Update.
9425
758e29d2
TT
94262014-02-19 Tom Tromey <tromey@redhat.com>
9427
9428 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9429 argument.
9430 (target_remove_exec_catchpoint): Add argument.
9431 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9432 (update_current_target): Update.
9433 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9434 argument.
9435
ba025e51
TT
94362014-02-19 Tom Tromey <tromey@redhat.com>
9437
9438 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9439 argument.
9440 (target_insert_exec_catchpoint): Add argument.
9441 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9442 (update_current_target): Update.
9443 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9444 argument.
9445
e98cf0cd
TT
94462014-02-19 Tom Tromey <tromey@redhat.com>
9447
9448 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9449 argument.
9450 (target_remove_vfork_catchpoint): Add argument.
9451 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9452 (update_current_target): Update.
9453 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9454 argument.
9455
3ecc7da0
TT
94562014-02-19 Tom Tromey <tromey@redhat.com>
9457
9458 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9459 argument.
9460 (target_insert_vfork_catchpoint): Add argument.
9461 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9462 (update_current_target): Update.
9463 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9464 argument.
9465
973fc227
TT
94662014-02-19 Tom Tromey <tromey@redhat.com>
9467
9468 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9469 argument.
9470 (target_remove_fork_catchpoint): Add argument.
9471 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9472 (update_current_target): Update.
9473 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9474 argument.
9475
a863b201
TT
94762014-02-19 Tom Tromey <tromey@redhat.com>
9477
9478 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9479 argument.
9480 (target_insert_fork_catchpoint): Add argument.
9481 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9482 (update_current_target): Update.
9483 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9484 argument.
9485
2e97a79e
TT
94862014-02-19 Tom Tromey <tromey@redhat.com>
9487
9488 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9489 argument.
9490 (target_post_startup_inferior): Add argument.
9491 * target.c (debug_to_post_startup_inferior): Add argument.
9492 (update_current_target): Update.
9493 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9494 argument.
9495 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9496 argument.
9497 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9498 argument.
9499 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9500 argument.
9501 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9502 'self' argument.
9503 (super_post_startup_inferior): Likewise.
9504 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9505 'self' argument.
9506 (super_post_startup_inferior): Likewise.
9507 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9508 Add 'self' argument.
9509 (super_post_startup_inferior): Likewise.
9510
71a9f134
TT
95112014-02-19 Tom Tromey <tromey@redhat.com>
9512
9513 * target.h (struct target_ops) <to_load>: Add argument.
9514 * target.c (target_load): Add argument.
9515 (debug_to_load): Add argument.
9516 (update_current_target): Update.
9517 * remote.c (remote_load): Add 'self' argument.
9518 * remote-sim.c (gdbsim_load): Add 'self' argument.
9519 * remote-mips.c (mips_load): Add 'self' argument.
9520 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9521 * monitor.c (monitor_load): Add 'self' argument.
9522 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9523
0a4f40a2
TT
95242014-02-19 Tom Tromey <tromey@redhat.com>
9525
9526 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9527 (target_terminal_info): Add argument.
9528 * target.c (debug_to_terminal_info): Add argument.
9529 (default_terminal_info): Likewise.
9530 * inflow.c (child_terminal_info): Add 'self' argument.
9531 * inferior.h (child_terminal_info): Add 'self' argument.
9532 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9533
ae3bd431
TT
95342014-02-19 Tom Tromey <tromey@redhat.com>
9535
9536 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9537 argument.
9538 (target_terminal_save_ours): Add argument.
9539 * target.c (debug_to_terminal_save_ours): Add argument.
9540 (update_current_target): Update.
9541 * inflow.c (terminal_save_ours): Add 'self' argument.
9542 * inferior.h (terminal_save_ours): Add 'self' argument.
9543
e3594fd1
TT
95442014-02-19 Tom Tromey <tromey@redhat.com>
9545
9546 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9547 (target_terminal_ours): Add argument.
9548 * target.c (debug_to_terminal_ours): Add argument.
9549 (update_current_target): Update.
9550 * remote.c (remote_terminal_ours): Add 'self' argument.
9551 (remote_close): Update.
9552 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9553 * inflow.c (terminal_ours): Add 'self' argument.
9554 * inferior.h (terminal_ours): Add 'self' argument.
9555 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9556
2e1e1a19
TT
95572014-02-19 Pedro Alves <palves@redhat.com>
9558 Tom Tromey <tromey@redhat.com>
9559
9560 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9561 argument.
9562 (target_terminal_ours_for_output): Add argument.
9563 * target.c (debug_to_terminal_ours_for_output): Add argument.
9564 (update_current_target): Update.
9565 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9566 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9567 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9568
d2f640d4
TT
95692014-02-19 Tom Tromey <tromey@redhat.com>
9570
9571 * target.h (struct target_ops) <to_terminal_inferior>: Add
9572 argument.
9573 * target.c (target_terminal_inferior): Add argument.
9574 (update_current_target): Update.
9575 * remote.c (remote_terminal_inferior): Add 'self' argument.
9576 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9577 * inflow.c (terminal_inferior): Add 'self' argument.
9578 * inferior.h (terminal_inferior): Add 'self' argument.
9579 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9580 (go32_terminal_inferior): Add 'self' argument.
9581
c42bf286
TT
95822014-02-19 Tom Tromey <tromey@redhat.com>
9583
9584 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9585 (target_terminal_init): Add argument.
9586 * target.c (debug_to_terminal_init): Add argument.
9587 (update_current_target): Update.
9588 * inflow.c (terminal_init_inferior): Add 'self' argument.
9589 * inferior.h (terminal_init_inferior): Add 'self' argument.
9590 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9591 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9592
c3a5ff89
TT
95932014-02-19 Tom Tromey <tromey@redhat.com>
9594
9595 * target.h (struct target_ops)
9596 <to_can_accel_watchpoint_condition>: Add argument.
9597 (target_can_accel_watchpoint_condition): Add argument.
9598 * target.c (debug_to_can_accel_watchpoint_condition): Add
9599 argument.
9600 (update_current_target): Update.
9601 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9602 'self' argument.
9603
31568a15
TT
96042014-02-19 Tom Tromey <tromey@redhat.com>
9605
9606 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9607 Add argument.
9608 (target_region_ok_for_hw_watchpoint): Add argument.
9609 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9610 (default_region_ok_for_hw_watchpoint): Add argument.
9611 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9612 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9613 argument.
9614 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9615 argument.
9616 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9617 argument.
9618 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9619 'self' argument.
9620 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9621 'self' argument.
9622 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9623 'self' argument.
9624 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9625 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9626 'self' argument.
9627 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9628 Add 'self' argument.
9629
7bb99c53
TT
96302014-02-19 Tom Tromey <tromey@redhat.com>
9631
9632 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9633 argument.
9634 (target_insert_watchpoint): Add argument.
9635 * target.c (debug_to_insert_watchpoint): Add argument.
9636 (update_current_target): Update.
9637 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9638 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9639 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9640 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9641 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9642 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9643 argument.
9644 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9645 (procfs_insert_hw_watchpoint): Add 'self' argument.
9646 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9647 argument.
9648 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9649 argument.
9650 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9651 argument.
9652 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9653 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9654 argument.
9655 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9656 'self' argument.
9657
11b5219a
TT
96582014-02-19 Tom Tromey <tromey@redhat.com>
9659
9660 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9661 argument.
9662 (target_remove_watchpoint): Add argument.
9663 * target.c (debug_to_remove_watchpoint): Add argument.
9664 (update_current_target): Update.
9665 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9666 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9667 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9668 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9669 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9670 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9671 argument.
9672 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9673 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9674 argument.
9675 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9676 argument.
9677 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9678 argument.
9679 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9680 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9681 argument.
9682 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9683 'self' argument.
9684
a64dc96c
TT
96852014-02-19 Tom Tromey <tromey@redhat.com>
9686
9687 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9688 argument.
9689 (target_remove_hw_breakpoint): Add argument.
9690 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9691 (update_current_target): Update.
9692 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9693 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9694 argument.
9695 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9696 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9697 argument.
9698 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9699 'self' argument.
9700
23a26771
TT
97012014-02-19 Tom Tromey <tromey@redhat.com>
9702
9703 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9704 argument.
9705 (target_insert_hw_breakpoint): Add argument.
9706 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9707 (update_current_target): Update.
9708 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9709 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9710 argument.
9711 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9712 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9713 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9714 argument.
9715 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9716 'self' argument.
9717
5461485a
TT
97182014-02-19 Tom Tromey <tromey@redhat.com>
9719
9720 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9721 argument.
9722 (target_can_use_hardware_watchpoint): Add argument.
9723 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9724 (update_current_target): Update.
9725 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9726 argument.
9727 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9728 argument.
9729 * remote.c (remote_check_watch_resources): Add 'self' argument.
9730 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9731 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9732 argument.
9733 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9734 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9735 argument.
9736 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9737 argument.
9738 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9739 argument.
9740 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9741 argument.
9742 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9743 argument.
9744 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9745 argument.
9746 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9747 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9748 argument.
9749 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9750 'self' argument.
9751
f045800c
TT
97522014-02-19 Tom Tromey <tromey@redhat.com>
9753
9754 * target.h (struct target_ops) <to_post_attach>: Add argument.
9755 (target_post_attach): Add argument.
9756 * target.c (debug_to_post_attach): Add argument.
9757 (update_current_target): Update.
9758 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9759 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9760 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9761 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9762 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9763
de90e03d
TT
97642014-02-19 Tom Tromey <tromey@redhat.com>
9765
9766 * windows-nat.c (windows_close): Add 'self' argument.
9767 * tracepoint.c (tfile_close): Add 'self' argument.
9768 * target.h (struct target_ops) <to_close>: Add argument.
9769 * target.c (target_close): Add argument.
9770 (update_current_target): Update.
9771 * remote.c (remote_close): Add 'self' argument.
9772 * remote-sim.c (gdbsim_close): Add 'self' argument.
9773 * remote-mips.c (mips_close): Add 'self' argument.
9774 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9775 * record-full.c (record_full_close): Add 'self' argument.
9776 * record-btrace.c (record_btrace_close): Add 'self' argument.
9777 * monitor.h (monitor_close): Add 'self' argument.
9778 * monitor.c (monitor_close): Add 'self' argument.
9779 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9780 * linux-nat.c (linux_nat_close): Add argument.
9781 * go32-nat.c (go32_close): Add 'self' argument.
9782 * exec.c (exec_close_1): Add 'self' argument.
9783 * ctf.c (ctf_close): Add 'self' argument.
9784 * corelow.c (core_close): Add 'self' argument.
9785 (core_close_cleanup): Update.
9786 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9787 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9788
9dd130a0
TT
97892014-02-19 Tom Tromey <tromey@redhat.com>
9790
9791 * remote.c (remote_load): New function.
9792 (init_remote_ops): Use it.
9793
46917d26
TT
97942014-02-19 Tom Tromey <tromey@redhat.com>
9795
9796 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9797 argument.
9798 * common/linux-btrace.h (linux_supports_btrace): Update.
9799 * remote.c (remote_supports_btrace): Add "self" argument.
9800 * target-delegates.c: Rebuild.
9801 * target.c (target_supports_btrace): Remove.
9802 * target.h (struct target_ops) <to_supports_btrace>: Add
9803 target_ops argument.
9804 (target_supports_btrace): New define.
9805
6b84065d
TT
98062014-02-19 Tom Tromey <tromey@redhat.com>
9807
9808 * record-full.c (record_full_beneath_to_resume_ops)
9809 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9810 (record_full_beneath_to_wait)
9811 (record_full_beneath_to_store_registers_ops)
9812 (record_full_beneath_to_store_registers)
9813 (record_full_beneath_to_xfer_partial_ops)
9814 (record_full_beneath_to_xfer_partial)
9815 (record_full_beneath_to_insert_breakpoint_ops)
9816 (record_full_beneath_to_insert_breakpoint)
9817 (record_full_beneath_to_remove_breakpoint_ops)
9818 (record_full_beneath_to_remove_breakpoint)
9819 (record_full_beneath_to_stopped_by_watchpoint)
9820 (record_full_beneath_to_stopped_data_address)
9821 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9822 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9823 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9824 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9825 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9826 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9827 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9828 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9829 (record_full_resume, record_full_wait_1)
9830 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9831 (record_full_store_registers, record_full_xfer_partial)
9832 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9833 (record_full_async, record_full_core_xfer_partial): Use target
9834 delegation.
9835 * target-delegates.c: Rebuild.
9836 * target.c (current_xfer_partial): Remove.
9837 (update_current_target): Do not INHERIT or de_fault
9838 to_insert_breakpoint, to_remove_breakpoint,
9839 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9840 to_is_async_p, to_async. Do not set to_xfer_partial field.
9841 (default_xfer_partial): Simplify.
9842 (current_xfer_partial): Remove.
9843 (target_wait, target_resume): Simplify.
9844 (find_default_can_async_p, find_default_is_async_p): Update.
9845 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9846 to_xfer_partial, to_stopped_by_watchpoint,
9847 to_stopped_data_address.
9848 (target_store_registers): Simplify.
9849 (forward_target_remove_breakpoint)
9850 (forward_target_insert_breakpoint): Remove.
9851 (target_remove_breakpoint, target_insert_breakpoint)
9852 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9853 * target.h (struct target_ops) <to_resume, to_wait,
9854 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9855 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9856 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9857 markup.
9858 (forward_target_remove_breakpoint)
9859 (forward_target_insert_breakpoint): Remove.
9860 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9861 directly.
9862 (record_btrace_insert_breakpoint): Delegate directly.
9863
1101cb7b
TT
98642014-02-19 Tom Tromey <tromey@redhat.com>
9865
9866 PR build/7701:
9867 * target-delegates.c: New file.
9868 * target.c: Include target-delegates.c.
9869 (init_dummy_target): Call install_dummy_methods.
9870 (complete_target_initialization): Call install_delegators.
9871 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9872 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9873 * make-target-delegates: New file.
9874
8b06beed
TT
98752014-02-19 Tom Tromey <tromey@redhat.com>
9876
9877 * record.c (find_record_target): Use find_target_at.
9878 * target.c (find_target_at): New function.
9879 * target.h (find_target_at): Declare.
9880
6a109b6b
TT
98812014-02-19 Tom Tromey <tromey@redhat.com>
9882
9883 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9884 Add 'ops' argument.
9885 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9886 'ops' argument.
9887 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9888 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9889 'ops' argument.
9890 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9891 argument.
9892 * linux-nat.c (save_sigtrap): Update.
9893 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9894 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9895 (linux_nat_close): Update.
9896 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9897 argument.
9898 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9899 argument.
9900 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9901 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9902 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9903 (tmp_to_async): Add 'ops' argument.
9904 (record_full_stopped_by_watchpoint, record_full_async)
9905 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9906 argument.
9907 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9908 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9909 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9910 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9911 (remote_is_async_p, remote_async): Add 'ops' argument.
9912 (remote_stopped_data_address): Update.
9913 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9914 * target.c (update_current_target)
9915 (find_default_can_async_p, find_default_is_async_p): Update.
9916 (init_dummy_target): Update.
9917 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9918 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9919 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9920 (target_can_async_p, target_is_async_p, target_async)
9921 (target_stopped_by_watchpoint): Update.
9922
e095146b
YQ
99232014-02-19 Yao Qi <yao@codesourcery.com>
9924
9925 PR gdb/16220
9926 * gdbarch.sh: Remove startup_gdbarch.
9927 * gdbarch.c: Regenerated.
9928 * gdbarch.h: Likewise.
9929
bc3c6b36
KB
99302014-02-17 Kevin Buettner <kevinb@redhat.com>
9931
9932 * rl78-tdep.c (rl78_g10_register_name): New function.
9933 (rl78_return_value): Add g10 support.
9934 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9935 g10.
9936
98dc0167 99372014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
9938
9939 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9940 (SUBDIR_GUILE_SRCS): Ditto.
9941 (scm-gsmob.o): Ditto.
9942
842c05cd
YQ
99432014-02-17 Yao Qi <yao@codesourcery.com>
9944
9945 * gnu-nat.c (ILL_RPC): Declare defined function.
9946
25c0bd04
YQ
99472014-02-17 Yao Qi <yao@codesourcery.com>
9948
9949 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9950 mach_msg_type_number_t.
9951 (gnu_write_inferior): Likewise.
9952
a9a758e3
YQ
99532014-02-17 Yao Qi <yao@codesourcery.com>
9954
9955 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
9956 in format string.
9957 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
9958 (inf_validate_procs, inf_signal): Likewise.
9959 (S_exception_raise_request): Likewise.
9960 (do_mach_notify_dead_name): Likewise.
9961 (steal_exc_port): Likewise.
9962 (gnu_read_inferior): Change 'copy_count''s type to
9963 mach_msg_type_number_t.
9964 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
9965 format string.
9966
bae8023e
TS
99672014-02-16 Thomas Schwinge <thomas@codesourcery.com>
9968
c82f56d9
TS
9969 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
9970 flag. Adjust all users; in particular...
9971 (gnu_wait): ..., don't decrement its value in here...
9972 (gnu_create_inferior): ..., and instead set the flag in here,
9973 around the startup_inferior call, and call that one with
9974 START_INFERIOR_TRAPS_EXPECTED.
9975
3398af6a
TS
9976 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
9977 (ILL_RPC): ... new macro.
9978 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
9979 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
9980 (do_mach_notify_send_once, S_proc_setmsgport_reply)
9981 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
9982 functions with ILL_RPC macro.
9983 (S_proc_pid2task_reply, S_proc_task2pid_reply)
9984 (S_proc_task2proc_reply, S_proc_proc2task_reply)
9985 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
9986 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
9987 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
9988 (S_proc_getlogin_reply, S_proc_getsid_reply)
9989 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
9990 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
9991 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
9992 (S_proc_getnports_reply, S_proc_is_important_reply)
9993 (S_proc_get_code_reply): New stub functions, generated with
9994 ILL_RPC macro.
9995
d47642c9
TS
9996 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
9997 collected the type check structures.
9998
bae8023e
TS
9999 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10000
8a55ffb0
DE
100012014-02-14 Doug Evans <dje@google.com>
10002
10003 * target.c (target_write_partial): Fix result type.
10004
c2853f3d
JM
100052014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10006
10007 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10008 the proper offsets to access fpregset_t.
10009
ac61d2db
SA
100102014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10011
10012 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10013 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10014 * h8300-tdep.c (setmachinelist): Remove global.
10015 * hppa-tdep.c (hppa_sigtramp): Remove global.
10016 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10017 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10018 * ravenscar-thread.c (update_target_observer): Remove global.
10019 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10020
9d2d0b8b
TT
100212014-02-12 Tom Tromey <tromey@redhat.com>
10022
10023 * common/rsp-low.c: Update comments.
10024 * common/rsp-low.h: Update comments.
10025
a7191e8b
TT
100262014-02-12 Tom Tromey <tromey@redhat.com>
10027
10028 * common/rsp-low.c (convert_ascii_to_int): Remove.
10029 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10030
ff0e980e
TT
100312014-02-12 Tom Tromey <tromey@redhat.com>
10032
10033 * common/rsp-low.h (unhexify): Don't declare.
10034 * common/rsp-low.c (unhexify): Remove.
10035
e9371aff
TT
100362014-02-12 Tom Tromey <tromey@redhat.com>
10037
10038 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10039 * common/rsp-low.c (convert_int_to_ascii): Remove.
10040
971dc0b8
TT
100412014-02-12 Tom Tromey <tromey@redhat.com>
10042
10043 * common/rsp-low.h (hexify): Don't declare.
10044 * common/rsp-low.c (hexify): Remove.
10045
0a822afb
TT
100462014-02-12 Tom Tromey <tromey@redhat.com>
10047
10048 * common/rsp-low.c (hexify): Never take strlen of argument.
10049
9f1b45b0
TT
100502014-02-12 Tom Tromey <tromey@redhat.com>
10051
10052 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10053 * remote.c (extended_remote_run, remote_rcmd)
10054 (remote_download_trace_state_variable, remote_save_trace_data)
10055 (remote_set_trace_notes): Update.
10056 * tracepoint.c (encode_source_string, tfile_write_status)
10057 (tfile_write_uploaded_tsv): Update.
10058
9c3d6531
TT
100592014-02-12 Tom Tromey <tromey@redhat.com>
10060
10061 * tracepoint.c: Include rsp-low.h.
10062 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10063 * remote.c: Include rsp-low.h.
10064 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10065 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10066 (remote_unescape_input): Move to common/rsp-low.c.
10067 * common/rsp-low.h: New file.
10068 * common/rsp-low.c: New file.
10069 * Makefile.in (SFILES): Add common/rsp-low.c.
10070 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10071 (COMMON_OBS): Add rsp-low.o.
10072 (rsp-low.o): New target.
10073
01fd3ea5
TT
100742014-02-12 Tom Tromey <tromey@redhat.com>
10075
10076 * utils.h: Include print-utils.h.
10077 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10078 (int_string, core_addr_to_string, core_addr_to_string_nz)
10079 (hex_string, hex_string_custom): Don't declare.
10080 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10081 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10082 (hex_string_custom, int_string, core_addr_to_string)
10083 (core_addr_to_string_nz, host_address_to_string): Move to
10084 common/print-utils.c.
10085 * common/print-utils.h: New file.
10086 * common/print-utils.c: New file
10087 * Makefile.in (SFILES): Add common/print-utils.c.
10088 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10089 (COMMON_OBS): Add print-utils.o.
10090 (print-utils.o): New target.
10091
9fb50108
TT
100922014-02-12 Tom Tromey <tromey@redhat.com>
10093
10094 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10095
0548b5db
MK
100962014-02-12 Mark Kettenis <kettenis@gnu.org>
10097
10098 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10099
493443a4
MK
101002014-02-12 Mark Kettenis <kettenis@gnu.org>
10101
10102 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10103 if a PT_IO ptrace request returns sucessfully but indicates that 0
10104 bytes were transferred.
10105
706d0883
PA
101062014-02-12 Pedro Alves <palves@redhat.com>
10107 Kevin Buettner <kevinb@redhat.com>
10108
10109 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10110 TYPE_INSTANCE_FLAG_CODE_SPACE.
10111
5caa2f0b
PA
101122014-02-12 Pedro Alves <palves@redhat.com>
10113
10114 * h8300-tdep.c (pseudo_from_raw_register)
10115 (raw_from_pseudo_register): New functions.
10116 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10117 them.
10118
76fd5f74
PA
101192014-02-12 Pedro Alves <palves@redhat.com>
10120
10121 * h8300-tdep.c (h8300_register_sim_regno): New function.
10122 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10123 gdbarch_register_sim_regno hook.
10124
8f008406
SA
101252014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10126
10127 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10128
195abc10
SA
101292014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10130
10131 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10132
93ffa5b9
MK
101332014-02-12 Mark Kettenis <kettenis@gnu.org>
10134
10135 * obsd-tdep.h (obsd_init_abi): New prototype.
10136 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10137 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10138 (obsd_init_abi): New functions.
10139 * i386obsd-tdep.c: Include "obsd-tdep.h".
10140 (i386obsd_init_abi): Call obsd_init_abi.
10141 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10142 (amd64obsd_init_abi): Call obsd_init_abi.
10143 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10144 obsd-tdep.c to gdb_target_obs.
10145
49caec94
JM
101462014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10147
10148 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10149 double float arguments to 16-byte in the argument slots.
10150
e1402065
DE
101512014-02-11 Doug Evans <xdje42@gmail.com>
10152
10153 * configure.ac: Don't crash if pkg-config is not found and guile
10154 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10155 in guile checks.
10156 * configure: Regenerate.
10157
edcc890f
YQ
101582014-02-11 Yao Qi <yao@codesourcery.com>
10159
10160 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10161 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10162 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10163 * gnu-nat.c (gnu_xfer_memory): Likewise.
10164 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10165 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10166 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10167 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10168
9b409511
YQ
101692014-02-11 Yao Qi <yao@codesourcery.com>
10170
10171 * target.h (enum target_xfer_error): Rename to ...
10172 (enum target_xfer_status): ... it. New. All users updated.
10173 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10174 New.
10175 (TARGET_XFER_STATUS_ERROR_P): New macro.
10176 (target_xfer_error_to_string): Remove declaration.
10177 (target_xfer_status_to_string): Declare.
10178 (target_xfer_partial_ftype): Adjust it.
10179 (struct target_ops) <to_xfer_partial>: Return
10180 target_xfer_status. Add argument xfered_len. Update
10181 comments.
10182 * target.c (target_xfer_error_to_string): Rename to ...
10183 (target_xfer_status_to_string): ... it. New. All callers
10184 updated.
10185 (target_read_live_memory): Likewise. Call target_xfer_partial
10186 instead of target_read.
10187 (memory_xfer_live_readonly_partial): Return
10188 target_xfer_status. Add argument xfered_len.
10189 (raw_memory_xfer_partial): Likewise.
10190 (memory_xfer_partial_1): Likewise.
10191 (memory_xfer_partial): Likewise.
10192 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10193 properly. Update debug message.
10194 (default_xfer_partial, current_xfer_partial): Likewise.
10195 (target_write_partial): Likewise.
10196 (target_read_partial): Likewise. All callers updated.
10197 (read_whatever_is_readable): Likewise.
10198 (target_write_with_progress): Likewise.
10199 (target_read_alloc_1): Likewise.
10200
10201 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10202 * auxv.c (procfs_xfer_auxv): Likewise.
10203 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10204 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10205 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10206 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10207 * corefile.c (read_memory): Adjust.
10208 * corelow.c (core_xfer_partial): Likewise.
10209 * ctf.c (ctf_xfer_partial): Likewise.
10210 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10211 updated.
10212 (darwin_xfer_partial): Likewise.
10213 * exec.c (section_table_xfer_memory_partial): Likewise. All
10214 callers updated.
10215 (exec_xfer_partial): Likewise.
10216 * exec.h (section_table_xfer_memory_partial): Update
10217 declaration.
10218 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10219 negative.
10220 (gnu_xfer_partial): Likewise.
10221 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10222 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10223 (ia64_hpux_xfer_solib_got): Likewise.
10224 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10225 type of 'partial_len' to ULONGEST.
10226 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10227 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10228 (linux_nat_xfer_partial): Likewise.
10229 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10230 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10231 * monitor.c (monitor_xfer_memory): Likewise.
10232 (monitor_xfer_partial): Likewise.
10233 * procfs.c (procfs_xfer_partial): Likewise.
10234 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10235 * record-full.c (record_full_xfer_partial): Likewise.
10236 (record_full_core_xfer_partial): Likewise.
10237 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10238 (gdbsim_xfer_partial): Likewise.
10239 * remote.c (remote_write_bytes_aux): Likewise. All callers
10240 updated.
10241 (remote_write_bytes, remote_read_bytes): Likewise. All
10242 callers updated.
10243 (remote_flash_erase): Likewise. All callers updated.
10244 (remote_write_qxfer): Likewise. All callers updated.
10245 (remote_read_qxfer): Likewise. All callers updated.
10246 (remote_xfer_partial): Likewise.
10247 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10248 (rs6000_xfer_shared_libraries): Likewise.
10249 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10250 (sol_thread_xfer_partial): Likewise.
10251 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10252 (sparc_xfer_partial): Likewise.
10253 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10254 updated.
10255 (spu_xfer_partial): Likewise.
10256 * spu-multiarch.c (spu_xfer_partial): Likewise.
10257 * tracepoint.c (tfile_xfer_partial): Likewise.
10258 * windows-nat.c (windows_xfer_memory): Likewise.
10259 (windows_xfer_shared_libraries): Likewise.
10260 (windows_xfer_partial): Likewise.
10261 * valprint.c: Replace 'target_xfer_error' with
10262 'target_xfer_status' in comments.
10263
a8e63083
JB
102642014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10265
10266 Checked in by Joel Brobecker <brobecker@adacore.com>.
10267 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10268
e86b67d3
JB
102692014-02-11 Joel Brobecker <brobecker@adacore.com>
10270
10271 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10272 function parameters.
10273
4b7d1f7f
WN
102742014-02-10 Will Newton <will.newton@linaro.org>
10275
10276 * elfread.c (elf_rel_plt_read): Look for a .got section if
10277 looking up .got.plt fails.
10278 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10279 on address passed to elf_gnu_ifunc_record_cache.
10280 (elf_gnu_ifunc_resolve_addr): Likewise.
10281 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10282
961842b2
JM
102832014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10284
10285 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10286 (X_RETTURN): New macro.
10287 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10288
10289 * sparc64-tdep.c (sparc64_init_abi): Hook
10290 sparc_in_function_epilogue_p.
10291
3f03e7b1
GB
102922014-02-10 Gary Benson <gbenson@redhat.com>
10293
10294 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10295 Rename name_matcher to symbol_matcher.
10296
96f861ef
GB
102972014-02-10 Gary Benson <gbenson@redhat.com>
10298
10299 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10300 Use expand_symtabs_file_matcher_ftype and
10301 expand_symtabs_symbol_matcher_ftype.
10302
ee01b665
JB
103032014-02-10 Joel Brobecker <brobecker@adacore.com>
10304
10305 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10306 (struct ada_symbol_cache): New.
10307 (ada_free_symbol_cache): Forward declare.
10308 (struct ada_pspace_data): New.
10309 (ada_pspace_data_handle): New static global.
10310 (get_ada_pspace_data, ada_pspace_data_cleanup)
10311 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10312 (cache_space, cache): Delete, now folded inside struct
10313 ada_pspace_data.
10314 (ada_get_symbol_cache): New function.
10315 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10316 implementation.
10317 (_initialize_ada_language): Remove initialization of cache_space.
10318 Move call to observer_attach_inferior_exit up, grouping it
10319 with the other observer registrations inside this function.
10320 Rename command to be more general. Add call to
10321 register_program_space_data_with_cleanup.
10322
143adbbf
JB
103232014-02-10 Joel Brobecker <brobecker@adacore.com>
10324
10325 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10326 ada_new_objfile_observer.
10327 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10328 (_initialize_tasks): Update uses of ada_new_objfile_observer
10329 and ada_tasks_normal_stop_observer.
10330
aa4fb036
JB
103312014-02-10 Joel Brobecker <brobecker@adacore.com>
10332
10333 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10334 returned by the 'Length attribute to integer.
10335
9dee8cc6
JB
103362014-02-10 Joel Brobecker <brobecker@adacore.com>
10337
10338 * ada-lang.c (_initialize_ada_language): Initialize
10339 cache_space obstack.
10340
3d9434b5
JB
103412014-02-10 Joel Brobecker <brobecker@adacore.com>
10342
10343 * ada-lang.c (HASH_SIZE): New macro.
10344 (struct cache_entry): New type.
10345 (cache_space, cache): New static globals.
10346 (ada_clear_symbol_cache, find_entry): New functions.
10347 (lookup_cached_symbol, cache_symbol): Implement.
10348 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10349 (_initialize_ada_language): Attach ada_new_objfile_observer
10350 and ada_free_objfile_observer.
10351
f0c5f9b2
JB
103522014-02-10 Joel Brobecker <brobecker@adacore.com>
10353
10354 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10355 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10356 struct block * parameter.
10357 (ada_lookup_symbol_list_worker): Constify local variable "block".
10358 Remove cast which is no longer necessary.
10359
ed3ef339
DE
103602014-02-10 Doug Evans <xdje42@gmail.com>
10361
10362 Add Guile as an extension language.
10363 * NEWS: Mention Guile scripting.
10364 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10365 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10366 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10367 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10368 (CLIBS): Add GUILE_LIBS.
10369 (install-guile): New rule.
10370 (guile.o): New rule.
10371 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10372 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10373 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10374 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10375 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10376 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10377 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10378 * configure.ac: New option --with-guile.
10379 * configure: Regenerate.
10380 * config.in: Regenerate.
10381 * auto-load.c: Remove #include "python/python.h". Add #include
10382 "gdb/section-scripts.h".
10383 (source_section_scripts): Handle Guile scripts.
10384 (_initialize_auto_load): Add name of Guile objfile script to
10385 scripts-directory help text.
10386 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10387 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10388 (struct breakpoint): New member scm_bp_object.
10389 * defs.h (enum command_control_type): New value guile_control.
10390 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10391 "extension.h".
10392 (show_user): Update comment.
10393 (_initialize_cli_cmds): Update help text for "show user". Update help
10394 text for max-user-call-depth.
10395 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10396 "extension.h".
10397 (multi_line_command_p): Add guile_control.
10398 (print_command_lines): Handle guile_control.
10399 (execute_control_command, recurse_read_control_structure): Ditto.
10400 (process_next_line): Recognize "guile" commands.
10401 * disasm.c (gdb_disassemble_info): Make non-static.
10402 * disasm.h: #include "dis-asm.h".
10403 (struct gdbarch): Add forward decl.
10404 (gdb_disassemble_info): Declare.
10405 * extension.c: #include "guile/guile.h".
10406 (extension_languages): Add guile.
10407 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10408 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10409 * gdbtypes.c (get_unsigned_type_max): New function.
10410 (get_signed_type_minmax): New function.
10411 * gdbtypes.h (get_unsigned_type_max): Declare.
10412 (get_signed_type_minmax): Declare.
10413 * guile/README: New file.
10414 * guile/guile-internal.h: New file.
10415 * guile/guile.c: New file.
10416 * guile/guile.h: New file.
10417 * guile/scm-arch.c: New file.
10418 * guile/scm-auto-load.c: New file.
10419 * guile/scm-block.c: New file.
10420 * guile/scm-breakpoint.c: New file.
10421 * guile/scm-disasm.c: New file.
10422 * guile/scm-exception.c: New file.
10423 * guile/scm-frame.c: New file.
10424 * guile/scm-gsmob.c: New file.
10425 * guile/scm-iterator.c: New file.
10426 * guile/scm-lazy-string.c: New file.
10427 * guile/scm-math.c: New file.
10428 * guile/scm-objfile.c: New file.
10429 * guile/scm-ports.c: New file.
10430 * guile/scm-pretty-print.c: New file.
10431 * guile/scm-safe-call.c: New file.
10432 * guile/scm-string.c: New file.
10433 * guile/scm-symbol.c: New file.
10434 * guile/scm-symtab.c: New file.
10435 * guile/scm-type.c: New file.
10436 * guile/scm-utils.c: New file.
10437 * guile/scm-value.c: New file.
10438 * guile/lib/gdb.scm: New file.
10439 * guile/lib/gdb/boot.scm: New file.
10440 * guile/lib/gdb/experimental.scm: New file.
10441 * guile/lib/gdb/init.scm: New file.
10442 * guile/lib/gdb/iterator.scm: New file.
10443 * guile/lib/gdb/printing.scm: New file.
10444 * guile/lib/gdb/types.scm: New file.
10445 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10446 (VPATH): Add $(GUILE_SRCDIR).
10447 (GUILE_DIR): New variable.
10448 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10449 (all): Add stamp-guile dependency.
10450 (stamp-guile): New rule.
10451 (clean-guile, install-guile, uninstall-guile): New rules.
10452 (install-only): Add install-guile dependency.
10453 (uninstall): Add uninstall-guile dependency.
10454 (clean): Add clean-guile dependency.
10455
ac020ec5
DE
104562014-02-09 Doug Evans <xdje42@gmail.com>
10457
10458 Revert this patch (which I approved, mea culpa).
10459
10460 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10461
10462 * Makefile.in (all-lib): Remove.
10463 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10464
2a081c59
JK
104652014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10466
10467 Fix Python stack corruption.
10468 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10469 gdb_py_longest.
10470
0a6bd22d
MK
104712014-02-08 Mark Kettenis <kettenis@gnu.org>
10472
10473 * Makefile.in (all-lib): Remove.
10474 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10475
1a860409
DE
104762014-02-07 Doug Evans <dje@google.com>
10477
10478 * extension-priv.h (extension_language_script_ops): Add comment.
10479 (extension_language_ops): Add comment.
caf5a491 10480 (active_ext_lang_state): Fix typo in comment.
1a860409 10481
d137e6dc
PA
104822014-02-07 Pedro Alves <palves@redhat.com>
10483
0dcb32c3 10484 PR breakpoints/16292
d137e6dc
PA
10485 * infrun.c (handle_signal_stop) <signal arrives while stepping
10486 over a breakpoint>: Switch back to the stepping thread.
10487
ce6d0892
YQ
104882014-02-07 Yao Qi <yao@codesourcery.com>
10489
10490 * target.c (target_xfer_partial): Return zero if LEN is zero.
10491
2ed4b548
YQ
104922014-02-07 Yao Qi <yao@codesourcery.com>
10493
10494 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10495 (ld_so_xfer_auxv): Likewise.
10496 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10497 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10498 * corelow.c (core_xfer_partial): Likewise.
10499 * ctf.c (ctf_xfer_partial): Likewise.
10500 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10501 (darwin_xfer_partial): Likewise.
10502 * exec.c (exec_xfer_partial): Likewise.
10503 * gnu-nat.c (gnu_xfer_partial): Likewise.
10504 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10505 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10506 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10507 * linux-nat.c (linux_xfer_siginfo): Likewise.
10508 (linux_proc_xfer_spu): Likewise.
10509 * procfs.c (procfs_xfer_partial): Likewise.
10510 * record-full.c (record_full_xfer_partial): Likewise.
10511 (record_full_core_xfer_partial): Likewise.
10512 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10513 * remote.c (remote_write_qxfer): Likewise.
10514 (remote_write_qxfer, remote_read_qxfer): Likewise.
10515 (remote_xfer_partial): Likewise.
10516 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10517 (rs6000_xfer_shared_libraries): Likewise.
10518 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10519 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10520 (spu_xfer_partial): Likewise.
10521 * target.c (memory_xfer_partial_1): Likewise.
10522 * tracepoint.c (tfile_xfer_partial): Likewise.
10523 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10524 (windows_xfer_partial): Likewise.
10525
c09f20e4
YQ
105262014-02-07 Yao Qi <yao@codesourcery.com>
10527
10528 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10529 comments.
10530 (core_xfer_shared_libraries_aix): Likewise.
10531 * gdbarch.c, gdbarch.h: Regenerated.
10532 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10533 ULONGEST. Change 'len_avail' type to ULONGEST.
10534 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10535 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10536 declaration.
10537 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10538
8635b3bf
YQ
105392014-02-07 Yao Qi <yao@codesourcery.com>
10540
10541 * corefile.c (memory_error): Get 'exception' from ERR and pass
10542 'exception' to throw_error.
10543
6dddc817
DE
105442014-02-06 Doug Evans <xdje42@gmail.com>
10545
10546 * configure.ac (libpython checking): Remove all but python.o from
10547 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10548 * configure: Regenerate.
10549
10550 * Makefile.in (SFILES): Add extension.c.
10551 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10552 (COMMON_OBS): Add extension.o.
10553 * extension.h: New file.
10554 * extension-priv.h: New file.
10555 * extension.c: New file.
10556
10557 * python/python-internal.h: #include "extension.h".
10558 (gdbpy_auto_load_enabled): Declare.
10559 (gdbpy_apply_val_pretty_printer): Declare.
10560 (gdbpy_apply_frame_filter): Declare.
10561 (gdbpy_preserve_values): Declare.
10562 (gdbpy_breakpoint_cond_says_stop): Declare.
10563 (gdbpy_breakpoint_has_cond): Declare.
10564 (void source_python_script_for_objfile): Delete.
10565 * python/python.c: #include "extension-priv.h".
10566 Delete inclusion of "observer.h".
10567 (extension_language_python): Moved here and renamed from
10568 script_language_python in py-auto-load.c.
10569 Redefined to be of type extension_language_defn.
10570 (python_extension_script_ops): New global.
10571 (python_extension_ops): New global.
10572 (struct python_env): New member previous_active.
10573 (restore_python_env): Call restore_active_ext_lang.
10574 (ensure_python_env): Call set_active_ext_lang.
10575 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10576 New arg extlang.
10577 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10578 New arg extlang.
10579 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10580 New arg extlang.
10581 (gdbpy_eval_from_control_command): Renamed from
10582 eval_python_from_control_command, made static. New arg extlang.
10583 (gdbpy_source_script) Renamed from source_python_script, made static.
10584 New arg extlang.
10585 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10586 result to int. New arg extlang.
10587 (gdbpy_source_objfile_script): Renamed from
10588 source_python_script_for_objfile, made static. New arg extlang.
10589 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10590 static. New args extlang, extlang_printers. Change result type to
10591 "void".
10592 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10593 static. New arg extlang. Rename arg printers to extlang_printers
10594 and change type to ext_lang_type_printers *.
10595 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10596 static. Replace argument arg with extlang, extlang_printers.
10597 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10598 (!HAVE_PYTHON, source_python_script): Delete.
10599 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10600 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10601 (!HAVE_PYTHON, start_type_printers): Delete.
10602 (!HAVE_PYTHON, apply_type_printers): Delete.
10603 (!HAVE_PYTHON, free_type_printers): Delete.
10604 (_initialize_python): Delete call to observer_attach_before_prompt.
10605 (finalize_python): Set/restore active extension language.
10606 (gdbpy_finish_initialization) Renamed from
10607 finish_python_initialization, made static. New arg extlang.
10608 (gdbpy_initialized): New function.
10609 * python/python.h: #include "extension.h". Delete #include
10610 "value.h", "mi/mi-cmds.h".
10611 (extension_language_python): Declare.
10612 (GDBPY_AUTO_FILE_NAME): Delete.
10613 (enum py_bt_status): Moved to extension.h and renamed to
10614 ext_lang_bt_status.
10615 (enum frame_filter_flags): Moved to extension.h.
10616 (enum py_frame_args): Moved to extension.h and renamed to
10617 ext_lang_frame_args.
10618 (finish_python_initialization): Delete.
10619 (eval_python_from_control_command): Delete.
10620 (source_python_script): Delete.
10621 (apply_val_pretty_printer): Delete.
10622 (apply_frame_filter): Delete.
10623 (preserve_python_values): Delete.
10624 (gdbpy_script_language_defn): Delete.
10625 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10626 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10627
10628 * auto-load.c: #include "extension.h".
10629 (GDB_AUTO_FILE_NAME): Delete.
10630 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10631 (script_language_gdb): Delete, moved to extension.c and renamed to
10632 extension_language_gdb.
10633 (source_gdb_script_for_objfile): Delete.
10634 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10635 (loaded_script): Change type of language member to
10636 struct extension_language_defn *.
10637 (init_loaded_scripts_info): Initialize
10638 unsupported_script_warning_printed.
10639 (maybe_add_script): Make static. Change type of language arg to
10640 struct extension_language_defn *.
10641 (clear_section_scripts): Reset unsupported_script_warning_printed.
10642 (auto_load_objfile_script_1): Rewrite to use extension language API.
10643 (auto_load_objfile_script): Make public. Remove support-compiled-in
10644 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10645 (source_section_scripts): Rewrite to use extension language API.
10646 (load_auto_scripts_for_objfile): Rewrite to use
10647 auto_load_scripts_for_objfile.
10648 (collect_matching_scripts_data): Change type of language member to
10649 struct extension_language_defn *.
10650 (auto_load_info_scripts): Change type of language arg to
10651 struct extension_language_defn *.
10652 (unsupported_script_warning_print): New function.
10653 (script_not_found_warning_print): Make static.
10654 (_initialize_auto_load): Rewrite construction of scripts-directory
10655 help.
10656 * auto-load.h (struct objfile): Add forward decl.
10657 (struct script_language): Delete.
10658 (struct auto_load_pspace_info): Add forward decl.
10659 (struct extension_language_defn): Add forward decl.
10660 (maybe_add_script): Delete.
10661 (auto_load_objfile_script): Declare.
10662 (script_not_found_warning_print): Delete.
10663 (auto_load_info_scripts): Update prototype.
10664 (auto_load_gdb_scripts_enabled): Declare.
10665 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10666 auto_load_python_scripts_enabled and made public.
10667 (script_language_python): Delete, moved to python.c.
10668 (gdbpy_script_language_defn): Delete.
10669 (info_auto_load_python_scripts): Update to use
10670 extension_language_python.
10671
10672 * breakpoint.c (condition_command): Replace call to
10673 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10674 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10675 with call to breakpoint_ext_lang_cond_says_stop.
10676 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10677 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10678 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10679 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10680 New arg slang.
10681 (local_setattro): Print name of extension language with existing
10682 stop condition.
10683
10684 * valprint.c (val_print, value_print): Update to call
10685 apply_ext_lang_val_pretty_printer.
10686 * cp-valprint.c (cp_print_value): Update call to
10687 apply_ext_lang_val_pretty_printer.
10688 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10689 (gdbpy_apply_val_pretty_printer): Renamed from
10690 apply_val_pretty_printer. New arg extlang.
10691 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10692
10693 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10694 extension language API.
10695 * cli/cli-script.c (execute_control_command): Update to call
10696 eval_ext_lang_from_control_command.
10697
10698 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10699 enum ext_lang_bt_status values. Update call to
10700 apply_ext_lang_frame_filter.
10701 (mi_cmd_stack_list_locals): Ditto.
10702 (mi_cmd_stack_list_args): Ditto.
10703 (mi_cmd_stack_list_variables): Ditto.
10704 * mi/mi-main.c: Delete #include "python/python-internal.h".
10705 Add #include "extension.h".
10706 (mi_cmd_list_features): Replace reference to python internal variable
10707 gdb_python_initialized with call to ext_lang_initialized_p.
10708
10709 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10710 Update to use enum ext_lang_frame_args. Update to call
10711 apply_ext_lang_frame_filter.
10712 * python/py-framefilter.c (extract_sym): Update to use enum
10713 ext_lang_bt_status.
10714 (extract_value, py_print_type, py_print_value): Ditto.
10715 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10716 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10717 (py_print_frame): Ditto.
10718 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10719 New arg extlang. Update to use enum ext_lang_bt_status.
10720
10721 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10722 finish_python_initialization. Replace with call to
10723 finish_ext_lang_initialization.
10724
10725 * typeprint.c (do_free_global_table): Update to call
10726 free_ext_lang_type_printers.
10727 (create_global_typedef_table): Update to call
10728 start_ext_lang_type_printers.
10729 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10730 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10731 (type_print_options): Change type of global_printers from "void *"
10732 to "struct ext_lang_type_printers *".
10733
10734 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10735 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10736 (gdbpy_preserve_values): Renamed from preserve_python_values.
10737 New arg extlang.
10738 (!HAVE_PYTHON, preserve_python_values): Delete.
10739
10740 * utils.c (quit_flag): Delete, moved to extension.c.
10741 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10742 extension.c.
10743
10744 * eval.c: Delete #include "python/python.h".
10745 * main.c: Delete #include "python/python.h".
10746
10747 * defs.h: Update comment.
10748
6af79985
JB
107492014-02-06 Joel Brobecker <brobecker@adacore.com>
10750
10751 GDB 7.7 released.
10752
12c5175d
MK
107532014-02-05 Mark Kettenis <kettenis@gnu.org>
10754
10755 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10756 defined.
10757
8dc5b319
YQ
107582014-02-05 Yao Qi <yao@codesourcery.com>
10759
10760 * remote.c (remote_pass_signals): Remove local 'buf' and use
10761 rs->buf.
10762 (remote_program_signals): Likewise.
10763
de7b2893
YQ
107642014-02-05 Yao Qi <yao@codesourcery.com>
10765
10766 * ctf.c: Include "inferior.h" and "gdbthread.h".
10767 (CTF_PID): A new macro.
10768 (ctf_open): Call inferior_appeared and add_thread_silent.
10769 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10770 (ctf_thread_alive): New function.
10771 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10772
66d032ac
YQ
107732014-02-05 Yao Qi <yao@codesourcery.com>
10774
10775 Revert this patch:
10776
10777 2013-05-24 Yao Qi <yao@codesourcery.com>
10778
10779 * tracepoint.c (TFILE_PID): Remove.
10780 (tfile_open): Don't add thread and inferior.
10781 (tfile_close): Don't set 'inferior_ptid'. Don't call
10782 exit_inferior_silent.
10783 (tfile_thread_alive): Remove.
10784 (init_tfile_ops): Don't set field 'to_thread_alive' of
10785 tfile_ops.
10786
f4ccffad
CE
107872014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10788
10789 * remote.c (remote_start_remote): Call remote_check_symbols even
10790 if only symbol-file (not file) has been given.
10791
591a12a1
UW
107922014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10793
10794 * gdbarch.sh (skip_entrypoint): New callback.
10795 * gdbarch.c, gdbarch.h: Regenerate.
10796 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10797 * infrun.c (fill_in_stop_func): Likewise.
10798 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10799 (ppc_elfv2_elf_make_msymbol_special): New function.
10800 (ppc_elfv2_skip_entrypoint): Likewise.
10801 (ppc_linux_init_abi): Install them for ELFv2.
10802
cc0e89c5
UW
108032014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10804
10805 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10806 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10807 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10808 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10809 structures returned in GPRs.
10810
52f548e4
UW
108112014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10812
10813 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10814 offset to the stack parameter list for the ELFv2 ABI.
10815
d4094b6a
UW
108162014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10817
10818 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10819 set_gdbarch_convert_from_func_ptr_addr and
10820 set_gdbarch_elf_make_msymbol_special for ELFv1.
10821 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10822 function descriptors on ELFv1.
10823 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10824 set up r12 at function entry.
10825
cd453cd0
UW
108262014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10827
10828 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10829 (struct gdbarch_tdep): New member elf_abi.
10830
10831 * rs6000-tdep.c: Include "elf/ppc64.h".
10832 (rs6000_gdbarch_init): Detect ELF ABI version.
10833
0ff3e01f
UW
108342014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10835
10836 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10837 within a register pair holding a DFP 128-bit value on little-endian.
10838 (ppc64_sysv_abi_return_value_base): Likewise.
10839 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10840 (dfp_pseudo_register_write): Likewise.
10841
5b757e5d
UW
108422014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10843
10844 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10845 offset on little-endian when passing _Decimal32.
10846 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10847
084ee545
UW
108482014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10849
10850 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10851 of the overlapped FP register within the VSX register on little-
10852 endian platforms.
10853 (efpr_pseudo_register_write): Likewise.
10854
d63167af
UW
108552014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10856
10857 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10858 offset on little-endian when passing small structures.
10859
e765b44c
UW
108602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10861
10862 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10863 (struct ppc64_sysv_argpos): New data structure.
10864 (ppc64_sysv_abi_push_float): Remove.
10865 (ppc64_sysv_abi_push_val): New function.
10866 (ppc64_sysv_abi_push_integer): Likewise.
10867 (ppc64_sysv_abi_push_freg): Likewise.
10868 (ppc64_sysv_abi_push_vreg): Likewise.
10869 (ppc64_sysv_abi_push_param): Likewise.
10870 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10871 (ppc64_sysv_abi_return_value_base): New function.
10872 (ppc64_sysv_abi_return_value): Refactor to use it.
10873
36c24d95
UW
108742014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10875
10876 * NEWS: Document new target powerpc64le-*-linux*.
10877
26fd9228
MK
108782014-02-04 Mark Kettenis <kettenis@gnu.org>
10879
10880 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10881 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10882 core dumps.
10883 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10884 register set used in ELF core dumps. Add floating-point register set.
10885
c5bb7362
KB
108862014-02-03 Kevin Buettner <kevinb@redhat.com>
10887
74228e77 10888 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10889 dwarf2_to_gdb[] table using symbolic constants. Adjust
10890 penultimate entry from number representing the PC register
10891 to symbolic constant representing the MDR register. Add
10892 constant for the PC register to the end of the table.
10893
af09351e
MK
108942014-02-03 Mark Kettenis <kettenis@gnu.org>
10895
10896 * bsd-kvm.c: Include <sys/param.h>
10897
8507e05d
MK
108982014-02-03 Mark Kettenis <kettenis@gnu.org>
10899
10900 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10901
ae56bfb8
JB
109022014-01-31 Joel Brobecker <brobecker@adacore.com>
10903
10904 * ada-lang.h (clear_ada_sym_cache): Delete.
10905
718ee4dc
UW
109062014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10907
10908 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10909
401e27fd
JM
109102014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10911
10912 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10913 the sigreturn register save area only if the syscall is
10914 sigreturn.
10915
a7c88acd
JB
109162014-01-29 Joel Brobecker <brobecker@adacore.com>
10917
10918 * valops.c (value_slice): Minor reformatting.
10919
fa0079ea
UW
109202014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10921
10922 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10923
c6044dd1
JB
109242014-01-28 Joel Brobecker <brobecker@adacore.com>
10925
10926 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10927 New static globals.
10928 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10929 (ada_ignore_descriptive_types_p): New static global.
10930 (find_parallel_type_by_descriptive_type): Return immediately
10931 if ada_ignore_descriptive_types_p is set.
10932 (_initialize_ada_language): Register new commands "maintenance
10933 set ada", "maintenance show ada", "maintenance set ada
10934 ignore-descriptive-types" and "maintenance show ada
10935 ignore-descriptive-types".
10936 * NEWS: Add entry for new "maint ada set/show
10937 ignore-descriptive-types" commands.
10938
568e808b
MM
109392014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10940
10941 * record-btrace.c (record_btrace_close): Call btrace_teardown
10942 for all threads.
10943
467d141b
JB
109442014-01-27 Joel Brobecker <brobecker@adacore.com>
10945
10946 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10947 "ui-out.h".
10948
fb151210
JB
109492014-01-27 Joel Brobecker <brobecker@adacore.com>
10950
10951 * ada-typeprint (type_is_full_subrange_of_target_type):
10952 New function.
10953 (print_range): Add parameter bounds_prefered_p. If not set,
10954 try printing range types using the name of their base type.
10955 (print_range_type): Add parameter bounds_prefered_p.
10956 Use it in call to print_range.
10957 (print_array_type, ada_print_type): Update calls to print_range
10958 and print_range_type.
10959
aba02109
JB
109602014-01-27 Joel Brobecker <brobecker@adacore.com>
10961
10962 * ada-typeprint.c (print_array_type, print_choices, print_range)
10963 (print_range_bound, print_dynamic_range_bound, print_range_type):
10964 Remove declaration.
10965
e62e21fd
JB
109662014-01-27 Joel Brobecker <brobecker@adacore.com>
10967
10968 * ada-typeprint.c (print_range): Add missing empty line
10969 after local declaration.
10970
859cf5d1
JB
109712014-01-27 Joel Brobecker <brobecker@adacore.com>
10972
10973 * ada-valprint.c (print_optional_low_bound): Get index_type's
10974 target type for as long as it is a TYPE_CODE_RANGE.
10975
25790f6f
JB
109762014-01-27 Joel Brobecker <brobecker@adacore.com>
10977
10978 * procfs.c (procfs_make_note_section): Remove assertion and
10979 associated comment.
10980
6b6aa828
YQ
109812014-01-24 Yao Qi <yao@codesourcery.com>
10982
10983 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
10984 * corelow.c (get_core_siginfo): Likewise.
10985
5d6df423
YQ
109862014-01-24 Yao Qi <yao@codesourcery.com>
10987
10988 * remote.c (remote_write_bytes_aux): Change type of 'len' to
10989 ULONGEST. Don't check 'len' is negative.
10990 (remote_write_bytes): Change type of 'len' to ULONGEST.
10991
83b645b8
TT
109922014-01-23 Tom Tromey <tromey@redhat.com>
10993
10994 PR python/16485:
10995 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
10996 Handle exception from frame.block.
10997 (FrameVars.fetch_frame_locals): Likewise.
10998
0740f8d8
TT
109992014-01-23 Tom Tromey <tromey@redhat.com>
11000
11001 PR python/16487:
11002 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11003 on a NULL pointer. Move "goto error" to correct place.
11004
21909fa1
TT
110052014-01-23 Tom Tromey <tromey@redhat.com>
11006
11007 PR python/16491:
11008 * python/py-framefilter.c (apply_frame_filter): Call
11009 ensure_python_env after computing gdbarch.
11010
17fde6d0
YQ
110112014-01-23 Yao Qi <yao@codesourcery.com>
11012
11013 * target.c (raw_memory_xfer_partial): Change argument type
11014 from void * to gdb_byte *.
11015 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11016
87ce2a04
DE
110172014-01-22 Doug Evans <dje@google.com>
11018
11019 New gdbserver option --debug-format=timestamp.
11020 * NEWS: Mention it.
11021
237b092b
AA
110222014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11023
11024 * syscalls/s390x-linux.xml: New file.
11025 * syscalls/s390-linux.xml: New file.
11026 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11027 (XML_SYSCALL_FILENAME_S390X): Likewise.
11028 (op_svc): New enum value for SVC opcode.
11029 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11030 (s390_linux_get_syscall_number): New function.
11031 (s390_gdbarch_init): Register '*get_syscall_number' and the
11032 syscall xml file name.
11033 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11034 "s390-linux.xml" and "s390x-linux.xml".
11035 * NEWS: Announce new feature.
11036
54bff650
BS
110372014-01-22 Baruch Siach <baruch@tkos.co.il>
11038
11039 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11040
14e361d7
PA
110412014-01-22 Pedro Alves <palves@redhat.com>
11042
11043 * xtensa-config.c: Include defs.h.
11044
46bbb3ed
JB
110452014-01-22 Joel Brobecker <brobecker@adacore.com>
11046
11047 * common/common-utils.h: Add "ARI:" comment beside __func__
11048 reference.
11049
3a80edfc
JB
110502014-01-22 Joel Brobecker <brobecker@adacore.com>
11051
11052 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11053 documentation a bit.
11054
4869db5e
RM
110552014-01-21 Roland McGrath <mcgrathr@google.com>
11056
11057 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11058 * configure: Regenerate.
11059 * aclocal.m4: Regenerate.
11060 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11061 New substituted variables.
11062 (install-strip): New target.
11063 (INSTALL_SCRIPT): New substituted variable.
11064 (FLAGS_TO_PASS): Add it.
11065 (install-only): Use $(INSTALL_SCRIPT) rather than
11066 $(INSTALL_PROGRAM) for gcore.
11067
9ea4267d
TT
110682014-01-20 Tom Tromey <tromey@redhat.com>
11069
11070 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11071 together.
11072
1f2bdf09
TT
110732014-01-20 Tom Tromey <tromey@redhat.com>
11074
11075 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11076 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11077 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11078 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11079 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11080 (struct cmd_list_element) <flags>: Remove.
11081 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11082 doc_allocated>: New fields.
11083 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11084 bitfields.
11085 * maint.c (maintenance_do_deprecate): Update.
11086 * top.c (execute_command): Update.
11087
e671835b
BS
110882014-01-20 Baruch Siach <baruch@tkos.co.il>
11089
11090 * xtensa-linux-nat.c: Include asm/ptrace.h.
11091
50367cd2
IB
110922014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11093
11094 * Makefile.in (SFILES): Add d-support.c.
11095 (COMMON_OBS): Add d-support.o.
11096 * d-lang.h (d_parse_symbol): Add comment, now defined in
11097 d-support.c.
11098 * d-lang.c (parse_call_convention)
11099 (parse_attributes, parse_function_types)
11100 (parse_function_args, parse_type, parse_identifier)
11101 (call_convention_p, d_parse_symbol): Move functions to ...
11102 * d-support.c: ... New file.
11103
ec9f644a
IB
111042014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11105
11106 * d-lang.h (d_parse_symbol): Add declaration.
11107 * d-lang.c (extract_identifiers)
11108 (extract_type_info): Remove functions.
11109 (parse_call_convention, parse_attributes)
11110 (parse_function_types, parse_function_args)
11111 (parse_type, parse_identifier, call_convention_p)
11112 (d_parse_symbol): New functions.
11113 (d_demangle): Use d_parse_symbol to demangle D symbols.
11114
94b1b47e
IB
111152014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11116
11117 * d-lang.h (struct builtin_d_type): New data type.
11118 (builtin_d_type): Add declaration.
11119 * d-lang.c (d_language_arch_info, build_d_types)
11120 (builtin_d_type): New functions.
11121 (enum d_primitive_types): New data type.
11122 (d_language_defn): Change c_language_arch_info to
11123 d_language_arch_info.
11124 (d_type_data): New static variable.
11125 (_initialize_d_language): Initialize d_type_data.
11126
63778547
IB
111272014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11128
11129 * d-lang.h (d_main_name): Add declaration.
11130 * d-lang.c (d_main_name): New function.
11131 * symtab.c (find_main_name): Add call to d_main_name.
11132
3271ba66
IB
111332014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11134
11135 * d-lang.c (d_language_defn): Change macro_expansion_c to
11136 macro_expansion_no.
11137
d36b3012
IB
111382014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11139
11140 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11141
c90a6fb7
SDJ
111422014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11143
11144 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11145 gdb_exception" declaration.
11146 * remote.c (getpkt_or_notif_sane): Likewise.
11147
749234e5
DE
111482014-01-17 Doug Evans <dje@google.com>
11149
11150 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11151 function, contents of dirnames_to_char_ptr_vec_append moved here.
11152 (delim_string_to_char_ptr_vec): New function.
11153 (dirnames_to_char_ptr_vec_append): Rewrite.
11154 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11155
df049a58
DE
111562014-01-17 Doug Evans <dje@google.com>
11157
11158 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11159 and moved here ...
11160 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11161 #include "common-utils.h".
11162 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11163 * common/vec.h (VEC_ASSERT_PASS): Update.
11164 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11165 (MACH_CHECK_ERROR): Update.
11166
69f97648
SM
111672014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11168
11169 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11170 comments.
11171 * gdbarch.h: Regenerate.
11172
98b1cfdc
TT
111732014-01-16 Tom Tromey <tromey@redhat.com>
11174
11175 * value.c (struct value) <regnum>: Move earlier.
11176
77a19445
TT
111772014-01-16 Tom Tromey <tromey@redhat.com>
11178
11179 * remote.c (extended_remote_create_inferior): Rename from
11180 extended_remote_create_inferior_1. Add "ops" argument. Remove
11181 old implementation.
11182
62261490
PA
111832014-01-16 Pedro Alves <palves@redhat.com>
11184
11185 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11186 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11187 the backchain.
11188
4d65956b
DE
111892014-01-16 Doug Evans <dje@google.com>
11190
11191 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11192
52834460
MM
111932014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11194
11195 * btrace.h (btrace_thread_flag): New.
11196 (struct btrace_thread_info) <flags>: New.
11197 * record-btrace.c (record_btrace_resume_thread)
11198 (record_btrace_find_thread_to_move, btrace_step_no_history)
11199 (btrace_step_stopped, record_btrace_start_replaying)
11200 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11201 (record_btrace_find_resume_thread): New.
11202 (record_btrace_resume, record_btrace_wait): Extend.
11203 (record_btrace_can_execute_reverse): New.
11204 (record_btrace_open): Fail in non-stop mode.
11205 (record_btrace_set_replay): Split into this, ...
11206 (record_btrace_stop_replaying): ... this, ...
11207 (record_btrace_clear_histories): ... and this.
11208 (init_record_btrace_ops): Init to_can_execute_reverse.
11209 * NEWS: Announce it.
11210
118e6252
MM
112112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11212
11213 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11214 (forward_target_decr_pc_after_break)
11215 (target_decr_pc_after_break): New.
11216 * target.c (forward_target_decr_pc_after_break)
11217 (target_decr_pc_after_break): New.
11218 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11219 instead of gdbarch_decr_pc_after_break.
11220 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11221 instead of gdbarch_decr_pc_after_break.
11222 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11223 instead of gdbarch_decr_pc_after_break.
11224 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11225 instead of gdbarch_decr_pc_after_break.
11226 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11227 instead of gdbarch_decr_pc_after_break.
11228 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11229 instead of gdbarch_decr_pc_after_break.
11230
6e07b1d2
MM
112312014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11232
11233 * btrace.c: Include regcache.h.
11234 (btrace_add_pc): New.
11235 (btrace_enable): Call btrace_add_pc.
11236 (btrace_is_empty): New.
11237 * btrace.h (btrace_is_empty): New.
11238 * record-btrace.c (require_btrace, record_btrace_info): Call
11239 btrace_is_empty.
11240
969c39fb
MM
112412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11242
11243 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11244 Support delta reads.
11245 (linux_disable_btrace): Change return type.
11246 * common/linux-btrace.h (linux_read_btrace): Change parameters
11247 and return type to allow error reporting. Update users.
11248 (linux_disable_btrace): Change return type. Update users.
11249 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11250 New.
11251 (btrace_error): New.
11252 (btrace_block) <begin>: Comment on BEGIN == 0.
11253 * btrace.c (btrace_compute_ftrace): Start from the end of
11254 the current trace.
11255 (btrace_stitch_trace, btrace_clear_history): New.
11256 (btrace_fetch): Read delta trace, return if replaying.
11257 (btrace_clear): Move clear history code to btrace_clear_history.
11258 (parse_xml_btrace): Throw an error if parsing failed.
11259 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11260 and return type to allow error reporting.
11261 (target_read_btrace): Change parameters and return type to allow
11262 error reporting.
11263 * target.c (target_read_btrace): Update.
11264 * remote.c (remote_read_btrace): Support delta reads. Pass
11265 errors on.
11266 * NEWS: Announce it.
11267
0b722aec
MM
112682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11269
11270 * record.h (record_btrace_frame_unwind)
11271 (record_btrace_tailcall_frame_unwind): New declarations.
11272 * dwarf2-frame: Include record.h
11273 (dwarf2_frame_cfa): Throw an error for btrace frames.
11274 * record-btrace.c: Include hashtab.h.
11275 (btrace_get_bfun_name): New.
11276 (btrace_call_history): Call btrace_get_bfun_name.
11277 (struct btrace_frame_cache): New.
11278 (bfcache): New.
11279 (bfcache_hash, bfcache_eq, bfcache_new): New.
11280 (btrace_get_frame_function): New.
11281 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11282 (record_btrace_frame_this_id): Compute own id.
11283 (record_btrace_frame_prev_register): Provide PC, throw_error
11284 for all other registers.
11285 (record_btrace_frame_sniffer): Detect btrace frames.
11286 (record_btrace_tailcall_frame_sniffer): New.
11287 (record_btrace_frame_dealloc_cache): New.
11288 (record_btrace_frame_unwind): Add new functions.
11289 (record_btrace_tailcall_frame_unwind): New.
11290 (_initialize_record_btrace): Allocate cache.
11291 * btrace.c (btrace_clear): Call reinit_frame_cache.
11292 * NEWS: Announce it.
11293
066ce621
MM
112942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11295
11296 * record-btrace.c (record_btrace_set_replay)
11297 (record_btrace_goto_begin, record_btrace_goto_end)
11298 (record_btrace_goto): New.
11299 (init_record_btrace_ops): Initialize them.
11300 * NEWS: Announce it.
11301
e2887aa3
MM
113022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11303
11304 * record-btrace.c (record_btrace_find_new_threads)
11305 (record_btrace_thread_alive): New.
11306 (init_record_btrace_ops): Initialize to_find_new_threads and
11307 to_thread_alive.
11308
b2f4cfde
MM
113092014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11310
11311 * record-btrace.c (record_btrace_resume): New.
11312 (record_btrace_wait): New.
11313 (init_record_btrace_ops): Initialize to_wait and to_resume.
11314
633785ff
MM
113152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11316
11317 * record-btrace.c (record_btrace_xfer_partial)
11318 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11319 (record_btrace_allow_memory_access): New.
11320 (init_record_btrace_ops): Initialize new methods.
11321 * target.c (raw_memory_xfer_partial): Bail out if target reports
11322 that this memory is not available.
11323
3db08215
MM
113242014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11325
11326 * target.h (target_ops) <to_insert_breakpoint>
11327 <to_remove_breakpoint>: Add target_ops parameter.
11328 (forward_target_insert_breakpoint): New.
11329 (forward_target_remove_breakpoint): New.
11330 (memory_remove_breakpoint, memory_insert_breakpoint):
11331 Add target_ops parameter.
11332 * target.c (target_insert_breakpoint): Split into this and ...
11333 (forward_target_insert_breakpoint): ... this.
11334 (target_remove_breakpoint): Split into this and ...
11335 (forward_target_remove_breakpoint): ... this.
11336 (debug_to_insert_breakpoint): Add target_ops parameter.
11337 Call forward_target_insert_breakpoint.
11338 (debug_to_remove_breakpoint): Add target_ops parameter.
11339 Call forward_target_remove_breakpoint.
11340 (update_current_target): Do not inherit or default to_insert_breakpoint
11341 and to_remove_breakpoint.
11342 * corelow.c (ignore): Add target_ops parameter.
11343 * exec.c (ignore): Add target_ops parameter.
11344 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11345 Add target_ops parameter.
11346 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11347 Add target_ops parameter.
11348 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11349 Add target_ops parameter.
11350 * record-full.c (record_full_beneath_to_insert_breakpoint)
11351 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11352 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11353 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11354 (record_full_core_remove_breakpoint): Add target_ops parameter.
11355 Update users.
11356 (record_full_beneath_to_insert_breakpoint_ops)
11357 (record_full_beneath_to_remove_breakpoint_ops)
11358 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11359 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11360 tmp_to_remove_breakpoint_ops,
11361 record_full_beneath_to_insert_breakpoint_ops, and
11362 record_full_beneath_to_remove_breakpoint_ops.
11363 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11364 (m32r_remove_breakpoint): Add target_ops parameter.
11365 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11366 Add target_ops parameter.
11367 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11368 Add target_ops parameter.
11369
cecac1ab
MM
113702014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11371 Markus Metzger <markus.t.metzger@intel.com>
11372
11373 * record-btrace.c: Include frame-unwind.h.
11374 (record_btrace_frame_unwind_stop_reason)
11375 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11376 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11377 New.
11378 (init_record_btrace_ops): Install it.
11379
824344ca
MM
113802014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11381
11382 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11383 get_prev_frame_1.
11384
32261e52
MM
113852014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11386
11387 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11388 earlier.
11389
ea001bdc
MM
113902014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11391
11392 * frame-unwind.c: Include target.h.
11393 (frame_unwind_try_unwinder): New function with code from ...
11394 (frame_unwind_find_by_frame): ... here. New variable
11395 unwinder_from_target, call also target_get_unwinder)
11396 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11397 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11398 * target.h (struct target_ops): New fields to_get_unwinder and
11399 to_get_tailcall_unwinder.
11400 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11401
1f3ef581
MM
114022014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11403
11404 * record-btrace.c (record_btrace_fetch_registers)
11405 (record_btrace_store_registers)
11406 (record_btrace_to_prepare_to_store): New.
11407 (init_record_btrace_ops): Add the above.
11408
f32dbf8c
MM
114092014-01-16 Tom Tromey <tromey@redhat.com>
11410
11411 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11412 * target.h (struct target_ops) <to_prepare_to_store>: Add
11413 argument.
11414 (target_prepare_to_store): Add argument.
11415 * target.c (debug_to_prepare_to_store): Add argument.
11416 (update_current_target): Update.
11417 * remote.c (remote_prepare_to_store): Add 'self' argument.
11418 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11419 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11420 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11421 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11422 argument.
11423 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11424 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11425 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11426 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11427 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11428
07bbe694
MM
114292014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11430
11431 * btrace.h (replay) <replay>: New.
11432 (btrace_is_replaying): New.
11433 * btrace.c (btrace_clear): Free replay iterator.
11434 (btrace_is_replaying): New.
11435 * record-btrace.c (record_btrace_is_replaying): New.
11436 (record_btrace_info): Print insn number if replaying.
11437 (record_btrace_insn_history): Start at replay position.
11438 (record_btrace_call_history): Start at replay position.
11439 (init_record_btrace_ops): Init to_record_is_replaying.
11440
0688d04e
MM
114412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11442
11443 * record-btrace.c (record_btrace_insn_history_range): Include
11444 end.
11445 (record_btrace_insn_history_from): Adjust range.
11446 (record_btrace_call_history_range): Include
11447 end.
11448 (record_btrace_call_history_from): Adjust range.
11449 * NEWS: Announce changes.
11450
8710b709
MM
114512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11452
11453 * record.h (enum record_print_flag)
11454 <record_print_indent_calls>: New.
11455 * record.c (get_call_history_modifiers): Recognize /c modifier.
11456 (_initialize_record): Document /c modifier.
11457 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11458 Reorder fields. Optionally indent the function name. Update
11459 all users.
11460 * NEWS: Announce changes.
11461
d0fa7535
MM
114622014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11463
11464 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11465
5de9129b
MM
114662014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11467
11468 * btrace.c (ftrace_new_function): Start counting at one.
11469 * record-btrace.c (record_btrace_info): Adjust number of calls
11470 and insns.
11471 * NEWS: Announce it.
11472
7acbe133
MM
114732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11474
11475 * record-btrace.c (btrace_call_history_insn_range): Print
11476 insn range as [begin, end].
11477
23a7fe75
MM
114782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11479
11480 * btrace.h (struct btrace_func_link): New.
11481 (enum btrace_function_flag): New.
11482 (struct btrace_inst): Rename to ...
11483 (struct btrace_insn): ...this. Update all users.
11484 (struct btrace_func) <ibegin, iend>: Remove.
11485 (struct btrace_func_link): New.
11486 (struct btrace_func): Rename to ...
11487 (struct btrace_function): ...this. Update all users.
11488 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11489 (number, level, flags>: New.
11490 (struct btrace_insn_iterator): Rename to ...
11491 (struct btrace_insn_history): ...this.
11492 Update all users.
11493 (struct btrace_insn_iterator, btrace_call_iterator): New.
11494 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11495 (struct btrace_target_info) <begin, end, level>
11496 <insn_history, call_history>: New.
11497 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11498 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11499 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11500 (btrace_call_number, btrace_call_begin, btrace_call_end)
11501 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11502 (btrace_find_function_by_number, btrace_set_insn_history)
11503 (btrace_set_call_history): New.
11504 * btrace.c (btrace_init_insn_iterator)
11505 (btrace_init_func_iterator, compute_itrace): Remove.
11506 (ftrace_print_function_name, ftrace_print_filename)
11507 (ftrace_skip_file): Change
11508 parameter to const.
11509 (ftrace_init_func): Remove.
11510 (ftrace_debug): Use new btrace_function fields.
11511 (ftrace_function_switched): Also consider gaining and
11512 losing symbol information).
11513 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11514 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11515 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11516 New.
11517 (ftrace_new_function): Move. Remove debug print.
11518 (ftrace_update_lines, ftrace_update_insns): New.
11519 (ftrace_update_function): Check for call, ret, and jump.
11520 (compute_ftrace): Renamed to ...
11521 (btrace_compute_ftrace): ...this. Rewritten to compute call
11522 stack.
11523 (btrace_fetch, btrace_clear): Updated.
11524 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11525 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11526 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11527 (btrace_call_number, btrace_call_begin, btrace_call_end)
11528 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11529 (btrace_find_function_by_number, btrace_set_insn_history)
11530 (btrace_set_call_history): New.
11531 * record-btrace.c (require_btrace): Use new btrace thread
11532 info fields.
11533 (record_btrace_info, btrace_insn_history)
11534 (record_btrace_insn_history, record_btrace_insn_history_range):
11535 Use new btrace thread info fields and new iterator.
11536 (btrace_func_history_src_line): Rename to ...
11537 (btrace_call_history_src_line): ...this. Use new btrace
11538 thread info fields.
11539 (btrace_func_history): Rename to ...
11540 (btrace_call_history): ...this. Use new btrace thread info
11541 fields and new iterator.
11542 (record_btrace_call_history, record_btrace_call_history_range):
11543 Use new btrace thread info fields and new iterator.
11544
8372a7cb
MM
115452014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11546
11547 * frame.h (frame_id_build_unavailable_stack_special): New.
11548 * frame.c (frame_id_build_unavailable_stack_special): New.
11549
c2170eef
MM
115502014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11551
11552 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11553 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11554 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11555 to gdbarch.
11556 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11557 (i386_insn_is_jump, i386_jmp_p): New.
11558 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11559 insn_is_jump to gdbarch.
11560 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11561 * gdbarch.h: Regenerated.
11562 * gdbarch.c: Regenerated.
11563 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11564 (default_insn_is_jump): New.
11565 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11566 (default_insn_is_jump): New.
11567
864089d2
MM
115682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11569
11570 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11571 Change to ...
11572 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11573 (btrace_read_type) <btrace_read_new>: Change to ...
11574 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11575
ed9edfb5
MM
115762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11577
11578 * common/linux-btrace.c (linux_read_btrace): Free trace from
11579 previous iteration.
11580
fbcbc3fd
DE
115812014-01-15 Doug Evans <dje@google.com>
11582
11583 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11584 uint32_t.
11585
3d548a53
TT
115862014-01-15 Tom Tromey <tromey@redhat.com>
11587
11588 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11589 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11590 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11591 (set_objfile_main_name): New function.
11592 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11593 language_of_main>: New fields.
11594 (set_objfile_main_name): Declare.
11595 * symtab.c (find_main_name): Loop over objfiles to find the main
11596 name and language.
11597 (set_main_name): Now static.
11598 (get_main_info): Add comment.
11599 * symtab.h (set_main_name): Don't declare.
11600
32ac0d11
TT
116012014-01-15 Tom Tromey <tromey@redhat.com>
11602
11603 * symtab.c (main_progspace_key): New global.
11604 (struct main_info): New.
11605 (name_of_main, language_of_main): Remove.
11606 (get_main_info, main_info_cleanup): New function.
11607 (set_main_name, main_name, main_language): Use get_main_info.
11608 (_initialize_symtab): Initialize main_progspace_key.
11609
9e6c82ad
TT
116102014-01-15 Tom Tromey <tromey@redhat.com>
11611
11612 * dbxread.c (process_one_symbol): Update.
11613 * dwarf2read.c (read_partial_die): Update.
11614 * symfile.c (set_initial_language): Call main_language.
11615 * symtab.c (language_of_main): Now static.
11616 (set_main_name): Add 'lang' parameter.
11617 (find_main_name): Update.
11618 (main_language): New function.
11619 (symtab_observer_executable_changed): Update.
11620 * symtab.h (set_main_name): Update.
11621 (language_of_main): Remove.
11622 (main_language): Declare.
11623
6ef55de7
TT
116242014-01-15 Tom Tromey <tromey@redhat.com>
11625
11626 * symfile.c (init_entry_point_info): Use new "initialized" field.
11627 Update.
11628 * objfiles.h (struct entry_point) <initialized>: New field.
11629 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11630 (struct objfile) <ei>: ...here. Remove.
11631 * objfiles.c (entry_point_address_query): Update.
11632
53eddfa6
TT
116332014-01-15 Tom Tromey <tromey@redhat.com>
11634
11635 * objfiles.c (entry_point_address_query): Relocate entry point
11636 address.
11637 (objfile_relocate1): Do not relocate entry point address.
11638 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11639 <the_bfd_section_index>: New field.
11640 * symfile.c (init_entry_point_info): Find the entry point's
11641 section.
11642
d56e56aa
TT
116432014-01-15 Tom Tromey <tromey@redhat.com>
11644
11645 * solib-frv.c (enable_break): Use entry_point_address_query.
11646
33a97bbe
OJ
116472014-01-15 Omair Javaid <omair.javaid@linaro.org>
11648
11649 * NEWS: Add note on improved process record-replay on
11650 arm*-linux* targets.
11651
c6ec2b30
OJ
116522014-01-15 Omair Javaid <omair.javaid@linaro.org>
11653
11654 * arm-tdep.c (enum arm_record_result): New enum.
11655 (arm_record_unsupported_insn): New function.
11656 (arm_record_coproc_data_proc): Removed.
11657 (thumb2_record_ld_st_multiple): New function.
11658 (thumb2_record_ld_st_dual_ex_tbb): New function.
11659 (thumb2_record_data_proc_sreg_mimm): New function.
11660 (thumb2_record_ps_dest_generic): New function.
11661 (thumb2_record_branch_misc_cntrl): New function.
11662 (thumb2_record_str_single_data): New function.
11663 (thumb2_record_ld_mem_hints): New function.
11664 (thumb2_record_ld_word): New function.
11665 (thumb2_record_lmul_lmla_div): New function.
11666 (thumb2_record_decode_insn_handler): New function.
11667 (decode_insn): Add thumb32 instruction handlers.
11668
97dfe206
OJ
116692014-01-15 Omair Javaid <omair.javaid@linaro.org>
11670
11671 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11672 (struct arm_linux_record_tdep): Declare.
11673 (arm_canonicalize_syscall): New function.
11674 (arm_all_but_pc_registers_record): New function.
11675 (arm_linux_syscall_record): New function.
11676 (arm_linux_init_abi): Add syscall recording constructs.
11677 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11678 decoding. (arm_record_coproc_data_proc): Update arm syscall
11679 decoding.
11680 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11681 <arm_syscall_record>: New field.
11682 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11683 gdb_target_obs.
11684
9904a494
OJ
116852014-01-15 Omair Javaid <omair.javaid@linaro.org>
11686
11687 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11688 register for push instruction recording.
11689
f969241e
OJ
116902014-01-15 Omair Javaid <omair.javaid@linaro.org>
11691
11692 * arm-tdep.c (thumb_record_misc): Update to correct logical
11693 error while recording ldm, ldmia and pop instructions.
11694
bfbbec00
OJ
116952014-01-15 Omair Javaid <omair.javaid@linaro.org>
11696
11697 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11698
e40adcc9
PA
116992014-01-15 Pedro Alves <palves@redhat.com>
11700
11701 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11702 (go32_resume, go32_fetch_registers, store_register)
11703 (go32_store_registers, go32_prepare_to_store)
11704 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11705 (go32_create_inferior, go32_can_run, go32_terminal_init)
11706 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11707 declarations.
11708
b0a16e66
TT
117092014-01-15 Tom Tromey <tromey@redhat.com>
11710
11711 * target.h (async_callback_ftype): New typedef.
11712 (struct target_ops) <to_async>: Use it.
11713
bf7105a4
JB
117142014-01-15 Joel Brobecker <brobecker@adacore.com>
11715
11716 * python/py-value.c (get_field_type): Remove unnecessary curly
11717 braces for single-statement if block.
11718
a8f35c2e
JB
117192014-01-15 Joel Brobecker <brobecker@adacore.com>
11720
11721 * python/py-type.c (convert_field): Add missing empty line
11722 after declarations.
11723
bb4142cf
DE
117242014-01-14 Doug Evans <dje@google.com>
11725
11726 * symfile.h (expand_symtabs_matching): Renamed from
11727 expand_partial_symbol_names. Update prototype.
11728 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11729 * symfile.c (expand_symtabs_matching): Renamed from
11730 expand_partial_symbol_names. New args file_matcher, kind.
11731 Rename arg fun to symbol_matcher.
11732 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11733 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11734 ada_expand_partial_symbol_name.
11735 (ada_make_symbol_completion_list): Update to call
11736 expand_symtabs_matching.
11737 (ada_add_global_exceptions): Call expand_symtabs_matching.
11738 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11739 call map_symbol_filenames.
11740 * symtab.c (sources_info): Update to call map_symbol_filenames.
11741 (search_symbols): Call expand_symtabs_matching.
11742 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11743 (default_make_symbol_completion_list_break_on): Update to call
11744 expand_symtabs_matching.
11745 (make_source_files_completion_list): Update to call
11746 map_symbol_filenames.
11747
206f2a57
DE
117482014-01-14 Doug Evans <dje@google.com>
11749
11750 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11751 (expand_symtabs_symbol_matcher_ftype): New typedef.
11752 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11753 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11754 * symfile.c (expand_partial_symbol_names): Update to use
11755 expand_symtabs_symbol_matcher_ftype.
11756 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11757 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11758 Arg name_matcher renamed to symbol_matcher.
11759 * psymtab.c (recursively_search_psymtabs): Update to use
11760 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11761 sym_matcher.
11762 (expand_symtabs_matching_via_partial): Update to use
11763 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11764 Arg name_matcher renamed to symbol_matcher.
11765
540c2971
DE
117662014-01-14 Doug Evans <dje@google.com>
11767
11768 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11769 (map_partial_symbol_filenames): Ditto.
11770 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11771 (map_partial_symbol_filenames): Ditto.
11772 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11773 (map_partial_symbol_filenames): Ditto.
11774 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11775 (map_partial_symbol_filenames): Ditto.
11776 * symtab.c: Delete #include "psymtab.h".
11777
8213266a
PA
117782014-01-14 Pedro Alves <palves@redhat.com>
11779 Tom Tromey <tromey@redhat.com>
11780
11781 * infrun.c (use_displaced_stepping): Use find_record_target
11782 instead of RECORD_IS_USED.
11783 (adjust_pc_after_break): Use record_full_is_used instead of
11784 RECORD_IS_USED.
11785 * record-btrace.c (record_btrace_open): Call record_preopen
11786 instead of checking RECORD_IS_USED.
11787 * record-full.c (record_full_shortname)
11788 (record_full_core_shortname): New globals.
11789 (record_full_is_used): New function.
11790 (find_full_open): Call record_preopen instead of checking
11791 RECORD_IS_USED.
11792 (init_record_full_ops): Set the target's shortname to
11793 record_full_shortname.
11794 (init_record_full_core_ops): Set the target's shortname to
11795 record_full_core_shortname.
11796 * record-full.h (record_full_is_used): Declare.
11797 * record.c (find_record_target): Make extern.
11798 (record_preopen): New function.
11799 * record.h (RECORD_IS_USED): Delete macro.
11800 (find_record_target, record_preopen): Declare functions.
11801
7ec1862d
YQ
118022014-01-14 Yao Qi <yao@codesourcery.com>
11803
11804 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11805 'len''s type to ULONGEST.
11806 (core_xfer_shared_libraries_aix): Likewise.
11807 * gdbarch.c, gdbarch.h: Regenerated.
11808 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11809 Change type of 'len' to ULONGEST.
11810 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11811 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11812
dea80a27
YQ
118132014-01-14 Yao Qi <yao@codesourcery.com>
11814
11815 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11816 type of 'len' to ULONGEST.
11817 (linux_xfer_osdata_processgroups): Likewise.
11818 (linux_xfer_osdata_threads): Likewise.
11819 (linux_xfer_osdata_fds): Likewise.
11820 (linux_xfer_osdata_isockets): Likewise.
11821 (linux_xfer_osdata_shm): Likewise.
11822 (linux_xfer_osdata_sem): Likewise.
11823 (linux_xfer_osdata_msg): Likewise.
11824 (linux_common_xfer_osdata): Likewise.
11825 (struct osdata_type) <getter>: Likewise.
11826 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11827 the declaration.
11828
b55e14c7
YQ
118292014-01-14 Yao Qi <yao@codesourcery.com>
11830
11831 * target.h (target_xfer_partial_ftype): Update.
11832 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11833 ULONGEST.
11834 * aix-thread.c (aix_thread_xfer_partial): Change type of
11835 argument 'len' to ULONGEST.
11836 * auxv.c (procfs_xfer_auxv): Likewise.
11837 (ld_so_xfer_auxv): Likewise.
11838 (memory_xfer_auxv): Likewise.
11839 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11840 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11841 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11842 * corelow.c (core_xfer_partial): Likewise.
11843 * ctf.c (ctf_xfer_partial): Likewise.
11844 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11845 '%u'.
11846 (darwin_read_dyld_info): Likewise.
11847 (darwin_xfer_partial): Likewise.
11848 * exec.c (section_table_xfer_memory_partial): Likewise.
11849 (exec_xfer_partial): Likewise.
11850 * exec.h (section_table_xfer_memory_partial): Update
11851 declaration.
11852 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11853 instead of plongest.
11854 (gnu_xfer_partial): Likewise.
11855 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11856 (ia64_hpux_xfer_solib_got): Likewise.
11857 (ia64_hpux_xfer_partial): Likewise.
11858 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11859 * inf-ptrace.c (inf_ptrace_xfer_partial):
11860 * inf-ttrace.c (inf_ttrace_xfer_partial):
11861 * linux-nat.c (linux_xfer_siginfo): Likewise.
11862 (linux_nat_xfer_partial): Likewise.
11863 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11864 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11865 * monitor.c (monitor_xfer_memory): Likewise.
11866 (monitor_xfer_partial): Likewise.
11867 * procfs.c (procfs_xfer_partial): Likewise.
11868 * record-full.c (record_full_xfer_partial): Likewise.
11869 (record_full_core_xfer_partial): Likewise.
11870 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11871 instead of plongest.
11872 (gdbsim_xfer_partial): Likewise.
11873 * remote.c (remote_xfer_partial): Likewise.
11874 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11875 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11876 declaration.
11877 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11878 (rs6000_xfer_shared_libraries): Likewise.
11879 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11880 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11881 (sparc_xfer_partial): Likewise.
11882 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11883 (spu_xfer_partial): Likewise.
11884 * spu-multiarch.c (spu_xfer_partial): Likewise.
11885 * target.c (target_read_live_memory): Likewise.
11886 (memory_xfer_live_readonly_partial): Likewise.
11887 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11888 (target_xfer_partial, default_xfer_partial): Likewise.
11889 (current_xfer_partial): Likewise.
11890 * tracepoint.c (tfile_xfer_partial): Likewise.
11891 * windows-nat.c (windows_xfer_memory): Likewise. Call
11892 pulongest instead of plongest.
11893 (windows_xfer_partial): Likewise.
11894 (windows_xfer_shared_libraries): Likewise.
11895
05804640
YQ
118962014-01-14 Yao Qi <yao@codesourcery.com>
11897
11898 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11899 target_xfer_partial_ftype.
11900
b5b08fb4
SC
119012014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11902
11903 PR python/15464
11904 PR python/16113
11905 * valops.c (value_struct_elt_bitpos): New function
11906 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11907 object to 'None' if the field name is an empty string ("").
11908 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11909 attribute to look for a field when 'name' is 'None'.
11910 (get_field_type): New function
11911
13aaf454
DE
119122014-01-13 Doug Evans <dje@google.com>
11913
11914 PR symtab/16426
11915 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11916 (try_open_dwop_file): Ditto.
11917 * gdb_bfd.c: #include "vec.h".
11918 (bfdp): New typedef.
11919 (struct gdb_bfd_data): New member included_bfds.
11920 (gdb_bfd_unref): Unref all included bfds.
11921 (gdb_bfd_record_inclusion): New function.
11922 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11923
c2cec97c
TT
119242014-01-13 Tom Tromey <tromey@redhat.com>
11925
11926 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11927
78e5999d
TT
119282014-01-13 Tom Tromey <tromey@redhat.com>
11929
11930 * defs.h (use_windows): Remove.
11931 * gdb.c (main): Update.
11932 * main.c (captured_main, gdb_main): Update.
11933 * main.h (struct captured_main_args) <use_windows>: Remove.
11934 * top.c (use_windows): Remove.
11935
f2052bbe
TT
119362014-01-13 Tom Tromey <tromey@redhat.com>
11937
11938 * defs.h (deprecated_flush_hook): Remove.
11939
fde4f8ed
JK
119402014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11941
11942 PR threads/16216
11943 * linux-thread-db.c (try_thread_db_load): Add parameter
11944 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11945 (try_thread_db_load_from_pdir_1): Move it there from here.
11946 (try_thread_db_load_from_sdir): Update caller.
11947 (try_thread_db_load_from_dir): Move it there from here.
11948
bdf61915
PP
119492014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11950
11951 * regformats/regdat.sh: Always rewrite the register file.
11952
f71e1a8d
PA
119532014-01-13 Pedro Alves <palves@redhat.com>
11954
11955 * Makefile.in (CHECK_HEADERS): New variable.
11956 (check-headers:): New rule.
11957
42c85435
TT
119582014-01-13 Tom Tromey <tromey@redhat.com>
11959
11960 * cli/cli-setshow.c (do_set_command): Update.
11961 * defs.h (deprecated_set_hook): Remove.
11962 * top.c (deprecated_set_hook): Remove.
11963
f8de5129
PA
119642014-01-13 Pedro Alves <palves@redhat.com>
11965
11966 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
11967 the tracepoint if the PC is a pseudo-register.
11968
fc270c35
TT
119692014-01-13 Tom Tromey <tromey@redhat.com>
11970
11971 * defs.h (XCALLOC): Remove.
11972 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
11973 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
11974 * dwarf2loc.c (allocate_piece_closure): Likewise.
11975 * elfread.c (elf_symfile_segments): Likewise.
11976 (elf_symfile_segments): Likewise.
11977 * gdbtypes.c (copy_type_recursive): Likewise.
11978 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
11979 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
11980 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
11981 XCALLOC.
11982 * mt-tdep.c (mt_gdbarch_init): Likewise.
11983 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
11984 XCALLOC.
11985 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
11986 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
11987 * registry.c (registry_alloc_data): Likewise.
11988 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
11989 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
11990 * serial.c (serial_fdopen_ops): Likewise.
11991 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
11992 XCALLOC.
11993 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
11994 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
11995 not XCALLOC.
11996
70ba0933
TT
119972014-01-13 Tom Tromey <tromey@redhat.com>
11998
11999 * defs.h (XMALLOC): Remove.
12000 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12001 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12002 * cli-out.c (struct ui_out *): Likewise.
12003 * cli/cli-dump.c (add_dump_command): Likewise.
12004 (add_dump_command): Likewise.
12005 * complaints.c (get_complaints): Likewise.
12006 (find_complaint): Likewise.
12007 * dwarf2-frame.c (execute_cfa_program): Likewise.
12008 * dwarf2read.c (abbrev_table_read_table): Likewise.
12009 * gdbarch.sh: Likewise.
12010 * gdbarch.c: Rebuild.
12011 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12012 * interps.c (interp_new): Likewise.
12013 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12014 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12015 * mi/mi-console.c (mi_console_file_new): Likewise.
12016 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12017 * mi/mi-out.c (mi_out_new): Likewise.
12018 * mi/mi-parse.c (mi_parse): Likewise.
12019 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12020 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12021 * observer.c (xalloc_observer_list_node): Likewise.
12022 * regcache.c (regcache_xmalloc_1): Likewise.
12023 * reggroups.c (reggroup_new): Likewise.
12024 (_initialize_reggroup): Likewise.
12025 * registry.c (register_data_with_cleanup): Likewise.
12026 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12027 * ser-base.c (serial_ttystate): Likewise.
12028 * ser-mingw.c (make_pipe_state): Likewise.
12029 * ser-pipe.c (pipe_open): Likewise.
12030 * serial.c (serial_open): Likewise.
12031 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12032 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12033 (tui_alloc_win_info): Likewise.
12034 (tui_add_content_elements): Likewise.
12035 * tui/tui-file.c (tui_file_new): Likewise.
12036 * tui/tui-out.c (tui_out_new): Likewise.
12037 * ui-file.c (mem_file_new): Likewise.
12038 * ui-out.c (push_level): Likewise.
12039 (make_cleanup_ui_out_end): Likewise.
12040 (append_header_to_list): Likewise.
12041 (ui_out_new): Likewise.
12042 * user-regs.c (user_reg_add_builtin): Likewise.
12043
41bf6aca
TT
120442014-01-13 Tom Tromey <tromey@redhat.com>
12045
12046 * defs.h (XZALLOC): Remove.
12047 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12048 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12049 (get_ada_tasks_inferior_data): Likewise.
12050 * auto-load.c (get_auto_load_pspace_data): Likewise.
12051 * auxv.c (get_auxv_inferior_data): Likewise.
12052 * bfd-target.c (target_bfd_reopen): Likewise.
12053 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12054 (deprecated_insert_raw_breakpoint): Likewise.
12055 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12056 * corelow.c (core_open): Likewise.
12057 * darwin-nat.c (darwin_check_new_threads): Likewise.
12058 (darwin_attach_pid): Likewise.
12059 * dummy-frame.c (dummy_frame_push): Likewise.
12060 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12061 * dwarf2loc.c (allocate_piece_closure): Likewise.
12062 * elfread.c (elf_symfile_segments): Likewise.
12063 * eval.c (ptrmath_type_p): Likewise.
12064 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12065 * gdbtypes.c (alloc_type_arch): Likewise.
12066 (alloc_type_instance): Likewise.
12067 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12068 * inf-child.c (inf_child_can_use_agent): Likewise.
12069 * inflow.c (get_inflow_inferior_data): Likewise.
12070 * infrun.c (save_infcall_suspend_state): Likewise.
12071 * jit.c (jit_reader_load): Likewise.
12072 (get_jit_objfile_data): Likewise.
12073 (get_jit_program_space_data): Likewise.
12074 (jit_object_open_impl): Likewise.
12075 (jit_symtab_open_impl): Likewise.
12076 (jit_block_open_impl): Likewise.
12077 (jit_frame_sniffer): Likewise.
12078 * linux-fork.c (add_fork): Likewise.
12079 * maint.c (make_command_stats_cleanup): Likewise.
12080 * objfiles.c (get_objfile_pspace_data): Likewise.
12081 * opencl-lang.c (struct lval_closure): Likewise.
12082 * osdata.c (osdata_start_osdata): Likewise.
12083 * progspace.c (new_address_space): Likewise.
12084 (add_program_space): Likewise.
12085 * remote-sim.c (get_sim_inferior_data): Likewise.
12086 * sh-tdep.c (sh_gdbarch_init): Likewise.
12087 * skip.c (Ignore): Likewise.
12088 (skip_delete_command): Likewise.
12089 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12090 (library_list_start_library): Likewise.
12091 (solib_aix_current_sos): Likewise.
12092 * solib-darwin.c (get_darwin_info): Likewise.
12093 (darwin_current_sos): Likewise.
12094 * solib-dsbt.c (get_dsbt_info): Likewise.
12095 * solib-ia64-hpux.c (new_so_list): Likewise.
12096 (ia64_hpux_get_solib_linkage_addr): Likewise.
12097 * solib-spu.c (append_ocl_sos): Likewise.
12098 (spu_current_sos): Likewise.
12099 * solib-svr4.c (get_svr4_info): Likewise.
12100 (svr4_keep_data_in_core): Likewise.
12101 (library_list_start_library): Likewise.
12102 (svr4_default_sos): Likewise.
12103 (svr4_read_so_list): Likewise.
12104 * solib-target.c (library_list_start_library): Likewise.
12105 (solib_target_current_sos): Likewise.
12106 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12107 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12108 * symfile.c (default_symfile_segments): Likewise.
12109 * target-descriptions.c (tdesc_data_init): Likewise.
12110 (tdesc_create_reg): Likewise.
12111 (struct tdesc_type *): Likewise.
12112 (tdesc_create_vector): Likewise.
12113 (tdesc_set_struct_size): Likewise.
12114 (struct tdesc_type *): Likewise.
12115 (tdesc_free_feature): Likewise.
12116 (tdesc_create_feature): Likewise.
12117 * windows-nat.c (windows_add_thread): Likewise.
12118 (windows_make_so): Likewise.
12119 * xml-support.c (gdb_xml_body_text): Likewise.
12120 (gdb_xml_create_parser_and_cleanup): Likewise.
12121 (xml_process_xincludes): Likewise.
12122 * xml-syscall.c (allocate_syscalls_info): Likewise.
12123 (syscall_create_syscall_desc): Likewise.
12124
5acfdbae
SDJ
121252014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12126
12127 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12128 function, with code from i386_stap_parse_special_token.
12129 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12130 (i386_stap_parse_special_token): Move code to the two functions
12131 above; simplify it.
12132
0000e5cc
PA
121332014-01-09 Pedro Alves <palves@redhat.com>
12134 Hui Zhu <hui@codesourcery.com>
12135
12136 PR gdb/16101
12137 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12138 bp_err_string. Don't mark the location shlib_disabled if the
12139 error thrown wasn't a generic or memory error. Catch errors
12140 thrown while inserting breakpoints in overlayed code. Output
12141 error message of software breakpoints.
12142 * remote.c (remote_insert_breakpoint): If this breakpoint has
12143 target-side commands but this stub doesn't support Z0 packets,
12144 throw NOT_SUPPORTED_ERROR error.
12145 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12146 * target.h (target_insert_breakpoint): Extend comment.
12147 (target_insert_hw_breakpoint): Add comment.
12148
b7ea362b
PA
121492014-01-08 Pedro Alves <palves@redhat.com>
12150
12151 * remote.c (remote_add_thread): Add threads silently if starting
12152 up.
12153 (remote_notice_new_inferior): If in all-stop, and starting up,
12154 don't call notice_new_inferior.
12155 (get_current_thread): New function, factored out from ...
12156 (add_current_inferior_and_thread): ... this. Adjust.
12157 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12158 found any thread, then select the remote's current thread as GDB's
12159 current thread too.
12160
b7bba001
JB
121612014-01-08 Joel Brobecker <brobecker@adacore.com>
12162
12163 * NEWS: Create a new section for the next release branch.
12164 Rename the section of the current branch, now that it has
12165 been cut.
12166
16dfbded
JB
121672014-01-08 Joel Brobecker <brobecker@adacore.com>
12168
12169 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12170 * version.in: Bump version to 7.7.50.DATE-cvs.
12171
22c90ac1
YQ
121722014-01-08 Yao Qi <yao@codesourcery.com>
12173
12174 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12175 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12176 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12177
d64ad97c
YQ
121782014-01-08 Yao Qi <yao@codesourcery.com>
12179
12180 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12181 return value of bfd_get_filename to symbol_file_add_from_bfd.
12182
f93ba80c
PM
121832014-01-08 Pierre Muller <muller@sourceware.org>
12184
12185 Fix PR16201.
12186 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12187 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12188 to prim_record_mininal_symbol_and_info.
12189 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12190 in call to prim_record_minimal_symbol_and_info.
12191 (read_pe_exported_syms): Set index field of section_data.
12192
a4d9ba85
AP
121932014-01-07 Andrew Pinski <apinski@cavium.com>
12194
12195 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12196 * features/aarch64.c: Regenerate.
12197
1b67eb02
AS
121982014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12199
12200 * target.c (return_null): Define.
12201 (update_current_target): Use it instead of return_zero for
12202 functions that return a pointer.
12203
5e3f4fab
EBM
122042014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12205
12206 * source.c (add_path): Fix check for duplicated paths in the previously
12207 included paths.
12208
e2616788
HK
122092014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12210
12211 * ada-lang.c: Remove duplicated include statements.
12212 * alphabsd-nat.c: Ditto.
12213 * amd64-darwin-tdep.c: Ditto.
12214 * amd64fbsd-nat.c: Ditto.
12215 * auto-load.c: Ditto.
12216 * ax-gdb.c: Ditto.
12217 * breakpoint.c: Ditto.
12218 * dbxread.c: Ditto.
12219 * fork-child.c: Ditto.
12220 * gdb_usleep.c: Ditto.
12221 * i386-darwin-tdep.c: Ditto.
12222 * i386fbsd-nat.c: Ditto.
12223 * infcmd.c: Ditto.
12224 * inferior.c: Ditto.
12225 * jv-lang.c: Ditto.
12226 * linux-nat.c: Ditto.
12227 * linux-tdep.c: Ditto.
12228 * m68kbsd-nat.c: Ditto.
12229 * m68klinux-nat.c: Ditto.
12230 * microblaze-tdep.c: Ditto.
12231 * mips-linux-tdep.c: Ditto.
12232 * mn10300-tdep.c: Ditto.
12233 * nto-tdep.c: Ditto.
12234 * opencl-lang.c: Ditto.
12235 * osdata.c: Ditto.
12236 * printcmd.c: Ditto.
12237 * regcache.c: Ditto.
12238 * remote-m32r-sdi.c: Ditto.
12239 * remote.c: Ditto.
12240 * symfile.c: Ditto.
12241 * symtab.c: Ditto.
12242 * tilegx-linux-nat.c: Ditto.
12243 * tilegx-tdep.c: Ditto.
12244 * tracepoint.c: Ditto.
12245 * valops.c: Ditto.
12246 * vaxbsd-nat.c: Ditto.
12247 * windows-nat.c: Ditto.
12248 * xtensa-tdep.c: Ditto.
12249
bd1f7788
YQ
122502014-01-07 Yao Qi <yao@codesourcery.com>
12251
12252 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12253
79301218
JB
122542014-01-07 Yao Qi <yao@codesourcery.com>
12255 Joel Brobecker <brobecker@adacore.com>
12256
12257 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12258 (pdc_write_regs): Likewise.
12259 (fetch_regs_kernel_thread): Likewise.
12260 (store_regs_kernel_thread): Likewise.
12261
122622014-01-07 Joel Brobecker <brobecker@adacore.com>
12263
12264 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12265 tagged type objects to their actual type.
12266
8e355c5d
JB
122672014-01-07 Joel Brobecker <brobecker@adacore.com>
12268
12269 * ada-valprint.c (print_field_values): Add "language" parameter.
12270 Update calls to print_field_values and print_variant_part.
12271 Pass new parameter "language" in call to val_print instead
12272 of "current_language". Replace call to ada_val_print by call
12273 to val_print.
12274 (print_variant_part): Add "language" parameter.
12275 (ada_val_print_struct_union): Update call to print_field_values.
12276
4fbf5aa5
JB
122772014-01-07 Joel Brobecker <brobecker@adacore.com>
12278
12279 * ada-valprint.c (ui_memcpy): Delete.
12280 (ada_print_floating): Update documentation. Add empty line
12281 between between function documentation and implementation.
12282 Delete variable "buffer". Use ui_file_xstrdup in place of
12283 ui_file_put. Minor adjustments following this change.
12284
71855601
JB
122852014-01-07 Joel Brobecker <brobecker@adacore.com>
12286
12287 * ada-valprint.c (ada_val_print_string): New function,
12288 extracted from ada_val_print_array.
12289 (ada_val_print_array): Replace extracted code by call
12290 to ada_val_print_string followed by a return. Move
12291 "else" branch to the function's top block.
12292
4eb27a30
JB
122932014-01-07 Joel Brobecker <brobecker@adacore.com>
12294
12295 * ada-valprint.c (ada_val_print_array): Move implementation
12296 down. Rename parameter "offset" and "val" into "offset_aligned"
12297 and "original_value" respectively. Add parameter "offset".
12298
34b27950
JB
122992014-01-07 Joel Brobecker <brobecker@adacore.com>
12300
12301 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12302 re-organizing the code. Change the "???" message printed
12303 when target type is a TYPE_CODE_UNDEF into
12304 "<ref to undefined type>".
12305
079e4591
JB
123062014-01-07 Joel Brobecker <brobecker@adacore.com>
12307
12308 * ada-valprint.c (print_record): Delete, implementation inlined...
12309 (ada_val_print_struct_union): ... here. Remove call to
12310 ada_check_typedef in inlined implementation.
12311
8004dfd1
JB
123122014-01-07 Joel Brobecker <brobecker@adacore.com>
12313
12314 * ada-valprint.c (ada_val_print_gnat_array): New function,
12315 extracted from ada_val_print_1;
12316 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12317 (ada_val_print_flt, ada_val_print_struct_union)
12318 (ada_val_print_ref): Likewise.
12319 (ada_val_print_1): Delete variables i and elttype.
12320 Replace extracted-out code by call to corresponding
12321 new functions.
12322
760a2db0
JB
123232014-01-07 Joel Brobecker <brobecker@adacore.com>
12324
12325 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12326
3a92c861
JB
123272014-01-07 Joel Brobecker <brobecker@adacore.com>
12328
12329 * ada-valprint.c (ada_val_print_1): Replace calls to
12330 ada_val_print_1 by calls to val_print.
12331
cd1630f9
JB
123322014-01-07 Joel Brobecker <brobecker@adacore.com>
12333
12334 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12335 Update calls to self accordingly. Replace calls to c_val_print
12336 by calls to val_print.
12337
bdf779a0
JB
123382014-01-07 Joel Brobecker <brobecker@adacore.com>
12339
12340 * ada-valprint.c (print_record): Delete declaration.
12341 (adjust_type_signedness, ada_val_print_1): Likewise.
12342 (ada_val_print): Move function implementation down.
12343 (print_variant_part, print_field_values, print_record):
12344 Move function implementation up.
12345
c0d48811
JB
123462014-01-07 Joel Brobecker <brobecker@adacore.com>
12347
12348 * python/py-type.c (typy_get_name): New function.
12349 (type_object_getset): Add entry for attribute "name".
12350 * NEWS: Add entry mentioning this new attribute.
12351
c26e9cbb
YQ
123522014-01-07 Yao Qi <yao@codesourcery.com>
12353
12354 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12355 statement.
12356
0cc6f43d
YQ
123572014-01-07 Yao Qi <yao@codesourcery.com>
12358
12359 * gnu-nat.c (info_port_rights): Add qualifier const to
12360 argument args.
12361
eec03155
YQ
123622014-01-07 Yao Qi <yao@codesourcery.com>
12363
12364 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12365
f04a82ef
YQ
123662014-01-07 Yao Qi <yao@codesourcery.com>
12367
12368 * gnu-nat.c (make_inf) Update declaration.
12369 (make_inf): Make it static.
12370 (inf_set_traced): Likewise.
12371 (inf_port_to_thread, inf_task_died_status): Likewise.
12372
d57dda0a
YQ
123732014-01-07 Yao Qi <yao@codesourcery.com>
12374
12375 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12376
3aa8c969
YQ
123772014-01-07 Yao Qi <yao@codesourcery.com>
12378
12379 * gnu-nat.c (_initialize_gnu_nat): Declare.
12380
94123b4f
YQ
123812014-01-07 Yao Qi <yao@codesourcery.com>
12382
12383 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12384 'enum bfd_endian'.
12385 (struct gdbarch_info) <byte_order>: Change type to
12386 'enum bfd_endian'.
12387 <byte_order_for_code>: Likewise.
12388 * gdbarch.c, gdbarch.h: Regenerated.
12389
dc81d70a
TT
123902014-01-06 Sasha Smundak <asmundak@google.com>
12391
12392 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12393
cc2f3c35
TT
123942014-01-06 Tom Tromey <tromey@redhat.com>
12395
12396 * doublest.c (convert_doublest_to_floatformat): Use const, not
12397 CONST.
12398 * somread.c (som_symtab_read): Likewise.
12399
adcf2eed
HZ
124002014-01-07 Hui Zhu <hui@codesourcery.com>
12401
12402 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12403 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12404 (gdb_bfd_fopen): Ditto.
12405 (gdb_bfd_openr): Ditto.
12406 (gdb_bfd_openw): Ditto.
12407 (gdb_bfd_openr_iovec): Ditto.
12408 (gdb_bfd_fdopenr): Ditto.
12409 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12410 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12411 with xstrdup.
12412 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12413 with xstrdup.
12414 * symfile-mem.c (symbol_file_add_from_memory): Removed
12415 gdb_bfd_stash_filename.
12416
50722198
DE
124172014-01-03 Doug Evans <dje@google.com>
12418
12419 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12420 output.
12421
2fa4b862
JB
124222014-01-01 Joel Brobecker <brobecker@adacore.com>
12423
12424 Update year range in copyright notice of all files.
12425
28498c42
JB
124262014-01-01 Joel Brobecker <brobecker@adacore.com>
12427
12428 * top.c (print_gdb_version): Set copyright year to 2014.
12429
7b6e1046
JB
124302014-01-01 Joel Brobecker <brobecker@adacore.com>
12431
12432 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12433
df96af55 12434For older changes see ChangeLog-2013.
c906108c
SS
12435\f
12436Local Variables:
12437mode: change-log
12438left-margin: 8
12439fill-column: 74
12440version-control: never
57da7796 12441coding: utf-8
c906108c 12442End:
This page took 2.192163 seconds and 4 git commands to generate.