daily update
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ff55e1b5
GB
12014-08-29 Gary Benson <gbenson@redhat.com>
2
3 * common/common-exceptions.h: New file.
4 * common/common-exceptions.c: Likewise.
5 * Makefile.in (SFILES): Add common/common-exceptions.c.
6 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
7 (COMMON_OBS): Add common-exceptions.o.
8 (common-exceptions.o): New rule.
9 * exceptions.h (common-exceptions.h): Include.
10 (gdb_setjmp.h): Do not include.
11 (return_reason): Moved to common-exceptions.h.
12 (enum return_reason): Likewise.
13 (RETURN_MASK): Likewise.
14 (typedef return_mask): Likewise.
15 (enum errors): Likewise.
16 (struct gdb_exception): Likewise.
17 (exceptions_state_mc_init): Likewise.
18 (exceptions_state_mc_action_iter): Likewise.
19 (exceptions_state_mc_action_iter_1): Likewise.
20 (TRY_CATCH): Likewise.
21 (throw_exception): Likewise.
22 (throw_verror): Likewise.
23 (throw_vquit): Likewise.
24 (throw_error): Likewise.
25 (throw_quit): Likewise.
26 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
27 (enum catcher_action): Likewise.
28 (struct catcher): Likewise.
29 (current_catcher): Likewise.
30 (catcher_list_size): Likewise.
31 (exceptions_state_mc_init): Likewise.
32 (catcher_pop): Likewise.
33 (exceptions_state_mc): Likewise.
34 (exceptions_state_mc_action_iter): Likewise.
35 (exceptions_state_mc_action_iter_1): Likewise.
36 (throw_exception): Likewise.
37 (exception_messages): Likewise.
38 (exception_messages_size): Likewise.
39 (throw_it): Likewise.
40 (throw_verror): Likewise.
41 (throw_vquit): Likewise.
42 (throw_error): Likewise.
43 (throw_quit): Likewise.
44 (prepare_to_throw_exception): New function.
45
e9bcb658
GB
462014-08-29 Gary Benson <gbenson@redhat.com>
47
48 * common/gdb_setjmp.h: New file.
49 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
50 * configure.ac: Move sigsetjmp check...
51 * common/common.m4: ...here.
52 * configure: Regenerate.
53 * cp-support.c (SIGJMP_BUF): Delete.
54 (SIGSETJMP): Likewise.
55 (SIGLONGJMP): Likewise.
56 * exceptions.h (gdb_setjmp.h): Include.
57 (setjmp.h): Do not include.
58 (EXCEPTIONS_SIGJMP_BUF): Delete.
59 (EXCEPTIONS_SIGSETJMP): Likewise.
60 (EXCEPTIONS_SIGLONGJMP): Likewise.
61 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
62 from gdb_setjmp.h.
63 * exceptions.c: Likewise.
64
e3180625
GB
652014-08-29 Gary Benson <gbenson@redhat.com>
66
67 * cleanups.h: Moved to...
68 * common/cleanups.h: New file.
69 * cleanups.c: Moved to...
70 * common/cleanups.c: New file. Include common-defs.h and
71 cleanups.h. Do not include defs.h.
72 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
73 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
74 (cleanups.o): New rule.
75
e3d6ba5d
GB
762014-08-29 Gary Benson <gbenson@redhat.com>
77
78 * common/errors.h (internal_warning): New declaration.
79 (internal_vwarning): Likewise.
80 * common/errors.c (internal_warning): New function.
81 * utils.h (internal_warning): Don't declare.
82 (internal_vwarning): Likewise.
83 * utils.c (internal_warning): Removed.
84
075c7033
GB
852014-08-29 Gary Benson <gbenson@redhat.com>
86
87 * main.c (captured_main): Use warning during startup.
88 Prefix startup warning messages with command name.
89
91b35fd0
GB
902014-08-29 Gary Benson <gbenson@redhat.com>
91
92 * main.c (captured_main): Handle usage errors with error.
93
b1ec390e
GB
942014-08-29 Gary Benson <gbenson@redhat.com>
95
96 * go32-nat.c (go32_create_inferior): Replace a fprintf/
97 exit pair with a call to error. Wrap the message with _().
98
fd0ef3dd
GB
992014-08-29 Gary Benson <gbenson@redhat.com>
100
101 * main.c (captured_main): Replace a fprintf/exit
102 pair with a call to error. Wrap the message with _().
103
e0e6bcab
GB
1042014-08-29 Gary Benson <gbenson@redhat.com>
105
106 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
107 pairs with calls to error. Wrap the message with _().
108
0d2f5c07
GB
1092014-08-29 Gary Benson <gbenson@redhat.com>
110
111 * utils.c (vwarning): Protect calls to target_terminal_ours
112 and wrap_here.
113
5df43998
GB
1142014-08-29 Gary Benson <gbenson@redhat.com>
115
116 * exceptions.c (print_flush): Protect calls to
117 target_terminal_ours and wrap_here.
118
2437fd32
GB
1192014-08-29 Gary Benson <gbenson@redhat.com>
120
121 * utils.h (filtered_printing_initialized): New declaration.
122 * utils.c (abort_with_message): New function.
123 (internal_vproblem): Use abort_with_message for first level
124 recursive internal problems, and if gdb_stderr is not set up.
125 Protect calls to target_terminal_ours, begin_line and query.
126
f1f58506
DE
1272014-08-28 Doug Evans <dje@google.com>
128
129 * symtab.c (in_prologue): Move definition to better spot.
130 (skip_prologue_using_sal): Ditto.
131
aab2f208
DE
1322014-08-28 Doug Evans <dje@google.com>
133
134 * symtab.c (find_function_start_sal): Move definition to better spot.
135
6b65d1b6
YQ
1362014-08-28 Yao Qi <yao@codesourcery.com>
137
138 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
139 found_stack_adjust in forward scan. Remove condition check
140 on found_stack_adjust which is always true. Indent the code.
141
a1b34d15
YQ
1422014-08-28 Yao Qi <yao@codesourcery.com>
143
144 * dwarf2read.c (dwarf_decode_lines): Update declaration.
145 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
146 (dwarf_decode_lines): Remove argument
147 want_line_info. Remove condition check on want_line_info.
148 Callers update.
149
d5962de5
DE
1502014-08-27 Doug Evans <dje@google.com>
151
152 * dwarf2read.c (dwarf_record_line): Fix typo.
153
9b139002
SDJ
1542014-08-27 Patrick Palka <patrick@parcs.ath.cx>
155
156 * target.h (struct target_ops::to_terminal_save_ours): Remove
157 declaration.
158 (target_terminal_save_ours): Remove macro.
159 * target-delegates.c: Regenerate.
160 * inf-child.c (inf_child_target): Don't set the nonexistent
161 field to_terminal_save_ours.
162 * inferior.h (child_terminal_save_ours): Remove declaration.
163 * terminal.h (gdb_save_tty_state): New declaration.
164 * inflow.c (child_terminal_save_ours): Rename to ...
165 (gdb_save_tty_state): ... this.
166 * tui/tui.c: Include terminal.h.
167 (tui_enable): Use gdb_save_tty_state instead of
168 target_terminal_save_ours.
169 (tui_disable): Likewise.
170
9debeba0
DE
1712014-08-25 Doug Evans <dje@google.com>
172
173 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
174 Pass NULL instead of 0 for context pointer.
175
428fc5fc
YQ
1762014-08-25 Yao Qi <yao@codesourcery.com>
177
178 * dwarf2read.c: Fix grammatical error.
179
cdc07690
YQ
1802014-08-24 Yao Qi <yao@codesourcery.com>
181
182 * dwarf2read.c (scan_partial_symbols): Update comments.
183 Rename argument 'need_pc' with 'set_addrmap'.
184 (add_partial_namespace): Rename argument 'need_pc' with
185 'set_addrmap'.
186 (add_partial_module): Likewise.
187 (add_partial_subprogram): Likewise. Update comments.
188 (dwarf2_name): Fix typo.
189
a05a36a5
DE
1902014-08-22 Doug Evans <dje@google.com>
191
192 PR 17276
193 * dwarf2read.c (dwarf_record_line_p): New function.
194 (dwarf_decode_lines_1): Ignore subsequent line number entries
195 for the same line if any entry had a non-zero discriminator.
196
252a6764
DE
1972014-08-22 Doug Evans <dje@google.com>
198
199 * buildsym.h (record_line_ftype): New typedef.
200 (record_line): Use it.
201 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
202 (dwarf_decode_lines_1): Call them.
203
510db052
YQ
2042014-08-22 Yao Qi <yao@codesourcery.com>
205
206 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
207 (ctf_end): Remove code.
208
22fd09ae
JK
2092014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
210
211 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
212 (linux_make_corefile_notes): call update_thread_list, protected against
213 exceptions.
214
656e8868
PA
2152014-08-21 Pedro Alves <palves@redhat.com>
216
217 * infcmd.c (attach_command): Remove comment.
218
de589d04
WN
2192014-08-21 Bin Cheng <bin.cheng@arm.com>
220
221 * aarch64-linux-nat.c (dr_changed_t): Change the type from
222 unsigned LONGEST to ULONGEST.
223
2a31c623
PA
2242014-08-20 Pedro Alves <palves@redhat.com>
225
226 * Makefile.in (check-read1): New rule.
227
d36430db
JB
2282014-08-20 Joel Brobecker <brobecker@adacore.com>
229
230 * value.c (value_from_contents_and_address): Strip resolved_type's
231 typedef layers before checking its TYPE_DATA_LOCATION.
232
000339af
PA
2332014-08-20 Pedro Alves <palves@redhat.com>
234
235 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
236
5f52445b
YQ
2372014-08-20 Yao Qi <yao@codesourcery.com>
238
239 * amd64-tdep.c (amd64_classify): Add a blank line after the
240 example. Move "*/" to a new line.
241 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
242 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
243 * dwarf2read.c (psymtab_include_file_name): Likewise.
244
9a0dc9e3
PA
2452014-08-19 Andrew Burgess <aburgess@broadcom.com>
246 Pedro Alves <palves@redhat.com>
247
248 PR symtab/14604
249 PR symtab/14605
250 * ada-lang.c (coerce_unspec_val_to_type): Use
251 value_contents_copy_raw.
252 * ada-valprint.c (val_print_packed_array_elements): Adjust.
253 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
254 * cp-valprint.c (cp_print_value_fields): Let the common printing
255 code handle optimized out values.
256 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
257 * d-valprint.c (dynamic_array_type): Use
258 value_bits_any_optimized_out.
259 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
260 check_any_valid fields.
261 (check_pieced_value_bits): Delete and inline ...
262 (check_pieced_synthetic_pointer): ... here.
263 (check_pieced_value_validity): Delete.
264 (check_pieced_value_invalid): Delete.
265 (pieced_value_funcs): Remove check_validity and check_any_valid
266 fields.
267 (read_pieced_value): Use mark_value_bits_optimized_out.
268 (write_pieced_value): Switch to use
269 mark_value_bytes_optimized_out.
270 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
271 of assuming the whole value is optimized out.
272 * findvar.c (read_frame_register_value): Remove special handling
273 of optimized out registers.
274 (value_from_register): Use mark_value_bytes_optimized_out.
275 * frame-unwind.c (frame_unwind_got_optimized): Use
276 mark_value_bytes_optimized_out.
277 * jv-valprint.c (java_value_print): Adjust.
278 (java_print_value_fields): Let the common printing code handle
279 optimized out values.
280 * mips-tdep.c (mips_print_register): Remove special handling of
281 optimized out registers.
282 * opencl-lang.c (lval_func_check_validity): Delete.
283 (lval_func_check_any_valid): Delete.
284 (opencl_value_funcs): Remove check_validity and check_any_valid
285 fields.
286 * p-valprint.c (pascal_object_print_value_fields): Let the common
287 printing code handle optimized out values.
288 * stack.c (read_frame_arg): Remove special handling of optimized
289 out values. Fetch both VAL and ENTRYVAL before comparing
290 contents. Adjust to value_available_contents_eq rename.
291 * valprint.c (valprint_check_validity)
292 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
293 (val_print_array_elements): Adjust.
294 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
295 (value_bits_any_optimized_out): New function.
296 (value_entirely_covered_by_range_vector): New function, factored
297 out from value_entirely_unavailable.
298 (value_entirely_unavailable): Reimplement.
299 (value_entirely_optimized_out): New function.
300 (insert_into_bit_range_vector): New function, factored out from
301 mark_value_bits_unavailable.
302 (mark_value_bits_unavailable): Reimplement.
303 (struct ranges_and_idx): New struct.
304 (find_first_range_overlap_and_match): New function, factored out
305 from value_available_contents_bits_eq.
306 (value_available_contents_bits_eq): Rename to ...
307 (value_contents_bits_eq): ... this. Check both unavailable
308 contents and optimized out contents.
309 (value_available_contents_eq): Rename to ...
310 (value_contents_eq): ... this.
311 (allocate_value_lazy): Remove reference to the old optimized_out
312 boolean.
313 (allocate_optimized_out_value): Use
314 mark_value_bytes_optimized_out.
315 (require_not_optimized_out): Adjust to check whether the
316 optimized_out vec is empty.
317 (ranges_copy_adjusted): New function, factored out from
318 value_contents_copy_raw.
319 (value_contents_copy_raw): Also copy the optimized out ranges.
320 Assert the destination ranges aren't optimized out.
321 (value_contents_copy): Update comment, remove call to
322 require_not_optimized_out.
323 (value_contents_equal): Adjust to check whether the optimized_out
324 vec is empty.
325 (set_value_optimized_out, value_optimized_out_const): Delete.
326 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
327 New functions.
328 (value_entirely_optimized_out, value_bits_valid): Delete.
329 (value_copy): Take a VEC copy of the 'optimized_out' field.
330 (value_primitive_field): Remove special handling of optimized out.
331 (value_fetch_lazy): Assert that lazy values have no unavailable
332 regions. Use value_bits_any_optimized_out. Remove some special
333 handling for optimized out values.
334 * value.h: Add intro comment about <optimized out> and
335 <unavailable>.
336 (struct lval_funcs): Remove check_validity and check_any_valid
337 fields.
338 (set_value_optimized_out, value_optimized_out_const): Remove.
339 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
340 New declarations.
341 (value_bits_any_optimized_out): New declaration.
342 (value_bits_valid): Delete declaration.
343 (value_available_contents_eq): Rename to ...
344 (value_contents_eq): ... this, and extend comments.
345
6694c411
JK
3462014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
347
348 Fix -fsanitize=address on unreadable inferior strings.
349 * valprint.c (val_print_string): Fix access before BUFFER.
350
89a1c21a
SM
3512014-08-19 Simon Marchi <simon.marchi@ericsson.com>
352
353 * target.c (target_struct_size): Remove.
354 (target_struct_allocsize): Remove.
355 (DEFAULT_ALLOCSIZE): Remove.
356 (target_ops_p): New typedef.
357 (DEF_VEC_P (target_ops_p)): New vector type.
358 (target_structs): Change type to VEC (target_ops_p).
359 (add_target_with_completer): Replace "push" code by VEC_safe_push.
360 (find_default_run_target): Rewrite for loop following changes to
361 target_structs.
362
cb417230
JB
3632014-08-19 Joel Brobecker <brobecker@adacore.com>
364
365 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
366 Adjust code accordingly. Adjust function description comment.
367
817e0957
YQ
3682014-08-19 Yao Qi <yao@codesourcery.com>
369
370 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
371 types.
372
2974be62
AM
3732014-08-19 Alan Modra <amodra@gmail.com>
374
375 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
376 * config.in: Regenerate.
377 * configure: Regenerate.
378
34abf635
GB
3792014-08-19 Tom Tromey <tromey@redhat.com>
380 Gary Benson <gbenson@redhat.com>
381
382 * common/common-debug.h: New file.
383 * common/common-debug.c: Likewise.
384 * debug.c: Likewise.
385 * Makefile.in (SFILES): Add common/common-debug.c.
386 (HFILES_NO_SRCDIR): Add common/common-debug.h.
387 (COMMON_OBS): Add common-debug.o and debug.o.
388 (common-debug.o): New rule.
389 * common/common-defs.h: Include common-debug.h.
390 * common/agent.c (debug_agent_printf): New function.
391 (DEBUG_AGENT): Redefine.
392 * nat/i386-dregs.c (debug_printf): Undefine.
393
f6e94d78
GB
3942014-08-19 Gary Benson <gbenson@redhat.com>
395
396 * common/common-defs.h: Include print-utils.h.
397 * utils.h: Do not include print-utils.h.
398
9239eeab
GB
3992014-08-19 Tom Tromey <tromey@redhat.com>
400 Gary Benson <gbenson@redhat.com>
401
402 * common/common-types.h: New file.
403 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
404 * common/common-defs.h: Include common-types.h.
405 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
406 (ULONGEST): Remove.
407
ef87c8bb
GB
4082014-08-19 Tom Tromey <tromey@redhat.com>
409 Gary Benson <gbenson@redhat.com>
410
411 * common/errors.h: New file.
412 * common/errors.c: Likewise.
413 * Makefile.in (SFILES): Add common/errors.c.
414 (HFILES_NO_SRCDIR): Add common/errors.h.
415 (COMMON_OBS): Add errors.o.
416 (errors.o): New rule.
417 * common/common-defs.h: Include errors.h.
418 * utils.h (perror_with_name, error, verror, warning, vwarning):
419 Don't declare.
420 * common/common-utils.h: (malloc_failure, internal_error):
421 Likewise.
422
196a707b
GB
4232014-08-19 Gary Benson <gbenson@redhat.com>
424
425 * utils.c (internal_vproblem): Always print the message.
426
ded4fc8f
DE
4272014-08-18 Doug Evans <dje@google.com>
428
429 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
430
950c97d8
JB
4312014-08-18 Joel Brobecker <brobecker@adacore.com>
432
433 * ada-typeprint.c (type_is_full_subrange_of_target_type):
434 Return 0 if TYPE is dynamic.
435 (print_range): Add handling of dynamic ranges.
436
3cdcd0ce
JB
4372014-08-18 Keven Boell <keven.boell@intel.com>
438 Joel Brobecker <brobecker@adacore.com>
439
440 * gdbtypes.h (struct main_type): Add field "data_location".
441 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
442 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
443 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
444 a dynamic data location.
445 (resolve_dynamic_type): Add DW_AT_data_location handling.
446 (copy_recursive, copy_type): Copy the data_location information
447 when present.
448 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
449 * value.c (value_from_contents_and_address): Add
450 DW_AT_data_location handling.
451
08412b07
JB
4522014-08-18 Keven Boell <keven.boell@intel.com>
453 Joel Brobecker <brobecker@adacore.com>
454
455 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
456 field "get_object_address".
457 * dwarf2expr.c (execute_stack_op): Add handling for
458 DW_OP_push_object_address.
459 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
460 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
461 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
462 (dwarf_expr_get_obj_addr): New function.
463 (dwarf_expr_ctx_funcs): Add get_object_address field.
464 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
465 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
466 (dwarf2_evaluate_property): Add parameter "address". Use it.
467 (needs_get_obj_addr): New function.
468 (needs_frame_ctx_funcs): Add get_object_address field.
469 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
470 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
471 (resolve_dynamic_array): Likewise.
472
84754697
JB
4732014-08-18 Joel Brobecker <brobecker@adacore.com>
474
475 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
476 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
477 fixed value for records and unions for which some GNAT encodings
478 are present.
479
da5c522f
JB
4802014-08-18 Joel Brobecker <brobecker@adacore.com>
481
482 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
483 rewrite to avoid "else if" and "else" constructs. Should be
484 a no-op in practice.
485
0d72a7c3
JB
4862014-08-18 Joel Brobecker <brobecker@adacore.com>
487
488 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
489 of lexical block.
490
e66d4446
SC
4912014-08-15 Siva Chandra Reddy <sivachandra@google.com>
492
493 PR c++/17132
494 * eval.c: Update all calls to find_overload_match.
495 * valarith.c: Likewise.
496 (value_user_defined_cpp_op, value_user_defined_op): New
497 argument NOSIDE. Update all callers.
498 * valops.c (find_overload_match): New argument NOSIDE.
499 * value.h (find_overload_match): Update signature.
500
940df408
SC
5012014-08-15 Siva Chandra Reddy <sivachandra@google.com>
502
503 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
504 'items' methods instead of 'iteritems' method on dictionaries.
505
699ca60a
DE
5062014-08-15 Doug Evans <dje@google.com>
507
508 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
509 closer to use.
510
37780ee5
DE
5112014-08-15 Doug Evans <dje@google.com>
512
513 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
514
0ad93d4f
DE
5152014-08-15 Doug Evans <dje@google.com>
516
517 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
518
20d8c372
DE
5192014-08-15 Doug Evans <dje@google.com>
520
521 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
522 unused.
523
cb039ba4
EZ
5242014-08-15 Eli Zaretskii <eliz@gnu.org>
525
526 * dcache.h: Include target.h, to avoid compile time warnings.
527
eb7a547a
JB
5282014-08-15 Joel Brobecker <brobecker@adacore.com>
529
530 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
531 frame_info" partial declaration.
532 * gdbarch.h: Regenerate.
533
783cecc8
YQ
5342014-08-15 Yao Qi <yao@codesourcery.com>
535
536 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
537 Add parameter 'decode_for_pst_p'. Callers update.
538
65c749e7
YQ
5392014-08-13 Yao Qi <yao@codesourcery.com>
540
541 PR build/17104
542 * configure.ac: Use local variable 'pos'.
543 * configure: Regenerated.
544
d769e349
DE
5452014-08-11 Doug Evans <dje@google.com>
546
547 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
548 message, it is redundant with "Reading symbols from ..." message.
549
24f1235e
DE
5502014-08-10 Doug Evans <xdje42@gmail.com>
551
552 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
553
dcd2e6ef
YQ
5542014-08-09 Yao Qi <yao@codesourcery.com>
555
556 PR remote/9053
557 * remote.c (remote_xfer_partial): Remove dead code.
558
070bdf0b
AA
5592014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
560
561 * ia64-linux-tdep.c: Include "regset.h".
562 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
563 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
564 (ia64_linux_supply_fpregset): New function.
565 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
566 (ia64_linux_regset_from_core_section): New function.
567 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
568 method.
569
08f9f542
AA
5702014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
571
572 * m68klinux-tdep.c: Include "regset.h".
573 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
574 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
575 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
576 (m68k_linux_regset_from_core_section): New function.
577 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
578 method.
579
8f1cee41
AA
5802014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
581
582 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
583 function. Move logic to...
584 (tilegx_linux_regmap): ... this new register map.
585 (tilegx_linux_regset): Refer to register map, replace supply
586 method by regcache_supply_regset, and add collect method.
587 * tilegx-tdep.h (enum tilegx_regnum): New enum value
588 TILEGX_FIRST_EASY_REGNUM.
589
c5741217
AA
5902014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
591
592 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
593 that calls regcache_supply_regset and handles the EPC register
594 separately. Move main logic to...
595 (score7_linux_gregmap): ... this new register map.
596 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
597 (score7_linux_gregset): Refer to register map. Add collect method.
598 (score7_linux_regset_from_core_section): Replace
599 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
600 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
601 (struct regset): Delete unused forward declaraction.
602 (struct pt_regs): Delete structure definition.
603 (elf_gregset_t): Delete typedef.
604
81580573
AA
6052014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
606
607 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
608 (nios2_core_regset): Add collect method.
609
ba199d7d
AA
6102014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
611
612 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
613 platform-independent and don't write to read-only input buffer.
614 (m32r_linux_collect_gregset): New function.
615 (m32r_linux_gregset): Add collect method.
616
0006a9da
AA
6172014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
618
619 * hppa-linux-tdep.c (greg_map): Rename to...
620 (hppa_linux_gregmap): ... this. Also convert to
621 regcache_map_entry format.
622 (hppa_linux_supply_regset): Delete function.
623 (hppa_linux_supply_fpregset): Delete function. Move logic to...
624 (hppa_linux_fpregmap): ... this new register map.
625 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
626 register map, replace supply method by regcache_supply_regset, and
627 add collect method regcache_collect_regset.
628
901e1b23
AA
6292014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
630
631 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
632 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
633 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
634 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
635 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
636 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
637 (frv_linux_supply_gregset): Replace main logic by call to
638 regcache_supply_regset, but keep clearing gr32-gr63.
639 (frv_linux_supply_fpregset): Delete function.
640 (frv_linux_gregset): Refer to appropriate register map and add
641 regcache_collect_regset as the collect method.
642 (frv_linux_fpregset): Likewise. Also exchange the supply method
643 by regcache_supply_regset.
644
1d6e7555
AA
6452014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
646
647 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
648 by call to alpha_supply_int_regs.
649 (alpha_linux_collect_gregset): New function.
650 (alpha_linux_supply_fpregset): Replace logic by call to
651 alpha_supply_fp_regs.
652 (alpha_linux_collect_fpregset): New function.
653 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
654
d4d793bf
AA
6552014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
656
657 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
658 by call to regcache_collect_regset.
659 (supply_gregset, supply_fpregset): Call regcache_supply_regset
660 instead of aarch64_linux_supply_gregset/_fpregset.
661 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
662 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
663 header file instead.
664 (aarch64_linux_supply_gregset, supply_gregset_from_core)
665 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
666 functions. Move logic to ...
667 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
668 register maps.
669 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
670 refer to new register maps, replace *_regset_from_core by
671 regcache_supply_regset, and also use regcache_collect_regset.
672 * aarch64-linux-tdep.h: Include "regset.h".
673 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
674 Delete prototypes.
675 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
676 macros, moved from C source file.
677 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
678 variable declarations.
679
99b7da5d
AA
6802014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
681
682 * s390-linux-nat.c: Include "regset.h".
683 (regmap_gregset): Delete macro.
684 (s390_64_regmap_gregset): New register map for
685 regcache_supply/_collect_regset.
686 (s390_64_gregset): New regset.
687 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
688 (regmap_fpregset): Delete macro.
689 (s390_native_supply, s390_native_collect): Delete functions.
690 (supply_gregset, fill_gregset): Replace s390-specific regmap
691 handling by a call to regcache_supply/_collect_regset.
692 (supply_fpregset, fill_fpregset): Call regcache_supply/
693 _collect_regset instead of s390_native_supply/_collect.
694 (fetch_regset, store_regset): Likewise. Also change the last
695 parameter to a regset instead of a regmap.
696 (s390_linux_fetch_inferior_registers)
697 (390_linux_store_inferior_registers): Adjust last parameter in
698 calls to fetch_regset and store_regset.
699 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
700 (s390_gregmap): ... this. Also make static const and convert to
701 regcache_map_entry format.
702 (s390x_regmap_gregset): Delete.
703 (s390_regmap_fpregset): Rename to...
704 (s390_fpregmap): ... this. Make static const and convert to
705 regcache_map_entry format.
706 (s390_regmap_upper, s390_regmap_last_break)
707 (s390x_regmap_last_break, s390_regmap_system_call)
708 (s390_regmap_tdb): Likewise.
709 (s390_supply_regset, s390_collect_regset): Remove functions.
710 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
711 s390_supply_regset.
712 (s390_gregset, s390_fpregset, s390_upper_regset)
713 (s390_last_break_regset, s390x_last_break_regset)
714 (s390_system_call_regset, s390_tdb_regset): Make global and
715 replace s390_supply/_collect_regset by regcache_supply/
716 _collect_regset.
717 (s390x_gregset): Delete.
718 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
719 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
720 (s390_regmap_fpregset, s390_regmap_last_break)
721 (s390x_regmap_last_break, s390_regmap_system_call)
722 (s390_regmap_tdb): Delete global variable declarations.
723 (s390_gregset, s390_fpregset, s390_last_break_regset)
724 (s390x_last_break_regset, s390_system_call_regset)
725 (s390_tdb_regset): New global variable declarations.
726
0b309272
AA
7272014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
728
729 * regcache.c: Include "regset.h".
730 (regcache_transfer_regset): New local function.
731 (regcache_supply_regset, regcache_collect_regset): New functions.
732 * regcache.h (struct regcache_map_entry): New structure.
733 (REGCACHE_MAP_SKIP): New enum value.
734 (regcache_supply_regset, regcache_collect_regset): New prototypes.
735
7fefa8d7
AA
7362014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
737
738 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
739 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
740 (ppc_linux_collect_gregset ): Likewise.
741 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
742 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
743 (ppc_collect_vrregset): Likewise.
744 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
745 Likewise.
746
96c4f946
YQ
7472014-08-07 Yao Qi <yao@codesourcery.com>
748
749 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
750 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
751 * remote.c (remote_read_bytes): Likewise.
752
fffbe6a8
YQ
7532014-08-07 Yao Qi <yao@codesourcery.com>
754
755 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
756
5ee8a82c
YQ
7572014-08-07 Yao Qi <yao@codesourcery.com>
758
759 PR remote/17230
760 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
761 TARGET_XFER_OK instead of 0.
762
bb974a24
GB
7632014-08-07 Gary Benson <gbenson@redhat.com>
764
765 * common/common-defs.h: Include errno.h.
766 * defs.h: Do not include errno.h.
767 * ada-typeprint.c: Likewise.
768 * c-typeprint.c: Likewise.
769 * core-regset.c: Likewise.
770 * corefile.c: Likewise.
771 * corelow.c: Likewise.
772 * event-loop.c: Likewise.
773 * f-typeprint.c: Likewise.
774 * gnu-nat.c: Likewise.
775 * go32-nat.c: Likewise.
776 * i386gnu-nat.c: Likewise.
777 * m2-typeprint.c: Likewise.
778 * nat/linux-btrace.c: Likewise.
779 * p-typeprint.c: Likewise.
780 * procfs.c: Likewise.
781 * remote-sim.c: Likewise.
782 * rs6000-nat.c: Likewise.
783 * target.c: Likewise.
784 * typeprint.c: Likewise.
785 * ui-file.c: Likewise.
786 * valops.c: Likewise.
787 * valprint.c: Likewise.
788
6d3d12eb
GB
7892014-08-07 Gary Benson <gbenson@redhat.com>
790
791 * common/common-defs.h: Include string.h.
792 * aarch64-tdep.c: Do not include string.h.
793 * ada-exp.y: Likewise.
794 * ada-lang.c: Likewise.
795 * ada-lex.l: Likewise.
796 * ada-typeprint.c: Likewise.
797 * ada-valprint.c: Likewise.
798 * aix-thread.c: Likewise.
799 * alpha-linux-tdep.c: Likewise.
800 * alpha-mdebug-tdep.c: Likewise.
801 * alpha-nat.c: Likewise.
802 * alpha-osf1-tdep.c: Likewise.
803 * alpha-tdep.c: Likewise.
804 * alphanbsd-tdep.c: Likewise.
805 * amd64-dicos-tdep.c: Likewise.
806 * amd64-linux-tdep.c: Likewise.
807 * amd64-nat.c: Likewise.
808 * amd64-sol2-tdep.c: Likewise.
809 * amd64fbsd-tdep.c: Likewise.
810 * amd64obsd-tdep.c: Likewise.
811 * arch-utils.c: Likewise.
812 * arm-linux-nat.c: Likewise.
813 * arm-linux-tdep.c: Likewise.
814 * arm-tdep.c: Likewise.
815 * arm-wince-tdep.c: Likewise.
816 * armbsd-tdep.c: Likewise.
817 * armnbsd-nat.c: Likewise.
818 * armnbsd-tdep.c: Likewise.
819 * armobsd-tdep.c: Likewise.
820 * avr-tdep.c: Likewise.
821 * ax-gdb.c: Likewise.
822 * ax-general.c: Likewise.
823 * bcache.c: Likewise.
824 * bfin-tdep.c: Likewise.
825 * breakpoint.c: Likewise.
826 * build-id.c: Likewise.
827 * buildsym.c: Likewise.
828 * c-exp.y: Likewise.
829 * c-lang.c: Likewise.
830 * c-typeprint.c: Likewise.
831 * c-valprint.c: Likewise.
832 * charset.c: Likewise.
833 * cli-out.c: Likewise.
834 * cli/cli-cmds.c: Likewise.
835 * cli/cli-decode.c: Likewise.
836 * cli/cli-dump.c: Likewise.
837 * cli/cli-interp.c: Likewise.
838 * cli/cli-logging.c: Likewise.
839 * cli/cli-script.c: Likewise.
840 * cli/cli-setshow.c: Likewise.
841 * cli/cli-utils.c: Likewise.
842 * coffread.c: Likewise.
843 * common/agent.c: Likewise.
844 * common/buffer.c: Likewise.
845 * common/buffer.h: Likewise.
846 * common/common-utils.c: Likewise.
847 * common/filestuff.c: Likewise.
848 * common/filestuff.c: Likewise.
849 * common/format.c: Likewise.
850 * common/print-utils.c: Likewise.
851 * common/rsp-low.c: Likewise.
852 * common/signals.c: Likewise.
853 * common/vec.h: Likewise.
854 * common/xml-utils.c: Likewise.
855 * core-regset.c: Likewise.
856 * corefile.c: Likewise.
857 * corelow.c: Likewise.
858 * cp-abi.c: Likewise.
859 * cp-name-parser.y: Likewise.
860 * cp-support.c: Likewise.
861 * cp-valprint.c: Likewise.
862 * cris-tdep.c: Likewise.
863 * d-exp.y: Likewise.
864 * darwin-nat.c: Likewise.
865 * dbxread.c: Likewise.
866 * dcache.c: Likewise.
867 * demangle.c: Likewise.
868 * dicos-tdep.c: Likewise.
869 * disasm.c: Likewise.
870 * doublest.c: Likewise.
871 * dsrec.c: Likewise.
872 * dummy-frame.c: Likewise.
873 * dwarf2-frame.c: Likewise.
874 * dwarf2loc.c: Likewise.
875 * dwarf2read.c: Likewise.
876 * elfread.c: Likewise.
877 * environ.c: Likewise.
878 * eval.c: Likewise.
879 * event-loop.c: Likewise.
880 * exceptions.c: Likewise.
881 * exec.c: Likewise.
882 * expprint.c: Likewise.
883 * f-exp.y: Likewise.
884 * f-lang.c: Likewise.
885 * f-typeprint.c: Likewise.
886 * f-valprint.c: Likewise.
887 * fbsd-nat.c: Likewise.
888 * findcmd.c: Likewise.
889 * findvar.c: Likewise.
890 * fork-child.c: Likewise.
891 * frame.c: Likewise.
892 * frv-linux-tdep.c: Likewise.
893 * frv-tdep.c: Likewise.
894 * gdb.c: Likewise.
895 * gdb_bfd.c: Likewise.
896 * gdbarch.c: Likewise.
897 * gdbarch.sh: Likewise.
898 * gdbtypes.c: Likewise.
899 * gnu-nat.c: Likewise.
900 * gnu-v2-abi.c: Likewise.
901 * gnu-v3-abi.c: Likewise.
902 * go-exp.y: Likewise.
903 * go-lang.c: Likewise.
904 * go32-nat.c: Likewise.
905 * guile/guile.c: Likewise.
906 * guile/scm-auto-load.c: Likewise.
907 * hppa-hpux-tdep.c: Likewise.
908 * hppa-linux-nat.c: Likewise.
909 * hppanbsd-tdep.c: Likewise.
910 * hppaobsd-tdep.c: Likewise.
911 * i386-cygwin-tdep.c: Likewise.
912 * i386-dicos-tdep.c: Likewise.
913 * i386-linux-tdep.c: Likewise.
914 * i386-nto-tdep.c: Likewise.
915 * i386-sol2-tdep.c: Likewise.
916 * i386-tdep.c: Likewise.
917 * i386bsd-tdep.c: Likewise.
918 * i386gnu-nat.c: Likewise.
919 * i386nbsd-tdep.c: Likewise.
920 * i386obsd-tdep.c: Likewise.
921 * i387-tdep.c: Likewise.
922 * ia64-libunwind-tdep.c: Likewise.
923 * ia64-linux-nat.c: Likewise.
924 * inf-child.c: Likewise.
925 * inf-ptrace.c: Likewise.
926 * inf-ttrace.c: Likewise.
927 * infcall.c: Likewise.
928 * infcmd.c: Likewise.
929 * inflow.c: Likewise.
930 * infrun.c: Likewise.
931 * interps.c: Likewise.
932 * iq2000-tdep.c: Likewise.
933 * irix5-nat.c: Likewise.
934 * jv-exp.y: Likewise.
935 * jv-lang.c: Likewise.
936 * jv-typeprint.c: Likewise.
937 * jv-valprint.c: Likewise.
938 * language.c: Likewise.
939 * linux-fork.c: Likewise.
940 * linux-nat.c: Likewise.
941 * lm32-tdep.c: Likewise.
942 * m2-exp.y: Likewise.
943 * m2-typeprint.c: Likewise.
944 * m32c-tdep.c: Likewise.
945 * m32r-linux-nat.c: Likewise.
946 * m32r-linux-tdep.c: Likewise.
947 * m32r-rom.c: Likewise.
948 * m32r-tdep.c: Likewise.
949 * m68hc11-tdep.c: Likewise.
950 * m68k-tdep.c: Likewise.
951 * m68kbsd-tdep.c: Likewise.
952 * m68klinux-nat.c: Likewise.
953 * m68klinux-tdep.c: Likewise.
954 * m88k-tdep.c: Likewise.
955 * machoread.c: Likewise.
956 * macrocmd.c: Likewise.
957 * main.c: Likewise.
958 * mdebugread.c: Likewise.
959 * mem-break.c: Likewise.
960 * memattr.c: Likewise.
961 * memory-map.c: Likewise.
962 * mep-tdep.c: Likewise.
963 * mi/mi-cmd-break.c: Likewise.
964 * mi/mi-cmd-disas.c: Likewise.
965 * mi/mi-cmd-env.c: Likewise.
966 * mi/mi-cmd-stack.c: Likewise.
967 * mi/mi-cmd-var.c: Likewise.
968 * mi/mi-cmds.c: Likewise.
969 * mi/mi-console.c: Likewise.
970 * mi/mi-getopt.c: Likewise.
971 * mi/mi-interp.c: Likewise.
972 * mi/mi-main.c: Likewise.
973 * mi/mi-parse.c: Likewise.
974 * microblaze-rom.c: Likewise.
975 * microblaze-tdep.c: Likewise.
976 * mingw-hdep.c: Likewise.
977 * minidebug.c: Likewise.
978 * minsyms.c: Likewise.
979 * mips-irix-tdep.c: Likewise.
980 * mips-linux-tdep.c: Likewise.
981 * mips-tdep.c: Likewise.
982 * mips64obsd-tdep.c: Likewise.
983 * mipsnbsd-tdep.c: Likewise.
984 * mipsread.c: Likewise.
985 * mn10300-linux-tdep.c: Likewise.
986 * mn10300-tdep.c: Likewise.
987 * monitor.c: Likewise.
988 * moxie-tdep.c: Likewise.
989 * mt-tdep.c: Likewise.
990 * nat/linux-btrace.c: Likewise.
991 * nat/linux-osdata.c: Likewise.
992 * nat/linux-procfs.c: Likewise.
993 * nat/linux-ptrace.c: Likewise.
994 * nat/linux-waitpid.c: Likewise.
995 * nbsd-tdep.c: Likewise.
996 * nios2-linux-tdep.c: Likewise.
997 * nto-procfs.c: Likewise.
998 * nto-tdep.c: Likewise.
999 * objc-lang.c: Likewise.
1000 * objfiles.c: Likewise.
1001 * opencl-lang.c: Likewise.
1002 * osabi.c: Likewise.
1003 * osdata.c: Likewise.
1004 * p-exp.y: Likewise.
1005 * p-lang.c: Likewise.
1006 * p-typeprint.c: Likewise.
1007 * parse.c: Likewise.
1008 * posix-hdep.c: Likewise.
1009 * ppc-linux-nat.c: Likewise.
1010 * ppc-sysv-tdep.c: Likewise.
1011 * ppcfbsd-tdep.c: Likewise.
1012 * ppcnbsd-tdep.c: Likewise.
1013 * ppcobsd-tdep.c: Likewise.
1014 * printcmd.c: Likewise.
1015 * procfs.c: Likewise.
1016 * prologue-value.c: Likewise.
1017 * python/py-auto-load.c: Likewise.
1018 * python/py-gdb-readline.c: Likewise.
1019 * ravenscar-thread.c: Likewise.
1020 * regcache.c: Likewise.
1021 * registry.c: Likewise.
1022 * remote-fileio.c: Likewise.
1023 * remote-m32r-sdi.c: Likewise.
1024 * remote-mips.c: Likewise.
1025 * remote-notif.c: Likewise.
1026 * remote-sim.c: Likewise.
1027 * remote.c: Likewise.
1028 * reverse.c: Likewise.
1029 * rs6000-aix-tdep.c: Likewise.
1030 * ser-base.c: Likewise.
1031 * ser-go32.c: Likewise.
1032 * ser-mingw.c: Likewise.
1033 * ser-pipe.c: Likewise.
1034 * ser-tcp.c: Likewise.
1035 * ser-unix.c: Likewise.
1036 * serial.c: Likewise.
1037 * sh-tdep.c: Likewise.
1038 * sh64-tdep.c: Likewise.
1039 * shnbsd-tdep.c: Likewise.
1040 * skip.c: Likewise.
1041 * sol-thread.c: Likewise.
1042 * solib-dsbt.c: Likewise.
1043 * solib-frv.c: Likewise.
1044 * solib-osf.c: Likewise.
1045 * solib-som.c: Likewise.
1046 * solib-spu.c: Likewise.
1047 * solib-target.c: Likewise.
1048 * solib.c: Likewise.
1049 * somread.c: Likewise.
1050 * source.c: Likewise.
1051 * sparc-nat.c: Likewise.
1052 * sparc-sol2-tdep.c: Likewise.
1053 * sparc-tdep.c: Likewise.
1054 * sparc64-tdep.c: Likewise.
1055 * sparc64fbsd-tdep.c: Likewise.
1056 * sparc64nbsd-tdep.c: Likewise.
1057 * sparcnbsd-tdep.c: Likewise.
1058 * spu-linux-nat.c: Likewise.
1059 * spu-multiarch.c: Likewise.
1060 * spu-tdep.c: Likewise.
1061 * stabsread.c: Likewise.
1062 * stack.c: Likewise.
1063 * std-regs.c: Likewise.
1064 * symfile.c: Likewise.
1065 * symmisc.c: Likewise.
1066 * symtab.c: Likewise.
1067 * target.c: Likewise.
1068 * thread.c: Likewise.
1069 * tilegx-linux-nat.c: Likewise.
1070 * tilegx-tdep.c: Likewise.
1071 * top.c: Likewise.
1072 * tracepoint.c: Likewise.
1073 * tui/tui-command.c: Likewise.
1074 * tui/tui-data.c: Likewise.
1075 * tui/tui-disasm.c: Likewise.
1076 * tui/tui-file.c: Likewise.
1077 * tui/tui-layout.c: Likewise.
1078 * tui/tui-out.c: Likewise.
1079 * tui/tui-regs.c: Likewise.
1080 * tui/tui-source.c: Likewise.
1081 * tui/tui-stack.c: Likewise.
1082 * tui/tui-win.c: Likewise.
1083 * tui/tui-windata.c: Likewise.
1084 * tui/tui-winsource.c: Likewise.
1085 * typeprint.c: Likewise.
1086 * ui-file.c: Likewise.
1087 * ui-out.c: Likewise.
1088 * user-regs.c: Likewise.
1089 * utils.c: Likewise.
1090 * v850-tdep.c: Likewise.
1091 * valarith.c: Likewise.
1092 * valops.c: Likewise.
1093 * valprint.c: Likewise.
1094 * value.c: Likewise.
1095 * varobj.c: Likewise.
1096 * vax-tdep.c: Likewise.
1097 * vaxnbsd-tdep.c: Likewise.
1098 * vaxobsd-tdep.c: Likewise.
1099 * windows-nat.c: Likewise.
1100 * xcoffread.c: Likewise.
1101 * xml-support.c: Likewise.
1102 * xstormy16-tdep.c: Likewise.
1103 * xtensa-linux-nat.c: Likewise.
1104
dccbb609
GB
11052014-08-07 Gary Benson <gbenson@redhat.com>
1106
1107 * common/common-defs.h: Include gdb_assert.h.
1108 * aarch64-tdep.c: Do not include gdb_assert.h.
1109 * addrmap.c: Likewise.
1110 * aix-thread.c: Likewise.
1111 * alpha-linux-tdep.c: Likewise.
1112 * alpha-mdebug-tdep.c: Likewise.
1113 * alphanbsd-tdep.c: Likewise.
1114 * amd64-nat.c: Likewise.
1115 * amd64-tdep.c: Likewise.
1116 * amd64bsd-nat.c: Likewise.
1117 * amd64fbsd-nat.c: Likewise.
1118 * amd64fbsd-tdep.c: Likewise.
1119 * amd64nbsd-nat.c: Likewise.
1120 * amd64nbsd-tdep.c: Likewise.
1121 * amd64obsd-nat.c: Likewise.
1122 * amd64obsd-tdep.c: Likewise.
1123 * arch-utils.c: Likewise.
1124 * arm-tdep.c: Likewise.
1125 * armbsd-tdep.c: Likewise.
1126 * auxv.c: Likewise.
1127 * bcache.c: Likewise.
1128 * bfin-tdep.c: Likewise.
1129 * blockframe.c: Likewise.
1130 * breakpoint.c: Likewise.
1131 * bsd-kvm.c: Likewise.
1132 * bsd-uthread.c: Likewise.
1133 * buildsym.c: Likewise.
1134 * c-exp.y: Likewise.
1135 * c-lang.c: Likewise.
1136 * charset.c: Likewise.
1137 * cleanups.c: Likewise.
1138 * cli-out.c: Likewise.
1139 * cli/cli-decode.c: Likewise.
1140 * cli/cli-dump.c: Likewise.
1141 * cli/cli-logging.c: Likewise.
1142 * cli/cli-script.c: Likewise.
1143 * cli/cli-utils.c: Likewise.
1144 * coffread.c: Likewise.
1145 * common/common-utils.c: Likewise.
1146 * common/queue.h: Likewise.
1147 * common/signals.c: Likewise.
1148 * common/vec.h: Likewise.
1149 * complaints.c: Likewise.
1150 * completer.c: Likewise.
1151 * corelow.c: Likewise.
1152 * cp-abi.c: Likewise.
1153 * cp-name-parser.y: Likewise.
1154 * cp-namespace.c: Likewise.
1155 * cp-support.c: Likewise.
1156 * cris-tdep.c: Likewise.
1157 * dbxread.c: Likewise.
1158 * dictionary.c: Likewise.
1159 * doublest.c: Likewise.
1160 * dsrec.c: Likewise.
1161 * dummy-frame.c: Likewise.
1162 * dwarf2-frame-tailcall.c: Likewise.
1163 * dwarf2-frame.c: Likewise.
1164 * dwarf2expr.c: Likewise.
1165 * dwarf2loc.c: Likewise.
1166 * dwarf2read.c: Likewise.
1167 * eval.c: Likewise.
1168 * event-loop.c: Likewise.
1169 * exceptions.c: Likewise.
1170 * expprint.c: Likewise.
1171 * f-valprint.c: Likewise.
1172 * fbsd-nat.c: Likewise.
1173 * findvar.c: Likewise.
1174 * frame-unwind.c: Likewise.
1175 * frame.c: Likewise.
1176 * frv-tdep.c: Likewise.
1177 * gcore.c: Likewise.
1178 * gdb-dlfcn.c: Likewise.
1179 * gdb_bfd.c: Likewise.
1180 * gdbarch.c: Likewise.
1181 * gdbarch.sh: Likewise.
1182 * gdbtypes.c: Likewise.
1183 * gnu-nat.c: Likewise.
1184 * gnu-v3-abi.c: Likewise.
1185 * go-lang.c: Likewise.
1186 * guile/scm-exception.c: Likewise.
1187 * guile/scm-gsmob.c: Likewise.
1188 * guile/scm-lazy-string.c: Likewise.
1189 * guile/scm-math.c: Likewise.
1190 * guile/scm-pretty-print.c: Likewise.
1191 * guile/scm-safe-call.c: Likewise.
1192 * guile/scm-utils.c: Likewise.
1193 * guile/scm-value.c: Likewise.
1194 * h8300-tdep.c: Likewise.
1195 * hppa-hpux-nat.c: Likewise.
1196 * hppa-tdep.c: Likewise.
1197 * hppanbsd-tdep.c: Likewise.
1198 * hppaobsd-tdep.c: Likewise.
1199 * i386-darwin-nat.c: Likewise.
1200 * i386-darwin-tdep.c: Likewise.
1201 * i386-nto-tdep.c: Likewise.
1202 * i386-tdep.c: Likewise.
1203 * i386bsd-nat.c: Likewise.
1204 * i386fbsd-tdep.c: Likewise.
1205 * i386gnu-nat.c: Likewise.
1206 * i386nbsd-tdep.c: Likewise.
1207 * i386obsd-tdep.c: Likewise.
1208 * i387-tdep.c: Likewise.
1209 * ia64-libunwind-tdep.c: Likewise.
1210 * ia64-tdep.c: Likewise.
1211 * inf-ptrace.c: Likewise.
1212 * inf-ttrace.c: Likewise.
1213 * infcall.c: Likewise.
1214 * infcmd.c: Likewise.
1215 * infrun.c: Likewise.
1216 * inline-frame.c: Likewise.
1217 * interps.c: Likewise.
1218 * jv-lang.c: Likewise.
1219 * jv-typeprint.c: Likewise.
1220 * linux-fork.c: Likewise.
1221 * linux-nat.c: Likewise.
1222 * linux-thread-db.c: Likewise.
1223 * m32c-tdep.c: Likewise.
1224 * m32r-linux-nat.c: Likewise.
1225 * m32r-tdep.c: Likewise.
1226 * m68k-tdep.c: Likewise.
1227 * m68kbsd-nat.c: Likewise.
1228 * m68kbsd-tdep.c: Likewise.
1229 * m88k-tdep.c: Likewise.
1230 * machoread.c: Likewise.
1231 * macroexp.c: Likewise.
1232 * macrotab.c: Likewise.
1233 * maint.c: Likewise.
1234 * mdebugread.c: Likewise.
1235 * memory-map.c: Likewise.
1236 * mep-tdep.c: Likewise.
1237 * mi/mi-common.c: Likewise.
1238 * microblaze-tdep.c: Likewise.
1239 * mingw-hdep.c: Likewise.
1240 * mips-linux-nat.c: Likewise.
1241 * mips-linux-tdep.c: Likewise.
1242 * mips-tdep.c: Likewise.
1243 * mips64obsd-tdep.c: Likewise.
1244 * mipsnbsd-tdep.c: Likewise.
1245 * mn10300-linux-tdep.c: Likewise.
1246 * mn10300-tdep.c: Likewise.
1247 * moxie-tdep.c: Likewise.
1248 * mt-tdep.c: Likewise.
1249 * nat/linux-btrace.c: Likewise.
1250 * nat/linux-osdata.c: Likewise.
1251 * nat/linux-ptrace.c: Likewise.
1252 * nat/mips-linux-watch.c: Likewise.
1253 * nios2-linux-tdep.c: Likewise.
1254 * nios2-tdep.c: Likewise.
1255 * objc-lang.c: Likewise.
1256 * objfiles.c: Likewise.
1257 * obsd-nat.c: Likewise.
1258 * opencl-lang.c: Likewise.
1259 * osabi.c: Likewise.
1260 * parse.c: Likewise.
1261 * ppc-linux-nat.c: Likewise.
1262 * ppc-sysv-tdep.c: Likewise.
1263 * ppcfbsd-nat.c: Likewise.
1264 * ppcfbsd-tdep.c: Likewise.
1265 * ppcnbsd-nat.c: Likewise.
1266 * ppcnbsd-tdep.c: Likewise.
1267 * ppcobsd-nat.c: Likewise.
1268 * ppcobsd-tdep.c: Likewise.
1269 * printcmd.c: Likewise.
1270 * procfs.c: Likewise.
1271 * prologue-value.c: Likewise.
1272 * psymtab.c: Likewise.
1273 * python/py-lazy-string.c: Likewise.
1274 * python/py-value.c: Likewise.
1275 * regcache.c: Likewise.
1276 * reggroups.c: Likewise.
1277 * registry.c: Likewise.
1278 * remote-sim.c: Likewise.
1279 * remote.c: Likewise.
1280 * rs6000-aix-tdep.c: Likewise.
1281 * rs6000-tdep.c: Likewise.
1282 * s390-linux-tdep.c: Likewise.
1283 * score-tdep.c: Likewise.
1284 * ser-base.c: Likewise.
1285 * ser-mingw.c: Likewise.
1286 * sh-tdep.c: Likewise.
1287 * sh64-tdep.c: Likewise.
1288 * solib-darwin.c: Likewise.
1289 * solib-spu.c: Likewise.
1290 * solib-svr4.c: Likewise.
1291 * source.c: Likewise.
1292 * sparc-nat.c: Likewise.
1293 * sparc-sol2-tdep.c: Likewise.
1294 * sparc-tdep.c: Likewise.
1295 * sparc64-sol2-tdep.c: Likewise.
1296 * sparc64-tdep.c: Likewise.
1297 * sparc64fbsd-tdep.c: Likewise.
1298 * sparc64nbsd-tdep.c: Likewise.
1299 * sparc64obsd-tdep.c: Likewise.
1300 * sparcnbsd-tdep.c: Likewise.
1301 * sparcobsd-tdep.c: Likewise.
1302 * spu-multiarch.c: Likewise.
1303 * spu-tdep.c: Likewise.
1304 * stabsread.c: Likewise.
1305 * stack.c: Likewise.
1306 * symfile.c: Likewise.
1307 * symtab.c: Likewise.
1308 * target-descriptions.c: Likewise.
1309 * target-memory.c: Likewise.
1310 * target.c: Likewise.
1311 * tic6x-linux-tdep.c: Likewise.
1312 * tic6x-tdep.c: Likewise.
1313 * tilegx-linux-nat.c: Likewise.
1314 * tilegx-tdep.c: Likewise.
1315 * top.c: Likewise.
1316 * tramp-frame.c: Likewise.
1317 * tui/tui-out.c: Likewise.
1318 * tui/tui-winsource.c: Likewise.
1319 * ui-out.c: Likewise.
1320 * user-regs.c: Likewise.
1321 * utils.c: Likewise.
1322 * v850-tdep.c: Likewise.
1323 * valops.c: Likewise.
1324 * value.c: Likewise.
1325 * varobj.c: Likewise.
1326 * vax-nat.c: Likewise.
1327 * xml-syscall.c: Likewise.
1328 * xml-tdesc.c: Likewise.
1329 * xstormy16-tdep.c: Likewise.
1330 * xtensa-linux-nat.c: Likewise.
1331 * xtensa-tdep.c: Likewise.
1332
e76df0d0
GB
13332014-08-07 Gary Benson <gbenson@redhat.com>
1334
1335 * common/common-defs.h: Include common-utils.h.
1336 * defs.h: Do not include common-utils.h.
1337 * common/gdb_assert.h: Likewise.
1338 * darwin-nat.h: Likewise.
1339 * nat/linux-btrace.c: Likewise.
1340 * target/waitstatus.h: Likewise.
1341
4cb9c816
GB
13422014-08-07 Gary Benson <gbenson@redhat.com>
1343
1344 * common/common-defs.h: Include ptid.h.
1345 * defs.h: Do not include ptid.h.
1346 * inferior.h: Likewise.
1347 * infrun.h: Likewise.
1348 * nat/linux-btrace.h: Likewise.
1349 * nat/linux-osdata.h: Likewise.
1350 * target/waitstatus.h: Likewise.
1351
3995eeee
GB
13522014-08-07 Gary Benson <gbenson@redhat.com>
1353
1354 * common/common-defs.h: Include gdb_locale.h.
1355 * defs.h: Do not include gdb_locale.h.
1356
cb9f1a9b
GB
13572014-08-07 Gary Benson <gbenson@redhat.com>
1358
1359 * common/common-defs.h: Include gdb/signals.h.
1360 * defs.h: Do not include gdb/signals.h.
1361
a5fceff8
GB
13622014-08-07 Gary Benson <gbenson@redhat.com>
1363
1364 * common/common-defs.h: Include pathmax.h.
1365 * defs.h: Do not include pathmax.h.
1366
b9391142
GB
13672014-08-07 Gary Benson <gbenson@redhat.com>
1368
1369 * common/common-defs.h: Include libiberty.h.
1370 * defs.h: Do not include libiberty.h.
1371 * common/queue.h: Likewise.
1372 * cp-name-parser.y: Likewise.
1373 * mi/mi-cmd-catch.c: Likewise.
1374 * python/python.c: Likewise.
1375
0e443c87
GB
13762014-08-07 Gary Benson <gbenson@redhat.com>
1377
1378 * common/common-defs.h: Include ansidecl.h.
1379 * defs.h: Do not include ansidecl.h.
1380 * common/buffer.h: Likewise.
1381 * common/common-utils.h: Likewise.
1382
8ebb3f56
GB
13832014-08-07 Gary Benson <gbenson@redhat.com>
1384
1385 * common/common-defs.h: Include stddef.h.
1386 * defs.h: Do not include stddef.h.
1387 * common/common-utils.h: Likewise.
1388 * amd64fbsd-nat.c: Likewise.
1389 * bcache.c: Likewise.
1390 * charset.c: Likewise.
1391 * common/buffer.h: Likewise.
1392 * common/vec.h: Likewise.
1393 * i386bsd-nat.c: Likewise.
1394 * nat/linux-btrace.h: Likewise.
1395 * ppcfbsd-nat.c: Likewise.
1396 * ppcnbsd-tdep.h: Likewise.
1397 * ppcobsd-nat.c: Likewise.
1398 * ppcobsd-tdep.h: Likewise.
1399 * python/py-gdb-readline.c: Likewise.
1400
8980bdf6
GB
14012014-08-07 Gary Benson <gbenson@redhat.com>
1402
1403 * common/common-defs.h: Include stdarg.h.
1404 * defs.h: Do not include stdarg.h.
1405 * ada-lang.c: Likewise.
1406 * common/common-utils.h: Likewise.
1407 * guile/scm-string.c: Likewise.
1408 * guile/scm-utils.c: Likewise.
1409 * m32c-tdep.c: Likewise.
1410
d7096f71
GB
14112014-08-07 Gary Benson <gbenson@redhat.com>
1412
1413 * common/common-defs.h: Include stdlib.h.
1414 * defs.h: Do not include stdlib.h.
1415 * addrmap.c: Likewise.
1416 * bcache.c: Likewise.
1417 * common/buffer.c: Likewise.
1418 * common/common-utils.c: Likewise.
1419 * cp-name-parser.y: Likewise.
1420 * go32-nat.c: Likewise.
1421 * mn10300-linux-tdep.c: Likewise.
1422 * nat/linux-osdata.c: Likewise.
1423 * tui/tui.c: Likewise.
1424 * windows-nat.c: Likewise.
1425
d02f550d
GB
14262014-08-07 Gary Benson <gbenson@redhat.com>
1427
1428 * common/common-defs.h: Include stdio.h.
1429 * defs.h: Do not include stdio.h.
1430 * ada-lang.c: Likewise.
1431 * common/buffer.c: Likewise.
1432 * common/common-utils.c: Likewise.
1433 * cp-name-parser.y: Likewise.
1434 * gnu-nat.c: Likewise.
1435 * go32-nat.c: Likewise.
1436 * i386gnu-nat.c: Likewise.
1437 * proc-api.c: Likewise.
1438 * proc-events.c: Likewise.
1439 * proc-flags.c: Likewise.
1440 * proc-why.c: Likewise.
1441 * python/python-internal.h: Likewise.
1442 * target-memory.c: Likewise.
1443 * tui/tui-io.c: Likewise.
1444 * tui/tui.c: Likewise.
1445
b6d7a4bf
SM
14462014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1447
1448 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1449 (scan_dyntag_auxv): Same.
1450
af19829b
YQ
14512014-08-06 Yao Qi <yao@codesourcery.com>
1452
1453 * amd64-linux-nat.c: Remove duplicated include
1454 "x86-linux-nat.h".
1455 * i386-linux-nat.c: Likewise.
1456
8e07a239
YQ
14572014-08-06 Yao Qi <yao@codesourcery.com>
1458
1459 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1460 operand" with "Special opcode" in comments.
1461
7bfe8241
GB
14622014-08-05 Gary Benson <gbenson@redhat.com>
1463
1464 * interps.c (initialize_interps): Remove prototype.
1465 (interpreter_initialized): Remove static global.
1466 (interp_add): Do not call initialize_interps.
1467 (initialize_interps): Remove function.
1468
d6c95504
GB
14692014-08-05 Gary Benson <gbenson@redhat.com>
1470
1471 * utils.c (vwarning): Remove spurious va_end.
1472
241fd515
AM
14732014-08-05 Alan Modra <amodra@gmail.com>
1474
1475 * charset.c (convert_between_encodings): Cast result of obstack_base.
1476 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1477 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1478 (read_unwind_info): Use size_t for some locals.
1479 * jit.c (finalize_symtab): Likewise.
1480 * utils.c (hashtab_obstack_allocate): Likewise.
1481 * symmisc.c (print_objfile_statistics): Update format strings.
1482
dc304a94
JK
14832014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1484
1485 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1486 (Changes in GDB 7.8): ... here.
1487
3cecbbbe
TT
14882014-08-04 Tom Tromey <tromey@redhat.com>
1489
1490 * target.c (set_targetdebug): New function.
1491 (initialize_targets): Pass set_targetdebug when creating "set
1492 debug target".
1493
6908c509
JB
14942014-08-01 Joel Brobecker <brobecker@adacore.com>
1495
1496 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1497 if detecting a variable-sized field that is not the last field.
1498 Fix struct type length computation.
1499
53e8f97d
JB
15002014-08-01 Joel Brobecker <brobecker@adacore.com>
1501
1502 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1503 Add debug trace.
1504
e068c55d
JB
15052014-08-01 Joel Brobecker <brobecker@adacore.com>
1506
1507 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1508 Remove "+ 8" offset in computation of CHAIN_VMA.
1509
4d4ca2a1
DE
15102014-07-31 Doug Evans <dje@google.com>
1511
1512 * inflow.c (child_terminal_inferior): Add comment.
1513 (child_terminal_ours_for_output): Add comment.
1514 (child_terminal_ours): Add comment.
1515 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1516 (linux_nat_terminal_ours): Add comment.
1517
462f517e
GB
15182014-07-31 Gary Benson <gbenson@redhat.com>
1519
1520 * common/btrace-common.h: Do not include defs.h or server.h.
1521 * nat/mips-linux-watch.h: Likewise.
1522 * gdb-dlfcn.h: Do not include defs.h.
1523 * tracefile.h: Likewise.
1524
74228e77
RM
15252014-07-30 Roland McGrath <mcgrathr@google.com>
1526
1527 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1528
014f9477
TT
15292014-07-30 Tom Tromey <tromey@redhat.com>
1530
1531 * bsd-kvm.c (bsd_kvm_open): Constify.
1532 * corelow.c (core_open): Constify.
1533 * ctf.c (ctf_open): Constify.
1534 * dbug-rom.c (dbug_open): Constify.
1535 * exec.c (exec_open): Constify.
1536 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1537 * microblaze-rom.c (picobug_open): Constify.
1538 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1539 Constify.
1540 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1541 * record-btrace.c (record_btrace_open): Constify.
1542 * record-full.c (record_full_core_open_1, record_full_open_1)
1543 (record_full_open): Constify.
1544 * remote-m32r-sdi.c (m32r_open): Constify.
1545 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1546 (rockhopper_open, lsi_open): Constify.
1547 * remote-sim.c (gdbsim_open): Constify.
1548 * remote.c (remote_open, extended_remote_open, remote_open_1):
1549 Constify.
1550 * target.h (struct target_ops) <to_open>: Make "arg" const.
1551 * tracefile-tfile.c (tfile_open): Constify.
1552
e799154c
TT
15532014-07-30 Tom Tromey <tromey@redhat.com>
1554
1555 * breakpoint.c (map_breakpoint_numbers): Update.
1556 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1557 (get_number_const): New function.
1558 (get_number): Rewrite using get_number_const.
1559 (init_number_or_range): Make "string" const.
1560 (number_is_in_list): Make "list" const.
1561 * cli/cli-utils.h (get_number_const): Declare.
1562 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1563 (init_number_or_range, number_is_in_list): Update.
1564 * printcmd.c (map_display_numbers): Update.
1565 * value.c (value_from_history_ref): Constify.
1566 * value.h (value_from_history_ref): Update.
1567
5f08566b
TT
15682014-07-30 Tom Tromey <tromey@redhat.com>
1569
1570 * corefile.c (hook_type, call_extra_exec_file_hooks)
1571 (specify_exec_file_hook): Constify.
1572 * exec.c (exec_file_attach): Make "filename" const.
1573 * gdbcore.h (deprecated_exec_file_display_hook)
1574 (specify_exec_file_hook, exec_file_attach): Constify.
1575 * main.c (captured_main): Use catch_command_errors_const.
1576
8981c758
TT
15772014-07-30 Tom Tromey <tromey@redhat.com>
1578
1579 * target.c (open_target): New function.
1580 (add_target_with_completer, add_deprecated_target_alias): Use
1581 set_cmd_sfunc, set_cmd_context.
1582 (debug_to_open): Remove.
1583 (setup_target_debug): Update.
1584
a1c7835a
YQ
15852014-07-30 Yao Qi <yao@codesourcery.com>
1586
1587 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1588 comments.
1589 * parse.c (exp_iterate): Update comments.
1590
976411d6
GB
15912014-07-30 Gary Benson <gbenson@redhat.com>
1592
1593 * common/common-defs.h: New file.
1594 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1595 * defs.h: Include common-defs.h.
1596 Do not include config.h or build-gnulib/config.h.
1597
5d4848a4
GB
15982014-07-30 Gary Benson <gbenson@redhat.com>
1599
1600 * common/common-utils.h: Do not include config.h.
1601 * nat/linux-btrace.h: Likewise.
1602
d41f6d8e
GB
16032014-07-30 Gary Benson <gbenson@redhat.com>
1604
1605 * btrace.c: Include defs.h.
1606 * common/ptid.c: Include defs.h or server.h as appropriate.
1607 * nat/mips-linux-watch.c: Likewise.
1608
84202f9c
TT
16092014-07-29 Tom Tromey <tromey@redhat.com>
1610
1611 * target.c (target_is_pushed): Simplify.
1612
2530441c
JB
16132014-07-29 Joel Brobecker <brobecker@adacore.com>
1614
1615 GDB 7.8 released.
1616
7e09a223
YQ
16172014-07-29 Yao Qi <yao@codesourcery.com>
1618
1619 PR gdb/17206
1620 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1621
7ebdbe92
DE
16222014-07-28 Doug Evans <xdje42@gmail.com>
1623
1624 PR guile/17203
1625 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1626 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1627 parameters.
1628
f347ffc9
WN
16292014-07-28 Will Newton <will.newton@linaro.org>
1630
1631 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1632 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1633 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1634 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1635 (THUMB2_EABI_SYSCALL): Likewise.
1636 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1637 struct tramp_frame.
1638 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1639 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1640
37c5f1f7
DE
16412014-07-27 Doug Evans <xdje42@gmail.com>
1642
1643 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1644
0c3abbc7
DE
16452014-07-27 Doug Evans <xdje42@gmail.com>
1646
1647 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1648
e76c5d17
DE
16492014-07-26 Ludovic Courtès <ludo@gnu.org>
1650 Doug Evans <xdje42@gmail.com>
1651
1652 PR guile/17146
1653 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1654 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1655 * configure.ac: Try to use guild to compile an scm file, if it fails
1656 then disable guile support.
1657 * configure: Regenerate.
1658 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1659 GUILE_FILE_LIST.
1660 (GUILE_COMPILED_FILES): New variable.
1661 (GUILE_FILES) Update.
1662 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1663 (stamp-guile): Compile scm files.
1664 * guile/guile.c (boot_guile_support): New function.
1665 (standard_throw_args_p): New function.
1666 (print_standard_throw_error, print_throw_error): New functions.
1667 (handle_boot_error): New function.
1668 (initialize_scheme_side): Rewrite to call boot_guile_support.
1669 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1670 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1671
186fcde0
DE
16722014-07-26 Ludovic Courtès <ludo@gnu.org>
1673 Doug Evans <xdje42@gmail.com>
1674
1675 PR guile/17146
1676 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1677 * guile/lib/gdb/support.scm: New file.
1678 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1679 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1680 All uses updated.
1681 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1682 All uses updated.
1683 (%assert-type): Ditto, and renamed to assert-type.
1684 (%exception-print-style): Delete.
1685
4df42755
DE
16862014-07-26 Doug Evans <xdje42@gmail.com>
1687
1688 PR build/17105
1689 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1690 * configure: Regenerate.
1691 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1692 PYTHON_FILES.
1693 (PYTHON_FILES): New variable.
1694 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1695 (GUILE_FILES): New variable.
1696 (stamp-python, install-python, uninstall-python): Handle empty
1697 file list.
1698 (stamp-guile, install-guile, uninstall-guile): Ditto.
1699
ee7333ae
DE
17002014-07-26 Doug Evans <xdje42@gmail.com>
1701
1702 PR guile/17177
1703 * guile/lib/gdb.scm (pretty-printers): Export.
1704 (set-pretty-printers!): Export.
1705 * guile/lib/gdb/printing.scm (gdb module): Update.
1706 (prepend-pretty-printer!, append-pretty-printer!): Update.
1707 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1708 (pretty_printer_list_var): Delete.
1709 (pretty_printer_list): New static global.
1710 (gdbscm_pretty_printers): New function.
1711 (gdbscm_set_pretty_printers_x): New function.
1712 (ppscm_find_pretty_printer_from_gdb): Update.
1713 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1714 (gdbscm_initialize_pretty_printers): Update.
1715
74edf516
DE
17162014-07-26 Doug Evans <xdje42@gmail.com>
1717
1718 PR 17185
1719 * configure.ac: Add check for header gc/gc.h.
1720 Add check for function setenv.
1721 * configure: Regenerate.
1722 * config.in: Regenerate.
1723 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1724
d54398a7
MR
17252014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1726
1727 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1728 variation in gdbarch matching.
1729
ab16fce8
TT
17302014-07-25 Tom Tromey <tromey@redhat.com>
1731
1732 * exec.c (using_exec_ops): Remove.
1733 (exec_close_1): Update. Remove extraneous block, reindent.
1734 (add_target_sections): Use target_is_pushed.
1735
88056fbb
PA
17362014-07-25 Pedro Alves <palves@redhat.com>
1737
1738 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1739 * monitor.c (monitor_create_inferior): Likewise.
1740 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1741 * remote-sim.c (gdbsim_create_inferior): Likewise.
1742 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1743 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1744 * windows-nat.c (do_initial_windows_stuff): Likewise.
1745
70509625
PA
17462014-07-25 Pedro Alves <palves@redhat.com>
1747
1748 * NEWS: Mention signal passing and "signal" command changes.
1749 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1750 comment.
1751 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1752 call.
1753 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1754 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1755 (jump_command): Adjust clear_proceed_status call.
1756 (signal_command): Warn if other thread that are resumed have
1757 signals that will be delivered. Adjust clear_proceed_status call.
1758 (until_next_command, finish_command)
1759 (proceed_after_attach_callback, attach_command_post_wait)
1760 (attach_command): Adjust clear_proceed_status call.
1761 * infrun.c (proceed_after_vfork_done): Likewise.
1762 (proceed_after_attach_callback): Adjust comment.
1763 (clear_proceed_status_thread): Clear stop_signal if not in pass
1764 state.
1765 (clear_proceed_status_callback): Delete.
1766 (clear_proceed_status): New 'step' parameter. Only clear the
1767 proceed status of threads the command being prepared is about to
1768 resume.
1769 (proceed): If passed in an explicit signal, override stop_signal
1770 with it. Don't pass the last stop signal to the thread we're
1771 resuming.
1772 (init_wait_for_inferior): Adjust clear_proceed_status call.
1773 (switch_back_to_stepped_thread): Clear the signal if it should not
1774 be passed.
1775 * infrun.h (clear_proceed_status): New 'step' parameter.
1776 (user_visible_resume_ptid): Add comment.
1777 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1778 signal is in pass state.
1779 * remote.c (append_pending_thread_resumptions): Likewise.
1780 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1781
d8be2939
TT
17822014-07-25 Tom Tromey <tromey@redhat.com>
1783
1784 * target.h (target_stopped_data_address)
1785 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1786 parentheses.
1787
7d0d9d2b
PL
17882014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1789
1790 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1791 comments.
1792 (avr_pointer_to_address): Likewise.
1793
e9e7f724
TT
17942014-07-24 Tom Tromey <tromey@redhat.com>
1795
1796 * monitor.c (compile_pattern): Update.
1797 * target.h (struct target_ops) <to_shortname, to_longname,
1798 to_doc>: Now const.
1799
1947513d
TT
18002014-07-24 Tom Tromey <tromey@redhat.com>
1801
1802 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1803 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1804 (add_info_alias, add_com): Make "doc" const.
1805 (print_doc_line): Make "str" const.
1806 (delete_cmd): Update.
1807 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1808 (print_doc_line): Update.
1809 * cli/cli-script.c (document_command): Update.
1810 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1811 (add_com, add_info, add_info_alias): Update.
1812 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1813 * python/py-cmd.c (cmdpy_destroyer): Update.
1814
64e61d29
TT
18152014-07-24 Tom Tromey <tromey@redhat.com>
1816
1817 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1818 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1819 (help_cmd_list): Constify.
1820 (lookup_cmd): Update.
1821 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1822 const.
1823 (help_cmd_list, apropos_cmd): Update.
1824 * cli/cli-script.c (show_user): Update.
1825 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1826 * cli/cli-setshow.h (cmd_show_list): Update.
1827 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1828 (cmd_show_list): Update.
1829 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1830 * python/py-cmd.c (cmdpy_destroyer): Update.
1831
429e55ea
TT
18322014-07-24 Tom Tromey <tromey@redhat.com>
1833
1834 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1835 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1836 const.
1837 * command.h (deprecate_cmd): Update.
1838 * maint.c (maintenance_do_deprecate): Add casts.
1839
64669f3b
TT
18402014-07-24 Tom Tromey <tromey@redhat.com>
1841
1842 * cli/cli-decode.c (help_cmd): Make parameter "const".
1843 * cli/cli-decode.h (help_cmd): Update.
1844
d3d3328b
TT
18452014-07-24 Tom Tromey <tromey@redhat.com>
1846
1847 * stack.c (up_silently_base, down_silently_base): Make argument
1848 const.
1849
414842dc
TT
18502014-07-24 Tom Tromey <tromey@redhat.com>
1851
1852 * solib.c (solib_add): Make "pattern" const.
1853 * solib.h (solib_add): Update.
1854
baa336ce
TT
18552014-07-24 Tom Tromey <tromey@redhat.com>
1856
1857 * remote.c (remote_serial_open, print_packet, putpkt)
1858 (putpkt_binary): Constify.
1859 * remote.h (putpkt): Update.
1860
5a19e2d0
TT
18612014-07-24 Tom Tromey <tromey@redhat.com>
1862
1863 * monitor.c (monitor_open): Make "args" const.
1864 * monitor.h (monitor_open): Update.
1865
fc4baa5e
TT
18662014-07-24 Tom Tromey <tromey@redhat.com>
1867
1868 * maint.c (match_bfd_flags): Make "string" const.
1869 (print_bfd_section_info): Remove casts.
1870 (print_objfile_section_info): Make "string" const.
1871
0d5f0dbe
TT
18722014-07-24 Tom Tromey <tromey@redhat.com>
1873
1874 * inf-child.c (inf_child_open_target): Make "arg" const.
1875 * inf-child.h (inf_child_open_target): Update.
1876
41c77899
TT
18772014-07-24 Tom Tromey <tromey@redhat.com>
1878
1879 * environ.c (unset_in_environ): Make "var" const.
1880 * environ.h (unset_in_environ): Update.
1881
93db0d79
TT
18822014-07-24 Tom Tromey <tromey@redhat.com>
1883
1884 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1885 Make "cmd" const.
1886 (scan_filename_with_cleanup): Likewise.
1887 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1888 Make arguments const.
1889 (restore_command): Update.
1890
36d6eb95
PA
18912014-07-24 Pedro Alves <palves@redhat.com>
1892
1893 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1894
8009206a
TT
18952014-07-24 Tom Tromey <tromey@redhat.com>
1896 Gary Benson <gbenson@redhat.com>
1897
1898 * nat/linux-ptrace.c (additional_flags): New global.
1899 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1900 additional_flags; don't check GDBSERVER.
1901 (linux_ptrace_set_additional_flags): New function.
1902 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1903 Declare.
1904 * linux-nat.c (_initialize_linux_nat): Call
1905 linux_ptrace_set_additional_flags.
1906
a7068b60
TT
19072014-07-24 Tom Tromey <tromey@redhat.com>
1908
1909 * make-target-delegates (munge_type, write_debugmethod): New
1910 functions.
1911 (debug_names): New global.
1912 ($TARGET_DEBUG_PRINTER): New global.
1913 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1914 name.
1915 Write debug methods. Generate init_debug_target.
1916 * target-debug.h: New file.
1917 * target-delegates.c: Rebuild.
1918 * target.c: Include target-debug.h.
1919 (debug_target): Hoist definition.
1920 (target_kill, target_get_section_table, target_memory_map)
1921 (target_flash_erase, target_flash_done, target_detach)
1922 (target_disconnect, target_wait, target_resume)
1923 (target_pass_signals, target_program_signals, target_follow_fork)
1924 (target_mourn_inferior, target_search_memory)
1925 (target_thread_address_space, target_close)
1926 (target_find_new_threads, target_core_of_thread)
1927 (target_verify_memory, target_insert_mask_watchpoint)
1928 (target_remove_mask_watchpoint): Remove targetdebug code.
1929 (debug_to_post_attach, debug_to_prepare_to_store)
1930 (debug_to_files_info, debug_to_insert_breakpoint)
1931 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1932 (debug_to_region_ok_for_hw_watchpoint)
1933 (debug_to_can_accel_watchpoint_condition)
1934 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1935 (debug_to_watchpoint_addr_within_range)
1936 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1937 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1938 (debug_to_terminal_init, debug_to_terminal_inferior)
1939 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1940 (debug_to_terminal_save_ours, debug_to_terminal_info)
1941 (debug_to_load, debug_to_post_startup_inferior)
1942 (debug_to_insert_fork_catchpoint)
1943 (debug_to_remove_fork_catchpoint)
1944 (debug_to_insert_vfork_catchpoint)
1945 (debug_to_remove_vfork_catchpoint)
1946 (debug_to_insert_exec_catchpoint)
1947 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1948 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1949 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1950 (setup_target_debug): Call init_debug_target.
1951 * target.h (TARGET_DEBUG_PRINTER): New macro.
1952 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1953 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1954
2c51604d
GB
19552014-07-24 Gary Benson <gbenson@redhat.com>
1956
1957 * exceptions.h (throw_vfatal): Renamed to...
1958 (throw_vquit): New declaration.
1959 (throw_quit): Likewise.
1960 * exceptions.c (throw_vfatal): Renamed to...
1961 (throw_vquit): New function.
1962 (throw_quit): Likewise.
1963 (throw_error): Call throw_verror rather than throw_it.
1964 * utils.h (vfatal): Removed.
1965 (fatal): Likewise.
1966 * utils.c (vfatal): Removed.
1967 (fatal): Likewise.
1968 (internal_verror): Replaced call to fatal with call to throw_quit.
1969 (quit): Replaced calls to fatal with calls to throw_quit.
1970
34211963
ME
19712014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1972
1973 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1974 target_read_code.
1975
a52b4d3e
ME
19762014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1977
1978 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1979 less than zero in conditional expression.
1980
a8bdc56b
TT
19812014-07-23 Tom Tromey <tromey@redhat.com>
1982
1983 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1984 ($INTRO_PART): Don't match whitespace.
1985 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1986 argument matching.
1987 ($METHOD): Add $METHOD_TRAILER.
1988 (trim): Rewrite.
1989 (scan_target_h): New sub.
1990 Change main loop not to collect state.
1991 * target-delegates.c: Rebuild.
1992
91b52240
GB
19932014-07-23 Gary Benson <gbenson@redhat.com>
1994
1995 * cp-support.c (gdb_demangle): Fix build on systems without
1996 sigaltstack.
1997
45326f6f
JK
19982014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1999
2000 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2001 for reference entry value target data value.
2002
e214cf6c
JK
20032014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2004
2005 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2006 value_available_contents_eq.
2007
bddbbedd
PA
20082014-07-22 Pedro Alves <palves@redhat.com>
2009
2010 * value.c (allocate_optimized_out_value): Don't mark value as
2011 non-lazy.
2012
45c71484
JW
20132014-07-22 Jiong Wang <jiong.wang@arm.com>
2014
2015 * MAINTAINERS (Write After Approval): Update my email address.
2016
9597b22a
DE
20172014-07-20 Doug Evans <dje@google.com>
2018
2019 PR server/17147
2020 * remote.c (putpkt_binary): Add text to error message.
2021
91101fe5
YQ
20222014-07-20 Yao Qi <yao@codesourcery.com>
2023
2024 * eval.c: Remove "Chill" from comments.
2025 * gdbtypes.h: Likewise.
2026 * symtab.h: Likewise.
2027
c9402c95
YQ
20282014-07-20 Yao Qi <yao@codesourcery.com>
2029
2030 * std-operator.def: Update comments to TERNOP_SLICE.
2031
ae8fddda
YQ
20322014-07-20 Yao Qi <yao@codesourcery.com>
2033
2034 * std-operator.def: Remove BINOP_RANGE.
2035 * breakpoint.c (watchpoint_exp_is_const): Update.
2036 * expprint.c (dump_subexp_body_standard): Likewise.
2037 * eval.c (init_array_element): Remove dead code.
2038 (evaluate_subexp_standard): Likewise.
2039
9c816640
YQ
20402014-07-20 Yao Qi <yao@codesourcery.com>
2041
2042 * std-operator.def: Remove BINOP_IN.
2043 * breakpoint.c (watchpoint_exp_is_const): Update.
2044 * eval.c (evaluate_subexp_standard): Likewise.
2045 * expprint.c (dump_subexp_body_standard): Likewise.
2046
164224e9
ME
20472014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2048
2049 * microblaze-tdep.c (microblaze_register_names): Add
2050 the rshr and rslr register names.
2051 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2052 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2053 Use of tdesc_numbered_register. Use of
2054 microblaze_register_g_packet_guesses. Use of
2055 tdesc_use_registers. Use of set_gdbarch_register_type.
2056 (microblaze_register_g_packet_guesses): New.
2057 * microblaze-tdep.h (microblaze_reg_num): Add
2058 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2059 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2060 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2061 * features/microblaze-core.xml: New file.
2062 * features/microblaze-stack-protect.xml: New file.
2063 * features/microblaze-with-stack-protect.c: New file.
2064 * features/microblaze-with-stack-protect.xml: New file.
2065 * features/microblaze.xml: New file.
2066 * features/microblaze.c: New file.
2067 * features/Makefile (microblaze-with-stack-protect): Add
2068 microblaze-with-stack-protect microblaze and microblaze-expedite.
2069 * regformats/microblaze-with-stack-protect.dat: New file.
2070 * regformats/microblaze.dat: New file.
2071 * doc/gdb.texinfo (MicroBlaze Features): Added.
2072
e8b2341c
TT
20732014-07-18 Tom Tromey <tromey@redhat.com>
2074
2075 * exec.c (exec_ops): Now static.
2076 * exec.h (exec_ops): Don't declare.
2077
44e89118
TT
20782014-07-18 Tom Tromey <tromey@redhat.com>
2079
2080 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2081 to find_target_beneath.
2082 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2083 find_target_beneath.
2084 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2085
b0ed115f
TT
20862014-07-18 Tom Tromey <tromey@redhat.com>
2087
2088 PR gdb/17130:
2089 * utils.c (quit): Use target_supports_terminal_ours.
2090 * target.h (target_supports_terminal_ours): Declare.
2091 * target.c (target_supports_delete_record): Don't check
2092 to_delete_record against NULL.
2093 (target_supports_terminal_ours): New function.
2094
e75fdfca
TT
20952014-07-18 Tom Tromey <tromey@redhat.com>
2096
2097 PR gdb/17130:
2098 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2099 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2100 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2101 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2102 * windows-nat.c (windows_xfer_partial): Always delegate.
2103 * record-btrace.c (record_btrace_xfer_partial): Simplify
2104 delegation.
2105 (record_btrace_fetch_registers, record_btrace_store_registers)
2106 (record_btrace_prepare_to_store, record_btrace_resume)
2107 (record_btrace_wait, record_btrace_find_new_threads)
2108 (record_btrace_thread_alive): Likewise.
2109 * procfs.c (procfs_xfer_partial): Always delegate.
2110 * corelow.c (core_xfer_partial): Always delegate.
2111 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2112
83814951
TT
21132014-07-18 Tom Tromey <tromey@redhat.com>
2114
2115 * exec.c (exec_make_note_section): Move earlier.
2116
b8b8facf
DE
21172014-07-17 Doug Evans <dje@google.com>
2118
74b49205 2119 PR gdb/17170
b8b8facf
DE
2120 * maint.c (count_symtabs_and_blocks): Handle NULL
2121 current_program_space.
2122 (report_command_stats): Check global enabled flag in addition to
2123 recorded enabled flag.
2124 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2125
69ff6be5
PA
21262014-07-16 Pedro Alves <palves@redhat.com>
2127
2128 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2129
252db1b5
TT
21302014-07-16 Tom Tromey <tromey@redhat.com>
2131
2132 * target.h (struct target_ops) <to_delete_record>: Reformat
2133 comment.
2134
a432721e
TT
21352014-07-16 Tom Tromey <tromey@redhat.com>
2136
2137 * target-delegates.c: Rebuild.
2138
487d9753
PL
21392014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2140
2141 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2142 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2143 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2144 (avr_pointer_to_address): Likewise.
2145 (avr_address_class_type_flags): New function.
2146 (avr_address_class_type_flags_to_name): Likewise.
2147 (avr_address_class_name_to_type_flags): Likewise.
2148 (avr_gdbarch_init): Set address_class_type_flags,
2149 address_class_type_flags_to_name and
2150 address_class_name_to_type_flags.
2151
57745c90
PA
21522014-07-15 Pedro Alves <palves@redhat.com>
2153
2154 * linux-nat.c (kill_callback): Save errno and work with saved
2155 copy.
2156
2d40be18
SM
21572014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2158
2159 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2160
572f6555
EBM
21612014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2162
2163 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2164 breakpoint support correctly.
2165
cc1c52ad
PA
21662014-07-14 Pedro Alves <palves@redhat.com>
2167
2168 * utils.c (prompt_for_continue): Call target_terminal_ours.
2169
1e973570
PA
21702014-07-14 Pedro Alves <palves@redhat.com>
2171
2172 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2173 catch_errors. Don't re-enable stdin or notify observers where,
2174 and rethrow error.
2175 (fetch_inferior_event_wrapper): Delete.
2176
93d6eb10
PA
21772014-07-14 Pedro Alves <palves@redhat.com>
2178
2179 PR gdb/17072
2180 * top.c: Include "inf-loop.h".
2181 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2182 field.
2183 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2184 was async before.
2185 (gdb_readline_wrapper): Store whether the target is async, and
2186 make it sync.
2187
0017922d
PA
21882014-07-14 Pedro Alves <palves@redhat.com>
2189
2190 PR gdb/17072
2191 * top.c (gdb_readline_wrapper_line): Tweak comment.
2192 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2193 the input handler callback.
2194
94696ad3
PA
21952014-07-14 Pedro Alves <palves@redhat.com>
2196
2197 PR gdb/17072
2198 * main.c: Include event-top.h.
2199 (handle_command_errors): New function.
2200 (catch_command_errors, catch_command_errors_const): Use it.
2201
9d1e69a2
PA
22022014-07-14 Pedro Alves <palves@redhat.com>
2203
2204 * exceptions.c (catch_command_errors, catch_command_errors_const):
2205 Moved to main.c.
2206 * exceptions.h (catch_command_errors_ftype)
2207 (catch_command_errors_const_ftype): Moved to main.c.
2208 (catch_command_errors, catch_command_errors_const): Delete
2209 declarations.
2210 * main.c (catch_command_errors_ftype)
2211 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2212 (catch_command_errors, catch_command_errors_const)): Moved here
2213 from exceptions.c and make static.
2214
feefc97b
PA
22152014-07-14 Pedro Alves <palves@redhat.com>
2216
2217 * exceptions.c (print_any_exception): Delete.
2218 (catch_exceptions_with_msg): Use exception_print instead of
2219 print_any_exception.
2220 (catch_errors): Use exception_fprintf instead of
2221 print_any_exception.
2222 (catch_command_errors, catch_command_errors_const): Use
2223 exception_print instead of print_any_exception.
2224
c933f875
PA
22252014-07-14 Pedro Alves <palves@redhat.com>
2226
2227 * infcall.c (run_inferior_call): Set 'sync_execution' while
2228 running the inferior call.
2229
feb6f816
PA
22302014-07-14 Pedro Alves <palves@redhat.com>
2231
2232 * value.c (value_contents_equal): Delete function.
2233 * value.h (value_contents_equal): Delete declaration.
2234
d98b7a16
TT
22352014-07-14 Tom Tromey <tromey@redhat.com>
2236
2237 PR exp/17106:
2238 * gdbtypes.c (is_dynamic_type_internal): New function, from
2239 is_dynamic_type.
2240 (is_dynamic_type): Rewrite.
2241 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2242 (resolve_dynamic_struct): Likewise.
2243 (resolve_dynamic_type_internal): New function, from
2244 resolve_dynamic_type.
2245 (resolve_dynamic_type): Rewrite.
2246
548740d6
TT
22472014-07-14 Tom Tromey <tromey@redhat.com>
2248
2249 * target.c (target_require_runnable): Also check record_stratum.
2250 Update comment.
2251
808f7ab1
YQ
22522014-07-11 Yao Qi <yao@codesourcery.com>
2253
2254 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2255 thumb_instruction_restores_sp return true.
2256
540314bd
YQ
22572014-07-11 Yao Qi <yao@codesourcery.com>
2258
2259 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2260 (thumb_in_function_epilogue_p): Call
2261 thumb_instruction_restores_sp.
2262
1db01f22
YQ
22632014-07-11 Yao Qi <yao@codesourcery.com>
2264
2265 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2266 'add sp, #imm'.
2267 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2268
3116063b
GB
22692014-07-11 Gary Benson <gbenson@redhat.com>
2270
2271 * amd64-linux-nat.c (gdbcore.h): Remove include.
2272 (regset.h): Likewise.
2273 (nat/linux-btrace.h): Likewise.
2274 (btrace.h): Likewise.
2275 (gdb_assert.h): Likewise.
2276 (string.h): Likewise.
2277 (sys/uio.h): Likewise.
2278 (sys/debugreg.h): Likewise.
2279 (sys/syscall.h): Likewise.
2280 (sys/procfs.h): Likewise.
2281 (sys/user.h): Likewise.
2282 (asm/ptrace.h): Likewise.
2283 (i386-nat.h): Likewise.
2284 * i386-linux-nat.c (i386-nat.h): Likewise.
2285 (regset.h): Likewise.
2286 (target.h): Likewise.
2287 (linux-nat.h): Likewise.
2288 (nat/linux-btrace.h): Likewise.
2289 (btrace.h): Likewise.
2290 (gdb_assert.h): Likewise.
2291 (string.h): Likewise.
2292 (sys/uio.h): Likewise.
2293 (sys/user.h): Likewise.
2294 (sys/procfs.h): Likewise.
2295 (sys/reg.h): Likewise.
2296 (sys/debugreg.h): Likewise.
2297 (ORIG_EAX): Remove definition.
2298
040baaf6
GB
22992014-07-11 Gary Benson <gbenson@redhat.com>
2300
2301 * i386-linux-nat.h: New file.
2302 * x86-linux-nat.h: Likewise.
2303 * x86-linux-nat.c: Likewise.
2304 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2305 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2306 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2307 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2308 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2309 (PTRACE_SETREGSET): Likewise.
2310 (arch_lwp_info): Now in x86-linux-nat.c.
2311 (have_ptrace_getregset): Now in x86-linux-nat.h.
2312 (x86_linux_dr_get): Now in x86-linux-nat.c.
2313 (x86_linux_dr_set): Likewise.
2314 (x86_linux_dr_get_addr): Likewise.
2315 (x86_linux_dr_get_control): Likewise.
2316 (x86_linux_dr_get_status): Likewise.
2317 (update_debug_registers_callback): Likewise.
2318 (x86_linux_dr_set_control): Likewise.
2319 (x86_linux_dr_set_addr): Likewise.
2320 (x86_linux_prepare_to_resume): Likewise.
2321 (x86_linux_new_thread): Likewise.
2322 (x86_linux_new_fork): Likewise.
2323 (x86_linux_get_thread_area): Likewise.
2324 (super_post_startup_inferior): Likewise.
2325 (x86_linux_child_post_startup_inferior): Likewise.
2326 (AMD64_LINUX_USER64_CS): Likewise.
2327 (AMD64_LINUX_X32_DS): Likewise.
2328 (x86_linux_read_description): Likewise.
2329 (x86_linux_enable_btrace): Likewise.
2330 (x86_linux_disable_btrace): Likewise.
2331 (x86_linux_teardown_btrace): Likewise.
2332 (x86_linux_read_btrace): Likewise.
2333 (x86_linux_create_target): Likewise.
2334 (x86_linux_add_target): Likewise.
2335 * i386-linux-nat.c (x86-linux-nat.h): New include.
2336 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2337 (PTRACE_SETREGSET): Likewise.
2338 (arch_lwp_info): Now in x86-linux-nat.c.
2339 (have_ptrace_getregset): Now in x86-linux-nat.h.
2340 (x86_linux_dr_get): Now in x86-linux-nat.c.
2341 (x86_linux_dr_set): Likewise.
2342 (x86_linux_dr_get_addr): Likewise.
2343 (x86_linux_dr_get_control): Likewise.
2344 (x86_linux_dr_get_status): Likewise.
2345 (update_debug_registers_callback): Likewise.
2346 (x86_linux_dr_set_control): Likewise.
2347 (x86_linux_dr_set_addr): Likewise.
2348 (x86_linux_prepare_to_resume): Likewise.
2349 (x86_linux_new_thread): Likewise.
2350 (x86_linux_new_fork): Likewise.
2351 (x86_linux_get_thread_area): Likewise.
2352 (super_post_startup_inferior): Likewise.
2353 (x86_linux_child_post_startup_inferior): Likewise.
2354 (AMD64_LINUX_USER64_CS): Likewise.
2355 (AMD64_LINUX_X32_DS): Likewise.
2356 (x86_linux_read_description): Likewise.
2357 (x86_linux_enable_btrace): Likewise.
2358 (x86_linux_disable_btrace): Likewise.
2359 (x86_linux_teardown_btrace): Likewise.
2360 (x86_linux_read_btrace): Likewise.
2361 (x86_linux_create_target): Likewise.
2362 (x86_linux_add_target): Likewise.
2363
1aa7e42c
GB
23642014-07-11 Gary Benson <gbenson@redhat.com>
2365
2366 * amd64-linux-nat.c: Comment and whitespace changes.
2367 * i386-linux-nat.c: Comment and whitespace changes.
2368
c1e246a0
GB
23692014-07-11 Gary Benson <gbenson@redhat.com>
2370
2371 * amd64-linux-nat.c (x86_linux_create_target): New function.
2372 (x86_linux_add_target): Likewise.
2373 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2374 * i386-linux-nat.c (x86_linux_create_target): New function.
2375 (x86_linux_add_target): Likewise.
2376 (_initialize_i386_linux_nat): Delegate to the above new functions.
2377
8c420b8d
GB
23782014-07-11 Gary Benson <gbenson@redhat.com>
2379
2380 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2381 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2382 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2383 (ps_get_thread_area): Delegate to the above.
2384
cb1da100
GB
23852014-07-11 Gary Benson <gbenson@redhat.com>
2386
2387 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2388 x86_linux_read_description. All uses updated. amd64-specific
2389 code conditionalized. Conditionalized i386-specific code added.
2390 Redundant cast removed.
2391 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2392 x86_linux_read_description. All uses updated. i386-specific
2393 code conditionalized. Conditionalized amd64-specific code added.
2394 One sizeof replaced with the actual type it is describing.
2395
2acf3cd0
GB
23962014-07-11 Gary Benson <gbenson@redhat.com>
2397
2398 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2399 x86_linux_dr_get. All uses updated.
2400 (amd64_linux_dr_set): Renamed to
2401 x86_linux_dr_set. All uses updated.
2402 (amd64_linux_dr_get_addr): Renamed to
2403 x86_linux_dr_get_addr. All uses updated.
2404 (amd64_linux_dr_get_control): Renamed to
2405 x86_linux_dr_get_control. All uses updated.
2406 (amd64_linux_dr_get_status): Renamed to
2407 x86_linux_dr_get_status. All uses updated.
2408 (amd64_linux_dr_set_control): Renamed to
2409 x86_linux_dr_set_control. All uses updated.
2410 (amd64_linux_dr_set_addr): Renamed to
2411 x86_linux_dr_set_addr. All uses updated.
2412 (amd64_linux_prepare_to_resume): Renamed to
2413 x86_linux_prepare_to_resume. All uses updated.
2414 (amd64_linux_new_thread): Renamed to
2415 x86_linux_new_thread. All uses updated.
2416 (amd64_linux_new_fork): Renamed to
2417 x86_linux_new_fork. All uses updated.
2418 (amd64_linux_child_post_startup_inferior): Renamed to
2419 x86_linux_child_post_startup_inferior. All uses updated.
2420 (amd64_linux_enable_btrace): Renamed to
2421 x86_linux_enable_btrace. All uses updated.
2422 (amd64_linux_disable_btrace): Renamed to
2423 x86_linux_disable_btrace. All uses updated.
2424 (amd64_linux_teardown_btrace): Renamed to
2425 x86_linux_teardown_btrace. All uses updated.
2426 (amd64_linux_read_btrace): Renamed to
2427 x86_linux_read_btrace. All uses updated.
2428 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2429 x86_linux_dr_get. All uses updated.
2430 (i386_linux_dr_set): Renamed to
2431 x86_linux_dr_set. All uses updated.
2432 (i386_linux_dr_get_addr): Renamed to
2433 x86_linux_dr_get_addr. All uses updated.
2434 (i386_linux_dr_get_control): Renamed to
2435 x86_linux_dr_get_control. All uses updated.
2436 (i386_linux_dr_get_status): Renamed to
2437 x86_linux_dr_get_status. All uses updated.
2438 (i386_linux_dr_set_control): Renamed to
2439 x86_linux_dr_set_control. All uses updated.
2440 (i386_linux_dr_set_addr): Renamed to
2441 x86_linux_dr_set_addr. All uses updated.
2442 (i386_linux_prepare_to_resume): Renamed to
2443 x86_linux_prepare_to_resume. All uses updated.
2444 (i386_linux_new_thread): Renamed to
2445 x86_linux_new_thread. All uses updated.
2446 (i386_linux_new_fork): Renamed to
2447 x86_linux_new_fork. All uses updated.
2448 (i386_linux_child_post_startup_inferior): Renamed to
2449 x86_linux_child_post_startup_inferior. All uses updated.
2450 (i386_linux_enable_btrace): Renamed to
2451 x86_linux_enable_btrace. All uses updated.
2452 (i386_linux_disable_btrace): Renamed to
2453 x86_linux_disable_btrace. All uses updated.
2454 (i386_linux_teardown_btrace): Renamed to
2455 x86_linux_teardown_btrace. All uses updated.
2456 (i386_linux_read_btrace): Renamed to
2457 x86_linux_read_btrace. All uses updated.
2458
b9c1d481
AS
24592014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2460
2461 * remote.c (extended_remote_post_attach): New function.
2462 (init_extended_remote_ops): Install it as to_post_attach method.
2463
7180e04a
PA
24642014-07-09 Pedro Alves <palves@redhat.com>
2465
2466 * infcmd.c (attach_command_post_wait): Don't call
2467 target_terminal_inferior here.
2468 (attach_command): Call it here instead.
2469
9a9a7608
AB
24702014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2471
2472 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2473 field.
2474 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2475 from varobj.c, with additional checks.
2476 (c_varobj_ops): Fill in is_path_expr_parent field.
2477 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2478 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2479 field.
2480 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2481 ops method.
2482 (varobj_default_is_path_expr_parent): New function.
2483 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2484 (varobj_default_is_path_expr_parent): Declare new function.
2485
1f267ae3
MM
24862014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2487
2488 * infcmd.c (finish_backward): Turn internal error into normal error.
2489
b2ee242b
PA
24902014-07-07 Pedro Alves <palves@redhat.com>
2491
8a869bca 2492 PR gdb/17096
b2ee242b
PA
2493 * remote.c (async_handle_remote_sigint)
2494 (async_handle_remote_sigint_twice): Call
2495 gdb_call_async_signal_handler instead of
2496 mark_async_signal_handler.
2497
38e229b2
TT
24982014-07-07 Tom Tromey <tromey@redhat.com>
2499
2500 * target-delegates.c: Rebuild.
2501 * target.c (target_info_record): Remove.
2502 * record.c (info_record_command): Unconditionally call
2503 to_info_record.
2504 * target.h (struct target_ops) <to_info_record>: Use
2505 TARGET_DEFAULT_IGNORE.
2506 (target_info_record): Remove.
2507
f0f9ff95
TT
25082014-07-07 Tom Tromey <tromey@redhat.com>
2509
2510 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2511 TARGET_DEFAULT_NORETURN.
2512 * target.c (generic_tls_error): New function.
2513 (target_translate_tls_address): Don't search target stack.
2514 * target-delegates.c: Rebuild.
2515 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2516 stack.
2517 * linux-thread-db.c (thread_db_get_thread_local_address):
2518 Unconditionally call beneath target.
2519
4a5be5ee
MK
25202014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2521
2522 * cli/cli-logging.c (pop_output_files): Assign targerr to
2523 gdb_stdtargerr.
2524
92c3b204
AB
25252014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2526
2527 * MAINTAINERS (Write After Approval): Update my email address.
2528
9b11e3a7
GB
25292014-07-02 Gary Benson <gbenson@redhat.com>
2530
2531 * proc-service.c (ps_xfer_memory): Update comment.
2532 (ps_pstop): Remove unused function.
2533 (ps_pcontinue): Likewise.
2534 (ps_lstop): Likewise.
2535 (ps_lcontinue): Likewise.
2536 (ps_lgetxregsize): Likewise.
2537 (ps_lgetxregs): Likewise.
2538 (ps_lsetxregs): Likewise.
2539 (ps_plog): Likewise.
2540 (ps_ptread): Likewise.
2541 (ps_ptwrite): Likewise.
2542
cf363f18
MW
25432014-07-01 Mark Wielaard <mjw@redhat.com>
2544
2545 * dwarf2read.c (add_array_cv_type): New function.
2546 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2547 (read_tag_volatile_type): Likewise.
2548
82ae6c8d
TT
25492014-07-01 Tom Tromey <tromey@redhat.com>
2550
2551 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2552 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2553 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2554 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2555 * command.h (cmd_cfunc_ftype): Move earlier.
2556 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2557 (add_com, add_info): Use cmd_cfunc_ftype.
2558
96142726
TT
25592014-06-30 Tom Tromey <tromey@redhat.com>
2560
2561 * symtab.c (operator_chars): Make parameters and return type
2562 const.
2563 (file_matches): Make "files" const.
2564 (struct search_symbols_data) <files>: Now const.
2565 (search_symbols): Make "regexp" and "files" parameters const.
2566 Update.
2567 (symtab_symbol_info): Remove cast.
2568 (rbreak_command): Update.
2569 * symtab.h (search_symbols): Update.
2570
b67a2c6f
YQ
25712014-06-27 Yao Qi <yao@codesourcery.com>
2572
2573 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2574 Change parameter type to 'struct thread_info *'. Caller
2575 updated.
2576 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2577 Update declaration.
2578 * dummy-frame.c (struct dummy_frame_id): New.
2579 (dummy_frame_id_eq): New function.
2580 (struct dummy_frame) <id>: Change its type to 'struct
2581 dummy_frame_id'.
2582 (dummy_frame_push): Add parameter ptid and save it in
2583 dummy_frame_id.
2584 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2585 inferior_ptid.
2586 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2587 to inferior_ptid.
2588 (lookup_dummy_frame): Change parameter type to 'struct
2589 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2590 instead of frame_id_eq.
2591 (dummy_frame_pop): Add parameter ptid. Callers updated.
2592 Update comments. Compose dummy_frame_id and pass it to
2593 lookup_dummy_frame.
2594 (dummy_frame_discard): Add parameter ptid.
2595 (dummy_frame_sniffer): Compose dummy_frame_id and call
2596 dummy_frame_id_eq instead of frame_id_eq.
2597 (fprint_dummy_frames): Print ptid.
2598 * dummy-frame.h: Remove comments.
2599 (dummy_frame_push): Add ptid in declaration.
2600 (dummy_frame_pop, dummy_frame_discard): Likewise.
2601
5b10184c
TT
26022014-06-26 Tom Tromey <tromey@redhat.com>
2603
2604 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2605 * command.h (error_no_arg): Update.
2606
06900326
TT
26072014-06-26 Tom Tromey <tromey@redhat.com>
2608
2609 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2610 (do_show_command): Make "arg" const.
2611 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2612
c2bcbb1d
TT
26132014-06-26 Tom Tromey <tromey@redhat.com>
2614
2615 * record-full.c (record_full_get_bookmark): Make "args" const.
2616 (record_full_goto_bookmark): Make "raw_bookmark" const.
2617 * record.c (record_goto): New function.
2618 (cmd_record_goto): Use it. Now static.
2619 * record.h (record_goto): Declare.
2620 (cmd_record_goto): Remove declaration.
2621 * target-delegates.c: Rebuild.
2622 * target.h (struct target_ops) <to_get_bookmark,
2623 to_goto_bookmark>: Make parameter const.
2624
9cbe5fff
TT
26252014-06-26 Tom Tromey <tromey@redhat.com>
2626
2627 * defs.h (generic_load): Update.
2628 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2629 * monitor.c (monitor_load): Make "args" const.
2630 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2631 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2632 const.
2633 (mips_load): Make "file" const.
2634 * remote-sim.c (gdbsim_load): Make "args" const.
2635 * remote.c (remote_load): Make "name" const.
2636 * symfile.c (generic_load): Make "args" const.
2637 * target-delegates.c: Rebuild.
2638 * target.c (target_load): Make "arg" const.
2639 (debug_to_load): Make "args" const.
2640 * target.h (struct target_ops) <to_load>: Make parameter const.
2641 (target_load): Update.
2642
34a68019
TT
26432014-06-26 Tom Tromey <tromey@redhat.com>
2644
2645 PR symtab/16902:
2646 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2647 (dwarf2_physname, read_partial_die)
2648 (guess_partial_die_structure_name, fixup_partial_die)
2649 (guess_full_die_structure_name, anonymous_struct_prefix)
2650 (dwarf2_name): Use per-BFD obstack.
2651
efc889c1
YQ
26522014-06-26 Yao Qi <yao@codesourcery.com>
2653
2654 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2655 dummyframe and this_id into inner block below.
2656
4395285e
YQ
26572014-06-26 Yao Qi <yao@codesourcery.com>
2658
2659 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2660 with "signal_pass[0]" in the initialization of signal_pass.
2661
aef92902
MM
26622014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2663
2664 * record-btrace.c (record_btrace_generating_corefile)
2665 (record_btrace_prepare_to_generate_core)
2666 (record_btrace_done_generating_core): New.
2667 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2668 (record_btrace_store_registers, record_btrace_prepare_to_store):
2669 Forward request when generating a core file.
2670 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2671 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2672 to_done_generating_core.
2673
5fff78c4
MM
26742014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2675
2676 * target.h (target_ops) <to_prepare_to_generate_core>
2677 <to_done_generating_core>: New.
2678 (target_prepare_to_generate_core, target_done_generating_core): New.
2679 * target.c (target_prepare_to_generate_core)
2680 (target_done_generating_core): New.
2681 * target-delegates.c: Regenerate.
2682 * gcore.c: (write_gcore_file): Rename to ...
2683 (write_gcore_file_1): ...this.
2684 (write_gcore_file): Call target_prepare_to_generate_core
2685 and target_done_generating_core.
2686
1d1f1ccb
MM
26872014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2688
2689 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2690 * gcore.c (write_gcore_file): Free memory returned from
2691 make_corefile_notes.
2692 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2693 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2694
3343ef86
YQ
26952014-06-24 Yao Qi <yao@codesourcery.com>
2696
2697 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2698 (arm_linux_init_abi): Set skip_trampoline_code with
2699 gdbarch_skip_trampoline_code instead of
2700 find_solib_trampoline_target.
2701
18d18ac8
YQ
27022014-06-24 Yao Qi <yao@codesourcery.com>
2703
2704 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2705 arm_skip_bx_reg returns non-zero.
2706
80d8d390
YQ
27072014-06-24 Yao Qi <yao@codesourcery.com>
2708
2709 * arm-tdep.c (arm_skip_bx_reg): New function.
2710 (arm_skip_stub): Call arm_skip_bx_reg.
2711
6a18a01c
DB
27122014-06-23 Don Breazeal <donb@codesourcery.com>
2713
2714 * MAINTAINERS: Add myself as write-after-approval maintainer.
2715
8e9db26e
PA
27162014-06-23 Pedro Alves <palves@redhat.com>
2717
2718 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2719 DR_CONTROL before setting DR0..DR3.
2720 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2721 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2722 bits of DR_CONTROL related to the debug register slot being
2723 disabled. If all slots are vacant, clear local slowdown as well,
2724 and assert DR_CONTROL is 0.
2725
70afc5b7
SC
27262014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2727
2728 * python/lib/gdb/command/xmethods.py
2729 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2730 current progspace only if the string "progspace" matches LOCUS_RE.
2731
840ed64d
JK
27322014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2733
2734 Fix --with-system-readline with readline-6.3 patch 5.
2735 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2736 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2737 types.
2738
26f2dc30
TT
27392014-06-20 Tom Tromey <tromey@redhat.com>
2740
2741 * dwarf2read.c (dw2_get_real_path): Use correct type in
2742 OBSTACK_CALLOC.
2743 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2744
125f8a3d
GB
27452014-06-20 Gary Benson <gbenson@redhat.com>
2746
2747 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2748 * common/glibc_thread_db.h: Likewise.
2749 * common/i386-cpuid.h: Likewise.
2750 * common/i386-gcc-cpuid.h: Likewise.
2751 * common/linux-btrace.h: Likewise.
2752 * common/linux-osdata.h: Likewise.
2753 * common/linux-procfs.h: Likewise.
2754 * common/linux-ptrace.h: Likewise.
2755 * common/mips-linux-watch.h: Likewise.
2756 * common/linux-btrace.c: Moved to nat.
2757 * common/linux-osdata.c: Likewise.
2758 * common/linux-procfs.c: Likewise.
2759 * common/linux-ptrace.c: Likewise.
2760 * common/mips-linux-watch.c: Likewise.
2761 * nat/gdb_thread_db.h: Moved from common.
2762 * nat/glibc_thread_db.h: Likewise.
2763 * nat/i386-cpuid.h: Likewise.
2764 * nat/i386-gcc-cpuid.h: Likewise.
2765 * nat/linux-btrace.c: Likewise.
2766 * nat/linux-btrace.h: Likewise.
2767 * nat/linux-osdata.c: Likewise.
2768 * nat/linux-osdata.h: Likewise.
2769 * nat/linux-procfs.c: Likewise.
2770 * nat/linux-procfs.h: Likewise.
2771 * nat/linux-ptrace.c: Likewise.
2772 * nat/linux-ptrace.h: Likewise.
2773 * nat/mips-linux-watch.c: Likewise.
2774 * nat/mips-linux-watch.h: Likewise.
2775 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2776 (object file files): Reordered.
2777 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2778 of glibc_thread_db.h.
2779
42995dbd
GB
27802014-06-20 Gary Benson <gbenson@redhat.com>
2781
2782 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2783 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2784 (i386_dr_low): Likewise.
2785 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2786 (i386_dr_low_set_addr): Likewise.
2787 (i386_dr_low_get_addr): Likewise.
2788 (i386_dr_low_can_set_control): Likewise.
2789 (i386_dr_low_set_control): Likewise.
2790 (i386_dr_low_get_control): Likewise.
2791 (i386_dr_low_get_status): Likewise.
2792 (i386_get_debug_register_length): Likewise.
2793 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2794 (i386_dr_low): Likewise.
2795 * nat/i386-dregs.c (i386-low.h): Remove include.
2796 (i386-nat.h): Likewise.
2797 (nat/i386-dregs.h): New include.
2798 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2799 (i386_dr_low_set_addr): Likewise.
2800 (i386_dr_low_get_addr): Likewise.
2801 (i386_dr_low_can_set_control): Likewise.
2802 (i386_dr_low_set_control): Likewise.
2803 (i386_dr_low_get_control): Likewise.
2804 (i386_dr_low_get_status): Likewise.
2805 (i386_get_debug_register_length): Likewise.
2806 (debug_hw_points): Likewise.
2807
3ed9baed
IB
28082014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2809
2810 * Makefile.in (SFILES): Add d-exp.y.
2811 (YYFILES): Add d-exp.c.
2812 (YYOBJ): Add d-exp.o.
2813 (local-maintainer-clean): Delete d-exp.c.
2814 * d-exp.y: New file.
2815 * d-lang.h (d_parse): New declaration.
2816 (d_error): New declaration.
2817 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2818 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2819 PREC_ORDER operators.
2820 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2821
78c164b0
YQ
28222014-06-19 Yao Qi <yao@codesourcery.com>
2823
2824 * gdbthread.h (any_running): Remove the declaration.
2825 * thread.c (any_running): Remove.
2826
f6e29b6e
YQ
28272014-06-19 Yao Qi <yao@codesourcery.com>
2828
2829 * gdbthread.h (struct thread_info) <state>: Change its type to
2830 'enum thread_state'. Update comments.
2831
034f788c
PA
28322014-06-19 Pedro Alves <palves@redhat.com>
2833
2834 * gdbthread.h (ALL_THREADS): Delete.
2835 (ALL_NON_EXITED_THREADS): New macro.
2836 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2837 instead of ALL_THREADS.
2838 * infrun.c (find_thread_needs_step_over)
2839 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2840 instead of ALL_THREADS.
2841 * record-btrace.c (record_btrace_open)
2842 (record_btrace_stop_recording, record_btrace_close)
2843 (record_btrace_is_replaying, record_btrace_resume)
2844 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2845 * remote.c (append_pending_thread_resumptions): Likewise.
2846 * thread.c (thread_apply_all_command): Likewise.
2847
46e33252
GB
28482014-06-19 Gary Benson <gbenson@redhat.com>
2849
2850 * i386-nat.c (i386_stopped_by_watchpoint):
2851 Use i386_dr_stopped_by_watchpoint.
2852 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2853 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2854
3a8ee006
GB
28552014-06-19 Gary Benson <gbenson@redhat.com>
2856
2857 * nat/i386-dregs.c: New file.
2858 * Makefile.in (i386-dregs.o): New rule.
2859 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2860 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2861 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2862 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2863 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2864 * config/i386/go32.mh (NATDEPFILES): Likewise.
2865 * config/i386/linux.mh (NATDEPFILES): Likewise.
2866 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2867 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2868 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2869 * i386-nat.h (debug_hw_points): New declaration.
2870 * i386-nat.c (breakpoint.h): Remove include.
2871 (command.h): Likewise.
2872 (target.h): Likewise.
2873 (gdb_assert.h): Likewise.
2874 (debug_hw_points): Made nonstatic.
2875 (debug_printf): Now in i386-dregs.c.
2876 (TARGET_HAS_DR_LEN_8): Likewise.
2877 (DR_CONTROL_SHIFT): Likewise.
2878 (DR_CONTROL_SIZE): Likewise.
2879 (DR_RW_EXECUTE): Likewise.
2880 (DR_RW_WRITE): Likewise.
2881 (DR_RW_READ): Likewise.
2882 (DR_RW_IORW): Likewise.
2883 (DR_LEN_1): Likewise.
2884 (DR_LEN_2): Likewise.
2885 (DR_LEN_4): Likewise.
2886 (DR_LEN_8): Likewise.
2887 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2888 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2889 (DR_ENABLE_SIZE): Likewise.
2890 (DR_LOCAL_SLOWDOWN): Likewise.
2891 (DR_GLOBAL_SLOWDOWN): Likewise.
2892 (DR_CONTROL_RESERVED): Likewise.
2893 (I386_DR_CONTROL_MASK): Likewise.
2894 (I386_DR_VACANT): Likewise.
2895 (I386_DR_LOCAL_ENABLE): Likewise.
2896 (I386_DR_GLOBAL_ENABLE): Likewise.
2897 (I386_DR_DISABLE): Likewise.
2898 (I386_DR_SET_RW_LEN): Likewise.
2899 (I386_DR_GET_RW_LEN): Likewise.
2900 (I386_DR_WATCH_HIT): Likewise.
2901 (i386_wp_op_t): Likewise.
2902 (i386_show_dr): Likewise.
2903 (i386_length_and_rw_bits): Likewise.
2904 (i386_insert_aligned_watchpoint): Likewise.
2905 (i386_remove_aligned_watchpoint): Likewise.
2906 (i386_handle_nonaligned_watchpoint): Likewise.
2907 (i386_update_inferior_debug_regs): Likewise.
2908 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2909 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2910 (i386_region_ok_for_watchpoint):
2911 Use i386_dr_region_ok_for_watchpoint.
2912 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2913
322a8e06
GB
29142014-06-19 Gary Benson <gbenson@redhat.com>
2915
2916 * i386-nat.c (i386_insert_hw_breakpoint): Use
2917 i386_insert_watchpoint.
2918 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2919
8f26655c
GB
29202014-06-19 Gary Benson <gbenson@redhat.com>
2921
2922 * i386-nat.c (i386_dr_show): Renamed to
2923 i386_show_dr and made static. All uses updated.
2924 (i386_dr_length_and_rw_bits): Renamed to
2925 i386_length_and_rw_bits and made static.
2926 All uses updated.
2927 (i386_dr_insert_aligned_watchpoint): Renamed to
2928 i386_insert_aligned_watchpoint and made static.
2929 All uses updated.
2930 (i386_dr_remove_aligned_watchpoint): Renamed to
2931 i386_remove_aligned_watchpoint and made static.
2932 All uses updated.
2933 (i386_dr_update_inferior_debug_regs): Renamed to
2934 i386_update_inferior_debug_regs and made static.
2935 All uses updated.
2936 * nat/i386-dregs.h (i386_dr_show): Removed.
2937 (i386_dr_length_and_rw_bits): Likewise.
2938 (i386_dr_insert_aligned_watchpoint): Likewise.
2939 (i386_dr_remove_aligned_watchpoint): Likewise.
2940 (i386_dr_update_inferior_debug_regs): Likewise.
2941
992c7d70
GB
29422014-06-19 Gary Benson <gbenson@redhat.com>
2943
2944 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2945 * configure: Regenerate.
2946 * config.in: Likewise.
2947 * main.c (signal.h): New include.
2948 (setup_alternate_signal_stack): New function.
2949 (captured_main): Call the above.
2950 * cp-support.c (signal.h): New include.
2951 (catch_demangler_crashes): New flag.
2952 (SIGJMP_BUF): New define.
2953 (SIGSETJMP): Likewise.
2954 (SIGLONGJMP): Likewise.
2955 (gdb_demangle_jmp_buf): New static global.
2956 (gdb_demangle_attempt_core_dump): Likewise.
2957 (gdb_demangle_signal_handler): New function.
2958 (gdb_demangle): If catch_demangler_crashes is set, install the
2959 above signal handler before calling bfd_demangle, and restore
2960 the original signal handler afterwards. Display the offending
2961 symbol and call demangler_warning the first time a segmentation
2962 fault is caught.
2963 (_initialize_cp_support): New maint set/show command.
2964
eae7090b
GB
29652014-06-19 Gary Benson <gbenson@redhat.com>
2966
2967 * utils.h (resource_limit_kind): New enum.
2968 (can_dump_core): New declaration.
2969 (warn_cant_dump_core): Likewise.
2970 (dump_core): Likewise.
2971 * utils.c (dump_core): Made nonstatic. Added new
2972 parameter "limit_kind".
2973 (can_dump_core): Made nonstatic. Moved printing code to...
2974 (warn_cant_dump_core): New function.
2975 (can_dump_core_warn): Likewise.
2976 (internal_vproblem): Replace calls to can_dump_core with
2977 calls to can_dump_core_warn. Supply new argument to each.
2978
57fcfb1b
GB
29792014-06-19 Gary Benson <gbenson@redhat.com>
2980
2981 * utils.h (demangler_vwarning): New declaration.
2982 (demangler_warning): Likewise.
2983 * utils.c (struct internal_problem)
2984 <user_settable_should_quit>: New field.
2985 <user_settable_should_dump_core>: Likewise
2986 (internal_error_problem): Add values for above new fields.
2987 (internal_warning_problem): Likewise.
2988 (demangler_warning_problem): New static global.
2989 (demangler_vwarning): New function.
2990 (demangler_warning): Likewise.
2991 (add_internal_problem_command): Selectively add commands.
2992 (_initialize_utils): New internal problem command.
2993 * maint.c (maintenance_demangler_warning): New function.
2994 (_initialize_maint_cmds): New command.
2995
17a40b44
TT
29962014-06-18 Tom Tromey <tromey@redhat.com>
2997
2998 * f-valprint.c (info_common_command_for_block): Update.
2999 * symtab.h (struct general_symbol_info) <common_block>: Now
3000 const.
3001
346d1dfe
TT
30022014-06-18 Tom Tromey <tromey@redhat.com>
3003
3004 * symtab.h (struct symtab) <blockvector>: Now const.
3005 * ada-lang.c (ada_add_global_exceptions): Update.
3006 * buildsym.c (augment_type_symtab): Update.
3007 * dwarf2read.c (dw2_lookup_symbol): Update.
3008 * jit.c (finalize_symtab): Update.
3009 * jv-lang.c (add_class_symtab_symbol): Update.
3010 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3011 Update.
3012 * objfiles.c (objfile_relocate1): Update.
3013 * psymtab.c (lookup_symbol_aux_psymtabs)
3014 (maintenance_check_psymtabs): Update.
3015 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3016 Update.
3017 * spu-tdep.c (spu_catch_start): Update.
3018 * symmisc.c (dump_symtab_1): Update.
3019 * symtab.c (lookup_global_symbol_from_objfile)
3020 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3021 (basic_lookup_transparent_type_quick)
3022 (basic_lookup_transparent_type, find_pc_sect_symtab)
3023 (find_pc_sect_line, search_symbols): Update.
3024 * block.c (find_block_in_blockvector): Make "bl" const.
3025 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3026 const.
3027 (blockvector_contains_pc): Make "bv" const.
3028 (block_for_pc_sect): Update.
3029 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3030 (blockvector_contains_pc): Update.
3031 * breakpoint.c (resolve_sal_pc): Update.
3032 * inline-frame.c (block_starting_point_at): Update.
3033
1834676b
TT
30342014-06-18 Tom Tromey <tromey@redhat.com>
3035
3036 * completer.c (complete_line): Make "line_buffer" const.
3037 * completer.h (complete_line): Update.
3038
ac1a991b
TT
30392014-06-18 Tom Tromey <tromey@redhat.com>
3040
3041 * symtab.c (add_macro_name): Remove unneeded cast.
3042
5bc98e52
TT
30432014-06-18 Tom Tromey <tromey@redhat.com>
3044
3045 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3046 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3047
8236def8
TT
30482014-06-18 Tom Tromey <tromey@redhat.com>
3049
3050 * probe.c (info_probes_for_ops): Make "arg" const.
3051 * probe.h (info_probes_for_ops): Update.
3052
3977b71f
TT
30532014-06-18 Tom Tromey <tromey@redhat.com>
3054
3055 * varobj.c (varobj_create): Update.
3056 * valops.c (value_of_this): Update.
3057 * tracepoint.c (add_local_symbols, scope_info): Update.
3058 * symtab.h (struct general_symbol_info) <block>: Now const.
3059 * symtab.c (skip_prologue_sal)
3060 (default_make_symbol_completion_list_break_on)
3061 (skip_prologue_using_sal): Update.
3062 * stack.h (iterate_over_block_locals)
3063 (iterate_over_block_local_vars): Update.
3064 * stack.c (print_frame_args): Update.
3065 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3066 parameter const.
3067 (get_selected_block): Make return type const.
3068 * python/py-frame.c (frapy_block): Update.
3069 * python/py-block.c (gdbpy_block_for_pc): Update.
3070 * p-exp.y (%union) <bval>: Now const.
3071 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3072 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3073 * m2-exp.y (%union) <bval>: Now const.
3074 * linespec.c (get_current_search_block): Make return type const.
3075 (create_sals_line_offset, find_label_symbols): Update.
3076 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3077 Update.
3078 (block_starting_point_at): Make "block" const.
3079 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3080 (check_exception_resume): Update.
3081 * guile/scm-frame.c (gdbscm_frame_block): Update.
3082 * guile/scm-block.c (gdbscm_lookup_block): Update.
3083 * frame.h (get_frame_block): Update.
3084 (get_selected_block): Make return type const.
3085 * frame.c (frame_id_inner): Update.
3086 * f-valprint.c (info_common_command_for_block)
3087 (info_common_command): Update.
3088 * dwarf2loc.c (dwarf2_find_location_expression)
3089 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3090 (locexpr_describe_location_piece): Update.
3091 * c-exp.y (%union) <bval>: Now const.
3092 * breakpoint.c (resolve_sal_pc): Update.
3093 * blockframe.c (get_frame_block):Make return type const.
3094 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3095 (block_innermost_frame): Update.
3096 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3097 (block_for_pc, block_for_pc_sect): Update.
3098 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3099 'pblock' const.
3100 (block_for_pc_sect, block_for_pc): Make return type const.
3101 * ax-gdb.c (gen_expr): Update.
3102 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3103 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3104 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3105 (ada_read_var_value): Update.
3106 * ada-exp.y (struct name_info) <block>: Now const.
3107 (%union): Likewise.
3108 (block_lookup): Constify.
3109
b9228891
GB
31102014-06-18 Gary Benson <gbenson@redhat.com>
3111
3112 * nat/i386-dregs.h: New file.
3113 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3114 * i386-nat.h (i386-dregs.h): New include.
3115 (DR_FIRSTADDR): Now in i386-dregs.h.
3116 (DR_LASTADDR): Likewise.
3117 (DR_NADDR): Likewise.
3118 (DR_STATUS): Likewise.
3119 (DR_CONTROL): Likewise.
3120 (i386_debug_reg_state): Likewise.
3121 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3122
a1aa2221
LM
31232014-06-18 Don Breazeal <donb@codesourcery.com>
3124
3125 * breakpoint.c (set_longjmp_breakpoint): Call
3126 momentary_breakpoint_from_master with additional argument.
3127 (set_longjmp_breakpoint_for_call_dummy): Call
3128 momentary_breakpoint_from_master with additional argument.
3129 (set_std_terminate_breakpoint): Call
3130 momentary_breakpoint_from_master with additional argument.
3131 (momentary_breakpoint_from_master): Add argument to function
3132 definition and use it to initialize structure member flag.
74228e77 3133 (clone_momentary_breakpoint): Call
a1aa2221
LM
3134 momentary_breakpoint_from_master with additional argument.
3135 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3136 member flags set in momentary_breakpoint_from_master.
3137
4be83cc2
GB
31382014-06-18 Gary Benson <gbenson@redhat.com>
3139
3140 * i386-nat.c (i386_show_dr): Renamed to
3141 i386_dr_show and made nonstatic. All uses updated.
3142 (i386_length_and_rw_bits): Renamed to
3143 i386_dr_length_and_rw_bits and made nonstatic.
3144 All uses updated.
3145 (i386_insert_aligned_watchpoint): Renamed to
3146 i386_dr_insert_aligned_watchpoint and made nonstatic.
3147 All uses updated.
3148 (i386_remove_aligned_watchpoint): Renamed to
3149 i386_dr_remove_aligned_watchpoint and made nonstatic.
3150 All uses updated.
3151 (i386_update_inferior_debug_regs): Renamed to
3152 i386_dr_update_inferior_debug_regs and made nonstatic.
3153 All uses updated.
3154
131aa0d4
GB
31552014-06-18 Gary Benson <gbenson@redhat.com>
3156
3157 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3158 (i386_dr_low_can_set_control): Likewise.
3159 (i386_dr_low_set_addr): Likewise.
3160 (i386_dr_low_set_control): Likewise.
3161 (i386_dr_low_get_addr): Likewise.
3162 (i386_dr_low_get_status): Likewise.
3163 (i386_dr_low_get_control): Likewise.
3164 (i386_insert_aligned_watchpoint): Use new macros.
3165 (i386_update_inferior_debug_regs): Likewise.
3166 (i386_stopped_data_address): Likewise.
3167
d9305f7f
GB
31682014-06-18 Gary Benson <gbenson@redhat.com>
3169
3170 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3171 New parameter. All uses updated.
3172
ea008da4
GB
31732014-06-18 Gary Benson <gbenson@redhat.com>
3174
3175 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3176 All uses updated.
3177
1b6d4134
GB
31782014-06-18 Gary Benson <gbenson@redhat.com>
3179
3180 * i386-nat.c (debug_printf): New macro.
3181 (i386_get_debug_register_length): Likewise.
3182 (TARGET_HAS_DR_LEN_8): Use above macro.
3183 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3184 and printf_unfiltered. Use phex to format values.
3185
9b4550ef
GB
31862014-06-18 Gary Benson <gbenson@redhat.com>
3187
3188 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3189 Make const.
3190
6e62758f
GB
31912014-06-18 Gary Benson <gbenson@redhat.com>
3192
3193 * i386-nat.c: Comment changes.
3194
51c79e94
GB
31952014-06-18 Gary Benson <gbenson@redhat.com>
3196
3197 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3198
3e11889a
GB
31992014-06-18 Gary Benson <gbenson@redhat.com>
3200
3201 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3202 (i386_insert_aligned_watchpoint): Likewise.
3203 (i386_remove_aligned_watchpoint): Likewise.
3204 (i386_handle_nonaligned_watchpoint): Likewise.
3205
fc6e2f03
GB
32062014-06-18 Gary Benson <gbenson@redhat.com>
3207
3208 * i386-nat.c: Whitespace changes.
3209
2afe7d50
SB
32102014-06-17 Samuel Bronson <naesten@gmail.com>
3211
3212 * MAINTAINERS: Update Roland McGrath's email address.
3213 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3214 Red Hat a while ago, and giving me a current address.
2afe7d50 3215
3bca49ee
TT
32162014-06-17 Tom Tromey <tromey@redhat.com>
3217
3218 * utils.h (savestring): Remove declaration.
3219
6e366df1
TT
32202014-06-17 Tom Tromey <tromey@redhat.com>
3221
3222 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3223
6be47f0c
KS
32242014-06-16 Keith Seitz <keiths@redhat.com>
3225
3226 PR mi/15863
3227 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3228 to update the varobj if inferior_ptid is null_ptid.
3229
7bc112c1
TT
32302014-06-16 Tom Tromey <tromey@redhat.com>
3231
3232 * target.h (struct target_ops) <to_info_proc>: Make parameter
3233 const.
3234 (target_info_proc): Update.
3235 * target.c (target_info_proc): Make "args" const.
3236 * procfs.c (procfs_info_proc): Update.
3237 * linux-tdep.c (linux_info_proc): Update.
3238 (linux_core_info_proc_mappings): Make "args" const.
3239 (linux_core_info_proc): Update.
3240 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3241 * gdbarch.c: Rebuild.
3242 * gdbarch.h: Rebuild.
3243 * corelow.c (core_info_proc): Update.
3244
fee354ee
TT
32452014-06-16 Tom Tromey <tromey@redhat.com>
3246
3247 * target.h (struct target_ops) <to_disconnect>: Make parameter
3248 const.
3249 (target_disconnect): Update.
3250 * target.c (target_disconnect): Make "args" const.
3251 * target-delegates.c: Rebuild.
3252 * remote.c (remote_disconnect): Update.
3253 * record.h (record_disconnect): Update.
3254 * record.c (record_disconnect): Update.
3255 * inf-child.c (inf_child_disconnect): Update.
3256
a30bf1f1
TT
32572014-06-16 Tom Tromey <tromey@redhat.com>
3258
3259 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3260 * target.c (debug_to_rcmd, default_rcmd): Update.
3261 * target-delegates.c: Rebuild.
3262 * remote.c (remote_rcmd): Update.
3263 * monitor.c (monitor_rcmd): Update.
3264
d03de421
PA
32652014-06-16 Pedro Alves <palves@redhat.com>
3266
3267 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3268 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3269 have OBJF_SHARED set.
3270 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3271 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3272 instead of OBJF_USERLOADED.
3273 * objfiles.h (OBJF_SHARED): Update comment.
3274 (userloaded_objfile_contains_address_p): Rename to ...
3275 (shared_objfile_contains_address_p): ... this, and update
3276 comments.
3277 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3278 new objfile.
3279 (remove_symbol_file_command): Skip objfiles that don't have
3280 OBJF_SHARED set.
3281
99f4262f
TT
32822014-06-16 Tom Tromey <tromey@redhat.com>
3283
3284 * minsyms.h (prim_record_minimal_symbol)
3285 (prim_record_minimal_symbol_and_info): Update comments.
3286
97d66cc6
EZ
32872014-06-14 Eli Zaretskii <eliz@gnu.org>
3288
3289 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3290 or --without-guile, according to how GDB was built.
3291
635c7e8a
TT
32922014-06-13 Tom Tromey <tromey@redhat.com>
3293
3294 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3295 to help_list.
3296 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3297 to help_list.
3298 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3299 help_list.
3300 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3301 help_list.Pass all_commands, not -1, to help_list.
3302 * cli/cli-dump.c (dump_command, append_command)
3303 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3304 (binary_dump_command, binary_append_command): Pass all_commands,
3305 not -1, to help_list.
3306 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3307 -1, to help_list.
3308 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3309 -1, to help_list.
3310 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3311 help_list.
3312 * top.c (set_history): Pass all_commands, not -1, to help_list.
3313 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3314 all_commands, not -1, to help_list.
3315 * symfile.c (overlay_command): Pass all_commands, not -1, to
3316 help_list.
3317 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3318 help_list.
3319 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3320 help_list.
3321 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3322 -1, to help_list.
3323 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3324 not -1, to help_list.
3325 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3326 not -1, to help_list.
3327 * maint.c (maintenance_command, maintenance_info_command)
3328 (maintenance_print_command, maintenance_set_cmd): Pass
3329 all_commands, not -1, to help_list.
3330 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3331 help_list.
3332 * language.c (set_check): Pass all_commands, not -1, to help_list.
3333 * infcmd.c (unset_command): Pass all_commands, not -1, to
3334 help_list.
3335 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3336 help_list.
3337 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3338 help_list.
3339 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3340 help_list.
3341 * breakpoint.c (save_command): Pass all_commands, not -1, to
3342 help_list.
3343 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3344 all_commands, not -1, to help_list.
3345
b94ade42
PL
33462014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3347
3348 * regcache.c (struct register_to_invalidate): New structure.
3349 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3350 functions.
3351 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3352
31f628ae
YQ
33532014-06-12 Yao Qi <yao@codesourcery.com>
3354
3355 * varobj.c (varobj_get_num_children): Call
3356 varobj_is_dynamic_p.
3357 (varobj_list_children): Likewise.
3358 (varobj_update): Likewise. Update comments.
3359
cde5ef40
YQ
33602014-06-12 Yao Qi <yao@codesourcery.com>
3361
3362 * varobj.c (varobj_pretty_printed_p): Rename to ...
3363 (varobj_is_dynamic_p): ... this. New function.
3364 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3365 (varobj_is_dynamic_p): Declare.
3366 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3367 (mi_print_value_p, varobj_update_one): Likewise.
3368
576ea091
YQ
33692014-06-12 Pedro Alves <pedro@codesourcery.com>
3370 Yao Qi <yao@codesourcery.com>
3371
3372 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3373 (varobj_get_iterator): Wrap up code for pretty-printer by
3374 "#if HAVE_PYTHON" and "#endif".
3375 (update_dynamic_varobj_children): Likewise.
3376
827f100c
YQ
33772014-06-12 Pedro Alves <pedro@codesourcery.com>
3378 Yao Qi <yao@codesourcery.com>
3379
3380 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3381 gdb_python_initialized is false. Move some code from varobj.c.
3382 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3383 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3384 (struct varobj_item): Moved to varobj-iter.h".
3385 (varobj_clear_saved_item): New function.
3386 (update_dynamic_varobj_children): Move python-related code to
3387 py-varobj.c.
3388 (free_variable): Call varobj_clear_saved_item and
3389 varobj_iter_delete.
3390
e5250216
YQ
33912014-06-12 Pedro Alves <pedro@codesourcery.com>
3392 Yao Qi <yao@codesourcery.com>
3393
3394 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3395 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3396 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3397 (py-varobj.o): New rule.
3398 * python/py-varobj.c: New file.
3399 * python/python-internal.h (py_varobj_get_iterator): Declare.
3400 * varobj-iter.h: New file.
3401 * varobj.c: Include "varobj-iter.h"
3402 (struct varobj) <child_iter>: Change its type from "PyObject *"
3403 to "struct varobj_iter *".
3404 <saved_item>: Likewise.
3405 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3406 [HAVE_PYTHON] (varobj_get_iterator): New function.
3407 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3408 python-specific code to python/py-varobj.c.
3409 (install_visualizer): Call varobj_iter_delete instead of
3410 Py_XDECREF.
3411 * varobj.h (varobj_ensure_python_env): Declare.
3412
5a2e0d6e
YQ
34132014-06-12 Yao Qi <yao@codesourcery.com>
3414
3415 * varobj.c (struct varobj_item): New structure.
3416 (create_child_with_value): Update declaration.
3417 (varobj_add_child): Replace arguments 'name' and 'value' with
3418 'item'. All callers updated.
3419 (install_dynamic_child): Likewise.
3420 (update_dynamic_varobj_children): Likewise.
3421 (varobj_add_child): Likewise.
3422 (create_child_with_value): Likewise.
3423
919b9a93
JB
34242014-06-11 Joel Brobecker <brobecker@adacore.com>
3425
3426 * NEWS: Create a new section for the next release branch.
3427 Rename the section of the current branch, now that it has
3428 been cut.
3429
71a55bdf
JB
34302014-06-11 Joel Brobecker <brobecker@adacore.com>
3431
3432 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3433 * version.in: Bump version to 7.8.50.DATE-cvs.
3434
364fe1f7
PA
34352014-06-11 Pedro Alves <palves@redhat.com>
3436
3437 PR remote/17028
3438 * ser-mingw.c (net_windows_socket_check_pending): New function.
3439 (net_windows_select_thread): Ignore spurious wakeups. Use
3440 net_windows_socket_check_pending.
3441 (net_windows_wait_handle): Check for pending events with
3442 ioctlsocket, through net_windows_socket_check_pending, instead of
3443 checking the socket's event.
3444
5a6c7709
SC
34452014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3446
3447 * python/python-internal.h (gdb_PyObject_GetAttrString)
3448 (gdb_PyObject_HasAttrString): New inline function definitions.
3449 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3450 char * of the second argument to PyObject_GetAttrString.
74228e77 3451
0e58ee40
JB
34522014-06-10 Joel Brobecker <brobecker@adacore.com>
3453
3454 * serial.c (serial_write): Fix index of character to be printed
3455 in call to serial_logchar when serial debug traces are enabled.
3456
d190df30
JB
34572014-06-10 Joel Brobecker <brobecker@adacore.com>
3458
3459 * gdbtypes (resolve_dynamic_range): Add function description.
3460
b4b01d36
PA
34612014-06-09 Pedro Alves <palves@redhat.com>
3462
3463 * linux-nat.c (linux_child_follow_fork): Initialize status with
3464 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3465 inner block. Only pass the signal to PTRACE_DETACH if in pass
3466 state.
3467
3657956b
GB
34682014-06-09 Gary Benson <gbenson@redhat.com>
3469
3470 * common/signals.c (gdb_signal_from_host): Reorder to separate
3471 the always-available ANSI-standard signals from the signals that
3472 require checking.
3473 (do_gdb_signal_to_host): Likewise.
3474 * proc-events.c (signal_table): Likewise.
3475
c077881a
HZ
34762014-06-08 Hui Zhu <hui@codesourcery.com>
3477
3478 * common/linux-ptrace.c (linux_disable_event_reporting): New
3479 function.
3480 * common/linux-ptrace.h (linux_disable_event_reporting): New
3481 declaration.
3482 * linux-nat.c (linux_child_follow_fork): Do a single step before
3483 detach.
3484
4186eb54
KS
34852014-06-07 Keith Seitz <keiths@redhat.com>
3486
3487 Revert:
3488 PR c++/16253
3489 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3490 from symbol_matches_domain in symtab.c. All local callers
3491 of symbol_matches_domain updated.
3492 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3493 search STRUCT_DOMAIN.
3494 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3495 independently. standard_lookup will do that automatically.
3496 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3497 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3498 (cp_lookup_symbol_in_namespace): Likewise.
3499 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3500 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3501 may return a STRUCT_DOMAIN match.
3502 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3503 * cp-support.c: Include language.h.
3504 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3505 VAR_DOMAIN.
3506 * psymtab.c (match_partial_symbol): Compare the requested
3507 domain with the symbol's domain directly.
3508 (lookup_partial_symbol): Likewise.
3509 * symtab.c (lookup_symbol_in_language): Explain when/why
3510 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3511 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3512 appropriate languages.
3513 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3514 and moved to ada-lang.c
3515 (lookup_block_symbol): Explain that this function only returns
3516 symbol matching the requested DOMAIN.
3517 Compare the requested domain with the symbol's domain directly.
3518 (iterate_over_symbols): Compare the requested domain with the
3519 symbol's domain directly.
3520 * symtab.h (symbol_matches_domain): Remove.
3521
25326a28 35222014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3523
3524 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3525 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3526 (gdbscm_guile_version_is_at_least): Declare.
3527 (gdbscm_scm_string_to_int): Declare.
3528 * guile/guile.c (gdbscm_guile_major_version): New global.
3529 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3530 (guile_datadir): New static global.
3531 (gdbscm_guile_data_directory): New function.
3532 (initialize_scheme_side): Update.
3533 (misc_guile_functions): Add guile-data-directory.
3534 (initialize_gdb_module): Fetch guile version number.
3535 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3536 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3537 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3538 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3539 comments.
3540 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3541 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3542 * guile/scm-value.c (gdbscm_value_to_string): Only call
3543 scm_port_conversion_strategy if Guile version >= 2.0.6.
3544
0a770bb2 35452014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3546
3547 * main.c (print_gdb_help): Add -q and --silent.
3548
73ba372c
GB
35492014-06-06 Gary Benson <gbenson@redhat.com>
3550
3551 * common/signals.c: Remove preprocessor conditionals for
3552 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3553 SIGSEGV and SIGTERM.
3554 * proc-events.c: Likewise.
3555
c33b2f12
MM
35562014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3557
3558 * symfile.c (symfile_free_objfile): Remove restriction to
3559 OBJF_USERLOADED.
3560 * symfile-mem.c (symbol_file_add_from_memory): Call
3561 add_target_sections_of_objfile.
3562
fb934770
LC
35632014-06-05 Ludovic Courtès <ludo@gnu.org>
3564
3565 * guile/scm-value.c (gdbscm_history_append_x): Use
3566 'vlscm_get_value_smob_arg_unsafe' instead of
3567 'vlscm_scm_to_value'.
3568
6ef284bd
SM
35692014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3570
3571 PR mi/15806
3572 * utils.c (printchar): Don't escape at all if quoter is NUL.
3573 Update function documentation to clarify effect of parameter
3574 QUOTER.
3575 * remote.c (escape_buffer): Pass '\\' as the quoter to
3576 fputstrn_unfiltered.
3577 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3578 generate the output.
3579 (mi_solib_unloaded): Same.
3580
270c9937
JB
35812014-06-05 Joel Brobecker <brobecker@adacore.com>
3582
3583 * development.sh: Delete.
3584 * Makefile.in (config.status): Adjust dependency on development.sh.
3585 * configure.ac: Adjust development.sh source call.
3586 * configure: Regenerate.
3587
16f691fb
DE
35882014-06-04 Doug Evans <xdje42@gmail.com>
3589
3590 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3591 is_scheme_bkpt, spec.
3592 (bpscm_make_breakpoint_smob): Initialize new members.
3593 (gdbscm_create_breakpoint_x): Split into two ...
3594 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3595 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3596 (scheme_function breakpoint_functions): Update.
3597 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3598 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3599 register-breakpoint!.
3600
ef7cab6b
JB
36012014-06-04 Joel Brobecker <brobecker@adacorer.com>
3602
3603 PR server/17023
3604 * mem-break.c (z_type_supported): Return zero if
3605 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3606
012370f6
TT
36072014-06-04 Tom Tromey <tromey@redhat.com>
3608
3609 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3610 value_from_contents_and_address_unresolved.
3611 (ada_template_to_fixed_record_type_1): Likewise.
3612 (ada_which_variant_applies): Likewise.
3613 * value.h (value_from_contents_and_address_unresolved): Declare.
3614 * value.c (value_from_contents_and_address_unresolved): New
3615 function.
3616 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3617 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3618 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3619
92e2a17f
TT
36202014-06-04 Tom Tromey <tromey@redhat.com>
3621
3622 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3623
c0939df1
TT
36242014-06-04 Tom Tromey <tromey@redhat.com>
3625
3626 * procfs.c (procfs_attach): Make "args" const.
3627 * windows-nat.c (windows_attach): Make "args" const.
3628 * nto-procfs.c (procfs_attach): Make "args" const.
3629 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3630 * go32-nat.c (go32_attach): Make "args" const.
3631 * gnu-nat.c (gnu_attach): Make "args" const.
3632 * darwin-nat.c (darwin_attach): Make "args" const.
3633 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3634 * linux-nat.c (linux_nat_attach): Make "args" const.
3635 * remote.c (extended_remote_attach_1, extended_remote_attach):
3636 Make "args" const.
3637 * target.h (struct target_ops) <to_attach>: Make "args" const.
3638 (find_default_attach): Likewise.
3639 * utils.c (parse_pid_to_attach): Make "args" const.
3640 * utils.h (parse_pid_to_attach): Update.
3641
8eaff7cd
TT
36422014-06-04 Tom Tromey <tromey@redhat.com>
3643
3644 * target-delegates.c: Rebuild.
3645 * target.c (default_thread_address_space): New function.
3646 (target_thread_address_space): Simplify.
3647 * target.h (struct target_ops) <to_thread_address_space>: Add
3648 TARGET_DEFAULT_FUNC.
3649
1913f160
DE
36502014-06-04 Doug Evans <xdje42@gmail.com>
3651
3652 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3653
70ad5bff
MM
36542014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3655
3656 * record-btrace.c: Include event-loop.h and inf-loop.h.
3657 (record_btrace_resume_exec_dir)
3658 (record_btrace_async_inferior_event_handler)
3659 (record_btrace_handle_async_inferior_event): New.
3660 (record_btrace_open): Create async event handler.
3661 (record_btrace_close): Delete async event handler.
3662 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3663 Mark async event handler.
3664 (record_btrace_execution_direction): New.
3665 (init_record_btrace_ops): Initialize to_execution_direction.
3666
b6210538
DE
36672014-06-03 Doug Evans <xdje42@gmail.com>
3668
3669 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3670 (gdbscm_make_parameter): Ditto.
3671
a5b1fd27
DE
36722014-06-03 Doug Evans <dje@google.com>
3673
3674 * exec.c (exec_close_1): Call clear_section_table instead of
3675 resize_section_table.
3676 (clear_section_table): New function.
3677 (resize_section_table): Make static. Rename arg num_added to
3678 adjustment.
3679 * exec.h (clear_section_table): Declare.
3680 (resize_section_table): Delete.
3681 * progspace.c (release_program_space): Call clear_section_table
3682 instead of resize_section_table.
3683
0c6e92a5
SC
36842014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3685
3686 * NEWS (Python Scripting): Add entry about the new xmethods
3687 feature.
3688
883964a7
SC
36892014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3690
3691 * python/py-xmethods.c: New file.
3692 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3693 (objfpy_dealloc): XDECREF on the new xmethods field.
3694 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3695 field.
3696 (objfpy_get_xmethods): New function.
3697 (objfile_getset): New entry 'xmethods'.
3698 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3699 (pspy_dealloc): XDECREF on the new xmethods field.
3700 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3701 field.
3702 (pspy_get_xmethods): New function.
3703 (pspace_getset): New entry 'xmethods'.
3704 * python/python-internal.h: Add declarations for new functions.
3705 * python/python.c (_initialize_python): Invoke
3706 gdbpy_initialize_xmethods.
3707 * python/lib/gdb/__init__.py (xmethods): New
3708 attribute.
3709 * python/lib/gdb/xmethod.py: New file.
3710 * python/lib/gdb/command/xmethods.py: New file.
3711
58992dc5
SC
37122014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3713
3714 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3715 best match method returned by find_overload_match is an xmethod.
3716 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3717 the best matching operator returned by find_overload_match is an
3718 xmethod.
3719 * valops.c: #include "extension.h".
3720 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3721 Return void. The list of matching source methods is returned in
3722 "fn_list" and a vector of matching debug method workers is
3723 returned in "xm_worker_vec". Update all callers.
3724 (value_find_oload_method_list): Likewise.
3725 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3726 non-NULL, then the index of the best matching method in this
3727 vector is returned. Update all callers.
3728 (find_overload_match): Include xmethods while performing overload
3729 resolution.
3730
e81e7f5e
SC
37312014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3732
3733 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3734 * extension-priv.h (struct extension_language_ops): Add the
3735 xmethod interface.
3736 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3737 get_matching_xmethod_workers, get_xmethod_argtypes,
3738 invoke_xmethod, free_xmethod_worker,
3739 free_xmethod_worker_vec): New functions.
3740 * extension.h: #include "common/vec.h".
3741 New function declarations.
3742 (struct xmethod_worker): New struct.
3743 (VEC (xmethod_worker_ptr)): New vector type.
3744 (xmethod_worker_ptr): New typedef.
3745 (xmethod_worker_vec): Likewise.
3746 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3747 builtin_type.
3748 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3749 (struct builtin_type): New field "xmethod".
3750 * valarith.c (value_ptradd): Assert that the value argument is not
3751 lval_xcallable.
3752 * valops.c (value_must_coerce_to_target): Return 0 for
3753 lval_xcallable values.
3754 * value.c (struct value): New field XM_WORKER in the field
3755 LOCATION.
3756 (value_address, value_raw_address): Return 0 for lval_xcallable
3757 values.
3758 (set_value_address): Assert that the value is not an
3759 lval_xcallable.
3760 (value_free): Free the associated xmethod worker when freeing
3761 lval_xcallable values.
3762 (set_value_component_location): Assert that the WHOLE value is not
3763 lval_xcallable.
3764 (value_of_xmethod, call_xmethod): New functions.
3765 * value.h: Declare "struct xmethod_worker".
3766 Declare new functions value_of_xmethod, call_xmethod.
3767
ef370185
JB
37682014-06-03 Joel Brobecker <brobecker@adacore.com>
3769 Pedro Alves <palves@redhat.com>
3770
3771 PR breakpoints/17000
3772 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3773 New function, extracted from software_breakpoint_inserted_here_p.
3774 (software_breakpoint_inserted_here_p): Replace factored out code
3775 by call to find_non_raw_software_breakpoint_inserted_here.
3776 (bp_target_info_copy_insertion_state): New function.
3777 (bkpt_insert_location): Handle the case of a single-step
3778 breakpoint already inserted at the same address.
3779 (bkpt_remove_location): Handle the case of a single-step
3780 breakpoint still inserted at the same address.
3781 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3782 breakpoint already inserted at the same address.
3783 (deprecated_remove_raw_breakpoint): Handle the case of a
3784 non-raw breakpoint still inserted at the same address.
3785 (find_single_step_breakpoint): New function, extracted from
3786 single_step_breakpoint_inserted_here_p.
3787 (find_single_step_breakpoint): New function,
3788 factored out from single_step_breakpoint_inserted_here_p.
3789 (single_step_breakpoint_inserted_here_p): Reimplement.
3790
1e2ccb61
BM
37912014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3792
3793 Pushed by Joel Brobecker <brobecker@adacore.com>
3794 * source.c (show_substitute_path_command): Fix display of matching
3795 substitution rules.
3796
d3448d85
GB
37972014-06-03 Gary Benson <gbenson@redhat.com>
3798
3799 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3800
06eb1586
DE
38012014-06-02 Doug Evans <xdje42@gmail.com>
3802
3803 Add parameter support for Guile.
3804 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3805 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3806 (scm-param.o): New rule.
3807 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3808 (gdbscm_misc_error): Declare.
3809 (gdbscm_canonicalize_command_name): Declare.
3810 (gdbscm_scm_to_host_string): Declare.
3811 (gdbscm_scm_from_host_string): Declare.
3812 (gdbscm_initialize_parameters): Declare.
3813 * guile/guile.c (initialize_gdb_module): Call
3814 gdbscm_initialize_parameters.
3815 * guile/lib/gdb.scm: Export parameter symbols.
3816 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3817 cmdscm_canonicalize_name and made public. All callers updated.
3818 * guile/scm-exception.c (gdbscm_misc_error): New function.
3819 * guile/scm-param.c: New file.
3820 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3821 (gdbscm_scm_to_host_string): New function.
3822 (gdbscm_scm_from_host_string): New function.
3823 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3824
e698b8c4
DE
38252014-06-02 Doug Evans <xdje42@gmail.com>
3826
3827 Add command support for Guile.
3828 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3829 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3830 (scm-cmd.o): New rule.
3831 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3832 (gdbscm_user_error_p): Declare.
3833 (gdbscm_parse_command_name): Declare.
3834 (gdbscm_valid_command_class_p): Declare.
3835 (gdbscm_initialize_commands): Declare.
3836 * guile/guile.c (initialize_gdb_module): Call
3837 gdbscm_initialize_commands.
3838 * guile/lib/gdb.scm: Export command symbols.
3839 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3840 (throw-user-error): New function.
3841 * guile/scm-cmd.c: New file.
3842 * guile/scm-exception.c (user_error_symbol): New static global.
3843 (gdbscm_user_error_p): New function.
3844 (gdbscm_initialize_exceptions): Set user_error_symbol.
3845 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3846
fb1f94b0
PM
38472014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3848
3849 * top.c (command_loop): Handle comments here...
3850 (command_line_input): ... not here.
3851
ded03782
DE
38522014-06-02 Doug Evans <xdje42@gmail.com>
3853
3854 Add progspace support for Guile.
3855 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3856 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3857 (scm-progspace.o): New rule.
3858 * guile/guile-internal.h (pspace_smob): New typedef.
3859 (psscm_pspace_smob_pretty_printers): Declare.
3860 (psscm_pspace_smob_from_pspace): Declare.
3861 (psscm_scm_from_pspace): Declare.
3862 * guile/guile.c (initialize_gdb_module): Call
3863 gdbscm_initialize_pspaces.
3864 * guile/lib/gdb.scm: Export progspace symbols.
3865 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3866 support.
3867 (append-pretty-printer!): Ditto.
3868 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3869 Implement.
3870 * guile/scm-progspace.c: New file.
3871
397998fc
AM
38722014-06-03 Alan Modra <amodra@gmail.com>
3873
3874 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3875 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3876
6aa5f3a6
DE
38772014-06-02 Doug Evans <dje@google.com>
3878
3879 Add support for skeletonless type units.
3880 * dwarf2read.c (struct dwarf2_per_objfile): New member
3881 n_allocated_type_units.
3882 (struct dwarf2_per_objfile) <tu_stats>: New member
3883 nr_all_type_units_reallocs.
3884 (create_signatured_type_table_from_index): Initialize
3885 n_allocated_type_units
3886 (create_all_type_units): Ditto.
3887 (add_type_unit): Move up in file. New arg slot.
3888 All callers updated. Increase space for all_type_units more
3889 efficiently.
3890 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3891 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3892 (lookup_dwp_signatured_type): Ditto.
3893 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3894 All callers updated.
3895 (build_type_psymtabs_1): Leave type_unit_groups as
3896 NULL if no TUs present.
3897 (print_tu_stats): New function.
3898 (process_skeletonless_type_unit): New function.
3899 (process_dwo_file_for_skeletonless_type_units): New
3900 function.
3901 (process_skeletonless_type_units): New function.
3902 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3903 Call print tu_stats if debugging enabled.
3904
41fac0cf
PA
39052014-06-02 Pedro Alves <palves@redhat.com>
3906
3907 * breakpoint.c (build_target_command_list): Don't build a command
3908 list if we have any duplicate location that isn't a dprintf.
3909
cd1608cc
PA
39102014-06-02 Pedro Alves <palves@redhat.com>
3911
3912 * breakpoint.c (dprintf_breakpoint_hit): New function.
3913 (initialize_breakpoint_ops): Install it as dprintf's
3914 breakpoint_hit method.
3915
486ef3b9
JB
39162014-06-02 Joel Brobecker <brobecker@adacore.com>
3917
3918 * source.c (substitute_path_rule_matches): Simplify using
3919 filename_ncmp instead of FILENAME_CMP.
3920
230cd560
JB
39212014-06-02 Joel Brobecker <brobecker@adacore.com>
3922
3923 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3924
16954d5d
LC
39252014-06-01 Ludovic Courtès <ludo@gnu.org>
3926
3927 * configure.ac: When Guile is available, check for the
3928 availability of 'scm_new_smob'.
3929 * configure, config.h.in: Regenerate.
3930 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3931 function.
3932
53e8a631
AB
39332014-05-30 Andrew Burgess <aburgess@broadcom.com>
3934
3935 * frame.c (struct frame_info): Add stop_string field.
3936 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3937 (get_prev_frame_always): Old content moved into
3938 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3939 TRY_CATCH, handle MEMORY_ERROR exceptions.
3940 (frame_stop_reason_string): New function definition.
3941 * frame.h (unwind_stop_reason_to_string): Extend comment to
3942 mention frame_stop_reason_string.
3943 (frame_stop_reason_string): New function declaration.
3944 * stack.c (frame_info): Switch to frame_stop_reason_string.
3945 (backtrace_command_1): Switch to frame_stop_reason_string.
3946 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3947 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3948 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3949
70e38b8e
AB
39502014-05-30 Andrew Burgess <aburgess@broadcom.com>
3951
3952 * frame.c (frame_stop_reason_string): Rename to ...
3953 (unwind_stop_reason_to_string): this.
3954 * frame.h (frame_stop_reason_string): Rename to ...
3955 (unwind_stop_reason_to_string): this.
3956 * stack.c (frame_info): Update call to frame_stop_reason_string.
3957 (backtrace_command_1): Likewise.
3958 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3959 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3960
938f0e2f
AB
39612014-05-30 Andrew Burgess <aburgess@broadcom.com>
3962
3963 * frame.c (remove_prev_frame): New function.
3964 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3965 remove_prev_frame.
3966
a09dd441
PA
39672014-05-29 Pedro Alves <palves@redhat.com>
3968
3969 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3970 and make it const. When a single-step decays to a continue,
3971 clear 'step', not 'hw_step'. Pass whether the caller wanted
3972 to step to user_visible_resume_ptid, not what we ask the
3973 target to do.
3974
bdc36728
PA
39752014-05-29 Pedro Alves <palves@redhat.com>
3976
3977 * infrun.c (process_event_stop_test, handle_step_into_function)
3978 (handle_step_into_function_backward): Adjust.
3979 Don't set the even thread's stop_step and call stop_waiting before
3980 calling end_stepping_range. Instead do that ...
3981 (end_stepping_range): ... here. Take an ecs pointer parameter.
3982
22bcd14b
PA
39832014-05-29 Pedro Alves <palves@redhat.com>
3984
3985 * infrun.c (stop_stepping): Rename to ...
3986 (stop_waiting): ... this.
3987 (proceed): Update comment.
3988 (process_event_stop_test, handle_inferior_event)
3989 (handle_signal_stop, handle_step_into_function)
3990 (handle_step_into_function_backward): Update.
3991
4ae57c05
PA
39922014-05-29 Pedro Alves <palves@redhat.com>
3993
3994 * infcall.c (run_inferior_call): Don't check whether the current
3995 thread is running after the proceed call.
3996
329ea579
PA
39972014-05-29 Pedro Alves <palves@redhat.com>
3998 Tom Tromey <tromey@redhat.com>
3999
4000 * NEWS: Mention "maint set target-async", "set mi-async", and that
4001 background execution commands are now always available.
4002 * target.h (target_async_permitted): Update comment.
4003 * target.c (target_async_permitted, target_async_permitted_1):
4004 Default to 1.
4005 (set_target_async_command): Rename to ...
4006 (maint_set_target_async_command): ... this.
4007 (show_target_async_command): Rename to ...
4008 (maint_show_target_async_command): ... this.
4009 (_initialize_target): Adjust.
4010 * infcmd.c (prepare_execution_command): Make extern.
4011 * inferior.h (prepare_execution_command): Declare.
4012 * infrun.c (set_observer_mode): Leave target async alone.
4013 * mi/mi-interp.c (mi_interpreter_init): Install
4014 mi_on_sync_execution_done as sync_execution_done observer.
4015 (mi_on_sync_execution_done): New function.
4016 (mi_execute_command_input_handler): Don't print the prompt if we
4017 just started a synchronous command with an async target.
4018 (mi_on_resume): Check sync_execution before printing prompt.
4019 * mi/mi-main.h (mi_async_p): Declare.
4020 * mi/mi-main.c: Include gdbcmd.h.
4021 (mi_async_p): New function.
4022 (mi_async, mi_async_1): New globals.
4023 (set_mi_async_command, show_mi_async_command, mi_async): New
4024 functions.
4025 (exec_continue): Call prepare_execution_command.
4026 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4027 (mi_execute_async_cli_command): Use mi_async_p.
4028 (_initialize_mi_main): Install "set mi-async". Make
4029 "target-async" a deprecated alias.
4030
92bcb5f9
PA
40312014-05-29 Pedro Alves <palves@redhat.com>
4032
4033 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4034 (_initialize_cli_interp): Adjust.
4035 * event-loop.c: Include "observer.h".
4036 (start_event_loop): Notify 'command_error' observers instead of
4037 calling display_gdb_prompt. Remove FIXME comment.
4038 * event-top.c (display_gdb_prompt): Remove call into the
4039 interpreters.
4040 * inf-loop.c: Include "observer.h".
4041 (inferior_event_handler): Notify 'command_error' observers instead
4042 of calling display_gdb_prompt.
4043 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4044 observers instead of calling display_gdb_prompt.
4045 * interps.c (interp_set): Don't call display_gdb_prompt.
4046 (current_interp_display_prompt_p): Delete.
4047 * interps.h (interp_prompt_p): Delete declaration.
4048 (interp_prompt_p_ftype): Delete.
4049 (struct interp_procs) <prompt_proc_p>: Delete field.
4050 (current_interp_display_prompt_p): Delete declaration.
4051 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4052 (_initialize_mi_interp): Adjust.
4053 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4054 'command_error' observers.
4055 (tui_on_sync_execution_done, tui_on_command_error): New
4056 functions.
4057 (tui_display_prompt_p): Delete.
4058 (_initialize_tui_interp): Adjust.
4059
fd664c91
PA
40602014-05-29 Pedro Alves <palves@redhat.com>
4061
4062 PR gdb/13860
4063 * cli/cli-interp.c: Include infrun.h and observer.h.
4064 (cli_uiout, cli_interp): New globals.
4065 (cli_on_signal_received, cli_on_end_stepping_range)
4066 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4067 functions.
4068 (cli_interpreter_init): Install them as 'end_stepping_range',
4069 'signal_received' 'signal_exited', 'exited' and 'no_history'
4070 observers.
4071 (_initialize_cli_interp): Remove cli_interp local.
4072 * infrun.c (handle_inferior_event): Call the several stop reason
4073 observers instead of printing the stop reason directly.
4074 (end_stepping_range): New function.
4075 (print_end_stepping_range_reason, print_signal_exited_reason)
4076 (print_exited_reason, print_signal_received_reason)
4077 (print_no_history_reason): Make static, and add an uiout
4078 parameter. Print to that instead of to CURRENT_UIOUT.
4079 * infrun.h (print_end_stepping_range_reason)
4080 (print_signal_exited_reason, print_exited_reason)
4081 (print_signal_received_reason print_no_history_reason): New
4082 declarations.
4083 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4084 'mi_uiout'.
4085 <cli_uiout>: New field.
4086 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4087 uiout for CLI output. Install 'signal_received',
4088 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4089 observers.
4090 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4091 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4092 (mi_on_no_history): New functions.
4093 (ui_out_free_cleanup): Delete function.
4094 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4095 instead use the one already stored in the MI interpreter data.
4096 (mi_ui_out): Adjust.
4097 * tui/tui-interp.c: Include infrun.h and observer.h.
4098 (tui_interp): New global.
4099 (tui_on_signal_received, tui_on_end_stepping_range)
4100 (tui_on_signal_exited, tui_on_exited)
4101 (tui_on_no_history): New functions.
4102 (tui_init): Install them as 'end_stepping_range',
4103 'signal_received' 'signal_exited', 'exited' and 'no_history'
4104 observers.
4105 (_initialize_tui_interp): Delete tui_interp local.
4106
8817a6f2
PA
41072014-05-29 Pedro Alves <palves@redhat.com>
4108
4109 PR gdb/15713
4110 * linux-nat.c (linux_nat_resume_callback): Rename the second
4111 parameter to 'except'. Skip LP if it points to EXCEPT.
4112 (linux_nat_resume): Don't mark the event lwp as not stopped
4113 before resuming sibling lwps. Instead ask
4114 linux_nat_resume_callback to skip the event lwp. Mark it as not
4115 stopped after actually resuming it.
4116 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4117 resuming it.
4118 (wait_lwp): Mark the lwp as stopped here.
4119 (stop_wait_callback): Mark the lwp as not stopped right after
4120 resuming it. Don't mark lwps as stopped here.
4121 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4122 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4123
251bde03
PA
41242014-05-29 Pedro Alves <palves@redhat.com>
4125
4126 PR PR15693
4127 * infrun.c (resume): Determine how much to resume depending on
4128 whether the caller wanted a step, not whether we can hardware step
4129 the target. Mark all threads that we intend to run as running,
4130 unless we're calling an inferior function.
4131 (normal_stop): If the thread is running an infcall, don't finish
4132 thread state.
4133 * target.c (target_resume): Don't mark threads as running here.
4134
7f3c0343
JB
41352014-05-28 Joel Brobecker <brobecker@adacore.com>
4136
4137 * serial.c (_initialize_serial): Remove support for
4138 the "set remotebaud" and "show remotebaud" commands.
4139 * NEWS: Add entry documenting the removal of that command.
4140
ee34b3f9
YQ
41412014-05-28 Yao Qi <yao@codesourcery.com>
4142
4143 * charset.c: Fix typo in comments.
4144
add6c04d
GB
41452014-05-27 Gary Benson <gbenson@redhat.com>
4146
4147 * utils.c (internal_vproblem): Prompt for a bug report.
4148
92c48fc5
AW
41492014-05-26 Andy Wingo <wingo@igalia.com>
4150
4151 * guile/scm-arch.c (arscm_mark_arch_smob):
4152 * guile/scm-block.c (bkscm_mark_block_smob)
4153 (bkscm_mark_block_syms_progress_smob):
4154 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4155 * guile/scm-exception.c (exscm_mark_exception_smob):
4156 * guile/scm-frame.c (frscm_mark_frame_smob):
4157 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4158 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4159 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4160 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4161 (ppscm_mark_pretty_printer_worker_smob):
4162 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4163 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4164 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4165 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4166 mark functions.
4167 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4168 function.
4169
b2715b27
AW
41702014-05-26 Andy Wingo <wingo@igalia.com>
4171 Doug Evans <xdje42@gmail.com>
4172
4173 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4174 empty_base_class. All uses updated.
4175 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4176 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4177 Adapt all callers.
4178 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4179 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4180 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4181 (gdbscm_gsmob_has_property_p, add_property_name)
4182 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4183 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4184 (gdb-object-has-property?, gdb-object-properties): Remove.
4185 (gdb-object-kind): Renamed from gsmob-kind.
4186
214ab2da
AW
41872014-05-26 Andy Wingo <wingo@igalia.com>
4188
4189 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4190 * configure: Regenerate.
4191
589fdceb
MM
41922014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4193
4194 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4195
67b5c0c1
MM
41962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4197
4198 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4199 (replay_memory_access_read_only, replay_memory_access_read_write)
4200 (replay_memory_access_types, replay_memory_access)
4201 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4202 (cmd_set_record_btrace, cmd_show_record_btrace)
4203 (cmd_show_replay_memory_access): New.
4204 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4205 (record_btrace_remove_breakpoint): Replace
4206 record_btrace_allow_memory_access with replay_memory_access.
4207 (_initialize_record_btrace): Add commands.
4208 * NEWS: Announce it.
4209
036cd381
RR
42102014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4211
4212 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4213
c77c1e42
RR
42142014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4215
4216 * MAINTAINERS (Write After Approval): Move self back from
4217 paper trail.
4218
45741a9c
PA
42192014-05-22 Pedro Alves <palves@redhat.com>
4220
4221 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4222 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4223 (disable_randomization, enum exec_direction_kind)
4224 (execution_direction, stop_registers, start_remote)
4225 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4226 (wait_for_inferior, normal_stop, get_last_target_status)
4227 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4228 (insert_step_resume_breakpoint_at_sal)
4229 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4230 (set_step_info, print_stop_event, signal_stop_state)
4231 (signal_print_state, signal_pass_state, signal_stop_update)
4232 (signal_print_update, signal_pass_update)
4233 (update_signals_program_target, clear_exit_convenience_vars)
4234 (displaced_step_dump_bytes, update_observer_mode)
4235 (signal_catch_update, gdb_signal_from_command): Move
4236 declarations ...
4237 * infrun.h: ... to this new file.
4238 * amd64-tdep.c: Include infrun.h.
4239 * annotate.c: Include infrun.h.
4240 * arch-utils.c: Include infrun.h.
4241 * arm-linux-tdep.c: Include infrun.h.
4242 * arm-tdep.c: Include infrun.h.
4243 * break-catch-sig.c: Include infrun.h.
4244 * breakpoint.c: Include infrun.h.
4245 * common/agent.c: Include infrun.h instead of inferior.h.
4246 * corelow.c: Include infrun.h.
4247 * event-top.c: Include infrun.h.
4248 * go32-nat.c: Include infrun.h.
4249 * i386-tdep.c: Include infrun.h.
4250 * inf-loop.c: Include infrun.h.
4251 * infcall.c: Include infrun.h.
4252 * infcmd.c: Include infrun.h.
4253 * infrun.c: Include infrun.h.
4254 * linux-fork.c: Include infrun.h.
4255 * linux-nat.c: Include infrun.h.
4256 * linux-thread-db.c: Include infrun.h.
4257 * monitor.c: Include infrun.h.
4258 * nto-tdep.c: Include infrun.h.
4259 * procfs.c: Include infrun.h.
4260 * record-btrace.c: Include infrun.h.
4261 * record-full.c: Include infrun.h.
4262 * remote-m32r-sdi.c: Include infrun.h.
4263 * remote-mips.c: Include infrun.h.
4264 * remote-notif.c: Include infrun.h.
4265 * remote-sim.c: Include infrun.h.
4266 * remote.c: Include infrun.h.
4267 * reverse.c: Include infrun.h.
4268 * rs6000-tdep.c: Include infrun.h.
4269 * s390-linux-tdep.c: Include infrun.h.
4270 * solib-irix.c: Include infrun.h.
4271 * solib-osf.c: Include infrun.h.
4272 * solib-svr4.c: Include infrun.h.
4273 * target.c: Include infrun.h.
4274 * top.c: Include infrun.h.
4275 * windows-nat.c: Include infrun.h.
4276 * mi/mi-interp.c: Include infrun.h.
4277 * mi/mi-main.c: Include infrun.h.
4278 * python/py-threadevent.c: Include infrun.h.
4279
98eb56a4
PA
42802014-05-22 Pedro Alves <palves@redhat.com>
4281
4282 * infrun.c (handle_inferior_event): Store the exit code for
4283 --return-child-result here, instead of ...
4284 (print_exited_reason): ... here.
4285
17b2616c
PA
42862014-05-21 Pedro Alves <palves@redhat.com>
4287
4288 PR gdb/13860
4289 * gdbthread.h (struct thread_control_state): New field
4290 `command_interp'.
4291 * infrun.c (follow_fork): Copy the new thread control field to the
4292 child fork thread.
4293 (clear_proceed_status_thread): Clear the new thread control field.
4294 (proceed): Set the new thread control field.
4295 * interps.h (command_interp): Declare.
4296 * interps.c (command_interpreter): New global.
4297 (command_interp): New function.
4298 (interp_exec): Set `command_interpreter' while here.
4299 * cli-out.c (cli_uiout_dtor): New function.
4300 (cli_ui_out_impl): Install it.
4301 * mi/mi-interp.c: Include cli-out.h.
4302 (mi_cmd_interpreter_exec): Add comment.
4303 (restore_current_uiout_cleanup): New function.
4304 (ui_out_free_cleanup): New function.
4305 (mi_on_normal_stop): If finishing an execution command started by
4306 a CLI command, or any kind of breakpoint-like event triggered,
4307 print the stop event to the output (CLI) stream.
4308 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4309
5166082f
PA
43102014-05-21 Pedro Alves <palves@redhat.com>
4311
4312 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4313 current source line having changed.
4314 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4315 * infrun.c (normal_stop): Adjust call to
4316 set_current_sal_from_frame.
4317 * source.c (clear_lines_listed_range): New function.
4318 (set_current_source_symtab_and_line, identify_source_line): Clear
4319 the lines listed range.
4320 (line_info): Handle the first "info line" after the current source
4321 line having changed.
4322 * stack.c (print_stack_frame): Remove center handling.
4323 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4324 center sal.line.
4325
c1ee2fb3
PA
43262014-05-21 Pedro Alves <palves@redhat.com>
4327
4328 * inf-child.c (inf_child_mourn_inferior): New function.
4329 * inf-child.h (inf_child_mourn_inferior): New declaration.
4330 * darwin-nat.c (darwin_mourn_inferior): Use
4331 inf_child_mourn_inferior.
4332 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4333 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4334 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4335 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4336 * windows-nat.c (windows_mourn_inferior): Likewise.
4337
5c6d4fb2
DE
43382014-05-21 Doug Evans <xdje42@gmail.com>
4339
250748cb 4340 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4341
4a2722c5
DE
43422014-05-21 Doug Evans <xdje42@gmail.com>
4343
17292b30 4344 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4345 (gdbscm_out_of_range_error): Ditto.
4346 (gdbscm_memory_error): Ditto.
250748cb
DE
4347 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4348 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4349 (gdbscm_out_of_range_error): Update.
4350 (gdbscm_memory_error): Update.
4351 (gdbscm_scm_to_target_string_unsafe): Delete.
4352
6a3cb8e8
PA
43532014-05-21 Pedro Alves <palves@redhat.com>
4354
4355 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4356 globals.
4357 (inf_child_open_target): New function.
4358 (inf_child_open): Use inf_child_open_target to push the target
4359 instead of erroring out.
4360 (inf_child_disconnect, inf_child_close)
4361 (inf_child_maybe_unpush_target): New functions.
4362 (inf_child_target): Install inf_child_disconnect and
4363 inf_child_close. Store a pointer to the returned object.
4364 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4365 declarations.
4366 * target.c (auto_connect_native_target): New global.
4367 (show_default_run_target): New function.
4368 (find_default_run_target): Return NULL if automatically connecting
4369 to the native target is disabled.
4370 (_initialize_target): Install set/show auto-connect-native-target.
4371 * NEWS: Mention "set auto-connect-native-target", and "target
4372 native".
4373 * linux-nat.c (super_close): New global.
4374 (linux_nat_close): Call super_close.
4375 (linux_nat_add_target): Store a pointer to the base class's
4376 to_close method.
4377 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4378 inf_child_maybe_unpush.
4379 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4380 already pushed.
4381 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4382 the inferior. Use inf_child_maybe_unpush_target.
4383 (inf_ttrace_attach): Don't push the target if it is already
4384 pushed.
4385 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4386 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4387 after mourning the inferior. Use inf_child_maybe_unpush_target.
4388 (darwin_attach_pid): Don't push the target if it is already
4389 pushed.
4390 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4391 mourning the inferior. Use inf_child_maybe_unpush_target.
4392 (gnu_detach): Use inf_child_maybe_unpush_target.
4393 * go32-nat.c (go32_create_inferior): Don't push the target if it
4394 is already pushed.
4395 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4396 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4397 (procfs_open): Rename to ...
4398 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4399 comments. Can target_preopen before changing node. Call
4400 inf_child_open_target to push the target explicitly.
4401 (procfs_attach): Don't push the target if it is already pushed.
4402 (procfs_detach): Use inf_child_maybe_unpush_target.
4403 (procfs_create_inferior): Don't push the target if it is already
4404 pushed.
4405 (nto_native_ops): New global.
4406 (procfs_open): Reimplement.
4407 (procfs_native_open): New function.
4408 (init_procfs_targets): Install procfs_native_open as to_open of
4409 "target native". Store a pointer to the "native" target in
4410 nto_native_ops.
4411 * procfs.c (procfs_attach): Don't push the target if it is already
4412 pushed.
4413 (procfs_detach): Use inf_child_maybe_unpush_target.
4414 (procfs_mourn_inferior): Only unpush the target after mourning the
4415 inferior. Use inf_child_maybe_unpush_target.
4416 (procfs_init_inferior): Don't push the target if it is already
4417 pushed.
4418 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4419 if it is already pushed.
4420
930ee1b1
PA
44212014-05-21 Pedro Alves <palves@redhat.com>
4422
4423 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4424 and "procfs" targets are now called "native" instead.
4425
1f5d1b13
PA
44262014-05-21 Pedro Alves <palves@redhat.com>
4427
4428 * go32-nat.c (go32_open): Delete.
4429 (go32_target): Don't override the to_open method.
4430
132f8e03
PA
44312014-05-21 Pedro Alves <palves@redhat.com>
4432
4433 * nto-procfs.c (procfs_can_run): New function.
4434 (nto_procfs_ops): New global.
4435 (init_procfs_targets): New, based on procfs_target. Install
4436 "target native" in addition to "target procfs".
4437 (_initialize_procfs): Call init_procfs_targets instead of adding
4438 the target here.
4439
03c136c3
PA
44402014-05-21 Pedro Alves <palves@redhat.com>
4441
4442 * windows-nat.c (windows_target): Don't override to_shortname,
4443 to_longname or to_doc.
4444
a635d0f3
PA
44452014-05-21 Pedro Alves <palves@redhat.com>
4446
4447 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4448 to_doc.
4449
4f9b5133
PA
44502014-05-21 Pedro Alves <palves@redhat.com>
4451
4452 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4453 to_shortname, to_longname or to_doc.
4454
bc85afde
PA
44552014-05-21 Pedro Alves <palves@redhat.com>
4456
4457 * go32-nat.c (go32_target): Don't override to_shortname,
4458 to_longname or to_doc.
4459
4ebfc96e
PA
44602014-05-21 Pedro Alves <palves@redhat.com>
4461
4462 * inf-child.c (inf_child_open): Remove mention of "child".
4463 (inf_child_target): Rename target to "native" instead of "child".
4464
2648dfed
AA
44652014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4466
4467 * Makefile.in (SFILES): Delete "regset.c".
4468 (COMMON_OBS): Delete "regset.o".
4469 * regset.c: Remove.
4470 * regset.h (regset_alloc): Delete prototype.
4471
b13feb94
AA
44722014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4473
4474 * sparc-linux-tdep.c (sparc32_linux_gregset)
4475 (sparc32_linux_fpregset): New static regset structures.
4476 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4477 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4478 'fpregset' fields.
4479 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4480 (sparc64_linux_fpregset): New static regset structures.
4481 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4482 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4483 New static regset structures.
4484 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4485 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4486 New static regset structures.
4487 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4488 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4489 New static regset structures.
4490 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4491 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4492 New static regset structures.
4493 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4494
b4fd25c9
AA
44952014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4496
4497 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4498 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4499 register maps ("regmaps") from "*regset" to "*regmap". Do this
4500 for all regmap types and variables.
4501 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4502 (sparc32_linux_supply_core_gregset)
4503 (sparc32_linux_collect_core_gregset)
4504 (sparc32_linux_supply_core_fpregset)
4505 (sparc32_linux_collect_core_fpregset): Likewise.
4506 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4507 (sparc_gregmap, sparc_fpregmap): ... these.
4508 (sparc_supply_gregset, sparc_collect_gregset)
4509 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4510 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4511 (_initialize_sparc_nat): Rename regmaps.
4512 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4513 (sparc_gregmap, sparc_fpregmap): ... these.
4514 (sparc_supply_gregset, sparc_collect_gregset)
4515 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4516 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4517 Rename macros to...
4518 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4519 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4520 Likewise.
4521 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4522 Rename to...
4523 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4524 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4525 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4526 regmaps.
4527 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4528 (sparc32_bsd_fpregset): Rename to...
4529 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4530 (sparc32_bsd_fpregmap): ... these.
4531 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4532 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4533 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4534 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4535 (struct sparc_gregmap, struct sparc_fpregmap)
4536 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4537 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4538 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4539 (sparc32_supply_regset, sparc32_collect_gregset)
4540 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4541 prototypes.
4542 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4543 (sparc64_linux_ptrace_gregmap): ... this.
4544 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4545 (_initialize_sparc64_linux_nat): Rename regmaps.
4546 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4547 (sparc64_linux_core_gregmap): ... this.
4548 (sparc64_linux_supply_core_gregset)
4549 (sparc64_linux_collect_core_gregset)
4550 (sparc64_linux_supply_core_fpregset)
4551 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4552 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4553 (sparc64_sol2_fpregset): Rename to...
4554 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4555 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4556 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4557 regmaps.
4558 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4559 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4560 (sparc64_bsd_fpregset): Rename to...
4561 (struct sparc_gregmap, sparc64_sol2_gregmap)
4562 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4563 (sparc64_bsd_fpregmap): ... these.
4564 (sparc64_supply_gregset, sparc64_collect_gregset)
4565 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4566 prototypes.
4567 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4568 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4569 (sparc64fbsd_gregmap): ... this.
4570 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4571 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4572 Rename regmaps.
4573 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4574 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4575 (sparc64nbsd_collect_fpregset): Likewise.
4576 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4577 (sparc64nbsd_gregmap): ... this.
4578 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4579 regmaps.
4580 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4581 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4582 (sparc64obsd_gregmap): ... this.
4583 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4584 regmaps.
4585 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4586 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4587 (sparc32nbsd_gregmap): ... this.
4588 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4589 regmaps.
4590
8fea3224
AA
45912014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4592
4593 * score-tdep.c (score7_linux_gregset): New static regset
4594 structure.
4595 (score7_linux_regset_from_core_section): Remove dynamic regset
4596 allocation.
4597 (score_gdbarch_init): Drop allocation of tdep structure.
4598 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4599
24534243
AA
46002014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4601
4602 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4603 regset structures.
4604 (am33_regset_from_core_section): Remove dynamic regset
4605 allocations.
4606
b7195f27
AA
46072014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4608
4609 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4610 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4611 structures.
4612 (mips_linux_regset_from_core_section): Remove dynamic regset
4613 allocations.
4614 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4615 'gregset64', 'fpregset', and 'fpregset64'.
4616 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4617 deleted tdep fields.
4618
ecc37a5a
AA
46192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4620
4621 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4622 regset structures.
4623 (amd64_regset_from_core_section): Remove dynamic regset
4624 allocations.
4625 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4626 structure.
4627 (amd64obsd_regset_from_core_section): Remove dynamic regset
4628 allocation.
4629 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4630 Likewise.
4631 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4632 x86-common regset supply function.
4633 * i386-tdep.c (i386_collect_gregset): Make static.
4634 (i386_gregset): New global regset structure.
4635 (i386_fpregset, i386_xstateregset): New static regset structures.
4636 (i386_regset_from_core_section): Remove dynamic regset
4637 allocations.
4638 (i386_gdbarch_init): Remove initialization of tdep fields
4639 'gregset', 'fpregset', and 'xstateregset'.
4640 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4641 'fpregset', and 'xstateregset'.
4642 (i386_collect_gregset): Remove prototype.
4643 (i386_gregset): New declaration.
4644 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4645 structure.
4646 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4647 allocation.
4648
b7611c43
AA
46492014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4650
4651 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4652 (arm_linux_vfpregset): New static regset structures.
4653 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4654 regset structures.
4655 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4656 and 'vfpregset' fields.
4657
a069a2bd
AA
46582014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4659
4660 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4661 (aarch64_linux_fpregset): New static regset structures.
4662 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4663 of regset structures.
4664 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4665 'fpregset' fields.
4666
09424cff
AA
46672014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4668
4669 * regset.h (struct regset): Remove gdbarch field.
4670 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4671 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4672 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4673 Likewise.
4674 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4675 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4676 (ppc32_linux_vsxregset): Likewise.
4677 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4678 via the regcache instead of the regset.
4679 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4680 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4681 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4682 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4683 Likewise.
4684
3ca7dae4
AA
46852014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4686
4687 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4688 Constify structures.
4689 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4690 (alphanbsd_aout_gregset): Likewise.
4691 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4692 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4693 Likewise.
4694 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4695 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4696 Likewise.
4697 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4698 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4699 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4700 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4701 * m88k-tdep.c (m88k_gregset): Likewise.
4702 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4703 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4704 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4705 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4706 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4707 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4708 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4709 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4710 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4711 Likewise.
4712 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4713 * sh-tdep.h (sh_corefile_gregset): Likewise.
4714 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4715 * vax-tdep.c (vax_gregset): Likewise.
4716
5876f503
JK
47172014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4718
4719 Fix TLS access for -static -pthread.
4720 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4721 (try_thread_db_load_1): Initialize it.
4722 (thread_db_get_thread_local_address): Call it if LM is zero.
4723 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4724 * target.h (struct target_ops) (to_get_thread_local_address): Add
4725 load_module_addr comment.
4726
0256a6ac
PA
47272014-05-21 Pedro Alves <palves@redhat.com>
4728
4729 * dcache.c (dcache_read_memory_partial): If reading the cache line
4730 fails, fallback to reading just the memory the caller wanted.
4731
227533ac
DE
47322014-05-20 Doug Evans <dje@google.com>
4733
4734 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4735 instead of get_current_arch.
4736
936d2992
PA
47372014-05-20 Pedro Alves <palves@redhat.com>
4738
4739 * NEWS: Mention that compare-sections now works with all targets.
4740
4741 * remote.c (PACKET_qCRC): New enum value.
4742 (remote_verify_memory): Don't send qCRC if the target has no
4743 execution. Use packet_support/packet_ok. If the target doesn't
4744 support the qCRC packet, fallback to a deep memory copy.
4745 (compare_sections_command): Say "target image" instead of "remote
4746 executable".
4747 (_initialize_remote): Add PACKET_qCRC to the list of config
4748 packets that have no associated command. Extend comment.
4749 * target.c (simple_verify_memory, default_verify_memory): New
4750 function.
4751 * target.h (struct target_ops) <to_verify_memory>: Default to
4752 default_verify_memory.
4753 (simple_verify_memory): New declaration.
4754 * target-delegates.c: Regenerate.
4755
e59fa00f
MM
47562014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4757
4758 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4759
f2205de0
HZ
47602014-05-20 Hui Zhu <hui@codesourcery.com>
4761 Yao Qi <yao@codesourcery.com>
4762
4763 PR backtrace/16558
4764 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4765 and change address of sp and pc.
4766
c4e54771
TT
47672014-05-19 Tom Tromey <tromey@redhat.com>
4768
4769 * gdbtypes.c (rank_function): Use XNEWVEC.
4770 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4771
73051182
DE
47722014-05-19 Doug Evans <dje@google.com>
4773
4774 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4775 build_type_unit_groups and moved closer to only caller. Remove
4776 arguments. All references updated. Remove outdated .gdb_index
4777 comment.
4778 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4779 build_type_psymtabs_1.
4780
8832e7e3
DE
47812014-05-19 Doug Evans <dje@google.com>
4782
4783 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4784 n_type_unit_groups, all_type_unit_groups. All uses removed.
4785 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4786 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4787 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4788 (add_type_unit_group_to_table): Delete.
4789
cd8ae15e
DE
47902014-05-19 Doug Evans <dje@google.com>
4791
4792 * eval.c (evaluate_subexp_standard): Add some comments.
4793
08f4850b
DE
47942014-05-17 Doug Evans <xdje42@gmail.com>
4795
4796 * progspace.c (remove_program_space): Delete, unused.
4797 * progspace.h (remove_program_space): Ditto.
4798
bed8455c
DE
47992014-05-17 Doug Evans <xdje42@gmail.com>
4800
4801 * inferior.c (prune_inferiors): Fix comment.
4802 (remove_inferior_command): Call prune_program_spaces.
4803
8d551b02
DE
48042014-05-16 Doug Evans <dje@google.com>
4805
4806 New command line option -D.
4807 * NEWS: Mention it.
4808 * main.c (set_gdb_data_directory): New function.
4809 (captured_main): Recognize -D. Flag error for --data-directory "".
4810 Call set_gdb_data_directory.
4811 (print_gdb_help): Print --data-directory, -D.
4812 * main.h (set_gdb_data_directory): Declare.
4813 * top.c (staged_gdb_datadir): New static global.
4814 (set_gdb_datadir): Call set_gdb_data_directory
4815 (show_gdb_datadir): New function.
4816 (init_main): Update init of data-directory parameter.
4817
18848e28
GF
48182014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4819
4820 Import the "dirfd" gnulib module.
4821 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4822 * gnulib/aclocal.m4: Update.
4823 * gnulib/config.in: Update.
4824 * gnulib/configure: Update.
4825 * gnulib/import/Makefile.am: Update.
4826 * gnulib/import/Makefile.in: Update.
4827 * gnulib/import/dirfd.c: New.
4828 * gnulib/import/m4/dirfd.m4: New.
4829 * gnulib/import/m4/gnulib-cache.m4: Update.
4830 * gnulib/import/m4/gnulib-comp.m4: Update.
4831
95c64f92
YQ
48322014-05-16 Pierre Muller <muller@sourceware.org>
4833 Yao Qi <yao@codesourcery.com>
4834
4835 * valprint.c (print_wchar): Move the code on checking whether
4836 W is a printable wide char to the default branch of switch
4837 statement below. Call wchar_printable instead of gdb_iswprint.
4838
cac395ea
TM
48392014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4840
19679eca 4841 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4842 ldr.w and ldrd instructions.
4843
83655187
DE
48442014-05-15 Doug Evans <dje@google.com>
4845
4846 * dwarf2read.c (read_structure_type): Delete outdated comments.
4847
dd756689
TT
48482014-05-14 Tom Tromey <tromey@redhat.com>
4849
4850 * macrocmd.c (print_macro_definition): Reindent.
4851
75ddda77
DE
48522014-05-13 Doug Evans <xdje42@gmail.com>
4853
4854 * python/py-cmd.c (cmdpy_completer): Add comment.
4855 (completers): Make const.
4856
b0f16a3e
SM
48572014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4858
4859 * infrun.c (resume): Remove should_resume (unused). Move up
4860 declaration of resume_ptid.
4861
033c3379
TT
48622014-05-13 Tom Tromey <tromey@redhat.com>
4863
4864 * language.h (unop_type_check): Remove.
4865 (binop_type_check): Don't declare.
4866
9b44a3a5
AA
48672014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4868
4869 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4870 call to regcache_raw_collect.
4871
303a33fa
SM
48722014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4873
4874 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4875 mi_console->quote as the quoting character.
4876
196100a0
SM
48772014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4878
4879 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4880
f989a1c8
TT
48812014-04-29 Tom Tromey <tromey@redhat.com>
4882
4883 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4884 "show debug varobj".
4885
9404b58f
KM
48862014-05-07 Kyle McMartin <kyle@redhat.com>
4887
4888 Pushed by Joel Brobecker <brobecker@adacore.com>.
4889 * aarch64-tdep.c (aarch64_software_single_step): New function.
4890 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4891 with aarch64_software_single_step.
4892
5e49ba57
JB
48932014-05-05 Joel Brobecker <brobecker@adacore.com>
4894
4895 GDB 7.7.1 released.
4896
c888a17d
KS
48972014-05-05 Keith Seitz <keiths@redhat.com>
4898
4899 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4900 variable or history value is successfully parsed.
4901
290a839c
YQ
49022014-05-05 Yao Qi <yao@codesourcery.com>
4903 Pedro Alves <palves@redhat.com>
4904
4905 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4906 address of blocks that intersects the requested range. Trim
4907 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4908 sections.
4909 * ctf.c (ctf_xfer_partial): Likewise.
4910
91256dc2
YQ
49112014-05-05 Yao Qi <yao@codesourcery.com>
4912
4913 * printcmd.c (display_command): Remove the check to
4914 target_has_execution.
4915
07284463
MK
49162014-05-03 Mark Kettenis <kettenis@gnu.org>
4917
4918 * ppcobsd-nat.c: Include "obsd-nat.h".
4919 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4920 add_target.
4921 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4922
30a1e6cc
SDJ
49232014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4924
4925 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4926 and 16-bit signed and unsigned arguments. Update comment.
4927 (stap_parse_probe_arguments): Extend code to handle such
4928 arguments. Use warning instead of complaint to notify about
4929 unrecognized bitness.
4930
f33da99a
SDJ
49312014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4932
4933 PR breakpoints/16889
4934 * stap-probe.c (stap_parse_probe_arguments): Simplify
4935 check for non-prefixed probes (i.e., probes whose
4936 arguments do not start with "N@"). Always set the
4937 argument type to a sane value.
4938
95cf3b38
DT
49392014-05-01 David Taylor <dtaylor@emc.com>
4940
4941 * remote.c (compare_sections_command): Add -r option to compare
4942 all loadable read-only sections.
4943
1cfdf534
SC
49442014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4945
4946 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4947 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4948 Update all callers.
4949 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4950 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4951 Remove unused CORE_ADDR argument. Update all callers.
4952
ca4f7f8b
PA
49532014-04-29 Pedro Alves <palves@redhat.com>
4954
4955 * remote.c (struct packet_config) <detect>: Extend comment.
4956 (add_packet_config_cmd): Don't set the config's detect or support
4957 fields here.
4958 (init_all_packet_configs): Also initialize the config's 'detect'
4959 field.
4960 (reset_all_packet_configs_support): New function.
4961 (remote_open_1): Call reset_all_packet_configs_support instead of
4962 init_all_packet_configs.
4963 (_initialize_remote): Initialize all packet configs. Assert that
4964 all packets have an associated command, except a few known
4965 outliers.
4966
11c1ba78
JB
49672014-04-28 Joel Brobecker <brobecker@adacore.com>
4968
4969 * dwarf2read.c (read_subrange_type): Handle dynamic
4970 DW_AT_lower_bound attributes.
4971
8739bc53
JB
49722014-04-28 Joel Brobecker <brobecker@adacore.com>
4973
4974 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4975 dynamic bounds before computing its upper bound.
4976 (ada_discrete_type_low_bound): Same as above with the lower bound.
4977
6f8a3220
JB
49782014-04-28 Joel Brobecker <brobecker@adacore.com>
4979
4980 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4981 range types. Adjust the array handling implementation to
4982 take advantage of this change.
4983 (resolve_dynamic_range): New function, mostly extracted from
4984 resolve_dynamic_bounds.
4985 (resolve_dynamic_array): New function, mostly extracted from
4986 resolve_dynamic_bounds.
4987 (resolve_dynamic_bounds): Delete.
4988 (resolve_dynamic_type): Reimplement. Add handling of
4989 TYPE_CODE_RANGE types.
4990
4d072ce4
JB
49912014-04-28 Joel Brobecker <brobecker@adacore.com>
4992
4993 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4994 handling of parallel ___XA types.
4995
52865325
JB
49962014-04-28 Joel Brobecker <brobecker@adacore.com>
4997
4998 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
4999 unnecessary second call to static_unwrap_type.
5000
433e77fa
HZ
50012014-04-27 Hui Zhu <hui@codesourcery.com>
5002
5003 * stack.c (print_frame_info): Call do_gdb_disassembly with
5004 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5005
b51a69ee
DE
50062014-04-26 Doug Evans <xdje42@gmail.com>
5007
5008 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5009
7ae1a6a6
PA
50102014-04-25 Pedro Alves <palves@redhat.com>
5011
5012 PR server/16255
5013 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5014 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5015 and newline from built string.
5016 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5017 (linux_ptrace_attach_fail_reason): ... this.
5018 * linux-nat.c (linux_nat_attach): Adjust to use
5019 linux_ptrace_attach_fail_reason.
5020
4082afcc
PA
50212014-04-25 Pedro Alves <palves@redhat.com>
5022
5023 * remote.c (struct remote_state): Remove multi_process_aware,
5024 non_stop_aware, cond_tracepoints, cond_breakpoints,
5025 breakpoint_commands, fast_tracepoints, static_tracepoints,
5026 install_in_trace, disconnected_tracing,
5027 enable_disable_tracepoints, string_tracing, and
5028 augmented_libraries_svr4_read fields.
5029 (remote_multi_process_p): Move further below in the file.
5030 (struct packet_config): Add comments.
5031 (update_packet_config): Delete function.
5032 (show_packet_config_cmd): Use packet_config_support.
5033 (add_packet_config_cmd): Use NULL as set callback.
5034 (packet_ok): "set remote foo-packet"-style commands no longer
5035 change config->supported -- adjust.
5036 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5037 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5038 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5039 (PACKET_QNonStop, PACKET_multiprocess_feature)
5040 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5041 (PACKET_DisconnectedTracing_feature)
5042 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5043 (set_remote_protocol_packet_cmd): Delete function.
5044 (packet_config_support, packet_support): New functions.
5045 (set_remote_protocol_Z_packet_cmd): Don't call
5046 update_packet_config.
5047 (remote_query_attached, remote_pass_signals)
5048 (remote_program_signals, remote_threads_info)
5049 (remote_threads_extra_info, remote_start_remote): Use
5050 packet_support.
5051 (remote_start_remote): Use packet_config_support and
5052 packet_support.
5053 (init_all_packet_configs): Set all packets to unknown support,
5054 instead of calling update_packet_config.
5055 (remote_check_symbols): Use packet_support.
5056 (remote_supported_packet): Unconditionally set the packet config's
5057 support status.
5058 (remote_multi_process_feature, remote_non_stop_feature)
5059 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5060 (remote_breakpoint_commands_feature)
5061 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5062 (remote_install_in_trace_feature)
5063 (remote_disconnected_tracing_feature)
5064 (remote_enable_disable_tracepoint_feature)
5065 (remote_string_tracing_feature)
5066 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5067 (remote_protocol_features): Adjust to use remote_supported_packet
5068 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5069 "ConditionalTracepoints", "ConditionalBreakpoints",
5070 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5071 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5072 "EnableDisableTracepoints", and "tracenz".
5073 (remote_query_supported): Use packet_support.
5074 (remote_open_1): Adjust.
5075 (extended_remote_attach_1): Use packet_support. Switch on the
5076 result of packet_ok instead of checking whether the packet ended
5077 up disabled.
5078 (remote_vcont_resume): Use packet_support.
5079 (remote_resume, remote_stop_ns, fetch_register_using_p)
5080 (remote_prepare_to_store, store_register_using_P)
5081 (check_binary_download, remote_write_bytes): Use packet_support.
5082 (remote_vkill): Use packet_support. Switch on the result of
5083 packet_ok instead of checking whether the packet ended up
5084 disabled.
5085 (extended_remote_supports_disable_randomization): Use
5086 packet_support.
5087 (extended_remote_run): Switch on the result of packet_ok instead
5088 of checking whether the packet ended up disabled.
5089 (remote_insert_breakpoint, remote_remove_breakpoint)
5090 (remote_insert_watchpoint, remote_remove_watchpoint)
5091 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5092 packet_support.
5093 (remote_search_memory): Use packet_config_support.
5094 (remote_get_thread_local_address, remote_get_tib_address)
5095 (remote_hostio_send_command, remote_can_execute_reverse): Use
5096 packet_support.
5097 (remote_supports_cond_tracepoints)
5098 (remote_supports_cond_breakpoints)
5099 (remote_supports_fast_tracepoints)
5100 (remote_supports_static_tracepoints)
5101 (remote_supports_install_in_trace)
5102 (remote_supports_enable_disable_tracepoint)
5103 (remote_supports_string_tracing)
5104 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5105 the packet config says the feature is enabled or disabled.
5106 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5107 (remote_get_trace_status): Use packet_support.
5108 (remote_set_disconnected_tracing): Adjust to check whether the
5109 feature is enabled with packet_support.
5110 (remote_set_trace_buffer_size, remote_use_agent)
5111 (remote_can_use_agent, remote_supports_btrace): Use
5112 packet_support.
5113 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5114 Use packet_config_support.
5115 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5116 the packet config says the feature is enabled or disabled.
5117 (set_range_stepping): Use packet_support.
5118
bdb52a22
TT
51192014-04-25 Tom Tromey <tromey@redhat.com>
5120
5121 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5122 argument.
5123
e9475ead
SA
51242014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5125
5126 * NEWS: Mention support for C99 variable length arrays.
5127
82eacd52
JB
51282014-04-24 Joel Brobecker <brobecker@adacore.com>
5129
5130 * ada-lang.c (standard_exc): Expand introductory comment.
5131
01f9f808
MS
51322014-04-24 Michael Sturm <michael.sturm@mintel.com>
5133 Walfred Tedeschi <walfred.tedeschi@intel.com>
5134
5135 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5136 AVX512 registers.
5137 (amd64_linux_read_description): Add code to handle AVX512 xstate
5138 mask and return respective tdesc.
5139 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5140 and features/i386/x32-avx512-linux.c.
5141 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5142 (amd64_linux_core_read_description): Add code to handle AVX512
5143 xstate mask and return respective tdesc.
5144 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5145 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5146 calculation.
5147 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5148 (tdesc_amd64_avx512_linux): New prototype.
5149 (tdesc_x32_avx512_linux): Likewise.
5150 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5151 features/i386/x32-avx512.c.
5152 (amd64_ymm_avx512_names): New register names for pseudo
5153 registers YMM16-31.
5154 (amd64_ymmh_avx512_names): New register names for raw registers
5155 YMMH16-31.
5156 (amd64_k_names): New register names for K registers.
5157 (amd64_zmmh_names): New register names for ZMM raw registers.
5158 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5159 (amd64_xmm_avx512_names): New register names for XMM16-31
5160 registers.
5161 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5162 registers.
5163 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5164 if feature is present.
5165 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5166 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5167 (AMD64_NUM_REGS): Adjust to new number of registers.
5168 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5169 registers supplied via XSTATE by AVX512 registers.
5170 (i386_linux_read_description): Add case for AVX512.
5171 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5172 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5173 (i386_linux_core_read_description): Add case for AVX512.
5174 (i386_linux_init_abi): Install supported register note section
5175 for AVX512.
5176 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5177 AVX512.
5178 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5179 registers to be number of zmm7h + 1.
5180 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5181 * i386-tdep.c: Include features/i386/i386-avx512.c.
5182 (i386_zmm_names): Add ZMM pseudo register names array.
5183 (i386_zmmh_names): Add ZMM raw register names array.
5184 (i386_k_names): Add K raw register names array.
5185 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5186 registers. AVX512 has 16 more ZMM registers than there are YMM
5187 registers.
5188 (i386_zmmh_regnum_p): Add function to look up register number of
5189 ZMM raw registers.
5190 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5191 (i386_k_regnum_p): Likewise for K raw registers.
5192 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5193 registers added by AVX512.
5194 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5195 registers added by AVX512.
5196 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5197 added by AVX512.
5198 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5199 (i386_pseudo_register_name): Add ZMM pseudo registers.
5200 (i386_zmm_type): Construct and return vector registers type for ZMM
5201 registers.
5202 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5203 ZMM0-31 pseudo registers and K registers.
5204 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5205 and YMM16-31 registers from register cache.
5206 (i386_pseudo_register_write): Add code to write K, ZMM and
5207 YMM16-31 registers.
5208 (i386_register_reggroup_p): Add code to include/exclude AVX512
5209 registers in/from respective register groups.
5210 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5211 registers if feature is present in xcr0.
5212 (i386_gdbarch_init): Add code to initialize AVX512 feature
5213 variables in tdep structure, wire in pseudo registers and call
5214 initialize_tdesc_i386_avx512.
5215 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5216 variables.
5217 (i386_regnum): Add AVX512 registers.
5218 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5219 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5220 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5221 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5222 512 bits wide.
5223 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5224 (i386_ymm_avx512_regnum_p): Likewise.
5225 (i386_k_regnum_p): Likewise.
5226 (i386_zmm_regnum_p): Likewise.
5227 (i386_zmmh_regnum_p): Likewise.
5228 * i387-tdep.c : Update year in copyright notice.
5229 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5230 XSAVE buffer.
5231 (XSAVE_YMM_AVX512_ADDR): New macro.
5232 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5233 XSAVE buffer.
5234 (XSAVE_XMM_AVX512_ADDR): New macro.
5235 (xsave_avx512_k_offset): New table for K register offsets in
5236 XSAVE buffer.
5237 (XSAVE_AVX512_K_ADDR): New macro.
5238 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5239 in XSAVE buffer.
5240 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5241 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5242 buffer.
5243 (i387_collect_xsave): Add code to collect AVX512 registers from
5244 XSAVE buffer.
5245 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5246 of XMM16-31 registers.
5247 (I387_NUM_K_REGS): New define for number of K registers.
5248 (I387_K0_REGNUM): New define for K0 register number.
5249 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5250 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5251 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5252 registers.
5253 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5254 (I387_XMM16_REGNUM): New define for XMM16 register number.
5255 (I387_YMM0_REGNUM): New define for YMM0 register number.
5256 (I387_KEND_REGNUM): New define for last K register number.
5257 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5258 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5259 number.
5260 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5261 number.
5262 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5263 size.
5264 * features/Makefile: Add AVX512 related files.
5265 * features/i386/32bit-avx512.xml: New file.
5266 * features/i386/64bit-avx512.xml: Likewise.
5267 * features/i386/amd64-avx512-linux.c: Likewise.
5268 * features/i386/amd64-avx512-linux.xml: Likewise.
5269 * features/i386/amd64-avx512.c: Likewise.
5270 * features/i386/amd64-avx512.xml: Likewise.
5271 * features/i386/i386-avx512-linux.c: Likewise.
5272 * features/i386/i386-avx512-linux.xml: Likewise.
5273 * features/i386/i386-avx512.c: Likewise.
5274 * features/i386/i386-avx512.xml: Likewise.
5275 * features/i386/x32-avx512-linux.c: Likewise.
5276 * features/i386/x32-avx512-linux.xml: Likewise.
5277 * features/i386/x32-avx512.c: Likewise.
5278 * features/i386/x32-avx512.xml: Likewise.
5279 * regformats/i386/amd64-avx512-linux.dat: New file.
5280 * regformats/i386/amd64-avx512.dat: Likewise.
5281 * regformats/i386/i386-avx512-linux.dat: Likewise.
5282 * regformats/i386/i386-avx512.dat: Likewise.
5283 * regformats/i386/x32-avx512-linux.dat: Likewise.
5284 * regformats/i386/x32-avx512.dat: Likewise.
5285 * NEWS: Add note about new support for AVX512.
5286
5287
08351840
PA
52882014-04-23 Pedro Alves <palves@redhat.com>
5289
5290 * breakpoint.c (insert_bp_location): Tolerate errors if the
5291 breakpoint is set in a user-loaded objfile.
5292 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5293 location is marked shlib_disabled. If the breakpoint is set in a
5294 user-loaded objfile is a GDB-side memory breakpoint, validate it
5295 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5296 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5297 flag.
5298 * mem-break.c (memory_validate_breakpoint): New function.
5299 * objfiles.c (userloaded_objfile_contains_address_p): New
5300 function.
5301 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5302 * target.h (memory_validate_breakpoint): New declaration.
5303
076855f9
PA
53042014-04-23 Pedro Alves <palves@redhat.com>
5305
5306 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5307 the breakpoint is set in a shared library, only suppress
5308 errors for software breakpoints, not hardware breakpoints.
5309
483805cf
PA
53102014-04-22 Pedro Alves <palves@redhat.com>
5311
5312 * infrun.c (schedlock_applies): New function, factored out from
5313 find_thread_needs_step_over.
5314 (find_thread_needs_step_over): Use it.
5315 (switch_back_to_stepped_thread): Always clear trap_expected if the
5316 step over is finished. Return early if scheduler locking applies.
5317 Look for the stepping thread and a potential step-over thread with
5318 a single loop.
5319 (currently_stepping_or_nexting_callback): Delete.
5320
a75fef0e
NC
53212014-04-22 Nick Clifton <nickc@redhat.com>
5322
5323 * NEWS: Mention that ARM sim now supports tracing.
5324
48b6e87e
YQ
53252014-04-22 Yao Qi <yao@codesourcery.com>
5326
5327 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5328 to ...
5329 * tracefile.c (tracefile_fetch_registers): ... it. New
5330 function.
5331 * tracefile.h (tracefile_fetch_registers): Declare.
5332 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5333 tracefile_fetch_registers.
5334
17617f2d
EZ
53352014-04-19 Eli Zaretskii <eliz@gnu.org>
5336
5337 PR gdb/14018
5338 * windows-nat.c (thread_rec): Don't display a warning when
5339 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5340 fails for any reason, set th->suspended to -1, so that we don't
5341 try to resume such a thread. Also, don't return NULL in these
5342 cases, to avoid completely ruin the session due to "PC register is
5343 not available" error.
5344 (do_windows_fetch_inferior_registers): Check errors in
5345 GetThreadContext call.
5346 (windows_continue): Accept an additional argument KILLED; if not
5347 zero, ignore errors in the SetThreadContext call, since the
5348 inferior was killed and is shutting down.
5349 (windows_resume, get_windows_debug_event)
5350 (windows_create_inferior, windows_mourn_inferior)
5351 (windows_kill_inferior): All callers of windows_continue changed
5352 to adjust to its new calling sequence.
5353
5723a6fd
YQ
53542014-04-19 Yao Qi <yao@codesourcery.com>
5355
5356 * ctf.c (ctf_open): Call post_create_inferior.
5357
614d5099
YQ
53582014-04-19 Yao Qi <yao@codesourcery.com>
5359
5360 * ctf.c (handle_id): New static variable.
5361 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5362 value. Get the declaration of event "register" and get length
5363 of field "contents".
5364
dac3e710
YQ
53652014-04-19 Yao Qi <yao@codesourcery.com>
5366
5367 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5368
2bca57ba
SC
53692014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5370
5371 * valops.c (oload_method_static): Remove unnecessary argument
5372 METHOD. Update all callers.
5373
51d48146
PA
53742014-04-18 Pedro alves <palves@redhat.com>
5375 Tom Tromey <tromey@redhat.com>
5376
5377 PR backtrace/15558
5378 * frame.c (get_prev_frame_1): Rename to ...
5379 (get_prev_frame_always): ... this, and make extern. Adjust.
5380 (skip_artificial_frames): Use get_prev_frame_always.
5381 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5382 (get_frame_unwind_stop_reason): Adjust to rename.
5383 * frame.h (get_prev_frame_always): Declare.
5384 * inline-frame.c: Include frame.h.
5385 (inline_frame_this_id): Use get_prev_frame_always.
5386
1bdad2e0
TG
53872014-04-18 Tristan Gingold <gingold@adacore.com>
5388
5389 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5390 code by using bfd_mach_o_get_base_address.
5391
7ce16bd4
UW
53922014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5393
5394 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5395 (spu_ax_pseudo_register_collect): New function.
5396 (spu_ax_pseudo_register_push_stack): Likewise.
5397 (spu_dwarf_reg_to_regnum): Likewise.
5398 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5399
2ed3c037
UW
54002014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5401
5402 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5403 Replace FRAME argument with FRAME_ID.
5404 * gdbarch.c, gdbarch.h: Regenerate.
5405 * findvar.c (default_value_from_register): Add GDBARCH argument;
5406 replace FRAME by FRAME_ID. No longer call get_frame_id.
5407 (value_from_register): Update call to gdbarch_value_from_register.
5408 * value.h (default_value_from_register): Update prototype.
5409 * s390-linux-tdep.c (s390_value_from_register): Update interface
5410 and call to default_value_from_register.
5411 * spu-tdep.c (spu_value_from_register): Likewise.
5412
5413 * findvar.c (address_from_register): Remove TYPE argument.
5414 Do not call value_from_register; use gdbarch_value_from_register
5415 with null_frame_id instead.
5416 * value.h (address_from_register): Update prototype.
5417 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5418 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5419 address_from_register interface change.
5420
71e50e83
YQ
54212014-04-17 Yao Qi <yao@codesourcery.com>
5422
5423 * gdbtypes.h: Update comments to link to types and macros'
5424 definitions.
5425
7a23c549
SC
54262014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5427
5428 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5429
22869d73
KS
54302014-04-16 Keith Seitz <keiths@redhat.com>
5431
5432 PR gdb/15827
5433 * dwarf2read.c (skip_one_die): Check that all relative-offset
5434 sibling DIEs fall within range of the current reader's buffer.
5435 (read_partial_die): Likewise.
5436
c4f87ca6
KS
54372014-04-16 Keith Seitz <keiths@redhat.com>
5438
5439 PR c++/16597
5440 * cp-namespace.c (lookup_symbol_file): If the type name of
5441 `this' is NULL, return immediately.
5442
b50c8614
KS
54432014-04-14 Keith Seitz <keiths@redhat.com>
5444
5445 PR c++/16253
5446 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5447 from symbol_matches_domain in symtab.c. All local callers
5448 of symbol_matches_domain updated.
5449 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5450 search STRUCT_DOMAIN.
5451 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5452 independently. standard_lookup will do that automatically.
5453 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5454 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5455 (cp_lookup_symbol_in_namespace): Likewise.
5456 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5457 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5458 may return a STRUCT_DOMAIN match.
5459 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5460 * cp-support.c: Include language.h.
5461 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5462 VAR_DOMAIN.
5463 * psymtab.c (match_partial_symbol): Compare the requested
5464 domain with the symbol's domain directly.
5465 (lookup_partial_symbol): Likewise.
5466 * symtab.c (lookup_symbol_in_language): Explain when/why
5467 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5468 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5469 appropriate languages.
5470 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5471 and moved to ada-lang.c
5472 (lookup_block_symbol): Explain that this function only returns
5473 symbol matching the requested DOMAIN.
5474 Compare the requested domain with the symbol's domain directly.
5475 (iterate_over_symbols): Compare the requested domain with the
5476 symbol's domain directly.
5477 * symtab.h (symbol_matches_domain): Remove.
5478
3d567982
TT
54792014-04-14 Tom Tromey <tromey@redhat.com>
5480
5481 PR c++/15246:
5482 * c-exp.y (type_aggregate_p): New function.
5483 (qualified_name, classify_inner_name): Use it.
5484 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5485 and TYPE_TARGET_TYPE of an enum type.
5486 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5487 an enum type.
5488 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5489 handle TYPE_DECLARED_CLASS.
5490 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5491 types.
5492 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5493 * valops.c (enum_constant_from_type): New function.
5494 (value_aggregate_elt): Use it.
5495 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5496 TYPE_CODE_ENUM.
5497
c848d642
TT
54982014-04-14 Tom Tromey <tromey@redhat.com>
5499
5500 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5501 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5502 const.
5503 * value.h (value_aggregate_elt): Update.
5504
0626fc76
TT
55052014-04-14 Tom Tromey <tromey@redhat.com>
5506
5507 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5508
5ecaaa66
SA
55092014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5510
5511 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5512 (evaluate_subexp_standard): Pass noside argument.
5513 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5514 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5515 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5516 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5517 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5518
1612e0c0
SA
55192014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5520
5521 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5522 points to a constant blob.
5523
c451ebe5
SA
55242014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5525
5526 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5527 property and store it as the high bound and flag the range accordingly.
5528 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5529 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5530 * gdbtypes.h (enum range_flags): New enum.
5531 (struct range_bounds): Add flags member.
5532
1d42e4c4
SA
55332014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5534
5535 * c-typeprint.c (c_type_print_varspec_suffix): Added
5536 check for not yet resolved high bound. If unresolved, print
5537 "variable length" string to the console instead of random
5538 length.
5539
9f1f738a
SA
55402014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5541
5542 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5543 value.
5544 (ada_template_to_fixed_record_type_1): Likewise.
5545 (ada_to_fixed_type_1): Likewise.
5546 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5547 (cp_print_value): Likewise.
5548 * d-valprint.c (dynamic_array_type): Likewise.
5549 * findvar.c (address_of_variable): Likewise.
5550 * jv-valprint.c (java_value_print): Likewise.
5551 * valops.c (value_ind): Likewise.
5552 * value.c (coerce_ref): Likewise.
5553
3c8452d4
SA
55542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5555
5556 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5557 value and retrieve the dynamic type size.
5558
4ad88275
SA
55592014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5560
5561 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5562 passed to sizeof is dynamic evaluate the argument to compute the length.
5563
80180f79
SA
55642014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5565 Joel Brobecker <brobecker@adacore.com>
5566
5567 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5568 (dwarf2_evaluate_property): New function.
5569 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5570 * dwarf2read.c (attr_to_dynamic_prop): New function.
5571 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5572 attribute.
5573 * gdbtypes.c: Include dwarf2loc.h.
5574 (is_dynamic_type): New function.
5575 (resolve_dynamic_type): New function.
5576 (resolve_dynamic_bounds): New function.
5577 (get_type_length): New function.
5578 (check_typedef): Use get_type_length to compute type length.
5579 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5580 (TYPE_LOW_BOUND_KIND): New macro.
5581 (is_dynamic_type): New function prototype.
5582 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5583 to resolve dynamic properties of the type. Update comment.
5584 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5585
a1556843
RH
55862014-04-14 Richard Henderson <rth@redhat.com>
5587
5588 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5589
0be03e84
DE
55902014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5591 Doug Evans <xdje42@gmail.com>
5592
5593 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5594 dereference TYPE_CODE_REF values.
5595
6b662e19
JB
55962014-04-11 Joel Brobecker <brobecker@adacore.com>
5597
5598 Revert the following changes due to regressions:
5599
5600 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5601 (dwarf2_evaluate_property): New function.
5602 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5603 * dwarf2read.c (attr_to_dynamic_prop): New function.
5604 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5605 attribute.
5606 * gdbtypes.c: Include dwarf2loc.h.
5607 (is_dynamic_type): New function.
5608 (resolve_dynamic_type): New function.
5609 (resolve_dynamic_bounds): New function.
5610 (get_type_length): New function.
5611 (check_typedef): Use get_type_length to compute type length.
5612 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5613 (TYPE_LOW_BOUND_KIND): New macro.
5614 (is_dynamic_type): New function prototype.
5615 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5616 to resolve dynamic properties of the type. Update comment.
5617 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5618
5619 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5620 passed to sizeof is dynamic evaluate the argument to compute the length.
5621
5622 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5623 value and retrieve the dynamic type size.
5624
5625 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5626 (ada_template_to_fixed_record_type_1): Likewise.
5627 (ada_to_fixed_type_1): Likewise.
5628 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5629 (cp_print_value): Likewise.
5630 * d-valprint.c (dynamic_array_type): Likewise.
5631 * eval.c (evaluate_subexp_with_coercion): Likewise.
5632 * findvar.c (address_of_variable): Likewise.
5633 * jv-valprint.c (java_value_print): Likewise.
5634 * valops.c (value_ind): Likewise.
5635 * value.c (coerce_ref): Likewise.
5636
5637 * c-typeprint.c (c_type_print_varspec_suffix): Added
5638 check for not yet resolved high bound. If unresolved, print
5639 "variable length" string to the console instead of random
5640 length.
5641
5642 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5643 property and store it as the high bound and flag the range accordingly.
5644 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5645 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5646 * gdbtypes.h (enum range_flags): New enum.
5647 (struct range_bounds): Add flags member.
5648
5649 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5650 points to a constant blob.
5651
5652 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5653 (evaluate_subexp_standard): Pass noside argument.
5654 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5655 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5656 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5657 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5658 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5659
245a5f0b
KS
56602014-04-11 Keith Seitz <keiths@redhat.com>
5661
5662 PR c++/16675
5663 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5664 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5665 reference types.
5666
3bce8237
SA
56672014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5668
5669 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5670 (evaluate_subexp_standard): Pass noside argument.
5671 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5672 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5673 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5674 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5675 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5676
92b09522
SA
56772014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5678
5679 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5680 points to a constant blob.
5681
e1969afb
SA
56822014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5683
5684 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5685 property and store it as the high bound and flag the range accordingly.
5686 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5687 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5688 * gdbtypes.h (enum range_flags): New enum.
5689 (struct range_bounds): Add flags member.
5690
b86138fb
SA
56912014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5692
5693 * c-typeprint.c (c_type_print_varspec_suffix): Added
5694 check for not yet resolved high bound. If unresolved, print
5695 "variable length" string to the console instead of random
5696 length.
5697
bcd629a4
SA
56982014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5699
5700 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5701 (ada_template_to_fixed_record_type_1): Likewise.
5702 (ada_to_fixed_type_1): Likewise.
5703 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5704 (cp_print_value): Likewise.
5705 * d-valprint.c (dynamic_array_type): Likewise.
5706 * eval.c (evaluate_subexp_with_coercion): Likewise.
5707 * findvar.c (address_of_variable): Likewise.
5708 * jv-valprint.c (java_value_print): Likewise.
5709 * valops.c (value_ind): Likewise.
5710 * value.c (coerce_ref): Likewise.
5711
04b19544
SA
57122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5713
5714 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5715 value and retrieve the dynamic type size.
5716
26cb189f
SA
57172014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5718
5719 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5720 passed to sizeof is dynamic evaluate the argument to compute the length.
5721
37c1ab67
SA
57222014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5723
5724 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5725 (dwarf2_evaluate_property): New function.
5726 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5727 * dwarf2read.c (attr_to_dynamic_prop): New function.
5728 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5729 attribute.
5730 * gdbtypes.c: Include dwarf2loc.h.
5731 (is_dynamic_type): New function.
5732 (resolve_dynamic_type): New function.
5733 (resolve_dynamic_bounds): New function.
5734 (get_type_length): New function.
5735 (check_typedef): Use get_type_length to compute type length.
5736 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5737 (TYPE_LOW_BOUND_KIND): New macro.
5738 (is_dynamic_type): New function prototype.
5739 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5740 to resolve dynamic properties of the type. Update comment.
5741 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5742
729efb13
SA
57432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5744
5745 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5746 declaring high/low bounds and change uses accordingly. Call
5747 create_range_type instead of create_static_range_type.
5748 * gdbtypes.c (create_range_type): New function.
5749 (create_range_type): Convert bounds into struct bound_prop and pass
5750 them to create_range_type.
5751 * gdbtypes.h (struct bound_prop): New struct.
5752 (create_range_type): New function prototype.
5753 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5754 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5755 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5756 part of the bound.
5757 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5758
0c9c3474
SA
57592014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5760
5761 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5762 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5763 * ada-lang.c: All uses of create_range_type updated.
5764 * coffread.c: All uses of create_range_type updated.
5765 * dwarf2read.c: All uses of create_range_type updated.
5766 * f-exp.y: All uses of create_range_type updated.
5767 * m2-valprint.c: All uses of create_range_type updated.
5768 * mdebugread.c: All uses of create_range_type updated.
5769 * stabsread.c: All uses of create_range_type updated.
5770 * valops.c: All uses of create_range_type updated.
5771 * valprint.c: All uses of create_range_type updated.
5772
9d497a19
PA
57732014-04-10 Pedro Alves <palves@redhat.com>
5774
5775 * breakpoint.c (single_step_breakpoints)
5776 (single_step_gdbarch): Move up in the file.
5777 (one_breakpoint_xfer_memory): New function, factored out from ...
5778 (breakpoint_xfer_memory): ... here. Also process single-step
5779 breakpoints.
5780
15a9128a
TG
57812014-04-09 Tristan Gingold <gingold@adacore.com>
5782
5783 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5784 comments.
5785 (darwin_decode_exception_message): Free port only after use.
5786
9c97a070
PL
57872014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5788
5789 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5790 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5791 when setting the size of call_length.
5792
7af389b8
SC
57932014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5794
5795 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5796 dereference TYPE_CODE_REF values.
5797
86ad98c3
JB
57982014-04-07 Joel Brobecker <brobecker@adacore.com>
5799
5800 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5801 end of warning message.
5802
b0aeadb3
DE
58032014-04-03 Doug Evans <dje@google.com>
5804
5805 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5806 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5807
5979d6b6
AM
58082014-04-02 Alan Modra <amodra@gmail.com>
5809
5810 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5811 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5812 (struct symbol_file_add_from_memory_args): Add size field.
5813 (find_vdso_size): New function.
5814 (add_vsyscall_page): Attempt to find vdso size.
5815
0d60c288
DE
58162014-04-01 Doug Evans <dje@google.com>
5817
5818 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5819
a41f2563
TG
58202014-04-01 Tristan Gingold <gingold@adacore.com>
5821
5822 * darwin-nat.c (darwin_encode_reply): Add prototype.
5823 (darwin_decode_exception_message): Reply to unknown inferiors.
5824 (darwin_decode_message): Handle message by id. Ignore message
5825 to unknown inferior.
5826 (darwin_wait): Discard unknown messages, add debug trace.
5827
11a865c8
DE
58282014-03-31 Doug Evans <dje@google.com>
5829
5830 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5831 comp_dir_string.
5832
770e7fc7
DE
58332014-03-31 Doug Evans <dje@google.com>
5834
5835 New option "set print symbol-loading".
5836 * NEWS: Mention it.
5837 * solib.c (solib_read_symbols): Only print symbol loading messages
5838 if requested.
5839 (solib_add): If symbol loading is in "brief" mode, notify user
5840 symbols are being loaded.
5841 (reload_shared_libraries_1): Ditto.
5842 * symfile.c (print_symbol_loading_off): New static global.
5843 (print_symbol_loading_brief): New static global.
5844 (print_symbol_loading_full): New static global.
5845 (print_symbol_loading_enums): New static global.
5846 (print_symbol_loading): New static global.
5847 (print_symbol_loading_p): New function.
5848 (symbol_file_add_with_addrs): Only print symbol loading messages
5849 if requested.
5850 (_initialize_symfile): Register "print symbol-loading" set/show
5851 command.
5852 * symfile.h (print_symbol_loading_p): Declare.
5853
c32c64b7
DE
58542014-03-30 Doug Evans <xdje42@gmail.com>
5855
5856 * infrun.c (set_last_target_status): New function.
5857 (handle_inferior_event): Call it.
5858
7c0bc051
DE
58592014-03-30 Doug Evans <xdje42@gmail.com>
5860
5861 * inferior.h (enum stop_kind): Improve comment.
5862
8776cfe9
JB
58632014-03-28 Joel Brobecker <brobecker@adacore.com>
5864
5865 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5866 a reference, strip the reference layer before calling
5867 the lang_ops value_has_mutated callback.
5868
410a0ff2
SDJ
58692014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5870
5871 Remove some globals from our parser.
5872 * language.c (unk_lang_parser): Add "struct parser_state"
5873 argument.
5874 * language.h (struct language_defn) <la_parser>: Likewise.
5875 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5876 (initialize_expout): Add "struct parser_state" argument.
5877 Rewrite function to use the parser state.
5878 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5879 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5880 write_exp_elt_longcst, write_exp_elt_dblcst,
5881 write_exp_elt_decfloatcst, write_exp_elt_type,
5882 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5883 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5884 write_dollar_variable): Likewise.
5885 (parse_exp_in_context_1): Use parser state.
5886 (insert_type_address_space): Add "struct parser_state" argument.
5887 Use parser state.
5888 (increase_expout_size): New function.
5889 * parser-defs.h: Forward declare "struct language_defn" and
5890 "struct parser_state".
5891 (expout, expout_size, expout_ptr): Remove extern declarations.
5892 (parse_gdbarch, parse_language): Rewrite macro declarations to
5893 accept the parser state.
5894 (struct parser_state): New struct.
5895 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5896 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5897 write_exp_elt_decfloatcst, write_exp_elt_type,
5898 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5899 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5900 write_exp_msymbol, write_dollar_variable,
5901 mark_struct_expression, insert_type_address_space): Add "struct
5902 parser_state" argument.
5903 (increase_expout_size): New function.
5904 * utils.c (do_clear_parser_state): New function.
5905 (make_cleanup_clear_parser_state): Likewise.
5906 * utils.h (make_cleanup_clear_parser_state): New function
5907 prototype.
5908 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5909 Update calls to write_exp* in order to pass the parser state.
5910 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5911 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5912 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5913 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5914 * stap-probe.c (stap_parse_register_operand): Likewise.
5915 (stap_parse_single_operand): Likewise.
5916 (stap_parse_argument_1): Likewise.
5917 (stap_parse_argument): Use parser state.
5918 * stap-probe.h: Include "parser-defs.h".
5919 (struct stap_parse_info) <pstate>: New field.
5920 * c-exp.y (parse_type): Rewrite to use parser state.
5921 (yyparse): Redefine to c_parse_internal.
5922 (pstate): New global variable.
5923 (parse_number): Add "struct parser_state" argument.
5924 (write_destructor_name): Likewise.
5925 (type_exp): Update calls to write_exp* and similars in order to
5926 use parser state.
5927 (exp1, exp, variable, qualified_name, space_identifier,
5928 typename, typebase): Likewise.
5929 (write_destructor_name, parse_number, lex_one_token,
5930 classify_name, classify_inner_name, c_parse): Add "struct
5931 parser_state" argument. Update function to use parser state.
5932 * c-lang.h: Forward declare "struct parser_state".
5933 (c_parse): Add "struct parser_state" argument.
5934 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5935 (yyparse): Redefine macro to ada_parse_internal.
5936 (pstate): New variable.
5937 (write_int, write_object_renaming, write_var_or_type,
5938 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5939 type_int, type_long, type_long_long, type_float, type_double,
5940 type_long_double, type_char, type_boolean, type_system_address):
5941 Add "struct parser_state" argument.
5942 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5943 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5944 var_or_type, aggregate, aggregate_component_list,
5945 positional_list, others, component_group,
5946 component_associations): Update calls to write_exp* and similar
5947 functions in order to use parser state.
5948 (ada_parse, write_var_from_sym, write_int,
5949 write_exp_op_with_string, write_object_renaming,
5950 find_primitive_type, write_selectors, write_ambiguous_var,
5951 write_var_or_type, write_name_assoc, type_int, type_long,
5952 type_long_long, type_float, type_double, type_long_double,
5953 type_char, type_boolean, type_system_address): Add "struct
5954 parser_state" argument. Adjust function to use parser state.
5955 * ada-lang.c (parse): Likewise.
5956 * ada-lang.h: Forward declare "struct parser_state".
5957 (ada_parse): Add "struct parser_state" argument.
5958 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5959 calls to both functions.
5960 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5961 parser state.
5962 (yyparse): Redefine macro to f_parse_internal.
5963 (pstate): New variable.
5964 (parse_number): Add "struct parser_state" argument.
5965 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5966 and similars in order to use parser state.
5967 (parse_number): Adjust code to use parser state.
5968 (yylex): Likewise.
5969 (f_parse): New function.
5970 * f-lang.h: Forward declare "struct parser_state".
5971 (f_parse): Add "struct parser_state" argument.
5972 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5973 parser state.
5974 (yyparse): Redefine macro for java_parse_internal.
5975 (pstate): New variable.
5976 (push_expression_name, push_expression_name, insert_exp): Add
5977 "struct parser_state" argument.
5978 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5979 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5980 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5981 PostIncrementExpression, PostDecrementExpression,
5982 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5983 UnaryExpressionNotPlusMinus, CastExpression,
5984 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5985 RelationalExpression, EqualityExpression, AndExpression,
5986 ExclusiveOrExpression, InclusiveOrExpression,
5987 ConditionalAndExpression, ConditionalOrExpression,
5988 ConditionalExpression, Assignment, LeftHandSide): Update
5989 calls to write_exp* and similars in order to use parser state.
5990 (parse_number): Ajust code to use parser state.
5991 (yylex): Likewise.
5992 (java_parse): New function.
5993 (push_variable): Add "struct parser_state" argument. Adjust
5994 code to user parser state.
5995 (push_fieldnames, push_qualified_expression_name,
5996 push_expression_name, insert_exp): Likewise.
5997 * jv-lang.h: Forward declare "struct parser_state".
5998 (java_parse): Add "struct parser_state" argument.
5999 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6000 parser state.
6001 (yyparse): Redefine macro to m2_parse_internal.
6002 (pstate): New variable.
6003 (type_exp, exp, fblock, variable, type): Update calls to
6004 write_exp* and similars to use parser state.
6005 (yylex): Likewise.
6006 (m2_parse): New function.
6007 * m2-lang.h: Forward declare "struct parser_state".
6008 (m2_parse): Add "struct parser_state" argument.
6009 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6010 * objc-lang.h: Forward declare "struct parser_state".
6011 (end_msglist): Add "struct parser_state" argument.
6012 * p-exp.y (parse_type): Rewrite macro to use parser state.
6013 (yyparse): Redefine macro to pascal_parse_internal.
6014 (pstate): New variable.
6015 (parse_number): Add "struct parser_state" argument.
6016 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6017 write_exp* and similars in order to use parser state.
6018 (parse_number, yylex): Adjust code to use parser state.
6019 (pascal_parse): New function.
6020 * p-lang.h: Forward declare "struct parser_state".
6021 (pascal_parse): Add "struct parser_state" argument.
6022 * go-exp.y (parse_type): Rewrite macro to use parser state.
6023 (yyparse): Redefine macro to go_parse_internal.
6024 (pstate): New variable.
6025 (parse_number): Add "struct parser_state" argument.
6026 (type_exp, exp1, exp, variable, type): Update calls to
6027 write_exp* and similars in order to use parser state.
6028 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6029 to use parser state.
6030 (go_parse): Likewise.
6031 * go-lang.h: Forward declare "struct parser_state".
6032 (go_parse): Add "struct parser_state" argument.
6033
342587c4
DE
60342014-03-27 Doug Evans <dje@google.com>
6035
6036 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6037
33e80786
DE
60382014-03-27 Doug Evans <dje@google.com>
6039
6040 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6041 Remove argument abbrev_section. All callers updated.
6042
1dbab08b
DE
60432014-03-27 Doug Evans <dje@google.com>
6044
6045 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6046 addr_base, ranges_base.
6047
318d3177
KS
60482014-03-26 Keith Seitz <keiths@redhat.com>
6049
6050 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6051 types, not VAR_DOMAIN.
6052
1e54db15
SL
60532014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6054
6055 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6056 "ra" registers.
6057 * features/nios2-linux.c: Regenerated.
6058 * features/nios2.c: Regenerated.
6059
d3839ede
PA
60602014-03-25 Pedro Alves <palves@redhat.com>
6061
6062 * cli/cli-script.c (script_from_file): Force the interpreter to
6063 sync mode.
6064
7588d2ec
PL
60652014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6066
6067 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6068 small stack allocation.
6069
a6290449
TG
60702014-03-24 Tristan Gingold <gingold@adacore.com>
6071
6072 * darwin-nat.c (exc_server): Remove unused prototype.
6073 (darwin_dump_message): Correctly display data on x86_64.
6074 (darwin_encode_reply): Fix style.
6075 Add comments and fix indentation.
6076
31ae9d24 60772014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6078
6079 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6080
6339bfc4
DE
60812014-03-22 Doug Evans <xdje42@gmail.com>
6082
6083 * infcmd.c: Whitespace fixes.
6084 (interrupt_command): Merge two function comments into one.
6085
0a07590b
DE
60862014-03-22 Doug Evans <xdje42@gmail.com>
6087
6088 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6089 All uses updated.
6090
b55fbac4
YQ
60912014-03-22 Yao Qi <yao@codesourcery.com>
6092
6093 * remote.c (target_read_live_memory): Remove.
6094 (memory_xfer_live_readonly_partial): Rename it to
6095 remote_xfer_live_readonly_partial. Remove argument 'object'.
6096 All callers updated. Call remote_read_bytes_1
6097 instead of target_read_live_memory.
6098 * tracepoint.c (set_traceframe_number): Remove.
6099 (make_cleanup_restore_traceframe_number): Likewise .
6100 * tracepoint.h (set_traceframe_number): Remove declaration.
6101 (make_cleanup_restore_traceframe_number): Likewise.
6102
9217e74e
YQ
61032014-03-22 Yao Qi <yao@codesourcery.com>
6104
6105 * remote.c (remote_read_bytes): Move code on reading from the
6106 remote stub to ...
6107 (remote_read_bytes_1): ... here. New function.
6108
8acf9577
YQ
61092014-03-22 Yao Qi <yao@codesourcery.com>
6110
6111 * ctf.c (ctf_xfer_partial): Check the return value of
6112 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6113 return TARGET_XFER_UNAVAILABLE.
6114 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6115 * target.c (target_read_live_memory): Move it to remote.c.
6116 (memory_xfer_live_readonly_partial): Likewise.
6117 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6118 * remote.c (target_read_live_memory): Moved from target.c.
6119 (memory_xfer_live_readonly_partial): Likewise.
6120 (remote_read_bytes): Factored out from
6121 memory_xfer_partial_1.
6122
feef67ab
DE
61232014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6124
6125 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6126 NULL pointer.
6127
b65dc60b
PA
61282014-03-21 Pedro Alves <palves@redhat.com>
6129
6130 * infrun.c (normal_stop): Extend comment.
6131
b4ab256d
HZ
61322014-03-21 Hui Zhu <hui@codesourcery.com>
6133 Pedro Alves <palves@redhat.com>
6134
6135 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6136 static buffer.
6137 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6138 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6139 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6140
deba7593
MR
61412014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6142
6143 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6144 `z' formatted output modifier.
6145
1bff71c3
SDJ
61462014-03-20 Tom Tromey <tromey@redhat.com>
6147 Sergio Durigan Junior <sergiodj@redhat.com>
6148
6149 * probe.c (parse_probes): Turn assert into an ordinary error.
6150 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6151 exceptions when parsing probes. Rearrange the code for clarity.
6152
90e28950
TT
61532014-03-20 Tom Tromey <tromey@redhat.com>
6154
6155 PR gdb/14135
6156 * top.c (execute_command): Only dispatch events if the command
6157 started the target.
6158
beb460e8
PA
61592014-03-20 Tom Tromey <tromey@redhat.com>
6160
6161 PR cli/15718
6162 * infcall.c: Include event-top.h.
6163 (run_inferior_call): Call async_disable_stdin if needed.
6164
99619bea
PA
61652014-03-20 Pedro Alves <palves@redhat.com>
6166
6167 * infrun.c (prepare_to_proceed): Delete.
6168 (thread_still_needs_step_over): New function.
6169 (find_thread_needs_step_over): New function.
6170 (proceed): If the current thread needs a step-over, set its
6171 steping_over_breakpoint flag. Adjust to use
6172 find_thread_needs_step_over instead of prepare_to_proceed.
6173 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6174 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6175 breakpoint.
6176 (switch_back_to_stepped_thread): Step over breakpoints of all
6177 threads not the stepping thread, before switching back to the
6178 stepping thread.
6179
2adfaa28
PA
61802014-03-20 Pedro Alves <palves@redhat.com>
6181
6182 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6183 extern.
6184 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6185 * infrun.c (saved_singlestep_ptid)
6186 (stepping_past_singlestep_breakpoint): Delete.
6187 (resume): Remove stepping_past_singlestep_breakpoint handling.
6188 (proceed): Store the prev_pc of the stepping thread too.
6189 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6190 singlestep_pc.
6191 (enum infwait_states): Delete infwait_thread_hop_state.
6192 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6193 field.
6194 (handle_inferior_event): Adjust.
6195 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6196 handling and the thread-hop code. Before removing single-step
6197 breakpoints, check whether the thread hit a single-step breakpoint
6198 of another thread. If it did, the trap is not a random signal.
6199 (switch_back_to_stepped_thread): If the event thread hit a
6200 single-step breakpoint, unblock it before switching to the
6201 stepping thread. Handle the case of the stepped thread having
6202 advanced already.
6203 (keep_going): Handle the case of the current thread moving past a
6204 single-step breakpoint.
6205
31e77af2
PA
62062014-03-20 Pedro Alves <palves@redhat.com>
6207
6208 PR breakpoints/7143
6209 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6210 are being stepped over.
6211 (breakpoint_address_match): Make extern.
6212 * breakpoint.h (breakpoint_address_match): New declaration.
6213 * inferior.h (stepping_past_instruction_at): New declaration.
6214 * infrun.c (struct step_over_info): New type.
6215 (step_over_info): New global.
6216 (set_step_over_info, clear_step_over_info)
6217 (stepping_past_instruction_at): New functions.
6218 (handle_inferior_event): Clear the step-over info when
6219 trap_expected is cleared.
6220 (resume): Remove now stale comment.
6221 (clear_proceed_status): Clear step-over info.
6222 (proceed): Adjust step-over handling to set or clear the step-over
6223 info instead of removing all breakpoints.
6224 (handle_signal_stop): When setting up a thread-hop, don't remove
6225 breakpoints here.
6226 (stop_stepping): Clear step-over info.
6227 (keep_going): Adjust step-over handling to set or clear step-over
6228 info and then always inserting breakpoints, instead of removing
6229 all breakpoints when stepping over one.
6230
b9f437de
PA
62312014-03-20 Pedro Alves <palves@redhat.com>
6232
6233 * infrun.c (previous_inferior_ptid): Adjust comment.
6234 (deferred_step_ptid): Delete.
6235 (infrun_thread_ptid_changed, prepare_to_proceed)
6236 (init_wait_for_inferior): Adjust.
6237 (handle_signal_stop): Delete deferred_step_ptid handling.
6238
06c868a8
JK
62392014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6240
6241 PR gdb/15358
6242 * defs.h (sync_quit_force_run): New declaration.
6243 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6244 * event-top.c (async_sigterm_handler): New declaration.
6245 (async_sigterm_token): New variable.
6246 (async_init_signals): Create also async_sigterm_token.
6247 (async_sigterm_handler): New function.
6248 (sync_quit_force_run): New variable.
6249 (handle_sigterm): Replace quit_force call by other calls.
6250 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6251
dea80df0
MR
62522014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6253
6254 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6255 offset into SPE pseudo registers.
6256
0c7e1a46
PA
62572014-03-18 Pedro Alves <palves@redhat.com>
6258
6259 PR gdb/13860
6260 * inferior.h (print_stop_event): Declare.
6261 * infrun.c (print_stop_event): New, factored out from ...
6262 (normal_stop): ... this.
6263 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6264 of bpstat_print/print_stack_frame.
6265
9c1fcd01
TT
62662014-03-17 Tom Tromey <tromey@redhat.com>
6267
6268 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6269
11aa919a
PMR
62702014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6271
6272 * ada-lang.c (decode_constrained_packed_array): Perform a
6273 minimal coercion for reference with coerce_ref instead of
6274 ada_coerce_ref.
6275
d4ccb5e0
TG
62762014-03-17 Tristan Gingold <gingold@adacore.com>
6277
6278 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6279 (darwin_solib_create_inferior_hook): Emit a warning if version
6280 is unhandled.
6281
49840f2a
UW
62822014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6283
6284 * python/py-value.c (get_field_flag): Cast flag_name argument to
6285 PyObject_GetAttrString to support Python 2.4.
6286
ed4123e5
JK
62872014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6288
6289 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6290 (Global Maintainers): Remove Jan Kratochvil.
6291
d6b64346
PA
62922014-03-14 Pedro Alves <palves@redhat.com>
6293
6294 * inferior.h (terminal_ours_for_output): Rename to ...
6295 (child_terminal_ours_for_output): ... this.
6296 (terminal_save_ours): Rename to ...
6297 (child_terminal_save_ours): ... this.
6298 (terminal_ours): Rename to ...
6299 (child_terminal_ours): ... this.
6300 (terminal_inferior): Rename to ...
6301 (child_terminal_inferior): ... this.
6302 (terminal_init_inferior): Rename to ...
6303 (child_terminal_init_inferior): ... this.
6304 (terminal_init_inferior_with_pgrp): Rename to ...
6305 (child_terminal_init_inferior_with_pgrp): ... this.
6306 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6307 (child_terminal_init_with_pgrp): ... this.
6308 (terminal_save_ours): Rename to ...
6309 (child_terminal_save_ours): ... this.
6310 (terminal_init_inferior): Rename to ...
6311 (child_terminal_init): ... this. Adjust.
6312 (terminal_inferior): Rename to ...
6313 (child_terminal_inferior): ... this.
6314 (terminal_ours_for_output): Rename to ...
6315 (child_terminal_ours_for_output): ... this. Adjust.
6316 (terminal_ours): Rename to ...
6317 (child_terminal_ours): ... this.
6318 (terminal_ours_1): Rename to ...
6319 (child_terminal_ours_1): ... this. Adjust.
6320 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6321 * windows-nat.c (do_initial_windows_stuff): Adjust.
6322 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6323 (gnu_terminal_init): ... this. Adjust.
6324 (gnu_target): Adjust.
6325 * inf-child.c (inf_child_target): Adjust.
6326
5a1e8c7a
DE
63272014-03-13 Doug Evans <xdje42@gmail.com>
6328
6329 PR guile/16612
6330 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6331 new eq?-hashtab.
6332
350e1a76
DE
63332014-03-13 Doug Evans <xdje42@gmail.com>
6334
6335 * value.c (record_latest_value): Call release_value_or_incref
6336 instead of release_value.
6337
a69900ae
PA
63382014-03-13 Pedro Alves <palves@redhat.com>
6339
6340 * procfs.c (procfs_target): Don't override to_shortname,
6341 to_longname or to_doc.
6342
5db9f0bd
PA
63432014-03-13 Pedro Alves <palves@redhat.com>
6344
6345 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6346 Unix in user visible strings.
6347
5e3a2c38
SS
63482014-03-12 Stan Shebs <stan@codesourcery.com>
6349
6350 * gdbtypes.h: Annotate comments for Doxygen, add a page
6351 block comment with some general info.
6352
8bc2fe48
PA
63532014-03-12 Pedro Alves <palves@redhat.com>
6354
6355 * infcmd.c (prepare_execution_command): New function, factored out
6356 from several execution commands.
6357 (run_command_1, continue_command, step_1, jump_command)
6358 (signal_command, until_command, advance_command, finish_command)
6359 (attach_command): Use prepare_execution_command.
6360
638c5f49
OJ
63612014-03-12 Omair Javaid <omair.javaid@linaro.org>
6362
6363 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6364 (MAX_BPTS): Define.
6365 (MAX_WPTS): Define.
6366 (struct arm_linux_thread_points): Removed.
6367 (struct arm_linux_process_info): New.
6368 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6369 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6370 (arm_linux_find_breakpoints_by_tid): Removed.
6371 (struct arch_lwp_info): New.
6372 (arm_linux_find_process_pid): New functions.
6373 (arm_linux_add_process): New functions.
6374 (arm_linux_process_info_get): New functions.
6375 (arm_linux_forget_process): New function.
6376 (arm_linux_get_debug_reg_state): New function.
6377 (struct update_registers_data): New.
6378 (update_registers_callback): New function.
6379 (arm_linux_insert_hw_breakpoint1): Updated.
6380 (arm_linux_remove_hw_breakpoint1): Updated.
6381 (arm_linux_insert_hw_breakpoint): Updated.
6382 (arm_linux_remove_hw_breakpoint): Updated.
6383 (arm_linux_insert_watchpoint): Updated.
6384 (arm_linux_remove_watchpoint): Updated.
6385 (arm_linux_new_thread): Updated.
6386 (arm_linux_prepare_to_resume): New function.
6387 (arm_linux_new_fork): New function.
6388 (_initialize_arm_linux_nat): Updated.
6389
6d03af93
PA
63902014-03-12 Pedro Alves <palves@redhat.com>
6391
6392 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6393
b3ccfe11
TT
63942014-03-12 Tom Tromey <tromey@redhat.com>
6395
6396 * inf-child.c (return_zero): New function.
6397 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6398 * aix-thread.c (aix_thread_inferior_created): New function.
6399 (aix_thread_attach): Remove.
6400 (init_aix_thread_ops): Don't set to_attach.
6401 (_initialize_aix_thread): Register inferior_created observer.
6402 * corelow.c (init_core_ops): Don't set to_attach or
6403 to_create_inferior.
6404 * exec.c (init_exec_ops): Don't set to_attach or
6405 to_create_inferior.
6406 * infcmd.c (run_command_1): Use find_run_target. Make direct
6407 target calls.
6408 (attach_command): Use find_attach_target. Make direct target
6409 calls.
6410 * record-btrace.c (init_record_btrace_ops): Don't set
6411 to_create_inferior.
6412 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6413 Remove.
6414 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6415 set to_create_inferior.
6416 * target.c (complete_target_initialization): Add assertion.
6417 (target_create_inferior): Remove.
6418 (find_default_attach, find_default_create_inferior): Remove.
6419 (find_attach_target, find_run_target): New functions.
6420 (find_default_is_async_p, find_default_can_async_p)
6421 (target_supports_non_stop, target_attach): Remove.
6422 (init_dummy_target): Don't set to_create_inferior or
6423 to_supports_non_stop.
6424 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6425 TARGET_DEFAULT_FUNC.
6426 <to_create_inferior>: Add comment.
6427 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6428 TARGET_DEFAULT_RETURN.
6429 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6430 (find_attach_target, find_run_target): Declare.
6431 (target_create_inferior): Remove.
6432 (target_has_execution_1): Update comment.
6433 (target_supports_non_stop): Remove.
6434 * target-delegates.c: Rebuild.
6435
91f83b02
PA
64362014-03-12 Pedro Alves <palves@redhat.com>
6437
6438 * inf-child.h: Update comment to not mention Unix.
6439
f1aea813
PA
64402014-03-12 Pedro Alves <palves@redhat.com>
6441
6442 * inf-child.c: Update top comment to not mention Unix. Add
6443 generic comment describing how this target is meant to be used.
6444 (inf_child_post_attach, inf_child_post_startup_inferior)
6445 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6446 Unix in comment.
6447
ee8e9165
PA
64482014-03-12 Pedro Alves <palves@redhat.com>
6449
6450 * nto-procfs.c: Include inf-child.h.
6451 (procfs_ops): Delete global.
6452 (procfs_can_run): Delete method.
6453 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6454 target pointer instead of referencing procfs_ops.
6455 (procfs_prepare_to_store): Delete.
6456 (init_procfs_ops): Delete function.
6457 (procfs_target): New function, based on init_procfs_ops, but
6458 inherit inf_child_target.
6459 (_initialize_procfs): Use procfs_target.
6460
51a9c8c5
PA
64612014-03-12 Pedro Alves <palves@redhat.com>
6462
6463 * windows-nat.c: Include inf-child.h.
6464 (windows_ops): Delete global.
6465 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6466 methods.
6467 (init_windows_ops): Delete function.
6468 (windows_target): New function, based on init_windows_ops, but
6469 inherit inf_child_target.
6470 (_initialize_windows_nat): Use windows_target. Install x86
6471 specific target methods here.
6472
c1966e26
DE
64732014-03-10 Doug Evans <xdje42@gmail.com>
6474
6475 * guile/guile.c (call_initialize_gdb_module): New function.
6476 (initialize_guile): Replace call to scm_init_guile with call to
6477 scm_with_guile.
6478
023db19c
JB
64792014-03-10 Joel Brobecker <brobecker@adacore.com>
6480
6481 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6482 in call to TYPE_CODE macro.
6483
5ec18f2b
JG
64842014-03-10 Jerome Guitton <guitton@adacore.com>
6485
8668be63
JB
6486 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6487 Resolve tagged types to full view.
5ec18f2b 6488
7d03f2eb
HZ
64892014-03-10 Hui Zhu <hui@codesourcery.com>
6490
6491 * target.h (target_insert_breakpoint): Remove "hardware" from its
6492 comments.
6493
c5164cbc
DE
64942014-03-07 Doug Evans <dje@google.com>
6495
6496 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6497
c4a3fee2
DE
64982014-03-07 Doug Evans <dje@google.com>
6499
6500 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6501 Remove unused local comp_dir_attr. Assert exactly one of
6502 stub_comp_unit_die, stub_comp_dir is non-NULL.
6503
3156469c
JB
65042014-03-07 Joel Brobecker <brobecker@adacore.com>
6505
6506 * target.h (complete_target_initialization, add_target):
6507 Add comment.
6508
c1a7b7c6
PA
65092014-03-07 Pedro Alves <palves@redhat.com>
6510
6511 * go32-nat.c: Include inf-child.h.
6512 (go32_ops): Delete global.
6513 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6514 Delete methods.
6515 (go32_create_inferior): Push the passed in target pointer instead
6516 of referencing go32_ops.
6517 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6518 (go32_target): New function, based on init_go32_ops, but inherit
6519 inf_child_target.
6520 (_initialize_go32_nat): Use go32_target. Move parts of
6521 init_go32_ops here.
6522
d3c1a85f
JB
65232014-03-06 Joel Brobecker <brobecker@adacore.com>
6524
6525 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6526 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6527 SYMBOL_VALUE_ADDRESS.
6528 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6529
5fa1d40e
YQ
65302014-03-06 Yao Qi <yao@codesourcery.com>
6531
6532 * breakpoint.c (get_tracepoint_by_number): Remove argument
6533 optional_p. All callers updated. Adjust comments. Update
6534 output message.
6535 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6536
0c13193f
YQ
65372014-03-06 Yao Qi <yao@codesourcery.com>
6538
6539 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6540 early if get_number returns zero. Use 'p' instead of 'args'.
6541
2217da06
YQ
65422014-03-06 Yao Qi <yao@codesourcery.com>
6543
6544 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6545 message.
6546
cc3da688
YQ
65472014-03-06 Yao Qi <yao@codesourcery.com>
6548
6549 PR breakpoints/16508
6550 * tracepoint.c (check_trace_running): New function.
6551 (trace_find_command): Move code to check_trace_running and
6552 call check_trace_running.
6553 (trace_find_pc_command): Likewise.
6554 (trace_find_tracepoint_command): Likewise.
6555 (trace_find_line_command): Likewise.
6556 (trace_find_range_command): Likewise.
6557 * tracepoint.h (check_trace_running): Likewise.
6558 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6559
6a5f844b
YQ
65602014-03-06 Yao Qi <yao@codesourcery.com>
6561
6562 * target.h (struct target_ops) <to_traceframe_info>: Use
6563 TARGET_DEFAULT_NORETURN (tcomplain ()).
6564 * target-delegates.c: Regenerated.
6565
0f26cec1
PA
65662014-03-05 Pedro Alves <palves@redhat.com>
6567
6568 PR gdb/16575
6569 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6570 void. Update comment.
6571 (dcache_xfer_memory): Delete.
6572 (dcache_read_memory_partial): New, based on the read bits of
6573 dcache_xfer_memory.
6574 (dcache_update): Add status parameter. Use ULONGEST for len, and
6575 adjust. Discard cache lines if the reason for the update was
6576 error.
6577 * dcache.h (dcache_xfer_memory): Delete declaration.
6578 (dcache_read_memory_partial): New declaration.
6579 (dcache_update): Update prototype.
6580 * target.c (raw_memory_xfer_partial): Update the dcache here.
6581 (memory_xfer_partial_1): Don't handle dcache writes here.
6582
b2b255bd
MF
65832014-03-05 Mike Frysinger <vapier@gentoo.org>
6584
6585 * remote-sim.c (gdbsim_load): Add const to prog.
6586
5d9cf8a4
TT
65872014-03-03 Tom Tromey <tromey@redhat.com>
6588
6589 * elfread.c (probe_key): Change to bfd_data.
6590 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6591 now per-BFD, not per-objfile.
6592 * stap-probe.c (stap_probe_destroy): Update comment.
6593 (handle_stap_probe): Allocate on the per-BFD obstack.
6594
729662a5
TT
65952014-03-03 Tom Tromey <tromey@redhat.com>
6596
6597 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6598 * breakpoint.c (create_longjmp_master_breakpoint): Use
6599 get_probe_address.
6600 (add_location_to_breakpoint, bkpt_probe_insert_location)
6601 (bkpt_probe_remove_location): Update.
6602 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6603 * elfread.c (elf_symfile_relocate_probe): Remove.
6604 (elf_probe_fns): Update.
6605 (insert_exception_resume_breakpoint): Change type of "probe"
6606 parameter to bound_probe.
6607 (check_exception_resume): Update.
6608 * objfiles.c (objfile_relocate1): Don't relocate probes.
6609 * probe.c (bound_probe_s): New typedef.
6610 (parse_probes): Use get_probe_address. Set sal's objfile.
6611 (find_probe_by_pc): Return a bound_probe.
6612 (collect_probes): Return a VEC(bound_probe_s).
6613 (compare_probes): Update.
6614 (gen_ui_out_table_header_info): Change type of "probes"
6615 parameter. Update.
6616 (info_probes_for_ops): Update.
6617 (get_probe_address): New function.
6618 (probe_safe_evaluate_at_pc): Update.
6619 * probe.h (struct probe_ops) <get_probe_address>: New field.
6620 <set_semaphore, clear_semaphore>: Add objfile parameter.
6621 (struct probe) <objfile>: Remove field.
6622 <arch>: New field.
6623 <address>: Update comment.
6624 (struct bound_probe): New.
6625 (find_probe_by_pc): Return a bound_probe.
6626 (get_probe_address): Declare.
6627 * solib-svr4.c (struct probe_and_action) <address>: New field.
6628 (hash_probe_and_action, equal_probe_and_action): Update.
6629 (register_solib_event_probe): Add address parameter.
6630 (solib_event_probe_at): Update.
6631 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6632 get_probe_address.
6633 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6634 (stap_get_probe_address): New function.
6635 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6636 (compile_probe_arg): Update.
6637 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6638 address.
6639 (handle_stap_probe): Don't relocate the probe.
6640 (stap_relocate): Remove.
6641 (stap_gen_info_probes_table_values): Update.
6642 (stap_probe_ops): Remove stap_relocate.
6643 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6644 (debug_sym_probe_fns): Update.
6645 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6646 * symtab.c (init_sal): Use memset.
6647 * symtab.h (struct symtab_and_line) <objfile>: New field.
6648 * tracepoint.c (start_tracing, stop_tracing): Update.
6649
ff887920
TT
66502014-03-03 Tom Tromey <tromey@redhat.com>
6651
6652 * probe.h (parse_probes, find_probe_by_pc)
6653 (find_probes_in_objfile): Fix comments.
6654
f0407826
DE
66552014-03-02 Doug Evans <xdje42@gmail.com>
6656
6657 * infrun.c (handle_signal_stop): Replace test for
6658 TARGET_WAITKIND_STOPPED with an assert.
6659
35e6a711
DE
66602014-03-02 Doug Evans <xdje42@gmail.com>
6661
6662 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6663
667f9d0b
DE
66642014-03-02 Doug Evans <xdje42@gmail.com>
6665
6666 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6667
dc92ace0
MK
66682014-03-01 Mark Kettenis <kettenis@gnu.org>
6669
6670 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6671
a900370f
MK
66722014-03-01 Mark Kettenis <kettenis@gnu.org>
6673
6674 * i386obsd-nat.c: Include "obsd-nat.h".
6675 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6676 add_target.
6677 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6678
b72a7981
MK
66792014-03-01 Mark Kettenis <kettenis@gnu.org>
6680
6681 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6682
96c70aba
MK
66832014-03-01 Mark Kettenis <kettenis@gnu.org>
6684
6685 * mips64obsd-nat.c: Include "obsd-nath".
6686 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6687 add_target
6688 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6689
874a80af
MK
66902014-03-01 Mark Kettenis <kettenis@gnu.org>
6691
8fd408f1
MK
6692 * amd64obsd-nat.c: Include "obsd-nat,h.
6693 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6694 add_target.
874a80af
MK
6695 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6696
9cf95373
SC
66972014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6698
6699 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6700 (find_overload_match): Update call to find_oload_champ.
6701 (find_oload_champ_namespace_loop): Likewise
6702
863e4da4
MK
67032014-02-28 Mark Kettenis <kettenis@gnu.org>
6704
025cac40
MK
6705 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6706
1ed586ce
MK
6707 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6708 * config/sparc/obsd64.mh: New file.
6709 * sparc64obsd-nat.c: New file.
6710
863e4da4
MK
6711 * obsd-nat.h: New file.
6712 * obsd-nat.c: New file.
6713 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6714 (ALLDEPFILES): Add obsd-nat.c.
6715
89de4da4
TT
67162014-02-28 Tom Tromey <tromey@redhat.com>
6717
6718 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6719 * cli-out.h (cli_ui_out_impl): Now const.
6720 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6721 * ui-out.c (struct ui_out) <impl>: Now const.
6722 (default_ui_out_impl): Now const.
6723 (ui_out_new): Make 'impl' parameter const.
6724 * ui-out.h (ui_out_new): Update.
6725
c725e7b6
MK
67262014-02-27 Mark Kettenis <kettenis@gnu.org>
6727
6728 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6729
670b46b3
MK
67302014-02-27 Mark Kettenis <kettenis@gnu.org>
6731
6732 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6733
c91550fc
JK
67342014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6735
6736 Additional PR 8882 fix.
6737 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6738
2fa0369e
PA
67392014-02-27 Pedro Alves <palves@redhat.com>
6740
6741 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6742 isn't set.
6743
d632a097
PA
67442014-02-27 Pedro Alves <palves@redhat.com>
6745
6746 PR 12702
6747 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6748 * nat/linux-waitpid.c: Include string.h.
6749 (status_to_str): Moved here and made extern.
6750 * nat/linux-waitpid.h (status_to_str): New declaration.
6751
2ebd5a35
HZ
67522014-02-27 Hui Zhu <hui@codesourcery.com>
6753
6754 PR 12702
6755 * infrun.c (ptid_match): Move ...
6756 * common/ptid.c (ptid_match): ... here.
6757 * inferior.h (ptid_match): Move ...
6758 * common/ptid.h (ptid_match): ... here.
6759
3cdd631f
MK
67602014-02-27 Mark Kettenis <kettenis@gnu.org>
6761
6762 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6763 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6764 gdb_target_obs.
6765
bee30a64
MK
67662014-02-27 Mark Kettenis <kettenis@gnu.org>
6767
6768 * obsd-tdep.c (obsd_auxv_parse): New function.
6769 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6770
6771 * gdbarch.sh (auxv_parse): New.
6772 * gdbarch.h: Regenerated.
6773 * gdbarch.c: Regenerated.
6774 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6775
7a5a839f
LC
67762014-02-26 Ludovic Courtès <ludo@gnu.org>
6777
6778 * guile/scm-value.c (gdbscm_history_append_x): New function.
6779 (value_functions): Add it.
6780
31aa7e4e
JB
67812014-02-27 Joel Brobecker <brobecker@adacore.com>
6782
6783 * dwarf2read.c (attr_value_as_address): New function.
6784 (dwarf2_find_base_address, read_call_site_scope): Use
6785 attr_value_as_address in place of DW_ADDR.
6786 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6787 the low and high addresses. Slight rework of the handling
6788 of the high pc being a constant form, and limit it to
6789 DWARF verson 4 or higher.
6790 (dwarf2_record_block_ranges): Likewise.
6791 (read_partial_die): Likewise.
6792 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6793
9b333ba3
TT
67942014-02-26 Tom Tromey <tromey@redhat.com>
6795
6796 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6797
5f6cac40
TT
67982014-02-26 Tom Tromey <tromey@redhat.com>
6799
6800 * elfread.c (elf_read_minimal_symbols): Return early if
6801 minimal symbols have already been read. Add "ei" parameter.
6802 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6803 * minsyms.c (prim_record_minimal_symbol_full): Update.
6804 * objfiles.h (struct objstats) <n_minsyms>: Move...
6805 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6806 * symmisc.c (print_objfile_statistics): Update.
6807
2750ef27
TT
68082014-02-26 Tom Tromey <tromey@redhat.com>
6809
6810 * elfread.c (elf_read_minimal_symbols): New function, from
6811 elf_symfile_read.
6812 (elf_symfile_read): Call it.
6813
34643a32
TT
68142014-02-26 Tom Tromey <tromey@redhat.com>
6815
6816 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6817 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6818 (lookup_minimal_symbol_solib_trampoline)
6819 (lookup_minimal_symbol_by_pc_section_1)
6820 (lookup_minimal_symbol_and_objfile): Update.
6821 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6822 Don't allocate a minimal symbol if minsyms have already been read.
6823 (build_minimal_symbol_hash_tables): Update.
6824 (install_minimal_symbols): Do nothing if minsyms already read.
6825 Use the per-BFD obstack.
6826 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6827 * objfiles.c (allocate_objfile): Call
6828 terminate_minimal_symbol_table later.
6829 (have_minimal_symbols): Update.
6830 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6831 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6832 Move from struct objfile.
6833 <minsyms_read>: New field.
6834 (struct objfile) <msymbols, minimal_symbol_count,
6835 msymbol_hash, msymbol_demangled_hash>: Move.
6836 (ALL_OBJFILE_MSYMBOLS): Update.
6837 * symfile.c (read_symbols): Set minsyms_read.
6838 (reread_symbols): Update.
6839 * symmisc.c (dump_objfile, dump_msymbols): Update.
6840
2273f0ac
TT
68412014-02-26 Tom Tromey <tromey@redhat.com>
6842
6843 * minsyms.c (msymbols_sort): Remove.
6844 * minsyms.h (msymbols_sort): Remove.
6845 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6846 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6847 * elfread.c (elf_symtab_read): Don't add section offsets.
6848 * xcoffread.c (record_minimal_symbol): Don't add section offset
6849 to minimal symbol address.
6850 * somread.c (text_offset, data_offset): Remove.
6851 (som_symtab_read): Don't add section offsets to minimal symbol
6852 addresses.
6853 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6854 Don't add section offsets to minimal symbols.
6855 * coffread.c (coff_symtab_read): Don't add section offsets
6856 to minimal symbol addresses.
6857 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6858 to minimal symbol addresses.
6859 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6860 section offset to minimal symbol addresses.
6861 * mdebugread.c (parse_partial_symbols): Don't add section
6862 offset to minimal symbol addresses.
6863 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6864 offset to minimal symbol addresses.
6865
77e371c0
TT
68662014-02-26 Tom Tromey <tromey@redhat.com>
6867
6868 * ada-lang.c (ada_main_name): Update.
6869 (ada_add_standard_exceptions): Update.
6870 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6871 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6872 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6873 * auxv.c (ld_so_xfer_auxv): Update.
6874 * avr-tdep.c (avr_scan_prologue): Update.
6875 * ax-gdb.c (gen_var_ref): Update.
6876 * blockframe.c (get_pc_function_start)
6877 (find_pc_partial_function_gnu_ifunc): Update.
6878 * breakpoint.c (create_overlay_event_breakpoint)
6879 (create_longjmp_master_breakpoint)
6880 (create_std_terminate_master_breakpoint)
6881 (create_exception_master_breakpoint): Update.
6882 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6883 * c-valprint.c (c_val_print): Update.
6884 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6885 * common/agent.c (agent_look_up_symbols): Update.
6886 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6887 * dwarf2loc.c (call_site_to_target_addr): Update.
6888 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6889 * elfread.c (elf_gnu_ifunc_record_cache)
6890 (elf_gnu_ifunc_resolve_by_got): Update.
6891 * findvar.c (default_read_var_value): Update.
6892 * frame.c (inside_main_func): Update.
6893 * frv-tdep.c (frv_frame_this_id): Update.
6894 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6895 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6896 Update.
6897 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6898 (hppa_hpux_find_dummy_bpaddr): Update.
6899 * hppa-tdep.c (hppa_symbol_address): Update.
6900 * infcmd.c (until_next_command): Update.
6901 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6902 Update.
6903 * linespec.c (minsym_found, add_minsym): Update.
6904 * linux-nat.c (get_signo): Update.
6905 * linux-thread-db.c (inferior_has_bug): Update.
6906 * m32c-tdep.c (m32c_return_value)
6907 (m32c_m16c_address_to_pointer): Update.
6908 * m32r-tdep.c (m32r_frame_this_id): Update.
6909 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6910 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6911 * maint.c (maintenance_translate_address): Update.
6912 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6913 (frob_address): New function.
6914 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6915 frob_address. Rename parameter to "pc_in".
6916 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6917 addresses.
6918 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6919 Update.
6920 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6921 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6922 * objc-lang.c (find_objc_msgsend): Update.
6923 * objfiles.c (objfile_relocate1): Update.
6924 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6925 * p-valprint.c (pascal_val_print): Update.
6926 * parse.c (write_exp_msymbol): Update.
6927 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6928 (ppc_elfv2_skip_entrypoint): Update.
6929 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6930 * printcmd.c (build_address_symbolic, msym_info)
6931 (address_info): Update.
6932 * proc-service.c (ps_pglobal_lookup): Update.
6933 * psymtab.c (find_pc_sect_psymtab_closer)
6934 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6935 Change msymbol parameter to bound_minimal_symbol.
6936 * ravenscar-thread.c (get_running_thread_id): Update.
6937 * remote.c (remote_check_symbols): Update.
6938 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6939 address.
6940 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6941 * solib-dsbt.c (lm_base): Update.
6942 * solib-frv.c (lm_base, main_got): Update.
6943 * solib-irix.c (locate_base): Update.
6944 * solib-som.c (som_solib_create_inferior_hook)
6945 (link_map_start): Update.
6946 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6947 * solib-svr4.c (elf_locate_base, enable_break): Update.
6948 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6949 (flush_ea_cache): Update.
6950 * stabsread.c (define_symbol, scan_file_globals): Update.
6951 * stack.c (find_frame_funname): Update.
6952 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6953 (debug_qf_find_pc_sect_symtab): Update.
6954 * symfile.c (simple_read_overlay_table)
6955 (simple_overlay_update): Update.
6956 * symfile.h (struct quick_symbol_functions)
6957 <find_pc_sect_symtab>: Change type of msymbol to
6958 bound_minimal_symbol.
6959 * symmisc.c (dump_msymbols): Update.
6960 * symtab.c (find_pc_sect_symtab_via_partial)
6961 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6962 (search_symbols, print_msymbol_info): Update.
6963 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6964 (MSYMBOL_VALUE_ADDRESS): Redefine.
6965 (BMSYMBOL_VALUE_ADDRESS): New macro.
6966 * tracepoint.c (scope_info): Update.
6967 * tui/tui-disasm.c (tui_find_disassembly_address)
6968 (tui_get_begin_asm_address): Update.
6969 * valops.c (find_function_in_inferior): Update.
6970 * value.c (value_static_field, value_fn_field): Update.
6971
3b7344d5
TT
69722014-02-26 Tom Tromey <tromey@redhat.com>
6973
6974 * ada-lang.c (ada_update_initial_language): Update.
6975 (ada_main_name, ada_has_this_exception_support): Update.
6976 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6977 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6978 * arm-tdep.c (arm_skip_stub): Update.
6979 * auxv.c (ld_so_xfer_auxv): Update.
6980 * avr-tdep.c (avr_scan_prologue): Update.
6981 * ax-gdb.c (gen_var_ref): Update.
6982 * breakpoint.c (struct breakpoint_objfile_data)
6983 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6984 type to bound_minimal_symbol.
6985 (create_overlay_event_breakpoint)
6986 (create_longjmp_master_breakpoint)
6987 (create_std_terminate_master_breakpoint)
6988 (create_exception_master_breakpoint): Update.
6989 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6990 * c-exp.y (classify_name): Update.
6991 * coffread.c (coff_symfile_read): Update.
6992 * common/agent.c (agent_look_up_symbols): Update.
6993 * d-lang.c (d_main_name): Update.
6994 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6995 * dec-thread.c (enable_dec_thread): Update.
6996 * dwarf2loc.c (call_site_to_target_addr): Update.
6997 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
6998 * eval.c (evaluate_subexp_standard): Update.
6999 * findvar.c (struct minsym_lookup_data) <result>: Change type
7000 to bound_minimal_symbol.
7001 <objfile>: Remove.
7002 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7003 * frame.c (inside_main_func): Update.
7004 * frv-tdep.c (frv_frame_this_id): Update.
7005 * gcore.c (call_target_sbrk): Update.
7006 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7007 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7008 Update.
7009 * go-lang.c (go_main_name): Update.
7010 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7011 (hppa_hpux_find_import_stub_for_addr): Update.
7012 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7013 Update. Change return type.
7014 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7015 type.
7016 * jit.c (jit_breakpoint_re_set_internal): Update.
7017 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7018 Update.
7019 * linux-nat.c (get_signo): Update.
7020 * linux-thread-db.c (inferior_has_bug): Update
7021 * m32c-tdep.c (m32c_return_value)
7022 (m32c_m16c_address_to_pointer): Update.
7023 * m32r-tdep.c (m32r_frame_this_id): Update.
7024 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7025 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7026 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7027 lookup_minimal_symbol. Change return type.
7028 (lookup_minimal_symbol): Remove.
7029 (lookup_bound_minimal_symbol): Update.
7030 (lookup_minimal_symbol_text): Change return type.
7031 (lookup_minimal_symbol_solib_trampoline): Change return type.
7032 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7033 (lookup_minimal_symbol_solib_trampoline): Change return type.
7034 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7035 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7036 (value_nsstring, find_imps): Update.
7037 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7038 * p-lang.c (pascal_main_name): Update.
7039 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7040 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7041 * proc-service.c (ps_pglobal_lookup): Update.
7042 * ravenscar-thread.c (get_running_thread_msymbol): Change
7043 return type.
7044 (has_ravenscar_runtime, get_running_thread_id): Update.
7045 * remote.c (remote_check_symbols): Update.
7046 * sol-thread.c (ps_pglobal_lookup): Update.
7047 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7048 * solib-dsbt.c (lm_base): Update.
7049 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7050 Update.
7051 * solib-irix.c (locate_base): Update.
7052 * solib-som.c (som_solib_create_inferior_hook)
7053 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7054 Update.
7055 * solib-spu.c (spu_enable_break): Update.
7056 * solib-svr4.c (elf_locate_base, enable_break): Update.
7057 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7058 (flush_ea_cache): Update.
7059 * stabsread.c (define_symbol): Update.
7060 * symfile.c (simple_read_overlay_table): Update.
7061 * symtab.c (find_pc_sect_line): Update.
7062 * tracepoint.c (scope_info): Update.
7063 * tui-disasm.c (tui_get_begin_asm_address): Update.
7064 * value.c (value_static_field): Update.
7065
40c1a007
TT
70662014-02-26 Tom Tromey <tromey@redhat.com>
7067
7068 * minsyms.c (prim_record_minimal_symbol_full): Use
7069 SET_MSYMBOL_VALUE_ADDRESS.
7070 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7071 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7072 SET_MSYMBOL_VALUE_ADDRESS.
7073 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7074 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7075
efd66ac6
TT
70762014-02-26 Tom Tromey <tromey@redhat.com>
7077
7078 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7079 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7080 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7081 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7082 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7083 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7084 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7085 * ada-lang.c (ada_main_name): Update.
7086 (ada_lookup_simple_minsym): Update.
7087 (ada_make_symbol_completion_list): Update.
7088 (ada_add_standard_exceptions): Update.
7089 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7090 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7091 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7092 * arm-tdep.c (skip_prologue_function): Update.
7093 (arm_skip_stack_protector, arm_skip_stub): Update.
7094 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7095 (arm_wince_skip_main_prologue): Update.
7096 * auxv.c (ld_so_xfer_auxv): Update.
7097 * avr-tdep.c (avr_scan_prologue): Update.
7098 * ax-gdb.c (gen_var_ref): Update.
7099 * block.c (call_site_for_pc): Update.
7100 * blockframe.c (get_pc_function_start): Update.
7101 (find_pc_partial_function_gnu_ifunc): Update.
7102 * breakpoint.c (create_overlay_event_breakpoint): Update.
7103 (create_longjmp_master_breakpoint): Update.
7104 (create_std_terminate_master_breakpoint): Update.
7105 (create_exception_master_breakpoint): Update.
7106 (resolve_sal_pc): Update.
7107 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7108 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7109 Update.
7110 * c-valprint.c (c_val_print): Update.
7111 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7112 * coffread.c (coff_symfile_read): Update.
7113 * common/agent.c (agent_look_up_symbols): Update.
7114 * dbxread.c (find_stab_function_addr): Update.
7115 (end_psymtab): Update.
7116 * dwarf2loc.c (call_site_to_target_addr): Update.
7117 (func_verify_no_selftailcall): Update.
7118 (tailcall_dump): Update.
7119 (call_site_find_chain_1): Update.
7120 (dwarf_expr_reg_to_entry_parameter): Update.
7121 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7122 (elf_gnu_ifunc_resolve_by_got): Update.
7123 * f-valprint.c (info_common_command): Update.
7124 * findvar.c (read_var_value): Update.
7125 * frame.c (get_prev_frame_1): Update.
7126 (inside_main_func): Update.
7127 * frv-tdep.c (frv_skip_main_prologue): Update.
7128 (frv_frame_this_id): Update.
7129 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7130 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7131 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7132 (gnuv3_skip_trampoline): Update.
7133 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7134 (hppa64_hpux_in_solib_call_trampoline): Update.
7135 (hppa_hpux_skip_trampoline_code): Update.
7136 (hppa64_hpux_search_dummy_call_sequence): Update.
7137 (hppa_hpux_find_import_stub_for_addr): Update.
7138 (hppa_hpux_find_dummy_bpaddr): Update.
7139 * hppa-tdep.c (hppa_symbol_address)
7140 (hppa_lookup_stub_minimal_symbol): Update.
7141 * i386-tdep.c (i386_skip_main_prologue): Update.
7142 (i386_pe_skip_trampoline_code): Update.
7143 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7144 * infcall.c (get_function_name): Update.
7145 * infcmd.c (until_next_command): Update.
7146 * jit.c (jit_breakpoint_re_set_internal): Update.
7147 (jit_inferior_init): Update.
7148 * linespec.c (minsym_found): Update.
7149 (add_minsym): Update.
7150 * linux-fork.c (info_checkpoints_command): Update.
7151 * linux-nat.c (get_signo): Update.
7152 * linux-thread-db.c (inferior_has_bug): Update.
7153 * m32c-tdep.c (m32c_return_value): Update.
7154 (m32c_m16c_address_to_pointer): Update.
7155 (m32c_m16c_pointer_to_address): Update.
7156 * m32r-tdep.c (m32r_frame_this_id): Update.
7157 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7158 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7159 * maint.c (maintenance_translate_address): Update.
7160 * minsyms.c (add_minsym_to_hash_table): Update.
7161 (add_minsym_to_demangled_hash_table): Update.
7162 (msymbol_objfile): Update.
7163 (lookup_minimal_symbol): Update.
7164 (iterate_over_minimal_symbols): Update.
7165 (lookup_minimal_symbol_text): Update.
7166 (lookup_minimal_symbol_by_pc_name): Update.
7167 (lookup_minimal_symbol_solib_trampoline): Update.
7168 (lookup_minimal_symbol_by_pc_section_1): Update.
7169 (lookup_minimal_symbol_and_objfile): Update.
7170 (prim_record_minimal_symbol_full): Update.
7171 (compare_minimal_symbols): Update.
7172 (compact_minimal_symbols): Update.
7173 (build_minimal_symbol_hash_tables): Update.
7174 (install_minimal_symbols): Update.
7175 (terminate_minimal_symbol_table): Update.
7176 (find_solib_trampoline_target): Update.
7177 (minimal_symbol_upper_bound): Update.
7178 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7179 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7180 (mips_skip_pic_trampoline_code): Update.
7181 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7182 * objc-lang.c (selectors_info): Update.
7183 (classes_info): Update.
7184 (find_methods): Update.
7185 (find_imps): Update.
7186 (find_objc_msgsend): Update.
7187 * objfiles.c (objfile_relocate1): Update.
7188 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7189 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7190 * p-valprint.c (pascal_val_print): Update.
7191 * parse.c (write_exp_msymbol): Update.
7192 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7193 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7194 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7195 * printcmd.c (build_address_symbolic): Update.
7196 (sym_info): Update.
7197 (address_info): Update.
7198 * proc-service.c (ps_pglobal_lookup): Update.
7199 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7200 (find_pc_sect_psymtab): Update.
7201 * python/py-framefilter.c (py_print_frame): Update.
7202 * ravenscar-thread.c (get_running_thread_id): Update.
7203 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7204 Update.
7205 * remote.c (remote_check_symbols): Update.
7206 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7207 (rs6000_skip_trampoline_code): Update.
7208 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7209 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7210 * solib-dsbt.c (lm_base): Update.
7211 * solib-frv.c (lm_base): Update.
7212 (main_got): Update.
7213 * solib-irix.c (locate_base): Update.
7214 * solib-som.c (som_solib_create_inferior_hook): Update.
7215 (som_solib_desire_dynamic_linker_symbols): Update.
7216 (link_map_start): Update.
7217 * solib-spu.c (spu_enable_break): Update.
7218 (ocl_enable_break): Update.
7219 * solib-svr4.c (elf_locate_base): Update.
7220 (enable_break): Update.
7221 * spu-tdep.c (spu_get_overlay_table): Update.
7222 (spu_catch_start): Update.
7223 (flush_ea_cache): Update.
7224 * stabsread.c (define_symbol): Update.
7225 (scan_file_globals): Update.
7226 * stack.c (find_frame_funname): Update.
7227 (frame_info): Update.
7228 * symfile.c (simple_read_overlay_table): Update.
7229 (simple_overlay_update): Update.
7230 * symmisc.c (dump_msymbols): Update.
7231 * symtab.c (fixup_section): Update.
7232 (find_pc_sect_line): Update.
7233 (skip_prologue_sal): Update.
7234 (search_symbols): Update.
7235 (print_msymbol_info): Update.
7236 (rbreak_command): Update.
7237 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7238 (completion_list_objc_symbol): Update.
7239 (default_make_symbol_completion_list_break_on): Update.
7240 * tracepoint.c (scope_info): Update.
7241 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7242 (tui_get_begin_asm_address): Update.
7243 * valops.c (find_function_in_inferior): Update.
7244 * value.c (value_static_field): Update.
7245 (value_fn_field): Update.
7246
50e65b17
TT
72472014-02-26 Tom Tromey <tromey@redhat.com>
7248
7249 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7250 bound minimal symbols. Move code that knows about minsym
7251 table layout...
7252 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7253 function.
7254 * minsyms.h (minimal_symbol_upper_bound): Declare.
7255 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7256 minimal_symbol_upper_bound.
7257
1b588015
JB
72582014-02-27 Joel Brobecker <brobecker@adacore.com>
7259
7260 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7261 Use the type's name if its basic type does not have a tag.
7262
dbb9c2b1
JB
72632014-02-27 Joel Brobecker <brobecker@adacore.com>
7264
7265 * dwarf2read.c (read_subrange_type): Add comment.
7266
55426c9d
JB
72672014-02-27 Joel Brobecker <brobecker@adacore.com>
7268
7269 * dwarf2read.c (update_enumeration_type_from_children): New
7270 function, mostly extracted from process_structure_scope.
7271 (read_enumeration_type): Call update_enumeration_type_from_children.
7272 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7273 and flag_flag_enum fields.
7274
f2fce0ca
PA
72752014-02-26 Pedro Alves <palves@redhat.com>
7276
7277 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7278 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7279 to_xfer_partial method.
7280
7a44e40e
PA
72812014-02-26 Pedro Alves <palves@redhat.com>
7282
7283 * target.c (complete_target_initialization): Don't install
7284 default_xfer_partial as to_xfer_partial hook.
7285 (nomemory): Delete.
7286 (update_current_target): Don't INHERIT nor de_fault
7287 deprecated_xfer_memory. Delete de_fault macro.
7288 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7289 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7290 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7291 field.
7292
bd265cd0
PA
72932014-02-26 Pedro Alves <palves@redhat.com>
7294
7295 * go32-nat.c (my_write_child): New function.
7296 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7297 (go32_xfer_partial): New function.
7298 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7299 Instead install a to_xfer_partial hook.
7300
9d46c4e5
PA
73012014-02-26 Pedro Alves <palves@redhat.com>
7302
7303 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7304 to_xfer_partial helper. Rewrite.
7305 (procfs_xfer_partial): New function.
7306 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7307 Install a to_xfer_partial hook.
7308
a1583b1f
PA
73092014-02-26 Pedro Alves <palves@redhat.com>
7310
7311 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7312 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7313 (m32r_xfer_partial): New function.
7314 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7315 Install a to_xfer_partial hook.
7316
6df1b29f
PA
73172014-02-26 Pedro Alves <palves@redhat.com>
7318
7319 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7320 helper.
7321 (mips_xfer_partial): New function.
7322 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7323 hook. Install a to_xfer_partial hook.
7324
dc53a7ad
JB
73252014-02-26 Joel Brobecker <brobecker@adacore.com>
7326
7327 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7328 * gdbtypes.c (create_array_type_with_stride): New function,
7329 renaming create_array_type, but with an added parameter
7330 called "bit_stride".
7331 (create_array_type): Re-implement using
7332 create_array_type_with_stride.
7333 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7334 and DW_AT_bit_stride attributes.
7335
12ab52e9
PA
73362014-02-26 Pedro Alves <palves@redhat.com>
7337
7338 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7339 task-specific breakpoints.
7340
d16461ae
PA
73412014-02-25 Pedro Alves <palves@redhat.com>
7342
7343 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7344 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7345
a8b16220
SS
73462014-02-25 Stan Shebs <stan@codesourcery.com>
7347
7348 * defs.h: Annotate comments for Doxygen.
7349
b9e795ee
TT
73502014-02-25 Tom Tromey <tromey@redhat.com>
7351
7352 * target.h (target_ignore): Don't declare.
7353 * target.c (target_ignore): Remove.
7354
849c862e
JK
73552014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7356
7357 PR gdb/16626
7358 * auto-load.c (auto_load_objfile_script_1): Change filename to
7359 debugfile.
7360
475109d8
JB
73612014-02-25 Joel Brobecker <brobecker@adacore.com>
7362
7363 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7364 documentation. Adjust prototype to match the target_ops
7365 to_xfer_partial method. Adjust implementation accordingly.
7366
e186c3bd
HZ
73672014-02-25 Hui Zhu <hui@codesourcery.com>
7368
7369 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7370 to_traceframe_info.
7371
6d451942
KB
73722014-02-25 Kevin Buettner <kevinb@redhat.com>
7373
041ab8b4 7374 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7375 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7376 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7377 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7378 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7379 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7380 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7381 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7382 New constants.
7383 (rl78_register_type): Use a data pointer type for SP and
7384 new pseudo registers mentioned above. Use a 16 bit integer
7385 type for all other register pairs.
7386 (rl78_register_name, rl78_g10_register_name): Update for
7387 new pseudo registers.
7388 (rl78_pseudo_register_read): Likewise.
7389 (rl78_pseudo_register_write): Likewise.
7390 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7391 to the newly added pseudo registers.
7392
eddf0bae
DE
73932014-02-24 Doug Evans <dje@google.com>
7394
7395 * value.c (record_latest_value): Fix comment.
7396 * printcmd.c (print_command_1): Remove code to handle -1 return from
7397 record_latest_value.
7398
e96027e0
PA
73992014-02-24 Pedro Alves <palves@redhat.com>
7400
7401 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7402 deprecated_xfer_memory hook.
7403 (procfs_xfer_partial): Call procfs_xfer_memory instead
7404 of the deprecated_xfer_memory target hook.
7405 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7406 helper.
7407
0837c976
YZ
74082014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7409
7410 * windows-nat.c (windows_xfer_shared_libraries): Return
7411 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7412 requested object is TARGET_OBJECT_LIBRARIES.
7413
bc113b4e
YQ
74142014-02-24 Yao Qi <yao@codesourcery.com>
7415
7416 * target.h (enum target_xfer_status)
7417 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7418 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7419 explicitly. New.
7420 * corefile.c (memory_error_message): User updated.
7421 * exec.c (section_table_read_available_memory): Likewise.
7422 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7423 * target.c (target_xfer_status_to_string): Likewise.
7424 (raw_memory_xfer_partial): Likewise.
7425 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7426 * valops.c (read_value_memory): Likewise.
7427 * exec.h: Update comments.
7428
01cb8804
YQ
74292014-02-24 Yao Qi <yao@codesourcery.com>
7430
7431 * target.c (target_xfer_status_to_string): Rename argument err
7432 to status.
7433 * target.h (target_xfer_status_to_string): Update declaration.
7434 Replace target_xfer_error_to_string with
7435 target_xfer_status_to_string in comment.
7436
93063aa6
YQ
74372014-02-24 Yao Qi <yao@codesourcery.com>
7438
7439 * mips-linux-nat.c (super_close): Update its type.
7440 (mips_linux_close): Pass 'self' to super_close.
7441
5c328c05
YQ
74422014-02-24 Yao Qi <yao@codesourcery.com>
7443
7444 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7445 * corefile.c (read_memory): Adjusted.
7446 * target.c (target_write_with_progress): Adjusted.
7447
f73023dd
YQ
74482014-02-23 Yao Qi <yao@codesourcery.com>
7449
7450 Revert two patches:
7451
7452 2013-10-25 Yao Qi <yao@codesourcery.com>
7453
7454 * remote.c (remote_traceframe_info): Return early if
7455 traceframe is not selected.
7456
7457 2013-07-19 Yao Qi <yao@codesourcery.com>
7458
7459 * target.c (update_current_target): Change the default action
7460 of 'to_traceframe_info' from tcomplain to return_zero.
7461 * target.h (struct target_ops) <to_traceframe_info>: Add more
7462 comments.
7463
5a2eb0ef
YQ
74642014-02-23 Yao Qi <yao@codesourcery.com>
7465
7466 * valops.c (read_value_memory): Rewrite it. Call
7467 target_xfer_partial in a loop.
7468 * exec.h (section_table_available_memory): Remove declaration.
7469 Move comments to ...
7470 * exec.c (section_table_available_memory): ... here. Make it
7471 static.
7472
1ee79381
YQ
74732014-02-23 Yao Qi <yao@codesourcery.com>
7474
7475 * exec.c (section_table_read_available_memory): New function.
7476 * exec.h (section_table_read_available_memory): Declare.
7477 * ctf.c (ctf_xfer_partial): Call
7478 section_table_read_available_memory.
7479 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7480
1ca49d37
YQ
74812014-02-23 Yao Qi <yao@codesourcery.com>
7482
7483 * ctf.c (ctf_xfer_partial): Move code to ...
7484 * exec.c (exec_read_partial_read_only): ... it. New function.
7485 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7486 * tracefile.c: Include "exec.h".
7487 * exec.h (exec_read_partial_read_only): Declare.
7488
a283690e
YQ
74892014-02-23 Yao Qi <yao@codesourcery.com>
7490
7491 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7492 (tfile_has_memory): Remove.
7493 (init_tfile_ops): Don't set fields to_has_all_memory and
7494 to_has_memory of tfile_ops.
7495 * tracefile.c (tracefile_has_all_memory): New function.
7496 (tracefile_has_memory): New function.
7497 (init_tracefile_ops): Initialize fields to_has_all_memory and
7498 to_has_memory of 'ops'.
7499
12e03cd0
YQ
75002014-02-23 Yao Qi <yao@codesourcery.com>
7501
7502 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7503 (ctf_thread_alive, ctf_get_trace_status): Remove.
7504 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7505 init_tracefile_ops.
7506 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7507 (tfile_has_stack, tfile_has_registers): Remove.
7508 (tfile_thread_alive): Remove.
7509 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7510 init_tracefile_ops.
7511 * tracefile.c (tracefile_has_stack): New function.
7512 (tracefile_has_registers): New function.
7513 (tracefile_thread_alive): New function.
7514 (tracefile_get_trace_status): New function.
7515 (init_tracefile_ops): New function.
7516 * tracefile.h (init_tracefile_ops): Declare.
7517
11395323
YQ
75182014-02-23 Yao Qi <yao@codesourcery.com>
7519
7520 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7521 (O_LARGEFILE): Likewise.
7522 (tfile_ops): Likewise.
7523 (TRACE_HEADER_SIZE): Likewise.
7524 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7525 (cur_data_size): Likewise.
7526 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7527 (tfile_close, tfile_files_info): Likewise.
7528 (tfile_get_trace_status): Likewise.
7529 (tfile_get_tracepoint_status): Likewise.
7530 (tfile_get_traceframe_address): Likewise.
7531 (tfile_trace_find, match_blocktype): Likewise.
7532 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7533 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7534 (tfile_get_trace_state_variable_value): Likewise.
7535 (tfile_has_all_memory, tfile_has_memory): Likewise.
7536 (tfile_has_stack, tfile_has_registers): Likewise.
7537 (tfile_thread_alive, build_traceframe_info): Likewise.
7538 (tfile_traceframe_info, init_tfile_ops): Likewise.
7539 (_initialize_tracepoint): Don't call init_tfile_ops
7540 and add_target_with_completer.
7541 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7542 exec.h, completer.h and filenames.h.
7543 (_initialize_tracefile_tfile): New function.
7544
7951c4eb
YQ
75452014-02-23 Yao Qi <yao@codesourcery.com>
7546
7547 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7548 tracefile-tfile.o.
7549 (HFILES_NO_SRCDIR): Add tracefile.h.
7550 * ctf.c: Include "tracefile.h".
7551 * tracefile.h: New file.
7552 * tracefile.c: New file
7553 * tracefile-tfile.c: New file.
7554 * tracepoint.c: Include "tracefile.h".
7555 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7556 (stop_reason_names): Add const.
7557 (trace_file_writer_xfree): Move it to tracefile.c.
7558 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7559 (trace_save_ctf): Likewise.
7560 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7561 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7562 (tfile_write_header, tfile_write_regblock_type): Likewise.
7563 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7564 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7565 (tfile_write_raw_data, tfile_end): Likewise.
7566 (tfile_trace_file_writer_new): Likewise.
7567 (free_uploaded_tp): Make it extern.
7568 (free_uploaded_tsv): Make it extern.
7569 (_initialize_tracepoint): Move code to register command 'tsave'
7570 to tracefile.c.
7571 * tracepoint.h (stop_reason_names): Declare.
7572 (struct trace_frame_write_ops): Move it to tracefile.h.
7573 (struct trace_file_write_ops): Likewise.
7574 (struct trace_file_writer): Likewise.
7575 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7576
184cd072
JK
75772014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7578
7579 PR gdb/16594
7580 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7581 process name.
7582 (get_cores_used_by_process): New parameter num_cores, use it.
7583 (linux_xfer_osdata_processes): Pass num_cores to it.
7584 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7585 process name.
7586
c63528fc
AK
75872014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7588
7589 * target.c (memory_xfer_partial): Fix length arg in call to
7590 breakpoint_xfer_memory.
7591
d7b30f67
SDJ
75922014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7593
7594 PR tdep/16397
7595 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7596 number comes after the + or - signs. Adjust length of register
7597 name to be extracted.
7598
8838afaf
TT
75992014-02-20 Tom Tromey <tromey@redhat.com>
7600
7601 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7602 (ada_varobj_ops): Mark "extern".
7603
05227d14
TT
76042014-02-20 Tom Tromey <tromey@redhat.com>
7605
7606 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7607
1254eefc
DE
76082014-02-20 Doug Evans <xdje42@gmail.com>
7609
7610 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7611 All callers updated.
7612 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7613 All callers updated.
7614 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7615 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7616
adde2bff
DE
76172014-02-20 lin zuojian <manjian2006@gmail.com>
7618 Joel Brobecker <brobecker@adacore.com>
7619 Doug Evans <xdje42@gmail.com>
7620
7621 PR symtab/16581
7622 * dwarf2read.c (struct die_info): New member in_process.
7623 (reset_die_in_process): New function.
7624 (process_die): Set it at the start, reset when returning.
7625 (inherit_abstract_dies): Only call process_die if origin_child_die
7626 not already being processed.
7627
3be75f87
JB
76282014-02-20 Joel Brobecker <brobecker@adacore.com>
7629
7630 * windows-nat.c (handle_unload_dll): Add function documentation.
7631 (do_initial_windows_stuff): Add comment explaining why we wait
7632 until after inferior initialization has finished before
7633 processing all DLLs.
7634
47f7ffdb
JB
76352014-02-20 Joel Brobecker <brobecker@adacore.com>
7636
7637 * windows-nat.c (get_module_name): Delete.
7638 (windows_get_exec_module_filename): New function, mostly
7639 inspired from get_module_name.
7640 (windows_pid_to_exec_file): Replace call to get_module_name
7641 by call to windows_get_exec_module_filename.
7642
1cd9feab
JB
76432014-02-20 Joel Brobecker <brobecker@adacore.com>
7644
7645 * windows-nat.c (handle_load_dll): Rewrite this function's
7646 introductory comment. Remove code using get_module_name
7647 to get the DLL's name.
7648
ea39ad35
JB
76492014-02-20 Joel Brobecker <brobecker@adacore.com>
7650
7651 * windows-nat.c (get_windows_debug_event): Ignore
7652 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7653 if windows_initialization_done == 0.
7654 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7655 Adjust implementation to always load all DLLs.
7656 (do_initial_windows_stuff): Replace call to
7657 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7658
95060284
JB
76592014-02-20 Joel Brobecker <brobecker@adacore.com>
7660
7661 * windows-nat.c (_initialize_windows_nat): Deprecate the
7662 "dll-symbols" command. Turn the "add-shared-symbol-files"
7663 and "assf" aliases into commands, and deprecate them as well.
7664 * NEWS: Add entry explaining that "dll-symbols" and its two
7665 aliases are now deprecated.
7666
8d4fdb12
JB
76672014-02-20 Joel Brobecker <brobecker@adacore.com>
7668
7669 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7670 new-line in debug string. Remove trailing spaces.
7671
1b281443
SS
76722014-02-19 Stan Shebs <stan@codesourcery.com>
7673
7674 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7675
f7bd0f78
SC
76762014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7677
7678 * NEWS: Add entry for the new feature
7679 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7680 and class values.
7681
399ebc3d
SS
76822014-02-19 Stan Shebs <stan@codesourcery.com>
7683
7684 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7685
c658158d
PA
76862014-02-19 Pedro Alves <palves@redhat.com>
7687
7688 * common/ptid.h (struct ptid): Mention that process_stratum
7689 targets should prefer ptid.lwp.
7690
ba348170
PA
76912014-02-19 Pedro Alves <palves@redhat.com>
7692
7693 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7694 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7695 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7696 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7697 store remote thread ids rather than ptid.tid.
7698 (_initialize_remote): Adjust.
7699
ac01945b
TT
77002014-02-19 Tom Tromey <tromey@redhat.com>
7701
7702 * target.c (target_get_unwinder): Rewrite.
7703 (target_get_tailcall_unwinder): Rewrite.
7704 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7705 (record_btrace_to_get_tailcall_unwinder): New function.
7706 (init_record_btrace_ops): Update.
7707 * target.h (struct target_ops) <to_get_unwinder,
7708 to_get_tailcall_unwinder>: Now function pointers. Use
7709 TARGET_DEFAULT_RETURN.
7710
8476dc92
TT
77112014-02-19 Tom Tromey <tromey@redhat.com>
7712
7713 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7714 argument.
7715 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7716
c0eca49f
TT
77172014-02-19 Tom Tromey <tromey@redhat.com>
7718
7719 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7720 directly.
7721 * target-delegates.c: Rebuild.
7722 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7723 TARGET_DEFAULT_FUNC.
7724 * target.c (default_target_decr_pc_after_break): Rename from
7725 forward_target_decr_pc_after_break. Simplify.
7726 (target_decr_pc_after_break): Rely on delegation.
7727
596b6b39
TT
77282014-02-19 Tom Tromey <tromey@redhat.com>
7729
7730 * target.c (update_current_target): Do not INHERIT to_doc or
7731 to_magic. Do not de_fault to_open or to_close.
7732
b427c1bc
TT
77332014-02-19 Tom Tromey <tromey@redhat.com>
7734
7735 * gcore.h (objfile_find_memory_regions): Declare.
7736 * gcore.c (objfile_find_memory_regions): No longer static. Add
7737 "self" argument.
7738 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7739 * exec.c: Include gcore.h.
7740 (exec_set_find_memory_regions): Remove.
7741 (exec_find_memory_regions): Remove.
7742 (exec_do_find_memory_regions): Remove.
7743 (init_exec_ops): Update.
7744 * defs.h (exec_set_find_memory_regions): Remove.
7745
9b144037
TT
77462014-02-19 Tom Tromey <tromey@redhat.com>
7747
7748 * target-delegates.c: Rebuild.
7749 * target.h (struct target_ops) <to_extra_thread_info,
7750 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7751 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7752 not 0, in TARGET_DEFAULT_RETURN.
7753
555bbdeb
TT
77542014-02-19 Tom Tromey <tromey@redhat.com>
7755
7756 * target.c (complete_target_initialization): Remove casts. Use
7757 return_zero_has_execution.
7758 (return_zero): Add "ignore" argument.
7759 (return_zero_has_execution): New function.
7760 (init_dummy_target): Remove casts. Use
7761 return_zero_has_execution.
7762
be4ddd36
TT
77632014-02-19 Tom Tromey <tromey@redhat.com>
7764
7765 * target.c (update_current_target): Update comments. Do not
7766 INHERIT to_stratum.
7767
2117c711
TT
77682014-02-19 Tom Tromey <tromey@redhat.com>
7769
7770 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7771 needed.
7772 * corelow.c (core_read_description): Delegate when needed.
7773 * remote.c (remote_read_description): Delegate when needed.
7774 * target-delegates.c: Rebuild.
7775 * target.c (target_read_description): Rewrite.
7776 * target.h (struct target_ops) <to_read_description>: Update
7777 comment. Use TARGET_DEFAULT_RETURN.
7778
e88ef65c
TT
77792014-02-19 Tom Tromey <tromey@redhat.com>
7780
7781 * target-delegates.c: Rebuild.
7782 * target.c (update_current_target): Don't inherit or default
7783 to_can_run.
7784 (find_default_run_target): Check against delegate_can_run.
7785 * target.h (struct target_ops) <to_can_run>: Use
7786 TARGET_DEFAULT_RETURN.
7787
86a0854a
TT
77882014-02-19 Tom Tromey <tromey@redhat.com>
7789
7790 * target-delegates.c: Rebuild.
7791 * target.c (target_disconnect): Unconditionally delegate.
7792 * target.h (struct target_ops) <to_disconnect>: Use
7793 TARGET_DEFAULT_NORETURN.
7794
ee97f592
TT
77952014-02-19 Tom Tromey <tromey@redhat.com>
7796
7797 * record.c (record_stop): Unconditionally delegate.
7798 * target-delegates.c: Rebuild.
7799 * target.c (target_stop_recording): Unconditionally delegate.
7800 * target.h (struct target_ops) <to_stop_recording>: Use
7801 TARGET_DEFAULT_IGNORE.
7802
6dc7fcf4
TT
78032014-02-19 Tom Tromey <tromey@redhat.com>
7804
7805 * target-delegates.c: Rebuild.
7806 * target.c (target_enable_btrace): Unconditionally delegate.
7807 * target.h (struct target_ops) <to_enable_btrace>: Use
7808 TARGET_DEFAULT_NORETURN.
7809
eb5b20d4
TT
78102014-02-19 Tom Tromey <tromey@redhat.com>
7811
7812 * target-delegates.c: Rebuild.
7813 * target.c (target_read_btrace): Unconditionally delegate.
7814 * target.h (struct target_ops) <to_read_btrace>: Use
7815 TARGET_DEFAULT_NORETURN.
7816
9ace480d
TT
78172014-02-19 Tom Tromey <tromey@redhat.com>
7818
7819 * target-delegates.c: Rebuild.
7820 * target.c (target_teardown_btrace): Unconditionally delegate.
7821 * target.h (struct target_ops) <to_teardown_btrace>: Use
7822 TARGET_DEFAULT_NORETURN.
7823
8dc292d3
TT
78242014-02-19 Tom Tromey <tromey@redhat.com>
7825
7826 * target-delegates.c: Rebuild.
7827 * target.c (target_disable_btrace): Unconditionally delegate.
7828 * target.h (struct target_ops) <to_disable_btrace>: Use
7829 TARGET_DEFAULT_NORETURN.
7830
58a5184e
TT
78312014-02-19 Tom Tromey <tromey@redhat.com>
7832
7833 * target-delegates.c: Rebuild.
7834 * target.c (default_search_memory): New function.
7835 (simple_search_memory): Update comment.
7836 (target_search_memory): Unconditionally delegate.
7837 * target.h (struct target_ops) <to_search_memory>: Use
7838 TARGET_DEFAULT_FUNC.
7839
8de71aab
TT
78402014-02-19 Tom Tromey <tromey@redhat.com>
7841
7842 * auxv.c (default_auxv_parse): No longer static.
7843 (target_auxv_parse): Unconditionally delegate.
7844 * auxv.h (default_auxv_parse): Declare.
7845 * target-delegates.c: Rebuild.
7846 * target.c: Include auxv.h.
7847 * target.h (struct target_ops) <to_auxv_parse>: Use
7848 TARGET_DEFAULT_FUNC.
7849
6b2c5a57
TT
78502014-02-19 Tom Tromey <tromey@redhat.com>
7851
7852 * target-delegates.c: Rebuild.
7853 * target.c (target_memory_map): Unconditionally delegate.
7854 * target.h (struct target_ops) <to_memory_map>: Use
7855 TARGET_DEFAULT_RETURN.
7856
cbffc065
TT
78572014-02-19 Tom Tromey <tromey@redhat.com>
7858
7859 * target-delegates.c: Rebuild.
7860 * target.c (target_thread_alive): Unconditionally delegate.
7861 * target.h (struct target_ops) <to_thread_alive>: Use
7862 TARGET_DEFAULT_RETURN.
7863
f09e2107
TT
78642014-02-19 Tom Tromey <tromey@redhat.com>
7865
7866 * target-delegates.c: Rebuild.
7867 * target.c (target_save_record): Unconditionally delegate.
7868 * target.h (struct target_ops) <to_save_record>: Use
7869 TARGET_DEFAULT_NORETURN.
7870
07366925
TT
78712014-02-19 Tom Tromey <tromey@redhat.com>
7872
7873 * target-delegates.c: Rebuild.
7874 * target.c (target_delete_record): Unconditionally delegate.
7875 * target.h (struct target_ops) <to_delete_record>: Use
7876 TARGET_DEFAULT_NORETURN.
7877
dd2e9d25
TT
78782014-02-19 Tom Tromey <tromey@redhat.com>
7879
7880 * target-delegates.c: Rebuild.
7881 * target.c (target_record_is_replaying): Unconditionally
7882 delegate.
7883 * target.h (struct target_ops) <to_record_is_replaying>: Use
7884 TARGET_DEFAULT_RETURN.
7885
671e76cc
TT
78862014-02-19 Tom Tromey <tromey@redhat.com>
7887
7888 * target-delegates.c: Rebuild.
7889 * target.c (target_goto_record_begin): Unconditionally delegate.
7890 * target.h (struct target_ops) <to_goto_record_begin>: Use
7891 TARGET_DEFAULT_NORETURN.
7892
e9179bb3
TT
78932014-02-19 Tom Tromey <tromey@redhat.com>
7894
7895 * target-delegates.c: Rebuild.
7896 * target.c (target_goto_record_end): Unconditionally delegate.
7897 * target.h (struct target_ops) <to_goto_record_end>: Use
7898 TARGET_DEFAULT_NORETURN.
7899
05969c84
TT
79002014-02-19 Tom Tromey <tromey@redhat.com>
7901
7902 * target-delegates.c: Rebuild.
7903 * target.c (target_goto_record): Unconditionally delegate.
7904 * target.h (struct target_ops) <to_goto_record>: Use
7905 TARGET_DEFAULT_NORETURN.
7906
3679abfa
TT
79072014-02-19 Tom Tromey <tromey@redhat.com>
7908
7909 * target-delegates.c: Rebuild.
7910 * target.c (target_insn_history): Unconditionally delegate.
7911 * target.h (struct target_ops) <to_insn_history>: Use
7912 TARGET_DEFAULT_NORETURN.
7913
8444ab58
TT
79142014-02-19 Tom Tromey <tromey@redhat.com>
7915
7916 * target-delegates.c: Rebuild.
7917 * target.c (target_insn_history_from): Unconditionally delegate.
7918 * target.h (struct target_ops) <to_insn_history_from>: Use
7919 TARGET_DEFAULT_NORETURN.
7920
c29302cc
TT
79212014-02-19 Tom Tromey <tromey@redhat.com>
7922
7923 * target-delegates.c: Rebuild.
7924 * target.c (target_insn_history_range): Unconditionally delegate.
7925 * target.h (struct target_ops) <to_insn_history_range>: Use
7926 TARGET_DEFAULT_NORETURN.
7927
170049d4
TT
79282014-02-19 Tom Tromey <tromey@redhat.com>
7929
7930 * target-delegates.c: Rebuild.
7931 * target.c (target_call_history): Unconditionally delegate.
7932 * target.h (struct target_ops) <to_call_history>: Use
7933 TARGET_DEFAULT_NORETURN.
7934
16fc27d6
TT
79352014-02-19 Tom Tromey <tromey@redhat.com>
7936
7937 * target-delegates.c: Rebuild.
7938 * target.c (target_call_history_from): Unconditionally delegate.
7939 * target.h (struct target_ops) <to_call_history_from>: Use
7940 TARGET_DEFAULT_NORETURN.
7941
115d9817
TT
79422014-02-19 Tom Tromey <tromey@redhat.com>
7943
7944 * target-delegates.c: Rebuild.
7945 * target.c (target_call_history_range): Unconditionally delegate.
7946 * target.h (struct target_ops) <to_call_history_range>: Use
7947 TARGET_DEFAULT_NORETURN.
7948
eb276a6b
TT
79492014-02-19 Tom Tromey <tromey@redhat.com>
7950
7951 * target-delegates.c: Rebuild.
7952 * target.c (target_verify_memory): Unconditionally delegate.
7953 * target.h (struct target_ops) <to_verify_memory>: Use
7954 TARGET_DEFAULT_NORETURN.
7955
9e538d0d
TT
79562014-02-19 Tom Tromey <tromey@redhat.com>
7957
7958 * target-delegates.c: Rebuild.
7959 * target.c (target_core_of_thread): Unconditionally delegate.
7960 * target.h (struct target_ops) <to_core_of_thread>: Use
7961 TARGET_DEFAULT_RETURN.
7962
f6fb2925
TT
79632014-02-19 Tom Tromey <tromey@redhat.com>
7964
7965 * target-delegates.c: Rebuild.
7966 * target.c (target_flash_done): Unconditionally delegate.
7967 * target.h (struct target_ops) <to_flash_done>: Use
7968 TARGET_DEFAULT_NORETURN.
7969
e8a6c6ac
TT
79702014-02-19 Tom Tromey <tromey@redhat.com>
7971
7972 * target-delegates.c: Rebuild.
7973 * target.c (target_flash_erase): Unconditionally delegate.
7974 * target.h (struct target_ops) <to_flash_erase>: Use
7975 TARGET_DEFAULT_NORETURN.
7976
7e35c012
TT
79772014-02-19 Tom Tromey <tromey@redhat.com>
7978
7979 * target-delegates.c: Rebuild.
7980 * target.c (target_get_section_table): Unconditionally delegate.
7981 * target.h (struct target_ops) <to_get_section_table>: Use
7982 TARGET_DEFAULT_RETURN.
7983
770234d3
TT
79842014-02-19 Tom Tromey <tromey@redhat.com>
7985
7986 * target-delegates.c: Rebuild.
7987 * target.c (target_pid_to_str): Unconditionally delegate.
7988 (init_dummy_target): Don't initialize to_pid_to_str.
7989 (default_pid_to_str): Rename from dummy_pid_to_str.
7990 * target.h (struct target_ops) <to_pid_to_str>: Use
7991 TARGET_DEFAULT_FUNC.
7992
09b0dc2b
TT
79932014-02-19 Tom Tromey <tromey@redhat.com>
7994
7995 * target-delegates.c: Rebuild.
7996 * target.c (target_find_new_threads): Unconditionally delegate.
7997 * target.h (struct target_ops) <to_find_new_threads>: Use
7998 TARGET_DEFAULT_RETURN.
7999
7d4f8efa
TT
80002014-02-19 Tom Tromey <tromey@redhat.com>
8001
8002 * target-delegates.c: Rebuild.
8003 * target.c (target_program_signals): Unconditionally delegate.
8004 * target.h (struct target_ops) <to_program_signals>: Use
8005 TARGET_DEFAULT_IGNORE.
8006
035cad7f
TT
80072014-02-19 Tom Tromey <tromey@redhat.com>
8008
8009 * target-delegates.c: Rebuild.
8010 * target.c (target_pass_signals): Unconditionally delegate.
8011 * target.h (struct target_ops) <to_pass_signals>: Use
8012 TARGET_DEFAULT_IGNORE.
8013
8d657035
TT
80142014-02-19 Tom Tromey <tromey@redhat.com>
8015
8016 * target-delegates.c: Rebuild.
8017 * target.c (default_mourn_inferior): New function.
8018 (target_mourn_inferior): Unconditionally delegate.
8019 * target.h (struct target_ops) <to_mourn_inferior>: Use
8020 TARGET_DEFAULT_FUNC.
8021
098dba18
TT
80222014-02-19 Tom Tromey <tromey@redhat.com>
8023
8024 * target-delegates.c: Rebuild.
8025 * target.c (default_follow_fork): New function.
8026 (target_follow_fork): Unconditionally delegate.
8027 * target.h (struct target_ops) <to_follow_fork>: Use
8028 TARGET_DEFAULT_FUNC.
8029
423a4807
TT
80302014-02-19 Tom Tromey <tromey@redhat.com>
8031
8032 * target-delegates.c: Rebuild.
8033 * target.c (target_kill): Unconditionally delegate.
8034 * target.h (struct target_ops) <to_kill>: Use
8035 TARGET_DEFAULT_NORETURN.
8036
6c7e5e5c
TT
80372014-02-19 Tom Tromey <tromey@redhat.com>
8038
8039 * target-delegates.c: Rebuild.
8040 * target.c (target_masked_watch_num_registers): Unconditionally
8041 delegate.
8042 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8043 Use TARGET_DEFAULT_RETURN.
8044
8b1c364c
TT
80452014-02-19 Tom Tromey <tromey@redhat.com>
8046
8047 * target-delegates.c: Rebuild.
8048 * target.c (target_remove_mask_watchpoint): Unconditionally
8049 delegate.
8050 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8051 TARGET_DEFAULT_RETURN.
8052
cd4ae029
TT
80532014-02-19 Tom Tromey <tromey@redhat.com>
8054
8055 * target-delegates.c: Rebuild.
8056 * target.c (target_insert_mask_watchpoint): Unconditionally
8057 delegate.
8058 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8059 TARGET_DEFAULT_RETURN.
8060
a134316b
TT
80612014-02-19 Tom Tromey <tromey@redhat.com>
8062
8063 * target-delegates.c: Rebuild.
8064 * target.c (target_ranged_break_num_registers): Unconditionally
8065 delegate.
8066 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8067 Use TARGET_DEFAULT_RETURN.
8068
ad5989bd
TT
80692014-02-19 Tom Tromey <tromey@redhat.com>
8070
8071 * target-delegates.c: Rebuild.
8072 * target.c (target_fetch_registers): Unconditionally delegate.
8073 * target.h (struct target_ops) <to_fetch_registers>: Use
8074 TARGET_DEFAULT_NORETURN.
8075
46ee7e8d
TT
80762014-02-19 Tom Tromey <tromey@redhat.com>
8077
8078 * target-delegates.c: Rebuild.
8079 * target.c (update_current_target): Don't inherit or default
8080 to_stop.
8081 * target.h (struct target_ops) <to_stop>: Use
8082 TARGET_DEFAULT_IGNORE.
8083
843f59ed
TT
80842014-02-19 Tom Tromey <tromey@redhat.com>
8085
8086 * target-delegates.c: Rebuild.
8087 * target.c (update_current_target): Don't inherit or default
8088 to_can_run_breakpoint_commands.
8089 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8090 Use TARGET_DEFAULT_RETURN.
8091
ccfde2a0
TT
80922014-02-19 Tom Tromey <tromey@redhat.com>
8093
8094 * target-delegates.c: Rebuild.
8095 * target.c (update_current_target): Don't inherit or default
8096 to_supports_evaluation_of_breakpoint_conditions.
8097 * target.h (struct target_ops)
8098 <to_supports_evaluation_of_breakpoint_conditions>: Use
8099 TARGET_DEFAULT_RETURN.
8100
0de91722
TT
81012014-02-19 Tom Tromey <tromey@redhat.com>
8102
8103 * target-delegates.c: Rebuild.
8104 * target.c (update_current_target): Don't inherit or default
8105 to_augmented_libraries_svr4_read.
8106 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8107 Use TARGET_DEFAULT_RETURN.
8108
9a7d8b48
TT
81092014-02-19 Tom Tromey <tromey@redhat.com>
8110
8111 * target-delegates.c: Rebuild.
8112 * target.c (update_current_target): Don't inherit or default
8113 to_can_use_agent.
8114 * target.h (struct target_ops) <to_can_use_agent>: Use
8115 TARGET_DEFAULT_RETURN.
8116
d9db5b21
TT
81172014-02-19 Tom Tromey <tromey@redhat.com>
8118
8119 * target-delegates.c: Rebuild.
8120 * target.c (update_current_target): Don't inherit or default
8121 to_use_agent.
8122 * target.h (struct target_ops) <to_use_agent>: Use
8123 TARGET_DEFAULT_NORETURN.
8124
92155eeb
TT
81252014-02-19 Tom Tromey <tromey@redhat.com>
8126
8127 * target-delegates.c: Rebuild.
8128 * target.c (update_current_target): Don't inherit or default
8129 to_traceframe_info.
8130 (return_null): Remove.
8131 * target.h (struct target_ops) <to_traceframe_info>: Use
8132 TARGET_DEFAULT_RETURN.
8133
d6522a22
TT
81342014-02-19 Tom Tromey <tromey@redhat.com>
8135
8136 * target-delegates.c: Rebuild.
8137 * target.c (update_current_target): Don't inherit or default
8138 to_static_tracepoint_markers_by_strid.
8139 * target.h (struct target_ops)
8140 <to_static_tracepoint_markers_by_strid>: Use
8141 TARGET_DEFAULT_NORETURN.
8142
4c3e4425
TT
81432014-02-19 Tom Tromey <tromey@redhat.com>
8144
8145 * target-delegates.c: Rebuild.
8146 * target.c (update_current_target): Don't inherit or default
8147 to_static_tracepoint_marker_at.
8148 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8149 Use TARGET_DEFAULT_RETURN.
8150
dcd6917f
TT
81512014-02-19 Tom Tromey <tromey@redhat.com>
8152
8153 * target-delegates.c: Rebuild.
8154 * target.c (update_current_target): Don't inherit or default
8155 to_set_permissions.
8156 * target.h (struct target_ops) <to_set_permissions>: Use
8157 TARGET_DEFAULT_IGNORE.
8158
22bcceee
TT
81592014-02-19 Tom Tromey <tromey@redhat.com>
8160
8161 * target-delegates.c: Rebuild.
8162 * target.c (update_current_target): Don't inherit or default
8163 to_get_tib_address.
8164 * target.h (struct target_ops) <to_get_tib_address>: Use
8165 TARGET_DEFAULT_NORETURN.
8166
8586ccaa
TT
81672014-02-19 Tom Tromey <tromey@redhat.com>
8168
8169 * target-delegates.c: Rebuild.
8170 * target.c (update_current_target): Don't inherit or default
8171 to_set_trace_notes.
8172 * target.h (struct target_ops) <to_set_trace_notes>: Use
8173 TARGET_DEFAULT_RETURN.
8174
91df8d1d
TT
81752014-02-19 Tom Tromey <tromey@redhat.com>
8176
8177 * target-delegates.c: Rebuild.
8178 * target.c (update_current_target): Don't initialize
8179 to_set_trace_buffer_size.
8180 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8181 TARGET_DEFAULT_IGNORE.
8182
8d526939
TT
81832014-02-19 Tom Tromey <tromey@redhat.com>
8184
8185 * target-delegates.c: Rebuild.
8186 * target.c (update_current_target): Don't inherit or default
8187 to_set_circular_trace_buffer.
8188 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8189 TARGET_DEFAULT_IGNORE.
8190
0bcfeddf
TT
81912014-02-19 Tom Tromey <tromey@redhat.com>
8192
8193 * target-delegates.c: Rebuild.
8194 * target.c (update_current_target): Don't inherit or default
8195 to_set_disconnected_tracing.
8196 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8197 TARGET_DEFAULT_IGNORE.
8198
9249843f
TT
81992014-02-19 Tom Tromey <tromey@redhat.com>
8200
8201 * target-delegates.c: Rebuild.
8202 * target.c (update_current_target): Don't inherit or default
8203 to_get_min_fast_tracepoint_insn_len.
8204 (return_minus_one): Remove.
8205 * target.h (struct target_ops)
8206 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8207
ace92e7d
TT
82082014-02-19 Tom Tromey <tromey@redhat.com>
8209
8210 * target-delegates.c: Rebuild.
8211 * target.c (update_current_target): Don't inherit or default
8212 to_get_raw_trace_data.
8213 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8214 TARGET_DEFAULT_NORETURN.
8215
08120467
TT
82162014-02-19 Tom Tromey <tromey@redhat.com>
8217
8218 * target-delegates.c: Rebuild.
8219 * target.c (update_current_target): Don't inherit or default
8220 to_upload_trace_state_variables.
8221 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8222 Use TARGET_DEFAULT_RETURN.
8223
1e949b00
TT
82242014-02-19 Tom Tromey <tromey@redhat.com>
8225
8226 * target-delegates.c: Rebuild.
8227 * target.c (update_current_target): Don't inherit or default
8228 to_upload_tracepoints.
8229 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8230 TARGET_DEFAULT_RETURN.
8231
a2e6c147
TT
82322014-02-19 Tom Tromey <tromey@redhat.com>
8233
8234 * target-delegates.c: Rebuild.
8235 * target.c (update_current_target): Don't inherit or default
8236 to_save_trace_data.
8237 * target.h (struct target_ops) <to_save_trace_data>: Use
8238 TARGET_DEFAULT_NORETURN.
8239
959bcd0b
TT
82402014-02-19 Tom Tromey <tromey@redhat.com>
8241
8242 * target-delegates.c: Rebuild.
8243 * target.c (update_current_target): Don't inherit or default
8244 to_get_trace_state_variable_value.
8245 * target.h (struct target_ops)
8246 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8247
afc94e66
TT
82482014-02-19 Tom Tromey <tromey@redhat.com>
8249
8250 * target-delegates.c: Rebuild.
8251 * target.c (update_current_target): Don't inherit or default
8252 to_trace_find.
8253 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8254
e51c07ea
TT
82552014-02-19 Tom Tromey <tromey@redhat.com>
8256
8257 * target-delegates.c: Rebuild.
8258 * target.c (update_current_target): Don't inherit or default
8259 to_trace_stop.
8260 * target.h (struct target_ops) <to_trace_stop>: Use
8261 TARGET_DEFAULT_NORETURN.
8262
6fea14cd
TT
82632014-02-19 Tom Tromey <tromey@redhat.com>
8264
8265 * target-delegates.c: Rebuild.
8266 * target.c (update_current_target): Don't inherit or default
8267 to_get_tracepoint_status.
8268 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8269 TARGET_DEFAULT_NORETURN.
8270
4072d4ff
TT
82712014-02-19 Tom Tromey <tromey@redhat.com>
8272
8273 * target-delegates.c: Rebuild.
8274 * target.c (update_current_target): Don't inherit or default
8275 to_get_trace_status.
8276 * target.h (struct target_ops) <to_get_trace_status>: Use
8277 TARGET_DEFAULT_RETURN.
8278
25da2e80
TT
82792014-02-19 Tom Tromey <tromey@redhat.com>
8280
8281 * target-delegates.c: Rebuild.
8282 * target.c (update_current_target): Don't inherit or default
8283 to_trace_start.
8284 * target.h (struct target_ops) <to_trace_start>: Use
8285 TARGET_DEFAULT_NORETURN.
8286
86dd181d
TT
82872014-02-19 Tom Tromey <tromey@redhat.com>
8288
8289 * target-delegates.c: Rebuild.
8290 * target.c (update_current_target): Don't inherit or default
8291 to_trace_set_readonly_regions.
8292 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8293 Use TARGET_DEFAULT_NORETURN.
8294
05c41993
TT
82952014-02-19 Tom Tromey <tromey@redhat.com>
8296
8297 * target-delegates.c: Rebuild.
8298 * target.c (update_current_target): Don't inherit or default
8299 to_disable_tracepoint.
8300 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8301 TARGET_DEFAULT_NORETURN.
8302
151f70f1
TT
83032014-02-19 Tom Tromey <tromey@redhat.com>
8304
8305 * target-delegates.c: Rebuild.
8306 * target.c (update_current_target): Don't inherit or default
8307 to_enable_tracepoint.
8308 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8309 TARGET_DEFAULT_NORETURN.
8310
94eb98b9
TT
83112014-02-19 Tom Tromey <tromey@redhat.com>
8312
8313 * target-delegates.c: Rebuild.
8314 * target.c (update_current_target): Don't inherit or default
8315 to_download_trace_state_variable.
8316 * target.h (struct target_ops) <to_download_trace_state_variable>:
8317 Use TARGET_DEFAULT_NORETURN.
8318
719acc4a
TT
83192014-02-19 Tom Tromey <tromey@redhat.com>
8320
8321 * target-delegates.c: Rebuild.
8322 * target.c (update_current_target): Don't inherit or default
8323 to_can_download_tracepoint.
8324 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8325 TARGET_DEFAULT_RETURN.
8326
9a980a22
TT
83272014-02-19 Tom Tromey <tromey@redhat.com>
8328
8329 * target-delegates.c: Rebuild.
8330 * target.c (update_current_target): Don't inherit or default
8331 to_download_tracepoint.
8332 * target.h (struct target_ops) <to_download_tracepoint>: Use
8333 TARGET_DEFAULT_NORETURN.
8334
5536135b
TT
83352014-02-19 Tom Tromey <tromey@redhat.com>
8336
8337 * target-delegates.c: Rebuild.
8338 * target.c (update_current_target): Don't inherit or default
8339 to_trace_init.
8340 * target.h (struct target_ops) <to_trace_init>: Use
8341 TARGET_DEFAULT_RETURN.
8342
9409d39e
TT
83432014-02-19 Tom Tromey <tromey@redhat.com>
8344
8345 * target-delegates.c: Rebuild.
8346 * target.c (update_current_target): Don't inherit or default
8347 to_supports_string_tracing.
8348 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8349 TARGET_DEFAULT_RETURN.
8350
aab1b22d
TT
83512014-02-19 Tom Tromey <tromey@redhat.com>
8352
8353 * target-delegates.c: Rebuild.
8354 * target.c (update_current_target): Don't inherit or default
8355 to_supports_enable_disable_tracepoint.
8356 * target.h (struct target_ops)
8357 <to_supports_enable_disable_tracepoint>: Use
8358 TARGET_DEFAULT_RETURN.
8359
a7304748
TT
83602014-02-19 Tom Tromey <tromey@redhat.com>
8361
8362 * target-delegates.c: Rebuild.
8363 * target.c (update_current_target): Don't inherit or default
8364 to_supports_multi_process.
8365 * target.h (struct target_ops) <to_supports_multi_process>: Use
8366 TARGET_DEFAULT_RETURN.
8367
4229b31d
TT
83682014-02-19 Tom Tromey <tromey@redhat.com>
8369
8370 * target-delegates.c: Rebuild.
8371 * target.c (update_current_target): Don't inherit or default
8372 to_get_ada_task_ptid.
8373 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8374 TARGET_DEFAULT_FUNC.
8375
43eba180
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_thread_architecture.
8381 * target.h (struct target_ops) <to_thread_architecture>: Use
8382 TARGET_DEFAULT_FUNC.
8383
fe31bf5b
TT
83842014-02-19 Tom Tromey <tromey@redhat.com>
8385
8386 * target-delegates.c: Rebuild.
8387 * target.c (update_current_target): Don't inherit or default
8388 to_execution_direction.
8389 * target.h (struct target_ops) <to_execution_direction>: Use
8390 TARGET_DEFAULT_FUNC.
8391
53e1cfc7
TT
83922014-02-19 Tom Tromey <tromey@redhat.com>
8393
8394 * target-delegates.c: Rebuild.
8395 * target.c (update_current_target): Don't inherit or default
8396 to_can_execute_reverse.
8397 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8398 TARGET_DEFAULT_RETURN.
8399 (target_can_execute_reverse): Unconditionally delegate.
8400
9bb9d61d
TT
84012014-02-19 Tom Tromey <tromey@redhat.com>
8402
8403 * target-delegates.c: Rebuild.
8404 * target.c (update_current_target): Don't inherit or default
8405 to_goto_bookmark.
8406 (dummy_goto_bookmark): Remove.
8407 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8408 * target.h (struct target_ops) <to_goto_bookmark>: Use
8409 TARGET_DEFAULT_NORETURN.
8410
3dbafbbb
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_get_bookmark.
8416 (dummy_get_bookmark): Remove.
8417 (init_dummy_target): Don't inherit or default to_get_bookmark.
8418 * target.h (struct target_ops) <to_get_bookmark>: Use
8419 TARGET_DEFAULT_NORETURN
8420
16f796b1
TT
84212014-02-19 Tom Tromey <tromey@redhat.com>
8422
8423 * target-delegates.c: Rebuild.
8424 * target.c (update_current_target): Don't inherit or default
8425 to_make_corefile_notes.
8426 (init_dummy_target): Don't initialize to_make_corefile_notes.
8427 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8428 TARGET_DEFAULT_FUNC.
8429
0b5a2719
TT
84302014-02-19 Tom Tromey <tromey@redhat.com>
8431
8432 * target-delegates.c: Rebuild.
8433 * target.c (update_current_target): Don't inherit or default
8434 to_find_memory_regions.
8435 (init_dummy_target): Don't initialize to_find_memory_regions.
8436 * target.h (struct target_ops) <to_find_memory_regions>: Use
8437 TARGET_DEFAULT_FUNC.
8438
d9cb0195
TT
84392014-02-19 Tom Tromey <tromey@redhat.com>
8440
8441 * target-delegates.c: Rebuild.
8442 * target.c (update_current_target): Don't inherit or default
8443 to_log_command.
8444 * target.h (struct target_ops) <to_log_command>: Use
8445 TARGET_DEFAULT_IGNORE.
8446 (target_log_command): Unconditionally delegate.
8447
830ca330
TT
84482014-02-19 Tom Tromey <tromey@redhat.com>
8449
8450 * target-delegates.c: Rebuild.
8451 * target.c (update_current_target): Don't inherit or default
8452 to_pid_to_exec_file.
8453 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8454 TARGET_DEFAULT_RETURN.
8455
825828fc
TT
84562014-02-19 Tom Tromey <tromey@redhat.com>
8457
8458 * target-delegates.c: Rebuild.
8459 * target.c (update_current_target): Don't inherit or default
8460 to_thread_name.
8461 (target_thread_name): Unconditionally delegate.
8462 * target.h (struct target_ops) <to_thread_name>: Use
8463 TARGET_DEFAULT_RETURN.
8464
4a7e6dda
TT
84652014-02-19 Tom Tromey <tromey@redhat.com>
8466
8467 * target-delegates.c: Rebuild.
8468 * target.c (update_current_target): Don't inherit or default
8469 to_extra_thread_info.
8470 * target.h (struct target_ops) <to_extra_thread_info>: Use
8471 TARGET_DEFAULT_RETURN.
8472
0db88c1d
TT
84732014-02-19 Tom Tromey <tromey@redhat.com>
8474
8475 * target-delegates.c: Rebuild.
8476 * target.c (update_current_target): Don't inherit or default
8477 to_has_exited.
8478 * target.h (struct target_ops) <to_has_exited>: Use
8479 TARGET_DEFAULT_RETURN..
8480
6a9fa051
TT
84812014-02-19 Tom Tromey <tromey@redhat.com>
8482
8483 * target-delegates.c: Rebuild.
8484 * target.c (update_current_target): Don't inherit or default
8485 to_set_syscall_catchpoint.
8486 (return_one): Remove.
8487 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8488 TARGET_DEFAULT_RETURN.
8489
62f64d7a
TT
84902014-02-19 Tom Tromey <tromey@redhat.com>
8491
8492 * target-delegates.c: Rebuild.
8493 * target.c (update_current_target): Don't inherit or default
8494 to_insert_exec_catchpoint.
8495 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8496 TARGET_DEFAULT_RETURN.
8497
cda0f38c
TT
84982014-01-08 Tom Tromey <tromey@redhat.com>
8499
8500 * target-delegates.c: Rebuild.
8501 * target.c (update_current_target): Don't inherit or default
8502 to_insert_exec_catchpoint.
8503 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8504 TARGET_DEFAULT_RETURN.
8505
95c3375e
TT
85062014-02-19 Tom Tromey <tromey@redhat.com>
8507
8508 * target-delegates.c: Rebuild.
8509 * target.c (update_current_target): Don't inherit or default
8510 to_remove_vfork_catchpoint.
8511 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8512 TARGET_DEFAULT_RETURN.
8513
7e18a8dc
TT
85142014-02-19 Tom Tromey <tromey@redhat.com>
8515
8516 * target-delegates.c: Rebuild.
8517 * target.c (update_current_target): Don't inherit or default
8518 to_insert_vfork_catchpoint.
8519 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8520 TARGET_DEFAULT_RETURN.
8521
e1a21fb7
TT
85222014-02-19 Tom Tromey <tromey@redhat.com>
8523
8524 * target-delegates.c: Rebuild.
8525 * target.c (update_current_target): Don't inherit or default
8526 to_remove_fork_catchpoint.
8527 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8528 TARGET_DEFAULT_RETURN.
8529
5958ebeb
TT
85302014-02-19 Tom Tromey <tromey@redhat.com>
8531
8532 * target-delegates.c: Rebuild.
8533 * target.c (update_current_target): Don't inherit or default
8534 to_insert_fork_catchpoint.
8535 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8536 TARGET_DEFAULT_RETURN.
8537
340ba4bf
TT
85382014-02-19 Tom Tromey <tromey@redhat.com>
8539
8540 * target-delegates.c: Rebuild.
8541 * target.c (update_current_target): Don't inherit or default
8542 to_post_startup_inferior.
8543 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8544 TARGET_DEFAULT_IGNORE.
8545
7634da87
TT
85462014-02-19 Tom Tromey <tromey@redhat.com>
8547
8548 * target-delegates.c: Rebuild.
8549 * target.c (update_current_target): Don't inherit or default
8550 to_load.
8551 * target.h (struct target_ops) <to_load>: Use
8552 TARGET_DEFAULT_NORETURN.
8553
e19e919f
TT
85542014-02-19 Tom Tromey <tromey@redhat.com>
8555
8556 * target-delegates.c: Rebuild.
8557 * target.c (update_current_target): Don't inherit or default
8558 to_terminal_info.
8559 * target.h (struct target_ops) <to_terminal_info>: Use
8560 TARGET_DEFAULT_FUNC.
8561
c6ea8f79
TT
85622014-02-19 Tom Tromey <tromey@redhat.com>
8563
8564 * target-delegates.c: Rebuild.
8565 * target.c (update_current_target): Don't inherit or default
8566 to_terminal_save_ours.
8567 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8568 TARGET_DEFAULT_IGNORE.
8569
e4a733f1
TT
85702014-02-19 Tom Tromey <tromey@redhat.com>
8571
8572 * target-delegates.c: Rebuild.
8573 * target.c (update_current_target): Don't inherit or default
8574 to_terminal_ours.
8575 * target.h (struct target_ops) <to_terminal_ours>: Use
8576 TARGET_DEFAULT_IGNORE.
8577
74fcbef9
TT
85782014-02-19 Tom Tromey <tromey@redhat.com>
8579
8580 * target-delegates.c: Rebuild.
8581 * target.c (update_current_target): Don't inherit or default
8582 to_terminal_ours_for_output.
8583 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8584 TARGET_DEFAULT_IGNORE.
8585
ddeaacc9
TT
85862014-02-19 Tom Tromey <tromey@redhat.com>
8587
8588 * target-delegates.c: Rebuild.
8589 * target.c (update_current_target): Don't inherit or default
8590 to_terminal_inferior.
8591 * target.h (struct target_ops) <to_terminal_inferior>: Use
8592 TARGET_DEFAULT_IGNORE.
8593
0343661d
TT
85942014-02-19 Tom Tromey <tromey@redhat.com>
8595
8596 * target-delegates.c: Rebuild.
8597 * target.c (update_current_target): Don't inherit or default
8598 to_terminal_init.
8599 * target.h (struct target_ops) <to_terminal_init>: Use
8600 TARGET_DEFAULT_IGNORE.
8601
77cdffe9
TT
86022014-02-19 Tom Tromey <tromey@redhat.com>
8603
8604 * target-delegates.c: Rebuild.
8605 * target.c (update_current_target): Don't inherit or default
8606 to_can_accel_watchpoint_condition.
8607 * target.h (struct target_ops)
8608 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8609
d03655e4
TT
86102014-02-19 Tom Tromey <tromey@redhat.com>
8611
8612 * target-delegates.c: Rebuild.
8613 * target.c (update_current_target): Don't inherit or default
8614 to_region_ok_for_hw_watchpoint.
8615 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8616 Use TARGET_DEFAULT_FUNC.
8617
65f160a9
TT
86182014-02-19 Tom Tromey <tromey@redhat.com>
8619
8620 * target-delegates.c: Rebuild.
8621 * target.c (update_current_target): Don't inherit or default
8622 to_watchpoint_addr_within_range.
8623 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8624 Use TARGET_DEFAULT_FUNC.
8625
61dd109f
TT
86262014-02-19 Tom Tromey <tromey@redhat.com>
8627
8628 * target-delegates.c: Rebuild.
8629 * target.c (update_current_target): Don't inherit or default
8630 to_remove_watchpoint.
8631 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8632 TARGET_DEFAULT_NORETURN.
8633
016facd4
TT
86342014-02-19 Tom Tromey <tromey@redhat.com>
8635
8636 * target-delegates.c: Rebuild.
8637 * target.c (update_current_target): Don't inherit or default
8638 to_insert_watchpoint.
8639 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8640 TARGET_DEFAULT_RETURN.
8641
418dabac
TT
86422014-02-19 Tom Tromey <tromey@redhat.com>
8643
8644 * target-delegates.c: Rebuild.
8645 * target.c (update_current_target): Don't inherit or default
8646 to_remove_hw_breakpoint.
8647 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8648 TARGET_DEFAULT_RETURN.
8649
61b371f9
TT
86502014-02-19 Tom Tromey <tromey@redhat.com>
8651
8652 * target-delegates.c: Rebuild.
8653 * target.c (update_current_target): Don't inherit or default
8654 to_insert_hw_breakpoint.
8655 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8656 TARGET_DEFAULT_RETURN.
8657
52b51d06
TT
86582014-02-19 Tom Tromey <tromey@redhat.com>
8659
8660 * target-delegates.c: Rebuild.
8661 * target.c (update_current_target): Don't inherit or default
8662 to_can_use_hw_breakpoint.
8663 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8664 TARGET_DEFAULT_RETURN.
8665
f86e59b2
TT
86662014-02-19 Tom Tromey <tromey@redhat.com>
8667
8668 * target-delegates.c: Rebuild.
8669 * target.c (update_current_target): Don't inherit or default
8670 to_files_info.
8671 * target.h (struct target_ops) <to_files_info>: Use
8672 TARGET_DEFAULT_IGNORE.
8673
6c628163
TT
86742014-02-19 Tom Tromey <tromey@redhat.com>
8675
8676 * target-delegates.c: Rebuild.
8677 * target.c (update_current_target): Don't inherit or default
8678 to_store.
8679 * target.h (struct target_ops) <to_store>: Use
8680 TARGET_DEFAULT_NORETURN.
8681
bebd3233
TT
86822014-02-19 Tom Tromey <tromey@redhat.com>
8683
8684 * target-delegates.c: Rebuild.
8685 * target.c (update_current_target): Don't inherit or default
8686 to_post_attach.
8687 * target.h (struct target_ops) <to_post_attach>: Use
8688 TARGET_DEFAULT_IGNORE.
8689
a53f3625
TT
86902014-02-19 Tom Tromey <tromey@redhat.com>
8691
8692 * target-delegates.c: Rebuild.
8693 * target.c (update_current_target): Don't inherit or default
8694 to_rcmd.
8695 (default_rcmd): New function.
8696 (do_monitor_command): Unconditionally delegate.
8697 * target.h (struct target_ops) <to_rmcd>: Use
8698 TARGET_DEFAULT_FUNC.
8699
e9a29200
TT
87002014-02-19 Tom Tromey <tromey@redhat.com>
8701
8702 * target-delegates.c: Rebuild.
8703 * target.c (init_dummy_target): Don't initialize to_attach.
8704 (target_attach): Unconditionally delegate.
8705 * target.h (struct target_ops) <to_attach>: Use
8706 TARGET_DEFAULT_FUNC.
8707
09da0d0a
TT
87082014-02-19 Tom Tromey <tromey@redhat.com>
8709
8710 * target-delegates.c: Rebuild.
8711 * target.c (target_detach): Unconditionally delegate.
8712 (init_dummy_target): Don't initialize to_detach.
8713 * target.h (struct target_ops) <to_detach>: Use
8714 TARGET_DEFAULT_IGNORE.
8715
5436ff03
TT
87162014-02-19 Tom Tromey <tromey@redhat.com>
8717
8718 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8719 Add argument.
8720 (target_augmented_libraries_svr4_read): Add argument.
8721 * target.c (update_current_target): Update.
8722 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8723 argument.
8724
f0d960ea
TT
87252014-02-19 Tom Tromey <tromey@redhat.com>
8726
8727 * target.h (struct target_ops) <to_call_history_range>: Add
8728 argument.
8729 * target.c (target_call_history_range): Add argument.
8730 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8731 argument.
8732 (record_btrace_call_history_from): Update.
8733
ec0aea04
TT
87342014-02-19 Tom Tromey <tromey@redhat.com>
8735
8736 * target.h (struct target_ops) <to_call_history_from>: Add
8737 argument.
8738 * target.c (target_call_history_from): Add argument.
8739 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8740 argument.
8741
5df2fcba
TT
87422014-02-19 Tom Tromey <tromey@redhat.com>
8743
8744 * target.h (struct target_ops) <to_call_history>: Add argument.
8745 * target.c (target_call_history): Add argument.
8746 * record-btrace.c (record_btrace_call_history): Add 'self'
8747 argument.
8748
4e99c6b7
TT
87492014-02-19 Tom Tromey <tromey@redhat.com>
8750
8751 * target.h (struct target_ops) <to_insn_history_range>: Add
8752 argument.
8753 * target.c (target_insn_history_range): Add argument.
8754 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8755 argument.
8756 (record_btrace_insn_history_from): Update.
8757
9abc3ff3
TT
87582014-02-19 Tom Tromey <tromey@redhat.com>
8759
8760 * target.h (struct target_ops) <to_insn_history_from>: Add
8761 argument.
8762 * target.c (target_insn_history_from): Add argument.
8763 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8764 argument.
8765
7a6c5609
TT
87662014-02-19 Tom Tromey <tromey@redhat.com>
8767
8768 * target.h (struct target_ops) <to_insn_history>: Add argument.
8769 * target.c (target_insn_history): Add argument.
8770 * record-btrace.c (record_btrace_insn_history): Add 'self'
8771 argument.
8772
606183ac
TT
87732014-02-19 Tom Tromey <tromey@redhat.com>
8774
8775 * target.h (struct target_ops) <to_goto_record>: Add argument.
8776 * target.c (target_goto_record): Add argument.
8777 * record-full.c (record_full_goto): Add 'self' argument.
8778 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8779
307a1b91
TT
87802014-02-19 Tom Tromey <tromey@redhat.com>
8781
8782 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8783 * target.c (target_goto_record_end): Add argument.
8784 * record-full.c (record_full_goto_end): Add 'self' argument.
8785 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8786
08475817
TT
87872014-02-19 Tom Tromey <tromey@redhat.com>
8788
8789 * target.h (struct target_ops) <to_goto_record_begin>: Add
8790 argument.
8791 * target.c (target_goto_record_begin): Add argument.
8792 * record-full.c (record_full_goto_begin): Add 'self' argument.
8793 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8794 argument.
8795
1c63c994
TT
87962014-02-19 Tom Tromey <tromey@redhat.com>
8797
8798 * target.h (struct target_ops) <to_record_is_replaying>: Add
8799 argument.
8800 * target.c (target_record_is_replaying): Add argument.
8801 * record-full.c (record_full_is_replaying): Add 'self' argument.
8802 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8803 argument.
8804 (record_btrace_xfer_partial, record_btrace_store_registers)
8805 (record_btrace_prepare_to_store, record_btrace_resume)
8806 (record_btrace_wait, record_btrace_decr_pc_after_break)
8807 (record_btrace_find_new_threads, record_btrace_thread_alive):
8808 Update.
8809
d1b55219
TT
88102014-02-19 Tom Tromey <tromey@redhat.com>
8811
8812 * target.h (struct target_ops) <to_delete_record>: Add argument.
8813 * target.c (target_delete_record): Add argument.
8814 * record-full.c (record_full_delete): Add 'self' argument.
8815
1390f529
TT
88162014-02-19 Tom Tromey <tromey@redhat.com>
8817
8818 * target.h (struct target_ops) <to_save_record>: Add argument.
8819 * target.c (target_save_record): Add argument.
8820 * record-full.c (record_full_save): Add 'self' argument.
8821 (record_full_save): Add 'self' argument.
8822
630d6a4a
TT
88232014-02-19 Tom Tromey <tromey@redhat.com>
8824
8825 * target.h (struct target_ops) <to_info_record>: Add argument.
8826 * target.c (target_info_record): Add argument.
8827 * record.c (info_record_command): Add argument.
8828 * record-full.c (record_full_info): Add 'self' argument.
8829 * record-btrace.c (record_btrace_info): Add 'self' argument.
8830
c6cd7c02
TT
88312014-02-19 Tom Tromey <tromey@redhat.com>
8832
8833 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8834 * target.c (target_stop_recording): Add argument.
8835 * record.c (record_stop): Add argument.
8836 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8837 argument.
8838
39c49f83
TT
88392014-02-19 Tom Tromey <tromey@redhat.com>
8840
8841 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8842 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8843 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8844 argument.
8845 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8846 (_initialize_amd64_linux_nat): Use it.
8847 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8848 (_initialize_i386_linux_nat): Use it.
8849
1777056d
TT
88502014-02-19 Tom Tromey <tromey@redhat.com>
8851
8852 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8853 * target.c (target_teardown_btrace): Add argument.
8854 * remote.c (remote_teardown_btrace): Add 'self' argument.
8855 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8856 argument.
8857 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8858 argument.
8859
25e95349
TT
88602014-02-19 Tom Tromey <tromey@redhat.com>
8861
8862 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8863 * target.c (target_disable_btrace): Add argument.
8864 * remote.c (remote_disable_btrace): Add 'self' argument.
8865 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8866 argument.
8867 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8868 argument.
8869
e3c49f88
TT
88702014-02-19 Tom Tromey <tromey@redhat.com>
8871
8872 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8873 * target.c (target_enable_btrace): Add argument.
8874 * remote.c (remote_enable_btrace): Add 'self' argument.
8875 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8876 argument.
8877 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8878 argument.
8879
fe38f897
TT
88802014-02-19 Tom Tromey <tromey@redhat.com>
8881
8882 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8883 (target_can_use_agent): Add argument.
8884 * target.c (update_current_target): Update.
8885 * remote.c (remote_can_use_agent): Add 'self' argument.
8886 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8887
2c152180
TT
88882014-02-19 Tom Tromey <tromey@redhat.com>
8889
8890 * target.h (struct target_ops) <to_use_agent>: Add argument.
8891 (target_use_agent): Add argument.
8892 * target.c (update_current_target): Update.
8893 * remote.c (remote_use_agent): Add 'self' argument.
8894 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8895
a893e81f
TT
88962014-02-19 Tom Tromey <tromey@redhat.com>
8897
8898 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8899 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8900 (target_traceframe_info): Add argument.
8901 * target.c (update_current_target): Update.
8902 * remote.c (remote_traceframe_info): Add 'self' argument.
8903 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8904
c686c57f
TT
89052014-02-19 Tom Tromey <tromey@redhat.com>
8906
8907 * target.h (target_static_tracepoint_markers_by_strid): Add
8908 argument.
8909 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8910 'self' argument.
8911 * target.c (update_current_target): Update.
8912 * remote.c (struct target_ops)
8913 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8914 * linux-nat.c (struct target_ops)
8915 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8916
61fc905d
TT
89172014-02-19 Tom Tromey <tromey@redhat.com>
8918
8919 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8920 Add argument.
8921 (target_static_tracepoint_marker_at): Add argument.
8922 * target.c (update_current_target): Update.
8923 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8924 argument.
8925
c378d69d
TT
89262014-02-19 Tom Tromey <tromey@redhat.com>
8927
8928 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8929 (target_set_permissions): Add argument.
8930 * target.c (update_current_target): Update.
8931 * remote.c (remote_set_permissions): Add 'self' argument.
8932 (remote_start_remote): Update.
8933
bd7ae0f5
TT
89342014-02-19 Tom Tromey <tromey@redhat.com>
8935
8936 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8937 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8938 (target_get_tib_address): Add argument.
8939 * target.c (update_current_target): Update.
8940 * remote.c (remote_get_tib_address): Add 'self' argument.
8941
d9e68a2c
TT
89422014-02-19 Tom Tromey <tromey@redhat.com>
8943
8944 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8945 (target_set_trace_notes): Add argument.
8946 * target.c (update_current_target): Update.
8947 * remote.c (remote_set_trace_notes): Add 'self' argument.
8948
4da384be
TT
89492014-02-19 Tom Tromey <tromey@redhat.com>
8950
8951 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8952 argument.
8953 (target_set_trace_buffer_size): Add argument.
8954 * target.c (update_current_target): Update.
8955 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8956
736d5b1f
TT
89572014-02-19 Tom Tromey <tromey@redhat.com>
8958
8959 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8960 argument.
8961 (target_set_circular_trace_buffer): Add argument.
8962 * target.c (update_current_target): Update.
8963 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8964 argument.
8965
37b25738
TT
89662014-02-19 Tom Tromey <tromey@redhat.com>
8967
8968 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8969 argument.
8970 (target_set_disconnected_tracing): Add argument.
8971 * target.c (update_current_target): Update.
8972 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8973
0e67620a
TT
89742014-02-19 Tom Tromey <tromey@redhat.com>
8975
8976 * target.h (struct target_ops)
8977 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8978 (target_get_min_fast_tracepoint_insn_len): Add argument.
8979 * target.c (update_current_target): Update.
8980 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8981 argument.
8982
88ee6f45
TT
89832014-02-19 Tom Tromey <tromey@redhat.com>
8984
8985 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8986 argument.
8987 (target_get_raw_trace_data): Add argument.
8988 * target.c (update_current_target): Update.
8989 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8990
181e3713
TT
89912014-02-19 Tom Tromey <tromey@redhat.com>
8992
8993 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8994 Add argument.
8995 (target_upload_trace_state_variables): Add argument.
8996 * target.c (update_current_target): Update.
8997 * remote.c (remote_upload_trace_state_variables): Add 'self'
8998 argument.
8999 (remote_start_remote): Update.
9000
ab6617cc
TT
90012014-02-19 Tom Tromey <tromey@redhat.com>
9002
9003 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9004 argument.
9005 (target_upload_tracepoints): Add argument.
9006 * target.c (update_current_target): Update.
9007 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9008 (remote_start_remote): Update.
9009
dc3decaf
TT
90102014-02-19 Tom Tromey <tromey@redhat.com>
9011
9012 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9013 (target_save_trace_data): Add argument.
9014 * target.c (update_current_target): Update.
9015 * remote.c (remote_save_trace_data): Add 'self' argument.
9016
4011015b
TT
90172014-02-19 Tom Tromey <tromey@redhat.com>
9018
9019 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9020 argument.
9021 * target.h (struct target_ops)
9022 <to_get_trace_state_variable_value>: Add argument.
9023 (target_get_trace_state_variable_value): Add argument.
9024 * target.c (update_current_target): Update.
9025 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9026 argument.
9027 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9028
bd4c6793
TT
90292014-02-19 Tom Tromey <tromey@redhat.com>
9030
9031 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9032 * target.h (struct target_ops) <to_trace_find>: Add argument.
9033 (target_trace_find): Add argument.
9034 * target.c (update_current_target): Update.
9035 * remote.c (remote_trace_find): Add 'self' argument.
9036 * ctf.c (ctf_trace_find): Add 'self' argument.
9037
74499f1b
TT
90382014-02-19 Tom Tromey <tromey@redhat.com>
9039
9040 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9041 (target_trace_stop): Add argument.
9042 * target.c (update_current_target): Update.
9043 * remote.c (remote_trace_stop): Add 'self' argument.
9044
db90e85c
TT
90452014-02-19 Tom Tromey <tromey@redhat.com>
9046
9047 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9048 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9049 argument.
9050 (target_get_tracepoint_status): Add argument.
9051 * target.c (update_current_target): Update.
9052 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9053
8bd200f1
TT
90542014-02-19 Tom Tromey <tromey@redhat.com>
9055
9056 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9057 * target.h (struct target_ops) <to_get_trace_status>: Add
9058 argument.
9059 (target_get_trace_status): Add argument.
9060 * target.c (update_current_target): Update.
9061 * remote.c (remote_get_trace_status): Add 'self' argument.
9062 (remote_start_remote, remote_can_download_tracepoint): Update.
9063 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9064
e2d1aae3
TT
90652014-02-19 Tom Tromey <tromey@redhat.com>
9066
9067 * target.h (struct target_ops) <to_trace_start>: Add argument.
9068 (target_trace_start): Add argument.
9069 * target.c (update_current_target): Update.
9070 * remote.c (remote_trace_start): Add 'self' argument.
9071
583f9a86
TT
90722014-02-19 Tom Tromey <tromey@redhat.com>
9073
9074 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9075 Add argument.
9076 (target_trace_set_readonly_regions): Add argument.
9077 * target.c (update_current_target): Update.
9078 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9079 argument.
9080
780b049c
TT
90812014-02-19 Tom Tromey <tromey@redhat.com>
9082
9083 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9084 argument.
9085 (target_disable_tracepoint): Add argument.
9086 * target.c (update_current_target): Update.
9087 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9088
46670d57
TT
90892014-02-19 Tom Tromey <tromey@redhat.com>
9090
9091 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9092 argument.
9093 (target_enable_tracepoint): Add argument.
9094 * target.c (update_current_target): Update.
9095 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9096
559d2b81
TT
90972014-02-19 Tom Tromey <tromey@redhat.com>
9098
9099 * target.h (struct target_ops) <to_download_trace_state_variable>:
9100 Add argument.
9101 (target_download_trace_state_variable): Add argument.
9102 * target.c (update_current_target): Update.
9103 * remote.c (remote_download_trace_state_variable): Add 'self'
9104 argument.
9105
a52a8357
TT
91062014-02-19 Tom Tromey <tromey@redhat.com>
9107
9108 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9109 argument.
9110 (target_can_download_tracepoint): Add argument.
9111 * target.c (update_current_target): Update.
9112 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9113
548f7808
TT
91142014-02-19 Tom Tromey <tromey@redhat.com>
9115
9116 * target.h (struct target_ops) <to_download_tracepoint>: Add
9117 argument.
9118 (target_download_tracepoint): Add argument.
9119 * target.c (update_current_target): Update.
9120 * remote.c (remote_download_tracepoint): Add 'self' argument.
9121
ecae04e1
TT
91222014-02-19 Tom Tromey <tromey@redhat.com>
9123
9124 * target.h (struct target_ops) <to_trace_init>: Add argument.
9125 (target_trace_init): Add argument.
9126 * target.c (update_current_target): Update.
9127 * remote.c (remote_trace_init): Add 'self' argument.
9128
fab5aa7c
TT
91292014-02-19 Tom Tromey <tromey@redhat.com>
9130
9131 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9132 * target.c (target_fileio_readlink): Add argument.
9133 * remote.c (remote_hostio_readlink): Add 'self' argument.
9134 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9135
dbbca37d
TT
91362014-02-19 Tom Tromey <tromey@redhat.com>
9137
9138 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9139 * target.c (target_fileio_unlink): Add argument.
9140 * remote.c (remote_hostio_unlink): Add 'self' argument.
9141 (remote_file_delete): Update.
9142 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9143
df39ea25
TT
91442014-02-19 Tom Tromey <tromey@redhat.com>
9145
9146 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9147 * target.c (target_fileio_close): Add argument.
9148 * remote.c (remote_hostio_close): Add 'self' argument.
9149 (remote_hostio_close_cleanup): Update.
9150 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9151 Update.
9152 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9153
a3be983c
TT
91542014-02-19 Tom Tromey <tromey@redhat.com>
9155
9156 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9157 * target.c (target_fileio_pread): Add argument.
9158 * remote.c (remote_hostio_pread): Add 'self' argument.
9159 (remote_bfd_iovec_pread, remote_file_get): Update.
9160 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9161
0d866f62
TT
91622014-02-19 Tom Tromey <tromey@redhat.com>
9163
9164 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9165 * target.c (target_fileio_pwrite): Add argument.
9166 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9167 (remote_file_put): Update.
9168 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9169
cd897586
TT
91702014-02-19 Tom Tromey <tromey@redhat.com>
9171
9172 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9173 * target.c (target_fileio_open): Add argument.
9174 * remote.c (remote_hostio_open): Add 'self' argument.
9175 (remote_bfd_iovec_open): Add 'self' argument.
9176 (remote_file_put): Add 'self' argument.
9177 (remote_file_get): Add 'self' argument.
9178 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9179
78eff0ec
TT
91802014-02-19 Tom Tromey <tromey@redhat.com>
9181
9182 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9183 Add argument.
9184 (target_can_run_breakpoint_commands): Add argument.
9185 * target.c (update_current_target): Update.
9186 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9187 argument.
9188 (remote_insert_breakpoint): Add 'self' argument.
9189 (remote_insert_hw_breakpoint): Add 'self' argument.
9190 (remote_can_run_breakpoint_commands): Add 'self' argument.
9191
efcc2da7
TT
91922014-02-19 Tom Tromey <tromey@redhat.com>
9193
9194 * target.h (struct target_ops)
9195 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9196 (target_supports_evaluation_of_breakpoint_conditions): Add
9197 argument.
9198 * target.c (update_current_target): Update.
9199 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9200 argument.
9201 (remote_insert_breakpoint): Add 'self' argument.
9202 (remote_insert_hw_breakpoint): Add 'self' argument.
9203 (remote_supports_cond_breakpoints): Add 'self' argument.
9204
6de37a3a
TT
92052014-02-19 Tom Tromey <tromey@redhat.com>
9206
9207 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9208 argument.
9209 (target_supports_string_tracing): Add argument.
9210 * target.c (update_current_target): Update.
9211 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9212
2bfc0540
TT
92132014-02-19 Tom Tromey <tromey@redhat.com>
9214
9215 * target.h (struct target_ops)
9216 <to_supports_disable_randomization>: Add argument.
9217 * target.c (find_default_supports_disable_randomization): Add
9218 argument.
9219 (target_supports_disable_randomization): Add argument.
9220 (find_default_supports_disable_randomization): Add 'self'
9221 argument.
9222 * remote.c (extended_remote_supports_disable_randomization): Add
9223 'self' argument.
9224 (remote_supports_disable_randomization): Add 'self' argument.
9225 (extended_remote_create_inferior): Update.
9226 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9227 'self' argument.
9228
7d178d6a
TT
92292014-02-19 Tom Tromey <tromey@redhat.com>
9230
9231 * target.h (struct target_ops)
9232 <to_supports_enable_disable_tracepoint>: Add argument.
9233 (target_supports_enable_disable_tracepoint): Add argument.
9234 * target.c (update_current_target): Update.
9235 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9236 argument.
9237
86ce2668
TT
92382014-02-19 Tom Tromey <tromey@redhat.com>
9239
9240 * target.h (struct target_ops) <to_supports_multi_process>: Add
9241 argument.
9242 (target_supports_multi_process): Add argument.
9243 * target.c (update_current_target): Update.
9244 * remote.c (remote_supports_multi_process): Add 'self' argument.
9245 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9246 argument.
9247 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9248 argument.
9249
4c612759
TT
92502014-02-19 Tom Tromey <tromey@redhat.com>
9251
9252 * target.h (struct target_ops) <to_execution_direction>: Add
9253 argument.
9254 (target_execution_direction): Add argument.
9255 * target.c (default_execution_direction): Add 'self' argument.
9256 * record-full.c (record_full_execution_direction): Add 'self'
9257 argument.
9258
19db3e69
TT
92592014-02-19 Tom Tromey <tromey@redhat.com>
9260
9261 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9262 argument.
9263 (target_can_execute_reverse): Add argument.
9264 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9265 * record-full.c (record_full_can_execute_reverse): Add 'self'
9266 argument.
9267 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9268 argument.
9269
1e6b91a4
TT
92702014-02-19 Tom Tromey <tromey@redhat.com>
9271
9272 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9273 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9274 argument.
9275 (target_get_ada_task_ptid): Add argument.
9276 * target.c (update_current_target): Update.
9277 (default_get_ada_task_ptid): Add 'self' argument.
9278 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9279 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9280 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9281 argument.
9282 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9283 argument.
9284 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9285 argument.
9286 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9287 argument.
9288 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9289 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9290 argument.
9291
3c80fb48
TT
92922014-02-19 Tom Tromey <tromey@redhat.com>
9293
9294 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9295 (target_goto_bookmark): Add argument.
9296 * target.c (dummy_goto_bookmark): Add 'self' argument.
9297 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9298
dd0e2830
TT
92992014-02-19 Tom Tromey <tromey@redhat.com>
9300
9301 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9302 (target_get_bookmark): Add argument.
9303 * target.c (dummy_get_bookmark): Add 'self' argument.
9304 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9305
fc6691b2
TT
93062014-02-19 Tom Tromey <tromey@redhat.com>
9307
9308 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9309 argument.
9310 (target_make_corefile_notes): Add argument.
9311 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9312 * procfs.c (procfs_make_note_section): Add 'self' argument.
9313 (procfs_make_note_section): Add 'self' argument.
9314 (procfs_make_note_section): Add 'self' argument.
9315 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9316 argument.
9317 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9318 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9319 * exec.c (exec_make_note_section): Add 'self' argument.
9320 (exec_make_note_section): Add 'self' argument.
9321
2e73927c
TT
93222014-02-19 Tom Tromey <tromey@redhat.com>
9323
9324 * target.h (struct target_ops) <to_find_memory_regions>: Add
9325 argument.
9326 (target_find_memory_regions): Add argument.
9327 * target.c (dummy_find_memory_regions): Add 'self' argument.
9328 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9329 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9330 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9331 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9332 * exec. (exec_do_find_memory_regions): New global.
9333 (exec_set_find_memory_regions): Rewrite.
9334 (exec_find_memory_regions): New function.
9335 (init_exec_ops): Use exec_find_memory_regions.
9336
2a9a2795
TT
93372014-02-19 Tom Tromey <tromey@redhat.com>
9338
9339 * target.h (struct target_ops) <to_supports_non_stop>: Add
9340 argument.
9341 * target.c (find_default_supports_non_stop): Add argument.
9342 (target_supports_non_stop): Add argument.
9343 (find_default_supports_non_stop): Add 'self' argument.
9344 * remote.c (remote_supports_non_stop): Add 'self' argument.
9345 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9346
4ab76ea3
TT
93472014-02-19 Tom Tromey <tromey@redhat.com>
9348
9349 * target.h (struct target_ops) <to_log_command>: Add argument.
9350 (target_log_command): Add argument.
9351 * serial.h (serial_log_command): Add 'self' argument.
9352 * serial.c (serial_log_command): Add 'self' argument.
9353
8dd27370
TT
93542014-02-19 Tom Tromey <tromey@redhat.com>
9355
9356 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9357 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9358 argument.
9359 (target_pid_to_exec_file): Add argument.
9360 * target.c (debug_to_pid_to_exec_file): Add argument.
9361 (update_current_target): Update.
9362 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9363 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9364 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9365 (linux_handle_extended_wait): Update.
9366 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9367 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9368 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9369 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9370
1aac633b
TT
93712014-02-19 Tom Tromey <tromey@redhat.com>
9372
9373 * target.h (struct target_ops) <to_rcmd>: Add argument.
9374 (target_rcmd): Add argument.
9375 * target.c (debug_to_rcmd): Add argument.
9376 (update_current_target, do_monitor_command): Update.
9377 * remote.c (remote_rcmd): Add 'self' argument.
9378 * monitor.c (monitor_rcmd): Add 'self' argument.
9379
1eab8a48
TT
93802014-02-19 Tom Tromey <tromey@redhat.com>
9381
9382 * windows-nat.c (windows_stop): Add 'self' argument.
9383 * target.h (struct target_ops) <to_stop>: Add argument.
9384 * target.c (target_stop): Add argument.
9385 (debug_to_stop): Add argument.
9386 (update_current_target): Update.
9387 * remote.c (remote_stop): Add 'self' argument.
9388 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9389 (gdbsim_cntrl_c): Update.
9390 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9391 * procfs.c (procfs_stop): Add 'self' argument.
9392 * nto-procfs.c (procfs_stop): Add 'self' argument.
9393 * monitor.c (monitor_stop): Add 'self' argument.
9394 (monitor_open): Update.
9395 * linux-nat.c (linux_nat_stop): Add argument.
9396 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9397 * gnu-nat.c (gnu_stop): Add 'self' argument.
9398 * darwin-nat.c (darwin_stop): Add 'self' argument.
9399
503a628d
TT
94002014-02-19 Tom Tromey <tromey@redhat.com>
9401
9402 * target.h (struct target_ops) <to_thread_name>: Add argument.
9403 * target.c (target_thread_name): Add argument.
9404 (update_current_target): Update.
9405 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9406
c15906d8
TT
94072014-02-19 Tom Tromey <tromey@redhat.com>
9408
9409 * target.h (struct target_ops) <to_extra_thread_info>: Add
9410 argument.
9411 (target_extra_thread_info): Add argument.
9412 * target.c (update_current_target): Update.
9413 * remote.c (remote_threads_extra_info): Add 'self' argument.
9414 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9415 argument.
9416 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9417 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9418 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9419 argument.
9420 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9421 argument.
9422 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9423 argument.
9424 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9425 argument.
9426
daf5e9b6
TT
94272014-02-19 Tom Tromey <tromey@redhat.com>
9428
9429 * target.h (struct target_ops) <to_program_signals>: Add argument.
9430 * target.c (target_program_signals): Add argument.
9431 * remote.c (remote_program_signals): Add 'self' argument.
9432
94bedb42
TT
94332014-02-19 Tom Tromey <tromey@redhat.com>
9434
9435 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9436 * target.c (target_pass_signals): Add argument.
9437 * remote.c (remote_pass_signals): Add 'self' argument.
9438 (remote_start_remote): Update.
9439 * procfs.c (procfs_pass_signals): Add 'self' argument.
9440 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9441 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9442 (linux_nat_create_inferior, linux_nat_attach): Update.
9443
da82bd6b
TT
94442014-02-19 Tom Tromey <tromey@redhat.com>
9445
9446 * windows-nat.c (windows_can_run): Add 'self' argument.
9447 * target.h (struct target_ops) <to_can_run>: Add argument.
9448 (target_can_run): Add argument.
9449 * target.c (debug_to_can_run): Add argument.
9450 (update_current_target): Update.
9451 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9452 * inf-child.c (inf_child_can_run): Add 'self' argument.
9453 * go32-nat.c (go32_can_run): Add 'self' argument.
9454
d796e1d6
TT
94552014-02-19 Tom Tromey <tromey@redhat.com>
9456
9457 * target.h (struct target_ops) <to_has_exited>: Add argument.
9458 (target_has_exited): Add argument.
9459 * target.c (debug_to_has_exited): Add argument.
9460 (update_current_target): Update.
9461
ff214e67
TT
94622014-02-19 Tom Tromey <tromey@redhat.com>
9463
9464 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9465 argument.
9466 (target_set_syscall_catchpoint): Add argument.
9467 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9468 argument.
9469 * target.c (update_current_target): Update.
9470
758e29d2
TT
94712014-02-19 Tom Tromey <tromey@redhat.com>
9472
9473 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9474 argument.
9475 (target_remove_exec_catchpoint): Add argument.
9476 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9477 (update_current_target): Update.
9478 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9479 argument.
9480
ba025e51
TT
94812014-02-19 Tom Tromey <tromey@redhat.com>
9482
9483 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9484 argument.
9485 (target_insert_exec_catchpoint): Add argument.
9486 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9487 (update_current_target): Update.
9488 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9489 argument.
9490
e98cf0cd
TT
94912014-02-19 Tom Tromey <tromey@redhat.com>
9492
9493 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9494 argument.
9495 (target_remove_vfork_catchpoint): Add argument.
9496 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9497 (update_current_target): Update.
9498 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9499 argument.
9500
3ecc7da0
TT
95012014-02-19 Tom Tromey <tromey@redhat.com>
9502
9503 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9504 argument.
9505 (target_insert_vfork_catchpoint): Add argument.
9506 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9507 (update_current_target): Update.
9508 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9509 argument.
9510
973fc227
TT
95112014-02-19 Tom Tromey <tromey@redhat.com>
9512
9513 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9514 argument.
9515 (target_remove_fork_catchpoint): Add argument.
9516 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9517 (update_current_target): Update.
9518 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9519 argument.
9520
a863b201
TT
95212014-02-19 Tom Tromey <tromey@redhat.com>
9522
9523 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9524 argument.
9525 (target_insert_fork_catchpoint): Add argument.
9526 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9527 (update_current_target): Update.
9528 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9529 argument.
9530
2e97a79e
TT
95312014-02-19 Tom Tromey <tromey@redhat.com>
9532
9533 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9534 argument.
9535 (target_post_startup_inferior): Add argument.
9536 * target.c (debug_to_post_startup_inferior): Add argument.
9537 (update_current_target): Update.
9538 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9539 argument.
9540 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9541 argument.
9542 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9543 argument.
9544 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9545 argument.
9546 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9547 'self' argument.
9548 (super_post_startup_inferior): Likewise.
9549 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9550 'self' argument.
9551 (super_post_startup_inferior): Likewise.
9552 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9553 Add 'self' argument.
9554 (super_post_startup_inferior): Likewise.
9555
71a9f134
TT
95562014-02-19 Tom Tromey <tromey@redhat.com>
9557
9558 * target.h (struct target_ops) <to_load>: Add argument.
9559 * target.c (target_load): Add argument.
9560 (debug_to_load): Add argument.
9561 (update_current_target): Update.
9562 * remote.c (remote_load): Add 'self' argument.
9563 * remote-sim.c (gdbsim_load): Add 'self' argument.
9564 * remote-mips.c (mips_load): Add 'self' argument.
9565 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9566 * monitor.c (monitor_load): Add 'self' argument.
9567 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9568
0a4f40a2
TT
95692014-02-19 Tom Tromey <tromey@redhat.com>
9570
9571 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9572 (target_terminal_info): Add argument.
9573 * target.c (debug_to_terminal_info): Add argument.
9574 (default_terminal_info): Likewise.
9575 * inflow.c (child_terminal_info): Add 'self' argument.
9576 * inferior.h (child_terminal_info): Add 'self' argument.
9577 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9578
ae3bd431
TT
95792014-02-19 Tom Tromey <tromey@redhat.com>
9580
9581 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9582 argument.
9583 (target_terminal_save_ours): Add argument.
9584 * target.c (debug_to_terminal_save_ours): Add argument.
9585 (update_current_target): Update.
9586 * inflow.c (terminal_save_ours): Add 'self' argument.
9587 * inferior.h (terminal_save_ours): Add 'self' argument.
9588
e3594fd1
TT
95892014-02-19 Tom Tromey <tromey@redhat.com>
9590
9591 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9592 (target_terminal_ours): Add argument.
9593 * target.c (debug_to_terminal_ours): Add argument.
9594 (update_current_target): Update.
9595 * remote.c (remote_terminal_ours): Add 'self' argument.
9596 (remote_close): Update.
9597 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9598 * inflow.c (terminal_ours): Add 'self' argument.
9599 * inferior.h (terminal_ours): Add 'self' argument.
9600 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9601
2e1e1a19
TT
96022014-02-19 Pedro Alves <palves@redhat.com>
9603 Tom Tromey <tromey@redhat.com>
9604
9605 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9606 argument.
9607 (target_terminal_ours_for_output): Add argument.
9608 * target.c (debug_to_terminal_ours_for_output): Add argument.
9609 (update_current_target): Update.
9610 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9611 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9612 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9613
d2f640d4
TT
96142014-02-19 Tom Tromey <tromey@redhat.com>
9615
9616 * target.h (struct target_ops) <to_terminal_inferior>: Add
9617 argument.
9618 * target.c (target_terminal_inferior): Add argument.
9619 (update_current_target): Update.
9620 * remote.c (remote_terminal_inferior): Add 'self' argument.
9621 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9622 * inflow.c (terminal_inferior): Add 'self' argument.
9623 * inferior.h (terminal_inferior): Add 'self' argument.
9624 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9625 (go32_terminal_inferior): Add 'self' argument.
9626
c42bf286
TT
96272014-02-19 Tom Tromey <tromey@redhat.com>
9628
9629 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9630 (target_terminal_init): Add argument.
9631 * target.c (debug_to_terminal_init): Add argument.
9632 (update_current_target): Update.
9633 * inflow.c (terminal_init_inferior): Add 'self' argument.
9634 * inferior.h (terminal_init_inferior): Add 'self' argument.
9635 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9636 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9637
c3a5ff89
TT
96382014-02-19 Tom Tromey <tromey@redhat.com>
9639
9640 * target.h (struct target_ops)
9641 <to_can_accel_watchpoint_condition>: Add argument.
9642 (target_can_accel_watchpoint_condition): Add argument.
9643 * target.c (debug_to_can_accel_watchpoint_condition): Add
9644 argument.
9645 (update_current_target): Update.
9646 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9647 'self' argument.
9648
31568a15
TT
96492014-02-19 Tom Tromey <tromey@redhat.com>
9650
9651 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9652 Add argument.
9653 (target_region_ok_for_hw_watchpoint): Add argument.
9654 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9655 (default_region_ok_for_hw_watchpoint): Add argument.
9656 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9657 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9658 argument.
9659 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9660 argument.
9661 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9662 argument.
9663 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9664 'self' argument.
9665 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9666 'self' argument.
9667 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9668 'self' argument.
9669 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9670 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9671 'self' argument.
9672 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9673 Add 'self' argument.
9674
7bb99c53
TT
96752014-02-19 Tom Tromey <tromey@redhat.com>
9676
9677 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9678 argument.
9679 (target_insert_watchpoint): Add argument.
9680 * target.c (debug_to_insert_watchpoint): Add argument.
9681 (update_current_target): Update.
9682 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9683 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9684 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9685 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9686 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9687 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9688 argument.
9689 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9690 (procfs_insert_hw_watchpoint): Add 'self' argument.
9691 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9692 argument.
9693 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9694 argument.
9695 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9696 argument.
9697 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9698 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9699 argument.
9700 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9701 'self' argument.
9702
11b5219a
TT
97032014-02-19 Tom Tromey <tromey@redhat.com>
9704
9705 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9706 argument.
9707 (target_remove_watchpoint): Add argument.
9708 * target.c (debug_to_remove_watchpoint): Add argument.
9709 (update_current_target): Update.
9710 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9711 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9712 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9713 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9714 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9715 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9716 argument.
9717 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9718 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9719 argument.
9720 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9721 argument.
9722 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9723 argument.
9724 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9725 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9726 argument.
9727 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9728 'self' argument.
9729
a64dc96c
TT
97302014-02-19 Tom Tromey <tromey@redhat.com>
9731
9732 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9733 argument.
9734 (target_remove_hw_breakpoint): Add argument.
9735 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9736 (update_current_target): Update.
9737 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9738 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9739 argument.
9740 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9741 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9742 argument.
9743 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9744 'self' argument.
9745
23a26771
TT
97462014-02-19 Tom Tromey <tromey@redhat.com>
9747
9748 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9749 argument.
9750 (target_insert_hw_breakpoint): Add argument.
9751 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9752 (update_current_target): Update.
9753 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9754 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9755 argument.
9756 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9757 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9758 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9759 argument.
9760 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9761 'self' argument.
9762
5461485a
TT
97632014-02-19 Tom Tromey <tromey@redhat.com>
9764
9765 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9766 argument.
9767 (target_can_use_hardware_watchpoint): Add argument.
9768 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9769 (update_current_target): Update.
9770 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9771 argument.
9772 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9773 argument.
9774 * remote.c (remote_check_watch_resources): Add 'self' argument.
9775 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9776 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9777 argument.
9778 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9779 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9780 argument.
9781 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9782 argument.
9783 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9784 argument.
9785 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9786 argument.
9787 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9788 argument.
9789 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9790 argument.
9791 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9792 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9793 argument.
9794 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9795 'self' argument.
9796
f045800c
TT
97972014-02-19 Tom Tromey <tromey@redhat.com>
9798
9799 * target.h (struct target_ops) <to_post_attach>: Add argument.
9800 (target_post_attach): Add argument.
9801 * target.c (debug_to_post_attach): Add argument.
9802 (update_current_target): Update.
9803 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9804 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9805 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9806 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9807 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9808
de90e03d
TT
98092014-02-19 Tom Tromey <tromey@redhat.com>
9810
9811 * windows-nat.c (windows_close): Add 'self' argument.
9812 * tracepoint.c (tfile_close): Add 'self' argument.
9813 * target.h (struct target_ops) <to_close>: Add argument.
9814 * target.c (target_close): Add argument.
9815 (update_current_target): Update.
9816 * remote.c (remote_close): Add 'self' argument.
9817 * remote-sim.c (gdbsim_close): Add 'self' argument.
9818 * remote-mips.c (mips_close): Add 'self' argument.
9819 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9820 * record-full.c (record_full_close): Add 'self' argument.
9821 * record-btrace.c (record_btrace_close): Add 'self' argument.
9822 * monitor.h (monitor_close): Add 'self' argument.
9823 * monitor.c (monitor_close): Add 'self' argument.
9824 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9825 * linux-nat.c (linux_nat_close): Add argument.
9826 * go32-nat.c (go32_close): Add 'self' argument.
9827 * exec.c (exec_close_1): Add 'self' argument.
9828 * ctf.c (ctf_close): Add 'self' argument.
9829 * corelow.c (core_close): Add 'self' argument.
9830 (core_close_cleanup): Update.
9831 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9832 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9833
9dd130a0
TT
98342014-02-19 Tom Tromey <tromey@redhat.com>
9835
9836 * remote.c (remote_load): New function.
9837 (init_remote_ops): Use it.
9838
46917d26
TT
98392014-02-19 Tom Tromey <tromey@redhat.com>
9840
9841 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9842 argument.
9843 * common/linux-btrace.h (linux_supports_btrace): Update.
9844 * remote.c (remote_supports_btrace): Add "self" argument.
9845 * target-delegates.c: Rebuild.
9846 * target.c (target_supports_btrace): Remove.
9847 * target.h (struct target_ops) <to_supports_btrace>: Add
9848 target_ops argument.
9849 (target_supports_btrace): New define.
9850
6b84065d
TT
98512014-02-19 Tom Tromey <tromey@redhat.com>
9852
9853 * record-full.c (record_full_beneath_to_resume_ops)
9854 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9855 (record_full_beneath_to_wait)
9856 (record_full_beneath_to_store_registers_ops)
9857 (record_full_beneath_to_store_registers)
9858 (record_full_beneath_to_xfer_partial_ops)
9859 (record_full_beneath_to_xfer_partial)
9860 (record_full_beneath_to_insert_breakpoint_ops)
9861 (record_full_beneath_to_insert_breakpoint)
9862 (record_full_beneath_to_remove_breakpoint_ops)
9863 (record_full_beneath_to_remove_breakpoint)
9864 (record_full_beneath_to_stopped_by_watchpoint)
9865 (record_full_beneath_to_stopped_data_address)
9866 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9867 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9868 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9869 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9870 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9871 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9872 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9873 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9874 (record_full_resume, record_full_wait_1)
9875 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9876 (record_full_store_registers, record_full_xfer_partial)
9877 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9878 (record_full_async, record_full_core_xfer_partial): Use target
9879 delegation.
9880 * target-delegates.c: Rebuild.
9881 * target.c (current_xfer_partial): Remove.
9882 (update_current_target): Do not INHERIT or de_fault
9883 to_insert_breakpoint, to_remove_breakpoint,
9884 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9885 to_is_async_p, to_async. Do not set to_xfer_partial field.
9886 (default_xfer_partial): Simplify.
9887 (current_xfer_partial): Remove.
9888 (target_wait, target_resume): Simplify.
9889 (find_default_can_async_p, find_default_is_async_p): Update.
9890 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9891 to_xfer_partial, to_stopped_by_watchpoint,
9892 to_stopped_data_address.
9893 (target_store_registers): Simplify.
9894 (forward_target_remove_breakpoint)
9895 (forward_target_insert_breakpoint): Remove.
9896 (target_remove_breakpoint, target_insert_breakpoint)
9897 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9898 * target.h (struct target_ops) <to_resume, to_wait,
9899 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9900 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9901 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9902 markup.
9903 (forward_target_remove_breakpoint)
9904 (forward_target_insert_breakpoint): Remove.
9905 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9906 directly.
9907 (record_btrace_insert_breakpoint): Delegate directly.
9908
1101cb7b
TT
99092014-02-19 Tom Tromey <tromey@redhat.com>
9910
9911 PR build/7701:
9912 * target-delegates.c: New file.
9913 * target.c: Include target-delegates.c.
9914 (init_dummy_target): Call install_dummy_methods.
9915 (complete_target_initialization): Call install_delegators.
9916 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9917 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9918 * make-target-delegates: New file.
9919
8b06beed
TT
99202014-02-19 Tom Tromey <tromey@redhat.com>
9921
9922 * record.c (find_record_target): Use find_target_at.
9923 * target.c (find_target_at): New function.
9924 * target.h (find_target_at): Declare.
9925
6a109b6b
TT
99262014-02-19 Tom Tromey <tromey@redhat.com>
9927
9928 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9929 Add 'ops' argument.
9930 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9931 'ops' argument.
9932 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9933 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9934 'ops' argument.
9935 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9936 argument.
9937 * linux-nat.c (save_sigtrap): Update.
9938 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9939 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9940 (linux_nat_close): Update.
9941 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9942 argument.
9943 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9944 argument.
9945 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9946 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9947 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9948 (tmp_to_async): Add 'ops' argument.
9949 (record_full_stopped_by_watchpoint, record_full_async)
9950 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9951 argument.
9952 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9953 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9954 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9955 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9956 (remote_is_async_p, remote_async): Add 'ops' argument.
9957 (remote_stopped_data_address): Update.
9958 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9959 * target.c (update_current_target)
9960 (find_default_can_async_p, find_default_is_async_p): Update.
9961 (init_dummy_target): Update.
9962 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9963 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9964 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9965 (target_can_async_p, target_is_async_p, target_async)
9966 (target_stopped_by_watchpoint): Update.
9967
e095146b
YQ
99682014-02-19 Yao Qi <yao@codesourcery.com>
9969
9970 PR gdb/16220
9971 * gdbarch.sh: Remove startup_gdbarch.
9972 * gdbarch.c: Regenerated.
9973 * gdbarch.h: Likewise.
9974
bc3c6b36
KB
99752014-02-17 Kevin Buettner <kevinb@redhat.com>
9976
9977 * rl78-tdep.c (rl78_g10_register_name): New function.
9978 (rl78_return_value): Add g10 support.
9979 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9980 g10.
9981
98dc0167 99822014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
9983
9984 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9985 (SUBDIR_GUILE_SRCS): Ditto.
9986 (scm-gsmob.o): Ditto.
9987
842c05cd
YQ
99882014-02-17 Yao Qi <yao@codesourcery.com>
9989
9990 * gnu-nat.c (ILL_RPC): Declare defined function.
9991
25c0bd04
YQ
99922014-02-17 Yao Qi <yao@codesourcery.com>
9993
9994 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9995 mach_msg_type_number_t.
9996 (gnu_write_inferior): Likewise.
9997
a9a758e3
YQ
99982014-02-17 Yao Qi <yao@codesourcery.com>
9999
10000 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10001 in format string.
10002 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10003 (inf_validate_procs, inf_signal): Likewise.
10004 (S_exception_raise_request): Likewise.
10005 (do_mach_notify_dead_name): Likewise.
10006 (steal_exc_port): Likewise.
10007 (gnu_read_inferior): Change 'copy_count''s type to
10008 mach_msg_type_number_t.
10009 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10010 format string.
10011
bae8023e
TS
100122014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10013
c82f56d9
TS
10014 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10015 flag. Adjust all users; in particular...
10016 (gnu_wait): ..., don't decrement its value in here...
10017 (gnu_create_inferior): ..., and instead set the flag in here,
10018 around the startup_inferior call, and call that one with
10019 START_INFERIOR_TRAPS_EXPECTED.
10020
3398af6a
TS
10021 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10022 (ILL_RPC): ... new macro.
10023 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10024 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10025 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10026 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10027 functions with ILL_RPC macro.
10028 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10029 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10030 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10031 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10032 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10033 (S_proc_getlogin_reply, S_proc_getsid_reply)
10034 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10035 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10036 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10037 (S_proc_getnports_reply, S_proc_is_important_reply)
10038 (S_proc_get_code_reply): New stub functions, generated with
10039 ILL_RPC macro.
10040
d47642c9
TS
10041 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10042 collected the type check structures.
10043
bae8023e
TS
10044 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10045
8a55ffb0
DE
100462014-02-14 Doug Evans <dje@google.com>
10047
10048 * target.c (target_write_partial): Fix result type.
10049
c2853f3d
JM
100502014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10051
10052 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10053 the proper offsets to access fpregset_t.
10054
ac61d2db
SA
100552014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10056
10057 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10058 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10059 * h8300-tdep.c (setmachinelist): Remove global.
10060 * hppa-tdep.c (hppa_sigtramp): Remove global.
10061 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10062 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10063 * ravenscar-thread.c (update_target_observer): Remove global.
10064 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10065
9d2d0b8b
TT
100662014-02-12 Tom Tromey <tromey@redhat.com>
10067
10068 * common/rsp-low.c: Update comments.
10069 * common/rsp-low.h: Update comments.
10070
a7191e8b
TT
100712014-02-12 Tom Tromey <tromey@redhat.com>
10072
10073 * common/rsp-low.c (convert_ascii_to_int): Remove.
10074 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10075
ff0e980e
TT
100762014-02-12 Tom Tromey <tromey@redhat.com>
10077
10078 * common/rsp-low.h (unhexify): Don't declare.
10079 * common/rsp-low.c (unhexify): Remove.
10080
e9371aff
TT
100812014-02-12 Tom Tromey <tromey@redhat.com>
10082
10083 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10084 * common/rsp-low.c (convert_int_to_ascii): Remove.
10085
971dc0b8
TT
100862014-02-12 Tom Tromey <tromey@redhat.com>
10087
10088 * common/rsp-low.h (hexify): Don't declare.
10089 * common/rsp-low.c (hexify): Remove.
10090
0a822afb
TT
100912014-02-12 Tom Tromey <tromey@redhat.com>
10092
10093 * common/rsp-low.c (hexify): Never take strlen of argument.
10094
9f1b45b0
TT
100952014-02-12 Tom Tromey <tromey@redhat.com>
10096
10097 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10098 * remote.c (extended_remote_run, remote_rcmd)
10099 (remote_download_trace_state_variable, remote_save_trace_data)
10100 (remote_set_trace_notes): Update.
10101 * tracepoint.c (encode_source_string, tfile_write_status)
10102 (tfile_write_uploaded_tsv): Update.
10103
9c3d6531
TT
101042014-02-12 Tom Tromey <tromey@redhat.com>
10105
10106 * tracepoint.c: Include rsp-low.h.
10107 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10108 * remote.c: Include rsp-low.h.
10109 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10110 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10111 (remote_unescape_input): Move to common/rsp-low.c.
10112 * common/rsp-low.h: New file.
10113 * common/rsp-low.c: New file.
10114 * Makefile.in (SFILES): Add common/rsp-low.c.
10115 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10116 (COMMON_OBS): Add rsp-low.o.
10117 (rsp-low.o): New target.
10118
01fd3ea5
TT
101192014-02-12 Tom Tromey <tromey@redhat.com>
10120
10121 * utils.h: Include print-utils.h.
10122 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10123 (int_string, core_addr_to_string, core_addr_to_string_nz)
10124 (hex_string, hex_string_custom): Don't declare.
10125 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10126 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10127 (hex_string_custom, int_string, core_addr_to_string)
10128 (core_addr_to_string_nz, host_address_to_string): Move to
10129 common/print-utils.c.
10130 * common/print-utils.h: New file.
10131 * common/print-utils.c: New file
10132 * Makefile.in (SFILES): Add common/print-utils.c.
10133 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10134 (COMMON_OBS): Add print-utils.o.
10135 (print-utils.o): New target.
10136
9fb50108
TT
101372014-02-12 Tom Tromey <tromey@redhat.com>
10138
10139 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10140
0548b5db
MK
101412014-02-12 Mark Kettenis <kettenis@gnu.org>
10142
10143 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10144
493443a4
MK
101452014-02-12 Mark Kettenis <kettenis@gnu.org>
10146
10147 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10148 if a PT_IO ptrace request returns sucessfully but indicates that 0
10149 bytes were transferred.
10150
706d0883
PA
101512014-02-12 Pedro Alves <palves@redhat.com>
10152 Kevin Buettner <kevinb@redhat.com>
10153
10154 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10155 TYPE_INSTANCE_FLAG_CODE_SPACE.
10156
5caa2f0b
PA
101572014-02-12 Pedro Alves <palves@redhat.com>
10158
10159 * h8300-tdep.c (pseudo_from_raw_register)
10160 (raw_from_pseudo_register): New functions.
10161 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10162 them.
10163
76fd5f74
PA
101642014-02-12 Pedro Alves <palves@redhat.com>
10165
10166 * h8300-tdep.c (h8300_register_sim_regno): New function.
10167 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10168 gdbarch_register_sim_regno hook.
10169
8f008406
SA
101702014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10171
10172 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10173
195abc10
SA
101742014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10175
10176 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10177
93ffa5b9
MK
101782014-02-12 Mark Kettenis <kettenis@gnu.org>
10179
10180 * obsd-tdep.h (obsd_init_abi): New prototype.
10181 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10182 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10183 (obsd_init_abi): New functions.
10184 * i386obsd-tdep.c: Include "obsd-tdep.h".
10185 (i386obsd_init_abi): Call obsd_init_abi.
10186 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10187 (amd64obsd_init_abi): Call obsd_init_abi.
10188 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10189 obsd-tdep.c to gdb_target_obs.
10190
49caec94
JM
101912014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10192
10193 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10194 double float arguments to 16-byte in the argument slots.
10195
e1402065
DE
101962014-02-11 Doug Evans <xdje42@gmail.com>
10197
10198 * configure.ac: Don't crash if pkg-config is not found and guile
10199 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10200 in guile checks.
10201 * configure: Regenerate.
10202
edcc890f
YQ
102032014-02-11 Yao Qi <yao@codesourcery.com>
10204
10205 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10206 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10207 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10208 * gnu-nat.c (gnu_xfer_memory): Likewise.
10209 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10210 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10211 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10212 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10213
9b409511
YQ
102142014-02-11 Yao Qi <yao@codesourcery.com>
10215
10216 * target.h (enum target_xfer_error): Rename to ...
10217 (enum target_xfer_status): ... it. New. All users updated.
10218 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10219 New.
10220 (TARGET_XFER_STATUS_ERROR_P): New macro.
10221 (target_xfer_error_to_string): Remove declaration.
10222 (target_xfer_status_to_string): Declare.
10223 (target_xfer_partial_ftype): Adjust it.
10224 (struct target_ops) <to_xfer_partial>: Return
10225 target_xfer_status. Add argument xfered_len. Update
10226 comments.
10227 * target.c (target_xfer_error_to_string): Rename to ...
10228 (target_xfer_status_to_string): ... it. New. All callers
10229 updated.
10230 (target_read_live_memory): Likewise. Call target_xfer_partial
10231 instead of target_read.
10232 (memory_xfer_live_readonly_partial): Return
10233 target_xfer_status. Add argument xfered_len.
10234 (raw_memory_xfer_partial): Likewise.
10235 (memory_xfer_partial_1): Likewise.
10236 (memory_xfer_partial): Likewise.
10237 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10238 properly. Update debug message.
10239 (default_xfer_partial, current_xfer_partial): Likewise.
10240 (target_write_partial): Likewise.
10241 (target_read_partial): Likewise. All callers updated.
10242 (read_whatever_is_readable): Likewise.
10243 (target_write_with_progress): Likewise.
10244 (target_read_alloc_1): Likewise.
10245
10246 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10247 * auxv.c (procfs_xfer_auxv): Likewise.
10248 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10249 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10250 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10251 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10252 * corefile.c (read_memory): Adjust.
10253 * corelow.c (core_xfer_partial): Likewise.
10254 * ctf.c (ctf_xfer_partial): Likewise.
10255 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10256 updated.
10257 (darwin_xfer_partial): Likewise.
10258 * exec.c (section_table_xfer_memory_partial): Likewise. All
10259 callers updated.
10260 (exec_xfer_partial): Likewise.
10261 * exec.h (section_table_xfer_memory_partial): Update
10262 declaration.
10263 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10264 negative.
10265 (gnu_xfer_partial): Likewise.
10266 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10267 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10268 (ia64_hpux_xfer_solib_got): Likewise.
10269 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10270 type of 'partial_len' to ULONGEST.
10271 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10272 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10273 (linux_nat_xfer_partial): Likewise.
10274 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10275 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10276 * monitor.c (monitor_xfer_memory): Likewise.
10277 (monitor_xfer_partial): Likewise.
10278 * procfs.c (procfs_xfer_partial): Likewise.
10279 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10280 * record-full.c (record_full_xfer_partial): Likewise.
10281 (record_full_core_xfer_partial): Likewise.
10282 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10283 (gdbsim_xfer_partial): Likewise.
10284 * remote.c (remote_write_bytes_aux): Likewise. All callers
10285 updated.
10286 (remote_write_bytes, remote_read_bytes): Likewise. All
10287 callers updated.
10288 (remote_flash_erase): Likewise. All callers updated.
10289 (remote_write_qxfer): Likewise. All callers updated.
10290 (remote_read_qxfer): Likewise. All callers updated.
10291 (remote_xfer_partial): Likewise.
10292 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10293 (rs6000_xfer_shared_libraries): Likewise.
10294 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10295 (sol_thread_xfer_partial): Likewise.
10296 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10297 (sparc_xfer_partial): Likewise.
10298 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10299 updated.
10300 (spu_xfer_partial): Likewise.
10301 * spu-multiarch.c (spu_xfer_partial): Likewise.
10302 * tracepoint.c (tfile_xfer_partial): Likewise.
10303 * windows-nat.c (windows_xfer_memory): Likewise.
10304 (windows_xfer_shared_libraries): Likewise.
10305 (windows_xfer_partial): Likewise.
10306 * valprint.c: Replace 'target_xfer_error' with
10307 'target_xfer_status' in comments.
10308
a8e63083
JB
103092014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10310
10311 Checked in by Joel Brobecker <brobecker@adacore.com>.
10312 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10313
e86b67d3
JB
103142014-02-11 Joel Brobecker <brobecker@adacore.com>
10315
10316 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10317 function parameters.
10318
4b7d1f7f
WN
103192014-02-10 Will Newton <will.newton@linaro.org>
10320
10321 * elfread.c (elf_rel_plt_read): Look for a .got section if
10322 looking up .got.plt fails.
10323 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10324 on address passed to elf_gnu_ifunc_record_cache.
10325 (elf_gnu_ifunc_resolve_addr): Likewise.
10326 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10327
961842b2
JM
103282014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10329
10330 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10331 (X_RETTURN): New macro.
10332 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10333
10334 * sparc64-tdep.c (sparc64_init_abi): Hook
10335 sparc_in_function_epilogue_p.
10336
3f03e7b1
GB
103372014-02-10 Gary Benson <gbenson@redhat.com>
10338
10339 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10340 Rename name_matcher to symbol_matcher.
10341
96f861ef
GB
103422014-02-10 Gary Benson <gbenson@redhat.com>
10343
10344 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10345 Use expand_symtabs_file_matcher_ftype and
10346 expand_symtabs_symbol_matcher_ftype.
10347
ee01b665
JB
103482014-02-10 Joel Brobecker <brobecker@adacore.com>
10349
10350 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10351 (struct ada_symbol_cache): New.
10352 (ada_free_symbol_cache): Forward declare.
10353 (struct ada_pspace_data): New.
10354 (ada_pspace_data_handle): New static global.
10355 (get_ada_pspace_data, ada_pspace_data_cleanup)
10356 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10357 (cache_space, cache): Delete, now folded inside struct
10358 ada_pspace_data.
10359 (ada_get_symbol_cache): New function.
10360 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10361 implementation.
10362 (_initialize_ada_language): Remove initialization of cache_space.
10363 Move call to observer_attach_inferior_exit up, grouping it
10364 with the other observer registrations inside this function.
10365 Rename command to be more general. Add call to
10366 register_program_space_data_with_cleanup.
10367
143adbbf
JB
103682014-02-10 Joel Brobecker <brobecker@adacore.com>
10369
10370 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10371 ada_new_objfile_observer.
10372 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10373 (_initialize_tasks): Update uses of ada_new_objfile_observer
10374 and ada_tasks_normal_stop_observer.
10375
aa4fb036
JB
103762014-02-10 Joel Brobecker <brobecker@adacore.com>
10377
10378 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10379 returned by the 'Length attribute to integer.
10380
9dee8cc6
JB
103812014-02-10 Joel Brobecker <brobecker@adacore.com>
10382
10383 * ada-lang.c (_initialize_ada_language): Initialize
10384 cache_space obstack.
10385
3d9434b5
JB
103862014-02-10 Joel Brobecker <brobecker@adacore.com>
10387
10388 * ada-lang.c (HASH_SIZE): New macro.
10389 (struct cache_entry): New type.
10390 (cache_space, cache): New static globals.
10391 (ada_clear_symbol_cache, find_entry): New functions.
10392 (lookup_cached_symbol, cache_symbol): Implement.
10393 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10394 (_initialize_ada_language): Attach ada_new_objfile_observer
10395 and ada_free_objfile_observer.
10396
f0c5f9b2
JB
103972014-02-10 Joel Brobecker <brobecker@adacore.com>
10398
10399 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10400 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10401 struct block * parameter.
10402 (ada_lookup_symbol_list_worker): Constify local variable "block".
10403 Remove cast which is no longer necessary.
10404
ed3ef339
DE
104052014-02-10 Doug Evans <xdje42@gmail.com>
10406
10407 Add Guile as an extension language.
10408 * NEWS: Mention Guile scripting.
10409 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10410 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10411 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10412 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10413 (CLIBS): Add GUILE_LIBS.
10414 (install-guile): New rule.
10415 (guile.o): New rule.
10416 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10417 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10418 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10419 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10420 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10421 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10422 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10423 * configure.ac: New option --with-guile.
10424 * configure: Regenerate.
10425 * config.in: Regenerate.
10426 * auto-load.c: Remove #include "python/python.h". Add #include
10427 "gdb/section-scripts.h".
10428 (source_section_scripts): Handle Guile scripts.
10429 (_initialize_auto_load): Add name of Guile objfile script to
10430 scripts-directory help text.
10431 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10432 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10433 (struct breakpoint): New member scm_bp_object.
10434 * defs.h (enum command_control_type): New value guile_control.
10435 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10436 "extension.h".
10437 (show_user): Update comment.
10438 (_initialize_cli_cmds): Update help text for "show user". Update help
10439 text for max-user-call-depth.
10440 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10441 "extension.h".
10442 (multi_line_command_p): Add guile_control.
10443 (print_command_lines): Handle guile_control.
10444 (execute_control_command, recurse_read_control_structure): Ditto.
10445 (process_next_line): Recognize "guile" commands.
10446 * disasm.c (gdb_disassemble_info): Make non-static.
10447 * disasm.h: #include "dis-asm.h".
10448 (struct gdbarch): Add forward decl.
10449 (gdb_disassemble_info): Declare.
10450 * extension.c: #include "guile/guile.h".
10451 (extension_languages): Add guile.
10452 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10453 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10454 * gdbtypes.c (get_unsigned_type_max): New function.
10455 (get_signed_type_minmax): New function.
10456 * gdbtypes.h (get_unsigned_type_max): Declare.
10457 (get_signed_type_minmax): Declare.
10458 * guile/README: New file.
10459 * guile/guile-internal.h: New file.
10460 * guile/guile.c: New file.
10461 * guile/guile.h: New file.
10462 * guile/scm-arch.c: New file.
10463 * guile/scm-auto-load.c: New file.
10464 * guile/scm-block.c: New file.
10465 * guile/scm-breakpoint.c: New file.
10466 * guile/scm-disasm.c: New file.
10467 * guile/scm-exception.c: New file.
10468 * guile/scm-frame.c: New file.
10469 * guile/scm-gsmob.c: New file.
10470 * guile/scm-iterator.c: New file.
10471 * guile/scm-lazy-string.c: New file.
10472 * guile/scm-math.c: New file.
10473 * guile/scm-objfile.c: New file.
10474 * guile/scm-ports.c: New file.
10475 * guile/scm-pretty-print.c: New file.
10476 * guile/scm-safe-call.c: New file.
10477 * guile/scm-string.c: New file.
10478 * guile/scm-symbol.c: New file.
10479 * guile/scm-symtab.c: New file.
10480 * guile/scm-type.c: New file.
10481 * guile/scm-utils.c: New file.
10482 * guile/scm-value.c: New file.
10483 * guile/lib/gdb.scm: New file.
10484 * guile/lib/gdb/boot.scm: New file.
10485 * guile/lib/gdb/experimental.scm: New file.
10486 * guile/lib/gdb/init.scm: New file.
10487 * guile/lib/gdb/iterator.scm: New file.
10488 * guile/lib/gdb/printing.scm: New file.
10489 * guile/lib/gdb/types.scm: New file.
10490 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10491 (VPATH): Add $(GUILE_SRCDIR).
10492 (GUILE_DIR): New variable.
10493 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10494 (all): Add stamp-guile dependency.
10495 (stamp-guile): New rule.
10496 (clean-guile, install-guile, uninstall-guile): New rules.
10497 (install-only): Add install-guile dependency.
10498 (uninstall): Add uninstall-guile dependency.
10499 (clean): Add clean-guile dependency.
10500
ac020ec5
DE
105012014-02-09 Doug Evans <xdje42@gmail.com>
10502
10503 Revert this patch (which I approved, mea culpa).
10504
10505 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10506
10507 * Makefile.in (all-lib): Remove.
10508 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10509
2a081c59
JK
105102014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10511
10512 Fix Python stack corruption.
10513 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10514 gdb_py_longest.
10515
0a6bd22d
MK
105162014-02-08 Mark Kettenis <kettenis@gnu.org>
10517
10518 * Makefile.in (all-lib): Remove.
10519 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10520
1a860409
DE
105212014-02-07 Doug Evans <dje@google.com>
10522
10523 * extension-priv.h (extension_language_script_ops): Add comment.
10524 (extension_language_ops): Add comment.
caf5a491 10525 (active_ext_lang_state): Fix typo in comment.
1a860409 10526
d137e6dc
PA
105272014-02-07 Pedro Alves <palves@redhat.com>
10528
0dcb32c3 10529 PR breakpoints/16292
d137e6dc
PA
10530 * infrun.c (handle_signal_stop) <signal arrives while stepping
10531 over a breakpoint>: Switch back to the stepping thread.
10532
ce6d0892
YQ
105332014-02-07 Yao Qi <yao@codesourcery.com>
10534
10535 * target.c (target_xfer_partial): Return zero if LEN is zero.
10536
2ed4b548
YQ
105372014-02-07 Yao Qi <yao@codesourcery.com>
10538
10539 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10540 (ld_so_xfer_auxv): Likewise.
10541 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10542 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10543 * corelow.c (core_xfer_partial): Likewise.
10544 * ctf.c (ctf_xfer_partial): Likewise.
10545 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10546 (darwin_xfer_partial): Likewise.
10547 * exec.c (exec_xfer_partial): Likewise.
10548 * gnu-nat.c (gnu_xfer_partial): Likewise.
10549 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10550 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10551 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10552 * linux-nat.c (linux_xfer_siginfo): Likewise.
10553 (linux_proc_xfer_spu): Likewise.
10554 * procfs.c (procfs_xfer_partial): Likewise.
10555 * record-full.c (record_full_xfer_partial): Likewise.
10556 (record_full_core_xfer_partial): Likewise.
10557 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10558 * remote.c (remote_write_qxfer): Likewise.
10559 (remote_write_qxfer, remote_read_qxfer): Likewise.
10560 (remote_xfer_partial): Likewise.
10561 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10562 (rs6000_xfer_shared_libraries): Likewise.
10563 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10564 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10565 (spu_xfer_partial): Likewise.
10566 * target.c (memory_xfer_partial_1): Likewise.
10567 * tracepoint.c (tfile_xfer_partial): Likewise.
10568 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10569 (windows_xfer_partial): Likewise.
10570
c09f20e4
YQ
105712014-02-07 Yao Qi <yao@codesourcery.com>
10572
10573 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10574 comments.
10575 (core_xfer_shared_libraries_aix): Likewise.
10576 * gdbarch.c, gdbarch.h: Regenerated.
10577 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10578 ULONGEST. Change 'len_avail' type to ULONGEST.
10579 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10580 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10581 declaration.
10582 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10583
8635b3bf
YQ
105842014-02-07 Yao Qi <yao@codesourcery.com>
10585
10586 * corefile.c (memory_error): Get 'exception' from ERR and pass
10587 'exception' to throw_error.
10588
6dddc817
DE
105892014-02-06 Doug Evans <xdje42@gmail.com>
10590
10591 * configure.ac (libpython checking): Remove all but python.o from
10592 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10593 * configure: Regenerate.
10594
10595 * Makefile.in (SFILES): Add extension.c.
10596 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10597 (COMMON_OBS): Add extension.o.
10598 * extension.h: New file.
10599 * extension-priv.h: New file.
10600 * extension.c: New file.
10601
10602 * python/python-internal.h: #include "extension.h".
10603 (gdbpy_auto_load_enabled): Declare.
10604 (gdbpy_apply_val_pretty_printer): Declare.
10605 (gdbpy_apply_frame_filter): Declare.
10606 (gdbpy_preserve_values): Declare.
10607 (gdbpy_breakpoint_cond_says_stop): Declare.
10608 (gdbpy_breakpoint_has_cond): Declare.
10609 (void source_python_script_for_objfile): Delete.
10610 * python/python.c: #include "extension-priv.h".
10611 Delete inclusion of "observer.h".
10612 (extension_language_python): Moved here and renamed from
10613 script_language_python in py-auto-load.c.
10614 Redefined to be of type extension_language_defn.
10615 (python_extension_script_ops): New global.
10616 (python_extension_ops): New global.
10617 (struct python_env): New member previous_active.
10618 (restore_python_env): Call restore_active_ext_lang.
10619 (ensure_python_env): Call set_active_ext_lang.
10620 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10621 New arg extlang.
10622 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10623 New arg extlang.
10624 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10625 New arg extlang.
10626 (gdbpy_eval_from_control_command): Renamed from
10627 eval_python_from_control_command, made static. New arg extlang.
10628 (gdbpy_source_script) Renamed from source_python_script, made static.
10629 New arg extlang.
10630 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10631 result to int. New arg extlang.
10632 (gdbpy_source_objfile_script): Renamed from
10633 source_python_script_for_objfile, made static. New arg extlang.
10634 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10635 static. New args extlang, extlang_printers. Change result type to
10636 "void".
10637 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10638 static. New arg extlang. Rename arg printers to extlang_printers
10639 and change type to ext_lang_type_printers *.
10640 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10641 static. Replace argument arg with extlang, extlang_printers.
10642 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10643 (!HAVE_PYTHON, source_python_script): Delete.
10644 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10645 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10646 (!HAVE_PYTHON, start_type_printers): Delete.
10647 (!HAVE_PYTHON, apply_type_printers): Delete.
10648 (!HAVE_PYTHON, free_type_printers): Delete.
10649 (_initialize_python): Delete call to observer_attach_before_prompt.
10650 (finalize_python): Set/restore active extension language.
10651 (gdbpy_finish_initialization) Renamed from
10652 finish_python_initialization, made static. New arg extlang.
10653 (gdbpy_initialized): New function.
10654 * python/python.h: #include "extension.h". Delete #include
10655 "value.h", "mi/mi-cmds.h".
10656 (extension_language_python): Declare.
10657 (GDBPY_AUTO_FILE_NAME): Delete.
10658 (enum py_bt_status): Moved to extension.h and renamed to
10659 ext_lang_bt_status.
10660 (enum frame_filter_flags): Moved to extension.h.
10661 (enum py_frame_args): Moved to extension.h and renamed to
10662 ext_lang_frame_args.
10663 (finish_python_initialization): Delete.
10664 (eval_python_from_control_command): Delete.
10665 (source_python_script): Delete.
10666 (apply_val_pretty_printer): Delete.
10667 (apply_frame_filter): Delete.
10668 (preserve_python_values): Delete.
10669 (gdbpy_script_language_defn): Delete.
10670 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10671 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10672
10673 * auto-load.c: #include "extension.h".
10674 (GDB_AUTO_FILE_NAME): Delete.
10675 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10676 (script_language_gdb): Delete, moved to extension.c and renamed to
10677 extension_language_gdb.
10678 (source_gdb_script_for_objfile): Delete.
10679 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10680 (loaded_script): Change type of language member to
10681 struct extension_language_defn *.
10682 (init_loaded_scripts_info): Initialize
10683 unsupported_script_warning_printed.
10684 (maybe_add_script): Make static. Change type of language arg to
10685 struct extension_language_defn *.
10686 (clear_section_scripts): Reset unsupported_script_warning_printed.
10687 (auto_load_objfile_script_1): Rewrite to use extension language API.
10688 (auto_load_objfile_script): Make public. Remove support-compiled-in
10689 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10690 (source_section_scripts): Rewrite to use extension language API.
10691 (load_auto_scripts_for_objfile): Rewrite to use
10692 auto_load_scripts_for_objfile.
10693 (collect_matching_scripts_data): Change type of language member to
10694 struct extension_language_defn *.
10695 (auto_load_info_scripts): Change type of language arg to
10696 struct extension_language_defn *.
10697 (unsupported_script_warning_print): New function.
10698 (script_not_found_warning_print): Make static.
10699 (_initialize_auto_load): Rewrite construction of scripts-directory
10700 help.
10701 * auto-load.h (struct objfile): Add forward decl.
10702 (struct script_language): Delete.
10703 (struct auto_load_pspace_info): Add forward decl.
10704 (struct extension_language_defn): Add forward decl.
10705 (maybe_add_script): Delete.
10706 (auto_load_objfile_script): Declare.
10707 (script_not_found_warning_print): Delete.
10708 (auto_load_info_scripts): Update prototype.
10709 (auto_load_gdb_scripts_enabled): Declare.
10710 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10711 auto_load_python_scripts_enabled and made public.
10712 (script_language_python): Delete, moved to python.c.
10713 (gdbpy_script_language_defn): Delete.
10714 (info_auto_load_python_scripts): Update to use
10715 extension_language_python.
10716
10717 * breakpoint.c (condition_command): Replace call to
10718 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10719 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10720 with call to breakpoint_ext_lang_cond_says_stop.
10721 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10722 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10723 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10724 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10725 New arg slang.
10726 (local_setattro): Print name of extension language with existing
10727 stop condition.
10728
10729 * valprint.c (val_print, value_print): Update to call
10730 apply_ext_lang_val_pretty_printer.
10731 * cp-valprint.c (cp_print_value): Update call to
10732 apply_ext_lang_val_pretty_printer.
10733 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10734 (gdbpy_apply_val_pretty_printer): Renamed from
10735 apply_val_pretty_printer. New arg extlang.
10736 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10737
10738 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10739 extension language API.
10740 * cli/cli-script.c (execute_control_command): Update to call
10741 eval_ext_lang_from_control_command.
10742
10743 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10744 enum ext_lang_bt_status values. Update call to
10745 apply_ext_lang_frame_filter.
10746 (mi_cmd_stack_list_locals): Ditto.
10747 (mi_cmd_stack_list_args): Ditto.
10748 (mi_cmd_stack_list_variables): Ditto.
10749 * mi/mi-main.c: Delete #include "python/python-internal.h".
10750 Add #include "extension.h".
10751 (mi_cmd_list_features): Replace reference to python internal variable
10752 gdb_python_initialized with call to ext_lang_initialized_p.
10753
10754 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10755 Update to use enum ext_lang_frame_args. Update to call
10756 apply_ext_lang_frame_filter.
10757 * python/py-framefilter.c (extract_sym): Update to use enum
10758 ext_lang_bt_status.
10759 (extract_value, py_print_type, py_print_value): Ditto.
10760 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10761 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10762 (py_print_frame): Ditto.
10763 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10764 New arg extlang. Update to use enum ext_lang_bt_status.
10765
10766 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10767 finish_python_initialization. Replace with call to
10768 finish_ext_lang_initialization.
10769
10770 * typeprint.c (do_free_global_table): Update to call
10771 free_ext_lang_type_printers.
10772 (create_global_typedef_table): Update to call
10773 start_ext_lang_type_printers.
10774 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10775 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10776 (type_print_options): Change type of global_printers from "void *"
10777 to "struct ext_lang_type_printers *".
10778
10779 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10780 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10781 (gdbpy_preserve_values): Renamed from preserve_python_values.
10782 New arg extlang.
10783 (!HAVE_PYTHON, preserve_python_values): Delete.
10784
10785 * utils.c (quit_flag): Delete, moved to extension.c.
10786 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10787 extension.c.
10788
10789 * eval.c: Delete #include "python/python.h".
10790 * main.c: Delete #include "python/python.h".
10791
10792 * defs.h: Update comment.
10793
6af79985
JB
107942014-02-06 Joel Brobecker <brobecker@adacore.com>
10795
10796 GDB 7.7 released.
10797
12c5175d
MK
107982014-02-05 Mark Kettenis <kettenis@gnu.org>
10799
10800 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10801 defined.
10802
8dc5b319
YQ
108032014-02-05 Yao Qi <yao@codesourcery.com>
10804
10805 * remote.c (remote_pass_signals): Remove local 'buf' and use
10806 rs->buf.
10807 (remote_program_signals): Likewise.
10808
de7b2893
YQ
108092014-02-05 Yao Qi <yao@codesourcery.com>
10810
10811 * ctf.c: Include "inferior.h" and "gdbthread.h".
10812 (CTF_PID): A new macro.
10813 (ctf_open): Call inferior_appeared and add_thread_silent.
10814 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10815 (ctf_thread_alive): New function.
10816 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10817
66d032ac
YQ
108182014-02-05 Yao Qi <yao@codesourcery.com>
10819
10820 Revert this patch:
10821
10822 2013-05-24 Yao Qi <yao@codesourcery.com>
10823
10824 * tracepoint.c (TFILE_PID): Remove.
10825 (tfile_open): Don't add thread and inferior.
10826 (tfile_close): Don't set 'inferior_ptid'. Don't call
10827 exit_inferior_silent.
10828 (tfile_thread_alive): Remove.
10829 (init_tfile_ops): Don't set field 'to_thread_alive' of
10830 tfile_ops.
10831
f4ccffad
CE
108322014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10833
10834 * remote.c (remote_start_remote): Call remote_check_symbols even
10835 if only symbol-file (not file) has been given.
10836
591a12a1
UW
108372014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10838
10839 * gdbarch.sh (skip_entrypoint): New callback.
10840 * gdbarch.c, gdbarch.h: Regenerate.
10841 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10842 * infrun.c (fill_in_stop_func): Likewise.
10843 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10844 (ppc_elfv2_elf_make_msymbol_special): New function.
10845 (ppc_elfv2_skip_entrypoint): Likewise.
10846 (ppc_linux_init_abi): Install them for ELFv2.
10847
cc0e89c5
UW
108482014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10849
10850 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10851 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10852 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10853 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10854 structures returned in GPRs.
10855
52f548e4
UW
108562014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10857
10858 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10859 offset to the stack parameter list for the ELFv2 ABI.
10860
d4094b6a
UW
108612014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10862
10863 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10864 set_gdbarch_convert_from_func_ptr_addr and
10865 set_gdbarch_elf_make_msymbol_special for ELFv1.
10866 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10867 function descriptors on ELFv1.
10868 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10869 set up r12 at function entry.
10870
cd453cd0
UW
108712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10872
10873 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10874 (struct gdbarch_tdep): New member elf_abi.
10875
10876 * rs6000-tdep.c: Include "elf/ppc64.h".
10877 (rs6000_gdbarch_init): Detect ELF ABI version.
10878
0ff3e01f
UW
108792014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10880
10881 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10882 within a register pair holding a DFP 128-bit value on little-endian.
10883 (ppc64_sysv_abi_return_value_base): Likewise.
10884 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10885 (dfp_pseudo_register_write): Likewise.
10886
5b757e5d
UW
108872014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10888
10889 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10890 offset on little-endian when passing _Decimal32.
10891 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10892
084ee545
UW
108932014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10894
10895 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10896 of the overlapped FP register within the VSX register on little-
10897 endian platforms.
10898 (efpr_pseudo_register_write): Likewise.
10899
d63167af
UW
109002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10901
10902 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10903 offset on little-endian when passing small structures.
10904
e765b44c
UW
109052014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10906
10907 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10908 (struct ppc64_sysv_argpos): New data structure.
10909 (ppc64_sysv_abi_push_float): Remove.
10910 (ppc64_sysv_abi_push_val): New function.
10911 (ppc64_sysv_abi_push_integer): Likewise.
10912 (ppc64_sysv_abi_push_freg): Likewise.
10913 (ppc64_sysv_abi_push_vreg): Likewise.
10914 (ppc64_sysv_abi_push_param): Likewise.
10915 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10916 (ppc64_sysv_abi_return_value_base): New function.
10917 (ppc64_sysv_abi_return_value): Refactor to use it.
10918
36c24d95
UW
109192014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10920
10921 * NEWS: Document new target powerpc64le-*-linux*.
10922
26fd9228
MK
109232014-02-04 Mark Kettenis <kettenis@gnu.org>
10924
10925 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10926 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10927 core dumps.
10928 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10929 register set used in ELF core dumps. Add floating-point register set.
10930
c5bb7362
KB
109312014-02-03 Kevin Buettner <kevinb@redhat.com>
10932
74228e77 10933 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10934 dwarf2_to_gdb[] table using symbolic constants. Adjust
10935 penultimate entry from number representing the PC register
10936 to symbolic constant representing the MDR register. Add
10937 constant for the PC register to the end of the table.
10938
af09351e
MK
109392014-02-03 Mark Kettenis <kettenis@gnu.org>
10940
10941 * bsd-kvm.c: Include <sys/param.h>
10942
8507e05d
MK
109432014-02-03 Mark Kettenis <kettenis@gnu.org>
10944
10945 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10946
ae56bfb8
JB
109472014-01-31 Joel Brobecker <brobecker@adacore.com>
10948
10949 * ada-lang.h (clear_ada_sym_cache): Delete.
10950
718ee4dc
UW
109512014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10952
10953 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10954
401e27fd
JM
109552014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10956
10957 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10958 the sigreturn register save area only if the syscall is
10959 sigreturn.
10960
a7c88acd
JB
109612014-01-29 Joel Brobecker <brobecker@adacore.com>
10962
10963 * valops.c (value_slice): Minor reformatting.
10964
fa0079ea
UW
109652014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10966
10967 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10968
c6044dd1
JB
109692014-01-28 Joel Brobecker <brobecker@adacore.com>
10970
10971 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10972 New static globals.
10973 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10974 (ada_ignore_descriptive_types_p): New static global.
10975 (find_parallel_type_by_descriptive_type): Return immediately
10976 if ada_ignore_descriptive_types_p is set.
10977 (_initialize_ada_language): Register new commands "maintenance
10978 set ada", "maintenance show ada", "maintenance set ada
10979 ignore-descriptive-types" and "maintenance show ada
10980 ignore-descriptive-types".
10981 * NEWS: Add entry for new "maint ada set/show
10982 ignore-descriptive-types" commands.
10983
568e808b
MM
109842014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10985
10986 * record-btrace.c (record_btrace_close): Call btrace_teardown
10987 for all threads.
10988
467d141b
JB
109892014-01-27 Joel Brobecker <brobecker@adacore.com>
10990
10991 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10992 "ui-out.h".
10993
fb151210
JB
109942014-01-27 Joel Brobecker <brobecker@adacore.com>
10995
10996 * ada-typeprint (type_is_full_subrange_of_target_type):
10997 New function.
10998 (print_range): Add parameter bounds_prefered_p. If not set,
10999 try printing range types using the name of their base type.
11000 (print_range_type): Add parameter bounds_prefered_p.
11001 Use it in call to print_range.
11002 (print_array_type, ada_print_type): Update calls to print_range
11003 and print_range_type.
11004
aba02109
JB
110052014-01-27 Joel Brobecker <brobecker@adacore.com>
11006
11007 * ada-typeprint.c (print_array_type, print_choices, print_range)
11008 (print_range_bound, print_dynamic_range_bound, print_range_type):
11009 Remove declaration.
11010
e62e21fd
JB
110112014-01-27 Joel Brobecker <brobecker@adacore.com>
11012
11013 * ada-typeprint.c (print_range): Add missing empty line
11014 after local declaration.
11015
859cf5d1
JB
110162014-01-27 Joel Brobecker <brobecker@adacore.com>
11017
11018 * ada-valprint.c (print_optional_low_bound): Get index_type's
11019 target type for as long as it is a TYPE_CODE_RANGE.
11020
25790f6f
JB
110212014-01-27 Joel Brobecker <brobecker@adacore.com>
11022
11023 * procfs.c (procfs_make_note_section): Remove assertion and
11024 associated comment.
11025
6b6aa828
YQ
110262014-01-24 Yao Qi <yao@codesourcery.com>
11027
11028 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11029 * corelow.c (get_core_siginfo): Likewise.
11030
5d6df423
YQ
110312014-01-24 Yao Qi <yao@codesourcery.com>
11032
11033 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11034 ULONGEST. Don't check 'len' is negative.
11035 (remote_write_bytes): Change type of 'len' to ULONGEST.
11036
83b645b8
TT
110372014-01-23 Tom Tromey <tromey@redhat.com>
11038
11039 PR python/16485:
11040 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11041 Handle exception from frame.block.
11042 (FrameVars.fetch_frame_locals): Likewise.
11043
0740f8d8
TT
110442014-01-23 Tom Tromey <tromey@redhat.com>
11045
11046 PR python/16487:
11047 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11048 on a NULL pointer. Move "goto error" to correct place.
11049
21909fa1
TT
110502014-01-23 Tom Tromey <tromey@redhat.com>
11051
11052 PR python/16491:
11053 * python/py-framefilter.c (apply_frame_filter): Call
11054 ensure_python_env after computing gdbarch.
11055
17fde6d0
YQ
110562014-01-23 Yao Qi <yao@codesourcery.com>
11057
11058 * target.c (raw_memory_xfer_partial): Change argument type
11059 from void * to gdb_byte *.
11060 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11061
87ce2a04
DE
110622014-01-22 Doug Evans <dje@google.com>
11063
11064 New gdbserver option --debug-format=timestamp.
11065 * NEWS: Mention it.
11066
237b092b
AA
110672014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11068
11069 * syscalls/s390x-linux.xml: New file.
11070 * syscalls/s390-linux.xml: New file.
11071 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11072 (XML_SYSCALL_FILENAME_S390X): Likewise.
11073 (op_svc): New enum value for SVC opcode.
11074 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11075 (s390_linux_get_syscall_number): New function.
11076 (s390_gdbarch_init): Register '*get_syscall_number' and the
11077 syscall xml file name.
11078 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11079 "s390-linux.xml" and "s390x-linux.xml".
11080 * NEWS: Announce new feature.
11081
54bff650
BS
110822014-01-22 Baruch Siach <baruch@tkos.co.il>
11083
11084 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11085
14e361d7
PA
110862014-01-22 Pedro Alves <palves@redhat.com>
11087
11088 * xtensa-config.c: Include defs.h.
11089
46bbb3ed
JB
110902014-01-22 Joel Brobecker <brobecker@adacore.com>
11091
11092 * common/common-utils.h: Add "ARI:" comment beside __func__
11093 reference.
11094
3a80edfc
JB
110952014-01-22 Joel Brobecker <brobecker@adacore.com>
11096
11097 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11098 documentation a bit.
11099
4869db5e
RM
111002014-01-21 Roland McGrath <mcgrathr@google.com>
11101
11102 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11103 * configure: Regenerate.
11104 * aclocal.m4: Regenerate.
11105 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11106 New substituted variables.
11107 (install-strip): New target.
11108 (INSTALL_SCRIPT): New substituted variable.
11109 (FLAGS_TO_PASS): Add it.
11110 (install-only): Use $(INSTALL_SCRIPT) rather than
11111 $(INSTALL_PROGRAM) for gcore.
11112
9ea4267d
TT
111132014-01-20 Tom Tromey <tromey@redhat.com>
11114
11115 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11116 together.
11117
1f2bdf09
TT
111182014-01-20 Tom Tromey <tromey@redhat.com>
11119
11120 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11121 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11122 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11123 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11124 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11125 (struct cmd_list_element) <flags>: Remove.
11126 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11127 doc_allocated>: New fields.
11128 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11129 bitfields.
11130 * maint.c (maintenance_do_deprecate): Update.
11131 * top.c (execute_command): Update.
11132
e671835b
BS
111332014-01-20 Baruch Siach <baruch@tkos.co.il>
11134
11135 * xtensa-linux-nat.c: Include asm/ptrace.h.
11136
50367cd2
IB
111372014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11138
11139 * Makefile.in (SFILES): Add d-support.c.
11140 (COMMON_OBS): Add d-support.o.
11141 * d-lang.h (d_parse_symbol): Add comment, now defined in
11142 d-support.c.
11143 * d-lang.c (parse_call_convention)
11144 (parse_attributes, parse_function_types)
11145 (parse_function_args, parse_type, parse_identifier)
11146 (call_convention_p, d_parse_symbol): Move functions to ...
11147 * d-support.c: ... New file.
11148
ec9f644a
IB
111492014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11150
11151 * d-lang.h (d_parse_symbol): Add declaration.
11152 * d-lang.c (extract_identifiers)
11153 (extract_type_info): Remove functions.
11154 (parse_call_convention, parse_attributes)
11155 (parse_function_types, parse_function_args)
11156 (parse_type, parse_identifier, call_convention_p)
11157 (d_parse_symbol): New functions.
11158 (d_demangle): Use d_parse_symbol to demangle D symbols.
11159
94b1b47e
IB
111602014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11161
11162 * d-lang.h (struct builtin_d_type): New data type.
11163 (builtin_d_type): Add declaration.
11164 * d-lang.c (d_language_arch_info, build_d_types)
11165 (builtin_d_type): New functions.
11166 (enum d_primitive_types): New data type.
11167 (d_language_defn): Change c_language_arch_info to
11168 d_language_arch_info.
11169 (d_type_data): New static variable.
11170 (_initialize_d_language): Initialize d_type_data.
11171
63778547
IB
111722014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11173
11174 * d-lang.h (d_main_name): Add declaration.
11175 * d-lang.c (d_main_name): New function.
11176 * symtab.c (find_main_name): Add call to d_main_name.
11177
3271ba66
IB
111782014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11179
11180 * d-lang.c (d_language_defn): Change macro_expansion_c to
11181 macro_expansion_no.
11182
d36b3012
IB
111832014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11184
11185 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11186
c90a6fb7
SDJ
111872014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11188
11189 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11190 gdb_exception" declaration.
11191 * remote.c (getpkt_or_notif_sane): Likewise.
11192
749234e5
DE
111932014-01-17 Doug Evans <dje@google.com>
11194
11195 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11196 function, contents of dirnames_to_char_ptr_vec_append moved here.
11197 (delim_string_to_char_ptr_vec): New function.
11198 (dirnames_to_char_ptr_vec_append): Rewrite.
11199 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11200
df049a58
DE
112012014-01-17 Doug Evans <dje@google.com>
11202
11203 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11204 and moved here ...
11205 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11206 #include "common-utils.h".
11207 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11208 * common/vec.h (VEC_ASSERT_PASS): Update.
11209 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11210 (MACH_CHECK_ERROR): Update.
11211
69f97648
SM
112122014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11213
11214 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11215 comments.
11216 * gdbarch.h: Regenerate.
11217
98b1cfdc
TT
112182014-01-16 Tom Tromey <tromey@redhat.com>
11219
11220 * value.c (struct value) <regnum>: Move earlier.
11221
77a19445
TT
112222014-01-16 Tom Tromey <tromey@redhat.com>
11223
11224 * remote.c (extended_remote_create_inferior): Rename from
11225 extended_remote_create_inferior_1. Add "ops" argument. Remove
11226 old implementation.
11227
62261490
PA
112282014-01-16 Pedro Alves <palves@redhat.com>
11229
11230 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11231 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11232 the backchain.
11233
4d65956b
DE
112342014-01-16 Doug Evans <dje@google.com>
11235
11236 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11237
52834460
MM
112382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11239
11240 * btrace.h (btrace_thread_flag): New.
11241 (struct btrace_thread_info) <flags>: New.
11242 * record-btrace.c (record_btrace_resume_thread)
11243 (record_btrace_find_thread_to_move, btrace_step_no_history)
11244 (btrace_step_stopped, record_btrace_start_replaying)
11245 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11246 (record_btrace_find_resume_thread): New.
11247 (record_btrace_resume, record_btrace_wait): Extend.
11248 (record_btrace_can_execute_reverse): New.
11249 (record_btrace_open): Fail in non-stop mode.
11250 (record_btrace_set_replay): Split into this, ...
11251 (record_btrace_stop_replaying): ... this, ...
11252 (record_btrace_clear_histories): ... and this.
11253 (init_record_btrace_ops): Init to_can_execute_reverse.
11254 * NEWS: Announce it.
11255
118e6252
MM
112562014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11257
11258 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11259 (forward_target_decr_pc_after_break)
11260 (target_decr_pc_after_break): New.
11261 * target.c (forward_target_decr_pc_after_break)
11262 (target_decr_pc_after_break): New.
11263 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11264 instead of gdbarch_decr_pc_after_break.
11265 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11266 instead of gdbarch_decr_pc_after_break.
11267 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11268 instead of gdbarch_decr_pc_after_break.
11269 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11270 instead of gdbarch_decr_pc_after_break.
11271 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11272 instead of gdbarch_decr_pc_after_break.
11273 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11274 instead of gdbarch_decr_pc_after_break.
11275
6e07b1d2
MM
112762014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11277
11278 * btrace.c: Include regcache.h.
11279 (btrace_add_pc): New.
11280 (btrace_enable): Call btrace_add_pc.
11281 (btrace_is_empty): New.
11282 * btrace.h (btrace_is_empty): New.
11283 * record-btrace.c (require_btrace, record_btrace_info): Call
11284 btrace_is_empty.
11285
969c39fb
MM
112862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11287
11288 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11289 Support delta reads.
11290 (linux_disable_btrace): Change return type.
11291 * common/linux-btrace.h (linux_read_btrace): Change parameters
11292 and return type to allow error reporting. Update users.
11293 (linux_disable_btrace): Change return type. Update users.
11294 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11295 New.
11296 (btrace_error): New.
11297 (btrace_block) <begin>: Comment on BEGIN == 0.
11298 * btrace.c (btrace_compute_ftrace): Start from the end of
11299 the current trace.
11300 (btrace_stitch_trace, btrace_clear_history): New.
11301 (btrace_fetch): Read delta trace, return if replaying.
11302 (btrace_clear): Move clear history code to btrace_clear_history.
11303 (parse_xml_btrace): Throw an error if parsing failed.
11304 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11305 and return type to allow error reporting.
11306 (target_read_btrace): Change parameters and return type to allow
11307 error reporting.
11308 * target.c (target_read_btrace): Update.
11309 * remote.c (remote_read_btrace): Support delta reads. Pass
11310 errors on.
11311 * NEWS: Announce it.
11312
0b722aec
MM
113132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11314
11315 * record.h (record_btrace_frame_unwind)
11316 (record_btrace_tailcall_frame_unwind): New declarations.
11317 * dwarf2-frame: Include record.h
11318 (dwarf2_frame_cfa): Throw an error for btrace frames.
11319 * record-btrace.c: Include hashtab.h.
11320 (btrace_get_bfun_name): New.
11321 (btrace_call_history): Call btrace_get_bfun_name.
11322 (struct btrace_frame_cache): New.
11323 (bfcache): New.
11324 (bfcache_hash, bfcache_eq, bfcache_new): New.
11325 (btrace_get_frame_function): New.
11326 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11327 (record_btrace_frame_this_id): Compute own id.
11328 (record_btrace_frame_prev_register): Provide PC, throw_error
11329 for all other registers.
11330 (record_btrace_frame_sniffer): Detect btrace frames.
11331 (record_btrace_tailcall_frame_sniffer): New.
11332 (record_btrace_frame_dealloc_cache): New.
11333 (record_btrace_frame_unwind): Add new functions.
11334 (record_btrace_tailcall_frame_unwind): New.
11335 (_initialize_record_btrace): Allocate cache.
11336 * btrace.c (btrace_clear): Call reinit_frame_cache.
11337 * NEWS: Announce it.
11338
066ce621
MM
113392014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11340
11341 * record-btrace.c (record_btrace_set_replay)
11342 (record_btrace_goto_begin, record_btrace_goto_end)
11343 (record_btrace_goto): New.
11344 (init_record_btrace_ops): Initialize them.
11345 * NEWS: Announce it.
11346
e2887aa3
MM
113472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11348
11349 * record-btrace.c (record_btrace_find_new_threads)
11350 (record_btrace_thread_alive): New.
11351 (init_record_btrace_ops): Initialize to_find_new_threads and
11352 to_thread_alive.
11353
b2f4cfde
MM
113542014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11355
11356 * record-btrace.c (record_btrace_resume): New.
11357 (record_btrace_wait): New.
11358 (init_record_btrace_ops): Initialize to_wait and to_resume.
11359
633785ff
MM
113602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11361
11362 * record-btrace.c (record_btrace_xfer_partial)
11363 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11364 (record_btrace_allow_memory_access): New.
11365 (init_record_btrace_ops): Initialize new methods.
11366 * target.c (raw_memory_xfer_partial): Bail out if target reports
11367 that this memory is not available.
11368
3db08215
MM
113692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11370
11371 * target.h (target_ops) <to_insert_breakpoint>
11372 <to_remove_breakpoint>: Add target_ops parameter.
11373 (forward_target_insert_breakpoint): New.
11374 (forward_target_remove_breakpoint): New.
11375 (memory_remove_breakpoint, memory_insert_breakpoint):
11376 Add target_ops parameter.
11377 * target.c (target_insert_breakpoint): Split into this and ...
11378 (forward_target_insert_breakpoint): ... this.
11379 (target_remove_breakpoint): Split into this and ...
11380 (forward_target_remove_breakpoint): ... this.
11381 (debug_to_insert_breakpoint): Add target_ops parameter.
11382 Call forward_target_insert_breakpoint.
11383 (debug_to_remove_breakpoint): Add target_ops parameter.
11384 Call forward_target_remove_breakpoint.
11385 (update_current_target): Do not inherit or default to_insert_breakpoint
11386 and to_remove_breakpoint.
11387 * corelow.c (ignore): Add target_ops parameter.
11388 * exec.c (ignore): Add target_ops parameter.
11389 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11390 Add target_ops parameter.
11391 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11392 Add target_ops parameter.
11393 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11394 Add target_ops parameter.
11395 * record-full.c (record_full_beneath_to_insert_breakpoint)
11396 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11397 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11398 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11399 (record_full_core_remove_breakpoint): Add target_ops parameter.
11400 Update users.
11401 (record_full_beneath_to_insert_breakpoint_ops)
11402 (record_full_beneath_to_remove_breakpoint_ops)
11403 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11404 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11405 tmp_to_remove_breakpoint_ops,
11406 record_full_beneath_to_insert_breakpoint_ops, and
11407 record_full_beneath_to_remove_breakpoint_ops.
11408 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11409 (m32r_remove_breakpoint): Add target_ops parameter.
11410 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11411 Add target_ops parameter.
11412 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11413 Add target_ops parameter.
11414
cecac1ab
MM
114152014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11416 Markus Metzger <markus.t.metzger@intel.com>
11417
11418 * record-btrace.c: Include frame-unwind.h.
11419 (record_btrace_frame_unwind_stop_reason)
11420 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11421 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11422 New.
11423 (init_record_btrace_ops): Install it.
11424
824344ca
MM
114252014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11426
11427 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11428 get_prev_frame_1.
11429
32261e52
MM
114302014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11431
11432 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11433 earlier.
11434
ea001bdc
MM
114352014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11436
11437 * frame-unwind.c: Include target.h.
11438 (frame_unwind_try_unwinder): New function with code from ...
11439 (frame_unwind_find_by_frame): ... here. New variable
11440 unwinder_from_target, call also target_get_unwinder)
11441 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11442 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11443 * target.h (struct target_ops): New fields to_get_unwinder and
11444 to_get_tailcall_unwinder.
11445 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11446
1f3ef581
MM
114472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11448
11449 * record-btrace.c (record_btrace_fetch_registers)
11450 (record_btrace_store_registers)
11451 (record_btrace_to_prepare_to_store): New.
11452 (init_record_btrace_ops): Add the above.
11453
f32dbf8c
MM
114542014-01-16 Tom Tromey <tromey@redhat.com>
11455
11456 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11457 * target.h (struct target_ops) <to_prepare_to_store>: Add
11458 argument.
11459 (target_prepare_to_store): Add argument.
11460 * target.c (debug_to_prepare_to_store): Add argument.
11461 (update_current_target): Update.
11462 * remote.c (remote_prepare_to_store): Add 'self' argument.
11463 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11464 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11465 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11466 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11467 argument.
11468 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11469 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11470 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11471 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11472 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11473
07bbe694
MM
114742014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11475
11476 * btrace.h (replay) <replay>: New.
11477 (btrace_is_replaying): New.
11478 * btrace.c (btrace_clear): Free replay iterator.
11479 (btrace_is_replaying): New.
11480 * record-btrace.c (record_btrace_is_replaying): New.
11481 (record_btrace_info): Print insn number if replaying.
11482 (record_btrace_insn_history): Start at replay position.
11483 (record_btrace_call_history): Start at replay position.
11484 (init_record_btrace_ops): Init to_record_is_replaying.
11485
0688d04e
MM
114862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11487
11488 * record-btrace.c (record_btrace_insn_history_range): Include
11489 end.
11490 (record_btrace_insn_history_from): Adjust range.
11491 (record_btrace_call_history_range): Include
11492 end.
11493 (record_btrace_call_history_from): Adjust range.
11494 * NEWS: Announce changes.
11495
8710b709
MM
114962014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11497
11498 * record.h (enum record_print_flag)
11499 <record_print_indent_calls>: New.
11500 * record.c (get_call_history_modifiers): Recognize /c modifier.
11501 (_initialize_record): Document /c modifier.
11502 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11503 Reorder fields. Optionally indent the function name. Update
11504 all users.
11505 * NEWS: Announce changes.
11506
d0fa7535
MM
115072014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11508
11509 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11510
5de9129b
MM
115112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11512
11513 * btrace.c (ftrace_new_function): Start counting at one.
11514 * record-btrace.c (record_btrace_info): Adjust number of calls
11515 and insns.
11516 * NEWS: Announce it.
11517
7acbe133
MM
115182014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11519
11520 * record-btrace.c (btrace_call_history_insn_range): Print
11521 insn range as [begin, end].
11522
23a7fe75
MM
115232014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11524
11525 * btrace.h (struct btrace_func_link): New.
11526 (enum btrace_function_flag): New.
11527 (struct btrace_inst): Rename to ...
11528 (struct btrace_insn): ...this. Update all users.
11529 (struct btrace_func) <ibegin, iend>: Remove.
11530 (struct btrace_func_link): New.
11531 (struct btrace_func): Rename to ...
11532 (struct btrace_function): ...this. Update all users.
11533 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11534 (number, level, flags>: New.
11535 (struct btrace_insn_iterator): Rename to ...
11536 (struct btrace_insn_history): ...this.
11537 Update all users.
11538 (struct btrace_insn_iterator, btrace_call_iterator): New.
11539 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11540 (struct btrace_target_info) <begin, end, level>
11541 <insn_history, call_history>: New.
11542 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11543 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11544 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11545 (btrace_call_number, btrace_call_begin, btrace_call_end)
11546 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11547 (btrace_find_function_by_number, btrace_set_insn_history)
11548 (btrace_set_call_history): New.
11549 * btrace.c (btrace_init_insn_iterator)
11550 (btrace_init_func_iterator, compute_itrace): Remove.
11551 (ftrace_print_function_name, ftrace_print_filename)
11552 (ftrace_skip_file): Change
11553 parameter to const.
11554 (ftrace_init_func): Remove.
11555 (ftrace_debug): Use new btrace_function fields.
11556 (ftrace_function_switched): Also consider gaining and
11557 losing symbol information).
11558 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11559 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11560 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11561 New.
11562 (ftrace_new_function): Move. Remove debug print.
11563 (ftrace_update_lines, ftrace_update_insns): New.
11564 (ftrace_update_function): Check for call, ret, and jump.
11565 (compute_ftrace): Renamed to ...
11566 (btrace_compute_ftrace): ...this. Rewritten to compute call
11567 stack.
11568 (btrace_fetch, btrace_clear): Updated.
11569 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11570 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11571 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11572 (btrace_call_number, btrace_call_begin, btrace_call_end)
11573 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11574 (btrace_find_function_by_number, btrace_set_insn_history)
11575 (btrace_set_call_history): New.
11576 * record-btrace.c (require_btrace): Use new btrace thread
11577 info fields.
11578 (record_btrace_info, btrace_insn_history)
11579 (record_btrace_insn_history, record_btrace_insn_history_range):
11580 Use new btrace thread info fields and new iterator.
11581 (btrace_func_history_src_line): Rename to ...
11582 (btrace_call_history_src_line): ...this. Use new btrace
11583 thread info fields.
11584 (btrace_func_history): Rename to ...
11585 (btrace_call_history): ...this. Use new btrace thread info
11586 fields and new iterator.
11587 (record_btrace_call_history, record_btrace_call_history_range):
11588 Use new btrace thread info fields and new iterator.
11589
8372a7cb
MM
115902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11591
11592 * frame.h (frame_id_build_unavailable_stack_special): New.
11593 * frame.c (frame_id_build_unavailable_stack_special): New.
11594
c2170eef
MM
115952014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11596
11597 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11598 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11599 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11600 to gdbarch.
11601 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11602 (i386_insn_is_jump, i386_jmp_p): New.
11603 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11604 insn_is_jump to gdbarch.
11605 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11606 * gdbarch.h: Regenerated.
11607 * gdbarch.c: Regenerated.
11608 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11609 (default_insn_is_jump): New.
11610 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11611 (default_insn_is_jump): New.
11612
864089d2
MM
116132014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11614
11615 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11616 Change to ...
11617 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11618 (btrace_read_type) <btrace_read_new>: Change to ...
11619 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11620
ed9edfb5
MM
116212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11622
11623 * common/linux-btrace.c (linux_read_btrace): Free trace from
11624 previous iteration.
11625
fbcbc3fd
DE
116262014-01-15 Doug Evans <dje@google.com>
11627
11628 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11629 uint32_t.
11630
3d548a53
TT
116312014-01-15 Tom Tromey <tromey@redhat.com>
11632
11633 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11634 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11635 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11636 (set_objfile_main_name): New function.
11637 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11638 language_of_main>: New fields.
11639 (set_objfile_main_name): Declare.
11640 * symtab.c (find_main_name): Loop over objfiles to find the main
11641 name and language.
11642 (set_main_name): Now static.
11643 (get_main_info): Add comment.
11644 * symtab.h (set_main_name): Don't declare.
11645
32ac0d11
TT
116462014-01-15 Tom Tromey <tromey@redhat.com>
11647
11648 * symtab.c (main_progspace_key): New global.
11649 (struct main_info): New.
11650 (name_of_main, language_of_main): Remove.
11651 (get_main_info, main_info_cleanup): New function.
11652 (set_main_name, main_name, main_language): Use get_main_info.
11653 (_initialize_symtab): Initialize main_progspace_key.
11654
9e6c82ad
TT
116552014-01-15 Tom Tromey <tromey@redhat.com>
11656
11657 * dbxread.c (process_one_symbol): Update.
11658 * dwarf2read.c (read_partial_die): Update.
11659 * symfile.c (set_initial_language): Call main_language.
11660 * symtab.c (language_of_main): Now static.
11661 (set_main_name): Add 'lang' parameter.
11662 (find_main_name): Update.
11663 (main_language): New function.
11664 (symtab_observer_executable_changed): Update.
11665 * symtab.h (set_main_name): Update.
11666 (language_of_main): Remove.
11667 (main_language): Declare.
11668
6ef55de7
TT
116692014-01-15 Tom Tromey <tromey@redhat.com>
11670
11671 * symfile.c (init_entry_point_info): Use new "initialized" field.
11672 Update.
11673 * objfiles.h (struct entry_point) <initialized>: New field.
11674 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11675 (struct objfile) <ei>: ...here. Remove.
11676 * objfiles.c (entry_point_address_query): Update.
11677
53eddfa6
TT
116782014-01-15 Tom Tromey <tromey@redhat.com>
11679
11680 * objfiles.c (entry_point_address_query): Relocate entry point
11681 address.
11682 (objfile_relocate1): Do not relocate entry point address.
11683 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11684 <the_bfd_section_index>: New field.
11685 * symfile.c (init_entry_point_info): Find the entry point's
11686 section.
11687
d56e56aa
TT
116882014-01-15 Tom Tromey <tromey@redhat.com>
11689
11690 * solib-frv.c (enable_break): Use entry_point_address_query.
11691
33a97bbe
OJ
116922014-01-15 Omair Javaid <omair.javaid@linaro.org>
11693
11694 * NEWS: Add note on improved process record-replay on
11695 arm*-linux* targets.
11696
c6ec2b30
OJ
116972014-01-15 Omair Javaid <omair.javaid@linaro.org>
11698
11699 * arm-tdep.c (enum arm_record_result): New enum.
11700 (arm_record_unsupported_insn): New function.
11701 (arm_record_coproc_data_proc): Removed.
11702 (thumb2_record_ld_st_multiple): New function.
11703 (thumb2_record_ld_st_dual_ex_tbb): New function.
11704 (thumb2_record_data_proc_sreg_mimm): New function.
11705 (thumb2_record_ps_dest_generic): New function.
11706 (thumb2_record_branch_misc_cntrl): New function.
11707 (thumb2_record_str_single_data): New function.
11708 (thumb2_record_ld_mem_hints): New function.
11709 (thumb2_record_ld_word): New function.
11710 (thumb2_record_lmul_lmla_div): New function.
11711 (thumb2_record_decode_insn_handler): New function.
11712 (decode_insn): Add thumb32 instruction handlers.
11713
97dfe206
OJ
117142014-01-15 Omair Javaid <omair.javaid@linaro.org>
11715
11716 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11717 (struct arm_linux_record_tdep): Declare.
11718 (arm_canonicalize_syscall): New function.
11719 (arm_all_but_pc_registers_record): New function.
11720 (arm_linux_syscall_record): New function.
11721 (arm_linux_init_abi): Add syscall recording constructs.
11722 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11723 decoding. (arm_record_coproc_data_proc): Update arm syscall
11724 decoding.
11725 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11726 <arm_syscall_record>: New field.
11727 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11728 gdb_target_obs.
11729
9904a494
OJ
117302014-01-15 Omair Javaid <omair.javaid@linaro.org>
11731
11732 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11733 register for push instruction recording.
11734
f969241e
OJ
117352014-01-15 Omair Javaid <omair.javaid@linaro.org>
11736
11737 * arm-tdep.c (thumb_record_misc): Update to correct logical
11738 error while recording ldm, ldmia and pop instructions.
11739
bfbbec00
OJ
117402014-01-15 Omair Javaid <omair.javaid@linaro.org>
11741
11742 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11743
e40adcc9
PA
117442014-01-15 Pedro Alves <palves@redhat.com>
11745
11746 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11747 (go32_resume, go32_fetch_registers, store_register)
11748 (go32_store_registers, go32_prepare_to_store)
11749 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11750 (go32_create_inferior, go32_can_run, go32_terminal_init)
11751 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11752 declarations.
11753
b0a16e66
TT
117542014-01-15 Tom Tromey <tromey@redhat.com>
11755
11756 * target.h (async_callback_ftype): New typedef.
11757 (struct target_ops) <to_async>: Use it.
11758
bf7105a4
JB
117592014-01-15 Joel Brobecker <brobecker@adacore.com>
11760
11761 * python/py-value.c (get_field_type): Remove unnecessary curly
11762 braces for single-statement if block.
11763
a8f35c2e
JB
117642014-01-15 Joel Brobecker <brobecker@adacore.com>
11765
11766 * python/py-type.c (convert_field): Add missing empty line
11767 after declarations.
11768
bb4142cf
DE
117692014-01-14 Doug Evans <dje@google.com>
11770
11771 * symfile.h (expand_symtabs_matching): Renamed from
11772 expand_partial_symbol_names. Update prototype.
11773 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11774 * symfile.c (expand_symtabs_matching): Renamed from
11775 expand_partial_symbol_names. New args file_matcher, kind.
11776 Rename arg fun to symbol_matcher.
11777 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11778 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11779 ada_expand_partial_symbol_name.
11780 (ada_make_symbol_completion_list): Update to call
11781 expand_symtabs_matching.
11782 (ada_add_global_exceptions): Call expand_symtabs_matching.
11783 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11784 call map_symbol_filenames.
11785 * symtab.c (sources_info): Update to call map_symbol_filenames.
11786 (search_symbols): Call expand_symtabs_matching.
11787 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11788 (default_make_symbol_completion_list_break_on): Update to call
11789 expand_symtabs_matching.
11790 (make_source_files_completion_list): Update to call
11791 map_symbol_filenames.
11792
206f2a57
DE
117932014-01-14 Doug Evans <dje@google.com>
11794
11795 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11796 (expand_symtabs_symbol_matcher_ftype): New typedef.
11797 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11798 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11799 * symfile.c (expand_partial_symbol_names): Update to use
11800 expand_symtabs_symbol_matcher_ftype.
11801 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11802 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11803 Arg name_matcher renamed to symbol_matcher.
11804 * psymtab.c (recursively_search_psymtabs): Update to use
11805 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11806 sym_matcher.
11807 (expand_symtabs_matching_via_partial): Update to use
11808 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11809 Arg name_matcher renamed to symbol_matcher.
11810
540c2971
DE
118112014-01-14 Doug Evans <dje@google.com>
11812
11813 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11814 (map_partial_symbol_filenames): Ditto.
11815 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11816 (map_partial_symbol_filenames): Ditto.
11817 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11818 (map_partial_symbol_filenames): Ditto.
11819 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11820 (map_partial_symbol_filenames): Ditto.
11821 * symtab.c: Delete #include "psymtab.h".
11822
8213266a
PA
118232014-01-14 Pedro Alves <palves@redhat.com>
11824 Tom Tromey <tromey@redhat.com>
11825
11826 * infrun.c (use_displaced_stepping): Use find_record_target
11827 instead of RECORD_IS_USED.
11828 (adjust_pc_after_break): Use record_full_is_used instead of
11829 RECORD_IS_USED.
11830 * record-btrace.c (record_btrace_open): Call record_preopen
11831 instead of checking RECORD_IS_USED.
11832 * record-full.c (record_full_shortname)
11833 (record_full_core_shortname): New globals.
11834 (record_full_is_used): New function.
11835 (find_full_open): Call record_preopen instead of checking
11836 RECORD_IS_USED.
11837 (init_record_full_ops): Set the target's shortname to
11838 record_full_shortname.
11839 (init_record_full_core_ops): Set the target's shortname to
11840 record_full_core_shortname.
11841 * record-full.h (record_full_is_used): Declare.
11842 * record.c (find_record_target): Make extern.
11843 (record_preopen): New function.
11844 * record.h (RECORD_IS_USED): Delete macro.
11845 (find_record_target, record_preopen): Declare functions.
11846
7ec1862d
YQ
118472014-01-14 Yao Qi <yao@codesourcery.com>
11848
11849 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11850 'len''s type to ULONGEST.
11851 (core_xfer_shared_libraries_aix): Likewise.
11852 * gdbarch.c, gdbarch.h: Regenerated.
11853 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11854 Change type of 'len' to ULONGEST.
11855 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11856 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11857
dea80a27
YQ
118582014-01-14 Yao Qi <yao@codesourcery.com>
11859
11860 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11861 type of 'len' to ULONGEST.
11862 (linux_xfer_osdata_processgroups): Likewise.
11863 (linux_xfer_osdata_threads): Likewise.
11864 (linux_xfer_osdata_fds): Likewise.
11865 (linux_xfer_osdata_isockets): Likewise.
11866 (linux_xfer_osdata_shm): Likewise.
11867 (linux_xfer_osdata_sem): Likewise.
11868 (linux_xfer_osdata_msg): Likewise.
11869 (linux_common_xfer_osdata): Likewise.
11870 (struct osdata_type) <getter>: Likewise.
11871 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11872 the declaration.
11873
b55e14c7
YQ
118742014-01-14 Yao Qi <yao@codesourcery.com>
11875
11876 * target.h (target_xfer_partial_ftype): Update.
11877 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11878 ULONGEST.
11879 * aix-thread.c (aix_thread_xfer_partial): Change type of
11880 argument 'len' to ULONGEST.
11881 * auxv.c (procfs_xfer_auxv): Likewise.
11882 (ld_so_xfer_auxv): Likewise.
11883 (memory_xfer_auxv): Likewise.
11884 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11885 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11886 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11887 * corelow.c (core_xfer_partial): Likewise.
11888 * ctf.c (ctf_xfer_partial): Likewise.
11889 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11890 '%u'.
11891 (darwin_read_dyld_info): Likewise.
11892 (darwin_xfer_partial): Likewise.
11893 * exec.c (section_table_xfer_memory_partial): Likewise.
11894 (exec_xfer_partial): Likewise.
11895 * exec.h (section_table_xfer_memory_partial): Update
11896 declaration.
11897 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11898 instead of plongest.
11899 (gnu_xfer_partial): Likewise.
11900 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11901 (ia64_hpux_xfer_solib_got): Likewise.
11902 (ia64_hpux_xfer_partial): Likewise.
11903 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11904 * inf-ptrace.c (inf_ptrace_xfer_partial):
11905 * inf-ttrace.c (inf_ttrace_xfer_partial):
11906 * linux-nat.c (linux_xfer_siginfo): Likewise.
11907 (linux_nat_xfer_partial): Likewise.
11908 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11909 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11910 * monitor.c (monitor_xfer_memory): Likewise.
11911 (monitor_xfer_partial): Likewise.
11912 * procfs.c (procfs_xfer_partial): Likewise.
11913 * record-full.c (record_full_xfer_partial): Likewise.
11914 (record_full_core_xfer_partial): Likewise.
11915 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11916 instead of plongest.
11917 (gdbsim_xfer_partial): Likewise.
11918 * remote.c (remote_xfer_partial): Likewise.
11919 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11920 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11921 declaration.
11922 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11923 (rs6000_xfer_shared_libraries): Likewise.
11924 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11925 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11926 (sparc_xfer_partial): Likewise.
11927 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11928 (spu_xfer_partial): Likewise.
11929 * spu-multiarch.c (spu_xfer_partial): Likewise.
11930 * target.c (target_read_live_memory): Likewise.
11931 (memory_xfer_live_readonly_partial): Likewise.
11932 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11933 (target_xfer_partial, default_xfer_partial): Likewise.
11934 (current_xfer_partial): Likewise.
11935 * tracepoint.c (tfile_xfer_partial): Likewise.
11936 * windows-nat.c (windows_xfer_memory): Likewise. Call
11937 pulongest instead of plongest.
11938 (windows_xfer_partial): Likewise.
11939 (windows_xfer_shared_libraries): Likewise.
11940
05804640
YQ
119412014-01-14 Yao Qi <yao@codesourcery.com>
11942
11943 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11944 target_xfer_partial_ftype.
11945
b5b08fb4
SC
119462014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11947
11948 PR python/15464
11949 PR python/16113
11950 * valops.c (value_struct_elt_bitpos): New function
11951 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11952 object to 'None' if the field name is an empty string ("").
11953 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11954 attribute to look for a field when 'name' is 'None'.
11955 (get_field_type): New function
11956
13aaf454
DE
119572014-01-13 Doug Evans <dje@google.com>
11958
11959 PR symtab/16426
11960 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11961 (try_open_dwop_file): Ditto.
11962 * gdb_bfd.c: #include "vec.h".
11963 (bfdp): New typedef.
11964 (struct gdb_bfd_data): New member included_bfds.
11965 (gdb_bfd_unref): Unref all included bfds.
11966 (gdb_bfd_record_inclusion): New function.
11967 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11968
c2cec97c
TT
119692014-01-13 Tom Tromey <tromey@redhat.com>
11970
11971 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11972
78e5999d
TT
119732014-01-13 Tom Tromey <tromey@redhat.com>
11974
11975 * defs.h (use_windows): Remove.
11976 * gdb.c (main): Update.
11977 * main.c (captured_main, gdb_main): Update.
11978 * main.h (struct captured_main_args) <use_windows>: Remove.
11979 * top.c (use_windows): Remove.
11980
f2052bbe
TT
119812014-01-13 Tom Tromey <tromey@redhat.com>
11982
11983 * defs.h (deprecated_flush_hook): Remove.
11984
fde4f8ed
JK
119852014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11986
11987 PR threads/16216
11988 * linux-thread-db.c (try_thread_db_load): Add parameter
11989 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11990 (try_thread_db_load_from_pdir_1): Move it there from here.
11991 (try_thread_db_load_from_sdir): Update caller.
11992 (try_thread_db_load_from_dir): Move it there from here.
11993
bdf61915
PP
119942014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11995
11996 * regformats/regdat.sh: Always rewrite the register file.
11997
f71e1a8d
PA
119982014-01-13 Pedro Alves <palves@redhat.com>
11999
12000 * Makefile.in (CHECK_HEADERS): New variable.
12001 (check-headers:): New rule.
12002
42c85435
TT
120032014-01-13 Tom Tromey <tromey@redhat.com>
12004
12005 * cli/cli-setshow.c (do_set_command): Update.
12006 * defs.h (deprecated_set_hook): Remove.
12007 * top.c (deprecated_set_hook): Remove.
12008
f8de5129
PA
120092014-01-13 Pedro Alves <palves@redhat.com>
12010
12011 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12012 the tracepoint if the PC is a pseudo-register.
12013
fc270c35
TT
120142014-01-13 Tom Tromey <tromey@redhat.com>
12015
12016 * defs.h (XCALLOC): Remove.
12017 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12018 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12019 * dwarf2loc.c (allocate_piece_closure): Likewise.
12020 * elfread.c (elf_symfile_segments): Likewise.
12021 (elf_symfile_segments): Likewise.
12022 * gdbtypes.c (copy_type_recursive): Likewise.
12023 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12024 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12025 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12026 XCALLOC.
12027 * mt-tdep.c (mt_gdbarch_init): Likewise.
12028 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12029 XCALLOC.
12030 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12031 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12032 * registry.c (registry_alloc_data): Likewise.
12033 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12034 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12035 * serial.c (serial_fdopen_ops): Likewise.
12036 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12037 XCALLOC.
12038 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12039 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12040 not XCALLOC.
12041
70ba0933
TT
120422014-01-13 Tom Tromey <tromey@redhat.com>
12043
12044 * defs.h (XMALLOC): Remove.
12045 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12046 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12047 * cli-out.c (struct ui_out *): Likewise.
12048 * cli/cli-dump.c (add_dump_command): Likewise.
12049 (add_dump_command): Likewise.
12050 * complaints.c (get_complaints): Likewise.
12051 (find_complaint): Likewise.
12052 * dwarf2-frame.c (execute_cfa_program): Likewise.
12053 * dwarf2read.c (abbrev_table_read_table): Likewise.
12054 * gdbarch.sh: Likewise.
12055 * gdbarch.c: Rebuild.
12056 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12057 * interps.c (interp_new): Likewise.
12058 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12059 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12060 * mi/mi-console.c (mi_console_file_new): Likewise.
12061 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12062 * mi/mi-out.c (mi_out_new): Likewise.
12063 * mi/mi-parse.c (mi_parse): Likewise.
12064 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12065 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12066 * observer.c (xalloc_observer_list_node): Likewise.
12067 * regcache.c (regcache_xmalloc_1): Likewise.
12068 * reggroups.c (reggroup_new): Likewise.
12069 (_initialize_reggroup): Likewise.
12070 * registry.c (register_data_with_cleanup): Likewise.
12071 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12072 * ser-base.c (serial_ttystate): Likewise.
12073 * ser-mingw.c (make_pipe_state): Likewise.
12074 * ser-pipe.c (pipe_open): Likewise.
12075 * serial.c (serial_open): Likewise.
12076 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12077 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12078 (tui_alloc_win_info): Likewise.
12079 (tui_add_content_elements): Likewise.
12080 * tui/tui-file.c (tui_file_new): Likewise.
12081 * tui/tui-out.c (tui_out_new): Likewise.
12082 * ui-file.c (mem_file_new): Likewise.
12083 * ui-out.c (push_level): Likewise.
12084 (make_cleanup_ui_out_end): Likewise.
12085 (append_header_to_list): Likewise.
12086 (ui_out_new): Likewise.
12087 * user-regs.c (user_reg_add_builtin): Likewise.
12088
41bf6aca
TT
120892014-01-13 Tom Tromey <tromey@redhat.com>
12090
12091 * defs.h (XZALLOC): Remove.
12092 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12093 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12094 (get_ada_tasks_inferior_data): Likewise.
12095 * auto-load.c (get_auto_load_pspace_data): Likewise.
12096 * auxv.c (get_auxv_inferior_data): Likewise.
12097 * bfd-target.c (target_bfd_reopen): Likewise.
12098 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12099 (deprecated_insert_raw_breakpoint): Likewise.
12100 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12101 * corelow.c (core_open): Likewise.
12102 * darwin-nat.c (darwin_check_new_threads): Likewise.
12103 (darwin_attach_pid): Likewise.
12104 * dummy-frame.c (dummy_frame_push): Likewise.
12105 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12106 * dwarf2loc.c (allocate_piece_closure): Likewise.
12107 * elfread.c (elf_symfile_segments): Likewise.
12108 * eval.c (ptrmath_type_p): Likewise.
12109 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12110 * gdbtypes.c (alloc_type_arch): Likewise.
12111 (alloc_type_instance): Likewise.
12112 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12113 * inf-child.c (inf_child_can_use_agent): Likewise.
12114 * inflow.c (get_inflow_inferior_data): Likewise.
12115 * infrun.c (save_infcall_suspend_state): Likewise.
12116 * jit.c (jit_reader_load): Likewise.
12117 (get_jit_objfile_data): Likewise.
12118 (get_jit_program_space_data): Likewise.
12119 (jit_object_open_impl): Likewise.
12120 (jit_symtab_open_impl): Likewise.
12121 (jit_block_open_impl): Likewise.
12122 (jit_frame_sniffer): Likewise.
12123 * linux-fork.c (add_fork): Likewise.
12124 * maint.c (make_command_stats_cleanup): Likewise.
12125 * objfiles.c (get_objfile_pspace_data): Likewise.
12126 * opencl-lang.c (struct lval_closure): Likewise.
12127 * osdata.c (osdata_start_osdata): Likewise.
12128 * progspace.c (new_address_space): Likewise.
12129 (add_program_space): Likewise.
12130 * remote-sim.c (get_sim_inferior_data): Likewise.
12131 * sh-tdep.c (sh_gdbarch_init): Likewise.
12132 * skip.c (Ignore): Likewise.
12133 (skip_delete_command): Likewise.
12134 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12135 (library_list_start_library): Likewise.
12136 (solib_aix_current_sos): Likewise.
12137 * solib-darwin.c (get_darwin_info): Likewise.
12138 (darwin_current_sos): Likewise.
12139 * solib-dsbt.c (get_dsbt_info): Likewise.
12140 * solib-ia64-hpux.c (new_so_list): Likewise.
12141 (ia64_hpux_get_solib_linkage_addr): Likewise.
12142 * solib-spu.c (append_ocl_sos): Likewise.
12143 (spu_current_sos): Likewise.
12144 * solib-svr4.c (get_svr4_info): Likewise.
12145 (svr4_keep_data_in_core): Likewise.
12146 (library_list_start_library): Likewise.
12147 (svr4_default_sos): Likewise.
12148 (svr4_read_so_list): Likewise.
12149 * solib-target.c (library_list_start_library): Likewise.
12150 (solib_target_current_sos): Likewise.
12151 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12152 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12153 * symfile.c (default_symfile_segments): Likewise.
12154 * target-descriptions.c (tdesc_data_init): Likewise.
12155 (tdesc_create_reg): Likewise.
12156 (struct tdesc_type *): Likewise.
12157 (tdesc_create_vector): Likewise.
12158 (tdesc_set_struct_size): Likewise.
12159 (struct tdesc_type *): Likewise.
12160 (tdesc_free_feature): Likewise.
12161 (tdesc_create_feature): Likewise.
12162 * windows-nat.c (windows_add_thread): Likewise.
12163 (windows_make_so): Likewise.
12164 * xml-support.c (gdb_xml_body_text): Likewise.
12165 (gdb_xml_create_parser_and_cleanup): Likewise.
12166 (xml_process_xincludes): Likewise.
12167 * xml-syscall.c (allocate_syscalls_info): Likewise.
12168 (syscall_create_syscall_desc): Likewise.
12169
5acfdbae
SDJ
121702014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12171
12172 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12173 function, with code from i386_stap_parse_special_token.
12174 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12175 (i386_stap_parse_special_token): Move code to the two functions
12176 above; simplify it.
12177
0000e5cc
PA
121782014-01-09 Pedro Alves <palves@redhat.com>
12179 Hui Zhu <hui@codesourcery.com>
12180
12181 PR gdb/16101
12182 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12183 bp_err_string. Don't mark the location shlib_disabled if the
12184 error thrown wasn't a generic or memory error. Catch errors
12185 thrown while inserting breakpoints in overlayed code. Output
12186 error message of software breakpoints.
12187 * remote.c (remote_insert_breakpoint): If this breakpoint has
12188 target-side commands but this stub doesn't support Z0 packets,
12189 throw NOT_SUPPORTED_ERROR error.
12190 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12191 * target.h (target_insert_breakpoint): Extend comment.
12192 (target_insert_hw_breakpoint): Add comment.
12193
b7ea362b
PA
121942014-01-08 Pedro Alves <palves@redhat.com>
12195
12196 * remote.c (remote_add_thread): Add threads silently if starting
12197 up.
12198 (remote_notice_new_inferior): If in all-stop, and starting up,
12199 don't call notice_new_inferior.
12200 (get_current_thread): New function, factored out from ...
12201 (add_current_inferior_and_thread): ... this. Adjust.
12202 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12203 found any thread, then select the remote's current thread as GDB's
12204 current thread too.
12205
b7bba001
JB
122062014-01-08 Joel Brobecker <brobecker@adacore.com>
12207
12208 * NEWS: Create a new section for the next release branch.
12209 Rename the section of the current branch, now that it has
12210 been cut.
12211
16dfbded
JB
122122014-01-08 Joel Brobecker <brobecker@adacore.com>
12213
12214 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12215 * version.in: Bump version to 7.7.50.DATE-cvs.
12216
22c90ac1
YQ
122172014-01-08 Yao Qi <yao@codesourcery.com>
12218
12219 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12220 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12221 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12222
d64ad97c
YQ
122232014-01-08 Yao Qi <yao@codesourcery.com>
12224
12225 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12226 return value of bfd_get_filename to symbol_file_add_from_bfd.
12227
f93ba80c
PM
122282014-01-08 Pierre Muller <muller@sourceware.org>
12229
12230 Fix PR16201.
12231 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12232 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12233 to prim_record_mininal_symbol_and_info.
12234 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12235 in call to prim_record_minimal_symbol_and_info.
12236 (read_pe_exported_syms): Set index field of section_data.
12237
a4d9ba85
AP
122382014-01-07 Andrew Pinski <apinski@cavium.com>
12239
12240 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12241 * features/aarch64.c: Regenerate.
12242
1b67eb02
AS
122432014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12244
12245 * target.c (return_null): Define.
12246 (update_current_target): Use it instead of return_zero for
12247 functions that return a pointer.
12248
5e3f4fab
EBM
122492014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12250
12251 * source.c (add_path): Fix check for duplicated paths in the previously
12252 included paths.
12253
e2616788
HK
122542014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12255
12256 * ada-lang.c: Remove duplicated include statements.
12257 * alphabsd-nat.c: Ditto.
12258 * amd64-darwin-tdep.c: Ditto.
12259 * amd64fbsd-nat.c: Ditto.
12260 * auto-load.c: Ditto.
12261 * ax-gdb.c: Ditto.
12262 * breakpoint.c: Ditto.
12263 * dbxread.c: Ditto.
12264 * fork-child.c: Ditto.
12265 * gdb_usleep.c: Ditto.
12266 * i386-darwin-tdep.c: Ditto.
12267 * i386fbsd-nat.c: Ditto.
12268 * infcmd.c: Ditto.
12269 * inferior.c: Ditto.
12270 * jv-lang.c: Ditto.
12271 * linux-nat.c: Ditto.
12272 * linux-tdep.c: Ditto.
12273 * m68kbsd-nat.c: Ditto.
12274 * m68klinux-nat.c: Ditto.
12275 * microblaze-tdep.c: Ditto.
12276 * mips-linux-tdep.c: Ditto.
12277 * mn10300-tdep.c: Ditto.
12278 * nto-tdep.c: Ditto.
12279 * opencl-lang.c: Ditto.
12280 * osdata.c: Ditto.
12281 * printcmd.c: Ditto.
12282 * regcache.c: Ditto.
12283 * remote-m32r-sdi.c: Ditto.
12284 * remote.c: Ditto.
12285 * symfile.c: Ditto.
12286 * symtab.c: Ditto.
12287 * tilegx-linux-nat.c: Ditto.
12288 * tilegx-tdep.c: Ditto.
12289 * tracepoint.c: Ditto.
12290 * valops.c: Ditto.
12291 * vaxbsd-nat.c: Ditto.
12292 * windows-nat.c: Ditto.
12293 * xtensa-tdep.c: Ditto.
12294
bd1f7788
YQ
122952014-01-07 Yao Qi <yao@codesourcery.com>
12296
12297 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12298
79301218
JB
122992014-01-07 Yao Qi <yao@codesourcery.com>
12300 Joel Brobecker <brobecker@adacore.com>
12301
12302 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12303 (pdc_write_regs): Likewise.
12304 (fetch_regs_kernel_thread): Likewise.
12305 (store_regs_kernel_thread): Likewise.
12306
123072014-01-07 Joel Brobecker <brobecker@adacore.com>
12308
12309 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12310 tagged type objects to their actual type.
12311
8e355c5d
JB
123122014-01-07 Joel Brobecker <brobecker@adacore.com>
12313
12314 * ada-valprint.c (print_field_values): Add "language" parameter.
12315 Update calls to print_field_values and print_variant_part.
12316 Pass new parameter "language" in call to val_print instead
12317 of "current_language". Replace call to ada_val_print by call
12318 to val_print.
12319 (print_variant_part): Add "language" parameter.
12320 (ada_val_print_struct_union): Update call to print_field_values.
12321
4fbf5aa5
JB
123222014-01-07 Joel Brobecker <brobecker@adacore.com>
12323
12324 * ada-valprint.c (ui_memcpy): Delete.
12325 (ada_print_floating): Update documentation. Add empty line
12326 between between function documentation and implementation.
12327 Delete variable "buffer". Use ui_file_xstrdup in place of
12328 ui_file_put. Minor adjustments following this change.
12329
71855601
JB
123302014-01-07 Joel Brobecker <brobecker@adacore.com>
12331
12332 * ada-valprint.c (ada_val_print_string): New function,
12333 extracted from ada_val_print_array.
12334 (ada_val_print_array): Replace extracted code by call
12335 to ada_val_print_string followed by a return. Move
12336 "else" branch to the function's top block.
12337
4eb27a30
JB
123382014-01-07 Joel Brobecker <brobecker@adacore.com>
12339
12340 * ada-valprint.c (ada_val_print_array): Move implementation
12341 down. Rename parameter "offset" and "val" into "offset_aligned"
12342 and "original_value" respectively. Add parameter "offset".
12343
34b27950
JB
123442014-01-07 Joel Brobecker <brobecker@adacore.com>
12345
12346 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12347 re-organizing the code. Change the "???" message printed
12348 when target type is a TYPE_CODE_UNDEF into
12349 "<ref to undefined type>".
12350
079e4591
JB
123512014-01-07 Joel Brobecker <brobecker@adacore.com>
12352
12353 * ada-valprint.c (print_record): Delete, implementation inlined...
12354 (ada_val_print_struct_union): ... here. Remove call to
12355 ada_check_typedef in inlined implementation.
12356
8004dfd1
JB
123572014-01-07 Joel Brobecker <brobecker@adacore.com>
12358
12359 * ada-valprint.c (ada_val_print_gnat_array): New function,
12360 extracted from ada_val_print_1;
12361 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12362 (ada_val_print_flt, ada_val_print_struct_union)
12363 (ada_val_print_ref): Likewise.
12364 (ada_val_print_1): Delete variables i and elttype.
12365 Replace extracted-out code by call to corresponding
12366 new functions.
12367
760a2db0
JB
123682014-01-07 Joel Brobecker <brobecker@adacore.com>
12369
12370 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12371
3a92c861
JB
123722014-01-07 Joel Brobecker <brobecker@adacore.com>
12373
12374 * ada-valprint.c (ada_val_print_1): Replace calls to
12375 ada_val_print_1 by calls to val_print.
12376
cd1630f9
JB
123772014-01-07 Joel Brobecker <brobecker@adacore.com>
12378
12379 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12380 Update calls to self accordingly. Replace calls to c_val_print
12381 by calls to val_print.
12382
bdf779a0
JB
123832014-01-07 Joel Brobecker <brobecker@adacore.com>
12384
12385 * ada-valprint.c (print_record): Delete declaration.
12386 (adjust_type_signedness, ada_val_print_1): Likewise.
12387 (ada_val_print): Move function implementation down.
12388 (print_variant_part, print_field_values, print_record):
12389 Move function implementation up.
12390
c0d48811
JB
123912014-01-07 Joel Brobecker <brobecker@adacore.com>
12392
12393 * python/py-type.c (typy_get_name): New function.
12394 (type_object_getset): Add entry for attribute "name".
12395 * NEWS: Add entry mentioning this new attribute.
12396
c26e9cbb
YQ
123972014-01-07 Yao Qi <yao@codesourcery.com>
12398
12399 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12400 statement.
12401
0cc6f43d
YQ
124022014-01-07 Yao Qi <yao@codesourcery.com>
12403
12404 * gnu-nat.c (info_port_rights): Add qualifier const to
12405 argument args.
12406
eec03155
YQ
124072014-01-07 Yao Qi <yao@codesourcery.com>
12408
12409 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12410
f04a82ef
YQ
124112014-01-07 Yao Qi <yao@codesourcery.com>
12412
12413 * gnu-nat.c (make_inf) Update declaration.
12414 (make_inf): Make it static.
12415 (inf_set_traced): Likewise.
12416 (inf_port_to_thread, inf_task_died_status): Likewise.
12417
d57dda0a
YQ
124182014-01-07 Yao Qi <yao@codesourcery.com>
12419
12420 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12421
3aa8c969
YQ
124222014-01-07 Yao Qi <yao@codesourcery.com>
12423
12424 * gnu-nat.c (_initialize_gnu_nat): Declare.
12425
94123b4f
YQ
124262014-01-07 Yao Qi <yao@codesourcery.com>
12427
12428 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12429 'enum bfd_endian'.
12430 (struct gdbarch_info) <byte_order>: Change type to
12431 'enum bfd_endian'.
12432 <byte_order_for_code>: Likewise.
12433 * gdbarch.c, gdbarch.h: Regenerated.
12434
dc81d70a
TT
124352014-01-06 Sasha Smundak <asmundak@google.com>
12436
12437 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12438
cc2f3c35
TT
124392014-01-06 Tom Tromey <tromey@redhat.com>
12440
12441 * doublest.c (convert_doublest_to_floatformat): Use const, not
12442 CONST.
12443 * somread.c (som_symtab_read): Likewise.
12444
adcf2eed
HZ
124452014-01-07 Hui Zhu <hui@codesourcery.com>
12446
12447 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12448 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12449 (gdb_bfd_fopen): Ditto.
12450 (gdb_bfd_openr): Ditto.
12451 (gdb_bfd_openw): Ditto.
12452 (gdb_bfd_openr_iovec): Ditto.
12453 (gdb_bfd_fdopenr): Ditto.
12454 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12455 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12456 with xstrdup.
12457 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12458 with xstrdup.
12459 * symfile-mem.c (symbol_file_add_from_memory): Removed
12460 gdb_bfd_stash_filename.
12461
50722198
DE
124622014-01-03 Doug Evans <dje@google.com>
12463
12464 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12465 output.
12466
2fa4b862
JB
124672014-01-01 Joel Brobecker <brobecker@adacore.com>
12468
12469 Update year range in copyright notice of all files.
12470
28498c42
JB
124712014-01-01 Joel Brobecker <brobecker@adacore.com>
12472
12473 * top.c (print_gdb_version): Set copyright year to 2014.
12474
7b6e1046
JB
124752014-01-01 Joel Brobecker <brobecker@adacore.com>
12476
12477 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12478
df96af55 12479For older changes see ChangeLog-2013.
c906108c
SS
12480\f
12481Local Variables:
12482mode: change-log
12483left-margin: 8
12484fill-column: 74
12485version-control: never
57da7796 12486coding: utf-8
c906108c 12487End:
This page took 2.411752 seconds and 4 git commands to generate.