Commit | Line | Data |
---|---|---|
98399780 YQ |
1 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
2 | ||
3 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
4 | canonicalize-lgpl. | |
5 | * aclocal.m4: Re-generated. | |
6 | * config.in: Re-generated. | |
7 | * configure: Re-generated. | |
8 | * import/Makefile.am: Re-generated. | |
9 | * import/Makefile.in: Re-generated. | |
10 | * import/m4/gnulib-cache.m4: Re-generated. | |
11 | * import/m4/gnulib-comp.m4: Re-generated. | |
12 | * import/canonicalize-lgpl.c: New file. | |
13 | * import/extra/snippet/_Noreturn.h: New file. | |
14 | * import/m4/canonicalize.m4: New file. | |
15 | * import/m4/double-slash-root.m4: New file. | |
16 | * import/m4/eealloc.m4: New file. | |
17 | * import/m4/malloca.m4: New file. | |
18 | * import/m4/nocrash.m4: New file. | |
19 | * import/m4/stdlib_h.m4: New file. | |
20 | * import/malloca.c: New file. | |
21 | * import/malloca.h: New file. | |
22 | * import/malloca.valgrind: New file. | |
23 | ||
3332aaf2 YQ |
24 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
25 | ||
26 | * configure.ac (AC_CHECK_FUNCS): Remove lstat. | |
27 | * config.in, configure: Regenerate. | |
28 | * symfile.c (find_separate_debug_file_by_debuglink): Remove | |
29 | code checking HAVE_LSTAT is defined. | |
30 | ||
f45c62c4 YQ |
31 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
32 | ||
33 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
34 | lstat. | |
35 | * gnulib/aclocal.m4: Re-generated. | |
36 | * gnulib/config.in: Re-generated. | |
37 | * gnulib/configure: Re-generated. | |
38 | * gnulib/import/Makefile.am: Re-generated. | |
39 | * gnulib/import/Makefile.in: Re-generated. | |
40 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
41 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
42 | * gnulib/import/lstat.c: New file. | |
43 | * gnulib/import/m4/lstat.m4: New file. | |
44 | ||
bdca27a2 YQ |
45 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
46 | ||
47 | * configure.ac (AC_CHECK_FUNCS): Remove readlink. | |
48 | * config.in, configure: Re-generate. | |
49 | * inf-child.c (inf_child_fileio_readlink): Don't check | |
50 | HAVE_READLINK is defined. | |
51 | ||
2196f55f YQ |
52 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
53 | ||
54 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink. | |
55 | * gnulib/aclocal.m4: Re-generated. | |
56 | * gnulib/config.in: Likewise. | |
57 | * gnulib/configure: Likewise. | |
58 | * gnulib/import/Makefile.am: Likewise. | |
59 | * gnulib/import/Makefile.in: Likewise. | |
60 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
61 | * gnulib/import/m4/gnulib-comp.m4: Likewise. | |
62 | * gnulib/import/dosname.h: New file | |
63 | * gnulib/import/m4/largefile.m4: New file. | |
64 | * gnulib/import/m4/readlink.m4: New file. | |
65 | * gnulib/import/m4/stat.m4: New file. | |
66 | * gnulib/import/readlink.c: New file. | |
67 | * gnulib/import/stat.c: New file. | |
68 | ||
7014e923 | 69 | 2014-11-26 Mark Wielaard <mjw@redhat.com> |
0cfd832f MW |
70 | |
71 | * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11, | |
72 | DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14. | |
73 | ||
aa489395 SL |
74 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
75 | ||
76 | * nios2-tdep.c (nios2_analyze_prologue): Replace restriction | |
77 | that there can be only one stack adjustment in the prologue | |
78 | with tests to detect specific disallowed stack adjustments. | |
79 | ||
7f1659b5 SL |
80 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
81 | ||
82 | * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack | |
83 | adjustments. | |
84 | ||
d53c26c7 SL |
85 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
86 | ||
87 | * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble | |
88 | the instruction as well as reading it from memory. | |
89 | (nios2_match_add): New. | |
90 | (nios2_match_sub): New. | |
91 | (nios2_match_addi): New. | |
92 | (nios2_match_orhi): New. | |
93 | (nios2_match_stw): New. | |
94 | (nios2_match_ldw): New. | |
95 | (nios2_match_rdctl): New. | |
96 | (enum branch_condition): New. | |
97 | (nios2_match_branch): New. | |
98 | (nios2_match_jmpi): New. | |
99 | (nios2_match_calli): New. | |
100 | (nios2_match_jmpr): New. | |
101 | (nios2_match_callr): New. | |
102 | (nios2_match_break): New. | |
103 | (nios2_match_trap): New. | |
104 | (nios2_in_epilogue_p): Rewrite to use new functions. | |
105 | (nios2_analyze_prologue): Likewise. | |
106 | (nios2_skip_prologue): Delete unused local limit_pc. | |
107 | (nios2_breakpoint_from_pc): Make R1-specific encodings explicit. | |
108 | (nios2_get_next_pc): Rewrite to use new functions. | |
109 | ||
cac9b138 JK |
110 | 2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
111 | ||
112 | * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code. | |
113 | ||
a441dfbc ST |
114 | 2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org> |
115 | ||
116 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
117 | * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of | |
118 | elements pi_len by the size of the elements before calling | |
119 | vm_deallocate. | |
120 | (inf_validate_task_sc): Likewise, and properly deallocate the | |
121 | noise array. | |
122 | ||
4c9e8482 DE |
123 | 2014-11-23 Doug Evans <xdje42@gmail.com> |
124 | ||
125 | * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg | |
126 | number and name if present. All callers updated. | |
127 | (dump_fn_fieldlists): Fix indentation of args. | |
128 | ||
15ee0bbd PP |
129 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
130 | ||
131 | * MAINTAINERS (Write After Approval): Add myself. | |
132 | ||
e8af5d7a JB |
133 | 2014-11-23 Joel Brobecker <brobecker@adacore.com> |
134 | ||
135 | * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds | |
136 | to a bp_call_dummy breakpoint type. | |
137 | ||
a344fc09 PP |
138 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
139 | ||
140 | * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when | |
141 | registering the signal handler. | |
142 | ||
d64e57fa PP |
143 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
144 | ||
145 | * event-top.h (call_stdin_event_handler_again_p): Declare. | |
146 | * event-top.c (call_stdin_event_handler_again_p): Define. | |
147 | (stdin_event_handler): Use it. | |
148 | * tui/tui-io.c (tui_getc): Prepare to call the stdin event | |
149 | handler again if there is pending input following a | |
150 | start sequence. | |
151 | ||
6f9d33d8 PP |
152 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
153 | ||
154 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
155 | * linux-fork.c (checkpoint_command): Print index of new | |
156 | checkpoint in response message. | |
157 | ||
88db67ef YQ |
158 | 2014-11-23 Yao Qi <yao@codesourcery.com> |
159 | ||
160 | * valprint.c (read_string): Move local variables 'found_nul', | |
161 | 'chunksize' and 'limit' to inner scope. Update comments. | |
162 | ||
01465b56 DE |
163 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
164 | ||
165 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve | |
166 | function comment. | |
167 | (search_symbols): Fix comments and whitespace. | |
168 | ||
07a1c2c3 DE |
169 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
170 | ||
171 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment. | |
172 | ||
b2a919a8 DE |
173 | 2014-11-21 Doug Evans <dje@google.com> |
174 | ||
175 | * psymtab.c (psymtab_search_name): Fix whitespace. | |
176 | ||
278289d5 YQ |
177 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
178 | ||
179 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
180 | errno. | |
181 | * gnulib/import/Makefile.am: Re-generated. | |
182 | * gnulib/import/Makefile.in: Likewise. | |
183 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
184 | ||
e01e2baa YQ |
185 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
186 | ||
187 | * gdb_wchar.h: Include wchar.h and wctype.h. | |
188 | [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't | |
189 | include wchar.h and wctype.h. | |
190 | Don't check HAVE_WCHAR_H. | |
191 | ||
f0c00af8 YQ |
192 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
193 | ||
194 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar | |
195 | and wctype-h. | |
196 | * gnulib/import/Makefile.am: Re-generated. | |
197 | * gnulib/import/Makefile.in: Likewise. | |
198 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
199 | ||
0cae13bb YQ |
200 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
201 | ||
202 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
203 | memchr. | |
204 | * gnulib/import/Makefile.am: Re-generated. | |
205 | * gnulib/import/Makefile.in: Likewise. | |
206 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
207 | ||
9c232dda YQ |
208 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
209 | ||
210 | * common/common-defs.h: Include alloca.h | |
211 | * configure.ac: Don't invoke AC_FUNC_ALLOCA. | |
212 | * configure: Re-generated. | |
213 | * defs.h: Remove code handling alloca. | |
214 | * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined | |
215 | or not. | |
216 | ||
00d7f58f YQ |
217 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
218 | ||
219 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add | |
220 | alloca. | |
221 | * gnulib/import/Makefile.am: Re-generated. | |
222 | * gnulib/import/Makefile.in: Likewise.. | |
223 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
224 | ||
6068ad5d YQ |
225 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
226 | ||
227 | * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in | |
228 | alphabetical order. | |
229 | ||
45e44d27 JB |
230 | 2014-11-21 Joel Brobecker <brobecker@adacore.com> |
231 | ||
232 | * gdbtypes.c (create_range_type): Unset RESULT_TYPE's | |
233 | flag_unsigned if HIGH_BOUND is constant and negative. | |
234 | ||
7e7cbeb3 SDJ |
235 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
236 | ||
237 | PR breakpoints/10737 | |
238 | * xml-syscall.c (set_xml_syscall_file_name): Remove "const" | |
239 | modifier from "struct gdbarch" when compiling without Expat (XML) | |
240 | support. | |
241 | (get_syscall_by_number): Likewise. | |
242 | (get_syscall_by_name): Likewise. | |
243 | (get_syscall_names): Likewise. | |
244 | ||
458c8db8 SDJ |
245 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
246 | ||
247 | PR breakpoints/10737 | |
248 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to | |
249 | set_xml_syscall_file_name to provide gdbarch. | |
250 | * arm-linux-tdep.c (arm_linux_init_abi): Likewise. | |
251 | * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise. | |
252 | * breakpoint.c (print_it_catch_syscall): Adjust call to | |
253 | get_syscall_by_number to provide gdbarch. | |
254 | (print_one_catch_syscall): Likewise. | |
255 | (print_mention_catch_syscall): Likewise. | |
256 | (print_recreate_catch_syscall): Likewise. | |
257 | (catch_syscall_split_args): Adjust calls to get_syscall_by_number | |
258 | and get_syscall_by_name to provide gdbarch. | |
259 | (catch_syscall_completer): Adjust call to get_syscall_names to | |
260 | provide gdbarch. | |
261 | * gdbarch.c: Regenerate. | |
262 | * gdbarch.h: Likewise. | |
263 | * gdbarch.sh: Forward declare "struct syscalls_info". | |
264 | (xml_syscall_file): New variable. | |
265 | (syscalls_info): Likewise. | |
266 | * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to | |
267 | set_xml_syscall_file_name to provide gdbarch. | |
268 | * mips-linux-tdep.c (mips_linux_init_abi): Likewise. | |
269 | * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise. | |
270 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
271 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. | |
272 | * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise. | |
273 | * xml-syscall.c: Include gdbarch.h. | |
274 | (set_xml_syscall_file_name): Accept gdbarch parameter. | |
275 | (get_syscall_by_number): Likewise. | |
276 | (get_syscall_by_name): Likewise. | |
277 | (get_syscall_names): Likewise. | |
278 | (my_gdb_datadir): Delete global variable. | |
279 | (struct syscalls_info) <my_gdb_datadir>: New variable. | |
280 | (struct syscalls_info) <sysinfo>: Rename variable to | |
281 | "syscalls_info". | |
282 | (sysinfo): Delete global variable. | |
283 | (have_initialized_sysinfo): Likewise. | |
284 | (xml_syscall_file): Likewise. | |
285 | (sysinfo_free_syscalls_desc): Rename to... | |
286 | (syscalls_info_free_syscalls_desc): ... this. | |
287 | (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust | |
288 | code to the new layout of "struct syscalls_info". | |
289 | (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to | |
290 | "syscalls_info". | |
291 | (syscall_create_syscall_desc): Likewise. | |
292 | (syscall_start_syscall): Likewise. | |
293 | (syscall_parse_xml): Likewise. | |
294 | (xml_init_syscalls_info): Likewise. Drop "const" from return value. | |
295 | (init_sysinfo): Rename to... | |
296 | (init_syscalls_info): ...this. Add gdbarch as a parameter. | |
297 | Adjust function to deal with gdbarch. | |
298 | (xml_get_syscall_number): Delete parameter sysinfo. Accept | |
299 | gdbarch as a parameter. Adjust code. | |
300 | (xml_get_syscall_name): Likewise. | |
301 | (xml_list_of_syscalls): Likewise. | |
302 | (set_xml_syscall_file_name): Accept gdbarch as parameter. | |
303 | (get_syscall_by_number): Likewise. | |
304 | (get_syscall_by_name): Likewise. | |
305 | (get_syscall_names): Likewise. | |
306 | * xml-syscall.h (set_xml_syscall_file_name): Likewise. | |
307 | (get_syscall_by_number): Likewise. | |
308 | (get_syscall_by_name): Likewise. | |
309 | (get_syscall_names): Likewise. | |
310 | ||
43f3e411 DE |
311 | 2014-11-20 Doug Evans <xdje42@gmail.com> |
312 | ||
313 | Split struct symtab into two: struct symtab and compunit_symtab. | |
314 | * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit. | |
315 | * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument | |
316 | to "struct compunit_symtab *". All callers updated. | |
317 | (set_block_compunit_symtab): Renamed from set_block_symtab. Change | |
318 | "struct symtab *" argument to "struct compunit_symtab *". | |
319 | All callers updated. | |
320 | (get_block_compunit_symtab): Renamed from get_block_symtab. Change | |
321 | result to "struct compunit_symtab *". All callers updated. | |
322 | (find_iterator_compunit_symtab): Renamed from find_iterator_symtab. | |
323 | Change result to "struct compunit_symtab *". All callers updated. | |
324 | * block.h (struct global_block) <compunit_symtab>: Renamed from symtab. | |
325 | hange type to "struct compunit_symtab *". All uses updated. | |
326 | (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab". | |
327 | Change type to "struct compunit_symtab *". All uses updated. | |
328 | * buildsym.c (struct buildsym_compunit): New struct. | |
329 | (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete. | |
330 | (buildsym_compunit): New static global. | |
331 | (finish_block_internal): Update to fetch objfile from | |
332 | buildsym_compunit. | |
333 | (make_blockvector): Delete objfile argument. | |
334 | (start_subfile): Rewrite to use buildsym_compunit. Don't initialize | |
335 | debugformat, producer. | |
336 | (start_buildsym_compunit): New function. | |
337 | (free_buildsym_compunit): Renamed from free_subfiles_list. | |
338 | All callers updated. | |
339 | (patch_subfile_names): Rewrite to use buildsym_compunit. | |
340 | (get_compunit_symtab): New function. | |
341 | (get_macro_table): Delete argument comp_dir. All callers updated. | |
342 | (start_symtab): Change result to "struct compunit_symtab *". | |
343 | All callers updated. Create the subfile of the main source file. | |
344 | (watch_main_source_file_lossage): Rewrite to use buildsym_compunit. | |
345 | (reset_symtab_globals): Update. | |
346 | (end_symtab_get_static_block): Update to use buildsym_compunit. | |
347 | (end_symtab_without_blockvector): Rewrite. | |
348 | (end_symtab_with_blockvector): Change result to | |
349 | "struct compunit_symtab *". All callers updated. | |
350 | Update to use buildsym_compunit. Don't set symtab->dirname, | |
351 | instead set it in the compunit. | |
352 | Explicitly make sure main symtab is first in its list. | |
353 | Set debugformat, producer, blockvector, block_line_section, and | |
354 | macrotable in the compunit. | |
355 | (end_symtab_from_static_block): Change result to | |
356 | "struct compunit_symtab *". All callers updated. | |
357 | (end_symtab, end_expandable_symtab): Ditto. | |
358 | (set_missing_symtab): Change symtab argument to | |
359 | "struct compunit_symtab *". All callers updated. | |
360 | (augment_type_symtab): Ditto. | |
361 | (record_debugformat): Update to use buildsym_compunit. | |
362 | (record_producer): Update to use buildsym_compunit. | |
363 | * buildsym.h (struct subfile) <dirname>: Delete. | |
364 | <producer, debugformat>: Delete. | |
365 | <buildsym_compunit>: New member. | |
366 | (get_compunit_symtab): Declare. | |
367 | * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed | |
368 | from primary_symtab. Change type to "struct compunit_symtab *". | |
369 | All uses updated. | |
370 | (dwarf2_start_symtab): Change result to "struct compunit_symtab *". | |
371 | All callers updated. | |
372 | (dwarf_decode_macros): Delete comp_dir argument. All callers updated. | |
373 | (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from | |
374 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
375 | (dw2_instantiate_symtab): Change result to "struct compunit_symtab *". | |
376 | All callers updated. | |
377 | (dw2_find_last_source_symtab): Ditto. | |
378 | (dw2_lookup_symbol): Ditto. | |
379 | (recursively_find_pc_sect_compunit_symtab): Renamed from | |
380 | recursively_find_pc_sect_symtab. Change result to | |
381 | "struct compunit_symtab *". All callers updated. | |
382 | (dw2_find_pc_sect_compunit_symtab): Renamed from | |
383 | dw2_find_pc_sect_symtab. Change result to | |
384 | "struct compunit_symtab *". All callers updated. | |
385 | (get_compunit_symtab): Renamed from get_symtab. Change result to | |
386 | "struct compunit_symtab *". All callers updated. | |
387 | (recursively_compute_inclusions): Change type of immediate_parent | |
388 | argument to "struct compunit_symtab *". All callers updated. | |
389 | (compute_compunit_symtab_includes): Renamed from | |
390 | compute_symtab_includes. All callers updated. Rewrite to compute | |
391 | includes of compunit_symtabs and not symtabs. | |
392 | (process_full_comp_unit): Update to work with struct compunit_symtab. | |
393 | (process_full_type_unit): Ditto. | |
394 | (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated. | |
395 | (dwarf_decode_lines): Remove special case handling of main subfile. | |
396 | (macro_start_file): Delete argument comp_dir. All callers updated. | |
397 | (dwarf_decode_macro_bytes): Ditto. | |
398 | * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to | |
399 | use struct compunit_symtab. | |
400 | * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit. | |
401 | * jit.c (finalize_symtab): Build compunit_symtab. | |
402 | * jv-lang.c (get_java_class_symtab): Change result to | |
403 | "struct compunit_symtab *". All callers updated. | |
404 | * macroscope.c (sal_macro_scope): Fetch macro table from compunit. | |
405 | * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from | |
406 | comp_dir. Change type to "struct compunit_symtab *". | |
407 | All uses updated. | |
408 | (new_macro_table): Change comp_dir argument to cust, | |
409 | "struct compunit_symtab *". All callers updated. | |
410 | * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from | |
411 | nr_primary_symtabs. All uses updated. | |
412 | (count_symtabs_and_blocks): Update to handle compunits. | |
413 | (report_command_stats): Update output, "primary symtabs" renamed to | |
414 | "compunits". | |
415 | * mdebugread.c (new_symtab): Change result to | |
416 | "struct compunit_symtab *". All callers updated. | |
417 | (parse_procedure): Change type of search_symtab argument to | |
418 | "struct compunit_symtab *". All callers updated. | |
419 | * objfiles.c (objfile_relocate1): Loop over blockvectors in a | |
420 | separate loop. | |
421 | * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from | |
422 | symtabs. Change type to "struct compunit_symtab *". All uses updated. | |
423 | (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS. | |
424 | All uses updated. | |
425 | (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS. | |
426 | All uses updated. | |
427 | (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated. | |
428 | (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated. | |
429 | * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from | |
430 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
431 | * psymtab.c (psymtab_to_symtab): Change result type to | |
432 | "struct compunit_symtab *". All callers updated. | |
433 | (find_pc_sect_compunit_symtab_from_partial): Renamed from | |
434 | find_pc_sect_symtab_from_partial. Change result type to | |
435 | "struct compunit_symtab *". All callers updated. | |
436 | (lookup_symbol_aux_psymtabs): Change result type to | |
437 | "struct compunit_symtab *". All callers updated. | |
438 | (find_last_source_symtab_from_partial): Ditto. | |
439 | * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit. | |
440 | * source.c (forget_cached_source_info_for_objfile): Fetch debugformat | |
441 | and macro_table from compunit. | |
442 | * symfile-debug.c (debug_qf_find_last_source_symtab): Change result | |
443 | type to "struct compunit_symtab *". All callers updated. | |
444 | (debug_qf_lookup_symbol): Ditto. | |
445 | (debug_qf_find_pc_sect_compunit_symtab): Renamed from | |
446 | debug_qf_find_pc_sect_symtab, change result type to | |
447 | "struct compunit_symtab *". All callers updated. | |
448 | * symfile.c (allocate_symtab): Delete objfile argument. | |
449 | New argument cust. | |
450 | (allocate_compunit_symtab): New function. | |
451 | (add_compunit_symtab_to_objfile): New function. | |
452 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: | |
453 | Change result type to "struct compunit_symtab *". All uses updated. | |
454 | <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab. | |
455 | Change result type to "struct compunit_symtab *". All uses updated. | |
456 | * symmisc.c (print_objfile_statistics): Compute blockvector count in | |
457 | separate loop. | |
458 | (dump_symtab_1): Update test for primary source symtab. | |
459 | (maintenance_info_symtabs): Update to handle compunit symtabs. | |
460 | (maintenance_check_symtabs): Ditto. | |
461 | * symtab.c (set_primary_symtab): Delete. | |
462 | (compunit_primary_filetab): New function. | |
463 | (compunit_language): New function. | |
464 | (iterate_over_some_symtabs): Change type of arguments "first", | |
465 | "after_last" to "struct compunit_symtab *". All callers updated. | |
466 | Update to loop over symtabs in each compunit. | |
467 | (error_in_psymtab_expansion): Rename symtab argument to cust, | |
468 | and change type to "struct compunit_symtab *". All callers updated. | |
469 | (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab. | |
470 | Change result type to "struct compunit_symtab *". All callers updated. | |
471 | (find_pc_compunit_symtab): Renamed from find_pc_symtab. | |
472 | Change result type to "struct compunit_symtab *". All callers updated. | |
473 | (find_pc_sect_line): Only loop over symtabs within selected compunit | |
474 | instead of all symtabs in the objfile. | |
475 | * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab. | |
476 | <compunit_symtab> New member. | |
477 | <block_line_section>: Moved to compunit_symtab. | |
478 | <locations_valid>: Ditto. | |
479 | <epilogue_unwind_valid>: Ditto. | |
480 | <macro_table>: Ditto. | |
481 | <dirname>: Ditto. | |
482 | <debugformat>: Ditto. | |
483 | <producer>: Ditto. | |
484 | <objfile>: Ditto. | |
485 | <call_site_htab>: Ditto. | |
486 | <includes>: Ditto. | |
487 | <user>: Ditto. | |
488 | <primary>: Delete | |
489 | (SYMTAB_COMPUNIT): New macro. | |
490 | (SYMTAB_BLOCKVECTOR): Update definition. | |
491 | (SYMTAB_OBJFILE): Update definition. | |
492 | (SYMTAB_DIRNAME): Update definition. | |
493 | (struct compunit_symtab): New type. Common members among all source | |
494 | symtabs within a compilation unit moved here. All uses updated. | |
495 | (COMPUNIT_OBJFILE): New macro. | |
496 | (COMPUNIT_FILETABS): New macro. | |
497 | (COMPUNIT_DEBUGFORMAT): New macro. | |
498 | (COMPUNIT_PRODUCER): New macro. | |
499 | (COMPUNIT_DIRNAME): New macro. | |
500 | (COMPUNIT_BLOCKVECTOR): New macro. | |
501 | (COMPUNIT_BLOCK_LINE_SECTION): New macro. | |
502 | (COMPUNIT_LOCATIONS_VALID): New macro. | |
503 | (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro. | |
504 | (COMPUNIT_CALL_SITE_HTAB): New macro. | |
505 | (COMPUNIT_MACRO_TABLE): New macro. | |
506 | (ALL_COMPUNIT_FILETABS): New macro. | |
507 | (compunit_symtab_ptr): New typedef. | |
508 | (DEF_VEC_P (compunit_symtab_ptr)): New vector type. | |
509 | ||
005e2509 JB |
510 | 2014-11-20 Joel Brobecker <brobecker@adacore.com> |
511 | ||
512 | * ada-lang.c (ada_is_redundant_range_encoding): Return 0 | |
513 | if the TYPE_CODE of range_type's base type does not match | |
514 | the TYPE_CODE of encoding_type's base type. | |
515 | ||
2b0f535a JB |
516 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
517 | ||
518 | * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if | |
519 | it starts with '<'. | |
520 | ||
8908fca5 JB |
521 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
522 | ||
523 | * ada-lang.c (ada_is_redundant_range_encoding): New function. | |
524 | (ada_is_redundant_index_type_desc): New function. | |
525 | (to_fixed_array_type): Ignore parallel XA type if redundant. | |
526 | ||
4a46959e JB |
527 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
528 | ||
529 | * ada-lang.c (constrained_packed_array_type): Set the length | |
530 | of the return array as if both bounds where zero if that | |
531 | returned array's index type is dynamic. | |
532 | ||
2acf986b YQ |
533 | 2014-11-19 Yao Qi <yao@codesourcery.com> |
534 | ||
535 | * config/i386/go32.mh (CC): Remove. | |
536 | ||
439247b6 DE |
537 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
538 | ||
539 | * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses | |
540 | updated. | |
541 | ||
4d663531 DE |
542 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
543 | ||
544 | * buildsym.c (buildsym_objfile): New static global. | |
545 | (buildsym_comp_dir): New static global. | |
546 | (finish_block_internal): Delete arg objfile. All callers updated. | |
547 | (finish_block): Delete arg objfile. All callers updated. | |
548 | (start_subfile): Delete arg dirname. All callers updated. | |
549 | (patch_subfile_names): Update buildsym_comp_dir. | |
550 | (get_macro_table): Delete arg objfile. All callers updated. | |
551 | (start_symtab): New arg objfile. All callers updated. | |
552 | Rename arg dirname to comp_dir. | |
553 | (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir. | |
554 | (end_symtab_get_static_block): Delete arg objfile. All callers | |
555 | updated. | |
556 | (end_symtab_without_blockvector): Ditto. | |
557 | (end_symtab_with_blockvector): Ditto. | |
558 | (end_symtab_from_static_block): Ditto. | |
559 | (end_symtab): Ditto. | |
560 | (end_expandable_symtab): Ditto. | |
561 | (augment_type_symtab): Ditto. | |
562 | * coffread.c (coff_start_symtab): New arg objfile. All callers | |
563 | updated. | |
564 | ||
8435453b DE |
565 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
566 | ||
567 | * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses | |
568 | updated. | |
569 | ||
ee6f8984 DE |
570 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
571 | ||
572 | * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member | |
573 | symtab.dirname updated to use it. | |
574 | ||
eb822aa6 DE |
575 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
576 | ||
577 | * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member | |
578 | symtab.objfile updated to use it. | |
579 | ||
98387a29 DE |
580 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
581 | ||
582 | * buildsym.c (watch_main_source_file_lossage): Fix memory leak. | |
583 | ||
aff08958 DE |
584 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
585 | ||
586 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use | |
587 | SYMBOL_OBJFILE. | |
588 | * findvar.c (default_read_var_value): Ditto. | |
589 | * jv-lang.c (add_class_symtab_symbol): Ditto. | |
590 | * parse.c (operator_check_standard): Ditto. | |
591 | * printcmd.c (address_info): Ditto. | |
592 | * symtab.c (fixup_symbol_section): Ditto. | |
593 | (skip_prologue_sal): Ditto. | |
594 | * tracepoint.c (scope_info): Ditto. | |
595 | * valops.c (find_function_in_inferior): Ditto. | |
596 | * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto. | |
597 | * python/py-symbol.c (set_symbol): Ditto. | |
598 | ||
7bab9b58 DE |
599 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
600 | ||
601 | * buildsym.c (main_subfile): New static global. | |
602 | (free_subfiles_list): New function. | |
603 | (start_symtab): Set main_subfile. | |
604 | (restart_symtab): Replace init of subfiles, current_subfile with | |
605 | call to free_subfiles_list. | |
606 | (watch_main_source_file_lossage): Use main_subfile. | |
607 | (reset_symtab_globals): Replace init of current_subfile with call | |
608 | to free_subfiles_list. | |
609 | (end_symtab_without_blockvector, end_symtab_with_blockvector): New | |
610 | functions, split out from ... | |
611 | (end_symtab_from_static_block): ... here. Rewrite to call them. | |
612 | ||
f194fefb DE |
613 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
614 | ||
615 | The result of symtab expansion is always a primary symtab. | |
616 | * dwarf2read.c (dw2_instantiate_symtab): Add assert. | |
617 | (dw2_lookup_symbol): Remove unnecessary test for primary symbol table. | |
618 | * psymtab.c (lookup_symbol_aux_psymtabs): Ditto. | |
619 | (psymtab_to_symtab): Add comment and assert. | |
620 | (map_matching_symbols_psymtab): Remove unnecessary test for | |
621 | non-primary symtab. | |
622 | ||
34248c3a DE |
623 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
624 | ||
625 | PR symtab/17559 | |
626 | * symtab.c (find_pc_line_symtab): New function. | |
627 | * symtab.h (find_pc_line_symtab): Declare. | |
628 | * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of | |
629 | find_pc_symtab. | |
630 | * tui/tui-disasm.c (tui_set_disassem_content): Ditto. | |
631 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto. | |
632 | * tui/tui-source.c (tui_vertical_source_scroll): Ditto. | |
633 | * tui/tui-win.c (make_visible_with_new_height): Ditto. | |
634 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto. | |
635 | (tui_display_main): Call find_pc_line_symtab instead of find_pc_line. | |
636 | ||
2097ae25 DE |
637 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
638 | ||
639 | * symtab.c (expand_symtab_containing_pc): Renamed from | |
640 | find_pc_sect_symtab_via_partial. All callers updated. | |
641 | ||
1ada499f YQ |
642 | 2014-11-15 Yao Qi <yao@codesourcery.com> |
643 | ||
644 | * go32-nat.c (go32_create_inferior): Add missing parenthesis. | |
645 | ||
355e2102 JB |
646 | 2014-11-14 Joel Brobecker <brobecker@adacore.com> |
647 | ||
648 | * common/common-defs.h: Move <stdarg.h> #include ahead of | |
649 | <stdio.h> #include. | |
650 | ||
83030110 PA |
651 | 2014-11-14 Pedro Alves <palves@redhat.com> |
652 | ||
653 | * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define. | |
654 | [!PHONY_ICONV] (gdb_iconv): New function. | |
655 | [!PHONY_ICONV] (iconv): Redefine to gdb_iconv. | |
656 | ||
a8719064 DE |
657 | 2014-11-13 Doug Evans <dje@google.com> |
658 | ||
659 | PR symtab/17591 | |
660 | * dwarf2read.c (find_slot_in_mapped_hash): Handle | |
661 | "(anonymous namespace)". | |
662 | ||
60f7655a DE |
663 | 2014-11-13 Doug Evans <dje@google.com> |
664 | ||
665 | * dwarf2read.c (update_enumeration_type_from_children): Avoid | |
666 | infinite loop. | |
667 | ||
5784b3ca JK |
668 | 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
669 | ||
670 | * NEWS (maint set target-async): Fix typo. | |
671 | ||
6218dc4b PA |
672 | 2014-11-12 Pedro Alves <palves@redhat.com> |
673 | ||
674 | * infrun.c (enum infwait_states, infwait_state): Delete. | |
675 | ||
af48d08f PA |
676 | 2014-11-12 Pedro Alves <palves@redhat.com> |
677 | ||
678 | * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag. | |
679 | Rewrite stepping over a permanent breakpoint. | |
680 | (thread_still_needs_step_over, proceed): Don't set | |
681 | stepping_over_breakpoint for permanent breakpoints. | |
682 | (handle_signal_stop): Don't clear stepped_breakpoint. Also pull | |
683 | single-step breakpoints out of the target on hardware step | |
684 | targets. | |
685 | (process_event_stop_test): If stepping a permanent breakpoint | |
686 | doesn't hit the step-resume breakpoint, delete the step-resume | |
687 | breakpoint. | |
688 | (switch_back_to_stepped_thread): Also check if the stepped thread | |
689 | has advanced already on hardware step targets. | |
690 | (currently_stepping): Return true if the thread stepped a | |
691 | breakpoint. | |
692 | ||
1a853c52 PA |
693 | 2014-11-12 Pedro Alves <palves@redhat.com> |
694 | ||
695 | Mark locations as permanent, not the whole breakpoint. | |
696 | * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust. | |
697 | (mark_breakpoints_out): Don't mark permanent breakpoints as | |
698 | uninserted. | |
699 | (breakpoint_init_inferior): Use mark_breakpoints_out. | |
700 | (breakpoint_here_p): Adjust. | |
701 | (bpstat_stop_status, describe_other_breakpoints): Remove handling | |
702 | of permanent breakpoints. | |
703 | (make_breakpoint_permanent): Mark each location as permanent, | |
704 | instead of marking the breakpoint. | |
705 | (add_location_to_breakpoint): If the location is permanent, mark | |
706 | it as such, and as inserted. | |
707 | (init_breakpoint_sal): Don't make the breakpoint permanent here. | |
708 | (bp_location_compare, update_global_location_list): Adjust. | |
709 | (update_breakpoint_locations): Don't make the breakpoint permanent | |
710 | here. | |
711 | (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent | |
712 | breakpoints. | |
713 | * breakpoint.h (enum enable_state) <bp_permanent>: Delete field. | |
714 | (struct bp_location) <permanent>: New field. | |
715 | * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove | |
716 | reference to bp_permanent. | |
717 | ||
ae9bb220 PA |
718 | 2014-11-12 Pedro Alves <palves@redhat.com> |
719 | ||
720 | * arch-utils.c (default_skip_permanent_breakpoint): New function. | |
721 | * arch-utils.h (default_skip_permanent_breakpoint): New | |
722 | declaration. | |
723 | * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function. | |
724 | Install default_skip_permanent_breakpoint as default method. | |
725 | * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function. | |
726 | (i386_gdbarch_init): Don't install it. | |
727 | * infrun.c (resume): Assume there's always a | |
728 | gdbarch_skip_permanent_breakpoint implementation. | |
729 | * gdbarch.h, gdbarch.c: Regenerate. | |
730 | ||
015de688 DC |
731 | 2014-11-11 Daniel Colascione <dancol@dancol.org> |
732 | ||
733 | Warn about cross-PID-namespace debugging. | |
734 | * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype. | |
735 | * nat/linux-procfs.c (linux_proc_pid_get_ns): New function. | |
736 | * linux-thread-db.c (check_pid_namespace_match): New function. | |
737 | (thread_db_inferior_created): Call it. | |
738 | ||
26a84859 DE |
739 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
740 | ||
741 | * symmisc.c (print_objfile_statistics): Remove trailing whitespace. | |
742 | (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. | |
743 | ||
712a2e6d DE |
744 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
745 | ||
746 | * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS. | |
747 | ||
af3768e9 DE |
748 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
749 | ||
750 | PR symtab/17564 | |
751 | * symtab.c (lookup_symbol_in_all_objfiles): Delete. | |
752 | (lookup_static_symbol): Move definition to new location and rewrite. | |
753 | (lookup_symbol_in_objfile): New function. | |
754 | (lookup_symbol_global_iterator_cb): Call it. | |
755 | ||
b1f28d99 UW |
756 | 2014-11-10 Ulrich Weigand <uweigand@de.ibm.com> |
757 | ||
758 | * eval.c (evaluate_subexp_standard): Work around GCC bug 63748. | |
759 | ||
b7a084be PA |
760 | 2014-11-07 Pedro Alves <palves@redhat.com> |
761 | ||
762 | * infrun.c (process_event_stop_test) <subroutine check>: Don't | |
763 | check if we did a "nexti" inside a prologue. | |
764 | * symtab.c (in_prologue): Delete function. | |
765 | * symtab.h (in_prologue): Delete declaration. | |
766 | ||
67be31e5 DE |
767 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
768 | ||
769 | * symtab.h (lookup_global_symbol): Improve function comment. | |
770 | ||
08724ab7 DE |
771 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
772 | ||
773 | * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. | |
774 | All callers updated. | |
775 | * symtab.h (lookup_global_symbol): Update decl. | |
776 | (lookup_static_symbol): Move decl to better location. | |
777 | ||
d9060ba6 DE |
778 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
779 | ||
780 | * symtab.c (basic_lookup_symbol_nonlocal): Add comment. | |
781 | ||
74016e12 DE |
782 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
783 | ||
784 | * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local. | |
785 | All callers updated. | |
786 | (lookup_symbol_in_all_objfiles): Renamed from | |
787 | lookup_symbol_aux_symtabs. All callers updated. | |
788 | (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick. | |
789 | All callers updated. | |
790 | (lookup_symbol_in_objfile_symtabs): Renamed from | |
791 | lookup_symbol_aux_objfile. All callers updated. | |
792 | ||
d1a2d36d DE |
793 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
794 | ||
795 | * symtab.c (lookup_symbol_in_block): Renamed from | |
796 | lookup_symbol_aux_block. All callers updated. | |
797 | ||
24d864bb DE |
798 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
799 | ||
800 | * symtab.c (lookup_static_symbol): Renamed from | |
801 | lookup_static_symbol_aux. All callers updated. | |
802 | (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. | |
803 | All callers updated. | |
804 | ||
358d6ab3 DE |
805 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
806 | ||
807 | * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro. | |
808 | * block.c (block_lookup_symbol): Use it. | |
809 | * cp-support.c (make_symbol_overload_list_block): Use it. | |
810 | * symtab.c (iterate_over_symbols): Use it. | |
811 | ||
16b2eaa1 DE |
812 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
813 | ||
814 | * symtab.c (lookup_block_symbol): Moved to ... | |
815 | * block.c (block_lookup_symbol): ... here and renamed. | |
816 | All callers updated. | |
817 | * block.h (block_lookup_symbol): Declare. | |
818 | * symtab.h (lookup_block_symbol): Delete. | |
819 | ||
2dd2cd1c DE |
820 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
821 | ||
822 | * ada-lang.c (ada_make_symbol_completion_list): Use | |
823 | ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS. | |
824 | * symtab.c (lookup_objfile_from_block): Ditto. | |
825 | ||
d4c58915 DE |
826 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
827 | ||
828 | * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use | |
829 | TYPE_CODE_STRUCT. | |
830 | ||
9c1877ea DE |
831 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
832 | ||
833 | * objfiles.c (get_objfile_arch): Constify. | |
834 | * objfiles.h (get_objfile_arch): Update prototype. | |
835 | * solib.c (solib_global_lookup): Fetch arch from objfile, | |
836 | not target_gdbarch. | |
837 | ||
426a4079 SL |
838 | 2014-11-06 Sandra Loosemore <sandra@codesourcery.com> |
839 | ||
840 | * nios2-tdep.c (wild_insn): Delete. | |
841 | (profiler_insn, irqentry_insn): Delete. | |
842 | (nios2_match_sequence): Delete. | |
843 | (nios2_analyze_prologue): Update comments. Remove matching | |
844 | of obsolete profiler_insn and irqentry_insn sequences. | |
845 | ||
ee11262d AM |
846 | 2014-11-05 Alan Modra <amodra@gmail.com> |
847 | ||
848 | * charset.c (convert_between_encodings): Shrink obstack using | |
849 | obstack_blank_fast. | |
850 | * minsyms.c (install_minimal_symbols): Likewise. | |
1ae1b8cc AM |
851 | * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free |
852 | to char* before doing pointer arithmetic. | |
ee11262d | 853 | |
c87e6d00 SM |
854 | 2014-11-04 Simon Marchi <simon.marchi@ericsson.com> |
855 | ||
856 | * tui/tui.c (tui_enable): Pass stdout and stdin to newterm. | |
857 | ||
441ef17f PA |
858 | 2014-11-04 Pedro Alves <palves@redhat.com> |
859 | ||
860 | * breakpoint.c (breakpoint_thread_match): Delete function. | |
861 | * breakpoint.h (breakpoint_thread_match): Delete declaration. | |
862 | ||
e0f52461 SC |
863 | 2014-11-03 Siva Chandra Reddy <sivachandra@google.com> |
864 | ||
865 | PR c++/17494 | |
866 | * eval.c (evaluate_subexp_standard): Evaluate the "object" and | |
867 | the method args also under EVAL_SKIP when evaluating method | |
868 | calls under EVAL_SKIP. | |
869 | ||
a0b4d890 YQ |
870 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> |
871 | ||
872 | * dwarf2loc.c (read_pieced_value): Do big endian | |
873 | processing only if gdb_regnum is not -1. | |
874 | (write_pieced_value): Ditto. | |
875 | ||
876 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
877 | ||
878 | * arm-linux-tdep.c (arm_linux_init_abi): Use | |
879 | info.byte_order_for_code to choose endianity of breakpoint | |
880 | instructions snippets. | |
881 | ||
882 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
883 | ||
884 | * arm-tdep.c (extract_arm_insn): Use | |
885 | gdbarch_byte_order_for_code to read arm instruction. | |
886 | ||
e82149ff DE |
887 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
888 | ||
889 | * mdebugread.c (parse_procedure): Delete unnecessary forward decl. | |
890 | ||
d7ee84f1 DE |
891 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
892 | ||
893 | * xcoffread.c (process_linenos): Delete unnecessary zeroing of | |
894 | main_subfile before returning. | |
895 | ||
4f072d17 DE |
896 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
897 | ||
898 | * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused. | |
899 | (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
900 | ||
8301c89e DE |
901 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
902 | ||
903 | * valops.c (value_cast_pointers): Fix whitespace. | |
904 | (typecmp, search_struct_method, value_struct_elt, find_oload_champ): | |
905 | Ditto. | |
906 | ||
02be9a71 DE |
907 | 2014-10-30 Doug Evans <dje@google.com> |
908 | ||
909 | * NEWS: Mention ability add attributes to gdb.Objfile and | |
910 | gdb.Progspace objects. | |
911 | * python/py-objfile.c (objfile_object): New member dict. | |
912 | (objfpy_dealloc): Py_XDECREF dict. | |
913 | (objfpy_initialize): Initialize dict. | |
914 | (objfile_getset): Add __dict__. | |
915 | (objfile_object_type): Set tp_dictoffset member. | |
916 | * python/py-progspace.c (progspace_object): New member dict. | |
917 | (pspy_dealloc): Py_XDECREF dict. | |
918 | (pspy_initialize): Initialize dict. | |
919 | (pspace_getset): Add __dict__. | |
920 | (pspace_object_type): Set tp_dictoffset member. | |
921 | ||
6427bef6 YQ |
922 | 2014-10-30 Yao Qi <yao@codesourcery.com> |
923 | ||
924 | * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't | |
925 | replace '\\' with '\\\\'. | |
926 | ||
f60325be JB |
927 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
928 | ||
929 | GDB 7.8.1 released. | |
930 | ||
ab917dfb PA |
931 | 2014-10-29 Pedro Alves <palves@redhat.com> |
932 | ||
933 | PR gdb/17408 | |
934 | * infrun.c (switch_back_to_stepped_thread): Use currently_stepping | |
935 | instead of assuming a thread with a stepping range is always | |
936 | stepping. | |
937 | ||
d3d4baed PA |
938 | 2014-10-29 Pedro Alves <palves@redhat.com> |
939 | ||
940 | PR python/17372 | |
941 | * event-top.c (change_line_handler): Call | |
942 | gdb_rl_callback_handler_remove instead of | |
943 | rl_callback_handler_remove. | |
944 | (callback_handler_installed): New global. | |
945 | (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install) | |
946 | (gdb_rl_callback_handler_reinstall): New functions. | |
947 | (display_gdb_prompt): Call gdb_rl_callback_handler_remove and | |
948 | gdb_rl_callback_handler_install instead of | |
949 | rl_callback_handler_remove and rl_callback_handler_install. | |
950 | (gdb_disable_readline): Call gdb_rl_callback_handler_remove | |
951 | instead of rl_callback_handler_remove. | |
952 | * event-top.h (gdb_rl_callback_handler_remove) | |
953 | (gdb_rl_callback_handler_install) | |
954 | (gdb_rl_callback_handler_reinstall): New declarations. | |
955 | * infrun.c (reinstall_readline_callback_handler_cleanup): New | |
956 | cleanup function. | |
957 | (fetch_inferior_event): Install it. | |
958 | * top.c (gdb_readline_wrapper_line) Call | |
959 | gdb_rl_callback_handler_remove instead of | |
960 | rl_callback_handler_remove. | |
961 | (gdb_readline_wrapper_cleanup): Don't call | |
962 | rl_callback_handler_install. | |
963 | ||
6e5d7f39 PA |
964 | 2014-10-29 Pedro Alves <palves@redhat.com> |
965 | ||
966 | * event-top.c (command_line_handler): Clear the first byte of | |
967 | linebuffer, when it is first allocated. | |
968 | ||
551cb6a5 PA |
969 | 2014-10-29 Pedro Alves <palves@redhat.com> |
970 | ||
971 | * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in | |
972 | TRY_CATCH. | |
973 | ||
1e1e619b PA |
974 | 2014-10-29 Pedro Alves <palves@redhat.com> |
975 | ||
976 | PR tui/16138 | |
977 | PR tui/17519 | |
978 | * tui/tui-interp.c (tui_is_toplevel): Delete global. | |
979 | (tui_allowed_p): Delete function. | |
980 | * tui/tui.c: Include "interps.h". | |
981 | (tui_enable): Don't use tui_allowed_p. Error out here with | |
982 | detailed error messages if the TUI is the top level interpreter, | |
983 | or if output is not a terminal. Use newterm instead of initscr, | |
984 | and error out if initializing the terminal fails. Also error out if | |
985 | the terminal doesn't support cursor addressing. | |
986 | * tui/tui.h (tui_allowed_p): Delete declaration. | |
987 | ||
6041179a JB |
988 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
989 | ||
990 | * arm-tdep.c (arm_skip_stack_protector): Return early if | |
991 | address loaded by first "ldr" instruction does not have | |
992 | a corresponding minimal symbol. Update comment. | |
993 | ||
6ae274b7 YQ |
994 | 2014-10-29 Yao Qi <yao@codesourcery.com> |
995 | ||
996 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the | |
997 | loaded address correctly of ldr instruction. | |
998 | ||
7f5ef605 PA |
999 | 2014-10-28 Pedro Alves <palves@redhat.com> |
1000 | ||
1001 | PR gdb/12623 | |
1002 | * gdbthread.h (struct thread_info) <stepped_breakpoint>: New | |
1003 | field. | |
1004 | * infrun.c (resume) <stepping breakpoint instruction>: Set the | |
1005 | thread's stepped_breakpoint field. Skip if reverse debugging. | |
1006 | Add comment. | |
1007 | (init_thread_stepping_state, handle_signal_stop): Clear the | |
1008 | thread's stepped_breakpoint field. | |
1009 | ||
7d1a114c PA |
1010 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1011 | ||
1012 | * remote.c (remote_thread_alive): New, factored out from ... | |
1013 | (remote_thread_alive): ... this. | |
1014 | (remote_update_thread_list): Bail out before deleting threads if | |
1015 | the target returned an empty list, and, the current thread has a | |
1016 | magic/fake ptid. | |
1017 | ||
e5f8a7cc PA |
1018 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1019 | ||
1020 | * infrun.c (handle_signal_stop): Also skip handlers when a random | |
1021 | signal arrives while handling a "stepi" or a "nexti". Set the | |
1022 | thread's 'step_after_step_resume_breakpoint' flag. | |
1023 | ||
71e396f9 LM |
1024 | 2014-10-27 Luis Machado <lgustavo@codesourcery.com> |
1025 | ||
1026 | * arm-tdep.c (INSN_S_L_BIT_NUM): Document. | |
1027 | (arm_record_ld_st_imm_offset): Reimplement to cover all | |
1028 | load/store cases for ARM opcode 010. | |
1029 | (arm_record_ld_st_multiple): Reimplement to cover all | |
1030 | load/store cases for ARM opcode 100. | |
1031 | ||
3aee438b DE |
1032 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1033 | ||
1034 | * symtab.c (lookup_symbol_aux_local): Fix typo in comment. | |
1035 | ||
f88cb4b6 DE |
1036 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1037 | ||
1038 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename | |
1039 | parameter "kind" to "block_index". | |
1040 | * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to | |
1041 | "block_index". | |
1042 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto. | |
1043 | ||
a023a30f DE |
1044 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1045 | ||
1046 | * block.h (ALL_BLOCK_SYMBOLS): Fix comment. | |
1047 | ||
4c35218e DE |
1048 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1049 | ||
1050 | * block.c (allocate_block): Use OBSTACK_ZALLOC instead of | |
1051 | obstack_alloc. | |
1052 | ||
f08e8df3 DE |
1053 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1054 | ||
1055 | * parser-defs.h (block_found): Move decl from here ... | |
1056 | * symtab.h (block_found): ... to here. | |
1057 | ||
cf901d3b DE |
1058 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1059 | ||
1060 | * symtab.h (struct field_of_this_result): Fix typo in comment. | |
1061 | (lookup_symbol_in_language): Move function comment here. | |
1062 | (lookup_symbol): Improve function comment. | |
1063 | (basic_lookup_symbol_nonlocal): Ditto. | |
1064 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1065 | (lookup_symbol_aux_block): Ditto. | |
1066 | (lookup_language_this): Add function comment. | |
1067 | (lookup_static_symbol_aux): Explicitly mark as extern. Improve | |
1068 | function comment. | |
1069 | (lookup_block_symbol): Improve function comment. | |
1070 | (lookup_struct): Fix capitalization in function comment. | |
1071 | (lookup_transparent_type): Add function comment. | |
1072 | (lookup_global_symbol_from_objfile): Explicitly mark as extern. | |
1073 | Improve function comment. | |
1074 | (lookup_objfile_from_block): Add function comment. | |
1075 | * symtab.c (lookup_symbol_in_language): Update function comment. | |
1076 | (lookup_symbol, lookup_language_this): Ditto. | |
1077 | (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto. | |
1078 | (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto. | |
1079 | (basic_lookup_symbol_nonlocal): Ditto. | |
1080 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1081 | (lookup_transparent_type, lookup_block_symbol): Ditto. | |
1082 | ||
ff6c39cf DE |
1083 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1084 | ||
1085 | * symtab.c (types_info): Delete forward decl. | |
1086 | (functions_info, variables_info, sources_info): Ditto. | |
1087 | (_initialize_symtab): Rewrite forward decl to use | |
1088 | initialize_file_ftype. | |
1089 | ||
ec201f0c DE |
1090 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1091 | ||
1092 | * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. | |
1093 | ||
ca040673 DE |
1094 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1095 | ||
1096 | * dwarf2read.c (process_structure_scope): Remove second (nested) copy | |
1097 | of local var child_die. | |
1098 | ||
6f259a23 DB |
1099 | 2014-10-24 Don Breazeal <donb@codesourcery.com> |
1100 | ||
1101 | * infrun.c (follow_fork_inferior): Update fork message printing | |
1102 | to use target_terminal_ours_for_output instead of | |
1103 | target_terminal_ours, to use _() for all format strings, to print | |
1104 | "vfork" instead of "fork" for vforks, and to add a detach message. | |
1105 | (handle_vfork_child_exec_or_exit): Update message printing to use | |
1106 | target_terminal_ours_for_output instead of target_terminal_ours, to | |
1107 | use _() for all format strings, and to fix some formatting. | |
1108 | ||
09dd9a69 PA |
1109 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1110 | ||
1111 | * Makefile.in (ALLDEPFILES): Remove vax-nat.c. | |
1112 | * NEWS (Removed targets): Add VAX BSD and VAX Ultrix. | |
1113 | * config/vax/vax.mh: Delete. | |
1114 | * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the | |
1115 | obsolete configurations section. | |
1116 | * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix. | |
1117 | * vax-nat.c: Delete file. | |
1118 | ||
5ab806de PA |
1119 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1120 | ||
1121 | * NEWS (Removed targets): Add OS/arch column. | |
1122 | ||
3433cfa5 SC |
1123 | 2014-10-24 Siva Chandra Reddy <sivachandra@google.com> |
1124 | ||
1125 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE | |
1126 | on the arg type of a constructor only if it is of reference type. | |
1127 | ||
96ba4233 SL |
1128 | 2014-10-23 Sandra Loosemore <sandra@codesourcery.com> |
1129 | ||
1130 | * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field | |
1131 | accessors and constants from nios2 opcodes update. | |
1132 | (nios2_get_next_pc): Likewise. | |
1133 | ||
28153fd3 DE |
1134 | 2014-10-19 Doug Evans <xdje42@gmail.com> |
1135 | ||
1136 | * gdbthread.h (set_running): Fix comment. | |
1137 | (set_executing, finish_thread_state): Fix comment. | |
1138 | ||
fc9b8e47 DE |
1139 | 2014-10-18 Doug Evans <xdje42@gmail.com> |
1140 | ||
1141 | * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static. | |
1142 | ||
4ffbba72 DE |
1143 | 2014-10-17 Doug Evans <dje@google.com> |
1144 | ||
1145 | * NEWS: Mention new event gdb.clear_objfiles. | |
1146 | * python/py-event.h (emit_clear_objfiles_event): Clear | |
1147 | * python/py-events.h (events_object): New member clear_objfiles. | |
1148 | * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles | |
1149 | event. | |
1150 | * python/py-inferior.c (python_new_objfile): If objfile is NULL, | |
1151 | emit clear_objfiles event. | |
1152 | * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New | |
1153 | function. | |
1154 | (emit_clear_objfiles_event): New function. | |
1155 | (clear_objfiles): New event. | |
1156 | * python/python-internal.h (gdbpy_initialize_clear_objfiles_event): | |
1157 | Declare. | |
1158 | * python/python.c (_initialize_python): Call | |
1159 | gdbpy_initialize_clear_objfiles_event. | |
1160 | ||
d096d8c1 DE |
1161 | 2014-10-17 Doug Evans <dje@google.com> |
1162 | ||
1163 | * NEWS: Mention new gdb.Objfile.progspace attribute. | |
1164 | * python/py-objfile.c (objfpy_get_progspace): New function. | |
1165 | (objfile_getset): New entry for "progspace". | |
1166 | ||
6c4486e6 PA |
1167 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1168 | ||
1169 | PR gdb/17471 | |
1170 | * infcmd.c (strip_bg_char): Change prototype and rewrite. Now | |
1171 | returns a copy of the input. | |
1172 | (run_command_1, continue_command, step_1, jump_command) | |
1173 | (signal_command, until_command, advance_command, finish_command) | |
1174 | (attach_command): Adjust and install a cleanup to free the | |
1175 | stripped args. | |
1176 | ||
0ff33695 PA |
1177 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1178 | ||
1179 | PR gdb/17300 | |
1180 | * infcmd.c (continue_1): If continuing all threads in the | |
1181 | foreground, make sure the inferior's terminal settings are put in | |
1182 | effect. | |
1183 | ||
6fdebc3d PA |
1184 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1185 | ||
1186 | PR gdb/17472 | |
1187 | * annotate.c (annotate_breakpoints_invalid): Use | |
1188 | target_terminal_our_for_output instead of target_terminal_ours. | |
1189 | Give back the terminal to the target. | |
1190 | (annotate_frames_invalid): Likewise. | |
1191 | ||
5842f62a PA |
1192 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1193 | ||
1194 | * target.c (enum terminal_state): New enum. | |
1195 | (terminal_state): New global. | |
1196 | (target_terminal_init): New function. | |
1197 | (target_terminal_inferior): Skip if inferior already owns the | |
1198 | terminal. | |
1199 | (target_terminal_ours, target_terminal_ours_for_output): New | |
1200 | functions. | |
1201 | * target.h (target_terminal_init): Convert to function prototype. | |
1202 | (target_terminal_ours_for_output): Convert to function prototype | |
1203 | and tweak comment. | |
1204 | (target_terminal_ours): Convert to function prototype and tweak | |
1205 | comment. | |
1206 | * windows-nat.c (do_initial_windows_stuff): Call | |
1207 | target_terminal_init instead of child_terminal_init_with_pgrp. | |
1208 | ||
32a8097b PA |
1209 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1210 | ||
1211 | * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o. | |
1212 | (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h. | |
1213 | (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and | |
1214 | solib-osf.c. | |
1215 | * NEWS: Mention that support for alpha*-*-osf* has been removed. | |
1216 | * ada-lang.h [__alpha__ && __osf__] | |
1217 | (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete. | |
1218 | * alpha-nat.c, alpha-osf1-tdep.c: Delete files. | |
1219 | * alpha-tdep.c (alpha_gdbarch_init): Remove reference to | |
1220 | GDB_OSABI_OSF1. | |
1221 | * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete | |
1222 | files. | |
1223 | * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh) | |
1224 | (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete. | |
1225 | * configure: Regenerate. | |
1226 | * configure.ac: Remove references to osf. | |
1227 | * configure.host: Handle alpha*-*-osf* in the obsolete hosts | |
1228 | section. Remove all other references to osf. | |
1229 | * configure.tgt: Add alpha*-*-osf* to the obsolete targets section. | |
1230 | Remove all other references to osf. | |
1231 | * dec-thread.c: Delete file. | |
1232 | * defs.h (GDB_OSABI_OSF1): Delete. | |
1233 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally | |
1234 | defined. | |
1235 | * osabi.c (gdb_osabi_names): Delete "OSF/1". | |
1236 | * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]: | |
1237 | Delete code. | |
1238 | (unconditionally_kill_inferior) | |
1239 | [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code. | |
1240 | * solib-osf.c: Delete file. | |
1241 | ||
80134cf5 PA |
1242 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1243 | ||
1244 | * remote.c (clear_threads_listing_context): Move higher up, out of | |
1245 | the HAVE_LIBEXPAT guard. | |
1246 | ||
89c7137f TG |
1247 | 2014-10-16 Tristan Gingold <gingold@adacore.com> |
1248 | ||
1249 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers) | |
1250 | (i386_darwin_store_inferior_registers): Sanitize gs and fs values | |
1251 | on amd64. | |
1252 | ||
44ee4a52 PA |
1253 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1254 | ||
1255 | * dec-thread.c (dec_thread_count_gdb_threads) | |
1256 | (dec_thread_add_gdb_thread): Delete. | |
1257 | (dec_thread_update_thread_list): Delete. | |
1258 | (dec_thread_find_new_threads): Rename to ... | |
1259 | (dec_thread_update_thread_list): ... this. Delete GDB-size | |
1260 | threads that are no longer found in dec_thread_list. | |
1261 | (resync_thread_list): Delete. | |
1262 | (dec_thread_wait): Call dec_thread_update_thread_list instead of | |
1263 | resync_thread_list. | |
1264 | ||
ab970af1 PA |
1265 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1266 | ||
1267 | * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro. | |
1268 | * remote.c (remote_update_thread_list): Skip calling prune_threads | |
1269 | if any thread listing method is supported, and instead walk over | |
1270 | the set of remote threads listed, deleting those that are not | |
1271 | found in GDB's thread list. | |
1272 | ||
e8032dde PA |
1273 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1274 | ||
1275 | * ada-tasks.c (print_ada_task_info, task_command_1): Adjust. | |
1276 | * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ... | |
1277 | (bsd_uthread_update_thread_list): ... this. Call prune_threads. | |
1278 | (bsd_uthread_target): Adjust. | |
1279 | * corelow.c (core_open): Adjust. | |
1280 | * dec-thread.c (dec_thread_find_new_threads): Update comment. | |
1281 | (dec_thread_update_thread_list): New function. | |
1282 | (init_dec_thread_ops): Adjust. | |
1283 | * gdbthread.h (prune_threads): New declaration. | |
1284 | * linux-thread-db.c (thread_db_find_new_threads): Rename to ... | |
1285 | (thread_db_update_thread_list): ... this. Call prune_threads. | |
1286 | (init_thread_db_ops): Adjust. | |
1287 | * nto-procfs.c (procfs_find_new_threads): Rename to ... | |
1288 | (procfs_update_thread_list): ... this. Call prune_threads. | |
1289 | (procfs_attach, procfs_create_inferior, init_procfs_targets): | |
1290 | Adjust. | |
1291 | * obsd-nat.c (obsd_find_new_threads): Rename to ... | |
1292 | (obsd_update_thread_list): ... this. Call prune_threads. | |
1293 | (obsd_add_target): Adjust. | |
1294 | * procfs.c (procfs_target): Adjust. | |
1295 | (procfs_notice_thread): Update comment. | |
1296 | (procfs_find_new_threads): Rename to ... | |
1297 | (procfs_update_thread_list): ... this. Call prune_threads. | |
1298 | * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update | |
1299 | comment. | |
1300 | (ravenscar_wait): Adjust. | |
1301 | (ravenscar_find_new_threads): Rename to ... | |
1302 | (ravenscar_update_thread_list): ... this. Call prune_threads. | |
1303 | (init_ravenscar_thread_ops): Adjust. | |
1304 | * record-btrace.c (record_btrace_find_new_threads): Rename to ... | |
1305 | (record_btrace_update_thread_list): ... this. Adjust comment. | |
1306 | (init_record_btrace_ops): Adjust. | |
1307 | * remote.c (remote_threads_info): Rename to ... | |
1308 | (remote_update_thread_list): ... this. Call prune_threads. | |
1309 | (remote_start_remote, extended_remote_attach_1, init_remote_ops): | |
1310 | Adjust. | |
1311 | * sol-thread.c (check_for_thread_db): Adjust. | |
1312 | (sol_find_new_threads_callback): Rename to ... | |
1313 | (sol_update_thread_list_callback): ... this. | |
1314 | (sol_find_new_threads): Rename to ... | |
1315 | (sol_update_thread_list): ... this. Call prune_threads. Adjust. | |
1316 | (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust. | |
1317 | * target-delegates.c: Regenerate. | |
1318 | * target.c (target_find_new_threads): Rename to ... | |
1319 | (target_update_thread_list): ... this. | |
1320 | * target.h (struct target_ops): Rename to_find_new_threads field | |
1321 | to to_update_thread_list. | |
1322 | (target_find_new_threads): Rename to ... | |
1323 | (target_update_thread_list): ... this. | |
1324 | * thread.c (prune_threads): Make extern. | |
1325 | (update_thread_list): Adjust. | |
1326 | ||
6dc54d91 PA |
1327 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1328 | ||
1329 | * remote.c (remote_get_threadlist, remote_threadlist_iterator): | |
1330 | Add describing comment. Return -1 if the qL packet is not | |
1331 | supported. | |
1332 | (struct thread_item, thread_item_t): Move higher up in | |
1333 | the file. Add comments. | |
1334 | (struct threads_parsing_context): Move higher up in | |
1335 | the file, add comments, and remote to ... | |
1336 | (struct threads_listing_context): ... this. | |
1337 | (remote_newthread_step): Don't add the thread to GDB's thread | |
1338 | database here. Instead push it to the thread_listing_context | |
1339 | list. | |
1340 | (remote_find_new_threads): Rename to ... | |
1341 | (remote_get_threads_with_ql): ... this. Add target_ops and | |
1342 | targets_listing_context parameters. Pass down context. | |
1343 | (start_thread): Adjust. | |
1344 | (clear_threads_parsing_context): Rename to ... | |
1345 | (clear_threads_listing_context): ... this. | |
1346 | (remote_get_threads_with_qxfer): New, with parts salvaged from old | |
1347 | remote_threads_info. | |
1348 | (remote_get_threads_with_qthreadinfo): Ditto. | |
1349 | (remote_threads_info): Reimplement. | |
1350 | ||
36728e82 PA |
1351 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1352 | ||
1353 | * infrun.c (resume): Don't force displaced-stepping for all | |
1354 | single-steps on software single-stepping archs. | |
1355 | ||
34b7e8a6 PA |
1356 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1357 | ||
1358 | * breakpoint.c (single_step_breakpoints): Delete global. | |
1359 | (insert_single_step_breakpoint): Adjust to store the breakpoint | |
1360 | pointer in the current thread. | |
1361 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
1362 | (cancel_single_step_breakpoints): Delete functions. | |
1363 | (breakpoint_has_location_inserted_here): Make extern. | |
1364 | (single_step_breakpoint_inserted_here_p): Adjust to walk the | |
1365 | breakpoint list. | |
1366 | * breakpoint.h (breakpoint_has_location_inserted_here): New | |
1367 | declaration. | |
1368 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
1369 | (cancel_single_step_breakpoints): Remove declarations. | |
1370 | * gdbthread.h (struct thread_control_state) | |
1371 | <single_step_breakpoints>: New field. | |
1372 | (delete_single_step_breakpoints) | |
1373 | (thread_has_single_step_breakpoints_set) | |
1374 | (thread_has_single_step_breakpoint_here): New declarations. | |
1375 | * infrun.c (follow_exec): Also clear the single-step breakpoints. | |
1376 | (singlestep_breakpoints_inserted_p, singlestep_ptid) | |
1377 | (singlestep_pc): Delete globals. | |
1378 | (infrun_thread_ptid_changed): Remove references to removed | |
1379 | globals. | |
1380 | (resume_cleanups): Delete the current thread's single-step | |
1381 | breakpoints. | |
1382 | (maybe_software_singlestep): Remove references to removed globals. | |
1383 | (resume): Adjust to use thread_has_single_step_breakpoints_set and | |
1384 | delete_single_step_breakpoints. | |
1385 | (init_wait_for_inferior): Remove references to removed globals. | |
1386 | (delete_thread_infrun_breakpoints): Delete the thread's | |
1387 | single-step breakpoints too. | |
1388 | (delete_just_stopped_threads_infrun_breakpoints): Don't delete | |
1389 | single-step breakpoints here. | |
1390 | (delete_stopped_threads_single_step_breakpoints): New function. | |
1391 | (adjust_pc_after_break): Adjust to use | |
1392 | thread_has_single_step_breakpoints_set. | |
1393 | (handle_inferior_event): Remove references to removed globals. | |
1394 | Use delete_stopped_threads_single_step_breakpoints. | |
1395 | (handle_signal_stop): Adjust to per-thread single-step | |
1396 | breakpoints. Swap test order to do cheaper tests first. | |
1397 | (switch_back_to_stepped_thread): Extend debug output. Remove | |
1398 | references to removed globals. | |
1399 | * record-full.c (record_full_wait_1): Adjust to per-thread | |
1400 | single-step breakpoints. | |
1401 | * thread.c (delete_single_step_breakpoints) | |
1402 | (thread_has_single_step_breakpoints_set) | |
1403 | (thread_has_single_step_breakpoint_here): New functions. | |
1404 | (clear_thread_inferior_resources): Also delete the thread's | |
1405 | single-step breakpoints. | |
1406 | ||
5b834a0a PA |
1407 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1408 | ||
1409 | * thread.c (delete_thread_breakpoint): New function. | |
1410 | (delete_step_resume_breakpoint) | |
1411 | (delete_exception_resume_breakpoint): Use it. | |
1412 | (delete_at_next_stop): New function. | |
1413 | (clear_thread_inferior_resources): Use delete_at_next_stop. | |
1414 | ||
a1fd2fa5 PA |
1415 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1416 | ||
1417 | * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ... | |
1418 | (breakpoint_inserted_here_p): ... here. Remove special case for | |
1419 | software single-step breakpoints. | |
1420 | (find_non_raw_software_breakpoint_inserted_here): Inline ... | |
1421 | (software_breakpoint_inserted_here_p): ... here. Remove special | |
1422 | case for software single-step breakpoints. | |
1423 | (bp_target_info_copy_insertion_state) | |
1424 | (deprecated_insert_raw_breakpoint) | |
1425 | (deprecated_remove_raw_breakpoint): Delete functions. | |
1426 | * breakpoint.h (deprecated_insert_raw_breakpoint) | |
1427 | (deprecated_remove_raw_breakpoint): Remove declarations. | |
1428 | ||
7c16b83e PA |
1429 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1430 | ||
1431 | PR breakpoints/9649 | |
1432 | * breakpoint.c (single_step_breakpoints, single_step_gdbarch): | |
1433 | Delete array globals. | |
1434 | (single_step_breakpoints): New global. | |
1435 | (breakpoint_xfer_memory): Remove special handling for single-step | |
1436 | breakpoints. | |
1437 | (update_breakpoints_after_exec): Delete bp_single_step | |
1438 | breakpoints. | |
1439 | (detach_breakpoints): Remove special handling for single-step | |
1440 | breakpoints. | |
1441 | (breakpoint_init_inferior): Delete bp_single_step breakpoints. | |
1442 | (bpstat_stop_status): Add comment. | |
1443 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
1444 | (adjust_breakpoint_address, init_bp_location): Handle | |
1445 | bp_single_step. | |
1446 | (new_single_step_breakpoint): New function. | |
1447 | (set_momentary_breakpoint, bkpt_remove_location): Remove special | |
1448 | handling for single-step breakpoints. | |
1449 | (insert_single_step_breakpoint, single_step_breakpoints_inserted) | |
1450 | (remove_single_step_breakpoints, cancel_single_step_breakpoints): | |
1451 | Rewrite. | |
1452 | (detach_single_step_breakpoints, find_single_step_breakpoint): | |
1453 | Delete functions. | |
1454 | (breakpoint_has_location_inserted_here): New function. | |
1455 | (single_step_breakpoint_inserted_here_p): Rewrite. | |
1456 | * breakpoint.h: Remove FIXME. | |
1457 | (enum bptype) <bp_single_step>: New enum value. | |
1458 | (insert_single_step_breakpoint): Update comment. | |
1459 | * infrun.c (resume_cleanups) | |
1460 | (delete_step_thread_step_resume_breakpoint): Remove single-step | |
1461 | breakpoints. | |
1462 | (fetch_inferior_event): Install a cleanup that removes infrun | |
1463 | breakpoints. | |
1464 | (switch_back_to_stepped_thread) <expect thread advanced also>: | |
1465 | Clear step-over info. | |
1466 | ||
0cbcdb96 PA |
1467 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1468 | ||
1469 | * infrun.c (delete_step_resume_breakpoint_callback): Delete. | |
1470 | (delete_thread_infrun_breakpoints): New function, with parts | |
1471 | salvaged from delete_step_resume_breakpoint_callback. | |
1472 | (delete_step_thread_step_resume_breakpoint): Delete. | |
1473 | (for_each_just_stopped_thread_callback_func): New typedef. | |
1474 | (for_each_just_stopped_thread): New function. | |
1475 | (delete_just_stopped_threads_infrun_breakpoints): New function. | |
1476 | (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ... | |
1477 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): | |
1478 | ... this. Adjust. | |
1479 | (wait_for_inferior, fetch_inferior_event): Adjust to renames. | |
1480 | ||
963f9c80 PA |
1481 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1482 | ||
1483 | * breakpoint.c (should_be_inserted): Don't insert watchpoints if | |
1484 | trying to step past a non-steppable watchpoint. | |
1485 | * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New | |
1486 | field. | |
1487 | * infrun.c (struct step_over_info): Add new field | |
1488 | 'nonsteppable_watchpoint_p' and adjust comments. | |
1489 | (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter. | |
1490 | Adjust. | |
1491 | (clear_step_over_info): Clear nonsteppable_watchpoint_p as well. | |
1492 | (stepping_past_nonsteppable_watchpoint): New function. | |
1493 | (step_over_info_valid_p): Also return true if stepping past a | |
1494 | nonsteppable watchpoint. | |
1495 | (proceed): Adjust call to set_step_over_info. Remove reference to | |
1496 | init_infwait_state. | |
1497 | (init_wait_for_inferior): Remove reference to init_infwait_state. | |
1498 | (waiton_ptid): Delete global. | |
1499 | (struct execution_control_state) | |
1500 | <stepped_after_stopped_by_watchpoint>: Delete field. | |
1501 | (wait_for_inferior, fetch_inferior_event): Always pass | |
1502 | minus_one_ptid to target_wait. | |
1503 | (init_thread_stepping_state): Clear 'stepping_over_watchpoint' | |
1504 | field. | |
1505 | (init_infwait_state): Delete function. | |
1506 | (handle_inferior_event): Remove infwait_state handling. | |
1507 | (handle_signal_stop) <watchpoints handling>: Adjust after | |
1508 | stepped_after_stopped_by_watchpoint removal. Don't remove | |
1509 | breakpoints here nor set infwait_state. Set the thread's | |
1510 | stepping_over_watchpoint flag, and call keep_going instead. | |
1511 | (keep_going): Handle stepping_over_watchpoint. Adjust | |
1512 | set_step_over_info calls. | |
1513 | * infrun.h (stepping_past_nonsteppable_watchpoint): Declare | |
1514 | function. | |
1515 | ||
6cc83d2a PA |
1516 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1517 | ||
1518 | * infrun.c (step_over_info_valid_p): New function. | |
1519 | (resume): Use step_over_info_valid_p instead of checking the | |
1520 | threads's trap_expected flag. | |
1521 | ||
6979730b DE |
1522 | 2014-10-15 Doug Evans <dje@google.com> |
1523 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
1524 | ||
1525 | PR python/17364 | |
1526 | * python/lib/gdb/__init__.py (packages): Add "printer". | |
1527 | * python/lib/gdb/command/bound_registers.py: Moved to ... | |
1528 | * python/lib/gdb/printer/bound_registers.py: ... here. | |
1529 | Add printer to global set of builtin printers. Rename printer from | |
1530 | "bound" to "mpx_bound128". | |
1531 | * python/lib/gdb/printing.py (_builtin_pretty_printers): New global, | |
1532 | registered as global "builtin" printer. | |
1533 | (add_builtin_pretty_printer): New function. | |
1534 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add | |
1535 | gdb/printer/__init__.py. | |
1536 | ||
35a49624 IB |
1537 | 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org> |
1538 | ||
1539 | * Makefile.in (SFILES): Remove d-support.c. | |
1540 | (COMMON_OBS): Remove d-support.o. | |
1541 | * d-lang.h (d_parse_symbol): Remove declaration. | |
1542 | * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols. | |
1543 | * d-support.c: Remove file. | |
1544 | ||
8fa0c4f8 AA |
1545 | 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com> |
1546 | ||
1547 | * gdb/infrun.c (process_event_stop_test): Apply | |
1548 | gdbarch_addr_bits_remove to longjmp resume address. | |
1549 | ||
3666da81 PA |
1550 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1551 | ||
1552 | * regformats/microblaze.dat: Delete file. | |
1553 | ||
449aa9df AKA |
1554 | 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com> |
1555 | ||
1556 | * features/Makefile (microblaze-expedite): Replace pc with rpc. | |
1557 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
1558 | ||
ebb8ece2 SC |
1559 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
1560 | ||
1561 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes | |
1562 | as non-trivial. | |
1563 | ||
82c48ac7 SC |
1564 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
1565 | ||
1566 | PR c++/13403 | |
1567 | PR c++/15154 | |
1568 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors | |
1569 | with qualified args. | |
1570 | ||
c40cc657 JB |
1571 | 2014-10-14 Joel Brobecker <brobecker@adacore.com> |
1572 | ||
1573 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling | |
1574 | of the case where the second operand is a pointer. | |
1575 | <BINOP_SUB>: Likewise. | |
1576 | ||
0ea5cda8 SDJ |
1577 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
1578 | ||
1579 | * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore | |
1580 | only if it is not NULL. | |
1581 | (bkpt_probe_remove_location): Likewise, for clear_semaphore. | |
1582 | * probe.h (struct probe_ops) <set_semaphore>: Update comment. | |
1583 | (struct probe_ops) <clear_semaphore>: Likewise. | |
1584 | * tracepoint.c (start_tracing): Call set_semaphore only if it is | |
1585 | not NULL. | |
1586 | (stop_tracing): Likewise, for clear_semaphore. | |
1587 | ||
f7088df3 SDJ |
1588 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
1589 | ||
1590 | * stap-probe.c (stap_parse_argument): Initialize expout explicitly | |
1591 | using language_c, instead of current_language. | |
1592 | ||
4e1bbde0 DE |
1593 | 2014-10-13 Doug Evans <dje@google.com> |
1594 | ||
6ff5a0f6 | 1595 | * python/py-objfile.c (objfpy_initialize): New function. |
4e1bbde0 | 1596 | (objfpy_new, objfile_to_objfile_object): Call it. |
6ff5a0f6 | 1597 | * python/py-progspace.c (pspy_initialize): New function. |
4e1bbde0 DE |
1598 | (pspy_new, pspace_to_pspace_object): Call it. |
1599 | ||
c780cc2f JK |
1600 | 2014-10-13 Miroslav Franc <mfranc@redhat.com> |
1601 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
1602 | ||
1603 | Fix "save breakpoints" for "catch" command. | |
1604 | * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing | |
1605 | newline. | |
1606 | ||
99894e11 JK |
1607 | 2014-10-12 Miroslav Franc <mfranc@redhat.com> |
1608 | ||
1609 | Fix "save breakpoints" for "disable $bpnum" command. | |
1610 | * breakpoint.c (save_breakpoints): Add $bpnum for disable. | |
1611 | ||
3831839c PA |
1612 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1613 | ||
1614 | * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. | |
1615 | (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. | |
1616 | (HFILES_NO_SRCDIR): Remove solib-irix.h. | |
1617 | * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* | |
1618 | and been removed. | |
1619 | * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. | |
1620 | * configure.ac: Remove references to IRIX. | |
1621 | * configure.host: Add *-*-irix* to the obsolete hosts section. | |
1622 | Remove all other references to irix. | |
1623 | * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: | |
1624 | Delete files. | |
1625 | ||
cc3afae2 AKA |
1626 | 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com> |
1627 | ||
1628 | * microblaze-tdep.c (microblaze_gdbarch_init): If the description | |
1629 | isn't valid, release the tdesc arch data and return NULL. | |
1630 | ||
cdfa0b0a PA |
1631 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1632 | ||
1633 | * linux-tdep.c: Include observer.h. | |
1634 | (linux_inferior_data): New global. | |
1635 | (struct linux_info): New structure. | |
1636 | (invalidate_linux_cache_inf, linux_inferior_data_cleanup) | |
1637 | (get_linux_inferior_data): New functions. | |
1638 | (linux_vsyscall_range): Rename to ... | |
1639 | (linux_vsyscall_range_raw): ... this. | |
1640 | (linux_vsyscall_range): New function; handles caching. | |
1641 | (_initialize_linux_tdep): Register linux_inferior_data. Install | |
1642 | inferior_exit and inferior_appeared observers. | |
1643 | ||
8b9a549d PA |
1644 | 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
1645 | Pedro Alves <palves@redhat.com> | |
1646 | ||
1647 | PR symtab/14466 | |
1648 | * solib-svr4.c (svr4_read_so_list): Rename to ... | |
1649 | (svr4_current_sos_1): ... this and change the function comment. | |
1650 | (svr4_current_sos): New function. | |
1651 | ||
3437254d PA |
1652 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1653 | ||
1654 | * arch-utils.c (default_vsyscall_range): New function. | |
1655 | * arch-utils.h (default_vsyscall_range): New declaration. | |
1656 | * gdbarch.sh (vsyscall_range): New hook. | |
1657 | * gdbarch.h, gdbarch.c: Regenerate. | |
1658 | * linux-tdep.c (linux_vsyscall_range): New function. | |
1659 | (linux_init_abi): Install linux_vsyscall_range as | |
1660 | vsyscall_range gdbarch hook. | |
1661 | * memrange.c (address_in_mem_range): New function. | |
1662 | * memrange.h (address_in_mem_range): New declaration. | |
1663 | * symfile-mem.c (find_vdso_size): Delete function. | |
1664 | (add_vsyscall_page): Use gdbarch_vsyscall_range. | |
1665 | ||
31cc0b80 PA |
1666 | 2014-10-10 Pedro Alves <palves@redhat.com> |
1667 | ||
1668 | * infrun.c (normal_stop): Fix typo in comment. | |
1669 | ||
3e3286a2 SDJ |
1670 | 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com> |
1671 | ||
1672 | PR tdep/9390 | |
1673 | * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible | |
1674 | typo when using logical AND to determine instruction type. | |
1675 | ||
fcbdedf8 YQ |
1676 | 2014-10-09 Yao Qi <yao@codesourcery.com> |
1677 | ||
1678 | * infrun.c (handle_signal_stop): Remove local variable | |
1679 | 'printed'. | |
1680 | ||
db984616 SS |
1681 | 2014-10-08 Stan Shebs <stan@codesourcery.com> |
1682 | ||
1683 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. | |
1684 | ||
3ba37e6c GB |
1685 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
1686 | ||
1687 | * fbsd-tdep.c: Do not include string.h or gdb_assert.h. | |
1688 | ||
a442d071 GB |
1689 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
1690 | ||
1691 | * common/common-defs.h: Include common-exceptions.h. | |
1692 | * exceptions.h: Do not include common-exceptions.h. | |
1693 | ||
6f1947e8 GB |
1694 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
1695 | ||
1696 | * common/common-defs.h: Include cleanups.h. | |
1697 | * common/common-exceptions.c: Do not include cleanups.h. | |
1698 | * utils.h: Likewise. | |
1699 | ||
c765fdb9 GB |
1700 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
1701 | ||
1702 | * ada-lang.c: Do not include exceptions.h. | |
1703 | * ada-valprint.c: Likewise. | |
1704 | * amd64-tdep.c: Likewise. | |
1705 | * auto-load.c: Likewise. | |
1706 | * block.c: Likewise. | |
1707 | * break-catch-throw.c: Likewise. | |
1708 | * breakpoint.c: Likewise. | |
1709 | * btrace.c: Likewise. | |
1710 | * c-lang.c: Likewise. | |
1711 | * cli/cli-cmds.c: Likewise. | |
1712 | * cli/cli-interp.c: Likewise. | |
1713 | * cli/cli-script.c: Likewise. | |
1714 | * completer.c: Likewise. | |
1715 | * corefile.c: Likewise. | |
1716 | * corelow.c: Likewise. | |
1717 | * cp-abi.c: Likewise. | |
1718 | * cp-support.c: Likewise. | |
1719 | * cp-valprint.c: Likewise. | |
1720 | * darwin-nat.c: Likewise. | |
1721 | * dwarf2-frame-tailcall.c: Likewise. | |
1722 | * dwarf2-frame.c: Likewise. | |
1723 | * dwarf2loc.c: Likewise. | |
1724 | * dwarf2read.c: Likewise. | |
1725 | * eval.c: Likewise. | |
1726 | * event-loop.c: Likewise. | |
1727 | * event-top.c: Likewise. | |
1728 | * f-valprint.c: Likewise. | |
1729 | * frame-unwind.c: Likewise. | |
1730 | * frame.c: Likewise. | |
1731 | * gdbtypes.c: Likewise. | |
1732 | * gnu-v2-abi.c: Likewise. | |
1733 | * gnu-v3-abi.c: Likewise. | |
1734 | * guile/scm-auto-load.c: Likewise. | |
1735 | * guile/scm-breakpoint.c: Likewise. | |
1736 | * guile/scm-cmd.c: Likewise. | |
1737 | * guile/scm-frame.c: Likewise. | |
1738 | * guile/scm-lazy-string.c: Likewise. | |
1739 | * guile/scm-param.c: Likewise. | |
1740 | * guile/scm-symbol.c: Likewise. | |
1741 | * guile/scm-type.c: Likewise. | |
1742 | * hppa-hpux-tdep.c: Likewise. | |
1743 | * i386-tdep.c: Likewise. | |
1744 | * inf-loop.c: Likewise. | |
1745 | * infcall.c: Likewise. | |
1746 | * infcmd.c: Likewise. | |
1747 | * infrun.c: Likewise. | |
1748 | * interps.c: Likewise. | |
1749 | * interps.h: Likewise. | |
1750 | * jit.c: Likewise. | |
1751 | * linespec.c: Likewise. | |
1752 | * linux-nat.c: Likewise. | |
1753 | * linux-thread-db.c: Likewise. | |
1754 | * m32r-rom.c: Likewise. | |
1755 | * main.c: Likewise. | |
1756 | * memory-map.c: Likewise. | |
1757 | * mi/mi-cmd-break.c: Likewise. | |
1758 | * mi/mi-cmd-stack.c: Likewise. | |
1759 | * mi/mi-interp.c: Likewise. | |
1760 | * mi/mi-main.c: Likewise. | |
1761 | * monitor.c: Likewise. | |
1762 | * nto-procfs.c: Likewise. | |
1763 | * objc-lang.c: Likewise. | |
1764 | * p-valprint.c: Likewise. | |
1765 | * parse.c: Likewise. | |
1766 | * ppc-linux-tdep.c: Likewise. | |
1767 | * printcmd.c: Likewise. | |
1768 | * probe.c: Likewise. | |
1769 | * python/py-auto-load.c: Likewise. | |
1770 | * python/py-breakpoint.c: Likewise. | |
1771 | * python/py-cmd.c: Likewise. | |
1772 | * python/py-finishbreakpoint.c: Likewise. | |
1773 | * python/py-frame.c: Likewise. | |
1774 | * python/py-framefilter.c: Likewise. | |
1775 | * python/py-function.c: Likewise. | |
1776 | * python/py-gdb-readline.c: Likewise. | |
1777 | * python/py-inferior.c: Likewise. | |
1778 | * python/py-infthread.c: Likewise. | |
1779 | * python/py-lazy-string.c: Likewise. | |
1780 | * python/py-linetable.c: Likewise. | |
1781 | * python/py-param.c: Likewise. | |
1782 | * python/py-prettyprint.c: Likewise. | |
1783 | * python/py-symbol.c: Likewise. | |
1784 | * python/py-type.c: Likewise. | |
1785 | * python/py-value.c: Likewise. | |
1786 | * python/python-internal.h: Likewise. | |
1787 | * python/python.c: Likewise. | |
1788 | * record-btrace.c: Likewise. | |
1789 | * record-full.c: Likewise. | |
1790 | * regcache.c: Likewise. | |
1791 | * remote-fileio.c: Likewise. | |
1792 | * remote-mips.c: Likewise. | |
1793 | * remote.c: Likewise. | |
1794 | * rs6000-aix-tdep.c: Likewise. | |
1795 | * rs6000-nat.c: Likewise. | |
1796 | * skip.c: Likewise. | |
1797 | * solib-darwin.c: Likewise. | |
1798 | * solib-dsbt.c: Likewise. | |
1799 | * solib-frv.c: Likewise. | |
1800 | * solib-ia64-hpux.c: Likewise. | |
1801 | * solib-spu.c: Likewise. | |
1802 | * solib-svr4.c: Likewise. | |
1803 | * solib.c: Likewise. | |
1804 | * spu-tdep.c: Likewise. | |
1805 | * stack.c: Likewise. | |
1806 | * stap-probe.c: Likewise. | |
1807 | * symfile-mem.c: Likewise. | |
1808 | * symmisc.c: Likewise. | |
1809 | * target.c: Likewise. | |
1810 | * thread.c: Likewise. | |
1811 | * top.c: Likewise. | |
1812 | * tracepoint.c: Likewise. | |
1813 | * tui/tui-interp.c: Likewise. | |
1814 | * typeprint.c: Likewise. | |
1815 | * utils.c: Likewise. | |
1816 | * valarith.c: Likewise. | |
1817 | * valops.c: Likewise. | |
1818 | * valprint.c: Likewise. | |
1819 | * value.c: Likewise. | |
1820 | * varobj.c: Likewise. | |
1821 | * windows-nat.c: Likewise. | |
1822 | * xml-support.c: Likewise. | |
1823 | ||
484933d1 MR |
1824 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
1825 | ||
1826 | * mips-tdep.c (add_offset_16): Rewrite to implement what the | |
1827 | name implies. | |
1828 | (extended_mips16_next_pc): Update accordingly. | |
1829 | ||
ab50adb6 MR |
1830 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
1831 | ||
1832 | * mips-tdep.c (mips16_instruction_is_compact_branch): New | |
1833 | function. | |
1834 | (micromips_instruction_is_compact_branch): Likewise. | |
1835 | (mips16_scan_prologue): Terminate scanning upon seeing a branch | |
1836 | or a compact jump, reaching a jump delay slot, or seeing a | |
1837 | second non-prologue instruction. | |
1838 | (micromips_scan_prologue): Also terminate scanning upon seeing a | |
1839 | compact branch or jump, or reaching a branch or jump delay slot. | |
1840 | (mips32_scan_prologue): Terminate scanning upon reaching a branch | |
1841 | or jump delay slot, or seeing a second non-prologue instruction. | |
1842 | (mips32_instruction_has_delay_slot): Retain instruction | |
1843 | examination code only, update arguments accordingly and move | |
1844 | instruction fetch pieces to... | |
1845 | (mips32_insn_at_pc_has_delay_slot): ... this new function. | |
1846 | (micromips_instruction_has_delay_slot): Likewise and to... | |
1847 | (micromips_insn_at_pc_has_delay_slot): ... this new function. | |
1848 | (mips16_instruction_has_delay_slot): Likewise and to... | |
1849 | (mips16_insn_at_pc_has_delay_slot): ... this new function. | |
1850 | (mips_single_step_through_delay): Update accordingly. | |
1851 | (mips_adjust_breakpoint_address): Likewise. | |
1852 | ||
ae790652 MR |
1853 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
1854 | ||
1855 | * mips-tdep.c (micromips_instruction_has_delay_slot): When | |
1856 | !mustbe32 also return 1 for 32-bit instructions. | |
1857 | (mips16_instruction_has_delay_slot): Likewise. Add an | |
1858 | explanatory comment. | |
1859 | ||
9b807e7b MR |
1860 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
1861 | ||
1862 | * elfread.c (elf_symtab_read): Also mark solib trampoline minimal | |
1863 | symbols special. | |
1864 | ||
0d5ed153 MR |
1865 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
1866 | ||
1867 | * breakpoint.h (bp_target_info): Add `reqstd_address' member, | |
1868 | update comments. | |
1869 | * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' | |
1870 | for the breakpoint's address. Don't preinitialize `placed_size'. | |
1871 | (insert_bp_location): Set `reqstd_address' rather than | |
1872 | `placed_address'. | |
1873 | (bp_target_info_copy_insertion_state): Also copy `placed_address'. | |
1874 | (bkpt_insert_location): Use `reqstd_address' for the breakpoint's | |
1875 | address. | |
1876 | (bkpt_remove_location): Likewise. | |
1877 | (deprecated_insert_raw_breakpoint): Likewise. | |
1878 | (deprecated_remove_raw_breakpoint): Likewise. | |
1879 | (find_single_step_breakpoint): Likewise. | |
1880 | * mem-break.c (default_memory_insert_breakpoint): Use | |
1881 | `reqstd_address' for the breakpoint's address. Don't set | |
1882 | `placed_address' or `placed_size' if breakpoint contents couldn't | |
1883 | have been determined. | |
1884 | * remote.c (remote_insert_breakpoint): Use `reqstd_address' for | |
1885 | the breakpoint's address. | |
1886 | (remote_insert_hw_breakpoint): Likewise. Don't set | |
1887 | `placed_address' or `placed_size' if breakpoint couldn't have been | |
1888 | set. | |
1889 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use | |
1890 | `reqstd_address' for the breakpoint's address. | |
1891 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. | |
1892 | * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. | |
1893 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. | |
1894 | * microblaze-linux-tdep.c | |
1895 | (microblaze_linux_memory_remove_breakpoint): Likewise. | |
1896 | * monitor.c (monitor_insert_breakpoint): Likewise. | |
1897 | * nto-procfs.c (procfs_insert_breakpoint): Likewise. | |
1898 | (procfs_insert_hw_breakpoint): Likewise. | |
1899 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. | |
1900 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
1901 | * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. | |
1902 | * remote-mips.c (mips_insert_breakpoint): Likewise. | |
1903 | * x86-nat.c (x86_insert_hw_breakpoint): Likewise. | |
1904 | ||
3e871532 LM |
1905 | 2014-10-03 Luis Machado <lgustavo@codesourcery.com> |
1906 | ||
1907 | * valops.c (value_assign): Check for bit field assignments | |
1908 | before calling architecture-specific register value | |
1909 | conversion functions. | |
1910 | ||
ec48dc8b PM |
1911 | 2014-10-03 Pierre Muller <muller@sourceware.org> |
1912 | ||
1913 | * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. | |
1914 | ||
b57bacec PA |
1915 | 2014-10-02 Pedro Alves <palves@redhat.com> |
1916 | ||
1917 | * breakpoint.c (breakpoints_should_be_inserted_now): Use | |
1918 | threads_are_executing. | |
1919 | * breakpoint.h (breakpoints_should_be_inserted_now): Add | |
1920 | describing comment. | |
1921 | * gdbthread.h (threads_are_executing): Declare. | |
1922 | (handle_signal_stop) <random signals>: Don't print about the | |
1923 | signal here if stopping. | |
1924 | (end_stepping_range): Don't notify observers here. | |
1925 | (normal_stop): Update the thread list. If stopped by a random | |
1926 | signal or a stepping range ended, notify observers. | |
1927 | * thread.c (threads_executing): New global. | |
1928 | (init_thread_list): Clear 'threads_executing'. | |
1929 | (set_executing): Set or clear 'threads_executing'. | |
1930 | (threads_are_executing): New function. | |
1931 | (update_threads_executing): New function. | |
1932 | (update_thread_list): Use it. | |
1933 | ||
13fd3ff3 PA |
1934 | 2014-10-02 Pedro Alves <palves@redhat.com> |
1935 | ||
1936 | PR breakpoints/17431 | |
1937 | * breakpoint.c (update_breakpoints_after_exec): Don't create | |
1938 | overlay, longjmp, std terminate nor exception breakpoints here. | |
1939 | ||
32990ada PA |
1940 | 2014-10-02 Pedro Alves <palves@redhat.com> |
1941 | ||
1942 | * gdbthread.h (any_thread_of_process, any_live_thread_of_process): | |
1943 | Adjust comments. | |
1944 | * inferior.c (find_inferior_for_program_space): Give preference to | |
1945 | the current inferior. | |
1946 | * inferior.h (find_inferior_for_program_space): Update comment. | |
1947 | * progspace.c (switch_to_program_space_and_thread): Prefer the | |
1948 | current inferior if it's bound to the program space requested. If | |
1949 | the inferior found doesn't have a PID yet, don't bother looking up | |
1950 | a thread. | |
1951 | * progspace.h (switch_to_program_space_and_thread): Adjust | |
1952 | comment. | |
1953 | * thread.c (any_thread_of_process, any_live_thread_of_process): | |
1954 | Give preference to the current thread. | |
1955 | ||
0fec99e8 PA |
1956 | 2014-10-01 Pedro Alves <palves@redhat.com> |
1957 | ||
1958 | * breakpoint.c (insert_bp_location): Error out if inserting a | |
1959 | software breakpoint at a read-only address. | |
1960 | * target.c (memory_xfer_check_region): New function, factored out | |
1961 | from ... | |
1962 | (memory_xfer_partial_1): ... this. Make the 'reg_len' local a | |
1963 | ULONGEST. | |
1964 | (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access | |
1965 | against the memory region attributes. | |
1966 | ||
2ddf4301 SM |
1967 | 2014-10-01 Simon Marchi <simon.marchi@ericsson.com> |
1968 | ||
1969 | * NEWS: Announce new exit-code field in -list-thread-groups | |
1970 | output. | |
1971 | * inferior.c (exit_inferior_1): Don't clear exit code. | |
1972 | (inferior_appeared): Clear exit code. | |
1973 | * mi/mi-main.c (print_one_inferior): Add printing of the exit | |
1974 | code. | |
1975 | ||
5fdeec1d PA |
1976 | 2014-10-01 Pedro Alves <palves@redhat.com> |
1977 | ||
1978 | * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS | |
1979 | GENERATED" along with emacs/vi read-only markers. | |
1980 | * regformats/aarch64.dat: Regenerate. | |
1981 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
1982 | * regformats/arm-with-neon.dat: Regenerate. | |
1983 | * regformats/arm-with-vfpv2.dat: Regenerate. | |
1984 | * regformats/arm-with-vfpv3.dat: Regenerate. | |
1985 | * regformats/i386/amd64-avx-linux.dat: Regenerate. | |
1986 | * regformats/i386/amd64-avx.dat: Regenerate. | |
1987 | * regformats/i386/amd64-avx512-linux.dat: Regenerate. | |
1988 | * regformats/i386/amd64-avx512.dat: Regenerate. | |
1989 | * regformats/i386/amd64-linux.dat: Regenerate. | |
1990 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
1991 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
1992 | * regformats/i386/amd64.dat: Regenerate. | |
1993 | * regformats/i386/i386-avx-linux.dat: Regenerate. | |
1994 | * regformats/i386/i386-avx.dat: Regenerate. | |
1995 | * regformats/i386/i386-avx512-linux.dat: Regenerate. | |
1996 | * regformats/i386/i386-avx512.dat: Regenerate. | |
1997 | * regformats/i386/i386-linux.dat: Regenerate. | |
1998 | * regformats/i386/i386-mmx-linux.dat: Regenerate. | |
1999 | * regformats/i386/i386-mmx.dat: Regenerate. | |
2000 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
2001 | * regformats/i386/i386-mpx.dat: Regenerate. | |
2002 | * regformats/i386/i386.dat: Regenerate. | |
2003 | * regformats/i386/x32-avx-linux.dat: Regenerate. | |
2004 | * regformats/i386/x32-avx.dat: Regenerate. | |
2005 | * regformats/i386/x32-avx512-linux.dat: Regenerate. | |
2006 | * regformats/i386/x32-avx512.dat: Regenerate. | |
2007 | * regformats/i386/x32-linux.dat: Regenerate. | |
2008 | * regformats/i386/x32.dat: Regenerate. | |
2009 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2010 | * regformats/mips-dsp-linux.dat: Regenerate. | |
2011 | * regformats/mips-linux.dat: Regenerate. | |
2012 | * regformats/mips64-dsp-linux.dat: Regenerate. | |
2013 | * regformats/mips64-linux.dat: Regenerate. | |
2014 | * regformats/nios2-linux.dat: Regenerate. | |
2015 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
2016 | * regformats/rs6000/powerpc-32l.dat: Regenerate. | |
2017 | * regformats/rs6000/powerpc-64l.dat: Regenerate. | |
2018 | * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. | |
2019 | * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. | |
2020 | * regformats/rs6000/powerpc-cell32l.dat: Regenerate. | |
2021 | * regformats/rs6000/powerpc-cell64l.dat: Regenerate. | |
2022 | * regformats/rs6000/powerpc-e500l.dat: Regenerate. | |
2023 | * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. | |
2024 | * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. | |
2025 | * regformats/s390-linux32.dat: Regenerate. | |
2026 | * regformats/s390-linux32v1.dat: Regenerate. | |
2027 | * regformats/s390-linux32v2.dat: Regenerate. | |
2028 | * regformats/s390-linux64.dat: Regenerate. | |
2029 | * regformats/s390-linux64v1.dat: Regenerate. | |
2030 | * regformats/s390-linux64v2.dat: Regenerate. | |
2031 | * regformats/s390-te-linux64.dat: Regenerate. | |
2032 | * regformats/s390x-linux64.dat: Regenerate. | |
2033 | * regformats/s390x-linux64v1.dat: Regenerate. | |
2034 | * regformats/s390x-linux64v2.dat: Regenerate. | |
2035 | * regformats/s390x-te-linux64.dat: Regenerate. | |
2036 | * regformats/tic6x-c62x-linux.dat: Regenerate. | |
2037 | * regformats/tic6x-c62x.dat: Regenerate. | |
2038 | * regformats/tic6x-c64x-linux.dat: Regenerate. | |
2039 | * regformats/tic6x-c64x.dat: Regenerate. | |
2040 | * regformats/tic6x-c64xp-linux.dat: Regenerate. | |
2041 | * regformats/tic6x-c64xp.dat: Regenerate. | |
2042 | ||
db74e4ba PA |
2043 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2044 | ||
2045 | * features/Makefile: Update comments. | |
2046 | (XMLTOC): List all xml files we build C files from. | |
2047 | (clean-cfiles): New rule. | |
2048 | ||
d63f2f84 PA |
2049 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2050 | ||
2051 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
2052 | * features/i386/amd64-avx512.c: Regenerate. | |
2053 | * features/i386/x32-avx512-linux.c: Regenerate. | |
2054 | * features/i386/x32-avx512.c: Regenerate. | |
2055 | ||
20ad026d PA |
2056 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2057 | ||
2058 | * features/Makefile (WHICH): Remove arm-with-m, | |
2059 | arm-with-m-fpa-layout and arm-with-m-vfp-d16. | |
2060 | ||
acc9fe45 PA |
2061 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2062 | ||
2063 | * features/Makefile (clean): New rule. | |
2064 | ||
e001e535 PA |
2065 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2066 | ||
2067 | * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) | |
2068 | (zmm14h): Add missing end quotes. | |
2069 | ||
bdc14417 PA |
2070 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2071 | ||
2072 | * features/aarch64-core.xml (cpsr): Change back to 32-bit. | |
2073 | * features/aarch64.c: Regenerate. | |
2074 | ||
d83ad864 DB |
2075 | 2014-09-30 Don Breazeal <donb@codesourcery.com> |
2076 | ||
2077 | * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent | |
2078 | code so as to work with follow_fork_inferior. | |
2079 | * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. | |
2080 | (inf_ttrace_create_inferior): Remove reference to | |
2081 | inf_ttrace_vfork_ppid. | |
2082 | (inf_ttrace_attach): Ditto. | |
2083 | (inf_ttrace_detach): Ditto. | |
2084 | (inf_ttrace_kill): Use current_inferior instead of | |
2085 | inf_ttrace_vfork_ppid. | |
2086 | (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report | |
2087 | TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the | |
2088 | inferior away from the parent. | |
2089 | * infrun.c (follow_fork): Call follow_fork_inferior instead of | |
2090 | target_follow_fork. | |
2091 | (follow_fork_inferior): New function. | |
2092 | (follow_inferior_reset_breakpoints): Make function static. | |
2093 | * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. | |
2094 | * linux-nat.c (linux_child_follow_fork): Move target-independent | |
2095 | code to infrun.c:follow_fork_inferior. | |
2096 | ||
29082443 AA |
2097 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2098 | ||
2099 | * gdbarch.sh (regset_from_core_section): Remove gdbarch method. | |
2100 | * gdbarch.c: Regenerate. | |
2101 | * gdbarch.h: Likewise. | |
2102 | * corelow.c (sniff_core_bfd): Drop presence check for deleted | |
2103 | gdbarch method 'regset_from_core_section'. | |
2104 | (get_core_register_section): Remove handling for the case that | |
2105 | regset == NULL and regset_from_core_section is defined. | |
2106 | (get_core_registers): Drop check for deleted method. | |
2107 | * procfs.c (procfs_do_thread_registers): Adjust comment. | |
2108 | ||
f968fe80 AA |
2109 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2110 | ||
2111 | * linux-nat.c (linux_nat_collect_thread_registers): Remove. | |
2112 | (linux_nat_make_corefile_notes): Remove. | |
2113 | (linux_target_install_ops): Do not set target method | |
2114 | 'make_corefile_notes'. | |
2115 | * linux-tdep.c (struct linux_corefile_thread_data)<collect>: | |
2116 | Remove field. | |
2117 | (linux_corefile_thread_callback): Instead of args->collect, call | |
2118 | linux_collect_thread_registers. | |
2119 | (linux_make_corefile_notes): Remove 'collect' parameter. Return | |
2120 | NULL unless there is a regset iterator. | |
2121 | (linux_make_corefile_notes_1): Remove. | |
2122 | (linux_init_abi): Replace reference to linux_make_corefile_notes_1 | |
2123 | by linux_make_corefile_notes. | |
2124 | * linux-tdep.h (linux_make_corefile_notes): Remove prototype. | |
2125 | ||
174ad59a AA |
2126 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2127 | ||
2128 | * fbsd-nat.c (find_signalled_thread, find_stop_signal) | |
2129 | (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): | |
2130 | Remove. | |
2131 | * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. | |
2132 | ||
97094034 AA |
2133 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2134 | ||
2135 | * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. | |
2136 | (xtensa_iterate_over_regset_sections): New. | |
2137 | (xtensa_gdbarch_init): Adjust gdbarch initialization. | |
2138 | ||
f73d3ce7 AA |
2139 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2140 | ||
2141 | * vax-tdep.c (vax_regset_from_core_section): Remove. | |
2142 | (vax_iterate_over_regset_sections): New. | |
2143 | (vax_gdbarch_init): Adjust gdbarch initialization. | |
2144 | ||
cb24567a AA |
2145 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2146 | ||
2147 | * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. | |
2148 | (tilegx_regset_from_core_section): Remove. | |
2149 | (tilegx_iterate_over_regset_sections): New. | |
2150 | (tilegx_linux_init_abi): Adjust gdbarch initialization. | |
2151 | ||
e5139de8 AA |
2152 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2153 | ||
2154 | * sparc-tdep.c (sparc_regset_from_core_section): Remove. | |
2155 | (sparc_iterate_over_regset_sections): New. | |
2156 | (sparc32_gdbarch_init): Adjust gdbarch initialization. | |
2157 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD | |
2158 | targets. | |
2159 | * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2160 | (sparc64fbsd_init_abi): Call fbsd_init_abi. | |
2161 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set | |
2162 | target method 'make_corefile_notes'. | |
2163 | ||
c6d41a6f AA |
2164 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2165 | ||
2166 | * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields | |
2167 | 'sizeof_gregset' and 'sizeof_fpregset'. | |
2168 | * sh-tdep.c (sh_regset_from_core_section): Remove. | |
2169 | (sh_iterate_over_regset_sections): New. | |
2170 | (sh_gdbarch_init): Adjust gdbarch initialization. | |
2171 | * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and | |
2172 | sizeof_fpregset. | |
2173 | * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field | |
2174 | 'sizeof_gregset'. | |
2175 | ||
9845a0b5 AA |
2176 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2177 | ||
2178 | * score-tdep.c (score7_linux_regset_from_core_section): Remove. | |
2179 | (score7_linux_iterate_over_regset_sections): New. | |
2180 | (score_gdbarch_init): Adjust gdbarch initialization. | |
2181 | ||
23ea9aeb AA |
2182 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2183 | ||
2184 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC | |
2185 | FreeBSD targets. | |
2186 | * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target | |
2187 | method 'make_corefile_notes'. | |
2188 | * ppcfbsd-tdep.c (fbsd-tdep.h): Include. | |
2189 | (ppcfbsd_regset_from_core_section): Remove. | |
2190 | (ppcfbsd_iterate_over_regset_sections): New. | |
2191 | (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch | |
2192 | initialization. | |
2193 | * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. | |
2194 | (ppcnbsd_iterate_over_regset_sections): New. | |
2195 | (ppcnbsd_init_abi): Adjust. | |
2196 | * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. | |
2197 | (ppcobsd_iterate_over_regset_sections): New. | |
2198 | (ppcobsd_init_abi): Adjust. | |
2199 | * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. | |
2200 | (rs6000_aix_iterate_over_regset_sections): New. | |
2201 | (rs6000_aix_init_osabi): Adjust. | |
2202 | ||
c5b8d704 AA |
2203 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2204 | ||
2205 | * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. | |
2206 | (nios2_regset_from_core_section): Remove. | |
2207 | (nios2_iterate_over_regset_sections): New. | |
2208 | (nios2_linux_init_abi): Adjust gdbarch initialization. | |
2209 | ||
3636e608 AA |
2210 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2211 | ||
2212 | * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. | |
2213 | (am33_iterate_over_regset_sections): New. | |
2214 | (am33_linux_init_osabi): Adjust gdbarch initialization. | |
2215 | ||
d4036235 AA |
2216 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2217 | ||
2218 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. | |
2219 | (mips_linux_iterate_over_regset_sections): New. | |
2220 | (mips_linux_init_abi): Adjust gdbarch initialization. | |
2221 | * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. | |
2222 | (mips64obsd_iterate_over_regset_sections): New. | |
2223 | (mips64obsd_init_abi): Adjust. | |
2224 | * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. | |
2225 | (mipsnbsd_iterate_over_regset_sections): New. | |
2226 | (mipsnbsd_init_abi): Adjust. | |
2227 | ||
b61ddd6e AA |
2228 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2229 | ||
2230 | * m88k-tdep.c (m88k_regset_from_core_section): Remove. | |
2231 | (m88k_iterate_over_regset_sections): New. | |
2232 | (m88k_gdbarch_init): Adjust gdbarch initialization. | |
2233 | ||
55a2906a AA |
2234 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2235 | ||
2236 | * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. | |
2237 | (ia64_linux_iterate_over_regset_sections): New. | |
2238 | (ia64_linux_init_abi): Adjust gdbarch initialization. | |
2239 | ||
022c98ab AA |
2240 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2241 | ||
2242 | * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. | |
2243 | (m68kbsd_iterate_over_regset_sections): New. | |
2244 | (m68kbsd_init_abi): Adjust gdbarch initialization. | |
2245 | * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. | |
2246 | (m68k_linux_iterate_over_regset_sections): New. | |
2247 | (m68k_linux_init_abi): Adjust gdbarch initialization. | |
2248 | ||
5fac247f AA |
2249 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2250 | ||
2251 | * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. | |
2252 | (m32r_linux_regset_from_core_section): Remove. | |
2253 | (m32r_linux_iterate_over_regset_sections): New. | |
2254 | (m32r_linux_init_abi): Adjust gdbarch initialization. | |
2255 | ||
490496c3 AA |
2256 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2257 | ||
2258 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. | |
2259 | (amd64obsd_iterate_over_regset_sections): New. | |
2260 | (amd64obsd_core_init_abi): Adjust gdbarch initialization. | |
2261 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
2262 | Remove. | |
2263 | (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop | |
2264 | regset_from_core_section initialization. | |
2265 | * i386-tdep.c (i386_regset_from_core_section): Remove. | |
2266 | (i386_iterate_over_regset_sections): New. | |
2267 | (i386_gdbarch_init): Adjust gdbarch initialization. | |
2268 | * i386-tdep.h (i386_regset_from_core_section): Remove prototype. | |
2269 | (i386_iterate_over_regset_sections): New prototype. | |
2270 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): | |
2271 | Remove. | |
2272 | (i386obsd_aout_iterate_over_regset_sections): New. | |
2273 | (i386obsd_aout_init_abi): Adjust gdbarch initialization. | |
2274 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD | |
2275 | targets. | |
2276 | * amd64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2277 | (amd64fbsd_init_abi): Call fbsd_init_abi. | |
2278 | * i386fbsd-tdep.c (fbsd-tdep.h): Include. | |
2279 | (i386fbsd4_init_abi): Call fbsd_init_abi. | |
2280 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set | |
2281 | target method 'make_corefile_notes'. | |
2282 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. | |
2283 | ||
50c5eb53 AA |
2284 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2285 | ||
2286 | * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. | |
2287 | (hppa_hpux_iterate_over_regset_sections): New. | |
2288 | (hppa_hpux_init_abi): Adjust gdbarch initialization. | |
2289 | * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. | |
2290 | (hppa_linux_iterate_over_regset_sections): New. | |
2291 | (hppa_linux_init_abi): Adjust. | |
2292 | * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
2293 | (hppanbsd_iterate_over_regset_sections): New. | |
2294 | (hppanbsd_init_abi): Adjust. | |
2295 | * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
2296 | (hppaobsd_iterate_over_regset_sections): New. | |
2297 | (hppaobsd_init_abi): Adjust. | |
2298 | ||
66afae4f AA |
2299 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2300 | ||
2301 | * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. | |
2302 | (frv_linux_iterate_over_regset_sections): New. | |
2303 | (frv_linux_init_abi): Adjust gdbarch initialization. | |
2304 | ||
ed09174e AA |
2305 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2306 | ||
2307 | * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. | |
2308 | (armbsd_iterate_over_regset_sections): New prototype. | |
2309 | * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. | |
2310 | (armbsd_iterate_over_regset_sections): New. | |
2311 | * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch | |
2312 | initialization. | |
2313 | ||
dff2166e AA |
2314 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2315 | ||
2316 | * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. | |
2317 | (alpha_linux_iterate_over_regset_sections): New. | |
2318 | (alpha_linux_init_abi): Adjust gdbarch initialization. | |
2319 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove | |
2320 | prototype. | |
2321 | (alphanbsd_iterate_over_regset_sections): New prototype. | |
2322 | ||
4108500a AA |
2323 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2324 | ||
2325 | * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): | |
2326 | Remove. | |
2327 | (aarch64_linux_iterate_over_regset_sections): New. | |
2328 | (aarch64_linux_init_abi): Adjust gdbarch initialization. | |
2329 | ||
a904c024 AA |
2330 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2331 | ||
2332 | * fbsd-tdep.c: New file. | |
2333 | * fbsd-tdep.h: New file. | |
2334 | * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. | |
2335 | (HFILES_NO_SRCDIR): Add fbsd-tdep.h. | |
2336 | (ALLDEPFILES): Add fbsd-tdep.c. | |
2337 | ||
8f0435f7 AA |
2338 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2339 | ||
2340 | * gdbarch.sh (iterate_over_regset_sections_cb): Add regset | |
2341 | parameter. | |
2342 | * gdbarch.h: Regenerate. | |
2343 | * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset | |
2344 | iterator. | |
2345 | (get_core_register_section): Add parameter 'regset' and use it, if | |
2346 | set. Add parameter 'min_size' and verify the bfd section size | |
2347 | against it. | |
2348 | (get_core_registers_cb): Add parameter 'regset' and pass it to | |
2349 | get_core_register section. For the "standard" register sections | |
2350 | ".reg" and ".reg2", set an appropriate default for human_name. | |
2351 | (get_core_registers): Don't abort when the gdbarch has an iterator | |
2352 | but no regset_from_core_section. Add NULL/0 for parameters | |
2353 | 'regset'/'min_size' in calls to get_core_register_section. | |
2354 | * linux-tdep.c (linux_collect_regset_section_cb): Add parameter | |
2355 | 'regset' and use it instead of calling the | |
2356 | regset_from_core_section gdbarch method. | |
2357 | * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. | |
2358 | * i386-tdep.c (i386_supply_xstateregset) | |
2359 | (i386_collect_xstateregset, i386_xstateregset): Moved to | |
2360 | i386-linux-tdep.c. | |
2361 | (i386_regset_from_core_section): Drop handling for .reg-xfp and | |
2362 | .reg-xstate. | |
2363 | (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic | |
2364 | core file support only if the regset iterator hasn't been set. | |
2365 | * i386-linux-tdep.c (i386_linux_supply_xstateregset) | |
2366 | (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. | |
2367 | Moved from i386-tdep.c and renamed to *_linux*. | |
2368 | (i386_linux_iterate_over_regset_sections): Add regset parameter to | |
2369 | each callback invocation. Allow any .reg-xstate size when reading | |
2370 | from a core file. | |
2371 | * amd64-tdep.c (amd64_supply_xstateregset) | |
2372 | (amd64_collect_xstateregset, amd64_xstateregset): Moved to | |
2373 | amd64-linux-tdep.c. | |
2374 | (amd64_regset_from_core_section): Remove. | |
2375 | (amd64_init_abi): Set new tdep field 'fpregset'. No longer | |
2376 | install an amd64-specific regset_from_core_section gdbarch method. | |
2377 | * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) | |
2378 | (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. | |
2379 | Moved from amd64-tdep.c and renamed to *_linux*. | |
2380 | (amd64_linux_iterate_over_regset_sections): Add regset parameter | |
2381 | to each callback invocation. Allow any .reg-xstate size when | |
2382 | reading from a core file. | |
2383 | * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. | |
2384 | (arm_linux_iterate_over_regset_sections): Add regset parameter to | |
2385 | each callback invocation. | |
2386 | (arm_linux_init_abi): No longer set the regset_from_core_section | |
2387 | gdbarch method. | |
2388 | * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. | |
2389 | (ppc_linux_iterate_over_regset_sections): Add regset parameter to | |
2390 | each callback invocation. | |
2391 | (ppc_linux_init_abi): No longer set the regset_from_core_section | |
2392 | gdbarch method. | |
2393 | * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields | |
2394 | gregset, sizeof_gregset, fpregset, and sizeof_fpregset. | |
2395 | (s390_regset_from_core_section): Remove. | |
2396 | (s390_iterate_over_regset_sections): Add regset parameter to each | |
2397 | callback invocation. | |
2398 | (s390_gdbarch_init): No longer set the regset_from_core_section | |
2399 | gdbarch method. Drop initialization of deleted tdep fields. | |
2400 | ||
5aa82d05 AA |
2401 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2402 | ||
2403 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. | |
2404 | (amd64_linux_iterate_over_regset_sections): New. | |
2405 | (amd64_linux_init_abi_common): Don't install the regset section | |
2406 | list, but the new iterator in gdbarch. | |
2407 | * arm-linux-tdep.c (arm_linux_fpa_regset_sections) | |
2408 | (arm_linux_vfp_regset_sections): Remove. Move combined logic... | |
2409 | (arm_linux_iterate_over_regset_sections): ...here. New function. | |
2410 | (arm_linux_init_abi): Set iterator instead of section list. | |
2411 | * corelow.c (get_core_registers_cb): New function, logic moved | |
2412 | from... | |
2413 | (get_core_registers): ...loop body here. Use new iterator method | |
2414 | instead of walking through the regset section list. | |
2415 | * gdbarch.sh: Remove 'core_regset_sections'. New method | |
2416 | 'iterate_over_regset_sections'. New typedef | |
2417 | 'iterate_over_regset_sections_cb'. | |
2418 | * gdbarch.c: Regenerate. | |
2419 | * gdbarch.h: Likewise. | |
2420 | * i386-linux-tdep.c (i386_linux_regset_sections) | |
2421 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
2422 | Remove. | |
2423 | (i386_linux_iterate_over_regset_sections): New. | |
2424 | (i386_linux_init_abi): Don't choose a regset section list, but | |
2425 | install new iterator in gdbarch. | |
2426 | * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. | |
2427 | (linux_collect_regset_section_cb): New function, logic moved | |
2428 | from... | |
2429 | (linux_collect_thread_registers): ...loop body here. Use iterator | |
2430 | method instead of walking through list. | |
2431 | (linux_make_corefile_notes_1): Check for presence of iterator | |
2432 | method instead of regset section list. | |
2433 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) | |
2434 | (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) | |
2435 | (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) | |
2436 | (ppc64_linux_fp_regset_sections): Remove. Move combined logic... | |
2437 | (ppc_linux_iterate_over_regset_sections): ...here. New function. | |
2438 | (ppc_linux_init_abi): Don't choose from above regset section | |
2439 | lists, but install new iterator in gdbarch. | |
2440 | * regset.h (struct core_regset_section): Remove. | |
2441 | * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields | |
2442 | have_linux_v1, have_linux_v2, and have_tdb. | |
2443 | (s390_linux32_regset_sections, s390_linux32v1_regset_sections) | |
2444 | (s390_linux32v2_regset_sections, s390_linux64_regset_sections) | |
2445 | (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) | |
2446 | (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) | |
2447 | (s390x_linux64v2_regset_sections): Remove. Move combined logic... | |
2448 | (s390_iterate_over_regset_sections): ...here. New function. Use | |
2449 | new tdep fields. | |
2450 | (s390_gdbarch_init): Set new tdep fields. Don't choose from above | |
2451 | regset section lists, but install new iterator. | |
2452 | ||
2eca4a8d JK |
2453 | 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
2454 | ||
2455 | * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". | |
2456 | ||
a73c2b56 SM |
2457 | 2014-09-26 Simon Marchi <simon.marchi@ericsson.com> |
2458 | ||
2459 | * progspace.c (print_program_space): Don't prune program spaces | |
2460 | before printing them. | |
2461 | ||
03d46957 PA |
2462 | 2014-09-25 Pedro Alves <palves@redhat.com> |
2463 | ||
2464 | * infrun.c (user_visible_resume_ptid): Don't check | |
2465 | singlestep_breakpoints_inserted_p. | |
2466 | ||
e558d7c1 PA |
2467 | 2014-09-25 Pedro Alves <palves@redhat.com> |
2468 | ||
2469 | * breakpoint.c (should_be_inserted): Add debug output. | |
2470 | ||
7f89fd65 PA |
2471 | 2014-09-25 Pedro Alves <palves@redhat.com> |
2472 | ||
2473 | * infrun.c (stepping_past_instruction_at) | |
2474 | (clear_exit_convenience_vars): Point at infrun.h instead of | |
2475 | inferior.h. | |
2476 | (handle_signal_stop): Fix typo. | |
2477 | ||
b7576e5c YQ |
2478 | 2014-09-24 Yao Qi <yao@codesourcery.com> |
2479 | ||
2480 | * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the | |
2481 | bitmask. | |
2482 | ||
9a6cf368 GB |
2483 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
2484 | ||
2485 | * target.c (target_stop): Updated comment. | |
2486 | ||
03f4463b GB |
2487 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
2488 | ||
2489 | * target/target.h (target_stop_ptid): Renamed as... | |
2490 | (target_stop_and_wait): New function. Updated comment. | |
2491 | All uses updated. | |
2492 | (target_continue_ptid): Renamed as... | |
2493 | (target_continue_no_signal): New function. Updated comment. | |
2494 | All uses updated. | |
2495 | ||
a25a5a45 PA |
2496 | 2014-09-22 Pedro Alves <palves@redhat.com> |
2497 | ||
2498 | * NEWS: Mention merge of "breakpoint always-inserted" modes "off" | |
2499 | and "auto" merged. | |
2500 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
2501 | (always_inserted_mode): Now a plain boolean. | |
2502 | (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. | |
2503 | (breakpoints_always_inserted_mode): Delete. | |
2504 | (breakpoints_should_be_inserted_now): New function. | |
2505 | (insert_breakpoints): Pass UGLL_INSERT to | |
2506 | update_global_location_list instead of calling | |
2507 | insert_breakpoint_locations manually. | |
2508 | (create_solib_event_breakpoint_1): New, factored out from ... | |
2509 | (create_solib_event_breakpoint): ... this. | |
2510 | (create_and_insert_solib_event_breakpoint): Use | |
2511 | create_solib_event_breakpoint_1 instead of calling | |
2512 | insert_breakpoint_locations manually. | |
2513 | (update_global_location_list): Change parameter type from boolean | |
2514 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
2515 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
2516 | (update_global_location_list_nothrow): Change parameter type from | |
2517 | boolean to enum ugll_insert_mode. | |
2518 | (_initialize_breakpoint): "breakpoint always-inserted" option is | |
2519 | now a boolean command. Update help text. | |
2520 | * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. | |
2521 | (breakpoints_should_be_inserted_now): New declaration. | |
2522 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: | |
2523 | Remove breakpoints_always_inserted_mode check. | |
2524 | (normal_stop): Adjust to use breakpoints_should_be_inserted_now. | |
2525 | * remote.c (remote_start_remote): Likewise. | |
2526 | ||
04086b45 PA |
2527 | 2014-09-22 Pedro Alves <palves@redhat.com> |
2528 | ||
2529 | * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. | |
2530 | (insert_breakpoints): Don't call insert_breakpoint_locations here. | |
2531 | Instead, pass UGLL_INSERT to update_global_location_list. | |
2532 | (update_global_location_list): Change parameter type from boolean | |
2533 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
2534 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
2535 | (create_solib_event_breakpoint_1): New, factored out from ... | |
2536 | (create_solib_event_breakpoint): ... this. | |
2537 | (create_and_insert_solib_event_breakpoint): Use | |
2538 | create_solib_event_breakpoint_1 instead of calling | |
2539 | insert_breakpoint_locations manually. | |
2540 | (update_global_location_list): Handle UGLL_INSERT. | |
2541 | ||
44702360 PA |
2542 | 2014-09-22 Pedro Alves <palves@redhat.com> |
2543 | ||
2544 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
2545 | (update_global_location_list) | |
2546 | (update_global_location_list_nothrow): Change parameter type from | |
2547 | boolean to enum ugll_insert_mode. All callers adjusted. | |
2548 | ||
93c6145a JB |
2549 | 2014-09-19 Joel Brobecker <brobecker@adacore.com> |
2550 | ||
2551 | * MAINTAINERS: Add Sergio Durigan Junior as maintainer of | |
2552 | SystemTap support in GDB. | |
2553 | ||
89a5711c DB |
2554 | 2014-09-19 Don Breazeal <donb@codesourcery.com> |
2555 | ||
2556 | * linux-nat.c (linux_handle_extended_wait): Call | |
2557 | linux_ptrace_get_extended_event. | |
2558 | (wait_lwp): Call linux_is_extended_waitstatus. | |
2559 | (linux_nat_filter_event): Call linux_ptrace_get_extended_event | |
2560 | and linux_is_extended_waitstatus. | |
2561 | * nat/linux-ptrace.c (linux_test_for_tracefork): Call | |
2562 | linux_ptrace_get_extended_event. | |
2563 | (linux_ptrace_get_extended_event): New function. | |
2564 | (linux_is_extended_waitstatus): New function. | |
2565 | * nat/linux-ptrace.h (linux_ptrace_get_extended_event) | |
2566 | (linux_is_extended_waitstatus): New declarations. | |
2567 | ||
c3b7b696 YQ |
2568 | 2014-09-19 Yao Qi <yao@codesourcery.com> |
2569 | ||
2570 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
2571 | (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update | |
2572 | comments. Callers update. | |
2573 | (dwarf_decode_lines): Likewise. | |
2574 | (dwarf_decode_lines_1): Add argument 'lowpc'. Update | |
2575 | comments. Skip the line table if 'lowpc' is greater than | |
2576 | 'address'. Don't check | |
2577 | dwarf2_per_objfile->has_section_at_zero. | |
2578 | ||
2b4fd423 DE |
2579 | 2014-09-18 Doug Evans <dje@google.com> |
2580 | ||
2581 | * NEWS: Mention new "producer" attribute of gdb.Symtab. | |
2582 | * python/py-symtab.c (stpy_get_producer): New function. | |
2583 | (symtab_object_getset): Add "producer" attribute. | |
2584 | ||
5e43d467 UW |
2585 | 2014-09-17 Ulrich Weigand <uweigand@de.ibm.com> |
2586 | ||
2587 | PR gdb/17384 | |
2588 | * corefile.c (struct captured_read_memory_integer_arguments): Remove. | |
2589 | (do_captured_read_memory_integer): Remove. | |
2590 | (safe_read_memory_integer): Use target_read_memory directly instead | |
2591 | of catching errors in do_captured_read_memory_integer. | |
2592 | ||
04e79979 MR |
2593 | 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com> |
2594 | ||
2595 | * CONTRIBUTE (Coding Standards): For internals refer to wiki, | |
2596 | not gdb/doc. | |
2597 | ||
76aeec5b SDJ |
2598 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
2599 | ||
2600 | * objc-lang.c (find_implementation_from_class): Remove dead code. | |
2601 | ||
2f693f9d SDJ |
2602 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
2603 | ||
2604 | PR cli/7233 | |
2605 | * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by | |
2606 | "fprintf_unfiltered (gdb_stdlog...)". | |
2607 | ||
bb9d5f81 PP |
2608 | 2014-09-16 Patrick Palka <patrick@parcs.ath.cx> |
2609 | ||
2610 | PR breakpoints/12526 | |
2611 | * breakpoint.h (struct watchpoint): New fields val_bitpos and | |
2612 | val_bitsize. | |
2613 | * breakpoint.c (watch_command_1): Use these fields to retain | |
2614 | bitfield information. | |
2615 | (extract_bitfield_from_watchpoint_value): New function. | |
2616 | (watchpoint_check): Use it. | |
2617 | (update_watchpoint): Use it. Optimize the address and length of a | |
2618 | HW watchpoint pointing to a bitfield. | |
2619 | * value.h (unpack_value_bitfield): New prototype. | |
2620 | * value.c (unpack_value_bitfield): Make extern. | |
2621 | ||
05db5edd ST |
2622 | 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
2623 | ||
2624 | * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and | |
2625 | x86-dregs.o. | |
2626 | * gnu-nat.c (inf_threads): New function. | |
2627 | * gnu-nat.h (inf_threads_ftype): New typedef. | |
2628 | (inf_threads): New declaration. | |
2629 | * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". | |
2630 | [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) | |
2631 | (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) | |
2632 | (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) | |
2633 | (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) | |
2634 | (i386_gnu_dr_get_control): New functions. | |
2635 | (reg_addr): New structure. | |
2636 | (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware | |
2637 | i386 debugging register hooks. | |
2638 | * NEWS: Mention this. | |
2639 | ||
5a578da5 OJ |
2640 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2641 | ||
2642 | * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for | |
2643 | vector data transfer instructions. | |
2644 | (arm_record_coproc_data_proc): Updated. | |
2645 | ||
f20f80dd OJ |
2646 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2647 | ||
2648 | * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with | |
2649 | arm_record_exreg_ld_st_insn. | |
2650 | (arm_record_exreg_ld_st_insn): Add record handler for ex-register | |
2651 | load/store insns. | |
2652 | ||
851f26ae OJ |
2653 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2654 | ||
2655 | * arm-tdep.c (arm_record_coproc_data_proc): Updated. | |
2656 | (arm_record_vfp_data_proc_insn): Added record handler for VFP data | |
2657 | processing instructions. | |
2658 | ||
1e1b6563 OJ |
2659 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2660 | ||
2661 | * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler | |
2662 | for advance SIMD struct ld/st insn. | |
2663 | (thumb2_record_decode_insn_handler): Replace stub handler with | |
2664 | thumb2_record_asimd_struct_ld_st. | |
2665 | ||
60cc5e93 OJ |
2666 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
2667 | ||
2668 | * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs | |
2669 | for asimd, vfp and coprocessor insns. | |
2670 | (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp | |
2671 | and coprocessor insns. | |
2672 | (thumb2_record_coproc_insn): New function. | |
2673 | (thumb2_record_decode_insn_handler): Update coprocessor insns record | |
2674 | handlers. | |
2675 | (decode_insn): Install arm_record_asimd_vfp_coproc as handler for | |
2676 | opcode 110 insns. | |
2677 | ||
81219e53 DE |
2678 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
2679 | ||
2680 | * NEWS: Mention new "queue-signal" command. | |
2681 | * infcmd.c (queue_signal_command): New function. | |
2682 | (_initialize_infcmd): Add new queue-signal command. | |
2683 | ||
d36bf488 DE |
2684 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
2685 | ||
2686 | * linux-nat.c (wait_lwp): Add debugging printf. | |
2687 | (linux_nat_wait_1): Ditto. | |
2688 | ||
f37f681c PA |
2689 | 2014-09-12 Pedro Alves <palves@redhat.com> |
2690 | ||
2691 | * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) | |
2692 | (create_and_insert_solib_event_breakpoint): New functions. | |
2693 | * breakpoint.h (create_and_insert_solib_event_breakpoint) | |
2694 | (remove_solib_event_breakpoints_at_next_stop): New declarations. | |
2695 | * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. | |
2696 | (remove_dbx_link_breakpoint): Delete function. | |
2697 | (insert_dbx_link_bpt_in_file): Use | |
2698 | create_and_insert_solib_event_breakpoint instead of | |
2699 | deprecated_insert_raw_breakpoint. | |
2700 | (procfs_wait): Don't check whether we hit __dbx_link here. | |
2701 | (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint | |
2702 | here. | |
2703 | * solib-irix.c (base_breakpoint): Delete global. | |
2704 | (disable_break): Delete function. | |
2705 | (enable_break): Use create_solib_event_breakpoint | |
2706 | instead of deprecated_insert_raw_breakpoint. | |
2707 | (irix_solib_handle_event): New function. | |
2708 | (irix_solib_create_inferior_hook): Don't run the target or disable | |
2709 | the mapping-complete breakpoint here. | |
2710 | (_initialize_irix_solib): Install irix_solib_handle_event as | |
2711 | so_ops->handle_event hook. | |
2712 | ||
9d9bf2df EBM |
2713 | 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
2714 | Ulrich Weigand <uweigand@de.ibm.com> | |
2715 | ||
2716 | PR tdep/17379 | |
2717 | * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer | |
2718 | instead of read_memory_unsigned_integer. | |
2719 | ||
b006a80e GB |
2720 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
2721 | ||
2722 | * nat/linux-waitpid.c: Include common-defs.h. | |
2723 | [GDBSERVER]: Add FIXME comment. | |
2724 | [!GDBSERVER]: Don't include defs.h or signal.h. | |
2725 | (linux_debug) [!GDBSERVER]: Remove empty block. | |
2726 | ||
296b1496 GB |
2727 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
2728 | ||
2729 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
2730 | Don't include defs.h or server.h. | |
2731 | ||
53f81362 GB |
2732 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
2733 | ||
2734 | * nat/linux-btrace.c: Include common-defs.h. | |
2735 | Don't include defs.h, server.h or gdbthread.h. | |
2736 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
2737 | ||
727605ca GB |
2738 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
2739 | ||
2740 | * common/agent.c: Include common-defs.h. | |
2741 | Don't include defs.h or server.h. | |
2742 | * common/buffer.c: Likewise. | |
2743 | * common/common-debug.c: Likewise. | |
2744 | * common/common-utils.c: Likewise. | |
2745 | * common/errors.c: Likewise. | |
2746 | * common/filestuff.c: Likewise. | |
2747 | * common/format.c: Likewise. | |
2748 | * common/gdb_vecs.c: Likewise. | |
2749 | * common/print-utils.c: Likewise. | |
2750 | * common/ptid.c: Likewise. | |
2751 | * common/rsp-low.c: Likewise. | |
2752 | * common/signals.c: Likewise. | |
2753 | * common/vec.c: Likewise. | |
2754 | * common/xml-utils.c: Likewise. | |
2755 | * nat/linux-osdata.c: Likewise. | |
2756 | * nat/linux-procfs.c: Likewise. | |
2757 | * nat/linux-ptrace.c: Likewise. | |
2758 | * nat/mips-linux-watch.c: Likewise. | |
2759 | * target/waitstatus.c: Likewise. | |
2760 | ||
361c8ade GB |
2761 | 2014-09-12 Tom Tromey <tromey@redhat.com> |
2762 | Gary Benson <gbenson@redhat.com> | |
2763 | ||
2764 | * common/common-regcache.h: New file. | |
2765 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
2766 | * regcache.h: Include common-regcache.h. | |
2767 | (regcache_read_pc): Don't declare. | |
2768 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
2769 | * nat/linux-btrace.c: Don't include regcache.h. | |
2770 | Include common-regcache.h. | |
2771 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
2772 | ||
a01cbb49 TS |
2773 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> |
2774 | ||
2775 | * regcache.h (struct regset): Declare. | |
2776 | ||
98880d46 PA |
2777 | 2014-09-11 Pedro Alves <palves@redhat.com> |
2778 | ||
2779 | PR gdb/17347 | |
2780 | * main.c: Include "infrun.h". | |
2781 | (catch_command_errors, catch_command_errors_const): Wait for the | |
2782 | foreground command to complete. | |
2783 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
2784 | from ... | |
2785 | (maybe_wait_sync_command_done): ... here. | |
2786 | * top.h (maybe_wait_sync_command_done): New declaration. | |
2787 | ||
bd9269f7 GB |
2788 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
2789 | Gary Benson <gbenson@redhat.com> | |
2790 | ||
2791 | * common/symbol.h: New file. | |
2792 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
2793 | * minsyms.c (find_minimal_symbol_address): New function. | |
2794 | * common/agent.c: Include common/symbol.h. | |
2795 | [!GDBSERVER]: Don't include objfiles.h. | |
2796 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
2797 | ||
f8c1d06b GB |
2798 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
2799 | ||
2800 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
2801 | Declare. | |
2802 | * target.c (target_stop_ptid, target_continue_ptid): New | |
2803 | functions. | |
2804 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
2805 | (agent_run_command): Always use target_stop_ptid and | |
2806 | target_continue_ptid. | |
2807 | ||
721ec300 GB |
2808 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
2809 | Gary Benson <gbenson@redhat.com> | |
2810 | ||
2811 | * target/target.h: New file. | |
2812 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
2813 | * target.h: Include target/target.h. | |
2814 | (target_read_memory, target_write_memory): Don't declare. | |
2815 | * target.c (target_read_uint32): New function. | |
2816 | * common/agent.c: Include target/target.h. | |
2817 | [!GDBSERVER]: Don't include target.h. | |
2818 | (helper_thread_id): Type changed to uint32_t. | |
2819 | (agent_get_helper_thread_id): Use target_read_uint32. | |
2820 | (agent_run_command): Always use target_read_memory and | |
2821 | target_write_memory. | |
2822 | (agent_capability): Type changed to uint32_t. | |
2823 | (agent_capability_check): Use target_read_uint32. | |
2824 | ||
c5e92cca GB |
2825 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
2826 | ||
2827 | * common/common-debug.h (show_debug_regs): Declare. | |
2828 | * common/common-debug.c (show_debug_regs): Define. | |
2829 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
2830 | all uses with show_debug_regs. Replace all uses that considered | |
2831 | debug_hw_points as a multi-value integer with straight boolean | |
2832 | uses. | |
2833 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
2834 | with show_debug_regs. | |
2835 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
2836 | all uses with show_debug_regs. | |
2837 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
2838 | uses with show_debug_regs. | |
2839 | ||
eeef931a UW |
2840 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
2841 | ||
2842 | * findvar.c (address_from_register): Handle targets requiring | |
2843 | a special conversion routine even for plain pointer types. | |
2844 | ||
8efa9855 UW |
2845 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
2846 | ||
2847 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
2848 | (store_register): Do not call exec_one_dummy_insn. | |
2849 | ||
eb479039 JB |
2850 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
2851 | ||
2852 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
2853 | dereference it first. Use value_enclosing_type instead of | |
2854 | value_type. | |
2855 | (ada_array_length): Likewise. | |
2856 | ||
deede10c JB |
2857 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
2858 | ||
2859 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
2860 | Adjust function implementation and documentation accordingly. | |
2861 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
2862 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
2863 | Update call to ada_value_ptr_subscript. | |
2864 | ||
7828a5f5 JB |
2865 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
2866 | ||
2867 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
2868 | instead of VAL's type. | |
2869 | ||
35782f14 JB |
2870 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
2871 | ||
2872 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
2873 | ||
d342a0da DE |
2874 | 2014-09-09 Doug Evans <xdje42@gmail.com> |
2875 | ||
2876 | PR guile/17367 | |
2877 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
2878 | last parameter to pkg-config, not first. | |
2879 | * configure.ac: Pass --with-guile provided pkg-config path to | |
2880 | GDB_GUILE_PROGRAM_NAMES. | |
2881 | * configure: Regenerate. | |
2882 | ||
b4a3d263 GKB |
2883 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> |
2884 | ||
2885 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
2886 | Bertazi". | |
2887 | ||
6e466374 MR |
2888 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> |
2889 | ||
2890 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
2891 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
2892 | the list of sections determining GDB_OSABI_IRIX. | |
2893 | ||
a1ada89a JH |
2894 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
2895 | ||
2896 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
2897 | ||
86db008d JH |
2898 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
2899 | ||
2900 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
2901 | ||
72fde3df JB |
2902 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> |
2903 | ||
2904 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
2905 | ||
92d8d229 DE |
2906 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
2907 | ||
2908 | PR 17247 | |
2909 | * guile.c: #include <signal.h>. | |
2910 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
2911 | ||
2912 | Replaces the following, which is reverted. | |
2913 | ||
2914 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
2915 | ||
2916 | PR 17185 | |
2917 | * configure.ac: Add check for header gc/gc.h. | |
2918 | Add check for function setenv. | |
2919 | * configure: Regenerate. | |
2920 | * config.in: Regenerate. | |
2921 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
2922 | ||
d81412aa DE |
2923 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
2924 | ||
2925 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
2926 | with named constant. Fix style of pointer comparison. | |
2927 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
2928 | ||
a9f116cb GKB |
2929 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> |
2930 | ||
2931 | PR gdb/17035 | |
2932 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
2933 | decide whether we display the command on "show user". | |
2934 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
2935 | printing command name. | |
2936 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
2937 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
2938 | to verify whether cmd_list_element is a user-defined command. | |
2939 | ||
c75bd3a2 JK |
2940 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
2941 | ||
2942 | PR python/17355 | |
2943 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
2944 | Fix goto out of TRY_CATCH. | |
2945 | ||
faa42425 | 2946 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1a52a81c | 2947 | Tom Tromey <tromey@redhat.com> |
faa42425 DE |
2948 | |
2949 | PR 15276 | |
2950 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
2951 | $_any_caller_matches. | |
2952 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
2953 | * python/lib/gdb/function/caller_is.py: New file. | |
2954 | ||
0d41ba00 DE |
2955 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
2956 | ||
2957 | * infcmd.c (program_info): Fix typo. | |
2958 | ||
474ca4f6 SDJ |
2959 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> |
2960 | ||
2961 | PR gdb/17235 | |
2962 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
2963 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
2964 | subexpressions on SDT probes. | |
2965 | ||
ebf13736 PA |
2966 | 2014-09-04 Pedro Alves <palves@redhat.com> |
2967 | ||
2968 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
2969 | the input is only one character long. | |
2970 | ||
eb0b0463 SDJ |
2971 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> |
2972 | ||
2973 | PR fortran/17237 | |
2974 | * f-valprint.c (f_val_print): Specify the correct print option to | |
2975 | use when printing integer values. | |
2976 | ||
5ee44bfa GB |
2977 | 2014-09-04 Gary Benson <gbenson@redhat.com> |
2978 | ||
2979 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
2980 | Remove code to cope with LWPs wrapped as PIDs. | |
2981 | Add assertions to ensure no wrapped LWPs are passed. | |
2982 | ||
4875ffdb PA |
2983 | 2014-09-04 Pedro Alves <palves@redhat.com> |
2984 | ||
2985 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
2986 | from ... | |
2987 | (value_contents_copy_raw): ... here. | |
2988 | (unpack_value_bits_as_long_1): Rename back to ... | |
2989 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
2990 | 'result' parameters. Change return type to LONGEST. | |
2991 | (unpack_value_bits_as_long): Delete. | |
2992 | (unpack_value_field_as_long_1): Delete. | |
2993 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
2994 | (unpack_value_bitfield): New function. | |
2995 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
2996 | (value_fetch_lazy): Use unpack_value_bitfield. | |
2997 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
2998 | ||
5f3b99cf SS |
2999 | 2014-09-03 Sasha Smundak <asmundak@google.com> |
3000 | ||
3001 | * python/py-frame.c (frapy_read_register): New function. | |
3002 | ||
ac740bc7 JH |
3003 | 2014-09-03 James Hogan <james.hogan@imgtec.com> |
3004 | ||
3005 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
3006 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
3007 | ||
7d793aa9 SDJ |
3008 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> |
3009 | ||
3010 | PR python/16699 | |
3011 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
3012 | function. | |
3013 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
3014 | * cli/cli-decode.h (struct cmd_list_element) | |
3015 | <completer_handle_brkchars>: New field. | |
3016 | * command.h (completer_ftype_void): New typedef. | |
3017 | (set_cmd_completer_handle_brkchars): New prototype. | |
3018 | * completer.c (set_gdb_completion_word_break_characters): New | |
3019 | function. | |
3020 | (complete_line_internal): Call "completer_handle_brkchars" | |
3021 | callback from command. | |
3022 | * completer.h: Include "command.h". | |
3023 | (set_gdb_completion_word_break_characters): New prototype. | |
3024 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
3025 | (cmdpy_completer_handle_brkchars): New function. | |
3026 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
3027 | (cmdpy_init): Set completer_handle_brkchars to | |
3028 | cmdpy_completer_handle_brkchars. | |
3029 | ||
97ea6506 GB |
3030 | 2014-09-03 Gary Benson <gbenson@redhat.com> |
3031 | ||
3032 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
3033 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
3034 | Loop conditions changed to equivalent form. | |
3035 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
3036 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
3037 | ALL_DEBUG_ADDRESS_REGISTERS. | |
3038 | ||
d1437815 JB |
3039 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> |
3040 | ||
3041 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
3042 | description fix. | |
3043 | ||
9b94fcf1 DE |
3044 | 2014-09-02 Doug Evans <dje@google.com> |
3045 | ||
3046 | * typeprint.c (find_global_typedef): Fix comment. | |
3047 | ||
df7e5265 GB |
3048 | 2014-09-02 Gary Benson <gbenson@redhat.com> |
3049 | ||
3050 | * i386-nat.h: Renamed as... | |
3051 | * x86-nat.h: New file. All type, function and variable name | |
3052 | prefixes changed from "i386_" to "x86_". All references updated. | |
3053 | * i386-nat.c: Renamed as... | |
3054 | * x86-nat.c: New file. All type, function and variable name | |
3055 | prefixes changed from "i386_" to "x86_". All references updated. | |
3056 | * common/i386-xstate.h: Renamed as... | |
3057 | * common/x86-xstate.h: New file. All type, function and variable | |
3058 | name prefixes changed from "i386_" to "x86_". All references | |
3059 | updated. | |
3060 | * nat/i386-cpuid.h: Renamed as... | |
3061 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
3062 | prefixes changed from "i386_" to "x86_". All references updated. | |
3063 | * nat/i386-gcc-cpuid.h: Renamed as... | |
3064 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
3065 | name prefixes changed from "i386_" to "x86_". All references | |
3066 | updated. | |
3067 | * nat/i386-dregs.h: Renamed as... | |
3068 | * nat/x86-dregs.h: New file. All type, function and variable name | |
3069 | prefixes changed from "i386_" to "x86_". All references updated. | |
3070 | * nat/i386-dregs.c: Renamed as... | |
3071 | * nat/x86-dregs.c: New file. All type, function and variable name | |
3072 | prefixes changed from "i386_" to "x86_". All references updated. | |
3073 | ||
1c3569d4 MR |
3074 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> |
3075 | ||
3076 | * varobj.c (_initialize_varobj): Move to the end of file. | |
3077 | ||
ff55e1b5 GB |
3078 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3079 | ||
3080 | * common/common-exceptions.h: New file. | |
3081 | * common/common-exceptions.c: Likewise. | |
3082 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
3083 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
3084 | (COMMON_OBS): Add common-exceptions.o. | |
3085 | (common-exceptions.o): New rule. | |
3086 | * exceptions.h (common-exceptions.h): Include. | |
3087 | (gdb_setjmp.h): Do not include. | |
3088 | (return_reason): Moved to common-exceptions.h. | |
3089 | (enum return_reason): Likewise. | |
3090 | (RETURN_MASK): Likewise. | |
3091 | (typedef return_mask): Likewise. | |
3092 | (enum errors): Likewise. | |
3093 | (struct gdb_exception): Likewise. | |
3094 | (exceptions_state_mc_init): Likewise. | |
3095 | (exceptions_state_mc_action_iter): Likewise. | |
3096 | (exceptions_state_mc_action_iter_1): Likewise. | |
3097 | (TRY_CATCH): Likewise. | |
3098 | (throw_exception): Likewise. | |
3099 | (throw_verror): Likewise. | |
3100 | (throw_vquit): Likewise. | |
3101 | (throw_error): Likewise. | |
3102 | (throw_quit): Likewise. | |
3103 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
3104 | (enum catcher_action): Likewise. | |
3105 | (struct catcher): Likewise. | |
3106 | (current_catcher): Likewise. | |
3107 | (catcher_list_size): Likewise. | |
3108 | (exceptions_state_mc_init): Likewise. | |
3109 | (catcher_pop): Likewise. | |
3110 | (exceptions_state_mc): Likewise. | |
3111 | (exceptions_state_mc_action_iter): Likewise. | |
3112 | (exceptions_state_mc_action_iter_1): Likewise. | |
3113 | (throw_exception): Likewise. | |
3114 | (exception_messages): Likewise. | |
3115 | (exception_messages_size): Likewise. | |
3116 | (throw_it): Likewise. | |
3117 | (throw_verror): Likewise. | |
3118 | (throw_vquit): Likewise. | |
3119 | (throw_error): Likewise. | |
3120 | (throw_quit): Likewise. | |
3121 | (prepare_to_throw_exception): New function. | |
3122 | ||
e9bcb658 GB |
3123 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3124 | ||
3125 | * common/gdb_setjmp.h: New file. | |
3126 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
3127 | * configure.ac: Move sigsetjmp check... | |
3128 | * common/common.m4: ...here. | |
3129 | * configure: Regenerate. | |
3130 | * cp-support.c (SIGJMP_BUF): Delete. | |
3131 | (SIGSETJMP): Likewise. | |
3132 | (SIGLONGJMP): Likewise. | |
3133 | * exceptions.h (gdb_setjmp.h): Include. | |
3134 | (setjmp.h): Do not include. | |
3135 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
3136 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
3137 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
3138 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
3139 | from gdb_setjmp.h. | |
3140 | * exceptions.c: Likewise. | |
3141 | ||
e3180625 GB |
3142 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3143 | ||
3144 | * cleanups.h: Moved to... | |
3145 | * common/cleanups.h: New file. | |
3146 | * cleanups.c: Moved to... | |
3147 | * common/cleanups.c: New file. Include common-defs.h and | |
3148 | cleanups.h. Do not include defs.h. | |
3149 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
3150 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
3151 | (cleanups.o): New rule. | |
3152 | ||
e3d6ba5d GB |
3153 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3154 | ||
3155 | * common/errors.h (internal_warning): New declaration. | |
3156 | (internal_vwarning): Likewise. | |
3157 | * common/errors.c (internal_warning): New function. | |
3158 | * utils.h (internal_warning): Don't declare. | |
3159 | (internal_vwarning): Likewise. | |
3160 | * utils.c (internal_warning): Removed. | |
3161 | ||
075c7033 GB |
3162 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3163 | ||
3164 | * main.c (captured_main): Use warning during startup. | |
3165 | Prefix startup warning messages with command name. | |
3166 | ||
91b35fd0 GB |
3167 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3168 | ||
3169 | * main.c (captured_main): Handle usage errors with error. | |
3170 | ||
b1ec390e GB |
3171 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3172 | ||
3173 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
3174 | exit pair with a call to error. Wrap the message with _(). | |
3175 | ||
fd0ef3dd GB |
3176 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3177 | ||
3178 | * main.c (captured_main): Replace a fprintf/exit | |
3179 | pair with a call to error. Wrap the message with _(). | |
3180 | ||
e0e6bcab GB |
3181 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3182 | ||
3183 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
3184 | pairs with calls to error. Wrap the message with _(). | |
3185 | ||
0d2f5c07 GB |
3186 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3187 | ||
3188 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
3189 | and wrap_here. | |
3190 | ||
5df43998 GB |
3191 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3192 | ||
3193 | * exceptions.c (print_flush): Protect calls to | |
3194 | target_terminal_ours and wrap_here. | |
3195 | ||
2437fd32 GB |
3196 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3197 | ||
3198 | * utils.h (filtered_printing_initialized): New declaration. | |
3199 | * utils.c (abort_with_message): New function. | |
3200 | (internal_vproblem): Use abort_with_message for first level | |
3201 | recursive internal problems, and if gdb_stderr is not set up. | |
3202 | Protect calls to target_terminal_ours, begin_line and query. | |
3203 | ||
f1f58506 DE |
3204 | 2014-08-28 Doug Evans <dje@google.com> |
3205 | ||
3206 | * symtab.c (in_prologue): Move definition to better spot. | |
3207 | (skip_prologue_using_sal): Ditto. | |
3208 | ||
aab2f208 DE |
3209 | 2014-08-28 Doug Evans <dje@google.com> |
3210 | ||
3211 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
3212 | ||
6b65d1b6 YQ |
3213 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3214 | ||
3215 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
3216 | found_stack_adjust in forward scan. Remove condition check | |
3217 | on found_stack_adjust which is always true. Indent the code. | |
3218 | ||
a1b34d15 YQ |
3219 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3220 | ||
3221 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3222 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
3223 | (dwarf_decode_lines): Remove argument | |
3224 | want_line_info. Remove condition check on want_line_info. | |
3225 | Callers update. | |
3226 | ||
d5962de5 DE |
3227 | 2014-08-27 Doug Evans <dje@google.com> |
3228 | ||
3229 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
3230 | ||
9b139002 SDJ |
3231 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> |
3232 | ||
3233 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
3234 | declaration. | |
3235 | (target_terminal_save_ours): Remove macro. | |
3236 | * target-delegates.c: Regenerate. | |
3237 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
3238 | field to_terminal_save_ours. | |
3239 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
3240 | * terminal.h (gdb_save_tty_state): New declaration. | |
3241 | * inflow.c (child_terminal_save_ours): Rename to ... | |
3242 | (gdb_save_tty_state): ... this. | |
3243 | * tui/tui.c: Include terminal.h. | |
3244 | (tui_enable): Use gdb_save_tty_state instead of | |
3245 | target_terminal_save_ours. | |
3246 | (tui_disable): Likewise. | |
3247 | ||
9debeba0 DE |
3248 | 2014-08-25 Doug Evans <dje@google.com> |
3249 | ||
3250 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
3251 | Pass NULL instead of 0 for context pointer. | |
3252 | ||
428fc5fc YQ |
3253 | 2014-08-25 Yao Qi <yao@codesourcery.com> |
3254 | ||
3255 | * dwarf2read.c: Fix grammatical error. | |
3256 | ||
cdc07690 YQ |
3257 | 2014-08-24 Yao Qi <yao@codesourcery.com> |
3258 | ||
3259 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
3260 | Rename argument 'need_pc' with 'set_addrmap'. | |
3261 | (add_partial_namespace): Rename argument 'need_pc' with | |
3262 | 'set_addrmap'. | |
3263 | (add_partial_module): Likewise. | |
3264 | (add_partial_subprogram): Likewise. Update comments. | |
3265 | (dwarf2_name): Fix typo. | |
3266 | ||
a05a36a5 DE |
3267 | 2014-08-22 Doug Evans <dje@google.com> |
3268 | ||
3269 | PR 17276 | |
3270 | * dwarf2read.c (dwarf_record_line_p): New function. | |
3271 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
3272 | for the same line if any entry had a non-zero discriminator. | |
3273 | ||
252a6764 DE |
3274 | 2014-08-22 Doug Evans <dje@google.com> |
3275 | ||
3276 | * buildsym.h (record_line_ftype): New typedef. | |
3277 | (record_line): Use it. | |
3278 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
3279 | (dwarf_decode_lines_1): Call them. | |
3280 | ||
510db052 YQ |
3281 | 2014-08-22 Yao Qi <yao@codesourcery.com> |
3282 | ||
3283 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
3284 | (ctf_end): Remove code. | |
3285 | ||
22fd09ae JK |
3286 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
3287 | ||
3288 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
3289 | (linux_make_corefile_notes): call update_thread_list, protected against | |
3290 | exceptions. | |
3291 | ||
656e8868 PA |
3292 | 2014-08-21 Pedro Alves <palves@redhat.com> |
3293 | ||
3294 | * infcmd.c (attach_command): Remove comment. | |
3295 | ||
de589d04 WN |
3296 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> |
3297 | ||
3298 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
3299 | unsigned LONGEST to ULONGEST. | |
3300 | ||
2a31c623 PA |
3301 | 2014-08-20 Pedro Alves <palves@redhat.com> |
3302 | ||
3303 | * Makefile.in (check-read1): New rule. | |
3304 | ||
d36430db JB |
3305 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> |
3306 | ||
3307 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
3308 | typedef layers before checking its TYPE_DATA_LOCATION. | |
3309 | ||
000339af PA |
3310 | 2014-08-20 Pedro Alves <palves@redhat.com> |
3311 | ||
3312 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
3313 | ||
5f52445b YQ |
3314 | 2014-08-20 Yao Qi <yao@codesourcery.com> |
3315 | ||
3316 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
3317 | example. Move "*/" to a new line. | |
3318 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
3319 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
3320 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
3321 | ||
9a0dc9e3 PA |
3322 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> |
3323 | Pedro Alves <palves@redhat.com> | |
3324 | ||
3325 | PR symtab/14604 | |
3326 | PR symtab/14605 | |
3327 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
3328 | value_contents_copy_raw. | |
3329 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
3330 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
3331 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
3332 | code handle optimized out values. | |
3333 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
3334 | * d-valprint.c (dynamic_array_type): Use | |
3335 | value_bits_any_optimized_out. | |
3336 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
3337 | check_any_valid fields. | |
3338 | (check_pieced_value_bits): Delete and inline ... | |
3339 | (check_pieced_synthetic_pointer): ... here. | |
3340 | (check_pieced_value_validity): Delete. | |
3341 | (check_pieced_value_invalid): Delete. | |
3342 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
3343 | fields. | |
3344 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
3345 | (write_pieced_value): Switch to use | |
3346 | mark_value_bytes_optimized_out. | |
3347 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
3348 | of assuming the whole value is optimized out. | |
3349 | * findvar.c (read_frame_register_value): Remove special handling | |
3350 | of optimized out registers. | |
3351 | (value_from_register): Use mark_value_bytes_optimized_out. | |
3352 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
3353 | mark_value_bytes_optimized_out. | |
3354 | * jv-valprint.c (java_value_print): Adjust. | |
3355 | (java_print_value_fields): Let the common printing code handle | |
3356 | optimized out values. | |
3357 | * mips-tdep.c (mips_print_register): Remove special handling of | |
3358 | optimized out registers. | |
3359 | * opencl-lang.c (lval_func_check_validity): Delete. | |
3360 | (lval_func_check_any_valid): Delete. | |
3361 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
3362 | fields. | |
3363 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
3364 | printing code handle optimized out values. | |
3365 | * stack.c (read_frame_arg): Remove special handling of optimized | |
3366 | out values. Fetch both VAL and ENTRYVAL before comparing | |
3367 | contents. Adjust to value_available_contents_eq rename. | |
3368 | * valprint.c (valprint_check_validity) | |
3369 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
3370 | (val_print_array_elements): Adjust. | |
3371 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
3372 | (value_bits_any_optimized_out): New function. | |
3373 | (value_entirely_covered_by_range_vector): New function, factored | |
3374 | out from value_entirely_unavailable. | |
3375 | (value_entirely_unavailable): Reimplement. | |
3376 | (value_entirely_optimized_out): New function. | |
3377 | (insert_into_bit_range_vector): New function, factored out from | |
3378 | mark_value_bits_unavailable. | |
3379 | (mark_value_bits_unavailable): Reimplement. | |
3380 | (struct ranges_and_idx): New struct. | |
3381 | (find_first_range_overlap_and_match): New function, factored out | |
3382 | from value_available_contents_bits_eq. | |
3383 | (value_available_contents_bits_eq): Rename to ... | |
3384 | (value_contents_bits_eq): ... this. Check both unavailable | |
3385 | contents and optimized out contents. | |
3386 | (value_available_contents_eq): Rename to ... | |
3387 | (value_contents_eq): ... this. | |
3388 | (allocate_value_lazy): Remove reference to the old optimized_out | |
3389 | boolean. | |
3390 | (allocate_optimized_out_value): Use | |
3391 | mark_value_bytes_optimized_out. | |
3392 | (require_not_optimized_out): Adjust to check whether the | |
3393 | optimized_out vec is empty. | |
3394 | (ranges_copy_adjusted): New function, factored out from | |
3395 | value_contents_copy_raw. | |
3396 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
3397 | Assert the destination ranges aren't optimized out. | |
3398 | (value_contents_copy): Update comment, remove call to | |
3399 | require_not_optimized_out. | |
3400 | (value_contents_equal): Adjust to check whether the optimized_out | |
3401 | vec is empty. | |
3402 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
3403 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
3404 | New functions. | |
3405 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
3406 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
3407 | (value_primitive_field): Remove special handling of optimized out. | |
3408 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
3409 | regions. Use value_bits_any_optimized_out. Remove some special | |
3410 | handling for optimized out values. | |
3411 | * value.h: Add intro comment about <optimized out> and | |
3412 | <unavailable>. | |
3413 | (struct lval_funcs): Remove check_validity and check_any_valid | |
3414 | fields. | |
3415 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
3416 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
3417 | New declarations. | |
3418 | (value_bits_any_optimized_out): New declaration. | |
3419 | (value_bits_valid): Delete declaration. | |
3420 | (value_available_contents_eq): Rename to ... | |
3421 | (value_contents_eq): ... this, and extend comments. | |
3422 | ||
6694c411 JK |
3423 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
3424 | ||
3425 | Fix -fsanitize=address on unreadable inferior strings. | |
3426 | * valprint.c (val_print_string): Fix access before BUFFER. | |
3427 | ||
89a1c21a SM |
3428 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> |
3429 | ||
3430 | * target.c (target_struct_size): Remove. | |
3431 | (target_struct_allocsize): Remove. | |
3432 | (DEFAULT_ALLOCSIZE): Remove. | |
3433 | (target_ops_p): New typedef. | |
3434 | (DEF_VEC_P (target_ops_p)): New vector type. | |
3435 | (target_structs): Change type to VEC (target_ops_p). | |
3436 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
3437 | (find_default_run_target): Rewrite for loop following changes to | |
3438 | target_structs. | |
3439 | ||
cb417230 JB |
3440 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> |
3441 | ||
3442 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
3443 | Adjust code accordingly. Adjust function description comment. | |
3444 | ||
817e0957 YQ |
3445 | 2014-08-19 Yao Qi <yao@codesourcery.com> |
3446 | ||
3447 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
3448 | types. | |
3449 | ||
2974be62 AM |
3450 | 2014-08-19 Alan Modra <amodra@gmail.com> |
3451 | ||
3452 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
3453 | * config.in: Regenerate. | |
3454 | * configure: Regenerate. | |
3455 | ||
34abf635 GB |
3456 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
3457 | Gary Benson <gbenson@redhat.com> | |
3458 | ||
3459 | * common/common-debug.h: New file. | |
3460 | * common/common-debug.c: Likewise. | |
3461 | * debug.c: Likewise. | |
3462 | * Makefile.in (SFILES): Add common/common-debug.c. | |
3463 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
3464 | (COMMON_OBS): Add common-debug.o and debug.o. | |
3465 | (common-debug.o): New rule. | |
3466 | * common/common-defs.h: Include common-debug.h. | |
3467 | * common/agent.c (debug_agent_printf): New function. | |
3468 | (DEBUG_AGENT): Redefine. | |
3469 | * nat/i386-dregs.c (debug_printf): Undefine. | |
3470 | ||
f6e94d78 GB |
3471 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
3472 | ||
3473 | * common/common-defs.h: Include print-utils.h. | |
3474 | * utils.h: Do not include print-utils.h. | |
3475 | ||
9239eeab GB |
3476 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
3477 | Gary Benson <gbenson@redhat.com> | |
3478 | ||
3479 | * common/common-types.h: New file. | |
3480 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
3481 | * common/common-defs.h: Include common-types.h. | |
3482 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
3483 | (ULONGEST): Remove. | |
3484 | ||
ef87c8bb GB |
3485 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
3486 | Gary Benson <gbenson@redhat.com> | |
3487 | ||
3488 | * common/errors.h: New file. | |
3489 | * common/errors.c: Likewise. | |
3490 | * Makefile.in (SFILES): Add common/errors.c. | |
3491 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
3492 | (COMMON_OBS): Add errors.o. | |
3493 | (errors.o): New rule. | |
3494 | * common/common-defs.h: Include errors.h. | |
3495 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
3496 | Don't declare. | |
3497 | * common/common-utils.h: (malloc_failure, internal_error): | |
3498 | Likewise. | |
3499 | ||
196a707b GB |
3500 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
3501 | ||
3502 | * utils.c (internal_vproblem): Always print the message. | |
3503 | ||
ded4fc8f DE |
3504 | 2014-08-18 Doug Evans <dje@google.com> |
3505 | ||
3506 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
3507 | ||
950c97d8 JB |
3508 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3509 | ||
3510 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
3511 | Return 0 if TYPE is dynamic. | |
3512 | (print_range): Add handling of dynamic ranges. | |
3513 | ||
3cdcd0ce JB |
3514 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
3515 | Joel Brobecker <brobecker@adacore.com> | |
3516 | ||
3517 | * gdbtypes.h (struct main_type): Add field "data_location". | |
3518 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
3519 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
3520 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
3521 | a dynamic data location. | |
3522 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
3523 | (copy_recursive, copy_type): Copy the data_location information | |
3524 | when present. | |
3525 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
3526 | * value.c (value_from_contents_and_address): Add | |
3527 | DW_AT_data_location handling. | |
3528 | ||
08412b07 JB |
3529 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
3530 | Joel Brobecker <brobecker@adacore.com> | |
3531 | ||
3532 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
3533 | field "get_object_address". | |
3534 | * dwarf2expr.c (execute_stack_op): Add handling for | |
3535 | DW_OP_push_object_address. | |
3536 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
3537 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
3538 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
3539 | (dwarf_expr_get_obj_addr): New function. | |
3540 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
3541 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
3542 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
3543 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
3544 | (needs_get_obj_addr): New function. | |
3545 | (needs_frame_ctx_funcs): Add get_object_address field. | |
3546 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
3547 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
3548 | (resolve_dynamic_array): Likewise. | |
3549 | ||
84754697 JB |
3550 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3551 | ||
3552 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
3553 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
3554 | fixed value for records and unions for which some GNAT encodings | |
3555 | are present. | |
3556 | ||
da5c522f JB |
3557 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3558 | ||
3559 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
3560 | rewrite to avoid "else if" and "else" constructs. Should be | |
3561 | a no-op in practice. | |
3562 | ||
0d72a7c3 JB |
3563 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
3564 | ||
3565 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
3566 | of lexical block. | |
3567 | ||
e66d4446 SC |
3568 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
3569 | ||
3570 | PR c++/17132 | |
3571 | * eval.c: Update all calls to find_overload_match. | |
3572 | * valarith.c: Likewise. | |
3573 | (value_user_defined_cpp_op, value_user_defined_op): New | |
3574 | argument NOSIDE. Update all callers. | |
3575 | * valops.c (find_overload_match): New argument NOSIDE. | |
3576 | * value.h (find_overload_match): Update signature. | |
3577 | ||
940df408 SC |
3578 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
3579 | ||
3580 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
3581 | 'items' methods instead of 'iteritems' method on dictionaries. | |
3582 | ||
699ca60a DE |
3583 | 2014-08-15 Doug Evans <dje@google.com> |
3584 | ||
3585 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
3586 | closer to use. | |
3587 | ||
37780ee5 DE |
3588 | 2014-08-15 Doug Evans <dje@google.com> |
3589 | ||
3590 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
3591 | ||
0ad93d4f DE |
3592 | 2014-08-15 Doug Evans <dje@google.com> |
3593 | ||
3594 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
3595 | ||
20d8c372 DE |
3596 | 2014-08-15 Doug Evans <dje@google.com> |
3597 | ||
3598 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
3599 | unused. | |
3600 | ||
cb039ba4 EZ |
3601 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
3602 | ||
3603 | * dcache.h: Include target.h, to avoid compile time warnings. | |
3604 | ||
eb7a547a JB |
3605 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
3606 | ||
3607 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
3608 | frame_info" partial declaration. | |
3609 | * gdbarch.h: Regenerate. | |
3610 | ||
783cecc8 YQ |
3611 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
3612 | ||
3613 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
3614 | Add parameter 'decode_for_pst_p'. Callers update. | |
3615 | ||
65c749e7 YQ |
3616 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
3617 | ||
3618 | PR build/17104 | |
3619 | * configure.ac: Use local variable 'pos'. | |
3620 | * configure: Regenerated. | |
3621 | ||
d769e349 DE |
3622 | 2014-08-11 Doug Evans <dje@google.com> |
3623 | ||
3624 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
3625 | message, it is redundant with "Reading symbols from ..." message. | |
3626 | ||
24f1235e DE |
3627 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
3628 | ||
3629 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
3630 | ||
dcd2e6ef YQ |
3631 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
3632 | ||
3633 | PR remote/9053 | |
3634 | * remote.c (remote_xfer_partial): Remove dead code. | |
3635 | ||
070bdf0b AA |
3636 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3637 | ||
3638 | * ia64-linux-tdep.c: Include "regset.h". | |
3639 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
3640 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
3641 | (ia64_linux_supply_fpregset): New function. | |
3642 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
3643 | (ia64_linux_regset_from_core_section): New function. | |
3644 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
3645 | method. | |
3646 | ||
08f9f542 AA |
3647 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3648 | ||
3649 | * m68klinux-tdep.c: Include "regset.h". | |
3650 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
3651 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
3652 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
3653 | (m68k_linux_regset_from_core_section): New function. | |
3654 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
3655 | method. | |
3656 | ||
8f1cee41 AA |
3657 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3658 | ||
3659 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
3660 | function. Move logic to... | |
3661 | (tilegx_linux_regmap): ... this new register map. | |
3662 | (tilegx_linux_regset): Refer to register map, replace supply | |
3663 | method by regcache_supply_regset, and add collect method. | |
3664 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
3665 | TILEGX_FIRST_EASY_REGNUM. | |
3666 | ||
c5741217 AA |
3667 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3668 | ||
3669 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
3670 | that calls regcache_supply_regset and handles the EPC register | |
3671 | separately. Move main logic to... | |
3672 | (score7_linux_gregmap): ... this new register map. | |
3673 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
3674 | (score7_linux_gregset): Refer to register map. Add collect method. | |
3675 | (score7_linux_regset_from_core_section): Replace | |
3676 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
3677 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
3678 | (struct regset): Delete unused forward declaraction. | |
3679 | (struct pt_regs): Delete structure definition. | |
3680 | (elf_gregset_t): Delete typedef. | |
3681 | ||
81580573 AA |
3682 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3683 | ||
3684 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
3685 | (nios2_core_regset): Add collect method. | |
3686 | ||
ba199d7d AA |
3687 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3688 | ||
3689 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
3690 | platform-independent and don't write to read-only input buffer. | |
3691 | (m32r_linux_collect_gregset): New function. | |
3692 | (m32r_linux_gregset): Add collect method. | |
3693 | ||
0006a9da AA |
3694 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3695 | ||
3696 | * hppa-linux-tdep.c (greg_map): Rename to... | |
3697 | (hppa_linux_gregmap): ... this. Also convert to | |
3698 | regcache_map_entry format. | |
3699 | (hppa_linux_supply_regset): Delete function. | |
3700 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
3701 | (hppa_linux_fpregmap): ... this new register map. | |
3702 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
3703 | register map, replace supply method by regcache_supply_regset, and | |
3704 | add collect method regcache_collect_regset. | |
3705 | ||
901e1b23 AA |
3706 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3707 | ||
3708 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
3709 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
3710 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
3711 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
3712 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
3713 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
3714 | (frv_linux_supply_gregset): Replace main logic by call to | |
3715 | regcache_supply_regset, but keep clearing gr32-gr63. | |
3716 | (frv_linux_supply_fpregset): Delete function. | |
3717 | (frv_linux_gregset): Refer to appropriate register map and add | |
3718 | regcache_collect_regset as the collect method. | |
3719 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
3720 | by regcache_supply_regset. | |
3721 | ||
1d6e7555 AA |
3722 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3723 | ||
3724 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
3725 | by call to alpha_supply_int_regs. | |
3726 | (alpha_linux_collect_gregset): New function. | |
3727 | (alpha_linux_supply_fpregset): Replace logic by call to | |
3728 | alpha_supply_fp_regs. | |
3729 | (alpha_linux_collect_fpregset): New function. | |
3730 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
3731 | ||
d4d793bf AA |
3732 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3733 | ||
3734 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
3735 | by call to regcache_collect_regset. | |
3736 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
3737 | instead of aarch64_linux_supply_gregset/_fpregset. | |
3738 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
3739 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
3740 | header file instead. | |
3741 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
3742 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
3743 | functions. Move logic to ... | |
3744 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
3745 | register maps. | |
3746 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
3747 | refer to new register maps, replace *_regset_from_core by | |
3748 | regcache_supply_regset, and also use regcache_collect_regset. | |
3749 | * aarch64-linux-tdep.h: Include "regset.h". | |
3750 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
3751 | Delete prototypes. | |
3752 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
3753 | macros, moved from C source file. | |
3754 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
3755 | variable declarations. | |
3756 | ||
99b7da5d AA |
3757 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3758 | ||
3759 | * s390-linux-nat.c: Include "regset.h". | |
3760 | (regmap_gregset): Delete macro. | |
3761 | (s390_64_regmap_gregset): New register map for | |
3762 | regcache_supply/_collect_regset. | |
3763 | (s390_64_gregset): New regset. | |
3764 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
3765 | (regmap_fpregset): Delete macro. | |
3766 | (s390_native_supply, s390_native_collect): Delete functions. | |
3767 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
3768 | handling by a call to regcache_supply/_collect_regset. | |
3769 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
3770 | _collect_regset instead of s390_native_supply/_collect. | |
3771 | (fetch_regset, store_regset): Likewise. Also change the last | |
3772 | parameter to a regset instead of a regmap. | |
3773 | (s390_linux_fetch_inferior_registers) | |
3774 | (390_linux_store_inferior_registers): Adjust last parameter in | |
3775 | calls to fetch_regset and store_regset. | |
3776 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
3777 | (s390_gregmap): ... this. Also make static const and convert to | |
3778 | regcache_map_entry format. | |
3779 | (s390x_regmap_gregset): Delete. | |
3780 | (s390_regmap_fpregset): Rename to... | |
3781 | (s390_fpregmap): ... this. Make static const and convert to | |
3782 | regcache_map_entry format. | |
3783 | (s390_regmap_upper, s390_regmap_last_break) | |
3784 | (s390x_regmap_last_break, s390_regmap_system_call) | |
3785 | (s390_regmap_tdb): Likewise. | |
3786 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
3787 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
3788 | s390_supply_regset. | |
3789 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
3790 | (s390_last_break_regset, s390x_last_break_regset) | |
3791 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
3792 | replace s390_supply/_collect_regset by regcache_supply/ | |
3793 | _collect_regset. | |
3794 | (s390x_gregset): Delete. | |
3795 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
3796 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
3797 | (s390_regmap_fpregset, s390_regmap_last_break) | |
3798 | (s390x_regmap_last_break, s390_regmap_system_call) | |
3799 | (s390_regmap_tdb): Delete global variable declarations. | |
3800 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
3801 | (s390x_last_break_regset, s390_system_call_regset) | |
3802 | (s390_tdb_regset): New global variable declarations. | |
3803 | ||
0b309272 AA |
3804 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3805 | ||
3806 | * regcache.c: Include "regset.h". | |
3807 | (regcache_transfer_regset): New local function. | |
3808 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
3809 | * regcache.h (struct regcache_map_entry): New structure. | |
3810 | (REGCACHE_MAP_SKIP): New enum value. | |
3811 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
3812 | ||
7fefa8d7 AA |
3813 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3814 | ||
3815 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
3816 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
3817 | (ppc_linux_collect_gregset ): Likewise. | |
3818 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
3819 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
3820 | (ppc_collect_vrregset): Likewise. | |
3821 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
3822 | Likewise. | |
3823 | ||
96c4f946 YQ |
3824 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
3825 | ||
3826 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
3827 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
3828 | * remote.c (remote_read_bytes): Likewise. | |
3829 | ||
fffbe6a8 YQ |
3830 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
3831 | ||
3832 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
3833 | ||
5ee8a82c YQ |
3834 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
3835 | ||
3836 | PR remote/17230 | |
3837 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
3838 | TARGET_XFER_OK instead of 0. | |
3839 | ||
bb974a24 GB |
3840 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
3841 | ||
3842 | * common/common-defs.h: Include errno.h. | |
3843 | * defs.h: Do not include errno.h. | |
3844 | * ada-typeprint.c: Likewise. | |
3845 | * c-typeprint.c: Likewise. | |
3846 | * core-regset.c: Likewise. | |
3847 | * corefile.c: Likewise. | |
3848 | * corelow.c: Likewise. | |
3849 | * event-loop.c: Likewise. | |
3850 | * f-typeprint.c: Likewise. | |
3851 | * gnu-nat.c: Likewise. | |
3852 | * go32-nat.c: Likewise. | |
3853 | * i386gnu-nat.c: Likewise. | |
3854 | * m2-typeprint.c: Likewise. | |
3855 | * nat/linux-btrace.c: Likewise. | |
3856 | * p-typeprint.c: Likewise. | |
3857 | * procfs.c: Likewise. | |
3858 | * remote-sim.c: Likewise. | |
3859 | * rs6000-nat.c: Likewise. | |
3860 | * target.c: Likewise. | |
3861 | * typeprint.c: Likewise. | |
3862 | * ui-file.c: Likewise. | |
3863 | * valops.c: Likewise. | |
3864 | * valprint.c: Likewise. | |
3865 | ||
6d3d12eb GB |
3866 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
3867 | ||
3868 | * common/common-defs.h: Include string.h. | |
3869 | * aarch64-tdep.c: Do not include string.h. | |
3870 | * ada-exp.y: Likewise. | |
3871 | * ada-lang.c: Likewise. | |
3872 | * ada-lex.l: Likewise. | |
3873 | * ada-typeprint.c: Likewise. | |
3874 | * ada-valprint.c: Likewise. | |
3875 | * aix-thread.c: Likewise. | |
3876 | * alpha-linux-tdep.c: Likewise. | |
3877 | * alpha-mdebug-tdep.c: Likewise. | |
3878 | * alpha-nat.c: Likewise. | |
3879 | * alpha-osf1-tdep.c: Likewise. | |
3880 | * alpha-tdep.c: Likewise. | |
3881 | * alphanbsd-tdep.c: Likewise. | |
3882 | * amd64-dicos-tdep.c: Likewise. | |
3883 | * amd64-linux-tdep.c: Likewise. | |
3884 | * amd64-nat.c: Likewise. | |
3885 | * amd64-sol2-tdep.c: Likewise. | |
3886 | * amd64fbsd-tdep.c: Likewise. | |
3887 | * amd64obsd-tdep.c: Likewise. | |
3888 | * arch-utils.c: Likewise. | |
3889 | * arm-linux-nat.c: Likewise. | |
3890 | * arm-linux-tdep.c: Likewise. | |
3891 | * arm-tdep.c: Likewise. | |
3892 | * arm-wince-tdep.c: Likewise. | |
3893 | * armbsd-tdep.c: Likewise. | |
3894 | * armnbsd-nat.c: Likewise. | |
3895 | * armnbsd-tdep.c: Likewise. | |
3896 | * armobsd-tdep.c: Likewise. | |
3897 | * avr-tdep.c: Likewise. | |
3898 | * ax-gdb.c: Likewise. | |
3899 | * ax-general.c: Likewise. | |
3900 | * bcache.c: Likewise. | |
3901 | * bfin-tdep.c: Likewise. | |
3902 | * breakpoint.c: Likewise. | |
3903 | * build-id.c: Likewise. | |
3904 | * buildsym.c: Likewise. | |
3905 | * c-exp.y: Likewise. | |
3906 | * c-lang.c: Likewise. | |
3907 | * c-typeprint.c: Likewise. | |
3908 | * c-valprint.c: Likewise. | |
3909 | * charset.c: Likewise. | |
3910 | * cli-out.c: Likewise. | |
3911 | * cli/cli-cmds.c: Likewise. | |
3912 | * cli/cli-decode.c: Likewise. | |
3913 | * cli/cli-dump.c: Likewise. | |
3914 | * cli/cli-interp.c: Likewise. | |
3915 | * cli/cli-logging.c: Likewise. | |
3916 | * cli/cli-script.c: Likewise. | |
3917 | * cli/cli-setshow.c: Likewise. | |
3918 | * cli/cli-utils.c: Likewise. | |
3919 | * coffread.c: Likewise. | |
3920 | * common/agent.c: Likewise. | |
3921 | * common/buffer.c: Likewise. | |
3922 | * common/buffer.h: Likewise. | |
3923 | * common/common-utils.c: Likewise. | |
3924 | * common/filestuff.c: Likewise. | |
3925 | * common/filestuff.c: Likewise. | |
3926 | * common/format.c: Likewise. | |
3927 | * common/print-utils.c: Likewise. | |
3928 | * common/rsp-low.c: Likewise. | |
3929 | * common/signals.c: Likewise. | |
3930 | * common/vec.h: Likewise. | |
3931 | * common/xml-utils.c: Likewise. | |
3932 | * core-regset.c: Likewise. | |
3933 | * corefile.c: Likewise. | |
3934 | * corelow.c: Likewise. | |
3935 | * cp-abi.c: Likewise. | |
3936 | * cp-name-parser.y: Likewise. | |
3937 | * cp-support.c: Likewise. | |
3938 | * cp-valprint.c: Likewise. | |
3939 | * cris-tdep.c: Likewise. | |
3940 | * d-exp.y: Likewise. | |
3941 | * darwin-nat.c: Likewise. | |
3942 | * dbxread.c: Likewise. | |
3943 | * dcache.c: Likewise. | |
3944 | * demangle.c: Likewise. | |
3945 | * dicos-tdep.c: Likewise. | |
3946 | * disasm.c: Likewise. | |
3947 | * doublest.c: Likewise. | |
3948 | * dsrec.c: Likewise. | |
3949 | * dummy-frame.c: Likewise. | |
3950 | * dwarf2-frame.c: Likewise. | |
3951 | * dwarf2loc.c: Likewise. | |
3952 | * dwarf2read.c: Likewise. | |
3953 | * elfread.c: Likewise. | |
3954 | * environ.c: Likewise. | |
3955 | * eval.c: Likewise. | |
3956 | * event-loop.c: Likewise. | |
3957 | * exceptions.c: Likewise. | |
3958 | * exec.c: Likewise. | |
3959 | * expprint.c: Likewise. | |
3960 | * f-exp.y: Likewise. | |
3961 | * f-lang.c: Likewise. | |
3962 | * f-typeprint.c: Likewise. | |
3963 | * f-valprint.c: Likewise. | |
3964 | * fbsd-nat.c: Likewise. | |
3965 | * findcmd.c: Likewise. | |
3966 | * findvar.c: Likewise. | |
3967 | * fork-child.c: Likewise. | |
3968 | * frame.c: Likewise. | |
3969 | * frv-linux-tdep.c: Likewise. | |
3970 | * frv-tdep.c: Likewise. | |
3971 | * gdb.c: Likewise. | |
3972 | * gdb_bfd.c: Likewise. | |
3973 | * gdbarch.c: Likewise. | |
3974 | * gdbarch.sh: Likewise. | |
3975 | * gdbtypes.c: Likewise. | |
3976 | * gnu-nat.c: Likewise. | |
3977 | * gnu-v2-abi.c: Likewise. | |
3978 | * gnu-v3-abi.c: Likewise. | |
3979 | * go-exp.y: Likewise. | |
3980 | * go-lang.c: Likewise. | |
3981 | * go32-nat.c: Likewise. | |
3982 | * guile/guile.c: Likewise. | |
3983 | * guile/scm-auto-load.c: Likewise. | |
3984 | * hppa-hpux-tdep.c: Likewise. | |
3985 | * hppa-linux-nat.c: Likewise. | |
3986 | * hppanbsd-tdep.c: Likewise. | |
3987 | * hppaobsd-tdep.c: Likewise. | |
3988 | * i386-cygwin-tdep.c: Likewise. | |
3989 | * i386-dicos-tdep.c: Likewise. | |
3990 | * i386-linux-tdep.c: Likewise. | |
3991 | * i386-nto-tdep.c: Likewise. | |
3992 | * i386-sol2-tdep.c: Likewise. | |
3993 | * i386-tdep.c: Likewise. | |
3994 | * i386bsd-tdep.c: Likewise. | |
3995 | * i386gnu-nat.c: Likewise. | |
3996 | * i386nbsd-tdep.c: Likewise. | |
3997 | * i386obsd-tdep.c: Likewise. | |
3998 | * i387-tdep.c: Likewise. | |
3999 | * ia64-libunwind-tdep.c: Likewise. | |
4000 | * ia64-linux-nat.c: Likewise. | |
4001 | * inf-child.c: Likewise. | |
4002 | * inf-ptrace.c: Likewise. | |
4003 | * inf-ttrace.c: Likewise. | |
4004 | * infcall.c: Likewise. | |
4005 | * infcmd.c: Likewise. | |
4006 | * inflow.c: Likewise. | |
4007 | * infrun.c: Likewise. | |
4008 | * interps.c: Likewise. | |
4009 | * iq2000-tdep.c: Likewise. | |
4010 | * irix5-nat.c: Likewise. | |
4011 | * jv-exp.y: Likewise. | |
4012 | * jv-lang.c: Likewise. | |
4013 | * jv-typeprint.c: Likewise. | |
4014 | * jv-valprint.c: Likewise. | |
4015 | * language.c: Likewise. | |
4016 | * linux-fork.c: Likewise. | |
4017 | * linux-nat.c: Likewise. | |
4018 | * lm32-tdep.c: Likewise. | |
4019 | * m2-exp.y: Likewise. | |
4020 | * m2-typeprint.c: Likewise. | |
4021 | * m32c-tdep.c: Likewise. | |
4022 | * m32r-linux-nat.c: Likewise. | |
4023 | * m32r-linux-tdep.c: Likewise. | |
4024 | * m32r-rom.c: Likewise. | |
4025 | * m32r-tdep.c: Likewise. | |
4026 | * m68hc11-tdep.c: Likewise. | |
4027 | * m68k-tdep.c: Likewise. | |
4028 | * m68kbsd-tdep.c: Likewise. | |
4029 | * m68klinux-nat.c: Likewise. | |
4030 | * m68klinux-tdep.c: Likewise. | |
4031 | * m88k-tdep.c: Likewise. | |
4032 | * machoread.c: Likewise. | |
4033 | * macrocmd.c: Likewise. | |
4034 | * main.c: Likewise. | |
4035 | * mdebugread.c: Likewise. | |
4036 | * mem-break.c: Likewise. | |
4037 | * memattr.c: Likewise. | |
4038 | * memory-map.c: Likewise. | |
4039 | * mep-tdep.c: Likewise. | |
4040 | * mi/mi-cmd-break.c: Likewise. | |
4041 | * mi/mi-cmd-disas.c: Likewise. | |
4042 | * mi/mi-cmd-env.c: Likewise. | |
4043 | * mi/mi-cmd-stack.c: Likewise. | |
4044 | * mi/mi-cmd-var.c: Likewise. | |
4045 | * mi/mi-cmds.c: Likewise. | |
4046 | * mi/mi-console.c: Likewise. | |
4047 | * mi/mi-getopt.c: Likewise. | |
4048 | * mi/mi-interp.c: Likewise. | |
4049 | * mi/mi-main.c: Likewise. | |
4050 | * mi/mi-parse.c: Likewise. | |
4051 | * microblaze-rom.c: Likewise. | |
4052 | * microblaze-tdep.c: Likewise. | |
4053 | * mingw-hdep.c: Likewise. | |
4054 | * minidebug.c: Likewise. | |
4055 | * minsyms.c: Likewise. | |
4056 | * mips-irix-tdep.c: Likewise. | |
4057 | * mips-linux-tdep.c: Likewise. | |
4058 | * mips-tdep.c: Likewise. | |
4059 | * mips64obsd-tdep.c: Likewise. | |
4060 | * mipsnbsd-tdep.c: Likewise. | |
4061 | * mipsread.c: Likewise. | |
4062 | * mn10300-linux-tdep.c: Likewise. | |
4063 | * mn10300-tdep.c: Likewise. | |
4064 | * monitor.c: Likewise. | |
4065 | * moxie-tdep.c: Likewise. | |
4066 | * mt-tdep.c: Likewise. | |
4067 | * nat/linux-btrace.c: Likewise. | |
4068 | * nat/linux-osdata.c: Likewise. | |
4069 | * nat/linux-procfs.c: Likewise. | |
4070 | * nat/linux-ptrace.c: Likewise. | |
4071 | * nat/linux-waitpid.c: Likewise. | |
4072 | * nbsd-tdep.c: Likewise. | |
4073 | * nios2-linux-tdep.c: Likewise. | |
4074 | * nto-procfs.c: Likewise. | |
4075 | * nto-tdep.c: Likewise. | |
4076 | * objc-lang.c: Likewise. | |
4077 | * objfiles.c: Likewise. | |
4078 | * opencl-lang.c: Likewise. | |
4079 | * osabi.c: Likewise. | |
4080 | * osdata.c: Likewise. | |
4081 | * p-exp.y: Likewise. | |
4082 | * p-lang.c: Likewise. | |
4083 | * p-typeprint.c: Likewise. | |
4084 | * parse.c: Likewise. | |
4085 | * posix-hdep.c: Likewise. | |
4086 | * ppc-linux-nat.c: Likewise. | |
4087 | * ppc-sysv-tdep.c: Likewise. | |
4088 | * ppcfbsd-tdep.c: Likewise. | |
4089 | * ppcnbsd-tdep.c: Likewise. | |
4090 | * ppcobsd-tdep.c: Likewise. | |
4091 | * printcmd.c: Likewise. | |
4092 | * procfs.c: Likewise. | |
4093 | * prologue-value.c: Likewise. | |
4094 | * python/py-auto-load.c: Likewise. | |
4095 | * python/py-gdb-readline.c: Likewise. | |
4096 | * ravenscar-thread.c: Likewise. | |
4097 | * regcache.c: Likewise. | |
4098 | * registry.c: Likewise. | |
4099 | * remote-fileio.c: Likewise. | |
4100 | * remote-m32r-sdi.c: Likewise. | |
4101 | * remote-mips.c: Likewise. | |
4102 | * remote-notif.c: Likewise. | |
4103 | * remote-sim.c: Likewise. | |
4104 | * remote.c: Likewise. | |
4105 | * reverse.c: Likewise. | |
4106 | * rs6000-aix-tdep.c: Likewise. | |
4107 | * ser-base.c: Likewise. | |
4108 | * ser-go32.c: Likewise. | |
4109 | * ser-mingw.c: Likewise. | |
4110 | * ser-pipe.c: Likewise. | |
4111 | * ser-tcp.c: Likewise. | |
4112 | * ser-unix.c: Likewise. | |
4113 | * serial.c: Likewise. | |
4114 | * sh-tdep.c: Likewise. | |
4115 | * sh64-tdep.c: Likewise. | |
4116 | * shnbsd-tdep.c: Likewise. | |
4117 | * skip.c: Likewise. | |
4118 | * sol-thread.c: Likewise. | |
4119 | * solib-dsbt.c: Likewise. | |
4120 | * solib-frv.c: Likewise. | |
4121 | * solib-osf.c: Likewise. | |
4122 | * solib-som.c: Likewise. | |
4123 | * solib-spu.c: Likewise. | |
4124 | * solib-target.c: Likewise. | |
4125 | * solib.c: Likewise. | |
4126 | * somread.c: Likewise. | |
4127 | * source.c: Likewise. | |
4128 | * sparc-nat.c: Likewise. | |
4129 | * sparc-sol2-tdep.c: Likewise. | |
4130 | * sparc-tdep.c: Likewise. | |
4131 | * sparc64-tdep.c: Likewise. | |
4132 | * sparc64fbsd-tdep.c: Likewise. | |
4133 | * sparc64nbsd-tdep.c: Likewise. | |
4134 | * sparcnbsd-tdep.c: Likewise. | |
4135 | * spu-linux-nat.c: Likewise. | |
4136 | * spu-multiarch.c: Likewise. | |
4137 | * spu-tdep.c: Likewise. | |
4138 | * stabsread.c: Likewise. | |
4139 | * stack.c: Likewise. | |
4140 | * std-regs.c: Likewise. | |
4141 | * symfile.c: Likewise. | |
4142 | * symmisc.c: Likewise. | |
4143 | * symtab.c: Likewise. | |
4144 | * target.c: Likewise. | |
4145 | * thread.c: Likewise. | |
4146 | * tilegx-linux-nat.c: Likewise. | |
4147 | * tilegx-tdep.c: Likewise. | |
4148 | * top.c: Likewise. | |
4149 | * tracepoint.c: Likewise. | |
4150 | * tui/tui-command.c: Likewise. | |
4151 | * tui/tui-data.c: Likewise. | |
4152 | * tui/tui-disasm.c: Likewise. | |
4153 | * tui/tui-file.c: Likewise. | |
4154 | * tui/tui-layout.c: Likewise. | |
4155 | * tui/tui-out.c: Likewise. | |
4156 | * tui/tui-regs.c: Likewise. | |
4157 | * tui/tui-source.c: Likewise. | |
4158 | * tui/tui-stack.c: Likewise. | |
4159 | * tui/tui-win.c: Likewise. | |
4160 | * tui/tui-windata.c: Likewise. | |
4161 | * tui/tui-winsource.c: Likewise. | |
4162 | * typeprint.c: Likewise. | |
4163 | * ui-file.c: Likewise. | |
4164 | * ui-out.c: Likewise. | |
4165 | * user-regs.c: Likewise. | |
4166 | * utils.c: Likewise. | |
4167 | * v850-tdep.c: Likewise. | |
4168 | * valarith.c: Likewise. | |
4169 | * valops.c: Likewise. | |
4170 | * valprint.c: Likewise. | |
4171 | * value.c: Likewise. | |
4172 | * varobj.c: Likewise. | |
4173 | * vax-tdep.c: Likewise. | |
4174 | * vaxnbsd-tdep.c: Likewise. | |
4175 | * vaxobsd-tdep.c: Likewise. | |
4176 | * windows-nat.c: Likewise. | |
4177 | * xcoffread.c: Likewise. | |
4178 | * xml-support.c: Likewise. | |
4179 | * xstormy16-tdep.c: Likewise. | |
4180 | * xtensa-linux-nat.c: Likewise. | |
4181 | ||
dccbb609 GB |
4182 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4183 | ||
4184 | * common/common-defs.h: Include gdb_assert.h. | |
4185 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
4186 | * addrmap.c: Likewise. | |
4187 | * aix-thread.c: Likewise. | |
4188 | * alpha-linux-tdep.c: Likewise. | |
4189 | * alpha-mdebug-tdep.c: Likewise. | |
4190 | * alphanbsd-tdep.c: Likewise. | |
4191 | * amd64-nat.c: Likewise. | |
4192 | * amd64-tdep.c: Likewise. | |
4193 | * amd64bsd-nat.c: Likewise. | |
4194 | * amd64fbsd-nat.c: Likewise. | |
4195 | * amd64fbsd-tdep.c: Likewise. | |
4196 | * amd64nbsd-nat.c: Likewise. | |
4197 | * amd64nbsd-tdep.c: Likewise. | |
4198 | * amd64obsd-nat.c: Likewise. | |
4199 | * amd64obsd-tdep.c: Likewise. | |
4200 | * arch-utils.c: Likewise. | |
4201 | * arm-tdep.c: Likewise. | |
4202 | * armbsd-tdep.c: Likewise. | |
4203 | * auxv.c: Likewise. | |
4204 | * bcache.c: Likewise. | |
4205 | * bfin-tdep.c: Likewise. | |
4206 | * blockframe.c: Likewise. | |
4207 | * breakpoint.c: Likewise. | |
4208 | * bsd-kvm.c: Likewise. | |
4209 | * bsd-uthread.c: Likewise. | |
4210 | * buildsym.c: Likewise. | |
4211 | * c-exp.y: Likewise. | |
4212 | * c-lang.c: Likewise. | |
4213 | * charset.c: Likewise. | |
4214 | * cleanups.c: Likewise. | |
4215 | * cli-out.c: Likewise. | |
4216 | * cli/cli-decode.c: Likewise. | |
4217 | * cli/cli-dump.c: Likewise. | |
4218 | * cli/cli-logging.c: Likewise. | |
4219 | * cli/cli-script.c: Likewise. | |
4220 | * cli/cli-utils.c: Likewise. | |
4221 | * coffread.c: Likewise. | |
4222 | * common/common-utils.c: Likewise. | |
4223 | * common/queue.h: Likewise. | |
4224 | * common/signals.c: Likewise. | |
4225 | * common/vec.h: Likewise. | |
4226 | * complaints.c: Likewise. | |
4227 | * completer.c: Likewise. | |
4228 | * corelow.c: Likewise. | |
4229 | * cp-abi.c: Likewise. | |
4230 | * cp-name-parser.y: Likewise. | |
4231 | * cp-namespace.c: Likewise. | |
4232 | * cp-support.c: Likewise. | |
4233 | * cris-tdep.c: Likewise. | |
4234 | * dbxread.c: Likewise. | |
4235 | * dictionary.c: Likewise. | |
4236 | * doublest.c: Likewise. | |
4237 | * dsrec.c: Likewise. | |
4238 | * dummy-frame.c: Likewise. | |
4239 | * dwarf2-frame-tailcall.c: Likewise. | |
4240 | * dwarf2-frame.c: Likewise. | |
4241 | * dwarf2expr.c: Likewise. | |
4242 | * dwarf2loc.c: Likewise. | |
4243 | * dwarf2read.c: Likewise. | |
4244 | * eval.c: Likewise. | |
4245 | * event-loop.c: Likewise. | |
4246 | * exceptions.c: Likewise. | |
4247 | * expprint.c: Likewise. | |
4248 | * f-valprint.c: Likewise. | |
4249 | * fbsd-nat.c: Likewise. | |
4250 | * findvar.c: Likewise. | |
4251 | * frame-unwind.c: Likewise. | |
4252 | * frame.c: Likewise. | |
4253 | * frv-tdep.c: Likewise. | |
4254 | * gcore.c: Likewise. | |
4255 | * gdb-dlfcn.c: Likewise. | |
4256 | * gdb_bfd.c: Likewise. | |
4257 | * gdbarch.c: Likewise. | |
4258 | * gdbarch.sh: Likewise. | |
4259 | * gdbtypes.c: Likewise. | |
4260 | * gnu-nat.c: Likewise. | |
4261 | * gnu-v3-abi.c: Likewise. | |
4262 | * go-lang.c: Likewise. | |
4263 | * guile/scm-exception.c: Likewise. | |
4264 | * guile/scm-gsmob.c: Likewise. | |
4265 | * guile/scm-lazy-string.c: Likewise. | |
4266 | * guile/scm-math.c: Likewise. | |
4267 | * guile/scm-pretty-print.c: Likewise. | |
4268 | * guile/scm-safe-call.c: Likewise. | |
4269 | * guile/scm-utils.c: Likewise. | |
4270 | * guile/scm-value.c: Likewise. | |
4271 | * h8300-tdep.c: Likewise. | |
4272 | * hppa-hpux-nat.c: Likewise. | |
4273 | * hppa-tdep.c: Likewise. | |
4274 | * hppanbsd-tdep.c: Likewise. | |
4275 | * hppaobsd-tdep.c: Likewise. | |
4276 | * i386-darwin-nat.c: Likewise. | |
4277 | * i386-darwin-tdep.c: Likewise. | |
4278 | * i386-nto-tdep.c: Likewise. | |
4279 | * i386-tdep.c: Likewise. | |
4280 | * i386bsd-nat.c: Likewise. | |
4281 | * i386fbsd-tdep.c: Likewise. | |
4282 | * i386gnu-nat.c: Likewise. | |
4283 | * i386nbsd-tdep.c: Likewise. | |
4284 | * i386obsd-tdep.c: Likewise. | |
4285 | * i387-tdep.c: Likewise. | |
4286 | * ia64-libunwind-tdep.c: Likewise. | |
4287 | * ia64-tdep.c: Likewise. | |
4288 | * inf-ptrace.c: Likewise. | |
4289 | * inf-ttrace.c: Likewise. | |
4290 | * infcall.c: Likewise. | |
4291 | * infcmd.c: Likewise. | |
4292 | * infrun.c: Likewise. | |
4293 | * inline-frame.c: Likewise. | |
4294 | * interps.c: Likewise. | |
4295 | * jv-lang.c: Likewise. | |
4296 | * jv-typeprint.c: Likewise. | |
4297 | * linux-fork.c: Likewise. | |
4298 | * linux-nat.c: Likewise. | |
4299 | * linux-thread-db.c: Likewise. | |
4300 | * m32c-tdep.c: Likewise. | |
4301 | * m32r-linux-nat.c: Likewise. | |
4302 | * m32r-tdep.c: Likewise. | |
4303 | * m68k-tdep.c: Likewise. | |
4304 | * m68kbsd-nat.c: Likewise. | |
4305 | * m68kbsd-tdep.c: Likewise. | |
4306 | * m88k-tdep.c: Likewise. | |
4307 | * machoread.c: Likewise. | |
4308 | * macroexp.c: Likewise. | |
4309 | * macrotab.c: Likewise. | |
4310 | * maint.c: Likewise. | |
4311 | * mdebugread.c: Likewise. | |
4312 | * memory-map.c: Likewise. | |
4313 | * mep-tdep.c: Likewise. | |
4314 | * mi/mi-common.c: Likewise. | |
4315 | * microblaze-tdep.c: Likewise. | |
4316 | * mingw-hdep.c: Likewise. | |
4317 | * mips-linux-nat.c: Likewise. | |
4318 | * mips-linux-tdep.c: Likewise. | |
4319 | * mips-tdep.c: Likewise. | |
4320 | * mips64obsd-tdep.c: Likewise. | |
4321 | * mipsnbsd-tdep.c: Likewise. | |
4322 | * mn10300-linux-tdep.c: Likewise. | |
4323 | * mn10300-tdep.c: Likewise. | |
4324 | * moxie-tdep.c: Likewise. | |
4325 | * mt-tdep.c: Likewise. | |
4326 | * nat/linux-btrace.c: Likewise. | |
4327 | * nat/linux-osdata.c: Likewise. | |
4328 | * nat/linux-ptrace.c: Likewise. | |
4329 | * nat/mips-linux-watch.c: Likewise. | |
4330 | * nios2-linux-tdep.c: Likewise. | |
4331 | * nios2-tdep.c: Likewise. | |
4332 | * objc-lang.c: Likewise. | |
4333 | * objfiles.c: Likewise. | |
4334 | * obsd-nat.c: Likewise. | |
4335 | * opencl-lang.c: Likewise. | |
4336 | * osabi.c: Likewise. | |
4337 | * parse.c: Likewise. | |
4338 | * ppc-linux-nat.c: Likewise. | |
4339 | * ppc-sysv-tdep.c: Likewise. | |
4340 | * ppcfbsd-nat.c: Likewise. | |
4341 | * ppcfbsd-tdep.c: Likewise. | |
4342 | * ppcnbsd-nat.c: Likewise. | |
4343 | * ppcnbsd-tdep.c: Likewise. | |
4344 | * ppcobsd-nat.c: Likewise. | |
4345 | * ppcobsd-tdep.c: Likewise. | |
4346 | * printcmd.c: Likewise. | |
4347 | * procfs.c: Likewise. | |
4348 | * prologue-value.c: Likewise. | |
4349 | * psymtab.c: Likewise. | |
4350 | * python/py-lazy-string.c: Likewise. | |
4351 | * python/py-value.c: Likewise. | |
4352 | * regcache.c: Likewise. | |
4353 | * reggroups.c: Likewise. | |
4354 | * registry.c: Likewise. | |
4355 | * remote-sim.c: Likewise. | |
4356 | * remote.c: Likewise. | |
4357 | * rs6000-aix-tdep.c: Likewise. | |
4358 | * rs6000-tdep.c: Likewise. | |
4359 | * s390-linux-tdep.c: Likewise. | |
4360 | * score-tdep.c: Likewise. | |
4361 | * ser-base.c: Likewise. | |
4362 | * ser-mingw.c: Likewise. | |
4363 | * sh-tdep.c: Likewise. | |
4364 | * sh64-tdep.c: Likewise. | |
4365 | * solib-darwin.c: Likewise. | |
4366 | * solib-spu.c: Likewise. | |
4367 | * solib-svr4.c: Likewise. | |
4368 | * source.c: Likewise. | |
4369 | * sparc-nat.c: Likewise. | |
4370 | * sparc-sol2-tdep.c: Likewise. | |
4371 | * sparc-tdep.c: Likewise. | |
4372 | * sparc64-sol2-tdep.c: Likewise. | |
4373 | * sparc64-tdep.c: Likewise. | |
4374 | * sparc64fbsd-tdep.c: Likewise. | |
4375 | * sparc64nbsd-tdep.c: Likewise. | |
4376 | * sparc64obsd-tdep.c: Likewise. | |
4377 | * sparcnbsd-tdep.c: Likewise. | |
4378 | * sparcobsd-tdep.c: Likewise. | |
4379 | * spu-multiarch.c: Likewise. | |
4380 | * spu-tdep.c: Likewise. | |
4381 | * stabsread.c: Likewise. | |
4382 | * stack.c: Likewise. | |
4383 | * symfile.c: Likewise. | |
4384 | * symtab.c: Likewise. | |
4385 | * target-descriptions.c: Likewise. | |
4386 | * target-memory.c: Likewise. | |
4387 | * target.c: Likewise. | |
4388 | * tic6x-linux-tdep.c: Likewise. | |
4389 | * tic6x-tdep.c: Likewise. | |
4390 | * tilegx-linux-nat.c: Likewise. | |
4391 | * tilegx-tdep.c: Likewise. | |
4392 | * top.c: Likewise. | |
4393 | * tramp-frame.c: Likewise. | |
4394 | * tui/tui-out.c: Likewise. | |
4395 | * tui/tui-winsource.c: Likewise. | |
4396 | * ui-out.c: Likewise. | |
4397 | * user-regs.c: Likewise. | |
4398 | * utils.c: Likewise. | |
4399 | * v850-tdep.c: Likewise. | |
4400 | * valops.c: Likewise. | |
4401 | * value.c: Likewise. | |
4402 | * varobj.c: Likewise. | |
4403 | * vax-nat.c: Likewise. | |
4404 | * xml-syscall.c: Likewise. | |
4405 | * xml-tdesc.c: Likewise. | |
4406 | * xstormy16-tdep.c: Likewise. | |
4407 | * xtensa-linux-nat.c: Likewise. | |
4408 | * xtensa-tdep.c: Likewise. | |
4409 | ||
e76df0d0 GB |
4410 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4411 | ||
4412 | * common/common-defs.h: Include common-utils.h. | |
4413 | * defs.h: Do not include common-utils.h. | |
4414 | * common/gdb_assert.h: Likewise. | |
4415 | * darwin-nat.h: Likewise. | |
4416 | * nat/linux-btrace.c: Likewise. | |
4417 | * target/waitstatus.h: Likewise. | |
4418 | ||
4cb9c816 GB |
4419 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4420 | ||
4421 | * common/common-defs.h: Include ptid.h. | |
4422 | * defs.h: Do not include ptid.h. | |
4423 | * inferior.h: Likewise. | |
4424 | * infrun.h: Likewise. | |
4425 | * nat/linux-btrace.h: Likewise. | |
4426 | * nat/linux-osdata.h: Likewise. | |
4427 | * target/waitstatus.h: Likewise. | |
4428 | ||
3995eeee GB |
4429 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4430 | ||
4431 | * common/common-defs.h: Include gdb_locale.h. | |
4432 | * defs.h: Do not include gdb_locale.h. | |
4433 | ||
cb9f1a9b GB |
4434 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4435 | ||
4436 | * common/common-defs.h: Include gdb/signals.h. | |
4437 | * defs.h: Do not include gdb/signals.h. | |
4438 | ||
a5fceff8 GB |
4439 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4440 | ||
4441 | * common/common-defs.h: Include pathmax.h. | |
4442 | * defs.h: Do not include pathmax.h. | |
4443 | ||
b9391142 GB |
4444 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4445 | ||
4446 | * common/common-defs.h: Include libiberty.h. | |
4447 | * defs.h: Do not include libiberty.h. | |
4448 | * common/queue.h: Likewise. | |
4449 | * cp-name-parser.y: Likewise. | |
4450 | * mi/mi-cmd-catch.c: Likewise. | |
4451 | * python/python.c: Likewise. | |
4452 | ||
0e443c87 GB |
4453 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4454 | ||
4455 | * common/common-defs.h: Include ansidecl.h. | |
4456 | * defs.h: Do not include ansidecl.h. | |
4457 | * common/buffer.h: Likewise. | |
4458 | * common/common-utils.h: Likewise. | |
4459 | ||
8ebb3f56 GB |
4460 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4461 | ||
4462 | * common/common-defs.h: Include stddef.h. | |
4463 | * defs.h: Do not include stddef.h. | |
4464 | * common/common-utils.h: Likewise. | |
4465 | * amd64fbsd-nat.c: Likewise. | |
4466 | * bcache.c: Likewise. | |
4467 | * charset.c: Likewise. | |
4468 | * common/buffer.h: Likewise. | |
4469 | * common/vec.h: Likewise. | |
4470 | * i386bsd-nat.c: Likewise. | |
4471 | * nat/linux-btrace.h: Likewise. | |
4472 | * ppcfbsd-nat.c: Likewise. | |
4473 | * ppcnbsd-tdep.h: Likewise. | |
4474 | * ppcobsd-nat.c: Likewise. | |
4475 | * ppcobsd-tdep.h: Likewise. | |
4476 | * python/py-gdb-readline.c: Likewise. | |
4477 | ||
8980bdf6 GB |
4478 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4479 | ||
4480 | * common/common-defs.h: Include stdarg.h. | |
4481 | * defs.h: Do not include stdarg.h. | |
4482 | * ada-lang.c: Likewise. | |
4483 | * common/common-utils.h: Likewise. | |
4484 | * guile/scm-string.c: Likewise. | |
4485 | * guile/scm-utils.c: Likewise. | |
4486 | * m32c-tdep.c: Likewise. | |
4487 | ||
d7096f71 GB |
4488 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4489 | ||
4490 | * common/common-defs.h: Include stdlib.h. | |
4491 | * defs.h: Do not include stdlib.h. | |
4492 | * addrmap.c: Likewise. | |
4493 | * bcache.c: Likewise. | |
4494 | * common/buffer.c: Likewise. | |
4495 | * common/common-utils.c: Likewise. | |
4496 | * cp-name-parser.y: Likewise. | |
4497 | * go32-nat.c: Likewise. | |
4498 | * mn10300-linux-tdep.c: Likewise. | |
4499 | * nat/linux-osdata.c: Likewise. | |
4500 | * tui/tui.c: Likewise. | |
4501 | * windows-nat.c: Likewise. | |
4502 | ||
d02f550d GB |
4503 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4504 | ||
4505 | * common/common-defs.h: Include stdio.h. | |
4506 | * defs.h: Do not include stdio.h. | |
4507 | * ada-lang.c: Likewise. | |
4508 | * common/buffer.c: Likewise. | |
4509 | * common/common-utils.c: Likewise. | |
4510 | * cp-name-parser.y: Likewise. | |
4511 | * gnu-nat.c: Likewise. | |
4512 | * go32-nat.c: Likewise. | |
4513 | * i386gnu-nat.c: Likewise. | |
4514 | * proc-api.c: Likewise. | |
4515 | * proc-events.c: Likewise. | |
4516 | * proc-flags.c: Likewise. | |
4517 | * proc-why.c: Likewise. | |
4518 | * python/python-internal.h: Likewise. | |
4519 | * target-memory.c: Likewise. | |
4520 | * tui/tui-io.c: Likewise. | |
4521 | * tui/tui.c: Likewise. | |
4522 | ||
b6d7a4bf SM |
4523 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
4524 | ||
4525 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
4526 | (scan_dyntag_auxv): Same. | |
4527 | ||
af19829b YQ |
4528 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
4529 | ||
4530 | * amd64-linux-nat.c: Remove duplicated include | |
4531 | "x86-linux-nat.h". | |
4532 | * i386-linux-nat.c: Likewise. | |
4533 | ||
8e07a239 YQ |
4534 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
4535 | ||
4536 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
4537 | operand" with "Special opcode" in comments. | |
4538 | ||
7bfe8241 GB |
4539 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
4540 | ||
4541 | * interps.c (initialize_interps): Remove prototype. | |
4542 | (interpreter_initialized): Remove static global. | |
4543 | (interp_add): Do not call initialize_interps. | |
4544 | (initialize_interps): Remove function. | |
4545 | ||
d6c95504 GB |
4546 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
4547 | ||
4548 | * utils.c (vwarning): Remove spurious va_end. | |
4549 | ||
241fd515 AM |
4550 | 2014-08-05 Alan Modra <amodra@gmail.com> |
4551 | ||
4552 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
4553 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
4554 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
4555 | (read_unwind_info): Use size_t for some locals. | |
4556 | * jit.c (finalize_symtab): Likewise. | |
4557 | * utils.c (hashtab_obstack_allocate): Likewise. | |
4558 | * symmisc.c (print_objfile_statistics): Update format strings. | |
4559 | ||
dc304a94 JK |
4560 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
4561 | ||
4562 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
4563 | (Changes in GDB 7.8): ... here. | |
4564 | ||
3cecbbbe TT |
4565 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
4566 | ||
4567 | * target.c (set_targetdebug): New function. | |
4568 | (initialize_targets): Pass set_targetdebug when creating "set | |
4569 | debug target". | |
4570 | ||
6908c509 JB |
4571 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
4572 | ||
4573 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
4574 | if detecting a variable-sized field that is not the last field. | |
4575 | Fix struct type length computation. | |
4576 | ||
53e8f97d JB |
4577 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
4578 | ||
4579 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
4580 | Add debug trace. | |
4581 | ||
e068c55d JB |
4582 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
4583 | ||
4584 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
4585 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
4586 | ||
4d4ca2a1 DE |
4587 | 2014-07-31 Doug Evans <dje@google.com> |
4588 | ||
4589 | * inflow.c (child_terminal_inferior): Add comment. | |
4590 | (child_terminal_ours_for_output): Add comment. | |
4591 | (child_terminal_ours): Add comment. | |
4592 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
4593 | (linux_nat_terminal_ours): Add comment. | |
4594 | ||
462f517e GB |
4595 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
4596 | ||
4597 | * common/btrace-common.h: Do not include defs.h or server.h. | |
4598 | * nat/mips-linux-watch.h: Likewise. | |
4599 | * gdb-dlfcn.h: Do not include defs.h. | |
4600 | * tracefile.h: Likewise. | |
4601 | ||
74228e77 RM |
4602 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
4603 | ||
4604 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
4605 | ||
014f9477 TT |
4606 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4607 | ||
4608 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
4609 | * corelow.c (core_open): Constify. | |
4610 | * ctf.c (ctf_open): Constify. | |
4611 | * dbug-rom.c (dbug_open): Constify. | |
4612 | * exec.c (exec_open): Constify. | |
4613 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
4614 | * microblaze-rom.c (picobug_open): Constify. | |
4615 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
4616 | Constify. | |
4617 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
4618 | * record-btrace.c (record_btrace_open): Constify. | |
4619 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
4620 | (record_full_open): Constify. | |
4621 | * remote-m32r-sdi.c (m32r_open): Constify. | |
4622 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
4623 | (rockhopper_open, lsi_open): Constify. | |
4624 | * remote-sim.c (gdbsim_open): Constify. | |
4625 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
4626 | Constify. | |
4627 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
4628 | * tracefile-tfile.c (tfile_open): Constify. | |
4629 | ||
e799154c TT |
4630 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4631 | ||
4632 | * breakpoint.c (map_breakpoint_numbers): Update. | |
4633 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
4634 | (get_number_const): New function. | |
4635 | (get_number): Rewrite using get_number_const. | |
4636 | (init_number_or_range): Make "string" const. | |
4637 | (number_is_in_list): Make "list" const. | |
4638 | * cli/cli-utils.h (get_number_const): Declare. | |
4639 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
4640 | (init_number_or_range, number_is_in_list): Update. | |
4641 | * printcmd.c (map_display_numbers): Update. | |
4642 | * value.c (value_from_history_ref): Constify. | |
4643 | * value.h (value_from_history_ref): Update. | |
4644 | ||
5f08566b TT |
4645 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4646 | ||
4647 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
4648 | (specify_exec_file_hook): Constify. | |
4649 | * exec.c (exec_file_attach): Make "filename" const. | |
4650 | * gdbcore.h (deprecated_exec_file_display_hook) | |
4651 | (specify_exec_file_hook, exec_file_attach): Constify. | |
4652 | * main.c (captured_main): Use catch_command_errors_const. | |
4653 | ||
8981c758 TT |
4654 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
4655 | ||
4656 | * target.c (open_target): New function. | |
4657 | (add_target_with_completer, add_deprecated_target_alias): Use | |
4658 | set_cmd_sfunc, set_cmd_context. | |
4659 | (debug_to_open): Remove. | |
4660 | (setup_target_debug): Update. | |
4661 | ||
a1c7835a YQ |
4662 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
4663 | ||
4664 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
4665 | comments. | |
4666 | * parse.c (exp_iterate): Update comments. | |
4667 | ||
976411d6 GB |
4668 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
4669 | ||
4670 | * common/common-defs.h: New file. | |
4671 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
4672 | * defs.h: Include common-defs.h. | |
4673 | Do not include config.h or build-gnulib/config.h. | |
4674 | ||
5d4848a4 GB |
4675 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
4676 | ||
4677 | * common/common-utils.h: Do not include config.h. | |
4678 | * nat/linux-btrace.h: Likewise. | |
4679 | ||
d41f6d8e GB |
4680 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
4681 | ||
4682 | * btrace.c: Include defs.h. | |
4683 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
4684 | * nat/mips-linux-watch.c: Likewise. | |
4685 | ||
84202f9c TT |
4686 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
4687 | ||
4688 | * target.c (target_is_pushed): Simplify. | |
4689 | ||
2530441c JB |
4690 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
4691 | ||
4692 | GDB 7.8 released. | |
4693 | ||
7e09a223 YQ |
4694 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
4695 | ||
4696 | PR gdb/17206 | |
4697 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
4698 | ||
7ebdbe92 DE |
4699 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
4700 | ||
4701 | PR guile/17203 | |
4702 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
4703 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
4704 | parameters. | |
4705 | ||
f347ffc9 WN |
4706 | 2014-07-28 Will Newton <will.newton@linaro.org> |
4707 | ||
4708 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
4709 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
4710 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
4711 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
4712 | (THUMB2_EABI_SYSCALL): Likewise. | |
4713 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
4714 | struct tramp_frame. | |
4715 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
4716 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
4717 | ||
37c5f1f7 DE |
4718 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
4719 | ||
4720 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
4721 | ||
0c3abbc7 DE |
4722 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
4723 | ||
4724 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
4725 | ||
e76c5d17 DE |
4726 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
4727 | Doug Evans <xdje42@gmail.com> | |
4728 | ||
4729 | PR guile/17146 | |
4730 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
4731 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
4732 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
4733 | then disable guile support. | |
4734 | * configure: Regenerate. | |
4735 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
4736 | GUILE_FILE_LIST. | |
4737 | (GUILE_COMPILED_FILES): New variable. | |
4738 | (GUILE_FILES) Update. | |
4739 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
4740 | (stamp-guile): Compile scm files. | |
4741 | * guile/guile.c (boot_guile_support): New function. | |
4742 | (standard_throw_args_p): New function. | |
4743 | (print_standard_throw_error, print_throw_error): New functions. | |
4744 | (handle_boot_error): New function. | |
4745 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
4746 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
4747 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
4748 | ||
186fcde0 DE |
4749 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
4750 | Doug Evans <xdje42@gmail.com> | |
4751 | ||
4752 | PR guile/17146 | |
4753 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
4754 | * guile/lib/gdb/support.scm: New file. | |
4755 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
4756 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
4757 | All uses updated. | |
4758 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
4759 | All uses updated. | |
4760 | (%assert-type): Ditto, and renamed to assert-type. | |
4761 | (%exception-print-style): Delete. | |
4762 | ||
4df42755 DE |
4763 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
4764 | ||
4765 | PR build/17105 | |
4766 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
4767 | * configure: Regenerate. | |
4768 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
4769 | PYTHON_FILES. | |
4770 | (PYTHON_FILES): New variable. | |
4771 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
4772 | (GUILE_FILES): New variable. | |
4773 | (stamp-python, install-python, uninstall-python): Handle empty | |
4774 | file list. | |
4775 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
4776 | ||
ee7333ae DE |
4777 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
4778 | ||
4779 | PR guile/17177 | |
4780 | * guile/lib/gdb.scm (pretty-printers): Export. | |
4781 | (set-pretty-printers!): Export. | |
4782 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
4783 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
4784 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
4785 | (pretty_printer_list_var): Delete. | |
4786 | (pretty_printer_list): New static global. | |
4787 | (gdbscm_pretty_printers): New function. | |
4788 | (gdbscm_set_pretty_printers_x): New function. | |
4789 | (ppscm_find_pretty_printer_from_gdb): Update. | |
4790 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
4791 | (gdbscm_initialize_pretty_printers): Update. | |
4792 | ||
74edf516 DE |
4793 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
4794 | ||
4795 | PR 17185 | |
4796 | * configure.ac: Add check for header gc/gc.h. | |
4797 | Add check for function setenv. | |
4798 | * configure: Regenerate. | |
4799 | * config.in: Regenerate. | |
4800 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
4801 | ||
d54398a7 MR |
4802 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
4803 | ||
4804 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
4805 | variation in gdbarch matching. | |
4806 | ||
ab16fce8 TT |
4807 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
4808 | ||
4809 | * exec.c (using_exec_ops): Remove. | |
4810 | (exec_close_1): Update. Remove extraneous block, reindent. | |
4811 | (add_target_sections): Use target_is_pushed. | |
4812 | ||
88056fbb PA |
4813 | 2014-07-25 Pedro Alves <palves@redhat.com> |
4814 | ||
4815 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
4816 | * monitor.c (monitor_create_inferior): Likewise. | |
4817 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
4818 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
4819 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
4820 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
4821 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
4822 | ||
70509625 PA |
4823 | 2014-07-25 Pedro Alves <palves@redhat.com> |
4824 | ||
4825 | * NEWS: Mention signal passing and "signal" command changes. | |
4826 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
4827 | comment. | |
4828 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
4829 | call. | |
4830 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
4831 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
4832 | (jump_command): Adjust clear_proceed_status call. | |
4833 | (signal_command): Warn if other thread that are resumed have | |
4834 | signals that will be delivered. Adjust clear_proceed_status call. | |
4835 | (until_next_command, finish_command) | |
4836 | (proceed_after_attach_callback, attach_command_post_wait) | |
4837 | (attach_command): Adjust clear_proceed_status call. | |
4838 | * infrun.c (proceed_after_vfork_done): Likewise. | |
4839 | (proceed_after_attach_callback): Adjust comment. | |
4840 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
4841 | state. | |
4842 | (clear_proceed_status_callback): Delete. | |
4843 | (clear_proceed_status): New 'step' parameter. Only clear the | |
4844 | proceed status of threads the command being prepared is about to | |
4845 | resume. | |
4846 | (proceed): If passed in an explicit signal, override stop_signal | |
4847 | with it. Don't pass the last stop signal to the thread we're | |
4848 | resuming. | |
4849 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
4850 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
4851 | be passed. | |
4852 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
4853 | (user_visible_resume_ptid): Add comment. | |
4854 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
4855 | signal is in pass state. | |
4856 | * remote.c (append_pending_thread_resumptions): Likewise. | |
4857 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
4858 | ||
d8be2939 TT |
4859 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
4860 | ||
4861 | * target.h (target_stopped_data_address) | |
4862 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
4863 | parentheses. | |
4864 | ||
7d0d9d2b PL |
4865 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
4866 | ||
4867 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
4868 | comments. | |
4869 | (avr_pointer_to_address): Likewise. | |
4870 | ||
e9e7f724 TT |
4871 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4872 | ||
4873 | * monitor.c (compile_pattern): Update. | |
4874 | * target.h (struct target_ops) <to_shortname, to_longname, | |
4875 | to_doc>: Now const. | |
4876 | ||
1947513d TT |
4877 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4878 | ||
4879 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
4880 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
4881 | (add_info_alias, add_com): Make "doc" const. | |
4882 | (print_doc_line): Make "str" const. | |
4883 | (delete_cmd): Update. | |
4884 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
4885 | (print_doc_line): Update. | |
4886 | * cli/cli-script.c (document_command): Update. | |
4887 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
4888 | (add_com, add_info, add_info_alias): Update. | |
4889 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
4890 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
4891 | ||
64e61d29 TT |
4892 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4893 | ||
4894 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
4895 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
4896 | (help_cmd_list): Constify. | |
4897 | (lookup_cmd): Update. | |
4898 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
4899 | const. | |
4900 | (help_cmd_list, apropos_cmd): Update. | |
4901 | * cli/cli-script.c (show_user): Update. | |
4902 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
4903 | * cli/cli-setshow.h (cmd_show_list): Update. | |
4904 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
4905 | (cmd_show_list): Update. | |
4906 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
4907 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
4908 | ||
429e55ea TT |
4909 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4910 | ||
4911 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
4912 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
4913 | const. | |
4914 | * command.h (deprecate_cmd): Update. | |
4915 | * maint.c (maintenance_do_deprecate): Add casts. | |
4916 | ||
64669f3b TT |
4917 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4918 | ||
4919 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
4920 | * cli/cli-decode.h (help_cmd): Update. | |
4921 | ||
d3d3328b TT |
4922 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4923 | ||
4924 | * stack.c (up_silently_base, down_silently_base): Make argument | |
4925 | const. | |
4926 | ||
414842dc TT |
4927 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4928 | ||
4929 | * solib.c (solib_add): Make "pattern" const. | |
4930 | * solib.h (solib_add): Update. | |
4931 | ||
baa336ce TT |
4932 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4933 | ||
4934 | * remote.c (remote_serial_open, print_packet, putpkt) | |
4935 | (putpkt_binary): Constify. | |
4936 | * remote.h (putpkt): Update. | |
4937 | ||
5a19e2d0 TT |
4938 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4939 | ||
4940 | * monitor.c (monitor_open): Make "args" const. | |
4941 | * monitor.h (monitor_open): Update. | |
4942 | ||
fc4baa5e TT |
4943 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4944 | ||
4945 | * maint.c (match_bfd_flags): Make "string" const. | |
4946 | (print_bfd_section_info): Remove casts. | |
4947 | (print_objfile_section_info): Make "string" const. | |
4948 | ||
0d5f0dbe TT |
4949 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4950 | ||
4951 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
4952 | * inf-child.h (inf_child_open_target): Update. | |
4953 | ||
41c77899 TT |
4954 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4955 | ||
4956 | * environ.c (unset_in_environ): Make "var" const. | |
4957 | * environ.h (unset_in_environ): Update. | |
4958 | ||
93db0d79 TT |
4959 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4960 | ||
4961 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
4962 | Make "cmd" const. | |
4963 | (scan_filename_with_cleanup): Likewise. | |
4964 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
4965 | Make arguments const. | |
4966 | (restore_command): Update. | |
4967 | ||
36d6eb95 PA |
4968 | 2014-07-24 Pedro Alves <palves@redhat.com> |
4969 | ||
4970 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
4971 | ||
8009206a TT |
4972 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4973 | Gary Benson <gbenson@redhat.com> | |
4974 | ||
4975 | * nat/linux-ptrace.c (additional_flags): New global. | |
4976 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
4977 | additional_flags; don't check GDBSERVER. | |
4978 | (linux_ptrace_set_additional_flags): New function. | |
4979 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
4980 | Declare. | |
4981 | * linux-nat.c (_initialize_linux_nat): Call | |
4982 | linux_ptrace_set_additional_flags. | |
4983 | ||
a7068b60 TT |
4984 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
4985 | ||
4986 | * make-target-delegates (munge_type, write_debugmethod): New | |
4987 | functions. | |
4988 | (debug_names): New global. | |
4989 | ($TARGET_DEBUG_PRINTER): New global. | |
4990 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
4991 | name. | |
4992 | Write debug methods. Generate init_debug_target. | |
4993 | * target-debug.h: New file. | |
4994 | * target-delegates.c: Rebuild. | |
4995 | * target.c: Include target-debug.h. | |
4996 | (debug_target): Hoist definition. | |
4997 | (target_kill, target_get_section_table, target_memory_map) | |
4998 | (target_flash_erase, target_flash_done, target_detach) | |
4999 | (target_disconnect, target_wait, target_resume) | |
5000 | (target_pass_signals, target_program_signals, target_follow_fork) | |
5001 | (target_mourn_inferior, target_search_memory) | |
5002 | (target_thread_address_space, target_close) | |
5003 | (target_find_new_threads, target_core_of_thread) | |
5004 | (target_verify_memory, target_insert_mask_watchpoint) | |
5005 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
5006 | (debug_to_post_attach, debug_to_prepare_to_store) | |
5007 | (debug_to_files_info, debug_to_insert_breakpoint) | |
5008 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
5009 | (debug_to_region_ok_for_hw_watchpoint) | |
5010 | (debug_to_can_accel_watchpoint_condition) | |
5011 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
5012 | (debug_to_watchpoint_addr_within_range) | |
5013 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
5014 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
5015 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
5016 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
5017 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
5018 | (debug_to_load, debug_to_post_startup_inferior) | |
5019 | (debug_to_insert_fork_catchpoint) | |
5020 | (debug_to_remove_fork_catchpoint) | |
5021 | (debug_to_insert_vfork_catchpoint) | |
5022 | (debug_to_remove_vfork_catchpoint) | |
5023 | (debug_to_insert_exec_catchpoint) | |
5024 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
5025 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
5026 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
5027 | (setup_target_debug): Call init_debug_target. | |
5028 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
5029 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
5030 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
5031 | ||
2c51604d GB |
5032 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
5033 | ||
5034 | * exceptions.h (throw_vfatal): Renamed to... | |
5035 | (throw_vquit): New declaration. | |
5036 | (throw_quit): Likewise. | |
5037 | * exceptions.c (throw_vfatal): Renamed to... | |
5038 | (throw_vquit): New function. | |
5039 | (throw_quit): Likewise. | |
5040 | (throw_error): Call throw_verror rather than throw_it. | |
5041 | * utils.h (vfatal): Removed. | |
5042 | (fatal): Likewise. | |
5043 | * utils.c (vfatal): Removed. | |
5044 | (fatal): Likewise. | |
5045 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
5046 | (quit): Replaced calls to fatal with calls to throw_quit. | |
5047 | ||
34211963 ME |
5048 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
5049 | ||
5050 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
5051 | target_read_code. | |
5052 | ||
a52b4d3e ME |
5053 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
5054 | ||
5055 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
5056 | less than zero in conditional expression. | |
5057 | ||
a8bdc56b TT |
5058 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
5059 | ||
5060 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
5061 | ($INTRO_PART): Don't match whitespace. | |
5062 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
5063 | argument matching. | |
5064 | ($METHOD): Add $METHOD_TRAILER. | |
5065 | (trim): Rewrite. | |
5066 | (scan_target_h): New sub. | |
5067 | Change main loop not to collect state. | |
5068 | * target-delegates.c: Rebuild. | |
5069 | ||
91b52240 GB |
5070 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
5071 | ||
5072 | * cp-support.c (gdb_demangle): Fix build on systems without | |
5073 | sigaltstack. | |
5074 | ||
45326f6f JK |
5075 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5076 | ||
5077 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
5078 | for reference entry value target data value. | |
5079 | ||
e214cf6c JK |
5080 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5081 | ||
5082 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
5083 | value_available_contents_eq. | |
5084 | ||
bddbbedd PA |
5085 | 2014-07-22 Pedro Alves <palves@redhat.com> |
5086 | ||
5087 | * value.c (allocate_optimized_out_value): Don't mark value as | |
5088 | non-lazy. | |
5089 | ||
45c71484 JW |
5090 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
5091 | ||
5092 | * MAINTAINERS (Write After Approval): Update my email address. | |
5093 | ||
9597b22a DE |
5094 | 2014-07-20 Doug Evans <dje@google.com> |
5095 | ||
5096 | PR server/17147 | |
5097 | * remote.c (putpkt_binary): Add text to error message. | |
5098 | ||
91101fe5 YQ |
5099 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5100 | ||
5101 | * eval.c: Remove "Chill" from comments. | |
5102 | * gdbtypes.h: Likewise. | |
5103 | * symtab.h: Likewise. | |
5104 | ||
c9402c95 YQ |
5105 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5106 | ||
5107 | * std-operator.def: Update comments to TERNOP_SLICE. | |
5108 | ||
ae8fddda YQ |
5109 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5110 | ||
5111 | * std-operator.def: Remove BINOP_RANGE. | |
5112 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5113 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5114 | * eval.c (init_array_element): Remove dead code. | |
5115 | (evaluate_subexp_standard): Likewise. | |
5116 | ||
9c816640 YQ |
5117 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5118 | ||
5119 | * std-operator.def: Remove BINOP_IN. | |
5120 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5121 | * eval.c (evaluate_subexp_standard): Likewise. | |
5122 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5123 | ||
164224e9 ME |
5124 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
5125 | ||
5126 | * microblaze-tdep.c (microblaze_register_names): Add | |
5127 | the rshr and rslr register names. | |
5128 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
5129 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
5130 | Use of tdesc_numbered_register. Use of | |
5131 | microblaze_register_g_packet_guesses. Use of | |
5132 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
5133 | (microblaze_register_g_packet_guesses): New. | |
5134 | * microblaze-tdep.h (microblaze_reg_num): Add | |
5135 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
5136 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
5137 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
5138 | * features/microblaze-core.xml: New file. | |
5139 | * features/microblaze-stack-protect.xml: New file. | |
5140 | * features/microblaze-with-stack-protect.c: New file. | |
5141 | * features/microblaze-with-stack-protect.xml: New file. | |
5142 | * features/microblaze.xml: New file. | |
5143 | * features/microblaze.c: New file. | |
5144 | * features/Makefile (microblaze-with-stack-protect): Add | |
5145 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
5146 | * regformats/microblaze-with-stack-protect.dat: New file. | |
5147 | * regformats/microblaze.dat: New file. | |
5148 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
5149 | ||
e8b2341c TT |
5150 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5151 | ||
5152 | * exec.c (exec_ops): Now static. | |
5153 | * exec.h (exec_ops): Don't declare. | |
5154 | ||
44e89118 TT |
5155 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5156 | ||
5157 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
5158 | to find_target_beneath. | |
5159 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
5160 | find_target_beneath. | |
5161 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
5162 | ||
b0ed115f TT |
5163 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5164 | ||
5165 | PR gdb/17130: | |
5166 | * utils.c (quit): Use target_supports_terminal_ours. | |
5167 | * target.h (target_supports_terminal_ours): Declare. | |
5168 | * target.c (target_supports_delete_record): Don't check | |
5169 | to_delete_record against NULL. | |
5170 | (target_supports_terminal_ours): New function. | |
5171 | ||
e75fdfca TT |
5172 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5173 | ||
5174 | PR gdb/17130: | |
5175 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
5176 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
5177 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
5178 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
5179 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
5180 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
5181 | delegation. | |
5182 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
5183 | (record_btrace_prepare_to_store, record_btrace_resume) | |
5184 | (record_btrace_wait, record_btrace_find_new_threads) | |
5185 | (record_btrace_thread_alive): Likewise. | |
5186 | * procfs.c (procfs_xfer_partial): Always delegate. | |
5187 | * corelow.c (core_xfer_partial): Always delegate. | |
5188 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
5189 | ||
83814951 TT |
5190 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5191 | ||
5192 | * exec.c (exec_make_note_section): Move earlier. | |
5193 | ||
b8b8facf DE |
5194 | 2014-07-17 Doug Evans <dje@google.com> |
5195 | ||
74b49205 | 5196 | PR gdb/17170 |
b8b8facf DE |
5197 | * maint.c (count_symtabs_and_blocks): Handle NULL |
5198 | current_program_space. | |
5199 | (report_command_stats): Check global enabled flag in addition to | |
5200 | recorded enabled flag. | |
5201 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
5202 | ||
69ff6be5 PA |
5203 | 2014-07-16 Pedro Alves <palves@redhat.com> |
5204 | ||
5205 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
5206 | ||
252db1b5 TT |
5207 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5208 | ||
5209 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
5210 | comment. | |
5211 | ||
a432721e TT |
5212 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5213 | ||
5214 | * target-delegates.c: Rebuild. | |
5215 | ||
487d9753 PL |
5216 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
5217 | ||
5218 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
5219 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
5220 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
5221 | (avr_pointer_to_address): Likewise. | |
5222 | (avr_address_class_type_flags): New function. | |
5223 | (avr_address_class_type_flags_to_name): Likewise. | |
5224 | (avr_address_class_name_to_type_flags): Likewise. | |
5225 | (avr_gdbarch_init): Set address_class_type_flags, | |
5226 | address_class_type_flags_to_name and | |
5227 | address_class_name_to_type_flags. | |
5228 | ||
57745c90 PA |
5229 | 2014-07-15 Pedro Alves <palves@redhat.com> |
5230 | ||
5231 | * linux-nat.c (kill_callback): Save errno and work with saved | |
5232 | copy. | |
5233 | ||
2d40be18 SM |
5234 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
5235 | ||
5236 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
5237 | ||
572f6555 EBM |
5238 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
5239 | ||
5240 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
5241 | breakpoint support correctly. | |
5242 | ||
cc1c52ad PA |
5243 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5244 | ||
5245 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
5246 | ||
1e973570 PA |
5247 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5248 | ||
5249 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
5250 | catch_errors. Don't re-enable stdin or notify observers where, | |
5251 | and rethrow error. | |
5252 | (fetch_inferior_event_wrapper): Delete. | |
5253 | ||
93d6eb10 PA |
5254 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5255 | ||
5256 | PR gdb/17072 | |
5257 | * top.c: Include "inf-loop.h". | |
5258 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
5259 | field. | |
5260 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
5261 | was async before. | |
5262 | (gdb_readline_wrapper): Store whether the target is async, and | |
5263 | make it sync. | |
5264 | ||
0017922d PA |
5265 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5266 | ||
5267 | PR gdb/17072 | |
5268 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
5269 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
5270 | the input handler callback. | |
5271 | ||
94696ad3 PA |
5272 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5273 | ||
5274 | PR gdb/17072 | |
5275 | * main.c: Include event-top.h. | |
5276 | (handle_command_errors): New function. | |
5277 | (catch_command_errors, catch_command_errors_const): Use it. | |
5278 | ||
9d1e69a2 PA |
5279 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5280 | ||
5281 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
5282 | Moved to main.c. | |
5283 | * exceptions.h (catch_command_errors_ftype) | |
5284 | (catch_command_errors_const_ftype): Moved to main.c. | |
5285 | (catch_command_errors, catch_command_errors_const): Delete | |
5286 | declarations. | |
5287 | * main.c (catch_command_errors_ftype) | |
5288 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
5289 | (catch_command_errors, catch_command_errors_const)): Moved here | |
5290 | from exceptions.c and make static. | |
5291 | ||
feefc97b PA |
5292 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5293 | ||
5294 | * exceptions.c (print_any_exception): Delete. | |
5295 | (catch_exceptions_with_msg): Use exception_print instead of | |
5296 | print_any_exception. | |
5297 | (catch_errors): Use exception_fprintf instead of | |
5298 | print_any_exception. | |
5299 | (catch_command_errors, catch_command_errors_const): Use | |
5300 | exception_print instead of print_any_exception. | |
5301 | ||
c933f875 PA |
5302 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5303 | ||
5304 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
5305 | running the inferior call. | |
5306 | ||
feb6f816 PA |
5307 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5308 | ||
5309 | * value.c (value_contents_equal): Delete function. | |
5310 | * value.h (value_contents_equal): Delete declaration. | |
5311 | ||
d98b7a16 TT |
5312 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
5313 | ||
5314 | PR exp/17106: | |
5315 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
5316 | is_dynamic_type. | |
5317 | (is_dynamic_type): Rewrite. | |
5318 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
5319 | (resolve_dynamic_struct): Likewise. | |
5320 | (resolve_dynamic_type_internal): New function, from | |
5321 | resolve_dynamic_type. | |
5322 | (resolve_dynamic_type): Rewrite. | |
5323 | ||
548740d6 TT |
5324 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
5325 | ||
5326 | * target.c (target_require_runnable): Also check record_stratum. | |
5327 | Update comment. | |
5328 | ||
808f7ab1 YQ |
5329 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
5330 | ||
5331 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
5332 | thumb_instruction_restores_sp return true. | |
5333 | ||
540314bd YQ |
5334 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
5335 | ||
5336 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
5337 | (thumb_in_function_epilogue_p): Call | |
5338 | thumb_instruction_restores_sp. | |
5339 | ||
1db01f22 YQ |
5340 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
5341 | ||
5342 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
5343 | 'add sp, #imm'. | |
5344 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
5345 | ||
3116063b GB |
5346 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5347 | ||
5348 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
5349 | (regset.h): Likewise. | |
5350 | (nat/linux-btrace.h): Likewise. | |
5351 | (btrace.h): Likewise. | |
5352 | (gdb_assert.h): Likewise. | |
5353 | (string.h): Likewise. | |
5354 | (sys/uio.h): Likewise. | |
5355 | (sys/debugreg.h): Likewise. | |
5356 | (sys/syscall.h): Likewise. | |
5357 | (sys/procfs.h): Likewise. | |
5358 | (sys/user.h): Likewise. | |
5359 | (asm/ptrace.h): Likewise. | |
5360 | (i386-nat.h): Likewise. | |
5361 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
5362 | (regset.h): Likewise. | |
5363 | (target.h): Likewise. | |
5364 | (linux-nat.h): Likewise. | |
5365 | (nat/linux-btrace.h): Likewise. | |
5366 | (btrace.h): Likewise. | |
5367 | (gdb_assert.h): Likewise. | |
5368 | (string.h): Likewise. | |
5369 | (sys/uio.h): Likewise. | |
5370 | (sys/user.h): Likewise. | |
5371 | (sys/procfs.h): Likewise. | |
5372 | (sys/reg.h): Likewise. | |
5373 | (sys/debugreg.h): Likewise. | |
5374 | (ORIG_EAX): Remove definition. | |
5375 | ||
040baaf6 GB |
5376 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5377 | ||
5378 | * i386-linux-nat.h: New file. | |
5379 | * x86-linux-nat.h: Likewise. | |
5380 | * x86-linux-nat.c: Likewise. | |
5381 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
5382 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
5383 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
5384 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
5385 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
5386 | (PTRACE_SETREGSET): Likewise. | |
5387 | (arch_lwp_info): Now in x86-linux-nat.c. | |
5388 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
5389 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
5390 | (x86_linux_dr_set): Likewise. | |
5391 | (x86_linux_dr_get_addr): Likewise. | |
5392 | (x86_linux_dr_get_control): Likewise. | |
5393 | (x86_linux_dr_get_status): Likewise. | |
5394 | (update_debug_registers_callback): Likewise. | |
5395 | (x86_linux_dr_set_control): Likewise. | |
5396 | (x86_linux_dr_set_addr): Likewise. | |
5397 | (x86_linux_prepare_to_resume): Likewise. | |
5398 | (x86_linux_new_thread): Likewise. | |
5399 | (x86_linux_new_fork): Likewise. | |
5400 | (x86_linux_get_thread_area): Likewise. | |
5401 | (super_post_startup_inferior): Likewise. | |
5402 | (x86_linux_child_post_startup_inferior): Likewise. | |
5403 | (AMD64_LINUX_USER64_CS): Likewise. | |
5404 | (AMD64_LINUX_X32_DS): Likewise. | |
5405 | (x86_linux_read_description): Likewise. | |
5406 | (x86_linux_enable_btrace): Likewise. | |
5407 | (x86_linux_disable_btrace): Likewise. | |
5408 | (x86_linux_teardown_btrace): Likewise. | |
5409 | (x86_linux_read_btrace): Likewise. | |
5410 | (x86_linux_create_target): Likewise. | |
5411 | (x86_linux_add_target): Likewise. | |
5412 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
5413 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
5414 | (PTRACE_SETREGSET): Likewise. | |
5415 | (arch_lwp_info): Now in x86-linux-nat.c. | |
5416 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
5417 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
5418 | (x86_linux_dr_set): Likewise. | |
5419 | (x86_linux_dr_get_addr): Likewise. | |
5420 | (x86_linux_dr_get_control): Likewise. | |
5421 | (x86_linux_dr_get_status): Likewise. | |
5422 | (update_debug_registers_callback): Likewise. | |
5423 | (x86_linux_dr_set_control): Likewise. | |
5424 | (x86_linux_dr_set_addr): Likewise. | |
5425 | (x86_linux_prepare_to_resume): Likewise. | |
5426 | (x86_linux_new_thread): Likewise. | |
5427 | (x86_linux_new_fork): Likewise. | |
5428 | (x86_linux_get_thread_area): Likewise. | |
5429 | (super_post_startup_inferior): Likewise. | |
5430 | (x86_linux_child_post_startup_inferior): Likewise. | |
5431 | (AMD64_LINUX_USER64_CS): Likewise. | |
5432 | (AMD64_LINUX_X32_DS): Likewise. | |
5433 | (x86_linux_read_description): Likewise. | |
5434 | (x86_linux_enable_btrace): Likewise. | |
5435 | (x86_linux_disable_btrace): Likewise. | |
5436 | (x86_linux_teardown_btrace): Likewise. | |
5437 | (x86_linux_read_btrace): Likewise. | |
5438 | (x86_linux_create_target): Likewise. | |
5439 | (x86_linux_add_target): Likewise. | |
5440 | ||
1aa7e42c GB |
5441 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5442 | ||
5443 | * amd64-linux-nat.c: Comment and whitespace changes. | |
5444 | * i386-linux-nat.c: Comment and whitespace changes. | |
5445 | ||
c1e246a0 GB |
5446 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5447 | ||
5448 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
5449 | (x86_linux_add_target): Likewise. | |
5450 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
5451 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
5452 | (x86_linux_add_target): Likewise. | |
5453 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
5454 | ||
8c420b8d GB |
5455 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5456 | ||
5457 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
5458 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
5459 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
5460 | (ps_get_thread_area): Delegate to the above. | |
5461 | ||
cb1da100 GB |
5462 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5463 | ||
5464 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
5465 | x86_linux_read_description. All uses updated. amd64-specific | |
5466 | code conditionalized. Conditionalized i386-specific code added. | |
5467 | Redundant cast removed. | |
5468 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
5469 | x86_linux_read_description. All uses updated. i386-specific | |
5470 | code conditionalized. Conditionalized amd64-specific code added. | |
5471 | One sizeof replaced with the actual type it is describing. | |
5472 | ||
2acf3cd0 GB |
5473 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
5474 | ||
5475 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
5476 | x86_linux_dr_get. All uses updated. | |
5477 | (amd64_linux_dr_set): Renamed to | |
5478 | x86_linux_dr_set. All uses updated. | |
5479 | (amd64_linux_dr_get_addr): Renamed to | |
5480 | x86_linux_dr_get_addr. All uses updated. | |
5481 | (amd64_linux_dr_get_control): Renamed to | |
5482 | x86_linux_dr_get_control. All uses updated. | |
5483 | (amd64_linux_dr_get_status): Renamed to | |
5484 | x86_linux_dr_get_status. All uses updated. | |
5485 | (amd64_linux_dr_set_control): Renamed to | |
5486 | x86_linux_dr_set_control. All uses updated. | |
5487 | (amd64_linux_dr_set_addr): Renamed to | |
5488 | x86_linux_dr_set_addr. All uses updated. | |
5489 | (amd64_linux_prepare_to_resume): Renamed to | |
5490 | x86_linux_prepare_to_resume. All uses updated. | |
5491 | (amd64_linux_new_thread): Renamed to | |
5492 | x86_linux_new_thread. All uses updated. | |
5493 | (amd64_linux_new_fork): Renamed to | |
5494 | x86_linux_new_fork. All uses updated. | |
5495 | (amd64_linux_child_post_startup_inferior): Renamed to | |
5496 | x86_linux_child_post_startup_inferior. All uses updated. | |
5497 | (amd64_linux_enable_btrace): Renamed to | |
5498 | x86_linux_enable_btrace. All uses updated. | |
5499 | (amd64_linux_disable_btrace): Renamed to | |
5500 | x86_linux_disable_btrace. All uses updated. | |
5501 | (amd64_linux_teardown_btrace): Renamed to | |
5502 | x86_linux_teardown_btrace. All uses updated. | |
5503 | (amd64_linux_read_btrace): Renamed to | |
5504 | x86_linux_read_btrace. All uses updated. | |
5505 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
5506 | x86_linux_dr_get. All uses updated. | |
5507 | (i386_linux_dr_set): Renamed to | |
5508 | x86_linux_dr_set. All uses updated. | |
5509 | (i386_linux_dr_get_addr): Renamed to | |
5510 | x86_linux_dr_get_addr. All uses updated. | |
5511 | (i386_linux_dr_get_control): Renamed to | |
5512 | x86_linux_dr_get_control. All uses updated. | |
5513 | (i386_linux_dr_get_status): Renamed to | |
5514 | x86_linux_dr_get_status. All uses updated. | |
5515 | (i386_linux_dr_set_control): Renamed to | |
5516 | x86_linux_dr_set_control. All uses updated. | |
5517 | (i386_linux_dr_set_addr): Renamed to | |
5518 | x86_linux_dr_set_addr. All uses updated. | |
5519 | (i386_linux_prepare_to_resume): Renamed to | |
5520 | x86_linux_prepare_to_resume. All uses updated. | |
5521 | (i386_linux_new_thread): Renamed to | |
5522 | x86_linux_new_thread. All uses updated. | |
5523 | (i386_linux_new_fork): Renamed to | |
5524 | x86_linux_new_fork. All uses updated. | |
5525 | (i386_linux_child_post_startup_inferior): Renamed to | |
5526 | x86_linux_child_post_startup_inferior. All uses updated. | |
5527 | (i386_linux_enable_btrace): Renamed to | |
5528 | x86_linux_enable_btrace. All uses updated. | |
5529 | (i386_linux_disable_btrace): Renamed to | |
5530 | x86_linux_disable_btrace. All uses updated. | |
5531 | (i386_linux_teardown_btrace): Renamed to | |
5532 | x86_linux_teardown_btrace. All uses updated. | |
5533 | (i386_linux_read_btrace): Renamed to | |
5534 | x86_linux_read_btrace. All uses updated. | |
5535 | ||
b9c1d481 AS |
5536 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
5537 | ||
5538 | * remote.c (extended_remote_post_attach): New function. | |
5539 | (init_extended_remote_ops): Install it as to_post_attach method. | |
5540 | ||
7180e04a PA |
5541 | 2014-07-09 Pedro Alves <palves@redhat.com> |
5542 | ||
5543 | * infcmd.c (attach_command_post_wait): Don't call | |
5544 | target_terminal_inferior here. | |
5545 | (attach_command): Call it here instead. | |
5546 | ||
9a9a7608 AB |
5547 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
5548 | ||
5549 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
5550 | field. | |
5551 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
5552 | from varobj.c, with additional checks. | |
5553 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
5554 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
5555 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
5556 | field. | |
5557 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
5558 | ops method. | |
5559 | (varobj_default_is_path_expr_parent): New function. | |
5560 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
5561 | (varobj_default_is_path_expr_parent): Declare new function. | |
5562 | ||
1f267ae3 MM |
5563 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
5564 | ||
5565 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
5566 | ||
b2ee242b PA |
5567 | 2014-07-07 Pedro Alves <palves@redhat.com> |
5568 | ||
8a869bca | 5569 | PR gdb/17096 |
b2ee242b PA |
5570 | * remote.c (async_handle_remote_sigint) |
5571 | (async_handle_remote_sigint_twice): Call | |
5572 | gdb_call_async_signal_handler instead of | |
5573 | mark_async_signal_handler. | |
5574 | ||
38e229b2 TT |
5575 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
5576 | ||
5577 | * target-delegates.c: Rebuild. | |
5578 | * target.c (target_info_record): Remove. | |
5579 | * record.c (info_record_command): Unconditionally call | |
5580 | to_info_record. | |
5581 | * target.h (struct target_ops) <to_info_record>: Use | |
5582 | TARGET_DEFAULT_IGNORE. | |
5583 | (target_info_record): Remove. | |
5584 | ||
f0f9ff95 TT |
5585 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
5586 | ||
5587 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
5588 | TARGET_DEFAULT_NORETURN. | |
5589 | * target.c (generic_tls_error): New function. | |
5590 | (target_translate_tls_address): Don't search target stack. | |
5591 | * target-delegates.c: Rebuild. | |
5592 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
5593 | stack. | |
5594 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
5595 | Unconditionally call beneath target. | |
5596 | ||
4a5be5ee MK |
5597 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
5598 | ||
5599 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
5600 | gdb_stdtargerr. | |
5601 | ||
92c3b204 AB |
5602 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
5603 | ||
5604 | * MAINTAINERS (Write After Approval): Update my email address. | |
5605 | ||
9b11e3a7 GB |
5606 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
5607 | ||
5608 | * proc-service.c (ps_xfer_memory): Update comment. | |
5609 | (ps_pstop): Remove unused function. | |
5610 | (ps_pcontinue): Likewise. | |
5611 | (ps_lstop): Likewise. | |
5612 | (ps_lcontinue): Likewise. | |
5613 | (ps_lgetxregsize): Likewise. | |
5614 | (ps_lgetxregs): Likewise. | |
5615 | (ps_lsetxregs): Likewise. | |
5616 | (ps_plog): Likewise. | |
5617 | (ps_ptread): Likewise. | |
5618 | (ps_ptwrite): Likewise. | |
5619 | ||
cf363f18 MW |
5620 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
5621 | ||
5622 | * dwarf2read.c (add_array_cv_type): New function. | |
5623 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
5624 | (read_tag_volatile_type): Likewise. | |
5625 | ||
82ae6c8d TT |
5626 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
5627 | ||
5628 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
5629 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
5630 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
5631 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
5632 | * command.h (cmd_cfunc_ftype): Move earlier. | |
5633 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
5634 | (add_com, add_info): Use cmd_cfunc_ftype. | |
5635 | ||
96142726 TT |
5636 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
5637 | ||
5638 | * symtab.c (operator_chars): Make parameters and return type | |
5639 | const. | |
5640 | (file_matches): Make "files" const. | |
5641 | (struct search_symbols_data) <files>: Now const. | |
5642 | (search_symbols): Make "regexp" and "files" parameters const. | |
5643 | Update. | |
5644 | (symtab_symbol_info): Remove cast. | |
5645 | (rbreak_command): Update. | |
5646 | * symtab.h (search_symbols): Update. | |
5647 | ||
b67a2c6f YQ |
5648 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
5649 | ||
5650 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
5651 | Change parameter type to 'struct thread_info *'. Caller | |
5652 | updated. | |
5653 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
5654 | Update declaration. | |
5655 | * dummy-frame.c (struct dummy_frame_id): New. | |
5656 | (dummy_frame_id_eq): New function. | |
5657 | (struct dummy_frame) <id>: Change its type to 'struct | |
5658 | dummy_frame_id'. | |
5659 | (dummy_frame_push): Add parameter ptid and save it in | |
5660 | dummy_frame_id. | |
5661 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
5662 | inferior_ptid. | |
5663 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
5664 | to inferior_ptid. | |
5665 | (lookup_dummy_frame): Change parameter type to 'struct | |
5666 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
5667 | instead of frame_id_eq. | |
5668 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
5669 | Update comments. Compose dummy_frame_id and pass it to | |
5670 | lookup_dummy_frame. | |
5671 | (dummy_frame_discard): Add parameter ptid. | |
5672 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
5673 | dummy_frame_id_eq instead of frame_id_eq. | |
5674 | (fprint_dummy_frames): Print ptid. | |
5675 | * dummy-frame.h: Remove comments. | |
5676 | (dummy_frame_push): Add ptid in declaration. | |
5677 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
5678 | ||
5b10184c TT |
5679 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5680 | ||
5681 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
5682 | * command.h (error_no_arg): Update. | |
5683 | ||
06900326 TT |
5684 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5685 | ||
5686 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
5687 | (do_show_command): Make "arg" const. | |
5688 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
5689 | ||
c2bcbb1d TT |
5690 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5691 | ||
5692 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
5693 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
5694 | * record.c (record_goto): New function. | |
5695 | (cmd_record_goto): Use it. Now static. | |
5696 | * record.h (record_goto): Declare. | |
5697 | (cmd_record_goto): Remove declaration. | |
5698 | * target-delegates.c: Rebuild. | |
5699 | * target.h (struct target_ops) <to_get_bookmark, | |
5700 | to_goto_bookmark>: Make parameter const. | |
5701 | ||
9cbe5fff TT |
5702 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5703 | ||
5704 | * defs.h (generic_load): Update. | |
5705 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
5706 | * monitor.c (monitor_load): Make "args" const. | |
5707 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
5708 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
5709 | const. | |
5710 | (mips_load): Make "file" const. | |
5711 | * remote-sim.c (gdbsim_load): Make "args" const. | |
5712 | * remote.c (remote_load): Make "name" const. | |
5713 | * symfile.c (generic_load): Make "args" const. | |
5714 | * target-delegates.c: Rebuild. | |
5715 | * target.c (target_load): Make "arg" const. | |
5716 | (debug_to_load): Make "args" const. | |
5717 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
5718 | (target_load): Update. | |
5719 | ||
34a68019 TT |
5720 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
5721 | ||
5722 | PR symtab/16902: | |
5723 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
5724 | (dwarf2_physname, read_partial_die) | |
5725 | (guess_partial_die_structure_name, fixup_partial_die) | |
5726 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
5727 | (dwarf2_name): Use per-BFD obstack. | |
5728 | ||
efc889c1 YQ |
5729 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
5730 | ||
5731 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
5732 | dummyframe and this_id into inner block below. | |
5733 | ||
4395285e YQ |
5734 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
5735 | ||
5736 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
5737 | with "signal_pass[0]" in the initialization of signal_pass. | |
5738 | ||
aef92902 MM |
5739 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
5740 | ||
5741 | * record-btrace.c (record_btrace_generating_corefile) | |
5742 | (record_btrace_prepare_to_generate_core) | |
5743 | (record_btrace_done_generating_core): New. | |
5744 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
5745 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
5746 | Forward request when generating a core file. | |
5747 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
5748 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
5749 | to_done_generating_core. | |
5750 | ||
5fff78c4 MM |
5751 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
5752 | ||
5753 | * target.h (target_ops) <to_prepare_to_generate_core> | |
5754 | <to_done_generating_core>: New. | |
5755 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
5756 | * target.c (target_prepare_to_generate_core) | |
5757 | (target_done_generating_core): New. | |
5758 | * target-delegates.c: Regenerate. | |
5759 | * gcore.c: (write_gcore_file): Rename to ... | |
5760 | (write_gcore_file_1): ...this. | |
5761 | (write_gcore_file): Call target_prepare_to_generate_core | |
5762 | and target_done_generating_core. | |
5763 | ||
1d1f1ccb MM |
5764 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
5765 | ||
5766 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
5767 | * gcore.c (write_gcore_file): Free memory returned from | |
5768 | make_corefile_notes. | |
5769 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
5770 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
5771 | ||
3343ef86 YQ |
5772 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
5773 | ||
5774 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
5775 | (arm_linux_init_abi): Set skip_trampoline_code with | |
5776 | gdbarch_skip_trampoline_code instead of | |
5777 | find_solib_trampoline_target. | |
5778 | ||
18d18ac8 YQ |
5779 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
5780 | ||
5781 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
5782 | arm_skip_bx_reg returns non-zero. | |
5783 | ||
80d8d390 YQ |
5784 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
5785 | ||
5786 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
5787 | (arm_skip_stub): Call arm_skip_bx_reg. | |
5788 | ||
6a18a01c DB |
5789 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
5790 | ||
5791 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
5792 | ||
8e9db26e PA |
5793 | 2014-06-23 Pedro Alves <palves@redhat.com> |
5794 | ||
5795 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
5796 | DR_CONTROL before setting DR0..DR3. | |
5797 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
5798 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
5799 | bits of DR_CONTROL related to the debug register slot being | |
5800 | disabled. If all slots are vacant, clear local slowdown as well, | |
5801 | and assert DR_CONTROL is 0. | |
5802 | ||
70afc5b7 SC |
5803 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
5804 | ||
5805 | * python/lib/gdb/command/xmethods.py | |
5806 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
5807 | current progspace only if the string "progspace" matches LOCUS_RE. | |
5808 | ||
840ed64d JK |
5809 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
5810 | ||
5811 | Fix --with-system-readline with readline-6.3 patch 5. | |
5812 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
5813 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
5814 | types. | |
5815 | ||
26f2dc30 TT |
5816 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
5817 | ||
5818 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
5819 | OBSTACK_CALLOC. | |
5820 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
5821 | ||
125f8a3d GB |
5822 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
5823 | ||
5824 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
5825 | * common/glibc_thread_db.h: Likewise. | |
5826 | * common/i386-cpuid.h: Likewise. | |
5827 | * common/i386-gcc-cpuid.h: Likewise. | |
5828 | * common/linux-btrace.h: Likewise. | |
5829 | * common/linux-osdata.h: Likewise. | |
5830 | * common/linux-procfs.h: Likewise. | |
5831 | * common/linux-ptrace.h: Likewise. | |
5832 | * common/mips-linux-watch.h: Likewise. | |
5833 | * common/linux-btrace.c: Moved to nat. | |
5834 | * common/linux-osdata.c: Likewise. | |
5835 | * common/linux-procfs.c: Likewise. | |
5836 | * common/linux-ptrace.c: Likewise. | |
5837 | * common/mips-linux-watch.c: Likewise. | |
5838 | * nat/gdb_thread_db.h: Moved from common. | |
5839 | * nat/glibc_thread_db.h: Likewise. | |
5840 | * nat/i386-cpuid.h: Likewise. | |
5841 | * nat/i386-gcc-cpuid.h: Likewise. | |
5842 | * nat/linux-btrace.c: Likewise. | |
5843 | * nat/linux-btrace.h: Likewise. | |
5844 | * nat/linux-osdata.c: Likewise. | |
5845 | * nat/linux-osdata.h: Likewise. | |
5846 | * nat/linux-procfs.c: Likewise. | |
5847 | * nat/linux-procfs.h: Likewise. | |
5848 | * nat/linux-ptrace.c: Likewise. | |
5849 | * nat/linux-ptrace.h: Likewise. | |
5850 | * nat/mips-linux-watch.c: Likewise. | |
5851 | * nat/mips-linux-watch.h: Likewise. | |
5852 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
5853 | (object file files): Reordered. | |
5854 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
5855 | of glibc_thread_db.h. | |
5856 | ||
42995dbd GB |
5857 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
5858 | ||
5859 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
5860 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
5861 | (i386_dr_low): Likewise. | |
5862 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
5863 | (i386_dr_low_set_addr): Likewise. | |
5864 | (i386_dr_low_get_addr): Likewise. | |
5865 | (i386_dr_low_can_set_control): Likewise. | |
5866 | (i386_dr_low_set_control): Likewise. | |
5867 | (i386_dr_low_get_control): Likewise. | |
5868 | (i386_dr_low_get_status): Likewise. | |
5869 | (i386_get_debug_register_length): Likewise. | |
5870 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
5871 | (i386_dr_low): Likewise. | |
5872 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
5873 | (i386-nat.h): Likewise. | |
5874 | (nat/i386-dregs.h): New include. | |
5875 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
5876 | (i386_dr_low_set_addr): Likewise. | |
5877 | (i386_dr_low_get_addr): Likewise. | |
5878 | (i386_dr_low_can_set_control): Likewise. | |
5879 | (i386_dr_low_set_control): Likewise. | |
5880 | (i386_dr_low_get_control): Likewise. | |
5881 | (i386_dr_low_get_status): Likewise. | |
5882 | (i386_get_debug_register_length): Likewise. | |
5883 | (debug_hw_points): Likewise. | |
5884 | ||
3ed9baed IB |
5885 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
5886 | ||
5887 | * Makefile.in (SFILES): Add d-exp.y. | |
5888 | (YYFILES): Add d-exp.c. | |
5889 | (YYOBJ): Add d-exp.o. | |
5890 | (local-maintainer-clean): Delete d-exp.c. | |
5891 | * d-exp.y: New file. | |
5892 | * d-lang.h (d_parse): New declaration. | |
5893 | (d_error): New declaration. | |
5894 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
5895 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
5896 | PREC_ORDER operators. | |
5897 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
5898 | ||
78c164b0 YQ |
5899 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
5900 | ||
5901 | * gdbthread.h (any_running): Remove the declaration. | |
5902 | * thread.c (any_running): Remove. | |
5903 | ||
f6e29b6e YQ |
5904 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
5905 | ||
5906 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
5907 | 'enum thread_state'. Update comments. | |
5908 | ||
034f788c PA |
5909 | 2014-06-19 Pedro Alves <palves@redhat.com> |
5910 | ||
5911 | * gdbthread.h (ALL_THREADS): Delete. | |
5912 | (ALL_NON_EXITED_THREADS): New macro. | |
5913 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
5914 | instead of ALL_THREADS. | |
5915 | * infrun.c (find_thread_needs_step_over) | |
5916 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
5917 | instead of ALL_THREADS. | |
5918 | * record-btrace.c (record_btrace_open) | |
5919 | (record_btrace_stop_recording, record_btrace_close) | |
5920 | (record_btrace_is_replaying, record_btrace_resume) | |
5921 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
5922 | * remote.c (append_pending_thread_resumptions): Likewise. | |
5923 | * thread.c (thread_apply_all_command): Likewise. | |
5924 | ||
46e33252 GB |
5925 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
5926 | ||
5927 | * i386-nat.c (i386_stopped_by_watchpoint): | |
5928 | Use i386_dr_stopped_by_watchpoint. | |
5929 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
5930 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
5931 | ||
3a8ee006 GB |
5932 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
5933 | ||
5934 | * nat/i386-dregs.c: New file. | |
5935 | * Makefile.in (i386-dregs.o): New rule. | |
5936 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
5937 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
5938 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
5939 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
5940 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
5941 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
5942 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
5943 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
5944 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
5945 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
5946 | * i386-nat.h (debug_hw_points): New declaration. | |
5947 | * i386-nat.c (breakpoint.h): Remove include. | |
5948 | (command.h): Likewise. | |
5949 | (target.h): Likewise. | |
5950 | (gdb_assert.h): Likewise. | |
5951 | (debug_hw_points): Made nonstatic. | |
5952 | (debug_printf): Now in i386-dregs.c. | |
5953 | (TARGET_HAS_DR_LEN_8): Likewise. | |
5954 | (DR_CONTROL_SHIFT): Likewise. | |
5955 | (DR_CONTROL_SIZE): Likewise. | |
5956 | (DR_RW_EXECUTE): Likewise. | |
5957 | (DR_RW_WRITE): Likewise. | |
5958 | (DR_RW_READ): Likewise. | |
5959 | (DR_RW_IORW): Likewise. | |
5960 | (DR_LEN_1): Likewise. | |
5961 | (DR_LEN_2): Likewise. | |
5962 | (DR_LEN_4): Likewise. | |
5963 | (DR_LEN_8): Likewise. | |
5964 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
5965 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
5966 | (DR_ENABLE_SIZE): Likewise. | |
5967 | (DR_LOCAL_SLOWDOWN): Likewise. | |
5968 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
5969 | (DR_CONTROL_RESERVED): Likewise. | |
5970 | (I386_DR_CONTROL_MASK): Likewise. | |
5971 | (I386_DR_VACANT): Likewise. | |
5972 | (I386_DR_LOCAL_ENABLE): Likewise. | |
5973 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
5974 | (I386_DR_DISABLE): Likewise. | |
5975 | (I386_DR_SET_RW_LEN): Likewise. | |
5976 | (I386_DR_GET_RW_LEN): Likewise. | |
5977 | (I386_DR_WATCH_HIT): Likewise. | |
5978 | (i386_wp_op_t): Likewise. | |
5979 | (i386_show_dr): Likewise. | |
5980 | (i386_length_and_rw_bits): Likewise. | |
5981 | (i386_insert_aligned_watchpoint): Likewise. | |
5982 | (i386_remove_aligned_watchpoint): Likewise. | |
5983 | (i386_handle_nonaligned_watchpoint): Likewise. | |
5984 | (i386_update_inferior_debug_regs): Likewise. | |
5985 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
5986 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
5987 | (i386_region_ok_for_watchpoint): | |
5988 | Use i386_dr_region_ok_for_watchpoint. | |
5989 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
5990 | ||
322a8e06 GB |
5991 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
5992 | ||
5993 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
5994 | i386_insert_watchpoint. | |
5995 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
5996 | ||
8f26655c GB |
5997 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
5998 | ||
5999 | * i386-nat.c (i386_dr_show): Renamed to | |
6000 | i386_show_dr and made static. All uses updated. | |
6001 | (i386_dr_length_and_rw_bits): Renamed to | |
6002 | i386_length_and_rw_bits and made static. | |
6003 | All uses updated. | |
6004 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
6005 | i386_insert_aligned_watchpoint and made static. | |
6006 | All uses updated. | |
6007 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
6008 | i386_remove_aligned_watchpoint and made static. | |
6009 | All uses updated. | |
6010 | (i386_dr_update_inferior_debug_regs): Renamed to | |
6011 | i386_update_inferior_debug_regs and made static. | |
6012 | All uses updated. | |
6013 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
6014 | (i386_dr_length_and_rw_bits): Likewise. | |
6015 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
6016 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
6017 | (i386_dr_update_inferior_debug_regs): Likewise. | |
6018 | ||
992c7d70 GB |
6019 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6020 | ||
6021 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
6022 | * configure: Regenerate. | |
6023 | * config.in: Likewise. | |
6024 | * main.c (signal.h): New include. | |
6025 | (setup_alternate_signal_stack): New function. | |
6026 | (captured_main): Call the above. | |
6027 | * cp-support.c (signal.h): New include. | |
6028 | (catch_demangler_crashes): New flag. | |
6029 | (SIGJMP_BUF): New define. | |
6030 | (SIGSETJMP): Likewise. | |
6031 | (SIGLONGJMP): Likewise. | |
6032 | (gdb_demangle_jmp_buf): New static global. | |
6033 | (gdb_demangle_attempt_core_dump): Likewise. | |
6034 | (gdb_demangle_signal_handler): New function. | |
6035 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
6036 | above signal handler before calling bfd_demangle, and restore | |
6037 | the original signal handler afterwards. Display the offending | |
6038 | symbol and call demangler_warning the first time a segmentation | |
6039 | fault is caught. | |
6040 | (_initialize_cp_support): New maint set/show command. | |
6041 | ||
eae7090b GB |
6042 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6043 | ||
6044 | * utils.h (resource_limit_kind): New enum. | |
6045 | (can_dump_core): New declaration. | |
6046 | (warn_cant_dump_core): Likewise. | |
6047 | (dump_core): Likewise. | |
6048 | * utils.c (dump_core): Made nonstatic. Added new | |
6049 | parameter "limit_kind". | |
6050 | (can_dump_core): Made nonstatic. Moved printing code to... | |
6051 | (warn_cant_dump_core): New function. | |
6052 | (can_dump_core_warn): Likewise. | |
6053 | (internal_vproblem): Replace calls to can_dump_core with | |
6054 | calls to can_dump_core_warn. Supply new argument to each. | |
6055 | ||
57fcfb1b GB |
6056 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6057 | ||
6058 | * utils.h (demangler_vwarning): New declaration. | |
6059 | (demangler_warning): Likewise. | |
6060 | * utils.c (struct internal_problem) | |
6061 | <user_settable_should_quit>: New field. | |
6062 | <user_settable_should_dump_core>: Likewise | |
6063 | (internal_error_problem): Add values for above new fields. | |
6064 | (internal_warning_problem): Likewise. | |
6065 | (demangler_warning_problem): New static global. | |
6066 | (demangler_vwarning): New function. | |
6067 | (demangler_warning): Likewise. | |
6068 | (add_internal_problem_command): Selectively add commands. | |
6069 | (_initialize_utils): New internal problem command. | |
6070 | * maint.c (maintenance_demangler_warning): New function. | |
6071 | (_initialize_maint_cmds): New command. | |
6072 | ||
17a40b44 TT |
6073 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6074 | ||
6075 | * f-valprint.c (info_common_command_for_block): Update. | |
6076 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
6077 | const. | |
6078 | ||
346d1dfe TT |
6079 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6080 | ||
6081 | * symtab.h (struct symtab) <blockvector>: Now const. | |
6082 | * ada-lang.c (ada_add_global_exceptions): Update. | |
6083 | * buildsym.c (augment_type_symtab): Update. | |
6084 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
6085 | * jit.c (finalize_symtab): Update. | |
6086 | * jv-lang.c (add_class_symtab_symbol): Update. | |
6087 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
6088 | Update. | |
6089 | * objfiles.c (objfile_relocate1): Update. | |
6090 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
6091 | (maintenance_check_psymtabs): Update. | |
6092 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
6093 | Update. | |
6094 | * spu-tdep.c (spu_catch_start): Update. | |
6095 | * symmisc.c (dump_symtab_1): Update. | |
6096 | * symtab.c (lookup_global_symbol_from_objfile) | |
6097 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
6098 | (basic_lookup_transparent_type_quick) | |
6099 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
6100 | (find_pc_sect_line, search_symbols): Update. | |
6101 | * block.c (find_block_in_blockvector): Make "bl" const. | |
6102 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
6103 | const. | |
6104 | (blockvector_contains_pc): Make "bv" const. | |
6105 | (block_for_pc_sect): Update. | |
6106 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6107 | (blockvector_contains_pc): Update. | |
6108 | * breakpoint.c (resolve_sal_pc): Update. | |
6109 | * inline-frame.c (block_starting_point_at): Update. | |
6110 | ||
1834676b TT |
6111 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6112 | ||
6113 | * completer.c (complete_line): Make "line_buffer" const. | |
6114 | * completer.h (complete_line): Update. | |
6115 | ||
ac1a991b TT |
6116 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6117 | ||
6118 | * symtab.c (add_macro_name): Remove unneeded cast. | |
6119 | ||
5bc98e52 TT |
6120 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6121 | ||
6122 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
6123 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
6124 | ||
8236def8 TT |
6125 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6126 | ||
6127 | * probe.c (info_probes_for_ops): Make "arg" const. | |
6128 | * probe.h (info_probes_for_ops): Update. | |
6129 | ||
3977b71f TT |
6130 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6131 | ||
6132 | * varobj.c (varobj_create): Update. | |
6133 | * valops.c (value_of_this): Update. | |
6134 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
6135 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
6136 | * symtab.c (skip_prologue_sal) | |
6137 | (default_make_symbol_completion_list_break_on) | |
6138 | (skip_prologue_using_sal): Update. | |
6139 | * stack.h (iterate_over_block_locals) | |
6140 | (iterate_over_block_local_vars): Update. | |
6141 | * stack.c (print_frame_args): Update. | |
6142 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
6143 | parameter const. | |
6144 | (get_selected_block): Make return type const. | |
6145 | * python/py-frame.c (frapy_block): Update. | |
6146 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
6147 | * p-exp.y (%union) <bval>: Now const. | |
6148 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
6149 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
6150 | * m2-exp.y (%union) <bval>: Now const. | |
6151 | * linespec.c (get_current_search_block): Make return type const. | |
6152 | (create_sals_line_offset, find_label_symbols): Update. | |
6153 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
6154 | Update. | |
6155 | (block_starting_point_at): Make "block" const. | |
6156 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
6157 | (check_exception_resume): Update. | |
6158 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
6159 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
6160 | * frame.h (get_frame_block): Update. | |
6161 | (get_selected_block): Make return type const. | |
6162 | * frame.c (frame_id_inner): Update. | |
6163 | * f-valprint.c (info_common_command_for_block) | |
6164 | (info_common_command): Update. | |
6165 | * dwarf2loc.c (dwarf2_find_location_expression) | |
6166 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
6167 | (locexpr_describe_location_piece): Update. | |
6168 | * c-exp.y (%union) <bval>: Now const. | |
6169 | * breakpoint.c (resolve_sal_pc): Update. | |
6170 | * blockframe.c (get_frame_block):Make return type const. | |
6171 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
6172 | (block_innermost_frame): Update. | |
6173 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6174 | (block_for_pc, block_for_pc_sect): Update. | |
6175 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
6176 | 'pblock' const. | |
6177 | (block_for_pc_sect, block_for_pc): Make return type const. | |
6178 | * ax-gdb.c (gen_expr): Update. | |
6179 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
6180 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
6181 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
6182 | (ada_read_var_value): Update. | |
6183 | * ada-exp.y (struct name_info) <block>: Now const. | |
6184 | (%union): Likewise. | |
6185 | (block_lookup): Constify. | |
6186 | ||
b9228891 GB |
6187 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6188 | ||
6189 | * nat/i386-dregs.h: New file. | |
6190 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
6191 | * i386-nat.h (i386-dregs.h): New include. | |
6192 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
6193 | (DR_LASTADDR): Likewise. | |
6194 | (DR_NADDR): Likewise. | |
6195 | (DR_STATUS): Likewise. | |
6196 | (DR_CONTROL): Likewise. | |
6197 | (i386_debug_reg_state): Likewise. | |
6198 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
6199 | ||
a1aa2221 LM |
6200 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
6201 | ||
6202 | * breakpoint.c (set_longjmp_breakpoint): Call | |
6203 | momentary_breakpoint_from_master with additional argument. | |
6204 | (set_longjmp_breakpoint_for_call_dummy): Call | |
6205 | momentary_breakpoint_from_master with additional argument. | |
6206 | (set_std_terminate_breakpoint): Call | |
6207 | momentary_breakpoint_from_master with additional argument. | |
6208 | (momentary_breakpoint_from_master): Add argument to function | |
6209 | definition and use it to initialize structure member flag. | |
74228e77 | 6210 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
6211 | momentary_breakpoint_from_master with additional argument. |
6212 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
6213 | member flags set in momentary_breakpoint_from_master. | |
6214 | ||
4be83cc2 GB |
6215 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6216 | ||
6217 | * i386-nat.c (i386_show_dr): Renamed to | |
6218 | i386_dr_show and made nonstatic. All uses updated. | |
6219 | (i386_length_and_rw_bits): Renamed to | |
6220 | i386_dr_length_and_rw_bits and made nonstatic. | |
6221 | All uses updated. | |
6222 | (i386_insert_aligned_watchpoint): Renamed to | |
6223 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
6224 | All uses updated. | |
6225 | (i386_remove_aligned_watchpoint): Renamed to | |
6226 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
6227 | All uses updated. | |
6228 | (i386_update_inferior_debug_regs): Renamed to | |
6229 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
6230 | All uses updated. | |
6231 | ||
131aa0d4 GB |
6232 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6233 | ||
6234 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
6235 | (i386_dr_low_can_set_control): Likewise. | |
6236 | (i386_dr_low_set_addr): Likewise. | |
6237 | (i386_dr_low_set_control): Likewise. | |
6238 | (i386_dr_low_get_addr): Likewise. | |
6239 | (i386_dr_low_get_status): Likewise. | |
6240 | (i386_dr_low_get_control): Likewise. | |
6241 | (i386_insert_aligned_watchpoint): Use new macros. | |
6242 | (i386_update_inferior_debug_regs): Likewise. | |
6243 | (i386_stopped_data_address): Likewise. | |
6244 | ||
d9305f7f GB |
6245 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6246 | ||
6247 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
6248 | New parameter. All uses updated. | |
6249 | ||
ea008da4 GB |
6250 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6251 | ||
6252 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
6253 | All uses updated. | |
6254 | ||
1b6d4134 GB |
6255 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6256 | ||
6257 | * i386-nat.c (debug_printf): New macro. | |
6258 | (i386_get_debug_register_length): Likewise. | |
6259 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
6260 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
6261 | and printf_unfiltered. Use phex to format values. | |
6262 | ||
9b4550ef GB |
6263 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6264 | ||
6265 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
6266 | Make const. | |
6267 | ||
6e62758f GB |
6268 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6269 | ||
6270 | * i386-nat.c: Comment changes. | |
6271 | ||
51c79e94 GB |
6272 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6273 | ||
6274 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
6275 | ||
3e11889a GB |
6276 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6277 | ||
6278 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
6279 | (i386_insert_aligned_watchpoint): Likewise. | |
6280 | (i386_remove_aligned_watchpoint): Likewise. | |
6281 | (i386_handle_nonaligned_watchpoint): Likewise. | |
6282 | ||
fc6e2f03 GB |
6283 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6284 | ||
6285 | * i386-nat.c: Whitespace changes. | |
6286 | ||
2afe7d50 SB |
6287 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
6288 | ||
6289 | * MAINTAINERS: Update Roland McGrath's email address. | |
6290 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 6291 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 6292 | |
3bca49ee TT |
6293 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
6294 | ||
6295 | * utils.h (savestring): Remove declaration. | |
6296 | ||
6e366df1 TT |
6297 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
6298 | ||
6299 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
6300 | ||
6be47f0c KS |
6301 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
6302 | ||
6303 | PR mi/15863 | |
6304 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
6305 | to update the varobj if inferior_ptid is null_ptid. | |
6306 | ||
7bc112c1 TT |
6307 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6308 | ||
6309 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
6310 | const. | |
6311 | (target_info_proc): Update. | |
6312 | * target.c (target_info_proc): Make "args" const. | |
6313 | * procfs.c (procfs_info_proc): Update. | |
6314 | * linux-tdep.c (linux_info_proc): Update. | |
6315 | (linux_core_info_proc_mappings): Make "args" const. | |
6316 | (linux_core_info_proc): Update. | |
6317 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
6318 | * gdbarch.c: Rebuild. | |
6319 | * gdbarch.h: Rebuild. | |
6320 | * corelow.c (core_info_proc): Update. | |
6321 | ||
fee354ee TT |
6322 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6323 | ||
6324 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
6325 | const. | |
6326 | (target_disconnect): Update. | |
6327 | * target.c (target_disconnect): Make "args" const. | |
6328 | * target-delegates.c: Rebuild. | |
6329 | * remote.c (remote_disconnect): Update. | |
6330 | * record.h (record_disconnect): Update. | |
6331 | * record.c (record_disconnect): Update. | |
6332 | * inf-child.c (inf_child_disconnect): Update. | |
6333 | ||
a30bf1f1 TT |
6334 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6335 | ||
6336 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
6337 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
6338 | * target-delegates.c: Rebuild. | |
6339 | * remote.c (remote_rcmd): Update. | |
6340 | * monitor.c (monitor_rcmd): Update. | |
6341 | ||
d03de421 PA |
6342 | 2014-06-16 Pedro Alves <palves@redhat.com> |
6343 | ||
6344 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
6345 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
6346 | have OBJF_SHARED set. | |
6347 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
6348 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
6349 | instead of OBJF_USERLOADED. | |
6350 | * objfiles.h (OBJF_SHARED): Update comment. | |
6351 | (userloaded_objfile_contains_address_p): Rename to ... | |
6352 | (shared_objfile_contains_address_p): ... this, and update | |
6353 | comments. | |
6354 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
6355 | new objfile. | |
6356 | (remove_symbol_file_command): Skip objfiles that don't have | |
6357 | OBJF_SHARED set. | |
6358 | ||
99f4262f TT |
6359 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
6360 | ||
6361 | * minsyms.h (prim_record_minimal_symbol) | |
6362 | (prim_record_minimal_symbol_and_info): Update comments. | |
6363 | ||
97d66cc6 EZ |
6364 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
6365 | ||
6366 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
6367 | or --without-guile, according to how GDB was built. | |
6368 | ||
635c7e8a TT |
6369 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
6370 | ||
6371 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
6372 | to help_list. | |
6373 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
6374 | to help_list. | |
6375 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
6376 | help_list. | |
6377 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
6378 | help_list.Pass all_commands, not -1, to help_list. | |
6379 | * cli/cli-dump.c (dump_command, append_command) | |
6380 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
6381 | (binary_dump_command, binary_append_command): Pass all_commands, | |
6382 | not -1, to help_list. | |
6383 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
6384 | -1, to help_list. | |
6385 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
6386 | -1, to help_list. | |
6387 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
6388 | help_list. | |
6389 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
6390 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
6391 | all_commands, not -1, to help_list. | |
6392 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
6393 | help_list. | |
6394 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
6395 | help_list. | |
6396 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
6397 | help_list. | |
6398 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
6399 | -1, to help_list. | |
6400 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
6401 | not -1, to help_list. | |
6402 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
6403 | not -1, to help_list. | |
6404 | * maint.c (maintenance_command, maintenance_info_command) | |
6405 | (maintenance_print_command, maintenance_set_cmd): Pass | |
6406 | all_commands, not -1, to help_list. | |
6407 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
6408 | help_list. | |
6409 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
6410 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
6411 | help_list. | |
6412 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
6413 | help_list. | |
6414 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
6415 | help_list. | |
6416 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
6417 | help_list. | |
6418 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
6419 | help_list. | |
6420 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
6421 | all_commands, not -1, to help_list. | |
6422 | ||
b94ade42 PL |
6423 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
6424 | ||
6425 | * regcache.c (struct register_to_invalidate): New structure. | |
6426 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
6427 | functions. | |
6428 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
6429 | ||
31f628ae YQ |
6430 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
6431 | ||
6432 | * varobj.c (varobj_get_num_children): Call | |
6433 | varobj_is_dynamic_p. | |
6434 | (varobj_list_children): Likewise. | |
6435 | (varobj_update): Likewise. Update comments. | |
6436 | ||
cde5ef40 YQ |
6437 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
6438 | ||
6439 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
6440 | (varobj_is_dynamic_p): ... this. New function. | |
6441 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
6442 | (varobj_is_dynamic_p): Declare. | |
6443 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
6444 | (mi_print_value_p, varobj_update_one): Likewise. | |
6445 | ||
576ea091 YQ |
6446 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
6447 | Yao Qi <yao@codesourcery.com> | |
6448 | ||
6449 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
6450 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
6451 | "#if HAVE_PYTHON" and "#endif". | |
6452 | (update_dynamic_varobj_children): Likewise. | |
6453 | ||
827f100c YQ |
6454 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
6455 | Yao Qi <yao@codesourcery.com> | |
6456 | ||
6457 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
6458 | gdb_python_initialized is false. Move some code from varobj.c. | |
6459 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
6460 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
6461 | (struct varobj_item): Moved to varobj-iter.h". | |
6462 | (varobj_clear_saved_item): New function. | |
6463 | (update_dynamic_varobj_children): Move python-related code to | |
6464 | py-varobj.c. | |
6465 | (free_variable): Call varobj_clear_saved_item and | |
6466 | varobj_iter_delete. | |
6467 | ||
e5250216 YQ |
6468 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
6469 | Yao Qi <yao@codesourcery.com> | |
6470 | ||
6471 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
6472 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
6473 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
6474 | (py-varobj.o): New rule. | |
6475 | * python/py-varobj.c: New file. | |
6476 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
6477 | * varobj-iter.h: New file. | |
6478 | * varobj.c: Include "varobj-iter.h" | |
6479 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
6480 | to "struct varobj_iter *". | |
6481 | <saved_item>: Likewise. | |
6482 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
6483 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
6484 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
6485 | python-specific code to python/py-varobj.c. | |
6486 | (install_visualizer): Call varobj_iter_delete instead of | |
6487 | Py_XDECREF. | |
6488 | * varobj.h (varobj_ensure_python_env): Declare. | |
6489 | ||
5a2e0d6e YQ |
6490 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
6491 | ||
6492 | * varobj.c (struct varobj_item): New structure. | |
6493 | (create_child_with_value): Update declaration. | |
6494 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
6495 | 'item'. All callers updated. | |
6496 | (install_dynamic_child): Likewise. | |
6497 | (update_dynamic_varobj_children): Likewise. | |
6498 | (varobj_add_child): Likewise. | |
6499 | (create_child_with_value): Likewise. | |
6500 | ||
919b9a93 JB |
6501 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
6502 | ||
6503 | * NEWS: Create a new section for the next release branch. | |
6504 | Rename the section of the current branch, now that it has | |
6505 | been cut. | |
6506 | ||
71a55bdf JB |
6507 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
6508 | ||
6509 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
6510 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
6511 | ||
364fe1f7 PA |
6512 | 2014-06-11 Pedro Alves <palves@redhat.com> |
6513 | ||
6514 | PR remote/17028 | |
6515 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
6516 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
6517 | net_windows_socket_check_pending. | |
6518 | (net_windows_wait_handle): Check for pending events with | |
6519 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
6520 | checking the socket's event. | |
6521 | ||
5a6c7709 SC |
6522 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
6523 | ||
6524 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
6525 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
6526 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
6527 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 6528 | |
0e58ee40 JB |
6529 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
6530 | ||
6531 | * serial.c (serial_write): Fix index of character to be printed | |
6532 | in call to serial_logchar when serial debug traces are enabled. | |
6533 | ||
d190df30 JB |
6534 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
6535 | ||
6536 | * gdbtypes (resolve_dynamic_range): Add function description. | |
6537 | ||
b4b01d36 PA |
6538 | 2014-06-09 Pedro Alves <palves@redhat.com> |
6539 | ||
6540 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
6541 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
6542 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
6543 | state. | |
6544 | ||
3657956b GB |
6545 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
6546 | ||
6547 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
6548 | the always-available ANSI-standard signals from the signals that | |
6549 | require checking. | |
6550 | (do_gdb_signal_to_host): Likewise. | |
6551 | * proc-events.c (signal_table): Likewise. | |
6552 | ||
c077881a HZ |
6553 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
6554 | ||
6555 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
6556 | function. | |
6557 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
6558 | declaration. | |
6559 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
6560 | detach. | |
6561 | ||
4186eb54 KS |
6562 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
6563 | ||
6564 | Revert: | |
6565 | PR c++/16253 | |
6566 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
6567 | from symbol_matches_domain in symtab.c. All local callers | |
6568 | of symbol_matches_domain updated. | |
6569 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
6570 | search STRUCT_DOMAIN. | |
6571 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
6572 | independently. standard_lookup will do that automatically. | |
6573 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
6574 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
6575 | (cp_lookup_symbol_in_namespace): Likewise. | |
6576 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
6577 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
6578 | may return a STRUCT_DOMAIN match. | |
6579 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
6580 | * cp-support.c: Include language.h. | |
6581 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
6582 | VAR_DOMAIN. | |
6583 | * psymtab.c (match_partial_symbol): Compare the requested | |
6584 | domain with the symbol's domain directly. | |
6585 | (lookup_partial_symbol): Likewise. | |
6586 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
6587 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
6588 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
6589 | appropriate languages. | |
6590 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
6591 | and moved to ada-lang.c | |
6592 | (lookup_block_symbol): Explain that this function only returns | |
6593 | symbol matching the requested DOMAIN. | |
6594 | Compare the requested domain with the symbol's domain directly. | |
6595 | (iterate_over_symbols): Compare the requested domain with the | |
6596 | symbol's domain directly. | |
6597 | * symtab.h (symbol_matches_domain): Remove. | |
6598 | ||
25326a28 | 6599 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
6600 | |
6601 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
6602 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
6603 | (gdbscm_guile_version_is_at_least): Declare. | |
6604 | (gdbscm_scm_string_to_int): Declare. | |
6605 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
6606 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
6607 | (guile_datadir): New static global. | |
6608 | (gdbscm_guile_data_directory): New function. | |
6609 | (initialize_scheme_side): Update. | |
6610 | (misc_guile_functions): Add guile-data-directory. | |
6611 | (initialize_gdb_module): Fetch guile version number. | |
6612 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
6613 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
6614 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
6615 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
6616 | comments. | |
6617 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
6618 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
6619 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
6620 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
6621 | ||
0a770bb2 | 6622 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
6623 | ||
6624 | * main.c (print_gdb_help): Add -q and --silent. | |
6625 | ||
73ba372c GB |
6626 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
6627 | ||
6628 | * common/signals.c: Remove preprocessor conditionals for | |
6629 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
6630 | SIGSEGV and SIGTERM. | |
6631 | * proc-events.c: Likewise. | |
6632 | ||
c33b2f12 MM |
6633 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
6634 | ||
6635 | * symfile.c (symfile_free_objfile): Remove restriction to | |
6636 | OBJF_USERLOADED. | |
6637 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
6638 | add_target_sections_of_objfile. | |
6639 | ||
fb934770 LC |
6640 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
6641 | ||
6642 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
6643 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
6644 | 'vlscm_scm_to_value'. | |
6645 | ||
6ef284bd SM |
6646 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
6647 | ||
6648 | PR mi/15806 | |
6649 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
6650 | Update function documentation to clarify effect of parameter | |
6651 | QUOTER. | |
6652 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
6653 | fputstrn_unfiltered. | |
6654 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
6655 | generate the output. | |
6656 | (mi_solib_unloaded): Same. | |
6657 | ||
270c9937 JB |
6658 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
6659 | ||
6660 | * development.sh: Delete. | |
6661 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
6662 | * configure.ac: Adjust development.sh source call. | |
6663 | * configure: Regenerate. | |
6664 | ||
16f691fb DE |
6665 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
6666 | ||
6667 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
6668 | is_scheme_bkpt, spec. | |
6669 | (bpscm_make_breakpoint_smob): Initialize new members. | |
6670 | (gdbscm_create_breakpoint_x): Split into two ... | |
6671 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
6672 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
6673 | (scheme_function breakpoint_functions): Update. | |
6674 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
6675 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
6676 | register-breakpoint!. | |
6677 | ||
ef7cab6b JB |
6678 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
6679 | ||
6680 | PR server/17023 | |
6681 | * mem-break.c (z_type_supported): Return zero if | |
6682 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
6683 | ||
012370f6 TT |
6684 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
6685 | ||
6686 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
6687 | value_from_contents_and_address_unresolved. | |
6688 | (ada_template_to_fixed_record_type_1): Likewise. | |
6689 | (ada_which_variant_applies): Likewise. | |
6690 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
6691 | * value.c (value_from_contents_and_address_unresolved): New | |
6692 | function. | |
6693 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
6694 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
6695 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
6696 | ||
92e2a17f TT |
6697 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
6698 | ||
6699 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
6700 | ||
c0939df1 TT |
6701 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
6702 | ||
6703 | * procfs.c (procfs_attach): Make "args" const. | |
6704 | * windows-nat.c (windows_attach): Make "args" const. | |
6705 | * nto-procfs.c (procfs_attach): Make "args" const. | |
6706 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
6707 | * go32-nat.c (go32_attach): Make "args" const. | |
6708 | * gnu-nat.c (gnu_attach): Make "args" const. | |
6709 | * darwin-nat.c (darwin_attach): Make "args" const. | |
6710 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
6711 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
6712 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
6713 | Make "args" const. | |
6714 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
6715 | (find_default_attach): Likewise. | |
6716 | * utils.c (parse_pid_to_attach): Make "args" const. | |
6717 | * utils.h (parse_pid_to_attach): Update. | |
6718 | ||
8eaff7cd TT |
6719 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
6720 | ||
6721 | * target-delegates.c: Rebuild. | |
6722 | * target.c (default_thread_address_space): New function. | |
6723 | (target_thread_address_space): Simplify. | |
6724 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
6725 | TARGET_DEFAULT_FUNC. | |
6726 | ||
1913f160 DE |
6727 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
6728 | ||
6729 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
6730 | ||
70ad5bff MM |
6731 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
6732 | ||
6733 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
6734 | (record_btrace_resume_exec_dir) | |
6735 | (record_btrace_async_inferior_event_handler) | |
6736 | (record_btrace_handle_async_inferior_event): New. | |
6737 | (record_btrace_open): Create async event handler. | |
6738 | (record_btrace_close): Delete async event handler. | |
6739 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
6740 | Mark async event handler. | |
6741 | (record_btrace_execution_direction): New. | |
6742 | (init_record_btrace_ops): Initialize to_execution_direction. | |
6743 | ||
b6210538 DE |
6744 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
6745 | ||
6746 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
6747 | (gdbscm_make_parameter): Ditto. | |
6748 | ||
a5b1fd27 DE |
6749 | 2014-06-03 Doug Evans <dje@google.com> |
6750 | ||
6751 | * exec.c (exec_close_1): Call clear_section_table instead of | |
6752 | resize_section_table. | |
6753 | (clear_section_table): New function. | |
6754 | (resize_section_table): Make static. Rename arg num_added to | |
6755 | adjustment. | |
6756 | * exec.h (clear_section_table): Declare. | |
6757 | (resize_section_table): Delete. | |
6758 | * progspace.c (release_program_space): Call clear_section_table | |
6759 | instead of resize_section_table. | |
6760 | ||
0c6e92a5 SC |
6761 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
6762 | ||
6763 | * NEWS (Python Scripting): Add entry about the new xmethods | |
6764 | feature. | |
6765 | ||
883964a7 SC |
6766 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
6767 | ||
6768 | * python/py-xmethods.c: New file. | |
6769 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
6770 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
6771 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
6772 | field. | |
6773 | (objfpy_get_xmethods): New function. | |
6774 | (objfile_getset): New entry 'xmethods'. | |
6775 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
6776 | (pspy_dealloc): XDECREF on the new xmethods field. | |
6777 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
6778 | field. | |
6779 | (pspy_get_xmethods): New function. | |
6780 | (pspace_getset): New entry 'xmethods'. | |
6781 | * python/python-internal.h: Add declarations for new functions. | |
6782 | * python/python.c (_initialize_python): Invoke | |
6783 | gdbpy_initialize_xmethods. | |
6784 | * python/lib/gdb/__init__.py (xmethods): New | |
6785 | attribute. | |
6786 | * python/lib/gdb/xmethod.py: New file. | |
6787 | * python/lib/gdb/command/xmethods.py: New file. | |
6788 | ||
58992dc5 SC |
6789 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
6790 | ||
6791 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
6792 | best match method returned by find_overload_match is an xmethod. | |
6793 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
6794 | the best matching operator returned by find_overload_match is an | |
6795 | xmethod. | |
6796 | * valops.c: #include "extension.h". | |
6797 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
6798 | Return void. The list of matching source methods is returned in | |
6799 | "fn_list" and a vector of matching debug method workers is | |
6800 | returned in "xm_worker_vec". Update all callers. | |
6801 | (value_find_oload_method_list): Likewise. | |
6802 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
6803 | non-NULL, then the index of the best matching method in this | |
6804 | vector is returned. Update all callers. | |
6805 | (find_overload_match): Include xmethods while performing overload | |
6806 | resolution. | |
6807 | ||
e81e7f5e SC |
6808 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
6809 | ||
6810 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
6811 | * extension-priv.h (struct extension_language_ops): Add the | |
6812 | xmethod interface. | |
6813 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
6814 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
6815 | invoke_xmethod, free_xmethod_worker, | |
6816 | free_xmethod_worker_vec): New functions. | |
6817 | * extension.h: #include "common/vec.h". | |
6818 | New function declarations. | |
6819 | (struct xmethod_worker): New struct. | |
6820 | (VEC (xmethod_worker_ptr)): New vector type. | |
6821 | (xmethod_worker_ptr): New typedef. | |
6822 | (xmethod_worker_vec): Likewise. | |
6823 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
6824 | builtin_type. | |
6825 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
6826 | (struct builtin_type): New field "xmethod". | |
6827 | * valarith.c (value_ptradd): Assert that the value argument is not | |
6828 | lval_xcallable. | |
6829 | * valops.c (value_must_coerce_to_target): Return 0 for | |
6830 | lval_xcallable values. | |
6831 | * value.c (struct value): New field XM_WORKER in the field | |
6832 | LOCATION. | |
6833 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
6834 | values. | |
6835 | (set_value_address): Assert that the value is not an | |
6836 | lval_xcallable. | |
6837 | (value_free): Free the associated xmethod worker when freeing | |
6838 | lval_xcallable values. | |
6839 | (set_value_component_location): Assert that the WHOLE value is not | |
6840 | lval_xcallable. | |
6841 | (value_of_xmethod, call_xmethod): New functions. | |
6842 | * value.h: Declare "struct xmethod_worker". | |
6843 | Declare new functions value_of_xmethod, call_xmethod. | |
6844 | ||
ef370185 JB |
6845 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
6846 | Pedro Alves <palves@redhat.com> | |
6847 | ||
6848 | PR breakpoints/17000 | |
6849 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
6850 | New function, extracted from software_breakpoint_inserted_here_p. | |
6851 | (software_breakpoint_inserted_here_p): Replace factored out code | |
6852 | by call to find_non_raw_software_breakpoint_inserted_here. | |
6853 | (bp_target_info_copy_insertion_state): New function. | |
6854 | (bkpt_insert_location): Handle the case of a single-step | |
6855 | breakpoint already inserted at the same address. | |
6856 | (bkpt_remove_location): Handle the case of a single-step | |
6857 | breakpoint still inserted at the same address. | |
6858 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
6859 | breakpoint already inserted at the same address. | |
6860 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
6861 | non-raw breakpoint still inserted at the same address. | |
6862 | (find_single_step_breakpoint): New function, extracted from | |
6863 | single_step_breakpoint_inserted_here_p. | |
6864 | (find_single_step_breakpoint): New function, | |
6865 | factored out from single_step_breakpoint_inserted_here_p. | |
6866 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
6867 | ||
1e2ccb61 BM |
6868 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
6869 | ||
6870 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
6871 | * source.c (show_substitute_path_command): Fix display of matching | |
6872 | substitution rules. | |
6873 | ||
d3448d85 GB |
6874 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
6875 | ||
6876 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
6877 | ||
06eb1586 DE |
6878 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
6879 | ||
6880 | Add parameter support for Guile. | |
6881 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
6882 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
6883 | (scm-param.o): New rule. | |
6884 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
6885 | (gdbscm_misc_error): Declare. | |
6886 | (gdbscm_canonicalize_command_name): Declare. | |
6887 | (gdbscm_scm_to_host_string): Declare. | |
6888 | (gdbscm_scm_from_host_string): Declare. | |
6889 | (gdbscm_initialize_parameters): Declare. | |
6890 | * guile/guile.c (initialize_gdb_module): Call | |
6891 | gdbscm_initialize_parameters. | |
6892 | * guile/lib/gdb.scm: Export parameter symbols. | |
6893 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
6894 | cmdscm_canonicalize_name and made public. All callers updated. | |
6895 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
6896 | * guile/scm-param.c: New file. | |
6897 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
6898 | (gdbscm_scm_to_host_string): New function. | |
6899 | (gdbscm_scm_from_host_string): New function. | |
6900 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
6901 | ||
e698b8c4 DE |
6902 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
6903 | ||
6904 | Add command support for Guile. | |
6905 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
6906 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
6907 | (scm-cmd.o): New rule. | |
6908 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
6909 | (gdbscm_user_error_p): Declare. | |
6910 | (gdbscm_parse_command_name): Declare. | |
6911 | (gdbscm_valid_command_class_p): Declare. | |
6912 | (gdbscm_initialize_commands): Declare. | |
6913 | * guile/guile.c (initialize_gdb_module): Call | |
6914 | gdbscm_initialize_commands. | |
6915 | * guile/lib/gdb.scm: Export command symbols. | |
6916 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
6917 | (throw-user-error): New function. | |
6918 | * guile/scm-cmd.c: New file. | |
6919 | * guile/scm-exception.c (user_error_symbol): New static global. | |
6920 | (gdbscm_user_error_p): New function. | |
6921 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
6922 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
6923 | ||
fb1f94b0 PM |
6924 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
6925 | ||
6926 | * top.c (command_loop): Handle comments here... | |
6927 | (command_line_input): ... not here. | |
6928 | ||
ded03782 DE |
6929 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
6930 | ||
6931 | Add progspace support for Guile. | |
6932 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
6933 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
6934 | (scm-progspace.o): New rule. | |
6935 | * guile/guile-internal.h (pspace_smob): New typedef. | |
6936 | (psscm_pspace_smob_pretty_printers): Declare. | |
6937 | (psscm_pspace_smob_from_pspace): Declare. | |
6938 | (psscm_scm_from_pspace): Declare. | |
6939 | * guile/guile.c (initialize_gdb_module): Call | |
6940 | gdbscm_initialize_pspaces. | |
6941 | * guile/lib/gdb.scm: Export progspace symbols. | |
6942 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
6943 | support. | |
6944 | (append-pretty-printer!): Ditto. | |
6945 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
6946 | Implement. | |
6947 | * guile/scm-progspace.c: New file. | |
6948 | ||
397998fc AM |
6949 | 2014-06-03 Alan Modra <amodra@gmail.com> |
6950 | ||
6951 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
6952 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
6953 | ||
6aa5f3a6 DE |
6954 | 2014-06-02 Doug Evans <dje@google.com> |
6955 | ||
6956 | Add support for skeletonless type units. | |
6957 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
6958 | n_allocated_type_units. | |
6959 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
6960 | nr_all_type_units_reallocs. | |
6961 | (create_signatured_type_table_from_index): Initialize | |
6962 | n_allocated_type_units | |
6963 | (create_all_type_units): Ditto. | |
6964 | (add_type_unit): Move up in file. New arg slot. | |
6965 | All callers updated. Increase space for all_type_units more | |
6966 | efficiently. | |
6967 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
6968 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
6969 | (lookup_dwp_signatured_type): Ditto. | |
6970 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
6971 | All callers updated. | |
6972 | (build_type_psymtabs_1): Leave type_unit_groups as | |
6973 | NULL if no TUs present. | |
6974 | (print_tu_stats): New function. | |
6975 | (process_skeletonless_type_unit): New function. | |
6976 | (process_dwo_file_for_skeletonless_type_units): New | |
6977 | function. | |
6978 | (process_skeletonless_type_units): New function. | |
6979 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
6980 | Call print tu_stats if debugging enabled. | |
6981 | ||
41fac0cf PA |
6982 | 2014-06-02 Pedro Alves <palves@redhat.com> |
6983 | ||
6984 | * breakpoint.c (build_target_command_list): Don't build a command | |
6985 | list if we have any duplicate location that isn't a dprintf. | |
6986 | ||
cd1608cc PA |
6987 | 2014-06-02 Pedro Alves <palves@redhat.com> |
6988 | ||
6989 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
6990 | (initialize_breakpoint_ops): Install it as dprintf's | |
6991 | breakpoint_hit method. | |
6992 | ||
486ef3b9 JB |
6993 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
6994 | ||
6995 | * source.c (substitute_path_rule_matches): Simplify using | |
6996 | filename_ncmp instead of FILENAME_CMP. | |
6997 | ||
230cd560 JB |
6998 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
6999 | ||
7000 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
7001 | ||
16954d5d LC |
7002 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
7003 | ||
7004 | * configure.ac: When Guile is available, check for the | |
7005 | availability of 'scm_new_smob'. | |
7006 | * configure, config.h.in: Regenerate. | |
7007 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
7008 | function. | |
7009 | ||
53e8a631 AB |
7010 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7011 | ||
7012 | * frame.c (struct frame_info): Add stop_string field. | |
7013 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
7014 | (get_prev_frame_always): Old content moved into | |
7015 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
7016 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
7017 | (frame_stop_reason_string): New function definition. | |
7018 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
7019 | mention frame_stop_reason_string. | |
7020 | (frame_stop_reason_string): New function declaration. | |
7021 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
7022 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
7023 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
7024 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
7025 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
7026 | ||
70e38b8e AB |
7027 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7028 | ||
7029 | * frame.c (frame_stop_reason_string): Rename to ... | |
7030 | (unwind_stop_reason_to_string): this. | |
7031 | * frame.h (frame_stop_reason_string): Rename to ... | |
7032 | (unwind_stop_reason_to_string): this. | |
7033 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
7034 | (backtrace_command_1): Likewise. | |
7035 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
7036 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
7037 | ||
938f0e2f AB |
7038 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7039 | ||
7040 | * frame.c (remove_prev_frame): New function. | |
7041 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
7042 | remove_prev_frame. | |
7043 | ||
a09dd441 PA |
7044 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7045 | ||
7046 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
7047 | and make it const. When a single-step decays to a continue, | |
7048 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
7049 | to step to user_visible_resume_ptid, not what we ask the | |
7050 | target to do. | |
7051 | ||
bdc36728 PA |
7052 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7053 | ||
7054 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
7055 | (handle_step_into_function_backward): Adjust. | |
7056 | Don't set the even thread's stop_step and call stop_waiting before | |
7057 | calling end_stepping_range. Instead do that ... | |
7058 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
7059 | ||
22bcd14b PA |
7060 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7061 | ||
7062 | * infrun.c (stop_stepping): Rename to ... | |
7063 | (stop_waiting): ... this. | |
7064 | (proceed): Update comment. | |
7065 | (process_event_stop_test, handle_inferior_event) | |
7066 | (handle_signal_stop, handle_step_into_function) | |
7067 | (handle_step_into_function_backward): Update. | |
7068 | ||
4ae57c05 PA |
7069 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7070 | ||
7071 | * infcall.c (run_inferior_call): Don't check whether the current | |
7072 | thread is running after the proceed call. | |
7073 | ||
329ea579 PA |
7074 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7075 | Tom Tromey <tromey@redhat.com> | |
7076 | ||
7077 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
7078 | background execution commands are now always available. | |
7079 | * target.h (target_async_permitted): Update comment. | |
7080 | * target.c (target_async_permitted, target_async_permitted_1): | |
7081 | Default to 1. | |
7082 | (set_target_async_command): Rename to ... | |
7083 | (maint_set_target_async_command): ... this. | |
7084 | (show_target_async_command): Rename to ... | |
7085 | (maint_show_target_async_command): ... this. | |
7086 | (_initialize_target): Adjust. | |
7087 | * infcmd.c (prepare_execution_command): Make extern. | |
7088 | * inferior.h (prepare_execution_command): Declare. | |
7089 | * infrun.c (set_observer_mode): Leave target async alone. | |
7090 | * mi/mi-interp.c (mi_interpreter_init): Install | |
7091 | mi_on_sync_execution_done as sync_execution_done observer. | |
7092 | (mi_on_sync_execution_done): New function. | |
7093 | (mi_execute_command_input_handler): Don't print the prompt if we | |
7094 | just started a synchronous command with an async target. | |
7095 | (mi_on_resume): Check sync_execution before printing prompt. | |
7096 | * mi/mi-main.h (mi_async_p): Declare. | |
7097 | * mi/mi-main.c: Include gdbcmd.h. | |
7098 | (mi_async_p): New function. | |
7099 | (mi_async, mi_async_1): New globals. | |
7100 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
7101 | functions. | |
7102 | (exec_continue): Call prepare_execution_command. | |
7103 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
7104 | (mi_execute_async_cli_command): Use mi_async_p. | |
7105 | (_initialize_mi_main): Install "set mi-async". Make | |
7106 | "target-async" a deprecated alias. | |
7107 | ||
92bcb5f9 PA |
7108 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7109 | ||
7110 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
7111 | (_initialize_cli_interp): Adjust. | |
7112 | * event-loop.c: Include "observer.h". | |
7113 | (start_event_loop): Notify 'command_error' observers instead of | |
7114 | calling display_gdb_prompt. Remove FIXME comment. | |
7115 | * event-top.c (display_gdb_prompt): Remove call into the | |
7116 | interpreters. | |
7117 | * inf-loop.c: Include "observer.h". | |
7118 | (inferior_event_handler): Notify 'command_error' observers instead | |
7119 | of calling display_gdb_prompt. | |
7120 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
7121 | observers instead of calling display_gdb_prompt. | |
7122 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
7123 | (current_interp_display_prompt_p): Delete. | |
7124 | * interps.h (interp_prompt_p): Delete declaration. | |
7125 | (interp_prompt_p_ftype): Delete. | |
7126 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
7127 | (current_interp_display_prompt_p): Delete declaration. | |
7128 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
7129 | (_initialize_mi_interp): Adjust. | |
7130 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
7131 | 'command_error' observers. | |
7132 | (tui_on_sync_execution_done, tui_on_command_error): New | |
7133 | functions. | |
7134 | (tui_display_prompt_p): Delete. | |
7135 | (_initialize_tui_interp): Adjust. | |
7136 | ||
fd664c91 PA |
7137 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7138 | ||
7139 | PR gdb/13860 | |
7140 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
7141 | (cli_uiout, cli_interp): New globals. | |
7142 | (cli_on_signal_received, cli_on_end_stepping_range) | |
7143 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
7144 | functions. | |
7145 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
7146 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7147 | observers. | |
7148 | (_initialize_cli_interp): Remove cli_interp local. | |
7149 | * infrun.c (handle_inferior_event): Call the several stop reason | |
7150 | observers instead of printing the stop reason directly. | |
7151 | (end_stepping_range): New function. | |
7152 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
7153 | (print_exited_reason, print_signal_received_reason) | |
7154 | (print_no_history_reason): Make static, and add an uiout | |
7155 | parameter. Print to that instead of to CURRENT_UIOUT. | |
7156 | * infrun.h (print_end_stepping_range_reason) | |
7157 | (print_signal_exited_reason, print_exited_reason) | |
7158 | (print_signal_received_reason print_no_history_reason): New | |
7159 | declarations. | |
7160 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
7161 | 'mi_uiout'. | |
7162 | <cli_uiout>: New field. | |
7163 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
7164 | uiout for CLI output. Install 'signal_received', | |
7165 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
7166 | observers. | |
7167 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
7168 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
7169 | (mi_on_no_history): New functions. | |
7170 | (ui_out_free_cleanup): Delete function. | |
7171 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
7172 | instead use the one already stored in the MI interpreter data. | |
7173 | (mi_ui_out): Adjust. | |
7174 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
7175 | (tui_interp): New global. | |
7176 | (tui_on_signal_received, tui_on_end_stepping_range) | |
7177 | (tui_on_signal_exited, tui_on_exited) | |
7178 | (tui_on_no_history): New functions. | |
7179 | (tui_init): Install them as 'end_stepping_range', | |
7180 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7181 | observers. | |
7182 | (_initialize_tui_interp): Delete tui_interp local. | |
7183 | ||
8817a6f2 PA |
7184 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7185 | ||
7186 | PR gdb/15713 | |
7187 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
7188 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
7189 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
7190 | before resuming sibling lwps. Instead ask | |
7191 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
7192 | stopped after actually resuming it. | |
7193 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
7194 | resuming it. | |
7195 | (wait_lwp): Mark the lwp as stopped here. | |
7196 | (stop_wait_callback): Mark the lwp as not stopped right after | |
7197 | resuming it. Don't mark lwps as stopped here. | |
7198 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
7199 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
7200 | ||
251bde03 PA |
7201 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7202 | ||
7203 | PR PR15693 | |
7204 | * infrun.c (resume): Determine how much to resume depending on | |
7205 | whether the caller wanted a step, not whether we can hardware step | |
7206 | the target. Mark all threads that we intend to run as running, | |
7207 | unless we're calling an inferior function. | |
7208 | (normal_stop): If the thread is running an infcall, don't finish | |
7209 | thread state. | |
7210 | * target.c (target_resume): Don't mark threads as running here. | |
7211 | ||
7f3c0343 JB |
7212 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
7213 | ||
7214 | * serial.c (_initialize_serial): Remove support for | |
7215 | the "set remotebaud" and "show remotebaud" commands. | |
7216 | * NEWS: Add entry documenting the removal of that command. | |
7217 | ||
ee34b3f9 YQ |
7218 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
7219 | ||
7220 | * charset.c: Fix typo in comments. | |
7221 | ||
add6c04d GB |
7222 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
7223 | ||
7224 | * utils.c (internal_vproblem): Prompt for a bug report. | |
7225 | ||
92c48fc5 AW |
7226 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7227 | ||
7228 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
7229 | * guile/scm-block.c (bkscm_mark_block_smob) | |
7230 | (bkscm_mark_block_syms_progress_smob): | |
7231 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
7232 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
7233 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
7234 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
7235 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
7236 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
7237 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
7238 | (ppscm_mark_pretty_printer_worker_smob): | |
7239 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
7240 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
7241 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
7242 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
7243 | mark functions. | |
7244 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
7245 | function. | |
7246 | ||
b2715b27 AW |
7247 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7248 | Doug Evans <xdje42@gmail.com> | |
7249 | ||
7250 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
7251 | empty_base_class. All uses updated. | |
7252 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
7253 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
7254 | Adapt all callers. | |
7255 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
7256 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
7257 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
7258 | (gdbscm_gsmob_has_property_p, add_property_name) | |
7259 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
7260 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
7261 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
7262 | (gdb-object-kind): Renamed from gsmob-kind. | |
7263 | ||
214ab2da AW |
7264 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7265 | ||
7266 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
7267 | * configure: Regenerate. | |
7268 | ||
589fdceb MM |
7269 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
7270 | ||
7271 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
7272 | ||
67b5c0c1 MM |
7273 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
7274 | ||
7275 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
7276 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
7277 | (replay_memory_access_types, replay_memory_access) | |
7278 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
7279 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
7280 | (cmd_show_replay_memory_access): New. | |
7281 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
7282 | (record_btrace_remove_breakpoint): Replace | |
7283 | record_btrace_allow_memory_access with replay_memory_access. | |
7284 | (_initialize_record_btrace): Add commands. | |
7285 | * NEWS: Announce it. | |
7286 | ||
036cd381 RR |
7287 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7288 | ||
7289 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
7290 | ||
c77c1e42 RR |
7291 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
7292 | ||
7293 | * MAINTAINERS (Write After Approval): Move self back from | |
7294 | paper trail. | |
7295 | ||
45741a9c PA |
7296 | 2014-05-22 Pedro Alves <palves@redhat.com> |
7297 | ||
7298 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
7299 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
7300 | (disable_randomization, enum exec_direction_kind) | |
7301 | (execution_direction, stop_registers, start_remote) | |
7302 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
7303 | (wait_for_inferior, normal_stop, get_last_target_status) | |
7304 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
7305 | (insert_step_resume_breakpoint_at_sal) | |
7306 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
7307 | (set_step_info, print_stop_event, signal_stop_state) | |
7308 | (signal_print_state, signal_pass_state, signal_stop_update) | |
7309 | (signal_print_update, signal_pass_update) | |
7310 | (update_signals_program_target, clear_exit_convenience_vars) | |
7311 | (displaced_step_dump_bytes, update_observer_mode) | |
7312 | (signal_catch_update, gdb_signal_from_command): Move | |
7313 | declarations ... | |
7314 | * infrun.h: ... to this new file. | |
7315 | * amd64-tdep.c: Include infrun.h. | |
7316 | * annotate.c: Include infrun.h. | |
7317 | * arch-utils.c: Include infrun.h. | |
7318 | * arm-linux-tdep.c: Include infrun.h. | |
7319 | * arm-tdep.c: Include infrun.h. | |
7320 | * break-catch-sig.c: Include infrun.h. | |
7321 | * breakpoint.c: Include infrun.h. | |
7322 | * common/agent.c: Include infrun.h instead of inferior.h. | |
7323 | * corelow.c: Include infrun.h. | |
7324 | * event-top.c: Include infrun.h. | |
7325 | * go32-nat.c: Include infrun.h. | |
7326 | * i386-tdep.c: Include infrun.h. | |
7327 | * inf-loop.c: Include infrun.h. | |
7328 | * infcall.c: Include infrun.h. | |
7329 | * infcmd.c: Include infrun.h. | |
7330 | * infrun.c: Include infrun.h. | |
7331 | * linux-fork.c: Include infrun.h. | |
7332 | * linux-nat.c: Include infrun.h. | |
7333 | * linux-thread-db.c: Include infrun.h. | |
7334 | * monitor.c: Include infrun.h. | |
7335 | * nto-tdep.c: Include infrun.h. | |
7336 | * procfs.c: Include infrun.h. | |
7337 | * record-btrace.c: Include infrun.h. | |
7338 | * record-full.c: Include infrun.h. | |
7339 | * remote-m32r-sdi.c: Include infrun.h. | |
7340 | * remote-mips.c: Include infrun.h. | |
7341 | * remote-notif.c: Include infrun.h. | |
7342 | * remote-sim.c: Include infrun.h. | |
7343 | * remote.c: Include infrun.h. | |
7344 | * reverse.c: Include infrun.h. | |
7345 | * rs6000-tdep.c: Include infrun.h. | |
7346 | * s390-linux-tdep.c: Include infrun.h. | |
7347 | * solib-irix.c: Include infrun.h. | |
7348 | * solib-osf.c: Include infrun.h. | |
7349 | * solib-svr4.c: Include infrun.h. | |
7350 | * target.c: Include infrun.h. | |
7351 | * top.c: Include infrun.h. | |
7352 | * windows-nat.c: Include infrun.h. | |
7353 | * mi/mi-interp.c: Include infrun.h. | |
7354 | * mi/mi-main.c: Include infrun.h. | |
7355 | * python/py-threadevent.c: Include infrun.h. | |
7356 | ||
98eb56a4 PA |
7357 | 2014-05-22 Pedro Alves <palves@redhat.com> |
7358 | ||
7359 | * infrun.c (handle_inferior_event): Store the exit code for | |
7360 | --return-child-result here, instead of ... | |
7361 | (print_exited_reason): ... here. | |
7362 | ||
17b2616c PA |
7363 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7364 | ||
7365 | PR gdb/13860 | |
7366 | * gdbthread.h (struct thread_control_state): New field | |
7367 | `command_interp'. | |
7368 | * infrun.c (follow_fork): Copy the new thread control field to the | |
7369 | child fork thread. | |
7370 | (clear_proceed_status_thread): Clear the new thread control field. | |
7371 | (proceed): Set the new thread control field. | |
7372 | * interps.h (command_interp): Declare. | |
7373 | * interps.c (command_interpreter): New global. | |
7374 | (command_interp): New function. | |
7375 | (interp_exec): Set `command_interpreter' while here. | |
7376 | * cli-out.c (cli_uiout_dtor): New function. | |
7377 | (cli_ui_out_impl): Install it. | |
7378 | * mi/mi-interp.c: Include cli-out.h. | |
7379 | (mi_cmd_interpreter_exec): Add comment. | |
7380 | (restore_current_uiout_cleanup): New function. | |
7381 | (ui_out_free_cleanup): New function. | |
7382 | (mi_on_normal_stop): If finishing an execution command started by | |
7383 | a CLI command, or any kind of breakpoint-like event triggered, | |
7384 | print the stop event to the output (CLI) stream. | |
7385 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
7386 | ||
5166082f PA |
7387 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7388 | ||
7389 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
7390 | current source line having changed. | |
7391 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
7392 | * infrun.c (normal_stop): Adjust call to | |
7393 | set_current_sal_from_frame. | |
7394 | * source.c (clear_lines_listed_range): New function. | |
7395 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
7396 | the lines listed range. | |
7397 | (line_info): Handle the first "info line" after the current source | |
7398 | line having changed. | |
7399 | * stack.c (print_stack_frame): Remove center handling. | |
7400 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
7401 | center sal.line. | |
7402 | ||
c1ee2fb3 PA |
7403 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7404 | ||
7405 | * inf-child.c (inf_child_mourn_inferior): New function. | |
7406 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
7407 | * darwin-nat.c (darwin_mourn_inferior): Use | |
7408 | inf_child_mourn_inferior. | |
7409 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
7410 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
7411 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
7412 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
7413 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
7414 | ||
5c6d4fb2 DE |
7415 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
7416 | ||
250748cb | 7417 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 7418 | |
4a2722c5 DE |
7419 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
7420 | ||
17292b30 | 7421 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
7422 | (gdbscm_out_of_range_error): Ditto. |
7423 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
7424 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
7425 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
7426 | (gdbscm_out_of_range_error): Update. |
7427 | (gdbscm_memory_error): Update. | |
7428 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
7429 | ||
6a3cb8e8 PA |
7430 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7431 | ||
7432 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
7433 | globals. | |
7434 | (inf_child_open_target): New function. | |
7435 | (inf_child_open): Use inf_child_open_target to push the target | |
7436 | instead of erroring out. | |
7437 | (inf_child_disconnect, inf_child_close) | |
7438 | (inf_child_maybe_unpush_target): New functions. | |
7439 | (inf_child_target): Install inf_child_disconnect and | |
7440 | inf_child_close. Store a pointer to the returned object. | |
7441 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
7442 | declarations. | |
7443 | * target.c (auto_connect_native_target): New global. | |
7444 | (show_default_run_target): New function. | |
7445 | (find_default_run_target): Return NULL if automatically connecting | |
7446 | to the native target is disabled. | |
7447 | (_initialize_target): Install set/show auto-connect-native-target. | |
7448 | * NEWS: Mention "set auto-connect-native-target", and "target | |
7449 | native". | |
7450 | * linux-nat.c (super_close): New global. | |
7451 | (linux_nat_close): Call super_close. | |
7452 | (linux_nat_add_target): Store a pointer to the base class's | |
7453 | to_close method. | |
7454 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
7455 | inf_child_maybe_unpush. | |
7456 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
7457 | already pushed. | |
7458 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
7459 | the inferior. Use inf_child_maybe_unpush_target. | |
7460 | (inf_ttrace_attach): Don't push the target if it is already | |
7461 | pushed. | |
7462 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
7463 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
7464 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
7465 | (darwin_attach_pid): Don't push the target if it is already | |
7466 | pushed. | |
7467 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
7468 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
7469 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
7470 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
7471 | is already pushed. | |
7472 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
7473 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
7474 | (procfs_open): Rename to ... | |
7475 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
7476 | comments. Can target_preopen before changing node. Call | |
7477 | inf_child_open_target to push the target explicitly. | |
7478 | (procfs_attach): Don't push the target if it is already pushed. | |
7479 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
7480 | (procfs_create_inferior): Don't push the target if it is already | |
7481 | pushed. | |
7482 | (nto_native_ops): New global. | |
7483 | (procfs_open): Reimplement. | |
7484 | (procfs_native_open): New function. | |
7485 | (init_procfs_targets): Install procfs_native_open as to_open of | |
7486 | "target native". Store a pointer to the "native" target in | |
7487 | nto_native_ops. | |
7488 | * procfs.c (procfs_attach): Don't push the target if it is already | |
7489 | pushed. | |
7490 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
7491 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
7492 | inferior. Use inf_child_maybe_unpush_target. | |
7493 | (procfs_init_inferior): Don't push the target if it is already | |
7494 | pushed. | |
7495 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
7496 | if it is already pushed. | |
7497 | ||
930ee1b1 PA |
7498 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7499 | ||
7500 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
7501 | and "procfs" targets are now called "native" instead. | |
7502 | ||
1f5d1b13 PA |
7503 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7504 | ||
7505 | * go32-nat.c (go32_open): Delete. | |
7506 | (go32_target): Don't override the to_open method. | |
7507 | ||
132f8e03 PA |
7508 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7509 | ||
7510 | * nto-procfs.c (procfs_can_run): New function. | |
7511 | (nto_procfs_ops): New global. | |
7512 | (init_procfs_targets): New, based on procfs_target. Install | |
7513 | "target native" in addition to "target procfs". | |
7514 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
7515 | the target here. | |
7516 | ||
03c136c3 PA |
7517 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7518 | ||
7519 | * windows-nat.c (windows_target): Don't override to_shortname, | |
7520 | to_longname or to_doc. | |
7521 | ||
a635d0f3 PA |
7522 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7523 | ||
7524 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
7525 | to_doc. | |
7526 | ||
4f9b5133 PA |
7527 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7528 | ||
7529 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
7530 | to_shortname, to_longname or to_doc. | |
7531 | ||
bc85afde PA |
7532 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7533 | ||
7534 | * go32-nat.c (go32_target): Don't override to_shortname, | |
7535 | to_longname or to_doc. | |
7536 | ||
4ebfc96e PA |
7537 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7538 | ||
7539 | * inf-child.c (inf_child_open): Remove mention of "child". | |
7540 | (inf_child_target): Rename target to "native" instead of "child". | |
7541 | ||
2648dfed AA |
7542 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7543 | ||
7544 | * Makefile.in (SFILES): Delete "regset.c". | |
7545 | (COMMON_OBS): Delete "regset.o". | |
7546 | * regset.c: Remove. | |
7547 | * regset.h (regset_alloc): Delete prototype. | |
7548 | ||
b13feb94 AA |
7549 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7550 | ||
7551 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
7552 | (sparc32_linux_fpregset): New static regset structures. | |
7553 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
7554 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
7555 | 'fpregset' fields. | |
7556 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
7557 | (sparc64_linux_fpregset): New static regset structures. | |
7558 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
7559 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
7560 | New static regset structures. | |
7561 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
7562 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
7563 | New static regset structures. | |
7564 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
7565 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
7566 | New static regset structures. | |
7567 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
7568 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
7569 | New static regset structures. | |
7570 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
7571 | ||
b4fd25c9 AA |
7572 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7573 | ||
7574 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
7575 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
7576 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
7577 | for all regmap types and variables. | |
7578 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
7579 | (sparc32_linux_supply_core_gregset) | |
7580 | (sparc32_linux_collect_core_gregset) | |
7581 | (sparc32_linux_supply_core_fpregset) | |
7582 | (sparc32_linux_collect_core_fpregset): Likewise. | |
7583 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
7584 | (sparc_gregmap, sparc_fpregmap): ... these. | |
7585 | (sparc_supply_gregset, sparc_collect_gregset) | |
7586 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
7587 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
7588 | (_initialize_sparc_nat): Rename regmaps. | |
7589 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
7590 | (sparc_gregmap, sparc_fpregmap): ... these. | |
7591 | (sparc_supply_gregset, sparc_collect_gregset) | |
7592 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
7593 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
7594 | Rename macros to... | |
7595 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
7596 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
7597 | Likewise. | |
7598 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
7599 | Rename to... | |
7600 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
7601 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
7602 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
7603 | regmaps. | |
7604 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
7605 | (sparc32_bsd_fpregset): Rename to... | |
7606 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
7607 | (sparc32_bsd_fpregmap): ... these. | |
7608 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
7609 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
7610 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
7611 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
7612 | (struct sparc_gregmap, struct sparc_fpregmap) | |
7613 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
7614 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
7615 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
7616 | (sparc32_supply_regset, sparc32_collect_gregset) | |
7617 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
7618 | prototypes. | |
7619 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
7620 | (sparc64_linux_ptrace_gregmap): ... this. | |
7621 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
7622 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
7623 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
7624 | (sparc64_linux_core_gregmap): ... this. | |
7625 | (sparc64_linux_supply_core_gregset) | |
7626 | (sparc64_linux_collect_core_gregset) | |
7627 | (sparc64_linux_supply_core_fpregset) | |
7628 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
7629 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
7630 | (sparc64_sol2_fpregset): Rename to... | |
7631 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
7632 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
7633 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
7634 | regmaps. | |
7635 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
7636 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
7637 | (sparc64_bsd_fpregset): Rename to... | |
7638 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
7639 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
7640 | (sparc64_bsd_fpregmap): ... these. | |
7641 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
7642 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
7643 | prototypes. | |
7644 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
7645 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
7646 | (sparc64fbsd_gregmap): ... this. | |
7647 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
7648 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
7649 | Rename regmaps. | |
7650 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
7651 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
7652 | (sparc64nbsd_collect_fpregset): Likewise. | |
7653 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
7654 | (sparc64nbsd_gregmap): ... this. | |
7655 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
7656 | regmaps. | |
7657 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
7658 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
7659 | (sparc64obsd_gregmap): ... this. | |
7660 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
7661 | regmaps. | |
7662 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
7663 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
7664 | (sparc32nbsd_gregmap): ... this. | |
7665 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
7666 | regmaps. | |
7667 | ||
8fea3224 AA |
7668 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7669 | ||
7670 | * score-tdep.c (score7_linux_gregset): New static regset | |
7671 | structure. | |
7672 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
7673 | allocation. | |
7674 | (score_gdbarch_init): Drop allocation of tdep structure. | |
7675 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
7676 | ||
24534243 AA |
7677 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7678 | ||
7679 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
7680 | regset structures. | |
7681 | (am33_regset_from_core_section): Remove dynamic regset | |
7682 | allocations. | |
7683 | ||
b7195f27 AA |
7684 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7685 | ||
7686 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
7687 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
7688 | structures. | |
7689 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
7690 | allocations. | |
7691 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
7692 | 'gregset64', 'fpregset', and 'fpregset64'. | |
7693 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
7694 | deleted tdep fields. | |
7695 | ||
ecc37a5a AA |
7696 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7697 | ||
7698 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
7699 | regset structures. | |
7700 | (amd64_regset_from_core_section): Remove dynamic regset | |
7701 | allocations. | |
7702 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
7703 | structure. | |
7704 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
7705 | allocation. | |
7706 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
7707 | Likewise. | |
7708 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
7709 | x86-common regset supply function. | |
7710 | * i386-tdep.c (i386_collect_gregset): Make static. | |
7711 | (i386_gregset): New global regset structure. | |
7712 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
7713 | (i386_regset_from_core_section): Remove dynamic regset | |
7714 | allocations. | |
7715 | (i386_gdbarch_init): Remove initialization of tdep fields | |
7716 | 'gregset', 'fpregset', and 'xstateregset'. | |
7717 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
7718 | 'fpregset', and 'xstateregset'. | |
7719 | (i386_collect_gregset): Remove prototype. | |
7720 | (i386_gregset): New declaration. | |
7721 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
7722 | structure. | |
7723 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
7724 | allocation. | |
7725 | ||
b7611c43 AA |
7726 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7727 | ||
7728 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
7729 | (arm_linux_vfpregset): New static regset structures. | |
7730 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
7731 | regset structures. | |
7732 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
7733 | and 'vfpregset' fields. | |
7734 | ||
a069a2bd AA |
7735 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7736 | ||
7737 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
7738 | (aarch64_linux_fpregset): New static regset structures. | |
7739 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
7740 | of regset structures. | |
7741 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
7742 | 'fpregset' fields. | |
7743 | ||
09424cff AA |
7744 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7745 | ||
7746 | * regset.h (struct regset): Remove gdbarch field. | |
7747 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
7748 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
7749 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
7750 | Likewise. | |
7751 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
7752 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
7753 | (ppc32_linux_vsxregset): Likewise. | |
7754 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
7755 | via the regcache instead of the regset. | |
7756 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
7757 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
7758 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
7759 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
7760 | Likewise. | |
7761 | ||
3ca7dae4 AA |
7762 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
7763 | ||
7764 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
7765 | Constify structures. | |
7766 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
7767 | (alphanbsd_aout_gregset): Likewise. | |
7768 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
7769 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
7770 | Likewise. | |
7771 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
7772 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
7773 | Likewise. | |
7774 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
7775 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
7776 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
7777 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
7778 | * m88k-tdep.c (m88k_gregset): Likewise. | |
7779 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
7780 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
7781 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
7782 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
7783 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
7784 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
7785 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
7786 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
7787 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
7788 | Likewise. | |
7789 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
7790 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
7791 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
7792 | * vax-tdep.c (vax_gregset): Likewise. | |
7793 | ||
5876f503 JK |
7794 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
7795 | ||
7796 | Fix TLS access for -static -pthread. | |
7797 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
7798 | (try_thread_db_load_1): Initialize it. | |
7799 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
7800 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
7801 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
7802 | load_module_addr comment. | |
7803 | ||
0256a6ac PA |
7804 | 2014-05-21 Pedro Alves <palves@redhat.com> |
7805 | ||
7806 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
7807 | fails, fallback to reading just the memory the caller wanted. | |
7808 | ||
227533ac DE |
7809 | 2014-05-20 Doug Evans <dje@google.com> |
7810 | ||
7811 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
7812 | instead of get_current_arch. | |
7813 | ||
936d2992 PA |
7814 | 2014-05-20 Pedro Alves <palves@redhat.com> |
7815 | ||
7816 | * NEWS: Mention that compare-sections now works with all targets. | |
7817 | ||
7818 | * remote.c (PACKET_qCRC): New enum value. | |
7819 | (remote_verify_memory): Don't send qCRC if the target has no | |
7820 | execution. Use packet_support/packet_ok. If the target doesn't | |
7821 | support the qCRC packet, fallback to a deep memory copy. | |
7822 | (compare_sections_command): Say "target image" instead of "remote | |
7823 | executable". | |
7824 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
7825 | packets that have no associated command. Extend comment. | |
7826 | * target.c (simple_verify_memory, default_verify_memory): New | |
7827 | function. | |
7828 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
7829 | default_verify_memory. | |
7830 | (simple_verify_memory): New declaration. | |
7831 | * target-delegates.c: Regenerate. | |
7832 | ||
e59fa00f MM |
7833 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
7834 | ||
7835 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
7836 | ||
f2205de0 HZ |
7837 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
7838 | Yao Qi <yao@codesourcery.com> | |
7839 | ||
7840 | PR backtrace/16558 | |
7841 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
7842 | and change address of sp and pc. | |
7843 | ||
c4e54771 TT |
7844 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
7845 | ||
7846 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
7847 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
7848 | ||
73051182 DE |
7849 | 2014-05-19 Doug Evans <dje@google.com> |
7850 | ||
7851 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
7852 | build_type_unit_groups and moved closer to only caller. Remove | |
7853 | arguments. All references updated. Remove outdated .gdb_index | |
7854 | comment. | |
7855 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
7856 | build_type_psymtabs_1. | |
7857 | ||
8832e7e3 DE |
7858 | 2014-05-19 Doug Evans <dje@google.com> |
7859 | ||
7860 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
7861 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
7862 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
7863 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
7864 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
7865 | (add_type_unit_group_to_table): Delete. | |
7866 | ||
cd8ae15e DE |
7867 | 2014-05-19 Doug Evans <dje@google.com> |
7868 | ||
7869 | * eval.c (evaluate_subexp_standard): Add some comments. | |
7870 | ||
08f4850b DE |
7871 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
7872 | ||
7873 | * progspace.c (remove_program_space): Delete, unused. | |
7874 | * progspace.h (remove_program_space): Ditto. | |
7875 | ||
bed8455c DE |
7876 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
7877 | ||
7878 | * inferior.c (prune_inferiors): Fix comment. | |
7879 | (remove_inferior_command): Call prune_program_spaces. | |
7880 | ||
8d551b02 DE |
7881 | 2014-05-16 Doug Evans <dje@google.com> |
7882 | ||
7883 | New command line option -D. | |
7884 | * NEWS: Mention it. | |
7885 | * main.c (set_gdb_data_directory): New function. | |
7886 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
7887 | Call set_gdb_data_directory. | |
7888 | (print_gdb_help): Print --data-directory, -D. | |
7889 | * main.h (set_gdb_data_directory): Declare. | |
7890 | * top.c (staged_gdb_datadir): New static global. | |
7891 | (set_gdb_datadir): Call set_gdb_data_directory | |
7892 | (show_gdb_datadir): New function. | |
7893 | (init_main): Update init of data-directory parameter. | |
7894 | ||
18848e28 GF |
7895 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
7896 | ||
7897 | Import the "dirfd" gnulib module. | |
7898 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
7899 | * gnulib/aclocal.m4: Update. | |
7900 | * gnulib/config.in: Update. | |
7901 | * gnulib/configure: Update. | |
7902 | * gnulib/import/Makefile.am: Update. | |
7903 | * gnulib/import/Makefile.in: Update. | |
7904 | * gnulib/import/dirfd.c: New. | |
7905 | * gnulib/import/m4/dirfd.m4: New. | |
7906 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
7907 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
7908 | ||
95c64f92 YQ |
7909 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
7910 | Yao Qi <yao@codesourcery.com> | |
7911 | ||
7912 | * valprint.c (print_wchar): Move the code on checking whether | |
7913 | W is a printable wide char to the default branch of switch | |
7914 | statement below. Call wchar_printable instead of gdb_iswprint. | |
7915 | ||
cac395ea TM |
7916 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
7917 | ||
19679eca | 7918 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
7919 | ldr.w and ldrd instructions. |
7920 | ||
83655187 DE |
7921 | 2014-05-15 Doug Evans <dje@google.com> |
7922 | ||
7923 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
7924 | ||
dd756689 TT |
7925 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
7926 | ||
7927 | * macrocmd.c (print_macro_definition): Reindent. | |
7928 | ||
75ddda77 DE |
7929 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
7930 | ||
7931 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
7932 | (completers): Make const. | |
7933 | ||
b0f16a3e SM |
7934 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
7935 | ||
7936 | * infrun.c (resume): Remove should_resume (unused). Move up | |
7937 | declaration of resume_ptid. | |
7938 | ||
033c3379 TT |
7939 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
7940 | ||
7941 | * language.h (unop_type_check): Remove. | |
7942 | (binop_type_check): Don't declare. | |
7943 | ||
9b44a3a5 AA |
7944 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
7945 | ||
7946 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
7947 | call to regcache_raw_collect. | |
7948 | ||
303a33fa SM |
7949 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
7950 | ||
7951 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
7952 | mi_console->quote as the quoting character. | |
7953 | ||
196100a0 SM |
7954 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
7955 | ||
7956 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
7957 | ||
f989a1c8 TT |
7958 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
7959 | ||
7960 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
7961 | "show debug varobj". | |
7962 | ||
9404b58f KM |
7963 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
7964 | ||
7965 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
7966 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
7967 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
7968 | with aarch64_software_single_step. | |
7969 | ||
5e49ba57 JB |
7970 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
7971 | ||
7972 | GDB 7.7.1 released. | |
7973 | ||
c888a17d KS |
7974 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
7975 | ||
7976 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
7977 | variable or history value is successfully parsed. | |
7978 | ||
290a839c YQ |
7979 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
7980 | Pedro Alves <palves@redhat.com> | |
7981 | ||
7982 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
7983 | address of blocks that intersects the requested range. Trim | |
7984 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
7985 | sections. | |
7986 | * ctf.c (ctf_xfer_partial): Likewise. | |
7987 | ||
91256dc2 YQ |
7988 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
7989 | ||
7990 | * printcmd.c (display_command): Remove the check to | |
7991 | target_has_execution. | |
7992 | ||
07284463 MK |
7993 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
7994 | ||
7995 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
7996 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
7997 | add_target. | |
7998 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
7999 | ||
30a1e6cc SDJ |
8000 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8001 | ||
8002 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
8003 | and 16-bit signed and unsigned arguments. Update comment. | |
8004 | (stap_parse_probe_arguments): Extend code to handle such | |
8005 | arguments. Use warning instead of complaint to notify about | |
8006 | unrecognized bitness. | |
8007 | ||
f33da99a SDJ |
8008 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8009 | ||
8010 | PR breakpoints/16889 | |
8011 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
8012 | check for non-prefixed probes (i.e., probes whose | |
8013 | arguments do not start with "N@"). Always set the | |
8014 | argument type to a sane value. | |
8015 | ||
95cf3b38 DT |
8016 | 2014-05-01 David Taylor <dtaylor@emc.com> |
8017 | ||
8018 | * remote.c (compare_sections_command): Add -r option to compare | |
8019 | all loadable read-only sections. | |
8020 | ||
1cfdf534 SC |
8021 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
8022 | ||
8023 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
8024 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
8025 | Update all callers. | |
8026 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
8027 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
8028 | Remove unused CORE_ADDR argument. Update all callers. | |
8029 | ||
ca4f7f8b PA |
8030 | 2014-04-29 Pedro Alves <palves@redhat.com> |
8031 | ||
8032 | * remote.c (struct packet_config) <detect>: Extend comment. | |
8033 | (add_packet_config_cmd): Don't set the config's detect or support | |
8034 | fields here. | |
8035 | (init_all_packet_configs): Also initialize the config's 'detect' | |
8036 | field. | |
8037 | (reset_all_packet_configs_support): New function. | |
8038 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
8039 | init_all_packet_configs. | |
8040 | (_initialize_remote): Initialize all packet configs. Assert that | |
8041 | all packets have an associated command, except a few known | |
8042 | outliers. | |
8043 | ||
11c1ba78 JB |
8044 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8045 | ||
8046 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
8047 | DW_AT_lower_bound attributes. | |
8048 | ||
8739bc53 JB |
8049 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8050 | ||
8051 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
8052 | dynamic bounds before computing its upper bound. | |
8053 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
8054 | ||
6f8a3220 JB |
8055 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8056 | ||
8057 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
8058 | range types. Adjust the array handling implementation to | |
8059 | take advantage of this change. | |
8060 | (resolve_dynamic_range): New function, mostly extracted from | |
8061 | resolve_dynamic_bounds. | |
8062 | (resolve_dynamic_array): New function, mostly extracted from | |
8063 | resolve_dynamic_bounds. | |
8064 | (resolve_dynamic_bounds): Delete. | |
8065 | (resolve_dynamic_type): Reimplement. Add handling of | |
8066 | TYPE_CODE_RANGE types. | |
8067 | ||
4d072ce4 JB |
8068 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8069 | ||
8070 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
8071 | handling of parallel ___XA types. | |
8072 | ||
52865325 JB |
8073 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8074 | ||
8075 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
8076 | unnecessary second call to static_unwrap_type. | |
8077 | ||
433e77fa HZ |
8078 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
8079 | ||
8080 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
8081 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
8082 | ||
b51a69ee DE |
8083 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
8084 | ||
8085 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
8086 | ||
7ae1a6a6 PA |
8087 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8088 | ||
8089 | PR server/16255 | |
8090 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
8091 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
8092 | and newline from built string. | |
8093 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
8094 | (linux_ptrace_attach_fail_reason): ... this. | |
8095 | * linux-nat.c (linux_nat_attach): Adjust to use | |
8096 | linux_ptrace_attach_fail_reason. | |
8097 | ||
4082afcc PA |
8098 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8099 | ||
8100 | * remote.c (struct remote_state): Remove multi_process_aware, | |
8101 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
8102 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
8103 | install_in_trace, disconnected_tracing, | |
8104 | enable_disable_tracepoints, string_tracing, and | |
8105 | augmented_libraries_svr4_read fields. | |
8106 | (remote_multi_process_p): Move further below in the file. | |
8107 | (struct packet_config): Add comments. | |
8108 | (update_packet_config): Delete function. | |
8109 | (show_packet_config_cmd): Use packet_config_support. | |
8110 | (add_packet_config_cmd): Use NULL as set callback. | |
8111 | (packet_ok): "set remote foo-packet"-style commands no longer | |
8112 | change config->supported -- adjust. | |
8113 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
8114 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
8115 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
8116 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
8117 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
8118 | (PACKET_DisconnectedTracing_feature) | |
8119 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
8120 | (set_remote_protocol_packet_cmd): Delete function. | |
8121 | (packet_config_support, packet_support): New functions. | |
8122 | (set_remote_protocol_Z_packet_cmd): Don't call | |
8123 | update_packet_config. | |
8124 | (remote_query_attached, remote_pass_signals) | |
8125 | (remote_program_signals, remote_threads_info) | |
8126 | (remote_threads_extra_info, remote_start_remote): Use | |
8127 | packet_support. | |
8128 | (remote_start_remote): Use packet_config_support and | |
8129 | packet_support. | |
8130 | (init_all_packet_configs): Set all packets to unknown support, | |
8131 | instead of calling update_packet_config. | |
8132 | (remote_check_symbols): Use packet_support. | |
8133 | (remote_supported_packet): Unconditionally set the packet config's | |
8134 | support status. | |
8135 | (remote_multi_process_feature, remote_non_stop_feature) | |
8136 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
8137 | (remote_breakpoint_commands_feature) | |
8138 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
8139 | (remote_install_in_trace_feature) | |
8140 | (remote_disconnected_tracing_feature) | |
8141 | (remote_enable_disable_tracepoint_feature) | |
8142 | (remote_string_tracing_feature) | |
8143 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
8144 | (remote_protocol_features): Adjust to use remote_supported_packet | |
8145 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
8146 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
8147 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
8148 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
8149 | "EnableDisableTracepoints", and "tracenz". | |
8150 | (remote_query_supported): Use packet_support. | |
8151 | (remote_open_1): Adjust. | |
8152 | (extended_remote_attach_1): Use packet_support. Switch on the | |
8153 | result of packet_ok instead of checking whether the packet ended | |
8154 | up disabled. | |
8155 | (remote_vcont_resume): Use packet_support. | |
8156 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
8157 | (remote_prepare_to_store, store_register_using_P) | |
8158 | (check_binary_download, remote_write_bytes): Use packet_support. | |
8159 | (remote_vkill): Use packet_support. Switch on the result of | |
8160 | packet_ok instead of checking whether the packet ended up | |
8161 | disabled. | |
8162 | (extended_remote_supports_disable_randomization): Use | |
8163 | packet_support. | |
8164 | (extended_remote_run): Switch on the result of packet_ok instead | |
8165 | of checking whether the packet ended up disabled. | |
8166 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
8167 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
8168 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
8169 | packet_support. | |
8170 | (remote_search_memory): Use packet_config_support. | |
8171 | (remote_get_thread_local_address, remote_get_tib_address) | |
8172 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
8173 | packet_support. | |
8174 | (remote_supports_cond_tracepoints) | |
8175 | (remote_supports_cond_breakpoints) | |
8176 | (remote_supports_fast_tracepoints) | |
8177 | (remote_supports_static_tracepoints) | |
8178 | (remote_supports_install_in_trace) | |
8179 | (remote_supports_enable_disable_tracepoint) | |
8180 | (remote_supports_string_tracing) | |
8181 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
8182 | the packet config says the feature is enabled or disabled. | |
8183 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
8184 | (remote_get_trace_status): Use packet_support. | |
8185 | (remote_set_disconnected_tracing): Adjust to check whether the | |
8186 | feature is enabled with packet_support. | |
8187 | (remote_set_trace_buffer_size, remote_use_agent) | |
8188 | (remote_can_use_agent, remote_supports_btrace): Use | |
8189 | packet_support. | |
8190 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
8191 | Use packet_config_support. | |
8192 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
8193 | the packet config says the feature is enabled or disabled. | |
8194 | (set_range_stepping): Use packet_support. | |
8195 | ||
bdb52a22 TT |
8196 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
8197 | ||
8198 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
8199 | argument. | |
8200 | ||
e9475ead SA |
8201 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
8202 | ||
8203 | * NEWS: Mention support for C99 variable length arrays. | |
8204 | ||
82eacd52 JB |
8205 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
8206 | ||
8207 | * ada-lang.c (standard_exc): Expand introductory comment. | |
8208 | ||
01f9f808 MS |
8209 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
8210 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
8211 | ||
8212 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
8213 | AVX512 registers. | |
8214 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
8215 | mask and return respective tdesc. | |
8216 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
8217 | and features/i386/x32-avx512-linux.c. | |
8218 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
8219 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
8220 | xstate mask and return respective tdesc. | |
8221 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
8222 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
8223 | calculation. | |
8224 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
8225 | (tdesc_amd64_avx512_linux): New prototype. | |
8226 | (tdesc_x32_avx512_linux): Likewise. | |
8227 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
8228 | features/i386/x32-avx512.c. | |
8229 | (amd64_ymm_avx512_names): New register names for pseudo | |
8230 | registers YMM16-31. | |
8231 | (amd64_ymmh_avx512_names): New register names for raw registers | |
8232 | YMMH16-31. | |
8233 | (amd64_k_names): New register names for K registers. | |
8234 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
8235 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
8236 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
8237 | registers. | |
8238 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
8239 | registers. | |
8240 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
8241 | if feature is present. | |
8242 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
8243 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
8244 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
8245 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
8246 | registers supplied via XSTATE by AVX512 registers. | |
8247 | (i386_linux_read_description): Add case for AVX512. | |
8248 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
8249 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
8250 | (i386_linux_core_read_description): Add case for AVX512. | |
8251 | (i386_linux_init_abi): Install supported register note section | |
8252 | for AVX512. | |
8253 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
8254 | AVX512. | |
8255 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
8256 | registers to be number of zmm7h + 1. | |
8257 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
8258 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
8259 | (i386_zmm_names): Add ZMM pseudo register names array. | |
8260 | (i386_zmmh_names): Add ZMM raw register names array. | |
8261 | (i386_k_names): Add K raw register names array. | |
8262 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
8263 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
8264 | registers. | |
8265 | (i386_zmmh_regnum_p): Add function to look up register number of | |
8266 | ZMM raw registers. | |
8267 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
8268 | (i386_k_regnum_p): Likewise for K raw registers. | |
8269 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
8270 | registers added by AVX512. | |
8271 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
8272 | registers added by AVX512. | |
8273 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
8274 | added by AVX512. | |
8275 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
8276 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
8277 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
8278 | registers. | |
8279 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
8280 | ZMM0-31 pseudo registers and K registers. | |
8281 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
8282 | and YMM16-31 registers from register cache. | |
8283 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
8284 | YMM16-31 registers. | |
8285 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
8286 | registers in/from respective register groups. | |
8287 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
8288 | registers if feature is present in xcr0. | |
8289 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
8290 | variables in tdep structure, wire in pseudo registers and call | |
8291 | initialize_tdesc_i386_avx512. | |
8292 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
8293 | variables. | |
8294 | (i386_regnum): Add AVX512 registers. | |
8295 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
8296 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
8297 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
8298 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
8299 | 512 bits wide. | |
8300 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
8301 | (i386_ymm_avx512_regnum_p): Likewise. | |
8302 | (i386_k_regnum_p): Likewise. | |
8303 | (i386_zmm_regnum_p): Likewise. | |
8304 | (i386_zmmh_regnum_p): Likewise. | |
8305 | * i387-tdep.c : Update year in copyright notice. | |
8306 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
8307 | XSAVE buffer. | |
8308 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
8309 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
8310 | XSAVE buffer. | |
8311 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
8312 | (xsave_avx512_k_offset): New table for K register offsets in | |
8313 | XSAVE buffer. | |
8314 | (XSAVE_AVX512_K_ADDR): New macro. | |
8315 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
8316 | in XSAVE buffer. | |
8317 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
8318 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
8319 | buffer. | |
8320 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
8321 | XSAVE buffer. | |
8322 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
8323 | of XMM16-31 registers. | |
8324 | (I387_NUM_K_REGS): New define for number of K registers. | |
8325 | (I387_K0_REGNUM): New define for K0 register number. | |
8326 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
8327 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
8328 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
8329 | registers. | |
8330 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
8331 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
8332 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
8333 | (I387_KEND_REGNUM): New define for last K register number. | |
8334 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
8335 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
8336 | number. | |
8337 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
8338 | number. | |
8339 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
8340 | size. | |
8341 | * features/Makefile: Add AVX512 related files. | |
8342 | * features/i386/32bit-avx512.xml: New file. | |
8343 | * features/i386/64bit-avx512.xml: Likewise. | |
8344 | * features/i386/amd64-avx512-linux.c: Likewise. | |
8345 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
8346 | * features/i386/amd64-avx512.c: Likewise. | |
8347 | * features/i386/amd64-avx512.xml: Likewise. | |
8348 | * features/i386/i386-avx512-linux.c: Likewise. | |
8349 | * features/i386/i386-avx512-linux.xml: Likewise. | |
8350 | * features/i386/i386-avx512.c: Likewise. | |
8351 | * features/i386/i386-avx512.xml: Likewise. | |
8352 | * features/i386/x32-avx512-linux.c: Likewise. | |
8353 | * features/i386/x32-avx512-linux.xml: Likewise. | |
8354 | * features/i386/x32-avx512.c: Likewise. | |
8355 | * features/i386/x32-avx512.xml: Likewise. | |
8356 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
8357 | * regformats/i386/amd64-avx512.dat: Likewise. | |
8358 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
8359 | * regformats/i386/i386-avx512.dat: Likewise. | |
8360 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
8361 | * regformats/i386/x32-avx512.dat: Likewise. | |
8362 | * NEWS: Add note about new support for AVX512. | |
8363 | ||
8364 | ||
08351840 PA |
8365 | 2014-04-23 Pedro Alves <palves@redhat.com> |
8366 | ||
8367 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
8368 | breakpoint is set in a user-loaded objfile. | |
8369 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
8370 | location is marked shlib_disabled. If the breakpoint is set in a | |
8371 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
8372 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
8373 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
8374 | flag. | |
8375 | * mem-break.c (memory_validate_breakpoint): New function. | |
8376 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
8377 | function. | |
8378 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
8379 | * target.h (memory_validate_breakpoint): New declaration. | |
8380 | ||
076855f9 PA |
8381 | 2014-04-23 Pedro Alves <palves@redhat.com> |
8382 | ||
8383 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
8384 | the breakpoint is set in a shared library, only suppress | |
8385 | errors for software breakpoints, not hardware breakpoints. | |
8386 | ||
483805cf PA |
8387 | 2014-04-22 Pedro Alves <palves@redhat.com> |
8388 | ||
8389 | * infrun.c (schedlock_applies): New function, factored out from | |
8390 | find_thread_needs_step_over. | |
8391 | (find_thread_needs_step_over): Use it. | |
8392 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
8393 | step over is finished. Return early if scheduler locking applies. | |
8394 | Look for the stepping thread and a potential step-over thread with | |
8395 | a single loop. | |
8396 | (currently_stepping_or_nexting_callback): Delete. | |
8397 | ||
a75fef0e NC |
8398 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
8399 | ||
8400 | * NEWS: Mention that ARM sim now supports tracing. | |
8401 | ||
48b6e87e YQ |
8402 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
8403 | ||
8404 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
8405 | to ... | |
8406 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
8407 | function. | |
8408 | * tracefile.h (tracefile_fetch_registers): Declare. | |
8409 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
8410 | tracefile_fetch_registers. | |
8411 | ||
17617f2d EZ |
8412 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
8413 | ||
8414 | PR gdb/14018 | |
8415 | * windows-nat.c (thread_rec): Don't display a warning when | |
8416 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
8417 | fails for any reason, set th->suspended to -1, so that we don't | |
8418 | try to resume such a thread. Also, don't return NULL in these | |
8419 | cases, to avoid completely ruin the session due to "PC register is | |
8420 | not available" error. | |
8421 | (do_windows_fetch_inferior_registers): Check errors in | |
8422 | GetThreadContext call. | |
8423 | (windows_continue): Accept an additional argument KILLED; if not | |
8424 | zero, ignore errors in the SetThreadContext call, since the | |
8425 | inferior was killed and is shutting down. | |
8426 | (windows_resume, get_windows_debug_event) | |
8427 | (windows_create_inferior, windows_mourn_inferior) | |
8428 | (windows_kill_inferior): All callers of windows_continue changed | |
8429 | to adjust to its new calling sequence. | |
8430 | ||
5723a6fd YQ |
8431 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
8432 | ||
8433 | * ctf.c (ctf_open): Call post_create_inferior. | |
8434 | ||
614d5099 YQ |
8435 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
8436 | ||
8437 | * ctf.c (handle_id): New static variable. | |
8438 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
8439 | value. Get the declaration of event "register" and get length | |
8440 | of field "contents". | |
8441 | ||
dac3e710 YQ |
8442 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
8443 | ||
8444 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
8445 | ||
2bca57ba SC |
8446 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
8447 | ||
8448 | * valops.c (oload_method_static): Remove unnecessary argument | |
8449 | METHOD. Update all callers. | |
8450 | ||
51d48146 PA |
8451 | 2014-04-18 Pedro alves <palves@redhat.com> |
8452 | Tom Tromey <tromey@redhat.com> | |
8453 | ||
8454 | PR backtrace/15558 | |
8455 | * frame.c (get_prev_frame_1): Rename to ... | |
8456 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
8457 | (skip_artificial_frames): Use get_prev_frame_always. | |
8458 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
8459 | (get_frame_unwind_stop_reason): Adjust to rename. | |
8460 | * frame.h (get_prev_frame_always): Declare. | |
8461 | * inline-frame.c: Include frame.h. | |
8462 | (inline_frame_this_id): Use get_prev_frame_always. | |
8463 | ||
1bdad2e0 TG |
8464 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
8465 | ||
8466 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
8467 | code by using bfd_mach_o_get_base_address. | |
8468 | ||
7ce16bd4 UW |
8469 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
8470 | ||
8471 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
8472 | (spu_ax_pseudo_register_collect): New function. | |
8473 | (spu_ax_pseudo_register_push_stack): Likewise. | |
8474 | (spu_dwarf_reg_to_regnum): Likewise. | |
8475 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
8476 | ||
2ed3c037 UW |
8477 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
8478 | ||
8479 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
8480 | Replace FRAME argument with FRAME_ID. | |
8481 | * gdbarch.c, gdbarch.h: Regenerate. | |
8482 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
8483 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
8484 | (value_from_register): Update call to gdbarch_value_from_register. | |
8485 | * value.h (default_value_from_register): Update prototype. | |
8486 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
8487 | and call to default_value_from_register. | |
8488 | * spu-tdep.c (spu_value_from_register): Likewise. | |
8489 | ||
8490 | * findvar.c (address_from_register): Remove TYPE argument. | |
8491 | Do not call value_from_register; use gdbarch_value_from_register | |
8492 | with null_frame_id instead. | |
8493 | * value.h (address_from_register): Update prototype. | |
8494 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
8495 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
8496 | address_from_register interface change. | |
8497 | ||
71e50e83 YQ |
8498 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
8499 | ||
8500 | * gdbtypes.h: Update comments to link to types and macros' | |
8501 | definitions. | |
8502 | ||
7a23c549 SC |
8503 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
8504 | ||
8505 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
8506 | ||
22869d73 KS |
8507 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
8508 | ||
8509 | PR gdb/15827 | |
8510 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
8511 | sibling DIEs fall within range of the current reader's buffer. | |
8512 | (read_partial_die): Likewise. | |
8513 | ||
c4f87ca6 KS |
8514 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
8515 | ||
8516 | PR c++/16597 | |
8517 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
8518 | `this' is NULL, return immediately. | |
8519 | ||
b50c8614 KS |
8520 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
8521 | ||
8522 | PR c++/16253 | |
8523 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
8524 | from symbol_matches_domain in symtab.c. All local callers | |
8525 | of symbol_matches_domain updated. | |
8526 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
8527 | search STRUCT_DOMAIN. | |
8528 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
8529 | independently. standard_lookup will do that automatically. | |
8530 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
8531 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
8532 | (cp_lookup_symbol_in_namespace): Likewise. | |
8533 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
8534 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
8535 | may return a STRUCT_DOMAIN match. | |
8536 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
8537 | * cp-support.c: Include language.h. | |
8538 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
8539 | VAR_DOMAIN. | |
8540 | * psymtab.c (match_partial_symbol): Compare the requested | |
8541 | domain with the symbol's domain directly. | |
8542 | (lookup_partial_symbol): Likewise. | |
8543 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
8544 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
8545 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
8546 | appropriate languages. | |
8547 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
8548 | and moved to ada-lang.c | |
8549 | (lookup_block_symbol): Explain that this function only returns | |
8550 | symbol matching the requested DOMAIN. | |
8551 | Compare the requested domain with the symbol's domain directly. | |
8552 | (iterate_over_symbols): Compare the requested domain with the | |
8553 | symbol's domain directly. | |
8554 | * symtab.h (symbol_matches_domain): Remove. | |
8555 | ||
3d567982 TT |
8556 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
8557 | ||
8558 | PR c++/15246: | |
8559 | * c-exp.y (type_aggregate_p): New function. | |
8560 | (qualified_name, classify_inner_name): Use it. | |
8561 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
8562 | and TYPE_TARGET_TYPE of an enum type. | |
8563 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
8564 | an enum type. | |
8565 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
8566 | handle TYPE_DECLARED_CLASS. | |
8567 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
8568 | types. | |
8569 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
8570 | * valops.c (enum_constant_from_type): New function. | |
8571 | (value_aggregate_elt): Use it. | |
8572 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
8573 | TYPE_CODE_ENUM. | |
8574 | ||
c848d642 TT |
8575 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
8576 | ||
8577 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
8578 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
8579 | const. | |
8580 | * value.h (value_aggregate_elt): Update. | |
8581 | ||
0626fc76 TT |
8582 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
8583 | ||
8584 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
8585 | ||
5ecaaa66 SA |
8586 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8587 | ||
8588 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
8589 | (evaluate_subexp_standard): Pass noside argument. | |
8590 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
8591 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
8592 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
8593 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
8594 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
8595 | ||
1612e0c0 SA |
8596 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8597 | ||
8598 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
8599 | points to a constant blob. | |
8600 | ||
c451ebe5 SA |
8601 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8602 | ||
8603 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
8604 | property and store it as the high bound and flag the range accordingly. | |
8605 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
8606 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
8607 | * gdbtypes.h (enum range_flags): New enum. | |
8608 | (struct range_bounds): Add flags member. | |
8609 | ||
1d42e4c4 SA |
8610 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8611 | ||
8612 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
8613 | check for not yet resolved high bound. If unresolved, print | |
8614 | "variable length" string to the console instead of random | |
8615 | length. | |
8616 | ||
9f1f738a SA |
8617 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8618 | ||
8619 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
8620 | value. | |
8621 | (ada_template_to_fixed_record_type_1): Likewise. | |
8622 | (ada_to_fixed_type_1): Likewise. | |
8623 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
8624 | (cp_print_value): Likewise. | |
8625 | * d-valprint.c (dynamic_array_type): Likewise. | |
8626 | * findvar.c (address_of_variable): Likewise. | |
8627 | * jv-valprint.c (java_value_print): Likewise. | |
8628 | * valops.c (value_ind): Likewise. | |
8629 | * value.c (coerce_ref): Likewise. | |
8630 | ||
3c8452d4 SA |
8631 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8632 | ||
8633 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
8634 | value and retrieve the dynamic type size. | |
8635 | ||
4ad88275 SA |
8636 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8637 | ||
8638 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
8639 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
8640 | ||
80180f79 SA |
8641 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
8642 | Joel Brobecker <brobecker@adacore.com> | |
8643 | ||
8644 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
8645 | (dwarf2_evaluate_property): New function. | |
8646 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
8647 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
8648 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
8649 | attribute. | |
8650 | * gdbtypes.c: Include dwarf2loc.h. | |
8651 | (is_dynamic_type): New function. | |
8652 | (resolve_dynamic_type): New function. | |
8653 | (resolve_dynamic_bounds): New function. | |
8654 | (get_type_length): New function. | |
8655 | (check_typedef): Use get_type_length to compute type length. | |
8656 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
8657 | (TYPE_LOW_BOUND_KIND): New macro. | |
8658 | (is_dynamic_type): New function prototype. | |
8659 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
8660 | to resolve dynamic properties of the type. Update comment. | |
8661 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
8662 | ||
a1556843 RH |
8663 | 2014-04-14 Richard Henderson <rth@redhat.com> |
8664 | ||
8665 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
8666 | ||
0be03e84 DE |
8667 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
8668 | Doug Evans <xdje42@gmail.com> | |
8669 | ||
8670 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
8671 | dereference TYPE_CODE_REF values. | |
8672 | ||
6b662e19 JB |
8673 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
8674 | ||
8675 | Revert the following changes due to regressions: | |
8676 | ||
8677 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
8678 | (dwarf2_evaluate_property): New function. | |
8679 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
8680 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
8681 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
8682 | attribute. | |
8683 | * gdbtypes.c: Include dwarf2loc.h. | |
8684 | (is_dynamic_type): New function. | |
8685 | (resolve_dynamic_type): New function. | |
8686 | (resolve_dynamic_bounds): New function. | |
8687 | (get_type_length): New function. | |
8688 | (check_typedef): Use get_type_length to compute type length. | |
8689 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
8690 | (TYPE_LOW_BOUND_KIND): New macro. | |
8691 | (is_dynamic_type): New function prototype. | |
8692 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
8693 | to resolve dynamic properties of the type. Update comment. | |
8694 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
8695 | ||
8696 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
8697 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
8698 | ||
8699 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
8700 | value and retrieve the dynamic type size. | |
8701 | ||
8702 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
8703 | (ada_template_to_fixed_record_type_1): Likewise. | |
8704 | (ada_to_fixed_type_1): Likewise. | |
8705 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
8706 | (cp_print_value): Likewise. | |
8707 | * d-valprint.c (dynamic_array_type): Likewise. | |
8708 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
8709 | * findvar.c (address_of_variable): Likewise. | |
8710 | * jv-valprint.c (java_value_print): Likewise. | |
8711 | * valops.c (value_ind): Likewise. | |
8712 | * value.c (coerce_ref): Likewise. | |
8713 | ||
8714 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
8715 | check for not yet resolved high bound. If unresolved, print | |
8716 | "variable length" string to the console instead of random | |
8717 | length. | |
8718 | ||
8719 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
8720 | property and store it as the high bound and flag the range accordingly. | |
8721 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
8722 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
8723 | * gdbtypes.h (enum range_flags): New enum. | |
8724 | (struct range_bounds): Add flags member. | |
8725 | ||
8726 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
8727 | points to a constant blob. | |
8728 | ||
8729 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
8730 | (evaluate_subexp_standard): Pass noside argument. | |
8731 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
8732 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
8733 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
8734 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
8735 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
8736 | ||
245a5f0b KS |
8737 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
8738 | ||
8739 | PR c++/16675 | |
8740 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
8741 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
8742 | reference types. | |
8743 | ||
3bce8237 SA |
8744 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8745 | ||
8746 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
8747 | (evaluate_subexp_standard): Pass noside argument. | |
8748 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
8749 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
8750 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
8751 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
8752 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
8753 | ||
92b09522 SA |
8754 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8755 | ||
8756 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
8757 | points to a constant blob. | |
8758 | ||
e1969afb SA |
8759 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8760 | ||
8761 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
8762 | property and store it as the high bound and flag the range accordingly. | |
8763 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
8764 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
8765 | * gdbtypes.h (enum range_flags): New enum. | |
8766 | (struct range_bounds): Add flags member. | |
8767 | ||
b86138fb SA |
8768 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8769 | ||
8770 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
8771 | check for not yet resolved high bound. If unresolved, print | |
8772 | "variable length" string to the console instead of random | |
8773 | length. | |
8774 | ||
bcd629a4 SA |
8775 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8776 | ||
8777 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
8778 | (ada_template_to_fixed_record_type_1): Likewise. | |
8779 | (ada_to_fixed_type_1): Likewise. | |
8780 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
8781 | (cp_print_value): Likewise. | |
8782 | * d-valprint.c (dynamic_array_type): Likewise. | |
8783 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
8784 | * findvar.c (address_of_variable): Likewise. | |
8785 | * jv-valprint.c (java_value_print): Likewise. | |
8786 | * valops.c (value_ind): Likewise. | |
8787 | * value.c (coerce_ref): Likewise. | |
8788 | ||
04b19544 SA |
8789 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8790 | ||
8791 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
8792 | value and retrieve the dynamic type size. | |
8793 | ||
26cb189f SA |
8794 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8795 | ||
8796 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
8797 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
8798 | ||
37c1ab67 SA |
8799 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8800 | ||
8801 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
8802 | (dwarf2_evaluate_property): New function. | |
8803 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
8804 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
8805 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
8806 | attribute. | |
8807 | * gdbtypes.c: Include dwarf2loc.h. | |
8808 | (is_dynamic_type): New function. | |
8809 | (resolve_dynamic_type): New function. | |
8810 | (resolve_dynamic_bounds): New function. | |
8811 | (get_type_length): New function. | |
8812 | (check_typedef): Use get_type_length to compute type length. | |
8813 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
8814 | (TYPE_LOW_BOUND_KIND): New macro. | |
8815 | (is_dynamic_type): New function prototype. | |
8816 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
8817 | to resolve dynamic properties of the type. Update comment. | |
8818 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
8819 | ||
729efb13 SA |
8820 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8821 | ||
8822 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
8823 | declaring high/low bounds and change uses accordingly. Call | |
8824 | create_range_type instead of create_static_range_type. | |
8825 | * gdbtypes.c (create_range_type): New function. | |
8826 | (create_range_type): Convert bounds into struct bound_prop and pass | |
8827 | them to create_range_type. | |
8828 | * gdbtypes.h (struct bound_prop): New struct. | |
8829 | (create_range_type): New function prototype. | |
8830 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
8831 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
8832 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
8833 | part of the bound. | |
8834 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
8835 | ||
0c9c3474 SA |
8836 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
8837 | ||
8838 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
8839 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
8840 | * ada-lang.c: All uses of create_range_type updated. | |
8841 | * coffread.c: All uses of create_range_type updated. | |
8842 | * dwarf2read.c: All uses of create_range_type updated. | |
8843 | * f-exp.y: All uses of create_range_type updated. | |
8844 | * m2-valprint.c: All uses of create_range_type updated. | |
8845 | * mdebugread.c: All uses of create_range_type updated. | |
8846 | * stabsread.c: All uses of create_range_type updated. | |
8847 | * valops.c: All uses of create_range_type updated. | |
8848 | * valprint.c: All uses of create_range_type updated. | |
8849 | ||
9d497a19 PA |
8850 | 2014-04-10 Pedro Alves <palves@redhat.com> |
8851 | ||
8852 | * breakpoint.c (single_step_breakpoints) | |
8853 | (single_step_gdbarch): Move up in the file. | |
8854 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
8855 | (breakpoint_xfer_memory): ... here. Also process single-step | |
8856 | breakpoints. | |
8857 | ||
15a9128a TG |
8858 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
8859 | ||
8860 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
8861 | comments. | |
8862 | (darwin_decode_exception_message): Free port only after use. | |
8863 | ||
9c97a070 PL |
8864 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
8865 | ||
8866 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
8867 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
8868 | when setting the size of call_length. | |
8869 | ||
7af389b8 SC |
8870 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
8871 | ||
8872 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
8873 | dereference TYPE_CODE_REF values. | |
8874 | ||
86ad98c3 JB |
8875 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
8876 | ||
8877 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
8878 | end of warning message. | |
8879 | ||
b0aeadb3 DE |
8880 | 2014-04-03 Doug Evans <dje@google.com> |
8881 | ||
8882 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
8883 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
8884 | ||
5979d6b6 AM |
8885 | 2014-04-02 Alan Modra <amodra@gmail.com> |
8886 | ||
8887 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
8888 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
8889 | (struct symbol_file_add_from_memory_args): Add size field. | |
8890 | (find_vdso_size): New function. | |
8891 | (add_vsyscall_page): Attempt to find vdso size. | |
8892 | ||
0d60c288 DE |
8893 | 2014-04-01 Doug Evans <dje@google.com> |
8894 | ||
8895 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
8896 | ||
a41f2563 TG |
8897 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
8898 | ||
8899 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
8900 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
8901 | (darwin_decode_message): Handle message by id. Ignore message | |
8902 | to unknown inferior. | |
8903 | (darwin_wait): Discard unknown messages, add debug trace. | |
8904 | ||
11a865c8 DE |
8905 | 2014-03-31 Doug Evans <dje@google.com> |
8906 | ||
8907 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
8908 | comp_dir_string. | |
8909 | ||
770e7fc7 DE |
8910 | 2014-03-31 Doug Evans <dje@google.com> |
8911 | ||
8912 | New option "set print symbol-loading". | |
8913 | * NEWS: Mention it. | |
8914 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
8915 | if requested. | |
8916 | (solib_add): If symbol loading is in "brief" mode, notify user | |
8917 | symbols are being loaded. | |
8918 | (reload_shared_libraries_1): Ditto. | |
8919 | * symfile.c (print_symbol_loading_off): New static global. | |
8920 | (print_symbol_loading_brief): New static global. | |
8921 | (print_symbol_loading_full): New static global. | |
8922 | (print_symbol_loading_enums): New static global. | |
8923 | (print_symbol_loading): New static global. | |
8924 | (print_symbol_loading_p): New function. | |
8925 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
8926 | if requested. | |
8927 | (_initialize_symfile): Register "print symbol-loading" set/show | |
8928 | command. | |
8929 | * symfile.h (print_symbol_loading_p): Declare. | |
8930 | ||
c32c64b7 DE |
8931 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
8932 | ||
8933 | * infrun.c (set_last_target_status): New function. | |
8934 | (handle_inferior_event): Call it. | |
8935 | ||
7c0bc051 DE |
8936 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
8937 | ||
8938 | * inferior.h (enum stop_kind): Improve comment. | |
8939 | ||
8776cfe9 JB |
8940 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
8941 | ||
8942 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
8943 | a reference, strip the reference layer before calling | |
8944 | the lang_ops value_has_mutated callback. | |
8945 | ||
410a0ff2 SDJ |
8946 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
8947 | ||
8948 | Remove some globals from our parser. | |
8949 | * language.c (unk_lang_parser): Add "struct parser_state" | |
8950 | argument. | |
8951 | * language.h (struct language_defn) <la_parser>: Likewise. | |
8952 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
8953 | (initialize_expout): Add "struct parser_state" argument. | |
8954 | Rewrite function to use the parser state. | |
8955 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
8956 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
8957 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
8958 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
8959 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
8960 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
8961 | write_dollar_variable): Likewise. | |
8962 | (parse_exp_in_context_1): Use parser state. | |
8963 | (insert_type_address_space): Add "struct parser_state" argument. | |
8964 | Use parser state. | |
8965 | (increase_expout_size): New function. | |
8966 | * parser-defs.h: Forward declare "struct language_defn" and | |
8967 | "struct parser_state". | |
8968 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
8969 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
8970 | accept the parser state. | |
8971 | (struct parser_state): New struct. | |
8972 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
8973 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
8974 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
8975 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
8976 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
8977 | write_exp_msymbol, write_dollar_variable, | |
8978 | mark_struct_expression, insert_type_address_space): Add "struct | |
8979 | parser_state" argument. | |
8980 | (increase_expout_size): New function. | |
8981 | * utils.c (do_clear_parser_state): New function. | |
8982 | (make_cleanup_clear_parser_state): Likewise. | |
8983 | * utils.h (make_cleanup_clear_parser_state): New function | |
8984 | prototype. | |
8985 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
8986 | Update calls to write_exp* in order to pass the parser state. | |
8987 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
8988 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
8989 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
8990 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
8991 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
8992 | (stap_parse_single_operand): Likewise. | |
8993 | (stap_parse_argument_1): Likewise. | |
8994 | (stap_parse_argument): Use parser state. | |
8995 | * stap-probe.h: Include "parser-defs.h". | |
8996 | (struct stap_parse_info) <pstate>: New field. | |
8997 | * c-exp.y (parse_type): Rewrite to use parser state. | |
8998 | (yyparse): Redefine to c_parse_internal. | |
8999 | (pstate): New global variable. | |
9000 | (parse_number): Add "struct parser_state" argument. | |
9001 | (write_destructor_name): Likewise. | |
9002 | (type_exp): Update calls to write_exp* and similars in order to | |
9003 | use parser state. | |
9004 | (exp1, exp, variable, qualified_name, space_identifier, | |
9005 | typename, typebase): Likewise. | |
9006 | (write_destructor_name, parse_number, lex_one_token, | |
9007 | classify_name, classify_inner_name, c_parse): Add "struct | |
9008 | parser_state" argument. Update function to use parser state. | |
9009 | * c-lang.h: Forward declare "struct parser_state". | |
9010 | (c_parse): Add "struct parser_state" argument. | |
9011 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
9012 | (yyparse): Redefine macro to ada_parse_internal. | |
9013 | (pstate): New variable. | |
9014 | (write_int, write_object_renaming, write_var_or_type, | |
9015 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
9016 | type_int, type_long, type_long_long, type_float, type_double, | |
9017 | type_long_double, type_char, type_boolean, type_system_address): | |
9018 | Add "struct parser_state" argument. | |
9019 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
9020 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
9021 | var_or_type, aggregate, aggregate_component_list, | |
9022 | positional_list, others, component_group, | |
9023 | component_associations): Update calls to write_exp* and similar | |
9024 | functions in order to use parser state. | |
9025 | (ada_parse, write_var_from_sym, write_int, | |
9026 | write_exp_op_with_string, write_object_renaming, | |
9027 | find_primitive_type, write_selectors, write_ambiguous_var, | |
9028 | write_var_or_type, write_name_assoc, type_int, type_long, | |
9029 | type_long_long, type_float, type_double, type_long_double, | |
9030 | type_char, type_boolean, type_system_address): Add "struct | |
9031 | parser_state" argument. Adjust function to use parser state. | |
9032 | * ada-lang.c (parse): Likewise. | |
9033 | * ada-lang.h: Forward declare "struct parser_state". | |
9034 | (ada_parse): Add "struct parser_state" argument. | |
9035 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
9036 | calls to both functions. | |
9037 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
9038 | parser state. | |
9039 | (yyparse): Redefine macro to f_parse_internal. | |
9040 | (pstate): New variable. | |
9041 | (parse_number): Add "struct parser_state" argument. | |
9042 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
9043 | and similars in order to use parser state. | |
9044 | (parse_number): Adjust code to use parser state. | |
9045 | (yylex): Likewise. | |
9046 | (f_parse): New function. | |
9047 | * f-lang.h: Forward declare "struct parser_state". | |
9048 | (f_parse): Add "struct parser_state" argument. | |
9049 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
9050 | parser state. | |
9051 | (yyparse): Redefine macro for java_parse_internal. | |
9052 | (pstate): New variable. | |
9053 | (push_expression_name, push_expression_name, insert_exp): Add | |
9054 | "struct parser_state" argument. | |
9055 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
9056 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
9057 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
9058 | PostIncrementExpression, PostDecrementExpression, | |
9059 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
9060 | UnaryExpressionNotPlusMinus, CastExpression, | |
9061 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
9062 | RelationalExpression, EqualityExpression, AndExpression, | |
9063 | ExclusiveOrExpression, InclusiveOrExpression, | |
9064 | ConditionalAndExpression, ConditionalOrExpression, | |
9065 | ConditionalExpression, Assignment, LeftHandSide): Update | |
9066 | calls to write_exp* and similars in order to use parser state. | |
9067 | (parse_number): Ajust code to use parser state. | |
9068 | (yylex): Likewise. | |
9069 | (java_parse): New function. | |
9070 | (push_variable): Add "struct parser_state" argument. Adjust | |
9071 | code to user parser state. | |
9072 | (push_fieldnames, push_qualified_expression_name, | |
9073 | push_expression_name, insert_exp): Likewise. | |
9074 | * jv-lang.h: Forward declare "struct parser_state". | |
9075 | (java_parse): Add "struct parser_state" argument. | |
9076 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
9077 | parser state. | |
9078 | (yyparse): Redefine macro to m2_parse_internal. | |
9079 | (pstate): New variable. | |
9080 | (type_exp, exp, fblock, variable, type): Update calls to | |
9081 | write_exp* and similars to use parser state. | |
9082 | (yylex): Likewise. | |
9083 | (m2_parse): New function. | |
9084 | * m2-lang.h: Forward declare "struct parser_state". | |
9085 | (m2_parse): Add "struct parser_state" argument. | |
9086 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
9087 | * objc-lang.h: Forward declare "struct parser_state". | |
9088 | (end_msglist): Add "struct parser_state" argument. | |
9089 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
9090 | (yyparse): Redefine macro to pascal_parse_internal. | |
9091 | (pstate): New variable. | |
9092 | (parse_number): Add "struct parser_state" argument. | |
9093 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
9094 | write_exp* and similars in order to use parser state. | |
9095 | (parse_number, yylex): Adjust code to use parser state. | |
9096 | (pascal_parse): New function. | |
9097 | * p-lang.h: Forward declare "struct parser_state". | |
9098 | (pascal_parse): Add "struct parser_state" argument. | |
9099 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
9100 | (yyparse): Redefine macro to go_parse_internal. | |
9101 | (pstate): New variable. | |
9102 | (parse_number): Add "struct parser_state" argument. | |
9103 | (type_exp, exp1, exp, variable, type): Update calls to | |
9104 | write_exp* and similars in order to use parser state. | |
9105 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
9106 | to use parser state. | |
9107 | (go_parse): Likewise. | |
9108 | * go-lang.h: Forward declare "struct parser_state". | |
9109 | (go_parse): Add "struct parser_state" argument. | |
9110 | ||
342587c4 DE |
9111 | 2014-03-27 Doug Evans <dje@google.com> |
9112 | ||
9113 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
9114 | ||
33e80786 DE |
9115 | 2014-03-27 Doug Evans <dje@google.com> |
9116 | ||
9117 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
9118 | Remove argument abbrev_section. All callers updated. | |
9119 | ||
1dbab08b DE |
9120 | 2014-03-27 Doug Evans <dje@google.com> |
9121 | ||
9122 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
9123 | addr_base, ranges_base. | |
9124 | ||
318d3177 KS |
9125 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
9126 | ||
9127 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
9128 | types, not VAR_DOMAIN. | |
9129 | ||
1e54db15 SL |
9130 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
9131 | ||
9132 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
9133 | "ra" registers. | |
9134 | * features/nios2-linux.c: Regenerated. | |
9135 | * features/nios2.c: Regenerated. | |
9136 | ||
d3839ede PA |
9137 | 2014-03-25 Pedro Alves <palves@redhat.com> |
9138 | ||
9139 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
9140 | sync mode. | |
9141 | ||
7588d2ec PL |
9142 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
9143 | ||
9144 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
9145 | small stack allocation. | |
9146 | ||
a6290449 TG |
9147 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
9148 | ||
9149 | * darwin-nat.c (exc_server): Remove unused prototype. | |
9150 | (darwin_dump_message): Correctly display data on x86_64. | |
9151 | (darwin_encode_reply): Fix style. | |
9152 | Add comments and fix indentation. | |
9153 | ||
31ae9d24 | 9154 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
9155 | |
9156 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
9157 | ||
6339bfc4 DE |
9158 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9159 | ||
9160 | * infcmd.c: Whitespace fixes. | |
9161 | (interrupt_command): Merge two function comments into one. | |
9162 | ||
0a07590b DE |
9163 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9164 | ||
9165 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
9166 | All uses updated. | |
9167 | ||
b55fbac4 YQ |
9168 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9169 | ||
9170 | * remote.c (target_read_live_memory): Remove. | |
9171 | (memory_xfer_live_readonly_partial): Rename it to | |
9172 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
9173 | All callers updated. Call remote_read_bytes_1 | |
9174 | instead of target_read_live_memory. | |
9175 | * tracepoint.c (set_traceframe_number): Remove. | |
9176 | (make_cleanup_restore_traceframe_number): Likewise . | |
9177 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
9178 | (make_cleanup_restore_traceframe_number): Likewise. | |
9179 | ||
9217e74e YQ |
9180 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9181 | ||
9182 | * remote.c (remote_read_bytes): Move code on reading from the | |
9183 | remote stub to ... | |
9184 | (remote_read_bytes_1): ... here. New function. | |
9185 | ||
8acf9577 YQ |
9186 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9187 | ||
9188 | * ctf.c (ctf_xfer_partial): Check the return value of | |
9189 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
9190 | return TARGET_XFER_UNAVAILABLE. | |
9191 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
9192 | * target.c (target_read_live_memory): Move it to remote.c. | |
9193 | (memory_xfer_live_readonly_partial): Likewise. | |
9194 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
9195 | * remote.c (target_read_live_memory): Moved from target.c. | |
9196 | (memory_xfer_live_readonly_partial): Likewise. | |
9197 | (remote_read_bytes): Factored out from | |
9198 | memory_xfer_partial_1. | |
9199 | ||
feef67ab DE |
9200 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
9201 | ||
9202 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
9203 | NULL pointer. | |
9204 | ||
b65dc60b PA |
9205 | 2014-03-21 Pedro Alves <palves@redhat.com> |
9206 | ||
9207 | * infrun.c (normal_stop): Extend comment. | |
9208 | ||
b4ab256d HZ |
9209 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
9210 | Pedro Alves <palves@redhat.com> | |
9211 | ||
9212 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
9213 | static buffer. | |
9214 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
9215 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
9216 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
9217 | ||
deba7593 MR |
9218 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
9219 | ||
9220 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
9221 | `z' formatted output modifier. | |
9222 | ||
1bff71c3 SDJ |
9223 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9224 | Sergio Durigan Junior <sergiodj@redhat.com> | |
9225 | ||
9226 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
9227 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
9228 | exceptions when parsing probes. Rearrange the code for clarity. | |
9229 | ||
90e28950 TT |
9230 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9231 | ||
9232 | PR gdb/14135 | |
9233 | * top.c (execute_command): Only dispatch events if the command | |
9234 | started the target. | |
9235 | ||
beb460e8 PA |
9236 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9237 | ||
9238 | PR cli/15718 | |
9239 | * infcall.c: Include event-top.h. | |
9240 | (run_inferior_call): Call async_disable_stdin if needed. | |
9241 | ||
99619bea PA |
9242 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9243 | ||
9244 | * infrun.c (prepare_to_proceed): Delete. | |
9245 | (thread_still_needs_step_over): New function. | |
9246 | (find_thread_needs_step_over): New function. | |
9247 | (proceed): If the current thread needs a step-over, set its | |
9248 | steping_over_breakpoint flag. Adjust to use | |
9249 | find_thread_needs_step_over instead of prepare_to_proceed. | |
9250 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
9251 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
9252 | breakpoint. | |
9253 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
9254 | threads not the stepping thread, before switching back to the | |
9255 | stepping thread. | |
9256 | ||
2adfaa28 PA |
9257 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9258 | ||
9259 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
9260 | extern. | |
9261 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
9262 | * infrun.c (saved_singlestep_ptid) | |
9263 | (stepping_past_singlestep_breakpoint): Delete. | |
9264 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
9265 | (proceed): Store the prev_pc of the stepping thread too. | |
9266 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
9267 | singlestep_pc. | |
9268 | (enum infwait_states): Delete infwait_thread_hop_state. | |
9269 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
9270 | field. | |
9271 | (handle_inferior_event): Adjust. | |
9272 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
9273 | handling and the thread-hop code. Before removing single-step | |
9274 | breakpoints, check whether the thread hit a single-step breakpoint | |
9275 | of another thread. If it did, the trap is not a random signal. | |
9276 | (switch_back_to_stepped_thread): If the event thread hit a | |
9277 | single-step breakpoint, unblock it before switching to the | |
9278 | stepping thread. Handle the case of the stepped thread having | |
9279 | advanced already. | |
9280 | (keep_going): Handle the case of the current thread moving past a | |
9281 | single-step breakpoint. | |
9282 | ||
31e77af2 PA |
9283 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9284 | ||
9285 | PR breakpoints/7143 | |
9286 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
9287 | are being stepped over. | |
9288 | (breakpoint_address_match): Make extern. | |
9289 | * breakpoint.h (breakpoint_address_match): New declaration. | |
9290 | * inferior.h (stepping_past_instruction_at): New declaration. | |
9291 | * infrun.c (struct step_over_info): New type. | |
9292 | (step_over_info): New global. | |
9293 | (set_step_over_info, clear_step_over_info) | |
9294 | (stepping_past_instruction_at): New functions. | |
9295 | (handle_inferior_event): Clear the step-over info when | |
9296 | trap_expected is cleared. | |
9297 | (resume): Remove now stale comment. | |
9298 | (clear_proceed_status): Clear step-over info. | |
9299 | (proceed): Adjust step-over handling to set or clear the step-over | |
9300 | info instead of removing all breakpoints. | |
9301 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
9302 | breakpoints here. | |
9303 | (stop_stepping): Clear step-over info. | |
9304 | (keep_going): Adjust step-over handling to set or clear step-over | |
9305 | info and then always inserting breakpoints, instead of removing | |
9306 | all breakpoints when stepping over one. | |
9307 | ||
b9f437de PA |
9308 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9309 | ||
9310 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
9311 | (deferred_step_ptid): Delete. | |
9312 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
9313 | (init_wait_for_inferior): Adjust. | |
9314 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
9315 | ||
06c868a8 JK |
9316 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
9317 | ||
9318 | PR gdb/15358 | |
9319 | * defs.h (sync_quit_force_run): New declaration. | |
9320 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
9321 | * event-top.c (async_sigterm_handler): New declaration. | |
9322 | (async_sigterm_token): New variable. | |
9323 | (async_init_signals): Create also async_sigterm_token. | |
9324 | (async_sigterm_handler): New function. | |
9325 | (sync_quit_force_run): New variable. | |
9326 | (handle_sigterm): Replace quit_force call by other calls. | |
9327 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
9328 | ||
dea80df0 MR |
9329 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
9330 | ||
9331 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
9332 | offset into SPE pseudo registers. | |
9333 | ||
0c7e1a46 PA |
9334 | 2014-03-18 Pedro Alves <palves@redhat.com> |
9335 | ||
9336 | PR gdb/13860 | |
9337 | * inferior.h (print_stop_event): Declare. | |
9338 | * infrun.c (print_stop_event): New, factored out from ... | |
9339 | (normal_stop): ... this. | |
9340 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
9341 | of bpstat_print/print_stack_frame. | |
9342 | ||
9c1fcd01 TT |
9343 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
9344 | ||
9345 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
9346 | ||
11aa919a PMR |
9347 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
9348 | ||
9349 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
9350 | minimal coercion for reference with coerce_ref instead of | |
9351 | ada_coerce_ref. | |
9352 | ||
d4ccb5e0 TG |
9353 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
9354 | ||
9355 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
9356 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
9357 | is unhandled. | |
9358 | ||
49840f2a UW |
9359 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
9360 | ||
9361 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
9362 | PyObject_GetAttrString to support Python 2.4. | |
9363 | ||
ed4123e5 JK |
9364 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
9365 | ||
9366 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
9367 | (Global Maintainers): Remove Jan Kratochvil. | |
9368 | ||
d6b64346 PA |
9369 | 2014-03-14 Pedro Alves <palves@redhat.com> |
9370 | ||
9371 | * inferior.h (terminal_ours_for_output): Rename to ... | |
9372 | (child_terminal_ours_for_output): ... this. | |
9373 | (terminal_save_ours): Rename to ... | |
9374 | (child_terminal_save_ours): ... this. | |
9375 | (terminal_ours): Rename to ... | |
9376 | (child_terminal_ours): ... this. | |
9377 | (terminal_inferior): Rename to ... | |
9378 | (child_terminal_inferior): ... this. | |
9379 | (terminal_init_inferior): Rename to ... | |
9380 | (child_terminal_init_inferior): ... this. | |
9381 | (terminal_init_inferior_with_pgrp): Rename to ... | |
9382 | (child_terminal_init_inferior_with_pgrp): ... this. | |
9383 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
9384 | (child_terminal_init_with_pgrp): ... this. | |
9385 | (terminal_save_ours): Rename to ... | |
9386 | (child_terminal_save_ours): ... this. | |
9387 | (terminal_init_inferior): Rename to ... | |
9388 | (child_terminal_init): ... this. Adjust. | |
9389 | (terminal_inferior): Rename to ... | |
9390 | (child_terminal_inferior): ... this. | |
9391 | (terminal_ours_for_output): Rename to ... | |
9392 | (child_terminal_ours_for_output): ... this. Adjust. | |
9393 | (terminal_ours): Rename to ... | |
9394 | (child_terminal_ours): ... this. | |
9395 | (terminal_ours_1): Rename to ... | |
9396 | (child_terminal_ours_1): ... this. Adjust. | |
9397 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
9398 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
9399 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
9400 | (gnu_terminal_init): ... this. Adjust. | |
9401 | (gnu_target): Adjust. | |
9402 | * inf-child.c (inf_child_target): Adjust. | |
9403 | ||
5a1e8c7a DE |
9404 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
9405 | ||
9406 | PR guile/16612 | |
9407 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
9408 | new eq?-hashtab. | |
9409 | ||
350e1a76 DE |
9410 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
9411 | ||
9412 | * value.c (record_latest_value): Call release_value_or_incref | |
9413 | instead of release_value. | |
9414 | ||
a69900ae PA |
9415 | 2014-03-13 Pedro Alves <palves@redhat.com> |
9416 | ||
9417 | * procfs.c (procfs_target): Don't override to_shortname, | |
9418 | to_longname or to_doc. | |
9419 | ||
5db9f0bd PA |
9420 | 2014-03-13 Pedro Alves <palves@redhat.com> |
9421 | ||
9422 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
9423 | Unix in user visible strings. | |
9424 | ||
5e3a2c38 SS |
9425 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
9426 | ||
9427 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
9428 | block comment with some general info. | |
9429 | ||
8bc2fe48 PA |
9430 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9431 | ||
9432 | * infcmd.c (prepare_execution_command): New function, factored out | |
9433 | from several execution commands. | |
9434 | (run_command_1, continue_command, step_1, jump_command) | |
9435 | (signal_command, until_command, advance_command, finish_command) | |
9436 | (attach_command): Use prepare_execution_command. | |
9437 | ||
638c5f49 OJ |
9438 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
9439 | ||
9440 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
9441 | (MAX_BPTS): Define. | |
9442 | (MAX_WPTS): Define. | |
9443 | (struct arm_linux_thread_points): Removed. | |
9444 | (struct arm_linux_process_info): New. | |
9445 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
9446 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
9447 | (arm_linux_find_breakpoints_by_tid): Removed. | |
9448 | (struct arch_lwp_info): New. | |
9449 | (arm_linux_find_process_pid): New functions. | |
9450 | (arm_linux_add_process): New functions. | |
9451 | (arm_linux_process_info_get): New functions. | |
9452 | (arm_linux_forget_process): New function. | |
9453 | (arm_linux_get_debug_reg_state): New function. | |
9454 | (struct update_registers_data): New. | |
9455 | (update_registers_callback): New function. | |
9456 | (arm_linux_insert_hw_breakpoint1): Updated. | |
9457 | (arm_linux_remove_hw_breakpoint1): Updated. | |
9458 | (arm_linux_insert_hw_breakpoint): Updated. | |
9459 | (arm_linux_remove_hw_breakpoint): Updated. | |
9460 | (arm_linux_insert_watchpoint): Updated. | |
9461 | (arm_linux_remove_watchpoint): Updated. | |
9462 | (arm_linux_new_thread): Updated. | |
9463 | (arm_linux_prepare_to_resume): New function. | |
9464 | (arm_linux_new_fork): New function. | |
9465 | (_initialize_arm_linux_nat): Updated. | |
9466 | ||
6d03af93 PA |
9467 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9468 | ||
9469 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
9470 | ||
b3ccfe11 TT |
9471 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
9472 | ||
9473 | * inf-child.c (return_zero): New function. | |
9474 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
9475 | * aix-thread.c (aix_thread_inferior_created): New function. | |
9476 | (aix_thread_attach): Remove. | |
9477 | (init_aix_thread_ops): Don't set to_attach. | |
9478 | (_initialize_aix_thread): Register inferior_created observer. | |
9479 | * corelow.c (init_core_ops): Don't set to_attach or | |
9480 | to_create_inferior. | |
9481 | * exec.c (init_exec_ops): Don't set to_attach or | |
9482 | to_create_inferior. | |
9483 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
9484 | target calls. | |
9485 | (attach_command): Use find_attach_target. Make direct target | |
9486 | calls. | |
9487 | * record-btrace.c (init_record_btrace_ops): Don't set | |
9488 | to_create_inferior. | |
9489 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
9490 | Remove. | |
9491 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
9492 | set to_create_inferior. | |
9493 | * target.c (complete_target_initialization): Add assertion. | |
9494 | (target_create_inferior): Remove. | |
9495 | (find_default_attach, find_default_create_inferior): Remove. | |
9496 | (find_attach_target, find_run_target): New functions. | |
9497 | (find_default_is_async_p, find_default_can_async_p) | |
9498 | (target_supports_non_stop, target_attach): Remove. | |
9499 | (init_dummy_target): Don't set to_create_inferior or | |
9500 | to_supports_non_stop. | |
9501 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
9502 | TARGET_DEFAULT_FUNC. | |
9503 | <to_create_inferior>: Add comment. | |
9504 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
9505 | TARGET_DEFAULT_RETURN. | |
9506 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
9507 | (find_attach_target, find_run_target): Declare. | |
9508 | (target_create_inferior): Remove. | |
9509 | (target_has_execution_1): Update comment. | |
9510 | (target_supports_non_stop): Remove. | |
9511 | * target-delegates.c: Rebuild. | |
9512 | ||
91f83b02 PA |
9513 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9514 | ||
9515 | * inf-child.h: Update comment to not mention Unix. | |
9516 | ||
f1aea813 PA |
9517 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9518 | ||
9519 | * inf-child.c: Update top comment to not mention Unix. Add | |
9520 | generic comment describing how this target is meant to be used. | |
9521 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
9522 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
9523 | Unix in comment. | |
9524 | ||
ee8e9165 PA |
9525 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9526 | ||
9527 | * nto-procfs.c: Include inf-child.h. | |
9528 | (procfs_ops): Delete global. | |
9529 | (procfs_can_run): Delete method. | |
9530 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
9531 | target pointer instead of referencing procfs_ops. | |
9532 | (procfs_prepare_to_store): Delete. | |
9533 | (init_procfs_ops): Delete function. | |
9534 | (procfs_target): New function, based on init_procfs_ops, but | |
9535 | inherit inf_child_target. | |
9536 | (_initialize_procfs): Use procfs_target. | |
9537 | ||
51a9c8c5 PA |
9538 | 2014-03-12 Pedro Alves <palves@redhat.com> |
9539 | ||
9540 | * windows-nat.c: Include inf-child.h. | |
9541 | (windows_ops): Delete global. | |
9542 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
9543 | methods. | |
9544 | (init_windows_ops): Delete function. | |
9545 | (windows_target): New function, based on init_windows_ops, but | |
9546 | inherit inf_child_target. | |
9547 | (_initialize_windows_nat): Use windows_target. Install x86 | |
9548 | specific target methods here. | |
9549 | ||
c1966e26 DE |
9550 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
9551 | ||
9552 | * guile/guile.c (call_initialize_gdb_module): New function. | |
9553 | (initialize_guile): Replace call to scm_init_guile with call to | |
9554 | scm_with_guile. | |
9555 | ||
023db19c JB |
9556 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
9557 | ||
9558 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
9559 | in call to TYPE_CODE macro. | |
9560 | ||
5ec18f2b JG |
9561 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
9562 | ||
8668be63 JB |
9563 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
9564 | Resolve tagged types to full view. | |
5ec18f2b | 9565 | |
7d03f2eb HZ |
9566 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
9567 | ||
9568 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
9569 | comments. | |
9570 | ||
c5164cbc DE |
9571 | 2014-03-07 Doug Evans <dje@google.com> |
9572 | ||
9573 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
9574 | ||
c4a3fee2 DE |
9575 | 2014-03-07 Doug Evans <dje@google.com> |
9576 | ||
9577 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
9578 | Remove unused local comp_dir_attr. Assert exactly one of | |
9579 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
9580 | ||
3156469c JB |
9581 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
9582 | ||
9583 | * target.h (complete_target_initialization, add_target): | |
9584 | Add comment. | |
9585 | ||
c1a7b7c6 PA |
9586 | 2014-03-07 Pedro Alves <palves@redhat.com> |
9587 | ||
9588 | * go32-nat.c: Include inf-child.h. | |
9589 | (go32_ops): Delete global. | |
9590 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
9591 | Delete methods. | |
9592 | (go32_create_inferior): Push the passed in target pointer instead | |
9593 | of referencing go32_ops. | |
9594 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
9595 | (go32_target): New function, based on init_go32_ops, but inherit | |
9596 | inf_child_target. | |
9597 | (_initialize_go32_nat): Use go32_target. Move parts of | |
9598 | init_go32_ops here. | |
9599 | ||
d3c1a85f JB |
9600 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
9601 | ||
9602 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
9603 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
9604 | SYMBOL_VALUE_ADDRESS. | |
9605 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
9606 | ||
5fa1d40e YQ |
9607 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9608 | ||
9609 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
9610 | optional_p. All callers updated. Adjust comments. Update | |
9611 | output message. | |
9612 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
9613 | ||
0c13193f YQ |
9614 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9615 | ||
9616 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
9617 | early if get_number returns zero. Use 'p' instead of 'args'. | |
9618 | ||
2217da06 YQ |
9619 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9620 | ||
9621 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
9622 | message. | |
9623 | ||
cc3da688 YQ |
9624 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9625 | ||
9626 | PR breakpoints/16508 | |
9627 | * tracepoint.c (check_trace_running): New function. | |
9628 | (trace_find_command): Move code to check_trace_running and | |
9629 | call check_trace_running. | |
9630 | (trace_find_pc_command): Likewise. | |
9631 | (trace_find_tracepoint_command): Likewise. | |
9632 | (trace_find_line_command): Likewise. | |
9633 | (trace_find_range_command): Likewise. | |
9634 | * tracepoint.h (check_trace_running): Likewise. | |
9635 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
9636 | ||
6a5f844b YQ |
9637 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
9638 | ||
9639 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
9640 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
9641 | * target-delegates.c: Regenerated. | |
9642 | ||
0f26cec1 PA |
9643 | 2014-03-05 Pedro Alves <palves@redhat.com> |
9644 | ||
9645 | PR gdb/16575 | |
9646 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
9647 | void. Update comment. | |
9648 | (dcache_xfer_memory): Delete. | |
9649 | (dcache_read_memory_partial): New, based on the read bits of | |
9650 | dcache_xfer_memory. | |
9651 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
9652 | adjust. Discard cache lines if the reason for the update was | |
9653 | error. | |
9654 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
9655 | (dcache_read_memory_partial): New declaration. | |
9656 | (dcache_update): Update prototype. | |
9657 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
9658 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
9659 | ||
b2b255bd MF |
9660 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
9661 | ||
9662 | * remote-sim.c (gdbsim_load): Add const to prog. | |
9663 | ||
5d9cf8a4 TT |
9664 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
9665 | ||
9666 | * elfread.c (probe_key): Change to bfd_data. | |
9667 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
9668 | now per-BFD, not per-objfile. | |
9669 | * stap-probe.c (stap_probe_destroy): Update comment. | |
9670 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
9671 | ||
729662a5 TT |
9672 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
9673 | ||
9674 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
9675 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
9676 | get_probe_address. | |
9677 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
9678 | (bkpt_probe_remove_location): Update. | |
9679 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
9680 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
9681 | (elf_probe_fns): Update. | |
9682 | (insert_exception_resume_breakpoint): Change type of "probe" | |
9683 | parameter to bound_probe. | |
9684 | (check_exception_resume): Update. | |
9685 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
9686 | * probe.c (bound_probe_s): New typedef. | |
9687 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
9688 | (find_probe_by_pc): Return a bound_probe. | |
9689 | (collect_probes): Return a VEC(bound_probe_s). | |
9690 | (compare_probes): Update. | |
9691 | (gen_ui_out_table_header_info): Change type of "probes" | |
9692 | parameter. Update. | |
9693 | (info_probes_for_ops): Update. | |
9694 | (get_probe_address): New function. | |
9695 | (probe_safe_evaluate_at_pc): Update. | |
9696 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
9697 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
9698 | (struct probe) <objfile>: Remove field. | |
9699 | <arch>: New field. | |
9700 | <address>: Update comment. | |
9701 | (struct bound_probe): New. | |
9702 | (find_probe_by_pc): Return a bound_probe. | |
9703 | (get_probe_address): Declare. | |
9704 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
9705 | (hash_probe_and_action, equal_probe_and_action): Update. | |
9706 | (register_solib_event_probe): Add address parameter. | |
9707 | (solib_event_probe_at): Update. | |
9708 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
9709 | get_probe_address. | |
9710 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
9711 | (stap_get_probe_address): New function. | |
9712 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
9713 | (compile_probe_arg): Update. | |
9714 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
9715 | address. | |
9716 | (handle_stap_probe): Don't relocate the probe. | |
9717 | (stap_relocate): Remove. | |
9718 | (stap_gen_info_probes_table_values): Update. | |
9719 | (stap_probe_ops): Remove stap_relocate. | |
9720 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
9721 | (debug_sym_probe_fns): Update. | |
9722 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
9723 | * symtab.c (init_sal): Use memset. | |
9724 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
9725 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
9726 | ||
ff887920 TT |
9727 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
9728 | ||
9729 | * probe.h (parse_probes, find_probe_by_pc) | |
9730 | (find_probes_in_objfile): Fix comments. | |
9731 | ||
f0407826 DE |
9732 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
9733 | ||
9734 | * infrun.c (handle_signal_stop): Replace test for | |
9735 | TARGET_WAITKIND_STOPPED with an assert. | |
9736 | ||
35e6a711 DE |
9737 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
9738 | ||
9739 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
9740 | ||
667f9d0b DE |
9741 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
9742 | ||
9743 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
9744 | ||
dc92ace0 MK |
9745 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
9746 | ||
9747 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
9748 | ||
a900370f MK |
9749 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
9750 | ||
9751 | * i386obsd-nat.c: Include "obsd-nat.h". | |
9752 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
9753 | add_target. | |
9754 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
9755 | ||
b72a7981 MK |
9756 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
9757 | ||
9758 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
9759 | ||
96c70aba MK |
9760 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
9761 | ||
9762 | * mips64obsd-nat.c: Include "obsd-nath". | |
9763 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
9764 | add_target | |
9765 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
9766 | ||
874a80af MK |
9767 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
9768 | ||
8fd408f1 MK |
9769 | * amd64obsd-nat.c: Include "obsd-nat,h. |
9770 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
9771 | add_target. | |
874a80af MK |
9772 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
9773 | ||
9cf95373 SC |
9774 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
9775 | ||
9776 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
9777 | (find_overload_match): Update call to find_oload_champ. | |
9778 | (find_oload_champ_namespace_loop): Likewise | |
9779 | ||
863e4da4 MK |
9780 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
9781 | ||
025cac40 MK |
9782 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
9783 | ||
1ed586ce MK |
9784 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
9785 | * config/sparc/obsd64.mh: New file. | |
9786 | * sparc64obsd-nat.c: New file. | |
9787 | ||
863e4da4 MK |
9788 | * obsd-nat.h: New file. |
9789 | * obsd-nat.c: New file. | |
9790 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
9791 | (ALLDEPFILES): Add obsd-nat.c. | |
9792 | ||
89de4da4 TT |
9793 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
9794 | ||
9795 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
9796 | * cli-out.h (cli_ui_out_impl): Now const. | |
9797 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
9798 | * ui-out.c (struct ui_out) <impl>: Now const. | |
9799 | (default_ui_out_impl): Now const. | |
9800 | (ui_out_new): Make 'impl' parameter const. | |
9801 | * ui-out.h (ui_out_new): Update. | |
9802 | ||
c725e7b6 MK |
9803 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
9804 | ||
9805 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
9806 | ||
670b46b3 MK |
9807 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
9808 | ||
9809 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
9810 | ||
c91550fc JK |
9811 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
9812 | ||
9813 | Additional PR 8882 fix. | |
9814 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
9815 | ||
2fa0369e PA |
9816 | 2014-02-27 Pedro Alves <palves@redhat.com> |
9817 | ||
9818 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
9819 | isn't set. | |
9820 | ||
d632a097 PA |
9821 | 2014-02-27 Pedro Alves <palves@redhat.com> |
9822 | ||
9823 | PR 12702 | |
9824 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
9825 | * nat/linux-waitpid.c: Include string.h. | |
9826 | (status_to_str): Moved here and made extern. | |
9827 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
9828 | ||
2ebd5a35 HZ |
9829 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
9830 | ||
9831 | PR 12702 | |
9832 | * infrun.c (ptid_match): Move ... | |
9833 | * common/ptid.c (ptid_match): ... here. | |
9834 | * inferior.h (ptid_match): Move ... | |
9835 | * common/ptid.h (ptid_match): ... here. | |
9836 | ||
3cdd631f MK |
9837 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
9838 | ||
9839 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
9840 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
9841 | gdb_target_obs. | |
9842 | ||
bee30a64 MK |
9843 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
9844 | ||
9845 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
9846 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
9847 | |
9848 | * gdbarch.sh (auxv_parse): New. | |
9849 | * gdbarch.h: Regenerated. | |
9850 | * gdbarch.c: Regenerated. | |
9851 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
9852 | ||
7a5a839f LC |
9853 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
9854 | ||
9855 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
9856 | (value_functions): Add it. | |
9857 | ||
31aa7e4e JB |
9858 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
9859 | ||
9860 | * dwarf2read.c (attr_value_as_address): New function. | |
9861 | (dwarf2_find_base_address, read_call_site_scope): Use | |
9862 | attr_value_as_address in place of DW_ADDR. | |
9863 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
9864 | the low and high addresses. Slight rework of the handling | |
9865 | of the high pc being a constant form, and limit it to | |
9866 | DWARF verson 4 or higher. | |
9867 | (dwarf2_record_block_ranges): Likewise. | |
9868 | (read_partial_die): Likewise. | |
9869 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
9870 | ||
9b333ba3 TT |
9871 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
9872 | ||
9873 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
9874 | ||
5f6cac40 TT |
9875 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
9876 | ||
9877 | * elfread.c (elf_read_minimal_symbols): Return early if | |
9878 | minimal symbols have already been read. Add "ei" parameter. | |
9879 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
9880 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
9881 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
9882 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
9883 | * symmisc.c (print_objfile_statistics): Update. | |
9884 | ||
2750ef27 TT |
9885 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
9886 | ||
9887 | * elfread.c (elf_read_minimal_symbols): New function, from | |
9888 | elf_symfile_read. | |
9889 | (elf_symfile_read): Call it. | |
9890 | ||
34643a32 TT |
9891 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
9892 | ||
9893 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
9894 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
9895 | (lookup_minimal_symbol_solib_trampoline) | |
9896 | (lookup_minimal_symbol_by_pc_section_1) | |
9897 | (lookup_minimal_symbol_and_objfile): Update. | |
9898 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
9899 | Don't allocate a minimal symbol if minsyms have already been read. | |
9900 | (build_minimal_symbol_hash_tables): Update. | |
9901 | (install_minimal_symbols): Do nothing if minsyms already read. | |
9902 | Use the per-BFD obstack. | |
9903 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
9904 | * objfiles.c (allocate_objfile): Call | |
9905 | terminate_minimal_symbol_table later. | |
9906 | (have_minimal_symbols): Update. | |
9907 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
9908 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
9909 | Move from struct objfile. | |
9910 | <minsyms_read>: New field. | |
9911 | (struct objfile) <msymbols, minimal_symbol_count, | |
9912 | msymbol_hash, msymbol_demangled_hash>: Move. | |
9913 | (ALL_OBJFILE_MSYMBOLS): Update. | |
9914 | * symfile.c (read_symbols): Set minsyms_read. | |
9915 | (reread_symbols): Update. | |
9916 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
9917 | ||
2273f0ac TT |
9918 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
9919 | ||
9920 | * minsyms.c (msymbols_sort): Remove. | |
9921 | * minsyms.h (msymbols_sort): Remove. | |
9922 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
9923 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
9924 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
9925 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
9926 | to minimal symbol address. | |
9927 | * somread.c (text_offset, data_offset): Remove. | |
9928 | (som_symtab_read): Don't add section offsets to minimal symbol | |
9929 | addresses. | |
9930 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
9931 | Don't add section offsets to minimal symbols. | |
9932 | * coffread.c (coff_symtab_read): Don't add section offsets | |
9933 | to minimal symbol addresses. | |
9934 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
9935 | to minimal symbol addresses. | |
9936 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
9937 | section offset to minimal symbol addresses. | |
9938 | * mdebugread.c (parse_partial_symbols): Don't add section | |
9939 | offset to minimal symbol addresses. | |
9940 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
9941 | offset to minimal symbol addresses. | |
9942 | ||
77e371c0 TT |
9943 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
9944 | ||
9945 | * ada-lang.c (ada_main_name): Update. | |
9946 | (ada_add_standard_exceptions): Update. | |
9947 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
9948 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
9949 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
9950 | * auxv.c (ld_so_xfer_auxv): Update. | |
9951 | * avr-tdep.c (avr_scan_prologue): Update. | |
9952 | * ax-gdb.c (gen_var_ref): Update. | |
9953 | * blockframe.c (get_pc_function_start) | |
9954 | (find_pc_partial_function_gnu_ifunc): Update. | |
9955 | * breakpoint.c (create_overlay_event_breakpoint) | |
9956 | (create_longjmp_master_breakpoint) | |
9957 | (create_std_terminate_master_breakpoint) | |
9958 | (create_exception_master_breakpoint): Update. | |
9959 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
9960 | * c-valprint.c (c_val_print): Update. | |
9961 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
9962 | * common/agent.c (agent_look_up_symbols): Update. | |
9963 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
9964 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
9965 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
9966 | * elfread.c (elf_gnu_ifunc_record_cache) | |
9967 | (elf_gnu_ifunc_resolve_by_got): Update. | |
9968 | * findvar.c (default_read_var_value): Update. | |
9969 | * frame.c (inside_main_func): Update. | |
9970 | * frv-tdep.c (frv_frame_this_id): Update. | |
9971 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
9972 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
9973 | Update. | |
9974 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
9975 | (hppa_hpux_find_dummy_bpaddr): Update. | |
9976 | * hppa-tdep.c (hppa_symbol_address): Update. | |
9977 | * infcmd.c (until_next_command): Update. | |
9978 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
9979 | Update. | |
9980 | * linespec.c (minsym_found, add_minsym): Update. | |
9981 | * linux-nat.c (get_signo): Update. | |
9982 | * linux-thread-db.c (inferior_has_bug): Update. | |
9983 | * m32c-tdep.c (m32c_return_value) | |
9984 | (m32c_m16c_address_to_pointer): Update. | |
9985 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
9986 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
9987 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
9988 | * maint.c (maintenance_translate_address): Update. | |
9989 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
9990 | (frob_address): New function. | |
9991 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
9992 | frob_address. Rename parameter to "pc_in". | |
9993 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
9994 | addresses. | |
9995 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
9996 | Update. | |
9997 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
9998 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
9999 | * objc-lang.c (find_objc_msgsend): Update. | |
10000 | * objfiles.c (objfile_relocate1): Update. | |
10001 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10002 | * p-valprint.c (pascal_val_print): Update. | |
10003 | * parse.c (write_exp_msymbol): Update. | |
10004 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
10005 | (ppc_elfv2_skip_entrypoint): Update. | |
10006 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10007 | * printcmd.c (build_address_symbolic, msym_info) | |
10008 | (address_info): Update. | |
10009 | * proc-service.c (ps_pglobal_lookup): Update. | |
10010 | * psymtab.c (find_pc_sect_psymtab_closer) | |
10011 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
10012 | Change msymbol parameter to bound_minimal_symbol. | |
10013 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10014 | * remote.c (remote_check_symbols): Update. | |
10015 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
10016 | address. | |
10017 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10018 | * solib-dsbt.c (lm_base): Update. | |
10019 | * solib-frv.c (lm_base, main_got): Update. | |
10020 | * solib-irix.c (locate_base): Update. | |
10021 | * solib-som.c (som_solib_create_inferior_hook) | |
10022 | (link_map_start): Update. | |
10023 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
10024 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10025 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10026 | (flush_ea_cache): Update. | |
10027 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
10028 | * stack.c (find_frame_funname): Update. | |
10029 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
10030 | (debug_qf_find_pc_sect_symtab): Update. | |
10031 | * symfile.c (simple_read_overlay_table) | |
10032 | (simple_overlay_update): Update. | |
10033 | * symfile.h (struct quick_symbol_functions) | |
10034 | <find_pc_sect_symtab>: Change type of msymbol to | |
10035 | bound_minimal_symbol. | |
10036 | * symmisc.c (dump_msymbols): Update. | |
10037 | * symtab.c (find_pc_sect_symtab_via_partial) | |
10038 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
10039 | (search_symbols, print_msymbol_info): Update. | |
10040 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
10041 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
10042 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
10043 | * tracepoint.c (scope_info): Update. | |
10044 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
10045 | (tui_get_begin_asm_address): Update. | |
10046 | * valops.c (find_function_in_inferior): Update. | |
10047 | * value.c (value_static_field, value_fn_field): Update. | |
10048 | ||
3b7344d5 TT |
10049 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10050 | ||
10051 | * ada-lang.c (ada_update_initial_language): Update. | |
10052 | (ada_main_name, ada_has_this_exception_support): Update. | |
10053 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10054 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10055 | * arm-tdep.c (arm_skip_stub): Update. | |
10056 | * auxv.c (ld_so_xfer_auxv): Update. | |
10057 | * avr-tdep.c (avr_scan_prologue): Update. | |
10058 | * ax-gdb.c (gen_var_ref): Update. | |
10059 | * breakpoint.c (struct breakpoint_objfile_data) | |
10060 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
10061 | type to bound_minimal_symbol. | |
10062 | (create_overlay_event_breakpoint) | |
10063 | (create_longjmp_master_breakpoint) | |
10064 | (create_std_terminate_master_breakpoint) | |
10065 | (create_exception_master_breakpoint): Update. | |
10066 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10067 | * c-exp.y (classify_name): Update. | |
10068 | * coffread.c (coff_symfile_read): Update. | |
10069 | * common/agent.c (agent_look_up_symbols): Update. | |
10070 | * d-lang.c (d_main_name): Update. | |
10071 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10072 | * dec-thread.c (enable_dec_thread): Update. | |
10073 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10074 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
10075 | * eval.c (evaluate_subexp_standard): Update. | |
10076 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
10077 | to bound_minimal_symbol. | |
10078 | <objfile>: Remove. | |
10079 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
10080 | * frame.c (inside_main_func): Update. | |
10081 | * frv-tdep.c (frv_frame_this_id): Update. | |
10082 | * gcore.c (call_target_sbrk): Update. | |
10083 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10084 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10085 | Update. | |
10086 | * go-lang.c (go_main_name): Update. | |
10087 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
10088 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10089 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
10090 | Update. Change return type. | |
10091 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
10092 | type. | |
10093 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10094 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
10095 | Update. | |
10096 | * linux-nat.c (get_signo): Update. | |
10097 | * linux-thread-db.c (inferior_has_bug): Update | |
10098 | * m32c-tdep.c (m32c_return_value) | |
10099 | (m32c_m16c_address_to_pointer): Update. | |
10100 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10101 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10102 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10103 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
10104 | lookup_minimal_symbol. Change return type. | |
10105 | (lookup_minimal_symbol): Remove. | |
10106 | (lookup_bound_minimal_symbol): Update. | |
10107 | (lookup_minimal_symbol_text): Change return type. | |
10108 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10109 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
10110 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10111 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10112 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
10113 | (value_nsstring, find_imps): Update. | |
10114 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10115 | * p-lang.c (pascal_main_name): Update. | |
10116 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
10117 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10118 | * proc-service.c (ps_pglobal_lookup): Update. | |
10119 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
10120 | return type. | |
10121 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
10122 | * remote.c (remote_check_symbols): Update. | |
10123 | * sol-thread.c (ps_pglobal_lookup): Update. | |
10124 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10125 | * solib-dsbt.c (lm_base): Update. | |
10126 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
10127 | Update. | |
10128 | * solib-irix.c (locate_base): Update. | |
10129 | * solib-som.c (som_solib_create_inferior_hook) | |
10130 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
10131 | Update. | |
10132 | * solib-spu.c (spu_enable_break): Update. | |
10133 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10134 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10135 | (flush_ea_cache): Update. | |
10136 | * stabsread.c (define_symbol): Update. | |
10137 | * symfile.c (simple_read_overlay_table): Update. | |
10138 | * symtab.c (find_pc_sect_line): Update. | |
10139 | * tracepoint.c (scope_info): Update. | |
10140 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
10141 | * value.c (value_static_field): Update. | |
10142 | ||
40c1a007 TT |
10143 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10144 | ||
10145 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
10146 | SET_MSYMBOL_VALUE_ADDRESS. | |
10147 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
10148 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
10149 | SET_MSYMBOL_VALUE_ADDRESS. | |
10150 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
10151 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
10152 | ||
efd66ac6 TT |
10153 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10154 | ||
10155 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
10156 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
10157 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
10158 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
10159 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
10160 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
10161 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
10162 | * ada-lang.c (ada_main_name): Update. | |
10163 | (ada_lookup_simple_minsym): Update. | |
10164 | (ada_make_symbol_completion_list): Update. | |
10165 | (ada_add_standard_exceptions): Update. | |
10166 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
10167 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10168 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
10169 | * arm-tdep.c (skip_prologue_function): Update. | |
10170 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
10171 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
10172 | (arm_wince_skip_main_prologue): Update. | |
10173 | * auxv.c (ld_so_xfer_auxv): Update. | |
10174 | * avr-tdep.c (avr_scan_prologue): Update. | |
10175 | * ax-gdb.c (gen_var_ref): Update. | |
10176 | * block.c (call_site_for_pc): Update. | |
10177 | * blockframe.c (get_pc_function_start): Update. | |
10178 | (find_pc_partial_function_gnu_ifunc): Update. | |
10179 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
10180 | (create_longjmp_master_breakpoint): Update. | |
10181 | (create_std_terminate_master_breakpoint): Update. | |
10182 | (create_exception_master_breakpoint): Update. | |
10183 | (resolve_sal_pc): Update. | |
10184 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10185 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
10186 | Update. | |
10187 | * c-valprint.c (c_val_print): Update. | |
10188 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10189 | * coffread.c (coff_symfile_read): Update. | |
10190 | * common/agent.c (agent_look_up_symbols): Update. | |
10191 | * dbxread.c (find_stab_function_addr): Update. | |
10192 | (end_psymtab): Update. | |
10193 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10194 | (func_verify_no_selftailcall): Update. | |
10195 | (tailcall_dump): Update. | |
10196 | (call_site_find_chain_1): Update. | |
10197 | (dwarf_expr_reg_to_entry_parameter): Update. | |
10198 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
10199 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10200 | * f-valprint.c (info_common_command): Update. | |
10201 | * findvar.c (read_var_value): Update. | |
10202 | * frame.c (get_prev_frame_1): Update. | |
10203 | (inside_main_func): Update. | |
10204 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
10205 | (frv_frame_this_id): Update. | |
10206 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10207 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
10208 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
10209 | (gnuv3_skip_trampoline): Update. | |
10210 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
10211 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
10212 | (hppa_hpux_skip_trampoline_code): Update. | |
10213 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
10214 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10215 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10216 | * hppa-tdep.c (hppa_symbol_address) | |
10217 | (hppa_lookup_stub_minimal_symbol): Update. | |
10218 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
10219 | (i386_pe_skip_trampoline_code): Update. | |
10220 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
10221 | * infcall.c (get_function_name): Update. | |
10222 | * infcmd.c (until_next_command): Update. | |
10223 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10224 | (jit_inferior_init): Update. | |
10225 | * linespec.c (minsym_found): Update. | |
10226 | (add_minsym): Update. | |
10227 | * linux-fork.c (info_checkpoints_command): Update. | |
10228 | * linux-nat.c (get_signo): Update. | |
10229 | * linux-thread-db.c (inferior_has_bug): Update. | |
10230 | * m32c-tdep.c (m32c_return_value): Update. | |
10231 | (m32c_m16c_address_to_pointer): Update. | |
10232 | (m32c_m16c_pointer_to_address): Update. | |
10233 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10234 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10235 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10236 | * maint.c (maintenance_translate_address): Update. | |
10237 | * minsyms.c (add_minsym_to_hash_table): Update. | |
10238 | (add_minsym_to_demangled_hash_table): Update. | |
10239 | (msymbol_objfile): Update. | |
10240 | (lookup_minimal_symbol): Update. | |
10241 | (iterate_over_minimal_symbols): Update. | |
10242 | (lookup_minimal_symbol_text): Update. | |
10243 | (lookup_minimal_symbol_by_pc_name): Update. | |
10244 | (lookup_minimal_symbol_solib_trampoline): Update. | |
10245 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
10246 | (lookup_minimal_symbol_and_objfile): Update. | |
10247 | (prim_record_minimal_symbol_full): Update. | |
10248 | (compare_minimal_symbols): Update. | |
10249 | (compact_minimal_symbols): Update. | |
10250 | (build_minimal_symbol_hash_tables): Update. | |
10251 | (install_minimal_symbols): Update. | |
10252 | (terminate_minimal_symbol_table): Update. | |
10253 | (find_solib_trampoline_target): Update. | |
10254 | (minimal_symbol_upper_bound): Update. | |
10255 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10256 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
10257 | (mips_skip_pic_trampoline_code): Update. | |
10258 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
10259 | * objc-lang.c (selectors_info): Update. | |
10260 | (classes_info): Update. | |
10261 | (find_methods): Update. | |
10262 | (find_imps): Update. | |
10263 | (find_objc_msgsend): Update. | |
10264 | * objfiles.c (objfile_relocate1): Update. | |
10265 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
10266 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10267 | * p-valprint.c (pascal_val_print): Update. | |
10268 | * parse.c (write_exp_msymbol): Update. | |
10269 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
10270 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
10271 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10272 | * printcmd.c (build_address_symbolic): Update. | |
10273 | (sym_info): Update. | |
10274 | (address_info): Update. | |
10275 | * proc-service.c (ps_pglobal_lookup): Update. | |
10276 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
10277 | (find_pc_sect_psymtab): Update. | |
10278 | * python/py-framefilter.c (py_print_frame): Update. | |
10279 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10280 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
10281 | Update. | |
10282 | * remote.c (remote_check_symbols): Update. | |
10283 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
10284 | (rs6000_skip_trampoline_code): Update. | |
10285 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
10286 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10287 | * solib-dsbt.c (lm_base): Update. | |
10288 | * solib-frv.c (lm_base): Update. | |
10289 | (main_got): Update. | |
10290 | * solib-irix.c (locate_base): Update. | |
10291 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
10292 | (som_solib_desire_dynamic_linker_symbols): Update. | |
10293 | (link_map_start): Update. | |
10294 | * solib-spu.c (spu_enable_break): Update. | |
10295 | (ocl_enable_break): Update. | |
10296 | * solib-svr4.c (elf_locate_base): Update. | |
10297 | (enable_break): Update. | |
10298 | * spu-tdep.c (spu_get_overlay_table): Update. | |
10299 | (spu_catch_start): Update. | |
10300 | (flush_ea_cache): Update. | |
10301 | * stabsread.c (define_symbol): Update. | |
10302 | (scan_file_globals): Update. | |
10303 | * stack.c (find_frame_funname): Update. | |
10304 | (frame_info): Update. | |
10305 | * symfile.c (simple_read_overlay_table): Update. | |
10306 | (simple_overlay_update): Update. | |
10307 | * symmisc.c (dump_msymbols): Update. | |
10308 | * symtab.c (fixup_section): Update. | |
10309 | (find_pc_sect_line): Update. | |
10310 | (skip_prologue_sal): Update. | |
10311 | (search_symbols): Update. | |
10312 | (print_msymbol_info): Update. | |
10313 | (rbreak_command): Update. | |
10314 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
10315 | (completion_list_objc_symbol): Update. | |
10316 | (default_make_symbol_completion_list_break_on): Update. | |
10317 | * tracepoint.c (scope_info): Update. | |
10318 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
10319 | (tui_get_begin_asm_address): Update. | |
10320 | * valops.c (find_function_in_inferior): Update. | |
10321 | * value.c (value_static_field): Update. | |
10322 | (value_fn_field): Update. | |
10323 | ||
50e65b17 TT |
10324 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10325 | ||
10326 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
10327 | bound minimal symbols. Move code that knows about minsym | |
10328 | table layout... | |
10329 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
10330 | function. | |
10331 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
10332 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
10333 | minimal_symbol_upper_bound. | |
10334 | ||
1b588015 JB |
10335 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10336 | ||
10337 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
10338 | Use the type's name if its basic type does not have a tag. | |
10339 | ||
dbb9c2b1 JB |
10340 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10341 | ||
10342 | * dwarf2read.c (read_subrange_type): Add comment. | |
10343 | ||
55426c9d JB |
10344 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10345 | ||
10346 | * dwarf2read.c (update_enumeration_type_from_children): New | |
10347 | function, mostly extracted from process_structure_scope. | |
10348 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
10349 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
10350 | and flag_flag_enum fields. | |
10351 | ||
f2fce0ca PA |
10352 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10353 | ||
10354 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
10355 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
10356 | to_xfer_partial method. | |
10357 | ||
7a44e40e PA |
10358 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10359 | ||
10360 | * target.c (complete_target_initialization): Don't install | |
10361 | default_xfer_partial as to_xfer_partial hook. | |
10362 | (nomemory): Delete. | |
10363 | (update_current_target): Don't INHERIT nor de_fault | |
10364 | deprecated_xfer_memory. Delete de_fault macro. | |
10365 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
10366 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
10367 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
10368 | field. | |
10369 | ||
bd265cd0 PA |
10370 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10371 | ||
10372 | * go32-nat.c (my_write_child): New function. | |
10373 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
10374 | (go32_xfer_partial): New function. | |
10375 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
10376 | Instead install a to_xfer_partial hook. | |
10377 | ||
9d46c4e5 PA |
10378 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10379 | ||
10380 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
10381 | to_xfer_partial helper. Rewrite. | |
10382 | (procfs_xfer_partial): New function. | |
10383 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
10384 | Install a to_xfer_partial hook. | |
10385 | ||
a1583b1f PA |
10386 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10387 | ||
10388 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
10389 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
10390 | (m32r_xfer_partial): New function. | |
10391 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
10392 | Install a to_xfer_partial hook. | |
10393 | ||
6df1b29f PA |
10394 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10395 | ||
10396 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
10397 | helper. | |
10398 | (mips_xfer_partial): New function. | |
10399 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
10400 | hook. Install a to_xfer_partial hook. | |
10401 | ||
dc53a7ad JB |
10402 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
10403 | ||
10404 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
10405 | * gdbtypes.c (create_array_type_with_stride): New function, | |
10406 | renaming create_array_type, but with an added parameter | |
10407 | called "bit_stride". | |
10408 | (create_array_type): Re-implement using | |
10409 | create_array_type_with_stride. | |
10410 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
10411 | and DW_AT_bit_stride attributes. | |
10412 | ||
12ab52e9 PA |
10413 | 2014-02-26 Pedro Alves <palves@redhat.com> |
10414 | ||
10415 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
10416 | task-specific breakpoints. | |
10417 | ||
d16461ae PA |
10418 | 2014-02-25 Pedro Alves <palves@redhat.com> |
10419 | ||
10420 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
10421 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
10422 | ||
a8b16220 SS |
10423 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
10424 | ||
10425 | * defs.h: Annotate comments for Doxygen. | |
10426 | ||
b9e795ee TT |
10427 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
10428 | ||
10429 | * target.h (target_ignore): Don't declare. | |
10430 | * target.c (target_ignore): Remove. | |
10431 | ||
849c862e JK |
10432 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
10433 | ||
10434 | PR gdb/16626 | |
10435 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
10436 | debugfile. | |
10437 | ||
475109d8 JB |
10438 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
10439 | ||
10440 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
10441 | documentation. Adjust prototype to match the target_ops | |
10442 | to_xfer_partial method. Adjust implementation accordingly. | |
10443 | ||
e186c3bd HZ |
10444 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
10445 | ||
10446 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
10447 | to_traceframe_info. | |
10448 | ||
6d451942 KB |
10449 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
10450 | ||
041ab8b4 | 10451 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
10452 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
10453 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
10454 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
10455 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
10456 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
10457 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
10458 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
10459 | New constants. | |
10460 | (rl78_register_type): Use a data pointer type for SP and | |
10461 | new pseudo registers mentioned above. Use a 16 bit integer | |
10462 | type for all other register pairs. | |
10463 | (rl78_register_name, rl78_g10_register_name): Update for | |
10464 | new pseudo registers. | |
10465 | (rl78_pseudo_register_read): Likewise. | |
10466 | (rl78_pseudo_register_write): Likewise. | |
10467 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
10468 | to the newly added pseudo registers. | |
10469 | ||
eddf0bae DE |
10470 | 2014-02-24 Doug Evans <dje@google.com> |
10471 | ||
10472 | * value.c (record_latest_value): Fix comment. | |
10473 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
10474 | record_latest_value. | |
10475 | ||
e96027e0 PA |
10476 | 2014-02-24 Pedro Alves <palves@redhat.com> |
10477 | ||
10478 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
10479 | deprecated_xfer_memory hook. | |
10480 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
10481 | of the deprecated_xfer_memory target hook. | |
10482 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
10483 | helper. | |
10484 | ||
0837c976 YZ |
10485 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
10486 | ||
10487 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
10488 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
10489 | requested object is TARGET_OBJECT_LIBRARIES. | |
10490 | ||
bc113b4e YQ |
10491 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10492 | ||
10493 | * target.h (enum target_xfer_status) | |
10494 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
10495 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
10496 | explicitly. New. | |
10497 | * corefile.c (memory_error_message): User updated. | |
10498 | * exec.c (section_table_read_available_memory): Likewise. | |
10499 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
10500 | * target.c (target_xfer_status_to_string): Likewise. | |
10501 | (raw_memory_xfer_partial): Likewise. | |
10502 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
10503 | * valops.c (read_value_memory): Likewise. | |
10504 | * exec.h: Update comments. | |
10505 | ||
01cb8804 YQ |
10506 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10507 | ||
10508 | * target.c (target_xfer_status_to_string): Rename argument err | |
10509 | to status. | |
10510 | * target.h (target_xfer_status_to_string): Update declaration. | |
10511 | Replace target_xfer_error_to_string with | |
10512 | target_xfer_status_to_string in comment. | |
10513 | ||
93063aa6 YQ |
10514 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10515 | ||
10516 | * mips-linux-nat.c (super_close): Update its type. | |
10517 | (mips_linux_close): Pass 'self' to super_close. | |
10518 | ||
5c328c05 YQ |
10519 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
10520 | ||
10521 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
10522 | * corefile.c (read_memory): Adjusted. | |
10523 | * target.c (target_write_with_progress): Adjusted. | |
10524 | ||
f73023dd YQ |
10525 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10526 | ||
10527 | Revert two patches: | |
10528 | ||
10529 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
10530 | ||
10531 | * remote.c (remote_traceframe_info): Return early if | |
10532 | traceframe is not selected. | |
10533 | ||
10534 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
10535 | ||
10536 | * target.c (update_current_target): Change the default action | |
10537 | of 'to_traceframe_info' from tcomplain to return_zero. | |
10538 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
10539 | comments. | |
10540 | ||
5a2eb0ef YQ |
10541 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10542 | ||
10543 | * valops.c (read_value_memory): Rewrite it. Call | |
10544 | target_xfer_partial in a loop. | |
10545 | * exec.h (section_table_available_memory): Remove declaration. | |
10546 | Move comments to ... | |
10547 | * exec.c (section_table_available_memory): ... here. Make it | |
10548 | static. | |
10549 | ||
1ee79381 YQ |
10550 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10551 | ||
10552 | * exec.c (section_table_read_available_memory): New function. | |
10553 | * exec.h (section_table_read_available_memory): Declare. | |
10554 | * ctf.c (ctf_xfer_partial): Call | |
10555 | section_table_read_available_memory. | |
10556 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
10557 | ||
1ca49d37 YQ |
10558 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10559 | ||
10560 | * ctf.c (ctf_xfer_partial): Move code to ... | |
10561 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
10562 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
10563 | * tracefile.c: Include "exec.h". | |
10564 | * exec.h (exec_read_partial_read_only): Declare. | |
10565 | ||
a283690e YQ |
10566 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10567 | ||
10568 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
10569 | (tfile_has_memory): Remove. | |
10570 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
10571 | to_has_memory of tfile_ops. | |
10572 | * tracefile.c (tracefile_has_all_memory): New function. | |
10573 | (tracefile_has_memory): New function. | |
10574 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
10575 | to_has_memory of 'ops'. | |
10576 | ||
12e03cd0 YQ |
10577 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10578 | ||
10579 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
10580 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
10581 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
10582 | init_tracefile_ops. | |
10583 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
10584 | (tfile_has_stack, tfile_has_registers): Remove. | |
10585 | (tfile_thread_alive): Remove. | |
10586 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
10587 | init_tracefile_ops. | |
10588 | * tracefile.c (tracefile_has_stack): New function. | |
10589 | (tracefile_has_registers): New function. | |
10590 | (tracefile_thread_alive): New function. | |
10591 | (tracefile_get_trace_status): New function. | |
10592 | (init_tracefile_ops): New function. | |
10593 | * tracefile.h (init_tracefile_ops): Declare. | |
10594 | ||
11395323 YQ |
10595 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10596 | ||
10597 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
10598 | (O_LARGEFILE): Likewise. | |
10599 | (tfile_ops): Likewise. | |
10600 | (TRACE_HEADER_SIZE): Likewise. | |
10601 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
10602 | (cur_data_size): Likewise. | |
10603 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
10604 | (tfile_close, tfile_files_info): Likewise. | |
10605 | (tfile_get_trace_status): Likewise. | |
10606 | (tfile_get_tracepoint_status): Likewise. | |
10607 | (tfile_get_traceframe_address): Likewise. | |
10608 | (tfile_trace_find, match_blocktype): Likewise. | |
10609 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
10610 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
10611 | (tfile_get_trace_state_variable_value): Likewise. | |
10612 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
10613 | (tfile_has_stack, tfile_has_registers): Likewise. | |
10614 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
10615 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
10616 | (_initialize_tracepoint): Don't call init_tfile_ops | |
10617 | and add_target_with_completer. | |
10618 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
10619 | exec.h, completer.h and filenames.h. | |
10620 | (_initialize_tracefile_tfile): New function. | |
10621 | ||
7951c4eb YQ |
10622 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
10623 | ||
10624 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
10625 | tracefile-tfile.o. | |
10626 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
10627 | * ctf.c: Include "tracefile.h". | |
10628 | * tracefile.h: New file. | |
10629 | * tracefile.c: New file | |
10630 | * tracefile-tfile.c: New file. | |
10631 | * tracepoint.c: Include "tracefile.h". | |
10632 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
10633 | (stop_reason_names): Add const. | |
10634 | (trace_file_writer_xfree): Move it to tracefile.c. | |
10635 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
10636 | (trace_save_ctf): Likewise. | |
10637 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
10638 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
10639 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
10640 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
10641 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
10642 | (tfile_write_raw_data, tfile_end): Likewise. | |
10643 | (tfile_trace_file_writer_new): Likewise. | |
10644 | (free_uploaded_tp): Make it extern. | |
10645 | (free_uploaded_tsv): Make it extern. | |
10646 | (_initialize_tracepoint): Move code to register command 'tsave' | |
10647 | to tracefile.c. | |
10648 | * tracepoint.h (stop_reason_names): Declare. | |
10649 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
10650 | (struct trace_file_write_ops): Likewise. | |
10651 | (struct trace_file_writer): Likewise. | |
10652 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
10653 | ||
184cd072 JK |
10654 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
10655 | ||
10656 | PR gdb/16594 | |
10657 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
10658 | process name. | |
10659 | (get_cores_used_by_process): New parameter num_cores, use it. | |
10660 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
10661 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
10662 | process name. | |
10663 | ||
c63528fc AK |
10664 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
10665 | ||
10666 | * target.c (memory_xfer_partial): Fix length arg in call to | |
10667 | breakpoint_xfer_memory. | |
10668 | ||
d7b30f67 SDJ |
10669 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
10670 | ||
10671 | PR tdep/16397 | |
10672 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
10673 | number comes after the + or - signs. Adjust length of register | |
10674 | name to be extracted. | |
10675 | ||
8838afaf TT |
10676 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
10677 | ||
10678 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
10679 | (ada_varobj_ops): Mark "extern". | |
10680 | ||
05227d14 TT |
10681 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
10682 | ||
10683 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
10684 | ||
1254eefc DE |
10685 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
10686 | ||
10687 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
10688 | All callers updated. | |
10689 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
10690 | All callers updated. | |
10691 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
10692 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
10693 | ||
adde2bff DE |
10694 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
10695 | Joel Brobecker <brobecker@adacore.com> | |
10696 | Doug Evans <xdje42@gmail.com> | |
10697 | ||
10698 | PR symtab/16581 | |
10699 | * dwarf2read.c (struct die_info): New member in_process. | |
10700 | (reset_die_in_process): New function. | |
10701 | (process_die): Set it at the start, reset when returning. | |
10702 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
10703 | not already being processed. | |
10704 | ||
3be75f87 JB |
10705 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
10706 | ||
10707 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
10708 | (do_initial_windows_stuff): Add comment explaining why we wait | |
10709 | until after inferior initialization has finished before | |
10710 | processing all DLLs. | |
10711 | ||
47f7ffdb JB |
10712 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
10713 | ||
10714 | * windows-nat.c (get_module_name): Delete. | |
10715 | (windows_get_exec_module_filename): New function, mostly | |
10716 | inspired from get_module_name. | |
10717 | (windows_pid_to_exec_file): Replace call to get_module_name | |
10718 | by call to windows_get_exec_module_filename. | |
10719 | ||
1cd9feab JB |
10720 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
10721 | ||
10722 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
10723 | introductory comment. Remove code using get_module_name | |
10724 | to get the DLL's name. | |
10725 | ||
ea39ad35 JB |
10726 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
10727 | ||
10728 | * windows-nat.c (get_windows_debug_event): Ignore | |
10729 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
10730 | if windows_initialization_done == 0. | |
10731 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
10732 | Adjust implementation to always load all DLLs. | |
10733 | (do_initial_windows_stuff): Replace call to | |
10734 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
10735 | ||
95060284 JB |
10736 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
10737 | ||
10738 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
10739 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
10740 | and "assf" aliases into commands, and deprecate them as well. | |
10741 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
10742 | aliases are now deprecated. | |
10743 | ||
8d4fdb12 JB |
10744 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
10745 | ||
10746 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
10747 | new-line in debug string. Remove trailing spaces. | |
10748 | ||
1b281443 SS |
10749 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
10750 | ||
10751 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
10752 | ||
f7bd0f78 SC |
10753 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
10754 | ||
10755 | * NEWS: Add entry for the new feature | |
10756 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
10757 | and class values. | |
10758 | ||
399ebc3d SS |
10759 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
10760 | ||
10761 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
10762 | ||
c658158d PA |
10763 | 2014-02-19 Pedro Alves <palves@redhat.com> |
10764 | ||
10765 | * common/ptid.h (struct ptid): Mention that process_stratum | |
10766 | targets should prefer ptid.lwp. | |
10767 | ||
ba348170 PA |
10768 | 2014-02-19 Pedro Alves <palves@redhat.com> |
10769 | ||
10770 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
10771 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
10772 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
10773 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
10774 | store remote thread ids rather than ptid.tid. | |
10775 | (_initialize_remote): Adjust. | |
10776 | ||
ac01945b TT |
10777 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10778 | ||
10779 | * target.c (target_get_unwinder): Rewrite. | |
10780 | (target_get_tailcall_unwinder): Rewrite. | |
10781 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
10782 | (record_btrace_to_get_tailcall_unwinder): New function. | |
10783 | (init_record_btrace_ops): Update. | |
10784 | * target.h (struct target_ops) <to_get_unwinder, | |
10785 | to_get_tailcall_unwinder>: Now function pointers. Use | |
10786 | TARGET_DEFAULT_RETURN. | |
10787 | ||
8476dc92 TT |
10788 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10789 | ||
10790 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
10791 | argument. | |
10792 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
10793 | ||
c0eca49f TT |
10794 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10795 | ||
10796 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
10797 | directly. | |
10798 | * target-delegates.c: Rebuild. | |
10799 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
10800 | TARGET_DEFAULT_FUNC. | |
10801 | * target.c (default_target_decr_pc_after_break): Rename from | |
10802 | forward_target_decr_pc_after_break. Simplify. | |
10803 | (target_decr_pc_after_break): Rely on delegation. | |
10804 | ||
596b6b39 TT |
10805 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10806 | ||
10807 | * target.c (update_current_target): Do not INHERIT to_doc or | |
10808 | to_magic. Do not de_fault to_open or to_close. | |
10809 | ||
b427c1bc TT |
10810 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10811 | ||
10812 | * gcore.h (objfile_find_memory_regions): Declare. | |
10813 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
10814 | "self" argument. | |
10815 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
10816 | * exec.c: Include gcore.h. | |
10817 | (exec_set_find_memory_regions): Remove. | |
10818 | (exec_find_memory_regions): Remove. | |
10819 | (exec_do_find_memory_regions): Remove. | |
10820 | (init_exec_ops): Update. | |
10821 | * defs.h (exec_set_find_memory_regions): Remove. | |
10822 | ||
9b144037 TT |
10823 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10824 | ||
10825 | * target-delegates.c: Rebuild. | |
10826 | * target.h (struct target_ops) <to_extra_thread_info, | |
10827 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
10828 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
10829 | not 0, in TARGET_DEFAULT_RETURN. | |
10830 | ||
555bbdeb TT |
10831 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10832 | ||
10833 | * target.c (complete_target_initialization): Remove casts. Use | |
10834 | return_zero_has_execution. | |
10835 | (return_zero): Add "ignore" argument. | |
10836 | (return_zero_has_execution): New function. | |
10837 | (init_dummy_target): Remove casts. Use | |
10838 | return_zero_has_execution. | |
10839 | ||
be4ddd36 TT |
10840 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10841 | ||
10842 | * target.c (update_current_target): Update comments. Do not | |
10843 | INHERIT to_stratum. | |
10844 | ||
2117c711 TT |
10845 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10846 | ||
10847 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
10848 | needed. | |
10849 | * corelow.c (core_read_description): Delegate when needed. | |
10850 | * remote.c (remote_read_description): Delegate when needed. | |
10851 | * target-delegates.c: Rebuild. | |
10852 | * target.c (target_read_description): Rewrite. | |
10853 | * target.h (struct target_ops) <to_read_description>: Update | |
10854 | comment. Use TARGET_DEFAULT_RETURN. | |
10855 | ||
e88ef65c TT |
10856 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10857 | ||
10858 | * target-delegates.c: Rebuild. | |
10859 | * target.c (update_current_target): Don't inherit or default | |
10860 | to_can_run. | |
10861 | (find_default_run_target): Check against delegate_can_run. | |
10862 | * target.h (struct target_ops) <to_can_run>: Use | |
10863 | TARGET_DEFAULT_RETURN. | |
10864 | ||
86a0854a TT |
10865 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10866 | ||
10867 | * target-delegates.c: Rebuild. | |
10868 | * target.c (target_disconnect): Unconditionally delegate. | |
10869 | * target.h (struct target_ops) <to_disconnect>: Use | |
10870 | TARGET_DEFAULT_NORETURN. | |
10871 | ||
ee97f592 TT |
10872 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10873 | ||
10874 | * record.c (record_stop): Unconditionally delegate. | |
10875 | * target-delegates.c: Rebuild. | |
10876 | * target.c (target_stop_recording): Unconditionally delegate. | |
10877 | * target.h (struct target_ops) <to_stop_recording>: Use | |
10878 | TARGET_DEFAULT_IGNORE. | |
10879 | ||
6dc7fcf4 TT |
10880 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10881 | ||
10882 | * target-delegates.c: Rebuild. | |
10883 | * target.c (target_enable_btrace): Unconditionally delegate. | |
10884 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
10885 | TARGET_DEFAULT_NORETURN. | |
10886 | ||
eb5b20d4 TT |
10887 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10888 | ||
10889 | * target-delegates.c: Rebuild. | |
10890 | * target.c (target_read_btrace): Unconditionally delegate. | |
10891 | * target.h (struct target_ops) <to_read_btrace>: Use | |
10892 | TARGET_DEFAULT_NORETURN. | |
10893 | ||
9ace480d TT |
10894 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10895 | ||
10896 | * target-delegates.c: Rebuild. | |
10897 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
10898 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
10899 | TARGET_DEFAULT_NORETURN. | |
10900 | ||
8dc292d3 TT |
10901 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10902 | ||
10903 | * target-delegates.c: Rebuild. | |
10904 | * target.c (target_disable_btrace): Unconditionally delegate. | |
10905 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
10906 | TARGET_DEFAULT_NORETURN. | |
10907 | ||
58a5184e TT |
10908 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10909 | ||
10910 | * target-delegates.c: Rebuild. | |
10911 | * target.c (default_search_memory): New function. | |
10912 | (simple_search_memory): Update comment. | |
10913 | (target_search_memory): Unconditionally delegate. | |
10914 | * target.h (struct target_ops) <to_search_memory>: Use | |
10915 | TARGET_DEFAULT_FUNC. | |
10916 | ||
8de71aab TT |
10917 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10918 | ||
10919 | * auxv.c (default_auxv_parse): No longer static. | |
10920 | (target_auxv_parse): Unconditionally delegate. | |
10921 | * auxv.h (default_auxv_parse): Declare. | |
10922 | * target-delegates.c: Rebuild. | |
10923 | * target.c: Include auxv.h. | |
10924 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
10925 | TARGET_DEFAULT_FUNC. | |
10926 | ||
6b2c5a57 TT |
10927 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10928 | ||
10929 | * target-delegates.c: Rebuild. | |
10930 | * target.c (target_memory_map): Unconditionally delegate. | |
10931 | * target.h (struct target_ops) <to_memory_map>: Use | |
10932 | TARGET_DEFAULT_RETURN. | |
10933 | ||
cbffc065 TT |
10934 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10935 | ||
10936 | * target-delegates.c: Rebuild. | |
10937 | * target.c (target_thread_alive): Unconditionally delegate. | |
10938 | * target.h (struct target_ops) <to_thread_alive>: Use | |
10939 | TARGET_DEFAULT_RETURN. | |
10940 | ||
f09e2107 TT |
10941 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10942 | ||
10943 | * target-delegates.c: Rebuild. | |
10944 | * target.c (target_save_record): Unconditionally delegate. | |
10945 | * target.h (struct target_ops) <to_save_record>: Use | |
10946 | TARGET_DEFAULT_NORETURN. | |
10947 | ||
07366925 TT |
10948 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10949 | ||
10950 | * target-delegates.c: Rebuild. | |
10951 | * target.c (target_delete_record): Unconditionally delegate. | |
10952 | * target.h (struct target_ops) <to_delete_record>: Use | |
10953 | TARGET_DEFAULT_NORETURN. | |
10954 | ||
dd2e9d25 TT |
10955 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10956 | ||
10957 | * target-delegates.c: Rebuild. | |
10958 | * target.c (target_record_is_replaying): Unconditionally | |
10959 | delegate. | |
10960 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
10961 | TARGET_DEFAULT_RETURN. | |
10962 | ||
671e76cc TT |
10963 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10964 | ||
10965 | * target-delegates.c: Rebuild. | |
10966 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
10967 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
10968 | TARGET_DEFAULT_NORETURN. | |
10969 | ||
e9179bb3 TT |
10970 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10971 | ||
10972 | * target-delegates.c: Rebuild. | |
10973 | * target.c (target_goto_record_end): Unconditionally delegate. | |
10974 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
10975 | TARGET_DEFAULT_NORETURN. | |
10976 | ||
05969c84 TT |
10977 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10978 | ||
10979 | * target-delegates.c: Rebuild. | |
10980 | * target.c (target_goto_record): Unconditionally delegate. | |
10981 | * target.h (struct target_ops) <to_goto_record>: Use | |
10982 | TARGET_DEFAULT_NORETURN. | |
10983 | ||
3679abfa TT |
10984 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10985 | ||
10986 | * target-delegates.c: Rebuild. | |
10987 | * target.c (target_insn_history): Unconditionally delegate. | |
10988 | * target.h (struct target_ops) <to_insn_history>: Use | |
10989 | TARGET_DEFAULT_NORETURN. | |
10990 | ||
8444ab58 TT |
10991 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10992 | ||
10993 | * target-delegates.c: Rebuild. | |
10994 | * target.c (target_insn_history_from): Unconditionally delegate. | |
10995 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
10996 | TARGET_DEFAULT_NORETURN. | |
10997 | ||
c29302cc TT |
10998 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
10999 | ||
11000 | * target-delegates.c: Rebuild. | |
11001 | * target.c (target_insn_history_range): Unconditionally delegate. | |
11002 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
11003 | TARGET_DEFAULT_NORETURN. | |
11004 | ||
170049d4 TT |
11005 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11006 | ||
11007 | * target-delegates.c: Rebuild. | |
11008 | * target.c (target_call_history): Unconditionally delegate. | |
11009 | * target.h (struct target_ops) <to_call_history>: Use | |
11010 | TARGET_DEFAULT_NORETURN. | |
11011 | ||
16fc27d6 TT |
11012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11013 | ||
11014 | * target-delegates.c: Rebuild. | |
11015 | * target.c (target_call_history_from): Unconditionally delegate. | |
11016 | * target.h (struct target_ops) <to_call_history_from>: Use | |
11017 | TARGET_DEFAULT_NORETURN. | |
11018 | ||
115d9817 TT |
11019 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11020 | ||
11021 | * target-delegates.c: Rebuild. | |
11022 | * target.c (target_call_history_range): Unconditionally delegate. | |
11023 | * target.h (struct target_ops) <to_call_history_range>: Use | |
11024 | TARGET_DEFAULT_NORETURN. | |
11025 | ||
eb276a6b TT |
11026 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11027 | ||
11028 | * target-delegates.c: Rebuild. | |
11029 | * target.c (target_verify_memory): Unconditionally delegate. | |
11030 | * target.h (struct target_ops) <to_verify_memory>: Use | |
11031 | TARGET_DEFAULT_NORETURN. | |
11032 | ||
9e538d0d TT |
11033 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11034 | ||
11035 | * target-delegates.c: Rebuild. | |
11036 | * target.c (target_core_of_thread): Unconditionally delegate. | |
11037 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
11038 | TARGET_DEFAULT_RETURN. | |
11039 | ||
f6fb2925 TT |
11040 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11041 | ||
11042 | * target-delegates.c: Rebuild. | |
11043 | * target.c (target_flash_done): Unconditionally delegate. | |
11044 | * target.h (struct target_ops) <to_flash_done>: Use | |
11045 | TARGET_DEFAULT_NORETURN. | |
11046 | ||
e8a6c6ac TT |
11047 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11048 | ||
11049 | * target-delegates.c: Rebuild. | |
11050 | * target.c (target_flash_erase): Unconditionally delegate. | |
11051 | * target.h (struct target_ops) <to_flash_erase>: Use | |
11052 | TARGET_DEFAULT_NORETURN. | |
11053 | ||
7e35c012 TT |
11054 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11055 | ||
11056 | * target-delegates.c: Rebuild. | |
11057 | * target.c (target_get_section_table): Unconditionally delegate. | |
11058 | * target.h (struct target_ops) <to_get_section_table>: Use | |
11059 | TARGET_DEFAULT_RETURN. | |
11060 | ||
770234d3 TT |
11061 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11062 | ||
11063 | * target-delegates.c: Rebuild. | |
11064 | * target.c (target_pid_to_str): Unconditionally delegate. | |
11065 | (init_dummy_target): Don't initialize to_pid_to_str. | |
11066 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
11067 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
11068 | TARGET_DEFAULT_FUNC. | |
11069 | ||
09b0dc2b TT |
11070 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11071 | ||
11072 | * target-delegates.c: Rebuild. | |
11073 | * target.c (target_find_new_threads): Unconditionally delegate. | |
11074 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
11075 | TARGET_DEFAULT_RETURN. | |
11076 | ||
7d4f8efa TT |
11077 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11078 | ||
11079 | * target-delegates.c: Rebuild. | |
11080 | * target.c (target_program_signals): Unconditionally delegate. | |
11081 | * target.h (struct target_ops) <to_program_signals>: Use | |
11082 | TARGET_DEFAULT_IGNORE. | |
11083 | ||
035cad7f TT |
11084 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11085 | ||
11086 | * target-delegates.c: Rebuild. | |
11087 | * target.c (target_pass_signals): Unconditionally delegate. | |
11088 | * target.h (struct target_ops) <to_pass_signals>: Use | |
11089 | TARGET_DEFAULT_IGNORE. | |
11090 | ||
8d657035 TT |
11091 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11092 | ||
11093 | * target-delegates.c: Rebuild. | |
11094 | * target.c (default_mourn_inferior): New function. | |
11095 | (target_mourn_inferior): Unconditionally delegate. | |
11096 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
11097 | TARGET_DEFAULT_FUNC. | |
11098 | ||
098dba18 TT |
11099 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11100 | ||
11101 | * target-delegates.c: Rebuild. | |
11102 | * target.c (default_follow_fork): New function. | |
11103 | (target_follow_fork): Unconditionally delegate. | |
11104 | * target.h (struct target_ops) <to_follow_fork>: Use | |
11105 | TARGET_DEFAULT_FUNC. | |
11106 | ||
423a4807 TT |
11107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11108 | ||
11109 | * target-delegates.c: Rebuild. | |
11110 | * target.c (target_kill): Unconditionally delegate. | |
11111 | * target.h (struct target_ops) <to_kill>: Use | |
11112 | TARGET_DEFAULT_NORETURN. | |
11113 | ||
6c7e5e5c TT |
11114 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11115 | ||
11116 | * target-delegates.c: Rebuild. | |
11117 | * target.c (target_masked_watch_num_registers): Unconditionally | |
11118 | delegate. | |
11119 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
11120 | Use TARGET_DEFAULT_RETURN. | |
11121 | ||
8b1c364c TT |
11122 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11123 | ||
11124 | * target-delegates.c: Rebuild. | |
11125 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
11126 | delegate. | |
11127 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
11128 | TARGET_DEFAULT_RETURN. | |
11129 | ||
cd4ae029 TT |
11130 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11131 | ||
11132 | * target-delegates.c: Rebuild. | |
11133 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
11134 | delegate. | |
11135 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
11136 | TARGET_DEFAULT_RETURN. | |
11137 | ||
a134316b TT |
11138 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11139 | ||
11140 | * target-delegates.c: Rebuild. | |
11141 | * target.c (target_ranged_break_num_registers): Unconditionally | |
11142 | delegate. | |
11143 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
11144 | Use TARGET_DEFAULT_RETURN. | |
11145 | ||
ad5989bd TT |
11146 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11147 | ||
11148 | * target-delegates.c: Rebuild. | |
11149 | * target.c (target_fetch_registers): Unconditionally delegate. | |
11150 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
11151 | TARGET_DEFAULT_NORETURN. | |
11152 | ||
46ee7e8d TT |
11153 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11154 | ||
11155 | * target-delegates.c: Rebuild. | |
11156 | * target.c (update_current_target): Don't inherit or default | |
11157 | to_stop. | |
11158 | * target.h (struct target_ops) <to_stop>: Use | |
11159 | TARGET_DEFAULT_IGNORE. | |
11160 | ||
843f59ed TT |
11161 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11162 | ||
11163 | * target-delegates.c: Rebuild. | |
11164 | * target.c (update_current_target): Don't inherit or default | |
11165 | to_can_run_breakpoint_commands. | |
11166 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
11167 | Use TARGET_DEFAULT_RETURN. | |
11168 | ||
ccfde2a0 TT |
11169 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11170 | ||
11171 | * target-delegates.c: Rebuild. | |
11172 | * target.c (update_current_target): Don't inherit or default | |
11173 | to_supports_evaluation_of_breakpoint_conditions. | |
11174 | * target.h (struct target_ops) | |
11175 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
11176 | TARGET_DEFAULT_RETURN. | |
11177 | ||
0de91722 TT |
11178 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11179 | ||
11180 | * target-delegates.c: Rebuild. | |
11181 | * target.c (update_current_target): Don't inherit or default | |
11182 | to_augmented_libraries_svr4_read. | |
11183 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
11184 | Use TARGET_DEFAULT_RETURN. | |
11185 | ||
9a7d8b48 TT |
11186 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11187 | ||
11188 | * target-delegates.c: Rebuild. | |
11189 | * target.c (update_current_target): Don't inherit or default | |
11190 | to_can_use_agent. | |
11191 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
11192 | TARGET_DEFAULT_RETURN. | |
11193 | ||
d9db5b21 TT |
11194 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11195 | ||
11196 | * target-delegates.c: Rebuild. | |
11197 | * target.c (update_current_target): Don't inherit or default | |
11198 | to_use_agent. | |
11199 | * target.h (struct target_ops) <to_use_agent>: Use | |
11200 | TARGET_DEFAULT_NORETURN. | |
11201 | ||
92155eeb TT |
11202 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11203 | ||
11204 | * target-delegates.c: Rebuild. | |
11205 | * target.c (update_current_target): Don't inherit or default | |
11206 | to_traceframe_info. | |
11207 | (return_null): Remove. | |
11208 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
11209 | TARGET_DEFAULT_RETURN. | |
11210 | ||
d6522a22 TT |
11211 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11212 | ||
11213 | * target-delegates.c: Rebuild. | |
11214 | * target.c (update_current_target): Don't inherit or default | |
11215 | to_static_tracepoint_markers_by_strid. | |
11216 | * target.h (struct target_ops) | |
11217 | <to_static_tracepoint_markers_by_strid>: Use | |
11218 | TARGET_DEFAULT_NORETURN. | |
11219 | ||
4c3e4425 TT |
11220 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11221 | ||
11222 | * target-delegates.c: Rebuild. | |
11223 | * target.c (update_current_target): Don't inherit or default | |
11224 | to_static_tracepoint_marker_at. | |
11225 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
11226 | Use TARGET_DEFAULT_RETURN. | |
11227 | ||
dcd6917f TT |
11228 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11229 | ||
11230 | * target-delegates.c: Rebuild. | |
11231 | * target.c (update_current_target): Don't inherit or default | |
11232 | to_set_permissions. | |
11233 | * target.h (struct target_ops) <to_set_permissions>: Use | |
11234 | TARGET_DEFAULT_IGNORE. | |
11235 | ||
22bcceee TT |
11236 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11237 | ||
11238 | * target-delegates.c: Rebuild. | |
11239 | * target.c (update_current_target): Don't inherit or default | |
11240 | to_get_tib_address. | |
11241 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
11242 | TARGET_DEFAULT_NORETURN. | |
11243 | ||
8586ccaa TT |
11244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11245 | ||
11246 | * target-delegates.c: Rebuild. | |
11247 | * target.c (update_current_target): Don't inherit or default | |
11248 | to_set_trace_notes. | |
11249 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
11250 | TARGET_DEFAULT_RETURN. | |
11251 | ||
91df8d1d TT |
11252 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11253 | ||
11254 | * target-delegates.c: Rebuild. | |
11255 | * target.c (update_current_target): Don't initialize | |
11256 | to_set_trace_buffer_size. | |
11257 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
11258 | TARGET_DEFAULT_IGNORE. | |
11259 | ||
8d526939 TT |
11260 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11261 | ||
11262 | * target-delegates.c: Rebuild. | |
11263 | * target.c (update_current_target): Don't inherit or default | |
11264 | to_set_circular_trace_buffer. | |
11265 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
11266 | TARGET_DEFAULT_IGNORE. | |
11267 | ||
0bcfeddf TT |
11268 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11269 | ||
11270 | * target-delegates.c: Rebuild. | |
11271 | * target.c (update_current_target): Don't inherit or default | |
11272 | to_set_disconnected_tracing. | |
11273 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
11274 | TARGET_DEFAULT_IGNORE. | |
11275 | ||
9249843f TT |
11276 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11277 | ||
11278 | * target-delegates.c: Rebuild. | |
11279 | * target.c (update_current_target): Don't inherit or default | |
11280 | to_get_min_fast_tracepoint_insn_len. | |
11281 | (return_minus_one): Remove. | |
11282 | * target.h (struct target_ops) | |
11283 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
11284 | ||
ace92e7d TT |
11285 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11286 | ||
11287 | * target-delegates.c: Rebuild. | |
11288 | * target.c (update_current_target): Don't inherit or default | |
11289 | to_get_raw_trace_data. | |
11290 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
11291 | TARGET_DEFAULT_NORETURN. | |
11292 | ||
08120467 TT |
11293 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11294 | ||
11295 | * target-delegates.c: Rebuild. | |
11296 | * target.c (update_current_target): Don't inherit or default | |
11297 | to_upload_trace_state_variables. | |
11298 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
11299 | Use TARGET_DEFAULT_RETURN. | |
11300 | ||
1e949b00 TT |
11301 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11302 | ||
11303 | * target-delegates.c: Rebuild. | |
11304 | * target.c (update_current_target): Don't inherit or default | |
11305 | to_upload_tracepoints. | |
11306 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
11307 | TARGET_DEFAULT_RETURN. | |
11308 | ||
a2e6c147 TT |
11309 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11310 | ||
11311 | * target-delegates.c: Rebuild. | |
11312 | * target.c (update_current_target): Don't inherit or default | |
11313 | to_save_trace_data. | |
11314 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
11315 | TARGET_DEFAULT_NORETURN. | |
11316 | ||
959bcd0b TT |
11317 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11318 | ||
11319 | * target-delegates.c: Rebuild. | |
11320 | * target.c (update_current_target): Don't inherit or default | |
11321 | to_get_trace_state_variable_value. | |
11322 | * target.h (struct target_ops) | |
11323 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
11324 | ||
afc94e66 TT |
11325 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11326 | ||
11327 | * target-delegates.c: Rebuild. | |
11328 | * target.c (update_current_target): Don't inherit or default | |
11329 | to_trace_find. | |
11330 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
11331 | ||
e51c07ea TT |
11332 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11333 | ||
11334 | * target-delegates.c: Rebuild. | |
11335 | * target.c (update_current_target): Don't inherit or default | |
11336 | to_trace_stop. | |
11337 | * target.h (struct target_ops) <to_trace_stop>: Use | |
11338 | TARGET_DEFAULT_NORETURN. | |
11339 | ||
6fea14cd TT |
11340 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11341 | ||
11342 | * target-delegates.c: Rebuild. | |
11343 | * target.c (update_current_target): Don't inherit or default | |
11344 | to_get_tracepoint_status. | |
11345 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
11346 | TARGET_DEFAULT_NORETURN. | |
11347 | ||
4072d4ff TT |
11348 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11349 | ||
11350 | * target-delegates.c: Rebuild. | |
11351 | * target.c (update_current_target): Don't inherit or default | |
11352 | to_get_trace_status. | |
11353 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
11354 | TARGET_DEFAULT_RETURN. | |
11355 | ||
25da2e80 TT |
11356 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11357 | ||
11358 | * target-delegates.c: Rebuild. | |
11359 | * target.c (update_current_target): Don't inherit or default | |
11360 | to_trace_start. | |
11361 | * target.h (struct target_ops) <to_trace_start>: Use | |
11362 | TARGET_DEFAULT_NORETURN. | |
11363 | ||
86dd181d TT |
11364 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11365 | ||
11366 | * target-delegates.c: Rebuild. | |
11367 | * target.c (update_current_target): Don't inherit or default | |
11368 | to_trace_set_readonly_regions. | |
11369 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
11370 | Use TARGET_DEFAULT_NORETURN. | |
11371 | ||
05c41993 TT |
11372 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11373 | ||
11374 | * target-delegates.c: Rebuild. | |
11375 | * target.c (update_current_target): Don't inherit or default | |
11376 | to_disable_tracepoint. | |
11377 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
11378 | TARGET_DEFAULT_NORETURN. | |
11379 | ||
151f70f1 TT |
11380 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11381 | ||
11382 | * target-delegates.c: Rebuild. | |
11383 | * target.c (update_current_target): Don't inherit or default | |
11384 | to_enable_tracepoint. | |
11385 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
11386 | TARGET_DEFAULT_NORETURN. | |
11387 | ||
94eb98b9 TT |
11388 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11389 | ||
11390 | * target-delegates.c: Rebuild. | |
11391 | * target.c (update_current_target): Don't inherit or default | |
11392 | to_download_trace_state_variable. | |
11393 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
11394 | Use TARGET_DEFAULT_NORETURN. | |
11395 | ||
719acc4a TT |
11396 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11397 | ||
11398 | * target-delegates.c: Rebuild. | |
11399 | * target.c (update_current_target): Don't inherit or default | |
11400 | to_can_download_tracepoint. | |
11401 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
11402 | TARGET_DEFAULT_RETURN. | |
11403 | ||
9a980a22 TT |
11404 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11405 | ||
11406 | * target-delegates.c: Rebuild. | |
11407 | * target.c (update_current_target): Don't inherit or default | |
11408 | to_download_tracepoint. | |
11409 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
11410 | TARGET_DEFAULT_NORETURN. | |
11411 | ||
5536135b TT |
11412 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11413 | ||
11414 | * target-delegates.c: Rebuild. | |
11415 | * target.c (update_current_target): Don't inherit or default | |
11416 | to_trace_init. | |
11417 | * target.h (struct target_ops) <to_trace_init>: Use | |
11418 | TARGET_DEFAULT_RETURN. | |
11419 | ||
9409d39e TT |
11420 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11421 | ||
11422 | * target-delegates.c: Rebuild. | |
11423 | * target.c (update_current_target): Don't inherit or default | |
11424 | to_supports_string_tracing. | |
11425 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
11426 | TARGET_DEFAULT_RETURN. | |
11427 | ||
aab1b22d TT |
11428 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11429 | ||
11430 | * target-delegates.c: Rebuild. | |
11431 | * target.c (update_current_target): Don't inherit or default | |
11432 | to_supports_enable_disable_tracepoint. | |
11433 | * target.h (struct target_ops) | |
11434 | <to_supports_enable_disable_tracepoint>: Use | |
11435 | TARGET_DEFAULT_RETURN. | |
11436 | ||
a7304748 TT |
11437 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11438 | ||
11439 | * target-delegates.c: Rebuild. | |
11440 | * target.c (update_current_target): Don't inherit or default | |
11441 | to_supports_multi_process. | |
11442 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
11443 | TARGET_DEFAULT_RETURN. | |
11444 | ||
4229b31d TT |
11445 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11446 | ||
11447 | * target-delegates.c: Rebuild. | |
11448 | * target.c (update_current_target): Don't inherit or default | |
11449 | to_get_ada_task_ptid. | |
11450 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
11451 | TARGET_DEFAULT_FUNC. | |
11452 | ||
43eba180 TT |
11453 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11454 | ||
11455 | * target-delegates.c: Rebuild. | |
11456 | * target.c (update_current_target): Don't inherit or default | |
11457 | to_thread_architecture. | |
11458 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
11459 | TARGET_DEFAULT_FUNC. | |
11460 | ||
fe31bf5b TT |
11461 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11462 | ||
11463 | * target-delegates.c: Rebuild. | |
11464 | * target.c (update_current_target): Don't inherit or default | |
11465 | to_execution_direction. | |
11466 | * target.h (struct target_ops) <to_execution_direction>: Use | |
11467 | TARGET_DEFAULT_FUNC. | |
11468 | ||
53e1cfc7 TT |
11469 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11470 | ||
11471 | * target-delegates.c: Rebuild. | |
11472 | * target.c (update_current_target): Don't inherit or default | |
11473 | to_can_execute_reverse. | |
11474 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
11475 | TARGET_DEFAULT_RETURN. | |
11476 | (target_can_execute_reverse): Unconditionally delegate. | |
11477 | ||
9bb9d61d TT |
11478 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11479 | ||
11480 | * target-delegates.c: Rebuild. | |
11481 | * target.c (update_current_target): Don't inherit or default | |
11482 | to_goto_bookmark. | |
11483 | (dummy_goto_bookmark): Remove. | |
11484 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
11485 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
11486 | TARGET_DEFAULT_NORETURN. | |
11487 | ||
3dbafbbb TT |
11488 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11489 | ||
11490 | * target-delegates.c: Rebuild. | |
11491 | * target.c (update_current_target): Don't inherit or default | |
11492 | to_get_bookmark. | |
11493 | (dummy_get_bookmark): Remove. | |
11494 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
11495 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
11496 | TARGET_DEFAULT_NORETURN | |
11497 | ||
16f796b1 TT |
11498 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11499 | ||
11500 | * target-delegates.c: Rebuild. | |
11501 | * target.c (update_current_target): Don't inherit or default | |
11502 | to_make_corefile_notes. | |
11503 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
11504 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
11505 | TARGET_DEFAULT_FUNC. | |
11506 | ||
0b5a2719 TT |
11507 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11508 | ||
11509 | * target-delegates.c: Rebuild. | |
11510 | * target.c (update_current_target): Don't inherit or default | |
11511 | to_find_memory_regions. | |
11512 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
11513 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
11514 | TARGET_DEFAULT_FUNC. | |
11515 | ||
d9cb0195 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_log_command. | |
11521 | * target.h (struct target_ops) <to_log_command>: Use | |
11522 | TARGET_DEFAULT_IGNORE. | |
11523 | (target_log_command): Unconditionally delegate. | |
11524 | ||
830ca330 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_pid_to_exec_file. | |
11530 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
11531 | TARGET_DEFAULT_RETURN. | |
11532 | ||
825828fc TT |
11533 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11534 | ||
11535 | * target-delegates.c: Rebuild. | |
11536 | * target.c (update_current_target): Don't inherit or default | |
11537 | to_thread_name. | |
11538 | (target_thread_name): Unconditionally delegate. | |
11539 | * target.h (struct target_ops) <to_thread_name>: Use | |
11540 | TARGET_DEFAULT_RETURN. | |
11541 | ||
4a7e6dda 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_extra_thread_info. | |
11547 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
11548 | TARGET_DEFAULT_RETURN. | |
11549 | ||
0db88c1d 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_has_exited. | |
11555 | * target.h (struct target_ops) <to_has_exited>: Use | |
11556 | TARGET_DEFAULT_RETURN.. | |
11557 | ||
6a9fa051 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_syscall_catchpoint. | |
11563 | (return_one): Remove. | |
11564 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
11565 | TARGET_DEFAULT_RETURN. | |
11566 | ||
62f64d7a TT |
11567 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11568 | ||
11569 | * target-delegates.c: Rebuild. | |
11570 | * target.c (update_current_target): Don't inherit or default | |
11571 | to_insert_exec_catchpoint. | |
11572 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
11573 | TARGET_DEFAULT_RETURN. | |
11574 | ||
cda0f38c TT |
11575 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
11576 | ||
11577 | * target-delegates.c: Rebuild. | |
11578 | * target.c (update_current_target): Don't inherit or default | |
11579 | to_insert_exec_catchpoint. | |
11580 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
11581 | TARGET_DEFAULT_RETURN. | |
11582 | ||
95c3375e TT |
11583 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11584 | ||
11585 | * target-delegates.c: Rebuild. | |
11586 | * target.c (update_current_target): Don't inherit or default | |
11587 | to_remove_vfork_catchpoint. | |
11588 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
11589 | TARGET_DEFAULT_RETURN. | |
11590 | ||
7e18a8dc TT |
11591 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11592 | ||
11593 | * target-delegates.c: Rebuild. | |
11594 | * target.c (update_current_target): Don't inherit or default | |
11595 | to_insert_vfork_catchpoint. | |
11596 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
11597 | TARGET_DEFAULT_RETURN. | |
11598 | ||
e1a21fb7 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_remove_fork_catchpoint. | |
11604 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
11605 | TARGET_DEFAULT_RETURN. | |
11606 | ||
5958ebeb 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_insert_fork_catchpoint. | |
11612 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
11613 | TARGET_DEFAULT_RETURN. | |
11614 | ||
340ba4bf 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_post_startup_inferior. | |
11620 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
11621 | TARGET_DEFAULT_IGNORE. | |
11622 | ||
7634da87 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_load. | |
11628 | * target.h (struct target_ops) <to_load>: Use | |
11629 | TARGET_DEFAULT_NORETURN. | |
11630 | ||
e19e919f 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_terminal_info. | |
11636 | * target.h (struct target_ops) <to_terminal_info>: Use | |
11637 | TARGET_DEFAULT_FUNC. | |
11638 | ||
c6ea8f79 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_terminal_save_ours. | |
11644 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
11645 | TARGET_DEFAULT_IGNORE. | |
11646 | ||
e4a733f1 TT |
11647 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11648 | ||
11649 | * target-delegates.c: Rebuild. | |
11650 | * target.c (update_current_target): Don't inherit or default | |
11651 | to_terminal_ours. | |
11652 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
11653 | TARGET_DEFAULT_IGNORE. | |
11654 | ||
74fcbef9 TT |
11655 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11656 | ||
11657 | * target-delegates.c: Rebuild. | |
11658 | * target.c (update_current_target): Don't inherit or default | |
11659 | to_terminal_ours_for_output. | |
11660 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
11661 | TARGET_DEFAULT_IGNORE. | |
11662 | ||
ddeaacc9 TT |
11663 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11664 | ||
11665 | * target-delegates.c: Rebuild. | |
11666 | * target.c (update_current_target): Don't inherit or default | |
11667 | to_terminal_inferior. | |
11668 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
11669 | TARGET_DEFAULT_IGNORE. | |
11670 | ||
0343661d TT |
11671 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11672 | ||
11673 | * target-delegates.c: Rebuild. | |
11674 | * target.c (update_current_target): Don't inherit or default | |
11675 | to_terminal_init. | |
11676 | * target.h (struct target_ops) <to_terminal_init>: Use | |
11677 | TARGET_DEFAULT_IGNORE. | |
11678 | ||
77cdffe9 TT |
11679 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11680 | ||
11681 | * target-delegates.c: Rebuild. | |
11682 | * target.c (update_current_target): Don't inherit or default | |
11683 | to_can_accel_watchpoint_condition. | |
11684 | * target.h (struct target_ops) | |
11685 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
11686 | ||
d03655e4 TT |
11687 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11688 | ||
11689 | * target-delegates.c: Rebuild. | |
11690 | * target.c (update_current_target): Don't inherit or default | |
11691 | to_region_ok_for_hw_watchpoint. | |
11692 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
11693 | Use TARGET_DEFAULT_FUNC. | |
11694 | ||
65f160a9 TT |
11695 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11696 | ||
11697 | * target-delegates.c: Rebuild. | |
11698 | * target.c (update_current_target): Don't inherit or default | |
11699 | to_watchpoint_addr_within_range. | |
11700 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
11701 | Use TARGET_DEFAULT_FUNC. | |
11702 | ||
61dd109f TT |
11703 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11704 | ||
11705 | * target-delegates.c: Rebuild. | |
11706 | * target.c (update_current_target): Don't inherit or default | |
11707 | to_remove_watchpoint. | |
11708 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
11709 | TARGET_DEFAULT_NORETURN. | |
11710 | ||
016facd4 TT |
11711 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11712 | ||
11713 | * target-delegates.c: Rebuild. | |
11714 | * target.c (update_current_target): Don't inherit or default | |
11715 | to_insert_watchpoint. | |
11716 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
11717 | TARGET_DEFAULT_RETURN. | |
11718 | ||
418dabac TT |
11719 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11720 | ||
11721 | * target-delegates.c: Rebuild. | |
11722 | * target.c (update_current_target): Don't inherit or default | |
11723 | to_remove_hw_breakpoint. | |
11724 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
11725 | TARGET_DEFAULT_RETURN. | |
11726 | ||
61b371f9 TT |
11727 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11728 | ||
11729 | * target-delegates.c: Rebuild. | |
11730 | * target.c (update_current_target): Don't inherit or default | |
11731 | to_insert_hw_breakpoint. | |
11732 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
11733 | TARGET_DEFAULT_RETURN. | |
11734 | ||
52b51d06 TT |
11735 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11736 | ||
11737 | * target-delegates.c: Rebuild. | |
11738 | * target.c (update_current_target): Don't inherit or default | |
11739 | to_can_use_hw_breakpoint. | |
11740 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
11741 | TARGET_DEFAULT_RETURN. | |
11742 | ||
f86e59b2 TT |
11743 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11744 | ||
11745 | * target-delegates.c: Rebuild. | |
11746 | * target.c (update_current_target): Don't inherit or default | |
11747 | to_files_info. | |
11748 | * target.h (struct target_ops) <to_files_info>: Use | |
11749 | TARGET_DEFAULT_IGNORE. | |
11750 | ||
6c628163 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_store. | |
11756 | * target.h (struct target_ops) <to_store>: Use | |
11757 | TARGET_DEFAULT_NORETURN. | |
11758 | ||
bebd3233 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_post_attach. | |
11764 | * target.h (struct target_ops) <to_post_attach>: Use | |
11765 | TARGET_DEFAULT_IGNORE. | |
11766 | ||
a53f3625 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_rcmd. | |
11772 | (default_rcmd): New function. | |
11773 | (do_monitor_command): Unconditionally delegate. | |
11774 | * target.h (struct target_ops) <to_rmcd>: Use | |
11775 | TARGET_DEFAULT_FUNC. | |
11776 | ||
e9a29200 TT |
11777 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11778 | ||
11779 | * target-delegates.c: Rebuild. | |
11780 | * target.c (init_dummy_target): Don't initialize to_attach. | |
11781 | (target_attach): Unconditionally delegate. | |
11782 | * target.h (struct target_ops) <to_attach>: Use | |
11783 | TARGET_DEFAULT_FUNC. | |
11784 | ||
09da0d0a TT |
11785 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11786 | ||
11787 | * target-delegates.c: Rebuild. | |
11788 | * target.c (target_detach): Unconditionally delegate. | |
11789 | (init_dummy_target): Don't initialize to_detach. | |
11790 | * target.h (struct target_ops) <to_detach>: Use | |
11791 | TARGET_DEFAULT_IGNORE. | |
11792 | ||
5436ff03 TT |
11793 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11794 | ||
11795 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
11796 | Add argument. | |
11797 | (target_augmented_libraries_svr4_read): Add argument. | |
11798 | * target.c (update_current_target): Update. | |
11799 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
11800 | argument. | |
11801 | ||
f0d960ea TT |
11802 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11803 | ||
11804 | * target.h (struct target_ops) <to_call_history_range>: Add | |
11805 | argument. | |
11806 | * target.c (target_call_history_range): Add argument. | |
11807 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
11808 | argument. | |
11809 | (record_btrace_call_history_from): Update. | |
11810 | ||
ec0aea04 TT |
11811 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11812 | ||
11813 | * target.h (struct target_ops) <to_call_history_from>: Add | |
11814 | argument. | |
11815 | * target.c (target_call_history_from): Add argument. | |
11816 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
11817 | argument. | |
11818 | ||
5df2fcba TT |
11819 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11820 | ||
11821 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
11822 | * target.c (target_call_history): Add argument. | |
11823 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
11824 | argument. | |
11825 | ||
4e99c6b7 TT |
11826 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11827 | ||
11828 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
11829 | argument. | |
11830 | * target.c (target_insn_history_range): Add argument. | |
11831 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
11832 | argument. | |
11833 | (record_btrace_insn_history_from): Update. | |
11834 | ||
9abc3ff3 TT |
11835 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11836 | ||
11837 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
11838 | argument. | |
11839 | * target.c (target_insn_history_from): Add argument. | |
11840 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
11841 | argument. | |
11842 | ||
7a6c5609 TT |
11843 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11844 | ||
11845 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
11846 | * target.c (target_insn_history): Add argument. | |
11847 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
11848 | argument. | |
11849 | ||
606183ac TT |
11850 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11851 | ||
11852 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
11853 | * target.c (target_goto_record): Add argument. | |
11854 | * record-full.c (record_full_goto): Add 'self' argument. | |
11855 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
11856 | ||
307a1b91 TT |
11857 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11858 | ||
11859 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
11860 | * target.c (target_goto_record_end): Add argument. | |
11861 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
11862 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
11863 | ||
08475817 TT |
11864 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11865 | ||
11866 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
11867 | argument. | |
11868 | * target.c (target_goto_record_begin): Add argument. | |
11869 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
11870 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
11871 | argument. | |
11872 | ||
1c63c994 TT |
11873 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11874 | ||
11875 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
11876 | argument. | |
11877 | * target.c (target_record_is_replaying): Add argument. | |
11878 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
11879 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
11880 | argument. | |
11881 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
11882 | (record_btrace_prepare_to_store, record_btrace_resume) | |
11883 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
11884 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
11885 | Update. | |
11886 | ||
d1b55219 TT |
11887 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11888 | ||
11889 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
11890 | * target.c (target_delete_record): Add argument. | |
11891 | * record-full.c (record_full_delete): Add 'self' argument. | |
11892 | ||
1390f529 TT |
11893 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11894 | ||
11895 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
11896 | * target.c (target_save_record): Add argument. | |
11897 | * record-full.c (record_full_save): Add 'self' argument. | |
11898 | (record_full_save): Add 'self' argument. | |
11899 | ||
630d6a4a TT |
11900 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11901 | ||
11902 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
11903 | * target.c (target_info_record): Add argument. | |
11904 | * record.c (info_record_command): Add argument. | |
11905 | * record-full.c (record_full_info): Add 'self' argument. | |
11906 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
11907 | ||
c6cd7c02 TT |
11908 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11909 | ||
11910 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
11911 | * target.c (target_stop_recording): Add argument. | |
11912 | * record.c (record_stop): Add argument. | |
11913 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
11914 | argument. | |
11915 | ||
39c49f83 TT |
11916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11917 | ||
11918 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
11919 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
11920 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
11921 | argument. | |
11922 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
11923 | (_initialize_amd64_linux_nat): Use it. | |
11924 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
11925 | (_initialize_i386_linux_nat): Use it. | |
11926 | ||
1777056d TT |
11927 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11928 | ||
11929 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
11930 | * target.c (target_teardown_btrace): Add argument. | |
11931 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
11932 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
11933 | argument. | |
11934 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
11935 | argument. | |
11936 | ||
25e95349 TT |
11937 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11938 | ||
11939 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
11940 | * target.c (target_disable_btrace): Add argument. | |
11941 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
11942 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
11943 | argument. | |
11944 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
11945 | argument. | |
11946 | ||
e3c49f88 TT |
11947 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11948 | ||
11949 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
11950 | * target.c (target_enable_btrace): Add argument. | |
11951 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
11952 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
11953 | argument. | |
11954 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
11955 | argument. | |
11956 | ||
fe38f897 TT |
11957 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11958 | ||
11959 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
11960 | (target_can_use_agent): Add argument. | |
11961 | * target.c (update_current_target): Update. | |
11962 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
11963 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
11964 | ||
2c152180 TT |
11965 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11966 | ||
11967 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
11968 | (target_use_agent): Add argument. | |
11969 | * target.c (update_current_target): Update. | |
11970 | * remote.c (remote_use_agent): Add 'self' argument. | |
11971 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
11972 | ||
a893e81f TT |
11973 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11974 | ||
11975 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
11976 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
11977 | (target_traceframe_info): Add argument. | |
11978 | * target.c (update_current_target): Update. | |
11979 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
11980 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
11981 | ||
c686c57f TT |
11982 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11983 | ||
11984 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
11985 | argument. | |
11986 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
11987 | 'self' argument. | |
11988 | * target.c (update_current_target): Update. | |
11989 | * remote.c (struct target_ops) | |
11990 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
11991 | * linux-nat.c (struct target_ops) | |
11992 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
11993 | ||
61fc905d TT |
11994 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11995 | ||
11996 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
11997 | Add argument. | |
11998 | (target_static_tracepoint_marker_at): Add argument. | |
11999 | * target.c (update_current_target): Update. | |
12000 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
12001 | argument. | |
12002 | ||
c378d69d TT |
12003 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12004 | ||
12005 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
12006 | (target_set_permissions): Add argument. | |
12007 | * target.c (update_current_target): Update. | |
12008 | * remote.c (remote_set_permissions): Add 'self' argument. | |
12009 | (remote_start_remote): Update. | |
12010 | ||
bd7ae0f5 TT |
12011 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12012 | ||
12013 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
12014 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
12015 | (target_get_tib_address): Add argument. | |
12016 | * target.c (update_current_target): Update. | |
12017 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
12018 | ||
d9e68a2c TT |
12019 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12020 | ||
12021 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
12022 | (target_set_trace_notes): Add argument. | |
12023 | * target.c (update_current_target): Update. | |
12024 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
12025 | ||
4da384be TT |
12026 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12027 | ||
12028 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
12029 | argument. | |
12030 | (target_set_trace_buffer_size): Add argument. | |
12031 | * target.c (update_current_target): Update. | |
12032 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
12033 | ||
736d5b1f TT |
12034 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12035 | ||
12036 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
12037 | argument. | |
12038 | (target_set_circular_trace_buffer): Add argument. | |
12039 | * target.c (update_current_target): Update. | |
12040 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
12041 | argument. | |
12042 | ||
37b25738 TT |
12043 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12044 | ||
12045 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
12046 | argument. | |
12047 | (target_set_disconnected_tracing): Add argument. | |
12048 | * target.c (update_current_target): Update. | |
12049 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
12050 | ||
0e67620a TT |
12051 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12052 | ||
12053 | * target.h (struct target_ops) | |
12054 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
12055 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
12056 | * target.c (update_current_target): Update. | |
12057 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
12058 | argument. | |
12059 | ||
88ee6f45 TT |
12060 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12061 | ||
12062 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
12063 | argument. | |
12064 | (target_get_raw_trace_data): Add argument. | |
12065 | * target.c (update_current_target): Update. | |
12066 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
12067 | ||
181e3713 TT |
12068 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12069 | ||
12070 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12071 | Add argument. | |
12072 | (target_upload_trace_state_variables): Add argument. | |
12073 | * target.c (update_current_target): Update. | |
12074 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
12075 | argument. | |
12076 | (remote_start_remote): Update. | |
12077 | ||
ab6617cc TT |
12078 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12079 | ||
12080 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
12081 | argument. | |
12082 | (target_upload_tracepoints): Add argument. | |
12083 | * target.c (update_current_target): Update. | |
12084 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
12085 | (remote_start_remote): Update. | |
12086 | ||
dc3decaf TT |
12087 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12088 | ||
12089 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
12090 | (target_save_trace_data): Add argument. | |
12091 | * target.c (update_current_target): Update. | |
12092 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
12093 | ||
4011015b TT |
12094 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12095 | ||
12096 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
12097 | argument. | |
12098 | * target.h (struct target_ops) | |
12099 | <to_get_trace_state_variable_value>: Add argument. | |
12100 | (target_get_trace_state_variable_value): Add argument. | |
12101 | * target.c (update_current_target): Update. | |
12102 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
12103 | argument. | |
12104 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
12105 | ||
bd4c6793 TT |
12106 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12107 | ||
12108 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
12109 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
12110 | (target_trace_find): Add argument. | |
12111 | * target.c (update_current_target): Update. | |
12112 | * remote.c (remote_trace_find): Add 'self' argument. | |
12113 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
12114 | ||
74499f1b TT |
12115 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12116 | ||
12117 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
12118 | (target_trace_stop): Add argument. | |
12119 | * target.c (update_current_target): Update. | |
12120 | * remote.c (remote_trace_stop): Add 'self' argument. | |
12121 | ||
db90e85c TT |
12122 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12123 | ||
12124 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
12125 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
12126 | argument. | |
12127 | (target_get_tracepoint_status): Add argument. | |
12128 | * target.c (update_current_target): Update. | |
12129 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
12130 | ||
8bd200f1 TT |
12131 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12132 | ||
12133 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
12134 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
12135 | argument. | |
12136 | (target_get_trace_status): Add argument. | |
12137 | * target.c (update_current_target): Update. | |
12138 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
12139 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
12140 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
12141 | ||
e2d1aae3 TT |
12142 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12143 | ||
12144 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
12145 | (target_trace_start): Add argument. | |
12146 | * target.c (update_current_target): Update. | |
12147 | * remote.c (remote_trace_start): Add 'self' argument. | |
12148 | ||
583f9a86 TT |
12149 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12150 | ||
12151 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12152 | Add argument. | |
12153 | (target_trace_set_readonly_regions): Add argument. | |
12154 | * target.c (update_current_target): Update. | |
12155 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
12156 | argument. | |
12157 | ||
780b049c TT |
12158 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12159 | ||
12160 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
12161 | argument. | |
12162 | (target_disable_tracepoint): Add argument. | |
12163 | * target.c (update_current_target): Update. | |
12164 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
12165 | ||
46670d57 TT |
12166 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12167 | ||
12168 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
12169 | argument. | |
12170 | (target_enable_tracepoint): Add argument. | |
12171 | * target.c (update_current_target): Update. | |
12172 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
12173 | ||
559d2b81 TT |
12174 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12175 | ||
12176 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12177 | Add argument. | |
12178 | (target_download_trace_state_variable): Add argument. | |
12179 | * target.c (update_current_target): Update. | |
12180 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
12181 | argument. | |
12182 | ||
a52a8357 TT |
12183 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12184 | ||
12185 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
12186 | argument. | |
12187 | (target_can_download_tracepoint): Add argument. | |
12188 | * target.c (update_current_target): Update. | |
12189 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
12190 | ||
548f7808 TT |
12191 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12192 | ||
12193 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
12194 | argument. | |
12195 | (target_download_tracepoint): Add argument. | |
12196 | * target.c (update_current_target): Update. | |
12197 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
12198 | ||
ecae04e1 TT |
12199 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12200 | ||
12201 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
12202 | (target_trace_init): Add argument. | |
12203 | * target.c (update_current_target): Update. | |
12204 | * remote.c (remote_trace_init): Add 'self' argument. | |
12205 | ||
fab5aa7c TT |
12206 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12207 | ||
12208 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
12209 | * target.c (target_fileio_readlink): Add argument. | |
12210 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
12211 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
12212 | ||
dbbca37d TT |
12213 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12214 | ||
12215 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
12216 | * target.c (target_fileio_unlink): Add argument. | |
12217 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
12218 | (remote_file_delete): Update. | |
12219 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
12220 | ||
df39ea25 TT |
12221 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12222 | ||
12223 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
12224 | * target.c (target_fileio_close): Add argument. | |
12225 | * remote.c (remote_hostio_close): Add 'self' argument. | |
12226 | (remote_hostio_close_cleanup): Update. | |
12227 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
12228 | Update. | |
12229 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
12230 | ||
a3be983c TT |
12231 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12232 | ||
12233 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
12234 | * target.c (target_fileio_pread): Add argument. | |
12235 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
12236 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
12237 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
12238 | ||
0d866f62 TT |
12239 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12240 | ||
12241 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
12242 | * target.c (target_fileio_pwrite): Add argument. | |
12243 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
12244 | (remote_file_put): Update. | |
12245 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
12246 | ||
cd897586 TT |
12247 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12248 | ||
12249 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
12250 | * target.c (target_fileio_open): Add argument. | |
12251 | * remote.c (remote_hostio_open): Add 'self' argument. | |
12252 | (remote_bfd_iovec_open): Add 'self' argument. | |
12253 | (remote_file_put): Add 'self' argument. | |
12254 | (remote_file_get): Add 'self' argument. | |
12255 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
12256 | ||
78eff0ec TT |
12257 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12258 | ||
12259 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
12260 | Add argument. | |
12261 | (target_can_run_breakpoint_commands): Add argument. | |
12262 | * target.c (update_current_target): Update. | |
12263 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
12264 | argument. | |
12265 | (remote_insert_breakpoint): Add 'self' argument. | |
12266 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
12267 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
12268 | ||
efcc2da7 TT |
12269 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12270 | ||
12271 | * target.h (struct target_ops) | |
12272 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
12273 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
12274 | argument. | |
12275 | * target.c (update_current_target): Update. | |
12276 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
12277 | argument. | |
12278 | (remote_insert_breakpoint): Add 'self' argument. | |
12279 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
12280 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
12281 | ||
6de37a3a TT |
12282 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12283 | ||
12284 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
12285 | argument. | |
12286 | (target_supports_string_tracing): Add argument. | |
12287 | * target.c (update_current_target): Update. | |
12288 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
12289 | ||
2bfc0540 TT |
12290 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12291 | ||
12292 | * target.h (struct target_ops) | |
12293 | <to_supports_disable_randomization>: Add argument. | |
12294 | * target.c (find_default_supports_disable_randomization): Add | |
12295 | argument. | |
12296 | (target_supports_disable_randomization): Add argument. | |
12297 | (find_default_supports_disable_randomization): Add 'self' | |
12298 | argument. | |
12299 | * remote.c (extended_remote_supports_disable_randomization): Add | |
12300 | 'self' argument. | |
12301 | (remote_supports_disable_randomization): Add 'self' argument. | |
12302 | (extended_remote_create_inferior): Update. | |
12303 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
12304 | 'self' argument. | |
12305 | ||
7d178d6a TT |
12306 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12307 | ||
12308 | * target.h (struct target_ops) | |
12309 | <to_supports_enable_disable_tracepoint>: Add argument. | |
12310 | (target_supports_enable_disable_tracepoint): Add argument. | |
12311 | * target.c (update_current_target): Update. | |
12312 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
12313 | argument. | |
12314 | ||
86ce2668 TT |
12315 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12316 | ||
12317 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
12318 | argument. | |
12319 | (target_supports_multi_process): Add argument. | |
12320 | * target.c (update_current_target): Update. | |
12321 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
12322 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
12323 | argument. | |
12324 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
12325 | argument. | |
12326 | ||
4c612759 TT |
12327 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12328 | ||
12329 | * target.h (struct target_ops) <to_execution_direction>: Add | |
12330 | argument. | |
12331 | (target_execution_direction): Add argument. | |
12332 | * target.c (default_execution_direction): Add 'self' argument. | |
12333 | * record-full.c (record_full_execution_direction): Add 'self' | |
12334 | argument. | |
12335 | ||
19db3e69 TT |
12336 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12337 | ||
12338 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
12339 | argument. | |
12340 | (target_can_execute_reverse): Add argument. | |
12341 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
12342 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
12343 | argument. | |
12344 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
12345 | argument. | |
12346 | ||
1e6b91a4 TT |
12347 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12348 | ||
12349 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
12350 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
12351 | argument. | |
12352 | (target_get_ada_task_ptid): Add argument. | |
12353 | * target.c (update_current_target): Update. | |
12354 | (default_get_ada_task_ptid): Add 'self' argument. | |
12355 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
12356 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
12357 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
12358 | argument. | |
12359 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
12360 | argument. | |
12361 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
12362 | argument. | |
12363 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
12364 | argument. | |
12365 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
12366 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
12367 | argument. | |
12368 | ||
3c80fb48 TT |
12369 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12370 | ||
12371 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
12372 | (target_goto_bookmark): Add argument. | |
12373 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
12374 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
12375 | ||
dd0e2830 TT |
12376 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12377 | ||
12378 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
12379 | (target_get_bookmark): Add argument. | |
12380 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
12381 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
12382 | ||
fc6691b2 TT |
12383 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12384 | ||
12385 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
12386 | argument. | |
12387 | (target_make_corefile_notes): Add argument. | |
12388 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
12389 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
12390 | (procfs_make_note_section): Add 'self' argument. | |
12391 | (procfs_make_note_section): Add 'self' argument. | |
12392 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
12393 | argument. | |
12394 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
12395 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
12396 | * exec.c (exec_make_note_section): Add 'self' argument. | |
12397 | (exec_make_note_section): Add 'self' argument. | |
12398 | ||
2e73927c TT |
12399 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12400 | ||
12401 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
12402 | argument. | |
12403 | (target_find_memory_regions): Add argument. | |
12404 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
12405 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
12406 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
12407 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
12408 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
12409 | * exec. (exec_do_find_memory_regions): New global. | |
12410 | (exec_set_find_memory_regions): Rewrite. | |
12411 | (exec_find_memory_regions): New function. | |
12412 | (init_exec_ops): Use exec_find_memory_regions. | |
12413 | ||
2a9a2795 TT |
12414 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12415 | ||
12416 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
12417 | argument. | |
12418 | * target.c (find_default_supports_non_stop): Add argument. | |
12419 | (target_supports_non_stop): Add argument. | |
12420 | (find_default_supports_non_stop): Add 'self' argument. | |
12421 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
12422 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
12423 | ||
4ab76ea3 TT |
12424 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12425 | ||
12426 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
12427 | (target_log_command): Add argument. | |
12428 | * serial.h (serial_log_command): Add 'self' argument. | |
12429 | * serial.c (serial_log_command): Add 'self' argument. | |
12430 | ||
8dd27370 TT |
12431 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12432 | ||
12433 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
12434 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
12435 | argument. | |
12436 | (target_pid_to_exec_file): Add argument. | |
12437 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
12438 | (update_current_target): Update. | |
12439 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
12440 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
12441 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
12442 | (linux_handle_extended_wait): Update. | |
12443 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
12444 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
12445 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
12446 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
12447 | ||
1aac633b TT |
12448 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12449 | ||
12450 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
12451 | (target_rcmd): Add argument. | |
12452 | * target.c (debug_to_rcmd): Add argument. | |
12453 | (update_current_target, do_monitor_command): Update. | |
12454 | * remote.c (remote_rcmd): Add 'self' argument. | |
12455 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
12456 | ||
1eab8a48 TT |
12457 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12458 | ||
12459 | * windows-nat.c (windows_stop): Add 'self' argument. | |
12460 | * target.h (struct target_ops) <to_stop>: Add argument. | |
12461 | * target.c (target_stop): Add argument. | |
12462 | (debug_to_stop): Add argument. | |
12463 | (update_current_target): Update. | |
12464 | * remote.c (remote_stop): Add 'self' argument. | |
12465 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
12466 | (gdbsim_cntrl_c): Update. | |
12467 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
12468 | * procfs.c (procfs_stop): Add 'self' argument. | |
12469 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
12470 | * monitor.c (monitor_stop): Add 'self' argument. | |
12471 | (monitor_open): Update. | |
12472 | * linux-nat.c (linux_nat_stop): Add argument. | |
12473 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
12474 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
12475 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
12476 | ||
503a628d TT |
12477 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12478 | ||
12479 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
12480 | * target.c (target_thread_name): Add argument. | |
12481 | (update_current_target): Update. | |
12482 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
12483 | ||
c15906d8 TT |
12484 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12485 | ||
12486 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
12487 | argument. | |
12488 | (target_extra_thread_info): Add argument. | |
12489 | * target.c (update_current_target): Update. | |
12490 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
12491 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
12492 | argument. | |
12493 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
12494 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
12495 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
12496 | argument. | |
12497 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
12498 | argument. | |
12499 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
12500 | argument. | |
12501 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
12502 | argument. | |
12503 | ||
daf5e9b6 TT |
12504 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12505 | ||
12506 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
12507 | * target.c (target_program_signals): Add argument. | |
12508 | * remote.c (remote_program_signals): Add 'self' argument. | |
12509 | ||
94bedb42 TT |
12510 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12511 | ||
12512 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
12513 | * target.c (target_pass_signals): Add argument. | |
12514 | * remote.c (remote_pass_signals): Add 'self' argument. | |
12515 | (remote_start_remote): Update. | |
12516 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
12517 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
12518 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
12519 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
12520 | ||
da82bd6b TT |
12521 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12522 | ||
12523 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
12524 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
12525 | (target_can_run): Add argument. | |
12526 | * target.c (debug_to_can_run): Add argument. | |
12527 | (update_current_target): Update. | |
12528 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
12529 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
12530 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
12531 | ||
d796e1d6 TT |
12532 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12533 | ||
12534 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
12535 | (target_has_exited): Add argument. | |
12536 | * target.c (debug_to_has_exited): Add argument. | |
12537 | (update_current_target): Update. | |
12538 | ||
ff214e67 TT |
12539 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12540 | ||
12541 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
12542 | argument. | |
12543 | (target_set_syscall_catchpoint): Add argument. | |
12544 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
12545 | argument. | |
12546 | * target.c (update_current_target): Update. | |
12547 | ||
758e29d2 TT |
12548 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12549 | ||
12550 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
12551 | argument. | |
12552 | (target_remove_exec_catchpoint): Add argument. | |
12553 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
12554 | (update_current_target): Update. | |
12555 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
12556 | argument. | |
12557 | ||
ba025e51 TT |
12558 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12559 | ||
12560 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
12561 | argument. | |
12562 | (target_insert_exec_catchpoint): Add argument. | |
12563 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
12564 | (update_current_target): Update. | |
12565 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
12566 | argument. | |
12567 | ||
e98cf0cd TT |
12568 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12569 | ||
12570 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
12571 | argument. | |
12572 | (target_remove_vfork_catchpoint): Add argument. | |
12573 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
12574 | (update_current_target): Update. | |
12575 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
12576 | argument. | |
12577 | ||
3ecc7da0 TT |
12578 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12579 | ||
12580 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
12581 | argument. | |
12582 | (target_insert_vfork_catchpoint): Add argument. | |
12583 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
12584 | (update_current_target): Update. | |
12585 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
12586 | argument. | |
12587 | ||
973fc227 TT |
12588 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12589 | ||
12590 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
12591 | argument. | |
12592 | (target_remove_fork_catchpoint): Add argument. | |
12593 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
12594 | (update_current_target): Update. | |
12595 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
12596 | argument. | |
12597 | ||
a863b201 TT |
12598 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12599 | ||
12600 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
12601 | argument. | |
12602 | (target_insert_fork_catchpoint): Add argument. | |
12603 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
12604 | (update_current_target): Update. | |
12605 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
12606 | argument. | |
12607 | ||
2e97a79e TT |
12608 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12609 | ||
12610 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
12611 | argument. | |
12612 | (target_post_startup_inferior): Add argument. | |
12613 | * target.c (debug_to_post_startup_inferior): Add argument. | |
12614 | (update_current_target): Update. | |
12615 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
12616 | argument. | |
12617 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
12618 | argument. | |
12619 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
12620 | argument. | |
12621 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
12622 | argument. | |
12623 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
12624 | 'self' argument. | |
12625 | (super_post_startup_inferior): Likewise. | |
12626 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
12627 | 'self' argument. | |
12628 | (super_post_startup_inferior): Likewise. | |
12629 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
12630 | Add 'self' argument. | |
12631 | (super_post_startup_inferior): Likewise. | |
12632 | ||
71a9f134 TT |
12633 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12634 | ||
12635 | * target.h (struct target_ops) <to_load>: Add argument. | |
12636 | * target.c (target_load): Add argument. | |
12637 | (debug_to_load): Add argument. | |
12638 | (update_current_target): Update. | |
12639 | * remote.c (remote_load): Add 'self' argument. | |
12640 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
12641 | * remote-mips.c (mips_load): Add 'self' argument. | |
12642 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
12643 | * monitor.c (monitor_load): Add 'self' argument. | |
12644 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
12645 | ||
0a4f40a2 TT |
12646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12647 | ||
12648 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
12649 | (target_terminal_info): Add argument. | |
12650 | * target.c (debug_to_terminal_info): Add argument. | |
12651 | (default_terminal_info): Likewise. | |
12652 | * inflow.c (child_terminal_info): Add 'self' argument. | |
12653 | * inferior.h (child_terminal_info): Add 'self' argument. | |
12654 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
12655 | ||
ae3bd431 TT |
12656 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12657 | ||
12658 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
12659 | argument. | |
12660 | (target_terminal_save_ours): Add argument. | |
12661 | * target.c (debug_to_terminal_save_ours): Add argument. | |
12662 | (update_current_target): Update. | |
12663 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
12664 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
12665 | ||
e3594fd1 TT |
12666 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12667 | ||
12668 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
12669 | (target_terminal_ours): Add argument. | |
12670 | * target.c (debug_to_terminal_ours): Add argument. | |
12671 | (update_current_target): Update. | |
12672 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
12673 | (remote_close): Update. | |
12674 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
12675 | * inflow.c (terminal_ours): Add 'self' argument. | |
12676 | * inferior.h (terminal_ours): Add 'self' argument. | |
12677 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
12678 | ||
2e1e1a19 TT |
12679 | 2014-02-19 Pedro Alves <palves@redhat.com> |
12680 | Tom Tromey <tromey@redhat.com> | |
12681 | ||
12682 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
12683 | argument. | |
12684 | (target_terminal_ours_for_output): Add argument. | |
12685 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
12686 | (update_current_target): Update. | |
12687 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
12688 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
12689 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
12690 | ||
d2f640d4 TT |
12691 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12692 | ||
12693 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
12694 | argument. | |
12695 | * target.c (target_terminal_inferior): Add argument. | |
12696 | (update_current_target): Update. | |
12697 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
12698 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
12699 | * inflow.c (terminal_inferior): Add 'self' argument. | |
12700 | * inferior.h (terminal_inferior): Add 'self' argument. | |
12701 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
12702 | (go32_terminal_inferior): Add 'self' argument. | |
12703 | ||
c42bf286 TT |
12704 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12705 | ||
12706 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
12707 | (target_terminal_init): Add argument. | |
12708 | * target.c (debug_to_terminal_init): Add argument. | |
12709 | (update_current_target): Update. | |
12710 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
12711 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
12712 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
12713 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
12714 | ||
c3a5ff89 TT |
12715 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12716 | ||
12717 | * target.h (struct target_ops) | |
12718 | <to_can_accel_watchpoint_condition>: Add argument. | |
12719 | (target_can_accel_watchpoint_condition): Add argument. | |
12720 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
12721 | argument. | |
12722 | (update_current_target): Update. | |
12723 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
12724 | 'self' argument. | |
12725 | ||
31568a15 TT |
12726 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12727 | ||
12728 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
12729 | Add argument. | |
12730 | (target_region_ok_for_hw_watchpoint): Add argument. | |
12731 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
12732 | (default_region_ok_for_hw_watchpoint): Add argument. | |
12733 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
12734 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
12735 | argument. | |
12736 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
12737 | argument. | |
12738 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
12739 | argument. | |
12740 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
12741 | 'self' argument. | |
12742 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
12743 | 'self' argument. | |
12744 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
12745 | 'self' argument. | |
12746 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
12747 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
12748 | 'self' argument. | |
12749 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
12750 | Add 'self' argument. | |
12751 | ||
7bb99c53 TT |
12752 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12753 | ||
12754 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
12755 | argument. | |
12756 | (target_insert_watchpoint): Add argument. | |
12757 | * target.c (debug_to_insert_watchpoint): Add argument. | |
12758 | (update_current_target): Update. | |
12759 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
12760 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
12761 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
12762 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
12763 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
12764 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
12765 | argument. | |
12766 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
12767 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
12768 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
12769 | argument. | |
12770 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
12771 | argument. | |
12772 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
12773 | argument. | |
12774 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
12775 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
12776 | argument. | |
12777 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
12778 | 'self' argument. | |
12779 | ||
11b5219a TT |
12780 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12781 | ||
12782 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
12783 | argument. | |
12784 | (target_remove_watchpoint): Add argument. | |
12785 | * target.c (debug_to_remove_watchpoint): Add argument. | |
12786 | (update_current_target): Update. | |
12787 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
12788 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
12789 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
12790 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
12791 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
12792 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
12793 | argument. | |
12794 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
12795 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
12796 | argument. | |
12797 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
12798 | argument. | |
12799 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
12800 | argument. | |
12801 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
12802 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
12803 | argument. | |
12804 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
12805 | 'self' argument. | |
12806 | ||
a64dc96c TT |
12807 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12808 | ||
12809 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
12810 | argument. | |
12811 | (target_remove_hw_breakpoint): Add argument. | |
12812 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
12813 | (update_current_target): Update. | |
12814 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
12815 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
12816 | argument. | |
12817 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
12818 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
12819 | argument. | |
12820 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
12821 | 'self' argument. | |
12822 | ||
23a26771 TT |
12823 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12824 | ||
12825 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
12826 | argument. | |
12827 | (target_insert_hw_breakpoint): Add argument. | |
12828 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
12829 | (update_current_target): Update. | |
12830 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
12831 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
12832 | argument. | |
12833 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
12834 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
12835 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
12836 | argument. | |
12837 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
12838 | 'self' argument. | |
12839 | ||
5461485a TT |
12840 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12841 | ||
12842 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
12843 | argument. | |
12844 | (target_can_use_hardware_watchpoint): Add argument. | |
12845 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
12846 | (update_current_target): Update. | |
12847 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
12848 | argument. | |
12849 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
12850 | argument. | |
12851 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
12852 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
12853 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
12854 | argument. | |
12855 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
12856 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
12857 | argument. | |
12858 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
12859 | argument. | |
12860 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
12861 | argument. | |
12862 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
12863 | argument. | |
12864 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
12865 | argument. | |
12866 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
12867 | argument. | |
12868 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
12869 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
12870 | argument. | |
12871 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
12872 | 'self' argument. | |
12873 | ||
f045800c TT |
12874 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12875 | ||
12876 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
12877 | (target_post_attach): Add argument. | |
12878 | * target.c (debug_to_post_attach): Add argument. | |
12879 | (update_current_target): Update. | |
12880 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
12881 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
12882 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
12883 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
12884 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
12885 | ||
de90e03d TT |
12886 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12887 | ||
12888 | * windows-nat.c (windows_close): Add 'self' argument. | |
12889 | * tracepoint.c (tfile_close): Add 'self' argument. | |
12890 | * target.h (struct target_ops) <to_close>: Add argument. | |
12891 | * target.c (target_close): Add argument. | |
12892 | (update_current_target): Update. | |
12893 | * remote.c (remote_close): Add 'self' argument. | |
12894 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
12895 | * remote-mips.c (mips_close): Add 'self' argument. | |
12896 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
12897 | * record-full.c (record_full_close): Add 'self' argument. | |
12898 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
12899 | * monitor.h (monitor_close): Add 'self' argument. | |
12900 | * monitor.c (monitor_close): Add 'self' argument. | |
12901 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
12902 | * linux-nat.c (linux_nat_close): Add argument. | |
12903 | * go32-nat.c (go32_close): Add 'self' argument. | |
12904 | * exec.c (exec_close_1): Add 'self' argument. | |
12905 | * ctf.c (ctf_close): Add 'self' argument. | |
12906 | * corelow.c (core_close): Add 'self' argument. | |
12907 | (core_close_cleanup): Update. | |
12908 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
12909 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
12910 | ||
9dd130a0 TT |
12911 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12912 | ||
12913 | * remote.c (remote_load): New function. | |
12914 | (init_remote_ops): Use it. | |
12915 | ||
46917d26 TT |
12916 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12917 | ||
12918 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
12919 | argument. | |
12920 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
12921 | * remote.c (remote_supports_btrace): Add "self" argument. | |
12922 | * target-delegates.c: Rebuild. | |
12923 | * target.c (target_supports_btrace): Remove. | |
12924 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
12925 | target_ops argument. | |
12926 | (target_supports_btrace): New define. | |
12927 | ||
6b84065d TT |
12928 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12929 | ||
12930 | * record-full.c (record_full_beneath_to_resume_ops) | |
12931 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
12932 | (record_full_beneath_to_wait) | |
12933 | (record_full_beneath_to_store_registers_ops) | |
12934 | (record_full_beneath_to_store_registers) | |
12935 | (record_full_beneath_to_xfer_partial_ops) | |
12936 | (record_full_beneath_to_xfer_partial) | |
12937 | (record_full_beneath_to_insert_breakpoint_ops) | |
12938 | (record_full_beneath_to_insert_breakpoint) | |
12939 | (record_full_beneath_to_remove_breakpoint_ops) | |
12940 | (record_full_beneath_to_remove_breakpoint) | |
12941 | (record_full_beneath_to_stopped_by_watchpoint) | |
12942 | (record_full_beneath_to_stopped_data_address) | |
12943 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
12944 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
12945 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
12946 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
12947 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
12948 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
12949 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
12950 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
12951 | (record_full_resume, record_full_wait_1) | |
12952 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
12953 | (record_full_store_registers, record_full_xfer_partial) | |
12954 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
12955 | (record_full_async, record_full_core_xfer_partial): Use target | |
12956 | delegation. | |
12957 | * target-delegates.c: Rebuild. | |
12958 | * target.c (current_xfer_partial): Remove. | |
12959 | (update_current_target): Do not INHERIT or de_fault | |
12960 | to_insert_breakpoint, to_remove_breakpoint, | |
12961 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
12962 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
12963 | (default_xfer_partial): Simplify. | |
12964 | (current_xfer_partial): Remove. | |
12965 | (target_wait, target_resume): Simplify. | |
12966 | (find_default_can_async_p, find_default_is_async_p): Update. | |
12967 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
12968 | to_xfer_partial, to_stopped_by_watchpoint, | |
12969 | to_stopped_data_address. | |
12970 | (target_store_registers): Simplify. | |
12971 | (forward_target_remove_breakpoint) | |
12972 | (forward_target_insert_breakpoint): Remove. | |
12973 | (target_remove_breakpoint, target_insert_breakpoint) | |
12974 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
12975 | * target.h (struct target_ops) <to_resume, to_wait, | |
12976 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
12977 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
12978 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
12979 | markup. | |
12980 | (forward_target_remove_breakpoint) | |
12981 | (forward_target_insert_breakpoint): Remove. | |
12982 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
12983 | directly. | |
12984 | (record_btrace_insert_breakpoint): Delegate directly. | |
12985 | ||
1101cb7b TT |
12986 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12987 | ||
12988 | PR build/7701: | |
12989 | * target-delegates.c: New file. | |
12990 | * target.c: Include target-delegates.c. | |
12991 | (init_dummy_target): Call install_dummy_methods. | |
12992 | (complete_target_initialization): Call install_delegators. | |
12993 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
12994 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
12995 | * make-target-delegates: New file. | |
12996 | ||
8b06beed TT |
12997 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12998 | ||
12999 | * record.c (find_record_target): Use find_target_at. | |
13000 | * target.c (find_target_at): New function. | |
13001 | * target.h (find_target_at): Declare. | |
13002 | ||
6a109b6b TT |
13003 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13004 | ||
13005 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
13006 | Add 'ops' argument. | |
13007 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
13008 | 'ops' argument. | |
13009 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
13010 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
13011 | 'ops' argument. | |
13012 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
13013 | argument. | |
13014 | * linux-nat.c (save_sigtrap): Update. | |
13015 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
13016 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
13017 | (linux_nat_close): Update. | |
13018 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
13019 | argument. | |
13020 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
13021 | argument. | |
13022 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
13023 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
13024 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
13025 | (tmp_to_async): Add 'ops' argument. | |
13026 | (record_full_stopped_by_watchpoint, record_full_async) | |
13027 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
13028 | argument. | |
13029 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
13030 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
13031 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
13032 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
13033 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
13034 | (remote_stopped_data_address): Update. | |
13035 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
13036 | * target.c (update_current_target) | |
13037 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13038 | (init_dummy_target): Update. | |
13039 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
13040 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
13041 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
13042 | (target_can_async_p, target_is_async_p, target_async) | |
13043 | (target_stopped_by_watchpoint): Update. | |
13044 | ||
e095146b YQ |
13045 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
13046 | ||
13047 | PR gdb/16220 | |
13048 | * gdbarch.sh: Remove startup_gdbarch. | |
13049 | * gdbarch.c: Regenerated. | |
13050 | * gdbarch.h: Likewise. | |
13051 | ||
bc3c6b36 KB |
13052 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
13053 | ||
13054 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
13055 | (rl78_return_value): Add g10 support. | |
13056 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
13057 | g10. | |
13058 | ||
98dc0167 | 13059 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
13060 | |
13061 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
13062 | (SUBDIR_GUILE_SRCS): Ditto. | |
13063 | (scm-gsmob.o): Ditto. | |
13064 | ||
842c05cd YQ |
13065 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13066 | ||
13067 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
13068 | ||
25c0bd04 YQ |
13069 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13070 | ||
13071 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
13072 | mach_msg_type_number_t. | |
13073 | (gnu_write_inferior): Likewise. | |
13074 | ||
a9a758e3 YQ |
13075 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13076 | ||
13077 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
13078 | in format string. | |
13079 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
13080 | (inf_validate_procs, inf_signal): Likewise. | |
13081 | (S_exception_raise_request): Likewise. | |
13082 | (do_mach_notify_dead_name): Likewise. | |
13083 | (steal_exc_port): Likewise. | |
13084 | (gnu_read_inferior): Change 'copy_count''s type to | |
13085 | mach_msg_type_number_t. | |
13086 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
13087 | format string. | |
13088 | ||
bae8023e TS |
13089 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
13090 | ||
c82f56d9 TS |
13091 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
13092 | flag. Adjust all users; in particular... | |
13093 | (gnu_wait): ..., don't decrement its value in here... | |
13094 | (gnu_create_inferior): ..., and instead set the flag in here, | |
13095 | around the startup_inferior call, and call that one with | |
13096 | START_INFERIOR_TRAPS_EXPECTED. | |
13097 | ||
3398af6a TS |
13098 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
13099 | (ILL_RPC): ... new macro. | |
13100 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
13101 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
13102 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
13103 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
13104 | functions with ILL_RPC macro. | |
13105 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
13106 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
13107 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
13108 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
13109 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
13110 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
13111 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
13112 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
13113 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
13114 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
13115 | (S_proc_get_code_reply): New stub functions, generated with | |
13116 | ILL_RPC macro. | |
13117 | ||
d47642c9 TS |
13118 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
13119 | collected the type check structures. | |
13120 | ||
bae8023e TS |
13121 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
13122 | ||
8a55ffb0 DE |
13123 | 2014-02-14 Doug Evans <dje@google.com> |
13124 | ||
13125 | * target.c (target_write_partial): Fix result type. | |
13126 | ||
c2853f3d JM |
13127 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
13128 | ||
13129 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
13130 | the proper offsets to access fpregset_t. | |
13131 | ||
ac61d2db SA |
13132 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
13133 | ||
13134 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
13135 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
13136 | * h8300-tdep.c (setmachinelist): Remove global. | |
13137 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
13138 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
13139 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
13140 | * ravenscar-thread.c (update_target_observer): Remove global. | |
13141 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
13142 | ||
9d2d0b8b TT |
13143 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13144 | ||
13145 | * common/rsp-low.c: Update comments. | |
13146 | * common/rsp-low.h: Update comments. | |
13147 | ||
a7191e8b TT |
13148 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13149 | ||
13150 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
13151 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
13152 | ||
ff0e980e TT |
13153 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13154 | ||
13155 | * common/rsp-low.h (unhexify): Don't declare. | |
13156 | * common/rsp-low.c (unhexify): Remove. | |
13157 | ||
e9371aff TT |
13158 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13159 | ||
13160 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
13161 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
13162 | ||
971dc0b8 TT |
13163 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13164 | ||
13165 | * common/rsp-low.h (hexify): Don't declare. | |
13166 | * common/rsp-low.c (hexify): Remove. | |
13167 | ||
0a822afb TT |
13168 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13169 | ||
13170 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
13171 | ||
9f1b45b0 TT |
13172 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13173 | ||
13174 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
13175 | * remote.c (extended_remote_run, remote_rcmd) | |
13176 | (remote_download_trace_state_variable, remote_save_trace_data) | |
13177 | (remote_set_trace_notes): Update. | |
13178 | * tracepoint.c (encode_source_string, tfile_write_status) | |
13179 | (tfile_write_uploaded_tsv): Update. | |
13180 | ||
9c3d6531 TT |
13181 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13182 | ||
13183 | * tracepoint.c: Include rsp-low.h. | |
13184 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
13185 | * remote.c: Include rsp-low.h. | |
13186 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
13187 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
13188 | (remote_unescape_input): Move to common/rsp-low.c. | |
13189 | * common/rsp-low.h: New file. | |
13190 | * common/rsp-low.c: New file. | |
13191 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
13192 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
13193 | (COMMON_OBS): Add rsp-low.o. | |
13194 | (rsp-low.o): New target. | |
13195 | ||
01fd3ea5 TT |
13196 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13197 | ||
13198 | * utils.h: Include print-utils.h. | |
13199 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
13200 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
13201 | (hex_string, hex_string_custom): Don't declare. | |
13202 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
13203 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
13204 | (hex_string_custom, int_string, core_addr_to_string) | |
13205 | (core_addr_to_string_nz, host_address_to_string): Move to | |
13206 | common/print-utils.c. | |
13207 | * common/print-utils.h: New file. | |
13208 | * common/print-utils.c: New file | |
13209 | * Makefile.in (SFILES): Add common/print-utils.c. | |
13210 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
13211 | (COMMON_OBS): Add print-utils.o. | |
13212 | (print-utils.o): New target. | |
13213 | ||
9fb50108 TT |
13214 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13215 | ||
13216 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
13217 | ||
0548b5db MK |
13218 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13219 | ||
13220 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
13221 | ||
493443a4 MK |
13222 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13223 | ||
13224 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
13225 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
13226 | bytes were transferred. | |
13227 | ||
706d0883 PA |
13228 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13229 | Kevin Buettner <kevinb@redhat.com> | |
13230 | ||
13231 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
13232 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
13233 | ||
5caa2f0b PA |
13234 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13235 | ||
13236 | * h8300-tdep.c (pseudo_from_raw_register) | |
13237 | (raw_from_pseudo_register): New functions. | |
13238 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
13239 | them. | |
13240 | ||
76fd5f74 PA |
13241 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13242 | ||
13243 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
13244 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
13245 | gdbarch_register_sim_regno hook. | |
13246 | ||
8f008406 SA |
13247 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
13248 | ||
13249 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
13250 | ||
195abc10 SA |
13251 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
13252 | ||
13253 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
13254 | ||
93ffa5b9 MK |
13255 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13256 | ||
13257 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
13258 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
13259 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
13260 | (obsd_init_abi): New functions. | |
13261 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
13262 | (i386obsd_init_abi): Call obsd_init_abi. | |
13263 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
13264 | (amd64obsd_init_abi): Call obsd_init_abi. | |
13265 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
13266 | obsd-tdep.c to gdb_target_obs. | |
13267 | ||
49caec94 JM |
13268 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
13269 | ||
13270 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
13271 | double float arguments to 16-byte in the argument slots. | |
13272 | ||
e1402065 DE |
13273 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
13274 | ||
13275 | * configure.ac: Don't crash if pkg-config is not found and guile | |
13276 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
13277 | in guile checks. | |
13278 | * configure: Regenerate. | |
13279 | ||
edcc890f YQ |
13280 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
13281 | ||
13282 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
13283 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
13284 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
13285 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
13286 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
13287 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13288 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13289 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
13290 | ||
9b409511 YQ |
13291 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
13292 | ||
13293 | * target.h (enum target_xfer_error): Rename to ... | |
13294 | (enum target_xfer_status): ... it. New. All users updated. | |
13295 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
13296 | New. | |
13297 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
13298 | (target_xfer_error_to_string): Remove declaration. | |
13299 | (target_xfer_status_to_string): Declare. | |
13300 | (target_xfer_partial_ftype): Adjust it. | |
13301 | (struct target_ops) <to_xfer_partial>: Return | |
13302 | target_xfer_status. Add argument xfered_len. Update | |
13303 | comments. | |
13304 | * target.c (target_xfer_error_to_string): Rename to ... | |
13305 | (target_xfer_status_to_string): ... it. New. All callers | |
13306 | updated. | |
13307 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
13308 | instead of target_read. | |
13309 | (memory_xfer_live_readonly_partial): Return | |
13310 | target_xfer_status. Add argument xfered_len. | |
13311 | (raw_memory_xfer_partial): Likewise. | |
13312 | (memory_xfer_partial_1): Likewise. | |
13313 | (memory_xfer_partial): Likewise. | |
13314 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
13315 | properly. Update debug message. | |
13316 | (default_xfer_partial, current_xfer_partial): Likewise. | |
13317 | (target_write_partial): Likewise. | |
13318 | (target_read_partial): Likewise. All callers updated. | |
13319 | (read_whatever_is_readable): Likewise. | |
13320 | (target_write_with_progress): Likewise. | |
13321 | (target_read_alloc_1): Likewise. | |
13322 | ||
13323 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
13324 | * auxv.c (procfs_xfer_auxv): Likewise. | |
13325 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
13326 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
13327 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
13328 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
13329 | * corefile.c (read_memory): Adjust. | |
13330 | * corelow.c (core_xfer_partial): Likewise. | |
13331 | * ctf.c (ctf_xfer_partial): Likewise. | |
13332 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
13333 | updated. | |
13334 | (darwin_xfer_partial): Likewise. | |
13335 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
13336 | callers updated. | |
13337 | (exec_xfer_partial): Likewise. | |
13338 | * exec.h (section_table_xfer_memory_partial): Update | |
13339 | declaration. | |
13340 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
13341 | negative. | |
13342 | (gnu_xfer_partial): Likewise. | |
13343 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
13344 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
13345 | (ia64_hpux_xfer_solib_got): Likewise. | |
13346 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
13347 | type of 'partial_len' to ULONGEST. | |
13348 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
13349 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
13350 | (linux_nat_xfer_partial): Likewise. | |
13351 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
13352 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
13353 | * monitor.c (monitor_xfer_memory): Likewise. | |
13354 | (monitor_xfer_partial): Likewise. | |
13355 | * procfs.c (procfs_xfer_partial): Likewise. | |
13356 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
13357 | * record-full.c (record_full_xfer_partial): Likewise. | |
13358 | (record_full_core_xfer_partial): Likewise. | |
13359 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
13360 | (gdbsim_xfer_partial): Likewise. | |
13361 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
13362 | updated. | |
13363 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
13364 | callers updated. | |
13365 | (remote_flash_erase): Likewise. All callers updated. | |
13366 | (remote_write_qxfer): Likewise. All callers updated. | |
13367 | (remote_read_qxfer): Likewise. All callers updated. | |
13368 | (remote_xfer_partial): Likewise. | |
13369 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13370 | (rs6000_xfer_shared_libraries): Likewise. | |
13371 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
13372 | (sol_thread_xfer_partial): Likewise. | |
13373 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13374 | (sparc_xfer_partial): Likewise. | |
13375 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
13376 | updated. | |
13377 | (spu_xfer_partial): Likewise. | |
13378 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
13379 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
13380 | * windows-nat.c (windows_xfer_memory): Likewise. | |
13381 | (windows_xfer_shared_libraries): Likewise. | |
13382 | (windows_xfer_partial): Likewise. | |
13383 | * valprint.c: Replace 'target_xfer_error' with | |
13384 | 'target_xfer_status' in comments. | |
13385 | ||
a8e63083 JB |
13386 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
13387 | ||
13388 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
13389 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
13390 | ||
e86b67d3 JB |
13391 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
13392 | ||
13393 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
13394 | function parameters. | |
13395 | ||
4b7d1f7f WN |
13396 | 2014-02-10 Will Newton <will.newton@linaro.org> |
13397 | ||
13398 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
13399 | looking up .got.plt fails. | |
13400 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
13401 | on address passed to elf_gnu_ifunc_record_cache. | |
13402 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
13403 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
13404 | ||
961842b2 JM |
13405 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
13406 | ||
13407 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
13408 | (X_RETTURN): New macro. | |
13409 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
13410 | ||
13411 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
13412 | sparc_in_function_epilogue_p. | |
13413 | ||
3f03e7b1 GB |
13414 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
13415 | ||
13416 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
13417 | Rename name_matcher to symbol_matcher. | |
13418 | ||
96f861ef GB |
13419 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
13420 | ||
13421 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
13422 | Use expand_symtabs_file_matcher_ftype and | |
13423 | expand_symtabs_symbol_matcher_ftype. | |
13424 | ||
ee01b665 JB |
13425 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13426 | ||
13427 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
13428 | (struct ada_symbol_cache): New. | |
13429 | (ada_free_symbol_cache): Forward declare. | |
13430 | (struct ada_pspace_data): New. | |
13431 | (ada_pspace_data_handle): New static global. | |
13432 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
13433 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
13434 | (cache_space, cache): Delete, now folded inside struct | |
13435 | ada_pspace_data. | |
13436 | (ada_get_symbol_cache): New function. | |
13437 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
13438 | implementation. | |
13439 | (_initialize_ada_language): Remove initialization of cache_space. | |
13440 | Move call to observer_attach_inferior_exit up, grouping it | |
13441 | with the other observer registrations inside this function. | |
13442 | Rename command to be more general. Add call to | |
13443 | register_program_space_data_with_cleanup. | |
13444 | ||
143adbbf JB |
13445 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13446 | ||
13447 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
13448 | ada_new_objfile_observer. | |
13449 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
13450 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
13451 | and ada_tasks_normal_stop_observer. | |
13452 | ||
aa4fb036 JB |
13453 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13454 | ||
13455 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
13456 | returned by the 'Length attribute to integer. | |
13457 | ||
9dee8cc6 JB |
13458 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13459 | ||
13460 | * ada-lang.c (_initialize_ada_language): Initialize | |
13461 | cache_space obstack. | |
13462 | ||
3d9434b5 JB |
13463 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13464 | ||
13465 | * ada-lang.c (HASH_SIZE): New macro. | |
13466 | (struct cache_entry): New type. | |
13467 | (cache_space, cache): New static globals. | |
13468 | (ada_clear_symbol_cache, find_entry): New functions. | |
13469 | (lookup_cached_symbol, cache_symbol): Implement. | |
13470 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
13471 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
13472 | and ada_free_objfile_observer. | |
13473 | ||
f0c5f9b2 JB |
13474 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
13475 | ||
13476 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
13477 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
13478 | struct block * parameter. | |
13479 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
13480 | Remove cast which is no longer necessary. | |
13481 | ||
ed3ef339 DE |
13482 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
13483 | ||
13484 | Add Guile as an extension language. | |
13485 | * NEWS: Mention Guile scripting. | |
13486 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
13487 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
13488 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
13489 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
13490 | (CLIBS): Add GUILE_LIBS. | |
13491 | (install-guile): New rule. | |
13492 | (guile.o): New rule. | |
13493 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
13494 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
13495 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
13496 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
13497 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
13498 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
13499 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
13500 | * configure.ac: New option --with-guile. | |
13501 | * configure: Regenerate. | |
13502 | * config.in: Regenerate. | |
13503 | * auto-load.c: Remove #include "python/python.h". Add #include | |
13504 | "gdb/section-scripts.h". | |
13505 | (source_section_scripts): Handle Guile scripts. | |
13506 | (_initialize_auto_load): Add name of Guile objfile script to | |
13507 | scripts-directory help text. | |
13508 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
13509 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
13510 | (struct breakpoint): New member scm_bp_object. | |
13511 | * defs.h (enum command_control_type): New value guile_control. | |
13512 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
13513 | "extension.h". | |
13514 | (show_user): Update comment. | |
13515 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
13516 | text for max-user-call-depth. | |
13517 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
13518 | "extension.h". | |
13519 | (multi_line_command_p): Add guile_control. | |
13520 | (print_command_lines): Handle guile_control. | |
13521 | (execute_control_command, recurse_read_control_structure): Ditto. | |
13522 | (process_next_line): Recognize "guile" commands. | |
13523 | * disasm.c (gdb_disassemble_info): Make non-static. | |
13524 | * disasm.h: #include "dis-asm.h". | |
13525 | (struct gdbarch): Add forward decl. | |
13526 | (gdb_disassemble_info): Declare. | |
13527 | * extension.c: #include "guile/guile.h". | |
13528 | (extension_languages): Add guile. | |
13529 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
13530 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
13531 | * gdbtypes.c (get_unsigned_type_max): New function. | |
13532 | (get_signed_type_minmax): New function. | |
13533 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
13534 | (get_signed_type_minmax): Declare. | |
13535 | * guile/README: New file. | |
13536 | * guile/guile-internal.h: New file. | |
13537 | * guile/guile.c: New file. | |
13538 | * guile/guile.h: New file. | |
13539 | * guile/scm-arch.c: New file. | |
13540 | * guile/scm-auto-load.c: New file. | |
13541 | * guile/scm-block.c: New file. | |
13542 | * guile/scm-breakpoint.c: New file. | |
13543 | * guile/scm-disasm.c: New file. | |
13544 | * guile/scm-exception.c: New file. | |
13545 | * guile/scm-frame.c: New file. | |
13546 | * guile/scm-gsmob.c: New file. | |
13547 | * guile/scm-iterator.c: New file. | |
13548 | * guile/scm-lazy-string.c: New file. | |
13549 | * guile/scm-math.c: New file. | |
13550 | * guile/scm-objfile.c: New file. | |
13551 | * guile/scm-ports.c: New file. | |
13552 | * guile/scm-pretty-print.c: New file. | |
13553 | * guile/scm-safe-call.c: New file. | |
13554 | * guile/scm-string.c: New file. | |
13555 | * guile/scm-symbol.c: New file. | |
13556 | * guile/scm-symtab.c: New file. | |
13557 | * guile/scm-type.c: New file. | |
13558 | * guile/scm-utils.c: New file. | |
13559 | * guile/scm-value.c: New file. | |
13560 | * guile/lib/gdb.scm: New file. | |
13561 | * guile/lib/gdb/boot.scm: New file. | |
13562 | * guile/lib/gdb/experimental.scm: New file. | |
13563 | * guile/lib/gdb/init.scm: New file. | |
13564 | * guile/lib/gdb/iterator.scm: New file. | |
13565 | * guile/lib/gdb/printing.scm: New file. | |
13566 | * guile/lib/gdb/types.scm: New file. | |
13567 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
13568 | (VPATH): Add $(GUILE_SRCDIR). | |
13569 | (GUILE_DIR): New variable. | |
13570 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
13571 | (all): Add stamp-guile dependency. | |
13572 | (stamp-guile): New rule. | |
13573 | (clean-guile, install-guile, uninstall-guile): New rules. | |
13574 | (install-only): Add install-guile dependency. | |
13575 | (uninstall): Add uninstall-guile dependency. | |
13576 | (clean): Add clean-guile dependency. | |
13577 | ||
ac020ec5 DE |
13578 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
13579 | ||
13580 | Revert this patch (which I approved, mea culpa). | |
13581 | ||
13582 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
13583 | ||
13584 | * Makefile.in (all-lib): Remove. | |
13585 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
13586 | ||
2a081c59 JK |
13587 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
13588 | ||
13589 | Fix Python stack corruption. | |
13590 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
13591 | gdb_py_longest. | |
13592 | ||
0a6bd22d MK |
13593 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
13594 | ||
13595 | * Makefile.in (all-lib): Remove. | |
13596 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
13597 | ||
1a860409 DE |
13598 | 2014-02-07 Doug Evans <dje@google.com> |
13599 | ||
13600 | * extension-priv.h (extension_language_script_ops): Add comment. | |
13601 | (extension_language_ops): Add comment. | |
caf5a491 | 13602 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 13603 | |
d137e6dc PA |
13604 | 2014-02-07 Pedro Alves <palves@redhat.com> |
13605 | ||
0dcb32c3 | 13606 | PR breakpoints/16292 |
d137e6dc PA |
13607 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
13608 | over a breakpoint>: Switch back to the stepping thread. | |
13609 | ||
ce6d0892 YQ |
13610 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13611 | ||
13612 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
13613 | ||
2ed4b548 YQ |
13614 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13615 | ||
13616 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
13617 | (ld_so_xfer_auxv): Likewise. | |
13618 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
13619 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
13620 | * corelow.c (core_xfer_partial): Likewise. | |
13621 | * ctf.c (ctf_xfer_partial): Likewise. | |
13622 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
13623 | (darwin_xfer_partial): Likewise. | |
13624 | * exec.c (exec_xfer_partial): Likewise. | |
13625 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
13626 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
13627 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
13628 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
13629 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
13630 | (linux_proc_xfer_spu): Likewise. | |
13631 | * procfs.c (procfs_xfer_partial): Likewise. | |
13632 | * record-full.c (record_full_xfer_partial): Likewise. | |
13633 | (record_full_core_xfer_partial): Likewise. | |
13634 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
13635 | * remote.c (remote_write_qxfer): Likewise. | |
13636 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
13637 | (remote_xfer_partial): Likewise. | |
13638 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
13639 | (rs6000_xfer_shared_libraries): Likewise. | |
13640 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
13641 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
13642 | (spu_xfer_partial): Likewise. | |
13643 | * target.c (memory_xfer_partial_1): Likewise. | |
13644 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
13645 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
13646 | (windows_xfer_partial): Likewise. | |
13647 | ||
c09f20e4 YQ |
13648 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13649 | ||
13650 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
13651 | comments. | |
13652 | (core_xfer_shared_libraries_aix): Likewise. | |
13653 | * gdbarch.c, gdbarch.h: Regenerated. | |
13654 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
13655 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
13656 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
13657 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
13658 | declaration. | |
13659 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
13660 | ||
8635b3bf YQ |
13661 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
13662 | ||
13663 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
13664 | 'exception' to throw_error. | |
13665 | ||
6dddc817 DE |
13666 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
13667 | ||
13668 | * configure.ac (libpython checking): Remove all but python.o from | |
13669 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
13670 | * configure: Regenerate. | |
13671 | ||
13672 | * Makefile.in (SFILES): Add extension.c. | |
13673 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
13674 | (COMMON_OBS): Add extension.o. | |
13675 | * extension.h: New file. | |
13676 | * extension-priv.h: New file. | |
13677 | * extension.c: New file. | |
13678 | ||
13679 | * python/python-internal.h: #include "extension.h". | |
13680 | (gdbpy_auto_load_enabled): Declare. | |
13681 | (gdbpy_apply_val_pretty_printer): Declare. | |
13682 | (gdbpy_apply_frame_filter): Declare. | |
13683 | (gdbpy_preserve_values): Declare. | |
13684 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
13685 | (gdbpy_breakpoint_has_cond): Declare. | |
13686 | (void source_python_script_for_objfile): Delete. | |
13687 | * python/python.c: #include "extension-priv.h". | |
13688 | Delete inclusion of "observer.h". | |
13689 | (extension_language_python): Moved here and renamed from | |
13690 | script_language_python in py-auto-load.c. | |
13691 | Redefined to be of type extension_language_defn. | |
13692 | (python_extension_script_ops): New global. | |
13693 | (python_extension_ops): New global. | |
13694 | (struct python_env): New member previous_active. | |
13695 | (restore_python_env): Call restore_active_ext_lang. | |
13696 | (ensure_python_env): Call set_active_ext_lang. | |
13697 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
13698 | New arg extlang. | |
13699 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
13700 | New arg extlang. | |
13701 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
13702 | New arg extlang. | |
13703 | (gdbpy_eval_from_control_command): Renamed from | |
13704 | eval_python_from_control_command, made static. New arg extlang. | |
13705 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
13706 | New arg extlang. | |
13707 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
13708 | result to int. New arg extlang. | |
13709 | (gdbpy_source_objfile_script): Renamed from | |
13710 | source_python_script_for_objfile, made static. New arg extlang. | |
13711 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
13712 | static. New args extlang, extlang_printers. Change result type to | |
13713 | "void". | |
13714 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
13715 | static. New arg extlang. Rename arg printers to extlang_printers | |
13716 | and change type to ext_lang_type_printers *. | |
13717 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
13718 | static. Replace argument arg with extlang, extlang_printers. | |
13719 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
13720 | (!HAVE_PYTHON, source_python_script): Delete. | |
13721 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
13722 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
13723 | (!HAVE_PYTHON, start_type_printers): Delete. | |
13724 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
13725 | (!HAVE_PYTHON, free_type_printers): Delete. | |
13726 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
13727 | (finalize_python): Set/restore active extension language. | |
13728 | (gdbpy_finish_initialization) Renamed from | |
13729 | finish_python_initialization, made static. New arg extlang. | |
13730 | (gdbpy_initialized): New function. | |
13731 | * python/python.h: #include "extension.h". Delete #include | |
13732 | "value.h", "mi/mi-cmds.h". | |
13733 | (extension_language_python): Declare. | |
13734 | (GDBPY_AUTO_FILE_NAME): Delete. | |
13735 | (enum py_bt_status): Moved to extension.h and renamed to | |
13736 | ext_lang_bt_status. | |
13737 | (enum frame_filter_flags): Moved to extension.h. | |
13738 | (enum py_frame_args): Moved to extension.h and renamed to | |
13739 | ext_lang_frame_args. | |
13740 | (finish_python_initialization): Delete. | |
13741 | (eval_python_from_control_command): Delete. | |
13742 | (source_python_script): Delete. | |
13743 | (apply_val_pretty_printer): Delete. | |
13744 | (apply_frame_filter): Delete. | |
13745 | (preserve_python_values): Delete. | |
13746 | (gdbpy_script_language_defn): Delete. | |
13747 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
13748 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
13749 | ||
13750 | * auto-load.c: #include "extension.h". | |
13751 | (GDB_AUTO_FILE_NAME): Delete. | |
13752 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
13753 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
13754 | extension_language_gdb. | |
13755 | (source_gdb_script_for_objfile): Delete. | |
13756 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
13757 | (loaded_script): Change type of language member to | |
13758 | struct extension_language_defn *. | |
13759 | (init_loaded_scripts_info): Initialize | |
13760 | unsupported_script_warning_printed. | |
13761 | (maybe_add_script): Make static. Change type of language arg to | |
13762 | struct extension_language_defn *. | |
13763 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
13764 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
13765 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
13766 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
13767 | (source_section_scripts): Rewrite to use extension language API. | |
13768 | (load_auto_scripts_for_objfile): Rewrite to use | |
13769 | auto_load_scripts_for_objfile. | |
13770 | (collect_matching_scripts_data): Change type of language member to | |
13771 | struct extension_language_defn *. | |
13772 | (auto_load_info_scripts): Change type of language arg to | |
13773 | struct extension_language_defn *. | |
13774 | (unsupported_script_warning_print): New function. | |
13775 | (script_not_found_warning_print): Make static. | |
13776 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
13777 | help. | |
13778 | * auto-load.h (struct objfile): Add forward decl. | |
13779 | (struct script_language): Delete. | |
13780 | (struct auto_load_pspace_info): Add forward decl. | |
13781 | (struct extension_language_defn): Add forward decl. | |
13782 | (maybe_add_script): Delete. | |
13783 | (auto_load_objfile_script): Declare. | |
13784 | (script_not_found_warning_print): Delete. | |
13785 | (auto_load_info_scripts): Update prototype. | |
13786 | (auto_load_gdb_scripts_enabled): Declare. | |
13787 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
13788 | auto_load_python_scripts_enabled and made public. | |
13789 | (script_language_python): Delete, moved to python.c. | |
13790 | (gdbpy_script_language_defn): Delete. | |
13791 | (info_auto_load_python_scripts): Update to use | |
13792 | extension_language_python. | |
13793 | ||
13794 | * breakpoint.c (condition_command): Replace call to | |
13795 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
13796 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
13797 | with call to breakpoint_ext_lang_cond_says_stop. | |
13798 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
13799 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
13800 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
13801 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
13802 | New arg slang. | |
13803 | (local_setattro): Print name of extension language with existing | |
13804 | stop condition. | |
13805 | ||
13806 | * valprint.c (val_print, value_print): Update to call | |
13807 | apply_ext_lang_val_pretty_printer. | |
13808 | * cp-valprint.c (cp_print_value): Update call to | |
13809 | apply_ext_lang_val_pretty_printer. | |
13810 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
13811 | (gdbpy_apply_val_pretty_printer): Renamed from | |
13812 | apply_val_pretty_printer. New arg extlang. | |
13813 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
13814 | ||
13815 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
13816 | extension language API. | |
13817 | * cli/cli-script.c (execute_control_command): Update to call | |
13818 | eval_ext_lang_from_control_command. | |
13819 | ||
13820 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
13821 | enum ext_lang_bt_status values. Update call to | |
13822 | apply_ext_lang_frame_filter. | |
13823 | (mi_cmd_stack_list_locals): Ditto. | |
13824 | (mi_cmd_stack_list_args): Ditto. | |
13825 | (mi_cmd_stack_list_variables): Ditto. | |
13826 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
13827 | Add #include "extension.h". | |
13828 | (mi_cmd_list_features): Replace reference to python internal variable | |
13829 | gdb_python_initialized with call to ext_lang_initialized_p. | |
13830 | ||
13831 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
13832 | Update to use enum ext_lang_frame_args. Update to call | |
13833 | apply_ext_lang_frame_filter. | |
13834 | * python/py-framefilter.c (extract_sym): Update to use enum | |
13835 | ext_lang_bt_status. | |
13836 | (extract_value, py_print_type, py_print_value): Ditto. | |
13837 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
13838 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
13839 | (py_print_frame): Ditto. | |
13840 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
13841 | New arg extlang. Update to use enum ext_lang_bt_status. | |
13842 | ||
13843 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
13844 | finish_python_initialization. Replace with call to | |
13845 | finish_ext_lang_initialization. | |
13846 | ||
13847 | * typeprint.c (do_free_global_table): Update to call | |
13848 | free_ext_lang_type_printers. | |
13849 | (create_global_typedef_table): Update to call | |
13850 | start_ext_lang_type_printers. | |
13851 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
13852 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
13853 | (type_print_options): Change type of global_printers from "void *" | |
13854 | to "struct ext_lang_type_printers *". | |
13855 | ||
13856 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
13857 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
13858 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
13859 | New arg extlang. | |
13860 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
13861 | ||
13862 | * utils.c (quit_flag): Delete, moved to extension.c. | |
13863 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
13864 | extension.c. | |
13865 | ||
13866 | * eval.c: Delete #include "python/python.h". | |
13867 | * main.c: Delete #include "python/python.h". | |
13868 | ||
13869 | * defs.h: Update comment. | |
13870 | ||
6af79985 JB |
13871 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
13872 | ||
13873 | GDB 7.7 released. | |
13874 | ||
12c5175d MK |
13875 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
13876 | ||
13877 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
13878 | defined. | |
13879 | ||
8dc5b319 YQ |
13880 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
13881 | ||
13882 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
13883 | rs->buf. | |
13884 | (remote_program_signals): Likewise. | |
13885 | ||
de7b2893 YQ |
13886 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
13887 | ||
13888 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
13889 | (CTF_PID): A new macro. | |
13890 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
13891 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
13892 | (ctf_thread_alive): New function. | |
13893 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
13894 | ||
66d032ac YQ |
13895 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
13896 | ||
13897 | Revert this patch: | |
13898 | ||
13899 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
13900 | ||
13901 | * tracepoint.c (TFILE_PID): Remove. | |
13902 | (tfile_open): Don't add thread and inferior. | |
13903 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
13904 | exit_inferior_silent. | |
13905 | (tfile_thread_alive): Remove. | |
13906 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
13907 | tfile_ops. | |
13908 | ||
f4ccffad CE |
13909 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
13910 | ||
13911 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
13912 | if only symbol-file (not file) has been given. | |
13913 | ||
591a12a1 UW |
13914 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13915 | ||
13916 | * gdbarch.sh (skip_entrypoint): New callback. | |
13917 | * gdbarch.c, gdbarch.h: Regenerate. | |
13918 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
13919 | * infrun.c (fill_in_stop_func): Likewise. | |
13920 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
13921 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
13922 | (ppc_elfv2_skip_entrypoint): Likewise. | |
13923 | (ppc_linux_init_abi): Install them for ELFv2. | |
13924 | ||
cc0e89c5 UW |
13925 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13926 | ||
13927 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
13928 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
13929 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
13930 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
13931 | structures returned in GPRs. | |
13932 | ||
52f548e4 UW |
13933 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13934 | ||
13935 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
13936 | offset to the stack parameter list for the ELFv2 ABI. | |
13937 | ||
d4094b6a UW |
13938 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13939 | ||
13940 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
13941 | set_gdbarch_convert_from_func_ptr_addr and | |
13942 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
13943 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
13944 | function descriptors on ELFv1. | |
13945 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
13946 | set up r12 at function entry. | |
13947 | ||
cd453cd0 UW |
13948 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13949 | ||
13950 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
13951 | (struct gdbarch_tdep): New member elf_abi. | |
13952 | ||
13953 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
13954 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
13955 | ||
0ff3e01f UW |
13956 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13957 | ||
13958 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
13959 | within a register pair holding a DFP 128-bit value on little-endian. | |
13960 | (ppc64_sysv_abi_return_value_base): Likewise. | |
13961 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
13962 | (dfp_pseudo_register_write): Likewise. | |
13963 | ||
5b757e5d UW |
13964 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13965 | ||
13966 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
13967 | offset on little-endian when passing _Decimal32. | |
13968 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
13969 | ||
084ee545 UW |
13970 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13971 | ||
13972 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
13973 | of the overlapped FP register within the VSX register on little- | |
13974 | endian platforms. | |
13975 | (efpr_pseudo_register_write): Likewise. | |
13976 | ||
d63167af UW |
13977 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13978 | ||
13979 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
13980 | offset on little-endian when passing small structures. | |
13981 | ||
e765b44c UW |
13982 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13983 | ||
13984 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
13985 | (struct ppc64_sysv_argpos): New data structure. | |
13986 | (ppc64_sysv_abi_push_float): Remove. | |
13987 | (ppc64_sysv_abi_push_val): New function. | |
13988 | (ppc64_sysv_abi_push_integer): Likewise. | |
13989 | (ppc64_sysv_abi_push_freg): Likewise. | |
13990 | (ppc64_sysv_abi_push_vreg): Likewise. | |
13991 | (ppc64_sysv_abi_push_param): Likewise. | |
13992 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
13993 | (ppc64_sysv_abi_return_value_base): New function. | |
13994 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
13995 | ||
36c24d95 UW |
13996 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
13997 | ||
13998 | * NEWS: Document new target powerpc64le-*-linux*. | |
13999 | ||
26fd9228 MK |
14000 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
14001 | ||
14002 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
14003 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
14004 | core dumps. | |
14005 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
14006 | register set used in ELF core dumps. Add floating-point register set. | |
14007 | ||
c5bb7362 KB |
14008 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
14009 | ||
74228e77 | 14010 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
14011 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
14012 | penultimate entry from number representing the PC register | |
14013 | to symbolic constant representing the MDR register. Add | |
14014 | constant for the PC register to the end of the table. | |
14015 | ||
af09351e MK |
14016 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14017 | ||
14018 | * bsd-kvm.c: Include <sys/param.h> | |
14019 | ||
8507e05d MK |
14020 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14021 | ||
14022 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
14023 | ||
ae56bfb8 JB |
14024 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
14025 | ||
14026 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
14027 | ||
718ee4dc UW |
14028 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
14029 | ||
14030 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
14031 | ||
401e27fd JM |
14032 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
14033 | ||
14034 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
14035 | the sigreturn register save area only if the syscall is | |
14036 | sigreturn. | |
14037 | ||
a7c88acd JB |
14038 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
14039 | ||
14040 | * valops.c (value_slice): Minor reformatting. | |
14041 | ||
fa0079ea UW |
14042 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
14043 | ||
14044 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
14045 | ||
c6044dd1 JB |
14046 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
14047 | ||
14048 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
14049 | New static globals. | |
14050 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
14051 | (ada_ignore_descriptive_types_p): New static global. | |
14052 | (find_parallel_type_by_descriptive_type): Return immediately | |
14053 | if ada_ignore_descriptive_types_p is set. | |
14054 | (_initialize_ada_language): Register new commands "maintenance | |
14055 | set ada", "maintenance show ada", "maintenance set ada | |
14056 | ignore-descriptive-types" and "maintenance show ada | |
14057 | ignore-descriptive-types". | |
14058 | * NEWS: Add entry for new "maint ada set/show | |
14059 | ignore-descriptive-types" commands. | |
14060 | ||
568e808b MM |
14061 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
14062 | ||
14063 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
14064 | for all threads. | |
14065 | ||
467d141b JB |
14066 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14067 | ||
14068 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
14069 | "ui-out.h". | |
14070 | ||
fb151210 JB |
14071 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14072 | ||
14073 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
14074 | New function. | |
14075 | (print_range): Add parameter bounds_prefered_p. If not set, | |
14076 | try printing range types using the name of their base type. | |
14077 | (print_range_type): Add parameter bounds_prefered_p. | |
14078 | Use it in call to print_range. | |
14079 | (print_array_type, ada_print_type): Update calls to print_range | |
14080 | and print_range_type. | |
14081 | ||
aba02109 JB |
14082 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14083 | ||
14084 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
14085 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
14086 | Remove declaration. | |
14087 | ||
e62e21fd JB |
14088 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14089 | ||
14090 | * ada-typeprint.c (print_range): Add missing empty line | |
14091 | after local declaration. | |
14092 | ||
859cf5d1 JB |
14093 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14094 | ||
14095 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
14096 | target type for as long as it is a TYPE_CODE_RANGE. | |
14097 | ||
25790f6f JB |
14098 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14099 | ||
14100 | * procfs.c (procfs_make_note_section): Remove assertion and | |
14101 | associated comment. | |
14102 | ||
6b6aa828 YQ |
14103 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14104 | ||
14105 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
14106 | * corelow.c (get_core_siginfo): Likewise. | |
14107 | ||
5d6df423 YQ |
14108 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14109 | ||
14110 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
14111 | ULONGEST. Don't check 'len' is negative. | |
14112 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
14113 | ||
83b645b8 TT |
14114 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14115 | ||
14116 | PR python/16485: | |
14117 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
14118 | Handle exception from frame.block. | |
14119 | (FrameVars.fetch_frame_locals): Likewise. | |
14120 | ||
0740f8d8 TT |
14121 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14122 | ||
14123 | PR python/16487: | |
14124 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
14125 | on a NULL pointer. Move "goto error" to correct place. | |
14126 | ||
21909fa1 TT |
14127 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14128 | ||
14129 | PR python/16491: | |
14130 | * python/py-framefilter.c (apply_frame_filter): Call | |
14131 | ensure_python_env after computing gdbarch. | |
14132 | ||
17fde6d0 YQ |
14133 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
14134 | ||
14135 | * target.c (raw_memory_xfer_partial): Change argument type | |
14136 | from void * to gdb_byte *. | |
14137 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
14138 | ||
87ce2a04 DE |
14139 | 2014-01-22 Doug Evans <dje@google.com> |
14140 | ||
14141 | New gdbserver option --debug-format=timestamp. | |
14142 | * NEWS: Mention it. | |
14143 | ||
237b092b AA |
14144 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
14145 | ||
14146 | * syscalls/s390x-linux.xml: New file. | |
14147 | * syscalls/s390-linux.xml: New file. | |
14148 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
14149 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
14150 | (op_svc): New enum value for SVC opcode. | |
14151 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
14152 | (s390_linux_get_syscall_number): New function. | |
14153 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
14154 | syscall xml file name. | |
14155 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
14156 | "s390-linux.xml" and "s390x-linux.xml". | |
14157 | * NEWS: Announce new feature. | |
14158 | ||
54bff650 BS |
14159 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
14160 | ||
14161 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
14162 | ||
14e361d7 PA |
14163 | 2014-01-22 Pedro Alves <palves@redhat.com> |
14164 | ||
14165 | * xtensa-config.c: Include defs.h. | |
14166 | ||
46bbb3ed JB |
14167 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14168 | ||
14169 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
14170 | reference. | |
14171 | ||
3a80edfc JB |
14172 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14173 | ||
14174 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
14175 | documentation a bit. | |
14176 | ||
4869db5e RM |
14177 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
14178 | ||
14179 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
14180 | * configure: Regenerate. | |
14181 | * aclocal.m4: Regenerate. | |
14182 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
14183 | New substituted variables. | |
14184 | (install-strip): New target. | |
14185 | (INSTALL_SCRIPT): New substituted variable. | |
14186 | (FLAGS_TO_PASS): Add it. | |
14187 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
14188 | $(INSTALL_PROGRAM) for gcore. | |
14189 | ||
9ea4267d TT |
14190 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14191 | ||
14192 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
14193 | together. | |
14194 | ||
1f2bdf09 TT |
14195 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14196 | ||
14197 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
14198 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
14199 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
14200 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
14201 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
14202 | (struct cmd_list_element) <flags>: Remove. | |
14203 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
14204 | doc_allocated>: New fields. | |
14205 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
14206 | bitfields. | |
14207 | * maint.c (maintenance_do_deprecate): Update. | |
14208 | * top.c (execute_command): Update. | |
14209 | ||
e671835b BS |
14210 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
14211 | ||
14212 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
14213 | ||
50367cd2 IB |
14214 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14215 | ||
14216 | * Makefile.in (SFILES): Add d-support.c. | |
14217 | (COMMON_OBS): Add d-support.o. | |
14218 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
14219 | d-support.c. | |
14220 | * d-lang.c (parse_call_convention) | |
14221 | (parse_attributes, parse_function_types) | |
14222 | (parse_function_args, parse_type, parse_identifier) | |
14223 | (call_convention_p, d_parse_symbol): Move functions to ... | |
14224 | * d-support.c: ... New file. | |
14225 | ||
ec9f644a IB |
14226 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14227 | ||
14228 | * d-lang.h (d_parse_symbol): Add declaration. | |
14229 | * d-lang.c (extract_identifiers) | |
14230 | (extract_type_info): Remove functions. | |
14231 | (parse_call_convention, parse_attributes) | |
14232 | (parse_function_types, parse_function_args) | |
14233 | (parse_type, parse_identifier, call_convention_p) | |
14234 | (d_parse_symbol): New functions. | |
14235 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
14236 | ||
94b1b47e IB |
14237 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14238 | ||
14239 | * d-lang.h (struct builtin_d_type): New data type. | |
14240 | (builtin_d_type): Add declaration. | |
14241 | * d-lang.c (d_language_arch_info, build_d_types) | |
14242 | (builtin_d_type): New functions. | |
14243 | (enum d_primitive_types): New data type. | |
14244 | (d_language_defn): Change c_language_arch_info to | |
14245 | d_language_arch_info. | |
14246 | (d_type_data): New static variable. | |
14247 | (_initialize_d_language): Initialize d_type_data. | |
14248 | ||
63778547 IB |
14249 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14250 | ||
14251 | * d-lang.h (d_main_name): Add declaration. | |
14252 | * d-lang.c (d_main_name): New function. | |
14253 | * symtab.c (find_main_name): Add call to d_main_name. | |
14254 | ||
3271ba66 IB |
14255 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14256 | ||
14257 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
14258 | macro_expansion_no. | |
14259 | ||
d36b3012 IB |
14260 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14261 | ||
14262 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
14263 | ||
c90a6fb7 SDJ |
14264 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
14265 | ||
14266 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
14267 | gdb_exception" declaration. | |
14268 | * remote.c (getpkt_or_notif_sane): Likewise. | |
14269 | ||
749234e5 DE |
14270 | 2014-01-17 Doug Evans <dje@google.com> |
14271 | ||
14272 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
14273 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
14274 | (delim_string_to_char_ptr_vec): New function. | |
14275 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
14276 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
14277 | ||
df049a58 DE |
14278 | 2014-01-17 Doug Evans <dje@google.com> |
14279 | ||
14280 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
14281 | and moved here ... | |
14282 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
14283 | #include "common-utils.h". | |
14284 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
14285 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
14286 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
14287 | (MACH_CHECK_ERROR): Update. | |
14288 | ||
69f97648 SM |
14289 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
14290 | ||
14291 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
14292 | comments. | |
14293 | * gdbarch.h: Regenerate. | |
14294 | ||
98b1cfdc TT |
14295 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
14296 | ||
14297 | * value.c (struct value) <regnum>: Move earlier. | |
14298 | ||
77a19445 TT |
14299 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
14300 | ||
14301 | * remote.c (extended_remote_create_inferior): Rename from | |
14302 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
14303 | old implementation. | |
14304 | ||
62261490 PA |
14305 | 2014-01-16 Pedro Alves <palves@redhat.com> |
14306 | ||
14307 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
14308 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
14309 | the backchain. | |
14310 | ||
4d65956b DE |
14311 | 2014-01-16 Doug Evans <dje@google.com> |
14312 | ||
14313 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
14314 | ||
52834460 MM |
14315 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14316 | ||
14317 | * btrace.h (btrace_thread_flag): New. | |
14318 | (struct btrace_thread_info) <flags>: New. | |
14319 | * record-btrace.c (record_btrace_resume_thread) | |
14320 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
14321 | (btrace_step_stopped, record_btrace_start_replaying) | |
14322 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
14323 | (record_btrace_find_resume_thread): New. | |
14324 | (record_btrace_resume, record_btrace_wait): Extend. | |
14325 | (record_btrace_can_execute_reverse): New. | |
14326 | (record_btrace_open): Fail in non-stop mode. | |
14327 | (record_btrace_set_replay): Split into this, ... | |
14328 | (record_btrace_stop_replaying): ... this, ... | |
14329 | (record_btrace_clear_histories): ... and this. | |
14330 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
14331 | * NEWS: Announce it. | |
14332 | ||
118e6252 MM |
14333 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14334 | ||
14335 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
14336 | (forward_target_decr_pc_after_break) | |
14337 | (target_decr_pc_after_break): New. | |
14338 | * target.c (forward_target_decr_pc_after_break) | |
14339 | (target_decr_pc_after_break): New. | |
14340 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
14341 | instead of gdbarch_decr_pc_after_break. | |
14342 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
14343 | instead of gdbarch_decr_pc_after_break. | |
14344 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
14345 | instead of gdbarch_decr_pc_after_break. | |
14346 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
14347 | instead of gdbarch_decr_pc_after_break. | |
14348 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
14349 | instead of gdbarch_decr_pc_after_break. | |
14350 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
14351 | instead of gdbarch_decr_pc_after_break. | |
14352 | ||
6e07b1d2 MM |
14353 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14354 | ||
14355 | * btrace.c: Include regcache.h. | |
14356 | (btrace_add_pc): New. | |
14357 | (btrace_enable): Call btrace_add_pc. | |
14358 | (btrace_is_empty): New. | |
14359 | * btrace.h (btrace_is_empty): New. | |
14360 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
14361 | btrace_is_empty. | |
14362 | ||
969c39fb MM |
14363 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14364 | ||
14365 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
14366 | Support delta reads. | |
14367 | (linux_disable_btrace): Change return type. | |
14368 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
14369 | and return type to allow error reporting. Update users. | |
14370 | (linux_disable_btrace): Change return type. Update users. | |
14371 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
14372 | New. | |
14373 | (btrace_error): New. | |
14374 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
14375 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
14376 | the current trace. | |
14377 | (btrace_stitch_trace, btrace_clear_history): New. | |
14378 | (btrace_fetch): Read delta trace, return if replaying. | |
14379 | (btrace_clear): Move clear history code to btrace_clear_history. | |
14380 | (parse_xml_btrace): Throw an error if parsing failed. | |
14381 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
14382 | and return type to allow error reporting. | |
14383 | (target_read_btrace): Change parameters and return type to allow | |
14384 | error reporting. | |
14385 | * target.c (target_read_btrace): Update. | |
14386 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
14387 | errors on. | |
14388 | * NEWS: Announce it. | |
14389 | ||
0b722aec MM |
14390 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14391 | ||
14392 | * record.h (record_btrace_frame_unwind) | |
14393 | (record_btrace_tailcall_frame_unwind): New declarations. | |
14394 | * dwarf2-frame: Include record.h | |
14395 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
14396 | * record-btrace.c: Include hashtab.h. | |
14397 | (btrace_get_bfun_name): New. | |
14398 | (btrace_call_history): Call btrace_get_bfun_name. | |
14399 | (struct btrace_frame_cache): New. | |
14400 | (bfcache): New. | |
14401 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
14402 | (btrace_get_frame_function): New. | |
14403 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
14404 | (record_btrace_frame_this_id): Compute own id. | |
14405 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
14406 | for all other registers. | |
14407 | (record_btrace_frame_sniffer): Detect btrace frames. | |
14408 | (record_btrace_tailcall_frame_sniffer): New. | |
14409 | (record_btrace_frame_dealloc_cache): New. | |
14410 | (record_btrace_frame_unwind): Add new functions. | |
14411 | (record_btrace_tailcall_frame_unwind): New. | |
14412 | (_initialize_record_btrace): Allocate cache. | |
14413 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
14414 | * NEWS: Announce it. | |
14415 | ||
066ce621 MM |
14416 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14417 | ||
14418 | * record-btrace.c (record_btrace_set_replay) | |
14419 | (record_btrace_goto_begin, record_btrace_goto_end) | |
14420 | (record_btrace_goto): New. | |
14421 | (init_record_btrace_ops): Initialize them. | |
14422 | * NEWS: Announce it. | |
14423 | ||
e2887aa3 MM |
14424 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14425 | ||
14426 | * record-btrace.c (record_btrace_find_new_threads) | |
14427 | (record_btrace_thread_alive): New. | |
14428 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
14429 | to_thread_alive. | |
14430 | ||
b2f4cfde MM |
14431 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14432 | ||
14433 | * record-btrace.c (record_btrace_resume): New. | |
14434 | (record_btrace_wait): New. | |
14435 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
14436 | ||
633785ff MM |
14437 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14438 | ||
14439 | * record-btrace.c (record_btrace_xfer_partial) | |
14440 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
14441 | (record_btrace_allow_memory_access): New. | |
14442 | (init_record_btrace_ops): Initialize new methods. | |
14443 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
14444 | that this memory is not available. | |
14445 | ||
3db08215 MM |
14446 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14447 | ||
14448 | * target.h (target_ops) <to_insert_breakpoint> | |
14449 | <to_remove_breakpoint>: Add target_ops parameter. | |
14450 | (forward_target_insert_breakpoint): New. | |
14451 | (forward_target_remove_breakpoint): New. | |
14452 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
14453 | Add target_ops parameter. | |
14454 | * target.c (target_insert_breakpoint): Split into this and ... | |
14455 | (forward_target_insert_breakpoint): ... this. | |
14456 | (target_remove_breakpoint): Split into this and ... | |
14457 | (forward_target_remove_breakpoint): ... this. | |
14458 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
14459 | Call forward_target_insert_breakpoint. | |
14460 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
14461 | Call forward_target_remove_breakpoint. | |
14462 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
14463 | and to_remove_breakpoint. | |
14464 | * corelow.c (ignore): Add target_ops parameter. | |
14465 | * exec.c (ignore): Add target_ops parameter. | |
14466 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
14467 | Add target_ops parameter. | |
14468 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
14469 | Add target_ops parameter. | |
14470 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
14471 | Add target_ops parameter. | |
14472 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
14473 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
14474 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
14475 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
14476 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
14477 | Update users. | |
14478 | (record_full_beneath_to_insert_breakpoint_ops) | |
14479 | (record_full_beneath_to_remove_breakpoint_ops) | |
14480 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
14481 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
14482 | tmp_to_remove_breakpoint_ops, | |
14483 | record_full_beneath_to_insert_breakpoint_ops, and | |
14484 | record_full_beneath_to_remove_breakpoint_ops. | |
14485 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
14486 | (m32r_remove_breakpoint): Add target_ops parameter. | |
14487 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
14488 | Add target_ops parameter. | |
14489 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
14490 | Add target_ops parameter. | |
14491 | ||
cecac1ab MM |
14492 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14493 | Markus Metzger <markus.t.metzger@intel.com> | |
14494 | ||
14495 | * record-btrace.c: Include frame-unwind.h. | |
14496 | (record_btrace_frame_unwind_stop_reason) | |
14497 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
14498 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
14499 | New. | |
14500 | (init_record_btrace_ops): Install it. | |
14501 | ||
824344ca MM |
14502 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14503 | ||
14504 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
14505 | get_prev_frame_1. | |
14506 | ||
32261e52 MM |
14507 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14508 | ||
14509 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
14510 | earlier. | |
14511 | ||
ea001bdc MM |
14512 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
14513 | ||
14514 | * frame-unwind.c: Include target.h. | |
14515 | (frame_unwind_try_unwinder): New function with code from ... | |
14516 | (frame_unwind_find_by_frame): ... here. New variable | |
14517 | unwinder_from_target, call also target_get_unwinder) | |
14518 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
14519 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
14520 | * target.h (struct target_ops): New fields to_get_unwinder and | |
14521 | to_get_tailcall_unwinder. | |
14522 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
14523 | ||
1f3ef581 MM |
14524 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14525 | ||
14526 | * record-btrace.c (record_btrace_fetch_registers) | |
14527 | (record_btrace_store_registers) | |
14528 | (record_btrace_to_prepare_to_store): New. | |
14529 | (init_record_btrace_ops): Add the above. | |
14530 | ||
f32dbf8c MM |
14531 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
14532 | ||
14533 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
14534 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
14535 | argument. | |
14536 | (target_prepare_to_store): Add argument. | |
14537 | * target.c (debug_to_prepare_to_store): Add argument. | |
14538 | (update_current_target): Update. | |
14539 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
14540 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
14541 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
14542 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
14543 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
14544 | argument. | |
14545 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
14546 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
14547 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
14548 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
14549 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
14550 | ||
07bbe694 MM |
14551 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14552 | ||
14553 | * btrace.h (replay) <replay>: New. | |
14554 | (btrace_is_replaying): New. | |
14555 | * btrace.c (btrace_clear): Free replay iterator. | |
14556 | (btrace_is_replaying): New. | |
14557 | * record-btrace.c (record_btrace_is_replaying): New. | |
14558 | (record_btrace_info): Print insn number if replaying. | |
14559 | (record_btrace_insn_history): Start at replay position. | |
14560 | (record_btrace_call_history): Start at replay position. | |
14561 | (init_record_btrace_ops): Init to_record_is_replaying. | |
14562 | ||
0688d04e MM |
14563 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14564 | ||
14565 | * record-btrace.c (record_btrace_insn_history_range): Include | |
14566 | end. | |
14567 | (record_btrace_insn_history_from): Adjust range. | |
14568 | (record_btrace_call_history_range): Include | |
14569 | end. | |
14570 | (record_btrace_call_history_from): Adjust range. | |
14571 | * NEWS: Announce changes. | |
14572 | ||
8710b709 MM |
14573 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14574 | ||
14575 | * record.h (enum record_print_flag) | |
14576 | <record_print_indent_calls>: New. | |
14577 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
14578 | (_initialize_record): Document /c modifier. | |
14579 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
14580 | Reorder fields. Optionally indent the function name. Update | |
14581 | all users. | |
14582 | * NEWS: Announce changes. | |
14583 | ||
d0fa7535 MM |
14584 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14585 | ||
14586 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
14587 | ||
5de9129b MM |
14588 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14589 | ||
14590 | * btrace.c (ftrace_new_function): Start counting at one. | |
14591 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
14592 | and insns. | |
14593 | * NEWS: Announce it. | |
14594 | ||
7acbe133 MM |
14595 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14596 | ||
14597 | * record-btrace.c (btrace_call_history_insn_range): Print | |
14598 | insn range as [begin, end]. | |
14599 | ||
23a7fe75 MM |
14600 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14601 | ||
14602 | * btrace.h (struct btrace_func_link): New. | |
14603 | (enum btrace_function_flag): New. | |
14604 | (struct btrace_inst): Rename to ... | |
14605 | (struct btrace_insn): ...this. Update all users. | |
14606 | (struct btrace_func) <ibegin, iend>: Remove. | |
14607 | (struct btrace_func_link): New. | |
14608 | (struct btrace_func): Rename to ... | |
14609 | (struct btrace_function): ...this. Update all users. | |
14610 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
14611 | (number, level, flags>: New. | |
14612 | (struct btrace_insn_iterator): Rename to ... | |
14613 | (struct btrace_insn_history): ...this. | |
14614 | Update all users. | |
14615 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
14616 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
14617 | (struct btrace_target_info) <begin, end, level> | |
14618 | <insn_history, call_history>: New. | |
14619 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
14620 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
14621 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
14622 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
14623 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
14624 | (btrace_find_function_by_number, btrace_set_insn_history) | |
14625 | (btrace_set_call_history): New. | |
14626 | * btrace.c (btrace_init_insn_iterator) | |
14627 | (btrace_init_func_iterator, compute_itrace): Remove. | |
14628 | (ftrace_print_function_name, ftrace_print_filename) | |
14629 | (ftrace_skip_file): Change | |
14630 | parameter to const. | |
14631 | (ftrace_init_func): Remove. | |
14632 | (ftrace_debug): Use new btrace_function fields. | |
14633 | (ftrace_function_switched): Also consider gaining and | |
14634 | losing symbol information). | |
14635 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
14636 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
14637 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
14638 | New. | |
14639 | (ftrace_new_function): Move. Remove debug print. | |
14640 | (ftrace_update_lines, ftrace_update_insns): New. | |
14641 | (ftrace_update_function): Check for call, ret, and jump. | |
14642 | (compute_ftrace): Renamed to ... | |
14643 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
14644 | stack. | |
14645 | (btrace_fetch, btrace_clear): Updated. | |
14646 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
14647 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
14648 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
14649 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
14650 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
14651 | (btrace_find_function_by_number, btrace_set_insn_history) | |
14652 | (btrace_set_call_history): New. | |
14653 | * record-btrace.c (require_btrace): Use new btrace thread | |
14654 | info fields. | |
14655 | (record_btrace_info, btrace_insn_history) | |
14656 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
14657 | Use new btrace thread info fields and new iterator. | |
14658 | (btrace_func_history_src_line): Rename to ... | |
14659 | (btrace_call_history_src_line): ...this. Use new btrace | |
14660 | thread info fields. | |
14661 | (btrace_func_history): Rename to ... | |
14662 | (btrace_call_history): ...this. Use new btrace thread info | |
14663 | fields and new iterator. | |
14664 | (record_btrace_call_history, record_btrace_call_history_range): | |
14665 | Use new btrace thread info fields and new iterator. | |
14666 | ||
8372a7cb MM |
14667 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14668 | ||
14669 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
14670 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
14671 | ||
c2170eef MM |
14672 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14673 | ||
14674 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
14675 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
14676 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
14677 | to gdbarch. | |
14678 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
14679 | (i386_insn_is_jump, i386_jmp_p): New. | |
14680 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
14681 | insn_is_jump to gdbarch. | |
14682 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
14683 | * gdbarch.h: Regenerated. | |
14684 | * gdbarch.c: Regenerated. | |
14685 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
14686 | (default_insn_is_jump): New. | |
14687 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
14688 | (default_insn_is_jump): New. | |
14689 | ||
864089d2 MM |
14690 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14691 | ||
14692 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
14693 | Change to ... | |
14694 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
14695 | (btrace_read_type) <btrace_read_new>: Change to ... | |
14696 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
14697 | ||
ed9edfb5 MM |
14698 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
14699 | ||
14700 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
14701 | previous iteration. | |
14702 | ||
fbcbc3fd DE |
14703 | 2014-01-15 Doug Evans <dje@google.com> |
14704 | ||
14705 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
14706 | uint32_t. | |
14707 | ||
3d548a53 TT |
14708 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14709 | ||
14710 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
14711 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
14712 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
14713 | (set_objfile_main_name): New function. | |
14714 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
14715 | language_of_main>: New fields. | |
14716 | (set_objfile_main_name): Declare. | |
14717 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
14718 | name and language. | |
14719 | (set_main_name): Now static. | |
14720 | (get_main_info): Add comment. | |
14721 | * symtab.h (set_main_name): Don't declare. | |
14722 | ||
32ac0d11 TT |
14723 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14724 | ||
14725 | * symtab.c (main_progspace_key): New global. | |
14726 | (struct main_info): New. | |
14727 | (name_of_main, language_of_main): Remove. | |
14728 | (get_main_info, main_info_cleanup): New function. | |
14729 | (set_main_name, main_name, main_language): Use get_main_info. | |
14730 | (_initialize_symtab): Initialize main_progspace_key. | |
14731 | ||
9e6c82ad TT |
14732 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14733 | ||
14734 | * dbxread.c (process_one_symbol): Update. | |
14735 | * dwarf2read.c (read_partial_die): Update. | |
14736 | * symfile.c (set_initial_language): Call main_language. | |
14737 | * symtab.c (language_of_main): Now static. | |
14738 | (set_main_name): Add 'lang' parameter. | |
14739 | (find_main_name): Update. | |
14740 | (main_language): New function. | |
14741 | (symtab_observer_executable_changed): Update. | |
14742 | * symtab.h (set_main_name): Update. | |
14743 | (language_of_main): Remove. | |
14744 | (main_language): Declare. | |
14745 | ||
6ef55de7 TT |
14746 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14747 | ||
14748 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
14749 | Update. | |
14750 | * objfiles.h (struct entry_point) <initialized>: New field. | |
14751 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
14752 | (struct objfile) <ei>: ...here. Remove. | |
14753 | * objfiles.c (entry_point_address_query): Update. | |
14754 | ||
53eddfa6 TT |
14755 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14756 | ||
14757 | * objfiles.c (entry_point_address_query): Relocate entry point | |
14758 | address. | |
14759 | (objfile_relocate1): Do not relocate entry point address. | |
14760 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
14761 | <the_bfd_section_index>: New field. | |
14762 | * symfile.c (init_entry_point_info): Find the entry point's | |
14763 | section. | |
14764 | ||
d56e56aa TT |
14765 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14766 | ||
14767 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
14768 | ||
33a97bbe OJ |
14769 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
14770 | ||
14771 | * NEWS: Add note on improved process record-replay on | |
14772 | arm*-linux* targets. | |
14773 | ||
c6ec2b30 OJ |
14774 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
14775 | ||
14776 | * arm-tdep.c (enum arm_record_result): New enum. | |
14777 | (arm_record_unsupported_insn): New function. | |
14778 | (arm_record_coproc_data_proc): Removed. | |
14779 | (thumb2_record_ld_st_multiple): New function. | |
14780 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
14781 | (thumb2_record_data_proc_sreg_mimm): New function. | |
14782 | (thumb2_record_ps_dest_generic): New function. | |
14783 | (thumb2_record_branch_misc_cntrl): New function. | |
14784 | (thumb2_record_str_single_data): New function. | |
14785 | (thumb2_record_ld_mem_hints): New function. | |
14786 | (thumb2_record_ld_word): New function. | |
14787 | (thumb2_record_lmul_lmla_div): New function. | |
14788 | (thumb2_record_decode_insn_handler): New function. | |
14789 | (decode_insn): Add thumb32 instruction handlers. | |
14790 | ||
97dfe206 OJ |
14791 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
14792 | ||
14793 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
14794 | (struct arm_linux_record_tdep): Declare. | |
14795 | (arm_canonicalize_syscall): New function. | |
14796 | (arm_all_but_pc_registers_record): New function. | |
14797 | (arm_linux_syscall_record): New function. | |
14798 | (arm_linux_init_abi): Add syscall recording constructs. | |
14799 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
14800 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
14801 | decoding. | |
14802 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
14803 | <arm_syscall_record>: New field. | |
14804 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
14805 | gdb_target_obs. | |
14806 | ||
9904a494 OJ |
14807 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
14808 | ||
14809 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
14810 | register for push instruction recording. | |
14811 | ||
f969241e OJ |
14812 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
14813 | ||
14814 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
14815 | error while recording ldm, ldmia and pop instructions. | |
14816 | ||
bfbbec00 OJ |
14817 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
14818 | ||
14819 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
14820 | ||
e40adcc9 PA |
14821 | 2014-01-15 Pedro Alves <palves@redhat.com> |
14822 | ||
14823 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
14824 | (go32_resume, go32_fetch_registers, store_register) | |
14825 | (go32_store_registers, go32_prepare_to_store) | |
14826 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
14827 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
14828 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
14829 | declarations. | |
14830 | ||
b0a16e66 TT |
14831 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
14832 | ||
14833 | * target.h (async_callback_ftype): New typedef. | |
14834 | (struct target_ops) <to_async>: Use it. | |
14835 | ||
bf7105a4 JB |
14836 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
14837 | ||
14838 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
14839 | braces for single-statement if block. | |
14840 | ||
a8f35c2e JB |
14841 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
14842 | ||
14843 | * python/py-type.c (convert_field): Add missing empty line | |
14844 | after declarations. | |
14845 | ||
bb4142cf DE |
14846 | 2014-01-14 Doug Evans <dje@google.com> |
14847 | ||
14848 | * symfile.h (expand_symtabs_matching): Renamed from | |
14849 | expand_partial_symbol_names. Update prototype. | |
14850 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
14851 | * symfile.c (expand_symtabs_matching): Renamed from | |
14852 | expand_partial_symbol_names. New args file_matcher, kind. | |
14853 | Rename arg fun to symbol_matcher. | |
14854 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
14855 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
14856 | ada_expand_partial_symbol_name. | |
14857 | (ada_make_symbol_completion_list): Update to call | |
14858 | expand_symtabs_matching. | |
14859 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
14860 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
14861 | call map_symbol_filenames. | |
14862 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
14863 | (search_symbols): Call expand_symtabs_matching. | |
14864 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
14865 | (default_make_symbol_completion_list_break_on): Update to call | |
14866 | expand_symtabs_matching. | |
14867 | (make_source_files_completion_list): Update to call | |
14868 | map_symbol_filenames. | |
14869 | ||
206f2a57 DE |
14870 | 2014-01-14 Doug Evans <dje@google.com> |
14871 | ||
14872 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
14873 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
14874 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
14875 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
14876 | * symfile.c (expand_partial_symbol_names): Update to use | |
14877 | expand_symtabs_symbol_matcher_ftype. | |
14878 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
14879 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
14880 | Arg name_matcher renamed to symbol_matcher. | |
14881 | * psymtab.c (recursively_search_psymtabs): Update to use | |
14882 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
14883 | sym_matcher. | |
14884 | (expand_symtabs_matching_via_partial): Update to use | |
14885 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
14886 | Arg name_matcher renamed to symbol_matcher. | |
14887 | ||
540c2971 DE |
14888 | 2014-01-14 Doug Evans <dje@google.com> |
14889 | ||
14890 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
14891 | (map_partial_symbol_filenames): Ditto. | |
14892 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
14893 | (map_partial_symbol_filenames): Ditto. | |
14894 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
14895 | (map_partial_symbol_filenames): Ditto. | |
14896 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
14897 | (map_partial_symbol_filenames): Ditto. | |
14898 | * symtab.c: Delete #include "psymtab.h". | |
14899 | ||
8213266a PA |
14900 | 2014-01-14 Pedro Alves <palves@redhat.com> |
14901 | Tom Tromey <tromey@redhat.com> | |
14902 | ||
14903 | * infrun.c (use_displaced_stepping): Use find_record_target | |
14904 | instead of RECORD_IS_USED. | |
14905 | (adjust_pc_after_break): Use record_full_is_used instead of | |
14906 | RECORD_IS_USED. | |
14907 | * record-btrace.c (record_btrace_open): Call record_preopen | |
14908 | instead of checking RECORD_IS_USED. | |
14909 | * record-full.c (record_full_shortname) | |
14910 | (record_full_core_shortname): New globals. | |
14911 | (record_full_is_used): New function. | |
14912 | (find_full_open): Call record_preopen instead of checking | |
14913 | RECORD_IS_USED. | |
14914 | (init_record_full_ops): Set the target's shortname to | |
14915 | record_full_shortname. | |
14916 | (init_record_full_core_ops): Set the target's shortname to | |
14917 | record_full_core_shortname. | |
14918 | * record-full.h (record_full_is_used): Declare. | |
14919 | * record.c (find_record_target): Make extern. | |
14920 | (record_preopen): New function. | |
14921 | * record.h (RECORD_IS_USED): Delete macro. | |
14922 | (find_record_target, record_preopen): Declare functions. | |
14923 | ||
7ec1862d YQ |
14924 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
14925 | ||
14926 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
14927 | 'len''s type to ULONGEST. | |
14928 | (core_xfer_shared_libraries_aix): Likewise. | |
14929 | * gdbarch.c, gdbarch.h: Regenerated. | |
14930 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
14931 | Change type of 'len' to ULONGEST. | |
14932 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
14933 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
14934 | ||
dea80a27 YQ |
14935 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
14936 | ||
14937 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
14938 | type of 'len' to ULONGEST. | |
14939 | (linux_xfer_osdata_processgroups): Likewise. | |
14940 | (linux_xfer_osdata_threads): Likewise. | |
14941 | (linux_xfer_osdata_fds): Likewise. | |
14942 | (linux_xfer_osdata_isockets): Likewise. | |
14943 | (linux_xfer_osdata_shm): Likewise. | |
14944 | (linux_xfer_osdata_sem): Likewise. | |
14945 | (linux_xfer_osdata_msg): Likewise. | |
14946 | (linux_common_xfer_osdata): Likewise. | |
14947 | (struct osdata_type) <getter>: Likewise. | |
14948 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
14949 | the declaration. | |
14950 | ||
b55e14c7 YQ |
14951 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
14952 | ||
14953 | * target.h (target_xfer_partial_ftype): Update. | |
14954 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
14955 | ULONGEST. | |
14956 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
14957 | argument 'len' to ULONGEST. | |
14958 | * auxv.c (procfs_xfer_auxv): Likewise. | |
14959 | (ld_so_xfer_auxv): Likewise. | |
14960 | (memory_xfer_auxv): Likewise. | |
14961 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14962 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14963 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
14964 | * corelow.c (core_xfer_partial): Likewise. | |
14965 | * ctf.c (ctf_xfer_partial): Likewise. | |
14966 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
14967 | '%u'. | |
14968 | (darwin_read_dyld_info): Likewise. | |
14969 | (darwin_xfer_partial): Likewise. | |
14970 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
14971 | (exec_xfer_partial): Likewise. | |
14972 | * exec.h (section_table_xfer_memory_partial): Update | |
14973 | declaration. | |
14974 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
14975 | instead of plongest. | |
14976 | (gnu_xfer_partial): Likewise. | |
14977 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
14978 | (ia64_hpux_xfer_solib_got): Likewise. | |
14979 | (ia64_hpux_xfer_partial): Likewise. | |
14980 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
14981 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
14982 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
14983 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
14984 | (linux_nat_xfer_partial): Likewise. | |
14985 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
14986 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
14987 | * monitor.c (monitor_xfer_memory): Likewise. | |
14988 | (monitor_xfer_partial): Likewise. | |
14989 | * procfs.c (procfs_xfer_partial): Likewise. | |
14990 | * record-full.c (record_full_xfer_partial): Likewise. | |
14991 | (record_full_core_xfer_partial): Likewise. | |
14992 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
14993 | instead of plongest. | |
14994 | (gdbsim_xfer_partial): Likewise. | |
14995 | * remote.c (remote_xfer_partial): Likewise. | |
14996 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
14997 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
14998 | declaration. | |
14999 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
15000 | (rs6000_xfer_shared_libraries): Likewise. | |
15001 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
15002 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
15003 | (sparc_xfer_partial): Likewise. | |
15004 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
15005 | (spu_xfer_partial): Likewise. | |
15006 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
15007 | * target.c (target_read_live_memory): Likewise. | |
15008 | (memory_xfer_live_readonly_partial): Likewise. | |
15009 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
15010 | (target_xfer_partial, default_xfer_partial): Likewise. | |
15011 | (current_xfer_partial): Likewise. | |
15012 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
15013 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
15014 | pulongest instead of plongest. | |
15015 | (windows_xfer_partial): Likewise. | |
15016 | (windows_xfer_shared_libraries): Likewise. | |
15017 | ||
05804640 YQ |
15018 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15019 | ||
15020 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
15021 | target_xfer_partial_ftype. | |
15022 | ||
b5b08fb4 SC |
15023 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
15024 | ||
15025 | PR python/15464 | |
15026 | PR python/16113 | |
15027 | * valops.c (value_struct_elt_bitpos): New function | |
15028 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
15029 | object to 'None' if the field name is an empty string (""). | |
15030 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
15031 | attribute to look for a field when 'name' is 'None'. | |
15032 | (get_field_type): New function | |
15033 | ||
13aaf454 DE |
15034 | 2014-01-13 Doug Evans <dje@google.com> |
15035 | ||
15036 | PR symtab/16426 | |
15037 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
15038 | (try_open_dwop_file): Ditto. | |
15039 | * gdb_bfd.c: #include "vec.h". | |
15040 | (bfdp): New typedef. | |
15041 | (struct gdb_bfd_data): New member included_bfds. | |
15042 | (gdb_bfd_unref): Unref all included bfds. | |
15043 | (gdb_bfd_record_inclusion): New function. | |
15044 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
15045 | ||
c2cec97c TT |
15046 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15047 | ||
15048 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
15049 | ||
78e5999d TT |
15050 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15051 | ||
15052 | * defs.h (use_windows): Remove. | |
15053 | * gdb.c (main): Update. | |
15054 | * main.c (captured_main, gdb_main): Update. | |
15055 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
15056 | * top.c (use_windows): Remove. | |
15057 | ||
f2052bbe TT |
15058 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15059 | ||
15060 | * defs.h (deprecated_flush_hook): Remove. | |
15061 | ||
fde4f8ed JK |
15062 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
15063 | ||
15064 | PR threads/16216 | |
15065 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
15066 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
15067 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
15068 | (try_thread_db_load_from_sdir): Update caller. | |
15069 | (try_thread_db_load_from_dir): Move it there from here. | |
15070 | ||
bdf61915 PP |
15071 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
15072 | ||
15073 | * regformats/regdat.sh: Always rewrite the register file. | |
15074 | ||
f71e1a8d PA |
15075 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15076 | ||
15077 | * Makefile.in (CHECK_HEADERS): New variable. | |
15078 | (check-headers:): New rule. | |
15079 | ||
42c85435 TT |
15080 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15081 | ||
15082 | * cli/cli-setshow.c (do_set_command): Update. | |
15083 | * defs.h (deprecated_set_hook): Remove. | |
15084 | * top.c (deprecated_set_hook): Remove. | |
15085 | ||
f8de5129 PA |
15086 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15087 | ||
15088 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
15089 | the tracepoint if the PC is a pseudo-register. | |
15090 | ||
fc270c35 TT |
15091 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15092 | ||
15093 | * defs.h (XCALLOC): Remove. | |
15094 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
15095 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
15096 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15097 | * elfread.c (elf_symfile_segments): Likewise. | |
15098 | (elf_symfile_segments): Likewise. | |
15099 | * gdbtypes.c (copy_type_recursive): Likewise. | |
15100 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
15101 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
15102 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
15103 | XCALLOC. | |
15104 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
15105 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
15106 | XCALLOC. | |
15107 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
15108 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
15109 | * registry.c (registry_alloc_data): Likewise. | |
15110 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
15111 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
15112 | * serial.c (serial_fdopen_ops): Likewise. | |
15113 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
15114 | XCALLOC. | |
15115 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
15116 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
15117 | not XCALLOC. | |
15118 | ||
70ba0933 TT |
15119 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15120 | ||
15121 | * defs.h (XMALLOC): Remove. | |
15122 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
15123 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
15124 | * cli-out.c (struct ui_out *): Likewise. | |
15125 | * cli/cli-dump.c (add_dump_command): Likewise. | |
15126 | (add_dump_command): Likewise. | |
15127 | * complaints.c (get_complaints): Likewise. | |
15128 | (find_complaint): Likewise. | |
15129 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
15130 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
15131 | * gdbarch.sh: Likewise. | |
15132 | * gdbarch.c: Rebuild. | |
15133 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
15134 | * interps.c (interp_new): Likewise. | |
15135 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
15136 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
15137 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
15138 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
15139 | * mi/mi-out.c (mi_out_new): Likewise. | |
15140 | * mi/mi-parse.c (mi_parse): Likewise. | |
15141 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
15142 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
15143 | * observer.c (xalloc_observer_list_node): Likewise. | |
15144 | * regcache.c (regcache_xmalloc_1): Likewise. | |
15145 | * reggroups.c (reggroup_new): Likewise. | |
15146 | (_initialize_reggroup): Likewise. | |
15147 | * registry.c (register_data_with_cleanup): Likewise. | |
15148 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
15149 | * ser-base.c (serial_ttystate): Likewise. | |
15150 | * ser-mingw.c (make_pipe_state): Likewise. | |
15151 | * ser-pipe.c (pipe_open): Likewise. | |
15152 | * serial.c (serial_open): Likewise. | |
15153 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
15154 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
15155 | (tui_alloc_win_info): Likewise. | |
15156 | (tui_add_content_elements): Likewise. | |
15157 | * tui/tui-file.c (tui_file_new): Likewise. | |
15158 | * tui/tui-out.c (tui_out_new): Likewise. | |
15159 | * ui-file.c (mem_file_new): Likewise. | |
15160 | * ui-out.c (push_level): Likewise. | |
15161 | (make_cleanup_ui_out_end): Likewise. | |
15162 | (append_header_to_list): Likewise. | |
15163 | (ui_out_new): Likewise. | |
15164 | * user-regs.c (user_reg_add_builtin): Likewise. | |
15165 | ||
41bf6aca TT |
15166 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15167 | ||
15168 | * defs.h (XZALLOC): Remove. | |
15169 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
15170 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
15171 | (get_ada_tasks_inferior_data): Likewise. | |
15172 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
15173 | * auxv.c (get_auxv_inferior_data): Likewise. | |
15174 | * bfd-target.c (target_bfd_reopen): Likewise. | |
15175 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
15176 | (deprecated_insert_raw_breakpoint): Likewise. | |
15177 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
15178 | * corelow.c (core_open): Likewise. | |
15179 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
15180 | (darwin_attach_pid): Likewise. | |
15181 | * dummy-frame.c (dummy_frame_push): Likewise. | |
15182 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
15183 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15184 | * elfread.c (elf_symfile_segments): Likewise. | |
15185 | * eval.c (ptrmath_type_p): Likewise. | |
15186 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
15187 | * gdbtypes.c (alloc_type_arch): Likewise. | |
15188 | (alloc_type_instance): Likewise. | |
15189 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
15190 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
15191 | * inflow.c (get_inflow_inferior_data): Likewise. | |
15192 | * infrun.c (save_infcall_suspend_state): Likewise. | |
15193 | * jit.c (jit_reader_load): Likewise. | |
15194 | (get_jit_objfile_data): Likewise. | |
15195 | (get_jit_program_space_data): Likewise. | |
15196 | (jit_object_open_impl): Likewise. | |
15197 | (jit_symtab_open_impl): Likewise. | |
15198 | (jit_block_open_impl): Likewise. | |
15199 | (jit_frame_sniffer): Likewise. | |
15200 | * linux-fork.c (add_fork): Likewise. | |
15201 | * maint.c (make_command_stats_cleanup): Likewise. | |
15202 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
15203 | * opencl-lang.c (struct lval_closure): Likewise. | |
15204 | * osdata.c (osdata_start_osdata): Likewise. | |
15205 | * progspace.c (new_address_space): Likewise. | |
15206 | (add_program_space): Likewise. | |
15207 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
15208 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
15209 | * skip.c (Ignore): Likewise. | |
15210 | (skip_delete_command): Likewise. | |
15211 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
15212 | (library_list_start_library): Likewise. | |
15213 | (solib_aix_current_sos): Likewise. | |
15214 | * solib-darwin.c (get_darwin_info): Likewise. | |
15215 | (darwin_current_sos): Likewise. | |
15216 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
15217 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
15218 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
15219 | * solib-spu.c (append_ocl_sos): Likewise. | |
15220 | (spu_current_sos): Likewise. | |
15221 | * solib-svr4.c (get_svr4_info): Likewise. | |
15222 | (svr4_keep_data_in_core): Likewise. | |
15223 | (library_list_start_library): Likewise. | |
15224 | (svr4_default_sos): Likewise. | |
15225 | (svr4_read_so_list): Likewise. | |
15226 | * solib-target.c (library_list_start_library): Likewise. | |
15227 | (solib_target_current_sos): Likewise. | |
15228 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
15229 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
15230 | * symfile.c (default_symfile_segments): Likewise. | |
15231 | * target-descriptions.c (tdesc_data_init): Likewise. | |
15232 | (tdesc_create_reg): Likewise. | |
15233 | (struct tdesc_type *): Likewise. | |
15234 | (tdesc_create_vector): Likewise. | |
15235 | (tdesc_set_struct_size): Likewise. | |
15236 | (struct tdesc_type *): Likewise. | |
15237 | (tdesc_free_feature): Likewise. | |
15238 | (tdesc_create_feature): Likewise. | |
15239 | * windows-nat.c (windows_add_thread): Likewise. | |
15240 | (windows_make_so): Likewise. | |
15241 | * xml-support.c (gdb_xml_body_text): Likewise. | |
15242 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
15243 | (xml_process_xincludes): Likewise. | |
15244 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
15245 | (syscall_create_syscall_desc): Likewise. | |
15246 | ||
5acfdbae SDJ |
15247 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
15248 | ||
15249 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
15250 | function, with code from i386_stap_parse_special_token. | |
15251 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
15252 | (i386_stap_parse_special_token): Move code to the two functions | |
15253 | above; simplify it. | |
15254 | ||
0000e5cc PA |
15255 | 2014-01-09 Pedro Alves <palves@redhat.com> |
15256 | Hui Zhu <hui@codesourcery.com> | |
15257 | ||
15258 | PR gdb/16101 | |
15259 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
15260 | bp_err_string. Don't mark the location shlib_disabled if the | |
15261 | error thrown wasn't a generic or memory error. Catch errors | |
15262 | thrown while inserting breakpoints in overlayed code. Output | |
15263 | error message of software breakpoints. | |
15264 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
15265 | target-side commands but this stub doesn't support Z0 packets, | |
15266 | throw NOT_SUPPORTED_ERROR error. | |
15267 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
15268 | * target.h (target_insert_breakpoint): Extend comment. | |
15269 | (target_insert_hw_breakpoint): Add comment. | |
15270 | ||
b7ea362b PA |
15271 | 2014-01-08 Pedro Alves <palves@redhat.com> |
15272 | ||
15273 | * remote.c (remote_add_thread): Add threads silently if starting | |
15274 | up. | |
15275 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
15276 | don't call notice_new_inferior. | |
15277 | (get_current_thread): New function, factored out from ... | |
15278 | (add_current_inferior_and_thread): ... this. Adjust. | |
15279 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
15280 | found any thread, then select the remote's current thread as GDB's | |
15281 | current thread too. | |
15282 | ||
b7bba001 JB |
15283 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
15284 | ||
15285 | * NEWS: Create a new section for the next release branch. | |
15286 | Rename the section of the current branch, now that it has | |
15287 | been cut. | |
15288 | ||
16dfbded JB |
15289 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
15290 | ||
15291 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
15292 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
15293 | ||
22c90ac1 YQ |
15294 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
15295 | ||
15296 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
15297 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
15298 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
15299 | ||
d64ad97c YQ |
15300 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
15301 | ||
15302 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
15303 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
15304 | ||
f93ba80c PM |
15305 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
15306 | ||
15307 | Fix PR16201. | |
15308 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
15309 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
15310 | to prim_record_mininal_symbol_and_info. | |
15311 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
15312 | in call to prim_record_minimal_symbol_and_info. | |
15313 | (read_pe_exported_syms): Set index field of section_data. | |
15314 | ||
a4d9ba85 AP |
15315 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
15316 | ||
15317 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
15318 | * features/aarch64.c: Regenerate. | |
15319 | ||
1b67eb02 AS |
15320 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
15321 | ||
15322 | * target.c (return_null): Define. | |
15323 | (update_current_target): Use it instead of return_zero for | |
15324 | functions that return a pointer. | |
15325 | ||
5e3f4fab EBM |
15326 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
15327 | ||
15328 | * source.c (add_path): Fix check for duplicated paths in the previously | |
15329 | included paths. | |
15330 | ||
e2616788 HK |
15331 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
15332 | ||
15333 | * ada-lang.c: Remove duplicated include statements. | |
15334 | * alphabsd-nat.c: Ditto. | |
15335 | * amd64-darwin-tdep.c: Ditto. | |
15336 | * amd64fbsd-nat.c: Ditto. | |
15337 | * auto-load.c: Ditto. | |
15338 | * ax-gdb.c: Ditto. | |
15339 | * breakpoint.c: Ditto. | |
15340 | * dbxread.c: Ditto. | |
15341 | * fork-child.c: Ditto. | |
15342 | * gdb_usleep.c: Ditto. | |
15343 | * i386-darwin-tdep.c: Ditto. | |
15344 | * i386fbsd-nat.c: Ditto. | |
15345 | * infcmd.c: Ditto. | |
15346 | * inferior.c: Ditto. | |
15347 | * jv-lang.c: Ditto. | |
15348 | * linux-nat.c: Ditto. | |
15349 | * linux-tdep.c: Ditto. | |
15350 | * m68kbsd-nat.c: Ditto. | |
15351 | * m68klinux-nat.c: Ditto. | |
15352 | * microblaze-tdep.c: Ditto. | |
15353 | * mips-linux-tdep.c: Ditto. | |
15354 | * mn10300-tdep.c: Ditto. | |
15355 | * nto-tdep.c: Ditto. | |
15356 | * opencl-lang.c: Ditto. | |
15357 | * osdata.c: Ditto. | |
15358 | * printcmd.c: Ditto. | |
15359 | * regcache.c: Ditto. | |
15360 | * remote-m32r-sdi.c: Ditto. | |
15361 | * remote.c: Ditto. | |
15362 | * symfile.c: Ditto. | |
15363 | * symtab.c: Ditto. | |
15364 | * tilegx-linux-nat.c: Ditto. | |
15365 | * tilegx-tdep.c: Ditto. | |
15366 | * tracepoint.c: Ditto. | |
15367 | * valops.c: Ditto. | |
15368 | * vaxbsd-nat.c: Ditto. | |
15369 | * windows-nat.c: Ditto. | |
15370 | * xtensa-tdep.c: Ditto. | |
15371 | ||
bd1f7788 YQ |
15372 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15373 | ||
15374 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
15375 | ||
79301218 JB |
15376 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15377 | Joel Brobecker <brobecker@adacore.com> | |
15378 | ||
15379 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
15380 | (pdc_write_regs): Likewise. | |
15381 | (fetch_regs_kernel_thread): Likewise. | |
15382 | (store_regs_kernel_thread): Likewise. | |
15383 | ||
15384 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
15385 | ||
15386 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
15387 | tagged type objects to their actual type. | |
15388 | ||
8e355c5d JB |
15389 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15390 | ||
15391 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
15392 | Update calls to print_field_values and print_variant_part. | |
15393 | Pass new parameter "language" in call to val_print instead | |
15394 | of "current_language". Replace call to ada_val_print by call | |
15395 | to val_print. | |
15396 | (print_variant_part): Add "language" parameter. | |
15397 | (ada_val_print_struct_union): Update call to print_field_values. | |
15398 | ||
4fbf5aa5 JB |
15399 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15400 | ||
15401 | * ada-valprint.c (ui_memcpy): Delete. | |
15402 | (ada_print_floating): Update documentation. Add empty line | |
15403 | between between function documentation and implementation. | |
15404 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
15405 | ui_file_put. Minor adjustments following this change. | |
15406 | ||
71855601 JB |
15407 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15408 | ||
15409 | * ada-valprint.c (ada_val_print_string): New function, | |
15410 | extracted from ada_val_print_array. | |
15411 | (ada_val_print_array): Replace extracted code by call | |
15412 | to ada_val_print_string followed by a return. Move | |
15413 | "else" branch to the function's top block. | |
15414 | ||
4eb27a30 JB |
15415 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15416 | ||
15417 | * ada-valprint.c (ada_val_print_array): Move implementation | |
15418 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
15419 | and "original_value" respectively. Add parameter "offset". | |
15420 | ||
34b27950 JB |
15421 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15422 | ||
15423 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
15424 | re-organizing the code. Change the "???" message printed | |
15425 | when target type is a TYPE_CODE_UNDEF into | |
15426 | "<ref to undefined type>". | |
15427 | ||
079e4591 JB |
15428 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15429 | ||
15430 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
15431 | (ada_val_print_struct_union): ... here. Remove call to | |
15432 | ada_check_typedef in inlined implementation. | |
15433 | ||
8004dfd1 JB |
15434 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15435 | ||
15436 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
15437 | extracted from ada_val_print_1; | |
15438 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
15439 | (ada_val_print_flt, ada_val_print_struct_union) | |
15440 | (ada_val_print_ref): Likewise. | |
15441 | (ada_val_print_1): Delete variables i and elttype. | |
15442 | Replace extracted-out code by call to corresponding | |
15443 | new functions. | |
15444 | ||
760a2db0 JB |
15445 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15446 | ||
15447 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
15448 | ||
3a92c861 JB |
15449 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15450 | ||
15451 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
15452 | ada_val_print_1 by calls to val_print. | |
15453 | ||
cd1630f9 JB |
15454 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15455 | ||
15456 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
15457 | Update calls to self accordingly. Replace calls to c_val_print | |
15458 | by calls to val_print. | |
15459 | ||
bdf779a0 JB |
15460 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15461 | ||
15462 | * ada-valprint.c (print_record): Delete declaration. | |
15463 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
15464 | (ada_val_print): Move function implementation down. | |
15465 | (print_variant_part, print_field_values, print_record): | |
15466 | Move function implementation up. | |
15467 | ||
c0d48811 JB |
15468 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
15469 | ||
15470 | * python/py-type.c (typy_get_name): New function. | |
15471 | (type_object_getset): Add entry for attribute "name". | |
15472 | * NEWS: Add entry mentioning this new attribute. | |
15473 | ||
c26e9cbb YQ |
15474 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15475 | ||
15476 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
15477 | statement. | |
15478 | ||
0cc6f43d YQ |
15479 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15480 | ||
15481 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
15482 | argument args. | |
15483 | ||
eec03155 YQ |
15484 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15485 | ||
15486 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
15487 | ||
f04a82ef YQ |
15488 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15489 | ||
15490 | * gnu-nat.c (make_inf) Update declaration. | |
15491 | (make_inf): Make it static. | |
15492 | (inf_set_traced): Likewise. | |
15493 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
15494 | ||
d57dda0a YQ |
15495 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15496 | ||
15497 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
15498 | ||
3aa8c969 YQ |
15499 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15500 | ||
15501 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
15502 | ||
94123b4f YQ |
15503 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
15504 | ||
15505 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
15506 | 'enum bfd_endian'. | |
15507 | (struct gdbarch_info) <byte_order>: Change type to | |
15508 | 'enum bfd_endian'. | |
15509 | <byte_order_for_code>: Likewise. | |
15510 | * gdbarch.c, gdbarch.h: Regenerated. | |
15511 | ||
dc81d70a TT |
15512 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
15513 | ||
15514 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
15515 | ||
cc2f3c35 TT |
15516 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
15517 | ||
15518 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
15519 | CONST. | |
15520 | * somread.c (som_symtab_read): Likewise. | |
15521 | ||
adcf2eed HZ |
15522 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
15523 | ||
15524 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
15525 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
15526 | (gdb_bfd_fopen): Ditto. | |
15527 | (gdb_bfd_openr): Ditto. | |
15528 | (gdb_bfd_openw): Ditto. | |
15529 | (gdb_bfd_openr_iovec): Ditto. | |
15530 | (gdb_bfd_fdopenr): Ditto. | |
15531 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
15532 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
15533 | with xstrdup. | |
15534 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
15535 | with xstrdup. | |
15536 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
15537 | gdb_bfd_stash_filename. | |
15538 | ||
50722198 DE |
15539 | 2014-01-03 Doug Evans <dje@google.com> |
15540 | ||
15541 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
15542 | output. | |
15543 | ||
2fa4b862 JB |
15544 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
15545 | ||
15546 | Update year range in copyright notice of all files. | |
15547 | ||
28498c42 JB |
15548 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
15549 | ||
15550 | * top.c (print_gdb_version): Set copyright year to 2014. | |
15551 | ||
7b6e1046 JB |
15552 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
15553 | ||
15554 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
15555 | ||
df96af55 | 15556 | For older changes see ChangeLog-2013. |
c906108c SS |
15557 | \f |
15558 | Local Variables: | |
15559 | mode: change-log | |
15560 | left-margin: 8 | |
15561 | fill-column: 74 | |
15562 | version-control: never | |
57da7796 | 15563 | coding: utf-8 |
c906108c | 15564 | End: |