Remove remnant of Chill support.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
47c6ee49
DE
12014-12-02 Doug Evans <dje@google.com>
2
3 * valops.c (do_search_struct_field): Remove remnant of Chill support.
4 Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e
5
5da3ffc9
SM
62014-12-02 Simon Marchi <simon.marchi@ericsson.com>
7
8 * common/cleanups.c (make_cleanup_dtor): Fix comment typo.
9
162078c8
NB
102014-12-02 Nick Bull <nicholaspbull@gmail.com>
11
12 * NEWS: Mention new Python events.
13 * Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o.
14 (SUBDIR_PYTHON_SRCS): Add py-infevents.c.
15 (py-infevents.o): New rule.
16 * doc/observer.texi (inferior_call_pre, inferior_call_post)
17 (memory_changed, register_changed): New observers.
18 * infcall.c (call_function_by_hand): Notify observer before and
19 after inferior call.
20 * python/py-event.h (inferior_call_kind): New enum.
21 (emit_inferior_call_event): New prototype.
22 (emit_register_changed_event): New prototype.
23 (emit_memory_changed_event): New prototype.
24 * python/py-events.h (events_object): New registries
25 inferior_call, memory_changed and register_changed.
26 * python/py-evts.c (gdbpy_initialize_py_events): Add the
27 inferior_call, memory_changed and register_changed registries.
28 * python/py-infevents.c: New.
29 * python/py-inferior.c (python_on_inferior_call_pre)
30 (python_on_inferior_call_post, python_on_register_change)
31 (python_on_memory_change): New functions.
32 (gdbpy_initialize_inferior): Attach python handler to new
33 observers.
34 * python/py-infthread.c(gdbpy_create_ptid_object): New.
35 (thpy_get_ptid) Use gdbpy_create_ptid_object.
36 * python/python-internal.h:
37 (gdbpy_create_ptid_object)
38 (gdbpy_initialize_inferior_call_pre_event)
39 (gdbpy_initialize_inferior_call_post_event)
40 (gdbpy_initialize_register_changed_event)
41 (gdbpy_initialize_memory_changed_event): New prototypes.
42 * python/python.c (_initialize_python): Initialize new events.
43 * valops.c (value_assign): Notify register_changed observer.
44
007baf27
DE
452014-12-02 Doug Evans <dje@google.com>
46
47 * python/py-infthread.c: Whitespace fixes.
48
d5552aab
AA
492014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
50
51 * features/Makefile (s390-te-linux64-expedite): Replace
52 non-existant r14 and r15 by r14l and r15l, respectively.
53 * regformats/s390-te-linux64.dat: Regenerate.
54
30b5e341
SM
552014-12-01 Simon Marchi <simon.marchi@ericsson.com>
56
57 * objfiles.c (allocate_objfile): Remove duplicate comment.
58
ac3d87c0
UW
592014-12-01 Ulrich Weigand  <uweigand@de.ibm.com>
60
61 * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o.
62 * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h".
63 (CREG_OFFSET, creg_offset, CREG_ADDR): Remove.
64 (supply_gregset, supply_fpregset): Remove.
65 * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable.
66 (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs,
67 and sizeof_gregset.
68
f10c5b19
JK
692014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
70
71 Add add-auto-load-scripts-directory.
72 * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory.
73 * auto-load.c (add_auto_load_dir): New function.
74 (_initialize_auto_load): Install it.
75
f0d4ba1f
MG
762014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious)
77
78 Pushed by Joel Brobecker <brobecker@adacore.com>.
79 * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID.
80
18ac6ffc
SC
812014-11-29 Siva Chandra Reddy <sivachandra@google.com>
82
83 * eval.c (evaluate_subexp): Check that the thread stack temporaries
84 are not already enabled before enabling them.
85
4072f920
YQ
862014-11-29 Yao Qi <yao@codesourcery.com>
87
88 * arm-tdep.c (arm_analyze_prologue): Move local variables
89 'framereg' and 'framesize' to inner block. Move code to
90 inner block too.
91
6c659fc2
SC
922014-11-28 Siva Chandra Reddy <sivachandra@google.com>
93
94 * eval.c: Include gdbthread.h.
95 (evaluate_subexp): Enable thread stack temporaries before
96 evaluating a complete expression and clean them up after the
97 evaluation is complete.
98 * gdbthread.h: Include common/vec.h.
99 (value_ptr): New typedef.
100 (VEC (value_ptr)): New vector type.
101 (value_vec): New typedef.
102 (struct thread_info): Add new fields stack_temporaries_enabled
103 and stack_temporaries.
104 (enable_thread_stack_temporaries)
105 (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
106 (get_last_thread_stack_temporary)
107 (value_in_thread_stack_temporaries): Declare.
108 * gdbtypes.c (class_or_union_p): New function.
109 * gdbtypes.h (class_or_union_p): Declare.
110 * infcall.c (call_function_by_hand): Store return values of class
111 type as temporaries on stack.
112 * thread.c (enable_thread_stack_temporaries): New function.
113 (thread_stack_temporaries_enabled_p, push_thread_stack_temporary)
114 (get_last_thread_stack_temporary): Likewise.
115 (value_in_thread_stack_temporaries): Likewise.
116 * value.c (value_force_lval): New function.
117 * value.h (value_force_lval): Declare.
118
f7ca3fcf
PM
1192014-11-28 Pierre Muller <muller@sourceware.org>
120
121 Pushed by Joel Brobecker <brobecker@adacore.com>.
122 * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX
123 registers.
124
b2859a9a
UW
1252014-11-28 Ulrich Weigand  <uweigand@de.ibm.com>
126
127 * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o.
128 * config/sparc/linux.mh (NATDEPFILES): Likewise.
129 * config/sparc/linux64.mh (NATDEPFILES): Likewise.
130 * m68klinux-nat.c (fetch_core_registers): Remove.
131 (linux_elf_core_fns): Remove.
132 (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns.
133
0fa9473f
JB
1342014-11-28 Joel Brobecker <brobecker@adacore.com>
135
136 * utils.c (gdb_realpath): Rework comment about handling on
137 Windows.
138
6a29c58e
YQ
1392014-11-28 Yao Qi <yao@codesourcery.com>
140
141 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
142 rename.
143 * gnulib/aclocal.m4: Re-generated.
144 * gnulib/config.in: Re-generated.
145 * gnulib/configure: Re-generated.
146 * gnulib/import/Makefile.am: Re-generated.
147 * gnulib/import/Makefile.in: Re-generated.
148 * gnulib/import/m4/gnulib-cache.m4: Re-generated.
149 * gnulib/import/m4/gnulib-comp.m4: Re-generated.
150 * import/basename-lgpl.c: New file.
151 * import/dirname-lgpl.c: New file.
152 * import/dirname.h: New file.
153 * import/m4/dirname.m4: New file.
154 * import/m4/malloc.m4: New file.
155 * import/m4/rename.m4: New file.
156 * import/m4/rmdir.m4: New file.
157 * import/m4/stdio_h.m4: New file.
158 * import/malloc.c: New file.
159 * import/rename.c: New file.
160 * import/rmdir.c: New file.
161 * import/same-inode.h: New file.
162 * import/stdio.c: New file.
163 * import/stdio.in.h: New file.
164 * import/stripslash.c: New file.
165
abbffc89
YQ
1662014-11-28 Yao Qi <yao@codesourcery.com>
167
168 * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name
169 and realpath.
170 * config.in: Re-generated.
171 * configure: Re-generated.
172 * utils.c (gdb_realpath): Remove code calling realpath,
173 canonicalize_file_name and pathconf.
174 [!_WIN32]: Call canonicalize_file_name.
175
98399780
YQ
1762014-11-28 Yao Qi <yao@codesourcery.com>
177
178 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
179 canonicalize-lgpl.
180 * aclocal.m4: Re-generated.
181 * config.in: Re-generated.
182 * configure: Re-generated.
183 * import/Makefile.am: Re-generated.
184 * import/Makefile.in: Re-generated.
185 * import/m4/gnulib-cache.m4: Re-generated.
186 * import/m4/gnulib-comp.m4: Re-generated.
187 * import/canonicalize-lgpl.c: New file.
188 * import/extra/snippet/_Noreturn.h: New file.
189 * import/m4/canonicalize.m4: New file.
190 * import/m4/double-slash-root.m4: New file.
191 * import/m4/eealloc.m4: New file.
192 * import/m4/malloca.m4: New file.
193 * import/m4/nocrash.m4: New file.
194 * import/m4/stdlib_h.m4: New file.
195 * import/malloca.c: New file.
196 * import/malloca.h: New file.
197 * import/malloca.valgrind: New file.
198
3332aaf2
YQ
1992014-11-28 Yao Qi <yao@codesourcery.com>
200
201 * configure.ac (AC_CHECK_FUNCS): Remove lstat.
202 * config.in, configure: Regenerate.
203 * symfile.c (find_separate_debug_file_by_debuglink): Remove
204 code checking HAVE_LSTAT is defined.
205
f45c62c4
YQ
2062014-11-28 Yao Qi <yao@codesourcery.com>
207
208 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
209 lstat.
210 * gnulib/aclocal.m4: Re-generated.
211 * gnulib/config.in: Re-generated.
212 * gnulib/configure: Re-generated.
213 * gnulib/import/Makefile.am: Re-generated.
214 * gnulib/import/Makefile.in: Re-generated.
215 * gnulib/import/m4/gnulib-cache.m4: Re-generated.
216 * gnulib/import/m4/gnulib-comp.m4: Re-generated.
217 * gnulib/import/lstat.c: New file.
218 * gnulib/import/m4/lstat.m4: New file.
219
bdca27a2
YQ
2202014-11-28 Yao Qi <yao@codesourcery.com>
221
222 * configure.ac (AC_CHECK_FUNCS): Remove readlink.
223 * config.in, configure: Re-generate.
224 * inf-child.c (inf_child_fileio_readlink): Don't check
225 HAVE_READLINK is defined.
226
2196f55f
YQ
2272014-11-28 Yao Qi <yao@codesourcery.com>
228
229 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink.
230 * gnulib/aclocal.m4: Re-generated.
231 * gnulib/config.in: Likewise.
232 * gnulib/configure: Likewise.
233 * gnulib/import/Makefile.am: Likewise.
234 * gnulib/import/Makefile.in: Likewise.
235 * gnulib/import/m4/gnulib-cache.m4: Likewise.
236 * gnulib/import/m4/gnulib-comp.m4: Likewise.
237 * gnulib/import/dosname.h: New file
238 * gnulib/import/m4/largefile.m4: New file.
239 * gnulib/import/m4/readlink.m4: New file.
240 * gnulib/import/m4/stat.m4: New file.
241 * gnulib/import/readlink.c: New file.
242 * gnulib/import/stat.c: New file.
243
7014e923 2442014-11-26 Mark Wielaard <mjw@redhat.com>
0cfd832f
MW
245
246 * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11,
247 DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14.
248
aa489395
SL
2492014-11-25 Sandra Loosemore <sandra@codesourcery.com>
250
251 * nios2-tdep.c (nios2_analyze_prologue): Replace restriction
252 that there can be only one stack adjustment in the prologue
253 with tests to detect specific disallowed stack adjustments.
254
7f1659b5
SL
2552014-11-25 Sandra Loosemore <sandra@codesourcery.com>
256
257 * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack
258 adjustments.
259
d53c26c7
SL
2602014-11-25 Sandra Loosemore <sandra@codesourcery.com>
261
262 * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble
263 the instruction as well as reading it from memory.
264 (nios2_match_add): New.
265 (nios2_match_sub): New.
266 (nios2_match_addi): New.
267 (nios2_match_orhi): New.
268 (nios2_match_stw): New.
269 (nios2_match_ldw): New.
270 (nios2_match_rdctl): New.
271 (enum branch_condition): New.
272 (nios2_match_branch): New.
273 (nios2_match_jmpi): New.
274 (nios2_match_calli): New.
275 (nios2_match_jmpr): New.
276 (nios2_match_callr): New.
277 (nios2_match_break): New.
278 (nios2_match_trap): New.
279 (nios2_in_epilogue_p): Rewrite to use new functions.
280 (nios2_analyze_prologue): Likewise.
281 (nios2_skip_prologue): Delete unused local limit_pc.
282 (nios2_breakpoint_from_pc): Make R1-specific encodings explicit.
283 (nios2_get_next_pc): Rewrite to use new functions.
284
cac9b138
JK
2852014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com>
286
287 * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code.
288
a441dfbc
ST
2892014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
290
291 Pushed by Joel Brobecker <brobecker@adacore.com>
292 * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of
293 elements pi_len by the size of the elements before calling
294 vm_deallocate.
295 (inf_validate_task_sc): Likewise, and properly deallocate the
296 noise array.
297
4c9e8482
DE
2982014-11-23 Doug Evans <xdje42@gmail.com>
299
300 * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg
301 number and name if present. All callers updated.
302 (dump_fn_fieldlists): Fix indentation of args.
303
15ee0bbd
PP
3042014-11-23 Patrick Palka <patrick@parcs.ath.cx>
305
306 * MAINTAINERS (Write After Approval): Add myself.
307
e8af5d7a
JB
3082014-11-23 Joel Brobecker <brobecker@adacore.com>
309
310 * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds
311 to a bp_call_dummy breakpoint type.
312
a344fc09
PP
3132014-11-23 Patrick Palka <patrick@parcs.ath.cx>
314
315 * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when
316 registering the signal handler.
317
d64e57fa
PP
3182014-11-23 Patrick Palka <patrick@parcs.ath.cx>
319
320 * event-top.h (call_stdin_event_handler_again_p): Declare.
321 * event-top.c (call_stdin_event_handler_again_p): Define.
322 (stdin_event_handler): Use it.
323 * tui/tui-io.c (tui_getc): Prepare to call the stdin event
324 handler again if there is pending input following a
325 start sequence.
326
6f9d33d8
PP
3272014-11-23 Patrick Palka <patrick@parcs.ath.cx>
328
329 Pushed by Joel Brobecker <brobecker@adacore.com>
330 * linux-fork.c (checkpoint_command): Print index of new
331 checkpoint in response message.
332
88db67ef
YQ
3332014-11-23 Yao Qi <yao@codesourcery.com>
334
335 * valprint.c (read_string): Move local variables 'found_nul',
336 'chunksize' and 'limit' to inner scope. Update comments.
337
01465b56
DE
3382014-11-22 Doug Evans <xdje42@gmail.com>
339
340 * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve
341 function comment.
342 (search_symbols): Fix comments and whitespace.
343
07a1c2c3
DE
3442014-11-22 Doug Evans <xdje42@gmail.com>
345
346 * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment.
347
b2a919a8
DE
3482014-11-21 Doug Evans <dje@google.com>
349
350 * psymtab.c (psymtab_search_name): Fix whitespace.
351
278289d5
YQ
3522014-11-21 Yao Qi <yao@codesourcery.com>
353
354 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
355 errno.
356 * gnulib/import/Makefile.am: Re-generated.
357 * gnulib/import/Makefile.in: Likewise.
358 * gnulib/import/m4/gnulib-cache.m4: Likewise.
359
e01e2baa
YQ
3602014-11-21 Yao Qi <yao@codesourcery.com>
361
362 * gdb_wchar.h: Include wchar.h and wctype.h.
363 [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't
364 include wchar.h and wctype.h.
365 Don't check HAVE_WCHAR_H.
366
f0c00af8
YQ
3672014-11-21 Yao Qi <yao@codesourcery.com>
368
369 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar
370 and wctype-h.
371 * gnulib/import/Makefile.am: Re-generated.
372 * gnulib/import/Makefile.in: Likewise.
373 * gnulib/import/m4/gnulib-cache.m4: Likewise.
374
0cae13bb
YQ
3752014-11-21 Yao Qi <yao@codesourcery.com>
376
377 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add
378 memchr.
379 * gnulib/import/Makefile.am: Re-generated.
380 * gnulib/import/Makefile.in: Likewise.
381 * gnulib/import/m4/gnulib-cache.m4: Likewise.
382
9c232dda
YQ
3832014-11-21 Yao Qi <yao@codesourcery.com>
384
385 * common/common-defs.h: Include alloca.h
386 * configure.ac: Don't invoke AC_FUNC_ALLOCA.
387 * configure: Re-generated.
388 * defs.h: Remove code handling alloca.
389 * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined
390 or not.
391
00d7f58f
YQ
3922014-11-21 Yao Qi <yao@codesourcery.com>
393
394 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add
395 alloca.
396 * gnulib/import/Makefile.am: Re-generated.
397 * gnulib/import/Makefile.in: Likewise..
398 * gnulib/import/m4/gnulib-cache.m4: Likewise.
399
6068ad5d
YQ
4002014-11-21 Yao Qi <yao@codesourcery.com>
401
402 * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in
403 alphabetical order.
404
45e44d27
JB
4052014-11-21 Joel Brobecker <brobecker@adacore.com>
406
407 * gdbtypes.c (create_range_type): Unset RESULT_TYPE's
408 flag_unsigned if HIGH_BOUND is constant and negative.
409
7e7cbeb3
SDJ
4102014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
411
412 PR breakpoints/10737
413 * xml-syscall.c (set_xml_syscall_file_name): Remove "const"
414 modifier from "struct gdbarch" when compiling without Expat (XML)
415 support.
416 (get_syscall_by_number): Likewise.
417 (get_syscall_by_name): Likewise.
418 (get_syscall_names): Likewise.
419
458c8db8
SDJ
4202014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
421
422 PR breakpoints/10737
423 * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to
424 set_xml_syscall_file_name to provide gdbarch.
425 * arm-linux-tdep.c (arm_linux_init_abi): Likewise.
426 * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise.
427 * breakpoint.c (print_it_catch_syscall): Adjust call to
428 get_syscall_by_number to provide gdbarch.
429 (print_one_catch_syscall): Likewise.
430 (print_mention_catch_syscall): Likewise.
431 (print_recreate_catch_syscall): Likewise.
432 (catch_syscall_split_args): Adjust calls to get_syscall_by_number
433 and get_syscall_by_name to provide gdbarch.
434 (catch_syscall_completer): Adjust call to get_syscall_names to
435 provide gdbarch.
436 * gdbarch.c: Regenerate.
437 * gdbarch.h: Likewise.
438 * gdbarch.sh: Forward declare "struct syscalls_info".
439 (xml_syscall_file): New variable.
440 (syscalls_info): Likewise.
441 * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to
442 set_xml_syscall_file_name to provide gdbarch.
443 * mips-linux-tdep.c (mips_linux_init_abi): Likewise.
444 * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise.
445 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
446 * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise.
447 * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise.
448 * xml-syscall.c: Include gdbarch.h.
449 (set_xml_syscall_file_name): Accept gdbarch parameter.
450 (get_syscall_by_number): Likewise.
451 (get_syscall_by_name): Likewise.
452 (get_syscall_names): Likewise.
453 (my_gdb_datadir): Delete global variable.
454 (struct syscalls_info) <my_gdb_datadir>: New variable.
455 (struct syscalls_info) <sysinfo>: Rename variable to
456 "syscalls_info".
457 (sysinfo): Delete global variable.
458 (have_initialized_sysinfo): Likewise.
459 (xml_syscall_file): Likewise.
460 (sysinfo_free_syscalls_desc): Rename to...
461 (syscalls_info_free_syscalls_desc): ... this.
462 (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust
463 code to the new layout of "struct syscalls_info".
464 (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to
465 "syscalls_info".
466 (syscall_create_syscall_desc): Likewise.
467 (syscall_start_syscall): Likewise.
468 (syscall_parse_xml): Likewise.
469 (xml_init_syscalls_info): Likewise. Drop "const" from return value.
470 (init_sysinfo): Rename to...
471 (init_syscalls_info): ...this. Add gdbarch as a parameter.
472 Adjust function to deal with gdbarch.
473 (xml_get_syscall_number): Delete parameter sysinfo. Accept
474 gdbarch as a parameter. Adjust code.
475 (xml_get_syscall_name): Likewise.
476 (xml_list_of_syscalls): Likewise.
477 (set_xml_syscall_file_name): Accept gdbarch as parameter.
478 (get_syscall_by_number): Likewise.
479 (get_syscall_by_name): Likewise.
480 (get_syscall_names): Likewise.
481 * xml-syscall.h (set_xml_syscall_file_name): Likewise.
482 (get_syscall_by_number): Likewise.
483 (get_syscall_by_name): Likewise.
484 (get_syscall_names): Likewise.
485
43f3e411
DE
4862014-11-20 Doug Evans <xdje42@gmail.com>
487
488 Split struct symtab into two: struct symtab and compunit_symtab.
489 * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit.
490 * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument
491 to "struct compunit_symtab *". All callers updated.
492 (set_block_compunit_symtab): Renamed from set_block_symtab. Change
493 "struct symtab *" argument to "struct compunit_symtab *".
494 All callers updated.
495 (get_block_compunit_symtab): Renamed from get_block_symtab. Change
496 result to "struct compunit_symtab *". All callers updated.
497 (find_iterator_compunit_symtab): Renamed from find_iterator_symtab.
498 Change result to "struct compunit_symtab *". All callers updated.
499 * block.h (struct global_block) <compunit_symtab>: Renamed from symtab.
500 hange type to "struct compunit_symtab *". All uses updated.
501 (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab".
502 Change type to "struct compunit_symtab *". All uses updated.
503 * buildsym.c (struct buildsym_compunit): New struct.
504 (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete.
505 (buildsym_compunit): New static global.
506 (finish_block_internal): Update to fetch objfile from
507 buildsym_compunit.
508 (make_blockvector): Delete objfile argument.
509 (start_subfile): Rewrite to use buildsym_compunit. Don't initialize
510 debugformat, producer.
511 (start_buildsym_compunit): New function.
512 (free_buildsym_compunit): Renamed from free_subfiles_list.
513 All callers updated.
514 (patch_subfile_names): Rewrite to use buildsym_compunit.
515 (get_compunit_symtab): New function.
516 (get_macro_table): Delete argument comp_dir. All callers updated.
517 (start_symtab): Change result to "struct compunit_symtab *".
518 All callers updated. Create the subfile of the main source file.
519 (watch_main_source_file_lossage): Rewrite to use buildsym_compunit.
520 (reset_symtab_globals): Update.
521 (end_symtab_get_static_block): Update to use buildsym_compunit.
522 (end_symtab_without_blockvector): Rewrite.
523 (end_symtab_with_blockvector): Change result to
524 "struct compunit_symtab *". All callers updated.
525 Update to use buildsym_compunit. Don't set symtab->dirname,
526 instead set it in the compunit.
527 Explicitly make sure main symtab is first in its list.
528 Set debugformat, producer, blockvector, block_line_section, and
529 macrotable in the compunit.
530 (end_symtab_from_static_block): Change result to
531 "struct compunit_symtab *". All callers updated.
532 (end_symtab, end_expandable_symtab): Ditto.
533 (set_missing_symtab): Change symtab argument to
534 "struct compunit_symtab *". All callers updated.
535 (augment_type_symtab): Ditto.
536 (record_debugformat): Update to use buildsym_compunit.
537 (record_producer): Update to use buildsym_compunit.
538 * buildsym.h (struct subfile) <dirname>: Delete.
539 <producer, debugformat>: Delete.
540 <buildsym_compunit>: New member.
541 (get_compunit_symtab): Declare.
542 * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed
543 from primary_symtab. Change type to "struct compunit_symtab *".
544 All uses updated.
545 (dwarf2_start_symtab): Change result to "struct compunit_symtab *".
546 All callers updated.
547 (dwarf_decode_macros): Delete comp_dir argument. All callers updated.
548 (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from
549 symtab. Change type to "struct compunit_symtab *". All uses updated.
550 (dw2_instantiate_symtab): Change result to "struct compunit_symtab *".
551 All callers updated.
552 (dw2_find_last_source_symtab): Ditto.
553 (dw2_lookup_symbol): Ditto.
554 (recursively_find_pc_sect_compunit_symtab): Renamed from
555 recursively_find_pc_sect_symtab. Change result to
556 "struct compunit_symtab *". All callers updated.
557 (dw2_find_pc_sect_compunit_symtab): Renamed from
558 dw2_find_pc_sect_symtab. Change result to
559 "struct compunit_symtab *". All callers updated.
560 (get_compunit_symtab): Renamed from get_symtab. Change result to
561 "struct compunit_symtab *". All callers updated.
562 (recursively_compute_inclusions): Change type of immediate_parent
563 argument to "struct compunit_symtab *". All callers updated.
564 (compute_compunit_symtab_includes): Renamed from
565 compute_symtab_includes. All callers updated. Rewrite to compute
566 includes of compunit_symtabs and not symtabs.
567 (process_full_comp_unit): Update to work with struct compunit_symtab.
568 (process_full_type_unit): Ditto.
569 (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated.
570 (dwarf_decode_lines): Remove special case handling of main subfile.
571 (macro_start_file): Delete argument comp_dir. All callers updated.
572 (dwarf_decode_macro_bytes): Ditto.
573 * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to
574 use struct compunit_symtab.
575 * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit.
576 * jit.c (finalize_symtab): Build compunit_symtab.
577 * jv-lang.c (get_java_class_symtab): Change result to
578 "struct compunit_symtab *". All callers updated.
579 * macroscope.c (sal_macro_scope): Fetch macro table from compunit.
580 * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from
581 comp_dir. Change type to "struct compunit_symtab *".
582 All uses updated.
583 (new_macro_table): Change comp_dir argument to cust,
584 "struct compunit_symtab *". All callers updated.
585 * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from
586 nr_primary_symtabs. All uses updated.
587 (count_symtabs_and_blocks): Update to handle compunits.
588 (report_command_stats): Update output, "primary symtabs" renamed to
589 "compunits".
590 * mdebugread.c (new_symtab): Change result to
591 "struct compunit_symtab *". All callers updated.
592 (parse_procedure): Change type of search_symtab argument to
593 "struct compunit_symtab *". All callers updated.
594 * objfiles.c (objfile_relocate1): Loop over blockvectors in a
595 separate loop.
596 * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from
597 symtabs. Change type to "struct compunit_symtab *". All uses updated.
598 (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS.
599 All uses updated.
600 (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS.
601 All uses updated.
602 (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated.
603 (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated.
604 * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from
605 symtab. Change type to "struct compunit_symtab *". All uses updated.
606 * psymtab.c (psymtab_to_symtab): Change result type to
607 "struct compunit_symtab *". All callers updated.
608 (find_pc_sect_compunit_symtab_from_partial): Renamed from
609 find_pc_sect_symtab_from_partial. Change result type to
610 "struct compunit_symtab *". All callers updated.
611 (lookup_symbol_aux_psymtabs): Change result type to
612 "struct compunit_symtab *". All callers updated.
613 (find_last_source_symtab_from_partial): Ditto.
614 * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit.
615 * source.c (forget_cached_source_info_for_objfile): Fetch debugformat
616 and macro_table from compunit.
617 * symfile-debug.c (debug_qf_find_last_source_symtab): Change result
618 type to "struct compunit_symtab *". All callers updated.
619 (debug_qf_lookup_symbol): Ditto.
620 (debug_qf_find_pc_sect_compunit_symtab): Renamed from
621 debug_qf_find_pc_sect_symtab, change result type to
622 "struct compunit_symtab *". All callers updated.
623 * symfile.c (allocate_symtab): Delete objfile argument.
624 New argument cust.
625 (allocate_compunit_symtab): New function.
626 (add_compunit_symtab_to_objfile): New function.
627 * symfile.h (struct quick_symbol_functions) <lookup_symbol>:
628 Change result type to "struct compunit_symtab *". All uses updated.
629 <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab.
630 Change result type to "struct compunit_symtab *". All uses updated.
631 * symmisc.c (print_objfile_statistics): Compute blockvector count in
632 separate loop.
633 (dump_symtab_1): Update test for primary source symtab.
634 (maintenance_info_symtabs): Update to handle compunit symtabs.
635 (maintenance_check_symtabs): Ditto.
636 * symtab.c (set_primary_symtab): Delete.
637 (compunit_primary_filetab): New function.
638 (compunit_language): New function.
639 (iterate_over_some_symtabs): Change type of arguments "first",
640 "after_last" to "struct compunit_symtab *". All callers updated.
641 Update to loop over symtabs in each compunit.
642 (error_in_psymtab_expansion): Rename symtab argument to cust,
643 and change type to "struct compunit_symtab *". All callers updated.
644 (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab.
645 Change result type to "struct compunit_symtab *". All callers updated.
646 (find_pc_compunit_symtab): Renamed from find_pc_symtab.
647 Change result type to "struct compunit_symtab *". All callers updated.
648 (find_pc_sect_line): Only loop over symtabs within selected compunit
649 instead of all symtabs in the objfile.
650 * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab.
651 <compunit_symtab> New member.
652 <block_line_section>: Moved to compunit_symtab.
653 <locations_valid>: Ditto.
654 <epilogue_unwind_valid>: Ditto.
655 <macro_table>: Ditto.
656 <dirname>: Ditto.
657 <debugformat>: Ditto.
658 <producer>: Ditto.
659 <objfile>: Ditto.
660 <call_site_htab>: Ditto.
661 <includes>: Ditto.
662 <user>: Ditto.
663 <primary>: Delete
664 (SYMTAB_COMPUNIT): New macro.
665 (SYMTAB_BLOCKVECTOR): Update definition.
666 (SYMTAB_OBJFILE): Update definition.
667 (SYMTAB_DIRNAME): Update definition.
668 (struct compunit_symtab): New type. Common members among all source
669 symtabs within a compilation unit moved here. All uses updated.
670 (COMPUNIT_OBJFILE): New macro.
671 (COMPUNIT_FILETABS): New macro.
672 (COMPUNIT_DEBUGFORMAT): New macro.
673 (COMPUNIT_PRODUCER): New macro.
674 (COMPUNIT_DIRNAME): New macro.
675 (COMPUNIT_BLOCKVECTOR): New macro.
676 (COMPUNIT_BLOCK_LINE_SECTION): New macro.
677 (COMPUNIT_LOCATIONS_VALID): New macro.
678 (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro.
679 (COMPUNIT_CALL_SITE_HTAB): New macro.
680 (COMPUNIT_MACRO_TABLE): New macro.
681 (ALL_COMPUNIT_FILETABS): New macro.
682 (compunit_symtab_ptr): New typedef.
683 (DEF_VEC_P (compunit_symtab_ptr)): New vector type.
684
005e2509
JB
6852014-11-20 Joel Brobecker <brobecker@adacore.com>
686
687 * ada-lang.c (ada_is_redundant_range_encoding): Return 0
688 if the TYPE_CODE of range_type's base type does not match
689 the TYPE_CODE of encoding_type's base type.
690
2b0f535a
JB
6912014-11-19 Joel Brobecker <brobecker@adacore.com>
692
693 * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if
694 it starts with '<'.
695
8908fca5
JB
6962014-11-19 Joel Brobecker <brobecker@adacore.com>
697
698 * ada-lang.c (ada_is_redundant_range_encoding): New function.
699 (ada_is_redundant_index_type_desc): New function.
700 (to_fixed_array_type): Ignore parallel XA type if redundant.
701
4a46959e
JB
7022014-11-19 Joel Brobecker <brobecker@adacore.com>
703
704 * ada-lang.c (constrained_packed_array_type): Set the length
705 of the return array as if both bounds where zero if that
706 returned array's index type is dynamic.
707
2acf986b
YQ
7082014-11-19 Yao Qi <yao@codesourcery.com>
709
710 * config/i386/go32.mh (CC): Remove.
711
439247b6
DE
7122014-11-18 Doug Evans <xdje42@gmail.com>
713
714 * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses
715 updated.
716
4d663531
DE
7172014-11-18 Doug Evans <xdje42@gmail.com>
718
719 * buildsym.c (buildsym_objfile): New static global.
720 (buildsym_comp_dir): New static global.
721 (finish_block_internal): Delete arg objfile. All callers updated.
722 (finish_block): Delete arg objfile. All callers updated.
723 (start_subfile): Delete arg dirname. All callers updated.
724 (patch_subfile_names): Update buildsym_comp_dir.
725 (get_macro_table): Delete arg objfile. All callers updated.
726 (start_symtab): New arg objfile. All callers updated.
727 Rename arg dirname to comp_dir.
728 (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir.
729 (end_symtab_get_static_block): Delete arg objfile. All callers
730 updated.
731 (end_symtab_without_blockvector): Ditto.
732 (end_symtab_with_blockvector): Ditto.
733 (end_symtab_from_static_block): Ditto.
734 (end_symtab): Ditto.
735 (end_expandable_symtab): Ditto.
736 (augment_type_symtab): Ditto.
737 * coffread.c (coff_start_symtab): New arg objfile. All callers
738 updated.
739
8435453b
DE
7402014-11-18 Doug Evans <xdje42@gmail.com>
741
742 * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses
743 updated.
744
ee6f8984
DE
7452014-11-18 Doug Evans <xdje42@gmail.com>
746
747 * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member
748 symtab.dirname updated to use it.
749
eb822aa6
DE
7502014-11-18 Doug Evans <xdje42@gmail.com>
751
752 * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member
753 symtab.objfile updated to use it.
754
98387a29
DE
7552014-11-18 Doug Evans <xdje42@gmail.com>
756
757 * buildsym.c (watch_main_source_file_lossage): Fix memory leak.
758
aff08958
DE
7592014-11-18 Doug Evans <xdje42@gmail.com>
760
761 * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use
762 SYMBOL_OBJFILE.
763 * findvar.c (default_read_var_value): Ditto.
764 * jv-lang.c (add_class_symtab_symbol): Ditto.
765 * parse.c (operator_check_standard): Ditto.
766 * printcmd.c (address_info): Ditto.
767 * symtab.c (fixup_symbol_section): Ditto.
768 (skip_prologue_sal): Ditto.
769 * tracepoint.c (scope_info): Ditto.
770 * valops.c (find_function_in_inferior): Ditto.
771 * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto.
772 * python/py-symbol.c (set_symbol): Ditto.
773
7bab9b58
DE
7742014-11-18 Doug Evans <xdje42@gmail.com>
775
776 * buildsym.c (main_subfile): New static global.
777 (free_subfiles_list): New function.
778 (start_symtab): Set main_subfile.
779 (restart_symtab): Replace init of subfiles, current_subfile with
780 call to free_subfiles_list.
781 (watch_main_source_file_lossage): Use main_subfile.
782 (reset_symtab_globals): Replace init of current_subfile with call
783 to free_subfiles_list.
784 (end_symtab_without_blockvector, end_symtab_with_blockvector): New
785 functions, split out from ...
786 (end_symtab_from_static_block): ... here. Rewrite to call them.
787
f194fefb
DE
7882014-11-18 Doug Evans <xdje42@gmail.com>
789
790 The result of symtab expansion is always a primary symtab.
791 * dwarf2read.c (dw2_instantiate_symtab): Add assert.
792 (dw2_lookup_symbol): Remove unnecessary test for primary symbol table.
793 * psymtab.c (lookup_symbol_aux_psymtabs): Ditto.
794 (psymtab_to_symtab): Add comment and assert.
795 (map_matching_symbols_psymtab): Remove unnecessary test for
796 non-primary symtab.
797
34248c3a
DE
7982014-11-15 Doug Evans <xdje42@gmail.com>
799
800 PR symtab/17559
801 * symtab.c (find_pc_line_symtab): New function.
802 * symtab.h (find_pc_line_symtab): Declare.
803 * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of
804 find_pc_symtab.
805 * tui/tui-disasm.c (tui_set_disassem_content): Ditto.
806 * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto.
807 * tui/tui-source.c (tui_vertical_source_scroll): Ditto.
808 * tui/tui-win.c (make_visible_with_new_height): Ditto.
809 * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto.
810 (tui_display_main): Call find_pc_line_symtab instead of find_pc_line.
811
2097ae25
DE
8122014-11-15 Doug Evans <xdje42@gmail.com>
813
814 * symtab.c (expand_symtab_containing_pc): Renamed from
815 find_pc_sect_symtab_via_partial. All callers updated.
816
1ada499f
YQ
8172014-11-15 Yao Qi <yao@codesourcery.com>
818
819 * go32-nat.c (go32_create_inferior): Add missing parenthesis.
820
355e2102
JB
8212014-11-14 Joel Brobecker <brobecker@adacore.com>
822
823 * common/common-defs.h: Move <stdarg.h> #include ahead of
824 <stdio.h> #include.
825
83030110
PA
8262014-11-14 Pedro Alves <palves@redhat.com>
827
828 * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define.
829 [!PHONY_ICONV] (gdb_iconv): New function.
830 [!PHONY_ICONV] (iconv): Redefine to gdb_iconv.
831
a8719064
DE
8322014-11-13 Doug Evans <dje@google.com>
833
834 PR symtab/17591
835 * dwarf2read.c (find_slot_in_mapped_hash): Handle
836 "(anonymous namespace)".
837
60f7655a
DE
8382014-11-13 Doug Evans <dje@google.com>
839
840 * dwarf2read.c (update_enumeration_type_from_children): Avoid
841 infinite loop.
842
5784b3ca
JK
8432014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com>
844
845 * NEWS (maint set target-async): Fix typo.
846
6218dc4b
PA
8472014-11-12 Pedro Alves <palves@redhat.com>
848
849 * infrun.c (enum infwait_states, infwait_state): Delete.
850
af48d08f
PA
8512014-11-12 Pedro Alves <palves@redhat.com>
852
853 * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag.
854 Rewrite stepping over a permanent breakpoint.
855 (thread_still_needs_step_over, proceed): Don't set
856 stepping_over_breakpoint for permanent breakpoints.
857 (handle_signal_stop): Don't clear stepped_breakpoint. Also pull
858 single-step breakpoints out of the target on hardware step
859 targets.
860 (process_event_stop_test): If stepping a permanent breakpoint
861 doesn't hit the step-resume breakpoint, delete the step-resume
862 breakpoint.
863 (switch_back_to_stepped_thread): Also check if the stepped thread
864 has advanced already on hardware step targets.
865 (currently_stepping): Return true if the thread stepped a
866 breakpoint.
867
1a853c52
PA
8682014-11-12 Pedro Alves <palves@redhat.com>
869
870 Mark locations as permanent, not the whole breakpoint.
871 * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust.
872 (mark_breakpoints_out): Don't mark permanent breakpoints as
873 uninserted.
874 (breakpoint_init_inferior): Use mark_breakpoints_out.
875 (breakpoint_here_p): Adjust.
876 (bpstat_stop_status, describe_other_breakpoints): Remove handling
877 of permanent breakpoints.
878 (make_breakpoint_permanent): Mark each location as permanent,
879 instead of marking the breakpoint.
880 (add_location_to_breakpoint): If the location is permanent, mark
881 it as such, and as inserted.
882 (init_breakpoint_sal): Don't make the breakpoint permanent here.
883 (bp_location_compare, update_global_location_list): Adjust.
884 (update_breakpoint_locations): Don't make the breakpoint permanent
885 here.
886 (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent
887 breakpoints.
888 * breakpoint.h (enum enable_state) <bp_permanent>: Delete field.
889 (struct bp_location) <permanent>: New field.
890 * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove
891 reference to bp_permanent.
892
ae9bb220
PA
8932014-11-12 Pedro Alves <palves@redhat.com>
894
895 * arch-utils.c (default_skip_permanent_breakpoint): New function.
896 * arch-utils.h (default_skip_permanent_breakpoint): New
897 declaration.
898 * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function.
899 Install default_skip_permanent_breakpoint as default method.
900 * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function.
901 (i386_gdbarch_init): Don't install it.
902 * infrun.c (resume): Assume there's always a
903 gdbarch_skip_permanent_breakpoint implementation.
904 * gdbarch.h, gdbarch.c: Regenerate.
905
015de688
DC
9062014-11-11 Daniel Colascione <dancol@dancol.org>
907
908 Warn about cross-PID-namespace debugging.
909 * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype.
910 * nat/linux-procfs.c (linux_proc_pid_get_ns): New function.
911 * linux-thread-db.c (check_pid_namespace_match): New function.
912 (thread_db_inferior_created): Call it.
913
26a84859
DE
9142014-11-10 Doug Evans <xdje42@gmail.com>
915
916 * symmisc.c (print_objfile_statistics): Remove trailing whitespace.
917 (maintenance_info_symtabs, maintenance_check_symtabs): Ditto.
918
712a2e6d
DE
9192014-11-10 Doug Evans <xdje42@gmail.com>
920
921 * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS.
922
af3768e9
DE
9232014-11-10 Doug Evans <xdje42@gmail.com>
924
925 PR symtab/17564
926 * symtab.c (lookup_symbol_in_all_objfiles): Delete.
927 (lookup_static_symbol): Move definition to new location and rewrite.
928 (lookup_symbol_in_objfile): New function.
929 (lookup_symbol_global_iterator_cb): Call it.
930
b1f28d99
UW
9312014-11-10 Ulrich Weigand  <uweigand@de.ibm.com>
932
933 * eval.c (evaluate_subexp_standard): Work around GCC bug 63748.
934
b7a084be
PA
9352014-11-07 Pedro Alves <palves@redhat.com>
936
937 * infrun.c (process_event_stop_test) <subroutine check>: Don't
938 check if we did a "nexti" inside a prologue.
939 * symtab.c (in_prologue): Delete function.
940 * symtab.h (in_prologue): Delete declaration.
941
67be31e5
DE
9422014-11-06 Doug Evans <xdje42@gmail.com>
943
944 * symtab.h (lookup_global_symbol): Improve function comment.
945
08724ab7
DE
9462014-11-06 Doug Evans <xdje42@gmail.com>
947
948 * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global.
949 All callers updated.
950 * symtab.h (lookup_global_symbol): Update decl.
951 (lookup_static_symbol): Move decl to better location.
952
d9060ba6
DE
9532014-11-06 Doug Evans <xdje42@gmail.com>
954
955 * symtab.c (basic_lookup_symbol_nonlocal): Add comment.
956
74016e12
DE
9572014-11-06 Doug Evans <xdje42@gmail.com>
958
959 * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local.
960 All callers updated.
961 (lookup_symbol_in_all_objfiles): Renamed from
962 lookup_symbol_aux_symtabs. All callers updated.
963 (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick.
964 All callers updated.
965 (lookup_symbol_in_objfile_symtabs): Renamed from
966 lookup_symbol_aux_objfile. All callers updated.
967
d1a2d36d
DE
9682014-11-06 Doug Evans <xdje42@gmail.com>
969
970 * symtab.c (lookup_symbol_in_block): Renamed from
971 lookup_symbol_aux_block. All callers updated.
972
24d864bb
DE
9732014-11-06 Doug Evans <xdje42@gmail.com>
974
975 * symtab.c (lookup_static_symbol): Renamed from
976 lookup_static_symbol_aux. All callers updated.
977 (lookup_symbol_in_static_block): Renamed from lookup_symbol_static.
978 All callers updated.
979
358d6ab3
DE
9802014-11-06 Doug Evans <xdje42@gmail.com>
981
982 * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro.
983 * block.c (block_lookup_symbol): Use it.
984 * cp-support.c (make_symbol_overload_list_block): Use it.
985 * symtab.c (iterate_over_symbols): Use it.
986
16b2eaa1
DE
9872014-11-06 Doug Evans <xdje42@gmail.com>
988
989 * symtab.c (lookup_block_symbol): Moved to ...
990 * block.c (block_lookup_symbol): ... here and renamed.
991 All callers updated.
992 * block.h (block_lookup_symbol): Declare.
993 * symtab.h (lookup_block_symbol): Delete.
994
2dd2cd1c
DE
9952014-11-06 Doug Evans <xdje42@gmail.com>
996
997 * ada-lang.c (ada_make_symbol_completion_list): Use
998 ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS.
999 * symtab.c (lookup_objfile_from_block): Ditto.
1000
d4c58915
DE
10012014-11-06 Doug Evans <xdje42@gmail.com>
1002
1003 * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use
1004 TYPE_CODE_STRUCT.
1005
9c1877ea
DE
10062014-11-06 Doug Evans <xdje42@gmail.com>
1007
1008 * objfiles.c (get_objfile_arch): Constify.
1009 * objfiles.h (get_objfile_arch): Update prototype.
1010 * solib.c (solib_global_lookup): Fetch arch from objfile,
1011 not target_gdbarch.
1012
426a4079
SL
10132014-11-06 Sandra Loosemore <sandra@codesourcery.com>
1014
1015 * nios2-tdep.c (wild_insn): Delete.
1016 (profiler_insn, irqentry_insn): Delete.
1017 (nios2_match_sequence): Delete.
1018 (nios2_analyze_prologue): Update comments. Remove matching
1019 of obsolete profiler_insn and irqentry_insn sequences.
1020
ee11262d
AM
10212014-11-05 Alan Modra <amodra@gmail.com>
1022
1023 * charset.c (convert_between_encodings): Shrink obstack using
1024 obstack_blank_fast.
1025 * minsyms.c (install_minimal_symbols): Likewise.
1ae1b8cc
AM
1026 * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free
1027 to char* before doing pointer arithmetic.
ee11262d 1028
c87e6d00
SM
10292014-11-04 Simon Marchi <simon.marchi@ericsson.com>
1030
1031 * tui/tui.c (tui_enable): Pass stdout and stdin to newterm.
1032
441ef17f
PA
10332014-11-04 Pedro Alves <palves@redhat.com>
1034
1035 * breakpoint.c (breakpoint_thread_match): Delete function.
1036 * breakpoint.h (breakpoint_thread_match): Delete declaration.
1037
e0f52461
SC
10382014-11-03 Siva Chandra Reddy <sivachandra@google.com>
1039
1040 PR c++/17494
1041 * eval.c (evaluate_subexp_standard): Evaluate the "object" and
1042 the method args also under EVAL_SKIP when evaluating method
1043 calls under EVAL_SKIP.
1044
a0b4d890
YQ
10452014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
1046
1047 * dwarf2loc.c (read_pieced_value): Do big endian
1048 processing only if gdb_regnum is not -1.
1049 (write_pieced_value): Ditto.
1050
10512014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
1052
1053 * arm-linux-tdep.c (arm_linux_init_abi): Use
1054 info.byte_order_for_code to choose endianity of breakpoint
1055 instructions snippets.
1056
10572014-11-02 Victor Kamensky <victor.kamensky@linaro.org>
1058
1059 * arm-tdep.c (extract_arm_insn): Use
1060 gdbarch_byte_order_for_code to read arm instruction.
1061
e82149ff
DE
10622014-11-02 Doug Evans <xdje42@gmail.com>
1063
1064 * mdebugread.c (parse_procedure): Delete unnecessary forward decl.
1065
d7ee84f1
DE
10662014-11-02 Doug Evans <xdje42@gmail.com>
1067
1068 * xcoffread.c (process_linenos): Delete unnecessary zeroing of
1069 main_subfile before returning.
1070
4f072d17
DE
10712014-10-31 Doug Evans <xdje42@gmail.com>
1072
1073 * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused.
1074 (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto.
1075
8301c89e
DE
10762014-10-31 Doug Evans <xdje42@gmail.com>
1077
1078 * valops.c (value_cast_pointers): Fix whitespace.
1079 (typecmp, search_struct_method, value_struct_elt, find_oload_champ):
1080 Ditto.
1081
02be9a71
DE
10822014-10-30 Doug Evans <dje@google.com>
1083
1084 * NEWS: Mention ability add attributes to gdb.Objfile and
1085 gdb.Progspace objects.
1086 * python/py-objfile.c (objfile_object): New member dict.
1087 (objfpy_dealloc): Py_XDECREF dict.
1088 (objfpy_initialize): Initialize dict.
1089 (objfile_getset): Add __dict__.
1090 (objfile_object_type): Set tp_dictoffset member.
1091 * python/py-progspace.c (progspace_object): New member dict.
1092 (pspy_dealloc): Py_XDECREF dict.
1093 (pspy_initialize): Initialize dict.
1094 (pspace_getset): Add __dict__.
1095 (pspace_object_type): Set tp_dictoffset member.
1096
6427bef6
YQ
10972014-10-30 Yao Qi <yao@codesourcery.com>
1098
1099 * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't
1100 replace '\\' with '\\\\'.
1101
f60325be
JB
11022014-10-29 Joel Brobecker <brobecker@adacore.com>
1103
1104 GDB 7.8.1 released.
1105
ab917dfb
PA
11062014-10-29 Pedro Alves <palves@redhat.com>
1107
1108 PR gdb/17408
1109 * infrun.c (switch_back_to_stepped_thread): Use currently_stepping
1110 instead of assuming a thread with a stepping range is always
1111 stepping.
1112
d3d4baed
PA
11132014-10-29 Pedro Alves <palves@redhat.com>
1114
1115 PR python/17372
1116 * event-top.c (change_line_handler): Call
1117 gdb_rl_callback_handler_remove instead of
1118 rl_callback_handler_remove.
1119 (callback_handler_installed): New global.
1120 (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install)
1121 (gdb_rl_callback_handler_reinstall): New functions.
1122 (display_gdb_prompt): Call gdb_rl_callback_handler_remove and
1123 gdb_rl_callback_handler_install instead of
1124 rl_callback_handler_remove and rl_callback_handler_install.
1125 (gdb_disable_readline): Call gdb_rl_callback_handler_remove
1126 instead of rl_callback_handler_remove.
1127 * event-top.h (gdb_rl_callback_handler_remove)
1128 (gdb_rl_callback_handler_install)
1129 (gdb_rl_callback_handler_reinstall): New declarations.
1130 * infrun.c (reinstall_readline_callback_handler_cleanup): New
1131 cleanup function.
1132 (fetch_inferior_event): Install it.
1133 * top.c (gdb_readline_wrapper_line) Call
1134 gdb_rl_callback_handler_remove instead of
1135 rl_callback_handler_remove.
1136 (gdb_readline_wrapper_cleanup): Don't call
1137 rl_callback_handler_install.
1138
6e5d7f39
PA
11392014-10-29 Pedro Alves <palves@redhat.com>
1140
1141 * event-top.c (command_line_handler): Clear the first byte of
1142 linebuffer, when it is first allocated.
1143
551cb6a5
PA
11442014-10-29 Pedro Alves <palves@redhat.com>
1145
1146 * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in
1147 TRY_CATCH.
1148
1e1e619b
PA
11492014-10-29 Pedro Alves <palves@redhat.com>
1150
1151 PR tui/16138
1152 PR tui/17519
1153 * tui/tui-interp.c (tui_is_toplevel): Delete global.
1154 (tui_allowed_p): Delete function.
1155 * tui/tui.c: Include "interps.h".
1156 (tui_enable): Don't use tui_allowed_p. Error out here with
1157 detailed error messages if the TUI is the top level interpreter,
1158 or if output is not a terminal. Use newterm instead of initscr,
1159 and error out if initializing the terminal fails. Also error out if
1160 the terminal doesn't support cursor addressing.
1161 * tui/tui.h (tui_allowed_p): Delete declaration.
1162
6041179a
JB
11632014-10-29 Joel Brobecker <brobecker@adacore.com>
1164
1165 * arm-tdep.c (arm_skip_stack_protector): Return early if
1166 address loaded by first "ldr" instruction does not have
1167 a corresponding minimal symbol. Update comment.
1168
6ae274b7
YQ
11692014-10-29 Yao Qi <yao@codesourcery.com>
1170
1171 * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the
1172 loaded address correctly of ldr instruction.
1173
7f5ef605
PA
11742014-10-28 Pedro Alves <palves@redhat.com>
1175
1176 PR gdb/12623
1177 * gdbthread.h (struct thread_info) <stepped_breakpoint>: New
1178 field.
1179 * infrun.c (resume) <stepping breakpoint instruction>: Set the
1180 thread's stepped_breakpoint field. Skip if reverse debugging.
1181 Add comment.
1182 (init_thread_stepping_state, handle_signal_stop): Clear the
1183 thread's stepped_breakpoint field.
1184
7d1a114c
PA
11852014-10-27 Pedro Alves <palves@redhat.com>
1186
1187 * remote.c (remote_thread_alive): New, factored out from ...
1188 (remote_thread_alive): ... this.
1189 (remote_update_thread_list): Bail out before deleting threads if
1190 the target returned an empty list, and, the current thread has a
1191 magic/fake ptid.
1192
e5f8a7cc
PA
11932014-10-27 Pedro Alves <palves@redhat.com>
1194
1195 * infrun.c (handle_signal_stop): Also skip handlers when a random
1196 signal arrives while handling a "stepi" or a "nexti". Set the
1197 thread's 'step_after_step_resume_breakpoint' flag.
1198
71e396f9
LM
11992014-10-27 Luis Machado <lgustavo@codesourcery.com>
1200
1201 * arm-tdep.c (INSN_S_L_BIT_NUM): Document.
1202 (arm_record_ld_st_imm_offset): Reimplement to cover all
1203 load/store cases for ARM opcode 010.
1204 (arm_record_ld_st_multiple): Reimplement to cover all
1205 load/store cases for ARM opcode 100.
1206
3aee438b
DE
12072014-10-26 Doug Evans <xdje42@gmail.com>
1208
1209 * symtab.c (lookup_symbol_aux_local): Fix typo in comment.
1210
f88cb4b6
DE
12112014-10-26 Doug Evans <xdje42@gmail.com>
1212
1213 * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename
1214 parameter "kind" to "block_index".
1215 * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to
1216 "block_index".
1217 (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto.
1218
a023a30f
DE
12192014-10-26 Doug Evans <xdje42@gmail.com>
1220
1221 * block.h (ALL_BLOCK_SYMBOLS): Fix comment.
1222
4c35218e
DE
12232014-10-26 Doug Evans <xdje42@gmail.com>
1224
1225 * block.c (allocate_block): Use OBSTACK_ZALLOC instead of
1226 obstack_alloc.
1227
f08e8df3
DE
12282014-10-26 Doug Evans <xdje42@gmail.com>
1229
1230 * parser-defs.h (block_found): Move decl from here ...
1231 * symtab.h (block_found): ... to here.
1232
cf901d3b
DE
12332014-10-26 Doug Evans <xdje42@gmail.com>
1234
1235 * symtab.h (struct field_of_this_result): Fix typo in comment.
1236 (lookup_symbol_in_language): Move function comment here.
1237 (lookup_symbol): Improve function comment.
1238 (basic_lookup_symbol_nonlocal): Ditto.
1239 (lookup_symbol_static, lookup_symbol_global): Ditto.
1240 (lookup_symbol_aux_block): Ditto.
1241 (lookup_language_this): Add function comment.
1242 (lookup_static_symbol_aux): Explicitly mark as extern. Improve
1243 function comment.
1244 (lookup_block_symbol): Improve function comment.
1245 (lookup_struct): Fix capitalization in function comment.
1246 (lookup_transparent_type): Add function comment.
1247 (lookup_global_symbol_from_objfile): Explicitly mark as extern.
1248 Improve function comment.
1249 (lookup_objfile_from_block): Add function comment.
1250 * symtab.c (lookup_symbol_in_language): Update function comment.
1251 (lookup_symbol, lookup_language_this): Ditto.
1252 (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto.
1253 (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto.
1254 (basic_lookup_symbol_nonlocal): Ditto.
1255 (lookup_symbol_static, lookup_symbol_global): Ditto.
1256 (lookup_transparent_type, lookup_block_symbol): Ditto.
1257
ff6c39cf
DE
12582014-10-25 Doug Evans <xdje42@gmail.com>
1259
1260 * symtab.c (types_info): Delete forward decl.
1261 (functions_info, variables_info, sources_info): Ditto.
1262 (_initialize_symtab): Rewrite forward decl to use
1263 initialize_file_ftype.
1264
ec201f0c
DE
12652014-10-25 Doug Evans <xdje42@gmail.com>
1266
1267 * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
1268
ca040673
DE
12692014-10-25 Doug Evans <xdje42@gmail.com>
1270
1271 * dwarf2read.c (process_structure_scope): Remove second (nested) copy
1272 of local var child_die.
1273
6f259a23
DB
12742014-10-24 Don Breazeal <donb@codesourcery.com>
1275
1276 * infrun.c (follow_fork_inferior): Update fork message printing
1277 to use target_terminal_ours_for_output instead of
1278 target_terminal_ours, to use _() for all format strings, to print
1279 "vfork" instead of "fork" for vforks, and to add a detach message.
1280 (handle_vfork_child_exec_or_exit): Update message printing to use
1281 target_terminal_ours_for_output instead of target_terminal_ours, to
1282 use _() for all format strings, and to fix some formatting.
1283
09dd9a69
PA
12842014-10-24 Pedro Alves <palves@redhat.com>
1285
1286 * Makefile.in (ALLDEPFILES): Remove vax-nat.c.
1287 * NEWS (Removed targets): Add VAX BSD and VAX Ultrix.
1288 * config/vax/vax.mh: Delete.
1289 * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the
1290 obsolete configurations section.
1291 * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix.
1292 * vax-nat.c: Delete file.
1293
5ab806de
PA
12942014-10-24 Pedro Alves <palves@redhat.com>
1295
1296 * NEWS (Removed targets): Add OS/arch column.
1297
3433cfa5
SC
12982014-10-24 Siva Chandra Reddy <sivachandra@google.com>
1299
1300 * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE
1301 on the arg type of a constructor only if it is of reference type.
1302
96ba4233
SL
13032014-10-23 Sandra Loosemore <sandra@codesourcery.com>
1304
1305 * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field
1306 accessors and constants from nios2 opcodes update.
1307 (nios2_get_next_pc): Likewise.
1308
28153fd3
DE
13092014-10-19 Doug Evans <xdje42@gmail.com>
1310
1311 * gdbthread.h (set_running): Fix comment.
1312 (set_executing, finish_thread_state): Fix comment.
1313
fc9b8e47
DE
13142014-10-18 Doug Evans <xdje42@gmail.com>
1315
1316 * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static.
1317
4ffbba72
DE
13182014-10-17 Doug Evans <dje@google.com>
1319
1320 * NEWS: Mention new event gdb.clear_objfiles.
1321 * python/py-event.h (emit_clear_objfiles_event): Clear
1322 * python/py-events.h (events_object): New member clear_objfiles.
1323 * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles
1324 event.
1325 * python/py-inferior.c (python_new_objfile): If objfile is NULL,
1326 emit clear_objfiles event.
1327 * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New
1328 function.
1329 (emit_clear_objfiles_event): New function.
1330 (clear_objfiles): New event.
1331 * python/python-internal.h (gdbpy_initialize_clear_objfiles_event):
1332 Declare.
1333 * python/python.c (_initialize_python): Call
1334 gdbpy_initialize_clear_objfiles_event.
1335
d096d8c1
DE
13362014-10-17 Doug Evans <dje@google.com>
1337
1338 * NEWS: Mention new gdb.Objfile.progspace attribute.
1339 * python/py-objfile.c (objfpy_get_progspace): New function.
1340 (objfile_getset): New entry for "progspace".
1341
6c4486e6
PA
13422014-10-17 Pedro Alves <palves@redhat.com>
1343
1344 PR gdb/17471
1345 * infcmd.c (strip_bg_char): Change prototype and rewrite. Now
1346 returns a copy of the input.
1347 (run_command_1, continue_command, step_1, jump_command)
1348 (signal_command, until_command, advance_command, finish_command)
1349 (attach_command): Adjust and install a cleanup to free the
1350 stripped args.
1351
0ff33695
PA
13522014-10-17 Pedro Alves <palves@redhat.com>
1353
1354 PR gdb/17300
1355 * infcmd.c (continue_1): If continuing all threads in the
1356 foreground, make sure the inferior's terminal settings are put in
1357 effect.
1358
6fdebc3d
PA
13592014-10-17 Pedro Alves <palves@redhat.com>
1360
1361 PR gdb/17472
1362 * annotate.c (annotate_breakpoints_invalid): Use
1363 target_terminal_our_for_output instead of target_terminal_ours.
1364 Give back the terminal to the target.
1365 (annotate_frames_invalid): Likewise.
1366
5842f62a
PA
13672014-10-17 Pedro Alves <palves@redhat.com>
1368
1369 * target.c (enum terminal_state): New enum.
1370 (terminal_state): New global.
1371 (target_terminal_init): New function.
1372 (target_terminal_inferior): Skip if inferior already owns the
1373 terminal.
1374 (target_terminal_ours, target_terminal_ours_for_output): New
1375 functions.
1376 * target.h (target_terminal_init): Convert to function prototype.
1377 (target_terminal_ours_for_output): Convert to function prototype
1378 and tweak comment.
1379 (target_terminal_ours): Convert to function prototype and tweak
1380 comment.
1381 * windows-nat.c (do_initial_windows_stuff): Call
1382 target_terminal_init instead of child_terminal_init_with_pgrp.
1383
32a8097b
PA
13842014-10-17 Pedro Alves <palves@redhat.com>
1385
1386 * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o.
1387 (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h.
1388 (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and
1389 solib-osf.c.
1390 * NEWS: Mention that support for alpha*-*-osf* has been removed.
1391 * ada-lang.h [__alpha__ && __osf__]
1392 (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete.
1393 * alpha-nat.c, alpha-osf1-tdep.c: Delete files.
1394 * alpha-tdep.c (alpha_gdbarch_init): Remove reference to
1395 GDB_OSABI_OSF1.
1396 * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete
1397 files.
1398 * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh)
1399 (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete.
1400 * configure: Regenerate.
1401 * configure.ac: Remove references to osf.
1402 * configure.host: Handle alpha*-*-osf* in the obsolete hosts
1403 section. Remove all other references to osf.
1404 * configure.tgt: Add alpha*-*-osf* to the obsolete targets section.
1405 Remove all other references to osf.
1406 * dec-thread.c: Delete file.
1407 * defs.h (GDB_OSABI_OSF1): Delete.
1408 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally
1409 defined.
1410 * osabi.c (gdb_osabi_names): Delete "OSF/1".
1411 * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]:
1412 Delete code.
1413 (unconditionally_kill_inferior)
1414 [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code.
1415 * solib-osf.c: Delete file.
1416
80134cf5
PA
14172014-10-17 Pedro Alves <palves@redhat.com>
1418
1419 * remote.c (clear_threads_listing_context): Move higher up, out of
1420 the HAVE_LIBEXPAT guard.
1421
89c7137f
TG
14222014-10-16 Tristan Gingold <gingold@adacore.com>
1423
1424 * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers)
1425 (i386_darwin_store_inferior_registers): Sanitize gs and fs values
1426 on amd64.
1427
44ee4a52
PA
14282014-10-15 Pedro Alves <palves@redhat.com>
1429
1430 * dec-thread.c (dec_thread_count_gdb_threads)
1431 (dec_thread_add_gdb_thread): Delete.
1432 (dec_thread_update_thread_list): Delete.
1433 (dec_thread_find_new_threads): Rename to ...
1434 (dec_thread_update_thread_list): ... this. Delete GDB-size
1435 threads that are no longer found in dec_thread_list.
1436 (resync_thread_list): Delete.
1437 (dec_thread_wait): Call dec_thread_update_thread_list instead of
1438 resync_thread_list.
1439
ab970af1
PA
14402014-10-15 Pedro Alves <palves@redhat.com>
1441
1442 * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro.
1443 * remote.c (remote_update_thread_list): Skip calling prune_threads
1444 if any thread listing method is supported, and instead walk over
1445 the set of remote threads listed, deleting those that are not
1446 found in GDB's thread list.
1447
e8032dde
PA
14482014-10-15 Pedro Alves <palves@redhat.com>
1449
1450 * ada-tasks.c (print_ada_task_info, task_command_1): Adjust.
1451 * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ...
1452 (bsd_uthread_update_thread_list): ... this. Call prune_threads.
1453 (bsd_uthread_target): Adjust.
1454 * corelow.c (core_open): Adjust.
1455 * dec-thread.c (dec_thread_find_new_threads): Update comment.
1456 (dec_thread_update_thread_list): New function.
1457 (init_dec_thread_ops): Adjust.
1458 * gdbthread.h (prune_threads): New declaration.
1459 * linux-thread-db.c (thread_db_find_new_threads): Rename to ...
1460 (thread_db_update_thread_list): ... this. Call prune_threads.
1461 (init_thread_db_ops): Adjust.
1462 * nto-procfs.c (procfs_find_new_threads): Rename to ...
1463 (procfs_update_thread_list): ... this. Call prune_threads.
1464 (procfs_attach, procfs_create_inferior, init_procfs_targets):
1465 Adjust.
1466 * obsd-nat.c (obsd_find_new_threads): Rename to ...
1467 (obsd_update_thread_list): ... this. Call prune_threads.
1468 (obsd_add_target): Adjust.
1469 * procfs.c (procfs_target): Adjust.
1470 (procfs_notice_thread): Update comment.
1471 (procfs_find_new_threads): Rename to ...
1472 (procfs_update_thread_list): ... this. Call prune_threads.
1473 * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update
1474 comment.
1475 (ravenscar_wait): Adjust.
1476 (ravenscar_find_new_threads): Rename to ...
1477 (ravenscar_update_thread_list): ... this. Call prune_threads.
1478 (init_ravenscar_thread_ops): Adjust.
1479 * record-btrace.c (record_btrace_find_new_threads): Rename to ...
1480 (record_btrace_update_thread_list): ... this. Adjust comment.
1481 (init_record_btrace_ops): Adjust.
1482 * remote.c (remote_threads_info): Rename to ...
1483 (remote_update_thread_list): ... this. Call prune_threads.
1484 (remote_start_remote, extended_remote_attach_1, init_remote_ops):
1485 Adjust.
1486 * sol-thread.c (check_for_thread_db): Adjust.
1487 (sol_find_new_threads_callback): Rename to ...
1488 (sol_update_thread_list_callback): ... this.
1489 (sol_find_new_threads): Rename to ...
1490 (sol_update_thread_list): ... this. Call prune_threads. Adjust.
1491 (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust.
1492 * target-delegates.c: Regenerate.
1493 * target.c (target_find_new_threads): Rename to ...
1494 (target_update_thread_list): ... this.
1495 * target.h (struct target_ops): Rename to_find_new_threads field
1496 to to_update_thread_list.
1497 (target_find_new_threads): Rename to ...
1498 (target_update_thread_list): ... this.
1499 * thread.c (prune_threads): Make extern.
1500 (update_thread_list): Adjust.
1501
6dc54d91
PA
15022014-10-15 Pedro Alves <palves@redhat.com>
1503
1504 * remote.c (remote_get_threadlist, remote_threadlist_iterator):
1505 Add describing comment. Return -1 if the qL packet is not
1506 supported.
1507 (struct thread_item, thread_item_t): Move higher up in
1508 the file. Add comments.
1509 (struct threads_parsing_context): Move higher up in
1510 the file, add comments, and remote to ...
1511 (struct threads_listing_context): ... this.
1512 (remote_newthread_step): Don't add the thread to GDB's thread
1513 database here. Instead push it to the thread_listing_context
1514 list.
1515 (remote_find_new_threads): Rename to ...
1516 (remote_get_threads_with_ql): ... this. Add target_ops and
1517 targets_listing_context parameters. Pass down context.
1518 (start_thread): Adjust.
1519 (clear_threads_parsing_context): Rename to ...
1520 (clear_threads_listing_context): ... this.
1521 (remote_get_threads_with_qxfer): New, with parts salvaged from old
1522 remote_threads_info.
1523 (remote_get_threads_with_qthreadinfo): Ditto.
1524 (remote_threads_info): Reimplement.
1525
36728e82
PA
15262014-10-15 Pedro Alves <palves@redhat.com>
1527
1528 * infrun.c (resume): Don't force displaced-stepping for all
1529 single-steps on software single-stepping archs.
1530
34b7e8a6
PA
15312014-10-15 Pedro Alves <palves@redhat.com>
1532
1533 * breakpoint.c (single_step_breakpoints): Delete global.
1534 (insert_single_step_breakpoint): Adjust to store the breakpoint
1535 pointer in the current thread.
1536 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1537 (cancel_single_step_breakpoints): Delete functions.
1538 (breakpoint_has_location_inserted_here): Make extern.
1539 (single_step_breakpoint_inserted_here_p): Adjust to walk the
1540 breakpoint list.
1541 * breakpoint.h (breakpoint_has_location_inserted_here): New
1542 declaration.
1543 (single_step_breakpoints_inserted, remove_single_step_breakpoints)
1544 (cancel_single_step_breakpoints): Remove declarations.
1545 * gdbthread.h (struct thread_control_state)
1546 <single_step_breakpoints>: New field.
1547 (delete_single_step_breakpoints)
1548 (thread_has_single_step_breakpoints_set)
1549 (thread_has_single_step_breakpoint_here): New declarations.
1550 * infrun.c (follow_exec): Also clear the single-step breakpoints.
1551 (singlestep_breakpoints_inserted_p, singlestep_ptid)
1552 (singlestep_pc): Delete globals.
1553 (infrun_thread_ptid_changed): Remove references to removed
1554 globals.
1555 (resume_cleanups): Delete the current thread's single-step
1556 breakpoints.
1557 (maybe_software_singlestep): Remove references to removed globals.
1558 (resume): Adjust to use thread_has_single_step_breakpoints_set and
1559 delete_single_step_breakpoints.
1560 (init_wait_for_inferior): Remove references to removed globals.
1561 (delete_thread_infrun_breakpoints): Delete the thread's
1562 single-step breakpoints too.
1563 (delete_just_stopped_threads_infrun_breakpoints): Don't delete
1564 single-step breakpoints here.
1565 (delete_stopped_threads_single_step_breakpoints): New function.
1566 (adjust_pc_after_break): Adjust to use
1567 thread_has_single_step_breakpoints_set.
1568 (handle_inferior_event): Remove references to removed globals.
1569 Use delete_stopped_threads_single_step_breakpoints.
1570 (handle_signal_stop): Adjust to per-thread single-step
1571 breakpoints. Swap test order to do cheaper tests first.
1572 (switch_back_to_stepped_thread): Extend debug output. Remove
1573 references to removed globals.
1574 * record-full.c (record_full_wait_1): Adjust to per-thread
1575 single-step breakpoints.
1576 * thread.c (delete_single_step_breakpoints)
1577 (thread_has_single_step_breakpoints_set)
1578 (thread_has_single_step_breakpoint_here): New functions.
1579 (clear_thread_inferior_resources): Also delete the thread's
1580 single-step breakpoints.
1581
5b834a0a
PA
15822014-10-15 Pedro Alves <palves@redhat.com>
1583
1584 * thread.c (delete_thread_breakpoint): New function.
1585 (delete_step_resume_breakpoint)
1586 (delete_exception_resume_breakpoint): Use it.
1587 (delete_at_next_stop): New function.
1588 (clear_thread_inferior_resources): Use delete_at_next_stop.
1589
a1fd2fa5
PA
15902014-10-15 Pedro Alves <palves@redhat.com>
1591
1592 * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ...
1593 (breakpoint_inserted_here_p): ... here. Remove special case for
1594 software single-step breakpoints.
1595 (find_non_raw_software_breakpoint_inserted_here): Inline ...
1596 (software_breakpoint_inserted_here_p): ... here. Remove special
1597 case for software single-step breakpoints.
1598 (bp_target_info_copy_insertion_state)
1599 (deprecated_insert_raw_breakpoint)
1600 (deprecated_remove_raw_breakpoint): Delete functions.
1601 * breakpoint.h (deprecated_insert_raw_breakpoint)
1602 (deprecated_remove_raw_breakpoint): Remove declarations.
1603
7c16b83e
PA
16042014-10-15 Pedro Alves <palves@redhat.com>
1605
1606 PR breakpoints/9649
1607 * breakpoint.c (single_step_breakpoints, single_step_gdbarch):
1608 Delete array globals.
1609 (single_step_breakpoints): New global.
1610 (breakpoint_xfer_memory): Remove special handling for single-step
1611 breakpoints.
1612 (update_breakpoints_after_exec): Delete bp_single_step
1613 breakpoints.
1614 (detach_breakpoints): Remove special handling for single-step
1615 breakpoints.
1616 (breakpoint_init_inferior): Delete bp_single_step breakpoints.
1617 (bpstat_stop_status): Add comment.
1618 (bpstat_what, bptype_string, print_one_breakpoint_location)
1619 (adjust_breakpoint_address, init_bp_location): Handle
1620 bp_single_step.
1621 (new_single_step_breakpoint): New function.
1622 (set_momentary_breakpoint, bkpt_remove_location): Remove special
1623 handling for single-step breakpoints.
1624 (insert_single_step_breakpoint, single_step_breakpoints_inserted)
1625 (remove_single_step_breakpoints, cancel_single_step_breakpoints):
1626 Rewrite.
1627 (detach_single_step_breakpoints, find_single_step_breakpoint):
1628 Delete functions.
1629 (breakpoint_has_location_inserted_here): New function.
1630 (single_step_breakpoint_inserted_here_p): Rewrite.
1631 * breakpoint.h: Remove FIXME.
1632 (enum bptype) <bp_single_step>: New enum value.
1633 (insert_single_step_breakpoint): Update comment.
1634 * infrun.c (resume_cleanups)
1635 (delete_step_thread_step_resume_breakpoint): Remove single-step
1636 breakpoints.
1637 (fetch_inferior_event): Install a cleanup that removes infrun
1638 breakpoints.
1639 (switch_back_to_stepped_thread) <expect thread advanced also>:
1640 Clear step-over info.
1641
0cbcdb96
PA
16422014-10-15 Pedro Alves <palves@redhat.com>
1643
1644 * infrun.c (delete_step_resume_breakpoint_callback): Delete.
1645 (delete_thread_infrun_breakpoints): New function, with parts
1646 salvaged from delete_step_resume_breakpoint_callback.
1647 (delete_step_thread_step_resume_breakpoint): Delete.
1648 (for_each_just_stopped_thread_callback_func): New typedef.
1649 (for_each_just_stopped_thread): New function.
1650 (delete_just_stopped_threads_infrun_breakpoints): New function.
1651 (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ...
1652 (delete_just_stopped_threads_infrun_breakpoints_cleanup):
1653 ... this. Adjust.
1654 (wait_for_inferior, fetch_inferior_event): Adjust to renames.
1655
963f9c80
PA
16562014-10-15 Pedro Alves <palves@redhat.com>
1657
1658 * breakpoint.c (should_be_inserted): Don't insert watchpoints if
1659 trying to step past a non-steppable watchpoint.
1660 * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New
1661 field.
1662 * infrun.c (struct step_over_info): Add new field
1663 'nonsteppable_watchpoint_p' and adjust comments.
1664 (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter.
1665 Adjust.
1666 (clear_step_over_info): Clear nonsteppable_watchpoint_p as well.
1667 (stepping_past_nonsteppable_watchpoint): New function.
1668 (step_over_info_valid_p): Also return true if stepping past a
1669 nonsteppable watchpoint.
1670 (proceed): Adjust call to set_step_over_info. Remove reference to
1671 init_infwait_state.
1672 (init_wait_for_inferior): Remove reference to init_infwait_state.
1673 (waiton_ptid): Delete global.
1674 (struct execution_control_state)
1675 <stepped_after_stopped_by_watchpoint>: Delete field.
1676 (wait_for_inferior, fetch_inferior_event): Always pass
1677 minus_one_ptid to target_wait.
1678 (init_thread_stepping_state): Clear 'stepping_over_watchpoint'
1679 field.
1680 (init_infwait_state): Delete function.
1681 (handle_inferior_event): Remove infwait_state handling.
1682 (handle_signal_stop) <watchpoints handling>: Adjust after
1683 stepped_after_stopped_by_watchpoint removal. Don't remove
1684 breakpoints here nor set infwait_state. Set the thread's
1685 stepping_over_watchpoint flag, and call keep_going instead.
1686 (keep_going): Handle stepping_over_watchpoint. Adjust
1687 set_step_over_info calls.
1688 * infrun.h (stepping_past_nonsteppable_watchpoint): Declare
1689 function.
1690
6cc83d2a
PA
16912014-10-15 Pedro Alves <palves@redhat.com>
1692
1693 * infrun.c (step_over_info_valid_p): New function.
1694 (resume): Use step_over_info_valid_p instead of checking the
1695 threads's trap_expected flag.
1696
6979730b
DE
16972014-10-15 Doug Evans <dje@google.com>
1698 Walfred Tedeschi <walfred.tedeschi@intel.com>
1699
1700 PR python/17364
1701 * python/lib/gdb/__init__.py (packages): Add "printer".
1702 * python/lib/gdb/command/bound_registers.py: Moved to ...
1703 * python/lib/gdb/printer/bound_registers.py: ... here.
1704 Add printer to global set of builtin printers. Rename printer from
1705 "bound" to "mpx_bound128".
1706 * python/lib/gdb/printing.py (_builtin_pretty_printers): New global,
1707 registered as global "builtin" printer.
1708 (add_builtin_pretty_printer): New function.
1709 * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add
1710 gdb/printer/__init__.py.
1711
35a49624
IB
17122014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
1713
1714 * Makefile.in (SFILES): Remove d-support.c.
1715 (COMMON_OBS): Remove d-support.o.
1716 * d-lang.h (d_parse_symbol): Remove declaration.
1717 * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols.
1718 * d-support.c: Remove file.
1719
8fa0c4f8
AA
17202014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
1721
1722 * gdb/infrun.c (process_event_stop_test): Apply
1723 gdbarch_addr_bits_remove to longjmp resume address.
1724
3666da81
PA
17252014-10-15 Pedro Alves <palves@redhat.com>
1726
1727 * regformats/microblaze.dat: Delete file.
1728
449aa9df
AKA
17292014-10-15 Ajit Agarwal <ajitkum@xilinx.com>
1730
1731 * features/Makefile (microblaze-expedite): Replace pc with rpc.
1732 * regformats/microblaze-with-stack-protect.dat: Regenerate.
1733
ebb8ece2
SC
17342014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1735
1736 * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes
1737 as non-trivial.
1738
82c48ac7
SC
17392014-10-15 Siva Chandra Reddy <sivachandra@google.com>
1740
1741 PR c++/13403
1742 PR c++/15154
1743 * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors
1744 with qualified args.
1745
c40cc657
JB
17462014-10-14 Joel Brobecker <brobecker@adacore.com>
1747
1748 * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling
1749 of the case where the second operand is a pointer.
1750 <BINOP_SUB>: Likewise.
1751
0ea5cda8
SDJ
17522014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1753
1754 * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore
1755 only if it is not NULL.
1756 (bkpt_probe_remove_location): Likewise, for clear_semaphore.
1757 * probe.h (struct probe_ops) <set_semaphore>: Update comment.
1758 (struct probe_ops) <clear_semaphore>: Likewise.
1759 * tracepoint.c (start_tracing): Call set_semaphore only if it is
1760 not NULL.
1761 (stop_tracing): Likewise, for clear_semaphore.
1762
f7088df3
SDJ
17632014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
1764
1765 * stap-probe.c (stap_parse_argument): Initialize expout explicitly
1766 using language_c, instead of current_language.
1767
4e1bbde0
DE
17682014-10-13 Doug Evans <dje@google.com>
1769
6ff5a0f6 1770 * python/py-objfile.c (objfpy_initialize): New function.
4e1bbde0 1771 (objfpy_new, objfile_to_objfile_object): Call it.
6ff5a0f6 1772 * python/py-progspace.c (pspy_initialize): New function.
4e1bbde0
DE
1773 (pspy_new, pspace_to_pspace_object): Call it.
1774
c780cc2f
JK
17752014-10-13 Miroslav Franc <mfranc@redhat.com>
1776 Jan Kratochvil <jan.kratochvil@redhat.com>
1777
1778 Fix "save breakpoints" for "catch" command.
1779 * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing
1780 newline.
1781
99894e11
JK
17822014-10-12 Miroslav Franc <mfranc@redhat.com>
1783
1784 Fix "save breakpoints" for "disable $bpnum" command.
1785 * breakpoint.c (save_breakpoints): Add $bpnum for disable.
1786
3831839c
PA
17872014-10-10 Pedro Alves <palves@redhat.com>
1788
1789 * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o.
1790 (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c.
1791 (HFILES_NO_SRCDIR): Remove solib-irix.h.
1792 * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6*
1793 and been removed.
1794 * config/mips/irix5.mh, config/mips/irix6.mh: Delete files.
1795 * configure.ac: Remove references to IRIX.
1796 * configure.host: Add *-*-irix* to the obsolete hosts section.
1797 Remove all other references to irix.
1798 * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h:
1799 Delete files.
1800
cc3afae2
AKA
18012014-10-10 Ajit Agarwal <ajitkum@xilinx.com>
1802
1803 * microblaze-tdep.c (microblaze_gdbarch_init): If the description
1804 isn't valid, release the tdesc arch data and return NULL.
1805
cdfa0b0a
PA
18062014-10-10 Pedro Alves <palves@redhat.com>
1807
1808 * linux-tdep.c: Include observer.h.
1809 (linux_inferior_data): New global.
1810 (struct linux_info): New structure.
1811 (invalidate_linux_cache_inf, linux_inferior_data_cleanup)
1812 (get_linux_inferior_data): New functions.
1813 (linux_vsyscall_range): Rename to ...
1814 (linux_vsyscall_range_raw): ... this.
1815 (linux_vsyscall_range): New function; handles caching.
1816 (_initialize_linux_tdep): Register linux_inferior_data. Install
1817 inferior_exit and inferior_appeared observers.
1818
8b9a549d
PA
18192014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
1820 Pedro Alves <palves@redhat.com>
1821
1822 PR symtab/14466
1823 * solib-svr4.c (svr4_read_so_list): Rename to ...
1824 (svr4_current_sos_1): ... this and change the function comment.
1825 (svr4_current_sos): New function.
1826
3437254d
PA
18272014-10-10 Pedro Alves <palves@redhat.com>
1828
1829 * arch-utils.c (default_vsyscall_range): New function.
1830 * arch-utils.h (default_vsyscall_range): New declaration.
1831 * gdbarch.sh (vsyscall_range): New hook.
1832 * gdbarch.h, gdbarch.c: Regenerate.
1833 * linux-tdep.c (linux_vsyscall_range): New function.
1834 (linux_init_abi): Install linux_vsyscall_range as
1835 vsyscall_range gdbarch hook.
1836 * memrange.c (address_in_mem_range): New function.
1837 * memrange.h (address_in_mem_range): New declaration.
1838 * symfile-mem.c (find_vdso_size): Delete function.
1839 (add_vsyscall_page): Use gdbarch_vsyscall_range.
1840
31cc0b80
PA
18412014-10-10 Pedro Alves <palves@redhat.com>
1842
1843 * infrun.c (normal_stop): Fix typo in comment.
1844
3e3286a2
SDJ
18452014-10-09 Sergio Durigan Junior <sergiodj@redhat.com>
1846
1847 PR tdep/9390
1848 * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible
1849 typo when using logical AND to determine instruction type.
1850
fcbdedf8
YQ
18512014-10-09 Yao Qi <yao@codesourcery.com>
1852
1853 * infrun.c (handle_signal_stop): Remove local variable
1854 'printed'.
1855
db984616
SS
18562014-10-08 Stan Shebs <stan@codesourcery.com>
1857
1858 * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi.
1859
3ba37e6c
GB
18602014-10-08 Gary Benson <gbenson@redhat.com>
1861
1862 * fbsd-tdep.c: Do not include string.h or gdb_assert.h.
1863
a442d071
GB
18642014-10-08 Gary Benson <gbenson@redhat.com>
1865
1866 * common/common-defs.h: Include common-exceptions.h.
1867 * exceptions.h: Do not include common-exceptions.h.
1868
6f1947e8
GB
18692014-10-08 Gary Benson <gbenson@redhat.com>
1870
1871 * common/common-defs.h: Include cleanups.h.
1872 * common/common-exceptions.c: Do not include cleanups.h.
1873 * utils.h: Likewise.
1874
c765fdb9
GB
18752014-10-08 Gary Benson <gbenson@redhat.com>
1876
1877 * ada-lang.c: Do not include exceptions.h.
1878 * ada-valprint.c: Likewise.
1879 * amd64-tdep.c: Likewise.
1880 * auto-load.c: Likewise.
1881 * block.c: Likewise.
1882 * break-catch-throw.c: Likewise.
1883 * breakpoint.c: Likewise.
1884 * btrace.c: Likewise.
1885 * c-lang.c: Likewise.
1886 * cli/cli-cmds.c: Likewise.
1887 * cli/cli-interp.c: Likewise.
1888 * cli/cli-script.c: Likewise.
1889 * completer.c: Likewise.
1890 * corefile.c: Likewise.
1891 * corelow.c: Likewise.
1892 * cp-abi.c: Likewise.
1893 * cp-support.c: Likewise.
1894 * cp-valprint.c: Likewise.
1895 * darwin-nat.c: Likewise.
1896 * dwarf2-frame-tailcall.c: Likewise.
1897 * dwarf2-frame.c: Likewise.
1898 * dwarf2loc.c: Likewise.
1899 * dwarf2read.c: Likewise.
1900 * eval.c: Likewise.
1901 * event-loop.c: Likewise.
1902 * event-top.c: Likewise.
1903 * f-valprint.c: Likewise.
1904 * frame-unwind.c: Likewise.
1905 * frame.c: Likewise.
1906 * gdbtypes.c: Likewise.
1907 * gnu-v2-abi.c: Likewise.
1908 * gnu-v3-abi.c: Likewise.
1909 * guile/scm-auto-load.c: Likewise.
1910 * guile/scm-breakpoint.c: Likewise.
1911 * guile/scm-cmd.c: Likewise.
1912 * guile/scm-frame.c: Likewise.
1913 * guile/scm-lazy-string.c: Likewise.
1914 * guile/scm-param.c: Likewise.
1915 * guile/scm-symbol.c: Likewise.
1916 * guile/scm-type.c: Likewise.
1917 * hppa-hpux-tdep.c: Likewise.
1918 * i386-tdep.c: Likewise.
1919 * inf-loop.c: Likewise.
1920 * infcall.c: Likewise.
1921 * infcmd.c: Likewise.
1922 * infrun.c: Likewise.
1923 * interps.c: Likewise.
1924 * interps.h: Likewise.
1925 * jit.c: Likewise.
1926 * linespec.c: Likewise.
1927 * linux-nat.c: Likewise.
1928 * linux-thread-db.c: Likewise.
1929 * m32r-rom.c: Likewise.
1930 * main.c: Likewise.
1931 * memory-map.c: Likewise.
1932 * mi/mi-cmd-break.c: Likewise.
1933 * mi/mi-cmd-stack.c: Likewise.
1934 * mi/mi-interp.c: Likewise.
1935 * mi/mi-main.c: Likewise.
1936 * monitor.c: Likewise.
1937 * nto-procfs.c: Likewise.
1938 * objc-lang.c: Likewise.
1939 * p-valprint.c: Likewise.
1940 * parse.c: Likewise.
1941 * ppc-linux-tdep.c: Likewise.
1942 * printcmd.c: Likewise.
1943 * probe.c: Likewise.
1944 * python/py-auto-load.c: Likewise.
1945 * python/py-breakpoint.c: Likewise.
1946 * python/py-cmd.c: Likewise.
1947 * python/py-finishbreakpoint.c: Likewise.
1948 * python/py-frame.c: Likewise.
1949 * python/py-framefilter.c: Likewise.
1950 * python/py-function.c: Likewise.
1951 * python/py-gdb-readline.c: Likewise.
1952 * python/py-inferior.c: Likewise.
1953 * python/py-infthread.c: Likewise.
1954 * python/py-lazy-string.c: Likewise.
1955 * python/py-linetable.c: Likewise.
1956 * python/py-param.c: Likewise.
1957 * python/py-prettyprint.c: Likewise.
1958 * python/py-symbol.c: Likewise.
1959 * python/py-type.c: Likewise.
1960 * python/py-value.c: Likewise.
1961 * python/python-internal.h: Likewise.
1962 * python/python.c: Likewise.
1963 * record-btrace.c: Likewise.
1964 * record-full.c: Likewise.
1965 * regcache.c: Likewise.
1966 * remote-fileio.c: Likewise.
1967 * remote-mips.c: Likewise.
1968 * remote.c: Likewise.
1969 * rs6000-aix-tdep.c: Likewise.
1970 * rs6000-nat.c: Likewise.
1971 * skip.c: Likewise.
1972 * solib-darwin.c: Likewise.
1973 * solib-dsbt.c: Likewise.
1974 * solib-frv.c: Likewise.
1975 * solib-ia64-hpux.c: Likewise.
1976 * solib-spu.c: Likewise.
1977 * solib-svr4.c: Likewise.
1978 * solib.c: Likewise.
1979 * spu-tdep.c: Likewise.
1980 * stack.c: Likewise.
1981 * stap-probe.c: Likewise.
1982 * symfile-mem.c: Likewise.
1983 * symmisc.c: Likewise.
1984 * target.c: Likewise.
1985 * thread.c: Likewise.
1986 * top.c: Likewise.
1987 * tracepoint.c: Likewise.
1988 * tui/tui-interp.c: Likewise.
1989 * typeprint.c: Likewise.
1990 * utils.c: Likewise.
1991 * valarith.c: Likewise.
1992 * valops.c: Likewise.
1993 * valprint.c: Likewise.
1994 * value.c: Likewise.
1995 * varobj.c: Likewise.
1996 * windows-nat.c: Likewise.
1997 * xml-support.c: Likewise.
1998
484933d1
MR
19992014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2000
2001 * mips-tdep.c (add_offset_16): Rewrite to implement what the
2002 name implies.
2003 (extended_mips16_next_pc): Update accordingly.
2004
ab50adb6
MR
20052014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2006
2007 * mips-tdep.c (mips16_instruction_is_compact_branch): New
2008 function.
2009 (micromips_instruction_is_compact_branch): Likewise.
2010 (mips16_scan_prologue): Terminate scanning upon seeing a branch
2011 or a compact jump, reaching a jump delay slot, or seeing a
2012 second non-prologue instruction.
2013 (micromips_scan_prologue): Also terminate scanning upon seeing a
2014 compact branch or jump, or reaching a branch or jump delay slot.
2015 (mips32_scan_prologue): Terminate scanning upon reaching a branch
2016 or jump delay slot, or seeing a second non-prologue instruction.
2017 (mips32_instruction_has_delay_slot): Retain instruction
2018 examination code only, update arguments accordingly and move
2019 instruction fetch pieces to...
2020 (mips32_insn_at_pc_has_delay_slot): ... this new function.
2021 (micromips_instruction_has_delay_slot): Likewise and to...
2022 (micromips_insn_at_pc_has_delay_slot): ... this new function.
2023 (mips16_instruction_has_delay_slot): Likewise and to...
2024 (mips16_insn_at_pc_has_delay_slot): ... this new function.
2025 (mips_single_step_through_delay): Update accordingly.
2026 (mips_adjust_breakpoint_address): Likewise.
2027
ae790652
MR
20282014-10-05 Maciej W. Rozycki <macro@codesourcery.com>
2029
2030 * mips-tdep.c (micromips_instruction_has_delay_slot): When
2031 !mustbe32 also return 1 for 32-bit instructions.
2032 (mips16_instruction_has_delay_slot): Likewise. Add an
2033 explanatory comment.
2034
9b807e7b
MR
20352014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
2036
2037 * elfread.c (elf_symtab_read): Also mark solib trampoline minimal
2038 symbols special.
2039
0d5ed153
MR
20402014-10-03 Maciej W. Rozycki <macro@codesourcery.com>
2041
2042 * breakpoint.h (bp_target_info): Add `reqstd_address' member,
2043 update comments.
2044 * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address'
2045 for the breakpoint's address. Don't preinitialize `placed_size'.
2046 (insert_bp_location): Set `reqstd_address' rather than
2047 `placed_address'.
2048 (bp_target_info_copy_insertion_state): Also copy `placed_address'.
2049 (bkpt_insert_location): Use `reqstd_address' for the breakpoint's
2050 address.
2051 (bkpt_remove_location): Likewise.
2052 (deprecated_insert_raw_breakpoint): Likewise.
2053 (deprecated_remove_raw_breakpoint): Likewise.
2054 (find_single_step_breakpoint): Likewise.
2055 * mem-break.c (default_memory_insert_breakpoint): Use
2056 `reqstd_address' for the breakpoint's address. Don't set
2057 `placed_address' or `placed_size' if breakpoint contents couldn't
2058 have been determined.
2059 * remote.c (remote_insert_breakpoint): Use `reqstd_address' for
2060 the breakpoint's address.
2061 (remote_insert_hw_breakpoint): Likewise. Don't set
2062 `placed_address' or `placed_size' if breakpoint couldn't have been
2063 set.
2064 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use
2065 `reqstd_address' for the breakpoint's address.
2066 * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise.
2067 * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise.
2068 * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise.
2069 * microblaze-linux-tdep.c
2070 (microblaze_linux_memory_remove_breakpoint): Likewise.
2071 * monitor.c (monitor_insert_breakpoint): Likewise.
2072 * nto-procfs.c (procfs_insert_breakpoint): Likewise.
2073 (procfs_insert_hw_breakpoint): Likewise.
2074 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise.
2075 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise.
2076 * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise.
2077 * remote-mips.c (mips_insert_breakpoint): Likewise.
2078 * x86-nat.c (x86_insert_hw_breakpoint): Likewise.
2079
3e871532
LM
20802014-10-03 Luis Machado <lgustavo@codesourcery.com>
2081
2082 * valops.c (value_assign): Check for bit field assignments
2083 before calling architecture-specific register value
2084 conversion functions.
2085
ec48dc8b
PM
20862014-10-03 Pierre Muller <muller@sourceware.org>
2087
2088 * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM.
2089
b57bacec
PA
20902014-10-02 Pedro Alves <palves@redhat.com>
2091
2092 * breakpoint.c (breakpoints_should_be_inserted_now): Use
2093 threads_are_executing.
2094 * breakpoint.h (breakpoints_should_be_inserted_now): Add
2095 describing comment.
2096 * gdbthread.h (threads_are_executing): Declare.
2097 (handle_signal_stop) <random signals>: Don't print about the
2098 signal here if stopping.
2099 (end_stepping_range): Don't notify observers here.
2100 (normal_stop): Update the thread list. If stopped by a random
2101 signal or a stepping range ended, notify observers.
2102 * thread.c (threads_executing): New global.
2103 (init_thread_list): Clear 'threads_executing'.
2104 (set_executing): Set or clear 'threads_executing'.
2105 (threads_are_executing): New function.
2106 (update_threads_executing): New function.
2107 (update_thread_list): Use it.
2108
13fd3ff3
PA
21092014-10-02 Pedro Alves <palves@redhat.com>
2110
2111 PR breakpoints/17431
2112 * breakpoint.c (update_breakpoints_after_exec): Don't create
2113 overlay, longjmp, std terminate nor exception breakpoints here.
2114
32990ada
PA
21152014-10-02 Pedro Alves <palves@redhat.com>
2116
2117 * gdbthread.h (any_thread_of_process, any_live_thread_of_process):
2118 Adjust comments.
2119 * inferior.c (find_inferior_for_program_space): Give preference to
2120 the current inferior.
2121 * inferior.h (find_inferior_for_program_space): Update comment.
2122 * progspace.c (switch_to_program_space_and_thread): Prefer the
2123 current inferior if it's bound to the program space requested. If
2124 the inferior found doesn't have a PID yet, don't bother looking up
2125 a thread.
2126 * progspace.h (switch_to_program_space_and_thread): Adjust
2127 comment.
2128 * thread.c (any_thread_of_process, any_live_thread_of_process):
2129 Give preference to the current thread.
2130
0fec99e8
PA
21312014-10-01 Pedro Alves <palves@redhat.com>
2132
2133 * breakpoint.c (insert_bp_location): Error out if inserting a
2134 software breakpoint at a read-only address.
2135 * target.c (memory_xfer_check_region): New function, factored out
2136 from ...
2137 (memory_xfer_partial_1): ... this. Make the 'reg_len' local a
2138 ULONGEST.
2139 (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access
2140 against the memory region attributes.
2141
2ddf4301
SM
21422014-10-01 Simon Marchi <simon.marchi@ericsson.com>
2143
2144 * NEWS: Announce new exit-code field in -list-thread-groups
2145 output.
2146 * inferior.c (exit_inferior_1): Don't clear exit code.
2147 (inferior_appeared): Clear exit code.
2148 * mi/mi-main.c (print_one_inferior): Add printing of the exit
2149 code.
2150
5fdeec1d
PA
21512014-10-01 Pedro Alves <palves@redhat.com>
2152
2153 * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS
2154 GENERATED" along with emacs/vi read-only markers.
2155 * regformats/aarch64.dat: Regenerate.
2156 * regformats/arm-with-iwmmxt.dat: Regenerate.
2157 * regformats/arm-with-neon.dat: Regenerate.
2158 * regformats/arm-with-vfpv2.dat: Regenerate.
2159 * regformats/arm-with-vfpv3.dat: Regenerate.
2160 * regformats/i386/amd64-avx-linux.dat: Regenerate.
2161 * regformats/i386/amd64-avx.dat: Regenerate.
2162 * regformats/i386/amd64-avx512-linux.dat: Regenerate.
2163 * regformats/i386/amd64-avx512.dat: Regenerate.
2164 * regformats/i386/amd64-linux.dat: Regenerate.
2165 * regformats/i386/amd64-mpx-linux.dat: Regenerate.
2166 * regformats/i386/amd64-mpx.dat: Regenerate.
2167 * regformats/i386/amd64.dat: Regenerate.
2168 * regformats/i386/i386-avx-linux.dat: Regenerate.
2169 * regformats/i386/i386-avx.dat: Regenerate.
2170 * regformats/i386/i386-avx512-linux.dat: Regenerate.
2171 * regformats/i386/i386-avx512.dat: Regenerate.
2172 * regformats/i386/i386-linux.dat: Regenerate.
2173 * regformats/i386/i386-mmx-linux.dat: Regenerate.
2174 * regformats/i386/i386-mmx.dat: Regenerate.
2175 * regformats/i386/i386-mpx-linux.dat: Regenerate.
2176 * regformats/i386/i386-mpx.dat: Regenerate.
2177 * regformats/i386/i386.dat: Regenerate.
2178 * regformats/i386/x32-avx-linux.dat: Regenerate.
2179 * regformats/i386/x32-avx.dat: Regenerate.
2180 * regformats/i386/x32-avx512-linux.dat: Regenerate.
2181 * regformats/i386/x32-avx512.dat: Regenerate.
2182 * regformats/i386/x32-linux.dat: Regenerate.
2183 * regformats/i386/x32.dat: Regenerate.
2184 * regformats/microblaze-with-stack-protect.dat: Regenerate.
2185 * regformats/mips-dsp-linux.dat: Regenerate.
2186 * regformats/mips-linux.dat: Regenerate.
2187 * regformats/mips64-dsp-linux.dat: Regenerate.
2188 * regformats/mips64-linux.dat: Regenerate.
2189 * regformats/nios2-linux.dat: Regenerate.
2190 * regformats/rs6000/powerpc-32.dat: Regenerate.
2191 * regformats/rs6000/powerpc-32l.dat: Regenerate.
2192 * regformats/rs6000/powerpc-64l.dat: Regenerate.
2193 * regformats/rs6000/powerpc-altivec32l.dat: Regenerate.
2194 * regformats/rs6000/powerpc-altivec64l.dat: Regenerate.
2195 * regformats/rs6000/powerpc-cell32l.dat: Regenerate.
2196 * regformats/rs6000/powerpc-cell64l.dat: Regenerate.
2197 * regformats/rs6000/powerpc-e500l.dat: Regenerate.
2198 * regformats/rs6000/powerpc-vsx32l.dat: Regenerate.
2199 * regformats/rs6000/powerpc-vsx64l.dat: Regenerate.
2200 * regformats/s390-linux32.dat: Regenerate.
2201 * regformats/s390-linux32v1.dat: Regenerate.
2202 * regformats/s390-linux32v2.dat: Regenerate.
2203 * regformats/s390-linux64.dat: Regenerate.
2204 * regformats/s390-linux64v1.dat: Regenerate.
2205 * regformats/s390-linux64v2.dat: Regenerate.
2206 * regformats/s390-te-linux64.dat: Regenerate.
2207 * regformats/s390x-linux64.dat: Regenerate.
2208 * regformats/s390x-linux64v1.dat: Regenerate.
2209 * regformats/s390x-linux64v2.dat: Regenerate.
2210 * regformats/s390x-te-linux64.dat: Regenerate.
2211 * regformats/tic6x-c62x-linux.dat: Regenerate.
2212 * regformats/tic6x-c62x.dat: Regenerate.
2213 * regformats/tic6x-c64x-linux.dat: Regenerate.
2214 * regformats/tic6x-c64x.dat: Regenerate.
2215 * regformats/tic6x-c64xp-linux.dat: Regenerate.
2216 * regformats/tic6x-c64xp.dat: Regenerate.
2217
db74e4ba
PA
22182014-10-01 Pedro Alves <palves@redhat.com>
2219
2220 * features/Makefile: Update comments.
2221 (XMLTOC): List all xml files we build C files from.
2222 (clean-cfiles): New rule.
2223
d63f2f84
PA
22242014-10-01 Pedro Alves <palves@redhat.com>
2225
2226 * features/i386/amd64-avx512-linux.c: Regenerate.
2227 * features/i386/amd64-avx512.c: Regenerate.
2228 * features/i386/x32-avx512-linux.c: Regenerate.
2229 * features/i386/x32-avx512.c: Regenerate.
2230
20ad026d
PA
22312014-10-01 Pedro Alves <palves@redhat.com>
2232
2233 * features/Makefile (WHICH): Remove arm-with-m,
2234 arm-with-m-fpa-layout and arm-with-m-vfp-d16.
2235
acc9fe45
PA
22362014-10-01 Pedro Alves <palves@redhat.com>
2237
2238 * features/Makefile (clean): New rule.
2239
e001e535
PA
22402014-10-01 Pedro Alves <palves@redhat.com>
2241
2242 * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h)
2243 (zmm14h): Add missing end quotes.
2244
bdc14417
PA
22452014-10-01 Pedro Alves <palves@redhat.com>
2246
2247 * features/aarch64-core.xml (cpsr): Change back to 32-bit.
2248 * features/aarch64.c: Regenerate.
2249
d83ad864
DB
22502014-09-30 Don Breazeal <donb@codesourcery.com>
2251
2252 * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent
2253 code so as to work with follow_fork_inferior.
2254 * inf-ttrace.c (inf_ttrace_follow_fork): Ditto.
2255 (inf_ttrace_create_inferior): Remove reference to
2256 inf_ttrace_vfork_ppid.
2257 (inf_ttrace_attach): Ditto.
2258 (inf_ttrace_detach): Ditto.
2259 (inf_ttrace_kill): Use current_inferior instead of
2260 inf_ttrace_vfork_ppid.
2261 (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report
2262 TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the
2263 inferior away from the parent.
2264 * infrun.c (follow_fork): Call follow_fork_inferior instead of
2265 target_follow_fork.
2266 (follow_fork_inferior): New function.
2267 (follow_inferior_reset_breakpoints): Make function static.
2268 * infrun.h (follow_inferior_reset_breakpoints): Remove declaration.
2269 * linux-nat.c (linux_child_follow_fork): Move target-independent
2270 code to infrun.c:follow_fork_inferior.
2271
29082443
AA
22722014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2273
2274 * gdbarch.sh (regset_from_core_section): Remove gdbarch method.
2275 * gdbarch.c: Regenerate.
2276 * gdbarch.h: Likewise.
2277 * corelow.c (sniff_core_bfd): Drop presence check for deleted
2278 gdbarch method 'regset_from_core_section'.
2279 (get_core_register_section): Remove handling for the case that
2280 regset == NULL and regset_from_core_section is defined.
2281 (get_core_registers): Drop check for deleted method.
2282 * procfs.c (procfs_do_thread_registers): Adjust comment.
2283
f968fe80
AA
22842014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2285
2286 * linux-nat.c (linux_nat_collect_thread_registers): Remove.
2287 (linux_nat_make_corefile_notes): Remove.
2288 (linux_target_install_ops): Do not set target method
2289 'make_corefile_notes'.
2290 * linux-tdep.c (struct linux_corefile_thread_data)<collect>:
2291 Remove field.
2292 (linux_corefile_thread_callback): Instead of args->collect, call
2293 linux_collect_thread_registers.
2294 (linux_make_corefile_notes): Remove 'collect' parameter. Return
2295 NULL unless there is a regset iterator.
2296 (linux_make_corefile_notes_1): Remove.
2297 (linux_init_abi): Replace reference to linux_make_corefile_notes_1
2298 by linux_make_corefile_notes.
2299 * linux-tdep.h (linux_make_corefile_notes): Remove prototype.
2300
174ad59a
AA
23012014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2302
2303 * fbsd-nat.c (find_signalled_thread, find_stop_signal)
2304 (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes):
2305 Remove.
2306 * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype.
2307
97094034
AA
23082014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2309
2310 * xtensa-tdep.c (xtensa_regset_from_core_section): Remove.
2311 (xtensa_iterate_over_regset_sections): New.
2312 (xtensa_gdbarch_init): Adjust gdbarch initialization.
2313
f73d3ce7
AA
23142014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2315
2316 * vax-tdep.c (vax_regset_from_core_section): Remove.
2317 (vax_iterate_over_regset_sections): New.
2318 (vax_gdbarch_init): Adjust gdbarch initialization.
2319
cb24567a
AA
23202014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2321
2322 * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro.
2323 (tilegx_regset_from_core_section): Remove.
2324 (tilegx_iterate_over_regset_sections): New.
2325 (tilegx_linux_init_abi): Adjust gdbarch initialization.
2326
e5139de8
AA
23272014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2328
2329 * sparc-tdep.c (sparc_regset_from_core_section): Remove.
2330 (sparc_iterate_over_regset_sections): New.
2331 (sparc32_gdbarch_init): Adjust gdbarch initialization.
2332 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD
2333 targets.
2334 * sparc64fbsd-tdep.c (fbsd-tdep.h): Include.
2335 (sparc64fbsd_init_abi): Call fbsd_init_abi.
2336 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set
2337 target method 'make_corefile_notes'.
2338
c6d41a6f
AA
23392014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2340
2341 * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields
2342 'sizeof_gregset' and 'sizeof_fpregset'.
2343 * sh-tdep.c (sh_regset_from_core_section): Remove.
2344 (sh_iterate_over_regset_sections): New.
2345 (sh_gdbarch_init): Adjust gdbarch initialization.
2346 * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and
2347 sizeof_fpregset.
2348 * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field
2349 'sizeof_gregset'.
2350
9845a0b5
AA
23512014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2352
2353 * score-tdep.c (score7_linux_regset_from_core_section): Remove.
2354 (score7_linux_iterate_over_regset_sections): New.
2355 (score_gdbarch_init): Adjust gdbarch initialization.
2356
23ea9aeb
AA
23572014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2358
2359 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC
2360 FreeBSD targets.
2361 * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target
2362 method 'make_corefile_notes'.
2363 * ppcfbsd-tdep.c (fbsd-tdep.h): Include.
2364 (ppcfbsd_regset_from_core_section): Remove.
2365 (ppcfbsd_iterate_over_regset_sections): New.
2366 (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch
2367 initialization.
2368 * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove.
2369 (ppcnbsd_iterate_over_regset_sections): New.
2370 (ppcnbsd_init_abi): Adjust.
2371 * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove.
2372 (ppcobsd_iterate_over_regset_sections): New.
2373 (ppcobsd_init_abi): Adjust.
2374 * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove.
2375 (rs6000_aix_iterate_over_regset_sections): New.
2376 (rs6000_aix_init_osabi): Adjust.
2377
c5b8d704
AA
23782014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2379
2380 * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro.
2381 (nios2_regset_from_core_section): Remove.
2382 (nios2_iterate_over_regset_sections): New.
2383 (nios2_linux_init_abi): Adjust gdbarch initialization.
2384
3636e608
AA
23852014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2386
2387 * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove.
2388 (am33_iterate_over_regset_sections): New.
2389 (am33_linux_init_osabi): Adjust gdbarch initialization.
2390
d4036235
AA
23912014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2392
2393 * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove.
2394 (mips_linux_iterate_over_regset_sections): New.
2395 (mips_linux_init_abi): Adjust gdbarch initialization.
2396 * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove.
2397 (mips64obsd_iterate_over_regset_sections): New.
2398 (mips64obsd_init_abi): Adjust.
2399 * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove.
2400 (mipsnbsd_iterate_over_regset_sections): New.
2401 (mipsnbsd_init_abi): Adjust.
2402
b61ddd6e
AA
24032014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2404
2405 * m88k-tdep.c (m88k_regset_from_core_section): Remove.
2406 (m88k_iterate_over_regset_sections): New.
2407 (m88k_gdbarch_init): Adjust gdbarch initialization.
2408
55a2906a
AA
24092014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2410
2411 * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove.
2412 (ia64_linux_iterate_over_regset_sections): New.
2413 (ia64_linux_init_abi): Adjust gdbarch initialization.
2414
022c98ab
AA
24152014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2416
2417 * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove.
2418 (m68kbsd_iterate_over_regset_sections): New.
2419 (m68kbsd_init_abi): Adjust gdbarch initialization.
2420 * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove.
2421 (m68k_linux_iterate_over_regset_sections): New.
2422 (m68k_linux_init_abi): Adjust gdbarch initialization.
2423
5fac247f
AA
24242014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2425
2426 * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro.
2427 (m32r_linux_regset_from_core_section): Remove.
2428 (m32r_linux_iterate_over_regset_sections): New.
2429 (m32r_linux_init_abi): Adjust gdbarch initialization.
2430
490496c3
AA
24312014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2432
2433 * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove.
2434 (amd64obsd_iterate_over_regset_sections): New.
2435 (amd64obsd_core_init_abi): Adjust gdbarch initialization.
2436 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
2437 Remove.
2438 (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop
2439 regset_from_core_section initialization.
2440 * i386-tdep.c (i386_regset_from_core_section): Remove.
2441 (i386_iterate_over_regset_sections): New.
2442 (i386_gdbarch_init): Adjust gdbarch initialization.
2443 * i386-tdep.h (i386_regset_from_core_section): Remove prototype.
2444 (i386_iterate_over_regset_sections): New prototype.
2445 * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section):
2446 Remove.
2447 (i386obsd_aout_iterate_over_regset_sections): New.
2448 (i386obsd_aout_init_abi): Adjust gdbarch initialization.
2449 * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD
2450 targets.
2451 * amd64fbsd-tdep.c (fbsd-tdep.h): Include.
2452 (amd64fbsd_init_abi): Call fbsd_init_abi.
2453 * i386fbsd-tdep.c (fbsd-tdep.h): Include.
2454 (i386fbsd4_init_abi): Call fbsd_init_abi.
2455 * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set
2456 target method 'make_corefile_notes'.
2457 * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise.
2458
50c5eb53
AA
24592014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2460
2461 * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove.
2462 (hppa_hpux_iterate_over_regset_sections): New.
2463 (hppa_hpux_init_abi): Adjust gdbarch initialization.
2464 * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove.
2465 (hppa_linux_iterate_over_regset_sections): New.
2466 (hppa_linux_init_abi): Adjust.
2467 * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
2468 (hppanbsd_iterate_over_regset_sections): New.
2469 (hppanbsd_init_abi): Adjust.
2470 * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove.
2471 (hppaobsd_iterate_over_regset_sections): New.
2472 (hppaobsd_init_abi): Adjust.
2473
66afae4f
AA
24742014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2475
2476 * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove.
2477 (frv_linux_iterate_over_regset_sections): New.
2478 (frv_linux_init_abi): Adjust gdbarch initialization.
2479
ed09174e
AA
24802014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2481
2482 * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype.
2483 (armbsd_iterate_over_regset_sections): New prototype.
2484 * armbsd-tdep.c (armbsd_regset_from_core_section): Remove.
2485 (armbsd_iterate_over_regset_sections): New.
2486 * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch
2487 initialization.
2488
dff2166e
AA
24892014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2490
2491 * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove.
2492 (alpha_linux_iterate_over_regset_sections): New.
2493 (alpha_linux_init_abi): Adjust gdbarch initialization.
2494 * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove
2495 prototype.
2496 (alphanbsd_iterate_over_regset_sections): New prototype.
2497
4108500a
AA
24982014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2499
2500 * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section):
2501 Remove.
2502 (aarch64_linux_iterate_over_regset_sections): New.
2503 (aarch64_linux_init_abi): Adjust gdbarch initialization.
2504
a904c024
AA
25052014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2506
2507 * fbsd-tdep.c: New file.
2508 * fbsd-tdep.h: New file.
2509 * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o.
2510 (HFILES_NO_SRCDIR): Add fbsd-tdep.h.
2511 (ALLDEPFILES): Add fbsd-tdep.c.
2512
8f0435f7
AA
25132014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2514
2515 * gdbarch.sh (iterate_over_regset_sections_cb): Add regset
2516 parameter.
2517 * gdbarch.h: Regenerate.
2518 * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset
2519 iterator.
2520 (get_core_register_section): Add parameter 'regset' and use it, if
2521 set. Add parameter 'min_size' and verify the bfd section size
2522 against it.
2523 (get_core_registers_cb): Add parameter 'regset' and pass it to
2524 get_core_register section. For the "standard" register sections
2525 ".reg" and ".reg2", set an appropriate default for human_name.
2526 (get_core_registers): Don't abort when the gdbarch has an iterator
2527 but no regset_from_core_section. Add NULL/0 for parameters
2528 'regset'/'min_size' in calls to get_core_register_section.
2529 * linux-tdep.c (linux_collect_regset_section_cb): Add parameter
2530 'regset' and use it instead of calling the
2531 regset_from_core_section gdbarch method.
2532 * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'.
2533 * i386-tdep.c (i386_supply_xstateregset)
2534 (i386_collect_xstateregset, i386_xstateregset): Moved to
2535 i386-linux-tdep.c.
2536 (i386_regset_from_core_section): Drop handling for .reg-xfp and
2537 .reg-xstate.
2538 (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic
2539 core file support only if the regset iterator hasn't been set.
2540 * i386-linux-tdep.c (i386_linux_supply_xstateregset)
2541 (i386_linux_collect_xstateregset, i386_linux_xstateregset): New.
2542 Moved from i386-tdep.c and renamed to *_linux*.
2543 (i386_linux_iterate_over_regset_sections): Add regset parameter to
2544 each callback invocation. Allow any .reg-xstate size when reading
2545 from a core file.
2546 * amd64-tdep.c (amd64_supply_xstateregset)
2547 (amd64_collect_xstateregset, amd64_xstateregset): Moved to
2548 amd64-linux-tdep.c.
2549 (amd64_regset_from_core_section): Remove.
2550 (amd64_init_abi): Set new tdep field 'fpregset'. No longer
2551 install an amd64-specific regset_from_core_section gdbarch method.
2552 * amd64-linux-tdep.c (amd64_linux_supply_xstateregset)
2553 (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New.
2554 Moved from amd64-tdep.c and renamed to *_linux*.
2555 (amd64_linux_iterate_over_regset_sections): Add regset parameter
2556 to each callback invocation. Allow any .reg-xstate size when
2557 reading from a core file.
2558 * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove.
2559 (arm_linux_iterate_over_regset_sections): Add regset parameter to
2560 each callback invocation.
2561 (arm_linux_init_abi): No longer set the regset_from_core_section
2562 gdbarch method.
2563 * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove.
2564 (ppc_linux_iterate_over_regset_sections): Add regset parameter to
2565 each callback invocation.
2566 (ppc_linux_init_abi): No longer set the regset_from_core_section
2567 gdbarch method.
2568 * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields
2569 gregset, sizeof_gregset, fpregset, and sizeof_fpregset.
2570 (s390_regset_from_core_section): Remove.
2571 (s390_iterate_over_regset_sections): Add regset parameter to each
2572 callback invocation.
2573 (s390_gdbarch_init): No longer set the regset_from_core_section
2574 gdbarch method. Drop initialization of deleted tdep fields.
2575
5aa82d05
AA
25762014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
2577
2578 * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove.
2579 (amd64_linux_iterate_over_regset_sections): New.
2580 (amd64_linux_init_abi_common): Don't install the regset section
2581 list, but the new iterator in gdbarch.
2582 * arm-linux-tdep.c (arm_linux_fpa_regset_sections)
2583 (arm_linux_vfp_regset_sections): Remove. Move combined logic...
2584 (arm_linux_iterate_over_regset_sections): ...here. New function.
2585 (arm_linux_init_abi): Set iterator instead of section list.
2586 * corelow.c (get_core_registers_cb): New function, logic moved
2587 from...
2588 (get_core_registers): ...loop body here. Use new iterator method
2589 instead of walking through the regset section list.
2590 * gdbarch.sh: Remove 'core_regset_sections'. New method
2591 'iterate_over_regset_sections'. New typedef
2592 'iterate_over_regset_sections_cb'.
2593 * gdbarch.c: Regenerate.
2594 * gdbarch.h: Likewise.
2595 * i386-linux-tdep.c (i386_linux_regset_sections)
2596 (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
2597 Remove.
2598 (i386_linux_iterate_over_regset_sections): New.
2599 (i386_linux_init_abi): Don't choose a regset section list, but
2600 install new iterator in gdbarch.
2601 * linux-tdep.c (struct linux_collect_regset_section_cb_data): New.
2602 (linux_collect_regset_section_cb): New function, logic moved
2603 from...
2604 (linux_collect_thread_registers): ...loop body here. Use iterator
2605 method instead of walking through list.
2606 (linux_make_corefile_notes_1): Check for presence of iterator
2607 method instead of regset section list.
2608 * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections)
2609 (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections)
2610 (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections)
2611 (ppc64_linux_fp_regset_sections): Remove. Move combined logic...
2612 (ppc_linux_iterate_over_regset_sections): ...here. New function.
2613 (ppc_linux_init_abi): Don't choose from above regset section
2614 lists, but install new iterator in gdbarch.
2615 * regset.h (struct core_regset_section): Remove.
2616 * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields
2617 have_linux_v1, have_linux_v2, and have_tdb.
2618 (s390_linux32_regset_sections, s390_linux32v1_regset_sections)
2619 (s390_linux32v2_regset_sections, s390_linux64_regset_sections)
2620 (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections)
2621 (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections)
2622 (s390x_linux64v2_regset_sections): Remove. Move combined logic...
2623 (s390_iterate_over_regset_sections): ...here. New function. Use
2624 new tdep fields.
2625 (s390_gdbarch_init): Set new tdep fields. Don't choose from above
2626 regset section lists, but install new iterator.
2627
2eca4a8d
JK
26282014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
2629
2630 * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd".
2631
a73c2b56
SM
26322014-09-26 Simon Marchi <simon.marchi@ericsson.com>
2633
2634 * progspace.c (print_program_space): Don't prune program spaces
2635 before printing them.
2636
03d46957
PA
26372014-09-25 Pedro Alves <palves@redhat.com>
2638
2639 * infrun.c (user_visible_resume_ptid): Don't check
2640 singlestep_breakpoints_inserted_p.
2641
e558d7c1
PA
26422014-09-25 Pedro Alves <palves@redhat.com>
2643
2644 * breakpoint.c (should_be_inserted): Add debug output.
2645
7f89fd65
PA
26462014-09-25 Pedro Alves <palves@redhat.com>
2647
2648 * infrun.c (stepping_past_instruction_at)
2649 (clear_exit_convenience_vars): Point at infrun.h instead of
2650 inferior.h.
2651 (handle_signal_stop): Fix typo.
2652
b7576e5c
YQ
26532014-09-24 Yao Qi <yao@codesourcery.com>
2654
2655 * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the
2656 bitmask.
2657
9a6cf368
GB
26582014-09-22 Gary Benson <gbenson@redhat.com>
2659
2660 * target.c (target_stop): Updated comment.
2661
03f4463b
GB
26622014-09-22 Gary Benson <gbenson@redhat.com>
2663
2664 * target/target.h (target_stop_ptid): Renamed as...
2665 (target_stop_and_wait): New function. Updated comment.
2666 All uses updated.
2667 (target_continue_ptid): Renamed as...
2668 (target_continue_no_signal): New function. Updated comment.
2669 All uses updated.
2670
a25a5a45
PA
26712014-09-22 Pedro Alves <palves@redhat.com>
2672
2673 * NEWS: Mention merge of "breakpoint always-inserted" modes "off"
2674 and "auto" merged.
2675 * breakpoint.c (enum ugll_insert_mode): New enum.
2676 (always_inserted_mode): Now a plain boolean.
2677 (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO.
2678 (breakpoints_always_inserted_mode): Delete.
2679 (breakpoints_should_be_inserted_now): New function.
2680 (insert_breakpoints): Pass UGLL_INSERT to
2681 update_global_location_list instead of calling
2682 insert_breakpoint_locations manually.
2683 (create_solib_event_breakpoint_1): New, factored out from ...
2684 (create_solib_event_breakpoint): ... this.
2685 (create_and_insert_solib_event_breakpoint): Use
2686 create_solib_event_breakpoint_1 instead of calling
2687 insert_breakpoint_locations manually.
2688 (update_global_location_list): Change parameter type from boolean
2689 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2690 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2691 (update_global_location_list_nothrow): Change parameter type from
2692 boolean to enum ugll_insert_mode.
2693 (_initialize_breakpoint): "breakpoint always-inserted" option is
2694 now a boolean command. Update help text.
2695 * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration.
2696 (breakpoints_should_be_inserted_now): New declaration.
2697 * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>:
2698 Remove breakpoints_always_inserted_mode check.
2699 (normal_stop): Adjust to use breakpoints_should_be_inserted_now.
2700 * remote.c (remote_start_remote): Likewise.
2701
04086b45
PA
27022014-09-22 Pedro Alves <palves@redhat.com>
2703
2704 * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT.
2705 (insert_breakpoints): Don't call insert_breakpoint_locations here.
2706 Instead, pass UGLL_INSERT to update_global_location_list.
2707 (update_global_location_list): Change parameter type from boolean
2708 to enum ugll_insert_mode. All callers adjusted. Adjust to use
2709 breakpoints_should_be_inserted_now and handle UGLL_INSERT.
2710 (create_solib_event_breakpoint_1): New, factored out from ...
2711 (create_solib_event_breakpoint): ... this.
2712 (create_and_insert_solib_event_breakpoint): Use
2713 create_solib_event_breakpoint_1 instead of calling
2714 insert_breakpoint_locations manually.
2715 (update_global_location_list): Handle UGLL_INSERT.
2716
44702360
PA
27172014-09-22 Pedro Alves <palves@redhat.com>
2718
2719 * breakpoint.c (enum ugll_insert_mode): New enum.
2720 (update_global_location_list)
2721 (update_global_location_list_nothrow): Change parameter type from
2722 boolean to enum ugll_insert_mode. All callers adjusted.
2723
93c6145a
JB
27242014-09-19 Joel Brobecker <brobecker@adacore.com>
2725
2726 * MAINTAINERS: Add Sergio Durigan Junior as maintainer of
2727 SystemTap support in GDB.
2728
89a5711c
DB
27292014-09-19 Don Breazeal <donb@codesourcery.com>
2730
2731 * linux-nat.c (linux_handle_extended_wait): Call
2732 linux_ptrace_get_extended_event.
2733 (wait_lwp): Call linux_is_extended_waitstatus.
2734 (linux_nat_filter_event): Call linux_ptrace_get_extended_event
2735 and linux_is_extended_waitstatus.
2736 * nat/linux-ptrace.c (linux_test_for_tracefork): Call
2737 linux_ptrace_get_extended_event.
2738 (linux_ptrace_get_extended_event): New function.
2739 (linux_is_extended_waitstatus): New function.
2740 * nat/linux-ptrace.h (linux_ptrace_get_extended_event)
2741 (linux_is_extended_waitstatus): New declarations.
2742
c3b7b696
YQ
27432014-09-19 Yao Qi <yao@codesourcery.com>
2744
2745 * dwarf2read.c (dwarf_decode_lines): Update declaration.
2746 (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update
2747 comments. Callers update.
2748 (dwarf_decode_lines): Likewise.
2749 (dwarf_decode_lines_1): Add argument 'lowpc'. Update
2750 comments. Skip the line table if 'lowpc' is greater than
2751 'address'. Don't check
2752 dwarf2_per_objfile->has_section_at_zero.
2753
2b4fd423
DE
27542014-09-18 Doug Evans <dje@google.com>
2755
2756 * NEWS: Mention new "producer" attribute of gdb.Symtab.
2757 * python/py-symtab.c (stpy_get_producer): New function.
2758 (symtab_object_getset): Add "producer" attribute.
2759
5e43d467
UW
27602014-09-17 Ulrich Weigand  <uweigand@de.ibm.com>
2761
2762 PR gdb/17384
2763 * corefile.c (struct captured_read_memory_integer_arguments): Remove.
2764 (do_captured_read_memory_integer): Remove.
2765 (safe_read_memory_integer): Use target_read_memory directly instead
2766 of catching errors in do_captured_read_memory_integer.
2767
04e79979
MR
27682014-09-16 Maciej W. Rozycki <macro@codesourcery.com>
2769
2770 * CONTRIBUTE (Coding Standards): For internals refer to wiki,
2771 not gdb/doc.
2772
76aeec5b
SDJ
27732014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2774
2775 * objc-lang.c (find_implementation_from_class): Remove dead code.
2776
2f693f9d
SDJ
27772014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
2778
2779 PR cli/7233
2780 * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by
2781 "fprintf_unfiltered (gdb_stdlog...)".
2782
bb9d5f81
PP
27832014-09-16 Patrick Palka <patrick@parcs.ath.cx>
2784
2785 PR breakpoints/12526
2786 * breakpoint.h (struct watchpoint): New fields val_bitpos and
2787 val_bitsize.
2788 * breakpoint.c (watch_command_1): Use these fields to retain
2789 bitfield information.
2790 (extract_bitfield_from_watchpoint_value): New function.
2791 (watchpoint_check): Use it.
2792 (update_watchpoint): Use it. Optimize the address and length of a
2793 HW watchpoint pointing to a bitfield.
2794 * value.h (unpack_value_bitfield): New prototype.
2795 * value.c (unpack_value_bitfield): Make extern.
2796
05db5edd
ST
27972014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2798
2799 * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and
2800 x86-dregs.o.
2801 * gnu-nat.c (inf_threads): New function.
2802 * gnu-nat.h (inf_threads_ftype): New typedef.
2803 (inf_threads): New declaration.
2804 * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h".
2805 [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set)
2806 (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control)
2807 (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr)
2808 (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status)
2809 (i386_gnu_dr_get_control): New functions.
2810 (reg_addr): New structure.
2811 (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware
2812 i386 debugging register hooks.
2813 * NEWS: Mention this.
2814
5a578da5
OJ
28152014-08-13 Omair Javaid <omair.javaid@linaro.org>
2816
2817 * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for
2818 vector data transfer instructions.
2819 (arm_record_coproc_data_proc): Updated.
2820
f20f80dd
OJ
28212014-08-13 Omair Javaid <omair.javaid@linaro.org>
2822
2823 * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with
2824 arm_record_exreg_ld_st_insn.
2825 (arm_record_exreg_ld_st_insn): Add record handler for ex-register
2826 load/store insns.
2827
851f26ae
OJ
28282014-08-13 Omair Javaid <omair.javaid@linaro.org>
2829
2830 * arm-tdep.c (arm_record_coproc_data_proc): Updated.
2831 (arm_record_vfp_data_proc_insn): Added record handler for VFP data
2832 processing instructions.
2833
1e1b6563
OJ
28342014-08-13 Omair Javaid <omair.javaid@linaro.org>
2835
2836 * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler
2837 for advance SIMD struct ld/st insn.
2838 (thumb2_record_decode_insn_handler): Replace stub handler with
2839 thumb2_record_asimd_struct_ld_st.
2840
60cc5e93
OJ
28412014-08-13 Omair Javaid <omair.javaid@linaro.org>
2842
2843 * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs
2844 for asimd, vfp and coprocessor insns.
2845 (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp
2846 and coprocessor insns.
2847 (thumb2_record_coproc_insn): New function.
2848 (thumb2_record_decode_insn_handler): Update coprocessor insns record
2849 handlers.
2850 (decode_insn): Install arm_record_asimd_vfp_coproc as handler for
2851 opcode 110 insns.
2852
81219e53
DE
28532014-09-13 Doug Evans <xdje42@gmail.com>
2854
2855 * NEWS: Mention new "queue-signal" command.
2856 * infcmd.c (queue_signal_command): New function.
2857 (_initialize_infcmd): Add new queue-signal command.
2858
d36bf488
DE
28592014-09-13 Doug Evans <xdje42@gmail.com>
2860
2861 * linux-nat.c (wait_lwp): Add debugging printf.
2862 (linux_nat_wait_1): Ditto.
2863
f37f681c
PA
28642014-09-12 Pedro Alves <palves@redhat.com>
2865
2866 * breakpoint.c (remove_solib_event_breakpoints_at_next_stop)
2867 (create_and_insert_solib_event_breakpoint): New functions.
2868 * breakpoint.h (create_and_insert_solib_event_breakpoint)
2869 (remove_solib_event_breakpoints_at_next_stop): New declarations.
2870 * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals.
2871 (remove_dbx_link_breakpoint): Delete function.
2872 (insert_dbx_link_bpt_in_file): Use
2873 create_and_insert_solib_event_breakpoint instead of
2874 deprecated_insert_raw_breakpoint.
2875 (procfs_wait): Don't check whether we hit __dbx_link here.
2876 (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint
2877 here.
2878 * solib-irix.c (base_breakpoint): Delete global.
2879 (disable_break): Delete function.
2880 (enable_break): Use create_solib_event_breakpoint
2881 instead of deprecated_insert_raw_breakpoint.
2882 (irix_solib_handle_event): New function.
2883 (irix_solib_create_inferior_hook): Don't run the target or disable
2884 the mapping-complete breakpoint here.
2885 (_initialize_irix_solib): Install irix_solib_handle_event as
2886 so_ops->handle_event hook.
2887
9d9bf2df
EBM
28882014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2889 Ulrich Weigand  <uweigand@de.ibm.com>
2890
2891 PR tdep/17379
2892 * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer
2893 instead of read_memory_unsigned_integer.
2894
b006a80e
GB
28952014-09-12 Gary Benson <gbenson@redhat.com>
2896
2897 * nat/linux-waitpid.c: Include common-defs.h.
2898 [GDBSERVER]: Add FIXME comment.
2899 [!GDBSERVER]: Don't include defs.h or signal.h.
2900 (linux_debug) [!GDBSERVER]: Remove empty block.
2901
296b1496
GB
29022014-09-12 Gary Benson <gbenson@redhat.com>
2903
2904 * nat/x86-dregs.c: Include common-defs.h and break-common.h.
2905 Don't include defs.h or server.h.
2906
53f81362
GB
29072014-09-12 Gary Benson <gbenson@redhat.com>
2908
2909 * nat/linux-btrace.c: Include common-defs.h.
2910 Don't include defs.h, server.h or gdbthread.h.
2911 * nat/linux-btrace.h (struct target_ops): New forward declaration.
2912
727605ca
GB
29132014-09-12 Gary Benson <gbenson@redhat.com>
2914
2915 * common/agent.c: Include common-defs.h.
2916 Don't include defs.h or server.h.
2917 * common/buffer.c: Likewise.
2918 * common/common-debug.c: Likewise.
2919 * common/common-utils.c: Likewise.
2920 * common/errors.c: Likewise.
2921 * common/filestuff.c: Likewise.
2922 * common/format.c: Likewise.
2923 * common/gdb_vecs.c: Likewise.
2924 * common/print-utils.c: Likewise.
2925 * common/ptid.c: Likewise.
2926 * common/rsp-low.c: Likewise.
2927 * common/signals.c: Likewise.
2928 * common/vec.c: Likewise.
2929 * common/xml-utils.c: Likewise.
2930 * nat/linux-osdata.c: Likewise.
2931 * nat/linux-procfs.c: Likewise.
2932 * nat/linux-ptrace.c: Likewise.
2933 * nat/mips-linux-watch.c: Likewise.
2934 * target/waitstatus.c: Likewise.
2935
361c8ade
GB
29362014-09-12 Tom Tromey <tromey@redhat.com>
2937 Gary Benson <gbenson@redhat.com>
2938
2939 * common/common-regcache.h: New file.
2940 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h.
2941 * regcache.h: Include common-regcache.h.
2942 (regcache_read_pc): Don't declare.
2943 * regcache.c (get_thread_regcache_for_ptid): New function.
2944 * nat/linux-btrace.c: Don't include regcache.h.
2945 Include common-regcache.h.
2946 (perf_event_read_bts): Use get_thread_regcache_for_ptid.
2947
a01cbb49
TS
29482014-09-11 Thomas Schwinge <thomas@codesourcery.com>
2949
2950 * regcache.h (struct regset): Declare.
2951
98880d46
PA
29522014-09-11 Pedro Alves <palves@redhat.com>
2953
2954 PR gdb/17347
2955 * main.c: Include "infrun.h".
2956 (catch_command_errors, catch_command_errors_const): Wait for the
2957 foreground command to complete.
2958 * top.c (maybe_wait_sync_command_done): New function, factored out
2959 from ...
2960 (maybe_wait_sync_command_done): ... here.
2961 * top.h (maybe_wait_sync_command_done): New declaration.
2962
bd9269f7
GB
29632014-09-11 Tom Tromey <tromey@redhat.com>
2964 Gary Benson <gbenson@redhat.com>
2965
2966 * common/symbol.h: New file.
2967 * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h.
2968 * minsyms.c (find_minimal_symbol_address): New function.
2969 * common/agent.c: Include common/symbol.h.
2970 [!GDBSERVER]: Don't include objfiles.h.
2971 (agent_look_up_symbols): Use find_minimal_symbol_address.
2972
f8c1d06b
GB
29732014-09-11 Gary Benson <gbenson@redhat.com>
2974
2975 * target/target.h (target_stop_ptid, target_continue_ptid):
2976 Declare.
2977 * target.c (target_stop_ptid, target_continue_ptid): New
2978 functions.
2979 * common/agent.c [!GDBSERVER]: Don't include infrun.h.
2980 (agent_run_command): Always use target_stop_ptid and
2981 target_continue_ptid.
2982
721ec300
GB
29832014-09-11 Tom Tromey <tromey@redhat.com>
2984 Gary Benson <gbenson@redhat.com>
2985
2986 * target/target.h: New file.
2987 * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h.
2988 * target.h: Include target/target.h.
2989 (target_read_memory, target_write_memory): Don't declare.
2990 * target.c (target_read_uint32): New function.
2991 * common/agent.c: Include target/target.h.
2992 [!GDBSERVER]: Don't include target.h.
2993 (helper_thread_id): Type changed to uint32_t.
2994 (agent_get_helper_thread_id): Use target_read_uint32.
2995 (agent_run_command): Always use target_read_memory and
2996 target_write_memory.
2997 (agent_capability): Type changed to uint32_t.
2998 (agent_capability_check): Use target_read_uint32.
2999
c5e92cca
GB
30002014-09-11 Gary Benson <gbenson@redhat.com>
3001
3002 * common/common-debug.h (show_debug_regs): Declare.
3003 * common/common-debug.c (show_debug_regs): Define.
3004 * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace
3005 all uses with show_debug_regs. Replace all uses that considered
3006 debug_hw_points as a multi-value integer with straight boolean
3007 uses.
3008 * x86-nat.c (debug_hw_points): Don't define. Replace all uses
3009 with show_debug_regs.
3010 * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace
3011 all uses with show_debug_regs.
3012 * mips-linux-nat.c (maint_show_dr): Don't define. Replace all
3013 uses with show_debug_regs.
3014
eeef931a
UW
30152014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
3016
3017 * findvar.c (address_from_register): Handle targets requiring
3018 a special conversion routine even for plain pointer types.
3019
8efa9855
UW
30202014-09-10 Ulrich Weigand  <uweigand@de.ibm.com>
3021
3022 * rs6000-nat.c (exec_one_dummy_insn): Remove.
3023 (store_register): Do not call exec_one_dummy_insn.
3024
eb479039
JB
30252014-09-10 Joel Brobecker <brobecker@adacore.com>
3026
3027 * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR,
3028 dereference it first. Use value_enclosing_type instead of
3029 value_type.
3030 (ada_array_length): Likewise.
3031
deede10c
JB
30322014-09-10 Joel Brobecker <brobecker@adacore.com>
3033
3034 * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type".
3035 Adjust function implementation and documentation accordingly.
3036 (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if
3037 NOSIDE is EVAL_AVOID_SIDE_EFFECTS.
3038 Update call to ada_value_ptr_subscript.
3039
7828a5f5
JB
30402014-09-10 Joel Brobecker <brobecker@adacore.com>
3041
3042 * ada-valprint.c (ada_value_print): Use VAL's enclosing type
3043 instead of VAL's type.
3044
35782f14
JB
30452014-09-10 Joel Brobecker <brobecker@adacore.com>
3046
3047 * amd64-linux-nat.c: Add <sys/uio.h> #include.
3048
d342a0da
DE
30492014-09-09 Doug Evans <xdje42@gmail.com>
3050
3051 PR guile/17367
3052 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as
3053 last parameter to pkg-config, not first.
3054 * configure.ac: Pass --with-guile provided pkg-config path to
3055 GDB_GUILE_PROGRAM_NAMES.
3056 * configure: Regenerate.
3057
b4a3d263
GKB
30582014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be>
3059
3060 * MAINTAINERS (Write After Approval): Add "Gabriel Krisman
3061 Bertazi".
3062
6e466374
MR
30632014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3064
3065 * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections):
3066 Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from
3067 the list of sections determining GDB_OSABI_IRIX.
3068
a1ada89a
JH
30692014-09-09 James Hogan <james.hogan@imgtec.com>
3070
3071 * MAINTAINERS (Write After Approval): Add "James Hogan".
3072
86db008d
JH
30732014-09-09 James Hogan <james.hogan@imgtec.com>
3074
3075 * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration.
3076
72fde3df
JB
30772014-09-09 Joel Brobecker <brobecker@adacore.com>
3078
3079 * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include.
3080
92d8d229
DE
30812014-09-08 Doug Evans <xdje42@gmail.com>
3082
3083 PR 17247
3084 * guile.c: #include <signal.h>.
3085 (_initialize_guile): Block SIGCHLD while initializing Guile.
3086
3087 Replaces the following, which is reverted.
3088
3089 2014-07-26 Doug Evans <xdje42@gmail.com>
3090
3091 PR 17185
3092 * configure.ac: Add check for header gc/gc.h.
3093 Add check for function setenv.
3094 * configure: Regenerate.
3095 * config.in: Regenerate.
3096 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
3097
d81412aa
DE
30982014-09-08 Doug Evans <xdje42@gmail.com>
3099
3100 * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number
3101 with named constant. Fix style of pointer comparison.
3102 * python/py-cmd.c (gdbpy_parse_command_name): Ditto.
3103
a9f116cb
GKB
31042014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
3105
3106 PR gdb/17035
3107 * cli/cli-cmds.c (show_user): Use cli_user_command_p to
3108 decide whether we display the command on "show user".
3109 * cli/cli-script.c (show_user_1): Only verify cmdlines after
3110 printing command name.
3111 * cli/cli-decode.h (cli_user_command_p): Declare new function.
3112 * cli/cli-decode.c (cli_user_command_p): Create helper function
3113 to verify whether cmd_list_element is a user-defined command.
3114
c75bd3a2
JK
31152014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
3116
3117 PR python/17355
3118 * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL.
3119 Fix goto out of TRY_CATCH.
3120
faa42425 31212014-09-06 Doug Evans <xdje42@gmail.com>
1a52a81c 3122 Tom Tromey <tromey@redhat.com>
faa42425
DE
3123
3124 PR 15276
3125 * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is,
3126 $_any_caller_matches.
3127 * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py.
3128 * python/lib/gdb/function/caller_is.py: New file.
3129
0d41ba00
DE
31302014-09-06 Doug Evans <xdje42@gmail.com>
3131
3132 * infcmd.c (program_info): Fix typo.
3133
474ca4f6
SDJ
31342014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
3135
3136 PR gdb/17235
3137 * stap-probe.c (stap_parse_single_operand): Delete unused variable
3138 'number'. New variable 'has_digit'. Rewrite code to deal with
3139 subexpressions on SDT probes.
3140
ebf13736
PA
31412014-09-04 Pedro Alves <palves@redhat.com>
3142
3143 * c-exp.y (parse_number): Skip handling base-switching prefixes if
3144 the input is only one character long.
3145
eb0b0463
SDJ
31462014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
3147
3148 PR fortran/17237
3149 * f-valprint.c (f_val_print): Specify the correct print option to
3150 use when printing integer values.
3151
5ee44bfa
GB
31522014-09-04 Gary Benson <gbenson@redhat.com>
3153
3154 * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set):
3155 Remove code to cope with LWPs wrapped as PIDs.
3156 Add assertions to ensure no wrapped LWPs are passed.
3157
4875ffdb
PA
31582014-09-04 Pedro Alves <palves@redhat.com>
3159
3160 * value.c (value_ranges_copy_adjusted): New function, factored out
3161 from ...
3162 (value_contents_copy_raw): ... here.
3163 (unpack_value_bits_as_long_1): Rename back to ...
3164 (unpack_bits_as_long): ... this. Remove 'original_value' and
3165 'result' parameters. Change return type to LONGEST.
3166 (unpack_value_bits_as_long): Delete.
3167 (unpack_value_field_as_long_1): Delete.
3168 (unpack_value_field_as_long, unpack_field_as_long): Reimplement.
3169 (unpack_value_bitfield): New function.
3170 (value_field_bitfield): Reimplement using unpack_value_bitfield.
3171 (value_fetch_lazy): Use unpack_value_bitfield.
3172 * value.h (unpack_value_bits_as_long): Delete declaration.
3173
5f3b99cf
SS
31742014-09-03 Sasha Smundak <asmundak@google.com>
3175
3176 * python/py-frame.c (frapy_read_register): New function.
3177
ac740bc7
JH
31782014-09-03 James Hogan <james.hogan@imgtec.com>
3179
3180 * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0
3181 prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call.
3182
7d793aa9
SDJ
31832014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
3184
3185 PR python/16699
3186 * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New
3187 function.
3188 (add_cmd): Set "completer_handle_brkchars" to NULL.
3189 * cli/cli-decode.h (struct cmd_list_element)
3190 <completer_handle_brkchars>: New field.
3191 * command.h (completer_ftype_void): New typedef.
3192 (set_cmd_completer_handle_brkchars): New prototype.
3193 * completer.c (set_gdb_completion_word_break_characters): New
3194 function.
3195 (complete_line_internal): Call "completer_handle_brkchars"
3196 callback from command.
3197 * completer.h: Include "command.h".
3198 (set_gdb_completion_word_break_characters): New prototype.
3199 * python/py-cmd.c (cmdpy_completer_helper): New function.
3200 (cmdpy_completer_handle_brkchars): New function.
3201 (cmdpy_completer): Adjust to use cmdpy_completer_helper.
3202 (cmdpy_init): Set completer_handle_brkchars to
3203 cmdpy_completer_handle_brkchars.
3204
97ea6506
GB
32052014-09-03 Gary Benson <gbenson@redhat.com>
3206
3207 * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as...
3208 (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated.
3209 Loop conditions changed to equivalent form.
3210 (struct x86_debug_reg_state): Updated dr_ref_count comment.
3211 * x86-linux-nat.c (x86_linux_prepare_to_resume): Use
3212 ALL_DEBUG_ADDRESS_REGISTERS.
3213
d1437815
JB
32142014-09-03 Joel Brobecker <brobecker@adacore.com>
3215
3216 * dwarf2loc.h (dwarf2_evaluate_property): Minor function
3217 description fix.
3218
9b94fcf1
DE
32192014-09-02 Doug Evans <dje@google.com>
3220
3221 * typeprint.c (find_global_typedef): Fix comment.
3222
df7e5265
GB
32232014-09-02 Gary Benson <gbenson@redhat.com>
3224
3225 * i386-nat.h: Renamed as...
3226 * x86-nat.h: New file. All type, function and variable name
3227 prefixes changed from "i386_" to "x86_". All references updated.
3228 * i386-nat.c: Renamed as...
3229 * x86-nat.c: New file. All type, function and variable name
3230 prefixes changed from "i386_" to "x86_". All references updated.
3231 * common/i386-xstate.h: Renamed as...
3232 * common/x86-xstate.h: New file. All type, function and variable
3233 name prefixes changed from "i386_" to "x86_". All references
3234 updated.
3235 * nat/i386-cpuid.h: Renamed as...
3236 * nat/x86-cpuid.h: New file. All type, function and variable name
3237 prefixes changed from "i386_" to "x86_". All references updated.
3238 * nat/i386-gcc-cpuid.h: Renamed as...
3239 * nat/x86-gcc-cpuid.h: New file. All type, function and variable
3240 name prefixes changed from "i386_" to "x86_". All references
3241 updated.
3242 * nat/i386-dregs.h: Renamed as...
3243 * nat/x86-dregs.h: New file. All type, function and variable name
3244 prefixes changed from "i386_" to "x86_". All references updated.
3245 * nat/i386-dregs.c: Renamed as...
3246 * nat/x86-dregs.c: New file. All type, function and variable name
3247 prefixes changed from "i386_" to "x86_". All references updated.
3248
1c3569d4
MR
32492014-09-01 Maciej W. Rozycki <macro@codesourcery.com>
3250
3251 * varobj.c (_initialize_varobj): Move to the end of file.
3252
ff55e1b5
GB
32532014-08-29 Gary Benson <gbenson@redhat.com>
3254
3255 * common/common-exceptions.h: New file.
3256 * common/common-exceptions.c: Likewise.
3257 * Makefile.in (SFILES): Add common/common-exceptions.c.
3258 (HFILES_NO_SRCDIR): Add common/common-exceptions.h.
3259 (COMMON_OBS): Add common-exceptions.o.
3260 (common-exceptions.o): New rule.
3261 * exceptions.h (common-exceptions.h): Include.
3262 (gdb_setjmp.h): Do not include.
3263 (return_reason): Moved to common-exceptions.h.
3264 (enum return_reason): Likewise.
3265 (RETURN_MASK): Likewise.
3266 (typedef return_mask): Likewise.
3267 (enum errors): Likewise.
3268 (struct gdb_exception): Likewise.
3269 (exceptions_state_mc_init): Likewise.
3270 (exceptions_state_mc_action_iter): Likewise.
3271 (exceptions_state_mc_action_iter_1): Likewise.
3272 (TRY_CATCH): Likewise.
3273 (throw_exception): Likewise.
3274 (throw_verror): Likewise.
3275 (throw_vquit): Likewise.
3276 (throw_error): Likewise.
3277 (throw_quit): Likewise.
3278 * exceptions.c (enum catcher_state): Moved to common-exceptions.c.
3279 (enum catcher_action): Likewise.
3280 (struct catcher): Likewise.
3281 (current_catcher): Likewise.
3282 (catcher_list_size): Likewise.
3283 (exceptions_state_mc_init): Likewise.
3284 (catcher_pop): Likewise.
3285 (exceptions_state_mc): Likewise.
3286 (exceptions_state_mc_action_iter): Likewise.
3287 (exceptions_state_mc_action_iter_1): Likewise.
3288 (throw_exception): Likewise.
3289 (exception_messages): Likewise.
3290 (exception_messages_size): Likewise.
3291 (throw_it): Likewise.
3292 (throw_verror): Likewise.
3293 (throw_vquit): Likewise.
3294 (throw_error): Likewise.
3295 (throw_quit): Likewise.
3296 (prepare_to_throw_exception): New function.
3297
e9bcb658
GB
32982014-08-29 Gary Benson <gbenson@redhat.com>
3299
3300 * common/gdb_setjmp.h: New file.
3301 * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h.
3302 * configure.ac: Move sigsetjmp check...
3303 * common/common.m4: ...here.
3304 * configure: Regenerate.
3305 * cp-support.c (SIGJMP_BUF): Delete.
3306 (SIGSETJMP): Likewise.
3307 (SIGLONGJMP): Likewise.
3308 * exceptions.h (gdb_setjmp.h): Include.
3309 (setjmp.h): Do not include.
3310 (EXCEPTIONS_SIGJMP_BUF): Delete.
3311 (EXCEPTIONS_SIGSETJMP): Likewise.
3312 (EXCEPTIONS_SIGLONGJMP): Likewise.
3313 Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros
3314 from gdb_setjmp.h.
3315 * exceptions.c: Likewise.
3316
e3180625
GB
33172014-08-29 Gary Benson <gbenson@redhat.com>
3318
3319 * cleanups.h: Moved to...
3320 * common/cleanups.h: New file.
3321 * cleanups.c: Moved to...
3322 * common/cleanups.c: New file. Include common-defs.h and
3323 cleanups.h. Do not include defs.h.
3324 * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c.
3325 (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h.
3326 (cleanups.o): New rule.
3327
e3d6ba5d
GB
33282014-08-29 Gary Benson <gbenson@redhat.com>
3329
3330 * common/errors.h (internal_warning): New declaration.
3331 (internal_vwarning): Likewise.
3332 * common/errors.c (internal_warning): New function.
3333 * utils.h (internal_warning): Don't declare.
3334 (internal_vwarning): Likewise.
3335 * utils.c (internal_warning): Removed.
3336
075c7033
GB
33372014-08-29 Gary Benson <gbenson@redhat.com>
3338
3339 * main.c (captured_main): Use warning during startup.
3340 Prefix startup warning messages with command name.
3341
91b35fd0
GB
33422014-08-29 Gary Benson <gbenson@redhat.com>
3343
3344 * main.c (captured_main): Handle usage errors with error.
3345
b1ec390e
GB
33462014-08-29 Gary Benson <gbenson@redhat.com>
3347
3348 * go32-nat.c (go32_create_inferior): Replace a fprintf/
3349 exit pair with a call to error. Wrap the message with _().
3350
fd0ef3dd
GB
33512014-08-29 Gary Benson <gbenson@redhat.com>
3352
3353 * main.c (captured_main): Replace a fprintf/exit
3354 pair with a call to error. Wrap the message with _().
3355
e0e6bcab
GB
33562014-08-29 Gary Benson <gbenson@redhat.com>
3357
3358 * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit
3359 pairs with calls to error. Wrap the message with _().
3360
0d2f5c07
GB
33612014-08-29 Gary Benson <gbenson@redhat.com>
3362
3363 * utils.c (vwarning): Protect calls to target_terminal_ours
3364 and wrap_here.
3365
5df43998
GB
33662014-08-29 Gary Benson <gbenson@redhat.com>
3367
3368 * exceptions.c (print_flush): Protect calls to
3369 target_terminal_ours and wrap_here.
3370
2437fd32
GB
33712014-08-29 Gary Benson <gbenson@redhat.com>
3372
3373 * utils.h (filtered_printing_initialized): New declaration.
3374 * utils.c (abort_with_message): New function.
3375 (internal_vproblem): Use abort_with_message for first level
3376 recursive internal problems, and if gdb_stderr is not set up.
3377 Protect calls to target_terminal_ours, begin_line and query.
3378
f1f58506
DE
33792014-08-28 Doug Evans <dje@google.com>
3380
3381 * symtab.c (in_prologue): Move definition to better spot.
3382 (skip_prologue_using_sal): Ditto.
3383
aab2f208
DE
33842014-08-28 Doug Evans <dje@google.com>
3385
3386 * symtab.c (find_function_start_sal): Move definition to better spot.
3387
6b65d1b6
YQ
33882014-08-28 Yao Qi <yao@codesourcery.com>
3389
3390 * arm-tdep.c (thumb_in_function_epilogue_p): Don't set
3391 found_stack_adjust in forward scan. Remove condition check
3392 on found_stack_adjust which is always true. Indent the code.
3393
a1b34d15
YQ
33942014-08-28 Yao Qi <yao@codesourcery.com>
3395
3396 * dwarf2read.c (dwarf_decode_lines): Update declaration.
3397 (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO.
3398 (dwarf_decode_lines): Remove argument
3399 want_line_info. Remove condition check on want_line_info.
3400 Callers update.
3401
d5962de5
DE
34022014-08-27 Doug Evans <dje@google.com>
3403
3404 * dwarf2read.c (dwarf_record_line): Fix typo.
3405
9b139002
SDJ
34062014-08-27 Patrick Palka <patrick@parcs.ath.cx>
3407
3408 * target.h (struct target_ops::to_terminal_save_ours): Remove
3409 declaration.
3410 (target_terminal_save_ours): Remove macro.
3411 * target-delegates.c: Regenerate.
3412 * inf-child.c (inf_child_target): Don't set the nonexistent
3413 field to_terminal_save_ours.
3414 * inferior.h (child_terminal_save_ours): Remove declaration.
3415 * terminal.h (gdb_save_tty_state): New declaration.
3416 * inflow.c (child_terminal_save_ours): Rename to ...
3417 (gdb_save_tty_state): ... this.
3418 * tui/tui.c: Include terminal.h.
3419 (tui_enable): Use gdb_save_tty_state instead of
3420 target_terminal_save_ours.
3421 (tui_disable): Likewise.
3422
9debeba0
DE
34232014-08-25 Doug Evans <dje@google.com>
3424
3425 * linux-nat.c (linux_nat_close): Don't pass NULL for "this".
3426 Pass NULL instead of 0 for context pointer.
3427
428fc5fc
YQ
34282014-08-25 Yao Qi <yao@codesourcery.com>
3429
3430 * dwarf2read.c: Fix grammatical error.
3431
cdc07690
YQ
34322014-08-24 Yao Qi <yao@codesourcery.com>
3433
3434 * dwarf2read.c (scan_partial_symbols): Update comments.
3435 Rename argument 'need_pc' with 'set_addrmap'.
3436 (add_partial_namespace): Rename argument 'need_pc' with
3437 'set_addrmap'.
3438 (add_partial_module): Likewise.
3439 (add_partial_subprogram): Likewise. Update comments.
3440 (dwarf2_name): Fix typo.
3441
a05a36a5
DE
34422014-08-22 Doug Evans <dje@google.com>
3443
3444 PR 17276
3445 * dwarf2read.c (dwarf_record_line_p): New function.
3446 (dwarf_decode_lines_1): Ignore subsequent line number entries
3447 for the same line if any entry had a non-zero discriminator.
3448
252a6764
DE
34492014-08-22 Doug Evans <dje@google.com>
3450
3451 * buildsym.h (record_line_ftype): New typedef.
3452 (record_line): Use it.
3453 * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions.
3454 (dwarf_decode_lines_1): Call them.
3455
510db052
YQ
34562014-08-22 Yao Qi <yao@codesourcery.com>
3457
3458 * ctf.c (CTF_FILE_MIN_SIZE): Remove.
3459 (ctf_end): Remove code.
3460
22fd09ae
JK
34612014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3462
3463 * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED.
3464 (linux_make_corefile_notes): call update_thread_list, protected against
3465 exceptions.
3466
656e8868
PA
34672014-08-21 Pedro Alves <palves@redhat.com>
3468
3469 * infcmd.c (attach_command): Remove comment.
3470
de589d04
WN
34712014-08-21 Bin Cheng <bin.cheng@arm.com>
3472
3473 * aarch64-linux-nat.c (dr_changed_t): Change the type from
3474 unsigned LONGEST to ULONGEST.
3475
2a31c623
PA
34762014-08-20 Pedro Alves <palves@redhat.com>
3477
3478 * Makefile.in (check-read1): New rule.
3479
d36430db
JB
34802014-08-20 Joel Brobecker <brobecker@adacore.com>
3481
3482 * value.c (value_from_contents_and_address): Strip resolved_type's
3483 typedef layers before checking its TYPE_DATA_LOCATION.
3484
000339af
PA
34852014-08-20 Pedro Alves <palves@redhat.com>
3486
3487 * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall.
3488
5f52445b
YQ
34892014-08-20 Yao Qi <yao@codesourcery.com>
3490
3491 * amd64-tdep.c (amd64_classify): Add a blank line after the
3492 example. Move "*/" to a new line.
3493 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise.
3494 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise.
3495 * dwarf2read.c (psymtab_include_file_name): Likewise.
3496
9a0dc9e3
PA
34972014-08-19 Andrew Burgess <aburgess@broadcom.com>
3498 Pedro Alves <palves@redhat.com>
3499
3500 PR symtab/14604
3501 PR symtab/14605
3502 * ada-lang.c (coerce_unspec_val_to_type): Use
3503 value_contents_copy_raw.
3504 * ada-valprint.c (val_print_packed_array_elements): Adjust.
3505 * c-valprint.c (c_val_print): Use value_bits_any_optimized_out.
3506 * cp-valprint.c (cp_print_value_fields): Let the common printing
3507 code handle optimized out values.
3508 (cp_print_value_fields_rtti): Use value_bits_any_optimized_out.
3509 * d-valprint.c (dynamic_array_type): Use
3510 value_bits_any_optimized_out.
3511 * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and
3512 check_any_valid fields.
3513 (check_pieced_value_bits): Delete and inline ...
3514 (check_pieced_synthetic_pointer): ... here.
3515 (check_pieced_value_validity): Delete.
3516 (check_pieced_value_invalid): Delete.
3517 (pieced_value_funcs): Remove check_validity and check_any_valid
3518 fields.
3519 (read_pieced_value): Use mark_value_bits_optimized_out.
3520 (write_pieced_value): Switch to use
3521 mark_value_bytes_optimized_out.
3522 (dwarf2_evaluate_loc_desc_full): Copy the value contents instead
3523 of assuming the whole value is optimized out.
3524 * findvar.c (read_frame_register_value): Remove special handling
3525 of optimized out registers.
3526 (value_from_register): Use mark_value_bytes_optimized_out.
3527 * frame-unwind.c (frame_unwind_got_optimized): Use
3528 mark_value_bytes_optimized_out.
3529 * jv-valprint.c (java_value_print): Adjust.
3530 (java_print_value_fields): Let the common printing code handle
3531 optimized out values.
3532 * mips-tdep.c (mips_print_register): Remove special handling of
3533 optimized out registers.
3534 * opencl-lang.c (lval_func_check_validity): Delete.
3535 (lval_func_check_any_valid): Delete.
3536 (opencl_value_funcs): Remove check_validity and check_any_valid
3537 fields.
3538 * p-valprint.c (pascal_object_print_value_fields): Let the common
3539 printing code handle optimized out values.
3540 * stack.c (read_frame_arg): Remove special handling of optimized
3541 out values. Fetch both VAL and ENTRYVAL before comparing
3542 contents. Adjust to value_available_contents_eq rename.
3543 * valprint.c (valprint_check_validity)
3544 (val_print_scalar_formatted): Use value_bits_any_optimized_out.
3545 (val_print_array_elements): Adjust.
3546 * value.c (struct value) <optimized_out>: Now a VEC(range_s).
3547 (value_bits_any_optimized_out): New function.
3548 (value_entirely_covered_by_range_vector): New function, factored
3549 out from value_entirely_unavailable.
3550 (value_entirely_unavailable): Reimplement.
3551 (value_entirely_optimized_out): New function.
3552 (insert_into_bit_range_vector): New function, factored out from
3553 mark_value_bits_unavailable.
3554 (mark_value_bits_unavailable): Reimplement.
3555 (struct ranges_and_idx): New struct.
3556 (find_first_range_overlap_and_match): New function, factored out
3557 from value_available_contents_bits_eq.
3558 (value_available_contents_bits_eq): Rename to ...
3559 (value_contents_bits_eq): ... this. Check both unavailable
3560 contents and optimized out contents.
3561 (value_available_contents_eq): Rename to ...
3562 (value_contents_eq): ... this.
3563 (allocate_value_lazy): Remove reference to the old optimized_out
3564 boolean.
3565 (allocate_optimized_out_value): Use
3566 mark_value_bytes_optimized_out.
3567 (require_not_optimized_out): Adjust to check whether the
3568 optimized_out vec is empty.
3569 (ranges_copy_adjusted): New function, factored out from
3570 value_contents_copy_raw.
3571 (value_contents_copy_raw): Also copy the optimized out ranges.
3572 Assert the destination ranges aren't optimized out.
3573 (value_contents_copy): Update comment, remove call to
3574 require_not_optimized_out.
3575 (value_contents_equal): Adjust to check whether the optimized_out
3576 vec is empty.
3577 (set_value_optimized_out, value_optimized_out_const): Delete.
3578 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3579 New functions.
3580 (value_entirely_optimized_out, value_bits_valid): Delete.
3581 (value_copy): Take a VEC copy of the 'optimized_out' field.
3582 (value_primitive_field): Remove special handling of optimized out.
3583 (value_fetch_lazy): Assert that lazy values have no unavailable
3584 regions. Use value_bits_any_optimized_out. Remove some special
3585 handling for optimized out values.
3586 * value.h: Add intro comment about <optimized out> and
3587 <unavailable>.
3588 (struct lval_funcs): Remove check_validity and check_any_valid
3589 fields.
3590 (set_value_optimized_out, value_optimized_out_const): Remove.
3591 (mark_value_bytes_optimized_out, mark_value_bits_optimized_out):
3592 New declarations.
3593 (value_bits_any_optimized_out): New declaration.
3594 (value_bits_valid): Delete declaration.
3595 (value_available_contents_eq): Rename to ...
3596 (value_contents_eq): ... this, and extend comments.
3597
6694c411
JK
35982014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com>
3599
3600 Fix -fsanitize=address on unreadable inferior strings.
3601 * valprint.c (val_print_string): Fix access before BUFFER.
3602
89a1c21a
SM
36032014-08-19 Simon Marchi <simon.marchi@ericsson.com>
3604
3605 * target.c (target_struct_size): Remove.
3606 (target_struct_allocsize): Remove.
3607 (DEFAULT_ALLOCSIZE): Remove.
3608 (target_ops_p): New typedef.
3609 (DEF_VEC_P (target_ops_p)): New vector type.
3610 (target_structs): Change type to VEC (target_ops_p).
3611 (add_target_with_completer): Replace "push" code by VEC_safe_push.
3612 (find_default_run_target): Rewrite for loop following changes to
3613 target_structs.
3614
cb417230
JB
36152014-08-19 Joel Brobecker <brobecker@adacore.com>
3616
3617 * value.c (value_from_pointer): Remove use of resolve_dynamic_type.
3618 Adjust code accordingly. Adjust function description comment.
3619
817e0957
YQ
36202014-08-19 Yao Qi <yao@codesourcery.com>
3621
3622 * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex
3623 types.
3624
2974be62
AM
36252014-08-19 Alan Modra <amodra@gmail.com>
3626
3627 * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl.
3628 * config.in: Regenerate.
3629 * configure: Regenerate.
3630
34abf635
GB
36312014-08-19 Tom Tromey <tromey@redhat.com>
3632 Gary Benson <gbenson@redhat.com>
3633
3634 * common/common-debug.h: New file.
3635 * common/common-debug.c: Likewise.
3636 * debug.c: Likewise.
3637 * Makefile.in (SFILES): Add common/common-debug.c.
3638 (HFILES_NO_SRCDIR): Add common/common-debug.h.
3639 (COMMON_OBS): Add common-debug.o and debug.o.
3640 (common-debug.o): New rule.
3641 * common/common-defs.h: Include common-debug.h.
3642 * common/agent.c (debug_agent_printf): New function.
3643 (DEBUG_AGENT): Redefine.
3644 * nat/i386-dregs.c (debug_printf): Undefine.
3645
f6e94d78
GB
36462014-08-19 Gary Benson <gbenson@redhat.com>
3647
3648 * common/common-defs.h: Include print-utils.h.
3649 * utils.h: Do not include print-utils.h.
3650
9239eeab
GB
36512014-08-19 Tom Tromey <tromey@redhat.com>
3652 Gary Benson <gbenson@redhat.com>
3653
3654 * common/common-types.h: New file.
3655 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h.
3656 * common/common-defs.h: Include common-types.h.
3657 * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST)
3658 (ULONGEST): Remove.
3659
ef87c8bb
GB
36602014-08-19 Tom Tromey <tromey@redhat.com>
3661 Gary Benson <gbenson@redhat.com>
3662
3663 * common/errors.h: New file.
3664 * common/errors.c: Likewise.
3665 * Makefile.in (SFILES): Add common/errors.c.
3666 (HFILES_NO_SRCDIR): Add common/errors.h.
3667 (COMMON_OBS): Add errors.o.
3668 (errors.o): New rule.
3669 * common/common-defs.h: Include errors.h.
3670 * utils.h (perror_with_name, error, verror, warning, vwarning):
3671 Don't declare.
3672 * common/common-utils.h: (malloc_failure, internal_error):
3673 Likewise.
3674
196a707b
GB
36752014-08-19 Gary Benson <gbenson@redhat.com>
3676
3677 * utils.c (internal_vproblem): Always print the message.
3678
ded4fc8f
DE
36792014-08-18 Doug Evans <dje@google.com>
3680
3681 * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall.
3682
950c97d8
JB
36832014-08-18 Joel Brobecker <brobecker@adacore.com>
3684
3685 * ada-typeprint.c (type_is_full_subrange_of_target_type):
3686 Return 0 if TYPE is dynamic.
3687 (print_range): Add handling of dynamic ranges.
3688
3cdcd0ce
JB
36892014-08-18 Keven Boell <keven.boell@intel.com>
3690 Joel Brobecker <brobecker@adacore.com>
3691
3692 * gdbtypes.h (struct main_type): Add field "data_location".
3693 (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON)
3694 (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros.
3695 * gdbtypes.c (is_dynamic_type): Return 1 if the type has
3696 a dynamic data location.
3697 (resolve_dynamic_type): Add DW_AT_data_location handling.
3698 (copy_recursive, copy_type): Copy the data_location information
3699 when present.
3700 * dwarf2read.c (set_die_type): Add DW_AT_data_location handling.
3701 * value.c (value_from_contents_and_address): Add
3702 DW_AT_data_location handling.
3703
08412b07
JB
37042014-08-18 Keven Boell <keven.boell@intel.com>
3705 Joel Brobecker <brobecker@adacore.com>
3706
3707 * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment
3708 field "get_object_address".
3709 * dwarf2expr.c (execute_stack_op): Add handling for
3710 DW_OP_push_object_address.
3711 * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field.
3712 * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address".
3713 (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address.
3714 (dwarf_expr_get_obj_addr): New function.
3715 (dwarf_expr_ctx_funcs): Add get_object_address field.
3716 (dwarf2_evaluate_loc_desc_full): Set baton.obj_address.
3717 (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it.
3718 (dwarf2_evaluate_property): Add parameter "address". Use it.
3719 (needs_get_obj_addr): New function.
3720 (needs_frame_ctx_funcs): Add get_object_address field.
3721 (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling.
3722 * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it.
3723 (resolve_dynamic_array): Likewise.
3724
84754697
JB
37252014-08-18 Joel Brobecker <brobecker@adacore.com>
3726
3727 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>:
3728 When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically
3729 fixed value for records and unions for which some GNAT encodings
3730 are present.
3731
da5c522f
JB
37322014-08-18 Joel Brobecker <brobecker@adacore.com>
3733
3734 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code
3735 rewrite to avoid "else if" and "else" constructs. Should be
3736 a no-op in practice.
3737
0d72a7c3
JB
37382014-08-18 Joel Brobecker <brobecker@adacore.com>
3739
3740 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation
3741 of lexical block.
3742
e66d4446
SC
37432014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3744
3745 PR c++/17132
3746 * eval.c: Update all calls to find_overload_match.
3747 * valarith.c: Likewise.
3748 (value_user_defined_cpp_op, value_user_defined_op): New
3749 argument NOSIDE. Update all callers.
3750 * valops.c (find_overload_match): New argument NOSIDE.
3751 * value.h (find_overload_match): Update signature.
3752
940df408
SC
37532014-08-15 Siva Chandra Reddy <sivachandra@google.com>
3754
3755 * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the
3756 'items' methods instead of 'iteritems' method on dictionaries.
3757
699ca60a
DE
37582014-08-15 Doug Evans <dje@google.com>
3759
3760 * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode
3761 closer to use.
3762
37780ee5
DE
37632014-08-15 Doug Evans <dje@google.com>
3764
3765 * dwarf2read.c (dwarf_decode_lines_1): Add comment.
3766
0ad93d4f
DE
37672014-08-15 Doug Evans <dje@google.com>
3768
3769 * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused.
3770
20d8c372
DE
37712014-08-15 Doug Evans <dje@google.com>
3772
3773 * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block,
3774 unused.
3775
cb039ba4
EZ
37762014-08-15 Eli Zaretskii <eliz@gnu.org>
3777
3778 * dcache.h: Include target.h, to avoid compile time warnings.
3779
eb7a547a
JB
37802014-08-15 Joel Brobecker <brobecker@adacore.com>
3781
3782 * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct
3783 frame_info" partial declaration.
3784 * gdbarch.h: Regenerate.
3785
783cecc8
YQ
37862014-08-15 Yao Qi <yao@codesourcery.com>
3787
3788 * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'.
3789 Add parameter 'decode_for_pst_p'. Callers update.
3790
65c749e7
YQ
37912014-08-13 Yao Qi <yao@codesourcery.com>
3792
3793 PR build/17104
3794 * configure.ac: Use local variable 'pos'.
3795 * configure: Regenerated.
3796
d769e349
DE
37972014-08-11 Doug Evans <dje@google.com>
3798
3799 * solib.c (solib_read_symbols): Delete "Loaded symbols for ..."
3800 message, it is redundant with "Reading symbols from ..." message.
3801
24f1235e
DE
38022014-08-10 Doug Evans <xdje42@gmail.com>
3803
3804 * linux-nat.c (linux_nat_thread_address_space): Delete dead code.
3805
dcd2e6ef
YQ
38062014-08-09 Yao Qi <yao@codesourcery.com>
3807
3808 PR remote/9053
3809 * remote.c (remote_xfer_partial): Remove dead code.
3810
070bdf0b
AA
38112014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3812
3813 * ia64-linux-tdep.c: Include "regset.h".
3814 (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps.
3815 (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros.
3816 (ia64_linux_supply_fpregset): New function.
3817 (ia64_linux_gregset, ia64_linux_fpregset): New regsets.
3818 (ia64_linux_regset_from_core_section): New function.
3819 (ia64_linux_init_abi): Set regset_from_core_section gdbarch
3820 method.
3821
08f9f542
AA
38222014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3823
3824 * m68klinux-tdep.c: Include "regset.h".
3825 (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps.
3826 (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros.
3827 (m68k_linux_gregset, m68k_linux_fpregset): New regsets.
3828 (m68k_linux_regset_from_core_section): New function.
3829 (m68k_linux_init_abi): Set regset_from_core_section gdbarch
3830 method.
3831
8f1cee41
AA
38322014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3833
3834 * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete
3835 function. Move logic to...
3836 (tilegx_linux_regmap): ... this new register map.
3837 (tilegx_linux_regset): Refer to register map, replace supply
3838 method by regcache_supply_regset, and add collect method.
3839 * tilegx-tdep.h (enum tilegx_regnum): New enum value
3840 TILEGX_FIRST_EASY_REGNUM.
3841
c5741217
AA
38422014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3843
3844 * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub
3845 that calls regcache_supply_regset and handles the EPC register
3846 separately. Move main logic to...
3847 (score7_linux_gregmap): ... this new register map.
3848 (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros.
3849 (score7_linux_gregset): Refer to register map. Add collect method.
3850 (score7_linux_regset_from_core_section): Replace
3851 sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET.
3852 * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM.
3853 (struct regset): Delete unused forward declaraction.
3854 (struct pt_regs): Delete structure definition.
3855 (elf_gregset_t): Delete typedef.
3856
81580573
AA
38572014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3858
3859 * nios2-linux-tdep.c (nios2_collect_gregset): New function.
3860 (nios2_core_regset): Add collect method.
3861
ba199d7d
AA
38622014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3863
3864 * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make
3865 platform-independent and don't write to read-only input buffer.
3866 (m32r_linux_collect_gregset): New function.
3867 (m32r_linux_gregset): Add collect method.
3868
0006a9da
AA
38692014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3870
3871 * hppa-linux-tdep.c (greg_map): Rename to...
3872 (hppa_linux_gregmap): ... this. Also convert to
3873 regcache_map_entry format.
3874 (hppa_linux_supply_regset): Delete function.
3875 (hppa_linux_supply_fpregset): Delete function. Move logic to...
3876 (hppa_linux_fpregmap): ... this new register map.
3877 (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate
3878 register map, replace supply method by regcache_supply_regset, and
3879 add collect method regcache_collect_regset.
3880
901e1b23
AA
38812014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3882
3883 * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR)
3884 (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0)
3885 (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR)
3886 (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP)
3887 (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros.
3888 (frv_linux_gregmap, frv_linux_fpregmap): New register maps.
3889 (frv_linux_supply_gregset): Replace main logic by call to
3890 regcache_supply_regset, but keep clearing gr32-gr63.
3891 (frv_linux_supply_fpregset): Delete function.
3892 (frv_linux_gregset): Refer to appropriate register map and add
3893 regcache_collect_regset as the collect method.
3894 (frv_linux_fpregset): Likewise. Also exchange the supply method
3895 by regcache_supply_regset.
3896
1d6e7555
AA
38972014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3898
3899 * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic
3900 by call to alpha_supply_int_regs.
3901 (alpha_linux_collect_gregset): New function.
3902 (alpha_linux_supply_fpregset): Replace logic by call to
3903 alpha_supply_fp_regs.
3904 (alpha_linux_collect_fpregset): New function.
3905 (alpha_linux_gregset, alpha_linux_fpregset): Add collect method.
3906
d4d793bf
AA
39072014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3908
3909 * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic
3910 by call to regcache_collect_regset.
3911 (supply_gregset, supply_fpregset): Call regcache_supply_regset
3912 instead of aarch64_linux_supply_gregset/_fpregset.
3913 * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET)
3914 (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to
3915 header file instead.
3916 (aarch64_linux_supply_gregset, supply_gregset_from_core)
3917 (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete
3918 functions. Move logic to ...
3919 (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new
3920 register maps.
3921 (aarch64_linux_gregset, aarch64_linux_fpregset): Make global,
3922 refer to new register maps, replace *_regset_from_core by
3923 regcache_supply_regset, and also use regcache_collect_regset.
3924 * aarch64-linux-tdep.h: Include "regset.h".
3925 (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset):
3926 Delete prototypes.
3927 (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New
3928 macros, moved from C source file.
3929 (aarch64_linux_gregset, aarch64_linux_fpregset): New global
3930 variable declarations.
3931
99b7da5d
AA
39322014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3933
3934 * s390-linux-nat.c: Include "regset.h".
3935 (regmap_gregset): Delete macro.
3936 (s390_64_regmap_gregset): New register map for
3937 regcache_supply/_collect_regset.
3938 (s390_64_gregset): New regset.
3939 (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros.
3940 (regmap_fpregset): Delete macro.
3941 (s390_native_supply, s390_native_collect): Delete functions.
3942 (supply_gregset, fill_gregset): Replace s390-specific regmap
3943 handling by a call to regcache_supply/_collect_regset.
3944 (supply_fpregset, fill_fpregset): Call regcache_supply/
3945 _collect_regset instead of s390_native_supply/_collect.
3946 (fetch_regset, store_regset): Likewise. Also change the last
3947 parameter to a regset instead of a regmap.
3948 (s390_linux_fetch_inferior_registers)
3949 (390_linux_store_inferior_registers): Adjust last parameter in
3950 calls to fetch_regset and store_regset.
3951 * s390-linux-tdep.c (s390_regmap_gregset): Rename to...
3952 (s390_gregmap): ... this. Also make static const and convert to
3953 regcache_map_entry format.
3954 (s390x_regmap_gregset): Delete.
3955 (s390_regmap_fpregset): Rename to...
3956 (s390_fpregmap): ... this. Make static const and convert to
3957 regcache_map_entry format.
3958 (s390_regmap_upper, s390_regmap_last_break)
3959 (s390x_regmap_last_break, s390_regmap_system_call)
3960 (s390_regmap_tdb): Likewise.
3961 (s390_supply_regset, s390_collect_regset): Remove functions.
3962 (s390_supply_tdb_regset): Call regcache_supply_regset instead of
3963 s390_supply_regset.
3964 (s390_gregset, s390_fpregset, s390_upper_regset)
3965 (s390_last_break_regset, s390x_last_break_regset)
3966 (s390_system_call_regset, s390_tdb_regset): Make global and
3967 replace s390_supply/_collect_regset by regcache_supply/
3968 _collect_regset.
3969 (s390x_gregset): Delete.
3970 (s390_gdbarch_init): Replace s390x_gregset by s390_gregset.
3971 * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset)
3972 (s390_regmap_fpregset, s390_regmap_last_break)
3973 (s390x_regmap_last_break, s390_regmap_system_call)
3974 (s390_regmap_tdb): Delete global variable declarations.
3975 (s390_gregset, s390_fpregset, s390_last_break_regset)
3976 (s390x_last_break_regset, s390_system_call_regset)
3977 (s390_tdb_regset): New global variable declarations.
3978
0b309272
AA
39792014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3980
3981 * regcache.c: Include "regset.h".
3982 (regcache_transfer_regset): New local function.
3983 (regcache_supply_regset, regcache_collect_regset): New functions.
3984 * regcache.h (struct regcache_map_entry): New structure.
3985 (REGCACHE_MAP_SKIP): New enum value.
3986 (regcache_supply_regset, regcache_collect_regset): New prototypes.
3987
7fefa8d7
AA
39882014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
3989
3990 * regset.h (struct regset): Rename 'descr' field to 'regmap'.
3991 * ppc-linux-tdep.c (ppc_linux_supply_gregset)
3992 (ppc_linux_collect_gregset ): Likewise.
3993 * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset)
3994 (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset)
3995 (ppc_collect_vrregset): Likewise.
3996 * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset):
3997 Likewise.
3998
96c4f946
YQ
39992014-08-07 Yao Qi <yao@codesourcery.com>
4000
4001 * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF.
4002 * remote-m32r-sdi.c (m32r_xfer_memory): Likewise.
4003 * remote.c (remote_read_bytes): Likewise.
4004
fffbe6a8
YQ
40052014-08-07 Yao Qi <yao@codesourcery.com>
4006
4007 * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments.
4008
5ee8a82c
YQ
40092014-08-07 Yao Qi <yao@codesourcery.com>
4010
4011 PR remote/17230
4012 * remote-mips.c (mips_xfer_memory): Set *xfered_len and return
4013 TARGET_XFER_OK instead of 0.
4014
bb974a24
GB
40152014-08-07 Gary Benson <gbenson@redhat.com>
4016
4017 * common/common-defs.h: Include errno.h.
4018 * defs.h: Do not include errno.h.
4019 * ada-typeprint.c: Likewise.
4020 * c-typeprint.c: Likewise.
4021 * core-regset.c: Likewise.
4022 * corefile.c: Likewise.
4023 * corelow.c: Likewise.
4024 * event-loop.c: Likewise.
4025 * f-typeprint.c: Likewise.
4026 * gnu-nat.c: Likewise.
4027 * go32-nat.c: Likewise.
4028 * i386gnu-nat.c: Likewise.
4029 * m2-typeprint.c: Likewise.
4030 * nat/linux-btrace.c: Likewise.
4031 * p-typeprint.c: Likewise.
4032 * procfs.c: Likewise.
4033 * remote-sim.c: Likewise.
4034 * rs6000-nat.c: Likewise.
4035 * target.c: Likewise.
4036 * typeprint.c: Likewise.
4037 * ui-file.c: Likewise.
4038 * valops.c: Likewise.
4039 * valprint.c: Likewise.
4040
6d3d12eb
GB
40412014-08-07 Gary Benson <gbenson@redhat.com>
4042
4043 * common/common-defs.h: Include string.h.
4044 * aarch64-tdep.c: Do not include string.h.
4045 * ada-exp.y: Likewise.
4046 * ada-lang.c: Likewise.
4047 * ada-lex.l: Likewise.
4048 * ada-typeprint.c: Likewise.
4049 * ada-valprint.c: Likewise.
4050 * aix-thread.c: Likewise.
4051 * alpha-linux-tdep.c: Likewise.
4052 * alpha-mdebug-tdep.c: Likewise.
4053 * alpha-nat.c: Likewise.
4054 * alpha-osf1-tdep.c: Likewise.
4055 * alpha-tdep.c: Likewise.
4056 * alphanbsd-tdep.c: Likewise.
4057 * amd64-dicos-tdep.c: Likewise.
4058 * amd64-linux-tdep.c: Likewise.
4059 * amd64-nat.c: Likewise.
4060 * amd64-sol2-tdep.c: Likewise.
4061 * amd64fbsd-tdep.c: Likewise.
4062 * amd64obsd-tdep.c: Likewise.
4063 * arch-utils.c: Likewise.
4064 * arm-linux-nat.c: Likewise.
4065 * arm-linux-tdep.c: Likewise.
4066 * arm-tdep.c: Likewise.
4067 * arm-wince-tdep.c: Likewise.
4068 * armbsd-tdep.c: Likewise.
4069 * armnbsd-nat.c: Likewise.
4070 * armnbsd-tdep.c: Likewise.
4071 * armobsd-tdep.c: Likewise.
4072 * avr-tdep.c: Likewise.
4073 * ax-gdb.c: Likewise.
4074 * ax-general.c: Likewise.
4075 * bcache.c: Likewise.
4076 * bfin-tdep.c: Likewise.
4077 * breakpoint.c: Likewise.
4078 * build-id.c: Likewise.
4079 * buildsym.c: Likewise.
4080 * c-exp.y: Likewise.
4081 * c-lang.c: Likewise.
4082 * c-typeprint.c: Likewise.
4083 * c-valprint.c: Likewise.
4084 * charset.c: Likewise.
4085 * cli-out.c: Likewise.
4086 * cli/cli-cmds.c: Likewise.
4087 * cli/cli-decode.c: Likewise.
4088 * cli/cli-dump.c: Likewise.
4089 * cli/cli-interp.c: Likewise.
4090 * cli/cli-logging.c: Likewise.
4091 * cli/cli-script.c: Likewise.
4092 * cli/cli-setshow.c: Likewise.
4093 * cli/cli-utils.c: Likewise.
4094 * coffread.c: Likewise.
4095 * common/agent.c: Likewise.
4096 * common/buffer.c: Likewise.
4097 * common/buffer.h: Likewise.
4098 * common/common-utils.c: Likewise.
4099 * common/filestuff.c: Likewise.
4100 * common/filestuff.c: Likewise.
4101 * common/format.c: Likewise.
4102 * common/print-utils.c: Likewise.
4103 * common/rsp-low.c: Likewise.
4104 * common/signals.c: Likewise.
4105 * common/vec.h: Likewise.
4106 * common/xml-utils.c: Likewise.
4107 * core-regset.c: Likewise.
4108 * corefile.c: Likewise.
4109 * corelow.c: Likewise.
4110 * cp-abi.c: Likewise.
4111 * cp-name-parser.y: Likewise.
4112 * cp-support.c: Likewise.
4113 * cp-valprint.c: Likewise.
4114 * cris-tdep.c: Likewise.
4115 * d-exp.y: Likewise.
4116 * darwin-nat.c: Likewise.
4117 * dbxread.c: Likewise.
4118 * dcache.c: Likewise.
4119 * demangle.c: Likewise.
4120 * dicos-tdep.c: Likewise.
4121 * disasm.c: Likewise.
4122 * doublest.c: Likewise.
4123 * dsrec.c: Likewise.
4124 * dummy-frame.c: Likewise.
4125 * dwarf2-frame.c: Likewise.
4126 * dwarf2loc.c: Likewise.
4127 * dwarf2read.c: Likewise.
4128 * elfread.c: Likewise.
4129 * environ.c: Likewise.
4130 * eval.c: Likewise.
4131 * event-loop.c: Likewise.
4132 * exceptions.c: Likewise.
4133 * exec.c: Likewise.
4134 * expprint.c: Likewise.
4135 * f-exp.y: Likewise.
4136 * f-lang.c: Likewise.
4137 * f-typeprint.c: Likewise.
4138 * f-valprint.c: Likewise.
4139 * fbsd-nat.c: Likewise.
4140 * findcmd.c: Likewise.
4141 * findvar.c: Likewise.
4142 * fork-child.c: Likewise.
4143 * frame.c: Likewise.
4144 * frv-linux-tdep.c: Likewise.
4145 * frv-tdep.c: Likewise.
4146 * gdb.c: Likewise.
4147 * gdb_bfd.c: Likewise.
4148 * gdbarch.c: Likewise.
4149 * gdbarch.sh: Likewise.
4150 * gdbtypes.c: Likewise.
4151 * gnu-nat.c: Likewise.
4152 * gnu-v2-abi.c: Likewise.
4153 * gnu-v3-abi.c: Likewise.
4154 * go-exp.y: Likewise.
4155 * go-lang.c: Likewise.
4156 * go32-nat.c: Likewise.
4157 * guile/guile.c: Likewise.
4158 * guile/scm-auto-load.c: Likewise.
4159 * hppa-hpux-tdep.c: Likewise.
4160 * hppa-linux-nat.c: Likewise.
4161 * hppanbsd-tdep.c: Likewise.
4162 * hppaobsd-tdep.c: Likewise.
4163 * i386-cygwin-tdep.c: Likewise.
4164 * i386-dicos-tdep.c: Likewise.
4165 * i386-linux-tdep.c: Likewise.
4166 * i386-nto-tdep.c: Likewise.
4167 * i386-sol2-tdep.c: Likewise.
4168 * i386-tdep.c: Likewise.
4169 * i386bsd-tdep.c: Likewise.
4170 * i386gnu-nat.c: Likewise.
4171 * i386nbsd-tdep.c: Likewise.
4172 * i386obsd-tdep.c: Likewise.
4173 * i387-tdep.c: Likewise.
4174 * ia64-libunwind-tdep.c: Likewise.
4175 * ia64-linux-nat.c: Likewise.
4176 * inf-child.c: Likewise.
4177 * inf-ptrace.c: Likewise.
4178 * inf-ttrace.c: Likewise.
4179 * infcall.c: Likewise.
4180 * infcmd.c: Likewise.
4181 * inflow.c: Likewise.
4182 * infrun.c: Likewise.
4183 * interps.c: Likewise.
4184 * iq2000-tdep.c: Likewise.
4185 * irix5-nat.c: Likewise.
4186 * jv-exp.y: Likewise.
4187 * jv-lang.c: Likewise.
4188 * jv-typeprint.c: Likewise.
4189 * jv-valprint.c: Likewise.
4190 * language.c: Likewise.
4191 * linux-fork.c: Likewise.
4192 * linux-nat.c: Likewise.
4193 * lm32-tdep.c: Likewise.
4194 * m2-exp.y: Likewise.
4195 * m2-typeprint.c: Likewise.
4196 * m32c-tdep.c: Likewise.
4197 * m32r-linux-nat.c: Likewise.
4198 * m32r-linux-tdep.c: Likewise.
4199 * m32r-rom.c: Likewise.
4200 * m32r-tdep.c: Likewise.
4201 * m68hc11-tdep.c: Likewise.
4202 * m68k-tdep.c: Likewise.
4203 * m68kbsd-tdep.c: Likewise.
4204 * m68klinux-nat.c: Likewise.
4205 * m68klinux-tdep.c: Likewise.
4206 * m88k-tdep.c: Likewise.
4207 * machoread.c: Likewise.
4208 * macrocmd.c: Likewise.
4209 * main.c: Likewise.
4210 * mdebugread.c: Likewise.
4211 * mem-break.c: Likewise.
4212 * memattr.c: Likewise.
4213 * memory-map.c: Likewise.
4214 * mep-tdep.c: Likewise.
4215 * mi/mi-cmd-break.c: Likewise.
4216 * mi/mi-cmd-disas.c: Likewise.
4217 * mi/mi-cmd-env.c: Likewise.
4218 * mi/mi-cmd-stack.c: Likewise.
4219 * mi/mi-cmd-var.c: Likewise.
4220 * mi/mi-cmds.c: Likewise.
4221 * mi/mi-console.c: Likewise.
4222 * mi/mi-getopt.c: Likewise.
4223 * mi/mi-interp.c: Likewise.
4224 * mi/mi-main.c: Likewise.
4225 * mi/mi-parse.c: Likewise.
4226 * microblaze-rom.c: Likewise.
4227 * microblaze-tdep.c: Likewise.
4228 * mingw-hdep.c: Likewise.
4229 * minidebug.c: Likewise.
4230 * minsyms.c: Likewise.
4231 * mips-irix-tdep.c: Likewise.
4232 * mips-linux-tdep.c: Likewise.
4233 * mips-tdep.c: Likewise.
4234 * mips64obsd-tdep.c: Likewise.
4235 * mipsnbsd-tdep.c: Likewise.
4236 * mipsread.c: Likewise.
4237 * mn10300-linux-tdep.c: Likewise.
4238 * mn10300-tdep.c: Likewise.
4239 * monitor.c: Likewise.
4240 * moxie-tdep.c: Likewise.
4241 * mt-tdep.c: Likewise.
4242 * nat/linux-btrace.c: Likewise.
4243 * nat/linux-osdata.c: Likewise.
4244 * nat/linux-procfs.c: Likewise.
4245 * nat/linux-ptrace.c: Likewise.
4246 * nat/linux-waitpid.c: Likewise.
4247 * nbsd-tdep.c: Likewise.
4248 * nios2-linux-tdep.c: Likewise.
4249 * nto-procfs.c: Likewise.
4250 * nto-tdep.c: Likewise.
4251 * objc-lang.c: Likewise.
4252 * objfiles.c: Likewise.
4253 * opencl-lang.c: Likewise.
4254 * osabi.c: Likewise.
4255 * osdata.c: Likewise.
4256 * p-exp.y: Likewise.
4257 * p-lang.c: Likewise.
4258 * p-typeprint.c: Likewise.
4259 * parse.c: Likewise.
4260 * posix-hdep.c: Likewise.
4261 * ppc-linux-nat.c: Likewise.
4262 * ppc-sysv-tdep.c: Likewise.
4263 * ppcfbsd-tdep.c: Likewise.
4264 * ppcnbsd-tdep.c: Likewise.
4265 * ppcobsd-tdep.c: Likewise.
4266 * printcmd.c: Likewise.
4267 * procfs.c: Likewise.
4268 * prologue-value.c: Likewise.
4269 * python/py-auto-load.c: Likewise.
4270 * python/py-gdb-readline.c: Likewise.
4271 * ravenscar-thread.c: Likewise.
4272 * regcache.c: Likewise.
4273 * registry.c: Likewise.
4274 * remote-fileio.c: Likewise.
4275 * remote-m32r-sdi.c: Likewise.
4276 * remote-mips.c: Likewise.
4277 * remote-notif.c: Likewise.
4278 * remote-sim.c: Likewise.
4279 * remote.c: Likewise.
4280 * reverse.c: Likewise.
4281 * rs6000-aix-tdep.c: Likewise.
4282 * ser-base.c: Likewise.
4283 * ser-go32.c: Likewise.
4284 * ser-mingw.c: Likewise.
4285 * ser-pipe.c: Likewise.
4286 * ser-tcp.c: Likewise.
4287 * ser-unix.c: Likewise.
4288 * serial.c: Likewise.
4289 * sh-tdep.c: Likewise.
4290 * sh64-tdep.c: Likewise.
4291 * shnbsd-tdep.c: Likewise.
4292 * skip.c: Likewise.
4293 * sol-thread.c: Likewise.
4294 * solib-dsbt.c: Likewise.
4295 * solib-frv.c: Likewise.
4296 * solib-osf.c: Likewise.
4297 * solib-som.c: Likewise.
4298 * solib-spu.c: Likewise.
4299 * solib-target.c: Likewise.
4300 * solib.c: Likewise.
4301 * somread.c: Likewise.
4302 * source.c: Likewise.
4303 * sparc-nat.c: Likewise.
4304 * sparc-sol2-tdep.c: Likewise.
4305 * sparc-tdep.c: Likewise.
4306 * sparc64-tdep.c: Likewise.
4307 * sparc64fbsd-tdep.c: Likewise.
4308 * sparc64nbsd-tdep.c: Likewise.
4309 * sparcnbsd-tdep.c: Likewise.
4310 * spu-linux-nat.c: Likewise.
4311 * spu-multiarch.c: Likewise.
4312 * spu-tdep.c: Likewise.
4313 * stabsread.c: Likewise.
4314 * stack.c: Likewise.
4315 * std-regs.c: Likewise.
4316 * symfile.c: Likewise.
4317 * symmisc.c: Likewise.
4318 * symtab.c: Likewise.
4319 * target.c: Likewise.
4320 * thread.c: Likewise.
4321 * tilegx-linux-nat.c: Likewise.
4322 * tilegx-tdep.c: Likewise.
4323 * top.c: Likewise.
4324 * tracepoint.c: Likewise.
4325 * tui/tui-command.c: Likewise.
4326 * tui/tui-data.c: Likewise.
4327 * tui/tui-disasm.c: Likewise.
4328 * tui/tui-file.c: Likewise.
4329 * tui/tui-layout.c: Likewise.
4330 * tui/tui-out.c: Likewise.
4331 * tui/tui-regs.c: Likewise.
4332 * tui/tui-source.c: Likewise.
4333 * tui/tui-stack.c: Likewise.
4334 * tui/tui-win.c: Likewise.
4335 * tui/tui-windata.c: Likewise.
4336 * tui/tui-winsource.c: Likewise.
4337 * typeprint.c: Likewise.
4338 * ui-file.c: Likewise.
4339 * ui-out.c: Likewise.
4340 * user-regs.c: Likewise.
4341 * utils.c: Likewise.
4342 * v850-tdep.c: Likewise.
4343 * valarith.c: Likewise.
4344 * valops.c: Likewise.
4345 * valprint.c: Likewise.
4346 * value.c: Likewise.
4347 * varobj.c: Likewise.
4348 * vax-tdep.c: Likewise.
4349 * vaxnbsd-tdep.c: Likewise.
4350 * vaxobsd-tdep.c: Likewise.
4351 * windows-nat.c: Likewise.
4352 * xcoffread.c: Likewise.
4353 * xml-support.c: Likewise.
4354 * xstormy16-tdep.c: Likewise.
4355 * xtensa-linux-nat.c: Likewise.
4356
dccbb609
GB
43572014-08-07 Gary Benson <gbenson@redhat.com>
4358
4359 * common/common-defs.h: Include gdb_assert.h.
4360 * aarch64-tdep.c: Do not include gdb_assert.h.
4361 * addrmap.c: Likewise.
4362 * aix-thread.c: Likewise.
4363 * alpha-linux-tdep.c: Likewise.
4364 * alpha-mdebug-tdep.c: Likewise.
4365 * alphanbsd-tdep.c: Likewise.
4366 * amd64-nat.c: Likewise.
4367 * amd64-tdep.c: Likewise.
4368 * amd64bsd-nat.c: Likewise.
4369 * amd64fbsd-nat.c: Likewise.
4370 * amd64fbsd-tdep.c: Likewise.
4371 * amd64nbsd-nat.c: Likewise.
4372 * amd64nbsd-tdep.c: Likewise.
4373 * amd64obsd-nat.c: Likewise.
4374 * amd64obsd-tdep.c: Likewise.
4375 * arch-utils.c: Likewise.
4376 * arm-tdep.c: Likewise.
4377 * armbsd-tdep.c: Likewise.
4378 * auxv.c: Likewise.
4379 * bcache.c: Likewise.
4380 * bfin-tdep.c: Likewise.
4381 * blockframe.c: Likewise.
4382 * breakpoint.c: Likewise.
4383 * bsd-kvm.c: Likewise.
4384 * bsd-uthread.c: Likewise.
4385 * buildsym.c: Likewise.
4386 * c-exp.y: Likewise.
4387 * c-lang.c: Likewise.
4388 * charset.c: Likewise.
4389 * cleanups.c: Likewise.
4390 * cli-out.c: Likewise.
4391 * cli/cli-decode.c: Likewise.
4392 * cli/cli-dump.c: Likewise.
4393 * cli/cli-logging.c: Likewise.
4394 * cli/cli-script.c: Likewise.
4395 * cli/cli-utils.c: Likewise.
4396 * coffread.c: Likewise.
4397 * common/common-utils.c: Likewise.
4398 * common/queue.h: Likewise.
4399 * common/signals.c: Likewise.
4400 * common/vec.h: Likewise.
4401 * complaints.c: Likewise.
4402 * completer.c: Likewise.
4403 * corelow.c: Likewise.
4404 * cp-abi.c: Likewise.
4405 * cp-name-parser.y: Likewise.
4406 * cp-namespace.c: Likewise.
4407 * cp-support.c: Likewise.
4408 * cris-tdep.c: Likewise.
4409 * dbxread.c: Likewise.
4410 * dictionary.c: Likewise.
4411 * doublest.c: Likewise.
4412 * dsrec.c: Likewise.
4413 * dummy-frame.c: Likewise.
4414 * dwarf2-frame-tailcall.c: Likewise.
4415 * dwarf2-frame.c: Likewise.
4416 * dwarf2expr.c: Likewise.
4417 * dwarf2loc.c: Likewise.
4418 * dwarf2read.c: Likewise.
4419 * eval.c: Likewise.
4420 * event-loop.c: Likewise.
4421 * exceptions.c: Likewise.
4422 * expprint.c: Likewise.
4423 * f-valprint.c: Likewise.
4424 * fbsd-nat.c: Likewise.
4425 * findvar.c: Likewise.
4426 * frame-unwind.c: Likewise.
4427 * frame.c: Likewise.
4428 * frv-tdep.c: Likewise.
4429 * gcore.c: Likewise.
4430 * gdb-dlfcn.c: Likewise.
4431 * gdb_bfd.c: Likewise.
4432 * gdbarch.c: Likewise.
4433 * gdbarch.sh: Likewise.
4434 * gdbtypes.c: Likewise.
4435 * gnu-nat.c: Likewise.
4436 * gnu-v3-abi.c: Likewise.
4437 * go-lang.c: Likewise.
4438 * guile/scm-exception.c: Likewise.
4439 * guile/scm-gsmob.c: Likewise.
4440 * guile/scm-lazy-string.c: Likewise.
4441 * guile/scm-math.c: Likewise.
4442 * guile/scm-pretty-print.c: Likewise.
4443 * guile/scm-safe-call.c: Likewise.
4444 * guile/scm-utils.c: Likewise.
4445 * guile/scm-value.c: Likewise.
4446 * h8300-tdep.c: Likewise.
4447 * hppa-hpux-nat.c: Likewise.
4448 * hppa-tdep.c: Likewise.
4449 * hppanbsd-tdep.c: Likewise.
4450 * hppaobsd-tdep.c: Likewise.
4451 * i386-darwin-nat.c: Likewise.
4452 * i386-darwin-tdep.c: Likewise.
4453 * i386-nto-tdep.c: Likewise.
4454 * i386-tdep.c: Likewise.
4455 * i386bsd-nat.c: Likewise.
4456 * i386fbsd-tdep.c: Likewise.
4457 * i386gnu-nat.c: Likewise.
4458 * i386nbsd-tdep.c: Likewise.
4459 * i386obsd-tdep.c: Likewise.
4460 * i387-tdep.c: Likewise.
4461 * ia64-libunwind-tdep.c: Likewise.
4462 * ia64-tdep.c: Likewise.
4463 * inf-ptrace.c: Likewise.
4464 * inf-ttrace.c: Likewise.
4465 * infcall.c: Likewise.
4466 * infcmd.c: Likewise.
4467 * infrun.c: Likewise.
4468 * inline-frame.c: Likewise.
4469 * interps.c: Likewise.
4470 * jv-lang.c: Likewise.
4471 * jv-typeprint.c: Likewise.
4472 * linux-fork.c: Likewise.
4473 * linux-nat.c: Likewise.
4474 * linux-thread-db.c: Likewise.
4475 * m32c-tdep.c: Likewise.
4476 * m32r-linux-nat.c: Likewise.
4477 * m32r-tdep.c: Likewise.
4478 * m68k-tdep.c: Likewise.
4479 * m68kbsd-nat.c: Likewise.
4480 * m68kbsd-tdep.c: Likewise.
4481 * m88k-tdep.c: Likewise.
4482 * machoread.c: Likewise.
4483 * macroexp.c: Likewise.
4484 * macrotab.c: Likewise.
4485 * maint.c: Likewise.
4486 * mdebugread.c: Likewise.
4487 * memory-map.c: Likewise.
4488 * mep-tdep.c: Likewise.
4489 * mi/mi-common.c: Likewise.
4490 * microblaze-tdep.c: Likewise.
4491 * mingw-hdep.c: Likewise.
4492 * mips-linux-nat.c: Likewise.
4493 * mips-linux-tdep.c: Likewise.
4494 * mips-tdep.c: Likewise.
4495 * mips64obsd-tdep.c: Likewise.
4496 * mipsnbsd-tdep.c: Likewise.
4497 * mn10300-linux-tdep.c: Likewise.
4498 * mn10300-tdep.c: Likewise.
4499 * moxie-tdep.c: Likewise.
4500 * mt-tdep.c: Likewise.
4501 * nat/linux-btrace.c: Likewise.
4502 * nat/linux-osdata.c: Likewise.
4503 * nat/linux-ptrace.c: Likewise.
4504 * nat/mips-linux-watch.c: Likewise.
4505 * nios2-linux-tdep.c: Likewise.
4506 * nios2-tdep.c: Likewise.
4507 * objc-lang.c: Likewise.
4508 * objfiles.c: Likewise.
4509 * obsd-nat.c: Likewise.
4510 * opencl-lang.c: Likewise.
4511 * osabi.c: Likewise.
4512 * parse.c: Likewise.
4513 * ppc-linux-nat.c: Likewise.
4514 * ppc-sysv-tdep.c: Likewise.
4515 * ppcfbsd-nat.c: Likewise.
4516 * ppcfbsd-tdep.c: Likewise.
4517 * ppcnbsd-nat.c: Likewise.
4518 * ppcnbsd-tdep.c: Likewise.
4519 * ppcobsd-nat.c: Likewise.
4520 * ppcobsd-tdep.c: Likewise.
4521 * printcmd.c: Likewise.
4522 * procfs.c: Likewise.
4523 * prologue-value.c: Likewise.
4524 * psymtab.c: Likewise.
4525 * python/py-lazy-string.c: Likewise.
4526 * python/py-value.c: Likewise.
4527 * regcache.c: Likewise.
4528 * reggroups.c: Likewise.
4529 * registry.c: Likewise.
4530 * remote-sim.c: Likewise.
4531 * remote.c: Likewise.
4532 * rs6000-aix-tdep.c: Likewise.
4533 * rs6000-tdep.c: Likewise.
4534 * s390-linux-tdep.c: Likewise.
4535 * score-tdep.c: Likewise.
4536 * ser-base.c: Likewise.
4537 * ser-mingw.c: Likewise.
4538 * sh-tdep.c: Likewise.
4539 * sh64-tdep.c: Likewise.
4540 * solib-darwin.c: Likewise.
4541 * solib-spu.c: Likewise.
4542 * solib-svr4.c: Likewise.
4543 * source.c: Likewise.
4544 * sparc-nat.c: Likewise.
4545 * sparc-sol2-tdep.c: Likewise.
4546 * sparc-tdep.c: Likewise.
4547 * sparc64-sol2-tdep.c: Likewise.
4548 * sparc64-tdep.c: Likewise.
4549 * sparc64fbsd-tdep.c: Likewise.
4550 * sparc64nbsd-tdep.c: Likewise.
4551 * sparc64obsd-tdep.c: Likewise.
4552 * sparcnbsd-tdep.c: Likewise.
4553 * sparcobsd-tdep.c: Likewise.
4554 * spu-multiarch.c: Likewise.
4555 * spu-tdep.c: Likewise.
4556 * stabsread.c: Likewise.
4557 * stack.c: Likewise.
4558 * symfile.c: Likewise.
4559 * symtab.c: Likewise.
4560 * target-descriptions.c: Likewise.
4561 * target-memory.c: Likewise.
4562 * target.c: Likewise.
4563 * tic6x-linux-tdep.c: Likewise.
4564 * tic6x-tdep.c: Likewise.
4565 * tilegx-linux-nat.c: Likewise.
4566 * tilegx-tdep.c: Likewise.
4567 * top.c: Likewise.
4568 * tramp-frame.c: Likewise.
4569 * tui/tui-out.c: Likewise.
4570 * tui/tui-winsource.c: Likewise.
4571 * ui-out.c: Likewise.
4572 * user-regs.c: Likewise.
4573 * utils.c: Likewise.
4574 * v850-tdep.c: Likewise.
4575 * valops.c: Likewise.
4576 * value.c: Likewise.
4577 * varobj.c: Likewise.
4578 * vax-nat.c: Likewise.
4579 * xml-syscall.c: Likewise.
4580 * xml-tdesc.c: Likewise.
4581 * xstormy16-tdep.c: Likewise.
4582 * xtensa-linux-nat.c: Likewise.
4583 * xtensa-tdep.c: Likewise.
4584
e76df0d0
GB
45852014-08-07 Gary Benson <gbenson@redhat.com>
4586
4587 * common/common-defs.h: Include common-utils.h.
4588 * defs.h: Do not include common-utils.h.
4589 * common/gdb_assert.h: Likewise.
4590 * darwin-nat.h: Likewise.
4591 * nat/linux-btrace.c: Likewise.
4592 * target/waitstatus.h: Likewise.
4593
4cb9c816
GB
45942014-08-07 Gary Benson <gbenson@redhat.com>
4595
4596 * common/common-defs.h: Include ptid.h.
4597 * defs.h: Do not include ptid.h.
4598 * inferior.h: Likewise.
4599 * infrun.h: Likewise.
4600 * nat/linux-btrace.h: Likewise.
4601 * nat/linux-osdata.h: Likewise.
4602 * target/waitstatus.h: Likewise.
4603
3995eeee
GB
46042014-08-07 Gary Benson <gbenson@redhat.com>
4605
4606 * common/common-defs.h: Include gdb_locale.h.
4607 * defs.h: Do not include gdb_locale.h.
4608
cb9f1a9b
GB
46092014-08-07 Gary Benson <gbenson@redhat.com>
4610
4611 * common/common-defs.h: Include gdb/signals.h.
4612 * defs.h: Do not include gdb/signals.h.
4613
a5fceff8
GB
46142014-08-07 Gary Benson <gbenson@redhat.com>
4615
4616 * common/common-defs.h: Include pathmax.h.
4617 * defs.h: Do not include pathmax.h.
4618
b9391142
GB
46192014-08-07 Gary Benson <gbenson@redhat.com>
4620
4621 * common/common-defs.h: Include libiberty.h.
4622 * defs.h: Do not include libiberty.h.
4623 * common/queue.h: Likewise.
4624 * cp-name-parser.y: Likewise.
4625 * mi/mi-cmd-catch.c: Likewise.
4626 * python/python.c: Likewise.
4627
0e443c87
GB
46282014-08-07 Gary Benson <gbenson@redhat.com>
4629
4630 * common/common-defs.h: Include ansidecl.h.
4631 * defs.h: Do not include ansidecl.h.
4632 * common/buffer.h: Likewise.
4633 * common/common-utils.h: Likewise.
4634
8ebb3f56
GB
46352014-08-07 Gary Benson <gbenson@redhat.com>
4636
4637 * common/common-defs.h: Include stddef.h.
4638 * defs.h: Do not include stddef.h.
4639 * common/common-utils.h: Likewise.
4640 * amd64fbsd-nat.c: Likewise.
4641 * bcache.c: Likewise.
4642 * charset.c: Likewise.
4643 * common/buffer.h: Likewise.
4644 * common/vec.h: Likewise.
4645 * i386bsd-nat.c: Likewise.
4646 * nat/linux-btrace.h: Likewise.
4647 * ppcfbsd-nat.c: Likewise.
4648 * ppcnbsd-tdep.h: Likewise.
4649 * ppcobsd-nat.c: Likewise.
4650 * ppcobsd-tdep.h: Likewise.
4651 * python/py-gdb-readline.c: Likewise.
4652
8980bdf6
GB
46532014-08-07 Gary Benson <gbenson@redhat.com>
4654
4655 * common/common-defs.h: Include stdarg.h.
4656 * defs.h: Do not include stdarg.h.
4657 * ada-lang.c: Likewise.
4658 * common/common-utils.h: Likewise.
4659 * guile/scm-string.c: Likewise.
4660 * guile/scm-utils.c: Likewise.
4661 * m32c-tdep.c: Likewise.
4662
d7096f71
GB
46632014-08-07 Gary Benson <gbenson@redhat.com>
4664
4665 * common/common-defs.h: Include stdlib.h.
4666 * defs.h: Do not include stdlib.h.
4667 * addrmap.c: Likewise.
4668 * bcache.c: Likewise.
4669 * common/buffer.c: Likewise.
4670 * common/common-utils.c: Likewise.
4671 * cp-name-parser.y: Likewise.
4672 * go32-nat.c: Likewise.
4673 * mn10300-linux-tdep.c: Likewise.
4674 * nat/linux-osdata.c: Likewise.
4675 * tui/tui.c: Likewise.
4676 * windows-nat.c: Likewise.
4677
d02f550d
GB
46782014-08-07 Gary Benson <gbenson@redhat.com>
4679
4680 * common/common-defs.h: Include stdio.h.
4681 * defs.h: Do not include stdio.h.
4682 * ada-lang.c: Likewise.
4683 * common/buffer.c: Likewise.
4684 * common/common-utils.c: Likewise.
4685 * cp-name-parser.y: Likewise.
4686 * gnu-nat.c: Likewise.
4687 * go32-nat.c: Likewise.
4688 * i386gnu-nat.c: Likewise.
4689 * proc-api.c: Likewise.
4690 * proc-events.c: Likewise.
4691 * proc-flags.c: Likewise.
4692 * proc-why.c: Likewise.
4693 * python/python-internal.h: Likewise.
4694 * target-memory.c: Likewise.
4695 * tui/tui-io.c: Likewise.
4696 * tui/tui.c: Likewise.
4697
b6d7a4bf
SM
46982014-08-06 Simon Marchi <simon.marchi@ericsson.com>
4699
4700 * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables.
4701 (scan_dyntag_auxv): Same.
4702
af19829b
YQ
47032014-08-06 Yao Qi <yao@codesourcery.com>
4704
4705 * amd64-linux-nat.c: Remove duplicated include
4706 "x86-linux-nat.h".
4707 * i386-linux-nat.c: Likewise.
4708
8e07a239
YQ
47092014-08-06 Yao Qi <yao@codesourcery.com>
4710
4711 * dwarf2read.c (dwarf_decode_lines_1): Replace "Special
4712 operand" with "Special opcode" in comments.
4713
7bfe8241
GB
47142014-08-05 Gary Benson <gbenson@redhat.com>
4715
4716 * interps.c (initialize_interps): Remove prototype.
4717 (interpreter_initialized): Remove static global.
4718 (interp_add): Do not call initialize_interps.
4719 (initialize_interps): Remove function.
4720
d6c95504
GB
47212014-08-05 Gary Benson <gbenson@redhat.com>
4722
4723 * utils.c (vwarning): Remove spurious va_end.
4724
241fd515
AM
47252014-08-05 Alan Modra <amodra@gmail.com>
4726
4727 * charset.c (convert_between_encodings): Cast result of obstack_base.
4728 * cp-valprint.c (cp_print_value_fields): Use size_t locals.
4729 * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t.
4730 (read_unwind_info): Use size_t for some locals.
4731 * jit.c (finalize_symtab): Likewise.
4732 * utils.c (hashtab_obstack_allocate): Likewise.
4733 * symmisc.c (print_objfile_statistics): Update format strings.
4734
dc304a94
JK
47352014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4736
4737 * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ...
4738 (Changes in GDB 7.8): ... here.
4739
3cecbbbe
TT
47402014-08-04 Tom Tromey <tromey@redhat.com>
4741
4742 * target.c (set_targetdebug): New function.
4743 (initialize_targets): Pass set_targetdebug when creating "set
4744 debug target".
4745
6908c509
JB
47462014-08-01 Joel Brobecker <brobecker@adacore.com>
4747
4748 * gdbtypes.c (resolve_dynamic_struct): Do not generate an error
4749 if detecting a variable-sized field that is not the last field.
4750 Fix struct type length computation.
4751
53e8f97d
JB
47522014-08-01 Joel Brobecker <brobecker@adacore.com>
4753
4754 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4755 Add debug trace.
4756
e068c55d
JB
47572014-08-01 Joel Brobecker <brobecker@adacore.com>
4758
4759 * amd64-windows-tdep.c (amd64_windows_frame_decode_insns):
4760 Remove "+ 8" offset in computation of CHAIN_VMA.
4761
4d4ca2a1
DE
47622014-07-31 Doug Evans <dje@google.com>
4763
4764 * inflow.c (child_terminal_inferior): Add comment.
4765 (child_terminal_ours_for_output): Add comment.
4766 (child_terminal_ours): Add comment.
4767 * linux-nat.c (linux_nat_terminal_inferior): Add comment.
4768 (linux_nat_terminal_ours): Add comment.
4769
462f517e
GB
47702014-07-31 Gary Benson <gbenson@redhat.com>
4771
4772 * common/btrace-common.h: Do not include defs.h or server.h.
4773 * nat/mips-linux-watch.h: Likewise.
4774 * gdb-dlfcn.h: Do not include defs.h.
4775 * tracefile.h: Likewise.
4776
74228e77
RM
47772014-07-30 Roland McGrath <mcgrathr@google.com>
4778
4779 * remote-sim.c (gdbsim_open): Apply constification to forward decl.
4780
014f9477
TT
47812014-07-30 Tom Tromey <tromey@redhat.com>
4782
4783 * bsd-kvm.c (bsd_kvm_open): Constify.
4784 * corelow.c (core_open): Constify.
4785 * ctf.c (ctf_open): Constify.
4786 * dbug-rom.c (dbug_open): Constify.
4787 * exec.c (exec_open): Constify.
4788 * m32r-rom.c (m32r_open, mon2000_open): Constify.
4789 * microblaze-rom.c (picobug_open): Constify.
4790 * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open):
4791 Constify.
4792 * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify.
4793 * record-btrace.c (record_btrace_open): Constify.
4794 * record-full.c (record_full_core_open_1, record_full_open_1)
4795 (record_full_open): Constify.
4796 * remote-m32r-sdi.c (m32r_open): Constify.
4797 * remote-mips.c (common_open, mips_open, pmon_open, ddb_open)
4798 (rockhopper_open, lsi_open): Constify.
4799 * remote-sim.c (gdbsim_open): Constify.
4800 * remote.c (remote_open, extended_remote_open, remote_open_1):
4801 Constify.
4802 * target.h (struct target_ops) <to_open>: Make "arg" const.
4803 * tracefile-tfile.c (tfile_open): Constify.
4804
e799154c
TT
48052014-07-30 Tom Tromey <tromey@redhat.com>
4806
4807 * breakpoint.c (map_breakpoint_numbers): Update.
4808 * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update.
4809 (get_number_const): New function.
4810 (get_number): Rewrite using get_number_const.
4811 (init_number_or_range): Make "string" const.
4812 (number_is_in_list): Make "list" const.
4813 * cli/cli-utils.h (get_number_const): Declare.
4814 (struct get_number_or_range_state) <string, end_ptr>: Now const.
4815 (init_number_or_range, number_is_in_list): Update.
4816 * printcmd.c (map_display_numbers): Update.
4817 * value.c (value_from_history_ref): Constify.
4818 * value.h (value_from_history_ref): Update.
4819
5f08566b
TT
48202014-07-30 Tom Tromey <tromey@redhat.com>
4821
4822 * corefile.c (hook_type, call_extra_exec_file_hooks)
4823 (specify_exec_file_hook): Constify.
4824 * exec.c (exec_file_attach): Make "filename" const.
4825 * gdbcore.h (deprecated_exec_file_display_hook)
4826 (specify_exec_file_hook, exec_file_attach): Constify.
4827 * main.c (captured_main): Use catch_command_errors_const.
4828
8981c758
TT
48292014-07-30 Tom Tromey <tromey@redhat.com>
4830
4831 * target.c (open_target): New function.
4832 (add_target_with_completer, add_deprecated_target_alias): Use
4833 set_cmd_sfunc, set_cmd_context.
4834 (debug_to_open): Remove.
4835 (setup_target_debug): Update.
4836
a1c7835a
YQ
48372014-07-30 Yao Qi <yao@codesourcery.com>
4838
4839 * parser-defs.h (struct exp_descriptor) <operator_check>: Update
4840 comments.
4841 * parse.c (exp_iterate): Update comments.
4842
976411d6
GB
48432014-07-30 Gary Benson <gbenson@redhat.com>
4844
4845 * common/common-defs.h: New file.
4846 * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h.
4847 * defs.h: Include common-defs.h.
4848 Do not include config.h or build-gnulib/config.h.
4849
5d4848a4
GB
48502014-07-30 Gary Benson <gbenson@redhat.com>
4851
4852 * common/common-utils.h: Do not include config.h.
4853 * nat/linux-btrace.h: Likewise.
4854
d41f6d8e
GB
48552014-07-30 Gary Benson <gbenson@redhat.com>
4856
4857 * btrace.c: Include defs.h.
4858 * common/ptid.c: Include defs.h or server.h as appropriate.
4859 * nat/mips-linux-watch.c: Likewise.
4860
84202f9c
TT
48612014-07-29 Tom Tromey <tromey@redhat.com>
4862
4863 * target.c (target_is_pushed): Simplify.
4864
2530441c
JB
48652014-07-29 Joel Brobecker <brobecker@adacore.com>
4866
4867 GDB 7.8 released.
4868
7e09a223
YQ
48692014-07-29 Yao Qi <yao@codesourcery.com>
4870
4871 PR gdb/17206
4872 * infcmd.c (until_next_command): Set step_range_end to PC + 1.
4873
7ebdbe92
DE
48742014-07-28 Doug Evans <xdje42@gmail.com>
4875
4876 PR guile/17203
4877 * guile/scm-param.c (pascm_parameter_defined_p): New function.
4878 (gdbscm_register_parameter_x): Call it. Raise error for pre-existing
4879 parameters.
4880
f347ffc9
WN
48812014-07-28 Will Newton <will.newton@linaro.org>
4882
4883 * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define.
4884 (THUMB2_SET_R7_SIGRETURN2): Likewise.
4885 (THUMB2_SET_R7_RT_SIGRETURN1): Likewise.
4886 (THUMB2_SET_R7_RT_SIGRETURN2): Likewise.
4887 (THUMB2_EABI_SYSCALL): Likewise.
4888 (thumb2_eabi_linux_sigreturn_tramp_frame): Create new
4889 struct tramp_frame.
4890 (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise.
4891 (arm_linux_init_abi): Add Thumb2 tramp frame unwinders.
4892
37c5f1f7
DE
48932014-07-27 Doug Evans <xdje42@gmail.com>
4894
4895 * guile/scm-param.c (pascm_print_param_smob): Fix output.
4896
0c3abbc7
DE
48972014-07-27 Doug Evans <xdje42@gmail.com>
4898
4899 * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment.
4900
e76c5d17
DE
49012014-07-26 Ludovic Courtès <ludo@gnu.org>
4902 Doug Evans <xdje42@gmail.com>
4903
4904 PR guile/17146
4905 * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro.
4906 (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros.
4907 * configure.ac: Try to use guild to compile an scm file, if it fails
4908 then disable guile support.
4909 * configure: Regenerate.
4910 * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from
4911 GUILE_FILE_LIST.
4912 (GUILE_COMPILED_FILES): New variable.
4913 (GUILE_FILES) Update.
4914 (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables.
4915 (stamp-guile): Compile scm files.
4916 * guile/guile.c (boot_guile_support): New function.
4917 (standard_throw_args_p): New function.
4918 (print_standard_throw_error, print_throw_error): New functions.
4919 (handle_boot_error): New function.
4920 (initialize_scheme_side): Rewrite to call boot_guile_support.
4921 * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go.
4922 * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function.
4923
186fcde0
DE
49242014-07-26 Ludovic Courtès <ludo@gnu.org>
4925 Doug Evans <xdje42@gmail.com>
4926
4927 PR guile/17146
4928 * data-directory/Makefile.in (GUILE_FILES): Add support.scm.
4929 * guile/lib/gdb/support.scm: New file.
4930 * guile/guile.c (gdbscm_init_module_name): Change to "gdb".
4931 * guile/lib/gdb.scm: Load gdb/init.scm as an include file.
4932 All uses updated.
4933 * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm.
4934 All uses updated.
4935 (%assert-type): Ditto, and renamed to assert-type.
4936 (%exception-print-style): Delete.
4937
4df42755
DE
49382014-07-26 Doug Evans <xdje42@gmail.com>
4939
4940 PR build/17105
4941 * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE.
4942 * configure: Regenerate.
4943 * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from
4944 PYTHON_FILES.
4945 (PYTHON_FILES): New variable.
4946 (GUILE_FILE_LIST): Renamed from GUILE_FILES.
4947 (GUILE_FILES): New variable.
4948 (stamp-python, install-python, uninstall-python): Handle empty
4949 file list.
4950 (stamp-guile, install-guile, uninstall-guile): Ditto.
4951
ee7333ae
DE
49522014-07-26 Doug Evans <xdje42@gmail.com>
4953
4954 PR guile/17177
4955 * guile/lib/gdb.scm (pretty-printers): Export.
4956 (set-pretty-printers!): Export.
4957 * guile/lib/gdb/printing.scm (gdb module): Update.
4958 (prepend-pretty-printer!, append-pretty-printer!): Update.
4959 * guile/scm-pretty-print.c (pretty_printer_list_name): Delete.
4960 (pretty_printer_list_var): Delete.
4961 (pretty_printer_list): New static global.
4962 (gdbscm_pretty_printers): New function.
4963 (gdbscm_set_pretty_printers_x): New function.
4964 (ppscm_find_pretty_printer_from_gdb): Update.
4965 (pretty_printer_functions): Add pretty-printers, set-pretty-printers!.
4966 (gdbscm_initialize_pretty_printers): Update.
4967
74edf516
DE
49682014-07-26 Doug Evans <xdje42@gmail.com>
4969
4970 PR 17185
4971 * configure.ac: Add check for header gc/gc.h.
4972 Add check for function setenv.
4973 * configure: Regenerate.
4974 * config.in: Regenerate.
4975 * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0.
4976
d54398a7
MR
49772014-07-25 Maciej W. Rozycki <macro@codesourcery.com>
4978
4979 * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA
4980 variation in gdbarch matching.
4981
ab16fce8
TT
49822014-07-25 Tom Tromey <tromey@redhat.com>
4983
4984 * exec.c (using_exec_ops): Remove.
4985 (exec_close_1): Update. Remove extraneous block, reindent.
4986 (add_target_sections): Use target_is_pushed.
4987
88056fbb
PA
49882014-07-25 Pedro Alves <palves@redhat.com>
4989
4990 * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status.
4991 * monitor.c (monitor_create_inferior): Likewise.
4992 * remote-m32r-sdi.c (m32r_create_inferior): Likewise.
4993 * remote-sim.c (gdbsim_create_inferior): Likewise.
4994 * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
4995 * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
4996 * windows-nat.c (do_initial_windows_stuff): Likewise.
4997
70509625
PA
49982014-07-25 Pedro Alves <palves@redhat.com>
4999
5000 * NEWS: Mention signal passing and "signal" command changes.
5001 * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend
5002 comment.
5003 * breakpoint.c (until_break_command): Adjust clear_proceed_status
5004 call.
5005 * infcall.c (run_inferior_call): Adjust clear_proceed_status call.
5006 * infcmd.c (proceed_thread_callback, continue_1, step_once)
5007 (jump_command): Adjust clear_proceed_status call.
5008 (signal_command): Warn if other thread that are resumed have
5009 signals that will be delivered. Adjust clear_proceed_status call.
5010 (until_next_command, finish_command)
5011 (proceed_after_attach_callback, attach_command_post_wait)
5012 (attach_command): Adjust clear_proceed_status call.
5013 * infrun.c (proceed_after_vfork_done): Likewise.
5014 (proceed_after_attach_callback): Adjust comment.
5015 (clear_proceed_status_thread): Clear stop_signal if not in pass
5016 state.
5017 (clear_proceed_status_callback): Delete.
5018 (clear_proceed_status): New 'step' parameter. Only clear the
5019 proceed status of threads the command being prepared is about to
5020 resume.
5021 (proceed): If passed in an explicit signal, override stop_signal
5022 with it. Don't pass the last stop signal to the thread we're
5023 resuming.
5024 (init_wait_for_inferior): Adjust clear_proceed_status call.
5025 (switch_back_to_stepped_thread): Clear the signal if it should not
5026 be passed.
5027 * infrun.h (clear_proceed_status): New 'step' parameter.
5028 (user_visible_resume_ptid): Add comment.
5029 * linux-nat.c (linux_nat_resume_callback): Don't check whether the
5030 signal is in pass state.
5031 * remote.c (append_pending_thread_resumptions): Likewise.
5032 * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call.
5033
d8be2939
TT
50342014-07-25 Tom Tromey <tromey@redhat.com>
5035
5036 * target.h (target_stopped_data_address)
5037 (target_watchpoint_addr_within_range): Use "->", not ".". Fix
5038 parentheses.
5039
7d0d9d2b
PL
50402014-07-25 Pierre Langlois <pierre.langlois@embecosm.com>
5041
5042 * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the
5043 comments.
5044 (avr_pointer_to_address): Likewise.
5045
e9e7f724
TT
50462014-07-24 Tom Tromey <tromey@redhat.com>
5047
5048 * monitor.c (compile_pattern): Update.
5049 * target.h (struct target_ops) <to_shortname, to_longname,
5050 to_doc>: Now const.
5051
1947513d
TT
50522014-07-24 Tom Tromey <tromey@redhat.com>
5053
5054 * cli/cli-decode.c (add_cmd, add_prefix_cmd)
5055 (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info)
5056 (add_info_alias, add_com): Make "doc" const.
5057 (print_doc_line): Make "str" const.
5058 (delete_cmd): Update.
5059 * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const.
5060 (print_doc_line): Update.
5061 * cli/cli-script.c (document_command): Update.
5062 * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd)
5063 (add_com, add_info, add_info_alias): Update.
5064 * guile/scm-cmd.c (cmdscm_destroyer): Update.
5065 * python/py-cmd.c (cmdpy_destroyer): Update.
5066
64e61d29
TT
50672014-07-24 Tom Tromey <tromey@redhat.com>
5068
5069 * cli/cli-decode.c (print_help_for_command): Make "prefix" const.
5070 (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list)
5071 (help_cmd_list): Constify.
5072 (lookup_cmd): Update.
5073 * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now
5074 const.
5075 (help_cmd_list, apropos_cmd): Update.
5076 * cli/cli-script.c (show_user): Update.
5077 * cli/cli-setshow.c (cmd_show_list): Make "prefix" const.
5078 * cli/cli-setshow.h (cmd_show_list): Update.
5079 * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list)
5080 (cmd_show_list): Update.
5081 * guile/scm-cmd.c (cmdscm_destroyer): Update.
5082 * python/py-cmd.c (cmdpy_destroyer): Update.
5083
429e55ea
TT
50842014-07-24 Tom Tromey <tromey@redhat.com>
5085
5086 * cli/cli-decode.c (deprecate_cmd): Make "replacement" const.
5087 * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now
5088 const.
5089 * command.h (deprecate_cmd): Update.
5090 * maint.c (maintenance_do_deprecate): Add casts.
5091
64669f3b
TT
50922014-07-24 Tom Tromey <tromey@redhat.com>
5093
5094 * cli/cli-decode.c (help_cmd): Make parameter "const".
5095 * cli/cli-decode.h (help_cmd): Update.
5096
d3d3328b
TT
50972014-07-24 Tom Tromey <tromey@redhat.com>
5098
5099 * stack.c (up_silently_base, down_silently_base): Make argument
5100 const.
5101
414842dc
TT
51022014-07-24 Tom Tromey <tromey@redhat.com>
5103
5104 * solib.c (solib_add): Make "pattern" const.
5105 * solib.h (solib_add): Update.
5106
baa336ce
TT
51072014-07-24 Tom Tromey <tromey@redhat.com>
5108
5109 * remote.c (remote_serial_open, print_packet, putpkt)
5110 (putpkt_binary): Constify.
5111 * remote.h (putpkt): Update.
5112
5a19e2d0
TT
51132014-07-24 Tom Tromey <tromey@redhat.com>
5114
5115 * monitor.c (monitor_open): Make "args" const.
5116 * monitor.h (monitor_open): Update.
5117
fc4baa5e
TT
51182014-07-24 Tom Tromey <tromey@redhat.com>
5119
5120 * maint.c (match_bfd_flags): Make "string" const.
5121 (print_bfd_section_info): Remove casts.
5122 (print_objfile_section_info): Make "string" const.
5123
0d5f0dbe
TT
51242014-07-24 Tom Tromey <tromey@redhat.com>
5125
5126 * inf-child.c (inf_child_open_target): Make "arg" const.
5127 * inf-child.h (inf_child_open_target): Update.
5128
41c77899
TT
51292014-07-24 Tom Tromey <tromey@redhat.com>
5130
5131 * environ.c (unset_in_environ): Make "var" const.
5132 * environ.h (unset_in_environ): Update.
5133
93db0d79
TT
51342014-07-24 Tom Tromey <tromey@redhat.com>
5135
5136 * cli/cli-dump.c (scan_expression_with_cleanup): Return const.
5137 Make "cmd" const.
5138 (scan_filename_with_cleanup): Likewise.
5139 (dump_memory_to_file, dump_value_to_file, restore_binary_file):
5140 Make arguments const.
5141 (restore_command): Update.
5142
36d6eb95
PA
51432014-07-24 Pedro Alves <palves@redhat.com>
5144
5145 * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt.
5146
8009206a
TT
51472014-07-24 Tom Tromey <tromey@redhat.com>
5148 Gary Benson <gbenson@redhat.com>
5149
5150 * nat/linux-ptrace.c (additional_flags): New global.
5151 (linux_test_for_tracesysgood, linux_test_for_tracefork): Use
5152 additional_flags; don't check GDBSERVER.
5153 (linux_ptrace_set_additional_flags): New function.
5154 * nat/linux-ptrace.h (linux_ptrace_set_additional_flags):
5155 Declare.
5156 * linux-nat.c (_initialize_linux_nat): Call
5157 linux_ptrace_set_additional_flags.
5158
a7068b60
TT
51592014-07-24 Tom Tromey <tromey@redhat.com>
5160
5161 * make-target-delegates (munge_type, write_debugmethod): New
5162 functions.
5163 (debug_names): New global.
5164 ($TARGET_DEBUG_PRINTER): New global.
5165 (write_function_header): Strip TARGET_DEBUG_PRINTER from the type
5166 name.
5167 Write debug methods. Generate init_debug_target.
5168 * target-debug.h: New file.
5169 * target-delegates.c: Rebuild.
5170 * target.c: Include target-debug.h.
5171 (debug_target): Hoist definition.
5172 (target_kill, target_get_section_table, target_memory_map)
5173 (target_flash_erase, target_flash_done, target_detach)
5174 (target_disconnect, target_wait, target_resume)
5175 (target_pass_signals, target_program_signals, target_follow_fork)
5176 (target_mourn_inferior, target_search_memory)
5177 (target_thread_address_space, target_close)
5178 (target_find_new_threads, target_core_of_thread)
5179 (target_verify_memory, target_insert_mask_watchpoint)
5180 (target_remove_mask_watchpoint): Remove targetdebug code.
5181 (debug_to_post_attach, debug_to_prepare_to_store)
5182 (debug_to_files_info, debug_to_insert_breakpoint)
5183 (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint)
5184 (debug_to_region_ok_for_hw_watchpoint)
5185 (debug_to_can_accel_watchpoint_condition)
5186 (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address)
5187 (debug_to_watchpoint_addr_within_range)
5188 (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint)
5189 (debug_to_insert_watchpoint, debug_to_remove_watchpoint)
5190 (debug_to_terminal_init, debug_to_terminal_inferior)
5191 (debug_to_terminal_ours_for_output, debug_to_terminal_ours)
5192 (debug_to_terminal_save_ours, debug_to_terminal_info)
5193 (debug_to_load, debug_to_post_startup_inferior)
5194 (debug_to_insert_fork_catchpoint)
5195 (debug_to_remove_fork_catchpoint)
5196 (debug_to_insert_vfork_catchpoint)
5197 (debug_to_remove_vfork_catchpoint)
5198 (debug_to_insert_exec_catchpoint)
5199 (debug_to_remove_exec_catchpoint, debug_to_has_exited)
5200 (debug_to_can_run, debug_to_thread_architecture, debug_to_stop)
5201 (debug_to_rcmd, debug_to_pid_to_exec_file): Remove.
5202 (setup_target_debug): Call init_debug_target.
5203 * target.h (TARGET_DEBUG_PRINTER): New macro.
5204 (struct target_ops) <to_resume, to_wait, to_pass_signals,
5205 to_program_signals>: Use TARGET_DEBUG_PRINTER.
5206
2c51604d
GB
52072014-07-24 Gary Benson <gbenson@redhat.com>
5208
5209 * exceptions.h (throw_vfatal): Renamed to...
5210 (throw_vquit): New declaration.
5211 (throw_quit): Likewise.
5212 * exceptions.c (throw_vfatal): Renamed to...
5213 (throw_vquit): New function.
5214 (throw_quit): Likewise.
5215 (throw_error): Call throw_verror rather than throw_it.
5216 * utils.h (vfatal): Removed.
5217 (fatal): Likewise.
5218 * utils.c (vfatal): Removed.
5219 (fatal): Likewise.
5220 (internal_verror): Replaced call to fatal with call to throw_quit.
5221 (quit): Replaced calls to fatal with calls to throw_quit.
5222
34211963
ME
52232014-07-23 Ajit Agarwal <ajitkum@xilinx.com>
5224
5225 * microblaze-tdep.c (microblaze_fetch_instruction): Use of
5226 target_read_code.
5227
a52b4d3e
ME
52282014-07-23 Chen Gang <gang.chen.5i5j@gmail.com>
5229
5230 * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether
5231 less than zero in conditional expression.
5232
a8bdc56b
TT
52332014-07-23 Tom Tromey <tromey@redhat.com>
5234
5235 * make-target-delegates ($ARGS_PART): Match trailing close paren.
5236 ($INTRO_PART): Don't match whitespace.
5237 ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and
5238 argument matching.
5239 ($METHOD): Add $METHOD_TRAILER.
5240 (trim): Rewrite.
5241 (scan_target_h): New sub.
5242 Change main loop not to collect state.
5243 * target-delegates.c: Rebuild.
5244
91b52240
GB
52452014-07-23 Gary Benson <gbenson@redhat.com>
5246
5247 * cp-support.c (gdb_demangle): Fix build on systems without
5248 sigaltstack.
5249
45326f6f
JK
52502014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5251
5252 * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address
5253 for reference entry value target data value.
5254
e214cf6c
JK
52552014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5256
5257 * stack.c (read_frame_arg): Verify value_optimized_out before calling
5258 value_available_contents_eq.
5259
bddbbedd
PA
52602014-07-22 Pedro Alves <palves@redhat.com>
5261
5262 * value.c (allocate_optimized_out_value): Don't mark value as
5263 non-lazy.
5264
45c71484
JW
52652014-07-22 Jiong Wang <jiong.wang@arm.com>
5266
5267 * MAINTAINERS (Write After Approval): Update my email address.
5268
9597b22a
DE
52692014-07-20 Doug Evans <dje@google.com>
5270
5271 PR server/17147
5272 * remote.c (putpkt_binary): Add text to error message.
5273
91101fe5
YQ
52742014-07-20 Yao Qi <yao@codesourcery.com>
5275
5276 * eval.c: Remove "Chill" from comments.
5277 * gdbtypes.h: Likewise.
5278 * symtab.h: Likewise.
5279
c9402c95
YQ
52802014-07-20 Yao Qi <yao@codesourcery.com>
5281
5282 * std-operator.def: Update comments to TERNOP_SLICE.
5283
ae8fddda
YQ
52842014-07-20 Yao Qi <yao@codesourcery.com>
5285
5286 * std-operator.def: Remove BINOP_RANGE.
5287 * breakpoint.c (watchpoint_exp_is_const): Update.
5288 * expprint.c (dump_subexp_body_standard): Likewise.
5289 * eval.c (init_array_element): Remove dead code.
5290 (evaluate_subexp_standard): Likewise.
5291
9c816640
YQ
52922014-07-20 Yao Qi <yao@codesourcery.com>
5293
5294 * std-operator.def: Remove BINOP_IN.
5295 * breakpoint.c (watchpoint_exp_is_const): Update.
5296 * eval.c (evaluate_subexp_standard): Likewise.
5297 * expprint.c (dump_subexp_body_standard): Likewise.
5298
164224e9
ME
52992014-07-19 Ajit Agarwal <ajitkum@xilinx.com>
5300
5301 * microblaze-tdep.c (microblaze_register_names): Add
5302 the rshr and rslr register names.
5303 (microblaze_gdbarch_init): Use of tdesc_has_registers.
5304 Use of tdesc_find_feature. Use of tdesc_data_alloc.
5305 Use of tdesc_numbered_register. Use of
5306 microblaze_register_g_packet_guesses. Use of
5307 tdesc_use_registers. Use of set_gdbarch_register_type.
5308 (microblaze_register_g_packet_guesses): New.
5309 * microblaze-tdep.h (microblaze_reg_num): Add
5310 field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM
5311 MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS.
5312 (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS.
5313 * features/microblaze-core.xml: New file.
5314 * features/microblaze-stack-protect.xml: New file.
5315 * features/microblaze-with-stack-protect.c: New file.
5316 * features/microblaze-with-stack-protect.xml: New file.
5317 * features/microblaze.xml: New file.
5318 * features/microblaze.c: New file.
5319 * features/Makefile (microblaze-with-stack-protect): Add
5320 microblaze-with-stack-protect microblaze and microblaze-expedite.
5321 * regformats/microblaze-with-stack-protect.dat: New file.
5322 * regformats/microblaze.dat: New file.
5323 * doc/gdb.texinfo (MicroBlaze Features): Added.
5324
e8b2341c
TT
53252014-07-18 Tom Tromey <tromey@redhat.com>
5326
5327 * exec.c (exec_ops): Now static.
5328 * exec.h (exec_ops): Don't declare.
5329
44e89118
TT
53302014-07-18 Tom Tromey <tromey@redhat.com>
5331
5332 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self"
5333 to find_target_beneath.
5334 * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to
5335 find_target_beneath.
5336 (ravenscar_mourn_inferior): Pass "self" to find_target_beneath.
5337
b0ed115f
TT
53382014-07-18 Tom Tromey <tromey@redhat.com>
5339
5340 PR gdb/17130:
5341 * utils.c (quit): Use target_supports_terminal_ours.
5342 * target.h (target_supports_terminal_ours): Declare.
5343 * target.c (target_supports_delete_record): Don't check
5344 to_delete_record against NULL.
5345 (target_supports_terminal_ours): New function.
5346
e75fdfca
TT
53472014-07-18 Tom Tromey <tromey@redhat.com>
5348
5349 PR gdb/17130:
5350 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint)
5351 (spu_fetch_registers, spu_store_registers, spu_xfer_partial)
5352 (spu_search_memory, spu_mourn_inferior): Simplify delegation.
5353 * linux-thread-db.c (thread_db_pid_to_str): Always delegate.
5354 * windows-nat.c (windows_xfer_partial): Always delegate.
5355 * record-btrace.c (record_btrace_xfer_partial): Simplify
5356 delegation.
5357 (record_btrace_fetch_registers, record_btrace_store_registers)
5358 (record_btrace_prepare_to_store, record_btrace_resume)
5359 (record_btrace_wait, record_btrace_find_new_threads)
5360 (record_btrace_thread_alive): Likewise.
5361 * procfs.c (procfs_xfer_partial): Always delegate.
5362 * corelow.c (core_xfer_partial): Always delegate.
5363 * sol-thread.c (sol_find_new_threads): Simplify delegation.
5364
83814951
TT
53652014-07-18 Tom Tromey <tromey@redhat.com>
5366
5367 * exec.c (exec_make_note_section): Move earlier.
5368
b8b8facf
DE
53692014-07-17 Doug Evans <dje@google.com>
5370
74b49205 5371 PR gdb/17170
b8b8facf
DE
5372 * maint.c (count_symtabs_and_blocks): Handle NULL
5373 current_program_space.
5374 (report_command_stats): Check global enabled flag in addition to
5375 recorded enabled flag.
5376 (make_command_stats_cleanup): Handle msg_type == 0, startup.
5377
69ff6be5
PA
53782014-07-16 Pedro Alves <palves@redhat.com>
5379
5380 * linux-nat.c (kill_callback): Use kill_lwp, not kill.
5381
252db1b5
TT
53822014-07-16 Tom Tromey <tromey@redhat.com>
5383
5384 * target.h (struct target_ops) <to_delete_record>: Reformat
5385 comment.
5386
a432721e
TT
53872014-07-16 Tom Tromey <tromey@redhat.com>
5388
5389 * target-delegates.c: Rebuild.
5390
487d9753
PL
53912014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5392
5393 * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro.
5394 (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise.
5395 (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH.
5396 (avr_pointer_to_address): Likewise.
5397 (avr_address_class_type_flags): New function.
5398 (avr_address_class_type_flags_to_name): Likewise.
5399 (avr_address_class_name_to_type_flags): Likewise.
5400 (avr_gdbarch_init): Set address_class_type_flags,
5401 address_class_type_flags_to_name and
5402 address_class_name_to_type_flags.
5403
57745c90
PA
54042014-07-15 Pedro Alves <palves@redhat.com>
5405
5406 * linux-nat.c (kill_callback): Save errno and work with saved
5407 copy.
5408
2d40be18
SM
54092014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5410
5411 * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
5412
572f6555
EBM
54132014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5414
5415 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware
5416 breakpoint support correctly.
5417
cc1c52ad
PA
54182014-07-14 Pedro Alves <palves@redhat.com>
5419
5420 * utils.c (prompt_for_continue): Call target_terminal_ours.
5421
1e973570
PA
54222014-07-14 Pedro Alves <palves@redhat.com>
5423
5424 * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of
5425 catch_errors. Don't re-enable stdin or notify observers where,
5426 and rethrow error.
5427 (fetch_inferior_event_wrapper): Delete.
5428
93d6eb10
PA
54292014-07-14 Pedro Alves <palves@redhat.com>
5430
5431 PR gdb/17072
5432 * top.c: Include "inf-loop.h".
5433 (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New
5434 field.
5435 (gdb_readline_wrapper_cleanup): Make the target async again, if it
5436 was async before.
5437 (gdb_readline_wrapper): Store whether the target is async, and
5438 make it sync.
5439
0017922d
PA
54402014-07-14 Pedro Alves <palves@redhat.com>
5441
5442 PR gdb/17072
5443 * top.c (gdb_readline_wrapper_line): Tweak comment.
5444 (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall
5445 the input handler callback.
5446
94696ad3
PA
54472014-07-14 Pedro Alves <palves@redhat.com>
5448
5449 PR gdb/17072
5450 * main.c: Include event-top.h.
5451 (handle_command_errors): New function.
5452 (catch_command_errors, catch_command_errors_const): Use it.
5453
9d1e69a2
PA
54542014-07-14 Pedro Alves <palves@redhat.com>
5455
5456 * exceptions.c (catch_command_errors, catch_command_errors_const):
5457 Moved to main.c.
5458 * exceptions.h (catch_command_errors_ftype)
5459 (catch_command_errors_const_ftype): Moved to main.c.
5460 (catch_command_errors, catch_command_errors_const): Delete
5461 declarations.
5462 * main.c (catch_command_errors_ftype)
5463 (catch_command_errors_const_ftype): Moved here from exceptions.h.
5464 (catch_command_errors, catch_command_errors_const)): Moved here
5465 from exceptions.c and make static.
5466
feefc97b
PA
54672014-07-14 Pedro Alves <palves@redhat.com>
5468
5469 * exceptions.c (print_any_exception): Delete.
5470 (catch_exceptions_with_msg): Use exception_print instead of
5471 print_any_exception.
5472 (catch_errors): Use exception_fprintf instead of
5473 print_any_exception.
5474 (catch_command_errors, catch_command_errors_const): Use
5475 exception_print instead of print_any_exception.
5476
c933f875
PA
54772014-07-14 Pedro Alves <palves@redhat.com>
5478
5479 * infcall.c (run_inferior_call): Set 'sync_execution' while
5480 running the inferior call.
5481
feb6f816
PA
54822014-07-14 Pedro Alves <palves@redhat.com>
5483
5484 * value.c (value_contents_equal): Delete function.
5485 * value.h (value_contents_equal): Delete declaration.
5486
d98b7a16
TT
54872014-07-14 Tom Tromey <tromey@redhat.com>
5488
5489 PR exp/17106:
5490 * gdbtypes.c (is_dynamic_type_internal): New function, from
5491 is_dynamic_type.
5492 (is_dynamic_type): Rewrite.
5493 (resolve_dynamic_union): Use resolve_dynamic_type_internal.
5494 (resolve_dynamic_struct): Likewise.
5495 (resolve_dynamic_type_internal): New function, from
5496 resolve_dynamic_type.
5497 (resolve_dynamic_type): Rewrite.
5498
548740d6
TT
54992014-07-14 Tom Tromey <tromey@redhat.com>
5500
5501 * target.c (target_require_runnable): Also check record_stratum.
5502 Update comment.
5503
808f7ab1
YQ
55042014-07-11 Yao Qi <yao@codesourcery.com>
5505
5506 * arm-tdep.c (thumb_analyze_prologue): Break the loop if
5507 thumb_instruction_restores_sp return true.
5508
540314bd
YQ
55092014-07-11 Yao Qi <yao@codesourcery.com>
5510
5511 * arm-tdep.c (thumb_instruction_restores_sp): New function.
5512 (thumb_in_function_epilogue_p): Call
5513 thumb_instruction_restores_sp.
5514
1db01f22
YQ
55152014-07-11 Yao Qi <yao@codesourcery.com>
5516
5517 * arm-tdep.c (thumb_analyze_prologue): Don't match instruction
5518 'add sp, #imm'.
5519 (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'.
5520
3116063b
GB
55212014-07-11 Gary Benson <gbenson@redhat.com>
5522
5523 * amd64-linux-nat.c (gdbcore.h): Remove include.
5524 (regset.h): Likewise.
5525 (nat/linux-btrace.h): Likewise.
5526 (btrace.h): Likewise.
5527 (gdb_assert.h): Likewise.
5528 (string.h): Likewise.
5529 (sys/uio.h): Likewise.
5530 (sys/debugreg.h): Likewise.
5531 (sys/syscall.h): Likewise.
5532 (sys/procfs.h): Likewise.
5533 (sys/user.h): Likewise.
5534 (asm/ptrace.h): Likewise.
5535 (i386-nat.h): Likewise.
5536 * i386-linux-nat.c (i386-nat.h): Likewise.
5537 (regset.h): Likewise.
5538 (target.h): Likewise.
5539 (linux-nat.h): Likewise.
5540 (nat/linux-btrace.h): Likewise.
5541 (btrace.h): Likewise.
5542 (gdb_assert.h): Likewise.
5543 (string.h): Likewise.
5544 (sys/uio.h): Likewise.
5545 (sys/user.h): Likewise.
5546 (sys/procfs.h): Likewise.
5547 (sys/reg.h): Likewise.
5548 (sys/debugreg.h): Likewise.
5549 (ORIG_EAX): Remove definition.
5550
040baaf6
GB
55512014-07-11 Gary Benson <gbenson@redhat.com>
5552
5553 * i386-linux-nat.h: New file.
5554 * x86-linux-nat.h: Likewise.
5555 * x86-linux-nat.c: Likewise.
5556 * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers.
5557 * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o.
5558 * config/i386/linux64.mh (NATDEPFILES): Likewise.
5559 * amd64-linux-nat.c (x86-linux-nat.h): New include.
5560 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5561 (PTRACE_SETREGSET): Likewise.
5562 (arch_lwp_info): Now in x86-linux-nat.c.
5563 (have_ptrace_getregset): Now in x86-linux-nat.h.
5564 (x86_linux_dr_get): Now in x86-linux-nat.c.
5565 (x86_linux_dr_set): Likewise.
5566 (x86_linux_dr_get_addr): Likewise.
5567 (x86_linux_dr_get_control): Likewise.
5568 (x86_linux_dr_get_status): Likewise.
5569 (update_debug_registers_callback): Likewise.
5570 (x86_linux_dr_set_control): Likewise.
5571 (x86_linux_dr_set_addr): Likewise.
5572 (x86_linux_prepare_to_resume): Likewise.
5573 (x86_linux_new_thread): Likewise.
5574 (x86_linux_new_fork): Likewise.
5575 (x86_linux_get_thread_area): Likewise.
5576 (super_post_startup_inferior): Likewise.
5577 (x86_linux_child_post_startup_inferior): Likewise.
5578 (AMD64_LINUX_USER64_CS): Likewise.
5579 (AMD64_LINUX_X32_DS): Likewise.
5580 (x86_linux_read_description): Likewise.
5581 (x86_linux_enable_btrace): Likewise.
5582 (x86_linux_disable_btrace): Likewise.
5583 (x86_linux_teardown_btrace): Likewise.
5584 (x86_linux_read_btrace): Likewise.
5585 (x86_linux_create_target): Likewise.
5586 (x86_linux_add_target): Likewise.
5587 * i386-linux-nat.c (x86-linux-nat.h): New include.
5588 (PTRACE_GETREGSET): Now in x86-linux-nat.h.
5589 (PTRACE_SETREGSET): Likewise.
5590 (arch_lwp_info): Now in x86-linux-nat.c.
5591 (have_ptrace_getregset): Now in x86-linux-nat.h.
5592 (x86_linux_dr_get): Now in x86-linux-nat.c.
5593 (x86_linux_dr_set): Likewise.
5594 (x86_linux_dr_get_addr): Likewise.
5595 (x86_linux_dr_get_control): Likewise.
5596 (x86_linux_dr_get_status): Likewise.
5597 (update_debug_registers_callback): Likewise.
5598 (x86_linux_dr_set_control): Likewise.
5599 (x86_linux_dr_set_addr): Likewise.
5600 (x86_linux_prepare_to_resume): Likewise.
5601 (x86_linux_new_thread): Likewise.
5602 (x86_linux_new_fork): Likewise.
5603 (x86_linux_get_thread_area): Likewise.
5604 (super_post_startup_inferior): Likewise.
5605 (x86_linux_child_post_startup_inferior): Likewise.
5606 (AMD64_LINUX_USER64_CS): Likewise.
5607 (AMD64_LINUX_X32_DS): Likewise.
5608 (x86_linux_read_description): Likewise.
5609 (x86_linux_enable_btrace): Likewise.
5610 (x86_linux_disable_btrace): Likewise.
5611 (x86_linux_teardown_btrace): Likewise.
5612 (x86_linux_read_btrace): Likewise.
5613 (x86_linux_create_target): Likewise.
5614 (x86_linux_add_target): Likewise.
5615
1aa7e42c
GB
56162014-07-11 Gary Benson <gbenson@redhat.com>
5617
5618 * amd64-linux-nat.c: Comment and whitespace changes.
5619 * i386-linux-nat.c: Comment and whitespace changes.
5620
c1e246a0
GB
56212014-07-11 Gary Benson <gbenson@redhat.com>
5622
5623 * amd64-linux-nat.c (x86_linux_create_target): New function.
5624 (x86_linux_add_target): Likewise.
5625 (_initialize_amd64_linux_nat): Delegate to the above new functions.
5626 * i386-linux-nat.c (x86_linux_create_target): New function.
5627 (x86_linux_add_target): Likewise.
5628 (_initialize_i386_linux_nat): Delegate to the above new functions.
5629
8c420b8d
GB
56302014-07-11 Gary Benson <gbenson@redhat.com>
5631
5632 * amd64-linux-nat.c (x86_linux_get_thread_area): New function.
5633 (ps_get_thread_area): Delegate to the above in 32-bit mode.
5634 * i386-linux-nat.c (x86_linux_get_thread_area): New function.
5635 (ps_get_thread_area): Delegate to the above.
5636
cb1da100
GB
56372014-07-11 Gary Benson <gbenson@redhat.com>
5638
5639 * amd64-linux-nat.c (amd64_linux_read_description): Renamed to
5640 x86_linux_read_description. All uses updated. amd64-specific
5641 code conditionalized. Conditionalized i386-specific code added.
5642 Redundant cast removed.
5643 * i386-linux-nat.c (i386_linux_read_description): Renamed to
5644 x86_linux_read_description. All uses updated. i386-specific
5645 code conditionalized. Conditionalized amd64-specific code added.
5646 One sizeof replaced with the actual type it is describing.
5647
2acf3cd0
GB
56482014-07-11 Gary Benson <gbenson@redhat.com>
5649
5650 * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to
5651 x86_linux_dr_get. All uses updated.
5652 (amd64_linux_dr_set): Renamed to
5653 x86_linux_dr_set. All uses updated.
5654 (amd64_linux_dr_get_addr): Renamed to
5655 x86_linux_dr_get_addr. All uses updated.
5656 (amd64_linux_dr_get_control): Renamed to
5657 x86_linux_dr_get_control. All uses updated.
5658 (amd64_linux_dr_get_status): Renamed to
5659 x86_linux_dr_get_status. All uses updated.
5660 (amd64_linux_dr_set_control): Renamed to
5661 x86_linux_dr_set_control. All uses updated.
5662 (amd64_linux_dr_set_addr): Renamed to
5663 x86_linux_dr_set_addr. All uses updated.
5664 (amd64_linux_prepare_to_resume): Renamed to
5665 x86_linux_prepare_to_resume. All uses updated.
5666 (amd64_linux_new_thread): Renamed to
5667 x86_linux_new_thread. All uses updated.
5668 (amd64_linux_new_fork): Renamed to
5669 x86_linux_new_fork. All uses updated.
5670 (amd64_linux_child_post_startup_inferior): Renamed to
5671 x86_linux_child_post_startup_inferior. All uses updated.
5672 (amd64_linux_enable_btrace): Renamed to
5673 x86_linux_enable_btrace. All uses updated.
5674 (amd64_linux_disable_btrace): Renamed to
5675 x86_linux_disable_btrace. All uses updated.
5676 (amd64_linux_teardown_btrace): Renamed to
5677 x86_linux_teardown_btrace. All uses updated.
5678 (amd64_linux_read_btrace): Renamed to
5679 x86_linux_read_btrace. All uses updated.
5680 * i386-linux-nat.c (i386_linux_dr_get): Renamed to
5681 x86_linux_dr_get. All uses updated.
5682 (i386_linux_dr_set): Renamed to
5683 x86_linux_dr_set. All uses updated.
5684 (i386_linux_dr_get_addr): Renamed to
5685 x86_linux_dr_get_addr. All uses updated.
5686 (i386_linux_dr_get_control): Renamed to
5687 x86_linux_dr_get_control. All uses updated.
5688 (i386_linux_dr_get_status): Renamed to
5689 x86_linux_dr_get_status. All uses updated.
5690 (i386_linux_dr_set_control): Renamed to
5691 x86_linux_dr_set_control. All uses updated.
5692 (i386_linux_dr_set_addr): Renamed to
5693 x86_linux_dr_set_addr. All uses updated.
5694 (i386_linux_prepare_to_resume): Renamed to
5695 x86_linux_prepare_to_resume. All uses updated.
5696 (i386_linux_new_thread): Renamed to
5697 x86_linux_new_thread. All uses updated.
5698 (i386_linux_new_fork): Renamed to
5699 x86_linux_new_fork. All uses updated.
5700 (i386_linux_child_post_startup_inferior): Renamed to
5701 x86_linux_child_post_startup_inferior. All uses updated.
5702 (i386_linux_enable_btrace): Renamed to
5703 x86_linux_enable_btrace. All uses updated.
5704 (i386_linux_disable_btrace): Renamed to
5705 x86_linux_disable_btrace. All uses updated.
5706 (i386_linux_teardown_btrace): Renamed to
5707 x86_linux_teardown_btrace. All uses updated.
5708 (i386_linux_read_btrace): Renamed to
5709 x86_linux_read_btrace. All uses updated.
5710
b9c1d481
AS
57112014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com>
5712
5713 * remote.c (extended_remote_post_attach): New function.
5714 (init_extended_remote_ops): Install it as to_post_attach method.
5715
7180e04a
PA
57162014-07-09 Pedro Alves <palves@redhat.com>
5717
5718 * infcmd.c (attach_command_post_wait): Don't call
5719 target_terminal_inferior here.
5720 (attach_command): Call it here instead.
5721
9a9a7608
AB
57222014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
5723
5724 * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent
5725 field.
5726 * c-varobj.c (c_is_path_expr_parent): New function, moved core
5727 from varobj.c, with additional checks.
5728 (c_varobj_ops): Fill in is_path_expr_parent field.
5729 (cplus_varobj_ops): Fill in is_path_expr_parent field.
5730 * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent
5731 field.
5732 * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj
5733 ops method.
5734 (varobj_default_is_path_expr_parent): New function.
5735 * varobj.h (lang_varobj_ops): Add is_path_expr_parent field.
5736 (varobj_default_is_path_expr_parent): Declare new function.
5737
1f267ae3
MM
57382014-07-08 Markus Metzger <markus.t.metzger@intel.com>
5739
5740 * infcmd.c (finish_backward): Turn internal error into normal error.
5741
b2ee242b
PA
57422014-07-07 Pedro Alves <palves@redhat.com>
5743
8a869bca 5744 PR gdb/17096
b2ee242b
PA
5745 * remote.c (async_handle_remote_sigint)
5746 (async_handle_remote_sigint_twice): Call
5747 gdb_call_async_signal_handler instead of
5748 mark_async_signal_handler.
5749
38e229b2
TT
57502014-07-07 Tom Tromey <tromey@redhat.com>
5751
5752 * target-delegates.c: Rebuild.
5753 * target.c (target_info_record): Remove.
5754 * record.c (info_record_command): Unconditionally call
5755 to_info_record.
5756 * target.h (struct target_ops) <to_info_record>: Use
5757 TARGET_DEFAULT_IGNORE.
5758 (target_info_record): Remove.
5759
f0f9ff95
TT
57602014-07-07 Tom Tromey <tromey@redhat.com>
5761
5762 * target.h (struct target_ops) <to_get_thread_local_address>: Use
5763 TARGET_DEFAULT_NORETURN.
5764 * target.c (generic_tls_error): New function.
5765 (target_translate_tls_address): Don't search target stack.
5766 * target-delegates.c: Rebuild.
5767 * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target
5768 stack.
5769 * linux-thread-db.c (thread_db_get_thread_local_address):
5770 Unconditionally call beneath target.
5771
4a5be5ee
MK
57722014-07-03 Marc Khouzam <marc.khouzam@ericsson.com>
5773
5774 * cli/cli-logging.c (pop_output_files): Assign targerr to
5775 gdb_stdtargerr.
5776
92c3b204
AB
57772014-07-03 Andrew Burgess <andrew.burgess@embecosm.com>
5778
5779 * MAINTAINERS (Write After Approval): Update my email address.
5780
9b11e3a7
GB
57812014-07-02 Gary Benson <gbenson@redhat.com>
5782
5783 * proc-service.c (ps_xfer_memory): Update comment.
5784 (ps_pstop): Remove unused function.
5785 (ps_pcontinue): Likewise.
5786 (ps_lstop): Likewise.
5787 (ps_lcontinue): Likewise.
5788 (ps_lgetxregsize): Likewise.
5789 (ps_lgetxregs): Likewise.
5790 (ps_lsetxregs): Likewise.
5791 (ps_plog): Likewise.
5792 (ps_ptread): Likewise.
5793 (ps_ptwrite): Likewise.
5794
cf363f18
MW
57952014-07-01 Mark Wielaard <mjw@redhat.com>
5796
5797 * dwarf2read.c (add_array_cv_type): New function.
5798 (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY.
5799 (read_tag_volatile_type): Likewise.
5800
82ae6c8d
TT
58012014-07-01 Tom Tromey <tromey@redhat.com>
5802
5803 * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype.
5804 * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype.
5805 * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd)
5806 (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype.
5807 * command.h (cmd_cfunc_ftype): Move earlier.
5808 (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq)
5809 (add_com, add_info): Use cmd_cfunc_ftype.
5810
96142726
TT
58112014-06-30 Tom Tromey <tromey@redhat.com>
5812
5813 * symtab.c (operator_chars): Make parameters and return type
5814 const.
5815 (file_matches): Make "files" const.
5816 (struct search_symbols_data) <files>: Now const.
5817 (search_symbols): Make "regexp" and "files" parameters const.
5818 Update.
5819 (symtab_symbol_info): Remove cast.
5820 (rbreak_command): Update.
5821 * symtab.h (search_symbols): Update.
5822
b67a2c6f
YQ
58232014-06-27 Yao Qi <yao@codesourcery.com>
5824
5825 * breakpoint.c (check_longjmp_breakpoint_for_call_dummy):
5826 Change parameter type to 'struct thread_info *'. Caller
5827 updated.
5828 * breakpoint.h (check_longjmp_breakpoint_for_call_dummy):
5829 Update declaration.
5830 * dummy-frame.c (struct dummy_frame_id): New.
5831 (dummy_frame_id_eq): New function.
5832 (struct dummy_frame) <id>: Change its type to 'struct
5833 dummy_frame_id'.
5834 (dummy_frame_push): Add parameter ptid and save it in
5835 dummy_frame_id.
5836 (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of
5837 inferior_ptid.
5838 (pop_dummy_frame): Assert that the ptid of dummy_frame equals
5839 to inferior_ptid.
5840 (lookup_dummy_frame): Change parameter type to 'struct
5841 dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq
5842 instead of frame_id_eq.
5843 (dummy_frame_pop): Add parameter ptid. Callers updated.
5844 Update comments. Compose dummy_frame_id and pass it to
5845 lookup_dummy_frame.
5846 (dummy_frame_discard): Add parameter ptid.
5847 (dummy_frame_sniffer): Compose dummy_frame_id and call
5848 dummy_frame_id_eq instead of frame_id_eq.
5849 (fprint_dummy_frames): Print ptid.
5850 * dummy-frame.h: Remove comments.
5851 (dummy_frame_push): Add ptid in declaration.
5852 (dummy_frame_pop, dummy_frame_discard): Likewise.
5853
5b10184c
TT
58542014-06-26 Tom Tromey <tromey@redhat.com>
5855
5856 * cli/cli-cmds.c (error_no_arg): Make "why" const.
5857 * command.h (error_no_arg): Update.
5858
06900326
TT
58592014-06-26 Tom Tromey <tromey@redhat.com>
5860
5861 * cli/cli-setshow.c (do_set_command): Make "arg" const.
5862 (do_show_command): Make "arg" const.
5863 * cli/cli-setshow.h (do_set_command, do_show_command): Update.
5864
c2bcbb1d
TT
58652014-06-26 Tom Tromey <tromey@redhat.com>
5866
5867 * record-full.c (record_full_get_bookmark): Make "args" const.
5868 (record_full_goto_bookmark): Make "raw_bookmark" const.
5869 * record.c (record_goto): New function.
5870 (cmd_record_goto): Use it. Now static.
5871 * record.h (record_goto): Declare.
5872 (cmd_record_goto): Remove declaration.
5873 * target-delegates.c: Rebuild.
5874 * target.h (struct target_ops) <to_get_bookmark,
5875 to_goto_bookmark>: Make parameter const.
5876
9cbe5fff
TT
58772014-06-26 Tom Tromey <tromey@redhat.com>
5878
5879 * defs.h (generic_load): Update.
5880 * m32r-rom.c (m32r_load_gen): Make "filename" const.
5881 * monitor.c (monitor_load): Make "args" const.
5882 * remote-m32r-sdi.c (m32r_load): Make "args" const.
5883 * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args"
5884 const.
5885 (mips_load): Make "file" const.
5886 * remote-sim.c (gdbsim_load): Make "args" const.
5887 * remote.c (remote_load): Make "name" const.
5888 * symfile.c (generic_load): Make "args" const.
5889 * target-delegates.c: Rebuild.
5890 * target.c (target_load): Make "arg" const.
5891 (debug_to_load): Make "args" const.
5892 * target.h (struct target_ops) <to_load>: Make parameter const.
5893 (target_load): Update.
5894
34a68019
TT
58952014-06-26 Tom Tromey <tromey@redhat.com>
5896
5897 PR symtab/16902:
5898 * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name)
5899 (dwarf2_physname, read_partial_die)
5900 (guess_partial_die_structure_name, fixup_partial_die)
5901 (guess_full_die_structure_name, anonymous_struct_prefix)
5902 (dwarf2_name): Use per-BFD obstack.
5903
efc889c1
YQ
59042014-06-26 Yao Qi <yao@codesourcery.com>
5905
5906 * dummy-frame.c (dummy_frame_sniffer): Move local variables
5907 dummyframe and this_id into inner block below.
5908
4395285e
YQ
59092014-06-26 Yao Qi <yao@codesourcery.com>
5910
5911 * infrun.c (_initialize_infrun): Replace "signal_program[0]"
5912 with "signal_pass[0]" in the initialization of signal_pass.
5913
aef92902
MM
59142014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5915
5916 * record-btrace.c (record_btrace_generating_corefile)
5917 (record_btrace_prepare_to_generate_core)
5918 (record_btrace_done_generating_core): New.
5919 (record_btrace_xfer_partial, record_btrace_fetch_registers)
5920 (record_btrace_store_registers, record_btrace_prepare_to_store):
5921 Forward request when generating a core file.
5922 (record_btrace_open): Set record_btrace_generating_corefile to zero.
5923 (init_record_btrace_ops): Set to_prepare_to_generate_core and
5924 to_done_generating_core.
5925
5fff78c4
MM
59262014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5927
5928 * target.h (target_ops) <to_prepare_to_generate_core>
5929 <to_done_generating_core>: New.
5930 (target_prepare_to_generate_core, target_done_generating_core): New.
5931 * target.c (target_prepare_to_generate_core)
5932 (target_done_generating_core): New.
5933 * target-delegates.c: Regenerate.
5934 * gcore.c: (write_gcore_file): Rename to ...
5935 (write_gcore_file_1): ...this.
5936 (write_gcore_file): Call target_prepare_to_generate_core
5937 and target_done_generating_core.
5938
1d1f1ccb
MM
59392014-06-25 Markus Metzger <markus.t.metzger@intel.com>
5940
5941 * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call.
5942 * gcore.c (write_gcore_file): Free memory returned from
5943 make_corefile_notes.
5944 * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call.
5945 * procfs.c (procfs_make_note_section): Remove make_cleanup call.
5946
3343ef86
YQ
59472014-06-24 Yao Qi <yao@codesourcery.com>
5948
5949 * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New.
5950 (arm_linux_init_abi): Set skip_trampoline_code with
5951 gdbarch_skip_trampoline_code instead of
5952 find_solib_trampoline_target.
5953
18d18ac8
YQ
59542014-06-24 Yao Qi <yao@codesourcery.com>
5955
5956 * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if
5957 arm_skip_bx_reg returns non-zero.
5958
80d8d390
YQ
59592014-06-24 Yao Qi <yao@codesourcery.com>
5960
5961 * arm-tdep.c (arm_skip_bx_reg): New function.
5962 (arm_skip_stub): Call arm_skip_bx_reg.
5963
6a18a01c
DB
59642014-06-23 Don Breazeal <donb@codesourcery.com>
5965
5966 * MAINTAINERS: Add myself as write-after-approval maintainer.
5967
8e9db26e
PA
59682014-06-23 Pedro Alves <palves@redhat.com>
5969
5970 * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear
5971 DR_CONTROL before setting DR0..DR3.
5972 * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise.
5973 * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all
5974 bits of DR_CONTROL related to the debug register slot being
5975 disabled. If all slots are vacant, clear local slowdown as well,
5976 and assert DR_CONTROL is 0.
5977
70afc5b7
SC
59782014-06-23 Siva Chandra Reddy <sivachandra@google.com>
5979
5980 * python/lib/gdb/command/xmethods.py
5981 (get_method_matchers_in_loci): Lookup xmethod matchers in the
5982 current progspace only if the string "progspace" matches LOCUS_RE.
5983
840ed64d
JK
59842014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com>
5985
5986 Fix --with-system-readline with readline-6.3 patch 5.
5987 * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function)
5988 (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t
5989 types.
5990
26f2dc30
TT
59912014-06-20 Tom Tromey <tromey@redhat.com>
5992
5993 * dwarf2read.c (dw2_get_real_path): Use correct type in
5994 OBSTACK_CALLOC.
5995 * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result.
5996
125f8a3d
GB
59972014-06-20 Gary Benson <gbenson@redhat.com>
5998
5999 * common/gdb_thread_db.h: Moved to nat. All includes updated.
6000 * common/glibc_thread_db.h: Likewise.
6001 * common/i386-cpuid.h: Likewise.
6002 * common/i386-gcc-cpuid.h: Likewise.
6003 * common/linux-btrace.h: Likewise.
6004 * common/linux-osdata.h: Likewise.
6005 * common/linux-procfs.h: Likewise.
6006 * common/linux-ptrace.h: Likewise.
6007 * common/mips-linux-watch.h: Likewise.
6008 * common/linux-btrace.c: Moved to nat.
6009 * common/linux-osdata.c: Likewise.
6010 * common/linux-procfs.c: Likewise.
6011 * common/linux-ptrace.c: Likewise.
6012 * common/mips-linux-watch.c: Likewise.
6013 * nat/gdb_thread_db.h: Moved from common.
6014 * nat/glibc_thread_db.h: Likewise.
6015 * nat/i386-cpuid.h: Likewise.
6016 * nat/i386-gcc-cpuid.h: Likewise.
6017 * nat/linux-btrace.c: Likewise.
6018 * nat/linux-btrace.h: Likewise.
6019 * nat/linux-osdata.c: Likewise.
6020 * nat/linux-osdata.h: Likewise.
6021 * nat/linux-procfs.c: Likewise.
6022 * nat/linux-procfs.h: Likewise.
6023 * nat/linux-ptrace.c: Likewise.
6024 * nat/linux-ptrace.h: Likewise.
6025 * nat/mips-linux-watch.c: Likewise.
6026 * nat/mips-linux-watch.h: Likewise.
6027 * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations.
6028 (object file files): Reordered.
6029 * gdb/copyright.py (EXCLUDE_LIST): Reflect new location
6030 of glibc_thread_db.h.
6031
42995dbd
GB
60322014-06-20 Gary Benson <gbenson@redhat.com>
6033
6034 * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c.
6035 (i386_dr_low_type): Moved to nat/i386-dregs.h.
6036 (i386_dr_low): Likewise.
6037 (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c.
6038 (i386_dr_low_set_addr): Likewise.
6039 (i386_dr_low_get_addr): Likewise.
6040 (i386_dr_low_can_set_control): Likewise.
6041 (i386_dr_low_set_control): Likewise.
6042 (i386_dr_low_get_control): Likewise.
6043 (i386_dr_low_get_status): Likewise.
6044 (i386_get_debug_register_length): Likewise.
6045 * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h.
6046 (i386_dr_low): Likewise.
6047 * nat/i386-dregs.c (i386-low.h): Remove include.
6048 (i386-nat.h): Likewise.
6049 (nat/i386-dregs.h): New include.
6050 (i386_dr_low_can_set_addr): Moved from i386-nat.h.
6051 (i386_dr_low_set_addr): Likewise.
6052 (i386_dr_low_get_addr): Likewise.
6053 (i386_dr_low_can_set_control): Likewise.
6054 (i386_dr_low_set_control): Likewise.
6055 (i386_dr_low_get_control): Likewise.
6056 (i386_dr_low_get_status): Likewise.
6057 (i386_get_debug_register_length): Likewise.
6058 (debug_hw_points): Likewise.
6059
3ed9baed
IB
60602014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6061
6062 * Makefile.in (SFILES): Add d-exp.y.
6063 (YYFILES): Add d-exp.c.
6064 (YYOBJ): Add d-exp.o.
6065 (local-maintainer-clean): Delete d-exp.c.
6066 * d-exp.y: New file.
6067 * d-lang.h (d_parse): New declaration.
6068 (d_error): New declaration.
6069 * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP.
6070 Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other
6071 PREC_ORDER operators.
6072 (d_language_defn): Use d_parse, d_error instead of c_parse, c_error.
6073
78c164b0
YQ
60742014-06-19 Yao Qi <yao@codesourcery.com>
6075
6076 * gdbthread.h (any_running): Remove the declaration.
6077 * thread.c (any_running): Remove.
6078
f6e29b6e
YQ
60792014-06-19 Yao Qi <yao@codesourcery.com>
6080
6081 * gdbthread.h (struct thread_info) <state>: Change its type to
6082 'enum thread_state'. Update comments.
6083
034f788c
PA
60842014-06-19 Pedro Alves <palves@redhat.com>
6085
6086 * gdbthread.h (ALL_THREADS): Delete.
6087 (ALL_NON_EXITED_THREADS): New macro.
6088 * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS
6089 instead of ALL_THREADS.
6090 * infrun.c (find_thread_needs_step_over)
6091 (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS
6092 instead of ALL_THREADS.
6093 * record-btrace.c (record_btrace_open)
6094 (record_btrace_stop_recording, record_btrace_close)
6095 (record_btrace_is_replaying, record_btrace_resume)
6096 (record_btrace_find_thread_to_move, record_btrace_wait): Likewise.
6097 * remote.c (append_pending_thread_resumptions): Likewise.
6098 * thread.c (thread_apply_all_command): Likewise.
6099
46e33252
GB
61002014-06-19 Gary Benson <gbenson@redhat.com>
6101
6102 * i386-nat.c (i386_stopped_by_watchpoint):
6103 Use i386_dr_stopped_by_watchpoint.
6104 (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint.
6105 (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint.
6106
3a8ee006
GB
61072014-06-19 Gary Benson <gbenson@redhat.com>
6108
6109 * nat/i386-dregs.c: New file.
6110 * Makefile.in (i386-dregs.o): New rule.
6111 * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o.
6112 * config/i386/cygwin64.mh (NATDEPFILES): Likewise.
6113 * config/i386/darwin.mh (NATDEPFILES): Likewise.
6114 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
6115 * config/i386/fbsd64.mh (NATDEPFILES): Likewise.
6116 * config/i386/go32.mh (NATDEPFILES): Likewise.
6117 * config/i386/linux.mh (NATDEPFILES): Likewise.
6118 * config/i386/linux64.mh (NATDEPFILES): Likewise.
6119 * config/i386/mingw.mh (NATDEPFILES): Likewise.
6120 * config/i386/mingw64.mh (NATDEPFILES): Likewise.
6121 * i386-nat.h (debug_hw_points): New declaration.
6122 * i386-nat.c (breakpoint.h): Remove include.
6123 (command.h): Likewise.
6124 (target.h): Likewise.
6125 (gdb_assert.h): Likewise.
6126 (debug_hw_points): Made nonstatic.
6127 (debug_printf): Now in i386-dregs.c.
6128 (TARGET_HAS_DR_LEN_8): Likewise.
6129 (DR_CONTROL_SHIFT): Likewise.
6130 (DR_CONTROL_SIZE): Likewise.
6131 (DR_RW_EXECUTE): Likewise.
6132 (DR_RW_WRITE): Likewise.
6133 (DR_RW_READ): Likewise.
6134 (DR_RW_IORW): Likewise.
6135 (DR_LEN_1): Likewise.
6136 (DR_LEN_2): Likewise.
6137 (DR_LEN_4): Likewise.
6138 (DR_LEN_8): Likewise.
6139 (DR_LOCAL_ENABLE_SHIFT): Likewise.
6140 (DR_GLOBAL_ENABLE_SHIFT): Likewise.
6141 (DR_ENABLE_SIZE): Likewise.
6142 (DR_LOCAL_SLOWDOWN): Likewise.
6143 (DR_GLOBAL_SLOWDOWN): Likewise.
6144 (DR_CONTROL_RESERVED): Likewise.
6145 (I386_DR_CONTROL_MASK): Likewise.
6146 (I386_DR_VACANT): Likewise.
6147 (I386_DR_LOCAL_ENABLE): Likewise.
6148 (I386_DR_GLOBAL_ENABLE): Likewise.
6149 (I386_DR_DISABLE): Likewise.
6150 (I386_DR_SET_RW_LEN): Likewise.
6151 (I386_DR_GET_RW_LEN): Likewise.
6152 (I386_DR_WATCH_HIT): Likewise.
6153 (i386_wp_op_t): Likewise.
6154 (i386_show_dr): Likewise.
6155 (i386_length_and_rw_bits): Likewise.
6156 (i386_insert_aligned_watchpoint): Likewise.
6157 (i386_remove_aligned_watchpoint): Likewise.
6158 (i386_handle_nonaligned_watchpoint): Likewise.
6159 (i386_update_inferior_debug_regs): Likewise.
6160 (i386_insert_watchpoint): Use i386_dr_insert_watchpoint.
6161 (i386_remove_watchpoint): Use i386_dr_remove_watchpoint.
6162 (i386_region_ok_for_watchpoint):
6163 Use i386_dr_region_ok_for_watchpoint.
6164 (i386_stopped_data_address): Use i386_dr_stopped_data_address.
6165
322a8e06
GB
61662014-06-19 Gary Benson <gbenson@redhat.com>
6167
6168 * i386-nat.c (i386_insert_hw_breakpoint): Use
6169 i386_insert_watchpoint.
6170 (i386_remove_hw_breakpoint): Use i386_remove_watchpoint.
6171
8f26655c
GB
61722014-06-19 Gary Benson <gbenson@redhat.com>
6173
6174 * i386-nat.c (i386_dr_show): Renamed to
6175 i386_show_dr and made static. All uses updated.
6176 (i386_dr_length_and_rw_bits): Renamed to
6177 i386_length_and_rw_bits and made static.
6178 All uses updated.
6179 (i386_dr_insert_aligned_watchpoint): Renamed to
6180 i386_insert_aligned_watchpoint and made static.
6181 All uses updated.
6182 (i386_dr_remove_aligned_watchpoint): Renamed to
6183 i386_remove_aligned_watchpoint and made static.
6184 All uses updated.
6185 (i386_dr_update_inferior_debug_regs): Renamed to
6186 i386_update_inferior_debug_regs and made static.
6187 All uses updated.
6188 * nat/i386-dregs.h (i386_dr_show): Removed.
6189 (i386_dr_length_and_rw_bits): Likewise.
6190 (i386_dr_insert_aligned_watchpoint): Likewise.
6191 (i386_dr_remove_aligned_watchpoint): Likewise.
6192 (i386_dr_update_inferior_debug_regs): Likewise.
6193
992c7d70
GB
61942014-06-19 Gary Benson <gbenson@redhat.com>
6195
6196 * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check.
6197 * configure: Regenerate.
6198 * config.in: Likewise.
6199 * main.c (signal.h): New include.
6200 (setup_alternate_signal_stack): New function.
6201 (captured_main): Call the above.
6202 * cp-support.c (signal.h): New include.
6203 (catch_demangler_crashes): New flag.
6204 (SIGJMP_BUF): New define.
6205 (SIGSETJMP): Likewise.
6206 (SIGLONGJMP): Likewise.
6207 (gdb_demangle_jmp_buf): New static global.
6208 (gdb_demangle_attempt_core_dump): Likewise.
6209 (gdb_demangle_signal_handler): New function.
6210 (gdb_demangle): If catch_demangler_crashes is set, install the
6211 above signal handler before calling bfd_demangle, and restore
6212 the original signal handler afterwards. Display the offending
6213 symbol and call demangler_warning the first time a segmentation
6214 fault is caught.
6215 (_initialize_cp_support): New maint set/show command.
6216
eae7090b
GB
62172014-06-19 Gary Benson <gbenson@redhat.com>
6218
6219 * utils.h (resource_limit_kind): New enum.
6220 (can_dump_core): New declaration.
6221 (warn_cant_dump_core): Likewise.
6222 (dump_core): Likewise.
6223 * utils.c (dump_core): Made nonstatic. Added new
6224 parameter "limit_kind".
6225 (can_dump_core): Made nonstatic. Moved printing code to...
6226 (warn_cant_dump_core): New function.
6227 (can_dump_core_warn): Likewise.
6228 (internal_vproblem): Replace calls to can_dump_core with
6229 calls to can_dump_core_warn. Supply new argument to each.
6230
57fcfb1b
GB
62312014-06-19 Gary Benson <gbenson@redhat.com>
6232
6233 * utils.h (demangler_vwarning): New declaration.
6234 (demangler_warning): Likewise.
6235 * utils.c (struct internal_problem)
6236 <user_settable_should_quit>: New field.
6237 <user_settable_should_dump_core>: Likewise
6238 (internal_error_problem): Add values for above new fields.
6239 (internal_warning_problem): Likewise.
6240 (demangler_warning_problem): New static global.
6241 (demangler_vwarning): New function.
6242 (demangler_warning): Likewise.
6243 (add_internal_problem_command): Selectively add commands.
6244 (_initialize_utils): New internal problem command.
6245 * maint.c (maintenance_demangler_warning): New function.
6246 (_initialize_maint_cmds): New command.
6247
17a40b44
TT
62482014-06-18 Tom Tromey <tromey@redhat.com>
6249
6250 * f-valprint.c (info_common_command_for_block): Update.
6251 * symtab.h (struct general_symbol_info) <common_block>: Now
6252 const.
6253
346d1dfe
TT
62542014-06-18 Tom Tromey <tromey@redhat.com>
6255
6256 * symtab.h (struct symtab) <blockvector>: Now const.
6257 * ada-lang.c (ada_add_global_exceptions): Update.
6258 * buildsym.c (augment_type_symtab): Update.
6259 * dwarf2read.c (dw2_lookup_symbol): Update.
6260 * jit.c (finalize_symtab): Update.
6261 * jv-lang.c (add_class_symtab_symbol): Update.
6262 * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab):
6263 Update.
6264 * objfiles.c (objfile_relocate1): Update.
6265 * psymtab.c (lookup_symbol_aux_psymtabs)
6266 (maintenance_check_psymtabs): Update.
6267 * python/py-symtab.c (stpy_global_block, stpy_static_block):
6268 Update.
6269 * spu-tdep.c (spu_catch_start): Update.
6270 * symmisc.c (dump_symtab_1): Update.
6271 * symtab.c (lookup_global_symbol_from_objfile)
6272 (lookup_symbol_aux_objfile, lookup_symbol_aux_quick)
6273 (basic_lookup_transparent_type_quick)
6274 (basic_lookup_transparent_type, find_pc_sect_symtab)
6275 (find_pc_sect_line, search_symbols): Update.
6276 * block.c (find_block_in_blockvector): Make "bl" const.
6277 (blockvector_for_pc_sect, blockvector_for_pc): Make return type
6278 const.
6279 (blockvector_contains_pc): Make "bv" const.
6280 (block_for_pc_sect): Update.
6281 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
6282 (blockvector_contains_pc): Update.
6283 * breakpoint.c (resolve_sal_pc): Update.
6284 * inline-frame.c (block_starting_point_at): Update.
6285
1834676b
TT
62862014-06-18 Tom Tromey <tromey@redhat.com>
6287
6288 * completer.c (complete_line): Make "line_buffer" const.
6289 * completer.h (complete_line): Update.
6290
ac1a991b
TT
62912014-06-18 Tom Tromey <tromey@redhat.com>
6292
6293 * symtab.c (add_macro_name): Remove unneeded cast.
6294
5bc98e52
TT
62952014-06-18 Tom Tromey <tromey@redhat.com>
6296
6297 * cli/cli-setshow.h (parse_cli_boolean_value): Update.
6298 * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const.
6299
8236def8
TT
63002014-06-18 Tom Tromey <tromey@redhat.com>
6301
6302 * probe.c (info_probes_for_ops): Make "arg" const.
6303 * probe.h (info_probes_for_ops): Update.
6304
3977b71f
TT
63052014-06-18 Tom Tromey <tromey@redhat.com>
6306
6307 * varobj.c (varobj_create): Update.
6308 * valops.c (value_of_this): Update.
6309 * tracepoint.c (add_local_symbols, scope_info): Update.
6310 * symtab.h (struct general_symbol_info) <block>: Now const.
6311 * symtab.c (skip_prologue_sal)
6312 (default_make_symbol_completion_list_break_on)
6313 (skip_prologue_using_sal): Update.
6314 * stack.h (iterate_over_block_locals)
6315 (iterate_over_block_local_vars): Update.
6316 * stack.c (print_frame_args): Update.
6317 (iterate_over_block_locals, iterate_over_block_local_vars): Make
6318 parameter const.
6319 (get_selected_block): Make return type const.
6320 * python/py-frame.c (frapy_block): Update.
6321 * python/py-block.c (gdbpy_block_for_pc): Update.
6322 * p-exp.y (%union) <bval>: Now const.
6323 * mi/mi-cmd-stack.c (list_args_or_locals): Update.
6324 * mdebugread.c (mylookup_symbol, parse_procedure): Update.
6325 * m2-exp.y (%union) <bval>: Now const.
6326 * linespec.c (get_current_search_block): Make return type const.
6327 (create_sals_line_offset, find_label_symbols): Update.
6328 * inline-frame.c (inline_frame_sniffer, skip_inline_frames):
6329 Update.
6330 (block_starting_point_at): Make "block" const.
6331 * infrun.c (insert_exception_resume_breakpoint): Make "b" const.
6332 (check_exception_resume): Update.
6333 * guile/scm-frame.c (gdbscm_frame_block): Update.
6334 * guile/scm-block.c (gdbscm_lookup_block): Update.
6335 * frame.h (get_frame_block): Update.
6336 (get_selected_block): Make return type const.
6337 * frame.c (frame_id_inner): Update.
6338 * f-valprint.c (info_common_command_for_block)
6339 (info_common_command): Update.
6340 * dwarf2loc.c (dwarf2_find_location_expression)
6341 (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax)
6342 (locexpr_describe_location_piece): Update.
6343 * c-exp.y (%union) <bval>: Now const.
6344 * breakpoint.c (resolve_sal_pc): Update.
6345 * blockframe.c (get_frame_block):Make return type const.
6346 (get_pc_function_start, get_frame_function, find_pc_sect_function)
6347 (block_innermost_frame): Update.
6348 * block.h (blockvector_for_pc, blockvector_for_pc_sect)
6349 (block_for_pc, block_for_pc_sect): Update.
6350 * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make
6351 'pblock' const.
6352 (block_for_pc_sect, block_for_pc): Make return type const.
6353 * ax-gdb.c (gen_expr): Update.
6354 * alpha-mdebug-tdep.c (find_proc_desc): Update.
6355 * ada-lang.c (ada_read_renaming_var_value): Make 'block' const.
6356 (ada_make_symbol_completion_list, ada_add_exceptions_from_frame)
6357 (ada_read_var_value): Update.
6358 * ada-exp.y (struct name_info) <block>: Now const.
6359 (%union): Likewise.
6360 (block_lookup): Constify.
6361
b9228891
GB
63622014-06-18 Gary Benson <gbenson@redhat.com>
6363
6364 * nat/i386-dregs.h: New file.
6365 * Makefile.in (HFILES_NO_SRCDIR): Add the above.
6366 * i386-nat.h (i386-dregs.h): New include.
6367 (DR_FIRSTADDR): Now in i386-dregs.h.
6368 (DR_LASTADDR): Likewise.
6369 (DR_NADDR): Likewise.
6370 (DR_STATUS): Likewise.
6371 (DR_CONTROL): Likewise.
6372 (i386_debug_reg_state): Likewise.
6373 * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise.
6374
a1aa2221
LM
63752014-06-18 Don Breazeal <donb@codesourcery.com>
6376
6377 * breakpoint.c (set_longjmp_breakpoint): Call
6378 momentary_breakpoint_from_master with additional argument.
6379 (set_longjmp_breakpoint_for_call_dummy): Call
6380 momentary_breakpoint_from_master with additional argument.
6381 (set_std_terminate_breakpoint): Call
6382 momentary_breakpoint_from_master with additional argument.
6383 (momentary_breakpoint_from_master): Add argument to function
6384 definition and use it to initialize structure member flag.
74228e77 6385 (clone_momentary_breakpoint): Call
a1aa2221
LM
6386 momentary_breakpoint_from_master with additional argument.
6387 * infrun.c (follow_inferior_reset_breakpoints): Clear structure
6388 member flags set in momentary_breakpoint_from_master.
6389
4be83cc2
GB
63902014-06-18 Gary Benson <gbenson@redhat.com>
6391
6392 * i386-nat.c (i386_show_dr): Renamed to
6393 i386_dr_show and made nonstatic. All uses updated.
6394 (i386_length_and_rw_bits): Renamed to
6395 i386_dr_length_and_rw_bits and made nonstatic.
6396 All uses updated.
6397 (i386_insert_aligned_watchpoint): Renamed to
6398 i386_dr_insert_aligned_watchpoint and made nonstatic.
6399 All uses updated.
6400 (i386_remove_aligned_watchpoint): Renamed to
6401 i386_dr_remove_aligned_watchpoint and made nonstatic.
6402 All uses updated.
6403 (i386_update_inferior_debug_regs): Renamed to
6404 i386_dr_update_inferior_debug_regs and made nonstatic.
6405 All uses updated.
6406
131aa0d4
GB
64072014-06-18 Gary Benson <gbenson@redhat.com>
6408
6409 * i386-nat.c (i386_dr_low_can_set_addr): New macro.
6410 (i386_dr_low_can_set_control): Likewise.
6411 (i386_dr_low_set_addr): Likewise.
6412 (i386_dr_low_set_control): Likewise.
6413 (i386_dr_low_get_addr): Likewise.
6414 (i386_dr_low_get_status): Likewise.
6415 (i386_dr_low_get_control): Likewise.
6416 (i386_insert_aligned_watchpoint): Use new macros.
6417 (i386_update_inferior_debug_regs): Likewise.
6418 (i386_stopped_data_address): Likewise.
6419
d9305f7f
GB
64202014-06-18 Gary Benson <gbenson@redhat.com>
6421
6422 * i386-nat.c (i386_update_inferior_debug_regs) <state>:
6423 New parameter. All uses updated.
6424
ea008da4
GB
64252014-06-18 Gary Benson <gbenson@redhat.com>
6426
6427 * i386-nat.c (maint_show_dr): Renamed to debug_hw_points.
6428 All uses updated.
6429
1b6d4134
GB
64302014-06-18 Gary Benson <gbenson@redhat.com>
6431
6432 * i386-nat.c (debug_printf): New macro.
6433 (i386_get_debug_register_length): Likewise.
6434 (TARGET_HAS_DR_LEN_8): Use above macro.
6435 (i386_show_dr): Use debug_printf instead of puts_unfiltered
6436 and printf_unfiltered. Use phex to format values.
6437
9b4550ef
GB
64382014-06-18 Gary Benson <gbenson@redhat.com>
6439
6440 * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>:
6441 Make const.
6442
6e62758f
GB
64432014-06-18 Gary Benson <gbenson@redhat.com>
6444
6445 * i386-nat.c: Comment changes.
6446
51c79e94
GB
64472014-06-18 Gary Benson <gbenson@redhat.com>
6448
6449 * i386-nat.c (I386_DR_WATCH_MASK): Remove macro.
6450
3e11889a
GB
64512014-06-18 Gary Benson <gbenson@redhat.com>
6452
6453 * i386-nat.c (i386_length_and_rw_bits): Remove prototype.
6454 (i386_insert_aligned_watchpoint): Likewise.
6455 (i386_remove_aligned_watchpoint): Likewise.
6456 (i386_handle_nonaligned_watchpoint): Likewise.
6457
fc6e2f03
GB
64582014-06-18 Gary Benson <gbenson@redhat.com>
6459
6460 * i386-nat.c: Whitespace changes.
6461
2afe7d50
SB
64622014-06-17 Samuel Bronson <naesten@gmail.com>
6463
6464 * MAINTAINERS: Update Roland McGrath's email address.
6465 Thanks to Sergio Durigan Junior for pointing out that he left
6a83deea 6466 Red Hat a while ago, and giving me a current address.
2afe7d50 6467
3bca49ee
TT
64682014-06-17 Tom Tromey <tromey@redhat.com>
6469
6470 * utils.h (savestring): Remove declaration.
6471
6e366df1
TT
64722014-06-17 Tom Tromey <tromey@redhat.com>
6473
6474 * remote.c (extended_remote_run): Use make_cleanup_freeargv.
6475
6be47f0c
KS
64762014-06-16 Keith Seitz <keiths@redhat.com>
6477
6478 PR mi/15863
6479 * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt
6480 to update the varobj if inferior_ptid is null_ptid.
6481
7bc112c1
TT
64822014-06-16 Tom Tromey <tromey@redhat.com>
6483
6484 * target.h (struct target_ops) <to_info_proc>: Make parameter
6485 const.
6486 (target_info_proc): Update.
6487 * target.c (target_info_proc): Make "args" const.
6488 * procfs.c (procfs_info_proc): Update.
6489 * linux-tdep.c (linux_info_proc): Update.
6490 (linux_core_info_proc_mappings): Make "args" const.
6491 (linux_core_info_proc): Update.
6492 * gdbarch.sh (info_proc, core_info_proc): Make "args" const.
6493 * gdbarch.c: Rebuild.
6494 * gdbarch.h: Rebuild.
6495 * corelow.c (core_info_proc): Update.
6496
fee354ee
TT
64972014-06-16 Tom Tromey <tromey@redhat.com>
6498
6499 * target.h (struct target_ops) <to_disconnect>: Make parameter
6500 const.
6501 (target_disconnect): Update.
6502 * target.c (target_disconnect): Make "args" const.
6503 * target-delegates.c: Rebuild.
6504 * remote.c (remote_disconnect): Update.
6505 * record.h (record_disconnect): Update.
6506 * record.c (record_disconnect): Update.
6507 * inf-child.c (inf_child_disconnect): Update.
6508
a30bf1f1
TT
65092014-06-16 Tom Tromey <tromey@redhat.com>
6510
6511 * target.h (struct target_ops) <to_rcmd>: Make "command" const.
6512 * target.c (debug_to_rcmd, default_rcmd): Update.
6513 * target-delegates.c: Rebuild.
6514 * remote.c (remote_rcmd): Update.
6515 * monitor.c (monitor_rcmd): Update.
6516
d03de421
PA
65172014-06-16 Pedro Alves <palves@redhat.com>
6518
6519 * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust.
6520 (disable_breakpoints_in_freed_objfile): Skip objfiles that don't
6521 have OBJF_SHARED set.
6522 * objfiles.c (userloaded_objfile_contains_address_p): Rename to...
6523 (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED
6524 instead of OBJF_USERLOADED.
6525 * objfiles.h (OBJF_SHARED): Update comment.
6526 (userloaded_objfile_contains_address_p): Rename to ...
6527 (shared_objfile_contains_address_p): ... this, and update
6528 comments.
6529 * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the
6530 new objfile.
6531 (remove_symbol_file_command): Skip objfiles that don't have
6532 OBJF_SHARED set.
6533
99f4262f
TT
65342014-06-16 Tom Tromey <tromey@redhat.com>
6535
6536 * minsyms.h (prim_record_minimal_symbol)
6537 (prim_record_minimal_symbol_and_info): Update comments.
6538
97d66cc6
EZ
65392014-06-14 Eli Zaretskii <eliz@gnu.org>
6540
6541 * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile
6542 or --without-guile, according to how GDB was built.
6543
635c7e8a
TT
65442014-06-13 Tom Tromey <tromey@redhat.com>
6545
6546 * cp-support.c (maint_cplus_command): Pass all_commands, not -1,
6547 to help_list.
6548 * guile/guile.c (info_guile_command): Pass all_commands, not -1,
6549 to help_list.
6550 * tui/tui-win.c (tui_command): Pass all_commands, not -1, to
6551 help_list.
6552 * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to
6553 help_list.Pass all_commands, not -1, to help_list.
6554 * cli/cli-dump.c (dump_command, append_command)
6555 (srec_dump_command, ihex_dump_command, tekhex_dump_command)
6556 (binary_dump_command, binary_append_command): Pass all_commands,
6557 not -1, to help_list.
6558 * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not
6559 -1, to help_list.
6560 * valprint.c (set_print, set_print_raw): Pass all_commands, not
6561 -1, to help_list.
6562 * typeprint.c (set_print_type): Pass all_commands, not -1, to
6563 help_list.
6564 * top.c (set_history): Pass all_commands, not -1, to help_list.
6565 * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass
6566 all_commands, not -1, to help_list.
6567 * symfile.c (overlay_command): Pass all_commands, not -1, to
6568 help_list.
6569 * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to
6570 help_list.
6571 * serial.c (serial_set_cmd): Pass all_commands, not -1, to
6572 help_list.
6573 * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not
6574 -1, to help_list.
6575 * remote.c (remote_command, set_remote_cmd): Pass all_commands,
6576 not -1, to help_list.
6577 * ravenscar-thread.c (set_ravenscar_command): Pass all_commands,
6578 not -1, to help_list.
6579 * maint.c (maintenance_command, maintenance_info_command)
6580 (maintenance_print_command, maintenance_set_cmd): Pass
6581 all_commands, not -1, to help_list.
6582 * macrocmd.c (macro_command): Pass all_commands, not -1, to
6583 help_list.
6584 * language.c (set_check): Pass all_commands, not -1, to help_list.
6585 * infcmd.c (unset_command): Pass all_commands, not -1, to
6586 help_list.
6587 * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to
6588 help_list.
6589 * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to
6590 help_list.
6591 * dcache.c (set_dcache_command): Pass all_commands, not -1, to
6592 help_list.
6593 * breakpoint.c (save_command): Pass all_commands, not -1, to
6594 help_list.
6595 * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass
6596 all_commands, not -1, to help_list.
6597
b94ade42
PL
65982014-06-12 Pierre Langlois <pierre.langlois@embecosm.com>
6599
6600 * regcache.c (struct register_to_invalidate): New structure.
6601 (do_register_invalidate, make_cleanup_regcache_invalidate): New
6602 functions.
6603 (regcache_raw_write): Call make_cleanup_regcache_invalidate.
6604
31f628ae
YQ
66052014-06-12 Yao Qi <yao@codesourcery.com>
6606
6607 * varobj.c (varobj_get_num_children): Call
6608 varobj_is_dynamic_p.
6609 (varobj_list_children): Likewise.
6610 (varobj_update): Likewise. Update comments.
6611
cde5ef40
YQ
66122014-06-12 Yao Qi <yao@codesourcery.com>
6613
6614 * varobj.c (varobj_pretty_printed_p): Rename to ...
6615 (varobj_is_dynamic_p): ... this. New function.
6616 * varobj.h (varobj_pretty_printed_p): Remove declaration.
6617 (varobj_is_dynamic_p): Declare.
6618 * mi/mi-cmd-var.c (print_varobj): All callers updated.
6619 (mi_print_value_p, varobj_update_one): Likewise.
6620
576ea091
YQ
66212014-06-12 Pedro Alves <pedro@codesourcery.com>
6622 Yao Qi <yao@codesourcery.com>
6623
6624 * varobj.c: Remove "#if HAVE_PYTHON" and "#endif".
6625 (varobj_get_iterator): Wrap up code for pretty-printer by
6626 "#if HAVE_PYTHON" and "#endif".
6627 (update_dynamic_varobj_children): Likewise.
6628
827f100c
YQ
66292014-06-12 Pedro Alves <pedro@codesourcery.com>
6630 Yao Qi <yao@codesourcery.com>
6631
6632 * python/py-varobj.c (py_varobj_iter_next): Return NULL if
6633 gdb_python_initialized is false. Move some code from varobj.c.
6634 * varobj-iter.h (struct varobj_item): Moved from varobj.c.
6635 * varobj.c: Move "varobj-iter.h" inclusion earlier.
6636 (struct varobj_item): Moved to varobj-iter.h".
6637 (varobj_clear_saved_item): New function.
6638 (update_dynamic_varobj_children): Move python-related code to
6639 py-varobj.c.
6640 (free_variable): Call varobj_clear_saved_item and
6641 varobj_iter_delete.
6642
e5250216
YQ
66432014-06-12 Pedro Alves <pedro@codesourcery.com>
6644 Yao Qi <yao@codesourcery.com>
6645
6646 * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o".
6647 (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c".
6648 (HFILES_NO_SRCDIR): Add "varobj-iter.h".
6649 (py-varobj.o): New rule.
6650 * python/py-varobj.c: New file.
6651 * python/python-internal.h (py_varobj_get_iterator): Declare.
6652 * varobj-iter.h: New file.
6653 * varobj.c: Include "varobj-iter.h"
6654 (struct varobj) <child_iter>: Change its type from "PyObject *"
6655 to "struct varobj_iter *".
6656 <saved_item>: Likewise.
6657 [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern.
6658 [HAVE_PYTHON] (varobj_get_iterator): New function.
6659 (update_dynamic_varobj_children) [HAVE_PYTHON]: Move
6660 python-specific code to python/py-varobj.c.
6661 (install_visualizer): Call varobj_iter_delete instead of
6662 Py_XDECREF.
6663 * varobj.h (varobj_ensure_python_env): Declare.
6664
5a2e0d6e
YQ
66652014-06-12 Yao Qi <yao@codesourcery.com>
6666
6667 * varobj.c (struct varobj_item): New structure.
6668 (create_child_with_value): Update declaration.
6669 (varobj_add_child): Replace arguments 'name' and 'value' with
6670 'item'. All callers updated.
6671 (install_dynamic_child): Likewise.
6672 (update_dynamic_varobj_children): Likewise.
6673 (varobj_add_child): Likewise.
6674 (create_child_with_value): Likewise.
6675
919b9a93
JB
66762014-06-11 Joel Brobecker <brobecker@adacore.com>
6677
6678 * NEWS: Create a new section for the next release branch.
6679 Rename the section of the current branch, now that it has
6680 been cut.
6681
71a55bdf
JB
66822014-06-11 Joel Brobecker <brobecker@adacore.com>
6683
6684 GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2):
6685 * version.in: Bump version to 7.8.50.DATE-cvs.
6686
364fe1f7
PA
66872014-06-11 Pedro Alves <palves@redhat.com>
6688
6689 PR remote/17028
6690 * ser-mingw.c (net_windows_socket_check_pending): New function.
6691 (net_windows_select_thread): Ignore spurious wakeups. Use
6692 net_windows_socket_check_pending.
6693 (net_windows_wait_handle): Check for pending events with
6694 ioctlsocket, through net_windows_socket_check_pending, instead of
6695 checking the socket's event.
6696
5a6c7709
SC
66972014-06-10 Siva Chandra Reddy <sivachandra@google.com>
6698
6699 * python/python-internal.h (gdb_PyObject_GetAttrString)
6700 (gdb_PyObject_HasAttrString): New inline function definitions.
6701 * py-value.c (get_field_flag): Remove the now unnecessary cast to
6702 char * of the second argument to PyObject_GetAttrString.
74228e77 6703
0e58ee40
JB
67042014-06-10 Joel Brobecker <brobecker@adacore.com>
6705
6706 * serial.c (serial_write): Fix index of character to be printed
6707 in call to serial_logchar when serial debug traces are enabled.
6708
d190df30
JB
67092014-06-10 Joel Brobecker <brobecker@adacore.com>
6710
6711 * gdbtypes (resolve_dynamic_range): Add function description.
6712
b4b01d36
PA
67132014-06-09 Pedro Alves <palves@redhat.com>
6714
6715 * linux-nat.c (linux_child_follow_fork): Initialize status with
6716 W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from
6717 inner block. Only pass the signal to PTRACE_DETACH if in pass
6718 state.
6719
3657956b
GB
67202014-06-09 Gary Benson <gbenson@redhat.com>
6721
6722 * common/signals.c (gdb_signal_from_host): Reorder to separate
6723 the always-available ANSI-standard signals from the signals that
6724 require checking.
6725 (do_gdb_signal_to_host): Likewise.
6726 * proc-events.c (signal_table): Likewise.
6727
c077881a
HZ
67282014-06-08 Hui Zhu <hui@codesourcery.com>
6729
6730 * common/linux-ptrace.c (linux_disable_event_reporting): New
6731 function.
6732 * common/linux-ptrace.h (linux_disable_event_reporting): New
6733 declaration.
6734 * linux-nat.c (linux_child_follow_fork): Do a single step before
6735 detach.
6736
4186eb54
KS
67372014-06-07 Keith Seitz <keiths@redhat.com>
6738
6739 Revert:
6740 PR c++/16253
6741 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
6742 from symbol_matches_domain in symtab.c. All local callers
6743 of symbol_matches_domain updated.
6744 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
6745 search STRUCT_DOMAIN.
6746 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
6747 independently. standard_lookup will do that automatically.
6748 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
6749 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6750 (cp_lookup_symbol_in_namespace): Likewise.
6751 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
6752 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
6753 may return a STRUCT_DOMAIN match.
6754 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
6755 * cp-support.c: Include language.h.
6756 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
6757 VAR_DOMAIN.
6758 * psymtab.c (match_partial_symbol): Compare the requested
6759 domain with the symbol's domain directly.
6760 (lookup_partial_symbol): Likewise.
6761 * symtab.c (lookup_symbol_in_language): Explain when/why
6762 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
6763 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
6764 appropriate languages.
6765 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
6766 and moved to ada-lang.c
6767 (lookup_block_symbol): Explain that this function only returns
6768 symbol matching the requested DOMAIN.
6769 Compare the requested domain with the symbol's domain directly.
6770 (iterate_over_symbols): Compare the requested domain with the
6771 symbol's domain directly.
6772 * symtab.h (symbol_matches_domain): Remove.
6773
25326a28 67742014-06-06 Doug Evans <xdje42@gmail.com>
d2929fdc
DE
6775
6776 * guile/guile-internal.h (gdbscm_guile_major_version): Declare.
6777 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare.
6778 (gdbscm_guile_version_is_at_least): Declare.
6779 (gdbscm_scm_string_to_int): Declare.
6780 * guile/guile.c (gdbscm_guile_major_version): New global.
6781 (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals.
6782 (guile_datadir): New static global.
6783 (gdbscm_guile_data_directory): New function.
6784 (initialize_scheme_side): Update.
6785 (misc_guile_functions): Add guile-data-directory.
6786 (initialize_gdb_module): Fetch guile version number.
6787 * guile/lib/gdb.scm: Remove call to add-to-load-path.
6788 * guile/lib/gdb/init.scm (%initialize!): Ditto.
6789 * guile/lib/gdb/boot.scm: Use guile-data-directory.
6790 * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix
6791 comments.
6792 * guile/scm-string.c (gdbscm_scm_string_to_int): New function.
6793 * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function.
6794 * guile/scm-value.c (gdbscm_value_to_string): Only call
6795 scm_port_conversion_strategy if Guile version >= 2.0.6.
6796
0a770bb2 67972014-06-06 Mingjie Xing <mingjie.xing@gmail.com>
6798
6799 * main.c (print_gdb_help): Add -q and --silent.
6800
73ba372c
GB
68012014-06-06 Gary Benson <gbenson@redhat.com>
6802
6803 * common/signals.c: Remove preprocessor conditionals for
6804 always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6805 SIGSEGV and SIGTERM.
6806 * proc-events.c: Likewise.
6807
c33b2f12
MM
68082014-06-06 Markus Metzger <markus.t.metzger@intel.com>
6809
6810 * symfile.c (symfile_free_objfile): Remove restriction to
6811 OBJF_USERLOADED.
6812 * symfile-mem.c (symbol_file_add_from_memory): Call
6813 add_target_sections_of_objfile.
6814
fb934770
LC
68152014-06-05 Ludovic Courtès <ludo@gnu.org>
6816
6817 * guile/scm-value.c (gdbscm_history_append_x): Use
6818 'vlscm_get_value_smob_arg_unsafe' instead of
6819 'vlscm_scm_to_value'.
6820
6ef284bd
SM
68212014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6822
6823 PR mi/15806
6824 * utils.c (printchar): Don't escape at all if quoter is NUL.
6825 Update function documentation to clarify effect of parameter
6826 QUOTER.
6827 * remote.c (escape_buffer): Pass '\\' as the quoter to
6828 fputstrn_unfiltered.
6829 * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to
6830 generate the output.
6831 (mi_solib_unloaded): Same.
6832
270c9937
JB
68332014-06-05 Joel Brobecker <brobecker@adacore.com>
6834
6835 * development.sh: Delete.
6836 * Makefile.in (config.status): Adjust dependency on development.sh.
6837 * configure.ac: Adjust development.sh source call.
6838 * configure: Regenerate.
6839
16f691fb
DE
68402014-06-04 Doug Evans <xdje42@gmail.com>
6841
6842 * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members
6843 is_scheme_bkpt, spec.
6844 (bpscm_make_breakpoint_smob): Initialize new members.
6845 (gdbscm_create_breakpoint_x): Split into two ...
6846 (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions.
6847 (bpscm_breakpoint_deleted): Reset breakpoint number and stop function.
6848 (scheme_function breakpoint_functions): Update.
6849 * guile/lib/gdb.scm: Delete create-breakpoint!. Rename
6850 breakpoint-delete! to delete-breakpoint!. Add make-breakpoint,
6851 register-breakpoint!.
6852
ef7cab6b
JB
68532014-06-04 Joel Brobecker <brobecker@adacorer.com>
6854
6855 PR server/17023
6856 * mem-break.c (z_type_supported): Return zero if
6857 THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL.
6858
012370f6
TT
68592014-06-04 Tom Tromey <tromey@redhat.com>
6860
6861 * ada-lang.c (ada_template_to_fixed_record_type_1): Use
6862 value_from_contents_and_address_unresolved.
6863 (ada_template_to_fixed_record_type_1): Likewise.
6864 (ada_which_variant_applies): Likewise.
6865 * value.h (value_from_contents_and_address_unresolved): Declare.
6866 * value.c (value_from_contents_and_address_unresolved): New
6867 function.
6868 * gdbtypes.c (is_dynamic_type, resolve_dynamic_type)
6869 <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases.
6870 (resolve_dynamic_struct, resolve_dynamic_union): New functions.
6871
92e2a17f
TT
68722014-06-04 Tom Tromey <tromey@redhat.com>
6873
6874 * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s.
6875
c0939df1
TT
68762014-06-04 Tom Tromey <tromey@redhat.com>
6877
6878 * procfs.c (procfs_attach): Make "args" const.
6879 * windows-nat.c (windows_attach): Make "args" const.
6880 * nto-procfs.c (procfs_attach): Make "args" const.
6881 * inf-ttrace.c (inf_ttrace_attach): Make "args" const.
6882 * go32-nat.c (go32_attach): Make "args" const.
6883 * gnu-nat.c (gnu_attach): Make "args" const.
6884 * darwin-nat.c (darwin_attach): Make "args" const.
6885 * inf-ptrace.c (inf_ptrace_attach): Make "args" const.
6886 * linux-nat.c (linux_nat_attach): Make "args" const.
6887 * remote.c (extended_remote_attach_1, extended_remote_attach):
6888 Make "args" const.
6889 * target.h (struct target_ops) <to_attach>: Make "args" const.
6890 (find_default_attach): Likewise.
6891 * utils.c (parse_pid_to_attach): Make "args" const.
6892 * utils.h (parse_pid_to_attach): Update.
6893
8eaff7cd
TT
68942014-06-04 Tom Tromey <tromey@redhat.com>
6895
6896 * target-delegates.c: Rebuild.
6897 * target.c (default_thread_address_space): New function.
6898 (target_thread_address_space): Simplify.
6899 * target.h (struct target_ops) <to_thread_address_space>: Add
6900 TARGET_DEFAULT_FUNC.
6901
1913f160
DE
69022014-06-04 Doug Evans <xdje42@gmail.com>
6903
6904 * guile/scm-type.c (type_smob): Remove duplicate typedef.
6905
70ad5bff
MM
69062014-06-04 Markus Metzger <markus.t.metzger@intel.com>
6907
6908 * record-btrace.c: Include event-loop.h and inf-loop.h.
6909 (record_btrace_resume_exec_dir)
6910 (record_btrace_async_inferior_event_handler)
6911 (record_btrace_handle_async_inferior_event): New.
6912 (record_btrace_open): Create async event handler.
6913 (record_btrace_close): Delete async event handler.
6914 (record_btrace_resume): Set record_btrace_resume_exec_dir,
6915 Mark async event handler.
6916 (record_btrace_execution_direction): New.
6917 (init_record_btrace_ops): Initialize to_execution_direction.
6918
b6210538
DE
69192014-06-03 Doug Evans <xdje42@gmail.com>
6920
6921 * guile/scm-param.c (pascm_make_param_smob): Add ARI comment.
6922 (gdbscm_make_parameter): Ditto.
6923
a5b1fd27
DE
69242014-06-03 Doug Evans <dje@google.com>
6925
6926 * exec.c (exec_close_1): Call clear_section_table instead of
6927 resize_section_table.
6928 (clear_section_table): New function.
6929 (resize_section_table): Make static. Rename arg num_added to
6930 adjustment.
6931 * exec.h (clear_section_table): Declare.
6932 (resize_section_table): Delete.
6933 * progspace.c (release_program_space): Call clear_section_table
6934 instead of resize_section_table.
6935
0c6e92a5
SC
69362014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6937
6938 * NEWS (Python Scripting): Add entry about the new xmethods
6939 feature.
6940
883964a7
SC
69412014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6942
6943 * python/py-xmethods.c: New file.
6944 * python/py-objfile.c (objfile_object): New field 'xmethods'.
6945 (objfpy_dealloc): XDECREF on the new xmethods field.
6946 (objfpy_new, objfile_to_objfile_object): Initialize xmethods
6947 field.
6948 (objfpy_get_xmethods): New function.
6949 (objfile_getset): New entry 'xmethods'.
6950 * python/py-progspace.c (pspace_object): New field 'xmethods'.
6951 (pspy_dealloc): XDECREF on the new xmethods field.
6952 (pspy_new, pspace_to_pspace_object): Initialize xmethods
6953 field.
6954 (pspy_get_xmethods): New function.
6955 (pspace_getset): New entry 'xmethods'.
6956 * python/python-internal.h: Add declarations for new functions.
6957 * python/python.c (_initialize_python): Invoke
6958 gdbpy_initialize_xmethods.
6959 * python/lib/gdb/__init__.py (xmethods): New
6960 attribute.
6961 * python/lib/gdb/xmethod.py: New file.
6962 * python/lib/gdb/command/xmethods.py: New file.
6963
58992dc5
SC
69642014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6965
6966 * eval.c (evaluate_subexp_standard): Call the xmethod if the
6967 best match method returned by find_overload_match is an xmethod.
6968 * valarith.c (value_x_binop, value_x_unop): Call the xmethod if
6969 the best matching operator returned by find_overload_match is an
6970 xmethod.
6971 * valops.c: #include "extension.h".
6972 (find_method_list): Add "fn_list" and "xm_worker_vec" arguments.
6973 Return void. The list of matching source methods is returned in
6974 "fn_list" and a vector of matching debug method workers is
6975 returned in "xm_worker_vec". Update all callers.
6976 (value_find_oload_method_list): Likewise.
6977 (find_oload_champ): Add "xm_worker_vec" parameter. If it is
6978 non-NULL, then the index of the best matching method in this
6979 vector is returned. Update all callers.
6980 (find_overload_match): Include xmethods while performing overload
6981 resolution.
6982
e81e7f5e
SC
69832014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6984
6985 * defs.h (enum lval_type): New enumerator "lval_xcallable".
6986 * extension-priv.h (struct extension_language_ops): Add the
6987 xmethod interface.
6988 * extension.c (new_xmethod_worker, clone_xmethod_worker,
6989 get_matching_xmethod_workers, get_xmethod_argtypes,
6990 invoke_xmethod, free_xmethod_worker,
6991 free_xmethod_worker_vec): New functions.
6992 * extension.h: #include "common/vec.h".
6993 New function declarations.
6994 (struct xmethod_worker): New struct.
6995 (VEC (xmethod_worker_ptr)): New vector type.
6996 (xmethod_worker_ptr): New typedef.
6997 (xmethod_worker_vec): Likewise.
6998 * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of
6999 builtin_type.
7000 * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD.
7001 (struct builtin_type): New field "xmethod".
7002 * valarith.c (value_ptradd): Assert that the value argument is not
7003 lval_xcallable.
7004 * valops.c (value_must_coerce_to_target): Return 0 for
7005 lval_xcallable values.
7006 * value.c (struct value): New field XM_WORKER in the field
7007 LOCATION.
7008 (value_address, value_raw_address): Return 0 for lval_xcallable
7009 values.
7010 (set_value_address): Assert that the value is not an
7011 lval_xcallable.
7012 (value_free): Free the associated xmethod worker when freeing
7013 lval_xcallable values.
7014 (set_value_component_location): Assert that the WHOLE value is not
7015 lval_xcallable.
7016 (value_of_xmethod, call_xmethod): New functions.
7017 * value.h: Declare "struct xmethod_worker".
7018 Declare new functions value_of_xmethod, call_xmethod.
7019
ef370185
JB
70202014-06-03 Joel Brobecker <brobecker@adacore.com>
7021 Pedro Alves <palves@redhat.com>
7022
7023 PR breakpoints/17000
7024 * breakpoint.c (find_non_raw_software_breakpoint_inserted_here):
7025 New function, extracted from software_breakpoint_inserted_here_p.
7026 (software_breakpoint_inserted_here_p): Replace factored out code
7027 by call to find_non_raw_software_breakpoint_inserted_here.
7028 (bp_target_info_copy_insertion_state): New function.
7029 (bkpt_insert_location): Handle the case of a single-step
7030 breakpoint already inserted at the same address.
7031 (bkpt_remove_location): Handle the case of a single-step
7032 breakpoint still inserted at the same address.
7033 (deprecated_insert_raw_breakpoint): Handle the case of non-raw
7034 breakpoint already inserted at the same address.
7035 (deprecated_remove_raw_breakpoint): Handle the case of a
7036 non-raw breakpoint still inserted at the same address.
7037 (find_single_step_breakpoint): New function, extracted from
7038 single_step_breakpoint_inserted_here_p.
7039 (find_single_step_breakpoint): New function,
7040 factored out from single_step_breakpoint_inserted_here_p.
7041 (single_step_breakpoint_inserted_here_p): Reimplement.
7042
1e2ccb61
BM
70432014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
7044
7045 Pushed by Joel Brobecker <brobecker@adacore.com>
7046 * source.c (show_substitute_path_command): Fix display of matching
7047 substitution rules.
7048
d3448d85
GB
70492014-06-03 Gary Benson <gbenson@redhat.com>
7050
7051 * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle.
7052
06eb1586
DE
70532014-06-02 Doug Evans <xdje42@gmail.com>
7054
7055 Add parameter support for Guile.
7056 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o.
7057 (SUBDIR_GUILE_SRCS): Add scm-param.c.
7058 (scm-param.o): New rule.
7059 * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare.
7060 (gdbscm_misc_error): Declare.
7061 (gdbscm_canonicalize_command_name): Declare.
7062 (gdbscm_scm_to_host_string): Declare.
7063 (gdbscm_scm_from_host_string): Declare.
7064 (gdbscm_initialize_parameters): Declare.
7065 * guile/guile.c (initialize_gdb_module): Call
7066 gdbscm_initialize_parameters.
7067 * guile/lib/gdb.scm: Export parameter symbols.
7068 * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from
7069 cmdscm_canonicalize_name and made public. All callers updated.
7070 * guile/scm-exception.c (gdbscm_misc_error): New function.
7071 * guile/scm-param.c: New file.
7072 * guile/scm-string.c (gdbscm_scm_to_string): Add comments.
7073 (gdbscm_scm_to_host_string): New function.
7074 (gdbscm_scm_from_host_string): New function.
7075 * scm-utils.c (gdbscm_gc_dup_argv): New function.
7076
e698b8c4
DE
70772014-06-02 Doug Evans <xdje42@gmail.com>
7078
7079 Add command support for Guile.
7080 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o.
7081 (SUBDIR_GUILE_SRCS): Add scm-cmd.c.
7082 (scm-cmd.o): New rule.
7083 * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare.
7084 (gdbscm_user_error_p): Declare.
7085 (gdbscm_parse_command_name): Declare.
7086 (gdbscm_valid_command_class_p): Declare.
7087 (gdbscm_initialize_commands): Declare.
7088 * guile/guile.c (initialize_gdb_module): Call
7089 gdbscm_initialize_commands.
7090 * guile/lib/gdb.scm: Export command symbols.
7091 * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error.
7092 (throw-user-error): New function.
7093 * guile/scm-cmd.c: New file.
7094 * guile/scm-exception.c (user_error_symbol): New static global.
7095 (gdbscm_user_error_p): New function.
7096 (gdbscm_initialize_exceptions): Set user_error_symbol.
7097 * scm-utils.c (gdbscm_gc_xstrdup): New function.
7098
fb1f94b0
PM
70992014-06-02 Phil Muldoon <pmuldoon@redhat.com>
7100
7101 * top.c (command_loop): Handle comments here...
7102 (command_line_input): ... not here.
7103
ded03782
DE
71042014-06-02 Doug Evans <xdje42@gmail.com>
7105
7106 Add progspace support for Guile.
7107 * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o.
7108 (SUBDIR_GUILE_SRCS): Add scm-progspace.c.
7109 (scm-progspace.o): New rule.
7110 * guile/guile-internal.h (pspace_smob): New typedef.
7111 (psscm_pspace_smob_pretty_printers): Declare.
7112 (psscm_pspace_smob_from_pspace): Declare.
7113 (psscm_scm_from_pspace): Declare.
7114 * guile/guile.c (initialize_gdb_module): Call
7115 gdbscm_initialize_pspaces.
7116 * guile/lib/gdb.scm: Export progspace symbols.
7117 * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace
7118 support.
7119 (append-pretty-printer!): Ditto.
7120 * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace):
7121 Implement.
7122 * guile/scm-progspace.c: New file.
7123
397998fc
AM
71242014-06-03 Alan Modra <amodra@gmail.com>
7125
7126 * ppc64-tdep.c (ppc64_standard_linkage8): New.
7127 (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion.
7128
6aa5f3a6
DE
71292014-06-02 Doug Evans <dje@google.com>
7130
7131 Add support for skeletonless type units.
7132 * dwarf2read.c (struct dwarf2_per_objfile): New member
7133 n_allocated_type_units.
7134 (struct dwarf2_per_objfile) <tu_stats>: New member
7135 nr_all_type_units_reallocs.
7136 (create_signatured_type_table_from_index): Initialize
7137 n_allocated_type_units
7138 (create_all_type_units): Ditto.
7139 (add_type_unit): Move up in file. New arg slot.
7140 All callers updated. Increase space for all_type_units more
7141 efficiently.
7142 (fill_in_sig_entry_from_dwo_entry): Handle psymtabs.
7143 (lookup_dwo_signatured_type): Handle skeletonless TUs.
7144 (lookup_dwp_signatured_type): Ditto.
7145 (init_tu_and_read_dwo_dies): New arg use_existing_cu.
7146 All callers updated.
7147 (build_type_psymtabs_1): Leave type_unit_groups as
7148 NULL if no TUs present.
7149 (print_tu_stats): New function.
7150 (process_skeletonless_type_unit): New function.
7151 (process_dwo_file_for_skeletonless_type_units): New
7152 function.
7153 (process_skeletonless_type_units): New function.
7154 (dwarf2_build_psymtabs_hard): Handle skeletonless TUs.
7155 Call print tu_stats if debugging enabled.
7156
41fac0cf
PA
71572014-06-02 Pedro Alves <palves@redhat.com>
7158
7159 * breakpoint.c (build_target_command_list): Don't build a command
7160 list if we have any duplicate location that isn't a dprintf.
7161
cd1608cc
PA
71622014-06-02 Pedro Alves <palves@redhat.com>
7163
7164 * breakpoint.c (dprintf_breakpoint_hit): New function.
7165 (initialize_breakpoint_ops): Install it as dprintf's
7166 breakpoint_hit method.
7167
486ef3b9
JB
71682014-06-02 Joel Brobecker <brobecker@adacore.com>
7169
7170 * source.c (substitute_path_rule_matches): Simplify using
7171 filename_ncmp instead of FILENAME_CMP.
7172
230cd560
JB
71732014-06-02 Joel Brobecker <brobecker@adacore.com>
7174
7175 * source.c (substitute_path_rule_matches): Remove trailing spaces.
7176
16954d5d
LC
71772014-06-01 Ludovic Courtès <ludo@gnu.org>
7178
7179 * configure.ac: When Guile is available, check for the
7180 availability of 'scm_new_smob'.
7181 * configure, config.h.in: Regenerate.
7182 * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New
7183 function.
7184
53e8a631
AB
71852014-05-30 Andrew Burgess <aburgess@broadcom.com>
7186
7187 * frame.c (struct frame_info): Add stop_string field.
7188 (get_prev_frame_always_1): Renamed from get_prev_frame_always.
7189 (get_prev_frame_always): Old content moved into
7190 get_prev_frame_always_1. Call get_prev_frame_always_1 inside
7191 TRY_CATCH, handle MEMORY_ERROR exceptions.
7192 (frame_stop_reason_string): New function definition.
7193 * frame.h (unwind_stop_reason_to_string): Extend comment to
7194 mention frame_stop_reason_string.
7195 (frame_stop_reason_string): New function declaration.
7196 * stack.c (frame_info): Switch to frame_stop_reason_string.
7197 (backtrace_command_1): Switch to frame_stop_reason_string.
7198 * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR.
7199 (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR.
7200 * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list.
7201
70e38b8e
AB
72022014-05-30 Andrew Burgess <aburgess@broadcom.com>
7203
7204 * frame.c (frame_stop_reason_string): Rename to ...
7205 (unwind_stop_reason_to_string): this.
7206 * frame.h (frame_stop_reason_string): Rename to ...
7207 (unwind_stop_reason_to_string): this.
7208 * stack.c (frame_info): Update call to frame_stop_reason_string.
7209 (backtrace_command_1): Likewise.
7210 * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise.
7211 * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise.
7212
938f0e2f
AB
72132014-05-30 Andrew Burgess <aburgess@broadcom.com>
7214
7215 * frame.c (remove_prev_frame): New function.
7216 (get_prev_frame_if_no_cycle): Create / discard cleanup using
7217 remove_prev_frame.
7218
a09dd441
PA
72192014-05-29 Pedro Alves <palves@redhat.com>
7220
7221 * infrun.c (resume): Rename local 'hw_step' to 'entry_step'
7222 and make it const. When a single-step decays to a continue,
7223 clear 'step', not 'hw_step'. Pass whether the caller wanted
7224 to step to user_visible_resume_ptid, not what we ask the
7225 target to do.
7226
bdc36728
PA
72272014-05-29 Pedro Alves <palves@redhat.com>
7228
7229 * infrun.c (process_event_stop_test, handle_step_into_function)
7230 (handle_step_into_function_backward): Adjust.
7231 Don't set the even thread's stop_step and call stop_waiting before
7232 calling end_stepping_range. Instead do that ...
7233 (end_stepping_range): ... here. Take an ecs pointer parameter.
7234
22bcd14b
PA
72352014-05-29 Pedro Alves <palves@redhat.com>
7236
7237 * infrun.c (stop_stepping): Rename to ...
7238 (stop_waiting): ... this.
7239 (proceed): Update comment.
7240 (process_event_stop_test, handle_inferior_event)
7241 (handle_signal_stop, handle_step_into_function)
7242 (handle_step_into_function_backward): Update.
7243
4ae57c05
PA
72442014-05-29 Pedro Alves <palves@redhat.com>
7245
7246 * infcall.c (run_inferior_call): Don't check whether the current
7247 thread is running after the proceed call.
7248
329ea579
PA
72492014-05-29 Pedro Alves <palves@redhat.com>
7250 Tom Tromey <tromey@redhat.com>
7251
7252 * NEWS: Mention "maint set target-async", "set mi-async", and that
7253 background execution commands are now always available.
7254 * target.h (target_async_permitted): Update comment.
7255 * target.c (target_async_permitted, target_async_permitted_1):
7256 Default to 1.
7257 (set_target_async_command): Rename to ...
7258 (maint_set_target_async_command): ... this.
7259 (show_target_async_command): Rename to ...
7260 (maint_show_target_async_command): ... this.
7261 (_initialize_target): Adjust.
7262 * infcmd.c (prepare_execution_command): Make extern.
7263 * inferior.h (prepare_execution_command): Declare.
7264 * infrun.c (set_observer_mode): Leave target async alone.
7265 * mi/mi-interp.c (mi_interpreter_init): Install
7266 mi_on_sync_execution_done as sync_execution_done observer.
7267 (mi_on_sync_execution_done): New function.
7268 (mi_execute_command_input_handler): Don't print the prompt if we
7269 just started a synchronous command with an async target.
7270 (mi_on_resume): Check sync_execution before printing prompt.
7271 * mi/mi-main.h (mi_async_p): Declare.
7272 * mi/mi-main.c: Include gdbcmd.h.
7273 (mi_async_p): New function.
7274 (mi_async, mi_async_1): New globals.
7275 (set_mi_async_command, show_mi_async_command, mi_async): New
7276 functions.
7277 (exec_continue): Call prepare_execution_command.
7278 (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features)
7279 (mi_execute_async_cli_command): Use mi_async_p.
7280 (_initialize_mi_main): Install "set mi-async". Make
7281 "target-async" a deprecated alias.
7282
92bcb5f9
PA
72832014-05-29 Pedro Alves <palves@redhat.com>
7284
7285 * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete.
7286 (_initialize_cli_interp): Adjust.
7287 * event-loop.c: Include "observer.h".
7288 (start_event_loop): Notify 'command_error' observers instead of
7289 calling display_gdb_prompt. Remove FIXME comment.
7290 * event-top.c (display_gdb_prompt): Remove call into the
7291 interpreters.
7292 * inf-loop.c: Include "observer.h".
7293 (inferior_event_handler): Notify 'command_error' observers instead
7294 of calling display_gdb_prompt.
7295 * infrun.c (fetch_inferior_event): Notify 'sync_execution_done'
7296 observers instead of calling display_gdb_prompt.
7297 * interps.c (interp_set): Don't call display_gdb_prompt.
7298 (current_interp_display_prompt_p): Delete.
7299 * interps.h (interp_prompt_p): Delete declaration.
7300 (interp_prompt_p_ftype): Delete.
7301 (struct interp_procs) <prompt_proc_p>: Delete field.
7302 (current_interp_display_prompt_p): Delete declaration.
7303 * mi-interp.c (mi_interpreter_prompt_p): Delete.
7304 (_initialize_mi_interp): Adjust.
7305 * tui-interp.c (tui_init): Install 'sync_execution_done' and
7306 'command_error' observers.
7307 (tui_on_sync_execution_done, tui_on_command_error): New
7308 functions.
7309 (tui_display_prompt_p): Delete.
7310 (_initialize_tui_interp): Adjust.
7311
fd664c91
PA
73122014-05-29 Pedro Alves <palves@redhat.com>
7313
7314 PR gdb/13860
7315 * cli/cli-interp.c: Include infrun.h and observer.h.
7316 (cli_uiout, cli_interp): New globals.
7317 (cli_on_signal_received, cli_on_end_stepping_range)
7318 (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New
7319 functions.
7320 (cli_interpreter_init): Install them as 'end_stepping_range',
7321 'signal_received' 'signal_exited', 'exited' and 'no_history'
7322 observers.
7323 (_initialize_cli_interp): Remove cli_interp local.
7324 * infrun.c (handle_inferior_event): Call the several stop reason
7325 observers instead of printing the stop reason directly.
7326 (end_stepping_range): New function.
7327 (print_end_stepping_range_reason, print_signal_exited_reason)
7328 (print_exited_reason, print_signal_received_reason)
7329 (print_no_history_reason): Make static, and add an uiout
7330 parameter. Print to that instead of to CURRENT_UIOUT.
7331 * infrun.h (print_end_stepping_range_reason)
7332 (print_signal_exited_reason, print_exited_reason)
7333 (print_signal_received_reason print_no_history_reason): New
7334 declarations.
7335 * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to
7336 'mi_uiout'.
7337 <cli_uiout>: New field.
7338 * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new
7339 uiout for CLI output. Install 'signal_received',
7340 'end_stepping_range', 'signal_exited', 'exited' and 'no_history'
7341 observers.
7342 (find_mi_interpreter, mi_interp_data, mi_on_signal_received)
7343 (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited)
7344 (mi_on_no_history): New functions.
7345 (ui_out_free_cleanup): Delete function.
7346 (mi_on_normal_stop): Don't allocate a new uiout for CLI output,
7347 instead use the one already stored in the MI interpreter data.
7348 (mi_ui_out): Adjust.
7349 * tui/tui-interp.c: Include infrun.h and observer.h.
7350 (tui_interp): New global.
7351 (tui_on_signal_received, tui_on_end_stepping_range)
7352 (tui_on_signal_exited, tui_on_exited)
7353 (tui_on_no_history): New functions.
7354 (tui_init): Install them as 'end_stepping_range',
7355 'signal_received' 'signal_exited', 'exited' and 'no_history'
7356 observers.
7357 (_initialize_tui_interp): Delete tui_interp local.
7358
8817a6f2
PA
73592014-05-29 Pedro Alves <palves@redhat.com>
7360
7361 PR gdb/15713
7362 * linux-nat.c (linux_nat_resume_callback): Rename the second
7363 parameter to 'except'. Skip LP if it points to EXCEPT.
7364 (linux_nat_resume): Don't mark the event lwp as not stopped
7365 before resuming sibling lwps. Instead ask
7366 linux_nat_resume_callback to skip the event lwp. Mark it as not
7367 stopped after actually resuming it.
7368 (linux_handle_syscall_trap): Mark the lwp as not stopped after
7369 resuming it.
7370 (wait_lwp): Mark the lwp as stopped here.
7371 (stop_wait_callback): Mark the lwp as not stopped right after
7372 resuming it. Don't mark lwps as stopped here.
7373 (linux_nat_filter_event): Mark the lwp as stopped earlier.
7374 (linux_nat_wait_1): Don't mark dead lwps as stopped here.
7375
251bde03
PA
73762014-05-29 Pedro Alves <palves@redhat.com>
7377
7378 PR PR15693
7379 * infrun.c (resume): Determine how much to resume depending on
7380 whether the caller wanted a step, not whether we can hardware step
7381 the target. Mark all threads that we intend to run as running,
7382 unless we're calling an inferior function.
7383 (normal_stop): If the thread is running an infcall, don't finish
7384 thread state.
7385 * target.c (target_resume): Don't mark threads as running here.
7386
7f3c0343
JB
73872014-05-28 Joel Brobecker <brobecker@adacore.com>
7388
7389 * serial.c (_initialize_serial): Remove support for
7390 the "set remotebaud" and "show remotebaud" commands.
7391 * NEWS: Add entry documenting the removal of that command.
7392
ee34b3f9
YQ
73932014-05-28 Yao Qi <yao@codesourcery.com>
7394
7395 * charset.c: Fix typo in comments.
7396
add6c04d
GB
73972014-05-27 Gary Benson <gbenson@redhat.com>
7398
7399 * utils.c (internal_vproblem): Prompt for a bug report.
7400
92c48fc5
AW
74012014-05-26 Andy Wingo <wingo@igalia.com>
7402
7403 * guile/scm-arch.c (arscm_mark_arch_smob):
7404 * guile/scm-block.c (bkscm_mark_block_smob)
7405 (bkscm_mark_block_syms_progress_smob):
7406 * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob):
7407 * guile/scm-exception.c (exscm_mark_exception_smob):
7408 * guile/scm-frame.c (frscm_mark_frame_smob):
7409 * guile/scm-iterator.c (itscm_mark_iterator_smob):
7410 * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob):
7411 * guile/scm-objfile.c (ofscm_mark_objfile_smob):
7412 * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob)
7413 (ppscm_mark_pretty_printer_worker_smob):
7414 * guile/scm-symbol.c (syscm_mark_symbol_smob):
7415 * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob):
7416 * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob):
7417 * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary
7418 mark functions.
7419 * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free
7420 function.
7421
b2715b27
AW
74222014-05-26 Andy Wingo <wingo@igalia.com>
7423 Doug Evans <xdje42@gmail.com>
7424
7425 * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with
7426 empty_base_class. All uses updated.
7427 (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob)
7428 (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions.
7429 Adapt all callers.
7430 * guile/scm-gsmob.c (gdbscm_mark_gsmob)
7431 (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove.
7432 (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x)
7433 (gdbscm_gsmob_has_property_p, add_property_name)
7434 (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions.
7435 * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property)
7436 (gdb-object-has-property?, gdb-object-properties): Remove.
7437 (gdb-object-kind): Renamed from gsmob-kind.
7438
214ab2da
AW
74392014-05-26 Andy Wingo <wingo@igalia.com>
7440
7441 * configure.ac (try_guile_versions): Allow building with guile 2.2.
7442 * configure: Regenerate.
7443
589fdceb
MM
74442014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7445
7446 * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections.
7447
67b5c0c1
MM
74482014-05-23 Markus Metzger <markus.t.metzger@intel.com>
7449
7450 * record-btrace.c (record_btrace_allow_memory_access): Remove.
7451 (replay_memory_access_read_only, replay_memory_access_read_write)
7452 (replay_memory_access_types, replay_memory_access)
7453 (set_record_btrace_cmdlist, show_record_btrace_cmdlist)
7454 (cmd_set_record_btrace, cmd_show_record_btrace)
7455 (cmd_show_replay_memory_access): New.
7456 (record_btrace_xfer_partial, record_btrace_insert_breakpoint)
7457 (record_btrace_remove_breakpoint): Replace
7458 record_btrace_allow_memory_access with replay_memory_access.
7459 (_initialize_record_btrace): Add commands.
7460 * NEWS: Announce it.
7461
036cd381
RR
74622014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7463
7464 * aarch64-linux-nat.c (asm/ptrace.h): Include.
7465
c77c1e42
RR
74662014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
7467
7468 * MAINTAINERS (Write After Approval): Move self back from
7469 paper trail.
7470
45741a9c
PA
74712014-05-22 Pedro Alves <palves@redhat.com>
7472
7473 * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events)
7474 (sync_execution, sched_multi, step_stop_if_no_debug, non_stop)
7475 (disable_randomization, enum exec_direction_kind)
7476 (execution_direction, stop_registers, start_remote)
7477 (clear_proceed_status, proceed, resume, user_visible_resume_ptid)
7478 (wait_for_inferior, normal_stop, get_last_target_status)
7479 (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior)
7480 (insert_step_resume_breakpoint_at_sal)
7481 (follow_inferior_reset_breakpoints, stepping_past_instruction_at)
7482 (set_step_info, print_stop_event, signal_stop_state)
7483 (signal_print_state, signal_pass_state, signal_stop_update)
7484 (signal_print_update, signal_pass_update)
7485 (update_signals_program_target, clear_exit_convenience_vars)
7486 (displaced_step_dump_bytes, update_observer_mode)
7487 (signal_catch_update, gdb_signal_from_command): Move
7488 declarations ...
7489 * infrun.h: ... to this new file.
7490 * amd64-tdep.c: Include infrun.h.
7491 * annotate.c: Include infrun.h.
7492 * arch-utils.c: Include infrun.h.
7493 * arm-linux-tdep.c: Include infrun.h.
7494 * arm-tdep.c: Include infrun.h.
7495 * break-catch-sig.c: Include infrun.h.
7496 * breakpoint.c: Include infrun.h.
7497 * common/agent.c: Include infrun.h instead of inferior.h.
7498 * corelow.c: Include infrun.h.
7499 * event-top.c: Include infrun.h.
7500 * go32-nat.c: Include infrun.h.
7501 * i386-tdep.c: Include infrun.h.
7502 * inf-loop.c: Include infrun.h.
7503 * infcall.c: Include infrun.h.
7504 * infcmd.c: Include infrun.h.
7505 * infrun.c: Include infrun.h.
7506 * linux-fork.c: Include infrun.h.
7507 * linux-nat.c: Include infrun.h.
7508 * linux-thread-db.c: Include infrun.h.
7509 * monitor.c: Include infrun.h.
7510 * nto-tdep.c: Include infrun.h.
7511 * procfs.c: Include infrun.h.
7512 * record-btrace.c: Include infrun.h.
7513 * record-full.c: Include infrun.h.
7514 * remote-m32r-sdi.c: Include infrun.h.
7515 * remote-mips.c: Include infrun.h.
7516 * remote-notif.c: Include infrun.h.
7517 * remote-sim.c: Include infrun.h.
7518 * remote.c: Include infrun.h.
7519 * reverse.c: Include infrun.h.
7520 * rs6000-tdep.c: Include infrun.h.
7521 * s390-linux-tdep.c: Include infrun.h.
7522 * solib-irix.c: Include infrun.h.
7523 * solib-osf.c: Include infrun.h.
7524 * solib-svr4.c: Include infrun.h.
7525 * target.c: Include infrun.h.
7526 * top.c: Include infrun.h.
7527 * windows-nat.c: Include infrun.h.
7528 * mi/mi-interp.c: Include infrun.h.
7529 * mi/mi-main.c: Include infrun.h.
7530 * python/py-threadevent.c: Include infrun.h.
7531
98eb56a4
PA
75322014-05-22 Pedro Alves <palves@redhat.com>
7533
7534 * infrun.c (handle_inferior_event): Store the exit code for
7535 --return-child-result here, instead of ...
7536 (print_exited_reason): ... here.
7537
17b2616c
PA
75382014-05-21 Pedro Alves <palves@redhat.com>
7539
7540 PR gdb/13860
7541 * gdbthread.h (struct thread_control_state): New field
7542 `command_interp'.
7543 * infrun.c (follow_fork): Copy the new thread control field to the
7544 child fork thread.
7545 (clear_proceed_status_thread): Clear the new thread control field.
7546 (proceed): Set the new thread control field.
7547 * interps.h (command_interp): Declare.
7548 * interps.c (command_interpreter): New global.
7549 (command_interp): New function.
7550 (interp_exec): Set `command_interpreter' while here.
7551 * cli-out.c (cli_uiout_dtor): New function.
7552 (cli_ui_out_impl): Install it.
7553 * mi/mi-interp.c: Include cli-out.h.
7554 (mi_cmd_interpreter_exec): Add comment.
7555 (restore_current_uiout_cleanup): New function.
7556 (ui_out_free_cleanup): New function.
7557 (mi_on_normal_stop): If finishing an execution command started by
7558 a CLI command, or any kind of breakpoint-like event triggered,
7559 print the stop event to the output (CLI) stream.
7560 * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler.
7561
5166082f
PA
75622014-05-21 Pedro Alves <palves@redhat.com>
7563
7564 * cli/cli-cmds.c (list_command): Handle the first "list" after the
7565 current source line having changed.
7566 * frame.h (set_current_sal_from_frame): Remove 'center' parameter.
7567 * infrun.c (normal_stop): Adjust call to
7568 set_current_sal_from_frame.
7569 * source.c (clear_lines_listed_range): New function.
7570 (set_current_source_symtab_and_line, identify_source_line): Clear
7571 the lines listed range.
7572 (line_info): Handle the first "info line" after the current source
7573 line having changed.
7574 * stack.c (print_stack_frame): Remove center handling.
7575 (set_current_sal_from_frame): Remove 'center' parameter. Don't
7576 center sal.line.
7577
c1ee2fb3
PA
75782014-05-21 Pedro Alves <palves@redhat.com>
7579
7580 * inf-child.c (inf_child_mourn_inferior): New function.
7581 * inf-child.h (inf_child_mourn_inferior): New declaration.
7582 * darwin-nat.c (darwin_mourn_inferior): Use
7583 inf_child_mourn_inferior.
7584 * gnu-nat.c (gnu_mourn_inferior): Likewise.
7585 * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise.
7586 * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise.
7587 * nto-procfs.c (procfs_mourn_inferior): Likewise.
7588 * windows-nat.c (windows_mourn_inferior): Likewise.
7589
5c6d4fb2
DE
75902014-05-21 Doug Evans <xdje42@gmail.com>
7591
250748cb 7592 * guile/scm-breakpoint.c (breakpoint_functions): Fix typo.
5c6d4fb2 7593
4a2722c5
DE
75942014-05-21 Doug Evans <xdje42@gmail.com>
7595
17292b30 7596 * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void.
4a2722c5
DE
7597 (gdbscm_out_of_range_error): Ditto.
7598 (gdbscm_memory_error): Ditto.
250748cb
DE
7599 * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete.
7600 * guile/guile-internal.h (gdbscm_invalid_object_error): Update.
4a2722c5
DE
7601 (gdbscm_out_of_range_error): Update.
7602 (gdbscm_memory_error): Update.
7603 (gdbscm_scm_to_target_string_unsafe): Delete.
7604
6a3cb8e8
PA
76052014-05-21 Pedro Alves <palves@redhat.com>
7606
7607 * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New
7608 globals.
7609 (inf_child_open_target): New function.
7610 (inf_child_open): Use inf_child_open_target to push the target
7611 instead of erroring out.
7612 (inf_child_disconnect, inf_child_close)
7613 (inf_child_maybe_unpush_target): New functions.
7614 (inf_child_target): Install inf_child_disconnect and
7615 inf_child_close. Store a pointer to the returned object.
7616 * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New
7617 declarations.
7618 * target.c (auto_connect_native_target): New global.
7619 (show_default_run_target): New function.
7620 (find_default_run_target): Return NULL if automatically connecting
7621 to the native target is disabled.
7622 (_initialize_target): Install set/show auto-connect-native-target.
7623 * NEWS: Mention "set auto-connect-native-target", and "target
7624 native".
7625 * linux-nat.c (super_close): New global.
7626 (linux_nat_close): Call super_close.
7627 (linux_nat_add_target): Store a pointer to the base class's
7628 to_close method.
7629 * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use
7630 inf_child_maybe_unpush.
7631 * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is
7632 already pushed.
7633 (inf_ttrace_mourn_inferior): Only unpush the target after mourning
7634 the inferior. Use inf_child_maybe_unpush_target.
7635 (inf_ttrace_attach): Don't push the target if it is already
7636 pushed.
7637 (inf_ttrace_detach): Use inf_child_maybe_unpush_target.
7638 * darwin-nat.c (darwin_mourn_inferior): Only unpush the target
7639 after mourning the inferior. Use inf_child_maybe_unpush_target.
7640 (darwin_attach_pid): Don't push the target if it is already
7641 pushed.
7642 * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after
7643 mourning the inferior. Use inf_child_maybe_unpush_target.
7644 (gnu_detach): Use inf_child_maybe_unpush_target.
7645 * go32-nat.c (go32_create_inferior): Don't push the target if it
7646 is already pushed.
7647 (go32_mourn_inferior): Use inf_child_maybe_unpush_target.
7648 * nto-procfs.c (procfs_is_nto_target): Adjust comment.
7649 (procfs_open): Rename to ...
7650 (procfs_open_1): ... this. Add target_ops parameter. Adjust
7651 comments. Can target_preopen before changing node. Call
7652 inf_child_open_target to push the target explicitly.
7653 (procfs_attach): Don't push the target if it is already pushed.
7654 (procfs_detach): Use inf_child_maybe_unpush_target.
7655 (procfs_create_inferior): Don't push the target if it is already
7656 pushed.
7657 (nto_native_ops): New global.
7658 (procfs_open): Reimplement.
7659 (procfs_native_open): New function.
7660 (init_procfs_targets): Install procfs_native_open as to_open of
7661 "target native". Store a pointer to the "native" target in
7662 nto_native_ops.
7663 * procfs.c (procfs_attach): Don't push the target if it is already
7664 pushed.
7665 (procfs_detach): Use inf_child_maybe_unpush_target.
7666 (procfs_mourn_inferior): Only unpush the target after mourning the
7667 inferior. Use inf_child_maybe_unpush_target.
7668 (procfs_init_inferior): Don't push the target if it is already
7669 pushed.
7670 * windows-nat.c (do_initial_windows_stuff): Don't push the target
7671 if it is already pushed.
7672
930ee1b1
PA
76732014-05-21 Pedro Alves <palves@redhat.com>
7674
7675 * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child"
7676 and "procfs" targets are now called "native" instead.
7677
1f5d1b13
PA
76782014-05-21 Pedro Alves <palves@redhat.com>
7679
7680 * go32-nat.c (go32_open): Delete.
7681 (go32_target): Don't override the to_open method.
7682
132f8e03
PA
76832014-05-21 Pedro Alves <palves@redhat.com>
7684
7685 * nto-procfs.c (procfs_can_run): New function.
7686 (nto_procfs_ops): New global.
7687 (init_procfs_targets): New, based on procfs_target. Install
7688 "target native" in addition to "target procfs".
7689 (_initialize_procfs): Call init_procfs_targets instead of adding
7690 the target here.
7691
03c136c3
PA
76922014-05-21 Pedro Alves <palves@redhat.com>
7693
7694 * windows-nat.c (windows_target): Don't override to_shortname,
7695 to_longname or to_doc.
7696
a635d0f3
PA
76972014-05-21 Pedro Alves <palves@redhat.com>
7698
7699 * gnu-nat.c (gnu): Don't override to_shortname, to_longname or
7700 to_doc.
7701
4f9b5133
PA
77022014-05-21 Pedro Alves <palves@redhat.com>
7703
7704 * darwin-nat.c (_initialize_darwin_inferior): Don't override
7705 to_shortname, to_longname or to_doc.
7706
bc85afde
PA
77072014-05-21 Pedro Alves <palves@redhat.com>
7708
7709 * go32-nat.c (go32_target): Don't override to_shortname,
7710 to_longname or to_doc.
7711
4ebfc96e
PA
77122014-05-21 Pedro Alves <palves@redhat.com>
7713
7714 * inf-child.c (inf_child_open): Remove mention of "child".
7715 (inf_child_target): Rename target to "native" instead of "child".
7716
2648dfed
AA
77172014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7718
7719 * Makefile.in (SFILES): Delete "regset.c".
7720 (COMMON_OBS): Delete "regset.o".
7721 * regset.c: Remove.
7722 * regset.h (regset_alloc): Delete prototype.
7723
b13feb94
AA
77242014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7725
7726 * sparc-linux-tdep.c (sparc32_linux_gregset)
7727 (sparc32_linux_fpregset): New static regset structures.
7728 (sparc32_linux_init_abi): Drop dynamic regset allocations.
7729 * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and
7730 'fpregset' fields.
7731 * sparc64-linux-tdep.c: (sparc64_linux_gregset)
7732 (sparc64_linux_fpregset): New static regset structures.
7733 (sparc64_linux_init_abi): Drop dynamic regset allocations.
7734 * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset):
7735 New static regset structures.
7736 (sparc64fbsd_init_abi): Drop dynamic regset allocations.
7737 * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset):
7738 New static regset structures.
7739 (sparc64nbsd_init_abi): Drop dynamic regset allocations.
7740 * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset):
7741 New static regset structures.
7742 (sparc64obsd_init_abi): Drop dynamic regset allocations.
7743 * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset):
7744 New static regset structures.
7745 (sparc32nbsd_init_abi): Drop dynamic regset allocations.
7746
b4fd25c9
AA
77472014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7748
7749 * sparc-linux-nat.c (supply_gregset, supply_fpregset)
7750 (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename
7751 register maps ("regmaps") from "*regset" to "*regmap". Do this
7752 for all regmap types and variables.
7753 * sparc-linux-tdep.c (sparc32_linux_step_trap)
7754 (sparc32_linux_supply_core_gregset)
7755 (sparc32_linux_collect_core_gregset)
7756 (sparc32_linux_supply_core_fpregset)
7757 (sparc32_linux_collect_core_fpregset): Likewise.
7758 * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to...
7759 (sparc_gregmap, sparc_fpregmap): ... these.
7760 (sparc_supply_gregset, sparc_collect_gregset)
7761 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7762 (sparc_fetch_inferior_registers, sparc_store_inferior_registers)
7763 (_initialize_sparc_nat): Rename regmaps.
7764 * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to...
7765 (sparc_gregmap, sparc_fpregmap): ... these.
7766 (sparc_supply_gregset, sparc_collect_gregset)
7767 (sparc_supply_fpregset, sparc_collect_fpregset): Likewise.
7768 * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset):
7769 Rename macros to...
7770 (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these.
7771 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset):
7772 Likewise.
7773 * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset):
7774 Rename to...
7775 (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these.
7776 * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset)
7777 (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename
7778 regmaps.
7779 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7780 (sparc32_bsd_fpregset): Rename to...
7781 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7782 (sparc32_bsd_fpregmap): ... these.
7783 * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset)
7784 (sparc32_sunos4_gregset, sparc32_sunos4_fpregset)
7785 (sparc32_bsd_fpregset, sparc32_sol2_gregset)
7786 (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to...
7787 (struct sparc_gregmap, struct sparc_fpregmap)
7788 (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap)
7789 (sparc32_bsd_fpregmap, sparc32_sol2_gregmap)
7790 (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these.
7791 (sparc32_supply_regset, sparc32_collect_gregset)
7792 (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust
7793 prototypes.
7794 * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to...
7795 (sparc64_linux_ptrace_gregmap): ... this.
7796 (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset)
7797 (_initialize_sparc64_linux_nat): Rename regmaps.
7798 * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to...
7799 (sparc64_linux_core_gregmap): ... this.
7800 (sparc64_linux_supply_core_gregset)
7801 (sparc64_linux_collect_core_gregset)
7802 (sparc64_linux_supply_core_fpregset)
7803 (sparc64_linux_collect_core_fpregset): Rename regmaps.
7804 * sparc64-sol2-tdep.c (sparc64_sol2_gregset)
7805 (sparc64_sol2_fpregset): Rename to...
7806 (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these.
7807 * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset)
7808 (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename
7809 regmaps.
7810 * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset)
7811 (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset)
7812 (sparc64_bsd_fpregset): Rename to...
7813 (struct sparc_gregmap, sparc64_sol2_gregmap)
7814 (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap)
7815 (sparc64_bsd_fpregmap): ... these.
7816 (sparc64_supply_gregset, sparc64_collect_gregset)
7817 (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust
7818 prototypes.
7819 * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps.
7820 * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to...
7821 (sparc64fbsd_gregmap): ... this.
7822 (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset)
7823 (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset):
7824 Rename regmaps.
7825 * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset)
7826 (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset)
7827 (sparc64nbsd_collect_fpregset): Likewise.
7828 * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to...
7829 (sparc64nbsd_gregmap): ... this.
7830 (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename
7831 regmaps.
7832 * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise.
7833 * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to...
7834 (sparc64obsd_gregmap): ... this.
7835 (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename
7836 regmaps.
7837 * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise.
7838 * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to...
7839 (sparc32nbsd_gregmap): ... this.
7840 (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename
7841 regmaps.
7842
8fea3224
AA
78432014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7844
7845 * score-tdep.c (score7_linux_gregset): New static regset
7846 structure.
7847 (score7_linux_regset_from_core_section): Remove dynamic regset
7848 allocation.
7849 (score_gdbarch_init): Drop allocation of tdep structure.
7850 * score-tdep.h (struct gdbarch_tdep): Remove declaration.
7851
24534243
AA
78522014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7853
7854 * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static
7855 regset structures.
7856 (am33_regset_from_core_section): Remove dynamic regset
7857 allocations.
7858
b7195f27
AA
78592014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7860
7861 * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset)
7862 (mips_linux_fpregset, mips64_linux_fpregset): New static regset
7863 structures.
7864 (mips_linux_regset_from_core_section): Remove dynamic regset
7865 allocations.
7866 * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7867 'gregset64', 'fpregset', and 'fpregset64'.
7868 * mips-tdep.c (mips_gdbarch_init): Remove initialization of
7869 deleted tdep fields.
7870
ecc37a5a
AA
78712014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7872
7873 * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static
7874 regset structures.
7875 (amd64_regset_from_core_section): Remove dynamic regset
7876 allocations.
7877 * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset
7878 structure.
7879 (amd64obsd_regset_from_core_section): Remove dynamic regset
7880 allocation.
7881 * i386-cygwin-tdep.c (i386_windows_regset_from_core_section):
7882 Likewise.
7883 * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to
7884 x86-common regset supply function.
7885 * i386-tdep.c (i386_collect_gregset): Make static.
7886 (i386_gregset): New global regset structure.
7887 (i386_fpregset, i386_xstateregset): New static regset structures.
7888 (i386_regset_from_core_section): Remove dynamic regset
7889 allocations.
7890 (i386_gdbarch_init): Remove initialization of tdep fields
7891 'gregset', 'fpregset', and 'xstateregset'.
7892 * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset',
7893 'fpregset', and 'xstateregset'.
7894 (i386_collect_gregset): Remove prototype.
7895 (i386_gregset): New declaration.
7896 * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset
7897 structure.
7898 (i386obsd_aout_regset_from_core_section): Remove dynamic regset
7899 allocation.
7900
b7611c43
AA
79012014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7902
7903 * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset)
7904 (arm_linux_vfpregset): New static regset structures.
7905 (arm_linux_regset_from_core_section): Remove dynamic allocation of
7906 regset structures.
7907 * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset',
7908 and 'vfpregset' fields.
7909
a069a2bd
AA
79102014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7911
7912 * aarch64-linux-tdep.c (aarch64_linux_gregset)
7913 (aarch64_linux_fpregset): New static regset structures.
7914 (aarch64_linux_regset_from_core_section): Drop dynamic allocation
7915 of regset structures.
7916 * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and
7917 'fpregset' fields.
7918
09424cff
AA
79192014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7920
7921 * regset.h (struct regset): Remove gdbarch field.
7922 * regset.c (regset_alloc): Drop initialization of gdbarch field.
7923 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7924 * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset):
7925 Likewise.
7926 * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset)
7927 (ppc32_linux_fpregset, ppc32_linux_vrregset)
7928 (ppc32_linux_vsxregset): Likewise.
7929 * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch
7930 via the regcache instead of the regset.
7931 * i386-tdep.c (i386_supply_gregset, i386_collect_gregset)
7932 (i386_supply_fpregset, i386_collect_fpregset): Likewise.
7933 * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise.
7934 * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset):
7935 Likewise.
7936
3ca7dae4
AA
79372014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com>
7938
7939 * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset):
7940 Constify structures.
7941 * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset)
7942 (alphanbsd_aout_gregset): Likewise.
7943 * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise.
7944 * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset):
7945 Likewise.
7946 * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise.
7947 * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset):
7948 Likewise.
7949 * hppanbsd-tdep.c (hppanbsd_gregset): Likewise.
7950 * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise.
7951 * m32r-linux-tdep.c (m32r_linux_gregset): Likewise.
7952 * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise.
7953 * m88k-tdep.c (m88k_gregset): Likewise.
7954 * mips64obsd-tdep.c (mips64obsd_gregset): Likewise.
7955 * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise.
7956 * nios2-linux-tdep.c (nios2_core_regset): Likewise.
7957 * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise.
7958 * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7959 * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise.
7960 * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7961 * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise.
7962 * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset):
7963 Likewise.
7964 * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise.
7965 * sh-tdep.h (sh_corefile_gregset): Likewise.
7966 * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise.
7967 * vax-tdep.c (vax_gregset): Likewise.
7968
5876f503
JK
79692014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7970
7971 Fix TLS access for -static -pthread.
7972 * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p.
7973 (try_thread_db_load_1): Initialize it.
7974 (thread_db_get_thread_local_address): Call it if LM is zero.
7975 * target.c (target_translate_tls_address): Remove LM_ADDR zero check.
7976 * target.h (struct target_ops) (to_get_thread_local_address): Add
7977 load_module_addr comment.
7978
0256a6ac
PA
79792014-05-21 Pedro Alves <palves@redhat.com>
7980
7981 * dcache.c (dcache_read_memory_partial): If reading the cache line
7982 fails, fallback to reading just the memory the caller wanted.
7983
227533ac
DE
79842014-05-20 Doug Evans <dje@google.com>
7985
7986 * python/py-progspace.c (py_free_pspace): Call target_gdbarch
7987 instead of get_current_arch.
7988
936d2992
PA
79892014-05-20 Pedro Alves <palves@redhat.com>
7990
7991 * NEWS: Mention that compare-sections now works with all targets.
7992
7993 * remote.c (PACKET_qCRC): New enum value.
7994 (remote_verify_memory): Don't send qCRC if the target has no
7995 execution. Use packet_support/packet_ok. If the target doesn't
7996 support the qCRC packet, fallback to a deep memory copy.
7997 (compare_sections_command): Say "target image" instead of "remote
7998 executable".
7999 (_initialize_remote): Add PACKET_qCRC to the list of config
8000 packets that have no associated command. Extend comment.
8001 * target.c (simple_verify_memory, default_verify_memory): New
8002 function.
8003 * target.h (struct target_ops) <to_verify_memory>: Default to
8004 default_verify_memory.
8005 (simple_verify_memory): New declaration.
8006 * target-delegates.c: Regenerate.
8007
e59fa00f
MM
80082014-05-20 Markus Metzger <markus.t.metzger@intel.com>
8009
8010 * record-btrace.c (record_btrace_step_thread): Check for empty history.
8011
f2205de0
HZ
80122014-05-20 Hui Zhu <hui@codesourcery.com>
8013 Yao Qi <yao@codesourcery.com>
8014
8015 PR backtrace/16558
8016 * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments
8017 and change address of sp and pc.
8018
c4e54771
TT
80192014-05-19 Tom Tromey <tromey@redhat.com>
8020
8021 * gdbtypes.c (rank_function): Use XNEWVEC.
8022 * mi/mi-cmds.c (build_table): Use XCNEWVEC.
8023
73051182
DE
80242014-05-19 Doug Evans <dje@google.com>
8025
8026 * dwarf2read.c (build_type_psymtabs_1): Renamed from
8027 build_type_unit_groups and moved closer to only caller. Remove
8028 arguments. All references updated. Remove outdated .gdb_index
8029 comment.
8030 (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with
8031 build_type_psymtabs_1.
8032
8832e7e3
DE
80332014-05-19 Doug Evans <dje@google.com>
8034
8035 * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members
8036 n_type_unit_groups, all_type_unit_groups. All uses removed.
8037 (get_type_unit_group, build_type_unit_groups): Delete forward decls.
8038 (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated.
8039 (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated.
8040 (add_type_unit_group_to_table): Delete.
8041
cd8ae15e
DE
80422014-05-19 Doug Evans <dje@google.com>
8043
8044 * eval.c (evaluate_subexp_standard): Add some comments.
8045
08f4850b
DE
80462014-05-17 Doug Evans <xdje42@gmail.com>
8047
8048 * progspace.c (remove_program_space): Delete, unused.
8049 * progspace.h (remove_program_space): Ditto.
8050
bed8455c
DE
80512014-05-17 Doug Evans <xdje42@gmail.com>
8052
8053 * inferior.c (prune_inferiors): Fix comment.
8054 (remove_inferior_command): Call prune_program_spaces.
8055
8d551b02
DE
80562014-05-16 Doug Evans <dje@google.com>
8057
8058 New command line option -D.
8059 * NEWS: Mention it.
8060 * main.c (set_gdb_data_directory): New function.
8061 (captured_main): Recognize -D. Flag error for --data-directory "".
8062 Call set_gdb_data_directory.
8063 (print_gdb_help): Print --data-directory, -D.
8064 * main.h (set_gdb_data_directory): Declare.
8065 * top.c (staged_gdb_datadir): New static global.
8066 (set_gdb_datadir): Call set_gdb_data_directory
8067 (show_gdb_datadir): New function.
8068 (init_main): Update init of data-directory parameter.
8069
18848e28
GF
80702014-05-16 Gregory Fong <gregory.0xf0@gmail.com>
8071
8072 Import the "dirfd" gnulib module.
8073 * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd.
8074 * gnulib/aclocal.m4: Update.
8075 * gnulib/config.in: Update.
8076 * gnulib/configure: Update.
8077 * gnulib/import/Makefile.am: Update.
8078 * gnulib/import/Makefile.in: Update.
8079 * gnulib/import/dirfd.c: New.
8080 * gnulib/import/m4/dirfd.m4: New.
8081 * gnulib/import/m4/gnulib-cache.m4: Update.
8082 * gnulib/import/m4/gnulib-comp.m4: Update.
8083
95c64f92
YQ
80842014-05-16 Pierre Muller <muller@sourceware.org>
8085 Yao Qi <yao@codesourcery.com>
8086
8087 * valprint.c (print_wchar): Move the code on checking whether
8088 W is a printable wide char to the default branch of switch
8089 statement below. Call wchar_printable instead of gdb_iswprint.
8090
cac395ea
TM
80912014-05-16 Taimoor Mirza <tmirza@codesourcery.com>
8092
19679eca 8093 * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for
cac395ea
TM
8094 ldr.w and ldrd instructions.
8095
83655187
DE
80962014-05-15 Doug Evans <dje@google.com>
8097
8098 * dwarf2read.c (read_structure_type): Delete outdated comments.
8099
dd756689
TT
81002014-05-14 Tom Tromey <tromey@redhat.com>
8101
8102 * macrocmd.c (print_macro_definition): Reindent.
8103
75ddda77
DE
81042014-05-13 Doug Evans <xdje42@gmail.com>
8105
8106 * python/py-cmd.c (cmdpy_completer): Add comment.
8107 (completers): Make const.
8108
b0f16a3e
SM
81092014-05-13 Simon Marchi <simon.marchi@ericsson.com>
8110
8111 * infrun.c (resume): Remove should_resume (unused). Move up
8112 declaration of resume_ptid.
8113
033c3379
TT
81142014-05-13 Tom Tromey <tromey@redhat.com>
8115
8116 * language.h (unop_type_check): Remove.
8117 (binop_type_check): Don't declare.
8118
9b44a3a5
AA
81192014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com>
8120
8121 * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in
8122 call to regcache_raw_collect.
8123
303a33fa
SM
81242014-05-12 Simon Marchi <simon.marchi@ericsson.com>
8125
8126 * mi/mi-console.c (mi_console_raw_packet): Use the value from
8127 mi_console->quote as the quoting character.
8128
196100a0
SM
81292014-05-12 Simon Marchi <simon.marchi@ericsson.com>
8130
8131 * MAINTAINERS (Write After Approval): Add "Simon Marchi".
8132
f989a1c8
TT
81332014-04-29 Tom Tromey <tromey@redhat.com>
8134
8135 * varobj.c (_initialize_varobj): Rename to "set debug varobj" and
8136 "show debug varobj".
8137
9404b58f
KM
81382014-05-07 Kyle McMartin <kyle@redhat.com>
8139
8140 Pushed by Joel Brobecker <brobecker@adacore.com>.
8141 * aarch64-tdep.c (aarch64_software_single_step): New function.
8142 (aarch64_gdbarch_init): Handle single stepping of atomic sequences
8143 with aarch64_software_single_step.
8144
5e49ba57
JB
81452014-05-05 Joel Brobecker <brobecker@adacore.com>
8146
8147 GDB 7.7.1 released.
8148
c888a17d
KS
81492014-05-05 Keith Seitz <keiths@redhat.com>
8150
8151 * linespec.c (linespec_parse_basic): Run cleanups if a convenience
8152 variable or history value is successfully parsed.
8153
290a839c
YQ
81542014-05-05 Yao Qi <yao@codesourcery.com>
8155 Pedro Alves <palves@redhat.com>
8156
8157 * tracefile-tfile.c (tfile_xfer_partial): Record the lowest
8158 address of blocks that intersects the requested range. Trim
8159 LEN up to LOW_ADDR_AVAILABLE if read from executable read-only
8160 sections.
8161 * ctf.c (ctf_xfer_partial): Likewise.
8162
91256dc2
YQ
81632014-05-05 Yao Qi <yao@codesourcery.com>
8164
8165 * printcmd.c (display_command): Remove the check to
8166 target_has_execution.
8167
07284463
MK
81682014-05-03 Mark Kettenis <kettenis@gnu.org>
8169
8170 * ppcobsd-nat.c: Include "obsd-nat.h".
8171 (_initialize_ppcobsd_nat): Call obsd_add_target instead of
8172 add_target.
8173 * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o.
8174
30a1e6cc
SDJ
81752014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8176
8177 * stap-probe.c (enum stap_arg_bitness): New enums to represent 8
8178 and 16-bit signed and unsigned arguments. Update comment.
8179 (stap_parse_probe_arguments): Extend code to handle such
8180 arguments. Use warning instead of complaint to notify about
8181 unrecognized bitness.
8182
f33da99a
SDJ
81832014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
8184
8185 PR breakpoints/16889
8186 * stap-probe.c (stap_parse_probe_arguments): Simplify
8187 check for non-prefixed probes (i.e., probes whose
8188 arguments do not start with "N@"). Always set the
8189 argument type to a sane value.
8190
95cf3b38
DT
81912014-05-01 David Taylor <dtaylor@emc.com>
8192
8193 * remote.c (compare_sections_command): Add -r option to compare
8194 all loadable read-only sections.
8195
1cfdf534
SC
81962014-04-30 Siva Chandra Reddy <sivachandra@google.com>
8197
8198 * dwarf2loc.c (dwarf2_locexpr_baton_eval,
8199 dwarf2_evaluate_property): Remove unused CORE_ADDR argument.
8200 Update all callers.
8201 * dwarf2loc.h (dwarf2_evaluate_property): Update signature.
8202 * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array):
8203 Remove unused CORE_ADDR argument. Update all callers.
8204
ca4f7f8b
PA
82052014-04-29 Pedro Alves <palves@redhat.com>
8206
8207 * remote.c (struct packet_config) <detect>: Extend comment.
8208 (add_packet_config_cmd): Don't set the config's detect or support
8209 fields here.
8210 (init_all_packet_configs): Also initialize the config's 'detect'
8211 field.
8212 (reset_all_packet_configs_support): New function.
8213 (remote_open_1): Call reset_all_packet_configs_support instead of
8214 init_all_packet_configs.
8215 (_initialize_remote): Initialize all packet configs. Assert that
8216 all packets have an associated command, except a few known
8217 outliers.
8218
11c1ba78
JB
82192014-04-28 Joel Brobecker <brobecker@adacore.com>
8220
8221 * dwarf2read.c (read_subrange_type): Handle dynamic
8222 DW_AT_lower_bound attributes.
8223
8739bc53
JB
82242014-04-28 Joel Brobecker <brobecker@adacore.com>
8225
8226 * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's
8227 dynamic bounds before computing its upper bound.
8228 (ada_discrete_type_low_bound): Same as above with the lower bound.
8229
6f8a3220
JB
82302014-04-28 Joel Brobecker <brobecker@adacore.com>
8231
8232 * dwarf2read.c (is_dynamic_type): Return true for dynamic
8233 range types. Adjust the array handling implementation to
8234 take advantage of this change.
8235 (resolve_dynamic_range): New function, mostly extracted from
8236 resolve_dynamic_bounds.
8237 (resolve_dynamic_array): New function, mostly extracted from
8238 resolve_dynamic_bounds.
8239 (resolve_dynamic_bounds): Delete.
8240 (resolve_dynamic_type): Reimplement. Add handling of
8241 TYPE_CODE_RANGE types.
8242
4d072ce4
JB
82432014-04-28 Joel Brobecker <brobecker@adacore.com>
8244
8245 * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove
8246 handling of parallel ___XA types.
8247
52865325
JB
82482014-04-28 Joel Brobecker <brobecker@adacore.com>
8249
8250 * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove
8251 unnecessary second call to static_unwrap_type.
8252
433e77fa
HZ
82532014-04-27 Hui Zhu <hui@codesourcery.com>
8254
8255 * stack.c (print_frame_info): Call do_gdb_disassembly with
8256 DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME.
8257
b51a69ee
DE
82582014-04-26 Doug Evans <xdje42@gmail.com>
8259
8260 * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment.
8261
7ae1a6a6
PA
82622014-04-25 Pedro Alves <palves@redhat.com>
8263
8264 PR server/16255
8265 * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ...
8266 (linux_ptrace_attach_fail_reason): ... this. Remove "warning: "
8267 and newline from built string.
8268 * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ...
8269 (linux_ptrace_attach_fail_reason): ... this.
8270 * linux-nat.c (linux_nat_attach): Adjust to use
8271 linux_ptrace_attach_fail_reason.
8272
4082afcc
PA
82732014-04-25 Pedro Alves <palves@redhat.com>
8274
8275 * remote.c (struct remote_state): Remove multi_process_aware,
8276 non_stop_aware, cond_tracepoints, cond_breakpoints,
8277 breakpoint_commands, fast_tracepoints, static_tracepoints,
8278 install_in_trace, disconnected_tracing,
8279 enable_disable_tracepoints, string_tracing, and
8280 augmented_libraries_svr4_read fields.
8281 (remote_multi_process_p): Move further below in the file.
8282 (struct packet_config): Add comments.
8283 (update_packet_config): Delete function.
8284 (show_packet_config_cmd): Use packet_config_support.
8285 (add_packet_config_cmd): Use NULL as set callback.
8286 (packet_ok): "set remote foo-packet"-style commands no longer
8287 change config->supported -- adjust.
8288 (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints)
8289 (PACKET_BreakpointCommands, PACKET_FastTracepoints)
8290 (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments.
8291 (PACKET_QNonStop, PACKET_multiprocess_feature)
8292 (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature)
8293 (PACKET_DisconnectedTracing_feature)
8294 (PACKET_augmented_libraries_svr4_read_feature): New enum values.
8295 (set_remote_protocol_packet_cmd): Delete function.
8296 (packet_config_support, packet_support): New functions.
8297 (set_remote_protocol_Z_packet_cmd): Don't call
8298 update_packet_config.
8299 (remote_query_attached, remote_pass_signals)
8300 (remote_program_signals, remote_threads_info)
8301 (remote_threads_extra_info, remote_start_remote): Use
8302 packet_support.
8303 (remote_start_remote): Use packet_config_support and
8304 packet_support.
8305 (init_all_packet_configs): Set all packets to unknown support,
8306 instead of calling update_packet_config.
8307 (remote_check_symbols): Use packet_support.
8308 (remote_supported_packet): Unconditionally set the packet config's
8309 support status.
8310 (remote_multi_process_feature, remote_non_stop_feature)
8311 (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature)
8312 (remote_breakpoint_commands_feature)
8313 (remote_fast_tracepoint_feature, remote_static_tracepoint_feature)
8314 (remote_install_in_trace_feature)
8315 (remote_disconnected_tracing_feature)
8316 (remote_enable_disable_tracepoint_feature)
8317 (remote_string_tracing_feature)
8318 (remote_augmented_libraries_svr4_read_feature): Delete functions.
8319 (remote_protocol_features): Adjust to use remote_supported_packet
8320 for "augmented-libraries-svr4-read", "multiprocess", "QNonStop",
8321 "ConditionalTracepoints", "ConditionalBreakpoints",
8322 "BreakpointCommands", "FastTracepoints", "StaticTracepoints",
8323 "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing",
8324 "EnableDisableTracepoints", and "tracenz".
8325 (remote_query_supported): Use packet_support.
8326 (remote_open_1): Adjust.
8327 (extended_remote_attach_1): Use packet_support. Switch on the
8328 result of packet_ok instead of checking whether the packet ended
8329 up disabled.
8330 (remote_vcont_resume): Use packet_support.
8331 (remote_resume, remote_stop_ns, fetch_register_using_p)
8332 (remote_prepare_to_store, store_register_using_P)
8333 (check_binary_download, remote_write_bytes): Use packet_support.
8334 (remote_vkill): Use packet_support. Switch on the result of
8335 packet_ok instead of checking whether the packet ended up
8336 disabled.
8337 (extended_remote_supports_disable_randomization): Use
8338 packet_support.
8339 (extended_remote_run): Switch on the result of packet_ok instead
8340 of checking whether the packet ended up disabled.
8341 (remote_insert_breakpoint, remote_remove_breakpoint)
8342 (remote_insert_watchpoint, remote_remove_watchpoint)
8343 (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use
8344 packet_support.
8345 (remote_search_memory): Use packet_config_support.
8346 (remote_get_thread_local_address, remote_get_tib_address)
8347 (remote_hostio_send_command, remote_can_execute_reverse): Use
8348 packet_support.
8349 (remote_supports_cond_tracepoints)
8350 (remote_supports_cond_breakpoints)
8351 (remote_supports_fast_tracepoints)
8352 (remote_supports_static_tracepoints)
8353 (remote_supports_install_in_trace)
8354 (remote_supports_enable_disable_tracepoint)
8355 (remote_supports_string_tracing)
8356 (remote_can_run_breakpoint_commands): Rewrite, checking whether
8357 the packet config says the feature is enabled or disabled.
8358 (remote_download_tracepoint, remote_trace_set_readonly_regions)
8359 (remote_get_trace_status): Use packet_support.
8360 (remote_set_disconnected_tracing): Adjust to check whether the
8361 feature is enabled with packet_support.
8362 (remote_set_trace_buffer_size, remote_use_agent)
8363 (remote_can_use_agent, remote_supports_btrace): Use
8364 packet_support.
8365 (remote_enable_btrace, remote_disable_btrace, remote_read_btrace):
8366 Use packet_config_support.
8367 (remote_augmented_libraries_svr4_read): Rewrite, checking whether
8368 the packet config says the feature is enabled or disabled.
8369 (set_range_stepping): Use packet_support.
8370
bdb52a22
TT
83712014-04-25 Tom Tromey <tromey@redhat.com>
8372
8373 * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's
8374 argument.
8375
e9475ead
SA
83762014-04-24 Sanimir Agovic <sanimir.agovic@intel.com>
8377
8378 * NEWS: Mention support for C99 variable length arrays.
8379
82eacd52
JB
83802014-04-24 Joel Brobecker <brobecker@adacore.com>
8381
8382 * ada-lang.c (standard_exc): Expand introductory comment.
8383
01f9f808
MS
83842014-04-24 Michael Sturm <michael.sturm@mintel.com>
8385 Walfred Tedeschi <walfred.tedeschi@intel.com>
8386
8387 * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add
8388 AVX512 registers.
8389 (amd64_linux_read_description): Add code to handle AVX512 xstate
8390 mask and return respective tdesc.
8391 * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c
8392 and features/i386/x32-avx512-linux.c.
8393 (amd64_linux_gregset_reg_offset): Add AVX512 registers.
8394 (amd64_linux_core_read_description): Add code to handle AVX512
8395 xstate mask and return respective tdesc.
8396 (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc.
8397 * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum
8398 calculation.
8399 (AMD64_LINUX_NUM_REGS): Adjust to new number of registers.
8400 (tdesc_amd64_avx512_linux): New prototype.
8401 (tdesc_x32_avx512_linux): Likewise.
8402 * amd64-tdep.c: Include features/i386/amd64-avx512.c and
8403 features/i386/x32-avx512.c.
8404 (amd64_ymm_avx512_names): New register names for pseudo
8405 registers YMM16-31.
8406 (amd64_ymmh_avx512_names): New register names for raw registers
8407 YMMH16-31.
8408 (amd64_k_names): New register names for K registers.
8409 (amd64_zmmh_names): New register names for ZMM raw registers.
8410 (amd64_zmm_names): New registers names for ZMM pseudo registers.
8411 (amd64_xmm_avx512_names): New register names for XMM16-31
8412 registers.
8413 (amd64_pseudo_register_name): Add code to return AVX512 pseudo
8414 registers.
8415 (amd64_init_abi): Add code to intitialize AVX512 tdep variables
8416 if feature is present.
8417 (_initialize_amd64_tdep): Call AVX512 tdesc initializers.
8418 * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers.
8419 (AMD64_NUM_REGS): Adjust to new number of registers.
8420 * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of
8421 registers supplied via XSTATE by AVX512 registers.
8422 (i386_linux_read_description): Add case for AVX512.
8423 * i386-linux-tdep.c: Include i386-avx512-linux.c.
8424 (i386_linux_gregset_reg_offset): Add AVX512 registers.
8425 (i386_linux_core_read_description): Add case for AVX512.
8426 (i386_linux_init_abi): Install supported register note section
8427 for AVX512.
8428 (_initialize_i386_linux_tdep): Add call to tdesc init function for
8429 AVX512.
8430 * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of
8431 registers to be number of zmm7h + 1.
8432 (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers.
8433 * i386-tdep.c: Include features/i386/i386-avx512.c.
8434 (i386_zmm_names): Add ZMM pseudo register names array.
8435 (i386_zmmh_names): Add ZMM raw register names array.
8436 (i386_k_names): Add K raw register names array.
8437 (num_lower_zmm_regs): Add constant for the number of lower ZMM
8438 registers. AVX512 has 16 more ZMM registers than there are YMM
8439 registers.
8440 (i386_zmmh_regnum_p): Add function to look up register number of
8441 ZMM raw registers.
8442 (i386_zmm_regnum_p): Likewise for ZMM pseudo registers.
8443 (i386_k_regnum_p): Likewise for K raw registers.
8444 (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw
8445 registers added by AVX512.
8446 (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo
8447 registers added by AVX512.
8448 (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers
8449 added by AVX512.
8450 (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31.
8451 (i386_pseudo_register_name): Add ZMM pseudo registers.
8452 (i386_zmm_type): Construct and return vector registers type for ZMM
8453 registers.
8454 (i386_pseudo_register_type): Return appropriate type for YMM16-31,
8455 ZMM0-31 pseudo registers and K registers.
8456 (i386_pseudo_register_read_into_value): Add code to read K, ZMM
8457 and YMM16-31 registers from register cache.
8458 (i386_pseudo_register_write): Add code to write K, ZMM and
8459 YMM16-31 registers.
8460 (i386_register_reggroup_p): Add code to include/exclude AVX512
8461 registers in/from respective register groups.
8462 (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512
8463 registers if feature is present in xcr0.
8464 (i386_gdbarch_init): Add code to initialize AVX512 feature
8465 variables in tdep structure, wire in pseudo registers and call
8466 initialize_tdesc_i386_avx512.
8467 * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related
8468 variables.
8469 (i386_regnum): Add AVX512 registers.
8470 (I386_SSE_NUM_REGS): New define for number of SSE registers.
8471 (I386_AVX_NUM_REGS): Likewise for AVX registers.
8472 (I386_AVX512_NUM_REGS): Likewise for AVX512 registers.
8473 (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are
8474 512 bits wide.
8475 (i386_xmm_avx512_regnum_p): New prototype for register look up.
8476 (i386_ymm_avx512_regnum_p): Likewise.
8477 (i386_k_regnum_p): Likewise.
8478 (i386_zmm_regnum_p): Likewise.
8479 (i386_zmmh_regnum_p): Likewise.
8480 * i387-tdep.c : Update year in copyright notice.
8481 (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in
8482 XSAVE buffer.
8483 (XSAVE_YMM_AVX512_ADDR): New macro.
8484 (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in
8485 XSAVE buffer.
8486 (XSAVE_XMM_AVX512_ADDR): New macro.
8487 (xsave_avx512_k_offset): New table for K register offsets in
8488 XSAVE buffer.
8489 (XSAVE_AVX512_K_ADDR): New macro.
8490 (xsave_avx512_zmm_h_offset): New table for ZMM register offsets
8491 in XSAVE buffer.
8492 (XSAVE_AVX512_ZMM_H_ADDR): New macro.
8493 (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE
8494 buffer.
8495 (i387_collect_xsave): Add code to collect AVX512 registers from
8496 XSAVE buffer.
8497 * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number
8498 of XMM16-31 registers.
8499 (I387_NUM_K_REGS): New define for number of K registers.
8500 (I387_K0_REGNUM): New define for K0 register number.
8501 (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers.
8502 (I387_ZMM0H_REGNUM): New define for ZMM0H register number.
8503 (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31
8504 registers.
8505 (I387_YMM16H_REGNUM): New define for YMM16H register number.
8506 (I387_XMM16_REGNUM): New define for XMM16 register number.
8507 (I387_YMM0_REGNUM): New define for YMM0 register number.
8508 (I387_KEND_REGNUM): New define for last K register number.
8509 (I387_ZMMENDH_REGNUM): New define for last ZMMH register number.
8510 (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register
8511 number.
8512 (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register
8513 number.
8514 * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE
8515 size.
8516 * features/Makefile: Add AVX512 related files.
8517 * features/i386/32bit-avx512.xml: New file.
8518 * features/i386/64bit-avx512.xml: Likewise.
8519 * features/i386/amd64-avx512-linux.c: Likewise.
8520 * features/i386/amd64-avx512-linux.xml: Likewise.
8521 * features/i386/amd64-avx512.c: Likewise.
8522 * features/i386/amd64-avx512.xml: Likewise.
8523 * features/i386/i386-avx512-linux.c: Likewise.
8524 * features/i386/i386-avx512-linux.xml: Likewise.
8525 * features/i386/i386-avx512.c: Likewise.
8526 * features/i386/i386-avx512.xml: Likewise.
8527 * features/i386/x32-avx512-linux.c: Likewise.
8528 * features/i386/x32-avx512-linux.xml: Likewise.
8529 * features/i386/x32-avx512.c: Likewise.
8530 * features/i386/x32-avx512.xml: Likewise.
8531 * regformats/i386/amd64-avx512-linux.dat: New file.
8532 * regformats/i386/amd64-avx512.dat: Likewise.
8533 * regformats/i386/i386-avx512-linux.dat: Likewise.
8534 * regformats/i386/i386-avx512.dat: Likewise.
8535 * regformats/i386/x32-avx512-linux.dat: Likewise.
8536 * regformats/i386/x32-avx512.dat: Likewise.
8537 * NEWS: Add note about new support for AVX512.
8538
8539
08351840
PA
85402014-04-23 Pedro Alves <palves@redhat.com>
8541
8542 * breakpoint.c (insert_bp_location): Tolerate errors if the
8543 breakpoint is set in a user-loaded objfile.
8544 (remove_breakpoint_1): Likewise. Also tolerate errors if the
8545 location is marked shlib_disabled. If the breakpoint is set in a
8546 user-loaded objfile is a GDB-side memory breakpoint, validate it
8547 before uninsertion. (disable_breakpoints_in_freed_objfile): Skip
8548 non-OBJF_USERLOADED objfiles. Don't clear the location's inserted
8549 flag.
8550 * mem-break.c (memory_validate_breakpoint): New function.
8551 * objfiles.c (userloaded_objfile_contains_address_p): New
8552 function.
8553 * objfiles.h (userloaded_objfile_contains_address_p): Declare.
8554 * target.h (memory_validate_breakpoint): New declaration.
8555
076855f9
PA
85562014-04-23 Pedro Alves <palves@redhat.com>
8557
8558 * breakpoint.c (insert_bp_location, remove_breakpoint_1): If
8559 the breakpoint is set in a shared library, only suppress
8560 errors for software breakpoints, not hardware breakpoints.
8561
483805cf
PA
85622014-04-22 Pedro Alves <palves@redhat.com>
8563
8564 * infrun.c (schedlock_applies): New function, factored out from
8565 find_thread_needs_step_over.
8566 (find_thread_needs_step_over): Use it.
8567 (switch_back_to_stepped_thread): Always clear trap_expected if the
8568 step over is finished. Return early if scheduler locking applies.
8569 Look for the stepping thread and a potential step-over thread with
8570 a single loop.
8571 (currently_stepping_or_nexting_callback): Delete.
8572
a75fef0e
NC
85732014-04-22 Nick Clifton <nickc@redhat.com>
8574
8575 * NEWS: Mention that ARM sim now supports tracing.
8576
48b6e87e
YQ
85772014-04-22 Yao Qi <yao@codesourcery.com>
8578
8579 * tracefile-tfile.c (tfile_fetch_registers): Move the bottom
8580 to ...
8581 * tracefile.c (tracefile_fetch_registers): ... it. New
8582 function.
8583 * tracefile.h (tracefile_fetch_registers): Declare.
8584 * ctf.c (ctf_fetch_registers): Remove the bottom. Call
8585 tracefile_fetch_registers.
8586
17617f2d
EZ
85872014-04-19 Eli Zaretskii <eliz@gnu.org>
8588
8589 PR gdb/14018
8590 * windows-nat.c (thread_rec): Don't display a warning when
8591 SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread
8592 fails for any reason, set th->suspended to -1, so that we don't
8593 try to resume such a thread. Also, don't return NULL in these
8594 cases, to avoid completely ruin the session due to "PC register is
8595 not available" error.
8596 (do_windows_fetch_inferior_registers): Check errors in
8597 GetThreadContext call.
8598 (windows_continue): Accept an additional argument KILLED; if not
8599 zero, ignore errors in the SetThreadContext call, since the
8600 inferior was killed and is shutting down.
8601 (windows_resume, get_windows_debug_event)
8602 (windows_create_inferior, windows_mourn_inferior)
8603 (windows_kill_inferior): All callers of windows_continue changed
8604 to adjust to its new calling sequence.
8605
5723a6fd
YQ
86062014-04-19 Yao Qi <yao@codesourcery.com>
8607
8608 * ctf.c (ctf_open): Call post_create_inferior.
8609
614d5099
YQ
86102014-04-19 Yao Qi <yao@codesourcery.com>
8611
8612 * ctf.c (handle_id): New static variable.
8613 (ctf_open_dir): Get handle_id from bt_context_add_trace return
8614 value. Get the declaration of event "register" and get length
8615 of field "contents".
8616
dac3e710
YQ
86172014-04-19 Yao Qi <yao@codesourcery.com>
8618
8619 * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp.
8620
2bca57ba
SC
86212014-04-18 Siva Chandra Reddy <sivachandra@google.com>
8622
8623 * valops.c (oload_method_static): Remove unnecessary argument
8624 METHOD. Update all callers.
8625
51d48146
PA
86262014-04-18 Pedro alves <palves@redhat.com>
8627 Tom Tromey <tromey@redhat.com>
8628
8629 PR backtrace/15558
8630 * frame.c (get_prev_frame_1): Rename to ...
8631 (get_prev_frame_always): ... this, and make extern. Adjust.
8632 (skip_artificial_frames): Use get_prev_frame_always.
8633 (frame_unwind_caller_id, frame_pop, get_prev_frame)
8634 (get_frame_unwind_stop_reason): Adjust to rename.
8635 * frame.h (get_prev_frame_always): Declare.
8636 * inline-frame.c: Include frame.h.
8637 (inline_frame_this_id): Use get_prev_frame_always.
8638
1bdad2e0
TG
86392014-04-18 Tristan Gingold <gingold@adacore.com>
8640
8641 * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify
8642 code by using bfd_mach_o_get_base_address.
8643
7ce16bd4
UW
86442014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
8645
8646 * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h".
8647 (spu_ax_pseudo_register_collect): New function.
8648 (spu_ax_pseudo_register_push_stack): Likewise.
8649 (spu_dwarf_reg_to_regnum): Likewise.
8650 (spu_gdbarch_init): Install them. Append DWARF unwinders.
8651
2ed3c037
UW
86522014-04-17 Ulrich Weigand  <uweigand@de.ibm.com>
8653
8654 * gdbarch.sh (value_from_register): Make class "m" instead of "f".
8655 Replace FRAME argument with FRAME_ID.
8656 * gdbarch.c, gdbarch.h: Regenerate.
8657 * findvar.c (default_value_from_register): Add GDBARCH argument;
8658 replace FRAME by FRAME_ID. No longer call get_frame_id.
8659 (value_from_register): Update call to gdbarch_value_from_register.
8660 * value.h (default_value_from_register): Update prototype.
8661 * s390-linux-tdep.c (s390_value_from_register): Update interface
8662 and call to default_value_from_register.
8663 * spu-tdep.c (spu_value_from_register): Likewise.
8664
8665 * findvar.c (address_from_register): Remove TYPE argument.
8666 Do not call value_from_register; use gdbarch_value_from_register
8667 with null_frame_id instead.
8668 * value.h (address_from_register): Update prototype.
8669 * dwarf2-frame.c (read_addr_from_reg): Use address_from_register.
8670 * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for
8671 address_from_register interface change.
8672
71e50e83
YQ
86732014-04-17 Yao Qi <yao@codesourcery.com>
8674
8675 * gdbtypes.h: Update comments to link to types and macros'
8676 definitions.
8677
7a23c549
SC
86782014-04-16 Siva Chandra Reddy <sivachandra@google.com>
8679
8680 * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS.
8681
22869d73
KS
86822014-04-16 Keith Seitz <keiths@redhat.com>
8683
8684 PR gdb/15827
8685 * dwarf2read.c (skip_one_die): Check that all relative-offset
8686 sibling DIEs fall within range of the current reader's buffer.
8687 (read_partial_die): Likewise.
8688
c4f87ca6
KS
86892014-04-16 Keith Seitz <keiths@redhat.com>
8690
8691 PR c++/16597
8692 * cp-namespace.c (lookup_symbol_file): If the type name of
8693 `this' is NULL, return immediately.
8694
b50c8614
KS
86952014-04-14 Keith Seitz <keiths@redhat.com>
8696
8697 PR c++/16253
8698 * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed
8699 from symbol_matches_domain in symtab.c. All local callers
8700 of symbol_matches_domain updated.
8701 (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found,
8702 search STRUCT_DOMAIN.
8703 (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN
8704 independently. standard_lookup will do that automatically.
8705 * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why
8706 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8707 (cp_lookup_symbol_in_namespace): Likewise.
8708 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN.
8709 (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches
8710 may return a STRUCT_DOMAIN match.
8711 (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN.
8712 * cp-support.c: Include language.h.
8713 (inspect_type): Explicitly search STRUCT_DOMAIN before searching
8714 VAR_DOMAIN.
8715 * psymtab.c (match_partial_symbol): Compare the requested
8716 domain with the symbol's domain directly.
8717 (lookup_partial_symbol): Likewise.
8718 * symtab.c (lookup_symbol_in_language): Explain when/why
8719 VAR_DOMAIN searches may return a STRUCT_DOMAIN match.
8720 If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for
8721 appropriate languages.
8722 (symbol_matches_domain): Renamed `ada_symbol_matches_domain'
8723 and moved to ada-lang.c
8724 (lookup_block_symbol): Explain that this function only returns
8725 symbol matching the requested DOMAIN.
8726 Compare the requested domain with the symbol's domain directly.
8727 (iterate_over_symbols): Compare the requested domain with the
8728 symbol's domain directly.
8729 * symtab.h (symbol_matches_domain): Remove.
8730
3d567982
TT
87312014-04-14 Tom Tromey <tromey@redhat.com>
8732
8733 PR c++/15246:
8734 * c-exp.y (type_aggregate_p): New function.
8735 (qualified_name, classify_inner_name): Use it.
8736 * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS
8737 and TYPE_TARGET_TYPE of an enum type.
8738 * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on
8739 an enum type.
8740 (determine_prefix) <case DW_TAG_enumeration_type>: New case;
8741 handle TYPE_DECLARED_CLASS.
8742 * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum
8743 types.
8744 * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment.
8745 * valops.c (enum_constant_from_type): New function.
8746 (value_aggregate_elt): Use it.
8747 * cp-namespace.c (cp_lookup_nested_symbol): Handle
8748 TYPE_CODE_ENUM.
8749
c848d642
TT
87502014-04-14 Tom Tromey <tromey@redhat.com>
8751
8752 * valops.c (value_aggregate_elt, value_struct_elt_for_reference)
8753 (value_namespace_elt, value_maybe_namespace_elt): Make "name"
8754 const.
8755 * value.h (value_aggregate_elt): Update.
8756
0626fc76
TT
87572014-04-14 Tom Tromey <tromey@redhat.com>
8758
8759 * dwarf2read.c (read_enumeration_type): Handle DW_AT_type.
8760
5ecaaa66
SA
87612014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8762
8763 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8764 (evaluate_subexp_standard): Pass noside argument.
8765 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8766 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8767 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8768 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8769 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8770
1612e0c0
SA
87712014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8772
8773 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8774 points to a constant blob.
8775
c451ebe5
SA
87762014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8777
8778 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8779 property and store it as the high bound and flag the range accordingly.
8780 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8781 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8782 * gdbtypes.h (enum range_flags): New enum.
8783 (struct range_bounds): Add flags member.
8784
1d42e4c4
SA
87852014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8786
8787 * c-typeprint.c (c_type_print_varspec_suffix): Added
8788 check for not yet resolved high bound. If unresolved, print
8789 "variable length" string to the console instead of random
8790 length.
8791
9f1f738a
SA
87922014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8793
8794 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from
8795 value.
8796 (ada_template_to_fixed_record_type_1): Likewise.
8797 (ada_to_fixed_type_1): Likewise.
8798 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8799 (cp_print_value): Likewise.
8800 * d-valprint.c (dynamic_array_type): Likewise.
8801 * findvar.c (address_of_variable): Likewise.
8802 * jv-valprint.c (java_value_print): Likewise.
8803 * valops.c (value_ind): Likewise.
8804 * value.c (coerce_ref): Likewise.
8805
3c8452d4
SA
88062014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8807
8808 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8809 value and retrieve the dynamic type size.
8810
4ad88275
SA
88112014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8812
8813 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8814 passed to sizeof is dynamic evaluate the argument to compute the length.
8815
80180f79
SA
88162014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
8817 Joel Brobecker <brobecker@adacore.com>
8818
8819 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8820 (dwarf2_evaluate_property): New function.
8821 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8822 * dwarf2read.c (attr_to_dynamic_prop): New function.
8823 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8824 attribute.
8825 * gdbtypes.c: Include dwarf2loc.h.
8826 (is_dynamic_type): New function.
8827 (resolve_dynamic_type): New function.
8828 (resolve_dynamic_bounds): New function.
8829 (get_type_length): New function.
8830 (check_typedef): Use get_type_length to compute type length.
8831 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8832 (TYPE_LOW_BOUND_KIND): New macro.
8833 (is_dynamic_type): New function prototype.
8834 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8835 to resolve dynamic properties of the type. Update comment.
8836 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8837
a1556843
RH
88382014-04-14 Richard Henderson <rth@redhat.com>
8839
8840 * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype.
8841
0be03e84
DE
88422014-04-12 Siva Chandra Reddy <sivachandra@google.com>
8843 Doug Evans <xdje42@gmail.com>
8844
8845 * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to
8846 dereference TYPE_CODE_REF values.
8847
6b662e19
JB
88482014-04-11 Joel Brobecker <brobecker@adacore.com>
8849
8850 Revert the following changes due to regressions:
8851
8852 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8853 (dwarf2_evaluate_property): New function.
8854 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8855 * dwarf2read.c (attr_to_dynamic_prop): New function.
8856 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8857 attribute.
8858 * gdbtypes.c: Include dwarf2loc.h.
8859 (is_dynamic_type): New function.
8860 (resolve_dynamic_type): New function.
8861 (resolve_dynamic_bounds): New function.
8862 (get_type_length): New function.
8863 (check_typedef): Use get_type_length to compute type length.
8864 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8865 (TYPE_LOW_BOUND_KIND): New macro.
8866 (is_dynamic_type): New function prototype.
8867 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8868 to resolve dynamic properties of the type. Update comment.
8869 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8870
8871 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8872 passed to sizeof is dynamic evaluate the argument to compute the length.
8873
8874 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8875 value and retrieve the dynamic type size.
8876
8877 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8878 (ada_template_to_fixed_record_type_1): Likewise.
8879 (ada_to_fixed_type_1): Likewise.
8880 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8881 (cp_print_value): Likewise.
8882 * d-valprint.c (dynamic_array_type): Likewise.
8883 * eval.c (evaluate_subexp_with_coercion): Likewise.
8884 * findvar.c (address_of_variable): Likewise.
8885 * jv-valprint.c (java_value_print): Likewise.
8886 * valops.c (value_ind): Likewise.
8887 * value.c (coerce_ref): Likewise.
8888
8889 * c-typeprint.c (c_type_print_varspec_suffix): Added
8890 check for not yet resolved high bound. If unresolved, print
8891 "variable length" string to the console instead of random
8892 length.
8893
8894 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8895 property and store it as the high bound and flag the range accordingly.
8896 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8897 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8898 * gdbtypes.h (enum range_flags): New enum.
8899 (struct range_bounds): Add flags member.
8900
8901 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8902 points to a constant blob.
8903
8904 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8905 (evaluate_subexp_standard): Pass noside argument.
8906 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8907 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8908 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8909 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8910 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8911
245a5f0b
KS
89122014-04-11 Keith Seitz <keiths@redhat.com>
8913
8914 PR c++/16675
8915 * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types.
8916 * eval.c (evaluate_subexp_for_sizeof): Refactor and handle
8917 reference types.
8918
3bce8237
SA
89192014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8920
8921 * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument.
8922 (evaluate_subexp_standard): Pass noside argument.
8923 (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case
8924 if noside equals EVAL_NORMAL. If the subscript yields a vla type
8925 re-evaluate subscript operation with EVAL_NORMAL to enable sideffects.
8926 * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated.
8927 * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case.
8928
92b09522
SA
89292014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8930
8931 * findvar.c (default_read_var_value): Resolve dynamic bounds if location
8932 points to a constant blob.
8933
e1969afb
SA
89342014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8935
8936 * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic
8937 property and store it as the high bound and flag the range accordingly.
8938 * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as
8939 RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound.
8940 * gdbtypes.h (enum range_flags): New enum.
8941 (struct range_bounds): Add flags member.
8942
b86138fb
SA
89432014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8944
8945 * c-typeprint.c (c_type_print_varspec_suffix): Added
8946 check for not yet resolved high bound. If unresolved, print
8947 "variable length" string to the console instead of random
8948 length.
8949
bcd629a4
SA
89502014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8951
8952 * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value.
8953 (ada_template_to_fixed_record_type_1): Likewise.
8954 (ada_to_fixed_type_1): Likewise.
8955 * cp-valprint.c (cp_print_value_fields_rtti): Likewise.
8956 (cp_print_value): Likewise.
8957 * d-valprint.c (dynamic_array_type): Likewise.
8958 * eval.c (evaluate_subexp_with_coercion): Likewise.
8959 * findvar.c (address_of_variable): Likewise.
8960 * jv-valprint.c (java_value_print): Likewise.
8961 * valops.c (value_ind): Likewise.
8962 * value.c (coerce_ref): Likewise.
8963
04b19544
SA
89642014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8965
8966 * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect
8967 value and retrieve the dynamic type size.
8968
26cb189f
SA
89692014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8970
8971 * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type
8972 passed to sizeof is dynamic evaluate the argument to compute the length.
8973
37c1ab67
SA
89742014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8975
8976 * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function.
8977 (dwarf2_evaluate_property): New function.
8978 * dwarf2loc.h (dwarf2_evaluate_property): New function prototype.
8979 * dwarf2read.c (attr_to_dynamic_prop): New function.
8980 (read_subrange_type): Use attr_to_dynamic_prop to read high bound
8981 attribute.
8982 * gdbtypes.c: Include dwarf2loc.h.
8983 (is_dynamic_type): New function.
8984 (resolve_dynamic_type): New function.
8985 (resolve_dynamic_bounds): New function.
8986 (get_type_length): New function.
8987 (check_typedef): Use get_type_length to compute type length.
8988 * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro.
8989 (TYPE_LOW_BOUND_KIND): New macro.
8990 (is_dynamic_type): New function prototype.
8991 * value.c (value_from_contents_and_address): Call resolve_dynamic_type
8992 to resolve dynamic properties of the type. Update comment.
8993 * valops.c (get_value_at, value_at, value_at_lazy): Update comment.
8994
729efb13
SA
89952014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
8996
8997 * dwarf2read.c (read_subrange_type): Use struct bound_prop for
8998 declaring high/low bounds and change uses accordingly. Call
8999 create_range_type instead of create_static_range_type.
9000 * gdbtypes.c (create_range_type): New function.
9001 (create_range_type): Convert bounds into struct bound_prop and pass
9002 them to create_range_type.
9003 * gdbtypes.h (struct bound_prop): New struct.
9004 (create_range_type): New function prototype.
9005 (struct range_bounds): Use struct bound_prop instead of LONGEST for
9006 high/low bounds. Remove low_undefined/high_undefined and adapt all uses.
9007 (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static
9008 part of the bound.
9009 * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED.
9010
0c9c3474
SA
90112014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
9012
9013 * gdbtypes.c (create_static_range_type): Renamed from create_range_type.
9014 * gdbtypes.h (create_static_range_type): Renamed from create_range_type.
9015 * ada-lang.c: All uses of create_range_type updated.
9016 * coffread.c: All uses of create_range_type updated.
9017 * dwarf2read.c: All uses of create_range_type updated.
9018 * f-exp.y: All uses of create_range_type updated.
9019 * m2-valprint.c: All uses of create_range_type updated.
9020 * mdebugread.c: All uses of create_range_type updated.
9021 * stabsread.c: All uses of create_range_type updated.
9022 * valops.c: All uses of create_range_type updated.
9023 * valprint.c: All uses of create_range_type updated.
9024
9d497a19
PA
90252014-04-10 Pedro Alves <palves@redhat.com>
9026
9027 * breakpoint.c (single_step_breakpoints)
9028 (single_step_gdbarch): Move up in the file.
9029 (one_breakpoint_xfer_memory): New function, factored out from ...
9030 (breakpoint_xfer_memory): ... here. Also process single-step
9031 breakpoints.
9032
15a9128a
TG
90332014-04-09 Tristan Gingold <gingold@adacore.com>
9034
9035 * darwin-nat.c (darwin_check_new_threads): Fix port leak, add
9036 comments.
9037 (darwin_decode_exception_message): Free port only after use.
9038
9c97a070
PL
90392014-04-08 Pierre Langlois <pierre.langlois@embecosm.com>
9040
9041 * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment.
9042 (avr_gdbarch_init): Add xmega architectures given by bfd_architecture
9043 when setting the size of call_length.
9044
7af389b8
SC
90452014-04-07 Siva Chandra Reddy <sivachandra@google.com>
9046
9047 * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to
9048 dereference TYPE_CODE_REF values.
9049
86ad98c3
JB
90502014-04-07 Joel Brobecker <brobecker@adacore.com>
9051
9052 * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at
9053 end of warning message.
9054
b0aeadb3
DE
90552014-04-03 Doug Evans <dje@google.com>
9056
9057 * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one
9058 of stub_comp_unit_die, stub_comp_dir is non-NULL.
9059
5979d6b6
AM
90602014-04-02 Alan Modra <amodra@gmail.com>
9061
9062 * symfile-mem.c (symbol_file_add_from_memory): Add size parameter.
9063 Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers.
9064 (struct symbol_file_add_from_memory_args): Add size field.
9065 (find_vdso_size): New function.
9066 (add_vsyscall_page): Attempt to find vdso size.
9067
0d60c288
DE
90682014-04-01 Doug Evans <dje@google.com>
9069
9070 * dwarf2read.c (read_cutu_die_from_dwo): Improve comment.
9071
a41f2563
TG
90722014-04-01 Tristan Gingold <gingold@adacore.com>
9073
9074 * darwin-nat.c (darwin_encode_reply): Add prototype.
9075 (darwin_decode_exception_message): Reply to unknown inferiors.
9076 (darwin_decode_message): Handle message by id. Ignore message
9077 to unknown inferior.
9078 (darwin_wait): Discard unknown messages, add debug trace.
9079
11a865c8
DE
90802014-03-31 Doug Evans <dje@google.com>
9081
9082 * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local
9083 comp_dir_string.
9084
770e7fc7
DE
90852014-03-31 Doug Evans <dje@google.com>
9086
9087 New option "set print symbol-loading".
9088 * NEWS: Mention it.
9089 * solib.c (solib_read_symbols): Only print symbol loading messages
9090 if requested.
9091 (solib_add): If symbol loading is in "brief" mode, notify user
9092 symbols are being loaded.
9093 (reload_shared_libraries_1): Ditto.
9094 * symfile.c (print_symbol_loading_off): New static global.
9095 (print_symbol_loading_brief): New static global.
9096 (print_symbol_loading_full): New static global.
9097 (print_symbol_loading_enums): New static global.
9098 (print_symbol_loading): New static global.
9099 (print_symbol_loading_p): New function.
9100 (symbol_file_add_with_addrs): Only print symbol loading messages
9101 if requested.
9102 (_initialize_symfile): Register "print symbol-loading" set/show
9103 command.
9104 * symfile.h (print_symbol_loading_p): Declare.
9105
c32c64b7
DE
91062014-03-30 Doug Evans <xdje42@gmail.com>
9107
9108 * infrun.c (set_last_target_status): New function.
9109 (handle_inferior_event): Call it.
9110
7c0bc051
DE
91112014-03-30 Doug Evans <xdje42@gmail.com>
9112
9113 * inferior.h (enum stop_kind): Improve comment.
9114
8776cfe9
JB
91152014-03-28 Joel Brobecker <brobecker@adacore.com>
9116
9117 * varobj.c (varobj_value_has_mutated): If NEW_VALUE is
9118 a reference, strip the reference layer before calling
9119 the lang_ops value_has_mutated callback.
9120
410a0ff2
SDJ
91212014-03-27 Sergio Durigan Junior <sergiodj@redhat.com>
9122
9123 Remove some globals from our parser.
9124 * language.c (unk_lang_parser): Add "struct parser_state"
9125 argument.
9126 * language.h (struct language_defn) <la_parser>: Likewise.
9127 * parse.c (expout, expout_size, expout_ptr): Remove variables.
9128 (initialize_expout): Add "struct parser_state" argument.
9129 Rewrite function to use the parser state.
9130 (reallocate_expout, write_exp_elt, write_exp_elt_opcode,
9131 write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile,
9132 write_exp_elt_longcst, write_exp_elt_dblcst,
9133 write_exp_elt_decfloatcst, write_exp_elt_type,
9134 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
9135 write_exp_bitstring, write_exp_msymbol, mark_struct_expression,
9136 write_dollar_variable): Likewise.
9137 (parse_exp_in_context_1): Use parser state.
9138 (insert_type_address_space): Add "struct parser_state" argument.
9139 Use parser state.
9140 (increase_expout_size): New function.
9141 * parser-defs.h: Forward declare "struct language_defn" and
9142 "struct parser_state".
9143 (expout, expout_size, expout_ptr): Remove extern declarations.
9144 (parse_gdbarch, parse_language): Rewrite macro declarations to
9145 accept the parser state.
9146 (struct parser_state): New struct.
9147 (initialize_expout, reallocate_expout, write_exp_elt_opcode,
9148 write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst,
9149 write_exp_elt_decfloatcst, write_exp_elt_type,
9150 write_exp_elt_intern, write_exp_string, write_exp_string_vector,
9151 write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile,
9152 write_exp_msymbol, write_dollar_variable,
9153 mark_struct_expression, insert_type_address_space): Add "struct
9154 parser_state" argument.
9155 (increase_expout_size): New function.
9156 * utils.c (do_clear_parser_state): New function.
9157 (make_cleanup_clear_parser_state): Likewise.
9158 * utils.h (make_cleanup_clear_parser_state): New function
9159 prototype.
9160 * aarch64-linux-tdep.c (aarch64_stap_parse_special_token):
9161 Update calls to write_exp* in order to pass the parser state.
9162 * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise.
9163 * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise.
9164 (i386_stap_parse_special_token_three_arg_disp): Likewise.
9165 * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise.
9166 * stap-probe.c (stap_parse_register_operand): Likewise.
9167 (stap_parse_single_operand): Likewise.
9168 (stap_parse_argument_1): Likewise.
9169 (stap_parse_argument): Use parser state.
9170 * stap-probe.h: Include "parser-defs.h".
9171 (struct stap_parse_info) <pstate>: New field.
9172 * c-exp.y (parse_type): Rewrite to use parser state.
9173 (yyparse): Redefine to c_parse_internal.
9174 (pstate): New global variable.
9175 (parse_number): Add "struct parser_state" argument.
9176 (write_destructor_name): Likewise.
9177 (type_exp): Update calls to write_exp* and similars in order to
9178 use parser state.
9179 (exp1, exp, variable, qualified_name, space_identifier,
9180 typename, typebase): Likewise.
9181 (write_destructor_name, parse_number, lex_one_token,
9182 classify_name, classify_inner_name, c_parse): Add "struct
9183 parser_state" argument. Update function to use parser state.
9184 * c-lang.h: Forward declare "struct parser_state".
9185 (c_parse): Add "struct parser_state" argument.
9186 * ada-exp.y (parse_type): Rewrite macro to use parser state.
9187 (yyparse): Redefine macro to ada_parse_internal.
9188 (pstate): New variable.
9189 (write_int, write_object_renaming, write_var_or_type,
9190 write_name_assoc, write_exp_op_with_string, write_ambiguous_var,
9191 type_int, type_long, type_long_long, type_float, type_double,
9192 type_long_double, type_char, type_boolean, type_system_address):
9193 Add "struct parser_state" argument.
9194 (exp1, primary, simple_exp, relation, and_exp, and_then_exp,
9195 or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix,
9196 var_or_type, aggregate, aggregate_component_list,
9197 positional_list, others, component_group,
9198 component_associations): Update calls to write_exp* and similar
9199 functions in order to use parser state.
9200 (ada_parse, write_var_from_sym, write_int,
9201 write_exp_op_with_string, write_object_renaming,
9202 find_primitive_type, write_selectors, write_ambiguous_var,
9203 write_var_or_type, write_name_assoc, type_int, type_long,
9204 type_long_long, type_float, type_double, type_long_double,
9205 type_char, type_boolean, type_system_address): Add "struct
9206 parser_state" argument. Adjust function to use parser state.
9207 * ada-lang.c (parse): Likewise.
9208 * ada-lang.h: Forward declare "struct parser_state".
9209 (ada_parse): Add "struct parser_state" argument.
9210 * ada-lex.l (processInt, processReal): Likewise. Adjust all
9211 calls to both functions.
9212 * f-exp.y (parse_type, parse_f_type): Rewrite macros to use
9213 parser state.
9214 (yyparse): Redefine macro to f_parse_internal.
9215 (pstate): New variable.
9216 (parse_number): Add "struct parser_state" argument.
9217 (type_exp, exp, subrange, typebase): Update calls to write_exp*
9218 and similars in order to use parser state.
9219 (parse_number): Adjust code to use parser state.
9220 (yylex): Likewise.
9221 (f_parse): New function.
9222 * f-lang.h: Forward declare "struct parser_state".
9223 (f_parse): Add "struct parser_state" argument.
9224 * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use
9225 parser state.
9226 (yyparse): Redefine macro for java_parse_internal.
9227 (pstate): New variable.
9228 (push_expression_name, push_expression_name, insert_exp): Add
9229 "struct parser_state" argument.
9230 (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType,
9231 FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess,
9232 FuncStart, MethodInvocation, ArrayAccess, PostfixExpression,
9233 PostIncrementExpression, PostDecrementExpression,
9234 UnaryExpression, PreIncrementExpression, PreDecrementExpression,
9235 UnaryExpressionNotPlusMinus, CastExpression,
9236 MultiplicativeExpression, AdditiveExpression, ShiftExpression,
9237 RelationalExpression, EqualityExpression, AndExpression,
9238 ExclusiveOrExpression, InclusiveOrExpression,
9239 ConditionalAndExpression, ConditionalOrExpression,
9240 ConditionalExpression, Assignment, LeftHandSide): Update
9241 calls to write_exp* and similars in order to use parser state.
9242 (parse_number): Ajust code to use parser state.
9243 (yylex): Likewise.
9244 (java_parse): New function.
9245 (push_variable): Add "struct parser_state" argument. Adjust
9246 code to user parser state.
9247 (push_fieldnames, push_qualified_expression_name,
9248 push_expression_name, insert_exp): Likewise.
9249 * jv-lang.h: Forward declare "struct parser_state".
9250 (java_parse): Add "struct parser_state" argument.
9251 * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use
9252 parser state.
9253 (yyparse): Redefine macro to m2_parse_internal.
9254 (pstate): New variable.
9255 (type_exp, exp, fblock, variable, type): Update calls to
9256 write_exp* and similars to use parser state.
9257 (yylex): Likewise.
9258 (m2_parse): New function.
9259 * m2-lang.h: Forward declare "struct parser_state".
9260 (m2_parse): Add "struct parser_state" argument.
9261 * objc-lang.c (end_msglist): Add "struct parser_state" argument.
9262 * objc-lang.h: Forward declare "struct parser_state".
9263 (end_msglist): Add "struct parser_state" argument.
9264 * p-exp.y (parse_type): Rewrite macro to use parser state.
9265 (yyparse): Redefine macro to pascal_parse_internal.
9266 (pstate): New variable.
9267 (parse_number): Add "struct parser_state" argument.
9268 (type_exp, exp1, exp, qualified_name, variable): Update calls to
9269 write_exp* and similars in order to use parser state.
9270 (parse_number, yylex): Adjust code to use parser state.
9271 (pascal_parse): New function.
9272 * p-lang.h: Forward declare "struct parser_state".
9273 (pascal_parse): Add "struct parser_state" argument.
9274 * go-exp.y (parse_type): Rewrite macro to use parser state.
9275 (yyparse): Redefine macro to go_parse_internal.
9276 (pstate): New variable.
9277 (parse_number): Add "struct parser_state" argument.
9278 (type_exp, exp1, exp, variable, type): Update calls to
9279 write_exp* and similars in order to use parser state.
9280 (parse_number, lex_one_token, classify_name, yylex): Adjust code
9281 to use parser state.
9282 (go_parse): Likewise.
9283 * go-lang.h: Forward declare "struct parser_state".
9284 (go_parse): Add "struct parser_state" argument.
9285
342587c4
DE
92862014-03-27 Doug Evans <dje@google.com>
9287
9288 * dwarf2read.c (read_str_index): Delete arg cu. All callers updated.
9289
33e80786
DE
92902014-03-27 Doug Evans <dje@google.com>
9291
9292 * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments.
9293 Remove argument abbrev_section. All callers updated.
9294
1dbab08b
DE
92952014-03-27 Doug Evans <dje@google.com>
9296
9297 * dwarf2read.c (struct dwarf2_cu): Improve comments for members
9298 addr_base, ranges_base.
9299
318d3177
KS
93002014-03-26 Keith Seitz <keiths@redhat.com>
9301
9302 * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for
9303 types, not VAR_DOMAIN.
9304
1e54db15
SL
93052014-03-25 Sandra Loosemore <sandra@codesourcery.com>
9306
9307 * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and
9308 "ra" registers.
9309 * features/nios2-linux.c: Regenerated.
9310 * features/nios2.c: Regenerated.
9311
d3839ede
PA
93122014-03-25 Pedro Alves <palves@redhat.com>
9313
9314 * cli/cli-script.c (script_from_file): Force the interpreter to
9315 sync mode.
9316
7588d2ec
PL
93172014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
9318
9319 * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for
9320 small stack allocation.
9321
a6290449
TG
93222014-03-24 Tristan Gingold <gingold@adacore.com>
9323
9324 * darwin-nat.c (exc_server): Remove unused prototype.
9325 (darwin_dump_message): Correctly display data on x86_64.
9326 (darwin_encode_reply): Fix style.
9327 Add comments and fix indentation.
9328
31ae9d24 93292014-03-24 Pierre Langlois <pierre.langlois@embecosm.com>
69fa4030
PL
9330
9331 * MAINTAINERS (Write After Approval): Add "Pierre Langlois".
9332
6339bfc4
DE
93332014-03-22 Doug Evans <xdje42@gmail.com>
9334
9335 * infcmd.c: Whitespace fixes.
9336 (interrupt_command): Merge two function comments into one.
9337
0a07590b
DE
93382014-03-22 Doug Evans <xdje42@gmail.com>
9339
9340 * infcmd.c (interrupt_command): Renamed from interrupt_target_command.
9341 All uses updated.
9342
b55fbac4
YQ
93432014-03-22 Yao Qi <yao@codesourcery.com>
9344
9345 * remote.c (target_read_live_memory): Remove.
9346 (memory_xfer_live_readonly_partial): Rename it to
9347 remote_xfer_live_readonly_partial. Remove argument 'object'.
9348 All callers updated. Call remote_read_bytes_1
9349 instead of target_read_live_memory.
9350 * tracepoint.c (set_traceframe_number): Remove.
9351 (make_cleanup_restore_traceframe_number): Likewise .
9352 * tracepoint.h (set_traceframe_number): Remove declaration.
9353 (make_cleanup_restore_traceframe_number): Likewise.
9354
9217e74e
YQ
93552014-03-22 Yao Qi <yao@codesourcery.com>
9356
9357 * remote.c (remote_read_bytes): Move code on reading from the
9358 remote stub to ...
9359 (remote_read_bytes_1): ... here. New function.
9360
8acf9577
YQ
93612014-03-22 Yao Qi <yao@codesourcery.com>
9362
9363 * ctf.c (ctf_xfer_partial): Check the return value of
9364 exec_read_partial_read_only, if it is not TARGET_XFER_OK,
9365 return TARGET_XFER_UNAVAILABLE.
9366 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
9367 * target.c (target_read_live_memory): Move it to remote.c.
9368 (memory_xfer_live_readonly_partial): Likewise.
9369 (memory_xfer_partial_1): Move some code to remote_read_bytes.
9370 * remote.c (target_read_live_memory): Moved from target.c.
9371 (memory_xfer_live_readonly_partial): Likewise.
9372 (remote_read_bytes): Factored out from
9373 memory_xfer_partial_1.
9374
feef67ab
DE
93752014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com>
9376
9377 * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing
9378 NULL pointer.
9379
b65dc60b
PA
93802014-03-21 Pedro Alves <palves@redhat.com>
9381
9382 * infrun.c (normal_stop): Extend comment.
9383
b4ab256d
HZ
93842014-03-21 Hui Zhu <hui@codesourcery.com>
9385 Pedro Alves <palves@redhat.com>
9386
9387 * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to
9388 static buffer.
9389 * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto.
9390 * linux-nat.c (linux_child_pid_to_exec_file): Ditto.
9391 * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto.
9392
deba7593
MR
93932014-03-20 Maciej W. Rozycki <macro@codesourcery.com>
9394
9395 * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99
9396 `z' formatted output modifier.
9397
1bff71c3
SDJ
93982014-03-20 Tom Tromey <tromey@redhat.com>
9399 Sergio Durigan Junior <sergiodj@redhat.com>
9400
9401 * probe.c (parse_probes): Turn assert into an ordinary error.
9402 * break-catch-throw.c (re_set_exception_catchpoint): Ignore
9403 exceptions when parsing probes. Rearrange the code for clarity.
9404
90e28950
TT
94052014-03-20 Tom Tromey <tromey@redhat.com>
9406
9407 PR gdb/14135
9408 * top.c (execute_command): Only dispatch events if the command
9409 started the target.
9410
beb460e8
PA
94112014-03-20 Tom Tromey <tromey@redhat.com>
9412
9413 PR cli/15718
9414 * infcall.c: Include event-top.h.
9415 (run_inferior_call): Call async_disable_stdin if needed.
9416
99619bea
PA
94172014-03-20 Pedro Alves <palves@redhat.com>
9418
9419 * infrun.c (prepare_to_proceed): Delete.
9420 (thread_still_needs_step_over): New function.
9421 (find_thread_needs_step_over): New function.
9422 (proceed): If the current thread needs a step-over, set its
9423 steping_over_breakpoint flag. Adjust to use
9424 find_thread_needs_step_over instead of prepare_to_proceed.
9425 (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and
9426 BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a
9427 breakpoint.
9428 (switch_back_to_stepped_thread): Step over breakpoints of all
9429 threads not the stepping thread, before switching back to the
9430 stepping thread.
9431
2adfaa28
PA
94322014-03-20 Pedro Alves <palves@redhat.com>
9433
9434 * breakpoint.c (single_step_breakpoint_inserted_here_p): Make
9435 extern.
9436 * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare.
9437 * infrun.c (saved_singlestep_ptid)
9438 (stepping_past_singlestep_breakpoint): Delete.
9439 (resume): Remove stepping_past_singlestep_breakpoint handling.
9440 (proceed): Store the prev_pc of the stepping thread too.
9441 (init_wait_for_inferior): Adjust. Clear singlestep_ptid and
9442 singlestep_pc.
9443 (enum infwait_states): Delete infwait_thread_hop_state.
9444 (struct execution_control_state) <hit_singlestep_breakpoint>: New
9445 field.
9446 (handle_inferior_event): Adjust.
9447 (handle_signal_stop): Delete stepping_past_singlestep_breakpoint
9448 handling and the thread-hop code. Before removing single-step
9449 breakpoints, check whether the thread hit a single-step breakpoint
9450 of another thread. If it did, the trap is not a random signal.
9451 (switch_back_to_stepped_thread): If the event thread hit a
9452 single-step breakpoint, unblock it before switching to the
9453 stepping thread. Handle the case of the stepped thread having
9454 advanced already.
9455 (keep_going): Handle the case of the current thread moving past a
9456 single-step breakpoint.
9457
31e77af2
PA
94582014-03-20 Pedro Alves <palves@redhat.com>
9459
9460 PR breakpoints/7143
9461 * breakpoint.c (should_be_inserted): Don't insert breakpoints that
9462 are being stepped over.
9463 (breakpoint_address_match): Make extern.
9464 * breakpoint.h (breakpoint_address_match): New declaration.
9465 * inferior.h (stepping_past_instruction_at): New declaration.
9466 * infrun.c (struct step_over_info): New type.
9467 (step_over_info): New global.
9468 (set_step_over_info, clear_step_over_info)
9469 (stepping_past_instruction_at): New functions.
9470 (handle_inferior_event): Clear the step-over info when
9471 trap_expected is cleared.
9472 (resume): Remove now stale comment.
9473 (clear_proceed_status): Clear step-over info.
9474 (proceed): Adjust step-over handling to set or clear the step-over
9475 info instead of removing all breakpoints.
9476 (handle_signal_stop): When setting up a thread-hop, don't remove
9477 breakpoints here.
9478 (stop_stepping): Clear step-over info.
9479 (keep_going): Adjust step-over handling to set or clear step-over
9480 info and then always inserting breakpoints, instead of removing
9481 all breakpoints when stepping over one.
9482
b9f437de
PA
94832014-03-20 Pedro Alves <palves@redhat.com>
9484
9485 * infrun.c (previous_inferior_ptid): Adjust comment.
9486 (deferred_step_ptid): Delete.
9487 (infrun_thread_ptid_changed, prepare_to_proceed)
9488 (init_wait_for_inferior): Adjust.
9489 (handle_signal_stop): Delete deferred_step_ptid handling.
9490
06c868a8
JK
94912014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
9492
9493 PR gdb/15358
9494 * defs.h (sync_quit_force_run): New declaration.
9495 (QUIT): Check also SYNC_QUIT_FORCE_RUN.
9496 * event-top.c (async_sigterm_handler): New declaration.
9497 (async_sigterm_token): New variable.
9498 (async_init_signals): Create also async_sigterm_token.
9499 (async_sigterm_handler): New function.
9500 (sync_quit_force_run): New variable.
9501 (handle_sigterm): Replace quit_force call by other calls.
9502 * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN.
9503
dea80df0
MR
95042014-03-18 Maciej W. Rozycki <macro@codesourcery.com>
9505
9506 * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR
9507 offset into SPE pseudo registers.
9508
0c7e1a46
PA
95092014-03-18 Pedro Alves <palves@redhat.com>
9510
9511 PR gdb/13860
9512 * inferior.h (print_stop_event): Declare.
9513 * infrun.c (print_stop_event): New, factored out from ...
9514 (normal_stop): ... this.
9515 * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead
9516 of bpstat_print/print_stack_frame.
9517
9c1fcd01
TT
95182014-03-17 Tom Tromey <tromey@redhat.com>
9519
9520 * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id.
9521
11aa919a
PMR
95222014-03-17 Pierre-Marie de Rodat <derodat@adacore.com>
9523
9524 * ada-lang.c (decode_constrained_packed_array): Perform a
9525 minimal coercion for reference with coerce_ref instead of
9526 ada_coerce_ref.
9527
d4ccb5e0
TG
95282014-03-17 Tristan Gingold <gingold@adacore.com>
9529
9530 * solib-darwin.c (DYLD_VERSION_MAX): Increase value.
9531 (darwin_solib_create_inferior_hook): Emit a warning if version
9532 is unhandled.
9533
49840f2a
UW
95342014-03-16 Ulrich Weigand  <uweigand@de.ibm.com>
9535
9536 * python/py-value.c (get_field_flag): Cast flag_name argument to
9537 PyObject_GetAttrString to support Python 2.4.
9538
ed4123e5
JK
95392014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com>
9540
9541 * MAINTAINERS (The Official FSF-appointed GDB Maintainers)
9542 (Global Maintainers): Remove Jan Kratochvil.
9543
d6b64346
PA
95442014-03-14 Pedro Alves <palves@redhat.com>
9545
9546 * inferior.h (terminal_ours_for_output): Rename to ...
9547 (child_terminal_ours_for_output): ... this.
9548 (terminal_save_ours): Rename to ...
9549 (child_terminal_save_ours): ... this.
9550 (terminal_ours): Rename to ...
9551 (child_terminal_ours): ... this.
9552 (terminal_inferior): Rename to ...
9553 (child_terminal_inferior): ... this.
9554 (terminal_init_inferior): Rename to ...
9555 (child_terminal_init_inferior): ... this.
9556 (terminal_init_inferior_with_pgrp): Rename to ...
9557 (child_terminal_init_inferior_with_pgrp): ... this.
9558 * inflow.c (terminal_init_inferior_with_pgrp): Rename to ...
9559 (child_terminal_init_with_pgrp): ... this.
9560 (terminal_save_ours): Rename to ...
9561 (child_terminal_save_ours): ... this.
9562 (terminal_init_inferior): Rename to ...
9563 (child_terminal_init): ... this. Adjust.
9564 (terminal_inferior): Rename to ...
9565 (child_terminal_inferior): ... this.
9566 (terminal_ours_for_output): Rename to ...
9567 (child_terminal_ours_for_output): ... this. Adjust.
9568 (terminal_ours): Rename to ...
9569 (child_terminal_ours): ... this.
9570 (terminal_ours_1): Rename to ...
9571 (child_terminal_ours_1): ... this. Adjust.
9572 * linux-nat.c (linux_nat_terminal_inferior): Adjust.
9573 * windows-nat.c (do_initial_windows_stuff): Adjust.
9574 * gnu-nat.c (gnu_terminal_init_inferior): Rename to ...
9575 (gnu_terminal_init): ... this. Adjust.
9576 (gnu_target): Adjust.
9577 * inf-child.c (inf_child_target): Adjust.
9578
5a1e8c7a
DE
95792014-03-13 Doug Evans <xdje42@gmail.com>
9580
9581 PR guile/16612
9582 * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its
9583 new eq?-hashtab.
9584
350e1a76
DE
95852014-03-13 Doug Evans <xdje42@gmail.com>
9586
9587 * value.c (record_latest_value): Call release_value_or_incref
9588 instead of release_value.
9589
a69900ae
PA
95902014-03-13 Pedro Alves <palves@redhat.com>
9591
9592 * procfs.c (procfs_target): Don't override to_shortname,
9593 to_longname or to_doc.
9594
5db9f0bd
PA
95952014-03-13 Pedro Alves <palves@redhat.com>
9596
9597 * inf-child.c (inf_child_open, inf_child_target): Don't mention
9598 Unix in user visible strings.
9599
5e3a2c38
SS
96002014-03-12 Stan Shebs <stan@codesourcery.com>
9601
9602 * gdbtypes.h: Annotate comments for Doxygen, add a page
9603 block comment with some general info.
9604
8bc2fe48
PA
96052014-03-12 Pedro Alves <palves@redhat.com>
9606
9607 * infcmd.c (prepare_execution_command): New function, factored out
9608 from several execution commands.
9609 (run_command_1, continue_command, step_1, jump_command)
9610 (signal_command, until_command, advance_command, finish_command)
9611 (attach_command): Use prepare_execution_command.
9612
638c5f49
OJ
96132014-03-12 Omair Javaid <omair.javaid@linaro.org>
9614
9615 * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated.
9616 (MAX_BPTS): Define.
9617 (MAX_WPTS): Define.
9618 (struct arm_linux_thread_points): Removed.
9619 (struct arm_linux_process_info): New.
9620 (DEF_VEC_P (arm_linux_thread_points_p)): Removed.
9621 (VEC(arm_linux_thread_points_p) *arm_threads): Removed.
9622 (arm_linux_find_breakpoints_by_tid): Removed.
9623 (struct arch_lwp_info): New.
9624 (arm_linux_find_process_pid): New functions.
9625 (arm_linux_add_process): New functions.
9626 (arm_linux_process_info_get): New functions.
9627 (arm_linux_forget_process): New function.
9628 (arm_linux_get_debug_reg_state): New function.
9629 (struct update_registers_data): New.
9630 (update_registers_callback): New function.
9631 (arm_linux_insert_hw_breakpoint1): Updated.
9632 (arm_linux_remove_hw_breakpoint1): Updated.
9633 (arm_linux_insert_hw_breakpoint): Updated.
9634 (arm_linux_remove_hw_breakpoint): Updated.
9635 (arm_linux_insert_watchpoint): Updated.
9636 (arm_linux_remove_watchpoint): Updated.
9637 (arm_linux_new_thread): Updated.
9638 (arm_linux_prepare_to_resume): New function.
9639 (arm_linux_new_fork): New function.
9640 (_initialize_arm_linux_nat): Updated.
9641
6d03af93
PA
96422014-03-12 Pedro Alves <palves@redhat.com>
9643
9644 * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS.
9645
b3ccfe11
TT
96462014-03-12 Tom Tromey <tromey@redhat.com>
9647
9648 * inf-child.c (return_zero): New function.
9649 (inf_child_target): Set to_can_async_p, to_supports_non_stop.
9650 * aix-thread.c (aix_thread_inferior_created): New function.
9651 (aix_thread_attach): Remove.
9652 (init_aix_thread_ops): Don't set to_attach.
9653 (_initialize_aix_thread): Register inferior_created observer.
9654 * corelow.c (init_core_ops): Don't set to_attach or
9655 to_create_inferior.
9656 * exec.c (init_exec_ops): Don't set to_attach or
9657 to_create_inferior.
9658 * infcmd.c (run_command_1): Use find_run_target. Make direct
9659 target calls.
9660 (attach_command): Use find_attach_target. Make direct target
9661 calls.
9662 * record-btrace.c (init_record_btrace_ops): Don't set
9663 to_create_inferior.
9664 * record-full.c (record_full_can_async_p, record_full_is_async_p):
9665 Remove.
9666 (init_record_full_ops, init_record_full_core_ops): Update. Don't
9667 set to_create_inferior.
9668 * target.c (complete_target_initialization): Add assertion.
9669 (target_create_inferior): Remove.
9670 (find_default_attach, find_default_create_inferior): Remove.
9671 (find_attach_target, find_run_target): New functions.
9672 (find_default_is_async_p, find_default_can_async_p)
9673 (target_supports_non_stop, target_attach): Remove.
9674 (init_dummy_target): Don't set to_create_inferior or
9675 to_supports_non_stop.
9676 * target.h (struct target_ops) <to_attach>: Add comment. Remove
9677 TARGET_DEFAULT_FUNC.
9678 <to_create_inferior>: Add comment.
9679 <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use
9680 TARGET_DEFAULT_RETURN.
9681 <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments.
9682 (find_attach_target, find_run_target): Declare.
9683 (target_create_inferior): Remove.
9684 (target_has_execution_1): Update comment.
9685 (target_supports_non_stop): Remove.
9686 * target-delegates.c: Rebuild.
9687
91f83b02
PA
96882014-03-12 Pedro Alves <palves@redhat.com>
9689
9690 * inf-child.h: Update comment to not mention Unix.
9691
f1aea813
PA
96922014-03-12 Pedro Alves <palves@redhat.com>
9693
9694 * inf-child.c: Update top comment to not mention Unix. Add
9695 generic comment describing how this target is meant to be used.
9696 (inf_child_post_attach, inf_child_post_startup_inferior)
9697 (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention
9698 Unix in comment.
9699
ee8e9165
PA
97002014-03-12 Pedro Alves <palves@redhat.com>
9701
9702 * nto-procfs.c: Include inf-child.h.
9703 (procfs_ops): Delete global.
9704 (procfs_can_run): Delete method.
9705 (procfs_detach, procfs_mourn_inferior): Unpush the passed in
9706 target pointer instead of referencing procfs_ops.
9707 (procfs_prepare_to_store): Delete.
9708 (init_procfs_ops): Delete function.
9709 (procfs_target): New function, based on init_procfs_ops, but
9710 inherit inf_child_target.
9711 (_initialize_procfs): Use procfs_target.
9712
51a9c8c5
PA
97132014-03-12 Pedro Alves <palves@redhat.com>
9714
9715 * windows-nat.c: Include inf-child.h.
9716 (windows_ops): Delete global.
9717 (windows_open, windows_prepare_to_store, windows_can_run): Delete
9718 methods.
9719 (init_windows_ops): Delete function.
9720 (windows_target): New function, based on init_windows_ops, but
9721 inherit inf_child_target.
9722 (_initialize_windows_nat): Use windows_target. Install x86
9723 specific target methods here.
9724
c1966e26
DE
97252014-03-10 Doug Evans <xdje42@gmail.com>
9726
9727 * guile/guile.c (call_initialize_gdb_module): New function.
9728 (initialize_guile): Replace call to scm_init_guile with call to
9729 scm_with_guile.
9730
023db19c
JB
97312014-03-10 Joel Brobecker <brobecker@adacore.com>
9732
9733 * ada-lang.c (ada_evaluate_subexp): Add missing space before '('
9734 in call to TYPE_CODE macro.
9735
5ec18f2b
JG
97362014-03-10 Jerome Guitton <guitton@adacore.com>
9737
8668be63
JB
9738 * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>:
9739 Resolve tagged types to full view.
5ec18f2b 9740
7d03f2eb
HZ
97412014-03-10 Hui Zhu <hui@codesourcery.com>
9742
9743 * target.h (target_insert_breakpoint): Remove "hardware" from its
9744 comments.
9745
c5164cbc
DE
97462014-03-07 Doug Evans <dje@google.com>
9747
9748 * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name.
9749
c4a3fee2
DE
97502014-03-07 Doug Evans <dje@google.com>
9751
9752 * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment.
9753 Remove unused local comp_dir_attr. Assert exactly one of
9754 stub_comp_unit_die, stub_comp_dir is non-NULL.
9755
3156469c
JB
97562014-03-07 Joel Brobecker <brobecker@adacore.com>
9757
9758 * target.h (complete_target_initialization, add_target):
9759 Add comment.
9760
c1a7b7c6
PA
97612014-03-07 Pedro Alves <palves@redhat.com>
9762
9763 * go32-nat.c: Include inf-child.h.
9764 (go32_ops): Delete global.
9765 (go32_close, go32_detach, go32_prepare_to_store, go32_can_run):
9766 Delete methods.
9767 (go32_create_inferior): Push the passed in target pointer instead
9768 of referencing go32_ops.
9769 (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat.
9770 (go32_target): New function, based on init_go32_ops, but inherit
9771 inf_child_target.
9772 (_initialize_go32_nat): Use go32_target. Move parts of
9773 init_go32_ops here.
9774
d3c1a85f
JB
97752014-03-06 Joel Brobecker <brobecker@adacore.com>
9776
9777 * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h".
9778 (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of
9779 SYMBOL_VALUE_ADDRESS.
9780 (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME.
9781
5fa1d40e
YQ
97822014-03-06 Yao Qi <yao@codesourcery.com>
9783
9784 * breakpoint.c (get_tracepoint_by_number): Remove argument
9785 optional_p. All callers updated. Adjust comments. Update
9786 output message.
9787 * breakpoint.h (get_tracepoint_by_number): Update declaration.
9788
0c13193f
YQ
97892014-03-06 Yao Qi <yao@codesourcery.com>
9790
9791 * reverse.c (goto_bookmark_command): Add local 'p'. Emit error
9792 early if get_number returns zero. Use 'p' instead of 'args'.
9793
2217da06
YQ
97942014-03-06 Yao Qi <yao@codesourcery.com>
9795
9796 * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of
9797 message.
9798
cc3da688
YQ
97992014-03-06 Yao Qi <yao@codesourcery.com>
9800
9801 PR breakpoints/16508
9802 * tracepoint.c (check_trace_running): New function.
9803 (trace_find_command): Move code to check_trace_running and
9804 call check_trace_running.
9805 (trace_find_pc_command): Likewise.
9806 (trace_find_tracepoint_command): Likewise.
9807 (trace_find_line_command): Likewise.
9808 (trace_find_range_command): Likewise.
9809 * tracepoint.h (check_trace_running): Likewise.
9810 * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running.
9811
6a5f844b
YQ
98122014-03-06 Yao Qi <yao@codesourcery.com>
9813
9814 * target.h (struct target_ops) <to_traceframe_info>: Use
9815 TARGET_DEFAULT_NORETURN (tcomplain ()).
9816 * target-delegates.c: Regenerated.
9817
0f26cec1
PA
98182014-03-05 Pedro Alves <palves@redhat.com>
9819
9820 PR gdb/16575
9821 * dcache.c (dcache_poke_byte): Constify ptr parameter. Return
9822 void. Update comment.
9823 (dcache_xfer_memory): Delete.
9824 (dcache_read_memory_partial): New, based on the read bits of
9825 dcache_xfer_memory.
9826 (dcache_update): Add status parameter. Use ULONGEST for len, and
9827 adjust. Discard cache lines if the reason for the update was
9828 error.
9829 * dcache.h (dcache_xfer_memory): Delete declaration.
9830 (dcache_read_memory_partial): New declaration.
9831 (dcache_update): Update prototype.
9832 * target.c (raw_memory_xfer_partial): Update the dcache here.
9833 (memory_xfer_partial_1): Don't handle dcache writes here.
9834
b2b255bd
MF
98352014-03-05 Mike Frysinger <vapier@gentoo.org>
9836
9837 * remote-sim.c (gdbsim_load): Add const to prog.
9838
5d9cf8a4
TT
98392014-03-03 Tom Tromey <tromey@redhat.com>
9840
9841 * elfread.c (probe_key): Change to bfd_data.
9842 (elf_get_probes, probe_key_free, _initialize_elfread): Probes are
9843 now per-BFD, not per-objfile.
9844 * stap-probe.c (stap_probe_destroy): Update comment.
9845 (handle_stap_probe): Allocate on the per-BFD obstack.
9846
729662a5
TT
98472014-03-03 Tom Tromey <tromey@redhat.com>
9848
9849 * break-catch-throw.c (fetch_probe_arguments): Use bound probes.
9850 * breakpoint.c (create_longjmp_master_breakpoint): Use
9851 get_probe_address.
9852 (add_location_to_breakpoint, bkpt_probe_insert_location)
9853 (bkpt_probe_remove_location): Update.
9854 * breakpoint.h (struct bp_location) <probe>: Now a bound_probe.
9855 * elfread.c (elf_symfile_relocate_probe): Remove.
9856 (elf_probe_fns): Update.
9857 (insert_exception_resume_breakpoint): Change type of "probe"
9858 parameter to bound_probe.
9859 (check_exception_resume): Update.
9860 * objfiles.c (objfile_relocate1): Don't relocate probes.
9861 * probe.c (bound_probe_s): New typedef.
9862 (parse_probes): Use get_probe_address. Set sal's objfile.
9863 (find_probe_by_pc): Return a bound_probe.
9864 (collect_probes): Return a VEC(bound_probe_s).
9865 (compare_probes): Update.
9866 (gen_ui_out_table_header_info): Change type of "probes"
9867 parameter. Update.
9868 (info_probes_for_ops): Update.
9869 (get_probe_address): New function.
9870 (probe_safe_evaluate_at_pc): Update.
9871 * probe.h (struct probe_ops) <get_probe_address>: New field.
9872 <set_semaphore, clear_semaphore>: Add objfile parameter.
9873 (struct probe) <objfile>: Remove field.
9874 <arch>: New field.
9875 <address>: Update comment.
9876 (struct bound_probe): New.
9877 (find_probe_by_pc): Return a bound_probe.
9878 (get_probe_address): Declare.
9879 * solib-svr4.c (struct probe_and_action) <address>: New field.
9880 (hash_probe_and_action, equal_probe_and_action): Update.
9881 (register_solib_event_probe): Add address parameter.
9882 (solib_event_probe_at): Update.
9883 (svr4_create_probe_breakpoints): Add objfile parameter. Use
9884 get_probe_address.
9885 * stap-probe.c (struct stap_probe) <sem_addr>: Update comment.
9886 (stap_get_probe_address): New function.
9887 (stap_can_evaluate_probe_arguments, compute_probe_arg)
9888 (compile_probe_arg): Update.
9889 (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's
9890 address.
9891 (handle_stap_probe): Don't relocate the probe.
9892 (stap_relocate): Remove.
9893 (stap_gen_info_probes_table_values): Update.
9894 (stap_probe_ops): Remove stap_relocate.
9895 * symfile-debug.c (debug_sym_relocate_probe): Remove.
9896 (debug_sym_probe_fns): Update.
9897 * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove.
9898 * symtab.c (init_sal): Use memset.
9899 * symtab.h (struct symtab_and_line) <objfile>: New field.
9900 * tracepoint.c (start_tracing, stop_tracing): Update.
9901
ff887920
TT
99022014-03-03 Tom Tromey <tromey@redhat.com>
9903
9904 * probe.h (parse_probes, find_probe_by_pc)
9905 (find_probes_in_objfile): Fix comments.
9906
f0407826
DE
99072014-03-02 Doug Evans <xdje42@gmail.com>
9908
9909 * infrun.c (handle_signal_stop): Replace test for
9910 TARGET_WAITKIND_STOPPED with an assert.
9911
35e6a711
DE
99122014-03-02 Doug Evans <xdje42@gmail.com>
9913
9914 * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment.
9915
667f9d0b
DE
99162014-03-02 Doug Evans <xdje42@gmail.com>
9917
9918 * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko.
9919
dc92ace0
MK
99202014-03-01 Mark Kettenis <kettenis@gnu.org>
9921
9922 * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>.
9923
a900370f
MK
99242014-03-01 Mark Kettenis <kettenis@gnu.org>
9925
9926 * i386obsd-nat.c: Include "obsd-nat.h".
9927 (_initialize_i386obsd_nat): Call obsd_add_target instead of
9928 add_target.
9929 * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o.
9930
b72a7981
MK
99312014-03-01 Mark Kettenis <kettenis@gnu.org>
9932
9933 * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'.
9934
96c70aba
MK
99352014-03-01 Mark Kettenis <kettenis@gnu.org>
9936
9937 * mips64obsd-nat.c: Include "obsd-nath".
9938 (_initialize_mips64obsd_nat): Call obsd_add_target instead of
9939 add_target
9940 * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9941
874a80af
MK
99422014-03-01 Mark Kettenis <kettenis@gnu.org>
9943
8fd408f1
MK
9944 * amd64obsd-nat.c: Include "obsd-nat,h.
9945 (_initialize_amd64obsd_nat): Call obsd_add_target instead of
9946 add_target.
874a80af
MK
9947 * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o.
9948
9cf95373
SC
99492014-02-28 Siva Chandra Reddy <sivachandra@google.com>
9950
9951 * valops.c (find_oload_champ): Remove unneccesary argument METHOD.
9952 (find_overload_match): Update call to find_oload_champ.
9953 (find_oload_champ_namespace_loop): Likewise
9954
863e4da4
MK
99552014-02-28 Mark Kettenis <kettenis@gnu.org>
9956
025cac40
MK
9957 * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c.
9958
1ed586ce
MK
9959 * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64.
9960 * config/sparc/obsd64.mh: New file.
9961 * sparc64obsd-nat.c: New file.
9962
863e4da4
MK
9963 * obsd-nat.h: New file.
9964 * obsd-nat.c: New file.
9965 * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h.
9966 (ALLDEPFILES): Add obsd-nat.c.
9967
89de4da4
TT
99682014-02-28 Tom Tromey <tromey@redhat.com>
9969
9970 * cli-out.c (cli_ui_out_impl): Now const. Remove comment.
9971 * cli-out.h (cli_ui_out_impl): Now const.
9972 * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment.
9973 * ui-out.c (struct ui_out) <impl>: Now const.
9974 (default_ui_out_impl): Now const.
9975 (ui_out_new): Make 'impl' parameter const.
9976 * ui-out.h (ui_out_new): Update.
9977
c725e7b6
MK
99782014-02-27 Mark Kettenis <kettenis@gnu.org>
9979
9980 * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0.
9981
670b46b3
MK
99822014-02-27 Mark Kettenis <kettenis@gnu.org>
9983
9984 * sparc-nat.c (sparc_xfer_wcookie): Always use process ID.
9985
c91550fc
JK
99862014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
9987
9988 Additional PR 8882 fix.
9989 * solib-svr4.c (svr4_read_so_list): Change first to first_l_name.
9990
2fa0369e
PA
99912014-02-27 Pedro Alves <palves@redhat.com>
9992
9993 * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG
9994 isn't set.
9995
d632a097
PA
99962014-02-27 Pedro Alves <palves@redhat.com>
9997
9998 PR 12702
9999 * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c.
10000 * nat/linux-waitpid.c: Include string.h.
10001 (status_to_str): Moved here and made extern.
10002 * nat/linux-waitpid.h (status_to_str): New declaration.
10003
2ebd5a35
HZ
100042014-02-27 Hui Zhu <hui@codesourcery.com>
10005
10006 PR 12702
10007 * infrun.c (ptid_match): Move ...
10008 * common/ptid.c (ptid_match): ... here.
10009 * inferior.h (ptid_match): Move ...
10010 * common/ptid.h (ptid_match): ... here.
10011
3cdd631f
MK
100122014-02-27 Mark Kettenis <kettenis@gnu.org>
10013
10014 * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi.
10015 * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to
10016 gdb_target_obs.
10017
bee30a64
MK
100182014-02-27 Mark Kettenis <kettenis@gnu.org>
10019
10020 * obsd-tdep.c (obsd_auxv_parse): New function.
10021 (obsd_init_abi): Set auxv_parse.
27a48a92
MK
10022
10023 * gdbarch.sh (auxv_parse): New.
10024 * gdbarch.h: Regenerated.
10025 * gdbarch.c: Regenerated.
10026 * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided.
10027
7a5a839f
LC
100282014-02-26 Ludovic Courtès <ludo@gnu.org>
10029
10030 * guile/scm-value.c (gdbscm_history_append_x): New function.
10031 (value_functions): Add it.
10032
31aa7e4e
JB
100332014-02-27 Joel Brobecker <brobecker@adacore.com>
10034
10035 * dwarf2read.c (attr_value_as_address): New function.
10036 (dwarf2_find_base_address, read_call_site_scope): Use
10037 attr_value_as_address in place of DW_ADDR.
10038 (dwarf2_get_pc_bounds): Use attr_value_as_address to get
10039 the low and high addresses. Slight rework of the handling
10040 of the high pc being a constant form, and limit it to
10041 DWARF verson 4 or higher.
10042 (dwarf2_record_block_ranges): Likewise.
10043 (read_partial_die): Likewise.
10044 (new_symbol_full): Use attr_value_as_address in place of DW_ADDR.
10045
9b333ba3
TT
100462014-02-26 Tom Tromey <tromey@redhat.com>
10047
10048 * exec.c (exec_file_attach): Hold a reference to exec_bfd.
10049
5f6cac40
TT
100502014-02-26 Tom Tromey <tromey@redhat.com>
10051
10052 * elfread.c (elf_read_minimal_symbols): Return early if
10053 minimal symbols have already been read. Add "ei" parameter.
10054 (elf_symfile_read): Call elf_read_minimal_symbols earlier.
10055 * minsyms.c (prim_record_minimal_symbol_full): Update.
10056 * objfiles.h (struct objstats) <n_minsyms>: Move...
10057 (struct objfile_per_bfd_storage) <n_minsyms>: ... here.
10058 * symmisc.c (print_objfile_statistics): Update.
10059
2750ef27
TT
100602014-02-26 Tom Tromey <tromey@redhat.com>
10061
10062 * elfread.c (elf_read_minimal_symbols): New function, from
10063 elf_symfile_read.
10064 (elf_symfile_read): Call it.
10065
34643a32
TT
100662014-02-26 Tom Tromey <tromey@redhat.com>
10067
10068 * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols)
10069 (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name)
10070 (lookup_minimal_symbol_solib_trampoline)
10071 (lookup_minimal_symbol_by_pc_section_1)
10072 (lookup_minimal_symbol_and_objfile): Update.
10073 (prim_record_minimal_symbol_full): Use the per-BFD obstack.
10074 Don't allocate a minimal symbol if minsyms have already been read.
10075 (build_minimal_symbol_hash_tables): Update.
10076 (install_minimal_symbols): Do nothing if minsyms already read.
10077 Use the per-BFD obstack.
10078 (terminate_minimal_symbol_table): Use the per-BFD obstack.
10079 * objfiles.c (allocate_objfile): Call
10080 terminate_minimal_symbol_table later.
10081 (have_minimal_symbols): Update.
10082 * objfiles.h (struct objfile_per_bfd_storage) <msymbols,
10083 minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>:
10084 Move from struct objfile.
10085 <minsyms_read>: New field.
10086 (struct objfile) <msymbols, minimal_symbol_count,
10087 msymbol_hash, msymbol_demangled_hash>: Move.
10088 (ALL_OBJFILE_MSYMBOLS): Update.
10089 * symfile.c (read_symbols): Set minsyms_read.
10090 (reread_symbols): Update.
10091 * symmisc.c (dump_objfile, dump_msymbols): Update.
10092
2273f0ac
TT
100932014-02-26 Tom Tromey <tromey@redhat.com>
10094
10095 * minsyms.c (msymbols_sort): Remove.
10096 * minsyms.h (msymbols_sort): Remove.
10097 * objfiles.c (objfile_relocate1): Don't relocate minsyms.
10098 * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets.
10099 * elfread.c (elf_symtab_read): Don't add section offsets.
10100 * xcoffread.c (record_minimal_symbol): Don't add section offset
10101 to minimal symbol address.
10102 * somread.c (text_offset, data_offset): Remove.
10103 (som_symtab_read): Don't add section offsets to minimal symbol
10104 addresses.
10105 * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms):
10106 Don't add section offsets to minimal symbols.
10107 * coffread.c (coff_symtab_read): Don't add section offsets
10108 to minimal symbol addresses.
10109 * machoread.c (macho_symtab_add_minsym): Don't add section offset
10110 to minimal symbol addresses.
10111 * mipsread.c (read_alphacoff_dynamic_symtab): Don't add
10112 section offset to minimal symbol addresses.
10113 * mdebugread.c (parse_partial_symbols): Don't add section
10114 offset to minimal symbol addresses.
10115 * dbxread.c (read_dbx_dynamic_symtab): Don't add section
10116 offset to minimal symbol addresses.
10117
77e371c0
TT
101182014-02-26 Tom Tromey <tromey@redhat.com>
10119
10120 * ada-lang.c (ada_main_name): Update.
10121 (ada_add_standard_exceptions): Update.
10122 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
10123 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
10124 * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update.
10125 * auxv.c (ld_so_xfer_auxv): Update.
10126 * avr-tdep.c (avr_scan_prologue): Update.
10127 * ax-gdb.c (gen_var_ref): Update.
10128 * blockframe.c (get_pc_function_start)
10129 (find_pc_partial_function_gnu_ifunc): Update.
10130 * breakpoint.c (create_overlay_event_breakpoint)
10131 (create_longjmp_master_breakpoint)
10132 (create_std_terminate_master_breakpoint)
10133 (create_exception_master_breakpoint): Update.
10134 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
10135 * c-valprint.c (c_val_print): Update.
10136 * coff-pe-read.c (add_pe_forwarded_sym): Update.
10137 * common/agent.c (agent_look_up_symbols): Update.
10138 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
10139 * dwarf2loc.c (call_site_to_target_addr): Update.
10140 * dwarf2read.c (dw2_find_pc_sect_symtab): Update.
10141 * elfread.c (elf_gnu_ifunc_record_cache)
10142 (elf_gnu_ifunc_resolve_by_got): Update.
10143 * findvar.c (default_read_var_value): Update.
10144 * frame.c (inside_main_func): Update.
10145 * frv-tdep.c (frv_frame_this_id): Update.
10146 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
10147 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
10148 Update.
10149 * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence)
10150 (hppa_hpux_find_dummy_bpaddr): Update.
10151 * hppa-tdep.c (hppa_symbol_address): Update.
10152 * infcmd.c (until_next_command): Update.
10153 * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal):
10154 Update.
10155 * linespec.c (minsym_found, add_minsym): Update.
10156 * linux-nat.c (get_signo): Update.
10157 * linux-thread-db.c (inferior_has_bug): Update.
10158 * m32c-tdep.c (m32c_return_value)
10159 (m32c_m16c_address_to_pointer): Update.
10160 * m32r-tdep.c (m32r_frame_this_id): Update.
10161 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10162 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10163 * maint.c (maintenance_translate_address): Update.
10164 * minsyms.c (lookup_minimal_symbol_by_pc_name): Update.
10165 (frob_address): New function.
10166 (lookup_minimal_symbol_by_pc_section_1): Use raw addresses,
10167 frob_address. Rename parameter to "pc_in".
10168 (compare_minimal_symbols, compact_minimal_symbols): Use raw
10169 addresses.
10170 (find_solib_trampoline_target, minimal_symbol_upper_bound):
10171 Update.
10172 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10173 * mips-tdep.c (mips_skip_pic_trampoline_code): Update.
10174 * objc-lang.c (find_objc_msgsend): Update.
10175 * objfiles.c (objfile_relocate1): Update.
10176 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10177 * p-valprint.c (pascal_val_print): Update.
10178 * parse.c (write_exp_msymbol): Update.
10179 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup)
10180 (ppc_elfv2_skip_entrypoint): Update.
10181 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10182 * printcmd.c (build_address_symbolic, msym_info)
10183 (address_info): Update.
10184 * proc-service.c (ps_pglobal_lookup): Update.
10185 * psymtab.c (find_pc_sect_psymtab_closer)
10186 (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial):
10187 Change msymbol parameter to bound_minimal_symbol.
10188 * ravenscar-thread.c (get_running_thread_id): Update.
10189 * remote.c (remote_check_symbols): Update.
10190 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw
10191 address.
10192 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10193 * solib-dsbt.c (lm_base): Update.
10194 * solib-frv.c (lm_base, main_got): Update.
10195 * solib-irix.c (locate_base): Update.
10196 * solib-som.c (som_solib_create_inferior_hook)
10197 (link_map_start): Update.
10198 * solib-spu.c (spu_enable_break, ocl_enable_break): Update.
10199 * solib-svr4.c (elf_locate_base, enable_break): Update.
10200 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
10201 (flush_ea_cache): Update.
10202 * stabsread.c (define_symbol, scan_file_globals): Update.
10203 * stack.c (find_frame_funname): Update.
10204 * symfile-debug.c (debug_qf_expand_symtabs_matching)
10205 (debug_qf_find_pc_sect_symtab): Update.
10206 * symfile.c (simple_read_overlay_table)
10207 (simple_overlay_update): Update.
10208 * symfile.h (struct quick_symbol_functions)
10209 <find_pc_sect_symtab>: Change type of msymbol to
10210 bound_minimal_symbol.
10211 * symmisc.c (dump_msymbols): Update.
10212 * symtab.c (find_pc_sect_symtab_via_partial)
10213 (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal)
10214 (search_symbols, print_msymbol_info): Update.
10215 * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro.
10216 (MSYMBOL_VALUE_ADDRESS): Redefine.
10217 (BMSYMBOL_VALUE_ADDRESS): New macro.
10218 * tracepoint.c (scope_info): Update.
10219 * tui/tui-disasm.c (tui_find_disassembly_address)
10220 (tui_get_begin_asm_address): Update.
10221 * valops.c (find_function_in_inferior): Update.
10222 * value.c (value_static_field, value_fn_field): Update.
10223
3b7344d5
TT
102242014-02-26 Tom Tromey <tromey@redhat.com>
10225
10226 * ada-lang.c (ada_update_initial_language): Update.
10227 (ada_main_name, ada_has_this_exception_support): Update.
10228 * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update.
10229 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
10230 * arm-tdep.c (arm_skip_stub): Update.
10231 * auxv.c (ld_so_xfer_auxv): Update.
10232 * avr-tdep.c (avr_scan_prologue): Update.
10233 * ax-gdb.c (gen_var_ref): Update.
10234 * breakpoint.c (struct breakpoint_objfile_data)
10235 <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change
10236 type to bound_minimal_symbol.
10237 (create_overlay_event_breakpoint)
10238 (create_longjmp_master_breakpoint)
10239 (create_std_terminate_master_breakpoint)
10240 (create_exception_master_breakpoint): Update.
10241 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
10242 * c-exp.y (classify_name): Update.
10243 * coffread.c (coff_symfile_read): Update.
10244 * common/agent.c (agent_look_up_symbols): Update.
10245 * d-lang.c (d_main_name): Update.
10246 * dbxread.c (find_stab_function_addr, end_psymtab): Update.
10247 * dec-thread.c (enable_dec_thread): Update.
10248 * dwarf2loc.c (call_site_to_target_addr): Update.
10249 * elfread.c (elf_gnu_ifunc_resolve_by_got): Update.
10250 * eval.c (evaluate_subexp_standard): Update.
10251 * findvar.c (struct minsym_lookup_data) <result>: Change type
10252 to bound_minimal_symbol.
10253 <objfile>: Remove.
10254 (minsym_lookup_iterator_cb, default_read_var_value): Update.
10255 * frame.c (inside_main_func): Update.
10256 * frv-tdep.c (frv_frame_this_id): Update.
10257 * gcore.c (call_target_sbrk): Update.
10258 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
10259 * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline):
10260 Update.
10261 * go-lang.c (go_main_name): Update.
10262 * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code)
10263 (hppa_hpux_find_import_stub_for_addr): Update.
10264 * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol):
10265 Update. Change return type.
10266 * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return
10267 type.
10268 * jit.c (jit_breakpoint_re_set_internal): Update.
10269 * linux-fork.c (inferior_call_waitpid, checkpoint_command):
10270 Update.
10271 * linux-nat.c (get_signo): Update.
10272 * linux-thread-db.c (inferior_has_bug): Update
10273 * m32c-tdep.c (m32c_return_value)
10274 (m32c_m16c_address_to_pointer): Update.
10275 * m32r-tdep.c (m32r_frame_this_id): Update.
10276 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10277 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10278 * minsyms.c (lookup_minimal_symbol_internal): Rename to
10279 lookup_minimal_symbol. Change return type.
10280 (lookup_minimal_symbol): Remove.
10281 (lookup_bound_minimal_symbol): Update.
10282 (lookup_minimal_symbol_text): Change return type.
10283 (lookup_minimal_symbol_solib_trampoline): Change return type.
10284 * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text)
10285 (lookup_minimal_symbol_solib_trampoline): Change return type.
10286 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10287 * objc-lang.c (lookup_objc_class, lookup_child_selector)
10288 (value_nsstring, find_imps): Update.
10289 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10290 * p-lang.c (pascal_main_name): Update.
10291 * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update.
10292 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10293 * proc-service.c (ps_pglobal_lookup): Update.
10294 * ravenscar-thread.c (get_running_thread_msymbol): Change
10295 return type.
10296 (has_ravenscar_runtime, get_running_thread_id): Update.
10297 * remote.c (remote_check_symbols): Update.
10298 * sol-thread.c (ps_pglobal_lookup): Update.
10299 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10300 * solib-dsbt.c (lm_base): Update.
10301 * solib-frv.c (lm_base, frv_relocate_section_addresses):
10302 Update.
10303 * solib-irix.c (locate_base): Update.
10304 * solib-som.c (som_solib_create_inferior_hook)
10305 (som_solib_desire_dynamic_linker_symbols, link_map_start):
10306 Update.
10307 * solib-spu.c (spu_enable_break): Update.
10308 * solib-svr4.c (elf_locate_base, enable_break): Update.
10309 * spu-tdep.c (spu_get_overlay_table, spu_catch_start)
10310 (flush_ea_cache): Update.
10311 * stabsread.c (define_symbol): Update.
10312 * symfile.c (simple_read_overlay_table): Update.
10313 * symtab.c (find_pc_sect_line): Update.
10314 * tracepoint.c (scope_info): Update.
10315 * tui-disasm.c (tui_get_begin_asm_address): Update.
10316 * value.c (value_static_field): Update.
10317
40c1a007
TT
103182014-02-26 Tom Tromey <tromey@redhat.com>
10319
10320 * minsyms.c (prim_record_minimal_symbol_full): Use
10321 SET_MSYMBOL_VALUE_ADDRESS.
10322 * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS.
10323 * sh64-tdep.c (sh64_elf_make_msymbol_special): Use
10324 SET_MSYMBOL_VALUE_ADDRESS.
10325 * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue.
10326 (SET_MSYMBOL_VALUE_ADDRESS): New macro.
10327
efd66ac6
TT
103282014-02-26 Tom Tromey <tromey@redhat.com>
10329
10330 * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo.
10331 (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES)
10332 (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE)
10333 (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME)
10334 (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME)
10335 (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME)
10336 (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros.
10337 * ada-lang.c (ada_main_name): Update.
10338 (ada_lookup_simple_minsym): Update.
10339 (ada_make_symbol_completion_list): Update.
10340 (ada_add_standard_exceptions): Update.
10341 * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update.
10342 * aix-thread.c (pdc_symbol_addrs, pd_enable): Update.
10343 * amd64-windows-tdep.c (amd64_skip_main_prologue): Update.
10344 * arm-tdep.c (skip_prologue_function): Update.
10345 (arm_skip_stack_protector, arm_skip_stub): Update.
10346 * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update.
10347 (arm_wince_skip_main_prologue): Update.
10348 * auxv.c (ld_so_xfer_auxv): Update.
10349 * avr-tdep.c (avr_scan_prologue): Update.
10350 * ax-gdb.c (gen_var_ref): Update.
10351 * block.c (call_site_for_pc): Update.
10352 * blockframe.c (get_pc_function_start): Update.
10353 (find_pc_partial_function_gnu_ifunc): Update.
10354 * breakpoint.c (create_overlay_event_breakpoint): Update.
10355 (create_longjmp_master_breakpoint): Update.
10356 (create_std_terminate_master_breakpoint): Update.
10357 (create_exception_master_breakpoint): Update.
10358 (resolve_sal_pc): Update.
10359 * bsd-uthread.c (bsd_uthread_lookup_address): Update.
10360 * btrace.c (ftrace_print_function_name, ftrace_function_switched):
10361 Update.
10362 * c-valprint.c (c_val_print): Update.
10363 * coff-pe-read.c (add_pe_forwarded_sym): Update.
10364 * coffread.c (coff_symfile_read): Update.
10365 * common/agent.c (agent_look_up_symbols): Update.
10366 * dbxread.c (find_stab_function_addr): Update.
10367 (end_psymtab): Update.
10368 * dwarf2loc.c (call_site_to_target_addr): Update.
10369 (func_verify_no_selftailcall): Update.
10370 (tailcall_dump): Update.
10371 (call_site_find_chain_1): Update.
10372 (dwarf_expr_reg_to_entry_parameter): Update.
10373 * elfread.c (elf_gnu_ifunc_record_cache): Update.
10374 (elf_gnu_ifunc_resolve_by_got): Update.
10375 * f-valprint.c (info_common_command): Update.
10376 * findvar.c (read_var_value): Update.
10377 * frame.c (get_prev_frame_1): Update.
10378 (inside_main_func): Update.
10379 * frv-tdep.c (frv_skip_main_prologue): Update.
10380 (frv_frame_this_id): Update.
10381 * glibc-tdep.c (glibc_skip_solib_resolver): Update.
10382 * gnu-v2-abi.c (gnuv2_value_rtti_type): Update.
10383 * gnu-v3-abi.c (gnuv3_rtti_type): Update.
10384 (gnuv3_skip_trampoline): Update.
10385 * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update.
10386 (hppa64_hpux_in_solib_call_trampoline): Update.
10387 (hppa_hpux_skip_trampoline_code): Update.
10388 (hppa64_hpux_search_dummy_call_sequence): Update.
10389 (hppa_hpux_find_import_stub_for_addr): Update.
10390 (hppa_hpux_find_dummy_bpaddr): Update.
10391 * hppa-tdep.c (hppa_symbol_address)
10392 (hppa_lookup_stub_minimal_symbol): Update.
10393 * i386-tdep.c (i386_skip_main_prologue): Update.
10394 (i386_pe_skip_trampoline_code): Update.
10395 * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update.
10396 * infcall.c (get_function_name): Update.
10397 * infcmd.c (until_next_command): Update.
10398 * jit.c (jit_breakpoint_re_set_internal): Update.
10399 (jit_inferior_init): Update.
10400 * linespec.c (minsym_found): Update.
10401 (add_minsym): Update.
10402 * linux-fork.c (info_checkpoints_command): Update.
10403 * linux-nat.c (get_signo): Update.
10404 * linux-thread-db.c (inferior_has_bug): Update.
10405 * m32c-tdep.c (m32c_return_value): Update.
10406 (m32c_m16c_address_to_pointer): Update.
10407 (m32c_m16c_pointer_to_address): Update.
10408 * m32r-tdep.c (m32r_frame_this_id): Update.
10409 * m68hc11-tdep.c (m68hc11_get_register_info): Update.
10410 * machoread.c (macho_resolve_oso_sym_with_minsym): Update.
10411 * maint.c (maintenance_translate_address): Update.
10412 * minsyms.c (add_minsym_to_hash_table): Update.
10413 (add_minsym_to_demangled_hash_table): Update.
10414 (msymbol_objfile): Update.
10415 (lookup_minimal_symbol): Update.
10416 (iterate_over_minimal_symbols): Update.
10417 (lookup_minimal_symbol_text): Update.
10418 (lookup_minimal_symbol_by_pc_name): Update.
10419 (lookup_minimal_symbol_solib_trampoline): Update.
10420 (lookup_minimal_symbol_by_pc_section_1): Update.
10421 (lookup_minimal_symbol_and_objfile): Update.
10422 (prim_record_minimal_symbol_full): Update.
10423 (compare_minimal_symbols): Update.
10424 (compact_minimal_symbols): Update.
10425 (build_minimal_symbol_hash_tables): Update.
10426 (install_minimal_symbols): Update.
10427 (terminate_minimal_symbol_table): Update.
10428 (find_solib_trampoline_target): Update.
10429 (minimal_symbol_upper_bound): Update.
10430 * mips-linux-tdep.c (mips_linux_skip_resolver): Update.
10431 * mips-tdep.c (mips_stub_frame_sniffer): Update.
10432 (mips_skip_pic_trampoline_code): Update.
10433 * msp430-tdep.c (msp430_skip_trampoline_code): Update.
10434 * objc-lang.c (selectors_info): Update.
10435 (classes_info): Update.
10436 (find_methods): Update.
10437 (find_imps): Update.
10438 (find_objc_msgsend): Update.
10439 * objfiles.c (objfile_relocate1): Update.
10440 * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update.
10441 * obsd-tdep.c (obsd_skip_solib_resolver): Update.
10442 * p-valprint.c (pascal_val_print): Update.
10443 * parse.c (write_exp_msymbol): Update.
10444 * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code)
10445 (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update.
10446 * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update.
10447 * printcmd.c (build_address_symbolic): Update.
10448 (sym_info): Update.
10449 (address_info): Update.
10450 * proc-service.c (ps_pglobal_lookup): Update.
10451 * psymtab.c (find_pc_sect_psymtab_closer): Update.
10452 (find_pc_sect_psymtab): Update.
10453 * python/py-framefilter.c (py_print_frame): Update.
10454 * ravenscar-thread.c (get_running_thread_id): Update.
10455 * record-btrace.c (btrace_call_history, btrace_get_bfun_name):
10456 Update.
10457 * remote.c (remote_check_symbols): Update.
10458 * rs6000-tdep.c (rs6000_skip_main_prologue): Update.
10459 (rs6000_skip_trampoline_code): Update.
10460 * sh64-tdep.c (sh64_elf_make_msymbol_special): Update.
10461 * sol2-tdep.c (sol2_skip_solib_resolver): Update.
10462 * solib-dsbt.c (lm_base): Update.
10463 * solib-frv.c (lm_base): Update.
10464 (main_got): Update.
10465 * solib-irix.c (locate_base): Update.
10466 * solib-som.c (som_solib_create_inferior_hook): Update.
10467 (som_solib_desire_dynamic_linker_symbols): Update.
10468 (link_map_start): Update.
10469 * solib-spu.c (spu_enable_break): Update.
10470 (ocl_enable_break): Update.
10471 * solib-svr4.c (elf_locate_base): Update.
10472 (enable_break): Update.
10473 * spu-tdep.c (spu_get_overlay_table): Update.
10474 (spu_catch_start): Update.
10475 (flush_ea_cache): Update.
10476 * stabsread.c (define_symbol): Update.
10477 (scan_file_globals): Update.
10478 * stack.c (find_frame_funname): Update.
10479 (frame_info): Update.
10480 * symfile.c (simple_read_overlay_table): Update.
10481 (simple_overlay_update): Update.
10482 * symmisc.c (dump_msymbols): Update.
10483 * symtab.c (fixup_section): Update.
10484 (find_pc_sect_line): Update.
10485 (skip_prologue_sal): Update.
10486 (search_symbols): Update.
10487 (print_msymbol_info): Update.
10488 (rbreak_command): Update.
10489 (MCOMPLETION_LIST_ADD_SYMBOL): New macro.
10490 (completion_list_objc_symbol): Update.
10491 (default_make_symbol_completion_list_break_on): Update.
10492 * tracepoint.c (scope_info): Update.
10493 * tui/tui-disasm.c (tui_find_disassembly_address): Update.
10494 (tui_get_begin_asm_address): Update.
10495 * valops.c (find_function_in_inferior): Update.
10496 * value.c (value_static_field): Update.
10497 (value_fn_field): Update.
10498
50e65b17
TT
104992014-02-26 Tom Tromey <tromey@redhat.com>
10500
10501 * blockframe.c (find_pc_partial_function_gnu_ifunc): Use
10502 bound minimal symbols. Move code that knows about minsym
10503 table layout...
10504 * minsyms.c (minimal_symbol_upper_bound): ... here. New
10505 function.
10506 * minsyms.h (minimal_symbol_upper_bound): Declare.
10507 * objc-lang.c (find_objc_msgsend): Use bound minimal symbols,
10508 minimal_symbol_upper_bound.
10509
1b588015
JB
105102014-02-27 Joel Brobecker <brobecker@adacore.com>
10511
10512 * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter):
10513 Use the type's name if its basic type does not have a tag.
10514
dbb9c2b1
JB
105152014-02-27 Joel Brobecker <brobecker@adacore.com>
10516
10517 * dwarf2read.c (read_subrange_type): Add comment.
10518
55426c9d
JB
105192014-02-27 Joel Brobecker <brobecker@adacore.com>
10520
10521 * dwarf2read.c (update_enumeration_type_from_children): New
10522 function, mostly extracted from process_structure_scope.
10523 (read_enumeration_type): Call update_enumeration_type_from_children.
10524 (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned
10525 and flag_flag_enum fields.
10526
f2fce0ca
PA
105272014-02-26 Pedro Alves <palves@redhat.com>
10528
10529 * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function.
10530 (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as
10531 to_xfer_partial method.
10532
7a44e40e
PA
105332014-02-26 Pedro Alves <palves@redhat.com>
10534
10535 * target.c (complete_target_initialization): Don't install
10536 default_xfer_partial as to_xfer_partial hook.
10537 (nomemory): Delete.
10538 (update_current_target): Don't INHERIT nor de_fault
10539 deprecated_xfer_memory. Delete de_fault macro.
10540 (default_xfer_partial, deprecated_debug_xfer_memory): Delete.
10541 (setup_target_debug): Don't install a deprecated_xfer_memory hook.
10542 * target.h (struct target_ops) <deprecated_xfer_memory>: Delete
10543 field.
10544
bd265cd0
PA
105452014-02-26 Pedro Alves <palves@redhat.com>
10546
10547 * go32-nat.c (my_write_child): New function.
10548 (go32_xfer_memory): Rewrite as to_xfer_partial helper.
10549 (go32_xfer_partial): New function.
10550 (init_go32_ops): Don't install a deprecated_xfer_memory hook.
10551 Instead install a to_xfer_partial hook.
10552
9d46c4e5
PA
105532014-02-26 Pedro Alves <palves@redhat.com>
10554
10555 * nto-procfs.c (procfs_xfer_memory): Adjust interface as a
10556 to_xfer_partial helper. Rewrite.
10557 (procfs_xfer_partial): New function.
10558 (init_procfs_ops): Don't install a deprecated_xfer_memory hook.
10559 Install a to_xfer_partial hook.
10560
a1583b1f
PA
105612014-02-26 Pedro Alves <palves@redhat.com>
10562
10563 * remote-m32r-sdi.c (send_data): Constify 'buf' parameter.
10564 (m32r_xfer_memory): Adjust as a to_xfer_partial helper.
10565 (m32r_xfer_partial): New function.
10566 (init_m32r_ops): Don't install a deprecated_xfer_memory hook.
10567 Install a to_xfer_partial hook.
10568
6df1b29f
PA
105692014-02-26 Pedro Alves <palves@redhat.com>
10570
10571 * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial
10572 helper.
10573 (mips_xfer_partial): New function.
10574 (_initialize_remote_mips): Don't install a deprecated_xfer_memory
10575 hook. Install a to_xfer_partial hook.
10576
dc53a7ad
JB
105772014-02-26 Joel Brobecker <brobecker@adacore.com>
10578
10579 * gdbtypes.h (create_array_type_with_stride): Add declaration.
10580 * gdbtypes.c (create_array_type_with_stride): New function,
10581 renaming create_array_type, but with an added parameter
10582 called "bit_stride".
10583 (create_array_type): Re-implement using
10584 create_array_type_with_stride.
10585 * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride
10586 and DW_AT_bit_stride attributes.
10587
12ab52e9
PA
105882014-02-26 Pedro Alves <palves@redhat.com>
10589
10590 * breakpoint.c (bpstat_check_breakpoint_conditions): Handle
10591 task-specific breakpoints.
10592
d16461ae
PA
105932014-02-25 Pedro Alves <palves@redhat.com>
10594
10595 * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement
10596 handling of object == TARGET_OBJECT_UNWIND_TABLE.
10597
a8b16220
SS
105982014-02-25 Stan Shebs <stan@codesourcery.com>
10599
10600 * defs.h: Annotate comments for Doxygen.
10601
b9e795ee
TT
106022014-02-25 Tom Tromey <tromey@redhat.com>
10603
10604 * target.h (target_ignore): Don't declare.
10605 * target.c (target_ignore): Remove.
10606
849c862e
JK
106072014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
10608
10609 PR gdb/16626
10610 * auto-load.c (auto_load_objfile_script_1): Change filename to
10611 debugfile.
10612
475109d8
JB
106132014-02-25 Joel Brobecker <brobecker@adacore.com>
10614
10615 * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function
10616 documentation. Adjust prototype to match the target_ops
10617 to_xfer_partial method. Adjust implementation accordingly.
10618
e186c3bd
HZ
106192014-02-25 Hui Zhu <hui@codesourcery.com>
10620
10621 * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of
10622 to_traceframe_info.
10623
6d451942
KB
106242014-02-25 Kevin Buettner <kevinb@redhat.com>
10625
041ab8b4 10626 * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM)
6d451942
KB
10627 (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM)
10628 (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM)
10629 (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM)
10630 (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM)
10631 (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM)
10632 (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM)
10633 (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM):
10634 New constants.
10635 (rl78_register_type): Use a data pointer type for SP and
10636 new pseudo registers mentioned above. Use a 16 bit integer
10637 type for all other register pairs.
10638 (rl78_register_name, rl78_g10_register_name): Update for
10639 new pseudo registers.
10640 (rl78_pseudo_register_read): Likewise.
10641 (rl78_pseudo_register_write): Likewise.
10642 (rl78_dwarf_reg_to_regnum): Return register numbers representing
10643 to the newly added pseudo registers.
10644
eddf0bae
DE
106452014-02-24 Doug Evans <dje@google.com>
10646
10647 * value.c (record_latest_value): Fix comment.
10648 * printcmd.c (print_command_1): Remove code to handle -1 return from
10649 record_latest_value.
10650
e96027e0
PA
106512014-02-24 Pedro Alves <palves@redhat.com>
10652
10653 * procfs.c (procfs_target): Don't install procfs_xfer_memory as
10654 deprecated_xfer_memory hook.
10655 (procfs_xfer_partial): Call procfs_xfer_memory instead
10656 of the deprecated_xfer_memory target hook.
10657 (procfs_xfer_memory): Adjust interface as a to_xfer_partial
10658 helper.
10659
0837c976
YZ
106602014-02-24 Yuanhui Zhang <asmwarrior@gmail.com>
10661
10662 * windows-nat.c (windows_xfer_shared_libraries): Return
10663 TARGET_XFER_EOF if LEN is zero to fix an assert failure when
10664 requested object is TARGET_OBJECT_LIBRARIES.
10665
bc113b4e
YQ
106662014-02-24 Yao Qi <yao@codesourcery.com>
10667
10668 * target.h (enum target_xfer_status)
10669 <TARGET_XFER_E_UNAVAILABLE>: Rename it to ...
10670 <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2
10671 explicitly. New.
10672 * corefile.c (memory_error_message): User updated.
10673 * exec.c (section_table_read_available_memory): Likewise.
10674 * record-btrace.c (record_btrace_xfer_partial): Likewise.
10675 * target.c (target_xfer_status_to_string): Likewise.
10676 (raw_memory_xfer_partial): Likewise.
10677 (memory_xfer_partial_1, target_xfer_partial): Likewise.
10678 * valops.c (read_value_memory): Likewise.
10679 * exec.h: Update comments.
10680
01cb8804
YQ
106812014-02-24 Yao Qi <yao@codesourcery.com>
10682
10683 * target.c (target_xfer_status_to_string): Rename argument err
10684 to status.
10685 * target.h (target_xfer_status_to_string): Update declaration.
10686 Replace target_xfer_error_to_string with
10687 target_xfer_status_to_string in comment.
10688
93063aa6
YQ
106892014-02-24 Yao Qi <yao@codesourcery.com>
10690
10691 * mips-linux-nat.c (super_close): Update its type.
10692 (mips_linux_close): Pass 'self' to super_close.
10693
5c328c05
YQ
106942014-02-24 Yao Qi <yao@codesourcery.com>
10695
10696 * target.h (TARGET_XFER_STATUS_ERROR_P): Remove.
10697 * corefile.c (read_memory): Adjusted.
10698 * target.c (target_write_with_progress): Adjusted.
10699
f73023dd
YQ
107002014-02-23 Yao Qi <yao@codesourcery.com>
10701
10702 Revert two patches:
10703
10704 2013-10-25 Yao Qi <yao@codesourcery.com>
10705
10706 * remote.c (remote_traceframe_info): Return early if
10707 traceframe is not selected.
10708
10709 2013-07-19 Yao Qi <yao@codesourcery.com>
10710
10711 * target.c (update_current_target): Change the default action
10712 of 'to_traceframe_info' from tcomplain to return_zero.
10713 * target.h (struct target_ops) <to_traceframe_info>: Add more
10714 comments.
10715
5a2eb0ef
YQ
107162014-02-23 Yao Qi <yao@codesourcery.com>
10717
10718 * valops.c (read_value_memory): Rewrite it. Call
10719 target_xfer_partial in a loop.
10720 * exec.h (section_table_available_memory): Remove declaration.
10721 Move comments to ...
10722 * exec.c (section_table_available_memory): ... here. Make it
10723 static.
10724
1ee79381
YQ
107252014-02-23 Yao Qi <yao@codesourcery.com>
10726
10727 * exec.c (section_table_read_available_memory): New function.
10728 * exec.h (section_table_read_available_memory): Declare.
10729 * ctf.c (ctf_xfer_partial): Call
10730 section_table_read_available_memory.
10731 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10732
1ca49d37
YQ
107332014-02-23 Yao Qi <yao@codesourcery.com>
10734
10735 * ctf.c (ctf_xfer_partial): Move code to ...
10736 * exec.c (exec_read_partial_read_only): ... it. New function.
10737 * tracefile-tfile.c (tfile_xfer_partial): Likewise.
10738 * tracefile.c: Include "exec.h".
10739 * exec.h (exec_read_partial_read_only): Declare.
10740
a283690e
YQ
107412014-02-23 Yao Qi <yao@codesourcery.com>
10742
10743 * tracefile-tfile.c (tfile_has_all_memory): Remove.
10744 (tfile_has_memory): Remove.
10745 (init_tfile_ops): Don't set fields to_has_all_memory and
10746 to_has_memory of tfile_ops.
10747 * tracefile.c (tracefile_has_all_memory): New function.
10748 (tracefile_has_memory): New function.
10749 (init_tracefile_ops): Initialize fields to_has_all_memory and
10750 to_has_memory of 'ops'.
10751
12e03cd0
YQ
107522014-02-23 Yao Qi <yao@codesourcery.com>
10753
10754 * ctf.c (ctf_has_stack, ctf_has_registers): Remove.
10755 (ctf_thread_alive, ctf_get_trace_status): Remove.
10756 (init_ctf_ops): Don't set some fields of ctf_ops. Call
10757 init_tracefile_ops.
10758 * tracefile-tfile.c (tfile_get_trace_status): Remove.
10759 (tfile_has_stack, tfile_has_registers): Remove.
10760 (tfile_thread_alive): Remove.
10761 (init_tfile_ops): Don't set some fields of tfile_ops. Call
10762 init_tracefile_ops.
10763 * tracefile.c (tracefile_has_stack): New function.
10764 (tracefile_has_registers): New function.
10765 (tracefile_thread_alive): New function.
10766 (tracefile_get_trace_status): New function.
10767 (init_tracefile_ops): New function.
10768 * tracefile.h (init_tracefile_ops): Declare.
10769
11395323
YQ
107702014-02-23 Yao Qi <yao@codesourcery.com>
10771
10772 * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c.
10773 (O_LARGEFILE): Likewise.
10774 (tfile_ops): Likewise.
10775 (TRACE_HEADER_SIZE): Likewise.
10776 (trace_fd, trace_frames_offset, cur_offset): Likewise.
10777 (cur_data_size): Likewise.
10778 (tfile_read, tfile_open, tfile_interp_line): Likewise.
10779 (tfile_close, tfile_files_info): Likewise.
10780 (tfile_get_trace_status): Likewise.
10781 (tfile_get_tracepoint_status): Likewise.
10782 (tfile_get_traceframe_address): Likewise.
10783 (tfile_trace_find, match_blocktype): Likewise.
10784 (traceframe_walk_blocks, traceframe_find_block_type): Likewise.
10785 (tfile_fetch_registers, tfile_xfer_partial): Likewise.
10786 (tfile_get_trace_state_variable_value): Likewise.
10787 (tfile_has_all_memory, tfile_has_memory): Likewise.
10788 (tfile_has_stack, tfile_has_registers): Likewise.
10789 (tfile_thread_alive, build_traceframe_info): Likewise.
10790 (tfile_traceframe_info, init_tfile_ops): Likewise.
10791 (_initialize_tracepoint): Don't call init_tfile_ops
10792 and add_target_with_completer.
10793 * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h,
10794 exec.h, completer.h and filenames.h.
10795 (_initialize_tracefile_tfile): New function.
10796
7951c4eb
YQ
107972014-02-23 Yao Qi <yao@codesourcery.com>
10798
10799 * Makefile.in (REMOTE_OBS): Append tracefile.o and
10800 tracefile-tfile.o.
10801 (HFILES_NO_SRCDIR): Add tracefile.h.
10802 * ctf.c: Include "tracefile.h".
10803 * tracefile.h: New file.
10804 * tracefile.c: New file
10805 * tracefile-tfile.c: New file.
10806 * tracepoint.c: Include "tracefile.h".
10807 (free_uploaded_tps, free_uploaded_tsvs): Remove declarations.
10808 (stop_reason_names): Add const.
10809 (trace_file_writer_xfree): Move it to tracefile.c.
10810 (trace_save, trace_save_command, trace_save_tfile): Likewise.
10811 (trace_save_ctf): Likewise.
10812 (struct tfile_trace_file_writer): Move it to tracefile-tfile.c.
10813 (tfile_target_save, tfile_dtor, tfile_start): Likewise.
10814 (tfile_write_header, tfile_write_regblock_type): Likewise.
10815 (tfile_write_status, tfile_write_uploaded_tsv): Likewise.
10816 (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise.
10817 (tfile_write_raw_data, tfile_end): Likewise.
10818 (tfile_trace_file_writer_new): Likewise.
10819 (free_uploaded_tp): Make it extern.
10820 (free_uploaded_tsv): Make it extern.
10821 (_initialize_tracepoint): Move code to register command 'tsave'
10822 to tracefile.c.
10823 * tracepoint.h (stop_reason_names): Declare.
10824 (struct trace_frame_write_ops): Move it to tracefile.h.
10825 (struct trace_file_write_ops): Likewise.
10826 (struct trace_file_writer): Likewise.
10827 (free_uploaded_tsvs, free_uploaded_tps): Declare.
10828
184cd072
JK
108292014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
10830
10831 PR gdb/16594
10832 * common/linux-osdata.c (linux_common_core_of_thread): Find the end of
10833 process name.
10834 (get_cores_used_by_process): New parameter num_cores, use it.
10835 (linux_xfer_osdata_processes): Pass num_cores to it.
10836 * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of
10837 process name.
10838
c63528fc
AK
108392014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com>
10840
10841 * target.c (memory_xfer_partial): Fix length arg in call to
10842 breakpoint_xfer_memory.
10843
d7b30f67
SDJ
108442014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
10845
10846 PR tdep/16397
10847 * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a
10848 number comes after the + or - signs. Adjust length of register
10849 name to be extracted.
10850
8838afaf
TT
108512014-02-20 Tom Tromey <tromey@redhat.com>
10852
10853 * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops)
10854 (ada_varobj_ops): Mark "extern".
10855
05227d14
TT
108562014-02-20 Tom Tromey <tromey@redhat.com>
10857
10858 * dbxread.c (read_dbx_symtab): Remove last_o_file_start.
10859
1254eefc
DE
108602014-02-20 Doug Evans <xdje42@gmail.com>
10861
10862 * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm.
10863 All callers updated.
10864 (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm.
10865 All callers updated.
10866 * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update.
10867 (gdbscm_fill_eqable_gsmob_ptr_slot): Update.
10868
adde2bff
DE
108692014-02-20 lin zuojian <manjian2006@gmail.com>
10870 Joel Brobecker <brobecker@adacore.com>
10871 Doug Evans <xdje42@gmail.com>
10872
10873 PR symtab/16581
10874 * dwarf2read.c (struct die_info): New member in_process.
10875 (reset_die_in_process): New function.
10876 (process_die): Set it at the start, reset when returning.
10877 (inherit_abstract_dies): Only call process_die if origin_child_die
10878 not already being processed.
10879
3be75f87
JB
108802014-02-20 Joel Brobecker <brobecker@adacore.com>
10881
10882 * windows-nat.c (handle_unload_dll): Add function documentation.
10883 (do_initial_windows_stuff): Add comment explaining why we wait
10884 until after inferior initialization has finished before
10885 processing all DLLs.
10886
47f7ffdb
JB
108872014-02-20 Joel Brobecker <brobecker@adacore.com>
10888
10889 * windows-nat.c (get_module_name): Delete.
10890 (windows_get_exec_module_filename): New function, mostly
10891 inspired from get_module_name.
10892 (windows_pid_to_exec_file): Replace call to get_module_name
10893 by call to windows_get_exec_module_filename.
10894
1cd9feab
JB
108952014-02-20 Joel Brobecker <brobecker@adacore.com>
10896
10897 * windows-nat.c (handle_load_dll): Rewrite this function's
10898 introductory comment. Remove code using get_module_name
10899 to get the DLL's name.
10900
ea39ad35
JB
109012014-02-20 Joel Brobecker <brobecker@adacore.com>
10902
10903 * windows-nat.c (get_windows_debug_event): Ignore
10904 LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT
10905 if windows_initialization_done == 0.
10906 (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded.
10907 Adjust implementation to always load all DLLs.
10908 (do_initial_windows_stuff): Replace call to
10909 windows_ensure_ntdll_loaded by call to windows_add_all_dlls.
10910
95060284
JB
109112014-02-20 Joel Brobecker <brobecker@adacore.com>
10912
10913 * windows-nat.c (_initialize_windows_nat): Deprecate the
10914 "dll-symbols" command. Turn the "add-shared-symbol-files"
10915 and "assf" aliases into commands, and deprecate them as well.
10916 * NEWS: Add entry explaining that "dll-symbols" and its two
10917 aliases are now deprecated.
10918
8d4fdb12
JB
109192014-02-20 Joel Brobecker <brobecker@adacore.com>
10920
10921 * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped
10922 new-line in debug string. Remove trailing spaces.
10923
1b281443
SS
109242014-02-19 Stan Shebs <stan@codesourcery.com>
10925
10926 * darwin-nat.c (darwin_xfer_partial): Fix return type.
10927
f7bd0f78
SC
109282014-02-19 Siva Chandra Reddy <sivachandra@google.com>
10929
10930 * NEWS: Add entry for the new feature
10931 * python/py-value.c (valpy_binop): Call value_x_binop for struct
10932 and class values.
10933
399ebc3d
SS
109342014-02-19 Stan Shebs <stan@codesourcery.com>
10935
10936 * MAINTAINERS: List Yao Qi as nios2 maintainer.
10937
c658158d
PA
109382014-02-19 Pedro Alves <palves@redhat.com>
10939
10940 * common/ptid.h (struct ptid): Mention that process_stratum
10941 targets should prefer ptid.lwp.
10942
ba348170
PA
109432014-02-19 Pedro Alves <palves@redhat.com>
10944
10945 * remote.c (remote_thread_alive, write_ptid, read_ptid)
10946 (read_ptid, remote_newthread_step, remote_threads_extra_info)
10947 (remote_get_ada_task_ptid, append_resumption, remote_stop_ns)
10948 (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to
10949 store remote thread ids rather than ptid.tid.
10950 (_initialize_remote): Adjust.
10951
ac01945b
TT
109522014-02-19 Tom Tromey <tromey@redhat.com>
10953
10954 * target.c (target_get_unwinder): Rewrite.
10955 (target_get_tailcall_unwinder): Rewrite.
10956 * record-btrace.c (record_btrace_to_get_unwinder): New function.
10957 (record_btrace_to_get_tailcall_unwinder): New function.
10958 (init_record_btrace_ops): Update.
10959 * target.h (struct target_ops) <to_get_unwinder,
10960 to_get_tailcall_unwinder>: Now function pointers. Use
10961 TARGET_DEFAULT_RETURN.
10962
8476dc92
TT
109632014-02-19 Tom Tromey <tromey@redhat.com>
10964
10965 * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self'
10966 argument.
10967 (init_procfs_ops): Correctly set to_remove_hw_breakpoint.
10968
c0eca49f
TT
109692014-02-19 Tom Tromey <tromey@redhat.com>
10970
10971 * record-btrace.c (record_btrace_decr_pc_after_break): Delegate
10972 directly.
10973 * target-delegates.c: Rebuild.
10974 * target.h (struct target_ops) <to_decr_pc_after_break>: Use
10975 TARGET_DEFAULT_FUNC.
10976 * target.c (default_target_decr_pc_after_break): Rename from
10977 forward_target_decr_pc_after_break. Simplify.
10978 (target_decr_pc_after_break): Rely on delegation.
10979
596b6b39
TT
109802014-02-19 Tom Tromey <tromey@redhat.com>
10981
10982 * target.c (update_current_target): Do not INHERIT to_doc or
10983 to_magic. Do not de_fault to_open or to_close.
10984
b427c1bc
TT
109852014-02-19 Tom Tromey <tromey@redhat.com>
10986
10987 * gcore.h (objfile_find_memory_regions): Declare.
10988 * gcore.c (objfile_find_memory_regions): No longer static. Add
10989 "self" argument.
10990 (_initialize_gcore): Don't call exec_set_find_memory_regions.
10991 * exec.c: Include gcore.h.
10992 (exec_set_find_memory_regions): Remove.
10993 (exec_find_memory_regions): Remove.
10994 (exec_do_find_memory_regions): Remove.
10995 (init_exec_ops): Update.
10996 * defs.h (exec_set_find_memory_regions): Remove.
10997
9b144037
TT
109982014-02-19 Tom Tromey <tromey@redhat.com>
10999
11000 * target-delegates.c: Rebuild.
11001 * target.h (struct target_ops) <to_extra_thread_info,
11002 to_thread_name, to_pid_to_exec_file, to_get_section_table,
11003 to_memory_map, to_read_description, to_traceframe_info>: Use NULL,
11004 not 0, in TARGET_DEFAULT_RETURN.
11005
555bbdeb
TT
110062014-02-19 Tom Tromey <tromey@redhat.com>
11007
11008 * target.c (complete_target_initialization): Remove casts. Use
11009 return_zero_has_execution.
11010 (return_zero): Add "ignore" argument.
11011 (return_zero_has_execution): New function.
11012 (init_dummy_target): Remove casts. Use
11013 return_zero_has_execution.
11014
be4ddd36
TT
110152014-02-19 Tom Tromey <tromey@redhat.com>
11016
11017 * target.c (update_current_target): Update comments. Do not
11018 INHERIT to_stratum.
11019
2117c711
TT
110202014-02-19 Tom Tromey <tromey@redhat.com>
11021
11022 * arm-linux-nat.c (arm_linux_read_description): Delegate when
11023 needed.
11024 * corelow.c (core_read_description): Delegate when needed.
11025 * remote.c (remote_read_description): Delegate when needed.
11026 * target-delegates.c: Rebuild.
11027 * target.c (target_read_description): Rewrite.
11028 * target.h (struct target_ops) <to_read_description>: Update
11029 comment. Use TARGET_DEFAULT_RETURN.
11030
e88ef65c
TT
110312014-02-19 Tom Tromey <tromey@redhat.com>
11032
11033 * target-delegates.c: Rebuild.
11034 * target.c (update_current_target): Don't inherit or default
11035 to_can_run.
11036 (find_default_run_target): Check against delegate_can_run.
11037 * target.h (struct target_ops) <to_can_run>: Use
11038 TARGET_DEFAULT_RETURN.
11039
86a0854a
TT
110402014-02-19 Tom Tromey <tromey@redhat.com>
11041
11042 * target-delegates.c: Rebuild.
11043 * target.c (target_disconnect): Unconditionally delegate.
11044 * target.h (struct target_ops) <to_disconnect>: Use
11045 TARGET_DEFAULT_NORETURN.
11046
ee97f592
TT
110472014-02-19 Tom Tromey <tromey@redhat.com>
11048
11049 * record.c (record_stop): Unconditionally delegate.
11050 * target-delegates.c: Rebuild.
11051 * target.c (target_stop_recording): Unconditionally delegate.
11052 * target.h (struct target_ops) <to_stop_recording>: Use
11053 TARGET_DEFAULT_IGNORE.
11054
6dc7fcf4
TT
110552014-02-19 Tom Tromey <tromey@redhat.com>
11056
11057 * target-delegates.c: Rebuild.
11058 * target.c (target_enable_btrace): Unconditionally delegate.
11059 * target.h (struct target_ops) <to_enable_btrace>: Use
11060 TARGET_DEFAULT_NORETURN.
11061
eb5b20d4
TT
110622014-02-19 Tom Tromey <tromey@redhat.com>
11063
11064 * target-delegates.c: Rebuild.
11065 * target.c (target_read_btrace): Unconditionally delegate.
11066 * target.h (struct target_ops) <to_read_btrace>: Use
11067 TARGET_DEFAULT_NORETURN.
11068
9ace480d
TT
110692014-02-19 Tom Tromey <tromey@redhat.com>
11070
11071 * target-delegates.c: Rebuild.
11072 * target.c (target_teardown_btrace): Unconditionally delegate.
11073 * target.h (struct target_ops) <to_teardown_btrace>: Use
11074 TARGET_DEFAULT_NORETURN.
11075
8dc292d3
TT
110762014-02-19 Tom Tromey <tromey@redhat.com>
11077
11078 * target-delegates.c: Rebuild.
11079 * target.c (target_disable_btrace): Unconditionally delegate.
11080 * target.h (struct target_ops) <to_disable_btrace>: Use
11081 TARGET_DEFAULT_NORETURN.
11082
58a5184e
TT
110832014-02-19 Tom Tromey <tromey@redhat.com>
11084
11085 * target-delegates.c: Rebuild.
11086 * target.c (default_search_memory): New function.
11087 (simple_search_memory): Update comment.
11088 (target_search_memory): Unconditionally delegate.
11089 * target.h (struct target_ops) <to_search_memory>: Use
11090 TARGET_DEFAULT_FUNC.
11091
8de71aab
TT
110922014-02-19 Tom Tromey <tromey@redhat.com>
11093
11094 * auxv.c (default_auxv_parse): No longer static.
11095 (target_auxv_parse): Unconditionally delegate.
11096 * auxv.h (default_auxv_parse): Declare.
11097 * target-delegates.c: Rebuild.
11098 * target.c: Include auxv.h.
11099 * target.h (struct target_ops) <to_auxv_parse>: Use
11100 TARGET_DEFAULT_FUNC.
11101
6b2c5a57
TT
111022014-02-19 Tom Tromey <tromey@redhat.com>
11103
11104 * target-delegates.c: Rebuild.
11105 * target.c (target_memory_map): Unconditionally delegate.
11106 * target.h (struct target_ops) <to_memory_map>: Use
11107 TARGET_DEFAULT_RETURN.
11108
cbffc065
TT
111092014-02-19 Tom Tromey <tromey@redhat.com>
11110
11111 * target-delegates.c: Rebuild.
11112 * target.c (target_thread_alive): Unconditionally delegate.
11113 * target.h (struct target_ops) <to_thread_alive>: Use
11114 TARGET_DEFAULT_RETURN.
11115
f09e2107
TT
111162014-02-19 Tom Tromey <tromey@redhat.com>
11117
11118 * target-delegates.c: Rebuild.
11119 * target.c (target_save_record): Unconditionally delegate.
11120 * target.h (struct target_ops) <to_save_record>: Use
11121 TARGET_DEFAULT_NORETURN.
11122
07366925
TT
111232014-02-19 Tom Tromey <tromey@redhat.com>
11124
11125 * target-delegates.c: Rebuild.
11126 * target.c (target_delete_record): Unconditionally delegate.
11127 * target.h (struct target_ops) <to_delete_record>: Use
11128 TARGET_DEFAULT_NORETURN.
11129
dd2e9d25
TT
111302014-02-19 Tom Tromey <tromey@redhat.com>
11131
11132 * target-delegates.c: Rebuild.
11133 * target.c (target_record_is_replaying): Unconditionally
11134 delegate.
11135 * target.h (struct target_ops) <to_record_is_replaying>: Use
11136 TARGET_DEFAULT_RETURN.
11137
671e76cc
TT
111382014-02-19 Tom Tromey <tromey@redhat.com>
11139
11140 * target-delegates.c: Rebuild.
11141 * target.c (target_goto_record_begin): Unconditionally delegate.
11142 * target.h (struct target_ops) <to_goto_record_begin>: Use
11143 TARGET_DEFAULT_NORETURN.
11144
e9179bb3
TT
111452014-02-19 Tom Tromey <tromey@redhat.com>
11146
11147 * target-delegates.c: Rebuild.
11148 * target.c (target_goto_record_end): Unconditionally delegate.
11149 * target.h (struct target_ops) <to_goto_record_end>: Use
11150 TARGET_DEFAULT_NORETURN.
11151
05969c84
TT
111522014-02-19 Tom Tromey <tromey@redhat.com>
11153
11154 * target-delegates.c: Rebuild.
11155 * target.c (target_goto_record): Unconditionally delegate.
11156 * target.h (struct target_ops) <to_goto_record>: Use
11157 TARGET_DEFAULT_NORETURN.
11158
3679abfa
TT
111592014-02-19 Tom Tromey <tromey@redhat.com>
11160
11161 * target-delegates.c: Rebuild.
11162 * target.c (target_insn_history): Unconditionally delegate.
11163 * target.h (struct target_ops) <to_insn_history>: Use
11164 TARGET_DEFAULT_NORETURN.
11165
8444ab58
TT
111662014-02-19 Tom Tromey <tromey@redhat.com>
11167
11168 * target-delegates.c: Rebuild.
11169 * target.c (target_insn_history_from): Unconditionally delegate.
11170 * target.h (struct target_ops) <to_insn_history_from>: Use
11171 TARGET_DEFAULT_NORETURN.
11172
c29302cc
TT
111732014-02-19 Tom Tromey <tromey@redhat.com>
11174
11175 * target-delegates.c: Rebuild.
11176 * target.c (target_insn_history_range): Unconditionally delegate.
11177 * target.h (struct target_ops) <to_insn_history_range>: Use
11178 TARGET_DEFAULT_NORETURN.
11179
170049d4
TT
111802014-02-19 Tom Tromey <tromey@redhat.com>
11181
11182 * target-delegates.c: Rebuild.
11183 * target.c (target_call_history): Unconditionally delegate.
11184 * target.h (struct target_ops) <to_call_history>: Use
11185 TARGET_DEFAULT_NORETURN.
11186
16fc27d6
TT
111872014-02-19 Tom Tromey <tromey@redhat.com>
11188
11189 * target-delegates.c: Rebuild.
11190 * target.c (target_call_history_from): Unconditionally delegate.
11191 * target.h (struct target_ops) <to_call_history_from>: Use
11192 TARGET_DEFAULT_NORETURN.
11193
115d9817
TT
111942014-02-19 Tom Tromey <tromey@redhat.com>
11195
11196 * target-delegates.c: Rebuild.
11197 * target.c (target_call_history_range): Unconditionally delegate.
11198 * target.h (struct target_ops) <to_call_history_range>: Use
11199 TARGET_DEFAULT_NORETURN.
11200
eb276a6b
TT
112012014-02-19 Tom Tromey <tromey@redhat.com>
11202
11203 * target-delegates.c: Rebuild.
11204 * target.c (target_verify_memory): Unconditionally delegate.
11205 * target.h (struct target_ops) <to_verify_memory>: Use
11206 TARGET_DEFAULT_NORETURN.
11207
9e538d0d
TT
112082014-02-19 Tom Tromey <tromey@redhat.com>
11209
11210 * target-delegates.c: Rebuild.
11211 * target.c (target_core_of_thread): Unconditionally delegate.
11212 * target.h (struct target_ops) <to_core_of_thread>: Use
11213 TARGET_DEFAULT_RETURN.
11214
f6fb2925
TT
112152014-02-19 Tom Tromey <tromey@redhat.com>
11216
11217 * target-delegates.c: Rebuild.
11218 * target.c (target_flash_done): Unconditionally delegate.
11219 * target.h (struct target_ops) <to_flash_done>: Use
11220 TARGET_DEFAULT_NORETURN.
11221
e8a6c6ac
TT
112222014-02-19 Tom Tromey <tromey@redhat.com>
11223
11224 * target-delegates.c: Rebuild.
11225 * target.c (target_flash_erase): Unconditionally delegate.
11226 * target.h (struct target_ops) <to_flash_erase>: Use
11227 TARGET_DEFAULT_NORETURN.
11228
7e35c012
TT
112292014-02-19 Tom Tromey <tromey@redhat.com>
11230
11231 * target-delegates.c: Rebuild.
11232 * target.c (target_get_section_table): Unconditionally delegate.
11233 * target.h (struct target_ops) <to_get_section_table>: Use
11234 TARGET_DEFAULT_RETURN.
11235
770234d3
TT
112362014-02-19 Tom Tromey <tromey@redhat.com>
11237
11238 * target-delegates.c: Rebuild.
11239 * target.c (target_pid_to_str): Unconditionally delegate.
11240 (init_dummy_target): Don't initialize to_pid_to_str.
11241 (default_pid_to_str): Rename from dummy_pid_to_str.
11242 * target.h (struct target_ops) <to_pid_to_str>: Use
11243 TARGET_DEFAULT_FUNC.
11244
09b0dc2b
TT
112452014-02-19 Tom Tromey <tromey@redhat.com>
11246
11247 * target-delegates.c: Rebuild.
11248 * target.c (target_find_new_threads): Unconditionally delegate.
11249 * target.h (struct target_ops) <to_find_new_threads>: Use
11250 TARGET_DEFAULT_RETURN.
11251
7d4f8efa
TT
112522014-02-19 Tom Tromey <tromey@redhat.com>
11253
11254 * target-delegates.c: Rebuild.
11255 * target.c (target_program_signals): Unconditionally delegate.
11256 * target.h (struct target_ops) <to_program_signals>: Use
11257 TARGET_DEFAULT_IGNORE.
11258
035cad7f
TT
112592014-02-19 Tom Tromey <tromey@redhat.com>
11260
11261 * target-delegates.c: Rebuild.
11262 * target.c (target_pass_signals): Unconditionally delegate.
11263 * target.h (struct target_ops) <to_pass_signals>: Use
11264 TARGET_DEFAULT_IGNORE.
11265
8d657035
TT
112662014-02-19 Tom Tromey <tromey@redhat.com>
11267
11268 * target-delegates.c: Rebuild.
11269 * target.c (default_mourn_inferior): New function.
11270 (target_mourn_inferior): Unconditionally delegate.
11271 * target.h (struct target_ops) <to_mourn_inferior>: Use
11272 TARGET_DEFAULT_FUNC.
11273
098dba18
TT
112742014-02-19 Tom Tromey <tromey@redhat.com>
11275
11276 * target-delegates.c: Rebuild.
11277 * target.c (default_follow_fork): New function.
11278 (target_follow_fork): Unconditionally delegate.
11279 * target.h (struct target_ops) <to_follow_fork>: Use
11280 TARGET_DEFAULT_FUNC.
11281
423a4807
TT
112822014-02-19 Tom Tromey <tromey@redhat.com>
11283
11284 * target-delegates.c: Rebuild.
11285 * target.c (target_kill): Unconditionally delegate.
11286 * target.h (struct target_ops) <to_kill>: Use
11287 TARGET_DEFAULT_NORETURN.
11288
6c7e5e5c
TT
112892014-02-19 Tom Tromey <tromey@redhat.com>
11290
11291 * target-delegates.c: Rebuild.
11292 * target.c (target_masked_watch_num_registers): Unconditionally
11293 delegate.
11294 * target.h (struct target_ops) <to_masked_watch_num_registers>:
11295 Use TARGET_DEFAULT_RETURN.
11296
8b1c364c
TT
112972014-02-19 Tom Tromey <tromey@redhat.com>
11298
11299 * target-delegates.c: Rebuild.
11300 * target.c (target_remove_mask_watchpoint): Unconditionally
11301 delegate.
11302 * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use
11303 TARGET_DEFAULT_RETURN.
11304
cd4ae029
TT
113052014-02-19 Tom Tromey <tromey@redhat.com>
11306
11307 * target-delegates.c: Rebuild.
11308 * target.c (target_insert_mask_watchpoint): Unconditionally
11309 delegate.
11310 * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use
11311 TARGET_DEFAULT_RETURN.
11312
a134316b
TT
113132014-02-19 Tom Tromey <tromey@redhat.com>
11314
11315 * target-delegates.c: Rebuild.
11316 * target.c (target_ranged_break_num_registers): Unconditionally
11317 delegate.
11318 * target.h (struct target_ops) <to_ranged_break_num_registers>:
11319 Use TARGET_DEFAULT_RETURN.
11320
ad5989bd
TT
113212014-02-19 Tom Tromey <tromey@redhat.com>
11322
11323 * target-delegates.c: Rebuild.
11324 * target.c (target_fetch_registers): Unconditionally delegate.
11325 * target.h (struct target_ops) <to_fetch_registers>: Use
11326 TARGET_DEFAULT_NORETURN.
11327
46ee7e8d
TT
113282014-02-19 Tom Tromey <tromey@redhat.com>
11329
11330 * target-delegates.c: Rebuild.
11331 * target.c (update_current_target): Don't inherit or default
11332 to_stop.
11333 * target.h (struct target_ops) <to_stop>: Use
11334 TARGET_DEFAULT_IGNORE.
11335
843f59ed
TT
113362014-02-19 Tom Tromey <tromey@redhat.com>
11337
11338 * target-delegates.c: Rebuild.
11339 * target.c (update_current_target): Don't inherit or default
11340 to_can_run_breakpoint_commands.
11341 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
11342 Use TARGET_DEFAULT_RETURN.
11343
ccfde2a0
TT
113442014-02-19 Tom Tromey <tromey@redhat.com>
11345
11346 * target-delegates.c: Rebuild.
11347 * target.c (update_current_target): Don't inherit or default
11348 to_supports_evaluation_of_breakpoint_conditions.
11349 * target.h (struct target_ops)
11350 <to_supports_evaluation_of_breakpoint_conditions>: Use
11351 TARGET_DEFAULT_RETURN.
11352
0de91722
TT
113532014-02-19 Tom Tromey <tromey@redhat.com>
11354
11355 * target-delegates.c: Rebuild.
11356 * target.c (update_current_target): Don't inherit or default
11357 to_augmented_libraries_svr4_read.
11358 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11359 Use TARGET_DEFAULT_RETURN.
11360
9a7d8b48
TT
113612014-02-19 Tom Tromey <tromey@redhat.com>
11362
11363 * target-delegates.c: Rebuild.
11364 * target.c (update_current_target): Don't inherit or default
11365 to_can_use_agent.
11366 * target.h (struct target_ops) <to_can_use_agent>: Use
11367 TARGET_DEFAULT_RETURN.
11368
d9db5b21
TT
113692014-02-19 Tom Tromey <tromey@redhat.com>
11370
11371 * target-delegates.c: Rebuild.
11372 * target.c (update_current_target): Don't inherit or default
11373 to_use_agent.
11374 * target.h (struct target_ops) <to_use_agent>: Use
11375 TARGET_DEFAULT_NORETURN.
11376
92155eeb
TT
113772014-02-19 Tom Tromey <tromey@redhat.com>
11378
11379 * target-delegates.c: Rebuild.
11380 * target.c (update_current_target): Don't inherit or default
11381 to_traceframe_info.
11382 (return_null): Remove.
11383 * target.h (struct target_ops) <to_traceframe_info>: Use
11384 TARGET_DEFAULT_RETURN.
11385
d6522a22
TT
113862014-02-19 Tom Tromey <tromey@redhat.com>
11387
11388 * target-delegates.c: Rebuild.
11389 * target.c (update_current_target): Don't inherit or default
11390 to_static_tracepoint_markers_by_strid.
11391 * target.h (struct target_ops)
11392 <to_static_tracepoint_markers_by_strid>: Use
11393 TARGET_DEFAULT_NORETURN.
11394
4c3e4425
TT
113952014-02-19 Tom Tromey <tromey@redhat.com>
11396
11397 * target-delegates.c: Rebuild.
11398 * target.c (update_current_target): Don't inherit or default
11399 to_static_tracepoint_marker_at.
11400 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
11401 Use TARGET_DEFAULT_RETURN.
11402
dcd6917f
TT
114032014-02-19 Tom Tromey <tromey@redhat.com>
11404
11405 * target-delegates.c: Rebuild.
11406 * target.c (update_current_target): Don't inherit or default
11407 to_set_permissions.
11408 * target.h (struct target_ops) <to_set_permissions>: Use
11409 TARGET_DEFAULT_IGNORE.
11410
22bcceee
TT
114112014-02-19 Tom Tromey <tromey@redhat.com>
11412
11413 * target-delegates.c: Rebuild.
11414 * target.c (update_current_target): Don't inherit or default
11415 to_get_tib_address.
11416 * target.h (struct target_ops) <to_get_tib_address>: Use
11417 TARGET_DEFAULT_NORETURN.
11418
8586ccaa
TT
114192014-02-19 Tom Tromey <tromey@redhat.com>
11420
11421 * target-delegates.c: Rebuild.
11422 * target.c (update_current_target): Don't inherit or default
11423 to_set_trace_notes.
11424 * target.h (struct target_ops) <to_set_trace_notes>: Use
11425 TARGET_DEFAULT_RETURN.
11426
91df8d1d
TT
114272014-02-19 Tom Tromey <tromey@redhat.com>
11428
11429 * target-delegates.c: Rebuild.
11430 * target.c (update_current_target): Don't initialize
11431 to_set_trace_buffer_size.
11432 * target.h (struct target_ops) <to_set_trace_buffer_size>: Use
11433 TARGET_DEFAULT_IGNORE.
11434
8d526939
TT
114352014-02-19 Tom Tromey <tromey@redhat.com>
11436
11437 * target-delegates.c: Rebuild.
11438 * target.c (update_current_target): Don't inherit or default
11439 to_set_circular_trace_buffer.
11440 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use
11441 TARGET_DEFAULT_IGNORE.
11442
0bcfeddf
TT
114432014-02-19 Tom Tromey <tromey@redhat.com>
11444
11445 * target-delegates.c: Rebuild.
11446 * target.c (update_current_target): Don't inherit or default
11447 to_set_disconnected_tracing.
11448 * target.h (struct target_ops) <to_set_disconnected_tracing>: Use
11449 TARGET_DEFAULT_IGNORE.
11450
9249843f
TT
114512014-02-19 Tom Tromey <tromey@redhat.com>
11452
11453 * target-delegates.c: Rebuild.
11454 * target.c (update_current_target): Don't inherit or default
11455 to_get_min_fast_tracepoint_insn_len.
11456 (return_minus_one): Remove.
11457 * target.h (struct target_ops)
11458 <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN.
11459
ace92e7d
TT
114602014-02-19 Tom Tromey <tromey@redhat.com>
11461
11462 * target-delegates.c: Rebuild.
11463 * target.c (update_current_target): Don't inherit or default
11464 to_get_raw_trace_data.
11465 * target.h (struct target_ops) <to_get_raw_trace_data>: Use
11466 TARGET_DEFAULT_NORETURN.
11467
08120467
TT
114682014-02-19 Tom Tromey <tromey@redhat.com>
11469
11470 * target-delegates.c: Rebuild.
11471 * target.c (update_current_target): Don't inherit or default
11472 to_upload_trace_state_variables.
11473 * target.h (struct target_ops) <to_upload_trace_state_variables>:
11474 Use TARGET_DEFAULT_RETURN.
11475
1e949b00
TT
114762014-02-19 Tom Tromey <tromey@redhat.com>
11477
11478 * target-delegates.c: Rebuild.
11479 * target.c (update_current_target): Don't inherit or default
11480 to_upload_tracepoints.
11481 * target.h (struct target_ops) <to_upload_tracepoints>: Use
11482 TARGET_DEFAULT_RETURN.
11483
a2e6c147
TT
114842014-02-19 Tom Tromey <tromey@redhat.com>
11485
11486 * target-delegates.c: Rebuild.
11487 * target.c (update_current_target): Don't inherit or default
11488 to_save_trace_data.
11489 * target.h (struct target_ops) <to_save_trace_data>: Use
11490 TARGET_DEFAULT_NORETURN.
11491
959bcd0b
TT
114922014-02-19 Tom Tromey <tromey@redhat.com>
11493
11494 * target-delegates.c: Rebuild.
11495 * target.c (update_current_target): Don't inherit or default
11496 to_get_trace_state_variable_value.
11497 * target.h (struct target_ops)
11498 <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN.
11499
afc94e66
TT
115002014-02-19 Tom Tromey <tromey@redhat.com>
11501
11502 * target-delegates.c: Rebuild.
11503 * target.c (update_current_target): Don't inherit or default
11504 to_trace_find.
11505 * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN.
11506
e51c07ea
TT
115072014-02-19 Tom Tromey <tromey@redhat.com>
11508
11509 * target-delegates.c: Rebuild.
11510 * target.c (update_current_target): Don't inherit or default
11511 to_trace_stop.
11512 * target.h (struct target_ops) <to_trace_stop>: Use
11513 TARGET_DEFAULT_NORETURN.
11514
6fea14cd
TT
115152014-02-19 Tom Tromey <tromey@redhat.com>
11516
11517 * target-delegates.c: Rebuild.
11518 * target.c (update_current_target): Don't inherit or default
11519 to_get_tracepoint_status.
11520 * target.h (struct target_ops) <to_get_tracepoint_status>: Use
11521 TARGET_DEFAULT_NORETURN.
11522
4072d4ff
TT
115232014-02-19 Tom Tromey <tromey@redhat.com>
11524
11525 * target-delegates.c: Rebuild.
11526 * target.c (update_current_target): Don't inherit or default
11527 to_get_trace_status.
11528 * target.h (struct target_ops) <to_get_trace_status>: Use
11529 TARGET_DEFAULT_RETURN.
11530
25da2e80
TT
115312014-02-19 Tom Tromey <tromey@redhat.com>
11532
11533 * target-delegates.c: Rebuild.
11534 * target.c (update_current_target): Don't inherit or default
11535 to_trace_start.
11536 * target.h (struct target_ops) <to_trace_start>: Use
11537 TARGET_DEFAULT_NORETURN.
11538
86dd181d
TT
115392014-02-19 Tom Tromey <tromey@redhat.com>
11540
11541 * target-delegates.c: Rebuild.
11542 * target.c (update_current_target): Don't inherit or default
11543 to_trace_set_readonly_regions.
11544 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
11545 Use TARGET_DEFAULT_NORETURN.
11546
05c41993
TT
115472014-02-19 Tom Tromey <tromey@redhat.com>
11548
11549 * target-delegates.c: Rebuild.
11550 * target.c (update_current_target): Don't inherit or default
11551 to_disable_tracepoint.
11552 * target.h (struct target_ops) <to_disable_tracepoint>: Use
11553 TARGET_DEFAULT_NORETURN.
11554
151f70f1
TT
115552014-02-19 Tom Tromey <tromey@redhat.com>
11556
11557 * target-delegates.c: Rebuild.
11558 * target.c (update_current_target): Don't inherit or default
11559 to_enable_tracepoint.
11560 * target.h (struct target_ops) <to_enable_tracepoint>: Use
11561 TARGET_DEFAULT_NORETURN.
11562
94eb98b9
TT
115632014-02-19 Tom Tromey <tromey@redhat.com>
11564
11565 * target-delegates.c: Rebuild.
11566 * target.c (update_current_target): Don't inherit or default
11567 to_download_trace_state_variable.
11568 * target.h (struct target_ops) <to_download_trace_state_variable>:
11569 Use TARGET_DEFAULT_NORETURN.
11570
719acc4a
TT
115712014-02-19 Tom Tromey <tromey@redhat.com>
11572
11573 * target-delegates.c: Rebuild.
11574 * target.c (update_current_target): Don't inherit or default
11575 to_can_download_tracepoint.
11576 * target.h (struct target_ops) <to_can_download_tracepoint>: Use
11577 TARGET_DEFAULT_RETURN.
11578
9a980a22
TT
115792014-02-19 Tom Tromey <tromey@redhat.com>
11580
11581 * target-delegates.c: Rebuild.
11582 * target.c (update_current_target): Don't inherit or default
11583 to_download_tracepoint.
11584 * target.h (struct target_ops) <to_download_tracepoint>: Use
11585 TARGET_DEFAULT_NORETURN.
11586
5536135b
TT
115872014-02-19 Tom Tromey <tromey@redhat.com>
11588
11589 * target-delegates.c: Rebuild.
11590 * target.c (update_current_target): Don't inherit or default
11591 to_trace_init.
11592 * target.h (struct target_ops) <to_trace_init>: Use
11593 TARGET_DEFAULT_RETURN.
11594
9409d39e
TT
115952014-02-19 Tom Tromey <tromey@redhat.com>
11596
11597 * target-delegates.c: Rebuild.
11598 * target.c (update_current_target): Don't inherit or default
11599 to_supports_string_tracing.
11600 * target.h (struct target_ops) <to_supports_string_tracing>: Use
11601 TARGET_DEFAULT_RETURN.
11602
aab1b22d
TT
116032014-02-19 Tom Tromey <tromey@redhat.com>
11604
11605 * target-delegates.c: Rebuild.
11606 * target.c (update_current_target): Don't inherit or default
11607 to_supports_enable_disable_tracepoint.
11608 * target.h (struct target_ops)
11609 <to_supports_enable_disable_tracepoint>: Use
11610 TARGET_DEFAULT_RETURN.
11611
a7304748
TT
116122014-02-19 Tom Tromey <tromey@redhat.com>
11613
11614 * target-delegates.c: Rebuild.
11615 * target.c (update_current_target): Don't inherit or default
11616 to_supports_multi_process.
11617 * target.h (struct target_ops) <to_supports_multi_process>: Use
11618 TARGET_DEFAULT_RETURN.
11619
4229b31d
TT
116202014-02-19 Tom Tromey <tromey@redhat.com>
11621
11622 * target-delegates.c: Rebuild.
11623 * target.c (update_current_target): Don't inherit or default
11624 to_get_ada_task_ptid.
11625 * target.h (struct target_ops) <to_get_ada_task_ptid>: Use
11626 TARGET_DEFAULT_FUNC.
11627
43eba180
TT
116282014-02-19 Tom Tromey <tromey@redhat.com>
11629
11630 * target-delegates.c: Rebuild.
11631 * target.c (update_current_target): Don't inherit or default
11632 to_thread_architecture.
11633 * target.h (struct target_ops) <to_thread_architecture>: Use
11634 TARGET_DEFAULT_FUNC.
11635
fe31bf5b
TT
116362014-02-19 Tom Tromey <tromey@redhat.com>
11637
11638 * target-delegates.c: Rebuild.
11639 * target.c (update_current_target): Don't inherit or default
11640 to_execution_direction.
11641 * target.h (struct target_ops) <to_execution_direction>: Use
11642 TARGET_DEFAULT_FUNC.
11643
53e1cfc7
TT
116442014-02-19 Tom Tromey <tromey@redhat.com>
11645
11646 * target-delegates.c: Rebuild.
11647 * target.c (update_current_target): Don't inherit or default
11648 to_can_execute_reverse.
11649 * target.h (struct target_ops) <to_can_execute_reverse>: Use
11650 TARGET_DEFAULT_RETURN.
11651 (target_can_execute_reverse): Unconditionally delegate.
11652
9bb9d61d
TT
116532014-02-19 Tom Tromey <tromey@redhat.com>
11654
11655 * target-delegates.c: Rebuild.
11656 * target.c (update_current_target): Don't inherit or default
11657 to_goto_bookmark.
11658 (dummy_goto_bookmark): Remove.
11659 (init_dummy_target): Don't inherit or default to_goto_bookmark.
11660 * target.h (struct target_ops) <to_goto_bookmark>: Use
11661 TARGET_DEFAULT_NORETURN.
11662
3dbafbbb
TT
116632014-02-19 Tom Tromey <tromey@redhat.com>
11664
11665 * target-delegates.c: Rebuild.
11666 * target.c (update_current_target): Don't inherit or default
11667 to_get_bookmark.
11668 (dummy_get_bookmark): Remove.
11669 (init_dummy_target): Don't inherit or default to_get_bookmark.
11670 * target.h (struct target_ops) <to_get_bookmark>: Use
11671 TARGET_DEFAULT_NORETURN
11672
16f796b1
TT
116732014-02-19 Tom Tromey <tromey@redhat.com>
11674
11675 * target-delegates.c: Rebuild.
11676 * target.c (update_current_target): Don't inherit or default
11677 to_make_corefile_notes.
11678 (init_dummy_target): Don't initialize to_make_corefile_notes.
11679 * target.h (struct target_ops) <to_make_corefile_notes>: Use
11680 TARGET_DEFAULT_FUNC.
11681
0b5a2719
TT
116822014-02-19 Tom Tromey <tromey@redhat.com>
11683
11684 * target-delegates.c: Rebuild.
11685 * target.c (update_current_target): Don't inherit or default
11686 to_find_memory_regions.
11687 (init_dummy_target): Don't initialize to_find_memory_regions.
11688 * target.h (struct target_ops) <to_find_memory_regions>: Use
11689 TARGET_DEFAULT_FUNC.
11690
d9cb0195
TT
116912014-02-19 Tom Tromey <tromey@redhat.com>
11692
11693 * target-delegates.c: Rebuild.
11694 * target.c (update_current_target): Don't inherit or default
11695 to_log_command.
11696 * target.h (struct target_ops) <to_log_command>: Use
11697 TARGET_DEFAULT_IGNORE.
11698 (target_log_command): Unconditionally delegate.
11699
830ca330
TT
117002014-02-19 Tom Tromey <tromey@redhat.com>
11701
11702 * target-delegates.c: Rebuild.
11703 * target.c (update_current_target): Don't inherit or default
11704 to_pid_to_exec_file.
11705 * target.h (struct target_ops) <to_pid_to_exec_file>: Use
11706 TARGET_DEFAULT_RETURN.
11707
825828fc
TT
117082014-02-19 Tom Tromey <tromey@redhat.com>
11709
11710 * target-delegates.c: Rebuild.
11711 * target.c (update_current_target): Don't inherit or default
11712 to_thread_name.
11713 (target_thread_name): Unconditionally delegate.
11714 * target.h (struct target_ops) <to_thread_name>: Use
11715 TARGET_DEFAULT_RETURN.
11716
4a7e6dda
TT
117172014-02-19 Tom Tromey <tromey@redhat.com>
11718
11719 * target-delegates.c: Rebuild.
11720 * target.c (update_current_target): Don't inherit or default
11721 to_extra_thread_info.
11722 * target.h (struct target_ops) <to_extra_thread_info>: Use
11723 TARGET_DEFAULT_RETURN.
11724
0db88c1d
TT
117252014-02-19 Tom Tromey <tromey@redhat.com>
11726
11727 * target-delegates.c: Rebuild.
11728 * target.c (update_current_target): Don't inherit or default
11729 to_has_exited.
11730 * target.h (struct target_ops) <to_has_exited>: Use
11731 TARGET_DEFAULT_RETURN..
11732
6a9fa051
TT
117332014-02-19 Tom Tromey <tromey@redhat.com>
11734
11735 * target-delegates.c: Rebuild.
11736 * target.c (update_current_target): Don't inherit or default
11737 to_set_syscall_catchpoint.
11738 (return_one): Remove.
11739 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use
11740 TARGET_DEFAULT_RETURN.
11741
62f64d7a
TT
117422014-02-19 Tom Tromey <tromey@redhat.com>
11743
11744 * target-delegates.c: Rebuild.
11745 * target.c (update_current_target): Don't inherit or default
11746 to_insert_exec_catchpoint.
11747 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11748 TARGET_DEFAULT_RETURN.
11749
cda0f38c
TT
117502014-01-08 Tom Tromey <tromey@redhat.com>
11751
11752 * target-delegates.c: Rebuild.
11753 * target.c (update_current_target): Don't inherit or default
11754 to_insert_exec_catchpoint.
11755 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use
11756 TARGET_DEFAULT_RETURN.
11757
95c3375e
TT
117582014-02-19 Tom Tromey <tromey@redhat.com>
11759
11760 * target-delegates.c: Rebuild.
11761 * target.c (update_current_target): Don't inherit or default
11762 to_remove_vfork_catchpoint.
11763 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use
11764 TARGET_DEFAULT_RETURN.
11765
7e18a8dc
TT
117662014-02-19 Tom Tromey <tromey@redhat.com>
11767
11768 * target-delegates.c: Rebuild.
11769 * target.c (update_current_target): Don't inherit or default
11770 to_insert_vfork_catchpoint.
11771 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use
11772 TARGET_DEFAULT_RETURN.
11773
e1a21fb7
TT
117742014-02-19 Tom Tromey <tromey@redhat.com>
11775
11776 * target-delegates.c: Rebuild.
11777 * target.c (update_current_target): Don't inherit or default
11778 to_remove_fork_catchpoint.
11779 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use
11780 TARGET_DEFAULT_RETURN.
11781
5958ebeb
TT
117822014-02-19 Tom Tromey <tromey@redhat.com>
11783
11784 * target-delegates.c: Rebuild.
11785 * target.c (update_current_target): Don't inherit or default
11786 to_insert_fork_catchpoint.
11787 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use
11788 TARGET_DEFAULT_RETURN.
11789
340ba4bf
TT
117902014-02-19 Tom Tromey <tromey@redhat.com>
11791
11792 * target-delegates.c: Rebuild.
11793 * target.c (update_current_target): Don't inherit or default
11794 to_post_startup_inferior.
11795 * target.h (struct target_ops) <to_post_startup_inferior>: Use
11796 TARGET_DEFAULT_IGNORE.
11797
7634da87
TT
117982014-02-19 Tom Tromey <tromey@redhat.com>
11799
11800 * target-delegates.c: Rebuild.
11801 * target.c (update_current_target): Don't inherit or default
11802 to_load.
11803 * target.h (struct target_ops) <to_load>: Use
11804 TARGET_DEFAULT_NORETURN.
11805
e19e919f
TT
118062014-02-19 Tom Tromey <tromey@redhat.com>
11807
11808 * target-delegates.c: Rebuild.
11809 * target.c (update_current_target): Don't inherit or default
11810 to_terminal_info.
11811 * target.h (struct target_ops) <to_terminal_info>: Use
11812 TARGET_DEFAULT_FUNC.
11813
c6ea8f79
TT
118142014-02-19 Tom Tromey <tromey@redhat.com>
11815
11816 * target-delegates.c: Rebuild.
11817 * target.c (update_current_target): Don't inherit or default
11818 to_terminal_save_ours.
11819 * target.h (struct target_ops) <to_terminal_save_ours>: Use
11820 TARGET_DEFAULT_IGNORE.
11821
e4a733f1
TT
118222014-02-19 Tom Tromey <tromey@redhat.com>
11823
11824 * target-delegates.c: Rebuild.
11825 * target.c (update_current_target): Don't inherit or default
11826 to_terminal_ours.
11827 * target.h (struct target_ops) <to_terminal_ours>: Use
11828 TARGET_DEFAULT_IGNORE.
11829
74fcbef9
TT
118302014-02-19 Tom Tromey <tromey@redhat.com>
11831
11832 * target-delegates.c: Rebuild.
11833 * target.c (update_current_target): Don't inherit or default
11834 to_terminal_ours_for_output.
11835 * target.h (struct target_ops) <to_terminal_ours_for_output>: Use
11836 TARGET_DEFAULT_IGNORE.
11837
ddeaacc9
TT
118382014-02-19 Tom Tromey <tromey@redhat.com>
11839
11840 * target-delegates.c: Rebuild.
11841 * target.c (update_current_target): Don't inherit or default
11842 to_terminal_inferior.
11843 * target.h (struct target_ops) <to_terminal_inferior>: Use
11844 TARGET_DEFAULT_IGNORE.
11845
0343661d
TT
118462014-02-19 Tom Tromey <tromey@redhat.com>
11847
11848 * target-delegates.c: Rebuild.
11849 * target.c (update_current_target): Don't inherit or default
11850 to_terminal_init.
11851 * target.h (struct target_ops) <to_terminal_init>: Use
11852 TARGET_DEFAULT_IGNORE.
11853
77cdffe9
TT
118542014-02-19 Tom Tromey <tromey@redhat.com>
11855
11856 * target-delegates.c: Rebuild.
11857 * target.c (update_current_target): Don't inherit or default
11858 to_can_accel_watchpoint_condition.
11859 * target.h (struct target_ops)
11860 <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN.
11861
d03655e4
TT
118622014-02-19 Tom Tromey <tromey@redhat.com>
11863
11864 * target-delegates.c: Rebuild.
11865 * target.c (update_current_target): Don't inherit or default
11866 to_region_ok_for_hw_watchpoint.
11867 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
11868 Use TARGET_DEFAULT_FUNC.
11869
65f160a9
TT
118702014-02-19 Tom Tromey <tromey@redhat.com>
11871
11872 * target-delegates.c: Rebuild.
11873 * target.c (update_current_target): Don't inherit or default
11874 to_watchpoint_addr_within_range.
11875 * target.h (struct target_ops) <to_watchpoint_addr_within_range>:
11876 Use TARGET_DEFAULT_FUNC.
11877
61dd109f
TT
118782014-02-19 Tom Tromey <tromey@redhat.com>
11879
11880 * target-delegates.c: Rebuild.
11881 * target.c (update_current_target): Don't inherit or default
11882 to_remove_watchpoint.
11883 * target.h (struct target_ops) <to_remove_watchpoint>: Use
11884 TARGET_DEFAULT_NORETURN.
11885
016facd4
TT
118862014-02-19 Tom Tromey <tromey@redhat.com>
11887
11888 * target-delegates.c: Rebuild.
11889 * target.c (update_current_target): Don't inherit or default
11890 to_insert_watchpoint.
11891 * target.h (struct target_ops) <to_insert_watchpoint>: Use
11892 TARGET_DEFAULT_RETURN.
11893
418dabac
TT
118942014-02-19 Tom Tromey <tromey@redhat.com>
11895
11896 * target-delegates.c: Rebuild.
11897 * target.c (update_current_target): Don't inherit or default
11898 to_remove_hw_breakpoint.
11899 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use
11900 TARGET_DEFAULT_RETURN.
11901
61b371f9
TT
119022014-02-19 Tom Tromey <tromey@redhat.com>
11903
11904 * target-delegates.c: Rebuild.
11905 * target.c (update_current_target): Don't inherit or default
11906 to_insert_hw_breakpoint.
11907 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use
11908 TARGET_DEFAULT_RETURN.
11909
52b51d06
TT
119102014-02-19 Tom Tromey <tromey@redhat.com>
11911
11912 * target-delegates.c: Rebuild.
11913 * target.c (update_current_target): Don't inherit or default
11914 to_can_use_hw_breakpoint.
11915 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use
11916 TARGET_DEFAULT_RETURN.
11917
f86e59b2
TT
119182014-02-19 Tom Tromey <tromey@redhat.com>
11919
11920 * target-delegates.c: Rebuild.
11921 * target.c (update_current_target): Don't inherit or default
11922 to_files_info.
11923 * target.h (struct target_ops) <to_files_info>: Use
11924 TARGET_DEFAULT_IGNORE.
11925
6c628163
TT
119262014-02-19 Tom Tromey <tromey@redhat.com>
11927
11928 * target-delegates.c: Rebuild.
11929 * target.c (update_current_target): Don't inherit or default
11930 to_store.
11931 * target.h (struct target_ops) <to_store>: Use
11932 TARGET_DEFAULT_NORETURN.
11933
bebd3233
TT
119342014-02-19 Tom Tromey <tromey@redhat.com>
11935
11936 * target-delegates.c: Rebuild.
11937 * target.c (update_current_target): Don't inherit or default
11938 to_post_attach.
11939 * target.h (struct target_ops) <to_post_attach>: Use
11940 TARGET_DEFAULT_IGNORE.
11941
a53f3625
TT
119422014-02-19 Tom Tromey <tromey@redhat.com>
11943
11944 * target-delegates.c: Rebuild.
11945 * target.c (update_current_target): Don't inherit or default
11946 to_rcmd.
11947 (default_rcmd): New function.
11948 (do_monitor_command): Unconditionally delegate.
11949 * target.h (struct target_ops) <to_rmcd>: Use
11950 TARGET_DEFAULT_FUNC.
11951
e9a29200
TT
119522014-02-19 Tom Tromey <tromey@redhat.com>
11953
11954 * target-delegates.c: Rebuild.
11955 * target.c (init_dummy_target): Don't initialize to_attach.
11956 (target_attach): Unconditionally delegate.
11957 * target.h (struct target_ops) <to_attach>: Use
11958 TARGET_DEFAULT_FUNC.
11959
09da0d0a
TT
119602014-02-19 Tom Tromey <tromey@redhat.com>
11961
11962 * target-delegates.c: Rebuild.
11963 * target.c (target_detach): Unconditionally delegate.
11964 (init_dummy_target): Don't initialize to_detach.
11965 * target.h (struct target_ops) <to_detach>: Use
11966 TARGET_DEFAULT_IGNORE.
11967
5436ff03
TT
119682014-02-19 Tom Tromey <tromey@redhat.com>
11969
11970 * target.h (struct target_ops) <to_augmented_libraries_svr4_read>:
11971 Add argument.
11972 (target_augmented_libraries_svr4_read): Add argument.
11973 * target.c (update_current_target): Update.
11974 * remote.c (remote_augmented_libraries_svr4_read): Add 'self'
11975 argument.
11976
f0d960ea
TT
119772014-02-19 Tom Tromey <tromey@redhat.com>
11978
11979 * target.h (struct target_ops) <to_call_history_range>: Add
11980 argument.
11981 * target.c (target_call_history_range): Add argument.
11982 * record-btrace.c (record_btrace_call_history_range): Add 'self'
11983 argument.
11984 (record_btrace_call_history_from): Update.
11985
ec0aea04
TT
119862014-02-19 Tom Tromey <tromey@redhat.com>
11987
11988 * target.h (struct target_ops) <to_call_history_from>: Add
11989 argument.
11990 * target.c (target_call_history_from): Add argument.
11991 * record-btrace.c (record_btrace_call_history_from): Add 'self'
11992 argument.
11993
5df2fcba
TT
119942014-02-19 Tom Tromey <tromey@redhat.com>
11995
11996 * target.h (struct target_ops) <to_call_history>: Add argument.
11997 * target.c (target_call_history): Add argument.
11998 * record-btrace.c (record_btrace_call_history): Add 'self'
11999 argument.
12000
4e99c6b7
TT
120012014-02-19 Tom Tromey <tromey@redhat.com>
12002
12003 * target.h (struct target_ops) <to_insn_history_range>: Add
12004 argument.
12005 * target.c (target_insn_history_range): Add argument.
12006 * record-btrace.c (record_btrace_insn_history_range): Add 'self'
12007 argument.
12008 (record_btrace_insn_history_from): Update.
12009
9abc3ff3
TT
120102014-02-19 Tom Tromey <tromey@redhat.com>
12011
12012 * target.h (struct target_ops) <to_insn_history_from>: Add
12013 argument.
12014 * target.c (target_insn_history_from): Add argument.
12015 * record-btrace.c (record_btrace_insn_history_from): Add 'self'
12016 argument.
12017
7a6c5609
TT
120182014-02-19 Tom Tromey <tromey@redhat.com>
12019
12020 * target.h (struct target_ops) <to_insn_history>: Add argument.
12021 * target.c (target_insn_history): Add argument.
12022 * record-btrace.c (record_btrace_insn_history): Add 'self'
12023 argument.
12024
606183ac
TT
120252014-02-19 Tom Tromey <tromey@redhat.com>
12026
12027 * target.h (struct target_ops) <to_goto_record>: Add argument.
12028 * target.c (target_goto_record): Add argument.
12029 * record-full.c (record_full_goto): Add 'self' argument.
12030 * record-btrace.c (record_btrace_goto): Add 'self' argument.
12031
307a1b91
TT
120322014-02-19 Tom Tromey <tromey@redhat.com>
12033
12034 * target.h (struct target_ops) <to_goto_record_end>: Add argument.
12035 * target.c (target_goto_record_end): Add argument.
12036 * record-full.c (record_full_goto_end): Add 'self' argument.
12037 * record-btrace.c (record_btrace_goto_end): Add 'self' argument.
12038
08475817
TT
120392014-02-19 Tom Tromey <tromey@redhat.com>
12040
12041 * target.h (struct target_ops) <to_goto_record_begin>: Add
12042 argument.
12043 * target.c (target_goto_record_begin): Add argument.
12044 * record-full.c (record_full_goto_begin): Add 'self' argument.
12045 * record-btrace.c (record_btrace_goto_begin): Add 'self'
12046 argument.
12047
1c63c994
TT
120482014-02-19 Tom Tromey <tromey@redhat.com>
12049
12050 * target.h (struct target_ops) <to_record_is_replaying>: Add
12051 argument.
12052 * target.c (target_record_is_replaying): Add argument.
12053 * record-full.c (record_full_is_replaying): Add 'self' argument.
12054 * record-btrace.c (record_btrace_is_replaying): Add 'self'
12055 argument.
12056 (record_btrace_xfer_partial, record_btrace_store_registers)
12057 (record_btrace_prepare_to_store, record_btrace_resume)
12058 (record_btrace_wait, record_btrace_decr_pc_after_break)
12059 (record_btrace_find_new_threads, record_btrace_thread_alive):
12060 Update.
12061
d1b55219
TT
120622014-02-19 Tom Tromey <tromey@redhat.com>
12063
12064 * target.h (struct target_ops) <to_delete_record>: Add argument.
12065 * target.c (target_delete_record): Add argument.
12066 * record-full.c (record_full_delete): Add 'self' argument.
12067
1390f529
TT
120682014-02-19 Tom Tromey <tromey@redhat.com>
12069
12070 * target.h (struct target_ops) <to_save_record>: Add argument.
12071 * target.c (target_save_record): Add argument.
12072 * record-full.c (record_full_save): Add 'self' argument.
12073 (record_full_save): Add 'self' argument.
12074
630d6a4a
TT
120752014-02-19 Tom Tromey <tromey@redhat.com>
12076
12077 * target.h (struct target_ops) <to_info_record>: Add argument.
12078 * target.c (target_info_record): Add argument.
12079 * record.c (info_record_command): Add argument.
12080 * record-full.c (record_full_info): Add 'self' argument.
12081 * record-btrace.c (record_btrace_info): Add 'self' argument.
12082
c6cd7c02
TT
120832014-02-19 Tom Tromey <tromey@redhat.com>
12084
12085 * target.h (struct target_ops) <to_stop_recording>: Add argument.
12086 * target.c (target_stop_recording): Add argument.
12087 * record.c (record_stop): Add argument.
12088 * record-btrace.c (record_btrace_stop_recording): Add 'self'
12089 argument.
12090
39c49f83
TT
120912014-02-19 Tom Tromey <tromey@redhat.com>
12092
12093 * target.h (struct target_ops) <to_read_btrace>: Add argument.
12094 * target.c (struct target_ops) <to_read_btrace>: Add argument.
12095 * remote.c (struct target_ops) <to_read_btrace>: Add 'self'
12096 argument.
12097 * amd64-linux-nat.c (amd64_linux_read_btrace): New function.
12098 (_initialize_amd64_linux_nat): Use it.
12099 * i386-linux-nat.c (i386_linux_read_btrace): New function.
12100 (_initialize_i386_linux_nat): Use it.
12101
1777056d
TT
121022014-02-19 Tom Tromey <tromey@redhat.com>
12103
12104 * target.h (struct target_ops) <to_teardown_btrace>: Add argument.
12105 * target.c (target_teardown_btrace): Add argument.
12106 * remote.c (remote_teardown_btrace): Add 'self' argument.
12107 * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self'
12108 argument.
12109 * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self'
12110 argument.
12111
25e95349
TT
121122014-02-19 Tom Tromey <tromey@redhat.com>
12113
12114 * target.h (struct target_ops) <to_disable_btrace>: Add argument.
12115 * target.c (target_disable_btrace): Add argument.
12116 * remote.c (remote_disable_btrace): Add 'self' argument.
12117 * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self'
12118 argument.
12119 * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self'
12120 argument.
12121
e3c49f88
TT
121222014-02-19 Tom Tromey <tromey@redhat.com>
12123
12124 * target.h (struct target_ops) <to_enable_btrace>: Add argument.
12125 * target.c (target_enable_btrace): Add argument.
12126 * remote.c (remote_enable_btrace): Add 'self' argument.
12127 * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self'
12128 argument.
12129 * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self'
12130 argument.
12131
fe38f897
TT
121322014-02-19 Tom Tromey <tromey@redhat.com>
12133
12134 * target.h (struct target_ops) <to_can_use_agent>: Add argument.
12135 (target_can_use_agent): Add argument.
12136 * target.c (update_current_target): Update.
12137 * remote.c (remote_can_use_agent): Add 'self' argument.
12138 * inf-child.c (inf_child_can_use_agent): Add 'self' argument.
12139
2c152180
TT
121402014-02-19 Tom Tromey <tromey@redhat.com>
12141
12142 * target.h (struct target_ops) <to_use_agent>: Add argument.
12143 (target_use_agent): Add argument.
12144 * target.c (update_current_target): Update.
12145 * remote.c (remote_use_agent): Add 'self' argument.
12146 * inf-child.c (inf_child_use_agent): Add 'self' argument.
12147
a893e81f
TT
121482014-02-19 Tom Tromey <tromey@redhat.com>
12149
12150 * tracepoint.c (tfile_traceframe_info): Add 'self' argument.
12151 * target.h (struct target_ops) <to_traceframe_info>: Add argument.
12152 (target_traceframe_info): Add argument.
12153 * target.c (update_current_target): Update.
12154 * remote.c (remote_traceframe_info): Add 'self' argument.
12155 * ctf.c (ctf_traceframe_info): Add 'self' argument.
12156
c686c57f
TT
121572014-02-19 Tom Tromey <tromey@redhat.com>
12158
12159 * target.h (target_static_tracepoint_markers_by_strid): Add
12160 argument.
12161 (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add
12162 'self' argument.
12163 * target.c (update_current_target): Update.
12164 * remote.c (struct target_ops)
12165 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
12166 * linux-nat.c (struct target_ops)
12167 <to_static_tracepoint_markers_by_strid>: Add 'self' argument.
12168
61fc905d
TT
121692014-02-19 Tom Tromey <tromey@redhat.com>
12170
12171 * target.h (struct target_ops) <to_static_tracepoint_marker_at>:
12172 Add argument.
12173 (target_static_tracepoint_marker_at): Add argument.
12174 * target.c (update_current_target): Update.
12175 * remote.c (remote_static_tracepoint_marker_at): Add 'self'
12176 argument.
12177
c378d69d
TT
121782014-02-19 Tom Tromey <tromey@redhat.com>
12179
12180 * target.h (struct target_ops) <to_set_permissions>: Add argument.
12181 (target_set_permissions): Add argument.
12182 * target.c (update_current_target): Update.
12183 * remote.c (remote_set_permissions): Add 'self' argument.
12184 (remote_start_remote): Update.
12185
bd7ae0f5
TT
121862014-02-19 Tom Tromey <tromey@redhat.com>
12187
12188 * windows-nat.c (windows_get_tib_address): Add 'self' argument.
12189 * target.h (struct target_ops) <to_get_tib_address>: Add argument.
12190 (target_get_tib_address): Add argument.
12191 * target.c (update_current_target): Update.
12192 * remote.c (remote_get_tib_address): Add 'self' argument.
12193
d9e68a2c
TT
121942014-02-19 Tom Tromey <tromey@redhat.com>
12195
12196 * target.h (struct target_ops) <to_set_trace_notes>: Add argument.
12197 (target_set_trace_notes): Add argument.
12198 * target.c (update_current_target): Update.
12199 * remote.c (remote_set_trace_notes): Add 'self' argument.
12200
4da384be
TT
122012014-02-19 Tom Tromey <tromey@redhat.com>
12202
12203 * target.h (struct target_ops) <to_set_trace_buffer_size>: Add
12204 argument.
12205 (target_set_trace_buffer_size): Add argument.
12206 * target.c (update_current_target): Update.
12207 * remote.c (remote_set_trace_buffer_size): Add 'self' argument.
12208
736d5b1f
TT
122092014-02-19 Tom Tromey <tromey@redhat.com>
12210
12211 * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add
12212 argument.
12213 (target_set_circular_trace_buffer): Add argument.
12214 * target.c (update_current_target): Update.
12215 * remote.c (remote_set_circular_trace_buffer): Add 'self'
12216 argument.
12217
37b25738
TT
122182014-02-19 Tom Tromey <tromey@redhat.com>
12219
12220 * target.h (struct target_ops) <to_set_disconnected_tracing>: Add
12221 argument.
12222 (target_set_disconnected_tracing): Add argument.
12223 * target.c (update_current_target): Update.
12224 * remote.c (remote_set_disconnected_tracing): Add 'self' argument.
12225
0e67620a
TT
122262014-02-19 Tom Tromey <tromey@redhat.com>
12227
12228 * target.h (struct target_ops)
12229 <to_get_min_fast_tracepoint_insn_len>: Add argument.
12230 (target_get_min_fast_tracepoint_insn_len): Add argument.
12231 * target.c (update_current_target): Update.
12232 * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self'
12233 argument.
12234
88ee6f45
TT
122352014-02-19 Tom Tromey <tromey@redhat.com>
12236
12237 * target.h (struct target_ops) <to_get_raw_trace_data>: Add
12238 argument.
12239 (target_get_raw_trace_data): Add argument.
12240 * target.c (update_current_target): Update.
12241 * remote.c (remote_get_raw_trace_data): Add 'self' argument.
12242
181e3713
TT
122432014-02-19 Tom Tromey <tromey@redhat.com>
12244
12245 * target.h (struct target_ops) <to_upload_trace_state_variables>:
12246 Add argument.
12247 (target_upload_trace_state_variables): Add argument.
12248 * target.c (update_current_target): Update.
12249 * remote.c (remote_upload_trace_state_variables): Add 'self'
12250 argument.
12251 (remote_start_remote): Update.
12252
ab6617cc
TT
122532014-02-19 Tom Tromey <tromey@redhat.com>
12254
12255 * target.h (struct target_ops) <to_upload_tracepoints>: Add
12256 argument.
12257 (target_upload_tracepoints): Add argument.
12258 * target.c (update_current_target): Update.
12259 * remote.c (remote_upload_tracepoints): Add 'self' argument.
12260 (remote_start_remote): Update.
12261
dc3decaf
TT
122622014-02-19 Tom Tromey <tromey@redhat.com>
12263
12264 * target.h (struct target_ops) <to_save_trace_data>: Add argument.
12265 (target_save_trace_data): Add argument.
12266 * target.c (update_current_target): Update.
12267 * remote.c (remote_save_trace_data): Add 'self' argument.
12268
4011015b
TT
122692014-02-19 Tom Tromey <tromey@redhat.com>
12270
12271 * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self'
12272 argument.
12273 * target.h (struct target_ops)
12274 <to_get_trace_state_variable_value>: Add argument.
12275 (target_get_trace_state_variable_value): Add argument.
12276 * target.c (update_current_target): Update.
12277 * remote.c (remote_get_trace_state_variable_value): Add 'self'
12278 argument.
12279 * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument.
12280
bd4c6793
TT
122812014-02-19 Tom Tromey <tromey@redhat.com>
12282
12283 * tracepoint.c (tfile_trace_find): Add 'self' argument.
12284 * target.h (struct target_ops) <to_trace_find>: Add argument.
12285 (target_trace_find): Add argument.
12286 * target.c (update_current_target): Update.
12287 * remote.c (remote_trace_find): Add 'self' argument.
12288 * ctf.c (ctf_trace_find): Add 'self' argument.
12289
74499f1b
TT
122902014-02-19 Tom Tromey <tromey@redhat.com>
12291
12292 * target.h (struct target_ops) <to_trace_stop>: Add argument.
12293 (target_trace_stop): Add argument.
12294 * target.c (update_current_target): Update.
12295 * remote.c (remote_trace_stop): Add 'self' argument.
12296
db90e85c
TT
122972014-02-19 Tom Tromey <tromey@redhat.com>
12298
12299 * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument.
12300 * target.h (struct target_ops) <to_get_tracepoint_status>: Add
12301 argument.
12302 (target_get_tracepoint_status): Add argument.
12303 * target.c (update_current_target): Update.
12304 * remote.c (remote_get_tracepoint_status): Add 'self' argument.
12305
8bd200f1
TT
123062014-02-19 Tom Tromey <tromey@redhat.com>
12307
12308 * tracepoint.c (tfile_get_trace_status): Add 'self' argument.
12309 * target.h (struct target_ops) <to_get_trace_status>: Add
12310 argument.
12311 (target_get_trace_status): Add argument.
12312 * target.c (update_current_target): Update.
12313 * remote.c (remote_get_trace_status): Add 'self' argument.
12314 (remote_start_remote, remote_can_download_tracepoint): Update.
12315 * ctf.c (ctf_get_trace_status): Add 'self' argument.
12316
e2d1aae3
TT
123172014-02-19 Tom Tromey <tromey@redhat.com>
12318
12319 * target.h (struct target_ops) <to_trace_start>: Add argument.
12320 (target_trace_start): Add argument.
12321 * target.c (update_current_target): Update.
12322 * remote.c (remote_trace_start): Add 'self' argument.
12323
583f9a86
TT
123242014-02-19 Tom Tromey <tromey@redhat.com>
12325
12326 * target.h (struct target_ops) <to_trace_set_readonly_regions>:
12327 Add argument.
12328 (target_trace_set_readonly_regions): Add argument.
12329 * target.c (update_current_target): Update.
12330 * remote.c (remote_trace_set_readonly_regions): Add 'self'
12331 argument.
12332
780b049c
TT
123332014-02-19 Tom Tromey <tromey@redhat.com>
12334
12335 * target.h (struct target_ops) <to_disable_tracepoint>: Add
12336 argument.
12337 (target_disable_tracepoint): Add argument.
12338 * target.c (update_current_target): Update.
12339 * remote.c (remote_disable_tracepoint): Add 'self' argument.
12340
46670d57
TT
123412014-02-19 Tom Tromey <tromey@redhat.com>
12342
12343 * target.h (struct target_ops) <to_enable_tracepoint>: Add
12344 argument.
12345 (target_enable_tracepoint): Add argument.
12346 * target.c (update_current_target): Update.
12347 * remote.c (remote_enable_tracepoint): Add 'self' argument.
12348
559d2b81
TT
123492014-02-19 Tom Tromey <tromey@redhat.com>
12350
12351 * target.h (struct target_ops) <to_download_trace_state_variable>:
12352 Add argument.
12353 (target_download_trace_state_variable): Add argument.
12354 * target.c (update_current_target): Update.
12355 * remote.c (remote_download_trace_state_variable): Add 'self'
12356 argument.
12357
a52a8357
TT
123582014-02-19 Tom Tromey <tromey@redhat.com>
12359
12360 * target.h (struct target_ops) <to_can_download_tracepoint>: Add
12361 argument.
12362 (target_can_download_tracepoint): Add argument.
12363 * target.c (update_current_target): Update.
12364 * remote.c (remote_can_download_tracepoint): Add 'self' argument.
12365
548f7808
TT
123662014-02-19 Tom Tromey <tromey@redhat.com>
12367
12368 * target.h (struct target_ops) <to_download_tracepoint>: Add
12369 argument.
12370 (target_download_tracepoint): Add argument.
12371 * target.c (update_current_target): Update.
12372 * remote.c (remote_download_tracepoint): Add 'self' argument.
12373
ecae04e1
TT
123742014-02-19 Tom Tromey <tromey@redhat.com>
12375
12376 * target.h (struct target_ops) <to_trace_init>: Add argument.
12377 (target_trace_init): Add argument.
12378 * target.c (update_current_target): Update.
12379 * remote.c (remote_trace_init): Add 'self' argument.
12380
fab5aa7c
TT
123812014-02-19 Tom Tromey <tromey@redhat.com>
12382
12383 * target.h (struct target_ops) <to_fileio_readlink>: Add argument.
12384 * target.c (target_fileio_readlink): Add argument.
12385 * remote.c (remote_hostio_readlink): Add 'self' argument.
12386 * inf-child.c (inf_child_fileio_readlink): Add 'self' argument.
12387
dbbca37d
TT
123882014-02-19 Tom Tromey <tromey@redhat.com>
12389
12390 * target.h (struct target_ops) <to_fileio_unlink>: Add argument.
12391 * target.c (target_fileio_unlink): Add argument.
12392 * remote.c (remote_hostio_unlink): Add 'self' argument.
12393 (remote_file_delete): Update.
12394 * inf-child.c (inf_child_fileio_unlink): Add 'self' argument.
12395
df39ea25
TT
123962014-02-19 Tom Tromey <tromey@redhat.com>
12397
12398 * target.h (struct target_ops) <to_fileio_close>: Add argument.
12399 * target.c (target_fileio_close): Add argument.
12400 * remote.c (remote_hostio_close): Add 'self' argument.
12401 (remote_hostio_close_cleanup): Update.
12402 (remote_bfd_iovec_close, remote_file_put, remote_file_get):
12403 Update.
12404 * inf-child.c (inf_child_fileio_close): Add 'self' argument.
12405
a3be983c
TT
124062014-02-19 Tom Tromey <tromey@redhat.com>
12407
12408 * target.h (struct target_ops) <to_fileio_pread>: Add argument.
12409 * target.c (target_fileio_pread): Add argument.
12410 * remote.c (remote_hostio_pread): Add 'self' argument.
12411 (remote_bfd_iovec_pread, remote_file_get): Update.
12412 * inf-child.c (inf_child_fileio_pread): Add 'self' argument.
12413
0d866f62
TT
124142014-02-19 Tom Tromey <tromey@redhat.com>
12415
12416 * target.h (struct target_ops) <to_fileio_pwrite>: Add argument.
12417 * target.c (target_fileio_pwrite): Add argument.
12418 * remote.c (remote_hostio_pwrite): Add 'self' argument.
12419 (remote_file_put): Update.
12420 * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument.
12421
cd897586
TT
124222014-02-19 Tom Tromey <tromey@redhat.com>
12423
12424 * target.h (struct target_ops) <to_fileio_open>: Add argument.
12425 * target.c (target_fileio_open): Add argument.
12426 * remote.c (remote_hostio_open): Add 'self' argument.
12427 (remote_bfd_iovec_open): Add 'self' argument.
12428 (remote_file_put): Add 'self' argument.
12429 (remote_file_get): Add 'self' argument.
12430 * inf-child.c (inf_child_fileio_open): Add 'self' argument.
12431
78eff0ec
TT
124322014-02-19 Tom Tromey <tromey@redhat.com>
12433
12434 * target.h (struct target_ops) <to_can_run_breakpoint_commands>:
12435 Add argument.
12436 (target_can_run_breakpoint_commands): Add argument.
12437 * target.c (update_current_target): Update.
12438 * remote.c (remote_can_run_breakpoint_commands): Add 'self'
12439 argument.
12440 (remote_insert_breakpoint): Add 'self' argument.
12441 (remote_insert_hw_breakpoint): Add 'self' argument.
12442 (remote_can_run_breakpoint_commands): Add 'self' argument.
12443
efcc2da7
TT
124442014-02-19 Tom Tromey <tromey@redhat.com>
12445
12446 * target.h (struct target_ops)
12447 <to_supports_evaluation_of_breakpoint_conditions>: Add argument.
12448 (target_supports_evaluation_of_breakpoint_conditions): Add
12449 argument.
12450 * target.c (update_current_target): Update.
12451 * remote.c (remote_supports_cond_breakpoints): Add 'self'
12452 argument.
12453 (remote_insert_breakpoint): Add 'self' argument.
12454 (remote_insert_hw_breakpoint): Add 'self' argument.
12455 (remote_supports_cond_breakpoints): Add 'self' argument.
12456
6de37a3a
TT
124572014-02-19 Tom Tromey <tromey@redhat.com>
12458
12459 * target.h (struct target_ops) <to_supports_string_tracing>: Add
12460 argument.
12461 (target_supports_string_tracing): Add argument.
12462 * target.c (update_current_target): Update.
12463 * remote.c (remote_supports_string_tracing): Add 'self' argument.
12464
2bfc0540
TT
124652014-02-19 Tom Tromey <tromey@redhat.com>
12466
12467 * target.h (struct target_ops)
12468 <to_supports_disable_randomization>: Add argument.
12469 * target.c (find_default_supports_disable_randomization): Add
12470 argument.
12471 (target_supports_disable_randomization): Add argument.
12472 (find_default_supports_disable_randomization): Add 'self'
12473 argument.
12474 * remote.c (extended_remote_supports_disable_randomization): Add
12475 'self' argument.
12476 (remote_supports_disable_randomization): Add 'self' argument.
12477 (extended_remote_create_inferior): Update.
12478 * linux-nat.c (linux_nat_supports_disable_randomization): Add
12479 'self' argument.
12480
7d178d6a
TT
124812014-02-19 Tom Tromey <tromey@redhat.com>
12482
12483 * target.h (struct target_ops)
12484 <to_supports_enable_disable_tracepoint>: Add argument.
12485 (target_supports_enable_disable_tracepoint): Add argument.
12486 * target.c (update_current_target): Update.
12487 * remote.c (remote_supports_enable_disable_tracepoint): Add 'self'
12488 argument.
12489
86ce2668
TT
124902014-02-19 Tom Tromey <tromey@redhat.com>
12491
12492 * target.h (struct target_ops) <to_supports_multi_process>: Add
12493 argument.
12494 (target_supports_multi_process): Add argument.
12495 * target.c (update_current_target): Update.
12496 * remote.c (remote_supports_multi_process): Add 'self' argument.
12497 * linux-nat.c (linux_nat_supports_multi_process): Add 'self'
12498 argument.
12499 * darwin-nat.c (darwin_supports_multi_process): Add 'self'
12500 argument.
12501
4c612759
TT
125022014-02-19 Tom Tromey <tromey@redhat.com>
12503
12504 * target.h (struct target_ops) <to_execution_direction>: Add
12505 argument.
12506 (target_execution_direction): Add argument.
12507 * target.c (default_execution_direction): Add 'self' argument.
12508 * record-full.c (record_full_execution_direction): Add 'self'
12509 argument.
12510
19db3e69
TT
125112014-02-19 Tom Tromey <tromey@redhat.com>
12512
12513 * target.h (struct target_ops) <to_can_execute_reverse>: Add
12514 argument.
12515 (target_can_execute_reverse): Add argument.
12516 * remote.c (remote_can_execute_reverse): Add 'self' argument.
12517 * record-full.c (record_full_can_execute_reverse): Add 'self'
12518 argument.
12519 * record-btrace.c (record_btrace_can_execute_reverse): Add 'self'
12520 argument.
12521
1e6b91a4
TT
125222014-02-19 Tom Tromey <tromey@redhat.com>
12523
12524 * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument.
12525 * target.h (struct target_ops) <to_get_ada_task_ptid>: Add
12526 argument.
12527 (target_get_ada_task_ptid): Add argument.
12528 * target.c (update_current_target): Update.
12529 (default_get_ada_task_ptid): Add 'self' argument.
12530 * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument.
12531 * remote.c (remote_get_ada_task_ptid): Add 'self' argument.
12532 * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self'
12533 argument.
12534 * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self'
12535 argument.
12536 * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self'
12537 argument.
12538 * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self'
12539 argument.
12540 * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument.
12541 * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self'
12542 argument.
12543
3c80fb48
TT
125442014-02-19 Tom Tromey <tromey@redhat.com>
12545
12546 * target.h (struct target_ops) <to_goto_bookmark>: Add argument.
12547 (target_goto_bookmark): Add argument.
12548 * target.c (dummy_goto_bookmark): Add 'self' argument.
12549 * record-full.c (record_full_goto_bookmark): Add 'self' argument.
12550
dd0e2830
TT
125512014-02-19 Tom Tromey <tromey@redhat.com>
12552
12553 * target.h (struct target_ops) <to_get_bookmark>: Add argument.
12554 (target_get_bookmark): Add argument.
12555 * target.c (dummy_get_bookmark): Add 'self' argument.
12556 * record-full.c (record_full_get_bookmark): Add 'self' argument.
12557
fc6691b2
TT
125582014-02-19 Tom Tromey <tromey@redhat.com>
12559
12560 * target.h (struct target_ops) <to_make_corefile_notes>: Add
12561 argument.
12562 (target_make_corefile_notes): Add argument.
12563 * target.c (dummy_make_corefile_notes): Add 'self' argument.
12564 * procfs.c (procfs_make_note_section): Add 'self' argument.
12565 (procfs_make_note_section): Add 'self' argument.
12566 (procfs_make_note_section): Add 'self' argument.
12567 * linux-nat.c (linux_nat_make_corefile_notes): Add 'self'
12568 argument.
12569 * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument.
12570 * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument.
12571 * exec.c (exec_make_note_section): Add 'self' argument.
12572 (exec_make_note_section): Add 'self' argument.
12573
2e73927c
TT
125742014-02-19 Tom Tromey <tromey@redhat.com>
12575
12576 * target.h (struct target_ops) <to_find_memory_regions>: Add
12577 argument.
12578 (target_find_memory_regions): Add argument.
12579 * target.c (dummy_find_memory_regions): Add 'self' argument.
12580 * procfs.c (proc_find_memory_regions): Add 'self' argument.
12581 * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument.
12582 * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument.
12583 * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument.
12584 * exec. (exec_do_find_memory_regions): New global.
12585 (exec_set_find_memory_regions): Rewrite.
12586 (exec_find_memory_regions): New function.
12587 (init_exec_ops): Use exec_find_memory_regions.
12588
2a9a2795
TT
125892014-02-19 Tom Tromey <tromey@redhat.com>
12590
12591 * target.h (struct target_ops) <to_supports_non_stop>: Add
12592 argument.
12593 * target.c (find_default_supports_non_stop): Add argument.
12594 (target_supports_non_stop): Add argument.
12595 (find_default_supports_non_stop): Add 'self' argument.
12596 * remote.c (remote_supports_non_stop): Add 'self' argument.
12597 * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument.
12598
4ab76ea3
TT
125992014-02-19 Tom Tromey <tromey@redhat.com>
12600
12601 * target.h (struct target_ops) <to_log_command>: Add argument.
12602 (target_log_command): Add argument.
12603 * serial.h (serial_log_command): Add 'self' argument.
12604 * serial.c (serial_log_command): Add 'self' argument.
12605
8dd27370
TT
126062014-02-19 Tom Tromey <tromey@redhat.com>
12607
12608 * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument.
12609 * target.h (struct target_ops) <to_pid_to_exec_file>: Add
12610 argument.
12611 (target_pid_to_exec_file): Add argument.
12612 * target.c (debug_to_pid_to_exec_file): Add argument.
12613 (update_current_target): Update.
12614 * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument.
12615 * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument.
12616 * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument.
12617 (linux_handle_extended_wait): Update.
12618 * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument.
12619 * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument.
12620 * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument.
12621 * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument.
12622
1aac633b
TT
126232014-02-19 Tom Tromey <tromey@redhat.com>
12624
12625 * target.h (struct target_ops) <to_rcmd>: Add argument.
12626 (target_rcmd): Add argument.
12627 * target.c (debug_to_rcmd): Add argument.
12628 (update_current_target, do_monitor_command): Update.
12629 * remote.c (remote_rcmd): Add 'self' argument.
12630 * monitor.c (monitor_rcmd): Add 'self' argument.
12631
1eab8a48
TT
126322014-02-19 Tom Tromey <tromey@redhat.com>
12633
12634 * windows-nat.c (windows_stop): Add 'self' argument.
12635 * target.h (struct target_ops) <to_stop>: Add argument.
12636 * target.c (target_stop): Add argument.
12637 (debug_to_stop): Add argument.
12638 (update_current_target): Update.
12639 * remote.c (remote_stop): Add 'self' argument.
12640 * remote-sim.c (gdbsim_stop): Add 'self' argument.
12641 (gdbsim_cntrl_c): Update.
12642 * remote-m32r-sdi.c (m32r_stop): Add 'self' argument.
12643 * procfs.c (procfs_stop): Add 'self' argument.
12644 * nto-procfs.c (procfs_stop): Add 'self' argument.
12645 * monitor.c (monitor_stop): Add 'self' argument.
12646 (monitor_open): Update.
12647 * linux-nat.c (linux_nat_stop): Add argument.
12648 * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument.
12649 * gnu-nat.c (gnu_stop): Add 'self' argument.
12650 * darwin-nat.c (darwin_stop): Add 'self' argument.
12651
503a628d
TT
126522014-02-19 Tom Tromey <tromey@redhat.com>
12653
12654 * target.h (struct target_ops) <to_thread_name>: Add argument.
12655 * target.c (target_thread_name): Add argument.
12656 (update_current_target): Update.
12657 * linux-nat.c (linux_nat_thread_name): Add 'self' argument.
12658
c15906d8
TT
126592014-02-19 Tom Tromey <tromey@redhat.com>
12660
12661 * target.h (struct target_ops) <to_extra_thread_info>: Add
12662 argument.
12663 (target_extra_thread_info): Add argument.
12664 * target.c (update_current_target): Update.
12665 * remote.c (remote_threads_extra_info): Add 'self' argument.
12666 * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self'
12667 argument.
12668 * nto-tdep.h (nto_extra_thread_info): Add 'self' argument.
12669 * nto-tdep.c (nto_extra_thread_info): Add 'self' argument.
12670 * linux-thread-db.c (thread_db_extra_thread_info): Add 'self'
12671 argument.
12672 * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self'
12673 argument.
12674 * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self'
12675 argument.
12676 * aix-thread.c (aix_thread_extra_thread_info): Add 'self'
12677 argument.
12678
daf5e9b6
TT
126792014-02-19 Tom Tromey <tromey@redhat.com>
12680
12681 * target.h (struct target_ops) <to_program_signals>: Add argument.
12682 * target.c (target_program_signals): Add argument.
12683 * remote.c (remote_program_signals): Add 'self' argument.
12684
94bedb42
TT
126852014-02-19 Tom Tromey <tromey@redhat.com>
12686
12687 * target.h (struct target_ops) <to_pass_signals>: Add argument.
12688 * target.c (target_pass_signals): Add argument.
12689 * remote.c (remote_pass_signals): Add 'self' argument.
12690 (remote_start_remote): Update.
12691 * procfs.c (procfs_pass_signals): Add 'self' argument.
12692 * nto-procfs.c (procfs_pass_signals): Add 'self' argument.
12693 * linux-nat.c (linux_nat_pass_signals): Add 'self' argument.
12694 (linux_nat_create_inferior, linux_nat_attach): Update.
12695
da82bd6b
TT
126962014-02-19 Tom Tromey <tromey@redhat.com>
12697
12698 * windows-nat.c (windows_can_run): Add 'self' argument.
12699 * target.h (struct target_ops) <to_can_run>: Add argument.
12700 (target_can_run): Add argument.
12701 * target.c (debug_to_can_run): Add argument.
12702 (update_current_target): Update.
12703 * nto-procfs.c (procfs_can_run): Add 'self' argument.
12704 * inf-child.c (inf_child_can_run): Add 'self' argument.
12705 * go32-nat.c (go32_can_run): Add 'self' argument.
12706
d796e1d6
TT
127072014-02-19 Tom Tromey <tromey@redhat.com>
12708
12709 * target.h (struct target_ops) <to_has_exited>: Add argument.
12710 (target_has_exited): Add argument.
12711 * target.c (debug_to_has_exited): Add argument.
12712 (update_current_target): Update.
12713
ff214e67
TT
127142014-02-19 Tom Tromey <tromey@redhat.com>
12715
12716 * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add
12717 argument.
12718 (target_set_syscall_catchpoint): Add argument.
12719 * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self'
12720 argument.
12721 * target.c (update_current_target): Update.
12722
758e29d2
TT
127232014-02-19 Tom Tromey <tromey@redhat.com>
12724
12725 * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add
12726 argument.
12727 (target_remove_exec_catchpoint): Add argument.
12728 * target.c (debug_to_remove_exec_catchpoint): Add argument.
12729 (update_current_target): Update.
12730 * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self'
12731 argument.
12732
ba025e51
TT
127332014-02-19 Tom Tromey <tromey@redhat.com>
12734
12735 * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add
12736 argument.
12737 (target_insert_exec_catchpoint): Add argument.
12738 * target.c (debug_to_insert_exec_catchpoint): Add argument.
12739 (update_current_target): Update.
12740 * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self'
12741 argument.
12742
e98cf0cd
TT
127432014-02-19 Tom Tromey <tromey@redhat.com>
12744
12745 * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add
12746 argument.
12747 (target_remove_vfork_catchpoint): Add argument.
12748 * target.c (debug_to_remove_vfork_catchpoint): Add argument.
12749 (update_current_target): Update.
12750 * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self'
12751 argument.
12752
3ecc7da0
TT
127532014-02-19 Tom Tromey <tromey@redhat.com>
12754
12755 * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add
12756 argument.
12757 (target_insert_vfork_catchpoint): Add argument.
12758 * target.c (debug_to_insert_vfork_catchpoint): Add argument.
12759 (update_current_target): Update.
12760 * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self'
12761 argument.
12762
973fc227
TT
127632014-02-19 Tom Tromey <tromey@redhat.com>
12764
12765 * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add
12766 argument.
12767 (target_remove_fork_catchpoint): Add argument.
12768 * target.c (debug_to_remove_fork_catchpoint): Add argument.
12769 (update_current_target): Update.
12770 * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self'
12771 argument.
12772
a863b201
TT
127732014-02-19 Tom Tromey <tromey@redhat.com>
12774
12775 * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add
12776 argument.
12777 (target_insert_fork_catchpoint): Add argument.
12778 * target.c (debug_to_insert_fork_catchpoint): Add argument.
12779 (update_current_target): Update.
12780 * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self'
12781 argument.
12782
2e97a79e
TT
127832014-02-19 Tom Tromey <tromey@redhat.com>
12784
12785 * target.h (struct target_ops) <to_post_startup_inferior>: Add
12786 argument.
12787 (target_post_startup_inferior): Add argument.
12788 * target.c (debug_to_post_startup_inferior): Add argument.
12789 (update_current_target): Update.
12790 * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self'
12791 argument.
12792 * linux-nat.c (linux_child_post_startup_inferior): Add 'self'
12793 argument.
12794 * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self'
12795 argument.
12796 * inf-child.c (inf_child_post_startup_inferior): Add 'self'
12797 argument.
12798 * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add
12799 'self' argument.
12800 (super_post_startup_inferior): Likewise.
12801 * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add
12802 'self' argument.
12803 (super_post_startup_inferior): Likewise.
12804 * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior):
12805 Add 'self' argument.
12806 (super_post_startup_inferior): Likewise.
12807
71a9f134
TT
128082014-02-19 Tom Tromey <tromey@redhat.com>
12809
12810 * target.h (struct target_ops) <to_load>: Add argument.
12811 * target.c (target_load): Add argument.
12812 (debug_to_load): Add argument.
12813 (update_current_target): Update.
12814 * remote.c (remote_load): Add 'self' argument.
12815 * remote-sim.c (gdbsim_load): Add 'self' argument.
12816 * remote-mips.c (mips_load): Add 'self' argument.
12817 * remote-m32r-sdi.c (m32r_load): Add 'self' argument.
12818 * monitor.c (monitor_load): Add 'self' argument.
12819 * m32r-rom.c (m32r_load_gen): Add 'self' argument.
12820
0a4f40a2
TT
128212014-02-19 Tom Tromey <tromey@redhat.com>
12822
12823 * target.h (struct target_ops) <to_terminal_info>: Add argument.
12824 (target_terminal_info): Add argument.
12825 * target.c (debug_to_terminal_info): Add argument.
12826 (default_terminal_info): Likewise.
12827 * inflow.c (child_terminal_info): Add 'self' argument.
12828 * inferior.h (child_terminal_info): Add 'self' argument.
12829 * go32-nat.c (go32_terminal_info): Add 'self' argument.
12830
ae3bd431
TT
128312014-02-19 Tom Tromey <tromey@redhat.com>
12832
12833 * target.h (struct target_ops) <to_terminal_save_ours>: Add
12834 argument.
12835 (target_terminal_save_ours): Add argument.
12836 * target.c (debug_to_terminal_save_ours): Add argument.
12837 (update_current_target): Update.
12838 * inflow.c (terminal_save_ours): Add 'self' argument.
12839 * inferior.h (terminal_save_ours): Add 'self' argument.
12840
e3594fd1
TT
128412014-02-19 Tom Tromey <tromey@redhat.com>
12842
12843 * target.h (struct target_ops) <to_terminal_ours>: Add argument.
12844 (target_terminal_ours): Add argument.
12845 * target.c (debug_to_terminal_ours): Add argument.
12846 (update_current_target): Update.
12847 * remote.c (remote_terminal_ours): Add 'self' argument.
12848 (remote_close): Update.
12849 * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument.
12850 * inflow.c (terminal_ours): Add 'self' argument.
12851 * inferior.h (terminal_ours): Add 'self' argument.
12852 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12853
2e1e1a19
TT
128542014-02-19 Pedro Alves <palves@redhat.com>
12855 Tom Tromey <tromey@redhat.com>
12856
12857 * target.h (struct target_ops) <to_terminal_ours_for_output>: Add
12858 argument.
12859 (target_terminal_ours_for_output): Add argument.
12860 * target.c (debug_to_terminal_ours_for_output): Add argument.
12861 (update_current_target): Update.
12862 * inflow.c (terminal_ours_for_output): Add 'self' argument.
12863 * inferior.h (terminal_ours_for_output): Add 'self' argument.
12864 * go32-nat.c (go32_terminal_ours): Add 'self' argument.
12865
d2f640d4
TT
128662014-02-19 Tom Tromey <tromey@redhat.com>
12867
12868 * target.h (struct target_ops) <to_terminal_inferior>: Add
12869 argument.
12870 * target.c (target_terminal_inferior): Add argument.
12871 (update_current_target): Update.
12872 * remote.c (remote_terminal_inferior): Add 'self' argument.
12873 * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument.
12874 * inflow.c (terminal_inferior): Add 'self' argument.
12875 * inferior.h (terminal_inferior): Add 'self' argument.
12876 * go32-nat.c (go32_terminal_inferior): Add 'self' argument.
12877 (go32_terminal_inferior): Add 'self' argument.
12878
c42bf286
TT
128792014-02-19 Tom Tromey <tromey@redhat.com>
12880
12881 * target.h (struct target_ops) <to_terminal_init>: Add argument.
12882 (target_terminal_init): Add argument.
12883 * target.c (debug_to_terminal_init): Add argument.
12884 (update_current_target): Update.
12885 * inflow.c (terminal_init_inferior): Add 'self' argument.
12886 * inferior.h (terminal_init_inferior): Add 'self' argument.
12887 * go32-nat.c (go32_terminal_init): Add 'self' argument.
12888 * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument.
12889
c3a5ff89
TT
128902014-02-19 Tom Tromey <tromey@redhat.com>
12891
12892 * target.h (struct target_ops)
12893 <to_can_accel_watchpoint_condition>: Add argument.
12894 (target_can_accel_watchpoint_condition): Add argument.
12895 * target.c (debug_to_can_accel_watchpoint_condition): Add
12896 argument.
12897 (update_current_target): Update.
12898 * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add
12899 'self' argument.
12900
31568a15
TT
129012014-02-19 Tom Tromey <tromey@redhat.com>
12902
12903 * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>:
12904 Add argument.
12905 (target_region_ok_for_hw_watchpoint): Add argument.
12906 * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument.
12907 (default_region_ok_for_hw_watchpoint): Add argument.
12908 * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument.
12909 * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self'
12910 argument.
12911 * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self'
12912 argument.
12913 * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self'
12914 argument.
12915 * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add
12916 'self' argument.
12917 * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add
12918 'self' argument.
12919 * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add
12920 'self' argument.
12921 * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument.
12922 * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add
12923 'self' argument.
12924 * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint):
12925 Add 'self' argument.
12926
7bb99c53
TT
129272014-02-19 Tom Tromey <tromey@redhat.com>
12928
12929 * target.h (struct target_ops) <to_insert_watchpoint>: Add
12930 argument.
12931 (target_insert_watchpoint): Add argument.
12932 * target.c (debug_to_insert_watchpoint): Add argument.
12933 (update_current_target): Update.
12934 * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument.
12935 * remote.c (remote_insert_watchpoint): Add 'self' argument.
12936 * remote-mips.c (mips_insert_watchpoint): Add 'self' argument.
12937 * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument.
12938 * procfs.c (procfs_insert_watchpoint): Add 'self' argument.
12939 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self'
12940 argument.
12941 * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument.
12942 (procfs_insert_hw_watchpoint): Add 'self' argument.
12943 * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self'
12944 argument.
12945 * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self'
12946 argument.
12947 * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self'
12948 argument.
12949 * i386-nat.c (i386_insert_watchpoint): Add 'self' argument.
12950 * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self'
12951 argument.
12952 * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add
12953 'self' argument.
12954
11b5219a
TT
129552014-02-19 Tom Tromey <tromey@redhat.com>
12956
12957 * target.h (struct target_ops) <to_remove_watchpoint>: Add
12958 argument.
12959 (target_remove_watchpoint): Add argument.
12960 * target.c (debug_to_remove_watchpoint): Add argument.
12961 (update_current_target): Update.
12962 * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument.
12963 * remote.c (remote_remove_watchpoint): Add 'self' argument.
12964 * remote-mips.c (mips_remove_watchpoint): Add 'self' argument.
12965 * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument.
12966 * procfs.c (procfs_remove_watchpoint): Add 'self' argument.
12967 * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self'
12968 argument.
12969 * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument.
12970 * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self'
12971 argument.
12972 * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self'
12973 argument.
12974 * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self'
12975 argument.
12976 * i386-nat.c (i386_remove_watchpoint): Add 'self' argument.
12977 * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self'
12978 argument.
12979 * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add
12980 'self' argument.
12981
a64dc96c
TT
129822014-02-19 Tom Tromey <tromey@redhat.com>
12983
12984 * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add
12985 argument.
12986 (target_remove_hw_breakpoint): Add argument.
12987 * target.c (debug_to_remove_hw_breakpoint): Add argument.
12988 (update_current_target): Update.
12989 * remote.c (remote_remove_hw_breakpoint): Add 'self' argument.
12990 * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self'
12991 argument.
12992 * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument.
12993 * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self'
12994 argument.
12995 * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add
12996 'self' argument.
12997
23a26771
TT
129982014-02-19 Tom Tromey <tromey@redhat.com>
12999
13000 * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add
13001 argument.
13002 (target_insert_hw_breakpoint): Add argument.
13003 * target.c (debug_to_insert_hw_breakpoint): Add argument.
13004 (update_current_target): Update.
13005 * remote.c (remote_insert_hw_breakpoint): Add 'self' argument.
13006 * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self'
13007 argument.
13008 * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument.
13009 * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument.
13010 * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self'
13011 argument.
13012 * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add
13013 'self' argument.
13014
5461485a
TT
130152014-02-19 Tom Tromey <tromey@redhat.com>
13016
13017 * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add
13018 argument.
13019 (target_can_use_hardware_watchpoint): Add argument.
13020 * target.c (debug_to_can_use_hw_breakpoint): Add argument.
13021 (update_current_target): Update.
13022 * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self'
13023 argument.
13024 * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self'
13025 argument.
13026 * remote.c (remote_check_watch_resources): Add 'self' argument.
13027 * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument.
13028 * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self'
13029 argument.
13030 * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument.
13031 * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self'
13032 argument.
13033 * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self'
13034 argument.
13035 * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self'
13036 argument.
13037 * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self'
13038 argument.
13039 * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self'
13040 argument.
13041 * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self'
13042 argument.
13043 * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument.
13044 * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self'
13045 argument.
13046 * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add
13047 'self' argument.
13048
f045800c
TT
130492014-02-19 Tom Tromey <tromey@redhat.com>
13050
13051 * target.h (struct target_ops) <to_post_attach>: Add argument.
13052 (target_post_attach): Add argument.
13053 * target.c (debug_to_post_attach): Add argument.
13054 (update_current_target): Update.
13055 * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument.
13056 * nto-procfs.c (procfs_post_attach): Add 'self' argument.
13057 * linux-nat.c (linux_child_post_attach): Add 'self' argument.
13058 * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument.
13059 * inf-child.c (inf_child_post_attach): Add 'self' argument.
13060
de90e03d
TT
130612014-02-19 Tom Tromey <tromey@redhat.com>
13062
13063 * windows-nat.c (windows_close): Add 'self' argument.
13064 * tracepoint.c (tfile_close): Add 'self' argument.
13065 * target.h (struct target_ops) <to_close>: Add argument.
13066 * target.c (target_close): Add argument.
13067 (update_current_target): Update.
13068 * remote.c (remote_close): Add 'self' argument.
13069 * remote-sim.c (gdbsim_close): Add 'self' argument.
13070 * remote-mips.c (mips_close): Add 'self' argument.
13071 * remote-m32r-sdi.c (m32r_close): Add 'self' argument.
13072 * record-full.c (record_full_close): Add 'self' argument.
13073 * record-btrace.c (record_btrace_close): Add 'self' argument.
13074 * monitor.h (monitor_close): Add 'self' argument.
13075 * monitor.c (monitor_close): Add 'self' argument.
13076 * mips-linux-nat.c (mips_linux_close): Add 'self' argument.
13077 * linux-nat.c (linux_nat_close): Add argument.
13078 * go32-nat.c (go32_close): Add 'self' argument.
13079 * exec.c (exec_close_1): Add 'self' argument.
13080 * ctf.c (ctf_close): Add 'self' argument.
13081 * corelow.c (core_close): Add 'self' argument.
13082 (core_close_cleanup): Update.
13083 * bsd-uthread.c (bsd_uthread_close): Add 'self' argument.
13084 * bsd-kvm.c (bsd_kvm_close): Add 'self' argument.
13085
9dd130a0
TT
130862014-02-19 Tom Tromey <tromey@redhat.com>
13087
13088 * remote.c (remote_load): New function.
13089 (init_remote_ops): Use it.
13090
46917d26
TT
130912014-02-19 Tom Tromey <tromey@redhat.com>
13092
13093 * common/linux-btrace.c (linux_supports_btrace): Add "ops"
13094 argument.
13095 * common/linux-btrace.h (linux_supports_btrace): Update.
13096 * remote.c (remote_supports_btrace): Add "self" argument.
13097 * target-delegates.c: Rebuild.
13098 * target.c (target_supports_btrace): Remove.
13099 * target.h (struct target_ops) <to_supports_btrace>: Add
13100 target_ops argument.
13101 (target_supports_btrace): New define.
13102
6b84065d
TT
131032014-02-19 Tom Tromey <tromey@redhat.com>
13104
13105 * record-full.c (record_full_beneath_to_resume_ops)
13106 (record_full_beneath_to_resume, record_full_beneath_to_wait_ops)
13107 (record_full_beneath_to_wait)
13108 (record_full_beneath_to_store_registers_ops)
13109 (record_full_beneath_to_store_registers)
13110 (record_full_beneath_to_xfer_partial_ops)
13111 (record_full_beneath_to_xfer_partial)
13112 (record_full_beneath_to_insert_breakpoint_ops)
13113 (record_full_beneath_to_insert_breakpoint)
13114 (record_full_beneath_to_remove_breakpoint_ops)
13115 (record_full_beneath_to_remove_breakpoint)
13116 (record_full_beneath_to_stopped_by_watchpoint)
13117 (record_full_beneath_to_stopped_data_address)
13118 (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume)
13119 (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops)
13120 (tmp_to_store_registers, tmp_to_xfer_partial_ops)
13121 (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops)
13122 (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops)
13123 (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint)
13124 (tmp_to_stopped_data_address, tmp_to_async): Remove.
13125 (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED.
13126 (record_full_resume, record_full_wait_1)
13127 (record_full_stopped_by_watchpoint, record_full_stopped_data_address)
13128 (record_full_store_registers, record_full_xfer_partial)
13129 (record_full_insert_breakpoint, record_full_remove_breakpoint)
13130 (record_full_async, record_full_core_xfer_partial): Use target
13131 delegation.
13132 * target-delegates.c: Rebuild.
13133 * target.c (current_xfer_partial): Remove.
13134 (update_current_target): Do not INHERIT or de_fault
13135 to_insert_breakpoint, to_remove_breakpoint,
13136 to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p,
13137 to_is_async_p, to_async. Do not set to_xfer_partial field.
13138 (default_xfer_partial): Simplify.
13139 (current_xfer_partial): Remove.
13140 (target_wait, target_resume): Simplify.
13141 (find_default_can_async_p, find_default_is_async_p): Update.
13142 (init_dummy_target): Don't set to_can_async_p, to_is_async_p,
13143 to_xfer_partial, to_stopped_by_watchpoint,
13144 to_stopped_data_address.
13145 (target_store_registers): Simplify.
13146 (forward_target_remove_breakpoint)
13147 (forward_target_insert_breakpoint): Remove.
13148 (target_remove_breakpoint, target_insert_breakpoint)
13149 (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update.
13150 * target.h (struct target_ops) <to_resume, to_wait,
13151 to_store_registers, to_insert_breakpoint, to_remove_breakpoint,
13152 to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p,
13153 to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT
13154 markup.
13155 (forward_target_remove_breakpoint)
13156 (forward_target_insert_breakpoint): Remove.
13157 * record-btrace.c (record_btrace_remove_breakpoint): Delegate
13158 directly.
13159 (record_btrace_insert_breakpoint): Delegate directly.
13160
1101cb7b
TT
131612014-02-19 Tom Tromey <tromey@redhat.com>
13162
13163 PR build/7701:
13164 * target-delegates.c: New file.
13165 * target.c: Include target-delegates.c.
13166 (init_dummy_target): Call install_dummy_methods.
13167 (complete_target_initialization): Call install_delegators.
13168 * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN)
13169 (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines.
13170 * make-target-delegates: New file.
13171
8b06beed
TT
131722014-02-19 Tom Tromey <tromey@redhat.com>
13173
13174 * record.c (find_record_target): Use find_target_at.
13175 * target.c (find_target_at): New function.
13176 * target.h (find_target_at): Declare.
13177
6a109b6b
TT
131782014-02-19 Tom Tromey <tromey@redhat.com>
13179
13180 * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint):
13181 Add 'ops' argument.
13182 * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add
13183 'ops' argument.
13184 * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument.
13185 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add
13186 'ops' argument.
13187 * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops'
13188 argument.
13189 * linux-nat.c (save_sigtrap): Update.
13190 (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p)
13191 (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument.
13192 (linux_nat_close): Update.
13193 * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops'
13194 argument.
13195 * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops'
13196 argument.
13197 * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument.
13198 * record-full.c (record_full_beneath_to_stopped_by_watchpoint)
13199 (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint)
13200 (tmp_to_async): Add 'ops' argument.
13201 (record_full_stopped_by_watchpoint, record_full_async)
13202 (record_full_can_async_p, record_full_is_async_p): Add 'ops'
13203 argument.
13204 * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint)
13205 (m32r_stopped_by_watchpoint): Add 'ops' argument.
13206 * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument.
13207 * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p)
13208 (remote_is_async_p, remote_async): Add 'ops' argument.
13209 (remote_stopped_data_address): Update.
13210 * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument.
13211 * target.c (update_current_target)
13212 (find_default_can_async_p, find_default_is_async_p): Update.
13213 (init_dummy_target): Update.
13214 (debug_to_stopped_by_watchpoint): Add 'ops' argument.
13215 * target.h (struct target_ops) <to_stopped_by_watchpoint,
13216 to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument.
13217 (target_can_async_p, target_is_async_p, target_async)
13218 (target_stopped_by_watchpoint): Update.
13219
e095146b
YQ
132202014-02-19 Yao Qi <yao@codesourcery.com>
13221
13222 PR gdb/16220
13223 * gdbarch.sh: Remove startup_gdbarch.
13224 * gdbarch.c: Regenerated.
13225 * gdbarch.h: Likewise.
13226
bc3c6b36
KB
132272014-02-17 Kevin Buettner <kevinb@redhat.com>
13228
13229 * rl78-tdep.c (rl78_g10_register_name): New function.
13230 (rl78_return_value): Add g10 support.
13231 (rl78_gdbarch_init): Register rl78_g10_register_name for the
13232 g10.
13233
98dc0167 132342014-02-17 Doug Evans <xdje42@gmail.com>
f01c1940
DE
13235
13236 * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically.
13237 (SUBDIR_GUILE_SRCS): Ditto.
13238 (scm-gsmob.o): Ditto.
13239
842c05cd
YQ
132402014-02-17 Yao Qi <yao@codesourcery.com>
13241
13242 * gnu-nat.c (ILL_RPC): Declare defined function.
13243
25c0bd04
YQ
132442014-02-17 Yao Qi <yao@codesourcery.com>
13245
13246 * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to
13247 mach_msg_type_number_t.
13248 (gnu_write_inferior): Likewise.
13249
a9a758e3
YQ
132502014-02-17 Yao Qi <yao@codesourcery.com>
13251
13252 * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd'
13253 in format string.
13254 (proc_steal_exc_port, make_proc, inf_set_pid): Likewise.
13255 (inf_validate_procs, inf_signal): Likewise.
13256 (S_exception_raise_request): Likewise.
13257 (do_mach_notify_dead_name): Likewise.
13258 (steal_exc_port): Likewise.
13259 (gnu_read_inferior): Change 'copy_count''s type to
13260 mach_msg_type_number_t.
13261 (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in
13262 format string.
13263
bae8023e
TS
132642014-02-16 Thomas Schwinge <thomas@codesourcery.com>
13265
c82f56d9
TS
13266 * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit
13267 flag. Adjust all users; in particular...
13268 (gnu_wait): ..., don't decrement its value in here...
13269 (gnu_create_inferior): ..., and instead set the flag in here,
13270 around the startup_inferior call, and call that one with
13271 START_INFERIOR_TRAPS_EXPECTED.
13272
3398af6a
TS
13273 * gnu-nat.c (ill_rpc): Remove function; replaced with this...
13274 (ILL_RPC): ... new macro.
13275 (do_mach_notify_no_senders, do_mach_notify_port_deleted)
13276 (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed)
13277 (do_mach_notify_send_once, S_proc_setmsgport_reply)
13278 (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub
13279 functions with ILL_RPC macro.
13280 (S_proc_pid2task_reply, S_proc_task2pid_reply)
13281 (S_proc_task2proc_reply, S_proc_proc2task_reply)
13282 (S_proc_pid2proc_reply, S_proc_getprocinfo_reply)
13283 (S_proc_getprocargs_reply, S_proc_getprocenv_reply)
13284 (S_proc_getloginid_reply, S_proc_getloginpids_reply)
13285 (S_proc_getlogin_reply, S_proc_getsid_reply)
13286 (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply)
13287 (S_proc_getsidport_reply, S_proc_getpgrp_reply)
13288 (S_proc_getpgrppids_reply, S_proc_get_tty_reply)
13289 (S_proc_getnports_reply, S_proc_is_important_reply)
13290 (S_proc_get_code_reply): New stub functions, generated with
13291 ILL_RPC macro.
13292
d47642c9
TS
13293 * reply_mig_hack.awk: In phase 5, keep going if we have not yet
13294 collected the type check structures.
13295
bae8023e
TS
13296 * reply_mig_hack.awk: Don't expect to see the auto keyword.
13297
8a55ffb0
DE
132982014-02-14 Doug Evans <dje@google.com>
13299
13300 * target.c (target_write_partial): Fix result type.
13301
c2853f3d
JM
133022014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com>
13303
13304 * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register
13305 the proper offsets to access fpregset_t.
13306
ac61d2db
SA
133072014-02-13 Sanimir Agovic <sanimir.agovic@intel.com>
13308
13309 * cris-tdep.c (cris_supply_gregset): Remove zerobuf.
13310 (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist.
13311 * h8300-tdep.c (setmachinelist): Remove global.
13312 * hppa-tdep.c (hppa_sigtramp): Remove global.
13313 * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb
13314 RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0.
13315 * ravenscar-thread.c (update_target_observer): Remove global.
13316 * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
13317
9d2d0b8b
TT
133182014-02-12 Tom Tromey <tromey@redhat.com>
13319
13320 * common/rsp-low.c: Update comments.
13321 * common/rsp-low.h: Update comments.
13322
a7191e8b
TT
133232014-02-12 Tom Tromey <tromey@redhat.com>
13324
13325 * common/rsp-low.c (convert_ascii_to_int): Remove.
13326 * common/rsp-low.h (convert_ascii_to_int): Don't declare.
13327
ff0e980e
TT
133282014-02-12 Tom Tromey <tromey@redhat.com>
13329
13330 * common/rsp-low.h (unhexify): Don't declare.
13331 * common/rsp-low.c (unhexify): Remove.
13332
e9371aff
TT
133332014-02-12 Tom Tromey <tromey@redhat.com>
13334
13335 * common/rsp-low.h (convert_int_to_ascii): Don't declare.
13336 * common/rsp-low.c (convert_int_to_ascii): Remove.
13337
971dc0b8
TT
133382014-02-12 Tom Tromey <tromey@redhat.com>
13339
13340 * common/rsp-low.h (hexify): Don't declare.
13341 * common/rsp-low.c (hexify): Remove.
13342
0a822afb
TT
133432014-02-12 Tom Tromey <tromey@redhat.com>
13344
13345 * common/rsp-low.c (hexify): Never take strlen of argument.
13346
9f1b45b0
TT
133472014-02-12 Tom Tromey <tromey@redhat.com>
13348
13349 * common/rsp-low.c (bin2hex): Never take strlen of argument.
13350 * remote.c (extended_remote_run, remote_rcmd)
13351 (remote_download_trace_state_variable, remote_save_trace_data)
13352 (remote_set_trace_notes): Update.
13353 * tracepoint.c (encode_source_string, tfile_write_status)
13354 (tfile_write_uploaded_tsv): Update.
13355
9c3d6531
TT
133562014-02-12 Tom Tromey <tromey@redhat.com>
13357
13358 * tracepoint.c: Include rsp-low.h.
13359 * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare.
13360 * remote.c: Include rsp-low.h.
13361 (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte)
13362 (fromhex, hex2bin, tohex, bin2hex, remote_escape_output)
13363 (remote_unescape_input): Move to common/rsp-low.c.
13364 * common/rsp-low.h: New file.
13365 * common/rsp-low.c: New file.
13366 * Makefile.in (SFILES): Add common/rsp-low.c.
13367 (HFILES_NO_SRCDIR): Add common/rsp-low.h.
13368 (COMMON_OBS): Add rsp-low.o.
13369 (rsp-low.o): New target.
13370
01fd3ea5
TT
133712014-02-12 Tom Tromey <tromey@redhat.com>
13372
13373 * utils.h: Include print-utils.h.
13374 (host_address_to_string, plongest, pulongest, phex, phex_nz)
13375 (int_string, core_addr_to_string, core_addr_to_string_nz)
13376 (hex_string, hex_string_custom): Don't declare.
13377 * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest)
13378 (plongest, thirty_two, phex, phex_nz, octal2str, hex_string)
13379 (hex_string_custom, int_string, core_addr_to_string)
13380 (core_addr_to_string_nz, host_address_to_string): Move to
13381 common/print-utils.c.
13382 * common/print-utils.h: New file.
13383 * common/print-utils.c: New file
13384 * Makefile.in (SFILES): Add common/print-utils.c.
13385 (HFILES_NO_SRCDIR): Add common/print-utils.h.
13386 (COMMON_OBS): Add print-utils.o.
13387 (print-utils.o): New target.
13388
9fb50108
TT
133892014-02-12 Tom Tromey <tromey@redhat.com>
13390
13391 * nios2-tdep.c (nios2_stub_frame_base_address): Remove.
13392
0548b5db
MK
133932014-02-12 Mark Kettenis <kettenis@gnu.org>
13394
13395 * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi.
13396
493443a4
MK
133972014-02-12 Mark Kettenis <kettenis@gnu.org>
13398
13399 * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF
13400 if a PT_IO ptrace request returns sucessfully but indicates that 0
13401 bytes were transferred.
13402
706d0883
PA
134032014-02-12 Pedro Alves <palves@redhat.com>
13404 Kevin Buettner <kevinb@redhat.com>
13405
13406 * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with
13407 TYPE_INSTANCE_FLAG_CODE_SPACE.
13408
5caa2f0b
PA
134092014-02-12 Pedro Alves <palves@redhat.com>
13410
13411 * h8300-tdep.c (pseudo_from_raw_register)
13412 (raw_from_pseudo_register): New functions.
13413 (h8300_pseudo_register_read, h8300_pseudo_register_write): Use
13414 them.
13415
76fd5f74
PA
134162014-02-12 Pedro Alves <palves@redhat.com>
13417
13418 * h8300-tdep.c (h8300_register_sim_regno): New function.
13419 (h8300_gdbarch_init): Install h8300_register_sim_regno as
13420 gdbarch_register_sim_regno hook.
13421
8f008406
SA
134222014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
13423
13424 * nios2-tdep.c (nios2_stub_frame_base): Remove global.
13425
195abc10
SA
134262014-02-12 Sanimir Agovic <sanimir.agovic@intel.com>
13427
13428 * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default.
13429
93ffa5b9
MK
134302014-02-12 Mark Kettenis <kettenis@gnu.org>
13431
13432 * obsd-tdep.h (obsd_init_abi): New prototype.
13433 * obsd-tdep.c: Define enum with OpenBSD signal numbers.
13434 (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target)
13435 (obsd_init_abi): New functions.
13436 * i386obsd-tdep.c: Include "obsd-tdep.h".
13437 (i386obsd_init_abi): Call obsd_init_abi.
13438 * amd64obsd-tdep.c: Include "obsd-tdep.h".
13439 (amd64obsd_init_abi): Call obsd_init_abi.
13440 * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add
13441 obsd-tdep.c to gdb_target_obs.
13442
49caec94
JM
134432014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com>
13444
13445 * sparc64-tdep.c (sparc64_store_arguments): Do not align complex
13446 double float arguments to 16-byte in the argument slots.
13447
e1402065
DE
134482014-02-11 Doug Evans <xdje42@gmail.com>
13449
13450 * configure.ac: Don't crash if pkg-config is not found and guile
13451 wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR
13452 in guile checks.
13453 * configure: Regenerate.
13454
edcc890f
YQ
134552014-02-11 Yao Qi <yao@codesourcery.com>
13456
13457 * aix-thread.c (aix_thread_xfer_partial): Update comments.
13458 * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise.
13459 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
13460 * gnu-nat.c (gnu_xfer_memory): Likewise.
13461 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13462 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13463 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13464 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13465
9b409511
YQ
134662014-02-11 Yao Qi <yao@codesourcery.com>
13467
13468 * target.h (enum target_xfer_error): Rename to ...
13469 (enum target_xfer_status): ... it. New. All users updated.
13470 (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>:
13471 New.
13472 (TARGET_XFER_STATUS_ERROR_P): New macro.
13473 (target_xfer_error_to_string): Remove declaration.
13474 (target_xfer_status_to_string): Declare.
13475 (target_xfer_partial_ftype): Adjust it.
13476 (struct target_ops) <to_xfer_partial>: Return
13477 target_xfer_status. Add argument xfered_len. Update
13478 comments.
13479 * target.c (target_xfer_error_to_string): Rename to ...
13480 (target_xfer_status_to_string): ... it. New. All callers
13481 updated.
13482 (target_read_live_memory): Likewise. Call target_xfer_partial
13483 instead of target_read.
13484 (memory_xfer_live_readonly_partial): Return
13485 target_xfer_status. Add argument xfered_len.
13486 (raw_memory_xfer_partial): Likewise.
13487 (memory_xfer_partial_1): Likewise.
13488 (memory_xfer_partial): Likewise.
13489 (target_xfer_partial): Likewise. Check *XFERED_LEN is set
13490 properly. Update debug message.
13491 (default_xfer_partial, current_xfer_partial): Likewise.
13492 (target_write_partial): Likewise.
13493 (target_read_partial): Likewise. All callers updated.
13494 (read_whatever_is_readable): Likewise.
13495 (target_write_with_progress): Likewise.
13496 (target_read_alloc_1): Likewise.
13497
13498 * aix-thread.c (aix_thread_xfer_partial): Likewise.
13499 * auxv.c (procfs_xfer_auxv): Likewise.
13500 (ld_so_xfer_auxv, memory_xfer_auxv): Likewise.
13501 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13502 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13503 * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise.
13504 * corefile.c (read_memory): Adjust.
13505 * corelow.c (core_xfer_partial): Likewise.
13506 * ctf.c (ctf_xfer_partial): Likewise.
13507 * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers
13508 updated.
13509 (darwin_xfer_partial): Likewise.
13510 * exec.c (section_table_xfer_memory_partial): Likewise. All
13511 callers updated.
13512 (exec_xfer_partial): Likewise.
13513 * exec.h (section_table_xfer_memory_partial): Update
13514 declaration.
13515 * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not
13516 negative.
13517 (gnu_xfer_partial): Likewise.
13518 * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise.
13519 (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise.
13520 (ia64_hpux_xfer_solib_got): Likewise.
13521 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change
13522 type of 'partial_len' to ULONGEST.
13523 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13524 * linux-nat.c (linux_xfer_siginfo ): Likewise.
13525 (linux_nat_xfer_partial): Likewise.
13526 (linux_proc_xfer_partial, linux_xfer_partial): Likewise.
13527 (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise.
13528 * monitor.c (monitor_xfer_memory): Likewise.
13529 (monitor_xfer_partial): Likewise.
13530 * procfs.c (procfs_xfer_partial): Likewise.
13531 * record-btrace.c (record_btrace_xfer_partial): Likewise.
13532 * record-full.c (record_full_xfer_partial): Likewise.
13533 (record_full_core_xfer_partial): Likewise.
13534 * remote-sim.c (gdbsim_xfer_memory): Likewise.
13535 (gdbsim_xfer_partial): Likewise.
13536 * remote.c (remote_write_bytes_aux): Likewise. All callers
13537 updated.
13538 (remote_write_bytes, remote_read_bytes): Likewise. All
13539 callers updated.
13540 (remote_flash_erase): Likewise. All callers updated.
13541 (remote_write_qxfer): Likewise. All callers updated.
13542 (remote_read_qxfer): Likewise. All callers updated.
13543 (remote_xfer_partial): Likewise.
13544 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13545 (rs6000_xfer_shared_libraries): Likewise.
13546 * sol-thread.c (sol_thread_xfer_partial): Likewise.
13547 (sol_thread_xfer_partial): Likewise.
13548 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13549 (sparc_xfer_partial): Likewise.
13550 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers
13551 updated.
13552 (spu_xfer_partial): Likewise.
13553 * spu-multiarch.c (spu_xfer_partial): Likewise.
13554 * tracepoint.c (tfile_xfer_partial): Likewise.
13555 * windows-nat.c (windows_xfer_memory): Likewise.
13556 (windows_xfer_shared_libraries): Likewise.
13557 (windows_xfer_partial): Likewise.
13558 * valprint.c: Replace 'target_xfer_error' with
13559 'target_xfer_status' in comments.
13560
a8e63083
JB
135612014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch)
13562
13563 Checked in by Joel Brobecker <brobecker@adacore.com>.
13564 * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment.
13565
e86b67d3
JB
135662014-02-11 Joel Brobecker <brobecker@adacore.com>
13567
13568 * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat
13569 function parameters.
13570
4b7d1f7f
WN
135712014-02-10 Will Newton <will.newton@linaro.org>
13572
13573 * elfread.c (elf_rel_plt_read): Look for a .got section if
13574 looking up .got.plt fails.
13575 (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove
13576 on address passed to elf_gnu_ifunc_record_cache.
13577 (elf_gnu_ifunc_resolve_addr): Likewise.
13578 (elf_gnu_ifunc_resolver_return_stop): Likewise.
13579
961842b2
JM
135802014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com>
13581
13582 * sparc-tdep.c (sparc_in_function_epilogue_p): New function.
13583 (X_RETTURN): New macro.
13584 * sparc-tdep.h: sparc_in_function_epilogue_p prototype.
13585
13586 * sparc64-tdep.c (sparc64_init_abi): Hook
13587 sparc_in_function_epilogue_p.
13588
3f03e7b1
GB
135892014-02-10 Gary Benson <gbenson@redhat.com>
13590
13591 * symfile-debug.c (debug_qf_expand_symtabs_matching):
13592 Rename name_matcher to symbol_matcher.
13593
96f861ef
GB
135942014-02-10 Gary Benson <gbenson@redhat.com>
13595
13596 * symfile-debug.c (debug_qf_expand_symtabs_matching):
13597 Use expand_symtabs_file_matcher_ftype and
13598 expand_symtabs_symbol_matcher_ftype.
13599
ee01b665
JB
136002014-02-10 Joel Brobecker <brobecker@adacore.com>
13601
13602 * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up.
13603 (struct ada_symbol_cache): New.
13604 (ada_free_symbol_cache): Forward declare.
13605 (struct ada_pspace_data): New.
13606 (ada_pspace_data_handle): New static global.
13607 (get_ada_pspace_data, ada_pspace_data_cleanup)
13608 (ada_init_symbol_cache, ada_free_symbol_cache): New functions.
13609 (cache_space, cache): Delete, now folded inside struct
13610 ada_pspace_data.
13611 (ada_get_symbol_cache): New function.
13612 (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust
13613 implementation.
13614 (_initialize_ada_language): Remove initialization of cache_space.
13615 Move call to observer_attach_inferior_exit up, grouping it
13616 with the other observer registrations inside this function.
13617 Rename command to be more general. Add call to
13618 register_program_space_data_with_cleanup.
13619
143adbbf
JB
136202014-02-10 Joel Brobecker <brobecker@adacore.com>
13621
13622 * ada-tasks.c (ada_tasks_new_objfile_observer): Renames
13623 ada_new_objfile_observer.
13624 (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer.
13625 (_initialize_tasks): Update uses of ada_new_objfile_observer
13626 and ada_tasks_normal_stop_observer.
13627
aa4fb036
JB
136282014-02-10 Joel Brobecker <brobecker@adacore.com>
13629
13630 * ada-lang.c (ada_evaluate_subexp): Set the type of the value
13631 returned by the 'Length attribute to integer.
13632
9dee8cc6
JB
136332014-02-10 Joel Brobecker <brobecker@adacore.com>
13634
13635 * ada-lang.c (_initialize_ada_language): Initialize
13636 cache_space obstack.
13637
3d9434b5
JB
136382014-02-10 Joel Brobecker <brobecker@adacore.com>
13639
13640 * ada-lang.c (HASH_SIZE): New macro.
13641 (struct cache_entry): New type.
13642 (cache_space, cache): New static globals.
13643 (ada_clear_symbol_cache, find_entry): New functions.
13644 (lookup_cached_symbol, cache_symbol): Implement.
13645 (ada_new_objfile_observer, ada_free_objfile_observer): New.
13646 (_initialize_ada_language): Attach ada_new_objfile_observer
13647 and ada_free_objfile_observer.
13648
f0c5f9b2
JB
136492014-02-10 Joel Brobecker <brobecker@adacore.com>
13650
13651 * ada-lang.c (ada_add_block_symbols, add_defn_to_vec)
13652 (lookup_cached_symbol, ada_add_local_symbols): Add "const" to
13653 struct block * parameter.
13654 (ada_lookup_symbol_list_worker): Constify local variable "block".
13655 Remove cast which is no longer necessary.
13656
ed3ef339
DE
136572014-02-10 Doug Evans <xdje42@gmail.com>
13658
13659 Add Guile as an extension language.
13660 * NEWS: Mention Guile scripting.
13661 * Makefile.in (SUBDIR_GUILE_OBS): New variable.
13662 (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables
13663 (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables.
13664 (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS.
13665 (CLIBS): Add GUILE_LIBS.
13666 (install-guile): New rule.
13667 (guile.o): New rule.
13668 (scm-arch.o, scm-auto-load.o, scm-block.o): New rules.
13669 (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules.
13670 (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules.
13671 (scm-math.o, scm-objfile.o, scm-ports.o): New rules.
13672 (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules.
13673 (scm-string.o, scm-symbol.o, scm-symtab.o): New rules.
13674 (scm-type.o, scm-utils.o, scm-value.o): New rules.
13675 * configure.ac: New option --with-guile.
13676 * configure: Regenerate.
13677 * config.in: Regenerate.
13678 * auto-load.c: Remove #include "python/python.h". Add #include
13679 "gdb/section-scripts.h".
13680 (source_section_scripts): Handle Guile scripts.
13681 (_initialize_auto_load): Add name of Guile objfile script to
13682 scripts-directory help text.
13683 * breakpoint.c (condition_command): Tweak comment to include Scheme.
13684 * breakpoint.h (gdbscm_breakpoint_object): Add forward decl.
13685 (struct breakpoint): New member scm_bp_object.
13686 * defs.h (enum command_control_type): New value guile_control.
13687 * cli/cli-cmds.c: Remove #include "python/python.h". Add #include
13688 "extension.h".
13689 (show_user): Update comment.
13690 (_initialize_cli_cmds): Update help text for "show user". Update help
13691 text for max-user-call-depth.
13692 * cli/cli-script.c: Remove #include "python/python.h". Add #include
13693 "extension.h".
13694 (multi_line_command_p): Add guile_control.
13695 (print_command_lines): Handle guile_control.
13696 (execute_control_command, recurse_read_control_structure): Ditto.
13697 (process_next_line): Recognize "guile" commands.
13698 * disasm.c (gdb_disassemble_info): Make non-static.
13699 * disasm.h: #include "dis-asm.h".
13700 (struct gdbarch): Add forward decl.
13701 (gdb_disassemble_info): Declare.
13702 * extension.c: #include "guile/guile.h".
13703 (extension_languages): Add guile.
13704 (get_ext_lang_defn): Handle EXT_LANG_GDB.
13705 * extension.h (enum extension_language): New value EXT_LANG_GUILE.
13706 * gdbtypes.c (get_unsigned_type_max): New function.
13707 (get_signed_type_minmax): New function.
13708 * gdbtypes.h (get_unsigned_type_max): Declare.
13709 (get_signed_type_minmax): Declare.
13710 * guile/README: New file.
13711 * guile/guile-internal.h: New file.
13712 * guile/guile.c: New file.
13713 * guile/guile.h: New file.
13714 * guile/scm-arch.c: New file.
13715 * guile/scm-auto-load.c: New file.
13716 * guile/scm-block.c: New file.
13717 * guile/scm-breakpoint.c: New file.
13718 * guile/scm-disasm.c: New file.
13719 * guile/scm-exception.c: New file.
13720 * guile/scm-frame.c: New file.
13721 * guile/scm-gsmob.c: New file.
13722 * guile/scm-iterator.c: New file.
13723 * guile/scm-lazy-string.c: New file.
13724 * guile/scm-math.c: New file.
13725 * guile/scm-objfile.c: New file.
13726 * guile/scm-ports.c: New file.
13727 * guile/scm-pretty-print.c: New file.
13728 * guile/scm-safe-call.c: New file.
13729 * guile/scm-string.c: New file.
13730 * guile/scm-symbol.c: New file.
13731 * guile/scm-symtab.c: New file.
13732 * guile/scm-type.c: New file.
13733 * guile/scm-utils.c: New file.
13734 * guile/scm-value.c: New file.
13735 * guile/lib/gdb.scm: New file.
13736 * guile/lib/gdb/boot.scm: New file.
13737 * guile/lib/gdb/experimental.scm: New file.
13738 * guile/lib/gdb/init.scm: New file.
13739 * guile/lib/gdb/iterator.scm: New file.
13740 * guile/lib/gdb/printing.scm: New file.
13741 * guile/lib/gdb/types.scm: New file.
13742 * data-directory/Makefile.in (GUILE_SRCDIR): New variable.
13743 (VPATH): Add $(GUILE_SRCDIR).
13744 (GUILE_DIR): New variable.
13745 (GUILE_INSTALL_DIR, GUILE_FILES): New variables.
13746 (all): Add stamp-guile dependency.
13747 (stamp-guile): New rule.
13748 (clean-guile, install-guile, uninstall-guile): New rules.
13749 (install-only): Add install-guile dependency.
13750 (uninstall): Add uninstall-guile dependency.
13751 (clean): Add clean-guile dependency.
13752
ac020ec5
DE
137532014-02-09 Doug Evans <xdje42@gmail.com>
13754
13755 Revert this patch (which I approved, mea culpa).
13756
13757 2014-02-08 Mark Kettenis <kettenis@gnu.org>
13758
13759 * Makefile.in (all-lib): Remove.
13760 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13761
2a081c59
JK
137622014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com>
13763
13764 Fix Python stack corruption.
13765 * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use
13766 gdb_py_longest.
13767
0a6bd22d
MK
137682014-02-08 Mark Kettenis <kettenis@gnu.org>
13769
13770 * Makefile.in (all-lib): Remove.
13771 ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target.
13772
1a860409
DE
137732014-02-07 Doug Evans <dje@google.com>
13774
13775 * extension-priv.h (extension_language_script_ops): Add comment.
13776 (extension_language_ops): Add comment.
caf5a491 13777 (active_ext_lang_state): Fix typo in comment.
1a860409 13778
d137e6dc
PA
137792014-02-07 Pedro Alves <palves@redhat.com>
13780
0dcb32c3 13781 PR breakpoints/16292
d137e6dc
PA
13782 * infrun.c (handle_signal_stop) <signal arrives while stepping
13783 over a breakpoint>: Switch back to the stepping thread.
13784
ce6d0892
YQ
137852014-02-07 Yao Qi <yao@codesourcery.com>
13786
13787 * target.c (target_xfer_partial): Return zero if LEN is zero.
13788
2ed4b548
YQ
137892014-02-07 Yao Qi <yao@codesourcery.com>
13790
13791 * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO.
13792 (ld_so_xfer_auxv): Likewise.
13793 * bfd-target.c (target_bfd_xfer_partial): Likewise.
13794 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
13795 * corelow.c (core_xfer_partial): Likewise.
13796 * ctf.c (ctf_xfer_partial): Likewise.
13797 * darwin-nat.c (darwin_read_dyld_info): Likewise.
13798 (darwin_xfer_partial): Likewise.
13799 * exec.c (exec_xfer_partial): Likewise.
13800 * gnu-nat.c (gnu_xfer_partial): Likewise.
13801 * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise.
13802 * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise.
13803 * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise.
13804 * linux-nat.c (linux_xfer_siginfo): Likewise.
13805 (linux_proc_xfer_spu): Likewise.
13806 * procfs.c (procfs_xfer_partial): Likewise.
13807 * record-full.c (record_full_xfer_partial): Likewise.
13808 (record_full_core_xfer_partial): Likewise.
13809 * remote-sim.c (gdbsim_xfer_partial): Likewise.
13810 * remote.c (remote_write_qxfer): Likewise.
13811 (remote_write_qxfer, remote_read_qxfer): Likewise.
13812 (remote_xfer_partial): Likewise.
13813 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
13814 (rs6000_xfer_shared_libraries): Likewise.
13815 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
13816 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
13817 (spu_xfer_partial): Likewise.
13818 * target.c (memory_xfer_partial_1): Likewise.
13819 * tracepoint.c (tfile_xfer_partial): Likewise.
13820 * windows-nat.c (windows_xfer_shared_libraries): Likewise.
13821 (windows_xfer_partial): Likewise.
13822
c09f20e4
YQ
138232014-02-07 Yao Qi <yao@codesourcery.com>
13824
13825 * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add
13826 comments.
13827 (core_xfer_shared_libraries_aix): Likewise.
13828 * gdbarch.c, gdbarch.h: Regenerated.
13829 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return
13830 ULONGEST. Change 'len_avail' type to ULONGEST.
13831 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
13832 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
13833 declaration.
13834 (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST.
13835
8635b3bf
YQ
138362014-02-07 Yao Qi <yao@codesourcery.com>
13837
13838 * corefile.c (memory_error): Get 'exception' from ERR and pass
13839 'exception' to throw_error.
13840
6dddc817
DE
138412014-02-06 Doug Evans <xdje42@gmail.com>
13842
13843 * configure.ac (libpython checking): Remove all but python.o from
13844 CONFIG_OBS. Remove all but python.c from CONFIG_SRCS.
13845 * configure: Regenerate.
13846
13847 * Makefile.in (SFILES): Add extension.c.
13848 (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h
13849 (COMMON_OBS): Add extension.o.
13850 * extension.h: New file.
13851 * extension-priv.h: New file.
13852 * extension.c: New file.
13853
13854 * python/python-internal.h: #include "extension.h".
13855 (gdbpy_auto_load_enabled): Declare.
13856 (gdbpy_apply_val_pretty_printer): Declare.
13857 (gdbpy_apply_frame_filter): Declare.
13858 (gdbpy_preserve_values): Declare.
13859 (gdbpy_breakpoint_cond_says_stop): Declare.
13860 (gdbpy_breakpoint_has_cond): Declare.
13861 (void source_python_script_for_objfile): Delete.
13862 * python/python.c: #include "extension-priv.h".
13863 Delete inclusion of "observer.h".
13864 (extension_language_python): Moved here and renamed from
13865 script_language_python in py-auto-load.c.
13866 Redefined to be of type extension_language_defn.
13867 (python_extension_script_ops): New global.
13868 (python_extension_ops): New global.
13869 (struct python_env): New member previous_active.
13870 (restore_python_env): Call restore_active_ext_lang.
13871 (ensure_python_env): Call set_active_ext_lang.
13872 (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static.
13873 New arg extlang.
13874 (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static.
13875 New arg extlang.
13876 (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static.
13877 New arg extlang.
13878 (gdbpy_eval_from_control_command): Renamed from
13879 eval_python_from_control_command, made static. New arg extlang.
13880 (gdbpy_source_script) Renamed from source_python_script, made static.
13881 New arg extlang.
13882 (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change
13883 result to int. New arg extlang.
13884 (gdbpy_source_objfile_script): Renamed from
13885 source_python_script_for_objfile, made static. New arg extlang.
13886 (gdbpy_start_type_printers): Renamed from start_type_printers, made
13887 static. New args extlang, extlang_printers. Change result type to
13888 "void".
13889 (gdbpy_apply_type_printers): Renamed from apply_type_printers, made
13890 static. New arg extlang. Rename arg printers to extlang_printers
13891 and change type to ext_lang_type_printers *.
13892 (gdbpy_free_type_printers): Renamed from free_type_printers, made
13893 static. Replace argument arg with extlang, extlang_printers.
13894 (!HAVE_PYTHON, eval_python_from_control_command): Delete.
13895 (!HAVE_PYTHON, source_python_script): Delete.
13896 (!HAVE_PYTHON, gdbpy_should_stop): Delete.
13897 (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete.
13898 (!HAVE_PYTHON, start_type_printers): Delete.
13899 (!HAVE_PYTHON, apply_type_printers): Delete.
13900 (!HAVE_PYTHON, free_type_printers): Delete.
13901 (_initialize_python): Delete call to observer_attach_before_prompt.
13902 (finalize_python): Set/restore active extension language.
13903 (gdbpy_finish_initialization) Renamed from
13904 finish_python_initialization, made static. New arg extlang.
13905 (gdbpy_initialized): New function.
13906 * python/python.h: #include "extension.h". Delete #include
13907 "value.h", "mi/mi-cmds.h".
13908 (extension_language_python): Declare.
13909 (GDBPY_AUTO_FILE_NAME): Delete.
13910 (enum py_bt_status): Moved to extension.h and renamed to
13911 ext_lang_bt_status.
13912 (enum frame_filter_flags): Moved to extension.h.
13913 (enum py_frame_args): Moved to extension.h and renamed to
13914 ext_lang_frame_args.
13915 (finish_python_initialization): Delete.
13916 (eval_python_from_control_command): Delete.
13917 (source_python_script): Delete.
13918 (apply_val_pretty_printer): Delete.
13919 (apply_frame_filter): Delete.
13920 (preserve_python_values): Delete.
13921 (gdbpy_script_language_defn): Delete.
13922 (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete.
13923 (start_type_printers, apply_type_printers, free_type_printers): Delete.
13924
13925 * auto-load.c: #include "extension.h".
13926 (GDB_AUTO_FILE_NAME): Delete.
13927 (auto_load_gdb_scripts_enabled): Make public. New arg extlang.
13928 (script_language_gdb): Delete, moved to extension.c and renamed to
13929 extension_language_gdb.
13930 (source_gdb_script_for_objfile): Delete.
13931 (auto_load_pspace_info): New member unsupported_script_warning_printed.
13932 (loaded_script): Change type of language member to
13933 struct extension_language_defn *.
13934 (init_loaded_scripts_info): Initialize
13935 unsupported_script_warning_printed.
13936 (maybe_add_script): Make static. Change type of language arg to
13937 struct extension_language_defn *.
13938 (clear_section_scripts): Reset unsupported_script_warning_printed.
13939 (auto_load_objfile_script_1): Rewrite to use extension language API.
13940 (auto_load_objfile_script): Make public. Remove support-compiled-in
13941 and auto-load-enabled checks, moved to auto_load_scripts_for_objfile.
13942 (source_section_scripts): Rewrite to use extension language API.
13943 (load_auto_scripts_for_objfile): Rewrite to use
13944 auto_load_scripts_for_objfile.
13945 (collect_matching_scripts_data): Change type of language member to
13946 struct extension_language_defn *.
13947 (auto_load_info_scripts): Change type of language arg to
13948 struct extension_language_defn *.
13949 (unsupported_script_warning_print): New function.
13950 (script_not_found_warning_print): Make static.
13951 (_initialize_auto_load): Rewrite construction of scripts-directory
13952 help.
13953 * auto-load.h (struct objfile): Add forward decl.
13954 (struct script_language): Delete.
13955 (struct auto_load_pspace_info): Add forward decl.
13956 (struct extension_language_defn): Add forward decl.
13957 (maybe_add_script): Delete.
13958 (auto_load_objfile_script): Declare.
13959 (script_not_found_warning_print): Delete.
13960 (auto_load_info_scripts): Update prototype.
13961 (auto_load_gdb_scripts_enabled): Declare.
13962 * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from
13963 auto_load_python_scripts_enabled and made public.
13964 (script_language_python): Delete, moved to python.c.
13965 (gdbpy_script_language_defn): Delete.
13966 (info_auto_load_python_scripts): Update to use
13967 extension_language_python.
13968
13969 * breakpoint.c (condition_command): Replace call to
13970 gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang.
13971 (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop
13972 with call to breakpoint_ext_lang_cond_says_stop.
13973 * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed
13974 from gdbpy_should_stop. Change result type to enum scr_bp_stop.
13975 New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL.
13976 (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond.
13977 New arg slang.
13978 (local_setattro): Print name of extension language with existing
13979 stop condition.
13980
13981 * valprint.c (val_print, value_print): Update to call
13982 apply_ext_lang_val_pretty_printer.
13983 * cp-valprint.c (cp_print_value): Update call to
13984 apply_ext_lang_val_pretty_printer.
13985 * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON.
13986 (gdbpy_apply_val_pretty_printer): Renamed from
13987 apply_val_pretty_printer. New arg extlang.
13988 (!HAVE_PYTHON, apply_val_pretty_printer): Delete.
13989
13990 * cli/cli-cmds.c (source_script_from_stream): Rewrite to use
13991 extension language API.
13992 * cli/cli-script.c (execute_control_command): Update to call
13993 eval_ext_lang_from_control_command.
13994
13995 * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use
13996 enum ext_lang_bt_status values. Update call to
13997 apply_ext_lang_frame_filter.
13998 (mi_cmd_stack_list_locals): Ditto.
13999 (mi_cmd_stack_list_args): Ditto.
14000 (mi_cmd_stack_list_variables): Ditto.
14001 * mi/mi-main.c: Delete #include "python/python-internal.h".
14002 Add #include "extension.h".
14003 (mi_cmd_list_features): Replace reference to python internal variable
14004 gdb_python_initialized with call to ext_lang_initialized_p.
14005
14006 * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status.
14007 Update to use enum ext_lang_frame_args. Update to call
14008 apply_ext_lang_frame_filter.
14009 * python/py-framefilter.c (extract_sym): Update to use enum
14010 ext_lang_bt_status.
14011 (extract_value, py_print_type, py_print_value): Ditto.
14012 (py_print_single_arg, enumerate_args, enumerate_locals): Ditto.
14013 (py_mi_print_variables, py_print_locals, py_print_args): Ditto.
14014 (py_print_frame): Ditto.
14015 (gdbpy_apply_frame_filter): Renamed from apply_frame_filter.
14016 New arg extlang. Update to use enum ext_lang_bt_status.
14017
14018 * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to
14019 finish_python_initialization. Replace with call to
14020 finish_ext_lang_initialization.
14021
14022 * typeprint.c (do_free_global_table): Update to call
14023 free_ext_lang_type_printers.
14024 (create_global_typedef_table): Update to call
14025 start_ext_lang_type_printers.
14026 (find_global_typedef): Update to call apply_ext_lang_type_printers.
14027 * typeprint.h (struct ext_lang_type_printers): Add forward decl.
14028 (type_print_options): Change type of global_printers from "void *"
14029 to "struct ext_lang_type_printers *".
14030
14031 * value.c (preserve_values): Update to call preserve_ext_lang_values.
14032 * python/py-value.c: Remove #ifdef HAVE_PYTHON.
14033 (gdbpy_preserve_values): Renamed from preserve_python_values.
14034 New arg extlang.
14035 (!HAVE_PYTHON, preserve_python_values): Delete.
14036
14037 * utils.c (quit_flag): Delete, moved to extension.c.
14038 (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to
14039 extension.c.
14040
14041 * eval.c: Delete #include "python/python.h".
14042 * main.c: Delete #include "python/python.h".
14043
14044 * defs.h: Update comment.
14045
6af79985
JB
140462014-02-06 Joel Brobecker <brobecker@adacore.com>
14047
14048 GDB 7.7 released.
14049
12c5175d
MK
140502014-02-05 Mark Kettenis <kettenis@gnu.org>
14051
14052 * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is
14053 defined.
14054
8dc5b319
YQ
140552014-02-05 Yao Qi <yao@codesourcery.com>
14056
14057 * remote.c (remote_pass_signals): Remove local 'buf' and use
14058 rs->buf.
14059 (remote_program_signals): Likewise.
14060
de7b2893
YQ
140612014-02-05 Yao Qi <yao@codesourcery.com>
14062
14063 * ctf.c: Include "inferior.h" and "gdbthread.h".
14064 (CTF_PID): A new macro.
14065 (ctf_open): Call inferior_appeared and add_thread_silent.
14066 (ctf_close): Call exit_inferior_silent and set inferior_ptid.
14067 (ctf_thread_alive): New function.
14068 (init_ctf_ops): Install ctf_thread_alive to to_thread_alive.
14069
66d032ac
YQ
140702014-02-05 Yao Qi <yao@codesourcery.com>
14071
14072 Revert this patch:
14073
14074 2013-05-24 Yao Qi <yao@codesourcery.com>
14075
14076 * tracepoint.c (TFILE_PID): Remove.
14077 (tfile_open): Don't add thread and inferior.
14078 (tfile_close): Don't set 'inferior_ptid'. Don't call
14079 exit_inferior_silent.
14080 (tfile_thread_alive): Remove.
14081 (init_tfile_ops): Don't set field 'to_thread_alive' of
14082 tfile_ops.
14083
f4ccffad
CE
140842014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change)
14085
14086 * remote.c (remote_start_remote): Call remote_check_symbols even
14087 if only symbol-file (not file) has been given.
14088
591a12a1
UW
140892014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14090
14091 * gdbarch.sh (skip_entrypoint): New callback.
14092 * gdbarch.c, gdbarch.h: Regenerate.
14093 * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint.
14094 * infrun.c (fill_in_stop_func): Likewise.
14095 * ppc-linux-tdep.c: Include "elf/ppc64.h".
14096 (ppc_elfv2_elf_make_msymbol_special): New function.
14097 (ppc_elfv2_skip_entrypoint): Likewise.
14098 (ppc_linux_init_abi): Install them for ELFv2.
14099
cc0e89c5
UW
141002014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14101
14102 * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine.
14103 (ppc64_elfv2_abi_homogeneous_aggregate): Likewise.
14104 (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs.
14105 (ppc64_sysv_abi_return_value): Likewise. Also, handle small
14106 structures returned in GPRs.
14107
52f548e4
UW
141082014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14109
14110 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct
14111 offset to the stack parameter list for the ELFv2 ABI.
14112
d4094b6a
UW
141132014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14114
14115 * ppc-linux-tdep.c (ppc_linux_init_abi): Only call
14116 set_gdbarch_convert_from_func_ptr_addr and
14117 set_gdbarch_elf_make_msymbol_special for ELFv1.
14118 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle
14119 function descriptors on ELFv1.
14120 (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2,
14121 set up r12 at function entry.
14122
cd453cd0
UW
141232014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14124
14125 * ppc-tdep.h (enum powerpc_elf_abi): New data type.
14126 (struct gdbarch_tdep): New member elf_abi.
14127
14128 * rs6000-tdep.c: Include "elf/ppc64.h".
14129 (rs6000_gdbarch_init): Detect ELF ABI version.
14130
0ff3e01f
UW
141312014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14132
14133 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order
14134 within a register pair holding a DFP 128-bit value on little-endian.
14135 (ppc64_sysv_abi_return_value_base): Likewise.
14136 * rs6000-tdep.c (dfp_pseudo_register_read): Likewise.
14137 (dfp_pseudo_register_write): Likewise.
14138
5b757e5d
UW
141392014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14140
14141 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct
14142 offset on little-endian when passing _Decimal32.
14143 (ppc64_sysv_abi_return_value_base): Likewise for return values.
14144
084ee545
UW
141452014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14146
14147 * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset
14148 of the overlapped FP register within the VSX register on little-
14149 endian platforms.
14150 (efpr_pseudo_register_write): Likewise.
14151
d63167af
UW
141522014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14153
14154 * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct
14155 offset on little-endian when passing small structures.
14156
e765b44c
UW
141572014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14158
14159 * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment.
14160 (struct ppc64_sysv_argpos): New data structure.
14161 (ppc64_sysv_abi_push_float): Remove.
14162 (ppc64_sysv_abi_push_val): New function.
14163 (ppc64_sysv_abi_push_integer): Likewise.
14164 (ppc64_sysv_abi_push_freg): Likewise.
14165 (ppc64_sysv_abi_push_vreg): Likewise.
14166 (ppc64_sysv_abi_push_param): Likewise.
14167 (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines.
14168 (ppc64_sysv_abi_return_value_base): New function.
14169 (ppc64_sysv_abi_return_value): Refactor to use it.
14170
36c24d95
UW
141712014-02-04 Ulrich Weigand  <uweigand@de.ibm.com>
14172
14173 * NEWS: Document new target powerpc64le-*-linux*.
14174
26fd9228
MK
141752014-02-04 Mark Kettenis <kettenis@gnu.org>
14176
14177 * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable.
14178 (sparc64obsd_supply_gregset): Handle registers sets used in ELF
14179 core dumps.
14180 (sparc64obsd_init_abi): Adjust minimum size of the general purpose
14181 register set used in ELF core dumps. Add floating-point register set.
14182
c5bb7362
KB
141832014-02-03 Kevin Buettner <kevinb@redhat.com>
14184
74228e77 14185 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite
c5bb7362
KB
14186 dwarf2_to_gdb[] table using symbolic constants. Adjust
14187 penultimate entry from number representing the PC register
14188 to symbolic constant representing the MDR register. Add
14189 constant for the PC register to the end of the table.
14190
af09351e
MK
141912014-02-03 Mark Kettenis <kettenis@gnu.org>
14192
14193 * bsd-kvm.c: Include <sys/param.h>
14194
8507e05d
MK
141952014-02-03 Mark Kettenis <kettenis@gnu.org>
14196
14197 * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype.
14198
ae56bfb8
JB
141992014-01-31 Joel Brobecker <brobecker@adacore.com>
14200
14201 * ada-lang.h (clear_ada_sym_cache): Delete.
14202
718ee4dc
UW
142032014-01-30 Ulrich Weigand  <uweigand@de.ibm.com>
14204
14205 * auxv.c (fprint_target_auxv): Handle AT_HWCAP2.
14206
401e27fd
JM
142072014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
14208
14209 * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from
14210 the sigreturn register save area only if the syscall is
14211 sigreturn.
14212
a7c88acd
JB
142132014-01-29 Joel Brobecker <brobecker@adacore.com>
14214
14215 * valops.c (value_slice): Minor reformatting.
14216
fa0079ea
UW
142172014-01-28 Ulrich Weigand  <uweigand@de.ibm.com>
14218
14219 * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo.
14220
c6044dd1
JB
142212014-01-28 Joel Brobecker <brobecker@adacore.com>
14222
14223 * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist):
14224 New static globals.
14225 (maint_set_ada_cmd, maint_show_ada_cmd): New functions.
14226 (ada_ignore_descriptive_types_p): New static global.
14227 (find_parallel_type_by_descriptive_type): Return immediately
14228 if ada_ignore_descriptive_types_p is set.
14229 (_initialize_ada_language): Register new commands "maintenance
14230 set ada", "maintenance show ada", "maintenance set ada
14231 ignore-descriptive-types" and "maintenance show ada
14232 ignore-descriptive-types".
14233 * NEWS: Add entry for new "maint ada set/show
14234 ignore-descriptive-types" commands.
14235
568e808b
MM
142362014-01-27 Markus Metzger <markus.t.metzger@intel.com>
14237
14238 * record-btrace.c (record_btrace_close): Call btrace_teardown
14239 for all threads.
14240
467d141b
JB
142412014-01-27 Joel Brobecker <brobecker@adacore.com>
14242
14243 * ada-lang.c: Remove "#ifdef UI_OUT" condition for including
14244 "ui-out.h".
14245
fb151210
JB
142462014-01-27 Joel Brobecker <brobecker@adacore.com>
14247
14248 * ada-typeprint (type_is_full_subrange_of_target_type):
14249 New function.
14250 (print_range): Add parameter bounds_prefered_p. If not set,
14251 try printing range types using the name of their base type.
14252 (print_range_type): Add parameter bounds_prefered_p.
14253 Use it in call to print_range.
14254 (print_array_type, ada_print_type): Update calls to print_range
14255 and print_range_type.
14256
aba02109
JB
142572014-01-27 Joel Brobecker <brobecker@adacore.com>
14258
14259 * ada-typeprint.c (print_array_type, print_choices, print_range)
14260 (print_range_bound, print_dynamic_range_bound, print_range_type):
14261 Remove declaration.
14262
e62e21fd
JB
142632014-01-27 Joel Brobecker <brobecker@adacore.com>
14264
14265 * ada-typeprint.c (print_range): Add missing empty line
14266 after local declaration.
14267
859cf5d1
JB
142682014-01-27 Joel Brobecker <brobecker@adacore.com>
14269
14270 * ada-valprint.c (print_optional_low_bound): Get index_type's
14271 target type for as long as it is a TYPE_CODE_RANGE.
14272
25790f6f
JB
142732014-01-27 Joel Brobecker <brobecker@adacore.com>
14274
14275 * procfs.c (procfs_make_note_section): Remove assertion and
14276 associated comment.
14277
6b6aa828
YQ
142782014-01-24 Yao Qi <yao@codesourcery.com>
14279
14280 * remote.c (remote_read_bytes): Change type of len to ULONGEST.
14281 * corelow.c (get_core_siginfo): Likewise.
14282
5d6df423
YQ
142832014-01-24 Yao Qi <yao@codesourcery.com>
14284
14285 * remote.c (remote_write_bytes_aux): Change type of 'len' to
14286 ULONGEST. Don't check 'len' is negative.
14287 (remote_write_bytes): Change type of 'len' to ULONGEST.
14288
83b645b8
TT
142892014-01-23 Tom Tromey <tromey@redhat.com>
14290
14291 PR python/16485:
14292 * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args):
14293 Handle exception from frame.block.
14294 (FrameVars.fetch_frame_locals): Likewise.
14295
0740f8d8
TT
142962014-01-23 Tom Tromey <tromey@redhat.com>
14297
14298 PR python/16487:
14299 * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF
14300 on a NULL pointer. Move "goto error" to correct place.
14301
21909fa1
TT
143022014-01-23 Tom Tromey <tromey@redhat.com>
14303
14304 PR python/16491:
14305 * python/py-framefilter.c (apply_frame_filter): Call
14306 ensure_python_env after computing gdbarch.
14307
17fde6d0
YQ
143082014-01-23 Yao Qi <yao@codesourcery.com>
14309
14310 * target.c (raw_memory_xfer_partial): Change argument type
14311 from void * to gdb_byte *.
14312 (memory_xfer_partial_1, memory_xfer_partial): Likewise.
14313
87ce2a04
DE
143142014-01-22 Doug Evans <dje@google.com>
14315
14316 New gdbserver option --debug-format=timestamp.
14317 * NEWS: Mention it.
14318
237b092b
AA
143192014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
14320
14321 * syscalls/s390x-linux.xml: New file.
14322 * syscalls/s390-linux.xml: New file.
14323 * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro.
14324 (XML_SYSCALL_FILENAME_S390X): Likewise.
14325 (op_svc): New enum value for SVC opcode.
14326 (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'.
14327 (s390_linux_get_syscall_number): New function.
14328 (s390_gdbarch_init): Register '*get_syscall_number' and the
14329 syscall xml file name.
14330 * data-directory/Makefile.in (SYSCALLS_FILES): Add
14331 "s390-linux.xml" and "s390x-linux.xml".
14332 * NEWS: Announce new feature.
14333
54bff650
BS
143342014-01-22 Baruch Siach <baruch@tkos.co.il>
14335
14336 * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t.
14337
14e361d7
PA
143382014-01-22 Pedro Alves <palves@redhat.com>
14339
14340 * xtensa-config.c: Include defs.h.
14341
46bbb3ed
JB
143422014-01-22 Joel Brobecker <brobecker@adacore.com>
14343
14344 * common/common-utils.h: Add "ARI:" comment beside __func__
14345 reference.
14346
3a80edfc
JB
143472014-01-22 Joel Brobecker <brobecker@adacore.com>
14348
14349 * common/common-utils.h (FUNCTION_NAME): Expand the macro's
14350 documentation a bit.
14351
4869db5e
RM
143522014-01-21 Roland McGrath <mcgrathr@google.com>
14353
14354 * configure.ac: Call AM_PROG_INSTALL_STRIP.
14355 * configure: Regenerate.
14356 * aclocal.m4: Regenerate.
14357 * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP):
14358 New substituted variables.
14359 (install-strip): New target.
14360 (INSTALL_SCRIPT): New substituted variable.
14361 (FLAGS_TO_PASS): Add it.
14362 (install-only): Use $(INSTALL_SCRIPT) rather than
14363 $(INSTALL_PROGRAM) for gcore.
14364
9ea4267d
TT
143652014-01-20 Tom Tromey <tromey@redhat.com>
14366
14367 * cli/cli-decode.h (struct cmd_list_element): Move all bitfields
14368 together.
14369
1f2bdf09
TT
143702014-01-20 Tom Tromey <tromey@redhat.com>
14371
14372 * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd)
14373 (add_setshow_cmd_full, delete_cmd, lookup_cmd_1)
14374 (deprecated_cmd_warning, complete_on_cmdlist): Update.
14375 * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER)
14376 (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove.
14377 (struct cmd_list_element) <flags>: Remove.
14378 <cmd_deprecated, deprecated_warn_user, malloced_replacement,
14379 doc_allocated>: New fields.
14380 <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now
14381 bitfields.
14382 * maint.c (maintenance_do_deprecate): Update.
14383 * top.c (execute_command): Update.
14384
e671835b
BS
143852014-01-20 Baruch Siach <baruch@tkos.co.il>
14386
14387 * xtensa-linux-nat.c: Include asm/ptrace.h.
14388
50367cd2
IB
143892014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14390
14391 * Makefile.in (SFILES): Add d-support.c.
14392 (COMMON_OBS): Add d-support.o.
14393 * d-lang.h (d_parse_symbol): Add comment, now defined in
14394 d-support.c.
14395 * d-lang.c (parse_call_convention)
14396 (parse_attributes, parse_function_types)
14397 (parse_function_args, parse_type, parse_identifier)
14398 (call_convention_p, d_parse_symbol): Move functions to ...
14399 * d-support.c: ... New file.
14400
ec9f644a
IB
144012014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14402
14403 * d-lang.h (d_parse_symbol): Add declaration.
14404 * d-lang.c (extract_identifiers)
14405 (extract_type_info): Remove functions.
14406 (parse_call_convention, parse_attributes)
14407 (parse_function_types, parse_function_args)
14408 (parse_type, parse_identifier, call_convention_p)
14409 (d_parse_symbol): New functions.
14410 (d_demangle): Use d_parse_symbol to demangle D symbols.
14411
94b1b47e
IB
144122014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14413
14414 * d-lang.h (struct builtin_d_type): New data type.
14415 (builtin_d_type): Add declaration.
14416 * d-lang.c (d_language_arch_info, build_d_types)
14417 (builtin_d_type): New functions.
14418 (enum d_primitive_types): New data type.
14419 (d_language_defn): Change c_language_arch_info to
14420 d_language_arch_info.
14421 (d_type_data): New static variable.
14422 (_initialize_d_language): Initialize d_type_data.
14423
63778547
IB
144242014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14425
14426 * d-lang.h (d_main_name): Add declaration.
14427 * d-lang.c (d_main_name): New function.
14428 * symtab.c (find_main_name): Add call to d_main_name.
14429
3271ba66
IB
144302014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14431
14432 * d-lang.c (d_language_defn): Change macro_expansion_c to
14433 macro_expansion_no.
14434
d36b3012
IB
144352014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
14436
14437 * MAINTAINERS: Add myself as a write-after-approval maintainer.
14438
c90a6fb7
SDJ
144392014-01-17 Sergio Durigan Junior <sergiodj@redhat.com>
14440
14441 * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct
14442 gdb_exception" declaration.
14443 * remote.c (getpkt_or_notif_sane): Likewise.
14444
749234e5
DE
144452014-01-17 Doug Evans <dje@google.com>
14446
14447 * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New
14448 function, contents of dirnames_to_char_ptr_vec_append moved here.
14449 (delim_string_to_char_ptr_vec): New function.
14450 (dirnames_to_char_ptr_vec_append): Rewrite.
14451 * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare.
14452
df049a58
DE
144532014-01-17 Doug Evans <dje@google.com>
14454
14455 * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION,
14456 and moved here ...
14457 * common/gdb_assert.h (ASSERT_FUNCTION): ... from here.
14458 #include "common-utils.h".
14459 (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update.
14460 * common/vec.h (VEC_ASSERT_PASS): Update.
14461 * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h.
14462 (MACH_CHECK_ERROR): Update.
14463
69f97648
SM
144642014-01-17 Simon Marchi <simon.marchi@ericsson.com>
14465
14466 * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add
14467 comments.
14468 * gdbarch.h: Regenerate.
14469
98b1cfdc
TT
144702014-01-16 Tom Tromey <tromey@redhat.com>
14471
14472 * value.c (struct value) <regnum>: Move earlier.
14473
77a19445
TT
144742014-01-16 Tom Tromey <tromey@redhat.com>
14475
14476 * remote.c (extended_remote_create_inferior): Rename from
14477 extended_remote_create_inferior_1. Add "ops" argument. Remove
14478 old implementation.
14479
62261490
PA
144802014-01-16 Pedro Alves <palves@redhat.com>
14481
14482 * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow
14483 NOT_AVAILABLE_ERROR errors while parsing the prologue or reading
14484 the backchain.
14485
4d65956b
DE
144862014-01-16 Doug Evans <dje@google.com>
14487
14488 * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment.
14489
52834460
MM
144902014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14491
14492 * btrace.h (btrace_thread_flag): New.
14493 (struct btrace_thread_info) <flags>: New.
14494 * record-btrace.c (record_btrace_resume_thread)
14495 (record_btrace_find_thread_to_move, btrace_step_no_history)
14496 (btrace_step_stopped, record_btrace_start_replaying)
14497 (record_btrace_step_thread, record_btrace_decr_pc_after_break)
14498 (record_btrace_find_resume_thread): New.
14499 (record_btrace_resume, record_btrace_wait): Extend.
14500 (record_btrace_can_execute_reverse): New.
14501 (record_btrace_open): Fail in non-stop mode.
14502 (record_btrace_set_replay): Split into this, ...
14503 (record_btrace_stop_replaying): ... this, ...
14504 (record_btrace_clear_histories): ... and this.
14505 (init_record_btrace_ops): Init to_can_execute_reverse.
14506 * NEWS: Announce it.
14507
118e6252
MM
145082014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14509
14510 * target.h (struct target_ops) <to_decr_pc_after_break>: New.
14511 (forward_target_decr_pc_after_break)
14512 (target_decr_pc_after_break): New.
14513 * target.c (forward_target_decr_pc_after_break)
14514 (target_decr_pc_after_break): New.
14515 * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break
14516 instead of gdbarch_decr_pc_after_break.
14517 * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14518 instead of gdbarch_decr_pc_after_break.
14519 * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break
14520 instead of gdbarch_decr_pc_after_break.
14521 * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break
14522 instead of gdbarch_decr_pc_after_break.
14523 * linux-thread-db.c (check_event): Call target_decr_pc_after_break
14524 instead of gdbarch_decr_pc_after_break.
14525 * record-full.c (record_full_wait_1): Call target_decr_pc_after_break
14526 instead of gdbarch_decr_pc_after_break.
14527
6e07b1d2
MM
145282014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14529
14530 * btrace.c: Include regcache.h.
14531 (btrace_add_pc): New.
14532 (btrace_enable): Call btrace_add_pc.
14533 (btrace_is_empty): New.
14534 * btrace.h (btrace_is_empty): New.
14535 * record-btrace.c (require_btrace, record_btrace_info): Call
14536 btrace_is_empty.
14537
969c39fb
MM
145382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14539
14540 * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace):
14541 Support delta reads.
14542 (linux_disable_btrace): Change return type.
14543 * common/linux-btrace.h (linux_read_btrace): Change parameters
14544 and return type to allow error reporting. Update users.
14545 (linux_disable_btrace): Change return type. Update users.
14546 * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>:
14547 New.
14548 (btrace_error): New.
14549 (btrace_block) <begin>: Comment on BEGIN == 0.
14550 * btrace.c (btrace_compute_ftrace): Start from the end of
14551 the current trace.
14552 (btrace_stitch_trace, btrace_clear_history): New.
14553 (btrace_fetch): Read delta trace, return if replaying.
14554 (btrace_clear): Move clear history code to btrace_clear_history.
14555 (parse_xml_btrace): Throw an error if parsing failed.
14556 * target.h (struct target_ops) <to_read_btrace>: Change parameters
14557 and return type to allow error reporting.
14558 (target_read_btrace): Change parameters and return type to allow
14559 error reporting.
14560 * target.c (target_read_btrace): Update.
14561 * remote.c (remote_read_btrace): Support delta reads. Pass
14562 errors on.
14563 * NEWS: Announce it.
14564
0b722aec
MM
145652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14566
14567 * record.h (record_btrace_frame_unwind)
14568 (record_btrace_tailcall_frame_unwind): New declarations.
14569 * dwarf2-frame: Include record.h
14570 (dwarf2_frame_cfa): Throw an error for btrace frames.
14571 * record-btrace.c: Include hashtab.h.
14572 (btrace_get_bfun_name): New.
14573 (btrace_call_history): Call btrace_get_bfun_name.
14574 (struct btrace_frame_cache): New.
14575 (bfcache): New.
14576 (bfcache_hash, bfcache_eq, bfcache_new): New.
14577 (btrace_get_frame_function): New.
14578 (record_btrace_frame_unwind_stop_reason): Allow unwinding.
14579 (record_btrace_frame_this_id): Compute own id.
14580 (record_btrace_frame_prev_register): Provide PC, throw_error
14581 for all other registers.
14582 (record_btrace_frame_sniffer): Detect btrace frames.
14583 (record_btrace_tailcall_frame_sniffer): New.
14584 (record_btrace_frame_dealloc_cache): New.
14585 (record_btrace_frame_unwind): Add new functions.
14586 (record_btrace_tailcall_frame_unwind): New.
14587 (_initialize_record_btrace): Allocate cache.
14588 * btrace.c (btrace_clear): Call reinit_frame_cache.
14589 * NEWS: Announce it.
14590
066ce621
MM
145912014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14592
14593 * record-btrace.c (record_btrace_set_replay)
14594 (record_btrace_goto_begin, record_btrace_goto_end)
14595 (record_btrace_goto): New.
14596 (init_record_btrace_ops): Initialize them.
14597 * NEWS: Announce it.
14598
e2887aa3
MM
145992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14600
14601 * record-btrace.c (record_btrace_find_new_threads)
14602 (record_btrace_thread_alive): New.
14603 (init_record_btrace_ops): Initialize to_find_new_threads and
14604 to_thread_alive.
14605
b2f4cfde
MM
146062014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14607
14608 * record-btrace.c (record_btrace_resume): New.
14609 (record_btrace_wait): New.
14610 (init_record_btrace_ops): Initialize to_wait and to_resume.
14611
633785ff
MM
146122014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14613
14614 * record-btrace.c (record_btrace_xfer_partial)
14615 (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint)
14616 (record_btrace_allow_memory_access): New.
14617 (init_record_btrace_ops): Initialize new methods.
14618 * target.c (raw_memory_xfer_partial): Bail out if target reports
14619 that this memory is not available.
14620
3db08215
MM
146212014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14622
14623 * target.h (target_ops) <to_insert_breakpoint>
14624 <to_remove_breakpoint>: Add target_ops parameter.
14625 (forward_target_insert_breakpoint): New.
14626 (forward_target_remove_breakpoint): New.
14627 (memory_remove_breakpoint, memory_insert_breakpoint):
14628 Add target_ops parameter.
14629 * target.c (target_insert_breakpoint): Split into this and ...
14630 (forward_target_insert_breakpoint): ... this.
14631 (target_remove_breakpoint): Split into this and ...
14632 (forward_target_remove_breakpoint): ... this.
14633 (debug_to_insert_breakpoint): Add target_ops parameter.
14634 Call forward_target_insert_breakpoint.
14635 (debug_to_remove_breakpoint): Add target_ops parameter.
14636 Call forward_target_remove_breakpoint.
14637 (update_current_target): Do not inherit or default to_insert_breakpoint
14638 and to_remove_breakpoint.
14639 * corelow.c (ignore): Add target_ops parameter.
14640 * exec.c (ignore): Add target_ops parameter.
14641 * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint):
14642 Add target_ops parameter.
14643 * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint):
14644 Add target_ops parameter.
14645 * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint):
14646 Add target_ops parameter.
14647 * record-full.c (record_full_beneath_to_insert_breakpoint)
14648 (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint)
14649 (tmp_to_remove_breakpoint, record_full_insert_breakpoint)
14650 (record_full_remove_breakpoint, record_full_core_insert_breakpoint)
14651 (record_full_core_remove_breakpoint): Add target_ops parameter.
14652 Update users.
14653 (record_full_beneath_to_insert_breakpoint_ops)
14654 (record_full_beneath_to_remove_breakpoint_ops)
14655 (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New.
14656 (record_full_open): Initialize tmp_to_insert_breakpoint_ops,
14657 tmp_to_remove_breakpoint_ops,
14658 record_full_beneath_to_insert_breakpoint_ops, and
14659 record_full_beneath_to_remove_breakpoint_ops.
14660 * remote-m32r-sdi.c (m32r_insert_breakpoint)
14661 (m32r_remove_breakpoint): Add target_ops parameter.
14662 * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint):
14663 Add target_ops parameter.
14664 * remote.c (remote_insert_breakpoint, remote_remove_breakpoint):
14665 Add target_ops parameter.
14666
cecac1ab
MM
146672014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14668 Markus Metzger <markus.t.metzger@intel.com>
14669
14670 * record-btrace.c: Include frame-unwind.h.
14671 (record_btrace_frame_unwind_stop_reason)
14672 (record_btrace_frame_this_id, record_btrace_frame_prev_register)
14673 (record_btrace_frame_sniffer, record_btrace_frame_unwind):
14674 New.
14675 (init_record_btrace_ops): Install it.
14676
824344ca
MM
146772014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14678
14679 * frame.c (get_frame_unwind_stop_reason): Unconditionally call
14680 get_prev_frame_1.
14681
32261e52
MM
146822014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14683
14684 * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check
14685 earlier.
14686
ea001bdc
MM
146872014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com>
14688
14689 * frame-unwind.c: Include target.h.
14690 (frame_unwind_try_unwinder): New function with code from ...
14691 (frame_unwind_find_by_frame): ... here. New variable
14692 unwinder_from_target, call also target_get_unwinder)
14693 (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it.
14694 * target.c (target_get_unwinder, target_get_tailcall_unwinder): New.
14695 * target.h (struct target_ops): New fields to_get_unwinder and
14696 to_get_tailcall_unwinder.
14697 (target_get_unwinder, target_get_tailcall_unwinder): New declarations.
14698
1f3ef581
MM
146992014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14700
14701 * record-btrace.c (record_btrace_fetch_registers)
14702 (record_btrace_store_registers)
14703 (record_btrace_to_prepare_to_store): New.
14704 (init_record_btrace_ops): Add the above.
14705
f32dbf8c
MM
147062014-01-16 Tom Tromey <tromey@redhat.com>
14707
14708 * windows-nat.c (windows_prepare_to_store): Add 'self' argument.
14709 * target.h (struct target_ops) <to_prepare_to_store>: Add
14710 argument.
14711 (target_prepare_to_store): Add argument.
14712 * target.c (debug_to_prepare_to_store): Add argument.
14713 (update_current_target): Update.
14714 * remote.c (remote_prepare_to_store): Add 'self' argument.
14715 * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument.
14716 * remote-mips.c (mips_prepare_to_store): Add 'self' argument.
14717 * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument.
14718 * record-full.c (record_full_core_prepare_to_store): Add 'self'
14719 argument.
14720 * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument.
14721 * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument.
14722 * monitor.c (monitor_prepare_to_store): Add 'self' argument.
14723 * inf-child.c (inf_child_prepare_to_store): Add 'self' argument.
14724 * go32-nat.c (go32_prepare_to_store): Add 'self' argument.
14725
07bbe694
MM
147262014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14727
14728 * btrace.h (replay) <replay>: New.
14729 (btrace_is_replaying): New.
14730 * btrace.c (btrace_clear): Free replay iterator.
14731 (btrace_is_replaying): New.
14732 * record-btrace.c (record_btrace_is_replaying): New.
14733 (record_btrace_info): Print insn number if replaying.
14734 (record_btrace_insn_history): Start at replay position.
14735 (record_btrace_call_history): Start at replay position.
14736 (init_record_btrace_ops): Init to_record_is_replaying.
14737
0688d04e
MM
147382014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14739
14740 * record-btrace.c (record_btrace_insn_history_range): Include
14741 end.
14742 (record_btrace_insn_history_from): Adjust range.
14743 (record_btrace_call_history_range): Include
14744 end.
14745 (record_btrace_call_history_from): Adjust range.
14746 * NEWS: Announce changes.
14747
8710b709
MM
147482014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14749
14750 * record.h (enum record_print_flag)
14751 <record_print_indent_calls>: New.
14752 * record.c (get_call_history_modifiers): Recognize /c modifier.
14753 (_initialize_record): Document /c modifier.
14754 * record-btrace.c (btrace_call_history): Add btinfo parameter.
14755 Reorder fields. Optionally indent the function name. Update
14756 all users.
14757 * NEWS: Announce changes.
14758
d0fa7535
MM
147592014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14760
14761 * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer.
14762
5de9129b
MM
147632014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14764
14765 * btrace.c (ftrace_new_function): Start counting at one.
14766 * record-btrace.c (record_btrace_info): Adjust number of calls
14767 and insns.
14768 * NEWS: Announce it.
14769
7acbe133
MM
147702014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14771
14772 * record-btrace.c (btrace_call_history_insn_range): Print
14773 insn range as [begin, end].
14774
23a7fe75
MM
147752014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14776
14777 * btrace.h (struct btrace_func_link): New.
14778 (enum btrace_function_flag): New.
14779 (struct btrace_inst): Rename to ...
14780 (struct btrace_insn): ...this. Update all users.
14781 (struct btrace_func) <ibegin, iend>: Remove.
14782 (struct btrace_func_link): New.
14783 (struct btrace_func): Rename to ...
14784 (struct btrace_function): ...this. Update all users.
14785 (struct btrace_function) <segment, flow, up, insn, insn_offset)
14786 (number, level, flags>: New.
14787 (struct btrace_insn_iterator): Rename to ...
14788 (struct btrace_insn_history): ...this.
14789 Update all users.
14790 (struct btrace_insn_iterator, btrace_call_iterator): New.
14791 (struct btrace_target_info) <btrace, itrace, ftrace>: Remove.
14792 (struct btrace_target_info) <begin, end, level>
14793 <insn_history, call_history>: New.
14794 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14795 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14796 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14797 (btrace_call_number, btrace_call_begin, btrace_call_end)
14798 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14799 (btrace_find_function_by_number, btrace_set_insn_history)
14800 (btrace_set_call_history): New.
14801 * btrace.c (btrace_init_insn_iterator)
14802 (btrace_init_func_iterator, compute_itrace): Remove.
14803 (ftrace_print_function_name, ftrace_print_filename)
14804 (ftrace_skip_file): Change
14805 parameter to const.
14806 (ftrace_init_func): Remove.
14807 (ftrace_debug): Use new btrace_function fields.
14808 (ftrace_function_switched): Also consider gaining and
14809 losing symbol information).
14810 (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return)
14811 (ftrace_new_switch, ftrace_find_caller, ftrace_new_function)
14812 (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall):
14813 New.
14814 (ftrace_new_function): Move. Remove debug print.
14815 (ftrace_update_lines, ftrace_update_insns): New.
14816 (ftrace_update_function): Check for call, ret, and jump.
14817 (compute_ftrace): Renamed to ...
14818 (btrace_compute_ftrace): ...this. Rewritten to compute call
14819 stack.
14820 (btrace_fetch, btrace_clear): Updated.
14821 (btrace_insn_get, btrace_insn_number, btrace_insn_begin)
14822 (btrace_insn_end, btrace_insn_prev, btrace_insn_next)
14823 (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get)
14824 (btrace_call_number, btrace_call_begin, btrace_call_end)
14825 (btrace_call_prev, btrace_call_next, btrace_call_cmp)
14826 (btrace_find_function_by_number, btrace_set_insn_history)
14827 (btrace_set_call_history): New.
14828 * record-btrace.c (require_btrace): Use new btrace thread
14829 info fields.
14830 (record_btrace_info, btrace_insn_history)
14831 (record_btrace_insn_history, record_btrace_insn_history_range):
14832 Use new btrace thread info fields and new iterator.
14833 (btrace_func_history_src_line): Rename to ...
14834 (btrace_call_history_src_line): ...this. Use new btrace
14835 thread info fields.
14836 (btrace_func_history): Rename to ...
14837 (btrace_call_history): ...this. Use new btrace thread info
14838 fields and new iterator.
14839 (record_btrace_call_history, record_btrace_call_history_range):
14840 Use new btrace thread info fields and new iterator.
14841
8372a7cb
MM
148422014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14843
14844 * frame.h (frame_id_build_unavailable_stack_special): New.
14845 * frame.c (frame_id_build_unavailable_stack_special): New.
14846
c2170eef
MM
148472014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14848
14849 * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call)
14850 (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New.
14851 (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump
14852 to gdbarch.
14853 * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret)
14854 (i386_insn_is_jump, i386_jmp_p): New.
14855 (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and
14856 insn_is_jump to gdbarch.
14857 * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New.
14858 * gdbarch.h: Regenerated.
14859 * gdbarch.c: Regenerated.
14860 * arch-utils.h (default_insn_is_call, default_insn_is_ret)
14861 (default_insn_is_jump): New.
14862 * arch-utils.c (default_insn_is_call, default_insn_is_ret)
14863 (default_insn_is_jump): New.
14864
864089d2
MM
148652014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14866
14867 * common/btrace-common.h (btrace_read_type) <btrace_read_all>:
14868 Change to ...
14869 (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users.
14870 (btrace_read_type) <btrace_read_new>: Change to ...
14871 (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users.
14872
ed9edfb5
MM
148732014-01-16 Markus Metzger <markus.t.metzger@intel.com>
14874
14875 * common/linux-btrace.c (linux_read_btrace): Free trace from
14876 previous iteration.
14877
fbcbc3fd
DE
148782014-01-15 Doug Evans <dje@google.com>
14879
14880 * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print
14881 uint32_t.
14882
3d548a53
TT
148832014-01-15 Tom Tromey <tromey@redhat.com>
14884
14885 * dbxread.c (process_one_symbol): Use set_objfile_main_name.
14886 * dwarf2read.c (read_partial_die): Use set_objfile_main_name.
14887 * objfiles.c (get_objfile_bfd_data): Initialize language_of_main.
14888 (set_objfile_main_name): New function.
14889 * objfiles.h (struct objfile_per_bfd_storage) <name_of_main,
14890 language_of_main>: New fields.
14891 (set_objfile_main_name): Declare.
14892 * symtab.c (find_main_name): Loop over objfiles to find the main
14893 name and language.
14894 (set_main_name): Now static.
14895 (get_main_info): Add comment.
14896 * symtab.h (set_main_name): Don't declare.
14897
32ac0d11
TT
148982014-01-15 Tom Tromey <tromey@redhat.com>
14899
14900 * symtab.c (main_progspace_key): New global.
14901 (struct main_info): New.
14902 (name_of_main, language_of_main): Remove.
14903 (get_main_info, main_info_cleanup): New function.
14904 (set_main_name, main_name, main_language): Use get_main_info.
14905 (_initialize_symtab): Initialize main_progspace_key.
14906
9e6c82ad
TT
149072014-01-15 Tom Tromey <tromey@redhat.com>
14908
14909 * dbxread.c (process_one_symbol): Update.
14910 * dwarf2read.c (read_partial_die): Update.
14911 * symfile.c (set_initial_language): Call main_language.
14912 * symtab.c (language_of_main): Now static.
14913 (set_main_name): Add 'lang' parameter.
14914 (find_main_name): Update.
14915 (main_language): New function.
14916 (symtab_observer_executable_changed): Update.
14917 * symtab.h (set_main_name): Update.
14918 (language_of_main): Remove.
14919 (main_language): Declare.
14920
6ef55de7
TT
149212014-01-15 Tom Tromey <tromey@redhat.com>
14922
14923 * symfile.c (init_entry_point_info): Use new "initialized" field.
14924 Update.
14925 * objfiles.h (struct entry_point) <initialized>: New field.
14926 (struct objfile_per_bfd_storage) <ei>: New field, moved from...
14927 (struct objfile) <ei>: ...here. Remove.
14928 * objfiles.c (entry_point_address_query): Update.
14929
53eddfa6
TT
149302014-01-15 Tom Tromey <tromey@redhat.com>
14931
14932 * objfiles.c (entry_point_address_query): Relocate entry point
14933 address.
14934 (objfile_relocate1): Do not relocate entry point address.
14935 * objfiles.h (struct entry_info) <entry_point>: Update comment.
14936 <the_bfd_section_index>: New field.
14937 * symfile.c (init_entry_point_info): Find the entry point's
14938 section.
14939
d56e56aa
TT
149402014-01-15 Tom Tromey <tromey@redhat.com>
14941
14942 * solib-frv.c (enable_break): Use entry_point_address_query.
14943
33a97bbe
OJ
149442014-01-15 Omair Javaid <omair.javaid@linaro.org>
14945
14946 * NEWS: Add note on improved process record-replay on
14947 arm*-linux* targets.
14948
c6ec2b30
OJ
149492014-01-15 Omair Javaid <omair.javaid@linaro.org>
14950
14951 * arm-tdep.c (enum arm_record_result): New enum.
14952 (arm_record_unsupported_insn): New function.
14953 (arm_record_coproc_data_proc): Removed.
14954 (thumb2_record_ld_st_multiple): New function.
14955 (thumb2_record_ld_st_dual_ex_tbb): New function.
14956 (thumb2_record_data_proc_sreg_mimm): New function.
14957 (thumb2_record_ps_dest_generic): New function.
14958 (thumb2_record_branch_misc_cntrl): New function.
14959 (thumb2_record_str_single_data): New function.
14960 (thumb2_record_ld_mem_hints): New function.
14961 (thumb2_record_ld_word): New function.
14962 (thumb2_record_lmul_lmla_div): New function.
14963 (thumb2_record_decode_insn_handler): New function.
14964 (decode_insn): Add thumb32 instruction handlers.
14965
97dfe206
OJ
149662014-01-15 Omair Javaid <omair.javaid@linaro.org>
14967
14968 * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h".
14969 (struct arm_linux_record_tdep): Declare.
14970 (arm_canonicalize_syscall): New function.
14971 (arm_all_but_pc_registers_record): New function.
14972 (arm_linux_syscall_record): New function.
14973 (arm_linux_init_abi): Add syscall recording constructs.
14974 * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall
14975 decoding. (arm_record_coproc_data_proc): Update arm syscall
14976 decoding.
14977 * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove.
14978 <arm_syscall_record>: New field.
14979 * configure.tgt (arm*-*-linux*): Add linux-record.o to
14980 gdb_target_obs.
14981
9904a494
OJ
149822014-01-15 Omair Javaid <omair.javaid@linaro.org>
14983
14984 * arm-tdep.c (thumb_record_misc): Update to use sp as base
14985 register for push instruction recording.
14986
f969241e
OJ
149872014-01-15 Omair Javaid <omair.javaid@linaro.org>
14988
14989 * arm-tdep.c (thumb_record_misc): Update to correct logical
14990 error while recording ldm, ldmia and pop instructions.
14991
bfbbec00
OJ
149922014-01-15 Omair Javaid <omair.javaid@linaro.org>
14993
14994 * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t.
14995
e40adcc9
PA
149962014-01-15 Pedro Alves <palves@redhat.com>
14997
14998 * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach)
14999 (go32_resume, go32_fetch_registers, store_register)
15000 (go32_store_registers, go32_prepare_to_store)
15001 (go32_xfer_memory, go32_files_info, go32_kill_inferior)
15002 (go32_create_inferior, go32_can_run, go32_terminal_init)
15003 (go32_terminal_inferior, go32_terminal_ours): Delete forward
15004 declarations.
15005
b0a16e66
TT
150062014-01-15 Tom Tromey <tromey@redhat.com>
15007
15008 * target.h (async_callback_ftype): New typedef.
15009 (struct target_ops) <to_async>: Use it.
15010
bf7105a4
JB
150112014-01-15 Joel Brobecker <brobecker@adacore.com>
15012
15013 * python/py-value.c (get_field_type): Remove unnecessary curly
15014 braces for single-statement if block.
15015
a8f35c2e
JB
150162014-01-15 Joel Brobecker <brobecker@adacore.com>
15017
15018 * python/py-type.c (convert_field): Add missing empty line
15019 after declarations.
15020
bb4142cf
DE
150212014-01-14 Doug Evans <dje@google.com>
15022
15023 * symfile.h (expand_symtabs_matching): Renamed from
15024 expand_partial_symbol_names. Update prototype.
15025 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
15026 * symfile.c (expand_symtabs_matching): Renamed from
15027 expand_partial_symbol_names. New args file_matcher, kind.
15028 Rename arg fun to symbol_matcher.
15029 (map_symbol_filenames): Renamed from map_partial_symbol_filenames.
15030 * ada-lang.c (ada_complete_symbol_matcher): Renamed from
15031 ada_expand_partial_symbol_name.
15032 (ada_make_symbol_completion_list): Update to call
15033 expand_symtabs_matching.
15034 (ada_add_global_exceptions): Call expand_symtabs_matching.
15035 * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to
15036 call map_symbol_filenames.
15037 * symtab.c (sources_info): Update to call map_symbol_filenames.
15038 (search_symbols): Call expand_symtabs_matching.
15039 (symbol_completion_matcher): Renamed from expand_partial_symbol_name.
15040 (default_make_symbol_completion_list_break_on): Update to call
15041 expand_symtabs_matching.
15042 (make_source_files_completion_list): Update to call
15043 map_symbol_filenames.
15044
206f2a57
DE
150452014-01-14 Doug Evans <dje@google.com>
15046
15047 * symfile.h (expand_symtabs_file_matcher_ftype): New typedef.
15048 (expand_symtabs_symbol_matcher_ftype): New typedef.
15049 (quick_symbol_functions.expand_symtabs_matching): Update to use.
15050 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
15051 * symfile.c (expand_partial_symbol_names): Update to use
15052 expand_symtabs_symbol_matcher_ftype.
15053 * dwarf2read.c (dw2_expand_symtabs_matching): Update to use
15054 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
15055 Arg name_matcher renamed to symbol_matcher.
15056 * psymtab.c (recursively_search_psymtabs): Update to use
15057 expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to
15058 sym_matcher.
15059 (expand_symtabs_matching_via_partial): Update to use
15060 expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype.
15061 Arg name_matcher renamed to symbol_matcher.
15062
540c2971
DE
150632014-01-14 Doug Evans <dje@google.com>
15064
15065 * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c.
15066 (map_partial_symbol_filenames): Ditto.
15067 * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h.
15068 (map_partial_symbol_filenames): Ditto.
15069 * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c.
15070 (map_partial_symbol_filenames): Ditto.
15071 * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h.
15072 (map_partial_symbol_filenames): Ditto.
15073 * symtab.c: Delete #include "psymtab.h".
15074
8213266a
PA
150752014-01-14 Pedro Alves <palves@redhat.com>
15076 Tom Tromey <tromey@redhat.com>
15077
15078 * infrun.c (use_displaced_stepping): Use find_record_target
15079 instead of RECORD_IS_USED.
15080 (adjust_pc_after_break): Use record_full_is_used instead of
15081 RECORD_IS_USED.
15082 * record-btrace.c (record_btrace_open): Call record_preopen
15083 instead of checking RECORD_IS_USED.
15084 * record-full.c (record_full_shortname)
15085 (record_full_core_shortname): New globals.
15086 (record_full_is_used): New function.
15087 (find_full_open): Call record_preopen instead of checking
15088 RECORD_IS_USED.
15089 (init_record_full_ops): Set the target's shortname to
15090 record_full_shortname.
15091 (init_record_full_core_ops): Set the target's shortname to
15092 record_full_core_shortname.
15093 * record-full.h (record_full_is_used): Declare.
15094 * record.c (find_record_target): Make extern.
15095 (record_preopen): New function.
15096 * record.h (RECORD_IS_USED): Delete macro.
15097 (find_record_target, record_preopen): Declare functions.
15098
7ec1862d
YQ
150992014-01-14 Yao Qi <yao@codesourcery.com>
15100
15101 * gdbarch.sh (core_xfer_shared_libraries): Change its argument
15102 'len''s type to ULONGEST.
15103 (core_xfer_shared_libraries_aix): Likewise.
15104 * gdbarch.c, gdbarch.h: Regenerated.
15105 * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries):
15106 Change type of 'len' to ULONGEST.
15107 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
15108 (rs6000_aix_core_xfer_shared_libraries_aix): Likewise.
15109
dea80a27
YQ
151102014-01-14 Yao Qi <yao@codesourcery.com>
15111
15112 * common/linux-osdata.c (linux_xfer_osdata_processes): Change
15113 type of 'len' to ULONGEST.
15114 (linux_xfer_osdata_processgroups): Likewise.
15115 (linux_xfer_osdata_threads): Likewise.
15116 (linux_xfer_osdata_fds): Likewise.
15117 (linux_xfer_osdata_isockets): Likewise.
15118 (linux_xfer_osdata_shm): Likewise.
15119 (linux_xfer_osdata_sem): Likewise.
15120 (linux_xfer_osdata_msg): Likewise.
15121 (linux_common_xfer_osdata): Likewise.
15122 (struct osdata_type) <getter>: Likewise.
15123 * common/linux-osdata.h (linux_common_xfer_osdata): Update
15124 the declaration.
15125
b55e14c7
YQ
151262014-01-14 Yao Qi <yao@codesourcery.com>
15127
15128 * target.h (target_xfer_partial_ftype): Update.
15129 (struct target_ops) <to_xfer_partial>: Change 'len' type to
15130 ULONGEST.
15131 * aix-thread.c (aix_thread_xfer_partial): Change type of
15132 argument 'len' to ULONGEST.
15133 * auxv.c (procfs_xfer_auxv): Likewise.
15134 (ld_so_xfer_auxv): Likewise.
15135 (memory_xfer_auxv): Likewise.
15136 * bfd-target.c (target_bfd_xfer_partial): Likewise.
15137 * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise.
15138 * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise.
15139 * corelow.c (core_xfer_partial): Likewise.
15140 * ctf.c (ctf_xfer_partial): Likewise.
15141 * darwin-nat.c (darwin_read_write_inferior): Likewise. Use
15142 '%u'.
15143 (darwin_read_dyld_info): Likewise.
15144 (darwin_xfer_partial): Likewise.
15145 * exec.c (section_table_xfer_memory_partial): Likewise.
15146 (exec_xfer_partial): Likewise.
15147 * exec.h (section_table_xfer_memory_partial): Update
15148 declaration.
15149 * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest
15150 instead of plongest.
15151 (gnu_xfer_partial): Likewise.
15152 * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise.
15153 (ia64_hpux_xfer_solib_got): Likewise.
15154 (ia64_hpux_xfer_partial): Likewise.
15155 * ia64-linux-nat.c (ia64_linux_xfer_partial):
15156 * inf-ptrace.c (inf_ptrace_xfer_partial):
15157 * inf-ttrace.c (inf_ttrace_xfer_partial):
15158 * linux-nat.c (linux_xfer_siginfo): Likewise.
15159 (linux_nat_xfer_partial): Likewise.
15160 (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise.
15161 (linux_nat_xfer_osdata, linux_xfer_partial): Likewise.
15162 * monitor.c (monitor_xfer_memory): Likewise.
15163 (monitor_xfer_partial): Likewise.
15164 * procfs.c (procfs_xfer_partial): Likewise.
15165 * record-full.c (record_full_xfer_partial): Likewise.
15166 (record_full_core_xfer_partial): Likewise.
15167 * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest
15168 instead of plongest.
15169 (gdbsim_xfer_partial): Likewise.
15170 * remote.c (remote_xfer_partial): Likewise.
15171 * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise.
15172 * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update
15173 declaration.
15174 * rs6000-nat.c (rs6000_xfer_partial): Likewise.
15175 (rs6000_xfer_shared_libraries): Likewise.
15176 * sol-thread.c (sol_thread_xfer_partial): Likewise.
15177 * sparc-nat.c (sparc_xfer_wcookie): Likewise.
15178 (sparc_xfer_partial): Likewise.
15179 * spu-linux-nat.c (spu_proc_xfer_spu): Likewise.
15180 (spu_xfer_partial): Likewise.
15181 * spu-multiarch.c (spu_xfer_partial): Likewise.
15182 * target.c (target_read_live_memory): Likewise.
15183 (memory_xfer_live_readonly_partial): Likewise.
15184 (memory_xfer_partial, memory_xfer_partial_1): Likewise.
15185 (target_xfer_partial, default_xfer_partial): Likewise.
15186 (current_xfer_partial): Likewise.
15187 * tracepoint.c (tfile_xfer_partial): Likewise.
15188 * windows-nat.c (windows_xfer_memory): Likewise. Call
15189 pulongest instead of plongest.
15190 (windows_xfer_partial): Likewise.
15191 (windows_xfer_shared_libraries): Likewise.
15192
05804640
YQ
151932014-01-14 Yao Qi <yao@codesourcery.com>
15194
15195 * rs6000-nat.c (rs6000_xfer_shared_libraries): Use
15196 target_xfer_partial_ftype.
15197
b5b08fb4
SC
151982014-01-13 Siva Chandra Reddy <sivachandra@google.com>
15199
15200 PR python/15464
15201 PR python/16113
15202 * valops.c (value_struct_elt_bitpos): New function
15203 * py-type.c (convert_field): Set 'name' attribute of a gdb.Field
15204 object to 'None' if the field name is an empty string ("").
15205 * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type'
15206 attribute to look for a field when 'name' is 'None'.
15207 (get_field_type): New function
15208
13aaf454
DE
152092014-01-13 Doug Evans <dje@google.com>
15210
15211 PR symtab/16426
15212 * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion.
15213 (try_open_dwop_file): Ditto.
15214 * gdb_bfd.c: #include "vec.h".
15215 (bfdp): New typedef.
15216 (struct gdb_bfd_data): New member included_bfds.
15217 (gdb_bfd_unref): Unref all included bfds.
15218 (gdb_bfd_record_inclusion): New function.
15219 * gdb_bfd.h (gdb_bfd_record_inclusion): Declare.
15220
c2cec97c
TT
152212014-01-13 Tom Tromey <tromey@redhat.com>
15222
15223 * gdbcore.h (deprecated_core_resize_section_table): Remove.
15224
78e5999d
TT
152252014-01-13 Tom Tromey <tromey@redhat.com>
15226
15227 * defs.h (use_windows): Remove.
15228 * gdb.c (main): Update.
15229 * main.c (captured_main, gdb_main): Update.
15230 * main.h (struct captured_main_args) <use_windows>: Remove.
15231 * top.c (use_windows): Remove.
15232
f2052bbe
TT
152332014-01-13 Tom Tromey <tromey@redhat.com>
15234
15235 * defs.h (deprecated_flush_hook): Remove.
15236
fde4f8ed
JK
152372014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15238
15239 PR threads/16216
15240 * linux-thread-db.c (try_thread_db_load): Add parameter
15241 check_auto_load_safe. Move here the file_is_auto_load_safe call.
15242 (try_thread_db_load_from_pdir_1): Move it there from here.
15243 (try_thread_db_load_from_sdir): Update caller.
15244 (try_thread_db_load_from_dir): Move it there from here.
15245
bdf61915
PP
152462014-01-13 Patrick Palka <patrick@parcs.ath.cx>
15247
15248 * regformats/regdat.sh: Always rewrite the register file.
15249
f71e1a8d
PA
152502014-01-13 Pedro Alves <palves@redhat.com>
15251
15252 * Makefile.in (CHECK_HEADERS): New variable.
15253 (check-headers:): New rule.
15254
42c85435
TT
152552014-01-13 Tom Tromey <tromey@redhat.com>
15256
15257 * cli/cli-setshow.c (do_set_command): Update.
15258 * defs.h (deprecated_set_hook): Remove.
15259 * top.c (deprecated_set_hook): Remove.
15260
f8de5129
PA
152612014-01-13 Pedro Alves <palves@redhat.com>
15262
15263 * tracepoint.c (tfile_fetch_registers): Don't infer the PC from
15264 the tracepoint if the PC is a pseudo-register.
15265
fc270c35
TT
152662014-01-13 Tom Tromey <tromey@redhat.com>
15267
15268 * defs.h (XCALLOC): Remove.
15269 * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC.
15270 (print_bcache_statistics): Use XCNEWVEC, not XCALLOC.
15271 * dwarf2loc.c (allocate_piece_closure): Likewise.
15272 * elfread.c (elf_symfile_segments): Likewise.
15273 (elf_symfile_segments): Likewise.
15274 * gdbtypes.c (copy_type_recursive): Likewise.
15275 * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC.
15276 * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC.
15277 * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not
15278 XCALLOC.
15279 * mt-tdep.c (mt_gdbarch_init): Likewise.
15280 * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not
15281 XCALLOC.
15282 * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC.
15283 * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC.
15284 * registry.c (registry_alloc_data): Likewise.
15285 * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC.
15286 * s390-linux-tdep.c (s390_gdbarch_init): Likewise.
15287 * serial.c (serial_fdopen_ops): Likewise.
15288 * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not
15289 XCALLOC.
15290 * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC.
15291 * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC,
15292 not XCALLOC.
15293
70ba0933
TT
152942014-01-13 Tom Tromey <tromey@redhat.com>
15295
15296 * defs.h (XMALLOC): Remove.
15297 * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC.
15298 * bfin-tdep.c (bfin_gdbarch_init): Likewise.
15299 * cli-out.c (struct ui_out *): Likewise.
15300 * cli/cli-dump.c (add_dump_command): Likewise.
15301 (add_dump_command): Likewise.
15302 * complaints.c (get_complaints): Likewise.
15303 (find_complaint): Likewise.
15304 * dwarf2-frame.c (execute_cfa_program): Likewise.
15305 * dwarf2read.c (abbrev_table_read_table): Likewise.
15306 * gdbarch.sh: Likewise.
15307 * gdbarch.c: Rebuild.
15308 * inf-ttrace.c (inf_ttrace_add_page): Likewise.
15309 * interps.c (interp_new): Likewise.
15310 * lm32-tdep.c (lm32_gdbarch_init): Likewise.
15311 * m32r-tdep.c (m32r_gdbarch_init): Likewise.
15312 * mi/mi-console.c (mi_console_file_new): Likewise.
15313 * mi/mi-interp.c (mi_interpreter_init): Likewise.
15314 * mi/mi-out.c (mi_out_new): Likewise.
15315 * mi/mi-parse.c (mi_parse): Likewise.
15316 * microblaze-tdep.c (microblaze_gdbarch_init): Likewise.
15317 * moxie-tdep.c (moxie_gdbarch_init): Likewise.
15318 * observer.c (xalloc_observer_list_node): Likewise.
15319 * regcache.c (regcache_xmalloc_1): Likewise.
15320 * reggroups.c (reggroup_new): Likewise.
15321 (_initialize_reggroup): Likewise.
15322 * registry.c (register_data_with_cleanup): Likewise.
15323 * remote.c (remote_notif_stop_alloc_reply): Likewise.
15324 * ser-base.c (serial_ttystate): Likewise.
15325 * ser-mingw.c (make_pipe_state): Likewise.
15326 * ser-pipe.c (pipe_open): Likewise.
15327 * serial.c (serial_open): Likewise.
15328 * sh64-tdep.c (sh64_gdbarch_init): Likewise.
15329 * tui/tui-data.c (tui_alloc_generic_win_info): Likewise.
15330 (tui_alloc_win_info): Likewise.
15331 (tui_add_content_elements): Likewise.
15332 * tui/tui-file.c (tui_file_new): Likewise.
15333 * tui/tui-out.c (tui_out_new): Likewise.
15334 * ui-file.c (mem_file_new): Likewise.
15335 * ui-out.c (push_level): Likewise.
15336 (make_cleanup_ui_out_end): Likewise.
15337 (append_header_to_list): Likewise.
15338 (ui_out_new): Likewise.
15339 * user-regs.c (user_reg_add_builtin): Likewise.
15340
41bf6aca
TT
153412014-01-13 Tom Tromey <tromey@redhat.com>
15342
15343 * defs.h (XZALLOC): Remove.
15344 * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC.
15345 * ada-tasks.c (get_ada_tasks_pspace_data): Likewise.
15346 (get_ada_tasks_inferior_data): Likewise.
15347 * auto-load.c (get_auto_load_pspace_data): Likewise.
15348 * auxv.c (get_auxv_inferior_data): Likewise.
15349 * bfd-target.c (target_bfd_reopen): Likewise.
15350 * breakpoint.c (get_catch_syscall_inferior_data): Likewise.
15351 (deprecated_insert_raw_breakpoint): Likewise.
15352 * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise.
15353 * corelow.c (core_open): Likewise.
15354 * darwin-nat.c (darwin_check_new_threads): Likewise.
15355 (darwin_attach_pid): Likewise.
15356 * dummy-frame.c (dummy_frame_push): Likewise.
15357 * dwarf2-frame.c (dwarf2_frame_cache): Likewise.
15358 * dwarf2loc.c (allocate_piece_closure): Likewise.
15359 * elfread.c (elf_symfile_segments): Likewise.
15360 * eval.c (ptrmath_type_p): Likewise.
15361 * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise.
15362 * gdbtypes.c (alloc_type_arch): Likewise.
15363 (alloc_type_instance): Likewise.
15364 * hppa-tdep.c (hppa_gdbarch_init): Likewise.
15365 * inf-child.c (inf_child_can_use_agent): Likewise.
15366 * inflow.c (get_inflow_inferior_data): Likewise.
15367 * infrun.c (save_infcall_suspend_state): Likewise.
15368 * jit.c (jit_reader_load): Likewise.
15369 (get_jit_objfile_data): Likewise.
15370 (get_jit_program_space_data): Likewise.
15371 (jit_object_open_impl): Likewise.
15372 (jit_symtab_open_impl): Likewise.
15373 (jit_block_open_impl): Likewise.
15374 (jit_frame_sniffer): Likewise.
15375 * linux-fork.c (add_fork): Likewise.
15376 * maint.c (make_command_stats_cleanup): Likewise.
15377 * objfiles.c (get_objfile_pspace_data): Likewise.
15378 * opencl-lang.c (struct lval_closure): Likewise.
15379 * osdata.c (osdata_start_osdata): Likewise.
15380 * progspace.c (new_address_space): Likewise.
15381 (add_program_space): Likewise.
15382 * remote-sim.c (get_sim_inferior_data): Likewise.
15383 * sh-tdep.c (sh_gdbarch_init): Likewise.
15384 * skip.c (Ignore): Likewise.
15385 (skip_delete_command): Likewise.
15386 * solib-aix.c (get_solib_aix_inferior_data): Likewise.
15387 (library_list_start_library): Likewise.
15388 (solib_aix_current_sos): Likewise.
15389 * solib-darwin.c (get_darwin_info): Likewise.
15390 (darwin_current_sos): Likewise.
15391 * solib-dsbt.c (get_dsbt_info): Likewise.
15392 * solib-ia64-hpux.c (new_so_list): Likewise.
15393 (ia64_hpux_get_solib_linkage_addr): Likewise.
15394 * solib-spu.c (append_ocl_sos): Likewise.
15395 (spu_current_sos): Likewise.
15396 * solib-svr4.c (get_svr4_info): Likewise.
15397 (svr4_keep_data_in_core): Likewise.
15398 (library_list_start_library): Likewise.
15399 (svr4_default_sos): Likewise.
15400 (svr4_read_so_list): Likewise.
15401 * solib-target.c (library_list_start_library): Likewise.
15402 (solib_target_current_sos): Likewise.
15403 * sparc-tdep.c (sparc32_gdbarch_init): Likewise.
15404 * symfile-debug.c (install_symfile_debug_logging): Likewise.
15405 * symfile.c (default_symfile_segments): Likewise.
15406 * target-descriptions.c (tdesc_data_init): Likewise.
15407 (tdesc_create_reg): Likewise.
15408 (struct tdesc_type *): Likewise.
15409 (tdesc_create_vector): Likewise.
15410 (tdesc_set_struct_size): Likewise.
15411 (struct tdesc_type *): Likewise.
15412 (tdesc_free_feature): Likewise.
15413 (tdesc_create_feature): Likewise.
15414 * windows-nat.c (windows_add_thread): Likewise.
15415 (windows_make_so): Likewise.
15416 * xml-support.c (gdb_xml_body_text): Likewise.
15417 (gdb_xml_create_parser_and_cleanup): Likewise.
15418 (xml_process_xincludes): Likewise.
15419 * xml-syscall.c (allocate_syscalls_info): Likewise.
15420 (syscall_create_syscall_desc): Likewise.
15421
5acfdbae
SDJ
154222014-01-12 Sergio Durigan Junior <sergiodj@redhat.com>
15423
15424 * i386-tdep.c (i386_stap_parse_special_token_triplet): New
15425 function, with code from i386_stap_parse_special_token.
15426 (i386_stap_parse_special_token_three_arg_disp): Likewise.
15427 (i386_stap_parse_special_token): Move code to the two functions
15428 above; simplify it.
15429
0000e5cc
PA
154302014-01-09 Pedro Alves <palves@redhat.com>
15431 Hui Zhu <hui@codesourcery.com>
15432
15433 PR gdb/16101
15434 * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to
15435 bp_err_string. Don't mark the location shlib_disabled if the
15436 error thrown wasn't a generic or memory error. Catch errors
15437 thrown while inserting breakpoints in overlayed code. Output
15438 error message of software breakpoints.
15439 * remote.c (remote_insert_breakpoint): If this breakpoint has
15440 target-side commands but this stub doesn't support Z0 packets,
15441 throw NOT_SUPPORTED_ERROR error.
15442 * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error.
15443 * target.h (target_insert_breakpoint): Extend comment.
15444 (target_insert_hw_breakpoint): Add comment.
15445
b7ea362b
PA
154462014-01-08 Pedro Alves <palves@redhat.com>
15447
15448 * remote.c (remote_add_thread): Add threads silently if starting
15449 up.
15450 (remote_notice_new_inferior): If in all-stop, and starting up,
15451 don't call notice_new_inferior.
15452 (get_current_thread): New function, factored out from ...
15453 (add_current_inferior_and_thread): ... this. Adjust.
15454 (remote_start_remote) <all-stop>: Fetch the thread list. If we
15455 found any thread, then select the remote's current thread as GDB's
15456 current thread too.
15457
b7bba001
JB
154582014-01-08 Joel Brobecker <brobecker@adacore.com>
15459
15460 * NEWS: Create a new section for the next release branch.
15461 Rename the section of the current branch, now that it has
15462 been cut.
15463
16dfbded
JB
154642014-01-08 Joel Brobecker <brobecker@adacore.com>
15465
15466 GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5):
15467 * version.in: Bump version to 7.7.50.DATE-cvs.
15468
22c90ac1
YQ
154692014-01-08 Yao Qi <yao@codesourcery.com>
15470
15471 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change
15472 type of 'id' to gdb_byte. Cast 'id' to 'const char *'.
15473 (spu_xfer_partial): Cast 'buf' to 'const char *'.
15474
d64ad97c
YQ
154752014-01-08 Yao Qi <yao@codesourcery.com>
15476
15477 * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass
15478 return value of bfd_get_filename to symbol_file_add_from_bfd.
15479
f93ba80c
PM
154802014-01-08 Pierre Muller <muller@sourceware.org>
15481
15482 Fix PR16201.
15483 * coff-pe-read.c (struct read_pe_section_data): Add index field.
15484 (add_pe_exported_sym): Use SECTION_DATA->INDEX for call
15485 to prim_record_mininal_symbol_and_info.
15486 (add_pe_forwarded_sym): Use known section number of forwarded symbol
15487 in call to prim_record_minimal_symbol_and_info.
15488 (read_pe_exported_syms): Set index field of section_data.
15489
a4d9ba85
AP
154902014-01-07 Andrew Pinski <apinski@cavium.com>
15491
15492 * features/aarch64-core.xml (cpsr): Change to be 64bit.
15493 * features/aarch64.c: Regenerate.
15494
1b67eb02
AS
154952014-01-07 Andreas Schwab <schwab@linux-m68k.org>
15496
15497 * target.c (return_null): Define.
15498 (update_current_target): Use it instead of return_zero for
15499 functions that return a pointer.
15500
5e3f4fab
EBM
155012014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15502
15503 * source.c (add_path): Fix check for duplicated paths in the previously
15504 included paths.
15505
e2616788
HK
155062014-01-07 Honggyu Kim <hong.gyu.kim@lge.com>
15507
15508 * ada-lang.c: Remove duplicated include statements.
15509 * alphabsd-nat.c: Ditto.
15510 * amd64-darwin-tdep.c: Ditto.
15511 * amd64fbsd-nat.c: Ditto.
15512 * auto-load.c: Ditto.
15513 * ax-gdb.c: Ditto.
15514 * breakpoint.c: Ditto.
15515 * dbxread.c: Ditto.
15516 * fork-child.c: Ditto.
15517 * gdb_usleep.c: Ditto.
15518 * i386-darwin-tdep.c: Ditto.
15519 * i386fbsd-nat.c: Ditto.
15520 * infcmd.c: Ditto.
15521 * inferior.c: Ditto.
15522 * jv-lang.c: Ditto.
15523 * linux-nat.c: Ditto.
15524 * linux-tdep.c: Ditto.
15525 * m68kbsd-nat.c: Ditto.
15526 * m68klinux-nat.c: Ditto.
15527 * microblaze-tdep.c: Ditto.
15528 * mips-linux-tdep.c: Ditto.
15529 * mn10300-tdep.c: Ditto.
15530 * nto-tdep.c: Ditto.
15531 * opencl-lang.c: Ditto.
15532 * osdata.c: Ditto.
15533 * printcmd.c: Ditto.
15534 * regcache.c: Ditto.
15535 * remote-m32r-sdi.c: Ditto.
15536 * remote.c: Ditto.
15537 * symfile.c: Ditto.
15538 * symtab.c: Ditto.
15539 * tilegx-linux-nat.c: Ditto.
15540 * tilegx-tdep.c: Ditto.
15541 * tracepoint.c: Ditto.
15542 * valops.c: Ditto.
15543 * vaxbsd-nat.c: Ditto.
15544 * windows-nat.c: Ditto.
15545 * xtensa-tdep.c: Ditto.
15546
bd1f7788
YQ
155472014-01-07 Yao Qi <yao@codesourcery.com>
15548
15549 * spu-linux-nat.c (_initialize_spu_nat): Declare.
15550
79301218
JB
155512014-01-07 Yao Qi <yao@codesourcery.com>
15552 Joel Brobecker <brobecker@adacore.com>
15553
15554 * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t.
15555 (pdc_write_regs): Likewise.
15556 (fetch_regs_kernel_thread): Likewise.
15557 (store_regs_kernel_thread): Likewise.
15558
155592014-01-07 Joel Brobecker <brobecker@adacore.com>
15560
15561 * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert
15562 tagged type objects to their actual type.
15563
8e355c5d
JB
155642014-01-07 Joel Brobecker <brobecker@adacore.com>
15565
15566 * ada-valprint.c (print_field_values): Add "language" parameter.
15567 Update calls to print_field_values and print_variant_part.
15568 Pass new parameter "language" in call to val_print instead
15569 of "current_language". Replace call to ada_val_print by call
15570 to val_print.
15571 (print_variant_part): Add "language" parameter.
15572 (ada_val_print_struct_union): Update call to print_field_values.
15573
4fbf5aa5
JB
155742014-01-07 Joel Brobecker <brobecker@adacore.com>
15575
15576 * ada-valprint.c (ui_memcpy): Delete.
15577 (ada_print_floating): Update documentation. Add empty line
15578 between between function documentation and implementation.
15579 Delete variable "buffer". Use ui_file_xstrdup in place of
15580 ui_file_put. Minor adjustments following this change.
15581
71855601
JB
155822014-01-07 Joel Brobecker <brobecker@adacore.com>
15583
15584 * ada-valprint.c (ada_val_print_string): New function,
15585 extracted from ada_val_print_array.
15586 (ada_val_print_array): Replace extracted code by call
15587 to ada_val_print_string followed by a return. Move
15588 "else" branch to the function's top block.
15589
4eb27a30
JB
155902014-01-07 Joel Brobecker <brobecker@adacore.com>
15591
15592 * ada-valprint.c (ada_val_print_array): Move implementation
15593 down. Rename parameter "offset" and "val" into "offset_aligned"
15594 and "original_value" respectively. Add parameter "offset".
15595
34b27950
JB
155962014-01-07 Joel Brobecker <brobecker@adacore.com>
15597
15598 * ada-valprint.c (ada_val_print_ref): Rewrite by mostly
15599 re-organizing the code. Change the "???" message printed
15600 when target type is a TYPE_CODE_UNDEF into
15601 "<ref to undefined type>".
15602
079e4591
JB
156032014-01-07 Joel Brobecker <brobecker@adacore.com>
15604
15605 * ada-valprint.c (print_record): Delete, implementation inlined...
15606 (ada_val_print_struct_union): ... here. Remove call to
15607 ada_check_typedef in inlined implementation.
15608
8004dfd1
JB
156092014-01-07 Joel Brobecker <brobecker@adacore.com>
15610
15611 * ada-valprint.c (ada_val_print_gnat_array): New function,
15612 extracted from ada_val_print_1;
15613 (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum)
15614 (ada_val_print_flt, ada_val_print_struct_union)
15615 (ada_val_print_ref): Likewise.
15616 (ada_val_print_1): Delete variables i and elttype.
15617 Replace extracted-out code by call to corresponding
15618 new functions.
15619
760a2db0
JB
156202014-01-07 Joel Brobecker <brobecker@adacore.com>
15621
15622 * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush.
15623
3a92c861
JB
156242014-01-07 Joel Brobecker <brobecker@adacore.com>
15625
15626 * ada-valprint.c (ada_val_print_1): Replace calls to
15627 ada_val_print_1 by calls to val_print.
15628
cd1630f9
JB
156292014-01-07 Joel Brobecker <brobecker@adacore.com>
15630
15631 * ada-valprint.c (ada_val_print_1): Add parameter "language".
15632 Update calls to self accordingly. Replace calls to c_val_print
15633 by calls to val_print.
15634
bdf779a0
JB
156352014-01-07 Joel Brobecker <brobecker@adacore.com>
15636
15637 * ada-valprint.c (print_record): Delete declaration.
15638 (adjust_type_signedness, ada_val_print_1): Likewise.
15639 (ada_val_print): Move function implementation down.
15640 (print_variant_part, print_field_values, print_record):
15641 Move function implementation up.
15642
c0d48811
JB
156432014-01-07 Joel Brobecker <brobecker@adacore.com>
15644
15645 * python/py-type.c (typy_get_name): New function.
15646 (type_object_getset): Add entry for attribute "name".
15647 * NEWS: Add entry mentioning this new attribute.
15648
c26e9cbb
YQ
156492014-01-07 Yao Qi <yao@codesourcery.com>
15650
15651 * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if'
15652 statement.
15653
0cc6f43d
YQ
156542014-01-07 Yao Qi <yao@codesourcery.com>
15655
15656 * gnu-nat.c (info_port_rights): Add qualifier const to
15657 argument args.
15658
eec03155
YQ
156592014-01-07 Yao Qi <yao@codesourcery.com>
15660
15661 * gnu-nat.c (trace_me): Use 'void' for empty argument list.
15662
f04a82ef
YQ
156632014-01-07 Yao Qi <yao@codesourcery.com>
15664
15665 * gnu-nat.c (make_inf) Update declaration.
15666 (make_inf): Make it static.
15667 (inf_set_traced): Likewise.
15668 (inf_port_to_thread, inf_task_died_status): Likewise.
15669
d57dda0a
YQ
156702014-01-07 Yao Qi <yao@codesourcery.com>
15671
15672 * gnu-nat.c (inf_tid_to_proc): Remove declaration.
15673
3aa8c969
YQ
156742014-01-07 Yao Qi <yao@codesourcery.com>
15675
15676 * gnu-nat.c (_initialize_gnu_nat): Declare.
15677
94123b4f
YQ
156782014-01-07 Yao Qi <yao@codesourcery.com>
15679
15680 * gdbarch.sh (byte_order, byte_order_for_code): Change type to
15681 'enum bfd_endian'.
15682 (struct gdbarch_info) <byte_order>: Change type to
15683 'enum bfd_endian'.
15684 <byte_order_for_code>: Likewise.
15685 * gdbarch.c, gdbarch.h: Regenerated.
15686
dc81d70a
TT
156872014-01-06 Sasha Smundak <asmundak@google.com>
15688
15689 * jit.c: (jit_reader_load_command): Fix JIT reader path creation.
15690
cc2f3c35
TT
156912014-01-06 Tom Tromey <tromey@redhat.com>
15692
15693 * doublest.c (convert_doublest_to_floatformat): Use const, not
15694 CONST.
15695 * somread.c (som_symtab_read): Likewise.
15696
adcf2eed
HZ
156972014-01-07 Hui Zhu <hui@codesourcery.com>
15698
15699 * gdb_bfd.c (gdb_bfd_stash_filename): Removed.
15700 (gdb_bfd_open): Removed gdb_bfd_stash_filename.
15701 (gdb_bfd_fopen): Ditto.
15702 (gdb_bfd_openr): Ditto.
15703 (gdb_bfd_openw): Ditto.
15704 (gdb_bfd_openr_iovec): Ditto.
15705 (gdb_bfd_fdopenr): Ditto.
15706 * gdb_bfd.h (gdb_bfd_stash_filename): Removed.
15707 * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename
15708 with xstrdup.
15709 * solib-darwin.c (darwin_bfd_open): Alloc res->filename
15710 with xstrdup.
15711 * symfile-mem.c (symbol_file_add_from_memory): Removed
15712 gdb_bfd_stash_filename.
15713
50722198
DE
157142014-01-03 Doug Evans <dje@google.com>
15715
15716 * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from
15717 output.
15718
2fa4b862
JB
157192014-01-01 Joel Brobecker <brobecker@adacore.com>
15720
15721 Update year range in copyright notice of all files.
15722
28498c42
JB
157232014-01-01 Joel Brobecker <brobecker@adacore.com>
15724
15725 * top.c (print_gdb_version): Set copyright year to 2014.
15726
7b6e1046
JB
157272014-01-01 Joel Brobecker <brobecker@adacore.com>
15728
15729 * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013.
15730
df96af55 15731For older changes see ChangeLog-2013.
c906108c
SS
15732\f
15733Local Variables:
15734mode: change-log
15735left-margin: 8
15736fill-column: 74
15737version-control: never
57da7796 15738coding: utf-8
c906108c 15739End:
This page took 2.59084 seconds and 4 git commands to generate.