Use XCNEW rather than xcalloc (1, ...) in linux-x86-low.c
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
1c3569d4
MR
12014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2
3 * varobj.c (_initialize_varobj): Move to the end of file.
4
ff55e1b5
GB
52014-08-29 Gary Benson <gbenson@redhat.com>
6
7 * common/common-exceptions.h: New file.
8 * common/common-exceptions.c: Likewise.
9 * Makefile.in (SFILES): Add common/common-exceptions.c.
10 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
11 (COMMON_OBS): Add common-exceptions.o.
12 (common-exceptions.o): New rule.
13 * exceptions.h (common-exceptions.h): Include.
14 (gdb_setjmp.h): Do not include.
15 (return_reason): Moved to common-exceptions.h.
16 (enum return_reason): Likewise.
17 (RETURN_MASK): Likewise.
18 (typedef return_mask): Likewise.
19 (enum errors): Likewise.
20 (struct gdb_exception): Likewise.
21 (exceptions_state_mc_init): Likewise.
22 (exceptions_state_mc_action_iter): Likewise.
23 (exceptions_state_mc_action_iter_1): Likewise.
24 (TRY_CATCH): Likewise.
25 (throw_exception): Likewise.
26 (throw_verror): Likewise.
27 (throw_vquit): Likewise.
28 (throw_error): Likewise.
29 (throw_quit): Likewise.
30 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
31 (enum catcher_action): Likewise.
32 (struct catcher): Likewise.
33 (current_catcher): Likewise.
34 (catcher_list_size): Likewise.
35 (exceptions_state_mc_init): Likewise.
36 (catcher_pop): Likewise.
37 (exceptions_state_mc): Likewise.
38 (exceptions_state_mc_action_iter): Likewise.
39 (exceptions_state_mc_action_iter_1): Likewise.
40 (throw_exception): Likewise.
41 (exception_messages): Likewise.
42 (exception_messages_size): Likewise.
43 (throw_it): Likewise.
44 (throw_verror): Likewise.
45 (throw_vquit): Likewise.
46 (throw_error): Likewise.
47 (throw_quit): Likewise.
48 (prepare_to_throw_exception): New function.
49
e9bcb658
GB
502014-08-29 Gary Benson <gbenson@redhat.com>
51
52 * common/gdb_setjmp.h: New file.
53 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
54 * configure.ac: Move sigsetjmp check...
55 * common/common.m4: ...here.
56 * configure: Regenerate.
57 * cp-support.c (SIGJMP_BUF): Delete.
58 (SIGSETJMP): Likewise.
59 (SIGLONGJMP): Likewise.
60 * exceptions.h (gdb_setjmp.h): Include.
61 (setjmp.h): Do not include.
62 (EXCEPTIONS_SIGJMP_BUF): Delete.
63 (EXCEPTIONS_SIGSETJMP): Likewise.
64 (EXCEPTIONS_SIGLONGJMP): Likewise.
65 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
66 from gdb_setjmp.h.
67 * exceptions.c: Likewise.
68
e3180625
GB
692014-08-29 Gary Benson <gbenson@redhat.com>
70
71 * cleanups.h: Moved to...
72 * common/cleanups.h: New file.
73 * cleanups.c: Moved to...
74 * common/cleanups.c: New file. Include common-defs.h and
75 cleanups.h. Do not include defs.h.
76 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
77 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
78 (cleanups.o): New rule.
79
e3d6ba5d
GB
802014-08-29 Gary Benson <gbenson@redhat.com>
81
82 * common/errors.h (internal_warning): New declaration.
83 (internal_vwarning): Likewise.
84 * common/errors.c (internal_warning): New function.
85 * utils.h (internal_warning): Don't declare.
86 (internal_vwarning): Likewise.
87 * utils.c (internal_warning): Removed.
88
075c7033
GB
892014-08-29 Gary Benson <gbenson@redhat.com>
90
91 * main.c (captured_main): Use warning during startup.
92 Prefix startup warning messages with command name.
93
91b35fd0
GB
942014-08-29 Gary Benson <gbenson@redhat.com>
95
96 * main.c (captured_main): Handle usage errors with error.
97
b1ec390e
GB
982014-08-29 Gary Benson <gbenson@redhat.com>
99
100 * go32-nat.c (go32_create_inferior): Replace a fprintf/
101 exit pair with a call to error. Wrap the message with _().
102
fd0ef3dd
GB
1032014-08-29 Gary Benson <gbenson@redhat.com>
104
105 * main.c (captured_main): Replace a fprintf/exit
106 pair with a call to error. Wrap the message with _().
107
e0e6bcab
GB
1082014-08-29 Gary Benson <gbenson@redhat.com>
109
110 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
111 pairs with calls to error. Wrap the message with _().
112
0d2f5c07
GB
1132014-08-29 Gary Benson <gbenson@redhat.com>
114
115 * utils.c (vwarning): Protect calls to target_terminal_ours
116 and wrap_here.
117
5df43998
GB
1182014-08-29 Gary Benson <gbenson@redhat.com>
119
120 * exceptions.c (print_flush): Protect calls to
121 target_terminal_ours and wrap_here.
122
2437fd32
GB
1232014-08-29 Gary Benson <gbenson@redhat.com>
124
125 * utils.h (filtered_printing_initialized): New declaration.
126 * utils.c (abort_with_message): New function.
127 (internal_vproblem): Use abort_with_message for first level
128 recursive internal problems, and if gdb_stderr is not set up.
129 Protect calls to target_terminal_ours, begin_line and query.
130
f1f58506
DE
1312014-08-28 Doug Evans <dje@google.com>
132
133 * symtab.c (in_prologue): Move definition to better spot.
134 (skip_prologue_using_sal): Ditto.
135
aab2f208
DE
1362014-08-28 Doug Evans <dje@google.com>
137
138 * symtab.c (find_function_start_sal): Move definition to better spot.
139
6b65d1b6
YQ
1402014-08-28 Yao Qi <yao@codesourcery.com>
141
142 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
143 found_stack_adjust in forward scan. Remove condition check
144 on found_stack_adjust which is always true. Indent the code.
145
a1b34d15
YQ
1462014-08-28 Yao Qi <yao@codesourcery.com>
147
148 * dwarf2read.c (dwarf_decode_lines): Update declaration.
149 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
150 (dwarf_decode_lines): Remove argument
151 want_line_info. Remove condition check on want_line_info.
152 Callers update.
153
d5962de5
DE
1542014-08-27 Doug Evans <dje@google.com>
155
156 * dwarf2read.c (dwarf_record_line): Fix typo.
157
9b139002
SDJ
1582014-08-27 Patrick Palka <patrick@parcs.ath.cx>
159
160 * target.h (struct target_ops::to_terminal_save_ours): Remove
161 declaration.
162 (target_terminal_save_ours): Remove macro.
163 * target-delegates.c: Regenerate.
164 * inf-child.c (inf_child_target): Don't set the nonexistent
165 field to_terminal_save_ours.
166 * inferior.h (child_terminal_save_ours): Remove declaration.
167 * terminal.h (gdb_save_tty_state): New declaration.
168 * inflow.c (child_terminal_save_ours): Rename to ...
169 (gdb_save_tty_state): ... this.
170 * tui/tui.c: Include terminal.h.
171 (tui_enable): Use gdb_save_tty_state instead of
172 target_terminal_save_ours.
173 (tui_disable): Likewise.
174
9debeba0
DE
1752014-08-25 Doug Evans <dje@google.com>
176
177 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
178 Pass NULL instead of 0 for context pointer.
179
428fc5fc
YQ
1802014-08-25 Yao Qi <yao@codesourcery.com>
181
182 * dwarf2read.c: Fix grammatical error.
183
cdc07690
YQ
1842014-08-24 Yao Qi <yao@codesourcery.com>
185
186 * dwarf2read.c (scan_partial_symbols): Update comments.
187 Rename argument 'need_pc' with 'set_addrmap'.
188 (add_partial_namespace): Rename argument 'need_pc' with
189 'set_addrmap'.
190 (add_partial_module): Likewise.
191 (add_partial_subprogram): Likewise. Update comments.
192 (dwarf2_name): Fix typo.
193
a05a36a5
DE
1942014-08-22 Doug Evans <dje@google.com>
195
196 PR 17276
197 * dwarf2read.c (dwarf_record_line_p): New function.
198 (dwarf_decode_lines_1): Ignore subsequent line number entries
199 for the same line if any entry had a non-zero discriminator.
200
252a6764
DE
2012014-08-22 Doug Evans <dje@google.com>
202
203 * buildsym.h (record_line_ftype): New typedef.
204 (record_line): Use it.
205 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
206 (dwarf_decode_lines_1): Call them.
207
510db052
YQ
2082014-08-22 Yao Qi <yao@codesourcery.com>
209
210 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
211 (ctf_end): Remove code.
212
22fd09ae
JK
2132014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
214
215 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
216 (linux_make_corefile_notes): call update_thread_list, protected against
217 exceptions.
218
656e8868
PA
2192014-08-21 Pedro Alves <palves@redhat.com>
220
221 * infcmd.c (attach_command): Remove comment.
222
de589d04
WN
2232014-08-21 Bin Cheng <bin.cheng@arm.com>
224
225 * aarch64-linux-nat.c (dr_changed_t): Change the type from
226 unsigned LONGEST to ULONGEST.
227
2a31c623
PA
2282014-08-20 Pedro Alves <palves@redhat.com>
229
230 * Makefile.in (check-read1): New rule.
231
d36430db
JB
2322014-08-20 Joel Brobecker <brobecker@adacore.com>
233
234 * value.c (value_from_contents_and_address): Strip resolved_type's
235 typedef layers before checking its TYPE_DATA_LOCATION.
236
000339af
PA
2372014-08-20 Pedro Alves <palves@redhat.com>
238
239 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
240
5f52445b
YQ
2412014-08-20 Yao Qi <yao@codesourcery.com>
242
243 * amd64-tdep.c (amd64_classify): Add a blank line after the
244 example. Move "*/" to a new line.
245 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
246 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
247 * dwarf2read.c (psymtab_include_file_name): Likewise.
248
9a0dc9e3
PA
2492014-08-19 Andrew Burgess <aburgess@broadcom.com>
250 Pedro Alves <palves@redhat.com>
251
252 PR symtab/14604
253 PR symtab/14605
254 * ada-lang.c (coerce_unspec_val_to_type): Use
255 value_contents_copy_raw.
256 * ada-valprint.c (val_print_packed_array_elements): Adjust.
257 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
258 * cp-valprint.c (cp_print_value_fields): Let the common printing
259 code handle optimized out values.
260 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
261 * d-valprint.c (dynamic_array_type): Use
262 value_bits_any_optimized_out.
263 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
264 check_any_valid fields.
265 (check_pieced_value_bits): Delete and inline ...
266 (check_pieced_synthetic_pointer): ... here.
267 (check_pieced_value_validity): Delete.
268 (check_pieced_value_invalid): Delete.
269 (pieced_value_funcs): Remove check_validity and check_any_valid
270 fields.
271 (read_pieced_value): Use mark_value_bits_optimized_out.
272 (write_pieced_value): Switch to use
273 mark_value_bytes_optimized_out.
274 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
275 of assuming the whole value is optimized out.
276 * findvar.c (read_frame_register_value): Remove special handling
277 of optimized out registers.
278 (value_from_register): Use mark_value_bytes_optimized_out.
279 * frame-unwind.c (frame_unwind_got_optimized): Use
280 mark_value_bytes_optimized_out.
281 * jv-valprint.c (java_value_print): Adjust.
282 (java_print_value_fields): Let the common printing code handle
283 optimized out values.
284 * mips-tdep.c (mips_print_register): Remove special handling of
285 optimized out registers.
286 * opencl-lang.c (lval_func_check_validity): Delete.
287 (lval_func_check_any_valid): Delete.
288 (opencl_value_funcs): Remove check_validity and check_any_valid
289 fields.
290 * p-valprint.c (pascal_object_print_value_fields): Let the common
291 printing code handle optimized out values.
292 * stack.c (read_frame_arg): Remove special handling of optimized
293 out values. Fetch both VAL and ENTRYVAL before comparing
294 contents. Adjust to value_available_contents_eq rename.
295 * valprint.c (valprint_check_validity)
296 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
297 (val_print_array_elements): Adjust.
298 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
299 (value_bits_any_optimized_out): New function.
300 (value_entirely_covered_by_range_vector): New function, factored
301 out from value_entirely_unavailable.
302 (value_entirely_unavailable): Reimplement.
303 (value_entirely_optimized_out): New function.
304 (insert_into_bit_range_vector): New function, factored out from
305 mark_value_bits_unavailable.
306 (mark_value_bits_unavailable): Reimplement.
307 (struct ranges_and_idx): New struct.
308 (find_first_range_overlap_and_match): New function, factored out
309 from value_available_contents_bits_eq.
310 (value_available_contents_bits_eq): Rename to ...
311 (value_contents_bits_eq): ... this. Check both unavailable
312 contents and optimized out contents.
313 (value_available_contents_eq): Rename to ...
314 (value_contents_eq): ... this.
315 (allocate_value_lazy): Remove reference to the old optimized_out
316 boolean.
317 (allocate_optimized_out_value): Use
318 mark_value_bytes_optimized_out.
319 (require_not_optimized_out): Adjust to check whether the
320 optimized_out vec is empty.
321 (ranges_copy_adjusted): New function, factored out from
322 value_contents_copy_raw.
323 (value_contents_copy_raw): Also copy the optimized out ranges.
324 Assert the destination ranges aren't optimized out.
325 (value_contents_copy): Update comment, remove call to
326 require_not_optimized_out.
327 (value_contents_equal): Adjust to check whether the optimized_out
328 vec is empty.
329 (set_value_optimized_out, value_optimized_out_const): Delete.
330 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
331 New functions.
332 (value_entirely_optimized_out, value_bits_valid): Delete.
333 (value_copy): Take a VEC copy of the 'optimized_out' field.
334 (value_primitive_field): Remove special handling of optimized out.
335 (value_fetch_lazy): Assert that lazy values have no unavailable
336 regions. Use value_bits_any_optimized_out. Remove some special
337 handling for optimized out values.
338 * value.h: Add intro comment about <optimized out> and
339 <unavailable>.
340 (struct lval_funcs): Remove check_validity and check_any_valid
341 fields.
342 (set_value_optimized_out, value_optimized_out_const): Remove.
343 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
344 New declarations.
345 (value_bits_any_optimized_out): New declaration.
346 (value_bits_valid): Delete declaration.
347 (value_available_contents_eq): Rename to ...
348 (value_contents_eq): ... this, and extend comments.
349
6694c411
JK
3502014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
351
352 Fix -fsanitize=address on unreadable inferior strings.
353 * valprint.c (val_print_string): Fix access before BUFFER.
354
89a1c21a
SM
3552014-08-19 Simon Marchi <simon.marchi@ericsson.com>
356
357 * target.c (target_struct_size): Remove.
358 (target_struct_allocsize): Remove.
359 (DEFAULT_ALLOCSIZE): Remove.
360 (target_ops_p): New typedef.
361 (DEF_VEC_P (target_ops_p)): New vector type.
362 (target_structs): Change type to VEC (target_ops_p).
363 (add_target_with_completer): Replace "push" code by VEC_safe_push.
364 (find_default_run_target): Rewrite for loop following changes to
365 target_structs.
366
cb417230
JB
3672014-08-19 Joel Brobecker <brobecker@adacore.com>
368
369 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
370 Adjust code accordingly. Adjust function description comment.
371
817e0957
YQ
3722014-08-19 Yao Qi <yao@codesourcery.com>
373
374 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
375 types.
376
2974be62
AM
3772014-08-19 Alan Modra <amodra@gmail.com>
378
379 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
380 * config.in: Regenerate.
381 * configure: Regenerate.
382
34abf635
GB
3832014-08-19 Tom Tromey <tromey@redhat.com>
384 Gary Benson <gbenson@redhat.com>
385
386 * common/common-debug.h: New file.
387 * common/common-debug.c: Likewise.
388 * debug.c: Likewise.
389 * Makefile.in (SFILES): Add common/common-debug.c.
390 (HFILES_NO_SRCDIR): Add common/common-debug.h.
391 (COMMON_OBS): Add common-debug.o and debug.o.
392 (common-debug.o): New rule.
393 * common/common-defs.h: Include common-debug.h.
394 * common/agent.c (debug_agent_printf): New function.
395 (DEBUG_AGENT): Redefine.
396 * nat/i386-dregs.c (debug_printf): Undefine.
397
f6e94d78
GB
3982014-08-19 Gary Benson <gbenson@redhat.com>
399
400 * common/common-defs.h: Include print-utils.h.
401 * utils.h: Do not include print-utils.h.
402
9239eeab
GB
4032014-08-19 Tom Tromey <tromey@redhat.com>
404 Gary Benson <gbenson@redhat.com>
405
406 * common/common-types.h: New file.
407 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
408 * common/common-defs.h: Include common-types.h.
409 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
410 (ULONGEST): Remove.
411
ef87c8bb
GB
4122014-08-19 Tom Tromey <tromey@redhat.com>
413 Gary Benson <gbenson@redhat.com>
414
415 * common/errors.h: New file.
416 * common/errors.c: Likewise.
417 * Makefile.in (SFILES): Add common/errors.c.
418 (HFILES_NO_SRCDIR): Add common/errors.h.
419 (COMMON_OBS): Add errors.o.
420 (errors.o): New rule.
421 * common/common-defs.h: Include errors.h.
422 * utils.h (perror_with_name, error, verror, warning, vwarning):
423 Don't declare.
424 * common/common-utils.h: (malloc_failure, internal_error):
425 Likewise.
426
196a707b
GB
4272014-08-19 Gary Benson <gbenson@redhat.com>
428
429 * utils.c (internal_vproblem): Always print the message.
430
ded4fc8f
DE
4312014-08-18 Doug Evans <dje@google.com>
432
433 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
434
950c97d8
JB
4352014-08-18 Joel Brobecker <brobecker@adacore.com>
436
437 * ada-typeprint.c (type_is_full_subrange_of_target_type):
438 Return 0 if TYPE is dynamic.
439 (print_range): Add handling of dynamic ranges.
440
3cdcd0ce
JB
4412014-08-18 Keven Boell <keven.boell@intel.com>
442 Joel Brobecker <brobecker@adacore.com>
443
444 * gdbtypes.h (struct main_type): Add field "data_location".
445 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
446 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
447 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
448 a dynamic data location.
449 (resolve_dynamic_type): Add DW_AT_data_location handling.
450 (copy_recursive, copy_type): Copy the data_location information
451 when present.
452 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
453 * value.c (value_from_contents_and_address): Add
454 DW_AT_data_location handling.
455
08412b07
JB
4562014-08-18 Keven Boell <keven.boell@intel.com>
457 Joel Brobecker <brobecker@adacore.com>
458
459 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
460 field "get_object_address".
461 * dwarf2expr.c (execute_stack_op): Add handling for
462 DW_OP_push_object_address.
463 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
464 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
465 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
466 (dwarf_expr_get_obj_addr): New function.
467 (dwarf_expr_ctx_funcs): Add get_object_address field.
468 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
469 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
470 (dwarf2_evaluate_property): Add parameter "address". Use it.
471 (needs_get_obj_addr): New function.
472 (needs_frame_ctx_funcs): Add get_object_address field.
473 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
474 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
475 (resolve_dynamic_array): Likewise.
476
84754697
JB
4772014-08-18 Joel Brobecker <brobecker@adacore.com>
478
479 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
480 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
481 fixed value for records and unions for which some GNAT encodings
482 are present.
483
da5c522f
JB
4842014-08-18 Joel Brobecker <brobecker@adacore.com>
485
486 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
487 rewrite to avoid "else if" and "else" constructs. Should be
488 a no-op in practice.
489
0d72a7c3
JB
4902014-08-18 Joel Brobecker <brobecker@adacore.com>
491
492 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
493 of lexical block.
494
e66d4446
SC
4952014-08-15 Siva Chandra Reddy <sivachandra@google.com>
496
497 PR c++/17132
498 * eval.c: Update all calls to find_overload_match.
499 * valarith.c: Likewise.
500 (value_user_defined_cpp_op, value_user_defined_op): New
501 argument NOSIDE. Update all callers.
502 * valops.c (find_overload_match): New argument NOSIDE.
503 * value.h (find_overload_match): Update signature.
504
940df408
SC
5052014-08-15 Siva Chandra Reddy <sivachandra@google.com>
506
507 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
508 'items' methods instead of 'iteritems' method on dictionaries.
509
699ca60a
DE
5102014-08-15 Doug Evans <dje@google.com>
511
512 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
513 closer to use.
514
37780ee5
DE
5152014-08-15 Doug Evans <dje@google.com>
516
517 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
518
0ad93d4f
DE
5192014-08-15 Doug Evans <dje@google.com>
520
521 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
522
20d8c372
DE
5232014-08-15 Doug Evans <dje@google.com>
524
525 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
526 unused.
527
cb039ba4
EZ
5282014-08-15 Eli Zaretskii <eliz@gnu.org>
529
530 * dcache.h: Include target.h, to avoid compile time warnings.
531
eb7a547a
JB
5322014-08-15 Joel Brobecker <brobecker@adacore.com>
533
534 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
535 frame_info" partial declaration.
536 * gdbarch.h: Regenerate.
537
783cecc8
YQ
5382014-08-15 Yao Qi <yao@codesourcery.com>
539
540 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
541 Add parameter 'decode_for_pst_p'. Callers update.
542
65c749e7
YQ
5432014-08-13 Yao Qi <yao@codesourcery.com>
544
545 PR build/17104
546 * configure.ac: Use local variable 'pos'.
547 * configure: Regenerated.
548
d769e349
DE
5492014-08-11 Doug Evans <dje@google.com>
550
551 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
552 message, it is redundant with "Reading symbols from ..." message.
553
24f1235e
DE
5542014-08-10 Doug Evans <xdje42@gmail.com>
555
556 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
557
dcd2e6ef
YQ
5582014-08-09 Yao Qi <yao@codesourcery.com>
559
560 PR remote/9053
561 * remote.c (remote_xfer_partial): Remove dead code.
562
070bdf0b
AA
5632014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
564
565 * ia64-linux-tdep.c: Include "regset.h".
566 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
567 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
568 (ia64_linux_supply_fpregset): New function.
569 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
570 (ia64_linux_regset_from_core_section): New function.
571 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
572 method.
573
08f9f542
AA
5742014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
575
576 * m68klinux-tdep.c: Include "regset.h".
577 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
578 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
579 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
580 (m68k_linux_regset_from_core_section): New function.
581 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
582 method.
583
8f1cee41
AA
5842014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
585
586 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
587 function. Move logic to...
588 (tilegx_linux_regmap): ... this new register map.
589 (tilegx_linux_regset): Refer to register map, replace supply
590 method by regcache_supply_regset, and add collect method.
591 * tilegx-tdep.h (enum tilegx_regnum): New enum value
592 TILEGX_FIRST_EASY_REGNUM.
593
c5741217
AA
5942014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
595
596 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
597 that calls regcache_supply_regset and handles the EPC register
598 separately. Move main logic to...
599 (score7_linux_gregmap): ... this new register map.
600 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
601 (score7_linux_gregset): Refer to register map. Add collect method.
602 (score7_linux_regset_from_core_section): Replace
603 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
604 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
605 (struct regset): Delete unused forward declaraction.
606 (struct pt_regs): Delete structure definition.
607 (elf_gregset_t): Delete typedef.
608
81580573
AA
6092014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
610
611 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
612 (nios2_core_regset): Add collect method.
613
ba199d7d
AA
6142014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
615
616 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
617 platform-independent and don't write to read-only input buffer.
618 (m32r_linux_collect_gregset): New function.
619 (m32r_linux_gregset): Add collect method.
620
0006a9da
AA
6212014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
622
623 * hppa-linux-tdep.c (greg_map): Rename to...
624 (hppa_linux_gregmap): ... this. Also convert to
625 regcache_map_entry format.
626 (hppa_linux_supply_regset): Delete function.
627 (hppa_linux_supply_fpregset): Delete function. Move logic to...
628 (hppa_linux_fpregmap): ... this new register map.
629 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
630 register map, replace supply method by regcache_supply_regset, and
631 add collect method regcache_collect_regset.
632
901e1b23
AA
6332014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
634
635 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
636 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
637 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
638 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
639 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
640 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
641 (frv_linux_supply_gregset): Replace main logic by call to
642 regcache_supply_regset, but keep clearing gr32-gr63.
643 (frv_linux_supply_fpregset): Delete function.
644 (frv_linux_gregset): Refer to appropriate register map and add
645 regcache_collect_regset as the collect method.
646 (frv_linux_fpregset): Likewise. Also exchange the supply method
647 by regcache_supply_regset.
648
1d6e7555
AA
6492014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
650
651 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
652 by call to alpha_supply_int_regs.
653 (alpha_linux_collect_gregset): New function.
654 (alpha_linux_supply_fpregset): Replace logic by call to
655 alpha_supply_fp_regs.
656 (alpha_linux_collect_fpregset): New function.
657 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
658
d4d793bf
AA
6592014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
660
661 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
662 by call to regcache_collect_regset.
663 (supply_gregset, supply_fpregset): Call regcache_supply_regset
664 instead of aarch64_linux_supply_gregset/_fpregset.
665 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
666 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
667 header file instead.
668 (aarch64_linux_supply_gregset, supply_gregset_from_core)
669 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
670 functions. Move logic to ...
671 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
672 register maps.
673 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
674 refer to new register maps, replace *_regset_from_core by
675 regcache_supply_regset, and also use regcache_collect_regset.
676 * aarch64-linux-tdep.h: Include "regset.h".
677 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
678 Delete prototypes.
679 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
680 macros, moved from C source file.
681 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
682 variable declarations.
683
99b7da5d
AA
6842014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
685
686 * s390-linux-nat.c: Include "regset.h".
687 (regmap_gregset): Delete macro.
688 (s390_64_regmap_gregset): New register map for
689 regcache_supply/_collect_regset.
690 (s390_64_gregset): New regset.
691 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
692 (regmap_fpregset): Delete macro.
693 (s390_native_supply, s390_native_collect): Delete functions.
694 (supply_gregset, fill_gregset): Replace s390-specific regmap
695 handling by a call to regcache_supply/_collect_regset.
696 (supply_fpregset, fill_fpregset): Call regcache_supply/
697 _collect_regset instead of s390_native_supply/_collect.
698 (fetch_regset, store_regset): Likewise. Also change the last
699 parameter to a regset instead of a regmap.
700 (s390_linux_fetch_inferior_registers)
701 (390_linux_store_inferior_registers): Adjust last parameter in
702 calls to fetch_regset and store_regset.
703 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
704 (s390_gregmap): ... this. Also make static const and convert to
705 regcache_map_entry format.
706 (s390x_regmap_gregset): Delete.
707 (s390_regmap_fpregset): Rename to...
708 (s390_fpregmap): ... this. Make static const and convert to
709 regcache_map_entry format.
710 (s390_regmap_upper, s390_regmap_last_break)
711 (s390x_regmap_last_break, s390_regmap_system_call)
712 (s390_regmap_tdb): Likewise.
713 (s390_supply_regset, s390_collect_regset): Remove functions.
714 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
715 s390_supply_regset.
716 (s390_gregset, s390_fpregset, s390_upper_regset)
717 (s390_last_break_regset, s390x_last_break_regset)
718 (s390_system_call_regset, s390_tdb_regset): Make global and
719 replace s390_supply/_collect_regset by regcache_supply/
720 _collect_regset.
721 (s390x_gregset): Delete.
722 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
723 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
724 (s390_regmap_fpregset, s390_regmap_last_break)
725 (s390x_regmap_last_break, s390_regmap_system_call)
726 (s390_regmap_tdb): Delete global variable declarations.
727 (s390_gregset, s390_fpregset, s390_last_break_regset)
728 (s390x_last_break_regset, s390_system_call_regset)
729 (s390_tdb_regset): New global variable declarations.
730
0b309272
AA
7312014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
732
733 * regcache.c: Include "regset.h".
734 (regcache_transfer_regset): New local function.
735 (regcache_supply_regset, regcache_collect_regset): New functions.
736 * regcache.h (struct regcache_map_entry): New structure.
737 (REGCACHE_MAP_SKIP): New enum value.
738 (regcache_supply_regset, regcache_collect_regset): New prototypes.
739
7fefa8d7
AA
7402014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
741
742 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
743 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
744 (ppc_linux_collect_gregset ): Likewise.
745 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
746 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
747 (ppc_collect_vrregset): Likewise.
748 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
749 Likewise.
750
96c4f946
YQ
7512014-08-07 Yao Qi <yao@codesourcery.com>
752
753 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
754 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
755 * remote.c (remote_read_bytes): Likewise.
756
fffbe6a8
YQ
7572014-08-07 Yao Qi <yao@codesourcery.com>
758
759 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
760
5ee8a82c
YQ
7612014-08-07 Yao Qi <yao@codesourcery.com>
762
763 PR remote/17230
764 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
765 TARGET_XFER_OK instead of 0.
766
bb974a24
GB
7672014-08-07 Gary Benson <gbenson@redhat.com>
768
769 * common/common-defs.h: Include errno.h.
770 * defs.h: Do not include errno.h.
771 * ada-typeprint.c: Likewise.
772 * c-typeprint.c: Likewise.
773 * core-regset.c: Likewise.
774 * corefile.c: Likewise.
775 * corelow.c: Likewise.
776 * event-loop.c: Likewise.
777 * f-typeprint.c: Likewise.
778 * gnu-nat.c: Likewise.
779 * go32-nat.c: Likewise.
780 * i386gnu-nat.c: Likewise.
781 * m2-typeprint.c: Likewise.
782 * nat/linux-btrace.c: Likewise.
783 * p-typeprint.c: Likewise.
784 * procfs.c: Likewise.
785 * remote-sim.c: Likewise.
786 * rs6000-nat.c: Likewise.
787 * target.c: Likewise.
788 * typeprint.c: Likewise.
789 * ui-file.c: Likewise.
790 * valops.c: Likewise.
791 * valprint.c: Likewise.
792
6d3d12eb
GB
7932014-08-07 Gary Benson <gbenson@redhat.com>
794
795 * common/common-defs.h: Include string.h.
796 * aarch64-tdep.c: Do not include string.h.
797 * ada-exp.y: Likewise.
798 * ada-lang.c: Likewise.
799 * ada-lex.l: Likewise.
800 * ada-typeprint.c: Likewise.
801 * ada-valprint.c: Likewise.
802 * aix-thread.c: Likewise.
803 * alpha-linux-tdep.c: Likewise.
804 * alpha-mdebug-tdep.c: Likewise.
805 * alpha-nat.c: Likewise.
806 * alpha-osf1-tdep.c: Likewise.
807 * alpha-tdep.c: Likewise.
808 * alphanbsd-tdep.c: Likewise.
809 * amd64-dicos-tdep.c: Likewise.
810 * amd64-linux-tdep.c: Likewise.
811 * amd64-nat.c: Likewise.
812 * amd64-sol2-tdep.c: Likewise.
813 * amd64fbsd-tdep.c: Likewise.
814 * amd64obsd-tdep.c: Likewise.
815 * arch-utils.c: Likewise.
816 * arm-linux-nat.c: Likewise.
817 * arm-linux-tdep.c: Likewise.
818 * arm-tdep.c: Likewise.
819 * arm-wince-tdep.c: Likewise.
820 * armbsd-tdep.c: Likewise.
821 * armnbsd-nat.c: Likewise.
822 * armnbsd-tdep.c: Likewise.
823 * armobsd-tdep.c: Likewise.
824 * avr-tdep.c: Likewise.
825 * ax-gdb.c: Likewise.
826 * ax-general.c: Likewise.
827 * bcache.c: Likewise.
828 * bfin-tdep.c: Likewise.
829 * breakpoint.c: Likewise.
830 * build-id.c: Likewise.
831 * buildsym.c: Likewise.
832 * c-exp.y: Likewise.
833 * c-lang.c: Likewise.
834 * c-typeprint.c: Likewise.
835 * c-valprint.c: Likewise.
836 * charset.c: Likewise.
837 * cli-out.c: Likewise.
838 * cli/cli-cmds.c: Likewise.
839 * cli/cli-decode.c: Likewise.
840 * cli/cli-dump.c: Likewise.
841 * cli/cli-interp.c: Likewise.
842 * cli/cli-logging.c: Likewise.
843 * cli/cli-script.c: Likewise.
844 * cli/cli-setshow.c: Likewise.
845 * cli/cli-utils.c: Likewise.
846 * coffread.c: Likewise.
847 * common/agent.c: Likewise.
848 * common/buffer.c: Likewise.
849 * common/buffer.h: Likewise.
850 * common/common-utils.c: Likewise.
851 * common/filestuff.c: Likewise.
852 * common/filestuff.c: Likewise.
853 * common/format.c: Likewise.
854 * common/print-utils.c: Likewise.
855 * common/rsp-low.c: Likewise.
856 * common/signals.c: Likewise.
857 * common/vec.h: Likewise.
858 * common/xml-utils.c: Likewise.
859 * core-regset.c: Likewise.
860 * corefile.c: Likewise.
861 * corelow.c: Likewise.
862 * cp-abi.c: Likewise.
863 * cp-name-parser.y: Likewise.
864 * cp-support.c: Likewise.
865 * cp-valprint.c: Likewise.
866 * cris-tdep.c: Likewise.
867 * d-exp.y: Likewise.
868 * darwin-nat.c: Likewise.
869 * dbxread.c: Likewise.
870 * dcache.c: Likewise.
871 * demangle.c: Likewise.
872 * dicos-tdep.c: Likewise.
873 * disasm.c: Likewise.
874 * doublest.c: Likewise.
875 * dsrec.c: Likewise.
876 * dummy-frame.c: Likewise.
877 * dwarf2-frame.c: Likewise.
878 * dwarf2loc.c: Likewise.
879 * dwarf2read.c: Likewise.
880 * elfread.c: Likewise.
881 * environ.c: Likewise.
882 * eval.c: Likewise.
883 * event-loop.c: Likewise.
884 * exceptions.c: Likewise.
885 * exec.c: Likewise.
886 * expprint.c: Likewise.
887 * f-exp.y: Likewise.
888 * f-lang.c: Likewise.
889 * f-typeprint.c: Likewise.
890 * f-valprint.c: Likewise.
891 * fbsd-nat.c: Likewise.
892 * findcmd.c: Likewise.
893 * findvar.c: Likewise.
894 * fork-child.c: Likewise.
895 * frame.c: Likewise.
896 * frv-linux-tdep.c: Likewise.
897 * frv-tdep.c: Likewise.
898 * gdb.c: Likewise.
899 * gdb_bfd.c: Likewise.
900 * gdbarch.c: Likewise.
901 * gdbarch.sh: Likewise.
902 * gdbtypes.c: Likewise.
903 * gnu-nat.c: Likewise.
904 * gnu-v2-abi.c: Likewise.
905 * gnu-v3-abi.c: Likewise.
906 * go-exp.y: Likewise.
907 * go-lang.c: Likewise.
908 * go32-nat.c: Likewise.
909 * guile/guile.c: Likewise.
910 * guile/scm-auto-load.c: Likewise.
911 * hppa-hpux-tdep.c: Likewise.
912 * hppa-linux-nat.c: Likewise.
913 * hppanbsd-tdep.c: Likewise.
914 * hppaobsd-tdep.c: Likewise.
915 * i386-cygwin-tdep.c: Likewise.
916 * i386-dicos-tdep.c: Likewise.
917 * i386-linux-tdep.c: Likewise.
918 * i386-nto-tdep.c: Likewise.
919 * i386-sol2-tdep.c: Likewise.
920 * i386-tdep.c: Likewise.
921 * i386bsd-tdep.c: Likewise.
922 * i386gnu-nat.c: Likewise.
923 * i386nbsd-tdep.c: Likewise.
924 * i386obsd-tdep.c: Likewise.
925 * i387-tdep.c: Likewise.
926 * ia64-libunwind-tdep.c: Likewise.
927 * ia64-linux-nat.c: Likewise.
928 * inf-child.c: Likewise.
929 * inf-ptrace.c: Likewise.
930 * inf-ttrace.c: Likewise.
931 * infcall.c: Likewise.
932 * infcmd.c: Likewise.
933 * inflow.c: Likewise.
934 * infrun.c: Likewise.
935 * interps.c: Likewise.
936 * iq2000-tdep.c: Likewise.
937 * irix5-nat.c: Likewise.
938 * jv-exp.y: Likewise.
939 * jv-lang.c: Likewise.
940 * jv-typeprint.c: Likewise.
941 * jv-valprint.c: Likewise.
942 * language.c: Likewise.
943 * linux-fork.c: Likewise.
944 * linux-nat.c: Likewise.
945 * lm32-tdep.c: Likewise.
946 * m2-exp.y: Likewise.
947 * m2-typeprint.c: Likewise.
948 * m32c-tdep.c: Likewise.
949 * m32r-linux-nat.c: Likewise.
950 * m32r-linux-tdep.c: Likewise.
951 * m32r-rom.c: Likewise.
952 * m32r-tdep.c: Likewise.
953 * m68hc11-tdep.c: Likewise.
954 * m68k-tdep.c: Likewise.
955 * m68kbsd-tdep.c: Likewise.
956 * m68klinux-nat.c: Likewise.
957 * m68klinux-tdep.c: Likewise.
958 * m88k-tdep.c: Likewise.
959 * machoread.c: Likewise.
960 * macrocmd.c: Likewise.
961 * main.c: Likewise.
962 * mdebugread.c: Likewise.
963 * mem-break.c: Likewise.
964 * memattr.c: Likewise.
965 * memory-map.c: Likewise.
966 * mep-tdep.c: Likewise.
967 * mi/mi-cmd-break.c: Likewise.
968 * mi/mi-cmd-disas.c: Likewise.
969 * mi/mi-cmd-env.c: Likewise.
970 * mi/mi-cmd-stack.c: Likewise.
971 * mi/mi-cmd-var.c: Likewise.
972 * mi/mi-cmds.c: Likewise.
973 * mi/mi-console.c: Likewise.
974 * mi/mi-getopt.c: Likewise.
975 * mi/mi-interp.c: Likewise.
976 * mi/mi-main.c: Likewise.
977 * mi/mi-parse.c: Likewise.
978 * microblaze-rom.c: Likewise.
979 * microblaze-tdep.c: Likewise.
980 * mingw-hdep.c: Likewise.
981 * minidebug.c: Likewise.
982 * minsyms.c: Likewise.
983 * mips-irix-tdep.c: Likewise.
984 * mips-linux-tdep.c: Likewise.
985 * mips-tdep.c: Likewise.
986 * mips64obsd-tdep.c: Likewise.
987 * mipsnbsd-tdep.c: Likewise.
988 * mipsread.c: Likewise.
989 * mn10300-linux-tdep.c: Likewise.
990 * mn10300-tdep.c: Likewise.
991 * monitor.c: Likewise.
992 * moxie-tdep.c: Likewise.
993 * mt-tdep.c: Likewise.
994 * nat/linux-btrace.c: Likewise.
995 * nat/linux-osdata.c: Likewise.
996 * nat/linux-procfs.c: Likewise.
997 * nat/linux-ptrace.c: Likewise.
998 * nat/linux-waitpid.c: Likewise.
999 * nbsd-tdep.c: Likewise.
1000 * nios2-linux-tdep.c: Likewise.
1001 * nto-procfs.c: Likewise.
1002 * nto-tdep.c: Likewise.
1003 * objc-lang.c: Likewise.
1004 * objfiles.c: Likewise.
1005 * opencl-lang.c: Likewise.
1006 * osabi.c: Likewise.
1007 * osdata.c: Likewise.
1008 * p-exp.y: Likewise.
1009 * p-lang.c: Likewise.
1010 * p-typeprint.c: Likewise.
1011 * parse.c: Likewise.
1012 * posix-hdep.c: Likewise.
1013 * ppc-linux-nat.c: Likewise.
1014 * ppc-sysv-tdep.c: Likewise.
1015 * ppcfbsd-tdep.c: Likewise.
1016 * ppcnbsd-tdep.c: Likewise.
1017 * ppcobsd-tdep.c: Likewise.
1018 * printcmd.c: Likewise.
1019 * procfs.c: Likewise.
1020 * prologue-value.c: Likewise.
1021 * python/py-auto-load.c: Likewise.
1022 * python/py-gdb-readline.c: Likewise.
1023 * ravenscar-thread.c: Likewise.
1024 * regcache.c: Likewise.
1025 * registry.c: Likewise.
1026 * remote-fileio.c: Likewise.
1027 * remote-m32r-sdi.c: Likewise.
1028 * remote-mips.c: Likewise.
1029 * remote-notif.c: Likewise.
1030 * remote-sim.c: Likewise.
1031 * remote.c: Likewise.
1032 * reverse.c: Likewise.
1033 * rs6000-aix-tdep.c: Likewise.
1034 * ser-base.c: Likewise.
1035 * ser-go32.c: Likewise.
1036 * ser-mingw.c: Likewise.
1037 * ser-pipe.c: Likewise.
1038 * ser-tcp.c: Likewise.
1039 * ser-unix.c: Likewise.
1040 * serial.c: Likewise.
1041 * sh-tdep.c: Likewise.
1042 * sh64-tdep.c: Likewise.
1043 * shnbsd-tdep.c: Likewise.
1044 * skip.c: Likewise.
1045 * sol-thread.c: Likewise.
1046 * solib-dsbt.c: Likewise.
1047 * solib-frv.c: Likewise.
1048 * solib-osf.c: Likewise.
1049 * solib-som.c: Likewise.
1050 * solib-spu.c: Likewise.
1051 * solib-target.c: Likewise.
1052 * solib.c: Likewise.
1053 * somread.c: Likewise.
1054 * source.c: Likewise.
1055 * sparc-nat.c: Likewise.
1056 * sparc-sol2-tdep.c: Likewise.
1057 * sparc-tdep.c: Likewise.
1058 * sparc64-tdep.c: Likewise.
1059 * sparc64fbsd-tdep.c: Likewise.
1060 * sparc64nbsd-tdep.c: Likewise.
1061 * sparcnbsd-tdep.c: Likewise.
1062 * spu-linux-nat.c: Likewise.
1063 * spu-multiarch.c: Likewise.
1064 * spu-tdep.c: Likewise.
1065 * stabsread.c: Likewise.
1066 * stack.c: Likewise.
1067 * std-regs.c: Likewise.
1068 * symfile.c: Likewise.
1069 * symmisc.c: Likewise.
1070 * symtab.c: Likewise.
1071 * target.c: Likewise.
1072 * thread.c: Likewise.
1073 * tilegx-linux-nat.c: Likewise.
1074 * tilegx-tdep.c: Likewise.
1075 * top.c: Likewise.
1076 * tracepoint.c: Likewise.
1077 * tui/tui-command.c: Likewise.
1078 * tui/tui-data.c: Likewise.
1079 * tui/tui-disasm.c: Likewise.
1080 * tui/tui-file.c: Likewise.
1081 * tui/tui-layout.c: Likewise.
1082 * tui/tui-out.c: Likewise.
1083 * tui/tui-regs.c: Likewise.
1084 * tui/tui-source.c: Likewise.
1085 * tui/tui-stack.c: Likewise.
1086 * tui/tui-win.c: Likewise.
1087 * tui/tui-windata.c: Likewise.
1088 * tui/tui-winsource.c: Likewise.
1089 * typeprint.c: Likewise.
1090 * ui-file.c: Likewise.
1091 * ui-out.c: Likewise.
1092 * user-regs.c: Likewise.
1093 * utils.c: Likewise.
1094 * v850-tdep.c: Likewise.
1095 * valarith.c: Likewise.
1096 * valops.c: Likewise.
1097 * valprint.c: Likewise.
1098 * value.c: Likewise.
1099 * varobj.c: Likewise.
1100 * vax-tdep.c: Likewise.
1101 * vaxnbsd-tdep.c: Likewise.
1102 * vaxobsd-tdep.c: Likewise.
1103 * windows-nat.c: Likewise.
1104 * xcoffread.c: Likewise.
1105 * xml-support.c: Likewise.
1106 * xstormy16-tdep.c: Likewise.
1107 * xtensa-linux-nat.c: Likewise.
1108
dccbb609
GB
11092014-08-07 Gary Benson <gbenson@redhat.com>
1110
1111 * common/common-defs.h: Include gdb_assert.h.
1112 * aarch64-tdep.c: Do not include gdb_assert.h.
1113 * addrmap.c: Likewise.
1114 * aix-thread.c: Likewise.
1115 * alpha-linux-tdep.c: Likewise.
1116 * alpha-mdebug-tdep.c: Likewise.
1117 * alphanbsd-tdep.c: Likewise.
1118 * amd64-nat.c: Likewise.
1119 * amd64-tdep.c: Likewise.
1120 * amd64bsd-nat.c: Likewise.
1121 * amd64fbsd-nat.c: Likewise.
1122 * amd64fbsd-tdep.c: Likewise.
1123 * amd64nbsd-nat.c: Likewise.
1124 * amd64nbsd-tdep.c: Likewise.
1125 * amd64obsd-nat.c: Likewise.
1126 * amd64obsd-tdep.c: Likewise.
1127 * arch-utils.c: Likewise.
1128 * arm-tdep.c: Likewise.
1129 * armbsd-tdep.c: Likewise.
1130 * auxv.c: Likewise.
1131 * bcache.c: Likewise.
1132 * bfin-tdep.c: Likewise.
1133 * blockframe.c: Likewise.
1134 * breakpoint.c: Likewise.
1135 * bsd-kvm.c: Likewise.
1136 * bsd-uthread.c: Likewise.
1137 * buildsym.c: Likewise.
1138 * c-exp.y: Likewise.
1139 * c-lang.c: Likewise.
1140 * charset.c: Likewise.
1141 * cleanups.c: Likewise.
1142 * cli-out.c: Likewise.
1143 * cli/cli-decode.c: Likewise.
1144 * cli/cli-dump.c: Likewise.
1145 * cli/cli-logging.c: Likewise.
1146 * cli/cli-script.c: Likewise.
1147 * cli/cli-utils.c: Likewise.
1148 * coffread.c: Likewise.
1149 * common/common-utils.c: Likewise.
1150 * common/queue.h: Likewise.
1151 * common/signals.c: Likewise.
1152 * common/vec.h: Likewise.
1153 * complaints.c: Likewise.
1154 * completer.c: Likewise.
1155 * corelow.c: Likewise.
1156 * cp-abi.c: Likewise.
1157 * cp-name-parser.y: Likewise.
1158 * cp-namespace.c: Likewise.
1159 * cp-support.c: Likewise.
1160 * cris-tdep.c: Likewise.
1161 * dbxread.c: Likewise.
1162 * dictionary.c: Likewise.
1163 * doublest.c: Likewise.
1164 * dsrec.c: Likewise.
1165 * dummy-frame.c: Likewise.
1166 * dwarf2-frame-tailcall.c: Likewise.
1167 * dwarf2-frame.c: Likewise.
1168 * dwarf2expr.c: Likewise.
1169 * dwarf2loc.c: Likewise.
1170 * dwarf2read.c: Likewise.
1171 * eval.c: Likewise.
1172 * event-loop.c: Likewise.
1173 * exceptions.c: Likewise.
1174 * expprint.c: Likewise.
1175 * f-valprint.c: Likewise.
1176 * fbsd-nat.c: Likewise.
1177 * findvar.c: Likewise.
1178 * frame-unwind.c: Likewise.
1179 * frame.c: Likewise.
1180 * frv-tdep.c: Likewise.
1181 * gcore.c: Likewise.
1182 * gdb-dlfcn.c: Likewise.
1183 * gdb_bfd.c: Likewise.
1184 * gdbarch.c: Likewise.
1185 * gdbarch.sh: Likewise.
1186 * gdbtypes.c: Likewise.
1187 * gnu-nat.c: Likewise.
1188 * gnu-v3-abi.c: Likewise.
1189 * go-lang.c: Likewise.
1190 * guile/scm-exception.c: Likewise.
1191 * guile/scm-gsmob.c: Likewise.
1192 * guile/scm-lazy-string.c: Likewise.
1193 * guile/scm-math.c: Likewise.
1194 * guile/scm-pretty-print.c: Likewise.
1195 * guile/scm-safe-call.c: Likewise.
1196 * guile/scm-utils.c: Likewise.
1197 * guile/scm-value.c: Likewise.
1198 * h8300-tdep.c: Likewise.
1199 * hppa-hpux-nat.c: Likewise.
1200 * hppa-tdep.c: Likewise.
1201 * hppanbsd-tdep.c: Likewise.
1202 * hppaobsd-tdep.c: Likewise.
1203 * i386-darwin-nat.c: Likewise.
1204 * i386-darwin-tdep.c: Likewise.
1205 * i386-nto-tdep.c: Likewise.
1206 * i386-tdep.c: Likewise.
1207 * i386bsd-nat.c: Likewise.
1208 * i386fbsd-tdep.c: Likewise.
1209 * i386gnu-nat.c: Likewise.
1210 * i386nbsd-tdep.c: Likewise.
1211 * i386obsd-tdep.c: Likewise.
1212 * i387-tdep.c: Likewise.
1213 * ia64-libunwind-tdep.c: Likewise.
1214 * ia64-tdep.c: Likewise.
1215 * inf-ptrace.c: Likewise.
1216 * inf-ttrace.c: Likewise.
1217 * infcall.c: Likewise.
1218 * infcmd.c: Likewise.
1219 * infrun.c: Likewise.
1220 * inline-frame.c: Likewise.
1221 * interps.c: Likewise.
1222 * jv-lang.c: Likewise.
1223 * jv-typeprint.c: Likewise.
1224 * linux-fork.c: Likewise.
1225 * linux-nat.c: Likewise.
1226 * linux-thread-db.c: Likewise.
1227 * m32c-tdep.c: Likewise.
1228 * m32r-linux-nat.c: Likewise.
1229 * m32r-tdep.c: Likewise.
1230 * m68k-tdep.c: Likewise.
1231 * m68kbsd-nat.c: Likewise.
1232 * m68kbsd-tdep.c: Likewise.
1233 * m88k-tdep.c: Likewise.
1234 * machoread.c: Likewise.
1235 * macroexp.c: Likewise.
1236 * macrotab.c: Likewise.
1237 * maint.c: Likewise.
1238 * mdebugread.c: Likewise.
1239 * memory-map.c: Likewise.
1240 * mep-tdep.c: Likewise.
1241 * mi/mi-common.c: Likewise.
1242 * microblaze-tdep.c: Likewise.
1243 * mingw-hdep.c: Likewise.
1244 * mips-linux-nat.c: Likewise.
1245 * mips-linux-tdep.c: Likewise.
1246 * mips-tdep.c: Likewise.
1247 * mips64obsd-tdep.c: Likewise.
1248 * mipsnbsd-tdep.c: Likewise.
1249 * mn10300-linux-tdep.c: Likewise.
1250 * mn10300-tdep.c: Likewise.
1251 * moxie-tdep.c: Likewise.
1252 * mt-tdep.c: Likewise.
1253 * nat/linux-btrace.c: Likewise.
1254 * nat/linux-osdata.c: Likewise.
1255 * nat/linux-ptrace.c: Likewise.
1256 * nat/mips-linux-watch.c: Likewise.
1257 * nios2-linux-tdep.c: Likewise.
1258 * nios2-tdep.c: Likewise.
1259 * objc-lang.c: Likewise.
1260 * objfiles.c: Likewise.
1261 * obsd-nat.c: Likewise.
1262 * opencl-lang.c: Likewise.
1263 * osabi.c: Likewise.
1264 * parse.c: Likewise.
1265 * ppc-linux-nat.c: Likewise.
1266 * ppc-sysv-tdep.c: Likewise.
1267 * ppcfbsd-nat.c: Likewise.
1268 * ppcfbsd-tdep.c: Likewise.
1269 * ppcnbsd-nat.c: Likewise.
1270 * ppcnbsd-tdep.c: Likewise.
1271 * ppcobsd-nat.c: Likewise.
1272 * ppcobsd-tdep.c: Likewise.
1273 * printcmd.c: Likewise.
1274 * procfs.c: Likewise.
1275 * prologue-value.c: Likewise.
1276 * psymtab.c: Likewise.
1277 * python/py-lazy-string.c: Likewise.
1278 * python/py-value.c: Likewise.
1279 * regcache.c: Likewise.
1280 * reggroups.c: Likewise.
1281 * registry.c: Likewise.
1282 * remote-sim.c: Likewise.
1283 * remote.c: Likewise.
1284 * rs6000-aix-tdep.c: Likewise.
1285 * rs6000-tdep.c: Likewise.
1286 * s390-linux-tdep.c: Likewise.
1287 * score-tdep.c: Likewise.
1288 * ser-base.c: Likewise.
1289 * ser-mingw.c: Likewise.
1290 * sh-tdep.c: Likewise.
1291 * sh64-tdep.c: Likewise.
1292 * solib-darwin.c: Likewise.
1293 * solib-spu.c: Likewise.
1294 * solib-svr4.c: Likewise.
1295 * source.c: Likewise.
1296 * sparc-nat.c: Likewise.
1297 * sparc-sol2-tdep.c: Likewise.
1298 * sparc-tdep.c: Likewise.
1299 * sparc64-sol2-tdep.c: Likewise.
1300 * sparc64-tdep.c: Likewise.
1301 * sparc64fbsd-tdep.c: Likewise.
1302 * sparc64nbsd-tdep.c: Likewise.
1303 * sparc64obsd-tdep.c: Likewise.
1304 * sparcnbsd-tdep.c: Likewise.
1305 * sparcobsd-tdep.c: Likewise.
1306 * spu-multiarch.c: Likewise.
1307 * spu-tdep.c: Likewise.
1308 * stabsread.c: Likewise.
1309 * stack.c: Likewise.
1310 * symfile.c: Likewise.
1311 * symtab.c: Likewise.
1312 * target-descriptions.c: Likewise.
1313 * target-memory.c: Likewise.
1314 * target.c: Likewise.
1315 * tic6x-linux-tdep.c: Likewise.
1316 * tic6x-tdep.c: Likewise.
1317 * tilegx-linux-nat.c: Likewise.
1318 * tilegx-tdep.c: Likewise.
1319 * top.c: Likewise.
1320 * tramp-frame.c: Likewise.
1321 * tui/tui-out.c: Likewise.
1322 * tui/tui-winsource.c: Likewise.
1323 * ui-out.c: Likewise.
1324 * user-regs.c: Likewise.
1325 * utils.c: Likewise.
1326 * v850-tdep.c: Likewise.
1327 * valops.c: Likewise.
1328 * value.c: Likewise.
1329 * varobj.c: Likewise.
1330 * vax-nat.c: Likewise.
1331 * xml-syscall.c: Likewise.
1332 * xml-tdesc.c: Likewise.
1333 * xstormy16-tdep.c: Likewise.
1334 * xtensa-linux-nat.c: Likewise.
1335 * xtensa-tdep.c: Likewise.
1336
e76df0d0
GB
13372014-08-07 Gary Benson <gbenson@redhat.com>
1338
1339 * common/common-defs.h: Include common-utils.h.
1340 * defs.h: Do not include common-utils.h.
1341 * common/gdb_assert.h: Likewise.
1342 * darwin-nat.h: Likewise.
1343 * nat/linux-btrace.c: Likewise.
1344 * target/waitstatus.h: Likewise.
1345
4cb9c816
GB
13462014-08-07 Gary Benson <gbenson@redhat.com>
1347
1348 * common/common-defs.h: Include ptid.h.
1349 * defs.h: Do not include ptid.h.
1350 * inferior.h: Likewise.
1351 * infrun.h: Likewise.
1352 * nat/linux-btrace.h: Likewise.
1353 * nat/linux-osdata.h: Likewise.
1354 * target/waitstatus.h: Likewise.
1355
3995eeee
GB
13562014-08-07 Gary Benson <gbenson@redhat.com>
1357
1358 * common/common-defs.h: Include gdb_locale.h.
1359 * defs.h: Do not include gdb_locale.h.
1360
cb9f1a9b
GB
13612014-08-07 Gary Benson <gbenson@redhat.com>
1362
1363 * common/common-defs.h: Include gdb/signals.h.
1364 * defs.h: Do not include gdb/signals.h.
1365
a5fceff8
GB
13662014-08-07 Gary Benson <gbenson@redhat.com>
1367
1368 * common/common-defs.h: Include pathmax.h.
1369 * defs.h: Do not include pathmax.h.
1370
b9391142
GB
13712014-08-07 Gary Benson <gbenson@redhat.com>
1372
1373 * common/common-defs.h: Include libiberty.h.
1374 * defs.h: Do not include libiberty.h.
1375 * common/queue.h: Likewise.
1376 * cp-name-parser.y: Likewise.
1377 * mi/mi-cmd-catch.c: Likewise.
1378 * python/python.c: Likewise.
1379
0e443c87
GB
13802014-08-07 Gary Benson <gbenson@redhat.com>
1381
1382 * common/common-defs.h: Include ansidecl.h.
1383 * defs.h: Do not include ansidecl.h.
1384 * common/buffer.h: Likewise.
1385 * common/common-utils.h: Likewise.
1386
8ebb3f56
GB
13872014-08-07 Gary Benson <gbenson@redhat.com>
1388
1389 * common/common-defs.h: Include stddef.h.
1390 * defs.h: Do not include stddef.h.
1391 * common/common-utils.h: Likewise.
1392 * amd64fbsd-nat.c: Likewise.
1393 * bcache.c: Likewise.
1394 * charset.c: Likewise.
1395 * common/buffer.h: Likewise.
1396 * common/vec.h: Likewise.
1397 * i386bsd-nat.c: Likewise.
1398 * nat/linux-btrace.h: Likewise.
1399 * ppcfbsd-nat.c: Likewise.
1400 * ppcnbsd-tdep.h: Likewise.
1401 * ppcobsd-nat.c: Likewise.
1402 * ppcobsd-tdep.h: Likewise.
1403 * python/py-gdb-readline.c: Likewise.
1404
8980bdf6
GB
14052014-08-07 Gary Benson <gbenson@redhat.com>
1406
1407 * common/common-defs.h: Include stdarg.h.
1408 * defs.h: Do not include stdarg.h.
1409 * ada-lang.c: Likewise.
1410 * common/common-utils.h: Likewise.
1411 * guile/scm-string.c: Likewise.
1412 * guile/scm-utils.c: Likewise.
1413 * m32c-tdep.c: Likewise.
1414
d7096f71
GB
14152014-08-07 Gary Benson <gbenson@redhat.com>
1416
1417 * common/common-defs.h: Include stdlib.h.
1418 * defs.h: Do not include stdlib.h.
1419 * addrmap.c: Likewise.
1420 * bcache.c: Likewise.
1421 * common/buffer.c: Likewise.
1422 * common/common-utils.c: Likewise.
1423 * cp-name-parser.y: Likewise.
1424 * go32-nat.c: Likewise.
1425 * mn10300-linux-tdep.c: Likewise.
1426 * nat/linux-osdata.c: Likewise.
1427 * tui/tui.c: Likewise.
1428 * windows-nat.c: Likewise.
1429
d02f550d
GB
14302014-08-07 Gary Benson <gbenson@redhat.com>
1431
1432 * common/common-defs.h: Include stdio.h.
1433 * defs.h: Do not include stdio.h.
1434 * ada-lang.c: Likewise.
1435 * common/buffer.c: Likewise.
1436 * common/common-utils.c: Likewise.
1437 * cp-name-parser.y: Likewise.
1438 * gnu-nat.c: Likewise.
1439 * go32-nat.c: Likewise.
1440 * i386gnu-nat.c: Likewise.
1441 * proc-api.c: Likewise.
1442 * proc-events.c: Likewise.
1443 * proc-flags.c: Likewise.
1444 * proc-why.c: Likewise.
1445 * python/python-internal.h: Likewise.
1446 * target-memory.c: Likewise.
1447 * tui/tui-io.c: Likewise.
1448 * tui/tui.c: Likewise.
1449
b6d7a4bf
SM
14502014-08-06 Simon Marchi <simon.marchi@ericsson.com>
1451
1452 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
1453 (scan_dyntag_auxv): Same.
1454
af19829b
YQ
14552014-08-06 Yao Qi <yao@codesourcery.com>
1456
1457 * amd64-linux-nat.c: Remove duplicated include
1458 "x86-linux-nat.h".
1459 * i386-linux-nat.c: Likewise.
1460
8e07a239
YQ
14612014-08-06 Yao Qi <yao@codesourcery.com>
1462
1463 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
1464 operand" with "Special opcode" in comments.
1465
7bfe8241
GB
14662014-08-05 Gary Benson <gbenson@redhat.com>
1467
1468 * interps.c (initialize_interps): Remove prototype.
1469 (interpreter_initialized): Remove static global.
1470 (interp_add): Do not call initialize_interps.
1471 (initialize_interps): Remove function.
1472
d6c95504
GB
14732014-08-05 Gary Benson <gbenson@redhat.com>
1474
1475 * utils.c (vwarning): Remove spurious va_end.
1476
241fd515
AM
14772014-08-05 Alan Modra <amodra@gmail.com>
1478
1479 * charset.c (convert_between_encodings): Cast result of obstack_base.
1480 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
1481 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
1482 (read_unwind_info): Use size_t for some locals.
1483 * jit.c (finalize_symtab): Likewise.
1484 * utils.c (hashtab_obstack_allocate): Likewise.
1485 * symmisc.c (print_objfile_statistics): Update format strings.
1486
dc304a94
JK
14872014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
1488
1489 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
1490 (Changes in GDB 7.8): ... here.
1491
3cecbbbe
TT
14922014-08-04 Tom Tromey <tromey@redhat.com>
1493
1494 * target.c (set_targetdebug): New function.
1495 (initialize_targets): Pass set_targetdebug when creating "set
1496 debug target".
1497
6908c509
JB
14982014-08-01 Joel Brobecker <brobecker@adacore.com>
1499
1500 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
1501 if detecting a variable-sized field that is not the last field.
1502 Fix struct type length computation.
1503
53e8f97d
JB
15042014-08-01 Joel Brobecker <brobecker@adacore.com>
1505
1506 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1507 Add debug trace.
1508
e068c55d
JB
15092014-08-01 Joel Brobecker <brobecker@adacore.com>
1510
1511 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
1512 Remove "+ 8" offset in computation of CHAIN_VMA.
1513
4d4ca2a1
DE
15142014-07-31 Doug Evans <dje@google.com>
1515
1516 * inflow.c (child_terminal_inferior): Add comment.
1517 (child_terminal_ours_for_output): Add comment.
1518 (child_terminal_ours): Add comment.
1519 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
1520 (linux_nat_terminal_ours): Add comment.
1521
462f517e
GB
15222014-07-31 Gary Benson <gbenson@redhat.com>
1523
1524 * common/btrace-common.h: Do not include defs.h or server.h.
1525 * nat/mips-linux-watch.h: Likewise.
1526 * gdb-dlfcn.h: Do not include defs.h.
1527 * tracefile.h: Likewise.
1528
74228e77
RM
15292014-07-30 Roland McGrath <mcgrathr@google.com>
1530
1531 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
1532
014f9477
TT
15332014-07-30 Tom Tromey <tromey@redhat.com>
1534
1535 * bsd-kvm.c (bsd_kvm_open): Constify.
1536 * corelow.c (core_open): Constify.
1537 * ctf.c (ctf_open): Constify.
1538 * dbug-rom.c (dbug_open): Constify.
1539 * exec.c (exec_open): Constify.
1540 * m32r-rom.c (m32r_open, mon2000_open): Constify.
1541 * microblaze-rom.c (picobug_open): Constify.
1542 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
1543 Constify.
1544 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
1545 * record-btrace.c (record_btrace_open): Constify.
1546 * record-full.c (record_full_core_open_1, record_full_open_1)
1547 (record_full_open): Constify.
1548 * remote-m32r-sdi.c (m32r_open): Constify.
1549 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
1550 (rockhopper_open, lsi_open): Constify.
1551 * remote-sim.c (gdbsim_open): Constify.
1552 * remote.c (remote_open, extended_remote_open, remote_open_1):
1553 Constify.
1554 * target.h (struct target_ops) <to_open>: Make "arg" const.
1555 * tracefile-tfile.c (tfile_open): Constify.
1556
e799154c
TT
15572014-07-30 Tom Tromey <tromey@redhat.com>
1558
1559 * breakpoint.c (map_breakpoint_numbers): Update.
1560 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
1561 (get_number_const): New function.
1562 (get_number): Rewrite using get_number_const.
1563 (init_number_or_range): Make "string" const.
1564 (number_is_in_list): Make "list" const.
1565 * cli/cli-utils.h (get_number_const): Declare.
1566 (struct get_number_or_range_state) <string, end_ptr>: Now const.
1567 (init_number_or_range, number_is_in_list): Update.
1568 * printcmd.c (map_display_numbers): Update.
1569 * value.c (value_from_history_ref): Constify.
1570 * value.h (value_from_history_ref): Update.
1571
5f08566b
TT
15722014-07-30 Tom Tromey <tromey@redhat.com>
1573
1574 * corefile.c (hook_type, call_extra_exec_file_hooks)
1575 (specify_exec_file_hook): Constify.
1576 * exec.c (exec_file_attach): Make "filename" const.
1577 * gdbcore.h (deprecated_exec_file_display_hook)
1578 (specify_exec_file_hook, exec_file_attach): Constify.
1579 * main.c (captured_main): Use catch_command_errors_const.
1580
8981c758
TT
15812014-07-30 Tom Tromey <tromey@redhat.com>
1582
1583 * target.c (open_target): New function.
1584 (add_target_with_completer, add_deprecated_target_alias): Use
1585 set_cmd_sfunc, set_cmd_context.
1586 (debug_to_open): Remove.
1587 (setup_target_debug): Update.
1588
a1c7835a
YQ
15892014-07-30 Yao Qi <yao@codesourcery.com>
1590
1591 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
1592 comments.
1593 * parse.c (exp_iterate): Update comments.
1594
976411d6
GB
15952014-07-30 Gary Benson <gbenson@redhat.com>
1596
1597 * common/common-defs.h: New file.
1598 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
1599 * defs.h: Include common-defs.h.
1600 Do not include config.h or build-gnulib/config.h.
1601
5d4848a4
GB
16022014-07-30 Gary Benson <gbenson@redhat.com>
1603
1604 * common/common-utils.h: Do not include config.h.
1605 * nat/linux-btrace.h: Likewise.
1606
d41f6d8e
GB
16072014-07-30 Gary Benson <gbenson@redhat.com>
1608
1609 * btrace.c: Include defs.h.
1610 * common/ptid.c: Include defs.h or server.h as appropriate.
1611 * nat/mips-linux-watch.c: Likewise.
1612
84202f9c
TT
16132014-07-29 Tom Tromey <tromey@redhat.com>
1614
1615 * target.c (target_is_pushed): Simplify.
1616
2530441c
JB
16172014-07-29 Joel Brobecker <brobecker@adacore.com>
1618
1619 GDB 7.8 released.
1620
7e09a223
YQ
16212014-07-29 Yao Qi <yao@codesourcery.com>
1622
1623 PR gdb/17206
1624 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
1625
7ebdbe92
DE
16262014-07-28 Doug Evans <xdje42@gmail.com>
1627
1628 PR guile/17203
1629 * guile/scm-param.c (pascm_parameter_defined_p): New function.
1630 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
1631 parameters.
1632
f347ffc9
WN
16332014-07-28 Will Newton <will.newton@linaro.org>
1634
1635 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
1636 (THUMB2_SET_R7_SIGRETURN2): Likewise.
1637 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
1638 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
1639 (THUMB2_EABI_SYSCALL): Likewise.
1640 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
1641 struct tramp_frame.
1642 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
1643 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
1644
37c5f1f7
DE
16452014-07-27 Doug Evans <xdje42@gmail.com>
1646
1647 * guile/scm-param.c (pascm_print_param_smob): Fix output.
1648
0c3abbc7
DE
16492014-07-27 Doug Evans <xdje42@gmail.com>
1650
1651 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
1652
e76c5d17
DE
16532014-07-26 Ludovic Courtès <ludo@gnu.org>
1654 Doug Evans <xdje42@gmail.com>
1655
1656 PR guile/17146
1657 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
1658 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
1659 * configure.ac: Try to use guild to compile an scm file, if it fails
1660 then disable guile support.
1661 * configure: Regenerate.
1662 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
1663 GUILE_FILE_LIST.
1664 (GUILE_COMPILED_FILES): New variable.
1665 (GUILE_FILES) Update.
1666 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
1667 (stamp-guile): Compile scm files.
1668 * guile/guile.c (boot_guile_support): New function.
1669 (standard_throw_args_p): New function.
1670 (print_standard_throw_error, print_throw_error): New functions.
1671 (handle_boot_error): New function.
1672 (initialize_scheme_side): Rewrite to call boot_guile_support.
1673 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
1674 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
1675
186fcde0
DE
16762014-07-26 Ludovic Courtès <ludo@gnu.org>
1677 Doug Evans <xdje42@gmail.com>
1678
1679 PR guile/17146
1680 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
1681 * guile/lib/gdb/support.scm: New file.
1682 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
1683 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
1684 All uses updated.
1685 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
1686 All uses updated.
1687 (%assert-type): Ditto, and renamed to assert-type.
1688 (%exception-print-style): Delete.
1689
4df42755
DE
16902014-07-26 Doug Evans <xdje42@gmail.com>
1691
1692 PR build/17105
1693 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
1694 * configure: Regenerate.
1695 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
1696 PYTHON_FILES.
1697 (PYTHON_FILES): New variable.
1698 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
1699 (GUILE_FILES): New variable.
1700 (stamp-python, install-python, uninstall-python): Handle empty
1701 file list.
1702 (stamp-guile, install-guile, uninstall-guile): Ditto.
1703
ee7333ae
DE
17042014-07-26 Doug Evans <xdje42@gmail.com>
1705
1706 PR guile/17177
1707 * guile/lib/gdb.scm (pretty-printers): Export.
1708 (set-pretty-printers!): Export.
1709 * guile/lib/gdb/printing.scm (gdb module): Update.
1710 (prepend-pretty-printer!, append-pretty-printer!): Update.
1711 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
1712 (pretty_printer_list_var): Delete.
1713 (pretty_printer_list): New static global.
1714 (gdbscm_pretty_printers): New function.
1715 (gdbscm_set_pretty_printers_x): New function.
1716 (ppscm_find_pretty_printer_from_gdb): Update.
1717 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
1718 (gdbscm_initialize_pretty_printers): Update.
1719
74edf516
DE
17202014-07-26 Doug Evans <xdje42@gmail.com>
1721
1722 PR 17185
1723 * configure.ac: Add check for header gc/gc.h.
1724 Add check for function setenv.
1725 * configure: Regenerate.
1726 * config.in: Regenerate.
1727 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
1728
d54398a7
MR
17292014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
1730
1731 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
1732 variation in gdbarch matching.
1733
ab16fce8
TT
17342014-07-25 Tom Tromey <tromey@redhat.com>
1735
1736 * exec.c (using_exec_ops): Remove.
1737 (exec_close_1): Update. Remove extraneous block, reindent.
1738 (add_target_sections): Use target_is_pushed.
1739
88056fbb
PA
17402014-07-25 Pedro Alves <palves@redhat.com>
1741
1742 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
1743 * monitor.c (monitor_create_inferior): Likewise.
1744 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
1745 * remote-sim.c (gdbsim_create_inferior): Likewise.
1746 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
1747 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
1748 * windows-nat.c (do_initial_windows_stuff): Likewise.
1749
70509625
PA
17502014-07-25 Pedro Alves <palves@redhat.com>
1751
1752 * NEWS: Mention signal passing and "signal" command changes.
1753 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
1754 comment.
1755 * breakpoint.c (until_break_command): Adjust clear_proceed_status
1756 call.
1757 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
1758 * infcmd.c (proceed_thread_callback, continue_1, step_once)
1759 (jump_command): Adjust clear_proceed_status call.
1760 (signal_command): Warn if other thread that are resumed have
1761 signals that will be delivered. Adjust clear_proceed_status call.
1762 (until_next_command, finish_command)
1763 (proceed_after_attach_callback, attach_command_post_wait)
1764 (attach_command): Adjust clear_proceed_status call.
1765 * infrun.c (proceed_after_vfork_done): Likewise.
1766 (proceed_after_attach_callback): Adjust comment.
1767 (clear_proceed_status_thread): Clear stop_signal if not in pass
1768 state.
1769 (clear_proceed_status_callback): Delete.
1770 (clear_proceed_status): New 'step' parameter. Only clear the
1771 proceed status of threads the command being prepared is about to
1772 resume.
1773 (proceed): If passed in an explicit signal, override stop_signal
1774 with it. Don't pass the last stop signal to the thread we're
1775 resuming.
1776 (init_wait_for_inferior): Adjust clear_proceed_status call.
1777 (switch_back_to_stepped_thread): Clear the signal if it should not
1778 be passed.
1779 * infrun.h (clear_proceed_status): New 'step' parameter.
1780 (user_visible_resume_ptid): Add comment.
1781 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
1782 signal is in pass state.
1783 * remote.c (append_pending_thread_resumptions): Likewise.
1784 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
1785
d8be2939
TT
17862014-07-25 Tom Tromey <tromey@redhat.com>
1787
1788 * target.h (target_stopped_data_address)
1789 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
1790 parentheses.
1791
7d0d9d2b
PL
17922014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
1793
1794 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
1795 comments.
1796 (avr_pointer_to_address): Likewise.
1797
e9e7f724
TT
17982014-07-24 Tom Tromey <tromey@redhat.com>
1799
1800 * monitor.c (compile_pattern): Update.
1801 * target.h (struct target_ops) <to_shortname, to_longname,
1802 to_doc>: Now const.
1803
1947513d
TT
18042014-07-24 Tom Tromey <tromey@redhat.com>
1805
1806 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
1807 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
1808 (add_info_alias, add_com): Make "doc" const.
1809 (print_doc_line): Make "str" const.
1810 (delete_cmd): Update.
1811 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
1812 (print_doc_line): Update.
1813 * cli/cli-script.c (document_command): Update.
1814 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
1815 (add_com, add_info, add_info_alias): Update.
1816 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1817 * python/py-cmd.c (cmdpy_destroyer): Update.
1818
64e61d29
TT
18192014-07-24 Tom Tromey <tromey@redhat.com>
1820
1821 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
1822 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
1823 (help_cmd_list): Constify.
1824 (lookup_cmd): Update.
1825 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
1826 const.
1827 (help_cmd_list, apropos_cmd): Update.
1828 * cli/cli-script.c (show_user): Update.
1829 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
1830 * cli/cli-setshow.h (cmd_show_list): Update.
1831 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
1832 (cmd_show_list): Update.
1833 * guile/scm-cmd.c (cmdscm_destroyer): Update.
1834 * python/py-cmd.c (cmdpy_destroyer): Update.
1835
429e55ea
TT
18362014-07-24 Tom Tromey <tromey@redhat.com>
1837
1838 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
1839 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
1840 const.
1841 * command.h (deprecate_cmd): Update.
1842 * maint.c (maintenance_do_deprecate): Add casts.
1843
64669f3b
TT
18442014-07-24 Tom Tromey <tromey@redhat.com>
1845
1846 * cli/cli-decode.c (help_cmd): Make parameter "const".
1847 * cli/cli-decode.h (help_cmd): Update.
1848
d3d3328b
TT
18492014-07-24 Tom Tromey <tromey@redhat.com>
1850
1851 * stack.c (up_silently_base, down_silently_base): Make argument
1852 const.
1853
414842dc
TT
18542014-07-24 Tom Tromey <tromey@redhat.com>
1855
1856 * solib.c (solib_add): Make "pattern" const.
1857 * solib.h (solib_add): Update.
1858
baa336ce
TT
18592014-07-24 Tom Tromey <tromey@redhat.com>
1860
1861 * remote.c (remote_serial_open, print_packet, putpkt)
1862 (putpkt_binary): Constify.
1863 * remote.h (putpkt): Update.
1864
5a19e2d0
TT
18652014-07-24 Tom Tromey <tromey@redhat.com>
1866
1867 * monitor.c (monitor_open): Make "args" const.
1868 * monitor.h (monitor_open): Update.
1869
fc4baa5e
TT
18702014-07-24 Tom Tromey <tromey@redhat.com>
1871
1872 * maint.c (match_bfd_flags): Make "string" const.
1873 (print_bfd_section_info): Remove casts.
1874 (print_objfile_section_info): Make "string" const.
1875
0d5f0dbe
TT
18762014-07-24 Tom Tromey <tromey@redhat.com>
1877
1878 * inf-child.c (inf_child_open_target): Make "arg" const.
1879 * inf-child.h (inf_child_open_target): Update.
1880
41c77899
TT
18812014-07-24 Tom Tromey <tromey@redhat.com>
1882
1883 * environ.c (unset_in_environ): Make "var" const.
1884 * environ.h (unset_in_environ): Update.
1885
93db0d79
TT
18862014-07-24 Tom Tromey <tromey@redhat.com>
1887
1888 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
1889 Make "cmd" const.
1890 (scan_filename_with_cleanup): Likewise.
1891 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
1892 Make arguments const.
1893 (restore_command): Update.
1894
36d6eb95
PA
18952014-07-24 Pedro Alves <palves@redhat.com>
1896
1897 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
1898
8009206a
TT
18992014-07-24 Tom Tromey <tromey@redhat.com>
1900 Gary Benson <gbenson@redhat.com>
1901
1902 * nat/linux-ptrace.c (additional_flags): New global.
1903 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
1904 additional_flags; don't check GDBSERVER.
1905 (linux_ptrace_set_additional_flags): New function.
1906 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
1907 Declare.
1908 * linux-nat.c (_initialize_linux_nat): Call
1909 linux_ptrace_set_additional_flags.
1910
a7068b60
TT
19112014-07-24 Tom Tromey <tromey@redhat.com>
1912
1913 * make-target-delegates (munge_type, write_debugmethod): New
1914 functions.
1915 (debug_names): New global.
1916 ($TARGET_DEBUG_PRINTER): New global.
1917 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
1918 name.
1919 Write debug methods. Generate init_debug_target.
1920 * target-debug.h: New file.
1921 * target-delegates.c: Rebuild.
1922 * target.c: Include target-debug.h.
1923 (debug_target): Hoist definition.
1924 (target_kill, target_get_section_table, target_memory_map)
1925 (target_flash_erase, target_flash_done, target_detach)
1926 (target_disconnect, target_wait, target_resume)
1927 (target_pass_signals, target_program_signals, target_follow_fork)
1928 (target_mourn_inferior, target_search_memory)
1929 (target_thread_address_space, target_close)
1930 (target_find_new_threads, target_core_of_thread)
1931 (target_verify_memory, target_insert_mask_watchpoint)
1932 (target_remove_mask_watchpoint): Remove targetdebug code.
1933 (debug_to_post_attach, debug_to_prepare_to_store)
1934 (debug_to_files_info, debug_to_insert_breakpoint)
1935 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
1936 (debug_to_region_ok_for_hw_watchpoint)
1937 (debug_to_can_accel_watchpoint_condition)
1938 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
1939 (debug_to_watchpoint_addr_within_range)
1940 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
1941 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
1942 (debug_to_terminal_init, debug_to_terminal_inferior)
1943 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
1944 (debug_to_terminal_save_ours, debug_to_terminal_info)
1945 (debug_to_load, debug_to_post_startup_inferior)
1946 (debug_to_insert_fork_catchpoint)
1947 (debug_to_remove_fork_catchpoint)
1948 (debug_to_insert_vfork_catchpoint)
1949 (debug_to_remove_vfork_catchpoint)
1950 (debug_to_insert_exec_catchpoint)
1951 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
1952 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
1953 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
1954 (setup_target_debug): Call init_debug_target.
1955 * target.h (TARGET_DEBUG_PRINTER): New macro.
1956 (struct target_ops) <to_resume, to_wait, to_pass_signals,
1957 to_program_signals>: Use TARGET_DEBUG_PRINTER.
1958
2c51604d
GB
19592014-07-24 Gary Benson <gbenson@redhat.com>
1960
1961 * exceptions.h (throw_vfatal): Renamed to...
1962 (throw_vquit): New declaration.
1963 (throw_quit): Likewise.
1964 * exceptions.c (throw_vfatal): Renamed to...
1965 (throw_vquit): New function.
1966 (throw_quit): Likewise.
1967 (throw_error): Call throw_verror rather than throw_it.
1968 * utils.h (vfatal): Removed.
1969 (fatal): Likewise.
1970 * utils.c (vfatal): Removed.
1971 (fatal): Likewise.
1972 (internal_verror): Replaced call to fatal with call to throw_quit.
1973 (quit): Replaced calls to fatal with calls to throw_quit.
1974
34211963
ME
19752014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
1976
1977 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
1978 target_read_code.
1979
a52b4d3e
ME
19802014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
1981
1982 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
1983 less than zero in conditional expression.
1984
a8bdc56b
TT
19852014-07-23 Tom Tromey <tromey@redhat.com>
1986
1987 * make-target-delegates ($ARGS_PART): Match trailing close paren.
1988 ($INTRO_PART): Don't match whitespace.
1989 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
1990 argument matching.
1991 ($METHOD): Add $METHOD_TRAILER.
1992 (trim): Rewrite.
1993 (scan_target_h): New sub.
1994 Change main loop not to collect state.
1995 * target-delegates.c: Rebuild.
1996
91b52240
GB
19972014-07-23 Gary Benson <gbenson@redhat.com>
1998
1999 * cp-support.c (gdb_demangle): Fix build on systems without
2000 sigaltstack.
2001
45326f6f
JK
20022014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2003
2004 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
2005 for reference entry value target data value.
2006
e214cf6c
JK
20072014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
2008
2009 * stack.c (read_frame_arg): Verify value_optimized_out before calling
2010 value_available_contents_eq.
2011
bddbbedd
PA
20122014-07-22 Pedro Alves <palves@redhat.com>
2013
2014 * value.c (allocate_optimized_out_value): Don't mark value as
2015 non-lazy.
2016
45c71484
JW
20172014-07-22 Jiong Wang <jiong.wang@arm.com>
2018
2019 * MAINTAINERS (Write After Approval): Update my email address.
2020
9597b22a
DE
20212014-07-20 Doug Evans <dje@google.com>
2022
2023 PR server/17147
2024 * remote.c (putpkt_binary): Add text to error message.
2025
91101fe5
YQ
20262014-07-20 Yao Qi <yao@codesourcery.com>
2027
2028 * eval.c: Remove "Chill" from comments.
2029 * gdbtypes.h: Likewise.
2030 * symtab.h: Likewise.
2031
c9402c95
YQ
20322014-07-20 Yao Qi <yao@codesourcery.com>
2033
2034 * std-operator.def: Update comments to TERNOP_SLICE.
2035
ae8fddda
YQ
20362014-07-20 Yao Qi <yao@codesourcery.com>
2037
2038 * std-operator.def: Remove BINOP_RANGE.
2039 * breakpoint.c (watchpoint_exp_is_const): Update.
2040 * expprint.c (dump_subexp_body_standard): Likewise.
2041 * eval.c (init_array_element): Remove dead code.
2042 (evaluate_subexp_standard): Likewise.
2043
9c816640
YQ
20442014-07-20 Yao Qi <yao@codesourcery.com>
2045
2046 * std-operator.def: Remove BINOP_IN.
2047 * breakpoint.c (watchpoint_exp_is_const): Update.
2048 * eval.c (evaluate_subexp_standard): Likewise.
2049 * expprint.c (dump_subexp_body_standard): Likewise.
2050
164224e9
ME
20512014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
2052
2053 * microblaze-tdep.c (microblaze_register_names): Add
2054 the rshr and rslr register names.
2055 (microblaze_gdbarch_init): Use of tdesc_has_registers.
2056 Use of tdesc_find_feature. Use of tdesc_data_alloc.
2057 Use of tdesc_numbered_register. Use of
2058 microblaze_register_g_packet_guesses. Use of
2059 tdesc_use_registers. Use of set_gdbarch_register_type.
2060 (microblaze_register_g_packet_guesses): New.
2061 * microblaze-tdep.h (microblaze_reg_num): Add
2062 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
2063 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
2064 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
2065 * features/microblaze-core.xml: New file.
2066 * features/microblaze-stack-protect.xml: New file.
2067 * features/microblaze-with-stack-protect.c: New file.
2068 * features/microblaze-with-stack-protect.xml: New file.
2069 * features/microblaze.xml: New file.
2070 * features/microblaze.c: New file.
2071 * features/Makefile (microblaze-with-stack-protect): Add
2072 microblaze-with-stack-protect microblaze and microblaze-expedite.
2073 * regformats/microblaze-with-stack-protect.dat: New file.
2074 * regformats/microblaze.dat: New file.
2075 * doc/gdb.texinfo (MicroBlaze Features): Added.
2076
e8b2341c
TT
20772014-07-18 Tom Tromey <tromey@redhat.com>
2078
2079 * exec.c (exec_ops): Now static.
2080 * exec.h (exec_ops): Don't declare.
2081
44e89118
TT
20822014-07-18 Tom Tromey <tromey@redhat.com>
2083
2084 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
2085 to find_target_beneath.
2086 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
2087 find_target_beneath.
2088 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
2089
b0ed115f
TT
20902014-07-18 Tom Tromey <tromey@redhat.com>
2091
2092 PR gdb/17130:
2093 * utils.c (quit): Use target_supports_terminal_ours.
2094 * target.h (target_supports_terminal_ours): Declare.
2095 * target.c (target_supports_delete_record): Don't check
2096 to_delete_record against NULL.
2097 (target_supports_terminal_ours): New function.
2098
e75fdfca
TT
20992014-07-18 Tom Tromey <tromey@redhat.com>
2100
2101 PR gdb/17130:
2102 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
2103 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
2104 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
2105 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
2106 * windows-nat.c (windows_xfer_partial): Always delegate.
2107 * record-btrace.c (record_btrace_xfer_partial): Simplify
2108 delegation.
2109 (record_btrace_fetch_registers, record_btrace_store_registers)
2110 (record_btrace_prepare_to_store, record_btrace_resume)
2111 (record_btrace_wait, record_btrace_find_new_threads)
2112 (record_btrace_thread_alive): Likewise.
2113 * procfs.c (procfs_xfer_partial): Always delegate.
2114 * corelow.c (core_xfer_partial): Always delegate.
2115 * sol-thread.c (sol_find_new_threads): Simplify delegation.
2116
83814951
TT
21172014-07-18 Tom Tromey <tromey@redhat.com>
2118
2119 * exec.c (exec_make_note_section): Move earlier.
2120
b8b8facf
DE
21212014-07-17 Doug Evans <dje@google.com>
2122
74b49205 2123 PR gdb/17170
b8b8facf
DE
2124 * maint.c (count_symtabs_and_blocks): Handle NULL
2125 current_program_space.
2126 (report_command_stats): Check global enabled flag in addition to
2127 recorded enabled flag.
2128 (make_command_stats_cleanup): Handle msg_type == 0, startup.
2129
69ff6be5
PA
21302014-07-16 Pedro Alves <palves@redhat.com>
2131
2132 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
2133
252db1b5
TT
21342014-07-16 Tom Tromey <tromey@redhat.com>
2135
2136 * target.h (struct target_ops) <to_delete_record>: Reformat
2137 comment.
2138
a432721e
TT
21392014-07-16 Tom Tromey <tromey@redhat.com>
2140
2141 * target-delegates.c: Rebuild.
2142
487d9753
PL
21432014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
2144
2145 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
2146 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
2147 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
2148 (avr_pointer_to_address): Likewise.
2149 (avr_address_class_type_flags): New function.
2150 (avr_address_class_type_flags_to_name): Likewise.
2151 (avr_address_class_name_to_type_flags): Likewise.
2152 (avr_gdbarch_init): Set address_class_type_flags,
2153 address_class_type_flags_to_name and
2154 address_class_name_to_type_flags.
2155
57745c90
PA
21562014-07-15 Pedro Alves <palves@redhat.com>
2157
2158 * linux-nat.c (kill_callback): Save errno and work with saved
2159 copy.
2160
2d40be18
SM
21612014-07-15 Simon Marchi <simon.marchi@ericsson.com>
2162
2163 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
2164
572f6555
EBM
21652014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2166
2167 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
2168 breakpoint support correctly.
2169
cc1c52ad
PA
21702014-07-14 Pedro Alves <palves@redhat.com>
2171
2172 * utils.c (prompt_for_continue): Call target_terminal_ours.
2173
1e973570
PA
21742014-07-14 Pedro Alves <palves@redhat.com>
2175
2176 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
2177 catch_errors. Don't re-enable stdin or notify observers where,
2178 and rethrow error.
2179 (fetch_inferior_event_wrapper): Delete.
2180
93d6eb10
PA
21812014-07-14 Pedro Alves <palves@redhat.com>
2182
2183 PR gdb/17072
2184 * top.c: Include "inf-loop.h".
2185 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
2186 field.
2187 (gdb_readline_wrapper_cleanup): Make the target async again, if it
2188 was async before.
2189 (gdb_readline_wrapper): Store whether the target is async, and
2190 make it sync.
2191
0017922d
PA
21922014-07-14 Pedro Alves <palves@redhat.com>
2193
2194 PR gdb/17072
2195 * top.c (gdb_readline_wrapper_line): Tweak comment.
2196 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
2197 the input handler callback.
2198
94696ad3
PA
21992014-07-14 Pedro Alves <palves@redhat.com>
2200
2201 PR gdb/17072
2202 * main.c: Include event-top.h.
2203 (handle_command_errors): New function.
2204 (catch_command_errors, catch_command_errors_const): Use it.
2205
9d1e69a2
PA
22062014-07-14 Pedro Alves <palves@redhat.com>
2207
2208 * exceptions.c (catch_command_errors, catch_command_errors_const):
2209 Moved to main.c.
2210 * exceptions.h (catch_command_errors_ftype)
2211 (catch_command_errors_const_ftype): Moved to main.c.
2212 (catch_command_errors, catch_command_errors_const): Delete
2213 declarations.
2214 * main.c (catch_command_errors_ftype)
2215 (catch_command_errors_const_ftype): Moved here from exceptions.h.
2216 (catch_command_errors, catch_command_errors_const)): Moved here
2217 from exceptions.c and make static.
2218
feefc97b
PA
22192014-07-14 Pedro Alves <palves@redhat.com>
2220
2221 * exceptions.c (print_any_exception): Delete.
2222 (catch_exceptions_with_msg): Use exception_print instead of
2223 print_any_exception.
2224 (catch_errors): Use exception_fprintf instead of
2225 print_any_exception.
2226 (catch_command_errors, catch_command_errors_const): Use
2227 exception_print instead of print_any_exception.
2228
c933f875
PA
22292014-07-14 Pedro Alves <palves@redhat.com>
2230
2231 * infcall.c (run_inferior_call): Set 'sync_execution' while
2232 running the inferior call.
2233
feb6f816
PA
22342014-07-14 Pedro Alves <palves@redhat.com>
2235
2236 * value.c (value_contents_equal): Delete function.
2237 * value.h (value_contents_equal): Delete declaration.
2238
d98b7a16
TT
22392014-07-14 Tom Tromey <tromey@redhat.com>
2240
2241 PR exp/17106:
2242 * gdbtypes.c (is_dynamic_type_internal): New function, from
2243 is_dynamic_type.
2244 (is_dynamic_type): Rewrite.
2245 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
2246 (resolve_dynamic_struct): Likewise.
2247 (resolve_dynamic_type_internal): New function, from
2248 resolve_dynamic_type.
2249 (resolve_dynamic_type): Rewrite.
2250
548740d6
TT
22512014-07-14 Tom Tromey <tromey@redhat.com>
2252
2253 * target.c (target_require_runnable): Also check record_stratum.
2254 Update comment.
2255
808f7ab1
YQ
22562014-07-11 Yao Qi <yao@codesourcery.com>
2257
2258 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
2259 thumb_instruction_restores_sp return true.
2260
540314bd
YQ
22612014-07-11 Yao Qi <yao@codesourcery.com>
2262
2263 * arm-tdep.c (thumb_instruction_restores_sp): New function.
2264 (thumb_in_function_epilogue_p): Call
2265 thumb_instruction_restores_sp.
2266
1db01f22
YQ
22672014-07-11 Yao Qi <yao@codesourcery.com>
2268
2269 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
2270 'add sp, #imm'.
2271 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
2272
3116063b
GB
22732014-07-11 Gary Benson <gbenson@redhat.com>
2274
2275 * amd64-linux-nat.c (gdbcore.h): Remove include.
2276 (regset.h): Likewise.
2277 (nat/linux-btrace.h): Likewise.
2278 (btrace.h): Likewise.
2279 (gdb_assert.h): Likewise.
2280 (string.h): Likewise.
2281 (sys/uio.h): Likewise.
2282 (sys/debugreg.h): Likewise.
2283 (sys/syscall.h): Likewise.
2284 (sys/procfs.h): Likewise.
2285 (sys/user.h): Likewise.
2286 (asm/ptrace.h): Likewise.
2287 (i386-nat.h): Likewise.
2288 * i386-linux-nat.c (i386-nat.h): Likewise.
2289 (regset.h): Likewise.
2290 (target.h): Likewise.
2291 (linux-nat.h): Likewise.
2292 (nat/linux-btrace.h): Likewise.
2293 (btrace.h): Likewise.
2294 (gdb_assert.h): Likewise.
2295 (string.h): Likewise.
2296 (sys/uio.h): Likewise.
2297 (sys/user.h): Likewise.
2298 (sys/procfs.h): Likewise.
2299 (sys/reg.h): Likewise.
2300 (sys/debugreg.h): Likewise.
2301 (ORIG_EAX): Remove definition.
2302
040baaf6
GB
23032014-07-11 Gary Benson <gbenson@redhat.com>
2304
2305 * i386-linux-nat.h: New file.
2306 * x86-linux-nat.h: Likewise.
2307 * x86-linux-nat.c: Likewise.
2308 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
2309 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
2310 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2311 * amd64-linux-nat.c (x86-linux-nat.h): New include.
2312 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2313 (PTRACE_SETREGSET): Likewise.
2314 (arch_lwp_info): Now in x86-linux-nat.c.
2315 (have_ptrace_getregset): Now in x86-linux-nat.h.
2316 (x86_linux_dr_get): Now in x86-linux-nat.c.
2317 (x86_linux_dr_set): Likewise.
2318 (x86_linux_dr_get_addr): Likewise.
2319 (x86_linux_dr_get_control): Likewise.
2320 (x86_linux_dr_get_status): Likewise.
2321 (update_debug_registers_callback): Likewise.
2322 (x86_linux_dr_set_control): Likewise.
2323 (x86_linux_dr_set_addr): Likewise.
2324 (x86_linux_prepare_to_resume): Likewise.
2325 (x86_linux_new_thread): Likewise.
2326 (x86_linux_new_fork): Likewise.
2327 (x86_linux_get_thread_area): Likewise.
2328 (super_post_startup_inferior): Likewise.
2329 (x86_linux_child_post_startup_inferior): Likewise.
2330 (AMD64_LINUX_USER64_CS): Likewise.
2331 (AMD64_LINUX_X32_DS): Likewise.
2332 (x86_linux_read_description): Likewise.
2333 (x86_linux_enable_btrace): Likewise.
2334 (x86_linux_disable_btrace): Likewise.
2335 (x86_linux_teardown_btrace): Likewise.
2336 (x86_linux_read_btrace): Likewise.
2337 (x86_linux_create_target): Likewise.
2338 (x86_linux_add_target): Likewise.
2339 * i386-linux-nat.c (x86-linux-nat.h): New include.
2340 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
2341 (PTRACE_SETREGSET): Likewise.
2342 (arch_lwp_info): Now in x86-linux-nat.c.
2343 (have_ptrace_getregset): Now in x86-linux-nat.h.
2344 (x86_linux_dr_get): Now in x86-linux-nat.c.
2345 (x86_linux_dr_set): Likewise.
2346 (x86_linux_dr_get_addr): Likewise.
2347 (x86_linux_dr_get_control): Likewise.
2348 (x86_linux_dr_get_status): Likewise.
2349 (update_debug_registers_callback): Likewise.
2350 (x86_linux_dr_set_control): Likewise.
2351 (x86_linux_dr_set_addr): Likewise.
2352 (x86_linux_prepare_to_resume): Likewise.
2353 (x86_linux_new_thread): Likewise.
2354 (x86_linux_new_fork): Likewise.
2355 (x86_linux_get_thread_area): Likewise.
2356 (super_post_startup_inferior): Likewise.
2357 (x86_linux_child_post_startup_inferior): Likewise.
2358 (AMD64_LINUX_USER64_CS): Likewise.
2359 (AMD64_LINUX_X32_DS): Likewise.
2360 (x86_linux_read_description): Likewise.
2361 (x86_linux_enable_btrace): Likewise.
2362 (x86_linux_disable_btrace): Likewise.
2363 (x86_linux_teardown_btrace): Likewise.
2364 (x86_linux_read_btrace): Likewise.
2365 (x86_linux_create_target): Likewise.
2366 (x86_linux_add_target): Likewise.
2367
1aa7e42c
GB
23682014-07-11 Gary Benson <gbenson@redhat.com>
2369
2370 * amd64-linux-nat.c: Comment and whitespace changes.
2371 * i386-linux-nat.c: Comment and whitespace changes.
2372
c1e246a0
GB
23732014-07-11 Gary Benson <gbenson@redhat.com>
2374
2375 * amd64-linux-nat.c (x86_linux_create_target): New function.
2376 (x86_linux_add_target): Likewise.
2377 (_initialize_amd64_linux_nat): Delegate to the above new functions.
2378 * i386-linux-nat.c (x86_linux_create_target): New function.
2379 (x86_linux_add_target): Likewise.
2380 (_initialize_i386_linux_nat): Delegate to the above new functions.
2381
8c420b8d
GB
23822014-07-11 Gary Benson <gbenson@redhat.com>
2383
2384 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
2385 (ps_get_thread_area): Delegate to the above in 32-bit mode.
2386 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
2387 (ps_get_thread_area): Delegate to the above.
2388
cb1da100
GB
23892014-07-11 Gary Benson <gbenson@redhat.com>
2390
2391 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
2392 x86_linux_read_description. All uses updated. amd64-specific
2393 code conditionalized. Conditionalized i386-specific code added.
2394 Redundant cast removed.
2395 * i386-linux-nat.c (i386_linux_read_description): Renamed to
2396 x86_linux_read_description. All uses updated. i386-specific
2397 code conditionalized. Conditionalized amd64-specific code added.
2398 One sizeof replaced with the actual type it is describing.
2399
2acf3cd0
GB
24002014-07-11 Gary Benson <gbenson@redhat.com>
2401
2402 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
2403 x86_linux_dr_get. All uses updated.
2404 (amd64_linux_dr_set): Renamed to
2405 x86_linux_dr_set. All uses updated.
2406 (amd64_linux_dr_get_addr): Renamed to
2407 x86_linux_dr_get_addr. All uses updated.
2408 (amd64_linux_dr_get_control): Renamed to
2409 x86_linux_dr_get_control. All uses updated.
2410 (amd64_linux_dr_get_status): Renamed to
2411 x86_linux_dr_get_status. All uses updated.
2412 (amd64_linux_dr_set_control): Renamed to
2413 x86_linux_dr_set_control. All uses updated.
2414 (amd64_linux_dr_set_addr): Renamed to
2415 x86_linux_dr_set_addr. All uses updated.
2416 (amd64_linux_prepare_to_resume): Renamed to
2417 x86_linux_prepare_to_resume. All uses updated.
2418 (amd64_linux_new_thread): Renamed to
2419 x86_linux_new_thread. All uses updated.
2420 (amd64_linux_new_fork): Renamed to
2421 x86_linux_new_fork. All uses updated.
2422 (amd64_linux_child_post_startup_inferior): Renamed to
2423 x86_linux_child_post_startup_inferior. All uses updated.
2424 (amd64_linux_enable_btrace): Renamed to
2425 x86_linux_enable_btrace. All uses updated.
2426 (amd64_linux_disable_btrace): Renamed to
2427 x86_linux_disable_btrace. All uses updated.
2428 (amd64_linux_teardown_btrace): Renamed to
2429 x86_linux_teardown_btrace. All uses updated.
2430 (amd64_linux_read_btrace): Renamed to
2431 x86_linux_read_btrace. All uses updated.
2432 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
2433 x86_linux_dr_get. All uses updated.
2434 (i386_linux_dr_set): Renamed to
2435 x86_linux_dr_set. All uses updated.
2436 (i386_linux_dr_get_addr): Renamed to
2437 x86_linux_dr_get_addr. All uses updated.
2438 (i386_linux_dr_get_control): Renamed to
2439 x86_linux_dr_get_control. All uses updated.
2440 (i386_linux_dr_get_status): Renamed to
2441 x86_linux_dr_get_status. All uses updated.
2442 (i386_linux_dr_set_control): Renamed to
2443 x86_linux_dr_set_control. All uses updated.
2444 (i386_linux_dr_set_addr): Renamed to
2445 x86_linux_dr_set_addr. All uses updated.
2446 (i386_linux_prepare_to_resume): Renamed to
2447 x86_linux_prepare_to_resume. All uses updated.
2448 (i386_linux_new_thread): Renamed to
2449 x86_linux_new_thread. All uses updated.
2450 (i386_linux_new_fork): Renamed to
2451 x86_linux_new_fork. All uses updated.
2452 (i386_linux_child_post_startup_inferior): Renamed to
2453 x86_linux_child_post_startup_inferior. All uses updated.
2454 (i386_linux_enable_btrace): Renamed to
2455 x86_linux_enable_btrace. All uses updated.
2456 (i386_linux_disable_btrace): Renamed to
2457 x86_linux_disable_btrace. All uses updated.
2458 (i386_linux_teardown_btrace): Renamed to
2459 x86_linux_teardown_btrace. All uses updated.
2460 (i386_linux_read_btrace): Renamed to
2461 x86_linux_read_btrace. All uses updated.
2462
b9c1d481
AS
24632014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2464
2465 * remote.c (extended_remote_post_attach): New function.
2466 (init_extended_remote_ops): Install it as to_post_attach method.
2467
7180e04a
PA
24682014-07-09 Pedro Alves <palves@redhat.com>
2469
2470 * infcmd.c (attach_command_post_wait): Don't call
2471 target_terminal_inferior here.
2472 (attach_command): Call it here instead.
2473
9a9a7608
AB
24742014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
2477 field.
2478 * c-varobj.c (c_is_path_expr_parent): New function, moved core
2479 from varobj.c, with additional checks.
2480 (c_varobj_ops): Fill in is_path_expr_parent field.
2481 (cplus_varobj_ops): Fill in is_path_expr_parent field.
2482 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
2483 field.
2484 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
2485 ops method.
2486 (varobj_default_is_path_expr_parent): New function.
2487 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
2488 (varobj_default_is_path_expr_parent): Declare new function.
2489
1f267ae3
MM
24902014-07-08 Markus Metzger <markus.t.metzger@intel.com>
2491
2492 * infcmd.c (finish_backward): Turn internal error into normal error.
2493
b2ee242b
PA
24942014-07-07 Pedro Alves <palves@redhat.com>
2495
8a869bca 2496 PR gdb/17096
b2ee242b
PA
2497 * remote.c (async_handle_remote_sigint)
2498 (async_handle_remote_sigint_twice): Call
2499 gdb_call_async_signal_handler instead of
2500 mark_async_signal_handler.
2501
38e229b2
TT
25022014-07-07 Tom Tromey <tromey@redhat.com>
2503
2504 * target-delegates.c: Rebuild.
2505 * target.c (target_info_record): Remove.
2506 * record.c (info_record_command): Unconditionally call
2507 to_info_record.
2508 * target.h (struct target_ops) <to_info_record>: Use
2509 TARGET_DEFAULT_IGNORE.
2510 (target_info_record): Remove.
2511
f0f9ff95
TT
25122014-07-07 Tom Tromey <tromey@redhat.com>
2513
2514 * target.h (struct target_ops) <to_get_thread_local_address>: Use
2515 TARGET_DEFAULT_NORETURN.
2516 * target.c (generic_tls_error): New function.
2517 (target_translate_tls_address): Don't search target stack.
2518 * target-delegates.c: Rebuild.
2519 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
2520 stack.
2521 * linux-thread-db.c (thread_db_get_thread_local_address):
2522 Unconditionally call beneath target.
2523
4a5be5ee
MK
25242014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
2525
2526 * cli/cli-logging.c (pop_output_files): Assign targerr to
2527 gdb_stdtargerr.
2528
92c3b204
AB
25292014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
2530
2531 * MAINTAINERS (Write After Approval): Update my email address.
2532
9b11e3a7
GB
25332014-07-02 Gary Benson <gbenson@redhat.com>
2534
2535 * proc-service.c (ps_xfer_memory): Update comment.
2536 (ps_pstop): Remove unused function.
2537 (ps_pcontinue): Likewise.
2538 (ps_lstop): Likewise.
2539 (ps_lcontinue): Likewise.
2540 (ps_lgetxregsize): Likewise.
2541 (ps_lgetxregs): Likewise.
2542 (ps_lsetxregs): Likewise.
2543 (ps_plog): Likewise.
2544 (ps_ptread): Likewise.
2545 (ps_ptwrite): Likewise.
2546
cf363f18
MW
25472014-07-01 Mark Wielaard <mjw@redhat.com>
2548
2549 * dwarf2read.c (add_array_cv_type): New function.
2550 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
2551 (read_tag_volatile_type): Likewise.
2552
82ae6c8d
TT
25532014-07-01 Tom Tromey <tromey@redhat.com>
2554
2555 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
2556 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
2557 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
2558 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
2559 * command.h (cmd_cfunc_ftype): Move earlier.
2560 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
2561 (add_com, add_info): Use cmd_cfunc_ftype.
2562
96142726
TT
25632014-06-30 Tom Tromey <tromey@redhat.com>
2564
2565 * symtab.c (operator_chars): Make parameters and return type
2566 const.
2567 (file_matches): Make "files" const.
2568 (struct search_symbols_data) <files>: Now const.
2569 (search_symbols): Make "regexp" and "files" parameters const.
2570 Update.
2571 (symtab_symbol_info): Remove cast.
2572 (rbreak_command): Update.
2573 * symtab.h (search_symbols): Update.
2574
b67a2c6f
YQ
25752014-06-27 Yao Qi <yao@codesourcery.com>
2576
2577 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
2578 Change parameter type to 'struct thread_info *'. Caller
2579 updated.
2580 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
2581 Update declaration.
2582 * dummy-frame.c (struct dummy_frame_id): New.
2583 (dummy_frame_id_eq): New function.
2584 (struct dummy_frame) <id>: Change its type to 'struct
2585 dummy_frame_id'.
2586 (dummy_frame_push): Add parameter ptid and save it in
2587 dummy_frame_id.
2588 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
2589 inferior_ptid.
2590 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
2591 to inferior_ptid.
2592 (lookup_dummy_frame): Change parameter type to 'struct
2593 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
2594 instead of frame_id_eq.
2595 (dummy_frame_pop): Add parameter ptid. Callers updated.
2596 Update comments. Compose dummy_frame_id and pass it to
2597 lookup_dummy_frame.
2598 (dummy_frame_discard): Add parameter ptid.
2599 (dummy_frame_sniffer): Compose dummy_frame_id and call
2600 dummy_frame_id_eq instead of frame_id_eq.
2601 (fprint_dummy_frames): Print ptid.
2602 * dummy-frame.h: Remove comments.
2603 (dummy_frame_push): Add ptid in declaration.
2604 (dummy_frame_pop, dummy_frame_discard): Likewise.
2605
5b10184c
TT
26062014-06-26 Tom Tromey <tromey@redhat.com>
2607
2608 * cli/cli-cmds.c (error_no_arg): Make "why" const.
2609 * command.h (error_no_arg): Update.
2610
06900326
TT
26112014-06-26 Tom Tromey <tromey@redhat.com>
2612
2613 * cli/cli-setshow.c (do_set_command): Make "arg" const.
2614 (do_show_command): Make "arg" const.
2615 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
2616
c2bcbb1d
TT
26172014-06-26 Tom Tromey <tromey@redhat.com>
2618
2619 * record-full.c (record_full_get_bookmark): Make "args" const.
2620 (record_full_goto_bookmark): Make "raw_bookmark" const.
2621 * record.c (record_goto): New function.
2622 (cmd_record_goto): Use it. Now static.
2623 * record.h (record_goto): Declare.
2624 (cmd_record_goto): Remove declaration.
2625 * target-delegates.c: Rebuild.
2626 * target.h (struct target_ops) <to_get_bookmark,
2627 to_goto_bookmark>: Make parameter const.
2628
9cbe5fff
TT
26292014-06-26 Tom Tromey <tromey@redhat.com>
2630
2631 * defs.h (generic_load): Update.
2632 * m32r-rom.c (m32r_load_gen): Make "filename" const.
2633 * monitor.c (monitor_load): Make "args" const.
2634 * remote-m32r-sdi.c (m32r_load): Make "args" const.
2635 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
2636 const.
2637 (mips_load): Make "file" const.
2638 * remote-sim.c (gdbsim_load): Make "args" const.
2639 * remote.c (remote_load): Make "name" const.
2640 * symfile.c (generic_load): Make "args" const.
2641 * target-delegates.c: Rebuild.
2642 * target.c (target_load): Make "arg" const.
2643 (debug_to_load): Make "args" const.
2644 * target.h (struct target_ops) <to_load>: Make parameter const.
2645 (target_load): Update.
2646
34a68019
TT
26472014-06-26 Tom Tromey <tromey@redhat.com>
2648
2649 PR symtab/16902:
2650 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
2651 (dwarf2_physname, read_partial_die)
2652 (guess_partial_die_structure_name, fixup_partial_die)
2653 (guess_full_die_structure_name, anonymous_struct_prefix)
2654 (dwarf2_name): Use per-BFD obstack.
2655
efc889c1
YQ
26562014-06-26 Yao Qi <yao@codesourcery.com>
2657
2658 * dummy-frame.c (dummy_frame_sniffer): Move local variables
2659 dummyframe and this_id into inner block below.
2660
4395285e
YQ
26612014-06-26 Yao Qi <yao@codesourcery.com>
2662
2663 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
2664 with "signal_pass[0]" in the initialization of signal_pass.
2665
aef92902
MM
26662014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2667
2668 * record-btrace.c (record_btrace_generating_corefile)
2669 (record_btrace_prepare_to_generate_core)
2670 (record_btrace_done_generating_core): New.
2671 (record_btrace_xfer_partial, record_btrace_fetch_registers)
2672 (record_btrace_store_registers, record_btrace_prepare_to_store):
2673 Forward request when generating a core file.
2674 (record_btrace_open): Set record_btrace_generating_corefile to zero.
2675 (init_record_btrace_ops): Set to_prepare_to_generate_core and
2676 to_done_generating_core.
2677
5fff78c4
MM
26782014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2679
2680 * target.h (target_ops) <to_prepare_to_generate_core>
2681 <to_done_generating_core>: New.
2682 (target_prepare_to_generate_core, target_done_generating_core): New.
2683 * target.c (target_prepare_to_generate_core)
2684 (target_done_generating_core): New.
2685 * target-delegates.c: Regenerate.
2686 * gcore.c: (write_gcore_file): Rename to ...
2687 (write_gcore_file_1): ...this.
2688 (write_gcore_file): Call target_prepare_to_generate_core
2689 and target_done_generating_core.
2690
1d1f1ccb
MM
26912014-06-25 Markus Metzger <markus.t.metzger@intel.com>
2692
2693 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
2694 * gcore.c (write_gcore_file): Free memory returned from
2695 make_corefile_notes.
2696 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
2697 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
2698
3343ef86
YQ
26992014-06-24 Yao Qi <yao@codesourcery.com>
2700
2701 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
2702 (arm_linux_init_abi): Set skip_trampoline_code with
2703 gdbarch_skip_trampoline_code instead of
2704 find_solib_trampoline_target.
2705
18d18ac8
YQ
27062014-06-24 Yao Qi <yao@codesourcery.com>
2707
2708 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
2709 arm_skip_bx_reg returns non-zero.
2710
80d8d390
YQ
27112014-06-24 Yao Qi <yao@codesourcery.com>
2712
2713 * arm-tdep.c (arm_skip_bx_reg): New function.
2714 (arm_skip_stub): Call arm_skip_bx_reg.
2715
6a18a01c
DB
27162014-06-23 Don Breazeal <donb@codesourcery.com>
2717
2718 * MAINTAINERS: Add myself as write-after-approval maintainer.
2719
8e9db26e
PA
27202014-06-23 Pedro Alves <palves@redhat.com>
2721
2722 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
2723 DR_CONTROL before setting DR0..DR3.
2724 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
2725 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
2726 bits of DR_CONTROL related to the debug register slot being
2727 disabled. If all slots are vacant, clear local slowdown as well,
2728 and assert DR_CONTROL is 0.
2729
70afc5b7
SC
27302014-06-23 Siva Chandra Reddy <sivachandra@google.com>
2731
2732 * python/lib/gdb/command/xmethods.py
2733 (get_method_matchers_in_loci): Lookup xmethod matchers in the
2734 current progspace only if the string "progspace" matches LOCUS_RE.
2735
840ed64d
JK
27362014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2737
2738 Fix --with-system-readline with readline-6.3 patch 5.
2739 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
2740 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
2741 types.
2742
26f2dc30
TT
27432014-06-20 Tom Tromey <tromey@redhat.com>
2744
2745 * dwarf2read.c (dw2_get_real_path): Use correct type in
2746 OBSTACK_CALLOC.
2747 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
2748
125f8a3d
GB
27492014-06-20 Gary Benson <gbenson@redhat.com>
2750
2751 * common/gdb_thread_db.h: Moved to nat. All includes updated.
2752 * common/glibc_thread_db.h: Likewise.
2753 * common/i386-cpuid.h: Likewise.
2754 * common/i386-gcc-cpuid.h: Likewise.
2755 * common/linux-btrace.h: Likewise.
2756 * common/linux-osdata.h: Likewise.
2757 * common/linux-procfs.h: Likewise.
2758 * common/linux-ptrace.h: Likewise.
2759 * common/mips-linux-watch.h: Likewise.
2760 * common/linux-btrace.c: Moved to nat.
2761 * common/linux-osdata.c: Likewise.
2762 * common/linux-procfs.c: Likewise.
2763 * common/linux-ptrace.c: Likewise.
2764 * common/mips-linux-watch.c: Likewise.
2765 * nat/gdb_thread_db.h: Moved from common.
2766 * nat/glibc_thread_db.h: Likewise.
2767 * nat/i386-cpuid.h: Likewise.
2768 * nat/i386-gcc-cpuid.h: Likewise.
2769 * nat/linux-btrace.c: Likewise.
2770 * nat/linux-btrace.h: Likewise.
2771 * nat/linux-osdata.c: Likewise.
2772 * nat/linux-osdata.h: Likewise.
2773 * nat/linux-procfs.c: Likewise.
2774 * nat/linux-procfs.h: Likewise.
2775 * nat/linux-ptrace.c: Likewise.
2776 * nat/linux-ptrace.h: Likewise.
2777 * nat/mips-linux-watch.c: Likewise.
2778 * nat/mips-linux-watch.h: Likewise.
2779 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
2780 (object file files): Reordered.
2781 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
2782 of glibc_thread_db.h.
2783
42995dbd
GB
27842014-06-20 Gary Benson <gbenson@redhat.com>
2785
2786 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
2787 (i386_dr_low_type): Moved to nat/i386-dregs.h.
2788 (i386_dr_low): Likewise.
2789 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
2790 (i386_dr_low_set_addr): Likewise.
2791 (i386_dr_low_get_addr): Likewise.
2792 (i386_dr_low_can_set_control): Likewise.
2793 (i386_dr_low_set_control): Likewise.
2794 (i386_dr_low_get_control): Likewise.
2795 (i386_dr_low_get_status): Likewise.
2796 (i386_get_debug_register_length): Likewise.
2797 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
2798 (i386_dr_low): Likewise.
2799 * nat/i386-dregs.c (i386-low.h): Remove include.
2800 (i386-nat.h): Likewise.
2801 (nat/i386-dregs.h): New include.
2802 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
2803 (i386_dr_low_set_addr): Likewise.
2804 (i386_dr_low_get_addr): Likewise.
2805 (i386_dr_low_can_set_control): Likewise.
2806 (i386_dr_low_set_control): Likewise.
2807 (i386_dr_low_get_control): Likewise.
2808 (i386_dr_low_get_status): Likewise.
2809 (i386_get_debug_register_length): Likewise.
2810 (debug_hw_points): Likewise.
2811
3ed9baed
IB
28122014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
2813
2814 * Makefile.in (SFILES): Add d-exp.y.
2815 (YYFILES): Add d-exp.c.
2816 (YYOBJ): Add d-exp.o.
2817 (local-maintainer-clean): Delete d-exp.c.
2818 * d-exp.y: New file.
2819 * d-lang.h (d_parse): New declaration.
2820 (d_error): New declaration.
2821 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
2822 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
2823 PREC_ORDER operators.
2824 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
2825
78c164b0
YQ
28262014-06-19 Yao Qi <yao@codesourcery.com>
2827
2828 * gdbthread.h (any_running): Remove the declaration.
2829 * thread.c (any_running): Remove.
2830
f6e29b6e
YQ
28312014-06-19 Yao Qi <yao@codesourcery.com>
2832
2833 * gdbthread.h (struct thread_info) <state>: Change its type to
2834 'enum thread_state'. Update comments.
2835
034f788c
PA
28362014-06-19 Pedro Alves <palves@redhat.com>
2837
2838 * gdbthread.h (ALL_THREADS): Delete.
2839 (ALL_NON_EXITED_THREADS): New macro.
2840 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
2841 instead of ALL_THREADS.
2842 * infrun.c (find_thread_needs_step_over)
2843 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
2844 instead of ALL_THREADS.
2845 * record-btrace.c (record_btrace_open)
2846 (record_btrace_stop_recording, record_btrace_close)
2847 (record_btrace_is_replaying, record_btrace_resume)
2848 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
2849 * remote.c (append_pending_thread_resumptions): Likewise.
2850 * thread.c (thread_apply_all_command): Likewise.
2851
46e33252
GB
28522014-06-19 Gary Benson <gbenson@redhat.com>
2853
2854 * i386-nat.c (i386_stopped_by_watchpoint):
2855 Use i386_dr_stopped_by_watchpoint.
2856 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
2857 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
2858
3a8ee006
GB
28592014-06-19 Gary Benson <gbenson@redhat.com>
2860
2861 * nat/i386-dregs.c: New file.
2862 * Makefile.in (i386-dregs.o): New rule.
2863 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
2864 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
2865 * config/i386/darwin.mh (NATDEPFILES): Likewise.
2866 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
2867 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
2868 * config/i386/go32.mh (NATDEPFILES): Likewise.
2869 * config/i386/linux.mh (NATDEPFILES): Likewise.
2870 * config/i386/linux64.mh (NATDEPFILES): Likewise.
2871 * config/i386/mingw.mh (NATDEPFILES): Likewise.
2872 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
2873 * i386-nat.h (debug_hw_points): New declaration.
2874 * i386-nat.c (breakpoint.h): Remove include.
2875 (command.h): Likewise.
2876 (target.h): Likewise.
2877 (gdb_assert.h): Likewise.
2878 (debug_hw_points): Made nonstatic.
2879 (debug_printf): Now in i386-dregs.c.
2880 (TARGET_HAS_DR_LEN_8): Likewise.
2881 (DR_CONTROL_SHIFT): Likewise.
2882 (DR_CONTROL_SIZE): Likewise.
2883 (DR_RW_EXECUTE): Likewise.
2884 (DR_RW_WRITE): Likewise.
2885 (DR_RW_READ): Likewise.
2886 (DR_RW_IORW): Likewise.
2887 (DR_LEN_1): Likewise.
2888 (DR_LEN_2): Likewise.
2889 (DR_LEN_4): Likewise.
2890 (DR_LEN_8): Likewise.
2891 (DR_LOCAL_ENABLE_SHIFT): Likewise.
2892 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
2893 (DR_ENABLE_SIZE): Likewise.
2894 (DR_LOCAL_SLOWDOWN): Likewise.
2895 (DR_GLOBAL_SLOWDOWN): Likewise.
2896 (DR_CONTROL_RESERVED): Likewise.
2897 (I386_DR_CONTROL_MASK): Likewise.
2898 (I386_DR_VACANT): Likewise.
2899 (I386_DR_LOCAL_ENABLE): Likewise.
2900 (I386_DR_GLOBAL_ENABLE): Likewise.
2901 (I386_DR_DISABLE): Likewise.
2902 (I386_DR_SET_RW_LEN): Likewise.
2903 (I386_DR_GET_RW_LEN): Likewise.
2904 (I386_DR_WATCH_HIT): Likewise.
2905 (i386_wp_op_t): Likewise.
2906 (i386_show_dr): Likewise.
2907 (i386_length_and_rw_bits): Likewise.
2908 (i386_insert_aligned_watchpoint): Likewise.
2909 (i386_remove_aligned_watchpoint): Likewise.
2910 (i386_handle_nonaligned_watchpoint): Likewise.
2911 (i386_update_inferior_debug_regs): Likewise.
2912 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
2913 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
2914 (i386_region_ok_for_watchpoint):
2915 Use i386_dr_region_ok_for_watchpoint.
2916 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
2917
322a8e06
GB
29182014-06-19 Gary Benson <gbenson@redhat.com>
2919
2920 * i386-nat.c (i386_insert_hw_breakpoint): Use
2921 i386_insert_watchpoint.
2922 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
2923
8f26655c
GB
29242014-06-19 Gary Benson <gbenson@redhat.com>
2925
2926 * i386-nat.c (i386_dr_show): Renamed to
2927 i386_show_dr and made static. All uses updated.
2928 (i386_dr_length_and_rw_bits): Renamed to
2929 i386_length_and_rw_bits and made static.
2930 All uses updated.
2931 (i386_dr_insert_aligned_watchpoint): Renamed to
2932 i386_insert_aligned_watchpoint and made static.
2933 All uses updated.
2934 (i386_dr_remove_aligned_watchpoint): Renamed to
2935 i386_remove_aligned_watchpoint and made static.
2936 All uses updated.
2937 (i386_dr_update_inferior_debug_regs): Renamed to
2938 i386_update_inferior_debug_regs and made static.
2939 All uses updated.
2940 * nat/i386-dregs.h (i386_dr_show): Removed.
2941 (i386_dr_length_and_rw_bits): Likewise.
2942 (i386_dr_insert_aligned_watchpoint): Likewise.
2943 (i386_dr_remove_aligned_watchpoint): Likewise.
2944 (i386_dr_update_inferior_debug_regs): Likewise.
2945
992c7d70
GB
29462014-06-19 Gary Benson <gbenson@redhat.com>
2947
2948 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
2949 * configure: Regenerate.
2950 * config.in: Likewise.
2951 * main.c (signal.h): New include.
2952 (setup_alternate_signal_stack): New function.
2953 (captured_main): Call the above.
2954 * cp-support.c (signal.h): New include.
2955 (catch_demangler_crashes): New flag.
2956 (SIGJMP_BUF): New define.
2957 (SIGSETJMP): Likewise.
2958 (SIGLONGJMP): Likewise.
2959 (gdb_demangle_jmp_buf): New static global.
2960 (gdb_demangle_attempt_core_dump): Likewise.
2961 (gdb_demangle_signal_handler): New function.
2962 (gdb_demangle): If catch_demangler_crashes is set, install the
2963 above signal handler before calling bfd_demangle, and restore
2964 the original signal handler afterwards. Display the offending
2965 symbol and call demangler_warning the first time a segmentation
2966 fault is caught.
2967 (_initialize_cp_support): New maint set/show command.
2968
eae7090b
GB
29692014-06-19 Gary Benson <gbenson@redhat.com>
2970
2971 * utils.h (resource_limit_kind): New enum.
2972 (can_dump_core): New declaration.
2973 (warn_cant_dump_core): Likewise.
2974 (dump_core): Likewise.
2975 * utils.c (dump_core): Made nonstatic. Added new
2976 parameter "limit_kind".
2977 (can_dump_core): Made nonstatic. Moved printing code to...
2978 (warn_cant_dump_core): New function.
2979 (can_dump_core_warn): Likewise.
2980 (internal_vproblem): Replace calls to can_dump_core with
2981 calls to can_dump_core_warn. Supply new argument to each.
2982
57fcfb1b
GB
29832014-06-19 Gary Benson <gbenson@redhat.com>
2984
2985 * utils.h (demangler_vwarning): New declaration.
2986 (demangler_warning): Likewise.
2987 * utils.c (struct internal_problem)
2988 <user_settable_should_quit>: New field.
2989 <user_settable_should_dump_core>: Likewise
2990 (internal_error_problem): Add values for above new fields.
2991 (internal_warning_problem): Likewise.
2992 (demangler_warning_problem): New static global.
2993 (demangler_vwarning): New function.
2994 (demangler_warning): Likewise.
2995 (add_internal_problem_command): Selectively add commands.
2996 (_initialize_utils): New internal problem command.
2997 * maint.c (maintenance_demangler_warning): New function.
2998 (_initialize_maint_cmds): New command.
2999
17a40b44
TT
30002014-06-18 Tom Tromey <tromey@redhat.com>
3001
3002 * f-valprint.c (info_common_command_for_block): Update.
3003 * symtab.h (struct general_symbol_info) <common_block>: Now
3004 const.
3005
346d1dfe
TT
30062014-06-18 Tom Tromey <tromey@redhat.com>
3007
3008 * symtab.h (struct symtab) <blockvector>: Now const.
3009 * ada-lang.c (ada_add_global_exceptions): Update.
3010 * buildsym.c (augment_type_symtab): Update.
3011 * dwarf2read.c (dw2_lookup_symbol): Update.
3012 * jit.c (finalize_symtab): Update.
3013 * jv-lang.c (add_class_symtab_symbol): Update.
3014 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
3015 Update.
3016 * objfiles.c (objfile_relocate1): Update.
3017 * psymtab.c (lookup_symbol_aux_psymtabs)
3018 (maintenance_check_psymtabs): Update.
3019 * python/py-symtab.c (stpy_global_block, stpy_static_block):
3020 Update.
3021 * spu-tdep.c (spu_catch_start): Update.
3022 * symmisc.c (dump_symtab_1): Update.
3023 * symtab.c (lookup_global_symbol_from_objfile)
3024 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
3025 (basic_lookup_transparent_type_quick)
3026 (basic_lookup_transparent_type, find_pc_sect_symtab)
3027 (find_pc_sect_line, search_symbols): Update.
3028 * block.c (find_block_in_blockvector): Make "bl" const.
3029 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
3030 const.
3031 (blockvector_contains_pc): Make "bv" const.
3032 (block_for_pc_sect): Update.
3033 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3034 (blockvector_contains_pc): Update.
3035 * breakpoint.c (resolve_sal_pc): Update.
3036 * inline-frame.c (block_starting_point_at): Update.
3037
1834676b
TT
30382014-06-18 Tom Tromey <tromey@redhat.com>
3039
3040 * completer.c (complete_line): Make "line_buffer" const.
3041 * completer.h (complete_line): Update.
3042
ac1a991b
TT
30432014-06-18 Tom Tromey <tromey@redhat.com>
3044
3045 * symtab.c (add_macro_name): Remove unneeded cast.
3046
5bc98e52
TT
30472014-06-18 Tom Tromey <tromey@redhat.com>
3048
3049 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
3050 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
3051
8236def8
TT
30522014-06-18 Tom Tromey <tromey@redhat.com>
3053
3054 * probe.c (info_probes_for_ops): Make "arg" const.
3055 * probe.h (info_probes_for_ops): Update.
3056
3977b71f
TT
30572014-06-18 Tom Tromey <tromey@redhat.com>
3058
3059 * varobj.c (varobj_create): Update.
3060 * valops.c (value_of_this): Update.
3061 * tracepoint.c (add_local_symbols, scope_info): Update.
3062 * symtab.h (struct general_symbol_info) <block>: Now const.
3063 * symtab.c (skip_prologue_sal)
3064 (default_make_symbol_completion_list_break_on)
3065 (skip_prologue_using_sal): Update.
3066 * stack.h (iterate_over_block_locals)
3067 (iterate_over_block_local_vars): Update.
3068 * stack.c (print_frame_args): Update.
3069 (iterate_over_block_locals, iterate_over_block_local_vars): Make
3070 parameter const.
3071 (get_selected_block): Make return type const.
3072 * python/py-frame.c (frapy_block): Update.
3073 * python/py-block.c (gdbpy_block_for_pc): Update.
3074 * p-exp.y (%union) <bval>: Now const.
3075 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
3076 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
3077 * m2-exp.y (%union) <bval>: Now const.
3078 * linespec.c (get_current_search_block): Make return type const.
3079 (create_sals_line_offset, find_label_symbols): Update.
3080 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
3081 Update.
3082 (block_starting_point_at): Make "block" const.
3083 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
3084 (check_exception_resume): Update.
3085 * guile/scm-frame.c (gdbscm_frame_block): Update.
3086 * guile/scm-block.c (gdbscm_lookup_block): Update.
3087 * frame.h (get_frame_block): Update.
3088 (get_selected_block): Make return type const.
3089 * frame.c (frame_id_inner): Update.
3090 * f-valprint.c (info_common_command_for_block)
3091 (info_common_command): Update.
3092 * dwarf2loc.c (dwarf2_find_location_expression)
3093 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
3094 (locexpr_describe_location_piece): Update.
3095 * c-exp.y (%union) <bval>: Now const.
3096 * breakpoint.c (resolve_sal_pc): Update.
3097 * blockframe.c (get_frame_block):Make return type const.
3098 (get_pc_function_start, get_frame_function, find_pc_sect_function)
3099 (block_innermost_frame): Update.
3100 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
3101 (block_for_pc, block_for_pc_sect): Update.
3102 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
3103 'pblock' const.
3104 (block_for_pc_sect, block_for_pc): Make return type const.
3105 * ax-gdb.c (gen_expr): Update.
3106 * alpha-mdebug-tdep.c (find_proc_desc): Update.
3107 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
3108 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
3109 (ada_read_var_value): Update.
3110 * ada-exp.y (struct name_info) <block>: Now const.
3111 (%union): Likewise.
3112 (block_lookup): Constify.
3113
b9228891
GB
31142014-06-18 Gary Benson <gbenson@redhat.com>
3115
3116 * nat/i386-dregs.h: New file.
3117 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
3118 * i386-nat.h (i386-dregs.h): New include.
3119 (DR_FIRSTADDR): Now in i386-dregs.h.
3120 (DR_LASTADDR): Likewise.
3121 (DR_NADDR): Likewise.
3122 (DR_STATUS): Likewise.
3123 (DR_CONTROL): Likewise.
3124 (i386_debug_reg_state): Likewise.
3125 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
3126
a1aa2221
LM
31272014-06-18 Don Breazeal <donb@codesourcery.com>
3128
3129 * breakpoint.c (set_longjmp_breakpoint): Call
3130 momentary_breakpoint_from_master with additional argument.
3131 (set_longjmp_breakpoint_for_call_dummy): Call
3132 momentary_breakpoint_from_master with additional argument.
3133 (set_std_terminate_breakpoint): Call
3134 momentary_breakpoint_from_master with additional argument.
3135 (momentary_breakpoint_from_master): Add argument to function
3136 definition and use it to initialize structure member flag.
74228e77 3137 (clone_momentary_breakpoint): Call
a1aa2221
LM
3138 momentary_breakpoint_from_master with additional argument.
3139 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
3140 member flags set in momentary_breakpoint_from_master.
3141
4be83cc2
GB
31422014-06-18 Gary Benson <gbenson@redhat.com>
3143
3144 * i386-nat.c (i386_show_dr): Renamed to
3145 i386_dr_show and made nonstatic. All uses updated.
3146 (i386_length_and_rw_bits): Renamed to
3147 i386_dr_length_and_rw_bits and made nonstatic.
3148 All uses updated.
3149 (i386_insert_aligned_watchpoint): Renamed to
3150 i386_dr_insert_aligned_watchpoint and made nonstatic.
3151 All uses updated.
3152 (i386_remove_aligned_watchpoint): Renamed to
3153 i386_dr_remove_aligned_watchpoint and made nonstatic.
3154 All uses updated.
3155 (i386_update_inferior_debug_regs): Renamed to
3156 i386_dr_update_inferior_debug_regs and made nonstatic.
3157 All uses updated.
3158
131aa0d4
GB
31592014-06-18 Gary Benson <gbenson@redhat.com>
3160
3161 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
3162 (i386_dr_low_can_set_control): Likewise.
3163 (i386_dr_low_set_addr): Likewise.
3164 (i386_dr_low_set_control): Likewise.
3165 (i386_dr_low_get_addr): Likewise.
3166 (i386_dr_low_get_status): Likewise.
3167 (i386_dr_low_get_control): Likewise.
3168 (i386_insert_aligned_watchpoint): Use new macros.
3169 (i386_update_inferior_debug_regs): Likewise.
3170 (i386_stopped_data_address): Likewise.
3171
d9305f7f
GB
31722014-06-18 Gary Benson <gbenson@redhat.com>
3173
3174 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
3175 New parameter. All uses updated.
3176
ea008da4
GB
31772014-06-18 Gary Benson <gbenson@redhat.com>
3178
3179 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
3180 All uses updated.
3181
1b6d4134
GB
31822014-06-18 Gary Benson <gbenson@redhat.com>
3183
3184 * i386-nat.c (debug_printf): New macro.
3185 (i386_get_debug_register_length): Likewise.
3186 (TARGET_HAS_DR_LEN_8): Use above macro.
3187 (i386_show_dr): Use debug_printf instead of puts_unfiltered
3188 and printf_unfiltered. Use phex to format values.
3189
9b4550ef
GB
31902014-06-18 Gary Benson <gbenson@redhat.com>
3191
3192 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
3193 Make const.
3194
6e62758f
GB
31952014-06-18 Gary Benson <gbenson@redhat.com>
3196
3197 * i386-nat.c: Comment changes.
3198
51c79e94
GB
31992014-06-18 Gary Benson <gbenson@redhat.com>
3200
3201 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
3202
3e11889a
GB
32032014-06-18 Gary Benson <gbenson@redhat.com>
3204
3205 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
3206 (i386_insert_aligned_watchpoint): Likewise.
3207 (i386_remove_aligned_watchpoint): Likewise.
3208 (i386_handle_nonaligned_watchpoint): Likewise.
3209
fc6e2f03
GB
32102014-06-18 Gary Benson <gbenson@redhat.com>
3211
3212 * i386-nat.c: Whitespace changes.
3213
2afe7d50
SB
32142014-06-17 Samuel Bronson <naesten@gmail.com>
3215
3216 * MAINTAINERS: Update Roland McGrath's email address.
3217 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 3218 Red Hat a while ago, and giving me a current address.
2afe7d50 3219
3bca49ee
TT
32202014-06-17 Tom Tromey <tromey@redhat.com>
3221
3222 * utils.h (savestring): Remove declaration.
3223
6e366df1
TT
32242014-06-17 Tom Tromey <tromey@redhat.com>
3225
3226 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
3227
6be47f0c
KS
32282014-06-16 Keith Seitz <keiths@redhat.com>
3229
3230 PR mi/15863
3231 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
3232 to update the varobj if inferior_ptid is null_ptid.
3233
7bc112c1
TT
32342014-06-16 Tom Tromey <tromey@redhat.com>
3235
3236 * target.h (struct target_ops) <to_info_proc>: Make parameter
3237 const.
3238 (target_info_proc): Update.
3239 * target.c (target_info_proc): Make "args" const.
3240 * procfs.c (procfs_info_proc): Update.
3241 * linux-tdep.c (linux_info_proc): Update.
3242 (linux_core_info_proc_mappings): Make "args" const.
3243 (linux_core_info_proc): Update.
3244 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
3245 * gdbarch.c: Rebuild.
3246 * gdbarch.h: Rebuild.
3247 * corelow.c (core_info_proc): Update.
3248
fee354ee
TT
32492014-06-16 Tom Tromey <tromey@redhat.com>
3250
3251 * target.h (struct target_ops) <to_disconnect>: Make parameter
3252 const.
3253 (target_disconnect): Update.
3254 * target.c (target_disconnect): Make "args" const.
3255 * target-delegates.c: Rebuild.
3256 * remote.c (remote_disconnect): Update.
3257 * record.h (record_disconnect): Update.
3258 * record.c (record_disconnect): Update.
3259 * inf-child.c (inf_child_disconnect): Update.
3260
a30bf1f1
TT
32612014-06-16 Tom Tromey <tromey@redhat.com>
3262
3263 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
3264 * target.c (debug_to_rcmd, default_rcmd): Update.
3265 * target-delegates.c: Rebuild.
3266 * remote.c (remote_rcmd): Update.
3267 * monitor.c (monitor_rcmd): Update.
3268
d03de421
PA
32692014-06-16 Pedro Alves <palves@redhat.com>
3270
3271 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
3272 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
3273 have OBJF_SHARED set.
3274 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
3275 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
3276 instead of OBJF_USERLOADED.
3277 * objfiles.h (OBJF_SHARED): Update comment.
3278 (userloaded_objfile_contains_address_p): Rename to ...
3279 (shared_objfile_contains_address_p): ... this, and update
3280 comments.
3281 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
3282 new objfile.
3283 (remove_symbol_file_command): Skip objfiles that don't have
3284 OBJF_SHARED set.
3285
99f4262f
TT
32862014-06-16 Tom Tromey <tromey@redhat.com>
3287
3288 * minsyms.h (prim_record_minimal_symbol)
3289 (prim_record_minimal_symbol_and_info): Update comments.
3290
97d66cc6
EZ
32912014-06-14 Eli Zaretskii <eliz@gnu.org>
3292
3293 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
3294 or --without-guile, according to how GDB was built.
3295
635c7e8a
TT
32962014-06-13 Tom Tromey <tromey@redhat.com>
3297
3298 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
3299 to help_list.
3300 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
3301 to help_list.
3302 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
3303 help_list.
3304 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
3305 help_list.Pass all_commands, not -1, to help_list.
3306 * cli/cli-dump.c (dump_command, append_command)
3307 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
3308 (binary_dump_command, binary_append_command): Pass all_commands,
3309 not -1, to help_list.
3310 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
3311 -1, to help_list.
3312 * valprint.c (set_print, set_print_raw): Pass all_commands, not
3313 -1, to help_list.
3314 * typeprint.c (set_print_type): Pass all_commands, not -1, to
3315 help_list.
3316 * top.c (set_history): Pass all_commands, not -1, to help_list.
3317 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
3318 all_commands, not -1, to help_list.
3319 * symfile.c (overlay_command): Pass all_commands, not -1, to
3320 help_list.
3321 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
3322 help_list.
3323 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
3324 help_list.
3325 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
3326 -1, to help_list.
3327 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
3328 not -1, to help_list.
3329 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
3330 not -1, to help_list.
3331 * maint.c (maintenance_command, maintenance_info_command)
3332 (maintenance_print_command, maintenance_set_cmd): Pass
3333 all_commands, not -1, to help_list.
3334 * macrocmd.c (macro_command): Pass all_commands, not -1, to
3335 help_list.
3336 * language.c (set_check): Pass all_commands, not -1, to help_list.
3337 * infcmd.c (unset_command): Pass all_commands, not -1, to
3338 help_list.
3339 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
3340 help_list.
3341 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
3342 help_list.
3343 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
3344 help_list.
3345 * breakpoint.c (save_command): Pass all_commands, not -1, to
3346 help_list.
3347 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
3348 all_commands, not -1, to help_list.
3349
b94ade42
PL
33502014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
3351
3352 * regcache.c (struct register_to_invalidate): New structure.
3353 (do_register_invalidate, make_cleanup_regcache_invalidate): New
3354 functions.
3355 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
3356
31f628ae
YQ
33572014-06-12 Yao Qi <yao@codesourcery.com>
3358
3359 * varobj.c (varobj_get_num_children): Call
3360 varobj_is_dynamic_p.
3361 (varobj_list_children): Likewise.
3362 (varobj_update): Likewise. Update comments.
3363
cde5ef40
YQ
33642014-06-12 Yao Qi <yao@codesourcery.com>
3365
3366 * varobj.c (varobj_pretty_printed_p): Rename to ...
3367 (varobj_is_dynamic_p): ... this. New function.
3368 * varobj.h (varobj_pretty_printed_p): Remove declaration.
3369 (varobj_is_dynamic_p): Declare.
3370 * mi/mi-cmd-var.c (print_varobj): All callers updated.
3371 (mi_print_value_p, varobj_update_one): Likewise.
3372
576ea091
YQ
33732014-06-12 Pedro Alves <pedro@codesourcery.com>
3374 Yao Qi <yao@codesourcery.com>
3375
3376 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
3377 (varobj_get_iterator): Wrap up code for pretty-printer by
3378 "#if HAVE_PYTHON" and "#endif".
3379 (update_dynamic_varobj_children): Likewise.
3380
827f100c
YQ
33812014-06-12 Pedro Alves <pedro@codesourcery.com>
3382 Yao Qi <yao@codesourcery.com>
3383
3384 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
3385 gdb_python_initialized is false. Move some code from varobj.c.
3386 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
3387 * varobj.c: Move "varobj-iter.h" inclusion earlier.
3388 (struct varobj_item): Moved to varobj-iter.h".
3389 (varobj_clear_saved_item): New function.
3390 (update_dynamic_varobj_children): Move python-related code to
3391 py-varobj.c.
3392 (free_variable): Call varobj_clear_saved_item and
3393 varobj_iter_delete.
3394
e5250216
YQ
33952014-06-12 Pedro Alves <pedro@codesourcery.com>
3396 Yao Qi <yao@codesourcery.com>
3397
3398 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
3399 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
3400 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
3401 (py-varobj.o): New rule.
3402 * python/py-varobj.c: New file.
3403 * python/python-internal.h (py_varobj_get_iterator): Declare.
3404 * varobj-iter.h: New file.
3405 * varobj.c: Include "varobj-iter.h"
3406 (struct varobj) <child_iter>: Change its type from "PyObject *"
3407 to "struct varobj_iter *".
3408 <saved_item>: Likewise.
3409 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
3410 [HAVE_PYTHON] (varobj_get_iterator): New function.
3411 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
3412 python-specific code to python/py-varobj.c.
3413 (install_visualizer): Call varobj_iter_delete instead of
3414 Py_XDECREF.
3415 * varobj.h (varobj_ensure_python_env): Declare.
3416
5a2e0d6e
YQ
34172014-06-12 Yao Qi <yao@codesourcery.com>
3418
3419 * varobj.c (struct varobj_item): New structure.
3420 (create_child_with_value): Update declaration.
3421 (varobj_add_child): Replace arguments 'name' and 'value' with
3422 'item'. All callers updated.
3423 (install_dynamic_child): Likewise.
3424 (update_dynamic_varobj_children): Likewise.
3425 (varobj_add_child): Likewise.
3426 (create_child_with_value): Likewise.
3427
919b9a93
JB
34282014-06-11 Joel Brobecker <brobecker@adacore.com>
3429
3430 * NEWS: Create a new section for the next release branch.
3431 Rename the section of the current branch, now that it has
3432 been cut.
3433
71a55bdf
JB
34342014-06-11 Joel Brobecker <brobecker@adacore.com>
3435
3436 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
3437 * version.in: Bump version to 7.8.50.DATE-cvs.
3438
364fe1f7
PA
34392014-06-11 Pedro Alves <palves@redhat.com>
3440
3441 PR remote/17028
3442 * ser-mingw.c (net_windows_socket_check_pending): New function.
3443 (net_windows_select_thread): Ignore spurious wakeups. Use
3444 net_windows_socket_check_pending.
3445 (net_windows_wait_handle): Check for pending events with
3446 ioctlsocket, through net_windows_socket_check_pending, instead of
3447 checking the socket's event.
3448
5a6c7709
SC
34492014-06-10 Siva Chandra Reddy <sivachandra@google.com>
3450
3451 * python/python-internal.h (gdb_PyObject_GetAttrString)
3452 (gdb_PyObject_HasAttrString): New inline function definitions.
3453 * py-value.c (get_field_flag): Remove the now unnecessary cast to
3454 char * of the second argument to PyObject_GetAttrString.
74228e77 3455
0e58ee40
JB
34562014-06-10 Joel Brobecker <brobecker@adacore.com>
3457
3458 * serial.c (serial_write): Fix index of character to be printed
3459 in call to serial_logchar when serial debug traces are enabled.
3460
d190df30
JB
34612014-06-10 Joel Brobecker <brobecker@adacore.com>
3462
3463 * gdbtypes (resolve_dynamic_range): Add function description.
3464
b4b01d36
PA
34652014-06-09 Pedro Alves <palves@redhat.com>
3466
3467 * linux-nat.c (linux_child_follow_fork): Initialize status with
3468 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
3469 inner block. Only pass the signal to PTRACE_DETACH if in pass
3470 state.
3471
3657956b
GB
34722014-06-09 Gary Benson <gbenson@redhat.com>
3473
3474 * common/signals.c (gdb_signal_from_host): Reorder to separate
3475 the always-available ANSI-standard signals from the signals that
3476 require checking.
3477 (do_gdb_signal_to_host): Likewise.
3478 * proc-events.c (signal_table): Likewise.
3479
c077881a
HZ
34802014-06-08 Hui Zhu <hui@codesourcery.com>
3481
3482 * common/linux-ptrace.c (linux_disable_event_reporting): New
3483 function.
3484 * common/linux-ptrace.h (linux_disable_event_reporting): New
3485 declaration.
3486 * linux-nat.c (linux_child_follow_fork): Do a single step before
3487 detach.
3488
4186eb54
KS
34892014-06-07 Keith Seitz <keiths@redhat.com>
3490
3491 Revert:
3492 PR c++/16253
3493 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
3494 from symbol_matches_domain in symtab.c. All local callers
3495 of symbol_matches_domain updated.
3496 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
3497 search STRUCT_DOMAIN.
3498 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
3499 independently. standard_lookup will do that automatically.
3500 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
3501 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3502 (cp_lookup_symbol_in_namespace): Likewise.
3503 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
3504 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
3505 may return a STRUCT_DOMAIN match.
3506 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
3507 * cp-support.c: Include language.h.
3508 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
3509 VAR_DOMAIN.
3510 * psymtab.c (match_partial_symbol): Compare the requested
3511 domain with the symbol's domain directly.
3512 (lookup_partial_symbol): Likewise.
3513 * symtab.c (lookup_symbol_in_language): Explain when/why
3514 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
3515 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
3516 appropriate languages.
3517 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
3518 and moved to ada-lang.c
3519 (lookup_block_symbol): Explain that this function only returns
3520 symbol matching the requested DOMAIN.
3521 Compare the requested domain with the symbol's domain directly.
3522 (iterate_over_symbols): Compare the requested domain with the
3523 symbol's domain directly.
3524 * symtab.h (symbol_matches_domain): Remove.
3525
25326a28 35262014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
3527
3528 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
3529 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
3530 (gdbscm_guile_version_is_at_least): Declare.
3531 (gdbscm_scm_string_to_int): Declare.
3532 * guile/guile.c (gdbscm_guile_major_version): New global.
3533 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
3534 (guile_datadir): New static global.
3535 (gdbscm_guile_data_directory): New function.
3536 (initialize_scheme_side): Update.
3537 (misc_guile_functions): Add guile-data-directory.
3538 (initialize_gdb_module): Fetch guile version number.
3539 * guile/lib/gdb.scm: Remove call to add-to-load-path.
3540 * guile/lib/gdb/init.scm (%initialize!): Ditto.
3541 * guile/lib/gdb/boot.scm: Use guile-data-directory.
3542 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
3543 comments.
3544 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
3545 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
3546 * guile/scm-value.c (gdbscm_value_to_string): Only call
3547 scm_port_conversion_strategy if Guile version >= 2.0.6.
3548
0a770bb2 35492014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
3550
3551 * main.c (print_gdb_help): Add -q and --silent.
3552
73ba372c
GB
35532014-06-06 Gary Benson <gbenson@redhat.com>
3554
3555 * common/signals.c: Remove preprocessor conditionals for
3556 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
3557 SIGSEGV and SIGTERM.
3558 * proc-events.c: Likewise.
3559
c33b2f12
MM
35602014-06-06 Markus Metzger <markus.t.metzger@intel.com>
3561
3562 * symfile.c (symfile_free_objfile): Remove restriction to
3563 OBJF_USERLOADED.
3564 * symfile-mem.c (symbol_file_add_from_memory): Call
3565 add_target_sections_of_objfile.
3566
fb934770
LC
35672014-06-05 Ludovic Courtès <ludo@gnu.org>
3568
3569 * guile/scm-value.c (gdbscm_history_append_x): Use
3570 'vlscm_get_value_smob_arg_unsafe' instead of
3571 'vlscm_scm_to_value'.
3572
6ef284bd
SM
35732014-06-05 Simon Marchi <simon.marchi@ericsson.com>
3574
3575 PR mi/15806
3576 * utils.c (printchar): Don't escape at all if quoter is NUL.
3577 Update function documentation to clarify effect of parameter
3578 QUOTER.
3579 * remote.c (escape_buffer): Pass '\\' as the quoter to
3580 fputstrn_unfiltered.
3581 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
3582 generate the output.
3583 (mi_solib_unloaded): Same.
3584
270c9937
JB
35852014-06-05 Joel Brobecker <brobecker@adacore.com>
3586
3587 * development.sh: Delete.
3588 * Makefile.in (config.status): Adjust dependency on development.sh.
3589 * configure.ac: Adjust development.sh source call.
3590 * configure: Regenerate.
3591
16f691fb
DE
35922014-06-04 Doug Evans <xdje42@gmail.com>
3593
3594 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
3595 is_scheme_bkpt, spec.
3596 (bpscm_make_breakpoint_smob): Initialize new members.
3597 (gdbscm_create_breakpoint_x): Split into two ...
3598 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
3599 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
3600 (scheme_function breakpoint_functions): Update.
3601 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
3602 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
3603 register-breakpoint!.
3604
ef7cab6b
JB
36052014-06-04 Joel Brobecker <brobecker@adacorer.com>
3606
3607 PR server/17023
3608 * mem-break.c (z_type_supported): Return zero if
3609 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
3610
012370f6
TT
36112014-06-04 Tom Tromey <tromey@redhat.com>
3612
3613 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
3614 value_from_contents_and_address_unresolved.
3615 (ada_template_to_fixed_record_type_1): Likewise.
3616 (ada_which_variant_applies): Likewise.
3617 * value.h (value_from_contents_and_address_unresolved): Declare.
3618 * value.c (value_from_contents_and_address_unresolved): New
3619 function.
3620 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
3621 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
3622 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
3623
92e2a17f
TT
36242014-06-04 Tom Tromey <tromey@redhat.com>
3625
3626 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
3627
c0939df1
TT
36282014-06-04 Tom Tromey <tromey@redhat.com>
3629
3630 * procfs.c (procfs_attach): Make "args" const.
3631 * windows-nat.c (windows_attach): Make "args" const.
3632 * nto-procfs.c (procfs_attach): Make "args" const.
3633 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
3634 * go32-nat.c (go32_attach): Make "args" const.
3635 * gnu-nat.c (gnu_attach): Make "args" const.
3636 * darwin-nat.c (darwin_attach): Make "args" const.
3637 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
3638 * linux-nat.c (linux_nat_attach): Make "args" const.
3639 * remote.c (extended_remote_attach_1, extended_remote_attach):
3640 Make "args" const.
3641 * target.h (struct target_ops) <to_attach>: Make "args" const.
3642 (find_default_attach): Likewise.
3643 * utils.c (parse_pid_to_attach): Make "args" const.
3644 * utils.h (parse_pid_to_attach): Update.
3645
8eaff7cd
TT
36462014-06-04 Tom Tromey <tromey@redhat.com>
3647
3648 * target-delegates.c: Rebuild.
3649 * target.c (default_thread_address_space): New function.
3650 (target_thread_address_space): Simplify.
3651 * target.h (struct target_ops) <to_thread_address_space>: Add
3652 TARGET_DEFAULT_FUNC.
3653
1913f160
DE
36542014-06-04 Doug Evans <xdje42@gmail.com>
3655
3656 * guile/scm-type.c (type_smob): Remove duplicate typedef.
3657
70ad5bff
MM
36582014-06-04 Markus Metzger <markus.t.metzger@intel.com>
3659
3660 * record-btrace.c: Include event-loop.h and inf-loop.h.
3661 (record_btrace_resume_exec_dir)
3662 (record_btrace_async_inferior_event_handler)
3663 (record_btrace_handle_async_inferior_event): New.
3664 (record_btrace_open): Create async event handler.
3665 (record_btrace_close): Delete async event handler.
3666 (record_btrace_resume): Set record_btrace_resume_exec_dir,
3667 Mark async event handler.
3668 (record_btrace_execution_direction): New.
3669 (init_record_btrace_ops): Initialize to_execution_direction.
3670
b6210538
DE
36712014-06-03 Doug Evans <xdje42@gmail.com>
3672
3673 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
3674 (gdbscm_make_parameter): Ditto.
3675
a5b1fd27
DE
36762014-06-03 Doug Evans <dje@google.com>
3677
3678 * exec.c (exec_close_1): Call clear_section_table instead of
3679 resize_section_table.
3680 (clear_section_table): New function.
3681 (resize_section_table): Make static. Rename arg num_added to
3682 adjustment.
3683 * exec.h (clear_section_table): Declare.
3684 (resize_section_table): Delete.
3685 * progspace.c (release_program_space): Call clear_section_table
3686 instead of resize_section_table.
3687
0c6e92a5
SC
36882014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3689
3690 * NEWS (Python Scripting): Add entry about the new xmethods
3691 feature.
3692
883964a7
SC
36932014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3694
3695 * python/py-xmethods.c: New file.
3696 * python/py-objfile.c (objfile_object): New field 'xmethods'.
3697 (objfpy_dealloc): XDECREF on the new xmethods field.
3698 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
3699 field.
3700 (objfpy_get_xmethods): New function.
3701 (objfile_getset): New entry 'xmethods'.
3702 * python/py-progspace.c (pspace_object): New field 'xmethods'.
3703 (pspy_dealloc): XDECREF on the new xmethods field.
3704 (pspy_new, pspace_to_pspace_object): Initialize xmethods
3705 field.
3706 (pspy_get_xmethods): New function.
3707 (pspace_getset): New entry 'xmethods'.
3708 * python/python-internal.h: Add declarations for new functions.
3709 * python/python.c (_initialize_python): Invoke
3710 gdbpy_initialize_xmethods.
3711 * python/lib/gdb/__init__.py (xmethods): New
3712 attribute.
3713 * python/lib/gdb/xmethod.py: New file.
3714 * python/lib/gdb/command/xmethods.py: New file.
3715
58992dc5
SC
37162014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3717
3718 * eval.c (evaluate_subexp_standard): Call the xmethod if the
3719 best match method returned by find_overload_match is an xmethod.
3720 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
3721 the best matching operator returned by find_overload_match is an
3722 xmethod.
3723 * valops.c: #include "extension.h".
3724 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
3725 Return void. The list of matching source methods is returned in
3726 "fn_list" and a vector of matching debug method workers is
3727 returned in "xm_worker_vec". Update all callers.
3728 (value_find_oload_method_list): Likewise.
3729 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
3730 non-NULL, then the index of the best matching method in this
3731 vector is returned. Update all callers.
3732 (find_overload_match): Include xmethods while performing overload
3733 resolution.
3734
e81e7f5e
SC
37352014-06-03 Siva Chandra Reddy <sivachandra@google.com>
3736
3737 * defs.h (enum lval_type): New enumerator "lval_xcallable".
3738 * extension-priv.h (struct extension_language_ops): Add the
3739 xmethod interface.
3740 * extension.c (new_xmethod_worker, clone_xmethod_worker,
3741 get_matching_xmethod_workers, get_xmethod_argtypes,
3742 invoke_xmethod, free_xmethod_worker,
3743 free_xmethod_worker_vec): New functions.
3744 * extension.h: #include "common/vec.h".
3745 New function declarations.
3746 (struct xmethod_worker): New struct.
3747 (VEC (xmethod_worker_ptr)): New vector type.
3748 (xmethod_worker_ptr): New typedef.
3749 (xmethod_worker_vec): Likewise.
3750 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
3751 builtin_type.
3752 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
3753 (struct builtin_type): New field "xmethod".
3754 * valarith.c (value_ptradd): Assert that the value argument is not
3755 lval_xcallable.
3756 * valops.c (value_must_coerce_to_target): Return 0 for
3757 lval_xcallable values.
3758 * value.c (struct value): New field XM_WORKER in the field
3759 LOCATION.
3760 (value_address, value_raw_address): Return 0 for lval_xcallable
3761 values.
3762 (set_value_address): Assert that the value is not an
3763 lval_xcallable.
3764 (value_free): Free the associated xmethod worker when freeing
3765 lval_xcallable values.
3766 (set_value_component_location): Assert that the WHOLE value is not
3767 lval_xcallable.
3768 (value_of_xmethod, call_xmethod): New functions.
3769 * value.h: Declare "struct xmethod_worker".
3770 Declare new functions value_of_xmethod, call_xmethod.
3771
ef370185
JB
37722014-06-03 Joel Brobecker <brobecker@adacore.com>
3773 Pedro Alves <palves@redhat.com>
3774
3775 PR breakpoints/17000
3776 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
3777 New function, extracted from software_breakpoint_inserted_here_p.
3778 (software_breakpoint_inserted_here_p): Replace factored out code
3779 by call to find_non_raw_software_breakpoint_inserted_here.
3780 (bp_target_info_copy_insertion_state): New function.
3781 (bkpt_insert_location): Handle the case of a single-step
3782 breakpoint already inserted at the same address.
3783 (bkpt_remove_location): Handle the case of a single-step
3784 breakpoint still inserted at the same address.
3785 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
3786 breakpoint already inserted at the same address.
3787 (deprecated_remove_raw_breakpoint): Handle the case of a
3788 non-raw breakpoint still inserted at the same address.
3789 (find_single_step_breakpoint): New function, extracted from
3790 single_step_breakpoint_inserted_here_p.
3791 (find_single_step_breakpoint): New function,
3792 factored out from single_step_breakpoint_inserted_here_p.
3793 (single_step_breakpoint_inserted_here_p): Reimplement.
3794
1e2ccb61
BM
37952014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
3796
3797 Pushed by Joel Brobecker <brobecker@adacore.com>
3798 * source.c (show_substitute_path_command): Fix display of matching
3799 substitution rules.
3800
d3448d85
GB
38012014-06-03 Gary Benson <gbenson@redhat.com>
3802
3803 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
3804
06eb1586
DE
38052014-06-02 Doug Evans <xdje42@gmail.com>
3806
3807 Add parameter support for Guile.
3808 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
3809 (SUBDIR_GUILE_SRCS): Add scm-param.c.
3810 (scm-param.o): New rule.
3811 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
3812 (gdbscm_misc_error): Declare.
3813 (gdbscm_canonicalize_command_name): Declare.
3814 (gdbscm_scm_to_host_string): Declare.
3815 (gdbscm_scm_from_host_string): Declare.
3816 (gdbscm_initialize_parameters): Declare.
3817 * guile/guile.c (initialize_gdb_module): Call
3818 gdbscm_initialize_parameters.
3819 * guile/lib/gdb.scm: Export parameter symbols.
3820 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
3821 cmdscm_canonicalize_name and made public. All callers updated.
3822 * guile/scm-exception.c (gdbscm_misc_error): New function.
3823 * guile/scm-param.c: New file.
3824 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
3825 (gdbscm_scm_to_host_string): New function.
3826 (gdbscm_scm_from_host_string): New function.
3827 * scm-utils.c (gdbscm_gc_dup_argv): New function.
3828
e698b8c4
DE
38292014-06-02 Doug Evans <xdje42@gmail.com>
3830
3831 Add command support for Guile.
3832 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
3833 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
3834 (scm-cmd.o): New rule.
3835 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
3836 (gdbscm_user_error_p): Declare.
3837 (gdbscm_parse_command_name): Declare.
3838 (gdbscm_valid_command_class_p): Declare.
3839 (gdbscm_initialize_commands): Declare.
3840 * guile/guile.c (initialize_gdb_module): Call
3841 gdbscm_initialize_commands.
3842 * guile/lib/gdb.scm: Export command symbols.
3843 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
3844 (throw-user-error): New function.
3845 * guile/scm-cmd.c: New file.
3846 * guile/scm-exception.c (user_error_symbol): New static global.
3847 (gdbscm_user_error_p): New function.
3848 (gdbscm_initialize_exceptions): Set user_error_symbol.
3849 * scm-utils.c (gdbscm_gc_xstrdup): New function.
3850
fb1f94b0
PM
38512014-06-02 Phil Muldoon <pmuldoon@redhat.com>
3852
3853 * top.c (command_loop): Handle comments here...
3854 (command_line_input): ... not here.
3855
ded03782
DE
38562014-06-02 Doug Evans <xdje42@gmail.com>
3857
3858 Add progspace support for Guile.
3859 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
3860 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
3861 (scm-progspace.o): New rule.
3862 * guile/guile-internal.h (pspace_smob): New typedef.
3863 (psscm_pspace_smob_pretty_printers): Declare.
3864 (psscm_pspace_smob_from_pspace): Declare.
3865 (psscm_scm_from_pspace): Declare.
3866 * guile/guile.c (initialize_gdb_module): Call
3867 gdbscm_initialize_pspaces.
3868 * guile/lib/gdb.scm: Export progspace symbols.
3869 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
3870 support.
3871 (append-pretty-printer!): Ditto.
3872 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
3873 Implement.
3874 * guile/scm-progspace.c: New file.
3875
397998fc
AM
38762014-06-03 Alan Modra <amodra@gmail.com>
3877
3878 * ppc64-tdep.c (ppc64_standard_linkage8): New.
3879 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
3880
6aa5f3a6
DE
38812014-06-02 Doug Evans <dje@google.com>
3882
3883 Add support for skeletonless type units.
3884 * dwarf2read.c (struct dwarf2_per_objfile): New member
3885 n_allocated_type_units.
3886 (struct dwarf2_per_objfile) <tu_stats>: New member
3887 nr_all_type_units_reallocs.
3888 (create_signatured_type_table_from_index): Initialize
3889 n_allocated_type_units
3890 (create_all_type_units): Ditto.
3891 (add_type_unit): Move up in file. New arg slot.
3892 All callers updated. Increase space for all_type_units more
3893 efficiently.
3894 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
3895 (lookup_dwo_signatured_type): Handle skeletonless TUs.
3896 (lookup_dwp_signatured_type): Ditto.
3897 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
3898 All callers updated.
3899 (build_type_psymtabs_1): Leave type_unit_groups as
3900 NULL if no TUs present.
3901 (print_tu_stats): New function.
3902 (process_skeletonless_type_unit): New function.
3903 (process_dwo_file_for_skeletonless_type_units): New
3904 function.
3905 (process_skeletonless_type_units): New function.
3906 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
3907 Call print tu_stats if debugging enabled.
3908
41fac0cf
PA
39092014-06-02 Pedro Alves <palves@redhat.com>
3910
3911 * breakpoint.c (build_target_command_list): Don't build a command
3912 list if we have any duplicate location that isn't a dprintf.
3913
cd1608cc
PA
39142014-06-02 Pedro Alves <palves@redhat.com>
3915
3916 * breakpoint.c (dprintf_breakpoint_hit): New function.
3917 (initialize_breakpoint_ops): Install it as dprintf's
3918 breakpoint_hit method.
3919
486ef3b9
JB
39202014-06-02 Joel Brobecker <brobecker@adacore.com>
3921
3922 * source.c (substitute_path_rule_matches): Simplify using
3923 filename_ncmp instead of FILENAME_CMP.
3924
230cd560
JB
39252014-06-02 Joel Brobecker <brobecker@adacore.com>
3926
3927 * source.c (substitute_path_rule_matches): Remove trailing spaces.
3928
16954d5d
LC
39292014-06-01 Ludovic Courtès <ludo@gnu.org>
3930
3931 * configure.ac: When Guile is available, check for the
3932 availability of 'scm_new_smob'.
3933 * configure, config.h.in: Regenerate.
3934 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
3935 function.
3936
53e8a631
AB
39372014-05-30 Andrew Burgess <aburgess@broadcom.com>
3938
3939 * frame.c (struct frame_info): Add stop_string field.
3940 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
3941 (get_prev_frame_always): Old content moved into
3942 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
3943 TRY_CATCH, handle MEMORY_ERROR exceptions.
3944 (frame_stop_reason_string): New function definition.
3945 * frame.h (unwind_stop_reason_to_string): Extend comment to
3946 mention frame_stop_reason_string.
3947 (frame_stop_reason_string): New function declaration.
3948 * stack.c (frame_info): Switch to frame_stop_reason_string.
3949 (backtrace_command_1): Switch to frame_stop_reason_string.
3950 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
3951 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
3952 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
3953
70e38b8e
AB
39542014-05-30 Andrew Burgess <aburgess@broadcom.com>
3955
3956 * frame.c (frame_stop_reason_string): Rename to ...
3957 (unwind_stop_reason_to_string): this.
3958 * frame.h (frame_stop_reason_string): Rename to ...
3959 (unwind_stop_reason_to_string): this.
3960 * stack.c (frame_info): Update call to frame_stop_reason_string.
3961 (backtrace_command_1): Likewise.
3962 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
3963 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
3964
938f0e2f
AB
39652014-05-30 Andrew Burgess <aburgess@broadcom.com>
3966
3967 * frame.c (remove_prev_frame): New function.
3968 (get_prev_frame_if_no_cycle): Create / discard cleanup using
3969 remove_prev_frame.
3970
a09dd441
PA
39712014-05-29 Pedro Alves <palves@redhat.com>
3972
3973 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
3974 and make it const. When a single-step decays to a continue,
3975 clear 'step', not 'hw_step'. Pass whether the caller wanted
3976 to step to user_visible_resume_ptid, not what we ask the
3977 target to do.
3978
bdc36728
PA
39792014-05-29 Pedro Alves <palves@redhat.com>
3980
3981 * infrun.c (process_event_stop_test, handle_step_into_function)
3982 (handle_step_into_function_backward): Adjust.
3983 Don't set the even thread's stop_step and call stop_waiting before
3984 calling end_stepping_range. Instead do that ...
3985 (end_stepping_range): ... here. Take an ecs pointer parameter.
3986
22bcd14b
PA
39872014-05-29 Pedro Alves <palves@redhat.com>
3988
3989 * infrun.c (stop_stepping): Rename to ...
3990 (stop_waiting): ... this.
3991 (proceed): Update comment.
3992 (process_event_stop_test, handle_inferior_event)
3993 (handle_signal_stop, handle_step_into_function)
3994 (handle_step_into_function_backward): Update.
3995
4ae57c05
PA
39962014-05-29 Pedro Alves <palves@redhat.com>
3997
3998 * infcall.c (run_inferior_call): Don't check whether the current
3999 thread is running after the proceed call.
4000
329ea579
PA
40012014-05-29 Pedro Alves <palves@redhat.com>
4002 Tom Tromey <tromey@redhat.com>
4003
4004 * NEWS: Mention "maint set target-async", "set mi-async", and that
4005 background execution commands are now always available.
4006 * target.h (target_async_permitted): Update comment.
4007 * target.c (target_async_permitted, target_async_permitted_1):
4008 Default to 1.
4009 (set_target_async_command): Rename to ...
4010 (maint_set_target_async_command): ... this.
4011 (show_target_async_command): Rename to ...
4012 (maint_show_target_async_command): ... this.
4013 (_initialize_target): Adjust.
4014 * infcmd.c (prepare_execution_command): Make extern.
4015 * inferior.h (prepare_execution_command): Declare.
4016 * infrun.c (set_observer_mode): Leave target async alone.
4017 * mi/mi-interp.c (mi_interpreter_init): Install
4018 mi_on_sync_execution_done as sync_execution_done observer.
4019 (mi_on_sync_execution_done): New function.
4020 (mi_execute_command_input_handler): Don't print the prompt if we
4021 just started a synchronous command with an async target.
4022 (mi_on_resume): Check sync_execution before printing prompt.
4023 * mi/mi-main.h (mi_async_p): Declare.
4024 * mi/mi-main.c: Include gdbcmd.h.
4025 (mi_async_p): New function.
4026 (mi_async, mi_async_1): New globals.
4027 (set_mi_async_command, show_mi_async_command, mi_async): New
4028 functions.
4029 (exec_continue): Call prepare_execution_command.
4030 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
4031 (mi_execute_async_cli_command): Use mi_async_p.
4032 (_initialize_mi_main): Install "set mi-async". Make
4033 "target-async" a deprecated alias.
4034
92bcb5f9
PA
40352014-05-29 Pedro Alves <palves@redhat.com>
4036
4037 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
4038 (_initialize_cli_interp): Adjust.
4039 * event-loop.c: Include "observer.h".
4040 (start_event_loop): Notify 'command_error' observers instead of
4041 calling display_gdb_prompt. Remove FIXME comment.
4042 * event-top.c (display_gdb_prompt): Remove call into the
4043 interpreters.
4044 * inf-loop.c: Include "observer.h".
4045 (inferior_event_handler): Notify 'command_error' observers instead
4046 of calling display_gdb_prompt.
4047 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
4048 observers instead of calling display_gdb_prompt.
4049 * interps.c (interp_set): Don't call display_gdb_prompt.
4050 (current_interp_display_prompt_p): Delete.
4051 * interps.h (interp_prompt_p): Delete declaration.
4052 (interp_prompt_p_ftype): Delete.
4053 (struct interp_procs) <prompt_proc_p>: Delete field.
4054 (current_interp_display_prompt_p): Delete declaration.
4055 * mi-interp.c (mi_interpreter_prompt_p): Delete.
4056 (_initialize_mi_interp): Adjust.
4057 * tui-interp.c (tui_init): Install 'sync_execution_done' and
4058 'command_error' observers.
4059 (tui_on_sync_execution_done, tui_on_command_error): New
4060 functions.
4061 (tui_display_prompt_p): Delete.
4062 (_initialize_tui_interp): Adjust.
4063
fd664c91
PA
40642014-05-29 Pedro Alves <palves@redhat.com>
4065
4066 PR gdb/13860
4067 * cli/cli-interp.c: Include infrun.h and observer.h.
4068 (cli_uiout, cli_interp): New globals.
4069 (cli_on_signal_received, cli_on_end_stepping_range)
4070 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
4071 functions.
4072 (cli_interpreter_init): Install them as 'end_stepping_range',
4073 'signal_received' 'signal_exited', 'exited' and 'no_history'
4074 observers.
4075 (_initialize_cli_interp): Remove cli_interp local.
4076 * infrun.c (handle_inferior_event): Call the several stop reason
4077 observers instead of printing the stop reason directly.
4078 (end_stepping_range): New function.
4079 (print_end_stepping_range_reason, print_signal_exited_reason)
4080 (print_exited_reason, print_signal_received_reason)
4081 (print_no_history_reason): Make static, and add an uiout
4082 parameter. Print to that instead of to CURRENT_UIOUT.
4083 * infrun.h (print_end_stepping_range_reason)
4084 (print_signal_exited_reason, print_exited_reason)
4085 (print_signal_received_reason print_no_history_reason): New
4086 declarations.
4087 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
4088 'mi_uiout'.
4089 <cli_uiout>: New field.
4090 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
4091 uiout for CLI output. Install 'signal_received',
4092 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
4093 observers.
4094 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
4095 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
4096 (mi_on_no_history): New functions.
4097 (ui_out_free_cleanup): Delete function.
4098 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
4099 instead use the one already stored in the MI interpreter data.
4100 (mi_ui_out): Adjust.
4101 * tui/tui-interp.c: Include infrun.h and observer.h.
4102 (tui_interp): New global.
4103 (tui_on_signal_received, tui_on_end_stepping_range)
4104 (tui_on_signal_exited, tui_on_exited)
4105 (tui_on_no_history): New functions.
4106 (tui_init): Install them as 'end_stepping_range',
4107 'signal_received' 'signal_exited', 'exited' and 'no_history'
4108 observers.
4109 (_initialize_tui_interp): Delete tui_interp local.
4110
8817a6f2
PA
41112014-05-29 Pedro Alves <palves@redhat.com>
4112
4113 PR gdb/15713
4114 * linux-nat.c (linux_nat_resume_callback): Rename the second
4115 parameter to 'except'. Skip LP if it points to EXCEPT.
4116 (linux_nat_resume): Don't mark the event lwp as not stopped
4117 before resuming sibling lwps. Instead ask
4118 linux_nat_resume_callback to skip the event lwp. Mark it as not
4119 stopped after actually resuming it.
4120 (linux_handle_syscall_trap): Mark the lwp as not stopped after
4121 resuming it.
4122 (wait_lwp): Mark the lwp as stopped here.
4123 (stop_wait_callback): Mark the lwp as not stopped right after
4124 resuming it. Don't mark lwps as stopped here.
4125 (linux_nat_filter_event): Mark the lwp as stopped earlier.
4126 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
4127
251bde03
PA
41282014-05-29 Pedro Alves <palves@redhat.com>
4129
4130 PR PR15693
4131 * infrun.c (resume): Determine how much to resume depending on
4132 whether the caller wanted a step, not whether we can hardware step
4133 the target. Mark all threads that we intend to run as running,
4134 unless we're calling an inferior function.
4135 (normal_stop): If the thread is running an infcall, don't finish
4136 thread state.
4137 * target.c (target_resume): Don't mark threads as running here.
4138
7f3c0343
JB
41392014-05-28 Joel Brobecker <brobecker@adacore.com>
4140
4141 * serial.c (_initialize_serial): Remove support for
4142 the "set remotebaud" and "show remotebaud" commands.
4143 * NEWS: Add entry documenting the removal of that command.
4144
ee34b3f9
YQ
41452014-05-28 Yao Qi <yao@codesourcery.com>
4146
4147 * charset.c: Fix typo in comments.
4148
add6c04d
GB
41492014-05-27 Gary Benson <gbenson@redhat.com>
4150
4151 * utils.c (internal_vproblem): Prompt for a bug report.
4152
92c48fc5
AW
41532014-05-26 Andy Wingo <wingo@igalia.com>
4154
4155 * guile/scm-arch.c (arscm_mark_arch_smob):
4156 * guile/scm-block.c (bkscm_mark_block_smob)
4157 (bkscm_mark_block_syms_progress_smob):
4158 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
4159 * guile/scm-exception.c (exscm_mark_exception_smob):
4160 * guile/scm-frame.c (frscm_mark_frame_smob):
4161 * guile/scm-iterator.c (itscm_mark_iterator_smob):
4162 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
4163 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
4164 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
4165 (ppscm_mark_pretty_printer_worker_smob):
4166 * guile/scm-symbol.c (syscm_mark_symbol_smob):
4167 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
4168 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
4169 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
4170 mark functions.
4171 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
4172 function.
4173
b2715b27
AW
41742014-05-26 Andy Wingo <wingo@igalia.com>
4175 Doug Evans <xdje42@gmail.com>
4176
4177 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
4178 empty_base_class. All uses updated.
4179 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
4180 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
4181 Adapt all callers.
4182 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
4183 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
4184 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
4185 (gdbscm_gsmob_has_property_p, add_property_name)
4186 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
4187 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
4188 (gdb-object-has-property?, gdb-object-properties): Remove.
4189 (gdb-object-kind): Renamed from gsmob-kind.
4190
214ab2da
AW
41912014-05-26 Andy Wingo <wingo@igalia.com>
4192
4193 * configure.ac (try_guile_versions): Allow building with guile 2.2.
4194 * configure: Regenerate.
4195
589fdceb
MM
41962014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4197
4198 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
4199
67b5c0c1
MM
42002014-05-23 Markus Metzger <markus.t.metzger@intel.com>
4201
4202 * record-btrace.c (record_btrace_allow_memory_access): Remove.
4203 (replay_memory_access_read_only, replay_memory_access_read_write)
4204 (replay_memory_access_types, replay_memory_access)
4205 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
4206 (cmd_set_record_btrace, cmd_show_record_btrace)
4207 (cmd_show_replay_memory_access): New.
4208 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
4209 (record_btrace_remove_breakpoint): Replace
4210 record_btrace_allow_memory_access with replay_memory_access.
4211 (_initialize_record_btrace): Add commands.
4212 * NEWS: Announce it.
4213
036cd381
RR
42142014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4215
4216 * aarch64-linux-nat.c (asm/ptrace.h): Include.
4217
c77c1e42
RR
42182014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
4219
4220 * MAINTAINERS (Write After Approval): Move self back from
4221 paper trail.
4222
45741a9c
PA
42232014-05-22 Pedro Alves <palves@redhat.com>
4224
4225 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
4226 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
4227 (disable_randomization, enum exec_direction_kind)
4228 (execution_direction, stop_registers, start_remote)
4229 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
4230 (wait_for_inferior, normal_stop, get_last_target_status)
4231 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
4232 (insert_step_resume_breakpoint_at_sal)
4233 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
4234 (set_step_info, print_stop_event, signal_stop_state)
4235 (signal_print_state, signal_pass_state, signal_stop_update)
4236 (signal_print_update, signal_pass_update)
4237 (update_signals_program_target, clear_exit_convenience_vars)
4238 (displaced_step_dump_bytes, update_observer_mode)
4239 (signal_catch_update, gdb_signal_from_command): Move
4240 declarations ...
4241 * infrun.h: ... to this new file.
4242 * amd64-tdep.c: Include infrun.h.
4243 * annotate.c: Include infrun.h.
4244 * arch-utils.c: Include infrun.h.
4245 * arm-linux-tdep.c: Include infrun.h.
4246 * arm-tdep.c: Include infrun.h.
4247 * break-catch-sig.c: Include infrun.h.
4248 * breakpoint.c: Include infrun.h.
4249 * common/agent.c: Include infrun.h instead of inferior.h.
4250 * corelow.c: Include infrun.h.
4251 * event-top.c: Include infrun.h.
4252 * go32-nat.c: Include infrun.h.
4253 * i386-tdep.c: Include infrun.h.
4254 * inf-loop.c: Include infrun.h.
4255 * infcall.c: Include infrun.h.
4256 * infcmd.c: Include infrun.h.
4257 * infrun.c: Include infrun.h.
4258 * linux-fork.c: Include infrun.h.
4259 * linux-nat.c: Include infrun.h.
4260 * linux-thread-db.c: Include infrun.h.
4261 * monitor.c: Include infrun.h.
4262 * nto-tdep.c: Include infrun.h.
4263 * procfs.c: Include infrun.h.
4264 * record-btrace.c: Include infrun.h.
4265 * record-full.c: Include infrun.h.
4266 * remote-m32r-sdi.c: Include infrun.h.
4267 * remote-mips.c: Include infrun.h.
4268 * remote-notif.c: Include infrun.h.
4269 * remote-sim.c: Include infrun.h.
4270 * remote.c: Include infrun.h.
4271 * reverse.c: Include infrun.h.
4272 * rs6000-tdep.c: Include infrun.h.
4273 * s390-linux-tdep.c: Include infrun.h.
4274 * solib-irix.c: Include infrun.h.
4275 * solib-osf.c: Include infrun.h.
4276 * solib-svr4.c: Include infrun.h.
4277 * target.c: Include infrun.h.
4278 * top.c: Include infrun.h.
4279 * windows-nat.c: Include infrun.h.
4280 * mi/mi-interp.c: Include infrun.h.
4281 * mi/mi-main.c: Include infrun.h.
4282 * python/py-threadevent.c: Include infrun.h.
4283
98eb56a4
PA
42842014-05-22 Pedro Alves <palves@redhat.com>
4285
4286 * infrun.c (handle_inferior_event): Store the exit code for
4287 --return-child-result here, instead of ...
4288 (print_exited_reason): ... here.
4289
17b2616c
PA
42902014-05-21 Pedro Alves <palves@redhat.com>
4291
4292 PR gdb/13860
4293 * gdbthread.h (struct thread_control_state): New field
4294 `command_interp'.
4295 * infrun.c (follow_fork): Copy the new thread control field to the
4296 child fork thread.
4297 (clear_proceed_status_thread): Clear the new thread control field.
4298 (proceed): Set the new thread control field.
4299 * interps.h (command_interp): Declare.
4300 * interps.c (command_interpreter): New global.
4301 (command_interp): New function.
4302 (interp_exec): Set `command_interpreter' while here.
4303 * cli-out.c (cli_uiout_dtor): New function.
4304 (cli_ui_out_impl): Install it.
4305 * mi/mi-interp.c: Include cli-out.h.
4306 (mi_cmd_interpreter_exec): Add comment.
4307 (restore_current_uiout_cleanup): New function.
4308 (ui_out_free_cleanup): New function.
4309 (mi_on_normal_stop): If finishing an execution command started by
4310 a CLI command, or any kind of breakpoint-like event triggered,
4311 print the stop event to the output (CLI) stream.
4312 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
4313
5166082f
PA
43142014-05-21 Pedro Alves <palves@redhat.com>
4315
4316 * cli/cli-cmds.c (list_command): Handle the first "list" after the
4317 current source line having changed.
4318 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
4319 * infrun.c (normal_stop): Adjust call to
4320 set_current_sal_from_frame.
4321 * source.c (clear_lines_listed_range): New function.
4322 (set_current_source_symtab_and_line, identify_source_line): Clear
4323 the lines listed range.
4324 (line_info): Handle the first "info line" after the current source
4325 line having changed.
4326 * stack.c (print_stack_frame): Remove center handling.
4327 (set_current_sal_from_frame): Remove 'center' parameter. Don't
4328 center sal.line.
4329
c1ee2fb3
PA
43302014-05-21 Pedro Alves <palves@redhat.com>
4331
4332 * inf-child.c (inf_child_mourn_inferior): New function.
4333 * inf-child.h (inf_child_mourn_inferior): New declaration.
4334 * darwin-nat.c (darwin_mourn_inferior): Use
4335 inf_child_mourn_inferior.
4336 * gnu-nat.c (gnu_mourn_inferior): Likewise.
4337 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
4338 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
4339 * nto-procfs.c (procfs_mourn_inferior): Likewise.
4340 * windows-nat.c (windows_mourn_inferior): Likewise.
4341
5c6d4fb2
DE
43422014-05-21 Doug Evans <xdje42@gmail.com>
4343
250748cb 4344 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 4345
4a2722c5
DE
43462014-05-21 Doug Evans <xdje42@gmail.com>
4347
17292b30 4348 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
4349 (gdbscm_out_of_range_error): Ditto.
4350 (gdbscm_memory_error): Ditto.
250748cb
DE
4351 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
4352 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
4353 (gdbscm_out_of_range_error): Update.
4354 (gdbscm_memory_error): Update.
4355 (gdbscm_scm_to_target_string_unsafe): Delete.
4356
6a3cb8e8
PA
43572014-05-21 Pedro Alves <palves@redhat.com>
4358
4359 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
4360 globals.
4361 (inf_child_open_target): New function.
4362 (inf_child_open): Use inf_child_open_target to push the target
4363 instead of erroring out.
4364 (inf_child_disconnect, inf_child_close)
4365 (inf_child_maybe_unpush_target): New functions.
4366 (inf_child_target): Install inf_child_disconnect and
4367 inf_child_close. Store a pointer to the returned object.
4368 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
4369 declarations.
4370 * target.c (auto_connect_native_target): New global.
4371 (show_default_run_target): New function.
4372 (find_default_run_target): Return NULL if automatically connecting
4373 to the native target is disabled.
4374 (_initialize_target): Install set/show auto-connect-native-target.
4375 * NEWS: Mention "set auto-connect-native-target", and "target
4376 native".
4377 * linux-nat.c (super_close): New global.
4378 (linux_nat_close): Call super_close.
4379 (linux_nat_add_target): Store a pointer to the base class's
4380 to_close method.
4381 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
4382 inf_child_maybe_unpush.
4383 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
4384 already pushed.
4385 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
4386 the inferior. Use inf_child_maybe_unpush_target.
4387 (inf_ttrace_attach): Don't push the target if it is already
4388 pushed.
4389 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
4390 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
4391 after mourning the inferior. Use inf_child_maybe_unpush_target.
4392 (darwin_attach_pid): Don't push the target if it is already
4393 pushed.
4394 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
4395 mourning the inferior. Use inf_child_maybe_unpush_target.
4396 (gnu_detach): Use inf_child_maybe_unpush_target.
4397 * go32-nat.c (go32_create_inferior): Don't push the target if it
4398 is already pushed.
4399 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
4400 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
4401 (procfs_open): Rename to ...
4402 (procfs_open_1): ... this. Add target_ops parameter. Adjust
4403 comments. Can target_preopen before changing node. Call
4404 inf_child_open_target to push the target explicitly.
4405 (procfs_attach): Don't push the target if it is already pushed.
4406 (procfs_detach): Use inf_child_maybe_unpush_target.
4407 (procfs_create_inferior): Don't push the target if it is already
4408 pushed.
4409 (nto_native_ops): New global.
4410 (procfs_open): Reimplement.
4411 (procfs_native_open): New function.
4412 (init_procfs_targets): Install procfs_native_open as to_open of
4413 "target native". Store a pointer to the "native" target in
4414 nto_native_ops.
4415 * procfs.c (procfs_attach): Don't push the target if it is already
4416 pushed.
4417 (procfs_detach): Use inf_child_maybe_unpush_target.
4418 (procfs_mourn_inferior): Only unpush the target after mourning the
4419 inferior. Use inf_child_maybe_unpush_target.
4420 (procfs_init_inferior): Don't push the target if it is already
4421 pushed.
4422 * windows-nat.c (do_initial_windows_stuff): Don't push the target
4423 if it is already pushed.
4424
930ee1b1
PA
44252014-05-21 Pedro Alves <palves@redhat.com>
4426
4427 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
4428 and "procfs" targets are now called "native" instead.
4429
1f5d1b13
PA
44302014-05-21 Pedro Alves <palves@redhat.com>
4431
4432 * go32-nat.c (go32_open): Delete.
4433 (go32_target): Don't override the to_open method.
4434
132f8e03
PA
44352014-05-21 Pedro Alves <palves@redhat.com>
4436
4437 * nto-procfs.c (procfs_can_run): New function.
4438 (nto_procfs_ops): New global.
4439 (init_procfs_targets): New, based on procfs_target. Install
4440 "target native" in addition to "target procfs".
4441 (_initialize_procfs): Call init_procfs_targets instead of adding
4442 the target here.
4443
03c136c3
PA
44442014-05-21 Pedro Alves <palves@redhat.com>
4445
4446 * windows-nat.c (windows_target): Don't override to_shortname,
4447 to_longname or to_doc.
4448
a635d0f3
PA
44492014-05-21 Pedro Alves <palves@redhat.com>
4450
4451 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
4452 to_doc.
4453
4f9b5133
PA
44542014-05-21 Pedro Alves <palves@redhat.com>
4455
4456 * darwin-nat.c (_initialize_darwin_inferior): Don't override
4457 to_shortname, to_longname or to_doc.
4458
bc85afde
PA
44592014-05-21 Pedro Alves <palves@redhat.com>
4460
4461 * go32-nat.c (go32_target): Don't override to_shortname,
4462 to_longname or to_doc.
4463
4ebfc96e
PA
44642014-05-21 Pedro Alves <palves@redhat.com>
4465
4466 * inf-child.c (inf_child_open): Remove mention of "child".
4467 (inf_child_target): Rename target to "native" instead of "child".
4468
2648dfed
AA
44692014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4470
4471 * Makefile.in (SFILES): Delete "regset.c".
4472 (COMMON_OBS): Delete "regset.o".
4473 * regset.c: Remove.
4474 * regset.h (regset_alloc): Delete prototype.
4475
b13feb94
AA
44762014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4477
4478 * sparc-linux-tdep.c (sparc32_linux_gregset)
4479 (sparc32_linux_fpregset): New static regset structures.
4480 (sparc32_linux_init_abi): Drop dynamic regset allocations.
4481 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
4482 'fpregset' fields.
4483 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
4484 (sparc64_linux_fpregset): New static regset structures.
4485 (sparc64_linux_init_abi): Drop dynamic regset allocations.
4486 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
4487 New static regset structures.
4488 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
4489 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
4490 New static regset structures.
4491 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
4492 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
4493 New static regset structures.
4494 (sparc64obsd_init_abi): Drop dynamic regset allocations.
4495 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
4496 New static regset structures.
4497 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
4498
b4fd25c9
AA
44992014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4500
4501 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
4502 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
4503 register maps ("regmaps") from "*regset" to "*regmap". Do this
4504 for all regmap types and variables.
4505 * sparc-linux-tdep.c (sparc32_linux_step_trap)
4506 (sparc32_linux_supply_core_gregset)
4507 (sparc32_linux_collect_core_gregset)
4508 (sparc32_linux_supply_core_fpregset)
4509 (sparc32_linux_collect_core_fpregset): Likewise.
4510 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
4511 (sparc_gregmap, sparc_fpregmap): ... these.
4512 (sparc_supply_gregset, sparc_collect_gregset)
4513 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4514 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
4515 (_initialize_sparc_nat): Rename regmaps.
4516 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
4517 (sparc_gregmap, sparc_fpregmap): ... these.
4518 (sparc_supply_gregset, sparc_collect_gregset)
4519 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
4520 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
4521 Rename macros to...
4522 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
4523 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
4524 Likewise.
4525 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
4526 Rename to...
4527 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
4528 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
4529 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
4530 regmaps.
4531 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4532 (sparc32_bsd_fpregset): Rename to...
4533 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4534 (sparc32_bsd_fpregmap): ... these.
4535 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
4536 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
4537 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
4538 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
4539 (struct sparc_gregmap, struct sparc_fpregmap)
4540 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
4541 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
4542 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
4543 (sparc32_supply_regset, sparc32_collect_gregset)
4544 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
4545 prototypes.
4546 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
4547 (sparc64_linux_ptrace_gregmap): ... this.
4548 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
4549 (_initialize_sparc64_linux_nat): Rename regmaps.
4550 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
4551 (sparc64_linux_core_gregmap): ... this.
4552 (sparc64_linux_supply_core_gregset)
4553 (sparc64_linux_collect_core_gregset)
4554 (sparc64_linux_supply_core_fpregset)
4555 (sparc64_linux_collect_core_fpregset): Rename regmaps.
4556 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
4557 (sparc64_sol2_fpregset): Rename to...
4558 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
4559 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
4560 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
4561 regmaps.
4562 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
4563 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
4564 (sparc64_bsd_fpregset): Rename to...
4565 (struct sparc_gregmap, sparc64_sol2_gregmap)
4566 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
4567 (sparc64_bsd_fpregmap): ... these.
4568 (sparc64_supply_gregset, sparc64_collect_gregset)
4569 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
4570 prototypes.
4571 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
4572 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
4573 (sparc64fbsd_gregmap): ... this.
4574 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
4575 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
4576 Rename regmaps.
4577 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
4578 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
4579 (sparc64nbsd_collect_fpregset): Likewise.
4580 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
4581 (sparc64nbsd_gregmap): ... this.
4582 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
4583 regmaps.
4584 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
4585 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
4586 (sparc64obsd_gregmap): ... this.
4587 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
4588 regmaps.
4589 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
4590 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
4591 (sparc32nbsd_gregmap): ... this.
4592 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
4593 regmaps.
4594
8fea3224
AA
45952014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4596
4597 * score-tdep.c (score7_linux_gregset): New static regset
4598 structure.
4599 (score7_linux_regset_from_core_section): Remove dynamic regset
4600 allocation.
4601 (score_gdbarch_init): Drop allocation of tdep structure.
4602 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
4603
24534243
AA
46042014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4605
4606 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
4607 regset structures.
4608 (am33_regset_from_core_section): Remove dynamic regset
4609 allocations.
4610
b7195f27
AA
46112014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4612
4613 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
4614 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
4615 structures.
4616 (mips_linux_regset_from_core_section): Remove dynamic regset
4617 allocations.
4618 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4619 'gregset64', 'fpregset', and 'fpregset64'.
4620 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
4621 deleted tdep fields.
4622
ecc37a5a
AA
46232014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4624
4625 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
4626 regset structures.
4627 (amd64_regset_from_core_section): Remove dynamic regset
4628 allocations.
4629 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
4630 structure.
4631 (amd64obsd_regset_from_core_section): Remove dynamic regset
4632 allocation.
4633 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
4634 Likewise.
4635 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
4636 x86-common regset supply function.
4637 * i386-tdep.c (i386_collect_gregset): Make static.
4638 (i386_gregset): New global regset structure.
4639 (i386_fpregset, i386_xstateregset): New static regset structures.
4640 (i386_regset_from_core_section): Remove dynamic regset
4641 allocations.
4642 (i386_gdbarch_init): Remove initialization of tdep fields
4643 'gregset', 'fpregset', and 'xstateregset'.
4644 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
4645 'fpregset', and 'xstateregset'.
4646 (i386_collect_gregset): Remove prototype.
4647 (i386_gregset): New declaration.
4648 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
4649 structure.
4650 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
4651 allocation.
4652
b7611c43
AA
46532014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4654
4655 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
4656 (arm_linux_vfpregset): New static regset structures.
4657 (arm_linux_regset_from_core_section): Remove dynamic allocation of
4658 regset structures.
4659 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
4660 and 'vfpregset' fields.
4661
a069a2bd
AA
46622014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4663
4664 * aarch64-linux-tdep.c (aarch64_linux_gregset)
4665 (aarch64_linux_fpregset): New static regset structures.
4666 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
4667 of regset structures.
4668 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
4669 'fpregset' fields.
4670
09424cff
AA
46712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4672
4673 * regset.h (struct regset): Remove gdbarch field.
4674 * regset.c (regset_alloc): Drop initialization of gdbarch field.
4675 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4676 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
4677 Likewise.
4678 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
4679 (ppc32_linux_fpregset, ppc32_linux_vrregset)
4680 (ppc32_linux_vsxregset): Likewise.
4681 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
4682 via the regcache instead of the regset.
4683 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
4684 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
4685 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
4686 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
4687 Likewise.
4688
3ca7dae4
AA
46892014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
4690
4691 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
4692 Constify structures.
4693 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
4694 (alphanbsd_aout_gregset): Likewise.
4695 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
4696 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
4697 Likewise.
4698 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
4699 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
4700 Likewise.
4701 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
4702 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
4703 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
4704 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
4705 * m88k-tdep.c (m88k_gregset): Likewise.
4706 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
4707 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
4708 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
4709 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
4710 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4711 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
4712 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4713 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
4714 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
4715 Likewise.
4716 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
4717 * sh-tdep.h (sh_corefile_gregset): Likewise.
4718 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
4719 * vax-tdep.c (vax_gregset): Likewise.
4720
5876f503
JK
47212014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4722
4723 Fix TLS access for -static -pthread.
4724 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
4725 (try_thread_db_load_1): Initialize it.
4726 (thread_db_get_thread_local_address): Call it if LM is zero.
4727 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
4728 * target.h (struct target_ops) (to_get_thread_local_address): Add
4729 load_module_addr comment.
4730
0256a6ac
PA
47312014-05-21 Pedro Alves <palves@redhat.com>
4732
4733 * dcache.c (dcache_read_memory_partial): If reading the cache line
4734 fails, fallback to reading just the memory the caller wanted.
4735
227533ac
DE
47362014-05-20 Doug Evans <dje@google.com>
4737
4738 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
4739 instead of get_current_arch.
4740
936d2992
PA
47412014-05-20 Pedro Alves <palves@redhat.com>
4742
4743 * NEWS: Mention that compare-sections now works with all targets.
4744
4745 * remote.c (PACKET_qCRC): New enum value.
4746 (remote_verify_memory): Don't send qCRC if the target has no
4747 execution. Use packet_support/packet_ok. If the target doesn't
4748 support the qCRC packet, fallback to a deep memory copy.
4749 (compare_sections_command): Say "target image" instead of "remote
4750 executable".
4751 (_initialize_remote): Add PACKET_qCRC to the list of config
4752 packets that have no associated command. Extend comment.
4753 * target.c (simple_verify_memory, default_verify_memory): New
4754 function.
4755 * target.h (struct target_ops) <to_verify_memory>: Default to
4756 default_verify_memory.
4757 (simple_verify_memory): New declaration.
4758 * target-delegates.c: Regenerate.
4759
e59fa00f
MM
47602014-05-20 Markus Metzger <markus.t.metzger@intel.com>
4761
4762 * record-btrace.c (record_btrace_step_thread): Check for empty history.
4763
f2205de0
HZ
47642014-05-20 Hui Zhu <hui@codesourcery.com>
4765 Yao Qi <yao@codesourcery.com>
4766
4767 PR backtrace/16558
4768 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
4769 and change address of sp and pc.
4770
c4e54771
TT
47712014-05-19 Tom Tromey <tromey@redhat.com>
4772
4773 * gdbtypes.c (rank_function): Use XNEWVEC.
4774 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
4775
73051182
DE
47762014-05-19 Doug Evans <dje@google.com>
4777
4778 * dwarf2read.c (build_type_psymtabs_1): Renamed from
4779 build_type_unit_groups and moved closer to only caller. Remove
4780 arguments. All references updated. Remove outdated .gdb_index
4781 comment.
4782 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
4783 build_type_psymtabs_1.
4784
8832e7e3
DE
47852014-05-19 Doug Evans <dje@google.com>
4786
4787 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
4788 n_type_unit_groups, all_type_unit_groups. All uses removed.
4789 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
4790 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
4791 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
4792 (add_type_unit_group_to_table): Delete.
4793
cd8ae15e
DE
47942014-05-19 Doug Evans <dje@google.com>
4795
4796 * eval.c (evaluate_subexp_standard): Add some comments.
4797
08f4850b
DE
47982014-05-17 Doug Evans <xdje42@gmail.com>
4799
4800 * progspace.c (remove_program_space): Delete, unused.
4801 * progspace.h (remove_program_space): Ditto.
4802
bed8455c
DE
48032014-05-17 Doug Evans <xdje42@gmail.com>
4804
4805 * inferior.c (prune_inferiors): Fix comment.
4806 (remove_inferior_command): Call prune_program_spaces.
4807
8d551b02
DE
48082014-05-16 Doug Evans <dje@google.com>
4809
4810 New command line option -D.
4811 * NEWS: Mention it.
4812 * main.c (set_gdb_data_directory): New function.
4813 (captured_main): Recognize -D. Flag error for --data-directory "".
4814 Call set_gdb_data_directory.
4815 (print_gdb_help): Print --data-directory, -D.
4816 * main.h (set_gdb_data_directory): Declare.
4817 * top.c (staged_gdb_datadir): New static global.
4818 (set_gdb_datadir): Call set_gdb_data_directory
4819 (show_gdb_datadir): New function.
4820 (init_main): Update init of data-directory parameter.
4821
18848e28
GF
48222014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
4823
4824 Import the "dirfd" gnulib module.
4825 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
4826 * gnulib/aclocal.m4: Update.
4827 * gnulib/config.in: Update.
4828 * gnulib/configure: Update.
4829 * gnulib/import/Makefile.am: Update.
4830 * gnulib/import/Makefile.in: Update.
4831 * gnulib/import/dirfd.c: New.
4832 * gnulib/import/m4/dirfd.m4: New.
4833 * gnulib/import/m4/gnulib-cache.m4: Update.
4834 * gnulib/import/m4/gnulib-comp.m4: Update.
4835
95c64f92
YQ
48362014-05-16 Pierre Muller <muller@sourceware.org>
4837 Yao Qi <yao@codesourcery.com>
4838
4839 * valprint.c (print_wchar): Move the code on checking whether
4840 W is a printable wide char to the default branch of switch
4841 statement below. Call wchar_printable instead of gdb_iswprint.
4842
cac395ea
TM
48432014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
4844
19679eca 4845 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
4846 ldr.w and ldrd instructions.
4847
83655187
DE
48482014-05-15 Doug Evans <dje@google.com>
4849
4850 * dwarf2read.c (read_structure_type): Delete outdated comments.
4851
dd756689
TT
48522014-05-14 Tom Tromey <tromey@redhat.com>
4853
4854 * macrocmd.c (print_macro_definition): Reindent.
4855
75ddda77
DE
48562014-05-13 Doug Evans <xdje42@gmail.com>
4857
4858 * python/py-cmd.c (cmdpy_completer): Add comment.
4859 (completers): Make const.
4860
b0f16a3e
SM
48612014-05-13 Simon Marchi <simon.marchi@ericsson.com>
4862
4863 * infrun.c (resume): Remove should_resume (unused). Move up
4864 declaration of resume_ptid.
4865
033c3379
TT
48662014-05-13 Tom Tromey <tromey@redhat.com>
4867
4868 * language.h (unop_type_check): Remove.
4869 (binop_type_check): Don't declare.
4870
9b44a3a5
AA
48712014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
4872
4873 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
4874 call to regcache_raw_collect.
4875
303a33fa
SM
48762014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4877
4878 * mi/mi-console.c (mi_console_raw_packet): Use the value from
4879 mi_console->quote as the quoting character.
4880
196100a0
SM
48812014-05-12 Simon Marchi <simon.marchi@ericsson.com>
4882
4883 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
4884
f989a1c8
TT
48852014-04-29 Tom Tromey <tromey@redhat.com>
4886
4887 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
4888 "show debug varobj".
4889
9404b58f
KM
48902014-05-07 Kyle McMartin <kyle@redhat.com>
4891
4892 Pushed by Joel Brobecker <brobecker@adacore.com>.
4893 * aarch64-tdep.c (aarch64_software_single_step): New function.
4894 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
4895 with aarch64_software_single_step.
4896
5e49ba57
JB
48972014-05-05 Joel Brobecker <brobecker@adacore.com>
4898
4899 GDB 7.7.1 released.
4900
c888a17d
KS
49012014-05-05 Keith Seitz <keiths@redhat.com>
4902
4903 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
4904 variable or history value is successfully parsed.
4905
290a839c
YQ
49062014-05-05 Yao Qi <yao@codesourcery.com>
4907 Pedro Alves <palves@redhat.com>
4908
4909 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
4910 address of blocks that intersects the requested range. Trim
4911 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
4912 sections.
4913 * ctf.c (ctf_xfer_partial): Likewise.
4914
91256dc2
YQ
49152014-05-05 Yao Qi <yao@codesourcery.com>
4916
4917 * printcmd.c (display_command): Remove the check to
4918 target_has_execution.
4919
07284463
MK
49202014-05-03 Mark Kettenis <kettenis@gnu.org>
4921
4922 * ppcobsd-nat.c: Include "obsd-nat.h".
4923 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
4924 add_target.
4925 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
4926
30a1e6cc
SDJ
49272014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4928
4929 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
4930 and 16-bit signed and unsigned arguments. Update comment.
4931 (stap_parse_probe_arguments): Extend code to handle such
4932 arguments. Use warning instead of complaint to notify about
4933 unrecognized bitness.
4934
f33da99a
SDJ
49352014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
4936
4937 PR breakpoints/16889
4938 * stap-probe.c (stap_parse_probe_arguments): Simplify
4939 check for non-prefixed probes (i.e., probes whose
4940 arguments do not start with "N@"). Always set the
4941 argument type to a sane value.
4942
95cf3b38
DT
49432014-05-01 David Taylor <dtaylor@emc.com>
4944
4945 * remote.c (compare_sections_command): Add -r option to compare
4946 all loadable read-only sections.
4947
1cfdf534
SC
49482014-04-30 Siva Chandra Reddy <sivachandra@google.com>
4949
4950 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
4951 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
4952 Update all callers.
4953 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
4954 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
4955 Remove unused CORE_ADDR argument. Update all callers.
4956
ca4f7f8b
PA
49572014-04-29 Pedro Alves <palves@redhat.com>
4958
4959 * remote.c (struct packet_config) <detect>: Extend comment.
4960 (add_packet_config_cmd): Don't set the config's detect or support
4961 fields here.
4962 (init_all_packet_configs): Also initialize the config's 'detect'
4963 field.
4964 (reset_all_packet_configs_support): New function.
4965 (remote_open_1): Call reset_all_packet_configs_support instead of
4966 init_all_packet_configs.
4967 (_initialize_remote): Initialize all packet configs. Assert that
4968 all packets have an associated command, except a few known
4969 outliers.
4970
11c1ba78
JB
49712014-04-28 Joel Brobecker <brobecker@adacore.com>
4972
4973 * dwarf2read.c (read_subrange_type): Handle dynamic
4974 DW_AT_lower_bound attributes.
4975
8739bc53
JB
49762014-04-28 Joel Brobecker <brobecker@adacore.com>
4977
4978 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
4979 dynamic bounds before computing its upper bound.
4980 (ada_discrete_type_low_bound): Same as above with the lower bound.
4981
6f8a3220
JB
49822014-04-28 Joel Brobecker <brobecker@adacore.com>
4983
4984 * dwarf2read.c (is_dynamic_type): Return true for dynamic
4985 range types. Adjust the array handling implementation to
4986 take advantage of this change.
4987 (resolve_dynamic_range): New function, mostly extracted from
4988 resolve_dynamic_bounds.
4989 (resolve_dynamic_array): New function, mostly extracted from
4990 resolve_dynamic_bounds.
4991 (resolve_dynamic_bounds): Delete.
4992 (resolve_dynamic_type): Reimplement. Add handling of
4993 TYPE_CODE_RANGE types.
4994
4d072ce4
JB
49952014-04-28 Joel Brobecker <brobecker@adacore.com>
4996
4997 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
4998 handling of parallel ___XA types.
4999
52865325
JB
50002014-04-28 Joel Brobecker <brobecker@adacore.com>
5001
5002 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
5003 unnecessary second call to static_unwrap_type.
5004
433e77fa
HZ
50052014-04-27 Hui Zhu <hui@codesourcery.com>
5006
5007 * stack.c (print_frame_info): Call do_gdb_disassembly with
5008 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
5009
b51a69ee
DE
50102014-04-26 Doug Evans <xdje42@gmail.com>
5011
5012 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
5013
7ae1a6a6
PA
50142014-04-25 Pedro Alves <palves@redhat.com>
5015
5016 PR server/16255
5017 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
5018 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
5019 and newline from built string.
5020 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
5021 (linux_ptrace_attach_fail_reason): ... this.
5022 * linux-nat.c (linux_nat_attach): Adjust to use
5023 linux_ptrace_attach_fail_reason.
5024
4082afcc
PA
50252014-04-25 Pedro Alves <palves@redhat.com>
5026
5027 * remote.c (struct remote_state): Remove multi_process_aware,
5028 non_stop_aware, cond_tracepoints, cond_breakpoints,
5029 breakpoint_commands, fast_tracepoints, static_tracepoints,
5030 install_in_trace, disconnected_tracing,
5031 enable_disable_tracepoints, string_tracing, and
5032 augmented_libraries_svr4_read fields.
5033 (remote_multi_process_p): Move further below in the file.
5034 (struct packet_config): Add comments.
5035 (update_packet_config): Delete function.
5036 (show_packet_config_cmd): Use packet_config_support.
5037 (add_packet_config_cmd): Use NULL as set callback.
5038 (packet_ok): "set remote foo-packet"-style commands no longer
5039 change config->supported -- adjust.
5040 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
5041 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
5042 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
5043 (PACKET_QNonStop, PACKET_multiprocess_feature)
5044 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
5045 (PACKET_DisconnectedTracing_feature)
5046 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
5047 (set_remote_protocol_packet_cmd): Delete function.
5048 (packet_config_support, packet_support): New functions.
5049 (set_remote_protocol_Z_packet_cmd): Don't call
5050 update_packet_config.
5051 (remote_query_attached, remote_pass_signals)
5052 (remote_program_signals, remote_threads_info)
5053 (remote_threads_extra_info, remote_start_remote): Use
5054 packet_support.
5055 (remote_start_remote): Use packet_config_support and
5056 packet_support.
5057 (init_all_packet_configs): Set all packets to unknown support,
5058 instead of calling update_packet_config.
5059 (remote_check_symbols): Use packet_support.
5060 (remote_supported_packet): Unconditionally set the packet config's
5061 support status.
5062 (remote_multi_process_feature, remote_non_stop_feature)
5063 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
5064 (remote_breakpoint_commands_feature)
5065 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
5066 (remote_install_in_trace_feature)
5067 (remote_disconnected_tracing_feature)
5068 (remote_enable_disable_tracepoint_feature)
5069 (remote_string_tracing_feature)
5070 (remote_augmented_libraries_svr4_read_feature): Delete functions.
5071 (remote_protocol_features): Adjust to use remote_supported_packet
5072 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
5073 "ConditionalTracepoints", "ConditionalBreakpoints",
5074 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
5075 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
5076 "EnableDisableTracepoints", and "tracenz".
5077 (remote_query_supported): Use packet_support.
5078 (remote_open_1): Adjust.
5079 (extended_remote_attach_1): Use packet_support. Switch on the
5080 result of packet_ok instead of checking whether the packet ended
5081 up disabled.
5082 (remote_vcont_resume): Use packet_support.
5083 (remote_resume, remote_stop_ns, fetch_register_using_p)
5084 (remote_prepare_to_store, store_register_using_P)
5085 (check_binary_download, remote_write_bytes): Use packet_support.
5086 (remote_vkill): Use packet_support. Switch on the result of
5087 packet_ok instead of checking whether the packet ended up
5088 disabled.
5089 (extended_remote_supports_disable_randomization): Use
5090 packet_support.
5091 (extended_remote_run): Switch on the result of packet_ok instead
5092 of checking whether the packet ended up disabled.
5093 (remote_insert_breakpoint, remote_remove_breakpoint)
5094 (remote_insert_watchpoint, remote_remove_watchpoint)
5095 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
5096 packet_support.
5097 (remote_search_memory): Use packet_config_support.
5098 (remote_get_thread_local_address, remote_get_tib_address)
5099 (remote_hostio_send_command, remote_can_execute_reverse): Use
5100 packet_support.
5101 (remote_supports_cond_tracepoints)
5102 (remote_supports_cond_breakpoints)
5103 (remote_supports_fast_tracepoints)
5104 (remote_supports_static_tracepoints)
5105 (remote_supports_install_in_trace)
5106 (remote_supports_enable_disable_tracepoint)
5107 (remote_supports_string_tracing)
5108 (remote_can_run_breakpoint_commands): Rewrite, checking whether
5109 the packet config says the feature is enabled or disabled.
5110 (remote_download_tracepoint, remote_trace_set_readonly_regions)
5111 (remote_get_trace_status): Use packet_support.
5112 (remote_set_disconnected_tracing): Adjust to check whether the
5113 feature is enabled with packet_support.
5114 (remote_set_trace_buffer_size, remote_use_agent)
5115 (remote_can_use_agent, remote_supports_btrace): Use
5116 packet_support.
5117 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
5118 Use packet_config_support.
5119 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
5120 the packet config says the feature is enabled or disabled.
5121 (set_range_stepping): Use packet_support.
5122
bdb52a22
TT
51232014-04-25 Tom Tromey <tromey@redhat.com>
5124
5125 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
5126 argument.
5127
e9475ead
SA
51282014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
5129
5130 * NEWS: Mention support for C99 variable length arrays.
5131
82eacd52
JB
51322014-04-24 Joel Brobecker <brobecker@adacore.com>
5133
5134 * ada-lang.c (standard_exc): Expand introductory comment.
5135
01f9f808
MS
51362014-04-24 Michael Sturm <michael.sturm@mintel.com>
5137 Walfred Tedeschi <walfred.tedeschi@intel.com>
5138
5139 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
5140 AVX512 registers.
5141 (amd64_linux_read_description): Add code to handle AVX512 xstate
5142 mask and return respective tdesc.
5143 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
5144 and features/i386/x32-avx512-linux.c.
5145 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
5146 (amd64_linux_core_read_description): Add code to handle AVX512
5147 xstate mask and return respective tdesc.
5148 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
5149 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
5150 calculation.
5151 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
5152 (tdesc_amd64_avx512_linux): New prototype.
5153 (tdesc_x32_avx512_linux): Likewise.
5154 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
5155 features/i386/x32-avx512.c.
5156 (amd64_ymm_avx512_names): New register names for pseudo
5157 registers YMM16-31.
5158 (amd64_ymmh_avx512_names): New register names for raw registers
5159 YMMH16-31.
5160 (amd64_k_names): New register names for K registers.
5161 (amd64_zmmh_names): New register names for ZMM raw registers.
5162 (amd64_zmm_names): New registers names for ZMM pseudo registers.
5163 (amd64_xmm_avx512_names): New register names for XMM16-31
5164 registers.
5165 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
5166 registers.
5167 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
5168 if feature is present.
5169 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
5170 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
5171 (AMD64_NUM_REGS): Adjust to new number of registers.
5172 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
5173 registers supplied via XSTATE by AVX512 registers.
5174 (i386_linux_read_description): Add case for AVX512.
5175 * i386-linux-tdep.c: Include i386-avx512-linux.c.
5176 (i386_linux_gregset_reg_offset): Add AVX512 registers.
5177 (i386_linux_core_read_description): Add case for AVX512.
5178 (i386_linux_init_abi): Install supported register note section
5179 for AVX512.
5180 (_initialize_i386_linux_tdep): Add call to tdesc init function for
5181 AVX512.
5182 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
5183 registers to be number of zmm7h + 1.
5184 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
5185 * i386-tdep.c: Include features/i386/i386-avx512.c.
5186 (i386_zmm_names): Add ZMM pseudo register names array.
5187 (i386_zmmh_names): Add ZMM raw register names array.
5188 (i386_k_names): Add K raw register names array.
5189 (num_lower_zmm_regs): Add constant for the number of lower ZMM
5190 registers. AVX512 has 16 more ZMM registers than there are YMM
5191 registers.
5192 (i386_zmmh_regnum_p): Add function to look up register number of
5193 ZMM raw registers.
5194 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
5195 (i386_k_regnum_p): Likewise for K raw registers.
5196 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
5197 registers added by AVX512.
5198 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
5199 registers added by AVX512.
5200 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
5201 added by AVX512.
5202 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
5203 (i386_pseudo_register_name): Add ZMM pseudo registers.
5204 (i386_zmm_type): Construct and return vector registers type for ZMM
5205 registers.
5206 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
5207 ZMM0-31 pseudo registers and K registers.
5208 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
5209 and YMM16-31 registers from register cache.
5210 (i386_pseudo_register_write): Add code to write K, ZMM and
5211 YMM16-31 registers.
5212 (i386_register_reggroup_p): Add code to include/exclude AVX512
5213 registers in/from respective register groups.
5214 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
5215 registers if feature is present in xcr0.
5216 (i386_gdbarch_init): Add code to initialize AVX512 feature
5217 variables in tdep structure, wire in pseudo registers and call
5218 initialize_tdesc_i386_avx512.
5219 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
5220 variables.
5221 (i386_regnum): Add AVX512 registers.
5222 (I386_SSE_NUM_REGS): New define for number of SSE registers.
5223 (I386_AVX_NUM_REGS): Likewise for AVX registers.
5224 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
5225 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
5226 512 bits wide.
5227 (i386_xmm_avx512_regnum_p): New prototype for register look up.
5228 (i386_ymm_avx512_regnum_p): Likewise.
5229 (i386_k_regnum_p): Likewise.
5230 (i386_zmm_regnum_p): Likewise.
5231 (i386_zmmh_regnum_p): Likewise.
5232 * i387-tdep.c : Update year in copyright notice.
5233 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
5234 XSAVE buffer.
5235 (XSAVE_YMM_AVX512_ADDR): New macro.
5236 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
5237 XSAVE buffer.
5238 (XSAVE_XMM_AVX512_ADDR): New macro.
5239 (xsave_avx512_k_offset): New table for K register offsets in
5240 XSAVE buffer.
5241 (XSAVE_AVX512_K_ADDR): New macro.
5242 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
5243 in XSAVE buffer.
5244 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
5245 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
5246 buffer.
5247 (i387_collect_xsave): Add code to collect AVX512 registers from
5248 XSAVE buffer.
5249 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
5250 of XMM16-31 registers.
5251 (I387_NUM_K_REGS): New define for number of K registers.
5252 (I387_K0_REGNUM): New define for K0 register number.
5253 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
5254 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
5255 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
5256 registers.
5257 (I387_YMM16H_REGNUM): New define for YMM16H register number.
5258 (I387_XMM16_REGNUM): New define for XMM16 register number.
5259 (I387_YMM0_REGNUM): New define for YMM0 register number.
5260 (I387_KEND_REGNUM): New define for last K register number.
5261 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
5262 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
5263 number.
5264 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
5265 number.
5266 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
5267 size.
5268 * features/Makefile: Add AVX512 related files.
5269 * features/i386/32bit-avx512.xml: New file.
5270 * features/i386/64bit-avx512.xml: Likewise.
5271 * features/i386/amd64-avx512-linux.c: Likewise.
5272 * features/i386/amd64-avx512-linux.xml: Likewise.
5273 * features/i386/amd64-avx512.c: Likewise.
5274 * features/i386/amd64-avx512.xml: Likewise.
5275 * features/i386/i386-avx512-linux.c: Likewise.
5276 * features/i386/i386-avx512-linux.xml: Likewise.
5277 * features/i386/i386-avx512.c: Likewise.
5278 * features/i386/i386-avx512.xml: Likewise.
5279 * features/i386/x32-avx512-linux.c: Likewise.
5280 * features/i386/x32-avx512-linux.xml: Likewise.
5281 * features/i386/x32-avx512.c: Likewise.
5282 * features/i386/x32-avx512.xml: Likewise.
5283 * regformats/i386/amd64-avx512-linux.dat: New file.
5284 * regformats/i386/amd64-avx512.dat: Likewise.
5285 * regformats/i386/i386-avx512-linux.dat: Likewise.
5286 * regformats/i386/i386-avx512.dat: Likewise.
5287 * regformats/i386/x32-avx512-linux.dat: Likewise.
5288 * regformats/i386/x32-avx512.dat: Likewise.
5289 * NEWS: Add note about new support for AVX512.
5290
5291
08351840
PA
52922014-04-23 Pedro Alves <palves@redhat.com>
5293
5294 * breakpoint.c (insert_bp_location): Tolerate errors if the
5295 breakpoint is set in a user-loaded objfile.
5296 (remove_breakpoint_1): Likewise. Also tolerate errors if the
5297 location is marked shlib_disabled. If the breakpoint is set in a
5298 user-loaded objfile is a GDB-side memory breakpoint, validate it
5299 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
5300 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
5301 flag.
5302 * mem-break.c (memory_validate_breakpoint): New function.
5303 * objfiles.c (userloaded_objfile_contains_address_p): New
5304 function.
5305 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
5306 * target.h (memory_validate_breakpoint): New declaration.
5307
076855f9
PA
53082014-04-23 Pedro Alves <palves@redhat.com>
5309
5310 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
5311 the breakpoint is set in a shared library, only suppress
5312 errors for software breakpoints, not hardware breakpoints.
5313
483805cf
PA
53142014-04-22 Pedro Alves <palves@redhat.com>
5315
5316 * infrun.c (schedlock_applies): New function, factored out from
5317 find_thread_needs_step_over.
5318 (find_thread_needs_step_over): Use it.
5319 (switch_back_to_stepped_thread): Always clear trap_expected if the
5320 step over is finished. Return early if scheduler locking applies.
5321 Look for the stepping thread and a potential step-over thread with
5322 a single loop.
5323 (currently_stepping_or_nexting_callback): Delete.
5324
a75fef0e
NC
53252014-04-22 Nick Clifton <nickc@redhat.com>
5326
5327 * NEWS: Mention that ARM sim now supports tracing.
5328
48b6e87e
YQ
53292014-04-22 Yao Qi <yao@codesourcery.com>
5330
5331 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
5332 to ...
5333 * tracefile.c (tracefile_fetch_registers): ... it. New
5334 function.
5335 * tracefile.h (tracefile_fetch_registers): Declare.
5336 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
5337 tracefile_fetch_registers.
5338
17617f2d
EZ
53392014-04-19 Eli Zaretskii <eliz@gnu.org>
5340
5341 PR gdb/14018
5342 * windows-nat.c (thread_rec): Don't display a warning when
5343 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
5344 fails for any reason, set th->suspended to -1, so that we don't
5345 try to resume such a thread. Also, don't return NULL in these
5346 cases, to avoid completely ruin the session due to "PC register is
5347 not available" error.
5348 (do_windows_fetch_inferior_registers): Check errors in
5349 GetThreadContext call.
5350 (windows_continue): Accept an additional argument KILLED; if not
5351 zero, ignore errors in the SetThreadContext call, since the
5352 inferior was killed and is shutting down.
5353 (windows_resume, get_windows_debug_event)
5354 (windows_create_inferior, windows_mourn_inferior)
5355 (windows_kill_inferior): All callers of windows_continue changed
5356 to adjust to its new calling sequence.
5357
5723a6fd
YQ
53582014-04-19 Yao Qi <yao@codesourcery.com>
5359
5360 * ctf.c (ctf_open): Call post_create_inferior.
5361
614d5099
YQ
53622014-04-19 Yao Qi <yao@codesourcery.com>
5363
5364 * ctf.c (handle_id): New static variable.
5365 (ctf_open_dir): Get handle_id from bt_context_add_trace return
5366 value. Get the declaration of event "register" and get length
5367 of field "contents".
5368
dac3e710
YQ
53692014-04-19 Yao Qi <yao@codesourcery.com>
5370
5371 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
5372
2bca57ba
SC
53732014-04-18 Siva Chandra Reddy <sivachandra@google.com>
5374
5375 * valops.c (oload_method_static): Remove unnecessary argument
5376 METHOD. Update all callers.
5377
51d48146
PA
53782014-04-18 Pedro alves <palves@redhat.com>
5379 Tom Tromey <tromey@redhat.com>
5380
5381 PR backtrace/15558
5382 * frame.c (get_prev_frame_1): Rename to ...
5383 (get_prev_frame_always): ... this, and make extern. Adjust.
5384 (skip_artificial_frames): Use get_prev_frame_always.
5385 (frame_unwind_caller_id, frame_pop, get_prev_frame)
5386 (get_frame_unwind_stop_reason): Adjust to rename.
5387 * frame.h (get_prev_frame_always): Declare.
5388 * inline-frame.c: Include frame.h.
5389 (inline_frame_this_id): Use get_prev_frame_always.
5390
1bdad2e0
TG
53912014-04-18 Tristan Gingold <gingold@adacore.com>
5392
5393 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
5394 code by using bfd_mach_o_get_base_address.
5395
7ce16bd4
UW
53962014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5397
5398 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
5399 (spu_ax_pseudo_register_collect): New function.
5400 (spu_ax_pseudo_register_push_stack): Likewise.
5401 (spu_dwarf_reg_to_regnum): Likewise.
5402 (spu_gdbarch_init): Install them. Append DWARF unwinders.
5403
2ed3c037
UW
54042014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
5405
5406 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
5407 Replace FRAME argument with FRAME_ID.
5408 * gdbarch.c, gdbarch.h: Regenerate.
5409 * findvar.c (default_value_from_register): Add GDBARCH argument;
5410 replace FRAME by FRAME_ID. No longer call get_frame_id.
5411 (value_from_register): Update call to gdbarch_value_from_register.
5412 * value.h (default_value_from_register): Update prototype.
5413 * s390-linux-tdep.c (s390_value_from_register): Update interface
5414 and call to default_value_from_register.
5415 * spu-tdep.c (spu_value_from_register): Likewise.
5416
5417 * findvar.c (address_from_register): Remove TYPE argument.
5418 Do not call value_from_register; use gdbarch_value_from_register
5419 with null_frame_id instead.
5420 * value.h (address_from_register): Update prototype.
5421 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
5422 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
5423 address_from_register interface change.
5424
71e50e83
YQ
54252014-04-17 Yao Qi <yao@codesourcery.com>
5426
5427 * gdbtypes.h: Update comments to link to types and macros'
5428 definitions.
5429
7a23c549
SC
54302014-04-16 Siva Chandra Reddy <sivachandra@google.com>
5431
5432 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
5433
22869d73
KS
54342014-04-16 Keith Seitz <keiths@redhat.com>
5435
5436 PR gdb/15827
5437 * dwarf2read.c (skip_one_die): Check that all relative-offset
5438 sibling DIEs fall within range of the current reader's buffer.
5439 (read_partial_die): Likewise.
5440
c4f87ca6
KS
54412014-04-16 Keith Seitz <keiths@redhat.com>
5442
5443 PR c++/16597
5444 * cp-namespace.c (lookup_symbol_file): If the type name of
5445 `this' is NULL, return immediately.
5446
b50c8614
KS
54472014-04-14 Keith Seitz <keiths@redhat.com>
5448
5449 PR c++/16253
5450 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5451 from symbol_matches_domain in symtab.c. All local callers
5452 of symbol_matches_domain updated.
5453 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5454 search STRUCT_DOMAIN.
5455 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5456 independently. standard_lookup will do that automatically.
5457 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5458 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5459 (cp_lookup_symbol_in_namespace): Likewise.
5460 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5461 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5462 may return a STRUCT_DOMAIN match.
5463 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5464 * cp-support.c: Include language.h.
5465 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5466 VAR_DOMAIN.
5467 * psymtab.c (match_partial_symbol): Compare the requested
5468 domain with the symbol's domain directly.
5469 (lookup_partial_symbol): Likewise.
5470 * symtab.c (lookup_symbol_in_language): Explain when/why
5471 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5472 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5473 appropriate languages.
5474 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5475 and moved to ada-lang.c
5476 (lookup_block_symbol): Explain that this function only returns
5477 symbol matching the requested DOMAIN.
5478 Compare the requested domain with the symbol's domain directly.
5479 (iterate_over_symbols): Compare the requested domain with the
5480 symbol's domain directly.
5481 * symtab.h (symbol_matches_domain): Remove.
5482
3d567982
TT
54832014-04-14 Tom Tromey <tromey@redhat.com>
5484
5485 PR c++/15246:
5486 * c-exp.y (type_aggregate_p): New function.
5487 (qualified_name, classify_inner_name): Use it.
5488 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
5489 and TYPE_TARGET_TYPE of an enum type.
5490 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
5491 an enum type.
5492 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
5493 handle TYPE_DECLARED_CLASS.
5494 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
5495 types.
5496 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
5497 * valops.c (enum_constant_from_type): New function.
5498 (value_aggregate_elt): Use it.
5499 * cp-namespace.c (cp_lookup_nested_symbol): Handle
5500 TYPE_CODE_ENUM.
5501
c848d642
TT
55022014-04-14 Tom Tromey <tromey@redhat.com>
5503
5504 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
5505 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
5506 const.
5507 * value.h (value_aggregate_elt): Update.
5508
0626fc76
TT
55092014-04-14 Tom Tromey <tromey@redhat.com>
5510
5511 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
5512
5ecaaa66
SA
55132014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5514
5515 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5516 (evaluate_subexp_standard): Pass noside argument.
5517 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5518 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5519 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5520 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5521 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5522
1612e0c0
SA
55232014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5524
5525 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5526 points to a constant blob.
5527
c451ebe5
SA
55282014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5529
5530 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5531 property and store it as the high bound and flag the range accordingly.
5532 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5533 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5534 * gdbtypes.h (enum range_flags): New enum.
5535 (struct range_bounds): Add flags member.
5536
1d42e4c4
SA
55372014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5538
5539 * c-typeprint.c (c_type_print_varspec_suffix): Added
5540 check for not yet resolved high bound. If unresolved, print
5541 "variable length" string to the console instead of random
5542 length.
5543
9f1f738a
SA
55442014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5545
5546 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
5547 value.
5548 (ada_template_to_fixed_record_type_1): Likewise.
5549 (ada_to_fixed_type_1): Likewise.
5550 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5551 (cp_print_value): Likewise.
5552 * d-valprint.c (dynamic_array_type): Likewise.
5553 * findvar.c (address_of_variable): Likewise.
5554 * jv-valprint.c (java_value_print): Likewise.
5555 * valops.c (value_ind): Likewise.
5556 * value.c (coerce_ref): Likewise.
5557
3c8452d4
SA
55582014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5559
5560 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5561 value and retrieve the dynamic type size.
5562
4ad88275
SA
55632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5564
5565 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5566 passed to sizeof is dynamic evaluate the argument to compute the length.
5567
80180f79
SA
55682014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
5569 Joel Brobecker <brobecker@adacore.com>
5570
5571 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5572 (dwarf2_evaluate_property): New function.
5573 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5574 * dwarf2read.c (attr_to_dynamic_prop): New function.
5575 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5576 attribute.
5577 * gdbtypes.c: Include dwarf2loc.h.
5578 (is_dynamic_type): New function.
5579 (resolve_dynamic_type): New function.
5580 (resolve_dynamic_bounds): New function.
5581 (get_type_length): New function.
5582 (check_typedef): Use get_type_length to compute type length.
5583 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5584 (TYPE_LOW_BOUND_KIND): New macro.
5585 (is_dynamic_type): New function prototype.
5586 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5587 to resolve dynamic properties of the type. Update comment.
5588 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5589
a1556843
RH
55902014-04-14 Richard Henderson <rth@redhat.com>
5591
5592 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
5593
0be03e84
DE
55942014-04-12 Siva Chandra Reddy <sivachandra@google.com>
5595 Doug Evans <xdje42@gmail.com>
5596
5597 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
5598 dereference TYPE_CODE_REF values.
5599
6b662e19
JB
56002014-04-11 Joel Brobecker <brobecker@adacore.com>
5601
5602 Revert the following changes due to regressions:
5603
5604 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5605 (dwarf2_evaluate_property): New function.
5606 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5607 * dwarf2read.c (attr_to_dynamic_prop): New function.
5608 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5609 attribute.
5610 * gdbtypes.c: Include dwarf2loc.h.
5611 (is_dynamic_type): New function.
5612 (resolve_dynamic_type): New function.
5613 (resolve_dynamic_bounds): New function.
5614 (get_type_length): New function.
5615 (check_typedef): Use get_type_length to compute type length.
5616 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5617 (TYPE_LOW_BOUND_KIND): New macro.
5618 (is_dynamic_type): New function prototype.
5619 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5620 to resolve dynamic properties of the type. Update comment.
5621 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5622
5623 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5624 passed to sizeof is dynamic evaluate the argument to compute the length.
5625
5626 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5627 value and retrieve the dynamic type size.
5628
5629 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5630 (ada_template_to_fixed_record_type_1): Likewise.
5631 (ada_to_fixed_type_1): Likewise.
5632 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5633 (cp_print_value): Likewise.
5634 * d-valprint.c (dynamic_array_type): Likewise.
5635 * eval.c (evaluate_subexp_with_coercion): Likewise.
5636 * findvar.c (address_of_variable): Likewise.
5637 * jv-valprint.c (java_value_print): Likewise.
5638 * valops.c (value_ind): Likewise.
5639 * value.c (coerce_ref): Likewise.
5640
5641 * c-typeprint.c (c_type_print_varspec_suffix): Added
5642 check for not yet resolved high bound. If unresolved, print
5643 "variable length" string to the console instead of random
5644 length.
5645
5646 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5647 property and store it as the high bound and flag the range accordingly.
5648 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5649 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5650 * gdbtypes.h (enum range_flags): New enum.
5651 (struct range_bounds): Add flags member.
5652
5653 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5654 points to a constant blob.
5655
5656 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5657 (evaluate_subexp_standard): Pass noside argument.
5658 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5659 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5660 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5661 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5662 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5663
245a5f0b
KS
56642014-04-11 Keith Seitz <keiths@redhat.com>
5665
5666 PR c++/16675
5667 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
5668 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
5669 reference types.
5670
3bce8237
SA
56712014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5672
5673 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
5674 (evaluate_subexp_standard): Pass noside argument.
5675 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
5676 if noside equals EVAL_NORMAL. If the subscript yields a vla type
5677 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
5678 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
5679 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
5680
92b09522
SA
56812014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5682
5683 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
5684 points to a constant blob.
5685
e1969afb
SA
56862014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5687
5688 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
5689 property and store it as the high bound and flag the range accordingly.
5690 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
5691 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
5692 * gdbtypes.h (enum range_flags): New enum.
5693 (struct range_bounds): Add flags member.
5694
b86138fb
SA
56952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5696
5697 * c-typeprint.c (c_type_print_varspec_suffix): Added
5698 check for not yet resolved high bound. If unresolved, print
5699 "variable length" string to the console instead of random
5700 length.
5701
bcd629a4
SA
57022014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5703
5704 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
5705 (ada_template_to_fixed_record_type_1): Likewise.
5706 (ada_to_fixed_type_1): Likewise.
5707 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
5708 (cp_print_value): Likewise.
5709 * d-valprint.c (dynamic_array_type): Likewise.
5710 * eval.c (evaluate_subexp_with_coercion): Likewise.
5711 * findvar.c (address_of_variable): Likewise.
5712 * jv-valprint.c (java_value_print): Likewise.
5713 * valops.c (value_ind): Likewise.
5714 * value.c (coerce_ref): Likewise.
5715
04b19544
SA
57162014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5717
5718 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
5719 value and retrieve the dynamic type size.
5720
26cb189f
SA
57212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5722
5723 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
5724 passed to sizeof is dynamic evaluate the argument to compute the length.
5725
37c1ab67
SA
57262014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5727
5728 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
5729 (dwarf2_evaluate_property): New function.
5730 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
5731 * dwarf2read.c (attr_to_dynamic_prop): New function.
5732 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
5733 attribute.
5734 * gdbtypes.c: Include dwarf2loc.h.
5735 (is_dynamic_type): New function.
5736 (resolve_dynamic_type): New function.
5737 (resolve_dynamic_bounds): New function.
5738 (get_type_length): New function.
5739 (check_typedef): Use get_type_length to compute type length.
5740 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
5741 (TYPE_LOW_BOUND_KIND): New macro.
5742 (is_dynamic_type): New function prototype.
5743 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
5744 to resolve dynamic properties of the type. Update comment.
5745 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
5746
729efb13
SA
57472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5748
5749 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
5750 declaring high/low bounds and change uses accordingly. Call
5751 create_range_type instead of create_static_range_type.
5752 * gdbtypes.c (create_range_type): New function.
5753 (create_range_type): Convert bounds into struct bound_prop and pass
5754 them to create_range_type.
5755 * gdbtypes.h (struct bound_prop): New struct.
5756 (create_range_type): New function prototype.
5757 (struct range_bounds): Use struct bound_prop instead of LONGEST for
5758 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
5759 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
5760 part of the bound.
5761 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
5762
0c9c3474
SA
57632014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
5764
5765 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
5766 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
5767 * ada-lang.c: All uses of create_range_type updated.
5768 * coffread.c: All uses of create_range_type updated.
5769 * dwarf2read.c: All uses of create_range_type updated.
5770 * f-exp.y: All uses of create_range_type updated.
5771 * m2-valprint.c: All uses of create_range_type updated.
5772 * mdebugread.c: All uses of create_range_type updated.
5773 * stabsread.c: All uses of create_range_type updated.
5774 * valops.c: All uses of create_range_type updated.
5775 * valprint.c: All uses of create_range_type updated.
5776
9d497a19
PA
57772014-04-10 Pedro Alves <palves@redhat.com>
5778
5779 * breakpoint.c (single_step_breakpoints)
5780 (single_step_gdbarch): Move up in the file.
5781 (one_breakpoint_xfer_memory): New function, factored out from ...
5782 (breakpoint_xfer_memory): ... here. Also process single-step
5783 breakpoints.
5784
15a9128a
TG
57852014-04-09 Tristan Gingold <gingold@adacore.com>
5786
5787 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
5788 comments.
5789 (darwin_decode_exception_message): Free port only after use.
5790
9c97a070
PL
57912014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
5792
5793 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
5794 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
5795 when setting the size of call_length.
5796
7af389b8
SC
57972014-04-07 Siva Chandra Reddy <sivachandra@google.com>
5798
5799 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
5800 dereference TYPE_CODE_REF values.
5801
86ad98c3
JB
58022014-04-07 Joel Brobecker <brobecker@adacore.com>
5803
5804 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
5805 end of warning message.
5806
b0aeadb3
DE
58072014-04-03 Doug Evans <dje@google.com>
5808
5809 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
5810 of stub_comp_unit_die, stub_comp_dir is non-NULL.
5811
5979d6b6
AM
58122014-04-02 Alan Modra <amodra@gmail.com>
5813
5814 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
5815 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
5816 (struct symbol_file_add_from_memory_args): Add size field.
5817 (find_vdso_size): New function.
5818 (add_vsyscall_page): Attempt to find vdso size.
5819
0d60c288
DE
58202014-04-01 Doug Evans <dje@google.com>
5821
5822 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
5823
a41f2563
TG
58242014-04-01 Tristan Gingold <gingold@adacore.com>
5825
5826 * darwin-nat.c (darwin_encode_reply): Add prototype.
5827 (darwin_decode_exception_message): Reply to unknown inferiors.
5828 (darwin_decode_message): Handle message by id. Ignore message
5829 to unknown inferior.
5830 (darwin_wait): Discard unknown messages, add debug trace.
5831
11a865c8
DE
58322014-03-31 Doug Evans <dje@google.com>
5833
5834 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
5835 comp_dir_string.
5836
770e7fc7
DE
58372014-03-31 Doug Evans <dje@google.com>
5838
5839 New option "set print symbol-loading".
5840 * NEWS: Mention it.
5841 * solib.c (solib_read_symbols): Only print symbol loading messages
5842 if requested.
5843 (solib_add): If symbol loading is in "brief" mode, notify user
5844 symbols are being loaded.
5845 (reload_shared_libraries_1): Ditto.
5846 * symfile.c (print_symbol_loading_off): New static global.
5847 (print_symbol_loading_brief): New static global.
5848 (print_symbol_loading_full): New static global.
5849 (print_symbol_loading_enums): New static global.
5850 (print_symbol_loading): New static global.
5851 (print_symbol_loading_p): New function.
5852 (symbol_file_add_with_addrs): Only print symbol loading messages
5853 if requested.
5854 (_initialize_symfile): Register "print symbol-loading" set/show
5855 command.
5856 * symfile.h (print_symbol_loading_p): Declare.
5857
c32c64b7
DE
58582014-03-30 Doug Evans <xdje42@gmail.com>
5859
5860 * infrun.c (set_last_target_status): New function.
5861 (handle_inferior_event): Call it.
5862
7c0bc051
DE
58632014-03-30 Doug Evans <xdje42@gmail.com>
5864
5865 * inferior.h (enum stop_kind): Improve comment.
5866
8776cfe9
JB
58672014-03-28 Joel Brobecker <brobecker@adacore.com>
5868
5869 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
5870 a reference, strip the reference layer before calling
5871 the lang_ops value_has_mutated callback.
5872
410a0ff2
SDJ
58732014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
5874
5875 Remove some globals from our parser.
5876 * language.c (unk_lang_parser): Add "struct parser_state"
5877 argument.
5878 * language.h (struct language_defn) <la_parser>: Likewise.
5879 * parse.c (expout, expout_size, expout_ptr): Remove variables.
5880 (initialize_expout): Add "struct parser_state" argument.
5881 Rewrite function to use the parser state.
5882 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
5883 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
5884 write_exp_elt_longcst, write_exp_elt_dblcst,
5885 write_exp_elt_decfloatcst, write_exp_elt_type,
5886 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5887 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
5888 write_dollar_variable): Likewise.
5889 (parse_exp_in_context_1): Use parser state.
5890 (insert_type_address_space): Add "struct parser_state" argument.
5891 Use parser state.
5892 (increase_expout_size): New function.
5893 * parser-defs.h: Forward declare "struct language_defn" and
5894 "struct parser_state".
5895 (expout, expout_size, expout_ptr): Remove extern declarations.
5896 (parse_gdbarch, parse_language): Rewrite macro declarations to
5897 accept the parser state.
5898 (struct parser_state): New struct.
5899 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
5900 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
5901 write_exp_elt_decfloatcst, write_exp_elt_type,
5902 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
5903 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
5904 write_exp_msymbol, write_dollar_variable,
5905 mark_struct_expression, insert_type_address_space): Add "struct
5906 parser_state" argument.
5907 (increase_expout_size): New function.
5908 * utils.c (do_clear_parser_state): New function.
5909 (make_cleanup_clear_parser_state): Likewise.
5910 * utils.h (make_cleanup_clear_parser_state): New function
5911 prototype.
5912 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
5913 Update calls to write_exp* in order to pass the parser state.
5914 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
5915 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
5916 (i386_stap_parse_special_token_three_arg_disp): Likewise.
5917 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
5918 * stap-probe.c (stap_parse_register_operand): Likewise.
5919 (stap_parse_single_operand): Likewise.
5920 (stap_parse_argument_1): Likewise.
5921 (stap_parse_argument): Use parser state.
5922 * stap-probe.h: Include "parser-defs.h".
5923 (struct stap_parse_info) <pstate>: New field.
5924 * c-exp.y (parse_type): Rewrite to use parser state.
5925 (yyparse): Redefine to c_parse_internal.
5926 (pstate): New global variable.
5927 (parse_number): Add "struct parser_state" argument.
5928 (write_destructor_name): Likewise.
5929 (type_exp): Update calls to write_exp* and similars in order to
5930 use parser state.
5931 (exp1, exp, variable, qualified_name, space_identifier,
5932 typename, typebase): Likewise.
5933 (write_destructor_name, parse_number, lex_one_token,
5934 classify_name, classify_inner_name, c_parse): Add "struct
5935 parser_state" argument. Update function to use parser state.
5936 * c-lang.h: Forward declare "struct parser_state".
5937 (c_parse): Add "struct parser_state" argument.
5938 * ada-exp.y (parse_type): Rewrite macro to use parser state.
5939 (yyparse): Redefine macro to ada_parse_internal.
5940 (pstate): New variable.
5941 (write_int, write_object_renaming, write_var_or_type,
5942 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
5943 type_int, type_long, type_long_long, type_float, type_double,
5944 type_long_double, type_char, type_boolean, type_system_address):
5945 Add "struct parser_state" argument.
5946 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
5947 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
5948 var_or_type, aggregate, aggregate_component_list,
5949 positional_list, others, component_group,
5950 component_associations): Update calls to write_exp* and similar
5951 functions in order to use parser state.
5952 (ada_parse, write_var_from_sym, write_int,
5953 write_exp_op_with_string, write_object_renaming,
5954 find_primitive_type, write_selectors, write_ambiguous_var,
5955 write_var_or_type, write_name_assoc, type_int, type_long,
5956 type_long_long, type_float, type_double, type_long_double,
5957 type_char, type_boolean, type_system_address): Add "struct
5958 parser_state" argument. Adjust function to use parser state.
5959 * ada-lang.c (parse): Likewise.
5960 * ada-lang.h: Forward declare "struct parser_state".
5961 (ada_parse): Add "struct parser_state" argument.
5962 * ada-lex.l (processInt, processReal): Likewise. Adjust all
5963 calls to both functions.
5964 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
5965 parser state.
5966 (yyparse): Redefine macro to f_parse_internal.
5967 (pstate): New variable.
5968 (parse_number): Add "struct parser_state" argument.
5969 (type_exp, exp, subrange, typebase): Update calls to write_exp*
5970 and similars in order to use parser state.
5971 (parse_number): Adjust code to use parser state.
5972 (yylex): Likewise.
5973 (f_parse): New function.
5974 * f-lang.h: Forward declare "struct parser_state".
5975 (f_parse): Add "struct parser_state" argument.
5976 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
5977 parser state.
5978 (yyparse): Redefine macro for java_parse_internal.
5979 (pstate): New variable.
5980 (push_expression_name, push_expression_name, insert_exp): Add
5981 "struct parser_state" argument.
5982 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
5983 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
5984 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
5985 PostIncrementExpression, PostDecrementExpression,
5986 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
5987 UnaryExpressionNotPlusMinus, CastExpression,
5988 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
5989 RelationalExpression, EqualityExpression, AndExpression,
5990 ExclusiveOrExpression, InclusiveOrExpression,
5991 ConditionalAndExpression, ConditionalOrExpression,
5992 ConditionalExpression, Assignment, LeftHandSide): Update
5993 calls to write_exp* and similars in order to use parser state.
5994 (parse_number): Ajust code to use parser state.
5995 (yylex): Likewise.
5996 (java_parse): New function.
5997 (push_variable): Add "struct parser_state" argument. Adjust
5998 code to user parser state.
5999 (push_fieldnames, push_qualified_expression_name,
6000 push_expression_name, insert_exp): Likewise.
6001 * jv-lang.h: Forward declare "struct parser_state".
6002 (java_parse): Add "struct parser_state" argument.
6003 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
6004 parser state.
6005 (yyparse): Redefine macro to m2_parse_internal.
6006 (pstate): New variable.
6007 (type_exp, exp, fblock, variable, type): Update calls to
6008 write_exp* and similars to use parser state.
6009 (yylex): Likewise.
6010 (m2_parse): New function.
6011 * m2-lang.h: Forward declare "struct parser_state".
6012 (m2_parse): Add "struct parser_state" argument.
6013 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
6014 * objc-lang.h: Forward declare "struct parser_state".
6015 (end_msglist): Add "struct parser_state" argument.
6016 * p-exp.y (parse_type): Rewrite macro to use parser state.
6017 (yyparse): Redefine macro to pascal_parse_internal.
6018 (pstate): New variable.
6019 (parse_number): Add "struct parser_state" argument.
6020 (type_exp, exp1, exp, qualified_name, variable): Update calls to
6021 write_exp* and similars in order to use parser state.
6022 (parse_number, yylex): Adjust code to use parser state.
6023 (pascal_parse): New function.
6024 * p-lang.h: Forward declare "struct parser_state".
6025 (pascal_parse): Add "struct parser_state" argument.
6026 * go-exp.y (parse_type): Rewrite macro to use parser state.
6027 (yyparse): Redefine macro to go_parse_internal.
6028 (pstate): New variable.
6029 (parse_number): Add "struct parser_state" argument.
6030 (type_exp, exp1, exp, variable, type): Update calls to
6031 write_exp* and similars in order to use parser state.
6032 (parse_number, lex_one_token, classify_name, yylex): Adjust code
6033 to use parser state.
6034 (go_parse): Likewise.
6035 * go-lang.h: Forward declare "struct parser_state".
6036 (go_parse): Add "struct parser_state" argument.
6037
342587c4
DE
60382014-03-27 Doug Evans <dje@google.com>
6039
6040 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
6041
33e80786
DE
60422014-03-27 Doug Evans <dje@google.com>
6043
6044 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
6045 Remove argument abbrev_section. All callers updated.
6046
1dbab08b
DE
60472014-03-27 Doug Evans <dje@google.com>
6048
6049 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
6050 addr_base, ranges_base.
6051
318d3177
KS
60522014-03-26 Keith Seitz <keiths@redhat.com>
6053
6054 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
6055 types, not VAR_DOMAIN.
6056
1e54db15
SL
60572014-03-25 Sandra Loosemore <sandra@codesourcery.com>
6058
6059 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
6060 "ra" registers.
6061 * features/nios2-linux.c: Regenerated.
6062 * features/nios2.c: Regenerated.
6063
d3839ede
PA
60642014-03-25 Pedro Alves <palves@redhat.com>
6065
6066 * cli/cli-script.c (script_from_file): Force the interpreter to
6067 sync mode.
6068
7588d2ec
PL
60692014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
6070
6071 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
6072 small stack allocation.
6073
a6290449
TG
60742014-03-24 Tristan Gingold <gingold@adacore.com>
6075
6076 * darwin-nat.c (exc_server): Remove unused prototype.
6077 (darwin_dump_message): Correctly display data on x86_64.
6078 (darwin_encode_reply): Fix style.
6079 Add comments and fix indentation.
6080
31ae9d24 60812014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
6082
6083 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
6084
6339bfc4
DE
60852014-03-22 Doug Evans <xdje42@gmail.com>
6086
6087 * infcmd.c: Whitespace fixes.
6088 (interrupt_command): Merge two function comments into one.
6089
0a07590b
DE
60902014-03-22 Doug Evans <xdje42@gmail.com>
6091
6092 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
6093 All uses updated.
6094
b55fbac4
YQ
60952014-03-22 Yao Qi <yao@codesourcery.com>
6096
6097 * remote.c (target_read_live_memory): Remove.
6098 (memory_xfer_live_readonly_partial): Rename it to
6099 remote_xfer_live_readonly_partial. Remove argument 'object'.
6100 All callers updated. Call remote_read_bytes_1
6101 instead of target_read_live_memory.
6102 * tracepoint.c (set_traceframe_number): Remove.
6103 (make_cleanup_restore_traceframe_number): Likewise .
6104 * tracepoint.h (set_traceframe_number): Remove declaration.
6105 (make_cleanup_restore_traceframe_number): Likewise.
6106
9217e74e
YQ
61072014-03-22 Yao Qi <yao@codesourcery.com>
6108
6109 * remote.c (remote_read_bytes): Move code on reading from the
6110 remote stub to ...
6111 (remote_read_bytes_1): ... here. New function.
6112
8acf9577
YQ
61132014-03-22 Yao Qi <yao@codesourcery.com>
6114
6115 * ctf.c (ctf_xfer_partial): Check the return value of
6116 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
6117 return TARGET_XFER_UNAVAILABLE.
6118 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
6119 * target.c (target_read_live_memory): Move it to remote.c.
6120 (memory_xfer_live_readonly_partial): Likewise.
6121 (memory_xfer_partial_1): Move some code to remote_read_bytes.
6122 * remote.c (target_read_live_memory): Moved from target.c.
6123 (memory_xfer_live_readonly_partial): Likewise.
6124 (remote_read_bytes): Factored out from
6125 memory_xfer_partial_1.
6126
feef67ab
DE
61272014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
6128
6129 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
6130 NULL pointer.
6131
b65dc60b
PA
61322014-03-21 Pedro Alves <palves@redhat.com>
6133
6134 * infrun.c (normal_stop): Extend comment.
6135
b4ab256d
HZ
61362014-03-21 Hui Zhu <hui@codesourcery.com>
6137 Pedro Alves <palves@redhat.com>
6138
6139 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
6140 static buffer.
6141 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
6142 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
6143 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
6144
deba7593
MR
61452014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
6146
6147 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
6148 `z' formatted output modifier.
6149
1bff71c3
SDJ
61502014-03-20 Tom Tromey <tromey@redhat.com>
6151 Sergio Durigan Junior <sergiodj@redhat.com>
6152
6153 * probe.c (parse_probes): Turn assert into an ordinary error.
6154 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
6155 exceptions when parsing probes. Rearrange the code for clarity.
6156
90e28950
TT
61572014-03-20 Tom Tromey <tromey@redhat.com>
6158
6159 PR gdb/14135
6160 * top.c (execute_command): Only dispatch events if the command
6161 started the target.
6162
beb460e8
PA
61632014-03-20 Tom Tromey <tromey@redhat.com>
6164
6165 PR cli/15718
6166 * infcall.c: Include event-top.h.
6167 (run_inferior_call): Call async_disable_stdin if needed.
6168
99619bea
PA
61692014-03-20 Pedro Alves <palves@redhat.com>
6170
6171 * infrun.c (prepare_to_proceed): Delete.
6172 (thread_still_needs_step_over): New function.
6173 (find_thread_needs_step_over): New function.
6174 (proceed): If the current thread needs a step-over, set its
6175 steping_over_breakpoint flag. Adjust to use
6176 find_thread_needs_step_over instead of prepare_to_proceed.
6177 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
6178 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
6179 breakpoint.
6180 (switch_back_to_stepped_thread): Step over breakpoints of all
6181 threads not the stepping thread, before switching back to the
6182 stepping thread.
6183
2adfaa28
PA
61842014-03-20 Pedro Alves <palves@redhat.com>
6185
6186 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
6187 extern.
6188 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
6189 * infrun.c (saved_singlestep_ptid)
6190 (stepping_past_singlestep_breakpoint): Delete.
6191 (resume): Remove stepping_past_singlestep_breakpoint handling.
6192 (proceed): Store the prev_pc of the stepping thread too.
6193 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
6194 singlestep_pc.
6195 (enum infwait_states): Delete infwait_thread_hop_state.
6196 (struct execution_control_state) <hit_singlestep_breakpoint>: New
6197 field.
6198 (handle_inferior_event): Adjust.
6199 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
6200 handling and the thread-hop code. Before removing single-step
6201 breakpoints, check whether the thread hit a single-step breakpoint
6202 of another thread. If it did, the trap is not a random signal.
6203 (switch_back_to_stepped_thread): If the event thread hit a
6204 single-step breakpoint, unblock it before switching to the
6205 stepping thread. Handle the case of the stepped thread having
6206 advanced already.
6207 (keep_going): Handle the case of the current thread moving past a
6208 single-step breakpoint.
6209
31e77af2
PA
62102014-03-20 Pedro Alves <palves@redhat.com>
6211
6212 PR breakpoints/7143
6213 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
6214 are being stepped over.
6215 (breakpoint_address_match): Make extern.
6216 * breakpoint.h (breakpoint_address_match): New declaration.
6217 * inferior.h (stepping_past_instruction_at): New declaration.
6218 * infrun.c (struct step_over_info): New type.
6219 (step_over_info): New global.
6220 (set_step_over_info, clear_step_over_info)
6221 (stepping_past_instruction_at): New functions.
6222 (handle_inferior_event): Clear the step-over info when
6223 trap_expected is cleared.
6224 (resume): Remove now stale comment.
6225 (clear_proceed_status): Clear step-over info.
6226 (proceed): Adjust step-over handling to set or clear the step-over
6227 info instead of removing all breakpoints.
6228 (handle_signal_stop): When setting up a thread-hop, don't remove
6229 breakpoints here.
6230 (stop_stepping): Clear step-over info.
6231 (keep_going): Adjust step-over handling to set or clear step-over
6232 info and then always inserting breakpoints, instead of removing
6233 all breakpoints when stepping over one.
6234
b9f437de
PA
62352014-03-20 Pedro Alves <palves@redhat.com>
6236
6237 * infrun.c (previous_inferior_ptid): Adjust comment.
6238 (deferred_step_ptid): Delete.
6239 (infrun_thread_ptid_changed, prepare_to_proceed)
6240 (init_wait_for_inferior): Adjust.
6241 (handle_signal_stop): Delete deferred_step_ptid handling.
6242
06c868a8
JK
62432014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
6244
6245 PR gdb/15358
6246 * defs.h (sync_quit_force_run): New declaration.
6247 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
6248 * event-top.c (async_sigterm_handler): New declaration.
6249 (async_sigterm_token): New variable.
6250 (async_init_signals): Create also async_sigterm_token.
6251 (async_sigterm_handler): New function.
6252 (sync_quit_force_run): New variable.
6253 (handle_sigterm): Replace quit_force call by other calls.
6254 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
6255
dea80df0
MR
62562014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
6257
6258 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
6259 offset into SPE pseudo registers.
6260
0c7e1a46
PA
62612014-03-18 Pedro Alves <palves@redhat.com>
6262
6263 PR gdb/13860
6264 * inferior.h (print_stop_event): Declare.
6265 * infrun.c (print_stop_event): New, factored out from ...
6266 (normal_stop): ... this.
6267 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
6268 of bpstat_print/print_stack_frame.
6269
9c1fcd01
TT
62702014-03-17 Tom Tromey <tromey@redhat.com>
6271
6272 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
6273
11aa919a
PMR
62742014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
6275
6276 * ada-lang.c (decode_constrained_packed_array): Perform a
6277 minimal coercion for reference with coerce_ref instead of
6278 ada_coerce_ref.
6279
d4ccb5e0
TG
62802014-03-17 Tristan Gingold <gingold@adacore.com>
6281
6282 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
6283 (darwin_solib_create_inferior_hook): Emit a warning if version
6284 is unhandled.
6285
49840f2a
UW
62862014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
6287
6288 * python/py-value.c (get_field_flag): Cast flag_name argument to
6289 PyObject_GetAttrString to support Python 2.4.
6290
ed4123e5
JK
62912014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
6292
6293 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
6294 (Global Maintainers): Remove Jan Kratochvil.
6295
d6b64346
PA
62962014-03-14 Pedro Alves <palves@redhat.com>
6297
6298 * inferior.h (terminal_ours_for_output): Rename to ...
6299 (child_terminal_ours_for_output): ... this.
6300 (terminal_save_ours): Rename to ...
6301 (child_terminal_save_ours): ... this.
6302 (terminal_ours): Rename to ...
6303 (child_terminal_ours): ... this.
6304 (terminal_inferior): Rename to ...
6305 (child_terminal_inferior): ... this.
6306 (terminal_init_inferior): Rename to ...
6307 (child_terminal_init_inferior): ... this.
6308 (terminal_init_inferior_with_pgrp): Rename to ...
6309 (child_terminal_init_inferior_with_pgrp): ... this.
6310 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
6311 (child_terminal_init_with_pgrp): ... this.
6312 (terminal_save_ours): Rename to ...
6313 (child_terminal_save_ours): ... this.
6314 (terminal_init_inferior): Rename to ...
6315 (child_terminal_init): ... this. Adjust.
6316 (terminal_inferior): Rename to ...
6317 (child_terminal_inferior): ... this.
6318 (terminal_ours_for_output): Rename to ...
6319 (child_terminal_ours_for_output): ... this. Adjust.
6320 (terminal_ours): Rename to ...
6321 (child_terminal_ours): ... this.
6322 (terminal_ours_1): Rename to ...
6323 (child_terminal_ours_1): ... this. Adjust.
6324 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
6325 * windows-nat.c (do_initial_windows_stuff): Adjust.
6326 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
6327 (gnu_terminal_init): ... this. Adjust.
6328 (gnu_target): Adjust.
6329 * inf-child.c (inf_child_target): Adjust.
6330
5a1e8c7a
DE
63312014-03-13 Doug Evans <xdje42@gmail.com>
6332
6333 PR guile/16612
6334 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
6335 new eq?-hashtab.
6336
350e1a76
DE
63372014-03-13 Doug Evans <xdje42@gmail.com>
6338
6339 * value.c (record_latest_value): Call release_value_or_incref
6340 instead of release_value.
6341
a69900ae
PA
63422014-03-13 Pedro Alves <palves@redhat.com>
6343
6344 * procfs.c (procfs_target): Don't override to_shortname,
6345 to_longname or to_doc.
6346
5db9f0bd
PA
63472014-03-13 Pedro Alves <palves@redhat.com>
6348
6349 * inf-child.c (inf_child_open, inf_child_target): Don't mention
6350 Unix in user visible strings.
6351
5e3a2c38
SS
63522014-03-12 Stan Shebs <stan@codesourcery.com>
6353
6354 * gdbtypes.h: Annotate comments for Doxygen, add a page
6355 block comment with some general info.
6356
8bc2fe48
PA
63572014-03-12 Pedro Alves <palves@redhat.com>
6358
6359 * infcmd.c (prepare_execution_command): New function, factored out
6360 from several execution commands.
6361 (run_command_1, continue_command, step_1, jump_command)
6362 (signal_command, until_command, advance_command, finish_command)
6363 (attach_command): Use prepare_execution_command.
6364
638c5f49
OJ
63652014-03-12 Omair Javaid <omair.javaid@linaro.org>
6366
6367 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
6368 (MAX_BPTS): Define.
6369 (MAX_WPTS): Define.
6370 (struct arm_linux_thread_points): Removed.
6371 (struct arm_linux_process_info): New.
6372 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
6373 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
6374 (arm_linux_find_breakpoints_by_tid): Removed.
6375 (struct arch_lwp_info): New.
6376 (arm_linux_find_process_pid): New functions.
6377 (arm_linux_add_process): New functions.
6378 (arm_linux_process_info_get): New functions.
6379 (arm_linux_forget_process): New function.
6380 (arm_linux_get_debug_reg_state): New function.
6381 (struct update_registers_data): New.
6382 (update_registers_callback): New function.
6383 (arm_linux_insert_hw_breakpoint1): Updated.
6384 (arm_linux_remove_hw_breakpoint1): Updated.
6385 (arm_linux_insert_hw_breakpoint): Updated.
6386 (arm_linux_remove_hw_breakpoint): Updated.
6387 (arm_linux_insert_watchpoint): Updated.
6388 (arm_linux_remove_watchpoint): Updated.
6389 (arm_linux_new_thread): Updated.
6390 (arm_linux_prepare_to_resume): New function.
6391 (arm_linux_new_fork): New function.
6392 (_initialize_arm_linux_nat): Updated.
6393
6d03af93
PA
63942014-03-12 Pedro Alves <palves@redhat.com>
6395
6396 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
6397
b3ccfe11
TT
63982014-03-12 Tom Tromey <tromey@redhat.com>
6399
6400 * inf-child.c (return_zero): New function.
6401 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
6402 * aix-thread.c (aix_thread_inferior_created): New function.
6403 (aix_thread_attach): Remove.
6404 (init_aix_thread_ops): Don't set to_attach.
6405 (_initialize_aix_thread): Register inferior_created observer.
6406 * corelow.c (init_core_ops): Don't set to_attach or
6407 to_create_inferior.
6408 * exec.c (init_exec_ops): Don't set to_attach or
6409 to_create_inferior.
6410 * infcmd.c (run_command_1): Use find_run_target. Make direct
6411 target calls.
6412 (attach_command): Use find_attach_target. Make direct target
6413 calls.
6414 * record-btrace.c (init_record_btrace_ops): Don't set
6415 to_create_inferior.
6416 * record-full.c (record_full_can_async_p, record_full_is_async_p):
6417 Remove.
6418 (init_record_full_ops, init_record_full_core_ops): Update. Don't
6419 set to_create_inferior.
6420 * target.c (complete_target_initialization): Add assertion.
6421 (target_create_inferior): Remove.
6422 (find_default_attach, find_default_create_inferior): Remove.
6423 (find_attach_target, find_run_target): New functions.
6424 (find_default_is_async_p, find_default_can_async_p)
6425 (target_supports_non_stop, target_attach): Remove.
6426 (init_dummy_target): Don't set to_create_inferior or
6427 to_supports_non_stop.
6428 * target.h (struct target_ops) <to_attach>: Add comment. Remove
6429 TARGET_DEFAULT_FUNC.
6430 <to_create_inferior>: Add comment.
6431 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
6432 TARGET_DEFAULT_RETURN.
6433 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
6434 (find_attach_target, find_run_target): Declare.
6435 (target_create_inferior): Remove.
6436 (target_has_execution_1): Update comment.
6437 (target_supports_non_stop): Remove.
6438 * target-delegates.c: Rebuild.
6439
91f83b02
PA
64402014-03-12 Pedro Alves <palves@redhat.com>
6441
6442 * inf-child.h: Update comment to not mention Unix.
6443
f1aea813
PA
64442014-03-12 Pedro Alves <palves@redhat.com>
6445
6446 * inf-child.c: Update top comment to not mention Unix. Add
6447 generic comment describing how this target is meant to be used.
6448 (inf_child_post_attach, inf_child_post_startup_inferior)
6449 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
6450 Unix in comment.
6451
ee8e9165
PA
64522014-03-12 Pedro Alves <palves@redhat.com>
6453
6454 * nto-procfs.c: Include inf-child.h.
6455 (procfs_ops): Delete global.
6456 (procfs_can_run): Delete method.
6457 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
6458 target pointer instead of referencing procfs_ops.
6459 (procfs_prepare_to_store): Delete.
6460 (init_procfs_ops): Delete function.
6461 (procfs_target): New function, based on init_procfs_ops, but
6462 inherit inf_child_target.
6463 (_initialize_procfs): Use procfs_target.
6464
51a9c8c5
PA
64652014-03-12 Pedro Alves <palves@redhat.com>
6466
6467 * windows-nat.c: Include inf-child.h.
6468 (windows_ops): Delete global.
6469 (windows_open, windows_prepare_to_store, windows_can_run): Delete
6470 methods.
6471 (init_windows_ops): Delete function.
6472 (windows_target): New function, based on init_windows_ops, but
6473 inherit inf_child_target.
6474 (_initialize_windows_nat): Use windows_target. Install x86
6475 specific target methods here.
6476
c1966e26
DE
64772014-03-10 Doug Evans <xdje42@gmail.com>
6478
6479 * guile/guile.c (call_initialize_gdb_module): New function.
6480 (initialize_guile): Replace call to scm_init_guile with call to
6481 scm_with_guile.
6482
023db19c
JB
64832014-03-10 Joel Brobecker <brobecker@adacore.com>
6484
6485 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
6486 in call to TYPE_CODE macro.
6487
5ec18f2b
JG
64882014-03-10 Jerome Guitton <guitton@adacore.com>
6489
8668be63
JB
6490 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
6491 Resolve tagged types to full view.
5ec18f2b 6492
7d03f2eb
HZ
64932014-03-10 Hui Zhu <hui@codesourcery.com>
6494
6495 * target.h (target_insert_breakpoint): Remove "hardware" from its
6496 comments.
6497
c5164cbc
DE
64982014-03-07 Doug Evans <dje@google.com>
6499
6500 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
6501
c4a3fee2
DE
65022014-03-07 Doug Evans <dje@google.com>
6503
6504 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
6505 Remove unused local comp_dir_attr. Assert exactly one of
6506 stub_comp_unit_die, stub_comp_dir is non-NULL.
6507
3156469c
JB
65082014-03-07 Joel Brobecker <brobecker@adacore.com>
6509
6510 * target.h (complete_target_initialization, add_target):
6511 Add comment.
6512
c1a7b7c6
PA
65132014-03-07 Pedro Alves <palves@redhat.com>
6514
6515 * go32-nat.c: Include inf-child.h.
6516 (go32_ops): Delete global.
6517 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
6518 Delete methods.
6519 (go32_create_inferior): Push the passed in target pointer instead
6520 of referencing go32_ops.
6521 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
6522 (go32_target): New function, based on init_go32_ops, but inherit
6523 inf_child_target.
6524 (_initialize_go32_nat): Use go32_target. Move parts of
6525 init_go32_ops here.
6526
d3c1a85f
JB
65272014-03-06 Joel Brobecker <brobecker@adacore.com>
6528
6529 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
6530 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
6531 SYMBOL_VALUE_ADDRESS.
6532 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
6533
5fa1d40e
YQ
65342014-03-06 Yao Qi <yao@codesourcery.com>
6535
6536 * breakpoint.c (get_tracepoint_by_number): Remove argument
6537 optional_p. All callers updated. Adjust comments. Update
6538 output message.
6539 * breakpoint.h (get_tracepoint_by_number): Update declaration.
6540
0c13193f
YQ
65412014-03-06 Yao Qi <yao@codesourcery.com>
6542
6543 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
6544 early if get_number returns zero. Use 'p' instead of 'args'.
6545
2217da06
YQ
65462014-03-06 Yao Qi <yao@codesourcery.com>
6547
6548 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
6549 message.
6550
cc3da688
YQ
65512014-03-06 Yao Qi <yao@codesourcery.com>
6552
6553 PR breakpoints/16508
6554 * tracepoint.c (check_trace_running): New function.
6555 (trace_find_command): Move code to check_trace_running and
6556 call check_trace_running.
6557 (trace_find_pc_command): Likewise.
6558 (trace_find_tracepoint_command): Likewise.
6559 (trace_find_line_command): Likewise.
6560 (trace_find_range_command): Likewise.
6561 * tracepoint.h (check_trace_running): Likewise.
6562 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
6563
6a5f844b
YQ
65642014-03-06 Yao Qi <yao@codesourcery.com>
6565
6566 * target.h (struct target_ops) <to_traceframe_info>: Use
6567 TARGET_DEFAULT_NORETURN (tcomplain ()).
6568 * target-delegates.c: Regenerated.
6569
0f26cec1
PA
65702014-03-05 Pedro Alves <palves@redhat.com>
6571
6572 PR gdb/16575
6573 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
6574 void. Update comment.
6575 (dcache_xfer_memory): Delete.
6576 (dcache_read_memory_partial): New, based on the read bits of
6577 dcache_xfer_memory.
6578 (dcache_update): Add status parameter. Use ULONGEST for len, and
6579 adjust. Discard cache lines if the reason for the update was
6580 error.
6581 * dcache.h (dcache_xfer_memory): Delete declaration.
6582 (dcache_read_memory_partial): New declaration.
6583 (dcache_update): Update prototype.
6584 * target.c (raw_memory_xfer_partial): Update the dcache here.
6585 (memory_xfer_partial_1): Don't handle dcache writes here.
6586
b2b255bd
MF
65872014-03-05 Mike Frysinger <vapier@gentoo.org>
6588
6589 * remote-sim.c (gdbsim_load): Add const to prog.
6590
5d9cf8a4
TT
65912014-03-03 Tom Tromey <tromey@redhat.com>
6592
6593 * elfread.c (probe_key): Change to bfd_data.
6594 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
6595 now per-BFD, not per-objfile.
6596 * stap-probe.c (stap_probe_destroy): Update comment.
6597 (handle_stap_probe): Allocate on the per-BFD obstack.
6598
729662a5
TT
65992014-03-03 Tom Tromey <tromey@redhat.com>
6600
6601 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
6602 * breakpoint.c (create_longjmp_master_breakpoint): Use
6603 get_probe_address.
6604 (add_location_to_breakpoint, bkpt_probe_insert_location)
6605 (bkpt_probe_remove_location): Update.
6606 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
6607 * elfread.c (elf_symfile_relocate_probe): Remove.
6608 (elf_probe_fns): Update.
6609 (insert_exception_resume_breakpoint): Change type of "probe"
6610 parameter to bound_probe.
6611 (check_exception_resume): Update.
6612 * objfiles.c (objfile_relocate1): Don't relocate probes.
6613 * probe.c (bound_probe_s): New typedef.
6614 (parse_probes): Use get_probe_address. Set sal's objfile.
6615 (find_probe_by_pc): Return a bound_probe.
6616 (collect_probes): Return a VEC(bound_probe_s).
6617 (compare_probes): Update.
6618 (gen_ui_out_table_header_info): Change type of "probes"
6619 parameter. Update.
6620 (info_probes_for_ops): Update.
6621 (get_probe_address): New function.
6622 (probe_safe_evaluate_at_pc): Update.
6623 * probe.h (struct probe_ops) <get_probe_address>: New field.
6624 <set_semaphore, clear_semaphore>: Add objfile parameter.
6625 (struct probe) <objfile>: Remove field.
6626 <arch>: New field.
6627 <address>: Update comment.
6628 (struct bound_probe): New.
6629 (find_probe_by_pc): Return a bound_probe.
6630 (get_probe_address): Declare.
6631 * solib-svr4.c (struct probe_and_action) <address>: New field.
6632 (hash_probe_and_action, equal_probe_and_action): Update.
6633 (register_solib_event_probe): Add address parameter.
6634 (solib_event_probe_at): Update.
6635 (svr4_create_probe_breakpoints): Add objfile parameter. Use
6636 get_probe_address.
6637 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
6638 (stap_get_probe_address): New function.
6639 (stap_can_evaluate_probe_arguments, compute_probe_arg)
6640 (compile_probe_arg): Update.
6641 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
6642 address.
6643 (handle_stap_probe): Don't relocate the probe.
6644 (stap_relocate): Remove.
6645 (stap_gen_info_probes_table_values): Update.
6646 (stap_probe_ops): Remove stap_relocate.
6647 * symfile-debug.c (debug_sym_relocate_probe): Remove.
6648 (debug_sym_probe_fns): Update.
6649 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
6650 * symtab.c (init_sal): Use memset.
6651 * symtab.h (struct symtab_and_line) <objfile>: New field.
6652 * tracepoint.c (start_tracing, stop_tracing): Update.
6653
ff887920
TT
66542014-03-03 Tom Tromey <tromey@redhat.com>
6655
6656 * probe.h (parse_probes, find_probe_by_pc)
6657 (find_probes_in_objfile): Fix comments.
6658
f0407826
DE
66592014-03-02 Doug Evans <xdje42@gmail.com>
6660
6661 * infrun.c (handle_signal_stop): Replace test for
6662 TARGET_WAITKIND_STOPPED with an assert.
6663
35e6a711
DE
66642014-03-02 Doug Evans <xdje42@gmail.com>
6665
6666 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
6667
667f9d0b
DE
66682014-03-02 Doug Evans <xdje42@gmail.com>
6669
6670 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
6671
dc92ace0
MK
66722014-03-01 Mark Kettenis <kettenis@gnu.org>
6673
6674 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
6675
a900370f
MK
66762014-03-01 Mark Kettenis <kettenis@gnu.org>
6677
6678 * i386obsd-nat.c: Include "obsd-nat.h".
6679 (_initialize_i386obsd_nat): Call obsd_add_target instead of
6680 add_target.
6681 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
6682
b72a7981
MK
66832014-03-01 Mark Kettenis <kettenis@gnu.org>
6684
6685 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
6686
96c70aba
MK
66872014-03-01 Mark Kettenis <kettenis@gnu.org>
6688
6689 * mips64obsd-nat.c: Include "obsd-nath".
6690 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
6691 add_target
6692 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6693
874a80af
MK
66942014-03-01 Mark Kettenis <kettenis@gnu.org>
6695
8fd408f1
MK
6696 * amd64obsd-nat.c: Include "obsd-nat,h.
6697 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
6698 add_target.
874a80af
MK
6699 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
6700
9cf95373
SC
67012014-02-28 Siva Chandra Reddy <sivachandra@google.com>
6702
6703 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
6704 (find_overload_match): Update call to find_oload_champ.
6705 (find_oload_champ_namespace_loop): Likewise
6706
863e4da4
MK
67072014-02-28 Mark Kettenis <kettenis@gnu.org>
6708
025cac40
MK
6709 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
6710
1ed586ce
MK
6711 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
6712 * config/sparc/obsd64.mh: New file.
6713 * sparc64obsd-nat.c: New file.
6714
863e4da4
MK
6715 * obsd-nat.h: New file.
6716 * obsd-nat.c: New file.
6717 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
6718 (ALLDEPFILES): Add obsd-nat.c.
6719
89de4da4
TT
67202014-02-28 Tom Tromey <tromey@redhat.com>
6721
6722 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
6723 * cli-out.h (cli_ui_out_impl): Now const.
6724 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
6725 * ui-out.c (struct ui_out) <impl>: Now const.
6726 (default_ui_out_impl): Now const.
6727 (ui_out_new): Make 'impl' parameter const.
6728 * ui-out.h (ui_out_new): Update.
6729
c725e7b6
MK
67302014-02-27 Mark Kettenis <kettenis@gnu.org>
6731
6732 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
6733
670b46b3
MK
67342014-02-27 Mark Kettenis <kettenis@gnu.org>
6735
6736 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
6737
c91550fc
JK
67382014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
6739
6740 Additional PR 8882 fix.
6741 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
6742
2fa0369e
PA
67432014-02-27 Pedro Alves <palves@redhat.com>
6744
6745 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
6746 isn't set.
6747
d632a097
PA
67482014-02-27 Pedro Alves <palves@redhat.com>
6749
6750 PR 12702
6751 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
6752 * nat/linux-waitpid.c: Include string.h.
6753 (status_to_str): Moved here and made extern.
6754 * nat/linux-waitpid.h (status_to_str): New declaration.
6755
2ebd5a35
HZ
67562014-02-27 Hui Zhu <hui@codesourcery.com>
6757
6758 PR 12702
6759 * infrun.c (ptid_match): Move ...
6760 * common/ptid.c (ptid_match): ... here.
6761 * inferior.h (ptid_match): Move ...
6762 * common/ptid.h (ptid_match): ... here.
6763
3cdd631f
MK
67642014-02-27 Mark Kettenis <kettenis@gnu.org>
6765
6766 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
6767 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
6768 gdb_target_obs.
6769
bee30a64
MK
67702014-02-27 Mark Kettenis <kettenis@gnu.org>
6771
6772 * obsd-tdep.c (obsd_auxv_parse): New function.
6773 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
6774
6775 * gdbarch.sh (auxv_parse): New.
6776 * gdbarch.h: Regenerated.
6777 * gdbarch.c: Regenerated.
6778 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
6779
7a5a839f
LC
67802014-02-26 Ludovic Courtès <ludo@gnu.org>
6781
6782 * guile/scm-value.c (gdbscm_history_append_x): New function.
6783 (value_functions): Add it.
6784
31aa7e4e
JB
67852014-02-27 Joel Brobecker <brobecker@adacore.com>
6786
6787 * dwarf2read.c (attr_value_as_address): New function.
6788 (dwarf2_find_base_address, read_call_site_scope): Use
6789 attr_value_as_address in place of DW_ADDR.
6790 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
6791 the low and high addresses. Slight rework of the handling
6792 of the high pc being a constant form, and limit it to
6793 DWARF verson 4 or higher.
6794 (dwarf2_record_block_ranges): Likewise.
6795 (read_partial_die): Likewise.
6796 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
6797
9b333ba3
TT
67982014-02-26 Tom Tromey <tromey@redhat.com>
6799
6800 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
6801
5f6cac40
TT
68022014-02-26 Tom Tromey <tromey@redhat.com>
6803
6804 * elfread.c (elf_read_minimal_symbols): Return early if
6805 minimal symbols have already been read. Add "ei" parameter.
6806 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
6807 * minsyms.c (prim_record_minimal_symbol_full): Update.
6808 * objfiles.h (struct objstats) <n_minsyms>: Move...
6809 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
6810 * symmisc.c (print_objfile_statistics): Update.
6811
2750ef27
TT
68122014-02-26 Tom Tromey <tromey@redhat.com>
6813
6814 * elfread.c (elf_read_minimal_symbols): New function, from
6815 elf_symfile_read.
6816 (elf_symfile_read): Call it.
6817
34643a32
TT
68182014-02-26 Tom Tromey <tromey@redhat.com>
6819
6820 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
6821 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
6822 (lookup_minimal_symbol_solib_trampoline)
6823 (lookup_minimal_symbol_by_pc_section_1)
6824 (lookup_minimal_symbol_and_objfile): Update.
6825 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
6826 Don't allocate a minimal symbol if minsyms have already been read.
6827 (build_minimal_symbol_hash_tables): Update.
6828 (install_minimal_symbols): Do nothing if minsyms already read.
6829 Use the per-BFD obstack.
6830 (terminate_minimal_symbol_table): Use the per-BFD obstack.
6831 * objfiles.c (allocate_objfile): Call
6832 terminate_minimal_symbol_table later.
6833 (have_minimal_symbols): Update.
6834 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
6835 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
6836 Move from struct objfile.
6837 <minsyms_read>: New field.
6838 (struct objfile) <msymbols, minimal_symbol_count,
6839 msymbol_hash, msymbol_demangled_hash>: Move.
6840 (ALL_OBJFILE_MSYMBOLS): Update.
6841 * symfile.c (read_symbols): Set minsyms_read.
6842 (reread_symbols): Update.
6843 * symmisc.c (dump_objfile, dump_msymbols): Update.
6844
2273f0ac
TT
68452014-02-26 Tom Tromey <tromey@redhat.com>
6846
6847 * minsyms.c (msymbols_sort): Remove.
6848 * minsyms.h (msymbols_sort): Remove.
6849 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
6850 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
6851 * elfread.c (elf_symtab_read): Don't add section offsets.
6852 * xcoffread.c (record_minimal_symbol): Don't add section offset
6853 to minimal symbol address.
6854 * somread.c (text_offset, data_offset): Remove.
6855 (som_symtab_read): Don't add section offsets to minimal symbol
6856 addresses.
6857 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
6858 Don't add section offsets to minimal symbols.
6859 * coffread.c (coff_symtab_read): Don't add section offsets
6860 to minimal symbol addresses.
6861 * machoread.c (macho_symtab_add_minsym): Don't add section offset
6862 to minimal symbol addresses.
6863 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
6864 section offset to minimal symbol addresses.
6865 * mdebugread.c (parse_partial_symbols): Don't add section
6866 offset to minimal symbol addresses.
6867 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
6868 offset to minimal symbol addresses.
6869
77e371c0
TT
68702014-02-26 Tom Tromey <tromey@redhat.com>
6871
6872 * ada-lang.c (ada_main_name): Update.
6873 (ada_add_standard_exceptions): Update.
6874 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6875 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6876 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
6877 * auxv.c (ld_so_xfer_auxv): Update.
6878 * avr-tdep.c (avr_scan_prologue): Update.
6879 * ax-gdb.c (gen_var_ref): Update.
6880 * blockframe.c (get_pc_function_start)
6881 (find_pc_partial_function_gnu_ifunc): Update.
6882 * breakpoint.c (create_overlay_event_breakpoint)
6883 (create_longjmp_master_breakpoint)
6884 (create_std_terminate_master_breakpoint)
6885 (create_exception_master_breakpoint): Update.
6886 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6887 * c-valprint.c (c_val_print): Update.
6888 * coff-pe-read.c (add_pe_forwarded_sym): Update.
6889 * common/agent.c (agent_look_up_symbols): Update.
6890 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6891 * dwarf2loc.c (call_site_to_target_addr): Update.
6892 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
6893 * elfread.c (elf_gnu_ifunc_record_cache)
6894 (elf_gnu_ifunc_resolve_by_got): Update.
6895 * findvar.c (default_read_var_value): Update.
6896 * frame.c (inside_main_func): Update.
6897 * frv-tdep.c (frv_frame_this_id): Update.
6898 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
6899 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
6900 Update.
6901 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
6902 (hppa_hpux_find_dummy_bpaddr): Update.
6903 * hppa-tdep.c (hppa_symbol_address): Update.
6904 * infcmd.c (until_next_command): Update.
6905 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
6906 Update.
6907 * linespec.c (minsym_found, add_minsym): Update.
6908 * linux-nat.c (get_signo): Update.
6909 * linux-thread-db.c (inferior_has_bug): Update.
6910 * m32c-tdep.c (m32c_return_value)
6911 (m32c_m16c_address_to_pointer): Update.
6912 * m32r-tdep.c (m32r_frame_this_id): Update.
6913 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
6914 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
6915 * maint.c (maintenance_translate_address): Update.
6916 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
6917 (frob_address): New function.
6918 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
6919 frob_address. Rename parameter to "pc_in".
6920 (compare_minimal_symbols, compact_minimal_symbols): Use raw
6921 addresses.
6922 (find_solib_trampoline_target, minimal_symbol_upper_bound):
6923 Update.
6924 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
6925 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
6926 * objc-lang.c (find_objc_msgsend): Update.
6927 * objfiles.c (objfile_relocate1): Update.
6928 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
6929 * p-valprint.c (pascal_val_print): Update.
6930 * parse.c (write_exp_msymbol): Update.
6931 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
6932 (ppc_elfv2_skip_entrypoint): Update.
6933 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
6934 * printcmd.c (build_address_symbolic, msym_info)
6935 (address_info): Update.
6936 * proc-service.c (ps_pglobal_lookup): Update.
6937 * psymtab.c (find_pc_sect_psymtab_closer)
6938 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
6939 Change msymbol parameter to bound_minimal_symbol.
6940 * ravenscar-thread.c (get_running_thread_id): Update.
6941 * remote.c (remote_check_symbols): Update.
6942 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
6943 address.
6944 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
6945 * solib-dsbt.c (lm_base): Update.
6946 * solib-frv.c (lm_base, main_got): Update.
6947 * solib-irix.c (locate_base): Update.
6948 * solib-som.c (som_solib_create_inferior_hook)
6949 (link_map_start): Update.
6950 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
6951 * solib-svr4.c (elf_locate_base, enable_break): Update.
6952 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
6953 (flush_ea_cache): Update.
6954 * stabsread.c (define_symbol, scan_file_globals): Update.
6955 * stack.c (find_frame_funname): Update.
6956 * symfile-debug.c (debug_qf_expand_symtabs_matching)
6957 (debug_qf_find_pc_sect_symtab): Update.
6958 * symfile.c (simple_read_overlay_table)
6959 (simple_overlay_update): Update.
6960 * symfile.h (struct quick_symbol_functions)
6961 <find_pc_sect_symtab>: Change type of msymbol to
6962 bound_minimal_symbol.
6963 * symmisc.c (dump_msymbols): Update.
6964 * symtab.c (find_pc_sect_symtab_via_partial)
6965 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
6966 (search_symbols, print_msymbol_info): Update.
6967 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
6968 (MSYMBOL_VALUE_ADDRESS): Redefine.
6969 (BMSYMBOL_VALUE_ADDRESS): New macro.
6970 * tracepoint.c (scope_info): Update.
6971 * tui/tui-disasm.c (tui_find_disassembly_address)
6972 (tui_get_begin_asm_address): Update.
6973 * valops.c (find_function_in_inferior): Update.
6974 * value.c (value_static_field, value_fn_field): Update.
6975
3b7344d5
TT
69762014-02-26 Tom Tromey <tromey@redhat.com>
6977
6978 * ada-lang.c (ada_update_initial_language): Update.
6979 (ada_main_name, ada_has_this_exception_support): Update.
6980 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
6981 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
6982 * arm-tdep.c (arm_skip_stub): Update.
6983 * auxv.c (ld_so_xfer_auxv): Update.
6984 * avr-tdep.c (avr_scan_prologue): Update.
6985 * ax-gdb.c (gen_var_ref): Update.
6986 * breakpoint.c (struct breakpoint_objfile_data)
6987 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
6988 type to bound_minimal_symbol.
6989 (create_overlay_event_breakpoint)
6990 (create_longjmp_master_breakpoint)
6991 (create_std_terminate_master_breakpoint)
6992 (create_exception_master_breakpoint): Update.
6993 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
6994 * c-exp.y (classify_name): Update.
6995 * coffread.c (coff_symfile_read): Update.
6996 * common/agent.c (agent_look_up_symbols): Update.
6997 * d-lang.c (d_main_name): Update.
6998 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
6999 * dec-thread.c (enable_dec_thread): Update.
7000 * dwarf2loc.c (call_site_to_target_addr): Update.
7001 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
7002 * eval.c (evaluate_subexp_standard): Update.
7003 * findvar.c (struct minsym_lookup_data) <result>: Change type
7004 to bound_minimal_symbol.
7005 <objfile>: Remove.
7006 (minsym_lookup_iterator_cb, default_read_var_value): Update.
7007 * frame.c (inside_main_func): Update.
7008 * frv-tdep.c (frv_frame_this_id): Update.
7009 * gcore.c (call_target_sbrk): Update.
7010 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7011 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
7012 Update.
7013 * go-lang.c (go_main_name): Update.
7014 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
7015 (hppa_hpux_find_import_stub_for_addr): Update.
7016 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
7017 Update. Change return type.
7018 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
7019 type.
7020 * jit.c (jit_breakpoint_re_set_internal): Update.
7021 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
7022 Update.
7023 * linux-nat.c (get_signo): Update.
7024 * linux-thread-db.c (inferior_has_bug): Update
7025 * m32c-tdep.c (m32c_return_value)
7026 (m32c_m16c_address_to_pointer): Update.
7027 * m32r-tdep.c (m32r_frame_this_id): Update.
7028 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7029 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7030 * minsyms.c (lookup_minimal_symbol_internal): Rename to
7031 lookup_minimal_symbol. Change return type.
7032 (lookup_minimal_symbol): Remove.
7033 (lookup_bound_minimal_symbol): Update.
7034 (lookup_minimal_symbol_text): Change return type.
7035 (lookup_minimal_symbol_solib_trampoline): Change return type.
7036 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
7037 (lookup_minimal_symbol_solib_trampoline): Change return type.
7038 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7039 * objc-lang.c (lookup_objc_class, lookup_child_selector)
7040 (value_nsstring, find_imps): Update.
7041 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7042 * p-lang.c (pascal_main_name): Update.
7043 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
7044 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7045 * proc-service.c (ps_pglobal_lookup): Update.
7046 * ravenscar-thread.c (get_running_thread_msymbol): Change
7047 return type.
7048 (has_ravenscar_runtime, get_running_thread_id): Update.
7049 * remote.c (remote_check_symbols): Update.
7050 * sol-thread.c (ps_pglobal_lookup): Update.
7051 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7052 * solib-dsbt.c (lm_base): Update.
7053 * solib-frv.c (lm_base, frv_relocate_section_addresses):
7054 Update.
7055 * solib-irix.c (locate_base): Update.
7056 * solib-som.c (som_solib_create_inferior_hook)
7057 (som_solib_desire_dynamic_linker_symbols, link_map_start):
7058 Update.
7059 * solib-spu.c (spu_enable_break): Update.
7060 * solib-svr4.c (elf_locate_base, enable_break): Update.
7061 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
7062 (flush_ea_cache): Update.
7063 * stabsread.c (define_symbol): Update.
7064 * symfile.c (simple_read_overlay_table): Update.
7065 * symtab.c (find_pc_sect_line): Update.
7066 * tracepoint.c (scope_info): Update.
7067 * tui-disasm.c (tui_get_begin_asm_address): Update.
7068 * value.c (value_static_field): Update.
7069
40c1a007
TT
70702014-02-26 Tom Tromey <tromey@redhat.com>
7071
7072 * minsyms.c (prim_record_minimal_symbol_full): Use
7073 SET_MSYMBOL_VALUE_ADDRESS.
7074 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
7075 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
7076 SET_MSYMBOL_VALUE_ADDRESS.
7077 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
7078 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
7079
efd66ac6
TT
70802014-02-26 Tom Tromey <tromey@redhat.com>
7081
7082 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
7083 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
7084 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
7085 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
7086 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
7087 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
7088 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
7089 * ada-lang.c (ada_main_name): Update.
7090 (ada_lookup_simple_minsym): Update.
7091 (ada_make_symbol_completion_list): Update.
7092 (ada_add_standard_exceptions): Update.
7093 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
7094 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
7095 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
7096 * arm-tdep.c (skip_prologue_function): Update.
7097 (arm_skip_stack_protector, arm_skip_stub): Update.
7098 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
7099 (arm_wince_skip_main_prologue): Update.
7100 * auxv.c (ld_so_xfer_auxv): Update.
7101 * avr-tdep.c (avr_scan_prologue): Update.
7102 * ax-gdb.c (gen_var_ref): Update.
7103 * block.c (call_site_for_pc): Update.
7104 * blockframe.c (get_pc_function_start): Update.
7105 (find_pc_partial_function_gnu_ifunc): Update.
7106 * breakpoint.c (create_overlay_event_breakpoint): Update.
7107 (create_longjmp_master_breakpoint): Update.
7108 (create_std_terminate_master_breakpoint): Update.
7109 (create_exception_master_breakpoint): Update.
7110 (resolve_sal_pc): Update.
7111 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
7112 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
7113 Update.
7114 * c-valprint.c (c_val_print): Update.
7115 * coff-pe-read.c (add_pe_forwarded_sym): Update.
7116 * coffread.c (coff_symfile_read): Update.
7117 * common/agent.c (agent_look_up_symbols): Update.
7118 * dbxread.c (find_stab_function_addr): Update.
7119 (end_psymtab): Update.
7120 * dwarf2loc.c (call_site_to_target_addr): Update.
7121 (func_verify_no_selftailcall): Update.
7122 (tailcall_dump): Update.
7123 (call_site_find_chain_1): Update.
7124 (dwarf_expr_reg_to_entry_parameter): Update.
7125 * elfread.c (elf_gnu_ifunc_record_cache): Update.
7126 (elf_gnu_ifunc_resolve_by_got): Update.
7127 * f-valprint.c (info_common_command): Update.
7128 * findvar.c (read_var_value): Update.
7129 * frame.c (get_prev_frame_1): Update.
7130 (inside_main_func): Update.
7131 * frv-tdep.c (frv_skip_main_prologue): Update.
7132 (frv_frame_this_id): Update.
7133 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
7134 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
7135 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
7136 (gnuv3_skip_trampoline): Update.
7137 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
7138 (hppa64_hpux_in_solib_call_trampoline): Update.
7139 (hppa_hpux_skip_trampoline_code): Update.
7140 (hppa64_hpux_search_dummy_call_sequence): Update.
7141 (hppa_hpux_find_import_stub_for_addr): Update.
7142 (hppa_hpux_find_dummy_bpaddr): Update.
7143 * hppa-tdep.c (hppa_symbol_address)
7144 (hppa_lookup_stub_minimal_symbol): Update.
7145 * i386-tdep.c (i386_skip_main_prologue): Update.
7146 (i386_pe_skip_trampoline_code): Update.
7147 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
7148 * infcall.c (get_function_name): Update.
7149 * infcmd.c (until_next_command): Update.
7150 * jit.c (jit_breakpoint_re_set_internal): Update.
7151 (jit_inferior_init): Update.
7152 * linespec.c (minsym_found): Update.
7153 (add_minsym): Update.
7154 * linux-fork.c (info_checkpoints_command): Update.
7155 * linux-nat.c (get_signo): Update.
7156 * linux-thread-db.c (inferior_has_bug): Update.
7157 * m32c-tdep.c (m32c_return_value): Update.
7158 (m32c_m16c_address_to_pointer): Update.
7159 (m32c_m16c_pointer_to_address): Update.
7160 * m32r-tdep.c (m32r_frame_this_id): Update.
7161 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
7162 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
7163 * maint.c (maintenance_translate_address): Update.
7164 * minsyms.c (add_minsym_to_hash_table): Update.
7165 (add_minsym_to_demangled_hash_table): Update.
7166 (msymbol_objfile): Update.
7167 (lookup_minimal_symbol): Update.
7168 (iterate_over_minimal_symbols): Update.
7169 (lookup_minimal_symbol_text): Update.
7170 (lookup_minimal_symbol_by_pc_name): Update.
7171 (lookup_minimal_symbol_solib_trampoline): Update.
7172 (lookup_minimal_symbol_by_pc_section_1): Update.
7173 (lookup_minimal_symbol_and_objfile): Update.
7174 (prim_record_minimal_symbol_full): Update.
7175 (compare_minimal_symbols): Update.
7176 (compact_minimal_symbols): Update.
7177 (build_minimal_symbol_hash_tables): Update.
7178 (install_minimal_symbols): Update.
7179 (terminate_minimal_symbol_table): Update.
7180 (find_solib_trampoline_target): Update.
7181 (minimal_symbol_upper_bound): Update.
7182 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
7183 * mips-tdep.c (mips_stub_frame_sniffer): Update.
7184 (mips_skip_pic_trampoline_code): Update.
7185 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
7186 * objc-lang.c (selectors_info): Update.
7187 (classes_info): Update.
7188 (find_methods): Update.
7189 (find_imps): Update.
7190 (find_objc_msgsend): Update.
7191 * objfiles.c (objfile_relocate1): Update.
7192 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
7193 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
7194 * p-valprint.c (pascal_val_print): Update.
7195 * parse.c (write_exp_msymbol): Update.
7196 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
7197 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
7198 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
7199 * printcmd.c (build_address_symbolic): Update.
7200 (sym_info): Update.
7201 (address_info): Update.
7202 * proc-service.c (ps_pglobal_lookup): Update.
7203 * psymtab.c (find_pc_sect_psymtab_closer): Update.
7204 (find_pc_sect_psymtab): Update.
7205 * python/py-framefilter.c (py_print_frame): Update.
7206 * ravenscar-thread.c (get_running_thread_id): Update.
7207 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
7208 Update.
7209 * remote.c (remote_check_symbols): Update.
7210 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
7211 (rs6000_skip_trampoline_code): Update.
7212 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
7213 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
7214 * solib-dsbt.c (lm_base): Update.
7215 * solib-frv.c (lm_base): Update.
7216 (main_got): Update.
7217 * solib-irix.c (locate_base): Update.
7218 * solib-som.c (som_solib_create_inferior_hook): Update.
7219 (som_solib_desire_dynamic_linker_symbols): Update.
7220 (link_map_start): Update.
7221 * solib-spu.c (spu_enable_break): Update.
7222 (ocl_enable_break): Update.
7223 * solib-svr4.c (elf_locate_base): Update.
7224 (enable_break): Update.
7225 * spu-tdep.c (spu_get_overlay_table): Update.
7226 (spu_catch_start): Update.
7227 (flush_ea_cache): Update.
7228 * stabsread.c (define_symbol): Update.
7229 (scan_file_globals): Update.
7230 * stack.c (find_frame_funname): Update.
7231 (frame_info): Update.
7232 * symfile.c (simple_read_overlay_table): Update.
7233 (simple_overlay_update): Update.
7234 * symmisc.c (dump_msymbols): Update.
7235 * symtab.c (fixup_section): Update.
7236 (find_pc_sect_line): Update.
7237 (skip_prologue_sal): Update.
7238 (search_symbols): Update.
7239 (print_msymbol_info): Update.
7240 (rbreak_command): Update.
7241 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
7242 (completion_list_objc_symbol): Update.
7243 (default_make_symbol_completion_list_break_on): Update.
7244 * tracepoint.c (scope_info): Update.
7245 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
7246 (tui_get_begin_asm_address): Update.
7247 * valops.c (find_function_in_inferior): Update.
7248 * value.c (value_static_field): Update.
7249 (value_fn_field): Update.
7250
50e65b17
TT
72512014-02-26 Tom Tromey <tromey@redhat.com>
7252
7253 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
7254 bound minimal symbols. Move code that knows about minsym
7255 table layout...
7256 * minsyms.c (minimal_symbol_upper_bound): ... here. New
7257 function.
7258 * minsyms.h (minimal_symbol_upper_bound): Declare.
7259 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
7260 minimal_symbol_upper_bound.
7261
1b588015
JB
72622014-02-27 Joel Brobecker <brobecker@adacore.com>
7263
7264 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
7265 Use the type's name if its basic type does not have a tag.
7266
dbb9c2b1
JB
72672014-02-27 Joel Brobecker <brobecker@adacore.com>
7268
7269 * dwarf2read.c (read_subrange_type): Add comment.
7270
55426c9d
JB
72712014-02-27 Joel Brobecker <brobecker@adacore.com>
7272
7273 * dwarf2read.c (update_enumeration_type_from_children): New
7274 function, mostly extracted from process_structure_scope.
7275 (read_enumeration_type): Call update_enumeration_type_from_children.
7276 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
7277 and flag_flag_enum fields.
7278
f2fce0ca
PA
72792014-02-26 Pedro Alves <palves@redhat.com>
7280
7281 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
7282 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
7283 to_xfer_partial method.
7284
7a44e40e
PA
72852014-02-26 Pedro Alves <palves@redhat.com>
7286
7287 * target.c (complete_target_initialization): Don't install
7288 default_xfer_partial as to_xfer_partial hook.
7289 (nomemory): Delete.
7290 (update_current_target): Don't INHERIT nor de_fault
7291 deprecated_xfer_memory. Delete de_fault macro.
7292 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
7293 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
7294 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
7295 field.
7296
bd265cd0
PA
72972014-02-26 Pedro Alves <palves@redhat.com>
7298
7299 * go32-nat.c (my_write_child): New function.
7300 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
7301 (go32_xfer_partial): New function.
7302 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
7303 Instead install a to_xfer_partial hook.
7304
9d46c4e5
PA
73052014-02-26 Pedro Alves <palves@redhat.com>
7306
7307 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
7308 to_xfer_partial helper. Rewrite.
7309 (procfs_xfer_partial): New function.
7310 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
7311 Install a to_xfer_partial hook.
7312
a1583b1f
PA
73132014-02-26 Pedro Alves <palves@redhat.com>
7314
7315 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
7316 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
7317 (m32r_xfer_partial): New function.
7318 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
7319 Install a to_xfer_partial hook.
7320
6df1b29f
PA
73212014-02-26 Pedro Alves <palves@redhat.com>
7322
7323 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
7324 helper.
7325 (mips_xfer_partial): New function.
7326 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
7327 hook. Install a to_xfer_partial hook.
7328
dc53a7ad
JB
73292014-02-26 Joel Brobecker <brobecker@adacore.com>
7330
7331 * gdbtypes.h (create_array_type_with_stride): Add declaration.
7332 * gdbtypes.c (create_array_type_with_stride): New function,
7333 renaming create_array_type, but with an added parameter
7334 called "bit_stride".
7335 (create_array_type): Re-implement using
7336 create_array_type_with_stride.
7337 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
7338 and DW_AT_bit_stride attributes.
7339
12ab52e9
PA
73402014-02-26 Pedro Alves <palves@redhat.com>
7341
7342 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
7343 task-specific breakpoints.
7344
d16461ae
PA
73452014-02-25 Pedro Alves <palves@redhat.com>
7346
7347 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
7348 handling of object == TARGET_OBJECT_UNWIND_TABLE.
7349
a8b16220
SS
73502014-02-25 Stan Shebs <stan@codesourcery.com>
7351
7352 * defs.h: Annotate comments for Doxygen.
7353
b9e795ee
TT
73542014-02-25 Tom Tromey <tromey@redhat.com>
7355
7356 * target.h (target_ignore): Don't declare.
7357 * target.c (target_ignore): Remove.
7358
849c862e
JK
73592014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7360
7361 PR gdb/16626
7362 * auto-load.c (auto_load_objfile_script_1): Change filename to
7363 debugfile.
7364
475109d8
JB
73652014-02-25 Joel Brobecker <brobecker@adacore.com>
7366
7367 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
7368 documentation. Adjust prototype to match the target_ops
7369 to_xfer_partial method. Adjust implementation accordingly.
7370
e186c3bd
HZ
73712014-02-25 Hui Zhu <hui@codesourcery.com>
7372
7373 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
7374 to_traceframe_info.
7375
6d451942
KB
73762014-02-25 Kevin Buettner <kevinb@redhat.com>
7377
041ab8b4 7378 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
7379 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
7380 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
7381 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
7382 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
7383 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
7384 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
7385 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
7386 New constants.
7387 (rl78_register_type): Use a data pointer type for SP and
7388 new pseudo registers mentioned above. Use a 16 bit integer
7389 type for all other register pairs.
7390 (rl78_register_name, rl78_g10_register_name): Update for
7391 new pseudo registers.
7392 (rl78_pseudo_register_read): Likewise.
7393 (rl78_pseudo_register_write): Likewise.
7394 (rl78_dwarf_reg_to_regnum): Return register numbers representing
7395 to the newly added pseudo registers.
7396
eddf0bae
DE
73972014-02-24 Doug Evans <dje@google.com>
7398
7399 * value.c (record_latest_value): Fix comment.
7400 * printcmd.c (print_command_1): Remove code to handle -1 return from
7401 record_latest_value.
7402
e96027e0
PA
74032014-02-24 Pedro Alves <palves@redhat.com>
7404
7405 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
7406 deprecated_xfer_memory hook.
7407 (procfs_xfer_partial): Call procfs_xfer_memory instead
7408 of the deprecated_xfer_memory target hook.
7409 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
7410 helper.
7411
0837c976
YZ
74122014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
7413
7414 * windows-nat.c (windows_xfer_shared_libraries): Return
7415 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
7416 requested object is TARGET_OBJECT_LIBRARIES.
7417
bc113b4e
YQ
74182014-02-24 Yao Qi <yao@codesourcery.com>
7419
7420 * target.h (enum target_xfer_status)
7421 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
7422 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
7423 explicitly. New.
7424 * corefile.c (memory_error_message): User updated.
7425 * exec.c (section_table_read_available_memory): Likewise.
7426 * record-btrace.c (record_btrace_xfer_partial): Likewise.
7427 * target.c (target_xfer_status_to_string): Likewise.
7428 (raw_memory_xfer_partial): Likewise.
7429 (memory_xfer_partial_1, target_xfer_partial): Likewise.
7430 * valops.c (read_value_memory): Likewise.
7431 * exec.h: Update comments.
7432
01cb8804
YQ
74332014-02-24 Yao Qi <yao@codesourcery.com>
7434
7435 * target.c (target_xfer_status_to_string): Rename argument err
7436 to status.
7437 * target.h (target_xfer_status_to_string): Update declaration.
7438 Replace target_xfer_error_to_string with
7439 target_xfer_status_to_string in comment.
7440
93063aa6
YQ
74412014-02-24 Yao Qi <yao@codesourcery.com>
7442
7443 * mips-linux-nat.c (super_close): Update its type.
7444 (mips_linux_close): Pass 'self' to super_close.
7445
5c328c05
YQ
74462014-02-24 Yao Qi <yao@codesourcery.com>
7447
7448 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
7449 * corefile.c (read_memory): Adjusted.
7450 * target.c (target_write_with_progress): Adjusted.
7451
f73023dd
YQ
74522014-02-23 Yao Qi <yao@codesourcery.com>
7453
7454 Revert two patches:
7455
7456 2013-10-25 Yao Qi <yao@codesourcery.com>
7457
7458 * remote.c (remote_traceframe_info): Return early if
7459 traceframe is not selected.
7460
7461 2013-07-19 Yao Qi <yao@codesourcery.com>
7462
7463 * target.c (update_current_target): Change the default action
7464 of 'to_traceframe_info' from tcomplain to return_zero.
7465 * target.h (struct target_ops) <to_traceframe_info>: Add more
7466 comments.
7467
5a2eb0ef
YQ
74682014-02-23 Yao Qi <yao@codesourcery.com>
7469
7470 * valops.c (read_value_memory): Rewrite it. Call
7471 target_xfer_partial in a loop.
7472 * exec.h (section_table_available_memory): Remove declaration.
7473 Move comments to ...
7474 * exec.c (section_table_available_memory): ... here. Make it
7475 static.
7476
1ee79381
YQ
74772014-02-23 Yao Qi <yao@codesourcery.com>
7478
7479 * exec.c (section_table_read_available_memory): New function.
7480 * exec.h (section_table_read_available_memory): Declare.
7481 * ctf.c (ctf_xfer_partial): Call
7482 section_table_read_available_memory.
7483 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7484
1ca49d37
YQ
74852014-02-23 Yao Qi <yao@codesourcery.com>
7486
7487 * ctf.c (ctf_xfer_partial): Move code to ...
7488 * exec.c (exec_read_partial_read_only): ... it. New function.
7489 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
7490 * tracefile.c: Include "exec.h".
7491 * exec.h (exec_read_partial_read_only): Declare.
7492
a283690e
YQ
74932014-02-23 Yao Qi <yao@codesourcery.com>
7494
7495 * tracefile-tfile.c (tfile_has_all_memory): Remove.
7496 (tfile_has_memory): Remove.
7497 (init_tfile_ops): Don't set fields to_has_all_memory and
7498 to_has_memory of tfile_ops.
7499 * tracefile.c (tracefile_has_all_memory): New function.
7500 (tracefile_has_memory): New function.
7501 (init_tracefile_ops): Initialize fields to_has_all_memory and
7502 to_has_memory of 'ops'.
7503
12e03cd0
YQ
75042014-02-23 Yao Qi <yao@codesourcery.com>
7505
7506 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
7507 (ctf_thread_alive, ctf_get_trace_status): Remove.
7508 (init_ctf_ops): Don't set some fields of ctf_ops. Call
7509 init_tracefile_ops.
7510 * tracefile-tfile.c (tfile_get_trace_status): Remove.
7511 (tfile_has_stack, tfile_has_registers): Remove.
7512 (tfile_thread_alive): Remove.
7513 (init_tfile_ops): Don't set some fields of tfile_ops. Call
7514 init_tracefile_ops.
7515 * tracefile.c (tracefile_has_stack): New function.
7516 (tracefile_has_registers): New function.
7517 (tracefile_thread_alive): New function.
7518 (tracefile_get_trace_status): New function.
7519 (init_tracefile_ops): New function.
7520 * tracefile.h (init_tracefile_ops): Declare.
7521
11395323
YQ
75222014-02-23 Yao Qi <yao@codesourcery.com>
7523
7524 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
7525 (O_LARGEFILE): Likewise.
7526 (tfile_ops): Likewise.
7527 (TRACE_HEADER_SIZE): Likewise.
7528 (trace_fd, trace_frames_offset, cur_offset): Likewise.
7529 (cur_data_size): Likewise.
7530 (tfile_read, tfile_open, tfile_interp_line): Likewise.
7531 (tfile_close, tfile_files_info): Likewise.
7532 (tfile_get_trace_status): Likewise.
7533 (tfile_get_tracepoint_status): Likewise.
7534 (tfile_get_traceframe_address): Likewise.
7535 (tfile_trace_find, match_blocktype): Likewise.
7536 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
7537 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
7538 (tfile_get_trace_state_variable_value): Likewise.
7539 (tfile_has_all_memory, tfile_has_memory): Likewise.
7540 (tfile_has_stack, tfile_has_registers): Likewise.
7541 (tfile_thread_alive, build_traceframe_info): Likewise.
7542 (tfile_traceframe_info, init_tfile_ops): Likewise.
7543 (_initialize_tracepoint): Don't call init_tfile_ops
7544 and add_target_with_completer.
7545 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
7546 exec.h, completer.h and filenames.h.
7547 (_initialize_tracefile_tfile): New function.
7548
7951c4eb
YQ
75492014-02-23 Yao Qi <yao@codesourcery.com>
7550
7551 * Makefile.in (REMOTE_OBS): Append tracefile.o and
7552 tracefile-tfile.o.
7553 (HFILES_NO_SRCDIR): Add tracefile.h.
7554 * ctf.c: Include "tracefile.h".
7555 * tracefile.h: New file.
7556 * tracefile.c: New file
7557 * tracefile-tfile.c: New file.
7558 * tracepoint.c: Include "tracefile.h".
7559 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
7560 (stop_reason_names): Add const.
7561 (trace_file_writer_xfree): Move it to tracefile.c.
7562 (trace_save, trace_save_command, trace_save_tfile): Likewise.
7563 (trace_save_ctf): Likewise.
7564 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
7565 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
7566 (tfile_write_header, tfile_write_regblock_type): Likewise.
7567 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
7568 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
7569 (tfile_write_raw_data, tfile_end): Likewise.
7570 (tfile_trace_file_writer_new): Likewise.
7571 (free_uploaded_tp): Make it extern.
7572 (free_uploaded_tsv): Make it extern.
7573 (_initialize_tracepoint): Move code to register command 'tsave'
7574 to tracefile.c.
7575 * tracepoint.h (stop_reason_names): Declare.
7576 (struct trace_frame_write_ops): Move it to tracefile.h.
7577 (struct trace_file_write_ops): Likewise.
7578 (struct trace_file_writer): Likewise.
7579 (free_uploaded_tsvs, free_uploaded_tps): Declare.
7580
184cd072
JK
75812014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7582
7583 PR gdb/16594
7584 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
7585 process name.
7586 (get_cores_used_by_process): New parameter num_cores, use it.
7587 (linux_xfer_osdata_processes): Pass num_cores to it.
7588 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
7589 process name.
7590
c63528fc
AK
75912014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
7592
7593 * target.c (memory_xfer_partial): Fix length arg in call to
7594 breakpoint_xfer_memory.
7595
d7b30f67
SDJ
75962014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7597
7598 PR tdep/16397
7599 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
7600 number comes after the + or - signs. Adjust length of register
7601 name to be extracted.
7602
8838afaf
TT
76032014-02-20 Tom Tromey <tromey@redhat.com>
7604
7605 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
7606 (ada_varobj_ops): Mark "extern".
7607
05227d14
TT
76082014-02-20 Tom Tromey <tromey@redhat.com>
7609
7610 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
7611
1254eefc
DE
76122014-02-20 Doug Evans <xdje42@gmail.com>
7613
7614 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
7615 All callers updated.
7616 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
7617 All callers updated.
7618 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
7619 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
7620
adde2bff
DE
76212014-02-20 lin zuojian <manjian2006@gmail.com>
7622 Joel Brobecker <brobecker@adacore.com>
7623 Doug Evans <xdje42@gmail.com>
7624
7625 PR symtab/16581
7626 * dwarf2read.c (struct die_info): New member in_process.
7627 (reset_die_in_process): New function.
7628 (process_die): Set it at the start, reset when returning.
7629 (inherit_abstract_dies): Only call process_die if origin_child_die
7630 not already being processed.
7631
3be75f87
JB
76322014-02-20 Joel Brobecker <brobecker@adacore.com>
7633
7634 * windows-nat.c (handle_unload_dll): Add function documentation.
7635 (do_initial_windows_stuff): Add comment explaining why we wait
7636 until after inferior initialization has finished before
7637 processing all DLLs.
7638
47f7ffdb
JB
76392014-02-20 Joel Brobecker <brobecker@adacore.com>
7640
7641 * windows-nat.c (get_module_name): Delete.
7642 (windows_get_exec_module_filename): New function, mostly
7643 inspired from get_module_name.
7644 (windows_pid_to_exec_file): Replace call to get_module_name
7645 by call to windows_get_exec_module_filename.
7646
1cd9feab
JB
76472014-02-20 Joel Brobecker <brobecker@adacore.com>
7648
7649 * windows-nat.c (handle_load_dll): Rewrite this function's
7650 introductory comment. Remove code using get_module_name
7651 to get the DLL's name.
7652
ea39ad35
JB
76532014-02-20 Joel Brobecker <brobecker@adacore.com>
7654
7655 * windows-nat.c (get_windows_debug_event): Ignore
7656 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
7657 if windows_initialization_done == 0.
7658 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
7659 Adjust implementation to always load all DLLs.
7660 (do_initial_windows_stuff): Replace call to
7661 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
7662
95060284
JB
76632014-02-20 Joel Brobecker <brobecker@adacore.com>
7664
7665 * windows-nat.c (_initialize_windows_nat): Deprecate the
7666 "dll-symbols" command. Turn the "add-shared-symbol-files"
7667 and "assf" aliases into commands, and deprecate them as well.
7668 * NEWS: Add entry explaining that "dll-symbols" and its two
7669 aliases are now deprecated.
7670
8d4fdb12
JB
76712014-02-20 Joel Brobecker <brobecker@adacore.com>
7672
7673 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
7674 new-line in debug string. Remove trailing spaces.
7675
1b281443
SS
76762014-02-19 Stan Shebs <stan@codesourcery.com>
7677
7678 * darwin-nat.c (darwin_xfer_partial): Fix return type.
7679
f7bd0f78
SC
76802014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7681
7682 * NEWS: Add entry for the new feature
7683 * python/py-value.c (valpy_binop): Call value_x_binop for struct
7684 and class values.
7685
399ebc3d
SS
76862014-02-19 Stan Shebs <stan@codesourcery.com>
7687
7688 * MAINTAINERS: List Yao Qi as nios2 maintainer.
7689
c658158d
PA
76902014-02-19 Pedro Alves <palves@redhat.com>
7691
7692 * common/ptid.h (struct ptid): Mention that process_stratum
7693 targets should prefer ptid.lwp.
7694
ba348170
PA
76952014-02-19 Pedro Alves <palves@redhat.com>
7696
7697 * remote.c (remote_thread_alive, write_ptid, read_ptid)
7698 (read_ptid, remote_newthread_step, remote_threads_extra_info)
7699 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
7700 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
7701 store remote thread ids rather than ptid.tid.
7702 (_initialize_remote): Adjust.
7703
ac01945b
TT
77042014-02-19 Tom Tromey <tromey@redhat.com>
7705
7706 * target.c (target_get_unwinder): Rewrite.
7707 (target_get_tailcall_unwinder): Rewrite.
7708 * record-btrace.c (record_btrace_to_get_unwinder): New function.
7709 (record_btrace_to_get_tailcall_unwinder): New function.
7710 (init_record_btrace_ops): Update.
7711 * target.h (struct target_ops) <to_get_unwinder,
7712 to_get_tailcall_unwinder>: Now function pointers. Use
7713 TARGET_DEFAULT_RETURN.
7714
8476dc92
TT
77152014-02-19 Tom Tromey <tromey@redhat.com>
7716
7717 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
7718 argument.
7719 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
7720
c0eca49f
TT
77212014-02-19 Tom Tromey <tromey@redhat.com>
7722
7723 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
7724 directly.
7725 * target-delegates.c: Rebuild.
7726 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
7727 TARGET_DEFAULT_FUNC.
7728 * target.c (default_target_decr_pc_after_break): Rename from
7729 forward_target_decr_pc_after_break. Simplify.
7730 (target_decr_pc_after_break): Rely on delegation.
7731
596b6b39
TT
77322014-02-19 Tom Tromey <tromey@redhat.com>
7733
7734 * target.c (update_current_target): Do not INHERIT to_doc or
7735 to_magic. Do not de_fault to_open or to_close.
7736
b427c1bc
TT
77372014-02-19 Tom Tromey <tromey@redhat.com>
7738
7739 * gcore.h (objfile_find_memory_regions): Declare.
7740 * gcore.c (objfile_find_memory_regions): No longer static. Add
7741 "self" argument.
7742 (_initialize_gcore): Don't call exec_set_find_memory_regions.
7743 * exec.c: Include gcore.h.
7744 (exec_set_find_memory_regions): Remove.
7745 (exec_find_memory_regions): Remove.
7746 (exec_do_find_memory_regions): Remove.
7747 (init_exec_ops): Update.
7748 * defs.h (exec_set_find_memory_regions): Remove.
7749
9b144037
TT
77502014-02-19 Tom Tromey <tromey@redhat.com>
7751
7752 * target-delegates.c: Rebuild.
7753 * target.h (struct target_ops) <to_extra_thread_info,
7754 to_thread_name, to_pid_to_exec_file, to_get_section_table,
7755 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
7756 not 0, in TARGET_DEFAULT_RETURN.
7757
555bbdeb
TT
77582014-02-19 Tom Tromey <tromey@redhat.com>
7759
7760 * target.c (complete_target_initialization): Remove casts. Use
7761 return_zero_has_execution.
7762 (return_zero): Add "ignore" argument.
7763 (return_zero_has_execution): New function.
7764 (init_dummy_target): Remove casts. Use
7765 return_zero_has_execution.
7766
be4ddd36
TT
77672014-02-19 Tom Tromey <tromey@redhat.com>
7768
7769 * target.c (update_current_target): Update comments. Do not
7770 INHERIT to_stratum.
7771
2117c711
TT
77722014-02-19 Tom Tromey <tromey@redhat.com>
7773
7774 * arm-linux-nat.c (arm_linux_read_description): Delegate when
7775 needed.
7776 * corelow.c (core_read_description): Delegate when needed.
7777 * remote.c (remote_read_description): Delegate when needed.
7778 * target-delegates.c: Rebuild.
7779 * target.c (target_read_description): Rewrite.
7780 * target.h (struct target_ops) <to_read_description>: Update
7781 comment. Use TARGET_DEFAULT_RETURN.
7782
e88ef65c
TT
77832014-02-19 Tom Tromey <tromey@redhat.com>
7784
7785 * target-delegates.c: Rebuild.
7786 * target.c (update_current_target): Don't inherit or default
7787 to_can_run.
7788 (find_default_run_target): Check against delegate_can_run.
7789 * target.h (struct target_ops) <to_can_run>: Use
7790 TARGET_DEFAULT_RETURN.
7791
86a0854a
TT
77922014-02-19 Tom Tromey <tromey@redhat.com>
7793
7794 * target-delegates.c: Rebuild.
7795 * target.c (target_disconnect): Unconditionally delegate.
7796 * target.h (struct target_ops) <to_disconnect>: Use
7797 TARGET_DEFAULT_NORETURN.
7798
ee97f592
TT
77992014-02-19 Tom Tromey <tromey@redhat.com>
7800
7801 * record.c (record_stop): Unconditionally delegate.
7802 * target-delegates.c: Rebuild.
7803 * target.c (target_stop_recording): Unconditionally delegate.
7804 * target.h (struct target_ops) <to_stop_recording>: Use
7805 TARGET_DEFAULT_IGNORE.
7806
6dc7fcf4
TT
78072014-02-19 Tom Tromey <tromey@redhat.com>
7808
7809 * target-delegates.c: Rebuild.
7810 * target.c (target_enable_btrace): Unconditionally delegate.
7811 * target.h (struct target_ops) <to_enable_btrace>: Use
7812 TARGET_DEFAULT_NORETURN.
7813
eb5b20d4
TT
78142014-02-19 Tom Tromey <tromey@redhat.com>
7815
7816 * target-delegates.c: Rebuild.
7817 * target.c (target_read_btrace): Unconditionally delegate.
7818 * target.h (struct target_ops) <to_read_btrace>: Use
7819 TARGET_DEFAULT_NORETURN.
7820
9ace480d
TT
78212014-02-19 Tom Tromey <tromey@redhat.com>
7822
7823 * target-delegates.c: Rebuild.
7824 * target.c (target_teardown_btrace): Unconditionally delegate.
7825 * target.h (struct target_ops) <to_teardown_btrace>: Use
7826 TARGET_DEFAULT_NORETURN.
7827
8dc292d3
TT
78282014-02-19 Tom Tromey <tromey@redhat.com>
7829
7830 * target-delegates.c: Rebuild.
7831 * target.c (target_disable_btrace): Unconditionally delegate.
7832 * target.h (struct target_ops) <to_disable_btrace>: Use
7833 TARGET_DEFAULT_NORETURN.
7834
58a5184e
TT
78352014-02-19 Tom Tromey <tromey@redhat.com>
7836
7837 * target-delegates.c: Rebuild.
7838 * target.c (default_search_memory): New function.
7839 (simple_search_memory): Update comment.
7840 (target_search_memory): Unconditionally delegate.
7841 * target.h (struct target_ops) <to_search_memory>: Use
7842 TARGET_DEFAULT_FUNC.
7843
8de71aab
TT
78442014-02-19 Tom Tromey <tromey@redhat.com>
7845
7846 * auxv.c (default_auxv_parse): No longer static.
7847 (target_auxv_parse): Unconditionally delegate.
7848 * auxv.h (default_auxv_parse): Declare.
7849 * target-delegates.c: Rebuild.
7850 * target.c: Include auxv.h.
7851 * target.h (struct target_ops) <to_auxv_parse>: Use
7852 TARGET_DEFAULT_FUNC.
7853
6b2c5a57
TT
78542014-02-19 Tom Tromey <tromey@redhat.com>
7855
7856 * target-delegates.c: Rebuild.
7857 * target.c (target_memory_map): Unconditionally delegate.
7858 * target.h (struct target_ops) <to_memory_map>: Use
7859 TARGET_DEFAULT_RETURN.
7860
cbffc065
TT
78612014-02-19 Tom Tromey <tromey@redhat.com>
7862
7863 * target-delegates.c: Rebuild.
7864 * target.c (target_thread_alive): Unconditionally delegate.
7865 * target.h (struct target_ops) <to_thread_alive>: Use
7866 TARGET_DEFAULT_RETURN.
7867
f09e2107
TT
78682014-02-19 Tom Tromey <tromey@redhat.com>
7869
7870 * target-delegates.c: Rebuild.
7871 * target.c (target_save_record): Unconditionally delegate.
7872 * target.h (struct target_ops) <to_save_record>: Use
7873 TARGET_DEFAULT_NORETURN.
7874
07366925
TT
78752014-02-19 Tom Tromey <tromey@redhat.com>
7876
7877 * target-delegates.c: Rebuild.
7878 * target.c (target_delete_record): Unconditionally delegate.
7879 * target.h (struct target_ops) <to_delete_record>: Use
7880 TARGET_DEFAULT_NORETURN.
7881
dd2e9d25
TT
78822014-02-19 Tom Tromey <tromey@redhat.com>
7883
7884 * target-delegates.c: Rebuild.
7885 * target.c (target_record_is_replaying): Unconditionally
7886 delegate.
7887 * target.h (struct target_ops) <to_record_is_replaying>: Use
7888 TARGET_DEFAULT_RETURN.
7889
671e76cc
TT
78902014-02-19 Tom Tromey <tromey@redhat.com>
7891
7892 * target-delegates.c: Rebuild.
7893 * target.c (target_goto_record_begin): Unconditionally delegate.
7894 * target.h (struct target_ops) <to_goto_record_begin>: Use
7895 TARGET_DEFAULT_NORETURN.
7896
e9179bb3
TT
78972014-02-19 Tom Tromey <tromey@redhat.com>
7898
7899 * target-delegates.c: Rebuild.
7900 * target.c (target_goto_record_end): Unconditionally delegate.
7901 * target.h (struct target_ops) <to_goto_record_end>: Use
7902 TARGET_DEFAULT_NORETURN.
7903
05969c84
TT
79042014-02-19 Tom Tromey <tromey@redhat.com>
7905
7906 * target-delegates.c: Rebuild.
7907 * target.c (target_goto_record): Unconditionally delegate.
7908 * target.h (struct target_ops) <to_goto_record>: Use
7909 TARGET_DEFAULT_NORETURN.
7910
3679abfa
TT
79112014-02-19 Tom Tromey <tromey@redhat.com>
7912
7913 * target-delegates.c: Rebuild.
7914 * target.c (target_insn_history): Unconditionally delegate.
7915 * target.h (struct target_ops) <to_insn_history>: Use
7916 TARGET_DEFAULT_NORETURN.
7917
8444ab58
TT
79182014-02-19 Tom Tromey <tromey@redhat.com>
7919
7920 * target-delegates.c: Rebuild.
7921 * target.c (target_insn_history_from): Unconditionally delegate.
7922 * target.h (struct target_ops) <to_insn_history_from>: Use
7923 TARGET_DEFAULT_NORETURN.
7924
c29302cc
TT
79252014-02-19 Tom Tromey <tromey@redhat.com>
7926
7927 * target-delegates.c: Rebuild.
7928 * target.c (target_insn_history_range): Unconditionally delegate.
7929 * target.h (struct target_ops) <to_insn_history_range>: Use
7930 TARGET_DEFAULT_NORETURN.
7931
170049d4
TT
79322014-02-19 Tom Tromey <tromey@redhat.com>
7933
7934 * target-delegates.c: Rebuild.
7935 * target.c (target_call_history): Unconditionally delegate.
7936 * target.h (struct target_ops) <to_call_history>: Use
7937 TARGET_DEFAULT_NORETURN.
7938
16fc27d6
TT
79392014-02-19 Tom Tromey <tromey@redhat.com>
7940
7941 * target-delegates.c: Rebuild.
7942 * target.c (target_call_history_from): Unconditionally delegate.
7943 * target.h (struct target_ops) <to_call_history_from>: Use
7944 TARGET_DEFAULT_NORETURN.
7945
115d9817
TT
79462014-02-19 Tom Tromey <tromey@redhat.com>
7947
7948 * target-delegates.c: Rebuild.
7949 * target.c (target_call_history_range): Unconditionally delegate.
7950 * target.h (struct target_ops) <to_call_history_range>: Use
7951 TARGET_DEFAULT_NORETURN.
7952
eb276a6b
TT
79532014-02-19 Tom Tromey <tromey@redhat.com>
7954
7955 * target-delegates.c: Rebuild.
7956 * target.c (target_verify_memory): Unconditionally delegate.
7957 * target.h (struct target_ops) <to_verify_memory>: Use
7958 TARGET_DEFAULT_NORETURN.
7959
9e538d0d
TT
79602014-02-19 Tom Tromey <tromey@redhat.com>
7961
7962 * target-delegates.c: Rebuild.
7963 * target.c (target_core_of_thread): Unconditionally delegate.
7964 * target.h (struct target_ops) <to_core_of_thread>: Use
7965 TARGET_DEFAULT_RETURN.
7966
f6fb2925
TT
79672014-02-19 Tom Tromey <tromey@redhat.com>
7968
7969 * target-delegates.c: Rebuild.
7970 * target.c (target_flash_done): Unconditionally delegate.
7971 * target.h (struct target_ops) <to_flash_done>: Use
7972 TARGET_DEFAULT_NORETURN.
7973
e8a6c6ac
TT
79742014-02-19 Tom Tromey <tromey@redhat.com>
7975
7976 * target-delegates.c: Rebuild.
7977 * target.c (target_flash_erase): Unconditionally delegate.
7978 * target.h (struct target_ops) <to_flash_erase>: Use
7979 TARGET_DEFAULT_NORETURN.
7980
7e35c012
TT
79812014-02-19 Tom Tromey <tromey@redhat.com>
7982
7983 * target-delegates.c: Rebuild.
7984 * target.c (target_get_section_table): Unconditionally delegate.
7985 * target.h (struct target_ops) <to_get_section_table>: Use
7986 TARGET_DEFAULT_RETURN.
7987
770234d3
TT
79882014-02-19 Tom Tromey <tromey@redhat.com>
7989
7990 * target-delegates.c: Rebuild.
7991 * target.c (target_pid_to_str): Unconditionally delegate.
7992 (init_dummy_target): Don't initialize to_pid_to_str.
7993 (default_pid_to_str): Rename from dummy_pid_to_str.
7994 * target.h (struct target_ops) <to_pid_to_str>: Use
7995 TARGET_DEFAULT_FUNC.
7996
09b0dc2b
TT
79972014-02-19 Tom Tromey <tromey@redhat.com>
7998
7999 * target-delegates.c: Rebuild.
8000 * target.c (target_find_new_threads): Unconditionally delegate.
8001 * target.h (struct target_ops) <to_find_new_threads>: Use
8002 TARGET_DEFAULT_RETURN.
8003
7d4f8efa
TT
80042014-02-19 Tom Tromey <tromey@redhat.com>
8005
8006 * target-delegates.c: Rebuild.
8007 * target.c (target_program_signals): Unconditionally delegate.
8008 * target.h (struct target_ops) <to_program_signals>: Use
8009 TARGET_DEFAULT_IGNORE.
8010
035cad7f
TT
80112014-02-19 Tom Tromey <tromey@redhat.com>
8012
8013 * target-delegates.c: Rebuild.
8014 * target.c (target_pass_signals): Unconditionally delegate.
8015 * target.h (struct target_ops) <to_pass_signals>: Use
8016 TARGET_DEFAULT_IGNORE.
8017
8d657035
TT
80182014-02-19 Tom Tromey <tromey@redhat.com>
8019
8020 * target-delegates.c: Rebuild.
8021 * target.c (default_mourn_inferior): New function.
8022 (target_mourn_inferior): Unconditionally delegate.
8023 * target.h (struct target_ops) <to_mourn_inferior>: Use
8024 TARGET_DEFAULT_FUNC.
8025
098dba18
TT
80262014-02-19 Tom Tromey <tromey@redhat.com>
8027
8028 * target-delegates.c: Rebuild.
8029 * target.c (default_follow_fork): New function.
8030 (target_follow_fork): Unconditionally delegate.
8031 * target.h (struct target_ops) <to_follow_fork>: Use
8032 TARGET_DEFAULT_FUNC.
8033
423a4807
TT
80342014-02-19 Tom Tromey <tromey@redhat.com>
8035
8036 * target-delegates.c: Rebuild.
8037 * target.c (target_kill): Unconditionally delegate.
8038 * target.h (struct target_ops) <to_kill>: Use
8039 TARGET_DEFAULT_NORETURN.
8040
6c7e5e5c
TT
80412014-02-19 Tom Tromey <tromey@redhat.com>
8042
8043 * target-delegates.c: Rebuild.
8044 * target.c (target_masked_watch_num_registers): Unconditionally
8045 delegate.
8046 * target.h (struct target_ops) <to_masked_watch_num_registers>:
8047 Use TARGET_DEFAULT_RETURN.
8048
8b1c364c
TT
80492014-02-19 Tom Tromey <tromey@redhat.com>
8050
8051 * target-delegates.c: Rebuild.
8052 * target.c (target_remove_mask_watchpoint): Unconditionally
8053 delegate.
8054 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
8055 TARGET_DEFAULT_RETURN.
8056
cd4ae029
TT
80572014-02-19 Tom Tromey <tromey@redhat.com>
8058
8059 * target-delegates.c: Rebuild.
8060 * target.c (target_insert_mask_watchpoint): Unconditionally
8061 delegate.
8062 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
8063 TARGET_DEFAULT_RETURN.
8064
a134316b
TT
80652014-02-19 Tom Tromey <tromey@redhat.com>
8066
8067 * target-delegates.c: Rebuild.
8068 * target.c (target_ranged_break_num_registers): Unconditionally
8069 delegate.
8070 * target.h (struct target_ops) <to_ranged_break_num_registers>:
8071 Use TARGET_DEFAULT_RETURN.
8072
ad5989bd
TT
80732014-02-19 Tom Tromey <tromey@redhat.com>
8074
8075 * target-delegates.c: Rebuild.
8076 * target.c (target_fetch_registers): Unconditionally delegate.
8077 * target.h (struct target_ops) <to_fetch_registers>: Use
8078 TARGET_DEFAULT_NORETURN.
8079
46ee7e8d
TT
80802014-02-19 Tom Tromey <tromey@redhat.com>
8081
8082 * target-delegates.c: Rebuild.
8083 * target.c (update_current_target): Don't inherit or default
8084 to_stop.
8085 * target.h (struct target_ops) <to_stop>: Use
8086 TARGET_DEFAULT_IGNORE.
8087
843f59ed
TT
80882014-02-19 Tom Tromey <tromey@redhat.com>
8089
8090 * target-delegates.c: Rebuild.
8091 * target.c (update_current_target): Don't inherit or default
8092 to_can_run_breakpoint_commands.
8093 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
8094 Use TARGET_DEFAULT_RETURN.
8095
ccfde2a0
TT
80962014-02-19 Tom Tromey <tromey@redhat.com>
8097
8098 * target-delegates.c: Rebuild.
8099 * target.c (update_current_target): Don't inherit or default
8100 to_supports_evaluation_of_breakpoint_conditions.
8101 * target.h (struct target_ops)
8102 <to_supports_evaluation_of_breakpoint_conditions>: Use
8103 TARGET_DEFAULT_RETURN.
8104
0de91722
TT
81052014-02-19 Tom Tromey <tromey@redhat.com>
8106
8107 * target-delegates.c: Rebuild.
8108 * target.c (update_current_target): Don't inherit or default
8109 to_augmented_libraries_svr4_read.
8110 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8111 Use TARGET_DEFAULT_RETURN.
8112
9a7d8b48
TT
81132014-02-19 Tom Tromey <tromey@redhat.com>
8114
8115 * target-delegates.c: Rebuild.
8116 * target.c (update_current_target): Don't inherit or default
8117 to_can_use_agent.
8118 * target.h (struct target_ops) <to_can_use_agent>: Use
8119 TARGET_DEFAULT_RETURN.
8120
d9db5b21
TT
81212014-02-19 Tom Tromey <tromey@redhat.com>
8122
8123 * target-delegates.c: Rebuild.
8124 * target.c (update_current_target): Don't inherit or default
8125 to_use_agent.
8126 * target.h (struct target_ops) <to_use_agent>: Use
8127 TARGET_DEFAULT_NORETURN.
8128
92155eeb
TT
81292014-02-19 Tom Tromey <tromey@redhat.com>
8130
8131 * target-delegates.c: Rebuild.
8132 * target.c (update_current_target): Don't inherit or default
8133 to_traceframe_info.
8134 (return_null): Remove.
8135 * target.h (struct target_ops) <to_traceframe_info>: Use
8136 TARGET_DEFAULT_RETURN.
8137
d6522a22
TT
81382014-02-19 Tom Tromey <tromey@redhat.com>
8139
8140 * target-delegates.c: Rebuild.
8141 * target.c (update_current_target): Don't inherit or default
8142 to_static_tracepoint_markers_by_strid.
8143 * target.h (struct target_ops)
8144 <to_static_tracepoint_markers_by_strid>: Use
8145 TARGET_DEFAULT_NORETURN.
8146
4c3e4425
TT
81472014-02-19 Tom Tromey <tromey@redhat.com>
8148
8149 * target-delegates.c: Rebuild.
8150 * target.c (update_current_target): Don't inherit or default
8151 to_static_tracepoint_marker_at.
8152 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8153 Use TARGET_DEFAULT_RETURN.
8154
dcd6917f
TT
81552014-02-19 Tom Tromey <tromey@redhat.com>
8156
8157 * target-delegates.c: Rebuild.
8158 * target.c (update_current_target): Don't inherit or default
8159 to_set_permissions.
8160 * target.h (struct target_ops) <to_set_permissions>: Use
8161 TARGET_DEFAULT_IGNORE.
8162
22bcceee
TT
81632014-02-19 Tom Tromey <tromey@redhat.com>
8164
8165 * target-delegates.c: Rebuild.
8166 * target.c (update_current_target): Don't inherit or default
8167 to_get_tib_address.
8168 * target.h (struct target_ops) <to_get_tib_address>: Use
8169 TARGET_DEFAULT_NORETURN.
8170
8586ccaa
TT
81712014-02-19 Tom Tromey <tromey@redhat.com>
8172
8173 * target-delegates.c: Rebuild.
8174 * target.c (update_current_target): Don't inherit or default
8175 to_set_trace_notes.
8176 * target.h (struct target_ops) <to_set_trace_notes>: Use
8177 TARGET_DEFAULT_RETURN.
8178
91df8d1d
TT
81792014-02-19 Tom Tromey <tromey@redhat.com>
8180
8181 * target-delegates.c: Rebuild.
8182 * target.c (update_current_target): Don't initialize
8183 to_set_trace_buffer_size.
8184 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
8185 TARGET_DEFAULT_IGNORE.
8186
8d526939
TT
81872014-02-19 Tom Tromey <tromey@redhat.com>
8188
8189 * target-delegates.c: Rebuild.
8190 * target.c (update_current_target): Don't inherit or default
8191 to_set_circular_trace_buffer.
8192 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
8193 TARGET_DEFAULT_IGNORE.
8194
0bcfeddf
TT
81952014-02-19 Tom Tromey <tromey@redhat.com>
8196
8197 * target-delegates.c: Rebuild.
8198 * target.c (update_current_target): Don't inherit or default
8199 to_set_disconnected_tracing.
8200 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
8201 TARGET_DEFAULT_IGNORE.
8202
9249843f
TT
82032014-02-19 Tom Tromey <tromey@redhat.com>
8204
8205 * target-delegates.c: Rebuild.
8206 * target.c (update_current_target): Don't inherit or default
8207 to_get_min_fast_tracepoint_insn_len.
8208 (return_minus_one): Remove.
8209 * target.h (struct target_ops)
8210 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
8211
ace92e7d
TT
82122014-02-19 Tom Tromey <tromey@redhat.com>
8213
8214 * target-delegates.c: Rebuild.
8215 * target.c (update_current_target): Don't inherit or default
8216 to_get_raw_trace_data.
8217 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
8218 TARGET_DEFAULT_NORETURN.
8219
08120467
TT
82202014-02-19 Tom Tromey <tromey@redhat.com>
8221
8222 * target-delegates.c: Rebuild.
8223 * target.c (update_current_target): Don't inherit or default
8224 to_upload_trace_state_variables.
8225 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8226 Use TARGET_DEFAULT_RETURN.
8227
1e949b00
TT
82282014-02-19 Tom Tromey <tromey@redhat.com>
8229
8230 * target-delegates.c: Rebuild.
8231 * target.c (update_current_target): Don't inherit or default
8232 to_upload_tracepoints.
8233 * target.h (struct target_ops) <to_upload_tracepoints>: Use
8234 TARGET_DEFAULT_RETURN.
8235
a2e6c147
TT
82362014-02-19 Tom Tromey <tromey@redhat.com>
8237
8238 * target-delegates.c: Rebuild.
8239 * target.c (update_current_target): Don't inherit or default
8240 to_save_trace_data.
8241 * target.h (struct target_ops) <to_save_trace_data>: Use
8242 TARGET_DEFAULT_NORETURN.
8243
959bcd0b
TT
82442014-02-19 Tom Tromey <tromey@redhat.com>
8245
8246 * target-delegates.c: Rebuild.
8247 * target.c (update_current_target): Don't inherit or default
8248 to_get_trace_state_variable_value.
8249 * target.h (struct target_ops)
8250 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
8251
afc94e66
TT
82522014-02-19 Tom Tromey <tromey@redhat.com>
8253
8254 * target-delegates.c: Rebuild.
8255 * target.c (update_current_target): Don't inherit or default
8256 to_trace_find.
8257 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
8258
e51c07ea
TT
82592014-02-19 Tom Tromey <tromey@redhat.com>
8260
8261 * target-delegates.c: Rebuild.
8262 * target.c (update_current_target): Don't inherit or default
8263 to_trace_stop.
8264 * target.h (struct target_ops) <to_trace_stop>: Use
8265 TARGET_DEFAULT_NORETURN.
8266
6fea14cd
TT
82672014-02-19 Tom Tromey <tromey@redhat.com>
8268
8269 * target-delegates.c: Rebuild.
8270 * target.c (update_current_target): Don't inherit or default
8271 to_get_tracepoint_status.
8272 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
8273 TARGET_DEFAULT_NORETURN.
8274
4072d4ff
TT
82752014-02-19 Tom Tromey <tromey@redhat.com>
8276
8277 * target-delegates.c: Rebuild.
8278 * target.c (update_current_target): Don't inherit or default
8279 to_get_trace_status.
8280 * target.h (struct target_ops) <to_get_trace_status>: Use
8281 TARGET_DEFAULT_RETURN.
8282
25da2e80
TT
82832014-02-19 Tom Tromey <tromey@redhat.com>
8284
8285 * target-delegates.c: Rebuild.
8286 * target.c (update_current_target): Don't inherit or default
8287 to_trace_start.
8288 * target.h (struct target_ops) <to_trace_start>: Use
8289 TARGET_DEFAULT_NORETURN.
8290
86dd181d
TT
82912014-02-19 Tom Tromey <tromey@redhat.com>
8292
8293 * target-delegates.c: Rebuild.
8294 * target.c (update_current_target): Don't inherit or default
8295 to_trace_set_readonly_regions.
8296 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
8297 Use TARGET_DEFAULT_NORETURN.
8298
05c41993
TT
82992014-02-19 Tom Tromey <tromey@redhat.com>
8300
8301 * target-delegates.c: Rebuild.
8302 * target.c (update_current_target): Don't inherit or default
8303 to_disable_tracepoint.
8304 * target.h (struct target_ops) <to_disable_tracepoint>: Use
8305 TARGET_DEFAULT_NORETURN.
8306
151f70f1
TT
83072014-02-19 Tom Tromey <tromey@redhat.com>
8308
8309 * target-delegates.c: Rebuild.
8310 * target.c (update_current_target): Don't inherit or default
8311 to_enable_tracepoint.
8312 * target.h (struct target_ops) <to_enable_tracepoint>: Use
8313 TARGET_DEFAULT_NORETURN.
8314
94eb98b9
TT
83152014-02-19 Tom Tromey <tromey@redhat.com>
8316
8317 * target-delegates.c: Rebuild.
8318 * target.c (update_current_target): Don't inherit or default
8319 to_download_trace_state_variable.
8320 * target.h (struct target_ops) <to_download_trace_state_variable>:
8321 Use TARGET_DEFAULT_NORETURN.
8322
719acc4a
TT
83232014-02-19 Tom Tromey <tromey@redhat.com>
8324
8325 * target-delegates.c: Rebuild.
8326 * target.c (update_current_target): Don't inherit or default
8327 to_can_download_tracepoint.
8328 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
8329 TARGET_DEFAULT_RETURN.
8330
9a980a22
TT
83312014-02-19 Tom Tromey <tromey@redhat.com>
8332
8333 * target-delegates.c: Rebuild.
8334 * target.c (update_current_target): Don't inherit or default
8335 to_download_tracepoint.
8336 * target.h (struct target_ops) <to_download_tracepoint>: Use
8337 TARGET_DEFAULT_NORETURN.
8338
5536135b
TT
83392014-02-19 Tom Tromey <tromey@redhat.com>
8340
8341 * target-delegates.c: Rebuild.
8342 * target.c (update_current_target): Don't inherit or default
8343 to_trace_init.
8344 * target.h (struct target_ops) <to_trace_init>: Use
8345 TARGET_DEFAULT_RETURN.
8346
9409d39e
TT
83472014-02-19 Tom Tromey <tromey@redhat.com>
8348
8349 * target-delegates.c: Rebuild.
8350 * target.c (update_current_target): Don't inherit or default
8351 to_supports_string_tracing.
8352 * target.h (struct target_ops) <to_supports_string_tracing>: Use
8353 TARGET_DEFAULT_RETURN.
8354
aab1b22d
TT
83552014-02-19 Tom Tromey <tromey@redhat.com>
8356
8357 * target-delegates.c: Rebuild.
8358 * target.c (update_current_target): Don't inherit or default
8359 to_supports_enable_disable_tracepoint.
8360 * target.h (struct target_ops)
8361 <to_supports_enable_disable_tracepoint>: Use
8362 TARGET_DEFAULT_RETURN.
8363
a7304748
TT
83642014-02-19 Tom Tromey <tromey@redhat.com>
8365
8366 * target-delegates.c: Rebuild.
8367 * target.c (update_current_target): Don't inherit or default
8368 to_supports_multi_process.
8369 * target.h (struct target_ops) <to_supports_multi_process>: Use
8370 TARGET_DEFAULT_RETURN.
8371
4229b31d
TT
83722014-02-19 Tom Tromey <tromey@redhat.com>
8373
8374 * target-delegates.c: Rebuild.
8375 * target.c (update_current_target): Don't inherit or default
8376 to_get_ada_task_ptid.
8377 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
8378 TARGET_DEFAULT_FUNC.
8379
43eba180
TT
83802014-02-19 Tom Tromey <tromey@redhat.com>
8381
8382 * target-delegates.c: Rebuild.
8383 * target.c (update_current_target): Don't inherit or default
8384 to_thread_architecture.
8385 * target.h (struct target_ops) <to_thread_architecture>: Use
8386 TARGET_DEFAULT_FUNC.
8387
fe31bf5b
TT
83882014-02-19 Tom Tromey <tromey@redhat.com>
8389
8390 * target-delegates.c: Rebuild.
8391 * target.c (update_current_target): Don't inherit or default
8392 to_execution_direction.
8393 * target.h (struct target_ops) <to_execution_direction>: Use
8394 TARGET_DEFAULT_FUNC.
8395
53e1cfc7
TT
83962014-02-19 Tom Tromey <tromey@redhat.com>
8397
8398 * target-delegates.c: Rebuild.
8399 * target.c (update_current_target): Don't inherit or default
8400 to_can_execute_reverse.
8401 * target.h (struct target_ops) <to_can_execute_reverse>: Use
8402 TARGET_DEFAULT_RETURN.
8403 (target_can_execute_reverse): Unconditionally delegate.
8404
9bb9d61d
TT
84052014-02-19 Tom Tromey <tromey@redhat.com>
8406
8407 * target-delegates.c: Rebuild.
8408 * target.c (update_current_target): Don't inherit or default
8409 to_goto_bookmark.
8410 (dummy_goto_bookmark): Remove.
8411 (init_dummy_target): Don't inherit or default to_goto_bookmark.
8412 * target.h (struct target_ops) <to_goto_bookmark>: Use
8413 TARGET_DEFAULT_NORETURN.
8414
3dbafbbb
TT
84152014-02-19 Tom Tromey <tromey@redhat.com>
8416
8417 * target-delegates.c: Rebuild.
8418 * target.c (update_current_target): Don't inherit or default
8419 to_get_bookmark.
8420 (dummy_get_bookmark): Remove.
8421 (init_dummy_target): Don't inherit or default to_get_bookmark.
8422 * target.h (struct target_ops) <to_get_bookmark>: Use
8423 TARGET_DEFAULT_NORETURN
8424
16f796b1
TT
84252014-02-19 Tom Tromey <tromey@redhat.com>
8426
8427 * target-delegates.c: Rebuild.
8428 * target.c (update_current_target): Don't inherit or default
8429 to_make_corefile_notes.
8430 (init_dummy_target): Don't initialize to_make_corefile_notes.
8431 * target.h (struct target_ops) <to_make_corefile_notes>: Use
8432 TARGET_DEFAULT_FUNC.
8433
0b5a2719
TT
84342014-02-19 Tom Tromey <tromey@redhat.com>
8435
8436 * target-delegates.c: Rebuild.
8437 * target.c (update_current_target): Don't inherit or default
8438 to_find_memory_regions.
8439 (init_dummy_target): Don't initialize to_find_memory_regions.
8440 * target.h (struct target_ops) <to_find_memory_regions>: Use
8441 TARGET_DEFAULT_FUNC.
8442
d9cb0195
TT
84432014-02-19 Tom Tromey <tromey@redhat.com>
8444
8445 * target-delegates.c: Rebuild.
8446 * target.c (update_current_target): Don't inherit or default
8447 to_log_command.
8448 * target.h (struct target_ops) <to_log_command>: Use
8449 TARGET_DEFAULT_IGNORE.
8450 (target_log_command): Unconditionally delegate.
8451
830ca330
TT
84522014-02-19 Tom Tromey <tromey@redhat.com>
8453
8454 * target-delegates.c: Rebuild.
8455 * target.c (update_current_target): Don't inherit or default
8456 to_pid_to_exec_file.
8457 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
8458 TARGET_DEFAULT_RETURN.
8459
825828fc
TT
84602014-02-19 Tom Tromey <tromey@redhat.com>
8461
8462 * target-delegates.c: Rebuild.
8463 * target.c (update_current_target): Don't inherit or default
8464 to_thread_name.
8465 (target_thread_name): Unconditionally delegate.
8466 * target.h (struct target_ops) <to_thread_name>: Use
8467 TARGET_DEFAULT_RETURN.
8468
4a7e6dda
TT
84692014-02-19 Tom Tromey <tromey@redhat.com>
8470
8471 * target-delegates.c: Rebuild.
8472 * target.c (update_current_target): Don't inherit or default
8473 to_extra_thread_info.
8474 * target.h (struct target_ops) <to_extra_thread_info>: Use
8475 TARGET_DEFAULT_RETURN.
8476
0db88c1d
TT
84772014-02-19 Tom Tromey <tromey@redhat.com>
8478
8479 * target-delegates.c: Rebuild.
8480 * target.c (update_current_target): Don't inherit or default
8481 to_has_exited.
8482 * target.h (struct target_ops) <to_has_exited>: Use
8483 TARGET_DEFAULT_RETURN..
8484
6a9fa051
TT
84852014-02-19 Tom Tromey <tromey@redhat.com>
8486
8487 * target-delegates.c: Rebuild.
8488 * target.c (update_current_target): Don't inherit or default
8489 to_set_syscall_catchpoint.
8490 (return_one): Remove.
8491 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
8492 TARGET_DEFAULT_RETURN.
8493
62f64d7a
TT
84942014-02-19 Tom Tromey <tromey@redhat.com>
8495
8496 * target-delegates.c: Rebuild.
8497 * target.c (update_current_target): Don't inherit or default
8498 to_insert_exec_catchpoint.
8499 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8500 TARGET_DEFAULT_RETURN.
8501
cda0f38c
TT
85022014-01-08 Tom Tromey <tromey@redhat.com>
8503
8504 * target-delegates.c: Rebuild.
8505 * target.c (update_current_target): Don't inherit or default
8506 to_insert_exec_catchpoint.
8507 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
8508 TARGET_DEFAULT_RETURN.
8509
95c3375e
TT
85102014-02-19 Tom Tromey <tromey@redhat.com>
8511
8512 * target-delegates.c: Rebuild.
8513 * target.c (update_current_target): Don't inherit or default
8514 to_remove_vfork_catchpoint.
8515 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
8516 TARGET_DEFAULT_RETURN.
8517
7e18a8dc
TT
85182014-02-19 Tom Tromey <tromey@redhat.com>
8519
8520 * target-delegates.c: Rebuild.
8521 * target.c (update_current_target): Don't inherit or default
8522 to_insert_vfork_catchpoint.
8523 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
8524 TARGET_DEFAULT_RETURN.
8525
e1a21fb7
TT
85262014-02-19 Tom Tromey <tromey@redhat.com>
8527
8528 * target-delegates.c: Rebuild.
8529 * target.c (update_current_target): Don't inherit or default
8530 to_remove_fork_catchpoint.
8531 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
8532 TARGET_DEFAULT_RETURN.
8533
5958ebeb
TT
85342014-02-19 Tom Tromey <tromey@redhat.com>
8535
8536 * target-delegates.c: Rebuild.
8537 * target.c (update_current_target): Don't inherit or default
8538 to_insert_fork_catchpoint.
8539 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
8540 TARGET_DEFAULT_RETURN.
8541
340ba4bf
TT
85422014-02-19 Tom Tromey <tromey@redhat.com>
8543
8544 * target-delegates.c: Rebuild.
8545 * target.c (update_current_target): Don't inherit or default
8546 to_post_startup_inferior.
8547 * target.h (struct target_ops) <to_post_startup_inferior>: Use
8548 TARGET_DEFAULT_IGNORE.
8549
7634da87
TT
85502014-02-19 Tom Tromey <tromey@redhat.com>
8551
8552 * target-delegates.c: Rebuild.
8553 * target.c (update_current_target): Don't inherit or default
8554 to_load.
8555 * target.h (struct target_ops) <to_load>: Use
8556 TARGET_DEFAULT_NORETURN.
8557
e19e919f
TT
85582014-02-19 Tom Tromey <tromey@redhat.com>
8559
8560 * target-delegates.c: Rebuild.
8561 * target.c (update_current_target): Don't inherit or default
8562 to_terminal_info.
8563 * target.h (struct target_ops) <to_terminal_info>: Use
8564 TARGET_DEFAULT_FUNC.
8565
c6ea8f79
TT
85662014-02-19 Tom Tromey <tromey@redhat.com>
8567
8568 * target-delegates.c: Rebuild.
8569 * target.c (update_current_target): Don't inherit or default
8570 to_terminal_save_ours.
8571 * target.h (struct target_ops) <to_terminal_save_ours>: Use
8572 TARGET_DEFAULT_IGNORE.
8573
e4a733f1
TT
85742014-02-19 Tom Tromey <tromey@redhat.com>
8575
8576 * target-delegates.c: Rebuild.
8577 * target.c (update_current_target): Don't inherit or default
8578 to_terminal_ours.
8579 * target.h (struct target_ops) <to_terminal_ours>: Use
8580 TARGET_DEFAULT_IGNORE.
8581
74fcbef9
TT
85822014-02-19 Tom Tromey <tromey@redhat.com>
8583
8584 * target-delegates.c: Rebuild.
8585 * target.c (update_current_target): Don't inherit or default
8586 to_terminal_ours_for_output.
8587 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
8588 TARGET_DEFAULT_IGNORE.
8589
ddeaacc9
TT
85902014-02-19 Tom Tromey <tromey@redhat.com>
8591
8592 * target-delegates.c: Rebuild.
8593 * target.c (update_current_target): Don't inherit or default
8594 to_terminal_inferior.
8595 * target.h (struct target_ops) <to_terminal_inferior>: Use
8596 TARGET_DEFAULT_IGNORE.
8597
0343661d
TT
85982014-02-19 Tom Tromey <tromey@redhat.com>
8599
8600 * target-delegates.c: Rebuild.
8601 * target.c (update_current_target): Don't inherit or default
8602 to_terminal_init.
8603 * target.h (struct target_ops) <to_terminal_init>: Use
8604 TARGET_DEFAULT_IGNORE.
8605
77cdffe9
TT
86062014-02-19 Tom Tromey <tromey@redhat.com>
8607
8608 * target-delegates.c: Rebuild.
8609 * target.c (update_current_target): Don't inherit or default
8610 to_can_accel_watchpoint_condition.
8611 * target.h (struct target_ops)
8612 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
8613
d03655e4
TT
86142014-02-19 Tom Tromey <tromey@redhat.com>
8615
8616 * target-delegates.c: Rebuild.
8617 * target.c (update_current_target): Don't inherit or default
8618 to_region_ok_for_hw_watchpoint.
8619 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
8620 Use TARGET_DEFAULT_FUNC.
8621
65f160a9
TT
86222014-02-19 Tom Tromey <tromey@redhat.com>
8623
8624 * target-delegates.c: Rebuild.
8625 * target.c (update_current_target): Don't inherit or default
8626 to_watchpoint_addr_within_range.
8627 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
8628 Use TARGET_DEFAULT_FUNC.
8629
61dd109f
TT
86302014-02-19 Tom Tromey <tromey@redhat.com>
8631
8632 * target-delegates.c: Rebuild.
8633 * target.c (update_current_target): Don't inherit or default
8634 to_remove_watchpoint.
8635 * target.h (struct target_ops) <to_remove_watchpoint>: Use
8636 TARGET_DEFAULT_NORETURN.
8637
016facd4
TT
86382014-02-19 Tom Tromey <tromey@redhat.com>
8639
8640 * target-delegates.c: Rebuild.
8641 * target.c (update_current_target): Don't inherit or default
8642 to_insert_watchpoint.
8643 * target.h (struct target_ops) <to_insert_watchpoint>: Use
8644 TARGET_DEFAULT_RETURN.
8645
418dabac
TT
86462014-02-19 Tom Tromey <tromey@redhat.com>
8647
8648 * target-delegates.c: Rebuild.
8649 * target.c (update_current_target): Don't inherit or default
8650 to_remove_hw_breakpoint.
8651 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
8652 TARGET_DEFAULT_RETURN.
8653
61b371f9
TT
86542014-02-19 Tom Tromey <tromey@redhat.com>
8655
8656 * target-delegates.c: Rebuild.
8657 * target.c (update_current_target): Don't inherit or default
8658 to_insert_hw_breakpoint.
8659 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
8660 TARGET_DEFAULT_RETURN.
8661
52b51d06
TT
86622014-02-19 Tom Tromey <tromey@redhat.com>
8663
8664 * target-delegates.c: Rebuild.
8665 * target.c (update_current_target): Don't inherit or default
8666 to_can_use_hw_breakpoint.
8667 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
8668 TARGET_DEFAULT_RETURN.
8669
f86e59b2
TT
86702014-02-19 Tom Tromey <tromey@redhat.com>
8671
8672 * target-delegates.c: Rebuild.
8673 * target.c (update_current_target): Don't inherit or default
8674 to_files_info.
8675 * target.h (struct target_ops) <to_files_info>: Use
8676 TARGET_DEFAULT_IGNORE.
8677
6c628163
TT
86782014-02-19 Tom Tromey <tromey@redhat.com>
8679
8680 * target-delegates.c: Rebuild.
8681 * target.c (update_current_target): Don't inherit or default
8682 to_store.
8683 * target.h (struct target_ops) <to_store>: Use
8684 TARGET_DEFAULT_NORETURN.
8685
bebd3233
TT
86862014-02-19 Tom Tromey <tromey@redhat.com>
8687
8688 * target-delegates.c: Rebuild.
8689 * target.c (update_current_target): Don't inherit or default
8690 to_post_attach.
8691 * target.h (struct target_ops) <to_post_attach>: Use
8692 TARGET_DEFAULT_IGNORE.
8693
a53f3625
TT
86942014-02-19 Tom Tromey <tromey@redhat.com>
8695
8696 * target-delegates.c: Rebuild.
8697 * target.c (update_current_target): Don't inherit or default
8698 to_rcmd.
8699 (default_rcmd): New function.
8700 (do_monitor_command): Unconditionally delegate.
8701 * target.h (struct target_ops) <to_rmcd>: Use
8702 TARGET_DEFAULT_FUNC.
8703
e9a29200
TT
87042014-02-19 Tom Tromey <tromey@redhat.com>
8705
8706 * target-delegates.c: Rebuild.
8707 * target.c (init_dummy_target): Don't initialize to_attach.
8708 (target_attach): Unconditionally delegate.
8709 * target.h (struct target_ops) <to_attach>: Use
8710 TARGET_DEFAULT_FUNC.
8711
09da0d0a
TT
87122014-02-19 Tom Tromey <tromey@redhat.com>
8713
8714 * target-delegates.c: Rebuild.
8715 * target.c (target_detach): Unconditionally delegate.
8716 (init_dummy_target): Don't initialize to_detach.
8717 * target.h (struct target_ops) <to_detach>: Use
8718 TARGET_DEFAULT_IGNORE.
8719
5436ff03
TT
87202014-02-19 Tom Tromey <tromey@redhat.com>
8721
8722 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
8723 Add argument.
8724 (target_augmented_libraries_svr4_read): Add argument.
8725 * target.c (update_current_target): Update.
8726 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
8727 argument.
8728
f0d960ea
TT
87292014-02-19 Tom Tromey <tromey@redhat.com>
8730
8731 * target.h (struct target_ops) <to_call_history_range>: Add
8732 argument.
8733 * target.c (target_call_history_range): Add argument.
8734 * record-btrace.c (record_btrace_call_history_range): Add 'self'
8735 argument.
8736 (record_btrace_call_history_from): Update.
8737
ec0aea04
TT
87382014-02-19 Tom Tromey <tromey@redhat.com>
8739
8740 * target.h (struct target_ops) <to_call_history_from>: Add
8741 argument.
8742 * target.c (target_call_history_from): Add argument.
8743 * record-btrace.c (record_btrace_call_history_from): Add 'self'
8744 argument.
8745
5df2fcba
TT
87462014-02-19 Tom Tromey <tromey@redhat.com>
8747
8748 * target.h (struct target_ops) <to_call_history>: Add argument.
8749 * target.c (target_call_history): Add argument.
8750 * record-btrace.c (record_btrace_call_history): Add 'self'
8751 argument.
8752
4e99c6b7
TT
87532014-02-19 Tom Tromey <tromey@redhat.com>
8754
8755 * target.h (struct target_ops) <to_insn_history_range>: Add
8756 argument.
8757 * target.c (target_insn_history_range): Add argument.
8758 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
8759 argument.
8760 (record_btrace_insn_history_from): Update.
8761
9abc3ff3
TT
87622014-02-19 Tom Tromey <tromey@redhat.com>
8763
8764 * target.h (struct target_ops) <to_insn_history_from>: Add
8765 argument.
8766 * target.c (target_insn_history_from): Add argument.
8767 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
8768 argument.
8769
7a6c5609
TT
87702014-02-19 Tom Tromey <tromey@redhat.com>
8771
8772 * target.h (struct target_ops) <to_insn_history>: Add argument.
8773 * target.c (target_insn_history): Add argument.
8774 * record-btrace.c (record_btrace_insn_history): Add 'self'
8775 argument.
8776
606183ac
TT
87772014-02-19 Tom Tromey <tromey@redhat.com>
8778
8779 * target.h (struct target_ops) <to_goto_record>: Add argument.
8780 * target.c (target_goto_record): Add argument.
8781 * record-full.c (record_full_goto): Add 'self' argument.
8782 * record-btrace.c (record_btrace_goto): Add 'self' argument.
8783
307a1b91
TT
87842014-02-19 Tom Tromey <tromey@redhat.com>
8785
8786 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
8787 * target.c (target_goto_record_end): Add argument.
8788 * record-full.c (record_full_goto_end): Add 'self' argument.
8789 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
8790
08475817
TT
87912014-02-19 Tom Tromey <tromey@redhat.com>
8792
8793 * target.h (struct target_ops) <to_goto_record_begin>: Add
8794 argument.
8795 * target.c (target_goto_record_begin): Add argument.
8796 * record-full.c (record_full_goto_begin): Add 'self' argument.
8797 * record-btrace.c (record_btrace_goto_begin): Add 'self'
8798 argument.
8799
1c63c994
TT
88002014-02-19 Tom Tromey <tromey@redhat.com>
8801
8802 * target.h (struct target_ops) <to_record_is_replaying>: Add
8803 argument.
8804 * target.c (target_record_is_replaying): Add argument.
8805 * record-full.c (record_full_is_replaying): Add 'self' argument.
8806 * record-btrace.c (record_btrace_is_replaying): Add 'self'
8807 argument.
8808 (record_btrace_xfer_partial, record_btrace_store_registers)
8809 (record_btrace_prepare_to_store, record_btrace_resume)
8810 (record_btrace_wait, record_btrace_decr_pc_after_break)
8811 (record_btrace_find_new_threads, record_btrace_thread_alive):
8812 Update.
8813
d1b55219
TT
88142014-02-19 Tom Tromey <tromey@redhat.com>
8815
8816 * target.h (struct target_ops) <to_delete_record>: Add argument.
8817 * target.c (target_delete_record): Add argument.
8818 * record-full.c (record_full_delete): Add 'self' argument.
8819
1390f529
TT
88202014-02-19 Tom Tromey <tromey@redhat.com>
8821
8822 * target.h (struct target_ops) <to_save_record>: Add argument.
8823 * target.c (target_save_record): Add argument.
8824 * record-full.c (record_full_save): Add 'self' argument.
8825 (record_full_save): Add 'self' argument.
8826
630d6a4a
TT
88272014-02-19 Tom Tromey <tromey@redhat.com>
8828
8829 * target.h (struct target_ops) <to_info_record>: Add argument.
8830 * target.c (target_info_record): Add argument.
8831 * record.c (info_record_command): Add argument.
8832 * record-full.c (record_full_info): Add 'self' argument.
8833 * record-btrace.c (record_btrace_info): Add 'self' argument.
8834
c6cd7c02
TT
88352014-02-19 Tom Tromey <tromey@redhat.com>
8836
8837 * target.h (struct target_ops) <to_stop_recording>: Add argument.
8838 * target.c (target_stop_recording): Add argument.
8839 * record.c (record_stop): Add argument.
8840 * record-btrace.c (record_btrace_stop_recording): Add 'self'
8841 argument.
8842
39c49f83
TT
88432014-02-19 Tom Tromey <tromey@redhat.com>
8844
8845 * target.h (struct target_ops) <to_read_btrace>: Add argument.
8846 * target.c (struct target_ops) <to_read_btrace>: Add argument.
8847 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
8848 argument.
8849 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
8850 (_initialize_amd64_linux_nat): Use it.
8851 * i386-linux-nat.c (i386_linux_read_btrace): New function.
8852 (_initialize_i386_linux_nat): Use it.
8853
1777056d
TT
88542014-02-19 Tom Tromey <tromey@redhat.com>
8855
8856 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
8857 * target.c (target_teardown_btrace): Add argument.
8858 * remote.c (remote_teardown_btrace): Add 'self' argument.
8859 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
8860 argument.
8861 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
8862 argument.
8863
25e95349
TT
88642014-02-19 Tom Tromey <tromey@redhat.com>
8865
8866 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
8867 * target.c (target_disable_btrace): Add argument.
8868 * remote.c (remote_disable_btrace): Add 'self' argument.
8869 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
8870 argument.
8871 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
8872 argument.
8873
e3c49f88
TT
88742014-02-19 Tom Tromey <tromey@redhat.com>
8875
8876 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
8877 * target.c (target_enable_btrace): Add argument.
8878 * remote.c (remote_enable_btrace): Add 'self' argument.
8879 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
8880 argument.
8881 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
8882 argument.
8883
fe38f897
TT
88842014-02-19 Tom Tromey <tromey@redhat.com>
8885
8886 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
8887 (target_can_use_agent): Add argument.
8888 * target.c (update_current_target): Update.
8889 * remote.c (remote_can_use_agent): Add 'self' argument.
8890 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
8891
2c152180
TT
88922014-02-19 Tom Tromey <tromey@redhat.com>
8893
8894 * target.h (struct target_ops) <to_use_agent>: Add argument.
8895 (target_use_agent): Add argument.
8896 * target.c (update_current_target): Update.
8897 * remote.c (remote_use_agent): Add 'self' argument.
8898 * inf-child.c (inf_child_use_agent): Add 'self' argument.
8899
a893e81f
TT
89002014-02-19 Tom Tromey <tromey@redhat.com>
8901
8902 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
8903 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
8904 (target_traceframe_info): Add argument.
8905 * target.c (update_current_target): Update.
8906 * remote.c (remote_traceframe_info): Add 'self' argument.
8907 * ctf.c (ctf_traceframe_info): Add 'self' argument.
8908
c686c57f
TT
89092014-02-19 Tom Tromey <tromey@redhat.com>
8910
8911 * target.h (target_static_tracepoint_markers_by_strid): Add
8912 argument.
8913 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
8914 'self' argument.
8915 * target.c (update_current_target): Update.
8916 * remote.c (struct target_ops)
8917 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8918 * linux-nat.c (struct target_ops)
8919 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
8920
61fc905d
TT
89212014-02-19 Tom Tromey <tromey@redhat.com>
8922
8923 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
8924 Add argument.
8925 (target_static_tracepoint_marker_at): Add argument.
8926 * target.c (update_current_target): Update.
8927 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
8928 argument.
8929
c378d69d
TT
89302014-02-19 Tom Tromey <tromey@redhat.com>
8931
8932 * target.h (struct target_ops) <to_set_permissions>: Add argument.
8933 (target_set_permissions): Add argument.
8934 * target.c (update_current_target): Update.
8935 * remote.c (remote_set_permissions): Add 'self' argument.
8936 (remote_start_remote): Update.
8937
bd7ae0f5
TT
89382014-02-19 Tom Tromey <tromey@redhat.com>
8939
8940 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
8941 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
8942 (target_get_tib_address): Add argument.
8943 * target.c (update_current_target): Update.
8944 * remote.c (remote_get_tib_address): Add 'self' argument.
8945
d9e68a2c
TT
89462014-02-19 Tom Tromey <tromey@redhat.com>
8947
8948 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
8949 (target_set_trace_notes): Add argument.
8950 * target.c (update_current_target): Update.
8951 * remote.c (remote_set_trace_notes): Add 'self' argument.
8952
4da384be
TT
89532014-02-19 Tom Tromey <tromey@redhat.com>
8954
8955 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
8956 argument.
8957 (target_set_trace_buffer_size): Add argument.
8958 * target.c (update_current_target): Update.
8959 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
8960
736d5b1f
TT
89612014-02-19 Tom Tromey <tromey@redhat.com>
8962
8963 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
8964 argument.
8965 (target_set_circular_trace_buffer): Add argument.
8966 * target.c (update_current_target): Update.
8967 * remote.c (remote_set_circular_trace_buffer): Add 'self'
8968 argument.
8969
37b25738
TT
89702014-02-19 Tom Tromey <tromey@redhat.com>
8971
8972 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
8973 argument.
8974 (target_set_disconnected_tracing): Add argument.
8975 * target.c (update_current_target): Update.
8976 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
8977
0e67620a
TT
89782014-02-19 Tom Tromey <tromey@redhat.com>
8979
8980 * target.h (struct target_ops)
8981 <to_get_min_fast_tracepoint_insn_len>: Add argument.
8982 (target_get_min_fast_tracepoint_insn_len): Add argument.
8983 * target.c (update_current_target): Update.
8984 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
8985 argument.
8986
88ee6f45
TT
89872014-02-19 Tom Tromey <tromey@redhat.com>
8988
8989 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
8990 argument.
8991 (target_get_raw_trace_data): Add argument.
8992 * target.c (update_current_target): Update.
8993 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
8994
181e3713
TT
89952014-02-19 Tom Tromey <tromey@redhat.com>
8996
8997 * target.h (struct target_ops) <to_upload_trace_state_variables>:
8998 Add argument.
8999 (target_upload_trace_state_variables): Add argument.
9000 * target.c (update_current_target): Update.
9001 * remote.c (remote_upload_trace_state_variables): Add 'self'
9002 argument.
9003 (remote_start_remote): Update.
9004
ab6617cc
TT
90052014-02-19 Tom Tromey <tromey@redhat.com>
9006
9007 * target.h (struct target_ops) <to_upload_tracepoints>: Add
9008 argument.
9009 (target_upload_tracepoints): Add argument.
9010 * target.c (update_current_target): Update.
9011 * remote.c (remote_upload_tracepoints): Add 'self' argument.
9012 (remote_start_remote): Update.
9013
dc3decaf
TT
90142014-02-19 Tom Tromey <tromey@redhat.com>
9015
9016 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
9017 (target_save_trace_data): Add argument.
9018 * target.c (update_current_target): Update.
9019 * remote.c (remote_save_trace_data): Add 'self' argument.
9020
4011015b
TT
90212014-02-19 Tom Tromey <tromey@redhat.com>
9022
9023 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
9024 argument.
9025 * target.h (struct target_ops)
9026 <to_get_trace_state_variable_value>: Add argument.
9027 (target_get_trace_state_variable_value): Add argument.
9028 * target.c (update_current_target): Update.
9029 * remote.c (remote_get_trace_state_variable_value): Add 'self'
9030 argument.
9031 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
9032
bd4c6793
TT
90332014-02-19 Tom Tromey <tromey@redhat.com>
9034
9035 * tracepoint.c (tfile_trace_find): Add 'self' argument.
9036 * target.h (struct target_ops) <to_trace_find>: Add argument.
9037 (target_trace_find): Add argument.
9038 * target.c (update_current_target): Update.
9039 * remote.c (remote_trace_find): Add 'self' argument.
9040 * ctf.c (ctf_trace_find): Add 'self' argument.
9041
74499f1b
TT
90422014-02-19 Tom Tromey <tromey@redhat.com>
9043
9044 * target.h (struct target_ops) <to_trace_stop>: Add argument.
9045 (target_trace_stop): Add argument.
9046 * target.c (update_current_target): Update.
9047 * remote.c (remote_trace_stop): Add 'self' argument.
9048
db90e85c
TT
90492014-02-19 Tom Tromey <tromey@redhat.com>
9050
9051 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
9052 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
9053 argument.
9054 (target_get_tracepoint_status): Add argument.
9055 * target.c (update_current_target): Update.
9056 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
9057
8bd200f1
TT
90582014-02-19 Tom Tromey <tromey@redhat.com>
9059
9060 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
9061 * target.h (struct target_ops) <to_get_trace_status>: Add
9062 argument.
9063 (target_get_trace_status): Add argument.
9064 * target.c (update_current_target): Update.
9065 * remote.c (remote_get_trace_status): Add 'self' argument.
9066 (remote_start_remote, remote_can_download_tracepoint): Update.
9067 * ctf.c (ctf_get_trace_status): Add 'self' argument.
9068
e2d1aae3
TT
90692014-02-19 Tom Tromey <tromey@redhat.com>
9070
9071 * target.h (struct target_ops) <to_trace_start>: Add argument.
9072 (target_trace_start): Add argument.
9073 * target.c (update_current_target): Update.
9074 * remote.c (remote_trace_start): Add 'self' argument.
9075
583f9a86
TT
90762014-02-19 Tom Tromey <tromey@redhat.com>
9077
9078 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
9079 Add argument.
9080 (target_trace_set_readonly_regions): Add argument.
9081 * target.c (update_current_target): Update.
9082 * remote.c (remote_trace_set_readonly_regions): Add 'self'
9083 argument.
9084
780b049c
TT
90852014-02-19 Tom Tromey <tromey@redhat.com>
9086
9087 * target.h (struct target_ops) <to_disable_tracepoint>: Add
9088 argument.
9089 (target_disable_tracepoint): Add argument.
9090 * target.c (update_current_target): Update.
9091 * remote.c (remote_disable_tracepoint): Add 'self' argument.
9092
46670d57
TT
90932014-02-19 Tom Tromey <tromey@redhat.com>
9094
9095 * target.h (struct target_ops) <to_enable_tracepoint>: Add
9096 argument.
9097 (target_enable_tracepoint): Add argument.
9098 * target.c (update_current_target): Update.
9099 * remote.c (remote_enable_tracepoint): Add 'self' argument.
9100
559d2b81
TT
91012014-02-19 Tom Tromey <tromey@redhat.com>
9102
9103 * target.h (struct target_ops) <to_download_trace_state_variable>:
9104 Add argument.
9105 (target_download_trace_state_variable): Add argument.
9106 * target.c (update_current_target): Update.
9107 * remote.c (remote_download_trace_state_variable): Add 'self'
9108 argument.
9109
a52a8357
TT
91102014-02-19 Tom Tromey <tromey@redhat.com>
9111
9112 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
9113 argument.
9114 (target_can_download_tracepoint): Add argument.
9115 * target.c (update_current_target): Update.
9116 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
9117
548f7808
TT
91182014-02-19 Tom Tromey <tromey@redhat.com>
9119
9120 * target.h (struct target_ops) <to_download_tracepoint>: Add
9121 argument.
9122 (target_download_tracepoint): Add argument.
9123 * target.c (update_current_target): Update.
9124 * remote.c (remote_download_tracepoint): Add 'self' argument.
9125
ecae04e1
TT
91262014-02-19 Tom Tromey <tromey@redhat.com>
9127
9128 * target.h (struct target_ops) <to_trace_init>: Add argument.
9129 (target_trace_init): Add argument.
9130 * target.c (update_current_target): Update.
9131 * remote.c (remote_trace_init): Add 'self' argument.
9132
fab5aa7c
TT
91332014-02-19 Tom Tromey <tromey@redhat.com>
9134
9135 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
9136 * target.c (target_fileio_readlink): Add argument.
9137 * remote.c (remote_hostio_readlink): Add 'self' argument.
9138 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
9139
dbbca37d
TT
91402014-02-19 Tom Tromey <tromey@redhat.com>
9141
9142 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
9143 * target.c (target_fileio_unlink): Add argument.
9144 * remote.c (remote_hostio_unlink): Add 'self' argument.
9145 (remote_file_delete): Update.
9146 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
9147
df39ea25
TT
91482014-02-19 Tom Tromey <tromey@redhat.com>
9149
9150 * target.h (struct target_ops) <to_fileio_close>: Add argument.
9151 * target.c (target_fileio_close): Add argument.
9152 * remote.c (remote_hostio_close): Add 'self' argument.
9153 (remote_hostio_close_cleanup): Update.
9154 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
9155 Update.
9156 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
9157
a3be983c
TT
91582014-02-19 Tom Tromey <tromey@redhat.com>
9159
9160 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
9161 * target.c (target_fileio_pread): Add argument.
9162 * remote.c (remote_hostio_pread): Add 'self' argument.
9163 (remote_bfd_iovec_pread, remote_file_get): Update.
9164 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
9165
0d866f62
TT
91662014-02-19 Tom Tromey <tromey@redhat.com>
9167
9168 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
9169 * target.c (target_fileio_pwrite): Add argument.
9170 * remote.c (remote_hostio_pwrite): Add 'self' argument.
9171 (remote_file_put): Update.
9172 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
9173
cd897586
TT
91742014-02-19 Tom Tromey <tromey@redhat.com>
9175
9176 * target.h (struct target_ops) <to_fileio_open>: Add argument.
9177 * target.c (target_fileio_open): Add argument.
9178 * remote.c (remote_hostio_open): Add 'self' argument.
9179 (remote_bfd_iovec_open): Add 'self' argument.
9180 (remote_file_put): Add 'self' argument.
9181 (remote_file_get): Add 'self' argument.
9182 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
9183
78eff0ec
TT
91842014-02-19 Tom Tromey <tromey@redhat.com>
9185
9186 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
9187 Add argument.
9188 (target_can_run_breakpoint_commands): Add argument.
9189 * target.c (update_current_target): Update.
9190 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
9191 argument.
9192 (remote_insert_breakpoint): Add 'self' argument.
9193 (remote_insert_hw_breakpoint): Add 'self' argument.
9194 (remote_can_run_breakpoint_commands): Add 'self' argument.
9195
efcc2da7
TT
91962014-02-19 Tom Tromey <tromey@redhat.com>
9197
9198 * target.h (struct target_ops)
9199 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
9200 (target_supports_evaluation_of_breakpoint_conditions): Add
9201 argument.
9202 * target.c (update_current_target): Update.
9203 * remote.c (remote_supports_cond_breakpoints): Add 'self'
9204 argument.
9205 (remote_insert_breakpoint): Add 'self' argument.
9206 (remote_insert_hw_breakpoint): Add 'self' argument.
9207 (remote_supports_cond_breakpoints): Add 'self' argument.
9208
6de37a3a
TT
92092014-02-19 Tom Tromey <tromey@redhat.com>
9210
9211 * target.h (struct target_ops) <to_supports_string_tracing>: Add
9212 argument.
9213 (target_supports_string_tracing): Add argument.
9214 * target.c (update_current_target): Update.
9215 * remote.c (remote_supports_string_tracing): Add 'self' argument.
9216
2bfc0540
TT
92172014-02-19 Tom Tromey <tromey@redhat.com>
9218
9219 * target.h (struct target_ops)
9220 <to_supports_disable_randomization>: Add argument.
9221 * target.c (find_default_supports_disable_randomization): Add
9222 argument.
9223 (target_supports_disable_randomization): Add argument.
9224 (find_default_supports_disable_randomization): Add 'self'
9225 argument.
9226 * remote.c (extended_remote_supports_disable_randomization): Add
9227 'self' argument.
9228 (remote_supports_disable_randomization): Add 'self' argument.
9229 (extended_remote_create_inferior): Update.
9230 * linux-nat.c (linux_nat_supports_disable_randomization): Add
9231 'self' argument.
9232
7d178d6a
TT
92332014-02-19 Tom Tromey <tromey@redhat.com>
9234
9235 * target.h (struct target_ops)
9236 <to_supports_enable_disable_tracepoint>: Add argument.
9237 (target_supports_enable_disable_tracepoint): Add argument.
9238 * target.c (update_current_target): Update.
9239 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
9240 argument.
9241
86ce2668
TT
92422014-02-19 Tom Tromey <tromey@redhat.com>
9243
9244 * target.h (struct target_ops) <to_supports_multi_process>: Add
9245 argument.
9246 (target_supports_multi_process): Add argument.
9247 * target.c (update_current_target): Update.
9248 * remote.c (remote_supports_multi_process): Add 'self' argument.
9249 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
9250 argument.
9251 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
9252 argument.
9253
4c612759
TT
92542014-02-19 Tom Tromey <tromey@redhat.com>
9255
9256 * target.h (struct target_ops) <to_execution_direction>: Add
9257 argument.
9258 (target_execution_direction): Add argument.
9259 * target.c (default_execution_direction): Add 'self' argument.
9260 * record-full.c (record_full_execution_direction): Add 'self'
9261 argument.
9262
19db3e69
TT
92632014-02-19 Tom Tromey <tromey@redhat.com>
9264
9265 * target.h (struct target_ops) <to_can_execute_reverse>: Add
9266 argument.
9267 (target_can_execute_reverse): Add argument.
9268 * remote.c (remote_can_execute_reverse): Add 'self' argument.
9269 * record-full.c (record_full_can_execute_reverse): Add 'self'
9270 argument.
9271 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
9272 argument.
9273
1e6b91a4
TT
92742014-02-19 Tom Tromey <tromey@redhat.com>
9275
9276 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
9277 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
9278 argument.
9279 (target_get_ada_task_ptid): Add argument.
9280 * target.c (update_current_target): Update.
9281 (default_get_ada_task_ptid): Add 'self' argument.
9282 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
9283 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
9284 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
9285 argument.
9286 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
9287 argument.
9288 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
9289 argument.
9290 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
9291 argument.
9292 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
9293 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
9294 argument.
9295
3c80fb48
TT
92962014-02-19 Tom Tromey <tromey@redhat.com>
9297
9298 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
9299 (target_goto_bookmark): Add argument.
9300 * target.c (dummy_goto_bookmark): Add 'self' argument.
9301 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
9302
dd0e2830
TT
93032014-02-19 Tom Tromey <tromey@redhat.com>
9304
9305 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
9306 (target_get_bookmark): Add argument.
9307 * target.c (dummy_get_bookmark): Add 'self' argument.
9308 * record-full.c (record_full_get_bookmark): Add 'self' argument.
9309
fc6691b2
TT
93102014-02-19 Tom Tromey <tromey@redhat.com>
9311
9312 * target.h (struct target_ops) <to_make_corefile_notes>: Add
9313 argument.
9314 (target_make_corefile_notes): Add argument.
9315 * target.c (dummy_make_corefile_notes): Add 'self' argument.
9316 * procfs.c (procfs_make_note_section): Add 'self' argument.
9317 (procfs_make_note_section): Add 'self' argument.
9318 (procfs_make_note_section): Add 'self' argument.
9319 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
9320 argument.
9321 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
9322 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
9323 * exec.c (exec_make_note_section): Add 'self' argument.
9324 (exec_make_note_section): Add 'self' argument.
9325
2e73927c
TT
93262014-02-19 Tom Tromey <tromey@redhat.com>
9327
9328 * target.h (struct target_ops) <to_find_memory_regions>: Add
9329 argument.
9330 (target_find_memory_regions): Add argument.
9331 * target.c (dummy_find_memory_regions): Add 'self' argument.
9332 * procfs.c (proc_find_memory_regions): Add 'self' argument.
9333 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
9334 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
9335 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
9336 * exec. (exec_do_find_memory_regions): New global.
9337 (exec_set_find_memory_regions): Rewrite.
9338 (exec_find_memory_regions): New function.
9339 (init_exec_ops): Use exec_find_memory_regions.
9340
2a9a2795
TT
93412014-02-19 Tom Tromey <tromey@redhat.com>
9342
9343 * target.h (struct target_ops) <to_supports_non_stop>: Add
9344 argument.
9345 * target.c (find_default_supports_non_stop): Add argument.
9346 (target_supports_non_stop): Add argument.
9347 (find_default_supports_non_stop): Add 'self' argument.
9348 * remote.c (remote_supports_non_stop): Add 'self' argument.
9349 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
9350
4ab76ea3
TT
93512014-02-19 Tom Tromey <tromey@redhat.com>
9352
9353 * target.h (struct target_ops) <to_log_command>: Add argument.
9354 (target_log_command): Add argument.
9355 * serial.h (serial_log_command): Add 'self' argument.
9356 * serial.c (serial_log_command): Add 'self' argument.
9357
8dd27370
TT
93582014-02-19 Tom Tromey <tromey@redhat.com>
9359
9360 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
9361 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
9362 argument.
9363 (target_pid_to_exec_file): Add argument.
9364 * target.c (debug_to_pid_to_exec_file): Add argument.
9365 (update_current_target): Update.
9366 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
9367 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
9368 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
9369 (linux_handle_extended_wait): Update.
9370 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
9371 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
9372 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
9373 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
9374
1aac633b
TT
93752014-02-19 Tom Tromey <tromey@redhat.com>
9376
9377 * target.h (struct target_ops) <to_rcmd>: Add argument.
9378 (target_rcmd): Add argument.
9379 * target.c (debug_to_rcmd): Add argument.
9380 (update_current_target, do_monitor_command): Update.
9381 * remote.c (remote_rcmd): Add 'self' argument.
9382 * monitor.c (monitor_rcmd): Add 'self' argument.
9383
1eab8a48
TT
93842014-02-19 Tom Tromey <tromey@redhat.com>
9385
9386 * windows-nat.c (windows_stop): Add 'self' argument.
9387 * target.h (struct target_ops) <to_stop>: Add argument.
9388 * target.c (target_stop): Add argument.
9389 (debug_to_stop): Add argument.
9390 (update_current_target): Update.
9391 * remote.c (remote_stop): Add 'self' argument.
9392 * remote-sim.c (gdbsim_stop): Add 'self' argument.
9393 (gdbsim_cntrl_c): Update.
9394 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
9395 * procfs.c (procfs_stop): Add 'self' argument.
9396 * nto-procfs.c (procfs_stop): Add 'self' argument.
9397 * monitor.c (monitor_stop): Add 'self' argument.
9398 (monitor_open): Update.
9399 * linux-nat.c (linux_nat_stop): Add argument.
9400 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
9401 * gnu-nat.c (gnu_stop): Add 'self' argument.
9402 * darwin-nat.c (darwin_stop): Add 'self' argument.
9403
503a628d
TT
94042014-02-19 Tom Tromey <tromey@redhat.com>
9405
9406 * target.h (struct target_ops) <to_thread_name>: Add argument.
9407 * target.c (target_thread_name): Add argument.
9408 (update_current_target): Update.
9409 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
9410
c15906d8
TT
94112014-02-19 Tom Tromey <tromey@redhat.com>
9412
9413 * target.h (struct target_ops) <to_extra_thread_info>: Add
9414 argument.
9415 (target_extra_thread_info): Add argument.
9416 * target.c (update_current_target): Update.
9417 * remote.c (remote_threads_extra_info): Add 'self' argument.
9418 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
9419 argument.
9420 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
9421 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
9422 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
9423 argument.
9424 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
9425 argument.
9426 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
9427 argument.
9428 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
9429 argument.
9430
daf5e9b6
TT
94312014-02-19 Tom Tromey <tromey@redhat.com>
9432
9433 * target.h (struct target_ops) <to_program_signals>: Add argument.
9434 * target.c (target_program_signals): Add argument.
9435 * remote.c (remote_program_signals): Add 'self' argument.
9436
94bedb42
TT
94372014-02-19 Tom Tromey <tromey@redhat.com>
9438
9439 * target.h (struct target_ops) <to_pass_signals>: Add argument.
9440 * target.c (target_pass_signals): Add argument.
9441 * remote.c (remote_pass_signals): Add 'self' argument.
9442 (remote_start_remote): Update.
9443 * procfs.c (procfs_pass_signals): Add 'self' argument.
9444 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
9445 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
9446 (linux_nat_create_inferior, linux_nat_attach): Update.
9447
da82bd6b
TT
94482014-02-19 Tom Tromey <tromey@redhat.com>
9449
9450 * windows-nat.c (windows_can_run): Add 'self' argument.
9451 * target.h (struct target_ops) <to_can_run>: Add argument.
9452 (target_can_run): Add argument.
9453 * target.c (debug_to_can_run): Add argument.
9454 (update_current_target): Update.
9455 * nto-procfs.c (procfs_can_run): Add 'self' argument.
9456 * inf-child.c (inf_child_can_run): Add 'self' argument.
9457 * go32-nat.c (go32_can_run): Add 'self' argument.
9458
d796e1d6
TT
94592014-02-19 Tom Tromey <tromey@redhat.com>
9460
9461 * target.h (struct target_ops) <to_has_exited>: Add argument.
9462 (target_has_exited): Add argument.
9463 * target.c (debug_to_has_exited): Add argument.
9464 (update_current_target): Update.
9465
ff214e67
TT
94662014-02-19 Tom Tromey <tromey@redhat.com>
9467
9468 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
9469 argument.
9470 (target_set_syscall_catchpoint): Add argument.
9471 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
9472 argument.
9473 * target.c (update_current_target): Update.
9474
758e29d2
TT
94752014-02-19 Tom Tromey <tromey@redhat.com>
9476
9477 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
9478 argument.
9479 (target_remove_exec_catchpoint): Add argument.
9480 * target.c (debug_to_remove_exec_catchpoint): Add argument.
9481 (update_current_target): Update.
9482 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
9483 argument.
9484
ba025e51
TT
94852014-02-19 Tom Tromey <tromey@redhat.com>
9486
9487 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
9488 argument.
9489 (target_insert_exec_catchpoint): Add argument.
9490 * target.c (debug_to_insert_exec_catchpoint): Add argument.
9491 (update_current_target): Update.
9492 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
9493 argument.
9494
e98cf0cd
TT
94952014-02-19 Tom Tromey <tromey@redhat.com>
9496
9497 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
9498 argument.
9499 (target_remove_vfork_catchpoint): Add argument.
9500 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
9501 (update_current_target): Update.
9502 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
9503 argument.
9504
3ecc7da0
TT
95052014-02-19 Tom Tromey <tromey@redhat.com>
9506
9507 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
9508 argument.
9509 (target_insert_vfork_catchpoint): Add argument.
9510 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
9511 (update_current_target): Update.
9512 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
9513 argument.
9514
973fc227
TT
95152014-02-19 Tom Tromey <tromey@redhat.com>
9516
9517 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
9518 argument.
9519 (target_remove_fork_catchpoint): Add argument.
9520 * target.c (debug_to_remove_fork_catchpoint): Add argument.
9521 (update_current_target): Update.
9522 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
9523 argument.
9524
a863b201
TT
95252014-02-19 Tom Tromey <tromey@redhat.com>
9526
9527 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
9528 argument.
9529 (target_insert_fork_catchpoint): Add argument.
9530 * target.c (debug_to_insert_fork_catchpoint): Add argument.
9531 (update_current_target): Update.
9532 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
9533 argument.
9534
2e97a79e
TT
95352014-02-19 Tom Tromey <tromey@redhat.com>
9536
9537 * target.h (struct target_ops) <to_post_startup_inferior>: Add
9538 argument.
9539 (target_post_startup_inferior): Add argument.
9540 * target.c (debug_to_post_startup_inferior): Add argument.
9541 (update_current_target): Update.
9542 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
9543 argument.
9544 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
9545 argument.
9546 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
9547 argument.
9548 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
9549 argument.
9550 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
9551 'self' argument.
9552 (super_post_startup_inferior): Likewise.
9553 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
9554 'self' argument.
9555 (super_post_startup_inferior): Likewise.
9556 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
9557 Add 'self' argument.
9558 (super_post_startup_inferior): Likewise.
9559
71a9f134
TT
95602014-02-19 Tom Tromey <tromey@redhat.com>
9561
9562 * target.h (struct target_ops) <to_load>: Add argument.
9563 * target.c (target_load): Add argument.
9564 (debug_to_load): Add argument.
9565 (update_current_target): Update.
9566 * remote.c (remote_load): Add 'self' argument.
9567 * remote-sim.c (gdbsim_load): Add 'self' argument.
9568 * remote-mips.c (mips_load): Add 'self' argument.
9569 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
9570 * monitor.c (monitor_load): Add 'self' argument.
9571 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
9572
0a4f40a2
TT
95732014-02-19 Tom Tromey <tromey@redhat.com>
9574
9575 * target.h (struct target_ops) <to_terminal_info>: Add argument.
9576 (target_terminal_info): Add argument.
9577 * target.c (debug_to_terminal_info): Add argument.
9578 (default_terminal_info): Likewise.
9579 * inflow.c (child_terminal_info): Add 'self' argument.
9580 * inferior.h (child_terminal_info): Add 'self' argument.
9581 * go32-nat.c (go32_terminal_info): Add 'self' argument.
9582
ae3bd431
TT
95832014-02-19 Tom Tromey <tromey@redhat.com>
9584
9585 * target.h (struct target_ops) <to_terminal_save_ours>: Add
9586 argument.
9587 (target_terminal_save_ours): Add argument.
9588 * target.c (debug_to_terminal_save_ours): Add argument.
9589 (update_current_target): Update.
9590 * inflow.c (terminal_save_ours): Add 'self' argument.
9591 * inferior.h (terminal_save_ours): Add 'self' argument.
9592
e3594fd1
TT
95932014-02-19 Tom Tromey <tromey@redhat.com>
9594
9595 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
9596 (target_terminal_ours): Add argument.
9597 * target.c (debug_to_terminal_ours): Add argument.
9598 (update_current_target): Update.
9599 * remote.c (remote_terminal_ours): Add 'self' argument.
9600 (remote_close): Update.
9601 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
9602 * inflow.c (terminal_ours): Add 'self' argument.
9603 * inferior.h (terminal_ours): Add 'self' argument.
9604 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9605
2e1e1a19
TT
96062014-02-19 Pedro Alves <palves@redhat.com>
9607 Tom Tromey <tromey@redhat.com>
9608
9609 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
9610 argument.
9611 (target_terminal_ours_for_output): Add argument.
9612 * target.c (debug_to_terminal_ours_for_output): Add argument.
9613 (update_current_target): Update.
9614 * inflow.c (terminal_ours_for_output): Add 'self' argument.
9615 * inferior.h (terminal_ours_for_output): Add 'self' argument.
9616 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
9617
d2f640d4
TT
96182014-02-19 Tom Tromey <tromey@redhat.com>
9619
9620 * target.h (struct target_ops) <to_terminal_inferior>: Add
9621 argument.
9622 * target.c (target_terminal_inferior): Add argument.
9623 (update_current_target): Update.
9624 * remote.c (remote_terminal_inferior): Add 'self' argument.
9625 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
9626 * inflow.c (terminal_inferior): Add 'self' argument.
9627 * inferior.h (terminal_inferior): Add 'self' argument.
9628 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
9629 (go32_terminal_inferior): Add 'self' argument.
9630
c42bf286
TT
96312014-02-19 Tom Tromey <tromey@redhat.com>
9632
9633 * target.h (struct target_ops) <to_terminal_init>: Add argument.
9634 (target_terminal_init): Add argument.
9635 * target.c (debug_to_terminal_init): Add argument.
9636 (update_current_target): Update.
9637 * inflow.c (terminal_init_inferior): Add 'self' argument.
9638 * inferior.h (terminal_init_inferior): Add 'self' argument.
9639 * go32-nat.c (go32_terminal_init): Add 'self' argument.
9640 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
9641
c3a5ff89
TT
96422014-02-19 Tom Tromey <tromey@redhat.com>
9643
9644 * target.h (struct target_ops)
9645 <to_can_accel_watchpoint_condition>: Add argument.
9646 (target_can_accel_watchpoint_condition): Add argument.
9647 * target.c (debug_to_can_accel_watchpoint_condition): Add
9648 argument.
9649 (update_current_target): Update.
9650 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
9651 'self' argument.
9652
31568a15
TT
96532014-02-19 Tom Tromey <tromey@redhat.com>
9654
9655 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
9656 Add argument.
9657 (target_region_ok_for_hw_watchpoint): Add argument.
9658 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
9659 (default_region_ok_for_hw_watchpoint): Add argument.
9660 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
9661 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
9662 argument.
9663 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
9664 argument.
9665 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
9666 argument.
9667 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
9668 'self' argument.
9669 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
9670 'self' argument.
9671 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
9672 'self' argument.
9673 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
9674 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
9675 'self' argument.
9676 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
9677 Add 'self' argument.
9678
7bb99c53
TT
96792014-02-19 Tom Tromey <tromey@redhat.com>
9680
9681 * target.h (struct target_ops) <to_insert_watchpoint>: Add
9682 argument.
9683 (target_insert_watchpoint): Add argument.
9684 * target.c (debug_to_insert_watchpoint): Add argument.
9685 (update_current_target): Update.
9686 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
9687 * remote.c (remote_insert_watchpoint): Add 'self' argument.
9688 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
9689 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
9690 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
9691 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
9692 argument.
9693 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
9694 (procfs_insert_hw_watchpoint): Add 'self' argument.
9695 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
9696 argument.
9697 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
9698 argument.
9699 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
9700 argument.
9701 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
9702 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
9703 argument.
9704 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
9705 'self' argument.
9706
11b5219a
TT
97072014-02-19 Tom Tromey <tromey@redhat.com>
9708
9709 * target.h (struct target_ops) <to_remove_watchpoint>: Add
9710 argument.
9711 (target_remove_watchpoint): Add argument.
9712 * target.c (debug_to_remove_watchpoint): Add argument.
9713 (update_current_target): Update.
9714 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
9715 * remote.c (remote_remove_watchpoint): Add 'self' argument.
9716 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
9717 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
9718 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
9719 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
9720 argument.
9721 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
9722 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
9723 argument.
9724 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
9725 argument.
9726 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
9727 argument.
9728 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
9729 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
9730 argument.
9731 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
9732 'self' argument.
9733
a64dc96c
TT
97342014-02-19 Tom Tromey <tromey@redhat.com>
9735
9736 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
9737 argument.
9738 (target_remove_hw_breakpoint): Add argument.
9739 * target.c (debug_to_remove_hw_breakpoint): Add argument.
9740 (update_current_target): Update.
9741 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
9742 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
9743 argument.
9744 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
9745 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
9746 argument.
9747 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
9748 'self' argument.
9749
23a26771
TT
97502014-02-19 Tom Tromey <tromey@redhat.com>
9751
9752 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
9753 argument.
9754 (target_insert_hw_breakpoint): Add argument.
9755 * target.c (debug_to_insert_hw_breakpoint): Add argument.
9756 (update_current_target): Update.
9757 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
9758 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
9759 argument.
9760 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
9761 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
9762 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
9763 argument.
9764 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
9765 'self' argument.
9766
5461485a
TT
97672014-02-19 Tom Tromey <tromey@redhat.com>
9768
9769 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
9770 argument.
9771 (target_can_use_hardware_watchpoint): Add argument.
9772 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
9773 (update_current_target): Update.
9774 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
9775 argument.
9776 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
9777 argument.
9778 * remote.c (remote_check_watch_resources): Add 'self' argument.
9779 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
9780 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
9781 argument.
9782 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
9783 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
9784 argument.
9785 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
9786 argument.
9787 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
9788 argument.
9789 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
9790 argument.
9791 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
9792 argument.
9793 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
9794 argument.
9795 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
9796 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
9797 argument.
9798 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
9799 'self' argument.
9800
f045800c
TT
98012014-02-19 Tom Tromey <tromey@redhat.com>
9802
9803 * target.h (struct target_ops) <to_post_attach>: Add argument.
9804 (target_post_attach): Add argument.
9805 * target.c (debug_to_post_attach): Add argument.
9806 (update_current_target): Update.
9807 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
9808 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
9809 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
9810 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
9811 * inf-child.c (inf_child_post_attach): Add 'self' argument.
9812
de90e03d
TT
98132014-02-19 Tom Tromey <tromey@redhat.com>
9814
9815 * windows-nat.c (windows_close): Add 'self' argument.
9816 * tracepoint.c (tfile_close): Add 'self' argument.
9817 * target.h (struct target_ops) <to_close>: Add argument.
9818 * target.c (target_close): Add argument.
9819 (update_current_target): Update.
9820 * remote.c (remote_close): Add 'self' argument.
9821 * remote-sim.c (gdbsim_close): Add 'self' argument.
9822 * remote-mips.c (mips_close): Add 'self' argument.
9823 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
9824 * record-full.c (record_full_close): Add 'self' argument.
9825 * record-btrace.c (record_btrace_close): Add 'self' argument.
9826 * monitor.h (monitor_close): Add 'self' argument.
9827 * monitor.c (monitor_close): Add 'self' argument.
9828 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
9829 * linux-nat.c (linux_nat_close): Add argument.
9830 * go32-nat.c (go32_close): Add 'self' argument.
9831 * exec.c (exec_close_1): Add 'self' argument.
9832 * ctf.c (ctf_close): Add 'self' argument.
9833 * corelow.c (core_close): Add 'self' argument.
9834 (core_close_cleanup): Update.
9835 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
9836 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
9837
9dd130a0
TT
98382014-02-19 Tom Tromey <tromey@redhat.com>
9839
9840 * remote.c (remote_load): New function.
9841 (init_remote_ops): Use it.
9842
46917d26
TT
98432014-02-19 Tom Tromey <tromey@redhat.com>
9844
9845 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
9846 argument.
9847 * common/linux-btrace.h (linux_supports_btrace): Update.
9848 * remote.c (remote_supports_btrace): Add "self" argument.
9849 * target-delegates.c: Rebuild.
9850 * target.c (target_supports_btrace): Remove.
9851 * target.h (struct target_ops) <to_supports_btrace>: Add
9852 target_ops argument.
9853 (target_supports_btrace): New define.
9854
6b84065d
TT
98552014-02-19 Tom Tromey <tromey@redhat.com>
9856
9857 * record-full.c (record_full_beneath_to_resume_ops)
9858 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
9859 (record_full_beneath_to_wait)
9860 (record_full_beneath_to_store_registers_ops)
9861 (record_full_beneath_to_store_registers)
9862 (record_full_beneath_to_xfer_partial_ops)
9863 (record_full_beneath_to_xfer_partial)
9864 (record_full_beneath_to_insert_breakpoint_ops)
9865 (record_full_beneath_to_insert_breakpoint)
9866 (record_full_beneath_to_remove_breakpoint_ops)
9867 (record_full_beneath_to_remove_breakpoint)
9868 (record_full_beneath_to_stopped_by_watchpoint)
9869 (record_full_beneath_to_stopped_data_address)
9870 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
9871 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
9872 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
9873 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
9874 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
9875 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
9876 (tmp_to_stopped_data_address, tmp_to_async): Remove.
9877 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
9878 (record_full_resume, record_full_wait_1)
9879 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
9880 (record_full_store_registers, record_full_xfer_partial)
9881 (record_full_insert_breakpoint, record_full_remove_breakpoint)
9882 (record_full_async, record_full_core_xfer_partial): Use target
9883 delegation.
9884 * target-delegates.c: Rebuild.
9885 * target.c (current_xfer_partial): Remove.
9886 (update_current_target): Do not INHERIT or de_fault
9887 to_insert_breakpoint, to_remove_breakpoint,
9888 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
9889 to_is_async_p, to_async. Do not set to_xfer_partial field.
9890 (default_xfer_partial): Simplify.
9891 (current_xfer_partial): Remove.
9892 (target_wait, target_resume): Simplify.
9893 (find_default_can_async_p, find_default_is_async_p): Update.
9894 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
9895 to_xfer_partial, to_stopped_by_watchpoint,
9896 to_stopped_data_address.
9897 (target_store_registers): Simplify.
9898 (forward_target_remove_breakpoint)
9899 (forward_target_insert_breakpoint): Remove.
9900 (target_remove_breakpoint, target_insert_breakpoint)
9901 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
9902 * target.h (struct target_ops) <to_resume, to_wait,
9903 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
9904 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
9905 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
9906 markup.
9907 (forward_target_remove_breakpoint)
9908 (forward_target_insert_breakpoint): Remove.
9909 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
9910 directly.
9911 (record_btrace_insert_breakpoint): Delegate directly.
9912
1101cb7b
TT
99132014-02-19 Tom Tromey <tromey@redhat.com>
9914
9915 PR build/7701:
9916 * target-delegates.c: New file.
9917 * target.c: Include target-delegates.c.
9918 (init_dummy_target): Call install_dummy_methods.
9919 (complete_target_initialization): Call install_delegators.
9920 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
9921 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
9922 * make-target-delegates: New file.
9923
8b06beed
TT
99242014-02-19 Tom Tromey <tromey@redhat.com>
9925
9926 * record.c (find_record_target): Use find_target_at.
9927 * target.c (find_target_at): New function.
9928 * target.h (find_target_at): Declare.
9929
6a109b6b
TT
99302014-02-19 Tom Tromey <tromey@redhat.com>
9931
9932 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
9933 Add 'ops' argument.
9934 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
9935 'ops' argument.
9936 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
9937 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
9938 'ops' argument.
9939 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
9940 argument.
9941 * linux-nat.c (save_sigtrap): Update.
9942 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
9943 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
9944 (linux_nat_close): Update.
9945 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
9946 argument.
9947 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
9948 argument.
9949 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
9950 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
9951 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
9952 (tmp_to_async): Add 'ops' argument.
9953 (record_full_stopped_by_watchpoint, record_full_async)
9954 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
9955 argument.
9956 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
9957 (m32r_stopped_by_watchpoint): Add 'ops' argument.
9958 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
9959 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
9960 (remote_is_async_p, remote_async): Add 'ops' argument.
9961 (remote_stopped_data_address): Update.
9962 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
9963 * target.c (update_current_target)
9964 (find_default_can_async_p, find_default_is_async_p): Update.
9965 (init_dummy_target): Update.
9966 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
9967 * target.h (struct target_ops) <to_stopped_by_watchpoint,
9968 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
9969 (target_can_async_p, target_is_async_p, target_async)
9970 (target_stopped_by_watchpoint): Update.
9971
e095146b
YQ
99722014-02-19 Yao Qi <yao@codesourcery.com>
9973
9974 PR gdb/16220
9975 * gdbarch.sh: Remove startup_gdbarch.
9976 * gdbarch.c: Regenerated.
9977 * gdbarch.h: Likewise.
9978
bc3c6b36
KB
99792014-02-17 Kevin Buettner <kevinb@redhat.com>
9980
9981 * rl78-tdep.c (rl78_g10_register_name): New function.
9982 (rl78_return_value): Add g10 support.
9983 (rl78_gdbarch_init): Register rl78_g10_register_name for the
9984 g10.
9985
98dc0167 99862014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
9987
9988 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
9989 (SUBDIR_GUILE_SRCS): Ditto.
9990 (scm-gsmob.o): Ditto.
9991
842c05cd
YQ
99922014-02-17 Yao Qi <yao@codesourcery.com>
9993
9994 * gnu-nat.c (ILL_RPC): Declare defined function.
9995
25c0bd04
YQ
99962014-02-17 Yao Qi <yao@codesourcery.com>
9997
9998 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
9999 mach_msg_type_number_t.
10000 (gnu_write_inferior): Likewise.
10001
a9a758e3
YQ
100022014-02-17 Yao Qi <yao@codesourcery.com>
10003
10004 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
10005 in format string.
10006 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
10007 (inf_validate_procs, inf_signal): Likewise.
10008 (S_exception_raise_request): Likewise.
10009 (do_mach_notify_dead_name): Likewise.
10010 (steal_exc_port): Likewise.
10011 (gnu_read_inferior): Change 'copy_count''s type to
10012 mach_msg_type_number_t.
10013 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
10014 format string.
10015
bae8023e
TS
100162014-02-16 Thomas Schwinge <thomas@codesourcery.com>
10017
c82f56d9
TS
10018 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
10019 flag. Adjust all users; in particular...
10020 (gnu_wait): ..., don't decrement its value in here...
10021 (gnu_create_inferior): ..., and instead set the flag in here,
10022 around the startup_inferior call, and call that one with
10023 START_INFERIOR_TRAPS_EXPECTED.
10024
3398af6a
TS
10025 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
10026 (ILL_RPC): ... new macro.
10027 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
10028 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
10029 (do_mach_notify_send_once, S_proc_setmsgport_reply)
10030 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
10031 functions with ILL_RPC macro.
10032 (S_proc_pid2task_reply, S_proc_task2pid_reply)
10033 (S_proc_task2proc_reply, S_proc_proc2task_reply)
10034 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
10035 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
10036 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
10037 (S_proc_getlogin_reply, S_proc_getsid_reply)
10038 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
10039 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
10040 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
10041 (S_proc_getnports_reply, S_proc_is_important_reply)
10042 (S_proc_get_code_reply): New stub functions, generated with
10043 ILL_RPC macro.
10044
d47642c9
TS
10045 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
10046 collected the type check structures.
10047
bae8023e
TS
10048 * reply_mig_hack.awk: Don't expect to see the auto keyword.
10049
8a55ffb0
DE
100502014-02-14 Doug Evans <dje@google.com>
10051
10052 * target.c (target_write_partial): Fix result type.
10053
c2853f3d
JM
100542014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
10055
10056 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
10057 the proper offsets to access fpregset_t.
10058
ac61d2db
SA
100592014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
10060
10061 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
10062 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
10063 * h8300-tdep.c (setmachinelist): Remove global.
10064 * hppa-tdep.c (hppa_sigtramp): Remove global.
10065 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
10066 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
10067 * ravenscar-thread.c (update_target_observer): Remove global.
10068 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
10069
9d2d0b8b
TT
100702014-02-12 Tom Tromey <tromey@redhat.com>
10071
10072 * common/rsp-low.c: Update comments.
10073 * common/rsp-low.h: Update comments.
10074
a7191e8b
TT
100752014-02-12 Tom Tromey <tromey@redhat.com>
10076
10077 * common/rsp-low.c (convert_ascii_to_int): Remove.
10078 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
10079
ff0e980e
TT
100802014-02-12 Tom Tromey <tromey@redhat.com>
10081
10082 * common/rsp-low.h (unhexify): Don't declare.
10083 * common/rsp-low.c (unhexify): Remove.
10084
e9371aff
TT
100852014-02-12 Tom Tromey <tromey@redhat.com>
10086
10087 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
10088 * common/rsp-low.c (convert_int_to_ascii): Remove.
10089
971dc0b8
TT
100902014-02-12 Tom Tromey <tromey@redhat.com>
10091
10092 * common/rsp-low.h (hexify): Don't declare.
10093 * common/rsp-low.c (hexify): Remove.
10094
0a822afb
TT
100952014-02-12 Tom Tromey <tromey@redhat.com>
10096
10097 * common/rsp-low.c (hexify): Never take strlen of argument.
10098
9f1b45b0
TT
100992014-02-12 Tom Tromey <tromey@redhat.com>
10100
10101 * common/rsp-low.c (bin2hex): Never take strlen of argument.
10102 * remote.c (extended_remote_run, remote_rcmd)
10103 (remote_download_trace_state_variable, remote_save_trace_data)
10104 (remote_set_trace_notes): Update.
10105 * tracepoint.c (encode_source_string, tfile_write_status)
10106 (tfile_write_uploaded_tsv): Update.
10107
9c3d6531
TT
101082014-02-12 Tom Tromey <tromey@redhat.com>
10109
10110 * tracepoint.c: Include rsp-low.h.
10111 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
10112 * remote.c: Include rsp-low.h.
10113 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
10114 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
10115 (remote_unescape_input): Move to common/rsp-low.c.
10116 * common/rsp-low.h: New file.
10117 * common/rsp-low.c: New file.
10118 * Makefile.in (SFILES): Add common/rsp-low.c.
10119 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
10120 (COMMON_OBS): Add rsp-low.o.
10121 (rsp-low.o): New target.
10122
01fd3ea5
TT
101232014-02-12 Tom Tromey <tromey@redhat.com>
10124
10125 * utils.h: Include print-utils.h.
10126 (host_address_to_string, plongest, pulongest, phex, phex_nz)
10127 (int_string, core_addr_to_string, core_addr_to_string_nz)
10128 (hex_string, hex_string_custom): Don't declare.
10129 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
10130 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
10131 (hex_string_custom, int_string, core_addr_to_string)
10132 (core_addr_to_string_nz, host_address_to_string): Move to
10133 common/print-utils.c.
10134 * common/print-utils.h: New file.
10135 * common/print-utils.c: New file
10136 * Makefile.in (SFILES): Add common/print-utils.c.
10137 (HFILES_NO_SRCDIR): Add common/print-utils.h.
10138 (COMMON_OBS): Add print-utils.o.
10139 (print-utils.o): New target.
10140
9fb50108
TT
101412014-02-12 Tom Tromey <tromey@redhat.com>
10142
10143 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
10144
0548b5db
MK
101452014-02-12 Mark Kettenis <kettenis@gnu.org>
10146
10147 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
10148
493443a4
MK
101492014-02-12 Mark Kettenis <kettenis@gnu.org>
10150
10151 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
10152 if a PT_IO ptrace request returns sucessfully but indicates that 0
10153 bytes were transferred.
10154
706d0883
PA
101552014-02-12 Pedro Alves <palves@redhat.com>
10156 Kevin Buettner <kevinb@redhat.com>
10157
10158 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
10159 TYPE_INSTANCE_FLAG_CODE_SPACE.
10160
5caa2f0b
PA
101612014-02-12 Pedro Alves <palves@redhat.com>
10162
10163 * h8300-tdep.c (pseudo_from_raw_register)
10164 (raw_from_pseudo_register): New functions.
10165 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
10166 them.
10167
76fd5f74
PA
101682014-02-12 Pedro Alves <palves@redhat.com>
10169
10170 * h8300-tdep.c (h8300_register_sim_regno): New function.
10171 (h8300_gdbarch_init): Install h8300_register_sim_regno as
10172 gdbarch_register_sim_regno hook.
10173
8f008406
SA
101742014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10175
10176 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
10177
195abc10
SA
101782014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
10179
10180 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
10181
93ffa5b9
MK
101822014-02-12 Mark Kettenis <kettenis@gnu.org>
10183
10184 * obsd-tdep.h (obsd_init_abi): New prototype.
10185 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
10186 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
10187 (obsd_init_abi): New functions.
10188 * i386obsd-tdep.c: Include "obsd-tdep.h".
10189 (i386obsd_init_abi): Call obsd_init_abi.
10190 * amd64obsd-tdep.c: Include "obsd-tdep.h".
10191 (amd64obsd_init_abi): Call obsd_init_abi.
10192 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
10193 obsd-tdep.c to gdb_target_obs.
10194
49caec94
JM
101952014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
10196
10197 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
10198 double float arguments to 16-byte in the argument slots.
10199
e1402065
DE
102002014-02-11 Doug Evans <xdje42@gmail.com>
10201
10202 * configure.ac: Don't crash if pkg-config is not found and guile
10203 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
10204 in guile checks.
10205 * configure: Regenerate.
10206
edcc890f
YQ
102072014-02-11 Yao Qi <yao@codesourcery.com>
10208
10209 * aix-thread.c (aix_thread_xfer_partial): Update comments.
10210 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
10211 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
10212 * gnu-nat.c (gnu_xfer_memory): Likewise.
10213 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10214 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10215 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10216 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10217
9b409511
YQ
102182014-02-11 Yao Qi <yao@codesourcery.com>
10219
10220 * target.h (enum target_xfer_error): Rename to ...
10221 (enum target_xfer_status): ... it. New. All users updated.
10222 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
10223 New.
10224 (TARGET_XFER_STATUS_ERROR_P): New macro.
10225 (target_xfer_error_to_string): Remove declaration.
10226 (target_xfer_status_to_string): Declare.
10227 (target_xfer_partial_ftype): Adjust it.
10228 (struct target_ops) <to_xfer_partial>: Return
10229 target_xfer_status. Add argument xfered_len. Update
10230 comments.
10231 * target.c (target_xfer_error_to_string): Rename to ...
10232 (target_xfer_status_to_string): ... it. New. All callers
10233 updated.
10234 (target_read_live_memory): Likewise. Call target_xfer_partial
10235 instead of target_read.
10236 (memory_xfer_live_readonly_partial): Return
10237 target_xfer_status. Add argument xfered_len.
10238 (raw_memory_xfer_partial): Likewise.
10239 (memory_xfer_partial_1): Likewise.
10240 (memory_xfer_partial): Likewise.
10241 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
10242 properly. Update debug message.
10243 (default_xfer_partial, current_xfer_partial): Likewise.
10244 (target_write_partial): Likewise.
10245 (target_read_partial): Likewise. All callers updated.
10246 (read_whatever_is_readable): Likewise.
10247 (target_write_with_progress): Likewise.
10248 (target_read_alloc_1): Likewise.
10249
10250 * aix-thread.c (aix_thread_xfer_partial): Likewise.
10251 * auxv.c (procfs_xfer_auxv): Likewise.
10252 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
10253 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10254 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10255 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
10256 * corefile.c (read_memory): Adjust.
10257 * corelow.c (core_xfer_partial): Likewise.
10258 * ctf.c (ctf_xfer_partial): Likewise.
10259 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
10260 updated.
10261 (darwin_xfer_partial): Likewise.
10262 * exec.c (section_table_xfer_memory_partial): Likewise. All
10263 callers updated.
10264 (exec_xfer_partial): Likewise.
10265 * exec.h (section_table_xfer_memory_partial): Update
10266 declaration.
10267 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
10268 negative.
10269 (gnu_xfer_partial): Likewise.
10270 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
10271 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
10272 (ia64_hpux_xfer_solib_got): Likewise.
10273 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
10274 type of 'partial_len' to ULONGEST.
10275 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10276 * linux-nat.c (linux_xfer_siginfo ): Likewise.
10277 (linux_nat_xfer_partial): Likewise.
10278 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
10279 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
10280 * monitor.c (monitor_xfer_memory): Likewise.
10281 (monitor_xfer_partial): Likewise.
10282 * procfs.c (procfs_xfer_partial): Likewise.
10283 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10284 * record-full.c (record_full_xfer_partial): Likewise.
10285 (record_full_core_xfer_partial): Likewise.
10286 * remote-sim.c (gdbsim_xfer_memory): Likewise.
10287 (gdbsim_xfer_partial): Likewise.
10288 * remote.c (remote_write_bytes_aux): Likewise. All callers
10289 updated.
10290 (remote_write_bytes, remote_read_bytes): Likewise. All
10291 callers updated.
10292 (remote_flash_erase): Likewise. All callers updated.
10293 (remote_write_qxfer): Likewise. All callers updated.
10294 (remote_read_qxfer): Likewise. All callers updated.
10295 (remote_xfer_partial): Likewise.
10296 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10297 (rs6000_xfer_shared_libraries): Likewise.
10298 * sol-thread.c (sol_thread_xfer_partial): Likewise.
10299 (sol_thread_xfer_partial): Likewise.
10300 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10301 (sparc_xfer_partial): Likewise.
10302 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
10303 updated.
10304 (spu_xfer_partial): Likewise.
10305 * spu-multiarch.c (spu_xfer_partial): Likewise.
10306 * tracepoint.c (tfile_xfer_partial): Likewise.
10307 * windows-nat.c (windows_xfer_memory): Likewise.
10308 (windows_xfer_shared_libraries): Likewise.
10309 (windows_xfer_partial): Likewise.
10310 * valprint.c: Replace 'target_xfer_error' with
10311 'target_xfer_status' in comments.
10312
a8e63083
JB
103132014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
10314
10315 Checked in by Joel Brobecker <brobecker@adacore.com>.
10316 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
10317
e86b67d3
JB
103182014-02-11 Joel Brobecker <brobecker@adacore.com>
10319
10320 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
10321 function parameters.
10322
4b7d1f7f
WN
103232014-02-10 Will Newton <will.newton@linaro.org>
10324
10325 * elfread.c (elf_rel_plt_read): Look for a .got section if
10326 looking up .got.plt fails.
10327 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
10328 on address passed to elf_gnu_ifunc_record_cache.
10329 (elf_gnu_ifunc_resolve_addr): Likewise.
10330 (elf_gnu_ifunc_resolver_return_stop): Likewise.
10331
961842b2
JM
103322014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
10333
10334 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
10335 (X_RETTURN): New macro.
10336 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
10337
10338 * sparc64-tdep.c (sparc64_init_abi): Hook
10339 sparc_in_function_epilogue_p.
10340
3f03e7b1
GB
103412014-02-10 Gary Benson <gbenson@redhat.com>
10342
10343 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10344 Rename name_matcher to symbol_matcher.
10345
96f861ef
GB
103462014-02-10 Gary Benson <gbenson@redhat.com>
10347
10348 * symfile-debug.c (debug_qf_expand_symtabs_matching):
10349 Use expand_symtabs_file_matcher_ftype and
10350 expand_symtabs_symbol_matcher_ftype.
10351
ee01b665
JB
103522014-02-10 Joel Brobecker <brobecker@adacore.com>
10353
10354 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
10355 (struct ada_symbol_cache): New.
10356 (ada_free_symbol_cache): Forward declare.
10357 (struct ada_pspace_data): New.
10358 (ada_pspace_data_handle): New static global.
10359 (get_ada_pspace_data, ada_pspace_data_cleanup)
10360 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
10361 (cache_space, cache): Delete, now folded inside struct
10362 ada_pspace_data.
10363 (ada_get_symbol_cache): New function.
10364 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
10365 implementation.
10366 (_initialize_ada_language): Remove initialization of cache_space.
10367 Move call to observer_attach_inferior_exit up, grouping it
10368 with the other observer registrations inside this function.
10369 Rename command to be more general. Add call to
10370 register_program_space_data_with_cleanup.
10371
143adbbf
JB
103722014-02-10 Joel Brobecker <brobecker@adacore.com>
10373
10374 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
10375 ada_new_objfile_observer.
10376 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
10377 (_initialize_tasks): Update uses of ada_new_objfile_observer
10378 and ada_tasks_normal_stop_observer.
10379
aa4fb036
JB
103802014-02-10 Joel Brobecker <brobecker@adacore.com>
10381
10382 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
10383 returned by the 'Length attribute to integer.
10384
9dee8cc6
JB
103852014-02-10 Joel Brobecker <brobecker@adacore.com>
10386
10387 * ada-lang.c (_initialize_ada_language): Initialize
10388 cache_space obstack.
10389
3d9434b5
JB
103902014-02-10 Joel Brobecker <brobecker@adacore.com>
10391
10392 * ada-lang.c (HASH_SIZE): New macro.
10393 (struct cache_entry): New type.
10394 (cache_space, cache): New static globals.
10395 (ada_clear_symbol_cache, find_entry): New functions.
10396 (lookup_cached_symbol, cache_symbol): Implement.
10397 (ada_new_objfile_observer, ada_free_objfile_observer): New.
10398 (_initialize_ada_language): Attach ada_new_objfile_observer
10399 and ada_free_objfile_observer.
10400
f0c5f9b2
JB
104012014-02-10 Joel Brobecker <brobecker@adacore.com>
10402
10403 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
10404 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
10405 struct block * parameter.
10406 (ada_lookup_symbol_list_worker): Constify local variable "block".
10407 Remove cast which is no longer necessary.
10408
ed3ef339
DE
104092014-02-10 Doug Evans <xdje42@gmail.com>
10410
10411 Add Guile as an extension language.
10412 * NEWS: Mention Guile scripting.
10413 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
10414 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
10415 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
10416 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
10417 (CLIBS): Add GUILE_LIBS.
10418 (install-guile): New rule.
10419 (guile.o): New rule.
10420 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
10421 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
10422 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
10423 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
10424 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
10425 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
10426 (scm-type.o, scm-utils.o, scm-value.o): New rules.
10427 * configure.ac: New option --with-guile.
10428 * configure: Regenerate.
10429 * config.in: Regenerate.
10430 * auto-load.c: Remove #include "python/python.h". Add #include
10431 "gdb/section-scripts.h".
10432 (source_section_scripts): Handle Guile scripts.
10433 (_initialize_auto_load): Add name of Guile objfile script to
10434 scripts-directory help text.
10435 * breakpoint.c (condition_command): Tweak comment to include Scheme.
10436 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
10437 (struct breakpoint): New member scm_bp_object.
10438 * defs.h (enum command_control_type): New value guile_control.
10439 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
10440 "extension.h".
10441 (show_user): Update comment.
10442 (_initialize_cli_cmds): Update help text for "show user". Update help
10443 text for max-user-call-depth.
10444 * cli/cli-script.c: Remove #include "python/python.h". Add #include
10445 "extension.h".
10446 (multi_line_command_p): Add guile_control.
10447 (print_command_lines): Handle guile_control.
10448 (execute_control_command, recurse_read_control_structure): Ditto.
10449 (process_next_line): Recognize "guile" commands.
10450 * disasm.c (gdb_disassemble_info): Make non-static.
10451 * disasm.h: #include "dis-asm.h".
10452 (struct gdbarch): Add forward decl.
10453 (gdb_disassemble_info): Declare.
10454 * extension.c: #include "guile/guile.h".
10455 (extension_languages): Add guile.
10456 (get_ext_lang_defn): Handle EXT_LANG_GDB.
10457 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
10458 * gdbtypes.c (get_unsigned_type_max): New function.
10459 (get_signed_type_minmax): New function.
10460 * gdbtypes.h (get_unsigned_type_max): Declare.
10461 (get_signed_type_minmax): Declare.
10462 * guile/README: New file.
10463 * guile/guile-internal.h: New file.
10464 * guile/guile.c: New file.
10465 * guile/guile.h: New file.
10466 * guile/scm-arch.c: New file.
10467 * guile/scm-auto-load.c: New file.
10468 * guile/scm-block.c: New file.
10469 * guile/scm-breakpoint.c: New file.
10470 * guile/scm-disasm.c: New file.
10471 * guile/scm-exception.c: New file.
10472 * guile/scm-frame.c: New file.
10473 * guile/scm-gsmob.c: New file.
10474 * guile/scm-iterator.c: New file.
10475 * guile/scm-lazy-string.c: New file.
10476 * guile/scm-math.c: New file.
10477 * guile/scm-objfile.c: New file.
10478 * guile/scm-ports.c: New file.
10479 * guile/scm-pretty-print.c: New file.
10480 * guile/scm-safe-call.c: New file.
10481 * guile/scm-string.c: New file.
10482 * guile/scm-symbol.c: New file.
10483 * guile/scm-symtab.c: New file.
10484 * guile/scm-type.c: New file.
10485 * guile/scm-utils.c: New file.
10486 * guile/scm-value.c: New file.
10487 * guile/lib/gdb.scm: New file.
10488 * guile/lib/gdb/boot.scm: New file.
10489 * guile/lib/gdb/experimental.scm: New file.
10490 * guile/lib/gdb/init.scm: New file.
10491 * guile/lib/gdb/iterator.scm: New file.
10492 * guile/lib/gdb/printing.scm: New file.
10493 * guile/lib/gdb/types.scm: New file.
10494 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
10495 (VPATH): Add $(GUILE_SRCDIR).
10496 (GUILE_DIR): New variable.
10497 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
10498 (all): Add stamp-guile dependency.
10499 (stamp-guile): New rule.
10500 (clean-guile, install-guile, uninstall-guile): New rules.
10501 (install-only): Add install-guile dependency.
10502 (uninstall): Add uninstall-guile dependency.
10503 (clean): Add clean-guile dependency.
10504
ac020ec5
DE
105052014-02-09 Doug Evans <xdje42@gmail.com>
10506
10507 Revert this patch (which I approved, mea culpa).
10508
10509 2014-02-08 Mark Kettenis <kettenis@gnu.org>
10510
10511 * Makefile.in (all-lib): Remove.
10512 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10513
2a081c59
JK
105142014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
10515
10516 Fix Python stack corruption.
10517 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
10518 gdb_py_longest.
10519
0a6bd22d
MK
105202014-02-08 Mark Kettenis <kettenis@gnu.org>
10521
10522 * Makefile.in (all-lib): Remove.
10523 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
10524
1a860409
DE
105252014-02-07 Doug Evans <dje@google.com>
10526
10527 * extension-priv.h (extension_language_script_ops): Add comment.
10528 (extension_language_ops): Add comment.
caf5a491 10529 (active_ext_lang_state): Fix typo in comment.
1a860409 10530
d137e6dc
PA
105312014-02-07 Pedro Alves <palves@redhat.com>
10532
0dcb32c3 10533 PR breakpoints/16292
d137e6dc
PA
10534 * infrun.c (handle_signal_stop) <signal arrives while stepping
10535 over a breakpoint>: Switch back to the stepping thread.
10536
ce6d0892
YQ
105372014-02-07 Yao Qi <yao@codesourcery.com>
10538
10539 * target.c (target_xfer_partial): Return zero if LEN is zero.
10540
2ed4b548
YQ
105412014-02-07 Yao Qi <yao@codesourcery.com>
10542
10543 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
10544 (ld_so_xfer_auxv): Likewise.
10545 * bfd-target.c (target_bfd_xfer_partial): Likewise.
10546 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
10547 * corelow.c (core_xfer_partial): Likewise.
10548 * ctf.c (ctf_xfer_partial): Likewise.
10549 * darwin-nat.c (darwin_read_dyld_info): Likewise.
10550 (darwin_xfer_partial): Likewise.
10551 * exec.c (exec_xfer_partial): Likewise.
10552 * gnu-nat.c (gnu_xfer_partial): Likewise.
10553 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
10554 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
10555 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
10556 * linux-nat.c (linux_xfer_siginfo): Likewise.
10557 (linux_proc_xfer_spu): Likewise.
10558 * procfs.c (procfs_xfer_partial): Likewise.
10559 * record-full.c (record_full_xfer_partial): Likewise.
10560 (record_full_core_xfer_partial): Likewise.
10561 * remote-sim.c (gdbsim_xfer_partial): Likewise.
10562 * remote.c (remote_write_qxfer): Likewise.
10563 (remote_write_qxfer, remote_read_qxfer): Likewise.
10564 (remote_xfer_partial): Likewise.
10565 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
10566 (rs6000_xfer_shared_libraries): Likewise.
10567 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
10568 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
10569 (spu_xfer_partial): Likewise.
10570 * target.c (memory_xfer_partial_1): Likewise.
10571 * tracepoint.c (tfile_xfer_partial): Likewise.
10572 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
10573 (windows_xfer_partial): Likewise.
10574
c09f20e4
YQ
105752014-02-07 Yao Qi <yao@codesourcery.com>
10576
10577 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
10578 comments.
10579 (core_xfer_shared_libraries_aix): Likewise.
10580 * gdbarch.c, gdbarch.h: Regenerated.
10581 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
10582 ULONGEST. Change 'len_avail' type to ULONGEST.
10583 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
10584 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
10585 declaration.
10586 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
10587
8635b3bf
YQ
105882014-02-07 Yao Qi <yao@codesourcery.com>
10589
10590 * corefile.c (memory_error): Get 'exception' from ERR and pass
10591 'exception' to throw_error.
10592
6dddc817
DE
105932014-02-06 Doug Evans <xdje42@gmail.com>
10594
10595 * configure.ac (libpython checking): Remove all but python.o from
10596 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
10597 * configure: Regenerate.
10598
10599 * Makefile.in (SFILES): Add extension.c.
10600 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
10601 (COMMON_OBS): Add extension.o.
10602 * extension.h: New file.
10603 * extension-priv.h: New file.
10604 * extension.c: New file.
10605
10606 * python/python-internal.h: #include "extension.h".
10607 (gdbpy_auto_load_enabled): Declare.
10608 (gdbpy_apply_val_pretty_printer): Declare.
10609 (gdbpy_apply_frame_filter): Declare.
10610 (gdbpy_preserve_values): Declare.
10611 (gdbpy_breakpoint_cond_says_stop): Declare.
10612 (gdbpy_breakpoint_has_cond): Declare.
10613 (void source_python_script_for_objfile): Delete.
10614 * python/python.c: #include "extension-priv.h".
10615 Delete inclusion of "observer.h".
10616 (extension_language_python): Moved here and renamed from
10617 script_language_python in py-auto-load.c.
10618 Redefined to be of type extension_language_defn.
10619 (python_extension_script_ops): New global.
10620 (python_extension_ops): New global.
10621 (struct python_env): New member previous_active.
10622 (restore_python_env): Call restore_active_ext_lang.
10623 (ensure_python_env): Call set_active_ext_lang.
10624 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
10625 New arg extlang.
10626 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
10627 New arg extlang.
10628 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
10629 New arg extlang.
10630 (gdbpy_eval_from_control_command): Renamed from
10631 eval_python_from_control_command, made static. New arg extlang.
10632 (gdbpy_source_script) Renamed from source_python_script, made static.
10633 New arg extlang.
10634 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
10635 result to int. New arg extlang.
10636 (gdbpy_source_objfile_script): Renamed from
10637 source_python_script_for_objfile, made static. New arg extlang.
10638 (gdbpy_start_type_printers): Renamed from start_type_printers, made
10639 static. New args extlang, extlang_printers. Change result type to
10640 "void".
10641 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
10642 static. New arg extlang. Rename arg printers to extlang_printers
10643 and change type to ext_lang_type_printers *.
10644 (gdbpy_free_type_printers): Renamed from free_type_printers, made
10645 static. Replace argument arg with extlang, extlang_printers.
10646 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
10647 (!HAVE_PYTHON, source_python_script): Delete.
10648 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
10649 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
10650 (!HAVE_PYTHON, start_type_printers): Delete.
10651 (!HAVE_PYTHON, apply_type_printers): Delete.
10652 (!HAVE_PYTHON, free_type_printers): Delete.
10653 (_initialize_python): Delete call to observer_attach_before_prompt.
10654 (finalize_python): Set/restore active extension language.
10655 (gdbpy_finish_initialization) Renamed from
10656 finish_python_initialization, made static. New arg extlang.
10657 (gdbpy_initialized): New function.
10658 * python/python.h: #include "extension.h". Delete #include
10659 "value.h", "mi/mi-cmds.h".
10660 (extension_language_python): Declare.
10661 (GDBPY_AUTO_FILE_NAME): Delete.
10662 (enum py_bt_status): Moved to extension.h and renamed to
10663 ext_lang_bt_status.
10664 (enum frame_filter_flags): Moved to extension.h.
10665 (enum py_frame_args): Moved to extension.h and renamed to
10666 ext_lang_frame_args.
10667 (finish_python_initialization): Delete.
10668 (eval_python_from_control_command): Delete.
10669 (source_python_script): Delete.
10670 (apply_val_pretty_printer): Delete.
10671 (apply_frame_filter): Delete.
10672 (preserve_python_values): Delete.
10673 (gdbpy_script_language_defn): Delete.
10674 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
10675 (start_type_printers, apply_type_printers, free_type_printers): Delete.
10676
10677 * auto-load.c: #include "extension.h".
10678 (GDB_AUTO_FILE_NAME): Delete.
10679 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
10680 (script_language_gdb): Delete, moved to extension.c and renamed to
10681 extension_language_gdb.
10682 (source_gdb_script_for_objfile): Delete.
10683 (auto_load_pspace_info): New member unsupported_script_warning_printed.
10684 (loaded_script): Change type of language member to
10685 struct extension_language_defn *.
10686 (init_loaded_scripts_info): Initialize
10687 unsupported_script_warning_printed.
10688 (maybe_add_script): Make static. Change type of language arg to
10689 struct extension_language_defn *.
10690 (clear_section_scripts): Reset unsupported_script_warning_printed.
10691 (auto_load_objfile_script_1): Rewrite to use extension language API.
10692 (auto_load_objfile_script): Make public. Remove support-compiled-in
10693 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
10694 (source_section_scripts): Rewrite to use extension language API.
10695 (load_auto_scripts_for_objfile): Rewrite to use
10696 auto_load_scripts_for_objfile.
10697 (collect_matching_scripts_data): Change type of language member to
10698 struct extension_language_defn *.
10699 (auto_load_info_scripts): Change type of language arg to
10700 struct extension_language_defn *.
10701 (unsupported_script_warning_print): New function.
10702 (script_not_found_warning_print): Make static.
10703 (_initialize_auto_load): Rewrite construction of scripts-directory
10704 help.
10705 * auto-load.h (struct objfile): Add forward decl.
10706 (struct script_language): Delete.
10707 (struct auto_load_pspace_info): Add forward decl.
10708 (struct extension_language_defn): Add forward decl.
10709 (maybe_add_script): Delete.
10710 (auto_load_objfile_script): Declare.
10711 (script_not_found_warning_print): Delete.
10712 (auto_load_info_scripts): Update prototype.
10713 (auto_load_gdb_scripts_enabled): Declare.
10714 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
10715 auto_load_python_scripts_enabled and made public.
10716 (script_language_python): Delete, moved to python.c.
10717 (gdbpy_script_language_defn): Delete.
10718 (info_auto_load_python_scripts): Update to use
10719 extension_language_python.
10720
10721 * breakpoint.c (condition_command): Replace call to
10722 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
10723 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
10724 with call to breakpoint_ext_lang_cond_says_stop.
10725 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
10726 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
10727 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
10728 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
10729 New arg slang.
10730 (local_setattro): Print name of extension language with existing
10731 stop condition.
10732
10733 * valprint.c (val_print, value_print): Update to call
10734 apply_ext_lang_val_pretty_printer.
10735 * cp-valprint.c (cp_print_value): Update call to
10736 apply_ext_lang_val_pretty_printer.
10737 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
10738 (gdbpy_apply_val_pretty_printer): Renamed from
10739 apply_val_pretty_printer. New arg extlang.
10740 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
10741
10742 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
10743 extension language API.
10744 * cli/cli-script.c (execute_control_command): Update to call
10745 eval_ext_lang_from_control_command.
10746
10747 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
10748 enum ext_lang_bt_status values. Update call to
10749 apply_ext_lang_frame_filter.
10750 (mi_cmd_stack_list_locals): Ditto.
10751 (mi_cmd_stack_list_args): Ditto.
10752 (mi_cmd_stack_list_variables): Ditto.
10753 * mi/mi-main.c: Delete #include "python/python-internal.h".
10754 Add #include "extension.h".
10755 (mi_cmd_list_features): Replace reference to python internal variable
10756 gdb_python_initialized with call to ext_lang_initialized_p.
10757
10758 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
10759 Update to use enum ext_lang_frame_args. Update to call
10760 apply_ext_lang_frame_filter.
10761 * python/py-framefilter.c (extract_sym): Update to use enum
10762 ext_lang_bt_status.
10763 (extract_value, py_print_type, py_print_value): Ditto.
10764 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
10765 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
10766 (py_print_frame): Ditto.
10767 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
10768 New arg extlang. Update to use enum ext_lang_bt_status.
10769
10770 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
10771 finish_python_initialization. Replace with call to
10772 finish_ext_lang_initialization.
10773
10774 * typeprint.c (do_free_global_table): Update to call
10775 free_ext_lang_type_printers.
10776 (create_global_typedef_table): Update to call
10777 start_ext_lang_type_printers.
10778 (find_global_typedef): Update to call apply_ext_lang_type_printers.
10779 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
10780 (type_print_options): Change type of global_printers from "void *"
10781 to "struct ext_lang_type_printers *".
10782
10783 * value.c (preserve_values): Update to call preserve_ext_lang_values.
10784 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
10785 (gdbpy_preserve_values): Renamed from preserve_python_values.
10786 New arg extlang.
10787 (!HAVE_PYTHON, preserve_python_values): Delete.
10788
10789 * utils.c (quit_flag): Delete, moved to extension.c.
10790 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
10791 extension.c.
10792
10793 * eval.c: Delete #include "python/python.h".
10794 * main.c: Delete #include "python/python.h".
10795
10796 * defs.h: Update comment.
10797
6af79985
JB
107982014-02-06 Joel Brobecker <brobecker@adacore.com>
10799
10800 GDB 7.7 released.
10801
12c5175d
MK
108022014-02-05 Mark Kettenis <kettenis@gnu.org>
10803
10804 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
10805 defined.
10806
8dc5b319
YQ
108072014-02-05 Yao Qi <yao@codesourcery.com>
10808
10809 * remote.c (remote_pass_signals): Remove local 'buf' and use
10810 rs->buf.
10811 (remote_program_signals): Likewise.
10812
de7b2893
YQ
108132014-02-05 Yao Qi <yao@codesourcery.com>
10814
10815 * ctf.c: Include "inferior.h" and "gdbthread.h".
10816 (CTF_PID): A new macro.
10817 (ctf_open): Call inferior_appeared and add_thread_silent.
10818 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
10819 (ctf_thread_alive): New function.
10820 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
10821
66d032ac
YQ
108222014-02-05 Yao Qi <yao@codesourcery.com>
10823
10824 Revert this patch:
10825
10826 2013-05-24 Yao Qi <yao@codesourcery.com>
10827
10828 * tracepoint.c (TFILE_PID): Remove.
10829 (tfile_open): Don't add thread and inferior.
10830 (tfile_close): Don't set 'inferior_ptid'. Don't call
10831 exit_inferior_silent.
10832 (tfile_thread_alive): Remove.
10833 (init_tfile_ops): Don't set field 'to_thread_alive' of
10834 tfile_ops.
10835
f4ccffad
CE
108362014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
10837
10838 * remote.c (remote_start_remote): Call remote_check_symbols even
10839 if only symbol-file (not file) has been given.
10840
591a12a1
UW
108412014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10842
10843 * gdbarch.sh (skip_entrypoint): New callback.
10844 * gdbarch.c, gdbarch.h: Regenerate.
10845 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
10846 * infrun.c (fill_in_stop_func): Likewise.
10847 * ppc-linux-tdep.c: Include "elf/ppc64.h".
10848 (ppc_elfv2_elf_make_msymbol_special): New function.
10849 (ppc_elfv2_skip_entrypoint): Likewise.
10850 (ppc_linux_init_abi): Install them for ELFv2.
10851
cc0e89c5
UW
108522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10853
10854 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
10855 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
10856 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
10857 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
10858 structures returned in GPRs.
10859
52f548e4
UW
108602014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10861
10862 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
10863 offset to the stack parameter list for the ELFv2 ABI.
10864
d4094b6a
UW
108652014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10866
10867 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
10868 set_gdbarch_convert_from_func_ptr_addr and
10869 set_gdbarch_elf_make_msymbol_special for ELFv1.
10870 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
10871 function descriptors on ELFv1.
10872 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
10873 set up r12 at function entry.
10874
cd453cd0
UW
108752014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10876
10877 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
10878 (struct gdbarch_tdep): New member elf_abi.
10879
10880 * rs6000-tdep.c: Include "elf/ppc64.h".
10881 (rs6000_gdbarch_init): Detect ELF ABI version.
10882
0ff3e01f
UW
108832014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10884
10885 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
10886 within a register pair holding a DFP 128-bit value on little-endian.
10887 (ppc64_sysv_abi_return_value_base): Likewise.
10888 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
10889 (dfp_pseudo_register_write): Likewise.
10890
5b757e5d
UW
108912014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10892
10893 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
10894 offset on little-endian when passing _Decimal32.
10895 (ppc64_sysv_abi_return_value_base): Likewise for return values.
10896
084ee545
UW
108972014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10898
10899 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
10900 of the overlapped FP register within the VSX register on little-
10901 endian platforms.
10902 (efpr_pseudo_register_write): Likewise.
10903
d63167af
UW
109042014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10905
10906 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
10907 offset on little-endian when passing small structures.
10908
e765b44c
UW
109092014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10910
10911 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
10912 (struct ppc64_sysv_argpos): New data structure.
10913 (ppc64_sysv_abi_push_float): Remove.
10914 (ppc64_sysv_abi_push_val): New function.
10915 (ppc64_sysv_abi_push_integer): Likewise.
10916 (ppc64_sysv_abi_push_freg): Likewise.
10917 (ppc64_sysv_abi_push_vreg): Likewise.
10918 (ppc64_sysv_abi_push_param): Likewise.
10919 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
10920 (ppc64_sysv_abi_return_value_base): New function.
10921 (ppc64_sysv_abi_return_value): Refactor to use it.
10922
36c24d95
UW
109232014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
10924
10925 * NEWS: Document new target powerpc64le-*-linux*.
10926
26fd9228
MK
109272014-02-04 Mark Kettenis <kettenis@gnu.org>
10928
10929 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
10930 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
10931 core dumps.
10932 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
10933 register set used in ELF core dumps. Add floating-point register set.
10934
c5bb7362
KB
109352014-02-03 Kevin Buettner <kevinb@redhat.com>
10936
74228e77 10937 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
10938 dwarf2_to_gdb[] table using symbolic constants. Adjust
10939 penultimate entry from number representing the PC register
10940 to symbolic constant representing the MDR register. Add
10941 constant for the PC register to the end of the table.
10942
af09351e
MK
109432014-02-03 Mark Kettenis <kettenis@gnu.org>
10944
10945 * bsd-kvm.c: Include <sys/param.h>
10946
8507e05d
MK
109472014-02-03 Mark Kettenis <kettenis@gnu.org>
10948
10949 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
10950
ae56bfb8
JB
109512014-01-31 Joel Brobecker <brobecker@adacore.com>
10952
10953 * ada-lang.h (clear_ada_sym_cache): Delete.
10954
718ee4dc
UW
109552014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
10956
10957 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
10958
401e27fd
JM
109592014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
10960
10961 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
10962 the sigreturn register save area only if the syscall is
10963 sigreturn.
10964
a7c88acd
JB
109652014-01-29 Joel Brobecker <brobecker@adacore.com>
10966
10967 * valops.c (value_slice): Minor reformatting.
10968
fa0079ea
UW
109692014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
10970
10971 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
10972
c6044dd1
JB
109732014-01-28 Joel Brobecker <brobecker@adacore.com>
10974
10975 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
10976 New static globals.
10977 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
10978 (ada_ignore_descriptive_types_p): New static global.
10979 (find_parallel_type_by_descriptive_type): Return immediately
10980 if ada_ignore_descriptive_types_p is set.
10981 (_initialize_ada_language): Register new commands "maintenance
10982 set ada", "maintenance show ada", "maintenance set ada
10983 ignore-descriptive-types" and "maintenance show ada
10984 ignore-descriptive-types".
10985 * NEWS: Add entry for new "maint ada set/show
10986 ignore-descriptive-types" commands.
10987
568e808b
MM
109882014-01-27 Markus Metzger <markus.t.metzger@intel.com>
10989
10990 * record-btrace.c (record_btrace_close): Call btrace_teardown
10991 for all threads.
10992
467d141b
JB
109932014-01-27 Joel Brobecker <brobecker@adacore.com>
10994
10995 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
10996 "ui-out.h".
10997
fb151210
JB
109982014-01-27 Joel Brobecker <brobecker@adacore.com>
10999
11000 * ada-typeprint (type_is_full_subrange_of_target_type):
11001 New function.
11002 (print_range): Add parameter bounds_prefered_p. If not set,
11003 try printing range types using the name of their base type.
11004 (print_range_type): Add parameter bounds_prefered_p.
11005 Use it in call to print_range.
11006 (print_array_type, ada_print_type): Update calls to print_range
11007 and print_range_type.
11008
aba02109
JB
110092014-01-27 Joel Brobecker <brobecker@adacore.com>
11010
11011 * ada-typeprint.c (print_array_type, print_choices, print_range)
11012 (print_range_bound, print_dynamic_range_bound, print_range_type):
11013 Remove declaration.
11014
e62e21fd
JB
110152014-01-27 Joel Brobecker <brobecker@adacore.com>
11016
11017 * ada-typeprint.c (print_range): Add missing empty line
11018 after local declaration.
11019
859cf5d1
JB
110202014-01-27 Joel Brobecker <brobecker@adacore.com>
11021
11022 * ada-valprint.c (print_optional_low_bound): Get index_type's
11023 target type for as long as it is a TYPE_CODE_RANGE.
11024
25790f6f
JB
110252014-01-27 Joel Brobecker <brobecker@adacore.com>
11026
11027 * procfs.c (procfs_make_note_section): Remove assertion and
11028 associated comment.
11029
6b6aa828
YQ
110302014-01-24 Yao Qi <yao@codesourcery.com>
11031
11032 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
11033 * corelow.c (get_core_siginfo): Likewise.
11034
5d6df423
YQ
110352014-01-24 Yao Qi <yao@codesourcery.com>
11036
11037 * remote.c (remote_write_bytes_aux): Change type of 'len' to
11038 ULONGEST. Don't check 'len' is negative.
11039 (remote_write_bytes): Change type of 'len' to ULONGEST.
11040
83b645b8
TT
110412014-01-23 Tom Tromey <tromey@redhat.com>
11042
11043 PR python/16485:
11044 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
11045 Handle exception from frame.block.
11046 (FrameVars.fetch_frame_locals): Likewise.
11047
0740f8d8
TT
110482014-01-23 Tom Tromey <tromey@redhat.com>
11049
11050 PR python/16487:
11051 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
11052 on a NULL pointer. Move "goto error" to correct place.
11053
21909fa1
TT
110542014-01-23 Tom Tromey <tromey@redhat.com>
11055
11056 PR python/16491:
11057 * python/py-framefilter.c (apply_frame_filter): Call
11058 ensure_python_env after computing gdbarch.
11059
17fde6d0
YQ
110602014-01-23 Yao Qi <yao@codesourcery.com>
11061
11062 * target.c (raw_memory_xfer_partial): Change argument type
11063 from void * to gdb_byte *.
11064 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
11065
87ce2a04
DE
110662014-01-22 Doug Evans <dje@google.com>
11067
11068 New gdbserver option --debug-format=timestamp.
11069 * NEWS: Mention it.
11070
237b092b
AA
110712014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
11072
11073 * syscalls/s390x-linux.xml: New file.
11074 * syscalls/s390-linux.xml: New file.
11075 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
11076 (XML_SYSCALL_FILENAME_S390X): Likewise.
11077 (op_svc): New enum value for SVC opcode.
11078 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
11079 (s390_linux_get_syscall_number): New function.
11080 (s390_gdbarch_init): Register '*get_syscall_number' and the
11081 syscall xml file name.
11082 * data-directory/Makefile.in (SYSCALLS_FILES): Add
11083 "s390-linux.xml" and "s390x-linux.xml".
11084 * NEWS: Announce new feature.
11085
54bff650
BS
110862014-01-22 Baruch Siach <baruch@tkos.co.il>
11087
11088 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
11089
14e361d7
PA
110902014-01-22 Pedro Alves <palves@redhat.com>
11091
11092 * xtensa-config.c: Include defs.h.
11093
46bbb3ed
JB
110942014-01-22 Joel Brobecker <brobecker@adacore.com>
11095
11096 * common/common-utils.h: Add "ARI:" comment beside __func__
11097 reference.
11098
3a80edfc
JB
110992014-01-22 Joel Brobecker <brobecker@adacore.com>
11100
11101 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
11102 documentation a bit.
11103
4869db5e
RM
111042014-01-21 Roland McGrath <mcgrathr@google.com>
11105
11106 * configure.ac: Call AM_PROG_INSTALL_STRIP.
11107 * configure: Regenerate.
11108 * aclocal.m4: Regenerate.
11109 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
11110 New substituted variables.
11111 (install-strip): New target.
11112 (INSTALL_SCRIPT): New substituted variable.
11113 (FLAGS_TO_PASS): Add it.
11114 (install-only): Use $(INSTALL_SCRIPT) rather than
11115 $(INSTALL_PROGRAM) for gcore.
11116
9ea4267d
TT
111172014-01-20 Tom Tromey <tromey@redhat.com>
11118
11119 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
11120 together.
11121
1f2bdf09
TT
111222014-01-20 Tom Tromey <tromey@redhat.com>
11123
11124 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
11125 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
11126 (deprecated_cmd_warning, complete_on_cmdlist): Update.
11127 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
11128 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
11129 (struct cmd_list_element) <flags>: Remove.
11130 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
11131 doc_allocated>: New fields.
11132 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
11133 bitfields.
11134 * maint.c (maintenance_do_deprecate): Update.
11135 * top.c (execute_command): Update.
11136
e671835b
BS
111372014-01-20 Baruch Siach <baruch@tkos.co.il>
11138
11139 * xtensa-linux-nat.c: Include asm/ptrace.h.
11140
50367cd2
IB
111412014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11142
11143 * Makefile.in (SFILES): Add d-support.c.
11144 (COMMON_OBS): Add d-support.o.
11145 * d-lang.h (d_parse_symbol): Add comment, now defined in
11146 d-support.c.
11147 * d-lang.c (parse_call_convention)
11148 (parse_attributes, parse_function_types)
11149 (parse_function_args, parse_type, parse_identifier)
11150 (call_convention_p, d_parse_symbol): Move functions to ...
11151 * d-support.c: ... New file.
11152
ec9f644a
IB
111532014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11154
11155 * d-lang.h (d_parse_symbol): Add declaration.
11156 * d-lang.c (extract_identifiers)
11157 (extract_type_info): Remove functions.
11158 (parse_call_convention, parse_attributes)
11159 (parse_function_types, parse_function_args)
11160 (parse_type, parse_identifier, call_convention_p)
11161 (d_parse_symbol): New functions.
11162 (d_demangle): Use d_parse_symbol to demangle D symbols.
11163
94b1b47e
IB
111642014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11165
11166 * d-lang.h (struct builtin_d_type): New data type.
11167 (builtin_d_type): Add declaration.
11168 * d-lang.c (d_language_arch_info, build_d_types)
11169 (builtin_d_type): New functions.
11170 (enum d_primitive_types): New data type.
11171 (d_language_defn): Change c_language_arch_info to
11172 d_language_arch_info.
11173 (d_type_data): New static variable.
11174 (_initialize_d_language): Initialize d_type_data.
11175
63778547
IB
111762014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11177
11178 * d-lang.h (d_main_name): Add declaration.
11179 * d-lang.c (d_main_name): New function.
11180 * symtab.c (find_main_name): Add call to d_main_name.
11181
3271ba66
IB
111822014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11183
11184 * d-lang.c (d_language_defn): Change macro_expansion_c to
11185 macro_expansion_no.
11186
d36b3012
IB
111872014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
11188
11189 * MAINTAINERS: Add myself as a write-after-approval maintainer.
11190
c90a6fb7
SDJ
111912014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
11192
11193 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
11194 gdb_exception" declaration.
11195 * remote.c (getpkt_or_notif_sane): Likewise.
11196
749234e5
DE
111972014-01-17 Doug Evans <dje@google.com>
11198
11199 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
11200 function, contents of dirnames_to_char_ptr_vec_append moved here.
11201 (delim_string_to_char_ptr_vec): New function.
11202 (dirnames_to_char_ptr_vec_append): Rewrite.
11203 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
11204
df049a58
DE
112052014-01-17 Doug Evans <dje@google.com>
11206
11207 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
11208 and moved here ...
11209 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
11210 #include "common-utils.h".
11211 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
11212 * common/vec.h (VEC_ASSERT_PASS): Update.
11213 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
11214 (MACH_CHECK_ERROR): Update.
11215
69f97648
SM
112162014-01-17 Simon Marchi <simon.marchi@ericsson.com>
11217
11218 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
11219 comments.
11220 * gdbarch.h: Regenerate.
11221
98b1cfdc
TT
112222014-01-16 Tom Tromey <tromey@redhat.com>
11223
11224 * value.c (struct value) <regnum>: Move earlier.
11225
77a19445
TT
112262014-01-16 Tom Tromey <tromey@redhat.com>
11227
11228 * remote.c (extended_remote_create_inferior): Rename from
11229 extended_remote_create_inferior_1. Add "ops" argument. Remove
11230 old implementation.
11231
62261490
PA
112322014-01-16 Pedro Alves <palves@redhat.com>
11233
11234 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
11235 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
11236 the backchain.
11237
4d65956b
DE
112382014-01-16 Doug Evans <dje@google.com>
11239
11240 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
11241
52834460
MM
112422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11243
11244 * btrace.h (btrace_thread_flag): New.
11245 (struct btrace_thread_info) <flags>: New.
11246 * record-btrace.c (record_btrace_resume_thread)
11247 (record_btrace_find_thread_to_move, btrace_step_no_history)
11248 (btrace_step_stopped, record_btrace_start_replaying)
11249 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
11250 (record_btrace_find_resume_thread): New.
11251 (record_btrace_resume, record_btrace_wait): Extend.
11252 (record_btrace_can_execute_reverse): New.
11253 (record_btrace_open): Fail in non-stop mode.
11254 (record_btrace_set_replay): Split into this, ...
11255 (record_btrace_stop_replaying): ... this, ...
11256 (record_btrace_clear_histories): ... and this.
11257 (init_record_btrace_ops): Init to_can_execute_reverse.
11258 * NEWS: Announce it.
11259
118e6252
MM
112602014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11261
11262 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
11263 (forward_target_decr_pc_after_break)
11264 (target_decr_pc_after_break): New.
11265 * target.c (forward_target_decr_pc_after_break)
11266 (target_decr_pc_after_break): New.
11267 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
11268 instead of gdbarch_decr_pc_after_break.
11269 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11270 instead of gdbarch_decr_pc_after_break.
11271 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
11272 instead of gdbarch_decr_pc_after_break.
11273 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
11274 instead of gdbarch_decr_pc_after_break.
11275 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
11276 instead of gdbarch_decr_pc_after_break.
11277 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
11278 instead of gdbarch_decr_pc_after_break.
11279
6e07b1d2
MM
112802014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11281
11282 * btrace.c: Include regcache.h.
11283 (btrace_add_pc): New.
11284 (btrace_enable): Call btrace_add_pc.
11285 (btrace_is_empty): New.
11286 * btrace.h (btrace_is_empty): New.
11287 * record-btrace.c (require_btrace, record_btrace_info): Call
11288 btrace_is_empty.
11289
969c39fb
MM
112902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11291
11292 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
11293 Support delta reads.
11294 (linux_disable_btrace): Change return type.
11295 * common/linux-btrace.h (linux_read_btrace): Change parameters
11296 and return type to allow error reporting. Update users.
11297 (linux_disable_btrace): Change return type. Update users.
11298 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
11299 New.
11300 (btrace_error): New.
11301 (btrace_block) <begin>: Comment on BEGIN == 0.
11302 * btrace.c (btrace_compute_ftrace): Start from the end of
11303 the current trace.
11304 (btrace_stitch_trace, btrace_clear_history): New.
11305 (btrace_fetch): Read delta trace, return if replaying.
11306 (btrace_clear): Move clear history code to btrace_clear_history.
11307 (parse_xml_btrace): Throw an error if parsing failed.
11308 * target.h (struct target_ops) <to_read_btrace>: Change parameters
11309 and return type to allow error reporting.
11310 (target_read_btrace): Change parameters and return type to allow
11311 error reporting.
11312 * target.c (target_read_btrace): Update.
11313 * remote.c (remote_read_btrace): Support delta reads. Pass
11314 errors on.
11315 * NEWS: Announce it.
11316
0b722aec
MM
113172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11318
11319 * record.h (record_btrace_frame_unwind)
11320 (record_btrace_tailcall_frame_unwind): New declarations.
11321 * dwarf2-frame: Include record.h
11322 (dwarf2_frame_cfa): Throw an error for btrace frames.
11323 * record-btrace.c: Include hashtab.h.
11324 (btrace_get_bfun_name): New.
11325 (btrace_call_history): Call btrace_get_bfun_name.
11326 (struct btrace_frame_cache): New.
11327 (bfcache): New.
11328 (bfcache_hash, bfcache_eq, bfcache_new): New.
11329 (btrace_get_frame_function): New.
11330 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
11331 (record_btrace_frame_this_id): Compute own id.
11332 (record_btrace_frame_prev_register): Provide PC, throw_error
11333 for all other registers.
11334 (record_btrace_frame_sniffer): Detect btrace frames.
11335 (record_btrace_tailcall_frame_sniffer): New.
11336 (record_btrace_frame_dealloc_cache): New.
11337 (record_btrace_frame_unwind): Add new functions.
11338 (record_btrace_tailcall_frame_unwind): New.
11339 (_initialize_record_btrace): Allocate cache.
11340 * btrace.c (btrace_clear): Call reinit_frame_cache.
11341 * NEWS: Announce it.
11342
066ce621
MM
113432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11344
11345 * record-btrace.c (record_btrace_set_replay)
11346 (record_btrace_goto_begin, record_btrace_goto_end)
11347 (record_btrace_goto): New.
11348 (init_record_btrace_ops): Initialize them.
11349 * NEWS: Announce it.
11350
e2887aa3
MM
113512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11352
11353 * record-btrace.c (record_btrace_find_new_threads)
11354 (record_btrace_thread_alive): New.
11355 (init_record_btrace_ops): Initialize to_find_new_threads and
11356 to_thread_alive.
11357
b2f4cfde
MM
113582014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11359
11360 * record-btrace.c (record_btrace_resume): New.
11361 (record_btrace_wait): New.
11362 (init_record_btrace_ops): Initialize to_wait and to_resume.
11363
633785ff
MM
113642014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11365
11366 * record-btrace.c (record_btrace_xfer_partial)
11367 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
11368 (record_btrace_allow_memory_access): New.
11369 (init_record_btrace_ops): Initialize new methods.
11370 * target.c (raw_memory_xfer_partial): Bail out if target reports
11371 that this memory is not available.
11372
3db08215
MM
113732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11374
11375 * target.h (target_ops) <to_insert_breakpoint>
11376 <to_remove_breakpoint>: Add target_ops parameter.
11377 (forward_target_insert_breakpoint): New.
11378 (forward_target_remove_breakpoint): New.
11379 (memory_remove_breakpoint, memory_insert_breakpoint):
11380 Add target_ops parameter.
11381 * target.c (target_insert_breakpoint): Split into this and ...
11382 (forward_target_insert_breakpoint): ... this.
11383 (target_remove_breakpoint): Split into this and ...
11384 (forward_target_remove_breakpoint): ... this.
11385 (debug_to_insert_breakpoint): Add target_ops parameter.
11386 Call forward_target_insert_breakpoint.
11387 (debug_to_remove_breakpoint): Add target_ops parameter.
11388 Call forward_target_remove_breakpoint.
11389 (update_current_target): Do not inherit or default to_insert_breakpoint
11390 and to_remove_breakpoint.
11391 * corelow.c (ignore): Add target_ops parameter.
11392 * exec.c (ignore): Add target_ops parameter.
11393 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
11394 Add target_ops parameter.
11395 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
11396 Add target_ops parameter.
11397 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
11398 Add target_ops parameter.
11399 * record-full.c (record_full_beneath_to_insert_breakpoint)
11400 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
11401 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
11402 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
11403 (record_full_core_remove_breakpoint): Add target_ops parameter.
11404 Update users.
11405 (record_full_beneath_to_insert_breakpoint_ops)
11406 (record_full_beneath_to_remove_breakpoint_ops)
11407 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
11408 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
11409 tmp_to_remove_breakpoint_ops,
11410 record_full_beneath_to_insert_breakpoint_ops, and
11411 record_full_beneath_to_remove_breakpoint_ops.
11412 * remote-m32r-sdi.c (m32r_insert_breakpoint)
11413 (m32r_remove_breakpoint): Add target_ops parameter.
11414 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
11415 Add target_ops parameter.
11416 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
11417 Add target_ops parameter.
11418
cecac1ab
MM
114192014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11420 Markus Metzger <markus.t.metzger@intel.com>
11421
11422 * record-btrace.c: Include frame-unwind.h.
11423 (record_btrace_frame_unwind_stop_reason)
11424 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
11425 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
11426 New.
11427 (init_record_btrace_ops): Install it.
11428
824344ca
MM
114292014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11430
11431 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
11432 get_prev_frame_1.
11433
32261e52
MM
114342014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11435
11436 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
11437 earlier.
11438
ea001bdc
MM
114392014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
11440
11441 * frame-unwind.c: Include target.h.
11442 (frame_unwind_try_unwinder): New function with code from ...
11443 (frame_unwind_find_by_frame): ... here. New variable
11444 unwinder_from_target, call also target_get_unwinder)
11445 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
11446 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
11447 * target.h (struct target_ops): New fields to_get_unwinder and
11448 to_get_tailcall_unwinder.
11449 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
11450
1f3ef581
MM
114512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11452
11453 * record-btrace.c (record_btrace_fetch_registers)
11454 (record_btrace_store_registers)
11455 (record_btrace_to_prepare_to_store): New.
11456 (init_record_btrace_ops): Add the above.
11457
f32dbf8c
MM
114582014-01-16 Tom Tromey <tromey@redhat.com>
11459
11460 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
11461 * target.h (struct target_ops) <to_prepare_to_store>: Add
11462 argument.
11463 (target_prepare_to_store): Add argument.
11464 * target.c (debug_to_prepare_to_store): Add argument.
11465 (update_current_target): Update.
11466 * remote.c (remote_prepare_to_store): Add 'self' argument.
11467 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
11468 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
11469 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
11470 * record-full.c (record_full_core_prepare_to_store): Add 'self'
11471 argument.
11472 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
11473 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
11474 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
11475 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
11476 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
11477
07bbe694
MM
114782014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11479
11480 * btrace.h (replay) <replay>: New.
11481 (btrace_is_replaying): New.
11482 * btrace.c (btrace_clear): Free replay iterator.
11483 (btrace_is_replaying): New.
11484 * record-btrace.c (record_btrace_is_replaying): New.
11485 (record_btrace_info): Print insn number if replaying.
11486 (record_btrace_insn_history): Start at replay position.
11487 (record_btrace_call_history): Start at replay position.
11488 (init_record_btrace_ops): Init to_record_is_replaying.
11489
0688d04e
MM
114902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11491
11492 * record-btrace.c (record_btrace_insn_history_range): Include
11493 end.
11494 (record_btrace_insn_history_from): Adjust range.
11495 (record_btrace_call_history_range): Include
11496 end.
11497 (record_btrace_call_history_from): Adjust range.
11498 * NEWS: Announce changes.
11499
8710b709
MM
115002014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11501
11502 * record.h (enum record_print_flag)
11503 <record_print_indent_calls>: New.
11504 * record.c (get_call_history_modifiers): Recognize /c modifier.
11505 (_initialize_record): Document /c modifier.
11506 * record-btrace.c (btrace_call_history): Add btinfo parameter.
11507 Reorder fields. Optionally indent the function name. Update
11508 all users.
11509 * NEWS: Announce changes.
11510
d0fa7535
MM
115112014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11512
11513 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
11514
5de9129b
MM
115152014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11516
11517 * btrace.c (ftrace_new_function): Start counting at one.
11518 * record-btrace.c (record_btrace_info): Adjust number of calls
11519 and insns.
11520 * NEWS: Announce it.
11521
7acbe133
MM
115222014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11523
11524 * record-btrace.c (btrace_call_history_insn_range): Print
11525 insn range as [begin, end].
11526
23a7fe75
MM
115272014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11528
11529 * btrace.h (struct btrace_func_link): New.
11530 (enum btrace_function_flag): New.
11531 (struct btrace_inst): Rename to ...
11532 (struct btrace_insn): ...this. Update all users.
11533 (struct btrace_func) <ibegin, iend>: Remove.
11534 (struct btrace_func_link): New.
11535 (struct btrace_func): Rename to ...
11536 (struct btrace_function): ...this. Update all users.
11537 (struct btrace_function) <segment, flow, up, insn, insn_offset)
11538 (number, level, flags>: New.
11539 (struct btrace_insn_iterator): Rename to ...
11540 (struct btrace_insn_history): ...this.
11541 Update all users.
11542 (struct btrace_insn_iterator, btrace_call_iterator): New.
11543 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
11544 (struct btrace_target_info) <begin, end, level>
11545 <insn_history, call_history>: New.
11546 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11547 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11548 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11549 (btrace_call_number, btrace_call_begin, btrace_call_end)
11550 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11551 (btrace_find_function_by_number, btrace_set_insn_history)
11552 (btrace_set_call_history): New.
11553 * btrace.c (btrace_init_insn_iterator)
11554 (btrace_init_func_iterator, compute_itrace): Remove.
11555 (ftrace_print_function_name, ftrace_print_filename)
11556 (ftrace_skip_file): Change
11557 parameter to const.
11558 (ftrace_init_func): Remove.
11559 (ftrace_debug): Use new btrace_function fields.
11560 (ftrace_function_switched): Also consider gaining and
11561 losing symbol information).
11562 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
11563 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
11564 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
11565 New.
11566 (ftrace_new_function): Move. Remove debug print.
11567 (ftrace_update_lines, ftrace_update_insns): New.
11568 (ftrace_update_function): Check for call, ret, and jump.
11569 (compute_ftrace): Renamed to ...
11570 (btrace_compute_ftrace): ...this. Rewritten to compute call
11571 stack.
11572 (btrace_fetch, btrace_clear): Updated.
11573 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
11574 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
11575 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
11576 (btrace_call_number, btrace_call_begin, btrace_call_end)
11577 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
11578 (btrace_find_function_by_number, btrace_set_insn_history)
11579 (btrace_set_call_history): New.
11580 * record-btrace.c (require_btrace): Use new btrace thread
11581 info fields.
11582 (record_btrace_info, btrace_insn_history)
11583 (record_btrace_insn_history, record_btrace_insn_history_range):
11584 Use new btrace thread info fields and new iterator.
11585 (btrace_func_history_src_line): Rename to ...
11586 (btrace_call_history_src_line): ...this. Use new btrace
11587 thread info fields.
11588 (btrace_func_history): Rename to ...
11589 (btrace_call_history): ...this. Use new btrace thread info
11590 fields and new iterator.
11591 (record_btrace_call_history, record_btrace_call_history_range):
11592 Use new btrace thread info fields and new iterator.
11593
8372a7cb
MM
115942014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11595
11596 * frame.h (frame_id_build_unavailable_stack_special): New.
11597 * frame.c (frame_id_build_unavailable_stack_special): New.
11598
c2170eef
MM
115992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11600
11601 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
11602 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
11603 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
11604 to gdbarch.
11605 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
11606 (i386_insn_is_jump, i386_jmp_p): New.
11607 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
11608 insn_is_jump to gdbarch.
11609 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
11610 * gdbarch.h: Regenerated.
11611 * gdbarch.c: Regenerated.
11612 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
11613 (default_insn_is_jump): New.
11614 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
11615 (default_insn_is_jump): New.
11616
864089d2
MM
116172014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11618
11619 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
11620 Change to ...
11621 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
11622 (btrace_read_type) <btrace_read_new>: Change to ...
11623 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
11624
ed9edfb5
MM
116252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
11626
11627 * common/linux-btrace.c (linux_read_btrace): Free trace from
11628 previous iteration.
11629
fbcbc3fd
DE
116302014-01-15 Doug Evans <dje@google.com>
11631
11632 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
11633 uint32_t.
11634
3d548a53
TT
116352014-01-15 Tom Tromey <tromey@redhat.com>
11636
11637 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
11638 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
11639 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
11640 (set_objfile_main_name): New function.
11641 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
11642 language_of_main>: New fields.
11643 (set_objfile_main_name): Declare.
11644 * symtab.c (find_main_name): Loop over objfiles to find the main
11645 name and language.
11646 (set_main_name): Now static.
11647 (get_main_info): Add comment.
11648 * symtab.h (set_main_name): Don't declare.
11649
32ac0d11
TT
116502014-01-15 Tom Tromey <tromey@redhat.com>
11651
11652 * symtab.c (main_progspace_key): New global.
11653 (struct main_info): New.
11654 (name_of_main, language_of_main): Remove.
11655 (get_main_info, main_info_cleanup): New function.
11656 (set_main_name, main_name, main_language): Use get_main_info.
11657 (_initialize_symtab): Initialize main_progspace_key.
11658
9e6c82ad
TT
116592014-01-15 Tom Tromey <tromey@redhat.com>
11660
11661 * dbxread.c (process_one_symbol): Update.
11662 * dwarf2read.c (read_partial_die): Update.
11663 * symfile.c (set_initial_language): Call main_language.
11664 * symtab.c (language_of_main): Now static.
11665 (set_main_name): Add 'lang' parameter.
11666 (find_main_name): Update.
11667 (main_language): New function.
11668 (symtab_observer_executable_changed): Update.
11669 * symtab.h (set_main_name): Update.
11670 (language_of_main): Remove.
11671 (main_language): Declare.
11672
6ef55de7
TT
116732014-01-15 Tom Tromey <tromey@redhat.com>
11674
11675 * symfile.c (init_entry_point_info): Use new "initialized" field.
11676 Update.
11677 * objfiles.h (struct entry_point) <initialized>: New field.
11678 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
11679 (struct objfile) <ei>: ...here. Remove.
11680 * objfiles.c (entry_point_address_query): Update.
11681
53eddfa6
TT
116822014-01-15 Tom Tromey <tromey@redhat.com>
11683
11684 * objfiles.c (entry_point_address_query): Relocate entry point
11685 address.
11686 (objfile_relocate1): Do not relocate entry point address.
11687 * objfiles.h (struct entry_info) <entry_point>: Update comment.
11688 <the_bfd_section_index>: New field.
11689 * symfile.c (init_entry_point_info): Find the entry point's
11690 section.
11691
d56e56aa
TT
116922014-01-15 Tom Tromey <tromey@redhat.com>
11693
11694 * solib-frv.c (enable_break): Use entry_point_address_query.
11695
33a97bbe
OJ
116962014-01-15 Omair Javaid <omair.javaid@linaro.org>
11697
11698 * NEWS: Add note on improved process record-replay on
11699 arm*-linux* targets.
11700
c6ec2b30
OJ
117012014-01-15 Omair Javaid <omair.javaid@linaro.org>
11702
11703 * arm-tdep.c (enum arm_record_result): New enum.
11704 (arm_record_unsupported_insn): New function.
11705 (arm_record_coproc_data_proc): Removed.
11706 (thumb2_record_ld_st_multiple): New function.
11707 (thumb2_record_ld_st_dual_ex_tbb): New function.
11708 (thumb2_record_data_proc_sreg_mimm): New function.
11709 (thumb2_record_ps_dest_generic): New function.
11710 (thumb2_record_branch_misc_cntrl): New function.
11711 (thumb2_record_str_single_data): New function.
11712 (thumb2_record_ld_mem_hints): New function.
11713 (thumb2_record_ld_word): New function.
11714 (thumb2_record_lmul_lmla_div): New function.
11715 (thumb2_record_decode_insn_handler): New function.
11716 (decode_insn): Add thumb32 instruction handlers.
11717
97dfe206
OJ
117182014-01-15 Omair Javaid <omair.javaid@linaro.org>
11719
11720 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
11721 (struct arm_linux_record_tdep): Declare.
11722 (arm_canonicalize_syscall): New function.
11723 (arm_all_but_pc_registers_record): New function.
11724 (arm_linux_syscall_record): New function.
11725 (arm_linux_init_abi): Add syscall recording constructs.
11726 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
11727 decoding. (arm_record_coproc_data_proc): Update arm syscall
11728 decoding.
11729 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
11730 <arm_syscall_record>: New field.
11731 * configure.tgt (arm*-*-linux*): Add linux-record.o to
11732 gdb_target_obs.
11733
9904a494
OJ
117342014-01-15 Omair Javaid <omair.javaid@linaro.org>
11735
11736 * arm-tdep.c (thumb_record_misc): Update to use sp as base
11737 register for push instruction recording.
11738
f969241e
OJ
117392014-01-15 Omair Javaid <omair.javaid@linaro.org>
11740
11741 * arm-tdep.c (thumb_record_misc): Update to correct logical
11742 error while recording ldm, ldmia and pop instructions.
11743
bfbbec00
OJ
117442014-01-15 Omair Javaid <omair.javaid@linaro.org>
11745
11746 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
11747
e40adcc9
PA
117482014-01-15 Pedro Alves <palves@redhat.com>
11749
11750 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
11751 (go32_resume, go32_fetch_registers, store_register)
11752 (go32_store_registers, go32_prepare_to_store)
11753 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
11754 (go32_create_inferior, go32_can_run, go32_terminal_init)
11755 (go32_terminal_inferior, go32_terminal_ours): Delete forward
11756 declarations.
11757
b0a16e66
TT
117582014-01-15 Tom Tromey <tromey@redhat.com>
11759
11760 * target.h (async_callback_ftype): New typedef.
11761 (struct target_ops) <to_async>: Use it.
11762
bf7105a4
JB
117632014-01-15 Joel Brobecker <brobecker@adacore.com>
11764
11765 * python/py-value.c (get_field_type): Remove unnecessary curly
11766 braces for single-statement if block.
11767
a8f35c2e
JB
117682014-01-15 Joel Brobecker <brobecker@adacore.com>
11769
11770 * python/py-type.c (convert_field): Add missing empty line
11771 after declarations.
11772
bb4142cf
DE
117732014-01-14 Doug Evans <dje@google.com>
11774
11775 * symfile.h (expand_symtabs_matching): Renamed from
11776 expand_partial_symbol_names. Update prototype.
11777 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11778 * symfile.c (expand_symtabs_matching): Renamed from
11779 expand_partial_symbol_names. New args file_matcher, kind.
11780 Rename arg fun to symbol_matcher.
11781 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
11782 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
11783 ada_expand_partial_symbol_name.
11784 (ada_make_symbol_completion_list): Update to call
11785 expand_symtabs_matching.
11786 (ada_add_global_exceptions): Call expand_symtabs_matching.
11787 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
11788 call map_symbol_filenames.
11789 * symtab.c (sources_info): Update to call map_symbol_filenames.
11790 (search_symbols): Call expand_symtabs_matching.
11791 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
11792 (default_make_symbol_completion_list_break_on): Update to call
11793 expand_symtabs_matching.
11794 (make_source_files_completion_list): Update to call
11795 map_symbol_filenames.
11796
206f2a57
DE
117972014-01-14 Doug Evans <dje@google.com>
11798
11799 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
11800 (expand_symtabs_symbol_matcher_ftype): New typedef.
11801 (quick_symbol_functions.expand_symtabs_matching): Update to use.
11802 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11803 * symfile.c (expand_partial_symbol_names): Update to use
11804 expand_symtabs_symbol_matcher_ftype.
11805 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
11806 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11807 Arg name_matcher renamed to symbol_matcher.
11808 * psymtab.c (recursively_search_psymtabs): Update to use
11809 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
11810 sym_matcher.
11811 (expand_symtabs_matching_via_partial): Update to use
11812 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
11813 Arg name_matcher renamed to symbol_matcher.
11814
540c2971
DE
118152014-01-14 Doug Evans <dje@google.com>
11816
11817 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
11818 (map_partial_symbol_filenames): Ditto.
11819 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
11820 (map_partial_symbol_filenames): Ditto.
11821 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
11822 (map_partial_symbol_filenames): Ditto.
11823 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
11824 (map_partial_symbol_filenames): Ditto.
11825 * symtab.c: Delete #include "psymtab.h".
11826
8213266a
PA
118272014-01-14 Pedro Alves <palves@redhat.com>
11828 Tom Tromey <tromey@redhat.com>
11829
11830 * infrun.c (use_displaced_stepping): Use find_record_target
11831 instead of RECORD_IS_USED.
11832 (adjust_pc_after_break): Use record_full_is_used instead of
11833 RECORD_IS_USED.
11834 * record-btrace.c (record_btrace_open): Call record_preopen
11835 instead of checking RECORD_IS_USED.
11836 * record-full.c (record_full_shortname)
11837 (record_full_core_shortname): New globals.
11838 (record_full_is_used): New function.
11839 (find_full_open): Call record_preopen instead of checking
11840 RECORD_IS_USED.
11841 (init_record_full_ops): Set the target's shortname to
11842 record_full_shortname.
11843 (init_record_full_core_ops): Set the target's shortname to
11844 record_full_core_shortname.
11845 * record-full.h (record_full_is_used): Declare.
11846 * record.c (find_record_target): Make extern.
11847 (record_preopen): New function.
11848 * record.h (RECORD_IS_USED): Delete macro.
11849 (find_record_target, record_preopen): Declare functions.
11850
7ec1862d
YQ
118512014-01-14 Yao Qi <yao@codesourcery.com>
11852
11853 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
11854 'len''s type to ULONGEST.
11855 (core_xfer_shared_libraries_aix): Likewise.
11856 * gdbarch.c, gdbarch.h: Regenerated.
11857 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
11858 Change type of 'len' to ULONGEST.
11859 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11860 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
11861
dea80a27
YQ
118622014-01-14 Yao Qi <yao@codesourcery.com>
11863
11864 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
11865 type of 'len' to ULONGEST.
11866 (linux_xfer_osdata_processgroups): Likewise.
11867 (linux_xfer_osdata_threads): Likewise.
11868 (linux_xfer_osdata_fds): Likewise.
11869 (linux_xfer_osdata_isockets): Likewise.
11870 (linux_xfer_osdata_shm): Likewise.
11871 (linux_xfer_osdata_sem): Likewise.
11872 (linux_xfer_osdata_msg): Likewise.
11873 (linux_common_xfer_osdata): Likewise.
11874 (struct osdata_type) <getter>: Likewise.
11875 * common/linux-osdata.h (linux_common_xfer_osdata): Update
11876 the declaration.
11877
b55e14c7
YQ
118782014-01-14 Yao Qi <yao@codesourcery.com>
11879
11880 * target.h (target_xfer_partial_ftype): Update.
11881 (struct target_ops) <to_xfer_partial>: Change 'len' type to
11882 ULONGEST.
11883 * aix-thread.c (aix_thread_xfer_partial): Change type of
11884 argument 'len' to ULONGEST.
11885 * auxv.c (procfs_xfer_auxv): Likewise.
11886 (ld_so_xfer_auxv): Likewise.
11887 (memory_xfer_auxv): Likewise.
11888 * bfd-target.c (target_bfd_xfer_partial): Likewise.
11889 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
11890 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
11891 * corelow.c (core_xfer_partial): Likewise.
11892 * ctf.c (ctf_xfer_partial): Likewise.
11893 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
11894 '%u'.
11895 (darwin_read_dyld_info): Likewise.
11896 (darwin_xfer_partial): Likewise.
11897 * exec.c (section_table_xfer_memory_partial): Likewise.
11898 (exec_xfer_partial): Likewise.
11899 * exec.h (section_table_xfer_memory_partial): Update
11900 declaration.
11901 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
11902 instead of plongest.
11903 (gnu_xfer_partial): Likewise.
11904 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
11905 (ia64_hpux_xfer_solib_got): Likewise.
11906 (ia64_hpux_xfer_partial): Likewise.
11907 * ia64-linux-nat.c (ia64_linux_xfer_partial):
11908 * inf-ptrace.c (inf_ptrace_xfer_partial):
11909 * inf-ttrace.c (inf_ttrace_xfer_partial):
11910 * linux-nat.c (linux_xfer_siginfo): Likewise.
11911 (linux_nat_xfer_partial): Likewise.
11912 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
11913 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
11914 * monitor.c (monitor_xfer_memory): Likewise.
11915 (monitor_xfer_partial): Likewise.
11916 * procfs.c (procfs_xfer_partial): Likewise.
11917 * record-full.c (record_full_xfer_partial): Likewise.
11918 (record_full_core_xfer_partial): Likewise.
11919 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
11920 instead of plongest.
11921 (gdbsim_xfer_partial): Likewise.
11922 * remote.c (remote_xfer_partial): Likewise.
11923 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
11924 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
11925 declaration.
11926 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
11927 (rs6000_xfer_shared_libraries): Likewise.
11928 * sol-thread.c (sol_thread_xfer_partial): Likewise.
11929 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
11930 (sparc_xfer_partial): Likewise.
11931 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
11932 (spu_xfer_partial): Likewise.
11933 * spu-multiarch.c (spu_xfer_partial): Likewise.
11934 * target.c (target_read_live_memory): Likewise.
11935 (memory_xfer_live_readonly_partial): Likewise.
11936 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
11937 (target_xfer_partial, default_xfer_partial): Likewise.
11938 (current_xfer_partial): Likewise.
11939 * tracepoint.c (tfile_xfer_partial): Likewise.
11940 * windows-nat.c (windows_xfer_memory): Likewise. Call
11941 pulongest instead of plongest.
11942 (windows_xfer_partial): Likewise.
11943 (windows_xfer_shared_libraries): Likewise.
11944
05804640
YQ
119452014-01-14 Yao Qi <yao@codesourcery.com>
11946
11947 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
11948 target_xfer_partial_ftype.
11949
b5b08fb4
SC
119502014-01-13 Siva Chandra Reddy <sivachandra@google.com>
11951
11952 PR python/15464
11953 PR python/16113
11954 * valops.c (value_struct_elt_bitpos): New function
11955 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
11956 object to 'None' if the field name is an empty string ("").
11957 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
11958 attribute to look for a field when 'name' is 'None'.
11959 (get_field_type): New function
11960
13aaf454
DE
119612014-01-13 Doug Evans <dje@google.com>
11962
11963 PR symtab/16426
11964 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
11965 (try_open_dwop_file): Ditto.
11966 * gdb_bfd.c: #include "vec.h".
11967 (bfdp): New typedef.
11968 (struct gdb_bfd_data): New member included_bfds.
11969 (gdb_bfd_unref): Unref all included bfds.
11970 (gdb_bfd_record_inclusion): New function.
11971 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
11972
c2cec97c
TT
119732014-01-13 Tom Tromey <tromey@redhat.com>
11974
11975 * gdbcore.h (deprecated_core_resize_section_table): Remove.
11976
78e5999d
TT
119772014-01-13 Tom Tromey <tromey@redhat.com>
11978
11979 * defs.h (use_windows): Remove.
11980 * gdb.c (main): Update.
11981 * main.c (captured_main, gdb_main): Update.
11982 * main.h (struct captured_main_args) <use_windows>: Remove.
11983 * top.c (use_windows): Remove.
11984
f2052bbe
TT
119852014-01-13 Tom Tromey <tromey@redhat.com>
11986
11987 * defs.h (deprecated_flush_hook): Remove.
11988
fde4f8ed
JK
119892014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
11990
11991 PR threads/16216
11992 * linux-thread-db.c (try_thread_db_load): Add parameter
11993 check_auto_load_safe. Move here the file_is_auto_load_safe call.
11994 (try_thread_db_load_from_pdir_1): Move it there from here.
11995 (try_thread_db_load_from_sdir): Update caller.
11996 (try_thread_db_load_from_dir): Move it there from here.
11997
bdf61915
PP
119982014-01-13 Patrick Palka <patrick@parcs.ath.cx>
11999
12000 * regformats/regdat.sh: Always rewrite the register file.
12001
f71e1a8d
PA
120022014-01-13 Pedro Alves <palves@redhat.com>
12003
12004 * Makefile.in (CHECK_HEADERS): New variable.
12005 (check-headers:): New rule.
12006
42c85435
TT
120072014-01-13 Tom Tromey <tromey@redhat.com>
12008
12009 * cli/cli-setshow.c (do_set_command): Update.
12010 * defs.h (deprecated_set_hook): Remove.
12011 * top.c (deprecated_set_hook): Remove.
12012
f8de5129
PA
120132014-01-13 Pedro Alves <palves@redhat.com>
12014
12015 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
12016 the tracepoint if the PC is a pseudo-register.
12017
fc270c35
TT
120182014-01-13 Tom Tromey <tromey@redhat.com>
12019
12020 * defs.h (XCALLOC): Remove.
12021 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
12022 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
12023 * dwarf2loc.c (allocate_piece_closure): Likewise.
12024 * elfread.c (elf_symfile_segments): Likewise.
12025 (elf_symfile_segments): Likewise.
12026 * gdbtypes.c (copy_type_recursive): Likewise.
12027 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
12028 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
12029 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
12030 XCALLOC.
12031 * mt-tdep.c (mt_gdbarch_init): Likewise.
12032 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
12033 XCALLOC.
12034 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
12035 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
12036 * registry.c (registry_alloc_data): Likewise.
12037 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
12038 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
12039 * serial.c (serial_fdopen_ops): Likewise.
12040 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
12041 XCALLOC.
12042 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
12043 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
12044 not XCALLOC.
12045
70ba0933
TT
120462014-01-13 Tom Tromey <tromey@redhat.com>
12047
12048 * defs.h (XMALLOC): Remove.
12049 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
12050 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
12051 * cli-out.c (struct ui_out *): Likewise.
12052 * cli/cli-dump.c (add_dump_command): Likewise.
12053 (add_dump_command): Likewise.
12054 * complaints.c (get_complaints): Likewise.
12055 (find_complaint): Likewise.
12056 * dwarf2-frame.c (execute_cfa_program): Likewise.
12057 * dwarf2read.c (abbrev_table_read_table): Likewise.
12058 * gdbarch.sh: Likewise.
12059 * gdbarch.c: Rebuild.
12060 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
12061 * interps.c (interp_new): Likewise.
12062 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
12063 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
12064 * mi/mi-console.c (mi_console_file_new): Likewise.
12065 * mi/mi-interp.c (mi_interpreter_init): Likewise.
12066 * mi/mi-out.c (mi_out_new): Likewise.
12067 * mi/mi-parse.c (mi_parse): Likewise.
12068 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
12069 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
12070 * observer.c (xalloc_observer_list_node): Likewise.
12071 * regcache.c (regcache_xmalloc_1): Likewise.
12072 * reggroups.c (reggroup_new): Likewise.
12073 (_initialize_reggroup): Likewise.
12074 * registry.c (register_data_with_cleanup): Likewise.
12075 * remote.c (remote_notif_stop_alloc_reply): Likewise.
12076 * ser-base.c (serial_ttystate): Likewise.
12077 * ser-mingw.c (make_pipe_state): Likewise.
12078 * ser-pipe.c (pipe_open): Likewise.
12079 * serial.c (serial_open): Likewise.
12080 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
12081 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
12082 (tui_alloc_win_info): Likewise.
12083 (tui_add_content_elements): Likewise.
12084 * tui/tui-file.c (tui_file_new): Likewise.
12085 * tui/tui-out.c (tui_out_new): Likewise.
12086 * ui-file.c (mem_file_new): Likewise.
12087 * ui-out.c (push_level): Likewise.
12088 (make_cleanup_ui_out_end): Likewise.
12089 (append_header_to_list): Likewise.
12090 (ui_out_new): Likewise.
12091 * user-regs.c (user_reg_add_builtin): Likewise.
12092
41bf6aca
TT
120932014-01-13 Tom Tromey <tromey@redhat.com>
12094
12095 * defs.h (XZALLOC): Remove.
12096 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
12097 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
12098 (get_ada_tasks_inferior_data): Likewise.
12099 * auto-load.c (get_auto_load_pspace_data): Likewise.
12100 * auxv.c (get_auxv_inferior_data): Likewise.
12101 * bfd-target.c (target_bfd_reopen): Likewise.
12102 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
12103 (deprecated_insert_raw_breakpoint): Likewise.
12104 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
12105 * corelow.c (core_open): Likewise.
12106 * darwin-nat.c (darwin_check_new_threads): Likewise.
12107 (darwin_attach_pid): Likewise.
12108 * dummy-frame.c (dummy_frame_push): Likewise.
12109 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
12110 * dwarf2loc.c (allocate_piece_closure): Likewise.
12111 * elfread.c (elf_symfile_segments): Likewise.
12112 * eval.c (ptrmath_type_p): Likewise.
12113 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
12114 * gdbtypes.c (alloc_type_arch): Likewise.
12115 (alloc_type_instance): Likewise.
12116 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
12117 * inf-child.c (inf_child_can_use_agent): Likewise.
12118 * inflow.c (get_inflow_inferior_data): Likewise.
12119 * infrun.c (save_infcall_suspend_state): Likewise.
12120 * jit.c (jit_reader_load): Likewise.
12121 (get_jit_objfile_data): Likewise.
12122 (get_jit_program_space_data): Likewise.
12123 (jit_object_open_impl): Likewise.
12124 (jit_symtab_open_impl): Likewise.
12125 (jit_block_open_impl): Likewise.
12126 (jit_frame_sniffer): Likewise.
12127 * linux-fork.c (add_fork): Likewise.
12128 * maint.c (make_command_stats_cleanup): Likewise.
12129 * objfiles.c (get_objfile_pspace_data): Likewise.
12130 * opencl-lang.c (struct lval_closure): Likewise.
12131 * osdata.c (osdata_start_osdata): Likewise.
12132 * progspace.c (new_address_space): Likewise.
12133 (add_program_space): Likewise.
12134 * remote-sim.c (get_sim_inferior_data): Likewise.
12135 * sh-tdep.c (sh_gdbarch_init): Likewise.
12136 * skip.c (Ignore): Likewise.
12137 (skip_delete_command): Likewise.
12138 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
12139 (library_list_start_library): Likewise.
12140 (solib_aix_current_sos): Likewise.
12141 * solib-darwin.c (get_darwin_info): Likewise.
12142 (darwin_current_sos): Likewise.
12143 * solib-dsbt.c (get_dsbt_info): Likewise.
12144 * solib-ia64-hpux.c (new_so_list): Likewise.
12145 (ia64_hpux_get_solib_linkage_addr): Likewise.
12146 * solib-spu.c (append_ocl_sos): Likewise.
12147 (spu_current_sos): Likewise.
12148 * solib-svr4.c (get_svr4_info): Likewise.
12149 (svr4_keep_data_in_core): Likewise.
12150 (library_list_start_library): Likewise.
12151 (svr4_default_sos): Likewise.
12152 (svr4_read_so_list): Likewise.
12153 * solib-target.c (library_list_start_library): Likewise.
12154 (solib_target_current_sos): Likewise.
12155 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
12156 * symfile-debug.c (install_symfile_debug_logging): Likewise.
12157 * symfile.c (default_symfile_segments): Likewise.
12158 * target-descriptions.c (tdesc_data_init): Likewise.
12159 (tdesc_create_reg): Likewise.
12160 (struct tdesc_type *): Likewise.
12161 (tdesc_create_vector): Likewise.
12162 (tdesc_set_struct_size): Likewise.
12163 (struct tdesc_type *): Likewise.
12164 (tdesc_free_feature): Likewise.
12165 (tdesc_create_feature): Likewise.
12166 * windows-nat.c (windows_add_thread): Likewise.
12167 (windows_make_so): Likewise.
12168 * xml-support.c (gdb_xml_body_text): Likewise.
12169 (gdb_xml_create_parser_and_cleanup): Likewise.
12170 (xml_process_xincludes): Likewise.
12171 * xml-syscall.c (allocate_syscalls_info): Likewise.
12172 (syscall_create_syscall_desc): Likewise.
12173
5acfdbae
SDJ
121742014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
12175
12176 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
12177 function, with code from i386_stap_parse_special_token.
12178 (i386_stap_parse_special_token_three_arg_disp): Likewise.
12179 (i386_stap_parse_special_token): Move code to the two functions
12180 above; simplify it.
12181
0000e5cc
PA
121822014-01-09 Pedro Alves <palves@redhat.com>
12183 Hui Zhu <hui@codesourcery.com>
12184
12185 PR gdb/16101
12186 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
12187 bp_err_string. Don't mark the location shlib_disabled if the
12188 error thrown wasn't a generic or memory error. Catch errors
12189 thrown while inserting breakpoints in overlayed code. Output
12190 error message of software breakpoints.
12191 * remote.c (remote_insert_breakpoint): If this breakpoint has
12192 target-side commands but this stub doesn't support Z0 packets,
12193 throw NOT_SUPPORTED_ERROR error.
12194 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
12195 * target.h (target_insert_breakpoint): Extend comment.
12196 (target_insert_hw_breakpoint): Add comment.
12197
b7ea362b
PA
121982014-01-08 Pedro Alves <palves@redhat.com>
12199
12200 * remote.c (remote_add_thread): Add threads silently if starting
12201 up.
12202 (remote_notice_new_inferior): If in all-stop, and starting up,
12203 don't call notice_new_inferior.
12204 (get_current_thread): New function, factored out from ...
12205 (add_current_inferior_and_thread): ... this. Adjust.
12206 (remote_start_remote) <all-stop>: Fetch the thread list. If we
12207 found any thread, then select the remote's current thread as GDB's
12208 current thread too.
12209
b7bba001
JB
122102014-01-08 Joel Brobecker <brobecker@adacore.com>
12211
12212 * NEWS: Create a new section for the next release branch.
12213 Rename the section of the current branch, now that it has
12214 been cut.
12215
16dfbded
JB
122162014-01-08 Joel Brobecker <brobecker@adacore.com>
12217
12218 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
12219 * version.in: Bump version to 7.7.50.DATE-cvs.
12220
22c90ac1
YQ
122212014-01-08 Yao Qi <yao@codesourcery.com>
12222
12223 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
12224 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
12225 (spu_xfer_partial): Cast 'buf' to 'const char *'.
12226
d64ad97c
YQ
122272014-01-08 Yao Qi <yao@codesourcery.com>
12228
12229 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
12230 return value of bfd_get_filename to symbol_file_add_from_bfd.
12231
f93ba80c
PM
122322014-01-08 Pierre Muller <muller@sourceware.org>
12233
12234 Fix PR16201.
12235 * coff-pe-read.c (struct read_pe_section_data): Add index field.
12236 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
12237 to prim_record_mininal_symbol_and_info.
12238 (add_pe_forwarded_sym): Use known section number of forwarded symbol
12239 in call to prim_record_minimal_symbol_and_info.
12240 (read_pe_exported_syms): Set index field of section_data.
12241
a4d9ba85
AP
122422014-01-07 Andrew Pinski <apinski@cavium.com>
12243
12244 * features/aarch64-core.xml (cpsr): Change to be 64bit.
12245 * features/aarch64.c: Regenerate.
12246
1b67eb02
AS
122472014-01-07 Andreas Schwab <schwab@linux-m68k.org>
12248
12249 * target.c (return_null): Define.
12250 (update_current_target): Use it instead of return_zero for
12251 functions that return a pointer.
12252
5e3f4fab
EBM
122532014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
12254
12255 * source.c (add_path): Fix check for duplicated paths in the previously
12256 included paths.
12257
e2616788
HK
122582014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
12259
12260 * ada-lang.c: Remove duplicated include statements.
12261 * alphabsd-nat.c: Ditto.
12262 * amd64-darwin-tdep.c: Ditto.
12263 * amd64fbsd-nat.c: Ditto.
12264 * auto-load.c: Ditto.
12265 * ax-gdb.c: Ditto.
12266 * breakpoint.c: Ditto.
12267 * dbxread.c: Ditto.
12268 * fork-child.c: Ditto.
12269 * gdb_usleep.c: Ditto.
12270 * i386-darwin-tdep.c: Ditto.
12271 * i386fbsd-nat.c: Ditto.
12272 * infcmd.c: Ditto.
12273 * inferior.c: Ditto.
12274 * jv-lang.c: Ditto.
12275 * linux-nat.c: Ditto.
12276 * linux-tdep.c: Ditto.
12277 * m68kbsd-nat.c: Ditto.
12278 * m68klinux-nat.c: Ditto.
12279 * microblaze-tdep.c: Ditto.
12280 * mips-linux-tdep.c: Ditto.
12281 * mn10300-tdep.c: Ditto.
12282 * nto-tdep.c: Ditto.
12283 * opencl-lang.c: Ditto.
12284 * osdata.c: Ditto.
12285 * printcmd.c: Ditto.
12286 * regcache.c: Ditto.
12287 * remote-m32r-sdi.c: Ditto.
12288 * remote.c: Ditto.
12289 * symfile.c: Ditto.
12290 * symtab.c: Ditto.
12291 * tilegx-linux-nat.c: Ditto.
12292 * tilegx-tdep.c: Ditto.
12293 * tracepoint.c: Ditto.
12294 * valops.c: Ditto.
12295 * vaxbsd-nat.c: Ditto.
12296 * windows-nat.c: Ditto.
12297 * xtensa-tdep.c: Ditto.
12298
bd1f7788
YQ
122992014-01-07 Yao Qi <yao@codesourcery.com>
12300
12301 * spu-linux-nat.c (_initialize_spu_nat): Declare.
12302
79301218
JB
123032014-01-07 Yao Qi <yao@codesourcery.com>
12304 Joel Brobecker <brobecker@adacore.com>
12305
12306 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
12307 (pdc_write_regs): Likewise.
12308 (fetch_regs_kernel_thread): Likewise.
12309 (store_regs_kernel_thread): Likewise.
12310
123112014-01-07 Joel Brobecker <brobecker@adacore.com>
12312
12313 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
12314 tagged type objects to their actual type.
12315
8e355c5d
JB
123162014-01-07 Joel Brobecker <brobecker@adacore.com>
12317
12318 * ada-valprint.c (print_field_values): Add "language" parameter.
12319 Update calls to print_field_values and print_variant_part.
12320 Pass new parameter "language" in call to val_print instead
12321 of "current_language". Replace call to ada_val_print by call
12322 to val_print.
12323 (print_variant_part): Add "language" parameter.
12324 (ada_val_print_struct_union): Update call to print_field_values.
12325
4fbf5aa5
JB
123262014-01-07 Joel Brobecker <brobecker@adacore.com>
12327
12328 * ada-valprint.c (ui_memcpy): Delete.
12329 (ada_print_floating): Update documentation. Add empty line
12330 between between function documentation and implementation.
12331 Delete variable "buffer". Use ui_file_xstrdup in place of
12332 ui_file_put. Minor adjustments following this change.
12333
71855601
JB
123342014-01-07 Joel Brobecker <brobecker@adacore.com>
12335
12336 * ada-valprint.c (ada_val_print_string): New function,
12337 extracted from ada_val_print_array.
12338 (ada_val_print_array): Replace extracted code by call
12339 to ada_val_print_string followed by a return. Move
12340 "else" branch to the function's top block.
12341
4eb27a30
JB
123422014-01-07 Joel Brobecker <brobecker@adacore.com>
12343
12344 * ada-valprint.c (ada_val_print_array): Move implementation
12345 down. Rename parameter "offset" and "val" into "offset_aligned"
12346 and "original_value" respectively. Add parameter "offset".
12347
34b27950
JB
123482014-01-07 Joel Brobecker <brobecker@adacore.com>
12349
12350 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
12351 re-organizing the code. Change the "???" message printed
12352 when target type is a TYPE_CODE_UNDEF into
12353 "<ref to undefined type>".
12354
079e4591
JB
123552014-01-07 Joel Brobecker <brobecker@adacore.com>
12356
12357 * ada-valprint.c (print_record): Delete, implementation inlined...
12358 (ada_val_print_struct_union): ... here. Remove call to
12359 ada_check_typedef in inlined implementation.
12360
8004dfd1
JB
123612014-01-07 Joel Brobecker <brobecker@adacore.com>
12362
12363 * ada-valprint.c (ada_val_print_gnat_array): New function,
12364 extracted from ada_val_print_1;
12365 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
12366 (ada_val_print_flt, ada_val_print_struct_union)
12367 (ada_val_print_ref): Likewise.
12368 (ada_val_print_1): Delete variables i and elttype.
12369 Replace extracted-out code by call to corresponding
12370 new functions.
12371
760a2db0
JB
123722014-01-07 Joel Brobecker <brobecker@adacore.com>
12373
12374 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
12375
3a92c861
JB
123762014-01-07 Joel Brobecker <brobecker@adacore.com>
12377
12378 * ada-valprint.c (ada_val_print_1): Replace calls to
12379 ada_val_print_1 by calls to val_print.
12380
cd1630f9
JB
123812014-01-07 Joel Brobecker <brobecker@adacore.com>
12382
12383 * ada-valprint.c (ada_val_print_1): Add parameter "language".
12384 Update calls to self accordingly. Replace calls to c_val_print
12385 by calls to val_print.
12386
bdf779a0
JB
123872014-01-07 Joel Brobecker <brobecker@adacore.com>
12388
12389 * ada-valprint.c (print_record): Delete declaration.
12390 (adjust_type_signedness, ada_val_print_1): Likewise.
12391 (ada_val_print): Move function implementation down.
12392 (print_variant_part, print_field_values, print_record):
12393 Move function implementation up.
12394
c0d48811
JB
123952014-01-07 Joel Brobecker <brobecker@adacore.com>
12396
12397 * python/py-type.c (typy_get_name): New function.
12398 (type_object_getset): Add entry for attribute "name".
12399 * NEWS: Add entry mentioning this new attribute.
12400
c26e9cbb
YQ
124012014-01-07 Yao Qi <yao@codesourcery.com>
12402
12403 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
12404 statement.
12405
0cc6f43d
YQ
124062014-01-07 Yao Qi <yao@codesourcery.com>
12407
12408 * gnu-nat.c (info_port_rights): Add qualifier const to
12409 argument args.
12410
eec03155
YQ
124112014-01-07 Yao Qi <yao@codesourcery.com>
12412
12413 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
12414
f04a82ef
YQ
124152014-01-07 Yao Qi <yao@codesourcery.com>
12416
12417 * gnu-nat.c (make_inf) Update declaration.
12418 (make_inf): Make it static.
12419 (inf_set_traced): Likewise.
12420 (inf_port_to_thread, inf_task_died_status): Likewise.
12421
d57dda0a
YQ
124222014-01-07 Yao Qi <yao@codesourcery.com>
12423
12424 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
12425
3aa8c969
YQ
124262014-01-07 Yao Qi <yao@codesourcery.com>
12427
12428 * gnu-nat.c (_initialize_gnu_nat): Declare.
12429
94123b4f
YQ
124302014-01-07 Yao Qi <yao@codesourcery.com>
12431
12432 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
12433 'enum bfd_endian'.
12434 (struct gdbarch_info) <byte_order>: Change type to
12435 'enum bfd_endian'.
12436 <byte_order_for_code>: Likewise.
12437 * gdbarch.c, gdbarch.h: Regenerated.
12438
dc81d70a
TT
124392014-01-06 Sasha Smundak <asmundak@google.com>
12440
12441 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
12442
cc2f3c35
TT
124432014-01-06 Tom Tromey <tromey@redhat.com>
12444
12445 * doublest.c (convert_doublest_to_floatformat): Use const, not
12446 CONST.
12447 * somread.c (som_symtab_read): Likewise.
12448
adcf2eed
HZ
124492014-01-07 Hui Zhu <hui@codesourcery.com>
12450
12451 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
12452 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
12453 (gdb_bfd_fopen): Ditto.
12454 (gdb_bfd_openr): Ditto.
12455 (gdb_bfd_openw): Ditto.
12456 (gdb_bfd_openr_iovec): Ditto.
12457 (gdb_bfd_fdopenr): Ditto.
12458 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
12459 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
12460 with xstrdup.
12461 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
12462 with xstrdup.
12463 * symfile-mem.c (symbol_file_add_from_memory): Removed
12464 gdb_bfd_stash_filename.
12465
50722198
DE
124662014-01-03 Doug Evans <dje@google.com>
12467
12468 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
12469 output.
12470
2fa4b862
JB
124712014-01-01 Joel Brobecker <brobecker@adacore.com>
12472
12473 Update year range in copyright notice of all files.
12474
28498c42
JB
124752014-01-01 Joel Brobecker <brobecker@adacore.com>
12476
12477 * top.c (print_gdb_version): Set copyright year to 2014.
12478
7b6e1046
JB
124792014-01-01 Joel Brobecker <brobecker@adacore.com>
12480
12481 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
12482
df96af55 12483For older changes see ChangeLog-2013.
c906108c
SS
12484\f
12485Local Variables:
12486mode: change-log
12487left-margin: 8
12488fill-column: 74
12489version-control: never
57da7796 12490coding: utf-8
c906108c 12491End:
This page took 2.095871 seconds and 4 git commands to generate.