PR 17564: Fix objfile search order for static symbols.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
af3768e9
DE
12014-11-10 Doug Evans <xdje42@gmail.com>
2
3 PR symtab/17564
4 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
5 (lookup_static_symbol): Move definition to new location and rewrite.
6 (lookup_symbol_in_objfile): New function.
7 (lookup_symbol_global_iterator_cb): Call it.
8
b1f28d99
UW
92014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
10
11 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
12
b7a084be
PA
132014-11-07 Pedro Alves <palves@redhat.com>
14
15 * infrun.c (process_event_stop_test) <subroutine check>: Don't
16 check if we did a "nexti" inside a prologue.
17 * symtab.c (in_prologue): Delete function.
18 * symtab.h (in_prologue): Delete declaration.
19
67be31e5
DE
202014-11-06 Doug Evans <xdje42@gmail.com>
21
22 * symtab.h (lookup_global_symbol): Improve function comment.
23
08724ab7
DE
242014-11-06 Doug Evans <xdje42@gmail.com>
25
26 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
27 All callers updated.
28 * symtab.h (lookup_global_symbol): Update decl.
29 (lookup_static_symbol): Move decl to better location.
30
d9060ba6
DE
312014-11-06 Doug Evans <xdje42@gmail.com>
32
33 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
34
74016e12
DE
352014-11-06 Doug Evans <xdje42@gmail.com>
36
37 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
38 All callers updated.
39 (lookup_symbol_in_all_objfiles): Renamed from
40 lookup_symbol_aux_symtabs. All callers updated.
41 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
42 All callers updated.
43 (lookup_symbol_in_objfile_symtabs): Renamed from
44 lookup_symbol_aux_objfile. All callers updated.
45
d1a2d36d
DE
462014-11-06 Doug Evans <xdje42@gmail.com>
47
48 * symtab.c (lookup_symbol_in_block): Renamed from
49 lookup_symbol_aux_block. All callers updated.
50
24d864bb
DE
512014-11-06 Doug Evans <xdje42@gmail.com>
52
53 * symtab.c (lookup_static_symbol): Renamed from
54 lookup_static_symbol_aux. All callers updated.
55 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
56 All callers updated.
57
358d6ab3
DE
582014-11-06 Doug Evans <xdje42@gmail.com>
59
60 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
61 * block.c (block_lookup_symbol): Use it.
62 * cp-support.c (make_symbol_overload_list_block): Use it.
63 * symtab.c (iterate_over_symbols): Use it.
64
16b2eaa1
DE
652014-11-06 Doug Evans <xdje42@gmail.com>
66
67 * symtab.c (lookup_block_symbol): Moved to ...
68 * block.c (block_lookup_symbol): ... here and renamed.
69 All callers updated.
70 * block.h (block_lookup_symbol): Declare.
71 * symtab.h (lookup_block_symbol): Delete.
72
2dd2cd1c
DE
732014-11-06 Doug Evans <xdje42@gmail.com>
74
75 * ada-lang.c (ada_make_symbol_completion_list): Use
76 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
77 * symtab.c (lookup_objfile_from_block): Ditto.
78
d4c58915
DE
792014-11-06 Doug Evans <xdje42@gmail.com>
80
81 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
82 TYPE_CODE_STRUCT.
83
9c1877ea
DE
842014-11-06 Doug Evans <xdje42@gmail.com>
85
86 * objfiles.c (get_objfile_arch): Constify.
87 * objfiles.h (get_objfile_arch): Update prototype.
88 * solib.c (solib_global_lookup): Fetch arch from objfile,
89 not target_gdbarch.
90
426a4079
SL
912014-11-06 Sandra Loosemore <sandra@codesourcery.com>
92
93 * nios2-tdep.c (wild_insn): Delete.
94 (profiler_insn, irqentry_insn): Delete.
95 (nios2_match_sequence): Delete.
96 (nios2_analyze_prologue): Update comments. Remove matching
97 of obsolete profiler_insn and irqentry_insn sequences.
98
ee11262d
AM
992014-11-05 Alan Modra <amodra@gmail.com>
100
101 * charset.c (convert_between_encodings): Shrink obstack using
102 obstack_blank_fast.
103 * minsyms.c (install_minimal_symbols): Likewise.
1ae1b8cc
AM
104 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
105 to char* before doing pointer arithmetic.
ee11262d 106
c87e6d00
SM
1072014-11-04 Simon Marchi <simon.marchi@ericsson.com>
108
109 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
110
441ef17f
PA
1112014-11-04 Pedro Alves <palves@redhat.com>
112
113 * breakpoint.c (breakpoint_thread_match): Delete function.
114 * breakpoint.h (breakpoint_thread_match): Delete declaration.
115
e0f52461
SC
1162014-11-03 Siva Chandra Reddy <sivachandra@google.com>
117
118 PR c++/17494
119 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
120 the method args also under EVAL_SKIP when evaluating method
121 calls under EVAL_SKIP.
122
a0b4d890
YQ
1232014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
124
125 * dwarf2loc.c (read_pieced_value): Do big endian
126 processing only if gdb_regnum is not -1.
127 (write_pieced_value): Ditto.
128
1292014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
130
131 * arm-linux-tdep.c (arm_linux_init_abi): Use
132 info.byte_order_for_code to choose endianity of breakpoint
133 instructions snippets.
134
1352014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
136
137 * arm-tdep.c (extract_arm_insn): Use
138 gdbarch_byte_order_for_code to read arm instruction.
139
e82149ff
DE
1402014-11-02 Doug Evans <xdje42@gmail.com>
141
142 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
143
d7ee84f1
DE
1442014-11-02 Doug Evans <xdje42@gmail.com>
145
146 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
147 main_subfile before returning.
148
4f072d17
DE
1492014-10-31 Doug Evans <xdje42@gmail.com>
150
151 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
152 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
153
8301c89e
DE
1542014-10-31 Doug Evans <xdje42@gmail.com>
155
156 * valops.c (value_cast_pointers): Fix whitespace.
157 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
158 Ditto.
159
02be9a71
DE
1602014-10-30 Doug Evans <dje@google.com>
161
162 * NEWS: Mention ability add attributes to gdb.Objfile and
163 gdb.Progspace objects.
164 * python/py-objfile.c (objfile_object): New member dict.
165 (objfpy_dealloc): Py_XDECREF dict.
166 (objfpy_initialize): Initialize dict.
167 (objfile_getset): Add __dict__.
168 (objfile_object_type): Set tp_dictoffset member.
169 * python/py-progspace.c (progspace_object): New member dict.
170 (pspy_dealloc): Py_XDECREF dict.
171 (pspy_initialize): Initialize dict.
172 (pspace_getset): Add __dict__.
173 (pspace_object_type): Set tp_dictoffset member.
174
6427bef6
YQ
1752014-10-30 Yao Qi <yao@codesourcery.com>
176
177 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
178 replace '\\' with '\\\\'.
179
f60325be
JB
1802014-10-29 Joel Brobecker <brobecker@adacore.com>
181
182 GDB 7.8.1 released.
183
ab917dfb
PA
1842014-10-29 Pedro Alves <palves@redhat.com>
185
186 PR gdb/17408
187 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
188 instead of assuming a thread with a stepping range is always
189 stepping.
190
d3d4baed
PA
1912014-10-29 Pedro Alves <palves@redhat.com>
192
193 PR python/17372
194 * event-top.c (change_line_handler): Call
195 gdb_rl_callback_handler_remove instead of
196 rl_callback_handler_remove.
197 (callback_handler_installed): New global.
198 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
199 (gdb_rl_callback_handler_reinstall): New functions.
200 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
201 gdb_rl_callback_handler_install instead of
202 rl_callback_handler_remove and rl_callback_handler_install.
203 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
204 instead of rl_callback_handler_remove.
205 * event-top.h (gdb_rl_callback_handler_remove)
206 (gdb_rl_callback_handler_install)
207 (gdb_rl_callback_handler_reinstall): New declarations.
208 * infrun.c (reinstall_readline_callback_handler_cleanup): New
209 cleanup function.
210 (fetch_inferior_event): Install it.
211 * top.c (gdb_readline_wrapper_line) Call
212 gdb_rl_callback_handler_remove instead of
213 rl_callback_handler_remove.
214 (gdb_readline_wrapper_cleanup): Don't call
215 rl_callback_handler_install.
216
6e5d7f39
PA
2172014-10-29 Pedro Alves <palves@redhat.com>
218
219 * event-top.c (command_line_handler): Clear the first byte of
220 linebuffer, when it is first allocated.
221
551cb6a5
PA
2222014-10-29 Pedro Alves <palves@redhat.com>
223
224 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
225 TRY_CATCH.
226
1e1e619b
PA
2272014-10-29 Pedro Alves <palves@redhat.com>
228
229 PR tui/16138
230 PR tui/17519
231 * tui/tui-interp.c (tui_is_toplevel): Delete global.
232 (tui_allowed_p): Delete function.
233 * tui/tui.c: Include "interps.h".
234 (tui_enable): Don't use tui_allowed_p. Error out here with
235 detailed error messages if the TUI is the top level interpreter,
236 or if output is not a terminal. Use newterm instead of initscr,
237 and error out if initializing the terminal fails. Also error out if
238 the terminal doesn't support cursor addressing.
239 * tui/tui.h (tui_allowed_p): Delete declaration.
240
6041179a
JB
2412014-10-29 Joel Brobecker <brobecker@adacore.com>
242
243 * arm-tdep.c (arm_skip_stack_protector): Return early if
244 address loaded by first "ldr" instruction does not have
245 a corresponding minimal symbol. Update comment.
246
6ae274b7
YQ
2472014-10-29 Yao Qi <yao@codesourcery.com>
248
249 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
250 loaded address correctly of ldr instruction.
251
7f5ef605
PA
2522014-10-28 Pedro Alves <palves@redhat.com>
253
254 PR gdb/12623
255 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
256 field.
257 * infrun.c (resume) <stepping breakpoint instruction>: Set the
258 thread's stepped_breakpoint field. Skip if reverse debugging.
259 Add comment.
260 (init_thread_stepping_state, handle_signal_stop): Clear the
261 thread's stepped_breakpoint field.
262
7d1a114c
PA
2632014-10-27 Pedro Alves <palves@redhat.com>
264
265 * remote.c (remote_thread_alive): New, factored out from ...
266 (remote_thread_alive): ... this.
267 (remote_update_thread_list): Bail out before deleting threads if
268 the target returned an empty list, and, the current thread has a
269 magic/fake ptid.
270
e5f8a7cc
PA
2712014-10-27 Pedro Alves <palves@redhat.com>
272
273 * infrun.c (handle_signal_stop): Also skip handlers when a random
274 signal arrives while handling a "stepi" or a "nexti". Set the
275 thread's 'step_after_step_resume_breakpoint' flag.
276
71e396f9
LM
2772014-10-27 Luis Machado <lgustavo@codesourcery.com>
278
279 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
280 (arm_record_ld_st_imm_offset): Reimplement to cover all
281 load/store cases for ARM opcode 010.
282 (arm_record_ld_st_multiple): Reimplement to cover all
283 load/store cases for ARM opcode 100.
284
3aee438b
DE
2852014-10-26 Doug Evans <xdje42@gmail.com>
286
287 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
288
f88cb4b6
DE
2892014-10-26 Doug Evans <xdje42@gmail.com>
290
291 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
292 parameter "kind" to "block_index".
293 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
294 "block_index".
295 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
296
a023a30f
DE
2972014-10-26 Doug Evans <xdje42@gmail.com>
298
299 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
300
4c35218e
DE
3012014-10-26 Doug Evans <xdje42@gmail.com>
302
303 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
304 obstack_alloc.
305
f08e8df3
DE
3062014-10-26 Doug Evans <xdje42@gmail.com>
307
308 * parser-defs.h (block_found): Move decl from here ...
309 * symtab.h (block_found): ... to here.
310
cf901d3b
DE
3112014-10-26 Doug Evans <xdje42@gmail.com>
312
313 * symtab.h (struct field_of_this_result): Fix typo in comment.
314 (lookup_symbol_in_language): Move function comment here.
315 (lookup_symbol): Improve function comment.
316 (basic_lookup_symbol_nonlocal): Ditto.
317 (lookup_symbol_static, lookup_symbol_global): Ditto.
318 (lookup_symbol_aux_block): Ditto.
319 (lookup_language_this): Add function comment.
320 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
321 function comment.
322 (lookup_block_symbol): Improve function comment.
323 (lookup_struct): Fix capitalization in function comment.
324 (lookup_transparent_type): Add function comment.
325 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
326 Improve function comment.
327 (lookup_objfile_from_block): Add function comment.
328 * symtab.c (lookup_symbol_in_language): Update function comment.
329 (lookup_symbol, lookup_language_this): Ditto.
330 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
331 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
332 (basic_lookup_symbol_nonlocal): Ditto.
333 (lookup_symbol_static, lookup_symbol_global): Ditto.
334 (lookup_transparent_type, lookup_block_symbol): Ditto.
335
ff6c39cf
DE
3362014-10-25 Doug Evans <xdje42@gmail.com>
337
338 * symtab.c (types_info): Delete forward decl.
339 (functions_info, variables_info, sources_info): Ditto.
340 (_initialize_symtab): Rewrite forward decl to use
341 initialize_file_ftype.
342
ec201f0c
DE
3432014-10-25 Doug Evans <xdje42@gmail.com>
344
345 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
346
ca040673
DE
3472014-10-25 Doug Evans <xdje42@gmail.com>
348
349 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
350 of local var child_die.
351
6f259a23
DB
3522014-10-24 Don Breazeal <donb@codesourcery.com>
353
354 * infrun.c (follow_fork_inferior): Update fork message printing
355 to use target_terminal_ours_for_output instead of
356 target_terminal_ours, to use _() for all format strings, to print
357 "vfork" instead of "fork" for vforks, and to add a detach message.
358 (handle_vfork_child_exec_or_exit): Update message printing to use
359 target_terminal_ours_for_output instead of target_terminal_ours, to
360 use _() for all format strings, and to fix some formatting.
361
09dd9a69
PA
3622014-10-24 Pedro Alves <palves@redhat.com>
363
364 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
365 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
366 * config/vax/vax.mh: Delete.
367 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
368 obsolete configurations section.
369 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
370 * vax-nat.c: Delete file.
371
5ab806de
PA
3722014-10-24 Pedro Alves <palves@redhat.com>
373
374 * NEWS (Removed targets): Add OS/arch column.
375
3433cfa5
SC
3762014-10-24 Siva Chandra Reddy <sivachandra@google.com>
377
378 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
379 on the arg type of a constructor only if it is of reference type.
380
96ba4233
SL
3812014-10-23 Sandra Loosemore <sandra@codesourcery.com>
382
383 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
384 accessors and constants from nios2 opcodes update.
385 (nios2_get_next_pc): Likewise.
386
28153fd3
DE
3872014-10-19 Doug Evans <xdje42@gmail.com>
388
389 * gdbthread.h (set_running): Fix comment.
390 (set_executing, finish_thread_state): Fix comment.
391
fc9b8e47
DE
3922014-10-18 Doug Evans <xdje42@gmail.com>
393
394 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
395
4ffbba72
DE
3962014-10-17 Doug Evans <dje@google.com>
397
398 * NEWS: Mention new event gdb.clear_objfiles.
399 * python/py-event.h (emit_clear_objfiles_event): Clear
400 * python/py-events.h (events_object): New member clear_objfiles.
401 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
402 event.
403 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
404 emit clear_objfiles event.
405 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
406 function.
407 (emit_clear_objfiles_event): New function.
408 (clear_objfiles): New event.
409 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
410 Declare.
411 * python/python.c (_initialize_python): Call
412 gdbpy_initialize_clear_objfiles_event.
413
d096d8c1
DE
4142014-10-17 Doug Evans <dje@google.com>
415
416 * NEWS: Mention new gdb.Objfile.progspace attribute.
417 * python/py-objfile.c (objfpy_get_progspace): New function.
418 (objfile_getset): New entry for "progspace".
419
6c4486e6
PA
4202014-10-17 Pedro Alves <palves@redhat.com>
421
422 PR gdb/17471
423 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
424 returns a copy of the input.
425 (run_command_1, continue_command, step_1, jump_command)
426 (signal_command, until_command, advance_command, finish_command)
427 (attach_command): Adjust and install a cleanup to free the
428 stripped args.
429
0ff33695
PA
4302014-10-17 Pedro Alves <palves@redhat.com>
431
432 PR gdb/17300
433 * infcmd.c (continue_1): If continuing all threads in the
434 foreground, make sure the inferior's terminal settings are put in
435 effect.
436
6fdebc3d
PA
4372014-10-17 Pedro Alves <palves@redhat.com>
438
439 PR gdb/17472
440 * annotate.c (annotate_breakpoints_invalid): Use
441 target_terminal_our_for_output instead of target_terminal_ours.
442 Give back the terminal to the target.
443 (annotate_frames_invalid): Likewise.
444
5842f62a
PA
4452014-10-17 Pedro Alves <palves@redhat.com>
446
447 * target.c (enum terminal_state): New enum.
448 (terminal_state): New global.
449 (target_terminal_init): New function.
450 (target_terminal_inferior): Skip if inferior already owns the
451 terminal.
452 (target_terminal_ours, target_terminal_ours_for_output): New
453 functions.
454 * target.h (target_terminal_init): Convert to function prototype.
455 (target_terminal_ours_for_output): Convert to function prototype
456 and tweak comment.
457 (target_terminal_ours): Convert to function prototype and tweak
458 comment.
459 * windows-nat.c (do_initial_windows_stuff): Call
460 target_terminal_init instead of child_terminal_init_with_pgrp.
461
32a8097b
PA
4622014-10-17 Pedro Alves <palves@redhat.com>
463
464 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
465 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
466 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
467 solib-osf.c.
468 * NEWS: Mention that support for alpha*-*-osf* has been removed.
469 * ada-lang.h [__alpha__ && __osf__]
470 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
471 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
472 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
473 GDB_OSABI_OSF1.
474 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
475 files.
476 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
477 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
478 * configure: Regenerate.
479 * configure.ac: Remove references to osf.
480 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
481 section. Remove all other references to osf.
482 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
483 Remove all other references to osf.
484 * dec-thread.c: Delete file.
485 * defs.h (GDB_OSABI_OSF1): Delete.
486 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
487 defined.
488 * osabi.c (gdb_osabi_names): Delete "OSF/1".
489 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
490 Delete code.
491 (unconditionally_kill_inferior)
492 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
493 * solib-osf.c: Delete file.
494
80134cf5
PA
4952014-10-17 Pedro Alves <palves@redhat.com>
496
497 * remote.c (clear_threads_listing_context): Move higher up, out of
498 the HAVE_LIBEXPAT guard.
499
89c7137f
TG
5002014-10-16 Tristan Gingold <gingold@adacore.com>
501
502 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
503 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
504 on amd64.
505
44ee4a52
PA
5062014-10-15 Pedro Alves <palves@redhat.com>
507
508 * dec-thread.c (dec_thread_count_gdb_threads)
509 (dec_thread_add_gdb_thread): Delete.
510 (dec_thread_update_thread_list): Delete.
511 (dec_thread_find_new_threads): Rename to ...
512 (dec_thread_update_thread_list): ... this. Delete GDB-size
513 threads that are no longer found in dec_thread_list.
514 (resync_thread_list): Delete.
515 (dec_thread_wait): Call dec_thread_update_thread_list instead of
516 resync_thread_list.
517
ab970af1
PA
5182014-10-15 Pedro Alves <palves@redhat.com>
519
520 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
521 * remote.c (remote_update_thread_list): Skip calling prune_threads
522 if any thread listing method is supported, and instead walk over
523 the set of remote threads listed, deleting those that are not
524 found in GDB's thread list.
525
e8032dde
PA
5262014-10-15 Pedro Alves <palves@redhat.com>
527
528 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
529 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
530 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
531 (bsd_uthread_target): Adjust.
532 * corelow.c (core_open): Adjust.
533 * dec-thread.c (dec_thread_find_new_threads): Update comment.
534 (dec_thread_update_thread_list): New function.
535 (init_dec_thread_ops): Adjust.
536 * gdbthread.h (prune_threads): New declaration.
537 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
538 (thread_db_update_thread_list): ... this. Call prune_threads.
539 (init_thread_db_ops): Adjust.
540 * nto-procfs.c (procfs_find_new_threads): Rename to ...
541 (procfs_update_thread_list): ... this. Call prune_threads.
542 (procfs_attach, procfs_create_inferior, init_procfs_targets):
543 Adjust.
544 * obsd-nat.c (obsd_find_new_threads): Rename to ...
545 (obsd_update_thread_list): ... this. Call prune_threads.
546 (obsd_add_target): Adjust.
547 * procfs.c (procfs_target): Adjust.
548 (procfs_notice_thread): Update comment.
549 (procfs_find_new_threads): Rename to ...
550 (procfs_update_thread_list): ... this. Call prune_threads.
551 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
552 comment.
553 (ravenscar_wait): Adjust.
554 (ravenscar_find_new_threads): Rename to ...
555 (ravenscar_update_thread_list): ... this. Call prune_threads.
556 (init_ravenscar_thread_ops): Adjust.
557 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
558 (record_btrace_update_thread_list): ... this. Adjust comment.
559 (init_record_btrace_ops): Adjust.
560 * remote.c (remote_threads_info): Rename to ...
561 (remote_update_thread_list): ... this. Call prune_threads.
562 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
563 Adjust.
564 * sol-thread.c (check_for_thread_db): Adjust.
565 (sol_find_new_threads_callback): Rename to ...
566 (sol_update_thread_list_callback): ... this.
567 (sol_find_new_threads): Rename to ...
568 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
569 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
570 * target-delegates.c: Regenerate.
571 * target.c (target_find_new_threads): Rename to ...
572 (target_update_thread_list): ... this.
573 * target.h (struct target_ops): Rename to_find_new_threads field
574 to to_update_thread_list.
575 (target_find_new_threads): Rename to ...
576 (target_update_thread_list): ... this.
577 * thread.c (prune_threads): Make extern.
578 (update_thread_list): Adjust.
579
6dc54d91
PA
5802014-10-15 Pedro Alves <palves@redhat.com>
581
582 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
583 Add describing comment. Return -1 if the qL packet is not
584 supported.
585 (struct thread_item, thread_item_t): Move higher up in
586 the file. Add comments.
587 (struct threads_parsing_context): Move higher up in
588 the file, add comments, and remote to ...
589 (struct threads_listing_context): ... this.
590 (remote_newthread_step): Don't add the thread to GDB's thread
591 database here. Instead push it to the thread_listing_context
592 list.
593 (remote_find_new_threads): Rename to ...
594 (remote_get_threads_with_ql): ... this. Add target_ops and
595 targets_listing_context parameters. Pass down context.
596 (start_thread): Adjust.
597 (clear_threads_parsing_context): Rename to ...
598 (clear_threads_listing_context): ... this.
599 (remote_get_threads_with_qxfer): New, with parts salvaged from old
600 remote_threads_info.
601 (remote_get_threads_with_qthreadinfo): Ditto.
602 (remote_threads_info): Reimplement.
603
36728e82
PA
6042014-10-15 Pedro Alves <palves@redhat.com>
605
606 * infrun.c (resume): Don't force displaced-stepping for all
607 single-steps on software single-stepping archs.
608
34b7e8a6
PA
6092014-10-15 Pedro Alves <palves@redhat.com>
610
611 * breakpoint.c (single_step_breakpoints): Delete global.
612 (insert_single_step_breakpoint): Adjust to store the breakpoint
613 pointer in the current thread.
614 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
615 (cancel_single_step_breakpoints): Delete functions.
616 (breakpoint_has_location_inserted_here): Make extern.
617 (single_step_breakpoint_inserted_here_p): Adjust to walk the
618 breakpoint list.
619 * breakpoint.h (breakpoint_has_location_inserted_here): New
620 declaration.
621 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
622 (cancel_single_step_breakpoints): Remove declarations.
623 * gdbthread.h (struct thread_control_state)
624 <single_step_breakpoints>: New field.
625 (delete_single_step_breakpoints)
626 (thread_has_single_step_breakpoints_set)
627 (thread_has_single_step_breakpoint_here): New declarations.
628 * infrun.c (follow_exec): Also clear the single-step breakpoints.
629 (singlestep_breakpoints_inserted_p, singlestep_ptid)
630 (singlestep_pc): Delete globals.
631 (infrun_thread_ptid_changed): Remove references to removed
632 globals.
633 (resume_cleanups): Delete the current thread's single-step
634 breakpoints.
635 (maybe_software_singlestep): Remove references to removed globals.
636 (resume): Adjust to use thread_has_single_step_breakpoints_set and
637 delete_single_step_breakpoints.
638 (init_wait_for_inferior): Remove references to removed globals.
639 (delete_thread_infrun_breakpoints): Delete the thread's
640 single-step breakpoints too.
641 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
642 single-step breakpoints here.
643 (delete_stopped_threads_single_step_breakpoints): New function.
644 (adjust_pc_after_break): Adjust to use
645 thread_has_single_step_breakpoints_set.
646 (handle_inferior_event): Remove references to removed globals.
647 Use delete_stopped_threads_single_step_breakpoints.
648 (handle_signal_stop): Adjust to per-thread single-step
649 breakpoints. Swap test order to do cheaper tests first.
650 (switch_back_to_stepped_thread): Extend debug output. Remove
651 references to removed globals.
652 * record-full.c (record_full_wait_1): Adjust to per-thread
653 single-step breakpoints.
654 * thread.c (delete_single_step_breakpoints)
655 (thread_has_single_step_breakpoints_set)
656 (thread_has_single_step_breakpoint_here): New functions.
657 (clear_thread_inferior_resources): Also delete the thread's
658 single-step breakpoints.
659
5b834a0a
PA
6602014-10-15 Pedro Alves <palves@redhat.com>
661
662 * thread.c (delete_thread_breakpoint): New function.
663 (delete_step_resume_breakpoint)
664 (delete_exception_resume_breakpoint): Use it.
665 (delete_at_next_stop): New function.
666 (clear_thread_inferior_resources): Use delete_at_next_stop.
667
a1fd2fa5
PA
6682014-10-15 Pedro Alves <palves@redhat.com>
669
670 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
671 (breakpoint_inserted_here_p): ... here. Remove special case for
672 software single-step breakpoints.
673 (find_non_raw_software_breakpoint_inserted_here): Inline ...
674 (software_breakpoint_inserted_here_p): ... here. Remove special
675 case for software single-step breakpoints.
676 (bp_target_info_copy_insertion_state)
677 (deprecated_insert_raw_breakpoint)
678 (deprecated_remove_raw_breakpoint): Delete functions.
679 * breakpoint.h (deprecated_insert_raw_breakpoint)
680 (deprecated_remove_raw_breakpoint): Remove declarations.
681
7c16b83e
PA
6822014-10-15 Pedro Alves <palves@redhat.com>
683
684 PR breakpoints/9649
685 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
686 Delete array globals.
687 (single_step_breakpoints): New global.
688 (breakpoint_xfer_memory): Remove special handling for single-step
689 breakpoints.
690 (update_breakpoints_after_exec): Delete bp_single_step
691 breakpoints.
692 (detach_breakpoints): Remove special handling for single-step
693 breakpoints.
694 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
695 (bpstat_stop_status): Add comment.
696 (bpstat_what, bptype_string, print_one_breakpoint_location)
697 (adjust_breakpoint_address, init_bp_location): Handle
698 bp_single_step.
699 (new_single_step_breakpoint): New function.
700 (set_momentary_breakpoint, bkpt_remove_location): Remove special
701 handling for single-step breakpoints.
702 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
703 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
704 Rewrite.
705 (detach_single_step_breakpoints, find_single_step_breakpoint):
706 Delete functions.
707 (breakpoint_has_location_inserted_here): New function.
708 (single_step_breakpoint_inserted_here_p): Rewrite.
709 * breakpoint.h: Remove FIXME.
710 (enum bptype) <bp_single_step>: New enum value.
711 (insert_single_step_breakpoint): Update comment.
712 * infrun.c (resume_cleanups)
713 (delete_step_thread_step_resume_breakpoint): Remove single-step
714 breakpoints.
715 (fetch_inferior_event): Install a cleanup that removes infrun
716 breakpoints.
717 (switch_back_to_stepped_thread) <expect thread advanced also>:
718 Clear step-over info.
719
0cbcdb96
PA
7202014-10-15 Pedro Alves <palves@redhat.com>
721
722 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
723 (delete_thread_infrun_breakpoints): New function, with parts
724 salvaged from delete_step_resume_breakpoint_callback.
725 (delete_step_thread_step_resume_breakpoint): Delete.
726 (for_each_just_stopped_thread_callback_func): New typedef.
727 (for_each_just_stopped_thread): New function.
728 (delete_just_stopped_threads_infrun_breakpoints): New function.
729 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
730 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
731 ... this. Adjust.
732 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
733
963f9c80
PA
7342014-10-15 Pedro Alves <palves@redhat.com>
735
736 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
737 trying to step past a non-steppable watchpoint.
738 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
739 field.
740 * infrun.c (struct step_over_info): Add new field
741 'nonsteppable_watchpoint_p' and adjust comments.
742 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
743 Adjust.
744 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
745 (stepping_past_nonsteppable_watchpoint): New function.
746 (step_over_info_valid_p): Also return true if stepping past a
747 nonsteppable watchpoint.
748 (proceed): Adjust call to set_step_over_info. Remove reference to
749 init_infwait_state.
750 (init_wait_for_inferior): Remove reference to init_infwait_state.
751 (waiton_ptid): Delete global.
752 (struct execution_control_state)
753 <stepped_after_stopped_by_watchpoint>: Delete field.
754 (wait_for_inferior, fetch_inferior_event): Always pass
755 minus_one_ptid to target_wait.
756 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
757 field.
758 (init_infwait_state): Delete function.
759 (handle_inferior_event): Remove infwait_state handling.
760 (handle_signal_stop) <watchpoints handling>: Adjust after
761 stepped_after_stopped_by_watchpoint removal. Don't remove
762 breakpoints here nor set infwait_state. Set the thread's
763 stepping_over_watchpoint flag, and call keep_going instead.
764 (keep_going): Handle stepping_over_watchpoint. Adjust
765 set_step_over_info calls.
766 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
767 function.
768
6cc83d2a
PA
7692014-10-15 Pedro Alves <palves@redhat.com>
770
771 * infrun.c (step_over_info_valid_p): New function.
772 (resume): Use step_over_info_valid_p instead of checking the
773 threads's trap_expected flag.
774
6979730b
DE
7752014-10-15 Doug Evans <dje@google.com>
776 Walfred Tedeschi <walfred.tedeschi@intel.com>
777
778 PR python/17364
779 * python/lib/gdb/__init__.py (packages): Add "printer".
780 * python/lib/gdb/command/bound_registers.py: Moved to ...
781 * python/lib/gdb/printer/bound_registers.py: ... here.
782 Add printer to global set of builtin printers. Rename printer from
783 "bound" to "mpx_bound128".
784 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
785 registered as global "builtin" printer.
786 (add_builtin_pretty_printer): New function.
787 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
788 gdb/printer/__init__.py.
789
35a49624
IB
7902014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
791
792 * Makefile.in (SFILES): Remove d-support.c.
793 (COMMON_OBS): Remove d-support.o.
794 * d-lang.h (d_parse_symbol): Remove declaration.
795 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
796 * d-support.c: Remove file.
797
8fa0c4f8
AA
7982014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
799
800 * gdb/infrun.c (process_event_stop_test): Apply
801 gdbarch_addr_bits_remove to longjmp resume address.
802
3666da81
PA
8032014-10-15 Pedro Alves <palves@redhat.com>
804
805 * regformats/microblaze.dat: Delete file.
806
449aa9df
AKA
8072014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
808
809 * features/Makefile (microblaze-expedite): Replace pc with rpc.
810 * regformats/microblaze-with-stack-protect.dat: Regenerate.
811
ebb8ece2
SC
8122014-10-15 Siva Chandra Reddy <sivachandra@google.com>
813
814 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
815 as non-trivial.
816
82c48ac7
SC
8172014-10-15 Siva Chandra Reddy <sivachandra@google.com>
818
819 PR c++/13403
820 PR c++/15154
821 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
822 with qualified args.
823
c40cc657
JB
8242014-10-14 Joel Brobecker <brobecker@adacore.com>
825
826 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
827 of the case where the second operand is a pointer.
828 <BINOP_SUB>: Likewise.
829
0ea5cda8
SDJ
8302014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
831
832 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
833 only if it is not NULL.
834 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
835 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
836 (struct probe_ops) <clear_semaphore>: Likewise.
837 * tracepoint.c (start_tracing): Call set_semaphore only if it is
838 not NULL.
839 (stop_tracing): Likewise, for clear_semaphore.
840
f7088df3
SDJ
8412014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
842
843 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
844 using language_c, instead of current_language.
845
4e1bbde0
DE
8462014-10-13 Doug Evans <dje@google.com>
847
6ff5a0f6 848 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 849 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 850 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
851 (pspy_new, pspace_to_pspace_object): Call it.
852
c780cc2f
JK
8532014-10-13 Miroslav Franc <mfranc@redhat.com>
854 Jan Kratochvil <jan.kratochvil@redhat.com>
855
856 Fix "save breakpoints" for "catch" command.
857 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
858 newline.
859
99894e11
JK
8602014-10-12 Miroslav Franc <mfranc@redhat.com>
861
862 Fix "save breakpoints" for "disable $bpnum" command.
863 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
864
3831839c
PA
8652014-10-10 Pedro Alves <palves@redhat.com>
866
867 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
868 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
869 (HFILES_NO_SRCDIR): Remove solib-irix.h.
870 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
871 and been removed.
872 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
873 * configure.ac: Remove references to IRIX.
874 * configure.host: Add *-*-irix* to the obsolete hosts section.
875 Remove all other references to irix.
876 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
877 Delete files.
878
cc3afae2
AKA
8792014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
880
881 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
882 isn't valid, release the tdesc arch data and return NULL.
883
cdfa0b0a
PA
8842014-10-10 Pedro Alves <palves@redhat.com>
885
886 * linux-tdep.c: Include observer.h.
887 (linux_inferior_data): New global.
888 (struct linux_info): New structure.
889 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
890 (get_linux_inferior_data): New functions.
891 (linux_vsyscall_range): Rename to ...
892 (linux_vsyscall_range_raw): ... this.
893 (linux_vsyscall_range): New function; handles caching.
894 (_initialize_linux_tdep): Register linux_inferior_data. Install
895 inferior_exit and inferior_appeared observers.
896
8b9a549d
PA
8972014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
898 Pedro Alves <palves@redhat.com>
899
900 PR symtab/14466
901 * solib-svr4.c (svr4_read_so_list): Rename to ...
902 (svr4_current_sos_1): ... this and change the function comment.
903 (svr4_current_sos): New function.
904
3437254d
PA
9052014-10-10 Pedro Alves <palves@redhat.com>
906
907 * arch-utils.c (default_vsyscall_range): New function.
908 * arch-utils.h (default_vsyscall_range): New declaration.
909 * gdbarch.sh (vsyscall_range): New hook.
910 * gdbarch.h, gdbarch.c: Regenerate.
911 * linux-tdep.c (linux_vsyscall_range): New function.
912 (linux_init_abi): Install linux_vsyscall_range as
913 vsyscall_range gdbarch hook.
914 * memrange.c (address_in_mem_range): New function.
915 * memrange.h (address_in_mem_range): New declaration.
916 * symfile-mem.c (find_vdso_size): Delete function.
917 (add_vsyscall_page): Use gdbarch_vsyscall_range.
918
31cc0b80
PA
9192014-10-10 Pedro Alves <palves@redhat.com>
920
921 * infrun.c (normal_stop): Fix typo in comment.
922
3e3286a2
SDJ
9232014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
924
925 PR tdep/9390
926 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
927 typo when using logical AND to determine instruction type.
928
fcbdedf8
YQ
9292014-10-09 Yao Qi <yao@codesourcery.com>
930
931 * infrun.c (handle_signal_stop): Remove local variable
932 'printed'.
933
db984616
SS
9342014-10-08 Stan Shebs <stan@codesourcery.com>
935
936 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
937
3ba37e6c
GB
9382014-10-08 Gary Benson <gbenson@redhat.com>
939
940 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
941
a442d071
GB
9422014-10-08 Gary Benson <gbenson@redhat.com>
943
944 * common/common-defs.h: Include common-exceptions.h.
945 * exceptions.h: Do not include common-exceptions.h.
946
6f1947e8
GB
9472014-10-08 Gary Benson <gbenson@redhat.com>
948
949 * common/common-defs.h: Include cleanups.h.
950 * common/common-exceptions.c: Do not include cleanups.h.
951 * utils.h: Likewise.
952
c765fdb9
GB
9532014-10-08 Gary Benson <gbenson@redhat.com>
954
955 * ada-lang.c: Do not include exceptions.h.
956 * ada-valprint.c: Likewise.
957 * amd64-tdep.c: Likewise.
958 * auto-load.c: Likewise.
959 * block.c: Likewise.
960 * break-catch-throw.c: Likewise.
961 * breakpoint.c: Likewise.
962 * btrace.c: Likewise.
963 * c-lang.c: Likewise.
964 * cli/cli-cmds.c: Likewise.
965 * cli/cli-interp.c: Likewise.
966 * cli/cli-script.c: Likewise.
967 * completer.c: Likewise.
968 * corefile.c: Likewise.
969 * corelow.c: Likewise.
970 * cp-abi.c: Likewise.
971 * cp-support.c: Likewise.
972 * cp-valprint.c: Likewise.
973 * darwin-nat.c: Likewise.
974 * dwarf2-frame-tailcall.c: Likewise.
975 * dwarf2-frame.c: Likewise.
976 * dwarf2loc.c: Likewise.
977 * dwarf2read.c: Likewise.
978 * eval.c: Likewise.
979 * event-loop.c: Likewise.
980 * event-top.c: Likewise.
981 * f-valprint.c: Likewise.
982 * frame-unwind.c: Likewise.
983 * frame.c: Likewise.
984 * gdbtypes.c: Likewise.
985 * gnu-v2-abi.c: Likewise.
986 * gnu-v3-abi.c: Likewise.
987 * guile/scm-auto-load.c: Likewise.
988 * guile/scm-breakpoint.c: Likewise.
989 * guile/scm-cmd.c: Likewise.
990 * guile/scm-frame.c: Likewise.
991 * guile/scm-lazy-string.c: Likewise.
992 * guile/scm-param.c: Likewise.
993 * guile/scm-symbol.c: Likewise.
994 * guile/scm-type.c: Likewise.
995 * hppa-hpux-tdep.c: Likewise.
996 * i386-tdep.c: Likewise.
997 * inf-loop.c: Likewise.
998 * infcall.c: Likewise.
999 * infcmd.c: Likewise.
1000 * infrun.c: Likewise.
1001 * interps.c: Likewise.
1002 * interps.h: Likewise.
1003 * jit.c: Likewise.
1004 * linespec.c: Likewise.
1005 * linux-nat.c: Likewise.
1006 * linux-thread-db.c: Likewise.
1007 * m32r-rom.c: Likewise.
1008 * main.c: Likewise.
1009 * memory-map.c: Likewise.
1010 * mi/mi-cmd-break.c: Likewise.
1011 * mi/mi-cmd-stack.c: Likewise.
1012 * mi/mi-interp.c: Likewise.
1013 * mi/mi-main.c: Likewise.
1014 * monitor.c: Likewise.
1015 * nto-procfs.c: Likewise.
1016 * objc-lang.c: Likewise.
1017 * p-valprint.c: Likewise.
1018 * parse.c: Likewise.
1019 * ppc-linux-tdep.c: Likewise.
1020 * printcmd.c: Likewise.
1021 * probe.c: Likewise.
1022 * python/py-auto-load.c: Likewise.
1023 * python/py-breakpoint.c: Likewise.
1024 * python/py-cmd.c: Likewise.
1025 * python/py-finishbreakpoint.c: Likewise.
1026 * python/py-frame.c: Likewise.
1027 * python/py-framefilter.c: Likewise.
1028 * python/py-function.c: Likewise.
1029 * python/py-gdb-readline.c: Likewise.
1030 * python/py-inferior.c: Likewise.
1031 * python/py-infthread.c: Likewise.
1032 * python/py-lazy-string.c: Likewise.
1033 * python/py-linetable.c: Likewise.
1034 * python/py-param.c: Likewise.
1035 * python/py-prettyprint.c: Likewise.
1036 * python/py-symbol.c: Likewise.
1037 * python/py-type.c: Likewise.
1038 * python/py-value.c: Likewise.
1039 * python/python-internal.h: Likewise.
1040 * python/python.c: Likewise.
1041 * record-btrace.c: Likewise.
1042 * record-full.c: Likewise.
1043 * regcache.c: Likewise.
1044 * remote-fileio.c: Likewise.
1045 * remote-mips.c: Likewise.
1046 * remote.c: Likewise.
1047 * rs6000-aix-tdep.c: Likewise.
1048 * rs6000-nat.c: Likewise.
1049 * skip.c: Likewise.
1050 * solib-darwin.c: Likewise.
1051 * solib-dsbt.c: Likewise.
1052 * solib-frv.c: Likewise.
1053 * solib-ia64-hpux.c: Likewise.
1054 * solib-spu.c: Likewise.
1055 * solib-svr4.c: Likewise.
1056 * solib.c: Likewise.
1057 * spu-tdep.c: Likewise.
1058 * stack.c: Likewise.
1059 * stap-probe.c: Likewise.
1060 * symfile-mem.c: Likewise.
1061 * symmisc.c: Likewise.
1062 * target.c: Likewise.
1063 * thread.c: Likewise.
1064 * top.c: Likewise.
1065 * tracepoint.c: Likewise.
1066 * tui/tui-interp.c: Likewise.
1067 * typeprint.c: Likewise.
1068 * utils.c: Likewise.
1069 * valarith.c: Likewise.
1070 * valops.c: Likewise.
1071 * valprint.c: Likewise.
1072 * value.c: Likewise.
1073 * varobj.c: Likewise.
1074 * windows-nat.c: Likewise.
1075 * xml-support.c: Likewise.
1076
484933d1
MR
10772014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1078
1079 * mips-tdep.c (add_offset_16): Rewrite to implement what the
1080 name implies.
1081 (extended_mips16_next_pc): Update accordingly.
1082
ab50adb6
MR
10832014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1084
1085 * mips-tdep.c (mips16_instruction_is_compact_branch): New
1086 function.
1087 (micromips_instruction_is_compact_branch): Likewise.
1088 (mips16_scan_prologue): Terminate scanning upon seeing a branch
1089 or a compact jump, reaching a jump delay slot, or seeing a
1090 second non-prologue instruction.
1091 (micromips_scan_prologue): Also terminate scanning upon seeing a
1092 compact branch or jump, or reaching a branch or jump delay slot.
1093 (mips32_scan_prologue): Terminate scanning upon reaching a branch
1094 or jump delay slot, or seeing a second non-prologue instruction.
1095 (mips32_instruction_has_delay_slot): Retain instruction
1096 examination code only, update arguments accordingly and move
1097 instruction fetch pieces to...
1098 (mips32_insn_at_pc_has_delay_slot): ... this new function.
1099 (micromips_instruction_has_delay_slot): Likewise and to...
1100 (micromips_insn_at_pc_has_delay_slot): ... this new function.
1101 (mips16_instruction_has_delay_slot): Likewise and to...
1102 (mips16_insn_at_pc_has_delay_slot): ... this new function.
1103 (mips_single_step_through_delay): Update accordingly.
1104 (mips_adjust_breakpoint_address): Likewise.
1105
ae790652
MR
11062014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
1107
1108 * mips-tdep.c (micromips_instruction_has_delay_slot): When
1109 !mustbe32 also return 1 for 32-bit instructions.
1110 (mips16_instruction_has_delay_slot): Likewise. Add an
1111 explanatory comment.
1112
9b807e7b
MR
11132014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1114
1115 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
1116 symbols special.
1117
0d5ed153
MR
11182014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
1119
1120 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
1121 update comments.
1122 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
1123 for the breakpoint's address. Don't preinitialize `placed_size'.
1124 (insert_bp_location): Set `reqstd_address' rather than
1125 `placed_address'.
1126 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
1127 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
1128 address.
1129 (bkpt_remove_location): Likewise.
1130 (deprecated_insert_raw_breakpoint): Likewise.
1131 (deprecated_remove_raw_breakpoint): Likewise.
1132 (find_single_step_breakpoint): Likewise.
1133 * mem-break.c (default_memory_insert_breakpoint): Use
1134 `reqstd_address' for the breakpoint's address. Don't set
1135 `placed_address' or `placed_size' if breakpoint contents couldn't
1136 have been determined.
1137 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
1138 the breakpoint's address.
1139 (remote_insert_hw_breakpoint): Likewise. Don't set
1140 `placed_address' or `placed_size' if breakpoint couldn't have been
1141 set.
1142 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
1143 `reqstd_address' for the breakpoint's address.
1144 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
1145 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
1146 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
1147 * microblaze-linux-tdep.c
1148 (microblaze_linux_memory_remove_breakpoint): Likewise.
1149 * monitor.c (monitor_insert_breakpoint): Likewise.
1150 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
1151 (procfs_insert_hw_breakpoint): Likewise.
1152 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
1153 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
1154 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
1155 * remote-mips.c (mips_insert_breakpoint): Likewise.
1156 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
1157
3e871532
LM
11582014-10-03 Luis Machado <lgustavo@codesourcery.com>
1159
1160 * valops.c (value_assign): Check for bit field assignments
1161 before calling architecture-specific register value
1162 conversion functions.
1163
ec48dc8b
PM
11642014-10-03 Pierre Muller <muller@sourceware.org>
1165
1166 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
1167
b57bacec
PA
11682014-10-02 Pedro Alves <palves@redhat.com>
1169
1170 * breakpoint.c (breakpoints_should_be_inserted_now): Use
1171 threads_are_executing.
1172 * breakpoint.h (breakpoints_should_be_inserted_now): Add
1173 describing comment.
1174 * gdbthread.h (threads_are_executing): Declare.
1175 (handle_signal_stop) <random signals>: Don't print about the
1176 signal here if stopping.
1177 (end_stepping_range): Don't notify observers here.
1178 (normal_stop): Update the thread list. If stopped by a random
1179 signal or a stepping range ended, notify observers.
1180 * thread.c (threads_executing): New global.
1181 (init_thread_list): Clear 'threads_executing'.
1182 (set_executing): Set or clear 'threads_executing'.
1183 (threads_are_executing): New function.
1184 (update_threads_executing): New function.
1185 (update_thread_list): Use it.
1186
13fd3ff3
PA
11872014-10-02 Pedro Alves <palves@redhat.com>
1188
1189 PR breakpoints/17431
1190 * breakpoint.c (update_breakpoints_after_exec): Don't create
1191 overlay, longjmp, std terminate nor exception breakpoints here.
1192
32990ada
PA
11932014-10-02 Pedro Alves <palves@redhat.com>
1194
1195 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
1196 Adjust comments.
1197 * inferior.c (find_inferior_for_program_space): Give preference to
1198 the current inferior.
1199 * inferior.h (find_inferior_for_program_space): Update comment.
1200 * progspace.c (switch_to_program_space_and_thread): Prefer the
1201 current inferior if it's bound to the program space requested. If
1202 the inferior found doesn't have a PID yet, don't bother looking up
1203 a thread.
1204 * progspace.h (switch_to_program_space_and_thread): Adjust
1205 comment.
1206 * thread.c (any_thread_of_process, any_live_thread_of_process):
1207 Give preference to the current thread.
1208
0fec99e8
PA
12092014-10-01 Pedro Alves <palves@redhat.com>
1210
1211 * breakpoint.c (insert_bp_location): Error out if inserting a
1212 software breakpoint at a read-only address.
1213 * target.c (memory_xfer_check_region): New function, factored out
1214 from ...
1215 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
1216 ULONGEST.
1217 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
1218 against the memory region attributes.
1219
2ddf4301
SM
12202014-10-01 Simon Marchi <simon.marchi@ericsson.com>
1221
1222 * NEWS: Announce new exit-code field in -list-thread-groups
1223 output.
1224 * inferior.c (exit_inferior_1): Don't clear exit code.
1225 (inferior_appeared): Clear exit code.
1226 * mi/mi-main.c (print_one_inferior): Add printing of the exit
1227 code.
1228
5fdeec1d
PA
12292014-10-01 Pedro Alves <palves@redhat.com>
1230
1231 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
1232 GENERATED" along with emacs/vi read-only markers.
1233 * regformats/aarch64.dat: Regenerate.
1234 * regformats/arm-with-iwmmxt.dat: Regenerate.
1235 * regformats/arm-with-neon.dat: Regenerate.
1236 * regformats/arm-with-vfpv2.dat: Regenerate.
1237 * regformats/arm-with-vfpv3.dat: Regenerate.
1238 * regformats/i386/amd64-avx-linux.dat: Regenerate.
1239 * regformats/i386/amd64-avx.dat: Regenerate.
1240 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
1241 * regformats/i386/amd64-avx512.dat: Regenerate.
1242 * regformats/i386/amd64-linux.dat: Regenerate.
1243 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
1244 * regformats/i386/amd64-mpx.dat: Regenerate.
1245 * regformats/i386/amd64.dat: Regenerate.
1246 * regformats/i386/i386-avx-linux.dat: Regenerate.
1247 * regformats/i386/i386-avx.dat: Regenerate.
1248 * regformats/i386/i386-avx512-linux.dat: Regenerate.
1249 * regformats/i386/i386-avx512.dat: Regenerate.
1250 * regformats/i386/i386-linux.dat: Regenerate.
1251 * regformats/i386/i386-mmx-linux.dat: Regenerate.
1252 * regformats/i386/i386-mmx.dat: Regenerate.
1253 * regformats/i386/i386-mpx-linux.dat: Regenerate.
1254 * regformats/i386/i386-mpx.dat: Regenerate.
1255 * regformats/i386/i386.dat: Regenerate.
1256 * regformats/i386/x32-avx-linux.dat: Regenerate.
1257 * regformats/i386/x32-avx.dat: Regenerate.
1258 * regformats/i386/x32-avx512-linux.dat: Regenerate.
1259 * regformats/i386/x32-avx512.dat: Regenerate.
1260 * regformats/i386/x32-linux.dat: Regenerate.
1261 * regformats/i386/x32.dat: Regenerate.
1262 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1263 * regformats/mips-dsp-linux.dat: Regenerate.
1264 * regformats/mips-linux.dat: Regenerate.
1265 * regformats/mips64-dsp-linux.dat: Regenerate.
1266 * regformats/mips64-linux.dat: Regenerate.
1267 * regformats/nios2-linux.dat: Regenerate.
1268 * regformats/rs6000/powerpc-32.dat: Regenerate.
1269 * regformats/rs6000/powerpc-32l.dat: Regenerate.
1270 * regformats/rs6000/powerpc-64l.dat: Regenerate.
1271 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
1272 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
1273 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
1274 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
1275 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
1276 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
1277 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
1278 * regformats/s390-linux32.dat: Regenerate.
1279 * regformats/s390-linux32v1.dat: Regenerate.
1280 * regformats/s390-linux32v2.dat: Regenerate.
1281 * regformats/s390-linux64.dat: Regenerate.
1282 * regformats/s390-linux64v1.dat: Regenerate.
1283 * regformats/s390-linux64v2.dat: Regenerate.
1284 * regformats/s390-te-linux64.dat: Regenerate.
1285 * regformats/s390x-linux64.dat: Regenerate.
1286 * regformats/s390x-linux64v1.dat: Regenerate.
1287 * regformats/s390x-linux64v2.dat: Regenerate.
1288 * regformats/s390x-te-linux64.dat: Regenerate.
1289 * regformats/tic6x-c62x-linux.dat: Regenerate.
1290 * regformats/tic6x-c62x.dat: Regenerate.
1291 * regformats/tic6x-c64x-linux.dat: Regenerate.
1292 * regformats/tic6x-c64x.dat: Regenerate.
1293 * regformats/tic6x-c64xp-linux.dat: Regenerate.
1294 * regformats/tic6x-c64xp.dat: Regenerate.
1295
db74e4ba
PA
12962014-10-01 Pedro Alves <palves@redhat.com>
1297
1298 * features/Makefile: Update comments.
1299 (XMLTOC): List all xml files we build C files from.
1300 (clean-cfiles): New rule.
1301
d63f2f84
PA
13022014-10-01 Pedro Alves <palves@redhat.com>
1303
1304 * features/i386/amd64-avx512-linux.c: Regenerate.
1305 * features/i386/amd64-avx512.c: Regenerate.
1306 * features/i386/x32-avx512-linux.c: Regenerate.
1307 * features/i386/x32-avx512.c: Regenerate.
1308
20ad026d
PA
13092014-10-01 Pedro Alves <palves@redhat.com>
1310
1311 * features/Makefile (WHICH): Remove arm-with-m,
1312 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
1313
acc9fe45
PA
13142014-10-01 Pedro Alves <palves@redhat.com>
1315
1316 * features/Makefile (clean): New rule.
1317
e001e535
PA
13182014-10-01 Pedro Alves <palves@redhat.com>
1319
1320 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
1321 (zmm14h): Add missing end quotes.
1322
bdc14417
PA
13232014-10-01 Pedro Alves <palves@redhat.com>
1324
1325 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
1326 * features/aarch64.c: Regenerate.
1327
d83ad864
DB
13282014-09-30 Don Breazeal <donb@codesourcery.com>
1329
1330 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
1331 code so as to work with follow_fork_inferior.
1332 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
1333 (inf_ttrace_create_inferior): Remove reference to
1334 inf_ttrace_vfork_ppid.
1335 (inf_ttrace_attach): Ditto.
1336 (inf_ttrace_detach): Ditto.
1337 (inf_ttrace_kill): Use current_inferior instead of
1338 inf_ttrace_vfork_ppid.
1339 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
1340 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
1341 inferior away from the parent.
1342 * infrun.c (follow_fork): Call follow_fork_inferior instead of
1343 target_follow_fork.
1344 (follow_fork_inferior): New function.
1345 (follow_inferior_reset_breakpoints): Make function static.
1346 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
1347 * linux-nat.c (linux_child_follow_fork): Move target-independent
1348 code to infrun.c:follow_fork_inferior.
1349
29082443
AA
13502014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1351
1352 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
1353 * gdbarch.c: Regenerate.
1354 * gdbarch.h: Likewise.
1355 * corelow.c (sniff_core_bfd): Drop presence check for deleted
1356 gdbarch method 'regset_from_core_section'.
1357 (get_core_register_section): Remove handling for the case that
1358 regset == NULL and regset_from_core_section is defined.
1359 (get_core_registers): Drop check for deleted method.
1360 * procfs.c (procfs_do_thread_registers): Adjust comment.
1361
f968fe80
AA
13622014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1363
1364 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
1365 (linux_nat_make_corefile_notes): Remove.
1366 (linux_target_install_ops): Do not set target method
1367 'make_corefile_notes'.
1368 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
1369 Remove field.
1370 (linux_corefile_thread_callback): Instead of args->collect, call
1371 linux_collect_thread_registers.
1372 (linux_make_corefile_notes): Remove 'collect' parameter. Return
1373 NULL unless there is a regset iterator.
1374 (linux_make_corefile_notes_1): Remove.
1375 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
1376 by linux_make_corefile_notes.
1377 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
1378
174ad59a
AA
13792014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1380
1381 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
1382 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
1383 Remove.
1384 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
1385
97094034
AA
13862014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1387
1388 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
1389 (xtensa_iterate_over_regset_sections): New.
1390 (xtensa_gdbarch_init): Adjust gdbarch initialization.
1391
f73d3ce7
AA
13922014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1393
1394 * vax-tdep.c (vax_regset_from_core_section): Remove.
1395 (vax_iterate_over_regset_sections): New.
1396 (vax_gdbarch_init): Adjust gdbarch initialization.
1397
cb24567a
AA
13982014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1399
1400 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
1401 (tilegx_regset_from_core_section): Remove.
1402 (tilegx_iterate_over_regset_sections): New.
1403 (tilegx_linux_init_abi): Adjust gdbarch initialization.
1404
e5139de8
AA
14052014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1406
1407 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
1408 (sparc_iterate_over_regset_sections): New.
1409 (sparc32_gdbarch_init): Adjust gdbarch initialization.
1410 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
1411 targets.
1412 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
1413 (sparc64fbsd_init_abi): Call fbsd_init_abi.
1414 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
1415 target method 'make_corefile_notes'.
1416
c6d41a6f
AA
14172014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1418
1419 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
1420 'sizeof_gregset' and 'sizeof_fpregset'.
1421 * sh-tdep.c (sh_regset_from_core_section): Remove.
1422 (sh_iterate_over_regset_sections): New.
1423 (sh_gdbarch_init): Adjust gdbarch initialization.
1424 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
1425 sizeof_fpregset.
1426 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
1427 'sizeof_gregset'.
1428
9845a0b5
AA
14292014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1430
1431 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
1432 (score7_linux_iterate_over_regset_sections): New.
1433 (score_gdbarch_init): Adjust gdbarch initialization.
1434
23ea9aeb
AA
14352014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1436
1437 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
1438 FreeBSD targets.
1439 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
1440 method 'make_corefile_notes'.
1441 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
1442 (ppcfbsd_regset_from_core_section): Remove.
1443 (ppcfbsd_iterate_over_regset_sections): New.
1444 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
1445 initialization.
1446 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
1447 (ppcnbsd_iterate_over_regset_sections): New.
1448 (ppcnbsd_init_abi): Adjust.
1449 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
1450 (ppcobsd_iterate_over_regset_sections): New.
1451 (ppcobsd_init_abi): Adjust.
1452 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
1453 (rs6000_aix_iterate_over_regset_sections): New.
1454 (rs6000_aix_init_osabi): Adjust.
1455
c5b8d704
AA
14562014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1457
1458 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
1459 (nios2_regset_from_core_section): Remove.
1460 (nios2_iterate_over_regset_sections): New.
1461 (nios2_linux_init_abi): Adjust gdbarch initialization.
1462
3636e608
AA
14632014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1464
1465 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
1466 (am33_iterate_over_regset_sections): New.
1467 (am33_linux_init_osabi): Adjust gdbarch initialization.
1468
d4036235
AA
14692014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1470
1471 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
1472 (mips_linux_iterate_over_regset_sections): New.
1473 (mips_linux_init_abi): Adjust gdbarch initialization.
1474 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
1475 (mips64obsd_iterate_over_regset_sections): New.
1476 (mips64obsd_init_abi): Adjust.
1477 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
1478 (mipsnbsd_iterate_over_regset_sections): New.
1479 (mipsnbsd_init_abi): Adjust.
1480
b61ddd6e
AA
14812014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1482
1483 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
1484 (m88k_iterate_over_regset_sections): New.
1485 (m88k_gdbarch_init): Adjust gdbarch initialization.
1486
55a2906a
AA
14872014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1488
1489 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
1490 (ia64_linux_iterate_over_regset_sections): New.
1491 (ia64_linux_init_abi): Adjust gdbarch initialization.
1492
022c98ab
AA
14932014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1494
1495 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
1496 (m68kbsd_iterate_over_regset_sections): New.
1497 (m68kbsd_init_abi): Adjust gdbarch initialization.
1498 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
1499 (m68k_linux_iterate_over_regset_sections): New.
1500 (m68k_linux_init_abi): Adjust gdbarch initialization.
1501
5fac247f
AA
15022014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1503
1504 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
1505 (m32r_linux_regset_from_core_section): Remove.
1506 (m32r_linux_iterate_over_regset_sections): New.
1507 (m32r_linux_init_abi): Adjust gdbarch initialization.
1508
490496c3
AA
15092014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1510
1511 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
1512 (amd64obsd_iterate_over_regset_sections): New.
1513 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
1514 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
1515 Remove.
1516 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
1517 regset_from_core_section initialization.
1518 * i386-tdep.c (i386_regset_from_core_section): Remove.
1519 (i386_iterate_over_regset_sections): New.
1520 (i386_gdbarch_init): Adjust gdbarch initialization.
1521 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
1522 (i386_iterate_over_regset_sections): New prototype.
1523 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
1524 Remove.
1525 (i386obsd_aout_iterate_over_regset_sections): New.
1526 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
1527 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
1528 targets.
1529 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
1530 (amd64fbsd_init_abi): Call fbsd_init_abi.
1531 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
1532 (i386fbsd4_init_abi): Call fbsd_init_abi.
1533 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
1534 target method 'make_corefile_notes'.
1535 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
1536
50c5eb53
AA
15372014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1538
1539 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
1540 (hppa_hpux_iterate_over_regset_sections): New.
1541 (hppa_hpux_init_abi): Adjust gdbarch initialization.
1542 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
1543 (hppa_linux_iterate_over_regset_sections): New.
1544 (hppa_linux_init_abi): Adjust.
1545 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1546 (hppanbsd_iterate_over_regset_sections): New.
1547 (hppanbsd_init_abi): Adjust.
1548 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
1549 (hppaobsd_iterate_over_regset_sections): New.
1550 (hppaobsd_init_abi): Adjust.
1551
66afae4f
AA
15522014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1553
1554 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
1555 (frv_linux_iterate_over_regset_sections): New.
1556 (frv_linux_init_abi): Adjust gdbarch initialization.
1557
ed09174e
AA
15582014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1559
1560 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
1561 (armbsd_iterate_over_regset_sections): New prototype.
1562 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
1563 (armbsd_iterate_over_regset_sections): New.
1564 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
1565 initialization.
1566
dff2166e
AA
15672014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1568
1569 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
1570 (alpha_linux_iterate_over_regset_sections): New.
1571 (alpha_linux_init_abi): Adjust gdbarch initialization.
1572 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
1573 prototype.
1574 (alphanbsd_iterate_over_regset_sections): New prototype.
1575
4108500a
AA
15762014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1577
1578 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
1579 Remove.
1580 (aarch64_linux_iterate_over_regset_sections): New.
1581 (aarch64_linux_init_abi): Adjust gdbarch initialization.
1582
a904c024
AA
15832014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1584
1585 * fbsd-tdep.c: New file.
1586 * fbsd-tdep.h: New file.
1587 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
1588 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
1589 (ALLDEPFILES): Add fbsd-tdep.c.
1590
8f0435f7
AA
15912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1592
1593 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
1594 parameter.
1595 * gdbarch.h: Regenerate.
1596 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
1597 iterator.
1598 (get_core_register_section): Add parameter 'regset' and use it, if
1599 set. Add parameter 'min_size' and verify the bfd section size
1600 against it.
1601 (get_core_registers_cb): Add parameter 'regset' and pass it to
1602 get_core_register section. For the "standard" register sections
1603 ".reg" and ".reg2", set an appropriate default for human_name.
1604 (get_core_registers): Don't abort when the gdbarch has an iterator
1605 but no regset_from_core_section. Add NULL/0 for parameters
1606 'regset'/'min_size' in calls to get_core_register_section.
1607 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
1608 'regset' and use it instead of calling the
1609 regset_from_core_section gdbarch method.
1610 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
1611 * i386-tdep.c (i386_supply_xstateregset)
1612 (i386_collect_xstateregset, i386_xstateregset): Moved to
1613 i386-linux-tdep.c.
1614 (i386_regset_from_core_section): Drop handling for .reg-xfp and
1615 .reg-xstate.
1616 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
1617 core file support only if the regset iterator hasn't been set.
1618 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
1619 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
1620 Moved from i386-tdep.c and renamed to *_linux*.
1621 (i386_linux_iterate_over_regset_sections): Add regset parameter to
1622 each callback invocation. Allow any .reg-xstate size when reading
1623 from a core file.
1624 * amd64-tdep.c (amd64_supply_xstateregset)
1625 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
1626 amd64-linux-tdep.c.
1627 (amd64_regset_from_core_section): Remove.
1628 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
1629 install an amd64-specific regset_from_core_section gdbarch method.
1630 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
1631 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
1632 Moved from amd64-tdep.c and renamed to *_linux*.
1633 (amd64_linux_iterate_over_regset_sections): Add regset parameter
1634 to each callback invocation. Allow any .reg-xstate size when
1635 reading from a core file.
1636 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
1637 (arm_linux_iterate_over_regset_sections): Add regset parameter to
1638 each callback invocation.
1639 (arm_linux_init_abi): No longer set the regset_from_core_section
1640 gdbarch method.
1641 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
1642 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
1643 each callback invocation.
1644 (ppc_linux_init_abi): No longer set the regset_from_core_section
1645 gdbarch method.
1646 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
1647 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
1648 (s390_regset_from_core_section): Remove.
1649 (s390_iterate_over_regset_sections): Add regset parameter to each
1650 callback invocation.
1651 (s390_gdbarch_init): No longer set the regset_from_core_section
1652 gdbarch method. Drop initialization of deleted tdep fields.
1653
5aa82d05
AA
16542014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
1655
1656 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
1657 (amd64_linux_iterate_over_regset_sections): New.
1658 (amd64_linux_init_abi_common): Don't install the regset section
1659 list, but the new iterator in gdbarch.
1660 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
1661 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
1662 (arm_linux_iterate_over_regset_sections): ...here. New function.
1663 (arm_linux_init_abi): Set iterator instead of section list.
1664 * corelow.c (get_core_registers_cb): New function, logic moved
1665 from...
1666 (get_core_registers): ...loop body here. Use new iterator method
1667 instead of walking through the regset section list.
1668 * gdbarch.sh: Remove 'core_regset_sections'. New method
1669 'iterate_over_regset_sections'. New typedef
1670 'iterate_over_regset_sections_cb'.
1671 * gdbarch.c: Regenerate.
1672 * gdbarch.h: Likewise.
1673 * i386-linux-tdep.c (i386_linux_regset_sections)
1674 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
1675 Remove.
1676 (i386_linux_iterate_over_regset_sections): New.
1677 (i386_linux_init_abi): Don't choose a regset section list, but
1678 install new iterator in gdbarch.
1679 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
1680 (linux_collect_regset_section_cb): New function, logic moved
1681 from...
1682 (linux_collect_thread_registers): ...loop body here. Use iterator
1683 method instead of walking through list.
1684 (linux_make_corefile_notes_1): Check for presence of iterator
1685 method instead of regset section list.
1686 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
1687 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
1688 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
1689 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
1690 (ppc_linux_iterate_over_regset_sections): ...here. New function.
1691 (ppc_linux_init_abi): Don't choose from above regset section
1692 lists, but install new iterator in gdbarch.
1693 * regset.h (struct core_regset_section): Remove.
1694 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
1695 have_linux_v1, have_linux_v2, and have_tdb.
1696 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
1697 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
1698 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
1699 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
1700 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
1701 (s390_iterate_over_regset_sections): ...here. New function. Use
1702 new tdep fields.
1703 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
1704 regset section lists, but install new iterator.
1705
2eca4a8d
JK
17062014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
1707
1708 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
1709
a73c2b56
SM
17102014-09-26 Simon Marchi <simon.marchi@ericsson.com>
1711
1712 * progspace.c (print_program_space): Don't prune program spaces
1713 before printing them.
1714
03d46957
PA
17152014-09-25 Pedro Alves <palves@redhat.com>
1716
1717 * infrun.c (user_visible_resume_ptid): Don't check
1718 singlestep_breakpoints_inserted_p.
1719
e558d7c1
PA
17202014-09-25 Pedro Alves <palves@redhat.com>
1721
1722 * breakpoint.c (should_be_inserted): Add debug output.
1723
7f89fd65
PA
17242014-09-25 Pedro Alves <palves@redhat.com>
1725
1726 * infrun.c (stepping_past_instruction_at)
1727 (clear_exit_convenience_vars): Point at infrun.h instead of
1728 inferior.h.
1729 (handle_signal_stop): Fix typo.
1730
b7576e5c
YQ
17312014-09-24 Yao Qi <yao@codesourcery.com>
1732
1733 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
1734 bitmask.
1735
9a6cf368
GB
17362014-09-22 Gary Benson <gbenson@redhat.com>
1737
1738 * target.c (target_stop): Updated comment.
1739
03f4463b
GB
17402014-09-22 Gary Benson <gbenson@redhat.com>
1741
1742 * target/target.h (target_stop_ptid): Renamed as...
1743 (target_stop_and_wait): New function. Updated comment.
1744 All uses updated.
1745 (target_continue_ptid): Renamed as...
1746 (target_continue_no_signal): New function. Updated comment.
1747 All uses updated.
1748
a25a5a45
PA
17492014-09-22 Pedro Alves <palves@redhat.com>
1750
1751 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
1752 and "auto" merged.
1753 * breakpoint.c (enum ugll_insert_mode): New enum.
1754 (always_inserted_mode): Now a plain boolean.
1755 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
1756 (breakpoints_always_inserted_mode): Delete.
1757 (breakpoints_should_be_inserted_now): New function.
1758 (insert_breakpoints): Pass UGLL_INSERT to
1759 update_global_location_list instead of calling
1760 insert_breakpoint_locations manually.
1761 (create_solib_event_breakpoint_1): New, factored out from ...
1762 (create_solib_event_breakpoint): ... this.
1763 (create_and_insert_solib_event_breakpoint): Use
1764 create_solib_event_breakpoint_1 instead of calling
1765 insert_breakpoint_locations manually.
1766 (update_global_location_list): Change parameter type from boolean
1767 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1768 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1769 (update_global_location_list_nothrow): Change parameter type from
1770 boolean to enum ugll_insert_mode.
1771 (_initialize_breakpoint): "breakpoint always-inserted" option is
1772 now a boolean command. Update help text.
1773 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
1774 (breakpoints_should_be_inserted_now): New declaration.
1775 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
1776 Remove breakpoints_always_inserted_mode check.
1777 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
1778 * remote.c (remote_start_remote): Likewise.
1779
04086b45
PA
17802014-09-22 Pedro Alves <palves@redhat.com>
1781
1782 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
1783 (insert_breakpoints): Don't call insert_breakpoint_locations here.
1784 Instead, pass UGLL_INSERT to update_global_location_list.
1785 (update_global_location_list): Change parameter type from boolean
1786 to enum ugll_insert_mode. All callers adjusted. Adjust to use
1787 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
1788 (create_solib_event_breakpoint_1): New, factored out from ...
1789 (create_solib_event_breakpoint): ... this.
1790 (create_and_insert_solib_event_breakpoint): Use
1791 create_solib_event_breakpoint_1 instead of calling
1792 insert_breakpoint_locations manually.
1793 (update_global_location_list): Handle UGLL_INSERT.
1794
44702360
PA
17952014-09-22 Pedro Alves <palves@redhat.com>
1796
1797 * breakpoint.c (enum ugll_insert_mode): New enum.
1798 (update_global_location_list)
1799 (update_global_location_list_nothrow): Change parameter type from
1800 boolean to enum ugll_insert_mode. All callers adjusted.
1801
93c6145a
JB
18022014-09-19 Joel Brobecker <brobecker@adacore.com>
1803
1804 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
1805 SystemTap support in GDB.
1806
89a5711c
DB
18072014-09-19 Don Breazeal <donb@codesourcery.com>
1808
1809 * linux-nat.c (linux_handle_extended_wait): Call
1810 linux_ptrace_get_extended_event.
1811 (wait_lwp): Call linux_is_extended_waitstatus.
1812 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
1813 and linux_is_extended_waitstatus.
1814 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
1815 linux_ptrace_get_extended_event.
1816 (linux_ptrace_get_extended_event): New function.
1817 (linux_is_extended_waitstatus): New function.
1818 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
1819 (linux_is_extended_waitstatus): New declarations.
1820
c3b7b696
YQ
18212014-09-19 Yao Qi <yao@codesourcery.com>
1822
1823 * dwarf2read.c (dwarf_decode_lines): Update declaration.
1824 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
1825 comments. Callers update.
1826 (dwarf_decode_lines): Likewise.
1827 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
1828 comments. Skip the line table if 'lowpc' is greater than
1829 'address'. Don't check
1830 dwarf2_per_objfile->has_section_at_zero.
1831
2b4fd423
DE
18322014-09-18 Doug Evans <dje@google.com>
1833
1834 * NEWS: Mention new "producer" attribute of gdb.Symtab.
1835 * python/py-symtab.c (stpy_get_producer): New function.
1836 (symtab_object_getset): Add "producer" attribute.
1837
5e43d467
UW
18382014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
1839
1840 PR gdb/17384
1841 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
1842 (do_captured_read_memory_integer): Remove.
1843 (safe_read_memory_integer): Use target_read_memory directly instead
1844 of catching errors in do_captured_read_memory_integer.
1845
04e79979
MR
18462014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
1847
1848 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
1849 not gdb/doc.
1850
76aeec5b
SDJ
18512014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1852
1853 * objc-lang.c (find_implementation_from_class): Remove dead code.
1854
2f693f9d
SDJ
18552014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
1856
1857 PR cli/7233
1858 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
1859 "fprintf_unfiltered (gdb_stdlog...)".
1860
bb9d5f81
PP
18612014-09-16 Patrick Palka <patrick@parcs.ath.cx>
1862
1863 PR breakpoints/12526
1864 * breakpoint.h (struct watchpoint): New fields val_bitpos and
1865 val_bitsize.
1866 * breakpoint.c (watch_command_1): Use these fields to retain
1867 bitfield information.
1868 (extract_bitfield_from_watchpoint_value): New function.
1869 (watchpoint_check): Use it.
1870 (update_watchpoint): Use it. Optimize the address and length of a
1871 HW watchpoint pointing to a bitfield.
1872 * value.h (unpack_value_bitfield): New prototype.
1873 * value.c (unpack_value_bitfield): Make extern.
1874
05db5edd
ST
18752014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1876
1877 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
1878 x86-dregs.o.
1879 * gnu-nat.c (inf_threads): New function.
1880 * gnu-nat.h (inf_threads_ftype): New typedef.
1881 (inf_threads): New declaration.
1882 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
1883 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
1884 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
1885 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
1886 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
1887 (i386_gnu_dr_get_control): New functions.
1888 (reg_addr): New structure.
1889 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
1890 i386 debugging register hooks.
1891 * NEWS: Mention this.
1892
5a578da5
OJ
18932014-08-13 Omair Javaid <omair.javaid@linaro.org>
1894
1895 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
1896 vector data transfer instructions.
1897 (arm_record_coproc_data_proc): Updated.
1898
f20f80dd
OJ
18992014-08-13 Omair Javaid <omair.javaid@linaro.org>
1900
1901 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
1902 arm_record_exreg_ld_st_insn.
1903 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
1904 load/store insns.
1905
851f26ae
OJ
19062014-08-13 Omair Javaid <omair.javaid@linaro.org>
1907
1908 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
1909 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
1910 processing instructions.
1911
1e1b6563
OJ
19122014-08-13 Omair Javaid <omair.javaid@linaro.org>
1913
1914 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
1915 for advance SIMD struct ld/st insn.
1916 (thumb2_record_decode_insn_handler): Replace stub handler with
1917 thumb2_record_asimd_struct_ld_st.
1918
60cc5e93
OJ
19192014-08-13 Omair Javaid <omair.javaid@linaro.org>
1920
1921 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
1922 for asimd, vfp and coprocessor insns.
1923 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
1924 and coprocessor insns.
1925 (thumb2_record_coproc_insn): New function.
1926 (thumb2_record_decode_insn_handler): Update coprocessor insns record
1927 handlers.
1928 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
1929 opcode 110 insns.
1930
81219e53
DE
19312014-09-13 Doug Evans <xdje42@gmail.com>
1932
1933 * NEWS: Mention new "queue-signal" command.
1934 * infcmd.c (queue_signal_command): New function.
1935 (_initialize_infcmd): Add new queue-signal command.
1936
d36bf488
DE
19372014-09-13 Doug Evans <xdje42@gmail.com>
1938
1939 * linux-nat.c (wait_lwp): Add debugging printf.
1940 (linux_nat_wait_1): Ditto.
1941
f37f681c
PA
19422014-09-12 Pedro Alves <palves@redhat.com>
1943
1944 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
1945 (create_and_insert_solib_event_breakpoint): New functions.
1946 * breakpoint.h (create_and_insert_solib_event_breakpoint)
1947 (remove_solib_event_breakpoints_at_next_stop): New declarations.
1948 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
1949 (remove_dbx_link_breakpoint): Delete function.
1950 (insert_dbx_link_bpt_in_file): Use
1951 create_and_insert_solib_event_breakpoint instead of
1952 deprecated_insert_raw_breakpoint.
1953 (procfs_wait): Don't check whether we hit __dbx_link here.
1954 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
1955 here.
1956 * solib-irix.c (base_breakpoint): Delete global.
1957 (disable_break): Delete function.
1958 (enable_break): Use create_solib_event_breakpoint
1959 instead of deprecated_insert_raw_breakpoint.
1960 (irix_solib_handle_event): New function.
1961 (irix_solib_create_inferior_hook): Don't run the target or disable
1962 the mapping-complete breakpoint here.
1963 (_initialize_irix_solib): Install irix_solib_handle_event as
1964 so_ops->handle_event hook.
1965
9d9bf2df
EBM
19662014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1967 Ulrich Weigand  <uweigand@de.ibm.com>
1968
1969 PR tdep/17379
1970 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
1971 instead of read_memory_unsigned_integer.
1972
b006a80e
GB
19732014-09-12 Gary Benson <gbenson@redhat.com>
1974
1975 * nat/linux-waitpid.c: Include common-defs.h.
1976 [GDBSERVER]: Add FIXME comment.
1977 [!GDBSERVER]: Don't include defs.h or signal.h.
1978 (linux_debug) [!GDBSERVER]: Remove empty block.
1979
296b1496
GB
19802014-09-12 Gary Benson <gbenson@redhat.com>
1981
1982 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
1983 Don't include defs.h or server.h.
1984
53f81362
GB
19852014-09-12 Gary Benson <gbenson@redhat.com>
1986
1987 * nat/linux-btrace.c: Include common-defs.h.
1988 Don't include defs.h, server.h or gdbthread.h.
1989 * nat/linux-btrace.h (struct target_ops): New forward declaration.
1990
727605ca
GB
19912014-09-12 Gary Benson <gbenson@redhat.com>
1992
1993 * common/agent.c: Include common-defs.h.
1994 Don't include defs.h or server.h.
1995 * common/buffer.c: Likewise.
1996 * common/common-debug.c: Likewise.
1997 * common/common-utils.c: Likewise.
1998 * common/errors.c: Likewise.
1999 * common/filestuff.c: Likewise.
2000 * common/format.c: Likewise.
2001 * common/gdb_vecs.c: Likewise.
2002 * common/print-utils.c: Likewise.
2003 * common/ptid.c: Likewise.
2004 * common/rsp-low.c: Likewise.
2005 * common/signals.c: Likewise.
2006 * common/vec.c: Likewise.
2007 * common/xml-utils.c: Likewise.
2008 * nat/linux-osdata.c: Likewise.
2009 * nat/linux-procfs.c: Likewise.
2010 * nat/linux-ptrace.c: Likewise.
2011 * nat/mips-linux-watch.c: Likewise.
2012 * target/waitstatus.c: Likewise.
2013
361c8ade
GB
20142014-09-12 Tom Tromey <tromey@redhat.com>
2015 Gary Benson <gbenson@redhat.com>
2016
2017 * common/common-regcache.h: New file.
2018 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2019 * regcache.h: Include common-regcache.h.
2020 (regcache_read_pc): Don't declare.
2021 * regcache.c (get_thread_regcache_for_ptid): New function.
2022 * nat/linux-btrace.c: Don't include regcache.h.
2023 Include common-regcache.h.
2024 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2025
a01cbb49
TS
20262014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2027
2028 * regcache.h (struct regset): Declare.
2029
98880d46
PA
20302014-09-11 Pedro Alves <palves@redhat.com>
2031
2032 PR gdb/17347
2033 * main.c: Include "infrun.h".
2034 (catch_command_errors, catch_command_errors_const): Wait for the
2035 foreground command to complete.
2036 * top.c (maybe_wait_sync_command_done): New function, factored out
2037 from ...
2038 (maybe_wait_sync_command_done): ... here.
2039 * top.h (maybe_wait_sync_command_done): New declaration.
2040
bd9269f7
GB
20412014-09-11 Tom Tromey <tromey@redhat.com>
2042 Gary Benson <gbenson@redhat.com>
2043
2044 * common/symbol.h: New file.
2045 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2046 * minsyms.c (find_minimal_symbol_address): New function.
2047 * common/agent.c: Include common/symbol.h.
2048 [!GDBSERVER]: Don't include objfiles.h.
2049 (agent_look_up_symbols): Use find_minimal_symbol_address.
2050
f8c1d06b
GB
20512014-09-11 Gary Benson <gbenson@redhat.com>
2052
2053 * target/target.h (target_stop_ptid, target_continue_ptid):
2054 Declare.
2055 * target.c (target_stop_ptid, target_continue_ptid): New
2056 functions.
2057 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2058 (agent_run_command): Always use target_stop_ptid and
2059 target_continue_ptid.
2060
721ec300
GB
20612014-09-11 Tom Tromey <tromey@redhat.com>
2062 Gary Benson <gbenson@redhat.com>
2063
2064 * target/target.h: New file.
2065 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2066 * target.h: Include target/target.h.
2067 (target_read_memory, target_write_memory): Don't declare.
2068 * target.c (target_read_uint32): New function.
2069 * common/agent.c: Include target/target.h.
2070 [!GDBSERVER]: Don't include target.h.
2071 (helper_thread_id): Type changed to uint32_t.
2072 (agent_get_helper_thread_id): Use target_read_uint32.
2073 (agent_run_command): Always use target_read_memory and
2074 target_write_memory.
2075 (agent_capability): Type changed to uint32_t.
2076 (agent_capability_check): Use target_read_uint32.
2077
c5e92cca
GB
20782014-09-11 Gary Benson <gbenson@redhat.com>
2079
2080 * common/common-debug.h (show_debug_regs): Declare.
2081 * common/common-debug.c (show_debug_regs): Define.
2082 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
2083 all uses with show_debug_regs. Replace all uses that considered
2084 debug_hw_points as a multi-value integer with straight boolean
2085 uses.
2086 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
2087 with show_debug_regs.
2088 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
2089 all uses with show_debug_regs.
2090 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
2091 uses with show_debug_regs.
2092
eeef931a
UW
20932014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2094
2095 * findvar.c (address_from_register): Handle targets requiring
2096 a special conversion routine even for plain pointer types.
2097
8efa9855
UW
20982014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
2099
2100 * rs6000-nat.c (exec_one_dummy_insn): Remove.
2101 (store_register): Do not call exec_one_dummy_insn.
2102
eb479039
JB
21032014-09-10 Joel Brobecker <brobecker@adacore.com>
2104
2105 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
2106 dereference it first. Use value_enclosing_type instead of
2107 value_type.
2108 (ada_array_length): Likewise.
2109
deede10c
JB
21102014-09-10 Joel Brobecker <brobecker@adacore.com>
2111
2112 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
2113 Adjust function implementation and documentation accordingly.
2114 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
2115 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
2116 Update call to ada_value_ptr_subscript.
2117
7828a5f5
JB
21182014-09-10 Joel Brobecker <brobecker@adacore.com>
2119
2120 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
2121 instead of VAL's type.
2122
35782f14
JB
21232014-09-10 Joel Brobecker <brobecker@adacore.com>
2124
2125 * amd64-linux-nat.c: Add <sys/uio.h> #include.
2126
d342a0da
DE
21272014-09-09 Doug Evans <xdje42@gmail.com>
2128
2129 PR guile/17367
2130 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
2131 last parameter to pkg-config, not first.
2132 * configure.ac: Pass --with-guile provided pkg-config path to
2133 GDB_GUILE_PROGRAM_NAMES.
2134 * configure: Regenerate.
2135
b4a3d263
GKB
21362014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
2137
2138 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
2139 Bertazi".
2140
6e466374
MR
21412014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2142
2143 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
2144 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
2145 the list of sections determining GDB_OSABI_IRIX.
2146
a1ada89a
JH
21472014-09-09 James Hogan <james.hogan@imgtec.com>
2148
2149 * MAINTAINERS (Write After Approval): Add "James Hogan".
2150
86db008d
JH
21512014-09-09 James Hogan <james.hogan@imgtec.com>
2152
2153 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
2154
72fde3df
JB
21552014-09-09 Joel Brobecker <brobecker@adacore.com>
2156
2157 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
2158
92d8d229
DE
21592014-09-08 Doug Evans <xdje42@gmail.com>
2160
2161 PR 17247
2162 * guile.c: #include <signal.h>.
2163 (_initialize_guile): Block SIGCHLD while initializing Guile.
2164
2165 Replaces the following, which is reverted.
2166
2167 2014-07-26 Doug Evans <xdje42@gmail.com>
2168
2169 PR 17185
2170 * configure.ac: Add check for header gc/gc.h.
2171 Add check for function setenv.
2172 * configure: Regenerate.
2173 * config.in: Regenerate.
2174 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
2175
d81412aa
DE
21762014-09-08 Doug Evans <xdje42@gmail.com>
2177
2178 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
2179 with named constant. Fix style of pointer comparison.
2180 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
2181
a9f116cb
GKB
21822014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
2183
2184 PR gdb/17035
2185 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
2186 decide whether we display the command on "show user".
2187 * cli/cli-script.c (show_user_1): Only verify cmdlines after
2188 printing command name.
2189 * cli/cli-decode.h (cli_user_command_p): Declare new function.
2190 * cli/cli-decode.c (cli_user_command_p): Create helper function
2191 to verify whether cmd_list_element is a user-defined command.
2192
c75bd3a2
JK
21932014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
2194
2195 PR python/17355
2196 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
2197 Fix goto out of TRY_CATCH.
2198
faa42425 21992014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 2200 Tom Tromey <tromey@redhat.com>
faa42425
DE
2201
2202 PR 15276
2203 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
2204 $_any_caller_matches.
2205 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
2206 * python/lib/gdb/function/caller_is.py: New file.
2207
0d41ba00
DE
22082014-09-06 Doug Evans <xdje42@gmail.com>
2209
2210 * infcmd.c (program_info): Fix typo.
2211
474ca4f6
SDJ
22122014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
2213
2214 PR gdb/17235
2215 * stap-probe.c (stap_parse_single_operand): Delete unused variable
2216 'number'. New variable 'has_digit'. Rewrite code to deal with
2217 subexpressions on SDT probes.
2218
ebf13736
PA
22192014-09-04 Pedro Alves <palves@redhat.com>
2220
2221 * c-exp.y (parse_number): Skip handling base-switching prefixes if
2222 the input is only one character long.
2223
eb0b0463
SDJ
22242014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
2225
2226 PR fortran/17237
2227 * f-valprint.c (f_val_print): Specify the correct print option to
2228 use when printing integer values.
2229
5ee44bfa
GB
22302014-09-04 Gary Benson <gbenson@redhat.com>
2231
2232 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
2233 Remove code to cope with LWPs wrapped as PIDs.
2234 Add assertions to ensure no wrapped LWPs are passed.
2235
4875ffdb
PA
22362014-09-04 Pedro Alves <palves@redhat.com>
2237
2238 * value.c (value_ranges_copy_adjusted): New function, factored out
2239 from ...
2240 (value_contents_copy_raw): ... here.
2241 (unpack_value_bits_as_long_1): Rename back to ...
2242 (unpack_bits_as_long): ... this. Remove 'original_value' and
2243 'result' parameters. Change return type to LONGEST.
2244 (unpack_value_bits_as_long): Delete.
2245 (unpack_value_field_as_long_1): Delete.
2246 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
2247 (unpack_value_bitfield): New function.
2248 (value_field_bitfield): Reimplement using unpack_value_bitfield.
2249 (value_fetch_lazy): Use unpack_value_bitfield.
2250 * value.h (unpack_value_bits_as_long): Delete declaration.
2251
5f3b99cf
SS
22522014-09-03 Sasha Smundak <asmundak@google.com>
2253
2254 * python/py-frame.c (frapy_read_register): New function.
2255
ac740bc7
JH
22562014-09-03 James Hogan <james.hogan@imgtec.com>
2257
2258 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
2259 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
2260
7d793aa9
SDJ
22612014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
2262
2263 PR python/16699
2264 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
2265 function.
2266 (add_cmd): Set "completer_handle_brkchars" to NULL.
2267 * cli/cli-decode.h (struct cmd_list_element)
2268 <completer_handle_brkchars>: New field.
2269 * command.h (completer_ftype_void): New typedef.
2270 (set_cmd_completer_handle_brkchars): New prototype.
2271 * completer.c (set_gdb_completion_word_break_characters): New
2272 function.
2273 (complete_line_internal): Call "completer_handle_brkchars"
2274 callback from command.
2275 * completer.h: Include "command.h".
2276 (set_gdb_completion_word_break_characters): New prototype.
2277 * python/py-cmd.c (cmdpy_completer_helper): New function.
2278 (cmdpy_completer_handle_brkchars): New function.
2279 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
2280 (cmdpy_init): Set completer_handle_brkchars to
2281 cmdpy_completer_handle_brkchars.
2282
97ea6506
GB
22832014-09-03 Gary Benson <gbenson@redhat.com>
2284
2285 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
2286 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
2287 Loop conditions changed to equivalent form.
2288 (struct x86_debug_reg_state): Updated dr_ref_count comment.
2289 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
2290 ALL_DEBUG_ADDRESS_REGISTERS.
2291
d1437815
JB
22922014-09-03 Joel Brobecker <brobecker@adacore.com>
2293
2294 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
2295 description fix.
2296
9b94fcf1
DE
22972014-09-02 Doug Evans <dje@google.com>
2298
2299 * typeprint.c (find_global_typedef): Fix comment.
2300
df7e5265
GB
23012014-09-02 Gary Benson <gbenson@redhat.com>
2302
2303 * i386-nat.h: Renamed as...
2304 * x86-nat.h: New file. All type, function and variable name
2305 prefixes changed from "i386_" to "x86_". All references updated.
2306 * i386-nat.c: Renamed as...
2307 * x86-nat.c: New file. All type, function and variable name
2308 prefixes changed from "i386_" to "x86_". All references updated.
2309 * common/i386-xstate.h: Renamed as...
2310 * common/x86-xstate.h: New file. All type, function and variable
2311 name prefixes changed from "i386_" to "x86_". All references
2312 updated.
2313 * nat/i386-cpuid.h: Renamed as...
2314 * nat/x86-cpuid.h: New file. All type, function and variable name
2315 prefixes changed from "i386_" to "x86_". All references updated.
2316 * nat/i386-gcc-cpuid.h: Renamed as...
2317 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
2318 name prefixes changed from "i386_" to "x86_". All references
2319 updated.
2320 * nat/i386-dregs.h: Renamed as...
2321 * nat/x86-dregs.h: New file. All type, function and variable name
2322 prefixes changed from "i386_" to "x86_". All references updated.
2323 * nat/i386-dregs.c: Renamed as...
2324 * nat/x86-dregs.c: New file. All type, function and variable name
2325 prefixes changed from "i386_" to "x86_". All references updated.
2326
1c3569d4
MR
23272014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
2328
2329 * varobj.c (_initialize_varobj): Move to the end of file.
2330
ff55e1b5
GB
23312014-08-29 Gary Benson <gbenson@redhat.com>
2332
2333 * common/common-exceptions.h: New file.
2334 * common/common-exceptions.c: Likewise.
2335 * Makefile.in (SFILES): Add common/common-exceptions.c.
2336 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
2337 (COMMON_OBS): Add common-exceptions.o.
2338 (common-exceptions.o): New rule.
2339 * exceptions.h (common-exceptions.h): Include.
2340 (gdb_setjmp.h): Do not include.
2341 (return_reason): Moved to common-exceptions.h.
2342 (enum return_reason): Likewise.
2343 (RETURN_MASK): Likewise.
2344 (typedef return_mask): Likewise.
2345 (enum errors): Likewise.
2346 (struct gdb_exception): Likewise.
2347 (exceptions_state_mc_init): Likewise.
2348 (exceptions_state_mc_action_iter): Likewise.
2349 (exceptions_state_mc_action_iter_1): Likewise.
2350 (TRY_CATCH): Likewise.
2351 (throw_exception): Likewise.
2352 (throw_verror): Likewise.
2353 (throw_vquit): Likewise.
2354 (throw_error): Likewise.
2355 (throw_quit): Likewise.
2356 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
2357 (enum catcher_action): Likewise.
2358 (struct catcher): Likewise.
2359 (current_catcher): Likewise.
2360 (catcher_list_size): Likewise.
2361 (exceptions_state_mc_init): Likewise.
2362 (catcher_pop): Likewise.
2363 (exceptions_state_mc): Likewise.
2364 (exceptions_state_mc_action_iter): Likewise.
2365 (exceptions_state_mc_action_iter_1): Likewise.
2366 (throw_exception): Likewise.
2367 (exception_messages): Likewise.
2368 (exception_messages_size): Likewise.
2369 (throw_it): Likewise.
2370 (throw_verror): Likewise.
2371 (throw_vquit): Likewise.
2372 (throw_error): Likewise.
2373 (throw_quit): Likewise.
2374 (prepare_to_throw_exception): New function.
2375
e9bcb658
GB
23762014-08-29 Gary Benson <gbenson@redhat.com>
2377
2378 * common/gdb_setjmp.h: New file.
2379 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
2380 * configure.ac: Move sigsetjmp check...
2381 * common/common.m4: ...here.
2382 * configure: Regenerate.
2383 * cp-support.c (SIGJMP_BUF): Delete.
2384 (SIGSETJMP): Likewise.
2385 (SIGLONGJMP): Likewise.
2386 * exceptions.h (gdb_setjmp.h): Include.
2387 (setjmp.h): Do not include.
2388 (EXCEPTIONS_SIGJMP_BUF): Delete.
2389 (EXCEPTIONS_SIGSETJMP): Likewise.
2390 (EXCEPTIONS_SIGLONGJMP): Likewise.
2391 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
2392 from gdb_setjmp.h.
2393 * exceptions.c: Likewise.
2394
e3180625
GB
23952014-08-29 Gary Benson <gbenson@redhat.com>
2396
2397 * cleanups.h: Moved to...
2398 * common/cleanups.h: New file.
2399 * cleanups.c: Moved to...
2400 * common/cleanups.c: New file. Include common-defs.h and
2401 cleanups.h. Do not include defs.h.
2402 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
2403 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
2404 (cleanups.o): New rule.
2405
e3d6ba5d
GB
24062014-08-29 Gary Benson <gbenson@redhat.com>
2407
2408 * common/errors.h (internal_warning): New declaration.
2409 (internal_vwarning): Likewise.
2410 * common/errors.c (internal_warning): New function.
2411 * utils.h (internal_warning): Don't declare.
2412 (internal_vwarning): Likewise.
2413 * utils.c (internal_warning): Removed.
2414
075c7033
GB
24152014-08-29 Gary Benson <gbenson@redhat.com>
2416
2417 * main.c (captured_main): Use warning during startup.
2418 Prefix startup warning messages with command name.
2419
91b35fd0
GB
24202014-08-29 Gary Benson <gbenson@redhat.com>
2421
2422 * main.c (captured_main): Handle usage errors with error.
2423
b1ec390e
GB
24242014-08-29 Gary Benson <gbenson@redhat.com>
2425
2426 * go32-nat.c (go32_create_inferior): Replace a fprintf/
2427 exit pair with a call to error. Wrap the message with _().
2428
fd0ef3dd
GB
24292014-08-29 Gary Benson <gbenson@redhat.com>
2430
2431 * main.c (captured_main): Replace a fprintf/exit
2432 pair with a call to error. Wrap the message with _().
2433
e0e6bcab
GB
24342014-08-29 Gary Benson <gbenson@redhat.com>
2435
2436 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
2437 pairs with calls to error. Wrap the message with _().
2438
0d2f5c07
GB
24392014-08-29 Gary Benson <gbenson@redhat.com>
2440
2441 * utils.c (vwarning): Protect calls to target_terminal_ours
2442 and wrap_here.
2443
5df43998
GB
24442014-08-29 Gary Benson <gbenson@redhat.com>
2445
2446 * exceptions.c (print_flush): Protect calls to
2447 target_terminal_ours and wrap_here.
2448
2437fd32
GB
24492014-08-29 Gary Benson <gbenson@redhat.com>
2450
2451 * utils.h (filtered_printing_initialized): New declaration.
2452 * utils.c (abort_with_message): New function.
2453 (internal_vproblem): Use abort_with_message for first level
2454 recursive internal problems, and if gdb_stderr is not set up.
2455 Protect calls to target_terminal_ours, begin_line and query.
2456
f1f58506
DE
24572014-08-28 Doug Evans <dje@google.com>
2458
2459 * symtab.c (in_prologue): Move definition to better spot.
2460 (skip_prologue_using_sal): Ditto.
2461
aab2f208
DE
24622014-08-28 Doug Evans <dje@google.com>
2463
2464 * symtab.c (find_function_start_sal): Move definition to better spot.
2465
6b65d1b6
YQ
24662014-08-28 Yao Qi <yao@codesourcery.com>
2467
2468 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
2469 found_stack_adjust in forward scan. Remove condition check
2470 on found_stack_adjust which is always true. Indent the code.
2471
a1b34d15
YQ
24722014-08-28 Yao Qi <yao@codesourcery.com>
2473
2474 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2475 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
2476 (dwarf_decode_lines): Remove argument
2477 want_line_info. Remove condition check on want_line_info.
2478 Callers update.
2479
d5962de5
DE
24802014-08-27 Doug Evans <dje@google.com>
2481
2482 * dwarf2read.c (dwarf_record_line): Fix typo.
2483
9b139002
SDJ
24842014-08-27 Patrick Palka <patrick@parcs.ath.cx>
2485
2486 * target.h (struct target_ops::to_terminal_save_ours): Remove
2487 declaration.
2488 (target_terminal_save_ours): Remove macro.
2489 * target-delegates.c: Regenerate.
2490 * inf-child.c (inf_child_target): Don't set the nonexistent
2491 field to_terminal_save_ours.
2492 * inferior.h (child_terminal_save_ours): Remove declaration.
2493 * terminal.h (gdb_save_tty_state): New declaration.
2494 * inflow.c (child_terminal_save_ours): Rename to ...
2495 (gdb_save_tty_state): ... this.
2496 * tui/tui.c: Include terminal.h.
2497 (tui_enable): Use gdb_save_tty_state instead of
2498 target_terminal_save_ours.
2499 (tui_disable): Likewise.
2500
9debeba0
DE
25012014-08-25 Doug Evans <dje@google.com>
2502
2503 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
2504 Pass NULL instead of 0 for context pointer.
2505
428fc5fc
YQ
25062014-08-25 Yao Qi <yao@codesourcery.com>
2507
2508 * dwarf2read.c: Fix grammatical error.
2509
cdc07690
YQ
25102014-08-24 Yao Qi <yao@codesourcery.com>
2511
2512 * dwarf2read.c (scan_partial_symbols): Update comments.
2513 Rename argument 'need_pc' with 'set_addrmap'.
2514 (add_partial_namespace): Rename argument 'need_pc' with
2515 'set_addrmap'.
2516 (add_partial_module): Likewise.
2517 (add_partial_subprogram): Likewise. Update comments.
2518 (dwarf2_name): Fix typo.
2519
a05a36a5
DE
25202014-08-22 Doug Evans <dje@google.com>
2521
2522 PR 17276
2523 * dwarf2read.c (dwarf_record_line_p): New function.
2524 (dwarf_decode_lines_1): Ignore subsequent line number entries
2525 for the same line if any entry had a non-zero discriminator.
2526
252a6764
DE
25272014-08-22 Doug Evans <dje@google.com>
2528
2529 * buildsym.h (record_line_ftype): New typedef.
2530 (record_line): Use it.
2531 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
2532 (dwarf_decode_lines_1): Call them.
2533
510db052
YQ
25342014-08-22 Yao Qi <yao@codesourcery.com>
2535
2536 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
2537 (ctf_end): Remove code.
2538
22fd09ae
JK
25392014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
2540
2541 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
2542 (linux_make_corefile_notes): call update_thread_list, protected against
2543 exceptions.
2544
656e8868
PA
25452014-08-21 Pedro Alves <palves@redhat.com>
2546
2547 * infcmd.c (attach_command): Remove comment.
2548
de589d04
WN
25492014-08-21 Bin Cheng <bin.cheng@arm.com>
2550
2551 * aarch64-linux-nat.c (dr_changed_t): Change the type from
2552 unsigned LONGEST to ULONGEST.
2553
2a31c623
PA
25542014-08-20 Pedro Alves <palves@redhat.com>
2555
2556 * Makefile.in (check-read1): New rule.
2557
d36430db
JB
25582014-08-20 Joel Brobecker <brobecker@adacore.com>
2559
2560 * value.c (value_from_contents_and_address): Strip resolved_type's
2561 typedef layers before checking its TYPE_DATA_LOCATION.
2562
000339af
PA
25632014-08-20 Pedro Alves <palves@redhat.com>
2564
2565 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
2566
5f52445b
YQ
25672014-08-20 Yao Qi <yao@codesourcery.com>
2568
2569 * amd64-tdep.c (amd64_classify): Add a blank line after the
2570 example. Move "*/" to a new line.
2571 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
2572 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
2573 * dwarf2read.c (psymtab_include_file_name): Likewise.
2574
9a0dc9e3
PA
25752014-08-19 Andrew Burgess <aburgess@broadcom.com>
2576 Pedro Alves <palves@redhat.com>
2577
2578 PR symtab/14604
2579 PR symtab/14605
2580 * ada-lang.c (coerce_unspec_val_to_type): Use
2581 value_contents_copy_raw.
2582 * ada-valprint.c (val_print_packed_array_elements): Adjust.
2583 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
2584 * cp-valprint.c (cp_print_value_fields): Let the common printing
2585 code handle optimized out values.
2586 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
2587 * d-valprint.c (dynamic_array_type): Use
2588 value_bits_any_optimized_out.
2589 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
2590 check_any_valid fields.
2591 (check_pieced_value_bits): Delete and inline ...
2592 (check_pieced_synthetic_pointer): ... here.
2593 (check_pieced_value_validity): Delete.
2594 (check_pieced_value_invalid): Delete.
2595 (pieced_value_funcs): Remove check_validity and check_any_valid
2596 fields.
2597 (read_pieced_value): Use mark_value_bits_optimized_out.
2598 (write_pieced_value): Switch to use
2599 mark_value_bytes_optimized_out.
2600 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
2601 of assuming the whole value is optimized out.
2602 * findvar.c (read_frame_register_value): Remove special handling
2603 of optimized out registers.
2604 (value_from_register): Use mark_value_bytes_optimized_out.
2605 * frame-unwind.c (frame_unwind_got_optimized): Use
2606 mark_value_bytes_optimized_out.
2607 * jv-valprint.c (java_value_print): Adjust.
2608 (java_print_value_fields): Let the common printing code handle
2609 optimized out values.
2610 * mips-tdep.c (mips_print_register): Remove special handling of
2611 optimized out registers.
2612 * opencl-lang.c (lval_func_check_validity): Delete.
2613 (lval_func_check_any_valid): Delete.
2614 (opencl_value_funcs): Remove check_validity and check_any_valid
2615 fields.
2616 * p-valprint.c (pascal_object_print_value_fields): Let the common
2617 printing code handle optimized out values.
2618 * stack.c (read_frame_arg): Remove special handling of optimized
2619 out values. Fetch both VAL and ENTRYVAL before comparing
2620 contents. Adjust to value_available_contents_eq rename.
2621 * valprint.c (valprint_check_validity)
2622 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
2623 (val_print_array_elements): Adjust.
2624 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
2625 (value_bits_any_optimized_out): New function.
2626 (value_entirely_covered_by_range_vector): New function, factored
2627 out from value_entirely_unavailable.
2628 (value_entirely_unavailable): Reimplement.
2629 (value_entirely_optimized_out): New function.
2630 (insert_into_bit_range_vector): New function, factored out from
2631 mark_value_bits_unavailable.
2632 (mark_value_bits_unavailable): Reimplement.
2633 (struct ranges_and_idx): New struct.
2634 (find_first_range_overlap_and_match): New function, factored out
2635 from value_available_contents_bits_eq.
2636 (value_available_contents_bits_eq): Rename to ...
2637 (value_contents_bits_eq): ... this. Check both unavailable
2638 contents and optimized out contents.
2639 (value_available_contents_eq): Rename to ...
2640 (value_contents_eq): ... this.
2641 (allocate_value_lazy): Remove reference to the old optimized_out
2642 boolean.
2643 (allocate_optimized_out_value): Use
2644 mark_value_bytes_optimized_out.
2645 (require_not_optimized_out): Adjust to check whether the
2646 optimized_out vec is empty.
2647 (ranges_copy_adjusted): New function, factored out from
2648 value_contents_copy_raw.
2649 (value_contents_copy_raw): Also copy the optimized out ranges.
2650 Assert the destination ranges aren't optimized out.
2651 (value_contents_copy): Update comment, remove call to
2652 require_not_optimized_out.
2653 (value_contents_equal): Adjust to check whether the optimized_out
2654 vec is empty.
2655 (set_value_optimized_out, value_optimized_out_const): Delete.
2656 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2657 New functions.
2658 (value_entirely_optimized_out, value_bits_valid): Delete.
2659 (value_copy): Take a VEC copy of the 'optimized_out' field.
2660 (value_primitive_field): Remove special handling of optimized out.
2661 (value_fetch_lazy): Assert that lazy values have no unavailable
2662 regions. Use value_bits_any_optimized_out. Remove some special
2663 handling for optimized out values.
2664 * value.h: Add intro comment about <optimized out> and
2665 <unavailable>.
2666 (struct lval_funcs): Remove check_validity and check_any_valid
2667 fields.
2668 (set_value_optimized_out, value_optimized_out_const): Remove.
2669 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
2670 New declarations.
2671 (value_bits_any_optimized_out): New declaration.
2672 (value_bits_valid): Delete declaration.
2673 (value_available_contents_eq): Rename to ...
2674 (value_contents_eq): ... this, and extend comments.
2675
6694c411
JK
26762014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
2677
2678 Fix -fsanitize=address on unreadable inferior strings.
2679 * valprint.c (val_print_string): Fix access before BUFFER.
2680
89a1c21a
SM
26812014-08-19 Simon Marchi <simon.marchi@ericsson.com>
2682
2683 * target.c (target_struct_size): Remove.
2684 (target_struct_allocsize): Remove.
2685 (DEFAULT_ALLOCSIZE): Remove.
2686 (target_ops_p): New typedef.
2687 (DEF_VEC_P (target_ops_p)): New vector type.
2688 (target_structs): Change type to VEC (target_ops_p).
2689 (add_target_with_completer): Replace "push" code by VEC_safe_push.
2690 (find_default_run_target): Rewrite for loop following changes to
2691 target_structs.
2692
cb417230
JB
26932014-08-19 Joel Brobecker <brobecker@adacore.com>
2694
2695 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
2696 Adjust code accordingly. Adjust function description comment.
2697
817e0957
YQ
26982014-08-19 Yao Qi <yao@codesourcery.com>
2699
2700 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
2701 types.
2702
2974be62
AM
27032014-08-19 Alan Modra <amodra@gmail.com>
2704
2705 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
2706 * config.in: Regenerate.
2707 * configure: Regenerate.
2708
34abf635
GB
27092014-08-19 Tom Tromey <tromey@redhat.com>
2710 Gary Benson <gbenson@redhat.com>
2711
2712 * common/common-debug.h: New file.
2713 * common/common-debug.c: Likewise.
2714 * debug.c: Likewise.
2715 * Makefile.in (SFILES): Add common/common-debug.c.
2716 (HFILES_NO_SRCDIR): Add common/common-debug.h.
2717 (COMMON_OBS): Add common-debug.o and debug.o.
2718 (common-debug.o): New rule.
2719 * common/common-defs.h: Include common-debug.h.
2720 * common/agent.c (debug_agent_printf): New function.
2721 (DEBUG_AGENT): Redefine.
2722 * nat/i386-dregs.c (debug_printf): Undefine.
2723
f6e94d78
GB
27242014-08-19 Gary Benson <gbenson@redhat.com>
2725
2726 * common/common-defs.h: Include print-utils.h.
2727 * utils.h: Do not include print-utils.h.
2728
9239eeab
GB
27292014-08-19 Tom Tromey <tromey@redhat.com>
2730 Gary Benson <gbenson@redhat.com>
2731
2732 * common/common-types.h: New file.
2733 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
2734 * common/common-defs.h: Include common-types.h.
2735 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
2736 (ULONGEST): Remove.
2737
ef87c8bb
GB
27382014-08-19 Tom Tromey <tromey@redhat.com>
2739 Gary Benson <gbenson@redhat.com>
2740
2741 * common/errors.h: New file.
2742 * common/errors.c: Likewise.
2743 * Makefile.in (SFILES): Add common/errors.c.
2744 (HFILES_NO_SRCDIR): Add common/errors.h.
2745 (COMMON_OBS): Add errors.o.
2746 (errors.o): New rule.
2747 * common/common-defs.h: Include errors.h.
2748 * utils.h (perror_with_name, error, verror, warning, vwarning):
2749 Don't declare.
2750 * common/common-utils.h: (malloc_failure, internal_error):
2751 Likewise.
2752
196a707b
GB
27532014-08-19 Gary Benson <gbenson@redhat.com>
2754
2755 * utils.c (internal_vproblem): Always print the message.
2756
ded4fc8f
DE
27572014-08-18 Doug Evans <dje@google.com>
2758
2759 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
2760
950c97d8
JB
27612014-08-18 Joel Brobecker <brobecker@adacore.com>
2762
2763 * ada-typeprint.c (type_is_full_subrange_of_target_type):
2764 Return 0 if TYPE is dynamic.
2765 (print_range): Add handling of dynamic ranges.
2766
3cdcd0ce
JB
27672014-08-18 Keven Boell <keven.boell@intel.com>
2768 Joel Brobecker <brobecker@adacore.com>
2769
2770 * gdbtypes.h (struct main_type): Add field "data_location".
2771 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
2772 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
2773 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
2774 a dynamic data location.
2775 (resolve_dynamic_type): Add DW_AT_data_location handling.
2776 (copy_recursive, copy_type): Copy the data_location information
2777 when present.
2778 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
2779 * value.c (value_from_contents_and_address): Add
2780 DW_AT_data_location handling.
2781
08412b07
JB
27822014-08-18 Keven Boell <keven.boell@intel.com>
2783 Joel Brobecker <brobecker@adacore.com>
2784
2785 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
2786 field "get_object_address".
2787 * dwarf2expr.c (execute_stack_op): Add handling for
2788 DW_OP_push_object_address.
2789 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
2790 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
2791 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
2792 (dwarf_expr_get_obj_addr): New function.
2793 (dwarf_expr_ctx_funcs): Add get_object_address field.
2794 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
2795 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
2796 (dwarf2_evaluate_property): Add parameter "address". Use it.
2797 (needs_get_obj_addr): New function.
2798 (needs_frame_ctx_funcs): Add get_object_address field.
2799 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
2800 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
2801 (resolve_dynamic_array): Likewise.
2802
84754697
JB
28032014-08-18 Joel Brobecker <brobecker@adacore.com>
2804
2805 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
2806 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
2807 fixed value for records and unions for which some GNAT encodings
2808 are present.
2809
da5c522f
JB
28102014-08-18 Joel Brobecker <brobecker@adacore.com>
2811
2812 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
2813 rewrite to avoid "else if" and "else" constructs. Should be
2814 a no-op in practice.
2815
0d72a7c3
JB
28162014-08-18 Joel Brobecker <brobecker@adacore.com>
2817
2818 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
2819 of lexical block.
2820
e66d4446
SC
28212014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2822
2823 PR c++/17132
2824 * eval.c: Update all calls to find_overload_match.
2825 * valarith.c: Likewise.
2826 (value_user_defined_cpp_op, value_user_defined_op): New
2827 argument NOSIDE. Update all callers.
2828 * valops.c (find_overload_match): New argument NOSIDE.
2829 * value.h (find_overload_match): Update signature.
2830
940df408
SC
28312014-08-15 Siva Chandra Reddy <sivachandra@google.com>
2832
2833 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
2834 'items' methods instead of 'iteritems' method on dictionaries.
2835
699ca60a
DE
28362014-08-15 Doug Evans <dje@google.com>
2837
2838 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
2839 closer to use.
2840
37780ee5
DE
28412014-08-15 Doug Evans <dje@google.com>
2842
2843 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
2844
0ad93d4f
DE
28452014-08-15 Doug Evans <dje@google.com>
2846
2847 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
2848
20d8c372
DE
28492014-08-15 Doug Evans <dje@google.com>
2850
2851 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
2852 unused.
2853
cb039ba4
EZ
28542014-08-15 Eli Zaretskii <eliz@gnu.org>
2855
2856 * dcache.h: Include target.h, to avoid compile time warnings.
2857
eb7a547a
JB
28582014-08-15 Joel Brobecker <brobecker@adacore.com>
2859
2860 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
2861 frame_info" partial declaration.
2862 * gdbarch.h: Regenerate.
2863
783cecc8
YQ
28642014-08-15 Yao Qi <yao@codesourcery.com>
2865
2866 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
2867 Add parameter 'decode_for_pst_p'. Callers update.
2868
65c749e7
YQ
28692014-08-13 Yao Qi <yao@codesourcery.com>
2870
2871 PR build/17104
2872 * configure.ac: Use local variable 'pos'.
2873 * configure: Regenerated.
2874
d769e349
DE
28752014-08-11 Doug Evans <dje@google.com>
2876
2877 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
2878 message, it is redundant with "Reading symbols from ..." message.
2879
24f1235e
DE
28802014-08-10 Doug Evans <xdje42@gmail.com>
2881
2882 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
2883
dcd2e6ef
YQ
28842014-08-09 Yao Qi <yao@codesourcery.com>
2885
2886 PR remote/9053
2887 * remote.c (remote_xfer_partial): Remove dead code.
2888
070bdf0b
AA
28892014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2890
2891 * ia64-linux-tdep.c: Include "regset.h".
2892 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
2893 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
2894 (ia64_linux_supply_fpregset): New function.
2895 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
2896 (ia64_linux_regset_from_core_section): New function.
2897 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
2898 method.
2899
08f9f542
AA
29002014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2901
2902 * m68klinux-tdep.c: Include "regset.h".
2903 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
2904 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
2905 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
2906 (m68k_linux_regset_from_core_section): New function.
2907 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
2908 method.
2909
8f1cee41
AA
29102014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2911
2912 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
2913 function. Move logic to...
2914 (tilegx_linux_regmap): ... this new register map.
2915 (tilegx_linux_regset): Refer to register map, replace supply
2916 method by regcache_supply_regset, and add collect method.
2917 * tilegx-tdep.h (enum tilegx_regnum): New enum value
2918 TILEGX_FIRST_EASY_REGNUM.
2919
c5741217
AA
29202014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2921
2922 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
2923 that calls regcache_supply_regset and handles the EPC register
2924 separately. Move main logic to...
2925 (score7_linux_gregmap): ... this new register map.
2926 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
2927 (score7_linux_gregset): Refer to register map. Add collect method.
2928 (score7_linux_regset_from_core_section): Replace
2929 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
2930 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
2931 (struct regset): Delete unused forward declaraction.
2932 (struct pt_regs): Delete structure definition.
2933 (elf_gregset_t): Delete typedef.
2934
81580573
AA
29352014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2936
2937 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
2938 (nios2_core_regset): Add collect method.
2939
ba199d7d
AA
29402014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2941
2942 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
2943 platform-independent and don't write to read-only input buffer.
2944 (m32r_linux_collect_gregset): New function.
2945 (m32r_linux_gregset): Add collect method.
2946
0006a9da
AA
29472014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2948
2949 * hppa-linux-tdep.c (greg_map): Rename to...
2950 (hppa_linux_gregmap): ... this. Also convert to
2951 regcache_map_entry format.
2952 (hppa_linux_supply_regset): Delete function.
2953 (hppa_linux_supply_fpregset): Delete function. Move logic to...
2954 (hppa_linux_fpregmap): ... this new register map.
2955 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
2956 register map, replace supply method by regcache_supply_regset, and
2957 add collect method regcache_collect_regset.
2958
901e1b23
AA
29592014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2960
2961 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
2962 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
2963 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
2964 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
2965 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
2966 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
2967 (frv_linux_supply_gregset): Replace main logic by call to
2968 regcache_supply_regset, but keep clearing gr32-gr63.
2969 (frv_linux_supply_fpregset): Delete function.
2970 (frv_linux_gregset): Refer to appropriate register map and add
2971 regcache_collect_regset as the collect method.
2972 (frv_linux_fpregset): Likewise. Also exchange the supply method
2973 by regcache_supply_regset.
2974
1d6e7555
AA
29752014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2976
2977 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
2978 by call to alpha_supply_int_regs.
2979 (alpha_linux_collect_gregset): New function.
2980 (alpha_linux_supply_fpregset): Replace logic by call to
2981 alpha_supply_fp_regs.
2982 (alpha_linux_collect_fpregset): New function.
2983 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
2984
d4d793bf
AA
29852014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
2986
2987 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
2988 by call to regcache_collect_regset.
2989 (supply_gregset, supply_fpregset): Call regcache_supply_regset
2990 instead of aarch64_linux_supply_gregset/_fpregset.
2991 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
2992 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
2993 header file instead.
2994 (aarch64_linux_supply_gregset, supply_gregset_from_core)
2995 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
2996 functions. Move logic to ...
2997 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
2998 register maps.
2999 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3000 refer to new register maps, replace *_regset_from_core by
3001 regcache_supply_regset, and also use regcache_collect_regset.
3002 * aarch64-linux-tdep.h: Include "regset.h".
3003 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3004 Delete prototypes.
3005 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3006 macros, moved from C source file.
3007 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3008 variable declarations.
3009
99b7da5d
AA
30102014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3011
3012 * s390-linux-nat.c: Include "regset.h".
3013 (regmap_gregset): Delete macro.
3014 (s390_64_regmap_gregset): New register map for
3015 regcache_supply/_collect_regset.
3016 (s390_64_gregset): New regset.
3017 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3018 (regmap_fpregset): Delete macro.
3019 (s390_native_supply, s390_native_collect): Delete functions.
3020 (supply_gregset, fill_gregset): Replace s390-specific regmap
3021 handling by a call to regcache_supply/_collect_regset.
3022 (supply_fpregset, fill_fpregset): Call regcache_supply/
3023 _collect_regset instead of s390_native_supply/_collect.
3024 (fetch_regset, store_regset): Likewise. Also change the last
3025 parameter to a regset instead of a regmap.
3026 (s390_linux_fetch_inferior_registers)
3027 (390_linux_store_inferior_registers): Adjust last parameter in
3028 calls to fetch_regset and store_regset.
3029 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3030 (s390_gregmap): ... this. Also make static const and convert to
3031 regcache_map_entry format.
3032 (s390x_regmap_gregset): Delete.
3033 (s390_regmap_fpregset): Rename to...
3034 (s390_fpregmap): ... this. Make static const and convert to
3035 regcache_map_entry format.
3036 (s390_regmap_upper, s390_regmap_last_break)
3037 (s390x_regmap_last_break, s390_regmap_system_call)
3038 (s390_regmap_tdb): Likewise.
3039 (s390_supply_regset, s390_collect_regset): Remove functions.
3040 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3041 s390_supply_regset.
3042 (s390_gregset, s390_fpregset, s390_upper_regset)
3043 (s390_last_break_regset, s390x_last_break_regset)
3044 (s390_system_call_regset, s390_tdb_regset): Make global and
3045 replace s390_supply/_collect_regset by regcache_supply/
3046 _collect_regset.
3047 (s390x_gregset): Delete.
3048 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3049 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3050 (s390_regmap_fpregset, s390_regmap_last_break)
3051 (s390x_regmap_last_break, s390_regmap_system_call)
3052 (s390_regmap_tdb): Delete global variable declarations.
3053 (s390_gregset, s390_fpregset, s390_last_break_regset)
3054 (s390x_last_break_regset, s390_system_call_regset)
3055 (s390_tdb_regset): New global variable declarations.
3056
0b309272
AA
30572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3058
3059 * regcache.c: Include "regset.h".
3060 (regcache_transfer_regset): New local function.
3061 (regcache_supply_regset, regcache_collect_regset): New functions.
3062 * regcache.h (struct regcache_map_entry): New structure.
3063 (REGCACHE_MAP_SKIP): New enum value.
3064 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3065
7fefa8d7
AA
30662014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3067
3068 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3069 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3070 (ppc_linux_collect_gregset ): Likewise.
3071 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3072 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3073 (ppc_collect_vrregset): Likewise.
3074 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3075 Likewise.
3076
96c4f946
YQ
30772014-08-07 Yao Qi <yao@codesourcery.com>
3078
3079 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
3080 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
3081 * remote.c (remote_read_bytes): Likewise.
3082
fffbe6a8
YQ
30832014-08-07 Yao Qi <yao@codesourcery.com>
3084
3085 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
3086
5ee8a82c
YQ
30872014-08-07 Yao Qi <yao@codesourcery.com>
3088
3089 PR remote/17230
3090 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
3091 TARGET_XFER_OK instead of 0.
3092
bb974a24
GB
30932014-08-07 Gary Benson <gbenson@redhat.com>
3094
3095 * common/common-defs.h: Include errno.h.
3096 * defs.h: Do not include errno.h.
3097 * ada-typeprint.c: Likewise.
3098 * c-typeprint.c: Likewise.
3099 * core-regset.c: Likewise.
3100 * corefile.c: Likewise.
3101 * corelow.c: Likewise.
3102 * event-loop.c: Likewise.
3103 * f-typeprint.c: Likewise.
3104 * gnu-nat.c: Likewise.
3105 * go32-nat.c: Likewise.
3106 * i386gnu-nat.c: Likewise.
3107 * m2-typeprint.c: Likewise.
3108 * nat/linux-btrace.c: Likewise.
3109 * p-typeprint.c: Likewise.
3110 * procfs.c: Likewise.
3111 * remote-sim.c: Likewise.
3112 * rs6000-nat.c: Likewise.
3113 * target.c: Likewise.
3114 * typeprint.c: Likewise.
3115 * ui-file.c: Likewise.
3116 * valops.c: Likewise.
3117 * valprint.c: Likewise.
3118
6d3d12eb
GB
31192014-08-07 Gary Benson <gbenson@redhat.com>
3120
3121 * common/common-defs.h: Include string.h.
3122 * aarch64-tdep.c: Do not include string.h.
3123 * ada-exp.y: Likewise.
3124 * ada-lang.c: Likewise.
3125 * ada-lex.l: Likewise.
3126 * ada-typeprint.c: Likewise.
3127 * ada-valprint.c: Likewise.
3128 * aix-thread.c: Likewise.
3129 * alpha-linux-tdep.c: Likewise.
3130 * alpha-mdebug-tdep.c: Likewise.
3131 * alpha-nat.c: Likewise.
3132 * alpha-osf1-tdep.c: Likewise.
3133 * alpha-tdep.c: Likewise.
3134 * alphanbsd-tdep.c: Likewise.
3135 * amd64-dicos-tdep.c: Likewise.
3136 * amd64-linux-tdep.c: Likewise.
3137 * amd64-nat.c: Likewise.
3138 * amd64-sol2-tdep.c: Likewise.
3139 * amd64fbsd-tdep.c: Likewise.
3140 * amd64obsd-tdep.c: Likewise.
3141 * arch-utils.c: Likewise.
3142 * arm-linux-nat.c: Likewise.
3143 * arm-linux-tdep.c: Likewise.
3144 * arm-tdep.c: Likewise.
3145 * arm-wince-tdep.c: Likewise.
3146 * armbsd-tdep.c: Likewise.
3147 * armnbsd-nat.c: Likewise.
3148 * armnbsd-tdep.c: Likewise.
3149 * armobsd-tdep.c: Likewise.
3150 * avr-tdep.c: Likewise.
3151 * ax-gdb.c: Likewise.
3152 * ax-general.c: Likewise.
3153 * bcache.c: Likewise.
3154 * bfin-tdep.c: Likewise.
3155 * breakpoint.c: Likewise.
3156 * build-id.c: Likewise.
3157 * buildsym.c: Likewise.
3158 * c-exp.y: Likewise.
3159 * c-lang.c: Likewise.
3160 * c-typeprint.c: Likewise.
3161 * c-valprint.c: Likewise.
3162 * charset.c: Likewise.
3163 * cli-out.c: Likewise.
3164 * cli/cli-cmds.c: Likewise.
3165 * cli/cli-decode.c: Likewise.
3166 * cli/cli-dump.c: Likewise.
3167 * cli/cli-interp.c: Likewise.
3168 * cli/cli-logging.c: Likewise.
3169 * cli/cli-script.c: Likewise.
3170 * cli/cli-setshow.c: Likewise.
3171 * cli/cli-utils.c: Likewise.
3172 * coffread.c: Likewise.
3173 * common/agent.c: Likewise.
3174 * common/buffer.c: Likewise.
3175 * common/buffer.h: Likewise.
3176 * common/common-utils.c: Likewise.
3177 * common/filestuff.c: Likewise.
3178 * common/filestuff.c: Likewise.
3179 * common/format.c: Likewise.
3180 * common/print-utils.c: Likewise.
3181 * common/rsp-low.c: Likewise.
3182 * common/signals.c: Likewise.
3183 * common/vec.h: Likewise.
3184 * common/xml-utils.c: Likewise.
3185 * core-regset.c: Likewise.
3186 * corefile.c: Likewise.
3187 * corelow.c: Likewise.
3188 * cp-abi.c: Likewise.
3189 * cp-name-parser.y: Likewise.
3190 * cp-support.c: Likewise.
3191 * cp-valprint.c: Likewise.
3192 * cris-tdep.c: Likewise.
3193 * d-exp.y: Likewise.
3194 * darwin-nat.c: Likewise.
3195 * dbxread.c: Likewise.
3196 * dcache.c: Likewise.
3197 * demangle.c: Likewise.
3198 * dicos-tdep.c: Likewise.
3199 * disasm.c: Likewise.
3200 * doublest.c: Likewise.
3201 * dsrec.c: Likewise.
3202 * dummy-frame.c: Likewise.
3203 * dwarf2-frame.c: Likewise.
3204 * dwarf2loc.c: Likewise.
3205 * dwarf2read.c: Likewise.
3206 * elfread.c: Likewise.
3207 * environ.c: Likewise.
3208 * eval.c: Likewise.
3209 * event-loop.c: Likewise.
3210 * exceptions.c: Likewise.
3211 * exec.c: Likewise.
3212 * expprint.c: Likewise.
3213 * f-exp.y: Likewise.
3214 * f-lang.c: Likewise.
3215 * f-typeprint.c: Likewise.
3216 * f-valprint.c: Likewise.
3217 * fbsd-nat.c: Likewise.
3218 * findcmd.c: Likewise.
3219 * findvar.c: Likewise.
3220 * fork-child.c: Likewise.
3221 * frame.c: Likewise.
3222 * frv-linux-tdep.c: Likewise.
3223 * frv-tdep.c: Likewise.
3224 * gdb.c: Likewise.
3225 * gdb_bfd.c: Likewise.
3226 * gdbarch.c: Likewise.
3227 * gdbarch.sh: Likewise.
3228 * gdbtypes.c: Likewise.
3229 * gnu-nat.c: Likewise.
3230 * gnu-v2-abi.c: Likewise.
3231 * gnu-v3-abi.c: Likewise.
3232 * go-exp.y: Likewise.
3233 * go-lang.c: Likewise.
3234 * go32-nat.c: Likewise.
3235 * guile/guile.c: Likewise.
3236 * guile/scm-auto-load.c: Likewise.
3237 * hppa-hpux-tdep.c: Likewise.
3238 * hppa-linux-nat.c: Likewise.
3239 * hppanbsd-tdep.c: Likewise.
3240 * hppaobsd-tdep.c: Likewise.
3241 * i386-cygwin-tdep.c: Likewise.
3242 * i386-dicos-tdep.c: Likewise.
3243 * i386-linux-tdep.c: Likewise.
3244 * i386-nto-tdep.c: Likewise.
3245 * i386-sol2-tdep.c: Likewise.
3246 * i386-tdep.c: Likewise.
3247 * i386bsd-tdep.c: Likewise.
3248 * i386gnu-nat.c: Likewise.
3249 * i386nbsd-tdep.c: Likewise.
3250 * i386obsd-tdep.c: Likewise.
3251 * i387-tdep.c: Likewise.
3252 * ia64-libunwind-tdep.c: Likewise.
3253 * ia64-linux-nat.c: Likewise.
3254 * inf-child.c: Likewise.
3255 * inf-ptrace.c: Likewise.
3256 * inf-ttrace.c: Likewise.
3257 * infcall.c: Likewise.
3258 * infcmd.c: Likewise.
3259 * inflow.c: Likewise.
3260 * infrun.c: Likewise.
3261 * interps.c: Likewise.
3262 * iq2000-tdep.c: Likewise.
3263 * irix5-nat.c: Likewise.
3264 * jv-exp.y: Likewise.
3265 * jv-lang.c: Likewise.
3266 * jv-typeprint.c: Likewise.
3267 * jv-valprint.c: Likewise.
3268 * language.c: Likewise.
3269 * linux-fork.c: Likewise.
3270 * linux-nat.c: Likewise.
3271 * lm32-tdep.c: Likewise.
3272 * m2-exp.y: Likewise.
3273 * m2-typeprint.c: Likewise.
3274 * m32c-tdep.c: Likewise.
3275 * m32r-linux-nat.c: Likewise.
3276 * m32r-linux-tdep.c: Likewise.
3277 * m32r-rom.c: Likewise.
3278 * m32r-tdep.c: Likewise.
3279 * m68hc11-tdep.c: Likewise.
3280 * m68k-tdep.c: Likewise.
3281 * m68kbsd-tdep.c: Likewise.
3282 * m68klinux-nat.c: Likewise.
3283 * m68klinux-tdep.c: Likewise.
3284 * m88k-tdep.c: Likewise.
3285 * machoread.c: Likewise.
3286 * macrocmd.c: Likewise.
3287 * main.c: Likewise.
3288 * mdebugread.c: Likewise.
3289 * mem-break.c: Likewise.
3290 * memattr.c: Likewise.
3291 * memory-map.c: Likewise.
3292 * mep-tdep.c: Likewise.
3293 * mi/mi-cmd-break.c: Likewise.
3294 * mi/mi-cmd-disas.c: Likewise.
3295 * mi/mi-cmd-env.c: Likewise.
3296 * mi/mi-cmd-stack.c: Likewise.
3297 * mi/mi-cmd-var.c: Likewise.
3298 * mi/mi-cmds.c: Likewise.
3299 * mi/mi-console.c: Likewise.
3300 * mi/mi-getopt.c: Likewise.
3301 * mi/mi-interp.c: Likewise.
3302 * mi/mi-main.c: Likewise.
3303 * mi/mi-parse.c: Likewise.
3304 * microblaze-rom.c: Likewise.
3305 * microblaze-tdep.c: Likewise.
3306 * mingw-hdep.c: Likewise.
3307 * minidebug.c: Likewise.
3308 * minsyms.c: Likewise.
3309 * mips-irix-tdep.c: Likewise.
3310 * mips-linux-tdep.c: Likewise.
3311 * mips-tdep.c: Likewise.
3312 * mips64obsd-tdep.c: Likewise.
3313 * mipsnbsd-tdep.c: Likewise.
3314 * mipsread.c: Likewise.
3315 * mn10300-linux-tdep.c: Likewise.
3316 * mn10300-tdep.c: Likewise.
3317 * monitor.c: Likewise.
3318 * moxie-tdep.c: Likewise.
3319 * mt-tdep.c: Likewise.
3320 * nat/linux-btrace.c: Likewise.
3321 * nat/linux-osdata.c: Likewise.
3322 * nat/linux-procfs.c: Likewise.
3323 * nat/linux-ptrace.c: Likewise.
3324 * nat/linux-waitpid.c: Likewise.
3325 * nbsd-tdep.c: Likewise.
3326 * nios2-linux-tdep.c: Likewise.
3327 * nto-procfs.c: Likewise.
3328 * nto-tdep.c: Likewise.
3329 * objc-lang.c: Likewise.
3330 * objfiles.c: Likewise.
3331 * opencl-lang.c: Likewise.
3332 * osabi.c: Likewise.
3333 * osdata.c: Likewise.
3334 * p-exp.y: Likewise.
3335 * p-lang.c: Likewise.
3336 * p-typeprint.c: Likewise.
3337 * parse.c: Likewise.
3338 * posix-hdep.c: Likewise.
3339 * ppc-linux-nat.c: Likewise.
3340 * ppc-sysv-tdep.c: Likewise.
3341 * ppcfbsd-tdep.c: Likewise.
3342 * ppcnbsd-tdep.c: Likewise.
3343 * ppcobsd-tdep.c: Likewise.
3344 * printcmd.c: Likewise.
3345 * procfs.c: Likewise.
3346 * prologue-value.c: Likewise.
3347 * python/py-auto-load.c: Likewise.
3348 * python/py-gdb-readline.c: Likewise.
3349 * ravenscar-thread.c: Likewise.
3350 * regcache.c: Likewise.
3351 * registry.c: Likewise.
3352 * remote-fileio.c: Likewise.
3353 * remote-m32r-sdi.c: Likewise.
3354 * remote-mips.c: Likewise.
3355 * remote-notif.c: Likewise.
3356 * remote-sim.c: Likewise.
3357 * remote.c: Likewise.
3358 * reverse.c: Likewise.
3359 * rs6000-aix-tdep.c: Likewise.
3360 * ser-base.c: Likewise.
3361 * ser-go32.c: Likewise.
3362 * ser-mingw.c: Likewise.
3363 * ser-pipe.c: Likewise.
3364 * ser-tcp.c: Likewise.
3365 * ser-unix.c: Likewise.
3366 * serial.c: Likewise.
3367 * sh-tdep.c: Likewise.
3368 * sh64-tdep.c: Likewise.
3369 * shnbsd-tdep.c: Likewise.
3370 * skip.c: Likewise.
3371 * sol-thread.c: Likewise.
3372 * solib-dsbt.c: Likewise.
3373 * solib-frv.c: Likewise.
3374 * solib-osf.c: Likewise.
3375 * solib-som.c: Likewise.
3376 * solib-spu.c: Likewise.
3377 * solib-target.c: Likewise.
3378 * solib.c: Likewise.
3379 * somread.c: Likewise.
3380 * source.c: Likewise.
3381 * sparc-nat.c: Likewise.
3382 * sparc-sol2-tdep.c: Likewise.
3383 * sparc-tdep.c: Likewise.
3384 * sparc64-tdep.c: Likewise.
3385 * sparc64fbsd-tdep.c: Likewise.
3386 * sparc64nbsd-tdep.c: Likewise.
3387 * sparcnbsd-tdep.c: Likewise.
3388 * spu-linux-nat.c: Likewise.
3389 * spu-multiarch.c: Likewise.
3390 * spu-tdep.c: Likewise.
3391 * stabsread.c: Likewise.
3392 * stack.c: Likewise.
3393 * std-regs.c: Likewise.
3394 * symfile.c: Likewise.
3395 * symmisc.c: Likewise.
3396 * symtab.c: Likewise.
3397 * target.c: Likewise.
3398 * thread.c: Likewise.
3399 * tilegx-linux-nat.c: Likewise.
3400 * tilegx-tdep.c: Likewise.
3401 * top.c: Likewise.
3402 * tracepoint.c: Likewise.
3403 * tui/tui-command.c: Likewise.
3404 * tui/tui-data.c: Likewise.
3405 * tui/tui-disasm.c: Likewise.
3406 * tui/tui-file.c: Likewise.
3407 * tui/tui-layout.c: Likewise.
3408 * tui/tui-out.c: Likewise.
3409 * tui/tui-regs.c: Likewise.
3410 * tui/tui-source.c: Likewise.
3411 * tui/tui-stack.c: Likewise.
3412 * tui/tui-win.c: Likewise.
3413 * tui/tui-windata.c: Likewise.
3414 * tui/tui-winsource.c: Likewise.
3415 * typeprint.c: Likewise.
3416 * ui-file.c: Likewise.
3417 * ui-out.c: Likewise.
3418 * user-regs.c: Likewise.
3419 * utils.c: Likewise.
3420 * v850-tdep.c: Likewise.
3421 * valarith.c: Likewise.
3422 * valops.c: Likewise.
3423 * valprint.c: Likewise.
3424 * value.c: Likewise.
3425 * varobj.c: Likewise.
3426 * vax-tdep.c: Likewise.
3427 * vaxnbsd-tdep.c: Likewise.
3428 * vaxobsd-tdep.c: Likewise.
3429 * windows-nat.c: Likewise.
3430 * xcoffread.c: Likewise.
3431 * xml-support.c: Likewise.
3432 * xstormy16-tdep.c: Likewise.
3433 * xtensa-linux-nat.c: Likewise.
3434
dccbb609
GB
34352014-08-07 Gary Benson <gbenson@redhat.com>
3436
3437 * common/common-defs.h: Include gdb_assert.h.
3438 * aarch64-tdep.c: Do not include gdb_assert.h.
3439 * addrmap.c: Likewise.
3440 * aix-thread.c: Likewise.
3441 * alpha-linux-tdep.c: Likewise.
3442 * alpha-mdebug-tdep.c: Likewise.
3443 * alphanbsd-tdep.c: Likewise.
3444 * amd64-nat.c: Likewise.
3445 * amd64-tdep.c: Likewise.
3446 * amd64bsd-nat.c: Likewise.
3447 * amd64fbsd-nat.c: Likewise.
3448 * amd64fbsd-tdep.c: Likewise.
3449 * amd64nbsd-nat.c: Likewise.
3450 * amd64nbsd-tdep.c: Likewise.
3451 * amd64obsd-nat.c: Likewise.
3452 * amd64obsd-tdep.c: Likewise.
3453 * arch-utils.c: Likewise.
3454 * arm-tdep.c: Likewise.
3455 * armbsd-tdep.c: Likewise.
3456 * auxv.c: Likewise.
3457 * bcache.c: Likewise.
3458 * bfin-tdep.c: Likewise.
3459 * blockframe.c: Likewise.
3460 * breakpoint.c: Likewise.
3461 * bsd-kvm.c: Likewise.
3462 * bsd-uthread.c: Likewise.
3463 * buildsym.c: Likewise.
3464 * c-exp.y: Likewise.
3465 * c-lang.c: Likewise.
3466 * charset.c: Likewise.
3467 * cleanups.c: Likewise.
3468 * cli-out.c: Likewise.
3469 * cli/cli-decode.c: Likewise.
3470 * cli/cli-dump.c: Likewise.
3471 * cli/cli-logging.c: Likewise.
3472 * cli/cli-script.c: Likewise.
3473 * cli/cli-utils.c: Likewise.
3474 * coffread.c: Likewise.
3475 * common/common-utils.c: Likewise.
3476 * common/queue.h: Likewise.
3477 * common/signals.c: Likewise.
3478 * common/vec.h: Likewise.
3479 * complaints.c: Likewise.
3480 * completer.c: Likewise.
3481 * corelow.c: Likewise.
3482 * cp-abi.c: Likewise.
3483 * cp-name-parser.y: Likewise.
3484 * cp-namespace.c: Likewise.
3485 * cp-support.c: Likewise.
3486 * cris-tdep.c: Likewise.
3487 * dbxread.c: Likewise.
3488 * dictionary.c: Likewise.
3489 * doublest.c: Likewise.
3490 * dsrec.c: Likewise.
3491 * dummy-frame.c: Likewise.
3492 * dwarf2-frame-tailcall.c: Likewise.
3493 * dwarf2-frame.c: Likewise.
3494 * dwarf2expr.c: Likewise.
3495 * dwarf2loc.c: Likewise.
3496 * dwarf2read.c: Likewise.
3497 * eval.c: Likewise.
3498 * event-loop.c: Likewise.
3499 * exceptions.c: Likewise.
3500 * expprint.c: Likewise.
3501 * f-valprint.c: Likewise.
3502 * fbsd-nat.c: Likewise.
3503 * findvar.c: Likewise.
3504 * frame-unwind.c: Likewise.
3505 * frame.c: Likewise.
3506 * frv-tdep.c: Likewise.
3507 * gcore.c: Likewise.
3508 * gdb-dlfcn.c: Likewise.
3509 * gdb_bfd.c: Likewise.
3510 * gdbarch.c: Likewise.
3511 * gdbarch.sh: Likewise.
3512 * gdbtypes.c: Likewise.
3513 * gnu-nat.c: Likewise.
3514 * gnu-v3-abi.c: Likewise.
3515 * go-lang.c: Likewise.
3516 * guile/scm-exception.c: Likewise.
3517 * guile/scm-gsmob.c: Likewise.
3518 * guile/scm-lazy-string.c: Likewise.
3519 * guile/scm-math.c: Likewise.
3520 * guile/scm-pretty-print.c: Likewise.
3521 * guile/scm-safe-call.c: Likewise.
3522 * guile/scm-utils.c: Likewise.
3523 * guile/scm-value.c: Likewise.
3524 * h8300-tdep.c: Likewise.
3525 * hppa-hpux-nat.c: Likewise.
3526 * hppa-tdep.c: Likewise.
3527 * hppanbsd-tdep.c: Likewise.
3528 * hppaobsd-tdep.c: Likewise.
3529 * i386-darwin-nat.c: Likewise.
3530 * i386-darwin-tdep.c: Likewise.
3531 * i386-nto-tdep.c: Likewise.
3532 * i386-tdep.c: Likewise.
3533 * i386bsd-nat.c: Likewise.
3534 * i386fbsd-tdep.c: Likewise.
3535 * i386gnu-nat.c: Likewise.
3536 * i386nbsd-tdep.c: Likewise.
3537 * i386obsd-tdep.c: Likewise.
3538 * i387-tdep.c: Likewise.
3539 * ia64-libunwind-tdep.c: Likewise.
3540 * ia64-tdep.c: Likewise.
3541 * inf-ptrace.c: Likewise.
3542 * inf-ttrace.c: Likewise.
3543 * infcall.c: Likewise.
3544 * infcmd.c: Likewise.
3545 * infrun.c: Likewise.
3546 * inline-frame.c: Likewise.
3547 * interps.c: Likewise.
3548 * jv-lang.c: Likewise.
3549 * jv-typeprint.c: Likewise.
3550 * linux-fork.c: Likewise.
3551 * linux-nat.c: Likewise.
3552 * linux-thread-db.c: Likewise.
3553 * m32c-tdep.c: Likewise.
3554 * m32r-linux-nat.c: Likewise.
3555 * m32r-tdep.c: Likewise.
3556 * m68k-tdep.c: Likewise.
3557 * m68kbsd-nat.c: Likewise.
3558 * m68kbsd-tdep.c: Likewise.
3559 * m88k-tdep.c: Likewise.
3560 * machoread.c: Likewise.
3561 * macroexp.c: Likewise.
3562 * macrotab.c: Likewise.
3563 * maint.c: Likewise.
3564 * mdebugread.c: Likewise.
3565 * memory-map.c: Likewise.
3566 * mep-tdep.c: Likewise.
3567 * mi/mi-common.c: Likewise.
3568 * microblaze-tdep.c: Likewise.
3569 * mingw-hdep.c: Likewise.
3570 * mips-linux-nat.c: Likewise.
3571 * mips-linux-tdep.c: Likewise.
3572 * mips-tdep.c: Likewise.
3573 * mips64obsd-tdep.c: Likewise.
3574 * mipsnbsd-tdep.c: Likewise.
3575 * mn10300-linux-tdep.c: Likewise.
3576 * mn10300-tdep.c: Likewise.
3577 * moxie-tdep.c: Likewise.
3578 * mt-tdep.c: Likewise.
3579 * nat/linux-btrace.c: Likewise.
3580 * nat/linux-osdata.c: Likewise.
3581 * nat/linux-ptrace.c: Likewise.
3582 * nat/mips-linux-watch.c: Likewise.
3583 * nios2-linux-tdep.c: Likewise.
3584 * nios2-tdep.c: Likewise.
3585 * objc-lang.c: Likewise.
3586 * objfiles.c: Likewise.
3587 * obsd-nat.c: Likewise.
3588 * opencl-lang.c: Likewise.
3589 * osabi.c: Likewise.
3590 * parse.c: Likewise.
3591 * ppc-linux-nat.c: Likewise.
3592 * ppc-sysv-tdep.c: Likewise.
3593 * ppcfbsd-nat.c: Likewise.
3594 * ppcfbsd-tdep.c: Likewise.
3595 * ppcnbsd-nat.c: Likewise.
3596 * ppcnbsd-tdep.c: Likewise.
3597 * ppcobsd-nat.c: Likewise.
3598 * ppcobsd-tdep.c: Likewise.
3599 * printcmd.c: Likewise.
3600 * procfs.c: Likewise.
3601 * prologue-value.c: Likewise.
3602 * psymtab.c: Likewise.
3603 * python/py-lazy-string.c: Likewise.
3604 * python/py-value.c: Likewise.
3605 * regcache.c: Likewise.
3606 * reggroups.c: Likewise.
3607 * registry.c: Likewise.
3608 * remote-sim.c: Likewise.
3609 * remote.c: Likewise.
3610 * rs6000-aix-tdep.c: Likewise.
3611 * rs6000-tdep.c: Likewise.
3612 * s390-linux-tdep.c: Likewise.
3613 * score-tdep.c: Likewise.
3614 * ser-base.c: Likewise.
3615 * ser-mingw.c: Likewise.
3616 * sh-tdep.c: Likewise.
3617 * sh64-tdep.c: Likewise.
3618 * solib-darwin.c: Likewise.
3619 * solib-spu.c: Likewise.
3620 * solib-svr4.c: Likewise.
3621 * source.c: Likewise.
3622 * sparc-nat.c: Likewise.
3623 * sparc-sol2-tdep.c: Likewise.
3624 * sparc-tdep.c: Likewise.
3625 * sparc64-sol2-tdep.c: Likewise.
3626 * sparc64-tdep.c: Likewise.
3627 * sparc64fbsd-tdep.c: Likewise.
3628 * sparc64nbsd-tdep.c: Likewise.
3629 * sparc64obsd-tdep.c: Likewise.
3630 * sparcnbsd-tdep.c: Likewise.
3631 * sparcobsd-tdep.c: Likewise.
3632 * spu-multiarch.c: Likewise.
3633 * spu-tdep.c: Likewise.
3634 * stabsread.c: Likewise.
3635 * stack.c: Likewise.
3636 * symfile.c: Likewise.
3637 * symtab.c: Likewise.
3638 * target-descriptions.c: Likewise.
3639 * target-memory.c: Likewise.
3640 * target.c: Likewise.
3641 * tic6x-linux-tdep.c: Likewise.
3642 * tic6x-tdep.c: Likewise.
3643 * tilegx-linux-nat.c: Likewise.
3644 * tilegx-tdep.c: Likewise.
3645 * top.c: Likewise.
3646 * tramp-frame.c: Likewise.
3647 * tui/tui-out.c: Likewise.
3648 * tui/tui-winsource.c: Likewise.
3649 * ui-out.c: Likewise.
3650 * user-regs.c: Likewise.
3651 * utils.c: Likewise.
3652 * v850-tdep.c: Likewise.
3653 * valops.c: Likewise.
3654 * value.c: Likewise.
3655 * varobj.c: Likewise.
3656 * vax-nat.c: Likewise.
3657 * xml-syscall.c: Likewise.
3658 * xml-tdesc.c: Likewise.
3659 * xstormy16-tdep.c: Likewise.
3660 * xtensa-linux-nat.c: Likewise.
3661 * xtensa-tdep.c: Likewise.
3662
e76df0d0
GB
36632014-08-07 Gary Benson <gbenson@redhat.com>
3664
3665 * common/common-defs.h: Include common-utils.h.
3666 * defs.h: Do not include common-utils.h.
3667 * common/gdb_assert.h: Likewise.
3668 * darwin-nat.h: Likewise.
3669 * nat/linux-btrace.c: Likewise.
3670 * target/waitstatus.h: Likewise.
3671
4cb9c816
GB
36722014-08-07 Gary Benson <gbenson@redhat.com>
3673
3674 * common/common-defs.h: Include ptid.h.
3675 * defs.h: Do not include ptid.h.
3676 * inferior.h: Likewise.
3677 * infrun.h: Likewise.
3678 * nat/linux-btrace.h: Likewise.
3679 * nat/linux-osdata.h: Likewise.
3680 * target/waitstatus.h: Likewise.
3681
3995eeee
GB
36822014-08-07 Gary Benson <gbenson@redhat.com>
3683
3684 * common/common-defs.h: Include gdb_locale.h.
3685 * defs.h: Do not include gdb_locale.h.
3686
cb9f1a9b
GB
36872014-08-07 Gary Benson <gbenson@redhat.com>
3688
3689 * common/common-defs.h: Include gdb/signals.h.
3690 * defs.h: Do not include gdb/signals.h.
3691
a5fceff8
GB
36922014-08-07 Gary Benson <gbenson@redhat.com>
3693
3694 * common/common-defs.h: Include pathmax.h.
3695 * defs.h: Do not include pathmax.h.
3696
b9391142
GB
36972014-08-07 Gary Benson <gbenson@redhat.com>
3698
3699 * common/common-defs.h: Include libiberty.h.
3700 * defs.h: Do not include libiberty.h.
3701 * common/queue.h: Likewise.
3702 * cp-name-parser.y: Likewise.
3703 * mi/mi-cmd-catch.c: Likewise.
3704 * python/python.c: Likewise.
3705
0e443c87
GB
37062014-08-07 Gary Benson <gbenson@redhat.com>
3707
3708 * common/common-defs.h: Include ansidecl.h.
3709 * defs.h: Do not include ansidecl.h.
3710 * common/buffer.h: Likewise.
3711 * common/common-utils.h: Likewise.
3712
8ebb3f56
GB
37132014-08-07 Gary Benson <gbenson@redhat.com>
3714
3715 * common/common-defs.h: Include stddef.h.
3716 * defs.h: Do not include stddef.h.
3717 * common/common-utils.h: Likewise.
3718 * amd64fbsd-nat.c: Likewise.
3719 * bcache.c: Likewise.
3720 * charset.c: Likewise.
3721 * common/buffer.h: Likewise.
3722 * common/vec.h: Likewise.
3723 * i386bsd-nat.c: Likewise.
3724 * nat/linux-btrace.h: Likewise.
3725 * ppcfbsd-nat.c: Likewise.
3726 * ppcnbsd-tdep.h: Likewise.
3727 * ppcobsd-nat.c: Likewise.
3728 * ppcobsd-tdep.h: Likewise.
3729 * python/py-gdb-readline.c: Likewise.
3730
8980bdf6
GB
37312014-08-07 Gary Benson <gbenson@redhat.com>
3732
3733 * common/common-defs.h: Include stdarg.h.
3734 * defs.h: Do not include stdarg.h.
3735 * ada-lang.c: Likewise.
3736 * common/common-utils.h: Likewise.
3737 * guile/scm-string.c: Likewise.
3738 * guile/scm-utils.c: Likewise.
3739 * m32c-tdep.c: Likewise.
3740
d7096f71
GB
37412014-08-07 Gary Benson <gbenson@redhat.com>
3742
3743 * common/common-defs.h: Include stdlib.h.
3744 * defs.h: Do not include stdlib.h.
3745 * addrmap.c: Likewise.
3746 * bcache.c: Likewise.
3747 * common/buffer.c: Likewise.
3748 * common/common-utils.c: Likewise.
3749 * cp-name-parser.y: Likewise.
3750 * go32-nat.c: Likewise.
3751 * mn10300-linux-tdep.c: Likewise.
3752 * nat/linux-osdata.c: Likewise.
3753 * tui/tui.c: Likewise.
3754 * windows-nat.c: Likewise.
3755
d02f550d
GB
37562014-08-07 Gary Benson <gbenson@redhat.com>
3757
3758 * common/common-defs.h: Include stdio.h.
3759 * defs.h: Do not include stdio.h.
3760 * ada-lang.c: Likewise.
3761 * common/buffer.c: Likewise.
3762 * common/common-utils.c: Likewise.
3763 * cp-name-parser.y: Likewise.
3764 * gnu-nat.c: Likewise.
3765 * go32-nat.c: Likewise.
3766 * i386gnu-nat.c: Likewise.
3767 * proc-api.c: Likewise.
3768 * proc-events.c: Likewise.
3769 * proc-flags.c: Likewise.
3770 * proc-why.c: Likewise.
3771 * python/python-internal.h: Likewise.
3772 * target-memory.c: Likewise.
3773 * tui/tui-io.c: Likewise.
3774 * tui/tui.c: Likewise.
3775
b6d7a4bf
SM
37762014-08-06 Simon Marchi <simon.marchi@ericsson.com>
3777
3778 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
3779 (scan_dyntag_auxv): Same.
3780
af19829b
YQ
37812014-08-06 Yao Qi <yao@codesourcery.com>
3782
3783 * amd64-linux-nat.c: Remove duplicated include
3784 "x86-linux-nat.h".
3785 * i386-linux-nat.c: Likewise.
3786
8e07a239
YQ
37872014-08-06 Yao Qi <yao@codesourcery.com>
3788
3789 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
3790 operand" with "Special opcode" in comments.
3791
7bfe8241
GB
37922014-08-05 Gary Benson <gbenson@redhat.com>
3793
3794 * interps.c (initialize_interps): Remove prototype.
3795 (interpreter_initialized): Remove static global.
3796 (interp_add): Do not call initialize_interps.
3797 (initialize_interps): Remove function.
3798
d6c95504
GB
37992014-08-05 Gary Benson <gbenson@redhat.com>
3800
3801 * utils.c (vwarning): Remove spurious va_end.
3802
241fd515
AM
38032014-08-05 Alan Modra <amodra@gmail.com>
3804
3805 * charset.c (convert_between_encodings): Cast result of obstack_base.
3806 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
3807 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
3808 (read_unwind_info): Use size_t for some locals.
3809 * jit.c (finalize_symtab): Likewise.
3810 * utils.c (hashtab_obstack_allocate): Likewise.
3811 * symmisc.c (print_objfile_statistics): Update format strings.
3812
dc304a94
JK
38132014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3814
3815 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
3816 (Changes in GDB 7.8): ... here.
3817
3cecbbbe
TT
38182014-08-04 Tom Tromey <tromey@redhat.com>
3819
3820 * target.c (set_targetdebug): New function.
3821 (initialize_targets): Pass set_targetdebug when creating "set
3822 debug target".
3823
6908c509
JB
38242014-08-01 Joel Brobecker <brobecker@adacore.com>
3825
3826 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
3827 if detecting a variable-sized field that is not the last field.
3828 Fix struct type length computation.
3829
53e8f97d
JB
38302014-08-01 Joel Brobecker <brobecker@adacore.com>
3831
3832 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3833 Add debug trace.
3834
e068c55d
JB
38352014-08-01 Joel Brobecker <brobecker@adacore.com>
3836
3837 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
3838 Remove "+ 8" offset in computation of CHAIN_VMA.
3839
4d4ca2a1
DE
38402014-07-31 Doug Evans <dje@google.com>
3841
3842 * inflow.c (child_terminal_inferior): Add comment.
3843 (child_terminal_ours_for_output): Add comment.
3844 (child_terminal_ours): Add comment.
3845 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
3846 (linux_nat_terminal_ours): Add comment.
3847
462f517e
GB
38482014-07-31 Gary Benson <gbenson@redhat.com>
3849
3850 * common/btrace-common.h: Do not include defs.h or server.h.
3851 * nat/mips-linux-watch.h: Likewise.
3852 * gdb-dlfcn.h: Do not include defs.h.
3853 * tracefile.h: Likewise.
3854
74228e77
RM
38552014-07-30 Roland McGrath <mcgrathr@google.com>
3856
3857 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
3858
014f9477
TT
38592014-07-30 Tom Tromey <tromey@redhat.com>
3860
3861 * bsd-kvm.c (bsd_kvm_open): Constify.
3862 * corelow.c (core_open): Constify.
3863 * ctf.c (ctf_open): Constify.
3864 * dbug-rom.c (dbug_open): Constify.
3865 * exec.c (exec_open): Constify.
3866 * m32r-rom.c (m32r_open, mon2000_open): Constify.
3867 * microblaze-rom.c (picobug_open): Constify.
3868 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
3869 Constify.
3870 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
3871 * record-btrace.c (record_btrace_open): Constify.
3872 * record-full.c (record_full_core_open_1, record_full_open_1)
3873 (record_full_open): Constify.
3874 * remote-m32r-sdi.c (m32r_open): Constify.
3875 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
3876 (rockhopper_open, lsi_open): Constify.
3877 * remote-sim.c (gdbsim_open): Constify.
3878 * remote.c (remote_open, extended_remote_open, remote_open_1):
3879 Constify.
3880 * target.h (struct target_ops) <to_open>: Make "arg" const.
3881 * tracefile-tfile.c (tfile_open): Constify.
3882
e799154c
TT
38832014-07-30 Tom Tromey <tromey@redhat.com>
3884
3885 * breakpoint.c (map_breakpoint_numbers): Update.
3886 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
3887 (get_number_const): New function.
3888 (get_number): Rewrite using get_number_const.
3889 (init_number_or_range): Make "string" const.
3890 (number_is_in_list): Make "list" const.
3891 * cli/cli-utils.h (get_number_const): Declare.
3892 (struct get_number_or_range_state) <string, end_ptr>: Now const.
3893 (init_number_or_range, number_is_in_list): Update.
3894 * printcmd.c (map_display_numbers): Update.
3895 * value.c (value_from_history_ref): Constify.
3896 * value.h (value_from_history_ref): Update.
3897
5f08566b
TT
38982014-07-30 Tom Tromey <tromey@redhat.com>
3899
3900 * corefile.c (hook_type, call_extra_exec_file_hooks)
3901 (specify_exec_file_hook): Constify.
3902 * exec.c (exec_file_attach): Make "filename" const.
3903 * gdbcore.h (deprecated_exec_file_display_hook)
3904 (specify_exec_file_hook, exec_file_attach): Constify.
3905 * main.c (captured_main): Use catch_command_errors_const.
3906
8981c758
TT
39072014-07-30 Tom Tromey <tromey@redhat.com>
3908
3909 * target.c (open_target): New function.
3910 (add_target_with_completer, add_deprecated_target_alias): Use
3911 set_cmd_sfunc, set_cmd_context.
3912 (debug_to_open): Remove.
3913 (setup_target_debug): Update.
3914
a1c7835a
YQ
39152014-07-30 Yao Qi <yao@codesourcery.com>
3916
3917 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
3918 comments.
3919 * parse.c (exp_iterate): Update comments.
3920
976411d6
GB
39212014-07-30 Gary Benson <gbenson@redhat.com>
3922
3923 * common/common-defs.h: New file.
3924 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
3925 * defs.h: Include common-defs.h.
3926 Do not include config.h or build-gnulib/config.h.
3927
5d4848a4
GB
39282014-07-30 Gary Benson <gbenson@redhat.com>
3929
3930 * common/common-utils.h: Do not include config.h.
3931 * nat/linux-btrace.h: Likewise.
3932
d41f6d8e
GB
39332014-07-30 Gary Benson <gbenson@redhat.com>
3934
3935 * btrace.c: Include defs.h.
3936 * common/ptid.c: Include defs.h or server.h as appropriate.
3937 * nat/mips-linux-watch.c: Likewise.
3938
84202f9c
TT
39392014-07-29 Tom Tromey <tromey@redhat.com>
3940
3941 * target.c (target_is_pushed): Simplify.
3942
2530441c
JB
39432014-07-29 Joel Brobecker <brobecker@adacore.com>
3944
3945 GDB 7.8 released.
3946
7e09a223
YQ
39472014-07-29 Yao Qi <yao@codesourcery.com>
3948
3949 PR gdb/17206
3950 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
3951
7ebdbe92
DE
39522014-07-28 Doug Evans <xdje42@gmail.com>
3953
3954 PR guile/17203
3955 * guile/scm-param.c (pascm_parameter_defined_p): New function.
3956 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
3957 parameters.
3958
f347ffc9
WN
39592014-07-28 Will Newton <will.newton@linaro.org>
3960
3961 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
3962 (THUMB2_SET_R7_SIGRETURN2): Likewise.
3963 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
3964 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
3965 (THUMB2_EABI_SYSCALL): Likewise.
3966 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
3967 struct tramp_frame.
3968 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
3969 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
3970
37c5f1f7
DE
39712014-07-27 Doug Evans <xdje42@gmail.com>
3972
3973 * guile/scm-param.c (pascm_print_param_smob): Fix output.
3974
0c3abbc7
DE
39752014-07-27 Doug Evans <xdje42@gmail.com>
3976
3977 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
3978
e76c5d17
DE
39792014-07-26 Ludovic Courtès <ludo@gnu.org>
3980 Doug Evans <xdje42@gmail.com>
3981
3982 PR guile/17146
3983 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
3984 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
3985 * configure.ac: Try to use guild to compile an scm file, if it fails
3986 then disable guile support.
3987 * configure: Regenerate.
3988 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
3989 GUILE_FILE_LIST.
3990 (GUILE_COMPILED_FILES): New variable.
3991 (GUILE_FILES) Update.
3992 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
3993 (stamp-guile): Compile scm files.
3994 * guile/guile.c (boot_guile_support): New function.
3995 (standard_throw_args_p): New function.
3996 (print_standard_throw_error, print_throw_error): New functions.
3997 (handle_boot_error): New function.
3998 (initialize_scheme_side): Rewrite to call boot_guile_support.
3999 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4000 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4001
186fcde0
DE
40022014-07-26 Ludovic Courtès <ludo@gnu.org>
4003 Doug Evans <xdje42@gmail.com>
4004
4005 PR guile/17146
4006 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4007 * guile/lib/gdb/support.scm: New file.
4008 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4009 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4010 All uses updated.
4011 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4012 All uses updated.
4013 (%assert-type): Ditto, and renamed to assert-type.
4014 (%exception-print-style): Delete.
4015
4df42755
DE
40162014-07-26 Doug Evans <xdje42@gmail.com>
4017
4018 PR build/17105
4019 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4020 * configure: Regenerate.
4021 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4022 PYTHON_FILES.
4023 (PYTHON_FILES): New variable.
4024 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4025 (GUILE_FILES): New variable.
4026 (stamp-python, install-python, uninstall-python): Handle empty
4027 file list.
4028 (stamp-guile, install-guile, uninstall-guile): Ditto.
4029
ee7333ae
DE
40302014-07-26 Doug Evans <xdje42@gmail.com>
4031
4032 PR guile/17177
4033 * guile/lib/gdb.scm (pretty-printers): Export.
4034 (set-pretty-printers!): Export.
4035 * guile/lib/gdb/printing.scm (gdb module): Update.
4036 (prepend-pretty-printer!, append-pretty-printer!): Update.
4037 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4038 (pretty_printer_list_var): Delete.
4039 (pretty_printer_list): New static global.
4040 (gdbscm_pretty_printers): New function.
4041 (gdbscm_set_pretty_printers_x): New function.
4042 (ppscm_find_pretty_printer_from_gdb): Update.
4043 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4044 (gdbscm_initialize_pretty_printers): Update.
4045
74edf516
DE
40462014-07-26 Doug Evans <xdje42@gmail.com>
4047
4048 PR 17185
4049 * configure.ac: Add check for header gc/gc.h.
4050 Add check for function setenv.
4051 * configure: Regenerate.
4052 * config.in: Regenerate.
4053 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4054
d54398a7
MR
40552014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4056
4057 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4058 variation in gdbarch matching.
4059
ab16fce8
TT
40602014-07-25 Tom Tromey <tromey@redhat.com>
4061
4062 * exec.c (using_exec_ops): Remove.
4063 (exec_close_1): Update. Remove extraneous block, reindent.
4064 (add_target_sections): Use target_is_pushed.
4065
88056fbb
PA
40662014-07-25 Pedro Alves <palves@redhat.com>
4067
4068 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4069 * monitor.c (monitor_create_inferior): Likewise.
4070 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4071 * remote-sim.c (gdbsim_create_inferior): Likewise.
4072 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4073 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4074 * windows-nat.c (do_initial_windows_stuff): Likewise.
4075
70509625
PA
40762014-07-25 Pedro Alves <palves@redhat.com>
4077
4078 * NEWS: Mention signal passing and "signal" command changes.
4079 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
4080 comment.
4081 * breakpoint.c (until_break_command): Adjust clear_proceed_status
4082 call.
4083 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
4084 * infcmd.c (proceed_thread_callback, continue_1, step_once)
4085 (jump_command): Adjust clear_proceed_status call.
4086 (signal_command): Warn if other thread that are resumed have
4087 signals that will be delivered. Adjust clear_proceed_status call.
4088 (until_next_command, finish_command)
4089 (proceed_after_attach_callback, attach_command_post_wait)
4090 (attach_command): Adjust clear_proceed_status call.
4091 * infrun.c (proceed_after_vfork_done): Likewise.
4092 (proceed_after_attach_callback): Adjust comment.
4093 (clear_proceed_status_thread): Clear stop_signal if not in pass
4094 state.
4095 (clear_proceed_status_callback): Delete.
4096 (clear_proceed_status): New 'step' parameter. Only clear the
4097 proceed status of threads the command being prepared is about to
4098 resume.
4099 (proceed): If passed in an explicit signal, override stop_signal
4100 with it. Don't pass the last stop signal to the thread we're
4101 resuming.
4102 (init_wait_for_inferior): Adjust clear_proceed_status call.
4103 (switch_back_to_stepped_thread): Clear the signal if it should not
4104 be passed.
4105 * infrun.h (clear_proceed_status): New 'step' parameter.
4106 (user_visible_resume_ptid): Add comment.
4107 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
4108 signal is in pass state.
4109 * remote.c (append_pending_thread_resumptions): Likewise.
4110 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
4111
d8be2939
TT
41122014-07-25 Tom Tromey <tromey@redhat.com>
4113
4114 * target.h (target_stopped_data_address)
4115 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
4116 parentheses.
4117
7d0d9d2b
PL
41182014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
4119
4120 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
4121 comments.
4122 (avr_pointer_to_address): Likewise.
4123
e9e7f724
TT
41242014-07-24 Tom Tromey <tromey@redhat.com>
4125
4126 * monitor.c (compile_pattern): Update.
4127 * target.h (struct target_ops) <to_shortname, to_longname,
4128 to_doc>: Now const.
4129
1947513d
TT
41302014-07-24 Tom Tromey <tromey@redhat.com>
4131
4132 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
4133 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
4134 (add_info_alias, add_com): Make "doc" const.
4135 (print_doc_line): Make "str" const.
4136 (delete_cmd): Update.
4137 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
4138 (print_doc_line): Update.
4139 * cli/cli-script.c (document_command): Update.
4140 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
4141 (add_com, add_info, add_info_alias): Update.
4142 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4143 * python/py-cmd.c (cmdpy_destroyer): Update.
4144
64e61d29
TT
41452014-07-24 Tom Tromey <tromey@redhat.com>
4146
4147 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
4148 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
4149 (help_cmd_list): Constify.
4150 (lookup_cmd): Update.
4151 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
4152 const.
4153 (help_cmd_list, apropos_cmd): Update.
4154 * cli/cli-script.c (show_user): Update.
4155 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
4156 * cli/cli-setshow.h (cmd_show_list): Update.
4157 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
4158 (cmd_show_list): Update.
4159 * guile/scm-cmd.c (cmdscm_destroyer): Update.
4160 * python/py-cmd.c (cmdpy_destroyer): Update.
4161
429e55ea
TT
41622014-07-24 Tom Tromey <tromey@redhat.com>
4163
4164 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
4165 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
4166 const.
4167 * command.h (deprecate_cmd): Update.
4168 * maint.c (maintenance_do_deprecate): Add casts.
4169
64669f3b
TT
41702014-07-24 Tom Tromey <tromey@redhat.com>
4171
4172 * cli/cli-decode.c (help_cmd): Make parameter "const".
4173 * cli/cli-decode.h (help_cmd): Update.
4174
d3d3328b
TT
41752014-07-24 Tom Tromey <tromey@redhat.com>
4176
4177 * stack.c (up_silently_base, down_silently_base): Make argument
4178 const.
4179
414842dc
TT
41802014-07-24 Tom Tromey <tromey@redhat.com>
4181
4182 * solib.c (solib_add): Make "pattern" const.
4183 * solib.h (solib_add): Update.
4184
baa336ce
TT
41852014-07-24 Tom Tromey <tromey@redhat.com>
4186
4187 * remote.c (remote_serial_open, print_packet, putpkt)
4188 (putpkt_binary): Constify.
4189 * remote.h (putpkt): Update.
4190
5a19e2d0
TT
41912014-07-24 Tom Tromey <tromey@redhat.com>
4192
4193 * monitor.c (monitor_open): Make "args" const.
4194 * monitor.h (monitor_open): Update.
4195
fc4baa5e
TT
41962014-07-24 Tom Tromey <tromey@redhat.com>
4197
4198 * maint.c (match_bfd_flags): Make "string" const.
4199 (print_bfd_section_info): Remove casts.
4200 (print_objfile_section_info): Make "string" const.
4201
0d5f0dbe
TT
42022014-07-24 Tom Tromey <tromey@redhat.com>
4203
4204 * inf-child.c (inf_child_open_target): Make "arg" const.
4205 * inf-child.h (inf_child_open_target): Update.
4206
41c77899
TT
42072014-07-24 Tom Tromey <tromey@redhat.com>
4208
4209 * environ.c (unset_in_environ): Make "var" const.
4210 * environ.h (unset_in_environ): Update.
4211
93db0d79
TT
42122014-07-24 Tom Tromey <tromey@redhat.com>
4213
4214 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
4215 Make "cmd" const.
4216 (scan_filename_with_cleanup): Likewise.
4217 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
4218 Make arguments const.
4219 (restore_command): Update.
4220
36d6eb95
PA
42212014-07-24 Pedro Alves <palves@redhat.com>
4222
4223 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
4224
8009206a
TT
42252014-07-24 Tom Tromey <tromey@redhat.com>
4226 Gary Benson <gbenson@redhat.com>
4227
4228 * nat/linux-ptrace.c (additional_flags): New global.
4229 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
4230 additional_flags; don't check GDBSERVER.
4231 (linux_ptrace_set_additional_flags): New function.
4232 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
4233 Declare.
4234 * linux-nat.c (_initialize_linux_nat): Call
4235 linux_ptrace_set_additional_flags.
4236
a7068b60
TT
42372014-07-24 Tom Tromey <tromey@redhat.com>
4238
4239 * make-target-delegates (munge_type, write_debugmethod): New
4240 functions.
4241 (debug_names): New global.
4242 ($TARGET_DEBUG_PRINTER): New global.
4243 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
4244 name.
4245 Write debug methods. Generate init_debug_target.
4246 * target-debug.h: New file.
4247 * target-delegates.c: Rebuild.
4248 * target.c: Include target-debug.h.
4249 (debug_target): Hoist definition.
4250 (target_kill, target_get_section_table, target_memory_map)
4251 (target_flash_erase, target_flash_done, target_detach)
4252 (target_disconnect, target_wait, target_resume)
4253 (target_pass_signals, target_program_signals, target_follow_fork)
4254 (target_mourn_inferior, target_search_memory)
4255 (target_thread_address_space, target_close)
4256 (target_find_new_threads, target_core_of_thread)
4257 (target_verify_memory, target_insert_mask_watchpoint)
4258 (target_remove_mask_watchpoint): Remove targetdebug code.
4259 (debug_to_post_attach, debug_to_prepare_to_store)
4260 (debug_to_files_info, debug_to_insert_breakpoint)
4261 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
4262 (debug_to_region_ok_for_hw_watchpoint)
4263 (debug_to_can_accel_watchpoint_condition)
4264 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
4265 (debug_to_watchpoint_addr_within_range)
4266 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
4267 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
4268 (debug_to_terminal_init, debug_to_terminal_inferior)
4269 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
4270 (debug_to_terminal_save_ours, debug_to_terminal_info)
4271 (debug_to_load, debug_to_post_startup_inferior)
4272 (debug_to_insert_fork_catchpoint)
4273 (debug_to_remove_fork_catchpoint)
4274 (debug_to_insert_vfork_catchpoint)
4275 (debug_to_remove_vfork_catchpoint)
4276 (debug_to_insert_exec_catchpoint)
4277 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
4278 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
4279 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
4280 (setup_target_debug): Call init_debug_target.
4281 * target.h (TARGET_DEBUG_PRINTER): New macro.
4282 (struct target_ops) <to_resume, to_wait, to_pass_signals,
4283 to_program_signals>: Use TARGET_DEBUG_PRINTER.
4284
2c51604d
GB
42852014-07-24 Gary Benson <gbenson@redhat.com>
4286
4287 * exceptions.h (throw_vfatal): Renamed to...
4288 (throw_vquit): New declaration.
4289 (throw_quit): Likewise.
4290 * exceptions.c (throw_vfatal): Renamed to...
4291 (throw_vquit): New function.
4292 (throw_quit): Likewise.
4293 (throw_error): Call throw_verror rather than throw_it.
4294 * utils.h (vfatal): Removed.
4295 (fatal): Likewise.
4296 * utils.c (vfatal): Removed.
4297 (fatal): Likewise.
4298 (internal_verror): Replaced call to fatal with call to throw_quit.
4299 (quit): Replaced calls to fatal with calls to throw_quit.
4300
34211963
ME
43012014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
4302
4303 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
4304 target_read_code.
4305
a52b4d3e
ME
43062014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
4307
4308 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
4309 less than zero in conditional expression.
4310
a8bdc56b
TT
43112014-07-23 Tom Tromey <tromey@redhat.com>
4312
4313 * make-target-delegates ($ARGS_PART): Match trailing close paren.
4314 ($INTRO_PART): Don't match whitespace.
4315 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
4316 argument matching.
4317 ($METHOD): Add $METHOD_TRAILER.
4318 (trim): Rewrite.
4319 (scan_target_h): New sub.
4320 Change main loop not to collect state.
4321 * target-delegates.c: Rebuild.
4322
91b52240
GB
43232014-07-23 Gary Benson <gbenson@redhat.com>
4324
4325 * cp-support.c (gdb_demangle): Fix build on systems without
4326 sigaltstack.
4327
45326f6f
JK
43282014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4329
4330 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
4331 for reference entry value target data value.
4332
e214cf6c
JK
43332014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4334
4335 * stack.c (read_frame_arg): Verify value_optimized_out before calling
4336 value_available_contents_eq.
4337
bddbbedd
PA
43382014-07-22 Pedro Alves <palves@redhat.com>
4339
4340 * value.c (allocate_optimized_out_value): Don't mark value as
4341 non-lazy.
4342
45c71484
JW
43432014-07-22 Jiong Wang <jiong.wang@arm.com>
4344
4345 * MAINTAINERS (Write After Approval): Update my email address.
4346
9597b22a
DE
43472014-07-20 Doug Evans <dje@google.com>
4348
4349 PR server/17147
4350 * remote.c (putpkt_binary): Add text to error message.
4351
91101fe5
YQ
43522014-07-20 Yao Qi <yao@codesourcery.com>
4353
4354 * eval.c: Remove "Chill" from comments.
4355 * gdbtypes.h: Likewise.
4356 * symtab.h: Likewise.
4357
c9402c95
YQ
43582014-07-20 Yao Qi <yao@codesourcery.com>
4359
4360 * std-operator.def: Update comments to TERNOP_SLICE.
4361
ae8fddda
YQ
43622014-07-20 Yao Qi <yao@codesourcery.com>
4363
4364 * std-operator.def: Remove BINOP_RANGE.
4365 * breakpoint.c (watchpoint_exp_is_const): Update.
4366 * expprint.c (dump_subexp_body_standard): Likewise.
4367 * eval.c (init_array_element): Remove dead code.
4368 (evaluate_subexp_standard): Likewise.
4369
9c816640
YQ
43702014-07-20 Yao Qi <yao@codesourcery.com>
4371
4372 * std-operator.def: Remove BINOP_IN.
4373 * breakpoint.c (watchpoint_exp_is_const): Update.
4374 * eval.c (evaluate_subexp_standard): Likewise.
4375 * expprint.c (dump_subexp_body_standard): Likewise.
4376
164224e9
ME
43772014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
4378
4379 * microblaze-tdep.c (microblaze_register_names): Add
4380 the rshr and rslr register names.
4381 (microblaze_gdbarch_init): Use of tdesc_has_registers.
4382 Use of tdesc_find_feature. Use of tdesc_data_alloc.
4383 Use of tdesc_numbered_register. Use of
4384 microblaze_register_g_packet_guesses. Use of
4385 tdesc_use_registers. Use of set_gdbarch_register_type.
4386 (microblaze_register_g_packet_guesses): New.
4387 * microblaze-tdep.h (microblaze_reg_num): Add
4388 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
4389 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
4390 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
4391 * features/microblaze-core.xml: New file.
4392 * features/microblaze-stack-protect.xml: New file.
4393 * features/microblaze-with-stack-protect.c: New file.
4394 * features/microblaze-with-stack-protect.xml: New file.
4395 * features/microblaze.xml: New file.
4396 * features/microblaze.c: New file.
4397 * features/Makefile (microblaze-with-stack-protect): Add
4398 microblaze-with-stack-protect microblaze and microblaze-expedite.
4399 * regformats/microblaze-with-stack-protect.dat: New file.
4400 * regformats/microblaze.dat: New file.
4401 * doc/gdb.texinfo (MicroBlaze Features): Added.
4402
e8b2341c
TT
44032014-07-18 Tom Tromey <tromey@redhat.com>
4404
4405 * exec.c (exec_ops): Now static.
4406 * exec.h (exec_ops): Don't declare.
4407
44e89118
TT
44082014-07-18 Tom Tromey <tromey@redhat.com>
4409
4410 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
4411 to find_target_beneath.
4412 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
4413 find_target_beneath.
4414 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
4415
b0ed115f
TT
44162014-07-18 Tom Tromey <tromey@redhat.com>
4417
4418 PR gdb/17130:
4419 * utils.c (quit): Use target_supports_terminal_ours.
4420 * target.h (target_supports_terminal_ours): Declare.
4421 * target.c (target_supports_delete_record): Don't check
4422 to_delete_record against NULL.
4423 (target_supports_terminal_ours): New function.
4424
e75fdfca
TT
44252014-07-18 Tom Tromey <tromey@redhat.com>
4426
4427 PR gdb/17130:
4428 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
4429 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
4430 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
4431 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
4432 * windows-nat.c (windows_xfer_partial): Always delegate.
4433 * record-btrace.c (record_btrace_xfer_partial): Simplify
4434 delegation.
4435 (record_btrace_fetch_registers, record_btrace_store_registers)
4436 (record_btrace_prepare_to_store, record_btrace_resume)
4437 (record_btrace_wait, record_btrace_find_new_threads)
4438 (record_btrace_thread_alive): Likewise.
4439 * procfs.c (procfs_xfer_partial): Always delegate.
4440 * corelow.c (core_xfer_partial): Always delegate.
4441 * sol-thread.c (sol_find_new_threads): Simplify delegation.
4442
83814951
TT
44432014-07-18 Tom Tromey <tromey@redhat.com>
4444
4445 * exec.c (exec_make_note_section): Move earlier.
4446
b8b8facf
DE
44472014-07-17 Doug Evans <dje@google.com>
4448
74b49205 4449 PR gdb/17170
b8b8facf
DE
4450 * maint.c (count_symtabs_and_blocks): Handle NULL
4451 current_program_space.
4452 (report_command_stats): Check global enabled flag in addition to
4453 recorded enabled flag.
4454 (make_command_stats_cleanup): Handle msg_type == 0, startup.
4455
69ff6be5
PA
44562014-07-16 Pedro Alves <palves@redhat.com>
4457
4458 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
4459
252db1b5
TT
44602014-07-16 Tom Tromey <tromey@redhat.com>
4461
4462 * target.h (struct target_ops) <to_delete_record>: Reformat
4463 comment.
4464
a432721e
TT
44652014-07-16 Tom Tromey <tromey@redhat.com>
4466
4467 * target-delegates.c: Rebuild.
4468
487d9753
PL
44692014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
4470
4471 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
4472 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
4473 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
4474 (avr_pointer_to_address): Likewise.
4475 (avr_address_class_type_flags): New function.
4476 (avr_address_class_type_flags_to_name): Likewise.
4477 (avr_address_class_name_to_type_flags): Likewise.
4478 (avr_gdbarch_init): Set address_class_type_flags,
4479 address_class_type_flags_to_name and
4480 address_class_name_to_type_flags.
4481
57745c90
PA
44822014-07-15 Pedro Alves <palves@redhat.com>
4483
4484 * linux-nat.c (kill_callback): Save errno and work with saved
4485 copy.
4486
2d40be18
SM
44872014-07-15 Simon Marchi <simon.marchi@ericsson.com>
4488
4489 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
4490
572f6555
EBM
44912014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4492
4493 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
4494 breakpoint support correctly.
4495
cc1c52ad
PA
44962014-07-14 Pedro Alves <palves@redhat.com>
4497
4498 * utils.c (prompt_for_continue): Call target_terminal_ours.
4499
1e973570
PA
45002014-07-14 Pedro Alves <palves@redhat.com>
4501
4502 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
4503 catch_errors. Don't re-enable stdin or notify observers where,
4504 and rethrow error.
4505 (fetch_inferior_event_wrapper): Delete.
4506
93d6eb10
PA
45072014-07-14 Pedro Alves <palves@redhat.com>
4508
4509 PR gdb/17072
4510 * top.c: Include "inf-loop.h".
4511 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
4512 field.
4513 (gdb_readline_wrapper_cleanup): Make the target async again, if it
4514 was async before.
4515 (gdb_readline_wrapper): Store whether the target is async, and
4516 make it sync.
4517
0017922d
PA
45182014-07-14 Pedro Alves <palves@redhat.com>
4519
4520 PR gdb/17072
4521 * top.c (gdb_readline_wrapper_line): Tweak comment.
4522 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
4523 the input handler callback.
4524
94696ad3
PA
45252014-07-14 Pedro Alves <palves@redhat.com>
4526
4527 PR gdb/17072
4528 * main.c: Include event-top.h.
4529 (handle_command_errors): New function.
4530 (catch_command_errors, catch_command_errors_const): Use it.
4531
9d1e69a2
PA
45322014-07-14 Pedro Alves <palves@redhat.com>
4533
4534 * exceptions.c (catch_command_errors, catch_command_errors_const):
4535 Moved to main.c.
4536 * exceptions.h (catch_command_errors_ftype)
4537 (catch_command_errors_const_ftype): Moved to main.c.
4538 (catch_command_errors, catch_command_errors_const): Delete
4539 declarations.
4540 * main.c (catch_command_errors_ftype)
4541 (catch_command_errors_const_ftype): Moved here from exceptions.h.
4542 (catch_command_errors, catch_command_errors_const)): Moved here
4543 from exceptions.c and make static.
4544
feefc97b
PA
45452014-07-14 Pedro Alves <palves@redhat.com>
4546
4547 * exceptions.c (print_any_exception): Delete.
4548 (catch_exceptions_with_msg): Use exception_print instead of
4549 print_any_exception.
4550 (catch_errors): Use exception_fprintf instead of
4551 print_any_exception.
4552 (catch_command_errors, catch_command_errors_const): Use
4553 exception_print instead of print_any_exception.
4554
c933f875
PA
45552014-07-14 Pedro Alves <palves@redhat.com>
4556
4557 * infcall.c (run_inferior_call): Set 'sync_execution' while
4558 running the inferior call.
4559
feb6f816
PA
45602014-07-14 Pedro Alves <palves@redhat.com>
4561
4562 * value.c (value_contents_equal): Delete function.
4563 * value.h (value_contents_equal): Delete declaration.
4564
d98b7a16
TT
45652014-07-14 Tom Tromey <tromey@redhat.com>
4566
4567 PR exp/17106:
4568 * gdbtypes.c (is_dynamic_type_internal): New function, from
4569 is_dynamic_type.
4570 (is_dynamic_type): Rewrite.
4571 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
4572 (resolve_dynamic_struct): Likewise.
4573 (resolve_dynamic_type_internal): New function, from
4574 resolve_dynamic_type.
4575 (resolve_dynamic_type): Rewrite.
4576
548740d6
TT
45772014-07-14 Tom Tromey <tromey@redhat.com>
4578
4579 * target.c (target_require_runnable): Also check record_stratum.
4580 Update comment.
4581
808f7ab1
YQ
45822014-07-11 Yao Qi <yao@codesourcery.com>
4583
4584 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
4585 thumb_instruction_restores_sp return true.
4586
540314bd
YQ
45872014-07-11 Yao Qi <yao@codesourcery.com>
4588
4589 * arm-tdep.c (thumb_instruction_restores_sp): New function.
4590 (thumb_in_function_epilogue_p): Call
4591 thumb_instruction_restores_sp.
4592
1db01f22
YQ
45932014-07-11 Yao Qi <yao@codesourcery.com>
4594
4595 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
4596 'add sp, #imm'.
4597 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
4598
3116063b
GB
45992014-07-11 Gary Benson <gbenson@redhat.com>
4600
4601 * amd64-linux-nat.c (gdbcore.h): Remove include.
4602 (regset.h): Likewise.
4603 (nat/linux-btrace.h): Likewise.
4604 (btrace.h): Likewise.
4605 (gdb_assert.h): Likewise.
4606 (string.h): Likewise.
4607 (sys/uio.h): Likewise.
4608 (sys/debugreg.h): Likewise.
4609 (sys/syscall.h): Likewise.
4610 (sys/procfs.h): Likewise.
4611 (sys/user.h): Likewise.
4612 (asm/ptrace.h): Likewise.
4613 (i386-nat.h): Likewise.
4614 * i386-linux-nat.c (i386-nat.h): Likewise.
4615 (regset.h): Likewise.
4616 (target.h): Likewise.
4617 (linux-nat.h): Likewise.
4618 (nat/linux-btrace.h): Likewise.
4619 (btrace.h): Likewise.
4620 (gdb_assert.h): Likewise.
4621 (string.h): Likewise.
4622 (sys/uio.h): Likewise.
4623 (sys/user.h): Likewise.
4624 (sys/procfs.h): Likewise.
4625 (sys/reg.h): Likewise.
4626 (sys/debugreg.h): Likewise.
4627 (ORIG_EAX): Remove definition.
4628
040baaf6
GB
46292014-07-11 Gary Benson <gbenson@redhat.com>
4630
4631 * i386-linux-nat.h: New file.
4632 * x86-linux-nat.h: Likewise.
4633 * x86-linux-nat.c: Likewise.
4634 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
4635 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
4636 * config/i386/linux64.mh (NATDEPFILES): Likewise.
4637 * amd64-linux-nat.c (x86-linux-nat.h): New include.
4638 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4639 (PTRACE_SETREGSET): Likewise.
4640 (arch_lwp_info): Now in x86-linux-nat.c.
4641 (have_ptrace_getregset): Now in x86-linux-nat.h.
4642 (x86_linux_dr_get): Now in x86-linux-nat.c.
4643 (x86_linux_dr_set): Likewise.
4644 (x86_linux_dr_get_addr): Likewise.
4645 (x86_linux_dr_get_control): Likewise.
4646 (x86_linux_dr_get_status): Likewise.
4647 (update_debug_registers_callback): Likewise.
4648 (x86_linux_dr_set_control): Likewise.
4649 (x86_linux_dr_set_addr): Likewise.
4650 (x86_linux_prepare_to_resume): Likewise.
4651 (x86_linux_new_thread): Likewise.
4652 (x86_linux_new_fork): Likewise.
4653 (x86_linux_get_thread_area): Likewise.
4654 (super_post_startup_inferior): Likewise.
4655 (x86_linux_child_post_startup_inferior): Likewise.
4656 (AMD64_LINUX_USER64_CS): Likewise.
4657 (AMD64_LINUX_X32_DS): Likewise.
4658 (x86_linux_read_description): Likewise.
4659 (x86_linux_enable_btrace): Likewise.
4660 (x86_linux_disable_btrace): Likewise.
4661 (x86_linux_teardown_btrace): Likewise.
4662 (x86_linux_read_btrace): Likewise.
4663 (x86_linux_create_target): Likewise.
4664 (x86_linux_add_target): Likewise.
4665 * i386-linux-nat.c (x86-linux-nat.h): New include.
4666 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
4667 (PTRACE_SETREGSET): Likewise.
4668 (arch_lwp_info): Now in x86-linux-nat.c.
4669 (have_ptrace_getregset): Now in x86-linux-nat.h.
4670 (x86_linux_dr_get): Now in x86-linux-nat.c.
4671 (x86_linux_dr_set): Likewise.
4672 (x86_linux_dr_get_addr): Likewise.
4673 (x86_linux_dr_get_control): Likewise.
4674 (x86_linux_dr_get_status): Likewise.
4675 (update_debug_registers_callback): Likewise.
4676 (x86_linux_dr_set_control): Likewise.
4677 (x86_linux_dr_set_addr): Likewise.
4678 (x86_linux_prepare_to_resume): Likewise.
4679 (x86_linux_new_thread): Likewise.
4680 (x86_linux_new_fork): Likewise.
4681 (x86_linux_get_thread_area): Likewise.
4682 (super_post_startup_inferior): Likewise.
4683 (x86_linux_child_post_startup_inferior): Likewise.
4684 (AMD64_LINUX_USER64_CS): Likewise.
4685 (AMD64_LINUX_X32_DS): Likewise.
4686 (x86_linux_read_description): Likewise.
4687 (x86_linux_enable_btrace): Likewise.
4688 (x86_linux_disable_btrace): Likewise.
4689 (x86_linux_teardown_btrace): Likewise.
4690 (x86_linux_read_btrace): Likewise.
4691 (x86_linux_create_target): Likewise.
4692 (x86_linux_add_target): Likewise.
4693
1aa7e42c
GB
46942014-07-11 Gary Benson <gbenson@redhat.com>
4695
4696 * amd64-linux-nat.c: Comment and whitespace changes.
4697 * i386-linux-nat.c: Comment and whitespace changes.
4698
c1e246a0
GB
46992014-07-11 Gary Benson <gbenson@redhat.com>
4700
4701 * amd64-linux-nat.c (x86_linux_create_target): New function.
4702 (x86_linux_add_target): Likewise.
4703 (_initialize_amd64_linux_nat): Delegate to the above new functions.
4704 * i386-linux-nat.c (x86_linux_create_target): New function.
4705 (x86_linux_add_target): Likewise.
4706 (_initialize_i386_linux_nat): Delegate to the above new functions.
4707
8c420b8d
GB
47082014-07-11 Gary Benson <gbenson@redhat.com>
4709
4710 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
4711 (ps_get_thread_area): Delegate to the above in 32-bit mode.
4712 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
4713 (ps_get_thread_area): Delegate to the above.
4714
cb1da100
GB
47152014-07-11 Gary Benson <gbenson@redhat.com>
4716
4717 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
4718 x86_linux_read_description. All uses updated. amd64-specific
4719 code conditionalized. Conditionalized i386-specific code added.
4720 Redundant cast removed.
4721 * i386-linux-nat.c (i386_linux_read_description): Renamed to
4722 x86_linux_read_description. All uses updated. i386-specific
4723 code conditionalized. Conditionalized amd64-specific code added.
4724 One sizeof replaced with the actual type it is describing.
4725
2acf3cd0
GB
47262014-07-11 Gary Benson <gbenson@redhat.com>
4727
4728 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
4729 x86_linux_dr_get. All uses updated.
4730 (amd64_linux_dr_set): Renamed to
4731 x86_linux_dr_set. All uses updated.
4732 (amd64_linux_dr_get_addr): Renamed to
4733 x86_linux_dr_get_addr. All uses updated.
4734 (amd64_linux_dr_get_control): Renamed to
4735 x86_linux_dr_get_control. All uses updated.
4736 (amd64_linux_dr_get_status): Renamed to
4737 x86_linux_dr_get_status. All uses updated.
4738 (amd64_linux_dr_set_control): Renamed to
4739 x86_linux_dr_set_control. All uses updated.
4740 (amd64_linux_dr_set_addr): Renamed to
4741 x86_linux_dr_set_addr. All uses updated.
4742 (amd64_linux_prepare_to_resume): Renamed to
4743 x86_linux_prepare_to_resume. All uses updated.
4744 (amd64_linux_new_thread): Renamed to
4745 x86_linux_new_thread. All uses updated.
4746 (amd64_linux_new_fork): Renamed to
4747 x86_linux_new_fork. All uses updated.
4748 (amd64_linux_child_post_startup_inferior): Renamed to
4749 x86_linux_child_post_startup_inferior. All uses updated.
4750 (amd64_linux_enable_btrace): Renamed to
4751 x86_linux_enable_btrace. All uses updated.
4752 (amd64_linux_disable_btrace): Renamed to
4753 x86_linux_disable_btrace. All uses updated.
4754 (amd64_linux_teardown_btrace): Renamed to
4755 x86_linux_teardown_btrace. All uses updated.
4756 (amd64_linux_read_btrace): Renamed to
4757 x86_linux_read_btrace. All uses updated.
4758 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
4759 x86_linux_dr_get. All uses updated.
4760 (i386_linux_dr_set): Renamed to
4761 x86_linux_dr_set. All uses updated.
4762 (i386_linux_dr_get_addr): Renamed to
4763 x86_linux_dr_get_addr. All uses updated.
4764 (i386_linux_dr_get_control): Renamed to
4765 x86_linux_dr_get_control. All uses updated.
4766 (i386_linux_dr_get_status): Renamed to
4767 x86_linux_dr_get_status. All uses updated.
4768 (i386_linux_dr_set_control): Renamed to
4769 x86_linux_dr_set_control. All uses updated.
4770 (i386_linux_dr_set_addr): Renamed to
4771 x86_linux_dr_set_addr. All uses updated.
4772 (i386_linux_prepare_to_resume): Renamed to
4773 x86_linux_prepare_to_resume. All uses updated.
4774 (i386_linux_new_thread): Renamed to
4775 x86_linux_new_thread. All uses updated.
4776 (i386_linux_new_fork): Renamed to
4777 x86_linux_new_fork. All uses updated.
4778 (i386_linux_child_post_startup_inferior): Renamed to
4779 x86_linux_child_post_startup_inferior. All uses updated.
4780 (i386_linux_enable_btrace): Renamed to
4781 x86_linux_enable_btrace. All uses updated.
4782 (i386_linux_disable_btrace): Renamed to
4783 x86_linux_disable_btrace. All uses updated.
4784 (i386_linux_teardown_btrace): Renamed to
4785 x86_linux_teardown_btrace. All uses updated.
4786 (i386_linux_read_btrace): Renamed to
4787 x86_linux_read_btrace. All uses updated.
4788
b9c1d481
AS
47892014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
4790
4791 * remote.c (extended_remote_post_attach): New function.
4792 (init_extended_remote_ops): Install it as to_post_attach method.
4793
7180e04a
PA
47942014-07-09 Pedro Alves <palves@redhat.com>
4795
4796 * infcmd.c (attach_command_post_wait): Don't call
4797 target_terminal_inferior here.
4798 (attach_command): Call it here instead.
4799
9a9a7608
AB
48002014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
4801
4802 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
4803 field.
4804 * c-varobj.c (c_is_path_expr_parent): New function, moved core
4805 from varobj.c, with additional checks.
4806 (c_varobj_ops): Fill in is_path_expr_parent field.
4807 (cplus_varobj_ops): Fill in is_path_expr_parent field.
4808 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
4809 field.
4810 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
4811 ops method.
4812 (varobj_default_is_path_expr_parent): New function.
4813 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
4814 (varobj_default_is_path_expr_parent): Declare new function.
4815
1f267ae3
MM
48162014-07-08 Markus Metzger <markus.t.metzger@intel.com>
4817
4818 * infcmd.c (finish_backward): Turn internal error into normal error.
4819
b2ee242b
PA
48202014-07-07 Pedro Alves <palves@redhat.com>
4821
8a869bca 4822 PR gdb/17096
b2ee242b
PA
4823 * remote.c (async_handle_remote_sigint)
4824 (async_handle_remote_sigint_twice): Call
4825 gdb_call_async_signal_handler instead of
4826 mark_async_signal_handler.
4827
38e229b2
TT
48282014-07-07 Tom Tromey <tromey@redhat.com>
4829
4830 * target-delegates.c: Rebuild.
4831 * target.c (target_info_record): Remove.
4832 * record.c (info_record_command): Unconditionally call
4833 to_info_record.
4834 * target.h (struct target_ops) <to_info_record>: Use
4835 TARGET_DEFAULT_IGNORE.
4836 (target_info_record): Remove.
4837
f0f9ff95
TT
48382014-07-07 Tom Tromey <tromey@redhat.com>
4839
4840 * target.h (struct target_ops) <to_get_thread_local_address>: Use
4841 TARGET_DEFAULT_NORETURN.
4842 * target.c (generic_tls_error): New function.
4843 (target_translate_tls_address): Don't search target stack.
4844 * target-delegates.c: Rebuild.
4845 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
4846 stack.
4847 * linux-thread-db.c (thread_db_get_thread_local_address):
4848 Unconditionally call beneath target.
4849
4a5be5ee
MK
48502014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
4851
4852 * cli/cli-logging.c (pop_output_files): Assign targerr to
4853 gdb_stdtargerr.
4854
92c3b204
AB
48552014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
4856
4857 * MAINTAINERS (Write After Approval): Update my email address.
4858
9b11e3a7
GB
48592014-07-02 Gary Benson <gbenson@redhat.com>
4860
4861 * proc-service.c (ps_xfer_memory): Update comment.
4862 (ps_pstop): Remove unused function.
4863 (ps_pcontinue): Likewise.
4864 (ps_lstop): Likewise.
4865 (ps_lcontinue): Likewise.
4866 (ps_lgetxregsize): Likewise.
4867 (ps_lgetxregs): Likewise.
4868 (ps_lsetxregs): Likewise.
4869 (ps_plog): Likewise.
4870 (ps_ptread): Likewise.
4871 (ps_ptwrite): Likewise.
4872
cf363f18
MW
48732014-07-01 Mark Wielaard <mjw@redhat.com>
4874
4875 * dwarf2read.c (add_array_cv_type): New function.
4876 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
4877 (read_tag_volatile_type): Likewise.
4878
82ae6c8d
TT
48792014-07-01 Tom Tromey <tromey@redhat.com>
4880
4881 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
4882 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
4883 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
4884 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
4885 * command.h (cmd_cfunc_ftype): Move earlier.
4886 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
4887 (add_com, add_info): Use cmd_cfunc_ftype.
4888
96142726
TT
48892014-06-30 Tom Tromey <tromey@redhat.com>
4890
4891 * symtab.c (operator_chars): Make parameters and return type
4892 const.
4893 (file_matches): Make "files" const.
4894 (struct search_symbols_data) <files>: Now const.
4895 (search_symbols): Make "regexp" and "files" parameters const.
4896 Update.
4897 (symtab_symbol_info): Remove cast.
4898 (rbreak_command): Update.
4899 * symtab.h (search_symbols): Update.
4900
b67a2c6f
YQ
49012014-06-27 Yao Qi <yao@codesourcery.com>
4902
4903 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
4904 Change parameter type to 'struct thread_info *'. Caller
4905 updated.
4906 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
4907 Update declaration.
4908 * dummy-frame.c (struct dummy_frame_id): New.
4909 (dummy_frame_id_eq): New function.
4910 (struct dummy_frame) <id>: Change its type to 'struct
4911 dummy_frame_id'.
4912 (dummy_frame_push): Add parameter ptid and save it in
4913 dummy_frame_id.
4914 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
4915 inferior_ptid.
4916 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
4917 to inferior_ptid.
4918 (lookup_dummy_frame): Change parameter type to 'struct
4919 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
4920 instead of frame_id_eq.
4921 (dummy_frame_pop): Add parameter ptid. Callers updated.
4922 Update comments. Compose dummy_frame_id and pass it to
4923 lookup_dummy_frame.
4924 (dummy_frame_discard): Add parameter ptid.
4925 (dummy_frame_sniffer): Compose dummy_frame_id and call
4926 dummy_frame_id_eq instead of frame_id_eq.
4927 (fprint_dummy_frames): Print ptid.
4928 * dummy-frame.h: Remove comments.
4929 (dummy_frame_push): Add ptid in declaration.
4930 (dummy_frame_pop, dummy_frame_discard): Likewise.
4931
5b10184c
TT
49322014-06-26 Tom Tromey <tromey@redhat.com>
4933
4934 * cli/cli-cmds.c (error_no_arg): Make "why" const.
4935 * command.h (error_no_arg): Update.
4936
06900326
TT
49372014-06-26 Tom Tromey <tromey@redhat.com>
4938
4939 * cli/cli-setshow.c (do_set_command): Make "arg" const.
4940 (do_show_command): Make "arg" const.
4941 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
4942
c2bcbb1d
TT
49432014-06-26 Tom Tromey <tromey@redhat.com>
4944
4945 * record-full.c (record_full_get_bookmark): Make "args" const.
4946 (record_full_goto_bookmark): Make "raw_bookmark" const.
4947 * record.c (record_goto): New function.
4948 (cmd_record_goto): Use it. Now static.
4949 * record.h (record_goto): Declare.
4950 (cmd_record_goto): Remove declaration.
4951 * target-delegates.c: Rebuild.
4952 * target.h (struct target_ops) <to_get_bookmark,
4953 to_goto_bookmark>: Make parameter const.
4954
9cbe5fff
TT
49552014-06-26 Tom Tromey <tromey@redhat.com>
4956
4957 * defs.h (generic_load): Update.
4958 * m32r-rom.c (m32r_load_gen): Make "filename" const.
4959 * monitor.c (monitor_load): Make "args" const.
4960 * remote-m32r-sdi.c (m32r_load): Make "args" const.
4961 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
4962 const.
4963 (mips_load): Make "file" const.
4964 * remote-sim.c (gdbsim_load): Make "args" const.
4965 * remote.c (remote_load): Make "name" const.
4966 * symfile.c (generic_load): Make "args" const.
4967 * target-delegates.c: Rebuild.
4968 * target.c (target_load): Make "arg" const.
4969 (debug_to_load): Make "args" const.
4970 * target.h (struct target_ops) <to_load>: Make parameter const.
4971 (target_load): Update.
4972
34a68019
TT
49732014-06-26 Tom Tromey <tromey@redhat.com>
4974
4975 PR symtab/16902:
4976 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
4977 (dwarf2_physname, read_partial_die)
4978 (guess_partial_die_structure_name, fixup_partial_die)
4979 (guess_full_die_structure_name, anonymous_struct_prefix)
4980 (dwarf2_name): Use per-BFD obstack.
4981
efc889c1
YQ
49822014-06-26 Yao Qi <yao@codesourcery.com>
4983
4984 * dummy-frame.c (dummy_frame_sniffer): Move local variables
4985 dummyframe and this_id into inner block below.
4986
4395285e
YQ
49872014-06-26 Yao Qi <yao@codesourcery.com>
4988
4989 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
4990 with "signal_pass[0]" in the initialization of signal_pass.
4991
aef92902
MM
49922014-06-25 Markus Metzger <markus.t.metzger@intel.com>
4993
4994 * record-btrace.c (record_btrace_generating_corefile)
4995 (record_btrace_prepare_to_generate_core)
4996 (record_btrace_done_generating_core): New.
4997 (record_btrace_xfer_partial, record_btrace_fetch_registers)
4998 (record_btrace_store_registers, record_btrace_prepare_to_store):
4999 Forward request when generating a core file.
5000 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5001 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5002 to_done_generating_core.
5003
5fff78c4
MM
50042014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5005
5006 * target.h (target_ops) <to_prepare_to_generate_core>
5007 <to_done_generating_core>: New.
5008 (target_prepare_to_generate_core, target_done_generating_core): New.
5009 * target.c (target_prepare_to_generate_core)
5010 (target_done_generating_core): New.
5011 * target-delegates.c: Regenerate.
5012 * gcore.c: (write_gcore_file): Rename to ...
5013 (write_gcore_file_1): ...this.
5014 (write_gcore_file): Call target_prepare_to_generate_core
5015 and target_done_generating_core.
5016
1d1f1ccb
MM
50172014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5018
5019 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5020 * gcore.c (write_gcore_file): Free memory returned from
5021 make_corefile_notes.
5022 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5023 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5024
3343ef86
YQ
50252014-06-24 Yao Qi <yao@codesourcery.com>
5026
5027 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5028 (arm_linux_init_abi): Set skip_trampoline_code with
5029 gdbarch_skip_trampoline_code instead of
5030 find_solib_trampoline_target.
5031
18d18ac8
YQ
50322014-06-24 Yao Qi <yao@codesourcery.com>
5033
5034 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5035 arm_skip_bx_reg returns non-zero.
5036
80d8d390
YQ
50372014-06-24 Yao Qi <yao@codesourcery.com>
5038
5039 * arm-tdep.c (arm_skip_bx_reg): New function.
5040 (arm_skip_stub): Call arm_skip_bx_reg.
5041
6a18a01c
DB
50422014-06-23 Don Breazeal <donb@codesourcery.com>
5043
5044 * MAINTAINERS: Add myself as write-after-approval maintainer.
5045
8e9db26e
PA
50462014-06-23 Pedro Alves <palves@redhat.com>
5047
5048 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5049 DR_CONTROL before setting DR0..DR3.
5050 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5051 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5052 bits of DR_CONTROL related to the debug register slot being
5053 disabled. If all slots are vacant, clear local slowdown as well,
5054 and assert DR_CONTROL is 0.
5055
70afc5b7
SC
50562014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5057
5058 * python/lib/gdb/command/xmethods.py
5059 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5060 current progspace only if the string "progspace" matches LOCUS_RE.
5061
840ed64d
JK
50622014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5063
5064 Fix --with-system-readline with readline-6.3 patch 5.
5065 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5066 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5067 types.
5068
26f2dc30
TT
50692014-06-20 Tom Tromey <tromey@redhat.com>
5070
5071 * dwarf2read.c (dw2_get_real_path): Use correct type in
5072 OBSTACK_CALLOC.
5073 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5074
125f8a3d
GB
50752014-06-20 Gary Benson <gbenson@redhat.com>
5076
5077 * common/gdb_thread_db.h: Moved to nat. All includes updated.
5078 * common/glibc_thread_db.h: Likewise.
5079 * common/i386-cpuid.h: Likewise.
5080 * common/i386-gcc-cpuid.h: Likewise.
5081 * common/linux-btrace.h: Likewise.
5082 * common/linux-osdata.h: Likewise.
5083 * common/linux-procfs.h: Likewise.
5084 * common/linux-ptrace.h: Likewise.
5085 * common/mips-linux-watch.h: Likewise.
5086 * common/linux-btrace.c: Moved to nat.
5087 * common/linux-osdata.c: Likewise.
5088 * common/linux-procfs.c: Likewise.
5089 * common/linux-ptrace.c: Likewise.
5090 * common/mips-linux-watch.c: Likewise.
5091 * nat/gdb_thread_db.h: Moved from common.
5092 * nat/glibc_thread_db.h: Likewise.
5093 * nat/i386-cpuid.h: Likewise.
5094 * nat/i386-gcc-cpuid.h: Likewise.
5095 * nat/linux-btrace.c: Likewise.
5096 * nat/linux-btrace.h: Likewise.
5097 * nat/linux-osdata.c: Likewise.
5098 * nat/linux-osdata.h: Likewise.
5099 * nat/linux-procfs.c: Likewise.
5100 * nat/linux-procfs.h: Likewise.
5101 * nat/linux-ptrace.c: Likewise.
5102 * nat/linux-ptrace.h: Likewise.
5103 * nat/mips-linux-watch.c: Likewise.
5104 * nat/mips-linux-watch.h: Likewise.
5105 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
5106 (object file files): Reordered.
5107 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
5108 of glibc_thread_db.h.
5109
42995dbd
GB
51102014-06-20 Gary Benson <gbenson@redhat.com>
5111
5112 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
5113 (i386_dr_low_type): Moved to nat/i386-dregs.h.
5114 (i386_dr_low): Likewise.
5115 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
5116 (i386_dr_low_set_addr): Likewise.
5117 (i386_dr_low_get_addr): Likewise.
5118 (i386_dr_low_can_set_control): Likewise.
5119 (i386_dr_low_set_control): Likewise.
5120 (i386_dr_low_get_control): Likewise.
5121 (i386_dr_low_get_status): Likewise.
5122 (i386_get_debug_register_length): Likewise.
5123 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
5124 (i386_dr_low): Likewise.
5125 * nat/i386-dregs.c (i386-low.h): Remove include.
5126 (i386-nat.h): Likewise.
5127 (nat/i386-dregs.h): New include.
5128 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
5129 (i386_dr_low_set_addr): Likewise.
5130 (i386_dr_low_get_addr): Likewise.
5131 (i386_dr_low_can_set_control): Likewise.
5132 (i386_dr_low_set_control): Likewise.
5133 (i386_dr_low_get_control): Likewise.
5134 (i386_dr_low_get_status): Likewise.
5135 (i386_get_debug_register_length): Likewise.
5136 (debug_hw_points): Likewise.
5137
3ed9baed
IB
51382014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
5139
5140 * Makefile.in (SFILES): Add d-exp.y.
5141 (YYFILES): Add d-exp.c.
5142 (YYOBJ): Add d-exp.o.
5143 (local-maintainer-clean): Delete d-exp.c.
5144 * d-exp.y: New file.
5145 * d-lang.h (d_parse): New declaration.
5146 (d_error): New declaration.
5147 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
5148 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
5149 PREC_ORDER operators.
5150 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
5151
78c164b0
YQ
51522014-06-19 Yao Qi <yao@codesourcery.com>
5153
5154 * gdbthread.h (any_running): Remove the declaration.
5155 * thread.c (any_running): Remove.
5156
f6e29b6e
YQ
51572014-06-19 Yao Qi <yao@codesourcery.com>
5158
5159 * gdbthread.h (struct thread_info) <state>: Change its type to
5160 'enum thread_state'. Update comments.
5161
034f788c
PA
51622014-06-19 Pedro Alves <palves@redhat.com>
5163
5164 * gdbthread.h (ALL_THREADS): Delete.
5165 (ALL_NON_EXITED_THREADS): New macro.
5166 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
5167 instead of ALL_THREADS.
5168 * infrun.c (find_thread_needs_step_over)
5169 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
5170 instead of ALL_THREADS.
5171 * record-btrace.c (record_btrace_open)
5172 (record_btrace_stop_recording, record_btrace_close)
5173 (record_btrace_is_replaying, record_btrace_resume)
5174 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
5175 * remote.c (append_pending_thread_resumptions): Likewise.
5176 * thread.c (thread_apply_all_command): Likewise.
5177
46e33252
GB
51782014-06-19 Gary Benson <gbenson@redhat.com>
5179
5180 * i386-nat.c (i386_stopped_by_watchpoint):
5181 Use i386_dr_stopped_by_watchpoint.
5182 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
5183 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
5184
3a8ee006
GB
51852014-06-19 Gary Benson <gbenson@redhat.com>
5186
5187 * nat/i386-dregs.c: New file.
5188 * Makefile.in (i386-dregs.o): New rule.
5189 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
5190 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
5191 * config/i386/darwin.mh (NATDEPFILES): Likewise.
5192 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5193 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
5194 * config/i386/go32.mh (NATDEPFILES): Likewise.
5195 * config/i386/linux.mh (NATDEPFILES): Likewise.
5196 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5197 * config/i386/mingw.mh (NATDEPFILES): Likewise.
5198 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
5199 * i386-nat.h (debug_hw_points): New declaration.
5200 * i386-nat.c (breakpoint.h): Remove include.
5201 (command.h): Likewise.
5202 (target.h): Likewise.
5203 (gdb_assert.h): Likewise.
5204 (debug_hw_points): Made nonstatic.
5205 (debug_printf): Now in i386-dregs.c.
5206 (TARGET_HAS_DR_LEN_8): Likewise.
5207 (DR_CONTROL_SHIFT): Likewise.
5208 (DR_CONTROL_SIZE): Likewise.
5209 (DR_RW_EXECUTE): Likewise.
5210 (DR_RW_WRITE): Likewise.
5211 (DR_RW_READ): Likewise.
5212 (DR_RW_IORW): Likewise.
5213 (DR_LEN_1): Likewise.
5214 (DR_LEN_2): Likewise.
5215 (DR_LEN_4): Likewise.
5216 (DR_LEN_8): Likewise.
5217 (DR_LOCAL_ENABLE_SHIFT): Likewise.
5218 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
5219 (DR_ENABLE_SIZE): Likewise.
5220 (DR_LOCAL_SLOWDOWN): Likewise.
5221 (DR_GLOBAL_SLOWDOWN): Likewise.
5222 (DR_CONTROL_RESERVED): Likewise.
5223 (I386_DR_CONTROL_MASK): Likewise.
5224 (I386_DR_VACANT): Likewise.
5225 (I386_DR_LOCAL_ENABLE): Likewise.
5226 (I386_DR_GLOBAL_ENABLE): Likewise.
5227 (I386_DR_DISABLE): Likewise.
5228 (I386_DR_SET_RW_LEN): Likewise.
5229 (I386_DR_GET_RW_LEN): Likewise.
5230 (I386_DR_WATCH_HIT): Likewise.
5231 (i386_wp_op_t): Likewise.
5232 (i386_show_dr): Likewise.
5233 (i386_length_and_rw_bits): Likewise.
5234 (i386_insert_aligned_watchpoint): Likewise.
5235 (i386_remove_aligned_watchpoint): Likewise.
5236 (i386_handle_nonaligned_watchpoint): Likewise.
5237 (i386_update_inferior_debug_regs): Likewise.
5238 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
5239 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
5240 (i386_region_ok_for_watchpoint):
5241 Use i386_dr_region_ok_for_watchpoint.
5242 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
5243
322a8e06
GB
52442014-06-19 Gary Benson <gbenson@redhat.com>
5245
5246 * i386-nat.c (i386_insert_hw_breakpoint): Use
5247 i386_insert_watchpoint.
5248 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
5249
8f26655c
GB
52502014-06-19 Gary Benson <gbenson@redhat.com>
5251
5252 * i386-nat.c (i386_dr_show): Renamed to
5253 i386_show_dr and made static. All uses updated.
5254 (i386_dr_length_and_rw_bits): Renamed to
5255 i386_length_and_rw_bits and made static.
5256 All uses updated.
5257 (i386_dr_insert_aligned_watchpoint): Renamed to
5258 i386_insert_aligned_watchpoint and made static.
5259 All uses updated.
5260 (i386_dr_remove_aligned_watchpoint): Renamed to
5261 i386_remove_aligned_watchpoint and made static.
5262 All uses updated.
5263 (i386_dr_update_inferior_debug_regs): Renamed to
5264 i386_update_inferior_debug_regs and made static.
5265 All uses updated.
5266 * nat/i386-dregs.h (i386_dr_show): Removed.
5267 (i386_dr_length_and_rw_bits): Likewise.
5268 (i386_dr_insert_aligned_watchpoint): Likewise.
5269 (i386_dr_remove_aligned_watchpoint): Likewise.
5270 (i386_dr_update_inferior_debug_regs): Likewise.
5271
992c7d70
GB
52722014-06-19 Gary Benson <gbenson@redhat.com>
5273
5274 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
5275 * configure: Regenerate.
5276 * config.in: Likewise.
5277 * main.c (signal.h): New include.
5278 (setup_alternate_signal_stack): New function.
5279 (captured_main): Call the above.
5280 * cp-support.c (signal.h): New include.
5281 (catch_demangler_crashes): New flag.
5282 (SIGJMP_BUF): New define.
5283 (SIGSETJMP): Likewise.
5284 (SIGLONGJMP): Likewise.
5285 (gdb_demangle_jmp_buf): New static global.
5286 (gdb_demangle_attempt_core_dump): Likewise.
5287 (gdb_demangle_signal_handler): New function.
5288 (gdb_demangle): If catch_demangler_crashes is set, install the
5289 above signal handler before calling bfd_demangle, and restore
5290 the original signal handler afterwards. Display the offending
5291 symbol and call demangler_warning the first time a segmentation
5292 fault is caught.
5293 (_initialize_cp_support): New maint set/show command.
5294
eae7090b
GB
52952014-06-19 Gary Benson <gbenson@redhat.com>
5296
5297 * utils.h (resource_limit_kind): New enum.
5298 (can_dump_core): New declaration.
5299 (warn_cant_dump_core): Likewise.
5300 (dump_core): Likewise.
5301 * utils.c (dump_core): Made nonstatic. Added new
5302 parameter "limit_kind".
5303 (can_dump_core): Made nonstatic. Moved printing code to...
5304 (warn_cant_dump_core): New function.
5305 (can_dump_core_warn): Likewise.
5306 (internal_vproblem): Replace calls to can_dump_core with
5307 calls to can_dump_core_warn. Supply new argument to each.
5308
57fcfb1b
GB
53092014-06-19 Gary Benson <gbenson@redhat.com>
5310
5311 * utils.h (demangler_vwarning): New declaration.
5312 (demangler_warning): Likewise.
5313 * utils.c (struct internal_problem)
5314 <user_settable_should_quit>: New field.
5315 <user_settable_should_dump_core>: Likewise
5316 (internal_error_problem): Add values for above new fields.
5317 (internal_warning_problem): Likewise.
5318 (demangler_warning_problem): New static global.
5319 (demangler_vwarning): New function.
5320 (demangler_warning): Likewise.
5321 (add_internal_problem_command): Selectively add commands.
5322 (_initialize_utils): New internal problem command.
5323 * maint.c (maintenance_demangler_warning): New function.
5324 (_initialize_maint_cmds): New command.
5325
17a40b44
TT
53262014-06-18 Tom Tromey <tromey@redhat.com>
5327
5328 * f-valprint.c (info_common_command_for_block): Update.
5329 * symtab.h (struct general_symbol_info) <common_block>: Now
5330 const.
5331
346d1dfe
TT
53322014-06-18 Tom Tromey <tromey@redhat.com>
5333
5334 * symtab.h (struct symtab) <blockvector>: Now const.
5335 * ada-lang.c (ada_add_global_exceptions): Update.
5336 * buildsym.c (augment_type_symtab): Update.
5337 * dwarf2read.c (dw2_lookup_symbol): Update.
5338 * jit.c (finalize_symtab): Update.
5339 * jv-lang.c (add_class_symtab_symbol): Update.
5340 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
5341 Update.
5342 * objfiles.c (objfile_relocate1): Update.
5343 * psymtab.c (lookup_symbol_aux_psymtabs)
5344 (maintenance_check_psymtabs): Update.
5345 * python/py-symtab.c (stpy_global_block, stpy_static_block):
5346 Update.
5347 * spu-tdep.c (spu_catch_start): Update.
5348 * symmisc.c (dump_symtab_1): Update.
5349 * symtab.c (lookup_global_symbol_from_objfile)
5350 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
5351 (basic_lookup_transparent_type_quick)
5352 (basic_lookup_transparent_type, find_pc_sect_symtab)
5353 (find_pc_sect_line, search_symbols): Update.
5354 * block.c (find_block_in_blockvector): Make "bl" const.
5355 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
5356 const.
5357 (blockvector_contains_pc): Make "bv" const.
5358 (block_for_pc_sect): Update.
5359 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5360 (blockvector_contains_pc): Update.
5361 * breakpoint.c (resolve_sal_pc): Update.
5362 * inline-frame.c (block_starting_point_at): Update.
5363
1834676b
TT
53642014-06-18 Tom Tromey <tromey@redhat.com>
5365
5366 * completer.c (complete_line): Make "line_buffer" const.
5367 * completer.h (complete_line): Update.
5368
ac1a991b
TT
53692014-06-18 Tom Tromey <tromey@redhat.com>
5370
5371 * symtab.c (add_macro_name): Remove unneeded cast.
5372
5bc98e52
TT
53732014-06-18 Tom Tromey <tromey@redhat.com>
5374
5375 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
5376 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
5377
8236def8
TT
53782014-06-18 Tom Tromey <tromey@redhat.com>
5379
5380 * probe.c (info_probes_for_ops): Make "arg" const.
5381 * probe.h (info_probes_for_ops): Update.
5382
3977b71f
TT
53832014-06-18 Tom Tromey <tromey@redhat.com>
5384
5385 * varobj.c (varobj_create): Update.
5386 * valops.c (value_of_this): Update.
5387 * tracepoint.c (add_local_symbols, scope_info): Update.
5388 * symtab.h (struct general_symbol_info) <block>: Now const.
5389 * symtab.c (skip_prologue_sal)
5390 (default_make_symbol_completion_list_break_on)
5391 (skip_prologue_using_sal): Update.
5392 * stack.h (iterate_over_block_locals)
5393 (iterate_over_block_local_vars): Update.
5394 * stack.c (print_frame_args): Update.
5395 (iterate_over_block_locals, iterate_over_block_local_vars): Make
5396 parameter const.
5397 (get_selected_block): Make return type const.
5398 * python/py-frame.c (frapy_block): Update.
5399 * python/py-block.c (gdbpy_block_for_pc): Update.
5400 * p-exp.y (%union) <bval>: Now const.
5401 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
5402 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
5403 * m2-exp.y (%union) <bval>: Now const.
5404 * linespec.c (get_current_search_block): Make return type const.
5405 (create_sals_line_offset, find_label_symbols): Update.
5406 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
5407 Update.
5408 (block_starting_point_at): Make "block" const.
5409 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
5410 (check_exception_resume): Update.
5411 * guile/scm-frame.c (gdbscm_frame_block): Update.
5412 * guile/scm-block.c (gdbscm_lookup_block): Update.
5413 * frame.h (get_frame_block): Update.
5414 (get_selected_block): Make return type const.
5415 * frame.c (frame_id_inner): Update.
5416 * f-valprint.c (info_common_command_for_block)
5417 (info_common_command): Update.
5418 * dwarf2loc.c (dwarf2_find_location_expression)
5419 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
5420 (locexpr_describe_location_piece): Update.
5421 * c-exp.y (%union) <bval>: Now const.
5422 * breakpoint.c (resolve_sal_pc): Update.
5423 * blockframe.c (get_frame_block):Make return type const.
5424 (get_pc_function_start, get_frame_function, find_pc_sect_function)
5425 (block_innermost_frame): Update.
5426 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
5427 (block_for_pc, block_for_pc_sect): Update.
5428 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
5429 'pblock' const.
5430 (block_for_pc_sect, block_for_pc): Make return type const.
5431 * ax-gdb.c (gen_expr): Update.
5432 * alpha-mdebug-tdep.c (find_proc_desc): Update.
5433 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
5434 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
5435 (ada_read_var_value): Update.
5436 * ada-exp.y (struct name_info) <block>: Now const.
5437 (%union): Likewise.
5438 (block_lookup): Constify.
5439
b9228891
GB
54402014-06-18 Gary Benson <gbenson@redhat.com>
5441
5442 * nat/i386-dregs.h: New file.
5443 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
5444 * i386-nat.h (i386-dregs.h): New include.
5445 (DR_FIRSTADDR): Now in i386-dregs.h.
5446 (DR_LASTADDR): Likewise.
5447 (DR_NADDR): Likewise.
5448 (DR_STATUS): Likewise.
5449 (DR_CONTROL): Likewise.
5450 (i386_debug_reg_state): Likewise.
5451 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
5452
a1aa2221
LM
54532014-06-18 Don Breazeal <donb@codesourcery.com>
5454
5455 * breakpoint.c (set_longjmp_breakpoint): Call
5456 momentary_breakpoint_from_master with additional argument.
5457 (set_longjmp_breakpoint_for_call_dummy): Call
5458 momentary_breakpoint_from_master with additional argument.
5459 (set_std_terminate_breakpoint): Call
5460 momentary_breakpoint_from_master with additional argument.
5461 (momentary_breakpoint_from_master): Add argument to function
5462 definition and use it to initialize structure member flag.
74228e77 5463 (clone_momentary_breakpoint): Call
a1aa2221
LM
5464 momentary_breakpoint_from_master with additional argument.
5465 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
5466 member flags set in momentary_breakpoint_from_master.
5467
4be83cc2
GB
54682014-06-18 Gary Benson <gbenson@redhat.com>
5469
5470 * i386-nat.c (i386_show_dr): Renamed to
5471 i386_dr_show and made nonstatic. All uses updated.
5472 (i386_length_and_rw_bits): Renamed to
5473 i386_dr_length_and_rw_bits and made nonstatic.
5474 All uses updated.
5475 (i386_insert_aligned_watchpoint): Renamed to
5476 i386_dr_insert_aligned_watchpoint and made nonstatic.
5477 All uses updated.
5478 (i386_remove_aligned_watchpoint): Renamed to
5479 i386_dr_remove_aligned_watchpoint and made nonstatic.
5480 All uses updated.
5481 (i386_update_inferior_debug_regs): Renamed to
5482 i386_dr_update_inferior_debug_regs and made nonstatic.
5483 All uses updated.
5484
131aa0d4
GB
54852014-06-18 Gary Benson <gbenson@redhat.com>
5486
5487 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
5488 (i386_dr_low_can_set_control): Likewise.
5489 (i386_dr_low_set_addr): Likewise.
5490 (i386_dr_low_set_control): Likewise.
5491 (i386_dr_low_get_addr): Likewise.
5492 (i386_dr_low_get_status): Likewise.
5493 (i386_dr_low_get_control): Likewise.
5494 (i386_insert_aligned_watchpoint): Use new macros.
5495 (i386_update_inferior_debug_regs): Likewise.
5496 (i386_stopped_data_address): Likewise.
5497
d9305f7f
GB
54982014-06-18 Gary Benson <gbenson@redhat.com>
5499
5500 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
5501 New parameter. All uses updated.
5502
ea008da4
GB
55032014-06-18 Gary Benson <gbenson@redhat.com>
5504
5505 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
5506 All uses updated.
5507
1b6d4134
GB
55082014-06-18 Gary Benson <gbenson@redhat.com>
5509
5510 * i386-nat.c (debug_printf): New macro.
5511 (i386_get_debug_register_length): Likewise.
5512 (TARGET_HAS_DR_LEN_8): Use above macro.
5513 (i386_show_dr): Use debug_printf instead of puts_unfiltered
5514 and printf_unfiltered. Use phex to format values.
5515
9b4550ef
GB
55162014-06-18 Gary Benson <gbenson@redhat.com>
5517
5518 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
5519 Make const.
5520
6e62758f
GB
55212014-06-18 Gary Benson <gbenson@redhat.com>
5522
5523 * i386-nat.c: Comment changes.
5524
51c79e94
GB
55252014-06-18 Gary Benson <gbenson@redhat.com>
5526
5527 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
5528
3e11889a
GB
55292014-06-18 Gary Benson <gbenson@redhat.com>
5530
5531 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
5532 (i386_insert_aligned_watchpoint): Likewise.
5533 (i386_remove_aligned_watchpoint): Likewise.
5534 (i386_handle_nonaligned_watchpoint): Likewise.
5535
fc6e2f03
GB
55362014-06-18 Gary Benson <gbenson@redhat.com>
5537
5538 * i386-nat.c: Whitespace changes.
5539
2afe7d50
SB
55402014-06-17 Samuel Bronson <naesten@gmail.com>
5541
5542 * MAINTAINERS: Update Roland McGrath's email address.
5543 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 5544 Red Hat a while ago, and giving me a current address.
2afe7d50 5545
3bca49ee
TT
55462014-06-17 Tom Tromey <tromey@redhat.com>
5547
5548 * utils.h (savestring): Remove declaration.
5549
6e366df1
TT
55502014-06-17 Tom Tromey <tromey@redhat.com>
5551
5552 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
5553
6be47f0c
KS
55542014-06-16 Keith Seitz <keiths@redhat.com>
5555
5556 PR mi/15863
5557 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
5558 to update the varobj if inferior_ptid is null_ptid.
5559
7bc112c1
TT
55602014-06-16 Tom Tromey <tromey@redhat.com>
5561
5562 * target.h (struct target_ops) <to_info_proc>: Make parameter
5563 const.
5564 (target_info_proc): Update.
5565 * target.c (target_info_proc): Make "args" const.
5566 * procfs.c (procfs_info_proc): Update.
5567 * linux-tdep.c (linux_info_proc): Update.
5568 (linux_core_info_proc_mappings): Make "args" const.
5569 (linux_core_info_proc): Update.
5570 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
5571 * gdbarch.c: Rebuild.
5572 * gdbarch.h: Rebuild.
5573 * corelow.c (core_info_proc): Update.
5574
fee354ee
TT
55752014-06-16 Tom Tromey <tromey@redhat.com>
5576
5577 * target.h (struct target_ops) <to_disconnect>: Make parameter
5578 const.
5579 (target_disconnect): Update.
5580 * target.c (target_disconnect): Make "args" const.
5581 * target-delegates.c: Rebuild.
5582 * remote.c (remote_disconnect): Update.
5583 * record.h (record_disconnect): Update.
5584 * record.c (record_disconnect): Update.
5585 * inf-child.c (inf_child_disconnect): Update.
5586
a30bf1f1
TT
55872014-06-16 Tom Tromey <tromey@redhat.com>
5588
5589 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
5590 * target.c (debug_to_rcmd, default_rcmd): Update.
5591 * target-delegates.c: Rebuild.
5592 * remote.c (remote_rcmd): Update.
5593 * monitor.c (monitor_rcmd): Update.
5594
d03de421
PA
55952014-06-16 Pedro Alves <palves@redhat.com>
5596
5597 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
5598 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
5599 have OBJF_SHARED set.
5600 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
5601 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
5602 instead of OBJF_USERLOADED.
5603 * objfiles.h (OBJF_SHARED): Update comment.
5604 (userloaded_objfile_contains_address_p): Rename to ...
5605 (shared_objfile_contains_address_p): ... this, and update
5606 comments.
5607 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
5608 new objfile.
5609 (remove_symbol_file_command): Skip objfiles that don't have
5610 OBJF_SHARED set.
5611
99f4262f
TT
56122014-06-16 Tom Tromey <tromey@redhat.com>
5613
5614 * minsyms.h (prim_record_minimal_symbol)
5615 (prim_record_minimal_symbol_and_info): Update comments.
5616
97d66cc6
EZ
56172014-06-14 Eli Zaretskii <eliz@gnu.org>
5618
5619 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
5620 or --without-guile, according to how GDB was built.
5621
635c7e8a
TT
56222014-06-13 Tom Tromey <tromey@redhat.com>
5623
5624 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
5625 to help_list.
5626 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
5627 to help_list.
5628 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
5629 help_list.
5630 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
5631 help_list.Pass all_commands, not -1, to help_list.
5632 * cli/cli-dump.c (dump_command, append_command)
5633 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
5634 (binary_dump_command, binary_append_command): Pass all_commands,
5635 not -1, to help_list.
5636 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
5637 -1, to help_list.
5638 * valprint.c (set_print, set_print_raw): Pass all_commands, not
5639 -1, to help_list.
5640 * typeprint.c (set_print_type): Pass all_commands, not -1, to
5641 help_list.
5642 * top.c (set_history): Pass all_commands, not -1, to help_list.
5643 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
5644 all_commands, not -1, to help_list.
5645 * symfile.c (overlay_command): Pass all_commands, not -1, to
5646 help_list.
5647 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
5648 help_list.
5649 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
5650 help_list.
5651 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
5652 -1, to help_list.
5653 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
5654 not -1, to help_list.
5655 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
5656 not -1, to help_list.
5657 * maint.c (maintenance_command, maintenance_info_command)
5658 (maintenance_print_command, maintenance_set_cmd): Pass
5659 all_commands, not -1, to help_list.
5660 * macrocmd.c (macro_command): Pass all_commands, not -1, to
5661 help_list.
5662 * language.c (set_check): Pass all_commands, not -1, to help_list.
5663 * infcmd.c (unset_command): Pass all_commands, not -1, to
5664 help_list.
5665 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
5666 help_list.
5667 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
5668 help_list.
5669 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
5670 help_list.
5671 * breakpoint.c (save_command): Pass all_commands, not -1, to
5672 help_list.
5673 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
5674 all_commands, not -1, to help_list.
5675
b94ade42
PL
56762014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
5677
5678 * regcache.c (struct register_to_invalidate): New structure.
5679 (do_register_invalidate, make_cleanup_regcache_invalidate): New
5680 functions.
5681 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
5682
31f628ae
YQ
56832014-06-12 Yao Qi <yao@codesourcery.com>
5684
5685 * varobj.c (varobj_get_num_children): Call
5686 varobj_is_dynamic_p.
5687 (varobj_list_children): Likewise.
5688 (varobj_update): Likewise. Update comments.
5689
cde5ef40
YQ
56902014-06-12 Yao Qi <yao@codesourcery.com>
5691
5692 * varobj.c (varobj_pretty_printed_p): Rename to ...
5693 (varobj_is_dynamic_p): ... this. New function.
5694 * varobj.h (varobj_pretty_printed_p): Remove declaration.
5695 (varobj_is_dynamic_p): Declare.
5696 * mi/mi-cmd-var.c (print_varobj): All callers updated.
5697 (mi_print_value_p, varobj_update_one): Likewise.
5698
576ea091
YQ
56992014-06-12 Pedro Alves <pedro@codesourcery.com>
5700 Yao Qi <yao@codesourcery.com>
5701
5702 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
5703 (varobj_get_iterator): Wrap up code for pretty-printer by
5704 "#if HAVE_PYTHON" and "#endif".
5705 (update_dynamic_varobj_children): Likewise.
5706
827f100c
YQ
57072014-06-12 Pedro Alves <pedro@codesourcery.com>
5708 Yao Qi <yao@codesourcery.com>
5709
5710 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
5711 gdb_python_initialized is false. Move some code from varobj.c.
5712 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
5713 * varobj.c: Move "varobj-iter.h" inclusion earlier.
5714 (struct varobj_item): Moved to varobj-iter.h".
5715 (varobj_clear_saved_item): New function.
5716 (update_dynamic_varobj_children): Move python-related code to
5717 py-varobj.c.
5718 (free_variable): Call varobj_clear_saved_item and
5719 varobj_iter_delete.
5720
e5250216
YQ
57212014-06-12 Pedro Alves <pedro@codesourcery.com>
5722 Yao Qi <yao@codesourcery.com>
5723
5724 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
5725 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
5726 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
5727 (py-varobj.o): New rule.
5728 * python/py-varobj.c: New file.
5729 * python/python-internal.h (py_varobj_get_iterator): Declare.
5730 * varobj-iter.h: New file.
5731 * varobj.c: Include "varobj-iter.h"
5732 (struct varobj) <child_iter>: Change its type from "PyObject *"
5733 to "struct varobj_iter *".
5734 <saved_item>: Likewise.
5735 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
5736 [HAVE_PYTHON] (varobj_get_iterator): New function.
5737 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
5738 python-specific code to python/py-varobj.c.
5739 (install_visualizer): Call varobj_iter_delete instead of
5740 Py_XDECREF.
5741 * varobj.h (varobj_ensure_python_env): Declare.
5742
5a2e0d6e
YQ
57432014-06-12 Yao Qi <yao@codesourcery.com>
5744
5745 * varobj.c (struct varobj_item): New structure.
5746 (create_child_with_value): Update declaration.
5747 (varobj_add_child): Replace arguments 'name' and 'value' with
5748 'item'. All callers updated.
5749 (install_dynamic_child): Likewise.
5750 (update_dynamic_varobj_children): Likewise.
5751 (varobj_add_child): Likewise.
5752 (create_child_with_value): Likewise.
5753
919b9a93
JB
57542014-06-11 Joel Brobecker <brobecker@adacore.com>
5755
5756 * NEWS: Create a new section for the next release branch.
5757 Rename the section of the current branch, now that it has
5758 been cut.
5759
71a55bdf
JB
57602014-06-11 Joel Brobecker <brobecker@adacore.com>
5761
5762 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
5763 * version.in: Bump version to 7.8.50.DATE-cvs.
5764
364fe1f7
PA
57652014-06-11 Pedro Alves <palves@redhat.com>
5766
5767 PR remote/17028
5768 * ser-mingw.c (net_windows_socket_check_pending): New function.
5769 (net_windows_select_thread): Ignore spurious wakeups. Use
5770 net_windows_socket_check_pending.
5771 (net_windows_wait_handle): Check for pending events with
5772 ioctlsocket, through net_windows_socket_check_pending, instead of
5773 checking the socket's event.
5774
5a6c7709
SC
57752014-06-10 Siva Chandra Reddy <sivachandra@google.com>
5776
5777 * python/python-internal.h (gdb_PyObject_GetAttrString)
5778 (gdb_PyObject_HasAttrString): New inline function definitions.
5779 * py-value.c (get_field_flag): Remove the now unnecessary cast to
5780 char * of the second argument to PyObject_GetAttrString.
74228e77 5781
0e58ee40
JB
57822014-06-10 Joel Brobecker <brobecker@adacore.com>
5783
5784 * serial.c (serial_write): Fix index of character to be printed
5785 in call to serial_logchar when serial debug traces are enabled.
5786
d190df30
JB
57872014-06-10 Joel Brobecker <brobecker@adacore.com>
5788
5789 * gdbtypes (resolve_dynamic_range): Add function description.
5790
b4b01d36
PA
57912014-06-09 Pedro Alves <palves@redhat.com>
5792
5793 * linux-nat.c (linux_child_follow_fork): Initialize status with
5794 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
5795 inner block. Only pass the signal to PTRACE_DETACH if in pass
5796 state.
5797
3657956b
GB
57982014-06-09 Gary Benson <gbenson@redhat.com>
5799
5800 * common/signals.c (gdb_signal_from_host): Reorder to separate
5801 the always-available ANSI-standard signals from the signals that
5802 require checking.
5803 (do_gdb_signal_to_host): Likewise.
5804 * proc-events.c (signal_table): Likewise.
5805
c077881a
HZ
58062014-06-08 Hui Zhu <hui@codesourcery.com>
5807
5808 * common/linux-ptrace.c (linux_disable_event_reporting): New
5809 function.
5810 * common/linux-ptrace.h (linux_disable_event_reporting): New
5811 declaration.
5812 * linux-nat.c (linux_child_follow_fork): Do a single step before
5813 detach.
5814
4186eb54
KS
58152014-06-07 Keith Seitz <keiths@redhat.com>
5816
5817 Revert:
5818 PR c++/16253
5819 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
5820 from symbol_matches_domain in symtab.c. All local callers
5821 of symbol_matches_domain updated.
5822 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
5823 search STRUCT_DOMAIN.
5824 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
5825 independently. standard_lookup will do that automatically.
5826 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
5827 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5828 (cp_lookup_symbol_in_namespace): Likewise.
5829 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
5830 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
5831 may return a STRUCT_DOMAIN match.
5832 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
5833 * cp-support.c: Include language.h.
5834 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
5835 VAR_DOMAIN.
5836 * psymtab.c (match_partial_symbol): Compare the requested
5837 domain with the symbol's domain directly.
5838 (lookup_partial_symbol): Likewise.
5839 * symtab.c (lookup_symbol_in_language): Explain when/why
5840 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
5841 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
5842 appropriate languages.
5843 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
5844 and moved to ada-lang.c
5845 (lookup_block_symbol): Explain that this function only returns
5846 symbol matching the requested DOMAIN.
5847 Compare the requested domain with the symbol's domain directly.
5848 (iterate_over_symbols): Compare the requested domain with the
5849 symbol's domain directly.
5850 * symtab.h (symbol_matches_domain): Remove.
5851
25326a28 58522014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
5853
5854 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
5855 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
5856 (gdbscm_guile_version_is_at_least): Declare.
5857 (gdbscm_scm_string_to_int): Declare.
5858 * guile/guile.c (gdbscm_guile_major_version): New global.
5859 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
5860 (guile_datadir): New static global.
5861 (gdbscm_guile_data_directory): New function.
5862 (initialize_scheme_side): Update.
5863 (misc_guile_functions): Add guile-data-directory.
5864 (initialize_gdb_module): Fetch guile version number.
5865 * guile/lib/gdb.scm: Remove call to add-to-load-path.
5866 * guile/lib/gdb/init.scm (%initialize!): Ditto.
5867 * guile/lib/gdb/boot.scm: Use guile-data-directory.
5868 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
5869 comments.
5870 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
5871 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
5872 * guile/scm-value.c (gdbscm_value_to_string): Only call
5873 scm_port_conversion_strategy if Guile version >= 2.0.6.
5874
0a770bb2 58752014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
5876
5877 * main.c (print_gdb_help): Add -q and --silent.
5878
73ba372c
GB
58792014-06-06 Gary Benson <gbenson@redhat.com>
5880
5881 * common/signals.c: Remove preprocessor conditionals for
5882 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
5883 SIGSEGV and SIGTERM.
5884 * proc-events.c: Likewise.
5885
c33b2f12
MM
58862014-06-06 Markus Metzger <markus.t.metzger@intel.com>
5887
5888 * symfile.c (symfile_free_objfile): Remove restriction to
5889 OBJF_USERLOADED.
5890 * symfile-mem.c (symbol_file_add_from_memory): Call
5891 add_target_sections_of_objfile.
5892
fb934770
LC
58932014-06-05 Ludovic Courtès <ludo@gnu.org>
5894
5895 * guile/scm-value.c (gdbscm_history_append_x): Use
5896 'vlscm_get_value_smob_arg_unsafe' instead of
5897 'vlscm_scm_to_value'.
5898
6ef284bd
SM
58992014-06-05 Simon Marchi <simon.marchi@ericsson.com>
5900
5901 PR mi/15806
5902 * utils.c (printchar): Don't escape at all if quoter is NUL.
5903 Update function documentation to clarify effect of parameter
5904 QUOTER.
5905 * remote.c (escape_buffer): Pass '\\' as the quoter to
5906 fputstrn_unfiltered.
5907 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
5908 generate the output.
5909 (mi_solib_unloaded): Same.
5910
270c9937
JB
59112014-06-05 Joel Brobecker <brobecker@adacore.com>
5912
5913 * development.sh: Delete.
5914 * Makefile.in (config.status): Adjust dependency on development.sh.
5915 * configure.ac: Adjust development.sh source call.
5916 * configure: Regenerate.
5917
16f691fb
DE
59182014-06-04 Doug Evans <xdje42@gmail.com>
5919
5920 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
5921 is_scheme_bkpt, spec.
5922 (bpscm_make_breakpoint_smob): Initialize new members.
5923 (gdbscm_create_breakpoint_x): Split into two ...
5924 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
5925 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
5926 (scheme_function breakpoint_functions): Update.
5927 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
5928 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
5929 register-breakpoint!.
5930
ef7cab6b
JB
59312014-06-04 Joel Brobecker <brobecker@adacorer.com>
5932
5933 PR server/17023
5934 * mem-break.c (z_type_supported): Return zero if
5935 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
5936
012370f6
TT
59372014-06-04 Tom Tromey <tromey@redhat.com>
5938
5939 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
5940 value_from_contents_and_address_unresolved.
5941 (ada_template_to_fixed_record_type_1): Likewise.
5942 (ada_which_variant_applies): Likewise.
5943 * value.h (value_from_contents_and_address_unresolved): Declare.
5944 * value.c (value_from_contents_and_address_unresolved): New
5945 function.
5946 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
5947 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
5948 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
5949
92e2a17f
TT
59502014-06-04 Tom Tromey <tromey@redhat.com>
5951
5952 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
5953
c0939df1
TT
59542014-06-04 Tom Tromey <tromey@redhat.com>
5955
5956 * procfs.c (procfs_attach): Make "args" const.
5957 * windows-nat.c (windows_attach): Make "args" const.
5958 * nto-procfs.c (procfs_attach): Make "args" const.
5959 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
5960 * go32-nat.c (go32_attach): Make "args" const.
5961 * gnu-nat.c (gnu_attach): Make "args" const.
5962 * darwin-nat.c (darwin_attach): Make "args" const.
5963 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
5964 * linux-nat.c (linux_nat_attach): Make "args" const.
5965 * remote.c (extended_remote_attach_1, extended_remote_attach):
5966 Make "args" const.
5967 * target.h (struct target_ops) <to_attach>: Make "args" const.
5968 (find_default_attach): Likewise.
5969 * utils.c (parse_pid_to_attach): Make "args" const.
5970 * utils.h (parse_pid_to_attach): Update.
5971
8eaff7cd
TT
59722014-06-04 Tom Tromey <tromey@redhat.com>
5973
5974 * target-delegates.c: Rebuild.
5975 * target.c (default_thread_address_space): New function.
5976 (target_thread_address_space): Simplify.
5977 * target.h (struct target_ops) <to_thread_address_space>: Add
5978 TARGET_DEFAULT_FUNC.
5979
1913f160
DE
59802014-06-04 Doug Evans <xdje42@gmail.com>
5981
5982 * guile/scm-type.c (type_smob): Remove duplicate typedef.
5983
70ad5bff
MM
59842014-06-04 Markus Metzger <markus.t.metzger@intel.com>
5985
5986 * record-btrace.c: Include event-loop.h and inf-loop.h.
5987 (record_btrace_resume_exec_dir)
5988 (record_btrace_async_inferior_event_handler)
5989 (record_btrace_handle_async_inferior_event): New.
5990 (record_btrace_open): Create async event handler.
5991 (record_btrace_close): Delete async event handler.
5992 (record_btrace_resume): Set record_btrace_resume_exec_dir,
5993 Mark async event handler.
5994 (record_btrace_execution_direction): New.
5995 (init_record_btrace_ops): Initialize to_execution_direction.
5996
b6210538
DE
59972014-06-03 Doug Evans <xdje42@gmail.com>
5998
5999 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6000 (gdbscm_make_parameter): Ditto.
6001
a5b1fd27
DE
60022014-06-03 Doug Evans <dje@google.com>
6003
6004 * exec.c (exec_close_1): Call clear_section_table instead of
6005 resize_section_table.
6006 (clear_section_table): New function.
6007 (resize_section_table): Make static. Rename arg num_added to
6008 adjustment.
6009 * exec.h (clear_section_table): Declare.
6010 (resize_section_table): Delete.
6011 * progspace.c (release_program_space): Call clear_section_table
6012 instead of resize_section_table.
6013
0c6e92a5
SC
60142014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6015
6016 * NEWS (Python Scripting): Add entry about the new xmethods
6017 feature.
6018
883964a7
SC
60192014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6020
6021 * python/py-xmethods.c: New file.
6022 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6023 (objfpy_dealloc): XDECREF on the new xmethods field.
6024 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6025 field.
6026 (objfpy_get_xmethods): New function.
6027 (objfile_getset): New entry 'xmethods'.
6028 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6029 (pspy_dealloc): XDECREF on the new xmethods field.
6030 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6031 field.
6032 (pspy_get_xmethods): New function.
6033 (pspace_getset): New entry 'xmethods'.
6034 * python/python-internal.h: Add declarations for new functions.
6035 * python/python.c (_initialize_python): Invoke
6036 gdbpy_initialize_xmethods.
6037 * python/lib/gdb/__init__.py (xmethods): New
6038 attribute.
6039 * python/lib/gdb/xmethod.py: New file.
6040 * python/lib/gdb/command/xmethods.py: New file.
6041
58992dc5
SC
60422014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6043
6044 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6045 best match method returned by find_overload_match is an xmethod.
6046 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6047 the best matching operator returned by find_overload_match is an
6048 xmethod.
6049 * valops.c: #include "extension.h".
6050 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6051 Return void. The list of matching source methods is returned in
6052 "fn_list" and a vector of matching debug method workers is
6053 returned in "xm_worker_vec". Update all callers.
6054 (value_find_oload_method_list): Likewise.
6055 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6056 non-NULL, then the index of the best matching method in this
6057 vector is returned. Update all callers.
6058 (find_overload_match): Include xmethods while performing overload
6059 resolution.
6060
e81e7f5e
SC
60612014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6062
6063 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6064 * extension-priv.h (struct extension_language_ops): Add the
6065 xmethod interface.
6066 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6067 get_matching_xmethod_workers, get_xmethod_argtypes,
6068 invoke_xmethod, free_xmethod_worker,
6069 free_xmethod_worker_vec): New functions.
6070 * extension.h: #include "common/vec.h".
6071 New function declarations.
6072 (struct xmethod_worker): New struct.
6073 (VEC (xmethod_worker_ptr)): New vector type.
6074 (xmethod_worker_ptr): New typedef.
6075 (xmethod_worker_vec): Likewise.
6076 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6077 builtin_type.
6078 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
6079 (struct builtin_type): New field "xmethod".
6080 * valarith.c (value_ptradd): Assert that the value argument is not
6081 lval_xcallable.
6082 * valops.c (value_must_coerce_to_target): Return 0 for
6083 lval_xcallable values.
6084 * value.c (struct value): New field XM_WORKER in the field
6085 LOCATION.
6086 (value_address, value_raw_address): Return 0 for lval_xcallable
6087 values.
6088 (set_value_address): Assert that the value is not an
6089 lval_xcallable.
6090 (value_free): Free the associated xmethod worker when freeing
6091 lval_xcallable values.
6092 (set_value_component_location): Assert that the WHOLE value is not
6093 lval_xcallable.
6094 (value_of_xmethod, call_xmethod): New functions.
6095 * value.h: Declare "struct xmethod_worker".
6096 Declare new functions value_of_xmethod, call_xmethod.
6097
ef370185
JB
60982014-06-03 Joel Brobecker <brobecker@adacore.com>
6099 Pedro Alves <palves@redhat.com>
6100
6101 PR breakpoints/17000
6102 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
6103 New function, extracted from software_breakpoint_inserted_here_p.
6104 (software_breakpoint_inserted_here_p): Replace factored out code
6105 by call to find_non_raw_software_breakpoint_inserted_here.
6106 (bp_target_info_copy_insertion_state): New function.
6107 (bkpt_insert_location): Handle the case of a single-step
6108 breakpoint already inserted at the same address.
6109 (bkpt_remove_location): Handle the case of a single-step
6110 breakpoint still inserted at the same address.
6111 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
6112 breakpoint already inserted at the same address.
6113 (deprecated_remove_raw_breakpoint): Handle the case of a
6114 non-raw breakpoint still inserted at the same address.
6115 (find_single_step_breakpoint): New function, extracted from
6116 single_step_breakpoint_inserted_here_p.
6117 (find_single_step_breakpoint): New function,
6118 factored out from single_step_breakpoint_inserted_here_p.
6119 (single_step_breakpoint_inserted_here_p): Reimplement.
6120
1e2ccb61
BM
61212014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6122
6123 Pushed by Joel Brobecker <brobecker@adacore.com>
6124 * source.c (show_substitute_path_command): Fix display of matching
6125 substitution rules.
6126
d3448d85
GB
61272014-06-03 Gary Benson <gbenson@redhat.com>
6128
6129 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
6130
06eb1586
DE
61312014-06-02 Doug Evans <xdje42@gmail.com>
6132
6133 Add parameter support for Guile.
6134 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
6135 (SUBDIR_GUILE_SRCS): Add scm-param.c.
6136 (scm-param.o): New rule.
6137 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
6138 (gdbscm_misc_error): Declare.
6139 (gdbscm_canonicalize_command_name): Declare.
6140 (gdbscm_scm_to_host_string): Declare.
6141 (gdbscm_scm_from_host_string): Declare.
6142 (gdbscm_initialize_parameters): Declare.
6143 * guile/guile.c (initialize_gdb_module): Call
6144 gdbscm_initialize_parameters.
6145 * guile/lib/gdb.scm: Export parameter symbols.
6146 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
6147 cmdscm_canonicalize_name and made public. All callers updated.
6148 * guile/scm-exception.c (gdbscm_misc_error): New function.
6149 * guile/scm-param.c: New file.
6150 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
6151 (gdbscm_scm_to_host_string): New function.
6152 (gdbscm_scm_from_host_string): New function.
6153 * scm-utils.c (gdbscm_gc_dup_argv): New function.
6154
e698b8c4
DE
61552014-06-02 Doug Evans <xdje42@gmail.com>
6156
6157 Add command support for Guile.
6158 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
6159 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
6160 (scm-cmd.o): New rule.
6161 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
6162 (gdbscm_user_error_p): Declare.
6163 (gdbscm_parse_command_name): Declare.
6164 (gdbscm_valid_command_class_p): Declare.
6165 (gdbscm_initialize_commands): Declare.
6166 * guile/guile.c (initialize_gdb_module): Call
6167 gdbscm_initialize_commands.
6168 * guile/lib/gdb.scm: Export command symbols.
6169 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
6170 (throw-user-error): New function.
6171 * guile/scm-cmd.c: New file.
6172 * guile/scm-exception.c (user_error_symbol): New static global.
6173 (gdbscm_user_error_p): New function.
6174 (gdbscm_initialize_exceptions): Set user_error_symbol.
6175 * scm-utils.c (gdbscm_gc_xstrdup): New function.
6176
fb1f94b0
PM
61772014-06-02 Phil Muldoon <pmuldoon@redhat.com>
6178
6179 * top.c (command_loop): Handle comments here...
6180 (command_line_input): ... not here.
6181
ded03782
DE
61822014-06-02 Doug Evans <xdje42@gmail.com>
6183
6184 Add progspace support for Guile.
6185 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
6186 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
6187 (scm-progspace.o): New rule.
6188 * guile/guile-internal.h (pspace_smob): New typedef.
6189 (psscm_pspace_smob_pretty_printers): Declare.
6190 (psscm_pspace_smob_from_pspace): Declare.
6191 (psscm_scm_from_pspace): Declare.
6192 * guile/guile.c (initialize_gdb_module): Call
6193 gdbscm_initialize_pspaces.
6194 * guile/lib/gdb.scm: Export progspace symbols.
6195 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
6196 support.
6197 (append-pretty-printer!): Ditto.
6198 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
6199 Implement.
6200 * guile/scm-progspace.c: New file.
6201
397998fc
AM
62022014-06-03 Alan Modra <amodra@gmail.com>
6203
6204 * ppc64-tdep.c (ppc64_standard_linkage8): New.
6205 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
6206
6aa5f3a6
DE
62072014-06-02 Doug Evans <dje@google.com>
6208
6209 Add support for skeletonless type units.
6210 * dwarf2read.c (struct dwarf2_per_objfile): New member
6211 n_allocated_type_units.
6212 (struct dwarf2_per_objfile) <tu_stats>: New member
6213 nr_all_type_units_reallocs.
6214 (create_signatured_type_table_from_index): Initialize
6215 n_allocated_type_units
6216 (create_all_type_units): Ditto.
6217 (add_type_unit): Move up in file. New arg slot.
6218 All callers updated. Increase space for all_type_units more
6219 efficiently.
6220 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
6221 (lookup_dwo_signatured_type): Handle skeletonless TUs.
6222 (lookup_dwp_signatured_type): Ditto.
6223 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
6224 All callers updated.
6225 (build_type_psymtabs_1): Leave type_unit_groups as
6226 NULL if no TUs present.
6227 (print_tu_stats): New function.
6228 (process_skeletonless_type_unit): New function.
6229 (process_dwo_file_for_skeletonless_type_units): New
6230 function.
6231 (process_skeletonless_type_units): New function.
6232 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
6233 Call print tu_stats if debugging enabled.
6234
41fac0cf
PA
62352014-06-02 Pedro Alves <palves@redhat.com>
6236
6237 * breakpoint.c (build_target_command_list): Don't build a command
6238 list if we have any duplicate location that isn't a dprintf.
6239
cd1608cc
PA
62402014-06-02 Pedro Alves <palves@redhat.com>
6241
6242 * breakpoint.c (dprintf_breakpoint_hit): New function.
6243 (initialize_breakpoint_ops): Install it as dprintf's
6244 breakpoint_hit method.
6245
486ef3b9
JB
62462014-06-02 Joel Brobecker <brobecker@adacore.com>
6247
6248 * source.c (substitute_path_rule_matches): Simplify using
6249 filename_ncmp instead of FILENAME_CMP.
6250
230cd560
JB
62512014-06-02 Joel Brobecker <brobecker@adacore.com>
6252
6253 * source.c (substitute_path_rule_matches): Remove trailing spaces.
6254
16954d5d
LC
62552014-06-01 Ludovic Courtès <ludo@gnu.org>
6256
6257 * configure.ac: When Guile is available, check for the
6258 availability of 'scm_new_smob'.
6259 * configure, config.h.in: Regenerate.
6260 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
6261 function.
6262
53e8a631
AB
62632014-05-30 Andrew Burgess <aburgess@broadcom.com>
6264
6265 * frame.c (struct frame_info): Add stop_string field.
6266 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
6267 (get_prev_frame_always): Old content moved into
6268 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
6269 TRY_CATCH, handle MEMORY_ERROR exceptions.
6270 (frame_stop_reason_string): New function definition.
6271 * frame.h (unwind_stop_reason_to_string): Extend comment to
6272 mention frame_stop_reason_string.
6273 (frame_stop_reason_string): New function declaration.
6274 * stack.c (frame_info): Switch to frame_stop_reason_string.
6275 (backtrace_command_1): Switch to frame_stop_reason_string.
6276 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
6277 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
6278 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
6279
70e38b8e
AB
62802014-05-30 Andrew Burgess <aburgess@broadcom.com>
6281
6282 * frame.c (frame_stop_reason_string): Rename to ...
6283 (unwind_stop_reason_to_string): this.
6284 * frame.h (frame_stop_reason_string): Rename to ...
6285 (unwind_stop_reason_to_string): this.
6286 * stack.c (frame_info): Update call to frame_stop_reason_string.
6287 (backtrace_command_1): Likewise.
6288 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
6289 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
6290
938f0e2f
AB
62912014-05-30 Andrew Burgess <aburgess@broadcom.com>
6292
6293 * frame.c (remove_prev_frame): New function.
6294 (get_prev_frame_if_no_cycle): Create / discard cleanup using
6295 remove_prev_frame.
6296
a09dd441
PA
62972014-05-29 Pedro Alves <palves@redhat.com>
6298
6299 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
6300 and make it const. When a single-step decays to a continue,
6301 clear 'step', not 'hw_step'. Pass whether the caller wanted
6302 to step to user_visible_resume_ptid, not what we ask the
6303 target to do.
6304
bdc36728
PA
63052014-05-29 Pedro Alves <palves@redhat.com>
6306
6307 * infrun.c (process_event_stop_test, handle_step_into_function)
6308 (handle_step_into_function_backward): Adjust.
6309 Don't set the even thread's stop_step and call stop_waiting before
6310 calling end_stepping_range. Instead do that ...
6311 (end_stepping_range): ... here. Take an ecs pointer parameter.
6312
22bcd14b
PA
63132014-05-29 Pedro Alves <palves@redhat.com>
6314
6315 * infrun.c (stop_stepping): Rename to ...
6316 (stop_waiting): ... this.
6317 (proceed): Update comment.
6318 (process_event_stop_test, handle_inferior_event)
6319 (handle_signal_stop, handle_step_into_function)
6320 (handle_step_into_function_backward): Update.
6321
4ae57c05
PA
63222014-05-29 Pedro Alves <palves@redhat.com>
6323
6324 * infcall.c (run_inferior_call): Don't check whether the current
6325 thread is running after the proceed call.
6326
329ea579
PA
63272014-05-29 Pedro Alves <palves@redhat.com>
6328 Tom Tromey <tromey@redhat.com>
6329
6330 * NEWS: Mention "maint set target-async", "set mi-async", and that
6331 background execution commands are now always available.
6332 * target.h (target_async_permitted): Update comment.
6333 * target.c (target_async_permitted, target_async_permitted_1):
6334 Default to 1.
6335 (set_target_async_command): Rename to ...
6336 (maint_set_target_async_command): ... this.
6337 (show_target_async_command): Rename to ...
6338 (maint_show_target_async_command): ... this.
6339 (_initialize_target): Adjust.
6340 * infcmd.c (prepare_execution_command): Make extern.
6341 * inferior.h (prepare_execution_command): Declare.
6342 * infrun.c (set_observer_mode): Leave target async alone.
6343 * mi/mi-interp.c (mi_interpreter_init): Install
6344 mi_on_sync_execution_done as sync_execution_done observer.
6345 (mi_on_sync_execution_done): New function.
6346 (mi_execute_command_input_handler): Don't print the prompt if we
6347 just started a synchronous command with an async target.
6348 (mi_on_resume): Check sync_execution before printing prompt.
6349 * mi/mi-main.h (mi_async_p): Declare.
6350 * mi/mi-main.c: Include gdbcmd.h.
6351 (mi_async_p): New function.
6352 (mi_async, mi_async_1): New globals.
6353 (set_mi_async_command, show_mi_async_command, mi_async): New
6354 functions.
6355 (exec_continue): Call prepare_execution_command.
6356 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
6357 (mi_execute_async_cli_command): Use mi_async_p.
6358 (_initialize_mi_main): Install "set mi-async". Make
6359 "target-async" a deprecated alias.
6360
92bcb5f9
PA
63612014-05-29 Pedro Alves <palves@redhat.com>
6362
6363 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
6364 (_initialize_cli_interp): Adjust.
6365 * event-loop.c: Include "observer.h".
6366 (start_event_loop): Notify 'command_error' observers instead of
6367 calling display_gdb_prompt. Remove FIXME comment.
6368 * event-top.c (display_gdb_prompt): Remove call into the
6369 interpreters.
6370 * inf-loop.c: Include "observer.h".
6371 (inferior_event_handler): Notify 'command_error' observers instead
6372 of calling display_gdb_prompt.
6373 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
6374 observers instead of calling display_gdb_prompt.
6375 * interps.c (interp_set): Don't call display_gdb_prompt.
6376 (current_interp_display_prompt_p): Delete.
6377 * interps.h (interp_prompt_p): Delete declaration.
6378 (interp_prompt_p_ftype): Delete.
6379 (struct interp_procs) <prompt_proc_p>: Delete field.
6380 (current_interp_display_prompt_p): Delete declaration.
6381 * mi-interp.c (mi_interpreter_prompt_p): Delete.
6382 (_initialize_mi_interp): Adjust.
6383 * tui-interp.c (tui_init): Install 'sync_execution_done' and
6384 'command_error' observers.
6385 (tui_on_sync_execution_done, tui_on_command_error): New
6386 functions.
6387 (tui_display_prompt_p): Delete.
6388 (_initialize_tui_interp): Adjust.
6389
fd664c91
PA
63902014-05-29 Pedro Alves <palves@redhat.com>
6391
6392 PR gdb/13860
6393 * cli/cli-interp.c: Include infrun.h and observer.h.
6394 (cli_uiout, cli_interp): New globals.
6395 (cli_on_signal_received, cli_on_end_stepping_range)
6396 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
6397 functions.
6398 (cli_interpreter_init): Install them as 'end_stepping_range',
6399 'signal_received' 'signal_exited', 'exited' and 'no_history'
6400 observers.
6401 (_initialize_cli_interp): Remove cli_interp local.
6402 * infrun.c (handle_inferior_event): Call the several stop reason
6403 observers instead of printing the stop reason directly.
6404 (end_stepping_range): New function.
6405 (print_end_stepping_range_reason, print_signal_exited_reason)
6406 (print_exited_reason, print_signal_received_reason)
6407 (print_no_history_reason): Make static, and add an uiout
6408 parameter. Print to that instead of to CURRENT_UIOUT.
6409 * infrun.h (print_end_stepping_range_reason)
6410 (print_signal_exited_reason, print_exited_reason)
6411 (print_signal_received_reason print_no_history_reason): New
6412 declarations.
6413 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
6414 'mi_uiout'.
6415 <cli_uiout>: New field.
6416 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
6417 uiout for CLI output. Install 'signal_received',
6418 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
6419 observers.
6420 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
6421 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
6422 (mi_on_no_history): New functions.
6423 (ui_out_free_cleanup): Delete function.
6424 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
6425 instead use the one already stored in the MI interpreter data.
6426 (mi_ui_out): Adjust.
6427 * tui/tui-interp.c: Include infrun.h and observer.h.
6428 (tui_interp): New global.
6429 (tui_on_signal_received, tui_on_end_stepping_range)
6430 (tui_on_signal_exited, tui_on_exited)
6431 (tui_on_no_history): New functions.
6432 (tui_init): Install them as 'end_stepping_range',
6433 'signal_received' 'signal_exited', 'exited' and 'no_history'
6434 observers.
6435 (_initialize_tui_interp): Delete tui_interp local.
6436
8817a6f2
PA
64372014-05-29 Pedro Alves <palves@redhat.com>
6438
6439 PR gdb/15713
6440 * linux-nat.c (linux_nat_resume_callback): Rename the second
6441 parameter to 'except'. Skip LP if it points to EXCEPT.
6442 (linux_nat_resume): Don't mark the event lwp as not stopped
6443 before resuming sibling lwps. Instead ask
6444 linux_nat_resume_callback to skip the event lwp. Mark it as not
6445 stopped after actually resuming it.
6446 (linux_handle_syscall_trap): Mark the lwp as not stopped after
6447 resuming it.
6448 (wait_lwp): Mark the lwp as stopped here.
6449 (stop_wait_callback): Mark the lwp as not stopped right after
6450 resuming it. Don't mark lwps as stopped here.
6451 (linux_nat_filter_event): Mark the lwp as stopped earlier.
6452 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
6453
251bde03
PA
64542014-05-29 Pedro Alves <palves@redhat.com>
6455
6456 PR PR15693
6457 * infrun.c (resume): Determine how much to resume depending on
6458 whether the caller wanted a step, not whether we can hardware step
6459 the target. Mark all threads that we intend to run as running,
6460 unless we're calling an inferior function.
6461 (normal_stop): If the thread is running an infcall, don't finish
6462 thread state.
6463 * target.c (target_resume): Don't mark threads as running here.
6464
7f3c0343
JB
64652014-05-28 Joel Brobecker <brobecker@adacore.com>
6466
6467 * serial.c (_initialize_serial): Remove support for
6468 the "set remotebaud" and "show remotebaud" commands.
6469 * NEWS: Add entry documenting the removal of that command.
6470
ee34b3f9
YQ
64712014-05-28 Yao Qi <yao@codesourcery.com>
6472
6473 * charset.c: Fix typo in comments.
6474
add6c04d
GB
64752014-05-27 Gary Benson <gbenson@redhat.com>
6476
6477 * utils.c (internal_vproblem): Prompt for a bug report.
6478
92c48fc5
AW
64792014-05-26 Andy Wingo <wingo@igalia.com>
6480
6481 * guile/scm-arch.c (arscm_mark_arch_smob):
6482 * guile/scm-block.c (bkscm_mark_block_smob)
6483 (bkscm_mark_block_syms_progress_smob):
6484 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
6485 * guile/scm-exception.c (exscm_mark_exception_smob):
6486 * guile/scm-frame.c (frscm_mark_frame_smob):
6487 * guile/scm-iterator.c (itscm_mark_iterator_smob):
6488 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
6489 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
6490 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
6491 (ppscm_mark_pretty_printer_worker_smob):
6492 * guile/scm-symbol.c (syscm_mark_symbol_smob):
6493 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
6494 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
6495 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
6496 mark functions.
6497 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
6498 function.
6499
b2715b27
AW
65002014-05-26 Andy Wingo <wingo@igalia.com>
6501 Doug Evans <xdje42@gmail.com>
6502
6503 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
6504 empty_base_class. All uses updated.
6505 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
6506 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
6507 Adapt all callers.
6508 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
6509 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
6510 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
6511 (gdbscm_gsmob_has_property_p, add_property_name)
6512 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
6513 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
6514 (gdb-object-has-property?, gdb-object-properties): Remove.
6515 (gdb-object-kind): Renamed from gsmob-kind.
6516
214ab2da
AW
65172014-05-26 Andy Wingo <wingo@igalia.com>
6518
6519 * configure.ac (try_guile_versions): Allow building with guile 2.2.
6520 * configure: Regenerate.
6521
589fdceb
MM
65222014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6523
6524 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
6525
67b5c0c1
MM
65262014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6527
6528 * record-btrace.c (record_btrace_allow_memory_access): Remove.
6529 (replay_memory_access_read_only, replay_memory_access_read_write)
6530 (replay_memory_access_types, replay_memory_access)
6531 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
6532 (cmd_set_record_btrace, cmd_show_record_btrace)
6533 (cmd_show_replay_memory_access): New.
6534 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
6535 (record_btrace_remove_breakpoint): Replace
6536 record_btrace_allow_memory_access with replay_memory_access.
6537 (_initialize_record_btrace): Add commands.
6538 * NEWS: Announce it.
6539
036cd381
RR
65402014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6541
6542 * aarch64-linux-nat.c (asm/ptrace.h): Include.
6543
c77c1e42
RR
65442014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
6545
6546 * MAINTAINERS (Write After Approval): Move self back from
6547 paper trail.
6548
45741a9c
PA
65492014-05-22 Pedro Alves <palves@redhat.com>
6550
6551 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
6552 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
6553 (disable_randomization, enum exec_direction_kind)
6554 (execution_direction, stop_registers, start_remote)
6555 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
6556 (wait_for_inferior, normal_stop, get_last_target_status)
6557 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
6558 (insert_step_resume_breakpoint_at_sal)
6559 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
6560 (set_step_info, print_stop_event, signal_stop_state)
6561 (signal_print_state, signal_pass_state, signal_stop_update)
6562 (signal_print_update, signal_pass_update)
6563 (update_signals_program_target, clear_exit_convenience_vars)
6564 (displaced_step_dump_bytes, update_observer_mode)
6565 (signal_catch_update, gdb_signal_from_command): Move
6566 declarations ...
6567 * infrun.h: ... to this new file.
6568 * amd64-tdep.c: Include infrun.h.
6569 * annotate.c: Include infrun.h.
6570 * arch-utils.c: Include infrun.h.
6571 * arm-linux-tdep.c: Include infrun.h.
6572 * arm-tdep.c: Include infrun.h.
6573 * break-catch-sig.c: Include infrun.h.
6574 * breakpoint.c: Include infrun.h.
6575 * common/agent.c: Include infrun.h instead of inferior.h.
6576 * corelow.c: Include infrun.h.
6577 * event-top.c: Include infrun.h.
6578 * go32-nat.c: Include infrun.h.
6579 * i386-tdep.c: Include infrun.h.
6580 * inf-loop.c: Include infrun.h.
6581 * infcall.c: Include infrun.h.
6582 * infcmd.c: Include infrun.h.
6583 * infrun.c: Include infrun.h.
6584 * linux-fork.c: Include infrun.h.
6585 * linux-nat.c: Include infrun.h.
6586 * linux-thread-db.c: Include infrun.h.
6587 * monitor.c: Include infrun.h.
6588 * nto-tdep.c: Include infrun.h.
6589 * procfs.c: Include infrun.h.
6590 * record-btrace.c: Include infrun.h.
6591 * record-full.c: Include infrun.h.
6592 * remote-m32r-sdi.c: Include infrun.h.
6593 * remote-mips.c: Include infrun.h.
6594 * remote-notif.c: Include infrun.h.
6595 * remote-sim.c: Include infrun.h.
6596 * remote.c: Include infrun.h.
6597 * reverse.c: Include infrun.h.
6598 * rs6000-tdep.c: Include infrun.h.
6599 * s390-linux-tdep.c: Include infrun.h.
6600 * solib-irix.c: Include infrun.h.
6601 * solib-osf.c: Include infrun.h.
6602 * solib-svr4.c: Include infrun.h.
6603 * target.c: Include infrun.h.
6604 * top.c: Include infrun.h.
6605 * windows-nat.c: Include infrun.h.
6606 * mi/mi-interp.c: Include infrun.h.
6607 * mi/mi-main.c: Include infrun.h.
6608 * python/py-threadevent.c: Include infrun.h.
6609
98eb56a4
PA
66102014-05-22 Pedro Alves <palves@redhat.com>
6611
6612 * infrun.c (handle_inferior_event): Store the exit code for
6613 --return-child-result here, instead of ...
6614 (print_exited_reason): ... here.
6615
17b2616c
PA
66162014-05-21 Pedro Alves <palves@redhat.com>
6617
6618 PR gdb/13860
6619 * gdbthread.h (struct thread_control_state): New field
6620 `command_interp'.
6621 * infrun.c (follow_fork): Copy the new thread control field to the
6622 child fork thread.
6623 (clear_proceed_status_thread): Clear the new thread control field.
6624 (proceed): Set the new thread control field.
6625 * interps.h (command_interp): Declare.
6626 * interps.c (command_interpreter): New global.
6627 (command_interp): New function.
6628 (interp_exec): Set `command_interpreter' while here.
6629 * cli-out.c (cli_uiout_dtor): New function.
6630 (cli_ui_out_impl): Install it.
6631 * mi/mi-interp.c: Include cli-out.h.
6632 (mi_cmd_interpreter_exec): Add comment.
6633 (restore_current_uiout_cleanup): New function.
6634 (ui_out_free_cleanup): New function.
6635 (mi_on_normal_stop): If finishing an execution command started by
6636 a CLI command, or any kind of breakpoint-like event triggered,
6637 print the stop event to the output (CLI) stream.
6638 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
6639
5166082f
PA
66402014-05-21 Pedro Alves <palves@redhat.com>
6641
6642 * cli/cli-cmds.c (list_command): Handle the first "list" after the
6643 current source line having changed.
6644 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
6645 * infrun.c (normal_stop): Adjust call to
6646 set_current_sal_from_frame.
6647 * source.c (clear_lines_listed_range): New function.
6648 (set_current_source_symtab_and_line, identify_source_line): Clear
6649 the lines listed range.
6650 (line_info): Handle the first "info line" after the current source
6651 line having changed.
6652 * stack.c (print_stack_frame): Remove center handling.
6653 (set_current_sal_from_frame): Remove 'center' parameter. Don't
6654 center sal.line.
6655
c1ee2fb3
PA
66562014-05-21 Pedro Alves <palves@redhat.com>
6657
6658 * inf-child.c (inf_child_mourn_inferior): New function.
6659 * inf-child.h (inf_child_mourn_inferior): New declaration.
6660 * darwin-nat.c (darwin_mourn_inferior): Use
6661 inf_child_mourn_inferior.
6662 * gnu-nat.c (gnu_mourn_inferior): Likewise.
6663 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
6664 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
6665 * nto-procfs.c (procfs_mourn_inferior): Likewise.
6666 * windows-nat.c (windows_mourn_inferior): Likewise.
6667
5c6d4fb2
DE
66682014-05-21 Doug Evans <xdje42@gmail.com>
6669
250748cb 6670 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 6671
4a2722c5
DE
66722014-05-21 Doug Evans <xdje42@gmail.com>
6673
17292b30 6674 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
6675 (gdbscm_out_of_range_error): Ditto.
6676 (gdbscm_memory_error): Ditto.
250748cb
DE
6677 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
6678 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
6679 (gdbscm_out_of_range_error): Update.
6680 (gdbscm_memory_error): Update.
6681 (gdbscm_scm_to_target_string_unsafe): Delete.
6682
6a3cb8e8
PA
66832014-05-21 Pedro Alves <palves@redhat.com>
6684
6685 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
6686 globals.
6687 (inf_child_open_target): New function.
6688 (inf_child_open): Use inf_child_open_target to push the target
6689 instead of erroring out.
6690 (inf_child_disconnect, inf_child_close)
6691 (inf_child_maybe_unpush_target): New functions.
6692 (inf_child_target): Install inf_child_disconnect and
6693 inf_child_close. Store a pointer to the returned object.
6694 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
6695 declarations.
6696 * target.c (auto_connect_native_target): New global.
6697 (show_default_run_target): New function.
6698 (find_default_run_target): Return NULL if automatically connecting
6699 to the native target is disabled.
6700 (_initialize_target): Install set/show auto-connect-native-target.
6701 * NEWS: Mention "set auto-connect-native-target", and "target
6702 native".
6703 * linux-nat.c (super_close): New global.
6704 (linux_nat_close): Call super_close.
6705 (linux_nat_add_target): Store a pointer to the base class's
6706 to_close method.
6707 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
6708 inf_child_maybe_unpush.
6709 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
6710 already pushed.
6711 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
6712 the inferior. Use inf_child_maybe_unpush_target.
6713 (inf_ttrace_attach): Don't push the target if it is already
6714 pushed.
6715 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
6716 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
6717 after mourning the inferior. Use inf_child_maybe_unpush_target.
6718 (darwin_attach_pid): Don't push the target if it is already
6719 pushed.
6720 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
6721 mourning the inferior. Use inf_child_maybe_unpush_target.
6722 (gnu_detach): Use inf_child_maybe_unpush_target.
6723 * go32-nat.c (go32_create_inferior): Don't push the target if it
6724 is already pushed.
6725 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
6726 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
6727 (procfs_open): Rename to ...
6728 (procfs_open_1): ... this. Add target_ops parameter. Adjust
6729 comments. Can target_preopen before changing node. Call
6730 inf_child_open_target to push the target explicitly.
6731 (procfs_attach): Don't push the target if it is already pushed.
6732 (procfs_detach): Use inf_child_maybe_unpush_target.
6733 (procfs_create_inferior): Don't push the target if it is already
6734 pushed.
6735 (nto_native_ops): New global.
6736 (procfs_open): Reimplement.
6737 (procfs_native_open): New function.
6738 (init_procfs_targets): Install procfs_native_open as to_open of
6739 "target native". Store a pointer to the "native" target in
6740 nto_native_ops.
6741 * procfs.c (procfs_attach): Don't push the target if it is already
6742 pushed.
6743 (procfs_detach): Use inf_child_maybe_unpush_target.
6744 (procfs_mourn_inferior): Only unpush the target after mourning the
6745 inferior. Use inf_child_maybe_unpush_target.
6746 (procfs_init_inferior): Don't push the target if it is already
6747 pushed.
6748 * windows-nat.c (do_initial_windows_stuff): Don't push the target
6749 if it is already pushed.
6750
930ee1b1
PA
67512014-05-21 Pedro Alves <palves@redhat.com>
6752
6753 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
6754 and "procfs" targets are now called "native" instead.
6755
1f5d1b13
PA
67562014-05-21 Pedro Alves <palves@redhat.com>
6757
6758 * go32-nat.c (go32_open): Delete.
6759 (go32_target): Don't override the to_open method.
6760
132f8e03
PA
67612014-05-21 Pedro Alves <palves@redhat.com>
6762
6763 * nto-procfs.c (procfs_can_run): New function.
6764 (nto_procfs_ops): New global.
6765 (init_procfs_targets): New, based on procfs_target. Install
6766 "target native" in addition to "target procfs".
6767 (_initialize_procfs): Call init_procfs_targets instead of adding
6768 the target here.
6769
03c136c3
PA
67702014-05-21 Pedro Alves <palves@redhat.com>
6771
6772 * windows-nat.c (windows_target): Don't override to_shortname,
6773 to_longname or to_doc.
6774
a635d0f3
PA
67752014-05-21 Pedro Alves <palves@redhat.com>
6776
6777 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
6778 to_doc.
6779
4f9b5133
PA
67802014-05-21 Pedro Alves <palves@redhat.com>
6781
6782 * darwin-nat.c (_initialize_darwin_inferior): Don't override
6783 to_shortname, to_longname or to_doc.
6784
bc85afde
PA
67852014-05-21 Pedro Alves <palves@redhat.com>
6786
6787 * go32-nat.c (go32_target): Don't override to_shortname,
6788 to_longname or to_doc.
6789
4ebfc96e
PA
67902014-05-21 Pedro Alves <palves@redhat.com>
6791
6792 * inf-child.c (inf_child_open): Remove mention of "child".
6793 (inf_child_target): Rename target to "native" instead of "child".
6794
2648dfed
AA
67952014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6796
6797 * Makefile.in (SFILES): Delete "regset.c".
6798 (COMMON_OBS): Delete "regset.o".
6799 * regset.c: Remove.
6800 * regset.h (regset_alloc): Delete prototype.
6801
b13feb94
AA
68022014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6803
6804 * sparc-linux-tdep.c (sparc32_linux_gregset)
6805 (sparc32_linux_fpregset): New static regset structures.
6806 (sparc32_linux_init_abi): Drop dynamic regset allocations.
6807 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
6808 'fpregset' fields.
6809 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
6810 (sparc64_linux_fpregset): New static regset structures.
6811 (sparc64_linux_init_abi): Drop dynamic regset allocations.
6812 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
6813 New static regset structures.
6814 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
6815 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
6816 New static regset structures.
6817 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
6818 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
6819 New static regset structures.
6820 (sparc64obsd_init_abi): Drop dynamic regset allocations.
6821 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
6822 New static regset structures.
6823 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
6824
b4fd25c9
AA
68252014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6826
6827 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
6828 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
6829 register maps ("regmaps") from "*regset" to "*regmap". Do this
6830 for all regmap types and variables.
6831 * sparc-linux-tdep.c (sparc32_linux_step_trap)
6832 (sparc32_linux_supply_core_gregset)
6833 (sparc32_linux_collect_core_gregset)
6834 (sparc32_linux_supply_core_fpregset)
6835 (sparc32_linux_collect_core_fpregset): Likewise.
6836 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
6837 (sparc_gregmap, sparc_fpregmap): ... these.
6838 (sparc_supply_gregset, sparc_collect_gregset)
6839 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6840 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
6841 (_initialize_sparc_nat): Rename regmaps.
6842 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
6843 (sparc_gregmap, sparc_fpregmap): ... these.
6844 (sparc_supply_gregset, sparc_collect_gregset)
6845 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
6846 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
6847 Rename macros to...
6848 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
6849 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
6850 Likewise.
6851 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
6852 Rename to...
6853 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
6854 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
6855 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
6856 regmaps.
6857 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6858 (sparc32_bsd_fpregset): Rename to...
6859 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6860 (sparc32_bsd_fpregmap): ... these.
6861 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
6862 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
6863 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
6864 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
6865 (struct sparc_gregmap, struct sparc_fpregmap)
6866 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
6867 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
6868 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
6869 (sparc32_supply_regset, sparc32_collect_gregset)
6870 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
6871 prototypes.
6872 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
6873 (sparc64_linux_ptrace_gregmap): ... this.
6874 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
6875 (_initialize_sparc64_linux_nat): Rename regmaps.
6876 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
6877 (sparc64_linux_core_gregmap): ... this.
6878 (sparc64_linux_supply_core_gregset)
6879 (sparc64_linux_collect_core_gregset)
6880 (sparc64_linux_supply_core_fpregset)
6881 (sparc64_linux_collect_core_fpregset): Rename regmaps.
6882 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
6883 (sparc64_sol2_fpregset): Rename to...
6884 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
6885 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
6886 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
6887 regmaps.
6888 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
6889 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
6890 (sparc64_bsd_fpregset): Rename to...
6891 (struct sparc_gregmap, sparc64_sol2_gregmap)
6892 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
6893 (sparc64_bsd_fpregmap): ... these.
6894 (sparc64_supply_gregset, sparc64_collect_gregset)
6895 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
6896 prototypes.
6897 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
6898 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
6899 (sparc64fbsd_gregmap): ... this.
6900 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
6901 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
6902 Rename regmaps.
6903 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
6904 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
6905 (sparc64nbsd_collect_fpregset): Likewise.
6906 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
6907 (sparc64nbsd_gregmap): ... this.
6908 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
6909 regmaps.
6910 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
6911 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
6912 (sparc64obsd_gregmap): ... this.
6913 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
6914 regmaps.
6915 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
6916 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
6917 (sparc32nbsd_gregmap): ... this.
6918 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
6919 regmaps.
6920
8fea3224
AA
69212014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6922
6923 * score-tdep.c (score7_linux_gregset): New static regset
6924 structure.
6925 (score7_linux_regset_from_core_section): Remove dynamic regset
6926 allocation.
6927 (score_gdbarch_init): Drop allocation of tdep structure.
6928 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
6929
24534243
AA
69302014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6931
6932 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
6933 regset structures.
6934 (am33_regset_from_core_section): Remove dynamic regset
6935 allocations.
6936
b7195f27
AA
69372014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6938
6939 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
6940 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
6941 structures.
6942 (mips_linux_regset_from_core_section): Remove dynamic regset
6943 allocations.
6944 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6945 'gregset64', 'fpregset', and 'fpregset64'.
6946 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
6947 deleted tdep fields.
6948
ecc37a5a
AA
69492014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6950
6951 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
6952 regset structures.
6953 (amd64_regset_from_core_section): Remove dynamic regset
6954 allocations.
6955 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
6956 structure.
6957 (amd64obsd_regset_from_core_section): Remove dynamic regset
6958 allocation.
6959 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
6960 Likewise.
6961 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
6962 x86-common regset supply function.
6963 * i386-tdep.c (i386_collect_gregset): Make static.
6964 (i386_gregset): New global regset structure.
6965 (i386_fpregset, i386_xstateregset): New static regset structures.
6966 (i386_regset_from_core_section): Remove dynamic regset
6967 allocations.
6968 (i386_gdbarch_init): Remove initialization of tdep fields
6969 'gregset', 'fpregset', and 'xstateregset'.
6970 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
6971 'fpregset', and 'xstateregset'.
6972 (i386_collect_gregset): Remove prototype.
6973 (i386_gregset): New declaration.
6974 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
6975 structure.
6976 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
6977 allocation.
6978
b7611c43
AA
69792014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6980
6981 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
6982 (arm_linux_vfpregset): New static regset structures.
6983 (arm_linux_regset_from_core_section): Remove dynamic allocation of
6984 regset structures.
6985 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
6986 and 'vfpregset' fields.
6987
a069a2bd
AA
69882014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6989
6990 * aarch64-linux-tdep.c (aarch64_linux_gregset)
6991 (aarch64_linux_fpregset): New static regset structures.
6992 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
6993 of regset structures.
6994 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
6995 'fpregset' fields.
6996
09424cff
AA
69972014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
6998
6999 * regset.h (struct regset): Remove gdbarch field.
7000 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7001 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7002 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7003 Likewise.
7004 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7005 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7006 (ppc32_linux_vsxregset): Likewise.
7007 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7008 via the regcache instead of the regset.
7009 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7010 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7011 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7012 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7013 Likewise.
7014
3ca7dae4
AA
70152014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7016
7017 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7018 Constify structures.
7019 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7020 (alphanbsd_aout_gregset): Likewise.
7021 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7022 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7023 Likewise.
7024 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7025 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7026 Likewise.
7027 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7028 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7029 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7030 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7031 * m88k-tdep.c (m88k_gregset): Likewise.
7032 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7033 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7034 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7035 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7036 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7037 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7038 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7039 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7040 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7041 Likewise.
7042 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7043 * sh-tdep.h (sh_corefile_gregset): Likewise.
7044 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7045 * vax-tdep.c (vax_gregset): Likewise.
7046
5876f503
JK
70472014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7048
7049 Fix TLS access for -static -pthread.
7050 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7051 (try_thread_db_load_1): Initialize it.
7052 (thread_db_get_thread_local_address): Call it if LM is zero.
7053 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7054 * target.h (struct target_ops) (to_get_thread_local_address): Add
7055 load_module_addr comment.
7056
0256a6ac
PA
70572014-05-21 Pedro Alves <palves@redhat.com>
7058
7059 * dcache.c (dcache_read_memory_partial): If reading the cache line
7060 fails, fallback to reading just the memory the caller wanted.
7061
227533ac
DE
70622014-05-20 Doug Evans <dje@google.com>
7063
7064 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7065 instead of get_current_arch.
7066
936d2992
PA
70672014-05-20 Pedro Alves <palves@redhat.com>
7068
7069 * NEWS: Mention that compare-sections now works with all targets.
7070
7071 * remote.c (PACKET_qCRC): New enum value.
7072 (remote_verify_memory): Don't send qCRC if the target has no
7073 execution. Use packet_support/packet_ok. If the target doesn't
7074 support the qCRC packet, fallback to a deep memory copy.
7075 (compare_sections_command): Say "target image" instead of "remote
7076 executable".
7077 (_initialize_remote): Add PACKET_qCRC to the list of config
7078 packets that have no associated command. Extend comment.
7079 * target.c (simple_verify_memory, default_verify_memory): New
7080 function.
7081 * target.h (struct target_ops) <to_verify_memory>: Default to
7082 default_verify_memory.
7083 (simple_verify_memory): New declaration.
7084 * target-delegates.c: Regenerate.
7085
e59fa00f
MM
70862014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7087
7088 * record-btrace.c (record_btrace_step_thread): Check for empty history.
7089
f2205de0
HZ
70902014-05-20 Hui Zhu <hui@codesourcery.com>
7091 Yao Qi <yao@codesourcery.com>
7092
7093 PR backtrace/16558
7094 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
7095 and change address of sp and pc.
7096
c4e54771
TT
70972014-05-19 Tom Tromey <tromey@redhat.com>
7098
7099 * gdbtypes.c (rank_function): Use XNEWVEC.
7100 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
7101
73051182
DE
71022014-05-19 Doug Evans <dje@google.com>
7103
7104 * dwarf2read.c (build_type_psymtabs_1): Renamed from
7105 build_type_unit_groups and moved closer to only caller. Remove
7106 arguments. All references updated. Remove outdated .gdb_index
7107 comment.
7108 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
7109 build_type_psymtabs_1.
7110
8832e7e3
DE
71112014-05-19 Doug Evans <dje@google.com>
7112
7113 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
7114 n_type_unit_groups, all_type_unit_groups. All uses removed.
7115 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
7116 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
7117 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
7118 (add_type_unit_group_to_table): Delete.
7119
cd8ae15e
DE
71202014-05-19 Doug Evans <dje@google.com>
7121
7122 * eval.c (evaluate_subexp_standard): Add some comments.
7123
08f4850b
DE
71242014-05-17 Doug Evans <xdje42@gmail.com>
7125
7126 * progspace.c (remove_program_space): Delete, unused.
7127 * progspace.h (remove_program_space): Ditto.
7128
bed8455c
DE
71292014-05-17 Doug Evans <xdje42@gmail.com>
7130
7131 * inferior.c (prune_inferiors): Fix comment.
7132 (remove_inferior_command): Call prune_program_spaces.
7133
8d551b02
DE
71342014-05-16 Doug Evans <dje@google.com>
7135
7136 New command line option -D.
7137 * NEWS: Mention it.
7138 * main.c (set_gdb_data_directory): New function.
7139 (captured_main): Recognize -D. Flag error for --data-directory "".
7140 Call set_gdb_data_directory.
7141 (print_gdb_help): Print --data-directory, -D.
7142 * main.h (set_gdb_data_directory): Declare.
7143 * top.c (staged_gdb_datadir): New static global.
7144 (set_gdb_datadir): Call set_gdb_data_directory
7145 (show_gdb_datadir): New function.
7146 (init_main): Update init of data-directory parameter.
7147
18848e28
GF
71482014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
7149
7150 Import the "dirfd" gnulib module.
7151 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
7152 * gnulib/aclocal.m4: Update.
7153 * gnulib/config.in: Update.
7154 * gnulib/configure: Update.
7155 * gnulib/import/Makefile.am: Update.
7156 * gnulib/import/Makefile.in: Update.
7157 * gnulib/import/dirfd.c: New.
7158 * gnulib/import/m4/dirfd.m4: New.
7159 * gnulib/import/m4/gnulib-cache.m4: Update.
7160 * gnulib/import/m4/gnulib-comp.m4: Update.
7161
95c64f92
YQ
71622014-05-16 Pierre Muller <muller@sourceware.org>
7163 Yao Qi <yao@codesourcery.com>
7164
7165 * valprint.c (print_wchar): Move the code on checking whether
7166 W is a printable wide char to the default branch of switch
7167 statement below. Call wchar_printable instead of gdb_iswprint.
7168
cac395ea
TM
71692014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
7170
19679eca 7171 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
7172 ldr.w and ldrd instructions.
7173
83655187
DE
71742014-05-15 Doug Evans <dje@google.com>
7175
7176 * dwarf2read.c (read_structure_type): Delete outdated comments.
7177
dd756689
TT
71782014-05-14 Tom Tromey <tromey@redhat.com>
7179
7180 * macrocmd.c (print_macro_definition): Reindent.
7181
75ddda77
DE
71822014-05-13 Doug Evans <xdje42@gmail.com>
7183
7184 * python/py-cmd.c (cmdpy_completer): Add comment.
7185 (completers): Make const.
7186
b0f16a3e
SM
71872014-05-13 Simon Marchi <simon.marchi@ericsson.com>
7188
7189 * infrun.c (resume): Remove should_resume (unused). Move up
7190 declaration of resume_ptid.
7191
033c3379
TT
71922014-05-13 Tom Tromey <tromey@redhat.com>
7193
7194 * language.h (unop_type_check): Remove.
7195 (binop_type_check): Don't declare.
7196
9b44a3a5
AA
71972014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
7198
7199 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
7200 call to regcache_raw_collect.
7201
303a33fa
SM
72022014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7203
7204 * mi/mi-console.c (mi_console_raw_packet): Use the value from
7205 mi_console->quote as the quoting character.
7206
196100a0
SM
72072014-05-12 Simon Marchi <simon.marchi@ericsson.com>
7208
7209 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
7210
f989a1c8
TT
72112014-04-29 Tom Tromey <tromey@redhat.com>
7212
7213 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
7214 "show debug varobj".
7215
9404b58f
KM
72162014-05-07 Kyle McMartin <kyle@redhat.com>
7217
7218 Pushed by Joel Brobecker <brobecker@adacore.com>.
7219 * aarch64-tdep.c (aarch64_software_single_step): New function.
7220 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
7221 with aarch64_software_single_step.
7222
5e49ba57
JB
72232014-05-05 Joel Brobecker <brobecker@adacore.com>
7224
7225 GDB 7.7.1 released.
7226
c888a17d
KS
72272014-05-05 Keith Seitz <keiths@redhat.com>
7228
7229 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
7230 variable or history value is successfully parsed.
7231
290a839c
YQ
72322014-05-05 Yao Qi <yao@codesourcery.com>
7233 Pedro Alves <palves@redhat.com>
7234
7235 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
7236 address of blocks that intersects the requested range. Trim
7237 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
7238 sections.
7239 * ctf.c (ctf_xfer_partial): Likewise.
7240
91256dc2
YQ
72412014-05-05 Yao Qi <yao@codesourcery.com>
7242
7243 * printcmd.c (display_command): Remove the check to
7244 target_has_execution.
7245
07284463
MK
72462014-05-03 Mark Kettenis <kettenis@gnu.org>
7247
7248 * ppcobsd-nat.c: Include "obsd-nat.h".
7249 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
7250 add_target.
7251 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
7252
30a1e6cc
SDJ
72532014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7254
7255 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
7256 and 16-bit signed and unsigned arguments. Update comment.
7257 (stap_parse_probe_arguments): Extend code to handle such
7258 arguments. Use warning instead of complaint to notify about
7259 unrecognized bitness.
7260
f33da99a
SDJ
72612014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7262
7263 PR breakpoints/16889
7264 * stap-probe.c (stap_parse_probe_arguments): Simplify
7265 check for non-prefixed probes (i.e., probes whose
7266 arguments do not start with "N@"). Always set the
7267 argument type to a sane value.
7268
95cf3b38
DT
72692014-05-01 David Taylor <dtaylor@emc.com>
7270
7271 * remote.c (compare_sections_command): Add -r option to compare
7272 all loadable read-only sections.
7273
1cfdf534
SC
72742014-04-30 Siva Chandra Reddy <sivachandra@google.com>
7275
7276 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
7277 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
7278 Update all callers.
7279 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
7280 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
7281 Remove unused CORE_ADDR argument. Update all callers.
7282
ca4f7f8b
PA
72832014-04-29 Pedro Alves <palves@redhat.com>
7284
7285 * remote.c (struct packet_config) <detect>: Extend comment.
7286 (add_packet_config_cmd): Don't set the config's detect or support
7287 fields here.
7288 (init_all_packet_configs): Also initialize the config's 'detect'
7289 field.
7290 (reset_all_packet_configs_support): New function.
7291 (remote_open_1): Call reset_all_packet_configs_support instead of
7292 init_all_packet_configs.
7293 (_initialize_remote): Initialize all packet configs. Assert that
7294 all packets have an associated command, except a few known
7295 outliers.
7296
11c1ba78
JB
72972014-04-28 Joel Brobecker <brobecker@adacore.com>
7298
7299 * dwarf2read.c (read_subrange_type): Handle dynamic
7300 DW_AT_lower_bound attributes.
7301
8739bc53
JB
73022014-04-28 Joel Brobecker <brobecker@adacore.com>
7303
7304 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
7305 dynamic bounds before computing its upper bound.
7306 (ada_discrete_type_low_bound): Same as above with the lower bound.
7307
6f8a3220
JB
73082014-04-28 Joel Brobecker <brobecker@adacore.com>
7309
7310 * dwarf2read.c (is_dynamic_type): Return true for dynamic
7311 range types. Adjust the array handling implementation to
7312 take advantage of this change.
7313 (resolve_dynamic_range): New function, mostly extracted from
7314 resolve_dynamic_bounds.
7315 (resolve_dynamic_array): New function, mostly extracted from
7316 resolve_dynamic_bounds.
7317 (resolve_dynamic_bounds): Delete.
7318 (resolve_dynamic_type): Reimplement. Add handling of
7319 TYPE_CODE_RANGE types.
7320
4d072ce4
JB
73212014-04-28 Joel Brobecker <brobecker@adacore.com>
7322
7323 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
7324 handling of parallel ___XA types.
7325
52865325
JB
73262014-04-28 Joel Brobecker <brobecker@adacore.com>
7327
7328 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
7329 unnecessary second call to static_unwrap_type.
7330
433e77fa
HZ
73312014-04-27 Hui Zhu <hui@codesourcery.com>
7332
7333 * stack.c (print_frame_info): Call do_gdb_disassembly with
7334 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
7335
b51a69ee
DE
73362014-04-26 Doug Evans <xdje42@gmail.com>
7337
7338 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
7339
7ae1a6a6
PA
73402014-04-25 Pedro Alves <palves@redhat.com>
7341
7342 PR server/16255
7343 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
7344 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
7345 and newline from built string.
7346 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
7347 (linux_ptrace_attach_fail_reason): ... this.
7348 * linux-nat.c (linux_nat_attach): Adjust to use
7349 linux_ptrace_attach_fail_reason.
7350
4082afcc
PA
73512014-04-25 Pedro Alves <palves@redhat.com>
7352
7353 * remote.c (struct remote_state): Remove multi_process_aware,
7354 non_stop_aware, cond_tracepoints, cond_breakpoints,
7355 breakpoint_commands, fast_tracepoints, static_tracepoints,
7356 install_in_trace, disconnected_tracing,
7357 enable_disable_tracepoints, string_tracing, and
7358 augmented_libraries_svr4_read fields.
7359 (remote_multi_process_p): Move further below in the file.
7360 (struct packet_config): Add comments.
7361 (update_packet_config): Delete function.
7362 (show_packet_config_cmd): Use packet_config_support.
7363 (add_packet_config_cmd): Use NULL as set callback.
7364 (packet_ok): "set remote foo-packet"-style commands no longer
7365 change config->supported -- adjust.
7366 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
7367 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
7368 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
7369 (PACKET_QNonStop, PACKET_multiprocess_feature)
7370 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
7371 (PACKET_DisconnectedTracing_feature)
7372 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
7373 (set_remote_protocol_packet_cmd): Delete function.
7374 (packet_config_support, packet_support): New functions.
7375 (set_remote_protocol_Z_packet_cmd): Don't call
7376 update_packet_config.
7377 (remote_query_attached, remote_pass_signals)
7378 (remote_program_signals, remote_threads_info)
7379 (remote_threads_extra_info, remote_start_remote): Use
7380 packet_support.
7381 (remote_start_remote): Use packet_config_support and
7382 packet_support.
7383 (init_all_packet_configs): Set all packets to unknown support,
7384 instead of calling update_packet_config.
7385 (remote_check_symbols): Use packet_support.
7386 (remote_supported_packet): Unconditionally set the packet config's
7387 support status.
7388 (remote_multi_process_feature, remote_non_stop_feature)
7389 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
7390 (remote_breakpoint_commands_feature)
7391 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
7392 (remote_install_in_trace_feature)
7393 (remote_disconnected_tracing_feature)
7394 (remote_enable_disable_tracepoint_feature)
7395 (remote_string_tracing_feature)
7396 (remote_augmented_libraries_svr4_read_feature): Delete functions.
7397 (remote_protocol_features): Adjust to use remote_supported_packet
7398 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
7399 "ConditionalTracepoints", "ConditionalBreakpoints",
7400 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
7401 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
7402 "EnableDisableTracepoints", and "tracenz".
7403 (remote_query_supported): Use packet_support.
7404 (remote_open_1): Adjust.
7405 (extended_remote_attach_1): Use packet_support. Switch on the
7406 result of packet_ok instead of checking whether the packet ended
7407 up disabled.
7408 (remote_vcont_resume): Use packet_support.
7409 (remote_resume, remote_stop_ns, fetch_register_using_p)
7410 (remote_prepare_to_store, store_register_using_P)
7411 (check_binary_download, remote_write_bytes): Use packet_support.
7412 (remote_vkill): Use packet_support. Switch on the result of
7413 packet_ok instead of checking whether the packet ended up
7414 disabled.
7415 (extended_remote_supports_disable_randomization): Use
7416 packet_support.
7417 (extended_remote_run): Switch on the result of packet_ok instead
7418 of checking whether the packet ended up disabled.
7419 (remote_insert_breakpoint, remote_remove_breakpoint)
7420 (remote_insert_watchpoint, remote_remove_watchpoint)
7421 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
7422 packet_support.
7423 (remote_search_memory): Use packet_config_support.
7424 (remote_get_thread_local_address, remote_get_tib_address)
7425 (remote_hostio_send_command, remote_can_execute_reverse): Use
7426 packet_support.
7427 (remote_supports_cond_tracepoints)
7428 (remote_supports_cond_breakpoints)
7429 (remote_supports_fast_tracepoints)
7430 (remote_supports_static_tracepoints)
7431 (remote_supports_install_in_trace)
7432 (remote_supports_enable_disable_tracepoint)
7433 (remote_supports_string_tracing)
7434 (remote_can_run_breakpoint_commands): Rewrite, checking whether
7435 the packet config says the feature is enabled or disabled.
7436 (remote_download_tracepoint, remote_trace_set_readonly_regions)
7437 (remote_get_trace_status): Use packet_support.
7438 (remote_set_disconnected_tracing): Adjust to check whether the
7439 feature is enabled with packet_support.
7440 (remote_set_trace_buffer_size, remote_use_agent)
7441 (remote_can_use_agent, remote_supports_btrace): Use
7442 packet_support.
7443 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
7444 Use packet_config_support.
7445 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
7446 the packet config says the feature is enabled or disabled.
7447 (set_range_stepping): Use packet_support.
7448
bdb52a22
TT
74492014-04-25 Tom Tromey <tromey@redhat.com>
7450
7451 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
7452 argument.
7453
e9475ead
SA
74542014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
7455
7456 * NEWS: Mention support for C99 variable length arrays.
7457
82eacd52
JB
74582014-04-24 Joel Brobecker <brobecker@adacore.com>
7459
7460 * ada-lang.c (standard_exc): Expand introductory comment.
7461
01f9f808
MS
74622014-04-24 Michael Sturm <michael.sturm@mintel.com>
7463 Walfred Tedeschi <walfred.tedeschi@intel.com>
7464
7465 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
7466 AVX512 registers.
7467 (amd64_linux_read_description): Add code to handle AVX512 xstate
7468 mask and return respective tdesc.
7469 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
7470 and features/i386/x32-avx512-linux.c.
7471 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
7472 (amd64_linux_core_read_description): Add code to handle AVX512
7473 xstate mask and return respective tdesc.
7474 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
7475 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
7476 calculation.
7477 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
7478 (tdesc_amd64_avx512_linux): New prototype.
7479 (tdesc_x32_avx512_linux): Likewise.
7480 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
7481 features/i386/x32-avx512.c.
7482 (amd64_ymm_avx512_names): New register names for pseudo
7483 registers YMM16-31.
7484 (amd64_ymmh_avx512_names): New register names for raw registers
7485 YMMH16-31.
7486 (amd64_k_names): New register names for K registers.
7487 (amd64_zmmh_names): New register names for ZMM raw registers.
7488 (amd64_zmm_names): New registers names for ZMM pseudo registers.
7489 (amd64_xmm_avx512_names): New register names for XMM16-31
7490 registers.
7491 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
7492 registers.
7493 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
7494 if feature is present.
7495 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
7496 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
7497 (AMD64_NUM_REGS): Adjust to new number of registers.
7498 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
7499 registers supplied via XSTATE by AVX512 registers.
7500 (i386_linux_read_description): Add case for AVX512.
7501 * i386-linux-tdep.c: Include i386-avx512-linux.c.
7502 (i386_linux_gregset_reg_offset): Add AVX512 registers.
7503 (i386_linux_core_read_description): Add case for AVX512.
7504 (i386_linux_init_abi): Install supported register note section
7505 for AVX512.
7506 (_initialize_i386_linux_tdep): Add call to tdesc init function for
7507 AVX512.
7508 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
7509 registers to be number of zmm7h + 1.
7510 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
7511 * i386-tdep.c: Include features/i386/i386-avx512.c.
7512 (i386_zmm_names): Add ZMM pseudo register names array.
7513 (i386_zmmh_names): Add ZMM raw register names array.
7514 (i386_k_names): Add K raw register names array.
7515 (num_lower_zmm_regs): Add constant for the number of lower ZMM
7516 registers. AVX512 has 16 more ZMM registers than there are YMM
7517 registers.
7518 (i386_zmmh_regnum_p): Add function to look up register number of
7519 ZMM raw registers.
7520 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
7521 (i386_k_regnum_p): Likewise for K raw registers.
7522 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
7523 registers added by AVX512.
7524 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
7525 registers added by AVX512.
7526 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
7527 added by AVX512.
7528 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
7529 (i386_pseudo_register_name): Add ZMM pseudo registers.
7530 (i386_zmm_type): Construct and return vector registers type for ZMM
7531 registers.
7532 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
7533 ZMM0-31 pseudo registers and K registers.
7534 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
7535 and YMM16-31 registers from register cache.
7536 (i386_pseudo_register_write): Add code to write K, ZMM and
7537 YMM16-31 registers.
7538 (i386_register_reggroup_p): Add code to include/exclude AVX512
7539 registers in/from respective register groups.
7540 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
7541 registers if feature is present in xcr0.
7542 (i386_gdbarch_init): Add code to initialize AVX512 feature
7543 variables in tdep structure, wire in pseudo registers and call
7544 initialize_tdesc_i386_avx512.
7545 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
7546 variables.
7547 (i386_regnum): Add AVX512 registers.
7548 (I386_SSE_NUM_REGS): New define for number of SSE registers.
7549 (I386_AVX_NUM_REGS): Likewise for AVX registers.
7550 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
7551 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
7552 512 bits wide.
7553 (i386_xmm_avx512_regnum_p): New prototype for register look up.
7554 (i386_ymm_avx512_regnum_p): Likewise.
7555 (i386_k_regnum_p): Likewise.
7556 (i386_zmm_regnum_p): Likewise.
7557 (i386_zmmh_regnum_p): Likewise.
7558 * i387-tdep.c : Update year in copyright notice.
7559 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
7560 XSAVE buffer.
7561 (XSAVE_YMM_AVX512_ADDR): New macro.
7562 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
7563 XSAVE buffer.
7564 (XSAVE_XMM_AVX512_ADDR): New macro.
7565 (xsave_avx512_k_offset): New table for K register offsets in
7566 XSAVE buffer.
7567 (XSAVE_AVX512_K_ADDR): New macro.
7568 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
7569 in XSAVE buffer.
7570 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
7571 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
7572 buffer.
7573 (i387_collect_xsave): Add code to collect AVX512 registers from
7574 XSAVE buffer.
7575 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
7576 of XMM16-31 registers.
7577 (I387_NUM_K_REGS): New define for number of K registers.
7578 (I387_K0_REGNUM): New define for K0 register number.
7579 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
7580 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
7581 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
7582 registers.
7583 (I387_YMM16H_REGNUM): New define for YMM16H register number.
7584 (I387_XMM16_REGNUM): New define for XMM16 register number.
7585 (I387_YMM0_REGNUM): New define for YMM0 register number.
7586 (I387_KEND_REGNUM): New define for last K register number.
7587 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
7588 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
7589 number.
7590 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
7591 number.
7592 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
7593 size.
7594 * features/Makefile: Add AVX512 related files.
7595 * features/i386/32bit-avx512.xml: New file.
7596 * features/i386/64bit-avx512.xml: Likewise.
7597 * features/i386/amd64-avx512-linux.c: Likewise.
7598 * features/i386/amd64-avx512-linux.xml: Likewise.
7599 * features/i386/amd64-avx512.c: Likewise.
7600 * features/i386/amd64-avx512.xml: Likewise.
7601 * features/i386/i386-avx512-linux.c: Likewise.
7602 * features/i386/i386-avx512-linux.xml: Likewise.
7603 * features/i386/i386-avx512.c: Likewise.
7604 * features/i386/i386-avx512.xml: Likewise.
7605 * features/i386/x32-avx512-linux.c: Likewise.
7606 * features/i386/x32-avx512-linux.xml: Likewise.
7607 * features/i386/x32-avx512.c: Likewise.
7608 * features/i386/x32-avx512.xml: Likewise.
7609 * regformats/i386/amd64-avx512-linux.dat: New file.
7610 * regformats/i386/amd64-avx512.dat: Likewise.
7611 * regformats/i386/i386-avx512-linux.dat: Likewise.
7612 * regformats/i386/i386-avx512.dat: Likewise.
7613 * regformats/i386/x32-avx512-linux.dat: Likewise.
7614 * regformats/i386/x32-avx512.dat: Likewise.
7615 * NEWS: Add note about new support for AVX512.
7616
7617
08351840
PA
76182014-04-23 Pedro Alves <palves@redhat.com>
7619
7620 * breakpoint.c (insert_bp_location): Tolerate errors if the
7621 breakpoint is set in a user-loaded objfile.
7622 (remove_breakpoint_1): Likewise. Also tolerate errors if the
7623 location is marked shlib_disabled. If the breakpoint is set in a
7624 user-loaded objfile is a GDB-side memory breakpoint, validate it
7625 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
7626 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
7627 flag.
7628 * mem-break.c (memory_validate_breakpoint): New function.
7629 * objfiles.c (userloaded_objfile_contains_address_p): New
7630 function.
7631 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
7632 * target.h (memory_validate_breakpoint): New declaration.
7633
076855f9
PA
76342014-04-23 Pedro Alves <palves@redhat.com>
7635
7636 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
7637 the breakpoint is set in a shared library, only suppress
7638 errors for software breakpoints, not hardware breakpoints.
7639
483805cf
PA
76402014-04-22 Pedro Alves <palves@redhat.com>
7641
7642 * infrun.c (schedlock_applies): New function, factored out from
7643 find_thread_needs_step_over.
7644 (find_thread_needs_step_over): Use it.
7645 (switch_back_to_stepped_thread): Always clear trap_expected if the
7646 step over is finished. Return early if scheduler locking applies.
7647 Look for the stepping thread and a potential step-over thread with
7648 a single loop.
7649 (currently_stepping_or_nexting_callback): Delete.
7650
a75fef0e
NC
76512014-04-22 Nick Clifton <nickc@redhat.com>
7652
7653 * NEWS: Mention that ARM sim now supports tracing.
7654
48b6e87e
YQ
76552014-04-22 Yao Qi <yao@codesourcery.com>
7656
7657 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
7658 to ...
7659 * tracefile.c (tracefile_fetch_registers): ... it. New
7660 function.
7661 * tracefile.h (tracefile_fetch_registers): Declare.
7662 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
7663 tracefile_fetch_registers.
7664
17617f2d
EZ
76652014-04-19 Eli Zaretskii <eliz@gnu.org>
7666
7667 PR gdb/14018
7668 * windows-nat.c (thread_rec): Don't display a warning when
7669 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
7670 fails for any reason, set th->suspended to -1, so that we don't
7671 try to resume such a thread. Also, don't return NULL in these
7672 cases, to avoid completely ruin the session due to "PC register is
7673 not available" error.
7674 (do_windows_fetch_inferior_registers): Check errors in
7675 GetThreadContext call.
7676 (windows_continue): Accept an additional argument KILLED; if not
7677 zero, ignore errors in the SetThreadContext call, since the
7678 inferior was killed and is shutting down.
7679 (windows_resume, get_windows_debug_event)
7680 (windows_create_inferior, windows_mourn_inferior)
7681 (windows_kill_inferior): All callers of windows_continue changed
7682 to adjust to its new calling sequence.
7683
5723a6fd
YQ
76842014-04-19 Yao Qi <yao@codesourcery.com>
7685
7686 * ctf.c (ctf_open): Call post_create_inferior.
7687
614d5099
YQ
76882014-04-19 Yao Qi <yao@codesourcery.com>
7689
7690 * ctf.c (handle_id): New static variable.
7691 (ctf_open_dir): Get handle_id from bt_context_add_trace return
7692 value. Get the declaration of event "register" and get length
7693 of field "contents".
7694
dac3e710
YQ
76952014-04-19 Yao Qi <yao@codesourcery.com>
7696
7697 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
7698
2bca57ba
SC
76992014-04-18 Siva Chandra Reddy <sivachandra@google.com>
7700
7701 * valops.c (oload_method_static): Remove unnecessary argument
7702 METHOD. Update all callers.
7703
51d48146
PA
77042014-04-18 Pedro alves <palves@redhat.com>
7705 Tom Tromey <tromey@redhat.com>
7706
7707 PR backtrace/15558
7708 * frame.c (get_prev_frame_1): Rename to ...
7709 (get_prev_frame_always): ... this, and make extern. Adjust.
7710 (skip_artificial_frames): Use get_prev_frame_always.
7711 (frame_unwind_caller_id, frame_pop, get_prev_frame)
7712 (get_frame_unwind_stop_reason): Adjust to rename.
7713 * frame.h (get_prev_frame_always): Declare.
7714 * inline-frame.c: Include frame.h.
7715 (inline_frame_this_id): Use get_prev_frame_always.
7716
1bdad2e0
TG
77172014-04-18 Tristan Gingold <gingold@adacore.com>
7718
7719 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
7720 code by using bfd_mach_o_get_base_address.
7721
7ce16bd4
UW
77222014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7723
7724 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
7725 (spu_ax_pseudo_register_collect): New function.
7726 (spu_ax_pseudo_register_push_stack): Likewise.
7727 (spu_dwarf_reg_to_regnum): Likewise.
7728 (spu_gdbarch_init): Install them. Append DWARF unwinders.
7729
2ed3c037
UW
77302014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
7731
7732 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
7733 Replace FRAME argument with FRAME_ID.
7734 * gdbarch.c, gdbarch.h: Regenerate.
7735 * findvar.c (default_value_from_register): Add GDBARCH argument;
7736 replace FRAME by FRAME_ID. No longer call get_frame_id.
7737 (value_from_register): Update call to gdbarch_value_from_register.
7738 * value.h (default_value_from_register): Update prototype.
7739 * s390-linux-tdep.c (s390_value_from_register): Update interface
7740 and call to default_value_from_register.
7741 * spu-tdep.c (spu_value_from_register): Likewise.
7742
7743 * findvar.c (address_from_register): Remove TYPE argument.
7744 Do not call value_from_register; use gdbarch_value_from_register
7745 with null_frame_id instead.
7746 * value.h (address_from_register): Update prototype.
7747 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
7748 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
7749 address_from_register interface change.
7750
71e50e83
YQ
77512014-04-17 Yao Qi <yao@codesourcery.com>
7752
7753 * gdbtypes.h: Update comments to link to types and macros'
7754 definitions.
7755
7a23c549
SC
77562014-04-16 Siva Chandra Reddy <sivachandra@google.com>
7757
7758 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
7759
22869d73
KS
77602014-04-16 Keith Seitz <keiths@redhat.com>
7761
7762 PR gdb/15827
7763 * dwarf2read.c (skip_one_die): Check that all relative-offset
7764 sibling DIEs fall within range of the current reader's buffer.
7765 (read_partial_die): Likewise.
7766
c4f87ca6
KS
77672014-04-16 Keith Seitz <keiths@redhat.com>
7768
7769 PR c++/16597
7770 * cp-namespace.c (lookup_symbol_file): If the type name of
7771 `this' is NULL, return immediately.
7772
b50c8614
KS
77732014-04-14 Keith Seitz <keiths@redhat.com>
7774
7775 PR c++/16253
7776 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
7777 from symbol_matches_domain in symtab.c. All local callers
7778 of symbol_matches_domain updated.
7779 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
7780 search STRUCT_DOMAIN.
7781 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
7782 independently. standard_lookup will do that automatically.
7783 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
7784 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7785 (cp_lookup_symbol_in_namespace): Likewise.
7786 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
7787 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
7788 may return a STRUCT_DOMAIN match.
7789 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
7790 * cp-support.c: Include language.h.
7791 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
7792 VAR_DOMAIN.
7793 * psymtab.c (match_partial_symbol): Compare the requested
7794 domain with the symbol's domain directly.
7795 (lookup_partial_symbol): Likewise.
7796 * symtab.c (lookup_symbol_in_language): Explain when/why
7797 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
7798 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
7799 appropriate languages.
7800 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
7801 and moved to ada-lang.c
7802 (lookup_block_symbol): Explain that this function only returns
7803 symbol matching the requested DOMAIN.
7804 Compare the requested domain with the symbol's domain directly.
7805 (iterate_over_symbols): Compare the requested domain with the
7806 symbol's domain directly.
7807 * symtab.h (symbol_matches_domain): Remove.
7808
3d567982
TT
78092014-04-14 Tom Tromey <tromey@redhat.com>
7810
7811 PR c++/15246:
7812 * c-exp.y (type_aggregate_p): New function.
7813 (qualified_name, classify_inner_name): Use it.
7814 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
7815 and TYPE_TARGET_TYPE of an enum type.
7816 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
7817 an enum type.
7818 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
7819 handle TYPE_DECLARED_CLASS.
7820 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
7821 types.
7822 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
7823 * valops.c (enum_constant_from_type): New function.
7824 (value_aggregate_elt): Use it.
7825 * cp-namespace.c (cp_lookup_nested_symbol): Handle
7826 TYPE_CODE_ENUM.
7827
c848d642
TT
78282014-04-14 Tom Tromey <tromey@redhat.com>
7829
7830 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
7831 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
7832 const.
7833 * value.h (value_aggregate_elt): Update.
7834
0626fc76
TT
78352014-04-14 Tom Tromey <tromey@redhat.com>
7836
7837 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
7838
5ecaaa66
SA
78392014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7840
7841 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7842 (evaluate_subexp_standard): Pass noside argument.
7843 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7844 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7845 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7846 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7847 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7848
1612e0c0
SA
78492014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7850
7851 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7852 points to a constant blob.
7853
c451ebe5
SA
78542014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7855
7856 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7857 property and store it as the high bound and flag the range accordingly.
7858 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7859 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7860 * gdbtypes.h (enum range_flags): New enum.
7861 (struct range_bounds): Add flags member.
7862
1d42e4c4
SA
78632014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7864
7865 * c-typeprint.c (c_type_print_varspec_suffix): Added
7866 check for not yet resolved high bound. If unresolved, print
7867 "variable length" string to the console instead of random
7868 length.
7869
9f1f738a
SA
78702014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7871
7872 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
7873 value.
7874 (ada_template_to_fixed_record_type_1): Likewise.
7875 (ada_to_fixed_type_1): Likewise.
7876 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7877 (cp_print_value): Likewise.
7878 * d-valprint.c (dynamic_array_type): Likewise.
7879 * findvar.c (address_of_variable): Likewise.
7880 * jv-valprint.c (java_value_print): Likewise.
7881 * valops.c (value_ind): Likewise.
7882 * value.c (coerce_ref): Likewise.
7883
3c8452d4
SA
78842014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7885
7886 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7887 value and retrieve the dynamic type size.
7888
4ad88275
SA
78892014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7890
7891 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7892 passed to sizeof is dynamic evaluate the argument to compute the length.
7893
80180f79
SA
78942014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7895 Joel Brobecker <brobecker@adacore.com>
7896
7897 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7898 (dwarf2_evaluate_property): New function.
7899 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7900 * dwarf2read.c (attr_to_dynamic_prop): New function.
7901 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7902 attribute.
7903 * gdbtypes.c: Include dwarf2loc.h.
7904 (is_dynamic_type): New function.
7905 (resolve_dynamic_type): New function.
7906 (resolve_dynamic_bounds): New function.
7907 (get_type_length): New function.
7908 (check_typedef): Use get_type_length to compute type length.
7909 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7910 (TYPE_LOW_BOUND_KIND): New macro.
7911 (is_dynamic_type): New function prototype.
7912 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7913 to resolve dynamic properties of the type. Update comment.
7914 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7915
a1556843
RH
79162014-04-14 Richard Henderson <rth@redhat.com>
7917
7918 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
7919
0be03e84
DE
79202014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7921 Doug Evans <xdje42@gmail.com>
7922
7923 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
7924 dereference TYPE_CODE_REF values.
7925
6b662e19
JB
79262014-04-11 Joel Brobecker <brobecker@adacore.com>
7927
7928 Revert the following changes due to regressions:
7929
7930 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
7931 (dwarf2_evaluate_property): New function.
7932 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
7933 * dwarf2read.c (attr_to_dynamic_prop): New function.
7934 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
7935 attribute.
7936 * gdbtypes.c: Include dwarf2loc.h.
7937 (is_dynamic_type): New function.
7938 (resolve_dynamic_type): New function.
7939 (resolve_dynamic_bounds): New function.
7940 (get_type_length): New function.
7941 (check_typedef): Use get_type_length to compute type length.
7942 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
7943 (TYPE_LOW_BOUND_KIND): New macro.
7944 (is_dynamic_type): New function prototype.
7945 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
7946 to resolve dynamic properties of the type. Update comment.
7947 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
7948
7949 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
7950 passed to sizeof is dynamic evaluate the argument to compute the length.
7951
7952 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
7953 value and retrieve the dynamic type size.
7954
7955 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
7956 (ada_template_to_fixed_record_type_1): Likewise.
7957 (ada_to_fixed_type_1): Likewise.
7958 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
7959 (cp_print_value): Likewise.
7960 * d-valprint.c (dynamic_array_type): Likewise.
7961 * eval.c (evaluate_subexp_with_coercion): Likewise.
7962 * findvar.c (address_of_variable): Likewise.
7963 * jv-valprint.c (java_value_print): Likewise.
7964 * valops.c (value_ind): Likewise.
7965 * value.c (coerce_ref): Likewise.
7966
7967 * c-typeprint.c (c_type_print_varspec_suffix): Added
7968 check for not yet resolved high bound. If unresolved, print
7969 "variable length" string to the console instead of random
7970 length.
7971
7972 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
7973 property and store it as the high bound and flag the range accordingly.
7974 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
7975 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
7976 * gdbtypes.h (enum range_flags): New enum.
7977 (struct range_bounds): Add flags member.
7978
7979 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
7980 points to a constant blob.
7981
7982 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
7983 (evaluate_subexp_standard): Pass noside argument.
7984 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
7985 if noside equals EVAL_NORMAL. If the subscript yields a vla type
7986 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
7987 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
7988 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
7989
245a5f0b
KS
79902014-04-11 Keith Seitz <keiths@redhat.com>
7991
7992 PR c++/16675
7993 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
7994 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
7995 reference types.
7996
3bce8237
SA
79972014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7998
7999 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8000 (evaluate_subexp_standard): Pass noside argument.
8001 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8002 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8003 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8004 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8005 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8006
92b09522
SA
80072014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8008
8009 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8010 points to a constant blob.
8011
e1969afb
SA
80122014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8013
8014 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8015 property and store it as the high bound and flag the range accordingly.
8016 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8017 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8018 * gdbtypes.h (enum range_flags): New enum.
8019 (struct range_bounds): Add flags member.
8020
b86138fb
SA
80212014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8022
8023 * c-typeprint.c (c_type_print_varspec_suffix): Added
8024 check for not yet resolved high bound. If unresolved, print
8025 "variable length" string to the console instead of random
8026 length.
8027
bcd629a4
SA
80282014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8029
8030 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8031 (ada_template_to_fixed_record_type_1): Likewise.
8032 (ada_to_fixed_type_1): Likewise.
8033 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8034 (cp_print_value): Likewise.
8035 * d-valprint.c (dynamic_array_type): Likewise.
8036 * eval.c (evaluate_subexp_with_coercion): Likewise.
8037 * findvar.c (address_of_variable): Likewise.
8038 * jv-valprint.c (java_value_print): Likewise.
8039 * valops.c (value_ind): Likewise.
8040 * value.c (coerce_ref): Likewise.
8041
04b19544
SA
80422014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8043
8044 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8045 value and retrieve the dynamic type size.
8046
26cb189f
SA
80472014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8048
8049 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8050 passed to sizeof is dynamic evaluate the argument to compute the length.
8051
37c1ab67
SA
80522014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8053
8054 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8055 (dwarf2_evaluate_property): New function.
8056 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8057 * dwarf2read.c (attr_to_dynamic_prop): New function.
8058 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8059 attribute.
8060 * gdbtypes.c: Include dwarf2loc.h.
8061 (is_dynamic_type): New function.
8062 (resolve_dynamic_type): New function.
8063 (resolve_dynamic_bounds): New function.
8064 (get_type_length): New function.
8065 (check_typedef): Use get_type_length to compute type length.
8066 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8067 (TYPE_LOW_BOUND_KIND): New macro.
8068 (is_dynamic_type): New function prototype.
8069 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8070 to resolve dynamic properties of the type. Update comment.
8071 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8072
729efb13
SA
80732014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8074
8075 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8076 declaring high/low bounds and change uses accordingly. Call
8077 create_range_type instead of create_static_range_type.
8078 * gdbtypes.c (create_range_type): New function.
8079 (create_range_type): Convert bounds into struct bound_prop and pass
8080 them to create_range_type.
8081 * gdbtypes.h (struct bound_prop): New struct.
8082 (create_range_type): New function prototype.
8083 (struct range_bounds): Use struct bound_prop instead of LONGEST for
8084 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
8085 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
8086 part of the bound.
8087 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
8088
0c9c3474
SA
80892014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8090
8091 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
8092 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
8093 * ada-lang.c: All uses of create_range_type updated.
8094 * coffread.c: All uses of create_range_type updated.
8095 * dwarf2read.c: All uses of create_range_type updated.
8096 * f-exp.y: All uses of create_range_type updated.
8097 * m2-valprint.c: All uses of create_range_type updated.
8098 * mdebugread.c: All uses of create_range_type updated.
8099 * stabsread.c: All uses of create_range_type updated.
8100 * valops.c: All uses of create_range_type updated.
8101 * valprint.c: All uses of create_range_type updated.
8102
9d497a19
PA
81032014-04-10 Pedro Alves <palves@redhat.com>
8104
8105 * breakpoint.c (single_step_breakpoints)
8106 (single_step_gdbarch): Move up in the file.
8107 (one_breakpoint_xfer_memory): New function, factored out from ...
8108 (breakpoint_xfer_memory): ... here. Also process single-step
8109 breakpoints.
8110
15a9128a
TG
81112014-04-09 Tristan Gingold <gingold@adacore.com>
8112
8113 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
8114 comments.
8115 (darwin_decode_exception_message): Free port only after use.
8116
9c97a070
PL
81172014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
8118
8119 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
8120 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
8121 when setting the size of call_length.
8122
7af389b8
SC
81232014-04-07 Siva Chandra Reddy <sivachandra@google.com>
8124
8125 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
8126 dereference TYPE_CODE_REF values.
8127
86ad98c3
JB
81282014-04-07 Joel Brobecker <brobecker@adacore.com>
8129
8130 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
8131 end of warning message.
8132
b0aeadb3
DE
81332014-04-03 Doug Evans <dje@google.com>
8134
8135 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
8136 of stub_comp_unit_die, stub_comp_dir is non-NULL.
8137
5979d6b6
AM
81382014-04-02 Alan Modra <amodra@gmail.com>
8139
8140 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
8141 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
8142 (struct symbol_file_add_from_memory_args): Add size field.
8143 (find_vdso_size): New function.
8144 (add_vsyscall_page): Attempt to find vdso size.
8145
0d60c288
DE
81462014-04-01 Doug Evans <dje@google.com>
8147
8148 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
8149
a41f2563
TG
81502014-04-01 Tristan Gingold <gingold@adacore.com>
8151
8152 * darwin-nat.c (darwin_encode_reply): Add prototype.
8153 (darwin_decode_exception_message): Reply to unknown inferiors.
8154 (darwin_decode_message): Handle message by id. Ignore message
8155 to unknown inferior.
8156 (darwin_wait): Discard unknown messages, add debug trace.
8157
11a865c8
DE
81582014-03-31 Doug Evans <dje@google.com>
8159
8160 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
8161 comp_dir_string.
8162
770e7fc7
DE
81632014-03-31 Doug Evans <dje@google.com>
8164
8165 New option "set print symbol-loading".
8166 * NEWS: Mention it.
8167 * solib.c (solib_read_symbols): Only print symbol loading messages
8168 if requested.
8169 (solib_add): If symbol loading is in "brief" mode, notify user
8170 symbols are being loaded.
8171 (reload_shared_libraries_1): Ditto.
8172 * symfile.c (print_symbol_loading_off): New static global.
8173 (print_symbol_loading_brief): New static global.
8174 (print_symbol_loading_full): New static global.
8175 (print_symbol_loading_enums): New static global.
8176 (print_symbol_loading): New static global.
8177 (print_symbol_loading_p): New function.
8178 (symbol_file_add_with_addrs): Only print symbol loading messages
8179 if requested.
8180 (_initialize_symfile): Register "print symbol-loading" set/show
8181 command.
8182 * symfile.h (print_symbol_loading_p): Declare.
8183
c32c64b7
DE
81842014-03-30 Doug Evans <xdje42@gmail.com>
8185
8186 * infrun.c (set_last_target_status): New function.
8187 (handle_inferior_event): Call it.
8188
7c0bc051
DE
81892014-03-30 Doug Evans <xdje42@gmail.com>
8190
8191 * inferior.h (enum stop_kind): Improve comment.
8192
8776cfe9
JB
81932014-03-28 Joel Brobecker <brobecker@adacore.com>
8194
8195 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
8196 a reference, strip the reference layer before calling
8197 the lang_ops value_has_mutated callback.
8198
410a0ff2
SDJ
81992014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
8200
8201 Remove some globals from our parser.
8202 * language.c (unk_lang_parser): Add "struct parser_state"
8203 argument.
8204 * language.h (struct language_defn) <la_parser>: Likewise.
8205 * parse.c (expout, expout_size, expout_ptr): Remove variables.
8206 (initialize_expout): Add "struct parser_state" argument.
8207 Rewrite function to use the parser state.
8208 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
8209 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
8210 write_exp_elt_longcst, write_exp_elt_dblcst,
8211 write_exp_elt_decfloatcst, write_exp_elt_type,
8212 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8213 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
8214 write_dollar_variable): Likewise.
8215 (parse_exp_in_context_1): Use parser state.
8216 (insert_type_address_space): Add "struct parser_state" argument.
8217 Use parser state.
8218 (increase_expout_size): New function.
8219 * parser-defs.h: Forward declare "struct language_defn" and
8220 "struct parser_state".
8221 (expout, expout_size, expout_ptr): Remove extern declarations.
8222 (parse_gdbarch, parse_language): Rewrite macro declarations to
8223 accept the parser state.
8224 (struct parser_state): New struct.
8225 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
8226 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
8227 write_exp_elt_decfloatcst, write_exp_elt_type,
8228 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
8229 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
8230 write_exp_msymbol, write_dollar_variable,
8231 mark_struct_expression, insert_type_address_space): Add "struct
8232 parser_state" argument.
8233 (increase_expout_size): New function.
8234 * utils.c (do_clear_parser_state): New function.
8235 (make_cleanup_clear_parser_state): Likewise.
8236 * utils.h (make_cleanup_clear_parser_state): New function
8237 prototype.
8238 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
8239 Update calls to write_exp* in order to pass the parser state.
8240 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
8241 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
8242 (i386_stap_parse_special_token_three_arg_disp): Likewise.
8243 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
8244 * stap-probe.c (stap_parse_register_operand): Likewise.
8245 (stap_parse_single_operand): Likewise.
8246 (stap_parse_argument_1): Likewise.
8247 (stap_parse_argument): Use parser state.
8248 * stap-probe.h: Include "parser-defs.h".
8249 (struct stap_parse_info) <pstate>: New field.
8250 * c-exp.y (parse_type): Rewrite to use parser state.
8251 (yyparse): Redefine to c_parse_internal.
8252 (pstate): New global variable.
8253 (parse_number): Add "struct parser_state" argument.
8254 (write_destructor_name): Likewise.
8255 (type_exp): Update calls to write_exp* and similars in order to
8256 use parser state.
8257 (exp1, exp, variable, qualified_name, space_identifier,
8258 typename, typebase): Likewise.
8259 (write_destructor_name, parse_number, lex_one_token,
8260 classify_name, classify_inner_name, c_parse): Add "struct
8261 parser_state" argument. Update function to use parser state.
8262 * c-lang.h: Forward declare "struct parser_state".
8263 (c_parse): Add "struct parser_state" argument.
8264 * ada-exp.y (parse_type): Rewrite macro to use parser state.
8265 (yyparse): Redefine macro to ada_parse_internal.
8266 (pstate): New variable.
8267 (write_int, write_object_renaming, write_var_or_type,
8268 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
8269 type_int, type_long, type_long_long, type_float, type_double,
8270 type_long_double, type_char, type_boolean, type_system_address):
8271 Add "struct parser_state" argument.
8272 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
8273 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
8274 var_or_type, aggregate, aggregate_component_list,
8275 positional_list, others, component_group,
8276 component_associations): Update calls to write_exp* and similar
8277 functions in order to use parser state.
8278 (ada_parse, write_var_from_sym, write_int,
8279 write_exp_op_with_string, write_object_renaming,
8280 find_primitive_type, write_selectors, write_ambiguous_var,
8281 write_var_or_type, write_name_assoc, type_int, type_long,
8282 type_long_long, type_float, type_double, type_long_double,
8283 type_char, type_boolean, type_system_address): Add "struct
8284 parser_state" argument. Adjust function to use parser state.
8285 * ada-lang.c (parse): Likewise.
8286 * ada-lang.h: Forward declare "struct parser_state".
8287 (ada_parse): Add "struct parser_state" argument.
8288 * ada-lex.l (processInt, processReal): Likewise. Adjust all
8289 calls to both functions.
8290 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
8291 parser state.
8292 (yyparse): Redefine macro to f_parse_internal.
8293 (pstate): New variable.
8294 (parse_number): Add "struct parser_state" argument.
8295 (type_exp, exp, subrange, typebase): Update calls to write_exp*
8296 and similars in order to use parser state.
8297 (parse_number): Adjust code to use parser state.
8298 (yylex): Likewise.
8299 (f_parse): New function.
8300 * f-lang.h: Forward declare "struct parser_state".
8301 (f_parse): Add "struct parser_state" argument.
8302 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
8303 parser state.
8304 (yyparse): Redefine macro for java_parse_internal.
8305 (pstate): New variable.
8306 (push_expression_name, push_expression_name, insert_exp): Add
8307 "struct parser_state" argument.
8308 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
8309 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
8310 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
8311 PostIncrementExpression, PostDecrementExpression,
8312 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
8313 UnaryExpressionNotPlusMinus, CastExpression,
8314 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
8315 RelationalExpression, EqualityExpression, AndExpression,
8316 ExclusiveOrExpression, InclusiveOrExpression,
8317 ConditionalAndExpression, ConditionalOrExpression,
8318 ConditionalExpression, Assignment, LeftHandSide): Update
8319 calls to write_exp* and similars in order to use parser state.
8320 (parse_number): Ajust code to use parser state.
8321 (yylex): Likewise.
8322 (java_parse): New function.
8323 (push_variable): Add "struct parser_state" argument. Adjust
8324 code to user parser state.
8325 (push_fieldnames, push_qualified_expression_name,
8326 push_expression_name, insert_exp): Likewise.
8327 * jv-lang.h: Forward declare "struct parser_state".
8328 (java_parse): Add "struct parser_state" argument.
8329 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
8330 parser state.
8331 (yyparse): Redefine macro to m2_parse_internal.
8332 (pstate): New variable.
8333 (type_exp, exp, fblock, variable, type): Update calls to
8334 write_exp* and similars to use parser state.
8335 (yylex): Likewise.
8336 (m2_parse): New function.
8337 * m2-lang.h: Forward declare "struct parser_state".
8338 (m2_parse): Add "struct parser_state" argument.
8339 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
8340 * objc-lang.h: Forward declare "struct parser_state".
8341 (end_msglist): Add "struct parser_state" argument.
8342 * p-exp.y (parse_type): Rewrite macro to use parser state.
8343 (yyparse): Redefine macro to pascal_parse_internal.
8344 (pstate): New variable.
8345 (parse_number): Add "struct parser_state" argument.
8346 (type_exp, exp1, exp, qualified_name, variable): Update calls to
8347 write_exp* and similars in order to use parser state.
8348 (parse_number, yylex): Adjust code to use parser state.
8349 (pascal_parse): New function.
8350 * p-lang.h: Forward declare "struct parser_state".
8351 (pascal_parse): Add "struct parser_state" argument.
8352 * go-exp.y (parse_type): Rewrite macro to use parser state.
8353 (yyparse): Redefine macro to go_parse_internal.
8354 (pstate): New variable.
8355 (parse_number): Add "struct parser_state" argument.
8356 (type_exp, exp1, exp, variable, type): Update calls to
8357 write_exp* and similars in order to use parser state.
8358 (parse_number, lex_one_token, classify_name, yylex): Adjust code
8359 to use parser state.
8360 (go_parse): Likewise.
8361 * go-lang.h: Forward declare "struct parser_state".
8362 (go_parse): Add "struct parser_state" argument.
8363
342587c4
DE
83642014-03-27 Doug Evans <dje@google.com>
8365
8366 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
8367
33e80786
DE
83682014-03-27 Doug Evans <dje@google.com>
8369
8370 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
8371 Remove argument abbrev_section. All callers updated.
8372
1dbab08b
DE
83732014-03-27 Doug Evans <dje@google.com>
8374
8375 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
8376 addr_base, ranges_base.
8377
318d3177
KS
83782014-03-26 Keith Seitz <keiths@redhat.com>
8379
8380 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
8381 types, not VAR_DOMAIN.
8382
1e54db15
SL
83832014-03-25 Sandra Loosemore <sandra@codesourcery.com>
8384
8385 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
8386 "ra" registers.
8387 * features/nios2-linux.c: Regenerated.
8388 * features/nios2.c: Regenerated.
8389
d3839ede
PA
83902014-03-25 Pedro Alves <palves@redhat.com>
8391
8392 * cli/cli-script.c (script_from_file): Force the interpreter to
8393 sync mode.
8394
7588d2ec
PL
83952014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
8396
8397 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
8398 small stack allocation.
8399
a6290449
TG
84002014-03-24 Tristan Gingold <gingold@adacore.com>
8401
8402 * darwin-nat.c (exc_server): Remove unused prototype.
8403 (darwin_dump_message): Correctly display data on x86_64.
8404 (darwin_encode_reply): Fix style.
8405 Add comments and fix indentation.
8406
31ae9d24 84072014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
8408
8409 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
8410
6339bfc4
DE
84112014-03-22 Doug Evans <xdje42@gmail.com>
8412
8413 * infcmd.c: Whitespace fixes.
8414 (interrupt_command): Merge two function comments into one.
8415
0a07590b
DE
84162014-03-22 Doug Evans <xdje42@gmail.com>
8417
8418 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
8419 All uses updated.
8420
b55fbac4
YQ
84212014-03-22 Yao Qi <yao@codesourcery.com>
8422
8423 * remote.c (target_read_live_memory): Remove.
8424 (memory_xfer_live_readonly_partial): Rename it to
8425 remote_xfer_live_readonly_partial. Remove argument 'object'.
8426 All callers updated. Call remote_read_bytes_1
8427 instead of target_read_live_memory.
8428 * tracepoint.c (set_traceframe_number): Remove.
8429 (make_cleanup_restore_traceframe_number): Likewise .
8430 * tracepoint.h (set_traceframe_number): Remove declaration.
8431 (make_cleanup_restore_traceframe_number): Likewise.
8432
9217e74e
YQ
84332014-03-22 Yao Qi <yao@codesourcery.com>
8434
8435 * remote.c (remote_read_bytes): Move code on reading from the
8436 remote stub to ...
8437 (remote_read_bytes_1): ... here. New function.
8438
8acf9577
YQ
84392014-03-22 Yao Qi <yao@codesourcery.com>
8440
8441 * ctf.c (ctf_xfer_partial): Check the return value of
8442 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
8443 return TARGET_XFER_UNAVAILABLE.
8444 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
8445 * target.c (target_read_live_memory): Move it to remote.c.
8446 (memory_xfer_live_readonly_partial): Likewise.
8447 (memory_xfer_partial_1): Move some code to remote_read_bytes.
8448 * remote.c (target_read_live_memory): Moved from target.c.
8449 (memory_xfer_live_readonly_partial): Likewise.
8450 (remote_read_bytes): Factored out from
8451 memory_xfer_partial_1.
8452
feef67ab
DE
84532014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
8454
8455 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
8456 NULL pointer.
8457
b65dc60b
PA
84582014-03-21 Pedro Alves <palves@redhat.com>
8459
8460 * infrun.c (normal_stop): Extend comment.
8461
b4ab256d
HZ
84622014-03-21 Hui Zhu <hui@codesourcery.com>
8463 Pedro Alves <palves@redhat.com>
8464
8465 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
8466 static buffer.
8467 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
8468 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
8469 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
8470
deba7593
MR
84712014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
8472
8473 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
8474 `z' formatted output modifier.
8475
1bff71c3
SDJ
84762014-03-20 Tom Tromey <tromey@redhat.com>
8477 Sergio Durigan Junior <sergiodj@redhat.com>
8478
8479 * probe.c (parse_probes): Turn assert into an ordinary error.
8480 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
8481 exceptions when parsing probes. Rearrange the code for clarity.
8482
90e28950
TT
84832014-03-20 Tom Tromey <tromey@redhat.com>
8484
8485 PR gdb/14135
8486 * top.c (execute_command): Only dispatch events if the command
8487 started the target.
8488
beb460e8
PA
84892014-03-20 Tom Tromey <tromey@redhat.com>
8490
8491 PR cli/15718
8492 * infcall.c: Include event-top.h.
8493 (run_inferior_call): Call async_disable_stdin if needed.
8494
99619bea
PA
84952014-03-20 Pedro Alves <palves@redhat.com>
8496
8497 * infrun.c (prepare_to_proceed): Delete.
8498 (thread_still_needs_step_over): New function.
8499 (find_thread_needs_step_over): New function.
8500 (proceed): If the current thread needs a step-over, set its
8501 steping_over_breakpoint flag. Adjust to use
8502 find_thread_needs_step_over instead of prepare_to_proceed.
8503 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
8504 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
8505 breakpoint.
8506 (switch_back_to_stepped_thread): Step over breakpoints of all
8507 threads not the stepping thread, before switching back to the
8508 stepping thread.
8509
2adfaa28
PA
85102014-03-20 Pedro Alves <palves@redhat.com>
8511
8512 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
8513 extern.
8514 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
8515 * infrun.c (saved_singlestep_ptid)
8516 (stepping_past_singlestep_breakpoint): Delete.
8517 (resume): Remove stepping_past_singlestep_breakpoint handling.
8518 (proceed): Store the prev_pc of the stepping thread too.
8519 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
8520 singlestep_pc.
8521 (enum infwait_states): Delete infwait_thread_hop_state.
8522 (struct execution_control_state) <hit_singlestep_breakpoint>: New
8523 field.
8524 (handle_inferior_event): Adjust.
8525 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
8526 handling and the thread-hop code. Before removing single-step
8527 breakpoints, check whether the thread hit a single-step breakpoint
8528 of another thread. If it did, the trap is not a random signal.
8529 (switch_back_to_stepped_thread): If the event thread hit a
8530 single-step breakpoint, unblock it before switching to the
8531 stepping thread. Handle the case of the stepped thread having
8532 advanced already.
8533 (keep_going): Handle the case of the current thread moving past a
8534 single-step breakpoint.
8535
31e77af2
PA
85362014-03-20 Pedro Alves <palves@redhat.com>
8537
8538 PR breakpoints/7143
8539 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
8540 are being stepped over.
8541 (breakpoint_address_match): Make extern.
8542 * breakpoint.h (breakpoint_address_match): New declaration.
8543 * inferior.h (stepping_past_instruction_at): New declaration.
8544 * infrun.c (struct step_over_info): New type.
8545 (step_over_info): New global.
8546 (set_step_over_info, clear_step_over_info)
8547 (stepping_past_instruction_at): New functions.
8548 (handle_inferior_event): Clear the step-over info when
8549 trap_expected is cleared.
8550 (resume): Remove now stale comment.
8551 (clear_proceed_status): Clear step-over info.
8552 (proceed): Adjust step-over handling to set or clear the step-over
8553 info instead of removing all breakpoints.
8554 (handle_signal_stop): When setting up a thread-hop, don't remove
8555 breakpoints here.
8556 (stop_stepping): Clear step-over info.
8557 (keep_going): Adjust step-over handling to set or clear step-over
8558 info and then always inserting breakpoints, instead of removing
8559 all breakpoints when stepping over one.
8560
b9f437de
PA
85612014-03-20 Pedro Alves <palves@redhat.com>
8562
8563 * infrun.c (previous_inferior_ptid): Adjust comment.
8564 (deferred_step_ptid): Delete.
8565 (infrun_thread_ptid_changed, prepare_to_proceed)
8566 (init_wait_for_inferior): Adjust.
8567 (handle_signal_stop): Delete deferred_step_ptid handling.
8568
06c868a8
JK
85692014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
8570
8571 PR gdb/15358
8572 * defs.h (sync_quit_force_run): New declaration.
8573 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
8574 * event-top.c (async_sigterm_handler): New declaration.
8575 (async_sigterm_token): New variable.
8576 (async_init_signals): Create also async_sigterm_token.
8577 (async_sigterm_handler): New function.
8578 (sync_quit_force_run): New variable.
8579 (handle_sigterm): Replace quit_force call by other calls.
8580 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
8581
dea80df0
MR
85822014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
8583
8584 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
8585 offset into SPE pseudo registers.
8586
0c7e1a46
PA
85872014-03-18 Pedro Alves <palves@redhat.com>
8588
8589 PR gdb/13860
8590 * inferior.h (print_stop_event): Declare.
8591 * infrun.c (print_stop_event): New, factored out from ...
8592 (normal_stop): ... this.
8593 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
8594 of bpstat_print/print_stack_frame.
8595
9c1fcd01
TT
85962014-03-17 Tom Tromey <tromey@redhat.com>
8597
8598 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
8599
11aa919a
PMR
86002014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
8601
8602 * ada-lang.c (decode_constrained_packed_array): Perform a
8603 minimal coercion for reference with coerce_ref instead of
8604 ada_coerce_ref.
8605
d4ccb5e0
TG
86062014-03-17 Tristan Gingold <gingold@adacore.com>
8607
8608 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
8609 (darwin_solib_create_inferior_hook): Emit a warning if version
8610 is unhandled.
8611
49840f2a
UW
86122014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
8613
8614 * python/py-value.c (get_field_flag): Cast flag_name argument to
8615 PyObject_GetAttrString to support Python 2.4.
8616
ed4123e5
JK
86172014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
8618
8619 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
8620 (Global Maintainers): Remove Jan Kratochvil.
8621
d6b64346
PA
86222014-03-14 Pedro Alves <palves@redhat.com>
8623
8624 * inferior.h (terminal_ours_for_output): Rename to ...
8625 (child_terminal_ours_for_output): ... this.
8626 (terminal_save_ours): Rename to ...
8627 (child_terminal_save_ours): ... this.
8628 (terminal_ours): Rename to ...
8629 (child_terminal_ours): ... this.
8630 (terminal_inferior): Rename to ...
8631 (child_terminal_inferior): ... this.
8632 (terminal_init_inferior): Rename to ...
8633 (child_terminal_init_inferior): ... this.
8634 (terminal_init_inferior_with_pgrp): Rename to ...
8635 (child_terminal_init_inferior_with_pgrp): ... this.
8636 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
8637 (child_terminal_init_with_pgrp): ... this.
8638 (terminal_save_ours): Rename to ...
8639 (child_terminal_save_ours): ... this.
8640 (terminal_init_inferior): Rename to ...
8641 (child_terminal_init): ... this. Adjust.
8642 (terminal_inferior): Rename to ...
8643 (child_terminal_inferior): ... this.
8644 (terminal_ours_for_output): Rename to ...
8645 (child_terminal_ours_for_output): ... this. Adjust.
8646 (terminal_ours): Rename to ...
8647 (child_terminal_ours): ... this.
8648 (terminal_ours_1): Rename to ...
8649 (child_terminal_ours_1): ... this. Adjust.
8650 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
8651 * windows-nat.c (do_initial_windows_stuff): Adjust.
8652 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
8653 (gnu_terminal_init): ... this. Adjust.
8654 (gnu_target): Adjust.
8655 * inf-child.c (inf_child_target): Adjust.
8656
5a1e8c7a
DE
86572014-03-13 Doug Evans <xdje42@gmail.com>
8658
8659 PR guile/16612
8660 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
8661 new eq?-hashtab.
8662
350e1a76
DE
86632014-03-13 Doug Evans <xdje42@gmail.com>
8664
8665 * value.c (record_latest_value): Call release_value_or_incref
8666 instead of release_value.
8667
a69900ae
PA
86682014-03-13 Pedro Alves <palves@redhat.com>
8669
8670 * procfs.c (procfs_target): Don't override to_shortname,
8671 to_longname or to_doc.
8672
5db9f0bd
PA
86732014-03-13 Pedro Alves <palves@redhat.com>
8674
8675 * inf-child.c (inf_child_open, inf_child_target): Don't mention
8676 Unix in user visible strings.
8677
5e3a2c38
SS
86782014-03-12 Stan Shebs <stan@codesourcery.com>
8679
8680 * gdbtypes.h: Annotate comments for Doxygen, add a page
8681 block comment with some general info.
8682
8bc2fe48
PA
86832014-03-12 Pedro Alves <palves@redhat.com>
8684
8685 * infcmd.c (prepare_execution_command): New function, factored out
8686 from several execution commands.
8687 (run_command_1, continue_command, step_1, jump_command)
8688 (signal_command, until_command, advance_command, finish_command)
8689 (attach_command): Use prepare_execution_command.
8690
638c5f49
OJ
86912014-03-12 Omair Javaid <omair.javaid@linaro.org>
8692
8693 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
8694 (MAX_BPTS): Define.
8695 (MAX_WPTS): Define.
8696 (struct arm_linux_thread_points): Removed.
8697 (struct arm_linux_process_info): New.
8698 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
8699 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
8700 (arm_linux_find_breakpoints_by_tid): Removed.
8701 (struct arch_lwp_info): New.
8702 (arm_linux_find_process_pid): New functions.
8703 (arm_linux_add_process): New functions.
8704 (arm_linux_process_info_get): New functions.
8705 (arm_linux_forget_process): New function.
8706 (arm_linux_get_debug_reg_state): New function.
8707 (struct update_registers_data): New.
8708 (update_registers_callback): New function.
8709 (arm_linux_insert_hw_breakpoint1): Updated.
8710 (arm_linux_remove_hw_breakpoint1): Updated.
8711 (arm_linux_insert_hw_breakpoint): Updated.
8712 (arm_linux_remove_hw_breakpoint): Updated.
8713 (arm_linux_insert_watchpoint): Updated.
8714 (arm_linux_remove_watchpoint): Updated.
8715 (arm_linux_new_thread): Updated.
8716 (arm_linux_prepare_to_resume): New function.
8717 (arm_linux_new_fork): New function.
8718 (_initialize_arm_linux_nat): Updated.
8719
6d03af93
PA
87202014-03-12 Pedro Alves <palves@redhat.com>
8721
8722 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
8723
b3ccfe11
TT
87242014-03-12 Tom Tromey <tromey@redhat.com>
8725
8726 * inf-child.c (return_zero): New function.
8727 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
8728 * aix-thread.c (aix_thread_inferior_created): New function.
8729 (aix_thread_attach): Remove.
8730 (init_aix_thread_ops): Don't set to_attach.
8731 (_initialize_aix_thread): Register inferior_created observer.
8732 * corelow.c (init_core_ops): Don't set to_attach or
8733 to_create_inferior.
8734 * exec.c (init_exec_ops): Don't set to_attach or
8735 to_create_inferior.
8736 * infcmd.c (run_command_1): Use find_run_target. Make direct
8737 target calls.
8738 (attach_command): Use find_attach_target. Make direct target
8739 calls.
8740 * record-btrace.c (init_record_btrace_ops): Don't set
8741 to_create_inferior.
8742 * record-full.c (record_full_can_async_p, record_full_is_async_p):
8743 Remove.
8744 (init_record_full_ops, init_record_full_core_ops): Update. Don't
8745 set to_create_inferior.
8746 * target.c (complete_target_initialization): Add assertion.
8747 (target_create_inferior): Remove.
8748 (find_default_attach, find_default_create_inferior): Remove.
8749 (find_attach_target, find_run_target): New functions.
8750 (find_default_is_async_p, find_default_can_async_p)
8751 (target_supports_non_stop, target_attach): Remove.
8752 (init_dummy_target): Don't set to_create_inferior or
8753 to_supports_non_stop.
8754 * target.h (struct target_ops) <to_attach>: Add comment. Remove
8755 TARGET_DEFAULT_FUNC.
8756 <to_create_inferior>: Add comment.
8757 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
8758 TARGET_DEFAULT_RETURN.
8759 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
8760 (find_attach_target, find_run_target): Declare.
8761 (target_create_inferior): Remove.
8762 (target_has_execution_1): Update comment.
8763 (target_supports_non_stop): Remove.
8764 * target-delegates.c: Rebuild.
8765
91f83b02
PA
87662014-03-12 Pedro Alves <palves@redhat.com>
8767
8768 * inf-child.h: Update comment to not mention Unix.
8769
f1aea813
PA
87702014-03-12 Pedro Alves <palves@redhat.com>
8771
8772 * inf-child.c: Update top comment to not mention Unix. Add
8773 generic comment describing how this target is meant to be used.
8774 (inf_child_post_attach, inf_child_post_startup_inferior)
8775 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
8776 Unix in comment.
8777
ee8e9165
PA
87782014-03-12 Pedro Alves <palves@redhat.com>
8779
8780 * nto-procfs.c: Include inf-child.h.
8781 (procfs_ops): Delete global.
8782 (procfs_can_run): Delete method.
8783 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
8784 target pointer instead of referencing procfs_ops.
8785 (procfs_prepare_to_store): Delete.
8786 (init_procfs_ops): Delete function.
8787 (procfs_target): New function, based on init_procfs_ops, but
8788 inherit inf_child_target.
8789 (_initialize_procfs): Use procfs_target.
8790
51a9c8c5
PA
87912014-03-12 Pedro Alves <palves@redhat.com>
8792
8793 * windows-nat.c: Include inf-child.h.
8794 (windows_ops): Delete global.
8795 (windows_open, windows_prepare_to_store, windows_can_run): Delete
8796 methods.
8797 (init_windows_ops): Delete function.
8798 (windows_target): New function, based on init_windows_ops, but
8799 inherit inf_child_target.
8800 (_initialize_windows_nat): Use windows_target. Install x86
8801 specific target methods here.
8802
c1966e26
DE
88032014-03-10 Doug Evans <xdje42@gmail.com>
8804
8805 * guile/guile.c (call_initialize_gdb_module): New function.
8806 (initialize_guile): Replace call to scm_init_guile with call to
8807 scm_with_guile.
8808
023db19c
JB
88092014-03-10 Joel Brobecker <brobecker@adacore.com>
8810
8811 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
8812 in call to TYPE_CODE macro.
8813
5ec18f2b
JG
88142014-03-10 Jerome Guitton <guitton@adacore.com>
8815
8668be63
JB
8816 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
8817 Resolve tagged types to full view.
5ec18f2b 8818
7d03f2eb
HZ
88192014-03-10 Hui Zhu <hui@codesourcery.com>
8820
8821 * target.h (target_insert_breakpoint): Remove "hardware" from its
8822 comments.
8823
c5164cbc
DE
88242014-03-07 Doug Evans <dje@google.com>
8825
8826 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
8827
c4a3fee2
DE
88282014-03-07 Doug Evans <dje@google.com>
8829
8830 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
8831 Remove unused local comp_dir_attr. Assert exactly one of
8832 stub_comp_unit_die, stub_comp_dir is non-NULL.
8833
3156469c
JB
88342014-03-07 Joel Brobecker <brobecker@adacore.com>
8835
8836 * target.h (complete_target_initialization, add_target):
8837 Add comment.
8838
c1a7b7c6
PA
88392014-03-07 Pedro Alves <palves@redhat.com>
8840
8841 * go32-nat.c: Include inf-child.h.
8842 (go32_ops): Delete global.
8843 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
8844 Delete methods.
8845 (go32_create_inferior): Push the passed in target pointer instead
8846 of referencing go32_ops.
8847 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
8848 (go32_target): New function, based on init_go32_ops, but inherit
8849 inf_child_target.
8850 (_initialize_go32_nat): Use go32_target. Move parts of
8851 init_go32_ops here.
8852
d3c1a85f
JB
88532014-03-06 Joel Brobecker <brobecker@adacore.com>
8854
8855 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
8856 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
8857 SYMBOL_VALUE_ADDRESS.
8858 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
8859
5fa1d40e
YQ
88602014-03-06 Yao Qi <yao@codesourcery.com>
8861
8862 * breakpoint.c (get_tracepoint_by_number): Remove argument
8863 optional_p. All callers updated. Adjust comments. Update
8864 output message.
8865 * breakpoint.h (get_tracepoint_by_number): Update declaration.
8866
0c13193f
YQ
88672014-03-06 Yao Qi <yao@codesourcery.com>
8868
8869 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
8870 early if get_number returns zero. Use 'p' instead of 'args'.
8871
2217da06
YQ
88722014-03-06 Yao Qi <yao@codesourcery.com>
8873
8874 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
8875 message.
8876
cc3da688
YQ
88772014-03-06 Yao Qi <yao@codesourcery.com>
8878
8879 PR breakpoints/16508
8880 * tracepoint.c (check_trace_running): New function.
8881 (trace_find_command): Move code to check_trace_running and
8882 call check_trace_running.
8883 (trace_find_pc_command): Likewise.
8884 (trace_find_tracepoint_command): Likewise.
8885 (trace_find_line_command): Likewise.
8886 (trace_find_range_command): Likewise.
8887 * tracepoint.h (check_trace_running): Likewise.
8888 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
8889
6a5f844b
YQ
88902014-03-06 Yao Qi <yao@codesourcery.com>
8891
8892 * target.h (struct target_ops) <to_traceframe_info>: Use
8893 TARGET_DEFAULT_NORETURN (tcomplain ()).
8894 * target-delegates.c: Regenerated.
8895
0f26cec1
PA
88962014-03-05 Pedro Alves <palves@redhat.com>
8897
8898 PR gdb/16575
8899 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
8900 void. Update comment.
8901 (dcache_xfer_memory): Delete.
8902 (dcache_read_memory_partial): New, based on the read bits of
8903 dcache_xfer_memory.
8904 (dcache_update): Add status parameter. Use ULONGEST for len, and
8905 adjust. Discard cache lines if the reason for the update was
8906 error.
8907 * dcache.h (dcache_xfer_memory): Delete declaration.
8908 (dcache_read_memory_partial): New declaration.
8909 (dcache_update): Update prototype.
8910 * target.c (raw_memory_xfer_partial): Update the dcache here.
8911 (memory_xfer_partial_1): Don't handle dcache writes here.
8912
b2b255bd
MF
89132014-03-05 Mike Frysinger <vapier@gentoo.org>
8914
8915 * remote-sim.c (gdbsim_load): Add const to prog.
8916
5d9cf8a4
TT
89172014-03-03 Tom Tromey <tromey@redhat.com>
8918
8919 * elfread.c (probe_key): Change to bfd_data.
8920 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
8921 now per-BFD, not per-objfile.
8922 * stap-probe.c (stap_probe_destroy): Update comment.
8923 (handle_stap_probe): Allocate on the per-BFD obstack.
8924
729662a5
TT
89252014-03-03 Tom Tromey <tromey@redhat.com>
8926
8927 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
8928 * breakpoint.c (create_longjmp_master_breakpoint): Use
8929 get_probe_address.
8930 (add_location_to_breakpoint, bkpt_probe_insert_location)
8931 (bkpt_probe_remove_location): Update.
8932 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
8933 * elfread.c (elf_symfile_relocate_probe): Remove.
8934 (elf_probe_fns): Update.
8935 (insert_exception_resume_breakpoint): Change type of "probe"
8936 parameter to bound_probe.
8937 (check_exception_resume): Update.
8938 * objfiles.c (objfile_relocate1): Don't relocate probes.
8939 * probe.c (bound_probe_s): New typedef.
8940 (parse_probes): Use get_probe_address. Set sal's objfile.
8941 (find_probe_by_pc): Return a bound_probe.
8942 (collect_probes): Return a VEC(bound_probe_s).
8943 (compare_probes): Update.
8944 (gen_ui_out_table_header_info): Change type of "probes"
8945 parameter. Update.
8946 (info_probes_for_ops): Update.
8947 (get_probe_address): New function.
8948 (probe_safe_evaluate_at_pc): Update.
8949 * probe.h (struct probe_ops) <get_probe_address>: New field.
8950 <set_semaphore, clear_semaphore>: Add objfile parameter.
8951 (struct probe) <objfile>: Remove field.
8952 <arch>: New field.
8953 <address>: Update comment.
8954 (struct bound_probe): New.
8955 (find_probe_by_pc): Return a bound_probe.
8956 (get_probe_address): Declare.
8957 * solib-svr4.c (struct probe_and_action) <address>: New field.
8958 (hash_probe_and_action, equal_probe_and_action): Update.
8959 (register_solib_event_probe): Add address parameter.
8960 (solib_event_probe_at): Update.
8961 (svr4_create_probe_breakpoints): Add objfile parameter. Use
8962 get_probe_address.
8963 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
8964 (stap_get_probe_address): New function.
8965 (stap_can_evaluate_probe_arguments, compute_probe_arg)
8966 (compile_probe_arg): Update.
8967 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
8968 address.
8969 (handle_stap_probe): Don't relocate the probe.
8970 (stap_relocate): Remove.
8971 (stap_gen_info_probes_table_values): Update.
8972 (stap_probe_ops): Remove stap_relocate.
8973 * symfile-debug.c (debug_sym_relocate_probe): Remove.
8974 (debug_sym_probe_fns): Update.
8975 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
8976 * symtab.c (init_sal): Use memset.
8977 * symtab.h (struct symtab_and_line) <objfile>: New field.
8978 * tracepoint.c (start_tracing, stop_tracing): Update.
8979
ff887920
TT
89802014-03-03 Tom Tromey <tromey@redhat.com>
8981
8982 * probe.h (parse_probes, find_probe_by_pc)
8983 (find_probes_in_objfile): Fix comments.
8984
f0407826
DE
89852014-03-02 Doug Evans <xdje42@gmail.com>
8986
8987 * infrun.c (handle_signal_stop): Replace test for
8988 TARGET_WAITKIND_STOPPED with an assert.
8989
35e6a711
DE
89902014-03-02 Doug Evans <xdje42@gmail.com>
8991
8992 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
8993
667f9d0b
DE
89942014-03-02 Doug Evans <xdje42@gmail.com>
8995
8996 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
8997
dc92ace0
MK
89982014-03-01 Mark Kettenis <kettenis@gnu.org>
8999
9000 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9001
a900370f
MK
90022014-03-01 Mark Kettenis <kettenis@gnu.org>
9003
9004 * i386obsd-nat.c: Include "obsd-nat.h".
9005 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9006 add_target.
9007 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9008
b72a7981
MK
90092014-03-01 Mark Kettenis <kettenis@gnu.org>
9010
9011 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9012
96c70aba
MK
90132014-03-01 Mark Kettenis <kettenis@gnu.org>
9014
9015 * mips64obsd-nat.c: Include "obsd-nath".
9016 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9017 add_target
9018 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9019
874a80af
MK
90202014-03-01 Mark Kettenis <kettenis@gnu.org>
9021
8fd408f1
MK
9022 * amd64obsd-nat.c: Include "obsd-nat,h.
9023 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9024 add_target.
874a80af
MK
9025 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9026
9cf95373
SC
90272014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9028
9029 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9030 (find_overload_match): Update call to find_oload_champ.
9031 (find_oload_champ_namespace_loop): Likewise
9032
863e4da4
MK
90332014-02-28 Mark Kettenis <kettenis@gnu.org>
9034
025cac40
MK
9035 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9036
1ed586ce
MK
9037 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9038 * config/sparc/obsd64.mh: New file.
9039 * sparc64obsd-nat.c: New file.
9040
863e4da4
MK
9041 * obsd-nat.h: New file.
9042 * obsd-nat.c: New file.
9043 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9044 (ALLDEPFILES): Add obsd-nat.c.
9045
89de4da4
TT
90462014-02-28 Tom Tromey <tromey@redhat.com>
9047
9048 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9049 * cli-out.h (cli_ui_out_impl): Now const.
9050 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9051 * ui-out.c (struct ui_out) <impl>: Now const.
9052 (default_ui_out_impl): Now const.
9053 (ui_out_new): Make 'impl' parameter const.
9054 * ui-out.h (ui_out_new): Update.
9055
c725e7b6
MK
90562014-02-27 Mark Kettenis <kettenis@gnu.org>
9057
9058 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9059
670b46b3
MK
90602014-02-27 Mark Kettenis <kettenis@gnu.org>
9061
9062 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9063
c91550fc
JK
90642014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9065
9066 Additional PR 8882 fix.
9067 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9068
2fa0369e
PA
90692014-02-27 Pedro Alves <palves@redhat.com>
9070
9071 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9072 isn't set.
9073
d632a097
PA
90742014-02-27 Pedro Alves <palves@redhat.com>
9075
9076 PR 12702
9077 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
9078 * nat/linux-waitpid.c: Include string.h.
9079 (status_to_str): Moved here and made extern.
9080 * nat/linux-waitpid.h (status_to_str): New declaration.
9081
2ebd5a35
HZ
90822014-02-27 Hui Zhu <hui@codesourcery.com>
9083
9084 PR 12702
9085 * infrun.c (ptid_match): Move ...
9086 * common/ptid.c (ptid_match): ... here.
9087 * inferior.h (ptid_match): Move ...
9088 * common/ptid.h (ptid_match): ... here.
9089
3cdd631f
MK
90902014-02-27 Mark Kettenis <kettenis@gnu.org>
9091
9092 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
9093 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
9094 gdb_target_obs.
9095
bee30a64
MK
90962014-02-27 Mark Kettenis <kettenis@gnu.org>
9097
9098 * obsd-tdep.c (obsd_auxv_parse): New function.
9099 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
9100
9101 * gdbarch.sh (auxv_parse): New.
9102 * gdbarch.h: Regenerated.
9103 * gdbarch.c: Regenerated.
9104 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
9105
7a5a839f
LC
91062014-02-26 Ludovic Courtès <ludo@gnu.org>
9107
9108 * guile/scm-value.c (gdbscm_history_append_x): New function.
9109 (value_functions): Add it.
9110
31aa7e4e
JB
91112014-02-27 Joel Brobecker <brobecker@adacore.com>
9112
9113 * dwarf2read.c (attr_value_as_address): New function.
9114 (dwarf2_find_base_address, read_call_site_scope): Use
9115 attr_value_as_address in place of DW_ADDR.
9116 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
9117 the low and high addresses. Slight rework of the handling
9118 of the high pc being a constant form, and limit it to
9119 DWARF verson 4 or higher.
9120 (dwarf2_record_block_ranges): Likewise.
9121 (read_partial_die): Likewise.
9122 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
9123
9b333ba3
TT
91242014-02-26 Tom Tromey <tromey@redhat.com>
9125
9126 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
9127
5f6cac40
TT
91282014-02-26 Tom Tromey <tromey@redhat.com>
9129
9130 * elfread.c (elf_read_minimal_symbols): Return early if
9131 minimal symbols have already been read. Add "ei" parameter.
9132 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
9133 * minsyms.c (prim_record_minimal_symbol_full): Update.
9134 * objfiles.h (struct objstats) <n_minsyms>: Move...
9135 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
9136 * symmisc.c (print_objfile_statistics): Update.
9137
2750ef27
TT
91382014-02-26 Tom Tromey <tromey@redhat.com>
9139
9140 * elfread.c (elf_read_minimal_symbols): New function, from
9141 elf_symfile_read.
9142 (elf_symfile_read): Call it.
9143
34643a32
TT
91442014-02-26 Tom Tromey <tromey@redhat.com>
9145
9146 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
9147 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
9148 (lookup_minimal_symbol_solib_trampoline)
9149 (lookup_minimal_symbol_by_pc_section_1)
9150 (lookup_minimal_symbol_and_objfile): Update.
9151 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
9152 Don't allocate a minimal symbol if minsyms have already been read.
9153 (build_minimal_symbol_hash_tables): Update.
9154 (install_minimal_symbols): Do nothing if minsyms already read.
9155 Use the per-BFD obstack.
9156 (terminate_minimal_symbol_table): Use the per-BFD obstack.
9157 * objfiles.c (allocate_objfile): Call
9158 terminate_minimal_symbol_table later.
9159 (have_minimal_symbols): Update.
9160 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
9161 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
9162 Move from struct objfile.
9163 <minsyms_read>: New field.
9164 (struct objfile) <msymbols, minimal_symbol_count,
9165 msymbol_hash, msymbol_demangled_hash>: Move.
9166 (ALL_OBJFILE_MSYMBOLS): Update.
9167 * symfile.c (read_symbols): Set minsyms_read.
9168 (reread_symbols): Update.
9169 * symmisc.c (dump_objfile, dump_msymbols): Update.
9170
2273f0ac
TT
91712014-02-26 Tom Tromey <tromey@redhat.com>
9172
9173 * minsyms.c (msymbols_sort): Remove.
9174 * minsyms.h (msymbols_sort): Remove.
9175 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
9176 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
9177 * elfread.c (elf_symtab_read): Don't add section offsets.
9178 * xcoffread.c (record_minimal_symbol): Don't add section offset
9179 to minimal symbol address.
9180 * somread.c (text_offset, data_offset): Remove.
9181 (som_symtab_read): Don't add section offsets to minimal symbol
9182 addresses.
9183 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
9184 Don't add section offsets to minimal symbols.
9185 * coffread.c (coff_symtab_read): Don't add section offsets
9186 to minimal symbol addresses.
9187 * machoread.c (macho_symtab_add_minsym): Don't add section offset
9188 to minimal symbol addresses.
9189 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
9190 section offset to minimal symbol addresses.
9191 * mdebugread.c (parse_partial_symbols): Don't add section
9192 offset to minimal symbol addresses.
9193 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
9194 offset to minimal symbol addresses.
9195
77e371c0
TT
91962014-02-26 Tom Tromey <tromey@redhat.com>
9197
9198 * ada-lang.c (ada_main_name): Update.
9199 (ada_add_standard_exceptions): Update.
9200 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9201 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9202 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
9203 * auxv.c (ld_so_xfer_auxv): Update.
9204 * avr-tdep.c (avr_scan_prologue): Update.
9205 * ax-gdb.c (gen_var_ref): Update.
9206 * blockframe.c (get_pc_function_start)
9207 (find_pc_partial_function_gnu_ifunc): Update.
9208 * breakpoint.c (create_overlay_event_breakpoint)
9209 (create_longjmp_master_breakpoint)
9210 (create_std_terminate_master_breakpoint)
9211 (create_exception_master_breakpoint): Update.
9212 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9213 * c-valprint.c (c_val_print): Update.
9214 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9215 * common/agent.c (agent_look_up_symbols): Update.
9216 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9217 * dwarf2loc.c (call_site_to_target_addr): Update.
9218 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
9219 * elfread.c (elf_gnu_ifunc_record_cache)
9220 (elf_gnu_ifunc_resolve_by_got): Update.
9221 * findvar.c (default_read_var_value): Update.
9222 * frame.c (inside_main_func): Update.
9223 * frv-tdep.c (frv_frame_this_id): Update.
9224 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9225 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9226 Update.
9227 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
9228 (hppa_hpux_find_dummy_bpaddr): Update.
9229 * hppa-tdep.c (hppa_symbol_address): Update.
9230 * infcmd.c (until_next_command): Update.
9231 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
9232 Update.
9233 * linespec.c (minsym_found, add_minsym): Update.
9234 * linux-nat.c (get_signo): Update.
9235 * linux-thread-db.c (inferior_has_bug): Update.
9236 * m32c-tdep.c (m32c_return_value)
9237 (m32c_m16c_address_to_pointer): Update.
9238 * m32r-tdep.c (m32r_frame_this_id): Update.
9239 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9240 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9241 * maint.c (maintenance_translate_address): Update.
9242 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
9243 (frob_address): New function.
9244 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
9245 frob_address. Rename parameter to "pc_in".
9246 (compare_minimal_symbols, compact_minimal_symbols): Use raw
9247 addresses.
9248 (find_solib_trampoline_target, minimal_symbol_upper_bound):
9249 Update.
9250 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9251 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
9252 * objc-lang.c (find_objc_msgsend): Update.
9253 * objfiles.c (objfile_relocate1): Update.
9254 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9255 * p-valprint.c (pascal_val_print): Update.
9256 * parse.c (write_exp_msymbol): Update.
9257 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
9258 (ppc_elfv2_skip_entrypoint): Update.
9259 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9260 * printcmd.c (build_address_symbolic, msym_info)
9261 (address_info): Update.
9262 * proc-service.c (ps_pglobal_lookup): Update.
9263 * psymtab.c (find_pc_sect_psymtab_closer)
9264 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
9265 Change msymbol parameter to bound_minimal_symbol.
9266 * ravenscar-thread.c (get_running_thread_id): Update.
9267 * remote.c (remote_check_symbols): Update.
9268 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
9269 address.
9270 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9271 * solib-dsbt.c (lm_base): Update.
9272 * solib-frv.c (lm_base, main_got): Update.
9273 * solib-irix.c (locate_base): Update.
9274 * solib-som.c (som_solib_create_inferior_hook)
9275 (link_map_start): Update.
9276 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
9277 * solib-svr4.c (elf_locate_base, enable_break): Update.
9278 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9279 (flush_ea_cache): Update.
9280 * stabsread.c (define_symbol, scan_file_globals): Update.
9281 * stack.c (find_frame_funname): Update.
9282 * symfile-debug.c (debug_qf_expand_symtabs_matching)
9283 (debug_qf_find_pc_sect_symtab): Update.
9284 * symfile.c (simple_read_overlay_table)
9285 (simple_overlay_update): Update.
9286 * symfile.h (struct quick_symbol_functions)
9287 <find_pc_sect_symtab>: Change type of msymbol to
9288 bound_minimal_symbol.
9289 * symmisc.c (dump_msymbols): Update.
9290 * symtab.c (find_pc_sect_symtab_via_partial)
9291 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
9292 (search_symbols, print_msymbol_info): Update.
9293 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
9294 (MSYMBOL_VALUE_ADDRESS): Redefine.
9295 (BMSYMBOL_VALUE_ADDRESS): New macro.
9296 * tracepoint.c (scope_info): Update.
9297 * tui/tui-disasm.c (tui_find_disassembly_address)
9298 (tui_get_begin_asm_address): Update.
9299 * valops.c (find_function_in_inferior): Update.
9300 * value.c (value_static_field, value_fn_field): Update.
9301
3b7344d5
TT
93022014-02-26 Tom Tromey <tromey@redhat.com>
9303
9304 * ada-lang.c (ada_update_initial_language): Update.
9305 (ada_main_name, ada_has_this_exception_support): Update.
9306 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
9307 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9308 * arm-tdep.c (arm_skip_stub): Update.
9309 * auxv.c (ld_so_xfer_auxv): Update.
9310 * avr-tdep.c (avr_scan_prologue): Update.
9311 * ax-gdb.c (gen_var_ref): Update.
9312 * breakpoint.c (struct breakpoint_objfile_data)
9313 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
9314 type to bound_minimal_symbol.
9315 (create_overlay_event_breakpoint)
9316 (create_longjmp_master_breakpoint)
9317 (create_std_terminate_master_breakpoint)
9318 (create_exception_master_breakpoint): Update.
9319 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9320 * c-exp.y (classify_name): Update.
9321 * coffread.c (coff_symfile_read): Update.
9322 * common/agent.c (agent_look_up_symbols): Update.
9323 * d-lang.c (d_main_name): Update.
9324 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
9325 * dec-thread.c (enable_dec_thread): Update.
9326 * dwarf2loc.c (call_site_to_target_addr): Update.
9327 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
9328 * eval.c (evaluate_subexp_standard): Update.
9329 * findvar.c (struct minsym_lookup_data) <result>: Change type
9330 to bound_minimal_symbol.
9331 <objfile>: Remove.
9332 (minsym_lookup_iterator_cb, default_read_var_value): Update.
9333 * frame.c (inside_main_func): Update.
9334 * frv-tdep.c (frv_frame_this_id): Update.
9335 * gcore.c (call_target_sbrk): Update.
9336 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9337 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
9338 Update.
9339 * go-lang.c (go_main_name): Update.
9340 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
9341 (hppa_hpux_find_import_stub_for_addr): Update.
9342 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
9343 Update. Change return type.
9344 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
9345 type.
9346 * jit.c (jit_breakpoint_re_set_internal): Update.
9347 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
9348 Update.
9349 * linux-nat.c (get_signo): Update.
9350 * linux-thread-db.c (inferior_has_bug): Update
9351 * m32c-tdep.c (m32c_return_value)
9352 (m32c_m16c_address_to_pointer): Update.
9353 * m32r-tdep.c (m32r_frame_this_id): Update.
9354 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9355 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9356 * minsyms.c (lookup_minimal_symbol_internal): Rename to
9357 lookup_minimal_symbol. Change return type.
9358 (lookup_minimal_symbol): Remove.
9359 (lookup_bound_minimal_symbol): Update.
9360 (lookup_minimal_symbol_text): Change return type.
9361 (lookup_minimal_symbol_solib_trampoline): Change return type.
9362 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
9363 (lookup_minimal_symbol_solib_trampoline): Change return type.
9364 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9365 * objc-lang.c (lookup_objc_class, lookup_child_selector)
9366 (value_nsstring, find_imps): Update.
9367 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9368 * p-lang.c (pascal_main_name): Update.
9369 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
9370 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9371 * proc-service.c (ps_pglobal_lookup): Update.
9372 * ravenscar-thread.c (get_running_thread_msymbol): Change
9373 return type.
9374 (has_ravenscar_runtime, get_running_thread_id): Update.
9375 * remote.c (remote_check_symbols): Update.
9376 * sol-thread.c (ps_pglobal_lookup): Update.
9377 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9378 * solib-dsbt.c (lm_base): Update.
9379 * solib-frv.c (lm_base, frv_relocate_section_addresses):
9380 Update.
9381 * solib-irix.c (locate_base): Update.
9382 * solib-som.c (som_solib_create_inferior_hook)
9383 (som_solib_desire_dynamic_linker_symbols, link_map_start):
9384 Update.
9385 * solib-spu.c (spu_enable_break): Update.
9386 * solib-svr4.c (elf_locate_base, enable_break): Update.
9387 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
9388 (flush_ea_cache): Update.
9389 * stabsread.c (define_symbol): Update.
9390 * symfile.c (simple_read_overlay_table): Update.
9391 * symtab.c (find_pc_sect_line): Update.
9392 * tracepoint.c (scope_info): Update.
9393 * tui-disasm.c (tui_get_begin_asm_address): Update.
9394 * value.c (value_static_field): Update.
9395
40c1a007
TT
93962014-02-26 Tom Tromey <tromey@redhat.com>
9397
9398 * minsyms.c (prim_record_minimal_symbol_full): Use
9399 SET_MSYMBOL_VALUE_ADDRESS.
9400 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
9401 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
9402 SET_MSYMBOL_VALUE_ADDRESS.
9403 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
9404 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
9405
efd66ac6
TT
94062014-02-26 Tom Tromey <tromey@redhat.com>
9407
9408 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
9409 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
9410 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
9411 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
9412 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
9413 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
9414 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
9415 * ada-lang.c (ada_main_name): Update.
9416 (ada_lookup_simple_minsym): Update.
9417 (ada_make_symbol_completion_list): Update.
9418 (ada_add_standard_exceptions): Update.
9419 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
9420 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
9421 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
9422 * arm-tdep.c (skip_prologue_function): Update.
9423 (arm_skip_stack_protector, arm_skip_stub): Update.
9424 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
9425 (arm_wince_skip_main_prologue): Update.
9426 * auxv.c (ld_so_xfer_auxv): Update.
9427 * avr-tdep.c (avr_scan_prologue): Update.
9428 * ax-gdb.c (gen_var_ref): Update.
9429 * block.c (call_site_for_pc): Update.
9430 * blockframe.c (get_pc_function_start): Update.
9431 (find_pc_partial_function_gnu_ifunc): Update.
9432 * breakpoint.c (create_overlay_event_breakpoint): Update.
9433 (create_longjmp_master_breakpoint): Update.
9434 (create_std_terminate_master_breakpoint): Update.
9435 (create_exception_master_breakpoint): Update.
9436 (resolve_sal_pc): Update.
9437 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
9438 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
9439 Update.
9440 * c-valprint.c (c_val_print): Update.
9441 * coff-pe-read.c (add_pe_forwarded_sym): Update.
9442 * coffread.c (coff_symfile_read): Update.
9443 * common/agent.c (agent_look_up_symbols): Update.
9444 * dbxread.c (find_stab_function_addr): Update.
9445 (end_psymtab): Update.
9446 * dwarf2loc.c (call_site_to_target_addr): Update.
9447 (func_verify_no_selftailcall): Update.
9448 (tailcall_dump): Update.
9449 (call_site_find_chain_1): Update.
9450 (dwarf_expr_reg_to_entry_parameter): Update.
9451 * elfread.c (elf_gnu_ifunc_record_cache): Update.
9452 (elf_gnu_ifunc_resolve_by_got): Update.
9453 * f-valprint.c (info_common_command): Update.
9454 * findvar.c (read_var_value): Update.
9455 * frame.c (get_prev_frame_1): Update.
9456 (inside_main_func): Update.
9457 * frv-tdep.c (frv_skip_main_prologue): Update.
9458 (frv_frame_this_id): Update.
9459 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
9460 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
9461 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
9462 (gnuv3_skip_trampoline): Update.
9463 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
9464 (hppa64_hpux_in_solib_call_trampoline): Update.
9465 (hppa_hpux_skip_trampoline_code): Update.
9466 (hppa64_hpux_search_dummy_call_sequence): Update.
9467 (hppa_hpux_find_import_stub_for_addr): Update.
9468 (hppa_hpux_find_dummy_bpaddr): Update.
9469 * hppa-tdep.c (hppa_symbol_address)
9470 (hppa_lookup_stub_minimal_symbol): Update.
9471 * i386-tdep.c (i386_skip_main_prologue): Update.
9472 (i386_pe_skip_trampoline_code): Update.
9473 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
9474 * infcall.c (get_function_name): Update.
9475 * infcmd.c (until_next_command): Update.
9476 * jit.c (jit_breakpoint_re_set_internal): Update.
9477 (jit_inferior_init): Update.
9478 * linespec.c (minsym_found): Update.
9479 (add_minsym): Update.
9480 * linux-fork.c (info_checkpoints_command): Update.
9481 * linux-nat.c (get_signo): Update.
9482 * linux-thread-db.c (inferior_has_bug): Update.
9483 * m32c-tdep.c (m32c_return_value): Update.
9484 (m32c_m16c_address_to_pointer): Update.
9485 (m32c_m16c_pointer_to_address): Update.
9486 * m32r-tdep.c (m32r_frame_this_id): Update.
9487 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
9488 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
9489 * maint.c (maintenance_translate_address): Update.
9490 * minsyms.c (add_minsym_to_hash_table): Update.
9491 (add_minsym_to_demangled_hash_table): Update.
9492 (msymbol_objfile): Update.
9493 (lookup_minimal_symbol): Update.
9494 (iterate_over_minimal_symbols): Update.
9495 (lookup_minimal_symbol_text): Update.
9496 (lookup_minimal_symbol_by_pc_name): Update.
9497 (lookup_minimal_symbol_solib_trampoline): Update.
9498 (lookup_minimal_symbol_by_pc_section_1): Update.
9499 (lookup_minimal_symbol_and_objfile): Update.
9500 (prim_record_minimal_symbol_full): Update.
9501 (compare_minimal_symbols): Update.
9502 (compact_minimal_symbols): Update.
9503 (build_minimal_symbol_hash_tables): Update.
9504 (install_minimal_symbols): Update.
9505 (terminate_minimal_symbol_table): Update.
9506 (find_solib_trampoline_target): Update.
9507 (minimal_symbol_upper_bound): Update.
9508 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
9509 * mips-tdep.c (mips_stub_frame_sniffer): Update.
9510 (mips_skip_pic_trampoline_code): Update.
9511 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
9512 * objc-lang.c (selectors_info): Update.
9513 (classes_info): Update.
9514 (find_methods): Update.
9515 (find_imps): Update.
9516 (find_objc_msgsend): Update.
9517 * objfiles.c (objfile_relocate1): Update.
9518 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
9519 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
9520 * p-valprint.c (pascal_val_print): Update.
9521 * parse.c (write_exp_msymbol): Update.
9522 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
9523 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
9524 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
9525 * printcmd.c (build_address_symbolic): Update.
9526 (sym_info): Update.
9527 (address_info): Update.
9528 * proc-service.c (ps_pglobal_lookup): Update.
9529 * psymtab.c (find_pc_sect_psymtab_closer): Update.
9530 (find_pc_sect_psymtab): Update.
9531 * python/py-framefilter.c (py_print_frame): Update.
9532 * ravenscar-thread.c (get_running_thread_id): Update.
9533 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
9534 Update.
9535 * remote.c (remote_check_symbols): Update.
9536 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
9537 (rs6000_skip_trampoline_code): Update.
9538 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
9539 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
9540 * solib-dsbt.c (lm_base): Update.
9541 * solib-frv.c (lm_base): Update.
9542 (main_got): Update.
9543 * solib-irix.c (locate_base): Update.
9544 * solib-som.c (som_solib_create_inferior_hook): Update.
9545 (som_solib_desire_dynamic_linker_symbols): Update.
9546 (link_map_start): Update.
9547 * solib-spu.c (spu_enable_break): Update.
9548 (ocl_enable_break): Update.
9549 * solib-svr4.c (elf_locate_base): Update.
9550 (enable_break): Update.
9551 * spu-tdep.c (spu_get_overlay_table): Update.
9552 (spu_catch_start): Update.
9553 (flush_ea_cache): Update.
9554 * stabsread.c (define_symbol): Update.
9555 (scan_file_globals): Update.
9556 * stack.c (find_frame_funname): Update.
9557 (frame_info): Update.
9558 * symfile.c (simple_read_overlay_table): Update.
9559 (simple_overlay_update): Update.
9560 * symmisc.c (dump_msymbols): Update.
9561 * symtab.c (fixup_section): Update.
9562 (find_pc_sect_line): Update.
9563 (skip_prologue_sal): Update.
9564 (search_symbols): Update.
9565 (print_msymbol_info): Update.
9566 (rbreak_command): Update.
9567 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
9568 (completion_list_objc_symbol): Update.
9569 (default_make_symbol_completion_list_break_on): Update.
9570 * tracepoint.c (scope_info): Update.
9571 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
9572 (tui_get_begin_asm_address): Update.
9573 * valops.c (find_function_in_inferior): Update.
9574 * value.c (value_static_field): Update.
9575 (value_fn_field): Update.
9576
50e65b17
TT
95772014-02-26 Tom Tromey <tromey@redhat.com>
9578
9579 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
9580 bound minimal symbols. Move code that knows about minsym
9581 table layout...
9582 * minsyms.c (minimal_symbol_upper_bound): ... here. New
9583 function.
9584 * minsyms.h (minimal_symbol_upper_bound): Declare.
9585 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
9586 minimal_symbol_upper_bound.
9587
1b588015
JB
95882014-02-27 Joel Brobecker <brobecker@adacore.com>
9589
9590 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
9591 Use the type's name if its basic type does not have a tag.
9592
dbb9c2b1
JB
95932014-02-27 Joel Brobecker <brobecker@adacore.com>
9594
9595 * dwarf2read.c (read_subrange_type): Add comment.
9596
55426c9d
JB
95972014-02-27 Joel Brobecker <brobecker@adacore.com>
9598
9599 * dwarf2read.c (update_enumeration_type_from_children): New
9600 function, mostly extracted from process_structure_scope.
9601 (read_enumeration_type): Call update_enumeration_type_from_children.
9602 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
9603 and flag_flag_enum fields.
9604
f2fce0ca
PA
96052014-02-26 Pedro Alves <palves@redhat.com>
9606
9607 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
9608 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
9609 to_xfer_partial method.
9610
7a44e40e
PA
96112014-02-26 Pedro Alves <palves@redhat.com>
9612
9613 * target.c (complete_target_initialization): Don't install
9614 default_xfer_partial as to_xfer_partial hook.
9615 (nomemory): Delete.
9616 (update_current_target): Don't INHERIT nor de_fault
9617 deprecated_xfer_memory. Delete de_fault macro.
9618 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
9619 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
9620 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
9621 field.
9622
bd265cd0
PA
96232014-02-26 Pedro Alves <palves@redhat.com>
9624
9625 * go32-nat.c (my_write_child): New function.
9626 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
9627 (go32_xfer_partial): New function.
9628 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
9629 Instead install a to_xfer_partial hook.
9630
9d46c4e5
PA
96312014-02-26 Pedro Alves <palves@redhat.com>
9632
9633 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
9634 to_xfer_partial helper. Rewrite.
9635 (procfs_xfer_partial): New function.
9636 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
9637 Install a to_xfer_partial hook.
9638
a1583b1f
PA
96392014-02-26 Pedro Alves <palves@redhat.com>
9640
9641 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
9642 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
9643 (m32r_xfer_partial): New function.
9644 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
9645 Install a to_xfer_partial hook.
9646
6df1b29f
PA
96472014-02-26 Pedro Alves <palves@redhat.com>
9648
9649 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
9650 helper.
9651 (mips_xfer_partial): New function.
9652 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
9653 hook. Install a to_xfer_partial hook.
9654
dc53a7ad
JB
96552014-02-26 Joel Brobecker <brobecker@adacore.com>
9656
9657 * gdbtypes.h (create_array_type_with_stride): Add declaration.
9658 * gdbtypes.c (create_array_type_with_stride): New function,
9659 renaming create_array_type, but with an added parameter
9660 called "bit_stride".
9661 (create_array_type): Re-implement using
9662 create_array_type_with_stride.
9663 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
9664 and DW_AT_bit_stride attributes.
9665
12ab52e9
PA
96662014-02-26 Pedro Alves <palves@redhat.com>
9667
9668 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
9669 task-specific breakpoints.
9670
d16461ae
PA
96712014-02-25 Pedro Alves <palves@redhat.com>
9672
9673 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
9674 handling of object == TARGET_OBJECT_UNWIND_TABLE.
9675
a8b16220
SS
96762014-02-25 Stan Shebs <stan@codesourcery.com>
9677
9678 * defs.h: Annotate comments for Doxygen.
9679
b9e795ee
TT
96802014-02-25 Tom Tromey <tromey@redhat.com>
9681
9682 * target.h (target_ignore): Don't declare.
9683 * target.c (target_ignore): Remove.
9684
849c862e
JK
96852014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
9686
9687 PR gdb/16626
9688 * auto-load.c (auto_load_objfile_script_1): Change filename to
9689 debugfile.
9690
475109d8
JB
96912014-02-25 Joel Brobecker <brobecker@adacore.com>
9692
9693 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
9694 documentation. Adjust prototype to match the target_ops
9695 to_xfer_partial method. Adjust implementation accordingly.
9696
e186c3bd
HZ
96972014-02-25 Hui Zhu <hui@codesourcery.com>
9698
9699 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
9700 to_traceframe_info.
9701
6d451942
KB
97022014-02-25 Kevin Buettner <kevinb@redhat.com>
9703
041ab8b4 9704 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
9705 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
9706 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
9707 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
9708 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
9709 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
9710 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
9711 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
9712 New constants.
9713 (rl78_register_type): Use a data pointer type for SP and
9714 new pseudo registers mentioned above. Use a 16 bit integer
9715 type for all other register pairs.
9716 (rl78_register_name, rl78_g10_register_name): Update for
9717 new pseudo registers.
9718 (rl78_pseudo_register_read): Likewise.
9719 (rl78_pseudo_register_write): Likewise.
9720 (rl78_dwarf_reg_to_regnum): Return register numbers representing
9721 to the newly added pseudo registers.
9722
eddf0bae
DE
97232014-02-24 Doug Evans <dje@google.com>
9724
9725 * value.c (record_latest_value): Fix comment.
9726 * printcmd.c (print_command_1): Remove code to handle -1 return from
9727 record_latest_value.
9728
e96027e0
PA
97292014-02-24 Pedro Alves <palves@redhat.com>
9730
9731 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
9732 deprecated_xfer_memory hook.
9733 (procfs_xfer_partial): Call procfs_xfer_memory instead
9734 of the deprecated_xfer_memory target hook.
9735 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
9736 helper.
9737
0837c976
YZ
97382014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
9739
9740 * windows-nat.c (windows_xfer_shared_libraries): Return
9741 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
9742 requested object is TARGET_OBJECT_LIBRARIES.
9743
bc113b4e
YQ
97442014-02-24 Yao Qi <yao@codesourcery.com>
9745
9746 * target.h (enum target_xfer_status)
9747 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
9748 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
9749 explicitly. New.
9750 * corefile.c (memory_error_message): User updated.
9751 * exec.c (section_table_read_available_memory): Likewise.
9752 * record-btrace.c (record_btrace_xfer_partial): Likewise.
9753 * target.c (target_xfer_status_to_string): Likewise.
9754 (raw_memory_xfer_partial): Likewise.
9755 (memory_xfer_partial_1, target_xfer_partial): Likewise.
9756 * valops.c (read_value_memory): Likewise.
9757 * exec.h: Update comments.
9758
01cb8804
YQ
97592014-02-24 Yao Qi <yao@codesourcery.com>
9760
9761 * target.c (target_xfer_status_to_string): Rename argument err
9762 to status.
9763 * target.h (target_xfer_status_to_string): Update declaration.
9764 Replace target_xfer_error_to_string with
9765 target_xfer_status_to_string in comment.
9766
93063aa6
YQ
97672014-02-24 Yao Qi <yao@codesourcery.com>
9768
9769 * mips-linux-nat.c (super_close): Update its type.
9770 (mips_linux_close): Pass 'self' to super_close.
9771
5c328c05
YQ
97722014-02-24 Yao Qi <yao@codesourcery.com>
9773
9774 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
9775 * corefile.c (read_memory): Adjusted.
9776 * target.c (target_write_with_progress): Adjusted.
9777
f73023dd
YQ
97782014-02-23 Yao Qi <yao@codesourcery.com>
9779
9780 Revert two patches:
9781
9782 2013-10-25 Yao Qi <yao@codesourcery.com>
9783
9784 * remote.c (remote_traceframe_info): Return early if
9785 traceframe is not selected.
9786
9787 2013-07-19 Yao Qi <yao@codesourcery.com>
9788
9789 * target.c (update_current_target): Change the default action
9790 of 'to_traceframe_info' from tcomplain to return_zero.
9791 * target.h (struct target_ops) <to_traceframe_info>: Add more
9792 comments.
9793
5a2eb0ef
YQ
97942014-02-23 Yao Qi <yao@codesourcery.com>
9795
9796 * valops.c (read_value_memory): Rewrite it. Call
9797 target_xfer_partial in a loop.
9798 * exec.h (section_table_available_memory): Remove declaration.
9799 Move comments to ...
9800 * exec.c (section_table_available_memory): ... here. Make it
9801 static.
9802
1ee79381
YQ
98032014-02-23 Yao Qi <yao@codesourcery.com>
9804
9805 * exec.c (section_table_read_available_memory): New function.
9806 * exec.h (section_table_read_available_memory): Declare.
9807 * ctf.c (ctf_xfer_partial): Call
9808 section_table_read_available_memory.
9809 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9810
1ca49d37
YQ
98112014-02-23 Yao Qi <yao@codesourcery.com>
9812
9813 * ctf.c (ctf_xfer_partial): Move code to ...
9814 * exec.c (exec_read_partial_read_only): ... it. New function.
9815 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9816 * tracefile.c: Include "exec.h".
9817 * exec.h (exec_read_partial_read_only): Declare.
9818
a283690e
YQ
98192014-02-23 Yao Qi <yao@codesourcery.com>
9820
9821 * tracefile-tfile.c (tfile_has_all_memory): Remove.
9822 (tfile_has_memory): Remove.
9823 (init_tfile_ops): Don't set fields to_has_all_memory and
9824 to_has_memory of tfile_ops.
9825 * tracefile.c (tracefile_has_all_memory): New function.
9826 (tracefile_has_memory): New function.
9827 (init_tracefile_ops): Initialize fields to_has_all_memory and
9828 to_has_memory of 'ops'.
9829
12e03cd0
YQ
98302014-02-23 Yao Qi <yao@codesourcery.com>
9831
9832 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
9833 (ctf_thread_alive, ctf_get_trace_status): Remove.
9834 (init_ctf_ops): Don't set some fields of ctf_ops. Call
9835 init_tracefile_ops.
9836 * tracefile-tfile.c (tfile_get_trace_status): Remove.
9837 (tfile_has_stack, tfile_has_registers): Remove.
9838 (tfile_thread_alive): Remove.
9839 (init_tfile_ops): Don't set some fields of tfile_ops. Call
9840 init_tracefile_ops.
9841 * tracefile.c (tracefile_has_stack): New function.
9842 (tracefile_has_registers): New function.
9843 (tracefile_thread_alive): New function.
9844 (tracefile_get_trace_status): New function.
9845 (init_tracefile_ops): New function.
9846 * tracefile.h (init_tracefile_ops): Declare.
9847
11395323
YQ
98482014-02-23 Yao Qi <yao@codesourcery.com>
9849
9850 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
9851 (O_LARGEFILE): Likewise.
9852 (tfile_ops): Likewise.
9853 (TRACE_HEADER_SIZE): Likewise.
9854 (trace_fd, trace_frames_offset, cur_offset): Likewise.
9855 (cur_data_size): Likewise.
9856 (tfile_read, tfile_open, tfile_interp_line): Likewise.
9857 (tfile_close, tfile_files_info): Likewise.
9858 (tfile_get_trace_status): Likewise.
9859 (tfile_get_tracepoint_status): Likewise.
9860 (tfile_get_traceframe_address): Likewise.
9861 (tfile_trace_find, match_blocktype): Likewise.
9862 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
9863 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
9864 (tfile_get_trace_state_variable_value): Likewise.
9865 (tfile_has_all_memory, tfile_has_memory): Likewise.
9866 (tfile_has_stack, tfile_has_registers): Likewise.
9867 (tfile_thread_alive, build_traceframe_info): Likewise.
9868 (tfile_traceframe_info, init_tfile_ops): Likewise.
9869 (_initialize_tracepoint): Don't call init_tfile_ops
9870 and add_target_with_completer.
9871 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
9872 exec.h, completer.h and filenames.h.
9873 (_initialize_tracefile_tfile): New function.
9874
7951c4eb
YQ
98752014-02-23 Yao Qi <yao@codesourcery.com>
9876
9877 * Makefile.in (REMOTE_OBS): Append tracefile.o and
9878 tracefile-tfile.o.
9879 (HFILES_NO_SRCDIR): Add tracefile.h.
9880 * ctf.c: Include "tracefile.h".
9881 * tracefile.h: New file.
9882 * tracefile.c: New file
9883 * tracefile-tfile.c: New file.
9884 * tracepoint.c: Include "tracefile.h".
9885 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
9886 (stop_reason_names): Add const.
9887 (trace_file_writer_xfree): Move it to tracefile.c.
9888 (trace_save, trace_save_command, trace_save_tfile): Likewise.
9889 (trace_save_ctf): Likewise.
9890 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
9891 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
9892 (tfile_write_header, tfile_write_regblock_type): Likewise.
9893 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
9894 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
9895 (tfile_write_raw_data, tfile_end): Likewise.
9896 (tfile_trace_file_writer_new): Likewise.
9897 (free_uploaded_tp): Make it extern.
9898 (free_uploaded_tsv): Make it extern.
9899 (_initialize_tracepoint): Move code to register command 'tsave'
9900 to tracefile.c.
9901 * tracepoint.h (stop_reason_names): Declare.
9902 (struct trace_frame_write_ops): Move it to tracefile.h.
9903 (struct trace_file_write_ops): Likewise.
9904 (struct trace_file_writer): Likewise.
9905 (free_uploaded_tsvs, free_uploaded_tps): Declare.
9906
184cd072
JK
99072014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
9908
9909 PR gdb/16594
9910 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
9911 process name.
9912 (get_cores_used_by_process): New parameter num_cores, use it.
9913 (linux_xfer_osdata_processes): Pass num_cores to it.
9914 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
9915 process name.
9916
c63528fc
AK
99172014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
9918
9919 * target.c (memory_xfer_partial): Fix length arg in call to
9920 breakpoint_xfer_memory.
9921
d7b30f67
SDJ
99222014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
9923
9924 PR tdep/16397
9925 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
9926 number comes after the + or - signs. Adjust length of register
9927 name to be extracted.
9928
8838afaf
TT
99292014-02-20 Tom Tromey <tromey@redhat.com>
9930
9931 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
9932 (ada_varobj_ops): Mark "extern".
9933
05227d14
TT
99342014-02-20 Tom Tromey <tromey@redhat.com>
9935
9936 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
9937
1254eefc
DE
99382014-02-20 Doug Evans <xdje42@gmail.com>
9939
9940 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
9941 All callers updated.
9942 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
9943 All callers updated.
9944 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
9945 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
9946
adde2bff
DE
99472014-02-20 lin zuojian <manjian2006@gmail.com>
9948 Joel Brobecker <brobecker@adacore.com>
9949 Doug Evans <xdje42@gmail.com>
9950
9951 PR symtab/16581
9952 * dwarf2read.c (struct die_info): New member in_process.
9953 (reset_die_in_process): New function.
9954 (process_die): Set it at the start, reset when returning.
9955 (inherit_abstract_dies): Only call process_die if origin_child_die
9956 not already being processed.
9957
3be75f87
JB
99582014-02-20 Joel Brobecker <brobecker@adacore.com>
9959
9960 * windows-nat.c (handle_unload_dll): Add function documentation.
9961 (do_initial_windows_stuff): Add comment explaining why we wait
9962 until after inferior initialization has finished before
9963 processing all DLLs.
9964
47f7ffdb
JB
99652014-02-20 Joel Brobecker <brobecker@adacore.com>
9966
9967 * windows-nat.c (get_module_name): Delete.
9968 (windows_get_exec_module_filename): New function, mostly
9969 inspired from get_module_name.
9970 (windows_pid_to_exec_file): Replace call to get_module_name
9971 by call to windows_get_exec_module_filename.
9972
1cd9feab
JB
99732014-02-20 Joel Brobecker <brobecker@adacore.com>
9974
9975 * windows-nat.c (handle_load_dll): Rewrite this function's
9976 introductory comment. Remove code using get_module_name
9977 to get the DLL's name.
9978
ea39ad35
JB
99792014-02-20 Joel Brobecker <brobecker@adacore.com>
9980
9981 * windows-nat.c (get_windows_debug_event): Ignore
9982 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
9983 if windows_initialization_done == 0.
9984 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
9985 Adjust implementation to always load all DLLs.
9986 (do_initial_windows_stuff): Replace call to
9987 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
9988
95060284
JB
99892014-02-20 Joel Brobecker <brobecker@adacore.com>
9990
9991 * windows-nat.c (_initialize_windows_nat): Deprecate the
9992 "dll-symbols" command. Turn the "add-shared-symbol-files"
9993 and "assf" aliases into commands, and deprecate them as well.
9994 * NEWS: Add entry explaining that "dll-symbols" and its two
9995 aliases are now deprecated.
9996
8d4fdb12
JB
99972014-02-20 Joel Brobecker <brobecker@adacore.com>
9998
9999 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10000 new-line in debug string. Remove trailing spaces.
10001
1b281443
SS
100022014-02-19 Stan Shebs <stan@codesourcery.com>
10003
10004 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10005
f7bd0f78
SC
100062014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10007
10008 * NEWS: Add entry for the new feature
10009 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10010 and class values.
10011
399ebc3d
SS
100122014-02-19 Stan Shebs <stan@codesourcery.com>
10013
10014 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10015
c658158d
PA
100162014-02-19 Pedro Alves <palves@redhat.com>
10017
10018 * common/ptid.h (struct ptid): Mention that process_stratum
10019 targets should prefer ptid.lwp.
10020
ba348170
PA
100212014-02-19 Pedro Alves <palves@redhat.com>
10022
10023 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10024 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10025 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10026 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10027 store remote thread ids rather than ptid.tid.
10028 (_initialize_remote): Adjust.
10029
ac01945b
TT
100302014-02-19 Tom Tromey <tromey@redhat.com>
10031
10032 * target.c (target_get_unwinder): Rewrite.
10033 (target_get_tailcall_unwinder): Rewrite.
10034 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10035 (record_btrace_to_get_tailcall_unwinder): New function.
10036 (init_record_btrace_ops): Update.
10037 * target.h (struct target_ops) <to_get_unwinder,
10038 to_get_tailcall_unwinder>: Now function pointers. Use
10039 TARGET_DEFAULT_RETURN.
10040
8476dc92
TT
100412014-02-19 Tom Tromey <tromey@redhat.com>
10042
10043 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10044 argument.
10045 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10046
c0eca49f
TT
100472014-02-19 Tom Tromey <tromey@redhat.com>
10048
10049 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10050 directly.
10051 * target-delegates.c: Rebuild.
10052 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10053 TARGET_DEFAULT_FUNC.
10054 * target.c (default_target_decr_pc_after_break): Rename from
10055 forward_target_decr_pc_after_break. Simplify.
10056 (target_decr_pc_after_break): Rely on delegation.
10057
596b6b39
TT
100582014-02-19 Tom Tromey <tromey@redhat.com>
10059
10060 * target.c (update_current_target): Do not INHERIT to_doc or
10061 to_magic. Do not de_fault to_open or to_close.
10062
b427c1bc
TT
100632014-02-19 Tom Tromey <tromey@redhat.com>
10064
10065 * gcore.h (objfile_find_memory_regions): Declare.
10066 * gcore.c (objfile_find_memory_regions): No longer static. Add
10067 "self" argument.
10068 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10069 * exec.c: Include gcore.h.
10070 (exec_set_find_memory_regions): Remove.
10071 (exec_find_memory_regions): Remove.
10072 (exec_do_find_memory_regions): Remove.
10073 (init_exec_ops): Update.
10074 * defs.h (exec_set_find_memory_regions): Remove.
10075
9b144037
TT
100762014-02-19 Tom Tromey <tromey@redhat.com>
10077
10078 * target-delegates.c: Rebuild.
10079 * target.h (struct target_ops) <to_extra_thread_info,
10080 to_thread_name, to_pid_to_exec_file, to_get_section_table,
10081 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
10082 not 0, in TARGET_DEFAULT_RETURN.
10083
555bbdeb
TT
100842014-02-19 Tom Tromey <tromey@redhat.com>
10085
10086 * target.c (complete_target_initialization): Remove casts. Use
10087 return_zero_has_execution.
10088 (return_zero): Add "ignore" argument.
10089 (return_zero_has_execution): New function.
10090 (init_dummy_target): Remove casts. Use
10091 return_zero_has_execution.
10092
be4ddd36
TT
100932014-02-19 Tom Tromey <tromey@redhat.com>
10094
10095 * target.c (update_current_target): Update comments. Do not
10096 INHERIT to_stratum.
10097
2117c711
TT
100982014-02-19 Tom Tromey <tromey@redhat.com>
10099
10100 * arm-linux-nat.c (arm_linux_read_description): Delegate when
10101 needed.
10102 * corelow.c (core_read_description): Delegate when needed.
10103 * remote.c (remote_read_description): Delegate when needed.
10104 * target-delegates.c: Rebuild.
10105 * target.c (target_read_description): Rewrite.
10106 * target.h (struct target_ops) <to_read_description>: Update
10107 comment. Use TARGET_DEFAULT_RETURN.
10108
e88ef65c
TT
101092014-02-19 Tom Tromey <tromey@redhat.com>
10110
10111 * target-delegates.c: Rebuild.
10112 * target.c (update_current_target): Don't inherit or default
10113 to_can_run.
10114 (find_default_run_target): Check against delegate_can_run.
10115 * target.h (struct target_ops) <to_can_run>: Use
10116 TARGET_DEFAULT_RETURN.
10117
86a0854a
TT
101182014-02-19 Tom Tromey <tromey@redhat.com>
10119
10120 * target-delegates.c: Rebuild.
10121 * target.c (target_disconnect): Unconditionally delegate.
10122 * target.h (struct target_ops) <to_disconnect>: Use
10123 TARGET_DEFAULT_NORETURN.
10124
ee97f592
TT
101252014-02-19 Tom Tromey <tromey@redhat.com>
10126
10127 * record.c (record_stop): Unconditionally delegate.
10128 * target-delegates.c: Rebuild.
10129 * target.c (target_stop_recording): Unconditionally delegate.
10130 * target.h (struct target_ops) <to_stop_recording>: Use
10131 TARGET_DEFAULT_IGNORE.
10132
6dc7fcf4
TT
101332014-02-19 Tom Tromey <tromey@redhat.com>
10134
10135 * target-delegates.c: Rebuild.
10136 * target.c (target_enable_btrace): Unconditionally delegate.
10137 * target.h (struct target_ops) <to_enable_btrace>: Use
10138 TARGET_DEFAULT_NORETURN.
10139
eb5b20d4
TT
101402014-02-19 Tom Tromey <tromey@redhat.com>
10141
10142 * target-delegates.c: Rebuild.
10143 * target.c (target_read_btrace): Unconditionally delegate.
10144 * target.h (struct target_ops) <to_read_btrace>: Use
10145 TARGET_DEFAULT_NORETURN.
10146
9ace480d
TT
101472014-02-19 Tom Tromey <tromey@redhat.com>
10148
10149 * target-delegates.c: Rebuild.
10150 * target.c (target_teardown_btrace): Unconditionally delegate.
10151 * target.h (struct target_ops) <to_teardown_btrace>: Use
10152 TARGET_DEFAULT_NORETURN.
10153
8dc292d3
TT
101542014-02-19 Tom Tromey <tromey@redhat.com>
10155
10156 * target-delegates.c: Rebuild.
10157 * target.c (target_disable_btrace): Unconditionally delegate.
10158 * target.h (struct target_ops) <to_disable_btrace>: Use
10159 TARGET_DEFAULT_NORETURN.
10160
58a5184e
TT
101612014-02-19 Tom Tromey <tromey@redhat.com>
10162
10163 * target-delegates.c: Rebuild.
10164 * target.c (default_search_memory): New function.
10165 (simple_search_memory): Update comment.
10166 (target_search_memory): Unconditionally delegate.
10167 * target.h (struct target_ops) <to_search_memory>: Use
10168 TARGET_DEFAULT_FUNC.
10169
8de71aab
TT
101702014-02-19 Tom Tromey <tromey@redhat.com>
10171
10172 * auxv.c (default_auxv_parse): No longer static.
10173 (target_auxv_parse): Unconditionally delegate.
10174 * auxv.h (default_auxv_parse): Declare.
10175 * target-delegates.c: Rebuild.
10176 * target.c: Include auxv.h.
10177 * target.h (struct target_ops) <to_auxv_parse>: Use
10178 TARGET_DEFAULT_FUNC.
10179
6b2c5a57
TT
101802014-02-19 Tom Tromey <tromey@redhat.com>
10181
10182 * target-delegates.c: Rebuild.
10183 * target.c (target_memory_map): Unconditionally delegate.
10184 * target.h (struct target_ops) <to_memory_map>: Use
10185 TARGET_DEFAULT_RETURN.
10186
cbffc065
TT
101872014-02-19 Tom Tromey <tromey@redhat.com>
10188
10189 * target-delegates.c: Rebuild.
10190 * target.c (target_thread_alive): Unconditionally delegate.
10191 * target.h (struct target_ops) <to_thread_alive>: Use
10192 TARGET_DEFAULT_RETURN.
10193
f09e2107
TT
101942014-02-19 Tom Tromey <tromey@redhat.com>
10195
10196 * target-delegates.c: Rebuild.
10197 * target.c (target_save_record): Unconditionally delegate.
10198 * target.h (struct target_ops) <to_save_record>: Use
10199 TARGET_DEFAULT_NORETURN.
10200
07366925
TT
102012014-02-19 Tom Tromey <tromey@redhat.com>
10202
10203 * target-delegates.c: Rebuild.
10204 * target.c (target_delete_record): Unconditionally delegate.
10205 * target.h (struct target_ops) <to_delete_record>: Use
10206 TARGET_DEFAULT_NORETURN.
10207
dd2e9d25
TT
102082014-02-19 Tom Tromey <tromey@redhat.com>
10209
10210 * target-delegates.c: Rebuild.
10211 * target.c (target_record_is_replaying): Unconditionally
10212 delegate.
10213 * target.h (struct target_ops) <to_record_is_replaying>: Use
10214 TARGET_DEFAULT_RETURN.
10215
671e76cc
TT
102162014-02-19 Tom Tromey <tromey@redhat.com>
10217
10218 * target-delegates.c: Rebuild.
10219 * target.c (target_goto_record_begin): Unconditionally delegate.
10220 * target.h (struct target_ops) <to_goto_record_begin>: Use
10221 TARGET_DEFAULT_NORETURN.
10222
e9179bb3
TT
102232014-02-19 Tom Tromey <tromey@redhat.com>
10224
10225 * target-delegates.c: Rebuild.
10226 * target.c (target_goto_record_end): Unconditionally delegate.
10227 * target.h (struct target_ops) <to_goto_record_end>: Use
10228 TARGET_DEFAULT_NORETURN.
10229
05969c84
TT
102302014-02-19 Tom Tromey <tromey@redhat.com>
10231
10232 * target-delegates.c: Rebuild.
10233 * target.c (target_goto_record): Unconditionally delegate.
10234 * target.h (struct target_ops) <to_goto_record>: Use
10235 TARGET_DEFAULT_NORETURN.
10236
3679abfa
TT
102372014-02-19 Tom Tromey <tromey@redhat.com>
10238
10239 * target-delegates.c: Rebuild.
10240 * target.c (target_insn_history): Unconditionally delegate.
10241 * target.h (struct target_ops) <to_insn_history>: Use
10242 TARGET_DEFAULT_NORETURN.
10243
8444ab58
TT
102442014-02-19 Tom Tromey <tromey@redhat.com>
10245
10246 * target-delegates.c: Rebuild.
10247 * target.c (target_insn_history_from): Unconditionally delegate.
10248 * target.h (struct target_ops) <to_insn_history_from>: Use
10249 TARGET_DEFAULT_NORETURN.
10250
c29302cc
TT
102512014-02-19 Tom Tromey <tromey@redhat.com>
10252
10253 * target-delegates.c: Rebuild.
10254 * target.c (target_insn_history_range): Unconditionally delegate.
10255 * target.h (struct target_ops) <to_insn_history_range>: Use
10256 TARGET_DEFAULT_NORETURN.
10257
170049d4
TT
102582014-02-19 Tom Tromey <tromey@redhat.com>
10259
10260 * target-delegates.c: Rebuild.
10261 * target.c (target_call_history): Unconditionally delegate.
10262 * target.h (struct target_ops) <to_call_history>: Use
10263 TARGET_DEFAULT_NORETURN.
10264
16fc27d6
TT
102652014-02-19 Tom Tromey <tromey@redhat.com>
10266
10267 * target-delegates.c: Rebuild.
10268 * target.c (target_call_history_from): Unconditionally delegate.
10269 * target.h (struct target_ops) <to_call_history_from>: Use
10270 TARGET_DEFAULT_NORETURN.
10271
115d9817
TT
102722014-02-19 Tom Tromey <tromey@redhat.com>
10273
10274 * target-delegates.c: Rebuild.
10275 * target.c (target_call_history_range): Unconditionally delegate.
10276 * target.h (struct target_ops) <to_call_history_range>: Use
10277 TARGET_DEFAULT_NORETURN.
10278
eb276a6b
TT
102792014-02-19 Tom Tromey <tromey@redhat.com>
10280
10281 * target-delegates.c: Rebuild.
10282 * target.c (target_verify_memory): Unconditionally delegate.
10283 * target.h (struct target_ops) <to_verify_memory>: Use
10284 TARGET_DEFAULT_NORETURN.
10285
9e538d0d
TT
102862014-02-19 Tom Tromey <tromey@redhat.com>
10287
10288 * target-delegates.c: Rebuild.
10289 * target.c (target_core_of_thread): Unconditionally delegate.
10290 * target.h (struct target_ops) <to_core_of_thread>: Use
10291 TARGET_DEFAULT_RETURN.
10292
f6fb2925
TT
102932014-02-19 Tom Tromey <tromey@redhat.com>
10294
10295 * target-delegates.c: Rebuild.
10296 * target.c (target_flash_done): Unconditionally delegate.
10297 * target.h (struct target_ops) <to_flash_done>: Use
10298 TARGET_DEFAULT_NORETURN.
10299
e8a6c6ac
TT
103002014-02-19 Tom Tromey <tromey@redhat.com>
10301
10302 * target-delegates.c: Rebuild.
10303 * target.c (target_flash_erase): Unconditionally delegate.
10304 * target.h (struct target_ops) <to_flash_erase>: Use
10305 TARGET_DEFAULT_NORETURN.
10306
7e35c012
TT
103072014-02-19 Tom Tromey <tromey@redhat.com>
10308
10309 * target-delegates.c: Rebuild.
10310 * target.c (target_get_section_table): Unconditionally delegate.
10311 * target.h (struct target_ops) <to_get_section_table>: Use
10312 TARGET_DEFAULT_RETURN.
10313
770234d3
TT
103142014-02-19 Tom Tromey <tromey@redhat.com>
10315
10316 * target-delegates.c: Rebuild.
10317 * target.c (target_pid_to_str): Unconditionally delegate.
10318 (init_dummy_target): Don't initialize to_pid_to_str.
10319 (default_pid_to_str): Rename from dummy_pid_to_str.
10320 * target.h (struct target_ops) <to_pid_to_str>: Use
10321 TARGET_DEFAULT_FUNC.
10322
09b0dc2b
TT
103232014-02-19 Tom Tromey <tromey@redhat.com>
10324
10325 * target-delegates.c: Rebuild.
10326 * target.c (target_find_new_threads): Unconditionally delegate.
10327 * target.h (struct target_ops) <to_find_new_threads>: Use
10328 TARGET_DEFAULT_RETURN.
10329
7d4f8efa
TT
103302014-02-19 Tom Tromey <tromey@redhat.com>
10331
10332 * target-delegates.c: Rebuild.
10333 * target.c (target_program_signals): Unconditionally delegate.
10334 * target.h (struct target_ops) <to_program_signals>: Use
10335 TARGET_DEFAULT_IGNORE.
10336
035cad7f
TT
103372014-02-19 Tom Tromey <tromey@redhat.com>
10338
10339 * target-delegates.c: Rebuild.
10340 * target.c (target_pass_signals): Unconditionally delegate.
10341 * target.h (struct target_ops) <to_pass_signals>: Use
10342 TARGET_DEFAULT_IGNORE.
10343
8d657035
TT
103442014-02-19 Tom Tromey <tromey@redhat.com>
10345
10346 * target-delegates.c: Rebuild.
10347 * target.c (default_mourn_inferior): New function.
10348 (target_mourn_inferior): Unconditionally delegate.
10349 * target.h (struct target_ops) <to_mourn_inferior>: Use
10350 TARGET_DEFAULT_FUNC.
10351
098dba18
TT
103522014-02-19 Tom Tromey <tromey@redhat.com>
10353
10354 * target-delegates.c: Rebuild.
10355 * target.c (default_follow_fork): New function.
10356 (target_follow_fork): Unconditionally delegate.
10357 * target.h (struct target_ops) <to_follow_fork>: Use
10358 TARGET_DEFAULT_FUNC.
10359
423a4807
TT
103602014-02-19 Tom Tromey <tromey@redhat.com>
10361
10362 * target-delegates.c: Rebuild.
10363 * target.c (target_kill): Unconditionally delegate.
10364 * target.h (struct target_ops) <to_kill>: Use
10365 TARGET_DEFAULT_NORETURN.
10366
6c7e5e5c
TT
103672014-02-19 Tom Tromey <tromey@redhat.com>
10368
10369 * target-delegates.c: Rebuild.
10370 * target.c (target_masked_watch_num_registers): Unconditionally
10371 delegate.
10372 * target.h (struct target_ops) <to_masked_watch_num_registers>:
10373 Use TARGET_DEFAULT_RETURN.
10374
8b1c364c
TT
103752014-02-19 Tom Tromey <tromey@redhat.com>
10376
10377 * target-delegates.c: Rebuild.
10378 * target.c (target_remove_mask_watchpoint): Unconditionally
10379 delegate.
10380 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
10381 TARGET_DEFAULT_RETURN.
10382
cd4ae029
TT
103832014-02-19 Tom Tromey <tromey@redhat.com>
10384
10385 * target-delegates.c: Rebuild.
10386 * target.c (target_insert_mask_watchpoint): Unconditionally
10387 delegate.
10388 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
10389 TARGET_DEFAULT_RETURN.
10390
a134316b
TT
103912014-02-19 Tom Tromey <tromey@redhat.com>
10392
10393 * target-delegates.c: Rebuild.
10394 * target.c (target_ranged_break_num_registers): Unconditionally
10395 delegate.
10396 * target.h (struct target_ops) <to_ranged_break_num_registers>:
10397 Use TARGET_DEFAULT_RETURN.
10398
ad5989bd
TT
103992014-02-19 Tom Tromey <tromey@redhat.com>
10400
10401 * target-delegates.c: Rebuild.
10402 * target.c (target_fetch_registers): Unconditionally delegate.
10403 * target.h (struct target_ops) <to_fetch_registers>: Use
10404 TARGET_DEFAULT_NORETURN.
10405
46ee7e8d
TT
104062014-02-19 Tom Tromey <tromey@redhat.com>
10407
10408 * target-delegates.c: Rebuild.
10409 * target.c (update_current_target): Don't inherit or default
10410 to_stop.
10411 * target.h (struct target_ops) <to_stop>: Use
10412 TARGET_DEFAULT_IGNORE.
10413
843f59ed
TT
104142014-02-19 Tom Tromey <tromey@redhat.com>
10415
10416 * target-delegates.c: Rebuild.
10417 * target.c (update_current_target): Don't inherit or default
10418 to_can_run_breakpoint_commands.
10419 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
10420 Use TARGET_DEFAULT_RETURN.
10421
ccfde2a0
TT
104222014-02-19 Tom Tromey <tromey@redhat.com>
10423
10424 * target-delegates.c: Rebuild.
10425 * target.c (update_current_target): Don't inherit or default
10426 to_supports_evaluation_of_breakpoint_conditions.
10427 * target.h (struct target_ops)
10428 <to_supports_evaluation_of_breakpoint_conditions>: Use
10429 TARGET_DEFAULT_RETURN.
10430
0de91722
TT
104312014-02-19 Tom Tromey <tromey@redhat.com>
10432
10433 * target-delegates.c: Rebuild.
10434 * target.c (update_current_target): Don't inherit or default
10435 to_augmented_libraries_svr4_read.
10436 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
10437 Use TARGET_DEFAULT_RETURN.
10438
9a7d8b48
TT
104392014-02-19 Tom Tromey <tromey@redhat.com>
10440
10441 * target-delegates.c: Rebuild.
10442 * target.c (update_current_target): Don't inherit or default
10443 to_can_use_agent.
10444 * target.h (struct target_ops) <to_can_use_agent>: Use
10445 TARGET_DEFAULT_RETURN.
10446
d9db5b21
TT
104472014-02-19 Tom Tromey <tromey@redhat.com>
10448
10449 * target-delegates.c: Rebuild.
10450 * target.c (update_current_target): Don't inherit or default
10451 to_use_agent.
10452 * target.h (struct target_ops) <to_use_agent>: Use
10453 TARGET_DEFAULT_NORETURN.
10454
92155eeb
TT
104552014-02-19 Tom Tromey <tromey@redhat.com>
10456
10457 * target-delegates.c: Rebuild.
10458 * target.c (update_current_target): Don't inherit or default
10459 to_traceframe_info.
10460 (return_null): Remove.
10461 * target.h (struct target_ops) <to_traceframe_info>: Use
10462 TARGET_DEFAULT_RETURN.
10463
d6522a22
TT
104642014-02-19 Tom Tromey <tromey@redhat.com>
10465
10466 * target-delegates.c: Rebuild.
10467 * target.c (update_current_target): Don't inherit or default
10468 to_static_tracepoint_markers_by_strid.
10469 * target.h (struct target_ops)
10470 <to_static_tracepoint_markers_by_strid>: Use
10471 TARGET_DEFAULT_NORETURN.
10472
4c3e4425
TT
104732014-02-19 Tom Tromey <tromey@redhat.com>
10474
10475 * target-delegates.c: Rebuild.
10476 * target.c (update_current_target): Don't inherit or default
10477 to_static_tracepoint_marker_at.
10478 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
10479 Use TARGET_DEFAULT_RETURN.
10480
dcd6917f
TT
104812014-02-19 Tom Tromey <tromey@redhat.com>
10482
10483 * target-delegates.c: Rebuild.
10484 * target.c (update_current_target): Don't inherit or default
10485 to_set_permissions.
10486 * target.h (struct target_ops) <to_set_permissions>: Use
10487 TARGET_DEFAULT_IGNORE.
10488
22bcceee
TT
104892014-02-19 Tom Tromey <tromey@redhat.com>
10490
10491 * target-delegates.c: Rebuild.
10492 * target.c (update_current_target): Don't inherit or default
10493 to_get_tib_address.
10494 * target.h (struct target_ops) <to_get_tib_address>: Use
10495 TARGET_DEFAULT_NORETURN.
10496
8586ccaa
TT
104972014-02-19 Tom Tromey <tromey@redhat.com>
10498
10499 * target-delegates.c: Rebuild.
10500 * target.c (update_current_target): Don't inherit or default
10501 to_set_trace_notes.
10502 * target.h (struct target_ops) <to_set_trace_notes>: Use
10503 TARGET_DEFAULT_RETURN.
10504
91df8d1d
TT
105052014-02-19 Tom Tromey <tromey@redhat.com>
10506
10507 * target-delegates.c: Rebuild.
10508 * target.c (update_current_target): Don't initialize
10509 to_set_trace_buffer_size.
10510 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
10511 TARGET_DEFAULT_IGNORE.
10512
8d526939
TT
105132014-02-19 Tom Tromey <tromey@redhat.com>
10514
10515 * target-delegates.c: Rebuild.
10516 * target.c (update_current_target): Don't inherit or default
10517 to_set_circular_trace_buffer.
10518 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
10519 TARGET_DEFAULT_IGNORE.
10520
0bcfeddf
TT
105212014-02-19 Tom Tromey <tromey@redhat.com>
10522
10523 * target-delegates.c: Rebuild.
10524 * target.c (update_current_target): Don't inherit or default
10525 to_set_disconnected_tracing.
10526 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
10527 TARGET_DEFAULT_IGNORE.
10528
9249843f
TT
105292014-02-19 Tom Tromey <tromey@redhat.com>
10530
10531 * target-delegates.c: Rebuild.
10532 * target.c (update_current_target): Don't inherit or default
10533 to_get_min_fast_tracepoint_insn_len.
10534 (return_minus_one): Remove.
10535 * target.h (struct target_ops)
10536 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
10537
ace92e7d
TT
105382014-02-19 Tom Tromey <tromey@redhat.com>
10539
10540 * target-delegates.c: Rebuild.
10541 * target.c (update_current_target): Don't inherit or default
10542 to_get_raw_trace_data.
10543 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
10544 TARGET_DEFAULT_NORETURN.
10545
08120467
TT
105462014-02-19 Tom Tromey <tromey@redhat.com>
10547
10548 * target-delegates.c: Rebuild.
10549 * target.c (update_current_target): Don't inherit or default
10550 to_upload_trace_state_variables.
10551 * target.h (struct target_ops) <to_upload_trace_state_variables>:
10552 Use TARGET_DEFAULT_RETURN.
10553
1e949b00
TT
105542014-02-19 Tom Tromey <tromey@redhat.com>
10555
10556 * target-delegates.c: Rebuild.
10557 * target.c (update_current_target): Don't inherit or default
10558 to_upload_tracepoints.
10559 * target.h (struct target_ops) <to_upload_tracepoints>: Use
10560 TARGET_DEFAULT_RETURN.
10561
a2e6c147
TT
105622014-02-19 Tom Tromey <tromey@redhat.com>
10563
10564 * target-delegates.c: Rebuild.
10565 * target.c (update_current_target): Don't inherit or default
10566 to_save_trace_data.
10567 * target.h (struct target_ops) <to_save_trace_data>: Use
10568 TARGET_DEFAULT_NORETURN.
10569
959bcd0b
TT
105702014-02-19 Tom Tromey <tromey@redhat.com>
10571
10572 * target-delegates.c: Rebuild.
10573 * target.c (update_current_target): Don't inherit or default
10574 to_get_trace_state_variable_value.
10575 * target.h (struct target_ops)
10576 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
10577
afc94e66
TT
105782014-02-19 Tom Tromey <tromey@redhat.com>
10579
10580 * target-delegates.c: Rebuild.
10581 * target.c (update_current_target): Don't inherit or default
10582 to_trace_find.
10583 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
10584
e51c07ea
TT
105852014-02-19 Tom Tromey <tromey@redhat.com>
10586
10587 * target-delegates.c: Rebuild.
10588 * target.c (update_current_target): Don't inherit or default
10589 to_trace_stop.
10590 * target.h (struct target_ops) <to_trace_stop>: Use
10591 TARGET_DEFAULT_NORETURN.
10592
6fea14cd
TT
105932014-02-19 Tom Tromey <tromey@redhat.com>
10594
10595 * target-delegates.c: Rebuild.
10596 * target.c (update_current_target): Don't inherit or default
10597 to_get_tracepoint_status.
10598 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
10599 TARGET_DEFAULT_NORETURN.
10600
4072d4ff
TT
106012014-02-19 Tom Tromey <tromey@redhat.com>
10602
10603 * target-delegates.c: Rebuild.
10604 * target.c (update_current_target): Don't inherit or default
10605 to_get_trace_status.
10606 * target.h (struct target_ops) <to_get_trace_status>: Use
10607 TARGET_DEFAULT_RETURN.
10608
25da2e80
TT
106092014-02-19 Tom Tromey <tromey@redhat.com>
10610
10611 * target-delegates.c: Rebuild.
10612 * target.c (update_current_target): Don't inherit or default
10613 to_trace_start.
10614 * target.h (struct target_ops) <to_trace_start>: Use
10615 TARGET_DEFAULT_NORETURN.
10616
86dd181d
TT
106172014-02-19 Tom Tromey <tromey@redhat.com>
10618
10619 * target-delegates.c: Rebuild.
10620 * target.c (update_current_target): Don't inherit or default
10621 to_trace_set_readonly_regions.
10622 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
10623 Use TARGET_DEFAULT_NORETURN.
10624
05c41993
TT
106252014-02-19 Tom Tromey <tromey@redhat.com>
10626
10627 * target-delegates.c: Rebuild.
10628 * target.c (update_current_target): Don't inherit or default
10629 to_disable_tracepoint.
10630 * target.h (struct target_ops) <to_disable_tracepoint>: Use
10631 TARGET_DEFAULT_NORETURN.
10632
151f70f1
TT
106332014-02-19 Tom Tromey <tromey@redhat.com>
10634
10635 * target-delegates.c: Rebuild.
10636 * target.c (update_current_target): Don't inherit or default
10637 to_enable_tracepoint.
10638 * target.h (struct target_ops) <to_enable_tracepoint>: Use
10639 TARGET_DEFAULT_NORETURN.
10640
94eb98b9
TT
106412014-02-19 Tom Tromey <tromey@redhat.com>
10642
10643 * target-delegates.c: Rebuild.
10644 * target.c (update_current_target): Don't inherit or default
10645 to_download_trace_state_variable.
10646 * target.h (struct target_ops) <to_download_trace_state_variable>:
10647 Use TARGET_DEFAULT_NORETURN.
10648
719acc4a
TT
106492014-02-19 Tom Tromey <tromey@redhat.com>
10650
10651 * target-delegates.c: Rebuild.
10652 * target.c (update_current_target): Don't inherit or default
10653 to_can_download_tracepoint.
10654 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
10655 TARGET_DEFAULT_RETURN.
10656
9a980a22
TT
106572014-02-19 Tom Tromey <tromey@redhat.com>
10658
10659 * target-delegates.c: Rebuild.
10660 * target.c (update_current_target): Don't inherit or default
10661 to_download_tracepoint.
10662 * target.h (struct target_ops) <to_download_tracepoint>: Use
10663 TARGET_DEFAULT_NORETURN.
10664
5536135b
TT
106652014-02-19 Tom Tromey <tromey@redhat.com>
10666
10667 * target-delegates.c: Rebuild.
10668 * target.c (update_current_target): Don't inherit or default
10669 to_trace_init.
10670 * target.h (struct target_ops) <to_trace_init>: Use
10671 TARGET_DEFAULT_RETURN.
10672
9409d39e
TT
106732014-02-19 Tom Tromey <tromey@redhat.com>
10674
10675 * target-delegates.c: Rebuild.
10676 * target.c (update_current_target): Don't inherit or default
10677 to_supports_string_tracing.
10678 * target.h (struct target_ops) <to_supports_string_tracing>: Use
10679 TARGET_DEFAULT_RETURN.
10680
aab1b22d
TT
106812014-02-19 Tom Tromey <tromey@redhat.com>
10682
10683 * target-delegates.c: Rebuild.
10684 * target.c (update_current_target): Don't inherit or default
10685 to_supports_enable_disable_tracepoint.
10686 * target.h (struct target_ops)
10687 <to_supports_enable_disable_tracepoint>: Use
10688 TARGET_DEFAULT_RETURN.
10689
a7304748
TT
106902014-02-19 Tom Tromey <tromey@redhat.com>
10691
10692 * target-delegates.c: Rebuild.
10693 * target.c (update_current_target): Don't inherit or default
10694 to_supports_multi_process.
10695 * target.h (struct target_ops) <to_supports_multi_process>: Use
10696 TARGET_DEFAULT_RETURN.
10697
4229b31d
TT
106982014-02-19 Tom Tromey <tromey@redhat.com>
10699
10700 * target-delegates.c: Rebuild.
10701 * target.c (update_current_target): Don't inherit or default
10702 to_get_ada_task_ptid.
10703 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
10704 TARGET_DEFAULT_FUNC.
10705
43eba180
TT
107062014-02-19 Tom Tromey <tromey@redhat.com>
10707
10708 * target-delegates.c: Rebuild.
10709 * target.c (update_current_target): Don't inherit or default
10710 to_thread_architecture.
10711 * target.h (struct target_ops) <to_thread_architecture>: Use
10712 TARGET_DEFAULT_FUNC.
10713
fe31bf5b
TT
107142014-02-19 Tom Tromey <tromey@redhat.com>
10715
10716 * target-delegates.c: Rebuild.
10717 * target.c (update_current_target): Don't inherit or default
10718 to_execution_direction.
10719 * target.h (struct target_ops) <to_execution_direction>: Use
10720 TARGET_DEFAULT_FUNC.
10721
53e1cfc7
TT
107222014-02-19 Tom Tromey <tromey@redhat.com>
10723
10724 * target-delegates.c: Rebuild.
10725 * target.c (update_current_target): Don't inherit or default
10726 to_can_execute_reverse.
10727 * target.h (struct target_ops) <to_can_execute_reverse>: Use
10728 TARGET_DEFAULT_RETURN.
10729 (target_can_execute_reverse): Unconditionally delegate.
10730
9bb9d61d
TT
107312014-02-19 Tom Tromey <tromey@redhat.com>
10732
10733 * target-delegates.c: Rebuild.
10734 * target.c (update_current_target): Don't inherit or default
10735 to_goto_bookmark.
10736 (dummy_goto_bookmark): Remove.
10737 (init_dummy_target): Don't inherit or default to_goto_bookmark.
10738 * target.h (struct target_ops) <to_goto_bookmark>: Use
10739 TARGET_DEFAULT_NORETURN.
10740
3dbafbbb
TT
107412014-02-19 Tom Tromey <tromey@redhat.com>
10742
10743 * target-delegates.c: Rebuild.
10744 * target.c (update_current_target): Don't inherit or default
10745 to_get_bookmark.
10746 (dummy_get_bookmark): Remove.
10747 (init_dummy_target): Don't inherit or default to_get_bookmark.
10748 * target.h (struct target_ops) <to_get_bookmark>: Use
10749 TARGET_DEFAULT_NORETURN
10750
16f796b1
TT
107512014-02-19 Tom Tromey <tromey@redhat.com>
10752
10753 * target-delegates.c: Rebuild.
10754 * target.c (update_current_target): Don't inherit or default
10755 to_make_corefile_notes.
10756 (init_dummy_target): Don't initialize to_make_corefile_notes.
10757 * target.h (struct target_ops) <to_make_corefile_notes>: Use
10758 TARGET_DEFAULT_FUNC.
10759
0b5a2719
TT
107602014-02-19 Tom Tromey <tromey@redhat.com>
10761
10762 * target-delegates.c: Rebuild.
10763 * target.c (update_current_target): Don't inherit or default
10764 to_find_memory_regions.
10765 (init_dummy_target): Don't initialize to_find_memory_regions.
10766 * target.h (struct target_ops) <to_find_memory_regions>: Use
10767 TARGET_DEFAULT_FUNC.
10768
d9cb0195
TT
107692014-02-19 Tom Tromey <tromey@redhat.com>
10770
10771 * target-delegates.c: Rebuild.
10772 * target.c (update_current_target): Don't inherit or default
10773 to_log_command.
10774 * target.h (struct target_ops) <to_log_command>: Use
10775 TARGET_DEFAULT_IGNORE.
10776 (target_log_command): Unconditionally delegate.
10777
830ca330
TT
107782014-02-19 Tom Tromey <tromey@redhat.com>
10779
10780 * target-delegates.c: Rebuild.
10781 * target.c (update_current_target): Don't inherit or default
10782 to_pid_to_exec_file.
10783 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
10784 TARGET_DEFAULT_RETURN.
10785
825828fc
TT
107862014-02-19 Tom Tromey <tromey@redhat.com>
10787
10788 * target-delegates.c: Rebuild.
10789 * target.c (update_current_target): Don't inherit or default
10790 to_thread_name.
10791 (target_thread_name): Unconditionally delegate.
10792 * target.h (struct target_ops) <to_thread_name>: Use
10793 TARGET_DEFAULT_RETURN.
10794
4a7e6dda
TT
107952014-02-19 Tom Tromey <tromey@redhat.com>
10796
10797 * target-delegates.c: Rebuild.
10798 * target.c (update_current_target): Don't inherit or default
10799 to_extra_thread_info.
10800 * target.h (struct target_ops) <to_extra_thread_info>: Use
10801 TARGET_DEFAULT_RETURN.
10802
0db88c1d
TT
108032014-02-19 Tom Tromey <tromey@redhat.com>
10804
10805 * target-delegates.c: Rebuild.
10806 * target.c (update_current_target): Don't inherit or default
10807 to_has_exited.
10808 * target.h (struct target_ops) <to_has_exited>: Use
10809 TARGET_DEFAULT_RETURN..
10810
6a9fa051
TT
108112014-02-19 Tom Tromey <tromey@redhat.com>
10812
10813 * target-delegates.c: Rebuild.
10814 * target.c (update_current_target): Don't inherit or default
10815 to_set_syscall_catchpoint.
10816 (return_one): Remove.
10817 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
10818 TARGET_DEFAULT_RETURN.
10819
62f64d7a
TT
108202014-02-19 Tom Tromey <tromey@redhat.com>
10821
10822 * target-delegates.c: Rebuild.
10823 * target.c (update_current_target): Don't inherit or default
10824 to_insert_exec_catchpoint.
10825 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10826 TARGET_DEFAULT_RETURN.
10827
cda0f38c
TT
108282014-01-08 Tom Tromey <tromey@redhat.com>
10829
10830 * target-delegates.c: Rebuild.
10831 * target.c (update_current_target): Don't inherit or default
10832 to_insert_exec_catchpoint.
10833 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
10834 TARGET_DEFAULT_RETURN.
10835
95c3375e
TT
108362014-02-19 Tom Tromey <tromey@redhat.com>
10837
10838 * target-delegates.c: Rebuild.
10839 * target.c (update_current_target): Don't inherit or default
10840 to_remove_vfork_catchpoint.
10841 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
10842 TARGET_DEFAULT_RETURN.
10843
7e18a8dc
TT
108442014-02-19 Tom Tromey <tromey@redhat.com>
10845
10846 * target-delegates.c: Rebuild.
10847 * target.c (update_current_target): Don't inherit or default
10848 to_insert_vfork_catchpoint.
10849 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
10850 TARGET_DEFAULT_RETURN.
10851
e1a21fb7
TT
108522014-02-19 Tom Tromey <tromey@redhat.com>
10853
10854 * target-delegates.c: Rebuild.
10855 * target.c (update_current_target): Don't inherit or default
10856 to_remove_fork_catchpoint.
10857 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
10858 TARGET_DEFAULT_RETURN.
10859
5958ebeb
TT
108602014-02-19 Tom Tromey <tromey@redhat.com>
10861
10862 * target-delegates.c: Rebuild.
10863 * target.c (update_current_target): Don't inherit or default
10864 to_insert_fork_catchpoint.
10865 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
10866 TARGET_DEFAULT_RETURN.
10867
340ba4bf
TT
108682014-02-19 Tom Tromey <tromey@redhat.com>
10869
10870 * target-delegates.c: Rebuild.
10871 * target.c (update_current_target): Don't inherit or default
10872 to_post_startup_inferior.
10873 * target.h (struct target_ops) <to_post_startup_inferior>: Use
10874 TARGET_DEFAULT_IGNORE.
10875
7634da87
TT
108762014-02-19 Tom Tromey <tromey@redhat.com>
10877
10878 * target-delegates.c: Rebuild.
10879 * target.c (update_current_target): Don't inherit or default
10880 to_load.
10881 * target.h (struct target_ops) <to_load>: Use
10882 TARGET_DEFAULT_NORETURN.
10883
e19e919f
TT
108842014-02-19 Tom Tromey <tromey@redhat.com>
10885
10886 * target-delegates.c: Rebuild.
10887 * target.c (update_current_target): Don't inherit or default
10888 to_terminal_info.
10889 * target.h (struct target_ops) <to_terminal_info>: Use
10890 TARGET_DEFAULT_FUNC.
10891
c6ea8f79
TT
108922014-02-19 Tom Tromey <tromey@redhat.com>
10893
10894 * target-delegates.c: Rebuild.
10895 * target.c (update_current_target): Don't inherit or default
10896 to_terminal_save_ours.
10897 * target.h (struct target_ops) <to_terminal_save_ours>: Use
10898 TARGET_DEFAULT_IGNORE.
10899
e4a733f1
TT
109002014-02-19 Tom Tromey <tromey@redhat.com>
10901
10902 * target-delegates.c: Rebuild.
10903 * target.c (update_current_target): Don't inherit or default
10904 to_terminal_ours.
10905 * target.h (struct target_ops) <to_terminal_ours>: Use
10906 TARGET_DEFAULT_IGNORE.
10907
74fcbef9
TT
109082014-02-19 Tom Tromey <tromey@redhat.com>
10909
10910 * target-delegates.c: Rebuild.
10911 * target.c (update_current_target): Don't inherit or default
10912 to_terminal_ours_for_output.
10913 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
10914 TARGET_DEFAULT_IGNORE.
10915
ddeaacc9
TT
109162014-02-19 Tom Tromey <tromey@redhat.com>
10917
10918 * target-delegates.c: Rebuild.
10919 * target.c (update_current_target): Don't inherit or default
10920 to_terminal_inferior.
10921 * target.h (struct target_ops) <to_terminal_inferior>: Use
10922 TARGET_DEFAULT_IGNORE.
10923
0343661d
TT
109242014-02-19 Tom Tromey <tromey@redhat.com>
10925
10926 * target-delegates.c: Rebuild.
10927 * target.c (update_current_target): Don't inherit or default
10928 to_terminal_init.
10929 * target.h (struct target_ops) <to_terminal_init>: Use
10930 TARGET_DEFAULT_IGNORE.
10931
77cdffe9
TT
109322014-02-19 Tom Tromey <tromey@redhat.com>
10933
10934 * target-delegates.c: Rebuild.
10935 * target.c (update_current_target): Don't inherit or default
10936 to_can_accel_watchpoint_condition.
10937 * target.h (struct target_ops)
10938 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
10939
d03655e4
TT
109402014-02-19 Tom Tromey <tromey@redhat.com>
10941
10942 * target-delegates.c: Rebuild.
10943 * target.c (update_current_target): Don't inherit or default
10944 to_region_ok_for_hw_watchpoint.
10945 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
10946 Use TARGET_DEFAULT_FUNC.
10947
65f160a9
TT
109482014-02-19 Tom Tromey <tromey@redhat.com>
10949
10950 * target-delegates.c: Rebuild.
10951 * target.c (update_current_target): Don't inherit or default
10952 to_watchpoint_addr_within_range.
10953 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
10954 Use TARGET_DEFAULT_FUNC.
10955
61dd109f
TT
109562014-02-19 Tom Tromey <tromey@redhat.com>
10957
10958 * target-delegates.c: Rebuild.
10959 * target.c (update_current_target): Don't inherit or default
10960 to_remove_watchpoint.
10961 * target.h (struct target_ops) <to_remove_watchpoint>: Use
10962 TARGET_DEFAULT_NORETURN.
10963
016facd4
TT
109642014-02-19 Tom Tromey <tromey@redhat.com>
10965
10966 * target-delegates.c: Rebuild.
10967 * target.c (update_current_target): Don't inherit or default
10968 to_insert_watchpoint.
10969 * target.h (struct target_ops) <to_insert_watchpoint>: Use
10970 TARGET_DEFAULT_RETURN.
10971
418dabac
TT
109722014-02-19 Tom Tromey <tromey@redhat.com>
10973
10974 * target-delegates.c: Rebuild.
10975 * target.c (update_current_target): Don't inherit or default
10976 to_remove_hw_breakpoint.
10977 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
10978 TARGET_DEFAULT_RETURN.
10979
61b371f9
TT
109802014-02-19 Tom Tromey <tromey@redhat.com>
10981
10982 * target-delegates.c: Rebuild.
10983 * target.c (update_current_target): Don't inherit or default
10984 to_insert_hw_breakpoint.
10985 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
10986 TARGET_DEFAULT_RETURN.
10987
52b51d06
TT
109882014-02-19 Tom Tromey <tromey@redhat.com>
10989
10990 * target-delegates.c: Rebuild.
10991 * target.c (update_current_target): Don't inherit or default
10992 to_can_use_hw_breakpoint.
10993 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
10994 TARGET_DEFAULT_RETURN.
10995
f86e59b2
TT
109962014-02-19 Tom Tromey <tromey@redhat.com>
10997
10998 * target-delegates.c: Rebuild.
10999 * target.c (update_current_target): Don't inherit or default
11000 to_files_info.
11001 * target.h (struct target_ops) <to_files_info>: Use
11002 TARGET_DEFAULT_IGNORE.
11003
6c628163
TT
110042014-02-19 Tom Tromey <tromey@redhat.com>
11005
11006 * target-delegates.c: Rebuild.
11007 * target.c (update_current_target): Don't inherit or default
11008 to_store.
11009 * target.h (struct target_ops) <to_store>: Use
11010 TARGET_DEFAULT_NORETURN.
11011
bebd3233
TT
110122014-02-19 Tom Tromey <tromey@redhat.com>
11013
11014 * target-delegates.c: Rebuild.
11015 * target.c (update_current_target): Don't inherit or default
11016 to_post_attach.
11017 * target.h (struct target_ops) <to_post_attach>: Use
11018 TARGET_DEFAULT_IGNORE.
11019
a53f3625
TT
110202014-02-19 Tom Tromey <tromey@redhat.com>
11021
11022 * target-delegates.c: Rebuild.
11023 * target.c (update_current_target): Don't inherit or default
11024 to_rcmd.
11025 (default_rcmd): New function.
11026 (do_monitor_command): Unconditionally delegate.
11027 * target.h (struct target_ops) <to_rmcd>: Use
11028 TARGET_DEFAULT_FUNC.
11029
e9a29200
TT
110302014-02-19 Tom Tromey <tromey@redhat.com>
11031
11032 * target-delegates.c: Rebuild.
11033 * target.c (init_dummy_target): Don't initialize to_attach.
11034 (target_attach): Unconditionally delegate.
11035 * target.h (struct target_ops) <to_attach>: Use
11036 TARGET_DEFAULT_FUNC.
11037
09da0d0a
TT
110382014-02-19 Tom Tromey <tromey@redhat.com>
11039
11040 * target-delegates.c: Rebuild.
11041 * target.c (target_detach): Unconditionally delegate.
11042 (init_dummy_target): Don't initialize to_detach.
11043 * target.h (struct target_ops) <to_detach>: Use
11044 TARGET_DEFAULT_IGNORE.
11045
5436ff03
TT
110462014-02-19 Tom Tromey <tromey@redhat.com>
11047
11048 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11049 Add argument.
11050 (target_augmented_libraries_svr4_read): Add argument.
11051 * target.c (update_current_target): Update.
11052 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11053 argument.
11054
f0d960ea
TT
110552014-02-19 Tom Tromey <tromey@redhat.com>
11056
11057 * target.h (struct target_ops) <to_call_history_range>: Add
11058 argument.
11059 * target.c (target_call_history_range): Add argument.
11060 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11061 argument.
11062 (record_btrace_call_history_from): Update.
11063
ec0aea04
TT
110642014-02-19 Tom Tromey <tromey@redhat.com>
11065
11066 * target.h (struct target_ops) <to_call_history_from>: Add
11067 argument.
11068 * target.c (target_call_history_from): Add argument.
11069 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11070 argument.
11071
5df2fcba
TT
110722014-02-19 Tom Tromey <tromey@redhat.com>
11073
11074 * target.h (struct target_ops) <to_call_history>: Add argument.
11075 * target.c (target_call_history): Add argument.
11076 * record-btrace.c (record_btrace_call_history): Add 'self'
11077 argument.
11078
4e99c6b7
TT
110792014-02-19 Tom Tromey <tromey@redhat.com>
11080
11081 * target.h (struct target_ops) <to_insn_history_range>: Add
11082 argument.
11083 * target.c (target_insn_history_range): Add argument.
11084 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
11085 argument.
11086 (record_btrace_insn_history_from): Update.
11087
9abc3ff3
TT
110882014-02-19 Tom Tromey <tromey@redhat.com>
11089
11090 * target.h (struct target_ops) <to_insn_history_from>: Add
11091 argument.
11092 * target.c (target_insn_history_from): Add argument.
11093 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
11094 argument.
11095
7a6c5609
TT
110962014-02-19 Tom Tromey <tromey@redhat.com>
11097
11098 * target.h (struct target_ops) <to_insn_history>: Add argument.
11099 * target.c (target_insn_history): Add argument.
11100 * record-btrace.c (record_btrace_insn_history): Add 'self'
11101 argument.
11102
606183ac
TT
111032014-02-19 Tom Tromey <tromey@redhat.com>
11104
11105 * target.h (struct target_ops) <to_goto_record>: Add argument.
11106 * target.c (target_goto_record): Add argument.
11107 * record-full.c (record_full_goto): Add 'self' argument.
11108 * record-btrace.c (record_btrace_goto): Add 'self' argument.
11109
307a1b91
TT
111102014-02-19 Tom Tromey <tromey@redhat.com>
11111
11112 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
11113 * target.c (target_goto_record_end): Add argument.
11114 * record-full.c (record_full_goto_end): Add 'self' argument.
11115 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
11116
08475817
TT
111172014-02-19 Tom Tromey <tromey@redhat.com>
11118
11119 * target.h (struct target_ops) <to_goto_record_begin>: Add
11120 argument.
11121 * target.c (target_goto_record_begin): Add argument.
11122 * record-full.c (record_full_goto_begin): Add 'self' argument.
11123 * record-btrace.c (record_btrace_goto_begin): Add 'self'
11124 argument.
11125
1c63c994
TT
111262014-02-19 Tom Tromey <tromey@redhat.com>
11127
11128 * target.h (struct target_ops) <to_record_is_replaying>: Add
11129 argument.
11130 * target.c (target_record_is_replaying): Add argument.
11131 * record-full.c (record_full_is_replaying): Add 'self' argument.
11132 * record-btrace.c (record_btrace_is_replaying): Add 'self'
11133 argument.
11134 (record_btrace_xfer_partial, record_btrace_store_registers)
11135 (record_btrace_prepare_to_store, record_btrace_resume)
11136 (record_btrace_wait, record_btrace_decr_pc_after_break)
11137 (record_btrace_find_new_threads, record_btrace_thread_alive):
11138 Update.
11139
d1b55219
TT
111402014-02-19 Tom Tromey <tromey@redhat.com>
11141
11142 * target.h (struct target_ops) <to_delete_record>: Add argument.
11143 * target.c (target_delete_record): Add argument.
11144 * record-full.c (record_full_delete): Add 'self' argument.
11145
1390f529
TT
111462014-02-19 Tom Tromey <tromey@redhat.com>
11147
11148 * target.h (struct target_ops) <to_save_record>: Add argument.
11149 * target.c (target_save_record): Add argument.
11150 * record-full.c (record_full_save): Add 'self' argument.
11151 (record_full_save): Add 'self' argument.
11152
630d6a4a
TT
111532014-02-19 Tom Tromey <tromey@redhat.com>
11154
11155 * target.h (struct target_ops) <to_info_record>: Add argument.
11156 * target.c (target_info_record): Add argument.
11157 * record.c (info_record_command): Add argument.
11158 * record-full.c (record_full_info): Add 'self' argument.
11159 * record-btrace.c (record_btrace_info): Add 'self' argument.
11160
c6cd7c02
TT
111612014-02-19 Tom Tromey <tromey@redhat.com>
11162
11163 * target.h (struct target_ops) <to_stop_recording>: Add argument.
11164 * target.c (target_stop_recording): Add argument.
11165 * record.c (record_stop): Add argument.
11166 * record-btrace.c (record_btrace_stop_recording): Add 'self'
11167 argument.
11168
39c49f83
TT
111692014-02-19 Tom Tromey <tromey@redhat.com>
11170
11171 * target.h (struct target_ops) <to_read_btrace>: Add argument.
11172 * target.c (struct target_ops) <to_read_btrace>: Add argument.
11173 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
11174 argument.
11175 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
11176 (_initialize_amd64_linux_nat): Use it.
11177 * i386-linux-nat.c (i386_linux_read_btrace): New function.
11178 (_initialize_i386_linux_nat): Use it.
11179
1777056d
TT
111802014-02-19 Tom Tromey <tromey@redhat.com>
11181
11182 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
11183 * target.c (target_teardown_btrace): Add argument.
11184 * remote.c (remote_teardown_btrace): Add 'self' argument.
11185 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
11186 argument.
11187 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
11188 argument.
11189
25e95349
TT
111902014-02-19 Tom Tromey <tromey@redhat.com>
11191
11192 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
11193 * target.c (target_disable_btrace): Add argument.
11194 * remote.c (remote_disable_btrace): Add 'self' argument.
11195 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
11196 argument.
11197 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
11198 argument.
11199
e3c49f88
TT
112002014-02-19 Tom Tromey <tromey@redhat.com>
11201
11202 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
11203 * target.c (target_enable_btrace): Add argument.
11204 * remote.c (remote_enable_btrace): Add 'self' argument.
11205 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
11206 argument.
11207 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
11208 argument.
11209
fe38f897
TT
112102014-02-19 Tom Tromey <tromey@redhat.com>
11211
11212 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
11213 (target_can_use_agent): Add argument.
11214 * target.c (update_current_target): Update.
11215 * remote.c (remote_can_use_agent): Add 'self' argument.
11216 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
11217
2c152180
TT
112182014-02-19 Tom Tromey <tromey@redhat.com>
11219
11220 * target.h (struct target_ops) <to_use_agent>: Add argument.
11221 (target_use_agent): Add argument.
11222 * target.c (update_current_target): Update.
11223 * remote.c (remote_use_agent): Add 'self' argument.
11224 * inf-child.c (inf_child_use_agent): Add 'self' argument.
11225
a893e81f
TT
112262014-02-19 Tom Tromey <tromey@redhat.com>
11227
11228 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
11229 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
11230 (target_traceframe_info): Add argument.
11231 * target.c (update_current_target): Update.
11232 * remote.c (remote_traceframe_info): Add 'self' argument.
11233 * ctf.c (ctf_traceframe_info): Add 'self' argument.
11234
c686c57f
TT
112352014-02-19 Tom Tromey <tromey@redhat.com>
11236
11237 * target.h (target_static_tracepoint_markers_by_strid): Add
11238 argument.
11239 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
11240 'self' argument.
11241 * target.c (update_current_target): Update.
11242 * remote.c (struct target_ops)
11243 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11244 * linux-nat.c (struct target_ops)
11245 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
11246
61fc905d
TT
112472014-02-19 Tom Tromey <tromey@redhat.com>
11248
11249 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11250 Add argument.
11251 (target_static_tracepoint_marker_at): Add argument.
11252 * target.c (update_current_target): Update.
11253 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
11254 argument.
11255
c378d69d
TT
112562014-02-19 Tom Tromey <tromey@redhat.com>
11257
11258 * target.h (struct target_ops) <to_set_permissions>: Add argument.
11259 (target_set_permissions): Add argument.
11260 * target.c (update_current_target): Update.
11261 * remote.c (remote_set_permissions): Add 'self' argument.
11262 (remote_start_remote): Update.
11263
bd7ae0f5
TT
112642014-02-19 Tom Tromey <tromey@redhat.com>
11265
11266 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
11267 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
11268 (target_get_tib_address): Add argument.
11269 * target.c (update_current_target): Update.
11270 * remote.c (remote_get_tib_address): Add 'self' argument.
11271
d9e68a2c
TT
112722014-02-19 Tom Tromey <tromey@redhat.com>
11273
11274 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
11275 (target_set_trace_notes): Add argument.
11276 * target.c (update_current_target): Update.
11277 * remote.c (remote_set_trace_notes): Add 'self' argument.
11278
4da384be
TT
112792014-02-19 Tom Tromey <tromey@redhat.com>
11280
11281 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
11282 argument.
11283 (target_set_trace_buffer_size): Add argument.
11284 * target.c (update_current_target): Update.
11285 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
11286
736d5b1f
TT
112872014-02-19 Tom Tromey <tromey@redhat.com>
11288
11289 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
11290 argument.
11291 (target_set_circular_trace_buffer): Add argument.
11292 * target.c (update_current_target): Update.
11293 * remote.c (remote_set_circular_trace_buffer): Add 'self'
11294 argument.
11295
37b25738
TT
112962014-02-19 Tom Tromey <tromey@redhat.com>
11297
11298 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
11299 argument.
11300 (target_set_disconnected_tracing): Add argument.
11301 * target.c (update_current_target): Update.
11302 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
11303
0e67620a
TT
113042014-02-19 Tom Tromey <tromey@redhat.com>
11305
11306 * target.h (struct target_ops)
11307 <to_get_min_fast_tracepoint_insn_len>: Add argument.
11308 (target_get_min_fast_tracepoint_insn_len): Add argument.
11309 * target.c (update_current_target): Update.
11310 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
11311 argument.
11312
88ee6f45
TT
113132014-02-19 Tom Tromey <tromey@redhat.com>
11314
11315 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
11316 argument.
11317 (target_get_raw_trace_data): Add argument.
11318 * target.c (update_current_target): Update.
11319 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
11320
181e3713
TT
113212014-02-19 Tom Tromey <tromey@redhat.com>
11322
11323 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11324 Add argument.
11325 (target_upload_trace_state_variables): Add argument.
11326 * target.c (update_current_target): Update.
11327 * remote.c (remote_upload_trace_state_variables): Add 'self'
11328 argument.
11329 (remote_start_remote): Update.
11330
ab6617cc
TT
113312014-02-19 Tom Tromey <tromey@redhat.com>
11332
11333 * target.h (struct target_ops) <to_upload_tracepoints>: Add
11334 argument.
11335 (target_upload_tracepoints): Add argument.
11336 * target.c (update_current_target): Update.
11337 * remote.c (remote_upload_tracepoints): Add 'self' argument.
11338 (remote_start_remote): Update.
11339
dc3decaf
TT
113402014-02-19 Tom Tromey <tromey@redhat.com>
11341
11342 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
11343 (target_save_trace_data): Add argument.
11344 * target.c (update_current_target): Update.
11345 * remote.c (remote_save_trace_data): Add 'self' argument.
11346
4011015b
TT
113472014-02-19 Tom Tromey <tromey@redhat.com>
11348
11349 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
11350 argument.
11351 * target.h (struct target_ops)
11352 <to_get_trace_state_variable_value>: Add argument.
11353 (target_get_trace_state_variable_value): Add argument.
11354 * target.c (update_current_target): Update.
11355 * remote.c (remote_get_trace_state_variable_value): Add 'self'
11356 argument.
11357 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
11358
bd4c6793
TT
113592014-02-19 Tom Tromey <tromey@redhat.com>
11360
11361 * tracepoint.c (tfile_trace_find): Add 'self' argument.
11362 * target.h (struct target_ops) <to_trace_find>: Add argument.
11363 (target_trace_find): Add argument.
11364 * target.c (update_current_target): Update.
11365 * remote.c (remote_trace_find): Add 'self' argument.
11366 * ctf.c (ctf_trace_find): Add 'self' argument.
11367
74499f1b
TT
113682014-02-19 Tom Tromey <tromey@redhat.com>
11369
11370 * target.h (struct target_ops) <to_trace_stop>: Add argument.
11371 (target_trace_stop): Add argument.
11372 * target.c (update_current_target): Update.
11373 * remote.c (remote_trace_stop): Add 'self' argument.
11374
db90e85c
TT
113752014-02-19 Tom Tromey <tromey@redhat.com>
11376
11377 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
11378 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
11379 argument.
11380 (target_get_tracepoint_status): Add argument.
11381 * target.c (update_current_target): Update.
11382 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
11383
8bd200f1
TT
113842014-02-19 Tom Tromey <tromey@redhat.com>
11385
11386 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
11387 * target.h (struct target_ops) <to_get_trace_status>: Add
11388 argument.
11389 (target_get_trace_status): Add argument.
11390 * target.c (update_current_target): Update.
11391 * remote.c (remote_get_trace_status): Add 'self' argument.
11392 (remote_start_remote, remote_can_download_tracepoint): Update.
11393 * ctf.c (ctf_get_trace_status): Add 'self' argument.
11394
e2d1aae3
TT
113952014-02-19 Tom Tromey <tromey@redhat.com>
11396
11397 * target.h (struct target_ops) <to_trace_start>: Add argument.
11398 (target_trace_start): Add argument.
11399 * target.c (update_current_target): Update.
11400 * remote.c (remote_trace_start): Add 'self' argument.
11401
583f9a86
TT
114022014-02-19 Tom Tromey <tromey@redhat.com>
11403
11404 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11405 Add argument.
11406 (target_trace_set_readonly_regions): Add argument.
11407 * target.c (update_current_target): Update.
11408 * remote.c (remote_trace_set_readonly_regions): Add 'self'
11409 argument.
11410
780b049c
TT
114112014-02-19 Tom Tromey <tromey@redhat.com>
11412
11413 * target.h (struct target_ops) <to_disable_tracepoint>: Add
11414 argument.
11415 (target_disable_tracepoint): Add argument.
11416 * target.c (update_current_target): Update.
11417 * remote.c (remote_disable_tracepoint): Add 'self' argument.
11418
46670d57
TT
114192014-02-19 Tom Tromey <tromey@redhat.com>
11420
11421 * target.h (struct target_ops) <to_enable_tracepoint>: Add
11422 argument.
11423 (target_enable_tracepoint): Add argument.
11424 * target.c (update_current_target): Update.
11425 * remote.c (remote_enable_tracepoint): Add 'self' argument.
11426
559d2b81
TT
114272014-02-19 Tom Tromey <tromey@redhat.com>
11428
11429 * target.h (struct target_ops) <to_download_trace_state_variable>:
11430 Add argument.
11431 (target_download_trace_state_variable): Add argument.
11432 * target.c (update_current_target): Update.
11433 * remote.c (remote_download_trace_state_variable): Add 'self'
11434 argument.
11435
a52a8357
TT
114362014-02-19 Tom Tromey <tromey@redhat.com>
11437
11438 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
11439 argument.
11440 (target_can_download_tracepoint): Add argument.
11441 * target.c (update_current_target): Update.
11442 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
11443
548f7808
TT
114442014-02-19 Tom Tromey <tromey@redhat.com>
11445
11446 * target.h (struct target_ops) <to_download_tracepoint>: Add
11447 argument.
11448 (target_download_tracepoint): Add argument.
11449 * target.c (update_current_target): Update.
11450 * remote.c (remote_download_tracepoint): Add 'self' argument.
11451
ecae04e1
TT
114522014-02-19 Tom Tromey <tromey@redhat.com>
11453
11454 * target.h (struct target_ops) <to_trace_init>: Add argument.
11455 (target_trace_init): Add argument.
11456 * target.c (update_current_target): Update.
11457 * remote.c (remote_trace_init): Add 'self' argument.
11458
fab5aa7c
TT
114592014-02-19 Tom Tromey <tromey@redhat.com>
11460
11461 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
11462 * target.c (target_fileio_readlink): Add argument.
11463 * remote.c (remote_hostio_readlink): Add 'self' argument.
11464 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
11465
dbbca37d
TT
114662014-02-19 Tom Tromey <tromey@redhat.com>
11467
11468 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
11469 * target.c (target_fileio_unlink): Add argument.
11470 * remote.c (remote_hostio_unlink): Add 'self' argument.
11471 (remote_file_delete): Update.
11472 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
11473
df39ea25
TT
114742014-02-19 Tom Tromey <tromey@redhat.com>
11475
11476 * target.h (struct target_ops) <to_fileio_close>: Add argument.
11477 * target.c (target_fileio_close): Add argument.
11478 * remote.c (remote_hostio_close): Add 'self' argument.
11479 (remote_hostio_close_cleanup): Update.
11480 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
11481 Update.
11482 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
11483
a3be983c
TT
114842014-02-19 Tom Tromey <tromey@redhat.com>
11485
11486 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
11487 * target.c (target_fileio_pread): Add argument.
11488 * remote.c (remote_hostio_pread): Add 'self' argument.
11489 (remote_bfd_iovec_pread, remote_file_get): Update.
11490 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
11491
0d866f62
TT
114922014-02-19 Tom Tromey <tromey@redhat.com>
11493
11494 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
11495 * target.c (target_fileio_pwrite): Add argument.
11496 * remote.c (remote_hostio_pwrite): Add 'self' argument.
11497 (remote_file_put): Update.
11498 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
11499
cd897586
TT
115002014-02-19 Tom Tromey <tromey@redhat.com>
11501
11502 * target.h (struct target_ops) <to_fileio_open>: Add argument.
11503 * target.c (target_fileio_open): Add argument.
11504 * remote.c (remote_hostio_open): Add 'self' argument.
11505 (remote_bfd_iovec_open): Add 'self' argument.
11506 (remote_file_put): Add 'self' argument.
11507 (remote_file_get): Add 'self' argument.
11508 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
11509
78eff0ec
TT
115102014-02-19 Tom Tromey <tromey@redhat.com>
11511
11512 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11513 Add argument.
11514 (target_can_run_breakpoint_commands): Add argument.
11515 * target.c (update_current_target): Update.
11516 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
11517 argument.
11518 (remote_insert_breakpoint): Add 'self' argument.
11519 (remote_insert_hw_breakpoint): Add 'self' argument.
11520 (remote_can_run_breakpoint_commands): Add 'self' argument.
11521
efcc2da7
TT
115222014-02-19 Tom Tromey <tromey@redhat.com>
11523
11524 * target.h (struct target_ops)
11525 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
11526 (target_supports_evaluation_of_breakpoint_conditions): Add
11527 argument.
11528 * target.c (update_current_target): Update.
11529 * remote.c (remote_supports_cond_breakpoints): Add 'self'
11530 argument.
11531 (remote_insert_breakpoint): Add 'self' argument.
11532 (remote_insert_hw_breakpoint): Add 'self' argument.
11533 (remote_supports_cond_breakpoints): Add 'self' argument.
11534
6de37a3a
TT
115352014-02-19 Tom Tromey <tromey@redhat.com>
11536
11537 * target.h (struct target_ops) <to_supports_string_tracing>: Add
11538 argument.
11539 (target_supports_string_tracing): Add argument.
11540 * target.c (update_current_target): Update.
11541 * remote.c (remote_supports_string_tracing): Add 'self' argument.
11542
2bfc0540
TT
115432014-02-19 Tom Tromey <tromey@redhat.com>
11544
11545 * target.h (struct target_ops)
11546 <to_supports_disable_randomization>: Add argument.
11547 * target.c (find_default_supports_disable_randomization): Add
11548 argument.
11549 (target_supports_disable_randomization): Add argument.
11550 (find_default_supports_disable_randomization): Add 'self'
11551 argument.
11552 * remote.c (extended_remote_supports_disable_randomization): Add
11553 'self' argument.
11554 (remote_supports_disable_randomization): Add 'self' argument.
11555 (extended_remote_create_inferior): Update.
11556 * linux-nat.c (linux_nat_supports_disable_randomization): Add
11557 'self' argument.
11558
7d178d6a
TT
115592014-02-19 Tom Tromey <tromey@redhat.com>
11560
11561 * target.h (struct target_ops)
11562 <to_supports_enable_disable_tracepoint>: Add argument.
11563 (target_supports_enable_disable_tracepoint): Add argument.
11564 * target.c (update_current_target): Update.
11565 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
11566 argument.
11567
86ce2668
TT
115682014-02-19 Tom Tromey <tromey@redhat.com>
11569
11570 * target.h (struct target_ops) <to_supports_multi_process>: Add
11571 argument.
11572 (target_supports_multi_process): Add argument.
11573 * target.c (update_current_target): Update.
11574 * remote.c (remote_supports_multi_process): Add 'self' argument.
11575 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
11576 argument.
11577 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
11578 argument.
11579
4c612759
TT
115802014-02-19 Tom Tromey <tromey@redhat.com>
11581
11582 * target.h (struct target_ops) <to_execution_direction>: Add
11583 argument.
11584 (target_execution_direction): Add argument.
11585 * target.c (default_execution_direction): Add 'self' argument.
11586 * record-full.c (record_full_execution_direction): Add 'self'
11587 argument.
11588
19db3e69
TT
115892014-02-19 Tom Tromey <tromey@redhat.com>
11590
11591 * target.h (struct target_ops) <to_can_execute_reverse>: Add
11592 argument.
11593 (target_can_execute_reverse): Add argument.
11594 * remote.c (remote_can_execute_reverse): Add 'self' argument.
11595 * record-full.c (record_full_can_execute_reverse): Add 'self'
11596 argument.
11597 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
11598 argument.
11599
1e6b91a4
TT
116002014-02-19 Tom Tromey <tromey@redhat.com>
11601
11602 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
11603 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
11604 argument.
11605 (target_get_ada_task_ptid): Add argument.
11606 * target.c (update_current_target): Update.
11607 (default_get_ada_task_ptid): Add 'self' argument.
11608 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
11609 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
11610 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
11611 argument.
11612 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
11613 argument.
11614 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
11615 argument.
11616 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
11617 argument.
11618 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
11619 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
11620 argument.
11621
3c80fb48
TT
116222014-02-19 Tom Tromey <tromey@redhat.com>
11623
11624 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
11625 (target_goto_bookmark): Add argument.
11626 * target.c (dummy_goto_bookmark): Add 'self' argument.
11627 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
11628
dd0e2830
TT
116292014-02-19 Tom Tromey <tromey@redhat.com>
11630
11631 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
11632 (target_get_bookmark): Add argument.
11633 * target.c (dummy_get_bookmark): Add 'self' argument.
11634 * record-full.c (record_full_get_bookmark): Add 'self' argument.
11635
fc6691b2
TT
116362014-02-19 Tom Tromey <tromey@redhat.com>
11637
11638 * target.h (struct target_ops) <to_make_corefile_notes>: Add
11639 argument.
11640 (target_make_corefile_notes): Add argument.
11641 * target.c (dummy_make_corefile_notes): Add 'self' argument.
11642 * procfs.c (procfs_make_note_section): Add 'self' argument.
11643 (procfs_make_note_section): Add 'self' argument.
11644 (procfs_make_note_section): Add 'self' argument.
11645 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
11646 argument.
11647 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
11648 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
11649 * exec.c (exec_make_note_section): Add 'self' argument.
11650 (exec_make_note_section): Add 'self' argument.
11651
2e73927c
TT
116522014-02-19 Tom Tromey <tromey@redhat.com>
11653
11654 * target.h (struct target_ops) <to_find_memory_regions>: Add
11655 argument.
11656 (target_find_memory_regions): Add argument.
11657 * target.c (dummy_find_memory_regions): Add 'self' argument.
11658 * procfs.c (proc_find_memory_regions): Add 'self' argument.
11659 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
11660 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
11661 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
11662 * exec. (exec_do_find_memory_regions): New global.
11663 (exec_set_find_memory_regions): Rewrite.
11664 (exec_find_memory_regions): New function.
11665 (init_exec_ops): Use exec_find_memory_regions.
11666
2a9a2795
TT
116672014-02-19 Tom Tromey <tromey@redhat.com>
11668
11669 * target.h (struct target_ops) <to_supports_non_stop>: Add
11670 argument.
11671 * target.c (find_default_supports_non_stop): Add argument.
11672 (target_supports_non_stop): Add argument.
11673 (find_default_supports_non_stop): Add 'self' argument.
11674 * remote.c (remote_supports_non_stop): Add 'self' argument.
11675 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
11676
4ab76ea3
TT
116772014-02-19 Tom Tromey <tromey@redhat.com>
11678
11679 * target.h (struct target_ops) <to_log_command>: Add argument.
11680 (target_log_command): Add argument.
11681 * serial.h (serial_log_command): Add 'self' argument.
11682 * serial.c (serial_log_command): Add 'self' argument.
11683
8dd27370
TT
116842014-02-19 Tom Tromey <tromey@redhat.com>
11685
11686 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
11687 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
11688 argument.
11689 (target_pid_to_exec_file): Add argument.
11690 * target.c (debug_to_pid_to_exec_file): Add argument.
11691 (update_current_target): Update.
11692 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
11693 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
11694 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
11695 (linux_handle_extended_wait): Update.
11696 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
11697 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
11698 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
11699 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
11700
1aac633b
TT
117012014-02-19 Tom Tromey <tromey@redhat.com>
11702
11703 * target.h (struct target_ops) <to_rcmd>: Add argument.
11704 (target_rcmd): Add argument.
11705 * target.c (debug_to_rcmd): Add argument.
11706 (update_current_target, do_monitor_command): Update.
11707 * remote.c (remote_rcmd): Add 'self' argument.
11708 * monitor.c (monitor_rcmd): Add 'self' argument.
11709
1eab8a48
TT
117102014-02-19 Tom Tromey <tromey@redhat.com>
11711
11712 * windows-nat.c (windows_stop): Add 'self' argument.
11713 * target.h (struct target_ops) <to_stop>: Add argument.
11714 * target.c (target_stop): Add argument.
11715 (debug_to_stop): Add argument.
11716 (update_current_target): Update.
11717 * remote.c (remote_stop): Add 'self' argument.
11718 * remote-sim.c (gdbsim_stop): Add 'self' argument.
11719 (gdbsim_cntrl_c): Update.
11720 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
11721 * procfs.c (procfs_stop): Add 'self' argument.
11722 * nto-procfs.c (procfs_stop): Add 'self' argument.
11723 * monitor.c (monitor_stop): Add 'self' argument.
11724 (monitor_open): Update.
11725 * linux-nat.c (linux_nat_stop): Add argument.
11726 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
11727 * gnu-nat.c (gnu_stop): Add 'self' argument.
11728 * darwin-nat.c (darwin_stop): Add 'self' argument.
11729
503a628d
TT
117302014-02-19 Tom Tromey <tromey@redhat.com>
11731
11732 * target.h (struct target_ops) <to_thread_name>: Add argument.
11733 * target.c (target_thread_name): Add argument.
11734 (update_current_target): Update.
11735 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
11736
c15906d8
TT
117372014-02-19 Tom Tromey <tromey@redhat.com>
11738
11739 * target.h (struct target_ops) <to_extra_thread_info>: Add
11740 argument.
11741 (target_extra_thread_info): Add argument.
11742 * target.c (update_current_target): Update.
11743 * remote.c (remote_threads_extra_info): Add 'self' argument.
11744 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
11745 argument.
11746 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
11747 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
11748 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
11749 argument.
11750 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
11751 argument.
11752 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
11753 argument.
11754 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
11755 argument.
11756
daf5e9b6
TT
117572014-02-19 Tom Tromey <tromey@redhat.com>
11758
11759 * target.h (struct target_ops) <to_program_signals>: Add argument.
11760 * target.c (target_program_signals): Add argument.
11761 * remote.c (remote_program_signals): Add 'self' argument.
11762
94bedb42
TT
117632014-02-19 Tom Tromey <tromey@redhat.com>
11764
11765 * target.h (struct target_ops) <to_pass_signals>: Add argument.
11766 * target.c (target_pass_signals): Add argument.
11767 * remote.c (remote_pass_signals): Add 'self' argument.
11768 (remote_start_remote): Update.
11769 * procfs.c (procfs_pass_signals): Add 'self' argument.
11770 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
11771 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
11772 (linux_nat_create_inferior, linux_nat_attach): Update.
11773
da82bd6b
TT
117742014-02-19 Tom Tromey <tromey@redhat.com>
11775
11776 * windows-nat.c (windows_can_run): Add 'self' argument.
11777 * target.h (struct target_ops) <to_can_run>: Add argument.
11778 (target_can_run): Add argument.
11779 * target.c (debug_to_can_run): Add argument.
11780 (update_current_target): Update.
11781 * nto-procfs.c (procfs_can_run): Add 'self' argument.
11782 * inf-child.c (inf_child_can_run): Add 'self' argument.
11783 * go32-nat.c (go32_can_run): Add 'self' argument.
11784
d796e1d6
TT
117852014-02-19 Tom Tromey <tromey@redhat.com>
11786
11787 * target.h (struct target_ops) <to_has_exited>: Add argument.
11788 (target_has_exited): Add argument.
11789 * target.c (debug_to_has_exited): Add argument.
11790 (update_current_target): Update.
11791
ff214e67
TT
117922014-02-19 Tom Tromey <tromey@redhat.com>
11793
11794 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
11795 argument.
11796 (target_set_syscall_catchpoint): Add argument.
11797 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
11798 argument.
11799 * target.c (update_current_target): Update.
11800
758e29d2
TT
118012014-02-19 Tom Tromey <tromey@redhat.com>
11802
11803 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
11804 argument.
11805 (target_remove_exec_catchpoint): Add argument.
11806 * target.c (debug_to_remove_exec_catchpoint): Add argument.
11807 (update_current_target): Update.
11808 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
11809 argument.
11810
ba025e51
TT
118112014-02-19 Tom Tromey <tromey@redhat.com>
11812
11813 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
11814 argument.
11815 (target_insert_exec_catchpoint): Add argument.
11816 * target.c (debug_to_insert_exec_catchpoint): Add argument.
11817 (update_current_target): Update.
11818 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
11819 argument.
11820
e98cf0cd
TT
118212014-02-19 Tom Tromey <tromey@redhat.com>
11822
11823 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
11824 argument.
11825 (target_remove_vfork_catchpoint): Add argument.
11826 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
11827 (update_current_target): Update.
11828 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
11829 argument.
11830
3ecc7da0
TT
118312014-02-19 Tom Tromey <tromey@redhat.com>
11832
11833 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
11834 argument.
11835 (target_insert_vfork_catchpoint): Add argument.
11836 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
11837 (update_current_target): Update.
11838 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
11839 argument.
11840
973fc227
TT
118412014-02-19 Tom Tromey <tromey@redhat.com>
11842
11843 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
11844 argument.
11845 (target_remove_fork_catchpoint): Add argument.
11846 * target.c (debug_to_remove_fork_catchpoint): Add argument.
11847 (update_current_target): Update.
11848 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
11849 argument.
11850
a863b201
TT
118512014-02-19 Tom Tromey <tromey@redhat.com>
11852
11853 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
11854 argument.
11855 (target_insert_fork_catchpoint): Add argument.
11856 * target.c (debug_to_insert_fork_catchpoint): Add argument.
11857 (update_current_target): Update.
11858 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
11859 argument.
11860
2e97a79e
TT
118612014-02-19 Tom Tromey <tromey@redhat.com>
11862
11863 * target.h (struct target_ops) <to_post_startup_inferior>: Add
11864 argument.
11865 (target_post_startup_inferior): Add argument.
11866 * target.c (debug_to_post_startup_inferior): Add argument.
11867 (update_current_target): Update.
11868 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
11869 argument.
11870 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
11871 argument.
11872 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
11873 argument.
11874 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
11875 argument.
11876 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
11877 'self' argument.
11878 (super_post_startup_inferior): Likewise.
11879 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
11880 'self' argument.
11881 (super_post_startup_inferior): Likewise.
11882 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
11883 Add 'self' argument.
11884 (super_post_startup_inferior): Likewise.
11885
71a9f134
TT
118862014-02-19 Tom Tromey <tromey@redhat.com>
11887
11888 * target.h (struct target_ops) <to_load>: Add argument.
11889 * target.c (target_load): Add argument.
11890 (debug_to_load): Add argument.
11891 (update_current_target): Update.
11892 * remote.c (remote_load): Add 'self' argument.
11893 * remote-sim.c (gdbsim_load): Add 'self' argument.
11894 * remote-mips.c (mips_load): Add 'self' argument.
11895 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
11896 * monitor.c (monitor_load): Add 'self' argument.
11897 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
11898
0a4f40a2
TT
118992014-02-19 Tom Tromey <tromey@redhat.com>
11900
11901 * target.h (struct target_ops) <to_terminal_info>: Add argument.
11902 (target_terminal_info): Add argument.
11903 * target.c (debug_to_terminal_info): Add argument.
11904 (default_terminal_info): Likewise.
11905 * inflow.c (child_terminal_info): Add 'self' argument.
11906 * inferior.h (child_terminal_info): Add 'self' argument.
11907 * go32-nat.c (go32_terminal_info): Add 'self' argument.
11908
ae3bd431
TT
119092014-02-19 Tom Tromey <tromey@redhat.com>
11910
11911 * target.h (struct target_ops) <to_terminal_save_ours>: Add
11912 argument.
11913 (target_terminal_save_ours): Add argument.
11914 * target.c (debug_to_terminal_save_ours): Add argument.
11915 (update_current_target): Update.
11916 * inflow.c (terminal_save_ours): Add 'self' argument.
11917 * inferior.h (terminal_save_ours): Add 'self' argument.
11918
e3594fd1
TT
119192014-02-19 Tom Tromey <tromey@redhat.com>
11920
11921 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
11922 (target_terminal_ours): Add argument.
11923 * target.c (debug_to_terminal_ours): Add argument.
11924 (update_current_target): Update.
11925 * remote.c (remote_terminal_ours): Add 'self' argument.
11926 (remote_close): Update.
11927 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
11928 * inflow.c (terminal_ours): Add 'self' argument.
11929 * inferior.h (terminal_ours): Add 'self' argument.
11930 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11931
2e1e1a19
TT
119322014-02-19 Pedro Alves <palves@redhat.com>
11933 Tom Tromey <tromey@redhat.com>
11934
11935 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
11936 argument.
11937 (target_terminal_ours_for_output): Add argument.
11938 * target.c (debug_to_terminal_ours_for_output): Add argument.
11939 (update_current_target): Update.
11940 * inflow.c (terminal_ours_for_output): Add 'self' argument.
11941 * inferior.h (terminal_ours_for_output): Add 'self' argument.
11942 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
11943
d2f640d4
TT
119442014-02-19 Tom Tromey <tromey@redhat.com>
11945
11946 * target.h (struct target_ops) <to_terminal_inferior>: Add
11947 argument.
11948 * target.c (target_terminal_inferior): Add argument.
11949 (update_current_target): Update.
11950 * remote.c (remote_terminal_inferior): Add 'self' argument.
11951 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
11952 * inflow.c (terminal_inferior): Add 'self' argument.
11953 * inferior.h (terminal_inferior): Add 'self' argument.
11954 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
11955 (go32_terminal_inferior): Add 'self' argument.
11956
c42bf286
TT
119572014-02-19 Tom Tromey <tromey@redhat.com>
11958
11959 * target.h (struct target_ops) <to_terminal_init>: Add argument.
11960 (target_terminal_init): Add argument.
11961 * target.c (debug_to_terminal_init): Add argument.
11962 (update_current_target): Update.
11963 * inflow.c (terminal_init_inferior): Add 'self' argument.
11964 * inferior.h (terminal_init_inferior): Add 'self' argument.
11965 * go32-nat.c (go32_terminal_init): Add 'self' argument.
11966 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
11967
c3a5ff89
TT
119682014-02-19 Tom Tromey <tromey@redhat.com>
11969
11970 * target.h (struct target_ops)
11971 <to_can_accel_watchpoint_condition>: Add argument.
11972 (target_can_accel_watchpoint_condition): Add argument.
11973 * target.c (debug_to_can_accel_watchpoint_condition): Add
11974 argument.
11975 (update_current_target): Update.
11976 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
11977 'self' argument.
11978
31568a15
TT
119792014-02-19 Tom Tromey <tromey@redhat.com>
11980
11981 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11982 Add argument.
11983 (target_region_ok_for_hw_watchpoint): Add argument.
11984 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
11985 (default_region_ok_for_hw_watchpoint): Add argument.
11986 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
11987 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
11988 argument.
11989 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
11990 argument.
11991 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
11992 argument.
11993 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
11994 'self' argument.
11995 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
11996 'self' argument.
11997 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
11998 'self' argument.
11999 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12000 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12001 'self' argument.
12002 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12003 Add 'self' argument.
12004
7bb99c53
TT
120052014-02-19 Tom Tromey <tromey@redhat.com>
12006
12007 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12008 argument.
12009 (target_insert_watchpoint): Add argument.
12010 * target.c (debug_to_insert_watchpoint): Add argument.
12011 (update_current_target): Update.
12012 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12013 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12014 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12015 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12016 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12017 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12018 argument.
12019 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12020 (procfs_insert_hw_watchpoint): Add 'self' argument.
12021 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12022 argument.
12023 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12024 argument.
12025 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12026 argument.
12027 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12028 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12029 argument.
12030 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12031 'self' argument.
12032
11b5219a
TT
120332014-02-19 Tom Tromey <tromey@redhat.com>
12034
12035 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12036 argument.
12037 (target_remove_watchpoint): Add argument.
12038 * target.c (debug_to_remove_watchpoint): Add argument.
12039 (update_current_target): Update.
12040 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12041 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12042 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12043 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12044 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12045 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12046 argument.
12047 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12048 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12049 argument.
12050 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12051 argument.
12052 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12053 argument.
12054 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12055 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12056 argument.
12057 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12058 'self' argument.
12059
a64dc96c
TT
120602014-02-19 Tom Tromey <tromey@redhat.com>
12061
12062 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12063 argument.
12064 (target_remove_hw_breakpoint): Add argument.
12065 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12066 (update_current_target): Update.
12067 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12068 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12069 argument.
12070 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12071 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12072 argument.
12073 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12074 'self' argument.
12075
23a26771
TT
120762014-02-19 Tom Tromey <tromey@redhat.com>
12077
12078 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
12079 argument.
12080 (target_insert_hw_breakpoint): Add argument.
12081 * target.c (debug_to_insert_hw_breakpoint): Add argument.
12082 (update_current_target): Update.
12083 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
12084 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
12085 argument.
12086 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
12087 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
12088 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
12089 argument.
12090 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
12091 'self' argument.
12092
5461485a
TT
120932014-02-19 Tom Tromey <tromey@redhat.com>
12094
12095 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
12096 argument.
12097 (target_can_use_hardware_watchpoint): Add argument.
12098 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
12099 (update_current_target): Update.
12100 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
12101 argument.
12102 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
12103 argument.
12104 * remote.c (remote_check_watch_resources): Add 'self' argument.
12105 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
12106 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
12107 argument.
12108 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
12109 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
12110 argument.
12111 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
12112 argument.
12113 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
12114 argument.
12115 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
12116 argument.
12117 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
12118 argument.
12119 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
12120 argument.
12121 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
12122 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
12123 argument.
12124 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
12125 'self' argument.
12126
f045800c
TT
121272014-02-19 Tom Tromey <tromey@redhat.com>
12128
12129 * target.h (struct target_ops) <to_post_attach>: Add argument.
12130 (target_post_attach): Add argument.
12131 * target.c (debug_to_post_attach): Add argument.
12132 (update_current_target): Update.
12133 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
12134 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
12135 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
12136 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
12137 * inf-child.c (inf_child_post_attach): Add 'self' argument.
12138
de90e03d
TT
121392014-02-19 Tom Tromey <tromey@redhat.com>
12140
12141 * windows-nat.c (windows_close): Add 'self' argument.
12142 * tracepoint.c (tfile_close): Add 'self' argument.
12143 * target.h (struct target_ops) <to_close>: Add argument.
12144 * target.c (target_close): Add argument.
12145 (update_current_target): Update.
12146 * remote.c (remote_close): Add 'self' argument.
12147 * remote-sim.c (gdbsim_close): Add 'self' argument.
12148 * remote-mips.c (mips_close): Add 'self' argument.
12149 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
12150 * record-full.c (record_full_close): Add 'self' argument.
12151 * record-btrace.c (record_btrace_close): Add 'self' argument.
12152 * monitor.h (monitor_close): Add 'self' argument.
12153 * monitor.c (monitor_close): Add 'self' argument.
12154 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
12155 * linux-nat.c (linux_nat_close): Add argument.
12156 * go32-nat.c (go32_close): Add 'self' argument.
12157 * exec.c (exec_close_1): Add 'self' argument.
12158 * ctf.c (ctf_close): Add 'self' argument.
12159 * corelow.c (core_close): Add 'self' argument.
12160 (core_close_cleanup): Update.
12161 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
12162 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
12163
9dd130a0
TT
121642014-02-19 Tom Tromey <tromey@redhat.com>
12165
12166 * remote.c (remote_load): New function.
12167 (init_remote_ops): Use it.
12168
46917d26
TT
121692014-02-19 Tom Tromey <tromey@redhat.com>
12170
12171 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
12172 argument.
12173 * common/linux-btrace.h (linux_supports_btrace): Update.
12174 * remote.c (remote_supports_btrace): Add "self" argument.
12175 * target-delegates.c: Rebuild.
12176 * target.c (target_supports_btrace): Remove.
12177 * target.h (struct target_ops) <to_supports_btrace>: Add
12178 target_ops argument.
12179 (target_supports_btrace): New define.
12180
6b84065d
TT
121812014-02-19 Tom Tromey <tromey@redhat.com>
12182
12183 * record-full.c (record_full_beneath_to_resume_ops)
12184 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
12185 (record_full_beneath_to_wait)
12186 (record_full_beneath_to_store_registers_ops)
12187 (record_full_beneath_to_store_registers)
12188 (record_full_beneath_to_xfer_partial_ops)
12189 (record_full_beneath_to_xfer_partial)
12190 (record_full_beneath_to_insert_breakpoint_ops)
12191 (record_full_beneath_to_insert_breakpoint)
12192 (record_full_beneath_to_remove_breakpoint_ops)
12193 (record_full_beneath_to_remove_breakpoint)
12194 (record_full_beneath_to_stopped_by_watchpoint)
12195 (record_full_beneath_to_stopped_data_address)
12196 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
12197 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
12198 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
12199 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
12200 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
12201 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
12202 (tmp_to_stopped_data_address, tmp_to_async): Remove.
12203 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
12204 (record_full_resume, record_full_wait_1)
12205 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
12206 (record_full_store_registers, record_full_xfer_partial)
12207 (record_full_insert_breakpoint, record_full_remove_breakpoint)
12208 (record_full_async, record_full_core_xfer_partial): Use target
12209 delegation.
12210 * target-delegates.c: Rebuild.
12211 * target.c (current_xfer_partial): Remove.
12212 (update_current_target): Do not INHERIT or de_fault
12213 to_insert_breakpoint, to_remove_breakpoint,
12214 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
12215 to_is_async_p, to_async. Do not set to_xfer_partial field.
12216 (default_xfer_partial): Simplify.
12217 (current_xfer_partial): Remove.
12218 (target_wait, target_resume): Simplify.
12219 (find_default_can_async_p, find_default_is_async_p): Update.
12220 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
12221 to_xfer_partial, to_stopped_by_watchpoint,
12222 to_stopped_data_address.
12223 (target_store_registers): Simplify.
12224 (forward_target_remove_breakpoint)
12225 (forward_target_insert_breakpoint): Remove.
12226 (target_remove_breakpoint, target_insert_breakpoint)
12227 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
12228 * target.h (struct target_ops) <to_resume, to_wait,
12229 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
12230 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
12231 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
12232 markup.
12233 (forward_target_remove_breakpoint)
12234 (forward_target_insert_breakpoint): Remove.
12235 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
12236 directly.
12237 (record_btrace_insert_breakpoint): Delegate directly.
12238
1101cb7b
TT
122392014-02-19 Tom Tromey <tromey@redhat.com>
12240
12241 PR build/7701:
12242 * target-delegates.c: New file.
12243 * target.c: Include target-delegates.c.
12244 (init_dummy_target): Call install_dummy_methods.
12245 (complete_target_initialization): Call install_delegators.
12246 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
12247 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
12248 * make-target-delegates: New file.
12249
8b06beed
TT
122502014-02-19 Tom Tromey <tromey@redhat.com>
12251
12252 * record.c (find_record_target): Use find_target_at.
12253 * target.c (find_target_at): New function.
12254 * target.h (find_target_at): Declare.
12255
6a109b6b
TT
122562014-02-19 Tom Tromey <tromey@redhat.com>
12257
12258 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
12259 Add 'ops' argument.
12260 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
12261 'ops' argument.
12262 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
12263 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
12264 'ops' argument.
12265 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
12266 argument.
12267 * linux-nat.c (save_sigtrap): Update.
12268 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
12269 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
12270 (linux_nat_close): Update.
12271 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
12272 argument.
12273 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
12274 argument.
12275 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
12276 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
12277 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
12278 (tmp_to_async): Add 'ops' argument.
12279 (record_full_stopped_by_watchpoint, record_full_async)
12280 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
12281 argument.
12282 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
12283 (m32r_stopped_by_watchpoint): Add 'ops' argument.
12284 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
12285 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
12286 (remote_is_async_p, remote_async): Add 'ops' argument.
12287 (remote_stopped_data_address): Update.
12288 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
12289 * target.c (update_current_target)
12290 (find_default_can_async_p, find_default_is_async_p): Update.
12291 (init_dummy_target): Update.
12292 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
12293 * target.h (struct target_ops) <to_stopped_by_watchpoint,
12294 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
12295 (target_can_async_p, target_is_async_p, target_async)
12296 (target_stopped_by_watchpoint): Update.
12297
e095146b
YQ
122982014-02-19 Yao Qi <yao@codesourcery.com>
12299
12300 PR gdb/16220
12301 * gdbarch.sh: Remove startup_gdbarch.
12302 * gdbarch.c: Regenerated.
12303 * gdbarch.h: Likewise.
12304
bc3c6b36
KB
123052014-02-17 Kevin Buettner <kevinb@redhat.com>
12306
12307 * rl78-tdep.c (rl78_g10_register_name): New function.
12308 (rl78_return_value): Add g10 support.
12309 (rl78_gdbarch_init): Register rl78_g10_register_name for the
12310 g10.
12311
98dc0167 123122014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
12313
12314 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
12315 (SUBDIR_GUILE_SRCS): Ditto.
12316 (scm-gsmob.o): Ditto.
12317
842c05cd
YQ
123182014-02-17 Yao Qi <yao@codesourcery.com>
12319
12320 * gnu-nat.c (ILL_RPC): Declare defined function.
12321
25c0bd04
YQ
123222014-02-17 Yao Qi <yao@codesourcery.com>
12323
12324 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
12325 mach_msg_type_number_t.
12326 (gnu_write_inferior): Likewise.
12327
a9a758e3
YQ
123282014-02-17 Yao Qi <yao@codesourcery.com>
12329
12330 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
12331 in format string.
12332 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
12333 (inf_validate_procs, inf_signal): Likewise.
12334 (S_exception_raise_request): Likewise.
12335 (do_mach_notify_dead_name): Likewise.
12336 (steal_exc_port): Likewise.
12337 (gnu_read_inferior): Change 'copy_count''s type to
12338 mach_msg_type_number_t.
12339 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
12340 format string.
12341
bae8023e
TS
123422014-02-16 Thomas Schwinge <thomas@codesourcery.com>
12343
c82f56d9
TS
12344 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
12345 flag. Adjust all users; in particular...
12346 (gnu_wait): ..., don't decrement its value in here...
12347 (gnu_create_inferior): ..., and instead set the flag in here,
12348 around the startup_inferior call, and call that one with
12349 START_INFERIOR_TRAPS_EXPECTED.
12350
3398af6a
TS
12351 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
12352 (ILL_RPC): ... new macro.
12353 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
12354 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
12355 (do_mach_notify_send_once, S_proc_setmsgport_reply)
12356 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
12357 functions with ILL_RPC macro.
12358 (S_proc_pid2task_reply, S_proc_task2pid_reply)
12359 (S_proc_task2proc_reply, S_proc_proc2task_reply)
12360 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
12361 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
12362 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
12363 (S_proc_getlogin_reply, S_proc_getsid_reply)
12364 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
12365 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
12366 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
12367 (S_proc_getnports_reply, S_proc_is_important_reply)
12368 (S_proc_get_code_reply): New stub functions, generated with
12369 ILL_RPC macro.
12370
d47642c9
TS
12371 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
12372 collected the type check structures.
12373
bae8023e
TS
12374 * reply_mig_hack.awk: Don't expect to see the auto keyword.
12375
8a55ffb0
DE
123762014-02-14 Doug Evans <dje@google.com>
12377
12378 * target.c (target_write_partial): Fix result type.
12379
c2853f3d
JM
123802014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
12381
12382 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
12383 the proper offsets to access fpregset_t.
12384
ac61d2db
SA
123852014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
12386
12387 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
12388 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
12389 * h8300-tdep.c (setmachinelist): Remove global.
12390 * hppa-tdep.c (hppa_sigtramp): Remove global.
12391 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
12392 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
12393 * ravenscar-thread.c (update_target_observer): Remove global.
12394 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
12395
9d2d0b8b
TT
123962014-02-12 Tom Tromey <tromey@redhat.com>
12397
12398 * common/rsp-low.c: Update comments.
12399 * common/rsp-low.h: Update comments.
12400
a7191e8b
TT
124012014-02-12 Tom Tromey <tromey@redhat.com>
12402
12403 * common/rsp-low.c (convert_ascii_to_int): Remove.
12404 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
12405
ff0e980e
TT
124062014-02-12 Tom Tromey <tromey@redhat.com>
12407
12408 * common/rsp-low.h (unhexify): Don't declare.
12409 * common/rsp-low.c (unhexify): Remove.
12410
e9371aff
TT
124112014-02-12 Tom Tromey <tromey@redhat.com>
12412
12413 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
12414 * common/rsp-low.c (convert_int_to_ascii): Remove.
12415
971dc0b8
TT
124162014-02-12 Tom Tromey <tromey@redhat.com>
12417
12418 * common/rsp-low.h (hexify): Don't declare.
12419 * common/rsp-low.c (hexify): Remove.
12420
0a822afb
TT
124212014-02-12 Tom Tromey <tromey@redhat.com>
12422
12423 * common/rsp-low.c (hexify): Never take strlen of argument.
12424
9f1b45b0
TT
124252014-02-12 Tom Tromey <tromey@redhat.com>
12426
12427 * common/rsp-low.c (bin2hex): Never take strlen of argument.
12428 * remote.c (extended_remote_run, remote_rcmd)
12429 (remote_download_trace_state_variable, remote_save_trace_data)
12430 (remote_set_trace_notes): Update.
12431 * tracepoint.c (encode_source_string, tfile_write_status)
12432 (tfile_write_uploaded_tsv): Update.
12433
9c3d6531
TT
124342014-02-12 Tom Tromey <tromey@redhat.com>
12435
12436 * tracepoint.c: Include rsp-low.h.
12437 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
12438 * remote.c: Include rsp-low.h.
12439 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
12440 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
12441 (remote_unescape_input): Move to common/rsp-low.c.
12442 * common/rsp-low.h: New file.
12443 * common/rsp-low.c: New file.
12444 * Makefile.in (SFILES): Add common/rsp-low.c.
12445 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
12446 (COMMON_OBS): Add rsp-low.o.
12447 (rsp-low.o): New target.
12448
01fd3ea5
TT
124492014-02-12 Tom Tromey <tromey@redhat.com>
12450
12451 * utils.h: Include print-utils.h.
12452 (host_address_to_string, plongest, pulongest, phex, phex_nz)
12453 (int_string, core_addr_to_string, core_addr_to_string_nz)
12454 (hex_string, hex_string_custom): Don't declare.
12455 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
12456 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
12457 (hex_string_custom, int_string, core_addr_to_string)
12458 (core_addr_to_string_nz, host_address_to_string): Move to
12459 common/print-utils.c.
12460 * common/print-utils.h: New file.
12461 * common/print-utils.c: New file
12462 * Makefile.in (SFILES): Add common/print-utils.c.
12463 (HFILES_NO_SRCDIR): Add common/print-utils.h.
12464 (COMMON_OBS): Add print-utils.o.
12465 (print-utils.o): New target.
12466
9fb50108
TT
124672014-02-12 Tom Tromey <tromey@redhat.com>
12468
12469 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
12470
0548b5db
MK
124712014-02-12 Mark Kettenis <kettenis@gnu.org>
12472
12473 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
12474
493443a4
MK
124752014-02-12 Mark Kettenis <kettenis@gnu.org>
12476
12477 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
12478 if a PT_IO ptrace request returns sucessfully but indicates that 0
12479 bytes were transferred.
12480
706d0883
PA
124812014-02-12 Pedro Alves <palves@redhat.com>
12482 Kevin Buettner <kevinb@redhat.com>
12483
12484 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
12485 TYPE_INSTANCE_FLAG_CODE_SPACE.
12486
5caa2f0b
PA
124872014-02-12 Pedro Alves <palves@redhat.com>
12488
12489 * h8300-tdep.c (pseudo_from_raw_register)
12490 (raw_from_pseudo_register): New functions.
12491 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
12492 them.
12493
76fd5f74
PA
124942014-02-12 Pedro Alves <palves@redhat.com>
12495
12496 * h8300-tdep.c (h8300_register_sim_regno): New function.
12497 (h8300_gdbarch_init): Install h8300_register_sim_regno as
12498 gdbarch_register_sim_regno hook.
12499
8f008406
SA
125002014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12501
12502 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
12503
195abc10
SA
125042014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
12505
12506 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
12507
93ffa5b9
MK
125082014-02-12 Mark Kettenis <kettenis@gnu.org>
12509
12510 * obsd-tdep.h (obsd_init_abi): New prototype.
12511 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
12512 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
12513 (obsd_init_abi): New functions.
12514 * i386obsd-tdep.c: Include "obsd-tdep.h".
12515 (i386obsd_init_abi): Call obsd_init_abi.
12516 * amd64obsd-tdep.c: Include "obsd-tdep.h".
12517 (amd64obsd_init_abi): Call obsd_init_abi.
12518 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
12519 obsd-tdep.c to gdb_target_obs.
12520
49caec94
JM
125212014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
12522
12523 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
12524 double float arguments to 16-byte in the argument slots.
12525
e1402065
DE
125262014-02-11 Doug Evans <xdje42@gmail.com>
12527
12528 * configure.ac: Don't crash if pkg-config is not found and guile
12529 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
12530 in guile checks.
12531 * configure: Regenerate.
12532
edcc890f
YQ
125332014-02-11 Yao Qi <yao@codesourcery.com>
12534
12535 * aix-thread.c (aix_thread_xfer_partial): Update comments.
12536 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
12537 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
12538 * gnu-nat.c (gnu_xfer_memory): Likewise.
12539 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12540 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12541 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12542 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12543
9b409511
YQ
125442014-02-11 Yao Qi <yao@codesourcery.com>
12545
12546 * target.h (enum target_xfer_error): Rename to ...
12547 (enum target_xfer_status): ... it. New. All users updated.
12548 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
12549 New.
12550 (TARGET_XFER_STATUS_ERROR_P): New macro.
12551 (target_xfer_error_to_string): Remove declaration.
12552 (target_xfer_status_to_string): Declare.
12553 (target_xfer_partial_ftype): Adjust it.
12554 (struct target_ops) <to_xfer_partial>: Return
12555 target_xfer_status. Add argument xfered_len. Update
12556 comments.
12557 * target.c (target_xfer_error_to_string): Rename to ...
12558 (target_xfer_status_to_string): ... it. New. All callers
12559 updated.
12560 (target_read_live_memory): Likewise. Call target_xfer_partial
12561 instead of target_read.
12562 (memory_xfer_live_readonly_partial): Return
12563 target_xfer_status. Add argument xfered_len.
12564 (raw_memory_xfer_partial): Likewise.
12565 (memory_xfer_partial_1): Likewise.
12566 (memory_xfer_partial): Likewise.
12567 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
12568 properly. Update debug message.
12569 (default_xfer_partial, current_xfer_partial): Likewise.
12570 (target_write_partial): Likewise.
12571 (target_read_partial): Likewise. All callers updated.
12572 (read_whatever_is_readable): Likewise.
12573 (target_write_with_progress): Likewise.
12574 (target_read_alloc_1): Likewise.
12575
12576 * aix-thread.c (aix_thread_xfer_partial): Likewise.
12577 * auxv.c (procfs_xfer_auxv): Likewise.
12578 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
12579 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12580 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12581 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
12582 * corefile.c (read_memory): Adjust.
12583 * corelow.c (core_xfer_partial): Likewise.
12584 * ctf.c (ctf_xfer_partial): Likewise.
12585 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
12586 updated.
12587 (darwin_xfer_partial): Likewise.
12588 * exec.c (section_table_xfer_memory_partial): Likewise. All
12589 callers updated.
12590 (exec_xfer_partial): Likewise.
12591 * exec.h (section_table_xfer_memory_partial): Update
12592 declaration.
12593 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
12594 negative.
12595 (gnu_xfer_partial): Likewise.
12596 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
12597 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
12598 (ia64_hpux_xfer_solib_got): Likewise.
12599 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
12600 type of 'partial_len' to ULONGEST.
12601 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12602 * linux-nat.c (linux_xfer_siginfo ): Likewise.
12603 (linux_nat_xfer_partial): Likewise.
12604 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
12605 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
12606 * monitor.c (monitor_xfer_memory): Likewise.
12607 (monitor_xfer_partial): Likewise.
12608 * procfs.c (procfs_xfer_partial): Likewise.
12609 * record-btrace.c (record_btrace_xfer_partial): Likewise.
12610 * record-full.c (record_full_xfer_partial): Likewise.
12611 (record_full_core_xfer_partial): Likewise.
12612 * remote-sim.c (gdbsim_xfer_memory): Likewise.
12613 (gdbsim_xfer_partial): Likewise.
12614 * remote.c (remote_write_bytes_aux): Likewise. All callers
12615 updated.
12616 (remote_write_bytes, remote_read_bytes): Likewise. All
12617 callers updated.
12618 (remote_flash_erase): Likewise. All callers updated.
12619 (remote_write_qxfer): Likewise. All callers updated.
12620 (remote_read_qxfer): Likewise. All callers updated.
12621 (remote_xfer_partial): Likewise.
12622 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12623 (rs6000_xfer_shared_libraries): Likewise.
12624 * sol-thread.c (sol_thread_xfer_partial): Likewise.
12625 (sol_thread_xfer_partial): Likewise.
12626 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12627 (sparc_xfer_partial): Likewise.
12628 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
12629 updated.
12630 (spu_xfer_partial): Likewise.
12631 * spu-multiarch.c (spu_xfer_partial): Likewise.
12632 * tracepoint.c (tfile_xfer_partial): Likewise.
12633 * windows-nat.c (windows_xfer_memory): Likewise.
12634 (windows_xfer_shared_libraries): Likewise.
12635 (windows_xfer_partial): Likewise.
12636 * valprint.c: Replace 'target_xfer_error' with
12637 'target_xfer_status' in comments.
12638
a8e63083
JB
126392014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
12640
12641 Checked in by Joel Brobecker <brobecker@adacore.com>.
12642 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
12643
e86b67d3
JB
126442014-02-11 Joel Brobecker <brobecker@adacore.com>
12645
12646 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
12647 function parameters.
12648
4b7d1f7f
WN
126492014-02-10 Will Newton <will.newton@linaro.org>
12650
12651 * elfread.c (elf_rel_plt_read): Look for a .got section if
12652 looking up .got.plt fails.
12653 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
12654 on address passed to elf_gnu_ifunc_record_cache.
12655 (elf_gnu_ifunc_resolve_addr): Likewise.
12656 (elf_gnu_ifunc_resolver_return_stop): Likewise.
12657
961842b2
JM
126582014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
12659
12660 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
12661 (X_RETTURN): New macro.
12662 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
12663
12664 * sparc64-tdep.c (sparc64_init_abi): Hook
12665 sparc_in_function_epilogue_p.
12666
3f03e7b1
GB
126672014-02-10 Gary Benson <gbenson@redhat.com>
12668
12669 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12670 Rename name_matcher to symbol_matcher.
12671
96f861ef
GB
126722014-02-10 Gary Benson <gbenson@redhat.com>
12673
12674 * symfile-debug.c (debug_qf_expand_symtabs_matching):
12675 Use expand_symtabs_file_matcher_ftype and
12676 expand_symtabs_symbol_matcher_ftype.
12677
ee01b665
JB
126782014-02-10 Joel Brobecker <brobecker@adacore.com>
12679
12680 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
12681 (struct ada_symbol_cache): New.
12682 (ada_free_symbol_cache): Forward declare.
12683 (struct ada_pspace_data): New.
12684 (ada_pspace_data_handle): New static global.
12685 (get_ada_pspace_data, ada_pspace_data_cleanup)
12686 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
12687 (cache_space, cache): Delete, now folded inside struct
12688 ada_pspace_data.
12689 (ada_get_symbol_cache): New function.
12690 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
12691 implementation.
12692 (_initialize_ada_language): Remove initialization of cache_space.
12693 Move call to observer_attach_inferior_exit up, grouping it
12694 with the other observer registrations inside this function.
12695 Rename command to be more general. Add call to
12696 register_program_space_data_with_cleanup.
12697
143adbbf
JB
126982014-02-10 Joel Brobecker <brobecker@adacore.com>
12699
12700 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
12701 ada_new_objfile_observer.
12702 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
12703 (_initialize_tasks): Update uses of ada_new_objfile_observer
12704 and ada_tasks_normal_stop_observer.
12705
aa4fb036
JB
127062014-02-10 Joel Brobecker <brobecker@adacore.com>
12707
12708 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
12709 returned by the 'Length attribute to integer.
12710
9dee8cc6
JB
127112014-02-10 Joel Brobecker <brobecker@adacore.com>
12712
12713 * ada-lang.c (_initialize_ada_language): Initialize
12714 cache_space obstack.
12715
3d9434b5
JB
127162014-02-10 Joel Brobecker <brobecker@adacore.com>
12717
12718 * ada-lang.c (HASH_SIZE): New macro.
12719 (struct cache_entry): New type.
12720 (cache_space, cache): New static globals.
12721 (ada_clear_symbol_cache, find_entry): New functions.
12722 (lookup_cached_symbol, cache_symbol): Implement.
12723 (ada_new_objfile_observer, ada_free_objfile_observer): New.
12724 (_initialize_ada_language): Attach ada_new_objfile_observer
12725 and ada_free_objfile_observer.
12726
f0c5f9b2
JB
127272014-02-10 Joel Brobecker <brobecker@adacore.com>
12728
12729 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
12730 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
12731 struct block * parameter.
12732 (ada_lookup_symbol_list_worker): Constify local variable "block".
12733 Remove cast which is no longer necessary.
12734
ed3ef339
DE
127352014-02-10 Doug Evans <xdje42@gmail.com>
12736
12737 Add Guile as an extension language.
12738 * NEWS: Mention Guile scripting.
12739 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
12740 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
12741 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
12742 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
12743 (CLIBS): Add GUILE_LIBS.
12744 (install-guile): New rule.
12745 (guile.o): New rule.
12746 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
12747 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
12748 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
12749 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
12750 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
12751 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
12752 (scm-type.o, scm-utils.o, scm-value.o): New rules.
12753 * configure.ac: New option --with-guile.
12754 * configure: Regenerate.
12755 * config.in: Regenerate.
12756 * auto-load.c: Remove #include "python/python.h". Add #include
12757 "gdb/section-scripts.h".
12758 (source_section_scripts): Handle Guile scripts.
12759 (_initialize_auto_load): Add name of Guile objfile script to
12760 scripts-directory help text.
12761 * breakpoint.c (condition_command): Tweak comment to include Scheme.
12762 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
12763 (struct breakpoint): New member scm_bp_object.
12764 * defs.h (enum command_control_type): New value guile_control.
12765 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
12766 "extension.h".
12767 (show_user): Update comment.
12768 (_initialize_cli_cmds): Update help text for "show user". Update help
12769 text for max-user-call-depth.
12770 * cli/cli-script.c: Remove #include "python/python.h". Add #include
12771 "extension.h".
12772 (multi_line_command_p): Add guile_control.
12773 (print_command_lines): Handle guile_control.
12774 (execute_control_command, recurse_read_control_structure): Ditto.
12775 (process_next_line): Recognize "guile" commands.
12776 * disasm.c (gdb_disassemble_info): Make non-static.
12777 * disasm.h: #include "dis-asm.h".
12778 (struct gdbarch): Add forward decl.
12779 (gdb_disassemble_info): Declare.
12780 * extension.c: #include "guile/guile.h".
12781 (extension_languages): Add guile.
12782 (get_ext_lang_defn): Handle EXT_LANG_GDB.
12783 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
12784 * gdbtypes.c (get_unsigned_type_max): New function.
12785 (get_signed_type_minmax): New function.
12786 * gdbtypes.h (get_unsigned_type_max): Declare.
12787 (get_signed_type_minmax): Declare.
12788 * guile/README: New file.
12789 * guile/guile-internal.h: New file.
12790 * guile/guile.c: New file.
12791 * guile/guile.h: New file.
12792 * guile/scm-arch.c: New file.
12793 * guile/scm-auto-load.c: New file.
12794 * guile/scm-block.c: New file.
12795 * guile/scm-breakpoint.c: New file.
12796 * guile/scm-disasm.c: New file.
12797 * guile/scm-exception.c: New file.
12798 * guile/scm-frame.c: New file.
12799 * guile/scm-gsmob.c: New file.
12800 * guile/scm-iterator.c: New file.
12801 * guile/scm-lazy-string.c: New file.
12802 * guile/scm-math.c: New file.
12803 * guile/scm-objfile.c: New file.
12804 * guile/scm-ports.c: New file.
12805 * guile/scm-pretty-print.c: New file.
12806 * guile/scm-safe-call.c: New file.
12807 * guile/scm-string.c: New file.
12808 * guile/scm-symbol.c: New file.
12809 * guile/scm-symtab.c: New file.
12810 * guile/scm-type.c: New file.
12811 * guile/scm-utils.c: New file.
12812 * guile/scm-value.c: New file.
12813 * guile/lib/gdb.scm: New file.
12814 * guile/lib/gdb/boot.scm: New file.
12815 * guile/lib/gdb/experimental.scm: New file.
12816 * guile/lib/gdb/init.scm: New file.
12817 * guile/lib/gdb/iterator.scm: New file.
12818 * guile/lib/gdb/printing.scm: New file.
12819 * guile/lib/gdb/types.scm: New file.
12820 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
12821 (VPATH): Add $(GUILE_SRCDIR).
12822 (GUILE_DIR): New variable.
12823 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
12824 (all): Add stamp-guile dependency.
12825 (stamp-guile): New rule.
12826 (clean-guile, install-guile, uninstall-guile): New rules.
12827 (install-only): Add install-guile dependency.
12828 (uninstall): Add uninstall-guile dependency.
12829 (clean): Add clean-guile dependency.
12830
ac020ec5
DE
128312014-02-09 Doug Evans <xdje42@gmail.com>
12832
12833 Revert this patch (which I approved, mea culpa).
12834
12835 2014-02-08 Mark Kettenis <kettenis@gnu.org>
12836
12837 * Makefile.in (all-lib): Remove.
12838 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12839
2a081c59
JK
128402014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
12841
12842 Fix Python stack corruption.
12843 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
12844 gdb_py_longest.
12845
0a6bd22d
MK
128462014-02-08 Mark Kettenis <kettenis@gnu.org>
12847
12848 * Makefile.in (all-lib): Remove.
12849 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
12850
1a860409
DE
128512014-02-07 Doug Evans <dje@google.com>
12852
12853 * extension-priv.h (extension_language_script_ops): Add comment.
12854 (extension_language_ops): Add comment.
caf5a491 12855 (active_ext_lang_state): Fix typo in comment.
1a860409 12856
d137e6dc
PA
128572014-02-07 Pedro Alves <palves@redhat.com>
12858
0dcb32c3 12859 PR breakpoints/16292
d137e6dc
PA
12860 * infrun.c (handle_signal_stop) <signal arrives while stepping
12861 over a breakpoint>: Switch back to the stepping thread.
12862
ce6d0892
YQ
128632014-02-07 Yao Qi <yao@codesourcery.com>
12864
12865 * target.c (target_xfer_partial): Return zero if LEN is zero.
12866
2ed4b548
YQ
128672014-02-07 Yao Qi <yao@codesourcery.com>
12868
12869 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
12870 (ld_so_xfer_auxv): Likewise.
12871 * bfd-target.c (target_bfd_xfer_partial): Likewise.
12872 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
12873 * corelow.c (core_xfer_partial): Likewise.
12874 * ctf.c (ctf_xfer_partial): Likewise.
12875 * darwin-nat.c (darwin_read_dyld_info): Likewise.
12876 (darwin_xfer_partial): Likewise.
12877 * exec.c (exec_xfer_partial): Likewise.
12878 * gnu-nat.c (gnu_xfer_partial): Likewise.
12879 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
12880 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
12881 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
12882 * linux-nat.c (linux_xfer_siginfo): Likewise.
12883 (linux_proc_xfer_spu): Likewise.
12884 * procfs.c (procfs_xfer_partial): Likewise.
12885 * record-full.c (record_full_xfer_partial): Likewise.
12886 (record_full_core_xfer_partial): Likewise.
12887 * remote-sim.c (gdbsim_xfer_partial): Likewise.
12888 * remote.c (remote_write_qxfer): Likewise.
12889 (remote_write_qxfer, remote_read_qxfer): Likewise.
12890 (remote_xfer_partial): Likewise.
12891 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
12892 (rs6000_xfer_shared_libraries): Likewise.
12893 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
12894 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
12895 (spu_xfer_partial): Likewise.
12896 * target.c (memory_xfer_partial_1): Likewise.
12897 * tracepoint.c (tfile_xfer_partial): Likewise.
12898 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
12899 (windows_xfer_partial): Likewise.
12900
c09f20e4
YQ
129012014-02-07 Yao Qi <yao@codesourcery.com>
12902
12903 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
12904 comments.
12905 (core_xfer_shared_libraries_aix): Likewise.
12906 * gdbarch.c, gdbarch.h: Regenerated.
12907 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
12908 ULONGEST. Change 'len_avail' type to ULONGEST.
12909 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
12910 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
12911 declaration.
12912 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
12913
8635b3bf
YQ
129142014-02-07 Yao Qi <yao@codesourcery.com>
12915
12916 * corefile.c (memory_error): Get 'exception' from ERR and pass
12917 'exception' to throw_error.
12918
6dddc817
DE
129192014-02-06 Doug Evans <xdje42@gmail.com>
12920
12921 * configure.ac (libpython checking): Remove all but python.o from
12922 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
12923 * configure: Regenerate.
12924
12925 * Makefile.in (SFILES): Add extension.c.
12926 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
12927 (COMMON_OBS): Add extension.o.
12928 * extension.h: New file.
12929 * extension-priv.h: New file.
12930 * extension.c: New file.
12931
12932 * python/python-internal.h: #include "extension.h".
12933 (gdbpy_auto_load_enabled): Declare.
12934 (gdbpy_apply_val_pretty_printer): Declare.
12935 (gdbpy_apply_frame_filter): Declare.
12936 (gdbpy_preserve_values): Declare.
12937 (gdbpy_breakpoint_cond_says_stop): Declare.
12938 (gdbpy_breakpoint_has_cond): Declare.
12939 (void source_python_script_for_objfile): Delete.
12940 * python/python.c: #include "extension-priv.h".
12941 Delete inclusion of "observer.h".
12942 (extension_language_python): Moved here and renamed from
12943 script_language_python in py-auto-load.c.
12944 Redefined to be of type extension_language_defn.
12945 (python_extension_script_ops): New global.
12946 (python_extension_ops): New global.
12947 (struct python_env): New member previous_active.
12948 (restore_python_env): Call restore_active_ext_lang.
12949 (ensure_python_env): Call set_active_ext_lang.
12950 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
12951 New arg extlang.
12952 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
12953 New arg extlang.
12954 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
12955 New arg extlang.
12956 (gdbpy_eval_from_control_command): Renamed from
12957 eval_python_from_control_command, made static. New arg extlang.
12958 (gdbpy_source_script) Renamed from source_python_script, made static.
12959 New arg extlang.
12960 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
12961 result to int. New arg extlang.
12962 (gdbpy_source_objfile_script): Renamed from
12963 source_python_script_for_objfile, made static. New arg extlang.
12964 (gdbpy_start_type_printers): Renamed from start_type_printers, made
12965 static. New args extlang, extlang_printers. Change result type to
12966 "void".
12967 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
12968 static. New arg extlang. Rename arg printers to extlang_printers
12969 and change type to ext_lang_type_printers *.
12970 (gdbpy_free_type_printers): Renamed from free_type_printers, made
12971 static. Replace argument arg with extlang, extlang_printers.
12972 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
12973 (!HAVE_PYTHON, source_python_script): Delete.
12974 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
12975 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
12976 (!HAVE_PYTHON, start_type_printers): Delete.
12977 (!HAVE_PYTHON, apply_type_printers): Delete.
12978 (!HAVE_PYTHON, free_type_printers): Delete.
12979 (_initialize_python): Delete call to observer_attach_before_prompt.
12980 (finalize_python): Set/restore active extension language.
12981 (gdbpy_finish_initialization) Renamed from
12982 finish_python_initialization, made static. New arg extlang.
12983 (gdbpy_initialized): New function.
12984 * python/python.h: #include "extension.h". Delete #include
12985 "value.h", "mi/mi-cmds.h".
12986 (extension_language_python): Declare.
12987 (GDBPY_AUTO_FILE_NAME): Delete.
12988 (enum py_bt_status): Moved to extension.h and renamed to
12989 ext_lang_bt_status.
12990 (enum frame_filter_flags): Moved to extension.h.
12991 (enum py_frame_args): Moved to extension.h and renamed to
12992 ext_lang_frame_args.
12993 (finish_python_initialization): Delete.
12994 (eval_python_from_control_command): Delete.
12995 (source_python_script): Delete.
12996 (apply_val_pretty_printer): Delete.
12997 (apply_frame_filter): Delete.
12998 (preserve_python_values): Delete.
12999 (gdbpy_script_language_defn): Delete.
13000 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13001 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13002
13003 * auto-load.c: #include "extension.h".
13004 (GDB_AUTO_FILE_NAME): Delete.
13005 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13006 (script_language_gdb): Delete, moved to extension.c and renamed to
13007 extension_language_gdb.
13008 (source_gdb_script_for_objfile): Delete.
13009 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13010 (loaded_script): Change type of language member to
13011 struct extension_language_defn *.
13012 (init_loaded_scripts_info): Initialize
13013 unsupported_script_warning_printed.
13014 (maybe_add_script): Make static. Change type of language arg to
13015 struct extension_language_defn *.
13016 (clear_section_scripts): Reset unsupported_script_warning_printed.
13017 (auto_load_objfile_script_1): Rewrite to use extension language API.
13018 (auto_load_objfile_script): Make public. Remove support-compiled-in
13019 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13020 (source_section_scripts): Rewrite to use extension language API.
13021 (load_auto_scripts_for_objfile): Rewrite to use
13022 auto_load_scripts_for_objfile.
13023 (collect_matching_scripts_data): Change type of language member to
13024 struct extension_language_defn *.
13025 (auto_load_info_scripts): Change type of language arg to
13026 struct extension_language_defn *.
13027 (unsupported_script_warning_print): New function.
13028 (script_not_found_warning_print): Make static.
13029 (_initialize_auto_load): Rewrite construction of scripts-directory
13030 help.
13031 * auto-load.h (struct objfile): Add forward decl.
13032 (struct script_language): Delete.
13033 (struct auto_load_pspace_info): Add forward decl.
13034 (struct extension_language_defn): Add forward decl.
13035 (maybe_add_script): Delete.
13036 (auto_load_objfile_script): Declare.
13037 (script_not_found_warning_print): Delete.
13038 (auto_load_info_scripts): Update prototype.
13039 (auto_load_gdb_scripts_enabled): Declare.
13040 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13041 auto_load_python_scripts_enabled and made public.
13042 (script_language_python): Delete, moved to python.c.
13043 (gdbpy_script_language_defn): Delete.
13044 (info_auto_load_python_scripts): Update to use
13045 extension_language_python.
13046
13047 * breakpoint.c (condition_command): Replace call to
13048 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13049 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13050 with call to breakpoint_ext_lang_cond_says_stop.
13051 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13052 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13053 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13054 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13055 New arg slang.
13056 (local_setattro): Print name of extension language with existing
13057 stop condition.
13058
13059 * valprint.c (val_print, value_print): Update to call
13060 apply_ext_lang_val_pretty_printer.
13061 * cp-valprint.c (cp_print_value): Update call to
13062 apply_ext_lang_val_pretty_printer.
13063 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13064 (gdbpy_apply_val_pretty_printer): Renamed from
13065 apply_val_pretty_printer. New arg extlang.
13066 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13067
13068 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13069 extension language API.
13070 * cli/cli-script.c (execute_control_command): Update to call
13071 eval_ext_lang_from_control_command.
13072
13073 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13074 enum ext_lang_bt_status values. Update call to
13075 apply_ext_lang_frame_filter.
13076 (mi_cmd_stack_list_locals): Ditto.
13077 (mi_cmd_stack_list_args): Ditto.
13078 (mi_cmd_stack_list_variables): Ditto.
13079 * mi/mi-main.c: Delete #include "python/python-internal.h".
13080 Add #include "extension.h".
13081 (mi_cmd_list_features): Replace reference to python internal variable
13082 gdb_python_initialized with call to ext_lang_initialized_p.
13083
13084 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
13085 Update to use enum ext_lang_frame_args. Update to call
13086 apply_ext_lang_frame_filter.
13087 * python/py-framefilter.c (extract_sym): Update to use enum
13088 ext_lang_bt_status.
13089 (extract_value, py_print_type, py_print_value): Ditto.
13090 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
13091 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
13092 (py_print_frame): Ditto.
13093 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
13094 New arg extlang. Update to use enum ext_lang_bt_status.
13095
13096 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
13097 finish_python_initialization. Replace with call to
13098 finish_ext_lang_initialization.
13099
13100 * typeprint.c (do_free_global_table): Update to call
13101 free_ext_lang_type_printers.
13102 (create_global_typedef_table): Update to call
13103 start_ext_lang_type_printers.
13104 (find_global_typedef): Update to call apply_ext_lang_type_printers.
13105 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
13106 (type_print_options): Change type of global_printers from "void *"
13107 to "struct ext_lang_type_printers *".
13108
13109 * value.c (preserve_values): Update to call preserve_ext_lang_values.
13110 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
13111 (gdbpy_preserve_values): Renamed from preserve_python_values.
13112 New arg extlang.
13113 (!HAVE_PYTHON, preserve_python_values): Delete.
13114
13115 * utils.c (quit_flag): Delete, moved to extension.c.
13116 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
13117 extension.c.
13118
13119 * eval.c: Delete #include "python/python.h".
13120 * main.c: Delete #include "python/python.h".
13121
13122 * defs.h: Update comment.
13123
6af79985
JB
131242014-02-06 Joel Brobecker <brobecker@adacore.com>
13125
13126 GDB 7.7 released.
13127
12c5175d
MK
131282014-02-05 Mark Kettenis <kettenis@gnu.org>
13129
13130 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
13131 defined.
13132
8dc5b319
YQ
131332014-02-05 Yao Qi <yao@codesourcery.com>
13134
13135 * remote.c (remote_pass_signals): Remove local 'buf' and use
13136 rs->buf.
13137 (remote_program_signals): Likewise.
13138
de7b2893
YQ
131392014-02-05 Yao Qi <yao@codesourcery.com>
13140
13141 * ctf.c: Include "inferior.h" and "gdbthread.h".
13142 (CTF_PID): A new macro.
13143 (ctf_open): Call inferior_appeared and add_thread_silent.
13144 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
13145 (ctf_thread_alive): New function.
13146 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
13147
66d032ac
YQ
131482014-02-05 Yao Qi <yao@codesourcery.com>
13149
13150 Revert this patch:
13151
13152 2013-05-24 Yao Qi <yao@codesourcery.com>
13153
13154 * tracepoint.c (TFILE_PID): Remove.
13155 (tfile_open): Don't add thread and inferior.
13156 (tfile_close): Don't set 'inferior_ptid'. Don't call
13157 exit_inferior_silent.
13158 (tfile_thread_alive): Remove.
13159 (init_tfile_ops): Don't set field 'to_thread_alive' of
13160 tfile_ops.
13161
f4ccffad
CE
131622014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
13163
13164 * remote.c (remote_start_remote): Call remote_check_symbols even
13165 if only symbol-file (not file) has been given.
13166
591a12a1
UW
131672014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13168
13169 * gdbarch.sh (skip_entrypoint): New callback.
13170 * gdbarch.c, gdbarch.h: Regenerate.
13171 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
13172 * infrun.c (fill_in_stop_func): Likewise.
13173 * ppc-linux-tdep.c: Include "elf/ppc64.h".
13174 (ppc_elfv2_elf_make_msymbol_special): New function.
13175 (ppc_elfv2_skip_entrypoint): Likewise.
13176 (ppc_linux_init_abi): Install them for ELFv2.
13177
cc0e89c5
UW
131782014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13179
13180 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
13181 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
13182 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
13183 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
13184 structures returned in GPRs.
13185
52f548e4
UW
131862014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13187
13188 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
13189 offset to the stack parameter list for the ELFv2 ABI.
13190
d4094b6a
UW
131912014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13192
13193 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
13194 set_gdbarch_convert_from_func_ptr_addr and
13195 set_gdbarch_elf_make_msymbol_special for ELFv1.
13196 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
13197 function descriptors on ELFv1.
13198 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
13199 set up r12 at function entry.
13200
cd453cd0
UW
132012014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13202
13203 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
13204 (struct gdbarch_tdep): New member elf_abi.
13205
13206 * rs6000-tdep.c: Include "elf/ppc64.h".
13207 (rs6000_gdbarch_init): Detect ELF ABI version.
13208
0ff3e01f
UW
132092014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13210
13211 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
13212 within a register pair holding a DFP 128-bit value on little-endian.
13213 (ppc64_sysv_abi_return_value_base): Likewise.
13214 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
13215 (dfp_pseudo_register_write): Likewise.
13216
5b757e5d
UW
132172014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13218
13219 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
13220 offset on little-endian when passing _Decimal32.
13221 (ppc64_sysv_abi_return_value_base): Likewise for return values.
13222
084ee545
UW
132232014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13224
13225 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
13226 of the overlapped FP register within the VSX register on little-
13227 endian platforms.
13228 (efpr_pseudo_register_write): Likewise.
13229
d63167af
UW
132302014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13231
13232 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
13233 offset on little-endian when passing small structures.
13234
e765b44c
UW
132352014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13236
13237 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
13238 (struct ppc64_sysv_argpos): New data structure.
13239 (ppc64_sysv_abi_push_float): Remove.
13240 (ppc64_sysv_abi_push_val): New function.
13241 (ppc64_sysv_abi_push_integer): Likewise.
13242 (ppc64_sysv_abi_push_freg): Likewise.
13243 (ppc64_sysv_abi_push_vreg): Likewise.
13244 (ppc64_sysv_abi_push_param): Likewise.
13245 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
13246 (ppc64_sysv_abi_return_value_base): New function.
13247 (ppc64_sysv_abi_return_value): Refactor to use it.
13248
36c24d95
UW
132492014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
13250
13251 * NEWS: Document new target powerpc64le-*-linux*.
13252
26fd9228
MK
132532014-02-04 Mark Kettenis <kettenis@gnu.org>
13254
13255 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
13256 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
13257 core dumps.
13258 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
13259 register set used in ELF core dumps. Add floating-point register set.
13260
c5bb7362
KB
132612014-02-03 Kevin Buettner <kevinb@redhat.com>
13262
74228e77 13263 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
13264 dwarf2_to_gdb[] table using symbolic constants. Adjust
13265 penultimate entry from number representing the PC register
13266 to symbolic constant representing the MDR register. Add
13267 constant for the PC register to the end of the table.
13268
af09351e
MK
132692014-02-03 Mark Kettenis <kettenis@gnu.org>
13270
13271 * bsd-kvm.c: Include <sys/param.h>
13272
8507e05d
MK
132732014-02-03 Mark Kettenis <kettenis@gnu.org>
13274
13275 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
13276
ae56bfb8
JB
132772014-01-31 Joel Brobecker <brobecker@adacore.com>
13278
13279 * ada-lang.h (clear_ada_sym_cache): Delete.
13280
718ee4dc
UW
132812014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
13282
13283 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
13284
401e27fd
JM
132852014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
13286
13287 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
13288 the sigreturn register save area only if the syscall is
13289 sigreturn.
13290
a7c88acd
JB
132912014-01-29 Joel Brobecker <brobecker@adacore.com>
13292
13293 * valops.c (value_slice): Minor reformatting.
13294
fa0079ea
UW
132952014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
13296
13297 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
13298
c6044dd1
JB
132992014-01-28 Joel Brobecker <brobecker@adacore.com>
13300
13301 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
13302 New static globals.
13303 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
13304 (ada_ignore_descriptive_types_p): New static global.
13305 (find_parallel_type_by_descriptive_type): Return immediately
13306 if ada_ignore_descriptive_types_p is set.
13307 (_initialize_ada_language): Register new commands "maintenance
13308 set ada", "maintenance show ada", "maintenance set ada
13309 ignore-descriptive-types" and "maintenance show ada
13310 ignore-descriptive-types".
13311 * NEWS: Add entry for new "maint ada set/show
13312 ignore-descriptive-types" commands.
13313
568e808b
MM
133142014-01-27 Markus Metzger <markus.t.metzger@intel.com>
13315
13316 * record-btrace.c (record_btrace_close): Call btrace_teardown
13317 for all threads.
13318
467d141b
JB
133192014-01-27 Joel Brobecker <brobecker@adacore.com>
13320
13321 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
13322 "ui-out.h".
13323
fb151210
JB
133242014-01-27 Joel Brobecker <brobecker@adacore.com>
13325
13326 * ada-typeprint (type_is_full_subrange_of_target_type):
13327 New function.
13328 (print_range): Add parameter bounds_prefered_p. If not set,
13329 try printing range types using the name of their base type.
13330 (print_range_type): Add parameter bounds_prefered_p.
13331 Use it in call to print_range.
13332 (print_array_type, ada_print_type): Update calls to print_range
13333 and print_range_type.
13334
aba02109
JB
133352014-01-27 Joel Brobecker <brobecker@adacore.com>
13336
13337 * ada-typeprint.c (print_array_type, print_choices, print_range)
13338 (print_range_bound, print_dynamic_range_bound, print_range_type):
13339 Remove declaration.
13340
e62e21fd
JB
133412014-01-27 Joel Brobecker <brobecker@adacore.com>
13342
13343 * ada-typeprint.c (print_range): Add missing empty line
13344 after local declaration.
13345
859cf5d1
JB
133462014-01-27 Joel Brobecker <brobecker@adacore.com>
13347
13348 * ada-valprint.c (print_optional_low_bound): Get index_type's
13349 target type for as long as it is a TYPE_CODE_RANGE.
13350
25790f6f
JB
133512014-01-27 Joel Brobecker <brobecker@adacore.com>
13352
13353 * procfs.c (procfs_make_note_section): Remove assertion and
13354 associated comment.
13355
6b6aa828
YQ
133562014-01-24 Yao Qi <yao@codesourcery.com>
13357
13358 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
13359 * corelow.c (get_core_siginfo): Likewise.
13360
5d6df423
YQ
133612014-01-24 Yao Qi <yao@codesourcery.com>
13362
13363 * remote.c (remote_write_bytes_aux): Change type of 'len' to
13364 ULONGEST. Don't check 'len' is negative.
13365 (remote_write_bytes): Change type of 'len' to ULONGEST.
13366
83b645b8
TT
133672014-01-23 Tom Tromey <tromey@redhat.com>
13368
13369 PR python/16485:
13370 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
13371 Handle exception from frame.block.
13372 (FrameVars.fetch_frame_locals): Likewise.
13373
0740f8d8
TT
133742014-01-23 Tom Tromey <tromey@redhat.com>
13375
13376 PR python/16487:
13377 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
13378 on a NULL pointer. Move "goto error" to correct place.
13379
21909fa1
TT
133802014-01-23 Tom Tromey <tromey@redhat.com>
13381
13382 PR python/16491:
13383 * python/py-framefilter.c (apply_frame_filter): Call
13384 ensure_python_env after computing gdbarch.
13385
17fde6d0
YQ
133862014-01-23 Yao Qi <yao@codesourcery.com>
13387
13388 * target.c (raw_memory_xfer_partial): Change argument type
13389 from void * to gdb_byte *.
13390 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
13391
87ce2a04
DE
133922014-01-22 Doug Evans <dje@google.com>
13393
13394 New gdbserver option --debug-format=timestamp.
13395 * NEWS: Mention it.
13396
237b092b
AA
133972014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
13398
13399 * syscalls/s390x-linux.xml: New file.
13400 * syscalls/s390-linux.xml: New file.
13401 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
13402 (XML_SYSCALL_FILENAME_S390X): Likewise.
13403 (op_svc): New enum value for SVC opcode.
13404 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
13405 (s390_linux_get_syscall_number): New function.
13406 (s390_gdbarch_init): Register '*get_syscall_number' and the
13407 syscall xml file name.
13408 * data-directory/Makefile.in (SYSCALLS_FILES): Add
13409 "s390-linux.xml" and "s390x-linux.xml".
13410 * NEWS: Announce new feature.
13411
54bff650
BS
134122014-01-22 Baruch Siach <baruch@tkos.co.il>
13413
13414 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
13415
14e361d7
PA
134162014-01-22 Pedro Alves <palves@redhat.com>
13417
13418 * xtensa-config.c: Include defs.h.
13419
46bbb3ed
JB
134202014-01-22 Joel Brobecker <brobecker@adacore.com>
13421
13422 * common/common-utils.h: Add "ARI:" comment beside __func__
13423 reference.
13424
3a80edfc
JB
134252014-01-22 Joel Brobecker <brobecker@adacore.com>
13426
13427 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
13428 documentation a bit.
13429
4869db5e
RM
134302014-01-21 Roland McGrath <mcgrathr@google.com>
13431
13432 * configure.ac: Call AM_PROG_INSTALL_STRIP.
13433 * configure: Regenerate.
13434 * aclocal.m4: Regenerate.
13435 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
13436 New substituted variables.
13437 (install-strip): New target.
13438 (INSTALL_SCRIPT): New substituted variable.
13439 (FLAGS_TO_PASS): Add it.
13440 (install-only): Use $(INSTALL_SCRIPT) rather than
13441 $(INSTALL_PROGRAM) for gcore.
13442
9ea4267d
TT
134432014-01-20 Tom Tromey <tromey@redhat.com>
13444
13445 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
13446 together.
13447
1f2bdf09
TT
134482014-01-20 Tom Tromey <tromey@redhat.com>
13449
13450 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
13451 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
13452 (deprecated_cmd_warning, complete_on_cmdlist): Update.
13453 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
13454 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
13455 (struct cmd_list_element) <flags>: Remove.
13456 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
13457 doc_allocated>: New fields.
13458 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
13459 bitfields.
13460 * maint.c (maintenance_do_deprecate): Update.
13461 * top.c (execute_command): Update.
13462
e671835b
BS
134632014-01-20 Baruch Siach <baruch@tkos.co.il>
13464
13465 * xtensa-linux-nat.c: Include asm/ptrace.h.
13466
50367cd2
IB
134672014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13468
13469 * Makefile.in (SFILES): Add d-support.c.
13470 (COMMON_OBS): Add d-support.o.
13471 * d-lang.h (d_parse_symbol): Add comment, now defined in
13472 d-support.c.
13473 * d-lang.c (parse_call_convention)
13474 (parse_attributes, parse_function_types)
13475 (parse_function_args, parse_type, parse_identifier)
13476 (call_convention_p, d_parse_symbol): Move functions to ...
13477 * d-support.c: ... New file.
13478
ec9f644a
IB
134792014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13480
13481 * d-lang.h (d_parse_symbol): Add declaration.
13482 * d-lang.c (extract_identifiers)
13483 (extract_type_info): Remove functions.
13484 (parse_call_convention, parse_attributes)
13485 (parse_function_types, parse_function_args)
13486 (parse_type, parse_identifier, call_convention_p)
13487 (d_parse_symbol): New functions.
13488 (d_demangle): Use d_parse_symbol to demangle D symbols.
13489
94b1b47e
IB
134902014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13491
13492 * d-lang.h (struct builtin_d_type): New data type.
13493 (builtin_d_type): Add declaration.
13494 * d-lang.c (d_language_arch_info, build_d_types)
13495 (builtin_d_type): New functions.
13496 (enum d_primitive_types): New data type.
13497 (d_language_defn): Change c_language_arch_info to
13498 d_language_arch_info.
13499 (d_type_data): New static variable.
13500 (_initialize_d_language): Initialize d_type_data.
13501
63778547
IB
135022014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13503
13504 * d-lang.h (d_main_name): Add declaration.
13505 * d-lang.c (d_main_name): New function.
13506 * symtab.c (find_main_name): Add call to d_main_name.
13507
3271ba66
IB
135082014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13509
13510 * d-lang.c (d_language_defn): Change macro_expansion_c to
13511 macro_expansion_no.
13512
d36b3012
IB
135132014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
13514
13515 * MAINTAINERS: Add myself as a write-after-approval maintainer.
13516
c90a6fb7
SDJ
135172014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
13518
13519 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
13520 gdb_exception" declaration.
13521 * remote.c (getpkt_or_notif_sane): Likewise.
13522
749234e5
DE
135232014-01-17 Doug Evans <dje@google.com>
13524
13525 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
13526 function, contents of dirnames_to_char_ptr_vec_append moved here.
13527 (delim_string_to_char_ptr_vec): New function.
13528 (dirnames_to_char_ptr_vec_append): Rewrite.
13529 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
13530
df049a58
DE
135312014-01-17 Doug Evans <dje@google.com>
13532
13533 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
13534 and moved here ...
13535 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
13536 #include "common-utils.h".
13537 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
13538 * common/vec.h (VEC_ASSERT_PASS): Update.
13539 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
13540 (MACH_CHECK_ERROR): Update.
13541
69f97648
SM
135422014-01-17 Simon Marchi <simon.marchi@ericsson.com>
13543
13544 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
13545 comments.
13546 * gdbarch.h: Regenerate.
13547
98b1cfdc
TT
135482014-01-16 Tom Tromey <tromey@redhat.com>
13549
13550 * value.c (struct value) <regnum>: Move earlier.
13551
77a19445
TT
135522014-01-16 Tom Tromey <tromey@redhat.com>
13553
13554 * remote.c (extended_remote_create_inferior): Rename from
13555 extended_remote_create_inferior_1. Add "ops" argument. Remove
13556 old implementation.
13557
62261490
PA
135582014-01-16 Pedro Alves <palves@redhat.com>
13559
13560 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
13561 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
13562 the backchain.
13563
4d65956b
DE
135642014-01-16 Doug Evans <dje@google.com>
13565
13566 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
13567
52834460
MM
135682014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13569
13570 * btrace.h (btrace_thread_flag): New.
13571 (struct btrace_thread_info) <flags>: New.
13572 * record-btrace.c (record_btrace_resume_thread)
13573 (record_btrace_find_thread_to_move, btrace_step_no_history)
13574 (btrace_step_stopped, record_btrace_start_replaying)
13575 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
13576 (record_btrace_find_resume_thread): New.
13577 (record_btrace_resume, record_btrace_wait): Extend.
13578 (record_btrace_can_execute_reverse): New.
13579 (record_btrace_open): Fail in non-stop mode.
13580 (record_btrace_set_replay): Split into this, ...
13581 (record_btrace_stop_replaying): ... this, ...
13582 (record_btrace_clear_histories): ... and this.
13583 (init_record_btrace_ops): Init to_can_execute_reverse.
13584 * NEWS: Announce it.
13585
118e6252
MM
135862014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13587
13588 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
13589 (forward_target_decr_pc_after_break)
13590 (target_decr_pc_after_break): New.
13591 * target.c (forward_target_decr_pc_after_break)
13592 (target_decr_pc_after_break): New.
13593 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
13594 instead of gdbarch_decr_pc_after_break.
13595 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13596 instead of gdbarch_decr_pc_after_break.
13597 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
13598 instead of gdbarch_decr_pc_after_break.
13599 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
13600 instead of gdbarch_decr_pc_after_break.
13601 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
13602 instead of gdbarch_decr_pc_after_break.
13603 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
13604 instead of gdbarch_decr_pc_after_break.
13605
6e07b1d2
MM
136062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13607
13608 * btrace.c: Include regcache.h.
13609 (btrace_add_pc): New.
13610 (btrace_enable): Call btrace_add_pc.
13611 (btrace_is_empty): New.
13612 * btrace.h (btrace_is_empty): New.
13613 * record-btrace.c (require_btrace, record_btrace_info): Call
13614 btrace_is_empty.
13615
969c39fb
MM
136162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13617
13618 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
13619 Support delta reads.
13620 (linux_disable_btrace): Change return type.
13621 * common/linux-btrace.h (linux_read_btrace): Change parameters
13622 and return type to allow error reporting. Update users.
13623 (linux_disable_btrace): Change return type. Update users.
13624 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
13625 New.
13626 (btrace_error): New.
13627 (btrace_block) <begin>: Comment on BEGIN == 0.
13628 * btrace.c (btrace_compute_ftrace): Start from the end of
13629 the current trace.
13630 (btrace_stitch_trace, btrace_clear_history): New.
13631 (btrace_fetch): Read delta trace, return if replaying.
13632 (btrace_clear): Move clear history code to btrace_clear_history.
13633 (parse_xml_btrace): Throw an error if parsing failed.
13634 * target.h (struct target_ops) <to_read_btrace>: Change parameters
13635 and return type to allow error reporting.
13636 (target_read_btrace): Change parameters and return type to allow
13637 error reporting.
13638 * target.c (target_read_btrace): Update.
13639 * remote.c (remote_read_btrace): Support delta reads. Pass
13640 errors on.
13641 * NEWS: Announce it.
13642
0b722aec
MM
136432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13644
13645 * record.h (record_btrace_frame_unwind)
13646 (record_btrace_tailcall_frame_unwind): New declarations.
13647 * dwarf2-frame: Include record.h
13648 (dwarf2_frame_cfa): Throw an error for btrace frames.
13649 * record-btrace.c: Include hashtab.h.
13650 (btrace_get_bfun_name): New.
13651 (btrace_call_history): Call btrace_get_bfun_name.
13652 (struct btrace_frame_cache): New.
13653 (bfcache): New.
13654 (bfcache_hash, bfcache_eq, bfcache_new): New.
13655 (btrace_get_frame_function): New.
13656 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
13657 (record_btrace_frame_this_id): Compute own id.
13658 (record_btrace_frame_prev_register): Provide PC, throw_error
13659 for all other registers.
13660 (record_btrace_frame_sniffer): Detect btrace frames.
13661 (record_btrace_tailcall_frame_sniffer): New.
13662 (record_btrace_frame_dealloc_cache): New.
13663 (record_btrace_frame_unwind): Add new functions.
13664 (record_btrace_tailcall_frame_unwind): New.
13665 (_initialize_record_btrace): Allocate cache.
13666 * btrace.c (btrace_clear): Call reinit_frame_cache.
13667 * NEWS: Announce it.
13668
066ce621
MM
136692014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13670
13671 * record-btrace.c (record_btrace_set_replay)
13672 (record_btrace_goto_begin, record_btrace_goto_end)
13673 (record_btrace_goto): New.
13674 (init_record_btrace_ops): Initialize them.
13675 * NEWS: Announce it.
13676
e2887aa3
MM
136772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13678
13679 * record-btrace.c (record_btrace_find_new_threads)
13680 (record_btrace_thread_alive): New.
13681 (init_record_btrace_ops): Initialize to_find_new_threads and
13682 to_thread_alive.
13683
b2f4cfde
MM
136842014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13685
13686 * record-btrace.c (record_btrace_resume): New.
13687 (record_btrace_wait): New.
13688 (init_record_btrace_ops): Initialize to_wait and to_resume.
13689
633785ff
MM
136902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13691
13692 * record-btrace.c (record_btrace_xfer_partial)
13693 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
13694 (record_btrace_allow_memory_access): New.
13695 (init_record_btrace_ops): Initialize new methods.
13696 * target.c (raw_memory_xfer_partial): Bail out if target reports
13697 that this memory is not available.
13698
3db08215
MM
136992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13700
13701 * target.h (target_ops) <to_insert_breakpoint>
13702 <to_remove_breakpoint>: Add target_ops parameter.
13703 (forward_target_insert_breakpoint): New.
13704 (forward_target_remove_breakpoint): New.
13705 (memory_remove_breakpoint, memory_insert_breakpoint):
13706 Add target_ops parameter.
13707 * target.c (target_insert_breakpoint): Split into this and ...
13708 (forward_target_insert_breakpoint): ... this.
13709 (target_remove_breakpoint): Split into this and ...
13710 (forward_target_remove_breakpoint): ... this.
13711 (debug_to_insert_breakpoint): Add target_ops parameter.
13712 Call forward_target_insert_breakpoint.
13713 (debug_to_remove_breakpoint): Add target_ops parameter.
13714 Call forward_target_remove_breakpoint.
13715 (update_current_target): Do not inherit or default to_insert_breakpoint
13716 and to_remove_breakpoint.
13717 * corelow.c (ignore): Add target_ops parameter.
13718 * exec.c (ignore): Add target_ops parameter.
13719 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
13720 Add target_ops parameter.
13721 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
13722 Add target_ops parameter.
13723 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
13724 Add target_ops parameter.
13725 * record-full.c (record_full_beneath_to_insert_breakpoint)
13726 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
13727 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
13728 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
13729 (record_full_core_remove_breakpoint): Add target_ops parameter.
13730 Update users.
13731 (record_full_beneath_to_insert_breakpoint_ops)
13732 (record_full_beneath_to_remove_breakpoint_ops)
13733 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
13734 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
13735 tmp_to_remove_breakpoint_ops,
13736 record_full_beneath_to_insert_breakpoint_ops, and
13737 record_full_beneath_to_remove_breakpoint_ops.
13738 * remote-m32r-sdi.c (m32r_insert_breakpoint)
13739 (m32r_remove_breakpoint): Add target_ops parameter.
13740 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
13741 Add target_ops parameter.
13742 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
13743 Add target_ops parameter.
13744
cecac1ab
MM
137452014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13746 Markus Metzger <markus.t.metzger@intel.com>
13747
13748 * record-btrace.c: Include frame-unwind.h.
13749 (record_btrace_frame_unwind_stop_reason)
13750 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
13751 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
13752 New.
13753 (init_record_btrace_ops): Install it.
13754
824344ca
MM
137552014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13756
13757 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
13758 get_prev_frame_1.
13759
32261e52
MM
137602014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13761
13762 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
13763 earlier.
13764
ea001bdc
MM
137652014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13766
13767 * frame-unwind.c: Include target.h.
13768 (frame_unwind_try_unwinder): New function with code from ...
13769 (frame_unwind_find_by_frame): ... here. New variable
13770 unwinder_from_target, call also target_get_unwinder)
13771 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
13772 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
13773 * target.h (struct target_ops): New fields to_get_unwinder and
13774 to_get_tailcall_unwinder.
13775 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
13776
1f3ef581
MM
137772014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13778
13779 * record-btrace.c (record_btrace_fetch_registers)
13780 (record_btrace_store_registers)
13781 (record_btrace_to_prepare_to_store): New.
13782 (init_record_btrace_ops): Add the above.
13783
f32dbf8c
MM
137842014-01-16 Tom Tromey <tromey@redhat.com>
13785
13786 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
13787 * target.h (struct target_ops) <to_prepare_to_store>: Add
13788 argument.
13789 (target_prepare_to_store): Add argument.
13790 * target.c (debug_to_prepare_to_store): Add argument.
13791 (update_current_target): Update.
13792 * remote.c (remote_prepare_to_store): Add 'self' argument.
13793 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
13794 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
13795 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
13796 * record-full.c (record_full_core_prepare_to_store): Add 'self'
13797 argument.
13798 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
13799 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
13800 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
13801 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
13802 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
13803
07bbe694
MM
138042014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13805
13806 * btrace.h (replay) <replay>: New.
13807 (btrace_is_replaying): New.
13808 * btrace.c (btrace_clear): Free replay iterator.
13809 (btrace_is_replaying): New.
13810 * record-btrace.c (record_btrace_is_replaying): New.
13811 (record_btrace_info): Print insn number if replaying.
13812 (record_btrace_insn_history): Start at replay position.
13813 (record_btrace_call_history): Start at replay position.
13814 (init_record_btrace_ops): Init to_record_is_replaying.
13815
0688d04e
MM
138162014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13817
13818 * record-btrace.c (record_btrace_insn_history_range): Include
13819 end.
13820 (record_btrace_insn_history_from): Adjust range.
13821 (record_btrace_call_history_range): Include
13822 end.
13823 (record_btrace_call_history_from): Adjust range.
13824 * NEWS: Announce changes.
13825
8710b709
MM
138262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13827
13828 * record.h (enum record_print_flag)
13829 <record_print_indent_calls>: New.
13830 * record.c (get_call_history_modifiers): Recognize /c modifier.
13831 (_initialize_record): Document /c modifier.
13832 * record-btrace.c (btrace_call_history): Add btinfo parameter.
13833 Reorder fields. Optionally indent the function name. Update
13834 all users.
13835 * NEWS: Announce changes.
13836
d0fa7535
MM
138372014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13838
13839 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
13840
5de9129b
MM
138412014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13842
13843 * btrace.c (ftrace_new_function): Start counting at one.
13844 * record-btrace.c (record_btrace_info): Adjust number of calls
13845 and insns.
13846 * NEWS: Announce it.
13847
7acbe133
MM
138482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13849
13850 * record-btrace.c (btrace_call_history_insn_range): Print
13851 insn range as [begin, end].
13852
23a7fe75
MM
138532014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13854
13855 * btrace.h (struct btrace_func_link): New.
13856 (enum btrace_function_flag): New.
13857 (struct btrace_inst): Rename to ...
13858 (struct btrace_insn): ...this. Update all users.
13859 (struct btrace_func) <ibegin, iend>: Remove.
13860 (struct btrace_func_link): New.
13861 (struct btrace_func): Rename to ...
13862 (struct btrace_function): ...this. Update all users.
13863 (struct btrace_function) <segment, flow, up, insn, insn_offset)
13864 (number, level, flags>: New.
13865 (struct btrace_insn_iterator): Rename to ...
13866 (struct btrace_insn_history): ...this.
13867 Update all users.
13868 (struct btrace_insn_iterator, btrace_call_iterator): New.
13869 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
13870 (struct btrace_target_info) <begin, end, level>
13871 <insn_history, call_history>: New.
13872 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13873 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13874 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13875 (btrace_call_number, btrace_call_begin, btrace_call_end)
13876 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13877 (btrace_find_function_by_number, btrace_set_insn_history)
13878 (btrace_set_call_history): New.
13879 * btrace.c (btrace_init_insn_iterator)
13880 (btrace_init_func_iterator, compute_itrace): Remove.
13881 (ftrace_print_function_name, ftrace_print_filename)
13882 (ftrace_skip_file): Change
13883 parameter to const.
13884 (ftrace_init_func): Remove.
13885 (ftrace_debug): Use new btrace_function fields.
13886 (ftrace_function_switched): Also consider gaining and
13887 losing symbol information).
13888 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
13889 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
13890 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
13891 New.
13892 (ftrace_new_function): Move. Remove debug print.
13893 (ftrace_update_lines, ftrace_update_insns): New.
13894 (ftrace_update_function): Check for call, ret, and jump.
13895 (compute_ftrace): Renamed to ...
13896 (btrace_compute_ftrace): ...this. Rewritten to compute call
13897 stack.
13898 (btrace_fetch, btrace_clear): Updated.
13899 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
13900 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
13901 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
13902 (btrace_call_number, btrace_call_begin, btrace_call_end)
13903 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
13904 (btrace_find_function_by_number, btrace_set_insn_history)
13905 (btrace_set_call_history): New.
13906 * record-btrace.c (require_btrace): Use new btrace thread
13907 info fields.
13908 (record_btrace_info, btrace_insn_history)
13909 (record_btrace_insn_history, record_btrace_insn_history_range):
13910 Use new btrace thread info fields and new iterator.
13911 (btrace_func_history_src_line): Rename to ...
13912 (btrace_call_history_src_line): ...this. Use new btrace
13913 thread info fields.
13914 (btrace_func_history): Rename to ...
13915 (btrace_call_history): ...this. Use new btrace thread info
13916 fields and new iterator.
13917 (record_btrace_call_history, record_btrace_call_history_range):
13918 Use new btrace thread info fields and new iterator.
13919
8372a7cb
MM
139202014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13921
13922 * frame.h (frame_id_build_unavailable_stack_special): New.
13923 * frame.c (frame_id_build_unavailable_stack_special): New.
13924
c2170eef
MM
139252014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13926
13927 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
13928 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
13929 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
13930 to gdbarch.
13931 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
13932 (i386_insn_is_jump, i386_jmp_p): New.
13933 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
13934 insn_is_jump to gdbarch.
13935 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
13936 * gdbarch.h: Regenerated.
13937 * gdbarch.c: Regenerated.
13938 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
13939 (default_insn_is_jump): New.
13940 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
13941 (default_insn_is_jump): New.
13942
864089d2
MM
139432014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13944
13945 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
13946 Change to ...
13947 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
13948 (btrace_read_type) <btrace_read_new>: Change to ...
13949 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
13950
ed9edfb5
MM
139512014-01-16 Markus Metzger <markus.t.metzger@intel.com>
13952
13953 * common/linux-btrace.c (linux_read_btrace): Free trace from
13954 previous iteration.
13955
fbcbc3fd
DE
139562014-01-15 Doug Evans <dje@google.com>
13957
13958 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
13959 uint32_t.
13960
3d548a53
TT
139612014-01-15 Tom Tromey <tromey@redhat.com>
13962
13963 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
13964 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
13965 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
13966 (set_objfile_main_name): New function.
13967 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
13968 language_of_main>: New fields.
13969 (set_objfile_main_name): Declare.
13970 * symtab.c (find_main_name): Loop over objfiles to find the main
13971 name and language.
13972 (set_main_name): Now static.
13973 (get_main_info): Add comment.
13974 * symtab.h (set_main_name): Don't declare.
13975
32ac0d11
TT
139762014-01-15 Tom Tromey <tromey@redhat.com>
13977
13978 * symtab.c (main_progspace_key): New global.
13979 (struct main_info): New.
13980 (name_of_main, language_of_main): Remove.
13981 (get_main_info, main_info_cleanup): New function.
13982 (set_main_name, main_name, main_language): Use get_main_info.
13983 (_initialize_symtab): Initialize main_progspace_key.
13984
9e6c82ad
TT
139852014-01-15 Tom Tromey <tromey@redhat.com>
13986
13987 * dbxread.c (process_one_symbol): Update.
13988 * dwarf2read.c (read_partial_die): Update.
13989 * symfile.c (set_initial_language): Call main_language.
13990 * symtab.c (language_of_main): Now static.
13991 (set_main_name): Add 'lang' parameter.
13992 (find_main_name): Update.
13993 (main_language): New function.
13994 (symtab_observer_executable_changed): Update.
13995 * symtab.h (set_main_name): Update.
13996 (language_of_main): Remove.
13997 (main_language): Declare.
13998
6ef55de7
TT
139992014-01-15 Tom Tromey <tromey@redhat.com>
14000
14001 * symfile.c (init_entry_point_info): Use new "initialized" field.
14002 Update.
14003 * objfiles.h (struct entry_point) <initialized>: New field.
14004 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14005 (struct objfile) <ei>: ...here. Remove.
14006 * objfiles.c (entry_point_address_query): Update.
14007
53eddfa6
TT
140082014-01-15 Tom Tromey <tromey@redhat.com>
14009
14010 * objfiles.c (entry_point_address_query): Relocate entry point
14011 address.
14012 (objfile_relocate1): Do not relocate entry point address.
14013 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14014 <the_bfd_section_index>: New field.
14015 * symfile.c (init_entry_point_info): Find the entry point's
14016 section.
14017
d56e56aa
TT
140182014-01-15 Tom Tromey <tromey@redhat.com>
14019
14020 * solib-frv.c (enable_break): Use entry_point_address_query.
14021
33a97bbe
OJ
140222014-01-15 Omair Javaid <omair.javaid@linaro.org>
14023
14024 * NEWS: Add note on improved process record-replay on
14025 arm*-linux* targets.
14026
c6ec2b30
OJ
140272014-01-15 Omair Javaid <omair.javaid@linaro.org>
14028
14029 * arm-tdep.c (enum arm_record_result): New enum.
14030 (arm_record_unsupported_insn): New function.
14031 (arm_record_coproc_data_proc): Removed.
14032 (thumb2_record_ld_st_multiple): New function.
14033 (thumb2_record_ld_st_dual_ex_tbb): New function.
14034 (thumb2_record_data_proc_sreg_mimm): New function.
14035 (thumb2_record_ps_dest_generic): New function.
14036 (thumb2_record_branch_misc_cntrl): New function.
14037 (thumb2_record_str_single_data): New function.
14038 (thumb2_record_ld_mem_hints): New function.
14039 (thumb2_record_ld_word): New function.
14040 (thumb2_record_lmul_lmla_div): New function.
14041 (thumb2_record_decode_insn_handler): New function.
14042 (decode_insn): Add thumb32 instruction handlers.
14043
97dfe206
OJ
140442014-01-15 Omair Javaid <omair.javaid@linaro.org>
14045
14046 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14047 (struct arm_linux_record_tdep): Declare.
14048 (arm_canonicalize_syscall): New function.
14049 (arm_all_but_pc_registers_record): New function.
14050 (arm_linux_syscall_record): New function.
14051 (arm_linux_init_abi): Add syscall recording constructs.
14052 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14053 decoding. (arm_record_coproc_data_proc): Update arm syscall
14054 decoding.
14055 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14056 <arm_syscall_record>: New field.
14057 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14058 gdb_target_obs.
14059
9904a494
OJ
140602014-01-15 Omair Javaid <omair.javaid@linaro.org>
14061
14062 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14063 register for push instruction recording.
14064
f969241e
OJ
140652014-01-15 Omair Javaid <omair.javaid@linaro.org>
14066
14067 * arm-tdep.c (thumb_record_misc): Update to correct logical
14068 error while recording ldm, ldmia and pop instructions.
14069
bfbbec00
OJ
140702014-01-15 Omair Javaid <omair.javaid@linaro.org>
14071
14072 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14073
e40adcc9
PA
140742014-01-15 Pedro Alves <palves@redhat.com>
14075
14076 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14077 (go32_resume, go32_fetch_registers, store_register)
14078 (go32_store_registers, go32_prepare_to_store)
14079 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
14080 (go32_create_inferior, go32_can_run, go32_terminal_init)
14081 (go32_terminal_inferior, go32_terminal_ours): Delete forward
14082 declarations.
14083
b0a16e66
TT
140842014-01-15 Tom Tromey <tromey@redhat.com>
14085
14086 * target.h (async_callback_ftype): New typedef.
14087 (struct target_ops) <to_async>: Use it.
14088
bf7105a4
JB
140892014-01-15 Joel Brobecker <brobecker@adacore.com>
14090
14091 * python/py-value.c (get_field_type): Remove unnecessary curly
14092 braces for single-statement if block.
14093
a8f35c2e
JB
140942014-01-15 Joel Brobecker <brobecker@adacore.com>
14095
14096 * python/py-type.c (convert_field): Add missing empty line
14097 after declarations.
14098
bb4142cf
DE
140992014-01-14 Doug Evans <dje@google.com>
14100
14101 * symfile.h (expand_symtabs_matching): Renamed from
14102 expand_partial_symbol_names. Update prototype.
14103 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14104 * symfile.c (expand_symtabs_matching): Renamed from
14105 expand_partial_symbol_names. New args file_matcher, kind.
14106 Rename arg fun to symbol_matcher.
14107 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
14108 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
14109 ada_expand_partial_symbol_name.
14110 (ada_make_symbol_completion_list): Update to call
14111 expand_symtabs_matching.
14112 (ada_add_global_exceptions): Call expand_symtabs_matching.
14113 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
14114 call map_symbol_filenames.
14115 * symtab.c (sources_info): Update to call map_symbol_filenames.
14116 (search_symbols): Call expand_symtabs_matching.
14117 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
14118 (default_make_symbol_completion_list_break_on): Update to call
14119 expand_symtabs_matching.
14120 (make_source_files_completion_list): Update to call
14121 map_symbol_filenames.
14122
206f2a57
DE
141232014-01-14 Doug Evans <dje@google.com>
14124
14125 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
14126 (expand_symtabs_symbol_matcher_ftype): New typedef.
14127 (quick_symbol_functions.expand_symtabs_matching): Update to use.
14128 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14129 * symfile.c (expand_partial_symbol_names): Update to use
14130 expand_symtabs_symbol_matcher_ftype.
14131 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
14132 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14133 Arg name_matcher renamed to symbol_matcher.
14134 * psymtab.c (recursively_search_psymtabs): Update to use
14135 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
14136 sym_matcher.
14137 (expand_symtabs_matching_via_partial): Update to use
14138 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
14139 Arg name_matcher renamed to symbol_matcher.
14140
540c2971
DE
141412014-01-14 Doug Evans <dje@google.com>
14142
14143 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
14144 (map_partial_symbol_filenames): Ditto.
14145 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
14146 (map_partial_symbol_filenames): Ditto.
14147 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
14148 (map_partial_symbol_filenames): Ditto.
14149 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
14150 (map_partial_symbol_filenames): Ditto.
14151 * symtab.c: Delete #include "psymtab.h".
14152
8213266a
PA
141532014-01-14 Pedro Alves <palves@redhat.com>
14154 Tom Tromey <tromey@redhat.com>
14155
14156 * infrun.c (use_displaced_stepping): Use find_record_target
14157 instead of RECORD_IS_USED.
14158 (adjust_pc_after_break): Use record_full_is_used instead of
14159 RECORD_IS_USED.
14160 * record-btrace.c (record_btrace_open): Call record_preopen
14161 instead of checking RECORD_IS_USED.
14162 * record-full.c (record_full_shortname)
14163 (record_full_core_shortname): New globals.
14164 (record_full_is_used): New function.
14165 (find_full_open): Call record_preopen instead of checking
14166 RECORD_IS_USED.
14167 (init_record_full_ops): Set the target's shortname to
14168 record_full_shortname.
14169 (init_record_full_core_ops): Set the target's shortname to
14170 record_full_core_shortname.
14171 * record-full.h (record_full_is_used): Declare.
14172 * record.c (find_record_target): Make extern.
14173 (record_preopen): New function.
14174 * record.h (RECORD_IS_USED): Delete macro.
14175 (find_record_target, record_preopen): Declare functions.
14176
7ec1862d
YQ
141772014-01-14 Yao Qi <yao@codesourcery.com>
14178
14179 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
14180 'len''s type to ULONGEST.
14181 (core_xfer_shared_libraries_aix): Likewise.
14182 * gdbarch.c, gdbarch.h: Regenerated.
14183 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
14184 Change type of 'len' to ULONGEST.
14185 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14186 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
14187
dea80a27
YQ
141882014-01-14 Yao Qi <yao@codesourcery.com>
14189
14190 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
14191 type of 'len' to ULONGEST.
14192 (linux_xfer_osdata_processgroups): Likewise.
14193 (linux_xfer_osdata_threads): Likewise.
14194 (linux_xfer_osdata_fds): Likewise.
14195 (linux_xfer_osdata_isockets): Likewise.
14196 (linux_xfer_osdata_shm): Likewise.
14197 (linux_xfer_osdata_sem): Likewise.
14198 (linux_xfer_osdata_msg): Likewise.
14199 (linux_common_xfer_osdata): Likewise.
14200 (struct osdata_type) <getter>: Likewise.
14201 * common/linux-osdata.h (linux_common_xfer_osdata): Update
14202 the declaration.
14203
b55e14c7
YQ
142042014-01-14 Yao Qi <yao@codesourcery.com>
14205
14206 * target.h (target_xfer_partial_ftype): Update.
14207 (struct target_ops) <to_xfer_partial>: Change 'len' type to
14208 ULONGEST.
14209 * aix-thread.c (aix_thread_xfer_partial): Change type of
14210 argument 'len' to ULONGEST.
14211 * auxv.c (procfs_xfer_auxv): Likewise.
14212 (ld_so_xfer_auxv): Likewise.
14213 (memory_xfer_auxv): Likewise.
14214 * bfd-target.c (target_bfd_xfer_partial): Likewise.
14215 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
14216 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
14217 * corelow.c (core_xfer_partial): Likewise.
14218 * ctf.c (ctf_xfer_partial): Likewise.
14219 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
14220 '%u'.
14221 (darwin_read_dyld_info): Likewise.
14222 (darwin_xfer_partial): Likewise.
14223 * exec.c (section_table_xfer_memory_partial): Likewise.
14224 (exec_xfer_partial): Likewise.
14225 * exec.h (section_table_xfer_memory_partial): Update
14226 declaration.
14227 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
14228 instead of plongest.
14229 (gnu_xfer_partial): Likewise.
14230 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
14231 (ia64_hpux_xfer_solib_got): Likewise.
14232 (ia64_hpux_xfer_partial): Likewise.
14233 * ia64-linux-nat.c (ia64_linux_xfer_partial):
14234 * inf-ptrace.c (inf_ptrace_xfer_partial):
14235 * inf-ttrace.c (inf_ttrace_xfer_partial):
14236 * linux-nat.c (linux_xfer_siginfo): Likewise.
14237 (linux_nat_xfer_partial): Likewise.
14238 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
14239 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
14240 * monitor.c (monitor_xfer_memory): Likewise.
14241 (monitor_xfer_partial): Likewise.
14242 * procfs.c (procfs_xfer_partial): Likewise.
14243 * record-full.c (record_full_xfer_partial): Likewise.
14244 (record_full_core_xfer_partial): Likewise.
14245 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
14246 instead of plongest.
14247 (gdbsim_xfer_partial): Likewise.
14248 * remote.c (remote_xfer_partial): Likewise.
14249 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
14250 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
14251 declaration.
14252 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
14253 (rs6000_xfer_shared_libraries): Likewise.
14254 * sol-thread.c (sol_thread_xfer_partial): Likewise.
14255 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
14256 (sparc_xfer_partial): Likewise.
14257 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
14258 (spu_xfer_partial): Likewise.
14259 * spu-multiarch.c (spu_xfer_partial): Likewise.
14260 * target.c (target_read_live_memory): Likewise.
14261 (memory_xfer_live_readonly_partial): Likewise.
14262 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
14263 (target_xfer_partial, default_xfer_partial): Likewise.
14264 (current_xfer_partial): Likewise.
14265 * tracepoint.c (tfile_xfer_partial): Likewise.
14266 * windows-nat.c (windows_xfer_memory): Likewise. Call
14267 pulongest instead of plongest.
14268 (windows_xfer_partial): Likewise.
14269 (windows_xfer_shared_libraries): Likewise.
14270
05804640
YQ
142712014-01-14 Yao Qi <yao@codesourcery.com>
14272
14273 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
14274 target_xfer_partial_ftype.
14275
b5b08fb4
SC
142762014-01-13 Siva Chandra Reddy <sivachandra@google.com>
14277
14278 PR python/15464
14279 PR python/16113
14280 * valops.c (value_struct_elt_bitpos): New function
14281 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
14282 object to 'None' if the field name is an empty string ("").
14283 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
14284 attribute to look for a field when 'name' is 'None'.
14285 (get_field_type): New function
14286
13aaf454
DE
142872014-01-13 Doug Evans <dje@google.com>
14288
14289 PR symtab/16426
14290 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
14291 (try_open_dwop_file): Ditto.
14292 * gdb_bfd.c: #include "vec.h".
14293 (bfdp): New typedef.
14294 (struct gdb_bfd_data): New member included_bfds.
14295 (gdb_bfd_unref): Unref all included bfds.
14296 (gdb_bfd_record_inclusion): New function.
14297 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
14298
c2cec97c
TT
142992014-01-13 Tom Tromey <tromey@redhat.com>
14300
14301 * gdbcore.h (deprecated_core_resize_section_table): Remove.
14302
78e5999d
TT
143032014-01-13 Tom Tromey <tromey@redhat.com>
14304
14305 * defs.h (use_windows): Remove.
14306 * gdb.c (main): Update.
14307 * main.c (captured_main, gdb_main): Update.
14308 * main.h (struct captured_main_args) <use_windows>: Remove.
14309 * top.c (use_windows): Remove.
14310
f2052bbe
TT
143112014-01-13 Tom Tromey <tromey@redhat.com>
14312
14313 * defs.h (deprecated_flush_hook): Remove.
14314
fde4f8ed
JK
143152014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14316
14317 PR threads/16216
14318 * linux-thread-db.c (try_thread_db_load): Add parameter
14319 check_auto_load_safe. Move here the file_is_auto_load_safe call.
14320 (try_thread_db_load_from_pdir_1): Move it there from here.
14321 (try_thread_db_load_from_sdir): Update caller.
14322 (try_thread_db_load_from_dir): Move it there from here.
14323
bdf61915
PP
143242014-01-13 Patrick Palka <patrick@parcs.ath.cx>
14325
14326 * regformats/regdat.sh: Always rewrite the register file.
14327
f71e1a8d
PA
143282014-01-13 Pedro Alves <palves@redhat.com>
14329
14330 * Makefile.in (CHECK_HEADERS): New variable.
14331 (check-headers:): New rule.
14332
42c85435
TT
143332014-01-13 Tom Tromey <tromey@redhat.com>
14334
14335 * cli/cli-setshow.c (do_set_command): Update.
14336 * defs.h (deprecated_set_hook): Remove.
14337 * top.c (deprecated_set_hook): Remove.
14338
f8de5129
PA
143392014-01-13 Pedro Alves <palves@redhat.com>
14340
14341 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
14342 the tracepoint if the PC is a pseudo-register.
14343
fc270c35
TT
143442014-01-13 Tom Tromey <tromey@redhat.com>
14345
14346 * defs.h (XCALLOC): Remove.
14347 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
14348 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
14349 * dwarf2loc.c (allocate_piece_closure): Likewise.
14350 * elfread.c (elf_symfile_segments): Likewise.
14351 (elf_symfile_segments): Likewise.
14352 * gdbtypes.c (copy_type_recursive): Likewise.
14353 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
14354 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
14355 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
14356 XCALLOC.
14357 * mt-tdep.c (mt_gdbarch_init): Likewise.
14358 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
14359 XCALLOC.
14360 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
14361 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
14362 * registry.c (registry_alloc_data): Likewise.
14363 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
14364 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
14365 * serial.c (serial_fdopen_ops): Likewise.
14366 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
14367 XCALLOC.
14368 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
14369 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
14370 not XCALLOC.
14371
70ba0933
TT
143722014-01-13 Tom Tromey <tromey@redhat.com>
14373
14374 * defs.h (XMALLOC): Remove.
14375 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
14376 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
14377 * cli-out.c (struct ui_out *): Likewise.
14378 * cli/cli-dump.c (add_dump_command): Likewise.
14379 (add_dump_command): Likewise.
14380 * complaints.c (get_complaints): Likewise.
14381 (find_complaint): Likewise.
14382 * dwarf2-frame.c (execute_cfa_program): Likewise.
14383 * dwarf2read.c (abbrev_table_read_table): Likewise.
14384 * gdbarch.sh: Likewise.
14385 * gdbarch.c: Rebuild.
14386 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
14387 * interps.c (interp_new): Likewise.
14388 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
14389 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
14390 * mi/mi-console.c (mi_console_file_new): Likewise.
14391 * mi/mi-interp.c (mi_interpreter_init): Likewise.
14392 * mi/mi-out.c (mi_out_new): Likewise.
14393 * mi/mi-parse.c (mi_parse): Likewise.
14394 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
14395 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
14396 * observer.c (xalloc_observer_list_node): Likewise.
14397 * regcache.c (regcache_xmalloc_1): Likewise.
14398 * reggroups.c (reggroup_new): Likewise.
14399 (_initialize_reggroup): Likewise.
14400 * registry.c (register_data_with_cleanup): Likewise.
14401 * remote.c (remote_notif_stop_alloc_reply): Likewise.
14402 * ser-base.c (serial_ttystate): Likewise.
14403 * ser-mingw.c (make_pipe_state): Likewise.
14404 * ser-pipe.c (pipe_open): Likewise.
14405 * serial.c (serial_open): Likewise.
14406 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
14407 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
14408 (tui_alloc_win_info): Likewise.
14409 (tui_add_content_elements): Likewise.
14410 * tui/tui-file.c (tui_file_new): Likewise.
14411 * tui/tui-out.c (tui_out_new): Likewise.
14412 * ui-file.c (mem_file_new): Likewise.
14413 * ui-out.c (push_level): Likewise.
14414 (make_cleanup_ui_out_end): Likewise.
14415 (append_header_to_list): Likewise.
14416 (ui_out_new): Likewise.
14417 * user-regs.c (user_reg_add_builtin): Likewise.
14418
41bf6aca
TT
144192014-01-13 Tom Tromey <tromey@redhat.com>
14420
14421 * defs.h (XZALLOC): Remove.
14422 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
14423 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
14424 (get_ada_tasks_inferior_data): Likewise.
14425 * auto-load.c (get_auto_load_pspace_data): Likewise.
14426 * auxv.c (get_auxv_inferior_data): Likewise.
14427 * bfd-target.c (target_bfd_reopen): Likewise.
14428 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
14429 (deprecated_insert_raw_breakpoint): Likewise.
14430 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
14431 * corelow.c (core_open): Likewise.
14432 * darwin-nat.c (darwin_check_new_threads): Likewise.
14433 (darwin_attach_pid): Likewise.
14434 * dummy-frame.c (dummy_frame_push): Likewise.
14435 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
14436 * dwarf2loc.c (allocate_piece_closure): Likewise.
14437 * elfread.c (elf_symfile_segments): Likewise.
14438 * eval.c (ptrmath_type_p): Likewise.
14439 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
14440 * gdbtypes.c (alloc_type_arch): Likewise.
14441 (alloc_type_instance): Likewise.
14442 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
14443 * inf-child.c (inf_child_can_use_agent): Likewise.
14444 * inflow.c (get_inflow_inferior_data): Likewise.
14445 * infrun.c (save_infcall_suspend_state): Likewise.
14446 * jit.c (jit_reader_load): Likewise.
14447 (get_jit_objfile_data): Likewise.
14448 (get_jit_program_space_data): Likewise.
14449 (jit_object_open_impl): Likewise.
14450 (jit_symtab_open_impl): Likewise.
14451 (jit_block_open_impl): Likewise.
14452 (jit_frame_sniffer): Likewise.
14453 * linux-fork.c (add_fork): Likewise.
14454 * maint.c (make_command_stats_cleanup): Likewise.
14455 * objfiles.c (get_objfile_pspace_data): Likewise.
14456 * opencl-lang.c (struct lval_closure): Likewise.
14457 * osdata.c (osdata_start_osdata): Likewise.
14458 * progspace.c (new_address_space): Likewise.
14459 (add_program_space): Likewise.
14460 * remote-sim.c (get_sim_inferior_data): Likewise.
14461 * sh-tdep.c (sh_gdbarch_init): Likewise.
14462 * skip.c (Ignore): Likewise.
14463 (skip_delete_command): Likewise.
14464 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
14465 (library_list_start_library): Likewise.
14466 (solib_aix_current_sos): Likewise.
14467 * solib-darwin.c (get_darwin_info): Likewise.
14468 (darwin_current_sos): Likewise.
14469 * solib-dsbt.c (get_dsbt_info): Likewise.
14470 * solib-ia64-hpux.c (new_so_list): Likewise.
14471 (ia64_hpux_get_solib_linkage_addr): Likewise.
14472 * solib-spu.c (append_ocl_sos): Likewise.
14473 (spu_current_sos): Likewise.
14474 * solib-svr4.c (get_svr4_info): Likewise.
14475 (svr4_keep_data_in_core): Likewise.
14476 (library_list_start_library): Likewise.
14477 (svr4_default_sos): Likewise.
14478 (svr4_read_so_list): Likewise.
14479 * solib-target.c (library_list_start_library): Likewise.
14480 (solib_target_current_sos): Likewise.
14481 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
14482 * symfile-debug.c (install_symfile_debug_logging): Likewise.
14483 * symfile.c (default_symfile_segments): Likewise.
14484 * target-descriptions.c (tdesc_data_init): Likewise.
14485 (tdesc_create_reg): Likewise.
14486 (struct tdesc_type *): Likewise.
14487 (tdesc_create_vector): Likewise.
14488 (tdesc_set_struct_size): Likewise.
14489 (struct tdesc_type *): Likewise.
14490 (tdesc_free_feature): Likewise.
14491 (tdesc_create_feature): Likewise.
14492 * windows-nat.c (windows_add_thread): Likewise.
14493 (windows_make_so): Likewise.
14494 * xml-support.c (gdb_xml_body_text): Likewise.
14495 (gdb_xml_create_parser_and_cleanup): Likewise.
14496 (xml_process_xincludes): Likewise.
14497 * xml-syscall.c (allocate_syscalls_info): Likewise.
14498 (syscall_create_syscall_desc): Likewise.
14499
5acfdbae
SDJ
145002014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
14501
14502 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
14503 function, with code from i386_stap_parse_special_token.
14504 (i386_stap_parse_special_token_three_arg_disp): Likewise.
14505 (i386_stap_parse_special_token): Move code to the two functions
14506 above; simplify it.
14507
0000e5cc
PA
145082014-01-09 Pedro Alves <palves@redhat.com>
14509 Hui Zhu <hui@codesourcery.com>
14510
14511 PR gdb/16101
14512 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
14513 bp_err_string. Don't mark the location shlib_disabled if the
14514 error thrown wasn't a generic or memory error. Catch errors
14515 thrown while inserting breakpoints in overlayed code. Output
14516 error message of software breakpoints.
14517 * remote.c (remote_insert_breakpoint): If this breakpoint has
14518 target-side commands but this stub doesn't support Z0 packets,
14519 throw NOT_SUPPORTED_ERROR error.
14520 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
14521 * target.h (target_insert_breakpoint): Extend comment.
14522 (target_insert_hw_breakpoint): Add comment.
14523
b7ea362b
PA
145242014-01-08 Pedro Alves <palves@redhat.com>
14525
14526 * remote.c (remote_add_thread): Add threads silently if starting
14527 up.
14528 (remote_notice_new_inferior): If in all-stop, and starting up,
14529 don't call notice_new_inferior.
14530 (get_current_thread): New function, factored out from ...
14531 (add_current_inferior_and_thread): ... this. Adjust.
14532 (remote_start_remote) <all-stop>: Fetch the thread list. If we
14533 found any thread, then select the remote's current thread as GDB's
14534 current thread too.
14535
b7bba001
JB
145362014-01-08 Joel Brobecker <brobecker@adacore.com>
14537
14538 * NEWS: Create a new section for the next release branch.
14539 Rename the section of the current branch, now that it has
14540 been cut.
14541
16dfbded
JB
145422014-01-08 Joel Brobecker <brobecker@adacore.com>
14543
14544 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
14545 * version.in: Bump version to 7.7.50.DATE-cvs.
14546
22c90ac1
YQ
145472014-01-08 Yao Qi <yao@codesourcery.com>
14548
14549 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
14550 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
14551 (spu_xfer_partial): Cast 'buf' to 'const char *'.
14552
d64ad97c
YQ
145532014-01-08 Yao Qi <yao@codesourcery.com>
14554
14555 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
14556 return value of bfd_get_filename to symbol_file_add_from_bfd.
14557
f93ba80c
PM
145582014-01-08 Pierre Muller <muller@sourceware.org>
14559
14560 Fix PR16201.
14561 * coff-pe-read.c (struct read_pe_section_data): Add index field.
14562 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
14563 to prim_record_mininal_symbol_and_info.
14564 (add_pe_forwarded_sym): Use known section number of forwarded symbol
14565 in call to prim_record_minimal_symbol_and_info.
14566 (read_pe_exported_syms): Set index field of section_data.
14567
a4d9ba85
AP
145682014-01-07 Andrew Pinski <apinski@cavium.com>
14569
14570 * features/aarch64-core.xml (cpsr): Change to be 64bit.
14571 * features/aarch64.c: Regenerate.
14572
1b67eb02
AS
145732014-01-07 Andreas Schwab <schwab@linux-m68k.org>
14574
14575 * target.c (return_null): Define.
14576 (update_current_target): Use it instead of return_zero for
14577 functions that return a pointer.
14578
5e3f4fab
EBM
145792014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
14580
14581 * source.c (add_path): Fix check for duplicated paths in the previously
14582 included paths.
14583
e2616788
HK
145842014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
14585
14586 * ada-lang.c: Remove duplicated include statements.
14587 * alphabsd-nat.c: Ditto.
14588 * amd64-darwin-tdep.c: Ditto.
14589 * amd64fbsd-nat.c: Ditto.
14590 * auto-load.c: Ditto.
14591 * ax-gdb.c: Ditto.
14592 * breakpoint.c: Ditto.
14593 * dbxread.c: Ditto.
14594 * fork-child.c: Ditto.
14595 * gdb_usleep.c: Ditto.
14596 * i386-darwin-tdep.c: Ditto.
14597 * i386fbsd-nat.c: Ditto.
14598 * infcmd.c: Ditto.
14599 * inferior.c: Ditto.
14600 * jv-lang.c: Ditto.
14601 * linux-nat.c: Ditto.
14602 * linux-tdep.c: Ditto.
14603 * m68kbsd-nat.c: Ditto.
14604 * m68klinux-nat.c: Ditto.
14605 * microblaze-tdep.c: Ditto.
14606 * mips-linux-tdep.c: Ditto.
14607 * mn10300-tdep.c: Ditto.
14608 * nto-tdep.c: Ditto.
14609 * opencl-lang.c: Ditto.
14610 * osdata.c: Ditto.
14611 * printcmd.c: Ditto.
14612 * regcache.c: Ditto.
14613 * remote-m32r-sdi.c: Ditto.
14614 * remote.c: Ditto.
14615 * symfile.c: Ditto.
14616 * symtab.c: Ditto.
14617 * tilegx-linux-nat.c: Ditto.
14618 * tilegx-tdep.c: Ditto.
14619 * tracepoint.c: Ditto.
14620 * valops.c: Ditto.
14621 * vaxbsd-nat.c: Ditto.
14622 * windows-nat.c: Ditto.
14623 * xtensa-tdep.c: Ditto.
14624
bd1f7788
YQ
146252014-01-07 Yao Qi <yao@codesourcery.com>
14626
14627 * spu-linux-nat.c (_initialize_spu_nat): Declare.
14628
79301218
JB
146292014-01-07 Yao Qi <yao@codesourcery.com>
14630 Joel Brobecker <brobecker@adacore.com>
14631
14632 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
14633 (pdc_write_regs): Likewise.
14634 (fetch_regs_kernel_thread): Likewise.
14635 (store_regs_kernel_thread): Likewise.
14636
146372014-01-07 Joel Brobecker <brobecker@adacore.com>
14638
14639 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
14640 tagged type objects to their actual type.
14641
8e355c5d
JB
146422014-01-07 Joel Brobecker <brobecker@adacore.com>
14643
14644 * ada-valprint.c (print_field_values): Add "language" parameter.
14645 Update calls to print_field_values and print_variant_part.
14646 Pass new parameter "language" in call to val_print instead
14647 of "current_language". Replace call to ada_val_print by call
14648 to val_print.
14649 (print_variant_part): Add "language" parameter.
14650 (ada_val_print_struct_union): Update call to print_field_values.
14651
4fbf5aa5
JB
146522014-01-07 Joel Brobecker <brobecker@adacore.com>
14653
14654 * ada-valprint.c (ui_memcpy): Delete.
14655 (ada_print_floating): Update documentation. Add empty line
14656 between between function documentation and implementation.
14657 Delete variable "buffer". Use ui_file_xstrdup in place of
14658 ui_file_put. Minor adjustments following this change.
14659
71855601
JB
146602014-01-07 Joel Brobecker <brobecker@adacore.com>
14661
14662 * ada-valprint.c (ada_val_print_string): New function,
14663 extracted from ada_val_print_array.
14664 (ada_val_print_array): Replace extracted code by call
14665 to ada_val_print_string followed by a return. Move
14666 "else" branch to the function's top block.
14667
4eb27a30
JB
146682014-01-07 Joel Brobecker <brobecker@adacore.com>
14669
14670 * ada-valprint.c (ada_val_print_array): Move implementation
14671 down. Rename parameter "offset" and "val" into "offset_aligned"
14672 and "original_value" respectively. Add parameter "offset".
14673
34b27950
JB
146742014-01-07 Joel Brobecker <brobecker@adacore.com>
14675
14676 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
14677 re-organizing the code. Change the "???" message printed
14678 when target type is a TYPE_CODE_UNDEF into
14679 "<ref to undefined type>".
14680
079e4591
JB
146812014-01-07 Joel Brobecker <brobecker@adacore.com>
14682
14683 * ada-valprint.c (print_record): Delete, implementation inlined...
14684 (ada_val_print_struct_union): ... here. Remove call to
14685 ada_check_typedef in inlined implementation.
14686
8004dfd1
JB
146872014-01-07 Joel Brobecker <brobecker@adacore.com>
14688
14689 * ada-valprint.c (ada_val_print_gnat_array): New function,
14690 extracted from ada_val_print_1;
14691 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
14692 (ada_val_print_flt, ada_val_print_struct_union)
14693 (ada_val_print_ref): Likewise.
14694 (ada_val_print_1): Delete variables i and elttype.
14695 Replace extracted-out code by call to corresponding
14696 new functions.
14697
760a2db0
JB
146982014-01-07 Joel Brobecker <brobecker@adacore.com>
14699
14700 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
14701
3a92c861
JB
147022014-01-07 Joel Brobecker <brobecker@adacore.com>
14703
14704 * ada-valprint.c (ada_val_print_1): Replace calls to
14705 ada_val_print_1 by calls to val_print.
14706
cd1630f9
JB
147072014-01-07 Joel Brobecker <brobecker@adacore.com>
14708
14709 * ada-valprint.c (ada_val_print_1): Add parameter "language".
14710 Update calls to self accordingly. Replace calls to c_val_print
14711 by calls to val_print.
14712
bdf779a0
JB
147132014-01-07 Joel Brobecker <brobecker@adacore.com>
14714
14715 * ada-valprint.c (print_record): Delete declaration.
14716 (adjust_type_signedness, ada_val_print_1): Likewise.
14717 (ada_val_print): Move function implementation down.
14718 (print_variant_part, print_field_values, print_record):
14719 Move function implementation up.
14720
c0d48811
JB
147212014-01-07 Joel Brobecker <brobecker@adacore.com>
14722
14723 * python/py-type.c (typy_get_name): New function.
14724 (type_object_getset): Add entry for attribute "name".
14725 * NEWS: Add entry mentioning this new attribute.
14726
c26e9cbb
YQ
147272014-01-07 Yao Qi <yao@codesourcery.com>
14728
14729 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
14730 statement.
14731
0cc6f43d
YQ
147322014-01-07 Yao Qi <yao@codesourcery.com>
14733
14734 * gnu-nat.c (info_port_rights): Add qualifier const to
14735 argument args.
14736
eec03155
YQ
147372014-01-07 Yao Qi <yao@codesourcery.com>
14738
14739 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
14740
f04a82ef
YQ
147412014-01-07 Yao Qi <yao@codesourcery.com>
14742
14743 * gnu-nat.c (make_inf) Update declaration.
14744 (make_inf): Make it static.
14745 (inf_set_traced): Likewise.
14746 (inf_port_to_thread, inf_task_died_status): Likewise.
14747
d57dda0a
YQ
147482014-01-07 Yao Qi <yao@codesourcery.com>
14749
14750 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
14751
3aa8c969
YQ
147522014-01-07 Yao Qi <yao@codesourcery.com>
14753
14754 * gnu-nat.c (_initialize_gnu_nat): Declare.
14755
94123b4f
YQ
147562014-01-07 Yao Qi <yao@codesourcery.com>
14757
14758 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
14759 'enum bfd_endian'.
14760 (struct gdbarch_info) <byte_order>: Change type to
14761 'enum bfd_endian'.
14762 <byte_order_for_code>: Likewise.
14763 * gdbarch.c, gdbarch.h: Regenerated.
14764
dc81d70a
TT
147652014-01-06 Sasha Smundak <asmundak@google.com>
14766
14767 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
14768
cc2f3c35
TT
147692014-01-06 Tom Tromey <tromey@redhat.com>
14770
14771 * doublest.c (convert_doublest_to_floatformat): Use const, not
14772 CONST.
14773 * somread.c (som_symtab_read): Likewise.
14774
adcf2eed
HZ
147752014-01-07 Hui Zhu <hui@codesourcery.com>
14776
14777 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
14778 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
14779 (gdb_bfd_fopen): Ditto.
14780 (gdb_bfd_openr): Ditto.
14781 (gdb_bfd_openw): Ditto.
14782 (gdb_bfd_openr_iovec): Ditto.
14783 (gdb_bfd_fdopenr): Ditto.
14784 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
14785 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
14786 with xstrdup.
14787 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
14788 with xstrdup.
14789 * symfile-mem.c (symbol_file_add_from_memory): Removed
14790 gdb_bfd_stash_filename.
14791
50722198
DE
147922014-01-03 Doug Evans <dje@google.com>
14793
14794 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
14795 output.
14796
2fa4b862
JB
147972014-01-01 Joel Brobecker <brobecker@adacore.com>
14798
14799 Update year range in copyright notice of all files.
14800
28498c42
JB
148012014-01-01 Joel Brobecker <brobecker@adacore.com>
14802
14803 * top.c (print_gdb_version): Set copyright year to 2014.
14804
7b6e1046
JB
148052014-01-01 Joel Brobecker <brobecker@adacore.com>
14806
14807 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
14808
df96af55 14809For older changes see ChangeLog-2013.
c906108c
SS
14810\f
14811Local Variables:
14812mode: change-log
14813left-margin: 8
14814fill-column: 74
14815version-control: never
57da7796 14816coding: utf-8
c906108c 14817End:
This page took 2.209723 seconds and 4 git commands to generate.