Commit | Line | Data |
---|---|---|
9a80057a DE |
1 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
2 | ||
3 | * cp-namespace.c (cp_lookup_symbol_imports): Make static. | |
4 | * cp-support.c (cp_lookup_symbol_imports): Delete. | |
5 | ||
1abf3a14 SM |
6 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> |
7 | ||
8 | PR gdb/17627 | |
9 | * target.c (cleanup_restore_target_terminal): New function. | |
10 | (make_cleanup_restore_target_terminal): New function. | |
11 | * target.h (make_cleanup_restore_target_terminal): New declaration. | |
12 | * mi/mi-interp.c (mi_thread_exit): Use the new cleanup. | |
13 | ||
d4d1e336 DE |
14 | 2014-12-08 Doug Evans <dje@google.com> |
15 | ||
16 | * python/py-objfile.c (objfpy_get_owner): Increment refcount of result. | |
17 | ||
a0be3e44 DE |
18 | 2014-12-08 Doug Evans <dje@google.com> |
19 | ||
20 | * NEWS: Mention gdb.Objfile.owner. | |
21 | * python/py-objfile.c (objfpy_get_owner): New function. | |
22 | (objfile_getset): Add "owner". | |
23 | ||
6c1c7be3 JK |
24 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
25 | ||
26 | * symtab.c (lookup_symbol_in_objfile_symtabs): New declaration. | |
27 | (lookup_global_symbol_from_objfile): Call it. | |
28 | ||
efad9b6a JK |
29 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
30 | ||
31 | Remove const from struct objfile *. | |
32 | * solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h, | |
33 | symtab.c, symtab.h: In these files. | |
34 | ||
069bb7ec AF |
35 | 2014-12-05 Andreas From <andreas.from@ericsson.com> |
36 | ||
37 | * MAINTAINERS (Write After Approval): Add "Andreas From" | |
38 | ||
642a8d80 DE |
39 | 2014-12-05 Doug Evans <xdje42@gmail.com> |
40 | ||
41 | Revert: | |
42 | PR symtab/17602 | |
43 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
44 | ||
86e4ed39 DE |
45 | 2014-12-04 Doug Evans <dje@google.com> |
46 | ||
47 | * NEWS: Mention gdb.Objfile.add_separate_debug_file. | |
48 | * python/py-objfile.c (objfpy_add_separate_debug_file): New function. | |
49 | (objfile_getset): Add "add_separate_debug_file". | |
50 | ||
7c50a931 DE |
51 | 2014-12-04 Doug Evans <dje@google.com> |
52 | ||
53 | * NEWS: Mention gdb.Objfile.build_id. | |
54 | * build-id.c (build_id_bfd_get): Make non-static. | |
55 | * build-id.h (build_id_bfd_get): Add declaration. | |
56 | * python/py-objfile.c: #include "build-id.h", "elf-bfd.h". | |
57 | (OBJFPY_REQUIRE_VALID): New macro. | |
58 | (objfpy_get_build_id): New function. | |
59 | (objfile_getset): Add "build_id". | |
60 | * utils.c (make_hex_string): New function. | |
61 | * utils.h (make_hex_string): Add declaration. | |
62 | ||
ba715d7f JK |
63 | 2014-12-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
64 | ||
65 | * block.c (block_lookup_symbol_primary): New function. | |
66 | * block.h (block_lookup_symbol_primary): New declaration. | |
67 | * symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX. | |
68 | Call block_lookup_symbol_primary. | |
69 | ||
858339f2 MR |
70 | 2014-12-03 Maciej W. Rozycki <macro@codesourcery.com> |
71 | ||
72 | * tramp-frame.h (tramp_frame): Add `validate' member. | |
73 | * tramp-frame.c (tramp_frame_start): Validate trampoline before | |
74 | scanning. | |
75 | * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro. | |
76 | (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise. | |
77 | (mips_linux_o32_sigframe): Initialize `validate' member. | |
78 | (mips_linux_o32_rt_sigframe): Likewise. | |
79 | (mips_linux_n32_rt_sigframe): Likewise. | |
80 | (mips_linux_n64_rt_sigframe): Likewise. | |
81 | (micromips_linux_o32_sigframe): New variable. | |
82 | (micromips_linux_o32_rt_sigframe): Likewise. | |
83 | (micromips_linux_n32_rt_sigframe): Likewise. | |
84 | (micromips_linux_n64_rt_sigframe): Likewise. | |
85 | (mips_linux_o32_sigframe_init): Handle microMIPS trampolines. | |
86 | (mips_linux_n32n64_sigframe_init): Likewise. | |
87 | (mips_linux_sigframe_validate): New function. | |
88 | (micromips_linux_sigframe_validate): Likewise. | |
89 | (mips_linux_init_abi): Install microMIPS trampoline unwinders. | |
90 | ||
ff1eb2b5 UW |
91 | 2014-12-03 Ulrich Weigand <uweigand@de.ibm.com> |
92 | ||
93 | * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o. | |
94 | * sparc-sol2-tdep.c: Include "regset.h". | |
95 | (sparc32_sol2_supply_core_gregset): New function. | |
96 | (sparc32_sol2_collect_core_gregset): Likewise. | |
97 | (sparc32_sol2_supply_core_fpregset): Likewise. | |
98 | (sparc32_sol2_collect_core_fpregset): Likewise. | |
99 | (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables. | |
100 | (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
101 | tdep->fpregset/sizeof_fpregset. | |
102 | * sparc64-sol2-tdep.c: Include "regset.h". | |
103 | (sparc64_sol2_supply_core_gregset): New function. | |
104 | (sparc64_sol2_collect_core_gregset): Likewise. | |
105 | (sparc64_sol2_supply_core_fpregset): Likewise. | |
106 | (sparc64_sol2_collect_core_fpregset): Likewise. | |
107 | (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables. | |
108 | (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
109 | tdep->fpregset/sizeof_fpregset. | |
110 | ||
75783939 SM |
111 | 2014-12-03 Simon Marchi <simon.marchi@ericsson.com> |
112 | ||
113 | * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor | |
114 | type. | |
115 | ||
7c5fdd25 DE |
116 | 2014-12-02 Doug Evans <dje@google.com> |
117 | ||
118 | * symtab.c (symbol_init_cplus_specific): Delete. | |
119 | (symbol_set_demangled_name): Remove special c++ support. | |
120 | (symbol_get_demangled_name, symbol_set_language): Ditto. | |
121 | * symtab.h (struct cplus_specific): Delete. | |
122 | (struct general_symbol_info) <language_specific>: Remove | |
123 | cplus_specific. | |
124 | ||
29f0c3b7 DE |
125 | 2014-12-02 Doug Evans <dje@google.com> |
126 | ||
127 | PR symtab/17602 | |
128 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
129 | ||
72998fb3 DE |
130 | 2014-12-02 Doug Evans <dje@google.com> |
131 | ||
132 | PR symtab/17591 | |
133 | * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params | |
134 | to strip parameters. | |
135 | ||
422b9917 DE |
136 | 2014-12-02 Doug Evans <dje@google.com> |
137 | ||
138 | * dwarf2read.c (peek_die_abbrev): Improve error message text. | |
139 | ||
47c6ee49 DE |
140 | 2014-12-02 Doug Evans <dje@google.com> |
141 | ||
142 | * valops.c (do_search_struct_field): Remove remnant of Chill support. | |
143 | Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e | |
144 | ||
5da3ffc9 SM |
145 | 2014-12-02 Simon Marchi <simon.marchi@ericsson.com> |
146 | ||
147 | * common/cleanups.c (make_cleanup_dtor): Fix comment typo. | |
148 | ||
162078c8 NB |
149 | 2014-12-02 Nick Bull <nicholaspbull@gmail.com> |
150 | ||
151 | * NEWS: Mention new Python events. | |
152 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o. | |
153 | (SUBDIR_PYTHON_SRCS): Add py-infevents.c. | |
154 | (py-infevents.o): New rule. | |
155 | * doc/observer.texi (inferior_call_pre, inferior_call_post) | |
156 | (memory_changed, register_changed): New observers. | |
157 | * infcall.c (call_function_by_hand): Notify observer before and | |
158 | after inferior call. | |
159 | * python/py-event.h (inferior_call_kind): New enum. | |
160 | (emit_inferior_call_event): New prototype. | |
161 | (emit_register_changed_event): New prototype. | |
162 | (emit_memory_changed_event): New prototype. | |
163 | * python/py-events.h (events_object): New registries | |
164 | inferior_call, memory_changed and register_changed. | |
165 | * python/py-evts.c (gdbpy_initialize_py_events): Add the | |
166 | inferior_call, memory_changed and register_changed registries. | |
167 | * python/py-infevents.c: New. | |
168 | * python/py-inferior.c (python_on_inferior_call_pre) | |
169 | (python_on_inferior_call_post, python_on_register_change) | |
170 | (python_on_memory_change): New functions. | |
171 | (gdbpy_initialize_inferior): Attach python handler to new | |
172 | observers. | |
173 | * python/py-infthread.c(gdbpy_create_ptid_object): New. | |
174 | (thpy_get_ptid) Use gdbpy_create_ptid_object. | |
175 | * python/python-internal.h: | |
176 | (gdbpy_create_ptid_object) | |
177 | (gdbpy_initialize_inferior_call_pre_event) | |
178 | (gdbpy_initialize_inferior_call_post_event) | |
179 | (gdbpy_initialize_register_changed_event) | |
180 | (gdbpy_initialize_memory_changed_event): New prototypes. | |
181 | * python/python.c (_initialize_python): Initialize new events. | |
182 | * valops.c (value_assign): Notify register_changed observer. | |
183 | ||
007baf27 DE |
184 | 2014-12-02 Doug Evans <dje@google.com> |
185 | ||
186 | * python/py-infthread.c: Whitespace fixes. | |
187 | ||
d5552aab AA |
188 | 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com> |
189 | ||
190 | * features/Makefile (s390-te-linux64-expedite): Replace | |
191 | non-existant r14 and r15 by r14l and r15l, respectively. | |
192 | * regformats/s390-te-linux64.dat: Regenerate. | |
193 | ||
30b5e341 SM |
194 | 2014-12-01 Simon Marchi <simon.marchi@ericsson.com> |
195 | ||
196 | * objfiles.c (allocate_objfile): Remove duplicate comment. | |
197 | ||
ac3d87c0 UW |
198 | 2014-12-01 Ulrich Weigand <uweigand@de.ibm.com> |
199 | ||
200 | * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o. | |
201 | * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h". | |
202 | (CREG_OFFSET, creg_offset, CREG_ADDR): Remove. | |
203 | (supply_gregset, supply_fpregset): Remove. | |
204 | * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable. | |
205 | (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs, | |
206 | and sizeof_gregset. | |
207 | ||
f10c5b19 JK |
208 | 2014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
209 | ||
210 | Add add-auto-load-scripts-directory. | |
211 | * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory. | |
212 | * auto-load.c (add_auto_load_dir): New function. | |
213 | (_initialize_auto_load): Install it. | |
214 | ||
f0d4ba1f MG |
215 | 2014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious) |
216 | ||
217 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
218 | * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID. | |
219 | ||
18ac6ffc SC |
220 | 2014-11-29 Siva Chandra Reddy <sivachandra@google.com> |
221 | ||
222 | * eval.c (evaluate_subexp): Check that the thread stack temporaries | |
223 | are not already enabled before enabling them. | |
224 | ||
4072f920 YQ |
225 | 2014-11-29 Yao Qi <yao@codesourcery.com> |
226 | ||
227 | * arm-tdep.c (arm_analyze_prologue): Move local variables | |
228 | 'framereg' and 'framesize' to inner block. Move code to | |
229 | inner block too. | |
230 | ||
6c659fc2 SC |
231 | 2014-11-28 Siva Chandra Reddy <sivachandra@google.com> |
232 | ||
233 | * eval.c: Include gdbthread.h. | |
234 | (evaluate_subexp): Enable thread stack temporaries before | |
235 | evaluating a complete expression and clean them up after the | |
236 | evaluation is complete. | |
237 | * gdbthread.h: Include common/vec.h. | |
238 | (value_ptr): New typedef. | |
239 | (VEC (value_ptr)): New vector type. | |
240 | (value_vec): New typedef. | |
241 | (struct thread_info): Add new fields stack_temporaries_enabled | |
242 | and stack_temporaries. | |
243 | (enable_thread_stack_temporaries) | |
244 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
245 | (get_last_thread_stack_temporary) | |
246 | (value_in_thread_stack_temporaries): Declare. | |
247 | * gdbtypes.c (class_or_union_p): New function. | |
248 | * gdbtypes.h (class_or_union_p): Declare. | |
249 | * infcall.c (call_function_by_hand): Store return values of class | |
250 | type as temporaries on stack. | |
251 | * thread.c (enable_thread_stack_temporaries): New function. | |
252 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
253 | (get_last_thread_stack_temporary): Likewise. | |
254 | (value_in_thread_stack_temporaries): Likewise. | |
255 | * value.c (value_force_lval): New function. | |
256 | * value.h (value_force_lval): Declare. | |
257 | ||
f7ca3fcf PM |
258 | 2014-11-28 Pierre Muller <muller@sourceware.org> |
259 | ||
260 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
261 | * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX | |
262 | registers. | |
263 | ||
b2859a9a UW |
264 | 2014-11-28 Ulrich Weigand <uweigand@de.ibm.com> |
265 | ||
266 | * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o. | |
267 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
268 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
269 | * m68klinux-nat.c (fetch_core_registers): Remove. | |
270 | (linux_elf_core_fns): Remove. | |
271 | (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns. | |
272 | ||
0fa9473f JB |
273 | 2014-11-28 Joel Brobecker <brobecker@adacore.com> |
274 | ||
275 | * utils.c (gdb_realpath): Rework comment about handling on | |
276 | Windows. | |
277 | ||
6a29c58e YQ |
278 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
279 | ||
280 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
281 | rename. | |
282 | * gnulib/aclocal.m4: Re-generated. | |
283 | * gnulib/config.in: Re-generated. | |
284 | * gnulib/configure: Re-generated. | |
285 | * gnulib/import/Makefile.am: Re-generated. | |
286 | * gnulib/import/Makefile.in: Re-generated. | |
287 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
288 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
289 | * import/basename-lgpl.c: New file. | |
290 | * import/dirname-lgpl.c: New file. | |
291 | * import/dirname.h: New file. | |
292 | * import/m4/dirname.m4: New file. | |
293 | * import/m4/malloc.m4: New file. | |
294 | * import/m4/rename.m4: New file. | |
295 | * import/m4/rmdir.m4: New file. | |
296 | * import/m4/stdio_h.m4: New file. | |
297 | * import/malloc.c: New file. | |
298 | * import/rename.c: New file. | |
299 | * import/rmdir.c: New file. | |
300 | * import/same-inode.h: New file. | |
301 | * import/stdio.c: New file. | |
302 | * import/stdio.in.h: New file. | |
303 | * import/stripslash.c: New file. | |
304 | ||
abbffc89 YQ |
305 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
306 | ||
307 | * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name | |
308 | and realpath. | |
309 | * config.in: Re-generated. | |
310 | * configure: Re-generated. | |
311 | * utils.c (gdb_realpath): Remove code calling realpath, | |
312 | canonicalize_file_name and pathconf. | |
313 | [!_WIN32]: Call canonicalize_file_name. | |
314 | ||
98399780 YQ |
315 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
316 | ||
317 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
318 | canonicalize-lgpl. | |
319 | * aclocal.m4: Re-generated. | |
320 | * config.in: Re-generated. | |
321 | * configure: Re-generated. | |
322 | * import/Makefile.am: Re-generated. | |
323 | * import/Makefile.in: Re-generated. | |
324 | * import/m4/gnulib-cache.m4: Re-generated. | |
325 | * import/m4/gnulib-comp.m4: Re-generated. | |
326 | * import/canonicalize-lgpl.c: New file. | |
327 | * import/extra/snippet/_Noreturn.h: New file. | |
328 | * import/m4/canonicalize.m4: New file. | |
329 | * import/m4/double-slash-root.m4: New file. | |
330 | * import/m4/eealloc.m4: New file. | |
331 | * import/m4/malloca.m4: New file. | |
332 | * import/m4/nocrash.m4: New file. | |
333 | * import/m4/stdlib_h.m4: New file. | |
334 | * import/malloca.c: New file. | |
335 | * import/malloca.h: New file. | |
336 | * import/malloca.valgrind: New file. | |
337 | ||
3332aaf2 YQ |
338 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
339 | ||
340 | * configure.ac (AC_CHECK_FUNCS): Remove lstat. | |
341 | * config.in, configure: Regenerate. | |
342 | * symfile.c (find_separate_debug_file_by_debuglink): Remove | |
343 | code checking HAVE_LSTAT is defined. | |
344 | ||
f45c62c4 YQ |
345 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
346 | ||
347 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
348 | lstat. | |
349 | * gnulib/aclocal.m4: Re-generated. | |
350 | * gnulib/config.in: Re-generated. | |
351 | * gnulib/configure: Re-generated. | |
352 | * gnulib/import/Makefile.am: Re-generated. | |
353 | * gnulib/import/Makefile.in: Re-generated. | |
354 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
355 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
356 | * gnulib/import/lstat.c: New file. | |
357 | * gnulib/import/m4/lstat.m4: New file. | |
358 | ||
bdca27a2 YQ |
359 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
360 | ||
361 | * configure.ac (AC_CHECK_FUNCS): Remove readlink. | |
362 | * config.in, configure: Re-generate. | |
363 | * inf-child.c (inf_child_fileio_readlink): Don't check | |
364 | HAVE_READLINK is defined. | |
365 | ||
2196f55f YQ |
366 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
367 | ||
368 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink. | |
369 | * gnulib/aclocal.m4: Re-generated. | |
370 | * gnulib/config.in: Likewise. | |
371 | * gnulib/configure: Likewise. | |
372 | * gnulib/import/Makefile.am: Likewise. | |
373 | * gnulib/import/Makefile.in: Likewise. | |
374 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
375 | * gnulib/import/m4/gnulib-comp.m4: Likewise. | |
376 | * gnulib/import/dosname.h: New file | |
377 | * gnulib/import/m4/largefile.m4: New file. | |
378 | * gnulib/import/m4/readlink.m4: New file. | |
379 | * gnulib/import/m4/stat.m4: New file. | |
380 | * gnulib/import/readlink.c: New file. | |
381 | * gnulib/import/stat.c: New file. | |
382 | ||
7014e923 | 383 | 2014-11-26 Mark Wielaard <mjw@redhat.com> |
0cfd832f MW |
384 | |
385 | * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11, | |
386 | DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14. | |
387 | ||
aa489395 SL |
388 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
389 | ||
390 | * nios2-tdep.c (nios2_analyze_prologue): Replace restriction | |
391 | that there can be only one stack adjustment in the prologue | |
392 | with tests to detect specific disallowed stack adjustments. | |
393 | ||
7f1659b5 SL |
394 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
395 | ||
396 | * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack | |
397 | adjustments. | |
398 | ||
d53c26c7 SL |
399 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
400 | ||
401 | * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble | |
402 | the instruction as well as reading it from memory. | |
403 | (nios2_match_add): New. | |
404 | (nios2_match_sub): New. | |
405 | (nios2_match_addi): New. | |
406 | (nios2_match_orhi): New. | |
407 | (nios2_match_stw): New. | |
408 | (nios2_match_ldw): New. | |
409 | (nios2_match_rdctl): New. | |
410 | (enum branch_condition): New. | |
411 | (nios2_match_branch): New. | |
412 | (nios2_match_jmpi): New. | |
413 | (nios2_match_calli): New. | |
414 | (nios2_match_jmpr): New. | |
415 | (nios2_match_callr): New. | |
416 | (nios2_match_break): New. | |
417 | (nios2_match_trap): New. | |
418 | (nios2_in_epilogue_p): Rewrite to use new functions. | |
419 | (nios2_analyze_prologue): Likewise. | |
420 | (nios2_skip_prologue): Delete unused local limit_pc. | |
421 | (nios2_breakpoint_from_pc): Make R1-specific encodings explicit. | |
422 | (nios2_get_next_pc): Rewrite to use new functions. | |
423 | ||
cac9b138 JK |
424 | 2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
425 | ||
426 | * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code. | |
427 | ||
a441dfbc ST |
428 | 2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org> |
429 | ||
430 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
431 | * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of | |
432 | elements pi_len by the size of the elements before calling | |
433 | vm_deallocate. | |
434 | (inf_validate_task_sc): Likewise, and properly deallocate the | |
435 | noise array. | |
436 | ||
4c9e8482 DE |
437 | 2014-11-23 Doug Evans <xdje42@gmail.com> |
438 | ||
439 | * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg | |
440 | number and name if present. All callers updated. | |
441 | (dump_fn_fieldlists): Fix indentation of args. | |
442 | ||
15ee0bbd PP |
443 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
444 | ||
445 | * MAINTAINERS (Write After Approval): Add myself. | |
446 | ||
e8af5d7a JB |
447 | 2014-11-23 Joel Brobecker <brobecker@adacore.com> |
448 | ||
449 | * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds | |
450 | to a bp_call_dummy breakpoint type. | |
451 | ||
a344fc09 PP |
452 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
453 | ||
454 | * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when | |
455 | registering the signal handler. | |
456 | ||
d64e57fa PP |
457 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
458 | ||
459 | * event-top.h (call_stdin_event_handler_again_p): Declare. | |
460 | * event-top.c (call_stdin_event_handler_again_p): Define. | |
461 | (stdin_event_handler): Use it. | |
462 | * tui/tui-io.c (tui_getc): Prepare to call the stdin event | |
463 | handler again if there is pending input following a | |
464 | start sequence. | |
465 | ||
6f9d33d8 PP |
466 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
467 | ||
468 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
469 | * linux-fork.c (checkpoint_command): Print index of new | |
470 | checkpoint in response message. | |
471 | ||
88db67ef YQ |
472 | 2014-11-23 Yao Qi <yao@codesourcery.com> |
473 | ||
474 | * valprint.c (read_string): Move local variables 'found_nul', | |
475 | 'chunksize' and 'limit' to inner scope. Update comments. | |
476 | ||
01465b56 DE |
477 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
478 | ||
479 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve | |
480 | function comment. | |
481 | (search_symbols): Fix comments and whitespace. | |
482 | ||
07a1c2c3 DE |
483 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
484 | ||
485 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment. | |
486 | ||
b2a919a8 DE |
487 | 2014-11-21 Doug Evans <dje@google.com> |
488 | ||
489 | * psymtab.c (psymtab_search_name): Fix whitespace. | |
490 | ||
278289d5 YQ |
491 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
492 | ||
493 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
494 | errno. | |
495 | * gnulib/import/Makefile.am: Re-generated. | |
496 | * gnulib/import/Makefile.in: Likewise. | |
497 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
498 | ||
e01e2baa YQ |
499 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
500 | ||
501 | * gdb_wchar.h: Include wchar.h and wctype.h. | |
502 | [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't | |
503 | include wchar.h and wctype.h. | |
504 | Don't check HAVE_WCHAR_H. | |
505 | ||
f0c00af8 YQ |
506 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
507 | ||
508 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar | |
509 | and wctype-h. | |
510 | * gnulib/import/Makefile.am: Re-generated. | |
511 | * gnulib/import/Makefile.in: Likewise. | |
512 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
513 | ||
0cae13bb YQ |
514 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
515 | ||
516 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
517 | memchr. | |
518 | * gnulib/import/Makefile.am: Re-generated. | |
519 | * gnulib/import/Makefile.in: Likewise. | |
520 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
521 | ||
9c232dda YQ |
522 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
523 | ||
524 | * common/common-defs.h: Include alloca.h | |
525 | * configure.ac: Don't invoke AC_FUNC_ALLOCA. | |
526 | * configure: Re-generated. | |
527 | * defs.h: Remove code handling alloca. | |
528 | * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined | |
529 | or not. | |
530 | ||
00d7f58f YQ |
531 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
532 | ||
533 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add | |
534 | alloca. | |
535 | * gnulib/import/Makefile.am: Re-generated. | |
536 | * gnulib/import/Makefile.in: Likewise.. | |
537 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
538 | ||
6068ad5d YQ |
539 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
540 | ||
541 | * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in | |
542 | alphabetical order. | |
543 | ||
45e44d27 JB |
544 | 2014-11-21 Joel Brobecker <brobecker@adacore.com> |
545 | ||
546 | * gdbtypes.c (create_range_type): Unset RESULT_TYPE's | |
547 | flag_unsigned if HIGH_BOUND is constant and negative. | |
548 | ||
7e7cbeb3 SDJ |
549 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
550 | ||
551 | PR breakpoints/10737 | |
552 | * xml-syscall.c (set_xml_syscall_file_name): Remove "const" | |
553 | modifier from "struct gdbarch" when compiling without Expat (XML) | |
554 | support. | |
555 | (get_syscall_by_number): Likewise. | |
556 | (get_syscall_by_name): Likewise. | |
557 | (get_syscall_names): Likewise. | |
558 | ||
458c8db8 SDJ |
559 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
560 | ||
561 | PR breakpoints/10737 | |
562 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to | |
563 | set_xml_syscall_file_name to provide gdbarch. | |
564 | * arm-linux-tdep.c (arm_linux_init_abi): Likewise. | |
565 | * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise. | |
566 | * breakpoint.c (print_it_catch_syscall): Adjust call to | |
567 | get_syscall_by_number to provide gdbarch. | |
568 | (print_one_catch_syscall): Likewise. | |
569 | (print_mention_catch_syscall): Likewise. | |
570 | (print_recreate_catch_syscall): Likewise. | |
571 | (catch_syscall_split_args): Adjust calls to get_syscall_by_number | |
572 | and get_syscall_by_name to provide gdbarch. | |
573 | (catch_syscall_completer): Adjust call to get_syscall_names to | |
574 | provide gdbarch. | |
575 | * gdbarch.c: Regenerate. | |
576 | * gdbarch.h: Likewise. | |
577 | * gdbarch.sh: Forward declare "struct syscalls_info". | |
578 | (xml_syscall_file): New variable. | |
579 | (syscalls_info): Likewise. | |
580 | * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to | |
581 | set_xml_syscall_file_name to provide gdbarch. | |
582 | * mips-linux-tdep.c (mips_linux_init_abi): Likewise. | |
583 | * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise. | |
584 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
585 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. | |
586 | * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise. | |
587 | * xml-syscall.c: Include gdbarch.h. | |
588 | (set_xml_syscall_file_name): Accept gdbarch parameter. | |
589 | (get_syscall_by_number): Likewise. | |
590 | (get_syscall_by_name): Likewise. | |
591 | (get_syscall_names): Likewise. | |
592 | (my_gdb_datadir): Delete global variable. | |
593 | (struct syscalls_info) <my_gdb_datadir>: New variable. | |
594 | (struct syscalls_info) <sysinfo>: Rename variable to | |
595 | "syscalls_info". | |
596 | (sysinfo): Delete global variable. | |
597 | (have_initialized_sysinfo): Likewise. | |
598 | (xml_syscall_file): Likewise. | |
599 | (sysinfo_free_syscalls_desc): Rename to... | |
600 | (syscalls_info_free_syscalls_desc): ... this. | |
601 | (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust | |
602 | code to the new layout of "struct syscalls_info". | |
603 | (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to | |
604 | "syscalls_info". | |
605 | (syscall_create_syscall_desc): Likewise. | |
606 | (syscall_start_syscall): Likewise. | |
607 | (syscall_parse_xml): Likewise. | |
608 | (xml_init_syscalls_info): Likewise. Drop "const" from return value. | |
609 | (init_sysinfo): Rename to... | |
610 | (init_syscalls_info): ...this. Add gdbarch as a parameter. | |
611 | Adjust function to deal with gdbarch. | |
612 | (xml_get_syscall_number): Delete parameter sysinfo. Accept | |
613 | gdbarch as a parameter. Adjust code. | |
614 | (xml_get_syscall_name): Likewise. | |
615 | (xml_list_of_syscalls): Likewise. | |
616 | (set_xml_syscall_file_name): Accept gdbarch as parameter. | |
617 | (get_syscall_by_number): Likewise. | |
618 | (get_syscall_by_name): Likewise. | |
619 | (get_syscall_names): Likewise. | |
620 | * xml-syscall.h (set_xml_syscall_file_name): Likewise. | |
621 | (get_syscall_by_number): Likewise. | |
622 | (get_syscall_by_name): Likewise. | |
623 | (get_syscall_names): Likewise. | |
624 | ||
43f3e411 DE |
625 | 2014-11-20 Doug Evans <xdje42@gmail.com> |
626 | ||
627 | Split struct symtab into two: struct symtab and compunit_symtab. | |
628 | * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit. | |
629 | * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument | |
630 | to "struct compunit_symtab *". All callers updated. | |
631 | (set_block_compunit_symtab): Renamed from set_block_symtab. Change | |
632 | "struct symtab *" argument to "struct compunit_symtab *". | |
633 | All callers updated. | |
634 | (get_block_compunit_symtab): Renamed from get_block_symtab. Change | |
635 | result to "struct compunit_symtab *". All callers updated. | |
636 | (find_iterator_compunit_symtab): Renamed from find_iterator_symtab. | |
637 | Change result to "struct compunit_symtab *". All callers updated. | |
638 | * block.h (struct global_block) <compunit_symtab>: Renamed from symtab. | |
639 | hange type to "struct compunit_symtab *". All uses updated. | |
640 | (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab". | |
641 | Change type to "struct compunit_symtab *". All uses updated. | |
642 | * buildsym.c (struct buildsym_compunit): New struct. | |
643 | (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete. | |
644 | (buildsym_compunit): New static global. | |
645 | (finish_block_internal): Update to fetch objfile from | |
646 | buildsym_compunit. | |
647 | (make_blockvector): Delete objfile argument. | |
648 | (start_subfile): Rewrite to use buildsym_compunit. Don't initialize | |
649 | debugformat, producer. | |
650 | (start_buildsym_compunit): New function. | |
651 | (free_buildsym_compunit): Renamed from free_subfiles_list. | |
652 | All callers updated. | |
653 | (patch_subfile_names): Rewrite to use buildsym_compunit. | |
654 | (get_compunit_symtab): New function. | |
655 | (get_macro_table): Delete argument comp_dir. All callers updated. | |
656 | (start_symtab): Change result to "struct compunit_symtab *". | |
657 | All callers updated. Create the subfile of the main source file. | |
658 | (watch_main_source_file_lossage): Rewrite to use buildsym_compunit. | |
659 | (reset_symtab_globals): Update. | |
660 | (end_symtab_get_static_block): Update to use buildsym_compunit. | |
661 | (end_symtab_without_blockvector): Rewrite. | |
662 | (end_symtab_with_blockvector): Change result to | |
663 | "struct compunit_symtab *". All callers updated. | |
664 | Update to use buildsym_compunit. Don't set symtab->dirname, | |
665 | instead set it in the compunit. | |
666 | Explicitly make sure main symtab is first in its list. | |
667 | Set debugformat, producer, blockvector, block_line_section, and | |
668 | macrotable in the compunit. | |
669 | (end_symtab_from_static_block): Change result to | |
670 | "struct compunit_symtab *". All callers updated. | |
671 | (end_symtab, end_expandable_symtab): Ditto. | |
672 | (set_missing_symtab): Change symtab argument to | |
673 | "struct compunit_symtab *". All callers updated. | |
674 | (augment_type_symtab): Ditto. | |
675 | (record_debugformat): Update to use buildsym_compunit. | |
676 | (record_producer): Update to use buildsym_compunit. | |
677 | * buildsym.h (struct subfile) <dirname>: Delete. | |
678 | <producer, debugformat>: Delete. | |
679 | <buildsym_compunit>: New member. | |
680 | (get_compunit_symtab): Declare. | |
681 | * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed | |
682 | from primary_symtab. Change type to "struct compunit_symtab *". | |
683 | All uses updated. | |
684 | (dwarf2_start_symtab): Change result to "struct compunit_symtab *". | |
685 | All callers updated. | |
686 | (dwarf_decode_macros): Delete comp_dir argument. All callers updated. | |
687 | (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from | |
688 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
689 | (dw2_instantiate_symtab): Change result to "struct compunit_symtab *". | |
690 | All callers updated. | |
691 | (dw2_find_last_source_symtab): Ditto. | |
692 | (dw2_lookup_symbol): Ditto. | |
693 | (recursively_find_pc_sect_compunit_symtab): Renamed from | |
694 | recursively_find_pc_sect_symtab. Change result to | |
695 | "struct compunit_symtab *". All callers updated. | |
696 | (dw2_find_pc_sect_compunit_symtab): Renamed from | |
697 | dw2_find_pc_sect_symtab. Change result to | |
698 | "struct compunit_symtab *". All callers updated. | |
699 | (get_compunit_symtab): Renamed from get_symtab. Change result to | |
700 | "struct compunit_symtab *". All callers updated. | |
701 | (recursively_compute_inclusions): Change type of immediate_parent | |
702 | argument to "struct compunit_symtab *". All callers updated. | |
703 | (compute_compunit_symtab_includes): Renamed from | |
704 | compute_symtab_includes. All callers updated. Rewrite to compute | |
705 | includes of compunit_symtabs and not symtabs. | |
706 | (process_full_comp_unit): Update to work with struct compunit_symtab. | |
707 | (process_full_type_unit): Ditto. | |
708 | (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated. | |
709 | (dwarf_decode_lines): Remove special case handling of main subfile. | |
710 | (macro_start_file): Delete argument comp_dir. All callers updated. | |
711 | (dwarf_decode_macro_bytes): Ditto. | |
712 | * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to | |
713 | use struct compunit_symtab. | |
714 | * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit. | |
715 | * jit.c (finalize_symtab): Build compunit_symtab. | |
716 | * jv-lang.c (get_java_class_symtab): Change result to | |
717 | "struct compunit_symtab *". All callers updated. | |
718 | * macroscope.c (sal_macro_scope): Fetch macro table from compunit. | |
719 | * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from | |
720 | comp_dir. Change type to "struct compunit_symtab *". | |
721 | All uses updated. | |
722 | (new_macro_table): Change comp_dir argument to cust, | |
723 | "struct compunit_symtab *". All callers updated. | |
724 | * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from | |
725 | nr_primary_symtabs. All uses updated. | |
726 | (count_symtabs_and_blocks): Update to handle compunits. | |
727 | (report_command_stats): Update output, "primary symtabs" renamed to | |
728 | "compunits". | |
729 | * mdebugread.c (new_symtab): Change result to | |
730 | "struct compunit_symtab *". All callers updated. | |
731 | (parse_procedure): Change type of search_symtab argument to | |
732 | "struct compunit_symtab *". All callers updated. | |
733 | * objfiles.c (objfile_relocate1): Loop over blockvectors in a | |
734 | separate loop. | |
735 | * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from | |
736 | symtabs. Change type to "struct compunit_symtab *". All uses updated. | |
737 | (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS. | |
738 | All uses updated. | |
739 | (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS. | |
740 | All uses updated. | |
741 | (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated. | |
742 | (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated. | |
743 | * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from | |
744 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
745 | * psymtab.c (psymtab_to_symtab): Change result type to | |
746 | "struct compunit_symtab *". All callers updated. | |
747 | (find_pc_sect_compunit_symtab_from_partial): Renamed from | |
748 | find_pc_sect_symtab_from_partial. Change result type to | |
749 | "struct compunit_symtab *". All callers updated. | |
750 | (lookup_symbol_aux_psymtabs): Change result type to | |
751 | "struct compunit_symtab *". All callers updated. | |
752 | (find_last_source_symtab_from_partial): Ditto. | |
753 | * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit. | |
754 | * source.c (forget_cached_source_info_for_objfile): Fetch debugformat | |
755 | and macro_table from compunit. | |
756 | * symfile-debug.c (debug_qf_find_last_source_symtab): Change result | |
757 | type to "struct compunit_symtab *". All callers updated. | |
758 | (debug_qf_lookup_symbol): Ditto. | |
759 | (debug_qf_find_pc_sect_compunit_symtab): Renamed from | |
760 | debug_qf_find_pc_sect_symtab, change result type to | |
761 | "struct compunit_symtab *". All callers updated. | |
762 | * symfile.c (allocate_symtab): Delete objfile argument. | |
763 | New argument cust. | |
764 | (allocate_compunit_symtab): New function. | |
765 | (add_compunit_symtab_to_objfile): New function. | |
766 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: | |
767 | Change result type to "struct compunit_symtab *". All uses updated. | |
768 | <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab. | |
769 | Change result type to "struct compunit_symtab *". All uses updated. | |
770 | * symmisc.c (print_objfile_statistics): Compute blockvector count in | |
771 | separate loop. | |
772 | (dump_symtab_1): Update test for primary source symtab. | |
773 | (maintenance_info_symtabs): Update to handle compunit symtabs. | |
774 | (maintenance_check_symtabs): Ditto. | |
775 | * symtab.c (set_primary_symtab): Delete. | |
776 | (compunit_primary_filetab): New function. | |
777 | (compunit_language): New function. | |
778 | (iterate_over_some_symtabs): Change type of arguments "first", | |
779 | "after_last" to "struct compunit_symtab *". All callers updated. | |
780 | Update to loop over symtabs in each compunit. | |
781 | (error_in_psymtab_expansion): Rename symtab argument to cust, | |
782 | and change type to "struct compunit_symtab *". All callers updated. | |
783 | (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab. | |
784 | Change result type to "struct compunit_symtab *". All callers updated. | |
785 | (find_pc_compunit_symtab): Renamed from find_pc_symtab. | |
786 | Change result type to "struct compunit_symtab *". All callers updated. | |
787 | (find_pc_sect_line): Only loop over symtabs within selected compunit | |
788 | instead of all symtabs in the objfile. | |
789 | * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab. | |
790 | <compunit_symtab> New member. | |
791 | <block_line_section>: Moved to compunit_symtab. | |
792 | <locations_valid>: Ditto. | |
793 | <epilogue_unwind_valid>: Ditto. | |
794 | <macro_table>: Ditto. | |
795 | <dirname>: Ditto. | |
796 | <debugformat>: Ditto. | |
797 | <producer>: Ditto. | |
798 | <objfile>: Ditto. | |
799 | <call_site_htab>: Ditto. | |
800 | <includes>: Ditto. | |
801 | <user>: Ditto. | |
802 | <primary>: Delete | |
803 | (SYMTAB_COMPUNIT): New macro. | |
804 | (SYMTAB_BLOCKVECTOR): Update definition. | |
805 | (SYMTAB_OBJFILE): Update definition. | |
806 | (SYMTAB_DIRNAME): Update definition. | |
807 | (struct compunit_symtab): New type. Common members among all source | |
808 | symtabs within a compilation unit moved here. All uses updated. | |
809 | (COMPUNIT_OBJFILE): New macro. | |
810 | (COMPUNIT_FILETABS): New macro. | |
811 | (COMPUNIT_DEBUGFORMAT): New macro. | |
812 | (COMPUNIT_PRODUCER): New macro. | |
813 | (COMPUNIT_DIRNAME): New macro. | |
814 | (COMPUNIT_BLOCKVECTOR): New macro. | |
815 | (COMPUNIT_BLOCK_LINE_SECTION): New macro. | |
816 | (COMPUNIT_LOCATIONS_VALID): New macro. | |
817 | (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro. | |
818 | (COMPUNIT_CALL_SITE_HTAB): New macro. | |
819 | (COMPUNIT_MACRO_TABLE): New macro. | |
820 | (ALL_COMPUNIT_FILETABS): New macro. | |
821 | (compunit_symtab_ptr): New typedef. | |
822 | (DEF_VEC_P (compunit_symtab_ptr)): New vector type. | |
823 | ||
005e2509 JB |
824 | 2014-11-20 Joel Brobecker <brobecker@adacore.com> |
825 | ||
826 | * ada-lang.c (ada_is_redundant_range_encoding): Return 0 | |
827 | if the TYPE_CODE of range_type's base type does not match | |
828 | the TYPE_CODE of encoding_type's base type. | |
829 | ||
2b0f535a JB |
830 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
831 | ||
832 | * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if | |
833 | it starts with '<'. | |
834 | ||
8908fca5 JB |
835 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
836 | ||
837 | * ada-lang.c (ada_is_redundant_range_encoding): New function. | |
838 | (ada_is_redundant_index_type_desc): New function. | |
839 | (to_fixed_array_type): Ignore parallel XA type if redundant. | |
840 | ||
4a46959e JB |
841 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
842 | ||
843 | * ada-lang.c (constrained_packed_array_type): Set the length | |
844 | of the return array as if both bounds where zero if that | |
845 | returned array's index type is dynamic. | |
846 | ||
2acf986b YQ |
847 | 2014-11-19 Yao Qi <yao@codesourcery.com> |
848 | ||
849 | * config/i386/go32.mh (CC): Remove. | |
850 | ||
439247b6 DE |
851 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
852 | ||
853 | * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses | |
854 | updated. | |
855 | ||
4d663531 DE |
856 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
857 | ||
858 | * buildsym.c (buildsym_objfile): New static global. | |
859 | (buildsym_comp_dir): New static global. | |
860 | (finish_block_internal): Delete arg objfile. All callers updated. | |
861 | (finish_block): Delete arg objfile. All callers updated. | |
862 | (start_subfile): Delete arg dirname. All callers updated. | |
863 | (patch_subfile_names): Update buildsym_comp_dir. | |
864 | (get_macro_table): Delete arg objfile. All callers updated. | |
865 | (start_symtab): New arg objfile. All callers updated. | |
866 | Rename arg dirname to comp_dir. | |
867 | (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir. | |
868 | (end_symtab_get_static_block): Delete arg objfile. All callers | |
869 | updated. | |
870 | (end_symtab_without_blockvector): Ditto. | |
871 | (end_symtab_with_blockvector): Ditto. | |
872 | (end_symtab_from_static_block): Ditto. | |
873 | (end_symtab): Ditto. | |
874 | (end_expandable_symtab): Ditto. | |
875 | (augment_type_symtab): Ditto. | |
876 | * coffread.c (coff_start_symtab): New arg objfile. All callers | |
877 | updated. | |
878 | ||
8435453b DE |
879 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
880 | ||
881 | * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses | |
882 | updated. | |
883 | ||
ee6f8984 DE |
884 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
885 | ||
886 | * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member | |
887 | symtab.dirname updated to use it. | |
888 | ||
eb822aa6 DE |
889 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
890 | ||
891 | * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member | |
892 | symtab.objfile updated to use it. | |
893 | ||
98387a29 DE |
894 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
895 | ||
896 | * buildsym.c (watch_main_source_file_lossage): Fix memory leak. | |
897 | ||
aff08958 DE |
898 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
899 | ||
900 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use | |
901 | SYMBOL_OBJFILE. | |
902 | * findvar.c (default_read_var_value): Ditto. | |
903 | * jv-lang.c (add_class_symtab_symbol): Ditto. | |
904 | * parse.c (operator_check_standard): Ditto. | |
905 | * printcmd.c (address_info): Ditto. | |
906 | * symtab.c (fixup_symbol_section): Ditto. | |
907 | (skip_prologue_sal): Ditto. | |
908 | * tracepoint.c (scope_info): Ditto. | |
909 | * valops.c (find_function_in_inferior): Ditto. | |
910 | * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto. | |
911 | * python/py-symbol.c (set_symbol): Ditto. | |
912 | ||
7bab9b58 DE |
913 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
914 | ||
915 | * buildsym.c (main_subfile): New static global. | |
916 | (free_subfiles_list): New function. | |
917 | (start_symtab): Set main_subfile. | |
918 | (restart_symtab): Replace init of subfiles, current_subfile with | |
919 | call to free_subfiles_list. | |
920 | (watch_main_source_file_lossage): Use main_subfile. | |
921 | (reset_symtab_globals): Replace init of current_subfile with call | |
922 | to free_subfiles_list. | |
923 | (end_symtab_without_blockvector, end_symtab_with_blockvector): New | |
924 | functions, split out from ... | |
925 | (end_symtab_from_static_block): ... here. Rewrite to call them. | |
926 | ||
f194fefb DE |
927 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
928 | ||
929 | The result of symtab expansion is always a primary symtab. | |
930 | * dwarf2read.c (dw2_instantiate_symtab): Add assert. | |
931 | (dw2_lookup_symbol): Remove unnecessary test for primary symbol table. | |
932 | * psymtab.c (lookup_symbol_aux_psymtabs): Ditto. | |
933 | (psymtab_to_symtab): Add comment and assert. | |
934 | (map_matching_symbols_psymtab): Remove unnecessary test for | |
935 | non-primary symtab. | |
936 | ||
34248c3a DE |
937 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
938 | ||
939 | PR symtab/17559 | |
940 | * symtab.c (find_pc_line_symtab): New function. | |
941 | * symtab.h (find_pc_line_symtab): Declare. | |
942 | * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of | |
943 | find_pc_symtab. | |
944 | * tui/tui-disasm.c (tui_set_disassem_content): Ditto. | |
945 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto. | |
946 | * tui/tui-source.c (tui_vertical_source_scroll): Ditto. | |
947 | * tui/tui-win.c (make_visible_with_new_height): Ditto. | |
948 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto. | |
949 | (tui_display_main): Call find_pc_line_symtab instead of find_pc_line. | |
950 | ||
2097ae25 DE |
951 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
952 | ||
953 | * symtab.c (expand_symtab_containing_pc): Renamed from | |
954 | find_pc_sect_symtab_via_partial. All callers updated. | |
955 | ||
1ada499f YQ |
956 | 2014-11-15 Yao Qi <yao@codesourcery.com> |
957 | ||
958 | * go32-nat.c (go32_create_inferior): Add missing parenthesis. | |
959 | ||
355e2102 JB |
960 | 2014-11-14 Joel Brobecker <brobecker@adacore.com> |
961 | ||
962 | * common/common-defs.h: Move <stdarg.h> #include ahead of | |
963 | <stdio.h> #include. | |
964 | ||
83030110 PA |
965 | 2014-11-14 Pedro Alves <palves@redhat.com> |
966 | ||
967 | * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define. | |
968 | [!PHONY_ICONV] (gdb_iconv): New function. | |
969 | [!PHONY_ICONV] (iconv): Redefine to gdb_iconv. | |
970 | ||
a8719064 DE |
971 | 2014-11-13 Doug Evans <dje@google.com> |
972 | ||
973 | PR symtab/17591 | |
974 | * dwarf2read.c (find_slot_in_mapped_hash): Handle | |
975 | "(anonymous namespace)". | |
976 | ||
60f7655a DE |
977 | 2014-11-13 Doug Evans <dje@google.com> |
978 | ||
979 | * dwarf2read.c (update_enumeration_type_from_children): Avoid | |
980 | infinite loop. | |
981 | ||
5784b3ca JK |
982 | 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
983 | ||
984 | * NEWS (maint set target-async): Fix typo. | |
985 | ||
6218dc4b PA |
986 | 2014-11-12 Pedro Alves <palves@redhat.com> |
987 | ||
988 | * infrun.c (enum infwait_states, infwait_state): Delete. | |
989 | ||
af48d08f PA |
990 | 2014-11-12 Pedro Alves <palves@redhat.com> |
991 | ||
992 | * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag. | |
993 | Rewrite stepping over a permanent breakpoint. | |
994 | (thread_still_needs_step_over, proceed): Don't set | |
995 | stepping_over_breakpoint for permanent breakpoints. | |
996 | (handle_signal_stop): Don't clear stepped_breakpoint. Also pull | |
997 | single-step breakpoints out of the target on hardware step | |
998 | targets. | |
999 | (process_event_stop_test): If stepping a permanent breakpoint | |
1000 | doesn't hit the step-resume breakpoint, delete the step-resume | |
1001 | breakpoint. | |
1002 | (switch_back_to_stepped_thread): Also check if the stepped thread | |
1003 | has advanced already on hardware step targets. | |
1004 | (currently_stepping): Return true if the thread stepped a | |
1005 | breakpoint. | |
1006 | ||
1a853c52 PA |
1007 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1008 | ||
1009 | Mark locations as permanent, not the whole breakpoint. | |
1010 | * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust. | |
1011 | (mark_breakpoints_out): Don't mark permanent breakpoints as | |
1012 | uninserted. | |
1013 | (breakpoint_init_inferior): Use mark_breakpoints_out. | |
1014 | (breakpoint_here_p): Adjust. | |
1015 | (bpstat_stop_status, describe_other_breakpoints): Remove handling | |
1016 | of permanent breakpoints. | |
1017 | (make_breakpoint_permanent): Mark each location as permanent, | |
1018 | instead of marking the breakpoint. | |
1019 | (add_location_to_breakpoint): If the location is permanent, mark | |
1020 | it as such, and as inserted. | |
1021 | (init_breakpoint_sal): Don't make the breakpoint permanent here. | |
1022 | (bp_location_compare, update_global_location_list): Adjust. | |
1023 | (update_breakpoint_locations): Don't make the breakpoint permanent | |
1024 | here. | |
1025 | (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent | |
1026 | breakpoints. | |
1027 | * breakpoint.h (enum enable_state) <bp_permanent>: Delete field. | |
1028 | (struct bp_location) <permanent>: New field. | |
1029 | * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove | |
1030 | reference to bp_permanent. | |
1031 | ||
ae9bb220 PA |
1032 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1033 | ||
1034 | * arch-utils.c (default_skip_permanent_breakpoint): New function. | |
1035 | * arch-utils.h (default_skip_permanent_breakpoint): New | |
1036 | declaration. | |
1037 | * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function. | |
1038 | Install default_skip_permanent_breakpoint as default method. | |
1039 | * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function. | |
1040 | (i386_gdbarch_init): Don't install it. | |
1041 | * infrun.c (resume): Assume there's always a | |
1042 | gdbarch_skip_permanent_breakpoint implementation. | |
1043 | * gdbarch.h, gdbarch.c: Regenerate. | |
1044 | ||
015de688 DC |
1045 | 2014-11-11 Daniel Colascione <dancol@dancol.org> |
1046 | ||
1047 | Warn about cross-PID-namespace debugging. | |
1048 | * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype. | |
1049 | * nat/linux-procfs.c (linux_proc_pid_get_ns): New function. | |
1050 | * linux-thread-db.c (check_pid_namespace_match): New function. | |
1051 | (thread_db_inferior_created): Call it. | |
1052 | ||
26a84859 DE |
1053 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1054 | ||
1055 | * symmisc.c (print_objfile_statistics): Remove trailing whitespace. | |
1056 | (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. | |
1057 | ||
712a2e6d DE |
1058 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1059 | ||
1060 | * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS. | |
1061 | ||
af3768e9 DE |
1062 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1063 | ||
1064 | PR symtab/17564 | |
1065 | * symtab.c (lookup_symbol_in_all_objfiles): Delete. | |
1066 | (lookup_static_symbol): Move definition to new location and rewrite. | |
1067 | (lookup_symbol_in_objfile): New function. | |
1068 | (lookup_symbol_global_iterator_cb): Call it. | |
1069 | ||
b1f28d99 UW |
1070 | 2014-11-10 Ulrich Weigand <uweigand@de.ibm.com> |
1071 | ||
1072 | * eval.c (evaluate_subexp_standard): Work around GCC bug 63748. | |
1073 | ||
b7a084be PA |
1074 | 2014-11-07 Pedro Alves <palves@redhat.com> |
1075 | ||
1076 | * infrun.c (process_event_stop_test) <subroutine check>: Don't | |
1077 | check if we did a "nexti" inside a prologue. | |
1078 | * symtab.c (in_prologue): Delete function. | |
1079 | * symtab.h (in_prologue): Delete declaration. | |
1080 | ||
67be31e5 DE |
1081 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1082 | ||
1083 | * symtab.h (lookup_global_symbol): Improve function comment. | |
1084 | ||
08724ab7 DE |
1085 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1086 | ||
1087 | * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. | |
1088 | All callers updated. | |
1089 | * symtab.h (lookup_global_symbol): Update decl. | |
1090 | (lookup_static_symbol): Move decl to better location. | |
1091 | ||
d9060ba6 DE |
1092 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1093 | ||
1094 | * symtab.c (basic_lookup_symbol_nonlocal): Add comment. | |
1095 | ||
74016e12 DE |
1096 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1097 | ||
1098 | * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local. | |
1099 | All callers updated. | |
1100 | (lookup_symbol_in_all_objfiles): Renamed from | |
1101 | lookup_symbol_aux_symtabs. All callers updated. | |
1102 | (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick. | |
1103 | All callers updated. | |
1104 | (lookup_symbol_in_objfile_symtabs): Renamed from | |
1105 | lookup_symbol_aux_objfile. All callers updated. | |
1106 | ||
d1a2d36d DE |
1107 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1108 | ||
1109 | * symtab.c (lookup_symbol_in_block): Renamed from | |
1110 | lookup_symbol_aux_block. All callers updated. | |
1111 | ||
24d864bb DE |
1112 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1113 | ||
1114 | * symtab.c (lookup_static_symbol): Renamed from | |
1115 | lookup_static_symbol_aux. All callers updated. | |
1116 | (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. | |
1117 | All callers updated. | |
1118 | ||
358d6ab3 DE |
1119 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1120 | ||
1121 | * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro. | |
1122 | * block.c (block_lookup_symbol): Use it. | |
1123 | * cp-support.c (make_symbol_overload_list_block): Use it. | |
1124 | * symtab.c (iterate_over_symbols): Use it. | |
1125 | ||
16b2eaa1 DE |
1126 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1127 | ||
1128 | * symtab.c (lookup_block_symbol): Moved to ... | |
1129 | * block.c (block_lookup_symbol): ... here and renamed. | |
1130 | All callers updated. | |
1131 | * block.h (block_lookup_symbol): Declare. | |
1132 | * symtab.h (lookup_block_symbol): Delete. | |
1133 | ||
2dd2cd1c DE |
1134 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1135 | ||
1136 | * ada-lang.c (ada_make_symbol_completion_list): Use | |
1137 | ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS. | |
1138 | * symtab.c (lookup_objfile_from_block): Ditto. | |
1139 | ||
d4c58915 DE |
1140 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1141 | ||
1142 | * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use | |
1143 | TYPE_CODE_STRUCT. | |
1144 | ||
9c1877ea DE |
1145 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1146 | ||
1147 | * objfiles.c (get_objfile_arch): Constify. | |
1148 | * objfiles.h (get_objfile_arch): Update prototype. | |
1149 | * solib.c (solib_global_lookup): Fetch arch from objfile, | |
1150 | not target_gdbarch. | |
1151 | ||
426a4079 SL |
1152 | 2014-11-06 Sandra Loosemore <sandra@codesourcery.com> |
1153 | ||
1154 | * nios2-tdep.c (wild_insn): Delete. | |
1155 | (profiler_insn, irqentry_insn): Delete. | |
1156 | (nios2_match_sequence): Delete. | |
1157 | (nios2_analyze_prologue): Update comments. Remove matching | |
1158 | of obsolete profiler_insn and irqentry_insn sequences. | |
1159 | ||
ee11262d AM |
1160 | 2014-11-05 Alan Modra <amodra@gmail.com> |
1161 | ||
1162 | * charset.c (convert_between_encodings): Shrink obstack using | |
1163 | obstack_blank_fast. | |
1164 | * minsyms.c (install_minimal_symbols): Likewise. | |
1ae1b8cc AM |
1165 | * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free |
1166 | to char* before doing pointer arithmetic. | |
ee11262d | 1167 | |
c87e6d00 SM |
1168 | 2014-11-04 Simon Marchi <simon.marchi@ericsson.com> |
1169 | ||
1170 | * tui/tui.c (tui_enable): Pass stdout and stdin to newterm. | |
1171 | ||
441ef17f PA |
1172 | 2014-11-04 Pedro Alves <palves@redhat.com> |
1173 | ||
1174 | * breakpoint.c (breakpoint_thread_match): Delete function. | |
1175 | * breakpoint.h (breakpoint_thread_match): Delete declaration. | |
1176 | ||
e0f52461 SC |
1177 | 2014-11-03 Siva Chandra Reddy <sivachandra@google.com> |
1178 | ||
1179 | PR c++/17494 | |
1180 | * eval.c (evaluate_subexp_standard): Evaluate the "object" and | |
1181 | the method args also under EVAL_SKIP when evaluating method | |
1182 | calls under EVAL_SKIP. | |
1183 | ||
a0b4d890 YQ |
1184 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> |
1185 | ||
1186 | * dwarf2loc.c (read_pieced_value): Do big endian | |
1187 | processing only if gdb_regnum is not -1. | |
1188 | (write_pieced_value): Ditto. | |
1189 | ||
1190 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1191 | ||
1192 | * arm-linux-tdep.c (arm_linux_init_abi): Use | |
1193 | info.byte_order_for_code to choose endianity of breakpoint | |
1194 | instructions snippets. | |
1195 | ||
1196 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1197 | ||
1198 | * arm-tdep.c (extract_arm_insn): Use | |
1199 | gdbarch_byte_order_for_code to read arm instruction. | |
1200 | ||
e82149ff DE |
1201 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
1202 | ||
1203 | * mdebugread.c (parse_procedure): Delete unnecessary forward decl. | |
1204 | ||
d7ee84f1 DE |
1205 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
1206 | ||
1207 | * xcoffread.c (process_linenos): Delete unnecessary zeroing of | |
1208 | main_subfile before returning. | |
1209 | ||
4f072d17 DE |
1210 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
1211 | ||
1212 | * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused. | |
1213 | (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
1214 | ||
8301c89e DE |
1215 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
1216 | ||
1217 | * valops.c (value_cast_pointers): Fix whitespace. | |
1218 | (typecmp, search_struct_method, value_struct_elt, find_oload_champ): | |
1219 | Ditto. | |
1220 | ||
02be9a71 DE |
1221 | 2014-10-30 Doug Evans <dje@google.com> |
1222 | ||
1223 | * NEWS: Mention ability add attributes to gdb.Objfile and | |
1224 | gdb.Progspace objects. | |
1225 | * python/py-objfile.c (objfile_object): New member dict. | |
1226 | (objfpy_dealloc): Py_XDECREF dict. | |
1227 | (objfpy_initialize): Initialize dict. | |
1228 | (objfile_getset): Add __dict__. | |
1229 | (objfile_object_type): Set tp_dictoffset member. | |
1230 | * python/py-progspace.c (progspace_object): New member dict. | |
1231 | (pspy_dealloc): Py_XDECREF dict. | |
1232 | (pspy_initialize): Initialize dict. | |
1233 | (pspace_getset): Add __dict__. | |
1234 | (pspace_object_type): Set tp_dictoffset member. | |
1235 | ||
6427bef6 YQ |
1236 | 2014-10-30 Yao Qi <yao@codesourcery.com> |
1237 | ||
1238 | * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't | |
1239 | replace '\\' with '\\\\'. | |
1240 | ||
f60325be JB |
1241 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
1242 | ||
1243 | GDB 7.8.1 released. | |
1244 | ||
ab917dfb PA |
1245 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1246 | ||
1247 | PR gdb/17408 | |
1248 | * infrun.c (switch_back_to_stepped_thread): Use currently_stepping | |
1249 | instead of assuming a thread with a stepping range is always | |
1250 | stepping. | |
1251 | ||
d3d4baed PA |
1252 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1253 | ||
1254 | PR python/17372 | |
1255 | * event-top.c (change_line_handler): Call | |
1256 | gdb_rl_callback_handler_remove instead of | |
1257 | rl_callback_handler_remove. | |
1258 | (callback_handler_installed): New global. | |
1259 | (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install) | |
1260 | (gdb_rl_callback_handler_reinstall): New functions. | |
1261 | (display_gdb_prompt): Call gdb_rl_callback_handler_remove and | |
1262 | gdb_rl_callback_handler_install instead of | |
1263 | rl_callback_handler_remove and rl_callback_handler_install. | |
1264 | (gdb_disable_readline): Call gdb_rl_callback_handler_remove | |
1265 | instead of rl_callback_handler_remove. | |
1266 | * event-top.h (gdb_rl_callback_handler_remove) | |
1267 | (gdb_rl_callback_handler_install) | |
1268 | (gdb_rl_callback_handler_reinstall): New declarations. | |
1269 | * infrun.c (reinstall_readline_callback_handler_cleanup): New | |
1270 | cleanup function. | |
1271 | (fetch_inferior_event): Install it. | |
1272 | * top.c (gdb_readline_wrapper_line) Call | |
1273 | gdb_rl_callback_handler_remove instead of | |
1274 | rl_callback_handler_remove. | |
1275 | (gdb_readline_wrapper_cleanup): Don't call | |
1276 | rl_callback_handler_install. | |
1277 | ||
6e5d7f39 PA |
1278 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1279 | ||
1280 | * event-top.c (command_line_handler): Clear the first byte of | |
1281 | linebuffer, when it is first allocated. | |
1282 | ||
551cb6a5 PA |
1283 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1284 | ||
1285 | * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in | |
1286 | TRY_CATCH. | |
1287 | ||
1e1e619b PA |
1288 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1289 | ||
1290 | PR tui/16138 | |
1291 | PR tui/17519 | |
1292 | * tui/tui-interp.c (tui_is_toplevel): Delete global. | |
1293 | (tui_allowed_p): Delete function. | |
1294 | * tui/tui.c: Include "interps.h". | |
1295 | (tui_enable): Don't use tui_allowed_p. Error out here with | |
1296 | detailed error messages if the TUI is the top level interpreter, | |
1297 | or if output is not a terminal. Use newterm instead of initscr, | |
1298 | and error out if initializing the terminal fails. Also error out if | |
1299 | the terminal doesn't support cursor addressing. | |
1300 | * tui/tui.h (tui_allowed_p): Delete declaration. | |
1301 | ||
6041179a JB |
1302 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
1303 | ||
1304 | * arm-tdep.c (arm_skip_stack_protector): Return early if | |
1305 | address loaded by first "ldr" instruction does not have | |
1306 | a corresponding minimal symbol. Update comment. | |
1307 | ||
6ae274b7 YQ |
1308 | 2014-10-29 Yao Qi <yao@codesourcery.com> |
1309 | ||
1310 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the | |
1311 | loaded address correctly of ldr instruction. | |
1312 | ||
7f5ef605 PA |
1313 | 2014-10-28 Pedro Alves <palves@redhat.com> |
1314 | ||
1315 | PR gdb/12623 | |
1316 | * gdbthread.h (struct thread_info) <stepped_breakpoint>: New | |
1317 | field. | |
1318 | * infrun.c (resume) <stepping breakpoint instruction>: Set the | |
1319 | thread's stepped_breakpoint field. Skip if reverse debugging. | |
1320 | Add comment. | |
1321 | (init_thread_stepping_state, handle_signal_stop): Clear the | |
1322 | thread's stepped_breakpoint field. | |
1323 | ||
7d1a114c PA |
1324 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1325 | ||
1326 | * remote.c (remote_thread_alive): New, factored out from ... | |
1327 | (remote_thread_alive): ... this. | |
1328 | (remote_update_thread_list): Bail out before deleting threads if | |
1329 | the target returned an empty list, and, the current thread has a | |
1330 | magic/fake ptid. | |
1331 | ||
e5f8a7cc PA |
1332 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1333 | ||
1334 | * infrun.c (handle_signal_stop): Also skip handlers when a random | |
1335 | signal arrives while handling a "stepi" or a "nexti". Set the | |
1336 | thread's 'step_after_step_resume_breakpoint' flag. | |
1337 | ||
71e396f9 LM |
1338 | 2014-10-27 Luis Machado <lgustavo@codesourcery.com> |
1339 | ||
1340 | * arm-tdep.c (INSN_S_L_BIT_NUM): Document. | |
1341 | (arm_record_ld_st_imm_offset): Reimplement to cover all | |
1342 | load/store cases for ARM opcode 010. | |
1343 | (arm_record_ld_st_multiple): Reimplement to cover all | |
1344 | load/store cases for ARM opcode 100. | |
1345 | ||
3aee438b DE |
1346 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1347 | ||
1348 | * symtab.c (lookup_symbol_aux_local): Fix typo in comment. | |
1349 | ||
f88cb4b6 DE |
1350 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1351 | ||
1352 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename | |
1353 | parameter "kind" to "block_index". | |
1354 | * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to | |
1355 | "block_index". | |
1356 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto. | |
1357 | ||
a023a30f DE |
1358 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1359 | ||
1360 | * block.h (ALL_BLOCK_SYMBOLS): Fix comment. | |
1361 | ||
4c35218e DE |
1362 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1363 | ||
1364 | * block.c (allocate_block): Use OBSTACK_ZALLOC instead of | |
1365 | obstack_alloc. | |
1366 | ||
f08e8df3 DE |
1367 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1368 | ||
1369 | * parser-defs.h (block_found): Move decl from here ... | |
1370 | * symtab.h (block_found): ... to here. | |
1371 | ||
cf901d3b DE |
1372 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1373 | ||
1374 | * symtab.h (struct field_of_this_result): Fix typo in comment. | |
1375 | (lookup_symbol_in_language): Move function comment here. | |
1376 | (lookup_symbol): Improve function comment. | |
1377 | (basic_lookup_symbol_nonlocal): Ditto. | |
1378 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1379 | (lookup_symbol_aux_block): Ditto. | |
1380 | (lookup_language_this): Add function comment. | |
1381 | (lookup_static_symbol_aux): Explicitly mark as extern. Improve | |
1382 | function comment. | |
1383 | (lookup_block_symbol): Improve function comment. | |
1384 | (lookup_struct): Fix capitalization in function comment. | |
1385 | (lookup_transparent_type): Add function comment. | |
1386 | (lookup_global_symbol_from_objfile): Explicitly mark as extern. | |
1387 | Improve function comment. | |
1388 | (lookup_objfile_from_block): Add function comment. | |
1389 | * symtab.c (lookup_symbol_in_language): Update function comment. | |
1390 | (lookup_symbol, lookup_language_this): Ditto. | |
1391 | (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto. | |
1392 | (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto. | |
1393 | (basic_lookup_symbol_nonlocal): Ditto. | |
1394 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1395 | (lookup_transparent_type, lookup_block_symbol): Ditto. | |
1396 | ||
ff6c39cf DE |
1397 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1398 | ||
1399 | * symtab.c (types_info): Delete forward decl. | |
1400 | (functions_info, variables_info, sources_info): Ditto. | |
1401 | (_initialize_symtab): Rewrite forward decl to use | |
1402 | initialize_file_ftype. | |
1403 | ||
ec201f0c DE |
1404 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1405 | ||
1406 | * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. | |
1407 | ||
ca040673 DE |
1408 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1409 | ||
1410 | * dwarf2read.c (process_structure_scope): Remove second (nested) copy | |
1411 | of local var child_die. | |
1412 | ||
6f259a23 DB |
1413 | 2014-10-24 Don Breazeal <donb@codesourcery.com> |
1414 | ||
1415 | * infrun.c (follow_fork_inferior): Update fork message printing | |
1416 | to use target_terminal_ours_for_output instead of | |
1417 | target_terminal_ours, to use _() for all format strings, to print | |
1418 | "vfork" instead of "fork" for vforks, and to add a detach message. | |
1419 | (handle_vfork_child_exec_or_exit): Update message printing to use | |
1420 | target_terminal_ours_for_output instead of target_terminal_ours, to | |
1421 | use _() for all format strings, and to fix some formatting. | |
1422 | ||
09dd9a69 PA |
1423 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1424 | ||
1425 | * Makefile.in (ALLDEPFILES): Remove vax-nat.c. | |
1426 | * NEWS (Removed targets): Add VAX BSD and VAX Ultrix. | |
1427 | * config/vax/vax.mh: Delete. | |
1428 | * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the | |
1429 | obsolete configurations section. | |
1430 | * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix. | |
1431 | * vax-nat.c: Delete file. | |
1432 | ||
5ab806de PA |
1433 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1434 | ||
1435 | * NEWS (Removed targets): Add OS/arch column. | |
1436 | ||
3433cfa5 SC |
1437 | 2014-10-24 Siva Chandra Reddy <sivachandra@google.com> |
1438 | ||
1439 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE | |
1440 | on the arg type of a constructor only if it is of reference type. | |
1441 | ||
96ba4233 SL |
1442 | 2014-10-23 Sandra Loosemore <sandra@codesourcery.com> |
1443 | ||
1444 | * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field | |
1445 | accessors and constants from nios2 opcodes update. | |
1446 | (nios2_get_next_pc): Likewise. | |
1447 | ||
28153fd3 DE |
1448 | 2014-10-19 Doug Evans <xdje42@gmail.com> |
1449 | ||
1450 | * gdbthread.h (set_running): Fix comment. | |
1451 | (set_executing, finish_thread_state): Fix comment. | |
1452 | ||
fc9b8e47 DE |
1453 | 2014-10-18 Doug Evans <xdje42@gmail.com> |
1454 | ||
1455 | * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static. | |
1456 | ||
4ffbba72 DE |
1457 | 2014-10-17 Doug Evans <dje@google.com> |
1458 | ||
1459 | * NEWS: Mention new event gdb.clear_objfiles. | |
1460 | * python/py-event.h (emit_clear_objfiles_event): Clear | |
1461 | * python/py-events.h (events_object): New member clear_objfiles. | |
1462 | * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles | |
1463 | event. | |
1464 | * python/py-inferior.c (python_new_objfile): If objfile is NULL, | |
1465 | emit clear_objfiles event. | |
1466 | * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New | |
1467 | function. | |
1468 | (emit_clear_objfiles_event): New function. | |
1469 | (clear_objfiles): New event. | |
1470 | * python/python-internal.h (gdbpy_initialize_clear_objfiles_event): | |
1471 | Declare. | |
1472 | * python/python.c (_initialize_python): Call | |
1473 | gdbpy_initialize_clear_objfiles_event. | |
1474 | ||
d096d8c1 DE |
1475 | 2014-10-17 Doug Evans <dje@google.com> |
1476 | ||
1477 | * NEWS: Mention new gdb.Objfile.progspace attribute. | |
1478 | * python/py-objfile.c (objfpy_get_progspace): New function. | |
1479 | (objfile_getset): New entry for "progspace". | |
1480 | ||
6c4486e6 PA |
1481 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1482 | ||
1483 | PR gdb/17471 | |
1484 | * infcmd.c (strip_bg_char): Change prototype and rewrite. Now | |
1485 | returns a copy of the input. | |
1486 | (run_command_1, continue_command, step_1, jump_command) | |
1487 | (signal_command, until_command, advance_command, finish_command) | |
1488 | (attach_command): Adjust and install a cleanup to free the | |
1489 | stripped args. | |
1490 | ||
0ff33695 PA |
1491 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1492 | ||
1493 | PR gdb/17300 | |
1494 | * infcmd.c (continue_1): If continuing all threads in the | |
1495 | foreground, make sure the inferior's terminal settings are put in | |
1496 | effect. | |
1497 | ||
6fdebc3d PA |
1498 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1499 | ||
1500 | PR gdb/17472 | |
1501 | * annotate.c (annotate_breakpoints_invalid): Use | |
1502 | target_terminal_our_for_output instead of target_terminal_ours. | |
1503 | Give back the terminal to the target. | |
1504 | (annotate_frames_invalid): Likewise. | |
1505 | ||
5842f62a PA |
1506 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1507 | ||
1508 | * target.c (enum terminal_state): New enum. | |
1509 | (terminal_state): New global. | |
1510 | (target_terminal_init): New function. | |
1511 | (target_terminal_inferior): Skip if inferior already owns the | |
1512 | terminal. | |
1513 | (target_terminal_ours, target_terminal_ours_for_output): New | |
1514 | functions. | |
1515 | * target.h (target_terminal_init): Convert to function prototype. | |
1516 | (target_terminal_ours_for_output): Convert to function prototype | |
1517 | and tweak comment. | |
1518 | (target_terminal_ours): Convert to function prototype and tweak | |
1519 | comment. | |
1520 | * windows-nat.c (do_initial_windows_stuff): Call | |
1521 | target_terminal_init instead of child_terminal_init_with_pgrp. | |
1522 | ||
32a8097b PA |
1523 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1524 | ||
1525 | * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o. | |
1526 | (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h. | |
1527 | (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and | |
1528 | solib-osf.c. | |
1529 | * NEWS: Mention that support for alpha*-*-osf* has been removed. | |
1530 | * ada-lang.h [__alpha__ && __osf__] | |
1531 | (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete. | |
1532 | * alpha-nat.c, alpha-osf1-tdep.c: Delete files. | |
1533 | * alpha-tdep.c (alpha_gdbarch_init): Remove reference to | |
1534 | GDB_OSABI_OSF1. | |
1535 | * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete | |
1536 | files. | |
1537 | * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh) | |
1538 | (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete. | |
1539 | * configure: Regenerate. | |
1540 | * configure.ac: Remove references to osf. | |
1541 | * configure.host: Handle alpha*-*-osf* in the obsolete hosts | |
1542 | section. Remove all other references to osf. | |
1543 | * configure.tgt: Add alpha*-*-osf* to the obsolete targets section. | |
1544 | Remove all other references to osf. | |
1545 | * dec-thread.c: Delete file. | |
1546 | * defs.h (GDB_OSABI_OSF1): Delete. | |
1547 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally | |
1548 | defined. | |
1549 | * osabi.c (gdb_osabi_names): Delete "OSF/1". | |
1550 | * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]: | |
1551 | Delete code. | |
1552 | (unconditionally_kill_inferior) | |
1553 | [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code. | |
1554 | * solib-osf.c: Delete file. | |
1555 | ||
80134cf5 PA |
1556 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1557 | ||
1558 | * remote.c (clear_threads_listing_context): Move higher up, out of | |
1559 | the HAVE_LIBEXPAT guard. | |
1560 | ||
89c7137f TG |
1561 | 2014-10-16 Tristan Gingold <gingold@adacore.com> |
1562 | ||
1563 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers) | |
1564 | (i386_darwin_store_inferior_registers): Sanitize gs and fs values | |
1565 | on amd64. | |
1566 | ||
44ee4a52 PA |
1567 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1568 | ||
1569 | * dec-thread.c (dec_thread_count_gdb_threads) | |
1570 | (dec_thread_add_gdb_thread): Delete. | |
1571 | (dec_thread_update_thread_list): Delete. | |
1572 | (dec_thread_find_new_threads): Rename to ... | |
1573 | (dec_thread_update_thread_list): ... this. Delete GDB-size | |
1574 | threads that are no longer found in dec_thread_list. | |
1575 | (resync_thread_list): Delete. | |
1576 | (dec_thread_wait): Call dec_thread_update_thread_list instead of | |
1577 | resync_thread_list. | |
1578 | ||
ab970af1 PA |
1579 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1580 | ||
1581 | * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro. | |
1582 | * remote.c (remote_update_thread_list): Skip calling prune_threads | |
1583 | if any thread listing method is supported, and instead walk over | |
1584 | the set of remote threads listed, deleting those that are not | |
1585 | found in GDB's thread list. | |
1586 | ||
e8032dde PA |
1587 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1588 | ||
1589 | * ada-tasks.c (print_ada_task_info, task_command_1): Adjust. | |
1590 | * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ... | |
1591 | (bsd_uthread_update_thread_list): ... this. Call prune_threads. | |
1592 | (bsd_uthread_target): Adjust. | |
1593 | * corelow.c (core_open): Adjust. | |
1594 | * dec-thread.c (dec_thread_find_new_threads): Update comment. | |
1595 | (dec_thread_update_thread_list): New function. | |
1596 | (init_dec_thread_ops): Adjust. | |
1597 | * gdbthread.h (prune_threads): New declaration. | |
1598 | * linux-thread-db.c (thread_db_find_new_threads): Rename to ... | |
1599 | (thread_db_update_thread_list): ... this. Call prune_threads. | |
1600 | (init_thread_db_ops): Adjust. | |
1601 | * nto-procfs.c (procfs_find_new_threads): Rename to ... | |
1602 | (procfs_update_thread_list): ... this. Call prune_threads. | |
1603 | (procfs_attach, procfs_create_inferior, init_procfs_targets): | |
1604 | Adjust. | |
1605 | * obsd-nat.c (obsd_find_new_threads): Rename to ... | |
1606 | (obsd_update_thread_list): ... this. Call prune_threads. | |
1607 | (obsd_add_target): Adjust. | |
1608 | * procfs.c (procfs_target): Adjust. | |
1609 | (procfs_notice_thread): Update comment. | |
1610 | (procfs_find_new_threads): Rename to ... | |
1611 | (procfs_update_thread_list): ... this. Call prune_threads. | |
1612 | * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update | |
1613 | comment. | |
1614 | (ravenscar_wait): Adjust. | |
1615 | (ravenscar_find_new_threads): Rename to ... | |
1616 | (ravenscar_update_thread_list): ... this. Call prune_threads. | |
1617 | (init_ravenscar_thread_ops): Adjust. | |
1618 | * record-btrace.c (record_btrace_find_new_threads): Rename to ... | |
1619 | (record_btrace_update_thread_list): ... this. Adjust comment. | |
1620 | (init_record_btrace_ops): Adjust. | |
1621 | * remote.c (remote_threads_info): Rename to ... | |
1622 | (remote_update_thread_list): ... this. Call prune_threads. | |
1623 | (remote_start_remote, extended_remote_attach_1, init_remote_ops): | |
1624 | Adjust. | |
1625 | * sol-thread.c (check_for_thread_db): Adjust. | |
1626 | (sol_find_new_threads_callback): Rename to ... | |
1627 | (sol_update_thread_list_callback): ... this. | |
1628 | (sol_find_new_threads): Rename to ... | |
1629 | (sol_update_thread_list): ... this. Call prune_threads. Adjust. | |
1630 | (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust. | |
1631 | * target-delegates.c: Regenerate. | |
1632 | * target.c (target_find_new_threads): Rename to ... | |
1633 | (target_update_thread_list): ... this. | |
1634 | * target.h (struct target_ops): Rename to_find_new_threads field | |
1635 | to to_update_thread_list. | |
1636 | (target_find_new_threads): Rename to ... | |
1637 | (target_update_thread_list): ... this. | |
1638 | * thread.c (prune_threads): Make extern. | |
1639 | (update_thread_list): Adjust. | |
1640 | ||
6dc54d91 PA |
1641 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1642 | ||
1643 | * remote.c (remote_get_threadlist, remote_threadlist_iterator): | |
1644 | Add describing comment. Return -1 if the qL packet is not | |
1645 | supported. | |
1646 | (struct thread_item, thread_item_t): Move higher up in | |
1647 | the file. Add comments. | |
1648 | (struct threads_parsing_context): Move higher up in | |
1649 | the file, add comments, and remote to ... | |
1650 | (struct threads_listing_context): ... this. | |
1651 | (remote_newthread_step): Don't add the thread to GDB's thread | |
1652 | database here. Instead push it to the thread_listing_context | |
1653 | list. | |
1654 | (remote_find_new_threads): Rename to ... | |
1655 | (remote_get_threads_with_ql): ... this. Add target_ops and | |
1656 | targets_listing_context parameters. Pass down context. | |
1657 | (start_thread): Adjust. | |
1658 | (clear_threads_parsing_context): Rename to ... | |
1659 | (clear_threads_listing_context): ... this. | |
1660 | (remote_get_threads_with_qxfer): New, with parts salvaged from old | |
1661 | remote_threads_info. | |
1662 | (remote_get_threads_with_qthreadinfo): Ditto. | |
1663 | (remote_threads_info): Reimplement. | |
1664 | ||
36728e82 PA |
1665 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1666 | ||
1667 | * infrun.c (resume): Don't force displaced-stepping for all | |
1668 | single-steps on software single-stepping archs. | |
1669 | ||
34b7e8a6 PA |
1670 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1671 | ||
1672 | * breakpoint.c (single_step_breakpoints): Delete global. | |
1673 | (insert_single_step_breakpoint): Adjust to store the breakpoint | |
1674 | pointer in the current thread. | |
1675 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
1676 | (cancel_single_step_breakpoints): Delete functions. | |
1677 | (breakpoint_has_location_inserted_here): Make extern. | |
1678 | (single_step_breakpoint_inserted_here_p): Adjust to walk the | |
1679 | breakpoint list. | |
1680 | * breakpoint.h (breakpoint_has_location_inserted_here): New | |
1681 | declaration. | |
1682 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
1683 | (cancel_single_step_breakpoints): Remove declarations. | |
1684 | * gdbthread.h (struct thread_control_state) | |
1685 | <single_step_breakpoints>: New field. | |
1686 | (delete_single_step_breakpoints) | |
1687 | (thread_has_single_step_breakpoints_set) | |
1688 | (thread_has_single_step_breakpoint_here): New declarations. | |
1689 | * infrun.c (follow_exec): Also clear the single-step breakpoints. | |
1690 | (singlestep_breakpoints_inserted_p, singlestep_ptid) | |
1691 | (singlestep_pc): Delete globals. | |
1692 | (infrun_thread_ptid_changed): Remove references to removed | |
1693 | globals. | |
1694 | (resume_cleanups): Delete the current thread's single-step | |
1695 | breakpoints. | |
1696 | (maybe_software_singlestep): Remove references to removed globals. | |
1697 | (resume): Adjust to use thread_has_single_step_breakpoints_set and | |
1698 | delete_single_step_breakpoints. | |
1699 | (init_wait_for_inferior): Remove references to removed globals. | |
1700 | (delete_thread_infrun_breakpoints): Delete the thread's | |
1701 | single-step breakpoints too. | |
1702 | (delete_just_stopped_threads_infrun_breakpoints): Don't delete | |
1703 | single-step breakpoints here. | |
1704 | (delete_stopped_threads_single_step_breakpoints): New function. | |
1705 | (adjust_pc_after_break): Adjust to use | |
1706 | thread_has_single_step_breakpoints_set. | |
1707 | (handle_inferior_event): Remove references to removed globals. | |
1708 | Use delete_stopped_threads_single_step_breakpoints. | |
1709 | (handle_signal_stop): Adjust to per-thread single-step | |
1710 | breakpoints. Swap test order to do cheaper tests first. | |
1711 | (switch_back_to_stepped_thread): Extend debug output. Remove | |
1712 | references to removed globals. | |
1713 | * record-full.c (record_full_wait_1): Adjust to per-thread | |
1714 | single-step breakpoints. | |
1715 | * thread.c (delete_single_step_breakpoints) | |
1716 | (thread_has_single_step_breakpoints_set) | |
1717 | (thread_has_single_step_breakpoint_here): New functions. | |
1718 | (clear_thread_inferior_resources): Also delete the thread's | |
1719 | single-step breakpoints. | |
1720 | ||
5b834a0a PA |
1721 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1722 | ||
1723 | * thread.c (delete_thread_breakpoint): New function. | |
1724 | (delete_step_resume_breakpoint) | |
1725 | (delete_exception_resume_breakpoint): Use it. | |
1726 | (delete_at_next_stop): New function. | |
1727 | (clear_thread_inferior_resources): Use delete_at_next_stop. | |
1728 | ||
a1fd2fa5 PA |
1729 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1730 | ||
1731 | * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ... | |
1732 | (breakpoint_inserted_here_p): ... here. Remove special case for | |
1733 | software single-step breakpoints. | |
1734 | (find_non_raw_software_breakpoint_inserted_here): Inline ... | |
1735 | (software_breakpoint_inserted_here_p): ... here. Remove special | |
1736 | case for software single-step breakpoints. | |
1737 | (bp_target_info_copy_insertion_state) | |
1738 | (deprecated_insert_raw_breakpoint) | |
1739 | (deprecated_remove_raw_breakpoint): Delete functions. | |
1740 | * breakpoint.h (deprecated_insert_raw_breakpoint) | |
1741 | (deprecated_remove_raw_breakpoint): Remove declarations. | |
1742 | ||
7c16b83e PA |
1743 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1744 | ||
1745 | PR breakpoints/9649 | |
1746 | * breakpoint.c (single_step_breakpoints, single_step_gdbarch): | |
1747 | Delete array globals. | |
1748 | (single_step_breakpoints): New global. | |
1749 | (breakpoint_xfer_memory): Remove special handling for single-step | |
1750 | breakpoints. | |
1751 | (update_breakpoints_after_exec): Delete bp_single_step | |
1752 | breakpoints. | |
1753 | (detach_breakpoints): Remove special handling for single-step | |
1754 | breakpoints. | |
1755 | (breakpoint_init_inferior): Delete bp_single_step breakpoints. | |
1756 | (bpstat_stop_status): Add comment. | |
1757 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
1758 | (adjust_breakpoint_address, init_bp_location): Handle | |
1759 | bp_single_step. | |
1760 | (new_single_step_breakpoint): New function. | |
1761 | (set_momentary_breakpoint, bkpt_remove_location): Remove special | |
1762 | handling for single-step breakpoints. | |
1763 | (insert_single_step_breakpoint, single_step_breakpoints_inserted) | |
1764 | (remove_single_step_breakpoints, cancel_single_step_breakpoints): | |
1765 | Rewrite. | |
1766 | (detach_single_step_breakpoints, find_single_step_breakpoint): | |
1767 | Delete functions. | |
1768 | (breakpoint_has_location_inserted_here): New function. | |
1769 | (single_step_breakpoint_inserted_here_p): Rewrite. | |
1770 | * breakpoint.h: Remove FIXME. | |
1771 | (enum bptype) <bp_single_step>: New enum value. | |
1772 | (insert_single_step_breakpoint): Update comment. | |
1773 | * infrun.c (resume_cleanups) | |
1774 | (delete_step_thread_step_resume_breakpoint): Remove single-step | |
1775 | breakpoints. | |
1776 | (fetch_inferior_event): Install a cleanup that removes infrun | |
1777 | breakpoints. | |
1778 | (switch_back_to_stepped_thread) <expect thread advanced also>: | |
1779 | Clear step-over info. | |
1780 | ||
0cbcdb96 PA |
1781 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1782 | ||
1783 | * infrun.c (delete_step_resume_breakpoint_callback): Delete. | |
1784 | (delete_thread_infrun_breakpoints): New function, with parts | |
1785 | salvaged from delete_step_resume_breakpoint_callback. | |
1786 | (delete_step_thread_step_resume_breakpoint): Delete. | |
1787 | (for_each_just_stopped_thread_callback_func): New typedef. | |
1788 | (for_each_just_stopped_thread): New function. | |
1789 | (delete_just_stopped_threads_infrun_breakpoints): New function. | |
1790 | (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ... | |
1791 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): | |
1792 | ... this. Adjust. | |
1793 | (wait_for_inferior, fetch_inferior_event): Adjust to renames. | |
1794 | ||
963f9c80 PA |
1795 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1796 | ||
1797 | * breakpoint.c (should_be_inserted): Don't insert watchpoints if | |
1798 | trying to step past a non-steppable watchpoint. | |
1799 | * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New | |
1800 | field. | |
1801 | * infrun.c (struct step_over_info): Add new field | |
1802 | 'nonsteppable_watchpoint_p' and adjust comments. | |
1803 | (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter. | |
1804 | Adjust. | |
1805 | (clear_step_over_info): Clear nonsteppable_watchpoint_p as well. | |
1806 | (stepping_past_nonsteppable_watchpoint): New function. | |
1807 | (step_over_info_valid_p): Also return true if stepping past a | |
1808 | nonsteppable watchpoint. | |
1809 | (proceed): Adjust call to set_step_over_info. Remove reference to | |
1810 | init_infwait_state. | |
1811 | (init_wait_for_inferior): Remove reference to init_infwait_state. | |
1812 | (waiton_ptid): Delete global. | |
1813 | (struct execution_control_state) | |
1814 | <stepped_after_stopped_by_watchpoint>: Delete field. | |
1815 | (wait_for_inferior, fetch_inferior_event): Always pass | |
1816 | minus_one_ptid to target_wait. | |
1817 | (init_thread_stepping_state): Clear 'stepping_over_watchpoint' | |
1818 | field. | |
1819 | (init_infwait_state): Delete function. | |
1820 | (handle_inferior_event): Remove infwait_state handling. | |
1821 | (handle_signal_stop) <watchpoints handling>: Adjust after | |
1822 | stepped_after_stopped_by_watchpoint removal. Don't remove | |
1823 | breakpoints here nor set infwait_state. Set the thread's | |
1824 | stepping_over_watchpoint flag, and call keep_going instead. | |
1825 | (keep_going): Handle stepping_over_watchpoint. Adjust | |
1826 | set_step_over_info calls. | |
1827 | * infrun.h (stepping_past_nonsteppable_watchpoint): Declare | |
1828 | function. | |
1829 | ||
6cc83d2a PA |
1830 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1831 | ||
1832 | * infrun.c (step_over_info_valid_p): New function. | |
1833 | (resume): Use step_over_info_valid_p instead of checking the | |
1834 | threads's trap_expected flag. | |
1835 | ||
6979730b DE |
1836 | 2014-10-15 Doug Evans <dje@google.com> |
1837 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
1838 | ||
1839 | PR python/17364 | |
1840 | * python/lib/gdb/__init__.py (packages): Add "printer". | |
1841 | * python/lib/gdb/command/bound_registers.py: Moved to ... | |
1842 | * python/lib/gdb/printer/bound_registers.py: ... here. | |
1843 | Add printer to global set of builtin printers. Rename printer from | |
1844 | "bound" to "mpx_bound128". | |
1845 | * python/lib/gdb/printing.py (_builtin_pretty_printers): New global, | |
1846 | registered as global "builtin" printer. | |
1847 | (add_builtin_pretty_printer): New function. | |
1848 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add | |
1849 | gdb/printer/__init__.py. | |
1850 | ||
35a49624 IB |
1851 | 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org> |
1852 | ||
1853 | * Makefile.in (SFILES): Remove d-support.c. | |
1854 | (COMMON_OBS): Remove d-support.o. | |
1855 | * d-lang.h (d_parse_symbol): Remove declaration. | |
1856 | * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols. | |
1857 | * d-support.c: Remove file. | |
1858 | ||
8fa0c4f8 AA |
1859 | 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1860 | ||
1861 | * gdb/infrun.c (process_event_stop_test): Apply | |
1862 | gdbarch_addr_bits_remove to longjmp resume address. | |
1863 | ||
3666da81 PA |
1864 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1865 | ||
1866 | * regformats/microblaze.dat: Delete file. | |
1867 | ||
449aa9df AKA |
1868 | 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com> |
1869 | ||
1870 | * features/Makefile (microblaze-expedite): Replace pc with rpc. | |
1871 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
1872 | ||
ebb8ece2 SC |
1873 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
1874 | ||
1875 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes | |
1876 | as non-trivial. | |
1877 | ||
82c48ac7 SC |
1878 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
1879 | ||
1880 | PR c++/13403 | |
1881 | PR c++/15154 | |
1882 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors | |
1883 | with qualified args. | |
1884 | ||
c40cc657 JB |
1885 | 2014-10-14 Joel Brobecker <brobecker@adacore.com> |
1886 | ||
1887 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling | |
1888 | of the case where the second operand is a pointer. | |
1889 | <BINOP_SUB>: Likewise. | |
1890 | ||
0ea5cda8 SDJ |
1891 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
1892 | ||
1893 | * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore | |
1894 | only if it is not NULL. | |
1895 | (bkpt_probe_remove_location): Likewise, for clear_semaphore. | |
1896 | * probe.h (struct probe_ops) <set_semaphore>: Update comment. | |
1897 | (struct probe_ops) <clear_semaphore>: Likewise. | |
1898 | * tracepoint.c (start_tracing): Call set_semaphore only if it is | |
1899 | not NULL. | |
1900 | (stop_tracing): Likewise, for clear_semaphore. | |
1901 | ||
f7088df3 SDJ |
1902 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
1903 | ||
1904 | * stap-probe.c (stap_parse_argument): Initialize expout explicitly | |
1905 | using language_c, instead of current_language. | |
1906 | ||
4e1bbde0 DE |
1907 | 2014-10-13 Doug Evans <dje@google.com> |
1908 | ||
6ff5a0f6 | 1909 | * python/py-objfile.c (objfpy_initialize): New function. |
4e1bbde0 | 1910 | (objfpy_new, objfile_to_objfile_object): Call it. |
6ff5a0f6 | 1911 | * python/py-progspace.c (pspy_initialize): New function. |
4e1bbde0 DE |
1912 | (pspy_new, pspace_to_pspace_object): Call it. |
1913 | ||
c780cc2f JK |
1914 | 2014-10-13 Miroslav Franc <mfranc@redhat.com> |
1915 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
1916 | ||
1917 | Fix "save breakpoints" for "catch" command. | |
1918 | * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing | |
1919 | newline. | |
1920 | ||
99894e11 JK |
1921 | 2014-10-12 Miroslav Franc <mfranc@redhat.com> |
1922 | ||
1923 | Fix "save breakpoints" for "disable $bpnum" command. | |
1924 | * breakpoint.c (save_breakpoints): Add $bpnum for disable. | |
1925 | ||
3831839c PA |
1926 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1927 | ||
1928 | * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. | |
1929 | (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. | |
1930 | (HFILES_NO_SRCDIR): Remove solib-irix.h. | |
1931 | * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* | |
1932 | and been removed. | |
1933 | * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. | |
1934 | * configure.ac: Remove references to IRIX. | |
1935 | * configure.host: Add *-*-irix* to the obsolete hosts section. | |
1936 | Remove all other references to irix. | |
1937 | * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: | |
1938 | Delete files. | |
1939 | ||
cc3afae2 AKA |
1940 | 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com> |
1941 | ||
1942 | * microblaze-tdep.c (microblaze_gdbarch_init): If the description | |
1943 | isn't valid, release the tdesc arch data and return NULL. | |
1944 | ||
cdfa0b0a PA |
1945 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1946 | ||
1947 | * linux-tdep.c: Include observer.h. | |
1948 | (linux_inferior_data): New global. | |
1949 | (struct linux_info): New structure. | |
1950 | (invalidate_linux_cache_inf, linux_inferior_data_cleanup) | |
1951 | (get_linux_inferior_data): New functions. | |
1952 | (linux_vsyscall_range): Rename to ... | |
1953 | (linux_vsyscall_range_raw): ... this. | |
1954 | (linux_vsyscall_range): New function; handles caching. | |
1955 | (_initialize_linux_tdep): Register linux_inferior_data. Install | |
1956 | inferior_exit and inferior_appeared observers. | |
1957 | ||
8b9a549d PA |
1958 | 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1959 | Pedro Alves <palves@redhat.com> | |
1960 | ||
1961 | PR symtab/14466 | |
1962 | * solib-svr4.c (svr4_read_so_list): Rename to ... | |
1963 | (svr4_current_sos_1): ... this and change the function comment. | |
1964 | (svr4_current_sos): New function. | |
1965 | ||
3437254d PA |
1966 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1967 | ||
1968 | * arch-utils.c (default_vsyscall_range): New function. | |
1969 | * arch-utils.h (default_vsyscall_range): New declaration. | |
1970 | * gdbarch.sh (vsyscall_range): New hook. | |
1971 | * gdbarch.h, gdbarch.c: Regenerate. | |
1972 | * linux-tdep.c (linux_vsyscall_range): New function. | |
1973 | (linux_init_abi): Install linux_vsyscall_range as | |
1974 | vsyscall_range gdbarch hook. | |
1975 | * memrange.c (address_in_mem_range): New function. | |
1976 | * memrange.h (address_in_mem_range): New declaration. | |
1977 | * symfile-mem.c (find_vdso_size): Delete function. | |
1978 | (add_vsyscall_page): Use gdbarch_vsyscall_range. | |
1979 | ||
31cc0b80 PA |
1980 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1981 | ||
1982 | * infrun.c (normal_stop): Fix typo in comment. | |
1983 | ||
3e3286a2 SDJ |
1984 | 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com> |
1985 | ||
1986 | PR tdep/9390 | |
1987 | * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible | |
1988 | typo when using logical AND to determine instruction type. | |
1989 | ||
fcbdedf8 YQ |
1990 | 2014-10-09 Yao Qi <yao@codesourcery.com> |
1991 | ||
1992 | * infrun.c (handle_signal_stop): Remove local variable | |
1993 | 'printed'. | |
1994 | ||
db984616 SS |
1995 | 2014-10-08 Stan Shebs <stan@codesourcery.com> |
1996 | ||
1997 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. | |
1998 | ||
3ba37e6c GB |
1999 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2000 | ||
2001 | * fbsd-tdep.c: Do not include string.h or gdb_assert.h. | |
2002 | ||
a442d071 GB |
2003 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2004 | ||
2005 | * common/common-defs.h: Include common-exceptions.h. | |
2006 | * exceptions.h: Do not include common-exceptions.h. | |
2007 | ||
6f1947e8 GB |
2008 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2009 | ||
2010 | * common/common-defs.h: Include cleanups.h. | |
2011 | * common/common-exceptions.c: Do not include cleanups.h. | |
2012 | * utils.h: Likewise. | |
2013 | ||
c765fdb9 GB |
2014 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2015 | ||
2016 | * ada-lang.c: Do not include exceptions.h. | |
2017 | * ada-valprint.c: Likewise. | |
2018 | * amd64-tdep.c: Likewise. | |
2019 | * auto-load.c: Likewise. | |
2020 | * block.c: Likewise. | |
2021 | * break-catch-throw.c: Likewise. | |
2022 | * breakpoint.c: Likewise. | |
2023 | * btrace.c: Likewise. | |
2024 | * c-lang.c: Likewise. | |
2025 | * cli/cli-cmds.c: Likewise. | |
2026 | * cli/cli-interp.c: Likewise. | |
2027 | * cli/cli-script.c: Likewise. | |
2028 | * completer.c: Likewise. | |
2029 | * corefile.c: Likewise. | |
2030 | * corelow.c: Likewise. | |
2031 | * cp-abi.c: Likewise. | |
2032 | * cp-support.c: Likewise. | |
2033 | * cp-valprint.c: Likewise. | |
2034 | * darwin-nat.c: Likewise. | |
2035 | * dwarf2-frame-tailcall.c: Likewise. | |
2036 | * dwarf2-frame.c: Likewise. | |
2037 | * dwarf2loc.c: Likewise. | |
2038 | * dwarf2read.c: Likewise. | |
2039 | * eval.c: Likewise. | |
2040 | * event-loop.c: Likewise. | |
2041 | * event-top.c: Likewise. | |
2042 | * f-valprint.c: Likewise. | |
2043 | * frame-unwind.c: Likewise. | |
2044 | * frame.c: Likewise. | |
2045 | * gdbtypes.c: Likewise. | |
2046 | * gnu-v2-abi.c: Likewise. | |
2047 | * gnu-v3-abi.c: Likewise. | |
2048 | * guile/scm-auto-load.c: Likewise. | |
2049 | * guile/scm-breakpoint.c: Likewise. | |
2050 | * guile/scm-cmd.c: Likewise. | |
2051 | * guile/scm-frame.c: Likewise. | |
2052 | * guile/scm-lazy-string.c: Likewise. | |
2053 | * guile/scm-param.c: Likewise. | |
2054 | * guile/scm-symbol.c: Likewise. | |
2055 | * guile/scm-type.c: Likewise. | |
2056 | * hppa-hpux-tdep.c: Likewise. | |
2057 | * i386-tdep.c: Likewise. | |
2058 | * inf-loop.c: Likewise. | |
2059 | * infcall.c: Likewise. | |
2060 | * infcmd.c: Likewise. | |
2061 | * infrun.c: Likewise. | |
2062 | * interps.c: Likewise. | |
2063 | * interps.h: Likewise. | |
2064 | * jit.c: Likewise. | |
2065 | * linespec.c: Likewise. | |
2066 | * linux-nat.c: Likewise. | |
2067 | * linux-thread-db.c: Likewise. | |
2068 | * m32r-rom.c: Likewise. | |
2069 | * main.c: Likewise. | |
2070 | * memory-map.c: Likewise. | |
2071 | * mi/mi-cmd-break.c: Likewise. | |
2072 | * mi/mi-cmd-stack.c: Likewise. | |
2073 | * mi/mi-interp.c: Likewise. | |
2074 | * mi/mi-main.c: Likewise. | |
2075 | * monitor.c: Likewise. | |
2076 | * nto-procfs.c: Likewise. | |
2077 | * objc-lang.c: Likewise. | |
2078 | * p-valprint.c: Likewise. | |
2079 | * parse.c: Likewise. | |
2080 | * ppc-linux-tdep.c: Likewise. | |
2081 | * printcmd.c: Likewise. | |
2082 | * probe.c: Likewise. | |
2083 | * python/py-auto-load.c: Likewise. | |
2084 | * python/py-breakpoint.c: Likewise. | |
2085 | * python/py-cmd.c: Likewise. | |
2086 | * python/py-finishbreakpoint.c: Likewise. | |
2087 | * python/py-frame.c: Likewise. | |
2088 | * python/py-framefilter.c: Likewise. | |
2089 | * python/py-function.c: Likewise. | |
2090 | * python/py-gdb-readline.c: Likewise. | |
2091 | * python/py-inferior.c: Likewise. | |
2092 | * python/py-infthread.c: Likewise. | |
2093 | * python/py-lazy-string.c: Likewise. | |
2094 | * python/py-linetable.c: Likewise. | |
2095 | * python/py-param.c: Likewise. | |
2096 | * python/py-prettyprint.c: Likewise. | |
2097 | * python/py-symbol.c: Likewise. | |
2098 | * python/py-type.c: Likewise. | |
2099 | * python/py-value.c: Likewise. | |
2100 | * python/python-internal.h: Likewise. | |
2101 | * python/python.c: Likewise. | |
2102 | * record-btrace.c: Likewise. | |
2103 | * record-full.c: Likewise. | |
2104 | * regcache.c: Likewise. | |
2105 | * remote-fileio.c: Likewise. | |
2106 | * remote-mips.c: Likewise. | |
2107 | * remote.c: Likewise. | |
2108 | * rs6000-aix-tdep.c: Likewise. | |
2109 | * rs6000-nat.c: Likewise. | |
2110 | * skip.c: Likewise. | |
2111 | * solib-darwin.c: Likewise. | |
2112 | * solib-dsbt.c: Likewise. | |
2113 | * solib-frv.c: Likewise. | |
2114 | * solib-ia64-hpux.c: Likewise. | |
2115 | * solib-spu.c: Likewise. | |
2116 | * solib-svr4.c: Likewise. | |
2117 | * solib.c: Likewise. | |
2118 | * spu-tdep.c: Likewise. | |
2119 | * stack.c: Likewise. | |
2120 | * stap-probe.c: Likewise. | |
2121 | * symfile-mem.c: Likewise. | |
2122 | * symmisc.c: Likewise. | |
2123 | * target.c: Likewise. | |
2124 | * thread.c: Likewise. | |
2125 | * top.c: Likewise. | |
2126 | * tracepoint.c: Likewise. | |
2127 | * tui/tui-interp.c: Likewise. | |
2128 | * typeprint.c: Likewise. | |
2129 | * utils.c: Likewise. | |
2130 | * valarith.c: Likewise. | |
2131 | * valops.c: Likewise. | |
2132 | * valprint.c: Likewise. | |
2133 | * value.c: Likewise. | |
2134 | * varobj.c: Likewise. | |
2135 | * windows-nat.c: Likewise. | |
2136 | * xml-support.c: Likewise. | |
2137 | ||
484933d1 MR |
2138 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2139 | ||
2140 | * mips-tdep.c (add_offset_16): Rewrite to implement what the | |
2141 | name implies. | |
2142 | (extended_mips16_next_pc): Update accordingly. | |
2143 | ||
ab50adb6 MR |
2144 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2145 | ||
2146 | * mips-tdep.c (mips16_instruction_is_compact_branch): New | |
2147 | function. | |
2148 | (micromips_instruction_is_compact_branch): Likewise. | |
2149 | (mips16_scan_prologue): Terminate scanning upon seeing a branch | |
2150 | or a compact jump, reaching a jump delay slot, or seeing a | |
2151 | second non-prologue instruction. | |
2152 | (micromips_scan_prologue): Also terminate scanning upon seeing a | |
2153 | compact branch or jump, or reaching a branch or jump delay slot. | |
2154 | (mips32_scan_prologue): Terminate scanning upon reaching a branch | |
2155 | or jump delay slot, or seeing a second non-prologue instruction. | |
2156 | (mips32_instruction_has_delay_slot): Retain instruction | |
2157 | examination code only, update arguments accordingly and move | |
2158 | instruction fetch pieces to... | |
2159 | (mips32_insn_at_pc_has_delay_slot): ... this new function. | |
2160 | (micromips_instruction_has_delay_slot): Likewise and to... | |
2161 | (micromips_insn_at_pc_has_delay_slot): ... this new function. | |
2162 | (mips16_instruction_has_delay_slot): Likewise and to... | |
2163 | (mips16_insn_at_pc_has_delay_slot): ... this new function. | |
2164 | (mips_single_step_through_delay): Update accordingly. | |
2165 | (mips_adjust_breakpoint_address): Likewise. | |
2166 | ||
ae790652 MR |
2167 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2168 | ||
2169 | * mips-tdep.c (micromips_instruction_has_delay_slot): When | |
2170 | !mustbe32 also return 1 for 32-bit instructions. | |
2171 | (mips16_instruction_has_delay_slot): Likewise. Add an | |
2172 | explanatory comment. | |
2173 | ||
9b807e7b MR |
2174 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
2175 | ||
2176 | * elfread.c (elf_symtab_read): Also mark solib trampoline minimal | |
2177 | symbols special. | |
2178 | ||
0d5ed153 MR |
2179 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
2180 | ||
2181 | * breakpoint.h (bp_target_info): Add `reqstd_address' member, | |
2182 | update comments. | |
2183 | * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' | |
2184 | for the breakpoint's address. Don't preinitialize `placed_size'. | |
2185 | (insert_bp_location): Set `reqstd_address' rather than | |
2186 | `placed_address'. | |
2187 | (bp_target_info_copy_insertion_state): Also copy `placed_address'. | |
2188 | (bkpt_insert_location): Use `reqstd_address' for the breakpoint's | |
2189 | address. | |
2190 | (bkpt_remove_location): Likewise. | |
2191 | (deprecated_insert_raw_breakpoint): Likewise. | |
2192 | (deprecated_remove_raw_breakpoint): Likewise. | |
2193 | (find_single_step_breakpoint): Likewise. | |
2194 | * mem-break.c (default_memory_insert_breakpoint): Use | |
2195 | `reqstd_address' for the breakpoint's address. Don't set | |
2196 | `placed_address' or `placed_size' if breakpoint contents couldn't | |
2197 | have been determined. | |
2198 | * remote.c (remote_insert_breakpoint): Use `reqstd_address' for | |
2199 | the breakpoint's address. | |
2200 | (remote_insert_hw_breakpoint): Likewise. Don't set | |
2201 | `placed_address' or `placed_size' if breakpoint couldn't have been | |
2202 | set. | |
2203 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use | |
2204 | `reqstd_address' for the breakpoint's address. | |
2205 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. | |
2206 | * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. | |
2207 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. | |
2208 | * microblaze-linux-tdep.c | |
2209 | (microblaze_linux_memory_remove_breakpoint): Likewise. | |
2210 | * monitor.c (monitor_insert_breakpoint): Likewise. | |
2211 | * nto-procfs.c (procfs_insert_breakpoint): Likewise. | |
2212 | (procfs_insert_hw_breakpoint): Likewise. | |
2213 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. | |
2214 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
2215 | * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. | |
2216 | * remote-mips.c (mips_insert_breakpoint): Likewise. | |
2217 | * x86-nat.c (x86_insert_hw_breakpoint): Likewise. | |
2218 | ||
3e871532 LM |
2219 | 2014-10-03 Luis Machado <lgustavo@codesourcery.com> |
2220 | ||
2221 | * valops.c (value_assign): Check for bit field assignments | |
2222 | before calling architecture-specific register value | |
2223 | conversion functions. | |
2224 | ||
ec48dc8b PM |
2225 | 2014-10-03 Pierre Muller <muller@sourceware.org> |
2226 | ||
2227 | * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. | |
2228 | ||
b57bacec PA |
2229 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2230 | ||
2231 | * breakpoint.c (breakpoints_should_be_inserted_now): Use | |
2232 | threads_are_executing. | |
2233 | * breakpoint.h (breakpoints_should_be_inserted_now): Add | |
2234 | describing comment. | |
2235 | * gdbthread.h (threads_are_executing): Declare. | |
2236 | (handle_signal_stop) <random signals>: Don't print about the | |
2237 | signal here if stopping. | |
2238 | (end_stepping_range): Don't notify observers here. | |
2239 | (normal_stop): Update the thread list. If stopped by a random | |
2240 | signal or a stepping range ended, notify observers. | |
2241 | * thread.c (threads_executing): New global. | |
2242 | (init_thread_list): Clear 'threads_executing'. | |
2243 | (set_executing): Set or clear 'threads_executing'. | |
2244 | (threads_are_executing): New function. | |
2245 | (update_threads_executing): New function. | |
2246 | (update_thread_list): Use it. | |
2247 | ||
13fd3ff3 PA |
2248 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2249 | ||
2250 | PR breakpoints/17431 | |
2251 | * breakpoint.c (update_breakpoints_after_exec): Don't create | |
2252 | overlay, longjmp, std terminate nor exception breakpoints here. | |
2253 | ||
32990ada PA |
2254 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2255 | ||
2256 | * gdbthread.h (any_thread_of_process, any_live_thread_of_process): | |
2257 | Adjust comments. | |
2258 | * inferior.c (find_inferior_for_program_space): Give preference to | |
2259 | the current inferior. | |
2260 | * inferior.h (find_inferior_for_program_space): Update comment. | |
2261 | * progspace.c (switch_to_program_space_and_thread): Prefer the | |
2262 | current inferior if it's bound to the program space requested. If | |
2263 | the inferior found doesn't have a PID yet, don't bother looking up | |
2264 | a thread. | |
2265 | * progspace.h (switch_to_program_space_and_thread): Adjust | |
2266 | comment. | |
2267 | * thread.c (any_thread_of_process, any_live_thread_of_process): | |
2268 | Give preference to the current thread. | |
2269 | ||
0fec99e8 PA |
2270 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2271 | ||
2272 | * breakpoint.c (insert_bp_location): Error out if inserting a | |
2273 | software breakpoint at a read-only address. | |
2274 | * target.c (memory_xfer_check_region): New function, factored out | |
2275 | from ... | |
2276 | (memory_xfer_partial_1): ... this. Make the 'reg_len' local a | |
2277 | ULONGEST. | |
2278 | (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access | |
2279 | against the memory region attributes. | |
2280 | ||
2ddf4301 SM |
2281 | 2014-10-01 Simon Marchi <simon.marchi@ericsson.com> |
2282 | ||
2283 | * NEWS: Announce new exit-code field in -list-thread-groups | |
2284 | output. | |
2285 | * inferior.c (exit_inferior_1): Don't clear exit code. | |
2286 | (inferior_appeared): Clear exit code. | |
2287 | * mi/mi-main.c (print_one_inferior): Add printing of the exit | |
2288 | code. | |
2289 | ||
5fdeec1d PA |
2290 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2291 | ||
2292 | * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS | |
2293 | GENERATED" along with emacs/vi read-only markers. | |
2294 | * regformats/aarch64.dat: Regenerate. | |
2295 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
2296 | * regformats/arm-with-neon.dat: Regenerate. | |
2297 | * regformats/arm-with-vfpv2.dat: Regenerate. | |
2298 | * regformats/arm-with-vfpv3.dat: Regenerate. | |
2299 | * regformats/i386/amd64-avx-linux.dat: Regenerate. | |
2300 | * regformats/i386/amd64-avx.dat: Regenerate. | |
2301 | * regformats/i386/amd64-avx512-linux.dat: Regenerate. | |
2302 | * regformats/i386/amd64-avx512.dat: Regenerate. | |
2303 | * regformats/i386/amd64-linux.dat: Regenerate. | |
2304 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
2305 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
2306 | * regformats/i386/amd64.dat: Regenerate. | |
2307 | * regformats/i386/i386-avx-linux.dat: Regenerate. | |
2308 | * regformats/i386/i386-avx.dat: Regenerate. | |
2309 | * regformats/i386/i386-avx512-linux.dat: Regenerate. | |
2310 | * regformats/i386/i386-avx512.dat: Regenerate. | |
2311 | * regformats/i386/i386-linux.dat: Regenerate. | |
2312 | * regformats/i386/i386-mmx-linux.dat: Regenerate. | |
2313 | * regformats/i386/i386-mmx.dat: Regenerate. | |
2314 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
2315 | * regformats/i386/i386-mpx.dat: Regenerate. | |
2316 | * regformats/i386/i386.dat: Regenerate. | |
2317 | * regformats/i386/x32-avx-linux.dat: Regenerate. | |
2318 | * regformats/i386/x32-avx.dat: Regenerate. | |
2319 | * regformats/i386/x32-avx512-linux.dat: Regenerate. | |
2320 | * regformats/i386/x32-avx512.dat: Regenerate. | |
2321 | * regformats/i386/x32-linux.dat: Regenerate. | |
2322 | * regformats/i386/x32.dat: Regenerate. | |
2323 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2324 | * regformats/mips-dsp-linux.dat: Regenerate. | |
2325 | * regformats/mips-linux.dat: Regenerate. | |
2326 | * regformats/mips64-dsp-linux.dat: Regenerate. | |
2327 | * regformats/mips64-linux.dat: Regenerate. | |
2328 | * regformats/nios2-linux.dat: Regenerate. | |
2329 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
2330 | * regformats/rs6000/powerpc-32l.dat: Regenerate. | |
2331 | * regformats/rs6000/powerpc-64l.dat: Regenerate. | |
2332 | * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. | |
2333 | * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. | |
2334 | * regformats/rs6000/powerpc-cell32l.dat: Regenerate. | |
2335 | * regformats/rs6000/powerpc-cell64l.dat: Regenerate. | |
2336 | * regformats/rs6000/powerpc-e500l.dat: Regenerate. | |
2337 | * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. | |
2338 | * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. | |
2339 | * regformats/s390-linux32.dat: Regenerate. | |
2340 | * regformats/s390-linux32v1.dat: Regenerate. | |
2341 | * regformats/s390-linux32v2.dat: Regenerate. | |
2342 | * regformats/s390-linux64.dat: Regenerate. | |
2343 | * regformats/s390-linux64v1.dat: Regenerate. | |
2344 | * regformats/s390-linux64v2.dat: Regenerate. | |
2345 | * regformats/s390-te-linux64.dat: Regenerate. | |
2346 | * regformats/s390x-linux64.dat: Regenerate. | |
2347 | * regformats/s390x-linux64v1.dat: Regenerate. | |
2348 | * regformats/s390x-linux64v2.dat: Regenerate. | |
2349 | * regformats/s390x-te-linux64.dat: Regenerate. | |
2350 | * regformats/tic6x-c62x-linux.dat: Regenerate. | |
2351 | * regformats/tic6x-c62x.dat: Regenerate. | |
2352 | * regformats/tic6x-c64x-linux.dat: Regenerate. | |
2353 | * regformats/tic6x-c64x.dat: Regenerate. | |
2354 | * regformats/tic6x-c64xp-linux.dat: Regenerate. | |
2355 | * regformats/tic6x-c64xp.dat: Regenerate. | |
2356 | ||
db74e4ba PA |
2357 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2358 | ||
2359 | * features/Makefile: Update comments. | |
2360 | (XMLTOC): List all xml files we build C files from. | |
2361 | (clean-cfiles): New rule. | |
2362 | ||
d63f2f84 PA |
2363 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2364 | ||
2365 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
2366 | * features/i386/amd64-avx512.c: Regenerate. | |
2367 | * features/i386/x32-avx512-linux.c: Regenerate. | |
2368 | * features/i386/x32-avx512.c: Regenerate. | |
2369 | ||
20ad026d PA |
2370 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2371 | ||
2372 | * features/Makefile (WHICH): Remove arm-with-m, | |
2373 | arm-with-m-fpa-layout and arm-with-m-vfp-d16. | |
2374 | ||
acc9fe45 PA |
2375 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2376 | ||
2377 | * features/Makefile (clean): New rule. | |
2378 | ||
e001e535 PA |
2379 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2380 | ||
2381 | * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) | |
2382 | (zmm14h): Add missing end quotes. | |
2383 | ||
bdc14417 PA |
2384 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2385 | ||
2386 | * features/aarch64-core.xml (cpsr): Change back to 32-bit. | |
2387 | * features/aarch64.c: Regenerate. | |
2388 | ||
d83ad864 DB |
2389 | 2014-09-30 Don Breazeal <donb@codesourcery.com> |
2390 | ||
2391 | * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent | |
2392 | code so as to work with follow_fork_inferior. | |
2393 | * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. | |
2394 | (inf_ttrace_create_inferior): Remove reference to | |
2395 | inf_ttrace_vfork_ppid. | |
2396 | (inf_ttrace_attach): Ditto. | |
2397 | (inf_ttrace_detach): Ditto. | |
2398 | (inf_ttrace_kill): Use current_inferior instead of | |
2399 | inf_ttrace_vfork_ppid. | |
2400 | (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report | |
2401 | TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the | |
2402 | inferior away from the parent. | |
2403 | * infrun.c (follow_fork): Call follow_fork_inferior instead of | |
2404 | target_follow_fork. | |
2405 | (follow_fork_inferior): New function. | |
2406 | (follow_inferior_reset_breakpoints): Make function static. | |
2407 | * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. | |
2408 | * linux-nat.c (linux_child_follow_fork): Move target-independent | |
2409 | code to infrun.c:follow_fork_inferior. | |
2410 | ||
29082443 AA |
2411 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2412 | ||
2413 | * gdbarch.sh (regset_from_core_section): Remove gdbarch method. | |
2414 | * gdbarch.c: Regenerate. | |
2415 | * gdbarch.h: Likewise. | |
2416 | * corelow.c (sniff_core_bfd): Drop presence check for deleted | |
2417 | gdbarch method 'regset_from_core_section'. | |
2418 | (get_core_register_section): Remove handling for the case that | |
2419 | regset == NULL and regset_from_core_section is defined. | |
2420 | (get_core_registers): Drop check for deleted method. | |
2421 | * procfs.c (procfs_do_thread_registers): Adjust comment. | |
2422 | ||
f968fe80 AA |
2423 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2424 | ||
2425 | * linux-nat.c (linux_nat_collect_thread_registers): Remove. | |
2426 | (linux_nat_make_corefile_notes): Remove. | |
2427 | (linux_target_install_ops): Do not set target method | |
2428 | 'make_corefile_notes'. | |
2429 | * linux-tdep.c (struct linux_corefile_thread_data)<collect>: | |
2430 | Remove field. | |
2431 | (linux_corefile_thread_callback): Instead of args->collect, call | |
2432 | linux_collect_thread_registers. | |
2433 | (linux_make_corefile_notes): Remove 'collect' parameter. Return | |
2434 | NULL unless there is a regset iterator. | |
2435 | (linux_make_corefile_notes_1): Remove. | |
2436 | (linux_init_abi): Replace reference to linux_make_corefile_notes_1 | |
2437 | by linux_make_corefile_notes. | |
2438 | * linux-tdep.h (linux_make_corefile_notes): Remove prototype. | |
2439 | ||
174ad59a AA |
2440 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2441 | ||
2442 | * fbsd-nat.c (find_signalled_thread, find_stop_signal) | |
2443 | (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): | |
2444 | Remove. | |
2445 | * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. | |
2446 | ||
97094034 AA |
2447 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2448 | ||
2449 | * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. | |
2450 | (xtensa_iterate_over_regset_sections): New. | |
2451 | (xtensa_gdbarch_init): Adjust gdbarch initialization. | |
2452 | ||
f73d3ce7 AA |
2453 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2454 | ||
2455 | * vax-tdep.c (vax_regset_from_core_section): Remove. | |
2456 | (vax_iterate_over_regset_sections): New. | |
2457 | (vax_gdbarch_init): Adjust gdbarch initialization. | |
2458 | ||
cb24567a AA |
2459 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2460 | ||
2461 | * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. | |
2462 | (tilegx_regset_from_core_section): Remove. | |
2463 | (tilegx_iterate_over_regset_sections): New. | |
2464 | (tilegx_linux_init_abi): Adjust gdbarch initialization. | |
2465 | ||
e5139de8 AA |
2466 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2467 | ||
2468 | * sparc-tdep.c (sparc_regset_from_core_section): Remove. | |
2469 | (sparc_iterate_over_regset_sections): New. | |
2470 | (sparc32_gdbarch_init): Adjust gdbarch initialization. | |
2471 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD | |
2472 | targets. | |
2473 | * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2474 | (sparc64fbsd_init_abi): Call fbsd_init_abi. | |
2475 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set | |
2476 | target method 'make_corefile_notes'. | |
2477 | ||
c6d41a6f AA |
2478 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2479 | ||
2480 | * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields | |
2481 | 'sizeof_gregset' and 'sizeof_fpregset'. | |
2482 | * sh-tdep.c (sh_regset_from_core_section): Remove. | |
2483 | (sh_iterate_over_regset_sections): New. | |
2484 | (sh_gdbarch_init): Adjust gdbarch initialization. | |
2485 | * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and | |
2486 | sizeof_fpregset. | |
2487 | * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field | |
2488 | 'sizeof_gregset'. | |
2489 | ||
9845a0b5 AA |
2490 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2491 | ||
2492 | * score-tdep.c (score7_linux_regset_from_core_section): Remove. | |
2493 | (score7_linux_iterate_over_regset_sections): New. | |
2494 | (score_gdbarch_init): Adjust gdbarch initialization. | |
2495 | ||
23ea9aeb AA |
2496 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2497 | ||
2498 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC | |
2499 | FreeBSD targets. | |
2500 | * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target | |
2501 | method 'make_corefile_notes'. | |
2502 | * ppcfbsd-tdep.c (fbsd-tdep.h): Include. | |
2503 | (ppcfbsd_regset_from_core_section): Remove. | |
2504 | (ppcfbsd_iterate_over_regset_sections): New. | |
2505 | (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch | |
2506 | initialization. | |
2507 | * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. | |
2508 | (ppcnbsd_iterate_over_regset_sections): New. | |
2509 | (ppcnbsd_init_abi): Adjust. | |
2510 | * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. | |
2511 | (ppcobsd_iterate_over_regset_sections): New. | |
2512 | (ppcobsd_init_abi): Adjust. | |
2513 | * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. | |
2514 | (rs6000_aix_iterate_over_regset_sections): New. | |
2515 | (rs6000_aix_init_osabi): Adjust. | |
2516 | ||
c5b8d704 AA |
2517 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2518 | ||
2519 | * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. | |
2520 | (nios2_regset_from_core_section): Remove. | |
2521 | (nios2_iterate_over_regset_sections): New. | |
2522 | (nios2_linux_init_abi): Adjust gdbarch initialization. | |
2523 | ||
3636e608 AA |
2524 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2525 | ||
2526 | * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. | |
2527 | (am33_iterate_over_regset_sections): New. | |
2528 | (am33_linux_init_osabi): Adjust gdbarch initialization. | |
2529 | ||
d4036235 AA |
2530 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2531 | ||
2532 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. | |
2533 | (mips_linux_iterate_over_regset_sections): New. | |
2534 | (mips_linux_init_abi): Adjust gdbarch initialization. | |
2535 | * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. | |
2536 | (mips64obsd_iterate_over_regset_sections): New. | |
2537 | (mips64obsd_init_abi): Adjust. | |
2538 | * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. | |
2539 | (mipsnbsd_iterate_over_regset_sections): New. | |
2540 | (mipsnbsd_init_abi): Adjust. | |
2541 | ||
b61ddd6e AA |
2542 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2543 | ||
2544 | * m88k-tdep.c (m88k_regset_from_core_section): Remove. | |
2545 | (m88k_iterate_over_regset_sections): New. | |
2546 | (m88k_gdbarch_init): Adjust gdbarch initialization. | |
2547 | ||
55a2906a AA |
2548 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2549 | ||
2550 | * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. | |
2551 | (ia64_linux_iterate_over_regset_sections): New. | |
2552 | (ia64_linux_init_abi): Adjust gdbarch initialization. | |
2553 | ||
022c98ab AA |
2554 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2555 | ||
2556 | * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. | |
2557 | (m68kbsd_iterate_over_regset_sections): New. | |
2558 | (m68kbsd_init_abi): Adjust gdbarch initialization. | |
2559 | * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. | |
2560 | (m68k_linux_iterate_over_regset_sections): New. | |
2561 | (m68k_linux_init_abi): Adjust gdbarch initialization. | |
2562 | ||
5fac247f AA |
2563 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2564 | ||
2565 | * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. | |
2566 | (m32r_linux_regset_from_core_section): Remove. | |
2567 | (m32r_linux_iterate_over_regset_sections): New. | |
2568 | (m32r_linux_init_abi): Adjust gdbarch initialization. | |
2569 | ||
490496c3 AA |
2570 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2571 | ||
2572 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. | |
2573 | (amd64obsd_iterate_over_regset_sections): New. | |
2574 | (amd64obsd_core_init_abi): Adjust gdbarch initialization. | |
2575 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
2576 | Remove. | |
2577 | (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop | |
2578 | regset_from_core_section initialization. | |
2579 | * i386-tdep.c (i386_regset_from_core_section): Remove. | |
2580 | (i386_iterate_over_regset_sections): New. | |
2581 | (i386_gdbarch_init): Adjust gdbarch initialization. | |
2582 | * i386-tdep.h (i386_regset_from_core_section): Remove prototype. | |
2583 | (i386_iterate_over_regset_sections): New prototype. | |
2584 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): | |
2585 | Remove. | |
2586 | (i386obsd_aout_iterate_over_regset_sections): New. | |
2587 | (i386obsd_aout_init_abi): Adjust gdbarch initialization. | |
2588 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD | |
2589 | targets. | |
2590 | * amd64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2591 | (amd64fbsd_init_abi): Call fbsd_init_abi. | |
2592 | * i386fbsd-tdep.c (fbsd-tdep.h): Include. | |
2593 | (i386fbsd4_init_abi): Call fbsd_init_abi. | |
2594 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set | |
2595 | target method 'make_corefile_notes'. | |
2596 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. | |
2597 | ||
50c5eb53 AA |
2598 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2599 | ||
2600 | * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. | |
2601 | (hppa_hpux_iterate_over_regset_sections): New. | |
2602 | (hppa_hpux_init_abi): Adjust gdbarch initialization. | |
2603 | * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. | |
2604 | (hppa_linux_iterate_over_regset_sections): New. | |
2605 | (hppa_linux_init_abi): Adjust. | |
2606 | * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
2607 | (hppanbsd_iterate_over_regset_sections): New. | |
2608 | (hppanbsd_init_abi): Adjust. | |
2609 | * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
2610 | (hppaobsd_iterate_over_regset_sections): New. | |
2611 | (hppaobsd_init_abi): Adjust. | |
2612 | ||
66afae4f AA |
2613 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2614 | ||
2615 | * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. | |
2616 | (frv_linux_iterate_over_regset_sections): New. | |
2617 | (frv_linux_init_abi): Adjust gdbarch initialization. | |
2618 | ||
ed09174e AA |
2619 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2620 | ||
2621 | * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. | |
2622 | (armbsd_iterate_over_regset_sections): New prototype. | |
2623 | * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. | |
2624 | (armbsd_iterate_over_regset_sections): New. | |
2625 | * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch | |
2626 | initialization. | |
2627 | ||
dff2166e AA |
2628 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2629 | ||
2630 | * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. | |
2631 | (alpha_linux_iterate_over_regset_sections): New. | |
2632 | (alpha_linux_init_abi): Adjust gdbarch initialization. | |
2633 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove | |
2634 | prototype. | |
2635 | (alphanbsd_iterate_over_regset_sections): New prototype. | |
2636 | ||
4108500a AA |
2637 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2638 | ||
2639 | * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): | |
2640 | Remove. | |
2641 | (aarch64_linux_iterate_over_regset_sections): New. | |
2642 | (aarch64_linux_init_abi): Adjust gdbarch initialization. | |
2643 | ||
a904c024 AA |
2644 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2645 | ||
2646 | * fbsd-tdep.c: New file. | |
2647 | * fbsd-tdep.h: New file. | |
2648 | * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. | |
2649 | (HFILES_NO_SRCDIR): Add fbsd-tdep.h. | |
2650 | (ALLDEPFILES): Add fbsd-tdep.c. | |
2651 | ||
8f0435f7 AA |
2652 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2653 | ||
2654 | * gdbarch.sh (iterate_over_regset_sections_cb): Add regset | |
2655 | parameter. | |
2656 | * gdbarch.h: Regenerate. | |
2657 | * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset | |
2658 | iterator. | |
2659 | (get_core_register_section): Add parameter 'regset' and use it, if | |
2660 | set. Add parameter 'min_size' and verify the bfd section size | |
2661 | against it. | |
2662 | (get_core_registers_cb): Add parameter 'regset' and pass it to | |
2663 | get_core_register section. For the "standard" register sections | |
2664 | ".reg" and ".reg2", set an appropriate default for human_name. | |
2665 | (get_core_registers): Don't abort when the gdbarch has an iterator | |
2666 | but no regset_from_core_section. Add NULL/0 for parameters | |
2667 | 'regset'/'min_size' in calls to get_core_register_section. | |
2668 | * linux-tdep.c (linux_collect_regset_section_cb): Add parameter | |
2669 | 'regset' and use it instead of calling the | |
2670 | regset_from_core_section gdbarch method. | |
2671 | * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. | |
2672 | * i386-tdep.c (i386_supply_xstateregset) | |
2673 | (i386_collect_xstateregset, i386_xstateregset): Moved to | |
2674 | i386-linux-tdep.c. | |
2675 | (i386_regset_from_core_section): Drop handling for .reg-xfp and | |
2676 | .reg-xstate. | |
2677 | (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic | |
2678 | core file support only if the regset iterator hasn't been set. | |
2679 | * i386-linux-tdep.c (i386_linux_supply_xstateregset) | |
2680 | (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. | |
2681 | Moved from i386-tdep.c and renamed to *_linux*. | |
2682 | (i386_linux_iterate_over_regset_sections): Add regset parameter to | |
2683 | each callback invocation. Allow any .reg-xstate size when reading | |
2684 | from a core file. | |
2685 | * amd64-tdep.c (amd64_supply_xstateregset) | |
2686 | (amd64_collect_xstateregset, amd64_xstateregset): Moved to | |
2687 | amd64-linux-tdep.c. | |
2688 | (amd64_regset_from_core_section): Remove. | |
2689 | (amd64_init_abi): Set new tdep field 'fpregset'. No longer | |
2690 | install an amd64-specific regset_from_core_section gdbarch method. | |
2691 | * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) | |
2692 | (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. | |
2693 | Moved from amd64-tdep.c and renamed to *_linux*. | |
2694 | (amd64_linux_iterate_over_regset_sections): Add regset parameter | |
2695 | to each callback invocation. Allow any .reg-xstate size when | |
2696 | reading from a core file. | |
2697 | * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. | |
2698 | (arm_linux_iterate_over_regset_sections): Add regset parameter to | |
2699 | each callback invocation. | |
2700 | (arm_linux_init_abi): No longer set the regset_from_core_section | |
2701 | gdbarch method. | |
2702 | * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. | |
2703 | (ppc_linux_iterate_over_regset_sections): Add regset parameter to | |
2704 | each callback invocation. | |
2705 | (ppc_linux_init_abi): No longer set the regset_from_core_section | |
2706 | gdbarch method. | |
2707 | * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields | |
2708 | gregset, sizeof_gregset, fpregset, and sizeof_fpregset. | |
2709 | (s390_regset_from_core_section): Remove. | |
2710 | (s390_iterate_over_regset_sections): Add regset parameter to each | |
2711 | callback invocation. | |
2712 | (s390_gdbarch_init): No longer set the regset_from_core_section | |
2713 | gdbarch method. Drop initialization of deleted tdep fields. | |
2714 | ||
5aa82d05 AA |
2715 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2716 | ||
2717 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. | |
2718 | (amd64_linux_iterate_over_regset_sections): New. | |
2719 | (amd64_linux_init_abi_common): Don't install the regset section | |
2720 | list, but the new iterator in gdbarch. | |
2721 | * arm-linux-tdep.c (arm_linux_fpa_regset_sections) | |
2722 | (arm_linux_vfp_regset_sections): Remove. Move combined logic... | |
2723 | (arm_linux_iterate_over_regset_sections): ...here. New function. | |
2724 | (arm_linux_init_abi): Set iterator instead of section list. | |
2725 | * corelow.c (get_core_registers_cb): New function, logic moved | |
2726 | from... | |
2727 | (get_core_registers): ...loop body here. Use new iterator method | |
2728 | instead of walking through the regset section list. | |
2729 | * gdbarch.sh: Remove 'core_regset_sections'. New method | |
2730 | 'iterate_over_regset_sections'. New typedef | |
2731 | 'iterate_over_regset_sections_cb'. | |
2732 | * gdbarch.c: Regenerate. | |
2733 | * gdbarch.h: Likewise. | |
2734 | * i386-linux-tdep.c (i386_linux_regset_sections) | |
2735 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
2736 | Remove. | |
2737 | (i386_linux_iterate_over_regset_sections): New. | |
2738 | (i386_linux_init_abi): Don't choose a regset section list, but | |
2739 | install new iterator in gdbarch. | |
2740 | * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. | |
2741 | (linux_collect_regset_section_cb): New function, logic moved | |
2742 | from... | |
2743 | (linux_collect_thread_registers): ...loop body here. Use iterator | |
2744 | method instead of walking through list. | |
2745 | (linux_make_corefile_notes_1): Check for presence of iterator | |
2746 | method instead of regset section list. | |
2747 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) | |
2748 | (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) | |
2749 | (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) | |
2750 | (ppc64_linux_fp_regset_sections): Remove. Move combined logic... | |
2751 | (ppc_linux_iterate_over_regset_sections): ...here. New function. | |
2752 | (ppc_linux_init_abi): Don't choose from above regset section | |
2753 | lists, but install new iterator in gdbarch. | |
2754 | * regset.h (struct core_regset_section): Remove. | |
2755 | * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields | |
2756 | have_linux_v1, have_linux_v2, and have_tdb. | |
2757 | (s390_linux32_regset_sections, s390_linux32v1_regset_sections) | |
2758 | (s390_linux32v2_regset_sections, s390_linux64_regset_sections) | |
2759 | (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) | |
2760 | (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) | |
2761 | (s390x_linux64v2_regset_sections): Remove. Move combined logic... | |
2762 | (s390_iterate_over_regset_sections): ...here. New function. Use | |
2763 | new tdep fields. | |
2764 | (s390_gdbarch_init): Set new tdep fields. Don't choose from above | |
2765 | regset section lists, but install new iterator. | |
2766 | ||
2eca4a8d JK |
2767 | 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
2768 | ||
2769 | * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". | |
2770 | ||
a73c2b56 SM |
2771 | 2014-09-26 Simon Marchi <simon.marchi@ericsson.com> |
2772 | ||
2773 | * progspace.c (print_program_space): Don't prune program spaces | |
2774 | before printing them. | |
2775 | ||
03d46957 PA |
2776 | 2014-09-25 Pedro Alves <palves@redhat.com> |
2777 | ||
2778 | * infrun.c (user_visible_resume_ptid): Don't check | |
2779 | singlestep_breakpoints_inserted_p. | |
2780 | ||
e558d7c1 PA |
2781 | 2014-09-25 Pedro Alves <palves@redhat.com> |
2782 | ||
2783 | * breakpoint.c (should_be_inserted): Add debug output. | |
2784 | ||
7f89fd65 PA |
2785 | 2014-09-25 Pedro Alves <palves@redhat.com> |
2786 | ||
2787 | * infrun.c (stepping_past_instruction_at) | |
2788 | (clear_exit_convenience_vars): Point at infrun.h instead of | |
2789 | inferior.h. | |
2790 | (handle_signal_stop): Fix typo. | |
2791 | ||
b7576e5c YQ |
2792 | 2014-09-24 Yao Qi <yao@codesourcery.com> |
2793 | ||
2794 | * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the | |
2795 | bitmask. | |
2796 | ||
9a6cf368 GB |
2797 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
2798 | ||
2799 | * target.c (target_stop): Updated comment. | |
2800 | ||
03f4463b GB |
2801 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
2802 | ||
2803 | * target/target.h (target_stop_ptid): Renamed as... | |
2804 | (target_stop_and_wait): New function. Updated comment. | |
2805 | All uses updated. | |
2806 | (target_continue_ptid): Renamed as... | |
2807 | (target_continue_no_signal): New function. Updated comment. | |
2808 | All uses updated. | |
2809 | ||
a25a5a45 PA |
2810 | 2014-09-22 Pedro Alves <palves@redhat.com> |
2811 | ||
2812 | * NEWS: Mention merge of "breakpoint always-inserted" modes "off" | |
2813 | and "auto" merged. | |
2814 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
2815 | (always_inserted_mode): Now a plain boolean. | |
2816 | (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. | |
2817 | (breakpoints_always_inserted_mode): Delete. | |
2818 | (breakpoints_should_be_inserted_now): New function. | |
2819 | (insert_breakpoints): Pass UGLL_INSERT to | |
2820 | update_global_location_list instead of calling | |
2821 | insert_breakpoint_locations manually. | |
2822 | (create_solib_event_breakpoint_1): New, factored out from ... | |
2823 | (create_solib_event_breakpoint): ... this. | |
2824 | (create_and_insert_solib_event_breakpoint): Use | |
2825 | create_solib_event_breakpoint_1 instead of calling | |
2826 | insert_breakpoint_locations manually. | |
2827 | (update_global_location_list): Change parameter type from boolean | |
2828 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
2829 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
2830 | (update_global_location_list_nothrow): Change parameter type from | |
2831 | boolean to enum ugll_insert_mode. | |
2832 | (_initialize_breakpoint): "breakpoint always-inserted" option is | |
2833 | now a boolean command. Update help text. | |
2834 | * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. | |
2835 | (breakpoints_should_be_inserted_now): New declaration. | |
2836 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: | |
2837 | Remove breakpoints_always_inserted_mode check. | |
2838 | (normal_stop): Adjust to use breakpoints_should_be_inserted_now. | |
2839 | * remote.c (remote_start_remote): Likewise. | |
2840 | ||
04086b45 PA |
2841 | 2014-09-22 Pedro Alves <palves@redhat.com> |
2842 | ||
2843 | * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. | |
2844 | (insert_breakpoints): Don't call insert_breakpoint_locations here. | |
2845 | Instead, pass UGLL_INSERT to update_global_location_list. | |
2846 | (update_global_location_list): Change parameter type from boolean | |
2847 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
2848 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
2849 | (create_solib_event_breakpoint_1): New, factored out from ... | |
2850 | (create_solib_event_breakpoint): ... this. | |
2851 | (create_and_insert_solib_event_breakpoint): Use | |
2852 | create_solib_event_breakpoint_1 instead of calling | |
2853 | insert_breakpoint_locations manually. | |
2854 | (update_global_location_list): Handle UGLL_INSERT. | |
2855 | ||
44702360 PA |
2856 | 2014-09-22 Pedro Alves <palves@redhat.com> |
2857 | ||
2858 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
2859 | (update_global_location_list) | |
2860 | (update_global_location_list_nothrow): Change parameter type from | |
2861 | boolean to enum ugll_insert_mode. All callers adjusted. | |
2862 | ||
93c6145a JB |
2863 | 2014-09-19 Joel Brobecker <brobecker@adacore.com> |
2864 | ||
2865 | * MAINTAINERS: Add Sergio Durigan Junior as maintainer of | |
2866 | SystemTap support in GDB. | |
2867 | ||
89a5711c DB |
2868 | 2014-09-19 Don Breazeal <donb@codesourcery.com> |
2869 | ||
2870 | * linux-nat.c (linux_handle_extended_wait): Call | |
2871 | linux_ptrace_get_extended_event. | |
2872 | (wait_lwp): Call linux_is_extended_waitstatus. | |
2873 | (linux_nat_filter_event): Call linux_ptrace_get_extended_event | |
2874 | and linux_is_extended_waitstatus. | |
2875 | * nat/linux-ptrace.c (linux_test_for_tracefork): Call | |
2876 | linux_ptrace_get_extended_event. | |
2877 | (linux_ptrace_get_extended_event): New function. | |
2878 | (linux_is_extended_waitstatus): New function. | |
2879 | * nat/linux-ptrace.h (linux_ptrace_get_extended_event) | |
2880 | (linux_is_extended_waitstatus): New declarations. | |
2881 | ||
c3b7b696 YQ |
2882 | 2014-09-19 Yao Qi <yao@codesourcery.com> |
2883 | ||
2884 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
2885 | (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update | |
2886 | comments. Callers update. | |
2887 | (dwarf_decode_lines): Likewise. | |
2888 | (dwarf_decode_lines_1): Add argument 'lowpc'. Update | |
2889 | comments. Skip the line table if 'lowpc' is greater than | |
2890 | 'address'. Don't check | |
2891 | dwarf2_per_objfile->has_section_at_zero. | |
2892 | ||
2b4fd423 DE |
2893 | 2014-09-18 Doug Evans <dje@google.com> |
2894 | ||
2895 | * NEWS: Mention new "producer" attribute of gdb.Symtab. | |
2896 | * python/py-symtab.c (stpy_get_producer): New function. | |
2897 | (symtab_object_getset): Add "producer" attribute. | |
2898 | ||
5e43d467 UW |
2899 | 2014-09-17 Ulrich Weigand <uweigand@de.ibm.com> |
2900 | ||
2901 | PR gdb/17384 | |
2902 | * corefile.c (struct captured_read_memory_integer_arguments): Remove. | |
2903 | (do_captured_read_memory_integer): Remove. | |
2904 | (safe_read_memory_integer): Use target_read_memory directly instead | |
2905 | of catching errors in do_captured_read_memory_integer. | |
2906 | ||
04e79979 MR |
2907 | 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com> |
2908 | ||
2909 | * CONTRIBUTE (Coding Standards): For internals refer to wiki, | |
2910 | not gdb/doc. | |
2911 | ||
76aeec5b SDJ |
2912 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
2913 | ||
2914 | * objc-lang.c (find_implementation_from_class): Remove dead code. | |
2915 | ||
2f693f9d SDJ |
2916 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
2917 | ||
2918 | PR cli/7233 | |
2919 | * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by | |
2920 | "fprintf_unfiltered (gdb_stdlog...)". | |
2921 | ||
bb9d5f81 PP |
2922 | 2014-09-16 Patrick Palka <patrick@parcs.ath.cx> |
2923 | ||
2924 | PR breakpoints/12526 | |
2925 | * breakpoint.h (struct watchpoint): New fields val_bitpos and | |
2926 | val_bitsize. | |
2927 | * breakpoint.c (watch_command_1): Use these fields to retain | |
2928 | bitfield information. | |
2929 | (extract_bitfield_from_watchpoint_value): New function. | |
2930 | (watchpoint_check): Use it. | |
2931 | (update_watchpoint): Use it. Optimize the address and length of a | |
2932 | HW watchpoint pointing to a bitfield. | |
2933 | * value.h (unpack_value_bitfield): New prototype. | |
2934 | * value.c (unpack_value_bitfield): Make extern. | |
2935 | ||
05db5edd ST |
2936 | 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2937 | ||
2938 | * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and | |
2939 | x86-dregs.o. | |
2940 | * gnu-nat.c (inf_threads): New function. | |
2941 | * gnu-nat.h (inf_threads_ftype): New typedef. | |
2942 | (inf_threads): New declaration. | |
2943 | * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". | |
2944 | [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) | |
2945 | (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) | |
2946 | (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) | |
2947 | (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) | |
2948 | (i386_gnu_dr_get_control): New functions. | |
2949 | (reg_addr): New structure. | |
2950 | (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware | |
2951 | i386 debugging register hooks. | |
2952 | * NEWS: Mention this. | |
2953 | ||
5a578da5 OJ |
2954 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2955 | ||
2956 | * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for | |
2957 | vector data transfer instructions. | |
2958 | (arm_record_coproc_data_proc): Updated. | |
2959 | ||
f20f80dd OJ |
2960 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2961 | ||
2962 | * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with | |
2963 | arm_record_exreg_ld_st_insn. | |
2964 | (arm_record_exreg_ld_st_insn): Add record handler for ex-register | |
2965 | load/store insns. | |
2966 | ||
851f26ae OJ |
2967 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2968 | ||
2969 | * arm-tdep.c (arm_record_coproc_data_proc): Updated. | |
2970 | (arm_record_vfp_data_proc_insn): Added record handler for VFP data | |
2971 | processing instructions. | |
2972 | ||
1e1b6563 OJ |
2973 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2974 | ||
2975 | * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler | |
2976 | for advance SIMD struct ld/st insn. | |
2977 | (thumb2_record_decode_insn_handler): Replace stub handler with | |
2978 | thumb2_record_asimd_struct_ld_st. | |
2979 | ||
60cc5e93 OJ |
2980 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2981 | ||
2982 | * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs | |
2983 | for asimd, vfp and coprocessor insns. | |
2984 | (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp | |
2985 | and coprocessor insns. | |
2986 | (thumb2_record_coproc_insn): New function. | |
2987 | (thumb2_record_decode_insn_handler): Update coprocessor insns record | |
2988 | handlers. | |
2989 | (decode_insn): Install arm_record_asimd_vfp_coproc as handler for | |
2990 | opcode 110 insns. | |
2991 | ||
81219e53 DE |
2992 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
2993 | ||
2994 | * NEWS: Mention new "queue-signal" command. | |
2995 | * infcmd.c (queue_signal_command): New function. | |
2996 | (_initialize_infcmd): Add new queue-signal command. | |
2997 | ||
d36bf488 DE |
2998 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
2999 | ||
3000 | * linux-nat.c (wait_lwp): Add debugging printf. | |
3001 | (linux_nat_wait_1): Ditto. | |
3002 | ||
f37f681c PA |
3003 | 2014-09-12 Pedro Alves <palves@redhat.com> |
3004 | ||
3005 | * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) | |
3006 | (create_and_insert_solib_event_breakpoint): New functions. | |
3007 | * breakpoint.h (create_and_insert_solib_event_breakpoint) | |
3008 | (remove_solib_event_breakpoints_at_next_stop): New declarations. | |
3009 | * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. | |
3010 | (remove_dbx_link_breakpoint): Delete function. | |
3011 | (insert_dbx_link_bpt_in_file): Use | |
3012 | create_and_insert_solib_event_breakpoint instead of | |
3013 | deprecated_insert_raw_breakpoint. | |
3014 | (procfs_wait): Don't check whether we hit __dbx_link here. | |
3015 | (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint | |
3016 | here. | |
3017 | * solib-irix.c (base_breakpoint): Delete global. | |
3018 | (disable_break): Delete function. | |
3019 | (enable_break): Use create_solib_event_breakpoint | |
3020 | instead of deprecated_insert_raw_breakpoint. | |
3021 | (irix_solib_handle_event): New function. | |
3022 | (irix_solib_create_inferior_hook): Don't run the target or disable | |
3023 | the mapping-complete breakpoint here. | |
3024 | (_initialize_irix_solib): Install irix_solib_handle_event as | |
3025 | so_ops->handle_event hook. | |
3026 | ||
9d9bf2df EBM |
3027 | 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
3028 | Ulrich Weigand <uweigand@de.ibm.com> | |
3029 | ||
3030 | PR tdep/17379 | |
3031 | * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer | |
3032 | instead of read_memory_unsigned_integer. | |
3033 | ||
b006a80e GB |
3034 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3035 | ||
3036 | * nat/linux-waitpid.c: Include common-defs.h. | |
3037 | [GDBSERVER]: Add FIXME comment. | |
3038 | [!GDBSERVER]: Don't include defs.h or signal.h. | |
3039 | (linux_debug) [!GDBSERVER]: Remove empty block. | |
3040 | ||
296b1496 GB |
3041 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3042 | ||
3043 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
3044 | Don't include defs.h or server.h. | |
3045 | ||
53f81362 GB |
3046 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3047 | ||
3048 | * nat/linux-btrace.c: Include common-defs.h. | |
3049 | Don't include defs.h, server.h or gdbthread.h. | |
3050 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
3051 | ||
727605ca GB |
3052 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3053 | ||
3054 | * common/agent.c: Include common-defs.h. | |
3055 | Don't include defs.h or server.h. | |
3056 | * common/buffer.c: Likewise. | |
3057 | * common/common-debug.c: Likewise. | |
3058 | * common/common-utils.c: Likewise. | |
3059 | * common/errors.c: Likewise. | |
3060 | * common/filestuff.c: Likewise. | |
3061 | * common/format.c: Likewise. | |
3062 | * common/gdb_vecs.c: Likewise. | |
3063 | * common/print-utils.c: Likewise. | |
3064 | * common/ptid.c: Likewise. | |
3065 | * common/rsp-low.c: Likewise. | |
3066 | * common/signals.c: Likewise. | |
3067 | * common/vec.c: Likewise. | |
3068 | * common/xml-utils.c: Likewise. | |
3069 | * nat/linux-osdata.c: Likewise. | |
3070 | * nat/linux-procfs.c: Likewise. | |
3071 | * nat/linux-ptrace.c: Likewise. | |
3072 | * nat/mips-linux-watch.c: Likewise. | |
3073 | * target/waitstatus.c: Likewise. | |
3074 | ||
361c8ade GB |
3075 | 2014-09-12 Tom Tromey <tromey@redhat.com> |
3076 | Gary Benson <gbenson@redhat.com> | |
3077 | ||
3078 | * common/common-regcache.h: New file. | |
3079 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
3080 | * regcache.h: Include common-regcache.h. | |
3081 | (regcache_read_pc): Don't declare. | |
3082 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
3083 | * nat/linux-btrace.c: Don't include regcache.h. | |
3084 | Include common-regcache.h. | |
3085 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
3086 | ||
a01cbb49 TS |
3087 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> |
3088 | ||
3089 | * regcache.h (struct regset): Declare. | |
3090 | ||
98880d46 PA |
3091 | 2014-09-11 Pedro Alves <palves@redhat.com> |
3092 | ||
3093 | PR gdb/17347 | |
3094 | * main.c: Include "infrun.h". | |
3095 | (catch_command_errors, catch_command_errors_const): Wait for the | |
3096 | foreground command to complete. | |
3097 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
3098 | from ... | |
3099 | (maybe_wait_sync_command_done): ... here. | |
3100 | * top.h (maybe_wait_sync_command_done): New declaration. | |
3101 | ||
bd9269f7 GB |
3102 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
3103 | Gary Benson <gbenson@redhat.com> | |
3104 | ||
3105 | * common/symbol.h: New file. | |
3106 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
3107 | * minsyms.c (find_minimal_symbol_address): New function. | |
3108 | * common/agent.c: Include common/symbol.h. | |
3109 | [!GDBSERVER]: Don't include objfiles.h. | |
3110 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
3111 | ||
f8c1d06b GB |
3112 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
3113 | ||
3114 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
3115 | Declare. | |
3116 | * target.c (target_stop_ptid, target_continue_ptid): New | |
3117 | functions. | |
3118 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
3119 | (agent_run_command): Always use target_stop_ptid and | |
3120 | target_continue_ptid. | |
3121 | ||
721ec300 GB |
3122 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
3123 | Gary Benson <gbenson@redhat.com> | |
3124 | ||
3125 | * target/target.h: New file. | |
3126 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
3127 | * target.h: Include target/target.h. | |
3128 | (target_read_memory, target_write_memory): Don't declare. | |
3129 | * target.c (target_read_uint32): New function. | |
3130 | * common/agent.c: Include target/target.h. | |
3131 | [!GDBSERVER]: Don't include target.h. | |
3132 | (helper_thread_id): Type changed to uint32_t. | |
3133 | (agent_get_helper_thread_id): Use target_read_uint32. | |
3134 | (agent_run_command): Always use target_read_memory and | |
3135 | target_write_memory. | |
3136 | (agent_capability): Type changed to uint32_t. | |
3137 | (agent_capability_check): Use target_read_uint32. | |
3138 | ||
c5e92cca GB |
3139 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
3140 | ||
3141 | * common/common-debug.h (show_debug_regs): Declare. | |
3142 | * common/common-debug.c (show_debug_regs): Define. | |
3143 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
3144 | all uses with show_debug_regs. Replace all uses that considered | |
3145 | debug_hw_points as a multi-value integer with straight boolean | |
3146 | uses. | |
3147 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
3148 | with show_debug_regs. | |
3149 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
3150 | all uses with show_debug_regs. | |
3151 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
3152 | uses with show_debug_regs. | |
3153 | ||
eeef931a UW |
3154 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3155 | ||
3156 | * findvar.c (address_from_register): Handle targets requiring | |
3157 | a special conversion routine even for plain pointer types. | |
3158 | ||
8efa9855 UW |
3159 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3160 | ||
3161 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
3162 | (store_register): Do not call exec_one_dummy_insn. | |
3163 | ||
eb479039 JB |
3164 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3165 | ||
3166 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
3167 | dereference it first. Use value_enclosing_type instead of | |
3168 | value_type. | |
3169 | (ada_array_length): Likewise. | |
3170 | ||
deede10c JB |
3171 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3172 | ||
3173 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
3174 | Adjust function implementation and documentation accordingly. | |
3175 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
3176 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
3177 | Update call to ada_value_ptr_subscript. | |
3178 | ||
7828a5f5 JB |
3179 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3180 | ||
3181 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
3182 | instead of VAL's type. | |
3183 | ||
35782f14 JB |
3184 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3185 | ||
3186 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
3187 | ||
d342a0da DE |
3188 | 2014-09-09 Doug Evans <xdje42@gmail.com> |
3189 | ||
3190 | PR guile/17367 | |
3191 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
3192 | last parameter to pkg-config, not first. | |
3193 | * configure.ac: Pass --with-guile provided pkg-config path to | |
3194 | GDB_GUILE_PROGRAM_NAMES. | |
3195 | * configure: Regenerate. | |
3196 | ||
b4a3d263 GKB |
3197 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> |
3198 | ||
3199 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
3200 | Bertazi". | |
3201 | ||
6e466374 MR |
3202 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> |
3203 | ||
3204 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
3205 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
3206 | the list of sections determining GDB_OSABI_IRIX. | |
3207 | ||
a1ada89a JH |
3208 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
3209 | ||
3210 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
3211 | ||
86db008d JH |
3212 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
3213 | ||
3214 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
3215 | ||
72fde3df JB |
3216 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> |
3217 | ||
3218 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
3219 | ||
92d8d229 DE |
3220 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
3221 | ||
3222 | PR 17247 | |
3223 | * guile.c: #include <signal.h>. | |
3224 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
3225 | ||
3226 | Replaces the following, which is reverted. | |
3227 | ||
3228 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
3229 | ||
3230 | PR 17185 | |
3231 | * configure.ac: Add check for header gc/gc.h. | |
3232 | Add check for function setenv. | |
3233 | * configure: Regenerate. | |
3234 | * config.in: Regenerate. | |
3235 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
3236 | ||
d81412aa DE |
3237 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
3238 | ||
3239 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
3240 | with named constant. Fix style of pointer comparison. | |
3241 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
3242 | ||
a9f116cb GKB |
3243 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> |
3244 | ||
3245 | PR gdb/17035 | |
3246 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
3247 | decide whether we display the command on "show user". | |
3248 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
3249 | printing command name. | |
3250 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
3251 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
3252 | to verify whether cmd_list_element is a user-defined command. | |
3253 | ||
c75bd3a2 JK |
3254 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
3255 | ||
3256 | PR python/17355 | |
3257 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
3258 | Fix goto out of TRY_CATCH. | |
3259 | ||
faa42425 | 3260 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1a52a81c | 3261 | Tom Tromey <tromey@redhat.com> |
faa42425 DE |
3262 | |
3263 | PR 15276 | |
3264 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
3265 | $_any_caller_matches. | |
3266 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
3267 | * python/lib/gdb/function/caller_is.py: New file. | |
3268 | ||
0d41ba00 DE |
3269 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
3270 | ||
3271 | * infcmd.c (program_info): Fix typo. | |
3272 | ||
474ca4f6 SDJ |
3273 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> |
3274 | ||
3275 | PR gdb/17235 | |
3276 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
3277 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
3278 | subexpressions on SDT probes. | |
3279 | ||
ebf13736 PA |
3280 | 2014-09-04 Pedro Alves <palves@redhat.com> |
3281 | ||
3282 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
3283 | the input is only one character long. | |
3284 | ||
eb0b0463 SDJ |
3285 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> |
3286 | ||
3287 | PR fortran/17237 | |
3288 | * f-valprint.c (f_val_print): Specify the correct print option to | |
3289 | use when printing integer values. | |
3290 | ||
5ee44bfa GB |
3291 | 2014-09-04 Gary Benson <gbenson@redhat.com> |
3292 | ||
3293 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
3294 | Remove code to cope with LWPs wrapped as PIDs. | |
3295 | Add assertions to ensure no wrapped LWPs are passed. | |
3296 | ||
4875ffdb PA |
3297 | 2014-09-04 Pedro Alves <palves@redhat.com> |
3298 | ||
3299 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
3300 | from ... | |
3301 | (value_contents_copy_raw): ... here. | |
3302 | (unpack_value_bits_as_long_1): Rename back to ... | |
3303 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
3304 | 'result' parameters. Change return type to LONGEST. | |
3305 | (unpack_value_bits_as_long): Delete. | |
3306 | (unpack_value_field_as_long_1): Delete. | |
3307 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
3308 | (unpack_value_bitfield): New function. | |
3309 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
3310 | (value_fetch_lazy): Use unpack_value_bitfield. | |
3311 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
3312 | ||
5f3b99cf SS |
3313 | 2014-09-03 Sasha Smundak <asmundak@google.com> |
3314 | ||
3315 | * python/py-frame.c (frapy_read_register): New function. | |
3316 | ||
ac740bc7 JH |
3317 | 2014-09-03 James Hogan <james.hogan@imgtec.com> |
3318 | ||
3319 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
3320 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
3321 | ||
7d793aa9 SDJ |
3322 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> |
3323 | ||
3324 | PR python/16699 | |
3325 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
3326 | function. | |
3327 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
3328 | * cli/cli-decode.h (struct cmd_list_element) | |
3329 | <completer_handle_brkchars>: New field. | |
3330 | * command.h (completer_ftype_void): New typedef. | |
3331 | (set_cmd_completer_handle_brkchars): New prototype. | |
3332 | * completer.c (set_gdb_completion_word_break_characters): New | |
3333 | function. | |
3334 | (complete_line_internal): Call "completer_handle_brkchars" | |
3335 | callback from command. | |
3336 | * completer.h: Include "command.h". | |
3337 | (set_gdb_completion_word_break_characters): New prototype. | |
3338 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
3339 | (cmdpy_completer_handle_brkchars): New function. | |
3340 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
3341 | (cmdpy_init): Set completer_handle_brkchars to | |
3342 | cmdpy_completer_handle_brkchars. | |
3343 | ||
97ea6506 GB |
3344 | 2014-09-03 Gary Benson <gbenson@redhat.com> |
3345 | ||
3346 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
3347 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
3348 | Loop conditions changed to equivalent form. | |
3349 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
3350 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
3351 | ALL_DEBUG_ADDRESS_REGISTERS. | |
3352 | ||
d1437815 JB |
3353 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> |
3354 | ||
3355 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
3356 | description fix. | |
3357 | ||
9b94fcf1 DE |
3358 | 2014-09-02 Doug Evans <dje@google.com> |
3359 | ||
3360 | * typeprint.c (find_global_typedef): Fix comment. | |
3361 | ||
df7e5265 GB |
3362 | 2014-09-02 Gary Benson <gbenson@redhat.com> |
3363 | ||
3364 | * i386-nat.h: Renamed as... | |
3365 | * x86-nat.h: New file. All type, function and variable name | |
3366 | prefixes changed from "i386_" to "x86_". All references updated. | |
3367 | * i386-nat.c: Renamed as... | |
3368 | * x86-nat.c: New file. All type, function and variable name | |
3369 | prefixes changed from "i386_" to "x86_". All references updated. | |
3370 | * common/i386-xstate.h: Renamed as... | |
3371 | * common/x86-xstate.h: New file. All type, function and variable | |
3372 | name prefixes changed from "i386_" to "x86_". All references | |
3373 | updated. | |
3374 | * nat/i386-cpuid.h: Renamed as... | |
3375 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
3376 | prefixes changed from "i386_" to "x86_". All references updated. | |
3377 | * nat/i386-gcc-cpuid.h: Renamed as... | |
3378 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
3379 | name prefixes changed from "i386_" to "x86_". All references | |
3380 | updated. | |
3381 | * nat/i386-dregs.h: Renamed as... | |
3382 | * nat/x86-dregs.h: New file. All type, function and variable name | |
3383 | prefixes changed from "i386_" to "x86_". All references updated. | |
3384 | * nat/i386-dregs.c: Renamed as... | |
3385 | * nat/x86-dregs.c: New file. All type, function and variable name | |
3386 | prefixes changed from "i386_" to "x86_". All references updated. | |
3387 | ||
1c3569d4 MR |
3388 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> |
3389 | ||
3390 | * varobj.c (_initialize_varobj): Move to the end of file. | |
3391 | ||
ff55e1b5 GB |
3392 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3393 | ||
3394 | * common/common-exceptions.h: New file. | |
3395 | * common/common-exceptions.c: Likewise. | |
3396 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
3397 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
3398 | (COMMON_OBS): Add common-exceptions.o. | |
3399 | (common-exceptions.o): New rule. | |
3400 | * exceptions.h (common-exceptions.h): Include. | |
3401 | (gdb_setjmp.h): Do not include. | |
3402 | (return_reason): Moved to common-exceptions.h. | |
3403 | (enum return_reason): Likewise. | |
3404 | (RETURN_MASK): Likewise. | |
3405 | (typedef return_mask): Likewise. | |
3406 | (enum errors): Likewise. | |
3407 | (struct gdb_exception): Likewise. | |
3408 | (exceptions_state_mc_init): Likewise. | |
3409 | (exceptions_state_mc_action_iter): Likewise. | |
3410 | (exceptions_state_mc_action_iter_1): Likewise. | |
3411 | (TRY_CATCH): Likewise. | |
3412 | (throw_exception): Likewise. | |
3413 | (throw_verror): Likewise. | |
3414 | (throw_vquit): Likewise. | |
3415 | (throw_error): Likewise. | |
3416 | (throw_quit): Likewise. | |
3417 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
3418 | (enum catcher_action): Likewise. | |
3419 | (struct catcher): Likewise. | |
3420 | (current_catcher): Likewise. | |
3421 | (catcher_list_size): Likewise. | |
3422 | (exceptions_state_mc_init): Likewise. | |
3423 | (catcher_pop): Likewise. | |
3424 | (exceptions_state_mc): Likewise. | |
3425 | (exceptions_state_mc_action_iter): Likewise. | |
3426 | (exceptions_state_mc_action_iter_1): Likewise. | |
3427 | (throw_exception): Likewise. | |
3428 | (exception_messages): Likewise. | |
3429 | (exception_messages_size): Likewise. | |
3430 | (throw_it): Likewise. | |
3431 | (throw_verror): Likewise. | |
3432 | (throw_vquit): Likewise. | |
3433 | (throw_error): Likewise. | |
3434 | (throw_quit): Likewise. | |
3435 | (prepare_to_throw_exception): New function. | |
3436 | ||
e9bcb658 GB |
3437 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3438 | ||
3439 | * common/gdb_setjmp.h: New file. | |
3440 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
3441 | * configure.ac: Move sigsetjmp check... | |
3442 | * common/common.m4: ...here. | |
3443 | * configure: Regenerate. | |
3444 | * cp-support.c (SIGJMP_BUF): Delete. | |
3445 | (SIGSETJMP): Likewise. | |
3446 | (SIGLONGJMP): Likewise. | |
3447 | * exceptions.h (gdb_setjmp.h): Include. | |
3448 | (setjmp.h): Do not include. | |
3449 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
3450 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
3451 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
3452 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
3453 | from gdb_setjmp.h. | |
3454 | * exceptions.c: Likewise. | |
3455 | ||
e3180625 GB |
3456 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3457 | ||
3458 | * cleanups.h: Moved to... | |
3459 | * common/cleanups.h: New file. | |
3460 | * cleanups.c: Moved to... | |
3461 | * common/cleanups.c: New file. Include common-defs.h and | |
3462 | cleanups.h. Do not include defs.h. | |
3463 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
3464 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
3465 | (cleanups.o): New rule. | |
3466 | ||
e3d6ba5d GB |
3467 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3468 | ||
3469 | * common/errors.h (internal_warning): New declaration. | |
3470 | (internal_vwarning): Likewise. | |
3471 | * common/errors.c (internal_warning): New function. | |
3472 | * utils.h (internal_warning): Don't declare. | |
3473 | (internal_vwarning): Likewise. | |
3474 | * utils.c (internal_warning): Removed. | |
3475 | ||
075c7033 GB |
3476 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3477 | ||
3478 | * main.c (captured_main): Use warning during startup. | |
3479 | Prefix startup warning messages with command name. | |
3480 | ||
91b35fd0 GB |
3481 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3482 | ||
3483 | * main.c (captured_main): Handle usage errors with error. | |
3484 | ||
b1ec390e GB |
3485 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3486 | ||
3487 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
3488 | exit pair with a call to error. Wrap the message with _(). | |
3489 | ||
fd0ef3dd GB |
3490 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3491 | ||
3492 | * main.c (captured_main): Replace a fprintf/exit | |
3493 | pair with a call to error. Wrap the message with _(). | |
3494 | ||
e0e6bcab GB |
3495 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3496 | ||
3497 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
3498 | pairs with calls to error. Wrap the message with _(). | |
3499 | ||
0d2f5c07 GB |
3500 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3501 | ||
3502 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
3503 | and wrap_here. | |
3504 | ||
5df43998 GB |
3505 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3506 | ||
3507 | * exceptions.c (print_flush): Protect calls to | |
3508 | target_terminal_ours and wrap_here. | |
3509 | ||
2437fd32 GB |
3510 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3511 | ||
3512 | * utils.h (filtered_printing_initialized): New declaration. | |
3513 | * utils.c (abort_with_message): New function. | |
3514 | (internal_vproblem): Use abort_with_message for first level | |
3515 | recursive internal problems, and if gdb_stderr is not set up. | |
3516 | Protect calls to target_terminal_ours, begin_line and query. | |
3517 | ||
f1f58506 DE |
3518 | 2014-08-28 Doug Evans <dje@google.com> |
3519 | ||
3520 | * symtab.c (in_prologue): Move definition to better spot. | |
3521 | (skip_prologue_using_sal): Ditto. | |
3522 | ||
aab2f208 DE |
3523 | 2014-08-28 Doug Evans <dje@google.com> |
3524 | ||
3525 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
3526 | ||
6b65d1b6 YQ |
3527 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3528 | ||
3529 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
3530 | found_stack_adjust in forward scan. Remove condition check | |
3531 | on found_stack_adjust which is always true. Indent the code. | |
3532 | ||
a1b34d15 YQ |
3533 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3534 | ||
3535 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3536 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
3537 | (dwarf_decode_lines): Remove argument | |
3538 | want_line_info. Remove condition check on want_line_info. | |
3539 | Callers update. | |
3540 | ||
d5962de5 DE |
3541 | 2014-08-27 Doug Evans <dje@google.com> |
3542 | ||
3543 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
3544 | ||
9b139002 SDJ |
3545 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> |
3546 | ||
3547 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
3548 | declaration. | |
3549 | (target_terminal_save_ours): Remove macro. | |
3550 | * target-delegates.c: Regenerate. | |
3551 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
3552 | field to_terminal_save_ours. | |
3553 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
3554 | * terminal.h (gdb_save_tty_state): New declaration. | |
3555 | * inflow.c (child_terminal_save_ours): Rename to ... | |
3556 | (gdb_save_tty_state): ... this. | |
3557 | * tui/tui.c: Include terminal.h. | |
3558 | (tui_enable): Use gdb_save_tty_state instead of | |
3559 | target_terminal_save_ours. | |
3560 | (tui_disable): Likewise. | |
3561 | ||
9debeba0 DE |
3562 | 2014-08-25 Doug Evans <dje@google.com> |
3563 | ||
3564 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
3565 | Pass NULL instead of 0 for context pointer. | |
3566 | ||
428fc5fc YQ |
3567 | 2014-08-25 Yao Qi <yao@codesourcery.com> |
3568 | ||
3569 | * dwarf2read.c: Fix grammatical error. | |
3570 | ||
cdc07690 YQ |
3571 | 2014-08-24 Yao Qi <yao@codesourcery.com> |
3572 | ||
3573 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
3574 | Rename argument 'need_pc' with 'set_addrmap'. | |
3575 | (add_partial_namespace): Rename argument 'need_pc' with | |
3576 | 'set_addrmap'. | |
3577 | (add_partial_module): Likewise. | |
3578 | (add_partial_subprogram): Likewise. Update comments. | |
3579 | (dwarf2_name): Fix typo. | |
3580 | ||
a05a36a5 DE |
3581 | 2014-08-22 Doug Evans <dje@google.com> |
3582 | ||
3583 | PR 17276 | |
3584 | * dwarf2read.c (dwarf_record_line_p): New function. | |
3585 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
3586 | for the same line if any entry had a non-zero discriminator. | |
3587 | ||
252a6764 DE |
3588 | 2014-08-22 Doug Evans <dje@google.com> |
3589 | ||
3590 | * buildsym.h (record_line_ftype): New typedef. | |
3591 | (record_line): Use it. | |
3592 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
3593 | (dwarf_decode_lines_1): Call them. | |
3594 | ||
510db052 YQ |
3595 | 2014-08-22 Yao Qi <yao@codesourcery.com> |
3596 | ||
3597 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
3598 | (ctf_end): Remove code. | |
3599 | ||
22fd09ae JK |
3600 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
3601 | ||
3602 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
3603 | (linux_make_corefile_notes): call update_thread_list, protected against | |
3604 | exceptions. | |
3605 | ||
656e8868 PA |
3606 | 2014-08-21 Pedro Alves <palves@redhat.com> |
3607 | ||
3608 | * infcmd.c (attach_command): Remove comment. | |
3609 | ||
de589d04 WN |
3610 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> |
3611 | ||
3612 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
3613 | unsigned LONGEST to ULONGEST. | |
3614 | ||
2a31c623 PA |
3615 | 2014-08-20 Pedro Alves <palves@redhat.com> |
3616 | ||
3617 | * Makefile.in (check-read1): New rule. | |
3618 | ||
d36430db JB |
3619 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> |
3620 | ||
3621 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
3622 | typedef layers before checking its TYPE_DATA_LOCATION. | |
3623 | ||
000339af PA |
3624 | 2014-08-20 Pedro Alves <palves@redhat.com> |
3625 | ||
3626 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
3627 | ||
5f52445b YQ |
3628 | 2014-08-20 Yao Qi <yao@codesourcery.com> |
3629 | ||
3630 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
3631 | example. Move "*/" to a new line. | |
3632 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
3633 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
3634 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
3635 | ||
9a0dc9e3 PA |
3636 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> |
3637 | Pedro Alves <palves@redhat.com> | |
3638 | ||
3639 | PR symtab/14604 | |
3640 | PR symtab/14605 | |
3641 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
3642 | value_contents_copy_raw. | |
3643 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
3644 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
3645 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
3646 | code handle optimized out values. | |
3647 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
3648 | * d-valprint.c (dynamic_array_type): Use | |
3649 | value_bits_any_optimized_out. | |
3650 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
3651 | check_any_valid fields. | |
3652 | (check_pieced_value_bits): Delete and inline ... | |
3653 | (check_pieced_synthetic_pointer): ... here. | |
3654 | (check_pieced_value_validity): Delete. | |
3655 | (check_pieced_value_invalid): Delete. | |
3656 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
3657 | fields. | |
3658 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
3659 | (write_pieced_value): Switch to use | |
3660 | mark_value_bytes_optimized_out. | |
3661 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
3662 | of assuming the whole value is optimized out. | |
3663 | * findvar.c (read_frame_register_value): Remove special handling | |
3664 | of optimized out registers. | |
3665 | (value_from_register): Use mark_value_bytes_optimized_out. | |
3666 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
3667 | mark_value_bytes_optimized_out. | |
3668 | * jv-valprint.c (java_value_print): Adjust. | |
3669 | (java_print_value_fields): Let the common printing code handle | |
3670 | optimized out values. | |
3671 | * mips-tdep.c (mips_print_register): Remove special handling of | |
3672 | optimized out registers. | |
3673 | * opencl-lang.c (lval_func_check_validity): Delete. | |
3674 | (lval_func_check_any_valid): Delete. | |
3675 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
3676 | fields. | |
3677 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
3678 | printing code handle optimized out values. | |
3679 | * stack.c (read_frame_arg): Remove special handling of optimized | |
3680 | out values. Fetch both VAL and ENTRYVAL before comparing | |
3681 | contents. Adjust to value_available_contents_eq rename. | |
3682 | * valprint.c (valprint_check_validity) | |
3683 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
3684 | (val_print_array_elements): Adjust. | |
3685 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
3686 | (value_bits_any_optimized_out): New function. | |
3687 | (value_entirely_covered_by_range_vector): New function, factored | |
3688 | out from value_entirely_unavailable. | |
3689 | (value_entirely_unavailable): Reimplement. | |
3690 | (value_entirely_optimized_out): New function. | |
3691 | (insert_into_bit_range_vector): New function, factored out from | |
3692 | mark_value_bits_unavailable. | |
3693 | (mark_value_bits_unavailable): Reimplement. | |
3694 | (struct ranges_and_idx): New struct. | |
3695 | (find_first_range_overlap_and_match): New function, factored out | |
3696 | from value_available_contents_bits_eq. | |
3697 | (value_available_contents_bits_eq): Rename to ... | |
3698 | (value_contents_bits_eq): ... this. Check both unavailable | |
3699 | contents and optimized out contents. | |
3700 | (value_available_contents_eq): Rename to ... | |
3701 | (value_contents_eq): ... this. | |
3702 | (allocate_value_lazy): Remove reference to the old optimized_out | |
3703 | boolean. | |
3704 | (allocate_optimized_out_value): Use | |
3705 | mark_value_bytes_optimized_out. | |
3706 | (require_not_optimized_out): Adjust to check whether the | |
3707 | optimized_out vec is empty. | |
3708 | (ranges_copy_adjusted): New function, factored out from | |
3709 | value_contents_copy_raw. | |
3710 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
3711 | Assert the destination ranges aren't optimized out. | |
3712 | (value_contents_copy): Update comment, remove call to | |
3713 | require_not_optimized_out. | |
3714 | (value_contents_equal): Adjust to check whether the optimized_out | |
3715 | vec is empty. | |
3716 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
3717 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
3718 | New functions. | |
3719 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
3720 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
3721 | (value_primitive_field): Remove special handling of optimized out. | |
3722 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
3723 | regions. Use value_bits_any_optimized_out. Remove some special | |
3724 | handling for optimized out values. | |
3725 | * value.h: Add intro comment about <optimized out> and | |
3726 | <unavailable>. | |
3727 | (struct lval_funcs): Remove check_validity and check_any_valid | |
3728 | fields. | |
3729 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
3730 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
3731 | New declarations. | |
3732 | (value_bits_any_optimized_out): New declaration. | |
3733 | (value_bits_valid): Delete declaration. | |
3734 | (value_available_contents_eq): Rename to ... | |
3735 | (value_contents_eq): ... this, and extend comments. | |
3736 | ||
6694c411 JK |
3737 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
3738 | ||
3739 | Fix -fsanitize=address on unreadable inferior strings. | |
3740 | * valprint.c (val_print_string): Fix access before BUFFER. | |
3741 | ||
89a1c21a SM |
3742 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> |
3743 | ||
3744 | * target.c (target_struct_size): Remove. | |
3745 | (target_struct_allocsize): Remove. | |
3746 | (DEFAULT_ALLOCSIZE): Remove. | |
3747 | (target_ops_p): New typedef. | |
3748 | (DEF_VEC_P (target_ops_p)): New vector type. | |
3749 | (target_structs): Change type to VEC (target_ops_p). | |
3750 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
3751 | (find_default_run_target): Rewrite for loop following changes to | |
3752 | target_structs. | |
3753 | ||
cb417230 JB |
3754 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> |
3755 | ||
3756 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
3757 | Adjust code accordingly. Adjust function description comment. | |
3758 | ||
817e0957 YQ |
3759 | 2014-08-19 Yao Qi <yao@codesourcery.com> |
3760 | ||
3761 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
3762 | types. | |
3763 | ||
2974be62 AM |
3764 | 2014-08-19 Alan Modra <amodra@gmail.com> |
3765 | ||
3766 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
3767 | * config.in: Regenerate. | |
3768 | * configure: Regenerate. | |
3769 | ||
34abf635 GB |
3770 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
3771 | Gary Benson <gbenson@redhat.com> | |
3772 | ||
3773 | * common/common-debug.h: New file. | |
3774 | * common/common-debug.c: Likewise. | |
3775 | * debug.c: Likewise. | |
3776 | * Makefile.in (SFILES): Add common/common-debug.c. | |
3777 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
3778 | (COMMON_OBS): Add common-debug.o and debug.o. | |
3779 | (common-debug.o): New rule. | |
3780 | * common/common-defs.h: Include common-debug.h. | |
3781 | * common/agent.c (debug_agent_printf): New function. | |
3782 | (DEBUG_AGENT): Redefine. | |
3783 | * nat/i386-dregs.c (debug_printf): Undefine. | |
3784 | ||
f6e94d78 GB |
3785 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
3786 | ||
3787 | * common/common-defs.h: Include print-utils.h. | |
3788 | * utils.h: Do not include print-utils.h. | |
3789 | ||
9239eeab GB |
3790 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
3791 | Gary Benson <gbenson@redhat.com> | |
3792 | ||
3793 | * common/common-types.h: New file. | |
3794 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
3795 | * common/common-defs.h: Include common-types.h. | |
3796 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
3797 | (ULONGEST): Remove. | |
3798 | ||
ef87c8bb GB |
3799 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
3800 | Gary Benson <gbenson@redhat.com> | |
3801 | ||
3802 | * common/errors.h: New file. | |
3803 | * common/errors.c: Likewise. | |
3804 | * Makefile.in (SFILES): Add common/errors.c. | |
3805 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
3806 | (COMMON_OBS): Add errors.o. | |
3807 | (errors.o): New rule. | |
3808 | * common/common-defs.h: Include errors.h. | |
3809 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
3810 | Don't declare. | |
3811 | * common/common-utils.h: (malloc_failure, internal_error): | |
3812 | Likewise. | |
3813 | ||
196a707b GB |
3814 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
3815 | ||
3816 | * utils.c (internal_vproblem): Always print the message. | |
3817 | ||
ded4fc8f DE |
3818 | 2014-08-18 Doug Evans <dje@google.com> |
3819 | ||
3820 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
3821 | ||
950c97d8 JB |
3822 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3823 | ||
3824 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
3825 | Return 0 if TYPE is dynamic. | |
3826 | (print_range): Add handling of dynamic ranges. | |
3827 | ||
3cdcd0ce JB |
3828 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
3829 | Joel Brobecker <brobecker@adacore.com> | |
3830 | ||
3831 | * gdbtypes.h (struct main_type): Add field "data_location". | |
3832 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
3833 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
3834 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
3835 | a dynamic data location. | |
3836 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
3837 | (copy_recursive, copy_type): Copy the data_location information | |
3838 | when present. | |
3839 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
3840 | * value.c (value_from_contents_and_address): Add | |
3841 | DW_AT_data_location handling. | |
3842 | ||
08412b07 JB |
3843 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
3844 | Joel Brobecker <brobecker@adacore.com> | |
3845 | ||
3846 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
3847 | field "get_object_address". | |
3848 | * dwarf2expr.c (execute_stack_op): Add handling for | |
3849 | DW_OP_push_object_address. | |
3850 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
3851 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
3852 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
3853 | (dwarf_expr_get_obj_addr): New function. | |
3854 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
3855 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
3856 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
3857 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
3858 | (needs_get_obj_addr): New function. | |
3859 | (needs_frame_ctx_funcs): Add get_object_address field. | |
3860 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
3861 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
3862 | (resolve_dynamic_array): Likewise. | |
3863 | ||
84754697 JB |
3864 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3865 | ||
3866 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
3867 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
3868 | fixed value for records and unions for which some GNAT encodings | |
3869 | are present. | |
3870 | ||
da5c522f JB |
3871 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3872 | ||
3873 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
3874 | rewrite to avoid "else if" and "else" constructs. Should be | |
3875 | a no-op in practice. | |
3876 | ||
0d72a7c3 JB |
3877 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3878 | ||
3879 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
3880 | of lexical block. | |
3881 | ||
e66d4446 SC |
3882 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
3883 | ||
3884 | PR c++/17132 | |
3885 | * eval.c: Update all calls to find_overload_match. | |
3886 | * valarith.c: Likewise. | |
3887 | (value_user_defined_cpp_op, value_user_defined_op): New | |
3888 | argument NOSIDE. Update all callers. | |
3889 | * valops.c (find_overload_match): New argument NOSIDE. | |
3890 | * value.h (find_overload_match): Update signature. | |
3891 | ||
940df408 SC |
3892 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
3893 | ||
3894 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
3895 | 'items' methods instead of 'iteritems' method on dictionaries. | |
3896 | ||
699ca60a DE |
3897 | 2014-08-15 Doug Evans <dje@google.com> |
3898 | ||
3899 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
3900 | closer to use. | |
3901 | ||
37780ee5 DE |
3902 | 2014-08-15 Doug Evans <dje@google.com> |
3903 | ||
3904 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
3905 | ||
0ad93d4f DE |
3906 | 2014-08-15 Doug Evans <dje@google.com> |
3907 | ||
3908 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
3909 | ||
20d8c372 DE |
3910 | 2014-08-15 Doug Evans <dje@google.com> |
3911 | ||
3912 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
3913 | unused. | |
3914 | ||
cb039ba4 EZ |
3915 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
3916 | ||
3917 | * dcache.h: Include target.h, to avoid compile time warnings. | |
3918 | ||
eb7a547a JB |
3919 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
3920 | ||
3921 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
3922 | frame_info" partial declaration. | |
3923 | * gdbarch.h: Regenerate. | |
3924 | ||
783cecc8 YQ |
3925 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
3926 | ||
3927 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
3928 | Add parameter 'decode_for_pst_p'. Callers update. | |
3929 | ||
65c749e7 YQ |
3930 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
3931 | ||
3932 | PR build/17104 | |
3933 | * configure.ac: Use local variable 'pos'. | |
3934 | * configure: Regenerated. | |
3935 | ||
d769e349 DE |
3936 | 2014-08-11 Doug Evans <dje@google.com> |
3937 | ||
3938 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
3939 | message, it is redundant with "Reading symbols from ..." message. | |
3940 | ||
24f1235e DE |
3941 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
3942 | ||
3943 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
3944 | ||
dcd2e6ef YQ |
3945 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
3946 | ||
3947 | PR remote/9053 | |
3948 | * remote.c (remote_xfer_partial): Remove dead code. | |
3949 | ||
070bdf0b AA |
3950 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3951 | ||
3952 | * ia64-linux-tdep.c: Include "regset.h". | |
3953 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
3954 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
3955 | (ia64_linux_supply_fpregset): New function. | |
3956 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
3957 | (ia64_linux_regset_from_core_section): New function. | |
3958 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
3959 | method. | |
3960 | ||
08f9f542 AA |
3961 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3962 | ||
3963 | * m68klinux-tdep.c: Include "regset.h". | |
3964 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
3965 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
3966 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
3967 | (m68k_linux_regset_from_core_section): New function. | |
3968 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
3969 | method. | |
3970 | ||
8f1cee41 AA |
3971 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3972 | ||
3973 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
3974 | function. Move logic to... | |
3975 | (tilegx_linux_regmap): ... this new register map. | |
3976 | (tilegx_linux_regset): Refer to register map, replace supply | |
3977 | method by regcache_supply_regset, and add collect method. | |
3978 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
3979 | TILEGX_FIRST_EASY_REGNUM. | |
3980 | ||
c5741217 AA |
3981 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3982 | ||
3983 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
3984 | that calls regcache_supply_regset and handles the EPC register | |
3985 | separately. Move main logic to... | |
3986 | (score7_linux_gregmap): ... this new register map. | |
3987 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
3988 | (score7_linux_gregset): Refer to register map. Add collect method. | |
3989 | (score7_linux_regset_from_core_section): Replace | |
3990 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
3991 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
3992 | (struct regset): Delete unused forward declaraction. | |
3993 | (struct pt_regs): Delete structure definition. | |
3994 | (elf_gregset_t): Delete typedef. | |
3995 | ||
81580573 AA |
3996 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3997 | ||
3998 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
3999 | (nios2_core_regset): Add collect method. | |
4000 | ||
ba199d7d AA |
4001 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4002 | ||
4003 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
4004 | platform-independent and don't write to read-only input buffer. | |
4005 | (m32r_linux_collect_gregset): New function. | |
4006 | (m32r_linux_gregset): Add collect method. | |
4007 | ||
0006a9da AA |
4008 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4009 | ||
4010 | * hppa-linux-tdep.c (greg_map): Rename to... | |
4011 | (hppa_linux_gregmap): ... this. Also convert to | |
4012 | regcache_map_entry format. | |
4013 | (hppa_linux_supply_regset): Delete function. | |
4014 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
4015 | (hppa_linux_fpregmap): ... this new register map. | |
4016 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
4017 | register map, replace supply method by regcache_supply_regset, and | |
4018 | add collect method regcache_collect_regset. | |
4019 | ||
901e1b23 AA |
4020 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4021 | ||
4022 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
4023 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
4024 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
4025 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
4026 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
4027 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
4028 | (frv_linux_supply_gregset): Replace main logic by call to | |
4029 | regcache_supply_regset, but keep clearing gr32-gr63. | |
4030 | (frv_linux_supply_fpregset): Delete function. | |
4031 | (frv_linux_gregset): Refer to appropriate register map and add | |
4032 | regcache_collect_regset as the collect method. | |
4033 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
4034 | by regcache_supply_regset. | |
4035 | ||
1d6e7555 AA |
4036 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4037 | ||
4038 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
4039 | by call to alpha_supply_int_regs. | |
4040 | (alpha_linux_collect_gregset): New function. | |
4041 | (alpha_linux_supply_fpregset): Replace logic by call to | |
4042 | alpha_supply_fp_regs. | |
4043 | (alpha_linux_collect_fpregset): New function. | |
4044 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
4045 | ||
d4d793bf AA |
4046 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4047 | ||
4048 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
4049 | by call to regcache_collect_regset. | |
4050 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
4051 | instead of aarch64_linux_supply_gregset/_fpregset. | |
4052 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
4053 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
4054 | header file instead. | |
4055 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
4056 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
4057 | functions. Move logic to ... | |
4058 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
4059 | register maps. | |
4060 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
4061 | refer to new register maps, replace *_regset_from_core by | |
4062 | regcache_supply_regset, and also use regcache_collect_regset. | |
4063 | * aarch64-linux-tdep.h: Include "regset.h". | |
4064 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
4065 | Delete prototypes. | |
4066 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
4067 | macros, moved from C source file. | |
4068 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
4069 | variable declarations. | |
4070 | ||
99b7da5d AA |
4071 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4072 | ||
4073 | * s390-linux-nat.c: Include "regset.h". | |
4074 | (regmap_gregset): Delete macro. | |
4075 | (s390_64_regmap_gregset): New register map for | |
4076 | regcache_supply/_collect_regset. | |
4077 | (s390_64_gregset): New regset. | |
4078 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
4079 | (regmap_fpregset): Delete macro. | |
4080 | (s390_native_supply, s390_native_collect): Delete functions. | |
4081 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
4082 | handling by a call to regcache_supply/_collect_regset. | |
4083 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
4084 | _collect_regset instead of s390_native_supply/_collect. | |
4085 | (fetch_regset, store_regset): Likewise. Also change the last | |
4086 | parameter to a regset instead of a regmap. | |
4087 | (s390_linux_fetch_inferior_registers) | |
4088 | (390_linux_store_inferior_registers): Adjust last parameter in | |
4089 | calls to fetch_regset and store_regset. | |
4090 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
4091 | (s390_gregmap): ... this. Also make static const and convert to | |
4092 | regcache_map_entry format. | |
4093 | (s390x_regmap_gregset): Delete. | |
4094 | (s390_regmap_fpregset): Rename to... | |
4095 | (s390_fpregmap): ... this. Make static const and convert to | |
4096 | regcache_map_entry format. | |
4097 | (s390_regmap_upper, s390_regmap_last_break) | |
4098 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4099 | (s390_regmap_tdb): Likewise. | |
4100 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
4101 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
4102 | s390_supply_regset. | |
4103 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
4104 | (s390_last_break_regset, s390x_last_break_regset) | |
4105 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
4106 | replace s390_supply/_collect_regset by regcache_supply/ | |
4107 | _collect_regset. | |
4108 | (s390x_gregset): Delete. | |
4109 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
4110 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
4111 | (s390_regmap_fpregset, s390_regmap_last_break) | |
4112 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4113 | (s390_regmap_tdb): Delete global variable declarations. | |
4114 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
4115 | (s390x_last_break_regset, s390_system_call_regset) | |
4116 | (s390_tdb_regset): New global variable declarations. | |
4117 | ||
0b309272 AA |
4118 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4119 | ||
4120 | * regcache.c: Include "regset.h". | |
4121 | (regcache_transfer_regset): New local function. | |
4122 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
4123 | * regcache.h (struct regcache_map_entry): New structure. | |
4124 | (REGCACHE_MAP_SKIP): New enum value. | |
4125 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
4126 | ||
7fefa8d7 AA |
4127 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4128 | ||
4129 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
4130 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
4131 | (ppc_linux_collect_gregset ): Likewise. | |
4132 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
4133 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
4134 | (ppc_collect_vrregset): Likewise. | |
4135 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
4136 | Likewise. | |
4137 | ||
96c4f946 YQ |
4138 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4139 | ||
4140 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
4141 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
4142 | * remote.c (remote_read_bytes): Likewise. | |
4143 | ||
fffbe6a8 YQ |
4144 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4145 | ||
4146 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
4147 | ||
5ee8a82c YQ |
4148 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4149 | ||
4150 | PR remote/17230 | |
4151 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
4152 | TARGET_XFER_OK instead of 0. | |
4153 | ||
bb974a24 GB |
4154 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4155 | ||
4156 | * common/common-defs.h: Include errno.h. | |
4157 | * defs.h: Do not include errno.h. | |
4158 | * ada-typeprint.c: Likewise. | |
4159 | * c-typeprint.c: Likewise. | |
4160 | * core-regset.c: Likewise. | |
4161 | * corefile.c: Likewise. | |
4162 | * corelow.c: Likewise. | |
4163 | * event-loop.c: Likewise. | |
4164 | * f-typeprint.c: Likewise. | |
4165 | * gnu-nat.c: Likewise. | |
4166 | * go32-nat.c: Likewise. | |
4167 | * i386gnu-nat.c: Likewise. | |
4168 | * m2-typeprint.c: Likewise. | |
4169 | * nat/linux-btrace.c: Likewise. | |
4170 | * p-typeprint.c: Likewise. | |
4171 | * procfs.c: Likewise. | |
4172 | * remote-sim.c: Likewise. | |
4173 | * rs6000-nat.c: Likewise. | |
4174 | * target.c: Likewise. | |
4175 | * typeprint.c: Likewise. | |
4176 | * ui-file.c: Likewise. | |
4177 | * valops.c: Likewise. | |
4178 | * valprint.c: Likewise. | |
4179 | ||
6d3d12eb GB |
4180 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4181 | ||
4182 | * common/common-defs.h: Include string.h. | |
4183 | * aarch64-tdep.c: Do not include string.h. | |
4184 | * ada-exp.y: Likewise. | |
4185 | * ada-lang.c: Likewise. | |
4186 | * ada-lex.l: Likewise. | |
4187 | * ada-typeprint.c: Likewise. | |
4188 | * ada-valprint.c: Likewise. | |
4189 | * aix-thread.c: Likewise. | |
4190 | * alpha-linux-tdep.c: Likewise. | |
4191 | * alpha-mdebug-tdep.c: Likewise. | |
4192 | * alpha-nat.c: Likewise. | |
4193 | * alpha-osf1-tdep.c: Likewise. | |
4194 | * alpha-tdep.c: Likewise. | |
4195 | * alphanbsd-tdep.c: Likewise. | |
4196 | * amd64-dicos-tdep.c: Likewise. | |
4197 | * amd64-linux-tdep.c: Likewise. | |
4198 | * amd64-nat.c: Likewise. | |
4199 | * amd64-sol2-tdep.c: Likewise. | |
4200 | * amd64fbsd-tdep.c: Likewise. | |
4201 | * amd64obsd-tdep.c: Likewise. | |
4202 | * arch-utils.c: Likewise. | |
4203 | * arm-linux-nat.c: Likewise. | |
4204 | * arm-linux-tdep.c: Likewise. | |
4205 | * arm-tdep.c: Likewise. | |
4206 | * arm-wince-tdep.c: Likewise. | |
4207 | * armbsd-tdep.c: Likewise. | |
4208 | * armnbsd-nat.c: Likewise. | |
4209 | * armnbsd-tdep.c: Likewise. | |
4210 | * armobsd-tdep.c: Likewise. | |
4211 | * avr-tdep.c: Likewise. | |
4212 | * ax-gdb.c: Likewise. | |
4213 | * ax-general.c: Likewise. | |
4214 | * bcache.c: Likewise. | |
4215 | * bfin-tdep.c: Likewise. | |
4216 | * breakpoint.c: Likewise. | |
4217 | * build-id.c: Likewise. | |
4218 | * buildsym.c: Likewise. | |
4219 | * c-exp.y: Likewise. | |
4220 | * c-lang.c: Likewise. | |
4221 | * c-typeprint.c: Likewise. | |
4222 | * c-valprint.c: Likewise. | |
4223 | * charset.c: Likewise. | |
4224 | * cli-out.c: Likewise. | |
4225 | * cli/cli-cmds.c: Likewise. | |
4226 | * cli/cli-decode.c: Likewise. | |
4227 | * cli/cli-dump.c: Likewise. | |
4228 | * cli/cli-interp.c: Likewise. | |
4229 | * cli/cli-logging.c: Likewise. | |
4230 | * cli/cli-script.c: Likewise. | |
4231 | * cli/cli-setshow.c: Likewise. | |
4232 | * cli/cli-utils.c: Likewise. | |
4233 | * coffread.c: Likewise. | |
4234 | * common/agent.c: Likewise. | |
4235 | * common/buffer.c: Likewise. | |
4236 | * common/buffer.h: Likewise. | |
4237 | * common/common-utils.c: Likewise. | |
4238 | * common/filestuff.c: Likewise. | |
4239 | * common/filestuff.c: Likewise. | |
4240 | * common/format.c: Likewise. | |
4241 | * common/print-utils.c: Likewise. | |
4242 | * common/rsp-low.c: Likewise. | |
4243 | * common/signals.c: Likewise. | |
4244 | * common/vec.h: Likewise. | |
4245 | * common/xml-utils.c: Likewise. | |
4246 | * core-regset.c: Likewise. | |
4247 | * corefile.c: Likewise. | |
4248 | * corelow.c: Likewise. | |
4249 | * cp-abi.c: Likewise. | |
4250 | * cp-name-parser.y: Likewise. | |
4251 | * cp-support.c: Likewise. | |
4252 | * cp-valprint.c: Likewise. | |
4253 | * cris-tdep.c: Likewise. | |
4254 | * d-exp.y: Likewise. | |
4255 | * darwin-nat.c: Likewise. | |
4256 | * dbxread.c: Likewise. | |
4257 | * dcache.c: Likewise. | |
4258 | * demangle.c: Likewise. | |
4259 | * dicos-tdep.c: Likewise. | |
4260 | * disasm.c: Likewise. | |
4261 | * doublest.c: Likewise. | |
4262 | * dsrec.c: Likewise. | |
4263 | * dummy-frame.c: Likewise. | |
4264 | * dwarf2-frame.c: Likewise. | |
4265 | * dwarf2loc.c: Likewise. | |
4266 | * dwarf2read.c: Likewise. | |
4267 | * elfread.c: Likewise. | |
4268 | * environ.c: Likewise. | |
4269 | * eval.c: Likewise. | |
4270 | * event-loop.c: Likewise. | |
4271 | * exceptions.c: Likewise. | |
4272 | * exec.c: Likewise. | |
4273 | * expprint.c: Likewise. | |
4274 | * f-exp.y: Likewise. | |
4275 | * f-lang.c: Likewise. | |
4276 | * f-typeprint.c: Likewise. | |
4277 | * f-valprint.c: Likewise. | |
4278 | * fbsd-nat.c: Likewise. | |
4279 | * findcmd.c: Likewise. | |
4280 | * findvar.c: Likewise. | |
4281 | * fork-child.c: Likewise. | |
4282 | * frame.c: Likewise. | |
4283 | * frv-linux-tdep.c: Likewise. | |
4284 | * frv-tdep.c: Likewise. | |
4285 | * gdb.c: Likewise. | |
4286 | * gdb_bfd.c: Likewise. | |
4287 | * gdbarch.c: Likewise. | |
4288 | * gdbarch.sh: Likewise. | |
4289 | * gdbtypes.c: Likewise. | |
4290 | * gnu-nat.c: Likewise. | |
4291 | * gnu-v2-abi.c: Likewise. | |
4292 | * gnu-v3-abi.c: Likewise. | |
4293 | * go-exp.y: Likewise. | |
4294 | * go-lang.c: Likewise. | |
4295 | * go32-nat.c: Likewise. | |
4296 | * guile/guile.c: Likewise. | |
4297 | * guile/scm-auto-load.c: Likewise. | |
4298 | * hppa-hpux-tdep.c: Likewise. | |
4299 | * hppa-linux-nat.c: Likewise. | |
4300 | * hppanbsd-tdep.c: Likewise. | |
4301 | * hppaobsd-tdep.c: Likewise. | |
4302 | * i386-cygwin-tdep.c: Likewise. | |
4303 | * i386-dicos-tdep.c: Likewise. | |
4304 | * i386-linux-tdep.c: Likewise. | |
4305 | * i386-nto-tdep.c: Likewise. | |
4306 | * i386-sol2-tdep.c: Likewise. | |
4307 | * i386-tdep.c: Likewise. | |
4308 | * i386bsd-tdep.c: Likewise. | |
4309 | * i386gnu-nat.c: Likewise. | |
4310 | * i386nbsd-tdep.c: Likewise. | |
4311 | * i386obsd-tdep.c: Likewise. | |
4312 | * i387-tdep.c: Likewise. | |
4313 | * ia64-libunwind-tdep.c: Likewise. | |
4314 | * ia64-linux-nat.c: Likewise. | |
4315 | * inf-child.c: Likewise. | |
4316 | * inf-ptrace.c: Likewise. | |
4317 | * inf-ttrace.c: Likewise. | |
4318 | * infcall.c: Likewise. | |
4319 | * infcmd.c: Likewise. | |
4320 | * inflow.c: Likewise. | |
4321 | * infrun.c: Likewise. | |
4322 | * interps.c: Likewise. | |
4323 | * iq2000-tdep.c: Likewise. | |
4324 | * irix5-nat.c: Likewise. | |
4325 | * jv-exp.y: Likewise. | |
4326 | * jv-lang.c: Likewise. | |
4327 | * jv-typeprint.c: Likewise. | |
4328 | * jv-valprint.c: Likewise. | |
4329 | * language.c: Likewise. | |
4330 | * linux-fork.c: Likewise. | |
4331 | * linux-nat.c: Likewise. | |
4332 | * lm32-tdep.c: Likewise. | |
4333 | * m2-exp.y: Likewise. | |
4334 | * m2-typeprint.c: Likewise. | |
4335 | * m32c-tdep.c: Likewise. | |
4336 | * m32r-linux-nat.c: Likewise. | |
4337 | * m32r-linux-tdep.c: Likewise. | |
4338 | * m32r-rom.c: Likewise. | |
4339 | * m32r-tdep.c: Likewise. | |
4340 | * m68hc11-tdep.c: Likewise. | |
4341 | * m68k-tdep.c: Likewise. | |
4342 | * m68kbsd-tdep.c: Likewise. | |
4343 | * m68klinux-nat.c: Likewise. | |
4344 | * m68klinux-tdep.c: Likewise. | |
4345 | * m88k-tdep.c: Likewise. | |
4346 | * machoread.c: Likewise. | |
4347 | * macrocmd.c: Likewise. | |
4348 | * main.c: Likewise. | |
4349 | * mdebugread.c: Likewise. | |
4350 | * mem-break.c: Likewise. | |
4351 | * memattr.c: Likewise. | |
4352 | * memory-map.c: Likewise. | |
4353 | * mep-tdep.c: Likewise. | |
4354 | * mi/mi-cmd-break.c: Likewise. | |
4355 | * mi/mi-cmd-disas.c: Likewise. | |
4356 | * mi/mi-cmd-env.c: Likewise. | |
4357 | * mi/mi-cmd-stack.c: Likewise. | |
4358 | * mi/mi-cmd-var.c: Likewise. | |
4359 | * mi/mi-cmds.c: Likewise. | |
4360 | * mi/mi-console.c: Likewise. | |
4361 | * mi/mi-getopt.c: Likewise. | |
4362 | * mi/mi-interp.c: Likewise. | |
4363 | * mi/mi-main.c: Likewise. | |
4364 | * mi/mi-parse.c: Likewise. | |
4365 | * microblaze-rom.c: Likewise. | |
4366 | * microblaze-tdep.c: Likewise. | |
4367 | * mingw-hdep.c: Likewise. | |
4368 | * minidebug.c: Likewise. | |
4369 | * minsyms.c: Likewise. | |
4370 | * mips-irix-tdep.c: Likewise. | |
4371 | * mips-linux-tdep.c: Likewise. | |
4372 | * mips-tdep.c: Likewise. | |
4373 | * mips64obsd-tdep.c: Likewise. | |
4374 | * mipsnbsd-tdep.c: Likewise. | |
4375 | * mipsread.c: Likewise. | |
4376 | * mn10300-linux-tdep.c: Likewise. | |
4377 | * mn10300-tdep.c: Likewise. | |
4378 | * monitor.c: Likewise. | |
4379 | * moxie-tdep.c: Likewise. | |
4380 | * mt-tdep.c: Likewise. | |
4381 | * nat/linux-btrace.c: Likewise. | |
4382 | * nat/linux-osdata.c: Likewise. | |
4383 | * nat/linux-procfs.c: Likewise. | |
4384 | * nat/linux-ptrace.c: Likewise. | |
4385 | * nat/linux-waitpid.c: Likewise. | |
4386 | * nbsd-tdep.c: Likewise. | |
4387 | * nios2-linux-tdep.c: Likewise. | |
4388 | * nto-procfs.c: Likewise. | |
4389 | * nto-tdep.c: Likewise. | |
4390 | * objc-lang.c: Likewise. | |
4391 | * objfiles.c: Likewise. | |
4392 | * opencl-lang.c: Likewise. | |
4393 | * osabi.c: Likewise. | |
4394 | * osdata.c: Likewise. | |
4395 | * p-exp.y: Likewise. | |
4396 | * p-lang.c: Likewise. | |
4397 | * p-typeprint.c: Likewise. | |
4398 | * parse.c: Likewise. | |
4399 | * posix-hdep.c: Likewise. | |
4400 | * ppc-linux-nat.c: Likewise. | |
4401 | * ppc-sysv-tdep.c: Likewise. | |
4402 | * ppcfbsd-tdep.c: Likewise. | |
4403 | * ppcnbsd-tdep.c: Likewise. | |
4404 | * ppcobsd-tdep.c: Likewise. | |
4405 | * printcmd.c: Likewise. | |
4406 | * procfs.c: Likewise. | |
4407 | * prologue-value.c: Likewise. | |
4408 | * python/py-auto-load.c: Likewise. | |
4409 | * python/py-gdb-readline.c: Likewise. | |
4410 | * ravenscar-thread.c: Likewise. | |
4411 | * regcache.c: Likewise. | |
4412 | * registry.c: Likewise. | |
4413 | * remote-fileio.c: Likewise. | |
4414 | * remote-m32r-sdi.c: Likewise. | |
4415 | * remote-mips.c: Likewise. | |
4416 | * remote-notif.c: Likewise. | |
4417 | * remote-sim.c: Likewise. | |
4418 | * remote.c: Likewise. | |
4419 | * reverse.c: Likewise. | |
4420 | * rs6000-aix-tdep.c: Likewise. | |
4421 | * ser-base.c: Likewise. | |
4422 | * ser-go32.c: Likewise. | |
4423 | * ser-mingw.c: Likewise. | |
4424 | * ser-pipe.c: Likewise. | |
4425 | * ser-tcp.c: Likewise. | |
4426 | * ser-unix.c: Likewise. | |
4427 | * serial.c: Likewise. | |
4428 | * sh-tdep.c: Likewise. | |
4429 | * sh64-tdep.c: Likewise. | |
4430 | * shnbsd-tdep.c: Likewise. | |
4431 | * skip.c: Likewise. | |
4432 | * sol-thread.c: Likewise. | |
4433 | * solib-dsbt.c: Likewise. | |
4434 | * solib-frv.c: Likewise. | |
4435 | * solib-osf.c: Likewise. | |
4436 | * solib-som.c: Likewise. | |
4437 | * solib-spu.c: Likewise. | |
4438 | * solib-target.c: Likewise. | |
4439 | * solib.c: Likewise. | |
4440 | * somread.c: Likewise. | |
4441 | * source.c: Likewise. | |
4442 | * sparc-nat.c: Likewise. | |
4443 | * sparc-sol2-tdep.c: Likewise. | |
4444 | * sparc-tdep.c: Likewise. | |
4445 | * sparc64-tdep.c: Likewise. | |
4446 | * sparc64fbsd-tdep.c: Likewise. | |
4447 | * sparc64nbsd-tdep.c: Likewise. | |
4448 | * sparcnbsd-tdep.c: Likewise. | |
4449 | * spu-linux-nat.c: Likewise. | |
4450 | * spu-multiarch.c: Likewise. | |
4451 | * spu-tdep.c: Likewise. | |
4452 | * stabsread.c: Likewise. | |
4453 | * stack.c: Likewise. | |
4454 | * std-regs.c: Likewise. | |
4455 | * symfile.c: Likewise. | |
4456 | * symmisc.c: Likewise. | |
4457 | * symtab.c: Likewise. | |
4458 | * target.c: Likewise. | |
4459 | * thread.c: Likewise. | |
4460 | * tilegx-linux-nat.c: Likewise. | |
4461 | * tilegx-tdep.c: Likewise. | |
4462 | * top.c: Likewise. | |
4463 | * tracepoint.c: Likewise. | |
4464 | * tui/tui-command.c: Likewise. | |
4465 | * tui/tui-data.c: Likewise. | |
4466 | * tui/tui-disasm.c: Likewise. | |
4467 | * tui/tui-file.c: Likewise. | |
4468 | * tui/tui-layout.c: Likewise. | |
4469 | * tui/tui-out.c: Likewise. | |
4470 | * tui/tui-regs.c: Likewise. | |
4471 | * tui/tui-source.c: Likewise. | |
4472 | * tui/tui-stack.c: Likewise. | |
4473 | * tui/tui-win.c: Likewise. | |
4474 | * tui/tui-windata.c: Likewise. | |
4475 | * tui/tui-winsource.c: Likewise. | |
4476 | * typeprint.c: Likewise. | |
4477 | * ui-file.c: Likewise. | |
4478 | * ui-out.c: Likewise. | |
4479 | * user-regs.c: Likewise. | |
4480 | * utils.c: Likewise. | |
4481 | * v850-tdep.c: Likewise. | |
4482 | * valarith.c: Likewise. | |
4483 | * valops.c: Likewise. | |
4484 | * valprint.c: Likewise. | |
4485 | * value.c: Likewise. | |
4486 | * varobj.c: Likewise. | |
4487 | * vax-tdep.c: Likewise. | |
4488 | * vaxnbsd-tdep.c: Likewise. | |
4489 | * vaxobsd-tdep.c: Likewise. | |
4490 | * windows-nat.c: Likewise. | |
4491 | * xcoffread.c: Likewise. | |
4492 | * xml-support.c: Likewise. | |
4493 | * xstormy16-tdep.c: Likewise. | |
4494 | * xtensa-linux-nat.c: Likewise. | |
4495 | ||
dccbb609 GB |
4496 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4497 | ||
4498 | * common/common-defs.h: Include gdb_assert.h. | |
4499 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
4500 | * addrmap.c: Likewise. | |
4501 | * aix-thread.c: Likewise. | |
4502 | * alpha-linux-tdep.c: Likewise. | |
4503 | * alpha-mdebug-tdep.c: Likewise. | |
4504 | * alphanbsd-tdep.c: Likewise. | |
4505 | * amd64-nat.c: Likewise. | |
4506 | * amd64-tdep.c: Likewise. | |
4507 | * amd64bsd-nat.c: Likewise. | |
4508 | * amd64fbsd-nat.c: Likewise. | |
4509 | * amd64fbsd-tdep.c: Likewise. | |
4510 | * amd64nbsd-nat.c: Likewise. | |
4511 | * amd64nbsd-tdep.c: Likewise. | |
4512 | * amd64obsd-nat.c: Likewise. | |
4513 | * amd64obsd-tdep.c: Likewise. | |
4514 | * arch-utils.c: Likewise. | |
4515 | * arm-tdep.c: Likewise. | |
4516 | * armbsd-tdep.c: Likewise. | |
4517 | * auxv.c: Likewise. | |
4518 | * bcache.c: Likewise. | |
4519 | * bfin-tdep.c: Likewise. | |
4520 | * blockframe.c: Likewise. | |
4521 | * breakpoint.c: Likewise. | |
4522 | * bsd-kvm.c: Likewise. | |
4523 | * bsd-uthread.c: Likewise. | |
4524 | * buildsym.c: Likewise. | |
4525 | * c-exp.y: Likewise. | |
4526 | * c-lang.c: Likewise. | |
4527 | * charset.c: Likewise. | |
4528 | * cleanups.c: Likewise. | |
4529 | * cli-out.c: Likewise. | |
4530 | * cli/cli-decode.c: Likewise. | |
4531 | * cli/cli-dump.c: Likewise. | |
4532 | * cli/cli-logging.c: Likewise. | |
4533 | * cli/cli-script.c: Likewise. | |
4534 | * cli/cli-utils.c: Likewise. | |
4535 | * coffread.c: Likewise. | |
4536 | * common/common-utils.c: Likewise. | |
4537 | * common/queue.h: Likewise. | |
4538 | * common/signals.c: Likewise. | |
4539 | * common/vec.h: Likewise. | |
4540 | * complaints.c: Likewise. | |
4541 | * completer.c: Likewise. | |
4542 | * corelow.c: Likewise. | |
4543 | * cp-abi.c: Likewise. | |
4544 | * cp-name-parser.y: Likewise. | |
4545 | * cp-namespace.c: Likewise. | |
4546 | * cp-support.c: Likewise. | |
4547 | * cris-tdep.c: Likewise. | |
4548 | * dbxread.c: Likewise. | |
4549 | * dictionary.c: Likewise. | |
4550 | * doublest.c: Likewise. | |
4551 | * dsrec.c: Likewise. | |
4552 | * dummy-frame.c: Likewise. | |
4553 | * dwarf2-frame-tailcall.c: Likewise. | |
4554 | * dwarf2-frame.c: Likewise. | |
4555 | * dwarf2expr.c: Likewise. | |
4556 | * dwarf2loc.c: Likewise. | |
4557 | * dwarf2read.c: Likewise. | |
4558 | * eval.c: Likewise. | |
4559 | * event-loop.c: Likewise. | |
4560 | * exceptions.c: Likewise. | |
4561 | * expprint.c: Likewise. | |
4562 | * f-valprint.c: Likewise. | |
4563 | * fbsd-nat.c: Likewise. | |
4564 | * findvar.c: Likewise. | |
4565 | * frame-unwind.c: Likewise. | |
4566 | * frame.c: Likewise. | |
4567 | * frv-tdep.c: Likewise. | |
4568 | * gcore.c: Likewise. | |
4569 | * gdb-dlfcn.c: Likewise. | |
4570 | * gdb_bfd.c: Likewise. | |
4571 | * gdbarch.c: Likewise. | |
4572 | * gdbarch.sh: Likewise. | |
4573 | * gdbtypes.c: Likewise. | |
4574 | * gnu-nat.c: Likewise. | |
4575 | * gnu-v3-abi.c: Likewise. | |
4576 | * go-lang.c: Likewise. | |
4577 | * guile/scm-exception.c: Likewise. | |
4578 | * guile/scm-gsmob.c: Likewise. | |
4579 | * guile/scm-lazy-string.c: Likewise. | |
4580 | * guile/scm-math.c: Likewise. | |
4581 | * guile/scm-pretty-print.c: Likewise. | |
4582 | * guile/scm-safe-call.c: Likewise. | |
4583 | * guile/scm-utils.c: Likewise. | |
4584 | * guile/scm-value.c: Likewise. | |
4585 | * h8300-tdep.c: Likewise. | |
4586 | * hppa-hpux-nat.c: Likewise. | |
4587 | * hppa-tdep.c: Likewise. | |
4588 | * hppanbsd-tdep.c: Likewise. | |
4589 | * hppaobsd-tdep.c: Likewise. | |
4590 | * i386-darwin-nat.c: Likewise. | |
4591 | * i386-darwin-tdep.c: Likewise. | |
4592 | * i386-nto-tdep.c: Likewise. | |
4593 | * i386-tdep.c: Likewise. | |
4594 | * i386bsd-nat.c: Likewise. | |
4595 | * i386fbsd-tdep.c: Likewise. | |
4596 | * i386gnu-nat.c: Likewise. | |
4597 | * i386nbsd-tdep.c: Likewise. | |
4598 | * i386obsd-tdep.c: Likewise. | |
4599 | * i387-tdep.c: Likewise. | |
4600 | * ia64-libunwind-tdep.c: Likewise. | |
4601 | * ia64-tdep.c: Likewise. | |
4602 | * inf-ptrace.c: Likewise. | |
4603 | * inf-ttrace.c: Likewise. | |
4604 | * infcall.c: Likewise. | |
4605 | * infcmd.c: Likewise. | |
4606 | * infrun.c: Likewise. | |
4607 | * inline-frame.c: Likewise. | |
4608 | * interps.c: Likewise. | |
4609 | * jv-lang.c: Likewise. | |
4610 | * jv-typeprint.c: Likewise. | |
4611 | * linux-fork.c: Likewise. | |
4612 | * linux-nat.c: Likewise. | |
4613 | * linux-thread-db.c: Likewise. | |
4614 | * m32c-tdep.c: Likewise. | |
4615 | * m32r-linux-nat.c: Likewise. | |
4616 | * m32r-tdep.c: Likewise. | |
4617 | * m68k-tdep.c: Likewise. | |
4618 | * m68kbsd-nat.c: Likewise. | |
4619 | * m68kbsd-tdep.c: Likewise. | |
4620 | * m88k-tdep.c: Likewise. | |
4621 | * machoread.c: Likewise. | |
4622 | * macroexp.c: Likewise. | |
4623 | * macrotab.c: Likewise. | |
4624 | * maint.c: Likewise. | |
4625 | * mdebugread.c: Likewise. | |
4626 | * memory-map.c: Likewise. | |
4627 | * mep-tdep.c: Likewise. | |
4628 | * mi/mi-common.c: Likewise. | |
4629 | * microblaze-tdep.c: Likewise. | |
4630 | * mingw-hdep.c: Likewise. | |
4631 | * mips-linux-nat.c: Likewise. | |
4632 | * mips-linux-tdep.c: Likewise. | |
4633 | * mips-tdep.c: Likewise. | |
4634 | * mips64obsd-tdep.c: Likewise. | |
4635 | * mipsnbsd-tdep.c: Likewise. | |
4636 | * mn10300-linux-tdep.c: Likewise. | |
4637 | * mn10300-tdep.c: Likewise. | |
4638 | * moxie-tdep.c: Likewise. | |
4639 | * mt-tdep.c: Likewise. | |
4640 | * nat/linux-btrace.c: Likewise. | |
4641 | * nat/linux-osdata.c: Likewise. | |
4642 | * nat/linux-ptrace.c: Likewise. | |
4643 | * nat/mips-linux-watch.c: Likewise. | |
4644 | * nios2-linux-tdep.c: Likewise. | |
4645 | * nios2-tdep.c: Likewise. | |
4646 | * objc-lang.c: Likewise. | |
4647 | * objfiles.c: Likewise. | |
4648 | * obsd-nat.c: Likewise. | |
4649 | * opencl-lang.c: Likewise. | |
4650 | * osabi.c: Likewise. | |
4651 | * parse.c: Likewise. | |
4652 | * ppc-linux-nat.c: Likewise. | |
4653 | * ppc-sysv-tdep.c: Likewise. | |
4654 | * ppcfbsd-nat.c: Likewise. | |
4655 | * ppcfbsd-tdep.c: Likewise. | |
4656 | * ppcnbsd-nat.c: Likewise. | |
4657 | * ppcnbsd-tdep.c: Likewise. | |
4658 | * ppcobsd-nat.c: Likewise. | |
4659 | * ppcobsd-tdep.c: Likewise. | |
4660 | * printcmd.c: Likewise. | |
4661 | * procfs.c: Likewise. | |
4662 | * prologue-value.c: Likewise. | |
4663 | * psymtab.c: Likewise. | |
4664 | * python/py-lazy-string.c: Likewise. | |
4665 | * python/py-value.c: Likewise. | |
4666 | * regcache.c: Likewise. | |
4667 | * reggroups.c: Likewise. | |
4668 | * registry.c: Likewise. | |
4669 | * remote-sim.c: Likewise. | |
4670 | * remote.c: Likewise. | |
4671 | * rs6000-aix-tdep.c: Likewise. | |
4672 | * rs6000-tdep.c: Likewise. | |
4673 | * s390-linux-tdep.c: Likewise. | |
4674 | * score-tdep.c: Likewise. | |
4675 | * ser-base.c: Likewise. | |
4676 | * ser-mingw.c: Likewise. | |
4677 | * sh-tdep.c: Likewise. | |
4678 | * sh64-tdep.c: Likewise. | |
4679 | * solib-darwin.c: Likewise. | |
4680 | * solib-spu.c: Likewise. | |
4681 | * solib-svr4.c: Likewise. | |
4682 | * source.c: Likewise. | |
4683 | * sparc-nat.c: Likewise. | |
4684 | * sparc-sol2-tdep.c: Likewise. | |
4685 | * sparc-tdep.c: Likewise. | |
4686 | * sparc64-sol2-tdep.c: Likewise. | |
4687 | * sparc64-tdep.c: Likewise. | |
4688 | * sparc64fbsd-tdep.c: Likewise. | |
4689 | * sparc64nbsd-tdep.c: Likewise. | |
4690 | * sparc64obsd-tdep.c: Likewise. | |
4691 | * sparcnbsd-tdep.c: Likewise. | |
4692 | * sparcobsd-tdep.c: Likewise. | |
4693 | * spu-multiarch.c: Likewise. | |
4694 | * spu-tdep.c: Likewise. | |
4695 | * stabsread.c: Likewise. | |
4696 | * stack.c: Likewise. | |
4697 | * symfile.c: Likewise. | |
4698 | * symtab.c: Likewise. | |
4699 | * target-descriptions.c: Likewise. | |
4700 | * target-memory.c: Likewise. | |
4701 | * target.c: Likewise. | |
4702 | * tic6x-linux-tdep.c: Likewise. | |
4703 | * tic6x-tdep.c: Likewise. | |
4704 | * tilegx-linux-nat.c: Likewise. | |
4705 | * tilegx-tdep.c: Likewise. | |
4706 | * top.c: Likewise. | |
4707 | * tramp-frame.c: Likewise. | |
4708 | * tui/tui-out.c: Likewise. | |
4709 | * tui/tui-winsource.c: Likewise. | |
4710 | * ui-out.c: Likewise. | |
4711 | * user-regs.c: Likewise. | |
4712 | * utils.c: Likewise. | |
4713 | * v850-tdep.c: Likewise. | |
4714 | * valops.c: Likewise. | |
4715 | * value.c: Likewise. | |
4716 | * varobj.c: Likewise. | |
4717 | * vax-nat.c: Likewise. | |
4718 | * xml-syscall.c: Likewise. | |
4719 | * xml-tdesc.c: Likewise. | |
4720 | * xstormy16-tdep.c: Likewise. | |
4721 | * xtensa-linux-nat.c: Likewise. | |
4722 | * xtensa-tdep.c: Likewise. | |
4723 | ||
e76df0d0 GB |
4724 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4725 | ||
4726 | * common/common-defs.h: Include common-utils.h. | |
4727 | * defs.h: Do not include common-utils.h. | |
4728 | * common/gdb_assert.h: Likewise. | |
4729 | * darwin-nat.h: Likewise. | |
4730 | * nat/linux-btrace.c: Likewise. | |
4731 | * target/waitstatus.h: Likewise. | |
4732 | ||
4cb9c816 GB |
4733 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4734 | ||
4735 | * common/common-defs.h: Include ptid.h. | |
4736 | * defs.h: Do not include ptid.h. | |
4737 | * inferior.h: Likewise. | |
4738 | * infrun.h: Likewise. | |
4739 | * nat/linux-btrace.h: Likewise. | |
4740 | * nat/linux-osdata.h: Likewise. | |
4741 | * target/waitstatus.h: Likewise. | |
4742 | ||
3995eeee GB |
4743 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4744 | ||
4745 | * common/common-defs.h: Include gdb_locale.h. | |
4746 | * defs.h: Do not include gdb_locale.h. | |
4747 | ||
cb9f1a9b GB |
4748 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4749 | ||
4750 | * common/common-defs.h: Include gdb/signals.h. | |
4751 | * defs.h: Do not include gdb/signals.h. | |
4752 | ||
a5fceff8 GB |
4753 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4754 | ||
4755 | * common/common-defs.h: Include pathmax.h. | |
4756 | * defs.h: Do not include pathmax.h. | |
4757 | ||
b9391142 GB |
4758 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4759 | ||
4760 | * common/common-defs.h: Include libiberty.h. | |
4761 | * defs.h: Do not include libiberty.h. | |
4762 | * common/queue.h: Likewise. | |
4763 | * cp-name-parser.y: Likewise. | |
4764 | * mi/mi-cmd-catch.c: Likewise. | |
4765 | * python/python.c: Likewise. | |
4766 | ||
0e443c87 GB |
4767 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4768 | ||
4769 | * common/common-defs.h: Include ansidecl.h. | |
4770 | * defs.h: Do not include ansidecl.h. | |
4771 | * common/buffer.h: Likewise. | |
4772 | * common/common-utils.h: Likewise. | |
4773 | ||
8ebb3f56 GB |
4774 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4775 | ||
4776 | * common/common-defs.h: Include stddef.h. | |
4777 | * defs.h: Do not include stddef.h. | |
4778 | * common/common-utils.h: Likewise. | |
4779 | * amd64fbsd-nat.c: Likewise. | |
4780 | * bcache.c: Likewise. | |
4781 | * charset.c: Likewise. | |
4782 | * common/buffer.h: Likewise. | |
4783 | * common/vec.h: Likewise. | |
4784 | * i386bsd-nat.c: Likewise. | |
4785 | * nat/linux-btrace.h: Likewise. | |
4786 | * ppcfbsd-nat.c: Likewise. | |
4787 | * ppcnbsd-tdep.h: Likewise. | |
4788 | * ppcobsd-nat.c: Likewise. | |
4789 | * ppcobsd-tdep.h: Likewise. | |
4790 | * python/py-gdb-readline.c: Likewise. | |
4791 | ||
8980bdf6 GB |
4792 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4793 | ||
4794 | * common/common-defs.h: Include stdarg.h. | |
4795 | * defs.h: Do not include stdarg.h. | |
4796 | * ada-lang.c: Likewise. | |
4797 | * common/common-utils.h: Likewise. | |
4798 | * guile/scm-string.c: Likewise. | |
4799 | * guile/scm-utils.c: Likewise. | |
4800 | * m32c-tdep.c: Likewise. | |
4801 | ||
d7096f71 GB |
4802 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4803 | ||
4804 | * common/common-defs.h: Include stdlib.h. | |
4805 | * defs.h: Do not include stdlib.h. | |
4806 | * addrmap.c: Likewise. | |
4807 | * bcache.c: Likewise. | |
4808 | * common/buffer.c: Likewise. | |
4809 | * common/common-utils.c: Likewise. | |
4810 | * cp-name-parser.y: Likewise. | |
4811 | * go32-nat.c: Likewise. | |
4812 | * mn10300-linux-tdep.c: Likewise. | |
4813 | * nat/linux-osdata.c: Likewise. | |
4814 | * tui/tui.c: Likewise. | |
4815 | * windows-nat.c: Likewise. | |
4816 | ||
d02f550d GB |
4817 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4818 | ||
4819 | * common/common-defs.h: Include stdio.h. | |
4820 | * defs.h: Do not include stdio.h. | |
4821 | * ada-lang.c: Likewise. | |
4822 | * common/buffer.c: Likewise. | |
4823 | * common/common-utils.c: Likewise. | |
4824 | * cp-name-parser.y: Likewise. | |
4825 | * gnu-nat.c: Likewise. | |
4826 | * go32-nat.c: Likewise. | |
4827 | * i386gnu-nat.c: Likewise. | |
4828 | * proc-api.c: Likewise. | |
4829 | * proc-events.c: Likewise. | |
4830 | * proc-flags.c: Likewise. | |
4831 | * proc-why.c: Likewise. | |
4832 | * python/python-internal.h: Likewise. | |
4833 | * target-memory.c: Likewise. | |
4834 | * tui/tui-io.c: Likewise. | |
4835 | * tui/tui.c: Likewise. | |
4836 | ||
b6d7a4bf SM |
4837 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
4838 | ||
4839 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
4840 | (scan_dyntag_auxv): Same. | |
4841 | ||
af19829b YQ |
4842 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
4843 | ||
4844 | * amd64-linux-nat.c: Remove duplicated include | |
4845 | "x86-linux-nat.h". | |
4846 | * i386-linux-nat.c: Likewise. | |
4847 | ||
8e07a239 YQ |
4848 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
4849 | ||
4850 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
4851 | operand" with "Special opcode" in comments. | |
4852 | ||
7bfe8241 GB |
4853 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
4854 | ||
4855 | * interps.c (initialize_interps): Remove prototype. | |
4856 | (interpreter_initialized): Remove static global. | |
4857 | (interp_add): Do not call initialize_interps. | |
4858 | (initialize_interps): Remove function. | |
4859 | ||
d6c95504 GB |
4860 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
4861 | ||
4862 | * utils.c (vwarning): Remove spurious va_end. | |
4863 | ||
241fd515 AM |
4864 | 2014-08-05 Alan Modra <amodra@gmail.com> |
4865 | ||
4866 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
4867 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
4868 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
4869 | (read_unwind_info): Use size_t for some locals. | |
4870 | * jit.c (finalize_symtab): Likewise. | |
4871 | * utils.c (hashtab_obstack_allocate): Likewise. | |
4872 | * symmisc.c (print_objfile_statistics): Update format strings. | |
4873 | ||
dc304a94 JK |
4874 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
4875 | ||
4876 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
4877 | (Changes in GDB 7.8): ... here. | |
4878 | ||
3cecbbbe TT |
4879 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
4880 | ||
4881 | * target.c (set_targetdebug): New function. | |
4882 | (initialize_targets): Pass set_targetdebug when creating "set | |
4883 | debug target". | |
4884 | ||
6908c509 JB |
4885 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
4886 | ||
4887 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
4888 | if detecting a variable-sized field that is not the last field. | |
4889 | Fix struct type length computation. | |
4890 | ||
53e8f97d JB |
4891 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
4892 | ||
4893 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
4894 | Add debug trace. | |
4895 | ||
e068c55d JB |
4896 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
4897 | ||
4898 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
4899 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
4900 | ||
4d4ca2a1 DE |
4901 | 2014-07-31 Doug Evans <dje@google.com> |
4902 | ||
4903 | * inflow.c (child_terminal_inferior): Add comment. | |
4904 | (child_terminal_ours_for_output): Add comment. | |
4905 | (child_terminal_ours): Add comment. | |
4906 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
4907 | (linux_nat_terminal_ours): Add comment. | |
4908 | ||
462f517e GB |
4909 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
4910 | ||
4911 | * common/btrace-common.h: Do not include defs.h or server.h. | |
4912 | * nat/mips-linux-watch.h: Likewise. | |
4913 | * gdb-dlfcn.h: Do not include defs.h. | |
4914 | * tracefile.h: Likewise. | |
4915 | ||
74228e77 RM |
4916 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
4917 | ||
4918 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
4919 | ||
014f9477 TT |
4920 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4921 | ||
4922 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
4923 | * corelow.c (core_open): Constify. | |
4924 | * ctf.c (ctf_open): Constify. | |
4925 | * dbug-rom.c (dbug_open): Constify. | |
4926 | * exec.c (exec_open): Constify. | |
4927 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
4928 | * microblaze-rom.c (picobug_open): Constify. | |
4929 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
4930 | Constify. | |
4931 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
4932 | * record-btrace.c (record_btrace_open): Constify. | |
4933 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
4934 | (record_full_open): Constify. | |
4935 | * remote-m32r-sdi.c (m32r_open): Constify. | |
4936 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
4937 | (rockhopper_open, lsi_open): Constify. | |
4938 | * remote-sim.c (gdbsim_open): Constify. | |
4939 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
4940 | Constify. | |
4941 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
4942 | * tracefile-tfile.c (tfile_open): Constify. | |
4943 | ||
e799154c TT |
4944 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4945 | ||
4946 | * breakpoint.c (map_breakpoint_numbers): Update. | |
4947 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
4948 | (get_number_const): New function. | |
4949 | (get_number): Rewrite using get_number_const. | |
4950 | (init_number_or_range): Make "string" const. | |
4951 | (number_is_in_list): Make "list" const. | |
4952 | * cli/cli-utils.h (get_number_const): Declare. | |
4953 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
4954 | (init_number_or_range, number_is_in_list): Update. | |
4955 | * printcmd.c (map_display_numbers): Update. | |
4956 | * value.c (value_from_history_ref): Constify. | |
4957 | * value.h (value_from_history_ref): Update. | |
4958 | ||
5f08566b TT |
4959 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4960 | ||
4961 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
4962 | (specify_exec_file_hook): Constify. | |
4963 | * exec.c (exec_file_attach): Make "filename" const. | |
4964 | * gdbcore.h (deprecated_exec_file_display_hook) | |
4965 | (specify_exec_file_hook, exec_file_attach): Constify. | |
4966 | * main.c (captured_main): Use catch_command_errors_const. | |
4967 | ||
8981c758 TT |
4968 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4969 | ||
4970 | * target.c (open_target): New function. | |
4971 | (add_target_with_completer, add_deprecated_target_alias): Use | |
4972 | set_cmd_sfunc, set_cmd_context. | |
4973 | (debug_to_open): Remove. | |
4974 | (setup_target_debug): Update. | |
4975 | ||
a1c7835a YQ |
4976 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
4977 | ||
4978 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
4979 | comments. | |
4980 | * parse.c (exp_iterate): Update comments. | |
4981 | ||
976411d6 GB |
4982 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
4983 | ||
4984 | * common/common-defs.h: New file. | |
4985 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
4986 | * defs.h: Include common-defs.h. | |
4987 | Do not include config.h or build-gnulib/config.h. | |
4988 | ||
5d4848a4 GB |
4989 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
4990 | ||
4991 | * common/common-utils.h: Do not include config.h. | |
4992 | * nat/linux-btrace.h: Likewise. | |
4993 | ||
d41f6d8e GB |
4994 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
4995 | ||
4996 | * btrace.c: Include defs.h. | |
4997 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
4998 | * nat/mips-linux-watch.c: Likewise. | |
4999 | ||
84202f9c TT |
5000 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
5001 | ||
5002 | * target.c (target_is_pushed): Simplify. | |
5003 | ||
2530441c JB |
5004 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
5005 | ||
5006 | GDB 7.8 released. | |
5007 | ||
7e09a223 YQ |
5008 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
5009 | ||
5010 | PR gdb/17206 | |
5011 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
5012 | ||
7ebdbe92 DE |
5013 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
5014 | ||
5015 | PR guile/17203 | |
5016 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
5017 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
5018 | parameters. | |
5019 | ||
f347ffc9 WN |
5020 | 2014-07-28 Will Newton <will.newton@linaro.org> |
5021 | ||
5022 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
5023 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
5024 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
5025 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
5026 | (THUMB2_EABI_SYSCALL): Likewise. | |
5027 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
5028 | struct tramp_frame. | |
5029 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
5030 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
5031 | ||
37c5f1f7 DE |
5032 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
5033 | ||
5034 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
5035 | ||
0c3abbc7 DE |
5036 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
5037 | ||
5038 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
5039 | ||
e76c5d17 DE |
5040 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
5041 | Doug Evans <xdje42@gmail.com> | |
5042 | ||
5043 | PR guile/17146 | |
5044 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
5045 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
5046 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
5047 | then disable guile support. | |
5048 | * configure: Regenerate. | |
5049 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
5050 | GUILE_FILE_LIST. | |
5051 | (GUILE_COMPILED_FILES): New variable. | |
5052 | (GUILE_FILES) Update. | |
5053 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
5054 | (stamp-guile): Compile scm files. | |
5055 | * guile/guile.c (boot_guile_support): New function. | |
5056 | (standard_throw_args_p): New function. | |
5057 | (print_standard_throw_error, print_throw_error): New functions. | |
5058 | (handle_boot_error): New function. | |
5059 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
5060 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
5061 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
5062 | ||
186fcde0 DE |
5063 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
5064 | Doug Evans <xdje42@gmail.com> | |
5065 | ||
5066 | PR guile/17146 | |
5067 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
5068 | * guile/lib/gdb/support.scm: New file. | |
5069 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
5070 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
5071 | All uses updated. | |
5072 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
5073 | All uses updated. | |
5074 | (%assert-type): Ditto, and renamed to assert-type. | |
5075 | (%exception-print-style): Delete. | |
5076 | ||
4df42755 DE |
5077 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5078 | ||
5079 | PR build/17105 | |
5080 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
5081 | * configure: Regenerate. | |
5082 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
5083 | PYTHON_FILES. | |
5084 | (PYTHON_FILES): New variable. | |
5085 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
5086 | (GUILE_FILES): New variable. | |
5087 | (stamp-python, install-python, uninstall-python): Handle empty | |
5088 | file list. | |
5089 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
5090 | ||
ee7333ae DE |
5091 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5092 | ||
5093 | PR guile/17177 | |
5094 | * guile/lib/gdb.scm (pretty-printers): Export. | |
5095 | (set-pretty-printers!): Export. | |
5096 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
5097 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
5098 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
5099 | (pretty_printer_list_var): Delete. | |
5100 | (pretty_printer_list): New static global. | |
5101 | (gdbscm_pretty_printers): New function. | |
5102 | (gdbscm_set_pretty_printers_x): New function. | |
5103 | (ppscm_find_pretty_printer_from_gdb): Update. | |
5104 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
5105 | (gdbscm_initialize_pretty_printers): Update. | |
5106 | ||
74edf516 DE |
5107 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5108 | ||
5109 | PR 17185 | |
5110 | * configure.ac: Add check for header gc/gc.h. | |
5111 | Add check for function setenv. | |
5112 | * configure: Regenerate. | |
5113 | * config.in: Regenerate. | |
5114 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
5115 | ||
d54398a7 MR |
5116 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
5117 | ||
5118 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
5119 | variation in gdbarch matching. | |
5120 | ||
ab16fce8 TT |
5121 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
5122 | ||
5123 | * exec.c (using_exec_ops): Remove. | |
5124 | (exec_close_1): Update. Remove extraneous block, reindent. | |
5125 | (add_target_sections): Use target_is_pushed. | |
5126 | ||
88056fbb PA |
5127 | 2014-07-25 Pedro Alves <palves@redhat.com> |
5128 | ||
5129 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
5130 | * monitor.c (monitor_create_inferior): Likewise. | |
5131 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
5132 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
5133 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
5134 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
5135 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
5136 | ||
70509625 PA |
5137 | 2014-07-25 Pedro Alves <palves@redhat.com> |
5138 | ||
5139 | * NEWS: Mention signal passing and "signal" command changes. | |
5140 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
5141 | comment. | |
5142 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
5143 | call. | |
5144 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
5145 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
5146 | (jump_command): Adjust clear_proceed_status call. | |
5147 | (signal_command): Warn if other thread that are resumed have | |
5148 | signals that will be delivered. Adjust clear_proceed_status call. | |
5149 | (until_next_command, finish_command) | |
5150 | (proceed_after_attach_callback, attach_command_post_wait) | |
5151 | (attach_command): Adjust clear_proceed_status call. | |
5152 | * infrun.c (proceed_after_vfork_done): Likewise. | |
5153 | (proceed_after_attach_callback): Adjust comment. | |
5154 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
5155 | state. | |
5156 | (clear_proceed_status_callback): Delete. | |
5157 | (clear_proceed_status): New 'step' parameter. Only clear the | |
5158 | proceed status of threads the command being prepared is about to | |
5159 | resume. | |
5160 | (proceed): If passed in an explicit signal, override stop_signal | |
5161 | with it. Don't pass the last stop signal to the thread we're | |
5162 | resuming. | |
5163 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
5164 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
5165 | be passed. | |
5166 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
5167 | (user_visible_resume_ptid): Add comment. | |
5168 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
5169 | signal is in pass state. | |
5170 | * remote.c (append_pending_thread_resumptions): Likewise. | |
5171 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
5172 | ||
d8be2939 TT |
5173 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
5174 | ||
5175 | * target.h (target_stopped_data_address) | |
5176 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
5177 | parentheses. | |
5178 | ||
7d0d9d2b PL |
5179 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
5180 | ||
5181 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
5182 | comments. | |
5183 | (avr_pointer_to_address): Likewise. | |
5184 | ||
e9e7f724 TT |
5185 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5186 | ||
5187 | * monitor.c (compile_pattern): Update. | |
5188 | * target.h (struct target_ops) <to_shortname, to_longname, | |
5189 | to_doc>: Now const. | |
5190 | ||
1947513d TT |
5191 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5192 | ||
5193 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
5194 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
5195 | (add_info_alias, add_com): Make "doc" const. | |
5196 | (print_doc_line): Make "str" const. | |
5197 | (delete_cmd): Update. | |
5198 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
5199 | (print_doc_line): Update. | |
5200 | * cli/cli-script.c (document_command): Update. | |
5201 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
5202 | (add_com, add_info, add_info_alias): Update. | |
5203 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5204 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5205 | ||
64e61d29 TT |
5206 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5207 | ||
5208 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
5209 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
5210 | (help_cmd_list): Constify. | |
5211 | (lookup_cmd): Update. | |
5212 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
5213 | const. | |
5214 | (help_cmd_list, apropos_cmd): Update. | |
5215 | * cli/cli-script.c (show_user): Update. | |
5216 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
5217 | * cli/cli-setshow.h (cmd_show_list): Update. | |
5218 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
5219 | (cmd_show_list): Update. | |
5220 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5221 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5222 | ||
429e55ea TT |
5223 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5224 | ||
5225 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
5226 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
5227 | const. | |
5228 | * command.h (deprecate_cmd): Update. | |
5229 | * maint.c (maintenance_do_deprecate): Add casts. | |
5230 | ||
64669f3b TT |
5231 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5232 | ||
5233 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
5234 | * cli/cli-decode.h (help_cmd): Update. | |
5235 | ||
d3d3328b TT |
5236 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5237 | ||
5238 | * stack.c (up_silently_base, down_silently_base): Make argument | |
5239 | const. | |
5240 | ||
414842dc TT |
5241 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5242 | ||
5243 | * solib.c (solib_add): Make "pattern" const. | |
5244 | * solib.h (solib_add): Update. | |
5245 | ||
baa336ce TT |
5246 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5247 | ||
5248 | * remote.c (remote_serial_open, print_packet, putpkt) | |
5249 | (putpkt_binary): Constify. | |
5250 | * remote.h (putpkt): Update. | |
5251 | ||
5a19e2d0 TT |
5252 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5253 | ||
5254 | * monitor.c (monitor_open): Make "args" const. | |
5255 | * monitor.h (monitor_open): Update. | |
5256 | ||
fc4baa5e TT |
5257 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5258 | ||
5259 | * maint.c (match_bfd_flags): Make "string" const. | |
5260 | (print_bfd_section_info): Remove casts. | |
5261 | (print_objfile_section_info): Make "string" const. | |
5262 | ||
0d5f0dbe TT |
5263 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5264 | ||
5265 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
5266 | * inf-child.h (inf_child_open_target): Update. | |
5267 | ||
41c77899 TT |
5268 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5269 | ||
5270 | * environ.c (unset_in_environ): Make "var" const. | |
5271 | * environ.h (unset_in_environ): Update. | |
5272 | ||
93db0d79 TT |
5273 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5274 | ||
5275 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
5276 | Make "cmd" const. | |
5277 | (scan_filename_with_cleanup): Likewise. | |
5278 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
5279 | Make arguments const. | |
5280 | (restore_command): Update. | |
5281 | ||
36d6eb95 PA |
5282 | 2014-07-24 Pedro Alves <palves@redhat.com> |
5283 | ||
5284 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
5285 | ||
8009206a TT |
5286 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5287 | Gary Benson <gbenson@redhat.com> | |
5288 | ||
5289 | * nat/linux-ptrace.c (additional_flags): New global. | |
5290 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
5291 | additional_flags; don't check GDBSERVER. | |
5292 | (linux_ptrace_set_additional_flags): New function. | |
5293 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
5294 | Declare. | |
5295 | * linux-nat.c (_initialize_linux_nat): Call | |
5296 | linux_ptrace_set_additional_flags. | |
5297 | ||
a7068b60 TT |
5298 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5299 | ||
5300 | * make-target-delegates (munge_type, write_debugmethod): New | |
5301 | functions. | |
5302 | (debug_names): New global. | |
5303 | ($TARGET_DEBUG_PRINTER): New global. | |
5304 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
5305 | name. | |
5306 | Write debug methods. Generate init_debug_target. | |
5307 | * target-debug.h: New file. | |
5308 | * target-delegates.c: Rebuild. | |
5309 | * target.c: Include target-debug.h. | |
5310 | (debug_target): Hoist definition. | |
5311 | (target_kill, target_get_section_table, target_memory_map) | |
5312 | (target_flash_erase, target_flash_done, target_detach) | |
5313 | (target_disconnect, target_wait, target_resume) | |
5314 | (target_pass_signals, target_program_signals, target_follow_fork) | |
5315 | (target_mourn_inferior, target_search_memory) | |
5316 | (target_thread_address_space, target_close) | |
5317 | (target_find_new_threads, target_core_of_thread) | |
5318 | (target_verify_memory, target_insert_mask_watchpoint) | |
5319 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
5320 | (debug_to_post_attach, debug_to_prepare_to_store) | |
5321 | (debug_to_files_info, debug_to_insert_breakpoint) | |
5322 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
5323 | (debug_to_region_ok_for_hw_watchpoint) | |
5324 | (debug_to_can_accel_watchpoint_condition) | |
5325 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
5326 | (debug_to_watchpoint_addr_within_range) | |
5327 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
5328 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
5329 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
5330 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
5331 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
5332 | (debug_to_load, debug_to_post_startup_inferior) | |
5333 | (debug_to_insert_fork_catchpoint) | |
5334 | (debug_to_remove_fork_catchpoint) | |
5335 | (debug_to_insert_vfork_catchpoint) | |
5336 | (debug_to_remove_vfork_catchpoint) | |
5337 | (debug_to_insert_exec_catchpoint) | |
5338 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
5339 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
5340 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
5341 | (setup_target_debug): Call init_debug_target. | |
5342 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
5343 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
5344 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
5345 | ||
2c51604d GB |
5346 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
5347 | ||
5348 | * exceptions.h (throw_vfatal): Renamed to... | |
5349 | (throw_vquit): New declaration. | |
5350 | (throw_quit): Likewise. | |
5351 | * exceptions.c (throw_vfatal): Renamed to... | |
5352 | (throw_vquit): New function. | |
5353 | (throw_quit): Likewise. | |
5354 | (throw_error): Call throw_verror rather than throw_it. | |
5355 | * utils.h (vfatal): Removed. | |
5356 | (fatal): Likewise. | |
5357 | * utils.c (vfatal): Removed. | |
5358 | (fatal): Likewise. | |
5359 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
5360 | (quit): Replaced calls to fatal with calls to throw_quit. | |
5361 | ||
34211963 ME |
5362 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
5363 | ||
5364 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
5365 | target_read_code. | |
5366 | ||
a52b4d3e ME |
5367 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
5368 | ||
5369 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
5370 | less than zero in conditional expression. | |
5371 | ||
a8bdc56b TT |
5372 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
5373 | ||
5374 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
5375 | ($INTRO_PART): Don't match whitespace. | |
5376 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
5377 | argument matching. | |
5378 | ($METHOD): Add $METHOD_TRAILER. | |
5379 | (trim): Rewrite. | |
5380 | (scan_target_h): New sub. | |
5381 | Change main loop not to collect state. | |
5382 | * target-delegates.c: Rebuild. | |
5383 | ||
91b52240 GB |
5384 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
5385 | ||
5386 | * cp-support.c (gdb_demangle): Fix build on systems without | |
5387 | sigaltstack. | |
5388 | ||
45326f6f JK |
5389 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5390 | ||
5391 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
5392 | for reference entry value target data value. | |
5393 | ||
e214cf6c JK |
5394 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5395 | ||
5396 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
5397 | value_available_contents_eq. | |
5398 | ||
bddbbedd PA |
5399 | 2014-07-22 Pedro Alves <palves@redhat.com> |
5400 | ||
5401 | * value.c (allocate_optimized_out_value): Don't mark value as | |
5402 | non-lazy. | |
5403 | ||
45c71484 JW |
5404 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
5405 | ||
5406 | * MAINTAINERS (Write After Approval): Update my email address. | |
5407 | ||
9597b22a DE |
5408 | 2014-07-20 Doug Evans <dje@google.com> |
5409 | ||
5410 | PR server/17147 | |
5411 | * remote.c (putpkt_binary): Add text to error message. | |
5412 | ||
91101fe5 YQ |
5413 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5414 | ||
5415 | * eval.c: Remove "Chill" from comments. | |
5416 | * gdbtypes.h: Likewise. | |
5417 | * symtab.h: Likewise. | |
5418 | ||
c9402c95 YQ |
5419 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5420 | ||
5421 | * std-operator.def: Update comments to TERNOP_SLICE. | |
5422 | ||
ae8fddda YQ |
5423 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5424 | ||
5425 | * std-operator.def: Remove BINOP_RANGE. | |
5426 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5427 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5428 | * eval.c (init_array_element): Remove dead code. | |
5429 | (evaluate_subexp_standard): Likewise. | |
5430 | ||
9c816640 YQ |
5431 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5432 | ||
5433 | * std-operator.def: Remove BINOP_IN. | |
5434 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5435 | * eval.c (evaluate_subexp_standard): Likewise. | |
5436 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5437 | ||
164224e9 ME |
5438 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
5439 | ||
5440 | * microblaze-tdep.c (microblaze_register_names): Add | |
5441 | the rshr and rslr register names. | |
5442 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
5443 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
5444 | Use of tdesc_numbered_register. Use of | |
5445 | microblaze_register_g_packet_guesses. Use of | |
5446 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
5447 | (microblaze_register_g_packet_guesses): New. | |
5448 | * microblaze-tdep.h (microblaze_reg_num): Add | |
5449 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
5450 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
5451 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
5452 | * features/microblaze-core.xml: New file. | |
5453 | * features/microblaze-stack-protect.xml: New file. | |
5454 | * features/microblaze-with-stack-protect.c: New file. | |
5455 | * features/microblaze-with-stack-protect.xml: New file. | |
5456 | * features/microblaze.xml: New file. | |
5457 | * features/microblaze.c: New file. | |
5458 | * features/Makefile (microblaze-with-stack-protect): Add | |
5459 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
5460 | * regformats/microblaze-with-stack-protect.dat: New file. | |
5461 | * regformats/microblaze.dat: New file. | |
5462 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
5463 | ||
e8b2341c TT |
5464 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5465 | ||
5466 | * exec.c (exec_ops): Now static. | |
5467 | * exec.h (exec_ops): Don't declare. | |
5468 | ||
44e89118 TT |
5469 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5470 | ||
5471 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
5472 | to find_target_beneath. | |
5473 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
5474 | find_target_beneath. | |
5475 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
5476 | ||
b0ed115f TT |
5477 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5478 | ||
5479 | PR gdb/17130: | |
5480 | * utils.c (quit): Use target_supports_terminal_ours. | |
5481 | * target.h (target_supports_terminal_ours): Declare. | |
5482 | * target.c (target_supports_delete_record): Don't check | |
5483 | to_delete_record against NULL. | |
5484 | (target_supports_terminal_ours): New function. | |
5485 | ||
e75fdfca TT |
5486 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5487 | ||
5488 | PR gdb/17130: | |
5489 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
5490 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
5491 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
5492 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
5493 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
5494 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
5495 | delegation. | |
5496 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
5497 | (record_btrace_prepare_to_store, record_btrace_resume) | |
5498 | (record_btrace_wait, record_btrace_find_new_threads) | |
5499 | (record_btrace_thread_alive): Likewise. | |
5500 | * procfs.c (procfs_xfer_partial): Always delegate. | |
5501 | * corelow.c (core_xfer_partial): Always delegate. | |
5502 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
5503 | ||
83814951 TT |
5504 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5505 | ||
5506 | * exec.c (exec_make_note_section): Move earlier. | |
5507 | ||
b8b8facf DE |
5508 | 2014-07-17 Doug Evans <dje@google.com> |
5509 | ||
74b49205 | 5510 | PR gdb/17170 |
b8b8facf DE |
5511 | * maint.c (count_symtabs_and_blocks): Handle NULL |
5512 | current_program_space. | |
5513 | (report_command_stats): Check global enabled flag in addition to | |
5514 | recorded enabled flag. | |
5515 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
5516 | ||
69ff6be5 PA |
5517 | 2014-07-16 Pedro Alves <palves@redhat.com> |
5518 | ||
5519 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
5520 | ||
252db1b5 TT |
5521 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5522 | ||
5523 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
5524 | comment. | |
5525 | ||
a432721e TT |
5526 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5527 | ||
5528 | * target-delegates.c: Rebuild. | |
5529 | ||
487d9753 PL |
5530 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
5531 | ||
5532 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
5533 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
5534 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
5535 | (avr_pointer_to_address): Likewise. | |
5536 | (avr_address_class_type_flags): New function. | |
5537 | (avr_address_class_type_flags_to_name): Likewise. | |
5538 | (avr_address_class_name_to_type_flags): Likewise. | |
5539 | (avr_gdbarch_init): Set address_class_type_flags, | |
5540 | address_class_type_flags_to_name and | |
5541 | address_class_name_to_type_flags. | |
5542 | ||
57745c90 PA |
5543 | 2014-07-15 Pedro Alves <palves@redhat.com> |
5544 | ||
5545 | * linux-nat.c (kill_callback): Save errno and work with saved | |
5546 | copy. | |
5547 | ||
2d40be18 SM |
5548 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
5549 | ||
5550 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
5551 | ||
572f6555 EBM |
5552 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
5553 | ||
5554 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
5555 | breakpoint support correctly. | |
5556 | ||
cc1c52ad PA |
5557 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5558 | ||
5559 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
5560 | ||
1e973570 PA |
5561 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5562 | ||
5563 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
5564 | catch_errors. Don't re-enable stdin or notify observers where, | |
5565 | and rethrow error. | |
5566 | (fetch_inferior_event_wrapper): Delete. | |
5567 | ||
93d6eb10 PA |
5568 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5569 | ||
5570 | PR gdb/17072 | |
5571 | * top.c: Include "inf-loop.h". | |
5572 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
5573 | field. | |
5574 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
5575 | was async before. | |
5576 | (gdb_readline_wrapper): Store whether the target is async, and | |
5577 | make it sync. | |
5578 | ||
0017922d PA |
5579 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5580 | ||
5581 | PR gdb/17072 | |
5582 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
5583 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
5584 | the input handler callback. | |
5585 | ||
94696ad3 PA |
5586 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5587 | ||
5588 | PR gdb/17072 | |
5589 | * main.c: Include event-top.h. | |
5590 | (handle_command_errors): New function. | |
5591 | (catch_command_errors, catch_command_errors_const): Use it. | |
5592 | ||
9d1e69a2 PA |
5593 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5594 | ||
5595 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
5596 | Moved to main.c. | |
5597 | * exceptions.h (catch_command_errors_ftype) | |
5598 | (catch_command_errors_const_ftype): Moved to main.c. | |
5599 | (catch_command_errors, catch_command_errors_const): Delete | |
5600 | declarations. | |
5601 | * main.c (catch_command_errors_ftype) | |
5602 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
5603 | (catch_command_errors, catch_command_errors_const)): Moved here | |
5604 | from exceptions.c and make static. | |
5605 | ||
feefc97b PA |
5606 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5607 | ||
5608 | * exceptions.c (print_any_exception): Delete. | |
5609 | (catch_exceptions_with_msg): Use exception_print instead of | |
5610 | print_any_exception. | |
5611 | (catch_errors): Use exception_fprintf instead of | |
5612 | print_any_exception. | |
5613 | (catch_command_errors, catch_command_errors_const): Use | |
5614 | exception_print instead of print_any_exception. | |
5615 | ||
c933f875 PA |
5616 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5617 | ||
5618 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
5619 | running the inferior call. | |
5620 | ||
feb6f816 PA |
5621 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5622 | ||
5623 | * value.c (value_contents_equal): Delete function. | |
5624 | * value.h (value_contents_equal): Delete declaration. | |
5625 | ||
d98b7a16 TT |
5626 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
5627 | ||
5628 | PR exp/17106: | |
5629 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
5630 | is_dynamic_type. | |
5631 | (is_dynamic_type): Rewrite. | |
5632 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
5633 | (resolve_dynamic_struct): Likewise. | |
5634 | (resolve_dynamic_type_internal): New function, from | |
5635 | resolve_dynamic_type. | |
5636 | (resolve_dynamic_type): Rewrite. | |
5637 | ||
548740d6 TT |
5638 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
5639 | ||
5640 | * target.c (target_require_runnable): Also check record_stratum. | |
5641 | Update comment. | |
5642 | ||
808f7ab1 YQ |
5643 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
5644 | ||
5645 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
5646 | thumb_instruction_restores_sp return true. | |
5647 | ||
540314bd YQ |
5648 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
5649 | ||
5650 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
5651 | (thumb_in_function_epilogue_p): Call | |
5652 | thumb_instruction_restores_sp. | |
5653 | ||
1db01f22 YQ |
5654 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
5655 | ||
5656 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
5657 | 'add sp, #imm'. | |
5658 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
5659 | ||
3116063b GB |
5660 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5661 | ||
5662 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
5663 | (regset.h): Likewise. | |
5664 | (nat/linux-btrace.h): Likewise. | |
5665 | (btrace.h): Likewise. | |
5666 | (gdb_assert.h): Likewise. | |
5667 | (string.h): Likewise. | |
5668 | (sys/uio.h): Likewise. | |
5669 | (sys/debugreg.h): Likewise. | |
5670 | (sys/syscall.h): Likewise. | |
5671 | (sys/procfs.h): Likewise. | |
5672 | (sys/user.h): Likewise. | |
5673 | (asm/ptrace.h): Likewise. | |
5674 | (i386-nat.h): Likewise. | |
5675 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
5676 | (regset.h): Likewise. | |
5677 | (target.h): Likewise. | |
5678 | (linux-nat.h): Likewise. | |
5679 | (nat/linux-btrace.h): Likewise. | |
5680 | (btrace.h): Likewise. | |
5681 | (gdb_assert.h): Likewise. | |
5682 | (string.h): Likewise. | |
5683 | (sys/uio.h): Likewise. | |
5684 | (sys/user.h): Likewise. | |
5685 | (sys/procfs.h): Likewise. | |
5686 | (sys/reg.h): Likewise. | |
5687 | (sys/debugreg.h): Likewise. | |
5688 | (ORIG_EAX): Remove definition. | |
5689 | ||
040baaf6 GB |
5690 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5691 | ||
5692 | * i386-linux-nat.h: New file. | |
5693 | * x86-linux-nat.h: Likewise. | |
5694 | * x86-linux-nat.c: Likewise. | |
5695 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
5696 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
5697 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
5698 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
5699 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
5700 | (PTRACE_SETREGSET): Likewise. | |
5701 | (arch_lwp_info): Now in x86-linux-nat.c. | |
5702 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
5703 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
5704 | (x86_linux_dr_set): Likewise. | |
5705 | (x86_linux_dr_get_addr): Likewise. | |
5706 | (x86_linux_dr_get_control): Likewise. | |
5707 | (x86_linux_dr_get_status): Likewise. | |
5708 | (update_debug_registers_callback): Likewise. | |
5709 | (x86_linux_dr_set_control): Likewise. | |
5710 | (x86_linux_dr_set_addr): Likewise. | |
5711 | (x86_linux_prepare_to_resume): Likewise. | |
5712 | (x86_linux_new_thread): Likewise. | |
5713 | (x86_linux_new_fork): Likewise. | |
5714 | (x86_linux_get_thread_area): Likewise. | |
5715 | (super_post_startup_inferior): Likewise. | |
5716 | (x86_linux_child_post_startup_inferior): Likewise. | |
5717 | (AMD64_LINUX_USER64_CS): Likewise. | |
5718 | (AMD64_LINUX_X32_DS): Likewise. | |
5719 | (x86_linux_read_description): Likewise. | |
5720 | (x86_linux_enable_btrace): Likewise. | |
5721 | (x86_linux_disable_btrace): Likewise. | |
5722 | (x86_linux_teardown_btrace): Likewise. | |
5723 | (x86_linux_read_btrace): Likewise. | |
5724 | (x86_linux_create_target): Likewise. | |
5725 | (x86_linux_add_target): Likewise. | |
5726 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
5727 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
5728 | (PTRACE_SETREGSET): Likewise. | |
5729 | (arch_lwp_info): Now in x86-linux-nat.c. | |
5730 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
5731 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
5732 | (x86_linux_dr_set): Likewise. | |
5733 | (x86_linux_dr_get_addr): Likewise. | |
5734 | (x86_linux_dr_get_control): Likewise. | |
5735 | (x86_linux_dr_get_status): Likewise. | |
5736 | (update_debug_registers_callback): Likewise. | |
5737 | (x86_linux_dr_set_control): Likewise. | |
5738 | (x86_linux_dr_set_addr): Likewise. | |
5739 | (x86_linux_prepare_to_resume): Likewise. | |
5740 | (x86_linux_new_thread): Likewise. | |
5741 | (x86_linux_new_fork): Likewise. | |
5742 | (x86_linux_get_thread_area): Likewise. | |
5743 | (super_post_startup_inferior): Likewise. | |
5744 | (x86_linux_child_post_startup_inferior): Likewise. | |
5745 | (AMD64_LINUX_USER64_CS): Likewise. | |
5746 | (AMD64_LINUX_X32_DS): Likewise. | |
5747 | (x86_linux_read_description): Likewise. | |
5748 | (x86_linux_enable_btrace): Likewise. | |
5749 | (x86_linux_disable_btrace): Likewise. | |
5750 | (x86_linux_teardown_btrace): Likewise. | |
5751 | (x86_linux_read_btrace): Likewise. | |
5752 | (x86_linux_create_target): Likewise. | |
5753 | (x86_linux_add_target): Likewise. | |
5754 | ||
1aa7e42c GB |
5755 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5756 | ||
5757 | * amd64-linux-nat.c: Comment and whitespace changes. | |
5758 | * i386-linux-nat.c: Comment and whitespace changes. | |
5759 | ||
c1e246a0 GB |
5760 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5761 | ||
5762 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
5763 | (x86_linux_add_target): Likewise. | |
5764 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
5765 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
5766 | (x86_linux_add_target): Likewise. | |
5767 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
5768 | ||
8c420b8d GB |
5769 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5770 | ||
5771 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
5772 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
5773 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
5774 | (ps_get_thread_area): Delegate to the above. | |
5775 | ||
cb1da100 GB |
5776 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5777 | ||
5778 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
5779 | x86_linux_read_description. All uses updated. amd64-specific | |
5780 | code conditionalized. Conditionalized i386-specific code added. | |
5781 | Redundant cast removed. | |
5782 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
5783 | x86_linux_read_description. All uses updated. i386-specific | |
5784 | code conditionalized. Conditionalized amd64-specific code added. | |
5785 | One sizeof replaced with the actual type it is describing. | |
5786 | ||
2acf3cd0 GB |
5787 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5788 | ||
5789 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
5790 | x86_linux_dr_get. All uses updated. | |
5791 | (amd64_linux_dr_set): Renamed to | |
5792 | x86_linux_dr_set. All uses updated. | |
5793 | (amd64_linux_dr_get_addr): Renamed to | |
5794 | x86_linux_dr_get_addr. All uses updated. | |
5795 | (amd64_linux_dr_get_control): Renamed to | |
5796 | x86_linux_dr_get_control. All uses updated. | |
5797 | (amd64_linux_dr_get_status): Renamed to | |
5798 | x86_linux_dr_get_status. All uses updated. | |
5799 | (amd64_linux_dr_set_control): Renamed to | |
5800 | x86_linux_dr_set_control. All uses updated. | |
5801 | (amd64_linux_dr_set_addr): Renamed to | |
5802 | x86_linux_dr_set_addr. All uses updated. | |
5803 | (amd64_linux_prepare_to_resume): Renamed to | |
5804 | x86_linux_prepare_to_resume. All uses updated. | |
5805 | (amd64_linux_new_thread): Renamed to | |
5806 | x86_linux_new_thread. All uses updated. | |
5807 | (amd64_linux_new_fork): Renamed to | |
5808 | x86_linux_new_fork. All uses updated. | |
5809 | (amd64_linux_child_post_startup_inferior): Renamed to | |
5810 | x86_linux_child_post_startup_inferior. All uses updated. | |
5811 | (amd64_linux_enable_btrace): Renamed to | |
5812 | x86_linux_enable_btrace. All uses updated. | |
5813 | (amd64_linux_disable_btrace): Renamed to | |
5814 | x86_linux_disable_btrace. All uses updated. | |
5815 | (amd64_linux_teardown_btrace): Renamed to | |
5816 | x86_linux_teardown_btrace. All uses updated. | |
5817 | (amd64_linux_read_btrace): Renamed to | |
5818 | x86_linux_read_btrace. All uses updated. | |
5819 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
5820 | x86_linux_dr_get. All uses updated. | |
5821 | (i386_linux_dr_set): Renamed to | |
5822 | x86_linux_dr_set. All uses updated. | |
5823 | (i386_linux_dr_get_addr): Renamed to | |
5824 | x86_linux_dr_get_addr. All uses updated. | |
5825 | (i386_linux_dr_get_control): Renamed to | |
5826 | x86_linux_dr_get_control. All uses updated. | |
5827 | (i386_linux_dr_get_status): Renamed to | |
5828 | x86_linux_dr_get_status. All uses updated. | |
5829 | (i386_linux_dr_set_control): Renamed to | |
5830 | x86_linux_dr_set_control. All uses updated. | |
5831 | (i386_linux_dr_set_addr): Renamed to | |
5832 | x86_linux_dr_set_addr. All uses updated. | |
5833 | (i386_linux_prepare_to_resume): Renamed to | |
5834 | x86_linux_prepare_to_resume. All uses updated. | |
5835 | (i386_linux_new_thread): Renamed to | |
5836 | x86_linux_new_thread. All uses updated. | |
5837 | (i386_linux_new_fork): Renamed to | |
5838 | x86_linux_new_fork. All uses updated. | |
5839 | (i386_linux_child_post_startup_inferior): Renamed to | |
5840 | x86_linux_child_post_startup_inferior. All uses updated. | |
5841 | (i386_linux_enable_btrace): Renamed to | |
5842 | x86_linux_enable_btrace. All uses updated. | |
5843 | (i386_linux_disable_btrace): Renamed to | |
5844 | x86_linux_disable_btrace. All uses updated. | |
5845 | (i386_linux_teardown_btrace): Renamed to | |
5846 | x86_linux_teardown_btrace. All uses updated. | |
5847 | (i386_linux_read_btrace): Renamed to | |
5848 | x86_linux_read_btrace. All uses updated. | |
5849 | ||
b9c1d481 AS |
5850 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
5851 | ||
5852 | * remote.c (extended_remote_post_attach): New function. | |
5853 | (init_extended_remote_ops): Install it as to_post_attach method. | |
5854 | ||
7180e04a PA |
5855 | 2014-07-09 Pedro Alves <palves@redhat.com> |
5856 | ||
5857 | * infcmd.c (attach_command_post_wait): Don't call | |
5858 | target_terminal_inferior here. | |
5859 | (attach_command): Call it here instead. | |
5860 | ||
9a9a7608 AB |
5861 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
5862 | ||
5863 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
5864 | field. | |
5865 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
5866 | from varobj.c, with additional checks. | |
5867 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
5868 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
5869 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
5870 | field. | |
5871 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
5872 | ops method. | |
5873 | (varobj_default_is_path_expr_parent): New function. | |
5874 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
5875 | (varobj_default_is_path_expr_parent): Declare new function. | |
5876 | ||
1f267ae3 MM |
5877 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
5878 | ||
5879 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
5880 | ||
b2ee242b PA |
5881 | 2014-07-07 Pedro Alves <palves@redhat.com> |
5882 | ||
8a869bca | 5883 | PR gdb/17096 |
b2ee242b PA |
5884 | * remote.c (async_handle_remote_sigint) |
5885 | (async_handle_remote_sigint_twice): Call | |
5886 | gdb_call_async_signal_handler instead of | |
5887 | mark_async_signal_handler. | |
5888 | ||
38e229b2 TT |
5889 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
5890 | ||
5891 | * target-delegates.c: Rebuild. | |
5892 | * target.c (target_info_record): Remove. | |
5893 | * record.c (info_record_command): Unconditionally call | |
5894 | to_info_record. | |
5895 | * target.h (struct target_ops) <to_info_record>: Use | |
5896 | TARGET_DEFAULT_IGNORE. | |
5897 | (target_info_record): Remove. | |
5898 | ||
f0f9ff95 TT |
5899 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
5900 | ||
5901 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
5902 | TARGET_DEFAULT_NORETURN. | |
5903 | * target.c (generic_tls_error): New function. | |
5904 | (target_translate_tls_address): Don't search target stack. | |
5905 | * target-delegates.c: Rebuild. | |
5906 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
5907 | stack. | |
5908 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
5909 | Unconditionally call beneath target. | |
5910 | ||
4a5be5ee MK |
5911 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
5912 | ||
5913 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
5914 | gdb_stdtargerr. | |
5915 | ||
92c3b204 AB |
5916 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
5917 | ||
5918 | * MAINTAINERS (Write After Approval): Update my email address. | |
5919 | ||
9b11e3a7 GB |
5920 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
5921 | ||
5922 | * proc-service.c (ps_xfer_memory): Update comment. | |
5923 | (ps_pstop): Remove unused function. | |
5924 | (ps_pcontinue): Likewise. | |
5925 | (ps_lstop): Likewise. | |
5926 | (ps_lcontinue): Likewise. | |
5927 | (ps_lgetxregsize): Likewise. | |
5928 | (ps_lgetxregs): Likewise. | |
5929 | (ps_lsetxregs): Likewise. | |
5930 | (ps_plog): Likewise. | |
5931 | (ps_ptread): Likewise. | |
5932 | (ps_ptwrite): Likewise. | |
5933 | ||
cf363f18 MW |
5934 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
5935 | ||
5936 | * dwarf2read.c (add_array_cv_type): New function. | |
5937 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
5938 | (read_tag_volatile_type): Likewise. | |
5939 | ||
82ae6c8d TT |
5940 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
5941 | ||
5942 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
5943 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
5944 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
5945 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
5946 | * command.h (cmd_cfunc_ftype): Move earlier. | |
5947 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
5948 | (add_com, add_info): Use cmd_cfunc_ftype. | |
5949 | ||
96142726 TT |
5950 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
5951 | ||
5952 | * symtab.c (operator_chars): Make parameters and return type | |
5953 | const. | |
5954 | (file_matches): Make "files" const. | |
5955 | (struct search_symbols_data) <files>: Now const. | |
5956 | (search_symbols): Make "regexp" and "files" parameters const. | |
5957 | Update. | |
5958 | (symtab_symbol_info): Remove cast. | |
5959 | (rbreak_command): Update. | |
5960 | * symtab.h (search_symbols): Update. | |
5961 | ||
b67a2c6f YQ |
5962 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
5963 | ||
5964 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
5965 | Change parameter type to 'struct thread_info *'. Caller | |
5966 | updated. | |
5967 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
5968 | Update declaration. | |
5969 | * dummy-frame.c (struct dummy_frame_id): New. | |
5970 | (dummy_frame_id_eq): New function. | |
5971 | (struct dummy_frame) <id>: Change its type to 'struct | |
5972 | dummy_frame_id'. | |
5973 | (dummy_frame_push): Add parameter ptid and save it in | |
5974 | dummy_frame_id. | |
5975 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
5976 | inferior_ptid. | |
5977 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
5978 | to inferior_ptid. | |
5979 | (lookup_dummy_frame): Change parameter type to 'struct | |
5980 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
5981 | instead of frame_id_eq. | |
5982 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
5983 | Update comments. Compose dummy_frame_id and pass it to | |
5984 | lookup_dummy_frame. | |
5985 | (dummy_frame_discard): Add parameter ptid. | |
5986 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
5987 | dummy_frame_id_eq instead of frame_id_eq. | |
5988 | (fprint_dummy_frames): Print ptid. | |
5989 | * dummy-frame.h: Remove comments. | |
5990 | (dummy_frame_push): Add ptid in declaration. | |
5991 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
5992 | ||
5b10184c TT |
5993 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5994 | ||
5995 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
5996 | * command.h (error_no_arg): Update. | |
5997 | ||
06900326 TT |
5998 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5999 | ||
6000 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
6001 | (do_show_command): Make "arg" const. | |
6002 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
6003 | ||
c2bcbb1d TT |
6004 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6005 | ||
6006 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
6007 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
6008 | * record.c (record_goto): New function. | |
6009 | (cmd_record_goto): Use it. Now static. | |
6010 | * record.h (record_goto): Declare. | |
6011 | (cmd_record_goto): Remove declaration. | |
6012 | * target-delegates.c: Rebuild. | |
6013 | * target.h (struct target_ops) <to_get_bookmark, | |
6014 | to_goto_bookmark>: Make parameter const. | |
6015 | ||
9cbe5fff TT |
6016 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6017 | ||
6018 | * defs.h (generic_load): Update. | |
6019 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
6020 | * monitor.c (monitor_load): Make "args" const. | |
6021 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
6022 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
6023 | const. | |
6024 | (mips_load): Make "file" const. | |
6025 | * remote-sim.c (gdbsim_load): Make "args" const. | |
6026 | * remote.c (remote_load): Make "name" const. | |
6027 | * symfile.c (generic_load): Make "args" const. | |
6028 | * target-delegates.c: Rebuild. | |
6029 | * target.c (target_load): Make "arg" const. | |
6030 | (debug_to_load): Make "args" const. | |
6031 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
6032 | (target_load): Update. | |
6033 | ||
34a68019 TT |
6034 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6035 | ||
6036 | PR symtab/16902: | |
6037 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
6038 | (dwarf2_physname, read_partial_die) | |
6039 | (guess_partial_die_structure_name, fixup_partial_die) | |
6040 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
6041 | (dwarf2_name): Use per-BFD obstack. | |
6042 | ||
efc889c1 YQ |
6043 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
6044 | ||
6045 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
6046 | dummyframe and this_id into inner block below. | |
6047 | ||
4395285e YQ |
6048 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
6049 | ||
6050 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
6051 | with "signal_pass[0]" in the initialization of signal_pass. | |
6052 | ||
aef92902 MM |
6053 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6054 | ||
6055 | * record-btrace.c (record_btrace_generating_corefile) | |
6056 | (record_btrace_prepare_to_generate_core) | |
6057 | (record_btrace_done_generating_core): New. | |
6058 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
6059 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
6060 | Forward request when generating a core file. | |
6061 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
6062 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
6063 | to_done_generating_core. | |
6064 | ||
5fff78c4 MM |
6065 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6066 | ||
6067 | * target.h (target_ops) <to_prepare_to_generate_core> | |
6068 | <to_done_generating_core>: New. | |
6069 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
6070 | * target.c (target_prepare_to_generate_core) | |
6071 | (target_done_generating_core): New. | |
6072 | * target-delegates.c: Regenerate. | |
6073 | * gcore.c: (write_gcore_file): Rename to ... | |
6074 | (write_gcore_file_1): ...this. | |
6075 | (write_gcore_file): Call target_prepare_to_generate_core | |
6076 | and target_done_generating_core. | |
6077 | ||
1d1f1ccb MM |
6078 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6079 | ||
6080 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
6081 | * gcore.c (write_gcore_file): Free memory returned from | |
6082 | make_corefile_notes. | |
6083 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
6084 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
6085 | ||
3343ef86 YQ |
6086 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6087 | ||
6088 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
6089 | (arm_linux_init_abi): Set skip_trampoline_code with | |
6090 | gdbarch_skip_trampoline_code instead of | |
6091 | find_solib_trampoline_target. | |
6092 | ||
18d18ac8 YQ |
6093 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6094 | ||
6095 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
6096 | arm_skip_bx_reg returns non-zero. | |
6097 | ||
80d8d390 YQ |
6098 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6099 | ||
6100 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
6101 | (arm_skip_stub): Call arm_skip_bx_reg. | |
6102 | ||
6a18a01c DB |
6103 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
6104 | ||
6105 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
6106 | ||
8e9db26e PA |
6107 | 2014-06-23 Pedro Alves <palves@redhat.com> |
6108 | ||
6109 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
6110 | DR_CONTROL before setting DR0..DR3. | |
6111 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
6112 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
6113 | bits of DR_CONTROL related to the debug register slot being | |
6114 | disabled. If all slots are vacant, clear local slowdown as well, | |
6115 | and assert DR_CONTROL is 0. | |
6116 | ||
70afc5b7 SC |
6117 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
6118 | ||
6119 | * python/lib/gdb/command/xmethods.py | |
6120 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
6121 | current progspace only if the string "progspace" matches LOCUS_RE. | |
6122 | ||
840ed64d JK |
6123 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
6124 | ||
6125 | Fix --with-system-readline with readline-6.3 patch 5. | |
6126 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
6127 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
6128 | types. | |
6129 | ||
26f2dc30 TT |
6130 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
6131 | ||
6132 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
6133 | OBSTACK_CALLOC. | |
6134 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
6135 | ||
125f8a3d GB |
6136 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
6137 | ||
6138 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
6139 | * common/glibc_thread_db.h: Likewise. | |
6140 | * common/i386-cpuid.h: Likewise. | |
6141 | * common/i386-gcc-cpuid.h: Likewise. | |
6142 | * common/linux-btrace.h: Likewise. | |
6143 | * common/linux-osdata.h: Likewise. | |
6144 | * common/linux-procfs.h: Likewise. | |
6145 | * common/linux-ptrace.h: Likewise. | |
6146 | * common/mips-linux-watch.h: Likewise. | |
6147 | * common/linux-btrace.c: Moved to nat. | |
6148 | * common/linux-osdata.c: Likewise. | |
6149 | * common/linux-procfs.c: Likewise. | |
6150 | * common/linux-ptrace.c: Likewise. | |
6151 | * common/mips-linux-watch.c: Likewise. | |
6152 | * nat/gdb_thread_db.h: Moved from common. | |
6153 | * nat/glibc_thread_db.h: Likewise. | |
6154 | * nat/i386-cpuid.h: Likewise. | |
6155 | * nat/i386-gcc-cpuid.h: Likewise. | |
6156 | * nat/linux-btrace.c: Likewise. | |
6157 | * nat/linux-btrace.h: Likewise. | |
6158 | * nat/linux-osdata.c: Likewise. | |
6159 | * nat/linux-osdata.h: Likewise. | |
6160 | * nat/linux-procfs.c: Likewise. | |
6161 | * nat/linux-procfs.h: Likewise. | |
6162 | * nat/linux-ptrace.c: Likewise. | |
6163 | * nat/linux-ptrace.h: Likewise. | |
6164 | * nat/mips-linux-watch.c: Likewise. | |
6165 | * nat/mips-linux-watch.h: Likewise. | |
6166 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
6167 | (object file files): Reordered. | |
6168 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
6169 | of glibc_thread_db.h. | |
6170 | ||
42995dbd GB |
6171 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
6172 | ||
6173 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
6174 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
6175 | (i386_dr_low): Likewise. | |
6176 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
6177 | (i386_dr_low_set_addr): Likewise. | |
6178 | (i386_dr_low_get_addr): Likewise. | |
6179 | (i386_dr_low_can_set_control): Likewise. | |
6180 | (i386_dr_low_set_control): Likewise. | |
6181 | (i386_dr_low_get_control): Likewise. | |
6182 | (i386_dr_low_get_status): Likewise. | |
6183 | (i386_get_debug_register_length): Likewise. | |
6184 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
6185 | (i386_dr_low): Likewise. | |
6186 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
6187 | (i386-nat.h): Likewise. | |
6188 | (nat/i386-dregs.h): New include. | |
6189 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
6190 | (i386_dr_low_set_addr): Likewise. | |
6191 | (i386_dr_low_get_addr): Likewise. | |
6192 | (i386_dr_low_can_set_control): Likewise. | |
6193 | (i386_dr_low_set_control): Likewise. | |
6194 | (i386_dr_low_get_control): Likewise. | |
6195 | (i386_dr_low_get_status): Likewise. | |
6196 | (i386_get_debug_register_length): Likewise. | |
6197 | (debug_hw_points): Likewise. | |
6198 | ||
3ed9baed IB |
6199 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
6200 | ||
6201 | * Makefile.in (SFILES): Add d-exp.y. | |
6202 | (YYFILES): Add d-exp.c. | |
6203 | (YYOBJ): Add d-exp.o. | |
6204 | (local-maintainer-clean): Delete d-exp.c. | |
6205 | * d-exp.y: New file. | |
6206 | * d-lang.h (d_parse): New declaration. | |
6207 | (d_error): New declaration. | |
6208 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
6209 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
6210 | PREC_ORDER operators. | |
6211 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
6212 | ||
78c164b0 YQ |
6213 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
6214 | ||
6215 | * gdbthread.h (any_running): Remove the declaration. | |
6216 | * thread.c (any_running): Remove. | |
6217 | ||
f6e29b6e YQ |
6218 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
6219 | ||
6220 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
6221 | 'enum thread_state'. Update comments. | |
6222 | ||
034f788c PA |
6223 | 2014-06-19 Pedro Alves <palves@redhat.com> |
6224 | ||
6225 | * gdbthread.h (ALL_THREADS): Delete. | |
6226 | (ALL_NON_EXITED_THREADS): New macro. | |
6227 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
6228 | instead of ALL_THREADS. | |
6229 | * infrun.c (find_thread_needs_step_over) | |
6230 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
6231 | instead of ALL_THREADS. | |
6232 | * record-btrace.c (record_btrace_open) | |
6233 | (record_btrace_stop_recording, record_btrace_close) | |
6234 | (record_btrace_is_replaying, record_btrace_resume) | |
6235 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
6236 | * remote.c (append_pending_thread_resumptions): Likewise. | |
6237 | * thread.c (thread_apply_all_command): Likewise. | |
6238 | ||
46e33252 GB |
6239 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6240 | ||
6241 | * i386-nat.c (i386_stopped_by_watchpoint): | |
6242 | Use i386_dr_stopped_by_watchpoint. | |
6243 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
6244 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
6245 | ||
3a8ee006 GB |
6246 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6247 | ||
6248 | * nat/i386-dregs.c: New file. | |
6249 | * Makefile.in (i386-dregs.o): New rule. | |
6250 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
6251 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
6252 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
6253 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
6254 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
6255 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
6256 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
6257 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
6258 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
6259 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
6260 | * i386-nat.h (debug_hw_points): New declaration. | |
6261 | * i386-nat.c (breakpoint.h): Remove include. | |
6262 | (command.h): Likewise. | |
6263 | (target.h): Likewise. | |
6264 | (gdb_assert.h): Likewise. | |
6265 | (debug_hw_points): Made nonstatic. | |
6266 | (debug_printf): Now in i386-dregs.c. | |
6267 | (TARGET_HAS_DR_LEN_8): Likewise. | |
6268 | (DR_CONTROL_SHIFT): Likewise. | |
6269 | (DR_CONTROL_SIZE): Likewise. | |
6270 | (DR_RW_EXECUTE): Likewise. | |
6271 | (DR_RW_WRITE): Likewise. | |
6272 | (DR_RW_READ): Likewise. | |
6273 | (DR_RW_IORW): Likewise. | |
6274 | (DR_LEN_1): Likewise. | |
6275 | (DR_LEN_2): Likewise. | |
6276 | (DR_LEN_4): Likewise. | |
6277 | (DR_LEN_8): Likewise. | |
6278 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
6279 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
6280 | (DR_ENABLE_SIZE): Likewise. | |
6281 | (DR_LOCAL_SLOWDOWN): Likewise. | |
6282 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
6283 | (DR_CONTROL_RESERVED): Likewise. | |
6284 | (I386_DR_CONTROL_MASK): Likewise. | |
6285 | (I386_DR_VACANT): Likewise. | |
6286 | (I386_DR_LOCAL_ENABLE): Likewise. | |
6287 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
6288 | (I386_DR_DISABLE): Likewise. | |
6289 | (I386_DR_SET_RW_LEN): Likewise. | |
6290 | (I386_DR_GET_RW_LEN): Likewise. | |
6291 | (I386_DR_WATCH_HIT): Likewise. | |
6292 | (i386_wp_op_t): Likewise. | |
6293 | (i386_show_dr): Likewise. | |
6294 | (i386_length_and_rw_bits): Likewise. | |
6295 | (i386_insert_aligned_watchpoint): Likewise. | |
6296 | (i386_remove_aligned_watchpoint): Likewise. | |
6297 | (i386_handle_nonaligned_watchpoint): Likewise. | |
6298 | (i386_update_inferior_debug_regs): Likewise. | |
6299 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
6300 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
6301 | (i386_region_ok_for_watchpoint): | |
6302 | Use i386_dr_region_ok_for_watchpoint. | |
6303 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
6304 | ||
322a8e06 GB |
6305 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6306 | ||
6307 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
6308 | i386_insert_watchpoint. | |
6309 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
6310 | ||
8f26655c GB |
6311 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6312 | ||
6313 | * i386-nat.c (i386_dr_show): Renamed to | |
6314 | i386_show_dr and made static. All uses updated. | |
6315 | (i386_dr_length_and_rw_bits): Renamed to | |
6316 | i386_length_and_rw_bits and made static. | |
6317 | All uses updated. | |
6318 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
6319 | i386_insert_aligned_watchpoint and made static. | |
6320 | All uses updated. | |
6321 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
6322 | i386_remove_aligned_watchpoint and made static. | |
6323 | All uses updated. | |
6324 | (i386_dr_update_inferior_debug_regs): Renamed to | |
6325 | i386_update_inferior_debug_regs and made static. | |
6326 | All uses updated. | |
6327 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
6328 | (i386_dr_length_and_rw_bits): Likewise. | |
6329 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
6330 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
6331 | (i386_dr_update_inferior_debug_regs): Likewise. | |
6332 | ||
992c7d70 GB |
6333 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6334 | ||
6335 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
6336 | * configure: Regenerate. | |
6337 | * config.in: Likewise. | |
6338 | * main.c (signal.h): New include. | |
6339 | (setup_alternate_signal_stack): New function. | |
6340 | (captured_main): Call the above. | |
6341 | * cp-support.c (signal.h): New include. | |
6342 | (catch_demangler_crashes): New flag. | |
6343 | (SIGJMP_BUF): New define. | |
6344 | (SIGSETJMP): Likewise. | |
6345 | (SIGLONGJMP): Likewise. | |
6346 | (gdb_demangle_jmp_buf): New static global. | |
6347 | (gdb_demangle_attempt_core_dump): Likewise. | |
6348 | (gdb_demangle_signal_handler): New function. | |
6349 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
6350 | above signal handler before calling bfd_demangle, and restore | |
6351 | the original signal handler afterwards. Display the offending | |
6352 | symbol and call demangler_warning the first time a segmentation | |
6353 | fault is caught. | |
6354 | (_initialize_cp_support): New maint set/show command. | |
6355 | ||
eae7090b GB |
6356 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6357 | ||
6358 | * utils.h (resource_limit_kind): New enum. | |
6359 | (can_dump_core): New declaration. | |
6360 | (warn_cant_dump_core): Likewise. | |
6361 | (dump_core): Likewise. | |
6362 | * utils.c (dump_core): Made nonstatic. Added new | |
6363 | parameter "limit_kind". | |
6364 | (can_dump_core): Made nonstatic. Moved printing code to... | |
6365 | (warn_cant_dump_core): New function. | |
6366 | (can_dump_core_warn): Likewise. | |
6367 | (internal_vproblem): Replace calls to can_dump_core with | |
6368 | calls to can_dump_core_warn. Supply new argument to each. | |
6369 | ||
57fcfb1b GB |
6370 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6371 | ||
6372 | * utils.h (demangler_vwarning): New declaration. | |
6373 | (demangler_warning): Likewise. | |
6374 | * utils.c (struct internal_problem) | |
6375 | <user_settable_should_quit>: New field. | |
6376 | <user_settable_should_dump_core>: Likewise | |
6377 | (internal_error_problem): Add values for above new fields. | |
6378 | (internal_warning_problem): Likewise. | |
6379 | (demangler_warning_problem): New static global. | |
6380 | (demangler_vwarning): New function. | |
6381 | (demangler_warning): Likewise. | |
6382 | (add_internal_problem_command): Selectively add commands. | |
6383 | (_initialize_utils): New internal problem command. | |
6384 | * maint.c (maintenance_demangler_warning): New function. | |
6385 | (_initialize_maint_cmds): New command. | |
6386 | ||
17a40b44 TT |
6387 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6388 | ||
6389 | * f-valprint.c (info_common_command_for_block): Update. | |
6390 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
6391 | const. | |
6392 | ||
346d1dfe TT |
6393 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6394 | ||
6395 | * symtab.h (struct symtab) <blockvector>: Now const. | |
6396 | * ada-lang.c (ada_add_global_exceptions): Update. | |
6397 | * buildsym.c (augment_type_symtab): Update. | |
6398 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
6399 | * jit.c (finalize_symtab): Update. | |
6400 | * jv-lang.c (add_class_symtab_symbol): Update. | |
6401 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
6402 | Update. | |
6403 | * objfiles.c (objfile_relocate1): Update. | |
6404 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
6405 | (maintenance_check_psymtabs): Update. | |
6406 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
6407 | Update. | |
6408 | * spu-tdep.c (spu_catch_start): Update. | |
6409 | * symmisc.c (dump_symtab_1): Update. | |
6410 | * symtab.c (lookup_global_symbol_from_objfile) | |
6411 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
6412 | (basic_lookup_transparent_type_quick) | |
6413 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
6414 | (find_pc_sect_line, search_symbols): Update. | |
6415 | * block.c (find_block_in_blockvector): Make "bl" const. | |
6416 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
6417 | const. | |
6418 | (blockvector_contains_pc): Make "bv" const. | |
6419 | (block_for_pc_sect): Update. | |
6420 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6421 | (blockvector_contains_pc): Update. | |
6422 | * breakpoint.c (resolve_sal_pc): Update. | |
6423 | * inline-frame.c (block_starting_point_at): Update. | |
6424 | ||
1834676b TT |
6425 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6426 | ||
6427 | * completer.c (complete_line): Make "line_buffer" const. | |
6428 | * completer.h (complete_line): Update. | |
6429 | ||
ac1a991b TT |
6430 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6431 | ||
6432 | * symtab.c (add_macro_name): Remove unneeded cast. | |
6433 | ||
5bc98e52 TT |
6434 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6435 | ||
6436 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
6437 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
6438 | ||
8236def8 TT |
6439 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6440 | ||
6441 | * probe.c (info_probes_for_ops): Make "arg" const. | |
6442 | * probe.h (info_probes_for_ops): Update. | |
6443 | ||
3977b71f TT |
6444 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6445 | ||
6446 | * varobj.c (varobj_create): Update. | |
6447 | * valops.c (value_of_this): Update. | |
6448 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
6449 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
6450 | * symtab.c (skip_prologue_sal) | |
6451 | (default_make_symbol_completion_list_break_on) | |
6452 | (skip_prologue_using_sal): Update. | |
6453 | * stack.h (iterate_over_block_locals) | |
6454 | (iterate_over_block_local_vars): Update. | |
6455 | * stack.c (print_frame_args): Update. | |
6456 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
6457 | parameter const. | |
6458 | (get_selected_block): Make return type const. | |
6459 | * python/py-frame.c (frapy_block): Update. | |
6460 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
6461 | * p-exp.y (%union) <bval>: Now const. | |
6462 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
6463 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
6464 | * m2-exp.y (%union) <bval>: Now const. | |
6465 | * linespec.c (get_current_search_block): Make return type const. | |
6466 | (create_sals_line_offset, find_label_symbols): Update. | |
6467 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
6468 | Update. | |
6469 | (block_starting_point_at): Make "block" const. | |
6470 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
6471 | (check_exception_resume): Update. | |
6472 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
6473 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
6474 | * frame.h (get_frame_block): Update. | |
6475 | (get_selected_block): Make return type const. | |
6476 | * frame.c (frame_id_inner): Update. | |
6477 | * f-valprint.c (info_common_command_for_block) | |
6478 | (info_common_command): Update. | |
6479 | * dwarf2loc.c (dwarf2_find_location_expression) | |
6480 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
6481 | (locexpr_describe_location_piece): Update. | |
6482 | * c-exp.y (%union) <bval>: Now const. | |
6483 | * breakpoint.c (resolve_sal_pc): Update. | |
6484 | * blockframe.c (get_frame_block):Make return type const. | |
6485 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
6486 | (block_innermost_frame): Update. | |
6487 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6488 | (block_for_pc, block_for_pc_sect): Update. | |
6489 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
6490 | 'pblock' const. | |
6491 | (block_for_pc_sect, block_for_pc): Make return type const. | |
6492 | * ax-gdb.c (gen_expr): Update. | |
6493 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
6494 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
6495 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
6496 | (ada_read_var_value): Update. | |
6497 | * ada-exp.y (struct name_info) <block>: Now const. | |
6498 | (%union): Likewise. | |
6499 | (block_lookup): Constify. | |
6500 | ||
b9228891 GB |
6501 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6502 | ||
6503 | * nat/i386-dregs.h: New file. | |
6504 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
6505 | * i386-nat.h (i386-dregs.h): New include. | |
6506 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
6507 | (DR_LASTADDR): Likewise. | |
6508 | (DR_NADDR): Likewise. | |
6509 | (DR_STATUS): Likewise. | |
6510 | (DR_CONTROL): Likewise. | |
6511 | (i386_debug_reg_state): Likewise. | |
6512 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
6513 | ||
a1aa2221 LM |
6514 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
6515 | ||
6516 | * breakpoint.c (set_longjmp_breakpoint): Call | |
6517 | momentary_breakpoint_from_master with additional argument. | |
6518 | (set_longjmp_breakpoint_for_call_dummy): Call | |
6519 | momentary_breakpoint_from_master with additional argument. | |
6520 | (set_std_terminate_breakpoint): Call | |
6521 | momentary_breakpoint_from_master with additional argument. | |
6522 | (momentary_breakpoint_from_master): Add argument to function | |
6523 | definition and use it to initialize structure member flag. | |
74228e77 | 6524 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
6525 | momentary_breakpoint_from_master with additional argument. |
6526 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
6527 | member flags set in momentary_breakpoint_from_master. | |
6528 | ||
4be83cc2 GB |
6529 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6530 | ||
6531 | * i386-nat.c (i386_show_dr): Renamed to | |
6532 | i386_dr_show and made nonstatic. All uses updated. | |
6533 | (i386_length_and_rw_bits): Renamed to | |
6534 | i386_dr_length_and_rw_bits and made nonstatic. | |
6535 | All uses updated. | |
6536 | (i386_insert_aligned_watchpoint): Renamed to | |
6537 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
6538 | All uses updated. | |
6539 | (i386_remove_aligned_watchpoint): Renamed to | |
6540 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
6541 | All uses updated. | |
6542 | (i386_update_inferior_debug_regs): Renamed to | |
6543 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
6544 | All uses updated. | |
6545 | ||
131aa0d4 GB |
6546 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6547 | ||
6548 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
6549 | (i386_dr_low_can_set_control): Likewise. | |
6550 | (i386_dr_low_set_addr): Likewise. | |
6551 | (i386_dr_low_set_control): Likewise. | |
6552 | (i386_dr_low_get_addr): Likewise. | |
6553 | (i386_dr_low_get_status): Likewise. | |
6554 | (i386_dr_low_get_control): Likewise. | |
6555 | (i386_insert_aligned_watchpoint): Use new macros. | |
6556 | (i386_update_inferior_debug_regs): Likewise. | |
6557 | (i386_stopped_data_address): Likewise. | |
6558 | ||
d9305f7f GB |
6559 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6560 | ||
6561 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
6562 | New parameter. All uses updated. | |
6563 | ||
ea008da4 GB |
6564 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6565 | ||
6566 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
6567 | All uses updated. | |
6568 | ||
1b6d4134 GB |
6569 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6570 | ||
6571 | * i386-nat.c (debug_printf): New macro. | |
6572 | (i386_get_debug_register_length): Likewise. | |
6573 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
6574 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
6575 | and printf_unfiltered. Use phex to format values. | |
6576 | ||
9b4550ef GB |
6577 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6578 | ||
6579 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
6580 | Make const. | |
6581 | ||
6e62758f GB |
6582 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6583 | ||
6584 | * i386-nat.c: Comment changes. | |
6585 | ||
51c79e94 GB |
6586 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6587 | ||
6588 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
6589 | ||
3e11889a GB |
6590 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6591 | ||
6592 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
6593 | (i386_insert_aligned_watchpoint): Likewise. | |
6594 | (i386_remove_aligned_watchpoint): Likewise. | |
6595 | (i386_handle_nonaligned_watchpoint): Likewise. | |
6596 | ||
fc6e2f03 GB |
6597 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6598 | ||
6599 | * i386-nat.c: Whitespace changes. | |
6600 | ||
2afe7d50 SB |
6601 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
6602 | ||
6603 | * MAINTAINERS: Update Roland McGrath's email address. | |
6604 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 6605 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 6606 | |
3bca49ee TT |
6607 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
6608 | ||
6609 | * utils.h (savestring): Remove declaration. | |
6610 | ||
6e366df1 TT |
6611 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
6612 | ||
6613 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
6614 | ||
6be47f0c KS |
6615 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
6616 | ||
6617 | PR mi/15863 | |
6618 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
6619 | to update the varobj if inferior_ptid is null_ptid. | |
6620 | ||
7bc112c1 TT |
6621 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6622 | ||
6623 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
6624 | const. | |
6625 | (target_info_proc): Update. | |
6626 | * target.c (target_info_proc): Make "args" const. | |
6627 | * procfs.c (procfs_info_proc): Update. | |
6628 | * linux-tdep.c (linux_info_proc): Update. | |
6629 | (linux_core_info_proc_mappings): Make "args" const. | |
6630 | (linux_core_info_proc): Update. | |
6631 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
6632 | * gdbarch.c: Rebuild. | |
6633 | * gdbarch.h: Rebuild. | |
6634 | * corelow.c (core_info_proc): Update. | |
6635 | ||
fee354ee TT |
6636 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6637 | ||
6638 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
6639 | const. | |
6640 | (target_disconnect): Update. | |
6641 | * target.c (target_disconnect): Make "args" const. | |
6642 | * target-delegates.c: Rebuild. | |
6643 | * remote.c (remote_disconnect): Update. | |
6644 | * record.h (record_disconnect): Update. | |
6645 | * record.c (record_disconnect): Update. | |
6646 | * inf-child.c (inf_child_disconnect): Update. | |
6647 | ||
a30bf1f1 TT |
6648 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6649 | ||
6650 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
6651 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
6652 | * target-delegates.c: Rebuild. | |
6653 | * remote.c (remote_rcmd): Update. | |
6654 | * monitor.c (monitor_rcmd): Update. | |
6655 | ||
d03de421 PA |
6656 | 2014-06-16 Pedro Alves <palves@redhat.com> |
6657 | ||
6658 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
6659 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
6660 | have OBJF_SHARED set. | |
6661 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
6662 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
6663 | instead of OBJF_USERLOADED. | |
6664 | * objfiles.h (OBJF_SHARED): Update comment. | |
6665 | (userloaded_objfile_contains_address_p): Rename to ... | |
6666 | (shared_objfile_contains_address_p): ... this, and update | |
6667 | comments. | |
6668 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
6669 | new objfile. | |
6670 | (remove_symbol_file_command): Skip objfiles that don't have | |
6671 | OBJF_SHARED set. | |
6672 | ||
99f4262f TT |
6673 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6674 | ||
6675 | * minsyms.h (prim_record_minimal_symbol) | |
6676 | (prim_record_minimal_symbol_and_info): Update comments. | |
6677 | ||
97d66cc6 EZ |
6678 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
6679 | ||
6680 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
6681 | or --without-guile, according to how GDB was built. | |
6682 | ||
635c7e8a TT |
6683 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
6684 | ||
6685 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
6686 | to help_list. | |
6687 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
6688 | to help_list. | |
6689 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
6690 | help_list. | |
6691 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
6692 | help_list.Pass all_commands, not -1, to help_list. | |
6693 | * cli/cli-dump.c (dump_command, append_command) | |
6694 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
6695 | (binary_dump_command, binary_append_command): Pass all_commands, | |
6696 | not -1, to help_list. | |
6697 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
6698 | -1, to help_list. | |
6699 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
6700 | -1, to help_list. | |
6701 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
6702 | help_list. | |
6703 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
6704 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
6705 | all_commands, not -1, to help_list. | |
6706 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
6707 | help_list. | |
6708 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
6709 | help_list. | |
6710 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
6711 | help_list. | |
6712 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
6713 | -1, to help_list. | |
6714 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
6715 | not -1, to help_list. | |
6716 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
6717 | not -1, to help_list. | |
6718 | * maint.c (maintenance_command, maintenance_info_command) | |
6719 | (maintenance_print_command, maintenance_set_cmd): Pass | |
6720 | all_commands, not -1, to help_list. | |
6721 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
6722 | help_list. | |
6723 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
6724 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
6725 | help_list. | |
6726 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
6727 | help_list. | |
6728 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
6729 | help_list. | |
6730 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
6731 | help_list. | |
6732 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
6733 | help_list. | |
6734 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
6735 | all_commands, not -1, to help_list. | |
6736 | ||
b94ade42 PL |
6737 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
6738 | ||
6739 | * regcache.c (struct register_to_invalidate): New structure. | |
6740 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
6741 | functions. | |
6742 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
6743 | ||
31f628ae YQ |
6744 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
6745 | ||
6746 | * varobj.c (varobj_get_num_children): Call | |
6747 | varobj_is_dynamic_p. | |
6748 | (varobj_list_children): Likewise. | |
6749 | (varobj_update): Likewise. Update comments. | |
6750 | ||
cde5ef40 YQ |
6751 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
6752 | ||
6753 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
6754 | (varobj_is_dynamic_p): ... this. New function. | |
6755 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
6756 | (varobj_is_dynamic_p): Declare. | |
6757 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
6758 | (mi_print_value_p, varobj_update_one): Likewise. | |
6759 | ||
576ea091 YQ |
6760 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
6761 | Yao Qi <yao@codesourcery.com> | |
6762 | ||
6763 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
6764 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
6765 | "#if HAVE_PYTHON" and "#endif". | |
6766 | (update_dynamic_varobj_children): Likewise. | |
6767 | ||
827f100c YQ |
6768 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
6769 | Yao Qi <yao@codesourcery.com> | |
6770 | ||
6771 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
6772 | gdb_python_initialized is false. Move some code from varobj.c. | |
6773 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
6774 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
6775 | (struct varobj_item): Moved to varobj-iter.h". | |
6776 | (varobj_clear_saved_item): New function. | |
6777 | (update_dynamic_varobj_children): Move python-related code to | |
6778 | py-varobj.c. | |
6779 | (free_variable): Call varobj_clear_saved_item and | |
6780 | varobj_iter_delete. | |
6781 | ||
e5250216 YQ |
6782 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
6783 | Yao Qi <yao@codesourcery.com> | |
6784 | ||
6785 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
6786 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
6787 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
6788 | (py-varobj.o): New rule. | |
6789 | * python/py-varobj.c: New file. | |
6790 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
6791 | * varobj-iter.h: New file. | |
6792 | * varobj.c: Include "varobj-iter.h" | |
6793 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
6794 | to "struct varobj_iter *". | |
6795 | <saved_item>: Likewise. | |
6796 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
6797 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
6798 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
6799 | python-specific code to python/py-varobj.c. | |
6800 | (install_visualizer): Call varobj_iter_delete instead of | |
6801 | Py_XDECREF. | |
6802 | * varobj.h (varobj_ensure_python_env): Declare. | |
6803 | ||
5a2e0d6e YQ |
6804 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
6805 | ||
6806 | * varobj.c (struct varobj_item): New structure. | |
6807 | (create_child_with_value): Update declaration. | |
6808 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
6809 | 'item'. All callers updated. | |
6810 | (install_dynamic_child): Likewise. | |
6811 | (update_dynamic_varobj_children): Likewise. | |
6812 | (varobj_add_child): Likewise. | |
6813 | (create_child_with_value): Likewise. | |
6814 | ||
919b9a93 JB |
6815 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
6816 | ||
6817 | * NEWS: Create a new section for the next release branch. | |
6818 | Rename the section of the current branch, now that it has | |
6819 | been cut. | |
6820 | ||
71a55bdf JB |
6821 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
6822 | ||
6823 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
6824 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
6825 | ||
364fe1f7 PA |
6826 | 2014-06-11 Pedro Alves <palves@redhat.com> |
6827 | ||
6828 | PR remote/17028 | |
6829 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
6830 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
6831 | net_windows_socket_check_pending. | |
6832 | (net_windows_wait_handle): Check for pending events with | |
6833 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
6834 | checking the socket's event. | |
6835 | ||
5a6c7709 SC |
6836 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
6837 | ||
6838 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
6839 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
6840 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
6841 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 6842 | |
0e58ee40 JB |
6843 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
6844 | ||
6845 | * serial.c (serial_write): Fix index of character to be printed | |
6846 | in call to serial_logchar when serial debug traces are enabled. | |
6847 | ||
d190df30 JB |
6848 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
6849 | ||
6850 | * gdbtypes (resolve_dynamic_range): Add function description. | |
6851 | ||
b4b01d36 PA |
6852 | 2014-06-09 Pedro Alves <palves@redhat.com> |
6853 | ||
6854 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
6855 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
6856 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
6857 | state. | |
6858 | ||
3657956b GB |
6859 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
6860 | ||
6861 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
6862 | the always-available ANSI-standard signals from the signals that | |
6863 | require checking. | |
6864 | (do_gdb_signal_to_host): Likewise. | |
6865 | * proc-events.c (signal_table): Likewise. | |
6866 | ||
c077881a HZ |
6867 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
6868 | ||
6869 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
6870 | function. | |
6871 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
6872 | declaration. | |
6873 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
6874 | detach. | |
6875 | ||
4186eb54 KS |
6876 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
6877 | ||
6878 | Revert: | |
6879 | PR c++/16253 | |
6880 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
6881 | from symbol_matches_domain in symtab.c. All local callers | |
6882 | of symbol_matches_domain updated. | |
6883 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
6884 | search STRUCT_DOMAIN. | |
6885 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
6886 | independently. standard_lookup will do that automatically. | |
6887 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
6888 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
6889 | (cp_lookup_symbol_in_namespace): Likewise. | |
6890 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
6891 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
6892 | may return a STRUCT_DOMAIN match. | |
6893 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
6894 | * cp-support.c: Include language.h. | |
6895 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
6896 | VAR_DOMAIN. | |
6897 | * psymtab.c (match_partial_symbol): Compare the requested | |
6898 | domain with the symbol's domain directly. | |
6899 | (lookup_partial_symbol): Likewise. | |
6900 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
6901 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
6902 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
6903 | appropriate languages. | |
6904 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
6905 | and moved to ada-lang.c | |
6906 | (lookup_block_symbol): Explain that this function only returns | |
6907 | symbol matching the requested DOMAIN. | |
6908 | Compare the requested domain with the symbol's domain directly. | |
6909 | (iterate_over_symbols): Compare the requested domain with the | |
6910 | symbol's domain directly. | |
6911 | * symtab.h (symbol_matches_domain): Remove. | |
6912 | ||
25326a28 | 6913 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
6914 | |
6915 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
6916 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
6917 | (gdbscm_guile_version_is_at_least): Declare. | |
6918 | (gdbscm_scm_string_to_int): Declare. | |
6919 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
6920 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
6921 | (guile_datadir): New static global. | |
6922 | (gdbscm_guile_data_directory): New function. | |
6923 | (initialize_scheme_side): Update. | |
6924 | (misc_guile_functions): Add guile-data-directory. | |
6925 | (initialize_gdb_module): Fetch guile version number. | |
6926 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
6927 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
6928 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
6929 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
6930 | comments. | |
6931 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
6932 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
6933 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
6934 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
6935 | ||
0a770bb2 | 6936 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
6937 | ||
6938 | * main.c (print_gdb_help): Add -q and --silent. | |
6939 | ||
73ba372c GB |
6940 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
6941 | ||
6942 | * common/signals.c: Remove preprocessor conditionals for | |
6943 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
6944 | SIGSEGV and SIGTERM. | |
6945 | * proc-events.c: Likewise. | |
6946 | ||
c33b2f12 MM |
6947 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
6948 | ||
6949 | * symfile.c (symfile_free_objfile): Remove restriction to | |
6950 | OBJF_USERLOADED. | |
6951 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
6952 | add_target_sections_of_objfile. | |
6953 | ||
fb934770 LC |
6954 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
6955 | ||
6956 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
6957 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
6958 | 'vlscm_scm_to_value'. | |
6959 | ||
6ef284bd SM |
6960 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
6961 | ||
6962 | PR mi/15806 | |
6963 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
6964 | Update function documentation to clarify effect of parameter | |
6965 | QUOTER. | |
6966 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
6967 | fputstrn_unfiltered. | |
6968 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
6969 | generate the output. | |
6970 | (mi_solib_unloaded): Same. | |
6971 | ||
270c9937 JB |
6972 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
6973 | ||
6974 | * development.sh: Delete. | |
6975 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
6976 | * configure.ac: Adjust development.sh source call. | |
6977 | * configure: Regenerate. | |
6978 | ||
16f691fb DE |
6979 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
6980 | ||
6981 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
6982 | is_scheme_bkpt, spec. | |
6983 | (bpscm_make_breakpoint_smob): Initialize new members. | |
6984 | (gdbscm_create_breakpoint_x): Split into two ... | |
6985 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
6986 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
6987 | (scheme_function breakpoint_functions): Update. | |
6988 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
6989 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
6990 | register-breakpoint!. | |
6991 | ||
ef7cab6b JB |
6992 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
6993 | ||
6994 | PR server/17023 | |
6995 | * mem-break.c (z_type_supported): Return zero if | |
6996 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
6997 | ||
012370f6 TT |
6998 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
6999 | ||
7000 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
7001 | value_from_contents_and_address_unresolved. | |
7002 | (ada_template_to_fixed_record_type_1): Likewise. | |
7003 | (ada_which_variant_applies): Likewise. | |
7004 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
7005 | * value.c (value_from_contents_and_address_unresolved): New | |
7006 | function. | |
7007 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
7008 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
7009 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
7010 | ||
92e2a17f TT |
7011 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7012 | ||
7013 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
7014 | ||
c0939df1 TT |
7015 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7016 | ||
7017 | * procfs.c (procfs_attach): Make "args" const. | |
7018 | * windows-nat.c (windows_attach): Make "args" const. | |
7019 | * nto-procfs.c (procfs_attach): Make "args" const. | |
7020 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
7021 | * go32-nat.c (go32_attach): Make "args" const. | |
7022 | * gnu-nat.c (gnu_attach): Make "args" const. | |
7023 | * darwin-nat.c (darwin_attach): Make "args" const. | |
7024 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
7025 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
7026 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
7027 | Make "args" const. | |
7028 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
7029 | (find_default_attach): Likewise. | |
7030 | * utils.c (parse_pid_to_attach): Make "args" const. | |
7031 | * utils.h (parse_pid_to_attach): Update. | |
7032 | ||
8eaff7cd TT |
7033 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7034 | ||
7035 | * target-delegates.c: Rebuild. | |
7036 | * target.c (default_thread_address_space): New function. | |
7037 | (target_thread_address_space): Simplify. | |
7038 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
7039 | TARGET_DEFAULT_FUNC. | |
7040 | ||
1913f160 DE |
7041 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
7042 | ||
7043 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
7044 | ||
70ad5bff MM |
7045 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
7046 | ||
7047 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
7048 | (record_btrace_resume_exec_dir) | |
7049 | (record_btrace_async_inferior_event_handler) | |
7050 | (record_btrace_handle_async_inferior_event): New. | |
7051 | (record_btrace_open): Create async event handler. | |
7052 | (record_btrace_close): Delete async event handler. | |
7053 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
7054 | Mark async event handler. | |
7055 | (record_btrace_execution_direction): New. | |
7056 | (init_record_btrace_ops): Initialize to_execution_direction. | |
7057 | ||
b6210538 DE |
7058 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
7059 | ||
7060 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
7061 | (gdbscm_make_parameter): Ditto. | |
7062 | ||
a5b1fd27 DE |
7063 | 2014-06-03 Doug Evans <dje@google.com> |
7064 | ||
7065 | * exec.c (exec_close_1): Call clear_section_table instead of | |
7066 | resize_section_table. | |
7067 | (clear_section_table): New function. | |
7068 | (resize_section_table): Make static. Rename arg num_added to | |
7069 | adjustment. | |
7070 | * exec.h (clear_section_table): Declare. | |
7071 | (resize_section_table): Delete. | |
7072 | * progspace.c (release_program_space): Call clear_section_table | |
7073 | instead of resize_section_table. | |
7074 | ||
0c6e92a5 SC |
7075 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7076 | ||
7077 | * NEWS (Python Scripting): Add entry about the new xmethods | |
7078 | feature. | |
7079 | ||
883964a7 SC |
7080 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7081 | ||
7082 | * python/py-xmethods.c: New file. | |
7083 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
7084 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
7085 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
7086 | field. | |
7087 | (objfpy_get_xmethods): New function. | |
7088 | (objfile_getset): New entry 'xmethods'. | |
7089 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
7090 | (pspy_dealloc): XDECREF on the new xmethods field. | |
7091 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
7092 | field. | |
7093 | (pspy_get_xmethods): New function. | |
7094 | (pspace_getset): New entry 'xmethods'. | |
7095 | * python/python-internal.h: Add declarations for new functions. | |
7096 | * python/python.c (_initialize_python): Invoke | |
7097 | gdbpy_initialize_xmethods. | |
7098 | * python/lib/gdb/__init__.py (xmethods): New | |
7099 | attribute. | |
7100 | * python/lib/gdb/xmethod.py: New file. | |
7101 | * python/lib/gdb/command/xmethods.py: New file. | |
7102 | ||
58992dc5 SC |
7103 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7104 | ||
7105 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
7106 | best match method returned by find_overload_match is an xmethod. | |
7107 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
7108 | the best matching operator returned by find_overload_match is an | |
7109 | xmethod. | |
7110 | * valops.c: #include "extension.h". | |
7111 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
7112 | Return void. The list of matching source methods is returned in | |
7113 | "fn_list" and a vector of matching debug method workers is | |
7114 | returned in "xm_worker_vec". Update all callers. | |
7115 | (value_find_oload_method_list): Likewise. | |
7116 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
7117 | non-NULL, then the index of the best matching method in this | |
7118 | vector is returned. Update all callers. | |
7119 | (find_overload_match): Include xmethods while performing overload | |
7120 | resolution. | |
7121 | ||
e81e7f5e SC |
7122 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7123 | ||
7124 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
7125 | * extension-priv.h (struct extension_language_ops): Add the | |
7126 | xmethod interface. | |
7127 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
7128 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
7129 | invoke_xmethod, free_xmethod_worker, | |
7130 | free_xmethod_worker_vec): New functions. | |
7131 | * extension.h: #include "common/vec.h". | |
7132 | New function declarations. | |
7133 | (struct xmethod_worker): New struct. | |
7134 | (VEC (xmethod_worker_ptr)): New vector type. | |
7135 | (xmethod_worker_ptr): New typedef. | |
7136 | (xmethod_worker_vec): Likewise. | |
7137 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
7138 | builtin_type. | |
7139 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
7140 | (struct builtin_type): New field "xmethod". | |
7141 | * valarith.c (value_ptradd): Assert that the value argument is not | |
7142 | lval_xcallable. | |
7143 | * valops.c (value_must_coerce_to_target): Return 0 for | |
7144 | lval_xcallable values. | |
7145 | * value.c (struct value): New field XM_WORKER in the field | |
7146 | LOCATION. | |
7147 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
7148 | values. | |
7149 | (set_value_address): Assert that the value is not an | |
7150 | lval_xcallable. | |
7151 | (value_free): Free the associated xmethod worker when freeing | |
7152 | lval_xcallable values. | |
7153 | (set_value_component_location): Assert that the WHOLE value is not | |
7154 | lval_xcallable. | |
7155 | (value_of_xmethod, call_xmethod): New functions. | |
7156 | * value.h: Declare "struct xmethod_worker". | |
7157 | Declare new functions value_of_xmethod, call_xmethod. | |
7158 | ||
ef370185 JB |
7159 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
7160 | Pedro Alves <palves@redhat.com> | |
7161 | ||
7162 | PR breakpoints/17000 | |
7163 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
7164 | New function, extracted from software_breakpoint_inserted_here_p. | |
7165 | (software_breakpoint_inserted_here_p): Replace factored out code | |
7166 | by call to find_non_raw_software_breakpoint_inserted_here. | |
7167 | (bp_target_info_copy_insertion_state): New function. | |
7168 | (bkpt_insert_location): Handle the case of a single-step | |
7169 | breakpoint already inserted at the same address. | |
7170 | (bkpt_remove_location): Handle the case of a single-step | |
7171 | breakpoint still inserted at the same address. | |
7172 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
7173 | breakpoint already inserted at the same address. | |
7174 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
7175 | non-raw breakpoint still inserted at the same address. | |
7176 | (find_single_step_breakpoint): New function, extracted from | |
7177 | single_step_breakpoint_inserted_here_p. | |
7178 | (find_single_step_breakpoint): New function, | |
7179 | factored out from single_step_breakpoint_inserted_here_p. | |
7180 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
7181 | ||
1e2ccb61 BM |
7182 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
7183 | ||
7184 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
7185 | * source.c (show_substitute_path_command): Fix display of matching | |
7186 | substitution rules. | |
7187 | ||
d3448d85 GB |
7188 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
7189 | ||
7190 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
7191 | ||
06eb1586 DE |
7192 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7193 | ||
7194 | Add parameter support for Guile. | |
7195 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
7196 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
7197 | (scm-param.o): New rule. | |
7198 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
7199 | (gdbscm_misc_error): Declare. | |
7200 | (gdbscm_canonicalize_command_name): Declare. | |
7201 | (gdbscm_scm_to_host_string): Declare. | |
7202 | (gdbscm_scm_from_host_string): Declare. | |
7203 | (gdbscm_initialize_parameters): Declare. | |
7204 | * guile/guile.c (initialize_gdb_module): Call | |
7205 | gdbscm_initialize_parameters. | |
7206 | * guile/lib/gdb.scm: Export parameter symbols. | |
7207 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
7208 | cmdscm_canonicalize_name and made public. All callers updated. | |
7209 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
7210 | * guile/scm-param.c: New file. | |
7211 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
7212 | (gdbscm_scm_to_host_string): New function. | |
7213 | (gdbscm_scm_from_host_string): New function. | |
7214 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
7215 | ||
e698b8c4 DE |
7216 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7217 | ||
7218 | Add command support for Guile. | |
7219 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
7220 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
7221 | (scm-cmd.o): New rule. | |
7222 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
7223 | (gdbscm_user_error_p): Declare. | |
7224 | (gdbscm_parse_command_name): Declare. | |
7225 | (gdbscm_valid_command_class_p): Declare. | |
7226 | (gdbscm_initialize_commands): Declare. | |
7227 | * guile/guile.c (initialize_gdb_module): Call | |
7228 | gdbscm_initialize_commands. | |
7229 | * guile/lib/gdb.scm: Export command symbols. | |
7230 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
7231 | (throw-user-error): New function. | |
7232 | * guile/scm-cmd.c: New file. | |
7233 | * guile/scm-exception.c (user_error_symbol): New static global. | |
7234 | (gdbscm_user_error_p): New function. | |
7235 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
7236 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
7237 | ||
fb1f94b0 PM |
7238 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
7239 | ||
7240 | * top.c (command_loop): Handle comments here... | |
7241 | (command_line_input): ... not here. | |
7242 | ||
ded03782 DE |
7243 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7244 | ||
7245 | Add progspace support for Guile. | |
7246 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
7247 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
7248 | (scm-progspace.o): New rule. | |
7249 | * guile/guile-internal.h (pspace_smob): New typedef. | |
7250 | (psscm_pspace_smob_pretty_printers): Declare. | |
7251 | (psscm_pspace_smob_from_pspace): Declare. | |
7252 | (psscm_scm_from_pspace): Declare. | |
7253 | * guile/guile.c (initialize_gdb_module): Call | |
7254 | gdbscm_initialize_pspaces. | |
7255 | * guile/lib/gdb.scm: Export progspace symbols. | |
7256 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
7257 | support. | |
7258 | (append-pretty-printer!): Ditto. | |
7259 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
7260 | Implement. | |
7261 | * guile/scm-progspace.c: New file. | |
7262 | ||
397998fc AM |
7263 | 2014-06-03 Alan Modra <amodra@gmail.com> |
7264 | ||
7265 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
7266 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
7267 | ||
6aa5f3a6 DE |
7268 | 2014-06-02 Doug Evans <dje@google.com> |
7269 | ||
7270 | Add support for skeletonless type units. | |
7271 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
7272 | n_allocated_type_units. | |
7273 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
7274 | nr_all_type_units_reallocs. | |
7275 | (create_signatured_type_table_from_index): Initialize | |
7276 | n_allocated_type_units | |
7277 | (create_all_type_units): Ditto. | |
7278 | (add_type_unit): Move up in file. New arg slot. | |
7279 | All callers updated. Increase space for all_type_units more | |
7280 | efficiently. | |
7281 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
7282 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
7283 | (lookup_dwp_signatured_type): Ditto. | |
7284 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
7285 | All callers updated. | |
7286 | (build_type_psymtabs_1): Leave type_unit_groups as | |
7287 | NULL if no TUs present. | |
7288 | (print_tu_stats): New function. | |
7289 | (process_skeletonless_type_unit): New function. | |
7290 | (process_dwo_file_for_skeletonless_type_units): New | |
7291 | function. | |
7292 | (process_skeletonless_type_units): New function. | |
7293 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
7294 | Call print tu_stats if debugging enabled. | |
7295 | ||
41fac0cf PA |
7296 | 2014-06-02 Pedro Alves <palves@redhat.com> |
7297 | ||
7298 | * breakpoint.c (build_target_command_list): Don't build a command | |
7299 | list if we have any duplicate location that isn't a dprintf. | |
7300 | ||
cd1608cc PA |
7301 | 2014-06-02 Pedro Alves <palves@redhat.com> |
7302 | ||
7303 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
7304 | (initialize_breakpoint_ops): Install it as dprintf's | |
7305 | breakpoint_hit method. | |
7306 | ||
486ef3b9 JB |
7307 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
7308 | ||
7309 | * source.c (substitute_path_rule_matches): Simplify using | |
7310 | filename_ncmp instead of FILENAME_CMP. | |
7311 | ||
230cd560 JB |
7312 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
7313 | ||
7314 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
7315 | ||
16954d5d LC |
7316 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
7317 | ||
7318 | * configure.ac: When Guile is available, check for the | |
7319 | availability of 'scm_new_smob'. | |
7320 | * configure, config.h.in: Regenerate. | |
7321 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
7322 | function. | |
7323 | ||
53e8a631 AB |
7324 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7325 | ||
7326 | * frame.c (struct frame_info): Add stop_string field. | |
7327 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
7328 | (get_prev_frame_always): Old content moved into | |
7329 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
7330 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
7331 | (frame_stop_reason_string): New function definition. | |
7332 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
7333 | mention frame_stop_reason_string. | |
7334 | (frame_stop_reason_string): New function declaration. | |
7335 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
7336 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
7337 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
7338 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
7339 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
7340 | ||
70e38b8e AB |
7341 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7342 | ||
7343 | * frame.c (frame_stop_reason_string): Rename to ... | |
7344 | (unwind_stop_reason_to_string): this. | |
7345 | * frame.h (frame_stop_reason_string): Rename to ... | |
7346 | (unwind_stop_reason_to_string): this. | |
7347 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
7348 | (backtrace_command_1): Likewise. | |
7349 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
7350 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
7351 | ||
938f0e2f AB |
7352 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7353 | ||
7354 | * frame.c (remove_prev_frame): New function. | |
7355 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
7356 | remove_prev_frame. | |
7357 | ||
a09dd441 PA |
7358 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7359 | ||
7360 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
7361 | and make it const. When a single-step decays to a continue, | |
7362 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
7363 | to step to user_visible_resume_ptid, not what we ask the | |
7364 | target to do. | |
7365 | ||
bdc36728 PA |
7366 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7367 | ||
7368 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
7369 | (handle_step_into_function_backward): Adjust. | |
7370 | Don't set the even thread's stop_step and call stop_waiting before | |
7371 | calling end_stepping_range. Instead do that ... | |
7372 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
7373 | ||
22bcd14b PA |
7374 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7375 | ||
7376 | * infrun.c (stop_stepping): Rename to ... | |
7377 | (stop_waiting): ... this. | |
7378 | (proceed): Update comment. | |
7379 | (process_event_stop_test, handle_inferior_event) | |
7380 | (handle_signal_stop, handle_step_into_function) | |
7381 | (handle_step_into_function_backward): Update. | |
7382 | ||
4ae57c05 PA |
7383 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7384 | ||
7385 | * infcall.c (run_inferior_call): Don't check whether the current | |
7386 | thread is running after the proceed call. | |
7387 | ||
329ea579 PA |
7388 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7389 | Tom Tromey <tromey@redhat.com> | |
7390 | ||
7391 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
7392 | background execution commands are now always available. | |
7393 | * target.h (target_async_permitted): Update comment. | |
7394 | * target.c (target_async_permitted, target_async_permitted_1): | |
7395 | Default to 1. | |
7396 | (set_target_async_command): Rename to ... | |
7397 | (maint_set_target_async_command): ... this. | |
7398 | (show_target_async_command): Rename to ... | |
7399 | (maint_show_target_async_command): ... this. | |
7400 | (_initialize_target): Adjust. | |
7401 | * infcmd.c (prepare_execution_command): Make extern. | |
7402 | * inferior.h (prepare_execution_command): Declare. | |
7403 | * infrun.c (set_observer_mode): Leave target async alone. | |
7404 | * mi/mi-interp.c (mi_interpreter_init): Install | |
7405 | mi_on_sync_execution_done as sync_execution_done observer. | |
7406 | (mi_on_sync_execution_done): New function. | |
7407 | (mi_execute_command_input_handler): Don't print the prompt if we | |
7408 | just started a synchronous command with an async target. | |
7409 | (mi_on_resume): Check sync_execution before printing prompt. | |
7410 | * mi/mi-main.h (mi_async_p): Declare. | |
7411 | * mi/mi-main.c: Include gdbcmd.h. | |
7412 | (mi_async_p): New function. | |
7413 | (mi_async, mi_async_1): New globals. | |
7414 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
7415 | functions. | |
7416 | (exec_continue): Call prepare_execution_command. | |
7417 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
7418 | (mi_execute_async_cli_command): Use mi_async_p. | |
7419 | (_initialize_mi_main): Install "set mi-async". Make | |
7420 | "target-async" a deprecated alias. | |
7421 | ||
92bcb5f9 PA |
7422 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7423 | ||
7424 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
7425 | (_initialize_cli_interp): Adjust. | |
7426 | * event-loop.c: Include "observer.h". | |
7427 | (start_event_loop): Notify 'command_error' observers instead of | |
7428 | calling display_gdb_prompt. Remove FIXME comment. | |
7429 | * event-top.c (display_gdb_prompt): Remove call into the | |
7430 | interpreters. | |
7431 | * inf-loop.c: Include "observer.h". | |
7432 | (inferior_event_handler): Notify 'command_error' observers instead | |
7433 | of calling display_gdb_prompt. | |
7434 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
7435 | observers instead of calling display_gdb_prompt. | |
7436 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
7437 | (current_interp_display_prompt_p): Delete. | |
7438 | * interps.h (interp_prompt_p): Delete declaration. | |
7439 | (interp_prompt_p_ftype): Delete. | |
7440 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
7441 | (current_interp_display_prompt_p): Delete declaration. | |
7442 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
7443 | (_initialize_mi_interp): Adjust. | |
7444 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
7445 | 'command_error' observers. | |
7446 | (tui_on_sync_execution_done, tui_on_command_error): New | |
7447 | functions. | |
7448 | (tui_display_prompt_p): Delete. | |
7449 | (_initialize_tui_interp): Adjust. | |
7450 | ||
fd664c91 PA |
7451 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7452 | ||
7453 | PR gdb/13860 | |
7454 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
7455 | (cli_uiout, cli_interp): New globals. | |
7456 | (cli_on_signal_received, cli_on_end_stepping_range) | |
7457 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
7458 | functions. | |
7459 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
7460 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7461 | observers. | |
7462 | (_initialize_cli_interp): Remove cli_interp local. | |
7463 | * infrun.c (handle_inferior_event): Call the several stop reason | |
7464 | observers instead of printing the stop reason directly. | |
7465 | (end_stepping_range): New function. | |
7466 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
7467 | (print_exited_reason, print_signal_received_reason) | |
7468 | (print_no_history_reason): Make static, and add an uiout | |
7469 | parameter. Print to that instead of to CURRENT_UIOUT. | |
7470 | * infrun.h (print_end_stepping_range_reason) | |
7471 | (print_signal_exited_reason, print_exited_reason) | |
7472 | (print_signal_received_reason print_no_history_reason): New | |
7473 | declarations. | |
7474 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
7475 | 'mi_uiout'. | |
7476 | <cli_uiout>: New field. | |
7477 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
7478 | uiout for CLI output. Install 'signal_received', | |
7479 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
7480 | observers. | |
7481 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
7482 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
7483 | (mi_on_no_history): New functions. | |
7484 | (ui_out_free_cleanup): Delete function. | |
7485 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
7486 | instead use the one already stored in the MI interpreter data. | |
7487 | (mi_ui_out): Adjust. | |
7488 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
7489 | (tui_interp): New global. | |
7490 | (tui_on_signal_received, tui_on_end_stepping_range) | |
7491 | (tui_on_signal_exited, tui_on_exited) | |
7492 | (tui_on_no_history): New functions. | |
7493 | (tui_init): Install them as 'end_stepping_range', | |
7494 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7495 | observers. | |
7496 | (_initialize_tui_interp): Delete tui_interp local. | |
7497 | ||
8817a6f2 PA |
7498 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7499 | ||
7500 | PR gdb/15713 | |
7501 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
7502 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
7503 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
7504 | before resuming sibling lwps. Instead ask | |
7505 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
7506 | stopped after actually resuming it. | |
7507 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
7508 | resuming it. | |
7509 | (wait_lwp): Mark the lwp as stopped here. | |
7510 | (stop_wait_callback): Mark the lwp as not stopped right after | |
7511 | resuming it. Don't mark lwps as stopped here. | |
7512 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
7513 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
7514 | ||
251bde03 PA |
7515 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7516 | ||
7517 | PR PR15693 | |
7518 | * infrun.c (resume): Determine how much to resume depending on | |
7519 | whether the caller wanted a step, not whether we can hardware step | |
7520 | the target. Mark all threads that we intend to run as running, | |
7521 | unless we're calling an inferior function. | |
7522 | (normal_stop): If the thread is running an infcall, don't finish | |
7523 | thread state. | |
7524 | * target.c (target_resume): Don't mark threads as running here. | |
7525 | ||
7f3c0343 JB |
7526 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
7527 | ||
7528 | * serial.c (_initialize_serial): Remove support for | |
7529 | the "set remotebaud" and "show remotebaud" commands. | |
7530 | * NEWS: Add entry documenting the removal of that command. | |
7531 | ||
ee34b3f9 YQ |
7532 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
7533 | ||
7534 | * charset.c: Fix typo in comments. | |
7535 | ||
add6c04d GB |
7536 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
7537 | ||
7538 | * utils.c (internal_vproblem): Prompt for a bug report. | |
7539 | ||
92c48fc5 AW |
7540 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7541 | ||
7542 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
7543 | * guile/scm-block.c (bkscm_mark_block_smob) | |
7544 | (bkscm_mark_block_syms_progress_smob): | |
7545 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
7546 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
7547 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
7548 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
7549 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
7550 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
7551 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
7552 | (ppscm_mark_pretty_printer_worker_smob): | |
7553 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
7554 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
7555 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
7556 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
7557 | mark functions. | |
7558 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
7559 | function. | |
7560 | ||
b2715b27 AW |
7561 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7562 | Doug Evans <xdje42@gmail.com> | |
7563 | ||
7564 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
7565 | empty_base_class. All uses updated. | |
7566 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
7567 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
7568 | Adapt all callers. | |
7569 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
7570 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
7571 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
7572 | (gdbscm_gsmob_has_property_p, add_property_name) | |
7573 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
7574 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
7575 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
7576 | (gdb-object-kind): Renamed from gsmob-kind. | |
7577 | ||
214ab2da AW |
7578 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7579 | ||
7580 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
7581 | * configure: Regenerate. | |
7582 | ||
589fdceb MM |
7583 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
7584 | ||
7585 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
7586 | ||
67b5c0c1 MM |
7587 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
7588 | ||
7589 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
7590 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
7591 | (replay_memory_access_types, replay_memory_access) | |
7592 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
7593 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
7594 | (cmd_show_replay_memory_access): New. | |
7595 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
7596 | (record_btrace_remove_breakpoint): Replace | |
7597 | record_btrace_allow_memory_access with replay_memory_access. | |
7598 | (_initialize_record_btrace): Add commands. | |
7599 | * NEWS: Announce it. | |
7600 | ||
036cd381 RR |
7601 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7602 | ||
7603 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
7604 | ||
c77c1e42 RR |
7605 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7606 | ||
7607 | * MAINTAINERS (Write After Approval): Move self back from | |
7608 | paper trail. | |
7609 | ||
45741a9c PA |
7610 | 2014-05-22 Pedro Alves <palves@redhat.com> |
7611 | ||
7612 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
7613 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
7614 | (disable_randomization, enum exec_direction_kind) | |
7615 | (execution_direction, stop_registers, start_remote) | |
7616 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
7617 | (wait_for_inferior, normal_stop, get_last_target_status) | |
7618 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
7619 | (insert_step_resume_breakpoint_at_sal) | |
7620 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
7621 | (set_step_info, print_stop_event, signal_stop_state) | |
7622 | (signal_print_state, signal_pass_state, signal_stop_update) | |
7623 | (signal_print_update, signal_pass_update) | |
7624 | (update_signals_program_target, clear_exit_convenience_vars) | |
7625 | (displaced_step_dump_bytes, update_observer_mode) | |
7626 | (signal_catch_update, gdb_signal_from_command): Move | |
7627 | declarations ... | |
7628 | * infrun.h: ... to this new file. | |
7629 | * amd64-tdep.c: Include infrun.h. | |
7630 | * annotate.c: Include infrun.h. | |
7631 | * arch-utils.c: Include infrun.h. | |
7632 | * arm-linux-tdep.c: Include infrun.h. | |
7633 | * arm-tdep.c: Include infrun.h. | |
7634 | * break-catch-sig.c: Include infrun.h. | |
7635 | * breakpoint.c: Include infrun.h. | |
7636 | * common/agent.c: Include infrun.h instead of inferior.h. | |
7637 | * corelow.c: Include infrun.h. | |
7638 | * event-top.c: Include infrun.h. | |
7639 | * go32-nat.c: Include infrun.h. | |
7640 | * i386-tdep.c: Include infrun.h. | |
7641 | * inf-loop.c: Include infrun.h. | |
7642 | * infcall.c: Include infrun.h. | |
7643 | * infcmd.c: Include infrun.h. | |
7644 | * infrun.c: Include infrun.h. | |
7645 | * linux-fork.c: Include infrun.h. | |
7646 | * linux-nat.c: Include infrun.h. | |
7647 | * linux-thread-db.c: Include infrun.h. | |
7648 | * monitor.c: Include infrun.h. | |
7649 | * nto-tdep.c: Include infrun.h. | |
7650 | * procfs.c: Include infrun.h. | |
7651 | * record-btrace.c: Include infrun.h. | |
7652 | * record-full.c: Include infrun.h. | |
7653 | * remote-m32r-sdi.c: Include infrun.h. | |
7654 | * remote-mips.c: Include infrun.h. | |
7655 | * remote-notif.c: Include infrun.h. | |
7656 | * remote-sim.c: Include infrun.h. | |
7657 | * remote.c: Include infrun.h. | |
7658 | * reverse.c: Include infrun.h. | |
7659 | * rs6000-tdep.c: Include infrun.h. | |
7660 | * s390-linux-tdep.c: Include infrun.h. | |
7661 | * solib-irix.c: Include infrun.h. | |
7662 | * solib-osf.c: Include infrun.h. | |
7663 | * solib-svr4.c: Include infrun.h. | |
7664 | * target.c: Include infrun.h. | |
7665 | * top.c: Include infrun.h. | |
7666 | * windows-nat.c: Include infrun.h. | |
7667 | * mi/mi-interp.c: Include infrun.h. | |
7668 | * mi/mi-main.c: Include infrun.h. | |
7669 | * python/py-threadevent.c: Include infrun.h. | |
7670 | ||
98eb56a4 PA |
7671 | 2014-05-22 Pedro Alves <palves@redhat.com> |
7672 | ||
7673 | * infrun.c (handle_inferior_event): Store the exit code for | |
7674 | --return-child-result here, instead of ... | |
7675 | (print_exited_reason): ... here. | |
7676 | ||
17b2616c PA |
7677 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7678 | ||
7679 | PR gdb/13860 | |
7680 | * gdbthread.h (struct thread_control_state): New field | |
7681 | `command_interp'. | |
7682 | * infrun.c (follow_fork): Copy the new thread control field to the | |
7683 | child fork thread. | |
7684 | (clear_proceed_status_thread): Clear the new thread control field. | |
7685 | (proceed): Set the new thread control field. | |
7686 | * interps.h (command_interp): Declare. | |
7687 | * interps.c (command_interpreter): New global. | |
7688 | (command_interp): New function. | |
7689 | (interp_exec): Set `command_interpreter' while here. | |
7690 | * cli-out.c (cli_uiout_dtor): New function. | |
7691 | (cli_ui_out_impl): Install it. | |
7692 | * mi/mi-interp.c: Include cli-out.h. | |
7693 | (mi_cmd_interpreter_exec): Add comment. | |
7694 | (restore_current_uiout_cleanup): New function. | |
7695 | (ui_out_free_cleanup): New function. | |
7696 | (mi_on_normal_stop): If finishing an execution command started by | |
7697 | a CLI command, or any kind of breakpoint-like event triggered, | |
7698 | print the stop event to the output (CLI) stream. | |
7699 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
7700 | ||
5166082f PA |
7701 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7702 | ||
7703 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
7704 | current source line having changed. | |
7705 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
7706 | * infrun.c (normal_stop): Adjust call to | |
7707 | set_current_sal_from_frame. | |
7708 | * source.c (clear_lines_listed_range): New function. | |
7709 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
7710 | the lines listed range. | |
7711 | (line_info): Handle the first "info line" after the current source | |
7712 | line having changed. | |
7713 | * stack.c (print_stack_frame): Remove center handling. | |
7714 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
7715 | center sal.line. | |
7716 | ||
c1ee2fb3 PA |
7717 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7718 | ||
7719 | * inf-child.c (inf_child_mourn_inferior): New function. | |
7720 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
7721 | * darwin-nat.c (darwin_mourn_inferior): Use | |
7722 | inf_child_mourn_inferior. | |
7723 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
7724 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
7725 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
7726 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
7727 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
7728 | ||
5c6d4fb2 DE |
7729 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
7730 | ||
250748cb | 7731 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 7732 | |
4a2722c5 DE |
7733 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
7734 | ||
17292b30 | 7735 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
7736 | (gdbscm_out_of_range_error): Ditto. |
7737 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
7738 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
7739 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
7740 | (gdbscm_out_of_range_error): Update. |
7741 | (gdbscm_memory_error): Update. | |
7742 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
7743 | ||
6a3cb8e8 PA |
7744 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7745 | ||
7746 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
7747 | globals. | |
7748 | (inf_child_open_target): New function. | |
7749 | (inf_child_open): Use inf_child_open_target to push the target | |
7750 | instead of erroring out. | |
7751 | (inf_child_disconnect, inf_child_close) | |
7752 | (inf_child_maybe_unpush_target): New functions. | |
7753 | (inf_child_target): Install inf_child_disconnect and | |
7754 | inf_child_close. Store a pointer to the returned object. | |
7755 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
7756 | declarations. | |
7757 | * target.c (auto_connect_native_target): New global. | |
7758 | (show_default_run_target): New function. | |
7759 | (find_default_run_target): Return NULL if automatically connecting | |
7760 | to the native target is disabled. | |
7761 | (_initialize_target): Install set/show auto-connect-native-target. | |
7762 | * NEWS: Mention "set auto-connect-native-target", and "target | |
7763 | native". | |
7764 | * linux-nat.c (super_close): New global. | |
7765 | (linux_nat_close): Call super_close. | |
7766 | (linux_nat_add_target): Store a pointer to the base class's | |
7767 | to_close method. | |
7768 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
7769 | inf_child_maybe_unpush. | |
7770 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
7771 | already pushed. | |
7772 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
7773 | the inferior. Use inf_child_maybe_unpush_target. | |
7774 | (inf_ttrace_attach): Don't push the target if it is already | |
7775 | pushed. | |
7776 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
7777 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
7778 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
7779 | (darwin_attach_pid): Don't push the target if it is already | |
7780 | pushed. | |
7781 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
7782 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
7783 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
7784 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
7785 | is already pushed. | |
7786 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
7787 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
7788 | (procfs_open): Rename to ... | |
7789 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
7790 | comments. Can target_preopen before changing node. Call | |
7791 | inf_child_open_target to push the target explicitly. | |
7792 | (procfs_attach): Don't push the target if it is already pushed. | |
7793 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
7794 | (procfs_create_inferior): Don't push the target if it is already | |
7795 | pushed. | |
7796 | (nto_native_ops): New global. | |
7797 | (procfs_open): Reimplement. | |
7798 | (procfs_native_open): New function. | |
7799 | (init_procfs_targets): Install procfs_native_open as to_open of | |
7800 | "target native". Store a pointer to the "native" target in | |
7801 | nto_native_ops. | |
7802 | * procfs.c (procfs_attach): Don't push the target if it is already | |
7803 | pushed. | |
7804 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
7805 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
7806 | inferior. Use inf_child_maybe_unpush_target. | |
7807 | (procfs_init_inferior): Don't push the target if it is already | |
7808 | pushed. | |
7809 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
7810 | if it is already pushed. | |
7811 | ||
930ee1b1 PA |
7812 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7813 | ||
7814 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
7815 | and "procfs" targets are now called "native" instead. | |
7816 | ||
1f5d1b13 PA |
7817 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7818 | ||
7819 | * go32-nat.c (go32_open): Delete. | |
7820 | (go32_target): Don't override the to_open method. | |
7821 | ||
132f8e03 PA |
7822 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7823 | ||
7824 | * nto-procfs.c (procfs_can_run): New function. | |
7825 | (nto_procfs_ops): New global. | |
7826 | (init_procfs_targets): New, based on procfs_target. Install | |
7827 | "target native" in addition to "target procfs". | |
7828 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
7829 | the target here. | |
7830 | ||
03c136c3 PA |
7831 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7832 | ||
7833 | * windows-nat.c (windows_target): Don't override to_shortname, | |
7834 | to_longname or to_doc. | |
7835 | ||
a635d0f3 PA |
7836 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7837 | ||
7838 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
7839 | to_doc. | |
7840 | ||
4f9b5133 PA |
7841 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7842 | ||
7843 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
7844 | to_shortname, to_longname or to_doc. | |
7845 | ||
bc85afde PA |
7846 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7847 | ||
7848 | * go32-nat.c (go32_target): Don't override to_shortname, | |
7849 | to_longname or to_doc. | |
7850 | ||
4ebfc96e PA |
7851 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7852 | ||
7853 | * inf-child.c (inf_child_open): Remove mention of "child". | |
7854 | (inf_child_target): Rename target to "native" instead of "child". | |
7855 | ||
2648dfed AA |
7856 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7857 | ||
7858 | * Makefile.in (SFILES): Delete "regset.c". | |
7859 | (COMMON_OBS): Delete "regset.o". | |
7860 | * regset.c: Remove. | |
7861 | * regset.h (regset_alloc): Delete prototype. | |
7862 | ||
b13feb94 AA |
7863 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7864 | ||
7865 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
7866 | (sparc32_linux_fpregset): New static regset structures. | |
7867 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
7868 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
7869 | 'fpregset' fields. | |
7870 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
7871 | (sparc64_linux_fpregset): New static regset structures. | |
7872 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
7873 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
7874 | New static regset structures. | |
7875 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
7876 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
7877 | New static regset structures. | |
7878 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
7879 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
7880 | New static regset structures. | |
7881 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
7882 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
7883 | New static regset structures. | |
7884 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
7885 | ||
b4fd25c9 AA |
7886 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7887 | ||
7888 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
7889 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
7890 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
7891 | for all regmap types and variables. | |
7892 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
7893 | (sparc32_linux_supply_core_gregset) | |
7894 | (sparc32_linux_collect_core_gregset) | |
7895 | (sparc32_linux_supply_core_fpregset) | |
7896 | (sparc32_linux_collect_core_fpregset): Likewise. | |
7897 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
7898 | (sparc_gregmap, sparc_fpregmap): ... these. | |
7899 | (sparc_supply_gregset, sparc_collect_gregset) | |
7900 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
7901 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
7902 | (_initialize_sparc_nat): Rename regmaps. | |
7903 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
7904 | (sparc_gregmap, sparc_fpregmap): ... these. | |
7905 | (sparc_supply_gregset, sparc_collect_gregset) | |
7906 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
7907 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
7908 | Rename macros to... | |
7909 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
7910 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
7911 | Likewise. | |
7912 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
7913 | Rename to... | |
7914 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
7915 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
7916 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
7917 | regmaps. | |
7918 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
7919 | (sparc32_bsd_fpregset): Rename to... | |
7920 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
7921 | (sparc32_bsd_fpregmap): ... these. | |
7922 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
7923 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
7924 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
7925 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
7926 | (struct sparc_gregmap, struct sparc_fpregmap) | |
7927 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
7928 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
7929 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
7930 | (sparc32_supply_regset, sparc32_collect_gregset) | |
7931 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
7932 | prototypes. | |
7933 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
7934 | (sparc64_linux_ptrace_gregmap): ... this. | |
7935 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
7936 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
7937 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
7938 | (sparc64_linux_core_gregmap): ... this. | |
7939 | (sparc64_linux_supply_core_gregset) | |
7940 | (sparc64_linux_collect_core_gregset) | |
7941 | (sparc64_linux_supply_core_fpregset) | |
7942 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
7943 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
7944 | (sparc64_sol2_fpregset): Rename to... | |
7945 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
7946 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
7947 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
7948 | regmaps. | |
7949 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
7950 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
7951 | (sparc64_bsd_fpregset): Rename to... | |
7952 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
7953 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
7954 | (sparc64_bsd_fpregmap): ... these. | |
7955 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
7956 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
7957 | prototypes. | |
7958 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
7959 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
7960 | (sparc64fbsd_gregmap): ... this. | |
7961 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
7962 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
7963 | Rename regmaps. | |
7964 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
7965 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
7966 | (sparc64nbsd_collect_fpregset): Likewise. | |
7967 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
7968 | (sparc64nbsd_gregmap): ... this. | |
7969 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
7970 | regmaps. | |
7971 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
7972 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
7973 | (sparc64obsd_gregmap): ... this. | |
7974 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
7975 | regmaps. | |
7976 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
7977 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
7978 | (sparc32nbsd_gregmap): ... this. | |
7979 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
7980 | regmaps. | |
7981 | ||
8fea3224 AA |
7982 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7983 | ||
7984 | * score-tdep.c (score7_linux_gregset): New static regset | |
7985 | structure. | |
7986 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
7987 | allocation. | |
7988 | (score_gdbarch_init): Drop allocation of tdep structure. | |
7989 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
7990 | ||
24534243 AA |
7991 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7992 | ||
7993 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
7994 | regset structures. | |
7995 | (am33_regset_from_core_section): Remove dynamic regset | |
7996 | allocations. | |
7997 | ||
b7195f27 AA |
7998 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7999 | ||
8000 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
8001 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
8002 | structures. | |
8003 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
8004 | allocations. | |
8005 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8006 | 'gregset64', 'fpregset', and 'fpregset64'. | |
8007 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
8008 | deleted tdep fields. | |
8009 | ||
ecc37a5a AA |
8010 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8011 | ||
8012 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
8013 | regset structures. | |
8014 | (amd64_regset_from_core_section): Remove dynamic regset | |
8015 | allocations. | |
8016 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
8017 | structure. | |
8018 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
8019 | allocation. | |
8020 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
8021 | Likewise. | |
8022 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
8023 | x86-common regset supply function. | |
8024 | * i386-tdep.c (i386_collect_gregset): Make static. | |
8025 | (i386_gregset): New global regset structure. | |
8026 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
8027 | (i386_regset_from_core_section): Remove dynamic regset | |
8028 | allocations. | |
8029 | (i386_gdbarch_init): Remove initialization of tdep fields | |
8030 | 'gregset', 'fpregset', and 'xstateregset'. | |
8031 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8032 | 'fpregset', and 'xstateregset'. | |
8033 | (i386_collect_gregset): Remove prototype. | |
8034 | (i386_gregset): New declaration. | |
8035 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
8036 | structure. | |
8037 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
8038 | allocation. | |
8039 | ||
b7611c43 AA |
8040 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8041 | ||
8042 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
8043 | (arm_linux_vfpregset): New static regset structures. | |
8044 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
8045 | regset structures. | |
8046 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
8047 | and 'vfpregset' fields. | |
8048 | ||
a069a2bd AA |
8049 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8050 | ||
8051 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
8052 | (aarch64_linux_fpregset): New static regset structures. | |
8053 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
8054 | of regset structures. | |
8055 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
8056 | 'fpregset' fields. | |
8057 | ||
09424cff AA |
8058 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8059 | ||
8060 | * regset.h (struct regset): Remove gdbarch field. | |
8061 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
8062 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8063 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
8064 | Likewise. | |
8065 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
8066 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
8067 | (ppc32_linux_vsxregset): Likewise. | |
8068 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
8069 | via the regcache instead of the regset. | |
8070 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
8071 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
8072 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
8073 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
8074 | Likewise. | |
8075 | ||
3ca7dae4 AA |
8076 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8077 | ||
8078 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
8079 | Constify structures. | |
8080 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
8081 | (alphanbsd_aout_gregset): Likewise. | |
8082 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
8083 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
8084 | Likewise. | |
8085 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
8086 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
8087 | Likewise. | |
8088 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
8089 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
8090 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
8091 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
8092 | * m88k-tdep.c (m88k_gregset): Likewise. | |
8093 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
8094 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
8095 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8096 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
8097 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8098 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8099 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8100 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8101 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
8102 | Likewise. | |
8103 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
8104 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
8105 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
8106 | * vax-tdep.c (vax_gregset): Likewise. | |
8107 | ||
5876f503 JK |
8108 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
8109 | ||
8110 | Fix TLS access for -static -pthread. | |
8111 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
8112 | (try_thread_db_load_1): Initialize it. | |
8113 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
8114 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
8115 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
8116 | load_module_addr comment. | |
8117 | ||
0256a6ac PA |
8118 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8119 | ||
8120 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
8121 | fails, fallback to reading just the memory the caller wanted. | |
8122 | ||
227533ac DE |
8123 | 2014-05-20 Doug Evans <dje@google.com> |
8124 | ||
8125 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
8126 | instead of get_current_arch. | |
8127 | ||
936d2992 PA |
8128 | 2014-05-20 Pedro Alves <palves@redhat.com> |
8129 | ||
8130 | * NEWS: Mention that compare-sections now works with all targets. | |
8131 | ||
8132 | * remote.c (PACKET_qCRC): New enum value. | |
8133 | (remote_verify_memory): Don't send qCRC if the target has no | |
8134 | execution. Use packet_support/packet_ok. If the target doesn't | |
8135 | support the qCRC packet, fallback to a deep memory copy. | |
8136 | (compare_sections_command): Say "target image" instead of "remote | |
8137 | executable". | |
8138 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
8139 | packets that have no associated command. Extend comment. | |
8140 | * target.c (simple_verify_memory, default_verify_memory): New | |
8141 | function. | |
8142 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
8143 | default_verify_memory. | |
8144 | (simple_verify_memory): New declaration. | |
8145 | * target-delegates.c: Regenerate. | |
8146 | ||
e59fa00f MM |
8147 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
8148 | ||
8149 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
8150 | ||
f2205de0 HZ |
8151 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
8152 | Yao Qi <yao@codesourcery.com> | |
8153 | ||
8154 | PR backtrace/16558 | |
8155 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
8156 | and change address of sp and pc. | |
8157 | ||
c4e54771 TT |
8158 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
8159 | ||
8160 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
8161 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
8162 | ||
73051182 DE |
8163 | 2014-05-19 Doug Evans <dje@google.com> |
8164 | ||
8165 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
8166 | build_type_unit_groups and moved closer to only caller. Remove | |
8167 | arguments. All references updated. Remove outdated .gdb_index | |
8168 | comment. | |
8169 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
8170 | build_type_psymtabs_1. | |
8171 | ||
8832e7e3 DE |
8172 | 2014-05-19 Doug Evans <dje@google.com> |
8173 | ||
8174 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
8175 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
8176 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
8177 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
8178 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
8179 | (add_type_unit_group_to_table): Delete. | |
8180 | ||
cd8ae15e DE |
8181 | 2014-05-19 Doug Evans <dje@google.com> |
8182 | ||
8183 | * eval.c (evaluate_subexp_standard): Add some comments. | |
8184 | ||
08f4850b DE |
8185 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
8186 | ||
8187 | * progspace.c (remove_program_space): Delete, unused. | |
8188 | * progspace.h (remove_program_space): Ditto. | |
8189 | ||
bed8455c DE |
8190 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
8191 | ||
8192 | * inferior.c (prune_inferiors): Fix comment. | |
8193 | (remove_inferior_command): Call prune_program_spaces. | |
8194 | ||
8d551b02 DE |
8195 | 2014-05-16 Doug Evans <dje@google.com> |
8196 | ||
8197 | New command line option -D. | |
8198 | * NEWS: Mention it. | |
8199 | * main.c (set_gdb_data_directory): New function. | |
8200 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
8201 | Call set_gdb_data_directory. | |
8202 | (print_gdb_help): Print --data-directory, -D. | |
8203 | * main.h (set_gdb_data_directory): Declare. | |
8204 | * top.c (staged_gdb_datadir): New static global. | |
8205 | (set_gdb_datadir): Call set_gdb_data_directory | |
8206 | (show_gdb_datadir): New function. | |
8207 | (init_main): Update init of data-directory parameter. | |
8208 | ||
18848e28 GF |
8209 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
8210 | ||
8211 | Import the "dirfd" gnulib module. | |
8212 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
8213 | * gnulib/aclocal.m4: Update. | |
8214 | * gnulib/config.in: Update. | |
8215 | * gnulib/configure: Update. | |
8216 | * gnulib/import/Makefile.am: Update. | |
8217 | * gnulib/import/Makefile.in: Update. | |
8218 | * gnulib/import/dirfd.c: New. | |
8219 | * gnulib/import/m4/dirfd.m4: New. | |
8220 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
8221 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
8222 | ||
95c64f92 YQ |
8223 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
8224 | Yao Qi <yao@codesourcery.com> | |
8225 | ||
8226 | * valprint.c (print_wchar): Move the code on checking whether | |
8227 | W is a printable wide char to the default branch of switch | |
8228 | statement below. Call wchar_printable instead of gdb_iswprint. | |
8229 | ||
cac395ea TM |
8230 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
8231 | ||
19679eca | 8232 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
8233 | ldr.w and ldrd instructions. |
8234 | ||
83655187 DE |
8235 | 2014-05-15 Doug Evans <dje@google.com> |
8236 | ||
8237 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
8238 | ||
dd756689 TT |
8239 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
8240 | ||
8241 | * macrocmd.c (print_macro_definition): Reindent. | |
8242 | ||
75ddda77 DE |
8243 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
8244 | ||
8245 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
8246 | (completers): Make const. | |
8247 | ||
b0f16a3e SM |
8248 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
8249 | ||
8250 | * infrun.c (resume): Remove should_resume (unused). Move up | |
8251 | declaration of resume_ptid. | |
8252 | ||
033c3379 TT |
8253 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
8254 | ||
8255 | * language.h (unop_type_check): Remove. | |
8256 | (binop_type_check): Don't declare. | |
8257 | ||
9b44a3a5 AA |
8258 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
8259 | ||
8260 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
8261 | call to regcache_raw_collect. | |
8262 | ||
303a33fa SM |
8263 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
8264 | ||
8265 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
8266 | mi_console->quote as the quoting character. | |
8267 | ||
196100a0 SM |
8268 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
8269 | ||
8270 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
8271 | ||
f989a1c8 TT |
8272 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
8273 | ||
8274 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
8275 | "show debug varobj". | |
8276 | ||
9404b58f KM |
8277 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
8278 | ||
8279 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
8280 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
8281 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
8282 | with aarch64_software_single_step. | |
8283 | ||
5e49ba57 JB |
8284 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
8285 | ||
8286 | GDB 7.7.1 released. | |
8287 | ||
c888a17d KS |
8288 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
8289 | ||
8290 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
8291 | variable or history value is successfully parsed. | |
8292 | ||
290a839c YQ |
8293 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
8294 | Pedro Alves <palves@redhat.com> | |
8295 | ||
8296 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
8297 | address of blocks that intersects the requested range. Trim | |
8298 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
8299 | sections. | |
8300 | * ctf.c (ctf_xfer_partial): Likewise. | |
8301 | ||
91256dc2 YQ |
8302 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
8303 | ||
8304 | * printcmd.c (display_command): Remove the check to | |
8305 | target_has_execution. | |
8306 | ||
07284463 MK |
8307 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
8308 | ||
8309 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
8310 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
8311 | add_target. | |
8312 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
8313 | ||
30a1e6cc SDJ |
8314 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8315 | ||
8316 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
8317 | and 16-bit signed and unsigned arguments. Update comment. | |
8318 | (stap_parse_probe_arguments): Extend code to handle such | |
8319 | arguments. Use warning instead of complaint to notify about | |
8320 | unrecognized bitness. | |
8321 | ||
f33da99a SDJ |
8322 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8323 | ||
8324 | PR breakpoints/16889 | |
8325 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
8326 | check for non-prefixed probes (i.e., probes whose | |
8327 | arguments do not start with "N@"). Always set the | |
8328 | argument type to a sane value. | |
8329 | ||
95cf3b38 DT |
8330 | 2014-05-01 David Taylor <dtaylor@emc.com> |
8331 | ||
8332 | * remote.c (compare_sections_command): Add -r option to compare | |
8333 | all loadable read-only sections. | |
8334 | ||
1cfdf534 SC |
8335 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
8336 | ||
8337 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
8338 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
8339 | Update all callers. | |
8340 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
8341 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
8342 | Remove unused CORE_ADDR argument. Update all callers. | |
8343 | ||
ca4f7f8b PA |
8344 | 2014-04-29 Pedro Alves <palves@redhat.com> |
8345 | ||
8346 | * remote.c (struct packet_config) <detect>: Extend comment. | |
8347 | (add_packet_config_cmd): Don't set the config's detect or support | |
8348 | fields here. | |
8349 | (init_all_packet_configs): Also initialize the config's 'detect' | |
8350 | field. | |
8351 | (reset_all_packet_configs_support): New function. | |
8352 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
8353 | init_all_packet_configs. | |
8354 | (_initialize_remote): Initialize all packet configs. Assert that | |
8355 | all packets have an associated command, except a few known | |
8356 | outliers. | |
8357 | ||
11c1ba78 JB |
8358 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8359 | ||
8360 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
8361 | DW_AT_lower_bound attributes. | |
8362 | ||
8739bc53 JB |
8363 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8364 | ||
8365 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
8366 | dynamic bounds before computing its upper bound. | |
8367 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
8368 | ||
6f8a3220 JB |
8369 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8370 | ||
8371 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
8372 | range types. Adjust the array handling implementation to | |
8373 | take advantage of this change. | |
8374 | (resolve_dynamic_range): New function, mostly extracted from | |
8375 | resolve_dynamic_bounds. | |
8376 | (resolve_dynamic_array): New function, mostly extracted from | |
8377 | resolve_dynamic_bounds. | |
8378 | (resolve_dynamic_bounds): Delete. | |
8379 | (resolve_dynamic_type): Reimplement. Add handling of | |
8380 | TYPE_CODE_RANGE types. | |
8381 | ||
4d072ce4 JB |
8382 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8383 | ||
8384 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
8385 | handling of parallel ___XA types. | |
8386 | ||
52865325 JB |
8387 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8388 | ||
8389 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
8390 | unnecessary second call to static_unwrap_type. | |
8391 | ||
433e77fa HZ |
8392 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
8393 | ||
8394 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
8395 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
8396 | ||
b51a69ee DE |
8397 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
8398 | ||
8399 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
8400 | ||
7ae1a6a6 PA |
8401 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8402 | ||
8403 | PR server/16255 | |
8404 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
8405 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
8406 | and newline from built string. | |
8407 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
8408 | (linux_ptrace_attach_fail_reason): ... this. | |
8409 | * linux-nat.c (linux_nat_attach): Adjust to use | |
8410 | linux_ptrace_attach_fail_reason. | |
8411 | ||
4082afcc PA |
8412 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8413 | ||
8414 | * remote.c (struct remote_state): Remove multi_process_aware, | |
8415 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
8416 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
8417 | install_in_trace, disconnected_tracing, | |
8418 | enable_disable_tracepoints, string_tracing, and | |
8419 | augmented_libraries_svr4_read fields. | |
8420 | (remote_multi_process_p): Move further below in the file. | |
8421 | (struct packet_config): Add comments. | |
8422 | (update_packet_config): Delete function. | |
8423 | (show_packet_config_cmd): Use packet_config_support. | |
8424 | (add_packet_config_cmd): Use NULL as set callback. | |
8425 | (packet_ok): "set remote foo-packet"-style commands no longer | |
8426 | change config->supported -- adjust. | |
8427 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
8428 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
8429 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
8430 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
8431 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
8432 | (PACKET_DisconnectedTracing_feature) | |
8433 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
8434 | (set_remote_protocol_packet_cmd): Delete function. | |
8435 | (packet_config_support, packet_support): New functions. | |
8436 | (set_remote_protocol_Z_packet_cmd): Don't call | |
8437 | update_packet_config. | |
8438 | (remote_query_attached, remote_pass_signals) | |
8439 | (remote_program_signals, remote_threads_info) | |
8440 | (remote_threads_extra_info, remote_start_remote): Use | |
8441 | packet_support. | |
8442 | (remote_start_remote): Use packet_config_support and | |
8443 | packet_support. | |
8444 | (init_all_packet_configs): Set all packets to unknown support, | |
8445 | instead of calling update_packet_config. | |
8446 | (remote_check_symbols): Use packet_support. | |
8447 | (remote_supported_packet): Unconditionally set the packet config's | |
8448 | support status. | |
8449 | (remote_multi_process_feature, remote_non_stop_feature) | |
8450 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
8451 | (remote_breakpoint_commands_feature) | |
8452 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
8453 | (remote_install_in_trace_feature) | |
8454 | (remote_disconnected_tracing_feature) | |
8455 | (remote_enable_disable_tracepoint_feature) | |
8456 | (remote_string_tracing_feature) | |
8457 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
8458 | (remote_protocol_features): Adjust to use remote_supported_packet | |
8459 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
8460 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
8461 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
8462 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
8463 | "EnableDisableTracepoints", and "tracenz". | |
8464 | (remote_query_supported): Use packet_support. | |
8465 | (remote_open_1): Adjust. | |
8466 | (extended_remote_attach_1): Use packet_support. Switch on the | |
8467 | result of packet_ok instead of checking whether the packet ended | |
8468 | up disabled. | |
8469 | (remote_vcont_resume): Use packet_support. | |
8470 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
8471 | (remote_prepare_to_store, store_register_using_P) | |
8472 | (check_binary_download, remote_write_bytes): Use packet_support. | |
8473 | (remote_vkill): Use packet_support. Switch on the result of | |
8474 | packet_ok instead of checking whether the packet ended up | |
8475 | disabled. | |
8476 | (extended_remote_supports_disable_randomization): Use | |
8477 | packet_support. | |
8478 | (extended_remote_run): Switch on the result of packet_ok instead | |
8479 | of checking whether the packet ended up disabled. | |
8480 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
8481 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
8482 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
8483 | packet_support. | |
8484 | (remote_search_memory): Use packet_config_support. | |
8485 | (remote_get_thread_local_address, remote_get_tib_address) | |
8486 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
8487 | packet_support. | |
8488 | (remote_supports_cond_tracepoints) | |
8489 | (remote_supports_cond_breakpoints) | |
8490 | (remote_supports_fast_tracepoints) | |
8491 | (remote_supports_static_tracepoints) | |
8492 | (remote_supports_install_in_trace) | |
8493 | (remote_supports_enable_disable_tracepoint) | |
8494 | (remote_supports_string_tracing) | |
8495 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
8496 | the packet config says the feature is enabled or disabled. | |
8497 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
8498 | (remote_get_trace_status): Use packet_support. | |
8499 | (remote_set_disconnected_tracing): Adjust to check whether the | |
8500 | feature is enabled with packet_support. | |
8501 | (remote_set_trace_buffer_size, remote_use_agent) | |
8502 | (remote_can_use_agent, remote_supports_btrace): Use | |
8503 | packet_support. | |
8504 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
8505 | Use packet_config_support. | |
8506 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
8507 | the packet config says the feature is enabled or disabled. | |
8508 | (set_range_stepping): Use packet_support. | |
8509 | ||
bdb52a22 TT |
8510 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
8511 | ||
8512 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
8513 | argument. | |
8514 | ||
e9475ead SA |
8515 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
8516 | ||
8517 | * NEWS: Mention support for C99 variable length arrays. | |
8518 | ||
82eacd52 JB |
8519 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
8520 | ||
8521 | * ada-lang.c (standard_exc): Expand introductory comment. | |
8522 | ||
01f9f808 MS |
8523 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
8524 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
8525 | ||
8526 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
8527 | AVX512 registers. | |
8528 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
8529 | mask and return respective tdesc. | |
8530 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
8531 | and features/i386/x32-avx512-linux.c. | |
8532 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
8533 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
8534 | xstate mask and return respective tdesc. | |
8535 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
8536 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
8537 | calculation. | |
8538 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
8539 | (tdesc_amd64_avx512_linux): New prototype. | |
8540 | (tdesc_x32_avx512_linux): Likewise. | |
8541 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
8542 | features/i386/x32-avx512.c. | |
8543 | (amd64_ymm_avx512_names): New register names for pseudo | |
8544 | registers YMM16-31. | |
8545 | (amd64_ymmh_avx512_names): New register names for raw registers | |
8546 | YMMH16-31. | |
8547 | (amd64_k_names): New register names for K registers. | |
8548 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
8549 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
8550 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
8551 | registers. | |
8552 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
8553 | registers. | |
8554 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
8555 | if feature is present. | |
8556 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
8557 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
8558 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
8559 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
8560 | registers supplied via XSTATE by AVX512 registers. | |
8561 | (i386_linux_read_description): Add case for AVX512. | |
8562 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
8563 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
8564 | (i386_linux_core_read_description): Add case for AVX512. | |
8565 | (i386_linux_init_abi): Install supported register note section | |
8566 | for AVX512. | |
8567 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
8568 | AVX512. | |
8569 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
8570 | registers to be number of zmm7h + 1. | |
8571 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
8572 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
8573 | (i386_zmm_names): Add ZMM pseudo register names array. | |
8574 | (i386_zmmh_names): Add ZMM raw register names array. | |
8575 | (i386_k_names): Add K raw register names array. | |
8576 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
8577 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
8578 | registers. | |
8579 | (i386_zmmh_regnum_p): Add function to look up register number of | |
8580 | ZMM raw registers. | |
8581 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
8582 | (i386_k_regnum_p): Likewise for K raw registers. | |
8583 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
8584 | registers added by AVX512. | |
8585 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
8586 | registers added by AVX512. | |
8587 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
8588 | added by AVX512. | |
8589 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
8590 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
8591 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
8592 | registers. | |
8593 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
8594 | ZMM0-31 pseudo registers and K registers. | |
8595 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
8596 | and YMM16-31 registers from register cache. | |
8597 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
8598 | YMM16-31 registers. | |
8599 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
8600 | registers in/from respective register groups. | |
8601 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
8602 | registers if feature is present in xcr0. | |
8603 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
8604 | variables in tdep structure, wire in pseudo registers and call | |
8605 | initialize_tdesc_i386_avx512. | |
8606 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
8607 | variables. | |
8608 | (i386_regnum): Add AVX512 registers. | |
8609 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
8610 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
8611 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
8612 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
8613 | 512 bits wide. | |
8614 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
8615 | (i386_ymm_avx512_regnum_p): Likewise. | |
8616 | (i386_k_regnum_p): Likewise. | |
8617 | (i386_zmm_regnum_p): Likewise. | |
8618 | (i386_zmmh_regnum_p): Likewise. | |
8619 | * i387-tdep.c : Update year in copyright notice. | |
8620 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
8621 | XSAVE buffer. | |
8622 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
8623 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
8624 | XSAVE buffer. | |
8625 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
8626 | (xsave_avx512_k_offset): New table for K register offsets in | |
8627 | XSAVE buffer. | |
8628 | (XSAVE_AVX512_K_ADDR): New macro. | |
8629 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
8630 | in XSAVE buffer. | |
8631 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
8632 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
8633 | buffer. | |
8634 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
8635 | XSAVE buffer. | |
8636 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
8637 | of XMM16-31 registers. | |
8638 | (I387_NUM_K_REGS): New define for number of K registers. | |
8639 | (I387_K0_REGNUM): New define for K0 register number. | |
8640 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
8641 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
8642 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
8643 | registers. | |
8644 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
8645 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
8646 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
8647 | (I387_KEND_REGNUM): New define for last K register number. | |
8648 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
8649 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
8650 | number. | |
8651 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
8652 | number. | |
8653 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
8654 | size. | |
8655 | * features/Makefile: Add AVX512 related files. | |
8656 | * features/i386/32bit-avx512.xml: New file. | |
8657 | * features/i386/64bit-avx512.xml: Likewise. | |
8658 | * features/i386/amd64-avx512-linux.c: Likewise. | |
8659 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
8660 | * features/i386/amd64-avx512.c: Likewise. | |
8661 | * features/i386/amd64-avx512.xml: Likewise. | |
8662 | * features/i386/i386-avx512-linux.c: Likewise. | |
8663 | * features/i386/i386-avx512-linux.xml: Likewise. | |
8664 | * features/i386/i386-avx512.c: Likewise. | |
8665 | * features/i386/i386-avx512.xml: Likewise. | |
8666 | * features/i386/x32-avx512-linux.c: Likewise. | |
8667 | * features/i386/x32-avx512-linux.xml: Likewise. | |
8668 | * features/i386/x32-avx512.c: Likewise. | |
8669 | * features/i386/x32-avx512.xml: Likewise. | |
8670 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
8671 | * regformats/i386/amd64-avx512.dat: Likewise. | |
8672 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
8673 | * regformats/i386/i386-avx512.dat: Likewise. | |
8674 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
8675 | * regformats/i386/x32-avx512.dat: Likewise. | |
8676 | * NEWS: Add note about new support for AVX512. | |
8677 | ||
8678 | ||
08351840 PA |
8679 | 2014-04-23 Pedro Alves <palves@redhat.com> |
8680 | ||
8681 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
8682 | breakpoint is set in a user-loaded objfile. | |
8683 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
8684 | location is marked shlib_disabled. If the breakpoint is set in a | |
8685 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
8686 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
8687 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
8688 | flag. | |
8689 | * mem-break.c (memory_validate_breakpoint): New function. | |
8690 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
8691 | function. | |
8692 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
8693 | * target.h (memory_validate_breakpoint): New declaration. | |
8694 | ||
076855f9 PA |
8695 | 2014-04-23 Pedro Alves <palves@redhat.com> |
8696 | ||
8697 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
8698 | the breakpoint is set in a shared library, only suppress | |
8699 | errors for software breakpoints, not hardware breakpoints. | |
8700 | ||
483805cf PA |
8701 | 2014-04-22 Pedro Alves <palves@redhat.com> |
8702 | ||
8703 | * infrun.c (schedlock_applies): New function, factored out from | |
8704 | find_thread_needs_step_over. | |
8705 | (find_thread_needs_step_over): Use it. | |
8706 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
8707 | step over is finished. Return early if scheduler locking applies. | |
8708 | Look for the stepping thread and a potential step-over thread with | |
8709 | a single loop. | |
8710 | (currently_stepping_or_nexting_callback): Delete. | |
8711 | ||
a75fef0e NC |
8712 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
8713 | ||
8714 | * NEWS: Mention that ARM sim now supports tracing. | |
8715 | ||
48b6e87e YQ |
8716 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
8717 | ||
8718 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
8719 | to ... | |
8720 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
8721 | function. | |
8722 | * tracefile.h (tracefile_fetch_registers): Declare. | |
8723 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
8724 | tracefile_fetch_registers. | |
8725 | ||
17617f2d EZ |
8726 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
8727 | ||
8728 | PR gdb/14018 | |
8729 | * windows-nat.c (thread_rec): Don't display a warning when | |
8730 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
8731 | fails for any reason, set th->suspended to -1, so that we don't | |
8732 | try to resume such a thread. Also, don't return NULL in these | |
8733 | cases, to avoid completely ruin the session due to "PC register is | |
8734 | not available" error. | |
8735 | (do_windows_fetch_inferior_registers): Check errors in | |
8736 | GetThreadContext call. | |
8737 | (windows_continue): Accept an additional argument KILLED; if not | |
8738 | zero, ignore errors in the SetThreadContext call, since the | |
8739 | inferior was killed and is shutting down. | |
8740 | (windows_resume, get_windows_debug_event) | |
8741 | (windows_create_inferior, windows_mourn_inferior) | |
8742 | (windows_kill_inferior): All callers of windows_continue changed | |
8743 | to adjust to its new calling sequence. | |
8744 | ||
5723a6fd YQ |
8745 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
8746 | ||
8747 | * ctf.c (ctf_open): Call post_create_inferior. | |
8748 | ||
614d5099 YQ |
8749 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
8750 | ||
8751 | * ctf.c (handle_id): New static variable. | |
8752 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
8753 | value. Get the declaration of event "register" and get length | |
8754 | of field "contents". | |
8755 | ||
dac3e710 YQ |
8756 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
8757 | ||
8758 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
8759 | ||
2bca57ba SC |
8760 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
8761 | ||
8762 | * valops.c (oload_method_static): Remove unnecessary argument | |
8763 | METHOD. Update all callers. | |
8764 | ||
51d48146 PA |
8765 | 2014-04-18 Pedro alves <palves@redhat.com> |
8766 | Tom Tromey <tromey@redhat.com> | |
8767 | ||
8768 | PR backtrace/15558 | |
8769 | * frame.c (get_prev_frame_1): Rename to ... | |
8770 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
8771 | (skip_artificial_frames): Use get_prev_frame_always. | |
8772 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
8773 | (get_frame_unwind_stop_reason): Adjust to rename. | |
8774 | * frame.h (get_prev_frame_always): Declare. | |
8775 | * inline-frame.c: Include frame.h. | |
8776 | (inline_frame_this_id): Use get_prev_frame_always. | |
8777 | ||
1bdad2e0 TG |
8778 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
8779 | ||
8780 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
8781 | code by using bfd_mach_o_get_base_address. | |
8782 | ||
7ce16bd4 UW |
8783 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
8784 | ||
8785 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
8786 | (spu_ax_pseudo_register_collect): New function. | |
8787 | (spu_ax_pseudo_register_push_stack): Likewise. | |
8788 | (spu_dwarf_reg_to_regnum): Likewise. | |
8789 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
8790 | ||
2ed3c037 UW |
8791 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
8792 | ||
8793 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
8794 | Replace FRAME argument with FRAME_ID. | |
8795 | * gdbarch.c, gdbarch.h: Regenerate. | |
8796 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
8797 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
8798 | (value_from_register): Update call to gdbarch_value_from_register. | |
8799 | * value.h (default_value_from_register): Update prototype. | |
8800 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
8801 | and call to default_value_from_register. | |
8802 | * spu-tdep.c (spu_value_from_register): Likewise. | |
8803 | ||
8804 | * findvar.c (address_from_register): Remove TYPE argument. | |
8805 | Do not call value_from_register; use gdbarch_value_from_register | |
8806 | with null_frame_id instead. | |
8807 | * value.h (address_from_register): Update prototype. | |
8808 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
8809 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
8810 | address_from_register interface change. | |
8811 | ||
71e50e83 YQ |
8812 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
8813 | ||
8814 | * gdbtypes.h: Update comments to link to types and macros' | |
8815 | definitions. | |
8816 | ||
7a23c549 SC |
8817 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
8818 | ||
8819 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
8820 | ||
22869d73 KS |
8821 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
8822 | ||
8823 | PR gdb/15827 | |
8824 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
8825 | sibling DIEs fall within range of the current reader's buffer. | |
8826 | (read_partial_die): Likewise. | |
8827 | ||
c4f87ca6 KS |
8828 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
8829 | ||
8830 | PR c++/16597 | |
8831 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
8832 | `this' is NULL, return immediately. | |
8833 | ||
b50c8614 KS |
8834 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
8835 | ||
8836 | PR c++/16253 | |
8837 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
8838 | from symbol_matches_domain in symtab.c. All local callers | |
8839 | of symbol_matches_domain updated. | |
8840 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
8841 | search STRUCT_DOMAIN. | |
8842 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
8843 | independently. standard_lookup will do that automatically. | |
8844 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
8845 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
8846 | (cp_lookup_symbol_in_namespace): Likewise. | |
8847 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
8848 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
8849 | may return a STRUCT_DOMAIN match. | |
8850 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
8851 | * cp-support.c: Include language.h. | |
8852 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
8853 | VAR_DOMAIN. | |
8854 | * psymtab.c (match_partial_symbol): Compare the requested | |
8855 | domain with the symbol's domain directly. | |
8856 | (lookup_partial_symbol): Likewise. | |
8857 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
8858 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
8859 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
8860 | appropriate languages. | |
8861 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
8862 | and moved to ada-lang.c | |
8863 | (lookup_block_symbol): Explain that this function only returns | |
8864 | symbol matching the requested DOMAIN. | |
8865 | Compare the requested domain with the symbol's domain directly. | |
8866 | (iterate_over_symbols): Compare the requested domain with the | |
8867 | symbol's domain directly. | |
8868 | * symtab.h (symbol_matches_domain): Remove. | |
8869 | ||
3d567982 TT |
8870 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
8871 | ||
8872 | PR c++/15246: | |
8873 | * c-exp.y (type_aggregate_p): New function. | |
8874 | (qualified_name, classify_inner_name): Use it. | |
8875 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
8876 | and TYPE_TARGET_TYPE of an enum type. | |
8877 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
8878 | an enum type. | |
8879 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
8880 | handle TYPE_DECLARED_CLASS. | |
8881 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
8882 | types. | |
8883 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
8884 | * valops.c (enum_constant_from_type): New function. | |
8885 | (value_aggregate_elt): Use it. | |
8886 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
8887 | TYPE_CODE_ENUM. | |
8888 | ||
c848d642 TT |
8889 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
8890 | ||
8891 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
8892 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
8893 | const. | |
8894 | * value.h (value_aggregate_elt): Update. | |
8895 | ||
0626fc76 TT |
8896 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
8897 | ||
8898 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
8899 | ||
5ecaaa66 SA |
8900 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8901 | ||
8902 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
8903 | (evaluate_subexp_standard): Pass noside argument. | |
8904 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
8905 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
8906 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
8907 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
8908 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
8909 | ||
1612e0c0 SA |
8910 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8911 | ||
8912 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
8913 | points to a constant blob. | |
8914 | ||
c451ebe5 SA |
8915 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8916 | ||
8917 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
8918 | property and store it as the high bound and flag the range accordingly. | |
8919 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
8920 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
8921 | * gdbtypes.h (enum range_flags): New enum. | |
8922 | (struct range_bounds): Add flags member. | |
8923 | ||
1d42e4c4 SA |
8924 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8925 | ||
8926 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
8927 | check for not yet resolved high bound. If unresolved, print | |
8928 | "variable length" string to the console instead of random | |
8929 | length. | |
8930 | ||
9f1f738a SA |
8931 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8932 | ||
8933 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
8934 | value. | |
8935 | (ada_template_to_fixed_record_type_1): Likewise. | |
8936 | (ada_to_fixed_type_1): Likewise. | |
8937 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
8938 | (cp_print_value): Likewise. | |
8939 | * d-valprint.c (dynamic_array_type): Likewise. | |
8940 | * findvar.c (address_of_variable): Likewise. | |
8941 | * jv-valprint.c (java_value_print): Likewise. | |
8942 | * valops.c (value_ind): Likewise. | |
8943 | * value.c (coerce_ref): Likewise. | |
8944 | ||
3c8452d4 SA |
8945 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8946 | ||
8947 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
8948 | value and retrieve the dynamic type size. | |
8949 | ||
4ad88275 SA |
8950 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8951 | ||
8952 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
8953 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
8954 | ||
80180f79 SA |
8955 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8956 | Joel Brobecker <brobecker@adacore.com> | |
8957 | ||
8958 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
8959 | (dwarf2_evaluate_property): New function. | |
8960 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
8961 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
8962 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
8963 | attribute. | |
8964 | * gdbtypes.c: Include dwarf2loc.h. | |
8965 | (is_dynamic_type): New function. | |
8966 | (resolve_dynamic_type): New function. | |
8967 | (resolve_dynamic_bounds): New function. | |
8968 | (get_type_length): New function. | |
8969 | (check_typedef): Use get_type_length to compute type length. | |
8970 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
8971 | (TYPE_LOW_BOUND_KIND): New macro. | |
8972 | (is_dynamic_type): New function prototype. | |
8973 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
8974 | to resolve dynamic properties of the type. Update comment. | |
8975 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
8976 | ||
a1556843 RH |
8977 | 2014-04-14 Richard Henderson <rth@redhat.com> |
8978 | ||
8979 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
8980 | ||
0be03e84 DE |
8981 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
8982 | Doug Evans <xdje42@gmail.com> | |
8983 | ||
8984 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
8985 | dereference TYPE_CODE_REF values. | |
8986 | ||
6b662e19 JB |
8987 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
8988 | ||
8989 | Revert the following changes due to regressions: | |
8990 | ||
8991 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
8992 | (dwarf2_evaluate_property): New function. | |
8993 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
8994 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
8995 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
8996 | attribute. | |
8997 | * gdbtypes.c: Include dwarf2loc.h. | |
8998 | (is_dynamic_type): New function. | |
8999 | (resolve_dynamic_type): New function. | |
9000 | (resolve_dynamic_bounds): New function. | |
9001 | (get_type_length): New function. | |
9002 | (check_typedef): Use get_type_length to compute type length. | |
9003 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9004 | (TYPE_LOW_BOUND_KIND): New macro. | |
9005 | (is_dynamic_type): New function prototype. | |
9006 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9007 | to resolve dynamic properties of the type. Update comment. | |
9008 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9009 | ||
9010 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9011 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9012 | ||
9013 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9014 | value and retrieve the dynamic type size. | |
9015 | ||
9016 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9017 | (ada_template_to_fixed_record_type_1): Likewise. | |
9018 | (ada_to_fixed_type_1): Likewise. | |
9019 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9020 | (cp_print_value): Likewise. | |
9021 | * d-valprint.c (dynamic_array_type): Likewise. | |
9022 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9023 | * findvar.c (address_of_variable): Likewise. | |
9024 | * jv-valprint.c (java_value_print): Likewise. | |
9025 | * valops.c (value_ind): Likewise. | |
9026 | * value.c (coerce_ref): Likewise. | |
9027 | ||
9028 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9029 | check for not yet resolved high bound. If unresolved, print | |
9030 | "variable length" string to the console instead of random | |
9031 | length. | |
9032 | ||
9033 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9034 | property and store it as the high bound and flag the range accordingly. | |
9035 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9036 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9037 | * gdbtypes.h (enum range_flags): New enum. | |
9038 | (struct range_bounds): Add flags member. | |
9039 | ||
9040 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9041 | points to a constant blob. | |
9042 | ||
9043 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9044 | (evaluate_subexp_standard): Pass noside argument. | |
9045 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9046 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9047 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9048 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9049 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9050 | ||
245a5f0b KS |
9051 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
9052 | ||
9053 | PR c++/16675 | |
9054 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
9055 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
9056 | reference types. | |
9057 | ||
3bce8237 SA |
9058 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9059 | ||
9060 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9061 | (evaluate_subexp_standard): Pass noside argument. | |
9062 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9063 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9064 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9065 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9066 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9067 | ||
92b09522 SA |
9068 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9069 | ||
9070 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9071 | points to a constant blob. | |
9072 | ||
e1969afb SA |
9073 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9074 | ||
9075 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9076 | property and store it as the high bound and flag the range accordingly. | |
9077 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9078 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9079 | * gdbtypes.h (enum range_flags): New enum. | |
9080 | (struct range_bounds): Add flags member. | |
9081 | ||
b86138fb SA |
9082 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9083 | ||
9084 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9085 | check for not yet resolved high bound. If unresolved, print | |
9086 | "variable length" string to the console instead of random | |
9087 | length. | |
9088 | ||
bcd629a4 SA |
9089 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9090 | ||
9091 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9092 | (ada_template_to_fixed_record_type_1): Likewise. | |
9093 | (ada_to_fixed_type_1): Likewise. | |
9094 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9095 | (cp_print_value): Likewise. | |
9096 | * d-valprint.c (dynamic_array_type): Likewise. | |
9097 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9098 | * findvar.c (address_of_variable): Likewise. | |
9099 | * jv-valprint.c (java_value_print): Likewise. | |
9100 | * valops.c (value_ind): Likewise. | |
9101 | * value.c (coerce_ref): Likewise. | |
9102 | ||
04b19544 SA |
9103 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9104 | ||
9105 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9106 | value and retrieve the dynamic type size. | |
9107 | ||
26cb189f SA |
9108 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9109 | ||
9110 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9111 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9112 | ||
37c1ab67 SA |
9113 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9114 | ||
9115 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9116 | (dwarf2_evaluate_property): New function. | |
9117 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9118 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9119 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9120 | attribute. | |
9121 | * gdbtypes.c: Include dwarf2loc.h. | |
9122 | (is_dynamic_type): New function. | |
9123 | (resolve_dynamic_type): New function. | |
9124 | (resolve_dynamic_bounds): New function. | |
9125 | (get_type_length): New function. | |
9126 | (check_typedef): Use get_type_length to compute type length. | |
9127 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9128 | (TYPE_LOW_BOUND_KIND): New macro. | |
9129 | (is_dynamic_type): New function prototype. | |
9130 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9131 | to resolve dynamic properties of the type. Update comment. | |
9132 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9133 | ||
729efb13 SA |
9134 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9135 | ||
9136 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
9137 | declaring high/low bounds and change uses accordingly. Call | |
9138 | create_range_type instead of create_static_range_type. | |
9139 | * gdbtypes.c (create_range_type): New function. | |
9140 | (create_range_type): Convert bounds into struct bound_prop and pass | |
9141 | them to create_range_type. | |
9142 | * gdbtypes.h (struct bound_prop): New struct. | |
9143 | (create_range_type): New function prototype. | |
9144 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
9145 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
9146 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
9147 | part of the bound. | |
9148 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
9149 | ||
0c9c3474 SA |
9150 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9151 | ||
9152 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
9153 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
9154 | * ada-lang.c: All uses of create_range_type updated. | |
9155 | * coffread.c: All uses of create_range_type updated. | |
9156 | * dwarf2read.c: All uses of create_range_type updated. | |
9157 | * f-exp.y: All uses of create_range_type updated. | |
9158 | * m2-valprint.c: All uses of create_range_type updated. | |
9159 | * mdebugread.c: All uses of create_range_type updated. | |
9160 | * stabsread.c: All uses of create_range_type updated. | |
9161 | * valops.c: All uses of create_range_type updated. | |
9162 | * valprint.c: All uses of create_range_type updated. | |
9163 | ||
9d497a19 PA |
9164 | 2014-04-10 Pedro Alves <palves@redhat.com> |
9165 | ||
9166 | * breakpoint.c (single_step_breakpoints) | |
9167 | (single_step_gdbarch): Move up in the file. | |
9168 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
9169 | (breakpoint_xfer_memory): ... here. Also process single-step | |
9170 | breakpoints. | |
9171 | ||
15a9128a TG |
9172 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
9173 | ||
9174 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
9175 | comments. | |
9176 | (darwin_decode_exception_message): Free port only after use. | |
9177 | ||
9c97a070 PL |
9178 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
9179 | ||
9180 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
9181 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
9182 | when setting the size of call_length. | |
9183 | ||
7af389b8 SC |
9184 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
9185 | ||
9186 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
9187 | dereference TYPE_CODE_REF values. | |
9188 | ||
86ad98c3 JB |
9189 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
9190 | ||
9191 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
9192 | end of warning message. | |
9193 | ||
b0aeadb3 DE |
9194 | 2014-04-03 Doug Evans <dje@google.com> |
9195 | ||
9196 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
9197 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
9198 | ||
5979d6b6 AM |
9199 | 2014-04-02 Alan Modra <amodra@gmail.com> |
9200 | ||
9201 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
9202 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
9203 | (struct symbol_file_add_from_memory_args): Add size field. | |
9204 | (find_vdso_size): New function. | |
9205 | (add_vsyscall_page): Attempt to find vdso size. | |
9206 | ||
0d60c288 DE |
9207 | 2014-04-01 Doug Evans <dje@google.com> |
9208 | ||
9209 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
9210 | ||
a41f2563 TG |
9211 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
9212 | ||
9213 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
9214 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
9215 | (darwin_decode_message): Handle message by id. Ignore message | |
9216 | to unknown inferior. | |
9217 | (darwin_wait): Discard unknown messages, add debug trace. | |
9218 | ||
11a865c8 DE |
9219 | 2014-03-31 Doug Evans <dje@google.com> |
9220 | ||
9221 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
9222 | comp_dir_string. | |
9223 | ||
770e7fc7 DE |
9224 | 2014-03-31 Doug Evans <dje@google.com> |
9225 | ||
9226 | New option "set print symbol-loading". | |
9227 | * NEWS: Mention it. | |
9228 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
9229 | if requested. | |
9230 | (solib_add): If symbol loading is in "brief" mode, notify user | |
9231 | symbols are being loaded. | |
9232 | (reload_shared_libraries_1): Ditto. | |
9233 | * symfile.c (print_symbol_loading_off): New static global. | |
9234 | (print_symbol_loading_brief): New static global. | |
9235 | (print_symbol_loading_full): New static global. | |
9236 | (print_symbol_loading_enums): New static global. | |
9237 | (print_symbol_loading): New static global. | |
9238 | (print_symbol_loading_p): New function. | |
9239 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
9240 | if requested. | |
9241 | (_initialize_symfile): Register "print symbol-loading" set/show | |
9242 | command. | |
9243 | * symfile.h (print_symbol_loading_p): Declare. | |
9244 | ||
c32c64b7 DE |
9245 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
9246 | ||
9247 | * infrun.c (set_last_target_status): New function. | |
9248 | (handle_inferior_event): Call it. | |
9249 | ||
7c0bc051 DE |
9250 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
9251 | ||
9252 | * inferior.h (enum stop_kind): Improve comment. | |
9253 | ||
8776cfe9 JB |
9254 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
9255 | ||
9256 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
9257 | a reference, strip the reference layer before calling | |
9258 | the lang_ops value_has_mutated callback. | |
9259 | ||
410a0ff2 SDJ |
9260 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
9261 | ||
9262 | Remove some globals from our parser. | |
9263 | * language.c (unk_lang_parser): Add "struct parser_state" | |
9264 | argument. | |
9265 | * language.h (struct language_defn) <la_parser>: Likewise. | |
9266 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
9267 | (initialize_expout): Add "struct parser_state" argument. | |
9268 | Rewrite function to use the parser state. | |
9269 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
9270 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
9271 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
9272 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
9273 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
9274 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
9275 | write_dollar_variable): Likewise. | |
9276 | (parse_exp_in_context_1): Use parser state. | |
9277 | (insert_type_address_space): Add "struct parser_state" argument. | |
9278 | Use parser state. | |
9279 | (increase_expout_size): New function. | |
9280 | * parser-defs.h: Forward declare "struct language_defn" and | |
9281 | "struct parser_state". | |
9282 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
9283 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
9284 | accept the parser state. | |
9285 | (struct parser_state): New struct. | |
9286 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
9287 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
9288 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
9289 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
9290 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
9291 | write_exp_msymbol, write_dollar_variable, | |
9292 | mark_struct_expression, insert_type_address_space): Add "struct | |
9293 | parser_state" argument. | |
9294 | (increase_expout_size): New function. | |
9295 | * utils.c (do_clear_parser_state): New function. | |
9296 | (make_cleanup_clear_parser_state): Likewise. | |
9297 | * utils.h (make_cleanup_clear_parser_state): New function | |
9298 | prototype. | |
9299 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
9300 | Update calls to write_exp* in order to pass the parser state. | |
9301 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
9302 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
9303 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
9304 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
9305 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
9306 | (stap_parse_single_operand): Likewise. | |
9307 | (stap_parse_argument_1): Likewise. | |
9308 | (stap_parse_argument): Use parser state. | |
9309 | * stap-probe.h: Include "parser-defs.h". | |
9310 | (struct stap_parse_info) <pstate>: New field. | |
9311 | * c-exp.y (parse_type): Rewrite to use parser state. | |
9312 | (yyparse): Redefine to c_parse_internal. | |
9313 | (pstate): New global variable. | |
9314 | (parse_number): Add "struct parser_state" argument. | |
9315 | (write_destructor_name): Likewise. | |
9316 | (type_exp): Update calls to write_exp* and similars in order to | |
9317 | use parser state. | |
9318 | (exp1, exp, variable, qualified_name, space_identifier, | |
9319 | typename, typebase): Likewise. | |
9320 | (write_destructor_name, parse_number, lex_one_token, | |
9321 | classify_name, classify_inner_name, c_parse): Add "struct | |
9322 | parser_state" argument. Update function to use parser state. | |
9323 | * c-lang.h: Forward declare "struct parser_state". | |
9324 | (c_parse): Add "struct parser_state" argument. | |
9325 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
9326 | (yyparse): Redefine macro to ada_parse_internal. | |
9327 | (pstate): New variable. | |
9328 | (write_int, write_object_renaming, write_var_or_type, | |
9329 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
9330 | type_int, type_long, type_long_long, type_float, type_double, | |
9331 | type_long_double, type_char, type_boolean, type_system_address): | |
9332 | Add "struct parser_state" argument. | |
9333 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
9334 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
9335 | var_or_type, aggregate, aggregate_component_list, | |
9336 | positional_list, others, component_group, | |
9337 | component_associations): Update calls to write_exp* and similar | |
9338 | functions in order to use parser state. | |
9339 | (ada_parse, write_var_from_sym, write_int, | |
9340 | write_exp_op_with_string, write_object_renaming, | |
9341 | find_primitive_type, write_selectors, write_ambiguous_var, | |
9342 | write_var_or_type, write_name_assoc, type_int, type_long, | |
9343 | type_long_long, type_float, type_double, type_long_double, | |
9344 | type_char, type_boolean, type_system_address): Add "struct | |
9345 | parser_state" argument. Adjust function to use parser state. | |
9346 | * ada-lang.c (parse): Likewise. | |
9347 | * ada-lang.h: Forward declare "struct parser_state". | |
9348 | (ada_parse): Add "struct parser_state" argument. | |
9349 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
9350 | calls to both functions. | |
9351 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
9352 | parser state. | |
9353 | (yyparse): Redefine macro to f_parse_internal. | |
9354 | (pstate): New variable. | |
9355 | (parse_number): Add "struct parser_state" argument. | |
9356 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
9357 | and similars in order to use parser state. | |
9358 | (parse_number): Adjust code to use parser state. | |
9359 | (yylex): Likewise. | |
9360 | (f_parse): New function. | |
9361 | * f-lang.h: Forward declare "struct parser_state". | |
9362 | (f_parse): Add "struct parser_state" argument. | |
9363 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
9364 | parser state. | |
9365 | (yyparse): Redefine macro for java_parse_internal. | |
9366 | (pstate): New variable. | |
9367 | (push_expression_name, push_expression_name, insert_exp): Add | |
9368 | "struct parser_state" argument. | |
9369 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
9370 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
9371 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
9372 | PostIncrementExpression, PostDecrementExpression, | |
9373 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
9374 | UnaryExpressionNotPlusMinus, CastExpression, | |
9375 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
9376 | RelationalExpression, EqualityExpression, AndExpression, | |
9377 | ExclusiveOrExpression, InclusiveOrExpression, | |
9378 | ConditionalAndExpression, ConditionalOrExpression, | |
9379 | ConditionalExpression, Assignment, LeftHandSide): Update | |
9380 | calls to write_exp* and similars in order to use parser state. | |
9381 | (parse_number): Ajust code to use parser state. | |
9382 | (yylex): Likewise. | |
9383 | (java_parse): New function. | |
9384 | (push_variable): Add "struct parser_state" argument. Adjust | |
9385 | code to user parser state. | |
9386 | (push_fieldnames, push_qualified_expression_name, | |
9387 | push_expression_name, insert_exp): Likewise. | |
9388 | * jv-lang.h: Forward declare "struct parser_state". | |
9389 | (java_parse): Add "struct parser_state" argument. | |
9390 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
9391 | parser state. | |
9392 | (yyparse): Redefine macro to m2_parse_internal. | |
9393 | (pstate): New variable. | |
9394 | (type_exp, exp, fblock, variable, type): Update calls to | |
9395 | write_exp* and similars to use parser state. | |
9396 | (yylex): Likewise. | |
9397 | (m2_parse): New function. | |
9398 | * m2-lang.h: Forward declare "struct parser_state". | |
9399 | (m2_parse): Add "struct parser_state" argument. | |
9400 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
9401 | * objc-lang.h: Forward declare "struct parser_state". | |
9402 | (end_msglist): Add "struct parser_state" argument. | |
9403 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
9404 | (yyparse): Redefine macro to pascal_parse_internal. | |
9405 | (pstate): New variable. | |
9406 | (parse_number): Add "struct parser_state" argument. | |
9407 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
9408 | write_exp* and similars in order to use parser state. | |
9409 | (parse_number, yylex): Adjust code to use parser state. | |
9410 | (pascal_parse): New function. | |
9411 | * p-lang.h: Forward declare "struct parser_state". | |
9412 | (pascal_parse): Add "struct parser_state" argument. | |
9413 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
9414 | (yyparse): Redefine macro to go_parse_internal. | |
9415 | (pstate): New variable. | |
9416 | (parse_number): Add "struct parser_state" argument. | |
9417 | (type_exp, exp1, exp, variable, type): Update calls to | |
9418 | write_exp* and similars in order to use parser state. | |
9419 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
9420 | to use parser state. | |
9421 | (go_parse): Likewise. | |
9422 | * go-lang.h: Forward declare "struct parser_state". | |
9423 | (go_parse): Add "struct parser_state" argument. | |
9424 | ||
342587c4 DE |
9425 | 2014-03-27 Doug Evans <dje@google.com> |
9426 | ||
9427 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
9428 | ||
33e80786 DE |
9429 | 2014-03-27 Doug Evans <dje@google.com> |
9430 | ||
9431 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
9432 | Remove argument abbrev_section. All callers updated. | |
9433 | ||
1dbab08b DE |
9434 | 2014-03-27 Doug Evans <dje@google.com> |
9435 | ||
9436 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
9437 | addr_base, ranges_base. | |
9438 | ||
318d3177 KS |
9439 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
9440 | ||
9441 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
9442 | types, not VAR_DOMAIN. | |
9443 | ||
1e54db15 SL |
9444 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
9445 | ||
9446 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
9447 | "ra" registers. | |
9448 | * features/nios2-linux.c: Regenerated. | |
9449 | * features/nios2.c: Regenerated. | |
9450 | ||
d3839ede PA |
9451 | 2014-03-25 Pedro Alves <palves@redhat.com> |
9452 | ||
9453 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
9454 | sync mode. | |
9455 | ||
7588d2ec PL |
9456 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
9457 | ||
9458 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
9459 | small stack allocation. | |
9460 | ||
a6290449 TG |
9461 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
9462 | ||
9463 | * darwin-nat.c (exc_server): Remove unused prototype. | |
9464 | (darwin_dump_message): Correctly display data on x86_64. | |
9465 | (darwin_encode_reply): Fix style. | |
9466 | Add comments and fix indentation. | |
9467 | ||
31ae9d24 | 9468 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
9469 | |
9470 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
9471 | ||
6339bfc4 DE |
9472 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9473 | ||
9474 | * infcmd.c: Whitespace fixes. | |
9475 | (interrupt_command): Merge two function comments into one. | |
9476 | ||
0a07590b DE |
9477 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9478 | ||
9479 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
9480 | All uses updated. | |
9481 | ||
b55fbac4 YQ |
9482 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9483 | ||
9484 | * remote.c (target_read_live_memory): Remove. | |
9485 | (memory_xfer_live_readonly_partial): Rename it to | |
9486 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
9487 | All callers updated. Call remote_read_bytes_1 | |
9488 | instead of target_read_live_memory. | |
9489 | * tracepoint.c (set_traceframe_number): Remove. | |
9490 | (make_cleanup_restore_traceframe_number): Likewise . | |
9491 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
9492 | (make_cleanup_restore_traceframe_number): Likewise. | |
9493 | ||
9217e74e YQ |
9494 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9495 | ||
9496 | * remote.c (remote_read_bytes): Move code on reading from the | |
9497 | remote stub to ... | |
9498 | (remote_read_bytes_1): ... here. New function. | |
9499 | ||
8acf9577 YQ |
9500 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9501 | ||
9502 | * ctf.c (ctf_xfer_partial): Check the return value of | |
9503 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
9504 | return TARGET_XFER_UNAVAILABLE. | |
9505 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
9506 | * target.c (target_read_live_memory): Move it to remote.c. | |
9507 | (memory_xfer_live_readonly_partial): Likewise. | |
9508 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
9509 | * remote.c (target_read_live_memory): Moved from target.c. | |
9510 | (memory_xfer_live_readonly_partial): Likewise. | |
9511 | (remote_read_bytes): Factored out from | |
9512 | memory_xfer_partial_1. | |
9513 | ||
feef67ab DE |
9514 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
9515 | ||
9516 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
9517 | NULL pointer. | |
9518 | ||
b65dc60b PA |
9519 | 2014-03-21 Pedro Alves <palves@redhat.com> |
9520 | ||
9521 | * infrun.c (normal_stop): Extend comment. | |
9522 | ||
b4ab256d HZ |
9523 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
9524 | Pedro Alves <palves@redhat.com> | |
9525 | ||
9526 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
9527 | static buffer. | |
9528 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
9529 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
9530 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
9531 | ||
deba7593 MR |
9532 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
9533 | ||
9534 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
9535 | `z' formatted output modifier. | |
9536 | ||
1bff71c3 SDJ |
9537 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9538 | Sergio Durigan Junior <sergiodj@redhat.com> | |
9539 | ||
9540 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
9541 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
9542 | exceptions when parsing probes. Rearrange the code for clarity. | |
9543 | ||
90e28950 TT |
9544 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9545 | ||
9546 | PR gdb/14135 | |
9547 | * top.c (execute_command): Only dispatch events if the command | |
9548 | started the target. | |
9549 | ||
beb460e8 PA |
9550 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9551 | ||
9552 | PR cli/15718 | |
9553 | * infcall.c: Include event-top.h. | |
9554 | (run_inferior_call): Call async_disable_stdin if needed. | |
9555 | ||
99619bea PA |
9556 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9557 | ||
9558 | * infrun.c (prepare_to_proceed): Delete. | |
9559 | (thread_still_needs_step_over): New function. | |
9560 | (find_thread_needs_step_over): New function. | |
9561 | (proceed): If the current thread needs a step-over, set its | |
9562 | steping_over_breakpoint flag. Adjust to use | |
9563 | find_thread_needs_step_over instead of prepare_to_proceed. | |
9564 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
9565 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
9566 | breakpoint. | |
9567 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
9568 | threads not the stepping thread, before switching back to the | |
9569 | stepping thread. | |
9570 | ||
2adfaa28 PA |
9571 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9572 | ||
9573 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
9574 | extern. | |
9575 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
9576 | * infrun.c (saved_singlestep_ptid) | |
9577 | (stepping_past_singlestep_breakpoint): Delete. | |
9578 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
9579 | (proceed): Store the prev_pc of the stepping thread too. | |
9580 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
9581 | singlestep_pc. | |
9582 | (enum infwait_states): Delete infwait_thread_hop_state. | |
9583 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
9584 | field. | |
9585 | (handle_inferior_event): Adjust. | |
9586 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
9587 | handling and the thread-hop code. Before removing single-step | |
9588 | breakpoints, check whether the thread hit a single-step breakpoint | |
9589 | of another thread. If it did, the trap is not a random signal. | |
9590 | (switch_back_to_stepped_thread): If the event thread hit a | |
9591 | single-step breakpoint, unblock it before switching to the | |
9592 | stepping thread. Handle the case of the stepped thread having | |
9593 | advanced already. | |
9594 | (keep_going): Handle the case of the current thread moving past a | |
9595 | single-step breakpoint. | |
9596 | ||
31e77af2 PA |
9597 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9598 | ||
9599 | PR breakpoints/7143 | |
9600 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
9601 | are being stepped over. | |
9602 | (breakpoint_address_match): Make extern. | |
9603 | * breakpoint.h (breakpoint_address_match): New declaration. | |
9604 | * inferior.h (stepping_past_instruction_at): New declaration. | |
9605 | * infrun.c (struct step_over_info): New type. | |
9606 | (step_over_info): New global. | |
9607 | (set_step_over_info, clear_step_over_info) | |
9608 | (stepping_past_instruction_at): New functions. | |
9609 | (handle_inferior_event): Clear the step-over info when | |
9610 | trap_expected is cleared. | |
9611 | (resume): Remove now stale comment. | |
9612 | (clear_proceed_status): Clear step-over info. | |
9613 | (proceed): Adjust step-over handling to set or clear the step-over | |
9614 | info instead of removing all breakpoints. | |
9615 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
9616 | breakpoints here. | |
9617 | (stop_stepping): Clear step-over info. | |
9618 | (keep_going): Adjust step-over handling to set or clear step-over | |
9619 | info and then always inserting breakpoints, instead of removing | |
9620 | all breakpoints when stepping over one. | |
9621 | ||
b9f437de PA |
9622 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9623 | ||
9624 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
9625 | (deferred_step_ptid): Delete. | |
9626 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
9627 | (init_wait_for_inferior): Adjust. | |
9628 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
9629 | ||
06c868a8 JK |
9630 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
9631 | ||
9632 | PR gdb/15358 | |
9633 | * defs.h (sync_quit_force_run): New declaration. | |
9634 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
9635 | * event-top.c (async_sigterm_handler): New declaration. | |
9636 | (async_sigterm_token): New variable. | |
9637 | (async_init_signals): Create also async_sigterm_token. | |
9638 | (async_sigterm_handler): New function. | |
9639 | (sync_quit_force_run): New variable. | |
9640 | (handle_sigterm): Replace quit_force call by other calls. | |
9641 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
9642 | ||
dea80df0 MR |
9643 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
9644 | ||
9645 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
9646 | offset into SPE pseudo registers. | |
9647 | ||
0c7e1a46 PA |
9648 | 2014-03-18 Pedro Alves <palves@redhat.com> |
9649 | ||
9650 | PR gdb/13860 | |
9651 | * inferior.h (print_stop_event): Declare. | |
9652 | * infrun.c (print_stop_event): New, factored out from ... | |
9653 | (normal_stop): ... this. | |
9654 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
9655 | of bpstat_print/print_stack_frame. | |
9656 | ||
9c1fcd01 TT |
9657 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
9658 | ||
9659 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
9660 | ||
11aa919a PMR |
9661 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
9662 | ||
9663 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
9664 | minimal coercion for reference with coerce_ref instead of | |
9665 | ada_coerce_ref. | |
9666 | ||
d4ccb5e0 TG |
9667 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
9668 | ||
9669 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
9670 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
9671 | is unhandled. | |
9672 | ||
49840f2a UW |
9673 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
9674 | ||
9675 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
9676 | PyObject_GetAttrString to support Python 2.4. | |
9677 | ||
ed4123e5 JK |
9678 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
9679 | ||
9680 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
9681 | (Global Maintainers): Remove Jan Kratochvil. | |
9682 | ||
d6b64346 PA |
9683 | 2014-03-14 Pedro Alves <palves@redhat.com> |
9684 | ||
9685 | * inferior.h (terminal_ours_for_output): Rename to ... | |
9686 | (child_terminal_ours_for_output): ... this. | |
9687 | (terminal_save_ours): Rename to ... | |
9688 | (child_terminal_save_ours): ... this. | |
9689 | (terminal_ours): Rename to ... | |
9690 | (child_terminal_ours): ... this. | |
9691 | (terminal_inferior): Rename to ... | |
9692 | (child_terminal_inferior): ... this. | |
9693 | (terminal_init_inferior): Rename to ... | |
9694 | (child_terminal_init_inferior): ... this. | |
9695 | (terminal_init_inferior_with_pgrp): Rename to ... | |
9696 | (child_terminal_init_inferior_with_pgrp): ... this. | |
9697 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
9698 | (child_terminal_init_with_pgrp): ... this. | |
9699 | (terminal_save_ours): Rename to ... | |
9700 | (child_terminal_save_ours): ... this. | |
9701 | (terminal_init_inferior): Rename to ... | |
9702 | (child_terminal_init): ... this. Adjust. | |
9703 | (terminal_inferior): Rename to ... | |
9704 | (child_terminal_inferior): ... this. | |
9705 | (terminal_ours_for_output): Rename to ... | |
9706 | (child_terminal_ours_for_output): ... this. Adjust. | |
9707 | (terminal_ours): Rename to ... | |
9708 | (child_terminal_ours): ... this. | |
9709 | (terminal_ours_1): Rename to ... | |
9710 | (child_terminal_ours_1): ... this. Adjust. | |
9711 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
9712 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
9713 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
9714 | (gnu_terminal_init): ... this. Adjust. | |
9715 | (gnu_target): Adjust. | |
9716 | * inf-child.c (inf_child_target): Adjust. | |
9717 | ||
5a1e8c7a DE |
9718 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
9719 | ||
9720 | PR guile/16612 | |
9721 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
9722 | new eq?-hashtab. | |
9723 | ||
350e1a76 DE |
9724 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
9725 | ||
9726 | * value.c (record_latest_value): Call release_value_or_incref | |
9727 | instead of release_value. | |
9728 | ||
a69900ae PA |
9729 | 2014-03-13 Pedro Alves <palves@redhat.com> |
9730 | ||
9731 | * procfs.c (procfs_target): Don't override to_shortname, | |
9732 | to_longname or to_doc. | |
9733 | ||
5db9f0bd PA |
9734 | 2014-03-13 Pedro Alves <palves@redhat.com> |
9735 | ||
9736 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
9737 | Unix in user visible strings. | |
9738 | ||
5e3a2c38 SS |
9739 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
9740 | ||
9741 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
9742 | block comment with some general info. | |
9743 | ||
8bc2fe48 PA |
9744 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9745 | ||
9746 | * infcmd.c (prepare_execution_command): New function, factored out | |
9747 | from several execution commands. | |
9748 | (run_command_1, continue_command, step_1, jump_command) | |
9749 | (signal_command, until_command, advance_command, finish_command) | |
9750 | (attach_command): Use prepare_execution_command. | |
9751 | ||
638c5f49 OJ |
9752 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
9753 | ||
9754 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
9755 | (MAX_BPTS): Define. | |
9756 | (MAX_WPTS): Define. | |
9757 | (struct arm_linux_thread_points): Removed. | |
9758 | (struct arm_linux_process_info): New. | |
9759 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
9760 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
9761 | (arm_linux_find_breakpoints_by_tid): Removed. | |
9762 | (struct arch_lwp_info): New. | |
9763 | (arm_linux_find_process_pid): New functions. | |
9764 | (arm_linux_add_process): New functions. | |
9765 | (arm_linux_process_info_get): New functions. | |
9766 | (arm_linux_forget_process): New function. | |
9767 | (arm_linux_get_debug_reg_state): New function. | |
9768 | (struct update_registers_data): New. | |
9769 | (update_registers_callback): New function. | |
9770 | (arm_linux_insert_hw_breakpoint1): Updated. | |
9771 | (arm_linux_remove_hw_breakpoint1): Updated. | |
9772 | (arm_linux_insert_hw_breakpoint): Updated. | |
9773 | (arm_linux_remove_hw_breakpoint): Updated. | |
9774 | (arm_linux_insert_watchpoint): Updated. | |
9775 | (arm_linux_remove_watchpoint): Updated. | |
9776 | (arm_linux_new_thread): Updated. | |
9777 | (arm_linux_prepare_to_resume): New function. | |
9778 | (arm_linux_new_fork): New function. | |
9779 | (_initialize_arm_linux_nat): Updated. | |
9780 | ||
6d03af93 PA |
9781 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9782 | ||
9783 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
9784 | ||
b3ccfe11 TT |
9785 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
9786 | ||
9787 | * inf-child.c (return_zero): New function. | |
9788 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
9789 | * aix-thread.c (aix_thread_inferior_created): New function. | |
9790 | (aix_thread_attach): Remove. | |
9791 | (init_aix_thread_ops): Don't set to_attach. | |
9792 | (_initialize_aix_thread): Register inferior_created observer. | |
9793 | * corelow.c (init_core_ops): Don't set to_attach or | |
9794 | to_create_inferior. | |
9795 | * exec.c (init_exec_ops): Don't set to_attach or | |
9796 | to_create_inferior. | |
9797 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
9798 | target calls. | |
9799 | (attach_command): Use find_attach_target. Make direct target | |
9800 | calls. | |
9801 | * record-btrace.c (init_record_btrace_ops): Don't set | |
9802 | to_create_inferior. | |
9803 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
9804 | Remove. | |
9805 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
9806 | set to_create_inferior. | |
9807 | * target.c (complete_target_initialization): Add assertion. | |
9808 | (target_create_inferior): Remove. | |
9809 | (find_default_attach, find_default_create_inferior): Remove. | |
9810 | (find_attach_target, find_run_target): New functions. | |
9811 | (find_default_is_async_p, find_default_can_async_p) | |
9812 | (target_supports_non_stop, target_attach): Remove. | |
9813 | (init_dummy_target): Don't set to_create_inferior or | |
9814 | to_supports_non_stop. | |
9815 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
9816 | TARGET_DEFAULT_FUNC. | |
9817 | <to_create_inferior>: Add comment. | |
9818 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
9819 | TARGET_DEFAULT_RETURN. | |
9820 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
9821 | (find_attach_target, find_run_target): Declare. | |
9822 | (target_create_inferior): Remove. | |
9823 | (target_has_execution_1): Update comment. | |
9824 | (target_supports_non_stop): Remove. | |
9825 | * target-delegates.c: Rebuild. | |
9826 | ||
91f83b02 PA |
9827 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9828 | ||
9829 | * inf-child.h: Update comment to not mention Unix. | |
9830 | ||
f1aea813 PA |
9831 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9832 | ||
9833 | * inf-child.c: Update top comment to not mention Unix. Add | |
9834 | generic comment describing how this target is meant to be used. | |
9835 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
9836 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
9837 | Unix in comment. | |
9838 | ||
ee8e9165 PA |
9839 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9840 | ||
9841 | * nto-procfs.c: Include inf-child.h. | |
9842 | (procfs_ops): Delete global. | |
9843 | (procfs_can_run): Delete method. | |
9844 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
9845 | target pointer instead of referencing procfs_ops. | |
9846 | (procfs_prepare_to_store): Delete. | |
9847 | (init_procfs_ops): Delete function. | |
9848 | (procfs_target): New function, based on init_procfs_ops, but | |
9849 | inherit inf_child_target. | |
9850 | (_initialize_procfs): Use procfs_target. | |
9851 | ||
51a9c8c5 PA |
9852 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9853 | ||
9854 | * windows-nat.c: Include inf-child.h. | |
9855 | (windows_ops): Delete global. | |
9856 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
9857 | methods. | |
9858 | (init_windows_ops): Delete function. | |
9859 | (windows_target): New function, based on init_windows_ops, but | |
9860 | inherit inf_child_target. | |
9861 | (_initialize_windows_nat): Use windows_target. Install x86 | |
9862 | specific target methods here. | |
9863 | ||
c1966e26 DE |
9864 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
9865 | ||
9866 | * guile/guile.c (call_initialize_gdb_module): New function. | |
9867 | (initialize_guile): Replace call to scm_init_guile with call to | |
9868 | scm_with_guile. | |
9869 | ||
023db19c JB |
9870 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
9871 | ||
9872 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
9873 | in call to TYPE_CODE macro. | |
9874 | ||
5ec18f2b JG |
9875 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
9876 | ||
8668be63 JB |
9877 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
9878 | Resolve tagged types to full view. | |
5ec18f2b | 9879 | |
7d03f2eb HZ |
9880 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
9881 | ||
9882 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
9883 | comments. | |
9884 | ||
c5164cbc DE |
9885 | 2014-03-07 Doug Evans <dje@google.com> |
9886 | ||
9887 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
9888 | ||
c4a3fee2 DE |
9889 | 2014-03-07 Doug Evans <dje@google.com> |
9890 | ||
9891 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
9892 | Remove unused local comp_dir_attr. Assert exactly one of | |
9893 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
9894 | ||
3156469c JB |
9895 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
9896 | ||
9897 | * target.h (complete_target_initialization, add_target): | |
9898 | Add comment. | |
9899 | ||
c1a7b7c6 PA |
9900 | 2014-03-07 Pedro Alves <palves@redhat.com> |
9901 | ||
9902 | * go32-nat.c: Include inf-child.h. | |
9903 | (go32_ops): Delete global. | |
9904 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
9905 | Delete methods. | |
9906 | (go32_create_inferior): Push the passed in target pointer instead | |
9907 | of referencing go32_ops. | |
9908 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
9909 | (go32_target): New function, based on init_go32_ops, but inherit | |
9910 | inf_child_target. | |
9911 | (_initialize_go32_nat): Use go32_target. Move parts of | |
9912 | init_go32_ops here. | |
9913 | ||
d3c1a85f JB |
9914 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
9915 | ||
9916 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
9917 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
9918 | SYMBOL_VALUE_ADDRESS. | |
9919 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
9920 | ||
5fa1d40e YQ |
9921 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9922 | ||
9923 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
9924 | optional_p. All callers updated. Adjust comments. Update | |
9925 | output message. | |
9926 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
9927 | ||
0c13193f YQ |
9928 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9929 | ||
9930 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
9931 | early if get_number returns zero. Use 'p' instead of 'args'. | |
9932 | ||
2217da06 YQ |
9933 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9934 | ||
9935 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
9936 | message. | |
9937 | ||
cc3da688 YQ |
9938 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9939 | ||
9940 | PR breakpoints/16508 | |
9941 | * tracepoint.c (check_trace_running): New function. | |
9942 | (trace_find_command): Move code to check_trace_running and | |
9943 | call check_trace_running. | |
9944 | (trace_find_pc_command): Likewise. | |
9945 | (trace_find_tracepoint_command): Likewise. | |
9946 | (trace_find_line_command): Likewise. | |
9947 | (trace_find_range_command): Likewise. | |
9948 | * tracepoint.h (check_trace_running): Likewise. | |
9949 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
9950 | ||
6a5f844b YQ |
9951 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9952 | ||
9953 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
9954 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
9955 | * target-delegates.c: Regenerated. | |
9956 | ||
0f26cec1 PA |
9957 | 2014-03-05 Pedro Alves <palves@redhat.com> |
9958 | ||
9959 | PR gdb/16575 | |
9960 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
9961 | void. Update comment. | |
9962 | (dcache_xfer_memory): Delete. | |
9963 | (dcache_read_memory_partial): New, based on the read bits of | |
9964 | dcache_xfer_memory. | |
9965 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
9966 | adjust. Discard cache lines if the reason for the update was | |
9967 | error. | |
9968 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
9969 | (dcache_read_memory_partial): New declaration. | |
9970 | (dcache_update): Update prototype. | |
9971 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
9972 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
9973 | ||
b2b255bd MF |
9974 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
9975 | ||
9976 | * remote-sim.c (gdbsim_load): Add const to prog. | |
9977 | ||
5d9cf8a4 TT |
9978 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
9979 | ||
9980 | * elfread.c (probe_key): Change to bfd_data. | |
9981 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
9982 | now per-BFD, not per-objfile. | |
9983 | * stap-probe.c (stap_probe_destroy): Update comment. | |
9984 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
9985 | ||
729662a5 TT |
9986 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
9987 | ||
9988 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
9989 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
9990 | get_probe_address. | |
9991 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
9992 | (bkpt_probe_remove_location): Update. | |
9993 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
9994 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
9995 | (elf_probe_fns): Update. | |
9996 | (insert_exception_resume_breakpoint): Change type of "probe" | |
9997 | parameter to bound_probe. | |
9998 | (check_exception_resume): Update. | |
9999 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
10000 | * probe.c (bound_probe_s): New typedef. | |
10001 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
10002 | (find_probe_by_pc): Return a bound_probe. | |
10003 | (collect_probes): Return a VEC(bound_probe_s). | |
10004 | (compare_probes): Update. | |
10005 | (gen_ui_out_table_header_info): Change type of "probes" | |
10006 | parameter. Update. | |
10007 | (info_probes_for_ops): Update. | |
10008 | (get_probe_address): New function. | |
10009 | (probe_safe_evaluate_at_pc): Update. | |
10010 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
10011 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
10012 | (struct probe) <objfile>: Remove field. | |
10013 | <arch>: New field. | |
10014 | <address>: Update comment. | |
10015 | (struct bound_probe): New. | |
10016 | (find_probe_by_pc): Return a bound_probe. | |
10017 | (get_probe_address): Declare. | |
10018 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
10019 | (hash_probe_and_action, equal_probe_and_action): Update. | |
10020 | (register_solib_event_probe): Add address parameter. | |
10021 | (solib_event_probe_at): Update. | |
10022 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
10023 | get_probe_address. | |
10024 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
10025 | (stap_get_probe_address): New function. | |
10026 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
10027 | (compile_probe_arg): Update. | |
10028 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
10029 | address. | |
10030 | (handle_stap_probe): Don't relocate the probe. | |
10031 | (stap_relocate): Remove. | |
10032 | (stap_gen_info_probes_table_values): Update. | |
10033 | (stap_probe_ops): Remove stap_relocate. | |
10034 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
10035 | (debug_sym_probe_fns): Update. | |
10036 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
10037 | * symtab.c (init_sal): Use memset. | |
10038 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
10039 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
10040 | ||
ff887920 TT |
10041 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10042 | ||
10043 | * probe.h (parse_probes, find_probe_by_pc) | |
10044 | (find_probes_in_objfile): Fix comments. | |
10045 | ||
f0407826 DE |
10046 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10047 | ||
10048 | * infrun.c (handle_signal_stop): Replace test for | |
10049 | TARGET_WAITKIND_STOPPED with an assert. | |
10050 | ||
35e6a711 DE |
10051 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10052 | ||
10053 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
10054 | ||
667f9d0b DE |
10055 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10056 | ||
10057 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
10058 | ||
dc92ace0 MK |
10059 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10060 | ||
10061 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
10062 | ||
a900370f MK |
10063 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10064 | ||
10065 | * i386obsd-nat.c: Include "obsd-nat.h". | |
10066 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
10067 | add_target. | |
10068 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
10069 | ||
b72a7981 MK |
10070 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10071 | ||
10072 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
10073 | ||
96c70aba MK |
10074 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10075 | ||
10076 | * mips64obsd-nat.c: Include "obsd-nath". | |
10077 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
10078 | add_target | |
10079 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
10080 | ||
874a80af MK |
10081 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10082 | ||
8fd408f1 MK |
10083 | * amd64obsd-nat.c: Include "obsd-nat,h. |
10084 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
10085 | add_target. | |
874a80af MK |
10086 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
10087 | ||
9cf95373 SC |
10088 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
10089 | ||
10090 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
10091 | (find_overload_match): Update call to find_oload_champ. | |
10092 | (find_oload_champ_namespace_loop): Likewise | |
10093 | ||
863e4da4 MK |
10094 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
10095 | ||
025cac40 MK |
10096 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
10097 | ||
1ed586ce MK |
10098 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
10099 | * config/sparc/obsd64.mh: New file. | |
10100 | * sparc64obsd-nat.c: New file. | |
10101 | ||
863e4da4 MK |
10102 | * obsd-nat.h: New file. |
10103 | * obsd-nat.c: New file. | |
10104 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
10105 | (ALLDEPFILES): Add obsd-nat.c. | |
10106 | ||
89de4da4 TT |
10107 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
10108 | ||
10109 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
10110 | * cli-out.h (cli_ui_out_impl): Now const. | |
10111 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
10112 | * ui-out.c (struct ui_out) <impl>: Now const. | |
10113 | (default_ui_out_impl): Now const. | |
10114 | (ui_out_new): Make 'impl' parameter const. | |
10115 | * ui-out.h (ui_out_new): Update. | |
10116 | ||
c725e7b6 MK |
10117 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10118 | ||
10119 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
10120 | ||
670b46b3 MK |
10121 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10122 | ||
10123 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
10124 | ||
c91550fc JK |
10125 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
10126 | ||
10127 | Additional PR 8882 fix. | |
10128 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
10129 | ||
2fa0369e PA |
10130 | 2014-02-27 Pedro Alves <palves@redhat.com> |
10131 | ||
10132 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
10133 | isn't set. | |
10134 | ||
d632a097 PA |
10135 | 2014-02-27 Pedro Alves <palves@redhat.com> |
10136 | ||
10137 | PR 12702 | |
10138 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
10139 | * nat/linux-waitpid.c: Include string.h. | |
10140 | (status_to_str): Moved here and made extern. | |
10141 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
10142 | ||
2ebd5a35 HZ |
10143 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
10144 | ||
10145 | PR 12702 | |
10146 | * infrun.c (ptid_match): Move ... | |
10147 | * common/ptid.c (ptid_match): ... here. | |
10148 | * inferior.h (ptid_match): Move ... | |
10149 | * common/ptid.h (ptid_match): ... here. | |
10150 | ||
3cdd631f MK |
10151 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10152 | ||
10153 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
10154 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
10155 | gdb_target_obs. | |
10156 | ||
bee30a64 MK |
10157 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10158 | ||
10159 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
10160 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
10161 | |
10162 | * gdbarch.sh (auxv_parse): New. | |
10163 | * gdbarch.h: Regenerated. | |
10164 | * gdbarch.c: Regenerated. | |
10165 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
10166 | ||
7a5a839f LC |
10167 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
10168 | ||
10169 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
10170 | (value_functions): Add it. | |
10171 | ||
31aa7e4e JB |
10172 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10173 | ||
10174 | * dwarf2read.c (attr_value_as_address): New function. | |
10175 | (dwarf2_find_base_address, read_call_site_scope): Use | |
10176 | attr_value_as_address in place of DW_ADDR. | |
10177 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
10178 | the low and high addresses. Slight rework of the handling | |
10179 | of the high pc being a constant form, and limit it to | |
10180 | DWARF verson 4 or higher. | |
10181 | (dwarf2_record_block_ranges): Likewise. | |
10182 | (read_partial_die): Likewise. | |
10183 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
10184 | ||
9b333ba3 TT |
10185 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10186 | ||
10187 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
10188 | ||
5f6cac40 TT |
10189 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10190 | ||
10191 | * elfread.c (elf_read_minimal_symbols): Return early if | |
10192 | minimal symbols have already been read. Add "ei" parameter. | |
10193 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
10194 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
10195 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
10196 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
10197 | * symmisc.c (print_objfile_statistics): Update. | |
10198 | ||
2750ef27 TT |
10199 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10200 | ||
10201 | * elfread.c (elf_read_minimal_symbols): New function, from | |
10202 | elf_symfile_read. | |
10203 | (elf_symfile_read): Call it. | |
10204 | ||
34643a32 TT |
10205 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10206 | ||
10207 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
10208 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
10209 | (lookup_minimal_symbol_solib_trampoline) | |
10210 | (lookup_minimal_symbol_by_pc_section_1) | |
10211 | (lookup_minimal_symbol_and_objfile): Update. | |
10212 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
10213 | Don't allocate a minimal symbol if minsyms have already been read. | |
10214 | (build_minimal_symbol_hash_tables): Update. | |
10215 | (install_minimal_symbols): Do nothing if minsyms already read. | |
10216 | Use the per-BFD obstack. | |
10217 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
10218 | * objfiles.c (allocate_objfile): Call | |
10219 | terminate_minimal_symbol_table later. | |
10220 | (have_minimal_symbols): Update. | |
10221 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
10222 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
10223 | Move from struct objfile. | |
10224 | <minsyms_read>: New field. | |
10225 | (struct objfile) <msymbols, minimal_symbol_count, | |
10226 | msymbol_hash, msymbol_demangled_hash>: Move. | |
10227 | (ALL_OBJFILE_MSYMBOLS): Update. | |
10228 | * symfile.c (read_symbols): Set minsyms_read. | |
10229 | (reread_symbols): Update. | |
10230 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
10231 | ||
2273f0ac TT |
10232 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10233 | ||
10234 | * minsyms.c (msymbols_sort): Remove. | |
10235 | * minsyms.h (msymbols_sort): Remove. | |
10236 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
10237 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
10238 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
10239 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
10240 | to minimal symbol address. | |
10241 | * somread.c (text_offset, data_offset): Remove. | |
10242 | (som_symtab_read): Don't add section offsets to minimal symbol | |
10243 | addresses. | |
10244 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
10245 | Don't add section offsets to minimal symbols. | |
10246 | * coffread.c (coff_symtab_read): Don't add section offsets | |
10247 | to minimal symbol addresses. | |
10248 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
10249 | to minimal symbol addresses. | |
10250 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
10251 | section offset to minimal symbol addresses. | |
10252 | * mdebugread.c (parse_partial_symbols): Don't add section | |
10253 | offset to minimal symbol addresses. | |
10254 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
10255 | offset to minimal symbol addresses. | |
10256 | ||
77e371c0 TT |
10257 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10258 | ||
10259 | * ada-lang.c (ada_main_name): Update. | |
10260 | (ada_add_standard_exceptions): Update. | |
10261 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10262 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10263 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
10264 | * auxv.c (ld_so_xfer_auxv): Update. | |
10265 | * avr-tdep.c (avr_scan_prologue): Update. | |
10266 | * ax-gdb.c (gen_var_ref): Update. | |
10267 | * blockframe.c (get_pc_function_start) | |
10268 | (find_pc_partial_function_gnu_ifunc): Update. | |
10269 | * breakpoint.c (create_overlay_event_breakpoint) | |
10270 | (create_longjmp_master_breakpoint) | |
10271 | (create_std_terminate_master_breakpoint) | |
10272 | (create_exception_master_breakpoint): Update. | |
10273 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10274 | * c-valprint.c (c_val_print): Update. | |
10275 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10276 | * common/agent.c (agent_look_up_symbols): Update. | |
10277 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10278 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10279 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
10280 | * elfread.c (elf_gnu_ifunc_record_cache) | |
10281 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10282 | * findvar.c (default_read_var_value): Update. | |
10283 | * frame.c (inside_main_func): Update. | |
10284 | * frv-tdep.c (frv_frame_this_id): Update. | |
10285 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10286 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10287 | Update. | |
10288 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
10289 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10290 | * hppa-tdep.c (hppa_symbol_address): Update. | |
10291 | * infcmd.c (until_next_command): Update. | |
10292 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
10293 | Update. | |
10294 | * linespec.c (minsym_found, add_minsym): Update. | |
10295 | * linux-nat.c (get_signo): Update. | |
10296 | * linux-thread-db.c (inferior_has_bug): Update. | |
10297 | * m32c-tdep.c (m32c_return_value) | |
10298 | (m32c_m16c_address_to_pointer): Update. | |
10299 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10300 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10301 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10302 | * maint.c (maintenance_translate_address): Update. | |
10303 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
10304 | (frob_address): New function. | |
10305 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
10306 | frob_address. Rename parameter to "pc_in". | |
10307 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
10308 | addresses. | |
10309 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
10310 | Update. | |
10311 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10312 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
10313 | * objc-lang.c (find_objc_msgsend): Update. | |
10314 | * objfiles.c (objfile_relocate1): Update. | |
10315 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10316 | * p-valprint.c (pascal_val_print): Update. | |
10317 | * parse.c (write_exp_msymbol): Update. | |
10318 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
10319 | (ppc_elfv2_skip_entrypoint): Update. | |
10320 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10321 | * printcmd.c (build_address_symbolic, msym_info) | |
10322 | (address_info): Update. | |
10323 | * proc-service.c (ps_pglobal_lookup): Update. | |
10324 | * psymtab.c (find_pc_sect_psymtab_closer) | |
10325 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
10326 | Change msymbol parameter to bound_minimal_symbol. | |
10327 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10328 | * remote.c (remote_check_symbols): Update. | |
10329 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
10330 | address. | |
10331 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10332 | * solib-dsbt.c (lm_base): Update. | |
10333 | * solib-frv.c (lm_base, main_got): Update. | |
10334 | * solib-irix.c (locate_base): Update. | |
10335 | * solib-som.c (som_solib_create_inferior_hook) | |
10336 | (link_map_start): Update. | |
10337 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
10338 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10339 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10340 | (flush_ea_cache): Update. | |
10341 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
10342 | * stack.c (find_frame_funname): Update. | |
10343 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
10344 | (debug_qf_find_pc_sect_symtab): Update. | |
10345 | * symfile.c (simple_read_overlay_table) | |
10346 | (simple_overlay_update): Update. | |
10347 | * symfile.h (struct quick_symbol_functions) | |
10348 | <find_pc_sect_symtab>: Change type of msymbol to | |
10349 | bound_minimal_symbol. | |
10350 | * symmisc.c (dump_msymbols): Update. | |
10351 | * symtab.c (find_pc_sect_symtab_via_partial) | |
10352 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
10353 | (search_symbols, print_msymbol_info): Update. | |
10354 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
10355 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
10356 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
10357 | * tracepoint.c (scope_info): Update. | |
10358 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
10359 | (tui_get_begin_asm_address): Update. | |
10360 | * valops.c (find_function_in_inferior): Update. | |
10361 | * value.c (value_static_field, value_fn_field): Update. | |
10362 | ||
3b7344d5 TT |
10363 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10364 | ||
10365 | * ada-lang.c (ada_update_initial_language): Update. | |
10366 | (ada_main_name, ada_has_this_exception_support): Update. | |
10367 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10368 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10369 | * arm-tdep.c (arm_skip_stub): Update. | |
10370 | * auxv.c (ld_so_xfer_auxv): Update. | |
10371 | * avr-tdep.c (avr_scan_prologue): Update. | |
10372 | * ax-gdb.c (gen_var_ref): Update. | |
10373 | * breakpoint.c (struct breakpoint_objfile_data) | |
10374 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
10375 | type to bound_minimal_symbol. | |
10376 | (create_overlay_event_breakpoint) | |
10377 | (create_longjmp_master_breakpoint) | |
10378 | (create_std_terminate_master_breakpoint) | |
10379 | (create_exception_master_breakpoint): Update. | |
10380 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10381 | * c-exp.y (classify_name): Update. | |
10382 | * coffread.c (coff_symfile_read): Update. | |
10383 | * common/agent.c (agent_look_up_symbols): Update. | |
10384 | * d-lang.c (d_main_name): Update. | |
10385 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10386 | * dec-thread.c (enable_dec_thread): Update. | |
10387 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10388 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
10389 | * eval.c (evaluate_subexp_standard): Update. | |
10390 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
10391 | to bound_minimal_symbol. | |
10392 | <objfile>: Remove. | |
10393 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
10394 | * frame.c (inside_main_func): Update. | |
10395 | * frv-tdep.c (frv_frame_this_id): Update. | |
10396 | * gcore.c (call_target_sbrk): Update. | |
10397 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10398 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10399 | Update. | |
10400 | * go-lang.c (go_main_name): Update. | |
10401 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
10402 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10403 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
10404 | Update. Change return type. | |
10405 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
10406 | type. | |
10407 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10408 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
10409 | Update. | |
10410 | * linux-nat.c (get_signo): Update. | |
10411 | * linux-thread-db.c (inferior_has_bug): Update | |
10412 | * m32c-tdep.c (m32c_return_value) | |
10413 | (m32c_m16c_address_to_pointer): Update. | |
10414 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10415 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10416 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10417 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
10418 | lookup_minimal_symbol. Change return type. | |
10419 | (lookup_minimal_symbol): Remove. | |
10420 | (lookup_bound_minimal_symbol): Update. | |
10421 | (lookup_minimal_symbol_text): Change return type. | |
10422 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10423 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
10424 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10425 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10426 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
10427 | (value_nsstring, find_imps): Update. | |
10428 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10429 | * p-lang.c (pascal_main_name): Update. | |
10430 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
10431 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10432 | * proc-service.c (ps_pglobal_lookup): Update. | |
10433 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
10434 | return type. | |
10435 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
10436 | * remote.c (remote_check_symbols): Update. | |
10437 | * sol-thread.c (ps_pglobal_lookup): Update. | |
10438 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10439 | * solib-dsbt.c (lm_base): Update. | |
10440 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
10441 | Update. | |
10442 | * solib-irix.c (locate_base): Update. | |
10443 | * solib-som.c (som_solib_create_inferior_hook) | |
10444 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
10445 | Update. | |
10446 | * solib-spu.c (spu_enable_break): Update. | |
10447 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10448 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10449 | (flush_ea_cache): Update. | |
10450 | * stabsread.c (define_symbol): Update. | |
10451 | * symfile.c (simple_read_overlay_table): Update. | |
10452 | * symtab.c (find_pc_sect_line): Update. | |
10453 | * tracepoint.c (scope_info): Update. | |
10454 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
10455 | * value.c (value_static_field): Update. | |
10456 | ||
40c1a007 TT |
10457 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10458 | ||
10459 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
10460 | SET_MSYMBOL_VALUE_ADDRESS. | |
10461 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
10462 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
10463 | SET_MSYMBOL_VALUE_ADDRESS. | |
10464 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
10465 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
10466 | ||
efd66ac6 TT |
10467 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10468 | ||
10469 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
10470 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
10471 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
10472 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
10473 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
10474 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
10475 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
10476 | * ada-lang.c (ada_main_name): Update. | |
10477 | (ada_lookup_simple_minsym): Update. | |
10478 | (ada_make_symbol_completion_list): Update. | |
10479 | (ada_add_standard_exceptions): Update. | |
10480 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
10481 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10482 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
10483 | * arm-tdep.c (skip_prologue_function): Update. | |
10484 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
10485 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
10486 | (arm_wince_skip_main_prologue): Update. | |
10487 | * auxv.c (ld_so_xfer_auxv): Update. | |
10488 | * avr-tdep.c (avr_scan_prologue): Update. | |
10489 | * ax-gdb.c (gen_var_ref): Update. | |
10490 | * block.c (call_site_for_pc): Update. | |
10491 | * blockframe.c (get_pc_function_start): Update. | |
10492 | (find_pc_partial_function_gnu_ifunc): Update. | |
10493 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
10494 | (create_longjmp_master_breakpoint): Update. | |
10495 | (create_std_terminate_master_breakpoint): Update. | |
10496 | (create_exception_master_breakpoint): Update. | |
10497 | (resolve_sal_pc): Update. | |
10498 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10499 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
10500 | Update. | |
10501 | * c-valprint.c (c_val_print): Update. | |
10502 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10503 | * coffread.c (coff_symfile_read): Update. | |
10504 | * common/agent.c (agent_look_up_symbols): Update. | |
10505 | * dbxread.c (find_stab_function_addr): Update. | |
10506 | (end_psymtab): Update. | |
10507 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10508 | (func_verify_no_selftailcall): Update. | |
10509 | (tailcall_dump): Update. | |
10510 | (call_site_find_chain_1): Update. | |
10511 | (dwarf_expr_reg_to_entry_parameter): Update. | |
10512 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
10513 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10514 | * f-valprint.c (info_common_command): Update. | |
10515 | * findvar.c (read_var_value): Update. | |
10516 | * frame.c (get_prev_frame_1): Update. | |
10517 | (inside_main_func): Update. | |
10518 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
10519 | (frv_frame_this_id): Update. | |
10520 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10521 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
10522 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
10523 | (gnuv3_skip_trampoline): Update. | |
10524 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
10525 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
10526 | (hppa_hpux_skip_trampoline_code): Update. | |
10527 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
10528 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10529 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10530 | * hppa-tdep.c (hppa_symbol_address) | |
10531 | (hppa_lookup_stub_minimal_symbol): Update. | |
10532 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
10533 | (i386_pe_skip_trampoline_code): Update. | |
10534 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
10535 | * infcall.c (get_function_name): Update. | |
10536 | * infcmd.c (until_next_command): Update. | |
10537 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10538 | (jit_inferior_init): Update. | |
10539 | * linespec.c (minsym_found): Update. | |
10540 | (add_minsym): Update. | |
10541 | * linux-fork.c (info_checkpoints_command): Update. | |
10542 | * linux-nat.c (get_signo): Update. | |
10543 | * linux-thread-db.c (inferior_has_bug): Update. | |
10544 | * m32c-tdep.c (m32c_return_value): Update. | |
10545 | (m32c_m16c_address_to_pointer): Update. | |
10546 | (m32c_m16c_pointer_to_address): Update. | |
10547 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10548 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10549 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10550 | * maint.c (maintenance_translate_address): Update. | |
10551 | * minsyms.c (add_minsym_to_hash_table): Update. | |
10552 | (add_minsym_to_demangled_hash_table): Update. | |
10553 | (msymbol_objfile): Update. | |
10554 | (lookup_minimal_symbol): Update. | |
10555 | (iterate_over_minimal_symbols): Update. | |
10556 | (lookup_minimal_symbol_text): Update. | |
10557 | (lookup_minimal_symbol_by_pc_name): Update. | |
10558 | (lookup_minimal_symbol_solib_trampoline): Update. | |
10559 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
10560 | (lookup_minimal_symbol_and_objfile): Update. | |
10561 | (prim_record_minimal_symbol_full): Update. | |
10562 | (compare_minimal_symbols): Update. | |
10563 | (compact_minimal_symbols): Update. | |
10564 | (build_minimal_symbol_hash_tables): Update. | |
10565 | (install_minimal_symbols): Update. | |
10566 | (terminate_minimal_symbol_table): Update. | |
10567 | (find_solib_trampoline_target): Update. | |
10568 | (minimal_symbol_upper_bound): Update. | |
10569 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10570 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
10571 | (mips_skip_pic_trampoline_code): Update. | |
10572 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
10573 | * objc-lang.c (selectors_info): Update. | |
10574 | (classes_info): Update. | |
10575 | (find_methods): Update. | |
10576 | (find_imps): Update. | |
10577 | (find_objc_msgsend): Update. | |
10578 | * objfiles.c (objfile_relocate1): Update. | |
10579 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
10580 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10581 | * p-valprint.c (pascal_val_print): Update. | |
10582 | * parse.c (write_exp_msymbol): Update. | |
10583 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
10584 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
10585 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10586 | * printcmd.c (build_address_symbolic): Update. | |
10587 | (sym_info): Update. | |
10588 | (address_info): Update. | |
10589 | * proc-service.c (ps_pglobal_lookup): Update. | |
10590 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
10591 | (find_pc_sect_psymtab): Update. | |
10592 | * python/py-framefilter.c (py_print_frame): Update. | |
10593 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10594 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
10595 | Update. | |
10596 | * remote.c (remote_check_symbols): Update. | |
10597 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
10598 | (rs6000_skip_trampoline_code): Update. | |
10599 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
10600 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10601 | * solib-dsbt.c (lm_base): Update. | |
10602 | * solib-frv.c (lm_base): Update. | |
10603 | (main_got): Update. | |
10604 | * solib-irix.c (locate_base): Update. | |
10605 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
10606 | (som_solib_desire_dynamic_linker_symbols): Update. | |
10607 | (link_map_start): Update. | |
10608 | * solib-spu.c (spu_enable_break): Update. | |
10609 | (ocl_enable_break): Update. | |
10610 | * solib-svr4.c (elf_locate_base): Update. | |
10611 | (enable_break): Update. | |
10612 | * spu-tdep.c (spu_get_overlay_table): Update. | |
10613 | (spu_catch_start): Update. | |
10614 | (flush_ea_cache): Update. | |
10615 | * stabsread.c (define_symbol): Update. | |
10616 | (scan_file_globals): Update. | |
10617 | * stack.c (find_frame_funname): Update. | |
10618 | (frame_info): Update. | |
10619 | * symfile.c (simple_read_overlay_table): Update. | |
10620 | (simple_overlay_update): Update. | |
10621 | * symmisc.c (dump_msymbols): Update. | |
10622 | * symtab.c (fixup_section): Update. | |
10623 | (find_pc_sect_line): Update. | |
10624 | (skip_prologue_sal): Update. | |
10625 | (search_symbols): Update. | |
10626 | (print_msymbol_info): Update. | |
10627 | (rbreak_command): Update. | |
10628 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
10629 | (completion_list_objc_symbol): Update. | |
10630 | (default_make_symbol_completion_list_break_on): Update. | |
10631 | * tracepoint.c (scope_info): Update. | |
10632 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
10633 | (tui_get_begin_asm_address): Update. | |
10634 | * valops.c (find_function_in_inferior): Update. | |
10635 | * value.c (value_static_field): Update. | |
10636 | (value_fn_field): Update. | |
10637 | ||
50e65b17 TT |
10638 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10639 | ||
10640 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
10641 | bound minimal symbols. Move code that knows about minsym | |
10642 | table layout... | |
10643 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
10644 | function. | |
10645 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
10646 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
10647 | minimal_symbol_upper_bound. | |
10648 | ||
1b588015 JB |
10649 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10650 | ||
10651 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
10652 | Use the type's name if its basic type does not have a tag. | |
10653 | ||
dbb9c2b1 JB |
10654 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10655 | ||
10656 | * dwarf2read.c (read_subrange_type): Add comment. | |
10657 | ||
55426c9d JB |
10658 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10659 | ||
10660 | * dwarf2read.c (update_enumeration_type_from_children): New | |
10661 | function, mostly extracted from process_structure_scope. | |
10662 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
10663 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
10664 | and flag_flag_enum fields. | |
10665 | ||
f2fce0ca PA |
10666 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10667 | ||
10668 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
10669 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
10670 | to_xfer_partial method. | |
10671 | ||
7a44e40e PA |
10672 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10673 | ||
10674 | * target.c (complete_target_initialization): Don't install | |
10675 | default_xfer_partial as to_xfer_partial hook. | |
10676 | (nomemory): Delete. | |
10677 | (update_current_target): Don't INHERIT nor de_fault | |
10678 | deprecated_xfer_memory. Delete de_fault macro. | |
10679 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
10680 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
10681 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
10682 | field. | |
10683 | ||
bd265cd0 PA |
10684 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10685 | ||
10686 | * go32-nat.c (my_write_child): New function. | |
10687 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
10688 | (go32_xfer_partial): New function. | |
10689 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
10690 | Instead install a to_xfer_partial hook. | |
10691 | ||
9d46c4e5 PA |
10692 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10693 | ||
10694 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
10695 | to_xfer_partial helper. Rewrite. | |
10696 | (procfs_xfer_partial): New function. | |
10697 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
10698 | Install a to_xfer_partial hook. | |
10699 | ||
a1583b1f PA |
10700 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10701 | ||
10702 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
10703 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
10704 | (m32r_xfer_partial): New function. | |
10705 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
10706 | Install a to_xfer_partial hook. | |
10707 | ||
6df1b29f PA |
10708 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10709 | ||
10710 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
10711 | helper. | |
10712 | (mips_xfer_partial): New function. | |
10713 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
10714 | hook. Install a to_xfer_partial hook. | |
10715 | ||
dc53a7ad JB |
10716 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
10717 | ||
10718 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
10719 | * gdbtypes.c (create_array_type_with_stride): New function, | |
10720 | renaming create_array_type, but with an added parameter | |
10721 | called "bit_stride". | |
10722 | (create_array_type): Re-implement using | |
10723 | create_array_type_with_stride. | |
10724 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
10725 | and DW_AT_bit_stride attributes. | |
10726 | ||
12ab52e9 PA |
10727 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10728 | ||
10729 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
10730 | task-specific breakpoints. | |
10731 | ||
d16461ae PA |
10732 | 2014-02-25 Pedro Alves <palves@redhat.com> |
10733 | ||
10734 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
10735 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
10736 | ||
a8b16220 SS |
10737 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
10738 | ||
10739 | * defs.h: Annotate comments for Doxygen. | |
10740 | ||
b9e795ee TT |
10741 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
10742 | ||
10743 | * target.h (target_ignore): Don't declare. | |
10744 | * target.c (target_ignore): Remove. | |
10745 | ||
849c862e JK |
10746 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
10747 | ||
10748 | PR gdb/16626 | |
10749 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
10750 | debugfile. | |
10751 | ||
475109d8 JB |
10752 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
10753 | ||
10754 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
10755 | documentation. Adjust prototype to match the target_ops | |
10756 | to_xfer_partial method. Adjust implementation accordingly. | |
10757 | ||
e186c3bd HZ |
10758 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
10759 | ||
10760 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
10761 | to_traceframe_info. | |
10762 | ||
6d451942 KB |
10763 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
10764 | ||
041ab8b4 | 10765 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
10766 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
10767 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
10768 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
10769 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
10770 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
10771 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
10772 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
10773 | New constants. | |
10774 | (rl78_register_type): Use a data pointer type for SP and | |
10775 | new pseudo registers mentioned above. Use a 16 bit integer | |
10776 | type for all other register pairs. | |
10777 | (rl78_register_name, rl78_g10_register_name): Update for | |
10778 | new pseudo registers. | |
10779 | (rl78_pseudo_register_read): Likewise. | |
10780 | (rl78_pseudo_register_write): Likewise. | |
10781 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
10782 | to the newly added pseudo registers. | |
10783 | ||
eddf0bae DE |
10784 | 2014-02-24 Doug Evans <dje@google.com> |
10785 | ||
10786 | * value.c (record_latest_value): Fix comment. | |
10787 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
10788 | record_latest_value. | |
10789 | ||
e96027e0 PA |
10790 | 2014-02-24 Pedro Alves <palves@redhat.com> |
10791 | ||
10792 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
10793 | deprecated_xfer_memory hook. | |
10794 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
10795 | of the deprecated_xfer_memory target hook. | |
10796 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
10797 | helper. | |
10798 | ||
0837c976 YZ |
10799 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
10800 | ||
10801 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
10802 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
10803 | requested object is TARGET_OBJECT_LIBRARIES. | |
10804 | ||
bc113b4e YQ |
10805 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10806 | ||
10807 | * target.h (enum target_xfer_status) | |
10808 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
10809 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
10810 | explicitly. New. | |
10811 | * corefile.c (memory_error_message): User updated. | |
10812 | * exec.c (section_table_read_available_memory): Likewise. | |
10813 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
10814 | * target.c (target_xfer_status_to_string): Likewise. | |
10815 | (raw_memory_xfer_partial): Likewise. | |
10816 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
10817 | * valops.c (read_value_memory): Likewise. | |
10818 | * exec.h: Update comments. | |
10819 | ||
01cb8804 YQ |
10820 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10821 | ||
10822 | * target.c (target_xfer_status_to_string): Rename argument err | |
10823 | to status. | |
10824 | * target.h (target_xfer_status_to_string): Update declaration. | |
10825 | Replace target_xfer_error_to_string with | |
10826 | target_xfer_status_to_string in comment. | |
10827 | ||
93063aa6 YQ |
10828 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10829 | ||
10830 | * mips-linux-nat.c (super_close): Update its type. | |
10831 | (mips_linux_close): Pass 'self' to super_close. | |
10832 | ||
5c328c05 YQ |
10833 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10834 | ||
10835 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
10836 | * corefile.c (read_memory): Adjusted. | |
10837 | * target.c (target_write_with_progress): Adjusted. | |
10838 | ||
f73023dd YQ |
10839 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10840 | ||
10841 | Revert two patches: | |
10842 | ||
10843 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
10844 | ||
10845 | * remote.c (remote_traceframe_info): Return early if | |
10846 | traceframe is not selected. | |
10847 | ||
10848 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
10849 | ||
10850 | * target.c (update_current_target): Change the default action | |
10851 | of 'to_traceframe_info' from tcomplain to return_zero. | |
10852 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
10853 | comments. | |
10854 | ||
5a2eb0ef YQ |
10855 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10856 | ||
10857 | * valops.c (read_value_memory): Rewrite it. Call | |
10858 | target_xfer_partial in a loop. | |
10859 | * exec.h (section_table_available_memory): Remove declaration. | |
10860 | Move comments to ... | |
10861 | * exec.c (section_table_available_memory): ... here. Make it | |
10862 | static. | |
10863 | ||
1ee79381 YQ |
10864 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10865 | ||
10866 | * exec.c (section_table_read_available_memory): New function. | |
10867 | * exec.h (section_table_read_available_memory): Declare. | |
10868 | * ctf.c (ctf_xfer_partial): Call | |
10869 | section_table_read_available_memory. | |
10870 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
10871 | ||
1ca49d37 YQ |
10872 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10873 | ||
10874 | * ctf.c (ctf_xfer_partial): Move code to ... | |
10875 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
10876 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
10877 | * tracefile.c: Include "exec.h". | |
10878 | * exec.h (exec_read_partial_read_only): Declare. | |
10879 | ||
a283690e YQ |
10880 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10881 | ||
10882 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
10883 | (tfile_has_memory): Remove. | |
10884 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
10885 | to_has_memory of tfile_ops. | |
10886 | * tracefile.c (tracefile_has_all_memory): New function. | |
10887 | (tracefile_has_memory): New function. | |
10888 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
10889 | to_has_memory of 'ops'. | |
10890 | ||
12e03cd0 YQ |
10891 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10892 | ||
10893 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
10894 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
10895 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
10896 | init_tracefile_ops. | |
10897 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
10898 | (tfile_has_stack, tfile_has_registers): Remove. | |
10899 | (tfile_thread_alive): Remove. | |
10900 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
10901 | init_tracefile_ops. | |
10902 | * tracefile.c (tracefile_has_stack): New function. | |
10903 | (tracefile_has_registers): New function. | |
10904 | (tracefile_thread_alive): New function. | |
10905 | (tracefile_get_trace_status): New function. | |
10906 | (init_tracefile_ops): New function. | |
10907 | * tracefile.h (init_tracefile_ops): Declare. | |
10908 | ||
11395323 YQ |
10909 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10910 | ||
10911 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
10912 | (O_LARGEFILE): Likewise. | |
10913 | (tfile_ops): Likewise. | |
10914 | (TRACE_HEADER_SIZE): Likewise. | |
10915 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
10916 | (cur_data_size): Likewise. | |
10917 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
10918 | (tfile_close, tfile_files_info): Likewise. | |
10919 | (tfile_get_trace_status): Likewise. | |
10920 | (tfile_get_tracepoint_status): Likewise. | |
10921 | (tfile_get_traceframe_address): Likewise. | |
10922 | (tfile_trace_find, match_blocktype): Likewise. | |
10923 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
10924 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
10925 | (tfile_get_trace_state_variable_value): Likewise. | |
10926 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
10927 | (tfile_has_stack, tfile_has_registers): Likewise. | |
10928 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
10929 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
10930 | (_initialize_tracepoint): Don't call init_tfile_ops | |
10931 | and add_target_with_completer. | |
10932 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
10933 | exec.h, completer.h and filenames.h. | |
10934 | (_initialize_tracefile_tfile): New function. | |
10935 | ||
7951c4eb YQ |
10936 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10937 | ||
10938 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
10939 | tracefile-tfile.o. | |
10940 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
10941 | * ctf.c: Include "tracefile.h". | |
10942 | * tracefile.h: New file. | |
10943 | * tracefile.c: New file | |
10944 | * tracefile-tfile.c: New file. | |
10945 | * tracepoint.c: Include "tracefile.h". | |
10946 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
10947 | (stop_reason_names): Add const. | |
10948 | (trace_file_writer_xfree): Move it to tracefile.c. | |
10949 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
10950 | (trace_save_ctf): Likewise. | |
10951 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
10952 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
10953 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
10954 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
10955 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
10956 | (tfile_write_raw_data, tfile_end): Likewise. | |
10957 | (tfile_trace_file_writer_new): Likewise. | |
10958 | (free_uploaded_tp): Make it extern. | |
10959 | (free_uploaded_tsv): Make it extern. | |
10960 | (_initialize_tracepoint): Move code to register command 'tsave' | |
10961 | to tracefile.c. | |
10962 | * tracepoint.h (stop_reason_names): Declare. | |
10963 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
10964 | (struct trace_file_write_ops): Likewise. | |
10965 | (struct trace_file_writer): Likewise. | |
10966 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
10967 | ||
184cd072 JK |
10968 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
10969 | ||
10970 | PR gdb/16594 | |
10971 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
10972 | process name. | |
10973 | (get_cores_used_by_process): New parameter num_cores, use it. | |
10974 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
10975 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
10976 | process name. | |
10977 | ||
c63528fc AK |
10978 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
10979 | ||
10980 | * target.c (memory_xfer_partial): Fix length arg in call to | |
10981 | breakpoint_xfer_memory. | |
10982 | ||
d7b30f67 SDJ |
10983 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
10984 | ||
10985 | PR tdep/16397 | |
10986 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
10987 | number comes after the + or - signs. Adjust length of register | |
10988 | name to be extracted. | |
10989 | ||
8838afaf TT |
10990 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
10991 | ||
10992 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
10993 | (ada_varobj_ops): Mark "extern". | |
10994 | ||
05227d14 TT |
10995 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
10996 | ||
10997 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
10998 | ||
1254eefc DE |
10999 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
11000 | ||
11001 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
11002 | All callers updated. | |
11003 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
11004 | All callers updated. | |
11005 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
11006 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
11007 | ||
adde2bff DE |
11008 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
11009 | Joel Brobecker <brobecker@adacore.com> | |
11010 | Doug Evans <xdje42@gmail.com> | |
11011 | ||
11012 | PR symtab/16581 | |
11013 | * dwarf2read.c (struct die_info): New member in_process. | |
11014 | (reset_die_in_process): New function. | |
11015 | (process_die): Set it at the start, reset when returning. | |
11016 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
11017 | not already being processed. | |
11018 | ||
3be75f87 JB |
11019 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11020 | ||
11021 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
11022 | (do_initial_windows_stuff): Add comment explaining why we wait | |
11023 | until after inferior initialization has finished before | |
11024 | processing all DLLs. | |
11025 | ||
47f7ffdb JB |
11026 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11027 | ||
11028 | * windows-nat.c (get_module_name): Delete. | |
11029 | (windows_get_exec_module_filename): New function, mostly | |
11030 | inspired from get_module_name. | |
11031 | (windows_pid_to_exec_file): Replace call to get_module_name | |
11032 | by call to windows_get_exec_module_filename. | |
11033 | ||
1cd9feab JB |
11034 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11035 | ||
11036 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
11037 | introductory comment. Remove code using get_module_name | |
11038 | to get the DLL's name. | |
11039 | ||
ea39ad35 JB |
11040 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11041 | ||
11042 | * windows-nat.c (get_windows_debug_event): Ignore | |
11043 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
11044 | if windows_initialization_done == 0. | |
11045 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
11046 | Adjust implementation to always load all DLLs. | |
11047 | (do_initial_windows_stuff): Replace call to | |
11048 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
11049 | ||
95060284 JB |
11050 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11051 | ||
11052 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
11053 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
11054 | and "assf" aliases into commands, and deprecate them as well. | |
11055 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
11056 | aliases are now deprecated. | |
11057 | ||
8d4fdb12 JB |
11058 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11059 | ||
11060 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
11061 | new-line in debug string. Remove trailing spaces. | |
11062 | ||
1b281443 SS |
11063 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
11064 | ||
11065 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
11066 | ||
f7bd0f78 SC |
11067 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
11068 | ||
11069 | * NEWS: Add entry for the new feature | |
11070 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
11071 | and class values. | |
11072 | ||
399ebc3d SS |
11073 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
11074 | ||
11075 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
11076 | ||
c658158d PA |
11077 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11078 | ||
11079 | * common/ptid.h (struct ptid): Mention that process_stratum | |
11080 | targets should prefer ptid.lwp. | |
11081 | ||
ba348170 PA |
11082 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11083 | ||
11084 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
11085 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
11086 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
11087 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
11088 | store remote thread ids rather than ptid.tid. | |
11089 | (_initialize_remote): Adjust. | |
11090 | ||
ac01945b TT |
11091 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11092 | ||
11093 | * target.c (target_get_unwinder): Rewrite. | |
11094 | (target_get_tailcall_unwinder): Rewrite. | |
11095 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
11096 | (record_btrace_to_get_tailcall_unwinder): New function. | |
11097 | (init_record_btrace_ops): Update. | |
11098 | * target.h (struct target_ops) <to_get_unwinder, | |
11099 | to_get_tailcall_unwinder>: Now function pointers. Use | |
11100 | TARGET_DEFAULT_RETURN. | |
11101 | ||
8476dc92 TT |
11102 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11103 | ||
11104 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
11105 | argument. | |
11106 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
11107 | ||
c0eca49f TT |
11108 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11109 | ||
11110 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
11111 | directly. | |
11112 | * target-delegates.c: Rebuild. | |
11113 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
11114 | TARGET_DEFAULT_FUNC. | |
11115 | * target.c (default_target_decr_pc_after_break): Rename from | |
11116 | forward_target_decr_pc_after_break. Simplify. | |
11117 | (target_decr_pc_after_break): Rely on delegation. | |
11118 | ||
596b6b39 TT |
11119 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11120 | ||
11121 | * target.c (update_current_target): Do not INHERIT to_doc or | |
11122 | to_magic. Do not de_fault to_open or to_close. | |
11123 | ||
b427c1bc TT |
11124 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11125 | ||
11126 | * gcore.h (objfile_find_memory_regions): Declare. | |
11127 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
11128 | "self" argument. | |
11129 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
11130 | * exec.c: Include gcore.h. | |
11131 | (exec_set_find_memory_regions): Remove. | |
11132 | (exec_find_memory_regions): Remove. | |
11133 | (exec_do_find_memory_regions): Remove. | |
11134 | (init_exec_ops): Update. | |
11135 | * defs.h (exec_set_find_memory_regions): Remove. | |
11136 | ||
9b144037 TT |
11137 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11138 | ||
11139 | * target-delegates.c: Rebuild. | |
11140 | * target.h (struct target_ops) <to_extra_thread_info, | |
11141 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
11142 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
11143 | not 0, in TARGET_DEFAULT_RETURN. | |
11144 | ||
555bbdeb TT |
11145 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11146 | ||
11147 | * target.c (complete_target_initialization): Remove casts. Use | |
11148 | return_zero_has_execution. | |
11149 | (return_zero): Add "ignore" argument. | |
11150 | (return_zero_has_execution): New function. | |
11151 | (init_dummy_target): Remove casts. Use | |
11152 | return_zero_has_execution. | |
11153 | ||
be4ddd36 TT |
11154 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11155 | ||
11156 | * target.c (update_current_target): Update comments. Do not | |
11157 | INHERIT to_stratum. | |
11158 | ||
2117c711 TT |
11159 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11160 | ||
11161 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
11162 | needed. | |
11163 | * corelow.c (core_read_description): Delegate when needed. | |
11164 | * remote.c (remote_read_description): Delegate when needed. | |
11165 | * target-delegates.c: Rebuild. | |
11166 | * target.c (target_read_description): Rewrite. | |
11167 | * target.h (struct target_ops) <to_read_description>: Update | |
11168 | comment. Use TARGET_DEFAULT_RETURN. | |
11169 | ||
e88ef65c TT |
11170 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11171 | ||
11172 | * target-delegates.c: Rebuild. | |
11173 | * target.c (update_current_target): Don't inherit or default | |
11174 | to_can_run. | |
11175 | (find_default_run_target): Check against delegate_can_run. | |
11176 | * target.h (struct target_ops) <to_can_run>: Use | |
11177 | TARGET_DEFAULT_RETURN. | |
11178 | ||
86a0854a TT |
11179 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11180 | ||
11181 | * target-delegates.c: Rebuild. | |
11182 | * target.c (target_disconnect): Unconditionally delegate. | |
11183 | * target.h (struct target_ops) <to_disconnect>: Use | |
11184 | TARGET_DEFAULT_NORETURN. | |
11185 | ||
ee97f592 TT |
11186 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11187 | ||
11188 | * record.c (record_stop): Unconditionally delegate. | |
11189 | * target-delegates.c: Rebuild. | |
11190 | * target.c (target_stop_recording): Unconditionally delegate. | |
11191 | * target.h (struct target_ops) <to_stop_recording>: Use | |
11192 | TARGET_DEFAULT_IGNORE. | |
11193 | ||
6dc7fcf4 TT |
11194 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11195 | ||
11196 | * target-delegates.c: Rebuild. | |
11197 | * target.c (target_enable_btrace): Unconditionally delegate. | |
11198 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
11199 | TARGET_DEFAULT_NORETURN. | |
11200 | ||
eb5b20d4 TT |
11201 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11202 | ||
11203 | * target-delegates.c: Rebuild. | |
11204 | * target.c (target_read_btrace): Unconditionally delegate. | |
11205 | * target.h (struct target_ops) <to_read_btrace>: Use | |
11206 | TARGET_DEFAULT_NORETURN. | |
11207 | ||
9ace480d TT |
11208 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11209 | ||
11210 | * target-delegates.c: Rebuild. | |
11211 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
11212 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
11213 | TARGET_DEFAULT_NORETURN. | |
11214 | ||
8dc292d3 TT |
11215 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11216 | ||
11217 | * target-delegates.c: Rebuild. | |
11218 | * target.c (target_disable_btrace): Unconditionally delegate. | |
11219 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
11220 | TARGET_DEFAULT_NORETURN. | |
11221 | ||
58a5184e TT |
11222 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11223 | ||
11224 | * target-delegates.c: Rebuild. | |
11225 | * target.c (default_search_memory): New function. | |
11226 | (simple_search_memory): Update comment. | |
11227 | (target_search_memory): Unconditionally delegate. | |
11228 | * target.h (struct target_ops) <to_search_memory>: Use | |
11229 | TARGET_DEFAULT_FUNC. | |
11230 | ||
8de71aab TT |
11231 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11232 | ||
11233 | * auxv.c (default_auxv_parse): No longer static. | |
11234 | (target_auxv_parse): Unconditionally delegate. | |
11235 | * auxv.h (default_auxv_parse): Declare. | |
11236 | * target-delegates.c: Rebuild. | |
11237 | * target.c: Include auxv.h. | |
11238 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
11239 | TARGET_DEFAULT_FUNC. | |
11240 | ||
6b2c5a57 TT |
11241 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11242 | ||
11243 | * target-delegates.c: Rebuild. | |
11244 | * target.c (target_memory_map): Unconditionally delegate. | |
11245 | * target.h (struct target_ops) <to_memory_map>: Use | |
11246 | TARGET_DEFAULT_RETURN. | |
11247 | ||
cbffc065 TT |
11248 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11249 | ||
11250 | * target-delegates.c: Rebuild. | |
11251 | * target.c (target_thread_alive): Unconditionally delegate. | |
11252 | * target.h (struct target_ops) <to_thread_alive>: Use | |
11253 | TARGET_DEFAULT_RETURN. | |
11254 | ||
f09e2107 TT |
11255 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11256 | ||
11257 | * target-delegates.c: Rebuild. | |
11258 | * target.c (target_save_record): Unconditionally delegate. | |
11259 | * target.h (struct target_ops) <to_save_record>: Use | |
11260 | TARGET_DEFAULT_NORETURN. | |
11261 | ||
07366925 TT |
11262 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11263 | ||
11264 | * target-delegates.c: Rebuild. | |
11265 | * target.c (target_delete_record): Unconditionally delegate. | |
11266 | * target.h (struct target_ops) <to_delete_record>: Use | |
11267 | TARGET_DEFAULT_NORETURN. | |
11268 | ||
dd2e9d25 TT |
11269 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11270 | ||
11271 | * target-delegates.c: Rebuild. | |
11272 | * target.c (target_record_is_replaying): Unconditionally | |
11273 | delegate. | |
11274 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
11275 | TARGET_DEFAULT_RETURN. | |
11276 | ||
671e76cc TT |
11277 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11278 | ||
11279 | * target-delegates.c: Rebuild. | |
11280 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
11281 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
11282 | TARGET_DEFAULT_NORETURN. | |
11283 | ||
e9179bb3 TT |
11284 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11285 | ||
11286 | * target-delegates.c: Rebuild. | |
11287 | * target.c (target_goto_record_end): Unconditionally delegate. | |
11288 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
11289 | TARGET_DEFAULT_NORETURN. | |
11290 | ||
05969c84 TT |
11291 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11292 | ||
11293 | * target-delegates.c: Rebuild. | |
11294 | * target.c (target_goto_record): Unconditionally delegate. | |
11295 | * target.h (struct target_ops) <to_goto_record>: Use | |
11296 | TARGET_DEFAULT_NORETURN. | |
11297 | ||
3679abfa TT |
11298 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11299 | ||
11300 | * target-delegates.c: Rebuild. | |
11301 | * target.c (target_insn_history): Unconditionally delegate. | |
11302 | * target.h (struct target_ops) <to_insn_history>: Use | |
11303 | TARGET_DEFAULT_NORETURN. | |
11304 | ||
8444ab58 TT |
11305 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11306 | ||
11307 | * target-delegates.c: Rebuild. | |
11308 | * target.c (target_insn_history_from): Unconditionally delegate. | |
11309 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
11310 | TARGET_DEFAULT_NORETURN. | |
11311 | ||
c29302cc TT |
11312 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11313 | ||
11314 | * target-delegates.c: Rebuild. | |
11315 | * target.c (target_insn_history_range): Unconditionally delegate. | |
11316 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
11317 | TARGET_DEFAULT_NORETURN. | |
11318 | ||
170049d4 TT |
11319 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11320 | ||
11321 | * target-delegates.c: Rebuild. | |
11322 | * target.c (target_call_history): Unconditionally delegate. | |
11323 | * target.h (struct target_ops) <to_call_history>: Use | |
11324 | TARGET_DEFAULT_NORETURN. | |
11325 | ||
16fc27d6 TT |
11326 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11327 | ||
11328 | * target-delegates.c: Rebuild. | |
11329 | * target.c (target_call_history_from): Unconditionally delegate. | |
11330 | * target.h (struct target_ops) <to_call_history_from>: Use | |
11331 | TARGET_DEFAULT_NORETURN. | |
11332 | ||
115d9817 TT |
11333 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11334 | ||
11335 | * target-delegates.c: Rebuild. | |
11336 | * target.c (target_call_history_range): Unconditionally delegate. | |
11337 | * target.h (struct target_ops) <to_call_history_range>: Use | |
11338 | TARGET_DEFAULT_NORETURN. | |
11339 | ||
eb276a6b TT |
11340 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11341 | ||
11342 | * target-delegates.c: Rebuild. | |
11343 | * target.c (target_verify_memory): Unconditionally delegate. | |
11344 | * target.h (struct target_ops) <to_verify_memory>: Use | |
11345 | TARGET_DEFAULT_NORETURN. | |
11346 | ||
9e538d0d TT |
11347 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11348 | ||
11349 | * target-delegates.c: Rebuild. | |
11350 | * target.c (target_core_of_thread): Unconditionally delegate. | |
11351 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
11352 | TARGET_DEFAULT_RETURN. | |
11353 | ||
f6fb2925 TT |
11354 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11355 | ||
11356 | * target-delegates.c: Rebuild. | |
11357 | * target.c (target_flash_done): Unconditionally delegate. | |
11358 | * target.h (struct target_ops) <to_flash_done>: Use | |
11359 | TARGET_DEFAULT_NORETURN. | |
11360 | ||
e8a6c6ac TT |
11361 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11362 | ||
11363 | * target-delegates.c: Rebuild. | |
11364 | * target.c (target_flash_erase): Unconditionally delegate. | |
11365 | * target.h (struct target_ops) <to_flash_erase>: Use | |
11366 | TARGET_DEFAULT_NORETURN. | |
11367 | ||
7e35c012 TT |
11368 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11369 | ||
11370 | * target-delegates.c: Rebuild. | |
11371 | * target.c (target_get_section_table): Unconditionally delegate. | |
11372 | * target.h (struct target_ops) <to_get_section_table>: Use | |
11373 | TARGET_DEFAULT_RETURN. | |
11374 | ||
770234d3 TT |
11375 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11376 | ||
11377 | * target-delegates.c: Rebuild. | |
11378 | * target.c (target_pid_to_str): Unconditionally delegate. | |
11379 | (init_dummy_target): Don't initialize to_pid_to_str. | |
11380 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
11381 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
11382 | TARGET_DEFAULT_FUNC. | |
11383 | ||
09b0dc2b TT |
11384 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11385 | ||
11386 | * target-delegates.c: Rebuild. | |
11387 | * target.c (target_find_new_threads): Unconditionally delegate. | |
11388 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
11389 | TARGET_DEFAULT_RETURN. | |
11390 | ||
7d4f8efa TT |
11391 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11392 | ||
11393 | * target-delegates.c: Rebuild. | |
11394 | * target.c (target_program_signals): Unconditionally delegate. | |
11395 | * target.h (struct target_ops) <to_program_signals>: Use | |
11396 | TARGET_DEFAULT_IGNORE. | |
11397 | ||
035cad7f TT |
11398 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11399 | ||
11400 | * target-delegates.c: Rebuild. | |
11401 | * target.c (target_pass_signals): Unconditionally delegate. | |
11402 | * target.h (struct target_ops) <to_pass_signals>: Use | |
11403 | TARGET_DEFAULT_IGNORE. | |
11404 | ||
8d657035 TT |
11405 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11406 | ||
11407 | * target-delegates.c: Rebuild. | |
11408 | * target.c (default_mourn_inferior): New function. | |
11409 | (target_mourn_inferior): Unconditionally delegate. | |
11410 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
11411 | TARGET_DEFAULT_FUNC. | |
11412 | ||
098dba18 TT |
11413 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11414 | ||
11415 | * target-delegates.c: Rebuild. | |
11416 | * target.c (default_follow_fork): New function. | |
11417 | (target_follow_fork): Unconditionally delegate. | |
11418 | * target.h (struct target_ops) <to_follow_fork>: Use | |
11419 | TARGET_DEFAULT_FUNC. | |
11420 | ||
423a4807 TT |
11421 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11422 | ||
11423 | * target-delegates.c: Rebuild. | |
11424 | * target.c (target_kill): Unconditionally delegate. | |
11425 | * target.h (struct target_ops) <to_kill>: Use | |
11426 | TARGET_DEFAULT_NORETURN. | |
11427 | ||
6c7e5e5c TT |
11428 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11429 | ||
11430 | * target-delegates.c: Rebuild. | |
11431 | * target.c (target_masked_watch_num_registers): Unconditionally | |
11432 | delegate. | |
11433 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
11434 | Use TARGET_DEFAULT_RETURN. | |
11435 | ||
8b1c364c TT |
11436 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11437 | ||
11438 | * target-delegates.c: Rebuild. | |
11439 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
11440 | delegate. | |
11441 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
11442 | TARGET_DEFAULT_RETURN. | |
11443 | ||
cd4ae029 TT |
11444 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11445 | ||
11446 | * target-delegates.c: Rebuild. | |
11447 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
11448 | delegate. | |
11449 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
11450 | TARGET_DEFAULT_RETURN. | |
11451 | ||
a134316b TT |
11452 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11453 | ||
11454 | * target-delegates.c: Rebuild. | |
11455 | * target.c (target_ranged_break_num_registers): Unconditionally | |
11456 | delegate. | |
11457 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
11458 | Use TARGET_DEFAULT_RETURN. | |
11459 | ||
ad5989bd TT |
11460 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11461 | ||
11462 | * target-delegates.c: Rebuild. | |
11463 | * target.c (target_fetch_registers): Unconditionally delegate. | |
11464 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
11465 | TARGET_DEFAULT_NORETURN. | |
11466 | ||
46ee7e8d TT |
11467 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11468 | ||
11469 | * target-delegates.c: Rebuild. | |
11470 | * target.c (update_current_target): Don't inherit or default | |
11471 | to_stop. | |
11472 | * target.h (struct target_ops) <to_stop>: Use | |
11473 | TARGET_DEFAULT_IGNORE. | |
11474 | ||
843f59ed TT |
11475 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11476 | ||
11477 | * target-delegates.c: Rebuild. | |
11478 | * target.c (update_current_target): Don't inherit or default | |
11479 | to_can_run_breakpoint_commands. | |
11480 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
11481 | Use TARGET_DEFAULT_RETURN. | |
11482 | ||
ccfde2a0 TT |
11483 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11484 | ||
11485 | * target-delegates.c: Rebuild. | |
11486 | * target.c (update_current_target): Don't inherit or default | |
11487 | to_supports_evaluation_of_breakpoint_conditions. | |
11488 | * target.h (struct target_ops) | |
11489 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
11490 | TARGET_DEFAULT_RETURN. | |
11491 | ||
0de91722 TT |
11492 | 2014-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_augmented_libraries_svr4_read. | |
11497 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
11498 | Use TARGET_DEFAULT_RETURN. | |
11499 | ||
9a7d8b48 TT |
11500 | 2014-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_can_use_agent. | |
11505 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
11506 | TARGET_DEFAULT_RETURN. | |
11507 | ||
d9db5b21 TT |
11508 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11509 | ||
11510 | * target-delegates.c: Rebuild. | |
11511 | * target.c (update_current_target): Don't inherit or default | |
11512 | to_use_agent. | |
11513 | * target.h (struct target_ops) <to_use_agent>: Use | |
11514 | TARGET_DEFAULT_NORETURN. | |
11515 | ||
92155eeb TT |
11516 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11517 | ||
11518 | * target-delegates.c: Rebuild. | |
11519 | * target.c (update_current_target): Don't inherit or default | |
11520 | to_traceframe_info. | |
11521 | (return_null): Remove. | |
11522 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
11523 | TARGET_DEFAULT_RETURN. | |
11524 | ||
d6522a22 TT |
11525 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11526 | ||
11527 | * target-delegates.c: Rebuild. | |
11528 | * target.c (update_current_target): Don't inherit or default | |
11529 | to_static_tracepoint_markers_by_strid. | |
11530 | * target.h (struct target_ops) | |
11531 | <to_static_tracepoint_markers_by_strid>: Use | |
11532 | TARGET_DEFAULT_NORETURN. | |
11533 | ||
4c3e4425 TT |
11534 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11535 | ||
11536 | * target-delegates.c: Rebuild. | |
11537 | * target.c (update_current_target): Don't inherit or default | |
11538 | to_static_tracepoint_marker_at. | |
11539 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
11540 | Use TARGET_DEFAULT_RETURN. | |
11541 | ||
dcd6917f TT |
11542 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11543 | ||
11544 | * target-delegates.c: Rebuild. | |
11545 | * target.c (update_current_target): Don't inherit or default | |
11546 | to_set_permissions. | |
11547 | * target.h (struct target_ops) <to_set_permissions>: Use | |
11548 | TARGET_DEFAULT_IGNORE. | |
11549 | ||
22bcceee TT |
11550 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11551 | ||
11552 | * target-delegates.c: Rebuild. | |
11553 | * target.c (update_current_target): Don't inherit or default | |
11554 | to_get_tib_address. | |
11555 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
11556 | TARGET_DEFAULT_NORETURN. | |
11557 | ||
8586ccaa TT |
11558 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11559 | ||
11560 | * target-delegates.c: Rebuild. | |
11561 | * target.c (update_current_target): Don't inherit or default | |
11562 | to_set_trace_notes. | |
11563 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
11564 | TARGET_DEFAULT_RETURN. | |
11565 | ||
91df8d1d TT |
11566 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11567 | ||
11568 | * target-delegates.c: Rebuild. | |
11569 | * target.c (update_current_target): Don't initialize | |
11570 | to_set_trace_buffer_size. | |
11571 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
11572 | TARGET_DEFAULT_IGNORE. | |
11573 | ||
8d526939 TT |
11574 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11575 | ||
11576 | * target-delegates.c: Rebuild. | |
11577 | * target.c (update_current_target): Don't inherit or default | |
11578 | to_set_circular_trace_buffer. | |
11579 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
11580 | TARGET_DEFAULT_IGNORE. | |
11581 | ||
0bcfeddf TT |
11582 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11583 | ||
11584 | * target-delegates.c: Rebuild. | |
11585 | * target.c (update_current_target): Don't inherit or default | |
11586 | to_set_disconnected_tracing. | |
11587 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
11588 | TARGET_DEFAULT_IGNORE. | |
11589 | ||
9249843f TT |
11590 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11591 | ||
11592 | * target-delegates.c: Rebuild. | |
11593 | * target.c (update_current_target): Don't inherit or default | |
11594 | to_get_min_fast_tracepoint_insn_len. | |
11595 | (return_minus_one): Remove. | |
11596 | * target.h (struct target_ops) | |
11597 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
11598 | ||
ace92e7d TT |
11599 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11600 | ||
11601 | * target-delegates.c: Rebuild. | |
11602 | * target.c (update_current_target): Don't inherit or default | |
11603 | to_get_raw_trace_data. | |
11604 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
11605 | TARGET_DEFAULT_NORETURN. | |
11606 | ||
08120467 TT |
11607 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11608 | ||
11609 | * target-delegates.c: Rebuild. | |
11610 | * target.c (update_current_target): Don't inherit or default | |
11611 | to_upload_trace_state_variables. | |
11612 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
11613 | Use TARGET_DEFAULT_RETURN. | |
11614 | ||
1e949b00 TT |
11615 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11616 | ||
11617 | * target-delegates.c: Rebuild. | |
11618 | * target.c (update_current_target): Don't inherit or default | |
11619 | to_upload_tracepoints. | |
11620 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
11621 | TARGET_DEFAULT_RETURN. | |
11622 | ||
a2e6c147 TT |
11623 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11624 | ||
11625 | * target-delegates.c: Rebuild. | |
11626 | * target.c (update_current_target): Don't inherit or default | |
11627 | to_save_trace_data. | |
11628 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
11629 | TARGET_DEFAULT_NORETURN. | |
11630 | ||
959bcd0b TT |
11631 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11632 | ||
11633 | * target-delegates.c: Rebuild. | |
11634 | * target.c (update_current_target): Don't inherit or default | |
11635 | to_get_trace_state_variable_value. | |
11636 | * target.h (struct target_ops) | |
11637 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
11638 | ||
afc94e66 TT |
11639 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11640 | ||
11641 | * target-delegates.c: Rebuild. | |
11642 | * target.c (update_current_target): Don't inherit or default | |
11643 | to_trace_find. | |
11644 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
11645 | ||
e51c07ea TT |
11646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11647 | ||
11648 | * target-delegates.c: Rebuild. | |
11649 | * target.c (update_current_target): Don't inherit or default | |
11650 | to_trace_stop. | |
11651 | * target.h (struct target_ops) <to_trace_stop>: Use | |
11652 | TARGET_DEFAULT_NORETURN. | |
11653 | ||
6fea14cd TT |
11654 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11655 | ||
11656 | * target-delegates.c: Rebuild. | |
11657 | * target.c (update_current_target): Don't inherit or default | |
11658 | to_get_tracepoint_status. | |
11659 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
11660 | TARGET_DEFAULT_NORETURN. | |
11661 | ||
4072d4ff TT |
11662 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11663 | ||
11664 | * target-delegates.c: Rebuild. | |
11665 | * target.c (update_current_target): Don't inherit or default | |
11666 | to_get_trace_status. | |
11667 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
11668 | TARGET_DEFAULT_RETURN. | |
11669 | ||
25da2e80 TT |
11670 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11671 | ||
11672 | * target-delegates.c: Rebuild. | |
11673 | * target.c (update_current_target): Don't inherit or default | |
11674 | to_trace_start. | |
11675 | * target.h (struct target_ops) <to_trace_start>: Use | |
11676 | TARGET_DEFAULT_NORETURN. | |
11677 | ||
86dd181d TT |
11678 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11679 | ||
11680 | * target-delegates.c: Rebuild. | |
11681 | * target.c (update_current_target): Don't inherit or default | |
11682 | to_trace_set_readonly_regions. | |
11683 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
11684 | Use TARGET_DEFAULT_NORETURN. | |
11685 | ||
05c41993 TT |
11686 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11687 | ||
11688 | * target-delegates.c: Rebuild. | |
11689 | * target.c (update_current_target): Don't inherit or default | |
11690 | to_disable_tracepoint. | |
11691 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
11692 | TARGET_DEFAULT_NORETURN. | |
11693 | ||
151f70f1 TT |
11694 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11695 | ||
11696 | * target-delegates.c: Rebuild. | |
11697 | * target.c (update_current_target): Don't inherit or default | |
11698 | to_enable_tracepoint. | |
11699 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
11700 | TARGET_DEFAULT_NORETURN. | |
11701 | ||
94eb98b9 TT |
11702 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11703 | ||
11704 | * target-delegates.c: Rebuild. | |
11705 | * target.c (update_current_target): Don't inherit or default | |
11706 | to_download_trace_state_variable. | |
11707 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
11708 | Use TARGET_DEFAULT_NORETURN. | |
11709 | ||
719acc4a TT |
11710 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11711 | ||
11712 | * target-delegates.c: Rebuild. | |
11713 | * target.c (update_current_target): Don't inherit or default | |
11714 | to_can_download_tracepoint. | |
11715 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
11716 | TARGET_DEFAULT_RETURN. | |
11717 | ||
9a980a22 TT |
11718 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11719 | ||
11720 | * target-delegates.c: Rebuild. | |
11721 | * target.c (update_current_target): Don't inherit or default | |
11722 | to_download_tracepoint. | |
11723 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
11724 | TARGET_DEFAULT_NORETURN. | |
11725 | ||
5536135b TT |
11726 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11727 | ||
11728 | * target-delegates.c: Rebuild. | |
11729 | * target.c (update_current_target): Don't inherit or default | |
11730 | to_trace_init. | |
11731 | * target.h (struct target_ops) <to_trace_init>: Use | |
11732 | TARGET_DEFAULT_RETURN. | |
11733 | ||
9409d39e TT |
11734 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11735 | ||
11736 | * target-delegates.c: Rebuild. | |
11737 | * target.c (update_current_target): Don't inherit or default | |
11738 | to_supports_string_tracing. | |
11739 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
11740 | TARGET_DEFAULT_RETURN. | |
11741 | ||
aab1b22d TT |
11742 | 2014-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_supports_enable_disable_tracepoint. | |
11747 | * target.h (struct target_ops) | |
11748 | <to_supports_enable_disable_tracepoint>: Use | |
11749 | TARGET_DEFAULT_RETURN. | |
11750 | ||
a7304748 TT |
11751 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11752 | ||
11753 | * target-delegates.c: Rebuild. | |
11754 | * target.c (update_current_target): Don't inherit or default | |
11755 | to_supports_multi_process. | |
11756 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
11757 | TARGET_DEFAULT_RETURN. | |
11758 | ||
4229b31d TT |
11759 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11760 | ||
11761 | * target-delegates.c: Rebuild. | |
11762 | * target.c (update_current_target): Don't inherit or default | |
11763 | to_get_ada_task_ptid. | |
11764 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
11765 | TARGET_DEFAULT_FUNC. | |
11766 | ||
43eba180 TT |
11767 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11768 | ||
11769 | * target-delegates.c: Rebuild. | |
11770 | * target.c (update_current_target): Don't inherit or default | |
11771 | to_thread_architecture. | |
11772 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
11773 | TARGET_DEFAULT_FUNC. | |
11774 | ||
fe31bf5b TT |
11775 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11776 | ||
11777 | * target-delegates.c: Rebuild. | |
11778 | * target.c (update_current_target): Don't inherit or default | |
11779 | to_execution_direction. | |
11780 | * target.h (struct target_ops) <to_execution_direction>: Use | |
11781 | TARGET_DEFAULT_FUNC. | |
11782 | ||
53e1cfc7 TT |
11783 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11784 | ||
11785 | * target-delegates.c: Rebuild. | |
11786 | * target.c (update_current_target): Don't inherit or default | |
11787 | to_can_execute_reverse. | |
11788 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
11789 | TARGET_DEFAULT_RETURN. | |
11790 | (target_can_execute_reverse): Unconditionally delegate. | |
11791 | ||
9bb9d61d TT |
11792 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11793 | ||
11794 | * target-delegates.c: Rebuild. | |
11795 | * target.c (update_current_target): Don't inherit or default | |
11796 | to_goto_bookmark. | |
11797 | (dummy_goto_bookmark): Remove. | |
11798 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
11799 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
11800 | TARGET_DEFAULT_NORETURN. | |
11801 | ||
3dbafbbb TT |
11802 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11803 | ||
11804 | * target-delegates.c: Rebuild. | |
11805 | * target.c (update_current_target): Don't inherit or default | |
11806 | to_get_bookmark. | |
11807 | (dummy_get_bookmark): Remove. | |
11808 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
11809 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
11810 | TARGET_DEFAULT_NORETURN | |
11811 | ||
16f796b1 TT |
11812 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11813 | ||
11814 | * target-delegates.c: Rebuild. | |
11815 | * target.c (update_current_target): Don't inherit or default | |
11816 | to_make_corefile_notes. | |
11817 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
11818 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
11819 | TARGET_DEFAULT_FUNC. | |
11820 | ||
0b5a2719 TT |
11821 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11822 | ||
11823 | * target-delegates.c: Rebuild. | |
11824 | * target.c (update_current_target): Don't inherit or default | |
11825 | to_find_memory_regions. | |
11826 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
11827 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
11828 | TARGET_DEFAULT_FUNC. | |
11829 | ||
d9cb0195 TT |
11830 | 2014-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_log_command. | |
11835 | * target.h (struct target_ops) <to_log_command>: Use | |
11836 | TARGET_DEFAULT_IGNORE. | |
11837 | (target_log_command): Unconditionally delegate. | |
11838 | ||
830ca330 TT |
11839 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11840 | ||
11841 | * target-delegates.c: Rebuild. | |
11842 | * target.c (update_current_target): Don't inherit or default | |
11843 | to_pid_to_exec_file. | |
11844 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
11845 | TARGET_DEFAULT_RETURN. | |
11846 | ||
825828fc TT |
11847 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11848 | ||
11849 | * target-delegates.c: Rebuild. | |
11850 | * target.c (update_current_target): Don't inherit or default | |
11851 | to_thread_name. | |
11852 | (target_thread_name): Unconditionally delegate. | |
11853 | * target.h (struct target_ops) <to_thread_name>: Use | |
11854 | TARGET_DEFAULT_RETURN. | |
11855 | ||
4a7e6dda TT |
11856 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11857 | ||
11858 | * target-delegates.c: Rebuild. | |
11859 | * target.c (update_current_target): Don't inherit or default | |
11860 | to_extra_thread_info. | |
11861 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
11862 | TARGET_DEFAULT_RETURN. | |
11863 | ||
0db88c1d TT |
11864 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11865 | ||
11866 | * target-delegates.c: Rebuild. | |
11867 | * target.c (update_current_target): Don't inherit or default | |
11868 | to_has_exited. | |
11869 | * target.h (struct target_ops) <to_has_exited>: Use | |
11870 | TARGET_DEFAULT_RETURN.. | |
11871 | ||
6a9fa051 TT |
11872 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11873 | ||
11874 | * target-delegates.c: Rebuild. | |
11875 | * target.c (update_current_target): Don't inherit or default | |
11876 | to_set_syscall_catchpoint. | |
11877 | (return_one): Remove. | |
11878 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
11879 | TARGET_DEFAULT_RETURN. | |
11880 | ||
62f64d7a TT |
11881 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11882 | ||
11883 | * target-delegates.c: Rebuild. | |
11884 | * target.c (update_current_target): Don't inherit or default | |
11885 | to_insert_exec_catchpoint. | |
11886 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
11887 | TARGET_DEFAULT_RETURN. | |
11888 | ||
cda0f38c TT |
11889 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
11890 | ||
11891 | * target-delegates.c: Rebuild. | |
11892 | * target.c (update_current_target): Don't inherit or default | |
11893 | to_insert_exec_catchpoint. | |
11894 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
11895 | TARGET_DEFAULT_RETURN. | |
11896 | ||
95c3375e TT |
11897 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11898 | ||
11899 | * target-delegates.c: Rebuild. | |
11900 | * target.c (update_current_target): Don't inherit or default | |
11901 | to_remove_vfork_catchpoint. | |
11902 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
11903 | TARGET_DEFAULT_RETURN. | |
11904 | ||
7e18a8dc TT |
11905 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11906 | ||
11907 | * target-delegates.c: Rebuild. | |
11908 | * target.c (update_current_target): Don't inherit or default | |
11909 | to_insert_vfork_catchpoint. | |
11910 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
11911 | TARGET_DEFAULT_RETURN. | |
11912 | ||
e1a21fb7 TT |
11913 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11914 | ||
11915 | * target-delegates.c: Rebuild. | |
11916 | * target.c (update_current_target): Don't inherit or default | |
11917 | to_remove_fork_catchpoint. | |
11918 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
11919 | TARGET_DEFAULT_RETURN. | |
11920 | ||
5958ebeb TT |
11921 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11922 | ||
11923 | * target-delegates.c: Rebuild. | |
11924 | * target.c (update_current_target): Don't inherit or default | |
11925 | to_insert_fork_catchpoint. | |
11926 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
11927 | TARGET_DEFAULT_RETURN. | |
11928 | ||
340ba4bf TT |
11929 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11930 | ||
11931 | * target-delegates.c: Rebuild. | |
11932 | * target.c (update_current_target): Don't inherit or default | |
11933 | to_post_startup_inferior. | |
11934 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
11935 | TARGET_DEFAULT_IGNORE. | |
11936 | ||
7634da87 TT |
11937 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11938 | ||
11939 | * target-delegates.c: Rebuild. | |
11940 | * target.c (update_current_target): Don't inherit or default | |
11941 | to_load. | |
11942 | * target.h (struct target_ops) <to_load>: Use | |
11943 | TARGET_DEFAULT_NORETURN. | |
11944 | ||
e19e919f TT |
11945 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11946 | ||
11947 | * target-delegates.c: Rebuild. | |
11948 | * target.c (update_current_target): Don't inherit or default | |
11949 | to_terminal_info. | |
11950 | * target.h (struct target_ops) <to_terminal_info>: Use | |
11951 | TARGET_DEFAULT_FUNC. | |
11952 | ||
c6ea8f79 TT |
11953 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11954 | ||
11955 | * target-delegates.c: Rebuild. | |
11956 | * target.c (update_current_target): Don't inherit or default | |
11957 | to_terminal_save_ours. | |
11958 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
11959 | TARGET_DEFAULT_IGNORE. | |
11960 | ||
e4a733f1 TT |
11961 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11962 | ||
11963 | * target-delegates.c: Rebuild. | |
11964 | * target.c (update_current_target): Don't inherit or default | |
11965 | to_terminal_ours. | |
11966 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
11967 | TARGET_DEFAULT_IGNORE. | |
11968 | ||
74fcbef9 TT |
11969 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11970 | ||
11971 | * target-delegates.c: Rebuild. | |
11972 | * target.c (update_current_target): Don't inherit or default | |
11973 | to_terminal_ours_for_output. | |
11974 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
11975 | TARGET_DEFAULT_IGNORE. | |
11976 | ||
ddeaacc9 TT |
11977 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11978 | ||
11979 | * target-delegates.c: Rebuild. | |
11980 | * target.c (update_current_target): Don't inherit or default | |
11981 | to_terminal_inferior. | |
11982 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
11983 | TARGET_DEFAULT_IGNORE. | |
11984 | ||
0343661d TT |
11985 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11986 | ||
11987 | * target-delegates.c: Rebuild. | |
11988 | * target.c (update_current_target): Don't inherit or default | |
11989 | to_terminal_init. | |
11990 | * target.h (struct target_ops) <to_terminal_init>: Use | |
11991 | TARGET_DEFAULT_IGNORE. | |
11992 | ||
77cdffe9 TT |
11993 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11994 | ||
11995 | * target-delegates.c: Rebuild. | |
11996 | * target.c (update_current_target): Don't inherit or default | |
11997 | to_can_accel_watchpoint_condition. | |
11998 | * target.h (struct target_ops) | |
11999 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
12000 | ||
d03655e4 TT |
12001 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12002 | ||
12003 | * target-delegates.c: Rebuild. | |
12004 | * target.c (update_current_target): Don't inherit or default | |
12005 | to_region_ok_for_hw_watchpoint. | |
12006 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
12007 | Use TARGET_DEFAULT_FUNC. | |
12008 | ||
65f160a9 TT |
12009 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12010 | ||
12011 | * target-delegates.c: Rebuild. | |
12012 | * target.c (update_current_target): Don't inherit or default | |
12013 | to_watchpoint_addr_within_range. | |
12014 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
12015 | Use TARGET_DEFAULT_FUNC. | |
12016 | ||
61dd109f TT |
12017 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12018 | ||
12019 | * target-delegates.c: Rebuild. | |
12020 | * target.c (update_current_target): Don't inherit or default | |
12021 | to_remove_watchpoint. | |
12022 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
12023 | TARGET_DEFAULT_NORETURN. | |
12024 | ||
016facd4 TT |
12025 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12026 | ||
12027 | * target-delegates.c: Rebuild. | |
12028 | * target.c (update_current_target): Don't inherit or default | |
12029 | to_insert_watchpoint. | |
12030 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
12031 | TARGET_DEFAULT_RETURN. | |
12032 | ||
418dabac TT |
12033 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12034 | ||
12035 | * target-delegates.c: Rebuild. | |
12036 | * target.c (update_current_target): Don't inherit or default | |
12037 | to_remove_hw_breakpoint. | |
12038 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
12039 | TARGET_DEFAULT_RETURN. | |
12040 | ||
61b371f9 TT |
12041 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12042 | ||
12043 | * target-delegates.c: Rebuild. | |
12044 | * target.c (update_current_target): Don't inherit or default | |
12045 | to_insert_hw_breakpoint. | |
12046 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
12047 | TARGET_DEFAULT_RETURN. | |
12048 | ||
52b51d06 TT |
12049 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12050 | ||
12051 | * target-delegates.c: Rebuild. | |
12052 | * target.c (update_current_target): Don't inherit or default | |
12053 | to_can_use_hw_breakpoint. | |
12054 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
12055 | TARGET_DEFAULT_RETURN. | |
12056 | ||
f86e59b2 TT |
12057 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12058 | ||
12059 | * target-delegates.c: Rebuild. | |
12060 | * target.c (update_current_target): Don't inherit or default | |
12061 | to_files_info. | |
12062 | * target.h (struct target_ops) <to_files_info>: Use | |
12063 | TARGET_DEFAULT_IGNORE. | |
12064 | ||
6c628163 TT |
12065 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12066 | ||
12067 | * target-delegates.c: Rebuild. | |
12068 | * target.c (update_current_target): Don't inherit or default | |
12069 | to_store. | |
12070 | * target.h (struct target_ops) <to_store>: Use | |
12071 | TARGET_DEFAULT_NORETURN. | |
12072 | ||
bebd3233 TT |
12073 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12074 | ||
12075 | * target-delegates.c: Rebuild. | |
12076 | * target.c (update_current_target): Don't inherit or default | |
12077 | to_post_attach. | |
12078 | * target.h (struct target_ops) <to_post_attach>: Use | |
12079 | TARGET_DEFAULT_IGNORE. | |
12080 | ||
a53f3625 TT |
12081 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12082 | ||
12083 | * target-delegates.c: Rebuild. | |
12084 | * target.c (update_current_target): Don't inherit or default | |
12085 | to_rcmd. | |
12086 | (default_rcmd): New function. | |
12087 | (do_monitor_command): Unconditionally delegate. | |
12088 | * target.h (struct target_ops) <to_rmcd>: Use | |
12089 | TARGET_DEFAULT_FUNC. | |
12090 | ||
e9a29200 TT |
12091 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12092 | ||
12093 | * target-delegates.c: Rebuild. | |
12094 | * target.c (init_dummy_target): Don't initialize to_attach. | |
12095 | (target_attach): Unconditionally delegate. | |
12096 | * target.h (struct target_ops) <to_attach>: Use | |
12097 | TARGET_DEFAULT_FUNC. | |
12098 | ||
09da0d0a TT |
12099 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12100 | ||
12101 | * target-delegates.c: Rebuild. | |
12102 | * target.c (target_detach): Unconditionally delegate. | |
12103 | (init_dummy_target): Don't initialize to_detach. | |
12104 | * target.h (struct target_ops) <to_detach>: Use | |
12105 | TARGET_DEFAULT_IGNORE. | |
12106 | ||
5436ff03 TT |
12107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12108 | ||
12109 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
12110 | Add argument. | |
12111 | (target_augmented_libraries_svr4_read): Add argument. | |
12112 | * target.c (update_current_target): Update. | |
12113 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
12114 | argument. | |
12115 | ||
f0d960ea TT |
12116 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12117 | ||
12118 | * target.h (struct target_ops) <to_call_history_range>: Add | |
12119 | argument. | |
12120 | * target.c (target_call_history_range): Add argument. | |
12121 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
12122 | argument. | |
12123 | (record_btrace_call_history_from): Update. | |
12124 | ||
ec0aea04 TT |
12125 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12126 | ||
12127 | * target.h (struct target_ops) <to_call_history_from>: Add | |
12128 | argument. | |
12129 | * target.c (target_call_history_from): Add argument. | |
12130 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
12131 | argument. | |
12132 | ||
5df2fcba TT |
12133 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12134 | ||
12135 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
12136 | * target.c (target_call_history): Add argument. | |
12137 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
12138 | argument. | |
12139 | ||
4e99c6b7 TT |
12140 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12141 | ||
12142 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
12143 | argument. | |
12144 | * target.c (target_insn_history_range): Add argument. | |
12145 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
12146 | argument. | |
12147 | (record_btrace_insn_history_from): Update. | |
12148 | ||
9abc3ff3 TT |
12149 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12150 | ||
12151 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
12152 | argument. | |
12153 | * target.c (target_insn_history_from): Add argument. | |
12154 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
12155 | argument. | |
12156 | ||
7a6c5609 TT |
12157 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12158 | ||
12159 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
12160 | * target.c (target_insn_history): Add argument. | |
12161 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
12162 | argument. | |
12163 | ||
606183ac TT |
12164 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12165 | ||
12166 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
12167 | * target.c (target_goto_record): Add argument. | |
12168 | * record-full.c (record_full_goto): Add 'self' argument. | |
12169 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
12170 | ||
307a1b91 TT |
12171 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12172 | ||
12173 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
12174 | * target.c (target_goto_record_end): Add argument. | |
12175 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
12176 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
12177 | ||
08475817 TT |
12178 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12179 | ||
12180 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
12181 | argument. | |
12182 | * target.c (target_goto_record_begin): Add argument. | |
12183 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
12184 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
12185 | argument. | |
12186 | ||
1c63c994 TT |
12187 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12188 | ||
12189 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
12190 | argument. | |
12191 | * target.c (target_record_is_replaying): Add argument. | |
12192 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
12193 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
12194 | argument. | |
12195 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
12196 | (record_btrace_prepare_to_store, record_btrace_resume) | |
12197 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
12198 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
12199 | Update. | |
12200 | ||
d1b55219 TT |
12201 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12202 | ||
12203 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
12204 | * target.c (target_delete_record): Add argument. | |
12205 | * record-full.c (record_full_delete): Add 'self' argument. | |
12206 | ||
1390f529 TT |
12207 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12208 | ||
12209 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
12210 | * target.c (target_save_record): Add argument. | |
12211 | * record-full.c (record_full_save): Add 'self' argument. | |
12212 | (record_full_save): Add 'self' argument. | |
12213 | ||
630d6a4a TT |
12214 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12215 | ||
12216 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
12217 | * target.c (target_info_record): Add argument. | |
12218 | * record.c (info_record_command): Add argument. | |
12219 | * record-full.c (record_full_info): Add 'self' argument. | |
12220 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
12221 | ||
c6cd7c02 TT |
12222 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12223 | ||
12224 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
12225 | * target.c (target_stop_recording): Add argument. | |
12226 | * record.c (record_stop): Add argument. | |
12227 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
12228 | argument. | |
12229 | ||
39c49f83 TT |
12230 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12231 | ||
12232 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
12233 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
12234 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
12235 | argument. | |
12236 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
12237 | (_initialize_amd64_linux_nat): Use it. | |
12238 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
12239 | (_initialize_i386_linux_nat): Use it. | |
12240 | ||
1777056d TT |
12241 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12242 | ||
12243 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
12244 | * target.c (target_teardown_btrace): Add argument. | |
12245 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
12246 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
12247 | argument. | |
12248 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
12249 | argument. | |
12250 | ||
25e95349 TT |
12251 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12252 | ||
12253 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
12254 | * target.c (target_disable_btrace): Add argument. | |
12255 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
12256 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
12257 | argument. | |
12258 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
12259 | argument. | |
12260 | ||
e3c49f88 TT |
12261 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12262 | ||
12263 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
12264 | * target.c (target_enable_btrace): Add argument. | |
12265 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
12266 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
12267 | argument. | |
12268 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
12269 | argument. | |
12270 | ||
fe38f897 TT |
12271 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12272 | ||
12273 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
12274 | (target_can_use_agent): Add argument. | |
12275 | * target.c (update_current_target): Update. | |
12276 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
12277 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
12278 | ||
2c152180 TT |
12279 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12280 | ||
12281 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
12282 | (target_use_agent): Add argument. | |
12283 | * target.c (update_current_target): Update. | |
12284 | * remote.c (remote_use_agent): Add 'self' argument. | |
12285 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
12286 | ||
a893e81f TT |
12287 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12288 | ||
12289 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
12290 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
12291 | (target_traceframe_info): Add argument. | |
12292 | * target.c (update_current_target): Update. | |
12293 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
12294 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
12295 | ||
c686c57f TT |
12296 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12297 | ||
12298 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
12299 | argument. | |
12300 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
12301 | 'self' argument. | |
12302 | * target.c (update_current_target): Update. | |
12303 | * remote.c (struct target_ops) | |
12304 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
12305 | * linux-nat.c (struct target_ops) | |
12306 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
12307 | ||
61fc905d TT |
12308 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12309 | ||
12310 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
12311 | Add argument. | |
12312 | (target_static_tracepoint_marker_at): Add argument. | |
12313 | * target.c (update_current_target): Update. | |
12314 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
12315 | argument. | |
12316 | ||
c378d69d TT |
12317 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12318 | ||
12319 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
12320 | (target_set_permissions): Add argument. | |
12321 | * target.c (update_current_target): Update. | |
12322 | * remote.c (remote_set_permissions): Add 'self' argument. | |
12323 | (remote_start_remote): Update. | |
12324 | ||
bd7ae0f5 TT |
12325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12326 | ||
12327 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
12328 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
12329 | (target_get_tib_address): Add argument. | |
12330 | * target.c (update_current_target): Update. | |
12331 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
12332 | ||
d9e68a2c TT |
12333 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12334 | ||
12335 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
12336 | (target_set_trace_notes): Add argument. | |
12337 | * target.c (update_current_target): Update. | |
12338 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
12339 | ||
4da384be TT |
12340 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12341 | ||
12342 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
12343 | argument. | |
12344 | (target_set_trace_buffer_size): Add argument. | |
12345 | * target.c (update_current_target): Update. | |
12346 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
12347 | ||
736d5b1f TT |
12348 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12349 | ||
12350 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
12351 | argument. | |
12352 | (target_set_circular_trace_buffer): Add argument. | |
12353 | * target.c (update_current_target): Update. | |
12354 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
12355 | argument. | |
12356 | ||
37b25738 TT |
12357 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12358 | ||
12359 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
12360 | argument. | |
12361 | (target_set_disconnected_tracing): Add argument. | |
12362 | * target.c (update_current_target): Update. | |
12363 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
12364 | ||
0e67620a TT |
12365 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12366 | ||
12367 | * target.h (struct target_ops) | |
12368 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
12369 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
12370 | * target.c (update_current_target): Update. | |
12371 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
12372 | argument. | |
12373 | ||
88ee6f45 TT |
12374 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12375 | ||
12376 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
12377 | argument. | |
12378 | (target_get_raw_trace_data): Add argument. | |
12379 | * target.c (update_current_target): Update. | |
12380 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
12381 | ||
181e3713 TT |
12382 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12383 | ||
12384 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12385 | Add argument. | |
12386 | (target_upload_trace_state_variables): Add argument. | |
12387 | * target.c (update_current_target): Update. | |
12388 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
12389 | argument. | |
12390 | (remote_start_remote): Update. | |
12391 | ||
ab6617cc TT |
12392 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12393 | ||
12394 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
12395 | argument. | |
12396 | (target_upload_tracepoints): Add argument. | |
12397 | * target.c (update_current_target): Update. | |
12398 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
12399 | (remote_start_remote): Update. | |
12400 | ||
dc3decaf TT |
12401 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12402 | ||
12403 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
12404 | (target_save_trace_data): Add argument. | |
12405 | * target.c (update_current_target): Update. | |
12406 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
12407 | ||
4011015b TT |
12408 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12409 | ||
12410 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
12411 | argument. | |
12412 | * target.h (struct target_ops) | |
12413 | <to_get_trace_state_variable_value>: Add argument. | |
12414 | (target_get_trace_state_variable_value): Add argument. | |
12415 | * target.c (update_current_target): Update. | |
12416 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
12417 | argument. | |
12418 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
12419 | ||
bd4c6793 TT |
12420 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12421 | ||
12422 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
12423 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
12424 | (target_trace_find): Add argument. | |
12425 | * target.c (update_current_target): Update. | |
12426 | * remote.c (remote_trace_find): Add 'self' argument. | |
12427 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
12428 | ||
74499f1b TT |
12429 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12430 | ||
12431 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
12432 | (target_trace_stop): Add argument. | |
12433 | * target.c (update_current_target): Update. | |
12434 | * remote.c (remote_trace_stop): Add 'self' argument. | |
12435 | ||
db90e85c TT |
12436 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12437 | ||
12438 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
12439 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
12440 | argument. | |
12441 | (target_get_tracepoint_status): Add argument. | |
12442 | * target.c (update_current_target): Update. | |
12443 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
12444 | ||
8bd200f1 TT |
12445 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12446 | ||
12447 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
12448 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
12449 | argument. | |
12450 | (target_get_trace_status): Add argument. | |
12451 | * target.c (update_current_target): Update. | |
12452 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
12453 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
12454 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
12455 | ||
e2d1aae3 TT |
12456 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12457 | ||
12458 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
12459 | (target_trace_start): Add argument. | |
12460 | * target.c (update_current_target): Update. | |
12461 | * remote.c (remote_trace_start): Add 'self' argument. | |
12462 | ||
583f9a86 TT |
12463 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12464 | ||
12465 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12466 | Add argument. | |
12467 | (target_trace_set_readonly_regions): Add argument. | |
12468 | * target.c (update_current_target): Update. | |
12469 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
12470 | argument. | |
12471 | ||
780b049c TT |
12472 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12473 | ||
12474 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
12475 | argument. | |
12476 | (target_disable_tracepoint): Add argument. | |
12477 | * target.c (update_current_target): Update. | |
12478 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
12479 | ||
46670d57 TT |
12480 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12481 | ||
12482 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
12483 | argument. | |
12484 | (target_enable_tracepoint): Add argument. | |
12485 | * target.c (update_current_target): Update. | |
12486 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
12487 | ||
559d2b81 TT |
12488 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12489 | ||
12490 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12491 | Add argument. | |
12492 | (target_download_trace_state_variable): Add argument. | |
12493 | * target.c (update_current_target): Update. | |
12494 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
12495 | argument. | |
12496 | ||
a52a8357 TT |
12497 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12498 | ||
12499 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
12500 | argument. | |
12501 | (target_can_download_tracepoint): Add argument. | |
12502 | * target.c (update_current_target): Update. | |
12503 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
12504 | ||
548f7808 TT |
12505 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12506 | ||
12507 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
12508 | argument. | |
12509 | (target_download_tracepoint): Add argument. | |
12510 | * target.c (update_current_target): Update. | |
12511 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
12512 | ||
ecae04e1 TT |
12513 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12514 | ||
12515 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
12516 | (target_trace_init): Add argument. | |
12517 | * target.c (update_current_target): Update. | |
12518 | * remote.c (remote_trace_init): Add 'self' argument. | |
12519 | ||
fab5aa7c TT |
12520 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12521 | ||
12522 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
12523 | * target.c (target_fileio_readlink): Add argument. | |
12524 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
12525 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
12526 | ||
dbbca37d TT |
12527 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12528 | ||
12529 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
12530 | * target.c (target_fileio_unlink): Add argument. | |
12531 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
12532 | (remote_file_delete): Update. | |
12533 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
12534 | ||
df39ea25 TT |
12535 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12536 | ||
12537 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
12538 | * target.c (target_fileio_close): Add argument. | |
12539 | * remote.c (remote_hostio_close): Add 'self' argument. | |
12540 | (remote_hostio_close_cleanup): Update. | |
12541 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
12542 | Update. | |
12543 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
12544 | ||
a3be983c TT |
12545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12546 | ||
12547 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
12548 | * target.c (target_fileio_pread): Add argument. | |
12549 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
12550 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
12551 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
12552 | ||
0d866f62 TT |
12553 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12554 | ||
12555 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
12556 | * target.c (target_fileio_pwrite): Add argument. | |
12557 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
12558 | (remote_file_put): Update. | |
12559 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
12560 | ||
cd897586 TT |
12561 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12562 | ||
12563 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
12564 | * target.c (target_fileio_open): Add argument. | |
12565 | * remote.c (remote_hostio_open): Add 'self' argument. | |
12566 | (remote_bfd_iovec_open): Add 'self' argument. | |
12567 | (remote_file_put): Add 'self' argument. | |
12568 | (remote_file_get): Add 'self' argument. | |
12569 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
12570 | ||
78eff0ec TT |
12571 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12572 | ||
12573 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
12574 | Add argument. | |
12575 | (target_can_run_breakpoint_commands): Add argument. | |
12576 | * target.c (update_current_target): Update. | |
12577 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
12578 | argument. | |
12579 | (remote_insert_breakpoint): Add 'self' argument. | |
12580 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
12581 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
12582 | ||
efcc2da7 TT |
12583 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12584 | ||
12585 | * target.h (struct target_ops) | |
12586 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
12587 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
12588 | argument. | |
12589 | * target.c (update_current_target): Update. | |
12590 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
12591 | argument. | |
12592 | (remote_insert_breakpoint): Add 'self' argument. | |
12593 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
12594 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
12595 | ||
6de37a3a TT |
12596 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12597 | ||
12598 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
12599 | argument. | |
12600 | (target_supports_string_tracing): Add argument. | |
12601 | * target.c (update_current_target): Update. | |
12602 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
12603 | ||
2bfc0540 TT |
12604 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12605 | ||
12606 | * target.h (struct target_ops) | |
12607 | <to_supports_disable_randomization>: Add argument. | |
12608 | * target.c (find_default_supports_disable_randomization): Add | |
12609 | argument. | |
12610 | (target_supports_disable_randomization): Add argument. | |
12611 | (find_default_supports_disable_randomization): Add 'self' | |
12612 | argument. | |
12613 | * remote.c (extended_remote_supports_disable_randomization): Add | |
12614 | 'self' argument. | |
12615 | (remote_supports_disable_randomization): Add 'self' argument. | |
12616 | (extended_remote_create_inferior): Update. | |
12617 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
12618 | 'self' argument. | |
12619 | ||
7d178d6a TT |
12620 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12621 | ||
12622 | * target.h (struct target_ops) | |
12623 | <to_supports_enable_disable_tracepoint>: Add argument. | |
12624 | (target_supports_enable_disable_tracepoint): Add argument. | |
12625 | * target.c (update_current_target): Update. | |
12626 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
12627 | argument. | |
12628 | ||
86ce2668 TT |
12629 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12630 | ||
12631 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
12632 | argument. | |
12633 | (target_supports_multi_process): Add argument. | |
12634 | * target.c (update_current_target): Update. | |
12635 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
12636 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
12637 | argument. | |
12638 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
12639 | argument. | |
12640 | ||
4c612759 TT |
12641 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12642 | ||
12643 | * target.h (struct target_ops) <to_execution_direction>: Add | |
12644 | argument. | |
12645 | (target_execution_direction): Add argument. | |
12646 | * target.c (default_execution_direction): Add 'self' argument. | |
12647 | * record-full.c (record_full_execution_direction): Add 'self' | |
12648 | argument. | |
12649 | ||
19db3e69 TT |
12650 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12651 | ||
12652 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
12653 | argument. | |
12654 | (target_can_execute_reverse): Add argument. | |
12655 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
12656 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
12657 | argument. | |
12658 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
12659 | argument. | |
12660 | ||
1e6b91a4 TT |
12661 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12662 | ||
12663 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
12664 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
12665 | argument. | |
12666 | (target_get_ada_task_ptid): Add argument. | |
12667 | * target.c (update_current_target): Update. | |
12668 | (default_get_ada_task_ptid): Add 'self' argument. | |
12669 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
12670 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
12671 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
12672 | argument. | |
12673 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
12674 | argument. | |
12675 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
12676 | argument. | |
12677 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
12678 | argument. | |
12679 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
12680 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
12681 | argument. | |
12682 | ||
3c80fb48 TT |
12683 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12684 | ||
12685 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
12686 | (target_goto_bookmark): Add argument. | |
12687 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
12688 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
12689 | ||
dd0e2830 TT |
12690 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12691 | ||
12692 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
12693 | (target_get_bookmark): Add argument. | |
12694 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
12695 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
12696 | ||
fc6691b2 TT |
12697 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12698 | ||
12699 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
12700 | argument. | |
12701 | (target_make_corefile_notes): Add argument. | |
12702 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
12703 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
12704 | (procfs_make_note_section): Add 'self' argument. | |
12705 | (procfs_make_note_section): Add 'self' argument. | |
12706 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
12707 | argument. | |
12708 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
12709 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
12710 | * exec.c (exec_make_note_section): Add 'self' argument. | |
12711 | (exec_make_note_section): Add 'self' argument. | |
12712 | ||
2e73927c TT |
12713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12714 | ||
12715 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
12716 | argument. | |
12717 | (target_find_memory_regions): Add argument. | |
12718 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
12719 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
12720 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
12721 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
12722 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
12723 | * exec. (exec_do_find_memory_regions): New global. | |
12724 | (exec_set_find_memory_regions): Rewrite. | |
12725 | (exec_find_memory_regions): New function. | |
12726 | (init_exec_ops): Use exec_find_memory_regions. | |
12727 | ||
2a9a2795 TT |
12728 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12729 | ||
12730 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
12731 | argument. | |
12732 | * target.c (find_default_supports_non_stop): Add argument. | |
12733 | (target_supports_non_stop): Add argument. | |
12734 | (find_default_supports_non_stop): Add 'self' argument. | |
12735 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
12736 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
12737 | ||
4ab76ea3 TT |
12738 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12739 | ||
12740 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
12741 | (target_log_command): Add argument. | |
12742 | * serial.h (serial_log_command): Add 'self' argument. | |
12743 | * serial.c (serial_log_command): Add 'self' argument. | |
12744 | ||
8dd27370 TT |
12745 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12746 | ||
12747 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
12748 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
12749 | argument. | |
12750 | (target_pid_to_exec_file): Add argument. | |
12751 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
12752 | (update_current_target): Update. | |
12753 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
12754 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
12755 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
12756 | (linux_handle_extended_wait): Update. | |
12757 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
12758 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
12759 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
12760 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
12761 | ||
1aac633b TT |
12762 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12763 | ||
12764 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
12765 | (target_rcmd): Add argument. | |
12766 | * target.c (debug_to_rcmd): Add argument. | |
12767 | (update_current_target, do_monitor_command): Update. | |
12768 | * remote.c (remote_rcmd): Add 'self' argument. | |
12769 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
12770 | ||
1eab8a48 TT |
12771 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12772 | ||
12773 | * windows-nat.c (windows_stop): Add 'self' argument. | |
12774 | * target.h (struct target_ops) <to_stop>: Add argument. | |
12775 | * target.c (target_stop): Add argument. | |
12776 | (debug_to_stop): Add argument. | |
12777 | (update_current_target): Update. | |
12778 | * remote.c (remote_stop): Add 'self' argument. | |
12779 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
12780 | (gdbsim_cntrl_c): Update. | |
12781 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
12782 | * procfs.c (procfs_stop): Add 'self' argument. | |
12783 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
12784 | * monitor.c (monitor_stop): Add 'self' argument. | |
12785 | (monitor_open): Update. | |
12786 | * linux-nat.c (linux_nat_stop): Add argument. | |
12787 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
12788 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
12789 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
12790 | ||
503a628d TT |
12791 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12792 | ||
12793 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
12794 | * target.c (target_thread_name): Add argument. | |
12795 | (update_current_target): Update. | |
12796 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
12797 | ||
c15906d8 TT |
12798 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12799 | ||
12800 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
12801 | argument. | |
12802 | (target_extra_thread_info): Add argument. | |
12803 | * target.c (update_current_target): Update. | |
12804 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
12805 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
12806 | argument. | |
12807 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
12808 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
12809 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
12810 | argument. | |
12811 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
12812 | argument. | |
12813 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
12814 | argument. | |
12815 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
12816 | argument. | |
12817 | ||
daf5e9b6 TT |
12818 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12819 | ||
12820 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
12821 | * target.c (target_program_signals): Add argument. | |
12822 | * remote.c (remote_program_signals): Add 'self' argument. | |
12823 | ||
94bedb42 TT |
12824 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12825 | ||
12826 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
12827 | * target.c (target_pass_signals): Add argument. | |
12828 | * remote.c (remote_pass_signals): Add 'self' argument. | |
12829 | (remote_start_remote): Update. | |
12830 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
12831 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
12832 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
12833 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
12834 | ||
da82bd6b TT |
12835 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12836 | ||
12837 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
12838 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
12839 | (target_can_run): Add argument. | |
12840 | * target.c (debug_to_can_run): Add argument. | |
12841 | (update_current_target): Update. | |
12842 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
12843 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
12844 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
12845 | ||
d796e1d6 TT |
12846 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12847 | ||
12848 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
12849 | (target_has_exited): Add argument. | |
12850 | * target.c (debug_to_has_exited): Add argument. | |
12851 | (update_current_target): Update. | |
12852 | ||
ff214e67 TT |
12853 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12854 | ||
12855 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
12856 | argument. | |
12857 | (target_set_syscall_catchpoint): Add argument. | |
12858 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
12859 | argument. | |
12860 | * target.c (update_current_target): Update. | |
12861 | ||
758e29d2 TT |
12862 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12863 | ||
12864 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
12865 | argument. | |
12866 | (target_remove_exec_catchpoint): Add argument. | |
12867 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
12868 | (update_current_target): Update. | |
12869 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
12870 | argument. | |
12871 | ||
ba025e51 TT |
12872 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12873 | ||
12874 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
12875 | argument. | |
12876 | (target_insert_exec_catchpoint): Add argument. | |
12877 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
12878 | (update_current_target): Update. | |
12879 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
12880 | argument. | |
12881 | ||
e98cf0cd TT |
12882 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12883 | ||
12884 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
12885 | argument. | |
12886 | (target_remove_vfork_catchpoint): Add argument. | |
12887 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
12888 | (update_current_target): Update. | |
12889 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
12890 | argument. | |
12891 | ||
3ecc7da0 TT |
12892 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12893 | ||
12894 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
12895 | argument. | |
12896 | (target_insert_vfork_catchpoint): Add argument. | |
12897 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
12898 | (update_current_target): Update. | |
12899 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
12900 | argument. | |
12901 | ||
973fc227 TT |
12902 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12903 | ||
12904 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
12905 | argument. | |
12906 | (target_remove_fork_catchpoint): Add argument. | |
12907 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
12908 | (update_current_target): Update. | |
12909 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
12910 | argument. | |
12911 | ||
a863b201 TT |
12912 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12913 | ||
12914 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
12915 | argument. | |
12916 | (target_insert_fork_catchpoint): Add argument. | |
12917 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
12918 | (update_current_target): Update. | |
12919 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
12920 | argument. | |
12921 | ||
2e97a79e TT |
12922 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12923 | ||
12924 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
12925 | argument. | |
12926 | (target_post_startup_inferior): Add argument. | |
12927 | * target.c (debug_to_post_startup_inferior): Add argument. | |
12928 | (update_current_target): Update. | |
12929 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
12930 | argument. | |
12931 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
12932 | argument. | |
12933 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
12934 | argument. | |
12935 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
12936 | argument. | |
12937 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
12938 | 'self' argument. | |
12939 | (super_post_startup_inferior): Likewise. | |
12940 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
12941 | 'self' argument. | |
12942 | (super_post_startup_inferior): Likewise. | |
12943 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
12944 | Add 'self' argument. | |
12945 | (super_post_startup_inferior): Likewise. | |
12946 | ||
71a9f134 TT |
12947 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12948 | ||
12949 | * target.h (struct target_ops) <to_load>: Add argument. | |
12950 | * target.c (target_load): Add argument. | |
12951 | (debug_to_load): Add argument. | |
12952 | (update_current_target): Update. | |
12953 | * remote.c (remote_load): Add 'self' argument. | |
12954 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
12955 | * remote-mips.c (mips_load): Add 'self' argument. | |
12956 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
12957 | * monitor.c (monitor_load): Add 'self' argument. | |
12958 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
12959 | ||
0a4f40a2 TT |
12960 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12961 | ||
12962 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
12963 | (target_terminal_info): Add argument. | |
12964 | * target.c (debug_to_terminal_info): Add argument. | |
12965 | (default_terminal_info): Likewise. | |
12966 | * inflow.c (child_terminal_info): Add 'self' argument. | |
12967 | * inferior.h (child_terminal_info): Add 'self' argument. | |
12968 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
12969 | ||
ae3bd431 TT |
12970 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12971 | ||
12972 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
12973 | argument. | |
12974 | (target_terminal_save_ours): Add argument. | |
12975 | * target.c (debug_to_terminal_save_ours): Add argument. | |
12976 | (update_current_target): Update. | |
12977 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
12978 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
12979 | ||
e3594fd1 TT |
12980 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12981 | ||
12982 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
12983 | (target_terminal_ours): Add argument. | |
12984 | * target.c (debug_to_terminal_ours): Add argument. | |
12985 | (update_current_target): Update. | |
12986 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
12987 | (remote_close): Update. | |
12988 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
12989 | * inflow.c (terminal_ours): Add 'self' argument. | |
12990 | * inferior.h (terminal_ours): Add 'self' argument. | |
12991 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
12992 | ||
2e1e1a19 TT |
12993 | 2014-02-19 Pedro Alves <palves@redhat.com> |
12994 | Tom Tromey <tromey@redhat.com> | |
12995 | ||
12996 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
12997 | argument. | |
12998 | (target_terminal_ours_for_output): Add argument. | |
12999 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
13000 | (update_current_target): Update. | |
13001 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
13002 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
13003 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13004 | ||
d2f640d4 TT |
13005 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13006 | ||
13007 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
13008 | argument. | |
13009 | * target.c (target_terminal_inferior): Add argument. | |
13010 | (update_current_target): Update. | |
13011 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
13012 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
13013 | * inflow.c (terminal_inferior): Add 'self' argument. | |
13014 | * inferior.h (terminal_inferior): Add 'self' argument. | |
13015 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
13016 | (go32_terminal_inferior): Add 'self' argument. | |
13017 | ||
c42bf286 TT |
13018 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13019 | ||
13020 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
13021 | (target_terminal_init): Add argument. | |
13022 | * target.c (debug_to_terminal_init): Add argument. | |
13023 | (update_current_target): Update. | |
13024 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
13025 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
13026 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
13027 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
13028 | ||
c3a5ff89 TT |
13029 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13030 | ||
13031 | * target.h (struct target_ops) | |
13032 | <to_can_accel_watchpoint_condition>: Add argument. | |
13033 | (target_can_accel_watchpoint_condition): Add argument. | |
13034 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
13035 | argument. | |
13036 | (update_current_target): Update. | |
13037 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
13038 | 'self' argument. | |
13039 | ||
31568a15 TT |
13040 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13041 | ||
13042 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
13043 | Add argument. | |
13044 | (target_region_ok_for_hw_watchpoint): Add argument. | |
13045 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
13046 | (default_region_ok_for_hw_watchpoint): Add argument. | |
13047 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
13048 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
13049 | argument. | |
13050 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
13051 | argument. | |
13052 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
13053 | argument. | |
13054 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
13055 | 'self' argument. | |
13056 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
13057 | 'self' argument. | |
13058 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
13059 | 'self' argument. | |
13060 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
13061 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
13062 | 'self' argument. | |
13063 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
13064 | Add 'self' argument. | |
13065 | ||
7bb99c53 TT |
13066 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13067 | ||
13068 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
13069 | argument. | |
13070 | (target_insert_watchpoint): Add argument. | |
13071 | * target.c (debug_to_insert_watchpoint): Add argument. | |
13072 | (update_current_target): Update. | |
13073 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
13074 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
13075 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
13076 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
13077 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
13078 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
13079 | argument. | |
13080 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13081 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13082 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
13083 | argument. | |
13084 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
13085 | argument. | |
13086 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
13087 | argument. | |
13088 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
13089 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
13090 | argument. | |
13091 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
13092 | 'self' argument. | |
13093 | ||
11b5219a TT |
13094 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13095 | ||
13096 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
13097 | argument. | |
13098 | (target_remove_watchpoint): Add argument. | |
13099 | * target.c (debug_to_remove_watchpoint): Add argument. | |
13100 | (update_current_target): Update. | |
13101 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
13102 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
13103 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
13104 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
13105 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
13106 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
13107 | argument. | |
13108 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
13109 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
13110 | argument. | |
13111 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
13112 | argument. | |
13113 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
13114 | argument. | |
13115 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
13116 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
13117 | argument. | |
13118 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
13119 | 'self' argument. | |
13120 | ||
a64dc96c TT |
13121 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13122 | ||
13123 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
13124 | argument. | |
13125 | (target_remove_hw_breakpoint): Add argument. | |
13126 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
13127 | (update_current_target): Update. | |
13128 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
13129 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
13130 | argument. | |
13131 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
13132 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
13133 | argument. | |
13134 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
13135 | 'self' argument. | |
13136 | ||
23a26771 TT |
13137 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13138 | ||
13139 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
13140 | argument. | |
13141 | (target_insert_hw_breakpoint): Add argument. | |
13142 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
13143 | (update_current_target): Update. | |
13144 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
13145 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
13146 | argument. | |
13147 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
13148 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
13149 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
13150 | argument. | |
13151 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
13152 | 'self' argument. | |
13153 | ||
5461485a TT |
13154 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13155 | ||
13156 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
13157 | argument. | |
13158 | (target_can_use_hardware_watchpoint): Add argument. | |
13159 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
13160 | (update_current_target): Update. | |
13161 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
13162 | argument. | |
13163 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
13164 | argument. | |
13165 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
13166 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
13167 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
13168 | argument. | |
13169 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
13170 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
13171 | argument. | |
13172 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
13173 | argument. | |
13174 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
13175 | argument. | |
13176 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
13177 | argument. | |
13178 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
13179 | argument. | |
13180 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
13181 | argument. | |
13182 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
13183 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
13184 | argument. | |
13185 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
13186 | 'self' argument. | |
13187 | ||
f045800c TT |
13188 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13189 | ||
13190 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
13191 | (target_post_attach): Add argument. | |
13192 | * target.c (debug_to_post_attach): Add argument. | |
13193 | (update_current_target): Update. | |
13194 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
13195 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
13196 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
13197 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
13198 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
13199 | ||
de90e03d TT |
13200 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13201 | ||
13202 | * windows-nat.c (windows_close): Add 'self' argument. | |
13203 | * tracepoint.c (tfile_close): Add 'self' argument. | |
13204 | * target.h (struct target_ops) <to_close>: Add argument. | |
13205 | * target.c (target_close): Add argument. | |
13206 | (update_current_target): Update. | |
13207 | * remote.c (remote_close): Add 'self' argument. | |
13208 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
13209 | * remote-mips.c (mips_close): Add 'self' argument. | |
13210 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
13211 | * record-full.c (record_full_close): Add 'self' argument. | |
13212 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
13213 | * monitor.h (monitor_close): Add 'self' argument. | |
13214 | * monitor.c (monitor_close): Add 'self' argument. | |
13215 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
13216 | * linux-nat.c (linux_nat_close): Add argument. | |
13217 | * go32-nat.c (go32_close): Add 'self' argument. | |
13218 | * exec.c (exec_close_1): Add 'self' argument. | |
13219 | * ctf.c (ctf_close): Add 'self' argument. | |
13220 | * corelow.c (core_close): Add 'self' argument. | |
13221 | (core_close_cleanup): Update. | |
13222 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
13223 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
13224 | ||
9dd130a0 TT |
13225 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13226 | ||
13227 | * remote.c (remote_load): New function. | |
13228 | (init_remote_ops): Use it. | |
13229 | ||
46917d26 TT |
13230 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13231 | ||
13232 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
13233 | argument. | |
13234 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
13235 | * remote.c (remote_supports_btrace): Add "self" argument. | |
13236 | * target-delegates.c: Rebuild. | |
13237 | * target.c (target_supports_btrace): Remove. | |
13238 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
13239 | target_ops argument. | |
13240 | (target_supports_btrace): New define. | |
13241 | ||
6b84065d TT |
13242 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13243 | ||
13244 | * record-full.c (record_full_beneath_to_resume_ops) | |
13245 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
13246 | (record_full_beneath_to_wait) | |
13247 | (record_full_beneath_to_store_registers_ops) | |
13248 | (record_full_beneath_to_store_registers) | |
13249 | (record_full_beneath_to_xfer_partial_ops) | |
13250 | (record_full_beneath_to_xfer_partial) | |
13251 | (record_full_beneath_to_insert_breakpoint_ops) | |
13252 | (record_full_beneath_to_insert_breakpoint) | |
13253 | (record_full_beneath_to_remove_breakpoint_ops) | |
13254 | (record_full_beneath_to_remove_breakpoint) | |
13255 | (record_full_beneath_to_stopped_by_watchpoint) | |
13256 | (record_full_beneath_to_stopped_data_address) | |
13257 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
13258 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
13259 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
13260 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
13261 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
13262 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
13263 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
13264 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
13265 | (record_full_resume, record_full_wait_1) | |
13266 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
13267 | (record_full_store_registers, record_full_xfer_partial) | |
13268 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
13269 | (record_full_async, record_full_core_xfer_partial): Use target | |
13270 | delegation. | |
13271 | * target-delegates.c: Rebuild. | |
13272 | * target.c (current_xfer_partial): Remove. | |
13273 | (update_current_target): Do not INHERIT or de_fault | |
13274 | to_insert_breakpoint, to_remove_breakpoint, | |
13275 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
13276 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
13277 | (default_xfer_partial): Simplify. | |
13278 | (current_xfer_partial): Remove. | |
13279 | (target_wait, target_resume): Simplify. | |
13280 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13281 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
13282 | to_xfer_partial, to_stopped_by_watchpoint, | |
13283 | to_stopped_data_address. | |
13284 | (target_store_registers): Simplify. | |
13285 | (forward_target_remove_breakpoint) | |
13286 | (forward_target_insert_breakpoint): Remove. | |
13287 | (target_remove_breakpoint, target_insert_breakpoint) | |
13288 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
13289 | * target.h (struct target_ops) <to_resume, to_wait, | |
13290 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
13291 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
13292 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
13293 | markup. | |
13294 | (forward_target_remove_breakpoint) | |
13295 | (forward_target_insert_breakpoint): Remove. | |
13296 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
13297 | directly. | |
13298 | (record_btrace_insert_breakpoint): Delegate directly. | |
13299 | ||
1101cb7b TT |
13300 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13301 | ||
13302 | PR build/7701: | |
13303 | * target-delegates.c: New file. | |
13304 | * target.c: Include target-delegates.c. | |
13305 | (init_dummy_target): Call install_dummy_methods. | |
13306 | (complete_target_initialization): Call install_delegators. | |
13307 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
13308 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
13309 | * make-target-delegates: New file. | |
13310 | ||
8b06beed TT |
13311 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13312 | ||
13313 | * record.c (find_record_target): Use find_target_at. | |
13314 | * target.c (find_target_at): New function. | |
13315 | * target.h (find_target_at): Declare. | |
13316 | ||
6a109b6b TT |
13317 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13318 | ||
13319 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
13320 | Add 'ops' argument. | |
13321 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
13322 | 'ops' argument. | |
13323 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
13324 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
13325 | 'ops' argument. | |
13326 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
13327 | argument. | |
13328 | * linux-nat.c (save_sigtrap): Update. | |
13329 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
13330 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
13331 | (linux_nat_close): Update. | |
13332 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
13333 | argument. | |
13334 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
13335 | argument. | |
13336 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
13337 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
13338 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
13339 | (tmp_to_async): Add 'ops' argument. | |
13340 | (record_full_stopped_by_watchpoint, record_full_async) | |
13341 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
13342 | argument. | |
13343 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
13344 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
13345 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
13346 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
13347 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
13348 | (remote_stopped_data_address): Update. | |
13349 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
13350 | * target.c (update_current_target) | |
13351 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13352 | (init_dummy_target): Update. | |
13353 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
13354 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
13355 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
13356 | (target_can_async_p, target_is_async_p, target_async) | |
13357 | (target_stopped_by_watchpoint): Update. | |
13358 | ||
e095146b YQ |
13359 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
13360 | ||
13361 | PR gdb/16220 | |
13362 | * gdbarch.sh: Remove startup_gdbarch. | |
13363 | * gdbarch.c: Regenerated. | |
13364 | * gdbarch.h: Likewise. | |
13365 | ||
bc3c6b36 KB |
13366 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
13367 | ||
13368 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
13369 | (rl78_return_value): Add g10 support. | |
13370 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
13371 | g10. | |
13372 | ||
98dc0167 | 13373 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
13374 | |
13375 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
13376 | (SUBDIR_GUILE_SRCS): Ditto. | |
13377 | (scm-gsmob.o): Ditto. | |
13378 | ||
842c05cd YQ |
13379 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13380 | ||
13381 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
13382 | ||
25c0bd04 YQ |
13383 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13384 | ||
13385 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
13386 | mach_msg_type_number_t. | |
13387 | (gnu_write_inferior): Likewise. | |
13388 | ||
a9a758e3 YQ |
13389 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13390 | ||
13391 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
13392 | in format string. | |
13393 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
13394 | (inf_validate_procs, inf_signal): Likewise. | |
13395 | (S_exception_raise_request): Likewise. | |
13396 | (do_mach_notify_dead_name): Likewise. | |
13397 | (steal_exc_port): Likewise. | |
13398 | (gnu_read_inferior): Change 'copy_count''s type to | |
13399 | mach_msg_type_number_t. | |
13400 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
13401 | format string. | |
13402 | ||
bae8023e TS |
13403 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
13404 | ||
c82f56d9 TS |
13405 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
13406 | flag. Adjust all users; in particular... | |
13407 | (gnu_wait): ..., don't decrement its value in here... | |
13408 | (gnu_create_inferior): ..., and instead set the flag in here, | |
13409 | around the startup_inferior call, and call that one with | |
13410 | START_INFERIOR_TRAPS_EXPECTED. | |
13411 | ||
3398af6a TS |
13412 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
13413 | (ILL_RPC): ... new macro. | |
13414 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
13415 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
13416 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
13417 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
13418 | functions with ILL_RPC macro. | |
13419 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
13420 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
13421 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
13422 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
13423 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
13424 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
13425 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
13426 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
13427 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
13428 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
13429 | (S_proc_get_code_reply): New stub functions, generated with | |
13430 | ILL_RPC macro. | |
13431 | ||
d47642c9 TS |
13432 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
13433 | collected the type check structures. | |
13434 | ||
bae8023e TS |
13435 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
13436 | ||
8a55ffb0 DE |
13437 | 2014-02-14 Doug Evans <dje@google.com> |
13438 | ||
13439 | * target.c (target_write_partial): Fix result type. | |
13440 | ||
c2853f3d JM |
13441 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
13442 | ||
13443 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
13444 | the proper offsets to access fpregset_t. | |
13445 | ||
ac61d2db SA |
13446 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
13447 | ||
13448 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
13449 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
13450 | * h8300-tdep.c (setmachinelist): Remove global. | |
13451 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
13452 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
13453 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
13454 | * ravenscar-thread.c (update_target_observer): Remove global. | |
13455 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
13456 | ||
9d2d0b8b TT |
13457 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13458 | ||
13459 | * common/rsp-low.c: Update comments. | |
13460 | * common/rsp-low.h: Update comments. | |
13461 | ||
a7191e8b TT |
13462 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13463 | ||
13464 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
13465 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
13466 | ||
ff0e980e TT |
13467 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13468 | ||
13469 | * common/rsp-low.h (unhexify): Don't declare. | |
13470 | * common/rsp-low.c (unhexify): Remove. | |
13471 | ||
e9371aff TT |
13472 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13473 | ||
13474 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
13475 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
13476 | ||
971dc0b8 TT |
13477 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13478 | ||
13479 | * common/rsp-low.h (hexify): Don't declare. | |
13480 | * common/rsp-low.c (hexify): Remove. | |
13481 | ||
0a822afb TT |
13482 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13483 | ||
13484 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
13485 | ||
9f1b45b0 TT |
13486 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13487 | ||
13488 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
13489 | * remote.c (extended_remote_run, remote_rcmd) | |
13490 | (remote_download_trace_state_variable, remote_save_trace_data) | |
13491 | (remote_set_trace_notes): Update. | |
13492 | * tracepoint.c (encode_source_string, tfile_write_status) | |
13493 | (tfile_write_uploaded_tsv): Update. | |
13494 | ||
9c3d6531 TT |
13495 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13496 | ||
13497 | * tracepoint.c: Include rsp-low.h. | |
13498 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
13499 | * remote.c: Include rsp-low.h. | |
13500 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
13501 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
13502 | (remote_unescape_input): Move to common/rsp-low.c. | |
13503 | * common/rsp-low.h: New file. | |
13504 | * common/rsp-low.c: New file. | |
13505 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
13506 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
13507 | (COMMON_OBS): Add rsp-low.o. | |
13508 | (rsp-low.o): New target. | |
13509 | ||
01fd3ea5 TT |
13510 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13511 | ||
13512 | * utils.h: Include print-utils.h. | |
13513 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
13514 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
13515 | (hex_string, hex_string_custom): Don't declare. | |
13516 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
13517 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
13518 | (hex_string_custom, int_string, core_addr_to_string) | |
13519 | (core_addr_to_string_nz, host_address_to_string): Move to | |
13520 | common/print-utils.c. | |
13521 | * common/print-utils.h: New file. | |
13522 | * common/print-utils.c: New file | |
13523 | * Makefile.in (SFILES): Add common/print-utils.c. | |
13524 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
13525 | (COMMON_OBS): Add print-utils.o. | |
13526 | (print-utils.o): New target. | |
13527 | ||
9fb50108 TT |
13528 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13529 | ||
13530 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
13531 | ||
0548b5db MK |
13532 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13533 | ||
13534 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
13535 | ||
493443a4 MK |
13536 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13537 | ||
13538 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
13539 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
13540 | bytes were transferred. | |
13541 | ||
706d0883 PA |
13542 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13543 | Kevin Buettner <kevinb@redhat.com> | |
13544 | ||
13545 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
13546 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
13547 | ||
5caa2f0b PA |
13548 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13549 | ||
13550 | * h8300-tdep.c (pseudo_from_raw_register) | |
13551 | (raw_from_pseudo_register): New functions. | |
13552 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
13553 | them. | |
13554 | ||
76fd5f74 PA |
13555 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13556 | ||
13557 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
13558 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
13559 | gdbarch_register_sim_regno hook. | |
13560 | ||
8f008406 SA |
13561 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
13562 | ||
13563 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
13564 | ||
195abc10 SA |
13565 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
13566 | ||
13567 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
13568 | ||
93ffa5b9 MK |
13569 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13570 | ||
13571 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
13572 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
13573 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
13574 | (obsd_init_abi): New functions. | |
13575 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
13576 | (i386obsd_init_abi): Call obsd_init_abi. | |
13577 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
13578 | (amd64obsd_init_abi): Call obsd_init_abi. | |
13579 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
13580 | obsd-tdep.c to gdb_target_obs. | |
13581 | ||
49caec94 JM |
13582 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
13583 | ||
13584 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
13585 | double float arguments to 16-byte in the argument slots. | |
13586 | ||
e1402065 DE |
13587 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
13588 | ||
13589 | * configure.ac: Don't crash if pkg-config is not found and guile | |
13590 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
13591 | in guile checks. | |
13592 | * configure: Regenerate. | |
13593 | ||
edcc890f YQ |
13594 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
13595 | ||
13596 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
13597 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
13598 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
13599 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
13600 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
13601 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13602 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13603 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
13604 | ||
9b409511 YQ |
13605 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
13606 | ||
13607 | * target.h (enum target_xfer_error): Rename to ... | |
13608 | (enum target_xfer_status): ... it. New. All users updated. | |
13609 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
13610 | New. | |
13611 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
13612 | (target_xfer_error_to_string): Remove declaration. | |
13613 | (target_xfer_status_to_string): Declare. | |
13614 | (target_xfer_partial_ftype): Adjust it. | |
13615 | (struct target_ops) <to_xfer_partial>: Return | |
13616 | target_xfer_status. Add argument xfered_len. Update | |
13617 | comments. | |
13618 | * target.c (target_xfer_error_to_string): Rename to ... | |
13619 | (target_xfer_status_to_string): ... it. New. All callers | |
13620 | updated. | |
13621 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
13622 | instead of target_read. | |
13623 | (memory_xfer_live_readonly_partial): Return | |
13624 | target_xfer_status. Add argument xfered_len. | |
13625 | (raw_memory_xfer_partial): Likewise. | |
13626 | (memory_xfer_partial_1): Likewise. | |
13627 | (memory_xfer_partial): Likewise. | |
13628 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
13629 | properly. Update debug message. | |
13630 | (default_xfer_partial, current_xfer_partial): Likewise. | |
13631 | (target_write_partial): Likewise. | |
13632 | (target_read_partial): Likewise. All callers updated. | |
13633 | (read_whatever_is_readable): Likewise. | |
13634 | (target_write_with_progress): Likewise. | |
13635 | (target_read_alloc_1): Likewise. | |
13636 | ||
13637 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
13638 | * auxv.c (procfs_xfer_auxv): Likewise. | |
13639 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
13640 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
13641 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
13642 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
13643 | * corefile.c (read_memory): Adjust. | |
13644 | * corelow.c (core_xfer_partial): Likewise. | |
13645 | * ctf.c (ctf_xfer_partial): Likewise. | |
13646 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
13647 | updated. | |
13648 | (darwin_xfer_partial): Likewise. | |
13649 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
13650 | callers updated. | |
13651 | (exec_xfer_partial): Likewise. | |
13652 | * exec.h (section_table_xfer_memory_partial): Update | |
13653 | declaration. | |
13654 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
13655 | negative. | |
13656 | (gnu_xfer_partial): Likewise. | |
13657 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
13658 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
13659 | (ia64_hpux_xfer_solib_got): Likewise. | |
13660 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
13661 | type of 'partial_len' to ULONGEST. | |
13662 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
13663 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
13664 | (linux_nat_xfer_partial): Likewise. | |
13665 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
13666 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
13667 | * monitor.c (monitor_xfer_memory): Likewise. | |
13668 | (monitor_xfer_partial): Likewise. | |
13669 | * procfs.c (procfs_xfer_partial): Likewise. | |
13670 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
13671 | * record-full.c (record_full_xfer_partial): Likewise. | |
13672 | (record_full_core_xfer_partial): Likewise. | |
13673 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
13674 | (gdbsim_xfer_partial): Likewise. | |
13675 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
13676 | updated. | |
13677 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
13678 | callers updated. | |
13679 | (remote_flash_erase): Likewise. All callers updated. | |
13680 | (remote_write_qxfer): Likewise. All callers updated. | |
13681 | (remote_read_qxfer): Likewise. All callers updated. | |
13682 | (remote_xfer_partial): Likewise. | |
13683 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13684 | (rs6000_xfer_shared_libraries): Likewise. | |
13685 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
13686 | (sol_thread_xfer_partial): Likewise. | |
13687 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13688 | (sparc_xfer_partial): Likewise. | |
13689 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
13690 | updated. | |
13691 | (spu_xfer_partial): Likewise. | |
13692 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
13693 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
13694 | * windows-nat.c (windows_xfer_memory): Likewise. | |
13695 | (windows_xfer_shared_libraries): Likewise. | |
13696 | (windows_xfer_partial): Likewise. | |
13697 | * valprint.c: Replace 'target_xfer_error' with | |
13698 | 'target_xfer_status' in comments. | |
13699 | ||
a8e63083 JB |
13700 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
13701 | ||
13702 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
13703 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
13704 | ||
e86b67d3 JB |
13705 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
13706 | ||
13707 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
13708 | function parameters. | |
13709 | ||
4b7d1f7f WN |
13710 | 2014-02-10 Will Newton <will.newton@linaro.org> |
13711 | ||
13712 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
13713 | looking up .got.plt fails. | |
13714 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
13715 | on address passed to elf_gnu_ifunc_record_cache. | |
13716 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
13717 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
13718 | ||
961842b2 JM |
13719 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
13720 | ||
13721 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
13722 | (X_RETTURN): New macro. | |
13723 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
13724 | ||
13725 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
13726 | sparc_in_function_epilogue_p. | |
13727 | ||
3f03e7b1 GB |
13728 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
13729 | ||
13730 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
13731 | Rename name_matcher to symbol_matcher. | |
13732 | ||
96f861ef GB |
13733 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
13734 | ||
13735 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
13736 | Use expand_symtabs_file_matcher_ftype and | |
13737 | expand_symtabs_symbol_matcher_ftype. | |
13738 | ||
ee01b665 JB |
13739 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13740 | ||
13741 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
13742 | (struct ada_symbol_cache): New. | |
13743 | (ada_free_symbol_cache): Forward declare. | |
13744 | (struct ada_pspace_data): New. | |
13745 | (ada_pspace_data_handle): New static global. | |
13746 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
13747 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
13748 | (cache_space, cache): Delete, now folded inside struct | |
13749 | ada_pspace_data. | |
13750 | (ada_get_symbol_cache): New function. | |
13751 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
13752 | implementation. | |
13753 | (_initialize_ada_language): Remove initialization of cache_space. | |
13754 | Move call to observer_attach_inferior_exit up, grouping it | |
13755 | with the other observer registrations inside this function. | |
13756 | Rename command to be more general. Add call to | |
13757 | register_program_space_data_with_cleanup. | |
13758 | ||
143adbbf JB |
13759 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13760 | ||
13761 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
13762 | ada_new_objfile_observer. | |
13763 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
13764 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
13765 | and ada_tasks_normal_stop_observer. | |
13766 | ||
aa4fb036 JB |
13767 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13768 | ||
13769 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
13770 | returned by the 'Length attribute to integer. | |
13771 | ||
9dee8cc6 JB |
13772 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13773 | ||
13774 | * ada-lang.c (_initialize_ada_language): Initialize | |
13775 | cache_space obstack. | |
13776 | ||
3d9434b5 JB |
13777 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13778 | ||
13779 | * ada-lang.c (HASH_SIZE): New macro. | |
13780 | (struct cache_entry): New type. | |
13781 | (cache_space, cache): New static globals. | |
13782 | (ada_clear_symbol_cache, find_entry): New functions. | |
13783 | (lookup_cached_symbol, cache_symbol): Implement. | |
13784 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
13785 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
13786 | and ada_free_objfile_observer. | |
13787 | ||
f0c5f9b2 JB |
13788 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13789 | ||
13790 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
13791 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
13792 | struct block * parameter. | |
13793 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
13794 | Remove cast which is no longer necessary. | |
13795 | ||
ed3ef339 DE |
13796 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
13797 | ||
13798 | Add Guile as an extension language. | |
13799 | * NEWS: Mention Guile scripting. | |
13800 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
13801 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
13802 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
13803 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
13804 | (CLIBS): Add GUILE_LIBS. | |
13805 | (install-guile): New rule. | |
13806 | (guile.o): New rule. | |
13807 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
13808 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
13809 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
13810 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
13811 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
13812 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
13813 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
13814 | * configure.ac: New option --with-guile. | |
13815 | * configure: Regenerate. | |
13816 | * config.in: Regenerate. | |
13817 | * auto-load.c: Remove #include "python/python.h". Add #include | |
13818 | "gdb/section-scripts.h". | |
13819 | (source_section_scripts): Handle Guile scripts. | |
13820 | (_initialize_auto_load): Add name of Guile objfile script to | |
13821 | scripts-directory help text. | |
13822 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
13823 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
13824 | (struct breakpoint): New member scm_bp_object. | |
13825 | * defs.h (enum command_control_type): New value guile_control. | |
13826 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
13827 | "extension.h". | |
13828 | (show_user): Update comment. | |
13829 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
13830 | text for max-user-call-depth. | |
13831 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
13832 | "extension.h". | |
13833 | (multi_line_command_p): Add guile_control. | |
13834 | (print_command_lines): Handle guile_control. | |
13835 | (execute_control_command, recurse_read_control_structure): Ditto. | |
13836 | (process_next_line): Recognize "guile" commands. | |
13837 | * disasm.c (gdb_disassemble_info): Make non-static. | |
13838 | * disasm.h: #include "dis-asm.h". | |
13839 | (struct gdbarch): Add forward decl. | |
13840 | (gdb_disassemble_info): Declare. | |
13841 | * extension.c: #include "guile/guile.h". | |
13842 | (extension_languages): Add guile. | |
13843 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
13844 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
13845 | * gdbtypes.c (get_unsigned_type_max): New function. | |
13846 | (get_signed_type_minmax): New function. | |
13847 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
13848 | (get_signed_type_minmax): Declare. | |
13849 | * guile/README: New file. | |
13850 | * guile/guile-internal.h: New file. | |
13851 | * guile/guile.c: New file. | |
13852 | * guile/guile.h: New file. | |
13853 | * guile/scm-arch.c: New file. | |
13854 | * guile/scm-auto-load.c: New file. | |
13855 | * guile/scm-block.c: New file. | |
13856 | * guile/scm-breakpoint.c: New file. | |
13857 | * guile/scm-disasm.c: New file. | |
13858 | * guile/scm-exception.c: New file. | |
13859 | * guile/scm-frame.c: New file. | |
13860 | * guile/scm-gsmob.c: New file. | |
13861 | * guile/scm-iterator.c: New file. | |
13862 | * guile/scm-lazy-string.c: New file. | |
13863 | * guile/scm-math.c: New file. | |
13864 | * guile/scm-objfile.c: New file. | |
13865 | * guile/scm-ports.c: New file. | |
13866 | * guile/scm-pretty-print.c: New file. | |
13867 | * guile/scm-safe-call.c: New file. | |
13868 | * guile/scm-string.c: New file. | |
13869 | * guile/scm-symbol.c: New file. | |
13870 | * guile/scm-symtab.c: New file. | |
13871 | * guile/scm-type.c: New file. | |
13872 | * guile/scm-utils.c: New file. | |
13873 | * guile/scm-value.c: New file. | |
13874 | * guile/lib/gdb.scm: New file. | |
13875 | * guile/lib/gdb/boot.scm: New file. | |
13876 | * guile/lib/gdb/experimental.scm: New file. | |
13877 | * guile/lib/gdb/init.scm: New file. | |
13878 | * guile/lib/gdb/iterator.scm: New file. | |
13879 | * guile/lib/gdb/printing.scm: New file. | |
13880 | * guile/lib/gdb/types.scm: New file. | |
13881 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
13882 | (VPATH): Add $(GUILE_SRCDIR). | |
13883 | (GUILE_DIR): New variable. | |
13884 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
13885 | (all): Add stamp-guile dependency. | |
13886 | (stamp-guile): New rule. | |
13887 | (clean-guile, install-guile, uninstall-guile): New rules. | |
13888 | (install-only): Add install-guile dependency. | |
13889 | (uninstall): Add uninstall-guile dependency. | |
13890 | (clean): Add clean-guile dependency. | |
13891 | ||
ac020ec5 DE |
13892 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
13893 | ||
13894 | Revert this patch (which I approved, mea culpa). | |
13895 | ||
13896 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
13897 | ||
13898 | * Makefile.in (all-lib): Remove. | |
13899 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
13900 | ||
2a081c59 JK |
13901 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
13902 | ||
13903 | Fix Python stack corruption. | |
13904 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
13905 | gdb_py_longest. | |
13906 | ||
0a6bd22d MK |
13907 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
13908 | ||
13909 | * Makefile.in (all-lib): Remove. | |
13910 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
13911 | ||
1a860409 DE |
13912 | 2014-02-07 Doug Evans <dje@google.com> |
13913 | ||
13914 | * extension-priv.h (extension_language_script_ops): Add comment. | |
13915 | (extension_language_ops): Add comment. | |
caf5a491 | 13916 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 13917 | |
d137e6dc PA |
13918 | 2014-02-07 Pedro Alves <palves@redhat.com> |
13919 | ||
0dcb32c3 | 13920 | PR breakpoints/16292 |
d137e6dc PA |
13921 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
13922 | over a breakpoint>: Switch back to the stepping thread. | |
13923 | ||
ce6d0892 YQ |
13924 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13925 | ||
13926 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
13927 | ||
2ed4b548 YQ |
13928 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13929 | ||
13930 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
13931 | (ld_so_xfer_auxv): Likewise. | |
13932 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
13933 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
13934 | * corelow.c (core_xfer_partial): Likewise. | |
13935 | * ctf.c (ctf_xfer_partial): Likewise. | |
13936 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
13937 | (darwin_xfer_partial): Likewise. | |
13938 | * exec.c (exec_xfer_partial): Likewise. | |
13939 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
13940 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
13941 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
13942 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
13943 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
13944 | (linux_proc_xfer_spu): Likewise. | |
13945 | * procfs.c (procfs_xfer_partial): Likewise. | |
13946 | * record-full.c (record_full_xfer_partial): Likewise. | |
13947 | (record_full_core_xfer_partial): Likewise. | |
13948 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
13949 | * remote.c (remote_write_qxfer): Likewise. | |
13950 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
13951 | (remote_xfer_partial): Likewise. | |
13952 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13953 | (rs6000_xfer_shared_libraries): Likewise. | |
13954 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13955 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
13956 | (spu_xfer_partial): Likewise. | |
13957 | * target.c (memory_xfer_partial_1): Likewise. | |
13958 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
13959 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
13960 | (windows_xfer_partial): Likewise. | |
13961 | ||
c09f20e4 YQ |
13962 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13963 | ||
13964 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
13965 | comments. | |
13966 | (core_xfer_shared_libraries_aix): Likewise. | |
13967 | * gdbarch.c, gdbarch.h: Regenerated. | |
13968 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
13969 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
13970 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
13971 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
13972 | declaration. | |
13973 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
13974 | ||
8635b3bf YQ |
13975 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13976 | ||
13977 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
13978 | 'exception' to throw_error. | |
13979 | ||
6dddc817 DE |
13980 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
13981 | ||
13982 | * configure.ac (libpython checking): Remove all but python.o from | |
13983 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
13984 | * configure: Regenerate. | |
13985 | ||
13986 | * Makefile.in (SFILES): Add extension.c. | |
13987 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
13988 | (COMMON_OBS): Add extension.o. | |
13989 | * extension.h: New file. | |
13990 | * extension-priv.h: New file. | |
13991 | * extension.c: New file. | |
13992 | ||
13993 | * python/python-internal.h: #include "extension.h". | |
13994 | (gdbpy_auto_load_enabled): Declare. | |
13995 | (gdbpy_apply_val_pretty_printer): Declare. | |
13996 | (gdbpy_apply_frame_filter): Declare. | |
13997 | (gdbpy_preserve_values): Declare. | |
13998 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
13999 | (gdbpy_breakpoint_has_cond): Declare. | |
14000 | (void source_python_script_for_objfile): Delete. | |
14001 | * python/python.c: #include "extension-priv.h". | |
14002 | Delete inclusion of "observer.h". | |
14003 | (extension_language_python): Moved here and renamed from | |
14004 | script_language_python in py-auto-load.c. | |
14005 | Redefined to be of type extension_language_defn. | |
14006 | (python_extension_script_ops): New global. | |
14007 | (python_extension_ops): New global. | |
14008 | (struct python_env): New member previous_active. | |
14009 | (restore_python_env): Call restore_active_ext_lang. | |
14010 | (ensure_python_env): Call set_active_ext_lang. | |
14011 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
14012 | New arg extlang. | |
14013 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
14014 | New arg extlang. | |
14015 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
14016 | New arg extlang. | |
14017 | (gdbpy_eval_from_control_command): Renamed from | |
14018 | eval_python_from_control_command, made static. New arg extlang. | |
14019 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
14020 | New arg extlang. | |
14021 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
14022 | result to int. New arg extlang. | |
14023 | (gdbpy_source_objfile_script): Renamed from | |
14024 | source_python_script_for_objfile, made static. New arg extlang. | |
14025 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
14026 | static. New args extlang, extlang_printers. Change result type to | |
14027 | "void". | |
14028 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
14029 | static. New arg extlang. Rename arg printers to extlang_printers | |
14030 | and change type to ext_lang_type_printers *. | |
14031 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
14032 | static. Replace argument arg with extlang, extlang_printers. | |
14033 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
14034 | (!HAVE_PYTHON, source_python_script): Delete. | |
14035 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
14036 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
14037 | (!HAVE_PYTHON, start_type_printers): Delete. | |
14038 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
14039 | (!HAVE_PYTHON, free_type_printers): Delete. | |
14040 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
14041 | (finalize_python): Set/restore active extension language. | |
14042 | (gdbpy_finish_initialization) Renamed from | |
14043 | finish_python_initialization, made static. New arg extlang. | |
14044 | (gdbpy_initialized): New function. | |
14045 | * python/python.h: #include "extension.h". Delete #include | |
14046 | "value.h", "mi/mi-cmds.h". | |
14047 | (extension_language_python): Declare. | |
14048 | (GDBPY_AUTO_FILE_NAME): Delete. | |
14049 | (enum py_bt_status): Moved to extension.h and renamed to | |
14050 | ext_lang_bt_status. | |
14051 | (enum frame_filter_flags): Moved to extension.h. | |
14052 | (enum py_frame_args): Moved to extension.h and renamed to | |
14053 | ext_lang_frame_args. | |
14054 | (finish_python_initialization): Delete. | |
14055 | (eval_python_from_control_command): Delete. | |
14056 | (source_python_script): Delete. | |
14057 | (apply_val_pretty_printer): Delete. | |
14058 | (apply_frame_filter): Delete. | |
14059 | (preserve_python_values): Delete. | |
14060 | (gdbpy_script_language_defn): Delete. | |
14061 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
14062 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
14063 | ||
14064 | * auto-load.c: #include "extension.h". | |
14065 | (GDB_AUTO_FILE_NAME): Delete. | |
14066 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
14067 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
14068 | extension_language_gdb. | |
14069 | (source_gdb_script_for_objfile): Delete. | |
14070 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
14071 | (loaded_script): Change type of language member to | |
14072 | struct extension_language_defn *. | |
14073 | (init_loaded_scripts_info): Initialize | |
14074 | unsupported_script_warning_printed. | |
14075 | (maybe_add_script): Make static. Change type of language arg to | |
14076 | struct extension_language_defn *. | |
14077 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
14078 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
14079 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
14080 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
14081 | (source_section_scripts): Rewrite to use extension language API. | |
14082 | (load_auto_scripts_for_objfile): Rewrite to use | |
14083 | auto_load_scripts_for_objfile. | |
14084 | (collect_matching_scripts_data): Change type of language member to | |
14085 | struct extension_language_defn *. | |
14086 | (auto_load_info_scripts): Change type of language arg to | |
14087 | struct extension_language_defn *. | |
14088 | (unsupported_script_warning_print): New function. | |
14089 | (script_not_found_warning_print): Make static. | |
14090 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
14091 | help. | |
14092 | * auto-load.h (struct objfile): Add forward decl. | |
14093 | (struct script_language): Delete. | |
14094 | (struct auto_load_pspace_info): Add forward decl. | |
14095 | (struct extension_language_defn): Add forward decl. | |
14096 | (maybe_add_script): Delete. | |
14097 | (auto_load_objfile_script): Declare. | |
14098 | (script_not_found_warning_print): Delete. | |
14099 | (auto_load_info_scripts): Update prototype. | |
14100 | (auto_load_gdb_scripts_enabled): Declare. | |
14101 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
14102 | auto_load_python_scripts_enabled and made public. | |
14103 | (script_language_python): Delete, moved to python.c. | |
14104 | (gdbpy_script_language_defn): Delete. | |
14105 | (info_auto_load_python_scripts): Update to use | |
14106 | extension_language_python. | |
14107 | ||
14108 | * breakpoint.c (condition_command): Replace call to | |
14109 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
14110 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
14111 | with call to breakpoint_ext_lang_cond_says_stop. | |
14112 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
14113 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
14114 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
14115 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
14116 | New arg slang. | |
14117 | (local_setattro): Print name of extension language with existing | |
14118 | stop condition. | |
14119 | ||
14120 | * valprint.c (val_print, value_print): Update to call | |
14121 | apply_ext_lang_val_pretty_printer. | |
14122 | * cp-valprint.c (cp_print_value): Update call to | |
14123 | apply_ext_lang_val_pretty_printer. | |
14124 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
14125 | (gdbpy_apply_val_pretty_printer): Renamed from | |
14126 | apply_val_pretty_printer. New arg extlang. | |
14127 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
14128 | ||
14129 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
14130 | extension language API. | |
14131 | * cli/cli-script.c (execute_control_command): Update to call | |
14132 | eval_ext_lang_from_control_command. | |
14133 | ||
14134 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
14135 | enum ext_lang_bt_status values. Update call to | |
14136 | apply_ext_lang_frame_filter. | |
14137 | (mi_cmd_stack_list_locals): Ditto. | |
14138 | (mi_cmd_stack_list_args): Ditto. | |
14139 | (mi_cmd_stack_list_variables): Ditto. | |
14140 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
14141 | Add #include "extension.h". | |
14142 | (mi_cmd_list_features): Replace reference to python internal variable | |
14143 | gdb_python_initialized with call to ext_lang_initialized_p. | |
14144 | ||
14145 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
14146 | Update to use enum ext_lang_frame_args. Update to call | |
14147 | apply_ext_lang_frame_filter. | |
14148 | * python/py-framefilter.c (extract_sym): Update to use enum | |
14149 | ext_lang_bt_status. | |
14150 | (extract_value, py_print_type, py_print_value): Ditto. | |
14151 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
14152 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
14153 | (py_print_frame): Ditto. | |
14154 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
14155 | New arg extlang. Update to use enum ext_lang_bt_status. | |
14156 | ||
14157 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
14158 | finish_python_initialization. Replace with call to | |
14159 | finish_ext_lang_initialization. | |
14160 | ||
14161 | * typeprint.c (do_free_global_table): Update to call | |
14162 | free_ext_lang_type_printers. | |
14163 | (create_global_typedef_table): Update to call | |
14164 | start_ext_lang_type_printers. | |
14165 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
14166 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
14167 | (type_print_options): Change type of global_printers from "void *" | |
14168 | to "struct ext_lang_type_printers *". | |
14169 | ||
14170 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
14171 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
14172 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
14173 | New arg extlang. | |
14174 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
14175 | ||
14176 | * utils.c (quit_flag): Delete, moved to extension.c. | |
14177 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
14178 | extension.c. | |
14179 | ||
14180 | * eval.c: Delete #include "python/python.h". | |
14181 | * main.c: Delete #include "python/python.h". | |
14182 | ||
14183 | * defs.h: Update comment. | |
14184 | ||
6af79985 JB |
14185 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
14186 | ||
14187 | GDB 7.7 released. | |
14188 | ||
12c5175d MK |
14189 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
14190 | ||
14191 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
14192 | defined. | |
14193 | ||
8dc5b319 YQ |
14194 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14195 | ||
14196 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
14197 | rs->buf. | |
14198 | (remote_program_signals): Likewise. | |
14199 | ||
de7b2893 YQ |
14200 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14201 | ||
14202 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
14203 | (CTF_PID): A new macro. | |
14204 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
14205 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
14206 | (ctf_thread_alive): New function. | |
14207 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
14208 | ||
66d032ac YQ |
14209 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14210 | ||
14211 | Revert this patch: | |
14212 | ||
14213 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
14214 | ||
14215 | * tracepoint.c (TFILE_PID): Remove. | |
14216 | (tfile_open): Don't add thread and inferior. | |
14217 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
14218 | exit_inferior_silent. | |
14219 | (tfile_thread_alive): Remove. | |
14220 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
14221 | tfile_ops. | |
14222 | ||
f4ccffad CE |
14223 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
14224 | ||
14225 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
14226 | if only symbol-file (not file) has been given. | |
14227 | ||
591a12a1 UW |
14228 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14229 | ||
14230 | * gdbarch.sh (skip_entrypoint): New callback. | |
14231 | * gdbarch.c, gdbarch.h: Regenerate. | |
14232 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
14233 | * infrun.c (fill_in_stop_func): Likewise. | |
14234 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
14235 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
14236 | (ppc_elfv2_skip_entrypoint): Likewise. | |
14237 | (ppc_linux_init_abi): Install them for ELFv2. | |
14238 | ||
cc0e89c5 UW |
14239 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14240 | ||
14241 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
14242 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
14243 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
14244 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
14245 | structures returned in GPRs. | |
14246 | ||
52f548e4 UW |
14247 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14248 | ||
14249 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
14250 | offset to the stack parameter list for the ELFv2 ABI. | |
14251 | ||
d4094b6a UW |
14252 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14253 | ||
14254 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
14255 | set_gdbarch_convert_from_func_ptr_addr and | |
14256 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
14257 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
14258 | function descriptors on ELFv1. | |
14259 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
14260 | set up r12 at function entry. | |
14261 | ||
cd453cd0 UW |
14262 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14263 | ||
14264 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
14265 | (struct gdbarch_tdep): New member elf_abi. | |
14266 | ||
14267 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
14268 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
14269 | ||
0ff3e01f UW |
14270 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14271 | ||
14272 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
14273 | within a register pair holding a DFP 128-bit value on little-endian. | |
14274 | (ppc64_sysv_abi_return_value_base): Likewise. | |
14275 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
14276 | (dfp_pseudo_register_write): Likewise. | |
14277 | ||
5b757e5d UW |
14278 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14279 | ||
14280 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
14281 | offset on little-endian when passing _Decimal32. | |
14282 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
14283 | ||
084ee545 UW |
14284 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14285 | ||
14286 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
14287 | of the overlapped FP register within the VSX register on little- | |
14288 | endian platforms. | |
14289 | (efpr_pseudo_register_write): Likewise. | |
14290 | ||
d63167af UW |
14291 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14292 | ||
14293 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
14294 | offset on little-endian when passing small structures. | |
14295 | ||
e765b44c UW |
14296 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14297 | ||
14298 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
14299 | (struct ppc64_sysv_argpos): New data structure. | |
14300 | (ppc64_sysv_abi_push_float): Remove. | |
14301 | (ppc64_sysv_abi_push_val): New function. | |
14302 | (ppc64_sysv_abi_push_integer): Likewise. | |
14303 | (ppc64_sysv_abi_push_freg): Likewise. | |
14304 | (ppc64_sysv_abi_push_vreg): Likewise. | |
14305 | (ppc64_sysv_abi_push_param): Likewise. | |
14306 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
14307 | (ppc64_sysv_abi_return_value_base): New function. | |
14308 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
14309 | ||
36c24d95 UW |
14310 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14311 | ||
14312 | * NEWS: Document new target powerpc64le-*-linux*. | |
14313 | ||
26fd9228 MK |
14314 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
14315 | ||
14316 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
14317 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
14318 | core dumps. | |
14319 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
14320 | register set used in ELF core dumps. Add floating-point register set. | |
14321 | ||
c5bb7362 KB |
14322 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
14323 | ||
74228e77 | 14324 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
14325 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
14326 | penultimate entry from number representing the PC register | |
14327 | to symbolic constant representing the MDR register. Add | |
14328 | constant for the PC register to the end of the table. | |
14329 | ||
af09351e MK |
14330 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14331 | ||
14332 | * bsd-kvm.c: Include <sys/param.h> | |
14333 | ||
8507e05d MK |
14334 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14335 | ||
14336 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
14337 | ||
ae56bfb8 JB |
14338 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
14339 | ||
14340 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
14341 | ||
718ee4dc UW |
14342 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
14343 | ||
14344 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
14345 | ||
401e27fd JM |
14346 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
14347 | ||
14348 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
14349 | the sigreturn register save area only if the syscall is | |
14350 | sigreturn. | |
14351 | ||
a7c88acd JB |
14352 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
14353 | ||
14354 | * valops.c (value_slice): Minor reformatting. | |
14355 | ||
fa0079ea UW |
14356 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
14357 | ||
14358 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
14359 | ||
c6044dd1 JB |
14360 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
14361 | ||
14362 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
14363 | New static globals. | |
14364 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
14365 | (ada_ignore_descriptive_types_p): New static global. | |
14366 | (find_parallel_type_by_descriptive_type): Return immediately | |
14367 | if ada_ignore_descriptive_types_p is set. | |
14368 | (_initialize_ada_language): Register new commands "maintenance | |
14369 | set ada", "maintenance show ada", "maintenance set ada | |
14370 | ignore-descriptive-types" and "maintenance show ada | |
14371 | ignore-descriptive-types". | |
14372 | * NEWS: Add entry for new "maint ada set/show | |
14373 | ignore-descriptive-types" commands. | |
14374 | ||
568e808b MM |
14375 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
14376 | ||
14377 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
14378 | for all threads. | |
14379 | ||
467d141b JB |
14380 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14381 | ||
14382 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
14383 | "ui-out.h". | |
14384 | ||
fb151210 JB |
14385 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14386 | ||
14387 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
14388 | New function. | |
14389 | (print_range): Add parameter bounds_prefered_p. If not set, | |
14390 | try printing range types using the name of their base type. | |
14391 | (print_range_type): Add parameter bounds_prefered_p. | |
14392 | Use it in call to print_range. | |
14393 | (print_array_type, ada_print_type): Update calls to print_range | |
14394 | and print_range_type. | |
14395 | ||
aba02109 JB |
14396 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14397 | ||
14398 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
14399 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
14400 | Remove declaration. | |
14401 | ||
e62e21fd JB |
14402 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14403 | ||
14404 | * ada-typeprint.c (print_range): Add missing empty line | |
14405 | after local declaration. | |
14406 | ||
859cf5d1 JB |
14407 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14408 | ||
14409 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
14410 | target type for as long as it is a TYPE_CODE_RANGE. | |
14411 | ||
25790f6f JB |
14412 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14413 | ||
14414 | * procfs.c (procfs_make_note_section): Remove assertion and | |
14415 | associated comment. | |
14416 | ||
6b6aa828 YQ |
14417 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14418 | ||
14419 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
14420 | * corelow.c (get_core_siginfo): Likewise. | |
14421 | ||
5d6df423 YQ |
14422 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14423 | ||
14424 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
14425 | ULONGEST. Don't check 'len' is negative. | |
14426 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
14427 | ||
83b645b8 TT |
14428 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14429 | ||
14430 | PR python/16485: | |
14431 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
14432 | Handle exception from frame.block. | |
14433 | (FrameVars.fetch_frame_locals): Likewise. | |
14434 | ||
0740f8d8 TT |
14435 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14436 | ||
14437 | PR python/16487: | |
14438 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
14439 | on a NULL pointer. Move "goto error" to correct place. | |
14440 | ||
21909fa1 TT |
14441 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14442 | ||
14443 | PR python/16491: | |
14444 | * python/py-framefilter.c (apply_frame_filter): Call | |
14445 | ensure_python_env after computing gdbarch. | |
14446 | ||
17fde6d0 YQ |
14447 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
14448 | ||
14449 | * target.c (raw_memory_xfer_partial): Change argument type | |
14450 | from void * to gdb_byte *. | |
14451 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
14452 | ||
87ce2a04 DE |
14453 | 2014-01-22 Doug Evans <dje@google.com> |
14454 | ||
14455 | New gdbserver option --debug-format=timestamp. | |
14456 | * NEWS: Mention it. | |
14457 | ||
237b092b AA |
14458 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
14459 | ||
14460 | * syscalls/s390x-linux.xml: New file. | |
14461 | * syscalls/s390-linux.xml: New file. | |
14462 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
14463 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
14464 | (op_svc): New enum value for SVC opcode. | |
14465 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
14466 | (s390_linux_get_syscall_number): New function. | |
14467 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
14468 | syscall xml file name. | |
14469 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
14470 | "s390-linux.xml" and "s390x-linux.xml". | |
14471 | * NEWS: Announce new feature. | |
14472 | ||
54bff650 BS |
14473 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
14474 | ||
14475 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
14476 | ||
14e361d7 PA |
14477 | 2014-01-22 Pedro Alves <palves@redhat.com> |
14478 | ||
14479 | * xtensa-config.c: Include defs.h. | |
14480 | ||
46bbb3ed JB |
14481 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14482 | ||
14483 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
14484 | reference. | |
14485 | ||
3a80edfc JB |
14486 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14487 | ||
14488 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
14489 | documentation a bit. | |
14490 | ||
4869db5e RM |
14491 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
14492 | ||
14493 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
14494 | * configure: Regenerate. | |
14495 | * aclocal.m4: Regenerate. | |
14496 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
14497 | New substituted variables. | |
14498 | (install-strip): New target. | |
14499 | (INSTALL_SCRIPT): New substituted variable. | |
14500 | (FLAGS_TO_PASS): Add it. | |
14501 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
14502 | $(INSTALL_PROGRAM) for gcore. | |
14503 | ||
9ea4267d TT |
14504 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14505 | ||
14506 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
14507 | together. | |
14508 | ||
1f2bdf09 TT |
14509 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14510 | ||
14511 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
14512 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
14513 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
14514 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
14515 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
14516 | (struct cmd_list_element) <flags>: Remove. | |
14517 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
14518 | doc_allocated>: New fields. | |
14519 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
14520 | bitfields. | |
14521 | * maint.c (maintenance_do_deprecate): Update. | |
14522 | * top.c (execute_command): Update. | |
14523 | ||
e671835b BS |
14524 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
14525 | ||
14526 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
14527 | ||
50367cd2 IB |
14528 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14529 | ||
14530 | * Makefile.in (SFILES): Add d-support.c. | |
14531 | (COMMON_OBS): Add d-support.o. | |
14532 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
14533 | d-support.c. | |
14534 | * d-lang.c (parse_call_convention) | |
14535 | (parse_attributes, parse_function_types) | |
14536 | (parse_function_args, parse_type, parse_identifier) | |
14537 | (call_convention_p, d_parse_symbol): Move functions to ... | |
14538 | * d-support.c: ... New file. | |
14539 | ||
ec9f644a IB |
14540 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14541 | ||
14542 | * d-lang.h (d_parse_symbol): Add declaration. | |
14543 | * d-lang.c (extract_identifiers) | |
14544 | (extract_type_info): Remove functions. | |
14545 | (parse_call_convention, parse_attributes) | |
14546 | (parse_function_types, parse_function_args) | |
14547 | (parse_type, parse_identifier, call_convention_p) | |
14548 | (d_parse_symbol): New functions. | |
14549 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
14550 | ||
94b1b47e IB |
14551 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14552 | ||
14553 | * d-lang.h (struct builtin_d_type): New data type. | |
14554 | (builtin_d_type): Add declaration. | |
14555 | * d-lang.c (d_language_arch_info, build_d_types) | |
14556 | (builtin_d_type): New functions. | |
14557 | (enum d_primitive_types): New data type. | |
14558 | (d_language_defn): Change c_language_arch_info to | |
14559 | d_language_arch_info. | |
14560 | (d_type_data): New static variable. | |
14561 | (_initialize_d_language): Initialize d_type_data. | |
14562 | ||
63778547 IB |
14563 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14564 | ||
14565 | * d-lang.h (d_main_name): Add declaration. | |
14566 | * d-lang.c (d_main_name): New function. | |
14567 | * symtab.c (find_main_name): Add call to d_main_name. | |
14568 | ||
3271ba66 IB |
14569 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14570 | ||
14571 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
14572 | macro_expansion_no. | |
14573 | ||
d36b3012 IB |
14574 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14575 | ||
14576 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
14577 | ||
c90a6fb7 SDJ |
14578 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
14579 | ||
14580 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
14581 | gdb_exception" declaration. | |
14582 | * remote.c (getpkt_or_notif_sane): Likewise. | |
14583 | ||
749234e5 DE |
14584 | 2014-01-17 Doug Evans <dje@google.com> |
14585 | ||
14586 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
14587 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
14588 | (delim_string_to_char_ptr_vec): New function. | |
14589 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
14590 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
14591 | ||
df049a58 DE |
14592 | 2014-01-17 Doug Evans <dje@google.com> |
14593 | ||
14594 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
14595 | and moved here ... | |
14596 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
14597 | #include "common-utils.h". | |
14598 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
14599 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
14600 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
14601 | (MACH_CHECK_ERROR): Update. | |
14602 | ||
69f97648 SM |
14603 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
14604 | ||
14605 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
14606 | comments. | |
14607 | * gdbarch.h: Regenerate. | |
14608 | ||
98b1cfdc TT |
14609 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
14610 | ||
14611 | * value.c (struct value) <regnum>: Move earlier. | |
14612 | ||
77a19445 TT |
14613 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
14614 | ||
14615 | * remote.c (extended_remote_create_inferior): Rename from | |
14616 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
14617 | old implementation. | |
14618 | ||
62261490 PA |
14619 | 2014-01-16 Pedro Alves <palves@redhat.com> |
14620 | ||
14621 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
14622 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
14623 | the backchain. | |
14624 | ||
4d65956b DE |
14625 | 2014-01-16 Doug Evans <dje@google.com> |
14626 | ||
14627 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
14628 | ||
52834460 MM |
14629 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14630 | ||
14631 | * btrace.h (btrace_thread_flag): New. | |
14632 | (struct btrace_thread_info) <flags>: New. | |
14633 | * record-btrace.c (record_btrace_resume_thread) | |
14634 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
14635 | (btrace_step_stopped, record_btrace_start_replaying) | |
14636 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
14637 | (record_btrace_find_resume_thread): New. | |
14638 | (record_btrace_resume, record_btrace_wait): Extend. | |
14639 | (record_btrace_can_execute_reverse): New. | |
14640 | (record_btrace_open): Fail in non-stop mode. | |
14641 | (record_btrace_set_replay): Split into this, ... | |
14642 | (record_btrace_stop_replaying): ... this, ... | |
14643 | (record_btrace_clear_histories): ... and this. | |
14644 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
14645 | * NEWS: Announce it. | |
14646 | ||
118e6252 MM |
14647 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14648 | ||
14649 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
14650 | (forward_target_decr_pc_after_break) | |
14651 | (target_decr_pc_after_break): New. | |
14652 | * target.c (forward_target_decr_pc_after_break) | |
14653 | (target_decr_pc_after_break): New. | |
14654 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
14655 | instead of gdbarch_decr_pc_after_break. | |
14656 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
14657 | instead of gdbarch_decr_pc_after_break. | |
14658 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
14659 | instead of gdbarch_decr_pc_after_break. | |
14660 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
14661 | instead of gdbarch_decr_pc_after_break. | |
14662 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
14663 | instead of gdbarch_decr_pc_after_break. | |
14664 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
14665 | instead of gdbarch_decr_pc_after_break. | |
14666 | ||
6e07b1d2 MM |
14667 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14668 | ||
14669 | * btrace.c: Include regcache.h. | |
14670 | (btrace_add_pc): New. | |
14671 | (btrace_enable): Call btrace_add_pc. | |
14672 | (btrace_is_empty): New. | |
14673 | * btrace.h (btrace_is_empty): New. | |
14674 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
14675 | btrace_is_empty. | |
14676 | ||
969c39fb MM |
14677 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14678 | ||
14679 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
14680 | Support delta reads. | |
14681 | (linux_disable_btrace): Change return type. | |
14682 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
14683 | and return type to allow error reporting. Update users. | |
14684 | (linux_disable_btrace): Change return type. Update users. | |
14685 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
14686 | New. | |
14687 | (btrace_error): New. | |
14688 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
14689 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
14690 | the current trace. | |
14691 | (btrace_stitch_trace, btrace_clear_history): New. | |
14692 | (btrace_fetch): Read delta trace, return if replaying. | |
14693 | (btrace_clear): Move clear history code to btrace_clear_history. | |
14694 | (parse_xml_btrace): Throw an error if parsing failed. | |
14695 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
14696 | and return type to allow error reporting. | |
14697 | (target_read_btrace): Change parameters and return type to allow | |
14698 | error reporting. | |
14699 | * target.c (target_read_btrace): Update. | |
14700 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
14701 | errors on. | |
14702 | * NEWS: Announce it. | |
14703 | ||
0b722aec MM |
14704 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14705 | ||
14706 | * record.h (record_btrace_frame_unwind) | |
14707 | (record_btrace_tailcall_frame_unwind): New declarations. | |
14708 | * dwarf2-frame: Include record.h | |
14709 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
14710 | * record-btrace.c: Include hashtab.h. | |
14711 | (btrace_get_bfun_name): New. | |
14712 | (btrace_call_history): Call btrace_get_bfun_name. | |
14713 | (struct btrace_frame_cache): New. | |
14714 | (bfcache): New. | |
14715 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
14716 | (btrace_get_frame_function): New. | |
14717 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
14718 | (record_btrace_frame_this_id): Compute own id. | |
14719 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
14720 | for all other registers. | |
14721 | (record_btrace_frame_sniffer): Detect btrace frames. | |
14722 | (record_btrace_tailcall_frame_sniffer): New. | |
14723 | (record_btrace_frame_dealloc_cache): New. | |
14724 | (record_btrace_frame_unwind): Add new functions. | |
14725 | (record_btrace_tailcall_frame_unwind): New. | |
14726 | (_initialize_record_btrace): Allocate cache. | |
14727 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
14728 | * NEWS: Announce it. | |
14729 | ||
066ce621 MM |
14730 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14731 | ||
14732 | * record-btrace.c (record_btrace_set_replay) | |
14733 | (record_btrace_goto_begin, record_btrace_goto_end) | |
14734 | (record_btrace_goto): New. | |
14735 | (init_record_btrace_ops): Initialize them. | |
14736 | * NEWS: Announce it. | |
14737 | ||
e2887aa3 MM |
14738 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14739 | ||
14740 | * record-btrace.c (record_btrace_find_new_threads) | |
14741 | (record_btrace_thread_alive): New. | |
14742 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
14743 | to_thread_alive. | |
14744 | ||
b2f4cfde MM |
14745 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14746 | ||
14747 | * record-btrace.c (record_btrace_resume): New. | |
14748 | (record_btrace_wait): New. | |
14749 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
14750 | ||
633785ff MM |
14751 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14752 | ||
14753 | * record-btrace.c (record_btrace_xfer_partial) | |
14754 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
14755 | (record_btrace_allow_memory_access): New. | |
14756 | (init_record_btrace_ops): Initialize new methods. | |
14757 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
14758 | that this memory is not available. | |
14759 | ||
3db08215 MM |
14760 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14761 | ||
14762 | * target.h (target_ops) <to_insert_breakpoint> | |
14763 | <to_remove_breakpoint>: Add target_ops parameter. | |
14764 | (forward_target_insert_breakpoint): New. | |
14765 | (forward_target_remove_breakpoint): New. | |
14766 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
14767 | Add target_ops parameter. | |
14768 | * target.c (target_insert_breakpoint): Split into this and ... | |
14769 | (forward_target_insert_breakpoint): ... this. | |
14770 | (target_remove_breakpoint): Split into this and ... | |
14771 | (forward_target_remove_breakpoint): ... this. | |
14772 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
14773 | Call forward_target_insert_breakpoint. | |
14774 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
14775 | Call forward_target_remove_breakpoint. | |
14776 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
14777 | and to_remove_breakpoint. | |
14778 | * corelow.c (ignore): Add target_ops parameter. | |
14779 | * exec.c (ignore): Add target_ops parameter. | |
14780 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
14781 | Add target_ops parameter. | |
14782 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
14783 | Add target_ops parameter. | |
14784 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
14785 | Add target_ops parameter. | |
14786 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
14787 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
14788 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
14789 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
14790 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
14791 | Update users. | |
14792 | (record_full_beneath_to_insert_breakpoint_ops) | |
14793 | (record_full_beneath_to_remove_breakpoint_ops) | |
14794 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
14795 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
14796 | tmp_to_remove_breakpoint_ops, | |
14797 | record_full_beneath_to_insert_breakpoint_ops, and | |
14798 | record_full_beneath_to_remove_breakpoint_ops. | |
14799 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
14800 | (m32r_remove_breakpoint): Add target_ops parameter. | |
14801 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
14802 | Add target_ops parameter. | |
14803 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
14804 | Add target_ops parameter. | |
14805 | ||
cecac1ab MM |
14806 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14807 | Markus Metzger <markus.t.metzger@intel.com> | |
14808 | ||
14809 | * record-btrace.c: Include frame-unwind.h. | |
14810 | (record_btrace_frame_unwind_stop_reason) | |
14811 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
14812 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
14813 | New. | |
14814 | (init_record_btrace_ops): Install it. | |
14815 | ||
824344ca MM |
14816 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14817 | ||
14818 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
14819 | get_prev_frame_1. | |
14820 | ||
32261e52 MM |
14821 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14822 | ||
14823 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
14824 | earlier. | |
14825 | ||
ea001bdc MM |
14826 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14827 | ||
14828 | * frame-unwind.c: Include target.h. | |
14829 | (frame_unwind_try_unwinder): New function with code from ... | |
14830 | (frame_unwind_find_by_frame): ... here. New variable | |
14831 | unwinder_from_target, call also target_get_unwinder) | |
14832 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
14833 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
14834 | * target.h (struct target_ops): New fields to_get_unwinder and | |
14835 | to_get_tailcall_unwinder. | |
14836 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
14837 | ||
1f3ef581 MM |
14838 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14839 | ||
14840 | * record-btrace.c (record_btrace_fetch_registers) | |
14841 | (record_btrace_store_registers) | |
14842 | (record_btrace_to_prepare_to_store): New. | |
14843 | (init_record_btrace_ops): Add the above. | |
14844 | ||
f32dbf8c MM |
14845 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
14846 | ||
14847 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
14848 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
14849 | argument. | |
14850 | (target_prepare_to_store): Add argument. | |
14851 | * target.c (debug_to_prepare_to_store): Add argument. | |
14852 | (update_current_target): Update. | |
14853 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
14854 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
14855 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
14856 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
14857 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
14858 | argument. | |
14859 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
14860 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
14861 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
14862 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
14863 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
14864 | ||
07bbe694 MM |
14865 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14866 | ||
14867 | * btrace.h (replay) <replay>: New. | |
14868 | (btrace_is_replaying): New. | |
14869 | * btrace.c (btrace_clear): Free replay iterator. | |
14870 | (btrace_is_replaying): New. | |
14871 | * record-btrace.c (record_btrace_is_replaying): New. | |
14872 | (record_btrace_info): Print insn number if replaying. | |
14873 | (record_btrace_insn_history): Start at replay position. | |
14874 | (record_btrace_call_history): Start at replay position. | |
14875 | (init_record_btrace_ops): Init to_record_is_replaying. | |
14876 | ||
0688d04e MM |
14877 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14878 | ||
14879 | * record-btrace.c (record_btrace_insn_history_range): Include | |
14880 | end. | |
14881 | (record_btrace_insn_history_from): Adjust range. | |
14882 | (record_btrace_call_history_range): Include | |
14883 | end. | |
14884 | (record_btrace_call_history_from): Adjust range. | |
14885 | * NEWS: Announce changes. | |
14886 | ||
8710b709 MM |
14887 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14888 | ||
14889 | * record.h (enum record_print_flag) | |
14890 | <record_print_indent_calls>: New. | |
14891 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
14892 | (_initialize_record): Document /c modifier. | |
14893 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
14894 | Reorder fields. Optionally indent the function name. Update | |
14895 | all users. | |
14896 | * NEWS: Announce changes. | |
14897 | ||
d0fa7535 MM |
14898 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14899 | ||
14900 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
14901 | ||
5de9129b MM |
14902 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14903 | ||
14904 | * btrace.c (ftrace_new_function): Start counting at one. | |
14905 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
14906 | and insns. | |
14907 | * NEWS: Announce it. | |
14908 | ||
7acbe133 MM |
14909 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14910 | ||
14911 | * record-btrace.c (btrace_call_history_insn_range): Print | |
14912 | insn range as [begin, end]. | |
14913 | ||
23a7fe75 MM |
14914 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14915 | ||
14916 | * btrace.h (struct btrace_func_link): New. | |
14917 | (enum btrace_function_flag): New. | |
14918 | (struct btrace_inst): Rename to ... | |
14919 | (struct btrace_insn): ...this. Update all users. | |
14920 | (struct btrace_func) <ibegin, iend>: Remove. | |
14921 | (struct btrace_func_link): New. | |
14922 | (struct btrace_func): Rename to ... | |
14923 | (struct btrace_function): ...this. Update all users. | |
14924 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
14925 | (number, level, flags>: New. | |
14926 | (struct btrace_insn_iterator): Rename to ... | |
14927 | (struct btrace_insn_history): ...this. | |
14928 | Update all users. | |
14929 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
14930 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
14931 | (struct btrace_target_info) <begin, end, level> | |
14932 | <insn_history, call_history>: New. | |
14933 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
14934 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
14935 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
14936 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
14937 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
14938 | (btrace_find_function_by_number, btrace_set_insn_history) | |
14939 | (btrace_set_call_history): New. | |
14940 | * btrace.c (btrace_init_insn_iterator) | |
14941 | (btrace_init_func_iterator, compute_itrace): Remove. | |
14942 | (ftrace_print_function_name, ftrace_print_filename) | |
14943 | (ftrace_skip_file): Change | |
14944 | parameter to const. | |
14945 | (ftrace_init_func): Remove. | |
14946 | (ftrace_debug): Use new btrace_function fields. | |
14947 | (ftrace_function_switched): Also consider gaining and | |
14948 | losing symbol information). | |
14949 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
14950 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
14951 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
14952 | New. | |
14953 | (ftrace_new_function): Move. Remove debug print. | |
14954 | (ftrace_update_lines, ftrace_update_insns): New. | |
14955 | (ftrace_update_function): Check for call, ret, and jump. | |
14956 | (compute_ftrace): Renamed to ... | |
14957 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
14958 | stack. | |
14959 | (btrace_fetch, btrace_clear): Updated. | |
14960 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
14961 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
14962 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
14963 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
14964 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
14965 | (btrace_find_function_by_number, btrace_set_insn_history) | |
14966 | (btrace_set_call_history): New. | |
14967 | * record-btrace.c (require_btrace): Use new btrace thread | |
14968 | info fields. | |
14969 | (record_btrace_info, btrace_insn_history) | |
14970 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
14971 | Use new btrace thread info fields and new iterator. | |
14972 | (btrace_func_history_src_line): Rename to ... | |
14973 | (btrace_call_history_src_line): ...this. Use new btrace | |
14974 | thread info fields. | |
14975 | (btrace_func_history): Rename to ... | |
14976 | (btrace_call_history): ...this. Use new btrace thread info | |
14977 | fields and new iterator. | |
14978 | (record_btrace_call_history, record_btrace_call_history_range): | |
14979 | Use new btrace thread info fields and new iterator. | |
14980 | ||
8372a7cb MM |
14981 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14982 | ||
14983 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
14984 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
14985 | ||
c2170eef MM |
14986 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14987 | ||
14988 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
14989 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
14990 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
14991 | to gdbarch. | |
14992 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
14993 | (i386_insn_is_jump, i386_jmp_p): New. | |
14994 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
14995 | insn_is_jump to gdbarch. | |
14996 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
14997 | * gdbarch.h: Regenerated. | |
14998 | * gdbarch.c: Regenerated. | |
14999 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
15000 | (default_insn_is_jump): New. | |
15001 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
15002 | (default_insn_is_jump): New. | |
15003 | ||
864089d2 MM |
15004 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15005 | ||
15006 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
15007 | Change to ... | |
15008 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
15009 | (btrace_read_type) <btrace_read_new>: Change to ... | |
15010 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
15011 | ||
ed9edfb5 MM |
15012 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15013 | ||
15014 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
15015 | previous iteration. | |
15016 | ||
fbcbc3fd DE |
15017 | 2014-01-15 Doug Evans <dje@google.com> |
15018 | ||
15019 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
15020 | uint32_t. | |
15021 | ||
3d548a53 TT |
15022 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15023 | ||
15024 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
15025 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
15026 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
15027 | (set_objfile_main_name): New function. | |
15028 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
15029 | language_of_main>: New fields. | |
15030 | (set_objfile_main_name): Declare. | |
15031 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
15032 | name and language. | |
15033 | (set_main_name): Now static. | |
15034 | (get_main_info): Add comment. | |
15035 | * symtab.h (set_main_name): Don't declare. | |
15036 | ||
32ac0d11 TT |
15037 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15038 | ||
15039 | * symtab.c (main_progspace_key): New global. | |
15040 | (struct main_info): New. | |
15041 | (name_of_main, language_of_main): Remove. | |
15042 | (get_main_info, main_info_cleanup): New function. | |
15043 | (set_main_name, main_name, main_language): Use get_main_info. | |
15044 | (_initialize_symtab): Initialize main_progspace_key. | |
15045 | ||
9e6c82ad TT |
15046 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15047 | ||
15048 | * dbxread.c (process_one_symbol): Update. | |
15049 | * dwarf2read.c (read_partial_die): Update. | |
15050 | * symfile.c (set_initial_language): Call main_language. | |
15051 | * symtab.c (language_of_main): Now static. | |
15052 | (set_main_name): Add 'lang' parameter. | |
15053 | (find_main_name): Update. | |
15054 | (main_language): New function. | |
15055 | (symtab_observer_executable_changed): Update. | |
15056 | * symtab.h (set_main_name): Update. | |
15057 | (language_of_main): Remove. | |
15058 | (main_language): Declare. | |
15059 | ||
6ef55de7 TT |
15060 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15061 | ||
15062 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
15063 | Update. | |
15064 | * objfiles.h (struct entry_point) <initialized>: New field. | |
15065 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
15066 | (struct objfile) <ei>: ...here. Remove. | |
15067 | * objfiles.c (entry_point_address_query): Update. | |
15068 | ||
53eddfa6 TT |
15069 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15070 | ||
15071 | * objfiles.c (entry_point_address_query): Relocate entry point | |
15072 | address. | |
15073 | (objfile_relocate1): Do not relocate entry point address. | |
15074 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
15075 | <the_bfd_section_index>: New field. | |
15076 | * symfile.c (init_entry_point_info): Find the entry point's | |
15077 | section. | |
15078 | ||
d56e56aa TT |
15079 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15080 | ||
15081 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
15082 | ||
33a97bbe OJ |
15083 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15084 | ||
15085 | * NEWS: Add note on improved process record-replay on | |
15086 | arm*-linux* targets. | |
15087 | ||
c6ec2b30 OJ |
15088 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15089 | ||
15090 | * arm-tdep.c (enum arm_record_result): New enum. | |
15091 | (arm_record_unsupported_insn): New function. | |
15092 | (arm_record_coproc_data_proc): Removed. | |
15093 | (thumb2_record_ld_st_multiple): New function. | |
15094 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
15095 | (thumb2_record_data_proc_sreg_mimm): New function. | |
15096 | (thumb2_record_ps_dest_generic): New function. | |
15097 | (thumb2_record_branch_misc_cntrl): New function. | |
15098 | (thumb2_record_str_single_data): New function. | |
15099 | (thumb2_record_ld_mem_hints): New function. | |
15100 | (thumb2_record_ld_word): New function. | |
15101 | (thumb2_record_lmul_lmla_div): New function. | |
15102 | (thumb2_record_decode_insn_handler): New function. | |
15103 | (decode_insn): Add thumb32 instruction handlers. | |
15104 | ||
97dfe206 OJ |
15105 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15106 | ||
15107 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
15108 | (struct arm_linux_record_tdep): Declare. | |
15109 | (arm_canonicalize_syscall): New function. | |
15110 | (arm_all_but_pc_registers_record): New function. | |
15111 | (arm_linux_syscall_record): New function. | |
15112 | (arm_linux_init_abi): Add syscall recording constructs. | |
15113 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
15114 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
15115 | decoding. | |
15116 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
15117 | <arm_syscall_record>: New field. | |
15118 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
15119 | gdb_target_obs. | |
15120 | ||
9904a494 OJ |
15121 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15122 | ||
15123 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
15124 | register for push instruction recording. | |
15125 | ||
f969241e OJ |
15126 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15127 | ||
15128 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
15129 | error while recording ldm, ldmia and pop instructions. | |
15130 | ||
bfbbec00 OJ |
15131 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15132 | ||
15133 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
15134 | ||
e40adcc9 PA |
15135 | 2014-01-15 Pedro Alves <palves@redhat.com> |
15136 | ||
15137 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
15138 | (go32_resume, go32_fetch_registers, store_register) | |
15139 | (go32_store_registers, go32_prepare_to_store) | |
15140 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
15141 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
15142 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
15143 | declarations. | |
15144 | ||
b0a16e66 TT |
15145 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15146 | ||
15147 | * target.h (async_callback_ftype): New typedef. | |
15148 | (struct target_ops) <to_async>: Use it. | |
15149 | ||
bf7105a4 JB |
15150 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
15151 | ||
15152 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
15153 | braces for single-statement if block. | |
15154 | ||
a8f35c2e JB |
15155 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
15156 | ||
15157 | * python/py-type.c (convert_field): Add missing empty line | |
15158 | after declarations. | |
15159 | ||
bb4142cf DE |
15160 | 2014-01-14 Doug Evans <dje@google.com> |
15161 | ||
15162 | * symfile.h (expand_symtabs_matching): Renamed from | |
15163 | expand_partial_symbol_names. Update prototype. | |
15164 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15165 | * symfile.c (expand_symtabs_matching): Renamed from | |
15166 | expand_partial_symbol_names. New args file_matcher, kind. | |
15167 | Rename arg fun to symbol_matcher. | |
15168 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15169 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
15170 | ada_expand_partial_symbol_name. | |
15171 | (ada_make_symbol_completion_list): Update to call | |
15172 | expand_symtabs_matching. | |
15173 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
15174 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
15175 | call map_symbol_filenames. | |
15176 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
15177 | (search_symbols): Call expand_symtabs_matching. | |
15178 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
15179 | (default_make_symbol_completion_list_break_on): Update to call | |
15180 | expand_symtabs_matching. | |
15181 | (make_source_files_completion_list): Update to call | |
15182 | map_symbol_filenames. | |
15183 | ||
206f2a57 DE |
15184 | 2014-01-14 Doug Evans <dje@google.com> |
15185 | ||
15186 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
15187 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
15188 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
15189 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15190 | * symfile.c (expand_partial_symbol_names): Update to use | |
15191 | expand_symtabs_symbol_matcher_ftype. | |
15192 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
15193 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15194 | Arg name_matcher renamed to symbol_matcher. | |
15195 | * psymtab.c (recursively_search_psymtabs): Update to use | |
15196 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
15197 | sym_matcher. | |
15198 | (expand_symtabs_matching_via_partial): Update to use | |
15199 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15200 | Arg name_matcher renamed to symbol_matcher. | |
15201 | ||
540c2971 DE |
15202 | 2014-01-14 Doug Evans <dje@google.com> |
15203 | ||
15204 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
15205 | (map_partial_symbol_filenames): Ditto. | |
15206 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
15207 | (map_partial_symbol_filenames): Ditto. | |
15208 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
15209 | (map_partial_symbol_filenames): Ditto. | |
15210 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
15211 | (map_partial_symbol_filenames): Ditto. | |
15212 | * symtab.c: Delete #include "psymtab.h". | |
15213 | ||
8213266a PA |
15214 | 2014-01-14 Pedro Alves <palves@redhat.com> |
15215 | Tom Tromey <tromey@redhat.com> | |
15216 | ||
15217 | * infrun.c (use_displaced_stepping): Use find_record_target | |
15218 | instead of RECORD_IS_USED. | |
15219 | (adjust_pc_after_break): Use record_full_is_used instead of | |
15220 | RECORD_IS_USED. | |
15221 | * record-btrace.c (record_btrace_open): Call record_preopen | |
15222 | instead of checking RECORD_IS_USED. | |
15223 | * record-full.c (record_full_shortname) | |
15224 | (record_full_core_shortname): New globals. | |
15225 | (record_full_is_used): New function. | |
15226 | (find_full_open): Call record_preopen instead of checking | |
15227 | RECORD_IS_USED. | |
15228 | (init_record_full_ops): Set the target's shortname to | |
15229 | record_full_shortname. | |
15230 | (init_record_full_core_ops): Set the target's shortname to | |
15231 | record_full_core_shortname. | |
15232 | * record-full.h (record_full_is_used): Declare. | |
15233 | * record.c (find_record_target): Make extern. | |
15234 | (record_preopen): New function. | |
15235 | * record.h (RECORD_IS_USED): Delete macro. | |
15236 | (find_record_target, record_preopen): Declare functions. | |
15237 | ||
7ec1862d YQ |
15238 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15239 | ||
15240 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
15241 | 'len''s type to ULONGEST. | |
15242 | (core_xfer_shared_libraries_aix): Likewise. | |
15243 | * gdbarch.c, gdbarch.h: Regenerated. | |
15244 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
15245 | Change type of 'len' to ULONGEST. | |
15246 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
15247 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
15248 | ||
dea80a27 YQ |
15249 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15250 | ||
15251 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
15252 | type of 'len' to ULONGEST. | |
15253 | (linux_xfer_osdata_processgroups): Likewise. | |
15254 | (linux_xfer_osdata_threads): Likewise. | |
15255 | (linux_xfer_osdata_fds): Likewise. | |
15256 | (linux_xfer_osdata_isockets): Likewise. | |
15257 | (linux_xfer_osdata_shm): Likewise. | |
15258 | (linux_xfer_osdata_sem): Likewise. | |
15259 | (linux_xfer_osdata_msg): Likewise. | |
15260 | (linux_common_xfer_osdata): Likewise. | |
15261 | (struct osdata_type) <getter>: Likewise. | |
15262 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
15263 | the declaration. | |
15264 | ||
b55e14c7 YQ |
15265 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15266 | ||
15267 | * target.h (target_xfer_partial_ftype): Update. | |
15268 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
15269 | ULONGEST. | |
15270 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
15271 | argument 'len' to ULONGEST. | |
15272 | * auxv.c (procfs_xfer_auxv): Likewise. | |
15273 | (ld_so_xfer_auxv): Likewise. | |
15274 | (memory_xfer_auxv): Likewise. | |
15275 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
15276 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
15277 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
15278 | * corelow.c (core_xfer_partial): Likewise. | |
15279 | * ctf.c (ctf_xfer_partial): Likewise. | |
15280 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
15281 | '%u'. | |
15282 | (darwin_read_dyld_info): Likewise. | |
15283 | (darwin_xfer_partial): Likewise. | |
15284 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
15285 | (exec_xfer_partial): Likewise. | |
15286 | * exec.h (section_table_xfer_memory_partial): Update | |
15287 | declaration. | |
15288 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
15289 | instead of plongest. | |
15290 | (gnu_xfer_partial): Likewise. | |
15291 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
15292 | (ia64_hpux_xfer_solib_got): Likewise. | |
15293 | (ia64_hpux_xfer_partial): Likewise. | |
15294 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
15295 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
15296 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
15297 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
15298 | (linux_nat_xfer_partial): Likewise. | |
15299 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
15300 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
15301 | * monitor.c (monitor_xfer_memory): Likewise. | |
15302 | (monitor_xfer_partial): Likewise. | |
15303 | * procfs.c (procfs_xfer_partial): Likewise. | |
15304 | * record-full.c (record_full_xfer_partial): Likewise. | |
15305 | (record_full_core_xfer_partial): Likewise. | |
15306 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
15307 | instead of plongest. | |
15308 | (gdbsim_xfer_partial): Likewise. | |
15309 | * remote.c (remote_xfer_partial): Likewise. | |
15310 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
15311 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
15312 | declaration. | |
15313 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
15314 | (rs6000_xfer_shared_libraries): Likewise. | |
15315 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
15316 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
15317 | (sparc_xfer_partial): Likewise. | |
15318 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
15319 | (spu_xfer_partial): Likewise. | |
15320 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
15321 | * target.c (target_read_live_memory): Likewise. | |
15322 | (memory_xfer_live_readonly_partial): Likewise. | |
15323 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
15324 | (target_xfer_partial, default_xfer_partial): Likewise. | |
15325 | (current_xfer_partial): Likewise. | |
15326 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
15327 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
15328 | pulongest instead of plongest. | |
15329 | (windows_xfer_partial): Likewise. | |
15330 | (windows_xfer_shared_libraries): Likewise. | |
15331 | ||
05804640 YQ |
15332 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15333 | ||
15334 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
15335 | target_xfer_partial_ftype. | |
15336 | ||
b5b08fb4 SC |
15337 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
15338 | ||
15339 | PR python/15464 | |
15340 | PR python/16113 | |
15341 | * valops.c (value_struct_elt_bitpos): New function | |
15342 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
15343 | object to 'None' if the field name is an empty string (""). | |
15344 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
15345 | attribute to look for a field when 'name' is 'None'. | |
15346 | (get_field_type): New function | |
15347 | ||
13aaf454 DE |
15348 | 2014-01-13 Doug Evans <dje@google.com> |
15349 | ||
15350 | PR symtab/16426 | |
15351 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
15352 | (try_open_dwop_file): Ditto. | |
15353 | * gdb_bfd.c: #include "vec.h". | |
15354 | (bfdp): New typedef. | |
15355 | (struct gdb_bfd_data): New member included_bfds. | |
15356 | (gdb_bfd_unref): Unref all included bfds. | |
15357 | (gdb_bfd_record_inclusion): New function. | |
15358 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
15359 | ||
c2cec97c TT |
15360 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15361 | ||
15362 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
15363 | ||
78e5999d TT |
15364 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15365 | ||
15366 | * defs.h (use_windows): Remove. | |
15367 | * gdb.c (main): Update. | |
15368 | * main.c (captured_main, gdb_main): Update. | |
15369 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
15370 | * top.c (use_windows): Remove. | |
15371 | ||
f2052bbe TT |
15372 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15373 | ||
15374 | * defs.h (deprecated_flush_hook): Remove. | |
15375 | ||
fde4f8ed JK |
15376 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
15377 | ||
15378 | PR threads/16216 | |
15379 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
15380 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
15381 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
15382 | (try_thread_db_load_from_sdir): Update caller. | |
15383 | (try_thread_db_load_from_dir): Move it there from here. | |
15384 | ||
bdf61915 PP |
15385 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
15386 | ||
15387 | * regformats/regdat.sh: Always rewrite the register file. | |
15388 | ||
f71e1a8d PA |
15389 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15390 | ||
15391 | * Makefile.in (CHECK_HEADERS): New variable. | |
15392 | (check-headers:): New rule. | |
15393 | ||
42c85435 TT |
15394 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15395 | ||
15396 | * cli/cli-setshow.c (do_set_command): Update. | |
15397 | * defs.h (deprecated_set_hook): Remove. | |
15398 | * top.c (deprecated_set_hook): Remove. | |
15399 | ||
f8de5129 PA |
15400 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15401 | ||
15402 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
15403 | the tracepoint if the PC is a pseudo-register. | |
15404 | ||
fc270c35 TT |
15405 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15406 | ||
15407 | * defs.h (XCALLOC): Remove. | |
15408 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
15409 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
15410 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15411 | * elfread.c (elf_symfile_segments): Likewise. | |
15412 | (elf_symfile_segments): Likewise. | |
15413 | * gdbtypes.c (copy_type_recursive): Likewise. | |
15414 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
15415 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
15416 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
15417 | XCALLOC. | |
15418 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
15419 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
15420 | XCALLOC. | |
15421 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
15422 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
15423 | * registry.c (registry_alloc_data): Likewise. | |
15424 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
15425 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
15426 | * serial.c (serial_fdopen_ops): Likewise. | |
15427 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
15428 | XCALLOC. | |
15429 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
15430 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
15431 | not XCALLOC. | |
15432 | ||
70ba0933 TT |
15433 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15434 | ||
15435 | * defs.h (XMALLOC): Remove. | |
15436 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
15437 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
15438 | * cli-out.c (struct ui_out *): Likewise. | |
15439 | * cli/cli-dump.c (add_dump_command): Likewise. | |
15440 | (add_dump_command): Likewise. | |
15441 | * complaints.c (get_complaints): Likewise. | |
15442 | (find_complaint): Likewise. | |
15443 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
15444 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
15445 | * gdbarch.sh: Likewise. | |
15446 | * gdbarch.c: Rebuild. | |
15447 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
15448 | * interps.c (interp_new): Likewise. | |
15449 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
15450 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
15451 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
15452 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
15453 | * mi/mi-out.c (mi_out_new): Likewise. | |
15454 | * mi/mi-parse.c (mi_parse): Likewise. | |
15455 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
15456 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
15457 | * observer.c (xalloc_observer_list_node): Likewise. | |
15458 | * regcache.c (regcache_xmalloc_1): Likewise. | |
15459 | * reggroups.c (reggroup_new): Likewise. | |
15460 | (_initialize_reggroup): Likewise. | |
15461 | * registry.c (register_data_with_cleanup): Likewise. | |
15462 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
15463 | * ser-base.c (serial_ttystate): Likewise. | |
15464 | * ser-mingw.c (make_pipe_state): Likewise. | |
15465 | * ser-pipe.c (pipe_open): Likewise. | |
15466 | * serial.c (serial_open): Likewise. | |
15467 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
15468 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
15469 | (tui_alloc_win_info): Likewise. | |
15470 | (tui_add_content_elements): Likewise. | |
15471 | * tui/tui-file.c (tui_file_new): Likewise. | |
15472 | * tui/tui-out.c (tui_out_new): Likewise. | |
15473 | * ui-file.c (mem_file_new): Likewise. | |
15474 | * ui-out.c (push_level): Likewise. | |
15475 | (make_cleanup_ui_out_end): Likewise. | |
15476 | (append_header_to_list): Likewise. | |
15477 | (ui_out_new): Likewise. | |
15478 | * user-regs.c (user_reg_add_builtin): Likewise. | |
15479 | ||
41bf6aca TT |
15480 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15481 | ||
15482 | * defs.h (XZALLOC): Remove. | |
15483 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
15484 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
15485 | (get_ada_tasks_inferior_data): Likewise. | |
15486 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
15487 | * auxv.c (get_auxv_inferior_data): Likewise. | |
15488 | * bfd-target.c (target_bfd_reopen): Likewise. | |
15489 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
15490 | (deprecated_insert_raw_breakpoint): Likewise. | |
15491 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
15492 | * corelow.c (core_open): Likewise. | |
15493 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
15494 | (darwin_attach_pid): Likewise. | |
15495 | * dummy-frame.c (dummy_frame_push): Likewise. | |
15496 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
15497 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15498 | * elfread.c (elf_symfile_segments): Likewise. | |
15499 | * eval.c (ptrmath_type_p): Likewise. | |
15500 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
15501 | * gdbtypes.c (alloc_type_arch): Likewise. | |
15502 | (alloc_type_instance): Likewise. | |
15503 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
15504 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
15505 | * inflow.c (get_inflow_inferior_data): Likewise. | |
15506 | * infrun.c (save_infcall_suspend_state): Likewise. | |
15507 | * jit.c (jit_reader_load): Likewise. | |
15508 | (get_jit_objfile_data): Likewise. | |
15509 | (get_jit_program_space_data): Likewise. | |
15510 | (jit_object_open_impl): Likewise. | |
15511 | (jit_symtab_open_impl): Likewise. | |
15512 | (jit_block_open_impl): Likewise. | |
15513 | (jit_frame_sniffer): Likewise. | |
15514 | * linux-fork.c (add_fork): Likewise. | |
15515 | * maint.c (make_command_stats_cleanup): Likewise. | |
15516 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
15517 | * opencl-lang.c (struct lval_closure): Likewise. | |
15518 | * osdata.c (osdata_start_osdata): Likewise. | |
15519 | * progspace.c (new_address_space): Likewise. | |
15520 | (add_program_space): Likewise. | |
15521 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
15522 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
15523 | * skip.c (Ignore): Likewise. | |
15524 | (skip_delete_command): Likewise. | |
15525 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
15526 | (library_list_start_library): Likewise. | |
15527 | (solib_aix_current_sos): Likewise. | |
15528 | * solib-darwin.c (get_darwin_info): Likewise. | |
15529 | (darwin_current_sos): Likewise. | |
15530 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
15531 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
15532 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
15533 | * solib-spu.c (append_ocl_sos): Likewise. | |
15534 | (spu_current_sos): Likewise. | |
15535 | * solib-svr4.c (get_svr4_info): Likewise. | |
15536 | (svr4_keep_data_in_core): Likewise. | |
15537 | (library_list_start_library): Likewise. | |
15538 | (svr4_default_sos): Likewise. | |
15539 | (svr4_read_so_list): Likewise. | |
15540 | * solib-target.c (library_list_start_library): Likewise. | |
15541 | (solib_target_current_sos): Likewise. | |
15542 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
15543 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
15544 | * symfile.c (default_symfile_segments): Likewise. | |
15545 | * target-descriptions.c (tdesc_data_init): Likewise. | |
15546 | (tdesc_create_reg): Likewise. | |
15547 | (struct tdesc_type *): Likewise. | |
15548 | (tdesc_create_vector): Likewise. | |
15549 | (tdesc_set_struct_size): Likewise. | |
15550 | (struct tdesc_type *): Likewise. | |
15551 | (tdesc_free_feature): Likewise. | |
15552 | (tdesc_create_feature): Likewise. | |
15553 | * windows-nat.c (windows_add_thread): Likewise. | |
15554 | (windows_make_so): Likewise. | |
15555 | * xml-support.c (gdb_xml_body_text): Likewise. | |
15556 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
15557 | (xml_process_xincludes): Likewise. | |
15558 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
15559 | (syscall_create_syscall_desc): Likewise. | |
15560 | ||
5acfdbae SDJ |
15561 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
15562 | ||
15563 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
15564 | function, with code from i386_stap_parse_special_token. | |
15565 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
15566 | (i386_stap_parse_special_token): Move code to the two functions | |
15567 | above; simplify it. | |
15568 | ||
0000e5cc PA |
15569 | 2014-01-09 Pedro Alves <palves@redhat.com> |
15570 | Hui Zhu <hui@codesourcery.com> | |
15571 | ||
15572 | PR gdb/16101 | |
15573 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
15574 | bp_err_string. Don't mark the location shlib_disabled if the | |
15575 | error thrown wasn't a generic or memory error. Catch errors | |
15576 | thrown while inserting breakpoints in overlayed code. Output | |
15577 | error message of software breakpoints. | |
15578 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
15579 | target-side commands but this stub doesn't support Z0 packets, | |
15580 | throw NOT_SUPPORTED_ERROR error. | |
15581 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
15582 | * target.h (target_insert_breakpoint): Extend comment. | |
15583 | (target_insert_hw_breakpoint): Add comment. | |
15584 | ||
b7ea362b PA |
15585 | 2014-01-08 Pedro Alves <palves@redhat.com> |
15586 | ||
15587 | * remote.c (remote_add_thread): Add threads silently if starting | |
15588 | up. | |
15589 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
15590 | don't call notice_new_inferior. | |
15591 | (get_current_thread): New function, factored out from ... | |
15592 | (add_current_inferior_and_thread): ... this. Adjust. | |
15593 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
15594 | found any thread, then select the remote's current thread as GDB's | |
15595 | current thread too. | |
15596 | ||
b7bba001 JB |
15597 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
15598 | ||
15599 | * NEWS: Create a new section for the next release branch. | |
15600 | Rename the section of the current branch, now that it has | |
15601 | been cut. | |
15602 | ||
16dfbded JB |
15603 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
15604 | ||
15605 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
15606 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
15607 | ||
22c90ac1 YQ |
15608 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
15609 | ||
15610 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
15611 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
15612 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
15613 | ||
d64ad97c YQ |
15614 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
15615 | ||
15616 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
15617 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
15618 | ||
f93ba80c PM |
15619 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
15620 | ||
15621 | Fix PR16201. | |
15622 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
15623 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
15624 | to prim_record_mininal_symbol_and_info. | |
15625 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
15626 | in call to prim_record_minimal_symbol_and_info. | |
15627 | (read_pe_exported_syms): Set index field of section_data. | |
15628 | ||
a4d9ba85 AP |
15629 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
15630 | ||
15631 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
15632 | * features/aarch64.c: Regenerate. | |
15633 | ||
1b67eb02 AS |
15634 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
15635 | ||
15636 | * target.c (return_null): Define. | |
15637 | (update_current_target): Use it instead of return_zero for | |
15638 | functions that return a pointer. | |
15639 | ||
5e3f4fab EBM |
15640 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
15641 | ||
15642 | * source.c (add_path): Fix check for duplicated paths in the previously | |
15643 | included paths. | |
15644 | ||
e2616788 HK |
15645 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
15646 | ||
15647 | * ada-lang.c: Remove duplicated include statements. | |
15648 | * alphabsd-nat.c: Ditto. | |
15649 | * amd64-darwin-tdep.c: Ditto. | |
15650 | * amd64fbsd-nat.c: Ditto. | |
15651 | * auto-load.c: Ditto. | |
15652 | * ax-gdb.c: Ditto. | |
15653 | * breakpoint.c: Ditto. | |
15654 | * dbxread.c: Ditto. | |
15655 | * fork-child.c: Ditto. | |
15656 | * gdb_usleep.c: Ditto. | |
15657 | * i386-darwin-tdep.c: Ditto. | |
15658 | * i386fbsd-nat.c: Ditto. | |
15659 | * infcmd.c: Ditto. | |
15660 | * inferior.c: Ditto. | |
15661 | * jv-lang.c: Ditto. | |
15662 | * linux-nat.c: Ditto. | |
15663 | * linux-tdep.c: Ditto. | |
15664 | * m68kbsd-nat.c: Ditto. | |
15665 | * m68klinux-nat.c: Ditto. | |
15666 | * microblaze-tdep.c: Ditto. | |
15667 | * mips-linux-tdep.c: Ditto. | |
15668 | * mn10300-tdep.c: Ditto. | |
15669 | * nto-tdep.c: Ditto. | |
15670 | * opencl-lang.c: Ditto. | |
15671 | * osdata.c: Ditto. | |
15672 | * printcmd.c: Ditto. | |
15673 | * regcache.c: Ditto. | |
15674 | * remote-m32r-sdi.c: Ditto. | |
15675 | * remote.c: Ditto. | |
15676 | * symfile.c: Ditto. | |
15677 | * symtab.c: Ditto. | |
15678 | * tilegx-linux-nat.c: Ditto. | |
15679 | * tilegx-tdep.c: Ditto. | |
15680 | * tracepoint.c: Ditto. | |
15681 | * valops.c: Ditto. | |
15682 | * vaxbsd-nat.c: Ditto. | |
15683 | * windows-nat.c: Ditto. | |
15684 | * xtensa-tdep.c: Ditto. | |
15685 | ||
bd1f7788 YQ |
15686 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15687 | ||
15688 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
15689 | ||
79301218 JB |
15690 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15691 | Joel Brobecker <brobecker@adacore.com> | |
15692 | ||
15693 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
15694 | (pdc_write_regs): Likewise. | |
15695 | (fetch_regs_kernel_thread): Likewise. | |
15696 | (store_regs_kernel_thread): Likewise. | |
15697 | ||
15698 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
15699 | ||
15700 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
15701 | tagged type objects to their actual type. | |
15702 | ||
8e355c5d JB |
15703 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15704 | ||
15705 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
15706 | Update calls to print_field_values and print_variant_part. | |
15707 | Pass new parameter "language" in call to val_print instead | |
15708 | of "current_language". Replace call to ada_val_print by call | |
15709 | to val_print. | |
15710 | (print_variant_part): Add "language" parameter. | |
15711 | (ada_val_print_struct_union): Update call to print_field_values. | |
15712 | ||
4fbf5aa5 JB |
15713 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15714 | ||
15715 | * ada-valprint.c (ui_memcpy): Delete. | |
15716 | (ada_print_floating): Update documentation. Add empty line | |
15717 | between between function documentation and implementation. | |
15718 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
15719 | ui_file_put. Minor adjustments following this change. | |
15720 | ||
71855601 JB |
15721 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15722 | ||
15723 | * ada-valprint.c (ada_val_print_string): New function, | |
15724 | extracted from ada_val_print_array. | |
15725 | (ada_val_print_array): Replace extracted code by call | |
15726 | to ada_val_print_string followed by a return. Move | |
15727 | "else" branch to the function's top block. | |
15728 | ||
4eb27a30 JB |
15729 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15730 | ||
15731 | * ada-valprint.c (ada_val_print_array): Move implementation | |
15732 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
15733 | and "original_value" respectively. Add parameter "offset". | |
15734 | ||
34b27950 JB |
15735 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15736 | ||
15737 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
15738 | re-organizing the code. Change the "???" message printed | |
15739 | when target type is a TYPE_CODE_UNDEF into | |
15740 | "<ref to undefined type>". | |
15741 | ||
079e4591 JB |
15742 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15743 | ||
15744 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
15745 | (ada_val_print_struct_union): ... here. Remove call to | |
15746 | ada_check_typedef in inlined implementation. | |
15747 | ||
8004dfd1 JB |
15748 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15749 | ||
15750 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
15751 | extracted from ada_val_print_1; | |
15752 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
15753 | (ada_val_print_flt, ada_val_print_struct_union) | |
15754 | (ada_val_print_ref): Likewise. | |
15755 | (ada_val_print_1): Delete variables i and elttype. | |
15756 | Replace extracted-out code by call to corresponding | |
15757 | new functions. | |
15758 | ||
760a2db0 JB |
15759 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15760 | ||
15761 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
15762 | ||
3a92c861 JB |
15763 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15764 | ||
15765 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
15766 | ada_val_print_1 by calls to val_print. | |
15767 | ||
cd1630f9 JB |
15768 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15769 | ||
15770 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
15771 | Update calls to self accordingly. Replace calls to c_val_print | |
15772 | by calls to val_print. | |
15773 | ||
bdf779a0 JB |
15774 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15775 | ||
15776 | * ada-valprint.c (print_record): Delete declaration. | |
15777 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
15778 | (ada_val_print): Move function implementation down. | |
15779 | (print_variant_part, print_field_values, print_record): | |
15780 | Move function implementation up. | |
15781 | ||
c0d48811 JB |
15782 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15783 | ||
15784 | * python/py-type.c (typy_get_name): New function. | |
15785 | (type_object_getset): Add entry for attribute "name". | |
15786 | * NEWS: Add entry mentioning this new attribute. | |
15787 | ||
c26e9cbb YQ |
15788 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15789 | ||
15790 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
15791 | statement. | |
15792 | ||
0cc6f43d YQ |
15793 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15794 | ||
15795 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
15796 | argument args. | |
15797 | ||
eec03155 YQ |
15798 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15799 | ||
15800 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
15801 | ||
f04a82ef YQ |
15802 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15803 | ||
15804 | * gnu-nat.c (make_inf) Update declaration. | |
15805 | (make_inf): Make it static. | |
15806 | (inf_set_traced): Likewise. | |
15807 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
15808 | ||
d57dda0a YQ |
15809 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15810 | ||
15811 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
15812 | ||
3aa8c969 YQ |
15813 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15814 | ||
15815 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
15816 | ||
94123b4f YQ |
15817 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15818 | ||
15819 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
15820 | 'enum bfd_endian'. | |
15821 | (struct gdbarch_info) <byte_order>: Change type to | |
15822 | 'enum bfd_endian'. | |
15823 | <byte_order_for_code>: Likewise. | |
15824 | * gdbarch.c, gdbarch.h: Regenerated. | |
15825 | ||
dc81d70a TT |
15826 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
15827 | ||
15828 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
15829 | ||
cc2f3c35 TT |
15830 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
15831 | ||
15832 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
15833 | CONST. | |
15834 | * somread.c (som_symtab_read): Likewise. | |
15835 | ||
adcf2eed HZ |
15836 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
15837 | ||
15838 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
15839 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
15840 | (gdb_bfd_fopen): Ditto. | |
15841 | (gdb_bfd_openr): Ditto. | |
15842 | (gdb_bfd_openw): Ditto. | |
15843 | (gdb_bfd_openr_iovec): Ditto. | |
15844 | (gdb_bfd_fdopenr): Ditto. | |
15845 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
15846 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
15847 | with xstrdup. | |
15848 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
15849 | with xstrdup. | |
15850 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
15851 | gdb_bfd_stash_filename. | |
15852 | ||
50722198 DE |
15853 | 2014-01-03 Doug Evans <dje@google.com> |
15854 | ||
15855 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
15856 | output. | |
15857 | ||
2fa4b862 JB |
15858 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
15859 | ||
15860 | Update year range in copyright notice of all files. | |
15861 | ||
28498c42 JB |
15862 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
15863 | ||
15864 | * top.c (print_gdb_version): Set copyright year to 2014. | |
15865 | ||
7b6e1046 JB |
15866 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
15867 | ||
15868 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
15869 | ||
df96af55 | 15870 | For older changes see ChangeLog-2013. |
c906108c SS |
15871 | \f |
15872 | Local Variables: | |
15873 | mode: change-log | |
15874 | left-margin: 8 | |
15875 | fill-column: 74 | |
15876 | version-control: never | |
57da7796 | 15877 | coding: utf-8 |
c906108c | 15878 | End: |