Commit | Line | Data |
---|---|---|
077309e2 JB |
1 | 2014-12-31 Joel Brobecker <brobecker@adacore.com> |
2 | ||
3 | * NEWS: Document removal of "dll-symbols", "add-shared-symbol-files" | |
4 | and "assf" commands. | |
5 | ||
6 | 2014-12-30 Joel Brobecker <brobecker@adacore.com> | |
7 | ||
8 | * windows-nat.c (safe_symbol_file_add_stub) | |
9 | (safe_symbol_file_add_cleanup, safe_symbol_file_add) | |
10 | (dll_symbol_command): Delete. | |
11 | (_initialize_windows_nat): Delete local variable "c". | |
12 | Remove "dll-symbols", "add-shared-symbol-files" and assf" | |
13 | commands. | |
14 | ||
15 | 2014-12-29 Thomas Preud'homme <thomas.preudhomme@arm.com> | |
16 | ||
17 | * arm-tdep.c (arm_gdbarch_init): Remove casts in Tag_ABI_VFP_args switch | |
18 | case statements. | |
19 | ||
20 | 2014-12-29 Anthony Green <green@moxielogic.com> | |
21 | ||
22 | * configure.tgt: Add support for moxiebox target. | |
23 | ||
24 | 2014-12-27 Anthony Green <green@moxielogic.com> | |
25 | ||
26 | * moxie-tdep.c (moxie_software_single_step): ldo/sto instructions | |
27 | are 32 bits, not 48. Update comments for various instructions. | |
28 | (moxie_process_record): Update for new shorter ldo/sto | |
29 | instructions. Add support for sex, zex, umul.x and mul.x | |
30 | instructions. Update comments for various instructions. | |
31 | ||
32 | 2014-12-25 Thomas Preud'homme <thomas.preudhomme@arm.com> | |
33 | ||
34 | * arm-tdep.c (arm_gdbarch_init): Explicitly handle value 3 of | |
35 | Tag_ABI_VFP_args. Also replace hardcoded values by enum values in the | |
36 | switch handling the different values of Tag_ABI_VFP_args. | |
37 | ||
38 | 2014-12-23 Doug Evans <xdje42@gmail.com> | |
39 | ||
40 | * ada-lang.c (user_select_syms): Only fetch symtab if symbol is | |
41 | objfile-owned. | |
42 | (cache_symbol): Ignore symbols that are not objfile-owned. | |
43 | * block.c (block_objfile): New function. | |
44 | (block_gdbarch): New function. | |
45 | * block.h (block_objfile): Declare. | |
46 | (block_gdbarch): Declare. | |
47 | * c-exp.y (classify_name): Remove call to | |
48 | language_lookup_primitive_type. No longer necessary. | |
49 | * gdbtypes.c (lookup_typename): Call lookup_symbol_in_language. | |
50 | Remove call to language_lookup_primitive_type. No longer necessary. | |
51 | * guile/scm-symbol.c (syscm_gdbarch_data_key): New static global. | |
52 | (syscm_gdbarch_data): New struct. | |
53 | (syscm_init_arch_symbols): New function. | |
54 | (syscm_get_symbol_map): Renamed from syscm_objfile_symbol_map. | |
55 | All callers updated. Handle symbols owned by arches. | |
56 | (gdbscm_symbol_symtab): Handle symbols owned by arches. | |
57 | (gdbscm_initialize_symbols): Initialize syscm_gdbarch_data_key. | |
58 | * language.c (language_lookup_primitive_type_1): New function. | |
59 | (language_lookup_primitive_type): Call it. | |
60 | (language_alloc_type_symbol): New function. | |
61 | (language_init_primitive_type_symbols): New function. | |
62 | (language_lookup_primitive_type_as_symbol): New function. | |
63 | * language.h (struct language_arch_info) <primitive_type_symbols>: | |
64 | New member. | |
65 | (language_lookup_primitive_type): Add function comment. | |
66 | (language_lookup_primitive_type_as_symbol): Declare. | |
67 | * printcmd.c (address_info): Handle arch-owned symbols. | |
68 | * python/py-symbol.c (sympy_get_symtab): Ditto. | |
69 | (set_symbol): Ditto. | |
70 | (sympy_dealloc): Ditto. | |
71 | * symmisc.c (print_symbol): Ditto. | |
72 | * symtab.c (fixup_symbol_section): Ditto. | |
73 | (lookup_symbol_aux): Initialize block_found. | |
74 | (basic_lookup_symbol_nonlocal): Try looking up the symbol as a | |
75 | primitive type. | |
76 | (initialize_objfile_symbol_1): New function. | |
77 | (initialize_objfile_symbol): Call it. | |
78 | (allocate_symbol): Call it. | |
79 | (allocate_template_symbol): Call it. | |
80 | (symbol_objfile): Assert symbol is objfile-owned. | |
81 | (symbol_arch, symbol_symtab, symbol_set_symtab): Ditto. | |
82 | * symtab.h (struct symbol) <owner>: Replaces member "symtab". | |
83 | (struct symbol) <is_objfile_owned>: New member. | |
84 | (SYMBOL_OBJFILE_OWNED): New macro. | |
85 | * cp-namespace.c (cp_lookup_bare_symbol): New arg langdef. | |
86 | All callers updated. Try to find the symbol as a primitive type. | |
87 | (lookup_namespace_scope): New arg langdef. All callers updated. | |
88 | Call cp_lookup_bare_symbol directly for simple bare symbols. | |
89 | ||
90 | 2014-12-23 Doug Evans <xdje42@gmail.com> | |
91 | ||
92 | * symtab.h (SYMBOL_DOMAIN_BITS): New macro. | |
93 | (struct symbol) <domain>: Use it. | |
94 | ||
95 | 2014-12-23 Doug Evans <xdje42@gmail.com> | |
96 | ||
97 | * symtab.c (initialize_objfile_symbol): Renamed from initialize_symbol. | |
98 | All callers updated. | |
99 | ||
100 | 2014-12-23 Doug Evans <xdje42@gmail.com> | |
101 | ||
102 | * language.h (struct language_defn) <la_lookup_symbol_nonlocal>: | |
103 | New arg language_defn. All uses updated. | |
104 | ||
105 | 2014-12-23 Doug Evans <xdje42@gmail.com> | |
106 | ||
107 | * symtab.h (SYMBOL_SYMTAB): Delete | |
108 | (SYMBOL_OBJFILE): Delete. | |
109 | (symbol_symtab, symbol_set_symtab): Declare. | |
110 | (symbol_objfile, symbol_arch): Declare. | |
111 | * symtab.c (symbol_symtab): Replaces SYMBOL_SYMTAB. All uses updated. | |
112 | All references to symbol->symtab redirected through here. | |
113 | (symbol_set_symtab): New function. All assignments to SYMBOL_SYMTAB | |
114 | redirected through here. | |
115 | (symbol_arch): New function. | |
116 | (symbol_objfile): New function. Replaces SYMBOL_OBJFILE. | |
117 | All uses updated. | |
118 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Call | |
119 | symbol_arch. | |
120 | * findvar.c (default_read_var_value): Call symbol_arch. | |
121 | * guile/scm-frame.c (gdbscm_frame_block): Call symbol_objfile. | |
122 | * jv-lang.c (add_class_symtab_symbol): Call symbol_arch. | |
123 | * printcmd.c (address_info): Call symbol_arch. | |
124 | * tracepoint.c (scope_info): Call symbol_arch. | |
125 | ||
126 | 2014-12-22 Doug Evans <xdje42@gmail.com> | |
127 | ||
128 | * cp-namespace.c (cp_lookup_symbol_via_all_imports): New function. | |
129 | (cp_lookup_symbol_namespace): Call it. | |
130 | (cp_lookup_symbol_nonlocal): Ditto. | |
131 | ||
132 | 2014-12-22 Doug Evans <xdje42@gmail.com> | |
133 | ||
134 | * cp-namespace.c (cp_lookup_symbol_via_imports): New arg | |
135 | "search_scope_first". All callers updated. | |
136 | ||
137 | 2014-12-22 Doug Evans <xdje42@gmail.com> | |
138 | ||
139 | * cp-namespace.c (cp_lookup_nested_symbol_1): New function. | |
140 | (cp_basic_lookup_symbol): Renamed from lookup_symbol_file. Delete | |
141 | arg "search". All callers updated. | |
142 | (cp_lookup_bare_symbol): New function. | |
143 | (cp_search_static_and_baseclasses): New function. | |
144 | (cp_lookup_symbol_in_namespace): Rewrite, move more logic here. | |
145 | (find_symbol_in_baseclass): Simplify, call cp_lookup_nested_symbol_1. | |
146 | (cp_lookup_nested_symbol): Ditto. | |
147 | ||
148 | 2014-12-22 Doug Evans <xdje42@gmail.com> | |
149 | ||
150 | * cp-namespace.c (cp_lookup_symbol_in_namespace): Simplify. | |
151 | ||
152 | 2014-12-22 Doug Evans <xdje42@gmail.com> | |
153 | ||
154 | * cp-namespace.c: Whitespace cleanup. | |
155 | ||
156 | 2014-12-20 Keith Seitz <keiths@redhat.com> | |
157 | Mihail-Marian Nistor <mihail.nistor@freescale.com> | |
158 | ||
159 | PR gdb/17394 | |
160 | * linespec.c (struct collect_minsyms): Add new member `symtab'. | |
161 | (add_minsym): Handle cases where info.symtab is non-NULL. | |
162 | (search_minsyms_for_name): Add new parameter `symtab'. | |
163 | Handle limiting searches to a specific symtab. | |
164 | (add_matching_symtabs_to_info): Search through minimal symbols | |
165 | for language_asm files for which no new symbols are found. | |
166 | ||
167 | 2014-12-19 Maciej W. Rozycki <macro@codesourcery.com> | |
168 | Nigel Stephens <nigel@mips.com> | |
169 | Chris Dearman <chris@mips.com> | |
170 | Luis Machado <lgustavo@codesourcery.com> | |
171 | ||
172 | * Makefile.in (ALL_TARGET_OBS): Add mips-sde-tdep.o. | |
173 | (ALLDEPFILES): Add mips-sde-tdep.c. | |
174 | * mips-sde-tdep.c: New file containg SDE specific code. | |
175 | * configure.tgt (mips*-sde*-elf*): Add mips-sde-dep.o to | |
176 | gdb_target_obs. | |
177 | * defs.h (gdb_osabi): Add GDB_OSABI_SDE. | |
178 | * osabi.c (gdb_osabi_names): Add SDE. | |
179 | * NEWS: Mention the change. | |
180 | ||
181 | 2014-12-18 Simon Marchi <simon.marchi@ericsson.com> | |
182 | ||
183 | * elfread.c (elf_symfile_init): Remove stale comment. | |
184 | (elf_symfile_read): Same. | |
185 | * symfile.h (struct sym_fns): Same. | |
186 | ||
187 | 2014-12-18 Nigel Stephens <nigel@mips.com> | |
188 | Maciej W. Rozycki <macro@codesourcery.com> | |
189 | ||
190 | * mips-tdep.c (print_fpu_flags): New function. | |
191 | (mips_print_float_info): Likewise. | |
192 | (mips_gdbarch_init): Install mips_print_float_info as gdbarch | |
193 | print_float_info routine. | |
194 | ||
195 | 2014-12-18 Yao Qi <yao@codesourcery.com> | |
196 | ||
197 | * gdbarch.sh (print_float_info): Change its type from 'M' to 'm'. | |
198 | * gdbarch.c: Re-generated. | |
199 | * gdbarch.h: Likewise. | |
200 | * infcmd.c (default_print_float_info): New function. | |
201 | (print_float_info): Removed. Move code to | |
202 | default_print_float_info. | |
203 | (float_info): Adjust to call gdbarch_print_float_info. | |
204 | * inferior.h (default_print_float_info): Declare it. | |
205 | ||
206 | 2014-12-18 Yao Qi <yao@codesourcery.com> | |
207 | ||
208 | * h8300-tdep.c (h8300_print_float_info): Remove. | |
209 | (h8300_gdbarch_init): Remove the call to | |
210 | set_gdbarch_print_float_info. | |
211 | ||
212 | 2014-12-18 Doug Evans <xdje42@gmail.com> | |
213 | ||
214 | * infcmd.c (jump_command): Minor simplification. | |
215 | ||
216 | 2014-12-18 Doug Evans <xdje42@gmail.com> | |
217 | ||
218 | * language.c (language_lookup_primitive_type): Renamed from | |
219 | language_lookup_primitive_type_by_name. All callers updated. | |
220 | ||
221 | 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com> | |
222 | ||
223 | Fix MinGW compilation. | |
224 | * compile/compile.c (get_compile_file_tempdir): Call error if | |
225 | !HAVE_MKDTEMP. | |
226 | * config.in: Regenerate. | |
227 | * configure: Regenerate. | |
228 | * configure.ac (AC_CHECK_FUNCS): Add mkdtemp. | |
229 | ||
230 | 2014-12-17 Doug Evans <xdje42@gmail.com> | |
231 | ||
232 | * valops.c (value_maybe_namespace_elt): Remove redundant call to | |
233 | lookup_static_symbol. | |
234 | ||
235 | 2014-12-17 Doug Evans <xdje42@gmail.com> | |
236 | ||
237 | New parameter "debug symbol-lookup". | |
238 | * NEWS: Mention it. | |
239 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Add debug | |
240 | output. | |
241 | (cp_lookup_symbol_namespace, cp_lookup_symbol_nonlocal): Ditto. | |
242 | (cp_lookup_nested_symbol): Ditto. | |
243 | * language.c (language_lookup_primitive_type_by_name): Add debug | |
244 | output. | |
245 | * minsyms.c (lookup_minimal_symbol): Add debug output. | |
246 | * objfiles.c (objfile_debug_name): Moved here, and renamed ... | |
247 | * symfile-debug.c (debug_objfile_name): ... from here. All callers | |
248 | updated. | |
249 | * objfiles.h (objfile_debug_name): Declare. | |
250 | * symtab.h (symbol_lookup_debug): Declare. | |
251 | * symtab.c (symbol_lookup_debug): New global. | |
252 | (lookup_language_this): Add debug output. | |
253 | (lookup_symbol_aux, lookup_symbol_in_block): Ditto. | |
254 | (lookup_symbol_in_objfile_symtabs, lookup_symbol_via_quick_fns): Ditto. | |
255 | (lookup_symbol_in_static_block, lookup_symbol_in_objfile): Ditto. | |
256 | (_initialize_symtab): Add new parameter "debug symbol-lookup". | |
257 | ||
258 | 2014-12-16 Doug Evans <xdje42@gmail.com> | |
259 | ||
260 | * buildsym.c: Add comments describing how the buildsym machinery | |
261 | is used by the various file formats. | |
262 | (really_free_pendings): Enhance function comment. | |
263 | See pending_macros to NULL. Simplify resetting pending_addrmap. | |
264 | Call free_buildsym_compunit. | |
265 | (free_buildsym_compunit): Set current_subfile to NULL. | |
266 | (prepare_for_building): New function. | |
267 | (start_symtab): Call it. Remove call to set_last_source_file. | |
268 | (restart_symtab): New arg "cust". All callers updated. | |
269 | Simplify, call prepare_for_building. Re-initialize buildsym_compunit. | |
270 | (reset_symtab_globals): Enhance function comment. | |
271 | Set local_symbols, file_symbols, global_symbols to NULL. | |
272 | Set pending_macros to NULL. Simplify resetting pending_addrmap. | |
273 | Call free_buildysym_compunit. | |
274 | (end_symtab_without_blockvector): Delete. All callers updated. | |
275 | (end_symtab_with_blockvector): Remove redundant call to | |
276 | free_buildsym_compunit. | |
277 | (augment_type_symtab): Remove arg "cust". All callers updated. | |
278 | (buildsym_init): Remove resetting of free_pendings, file_symbols, | |
279 | global_symbols, pending_blocks, pending_macros. Instead make | |
280 | handling consistent with pending_addrmap: Assert value was reset | |
281 | at end of previous symtab building. Initialize context_stack here. | |
282 | ||
283 | 2014-12-16 Doug Evans <xdje42@gmail.com> | |
284 | ||
285 | * cp-namespace.c (cp_lookup_symbol_via_imports): Renamed from | |
286 | cp_lookup_symbol_imports. All callers updated. | |
287 | ||
288 | 2014-12-16 Doug Evans <xdje42@gmail.com> | |
289 | ||
290 | * cp-namespace.c (cp_find_type_baseclass_by_name): Renamed from | |
291 | find_type_baseclass_by_name. All callers updated. | |
292 | ||
293 | 2014-12-16 Doug Evans <xdje42@gmail.com> | |
294 | ||
295 | * symtab.h (struct symbol_search) <symtab>: Delete. All uses updated. | |
296 | * symtab.c (compare_search_syms): Use SYMBOL_SYMTAB accessor. | |
297 | (print_symbol_info): Delete arg symtab. All callers updated. | |
298 | (symtab_symbol_info): Use SYMBOL_SYMTAB accessor. | |
299 | ||
300 | 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com> | |
301 | ||
302 | * user-regs.c (maintenance_print_user_registers): Swap "Nr" and | |
303 | "Name" columns. Assure that the output is always indented. | |
304 | ||
305 | 2014-12-16 Joel Brobecker <brobecker@adacore.com> | |
306 | ||
307 | * nat/linux-ptrace.h (PTRACE_O_EXITKILL): Define if not | |
308 | already defined. | |
309 | (linux_enable_event_reporting): Add parameter "attached". | |
310 | * nat/linux-ptrace.c (linux_test_for_exitkill): New forward | |
311 | declaration. New function. | |
312 | (linux_check_ptrace_features): Add linux_test_for_exitkill call. | |
313 | (linux_enable_event_reporting): Add new parameter "attached". | |
314 | Do not call ptrace with the PTRACE_O_EXITKILL if ATTACHED is | |
315 | nonzero. | |
316 | * linux-nat.c (linux_init_ptrace): Add parameter "attached". | |
317 | Use it. Update function description. | |
318 | (linux_child_post_attach, linux_child_post_startup_inferior): | |
319 | Update call to linux_enable_event_reporting. | |
320 | ||
321 | 2014-12-16 Yao Qi <yao@codesourcery.com> | |
322 | ||
323 | * NEWS: Move some entries to "Changes since GDB 7.8" section. | |
324 | ||
325 | 2014-12-16 Yao Qi <yao@codesourcery.com> | |
326 | ||
327 | * linux-tdep.c (linux_infcall_mmap): Replace ARG_MAX with | |
328 | ARG_LAST. | |
329 | ||
330 | 2014-12-15 Simon Marchi <simon.marchi@ericsson.com> | |
331 | ||
332 | * inferior.c (find_inferior_ptid): New function. | |
333 | * inferior.h (find_inferior_ptid): New declaration. | |
334 | * ada-tasks.c (ada_get_task_number): Use find_inferior_ptid. | |
335 | * corelow.c (core_pid_to_str): Same. | |
336 | * darwin-nat.c (darwin_resume): Same. | |
337 | * infrun.c (fetch_inferior_event): Same. | |
338 | (get_inferior_stop_soon): Same. | |
339 | (handle_inferior_event): Same. | |
340 | (handle_signal_stop): Same. | |
341 | * linux-nat.c (resume_lwp): Same. | |
342 | (stop_wait_callback): Same. | |
343 | * mi/mi-interp.c (mi_new_thread): Same. | |
344 | (mi_thread_exit): Same. | |
345 | * proc-service.c (ps_pglobal_lookup): Same. | |
346 | * record-btrace.c (record_btrace_step_thread): Same. | |
347 | * remote-sim.c (gdbsim_close_inferior): Same. | |
348 | (gdbsim_resume): Same. | |
349 | (gdbsim_stop): Same. | |
350 | * sol2-tdep.c (sol2_core_pid_to_str): Same. | |
351 | * target.c (memory_xfer_partial_1): Same. | |
352 | (default_thread_address_space): Same. | |
353 | * thread.c (thread_change_ptid): Same. | |
354 | (switch_to_thread): Same. | |
355 | (do_restore_current_thread_cleanup): Same. | |
356 | ||
357 | 2014-12-15 Simon Marchi <simon.marchi@ericsson.com> | |
358 | ||
359 | * defs.h (gdb_readline): Constify argument. | |
360 | (gdb_readline_wrapper): Same. | |
361 | (command_line_input): Same. | |
362 | (deprecated_readline_hook): Same. | |
363 | * top.c (deprecated_readline_hook): Same. | |
364 | (gdb_readline): Same. | |
365 | (gdb_readline_wrapper): Same. | |
366 | (command_line_input): Constify argument. Pass prompt_arg to called | |
367 | functions instead of local_prompt, overwriting prompt_arg if necessary. | |
368 | * event-top.h (display_gdb_prompt): Constify argument. | |
369 | * event-top.c (display_gdb_prompt): Same. | |
370 | * python/py-gdb-readline.c (gdbpy_readline_wrapper): Constify argument | |
371 | if building with Python 3.4 and up. | |
372 | ||
373 | 2014-12-15 Simon Marchi <simon.marchi@ericsson.com> | |
374 | ||
375 | * python/lib/gdb/prompt.py (_prompt_pwd): Use os.getcwd() instead of | |
376 | os.getcwdu(). | |
377 | ||
378 | 2014-12-15 Catalin Udma <catalin.udma@freescale.com> | |
379 | ||
380 | PR gdb/15684 | |
381 | * memattr.c (mem_info_command): Remove "unsigned long" casts. | |
382 | ||
383 | 2014-12-13 Doug Evans <xdje42@gmail.com> | |
384 | ||
385 | * utils.c (make_hex_string): Fix off-by-one error. | |
386 | ||
387 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> | |
388 | ||
389 | * ada-lang.h (ada_ensure_varsize_limit): Declare. | |
390 | * ada-lang.c (check_size): Remove advance declaration. | |
391 | (ada_ensure_varsize_limit): Renames check_size. | |
392 | Replace calls to check_size by calls to ada_ensure_varsize_limit | |
393 | throughout. | |
394 | * ada-valprint.c (ada_val_print_ref): Add call to | |
395 | ada_ensure_varsize_limit. Add comment explaining why. | |
396 | ||
397 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> | |
398 | ||
399 | * utils.c (make_hex_string): Replace use of sprintf by use of | |
400 | xsnprintf. | |
401 | ||
402 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> | |
403 | ||
404 | * compile/compile-object-load.c (link_callbacks_multiple_definition) | |
405 | (link_callbacks_warning, link_callbacks_einfo): Remove trailing | |
406 | newline at end of warning message. | |
407 | ||
408 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> | |
409 | ||
410 | * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for | |
411 | new "EXTRA-ARGS" parameter. | |
412 | * configure.ac: If large-file support is disabled in GDB, | |
413 | pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib". | |
414 | * configure: Regenerate. | |
415 | ||
416 | 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
417 | ||
418 | PR symtab/17642 | |
419 | * gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to | |
420 | TYPE if not TYPE_CODE_TYPEDEF. | |
421 | ||
422 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> | |
423 | ||
424 | PR backtrace/16215: | |
425 | * dwarf2-frame.c (dwarf2_frame_cfa): Remove the restriction | |
426 | the frame unwinder must either be the dwarf2_frame_unwind | |
427 | or the dwarf2_tailcall_frame_unwind. Verify that this_frame's | |
428 | stack_addr is valid before calling get_frame_base. Throw | |
429 | an error if not valid. | |
430 | ||
431 | 2014-12-12 Doug Evans <xdje42@gmail.com> | |
432 | ||
433 | * valops.c (value_maybe_namespace_elt): Remove unnecessary test of | |
434 | result != NULL. | |
435 | ||
436 | 2014-12-12 Doug Evans <xdje42@gmail.com> | |
437 | ||
438 | * cp-support.h (cp_is_in_anonymous): Renamed from cp_is_anonymous. | |
439 | All callers updated. Rename arg "namespace" to "symbol_name". | |
440 | ||
441 | 2014-12-12 Doug Evans <xdje42@gmail.com> | |
442 | ||
443 | * psymtab.c (psym_map_symtabs_matching_filename): Renamed from | |
444 | partial_map_symtabs_matching_filename. All uses updated. | |
445 | (psym_find_pc_sect_compunit_symtab): Renamed from | |
446 | find_pc_sect_compunit_symtab_from_partial. All uses updated. | |
447 | Add function comment. | |
448 | (psym_lookup_symbol): Renamed from lookup_symbol_aux_psymtabs. | |
449 | All uses updated. Add function comment. | |
450 | (psym_relocate): Renamed from relocate_psymtabs. All uses updated. | |
451 | Add function comment. | |
452 | (psym_find_last_source_symtab): Renamed from | |
453 | find_last_source_symtab_from_partial. All uses updated. | |
454 | Add function comment. | |
455 | (psym_forget_cached_source_info): Renamed from | |
456 | forget_cached_source_info_partial. All uses updated. | |
457 | Add function comment. | |
458 | (psym_print_stats): Renamed from print_psymtab_stats_for_objfile. | |
459 | All uses updated. Add function comment. | |
460 | (psym_dump): Renamed from dump_psymtabs_for_objfile. All uses | |
461 | updated. Add function comment. | |
462 | (psym_expand_symtabs_for_function): Renamed from | |
463 | read_symtabs_for_function. All uses updated. Update function comment. | |
464 | (psym_expand_all_symtabs): Renamed from expand_partial_symbol_tables. | |
465 | All uses updated. Add function comment. | |
466 | (psym_expand_symtabs_with_fullname): Renamed from | |
467 | read_psymtabs_with_fullname. All uses updated. Add function comment. | |
468 | (psym_map_symbol_filenames): Renamed from map_symbol_filenames_psymtab. | |
469 | All uses updated. Add function comment. | |
470 | (psym_map_matching_symbols): Renamed from map_matching_symbols_psymtab. | |
471 | All uses updated. | |
472 | (psym_expand_symtabs_matching): Renamed from | |
473 | expand_symtabs_matching_via_partial. All uses updated. | |
474 | Add function comment. | |
475 | (psym_has_symbols): Renamed from objfile_has_psyms. All uses updated. | |
476 | Add function comment. | |
477 | ||
478 | 2014-12-12 Phil Muldoon <pmuldoon@redhat.com> | |
479 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
480 | Tom Tromey <tromey@redhat.com> | |
481 | ||
482 | * NEWS: Update. | |
483 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: New | |
484 | field. | |
485 | * p-lang.c (pascal_language_defn): Update. | |
486 | * opencl-lang.c (opencl_language_defn): Update. | |
487 | * objc-lang.c (objc_language_defn): Update. | |
488 | * m2-lang.c (m2_language_defn): Update. | |
489 | * language.h (struct language_defn) <la_get_compile_instance, | |
490 | la_compute_program>: New fields. | |
491 | * language.c (unknown_language_defn, auto_language_defn) | |
492 | (local_language_defn): Update. | |
493 | * jv-lang.c (java_language_defn): Update. | |
494 | * go-lang.c (go_language_defn): Update. | |
495 | * f-lang.c (f_language_defn): Update. | |
496 | * dwarf2loc.h (dwarf2_compile_property_to_c): Declare. | |
497 | * dwarf2loc.c (dwarf2_compile_property_to_c) | |
498 | (locexpr_generate_c_location, loclist_generate_c_location): New | |
499 | functions. | |
500 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update. | |
501 | * defs.h (enum compile_i_scope_types): New. | |
502 | (enum command_control_type) <compile_control>: New constant. | |
503 | (struct command_line) <control_u>: New field. | |
504 | * d-lang.c (d_language_defn): Update. | |
505 | * compile/compile.c: New file. | |
506 | * compile/compile-c-support.c: New file. | |
507 | * compile/compile-c-symbols.c: New file. | |
508 | * compile/compile-c-types.c: New file. | |
509 | * compile/compile.h: New file. | |
510 | * compile/compile-internal.h: New file. | |
511 | * compile/compile-loc2c.c: New file. | |
512 | * compile/compile-object-load.c: New file. | |
513 | * compile/compile-object-load.h: New file. | |
514 | * compile/compile-object-run.c: New file. | |
515 | * compile/compile-object-run.h: New file. | |
516 | * cli/cli-script.c (multi_line_command_p, print_command_lines) | |
517 | (execute_control_command, process_next_line) | |
518 | (recurse_read_control_structure): Handle compile_control. | |
519 | * c-lang.h (c_get_compile_context, c_compute_program): Declare. | |
520 | * c-lang.c (c_language_defn, cplus_language_defn) | |
521 | (asm_language_defn, minimal_language_defn): Update. | |
522 | * ada-lang.c (ada_language_defn): Update. | |
523 | * Makefile.in (SUBDIR_GCC_COMPILE_OBS, SUBDIR_GCC_COMPILE_SRCS): | |
524 | New variables. | |
525 | (SFILES): Add SUBDIR_GCC_COMPILE_SRCS. | |
526 | (HFILES_NO_SRCDIR): Add compile.h. | |
527 | (COMMON_OBS): Add SUBDIR_GCC_COMPILE_OBS. | |
528 | (INIT_FILES): Add SUBDIR_GCC_COMPILE_SRCS. | |
529 | (compile.o, compile-c-types.o, compile-c-symbols.o) | |
530 | (compile-object-load.o, compile-object-run.o, compile-loc2c.o) | |
531 | (compile-c-support.o): New targets. | |
532 | ||
533 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> | |
534 | ||
535 | * s390-linux-tdep.c (s390_gcc_target_options): New function. | |
536 | (s390_gdbarch_init): Add it to gdbarch. | |
537 | ||
538 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> | |
539 | ||
540 | * linux-tdep.c: Include objfiles.h and infcall.h. | |
541 | (GDB_MMAP_MAP_PRIVATE, GDB_MMAP_MAP_ANONYMOUS, linux_infcall_mmap): New | |
542 | function. | |
543 | (linux_init_abi): Add linux_infcall_mmap to gdbarch. | |
544 | ||
545 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> | |
546 | ||
547 | * dwarf2loc.h (dwarf2_reg_to_regnum_or_error): Declare. | |
548 | * dwarf2loc.c (dwarf2_reg_to_regnum_or_error): Rename from | |
549 | translate_register. Now public. | |
550 | (dwarf2_compile_expr_to_ax): Update. | |
551 | ||
552 | 2014-12-12 Tom Tromey <tromey@redhat.com> | |
553 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
554 | ||
555 | * dwarf2loc.c (dwarf_expr_frame_base_1): Remove declaration. | |
556 | (dwarf_expr_frame_base): Update caller. | |
557 | (dwarf_expr_frame_base_1): Rename to ... | |
558 | (func_get_frame_base_dwarf_block): ... this and make it public. | |
559 | (dwarf2_compile_expr_to_ax, locexpr_describe_location_piece): Update | |
560 | callers. | |
561 | * dwarf2loc.h (func_get_frame_base_dwarf_block): New declaration. | |
562 | ||
563 | 2014-12-12 Tom Tromey <tromey@redhat.com> | |
564 | ||
565 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_call_frame_cfa>: | |
566 | Update. | |
567 | * dwarf2-frame.c (dwarf2_fetch_cfa_info): New function, based on | |
568 | dwarf2_compile_cfa_to_ax. | |
569 | (dwarf2_compile_cfa_to_ax): Remove. | |
570 | * dwarf2-frame.h (dwarf2_fetch_cfa_info): Declare. | |
571 | (dwarf2_compile_cfa_to_ax): Remove. | |
572 | ||
573 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> | |
574 | ||
575 | * infcall.h (call_function_by_hand_dummy): Declare. | |
576 | * infcall.c (call_function_by_hand): Use | |
577 | call_function_by_hand_dummy. | |
578 | (call_function_by_hand_dummy): Rename from call_function_by_hand. | |
579 | Add arguments. Register a destructor. | |
580 | ||
581 | 2014-12-12 Tom Tromey <tromey@redhat.com> | |
582 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
583 | ||
584 | * osabi.h (osabi_triplet_regexp): Declare. | |
585 | * osabi.c (struct osabi_names): New. | |
586 | (gdb_osabi_names): Change type to struct osabi_names. Update | |
587 | values. | |
588 | (gdbarch_osabi_name): Update. | |
589 | (osabi_triplet_regexp): New function. | |
590 | (osabi_from_tdesc_string, _initialize_gdb_osabi): Update. | |
591 | * i386-tdep.c (i386_gnu_triplet_regexp): New method. | |
592 | (i386_elf_init_abi, i386_go32_init_abi, i386_gdbarch_init): Call | |
593 | set_gdbarch_gnu_triplet_regexp. | |
594 | * gdbarch.sh (gnu_triplet_regexp): New method. | |
595 | * gdbarch.c, gdbarch.h: Rebuild. | |
596 | * arch-utils.h (default_gnu_triplet_regexp): Declare. | |
597 | * arch-utils.c (default_gnu_triplet_regexp): New function. | |
598 | ||
599 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> | |
600 | ||
601 | * arch-utils.c (default_infcall_mmap) | |
602 | (default_gcc_target_options): New functions. | |
603 | * arch-utils.h (GDB_MMAP_PROT_READ, GDB_MMAP_PROT_WRITE) | |
604 | (GDB_MMAP_PROT_EXEC): Define. | |
605 | (default_infcall_mmap, default_gcc_target_options): Declare. | |
606 | * gdbarch.h: Rebuild. | |
607 | * gdbarch.c: Rebuild. | |
608 | * gdbarch.sh (infcall_mmap, gcc_target_options): New methods. | |
609 | ||
610 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> | |
611 | ||
612 | * dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New | |
613 | fields. | |
614 | (pop_dummy_frame): Call the destructor if it exists. | |
615 | (register_dummy_frame_dtor, find_dummy_frame_dtor): New | |
616 | functions. | |
617 | * dummy-frame.h (dummy_frame_dtor_ftype): New typedef. | |
618 | (register_dummy_frame_dtor, find_dummy_frame_dtor): Declare. | |
619 | ||
620 | 2014-12-12 Tom Tromey <tromey@redhat.com> | |
621 | ||
622 | * gdbtypes.h (make_unqualified_type): Declare. | |
623 | * gdbtypes.c (make_unqualified_type): New function. | |
624 | ||
625 | 2014-12-12 Tom Tromey <tromey@redhat.com> | |
626 | ||
627 | * ui-file.h (ui_file_write_for_put): Declare. | |
628 | * ui-file.c (ui_file_write_for_put): New function. | |
629 | * mi/mi-out.c (do_write): Remove. | |
630 | (mi_out_put): Use ui_file_write_for_put. | |
631 | ||
632 | 2014-12-12 Doug Evans <dje@google.com> | |
633 | ||
634 | * NEWS: Mention gdb.lookup_objfile. | |
635 | * python/python.c (GdbMethods): Add lookup_objfile. | |
636 | * python/python-internal.h (gdbpy_lookup_objfile): Declare. | |
637 | * python/py-objfile.c: #include "symtab.h". | |
638 | (objfpy_build_id_ok, objfpy_build_id_matches): New functions. | |
639 | (objfpy_lookup_objfile_by_name): New function. | |
640 | (objfpy_lookup_objfile_by_build_id): New function. | |
641 | (gdbpy_lookup_objfile): New function. | |
642 | ||
643 | 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com> | |
644 | ||
645 | * mips-tdep.h (MSYMBOL_TARGET_FLAG_MIPS16): New macro. | |
646 | (MSYMBOL_TARGET_FLAG_MICROMIPS): Likewise. | |
647 | * mips-tdep.c (mips_elf_make_msymbol_special): Use the new | |
648 | macros. | |
649 | (msymbol_is_mips, msymbol_is_mips16, msymbol_is_micromips): | |
650 | Likewise. | |
651 | ||
652 | 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
653 | ||
654 | * completer.c: Include "target.h", "reggroups.h", and | |
655 | "user-regs.h". | |
656 | (reg_or_group_completer): New. | |
657 | * completer.h (reg_or_group_completer): Declare. | |
658 | * infcmd.c (_initialize_infcmd): Set reg_or_group_completer for | |
659 | the "info registers" and "info all-registers" commands and the | |
660 | dbx-mode "lr" command. | |
661 | ||
662 | 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
663 | ||
664 | * user-regs.c: Include "arch-utils.h", "command.h", and | |
665 | "cli/cli-cmds.h". | |
666 | (maintenance_print_user_registers): New. | |
667 | (_initialize_user_regs): Register new "maint print user-registers" | |
668 | subcommand. | |
669 | * NEWS: Mention new GDB command "maint print user-registers". | |
670 | ||
671 | 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com> | |
672 | Maciej W. Rozycki <macro@mips.com> | |
673 | Pedro Alves <pedro@codesourcery.com> | |
674 | ||
675 | * gdbarch.sh (elf_make_msymbol_special): Change type to `F', | |
676 | remove `predefault' and `invalid_p' initializers. | |
677 | (make_symbol_special): New architecture method. | |
678 | (adjust_dwarf2_addr, adjust_dwarf2_line): Likewise. | |
679 | (objfile, symbol): New declarations. | |
680 | * arch-utils.h (default_elf_make_msymbol_special): Remove | |
681 | prototype. | |
682 | (default_make_symbol_special): New prototype. | |
683 | (default_adjust_dwarf2_addr): Likewise. | |
684 | (default_adjust_dwarf2_line): Likewise. | |
685 | * mips-tdep.h (mips_unmake_compact_addr): New prototype. | |
686 | * arch-utils.c (default_elf_make_msymbol_special): Remove | |
687 | function. | |
688 | (default_make_symbol_special): New function. | |
689 | (default_adjust_dwarf2_addr): Likewise. | |
690 | (default_adjust_dwarf2_line): Likewise. | |
691 | * dwarf2-frame.c (decode_frame_entry_1): Call | |
692 | `gdbarch_adjust_dwarf2_addr'. | |
693 | * dwarf2loc.c (dwarf2_find_location_expression): Likewise. | |
694 | * dwarf2read.c (create_addrmap_from_index): Likewise. | |
695 | (process_psymtab_comp_unit_reader): Likewise. | |
696 | (add_partial_symbol): Likewise. | |
697 | (add_partial_subprogram): Likewise. | |
698 | (process_full_comp_unit): Likewise. | |
699 | (read_file_scope): Likewise. | |
700 | (read_func_scope): Likewise. Call `gdbarch_make_symbol_special'. | |
701 | (read_lexical_block_scope): Call `gdbarch_adjust_dwarf2_addr'. | |
702 | (read_call_site_scope): Likewise. | |
703 | (dwarf2_ranges_read): Likewise. | |
704 | (dwarf2_record_block_ranges): Likewise. | |
705 | (read_attribute_value): Likewise. | |
706 | (dwarf_decode_lines_1): Call `gdbarch_adjust_dwarf2_line'. | |
707 | (new_symbol_full): Call `gdbarch_adjust_dwarf2_addr'. | |
708 | * elfread.c (elf_symtab_read): Don't call | |
709 | `gdbarch_elf_make_msymbol_special' if unset. | |
710 | * mips-linux-tdep.c (micromips_linux_sigframe_validate): Strip | |
711 | the ISA bit from the PC. | |
712 | * mips-tdep.c (mips_unmake_compact_addr): New function. | |
713 | (mips_elf_make_msymbol_special): Set the ISA bit in the symbol's | |
714 | address appropriately. | |
715 | (mips_make_symbol_special): New function. | |
716 | (mips_pc_is_mips): Set the ISA bit before symbol lookup. | |
717 | (mips_pc_is_mips16): Likewise. | |
718 | (mips_pc_is_micromips): Likewise. | |
719 | (mips_pc_isa): Likewise. | |
720 | (mips_adjust_dwarf2_addr): New function. | |
721 | (mips_adjust_dwarf2_line): Likewise. | |
722 | (mips_read_pc, mips_unwind_pc): Keep the ISA bit. | |
723 | (mips_addr_bits_remove): Likewise. | |
724 | (mips_skip_trampoline_code): Likewise. | |
725 | (mips_write_pc): Don't set the ISA bit. | |
726 | (mips_eabi_push_dummy_call): Likewise. | |
727 | (mips_o64_push_dummy_call): Likewise. | |
728 | (mips_gdbarch_init): Install `mips_make_symbol_special', | |
729 | `mips_adjust_dwarf2_addr' and `mips_adjust_dwarf2_line' gdbarch | |
730 | handlers. | |
731 | * solib.c (gdb_bfd_lookup_symbol_from_symtab): Get | |
732 | target-specific symbol address adjustments. | |
733 | * gdbarch.h: Regenerate. | |
734 | * gdbarch.c: Regenerate. | |
735 | ||
736 | 2014-12-12 Yao Qi <yao@codesourcery.com> | |
737 | ||
738 | PR tdep/14261 | |
739 | * arm-tdep.c (arm_skip_prologue): Remove unused local variable | |
740 | 'skip_pc'. Remove code skipping prologue instructions, use | |
741 | arm_analyze_prologue instead. | |
742 | (arm_analyze_prologue): Stop the scanning for unrecognized | |
743 | instruction when skipping prologue. | |
744 | ||
745 | 2014-12-12 Yao Qi <yao@codesourcery.com> | |
746 | ||
747 | * arm-tdep.c (arm_instruction_restores_sp): New function. | |
748 | (arm_analyze_prologue): Call arm_instruction_restores_sp. | |
749 | (arm_in_function_epilogue_p): Move code to | |
750 | arm_instruction_restores_sp. | |
751 | ||
752 | 2014-12-11 Doug Evans <xdje42@gmail.com> | |
753 | ||
754 | * cp-namespace.c (cp_lookup_nested_symbol): Fix comments. | |
755 | ||
756 | 2014-12-11 Doug Evans <xdje42@gmail.com> | |
757 | ||
758 | * symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl. | |
759 | (symbol *lookup_symbol_via_quick_fns): Ditto. | |
760 | (lookup_symbol_in_objfile): Add forward decl. | |
761 | (lookup_global_symbol_from_objfile): Simplify, call | |
762 | lookup_symbol_in_objfile. | |
763 | ||
764 | 2014-12-11 Doug Evans <xdje42@gmail.com> | |
765 | ||
766 | * symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case. | |
767 | ||
768 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> | |
769 | ||
770 | PR breakpoints/17012 | |
771 | * breakpoint.c (remove_breakpoints_pid): Skip removing breakpoint if | |
772 | it is marked as persistent. | |
773 | ||
774 | 2014-12-10 Doug Evans <xdje42@gmail.com> | |
775 | ||
776 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Move definition, | |
777 | closer to its subroutines. | |
778 | ||
779 | 2014-12-10 Doug Evans <xdje42@gmail.com> | |
780 | ||
781 | * cp-namespace.c (lookup_symbol_file): Move next to only caller. | |
782 | ||
783 | 2014-12-10 Doug Evans <xdje42@gmail.com> | |
784 | ||
785 | * cp-namespace.c (cp_lookup_symbol_imports): Make static. | |
786 | * cp-support.h (cp_lookup_symbol_imports): Delete. | |
787 | ||
788 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> | |
789 | ||
790 | PR gdb/17627 | |
791 | * target.c (cleanup_restore_target_terminal): New function. | |
792 | (make_cleanup_restore_target_terminal): New function. | |
793 | * target.h (make_cleanup_restore_target_terminal): New declaration. | |
794 | * mi/mi-interp.c (mi_thread_exit): Use the new cleanup. | |
795 | ||
796 | 2014-12-08 Doug Evans <dje@google.com> | |
797 | ||
798 | * python/py-objfile.c (objfpy_get_owner): Increment refcount of result. | |
799 | ||
800 | 2014-12-08 Doug Evans <dje@google.com> | |
801 | ||
802 | * NEWS: Mention gdb.Objfile.owner. | |
803 | * python/py-objfile.c (objfpy_get_owner): New function. | |
804 | (objfile_getset): Add "owner". | |
805 | ||
806 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> | |
807 | ||
808 | * symtab.c (lookup_symbol_in_objfile_symtabs): New declaration. | |
809 | (lookup_global_symbol_from_objfile): Call it. | |
810 | ||
811 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> | |
812 | ||
813 | Remove const from struct objfile *. | |
814 | * solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h, | |
815 | symtab.c, symtab.h: In these files. | |
816 | ||
817 | 2014-12-05 Andreas From <andreas.from@ericsson.com> | |
818 | ||
819 | * MAINTAINERS (Write After Approval): Add "Andreas From" | |
820 | ||
821 | 2014-12-05 Doug Evans <xdje42@gmail.com> | |
822 | ||
823 | Revert: | |
824 | PR symtab/17602 | |
825 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
826 | ||
827 | 2014-12-04 Doug Evans <dje@google.com> | |
828 | ||
829 | * NEWS: Mention gdb.Objfile.add_separate_debug_file. | |
830 | * python/py-objfile.c (objfpy_add_separate_debug_file): New function. | |
831 | (objfile_getset): Add "add_separate_debug_file". | |
832 | ||
833 | 2014-12-04 Doug Evans <dje@google.com> | |
834 | ||
835 | * NEWS: Mention gdb.Objfile.build_id. | |
836 | * build-id.c (build_id_bfd_get): Make non-static. | |
837 | * build-id.h (build_id_bfd_get): Add declaration. | |
838 | * python/py-objfile.c: #include "build-id.h", "elf-bfd.h". | |
839 | (OBJFPY_REQUIRE_VALID): New macro. | |
840 | (objfpy_get_build_id): New function. | |
841 | (objfile_getset): Add "build_id". | |
842 | * utils.c (make_hex_string): New function. | |
843 | * utils.h (make_hex_string): Add declaration. | |
844 | ||
845 | 2014-12-04 Jan Kratochvil <jan.kratochvil@redhat.com> | |
846 | ||
847 | * block.c (block_lookup_symbol_primary): New function. | |
848 | * block.h (block_lookup_symbol_primary): New declaration. | |
849 | * symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX. | |
850 | Call block_lookup_symbol_primary. | |
851 | ||
852 | 2014-12-03 Maciej W. Rozycki <macro@codesourcery.com> | |
853 | ||
854 | * tramp-frame.h (tramp_frame): Add `validate' member. | |
855 | * tramp-frame.c (tramp_frame_start): Validate trampoline before | |
856 | scanning. | |
857 | * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro. | |
858 | (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise. | |
859 | (mips_linux_o32_sigframe): Initialize `validate' member. | |
860 | (mips_linux_o32_rt_sigframe): Likewise. | |
861 | (mips_linux_n32_rt_sigframe): Likewise. | |
862 | (mips_linux_n64_rt_sigframe): Likewise. | |
863 | (micromips_linux_o32_sigframe): New variable. | |
864 | (micromips_linux_o32_rt_sigframe): Likewise. | |
865 | (micromips_linux_n32_rt_sigframe): Likewise. | |
866 | (micromips_linux_n64_rt_sigframe): Likewise. | |
867 | (mips_linux_o32_sigframe_init): Handle microMIPS trampolines. | |
868 | (mips_linux_n32n64_sigframe_init): Likewise. | |
869 | (mips_linux_sigframe_validate): New function. | |
870 | (micromips_linux_sigframe_validate): Likewise. | |
871 | (mips_linux_init_abi): Install microMIPS trampoline unwinders. | |
872 | ||
873 | 2014-12-03 Ulrich Weigand <uweigand@de.ibm.com> | |
874 | ||
875 | * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o. | |
876 | * sparc-sol2-tdep.c: Include "regset.h". | |
877 | (sparc32_sol2_supply_core_gregset): New function. | |
878 | (sparc32_sol2_collect_core_gregset): Likewise. | |
879 | (sparc32_sol2_supply_core_fpregset): Likewise. | |
880 | (sparc32_sol2_collect_core_fpregset): Likewise. | |
881 | (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables. | |
882 | (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
883 | tdep->fpregset/sizeof_fpregset. | |
884 | * sparc64-sol2-tdep.c: Include "regset.h". | |
885 | (sparc64_sol2_supply_core_gregset): New function. | |
886 | (sparc64_sol2_collect_core_gregset): Likewise. | |
887 | (sparc64_sol2_supply_core_fpregset): Likewise. | |
888 | (sparc64_sol2_collect_core_fpregset): Likewise. | |
889 | (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables. | |
890 | (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
891 | tdep->fpregset/sizeof_fpregset. | |
892 | ||
893 | 2014-12-03 Simon Marchi <simon.marchi@ericsson.com> | |
894 | ||
895 | * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor | |
896 | type. | |
897 | ||
898 | 2014-12-02 Doug Evans <dje@google.com> | |
899 | ||
900 | * symtab.c (symbol_init_cplus_specific): Delete. | |
901 | (symbol_set_demangled_name): Remove special c++ support. | |
902 | (symbol_get_demangled_name, symbol_set_language): Ditto. | |
903 | * symtab.h (struct cplus_specific): Delete. | |
904 | (struct general_symbol_info) <language_specific>: Remove | |
905 | cplus_specific. | |
906 | ||
907 | 2014-12-02 Doug Evans <dje@google.com> | |
908 | ||
909 | PR symtab/17602 | |
910 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
911 | ||
912 | 2014-12-02 Doug Evans <dje@google.com> | |
913 | ||
914 | PR symtab/17591 | |
915 | * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params | |
916 | to strip parameters. | |
917 | ||
918 | 2014-12-02 Doug Evans <dje@google.com> | |
919 | ||
920 | * dwarf2read.c (peek_die_abbrev): Improve error message text. | |
921 | ||
922 | 2014-12-02 Doug Evans <dje@google.com> | |
923 | ||
924 | * valops.c (do_search_struct_field): Remove remnant of Chill support. | |
925 | Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e | |
926 | ||
927 | 2014-12-02 Simon Marchi <simon.marchi@ericsson.com> | |
928 | ||
929 | * common/cleanups.c (make_cleanup_dtor): Fix comment typo. | |
930 | ||
931 | 2014-12-02 Nick Bull <nicholaspbull@gmail.com> | |
932 | ||
933 | * NEWS: Mention new Python events. | |
934 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o. | |
935 | (SUBDIR_PYTHON_SRCS): Add py-infevents.c. | |
936 | (py-infevents.o): New rule. | |
077309e2 JB |
937 | * infcall.c (call_function_by_hand): Notify observer before and |
938 | after inferior call. | |
939 | * python/py-event.h (inferior_call_kind): New enum. | |
940 | (emit_inferior_call_event): New prototype. | |
941 | (emit_register_changed_event): New prototype. | |
942 | (emit_memory_changed_event): New prototype. | |
943 | * python/py-events.h (events_object): New registries | |
944 | inferior_call, memory_changed and register_changed. | |
945 | * python/py-evts.c (gdbpy_initialize_py_events): Add the | |
946 | inferior_call, memory_changed and register_changed registries. | |
947 | * python/py-infevents.c: New. | |
948 | * python/py-inferior.c (python_on_inferior_call_pre) | |
949 | (python_on_inferior_call_post, python_on_register_change) | |
950 | (python_on_memory_change): New functions. | |
951 | (gdbpy_initialize_inferior): Attach python handler to new | |
952 | observers. | |
953 | * python/py-infthread.c(gdbpy_create_ptid_object): New. | |
954 | (thpy_get_ptid) Use gdbpy_create_ptid_object. | |
955 | * python/python-internal.h: | |
956 | (gdbpy_create_ptid_object) | |
957 | (gdbpy_initialize_inferior_call_pre_event) | |
958 | (gdbpy_initialize_inferior_call_post_event) | |
959 | (gdbpy_initialize_register_changed_event) | |
960 | (gdbpy_initialize_memory_changed_event): New prototypes. | |
961 | * python/python.c (_initialize_python): Initialize new events. | |
962 | * valops.c (value_assign): Notify register_changed observer. | |
963 | ||
964 | 2014-12-02 Doug Evans <dje@google.com> | |
965 | ||
966 | * python/py-infthread.c: Whitespace fixes. | |
967 | ||
968 | 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
969 | ||
970 | * features/Makefile (s390-te-linux64-expedite): Replace | |
971 | non-existant r14 and r15 by r14l and r15l, respectively. | |
972 | * regformats/s390-te-linux64.dat: Regenerate. | |
973 | ||
974 | 2014-12-01 Simon Marchi <simon.marchi@ericsson.com> | |
975 | ||
976 | * objfiles.c (allocate_objfile): Remove duplicate comment. | |
977 | ||
978 | 2014-12-01 Ulrich Weigand <uweigand@de.ibm.com> | |
979 | ||
980 | * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o. | |
981 | * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h". | |
982 | (CREG_OFFSET, creg_offset, CREG_ADDR): Remove. | |
983 | (supply_gregset, supply_fpregset): Remove. | |
984 | * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable. | |
985 | (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs, | |
986 | and sizeof_gregset. | |
987 | ||
988 | 2014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> | |
989 | ||
990 | Add add-auto-load-scripts-directory. | |
991 | * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory. | |
992 | * auto-load.c (add_auto_load_dir): New function. | |
993 | (_initialize_auto_load): Install it. | |
994 | ||
995 | 2014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious) | |
996 | ||
997 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
998 | * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID. | |
999 | ||
1000 | 2014-11-29 Siva Chandra Reddy <sivachandra@google.com> | |
1001 | ||
1002 | * eval.c (evaluate_subexp): Check that the thread stack temporaries | |
1003 | are not already enabled before enabling them. | |
1004 | ||
1005 | 2014-11-29 Yao Qi <yao@codesourcery.com> | |
1006 | ||
1007 | * arm-tdep.c (arm_analyze_prologue): Move local variables | |
1008 | 'framereg' and 'framesize' to inner block. Move code to | |
1009 | inner block too. | |
1010 | ||
1011 | 2014-11-28 Siva Chandra Reddy <sivachandra@google.com> | |
1012 | ||
1013 | * eval.c: Include gdbthread.h. | |
1014 | (evaluate_subexp): Enable thread stack temporaries before | |
1015 | evaluating a complete expression and clean them up after the | |
1016 | evaluation is complete. | |
1017 | * gdbthread.h: Include common/vec.h. | |
1018 | (value_ptr): New typedef. | |
1019 | (VEC (value_ptr)): New vector type. | |
1020 | (value_vec): New typedef. | |
1021 | (struct thread_info): Add new fields stack_temporaries_enabled | |
1022 | and stack_temporaries. | |
1023 | (enable_thread_stack_temporaries) | |
1024 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
1025 | (get_last_thread_stack_temporary) | |
1026 | (value_in_thread_stack_temporaries): Declare. | |
1027 | * gdbtypes.c (class_or_union_p): New function. | |
1028 | * gdbtypes.h (class_or_union_p): Declare. | |
1029 | * infcall.c (call_function_by_hand): Store return values of class | |
1030 | type as temporaries on stack. | |
1031 | * thread.c (enable_thread_stack_temporaries): New function. | |
1032 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
1033 | (get_last_thread_stack_temporary): Likewise. | |
1034 | (value_in_thread_stack_temporaries): Likewise. | |
1035 | * value.c (value_force_lval): New function. | |
1036 | * value.h (value_force_lval): Declare. | |
1037 | ||
1038 | 2014-11-28 Pierre Muller <muller@sourceware.org> | |
1039 | ||
1040 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
1041 | * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX | |
1042 | registers. | |
1043 | ||
1044 | 2014-11-28 Ulrich Weigand <uweigand@de.ibm.com> | |
1045 | ||
1046 | * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o. | |
1047 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
1048 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
1049 | * m68klinux-nat.c (fetch_core_registers): Remove. | |
1050 | (linux_elf_core_fns): Remove. | |
1051 | (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns. | |
1052 | ||
1053 | 2014-11-28 Joel Brobecker <brobecker@adacore.com> | |
1054 | ||
1055 | * utils.c (gdb_realpath): Rework comment about handling on | |
1056 | Windows. | |
1057 | ||
1058 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1059 | ||
1060 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1061 | rename. | |
1062 | * gnulib/aclocal.m4: Re-generated. | |
1063 | * gnulib/config.in: Re-generated. | |
1064 | * gnulib/configure: Re-generated. | |
1065 | * gnulib/import/Makefile.am: Re-generated. | |
1066 | * gnulib/import/Makefile.in: Re-generated. | |
1067 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
1068 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
1069 | * import/basename-lgpl.c: New file. | |
1070 | * import/dirname-lgpl.c: New file. | |
1071 | * import/dirname.h: New file. | |
1072 | * import/m4/dirname.m4: New file. | |
1073 | * import/m4/malloc.m4: New file. | |
1074 | * import/m4/rename.m4: New file. | |
1075 | * import/m4/rmdir.m4: New file. | |
1076 | * import/m4/stdio_h.m4: New file. | |
1077 | * import/malloc.c: New file. | |
1078 | * import/rename.c: New file. | |
1079 | * import/rmdir.c: New file. | |
1080 | * import/same-inode.h: New file. | |
1081 | * import/stdio.c: New file. | |
1082 | * import/stdio.in.h: New file. | |
1083 | * import/stripslash.c: New file. | |
1084 | ||
1085 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1086 | ||
1087 | * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name | |
1088 | and realpath. | |
1089 | * config.in: Re-generated. | |
1090 | * configure: Re-generated. | |
1091 | * utils.c (gdb_realpath): Remove code calling realpath, | |
1092 | canonicalize_file_name and pathconf. | |
1093 | [!_WIN32]: Call canonicalize_file_name. | |
1094 | ||
1095 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1096 | ||
1097 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1098 | canonicalize-lgpl. | |
1099 | * aclocal.m4: Re-generated. | |
1100 | * config.in: Re-generated. | |
1101 | * configure: Re-generated. | |
1102 | * import/Makefile.am: Re-generated. | |
1103 | * import/Makefile.in: Re-generated. | |
1104 | * import/m4/gnulib-cache.m4: Re-generated. | |
1105 | * import/m4/gnulib-comp.m4: Re-generated. | |
1106 | * import/canonicalize-lgpl.c: New file. | |
1107 | * import/extra/snippet/_Noreturn.h: New file. | |
1108 | * import/m4/canonicalize.m4: New file. | |
1109 | * import/m4/double-slash-root.m4: New file. | |
1110 | * import/m4/eealloc.m4: New file. | |
1111 | * import/m4/malloca.m4: New file. | |
1112 | * import/m4/nocrash.m4: New file. | |
1113 | * import/m4/stdlib_h.m4: New file. | |
1114 | * import/malloca.c: New file. | |
1115 | * import/malloca.h: New file. | |
1116 | * import/malloca.valgrind: New file. | |
1117 | ||
1118 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1119 | ||
1120 | * configure.ac (AC_CHECK_FUNCS): Remove lstat. | |
1121 | * config.in, configure: Regenerate. | |
1122 | * symfile.c (find_separate_debug_file_by_debuglink): Remove | |
1123 | code checking HAVE_LSTAT is defined. | |
1124 | ||
1125 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1126 | ||
1127 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1128 | lstat. | |
1129 | * gnulib/aclocal.m4: Re-generated. | |
1130 | * gnulib/config.in: Re-generated. | |
1131 | * gnulib/configure: Re-generated. | |
1132 | * gnulib/import/Makefile.am: Re-generated. | |
1133 | * gnulib/import/Makefile.in: Re-generated. | |
1134 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
1135 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
1136 | * gnulib/import/lstat.c: New file. | |
1137 | * gnulib/import/m4/lstat.m4: New file. | |
1138 | ||
1139 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1140 | ||
1141 | * configure.ac (AC_CHECK_FUNCS): Remove readlink. | |
1142 | * config.in, configure: Re-generate. | |
1143 | * inf-child.c (inf_child_fileio_readlink): Don't check | |
1144 | HAVE_READLINK is defined. | |
1145 | ||
1146 | 2014-11-28 Yao Qi <yao@codesourcery.com> | |
1147 | ||
1148 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink. | |
1149 | * gnulib/aclocal.m4: Re-generated. | |
1150 | * gnulib/config.in: Likewise. | |
1151 | * gnulib/configure: Likewise. | |
1152 | * gnulib/import/Makefile.am: Likewise. | |
1153 | * gnulib/import/Makefile.in: Likewise. | |
1154 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
1155 | * gnulib/import/m4/gnulib-comp.m4: Likewise. | |
1156 | * gnulib/import/dosname.h: New file | |
1157 | * gnulib/import/m4/largefile.m4: New file. | |
1158 | * gnulib/import/m4/readlink.m4: New file. | |
1159 | * gnulib/import/m4/stat.m4: New file. | |
1160 | * gnulib/import/readlink.c: New file. | |
1161 | * gnulib/import/stat.c: New file. | |
1162 | ||
1163 | 2014-11-26 Mark Wielaard <mjw@redhat.com> | |
1164 | ||
1165 | * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11, | |
1166 | DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14. | |
1167 | ||
1168 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> | |
1169 | ||
1170 | * nios2-tdep.c (nios2_analyze_prologue): Replace restriction | |
1171 | that there can be only one stack adjustment in the prologue | |
1172 | with tests to detect specific disallowed stack adjustments. | |
1173 | ||
1174 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> | |
1175 | ||
1176 | * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack | |
1177 | adjustments. | |
1178 | ||
1179 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> | |
1180 | ||
1181 | * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble | |
1182 | the instruction as well as reading it from memory. | |
1183 | (nios2_match_add): New. | |
1184 | (nios2_match_sub): New. | |
1185 | (nios2_match_addi): New. | |
1186 | (nios2_match_orhi): New. | |
1187 | (nios2_match_stw): New. | |
1188 | (nios2_match_ldw): New. | |
1189 | (nios2_match_rdctl): New. | |
1190 | (enum branch_condition): New. | |
1191 | (nios2_match_branch): New. | |
1192 | (nios2_match_jmpi): New. | |
1193 | (nios2_match_calli): New. | |
1194 | (nios2_match_jmpr): New. | |
1195 | (nios2_match_callr): New. | |
1196 | (nios2_match_break): New. | |
1197 | (nios2_match_trap): New. | |
1198 | (nios2_in_epilogue_p): Rewrite to use new functions. | |
1199 | (nios2_analyze_prologue): Likewise. | |
1200 | (nios2_skip_prologue): Delete unused local limit_pc. | |
1201 | (nios2_breakpoint_from_pc): Make R1-specific encodings explicit. | |
1202 | (nios2_get_next_pc): Rewrite to use new functions. | |
1203 | ||
1204 | 2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1205 | ||
1206 | * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code. | |
1207 | ||
1208 | 2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org> | |
1209 | ||
1210 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
701adfb0 | 1211 | * gnu-nat.c (inf_validate_procinfo): Multiply the number of |
077309e2 JB |
1212 | elements pi_len by the size of the elements before calling |
1213 | vm_deallocate. | |
1214 | (inf_validate_task_sc): Likewise, and properly deallocate the | |
1215 | noise array. | |
1216 | ||
1217 | 2014-11-23 Doug Evans <xdje42@gmail.com> | |
1218 | ||
1219 | * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg | |
1220 | number and name if present. All callers updated. | |
1221 | (dump_fn_fieldlists): Fix indentation of args. | |
1222 | ||
1223 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> | |
1224 | ||
1225 | * MAINTAINERS (Write After Approval): Add myself. | |
1226 | ||
1227 | 2014-11-23 Joel Brobecker <brobecker@adacore.com> | |
1228 | ||
1229 | * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds | |
1230 | to a bp_call_dummy breakpoint type. | |
1231 | ||
1232 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> | |
1233 | ||
1234 | * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when | |
1235 | registering the signal handler. | |
1236 | ||
1237 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> | |
1238 | ||
1239 | * event-top.h (call_stdin_event_handler_again_p): Declare. | |
1240 | * event-top.c (call_stdin_event_handler_again_p): Define. | |
1241 | (stdin_event_handler): Use it. | |
1242 | * tui/tui-io.c (tui_getc): Prepare to call the stdin event | |
1243 | handler again if there is pending input following a | |
1244 | start sequence. | |
1245 | ||
1246 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> | |
1247 | ||
1248 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
1249 | * linux-fork.c (checkpoint_command): Print index of new | |
1250 | checkpoint in response message. | |
1251 | ||
1252 | 2014-11-23 Yao Qi <yao@codesourcery.com> | |
1253 | ||
1254 | * valprint.c (read_string): Move local variables 'found_nul', | |
1255 | 'chunksize' and 'limit' to inner scope. Update comments. | |
1256 | ||
1257 | 2014-11-22 Doug Evans <xdje42@gmail.com> | |
1258 | ||
1259 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve | |
1260 | function comment. | |
1261 | (search_symbols): Fix comments and whitespace. | |
1262 | ||
1263 | 2014-11-22 Doug Evans <xdje42@gmail.com> | |
1264 | ||
1265 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment. | |
1266 | ||
1267 | 2014-11-21 Doug Evans <dje@google.com> | |
1268 | ||
1269 | * psymtab.c (psymtab_search_name): Fix whitespace. | |
1270 | ||
1271 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1272 | ||
1273 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1274 | errno. | |
1275 | * gnulib/import/Makefile.am: Re-generated. | |
1276 | * gnulib/import/Makefile.in: Likewise. | |
1277 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
1278 | ||
1279 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1280 | ||
1281 | * gdb_wchar.h: Include wchar.h and wctype.h. | |
1282 | [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't | |
1283 | include wchar.h and wctype.h. | |
1284 | Don't check HAVE_WCHAR_H. | |
1285 | ||
1286 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1287 | ||
1288 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar | |
1289 | and wctype-h. | |
1290 | * gnulib/import/Makefile.am: Re-generated. | |
1291 | * gnulib/import/Makefile.in: Likewise. | |
1292 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
1293 | ||
1294 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1295 | ||
1296 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
1297 | memchr. | |
1298 | * gnulib/import/Makefile.am: Re-generated. | |
1299 | * gnulib/import/Makefile.in: Likewise. | |
1300 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
1301 | ||
1302 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1303 | ||
1304 | * common/common-defs.h: Include alloca.h | |
1305 | * configure.ac: Don't invoke AC_FUNC_ALLOCA. | |
1306 | * configure: Re-generated. | |
1307 | * defs.h: Remove code handling alloca. | |
1308 | * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined | |
1309 | or not. | |
1310 | ||
1311 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1312 | ||
1313 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add | |
1314 | alloca. | |
1315 | * gnulib/import/Makefile.am: Re-generated. | |
1316 | * gnulib/import/Makefile.in: Likewise.. | |
1317 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
1318 | ||
1319 | 2014-11-21 Yao Qi <yao@codesourcery.com> | |
1320 | ||
1321 | * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in | |
1322 | alphabetical order. | |
1323 | ||
1324 | 2014-11-21 Joel Brobecker <brobecker@adacore.com> | |
1325 | ||
1326 | * gdbtypes.c (create_range_type): Unset RESULT_TYPE's | |
1327 | flag_unsigned if HIGH_BOUND is constant and negative. | |
1328 | ||
1329 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> | |
1330 | ||
1331 | PR breakpoints/10737 | |
1332 | * xml-syscall.c (set_xml_syscall_file_name): Remove "const" | |
1333 | modifier from "struct gdbarch" when compiling without Expat (XML) | |
1334 | support. | |
1335 | (get_syscall_by_number): Likewise. | |
1336 | (get_syscall_by_name): Likewise. | |
1337 | (get_syscall_names): Likewise. | |
1338 | ||
1339 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> | |
1340 | ||
1341 | PR breakpoints/10737 | |
1342 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to | |
1343 | set_xml_syscall_file_name to provide gdbarch. | |
1344 | * arm-linux-tdep.c (arm_linux_init_abi): Likewise. | |
1345 | * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise. | |
1346 | * breakpoint.c (print_it_catch_syscall): Adjust call to | |
1347 | get_syscall_by_number to provide gdbarch. | |
1348 | (print_one_catch_syscall): Likewise. | |
1349 | (print_mention_catch_syscall): Likewise. | |
1350 | (print_recreate_catch_syscall): Likewise. | |
1351 | (catch_syscall_split_args): Adjust calls to get_syscall_by_number | |
1352 | and get_syscall_by_name to provide gdbarch. | |
1353 | (catch_syscall_completer): Adjust call to get_syscall_names to | |
1354 | provide gdbarch. | |
1355 | * gdbarch.c: Regenerate. | |
1356 | * gdbarch.h: Likewise. | |
1357 | * gdbarch.sh: Forward declare "struct syscalls_info". | |
1358 | (xml_syscall_file): New variable. | |
1359 | (syscalls_info): Likewise. | |
1360 | * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to | |
1361 | set_xml_syscall_file_name to provide gdbarch. | |
1362 | * mips-linux-tdep.c (mips_linux_init_abi): Likewise. | |
1363 | * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise. | |
1364 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
1365 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. | |
1366 | * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise. | |
1367 | * xml-syscall.c: Include gdbarch.h. | |
1368 | (set_xml_syscall_file_name): Accept gdbarch parameter. | |
1369 | (get_syscall_by_number): Likewise. | |
1370 | (get_syscall_by_name): Likewise. | |
1371 | (get_syscall_names): Likewise. | |
1372 | (my_gdb_datadir): Delete global variable. | |
1373 | (struct syscalls_info) <my_gdb_datadir>: New variable. | |
1374 | (struct syscalls_info) <sysinfo>: Rename variable to | |
1375 | "syscalls_info". | |
1376 | (sysinfo): Delete global variable. | |
1377 | (have_initialized_sysinfo): Likewise. | |
1378 | (xml_syscall_file): Likewise. | |
1379 | (sysinfo_free_syscalls_desc): Rename to... | |
1380 | (syscalls_info_free_syscalls_desc): ... this. | |
1381 | (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust | |
1382 | code to the new layout of "struct syscalls_info". | |
1383 | (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to | |
1384 | "syscalls_info". | |
1385 | (syscall_create_syscall_desc): Likewise. | |
1386 | (syscall_start_syscall): Likewise. | |
1387 | (syscall_parse_xml): Likewise. | |
1388 | (xml_init_syscalls_info): Likewise. Drop "const" from return value. | |
1389 | (init_sysinfo): Rename to... | |
1390 | (init_syscalls_info): ...this. Add gdbarch as a parameter. | |
1391 | Adjust function to deal with gdbarch. | |
1392 | (xml_get_syscall_number): Delete parameter sysinfo. Accept | |
1393 | gdbarch as a parameter. Adjust code. | |
1394 | (xml_get_syscall_name): Likewise. | |
1395 | (xml_list_of_syscalls): Likewise. | |
1396 | (set_xml_syscall_file_name): Accept gdbarch as parameter. | |
1397 | (get_syscall_by_number): Likewise. | |
1398 | (get_syscall_by_name): Likewise. | |
1399 | (get_syscall_names): Likewise. | |
1400 | * xml-syscall.h (set_xml_syscall_file_name): Likewise. | |
1401 | (get_syscall_by_number): Likewise. | |
1402 | (get_syscall_by_name): Likewise. | |
1403 | (get_syscall_names): Likewise. | |
1404 | ||
1405 | 2014-11-20 Doug Evans <xdje42@gmail.com> | |
1406 | ||
1407 | Split struct symtab into two: struct symtab and compunit_symtab. | |
1408 | * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit. | |
1409 | * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument | |
1410 | to "struct compunit_symtab *". All callers updated. | |
1411 | (set_block_compunit_symtab): Renamed from set_block_symtab. Change | |
1412 | "struct symtab *" argument to "struct compunit_symtab *". | |
1413 | All callers updated. | |
1414 | (get_block_compunit_symtab): Renamed from get_block_symtab. Change | |
1415 | result to "struct compunit_symtab *". All callers updated. | |
1416 | (find_iterator_compunit_symtab): Renamed from find_iterator_symtab. | |
1417 | Change result to "struct compunit_symtab *". All callers updated. | |
1418 | * block.h (struct global_block) <compunit_symtab>: Renamed from symtab. | |
1419 | hange type to "struct compunit_symtab *". All uses updated. | |
1420 | (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab". | |
1421 | Change type to "struct compunit_symtab *". All uses updated. | |
1422 | * buildsym.c (struct buildsym_compunit): New struct. | |
1423 | (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete. | |
1424 | (buildsym_compunit): New static global. | |
1425 | (finish_block_internal): Update to fetch objfile from | |
1426 | buildsym_compunit. | |
1427 | (make_blockvector): Delete objfile argument. | |
1428 | (start_subfile): Rewrite to use buildsym_compunit. Don't initialize | |
1429 | debugformat, producer. | |
1430 | (start_buildsym_compunit): New function. | |
1431 | (free_buildsym_compunit): Renamed from free_subfiles_list. | |
1432 | All callers updated. | |
1433 | (patch_subfile_names): Rewrite to use buildsym_compunit. | |
1434 | (get_compunit_symtab): New function. | |
1435 | (get_macro_table): Delete argument comp_dir. All callers updated. | |
1436 | (start_symtab): Change result to "struct compunit_symtab *". | |
1437 | All callers updated. Create the subfile of the main source file. | |
1438 | (watch_main_source_file_lossage): Rewrite to use buildsym_compunit. | |
1439 | (reset_symtab_globals): Update. | |
1440 | (end_symtab_get_static_block): Update to use buildsym_compunit. | |
1441 | (end_symtab_without_blockvector): Rewrite. | |
1442 | (end_symtab_with_blockvector): Change result to | |
1443 | "struct compunit_symtab *". All callers updated. | |
1444 | Update to use buildsym_compunit. Don't set symtab->dirname, | |
1445 | instead set it in the compunit. | |
1446 | Explicitly make sure main symtab is first in its list. | |
1447 | Set debugformat, producer, blockvector, block_line_section, and | |
1448 | macrotable in the compunit. | |
1449 | (end_symtab_from_static_block): Change result to | |
1450 | "struct compunit_symtab *". All callers updated. | |
1451 | (end_symtab, end_expandable_symtab): Ditto. | |
1452 | (set_missing_symtab): Change symtab argument to | |
1453 | "struct compunit_symtab *". All callers updated. | |
1454 | (augment_type_symtab): Ditto. | |
1455 | (record_debugformat): Update to use buildsym_compunit. | |
1456 | (record_producer): Update to use buildsym_compunit. | |
1457 | * buildsym.h (struct subfile) <dirname>: Delete. | |
1458 | <producer, debugformat>: Delete. | |
1459 | <buildsym_compunit>: New member. | |
1460 | (get_compunit_symtab): Declare. | |
1461 | * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed | |
1462 | from primary_symtab. Change type to "struct compunit_symtab *". | |
1463 | All uses updated. | |
1464 | (dwarf2_start_symtab): Change result to "struct compunit_symtab *". | |
1465 | All callers updated. | |
1466 | (dwarf_decode_macros): Delete comp_dir argument. All callers updated. | |
1467 | (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from | |
1468 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
1469 | (dw2_instantiate_symtab): Change result to "struct compunit_symtab *". | |
1470 | All callers updated. | |
1471 | (dw2_find_last_source_symtab): Ditto. | |
1472 | (dw2_lookup_symbol): Ditto. | |
1473 | (recursively_find_pc_sect_compunit_symtab): Renamed from | |
1474 | recursively_find_pc_sect_symtab. Change result to | |
1475 | "struct compunit_symtab *". All callers updated. | |
1476 | (dw2_find_pc_sect_compunit_symtab): Renamed from | |
1477 | dw2_find_pc_sect_symtab. Change result to | |
1478 | "struct compunit_symtab *". All callers updated. | |
1479 | (get_compunit_symtab): Renamed from get_symtab. Change result to | |
1480 | "struct compunit_symtab *". All callers updated. | |
1481 | (recursively_compute_inclusions): Change type of immediate_parent | |
1482 | argument to "struct compunit_symtab *". All callers updated. | |
1483 | (compute_compunit_symtab_includes): Renamed from | |
1484 | compute_symtab_includes. All callers updated. Rewrite to compute | |
1485 | includes of compunit_symtabs and not symtabs. | |
1486 | (process_full_comp_unit): Update to work with struct compunit_symtab. | |
1487 | (process_full_type_unit): Ditto. | |
1488 | (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated. | |
1489 | (dwarf_decode_lines): Remove special case handling of main subfile. | |
1490 | (macro_start_file): Delete argument comp_dir. All callers updated. | |
1491 | (dwarf_decode_macro_bytes): Ditto. | |
1492 | * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to | |
1493 | use struct compunit_symtab. | |
1494 | * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit. | |
1495 | * jit.c (finalize_symtab): Build compunit_symtab. | |
1496 | * jv-lang.c (get_java_class_symtab): Change result to | |
1497 | "struct compunit_symtab *". All callers updated. | |
1498 | * macroscope.c (sal_macro_scope): Fetch macro table from compunit. | |
1499 | * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from | |
1500 | comp_dir. Change type to "struct compunit_symtab *". | |
1501 | All uses updated. | |
1502 | (new_macro_table): Change comp_dir argument to cust, | |
1503 | "struct compunit_symtab *". All callers updated. | |
1504 | * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from | |
1505 | nr_primary_symtabs. All uses updated. | |
1506 | (count_symtabs_and_blocks): Update to handle compunits. | |
1507 | (report_command_stats): Update output, "primary symtabs" renamed to | |
1508 | "compunits". | |
1509 | * mdebugread.c (new_symtab): Change result to | |
1510 | "struct compunit_symtab *". All callers updated. | |
1511 | (parse_procedure): Change type of search_symtab argument to | |
1512 | "struct compunit_symtab *". All callers updated. | |
1513 | * objfiles.c (objfile_relocate1): Loop over blockvectors in a | |
1514 | separate loop. | |
1515 | * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from | |
1516 | symtabs. Change type to "struct compunit_symtab *". All uses updated. | |
1517 | (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS. | |
1518 | All uses updated. | |
1519 | (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS. | |
1520 | All uses updated. | |
1521 | (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated. | |
1522 | (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated. | |
1523 | * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from | |
1524 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
1525 | * psymtab.c (psymtab_to_symtab): Change result type to | |
1526 | "struct compunit_symtab *". All callers updated. | |
1527 | (find_pc_sect_compunit_symtab_from_partial): Renamed from | |
1528 | find_pc_sect_symtab_from_partial. Change result type to | |
1529 | "struct compunit_symtab *". All callers updated. | |
1530 | (lookup_symbol_aux_psymtabs): Change result type to | |
1531 | "struct compunit_symtab *". All callers updated. | |
1532 | (find_last_source_symtab_from_partial): Ditto. | |
1533 | * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit. | |
1534 | * source.c (forget_cached_source_info_for_objfile): Fetch debugformat | |
1535 | and macro_table from compunit. | |
1536 | * symfile-debug.c (debug_qf_find_last_source_symtab): Change result | |
1537 | type to "struct compunit_symtab *". All callers updated. | |
1538 | (debug_qf_lookup_symbol): Ditto. | |
1539 | (debug_qf_find_pc_sect_compunit_symtab): Renamed from | |
1540 | debug_qf_find_pc_sect_symtab, change result type to | |
1541 | "struct compunit_symtab *". All callers updated. | |
1542 | * symfile.c (allocate_symtab): Delete objfile argument. | |
1543 | New argument cust. | |
1544 | (allocate_compunit_symtab): New function. | |
1545 | (add_compunit_symtab_to_objfile): New function. | |
1546 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: | |
1547 | Change result type to "struct compunit_symtab *". All uses updated. | |
1548 | <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab. | |
1549 | Change result type to "struct compunit_symtab *". All uses updated. | |
1550 | * symmisc.c (print_objfile_statistics): Compute blockvector count in | |
1551 | separate loop. | |
1552 | (dump_symtab_1): Update test for primary source symtab. | |
1553 | (maintenance_info_symtabs): Update to handle compunit symtabs. | |
1554 | (maintenance_check_symtabs): Ditto. | |
1555 | * symtab.c (set_primary_symtab): Delete. | |
1556 | (compunit_primary_filetab): New function. | |
1557 | (compunit_language): New function. | |
1558 | (iterate_over_some_symtabs): Change type of arguments "first", | |
1559 | "after_last" to "struct compunit_symtab *". All callers updated. | |
1560 | Update to loop over symtabs in each compunit. | |
1561 | (error_in_psymtab_expansion): Rename symtab argument to cust, | |
1562 | and change type to "struct compunit_symtab *". All callers updated. | |
1563 | (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab. | |
1564 | Change result type to "struct compunit_symtab *". All callers updated. | |
1565 | (find_pc_compunit_symtab): Renamed from find_pc_symtab. | |
1566 | Change result type to "struct compunit_symtab *". All callers updated. | |
1567 | (find_pc_sect_line): Only loop over symtabs within selected compunit | |
1568 | instead of all symtabs in the objfile. | |
1569 | * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab. | |
1570 | <compunit_symtab> New member. | |
1571 | <block_line_section>: Moved to compunit_symtab. | |
1572 | <locations_valid>: Ditto. | |
1573 | <epilogue_unwind_valid>: Ditto. | |
1574 | <macro_table>: Ditto. | |
1575 | <dirname>: Ditto. | |
1576 | <debugformat>: Ditto. | |
1577 | <producer>: Ditto. | |
1578 | <objfile>: Ditto. | |
1579 | <call_site_htab>: Ditto. | |
1580 | <includes>: Ditto. | |
1581 | <user>: Ditto. | |
1582 | <primary>: Delete | |
1583 | (SYMTAB_COMPUNIT): New macro. | |
1584 | (SYMTAB_BLOCKVECTOR): Update definition. | |
1585 | (SYMTAB_OBJFILE): Update definition. | |
1586 | (SYMTAB_DIRNAME): Update definition. | |
1587 | (struct compunit_symtab): New type. Common members among all source | |
1588 | symtabs within a compilation unit moved here. All uses updated. | |
1589 | (COMPUNIT_OBJFILE): New macro. | |
1590 | (COMPUNIT_FILETABS): New macro. | |
1591 | (COMPUNIT_DEBUGFORMAT): New macro. | |
1592 | (COMPUNIT_PRODUCER): New macro. | |
1593 | (COMPUNIT_DIRNAME): New macro. | |
1594 | (COMPUNIT_BLOCKVECTOR): New macro. | |
1595 | (COMPUNIT_BLOCK_LINE_SECTION): New macro. | |
1596 | (COMPUNIT_LOCATIONS_VALID): New macro. | |
1597 | (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro. | |
1598 | (COMPUNIT_CALL_SITE_HTAB): New macro. | |
1599 | (COMPUNIT_MACRO_TABLE): New macro. | |
1600 | (ALL_COMPUNIT_FILETABS): New macro. | |
1601 | (compunit_symtab_ptr): New typedef. | |
1602 | (DEF_VEC_P (compunit_symtab_ptr)): New vector type. | |
1603 | ||
1604 | 2014-11-20 Joel Brobecker <brobecker@adacore.com> | |
1605 | ||
1606 | * ada-lang.c (ada_is_redundant_range_encoding): Return 0 | |
1607 | if the TYPE_CODE of range_type's base type does not match | |
1608 | the TYPE_CODE of encoding_type's base type. | |
1609 | ||
1610 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> | |
1611 | ||
1612 | * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if | |
1613 | it starts with '<'. | |
1614 | ||
1615 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> | |
1616 | ||
1617 | * ada-lang.c (ada_is_redundant_range_encoding): New function. | |
1618 | (ada_is_redundant_index_type_desc): New function. | |
1619 | (to_fixed_array_type): Ignore parallel XA type if redundant. | |
1620 | ||
1621 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> | |
1622 | ||
1623 | * ada-lang.c (constrained_packed_array_type): Set the length | |
1624 | of the return array as if both bounds where zero if that | |
1625 | returned array's index type is dynamic. | |
1626 | ||
1627 | 2014-11-19 Yao Qi <yao@codesourcery.com> | |
1628 | ||
1629 | * config/i386/go32.mh (CC): Remove. | |
1630 | ||
1631 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1632 | ||
1633 | * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses | |
1634 | updated. | |
1635 | ||
1636 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1637 | ||
1638 | * buildsym.c (buildsym_objfile): New static global. | |
1639 | (buildsym_comp_dir): New static global. | |
1640 | (finish_block_internal): Delete arg objfile. All callers updated. | |
1641 | (finish_block): Delete arg objfile. All callers updated. | |
1642 | (start_subfile): Delete arg dirname. All callers updated. | |
1643 | (patch_subfile_names): Update buildsym_comp_dir. | |
1644 | (get_macro_table): Delete arg objfile. All callers updated. | |
1645 | (start_symtab): New arg objfile. All callers updated. | |
1646 | Rename arg dirname to comp_dir. | |
1647 | (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir. | |
1648 | (end_symtab_get_static_block): Delete arg objfile. All callers | |
1649 | updated. | |
1650 | (end_symtab_without_blockvector): Ditto. | |
1651 | (end_symtab_with_blockvector): Ditto. | |
1652 | (end_symtab_from_static_block): Ditto. | |
1653 | (end_symtab): Ditto. | |
1654 | (end_expandable_symtab): Ditto. | |
1655 | (augment_type_symtab): Ditto. | |
1656 | * coffread.c (coff_start_symtab): New arg objfile. All callers | |
1657 | updated. | |
1658 | ||
1659 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1660 | ||
1661 | * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses | |
1662 | updated. | |
1663 | ||
1664 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1665 | ||
1666 | * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member | |
1667 | symtab.dirname updated to use it. | |
1668 | ||
1669 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1670 | ||
1671 | * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member | |
1672 | symtab.objfile updated to use it. | |
1673 | ||
1674 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1675 | ||
1676 | * buildsym.c (watch_main_source_file_lossage): Fix memory leak. | |
1677 | ||
1678 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1679 | ||
1680 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use | |
1681 | SYMBOL_OBJFILE. | |
1682 | * findvar.c (default_read_var_value): Ditto. | |
1683 | * jv-lang.c (add_class_symtab_symbol): Ditto. | |
1684 | * parse.c (operator_check_standard): Ditto. | |
1685 | * printcmd.c (address_info): Ditto. | |
1686 | * symtab.c (fixup_symbol_section): Ditto. | |
1687 | (skip_prologue_sal): Ditto. | |
1688 | * tracepoint.c (scope_info): Ditto. | |
1689 | * valops.c (find_function_in_inferior): Ditto. | |
1690 | * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto. | |
1691 | * python/py-symbol.c (set_symbol): Ditto. | |
1692 | ||
1693 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1694 | ||
1695 | * buildsym.c (main_subfile): New static global. | |
1696 | (free_subfiles_list): New function. | |
1697 | (start_symtab): Set main_subfile. | |
1698 | (restart_symtab): Replace init of subfiles, current_subfile with | |
1699 | call to free_subfiles_list. | |
1700 | (watch_main_source_file_lossage): Use main_subfile. | |
1701 | (reset_symtab_globals): Replace init of current_subfile with call | |
1702 | to free_subfiles_list. | |
1703 | (end_symtab_without_blockvector, end_symtab_with_blockvector): New | |
1704 | functions, split out from ... | |
1705 | (end_symtab_from_static_block): ... here. Rewrite to call them. | |
1706 | ||
1707 | 2014-11-18 Doug Evans <xdje42@gmail.com> | |
1708 | ||
1709 | The result of symtab expansion is always a primary symtab. | |
1710 | * dwarf2read.c (dw2_instantiate_symtab): Add assert. | |
1711 | (dw2_lookup_symbol): Remove unnecessary test for primary symbol table. | |
1712 | * psymtab.c (lookup_symbol_aux_psymtabs): Ditto. | |
1713 | (psymtab_to_symtab): Add comment and assert. | |
1714 | (map_matching_symbols_psymtab): Remove unnecessary test for | |
1715 | non-primary symtab. | |
1716 | ||
1717 | 2014-11-15 Doug Evans <xdje42@gmail.com> | |
1718 | ||
1719 | PR symtab/17559 | |
1720 | * symtab.c (find_pc_line_symtab): New function. | |
1721 | * symtab.h (find_pc_line_symtab): Declare. | |
1722 | * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of | |
1723 | find_pc_symtab. | |
1724 | * tui/tui-disasm.c (tui_set_disassem_content): Ditto. | |
1725 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto. | |
1726 | * tui/tui-source.c (tui_vertical_source_scroll): Ditto. | |
1727 | * tui/tui-win.c (make_visible_with_new_height): Ditto. | |
1728 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto. | |
1729 | (tui_display_main): Call find_pc_line_symtab instead of find_pc_line. | |
1730 | ||
1731 | 2014-11-15 Doug Evans <xdje42@gmail.com> | |
1732 | ||
1733 | * symtab.c (expand_symtab_containing_pc): Renamed from | |
1734 | find_pc_sect_symtab_via_partial. All callers updated. | |
1735 | ||
1736 | 2014-11-15 Yao Qi <yao@codesourcery.com> | |
1737 | ||
1738 | * go32-nat.c (go32_create_inferior): Add missing parenthesis. | |
1739 | ||
1740 | 2014-11-14 Joel Brobecker <brobecker@adacore.com> | |
1741 | ||
1742 | * common/common-defs.h: Move <stdarg.h> #include ahead of | |
1743 | <stdio.h> #include. | |
1744 | ||
1745 | 2014-11-14 Pedro Alves <palves@redhat.com> | |
1746 | ||
1747 | * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define. | |
1748 | [!PHONY_ICONV] (gdb_iconv): New function. | |
1749 | [!PHONY_ICONV] (iconv): Redefine to gdb_iconv. | |
1750 | ||
1751 | 2014-11-13 Doug Evans <dje@google.com> | |
1752 | ||
1753 | PR symtab/17591 | |
1754 | * dwarf2read.c (find_slot_in_mapped_hash): Handle | |
1755 | "(anonymous namespace)". | |
1756 | ||
1757 | 2014-11-13 Doug Evans <dje@google.com> | |
1758 | ||
1759 | * dwarf2read.c (update_enumeration_type_from_children): Avoid | |
1760 | infinite loop. | |
1761 | ||
1762 | 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
1763 | ||
1764 | * NEWS (maint set target-async): Fix typo. | |
1765 | ||
1766 | 2014-11-12 Pedro Alves <palves@redhat.com> | |
1767 | ||
1768 | * infrun.c (enum infwait_states, infwait_state): Delete. | |
1769 | ||
1770 | 2014-11-12 Pedro Alves <palves@redhat.com> | |
1771 | ||
1772 | * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag. | |
1773 | Rewrite stepping over a permanent breakpoint. | |
1774 | (thread_still_needs_step_over, proceed): Don't set | |
1775 | stepping_over_breakpoint for permanent breakpoints. | |
1776 | (handle_signal_stop): Don't clear stepped_breakpoint. Also pull | |
1777 | single-step breakpoints out of the target on hardware step | |
1778 | targets. | |
1779 | (process_event_stop_test): If stepping a permanent breakpoint | |
1780 | doesn't hit the step-resume breakpoint, delete the step-resume | |
1781 | breakpoint. | |
1782 | (switch_back_to_stepped_thread): Also check if the stepped thread | |
1783 | has advanced already on hardware step targets. | |
1784 | (currently_stepping): Return true if the thread stepped a | |
1785 | breakpoint. | |
1786 | ||
1787 | 2014-11-12 Pedro Alves <palves@redhat.com> | |
1788 | ||
1789 | Mark locations as permanent, not the whole breakpoint. | |
1790 | * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust. | |
1791 | (mark_breakpoints_out): Don't mark permanent breakpoints as | |
1792 | uninserted. | |
1793 | (breakpoint_init_inferior): Use mark_breakpoints_out. | |
1794 | (breakpoint_here_p): Adjust. | |
1795 | (bpstat_stop_status, describe_other_breakpoints): Remove handling | |
1796 | of permanent breakpoints. | |
1797 | (make_breakpoint_permanent): Mark each location as permanent, | |
1798 | instead of marking the breakpoint. | |
1799 | (add_location_to_breakpoint): If the location is permanent, mark | |
1800 | it as such, and as inserted. | |
1801 | (init_breakpoint_sal): Don't make the breakpoint permanent here. | |
1802 | (bp_location_compare, update_global_location_list): Adjust. | |
1803 | (update_breakpoint_locations): Don't make the breakpoint permanent | |
1804 | here. | |
1805 | (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent | |
1806 | breakpoints. | |
1807 | * breakpoint.h (enum enable_state) <bp_permanent>: Delete field. | |
1808 | (struct bp_location) <permanent>: New field. | |
1809 | * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove | |
1810 | reference to bp_permanent. | |
1811 | ||
1812 | 2014-11-12 Pedro Alves <palves@redhat.com> | |
1813 | ||
1814 | * arch-utils.c (default_skip_permanent_breakpoint): New function. | |
1815 | * arch-utils.h (default_skip_permanent_breakpoint): New | |
1816 | declaration. | |
1817 | * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function. | |
1818 | Install default_skip_permanent_breakpoint as default method. | |
1819 | * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function. | |
1820 | (i386_gdbarch_init): Don't install it. | |
1821 | * infrun.c (resume): Assume there's always a | |
1822 | gdbarch_skip_permanent_breakpoint implementation. | |
1823 | * gdbarch.h, gdbarch.c: Regenerate. | |
1824 | ||
1825 | 2014-11-11 Daniel Colascione <dancol@dancol.org> | |
1826 | ||
1827 | Warn about cross-PID-namespace debugging. | |
1828 | * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype. | |
1829 | * nat/linux-procfs.c (linux_proc_pid_get_ns): New function. | |
1830 | * linux-thread-db.c (check_pid_namespace_match): New function. | |
1831 | (thread_db_inferior_created): Call it. | |
1832 | ||
1833 | 2014-11-10 Doug Evans <xdje42@gmail.com> | |
1834 | ||
1835 | * symmisc.c (print_objfile_statistics): Remove trailing whitespace. | |
1836 | (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. | |
1837 | ||
1838 | 2014-11-10 Doug Evans <xdje42@gmail.com> | |
1839 | ||
1840 | * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS. | |
1841 | ||
1842 | 2014-11-10 Doug Evans <xdje42@gmail.com> | |
1843 | ||
1844 | PR symtab/17564 | |
1845 | * symtab.c (lookup_symbol_in_all_objfiles): Delete. | |
1846 | (lookup_static_symbol): Move definition to new location and rewrite. | |
1847 | (lookup_symbol_in_objfile): New function. | |
1848 | (lookup_symbol_global_iterator_cb): Call it. | |
1849 | ||
1850 | 2014-11-10 Ulrich Weigand <uweigand@de.ibm.com> | |
1851 | ||
1852 | * eval.c (evaluate_subexp_standard): Work around GCC bug 63748. | |
1853 | ||
1854 | 2014-11-07 Pedro Alves <palves@redhat.com> | |
1855 | ||
1856 | * infrun.c (process_event_stop_test) <subroutine check>: Don't | |
1857 | check if we did a "nexti" inside a prologue. | |
1858 | * symtab.c (in_prologue): Delete function. | |
1859 | * symtab.h (in_prologue): Delete declaration. | |
1860 | ||
1861 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1862 | ||
1863 | * symtab.h (lookup_global_symbol): Improve function comment. | |
1864 | ||
1865 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1866 | ||
1867 | * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. | |
1868 | All callers updated. | |
1869 | * symtab.h (lookup_global_symbol): Update decl. | |
1870 | (lookup_static_symbol): Move decl to better location. | |
1871 | ||
1872 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1873 | ||
1874 | * symtab.c (basic_lookup_symbol_nonlocal): Add comment. | |
1875 | ||
1876 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1877 | ||
1878 | * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local. | |
1879 | All callers updated. | |
1880 | (lookup_symbol_in_all_objfiles): Renamed from | |
1881 | lookup_symbol_aux_symtabs. All callers updated. | |
1882 | (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick. | |
1883 | All callers updated. | |
1884 | (lookup_symbol_in_objfile_symtabs): Renamed from | |
1885 | lookup_symbol_aux_objfile. All callers updated. | |
1886 | ||
1887 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1888 | ||
1889 | * symtab.c (lookup_symbol_in_block): Renamed from | |
1890 | lookup_symbol_aux_block. All callers updated. | |
1891 | ||
1892 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1893 | ||
1894 | * symtab.c (lookup_static_symbol): Renamed from | |
1895 | lookup_static_symbol_aux. All callers updated. | |
1896 | (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. | |
1897 | All callers updated. | |
1898 | ||
1899 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1900 | ||
1901 | * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro. | |
1902 | * block.c (block_lookup_symbol): Use it. | |
1903 | * cp-support.c (make_symbol_overload_list_block): Use it. | |
1904 | * symtab.c (iterate_over_symbols): Use it. | |
1905 | ||
1906 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1907 | ||
1908 | * symtab.c (lookup_block_symbol): Moved to ... | |
1909 | * block.c (block_lookup_symbol): ... here and renamed. | |
1910 | All callers updated. | |
1911 | * block.h (block_lookup_symbol): Declare. | |
1912 | * symtab.h (lookup_block_symbol): Delete. | |
1913 | ||
1914 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1915 | ||
1916 | * ada-lang.c (ada_make_symbol_completion_list): Use | |
1917 | ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS. | |
1918 | * symtab.c (lookup_objfile_from_block): Ditto. | |
1919 | ||
1920 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1921 | ||
1922 | * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use | |
1923 | TYPE_CODE_STRUCT. | |
1924 | ||
1925 | 2014-11-06 Doug Evans <xdje42@gmail.com> | |
1926 | ||
1927 | * objfiles.c (get_objfile_arch): Constify. | |
1928 | * objfiles.h (get_objfile_arch): Update prototype. | |
1929 | * solib.c (solib_global_lookup): Fetch arch from objfile, | |
1930 | not target_gdbarch. | |
1931 | ||
1932 | 2014-11-06 Sandra Loosemore <sandra@codesourcery.com> | |
1933 | ||
1934 | * nios2-tdep.c (wild_insn): Delete. | |
1935 | (profiler_insn, irqentry_insn): Delete. | |
1936 | (nios2_match_sequence): Delete. | |
1937 | (nios2_analyze_prologue): Update comments. Remove matching | |
1938 | of obsolete profiler_insn and irqentry_insn sequences. | |
1939 | ||
1940 | 2014-11-05 Alan Modra <amodra@gmail.com> | |
1941 | ||
1942 | * charset.c (convert_between_encodings): Shrink obstack using | |
1943 | obstack_blank_fast. | |
1944 | * minsyms.c (install_minimal_symbols): Likewise. | |
1945 | * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free | |
1946 | to char* before doing pointer arithmetic. | |
1947 | ||
1948 | 2014-11-04 Simon Marchi <simon.marchi@ericsson.com> | |
1949 | ||
1950 | * tui/tui.c (tui_enable): Pass stdout and stdin to newterm. | |
1951 | ||
1952 | 2014-11-04 Pedro Alves <palves@redhat.com> | |
1953 | ||
1954 | * breakpoint.c (breakpoint_thread_match): Delete function. | |
1955 | * breakpoint.h (breakpoint_thread_match): Delete declaration. | |
1956 | ||
1957 | 2014-11-03 Siva Chandra Reddy <sivachandra@google.com> | |
1958 | ||
1959 | PR c++/17494 | |
1960 | * eval.c (evaluate_subexp_standard): Evaluate the "object" and | |
1961 | the method args also under EVAL_SKIP when evaluating method | |
1962 | calls under EVAL_SKIP. | |
1963 | ||
1964 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1965 | ||
1966 | * dwarf2loc.c (read_pieced_value): Do big endian | |
1967 | processing only if gdb_regnum is not -1. | |
1968 | (write_pieced_value): Ditto. | |
1969 | ||
1970 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1971 | ||
1972 | * arm-linux-tdep.c (arm_linux_init_abi): Use | |
1973 | info.byte_order_for_code to choose endianity of breakpoint | |
1974 | instructions snippets. | |
1975 | ||
1976 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1977 | ||
1978 | * arm-tdep.c (extract_arm_insn): Use | |
1979 | gdbarch_byte_order_for_code to read arm instruction. | |
1980 | ||
1981 | 2014-11-02 Doug Evans <xdje42@gmail.com> | |
1982 | ||
1983 | * mdebugread.c (parse_procedure): Delete unnecessary forward decl. | |
1984 | ||
1985 | 2014-11-02 Doug Evans <xdje42@gmail.com> | |
1986 | ||
1987 | * xcoffread.c (process_linenos): Delete unnecessary zeroing of | |
1988 | main_subfile before returning. | |
1989 | ||
1990 | 2014-10-31 Doug Evans <xdje42@gmail.com> | |
1991 | ||
1992 | * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused. | |
1993 | (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
1994 | ||
1995 | 2014-10-31 Doug Evans <xdje42@gmail.com> | |
1996 | ||
1997 | * valops.c (value_cast_pointers): Fix whitespace. | |
1998 | (typecmp, search_struct_method, value_struct_elt, find_oload_champ): | |
1999 | Ditto. | |
2000 | ||
2001 | 2014-10-30 Doug Evans <dje@google.com> | |
2002 | ||
2003 | * NEWS: Mention ability add attributes to gdb.Objfile and | |
2004 | gdb.Progspace objects. | |
2005 | * python/py-objfile.c (objfile_object): New member dict. | |
2006 | (objfpy_dealloc): Py_XDECREF dict. | |
2007 | (objfpy_initialize): Initialize dict. | |
2008 | (objfile_getset): Add __dict__. | |
2009 | (objfile_object_type): Set tp_dictoffset member. | |
2010 | * python/py-progspace.c (progspace_object): New member dict. | |
2011 | (pspy_dealloc): Py_XDECREF dict. | |
2012 | (pspy_initialize): Initialize dict. | |
2013 | (pspace_getset): Add __dict__. | |
2014 | (pspace_object_type): Set tp_dictoffset member. | |
2015 | ||
2016 | 2014-10-30 Yao Qi <yao@codesourcery.com> | |
2017 | ||
2018 | * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't | |
2019 | replace '\\' with '\\\\'. | |
2020 | ||
2021 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> | |
2022 | ||
2023 | GDB 7.8.1 released. | |
2024 | ||
2025 | 2014-10-29 Pedro Alves <palves@redhat.com> | |
2026 | ||
2027 | PR gdb/17408 | |
2028 | * infrun.c (switch_back_to_stepped_thread): Use currently_stepping | |
2029 | instead of assuming a thread with a stepping range is always | |
2030 | stepping. | |
2031 | ||
2032 | 2014-10-29 Pedro Alves <palves@redhat.com> | |
2033 | ||
2034 | PR python/17372 | |
2035 | * event-top.c (change_line_handler): Call | |
2036 | gdb_rl_callback_handler_remove instead of | |
2037 | rl_callback_handler_remove. | |
2038 | (callback_handler_installed): New global. | |
2039 | (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install) | |
2040 | (gdb_rl_callback_handler_reinstall): New functions. | |
2041 | (display_gdb_prompt): Call gdb_rl_callback_handler_remove and | |
2042 | gdb_rl_callback_handler_install instead of | |
2043 | rl_callback_handler_remove and rl_callback_handler_install. | |
2044 | (gdb_disable_readline): Call gdb_rl_callback_handler_remove | |
2045 | instead of rl_callback_handler_remove. | |
2046 | * event-top.h (gdb_rl_callback_handler_remove) | |
2047 | (gdb_rl_callback_handler_install) | |
2048 | (gdb_rl_callback_handler_reinstall): New declarations. | |
2049 | * infrun.c (reinstall_readline_callback_handler_cleanup): New | |
2050 | cleanup function. | |
2051 | (fetch_inferior_event): Install it. | |
2052 | * top.c (gdb_readline_wrapper_line) Call | |
2053 | gdb_rl_callback_handler_remove instead of | |
2054 | rl_callback_handler_remove. | |
2055 | (gdb_readline_wrapper_cleanup): Don't call | |
2056 | rl_callback_handler_install. | |
2057 | ||
2058 | 2014-10-29 Pedro Alves <palves@redhat.com> | |
2059 | ||
2060 | * event-top.c (command_line_handler): Clear the first byte of | |
2061 | linebuffer, when it is first allocated. | |
2062 | ||
2063 | 2014-10-29 Pedro Alves <palves@redhat.com> | |
2064 | ||
2065 | * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in | |
2066 | TRY_CATCH. | |
2067 | ||
2068 | 2014-10-29 Pedro Alves <palves@redhat.com> | |
2069 | ||
2070 | PR tui/16138 | |
2071 | PR tui/17519 | |
2072 | * tui/tui-interp.c (tui_is_toplevel): Delete global. | |
2073 | (tui_allowed_p): Delete function. | |
2074 | * tui/tui.c: Include "interps.h". | |
2075 | (tui_enable): Don't use tui_allowed_p. Error out here with | |
2076 | detailed error messages if the TUI is the top level interpreter, | |
2077 | or if output is not a terminal. Use newterm instead of initscr, | |
2078 | and error out if initializing the terminal fails. Also error out if | |
2079 | the terminal doesn't support cursor addressing. | |
2080 | * tui/tui.h (tui_allowed_p): Delete declaration. | |
2081 | ||
2082 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> | |
2083 | ||
2084 | * arm-tdep.c (arm_skip_stack_protector): Return early if | |
2085 | address loaded by first "ldr" instruction does not have | |
2086 | a corresponding minimal symbol. Update comment. | |
2087 | ||
2088 | 2014-10-29 Yao Qi <yao@codesourcery.com> | |
2089 | ||
2090 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the | |
2091 | loaded address correctly of ldr instruction. | |
2092 | ||
2093 | 2014-10-28 Pedro Alves <palves@redhat.com> | |
2094 | ||
2095 | PR gdb/12623 | |
2096 | * gdbthread.h (struct thread_info) <stepped_breakpoint>: New | |
2097 | field. | |
2098 | * infrun.c (resume) <stepping breakpoint instruction>: Set the | |
2099 | thread's stepped_breakpoint field. Skip if reverse debugging. | |
2100 | Add comment. | |
2101 | (init_thread_stepping_state, handle_signal_stop): Clear the | |
2102 | thread's stepped_breakpoint field. | |
2103 | ||
2104 | 2014-10-27 Pedro Alves <palves@redhat.com> | |
2105 | ||
2106 | * remote.c (remote_thread_alive): New, factored out from ... | |
2107 | (remote_thread_alive): ... this. | |
2108 | (remote_update_thread_list): Bail out before deleting threads if | |
2109 | the target returned an empty list, and, the current thread has a | |
2110 | magic/fake ptid. | |
2111 | ||
2112 | 2014-10-27 Pedro Alves <palves@redhat.com> | |
2113 | ||
2114 | * infrun.c (handle_signal_stop): Also skip handlers when a random | |
2115 | signal arrives while handling a "stepi" or a "nexti". Set the | |
2116 | thread's 'step_after_step_resume_breakpoint' flag. | |
2117 | ||
2118 | 2014-10-27 Luis Machado <lgustavo@codesourcery.com> | |
2119 | ||
2120 | * arm-tdep.c (INSN_S_L_BIT_NUM): Document. | |
2121 | (arm_record_ld_st_imm_offset): Reimplement to cover all | |
2122 | load/store cases for ARM opcode 010. | |
2123 | (arm_record_ld_st_multiple): Reimplement to cover all | |
2124 | load/store cases for ARM opcode 100. | |
2125 | ||
2126 | 2014-10-26 Doug Evans <xdje42@gmail.com> | |
2127 | ||
2128 | * symtab.c (lookup_symbol_aux_local): Fix typo in comment. | |
2129 | ||
2130 | 2014-10-26 Doug Evans <xdje42@gmail.com> | |
2131 | ||
2132 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename | |
2133 | parameter "kind" to "block_index". | |
2134 | * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to | |
2135 | "block_index". | |
2136 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto. | |
2137 | ||
2138 | 2014-10-26 Doug Evans <xdje42@gmail.com> | |
2139 | ||
2140 | * block.h (ALL_BLOCK_SYMBOLS): Fix comment. | |
2141 | ||
2142 | 2014-10-26 Doug Evans <xdje42@gmail.com> | |
2143 | ||
2144 | * block.c (allocate_block): Use OBSTACK_ZALLOC instead of | |
2145 | obstack_alloc. | |
2146 | ||
2147 | 2014-10-26 Doug Evans <xdje42@gmail.com> | |
2148 | ||
2149 | * parser-defs.h (block_found): Move decl from here ... | |
2150 | * symtab.h (block_found): ... to here. | |
2151 | ||
2152 | 2014-10-26 Doug Evans <xdje42@gmail.com> | |
2153 | ||
2154 | * symtab.h (struct field_of_this_result): Fix typo in comment. | |
2155 | (lookup_symbol_in_language): Move function comment here. | |
2156 | (lookup_symbol): Improve function comment. | |
2157 | (basic_lookup_symbol_nonlocal): Ditto. | |
2158 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
2159 | (lookup_symbol_aux_block): Ditto. | |
2160 | (lookup_language_this): Add function comment. | |
2161 | (lookup_static_symbol_aux): Explicitly mark as extern. Improve | |
2162 | function comment. | |
2163 | (lookup_block_symbol): Improve function comment. | |
2164 | (lookup_struct): Fix capitalization in function comment. | |
2165 | (lookup_transparent_type): Add function comment. | |
2166 | (lookup_global_symbol_from_objfile): Explicitly mark as extern. | |
2167 | Improve function comment. | |
2168 | (lookup_objfile_from_block): Add function comment. | |
2169 | * symtab.c (lookup_symbol_in_language): Update function comment. | |
2170 | (lookup_symbol, lookup_language_this): Ditto. | |
2171 | (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto. | |
2172 | (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto. | |
2173 | (basic_lookup_symbol_nonlocal): Ditto. | |
2174 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
2175 | (lookup_transparent_type, lookup_block_symbol): Ditto. | |
2176 | ||
2177 | 2014-10-25 Doug Evans <xdje42@gmail.com> | |
2178 | ||
2179 | * symtab.c (types_info): Delete forward decl. | |
2180 | (functions_info, variables_info, sources_info): Ditto. | |
2181 | (_initialize_symtab): Rewrite forward decl to use | |
2182 | initialize_file_ftype. | |
2183 | ||
2184 | 2014-10-25 Doug Evans <xdje42@gmail.com> | |
2185 | ||
2186 | * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. | |
2187 | ||
2188 | 2014-10-25 Doug Evans <xdje42@gmail.com> | |
2189 | ||
2190 | * dwarf2read.c (process_structure_scope): Remove second (nested) copy | |
2191 | of local var child_die. | |
2192 | ||
2193 | 2014-10-24 Don Breazeal <donb@codesourcery.com> | |
2194 | ||
2195 | * infrun.c (follow_fork_inferior): Update fork message printing | |
2196 | to use target_terminal_ours_for_output instead of | |
2197 | target_terminal_ours, to use _() for all format strings, to print | |
2198 | "vfork" instead of "fork" for vforks, and to add a detach message. | |
2199 | (handle_vfork_child_exec_or_exit): Update message printing to use | |
2200 | target_terminal_ours_for_output instead of target_terminal_ours, to | |
2201 | use _() for all format strings, and to fix some formatting. | |
2202 | ||
2203 | 2014-10-24 Pedro Alves <palves@redhat.com> | |
2204 | ||
2205 | * Makefile.in (ALLDEPFILES): Remove vax-nat.c. | |
2206 | * NEWS (Removed targets): Add VAX BSD and VAX Ultrix. | |
2207 | * config/vax/vax.mh: Delete. | |
2208 | * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the | |
2209 | obsolete configurations section. | |
2210 | * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix. | |
2211 | * vax-nat.c: Delete file. | |
2212 | ||
2213 | 2014-10-24 Pedro Alves <palves@redhat.com> | |
2214 | ||
2215 | * NEWS (Removed targets): Add OS/arch column. | |
2216 | ||
2217 | 2014-10-24 Siva Chandra Reddy <sivachandra@google.com> | |
2218 | ||
2219 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE | |
2220 | on the arg type of a constructor only if it is of reference type. | |
2221 | ||
2222 | 2014-10-23 Sandra Loosemore <sandra@codesourcery.com> | |
2223 | ||
2224 | * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field | |
2225 | accessors and constants from nios2 opcodes update. | |
2226 | (nios2_get_next_pc): Likewise. | |
2227 | ||
2228 | 2014-10-19 Doug Evans <xdje42@gmail.com> | |
2229 | ||
2230 | * gdbthread.h (set_running): Fix comment. | |
2231 | (set_executing, finish_thread_state): Fix comment. | |
2232 | ||
2233 | 2014-10-18 Doug Evans <xdje42@gmail.com> | |
2234 | ||
2235 | * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static. | |
2236 | ||
2237 | 2014-10-17 Doug Evans <dje@google.com> | |
2238 | ||
2239 | * NEWS: Mention new event gdb.clear_objfiles. | |
2240 | * python/py-event.h (emit_clear_objfiles_event): Clear | |
2241 | * python/py-events.h (events_object): New member clear_objfiles. | |
2242 | * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles | |
2243 | event. | |
2244 | * python/py-inferior.c (python_new_objfile): If objfile is NULL, | |
2245 | emit clear_objfiles event. | |
2246 | * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New | |
2247 | function. | |
2248 | (emit_clear_objfiles_event): New function. | |
2249 | (clear_objfiles): New event. | |
2250 | * python/python-internal.h (gdbpy_initialize_clear_objfiles_event): | |
2251 | Declare. | |
2252 | * python/python.c (_initialize_python): Call | |
2253 | gdbpy_initialize_clear_objfiles_event. | |
2254 | ||
2255 | 2014-10-17 Doug Evans <dje@google.com> | |
2256 | ||
2257 | * NEWS: Mention new gdb.Objfile.progspace attribute. | |
2258 | * python/py-objfile.c (objfpy_get_progspace): New function. | |
2259 | (objfile_getset): New entry for "progspace". | |
2260 | ||
2261 | 2014-10-17 Pedro Alves <palves@redhat.com> | |
2262 | ||
2263 | PR gdb/17471 | |
2264 | * infcmd.c (strip_bg_char): Change prototype and rewrite. Now | |
2265 | returns a copy of the input. | |
2266 | (run_command_1, continue_command, step_1, jump_command) | |
2267 | (signal_command, until_command, advance_command, finish_command) | |
2268 | (attach_command): Adjust and install a cleanup to free the | |
2269 | stripped args. | |
2270 | ||
2271 | 2014-10-17 Pedro Alves <palves@redhat.com> | |
2272 | ||
2273 | PR gdb/17300 | |
2274 | * infcmd.c (continue_1): If continuing all threads in the | |
2275 | foreground, make sure the inferior's terminal settings are put in | |
2276 | effect. | |
2277 | ||
2278 | 2014-10-17 Pedro Alves <palves@redhat.com> | |
2279 | ||
2280 | PR gdb/17472 | |
2281 | * annotate.c (annotate_breakpoints_invalid): Use | |
2282 | target_terminal_our_for_output instead of target_terminal_ours. | |
2283 | Give back the terminal to the target. | |
2284 | (annotate_frames_invalid): Likewise. | |
2285 | ||
2286 | 2014-10-17 Pedro Alves <palves@redhat.com> | |
2287 | ||
2288 | * target.c (enum terminal_state): New enum. | |
2289 | (terminal_state): New global. | |
2290 | (target_terminal_init): New function. | |
2291 | (target_terminal_inferior): Skip if inferior already owns the | |
2292 | terminal. | |
2293 | (target_terminal_ours, target_terminal_ours_for_output): New | |
2294 | functions. | |
2295 | * target.h (target_terminal_init): Convert to function prototype. | |
2296 | (target_terminal_ours_for_output): Convert to function prototype | |
2297 | and tweak comment. | |
2298 | (target_terminal_ours): Convert to function prototype and tweak | |
2299 | comment. | |
2300 | * windows-nat.c (do_initial_windows_stuff): Call | |
2301 | target_terminal_init instead of child_terminal_init_with_pgrp. | |
2302 | ||
2303 | 2014-10-17 Pedro Alves <palves@redhat.com> | |
2304 | ||
2305 | * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o. | |
2306 | (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h. | |
2307 | (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and | |
2308 | solib-osf.c. | |
2309 | * NEWS: Mention that support for alpha*-*-osf* has been removed. | |
2310 | * ada-lang.h [__alpha__ && __osf__] | |
2311 | (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete. | |
2312 | * alpha-nat.c, alpha-osf1-tdep.c: Delete files. | |
2313 | * alpha-tdep.c (alpha_gdbarch_init): Remove reference to | |
2314 | GDB_OSABI_OSF1. | |
2315 | * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete | |
2316 | files. | |
2317 | * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh) | |
2318 | (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete. | |
2319 | * configure: Regenerate. | |
2320 | * configure.ac: Remove references to osf. | |
2321 | * configure.host: Handle alpha*-*-osf* in the obsolete hosts | |
2322 | section. Remove all other references to osf. | |
2323 | * configure.tgt: Add alpha*-*-osf* to the obsolete targets section. | |
2324 | Remove all other references to osf. | |
2325 | * dec-thread.c: Delete file. | |
2326 | * defs.h (GDB_OSABI_OSF1): Delete. | |
2327 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally | |
2328 | defined. | |
2329 | * osabi.c (gdb_osabi_names): Delete "OSF/1". | |
2330 | * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]: | |
2331 | Delete code. | |
2332 | (unconditionally_kill_inferior) | |
2333 | [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code. | |
2334 | * solib-osf.c: Delete file. | |
2335 | ||
2336 | 2014-10-17 Pedro Alves <palves@redhat.com> | |
2337 | ||
2338 | * remote.c (clear_threads_listing_context): Move higher up, out of | |
2339 | the HAVE_LIBEXPAT guard. | |
2340 | ||
2341 | 2014-10-16 Tristan Gingold <gingold@adacore.com> | |
2342 | ||
2343 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers) | |
2344 | (i386_darwin_store_inferior_registers): Sanitize gs and fs values | |
2345 | on amd64. | |
2346 | ||
2347 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2348 | ||
2349 | * dec-thread.c (dec_thread_count_gdb_threads) | |
2350 | (dec_thread_add_gdb_thread): Delete. | |
2351 | (dec_thread_update_thread_list): Delete. | |
2352 | (dec_thread_find_new_threads): Rename to ... | |
2353 | (dec_thread_update_thread_list): ... this. Delete GDB-size | |
2354 | threads that are no longer found in dec_thread_list. | |
2355 | (resync_thread_list): Delete. | |
2356 | (dec_thread_wait): Call dec_thread_update_thread_list instead of | |
2357 | resync_thread_list. | |
2358 | ||
2359 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2360 | ||
2361 | * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro. | |
2362 | * remote.c (remote_update_thread_list): Skip calling prune_threads | |
2363 | if any thread listing method is supported, and instead walk over | |
2364 | the set of remote threads listed, deleting those that are not | |
2365 | found in GDB's thread list. | |
2366 | ||
2367 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2368 | ||
2369 | * ada-tasks.c (print_ada_task_info, task_command_1): Adjust. | |
2370 | * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ... | |
2371 | (bsd_uthread_update_thread_list): ... this. Call prune_threads. | |
2372 | (bsd_uthread_target): Adjust. | |
2373 | * corelow.c (core_open): Adjust. | |
2374 | * dec-thread.c (dec_thread_find_new_threads): Update comment. | |
2375 | (dec_thread_update_thread_list): New function. | |
2376 | (init_dec_thread_ops): Adjust. | |
2377 | * gdbthread.h (prune_threads): New declaration. | |
2378 | * linux-thread-db.c (thread_db_find_new_threads): Rename to ... | |
2379 | (thread_db_update_thread_list): ... this. Call prune_threads. | |
2380 | (init_thread_db_ops): Adjust. | |
2381 | * nto-procfs.c (procfs_find_new_threads): Rename to ... | |
2382 | (procfs_update_thread_list): ... this. Call prune_threads. | |
2383 | (procfs_attach, procfs_create_inferior, init_procfs_targets): | |
2384 | Adjust. | |
2385 | * obsd-nat.c (obsd_find_new_threads): Rename to ... | |
2386 | (obsd_update_thread_list): ... this. Call prune_threads. | |
2387 | (obsd_add_target): Adjust. | |
2388 | * procfs.c (procfs_target): Adjust. | |
2389 | (procfs_notice_thread): Update comment. | |
2390 | (procfs_find_new_threads): Rename to ... | |
2391 | (procfs_update_thread_list): ... this. Call prune_threads. | |
2392 | * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update | |
2393 | comment. | |
2394 | (ravenscar_wait): Adjust. | |
2395 | (ravenscar_find_new_threads): Rename to ... | |
2396 | (ravenscar_update_thread_list): ... this. Call prune_threads. | |
2397 | (init_ravenscar_thread_ops): Adjust. | |
2398 | * record-btrace.c (record_btrace_find_new_threads): Rename to ... | |
2399 | (record_btrace_update_thread_list): ... this. Adjust comment. | |
2400 | (init_record_btrace_ops): Adjust. | |
2401 | * remote.c (remote_threads_info): Rename to ... | |
2402 | (remote_update_thread_list): ... this. Call prune_threads. | |
2403 | (remote_start_remote, extended_remote_attach_1, init_remote_ops): | |
2404 | Adjust. | |
2405 | * sol-thread.c (check_for_thread_db): Adjust. | |
2406 | (sol_find_new_threads_callback): Rename to ... | |
2407 | (sol_update_thread_list_callback): ... this. | |
2408 | (sol_find_new_threads): Rename to ... | |
2409 | (sol_update_thread_list): ... this. Call prune_threads. Adjust. | |
2410 | (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust. | |
2411 | * target-delegates.c: Regenerate. | |
2412 | * target.c (target_find_new_threads): Rename to ... | |
2413 | (target_update_thread_list): ... this. | |
2414 | * target.h (struct target_ops): Rename to_find_new_threads field | |
2415 | to to_update_thread_list. | |
2416 | (target_find_new_threads): Rename to ... | |
2417 | (target_update_thread_list): ... this. | |
2418 | * thread.c (prune_threads): Make extern. | |
2419 | (update_thread_list): Adjust. | |
2420 | ||
2421 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2422 | ||
2423 | * remote.c (remote_get_threadlist, remote_threadlist_iterator): | |
2424 | Add describing comment. Return -1 if the qL packet is not | |
2425 | supported. | |
2426 | (struct thread_item, thread_item_t): Move higher up in | |
2427 | the file. Add comments. | |
2428 | (struct threads_parsing_context): Move higher up in | |
2429 | the file, add comments, and remote to ... | |
2430 | (struct threads_listing_context): ... this. | |
2431 | (remote_newthread_step): Don't add the thread to GDB's thread | |
2432 | database here. Instead push it to the thread_listing_context | |
2433 | list. | |
2434 | (remote_find_new_threads): Rename to ... | |
2435 | (remote_get_threads_with_ql): ... this. Add target_ops and | |
2436 | targets_listing_context parameters. Pass down context. | |
2437 | (start_thread): Adjust. | |
2438 | (clear_threads_parsing_context): Rename to ... | |
2439 | (clear_threads_listing_context): ... this. | |
2440 | (remote_get_threads_with_qxfer): New, with parts salvaged from old | |
2441 | remote_threads_info. | |
2442 | (remote_get_threads_with_qthreadinfo): Ditto. | |
2443 | (remote_threads_info): Reimplement. | |
2444 | ||
2445 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2446 | ||
2447 | * infrun.c (resume): Don't force displaced-stepping for all | |
2448 | single-steps on software single-stepping archs. | |
2449 | ||
2450 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2451 | ||
2452 | * breakpoint.c (single_step_breakpoints): Delete global. | |
2453 | (insert_single_step_breakpoint): Adjust to store the breakpoint | |
2454 | pointer in the current thread. | |
2455 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
2456 | (cancel_single_step_breakpoints): Delete functions. | |
2457 | (breakpoint_has_location_inserted_here): Make extern. | |
2458 | (single_step_breakpoint_inserted_here_p): Adjust to walk the | |
2459 | breakpoint list. | |
2460 | * breakpoint.h (breakpoint_has_location_inserted_here): New | |
2461 | declaration. | |
2462 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
2463 | (cancel_single_step_breakpoints): Remove declarations. | |
2464 | * gdbthread.h (struct thread_control_state) | |
2465 | <single_step_breakpoints>: New field. | |
2466 | (delete_single_step_breakpoints) | |
2467 | (thread_has_single_step_breakpoints_set) | |
2468 | (thread_has_single_step_breakpoint_here): New declarations. | |
2469 | * infrun.c (follow_exec): Also clear the single-step breakpoints. | |
2470 | (singlestep_breakpoints_inserted_p, singlestep_ptid) | |
2471 | (singlestep_pc): Delete globals. | |
2472 | (infrun_thread_ptid_changed): Remove references to removed | |
2473 | globals. | |
2474 | (resume_cleanups): Delete the current thread's single-step | |
2475 | breakpoints. | |
2476 | (maybe_software_singlestep): Remove references to removed globals. | |
2477 | (resume): Adjust to use thread_has_single_step_breakpoints_set and | |
2478 | delete_single_step_breakpoints. | |
2479 | (init_wait_for_inferior): Remove references to removed globals. | |
2480 | (delete_thread_infrun_breakpoints): Delete the thread's | |
2481 | single-step breakpoints too. | |
2482 | (delete_just_stopped_threads_infrun_breakpoints): Don't delete | |
2483 | single-step breakpoints here. | |
2484 | (delete_stopped_threads_single_step_breakpoints): New function. | |
2485 | (adjust_pc_after_break): Adjust to use | |
2486 | thread_has_single_step_breakpoints_set. | |
2487 | (handle_inferior_event): Remove references to removed globals. | |
2488 | Use delete_stopped_threads_single_step_breakpoints. | |
2489 | (handle_signal_stop): Adjust to per-thread single-step | |
2490 | breakpoints. Swap test order to do cheaper tests first. | |
2491 | (switch_back_to_stepped_thread): Extend debug output. Remove | |
2492 | references to removed globals. | |
2493 | * record-full.c (record_full_wait_1): Adjust to per-thread | |
2494 | single-step breakpoints. | |
2495 | * thread.c (delete_single_step_breakpoints) | |
2496 | (thread_has_single_step_breakpoints_set) | |
2497 | (thread_has_single_step_breakpoint_here): New functions. | |
2498 | (clear_thread_inferior_resources): Also delete the thread's | |
2499 | single-step breakpoints. | |
2500 | ||
2501 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2502 | ||
2503 | * thread.c (delete_thread_breakpoint): New function. | |
2504 | (delete_step_resume_breakpoint) | |
2505 | (delete_exception_resume_breakpoint): Use it. | |
2506 | (delete_at_next_stop): New function. | |
2507 | (clear_thread_inferior_resources): Use delete_at_next_stop. | |
2508 | ||
2509 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2510 | ||
2511 | * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ... | |
2512 | (breakpoint_inserted_here_p): ... here. Remove special case for | |
2513 | software single-step breakpoints. | |
2514 | (find_non_raw_software_breakpoint_inserted_here): Inline ... | |
2515 | (software_breakpoint_inserted_here_p): ... here. Remove special | |
2516 | case for software single-step breakpoints. | |
2517 | (bp_target_info_copy_insertion_state) | |
2518 | (deprecated_insert_raw_breakpoint) | |
2519 | (deprecated_remove_raw_breakpoint): Delete functions. | |
2520 | * breakpoint.h (deprecated_insert_raw_breakpoint) | |
2521 | (deprecated_remove_raw_breakpoint): Remove declarations. | |
2522 | ||
2523 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2524 | ||
2525 | PR breakpoints/9649 | |
2526 | * breakpoint.c (single_step_breakpoints, single_step_gdbarch): | |
2527 | Delete array globals. | |
2528 | (single_step_breakpoints): New global. | |
2529 | (breakpoint_xfer_memory): Remove special handling for single-step | |
2530 | breakpoints. | |
2531 | (update_breakpoints_after_exec): Delete bp_single_step | |
2532 | breakpoints. | |
2533 | (detach_breakpoints): Remove special handling for single-step | |
2534 | breakpoints. | |
2535 | (breakpoint_init_inferior): Delete bp_single_step breakpoints. | |
2536 | (bpstat_stop_status): Add comment. | |
2537 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
2538 | (adjust_breakpoint_address, init_bp_location): Handle | |
2539 | bp_single_step. | |
2540 | (new_single_step_breakpoint): New function. | |
2541 | (set_momentary_breakpoint, bkpt_remove_location): Remove special | |
2542 | handling for single-step breakpoints. | |
2543 | (insert_single_step_breakpoint, single_step_breakpoints_inserted) | |
2544 | (remove_single_step_breakpoints, cancel_single_step_breakpoints): | |
2545 | Rewrite. | |
2546 | (detach_single_step_breakpoints, find_single_step_breakpoint): | |
2547 | Delete functions. | |
2548 | (breakpoint_has_location_inserted_here): New function. | |
2549 | (single_step_breakpoint_inserted_here_p): Rewrite. | |
2550 | * breakpoint.h: Remove FIXME. | |
2551 | (enum bptype) <bp_single_step>: New enum value. | |
2552 | (insert_single_step_breakpoint): Update comment. | |
2553 | * infrun.c (resume_cleanups) | |
2554 | (delete_step_thread_step_resume_breakpoint): Remove single-step | |
2555 | breakpoints. | |
2556 | (fetch_inferior_event): Install a cleanup that removes infrun | |
2557 | breakpoints. | |
2558 | (switch_back_to_stepped_thread) <expect thread advanced also>: | |
2559 | Clear step-over info. | |
2560 | ||
2561 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2562 | ||
2563 | * infrun.c (delete_step_resume_breakpoint_callback): Delete. | |
2564 | (delete_thread_infrun_breakpoints): New function, with parts | |
2565 | salvaged from delete_step_resume_breakpoint_callback. | |
2566 | (delete_step_thread_step_resume_breakpoint): Delete. | |
2567 | (for_each_just_stopped_thread_callback_func): New typedef. | |
2568 | (for_each_just_stopped_thread): New function. | |
2569 | (delete_just_stopped_threads_infrun_breakpoints): New function. | |
2570 | (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ... | |
2571 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): | |
2572 | ... this. Adjust. | |
2573 | (wait_for_inferior, fetch_inferior_event): Adjust to renames. | |
2574 | ||
2575 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2576 | ||
2577 | * breakpoint.c (should_be_inserted): Don't insert watchpoints if | |
2578 | trying to step past a non-steppable watchpoint. | |
2579 | * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New | |
2580 | field. | |
2581 | * infrun.c (struct step_over_info): Add new field | |
2582 | 'nonsteppable_watchpoint_p' and adjust comments. | |
2583 | (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter. | |
2584 | Adjust. | |
2585 | (clear_step_over_info): Clear nonsteppable_watchpoint_p as well. | |
2586 | (stepping_past_nonsteppable_watchpoint): New function. | |
2587 | (step_over_info_valid_p): Also return true if stepping past a | |
2588 | nonsteppable watchpoint. | |
2589 | (proceed): Adjust call to set_step_over_info. Remove reference to | |
2590 | init_infwait_state. | |
2591 | (init_wait_for_inferior): Remove reference to init_infwait_state. | |
2592 | (waiton_ptid): Delete global. | |
2593 | (struct execution_control_state) | |
2594 | <stepped_after_stopped_by_watchpoint>: Delete field. | |
2595 | (wait_for_inferior, fetch_inferior_event): Always pass | |
2596 | minus_one_ptid to target_wait. | |
2597 | (init_thread_stepping_state): Clear 'stepping_over_watchpoint' | |
2598 | field. | |
2599 | (init_infwait_state): Delete function. | |
2600 | (handle_inferior_event): Remove infwait_state handling. | |
2601 | (handle_signal_stop) <watchpoints handling>: Adjust after | |
2602 | stepped_after_stopped_by_watchpoint removal. Don't remove | |
2603 | breakpoints here nor set infwait_state. Set the thread's | |
2604 | stepping_over_watchpoint flag, and call keep_going instead. | |
2605 | (keep_going): Handle stepping_over_watchpoint. Adjust | |
2606 | set_step_over_info calls. | |
2607 | * infrun.h (stepping_past_nonsteppable_watchpoint): Declare | |
2608 | function. | |
2609 | ||
2610 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2611 | ||
2612 | * infrun.c (step_over_info_valid_p): New function. | |
2613 | (resume): Use step_over_info_valid_p instead of checking the | |
2614 | threads's trap_expected flag. | |
2615 | ||
2616 | 2014-10-15 Doug Evans <dje@google.com> | |
2617 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
2618 | ||
2619 | PR python/17364 | |
2620 | * python/lib/gdb/__init__.py (packages): Add "printer". | |
2621 | * python/lib/gdb/command/bound_registers.py: Moved to ... | |
2622 | * python/lib/gdb/printer/bound_registers.py: ... here. | |
2623 | Add printer to global set of builtin printers. Rename printer from | |
2624 | "bound" to "mpx_bound128". | |
2625 | * python/lib/gdb/printing.py (_builtin_pretty_printers): New global, | |
2626 | registered as global "builtin" printer. | |
2627 | (add_builtin_pretty_printer): New function. | |
2628 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add | |
2629 | gdb/printer/__init__.py. | |
2630 | ||
2631 | 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org> | |
2632 | ||
2633 | * Makefile.in (SFILES): Remove d-support.c. | |
2634 | (COMMON_OBS): Remove d-support.o. | |
2635 | * d-lang.h (d_parse_symbol): Remove declaration. | |
2636 | * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols. | |
2637 | * d-support.c: Remove file. | |
2638 | ||
2639 | 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
2640 | ||
701adfb0 | 2641 | * infrun.c (process_event_stop_test): Apply |
077309e2 JB |
2642 | gdbarch_addr_bits_remove to longjmp resume address. |
2643 | ||
2644 | 2014-10-15 Pedro Alves <palves@redhat.com> | |
2645 | ||
2646 | * regformats/microblaze.dat: Delete file. | |
2647 | ||
2648 | 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com> | |
2649 | ||
2650 | * features/Makefile (microblaze-expedite): Replace pc with rpc. | |
2651 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2652 | ||
2653 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> | |
2654 | ||
2655 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes | |
2656 | as non-trivial. | |
2657 | ||
2658 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> | |
2659 | ||
2660 | PR c++/13403 | |
2661 | PR c++/15154 | |
2662 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors | |
2663 | with qualified args. | |
2664 | ||
2665 | 2014-10-14 Joel Brobecker <brobecker@adacore.com> | |
2666 | ||
2667 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling | |
2668 | of the case where the second operand is a pointer. | |
2669 | <BINOP_SUB>: Likewise. | |
2670 | ||
2671 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> | |
2672 | ||
2673 | * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore | |
2674 | only if it is not NULL. | |
2675 | (bkpt_probe_remove_location): Likewise, for clear_semaphore. | |
2676 | * probe.h (struct probe_ops) <set_semaphore>: Update comment. | |
2677 | (struct probe_ops) <clear_semaphore>: Likewise. | |
2678 | * tracepoint.c (start_tracing): Call set_semaphore only if it is | |
2679 | not NULL. | |
2680 | (stop_tracing): Likewise, for clear_semaphore. | |
2681 | ||
2682 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> | |
2683 | ||
2684 | * stap-probe.c (stap_parse_argument): Initialize expout explicitly | |
2685 | using language_c, instead of current_language. | |
2686 | ||
2687 | 2014-10-13 Doug Evans <dje@google.com> | |
2688 | ||
2689 | * python/py-objfile.c (objfpy_initialize): New function. | |
2690 | (objfpy_new, objfile_to_objfile_object): Call it. | |
2691 | * python/py-progspace.c (pspy_initialize): New function. | |
2692 | (pspy_new, pspace_to_pspace_object): Call it. | |
2693 | ||
2694 | 2014-10-13 Miroslav Franc <mfranc@redhat.com> | |
2695 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2696 | ||
2697 | Fix "save breakpoints" for "catch" command. | |
2698 | * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing | |
2699 | newline. | |
2700 | ||
2701 | 2014-10-12 Miroslav Franc <mfranc@redhat.com> | |
2702 | ||
2703 | Fix "save breakpoints" for "disable $bpnum" command. | |
2704 | * breakpoint.c (save_breakpoints): Add $bpnum for disable. | |
2705 | ||
2706 | 2014-10-10 Pedro Alves <palves@redhat.com> | |
2707 | ||
2708 | * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. | |
2709 | (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. | |
2710 | (HFILES_NO_SRCDIR): Remove solib-irix.h. | |
2711 | * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* | |
2712 | and been removed. | |
2713 | * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. | |
2714 | * configure.ac: Remove references to IRIX. | |
2715 | * configure.host: Add *-*-irix* to the obsolete hosts section. | |
2716 | Remove all other references to irix. | |
2717 | * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: | |
2718 | Delete files. | |
2719 | ||
2720 | 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com> | |
2721 | ||
2722 | * microblaze-tdep.c (microblaze_gdbarch_init): If the description | |
2723 | isn't valid, release the tdesc arch data and return NULL. | |
2724 | ||
2725 | 2014-10-10 Pedro Alves <palves@redhat.com> | |
2726 | ||
2727 | * linux-tdep.c: Include observer.h. | |
2728 | (linux_inferior_data): New global. | |
2729 | (struct linux_info): New structure. | |
2730 | (invalidate_linux_cache_inf, linux_inferior_data_cleanup) | |
2731 | (get_linux_inferior_data): New functions. | |
2732 | (linux_vsyscall_range): Rename to ... | |
2733 | (linux_vsyscall_range_raw): ... this. | |
2734 | (linux_vsyscall_range): New function; handles caching. | |
2735 | (_initialize_linux_tdep): Register linux_inferior_data. Install | |
2736 | inferior_exit and inferior_appeared observers. | |
2737 | ||
2738 | 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> | |
2739 | Pedro Alves <palves@redhat.com> | |
2740 | ||
2741 | PR symtab/14466 | |
2742 | * solib-svr4.c (svr4_read_so_list): Rename to ... | |
2743 | (svr4_current_sos_1): ... this and change the function comment. | |
2744 | (svr4_current_sos): New function. | |
2745 | ||
2746 | 2014-10-10 Pedro Alves <palves@redhat.com> | |
2747 | ||
2748 | * arch-utils.c (default_vsyscall_range): New function. | |
2749 | * arch-utils.h (default_vsyscall_range): New declaration. | |
2750 | * gdbarch.sh (vsyscall_range): New hook. | |
2751 | * gdbarch.h, gdbarch.c: Regenerate. | |
2752 | * linux-tdep.c (linux_vsyscall_range): New function. | |
2753 | (linux_init_abi): Install linux_vsyscall_range as | |
2754 | vsyscall_range gdbarch hook. | |
2755 | * memrange.c (address_in_mem_range): New function. | |
2756 | * memrange.h (address_in_mem_range): New declaration. | |
2757 | * symfile-mem.c (find_vdso_size): Delete function. | |
2758 | (add_vsyscall_page): Use gdbarch_vsyscall_range. | |
2759 | ||
2760 | 2014-10-10 Pedro Alves <palves@redhat.com> | |
2761 | ||
2762 | * infrun.c (normal_stop): Fix typo in comment. | |
2763 | ||
2764 | 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com> | |
2765 | ||
2766 | PR tdep/9390 | |
2767 | * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible | |
2768 | typo when using logical AND to determine instruction type. | |
2769 | ||
2770 | 2014-10-09 Yao Qi <yao@codesourcery.com> | |
2771 | ||
2772 | * infrun.c (handle_signal_stop): Remove local variable | |
2773 | 'printed'. | |
2774 | ||
2775 | 2014-10-08 Stan Shebs <stan@codesourcery.com> | |
2776 | ||
2777 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. | |
2778 | ||
2779 | 2014-10-08 Gary Benson <gbenson@redhat.com> | |
2780 | ||
2781 | * fbsd-tdep.c: Do not include string.h or gdb_assert.h. | |
2782 | ||
2783 | 2014-10-08 Gary Benson <gbenson@redhat.com> | |
2784 | ||
2785 | * common/common-defs.h: Include common-exceptions.h. | |
2786 | * exceptions.h: Do not include common-exceptions.h. | |
2787 | ||
2788 | 2014-10-08 Gary Benson <gbenson@redhat.com> | |
2789 | ||
2790 | * common/common-defs.h: Include cleanups.h. | |
2791 | * common/common-exceptions.c: Do not include cleanups.h. | |
2792 | * utils.h: Likewise. | |
2793 | ||
2794 | 2014-10-08 Gary Benson <gbenson@redhat.com> | |
2795 | ||
2796 | * ada-lang.c: Do not include exceptions.h. | |
2797 | * ada-valprint.c: Likewise. | |
2798 | * amd64-tdep.c: Likewise. | |
2799 | * auto-load.c: Likewise. | |
2800 | * block.c: Likewise. | |
2801 | * break-catch-throw.c: Likewise. | |
2802 | * breakpoint.c: Likewise. | |
2803 | * btrace.c: Likewise. | |
2804 | * c-lang.c: Likewise. | |
2805 | * cli/cli-cmds.c: Likewise. | |
2806 | * cli/cli-interp.c: Likewise. | |
2807 | * cli/cli-script.c: Likewise. | |
2808 | * completer.c: Likewise. | |
2809 | * corefile.c: Likewise. | |
2810 | * corelow.c: Likewise. | |
2811 | * cp-abi.c: Likewise. | |
2812 | * cp-support.c: Likewise. | |
2813 | * cp-valprint.c: Likewise. | |
2814 | * darwin-nat.c: Likewise. | |
2815 | * dwarf2-frame-tailcall.c: Likewise. | |
2816 | * dwarf2-frame.c: Likewise. | |
2817 | * dwarf2loc.c: Likewise. | |
2818 | * dwarf2read.c: Likewise. | |
2819 | * eval.c: Likewise. | |
2820 | * event-loop.c: Likewise. | |
2821 | * event-top.c: Likewise. | |
2822 | * f-valprint.c: Likewise. | |
2823 | * frame-unwind.c: Likewise. | |
2824 | * frame.c: Likewise. | |
2825 | * gdbtypes.c: Likewise. | |
2826 | * gnu-v2-abi.c: Likewise. | |
2827 | * gnu-v3-abi.c: Likewise. | |
2828 | * guile/scm-auto-load.c: Likewise. | |
2829 | * guile/scm-breakpoint.c: Likewise. | |
2830 | * guile/scm-cmd.c: Likewise. | |
2831 | * guile/scm-frame.c: Likewise. | |
2832 | * guile/scm-lazy-string.c: Likewise. | |
2833 | * guile/scm-param.c: Likewise. | |
2834 | * guile/scm-symbol.c: Likewise. | |
2835 | * guile/scm-type.c: Likewise. | |
2836 | * hppa-hpux-tdep.c: Likewise. | |
2837 | * i386-tdep.c: Likewise. | |
2838 | * inf-loop.c: Likewise. | |
2839 | * infcall.c: Likewise. | |
2840 | * infcmd.c: Likewise. | |
2841 | * infrun.c: Likewise. | |
2842 | * interps.c: Likewise. | |
2843 | * interps.h: Likewise. | |
2844 | * jit.c: Likewise. | |
2845 | * linespec.c: Likewise. | |
2846 | * linux-nat.c: Likewise. | |
2847 | * linux-thread-db.c: Likewise. | |
2848 | * m32r-rom.c: Likewise. | |
2849 | * main.c: Likewise. | |
2850 | * memory-map.c: Likewise. | |
2851 | * mi/mi-cmd-break.c: Likewise. | |
2852 | * mi/mi-cmd-stack.c: Likewise. | |
2853 | * mi/mi-interp.c: Likewise. | |
2854 | * mi/mi-main.c: Likewise. | |
2855 | * monitor.c: Likewise. | |
2856 | * nto-procfs.c: Likewise. | |
2857 | * objc-lang.c: Likewise. | |
2858 | * p-valprint.c: Likewise. | |
2859 | * parse.c: Likewise. | |
2860 | * ppc-linux-tdep.c: Likewise. | |
2861 | * printcmd.c: Likewise. | |
2862 | * probe.c: Likewise. | |
2863 | * python/py-auto-load.c: Likewise. | |
2864 | * python/py-breakpoint.c: Likewise. | |
2865 | * python/py-cmd.c: Likewise. | |
2866 | * python/py-finishbreakpoint.c: Likewise. | |
2867 | * python/py-frame.c: Likewise. | |
2868 | * python/py-framefilter.c: Likewise. | |
2869 | * python/py-function.c: Likewise. | |
2870 | * python/py-gdb-readline.c: Likewise. | |
2871 | * python/py-inferior.c: Likewise. | |
2872 | * python/py-infthread.c: Likewise. | |
2873 | * python/py-lazy-string.c: Likewise. | |
2874 | * python/py-linetable.c: Likewise. | |
2875 | * python/py-param.c: Likewise. | |
2876 | * python/py-prettyprint.c: Likewise. | |
2877 | * python/py-symbol.c: Likewise. | |
2878 | * python/py-type.c: Likewise. | |
2879 | * python/py-value.c: Likewise. | |
2880 | * python/python-internal.h: Likewise. | |
2881 | * python/python.c: Likewise. | |
2882 | * record-btrace.c: Likewise. | |
2883 | * record-full.c: Likewise. | |
2884 | * regcache.c: Likewise. | |
2885 | * remote-fileio.c: Likewise. | |
2886 | * remote-mips.c: Likewise. | |
2887 | * remote.c: Likewise. | |
2888 | * rs6000-aix-tdep.c: Likewise. | |
2889 | * rs6000-nat.c: Likewise. | |
2890 | * skip.c: Likewise. | |
2891 | * solib-darwin.c: Likewise. | |
2892 | * solib-dsbt.c: Likewise. | |
2893 | * solib-frv.c: Likewise. | |
2894 | * solib-ia64-hpux.c: Likewise. | |
2895 | * solib-spu.c: Likewise. | |
2896 | * solib-svr4.c: Likewise. | |
2897 | * solib.c: Likewise. | |
2898 | * spu-tdep.c: Likewise. | |
2899 | * stack.c: Likewise. | |
2900 | * stap-probe.c: Likewise. | |
2901 | * symfile-mem.c: Likewise. | |
2902 | * symmisc.c: Likewise. | |
2903 | * target.c: Likewise. | |
2904 | * thread.c: Likewise. | |
2905 | * top.c: Likewise. | |
2906 | * tracepoint.c: Likewise. | |
2907 | * tui/tui-interp.c: Likewise. | |
2908 | * typeprint.c: Likewise. | |
2909 | * utils.c: Likewise. | |
2910 | * valarith.c: Likewise. | |
2911 | * valops.c: Likewise. | |
2912 | * valprint.c: Likewise. | |
2913 | * value.c: Likewise. | |
2914 | * varobj.c: Likewise. | |
2915 | * windows-nat.c: Likewise. | |
2916 | * xml-support.c: Likewise. | |
2917 | ||
2918 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> | |
2919 | ||
2920 | * mips-tdep.c (add_offset_16): Rewrite to implement what the | |
2921 | name implies. | |
2922 | (extended_mips16_next_pc): Update accordingly. | |
2923 | ||
2924 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> | |
2925 | ||
2926 | * mips-tdep.c (mips16_instruction_is_compact_branch): New | |
2927 | function. | |
2928 | (micromips_instruction_is_compact_branch): Likewise. | |
2929 | (mips16_scan_prologue): Terminate scanning upon seeing a branch | |
2930 | or a compact jump, reaching a jump delay slot, or seeing a | |
2931 | second non-prologue instruction. | |
2932 | (micromips_scan_prologue): Also terminate scanning upon seeing a | |
2933 | compact branch or jump, or reaching a branch or jump delay slot. | |
2934 | (mips32_scan_prologue): Terminate scanning upon reaching a branch | |
2935 | or jump delay slot, or seeing a second non-prologue instruction. | |
2936 | (mips32_instruction_has_delay_slot): Retain instruction | |
2937 | examination code only, update arguments accordingly and move | |
2938 | instruction fetch pieces to... | |
2939 | (mips32_insn_at_pc_has_delay_slot): ... this new function. | |
2940 | (micromips_instruction_has_delay_slot): Likewise and to... | |
2941 | (micromips_insn_at_pc_has_delay_slot): ... this new function. | |
2942 | (mips16_instruction_has_delay_slot): Likewise and to... | |
2943 | (mips16_insn_at_pc_has_delay_slot): ... this new function. | |
2944 | (mips_single_step_through_delay): Update accordingly. | |
2945 | (mips_adjust_breakpoint_address): Likewise. | |
2946 | ||
2947 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> | |
2948 | ||
2949 | * mips-tdep.c (micromips_instruction_has_delay_slot): When | |
2950 | !mustbe32 also return 1 for 32-bit instructions. | |
2951 | (mips16_instruction_has_delay_slot): Likewise. Add an | |
2952 | explanatory comment. | |
2953 | ||
2954 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> | |
2955 | ||
2956 | * elfread.c (elf_symtab_read): Also mark solib trampoline minimal | |
2957 | symbols special. | |
2958 | ||
2959 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> | |
2960 | ||
2961 | * breakpoint.h (bp_target_info): Add `reqstd_address' member, | |
2962 | update comments. | |
2963 | * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' | |
2964 | for the breakpoint's address. Don't preinitialize `placed_size'. | |
2965 | (insert_bp_location): Set `reqstd_address' rather than | |
2966 | `placed_address'. | |
2967 | (bp_target_info_copy_insertion_state): Also copy `placed_address'. | |
2968 | (bkpt_insert_location): Use `reqstd_address' for the breakpoint's | |
2969 | address. | |
2970 | (bkpt_remove_location): Likewise. | |
2971 | (deprecated_insert_raw_breakpoint): Likewise. | |
2972 | (deprecated_remove_raw_breakpoint): Likewise. | |
2973 | (find_single_step_breakpoint): Likewise. | |
2974 | * mem-break.c (default_memory_insert_breakpoint): Use | |
2975 | `reqstd_address' for the breakpoint's address. Don't set | |
2976 | `placed_address' or `placed_size' if breakpoint contents couldn't | |
2977 | have been determined. | |
2978 | * remote.c (remote_insert_breakpoint): Use `reqstd_address' for | |
2979 | the breakpoint's address. | |
2980 | (remote_insert_hw_breakpoint): Likewise. Don't set | |
2981 | `placed_address' or `placed_size' if breakpoint couldn't have been | |
2982 | set. | |
2983 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use | |
2984 | `reqstd_address' for the breakpoint's address. | |
2985 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. | |
2986 | * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. | |
2987 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. | |
2988 | * microblaze-linux-tdep.c | |
2989 | (microblaze_linux_memory_remove_breakpoint): Likewise. | |
2990 | * monitor.c (monitor_insert_breakpoint): Likewise. | |
2991 | * nto-procfs.c (procfs_insert_breakpoint): Likewise. | |
2992 | (procfs_insert_hw_breakpoint): Likewise. | |
2993 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. | |
2994 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
2995 | * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. | |
2996 | * remote-mips.c (mips_insert_breakpoint): Likewise. | |
2997 | * x86-nat.c (x86_insert_hw_breakpoint): Likewise. | |
2998 | ||
2999 | 2014-10-03 Luis Machado <lgustavo@codesourcery.com> | |
3000 | ||
3001 | * valops.c (value_assign): Check for bit field assignments | |
3002 | before calling architecture-specific register value | |
3003 | conversion functions. | |
3004 | ||
3005 | 2014-10-03 Pierre Muller <muller@sourceware.org> | |
3006 | ||
3007 | * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. | |
3008 | ||
3009 | 2014-10-02 Pedro Alves <palves@redhat.com> | |
3010 | ||
3011 | * breakpoint.c (breakpoints_should_be_inserted_now): Use | |
3012 | threads_are_executing. | |
3013 | * breakpoint.h (breakpoints_should_be_inserted_now): Add | |
3014 | describing comment. | |
3015 | * gdbthread.h (threads_are_executing): Declare. | |
3016 | (handle_signal_stop) <random signals>: Don't print about the | |
3017 | signal here if stopping. | |
3018 | (end_stepping_range): Don't notify observers here. | |
3019 | (normal_stop): Update the thread list. If stopped by a random | |
3020 | signal or a stepping range ended, notify observers. | |
3021 | * thread.c (threads_executing): New global. | |
3022 | (init_thread_list): Clear 'threads_executing'. | |
3023 | (set_executing): Set or clear 'threads_executing'. | |
3024 | (threads_are_executing): New function. | |
3025 | (update_threads_executing): New function. | |
3026 | (update_thread_list): Use it. | |
3027 | ||
3028 | 2014-10-02 Pedro Alves <palves@redhat.com> | |
3029 | ||
3030 | PR breakpoints/17431 | |
3031 | * breakpoint.c (update_breakpoints_after_exec): Don't create | |
3032 | overlay, longjmp, std terminate nor exception breakpoints here. | |
3033 | ||
3034 | 2014-10-02 Pedro Alves <palves@redhat.com> | |
3035 | ||
3036 | * gdbthread.h (any_thread_of_process, any_live_thread_of_process): | |
3037 | Adjust comments. | |
3038 | * inferior.c (find_inferior_for_program_space): Give preference to | |
3039 | the current inferior. | |
3040 | * inferior.h (find_inferior_for_program_space): Update comment. | |
3041 | * progspace.c (switch_to_program_space_and_thread): Prefer the | |
3042 | current inferior if it's bound to the program space requested. If | |
3043 | the inferior found doesn't have a PID yet, don't bother looking up | |
3044 | a thread. | |
3045 | * progspace.h (switch_to_program_space_and_thread): Adjust | |
3046 | comment. | |
3047 | * thread.c (any_thread_of_process, any_live_thread_of_process): | |
3048 | Give preference to the current thread. | |
3049 | ||
3050 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3051 | ||
3052 | * breakpoint.c (insert_bp_location): Error out if inserting a | |
3053 | software breakpoint at a read-only address. | |
3054 | * target.c (memory_xfer_check_region): New function, factored out | |
3055 | from ... | |
3056 | (memory_xfer_partial_1): ... this. Make the 'reg_len' local a | |
3057 | ULONGEST. | |
3058 | (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access | |
3059 | against the memory region attributes. | |
3060 | ||
3061 | 2014-10-01 Simon Marchi <simon.marchi@ericsson.com> | |
3062 | ||
3063 | * NEWS: Announce new exit-code field in -list-thread-groups | |
3064 | output. | |
3065 | * inferior.c (exit_inferior_1): Don't clear exit code. | |
3066 | (inferior_appeared): Clear exit code. | |
3067 | * mi/mi-main.c (print_one_inferior): Add printing of the exit | |
3068 | code. | |
3069 | ||
3070 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3071 | ||
3072 | * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS | |
3073 | GENERATED" along with emacs/vi read-only markers. | |
3074 | * regformats/aarch64.dat: Regenerate. | |
3075 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
3076 | * regformats/arm-with-neon.dat: Regenerate. | |
3077 | * regformats/arm-with-vfpv2.dat: Regenerate. | |
3078 | * regformats/arm-with-vfpv3.dat: Regenerate. | |
3079 | * regformats/i386/amd64-avx-linux.dat: Regenerate. | |
3080 | * regformats/i386/amd64-avx.dat: Regenerate. | |
3081 | * regformats/i386/amd64-avx512-linux.dat: Regenerate. | |
3082 | * regformats/i386/amd64-avx512.dat: Regenerate. | |
3083 | * regformats/i386/amd64-linux.dat: Regenerate. | |
3084 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
3085 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
3086 | * regformats/i386/amd64.dat: Regenerate. | |
3087 | * regformats/i386/i386-avx-linux.dat: Regenerate. | |
3088 | * regformats/i386/i386-avx.dat: Regenerate. | |
3089 | * regformats/i386/i386-avx512-linux.dat: Regenerate. | |
3090 | * regformats/i386/i386-avx512.dat: Regenerate. | |
3091 | * regformats/i386/i386-linux.dat: Regenerate. | |
3092 | * regformats/i386/i386-mmx-linux.dat: Regenerate. | |
3093 | * regformats/i386/i386-mmx.dat: Regenerate. | |
3094 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
3095 | * regformats/i386/i386-mpx.dat: Regenerate. | |
3096 | * regformats/i386/i386.dat: Regenerate. | |
3097 | * regformats/i386/x32-avx-linux.dat: Regenerate. | |
3098 | * regformats/i386/x32-avx.dat: Regenerate. | |
3099 | * regformats/i386/x32-avx512-linux.dat: Regenerate. | |
3100 | * regformats/i386/x32-avx512.dat: Regenerate. | |
3101 | * regformats/i386/x32-linux.dat: Regenerate. | |
3102 | * regformats/i386/x32.dat: Regenerate. | |
3103 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
3104 | * regformats/mips-dsp-linux.dat: Regenerate. | |
3105 | * regformats/mips-linux.dat: Regenerate. | |
3106 | * regformats/mips64-dsp-linux.dat: Regenerate. | |
3107 | * regformats/mips64-linux.dat: Regenerate. | |
3108 | * regformats/nios2-linux.dat: Regenerate. | |
3109 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
3110 | * regformats/rs6000/powerpc-32l.dat: Regenerate. | |
3111 | * regformats/rs6000/powerpc-64l.dat: Regenerate. | |
3112 | * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. | |
3113 | * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. | |
3114 | * regformats/rs6000/powerpc-cell32l.dat: Regenerate. | |
3115 | * regformats/rs6000/powerpc-cell64l.dat: Regenerate. | |
3116 | * regformats/rs6000/powerpc-e500l.dat: Regenerate. | |
3117 | * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. | |
3118 | * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. | |
3119 | * regformats/s390-linux32.dat: Regenerate. | |
3120 | * regformats/s390-linux32v1.dat: Regenerate. | |
3121 | * regformats/s390-linux32v2.dat: Regenerate. | |
3122 | * regformats/s390-linux64.dat: Regenerate. | |
3123 | * regformats/s390-linux64v1.dat: Regenerate. | |
3124 | * regformats/s390-linux64v2.dat: Regenerate. | |
3125 | * regformats/s390-te-linux64.dat: Regenerate. | |
3126 | * regformats/s390x-linux64.dat: Regenerate. | |
3127 | * regformats/s390x-linux64v1.dat: Regenerate. | |
3128 | * regformats/s390x-linux64v2.dat: Regenerate. | |
3129 | * regformats/s390x-te-linux64.dat: Regenerate. | |
3130 | * regformats/tic6x-c62x-linux.dat: Regenerate. | |
3131 | * regformats/tic6x-c62x.dat: Regenerate. | |
3132 | * regformats/tic6x-c64x-linux.dat: Regenerate. | |
3133 | * regformats/tic6x-c64x.dat: Regenerate. | |
3134 | * regformats/tic6x-c64xp-linux.dat: Regenerate. | |
3135 | * regformats/tic6x-c64xp.dat: Regenerate. | |
3136 | ||
3137 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3138 | ||
3139 | * features/Makefile: Update comments. | |
3140 | (XMLTOC): List all xml files we build C files from. | |
3141 | (clean-cfiles): New rule. | |
3142 | ||
3143 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3144 | ||
3145 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
3146 | * features/i386/amd64-avx512.c: Regenerate. | |
3147 | * features/i386/x32-avx512-linux.c: Regenerate. | |
3148 | * features/i386/x32-avx512.c: Regenerate. | |
3149 | ||
3150 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3151 | ||
3152 | * features/Makefile (WHICH): Remove arm-with-m, | |
3153 | arm-with-m-fpa-layout and arm-with-m-vfp-d16. | |
3154 | ||
3155 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3156 | ||
3157 | * features/Makefile (clean): New rule. | |
3158 | ||
3159 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3160 | ||
3161 | * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) | |
3162 | (zmm14h): Add missing end quotes. | |
3163 | ||
3164 | 2014-10-01 Pedro Alves <palves@redhat.com> | |
3165 | ||
3166 | * features/aarch64-core.xml (cpsr): Change back to 32-bit. | |
3167 | * features/aarch64.c: Regenerate. | |
3168 | ||
3169 | 2014-09-30 Don Breazeal <donb@codesourcery.com> | |
3170 | ||
3171 | * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent | |
3172 | code so as to work with follow_fork_inferior. | |
3173 | * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. | |
3174 | (inf_ttrace_create_inferior): Remove reference to | |
3175 | inf_ttrace_vfork_ppid. | |
3176 | (inf_ttrace_attach): Ditto. | |
3177 | (inf_ttrace_detach): Ditto. | |
3178 | (inf_ttrace_kill): Use current_inferior instead of | |
3179 | inf_ttrace_vfork_ppid. | |
3180 | (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report | |
3181 | TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the | |
3182 | inferior away from the parent. | |
3183 | * infrun.c (follow_fork): Call follow_fork_inferior instead of | |
3184 | target_follow_fork. | |
3185 | (follow_fork_inferior): New function. | |
3186 | (follow_inferior_reset_breakpoints): Make function static. | |
3187 | * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. | |
3188 | * linux-nat.c (linux_child_follow_fork): Move target-independent | |
3189 | code to infrun.c:follow_fork_inferior. | |
3190 | ||
3191 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3192 | ||
3193 | * gdbarch.sh (regset_from_core_section): Remove gdbarch method. | |
3194 | * gdbarch.c: Regenerate. | |
3195 | * gdbarch.h: Likewise. | |
3196 | * corelow.c (sniff_core_bfd): Drop presence check for deleted | |
3197 | gdbarch method 'regset_from_core_section'. | |
3198 | (get_core_register_section): Remove handling for the case that | |
3199 | regset == NULL and regset_from_core_section is defined. | |
3200 | (get_core_registers): Drop check for deleted method. | |
3201 | * procfs.c (procfs_do_thread_registers): Adjust comment. | |
3202 | ||
3203 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3204 | ||
3205 | * linux-nat.c (linux_nat_collect_thread_registers): Remove. | |
3206 | (linux_nat_make_corefile_notes): Remove. | |
3207 | (linux_target_install_ops): Do not set target method | |
3208 | 'make_corefile_notes'. | |
3209 | * linux-tdep.c (struct linux_corefile_thread_data)<collect>: | |
3210 | Remove field. | |
3211 | (linux_corefile_thread_callback): Instead of args->collect, call | |
3212 | linux_collect_thread_registers. | |
3213 | (linux_make_corefile_notes): Remove 'collect' parameter. Return | |
3214 | NULL unless there is a regset iterator. | |
3215 | (linux_make_corefile_notes_1): Remove. | |
3216 | (linux_init_abi): Replace reference to linux_make_corefile_notes_1 | |
3217 | by linux_make_corefile_notes. | |
3218 | * linux-tdep.h (linux_make_corefile_notes): Remove prototype. | |
3219 | ||
3220 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3221 | ||
3222 | * fbsd-nat.c (find_signalled_thread, find_stop_signal) | |
3223 | (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): | |
3224 | Remove. | |
3225 | * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. | |
3226 | ||
3227 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3228 | ||
3229 | * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. | |
3230 | (xtensa_iterate_over_regset_sections): New. | |
3231 | (xtensa_gdbarch_init): Adjust gdbarch initialization. | |
3232 | ||
3233 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3234 | ||
3235 | * vax-tdep.c (vax_regset_from_core_section): Remove. | |
3236 | (vax_iterate_over_regset_sections): New. | |
3237 | (vax_gdbarch_init): Adjust gdbarch initialization. | |
3238 | ||
3239 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3240 | ||
3241 | * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. | |
3242 | (tilegx_regset_from_core_section): Remove. | |
3243 | (tilegx_iterate_over_regset_sections): New. | |
3244 | (tilegx_linux_init_abi): Adjust gdbarch initialization. | |
3245 | ||
3246 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3247 | ||
3248 | * sparc-tdep.c (sparc_regset_from_core_section): Remove. | |
3249 | (sparc_iterate_over_regset_sections): New. | |
3250 | (sparc32_gdbarch_init): Adjust gdbarch initialization. | |
3251 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD | |
3252 | targets. | |
3253 | * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. | |
3254 | (sparc64fbsd_init_abi): Call fbsd_init_abi. | |
3255 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set | |
3256 | target method 'make_corefile_notes'. | |
3257 | ||
3258 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3259 | ||
3260 | * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields | |
3261 | 'sizeof_gregset' and 'sizeof_fpregset'. | |
3262 | * sh-tdep.c (sh_regset_from_core_section): Remove. | |
3263 | (sh_iterate_over_regset_sections): New. | |
3264 | (sh_gdbarch_init): Adjust gdbarch initialization. | |
3265 | * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and | |
3266 | sizeof_fpregset. | |
3267 | * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field | |
3268 | 'sizeof_gregset'. | |
3269 | ||
3270 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3271 | ||
3272 | * score-tdep.c (score7_linux_regset_from_core_section): Remove. | |
3273 | (score7_linux_iterate_over_regset_sections): New. | |
3274 | (score_gdbarch_init): Adjust gdbarch initialization. | |
3275 | ||
3276 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3277 | ||
3278 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC | |
3279 | FreeBSD targets. | |
3280 | * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target | |
3281 | method 'make_corefile_notes'. | |
3282 | * ppcfbsd-tdep.c (fbsd-tdep.h): Include. | |
3283 | (ppcfbsd_regset_from_core_section): Remove. | |
3284 | (ppcfbsd_iterate_over_regset_sections): New. | |
3285 | (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch | |
3286 | initialization. | |
3287 | * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. | |
3288 | (ppcnbsd_iterate_over_regset_sections): New. | |
3289 | (ppcnbsd_init_abi): Adjust. | |
3290 | * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. | |
3291 | (ppcobsd_iterate_over_regset_sections): New. | |
3292 | (ppcobsd_init_abi): Adjust. | |
3293 | * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. | |
3294 | (rs6000_aix_iterate_over_regset_sections): New. | |
3295 | (rs6000_aix_init_osabi): Adjust. | |
3296 | ||
3297 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3298 | ||
3299 | * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. | |
3300 | (nios2_regset_from_core_section): Remove. | |
3301 | (nios2_iterate_over_regset_sections): New. | |
3302 | (nios2_linux_init_abi): Adjust gdbarch initialization. | |
3303 | ||
3304 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3305 | ||
3306 | * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. | |
3307 | (am33_iterate_over_regset_sections): New. | |
3308 | (am33_linux_init_osabi): Adjust gdbarch initialization. | |
3309 | ||
3310 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3311 | ||
3312 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. | |
3313 | (mips_linux_iterate_over_regset_sections): New. | |
3314 | (mips_linux_init_abi): Adjust gdbarch initialization. | |
3315 | * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. | |
3316 | (mips64obsd_iterate_over_regset_sections): New. | |
3317 | (mips64obsd_init_abi): Adjust. | |
3318 | * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. | |
3319 | (mipsnbsd_iterate_over_regset_sections): New. | |
3320 | (mipsnbsd_init_abi): Adjust. | |
3321 | ||
3322 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3323 | ||
3324 | * m88k-tdep.c (m88k_regset_from_core_section): Remove. | |
3325 | (m88k_iterate_over_regset_sections): New. | |
3326 | (m88k_gdbarch_init): Adjust gdbarch initialization. | |
3327 | ||
3328 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3329 | ||
3330 | * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. | |
3331 | (ia64_linux_iterate_over_regset_sections): New. | |
3332 | (ia64_linux_init_abi): Adjust gdbarch initialization. | |
3333 | ||
3334 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3335 | ||
3336 | * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. | |
3337 | (m68kbsd_iterate_over_regset_sections): New. | |
3338 | (m68kbsd_init_abi): Adjust gdbarch initialization. | |
3339 | * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. | |
3340 | (m68k_linux_iterate_over_regset_sections): New. | |
3341 | (m68k_linux_init_abi): Adjust gdbarch initialization. | |
3342 | ||
3343 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3344 | ||
3345 | * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. | |
3346 | (m32r_linux_regset_from_core_section): Remove. | |
3347 | (m32r_linux_iterate_over_regset_sections): New. | |
3348 | (m32r_linux_init_abi): Adjust gdbarch initialization. | |
3349 | ||
3350 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3351 | ||
3352 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. | |
3353 | (amd64obsd_iterate_over_regset_sections): New. | |
3354 | (amd64obsd_core_init_abi): Adjust gdbarch initialization. | |
3355 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
3356 | Remove. | |
3357 | (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop | |
3358 | regset_from_core_section initialization. | |
3359 | * i386-tdep.c (i386_regset_from_core_section): Remove. | |
3360 | (i386_iterate_over_regset_sections): New. | |
3361 | (i386_gdbarch_init): Adjust gdbarch initialization. | |
3362 | * i386-tdep.h (i386_regset_from_core_section): Remove prototype. | |
3363 | (i386_iterate_over_regset_sections): New prototype. | |
3364 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): | |
3365 | Remove. | |
3366 | (i386obsd_aout_iterate_over_regset_sections): New. | |
3367 | (i386obsd_aout_init_abi): Adjust gdbarch initialization. | |
3368 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD | |
3369 | targets. | |
3370 | * amd64fbsd-tdep.c (fbsd-tdep.h): Include. | |
3371 | (amd64fbsd_init_abi): Call fbsd_init_abi. | |
3372 | * i386fbsd-tdep.c (fbsd-tdep.h): Include. | |
3373 | (i386fbsd4_init_abi): Call fbsd_init_abi. | |
3374 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set | |
3375 | target method 'make_corefile_notes'. | |
3376 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. | |
3377 | ||
3378 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3379 | ||
3380 | * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. | |
3381 | (hppa_hpux_iterate_over_regset_sections): New. | |
3382 | (hppa_hpux_init_abi): Adjust gdbarch initialization. | |
3383 | * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. | |
3384 | (hppa_linux_iterate_over_regset_sections): New. | |
3385 | (hppa_linux_init_abi): Adjust. | |
3386 | * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
3387 | (hppanbsd_iterate_over_regset_sections): New. | |
3388 | (hppanbsd_init_abi): Adjust. | |
3389 | * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
3390 | (hppaobsd_iterate_over_regset_sections): New. | |
3391 | (hppaobsd_init_abi): Adjust. | |
3392 | ||
3393 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3394 | ||
3395 | * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. | |
3396 | (frv_linux_iterate_over_regset_sections): New. | |
3397 | (frv_linux_init_abi): Adjust gdbarch initialization. | |
3398 | ||
3399 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3400 | ||
3401 | * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. | |
3402 | (armbsd_iterate_over_regset_sections): New prototype. | |
3403 | * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. | |
3404 | (armbsd_iterate_over_regset_sections): New. | |
3405 | * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch | |
3406 | initialization. | |
3407 | ||
3408 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3409 | ||
3410 | * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. | |
3411 | (alpha_linux_iterate_over_regset_sections): New. | |
3412 | (alpha_linux_init_abi): Adjust gdbarch initialization. | |
3413 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove | |
3414 | prototype. | |
3415 | (alphanbsd_iterate_over_regset_sections): New prototype. | |
3416 | ||
3417 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3418 | ||
3419 | * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): | |
3420 | Remove. | |
3421 | (aarch64_linux_iterate_over_regset_sections): New. | |
3422 | (aarch64_linux_init_abi): Adjust gdbarch initialization. | |
3423 | ||
3424 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3425 | ||
3426 | * fbsd-tdep.c: New file. | |
3427 | * fbsd-tdep.h: New file. | |
3428 | * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. | |
3429 | (HFILES_NO_SRCDIR): Add fbsd-tdep.h. | |
3430 | (ALLDEPFILES): Add fbsd-tdep.c. | |
3431 | ||
3432 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3433 | ||
3434 | * gdbarch.sh (iterate_over_regset_sections_cb): Add regset | |
3435 | parameter. | |
3436 | * gdbarch.h: Regenerate. | |
3437 | * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset | |
3438 | iterator. | |
3439 | (get_core_register_section): Add parameter 'regset' and use it, if | |
3440 | set. Add parameter 'min_size' and verify the bfd section size | |
3441 | against it. | |
3442 | (get_core_registers_cb): Add parameter 'regset' and pass it to | |
3443 | get_core_register section. For the "standard" register sections | |
3444 | ".reg" and ".reg2", set an appropriate default for human_name. | |
3445 | (get_core_registers): Don't abort when the gdbarch has an iterator | |
3446 | but no regset_from_core_section. Add NULL/0 for parameters | |
3447 | 'regset'/'min_size' in calls to get_core_register_section. | |
3448 | * linux-tdep.c (linux_collect_regset_section_cb): Add parameter | |
3449 | 'regset' and use it instead of calling the | |
3450 | regset_from_core_section gdbarch method. | |
3451 | * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. | |
3452 | * i386-tdep.c (i386_supply_xstateregset) | |
3453 | (i386_collect_xstateregset, i386_xstateregset): Moved to | |
3454 | i386-linux-tdep.c. | |
3455 | (i386_regset_from_core_section): Drop handling for .reg-xfp and | |
3456 | .reg-xstate. | |
3457 | (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic | |
3458 | core file support only if the regset iterator hasn't been set. | |
3459 | * i386-linux-tdep.c (i386_linux_supply_xstateregset) | |
3460 | (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. | |
3461 | Moved from i386-tdep.c and renamed to *_linux*. | |
3462 | (i386_linux_iterate_over_regset_sections): Add regset parameter to | |
3463 | each callback invocation. Allow any .reg-xstate size when reading | |
3464 | from a core file. | |
3465 | * amd64-tdep.c (amd64_supply_xstateregset) | |
3466 | (amd64_collect_xstateregset, amd64_xstateregset): Moved to | |
3467 | amd64-linux-tdep.c. | |
3468 | (amd64_regset_from_core_section): Remove. | |
3469 | (amd64_init_abi): Set new tdep field 'fpregset'. No longer | |
3470 | install an amd64-specific regset_from_core_section gdbarch method. | |
3471 | * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) | |
3472 | (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. | |
3473 | Moved from amd64-tdep.c and renamed to *_linux*. | |
3474 | (amd64_linux_iterate_over_regset_sections): Add regset parameter | |
3475 | to each callback invocation. Allow any .reg-xstate size when | |
3476 | reading from a core file. | |
3477 | * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. | |
3478 | (arm_linux_iterate_over_regset_sections): Add regset parameter to | |
3479 | each callback invocation. | |
3480 | (arm_linux_init_abi): No longer set the regset_from_core_section | |
3481 | gdbarch method. | |
3482 | * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. | |
3483 | (ppc_linux_iterate_over_regset_sections): Add regset parameter to | |
3484 | each callback invocation. | |
3485 | (ppc_linux_init_abi): No longer set the regset_from_core_section | |
3486 | gdbarch method. | |
3487 | * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields | |
3488 | gregset, sizeof_gregset, fpregset, and sizeof_fpregset. | |
3489 | (s390_regset_from_core_section): Remove. | |
3490 | (s390_iterate_over_regset_sections): Add regset parameter to each | |
3491 | callback invocation. | |
3492 | (s390_gdbarch_init): No longer set the regset_from_core_section | |
3493 | gdbarch method. Drop initialization of deleted tdep fields. | |
3494 | ||
3495 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
3496 | ||
3497 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. | |
3498 | (amd64_linux_iterate_over_regset_sections): New. | |
3499 | (amd64_linux_init_abi_common): Don't install the regset section | |
3500 | list, but the new iterator in gdbarch. | |
3501 | * arm-linux-tdep.c (arm_linux_fpa_regset_sections) | |
3502 | (arm_linux_vfp_regset_sections): Remove. Move combined logic... | |
3503 | (arm_linux_iterate_over_regset_sections): ...here. New function. | |
3504 | (arm_linux_init_abi): Set iterator instead of section list. | |
3505 | * corelow.c (get_core_registers_cb): New function, logic moved | |
3506 | from... | |
3507 | (get_core_registers): ...loop body here. Use new iterator method | |
3508 | instead of walking through the regset section list. | |
3509 | * gdbarch.sh: Remove 'core_regset_sections'. New method | |
3510 | 'iterate_over_regset_sections'. New typedef | |
3511 | 'iterate_over_regset_sections_cb'. | |
3512 | * gdbarch.c: Regenerate. | |
3513 | * gdbarch.h: Likewise. | |
3514 | * i386-linux-tdep.c (i386_linux_regset_sections) | |
3515 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
3516 | Remove. | |
3517 | (i386_linux_iterate_over_regset_sections): New. | |
3518 | (i386_linux_init_abi): Don't choose a regset section list, but | |
3519 | install new iterator in gdbarch. | |
3520 | * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. | |
3521 | (linux_collect_regset_section_cb): New function, logic moved | |
3522 | from... | |
3523 | (linux_collect_thread_registers): ...loop body here. Use iterator | |
3524 | method instead of walking through list. | |
3525 | (linux_make_corefile_notes_1): Check for presence of iterator | |
3526 | method instead of regset section list. | |
3527 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) | |
3528 | (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) | |
3529 | (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) | |
3530 | (ppc64_linux_fp_regset_sections): Remove. Move combined logic... | |
3531 | (ppc_linux_iterate_over_regset_sections): ...here. New function. | |
3532 | (ppc_linux_init_abi): Don't choose from above regset section | |
3533 | lists, but install new iterator in gdbarch. | |
3534 | * regset.h (struct core_regset_section): Remove. | |
3535 | * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields | |
3536 | have_linux_v1, have_linux_v2, and have_tdb. | |
3537 | (s390_linux32_regset_sections, s390_linux32v1_regset_sections) | |
3538 | (s390_linux32v2_regset_sections, s390_linux64_regset_sections) | |
3539 | (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) | |
3540 | (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) | |
3541 | (s390x_linux64v2_regset_sections): Remove. Move combined logic... | |
3542 | (s390_iterate_over_regset_sections): ...here. New function. Use | |
3543 | new tdep fields. | |
3544 | (s390_gdbarch_init): Set new tdep fields. Don't choose from above | |
3545 | regset section lists, but install new iterator. | |
3546 | ||
3547 | 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com> | |
3548 | ||
3549 | * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". | |
3550 | ||
3551 | 2014-09-26 Simon Marchi <simon.marchi@ericsson.com> | |
3552 | ||
3553 | * progspace.c (print_program_space): Don't prune program spaces | |
3554 | before printing them. | |
3555 | ||
3556 | 2014-09-25 Pedro Alves <palves@redhat.com> | |
3557 | ||
3558 | * infrun.c (user_visible_resume_ptid): Don't check | |
3559 | singlestep_breakpoints_inserted_p. | |
3560 | ||
3561 | 2014-09-25 Pedro Alves <palves@redhat.com> | |
3562 | ||
3563 | * breakpoint.c (should_be_inserted): Add debug output. | |
3564 | ||
3565 | 2014-09-25 Pedro Alves <palves@redhat.com> | |
3566 | ||
3567 | * infrun.c (stepping_past_instruction_at) | |
3568 | (clear_exit_convenience_vars): Point at infrun.h instead of | |
3569 | inferior.h. | |
3570 | (handle_signal_stop): Fix typo. | |
3571 | ||
3572 | 2014-09-24 Yao Qi <yao@codesourcery.com> | |
3573 | ||
3574 | * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the | |
3575 | bitmask. | |
3576 | ||
3577 | 2014-09-22 Gary Benson <gbenson@redhat.com> | |
3578 | ||
3579 | * target.c (target_stop): Updated comment. | |
3580 | ||
3581 | 2014-09-22 Gary Benson <gbenson@redhat.com> | |
3582 | ||
3583 | * target/target.h (target_stop_ptid): Renamed as... | |
3584 | (target_stop_and_wait): New function. Updated comment. | |
3585 | All uses updated. | |
3586 | (target_continue_ptid): Renamed as... | |
3587 | (target_continue_no_signal): New function. Updated comment. | |
3588 | All uses updated. | |
3589 | ||
3590 | 2014-09-22 Pedro Alves <palves@redhat.com> | |
3591 | ||
3592 | * NEWS: Mention merge of "breakpoint always-inserted" modes "off" | |
3593 | and "auto" merged. | |
3594 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
3595 | (always_inserted_mode): Now a plain boolean. | |
3596 | (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. | |
3597 | (breakpoints_always_inserted_mode): Delete. | |
3598 | (breakpoints_should_be_inserted_now): New function. | |
3599 | (insert_breakpoints): Pass UGLL_INSERT to | |
3600 | update_global_location_list instead of calling | |
3601 | insert_breakpoint_locations manually. | |
3602 | (create_solib_event_breakpoint_1): New, factored out from ... | |
3603 | (create_solib_event_breakpoint): ... this. | |
3604 | (create_and_insert_solib_event_breakpoint): Use | |
3605 | create_solib_event_breakpoint_1 instead of calling | |
3606 | insert_breakpoint_locations manually. | |
3607 | (update_global_location_list): Change parameter type from boolean | |
3608 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
3609 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
3610 | (update_global_location_list_nothrow): Change parameter type from | |
3611 | boolean to enum ugll_insert_mode. | |
3612 | (_initialize_breakpoint): "breakpoint always-inserted" option is | |
3613 | now a boolean command. Update help text. | |
3614 | * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. | |
3615 | (breakpoints_should_be_inserted_now): New declaration. | |
3616 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: | |
3617 | Remove breakpoints_always_inserted_mode check. | |
3618 | (normal_stop): Adjust to use breakpoints_should_be_inserted_now. | |
3619 | * remote.c (remote_start_remote): Likewise. | |
3620 | ||
3621 | 2014-09-22 Pedro Alves <palves@redhat.com> | |
3622 | ||
3623 | * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. | |
3624 | (insert_breakpoints): Don't call insert_breakpoint_locations here. | |
3625 | Instead, pass UGLL_INSERT to update_global_location_list. | |
3626 | (update_global_location_list): Change parameter type from boolean | |
3627 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
3628 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
3629 | (create_solib_event_breakpoint_1): New, factored out from ... | |
3630 | (create_solib_event_breakpoint): ... this. | |
3631 | (create_and_insert_solib_event_breakpoint): Use | |
3632 | create_solib_event_breakpoint_1 instead of calling | |
3633 | insert_breakpoint_locations manually. | |
3634 | (update_global_location_list): Handle UGLL_INSERT. | |
3635 | ||
3636 | 2014-09-22 Pedro Alves <palves@redhat.com> | |
3637 | ||
3638 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
3639 | (update_global_location_list) | |
3640 | (update_global_location_list_nothrow): Change parameter type from | |
3641 | boolean to enum ugll_insert_mode. All callers adjusted. | |
3642 | ||
3643 | 2014-09-19 Joel Brobecker <brobecker@adacore.com> | |
3644 | ||
3645 | * MAINTAINERS: Add Sergio Durigan Junior as maintainer of | |
3646 | SystemTap support in GDB. | |
3647 | ||
3648 | 2014-09-19 Don Breazeal <donb@codesourcery.com> | |
3649 | ||
3650 | * linux-nat.c (linux_handle_extended_wait): Call | |
3651 | linux_ptrace_get_extended_event. | |
3652 | (wait_lwp): Call linux_is_extended_waitstatus. | |
3653 | (linux_nat_filter_event): Call linux_ptrace_get_extended_event | |
3654 | and linux_is_extended_waitstatus. | |
3655 | * nat/linux-ptrace.c (linux_test_for_tracefork): Call | |
3656 | linux_ptrace_get_extended_event. | |
3657 | (linux_ptrace_get_extended_event): New function. | |
3658 | (linux_is_extended_waitstatus): New function. | |
3659 | * nat/linux-ptrace.h (linux_ptrace_get_extended_event) | |
3660 | (linux_is_extended_waitstatus): New declarations. | |
3661 | ||
3662 | 2014-09-19 Yao Qi <yao@codesourcery.com> | |
3663 | ||
3664 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3665 | (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update | |
3666 | comments. Callers update. | |
3667 | (dwarf_decode_lines): Likewise. | |
3668 | (dwarf_decode_lines_1): Add argument 'lowpc'. Update | |
3669 | comments. Skip the line table if 'lowpc' is greater than | |
3670 | 'address'. Don't check | |
3671 | dwarf2_per_objfile->has_section_at_zero. | |
3672 | ||
3673 | 2014-09-18 Doug Evans <dje@google.com> | |
3674 | ||
3675 | * NEWS: Mention new "producer" attribute of gdb.Symtab. | |
3676 | * python/py-symtab.c (stpy_get_producer): New function. | |
3677 | (symtab_object_getset): Add "producer" attribute. | |
3678 | ||
3679 | 2014-09-17 Ulrich Weigand <uweigand@de.ibm.com> | |
3680 | ||
3681 | PR gdb/17384 | |
3682 | * corefile.c (struct captured_read_memory_integer_arguments): Remove. | |
3683 | (do_captured_read_memory_integer): Remove. | |
3684 | (safe_read_memory_integer): Use target_read_memory directly instead | |
3685 | of catching errors in do_captured_read_memory_integer. | |
3686 | ||
3687 | 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com> | |
3688 | ||
3689 | * CONTRIBUTE (Coding Standards): For internals refer to wiki, | |
3690 | not gdb/doc. | |
3691 | ||
3692 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> | |
3693 | ||
3694 | * objc-lang.c (find_implementation_from_class): Remove dead code. | |
3695 | ||
3696 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> | |
3697 | ||
3698 | PR cli/7233 | |
3699 | * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by | |
3700 | "fprintf_unfiltered (gdb_stdlog...)". | |
3701 | ||
3702 | 2014-09-16 Patrick Palka <patrick@parcs.ath.cx> | |
3703 | ||
3704 | PR breakpoints/12526 | |
3705 | * breakpoint.h (struct watchpoint): New fields val_bitpos and | |
3706 | val_bitsize. | |
3707 | * breakpoint.c (watch_command_1): Use these fields to retain | |
3708 | bitfield information. | |
3709 | (extract_bitfield_from_watchpoint_value): New function. | |
3710 | (watchpoint_check): Use it. | |
3711 | (update_watchpoint): Use it. Optimize the address and length of a | |
3712 | HW watchpoint pointing to a bitfield. | |
3713 | * value.h (unpack_value_bitfield): New prototype. | |
3714 | * value.c (unpack_value_bitfield): Make extern. | |
3715 | ||
3716 | 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org> | |
3717 | ||
3718 | * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and | |
3719 | x86-dregs.o. | |
3720 | * gnu-nat.c (inf_threads): New function. | |
3721 | * gnu-nat.h (inf_threads_ftype): New typedef. | |
3722 | (inf_threads): New declaration. | |
3723 | * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". | |
3724 | [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) | |
3725 | (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) | |
3726 | (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) | |
3727 | (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) | |
3728 | (i386_gnu_dr_get_control): New functions. | |
3729 | (reg_addr): New structure. | |
3730 | (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware | |
3731 | i386 debugging register hooks. | |
3732 | * NEWS: Mention this. | |
3733 | ||
3734 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> | |
3735 | ||
3736 | * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for | |
3737 | vector data transfer instructions. | |
3738 | (arm_record_coproc_data_proc): Updated. | |
3739 | ||
3740 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> | |
3741 | ||
3742 | * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with | |
3743 | arm_record_exreg_ld_st_insn. | |
3744 | (arm_record_exreg_ld_st_insn): Add record handler for ex-register | |
3745 | load/store insns. | |
3746 | ||
3747 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> | |
3748 | ||
3749 | * arm-tdep.c (arm_record_coproc_data_proc): Updated. | |
3750 | (arm_record_vfp_data_proc_insn): Added record handler for VFP data | |
3751 | processing instructions. | |
3752 | ||
3753 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> | |
3754 | ||
3755 | * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler | |
3756 | for advance SIMD struct ld/st insn. | |
3757 | (thumb2_record_decode_insn_handler): Replace stub handler with | |
3758 | thumb2_record_asimd_struct_ld_st. | |
3759 | ||
3760 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> | |
3761 | ||
3762 | * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs | |
3763 | for asimd, vfp and coprocessor insns. | |
3764 | (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp | |
3765 | and coprocessor insns. | |
3766 | (thumb2_record_coproc_insn): New function. | |
3767 | (thumb2_record_decode_insn_handler): Update coprocessor insns record | |
3768 | handlers. | |
3769 | (decode_insn): Install arm_record_asimd_vfp_coproc as handler for | |
3770 | opcode 110 insns. | |
3771 | ||
3772 | 2014-09-13 Doug Evans <xdje42@gmail.com> | |
3773 | ||
3774 | * NEWS: Mention new "queue-signal" command. | |
3775 | * infcmd.c (queue_signal_command): New function. | |
3776 | (_initialize_infcmd): Add new queue-signal command. | |
3777 | ||
3778 | 2014-09-13 Doug Evans <xdje42@gmail.com> | |
3779 | ||
3780 | * linux-nat.c (wait_lwp): Add debugging printf. | |
3781 | (linux_nat_wait_1): Ditto. | |
3782 | ||
3783 | 2014-09-12 Pedro Alves <palves@redhat.com> | |
3784 | ||
3785 | * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) | |
3786 | (create_and_insert_solib_event_breakpoint): New functions. | |
3787 | * breakpoint.h (create_and_insert_solib_event_breakpoint) | |
3788 | (remove_solib_event_breakpoints_at_next_stop): New declarations. | |
3789 | * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. | |
3790 | (remove_dbx_link_breakpoint): Delete function. | |
3791 | (insert_dbx_link_bpt_in_file): Use | |
3792 | create_and_insert_solib_event_breakpoint instead of | |
3793 | deprecated_insert_raw_breakpoint. | |
3794 | (procfs_wait): Don't check whether we hit __dbx_link here. | |
3795 | (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint | |
3796 | here. | |
3797 | * solib-irix.c (base_breakpoint): Delete global. | |
3798 | (disable_break): Delete function. | |
3799 | (enable_break): Use create_solib_event_breakpoint | |
3800 | instead of deprecated_insert_raw_breakpoint. | |
3801 | (irix_solib_handle_event): New function. | |
3802 | (irix_solib_create_inferior_hook): Don't run the target or disable | |
3803 | the mapping-complete breakpoint here. | |
3804 | (_initialize_irix_solib): Install irix_solib_handle_event as | |
3805 | so_ops->handle_event hook. | |
3806 | ||
3807 | 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | |
3808 | Ulrich Weigand <uweigand@de.ibm.com> | |
3809 | ||
3810 | PR tdep/17379 | |
3811 | * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer | |
3812 | instead of read_memory_unsigned_integer. | |
3813 | ||
3814 | 2014-09-12 Gary Benson <gbenson@redhat.com> | |
3815 | ||
3816 | * nat/linux-waitpid.c: Include common-defs.h. | |
3817 | [GDBSERVER]: Add FIXME comment. | |
3818 | [!GDBSERVER]: Don't include defs.h or signal.h. | |
3819 | (linux_debug) [!GDBSERVER]: Remove empty block. | |
3820 | ||
3821 | 2014-09-12 Gary Benson <gbenson@redhat.com> | |
3822 | ||
3823 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
3824 | Don't include defs.h or server.h. | |
3825 | ||
3826 | 2014-09-12 Gary Benson <gbenson@redhat.com> | |
3827 | ||
3828 | * nat/linux-btrace.c: Include common-defs.h. | |
3829 | Don't include defs.h, server.h or gdbthread.h. | |
3830 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
3831 | ||
3832 | 2014-09-12 Gary Benson <gbenson@redhat.com> | |
3833 | ||
3834 | * common/agent.c: Include common-defs.h. | |
3835 | Don't include defs.h or server.h. | |
3836 | * common/buffer.c: Likewise. | |
3837 | * common/common-debug.c: Likewise. | |
3838 | * common/common-utils.c: Likewise. | |
3839 | * common/errors.c: Likewise. | |
3840 | * common/filestuff.c: Likewise. | |
3841 | * common/format.c: Likewise. | |
3842 | * common/gdb_vecs.c: Likewise. | |
3843 | * common/print-utils.c: Likewise. | |
3844 | * common/ptid.c: Likewise. | |
3845 | * common/rsp-low.c: Likewise. | |
3846 | * common/signals.c: Likewise. | |
3847 | * common/vec.c: Likewise. | |
3848 | * common/xml-utils.c: Likewise. | |
3849 | * nat/linux-osdata.c: Likewise. | |
3850 | * nat/linux-procfs.c: Likewise. | |
3851 | * nat/linux-ptrace.c: Likewise. | |
3852 | * nat/mips-linux-watch.c: Likewise. | |
3853 | * target/waitstatus.c: Likewise. | |
3854 | ||
3855 | 2014-09-12 Tom Tromey <tromey@redhat.com> | |
3856 | Gary Benson <gbenson@redhat.com> | |
3857 | ||
3858 | * common/common-regcache.h: New file. | |
3859 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
3860 | * regcache.h: Include common-regcache.h. | |
3861 | (regcache_read_pc): Don't declare. | |
3862 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
3863 | * nat/linux-btrace.c: Don't include regcache.h. | |
3864 | Include common-regcache.h. | |
3865 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
3866 | ||
3867 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> | |
3868 | ||
3869 | * regcache.h (struct regset): Declare. | |
3870 | ||
3871 | 2014-09-11 Pedro Alves <palves@redhat.com> | |
3872 | ||
3873 | PR gdb/17347 | |
3874 | * main.c: Include "infrun.h". | |
3875 | (catch_command_errors, catch_command_errors_const): Wait for the | |
3876 | foreground command to complete. | |
3877 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
3878 | from ... | |
3879 | (maybe_wait_sync_command_done): ... here. | |
3880 | * top.h (maybe_wait_sync_command_done): New declaration. | |
3881 | ||
3882 | 2014-09-11 Tom Tromey <tromey@redhat.com> | |
3883 | Gary Benson <gbenson@redhat.com> | |
3884 | ||
3885 | * common/symbol.h: New file. | |
3886 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
3887 | * minsyms.c (find_minimal_symbol_address): New function. | |
3888 | * common/agent.c: Include common/symbol.h. | |
3889 | [!GDBSERVER]: Don't include objfiles.h. | |
3890 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
3891 | ||
3892 | 2014-09-11 Gary Benson <gbenson@redhat.com> | |
3893 | ||
3894 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
3895 | Declare. | |
3896 | * target.c (target_stop_ptid, target_continue_ptid): New | |
3897 | functions. | |
3898 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
3899 | (agent_run_command): Always use target_stop_ptid and | |
3900 | target_continue_ptid. | |
3901 | ||
3902 | 2014-09-11 Tom Tromey <tromey@redhat.com> | |
3903 | Gary Benson <gbenson@redhat.com> | |
3904 | ||
3905 | * target/target.h: New file. | |
3906 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
3907 | * target.h: Include target/target.h. | |
3908 | (target_read_memory, target_write_memory): Don't declare. | |
3909 | * target.c (target_read_uint32): New function. | |
3910 | * common/agent.c: Include target/target.h. | |
3911 | [!GDBSERVER]: Don't include target.h. | |
3912 | (helper_thread_id): Type changed to uint32_t. | |
3913 | (agent_get_helper_thread_id): Use target_read_uint32. | |
3914 | (agent_run_command): Always use target_read_memory and | |
3915 | target_write_memory. | |
3916 | (agent_capability): Type changed to uint32_t. | |
3917 | (agent_capability_check): Use target_read_uint32. | |
3918 | ||
3919 | 2014-09-11 Gary Benson <gbenson@redhat.com> | |
3920 | ||
3921 | * common/common-debug.h (show_debug_regs): Declare. | |
3922 | * common/common-debug.c (show_debug_regs): Define. | |
3923 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
3924 | all uses with show_debug_regs. Replace all uses that considered | |
3925 | debug_hw_points as a multi-value integer with straight boolean | |
3926 | uses. | |
3927 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
3928 | with show_debug_regs. | |
3929 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
3930 | all uses with show_debug_regs. | |
3931 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
3932 | uses with show_debug_regs. | |
3933 | ||
3934 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> | |
3935 | ||
3936 | * findvar.c (address_from_register): Handle targets requiring | |
3937 | a special conversion routine even for plain pointer types. | |
3938 | ||
3939 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> | |
3940 | ||
3941 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
3942 | (store_register): Do not call exec_one_dummy_insn. | |
3943 | ||
3944 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> | |
3945 | ||
3946 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
3947 | dereference it first. Use value_enclosing_type instead of | |
3948 | value_type. | |
3949 | (ada_array_length): Likewise. | |
3950 | ||
3951 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> | |
3952 | ||
3953 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
3954 | Adjust function implementation and documentation accordingly. | |
3955 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
3956 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
3957 | Update call to ada_value_ptr_subscript. | |
3958 | ||
3959 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> | |
3960 | ||
3961 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
3962 | instead of VAL's type. | |
3963 | ||
3964 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> | |
3965 | ||
3966 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
3967 | ||
3968 | 2014-09-09 Doug Evans <xdje42@gmail.com> | |
3969 | ||
3970 | PR guile/17367 | |
3971 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
3972 | last parameter to pkg-config, not first. | |
3973 | * configure.ac: Pass --with-guile provided pkg-config path to | |
3974 | GDB_GUILE_PROGRAM_NAMES. | |
3975 | * configure: Regenerate. | |
3976 | ||
3977 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> | |
3978 | ||
3979 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
3980 | Bertazi". | |
3981 | ||
3982 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> | |
3983 | ||
3984 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
3985 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
3986 | the list of sections determining GDB_OSABI_IRIX. | |
3987 | ||
3988 | 2014-09-09 James Hogan <james.hogan@imgtec.com> | |
3989 | ||
3990 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
3991 | ||
3992 | 2014-09-09 James Hogan <james.hogan@imgtec.com> | |
3993 | ||
3994 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
3995 | ||
3996 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> | |
3997 | ||
3998 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
3999 | ||
4000 | 2014-09-08 Doug Evans <xdje42@gmail.com> | |
4001 | ||
4002 | PR 17247 | |
4003 | * guile.c: #include <signal.h>. | |
4004 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
4005 | ||
4006 | Replaces the following, which is reverted. | |
4007 | ||
4008 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
4009 | ||
4010 | PR 17185 | |
4011 | * configure.ac: Add check for header gc/gc.h. | |
4012 | Add check for function setenv. | |
4013 | * configure: Regenerate. | |
4014 | * config.in: Regenerate. | |
4015 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
4016 | ||
4017 | 2014-09-08 Doug Evans <xdje42@gmail.com> | |
4018 | ||
4019 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
4020 | with named constant. Fix style of pointer comparison. | |
4021 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
4022 | ||
4023 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> | |
4024 | ||
4025 | PR gdb/17035 | |
4026 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
4027 | decide whether we display the command on "show user". | |
4028 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
4029 | printing command name. | |
4030 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
4031 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
4032 | to verify whether cmd_list_element is a user-defined command. | |
4033 | ||
4034 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4035 | ||
4036 | PR python/17355 | |
4037 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
4038 | Fix goto out of TRY_CATCH. | |
4039 | ||
4040 | 2014-09-06 Doug Evans <xdje42@gmail.com> | |
4041 | Tom Tromey <tromey@redhat.com> | |
4042 | ||
4043 | PR 15276 | |
4044 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
4045 | $_any_caller_matches. | |
4046 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
4047 | * python/lib/gdb/function/caller_is.py: New file. | |
4048 | ||
4049 | 2014-09-06 Doug Evans <xdje42@gmail.com> | |
4050 | ||
4051 | * infcmd.c (program_info): Fix typo. | |
4052 | ||
4053 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> | |
4054 | ||
4055 | PR gdb/17235 | |
4056 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
4057 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
4058 | subexpressions on SDT probes. | |
4059 | ||
4060 | 2014-09-04 Pedro Alves <palves@redhat.com> | |
4061 | ||
4062 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
4063 | the input is only one character long. | |
4064 | ||
4065 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> | |
4066 | ||
4067 | PR fortran/17237 | |
4068 | * f-valprint.c (f_val_print): Specify the correct print option to | |
4069 | use when printing integer values. | |
4070 | ||
4071 | 2014-09-04 Gary Benson <gbenson@redhat.com> | |
4072 | ||
4073 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
4074 | Remove code to cope with LWPs wrapped as PIDs. | |
4075 | Add assertions to ensure no wrapped LWPs are passed. | |
4076 | ||
4077 | 2014-09-04 Pedro Alves <palves@redhat.com> | |
4078 | ||
4079 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
4080 | from ... | |
4081 | (value_contents_copy_raw): ... here. | |
4082 | (unpack_value_bits_as_long_1): Rename back to ... | |
4083 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
4084 | 'result' parameters. Change return type to LONGEST. | |
4085 | (unpack_value_bits_as_long): Delete. | |
4086 | (unpack_value_field_as_long_1): Delete. | |
4087 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
4088 | (unpack_value_bitfield): New function. | |
4089 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
4090 | (value_fetch_lazy): Use unpack_value_bitfield. | |
4091 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
4092 | ||
4093 | 2014-09-03 Sasha Smundak <asmundak@google.com> | |
4094 | ||
4095 | * python/py-frame.c (frapy_read_register): New function. | |
4096 | ||
4097 | 2014-09-03 James Hogan <james.hogan@imgtec.com> | |
4098 | ||
4099 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
4100 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
4101 | ||
4102 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> | |
4103 | ||
4104 | PR python/16699 | |
4105 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
4106 | function. | |
4107 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
4108 | * cli/cli-decode.h (struct cmd_list_element) | |
4109 | <completer_handle_brkchars>: New field. | |
4110 | * command.h (completer_ftype_void): New typedef. | |
4111 | (set_cmd_completer_handle_brkchars): New prototype. | |
4112 | * completer.c (set_gdb_completion_word_break_characters): New | |
4113 | function. | |
4114 | (complete_line_internal): Call "completer_handle_brkchars" | |
4115 | callback from command. | |
4116 | * completer.h: Include "command.h". | |
4117 | (set_gdb_completion_word_break_characters): New prototype. | |
4118 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
4119 | (cmdpy_completer_handle_brkchars): New function. | |
4120 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
4121 | (cmdpy_init): Set completer_handle_brkchars to | |
4122 | cmdpy_completer_handle_brkchars. | |
4123 | ||
4124 | 2014-09-03 Gary Benson <gbenson@redhat.com> | |
4125 | ||
4126 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
4127 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
4128 | Loop conditions changed to equivalent form. | |
4129 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
4130 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
4131 | ALL_DEBUG_ADDRESS_REGISTERS. | |
4132 | ||
4133 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> | |
4134 | ||
4135 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
4136 | description fix. | |
4137 | ||
4138 | 2014-09-02 Doug Evans <dje@google.com> | |
4139 | ||
4140 | * typeprint.c (find_global_typedef): Fix comment. | |
4141 | ||
4142 | 2014-09-02 Gary Benson <gbenson@redhat.com> | |
4143 | ||
4144 | * i386-nat.h: Renamed as... | |
4145 | * x86-nat.h: New file. All type, function and variable name | |
4146 | prefixes changed from "i386_" to "x86_". All references updated. | |
4147 | * i386-nat.c: Renamed as... | |
4148 | * x86-nat.c: New file. All type, function and variable name | |
4149 | prefixes changed from "i386_" to "x86_". All references updated. | |
4150 | * common/i386-xstate.h: Renamed as... | |
4151 | * common/x86-xstate.h: New file. All type, function and variable | |
4152 | name prefixes changed from "i386_" to "x86_". All references | |
4153 | updated. | |
4154 | * nat/i386-cpuid.h: Renamed as... | |
4155 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
4156 | prefixes changed from "i386_" to "x86_". All references updated. | |
4157 | * nat/i386-gcc-cpuid.h: Renamed as... | |
4158 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
4159 | name prefixes changed from "i386_" to "x86_". All references | |
4160 | updated. | |
4161 | * nat/i386-dregs.h: Renamed as... | |
4162 | * nat/x86-dregs.h: New file. All type, function and variable name | |
4163 | prefixes changed from "i386_" to "x86_". All references updated. | |
4164 | * nat/i386-dregs.c: Renamed as... | |
4165 | * nat/x86-dregs.c: New file. All type, function and variable name | |
4166 | prefixes changed from "i386_" to "x86_". All references updated. | |
4167 | ||
4168 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> | |
4169 | ||
4170 | * varobj.c (_initialize_varobj): Move to the end of file. | |
4171 | ||
4172 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4173 | ||
4174 | * common/common-exceptions.h: New file. | |
4175 | * common/common-exceptions.c: Likewise. | |
4176 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
4177 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
4178 | (COMMON_OBS): Add common-exceptions.o. | |
4179 | (common-exceptions.o): New rule. | |
4180 | * exceptions.h (common-exceptions.h): Include. | |
4181 | (gdb_setjmp.h): Do not include. | |
4182 | (return_reason): Moved to common-exceptions.h. | |
4183 | (enum return_reason): Likewise. | |
4184 | (RETURN_MASK): Likewise. | |
4185 | (typedef return_mask): Likewise. | |
4186 | (enum errors): Likewise. | |
4187 | (struct gdb_exception): Likewise. | |
4188 | (exceptions_state_mc_init): Likewise. | |
4189 | (exceptions_state_mc_action_iter): Likewise. | |
4190 | (exceptions_state_mc_action_iter_1): Likewise. | |
4191 | (TRY_CATCH): Likewise. | |
4192 | (throw_exception): Likewise. | |
4193 | (throw_verror): Likewise. | |
4194 | (throw_vquit): Likewise. | |
4195 | (throw_error): Likewise. | |
4196 | (throw_quit): Likewise. | |
4197 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
4198 | (enum catcher_action): Likewise. | |
4199 | (struct catcher): Likewise. | |
4200 | (current_catcher): Likewise. | |
4201 | (catcher_list_size): Likewise. | |
4202 | (exceptions_state_mc_init): Likewise. | |
4203 | (catcher_pop): Likewise. | |
4204 | (exceptions_state_mc): Likewise. | |
4205 | (exceptions_state_mc_action_iter): Likewise. | |
4206 | (exceptions_state_mc_action_iter_1): Likewise. | |
4207 | (throw_exception): Likewise. | |
4208 | (exception_messages): Likewise. | |
4209 | (exception_messages_size): Likewise. | |
4210 | (throw_it): Likewise. | |
4211 | (throw_verror): Likewise. | |
4212 | (throw_vquit): Likewise. | |
4213 | (throw_error): Likewise. | |
4214 | (throw_quit): Likewise. | |
4215 | (prepare_to_throw_exception): New function. | |
4216 | ||
4217 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4218 | ||
4219 | * common/gdb_setjmp.h: New file. | |
4220 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
4221 | * configure.ac: Move sigsetjmp check... | |
4222 | * common/common.m4: ...here. | |
4223 | * configure: Regenerate. | |
4224 | * cp-support.c (SIGJMP_BUF): Delete. | |
4225 | (SIGSETJMP): Likewise. | |
4226 | (SIGLONGJMP): Likewise. | |
4227 | * exceptions.h (gdb_setjmp.h): Include. | |
4228 | (setjmp.h): Do not include. | |
4229 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
4230 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
4231 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
4232 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
4233 | from gdb_setjmp.h. | |
4234 | * exceptions.c: Likewise. | |
4235 | ||
4236 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4237 | ||
4238 | * cleanups.h: Moved to... | |
4239 | * common/cleanups.h: New file. | |
4240 | * cleanups.c: Moved to... | |
4241 | * common/cleanups.c: New file. Include common-defs.h and | |
4242 | cleanups.h. Do not include defs.h. | |
4243 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
4244 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
4245 | (cleanups.o): New rule. | |
4246 | ||
4247 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4248 | ||
4249 | * common/errors.h (internal_warning): New declaration. | |
4250 | (internal_vwarning): Likewise. | |
4251 | * common/errors.c (internal_warning): New function. | |
4252 | * utils.h (internal_warning): Don't declare. | |
4253 | (internal_vwarning): Likewise. | |
4254 | * utils.c (internal_warning): Removed. | |
4255 | ||
4256 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4257 | ||
4258 | * main.c (captured_main): Use warning during startup. | |
4259 | Prefix startup warning messages with command name. | |
4260 | ||
4261 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4262 | ||
4263 | * main.c (captured_main): Handle usage errors with error. | |
4264 | ||
4265 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4266 | ||
4267 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
4268 | exit pair with a call to error. Wrap the message with _(). | |
4269 | ||
4270 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4271 | ||
4272 | * main.c (captured_main): Replace a fprintf/exit | |
4273 | pair with a call to error. Wrap the message with _(). | |
4274 | ||
4275 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4276 | ||
4277 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
4278 | pairs with calls to error. Wrap the message with _(). | |
4279 | ||
4280 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4281 | ||
4282 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
4283 | and wrap_here. | |
4284 | ||
4285 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4286 | ||
4287 | * exceptions.c (print_flush): Protect calls to | |
4288 | target_terminal_ours and wrap_here. | |
4289 | ||
4290 | 2014-08-29 Gary Benson <gbenson@redhat.com> | |
4291 | ||
4292 | * utils.h (filtered_printing_initialized): New declaration. | |
4293 | * utils.c (abort_with_message): New function. | |
4294 | (internal_vproblem): Use abort_with_message for first level | |
4295 | recursive internal problems, and if gdb_stderr is not set up. | |
4296 | Protect calls to target_terminal_ours, begin_line and query. | |
4297 | ||
4298 | 2014-08-28 Doug Evans <dje@google.com> | |
4299 | ||
4300 | * symtab.c (in_prologue): Move definition to better spot. | |
4301 | (skip_prologue_using_sal): Ditto. | |
4302 | ||
4303 | 2014-08-28 Doug Evans <dje@google.com> | |
4304 | ||
4305 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
4306 | ||
4307 | 2014-08-28 Yao Qi <yao@codesourcery.com> | |
4308 | ||
4309 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
4310 | found_stack_adjust in forward scan. Remove condition check | |
4311 | on found_stack_adjust which is always true. Indent the code. | |
4312 | ||
4313 | 2014-08-28 Yao Qi <yao@codesourcery.com> | |
4314 | ||
4315 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
4316 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
4317 | (dwarf_decode_lines): Remove argument | |
4318 | want_line_info. Remove condition check on want_line_info. | |
4319 | Callers update. | |
4320 | ||
4321 | 2014-08-27 Doug Evans <dje@google.com> | |
4322 | ||
4323 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
4324 | ||
4325 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> | |
4326 | ||
4327 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
4328 | declaration. | |
4329 | (target_terminal_save_ours): Remove macro. | |
4330 | * target-delegates.c: Regenerate. | |
4331 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
4332 | field to_terminal_save_ours. | |
4333 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
4334 | * terminal.h (gdb_save_tty_state): New declaration. | |
4335 | * inflow.c (child_terminal_save_ours): Rename to ... | |
4336 | (gdb_save_tty_state): ... this. | |
4337 | * tui/tui.c: Include terminal.h. | |
4338 | (tui_enable): Use gdb_save_tty_state instead of | |
4339 | target_terminal_save_ours. | |
4340 | (tui_disable): Likewise. | |
4341 | ||
4342 | 2014-08-25 Doug Evans <dje@google.com> | |
4343 | ||
4344 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
4345 | Pass NULL instead of 0 for context pointer. | |
4346 | ||
4347 | 2014-08-25 Yao Qi <yao@codesourcery.com> | |
4348 | ||
4349 | * dwarf2read.c: Fix grammatical error. | |
4350 | ||
4351 | 2014-08-24 Yao Qi <yao@codesourcery.com> | |
4352 | ||
4353 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
4354 | Rename argument 'need_pc' with 'set_addrmap'. | |
4355 | (add_partial_namespace): Rename argument 'need_pc' with | |
4356 | 'set_addrmap'. | |
4357 | (add_partial_module): Likewise. | |
4358 | (add_partial_subprogram): Likewise. Update comments. | |
4359 | (dwarf2_name): Fix typo. | |
4360 | ||
4361 | 2014-08-22 Doug Evans <dje@google.com> | |
4362 | ||
4363 | PR 17276 | |
4364 | * dwarf2read.c (dwarf_record_line_p): New function. | |
4365 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
4366 | for the same line if any entry had a non-zero discriminator. | |
4367 | ||
4368 | 2014-08-22 Doug Evans <dje@google.com> | |
4369 | ||
4370 | * buildsym.h (record_line_ftype): New typedef. | |
4371 | (record_line): Use it. | |
4372 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
4373 | (dwarf_decode_lines_1): Call them. | |
4374 | ||
4375 | 2014-08-22 Yao Qi <yao@codesourcery.com> | |
4376 | ||
4377 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
4378 | (ctf_end): Remove code. | |
4379 | ||
4380 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4381 | ||
4382 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
4383 | (linux_make_corefile_notes): call update_thread_list, protected against | |
4384 | exceptions. | |
4385 | ||
4386 | 2014-08-21 Pedro Alves <palves@redhat.com> | |
4387 | ||
4388 | * infcmd.c (attach_command): Remove comment. | |
4389 | ||
4390 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> | |
4391 | ||
4392 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
4393 | unsigned LONGEST to ULONGEST. | |
4394 | ||
4395 | 2014-08-20 Pedro Alves <palves@redhat.com> | |
4396 | ||
4397 | * Makefile.in (check-read1): New rule. | |
4398 | ||
4399 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> | |
4400 | ||
4401 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
4402 | typedef layers before checking its TYPE_DATA_LOCATION. | |
4403 | ||
4404 | 2014-08-20 Pedro Alves <palves@redhat.com> | |
4405 | ||
4406 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
4407 | ||
4408 | 2014-08-20 Yao Qi <yao@codesourcery.com> | |
4409 | ||
4410 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
4411 | example. Move "*/" to a new line. | |
4412 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
4413 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
4414 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
4415 | ||
4416 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> | |
4417 | Pedro Alves <palves@redhat.com> | |
4418 | ||
4419 | PR symtab/14604 | |
4420 | PR symtab/14605 | |
4421 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
4422 | value_contents_copy_raw. | |
4423 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
4424 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
4425 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
4426 | code handle optimized out values. | |
4427 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
4428 | * d-valprint.c (dynamic_array_type): Use | |
4429 | value_bits_any_optimized_out. | |
4430 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
4431 | check_any_valid fields. | |
4432 | (check_pieced_value_bits): Delete and inline ... | |
4433 | (check_pieced_synthetic_pointer): ... here. | |
4434 | (check_pieced_value_validity): Delete. | |
4435 | (check_pieced_value_invalid): Delete. | |
4436 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
4437 | fields. | |
4438 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
4439 | (write_pieced_value): Switch to use | |
4440 | mark_value_bytes_optimized_out. | |
4441 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
4442 | of assuming the whole value is optimized out. | |
4443 | * findvar.c (read_frame_register_value): Remove special handling | |
4444 | of optimized out registers. | |
4445 | (value_from_register): Use mark_value_bytes_optimized_out. | |
4446 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
4447 | mark_value_bytes_optimized_out. | |
4448 | * jv-valprint.c (java_value_print): Adjust. | |
4449 | (java_print_value_fields): Let the common printing code handle | |
4450 | optimized out values. | |
4451 | * mips-tdep.c (mips_print_register): Remove special handling of | |
4452 | optimized out registers. | |
4453 | * opencl-lang.c (lval_func_check_validity): Delete. | |
4454 | (lval_func_check_any_valid): Delete. | |
4455 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
4456 | fields. | |
4457 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
4458 | printing code handle optimized out values. | |
4459 | * stack.c (read_frame_arg): Remove special handling of optimized | |
4460 | out values. Fetch both VAL and ENTRYVAL before comparing | |
4461 | contents. Adjust to value_available_contents_eq rename. | |
4462 | * valprint.c (valprint_check_validity) | |
4463 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
4464 | (val_print_array_elements): Adjust. | |
4465 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
4466 | (value_bits_any_optimized_out): New function. | |
4467 | (value_entirely_covered_by_range_vector): New function, factored | |
4468 | out from value_entirely_unavailable. | |
4469 | (value_entirely_unavailable): Reimplement. | |
4470 | (value_entirely_optimized_out): New function. | |
4471 | (insert_into_bit_range_vector): New function, factored out from | |
4472 | mark_value_bits_unavailable. | |
4473 | (mark_value_bits_unavailable): Reimplement. | |
4474 | (struct ranges_and_idx): New struct. | |
4475 | (find_first_range_overlap_and_match): New function, factored out | |
4476 | from value_available_contents_bits_eq. | |
4477 | (value_available_contents_bits_eq): Rename to ... | |
4478 | (value_contents_bits_eq): ... this. Check both unavailable | |
4479 | contents and optimized out contents. | |
4480 | (value_available_contents_eq): Rename to ... | |
4481 | (value_contents_eq): ... this. | |
4482 | (allocate_value_lazy): Remove reference to the old optimized_out | |
4483 | boolean. | |
4484 | (allocate_optimized_out_value): Use | |
4485 | mark_value_bytes_optimized_out. | |
4486 | (require_not_optimized_out): Adjust to check whether the | |
4487 | optimized_out vec is empty. | |
4488 | (ranges_copy_adjusted): New function, factored out from | |
4489 | value_contents_copy_raw. | |
4490 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
4491 | Assert the destination ranges aren't optimized out. | |
4492 | (value_contents_copy): Update comment, remove call to | |
4493 | require_not_optimized_out. | |
4494 | (value_contents_equal): Adjust to check whether the optimized_out | |
4495 | vec is empty. | |
4496 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
4497 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
4498 | New functions. | |
4499 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
4500 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
4501 | (value_primitive_field): Remove special handling of optimized out. | |
4502 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
4503 | regions. Use value_bits_any_optimized_out. Remove some special | |
4504 | handling for optimized out values. | |
4505 | * value.h: Add intro comment about <optimized out> and | |
4506 | <unavailable>. | |
4507 | (struct lval_funcs): Remove check_validity and check_any_valid | |
4508 | fields. | |
4509 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
4510 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
4511 | New declarations. | |
4512 | (value_bits_any_optimized_out): New declaration. | |
4513 | (value_bits_valid): Delete declaration. | |
4514 | (value_available_contents_eq): Rename to ... | |
4515 | (value_contents_eq): ... this, and extend comments. | |
4516 | ||
4517 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> | |
4518 | ||
4519 | Fix -fsanitize=address on unreadable inferior strings. | |
4520 | * valprint.c (val_print_string): Fix access before BUFFER. | |
4521 | ||
4522 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> | |
4523 | ||
4524 | * target.c (target_struct_size): Remove. | |
4525 | (target_struct_allocsize): Remove. | |
4526 | (DEFAULT_ALLOCSIZE): Remove. | |
4527 | (target_ops_p): New typedef. | |
4528 | (DEF_VEC_P (target_ops_p)): New vector type. | |
4529 | (target_structs): Change type to VEC (target_ops_p). | |
4530 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
4531 | (find_default_run_target): Rewrite for loop following changes to | |
4532 | target_structs. | |
4533 | ||
4534 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> | |
4535 | ||
4536 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
4537 | Adjust code accordingly. Adjust function description comment. | |
4538 | ||
4539 | 2014-08-19 Yao Qi <yao@codesourcery.com> | |
4540 | ||
4541 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
4542 | types. | |
4543 | ||
4544 | 2014-08-19 Alan Modra <amodra@gmail.com> | |
4545 | ||
4546 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
4547 | * config.in: Regenerate. | |
4548 | * configure: Regenerate. | |
4549 | ||
4550 | 2014-08-19 Tom Tromey <tromey@redhat.com> | |
4551 | Gary Benson <gbenson@redhat.com> | |
4552 | ||
4553 | * common/common-debug.h: New file. | |
4554 | * common/common-debug.c: Likewise. | |
4555 | * debug.c: Likewise. | |
4556 | * Makefile.in (SFILES): Add common/common-debug.c. | |
4557 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
4558 | (COMMON_OBS): Add common-debug.o and debug.o. | |
4559 | (common-debug.o): New rule. | |
4560 | * common/common-defs.h: Include common-debug.h. | |
4561 | * common/agent.c (debug_agent_printf): New function. | |
4562 | (DEBUG_AGENT): Redefine. | |
4563 | * nat/i386-dregs.c (debug_printf): Undefine. | |
4564 | ||
4565 | 2014-08-19 Gary Benson <gbenson@redhat.com> | |
4566 | ||
4567 | * common/common-defs.h: Include print-utils.h. | |
4568 | * utils.h: Do not include print-utils.h. | |
4569 | ||
4570 | 2014-08-19 Tom Tromey <tromey@redhat.com> | |
4571 | Gary Benson <gbenson@redhat.com> | |
4572 | ||
4573 | * common/common-types.h: New file. | |
4574 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
4575 | * common/common-defs.h: Include common-types.h. | |
4576 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
4577 | (ULONGEST): Remove. | |
4578 | ||
4579 | 2014-08-19 Tom Tromey <tromey@redhat.com> | |
4580 | Gary Benson <gbenson@redhat.com> | |
4581 | ||
4582 | * common/errors.h: New file. | |
4583 | * common/errors.c: Likewise. | |
4584 | * Makefile.in (SFILES): Add common/errors.c. | |
4585 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
4586 | (COMMON_OBS): Add errors.o. | |
4587 | (errors.o): New rule. | |
4588 | * common/common-defs.h: Include errors.h. | |
4589 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
4590 | Don't declare. | |
4591 | * common/common-utils.h: (malloc_failure, internal_error): | |
4592 | Likewise. | |
4593 | ||
4594 | 2014-08-19 Gary Benson <gbenson@redhat.com> | |
4595 | ||
4596 | * utils.c (internal_vproblem): Always print the message. | |
4597 | ||
4598 | 2014-08-18 Doug Evans <dje@google.com> | |
4599 | ||
4600 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
4601 | ||
4602 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> | |
4603 | ||
4604 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
4605 | Return 0 if TYPE is dynamic. | |
4606 | (print_range): Add handling of dynamic ranges. | |
4607 | ||
4608 | 2014-08-18 Keven Boell <keven.boell@intel.com> | |
4609 | Joel Brobecker <brobecker@adacore.com> | |
4610 | ||
4611 | * gdbtypes.h (struct main_type): Add field "data_location". | |
4612 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
4613 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
4614 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
4615 | a dynamic data location. | |
4616 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
4617 | (copy_recursive, copy_type): Copy the data_location information | |
4618 | when present. | |
4619 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
4620 | * value.c (value_from_contents_and_address): Add | |
4621 | DW_AT_data_location handling. | |
4622 | ||
4623 | 2014-08-18 Keven Boell <keven.boell@intel.com> | |
4624 | Joel Brobecker <brobecker@adacore.com> | |
4625 | ||
4626 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
4627 | field "get_object_address". | |
4628 | * dwarf2expr.c (execute_stack_op): Add handling for | |
4629 | DW_OP_push_object_address. | |
4630 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
4631 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
4632 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
4633 | (dwarf_expr_get_obj_addr): New function. | |
4634 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
4635 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
4636 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
4637 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
4638 | (needs_get_obj_addr): New function. | |
4639 | (needs_frame_ctx_funcs): Add get_object_address field. | |
4640 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
4641 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
4642 | (resolve_dynamic_array): Likewise. | |
4643 | ||
4644 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> | |
4645 | ||
4646 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
4647 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
4648 | fixed value for records and unions for which some GNAT encodings | |
4649 | are present. | |
4650 | ||
4651 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> | |
4652 | ||
4653 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
4654 | rewrite to avoid "else if" and "else" constructs. Should be | |
4655 | a no-op in practice. | |
4656 | ||
4657 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> | |
4658 | ||
4659 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
4660 | of lexical block. | |
4661 | ||
4662 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> | |
4663 | ||
4664 | PR c++/17132 | |
4665 | * eval.c: Update all calls to find_overload_match. | |
4666 | * valarith.c: Likewise. | |
4667 | (value_user_defined_cpp_op, value_user_defined_op): New | |
4668 | argument NOSIDE. Update all callers. | |
4669 | * valops.c (find_overload_match): New argument NOSIDE. | |
4670 | * value.h (find_overload_match): Update signature. | |
4671 | ||
4672 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> | |
4673 | ||
4674 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
4675 | 'items' methods instead of 'iteritems' method on dictionaries. | |
4676 | ||
4677 | 2014-08-15 Doug Evans <dje@google.com> | |
4678 | ||
4679 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
4680 | closer to use. | |
4681 | ||
4682 | 2014-08-15 Doug Evans <dje@google.com> | |
4683 | ||
4684 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
4685 | ||
4686 | 2014-08-15 Doug Evans <dje@google.com> | |
4687 | ||
4688 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
4689 | ||
4690 | 2014-08-15 Doug Evans <dje@google.com> | |
4691 | ||
4692 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
4693 | unused. | |
4694 | ||
4695 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> | |
4696 | ||
4697 | * dcache.h: Include target.h, to avoid compile time warnings. | |
4698 | ||
4699 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> | |
4700 | ||
4701 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
4702 | frame_info" partial declaration. | |
4703 | * gdbarch.h: Regenerate. | |
4704 | ||
4705 | 2014-08-15 Yao Qi <yao@codesourcery.com> | |
4706 | ||
4707 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
4708 | Add parameter 'decode_for_pst_p'. Callers update. | |
4709 | ||
4710 | 2014-08-13 Yao Qi <yao@codesourcery.com> | |
4711 | ||
4712 | PR build/17104 | |
4713 | * configure.ac: Use local variable 'pos'. | |
4714 | * configure: Regenerated. | |
4715 | ||
4716 | 2014-08-11 Doug Evans <dje@google.com> | |
4717 | ||
4718 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
4719 | message, it is redundant with "Reading symbols from ..." message. | |
4720 | ||
4721 | 2014-08-10 Doug Evans <xdje42@gmail.com> | |
4722 | ||
4723 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
4724 | ||
4725 | 2014-08-09 Yao Qi <yao@codesourcery.com> | |
4726 | ||
4727 | PR remote/9053 | |
4728 | * remote.c (remote_xfer_partial): Remove dead code. | |
4729 | ||
4730 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4731 | ||
4732 | * ia64-linux-tdep.c: Include "regset.h". | |
4733 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
4734 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
4735 | (ia64_linux_supply_fpregset): New function. | |
4736 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
4737 | (ia64_linux_regset_from_core_section): New function. | |
4738 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
4739 | method. | |
4740 | ||
4741 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4742 | ||
4743 | * m68klinux-tdep.c: Include "regset.h". | |
4744 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
4745 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
4746 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
4747 | (m68k_linux_regset_from_core_section): New function. | |
4748 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
4749 | method. | |
4750 | ||
4751 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4752 | ||
4753 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
4754 | function. Move logic to... | |
4755 | (tilegx_linux_regmap): ... this new register map. | |
4756 | (tilegx_linux_regset): Refer to register map, replace supply | |
4757 | method by regcache_supply_regset, and add collect method. | |
4758 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
4759 | TILEGX_FIRST_EASY_REGNUM. | |
4760 | ||
4761 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4762 | ||
4763 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
4764 | that calls regcache_supply_regset and handles the EPC register | |
4765 | separately. Move main logic to... | |
4766 | (score7_linux_gregmap): ... this new register map. | |
4767 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
4768 | (score7_linux_gregset): Refer to register map. Add collect method. | |
4769 | (score7_linux_regset_from_core_section): Replace | |
4770 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
4771 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
4772 | (struct regset): Delete unused forward declaraction. | |
4773 | (struct pt_regs): Delete structure definition. | |
4774 | (elf_gregset_t): Delete typedef. | |
4775 | ||
4776 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4777 | ||
4778 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
4779 | (nios2_core_regset): Add collect method. | |
4780 | ||
4781 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4782 | ||
4783 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
4784 | platform-independent and don't write to read-only input buffer. | |
4785 | (m32r_linux_collect_gregset): New function. | |
4786 | (m32r_linux_gregset): Add collect method. | |
4787 | ||
4788 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4789 | ||
4790 | * hppa-linux-tdep.c (greg_map): Rename to... | |
4791 | (hppa_linux_gregmap): ... this. Also convert to | |
4792 | regcache_map_entry format. | |
4793 | (hppa_linux_supply_regset): Delete function. | |
4794 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
4795 | (hppa_linux_fpregmap): ... this new register map. | |
4796 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
4797 | register map, replace supply method by regcache_supply_regset, and | |
4798 | add collect method regcache_collect_regset. | |
4799 | ||
4800 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4801 | ||
4802 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
4803 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
4804 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
4805 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
4806 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
4807 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
4808 | (frv_linux_supply_gregset): Replace main logic by call to | |
4809 | regcache_supply_regset, but keep clearing gr32-gr63. | |
4810 | (frv_linux_supply_fpregset): Delete function. | |
4811 | (frv_linux_gregset): Refer to appropriate register map and add | |
4812 | regcache_collect_regset as the collect method. | |
4813 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
4814 | by regcache_supply_regset. | |
4815 | ||
4816 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4817 | ||
4818 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
4819 | by call to alpha_supply_int_regs. | |
4820 | (alpha_linux_collect_gregset): New function. | |
4821 | (alpha_linux_supply_fpregset): Replace logic by call to | |
4822 | alpha_supply_fp_regs. | |
4823 | (alpha_linux_collect_fpregset): New function. | |
4824 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
4825 | ||
4826 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4827 | ||
4828 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
4829 | by call to regcache_collect_regset. | |
4830 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
4831 | instead of aarch64_linux_supply_gregset/_fpregset. | |
4832 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
4833 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
4834 | header file instead. | |
4835 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
4836 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
4837 | functions. Move logic to ... | |
4838 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
4839 | register maps. | |
4840 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
4841 | refer to new register maps, replace *_regset_from_core by | |
4842 | regcache_supply_regset, and also use regcache_collect_regset. | |
4843 | * aarch64-linux-tdep.h: Include "regset.h". | |
4844 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
4845 | Delete prototypes. | |
4846 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
4847 | macros, moved from C source file. | |
4848 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
4849 | variable declarations. | |
4850 | ||
4851 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4852 | ||
4853 | * s390-linux-nat.c: Include "regset.h". | |
4854 | (regmap_gregset): Delete macro. | |
4855 | (s390_64_regmap_gregset): New register map for | |
4856 | regcache_supply/_collect_regset. | |
4857 | (s390_64_gregset): New regset. | |
4858 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
4859 | (regmap_fpregset): Delete macro. | |
4860 | (s390_native_supply, s390_native_collect): Delete functions. | |
4861 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
4862 | handling by a call to regcache_supply/_collect_regset. | |
4863 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
4864 | _collect_regset instead of s390_native_supply/_collect. | |
4865 | (fetch_regset, store_regset): Likewise. Also change the last | |
4866 | parameter to a regset instead of a regmap. | |
4867 | (s390_linux_fetch_inferior_registers) | |
4868 | (390_linux_store_inferior_registers): Adjust last parameter in | |
4869 | calls to fetch_regset and store_regset. | |
4870 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
4871 | (s390_gregmap): ... this. Also make static const and convert to | |
4872 | regcache_map_entry format. | |
4873 | (s390x_regmap_gregset): Delete. | |
4874 | (s390_regmap_fpregset): Rename to... | |
4875 | (s390_fpregmap): ... this. Make static const and convert to | |
4876 | regcache_map_entry format. | |
4877 | (s390_regmap_upper, s390_regmap_last_break) | |
4878 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4879 | (s390_regmap_tdb): Likewise. | |
4880 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
4881 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
4882 | s390_supply_regset. | |
4883 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
4884 | (s390_last_break_regset, s390x_last_break_regset) | |
4885 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
4886 | replace s390_supply/_collect_regset by regcache_supply/ | |
4887 | _collect_regset. | |
4888 | (s390x_gregset): Delete. | |
4889 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
4890 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
4891 | (s390_regmap_fpregset, s390_regmap_last_break) | |
4892 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4893 | (s390_regmap_tdb): Delete global variable declarations. | |
4894 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
4895 | (s390x_last_break_regset, s390_system_call_regset) | |
4896 | (s390_tdb_regset): New global variable declarations. | |
4897 | ||
4898 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4899 | ||
4900 | * regcache.c: Include "regset.h". | |
4901 | (regcache_transfer_regset): New local function. | |
4902 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
4903 | * regcache.h (struct regcache_map_entry): New structure. | |
4904 | (REGCACHE_MAP_SKIP): New enum value. | |
4905 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
4906 | ||
4907 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
4908 | ||
4909 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
4910 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
4911 | (ppc_linux_collect_gregset ): Likewise. | |
4912 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
4913 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
4914 | (ppc_collect_vrregset): Likewise. | |
4915 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
4916 | Likewise. | |
4917 | ||
4918 | 2014-08-07 Yao Qi <yao@codesourcery.com> | |
4919 | ||
4920 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
4921 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
4922 | * remote.c (remote_read_bytes): Likewise. | |
4923 | ||
4924 | 2014-08-07 Yao Qi <yao@codesourcery.com> | |
4925 | ||
4926 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
4927 | ||
4928 | 2014-08-07 Yao Qi <yao@codesourcery.com> | |
4929 | ||
4930 | PR remote/17230 | |
4931 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
4932 | TARGET_XFER_OK instead of 0. | |
4933 | ||
4934 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
4935 | ||
4936 | * common/common-defs.h: Include errno.h. | |
4937 | * defs.h: Do not include errno.h. | |
4938 | * ada-typeprint.c: Likewise. | |
4939 | * c-typeprint.c: Likewise. | |
4940 | * core-regset.c: Likewise. | |
4941 | * corefile.c: Likewise. | |
4942 | * corelow.c: Likewise. | |
4943 | * event-loop.c: Likewise. | |
4944 | * f-typeprint.c: Likewise. | |
4945 | * gnu-nat.c: Likewise. | |
4946 | * go32-nat.c: Likewise. | |
4947 | * i386gnu-nat.c: Likewise. | |
4948 | * m2-typeprint.c: Likewise. | |
4949 | * nat/linux-btrace.c: Likewise. | |
4950 | * p-typeprint.c: Likewise. | |
4951 | * procfs.c: Likewise. | |
4952 | * remote-sim.c: Likewise. | |
4953 | * rs6000-nat.c: Likewise. | |
4954 | * target.c: Likewise. | |
4955 | * typeprint.c: Likewise. | |
4956 | * ui-file.c: Likewise. | |
4957 | * valops.c: Likewise. | |
4958 | * valprint.c: Likewise. | |
4959 | ||
4960 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
4961 | ||
4962 | * common/common-defs.h: Include string.h. | |
4963 | * aarch64-tdep.c: Do not include string.h. | |
4964 | * ada-exp.y: Likewise. | |
4965 | * ada-lang.c: Likewise. | |
4966 | * ada-lex.l: Likewise. | |
4967 | * ada-typeprint.c: Likewise. | |
4968 | * ada-valprint.c: Likewise. | |
4969 | * aix-thread.c: Likewise. | |
4970 | * alpha-linux-tdep.c: Likewise. | |
4971 | * alpha-mdebug-tdep.c: Likewise. | |
4972 | * alpha-nat.c: Likewise. | |
4973 | * alpha-osf1-tdep.c: Likewise. | |
4974 | * alpha-tdep.c: Likewise. | |
4975 | * alphanbsd-tdep.c: Likewise. | |
4976 | * amd64-dicos-tdep.c: Likewise. | |
4977 | * amd64-linux-tdep.c: Likewise. | |
4978 | * amd64-nat.c: Likewise. | |
4979 | * amd64-sol2-tdep.c: Likewise. | |
4980 | * amd64fbsd-tdep.c: Likewise. | |
4981 | * amd64obsd-tdep.c: Likewise. | |
4982 | * arch-utils.c: Likewise. | |
4983 | * arm-linux-nat.c: Likewise. | |
4984 | * arm-linux-tdep.c: Likewise. | |
4985 | * arm-tdep.c: Likewise. | |
4986 | * arm-wince-tdep.c: Likewise. | |
4987 | * armbsd-tdep.c: Likewise. | |
4988 | * armnbsd-nat.c: Likewise. | |
4989 | * armnbsd-tdep.c: Likewise. | |
4990 | * armobsd-tdep.c: Likewise. | |
4991 | * avr-tdep.c: Likewise. | |
4992 | * ax-gdb.c: Likewise. | |
4993 | * ax-general.c: Likewise. | |
4994 | * bcache.c: Likewise. | |
4995 | * bfin-tdep.c: Likewise. | |
4996 | * breakpoint.c: Likewise. | |
4997 | * build-id.c: Likewise. | |
4998 | * buildsym.c: Likewise. | |
4999 | * c-exp.y: Likewise. | |
5000 | * c-lang.c: Likewise. | |
5001 | * c-typeprint.c: Likewise. | |
5002 | * c-valprint.c: Likewise. | |
5003 | * charset.c: Likewise. | |
5004 | * cli-out.c: Likewise. | |
5005 | * cli/cli-cmds.c: Likewise. | |
5006 | * cli/cli-decode.c: Likewise. | |
5007 | * cli/cli-dump.c: Likewise. | |
5008 | * cli/cli-interp.c: Likewise. | |
5009 | * cli/cli-logging.c: Likewise. | |
5010 | * cli/cli-script.c: Likewise. | |
5011 | * cli/cli-setshow.c: Likewise. | |
5012 | * cli/cli-utils.c: Likewise. | |
5013 | * coffread.c: Likewise. | |
5014 | * common/agent.c: Likewise. | |
5015 | * common/buffer.c: Likewise. | |
5016 | * common/buffer.h: Likewise. | |
5017 | * common/common-utils.c: Likewise. | |
5018 | * common/filestuff.c: Likewise. | |
5019 | * common/filestuff.c: Likewise. | |
5020 | * common/format.c: Likewise. | |
5021 | * common/print-utils.c: Likewise. | |
5022 | * common/rsp-low.c: Likewise. | |
5023 | * common/signals.c: Likewise. | |
5024 | * common/vec.h: Likewise. | |
5025 | * common/xml-utils.c: Likewise. | |
5026 | * core-regset.c: Likewise. | |
5027 | * corefile.c: Likewise. | |
5028 | * corelow.c: Likewise. | |
5029 | * cp-abi.c: Likewise. | |
5030 | * cp-name-parser.y: Likewise. | |
5031 | * cp-support.c: Likewise. | |
5032 | * cp-valprint.c: Likewise. | |
5033 | * cris-tdep.c: Likewise. | |
5034 | * d-exp.y: Likewise. | |
5035 | * darwin-nat.c: Likewise. | |
5036 | * dbxread.c: Likewise. | |
5037 | * dcache.c: Likewise. | |
5038 | * demangle.c: Likewise. | |
5039 | * dicos-tdep.c: Likewise. | |
5040 | * disasm.c: Likewise. | |
5041 | * doublest.c: Likewise. | |
5042 | * dsrec.c: Likewise. | |
5043 | * dummy-frame.c: Likewise. | |
5044 | * dwarf2-frame.c: Likewise. | |
5045 | * dwarf2loc.c: Likewise. | |
5046 | * dwarf2read.c: Likewise. | |
5047 | * elfread.c: Likewise. | |
5048 | * environ.c: Likewise. | |
5049 | * eval.c: Likewise. | |
5050 | * event-loop.c: Likewise. | |
5051 | * exceptions.c: Likewise. | |
5052 | * exec.c: Likewise. | |
5053 | * expprint.c: Likewise. | |
5054 | * f-exp.y: Likewise. | |
5055 | * f-lang.c: Likewise. | |
5056 | * f-typeprint.c: Likewise. | |
5057 | * f-valprint.c: Likewise. | |
5058 | * fbsd-nat.c: Likewise. | |
5059 | * findcmd.c: Likewise. | |
5060 | * findvar.c: Likewise. | |
5061 | * fork-child.c: Likewise. | |
5062 | * frame.c: Likewise. | |
5063 | * frv-linux-tdep.c: Likewise. | |
5064 | * frv-tdep.c: Likewise. | |
5065 | * gdb.c: Likewise. | |
5066 | * gdb_bfd.c: Likewise. | |
5067 | * gdbarch.c: Likewise. | |
5068 | * gdbarch.sh: Likewise. | |
5069 | * gdbtypes.c: Likewise. | |
5070 | * gnu-nat.c: Likewise. | |
5071 | * gnu-v2-abi.c: Likewise. | |
5072 | * gnu-v3-abi.c: Likewise. | |
5073 | * go-exp.y: Likewise. | |
5074 | * go-lang.c: Likewise. | |
5075 | * go32-nat.c: Likewise. | |
5076 | * guile/guile.c: Likewise. | |
5077 | * guile/scm-auto-load.c: Likewise. | |
5078 | * hppa-hpux-tdep.c: Likewise. | |
5079 | * hppa-linux-nat.c: Likewise. | |
5080 | * hppanbsd-tdep.c: Likewise. | |
5081 | * hppaobsd-tdep.c: Likewise. | |
5082 | * i386-cygwin-tdep.c: Likewise. | |
5083 | * i386-dicos-tdep.c: Likewise. | |
5084 | * i386-linux-tdep.c: Likewise. | |
5085 | * i386-nto-tdep.c: Likewise. | |
5086 | * i386-sol2-tdep.c: Likewise. | |
5087 | * i386-tdep.c: Likewise. | |
5088 | * i386bsd-tdep.c: Likewise. | |
5089 | * i386gnu-nat.c: Likewise. | |
5090 | * i386nbsd-tdep.c: Likewise. | |
5091 | * i386obsd-tdep.c: Likewise. | |
5092 | * i387-tdep.c: Likewise. | |
5093 | * ia64-libunwind-tdep.c: Likewise. | |
5094 | * ia64-linux-nat.c: Likewise. | |
5095 | * inf-child.c: Likewise. | |
5096 | * inf-ptrace.c: Likewise. | |
5097 | * inf-ttrace.c: Likewise. | |
5098 | * infcall.c: Likewise. | |
5099 | * infcmd.c: Likewise. | |
5100 | * inflow.c: Likewise. | |
5101 | * infrun.c: Likewise. | |
5102 | * interps.c: Likewise. | |
5103 | * iq2000-tdep.c: Likewise. | |
5104 | * irix5-nat.c: Likewise. | |
5105 | * jv-exp.y: Likewise. | |
5106 | * jv-lang.c: Likewise. | |
5107 | * jv-typeprint.c: Likewise. | |
5108 | * jv-valprint.c: Likewise. | |
5109 | * language.c: Likewise. | |
5110 | * linux-fork.c: Likewise. | |
5111 | * linux-nat.c: Likewise. | |
5112 | * lm32-tdep.c: Likewise. | |
5113 | * m2-exp.y: Likewise. | |
5114 | * m2-typeprint.c: Likewise. | |
5115 | * m32c-tdep.c: Likewise. | |
5116 | * m32r-linux-nat.c: Likewise. | |
5117 | * m32r-linux-tdep.c: Likewise. | |
5118 | * m32r-rom.c: Likewise. | |
5119 | * m32r-tdep.c: Likewise. | |
5120 | * m68hc11-tdep.c: Likewise. | |
5121 | * m68k-tdep.c: Likewise. | |
5122 | * m68kbsd-tdep.c: Likewise. | |
5123 | * m68klinux-nat.c: Likewise. | |
5124 | * m68klinux-tdep.c: Likewise. | |
5125 | * m88k-tdep.c: Likewise. | |
5126 | * machoread.c: Likewise. | |
5127 | * macrocmd.c: Likewise. | |
5128 | * main.c: Likewise. | |
5129 | * mdebugread.c: Likewise. | |
5130 | * mem-break.c: Likewise. | |
5131 | * memattr.c: Likewise. | |
5132 | * memory-map.c: Likewise. | |
5133 | * mep-tdep.c: Likewise. | |
5134 | * mi/mi-cmd-break.c: Likewise. | |
5135 | * mi/mi-cmd-disas.c: Likewise. | |
5136 | * mi/mi-cmd-env.c: Likewise. | |
5137 | * mi/mi-cmd-stack.c: Likewise. | |
5138 | * mi/mi-cmd-var.c: Likewise. | |
5139 | * mi/mi-cmds.c: Likewise. | |
5140 | * mi/mi-console.c: Likewise. | |
5141 | * mi/mi-getopt.c: Likewise. | |
5142 | * mi/mi-interp.c: Likewise. | |
5143 | * mi/mi-main.c: Likewise. | |
5144 | * mi/mi-parse.c: Likewise. | |
5145 | * microblaze-rom.c: Likewise. | |
5146 | * microblaze-tdep.c: Likewise. | |
5147 | * mingw-hdep.c: Likewise. | |
5148 | * minidebug.c: Likewise. | |
5149 | * minsyms.c: Likewise. | |
5150 | * mips-irix-tdep.c: Likewise. | |
5151 | * mips-linux-tdep.c: Likewise. | |
5152 | * mips-tdep.c: Likewise. | |
5153 | * mips64obsd-tdep.c: Likewise. | |
5154 | * mipsnbsd-tdep.c: Likewise. | |
5155 | * mipsread.c: Likewise. | |
5156 | * mn10300-linux-tdep.c: Likewise. | |
5157 | * mn10300-tdep.c: Likewise. | |
5158 | * monitor.c: Likewise. | |
5159 | * moxie-tdep.c: Likewise. | |
5160 | * mt-tdep.c: Likewise. | |
5161 | * nat/linux-btrace.c: Likewise. | |
5162 | * nat/linux-osdata.c: Likewise. | |
5163 | * nat/linux-procfs.c: Likewise. | |
5164 | * nat/linux-ptrace.c: Likewise. | |
5165 | * nat/linux-waitpid.c: Likewise. | |
5166 | * nbsd-tdep.c: Likewise. | |
5167 | * nios2-linux-tdep.c: Likewise. | |
5168 | * nto-procfs.c: Likewise. | |
5169 | * nto-tdep.c: Likewise. | |
5170 | * objc-lang.c: Likewise. | |
5171 | * objfiles.c: Likewise. | |
5172 | * opencl-lang.c: Likewise. | |
5173 | * osabi.c: Likewise. | |
5174 | * osdata.c: Likewise. | |
5175 | * p-exp.y: Likewise. | |
5176 | * p-lang.c: Likewise. | |
5177 | * p-typeprint.c: Likewise. | |
5178 | * parse.c: Likewise. | |
5179 | * posix-hdep.c: Likewise. | |
5180 | * ppc-linux-nat.c: Likewise. | |
5181 | * ppc-sysv-tdep.c: Likewise. | |
5182 | * ppcfbsd-tdep.c: Likewise. | |
5183 | * ppcnbsd-tdep.c: Likewise. | |
5184 | * ppcobsd-tdep.c: Likewise. | |
5185 | * printcmd.c: Likewise. | |
5186 | * procfs.c: Likewise. | |
5187 | * prologue-value.c: Likewise. | |
5188 | * python/py-auto-load.c: Likewise. | |
5189 | * python/py-gdb-readline.c: Likewise. | |
5190 | * ravenscar-thread.c: Likewise. | |
5191 | * regcache.c: Likewise. | |
5192 | * registry.c: Likewise. | |
5193 | * remote-fileio.c: Likewise. | |
5194 | * remote-m32r-sdi.c: Likewise. | |
5195 | * remote-mips.c: Likewise. | |
5196 | * remote-notif.c: Likewise. | |
5197 | * remote-sim.c: Likewise. | |
5198 | * remote.c: Likewise. | |
5199 | * reverse.c: Likewise. | |
5200 | * rs6000-aix-tdep.c: Likewise. | |
5201 | * ser-base.c: Likewise. | |
5202 | * ser-go32.c: Likewise. | |
5203 | * ser-mingw.c: Likewise. | |
5204 | * ser-pipe.c: Likewise. | |
5205 | * ser-tcp.c: Likewise. | |
5206 | * ser-unix.c: Likewise. | |
5207 | * serial.c: Likewise. | |
5208 | * sh-tdep.c: Likewise. | |
5209 | * sh64-tdep.c: Likewise. | |
5210 | * shnbsd-tdep.c: Likewise. | |
5211 | * skip.c: Likewise. | |
5212 | * sol-thread.c: Likewise. | |
5213 | * solib-dsbt.c: Likewise. | |
5214 | * solib-frv.c: Likewise. | |
5215 | * solib-osf.c: Likewise. | |
5216 | * solib-som.c: Likewise. | |
5217 | * solib-spu.c: Likewise. | |
5218 | * solib-target.c: Likewise. | |
5219 | * solib.c: Likewise. | |
5220 | * somread.c: Likewise. | |
5221 | * source.c: Likewise. | |
5222 | * sparc-nat.c: Likewise. | |
5223 | * sparc-sol2-tdep.c: Likewise. | |
5224 | * sparc-tdep.c: Likewise. | |
5225 | * sparc64-tdep.c: Likewise. | |
5226 | * sparc64fbsd-tdep.c: Likewise. | |
5227 | * sparc64nbsd-tdep.c: Likewise. | |
5228 | * sparcnbsd-tdep.c: Likewise. | |
5229 | * spu-linux-nat.c: Likewise. | |
5230 | * spu-multiarch.c: Likewise. | |
5231 | * spu-tdep.c: Likewise. | |
5232 | * stabsread.c: Likewise. | |
5233 | * stack.c: Likewise. | |
5234 | * std-regs.c: Likewise. | |
5235 | * symfile.c: Likewise. | |
5236 | * symmisc.c: Likewise. | |
5237 | * symtab.c: Likewise. | |
5238 | * target.c: Likewise. | |
5239 | * thread.c: Likewise. | |
5240 | * tilegx-linux-nat.c: Likewise. | |
5241 | * tilegx-tdep.c: Likewise. | |
5242 | * top.c: Likewise. | |
5243 | * tracepoint.c: Likewise. | |
5244 | * tui/tui-command.c: Likewise. | |
5245 | * tui/tui-data.c: Likewise. | |
5246 | * tui/tui-disasm.c: Likewise. | |
5247 | * tui/tui-file.c: Likewise. | |
5248 | * tui/tui-layout.c: Likewise. | |
5249 | * tui/tui-out.c: Likewise. | |
5250 | * tui/tui-regs.c: Likewise. | |
5251 | * tui/tui-source.c: Likewise. | |
5252 | * tui/tui-stack.c: Likewise. | |
5253 | * tui/tui-win.c: Likewise. | |
5254 | * tui/tui-windata.c: Likewise. | |
5255 | * tui/tui-winsource.c: Likewise. | |
5256 | * typeprint.c: Likewise. | |
5257 | * ui-file.c: Likewise. | |
5258 | * ui-out.c: Likewise. | |
5259 | * user-regs.c: Likewise. | |
5260 | * utils.c: Likewise. | |
5261 | * v850-tdep.c: Likewise. | |
5262 | * valarith.c: Likewise. | |
5263 | * valops.c: Likewise. | |
5264 | * valprint.c: Likewise. | |
5265 | * value.c: Likewise. | |
5266 | * varobj.c: Likewise. | |
5267 | * vax-tdep.c: Likewise. | |
5268 | * vaxnbsd-tdep.c: Likewise. | |
5269 | * vaxobsd-tdep.c: Likewise. | |
5270 | * windows-nat.c: Likewise. | |
5271 | * xcoffread.c: Likewise. | |
5272 | * xml-support.c: Likewise. | |
5273 | * xstormy16-tdep.c: Likewise. | |
5274 | * xtensa-linux-nat.c: Likewise. | |
5275 | ||
5276 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5277 | ||
5278 | * common/common-defs.h: Include gdb_assert.h. | |
5279 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
5280 | * addrmap.c: Likewise. | |
5281 | * aix-thread.c: Likewise. | |
5282 | * alpha-linux-tdep.c: Likewise. | |
5283 | * alpha-mdebug-tdep.c: Likewise. | |
5284 | * alphanbsd-tdep.c: Likewise. | |
5285 | * amd64-nat.c: Likewise. | |
5286 | * amd64-tdep.c: Likewise. | |
5287 | * amd64bsd-nat.c: Likewise. | |
5288 | * amd64fbsd-nat.c: Likewise. | |
5289 | * amd64fbsd-tdep.c: Likewise. | |
5290 | * amd64nbsd-nat.c: Likewise. | |
5291 | * amd64nbsd-tdep.c: Likewise. | |
5292 | * amd64obsd-nat.c: Likewise. | |
5293 | * amd64obsd-tdep.c: Likewise. | |
5294 | * arch-utils.c: Likewise. | |
5295 | * arm-tdep.c: Likewise. | |
5296 | * armbsd-tdep.c: Likewise. | |
5297 | * auxv.c: Likewise. | |
5298 | * bcache.c: Likewise. | |
5299 | * bfin-tdep.c: Likewise. | |
5300 | * blockframe.c: Likewise. | |
5301 | * breakpoint.c: Likewise. | |
5302 | * bsd-kvm.c: Likewise. | |
5303 | * bsd-uthread.c: Likewise. | |
5304 | * buildsym.c: Likewise. | |
5305 | * c-exp.y: Likewise. | |
5306 | * c-lang.c: Likewise. | |
5307 | * charset.c: Likewise. | |
5308 | * cleanups.c: Likewise. | |
5309 | * cli-out.c: Likewise. | |
5310 | * cli/cli-decode.c: Likewise. | |
5311 | * cli/cli-dump.c: Likewise. | |
5312 | * cli/cli-logging.c: Likewise. | |
5313 | * cli/cli-script.c: Likewise. | |
5314 | * cli/cli-utils.c: Likewise. | |
5315 | * coffread.c: Likewise. | |
5316 | * common/common-utils.c: Likewise. | |
5317 | * common/queue.h: Likewise. | |
5318 | * common/signals.c: Likewise. | |
5319 | * common/vec.h: Likewise. | |
5320 | * complaints.c: Likewise. | |
5321 | * completer.c: Likewise. | |
5322 | * corelow.c: Likewise. | |
5323 | * cp-abi.c: Likewise. | |
5324 | * cp-name-parser.y: Likewise. | |
5325 | * cp-namespace.c: Likewise. | |
5326 | * cp-support.c: Likewise. | |
5327 | * cris-tdep.c: Likewise. | |
5328 | * dbxread.c: Likewise. | |
5329 | * dictionary.c: Likewise. | |
5330 | * doublest.c: Likewise. | |
5331 | * dsrec.c: Likewise. | |
5332 | * dummy-frame.c: Likewise. | |
5333 | * dwarf2-frame-tailcall.c: Likewise. | |
5334 | * dwarf2-frame.c: Likewise. | |
5335 | * dwarf2expr.c: Likewise. | |
5336 | * dwarf2loc.c: Likewise. | |
5337 | * dwarf2read.c: Likewise. | |
5338 | * eval.c: Likewise. | |
5339 | * event-loop.c: Likewise. | |
5340 | * exceptions.c: Likewise. | |
5341 | * expprint.c: Likewise. | |
5342 | * f-valprint.c: Likewise. | |
5343 | * fbsd-nat.c: Likewise. | |
5344 | * findvar.c: Likewise. | |
5345 | * frame-unwind.c: Likewise. | |
5346 | * frame.c: Likewise. | |
5347 | * frv-tdep.c: Likewise. | |
5348 | * gcore.c: Likewise. | |
5349 | * gdb-dlfcn.c: Likewise. | |
5350 | * gdb_bfd.c: Likewise. | |
5351 | * gdbarch.c: Likewise. | |
5352 | * gdbarch.sh: Likewise. | |
5353 | * gdbtypes.c: Likewise. | |
5354 | * gnu-nat.c: Likewise. | |
5355 | * gnu-v3-abi.c: Likewise. | |
5356 | * go-lang.c: Likewise. | |
5357 | * guile/scm-exception.c: Likewise. | |
5358 | * guile/scm-gsmob.c: Likewise. | |
5359 | * guile/scm-lazy-string.c: Likewise. | |
5360 | * guile/scm-math.c: Likewise. | |
5361 | * guile/scm-pretty-print.c: Likewise. | |
5362 | * guile/scm-safe-call.c: Likewise. | |
5363 | * guile/scm-utils.c: Likewise. | |
5364 | * guile/scm-value.c: Likewise. | |
5365 | * h8300-tdep.c: Likewise. | |
5366 | * hppa-hpux-nat.c: Likewise. | |
5367 | * hppa-tdep.c: Likewise. | |
5368 | * hppanbsd-tdep.c: Likewise. | |
5369 | * hppaobsd-tdep.c: Likewise. | |
5370 | * i386-darwin-nat.c: Likewise. | |
5371 | * i386-darwin-tdep.c: Likewise. | |
5372 | * i386-nto-tdep.c: Likewise. | |
5373 | * i386-tdep.c: Likewise. | |
5374 | * i386bsd-nat.c: Likewise. | |
5375 | * i386fbsd-tdep.c: Likewise. | |
5376 | * i386gnu-nat.c: Likewise. | |
5377 | * i386nbsd-tdep.c: Likewise. | |
5378 | * i386obsd-tdep.c: Likewise. | |
5379 | * i387-tdep.c: Likewise. | |
5380 | * ia64-libunwind-tdep.c: Likewise. | |
5381 | * ia64-tdep.c: Likewise. | |
5382 | * inf-ptrace.c: Likewise. | |
5383 | * inf-ttrace.c: Likewise. | |
5384 | * infcall.c: Likewise. | |
5385 | * infcmd.c: Likewise. | |
5386 | * infrun.c: Likewise. | |
5387 | * inline-frame.c: Likewise. | |
5388 | * interps.c: Likewise. | |
5389 | * jv-lang.c: Likewise. | |
5390 | * jv-typeprint.c: Likewise. | |
5391 | * linux-fork.c: Likewise. | |
5392 | * linux-nat.c: Likewise. | |
5393 | * linux-thread-db.c: Likewise. | |
5394 | * m32c-tdep.c: Likewise. | |
5395 | * m32r-linux-nat.c: Likewise. | |
5396 | * m32r-tdep.c: Likewise. | |
5397 | * m68k-tdep.c: Likewise. | |
5398 | * m68kbsd-nat.c: Likewise. | |
5399 | * m68kbsd-tdep.c: Likewise. | |
5400 | * m88k-tdep.c: Likewise. | |
5401 | * machoread.c: Likewise. | |
5402 | * macroexp.c: Likewise. | |
5403 | * macrotab.c: Likewise. | |
5404 | * maint.c: Likewise. | |
5405 | * mdebugread.c: Likewise. | |
5406 | * memory-map.c: Likewise. | |
5407 | * mep-tdep.c: Likewise. | |
5408 | * mi/mi-common.c: Likewise. | |
5409 | * microblaze-tdep.c: Likewise. | |
5410 | * mingw-hdep.c: Likewise. | |
5411 | * mips-linux-nat.c: Likewise. | |
5412 | * mips-linux-tdep.c: Likewise. | |
5413 | * mips-tdep.c: Likewise. | |
5414 | * mips64obsd-tdep.c: Likewise. | |
5415 | * mipsnbsd-tdep.c: Likewise. | |
5416 | * mn10300-linux-tdep.c: Likewise. | |
5417 | * mn10300-tdep.c: Likewise. | |
5418 | * moxie-tdep.c: Likewise. | |
5419 | * mt-tdep.c: Likewise. | |
5420 | * nat/linux-btrace.c: Likewise. | |
5421 | * nat/linux-osdata.c: Likewise. | |
5422 | * nat/linux-ptrace.c: Likewise. | |
5423 | * nat/mips-linux-watch.c: Likewise. | |
5424 | * nios2-linux-tdep.c: Likewise. | |
5425 | * nios2-tdep.c: Likewise. | |
5426 | * objc-lang.c: Likewise. | |
5427 | * objfiles.c: Likewise. | |
5428 | * obsd-nat.c: Likewise. | |
5429 | * opencl-lang.c: Likewise. | |
5430 | * osabi.c: Likewise. | |
5431 | * parse.c: Likewise. | |
5432 | * ppc-linux-nat.c: Likewise. | |
5433 | * ppc-sysv-tdep.c: Likewise. | |
5434 | * ppcfbsd-nat.c: Likewise. | |
5435 | * ppcfbsd-tdep.c: Likewise. | |
5436 | * ppcnbsd-nat.c: Likewise. | |
5437 | * ppcnbsd-tdep.c: Likewise. | |
5438 | * ppcobsd-nat.c: Likewise. | |
5439 | * ppcobsd-tdep.c: Likewise. | |
5440 | * printcmd.c: Likewise. | |
5441 | * procfs.c: Likewise. | |
5442 | * prologue-value.c: Likewise. | |
5443 | * psymtab.c: Likewise. | |
5444 | * python/py-lazy-string.c: Likewise. | |
5445 | * python/py-value.c: Likewise. | |
5446 | * regcache.c: Likewise. | |
5447 | * reggroups.c: Likewise. | |
5448 | * registry.c: Likewise. | |
5449 | * remote-sim.c: Likewise. | |
5450 | * remote.c: Likewise. | |
5451 | * rs6000-aix-tdep.c: Likewise. | |
5452 | * rs6000-tdep.c: Likewise. | |
5453 | * s390-linux-tdep.c: Likewise. | |
5454 | * score-tdep.c: Likewise. | |
5455 | * ser-base.c: Likewise. | |
5456 | * ser-mingw.c: Likewise. | |
5457 | * sh-tdep.c: Likewise. | |
5458 | * sh64-tdep.c: Likewise. | |
5459 | * solib-darwin.c: Likewise. | |
5460 | * solib-spu.c: Likewise. | |
5461 | * solib-svr4.c: Likewise. | |
5462 | * source.c: Likewise. | |
5463 | * sparc-nat.c: Likewise. | |
5464 | * sparc-sol2-tdep.c: Likewise. | |
5465 | * sparc-tdep.c: Likewise. | |
5466 | * sparc64-sol2-tdep.c: Likewise. | |
5467 | * sparc64-tdep.c: Likewise. | |
5468 | * sparc64fbsd-tdep.c: Likewise. | |
5469 | * sparc64nbsd-tdep.c: Likewise. | |
5470 | * sparc64obsd-tdep.c: Likewise. | |
5471 | * sparcnbsd-tdep.c: Likewise. | |
5472 | * sparcobsd-tdep.c: Likewise. | |
5473 | * spu-multiarch.c: Likewise. | |
5474 | * spu-tdep.c: Likewise. | |
5475 | * stabsread.c: Likewise. | |
5476 | * stack.c: Likewise. | |
5477 | * symfile.c: Likewise. | |
5478 | * symtab.c: Likewise. | |
5479 | * target-descriptions.c: Likewise. | |
5480 | * target-memory.c: Likewise. | |
5481 | * target.c: Likewise. | |
5482 | * tic6x-linux-tdep.c: Likewise. | |
5483 | * tic6x-tdep.c: Likewise. | |
5484 | * tilegx-linux-nat.c: Likewise. | |
5485 | * tilegx-tdep.c: Likewise. | |
5486 | * top.c: Likewise. | |
5487 | * tramp-frame.c: Likewise. | |
5488 | * tui/tui-out.c: Likewise. | |
5489 | * tui/tui-winsource.c: Likewise. | |
5490 | * ui-out.c: Likewise. | |
5491 | * user-regs.c: Likewise. | |
5492 | * utils.c: Likewise. | |
5493 | * v850-tdep.c: Likewise. | |
5494 | * valops.c: Likewise. | |
5495 | * value.c: Likewise. | |
5496 | * varobj.c: Likewise. | |
5497 | * vax-nat.c: Likewise. | |
5498 | * xml-syscall.c: Likewise. | |
5499 | * xml-tdesc.c: Likewise. | |
5500 | * xstormy16-tdep.c: Likewise. | |
5501 | * xtensa-linux-nat.c: Likewise. | |
5502 | * xtensa-tdep.c: Likewise. | |
5503 | ||
5504 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5505 | ||
5506 | * common/common-defs.h: Include common-utils.h. | |
5507 | * defs.h: Do not include common-utils.h. | |
5508 | * common/gdb_assert.h: Likewise. | |
5509 | * darwin-nat.h: Likewise. | |
5510 | * nat/linux-btrace.c: Likewise. | |
5511 | * target/waitstatus.h: Likewise. | |
5512 | ||
5513 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5514 | ||
5515 | * common/common-defs.h: Include ptid.h. | |
5516 | * defs.h: Do not include ptid.h. | |
5517 | * inferior.h: Likewise. | |
5518 | * infrun.h: Likewise. | |
5519 | * nat/linux-btrace.h: Likewise. | |
5520 | * nat/linux-osdata.h: Likewise. | |
5521 | * target/waitstatus.h: Likewise. | |
5522 | ||
5523 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5524 | ||
5525 | * common/common-defs.h: Include gdb_locale.h. | |
5526 | * defs.h: Do not include gdb_locale.h. | |
5527 | ||
5528 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5529 | ||
5530 | * common/common-defs.h: Include gdb/signals.h. | |
5531 | * defs.h: Do not include gdb/signals.h. | |
5532 | ||
5533 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5534 | ||
5535 | * common/common-defs.h: Include pathmax.h. | |
5536 | * defs.h: Do not include pathmax.h. | |
5537 | ||
5538 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5539 | ||
5540 | * common/common-defs.h: Include libiberty.h. | |
5541 | * defs.h: Do not include libiberty.h. | |
5542 | * common/queue.h: Likewise. | |
5543 | * cp-name-parser.y: Likewise. | |
5544 | * mi/mi-cmd-catch.c: Likewise. | |
5545 | * python/python.c: Likewise. | |
5546 | ||
5547 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5548 | ||
5549 | * common/common-defs.h: Include ansidecl.h. | |
5550 | * defs.h: Do not include ansidecl.h. | |
5551 | * common/buffer.h: Likewise. | |
5552 | * common/common-utils.h: Likewise. | |
5553 | ||
5554 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5555 | ||
5556 | * common/common-defs.h: Include stddef.h. | |
5557 | * defs.h: Do not include stddef.h. | |
5558 | * common/common-utils.h: Likewise. | |
5559 | * amd64fbsd-nat.c: Likewise. | |
5560 | * bcache.c: Likewise. | |
5561 | * charset.c: Likewise. | |
5562 | * common/buffer.h: Likewise. | |
5563 | * common/vec.h: Likewise. | |
5564 | * i386bsd-nat.c: Likewise. | |
5565 | * nat/linux-btrace.h: Likewise. | |
5566 | * ppcfbsd-nat.c: Likewise. | |
5567 | * ppcnbsd-tdep.h: Likewise. | |
5568 | * ppcobsd-nat.c: Likewise. | |
5569 | * ppcobsd-tdep.h: Likewise. | |
5570 | * python/py-gdb-readline.c: Likewise. | |
5571 | ||
5572 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5573 | ||
5574 | * common/common-defs.h: Include stdarg.h. | |
5575 | * defs.h: Do not include stdarg.h. | |
5576 | * ada-lang.c: Likewise. | |
5577 | * common/common-utils.h: Likewise. | |
5578 | * guile/scm-string.c: Likewise. | |
5579 | * guile/scm-utils.c: Likewise. | |
5580 | * m32c-tdep.c: Likewise. | |
5581 | ||
5582 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5583 | ||
5584 | * common/common-defs.h: Include stdlib.h. | |
5585 | * defs.h: Do not include stdlib.h. | |
5586 | * addrmap.c: Likewise. | |
5587 | * bcache.c: Likewise. | |
5588 | * common/buffer.c: Likewise. | |
5589 | * common/common-utils.c: Likewise. | |
5590 | * cp-name-parser.y: Likewise. | |
5591 | * go32-nat.c: Likewise. | |
5592 | * mn10300-linux-tdep.c: Likewise. | |
5593 | * nat/linux-osdata.c: Likewise. | |
5594 | * tui/tui.c: Likewise. | |
5595 | * windows-nat.c: Likewise. | |
5596 | ||
5597 | 2014-08-07 Gary Benson <gbenson@redhat.com> | |
5598 | ||
5599 | * common/common-defs.h: Include stdio.h. | |
5600 | * defs.h: Do not include stdio.h. | |
5601 | * ada-lang.c: Likewise. | |
5602 | * common/buffer.c: Likewise. | |
5603 | * common/common-utils.c: Likewise. | |
5604 | * cp-name-parser.y: Likewise. | |
5605 | * gnu-nat.c: Likewise. | |
5606 | * go32-nat.c: Likewise. | |
5607 | * i386gnu-nat.c: Likewise. | |
5608 | * proc-api.c: Likewise. | |
5609 | * proc-events.c: Likewise. | |
5610 | * proc-flags.c: Likewise. | |
5611 | * proc-why.c: Likewise. | |
5612 | * python/python-internal.h: Likewise. | |
5613 | * target-memory.c: Likewise. | |
5614 | * tui/tui-io.c: Likewise. | |
5615 | * tui/tui.c: Likewise. | |
5616 | ||
5617 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> | |
5618 | ||
5619 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
5620 | (scan_dyntag_auxv): Same. | |
5621 | ||
5622 | 2014-08-06 Yao Qi <yao@codesourcery.com> | |
5623 | ||
5624 | * amd64-linux-nat.c: Remove duplicated include | |
5625 | "x86-linux-nat.h". | |
5626 | * i386-linux-nat.c: Likewise. | |
5627 | ||
5628 | 2014-08-06 Yao Qi <yao@codesourcery.com> | |
5629 | ||
5630 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
5631 | operand" with "Special opcode" in comments. | |
5632 | ||
5633 | 2014-08-05 Gary Benson <gbenson@redhat.com> | |
5634 | ||
5635 | * interps.c (initialize_interps): Remove prototype. | |
5636 | (interpreter_initialized): Remove static global. | |
5637 | (interp_add): Do not call initialize_interps. | |
5638 | (initialize_interps): Remove function. | |
5639 | ||
5640 | 2014-08-05 Gary Benson <gbenson@redhat.com> | |
5641 | ||
5642 | * utils.c (vwarning): Remove spurious va_end. | |
5643 | ||
5644 | 2014-08-05 Alan Modra <amodra@gmail.com> | |
5645 | ||
5646 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
5647 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
5648 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
5649 | (read_unwind_info): Use size_t for some locals. | |
5650 | * jit.c (finalize_symtab): Likewise. | |
5651 | * utils.c (hashtab_obstack_allocate): Likewise. | |
5652 | * symmisc.c (print_objfile_statistics): Update format strings. | |
5653 | ||
5654 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> | |
5655 | ||
5656 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
5657 | (Changes in GDB 7.8): ... here. | |
5658 | ||
5659 | 2014-08-04 Tom Tromey <tromey@redhat.com> | |
5660 | ||
5661 | * target.c (set_targetdebug): New function. | |
5662 | (initialize_targets): Pass set_targetdebug when creating "set | |
5663 | debug target". | |
5664 | ||
5665 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> | |
5666 | ||
5667 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
5668 | if detecting a variable-sized field that is not the last field. | |
5669 | Fix struct type length computation. | |
5670 | ||
5671 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> | |
5672 | ||
5673 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
5674 | Add debug trace. | |
5675 | ||
5676 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> | |
5677 | ||
5678 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
5679 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
5680 | ||
5681 | 2014-07-31 Doug Evans <dje@google.com> | |
5682 | ||
5683 | * inflow.c (child_terminal_inferior): Add comment. | |
5684 | (child_terminal_ours_for_output): Add comment. | |
5685 | (child_terminal_ours): Add comment. | |
5686 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
5687 | (linux_nat_terminal_ours): Add comment. | |
5688 | ||
5689 | 2014-07-31 Gary Benson <gbenson@redhat.com> | |
5690 | ||
5691 | * common/btrace-common.h: Do not include defs.h or server.h. | |
5692 | * nat/mips-linux-watch.h: Likewise. | |
5693 | * gdb-dlfcn.h: Do not include defs.h. | |
5694 | * tracefile.h: Likewise. | |
5695 | ||
5696 | 2014-07-30 Roland McGrath <mcgrathr@google.com> | |
5697 | ||
5698 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
5699 | ||
5700 | 2014-07-30 Tom Tromey <tromey@redhat.com> | |
5701 | ||
5702 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
5703 | * corelow.c (core_open): Constify. | |
5704 | * ctf.c (ctf_open): Constify. | |
5705 | * dbug-rom.c (dbug_open): Constify. | |
5706 | * exec.c (exec_open): Constify. | |
5707 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
5708 | * microblaze-rom.c (picobug_open): Constify. | |
5709 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
5710 | Constify. | |
5711 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
5712 | * record-btrace.c (record_btrace_open): Constify. | |
5713 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
5714 | (record_full_open): Constify. | |
5715 | * remote-m32r-sdi.c (m32r_open): Constify. | |
5716 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
5717 | (rockhopper_open, lsi_open): Constify. | |
5718 | * remote-sim.c (gdbsim_open): Constify. | |
5719 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
5720 | Constify. | |
5721 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
5722 | * tracefile-tfile.c (tfile_open): Constify. | |
5723 | ||
5724 | 2014-07-30 Tom Tromey <tromey@redhat.com> | |
5725 | ||
5726 | * breakpoint.c (map_breakpoint_numbers): Update. | |
5727 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
5728 | (get_number_const): New function. | |
5729 | (get_number): Rewrite using get_number_const. | |
5730 | (init_number_or_range): Make "string" const. | |
5731 | (number_is_in_list): Make "list" const. | |
5732 | * cli/cli-utils.h (get_number_const): Declare. | |
5733 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
5734 | (init_number_or_range, number_is_in_list): Update. | |
5735 | * printcmd.c (map_display_numbers): Update. | |
5736 | * value.c (value_from_history_ref): Constify. | |
5737 | * value.h (value_from_history_ref): Update. | |
5738 | ||
5739 | 2014-07-30 Tom Tromey <tromey@redhat.com> | |
5740 | ||
5741 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
5742 | (specify_exec_file_hook): Constify. | |
5743 | * exec.c (exec_file_attach): Make "filename" const. | |
5744 | * gdbcore.h (deprecated_exec_file_display_hook) | |
5745 | (specify_exec_file_hook, exec_file_attach): Constify. | |
5746 | * main.c (captured_main): Use catch_command_errors_const. | |
5747 | ||
5748 | 2014-07-30 Tom Tromey <tromey@redhat.com> | |
5749 | ||
5750 | * target.c (open_target): New function. | |
5751 | (add_target_with_completer, add_deprecated_target_alias): Use | |
5752 | set_cmd_sfunc, set_cmd_context. | |
5753 | (debug_to_open): Remove. | |
5754 | (setup_target_debug): Update. | |
5755 | ||
5756 | 2014-07-30 Yao Qi <yao@codesourcery.com> | |
5757 | ||
5758 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
5759 | comments. | |
5760 | * parse.c (exp_iterate): Update comments. | |
5761 | ||
5762 | 2014-07-30 Gary Benson <gbenson@redhat.com> | |
5763 | ||
5764 | * common/common-defs.h: New file. | |
5765 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
5766 | * defs.h: Include common-defs.h. | |
5767 | Do not include config.h or build-gnulib/config.h. | |
5768 | ||
5769 | 2014-07-30 Gary Benson <gbenson@redhat.com> | |
5770 | ||
5771 | * common/common-utils.h: Do not include config.h. | |
5772 | * nat/linux-btrace.h: Likewise. | |
5773 | ||
5774 | 2014-07-30 Gary Benson <gbenson@redhat.com> | |
5775 | ||
5776 | * btrace.c: Include defs.h. | |
5777 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
5778 | * nat/mips-linux-watch.c: Likewise. | |
5779 | ||
5780 | 2014-07-29 Tom Tromey <tromey@redhat.com> | |
5781 | ||
5782 | * target.c (target_is_pushed): Simplify. | |
5783 | ||
5784 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> | |
5785 | ||
5786 | GDB 7.8 released. | |
5787 | ||
5788 | 2014-07-29 Yao Qi <yao@codesourcery.com> | |
5789 | ||
5790 | PR gdb/17206 | |
5791 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
5792 | ||
5793 | 2014-07-28 Doug Evans <xdje42@gmail.com> | |
5794 | ||
5795 | PR guile/17203 | |
5796 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
5797 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
5798 | parameters. | |
5799 | ||
5800 | 2014-07-28 Will Newton <will.newton@linaro.org> | |
5801 | ||
5802 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
5803 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
5804 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
5805 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
5806 | (THUMB2_EABI_SYSCALL): Likewise. | |
5807 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
5808 | struct tramp_frame. | |
5809 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
5810 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
5811 | ||
5812 | 2014-07-27 Doug Evans <xdje42@gmail.com> | |
5813 | ||
5814 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
5815 | ||
5816 | 2014-07-27 Doug Evans <xdje42@gmail.com> | |
5817 | ||
5818 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
5819 | ||
5820 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> | |
5821 | Doug Evans <xdje42@gmail.com> | |
5822 | ||
5823 | PR guile/17146 | |
5824 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
5825 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
5826 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
5827 | then disable guile support. | |
5828 | * configure: Regenerate. | |
5829 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
5830 | GUILE_FILE_LIST. | |
5831 | (GUILE_COMPILED_FILES): New variable. | |
5832 | (GUILE_FILES) Update. | |
5833 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
5834 | (stamp-guile): Compile scm files. | |
5835 | * guile/guile.c (boot_guile_support): New function. | |
5836 | (standard_throw_args_p): New function. | |
5837 | (print_standard_throw_error, print_throw_error): New functions. | |
5838 | (handle_boot_error): New function. | |
5839 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
5840 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
5841 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
5842 | ||
5843 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> | |
5844 | Doug Evans <xdje42@gmail.com> | |
5845 | ||
5846 | PR guile/17146 | |
5847 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
5848 | * guile/lib/gdb/support.scm: New file. | |
5849 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
5850 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
5851 | All uses updated. | |
5852 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
5853 | All uses updated. | |
5854 | (%assert-type): Ditto, and renamed to assert-type. | |
5855 | (%exception-print-style): Delete. | |
5856 | ||
5857 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
5858 | ||
5859 | PR build/17105 | |
5860 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
5861 | * configure: Regenerate. | |
5862 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
5863 | PYTHON_FILES. | |
5864 | (PYTHON_FILES): New variable. | |
5865 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
5866 | (GUILE_FILES): New variable. | |
5867 | (stamp-python, install-python, uninstall-python): Handle empty | |
5868 | file list. | |
5869 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
5870 | ||
5871 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
5872 | ||
5873 | PR guile/17177 | |
5874 | * guile/lib/gdb.scm (pretty-printers): Export. | |
5875 | (set-pretty-printers!): Export. | |
5876 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
5877 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
5878 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
5879 | (pretty_printer_list_var): Delete. | |
5880 | (pretty_printer_list): New static global. | |
5881 | (gdbscm_pretty_printers): New function. | |
5882 | (gdbscm_set_pretty_printers_x): New function. | |
5883 | (ppscm_find_pretty_printer_from_gdb): Update. | |
5884 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
5885 | (gdbscm_initialize_pretty_printers): Update. | |
5886 | ||
5887 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
5888 | ||
5889 | PR 17185 | |
5890 | * configure.ac: Add check for header gc/gc.h. | |
5891 | Add check for function setenv. | |
5892 | * configure: Regenerate. | |
5893 | * config.in: Regenerate. | |
5894 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
5895 | ||
5896 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> | |
5897 | ||
5898 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
5899 | variation in gdbarch matching. | |
5900 | ||
5901 | 2014-07-25 Tom Tromey <tromey@redhat.com> | |
5902 | ||
5903 | * exec.c (using_exec_ops): Remove. | |
5904 | (exec_close_1): Update. Remove extraneous block, reindent. | |
5905 | (add_target_sections): Use target_is_pushed. | |
5906 | ||
5907 | 2014-07-25 Pedro Alves <palves@redhat.com> | |
5908 | ||
5909 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
5910 | * monitor.c (monitor_create_inferior): Likewise. | |
5911 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
5912 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
5913 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
5914 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
5915 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
5916 | ||
5917 | 2014-07-25 Pedro Alves <palves@redhat.com> | |
5918 | ||
5919 | * NEWS: Mention signal passing and "signal" command changes. | |
5920 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
5921 | comment. | |
5922 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
5923 | call. | |
5924 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
5925 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
5926 | (jump_command): Adjust clear_proceed_status call. | |
5927 | (signal_command): Warn if other thread that are resumed have | |
5928 | signals that will be delivered. Adjust clear_proceed_status call. | |
5929 | (until_next_command, finish_command) | |
5930 | (proceed_after_attach_callback, attach_command_post_wait) | |
5931 | (attach_command): Adjust clear_proceed_status call. | |
5932 | * infrun.c (proceed_after_vfork_done): Likewise. | |
5933 | (proceed_after_attach_callback): Adjust comment. | |
5934 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
5935 | state. | |
5936 | (clear_proceed_status_callback): Delete. | |
5937 | (clear_proceed_status): New 'step' parameter. Only clear the | |
5938 | proceed status of threads the command being prepared is about to | |
5939 | resume. | |
5940 | (proceed): If passed in an explicit signal, override stop_signal | |
5941 | with it. Don't pass the last stop signal to the thread we're | |
5942 | resuming. | |
5943 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
5944 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
5945 | be passed. | |
5946 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
5947 | (user_visible_resume_ptid): Add comment. | |
5948 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
5949 | signal is in pass state. | |
5950 | * remote.c (append_pending_thread_resumptions): Likewise. | |
5951 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
5952 | ||
5953 | 2014-07-25 Tom Tromey <tromey@redhat.com> | |
5954 | ||
5955 | * target.h (target_stopped_data_address) | |
5956 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
5957 | parentheses. | |
5958 | ||
5959 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> | |
5960 | ||
5961 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
5962 | comments. | |
5963 | (avr_pointer_to_address): Likewise. | |
5964 | ||
5965 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
5966 | ||
5967 | * monitor.c (compile_pattern): Update. | |
5968 | * target.h (struct target_ops) <to_shortname, to_longname, | |
5969 | to_doc>: Now const. | |
5970 | ||
5971 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
5972 | ||
5973 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
5974 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
5975 | (add_info_alias, add_com): Make "doc" const. | |
5976 | (print_doc_line): Make "str" const. | |
5977 | (delete_cmd): Update. | |
5978 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
5979 | (print_doc_line): Update. | |
5980 | * cli/cli-script.c (document_command): Update. | |
5981 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
5982 | (add_com, add_info, add_info_alias): Update. | |
5983 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5984 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5985 | ||
5986 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
5987 | ||
5988 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
5989 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
5990 | (help_cmd_list): Constify. | |
5991 | (lookup_cmd): Update. | |
5992 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
5993 | const. | |
5994 | (help_cmd_list, apropos_cmd): Update. | |
5995 | * cli/cli-script.c (show_user): Update. | |
5996 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
5997 | * cli/cli-setshow.h (cmd_show_list): Update. | |
5998 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
5999 | (cmd_show_list): Update. | |
6000 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
6001 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
6002 | ||
6003 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6004 | ||
6005 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
6006 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
6007 | const. | |
6008 | * command.h (deprecate_cmd): Update. | |
6009 | * maint.c (maintenance_do_deprecate): Add casts. | |
6010 | ||
6011 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6012 | ||
6013 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
6014 | * cli/cli-decode.h (help_cmd): Update. | |
6015 | ||
6016 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6017 | ||
6018 | * stack.c (up_silently_base, down_silently_base): Make argument | |
6019 | const. | |
6020 | ||
6021 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6022 | ||
6023 | * solib.c (solib_add): Make "pattern" const. | |
6024 | * solib.h (solib_add): Update. | |
6025 | ||
6026 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6027 | ||
6028 | * remote.c (remote_serial_open, print_packet, putpkt) | |
6029 | (putpkt_binary): Constify. | |
6030 | * remote.h (putpkt): Update. | |
6031 | ||
6032 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6033 | ||
6034 | * monitor.c (monitor_open): Make "args" const. | |
6035 | * monitor.h (monitor_open): Update. | |
6036 | ||
6037 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6038 | ||
6039 | * maint.c (match_bfd_flags): Make "string" const. | |
6040 | (print_bfd_section_info): Remove casts. | |
6041 | (print_objfile_section_info): Make "string" const. | |
6042 | ||
6043 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6044 | ||
6045 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
6046 | * inf-child.h (inf_child_open_target): Update. | |
6047 | ||
6048 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6049 | ||
6050 | * environ.c (unset_in_environ): Make "var" const. | |
6051 | * environ.h (unset_in_environ): Update. | |
6052 | ||
6053 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6054 | ||
6055 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
6056 | Make "cmd" const. | |
6057 | (scan_filename_with_cleanup): Likewise. | |
6058 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
6059 | Make arguments const. | |
6060 | (restore_command): Update. | |
6061 | ||
6062 | 2014-07-24 Pedro Alves <palves@redhat.com> | |
6063 | ||
6064 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
6065 | ||
6066 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6067 | Gary Benson <gbenson@redhat.com> | |
6068 | ||
6069 | * nat/linux-ptrace.c (additional_flags): New global. | |
6070 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
6071 | additional_flags; don't check GDBSERVER. | |
6072 | (linux_ptrace_set_additional_flags): New function. | |
6073 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
6074 | Declare. | |
6075 | * linux-nat.c (_initialize_linux_nat): Call | |
6076 | linux_ptrace_set_additional_flags. | |
6077 | ||
6078 | 2014-07-24 Tom Tromey <tromey@redhat.com> | |
6079 | ||
6080 | * make-target-delegates (munge_type, write_debugmethod): New | |
6081 | functions. | |
6082 | (debug_names): New global. | |
6083 | ($TARGET_DEBUG_PRINTER): New global. | |
6084 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
6085 | name. | |
6086 | Write debug methods. Generate init_debug_target. | |
6087 | * target-debug.h: New file. | |
6088 | * target-delegates.c: Rebuild. | |
6089 | * target.c: Include target-debug.h. | |
6090 | (debug_target): Hoist definition. | |
6091 | (target_kill, target_get_section_table, target_memory_map) | |
6092 | (target_flash_erase, target_flash_done, target_detach) | |
6093 | (target_disconnect, target_wait, target_resume) | |
6094 | (target_pass_signals, target_program_signals, target_follow_fork) | |
6095 | (target_mourn_inferior, target_search_memory) | |
6096 | (target_thread_address_space, target_close) | |
6097 | (target_find_new_threads, target_core_of_thread) | |
6098 | (target_verify_memory, target_insert_mask_watchpoint) | |
6099 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
6100 | (debug_to_post_attach, debug_to_prepare_to_store) | |
6101 | (debug_to_files_info, debug_to_insert_breakpoint) | |
6102 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
6103 | (debug_to_region_ok_for_hw_watchpoint) | |
6104 | (debug_to_can_accel_watchpoint_condition) | |
6105 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
6106 | (debug_to_watchpoint_addr_within_range) | |
6107 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
6108 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
6109 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
6110 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
6111 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
6112 | (debug_to_load, debug_to_post_startup_inferior) | |
6113 | (debug_to_insert_fork_catchpoint) | |
6114 | (debug_to_remove_fork_catchpoint) | |
6115 | (debug_to_insert_vfork_catchpoint) | |
6116 | (debug_to_remove_vfork_catchpoint) | |
6117 | (debug_to_insert_exec_catchpoint) | |
6118 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
6119 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
6120 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
6121 | (setup_target_debug): Call init_debug_target. | |
6122 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
6123 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
6124 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
6125 | ||
6126 | 2014-07-24 Gary Benson <gbenson@redhat.com> | |
6127 | ||
6128 | * exceptions.h (throw_vfatal): Renamed to... | |
6129 | (throw_vquit): New declaration. | |
6130 | (throw_quit): Likewise. | |
6131 | * exceptions.c (throw_vfatal): Renamed to... | |
6132 | (throw_vquit): New function. | |
6133 | (throw_quit): Likewise. | |
6134 | (throw_error): Call throw_verror rather than throw_it. | |
6135 | * utils.h (vfatal): Removed. | |
6136 | (fatal): Likewise. | |
6137 | * utils.c (vfatal): Removed. | |
6138 | (fatal): Likewise. | |
6139 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
6140 | (quit): Replaced calls to fatal with calls to throw_quit. | |
6141 | ||
6142 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> | |
6143 | ||
6144 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
6145 | target_read_code. | |
6146 | ||
6147 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> | |
6148 | ||
6149 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
6150 | less than zero in conditional expression. | |
6151 | ||
6152 | 2014-07-23 Tom Tromey <tromey@redhat.com> | |
6153 | ||
6154 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
6155 | ($INTRO_PART): Don't match whitespace. | |
6156 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
6157 | argument matching. | |
6158 | ($METHOD): Add $METHOD_TRAILER. | |
6159 | (trim): Rewrite. | |
6160 | (scan_target_h): New sub. | |
6161 | Change main loop not to collect state. | |
6162 | * target-delegates.c: Rebuild. | |
6163 | ||
6164 | 2014-07-23 Gary Benson <gbenson@redhat.com> | |
6165 | ||
6166 | * cp-support.c (gdb_demangle): Fix build on systems without | |
6167 | sigaltstack. | |
6168 | ||
6169 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> | |
6170 | ||
6171 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
6172 | for reference entry value target data value. | |
6173 | ||
6174 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> | |
6175 | ||
6176 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
6177 | value_available_contents_eq. | |
6178 | ||
6179 | 2014-07-22 Pedro Alves <palves@redhat.com> | |
6180 | ||
6181 | * value.c (allocate_optimized_out_value): Don't mark value as | |
6182 | non-lazy. | |
6183 | ||
6184 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> | |
6185 | ||
6186 | * MAINTAINERS (Write After Approval): Update my email address. | |
6187 | ||
6188 | 2014-07-20 Doug Evans <dje@google.com> | |
6189 | ||
6190 | PR server/17147 | |
6191 | * remote.c (putpkt_binary): Add text to error message. | |
6192 | ||
6193 | 2014-07-20 Yao Qi <yao@codesourcery.com> | |
6194 | ||
6195 | * eval.c: Remove "Chill" from comments. | |
6196 | * gdbtypes.h: Likewise. | |
6197 | * symtab.h: Likewise. | |
6198 | ||
6199 | 2014-07-20 Yao Qi <yao@codesourcery.com> | |
6200 | ||
6201 | * std-operator.def: Update comments to TERNOP_SLICE. | |
6202 | ||
6203 | 2014-07-20 Yao Qi <yao@codesourcery.com> | |
6204 | ||
6205 | * std-operator.def: Remove BINOP_RANGE. | |
6206 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
6207 | * expprint.c (dump_subexp_body_standard): Likewise. | |
6208 | * eval.c (init_array_element): Remove dead code. | |
6209 | (evaluate_subexp_standard): Likewise. | |
6210 | ||
6211 | 2014-07-20 Yao Qi <yao@codesourcery.com> | |
6212 | ||
6213 | * std-operator.def: Remove BINOP_IN. | |
6214 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
6215 | * eval.c (evaluate_subexp_standard): Likewise. | |
6216 | * expprint.c (dump_subexp_body_standard): Likewise. | |
6217 | ||
6218 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> | |
6219 | ||
6220 | * microblaze-tdep.c (microblaze_register_names): Add | |
6221 | the rshr and rslr register names. | |
6222 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
6223 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
6224 | Use of tdesc_numbered_register. Use of | |
6225 | microblaze_register_g_packet_guesses. Use of | |
6226 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
6227 | (microblaze_register_g_packet_guesses): New. | |
6228 | * microblaze-tdep.h (microblaze_reg_num): Add | |
6229 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
6230 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
6231 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
6232 | * features/microblaze-core.xml: New file. | |
6233 | * features/microblaze-stack-protect.xml: New file. | |
6234 | * features/microblaze-with-stack-protect.c: New file. | |
6235 | * features/microblaze-with-stack-protect.xml: New file. | |
6236 | * features/microblaze.xml: New file. | |
6237 | * features/microblaze.c: New file. | |
6238 | * features/Makefile (microblaze-with-stack-protect): Add | |
6239 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
6240 | * regformats/microblaze-with-stack-protect.dat: New file. | |
6241 | * regformats/microblaze.dat: New file. | |
077309e2 JB |
6242 | |
6243 | 2014-07-18 Tom Tromey <tromey@redhat.com> | |
6244 | ||
6245 | * exec.c (exec_ops): Now static. | |
6246 | * exec.h (exec_ops): Don't declare. | |
6247 | ||
6248 | 2014-07-18 Tom Tromey <tromey@redhat.com> | |
6249 | ||
6250 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
6251 | to find_target_beneath. | |
6252 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
6253 | find_target_beneath. | |
6254 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
6255 | ||
6256 | 2014-07-18 Tom Tromey <tromey@redhat.com> | |
6257 | ||
6258 | PR gdb/17130: | |
6259 | * utils.c (quit): Use target_supports_terminal_ours. | |
6260 | * target.h (target_supports_terminal_ours): Declare. | |
6261 | * target.c (target_supports_delete_record): Don't check | |
6262 | to_delete_record against NULL. | |
6263 | (target_supports_terminal_ours): New function. | |
6264 | ||
6265 | 2014-07-18 Tom Tromey <tromey@redhat.com> | |
6266 | ||
6267 | PR gdb/17130: | |
6268 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
6269 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
6270 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
6271 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
6272 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
6273 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
6274 | delegation. | |
6275 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
6276 | (record_btrace_prepare_to_store, record_btrace_resume) | |
6277 | (record_btrace_wait, record_btrace_find_new_threads) | |
6278 | (record_btrace_thread_alive): Likewise. | |
6279 | * procfs.c (procfs_xfer_partial): Always delegate. | |
6280 | * corelow.c (core_xfer_partial): Always delegate. | |
6281 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
6282 | ||
6283 | 2014-07-18 Tom Tromey <tromey@redhat.com> | |
6284 | ||
6285 | * exec.c (exec_make_note_section): Move earlier. | |
6286 | ||
6287 | 2014-07-17 Doug Evans <dje@google.com> | |
6288 | ||
6289 | PR gdb/17170 | |
6290 | * maint.c (count_symtabs_and_blocks): Handle NULL | |
6291 | current_program_space. | |
6292 | (report_command_stats): Check global enabled flag in addition to | |
6293 | recorded enabled flag. | |
6294 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
6295 | ||
6296 | 2014-07-16 Pedro Alves <palves@redhat.com> | |
6297 | ||
6298 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
6299 | ||
6300 | 2014-07-16 Tom Tromey <tromey@redhat.com> | |
6301 | ||
6302 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
6303 | comment. | |
6304 | ||
6305 | 2014-07-16 Tom Tromey <tromey@redhat.com> | |
6306 | ||
6307 | * target-delegates.c: Rebuild. | |
6308 | ||
6309 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> | |
6310 | ||
6311 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
6312 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
6313 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
6314 | (avr_pointer_to_address): Likewise. | |
6315 | (avr_address_class_type_flags): New function. | |
6316 | (avr_address_class_type_flags_to_name): Likewise. | |
6317 | (avr_address_class_name_to_type_flags): Likewise. | |
6318 | (avr_gdbarch_init): Set address_class_type_flags, | |
6319 | address_class_type_flags_to_name and | |
6320 | address_class_name_to_type_flags. | |
6321 | ||
6322 | 2014-07-15 Pedro Alves <palves@redhat.com> | |
6323 | ||
6324 | * linux-nat.c (kill_callback): Save errno and work with saved | |
6325 | copy. | |
6326 | ||
6327 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> | |
6328 | ||
6329 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
6330 | ||
6331 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | |
6332 | ||
6333 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
6334 | breakpoint support correctly. | |
6335 | ||
6336 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6337 | ||
6338 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
6339 | ||
6340 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6341 | ||
6342 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
6343 | catch_errors. Don't re-enable stdin or notify observers where, | |
6344 | and rethrow error. | |
6345 | (fetch_inferior_event_wrapper): Delete. | |
6346 | ||
6347 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6348 | ||
6349 | PR gdb/17072 | |
6350 | * top.c: Include "inf-loop.h". | |
6351 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
6352 | field. | |
6353 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
6354 | was async before. | |
6355 | (gdb_readline_wrapper): Store whether the target is async, and | |
6356 | make it sync. | |
6357 | ||
6358 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6359 | ||
6360 | PR gdb/17072 | |
6361 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
6362 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
6363 | the input handler callback. | |
6364 | ||
6365 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6366 | ||
6367 | PR gdb/17072 | |
6368 | * main.c: Include event-top.h. | |
6369 | (handle_command_errors): New function. | |
6370 | (catch_command_errors, catch_command_errors_const): Use it. | |
6371 | ||
6372 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6373 | ||
6374 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
6375 | Moved to main.c. | |
6376 | * exceptions.h (catch_command_errors_ftype) | |
6377 | (catch_command_errors_const_ftype): Moved to main.c. | |
6378 | (catch_command_errors, catch_command_errors_const): Delete | |
6379 | declarations. | |
6380 | * main.c (catch_command_errors_ftype) | |
6381 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
6382 | (catch_command_errors, catch_command_errors_const)): Moved here | |
6383 | from exceptions.c and make static. | |
6384 | ||
6385 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6386 | ||
6387 | * exceptions.c (print_any_exception): Delete. | |
6388 | (catch_exceptions_with_msg): Use exception_print instead of | |
6389 | print_any_exception. | |
6390 | (catch_errors): Use exception_fprintf instead of | |
6391 | print_any_exception. | |
6392 | (catch_command_errors, catch_command_errors_const): Use | |
6393 | exception_print instead of print_any_exception. | |
6394 | ||
6395 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6396 | ||
6397 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
6398 | running the inferior call. | |
6399 | ||
6400 | 2014-07-14 Pedro Alves <palves@redhat.com> | |
6401 | ||
6402 | * value.c (value_contents_equal): Delete function. | |
6403 | * value.h (value_contents_equal): Delete declaration. | |
6404 | ||
6405 | 2014-07-14 Tom Tromey <tromey@redhat.com> | |
6406 | ||
6407 | PR exp/17106: | |
6408 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
6409 | is_dynamic_type. | |
6410 | (is_dynamic_type): Rewrite. | |
6411 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
6412 | (resolve_dynamic_struct): Likewise. | |
6413 | (resolve_dynamic_type_internal): New function, from | |
6414 | resolve_dynamic_type. | |
6415 | (resolve_dynamic_type): Rewrite. | |
6416 | ||
6417 | 2014-07-14 Tom Tromey <tromey@redhat.com> | |
6418 | ||
6419 | * target.c (target_require_runnable): Also check record_stratum. | |
6420 | Update comment. | |
6421 | ||
6422 | 2014-07-11 Yao Qi <yao@codesourcery.com> | |
6423 | ||
6424 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
6425 | thumb_instruction_restores_sp return true. | |
6426 | ||
6427 | 2014-07-11 Yao Qi <yao@codesourcery.com> | |
6428 | ||
6429 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
6430 | (thumb_in_function_epilogue_p): Call | |
6431 | thumb_instruction_restores_sp. | |
6432 | ||
6433 | 2014-07-11 Yao Qi <yao@codesourcery.com> | |
6434 | ||
6435 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
6436 | 'add sp, #imm'. | |
6437 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
6438 | ||
6439 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6440 | ||
6441 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
6442 | (regset.h): Likewise. | |
6443 | (nat/linux-btrace.h): Likewise. | |
6444 | (btrace.h): Likewise. | |
6445 | (gdb_assert.h): Likewise. | |
6446 | (string.h): Likewise. | |
6447 | (sys/uio.h): Likewise. | |
6448 | (sys/debugreg.h): Likewise. | |
6449 | (sys/syscall.h): Likewise. | |
6450 | (sys/procfs.h): Likewise. | |
6451 | (sys/user.h): Likewise. | |
6452 | (asm/ptrace.h): Likewise. | |
6453 | (i386-nat.h): Likewise. | |
6454 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
6455 | (regset.h): Likewise. | |
6456 | (target.h): Likewise. | |
6457 | (linux-nat.h): Likewise. | |
6458 | (nat/linux-btrace.h): Likewise. | |
6459 | (btrace.h): Likewise. | |
6460 | (gdb_assert.h): Likewise. | |
6461 | (string.h): Likewise. | |
6462 | (sys/uio.h): Likewise. | |
6463 | (sys/user.h): Likewise. | |
6464 | (sys/procfs.h): Likewise. | |
6465 | (sys/reg.h): Likewise. | |
6466 | (sys/debugreg.h): Likewise. | |
6467 | (ORIG_EAX): Remove definition. | |
6468 | ||
6469 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6470 | ||
6471 | * i386-linux-nat.h: New file. | |
6472 | * x86-linux-nat.h: Likewise. | |
6473 | * x86-linux-nat.c: Likewise. | |
6474 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
6475 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
6476 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
6477 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
6478 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
6479 | (PTRACE_SETREGSET): Likewise. | |
6480 | (arch_lwp_info): Now in x86-linux-nat.c. | |
6481 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
6482 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
6483 | (x86_linux_dr_set): Likewise. | |
6484 | (x86_linux_dr_get_addr): Likewise. | |
6485 | (x86_linux_dr_get_control): Likewise. | |
6486 | (x86_linux_dr_get_status): Likewise. | |
6487 | (update_debug_registers_callback): Likewise. | |
6488 | (x86_linux_dr_set_control): Likewise. | |
6489 | (x86_linux_dr_set_addr): Likewise. | |
6490 | (x86_linux_prepare_to_resume): Likewise. | |
6491 | (x86_linux_new_thread): Likewise. | |
6492 | (x86_linux_new_fork): Likewise. | |
6493 | (x86_linux_get_thread_area): Likewise. | |
6494 | (super_post_startup_inferior): Likewise. | |
6495 | (x86_linux_child_post_startup_inferior): Likewise. | |
6496 | (AMD64_LINUX_USER64_CS): Likewise. | |
6497 | (AMD64_LINUX_X32_DS): Likewise. | |
6498 | (x86_linux_read_description): Likewise. | |
6499 | (x86_linux_enable_btrace): Likewise. | |
6500 | (x86_linux_disable_btrace): Likewise. | |
6501 | (x86_linux_teardown_btrace): Likewise. | |
6502 | (x86_linux_read_btrace): Likewise. | |
6503 | (x86_linux_create_target): Likewise. | |
6504 | (x86_linux_add_target): Likewise. | |
6505 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
6506 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
6507 | (PTRACE_SETREGSET): Likewise. | |
6508 | (arch_lwp_info): Now in x86-linux-nat.c. | |
6509 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
6510 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
6511 | (x86_linux_dr_set): Likewise. | |
6512 | (x86_linux_dr_get_addr): Likewise. | |
6513 | (x86_linux_dr_get_control): Likewise. | |
6514 | (x86_linux_dr_get_status): Likewise. | |
6515 | (update_debug_registers_callback): Likewise. | |
6516 | (x86_linux_dr_set_control): Likewise. | |
6517 | (x86_linux_dr_set_addr): Likewise. | |
6518 | (x86_linux_prepare_to_resume): Likewise. | |
6519 | (x86_linux_new_thread): Likewise. | |
6520 | (x86_linux_new_fork): Likewise. | |
6521 | (x86_linux_get_thread_area): Likewise. | |
6522 | (super_post_startup_inferior): Likewise. | |
6523 | (x86_linux_child_post_startup_inferior): Likewise. | |
6524 | (AMD64_LINUX_USER64_CS): Likewise. | |
6525 | (AMD64_LINUX_X32_DS): Likewise. | |
6526 | (x86_linux_read_description): Likewise. | |
6527 | (x86_linux_enable_btrace): Likewise. | |
6528 | (x86_linux_disable_btrace): Likewise. | |
6529 | (x86_linux_teardown_btrace): Likewise. | |
6530 | (x86_linux_read_btrace): Likewise. | |
6531 | (x86_linux_create_target): Likewise. | |
6532 | (x86_linux_add_target): Likewise. | |
6533 | ||
6534 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6535 | ||
6536 | * amd64-linux-nat.c: Comment and whitespace changes. | |
6537 | * i386-linux-nat.c: Comment and whitespace changes. | |
6538 | ||
6539 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6540 | ||
6541 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
6542 | (x86_linux_add_target): Likewise. | |
6543 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
6544 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
6545 | (x86_linux_add_target): Likewise. | |
6546 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
6547 | ||
6548 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6549 | ||
6550 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
6551 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
6552 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
6553 | (ps_get_thread_area): Delegate to the above. | |
6554 | ||
6555 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6556 | ||
6557 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
6558 | x86_linux_read_description. All uses updated. amd64-specific | |
6559 | code conditionalized. Conditionalized i386-specific code added. | |
6560 | Redundant cast removed. | |
6561 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
6562 | x86_linux_read_description. All uses updated. i386-specific | |
6563 | code conditionalized. Conditionalized amd64-specific code added. | |
6564 | One sizeof replaced with the actual type it is describing. | |
6565 | ||
6566 | 2014-07-11 Gary Benson <gbenson@redhat.com> | |
6567 | ||
6568 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
6569 | x86_linux_dr_get. All uses updated. | |
6570 | (amd64_linux_dr_set): Renamed to | |
6571 | x86_linux_dr_set. All uses updated. | |
6572 | (amd64_linux_dr_get_addr): Renamed to | |
6573 | x86_linux_dr_get_addr. All uses updated. | |
6574 | (amd64_linux_dr_get_control): Renamed to | |
6575 | x86_linux_dr_get_control. All uses updated. | |
6576 | (amd64_linux_dr_get_status): Renamed to | |
6577 | x86_linux_dr_get_status. All uses updated. | |
6578 | (amd64_linux_dr_set_control): Renamed to | |
6579 | x86_linux_dr_set_control. All uses updated. | |
6580 | (amd64_linux_dr_set_addr): Renamed to | |
6581 | x86_linux_dr_set_addr. All uses updated. | |
6582 | (amd64_linux_prepare_to_resume): Renamed to | |
6583 | x86_linux_prepare_to_resume. All uses updated. | |
6584 | (amd64_linux_new_thread): Renamed to | |
6585 | x86_linux_new_thread. All uses updated. | |
6586 | (amd64_linux_new_fork): Renamed to | |
6587 | x86_linux_new_fork. All uses updated. | |
6588 | (amd64_linux_child_post_startup_inferior): Renamed to | |
6589 | x86_linux_child_post_startup_inferior. All uses updated. | |
6590 | (amd64_linux_enable_btrace): Renamed to | |
6591 | x86_linux_enable_btrace. All uses updated. | |
6592 | (amd64_linux_disable_btrace): Renamed to | |
6593 | x86_linux_disable_btrace. All uses updated. | |
6594 | (amd64_linux_teardown_btrace): Renamed to | |
6595 | x86_linux_teardown_btrace. All uses updated. | |
6596 | (amd64_linux_read_btrace): Renamed to | |
6597 | x86_linux_read_btrace. All uses updated. | |
6598 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
6599 | x86_linux_dr_get. All uses updated. | |
6600 | (i386_linux_dr_set): Renamed to | |
6601 | x86_linux_dr_set. All uses updated. | |
6602 | (i386_linux_dr_get_addr): Renamed to | |
6603 | x86_linux_dr_get_addr. All uses updated. | |
6604 | (i386_linux_dr_get_control): Renamed to | |
6605 | x86_linux_dr_get_control. All uses updated. | |
6606 | (i386_linux_dr_get_status): Renamed to | |
6607 | x86_linux_dr_get_status. All uses updated. | |
6608 | (i386_linux_dr_set_control): Renamed to | |
6609 | x86_linux_dr_set_control. All uses updated. | |
6610 | (i386_linux_dr_set_addr): Renamed to | |
6611 | x86_linux_dr_set_addr. All uses updated. | |
6612 | (i386_linux_prepare_to_resume): Renamed to | |
6613 | x86_linux_prepare_to_resume. All uses updated. | |
6614 | (i386_linux_new_thread): Renamed to | |
6615 | x86_linux_new_thread. All uses updated. | |
6616 | (i386_linux_new_fork): Renamed to | |
6617 | x86_linux_new_fork. All uses updated. | |
6618 | (i386_linux_child_post_startup_inferior): Renamed to | |
6619 | x86_linux_child_post_startup_inferior. All uses updated. | |
6620 | (i386_linux_enable_btrace): Renamed to | |
6621 | x86_linux_enable_btrace. All uses updated. | |
6622 | (i386_linux_disable_btrace): Renamed to | |
6623 | x86_linux_disable_btrace. All uses updated. | |
6624 | (i386_linux_teardown_btrace): Renamed to | |
6625 | x86_linux_teardown_btrace. All uses updated. | |
6626 | (i386_linux_read_btrace): Renamed to | |
6627 | x86_linux_read_btrace. All uses updated. | |
6628 | ||
6629 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> | |
6630 | ||
6631 | * remote.c (extended_remote_post_attach): New function. | |
6632 | (init_extended_remote_ops): Install it as to_post_attach method. | |
6633 | ||
6634 | 2014-07-09 Pedro Alves <palves@redhat.com> | |
6635 | ||
6636 | * infcmd.c (attach_command_post_wait): Don't call | |
6637 | target_terminal_inferior here. | |
6638 | (attach_command): Call it here instead. | |
6639 | ||
6640 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> | |
6641 | ||
6642 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
6643 | field. | |
6644 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
6645 | from varobj.c, with additional checks. | |
6646 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
6647 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
6648 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
6649 | field. | |
6650 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
6651 | ops method. | |
6652 | (varobj_default_is_path_expr_parent): New function. | |
6653 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
6654 | (varobj_default_is_path_expr_parent): Declare new function. | |
6655 | ||
6656 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> | |
6657 | ||
6658 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
6659 | ||
6660 | 2014-07-07 Pedro Alves <palves@redhat.com> | |
6661 | ||
6662 | PR gdb/17096 | |
6663 | * remote.c (async_handle_remote_sigint) | |
6664 | (async_handle_remote_sigint_twice): Call | |
6665 | gdb_call_async_signal_handler instead of | |
6666 | mark_async_signal_handler. | |
6667 | ||
6668 | 2014-07-07 Tom Tromey <tromey@redhat.com> | |
6669 | ||
6670 | * target-delegates.c: Rebuild. | |
6671 | * target.c (target_info_record): Remove. | |
6672 | * record.c (info_record_command): Unconditionally call | |
6673 | to_info_record. | |
6674 | * target.h (struct target_ops) <to_info_record>: Use | |
6675 | TARGET_DEFAULT_IGNORE. | |
6676 | (target_info_record): Remove. | |
6677 | ||
6678 | 2014-07-07 Tom Tromey <tromey@redhat.com> | |
6679 | ||
6680 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
6681 | TARGET_DEFAULT_NORETURN. | |
6682 | * target.c (generic_tls_error): New function. | |
6683 | (target_translate_tls_address): Don't search target stack. | |
6684 | * target-delegates.c: Rebuild. | |
6685 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
6686 | stack. | |
6687 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
6688 | Unconditionally call beneath target. | |
6689 | ||
6690 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> | |
6691 | ||
6692 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
6693 | gdb_stdtargerr. | |
6694 | ||
6695 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> | |
6696 | ||
6697 | * MAINTAINERS (Write After Approval): Update my email address. | |
6698 | ||
6699 | 2014-07-02 Gary Benson <gbenson@redhat.com> | |
6700 | ||
6701 | * proc-service.c (ps_xfer_memory): Update comment. | |
6702 | (ps_pstop): Remove unused function. | |
6703 | (ps_pcontinue): Likewise. | |
6704 | (ps_lstop): Likewise. | |
6705 | (ps_lcontinue): Likewise. | |
6706 | (ps_lgetxregsize): Likewise. | |
6707 | (ps_lgetxregs): Likewise. | |
6708 | (ps_lsetxregs): Likewise. | |
6709 | (ps_plog): Likewise. | |
6710 | (ps_ptread): Likewise. | |
6711 | (ps_ptwrite): Likewise. | |
6712 | ||
6713 | 2014-07-01 Mark Wielaard <mjw@redhat.com> | |
6714 | ||
6715 | * dwarf2read.c (add_array_cv_type): New function. | |
6716 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
6717 | (read_tag_volatile_type): Likewise. | |
6718 | ||
6719 | 2014-07-01 Tom Tromey <tromey@redhat.com> | |
6720 | ||
6721 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
6722 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
6723 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
6724 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
6725 | * command.h (cmd_cfunc_ftype): Move earlier. | |
6726 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
6727 | (add_com, add_info): Use cmd_cfunc_ftype. | |
6728 | ||
6729 | 2014-06-30 Tom Tromey <tromey@redhat.com> | |
6730 | ||
6731 | * symtab.c (operator_chars): Make parameters and return type | |
6732 | const. | |
6733 | (file_matches): Make "files" const. | |
6734 | (struct search_symbols_data) <files>: Now const. | |
6735 | (search_symbols): Make "regexp" and "files" parameters const. | |
6736 | Update. | |
6737 | (symtab_symbol_info): Remove cast. | |
6738 | (rbreak_command): Update. | |
6739 | * symtab.h (search_symbols): Update. | |
6740 | ||
6741 | 2014-06-27 Yao Qi <yao@codesourcery.com> | |
6742 | ||
6743 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
6744 | Change parameter type to 'struct thread_info *'. Caller | |
6745 | updated. | |
6746 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
6747 | Update declaration. | |
6748 | * dummy-frame.c (struct dummy_frame_id): New. | |
6749 | (dummy_frame_id_eq): New function. | |
6750 | (struct dummy_frame) <id>: Change its type to 'struct | |
6751 | dummy_frame_id'. | |
6752 | (dummy_frame_push): Add parameter ptid and save it in | |
6753 | dummy_frame_id. | |
6754 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
6755 | inferior_ptid. | |
6756 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
6757 | to inferior_ptid. | |
6758 | (lookup_dummy_frame): Change parameter type to 'struct | |
6759 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
6760 | instead of frame_id_eq. | |
6761 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
6762 | Update comments. Compose dummy_frame_id and pass it to | |
6763 | lookup_dummy_frame. | |
6764 | (dummy_frame_discard): Add parameter ptid. | |
6765 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
6766 | dummy_frame_id_eq instead of frame_id_eq. | |
6767 | (fprint_dummy_frames): Print ptid. | |
6768 | * dummy-frame.h: Remove comments. | |
6769 | (dummy_frame_push): Add ptid in declaration. | |
6770 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
6771 | ||
6772 | 2014-06-26 Tom Tromey <tromey@redhat.com> | |
6773 | ||
6774 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
6775 | * command.h (error_no_arg): Update. | |
6776 | ||
6777 | 2014-06-26 Tom Tromey <tromey@redhat.com> | |
6778 | ||
6779 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
6780 | (do_show_command): Make "arg" const. | |
6781 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
6782 | ||
6783 | 2014-06-26 Tom Tromey <tromey@redhat.com> | |
6784 | ||
6785 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
6786 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
6787 | * record.c (record_goto): New function. | |
6788 | (cmd_record_goto): Use it. Now static. | |
6789 | * record.h (record_goto): Declare. | |
6790 | (cmd_record_goto): Remove declaration. | |
6791 | * target-delegates.c: Rebuild. | |
6792 | * target.h (struct target_ops) <to_get_bookmark, | |
6793 | to_goto_bookmark>: Make parameter const. | |
6794 | ||
6795 | 2014-06-26 Tom Tromey <tromey@redhat.com> | |
6796 | ||
6797 | * defs.h (generic_load): Update. | |
6798 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
6799 | * monitor.c (monitor_load): Make "args" const. | |
6800 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
6801 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
6802 | const. | |
6803 | (mips_load): Make "file" const. | |
6804 | * remote-sim.c (gdbsim_load): Make "args" const. | |
6805 | * remote.c (remote_load): Make "name" const. | |
6806 | * symfile.c (generic_load): Make "args" const. | |
6807 | * target-delegates.c: Rebuild. | |
6808 | * target.c (target_load): Make "arg" const. | |
6809 | (debug_to_load): Make "args" const. | |
6810 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
6811 | (target_load): Update. | |
6812 | ||
6813 | 2014-06-26 Tom Tromey <tromey@redhat.com> | |
6814 | ||
6815 | PR symtab/16902: | |
6816 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
6817 | (dwarf2_physname, read_partial_die) | |
6818 | (guess_partial_die_structure_name, fixup_partial_die) | |
6819 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
6820 | (dwarf2_name): Use per-BFD obstack. | |
6821 | ||
6822 | 2014-06-26 Yao Qi <yao@codesourcery.com> | |
6823 | ||
6824 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
6825 | dummyframe and this_id into inner block below. | |
6826 | ||
6827 | 2014-06-26 Yao Qi <yao@codesourcery.com> | |
6828 | ||
6829 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
6830 | with "signal_pass[0]" in the initialization of signal_pass. | |
6831 | ||
6832 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> | |
6833 | ||
6834 | * record-btrace.c (record_btrace_generating_corefile) | |
6835 | (record_btrace_prepare_to_generate_core) | |
6836 | (record_btrace_done_generating_core): New. | |
6837 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
6838 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
6839 | Forward request when generating a core file. | |
6840 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
6841 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
6842 | to_done_generating_core. | |
6843 | ||
6844 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> | |
6845 | ||
6846 | * target.h (target_ops) <to_prepare_to_generate_core> | |
6847 | <to_done_generating_core>: New. | |
6848 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
6849 | * target.c (target_prepare_to_generate_core) | |
6850 | (target_done_generating_core): New. | |
6851 | * target-delegates.c: Regenerate. | |
6852 | * gcore.c: (write_gcore_file): Rename to ... | |
6853 | (write_gcore_file_1): ...this. | |
6854 | (write_gcore_file): Call target_prepare_to_generate_core | |
6855 | and target_done_generating_core. | |
6856 | ||
6857 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> | |
6858 | ||
6859 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
6860 | * gcore.c (write_gcore_file): Free memory returned from | |
6861 | make_corefile_notes. | |
6862 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
6863 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
6864 | ||
6865 | 2014-06-24 Yao Qi <yao@codesourcery.com> | |
6866 | ||
6867 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
6868 | (arm_linux_init_abi): Set skip_trampoline_code with | |
6869 | gdbarch_skip_trampoline_code instead of | |
6870 | find_solib_trampoline_target. | |
6871 | ||
6872 | 2014-06-24 Yao Qi <yao@codesourcery.com> | |
6873 | ||
6874 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
6875 | arm_skip_bx_reg returns non-zero. | |
6876 | ||
6877 | 2014-06-24 Yao Qi <yao@codesourcery.com> | |
6878 | ||
6879 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
6880 | (arm_skip_stub): Call arm_skip_bx_reg. | |
6881 | ||
6882 | 2014-06-23 Don Breazeal <donb@codesourcery.com> | |
6883 | ||
6884 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
6885 | ||
6886 | 2014-06-23 Pedro Alves <palves@redhat.com> | |
6887 | ||
6888 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
6889 | DR_CONTROL before setting DR0..DR3. | |
6890 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
6891 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
6892 | bits of DR_CONTROL related to the debug register slot being | |
6893 | disabled. If all slots are vacant, clear local slowdown as well, | |
6894 | and assert DR_CONTROL is 0. | |
6895 | ||
6896 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> | |
6897 | ||
6898 | * python/lib/gdb/command/xmethods.py | |
6899 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
6900 | current progspace only if the string "progspace" matches LOCUS_RE. | |
6901 | ||
6902 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> | |
6903 | ||
6904 | Fix --with-system-readline with readline-6.3 patch 5. | |
6905 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
6906 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
6907 | types. | |
6908 | ||
6909 | 2014-06-20 Tom Tromey <tromey@redhat.com> | |
6910 | ||
6911 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
6912 | OBSTACK_CALLOC. | |
6913 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
6914 | ||
6915 | 2014-06-20 Gary Benson <gbenson@redhat.com> | |
6916 | ||
6917 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
6918 | * common/glibc_thread_db.h: Likewise. | |
6919 | * common/i386-cpuid.h: Likewise. | |
6920 | * common/i386-gcc-cpuid.h: Likewise. | |
6921 | * common/linux-btrace.h: Likewise. | |
6922 | * common/linux-osdata.h: Likewise. | |
6923 | * common/linux-procfs.h: Likewise. | |
6924 | * common/linux-ptrace.h: Likewise. | |
6925 | * common/mips-linux-watch.h: Likewise. | |
6926 | * common/linux-btrace.c: Moved to nat. | |
6927 | * common/linux-osdata.c: Likewise. | |
6928 | * common/linux-procfs.c: Likewise. | |
6929 | * common/linux-ptrace.c: Likewise. | |
6930 | * common/mips-linux-watch.c: Likewise. | |
6931 | * nat/gdb_thread_db.h: Moved from common. | |
6932 | * nat/glibc_thread_db.h: Likewise. | |
6933 | * nat/i386-cpuid.h: Likewise. | |
6934 | * nat/i386-gcc-cpuid.h: Likewise. | |
6935 | * nat/linux-btrace.c: Likewise. | |
6936 | * nat/linux-btrace.h: Likewise. | |
6937 | * nat/linux-osdata.c: Likewise. | |
6938 | * nat/linux-osdata.h: Likewise. | |
6939 | * nat/linux-procfs.c: Likewise. | |
6940 | * nat/linux-procfs.h: Likewise. | |
6941 | * nat/linux-ptrace.c: Likewise. | |
6942 | * nat/linux-ptrace.h: Likewise. | |
6943 | * nat/mips-linux-watch.c: Likewise. | |
6944 | * nat/mips-linux-watch.h: Likewise. | |
6945 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
6946 | (object file files): Reordered. | |
701adfb0 | 6947 | * copyright.py (EXCLUDE_LIST): Reflect new location |
077309e2 JB |
6948 | of glibc_thread_db.h. |
6949 | ||
6950 | 2014-06-20 Gary Benson <gbenson@redhat.com> | |
6951 | ||
6952 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
6953 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
6954 | (i386_dr_low): Likewise. | |
6955 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
6956 | (i386_dr_low_set_addr): Likewise. | |
6957 | (i386_dr_low_get_addr): Likewise. | |
6958 | (i386_dr_low_can_set_control): Likewise. | |
6959 | (i386_dr_low_set_control): Likewise. | |
6960 | (i386_dr_low_get_control): Likewise. | |
6961 | (i386_dr_low_get_status): Likewise. | |
6962 | (i386_get_debug_register_length): Likewise. | |
6963 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
6964 | (i386_dr_low): Likewise. | |
6965 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
6966 | (i386-nat.h): Likewise. | |
6967 | (nat/i386-dregs.h): New include. | |
6968 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
6969 | (i386_dr_low_set_addr): Likewise. | |
6970 | (i386_dr_low_get_addr): Likewise. | |
6971 | (i386_dr_low_can_set_control): Likewise. | |
6972 | (i386_dr_low_set_control): Likewise. | |
6973 | (i386_dr_low_get_control): Likewise. | |
6974 | (i386_dr_low_get_status): Likewise. | |
6975 | (i386_get_debug_register_length): Likewise. | |
6976 | (debug_hw_points): Likewise. | |
6977 | ||
6978 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> | |
6979 | ||
6980 | * Makefile.in (SFILES): Add d-exp.y. | |
6981 | (YYFILES): Add d-exp.c. | |
6982 | (YYOBJ): Add d-exp.o. | |
6983 | (local-maintainer-clean): Delete d-exp.c. | |
6984 | * d-exp.y: New file. | |
6985 | * d-lang.h (d_parse): New declaration. | |
6986 | (d_error): New declaration. | |
6987 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
6988 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
6989 | PREC_ORDER operators. | |
6990 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
6991 | ||
6992 | 2014-06-19 Yao Qi <yao@codesourcery.com> | |
6993 | ||
6994 | * gdbthread.h (any_running): Remove the declaration. | |
6995 | * thread.c (any_running): Remove. | |
6996 | ||
6997 | 2014-06-19 Yao Qi <yao@codesourcery.com> | |
6998 | ||
6999 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
7000 | 'enum thread_state'. Update comments. | |
7001 | ||
7002 | 2014-06-19 Pedro Alves <palves@redhat.com> | |
7003 | ||
7004 | * gdbthread.h (ALL_THREADS): Delete. | |
7005 | (ALL_NON_EXITED_THREADS): New macro. | |
7006 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
7007 | instead of ALL_THREADS. | |
7008 | * infrun.c (find_thread_needs_step_over) | |
7009 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
7010 | instead of ALL_THREADS. | |
7011 | * record-btrace.c (record_btrace_open) | |
7012 | (record_btrace_stop_recording, record_btrace_close) | |
7013 | (record_btrace_is_replaying, record_btrace_resume) | |
7014 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
7015 | * remote.c (append_pending_thread_resumptions): Likewise. | |
7016 | * thread.c (thread_apply_all_command): Likewise. | |
7017 | ||
7018 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7019 | ||
7020 | * i386-nat.c (i386_stopped_by_watchpoint): | |
7021 | Use i386_dr_stopped_by_watchpoint. | |
7022 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
7023 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
7024 | ||
7025 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7026 | ||
7027 | * nat/i386-dregs.c: New file. | |
7028 | * Makefile.in (i386-dregs.o): New rule. | |
7029 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
7030 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
7031 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
7032 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
7033 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
7034 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
7035 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
7036 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
7037 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
7038 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
7039 | * i386-nat.h (debug_hw_points): New declaration. | |
7040 | * i386-nat.c (breakpoint.h): Remove include. | |
7041 | (command.h): Likewise. | |
7042 | (target.h): Likewise. | |
7043 | (gdb_assert.h): Likewise. | |
7044 | (debug_hw_points): Made nonstatic. | |
7045 | (debug_printf): Now in i386-dregs.c. | |
7046 | (TARGET_HAS_DR_LEN_8): Likewise. | |
7047 | (DR_CONTROL_SHIFT): Likewise. | |
7048 | (DR_CONTROL_SIZE): Likewise. | |
7049 | (DR_RW_EXECUTE): Likewise. | |
7050 | (DR_RW_WRITE): Likewise. | |
7051 | (DR_RW_READ): Likewise. | |
7052 | (DR_RW_IORW): Likewise. | |
7053 | (DR_LEN_1): Likewise. | |
7054 | (DR_LEN_2): Likewise. | |
7055 | (DR_LEN_4): Likewise. | |
7056 | (DR_LEN_8): Likewise. | |
7057 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
7058 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
7059 | (DR_ENABLE_SIZE): Likewise. | |
7060 | (DR_LOCAL_SLOWDOWN): Likewise. | |
7061 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
7062 | (DR_CONTROL_RESERVED): Likewise. | |
7063 | (I386_DR_CONTROL_MASK): Likewise. | |
7064 | (I386_DR_VACANT): Likewise. | |
7065 | (I386_DR_LOCAL_ENABLE): Likewise. | |
7066 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
7067 | (I386_DR_DISABLE): Likewise. | |
7068 | (I386_DR_SET_RW_LEN): Likewise. | |
7069 | (I386_DR_GET_RW_LEN): Likewise. | |
7070 | (I386_DR_WATCH_HIT): Likewise. | |
7071 | (i386_wp_op_t): Likewise. | |
7072 | (i386_show_dr): Likewise. | |
7073 | (i386_length_and_rw_bits): Likewise. | |
7074 | (i386_insert_aligned_watchpoint): Likewise. | |
7075 | (i386_remove_aligned_watchpoint): Likewise. | |
7076 | (i386_handle_nonaligned_watchpoint): Likewise. | |
7077 | (i386_update_inferior_debug_regs): Likewise. | |
7078 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
7079 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
7080 | (i386_region_ok_for_watchpoint): | |
7081 | Use i386_dr_region_ok_for_watchpoint. | |
7082 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
7083 | ||
7084 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7085 | ||
7086 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
7087 | i386_insert_watchpoint. | |
7088 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
7089 | ||
7090 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7091 | ||
7092 | * i386-nat.c (i386_dr_show): Renamed to | |
7093 | i386_show_dr and made static. All uses updated. | |
7094 | (i386_dr_length_and_rw_bits): Renamed to | |
7095 | i386_length_and_rw_bits and made static. | |
7096 | All uses updated. | |
7097 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
7098 | i386_insert_aligned_watchpoint and made static. | |
7099 | All uses updated. | |
7100 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
7101 | i386_remove_aligned_watchpoint and made static. | |
7102 | All uses updated. | |
7103 | (i386_dr_update_inferior_debug_regs): Renamed to | |
7104 | i386_update_inferior_debug_regs and made static. | |
7105 | All uses updated. | |
7106 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
7107 | (i386_dr_length_and_rw_bits): Likewise. | |
7108 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
7109 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
7110 | (i386_dr_update_inferior_debug_regs): Likewise. | |
7111 | ||
7112 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7113 | ||
7114 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
7115 | * configure: Regenerate. | |
7116 | * config.in: Likewise. | |
7117 | * main.c (signal.h): New include. | |
7118 | (setup_alternate_signal_stack): New function. | |
7119 | (captured_main): Call the above. | |
7120 | * cp-support.c (signal.h): New include. | |
7121 | (catch_demangler_crashes): New flag. | |
7122 | (SIGJMP_BUF): New define. | |
7123 | (SIGSETJMP): Likewise. | |
7124 | (SIGLONGJMP): Likewise. | |
7125 | (gdb_demangle_jmp_buf): New static global. | |
7126 | (gdb_demangle_attempt_core_dump): Likewise. | |
7127 | (gdb_demangle_signal_handler): New function. | |
7128 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
7129 | above signal handler before calling bfd_demangle, and restore | |
7130 | the original signal handler afterwards. Display the offending | |
7131 | symbol and call demangler_warning the first time a segmentation | |
7132 | fault is caught. | |
7133 | (_initialize_cp_support): New maint set/show command. | |
7134 | ||
7135 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7136 | ||
7137 | * utils.h (resource_limit_kind): New enum. | |
7138 | (can_dump_core): New declaration. | |
7139 | (warn_cant_dump_core): Likewise. | |
7140 | (dump_core): Likewise. | |
7141 | * utils.c (dump_core): Made nonstatic. Added new | |
7142 | parameter "limit_kind". | |
7143 | (can_dump_core): Made nonstatic. Moved printing code to... | |
7144 | (warn_cant_dump_core): New function. | |
7145 | (can_dump_core_warn): Likewise. | |
7146 | (internal_vproblem): Replace calls to can_dump_core with | |
7147 | calls to can_dump_core_warn. Supply new argument to each. | |
7148 | ||
7149 | 2014-06-19 Gary Benson <gbenson@redhat.com> | |
7150 | ||
7151 | * utils.h (demangler_vwarning): New declaration. | |
7152 | (demangler_warning): Likewise. | |
7153 | * utils.c (struct internal_problem) | |
7154 | <user_settable_should_quit>: New field. | |
7155 | <user_settable_should_dump_core>: Likewise | |
7156 | (internal_error_problem): Add values for above new fields. | |
7157 | (internal_warning_problem): Likewise. | |
7158 | (demangler_warning_problem): New static global. | |
7159 | (demangler_vwarning): New function. | |
7160 | (demangler_warning): Likewise. | |
7161 | (add_internal_problem_command): Selectively add commands. | |
7162 | (_initialize_utils): New internal problem command. | |
7163 | * maint.c (maintenance_demangler_warning): New function. | |
7164 | (_initialize_maint_cmds): New command. | |
7165 | ||
7166 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7167 | ||
7168 | * f-valprint.c (info_common_command_for_block): Update. | |
7169 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
7170 | const. | |
7171 | ||
7172 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7173 | ||
7174 | * symtab.h (struct symtab) <blockvector>: Now const. | |
7175 | * ada-lang.c (ada_add_global_exceptions): Update. | |
7176 | * buildsym.c (augment_type_symtab): Update. | |
7177 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
7178 | * jit.c (finalize_symtab): Update. | |
7179 | * jv-lang.c (add_class_symtab_symbol): Update. | |
7180 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
7181 | Update. | |
7182 | * objfiles.c (objfile_relocate1): Update. | |
7183 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
7184 | (maintenance_check_psymtabs): Update. | |
7185 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
7186 | Update. | |
7187 | * spu-tdep.c (spu_catch_start): Update. | |
7188 | * symmisc.c (dump_symtab_1): Update. | |
7189 | * symtab.c (lookup_global_symbol_from_objfile) | |
7190 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
7191 | (basic_lookup_transparent_type_quick) | |
7192 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
7193 | (find_pc_sect_line, search_symbols): Update. | |
7194 | * block.c (find_block_in_blockvector): Make "bl" const. | |
7195 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
7196 | const. | |
7197 | (blockvector_contains_pc): Make "bv" const. | |
7198 | (block_for_pc_sect): Update. | |
7199 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
7200 | (blockvector_contains_pc): Update. | |
7201 | * breakpoint.c (resolve_sal_pc): Update. | |
7202 | * inline-frame.c (block_starting_point_at): Update. | |
7203 | ||
7204 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7205 | ||
7206 | * completer.c (complete_line): Make "line_buffer" const. | |
7207 | * completer.h (complete_line): Update. | |
7208 | ||
7209 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7210 | ||
7211 | * symtab.c (add_macro_name): Remove unneeded cast. | |
7212 | ||
7213 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7214 | ||
7215 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
7216 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
7217 | ||
7218 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7219 | ||
7220 | * probe.c (info_probes_for_ops): Make "arg" const. | |
7221 | * probe.h (info_probes_for_ops): Update. | |
7222 | ||
7223 | 2014-06-18 Tom Tromey <tromey@redhat.com> | |
7224 | ||
7225 | * varobj.c (varobj_create): Update. | |
7226 | * valops.c (value_of_this): Update. | |
7227 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
7228 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
7229 | * symtab.c (skip_prologue_sal) | |
7230 | (default_make_symbol_completion_list_break_on) | |
7231 | (skip_prologue_using_sal): Update. | |
7232 | * stack.h (iterate_over_block_locals) | |
7233 | (iterate_over_block_local_vars): Update. | |
7234 | * stack.c (print_frame_args): Update. | |
7235 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
7236 | parameter const. | |
7237 | (get_selected_block): Make return type const. | |
7238 | * python/py-frame.c (frapy_block): Update. | |
7239 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
7240 | * p-exp.y (%union) <bval>: Now const. | |
7241 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
7242 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
7243 | * m2-exp.y (%union) <bval>: Now const. | |
7244 | * linespec.c (get_current_search_block): Make return type const. | |
7245 | (create_sals_line_offset, find_label_symbols): Update. | |
7246 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
7247 | Update. | |
7248 | (block_starting_point_at): Make "block" const. | |
7249 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
7250 | (check_exception_resume): Update. | |
7251 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
7252 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
7253 | * frame.h (get_frame_block): Update. | |
7254 | (get_selected_block): Make return type const. | |
7255 | * frame.c (frame_id_inner): Update. | |
7256 | * f-valprint.c (info_common_command_for_block) | |
7257 | (info_common_command): Update. | |
7258 | * dwarf2loc.c (dwarf2_find_location_expression) | |
7259 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
7260 | (locexpr_describe_location_piece): Update. | |
7261 | * c-exp.y (%union) <bval>: Now const. | |
7262 | * breakpoint.c (resolve_sal_pc): Update. | |
7263 | * blockframe.c (get_frame_block):Make return type const. | |
7264 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
7265 | (block_innermost_frame): Update. | |
7266 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
7267 | (block_for_pc, block_for_pc_sect): Update. | |
7268 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
7269 | 'pblock' const. | |
7270 | (block_for_pc_sect, block_for_pc): Make return type const. | |
7271 | * ax-gdb.c (gen_expr): Update. | |
7272 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
7273 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
7274 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
7275 | (ada_read_var_value): Update. | |
7276 | * ada-exp.y (struct name_info) <block>: Now const. | |
7277 | (%union): Likewise. | |
7278 | (block_lookup): Constify. | |
7279 | ||
7280 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7281 | ||
7282 | * nat/i386-dregs.h: New file. | |
7283 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
7284 | * i386-nat.h (i386-dregs.h): New include. | |
7285 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
7286 | (DR_LASTADDR): Likewise. | |
7287 | (DR_NADDR): Likewise. | |
7288 | (DR_STATUS): Likewise. | |
7289 | (DR_CONTROL): Likewise. | |
7290 | (i386_debug_reg_state): Likewise. | |
7291 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
7292 | ||
7293 | 2014-06-18 Don Breazeal <donb@codesourcery.com> | |
7294 | ||
7295 | * breakpoint.c (set_longjmp_breakpoint): Call | |
7296 | momentary_breakpoint_from_master with additional argument. | |
7297 | (set_longjmp_breakpoint_for_call_dummy): Call | |
7298 | momentary_breakpoint_from_master with additional argument. | |
7299 | (set_std_terminate_breakpoint): Call | |
7300 | momentary_breakpoint_from_master with additional argument. | |
7301 | (momentary_breakpoint_from_master): Add argument to function | |
7302 | definition and use it to initialize structure member flag. | |
7303 | (clone_momentary_breakpoint): Call | |
7304 | momentary_breakpoint_from_master with additional argument. | |
7305 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
7306 | member flags set in momentary_breakpoint_from_master. | |
7307 | ||
7308 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7309 | ||
7310 | * i386-nat.c (i386_show_dr): Renamed to | |
7311 | i386_dr_show and made nonstatic. All uses updated. | |
7312 | (i386_length_and_rw_bits): Renamed to | |
7313 | i386_dr_length_and_rw_bits and made nonstatic. | |
7314 | All uses updated. | |
7315 | (i386_insert_aligned_watchpoint): Renamed to | |
7316 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
7317 | All uses updated. | |
7318 | (i386_remove_aligned_watchpoint): Renamed to | |
7319 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
7320 | All uses updated. | |
7321 | (i386_update_inferior_debug_regs): Renamed to | |
7322 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
7323 | All uses updated. | |
7324 | ||
7325 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7326 | ||
7327 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
7328 | (i386_dr_low_can_set_control): Likewise. | |
7329 | (i386_dr_low_set_addr): Likewise. | |
7330 | (i386_dr_low_set_control): Likewise. | |
7331 | (i386_dr_low_get_addr): Likewise. | |
7332 | (i386_dr_low_get_status): Likewise. | |
7333 | (i386_dr_low_get_control): Likewise. | |
7334 | (i386_insert_aligned_watchpoint): Use new macros. | |
7335 | (i386_update_inferior_debug_regs): Likewise. | |
7336 | (i386_stopped_data_address): Likewise. | |
7337 | ||
7338 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7339 | ||
7340 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
7341 | New parameter. All uses updated. | |
7342 | ||
7343 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7344 | ||
7345 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
7346 | All uses updated. | |
7347 | ||
7348 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7349 | ||
7350 | * i386-nat.c (debug_printf): New macro. | |
7351 | (i386_get_debug_register_length): Likewise. | |
7352 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
7353 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
7354 | and printf_unfiltered. Use phex to format values. | |
7355 | ||
7356 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7357 | ||
7358 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
7359 | Make const. | |
7360 | ||
7361 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7362 | ||
7363 | * i386-nat.c: Comment changes. | |
7364 | ||
7365 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7366 | ||
7367 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
7368 | ||
7369 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7370 | ||
7371 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
7372 | (i386_insert_aligned_watchpoint): Likewise. | |
7373 | (i386_remove_aligned_watchpoint): Likewise. | |
7374 | (i386_handle_nonaligned_watchpoint): Likewise. | |
7375 | ||
7376 | 2014-06-18 Gary Benson <gbenson@redhat.com> | |
7377 | ||
7378 | * i386-nat.c: Whitespace changes. | |
7379 | ||
7380 | 2014-06-17 Samuel Bronson <naesten@gmail.com> | |
7381 | ||
7382 | * MAINTAINERS: Update Roland McGrath's email address. | |
7383 | Thanks to Sergio Durigan Junior for pointing out that he left | |
7384 | Red Hat a while ago, and giving me a current address. | |
7385 | ||
7386 | 2014-06-17 Tom Tromey <tromey@redhat.com> | |
7387 | ||
7388 | * utils.h (savestring): Remove declaration. | |
7389 | ||
7390 | 2014-06-17 Tom Tromey <tromey@redhat.com> | |
7391 | ||
7392 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
7393 | ||
7394 | 2014-06-16 Keith Seitz <keiths@redhat.com> | |
7395 | ||
7396 | PR mi/15863 | |
7397 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
7398 | to update the varobj if inferior_ptid is null_ptid. | |
7399 | ||
7400 | 2014-06-16 Tom Tromey <tromey@redhat.com> | |
7401 | ||
7402 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
7403 | const. | |
7404 | (target_info_proc): Update. | |
7405 | * target.c (target_info_proc): Make "args" const. | |
7406 | * procfs.c (procfs_info_proc): Update. | |
7407 | * linux-tdep.c (linux_info_proc): Update. | |
7408 | (linux_core_info_proc_mappings): Make "args" const. | |
7409 | (linux_core_info_proc): Update. | |
7410 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
7411 | * gdbarch.c: Rebuild. | |
7412 | * gdbarch.h: Rebuild. | |
7413 | * corelow.c (core_info_proc): Update. | |
7414 | ||
7415 | 2014-06-16 Tom Tromey <tromey@redhat.com> | |
7416 | ||
7417 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
7418 | const. | |
7419 | (target_disconnect): Update. | |
7420 | * target.c (target_disconnect): Make "args" const. | |
7421 | * target-delegates.c: Rebuild. | |
7422 | * remote.c (remote_disconnect): Update. | |
7423 | * record.h (record_disconnect): Update. | |
7424 | * record.c (record_disconnect): Update. | |
7425 | * inf-child.c (inf_child_disconnect): Update. | |
7426 | ||
7427 | 2014-06-16 Tom Tromey <tromey@redhat.com> | |
7428 | ||
7429 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
7430 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
7431 | * target-delegates.c: Rebuild. | |
7432 | * remote.c (remote_rcmd): Update. | |
7433 | * monitor.c (monitor_rcmd): Update. | |
7434 | ||
7435 | 2014-06-16 Pedro Alves <palves@redhat.com> | |
7436 | ||
7437 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
7438 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
7439 | have OBJF_SHARED set. | |
7440 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
7441 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
7442 | instead of OBJF_USERLOADED. | |
7443 | * objfiles.h (OBJF_SHARED): Update comment. | |
7444 | (userloaded_objfile_contains_address_p): Rename to ... | |
7445 | (shared_objfile_contains_address_p): ... this, and update | |
7446 | comments. | |
7447 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
7448 | new objfile. | |
7449 | (remove_symbol_file_command): Skip objfiles that don't have | |
7450 | OBJF_SHARED set. | |
7451 | ||
7452 | 2014-06-16 Tom Tromey <tromey@redhat.com> | |
7453 | ||
7454 | * minsyms.h (prim_record_minimal_symbol) | |
7455 | (prim_record_minimal_symbol_and_info): Update comments. | |
7456 | ||
7457 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> | |
7458 | ||
7459 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
7460 | or --without-guile, according to how GDB was built. | |
7461 | ||
7462 | 2014-06-13 Tom Tromey <tromey@redhat.com> | |
7463 | ||
7464 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
7465 | to help_list. | |
7466 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
7467 | to help_list. | |
7468 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
7469 | help_list. | |
7470 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
7471 | help_list.Pass all_commands, not -1, to help_list. | |
7472 | * cli/cli-dump.c (dump_command, append_command) | |
7473 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
7474 | (binary_dump_command, binary_append_command): Pass all_commands, | |
7475 | not -1, to help_list. | |
7476 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
7477 | -1, to help_list. | |
7478 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
7479 | -1, to help_list. | |
7480 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
7481 | help_list. | |
7482 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
7483 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
7484 | all_commands, not -1, to help_list. | |
7485 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
7486 | help_list. | |
7487 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
7488 | help_list. | |
7489 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
7490 | help_list. | |
7491 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
7492 | -1, to help_list. | |
7493 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
7494 | not -1, to help_list. | |
7495 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
7496 | not -1, to help_list. | |
7497 | * maint.c (maintenance_command, maintenance_info_command) | |
7498 | (maintenance_print_command, maintenance_set_cmd): Pass | |
7499 | all_commands, not -1, to help_list. | |
7500 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
7501 | help_list. | |
7502 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
7503 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
7504 | help_list. | |
7505 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
7506 | help_list. | |
7507 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
7508 | help_list. | |
7509 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
7510 | help_list. | |
7511 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
7512 | help_list. | |
7513 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
7514 | all_commands, not -1, to help_list. | |
7515 | ||
7516 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> | |
7517 | ||
7518 | * regcache.c (struct register_to_invalidate): New structure. | |
7519 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
7520 | functions. | |
7521 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
7522 | ||
7523 | 2014-06-12 Yao Qi <yao@codesourcery.com> | |
7524 | ||
7525 | * varobj.c (varobj_get_num_children): Call | |
7526 | varobj_is_dynamic_p. | |
7527 | (varobj_list_children): Likewise. | |
7528 | (varobj_update): Likewise. Update comments. | |
7529 | ||
7530 | 2014-06-12 Yao Qi <yao@codesourcery.com> | |
7531 | ||
7532 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
7533 | (varobj_is_dynamic_p): ... this. New function. | |
7534 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
7535 | (varobj_is_dynamic_p): Declare. | |
7536 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
7537 | (mi_print_value_p, varobj_update_one): Likewise. | |
7538 | ||
7539 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> | |
7540 | Yao Qi <yao@codesourcery.com> | |
7541 | ||
7542 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
7543 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
7544 | "#if HAVE_PYTHON" and "#endif". | |
7545 | (update_dynamic_varobj_children): Likewise. | |
7546 | ||
7547 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> | |
7548 | Yao Qi <yao@codesourcery.com> | |
7549 | ||
7550 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
7551 | gdb_python_initialized is false. Move some code from varobj.c. | |
7552 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
7553 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
7554 | (struct varobj_item): Moved to varobj-iter.h". | |
7555 | (varobj_clear_saved_item): New function. | |
7556 | (update_dynamic_varobj_children): Move python-related code to | |
7557 | py-varobj.c. | |
7558 | (free_variable): Call varobj_clear_saved_item and | |
7559 | varobj_iter_delete. | |
7560 | ||
7561 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> | |
7562 | Yao Qi <yao@codesourcery.com> | |
7563 | ||
7564 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
7565 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
7566 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
7567 | (py-varobj.o): New rule. | |
7568 | * python/py-varobj.c: New file. | |
7569 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
7570 | * varobj-iter.h: New file. | |
7571 | * varobj.c: Include "varobj-iter.h" | |
7572 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
7573 | to "struct varobj_iter *". | |
7574 | <saved_item>: Likewise. | |
7575 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
7576 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
7577 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
7578 | python-specific code to python/py-varobj.c. | |
7579 | (install_visualizer): Call varobj_iter_delete instead of | |
7580 | Py_XDECREF. | |
7581 | * varobj.h (varobj_ensure_python_env): Declare. | |
7582 | ||
7583 | 2014-06-12 Yao Qi <yao@codesourcery.com> | |
7584 | ||
7585 | * varobj.c (struct varobj_item): New structure. | |
7586 | (create_child_with_value): Update declaration. | |
7587 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
7588 | 'item'. All callers updated. | |
7589 | (install_dynamic_child): Likewise. | |
7590 | (update_dynamic_varobj_children): Likewise. | |
7591 | (varobj_add_child): Likewise. | |
7592 | (create_child_with_value): Likewise. | |
7593 | ||
7594 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> | |
7595 | ||
7596 | * NEWS: Create a new section for the next release branch. | |
7597 | Rename the section of the current branch, now that it has | |
7598 | been cut. | |
7599 | ||
7600 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> | |
7601 | ||
7602 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
7603 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
7604 | ||
7605 | 2014-06-11 Pedro Alves <palves@redhat.com> | |
7606 | ||
7607 | PR remote/17028 | |
7608 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
7609 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
7610 | net_windows_socket_check_pending. | |
7611 | (net_windows_wait_handle): Check for pending events with | |
7612 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
7613 | checking the socket's event. | |
7614 | ||
7615 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> | |
7616 | ||
7617 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
7618 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
7619 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
7620 | char * of the second argument to PyObject_GetAttrString. | |
7621 | ||
7622 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> | |
7623 | ||
7624 | * serial.c (serial_write): Fix index of character to be printed | |
7625 | in call to serial_logchar when serial debug traces are enabled. | |
7626 | ||
7627 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> | |
7628 | ||
7629 | * gdbtypes (resolve_dynamic_range): Add function description. | |
7630 | ||
7631 | 2014-06-09 Pedro Alves <palves@redhat.com> | |
7632 | ||
7633 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
7634 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
7635 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
7636 | state. | |
7637 | ||
7638 | 2014-06-09 Gary Benson <gbenson@redhat.com> | |
7639 | ||
7640 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
7641 | the always-available ANSI-standard signals from the signals that | |
7642 | require checking. | |
7643 | (do_gdb_signal_to_host): Likewise. | |
7644 | * proc-events.c (signal_table): Likewise. | |
7645 | ||
7646 | 2014-06-08 Hui Zhu <hui@codesourcery.com> | |
7647 | ||
7648 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
7649 | function. | |
7650 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
7651 | declaration. | |
7652 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
7653 | detach. | |
7654 | ||
7655 | 2014-06-07 Keith Seitz <keiths@redhat.com> | |
7656 | ||
7657 | Revert: | |
7658 | PR c++/16253 | |
7659 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
7660 | from symbol_matches_domain in symtab.c. All local callers | |
7661 | of symbol_matches_domain updated. | |
7662 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
7663 | search STRUCT_DOMAIN. | |
7664 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
7665 | independently. standard_lookup will do that automatically. | |
7666 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
7667 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7668 | (cp_lookup_symbol_in_namespace): Likewise. | |
7669 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
7670 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
7671 | may return a STRUCT_DOMAIN match. | |
7672 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
7673 | * cp-support.c: Include language.h. | |
7674 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
7675 | VAR_DOMAIN. | |
7676 | * psymtab.c (match_partial_symbol): Compare the requested | |
7677 | domain with the symbol's domain directly. | |
7678 | (lookup_partial_symbol): Likewise. | |
7679 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
7680 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7681 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
7682 | appropriate languages. | |
7683 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
7684 | and moved to ada-lang.c | |
7685 | (lookup_block_symbol): Explain that this function only returns | |
7686 | symbol matching the requested DOMAIN. | |
7687 | Compare the requested domain with the symbol's domain directly. | |
7688 | (iterate_over_symbols): Compare the requested domain with the | |
7689 | symbol's domain directly. | |
7690 | * symtab.h (symbol_matches_domain): Remove. | |
7691 | ||
7692 | 2014-06-06 Doug Evans <xdje42@gmail.com> | |
7693 | ||
7694 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
7695 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
7696 | (gdbscm_guile_version_is_at_least): Declare. | |
7697 | (gdbscm_scm_string_to_int): Declare. | |
7698 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
7699 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
7700 | (guile_datadir): New static global. | |
7701 | (gdbscm_guile_data_directory): New function. | |
7702 | (initialize_scheme_side): Update. | |
7703 | (misc_guile_functions): Add guile-data-directory. | |
7704 | (initialize_gdb_module): Fetch guile version number. | |
7705 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
7706 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
7707 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
7708 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
7709 | comments. | |
7710 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
7711 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
7712 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
7713 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
7714 | ||
7715 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> | |
7716 | ||
7717 | * main.c (print_gdb_help): Add -q and --silent. | |
7718 | ||
7719 | 2014-06-06 Gary Benson <gbenson@redhat.com> | |
7720 | ||
7721 | * common/signals.c: Remove preprocessor conditionals for | |
7722 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
7723 | SIGSEGV and SIGTERM. | |
7724 | * proc-events.c: Likewise. | |
7725 | ||
7726 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> | |
7727 | ||
7728 | * symfile.c (symfile_free_objfile): Remove restriction to | |
7729 | OBJF_USERLOADED. | |
7730 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
7731 | add_target_sections_of_objfile. | |
7732 | ||
7733 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> | |
7734 | ||
7735 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
7736 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
7737 | 'vlscm_scm_to_value'. | |
7738 | ||
7739 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> | |
7740 | ||
7741 | PR mi/15806 | |
7742 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
7743 | Update function documentation to clarify effect of parameter | |
7744 | QUOTER. | |
7745 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
7746 | fputstrn_unfiltered. | |
7747 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
7748 | generate the output. | |
7749 | (mi_solib_unloaded): Same. | |
7750 | ||
7751 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> | |
7752 | ||
7753 | * development.sh: Delete. | |
7754 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
7755 | * configure.ac: Adjust development.sh source call. | |
7756 | * configure: Regenerate. | |
7757 | ||
7758 | 2014-06-04 Doug Evans <xdje42@gmail.com> | |
7759 | ||
7760 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
7761 | is_scheme_bkpt, spec. | |
7762 | (bpscm_make_breakpoint_smob): Initialize new members. | |
7763 | (gdbscm_create_breakpoint_x): Split into two ... | |
7764 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
7765 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
7766 | (scheme_function breakpoint_functions): Update. | |
7767 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
7768 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
7769 | register-breakpoint!. | |
7770 | ||
7771 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> | |
7772 | ||
7773 | PR server/17023 | |
7774 | * mem-break.c (z_type_supported): Return zero if | |
7775 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
7776 | ||
7777 | 2014-06-04 Tom Tromey <tromey@redhat.com> | |
7778 | ||
7779 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
7780 | value_from_contents_and_address_unresolved. | |
7781 | (ada_template_to_fixed_record_type_1): Likewise. | |
7782 | (ada_which_variant_applies): Likewise. | |
7783 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
7784 | * value.c (value_from_contents_and_address_unresolved): New | |
7785 | function. | |
7786 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
7787 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
7788 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
7789 | ||
7790 | 2014-06-04 Tom Tromey <tromey@redhat.com> | |
7791 | ||
7792 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
7793 | ||
7794 | 2014-06-04 Tom Tromey <tromey@redhat.com> | |
7795 | ||
7796 | * procfs.c (procfs_attach): Make "args" const. | |
7797 | * windows-nat.c (windows_attach): Make "args" const. | |
7798 | * nto-procfs.c (procfs_attach): Make "args" const. | |
7799 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
7800 | * go32-nat.c (go32_attach): Make "args" const. | |
7801 | * gnu-nat.c (gnu_attach): Make "args" const. | |
7802 | * darwin-nat.c (darwin_attach): Make "args" const. | |
7803 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
7804 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
7805 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
7806 | Make "args" const. | |
7807 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
7808 | (find_default_attach): Likewise. | |
7809 | * utils.c (parse_pid_to_attach): Make "args" const. | |
7810 | * utils.h (parse_pid_to_attach): Update. | |
7811 | ||
7812 | 2014-06-04 Tom Tromey <tromey@redhat.com> | |
7813 | ||
7814 | * target-delegates.c: Rebuild. | |
7815 | * target.c (default_thread_address_space): New function. | |
7816 | (target_thread_address_space): Simplify. | |
7817 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
7818 | TARGET_DEFAULT_FUNC. | |
7819 | ||
7820 | 2014-06-04 Doug Evans <xdje42@gmail.com> | |
7821 | ||
7822 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
7823 | ||
7824 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> | |
7825 | ||
7826 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
7827 | (record_btrace_resume_exec_dir) | |
7828 | (record_btrace_async_inferior_event_handler) | |
7829 | (record_btrace_handle_async_inferior_event): New. | |
7830 | (record_btrace_open): Create async event handler. | |
7831 | (record_btrace_close): Delete async event handler. | |
7832 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
7833 | Mark async event handler. | |
7834 | (record_btrace_execution_direction): New. | |
7835 | (init_record_btrace_ops): Initialize to_execution_direction. | |
7836 | ||
7837 | 2014-06-03 Doug Evans <xdje42@gmail.com> | |
7838 | ||
7839 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
7840 | (gdbscm_make_parameter): Ditto. | |
7841 | ||
7842 | 2014-06-03 Doug Evans <dje@google.com> | |
7843 | ||
7844 | * exec.c (exec_close_1): Call clear_section_table instead of | |
7845 | resize_section_table. | |
7846 | (clear_section_table): New function. | |
7847 | (resize_section_table): Make static. Rename arg num_added to | |
7848 | adjustment. | |
7849 | * exec.h (clear_section_table): Declare. | |
7850 | (resize_section_table): Delete. | |
7851 | * progspace.c (release_program_space): Call clear_section_table | |
7852 | instead of resize_section_table. | |
7853 | ||
7854 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> | |
7855 | ||
7856 | * NEWS (Python Scripting): Add entry about the new xmethods | |
7857 | feature. | |
7858 | ||
7859 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> | |
7860 | ||
7861 | * python/py-xmethods.c: New file. | |
7862 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
7863 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
7864 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
7865 | field. | |
7866 | (objfpy_get_xmethods): New function. | |
7867 | (objfile_getset): New entry 'xmethods'. | |
7868 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
7869 | (pspy_dealloc): XDECREF on the new xmethods field. | |
7870 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
7871 | field. | |
7872 | (pspy_get_xmethods): New function. | |
7873 | (pspace_getset): New entry 'xmethods'. | |
7874 | * python/python-internal.h: Add declarations for new functions. | |
7875 | * python/python.c (_initialize_python): Invoke | |
7876 | gdbpy_initialize_xmethods. | |
7877 | * python/lib/gdb/__init__.py (xmethods): New | |
7878 | attribute. | |
7879 | * python/lib/gdb/xmethod.py: New file. | |
7880 | * python/lib/gdb/command/xmethods.py: New file. | |
7881 | ||
7882 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> | |
7883 | ||
7884 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
7885 | best match method returned by find_overload_match is an xmethod. | |
7886 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
7887 | the best matching operator returned by find_overload_match is an | |
7888 | xmethod. | |
7889 | * valops.c: #include "extension.h". | |
7890 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
7891 | Return void. The list of matching source methods is returned in | |
7892 | "fn_list" and a vector of matching debug method workers is | |
7893 | returned in "xm_worker_vec". Update all callers. | |
7894 | (value_find_oload_method_list): Likewise. | |
7895 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
7896 | non-NULL, then the index of the best matching method in this | |
7897 | vector is returned. Update all callers. | |
7898 | (find_overload_match): Include xmethods while performing overload | |
7899 | resolution. | |
7900 | ||
7901 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> | |
7902 | ||
7903 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
7904 | * extension-priv.h (struct extension_language_ops): Add the | |
7905 | xmethod interface. | |
7906 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
7907 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
7908 | invoke_xmethod, free_xmethod_worker, | |
7909 | free_xmethod_worker_vec): New functions. | |
7910 | * extension.h: #include "common/vec.h". | |
7911 | New function declarations. | |
7912 | (struct xmethod_worker): New struct. | |
7913 | (VEC (xmethod_worker_ptr)): New vector type. | |
7914 | (xmethod_worker_ptr): New typedef. | |
7915 | (xmethod_worker_vec): Likewise. | |
7916 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
7917 | builtin_type. | |
7918 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
7919 | (struct builtin_type): New field "xmethod". | |
7920 | * valarith.c (value_ptradd): Assert that the value argument is not | |
7921 | lval_xcallable. | |
7922 | * valops.c (value_must_coerce_to_target): Return 0 for | |
7923 | lval_xcallable values. | |
7924 | * value.c (struct value): New field XM_WORKER in the field | |
7925 | LOCATION. | |
7926 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
7927 | values. | |
7928 | (set_value_address): Assert that the value is not an | |
7929 | lval_xcallable. | |
7930 | (value_free): Free the associated xmethod worker when freeing | |
7931 | lval_xcallable values. | |
7932 | (set_value_component_location): Assert that the WHOLE value is not | |
7933 | lval_xcallable. | |
7934 | (value_of_xmethod, call_xmethod): New functions. | |
7935 | * value.h: Declare "struct xmethod_worker". | |
7936 | Declare new functions value_of_xmethod, call_xmethod. | |
7937 | ||
7938 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> | |
7939 | Pedro Alves <palves@redhat.com> | |
7940 | ||
7941 | PR breakpoints/17000 | |
7942 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
7943 | New function, extracted from software_breakpoint_inserted_here_p. | |
7944 | (software_breakpoint_inserted_here_p): Replace factored out code | |
7945 | by call to find_non_raw_software_breakpoint_inserted_here. | |
7946 | (bp_target_info_copy_insertion_state): New function. | |
7947 | (bkpt_insert_location): Handle the case of a single-step | |
7948 | breakpoint already inserted at the same address. | |
7949 | (bkpt_remove_location): Handle the case of a single-step | |
7950 | breakpoint still inserted at the same address. | |
7951 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
7952 | breakpoint already inserted at the same address. | |
7953 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
7954 | non-raw breakpoint still inserted at the same address. | |
7955 | (find_single_step_breakpoint): New function, extracted from | |
7956 | single_step_breakpoint_inserted_here_p. | |
7957 | (find_single_step_breakpoint): New function, | |
7958 | factored out from single_step_breakpoint_inserted_here_p. | |
7959 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
7960 | ||
7961 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) | |
7962 | ||
7963 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
7964 | * source.c (show_substitute_path_command): Fix display of matching | |
7965 | substitution rules. | |
7966 | ||
7967 | 2014-06-03 Gary Benson <gbenson@redhat.com> | |
7968 | ||
7969 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
7970 | ||
7971 | 2014-06-02 Doug Evans <xdje42@gmail.com> | |
7972 | ||
7973 | Add parameter support for Guile. | |
7974 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
7975 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
7976 | (scm-param.o): New rule. | |
7977 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
7978 | (gdbscm_misc_error): Declare. | |
7979 | (gdbscm_canonicalize_command_name): Declare. | |
7980 | (gdbscm_scm_to_host_string): Declare. | |
7981 | (gdbscm_scm_from_host_string): Declare. | |
7982 | (gdbscm_initialize_parameters): Declare. | |
7983 | * guile/guile.c (initialize_gdb_module): Call | |
7984 | gdbscm_initialize_parameters. | |
7985 | * guile/lib/gdb.scm: Export parameter symbols. | |
7986 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
7987 | cmdscm_canonicalize_name and made public. All callers updated. | |
7988 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
7989 | * guile/scm-param.c: New file. | |
7990 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
7991 | (gdbscm_scm_to_host_string): New function. | |
7992 | (gdbscm_scm_from_host_string): New function. | |
7993 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
7994 | ||
7995 | 2014-06-02 Doug Evans <xdje42@gmail.com> | |
7996 | ||
7997 | Add command support for Guile. | |
7998 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
7999 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
8000 | (scm-cmd.o): New rule. | |
8001 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
8002 | (gdbscm_user_error_p): Declare. | |
8003 | (gdbscm_parse_command_name): Declare. | |
8004 | (gdbscm_valid_command_class_p): Declare. | |
8005 | (gdbscm_initialize_commands): Declare. | |
8006 | * guile/guile.c (initialize_gdb_module): Call | |
8007 | gdbscm_initialize_commands. | |
8008 | * guile/lib/gdb.scm: Export command symbols. | |
8009 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
8010 | (throw-user-error): New function. | |
8011 | * guile/scm-cmd.c: New file. | |
8012 | * guile/scm-exception.c (user_error_symbol): New static global. | |
8013 | (gdbscm_user_error_p): New function. | |
8014 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
8015 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
8016 | ||
8017 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> | |
8018 | ||
8019 | * top.c (command_loop): Handle comments here... | |
8020 | (command_line_input): ... not here. | |
8021 | ||
8022 | 2014-06-02 Doug Evans <xdje42@gmail.com> | |
8023 | ||
8024 | Add progspace support for Guile. | |
8025 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
8026 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
8027 | (scm-progspace.o): New rule. | |
8028 | * guile/guile-internal.h (pspace_smob): New typedef. | |
8029 | (psscm_pspace_smob_pretty_printers): Declare. | |
8030 | (psscm_pspace_smob_from_pspace): Declare. | |
8031 | (psscm_scm_from_pspace): Declare. | |
8032 | * guile/guile.c (initialize_gdb_module): Call | |
8033 | gdbscm_initialize_pspaces. | |
8034 | * guile/lib/gdb.scm: Export progspace symbols. | |
8035 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
8036 | support. | |
8037 | (append-pretty-printer!): Ditto. | |
8038 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
8039 | Implement. | |
8040 | * guile/scm-progspace.c: New file. | |
8041 | ||
8042 | 2014-06-03 Alan Modra <amodra@gmail.com> | |
8043 | ||
8044 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
8045 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
8046 | ||
8047 | 2014-06-02 Doug Evans <dje@google.com> | |
8048 | ||
8049 | Add support for skeletonless type units. | |
8050 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
8051 | n_allocated_type_units. | |
8052 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
8053 | nr_all_type_units_reallocs. | |
8054 | (create_signatured_type_table_from_index): Initialize | |
8055 | n_allocated_type_units | |
8056 | (create_all_type_units): Ditto. | |
8057 | (add_type_unit): Move up in file. New arg slot. | |
8058 | All callers updated. Increase space for all_type_units more | |
8059 | efficiently. | |
8060 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
8061 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
8062 | (lookup_dwp_signatured_type): Ditto. | |
8063 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
8064 | All callers updated. | |
8065 | (build_type_psymtabs_1): Leave type_unit_groups as | |
8066 | NULL if no TUs present. | |
8067 | (print_tu_stats): New function. | |
8068 | (process_skeletonless_type_unit): New function. | |
8069 | (process_dwo_file_for_skeletonless_type_units): New | |
8070 | function. | |
8071 | (process_skeletonless_type_units): New function. | |
8072 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
8073 | Call print tu_stats if debugging enabled. | |
8074 | ||
8075 | 2014-06-02 Pedro Alves <palves@redhat.com> | |
8076 | ||
8077 | * breakpoint.c (build_target_command_list): Don't build a command | |
8078 | list if we have any duplicate location that isn't a dprintf. | |
8079 | ||
8080 | 2014-06-02 Pedro Alves <palves@redhat.com> | |
8081 | ||
8082 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
8083 | (initialize_breakpoint_ops): Install it as dprintf's | |
8084 | breakpoint_hit method. | |
8085 | ||
8086 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> | |
8087 | ||
8088 | * source.c (substitute_path_rule_matches): Simplify using | |
8089 | filename_ncmp instead of FILENAME_CMP. | |
8090 | ||
8091 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> | |
8092 | ||
8093 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
8094 | ||
8095 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> | |
8096 | ||
8097 | * configure.ac: When Guile is available, check for the | |
8098 | availability of 'scm_new_smob'. | |
8099 | * configure, config.h.in: Regenerate. | |
8100 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
8101 | function. | |
8102 | ||
8103 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> | |
8104 | ||
8105 | * frame.c (struct frame_info): Add stop_string field. | |
8106 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
8107 | (get_prev_frame_always): Old content moved into | |
8108 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
8109 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
8110 | (frame_stop_reason_string): New function definition. | |
8111 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
8112 | mention frame_stop_reason_string. | |
8113 | (frame_stop_reason_string): New function declaration. | |
8114 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
8115 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
8116 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
8117 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
8118 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
8119 | ||
8120 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> | |
8121 | ||
8122 | * frame.c (frame_stop_reason_string): Rename to ... | |
8123 | (unwind_stop_reason_to_string): this. | |
8124 | * frame.h (frame_stop_reason_string): Rename to ... | |
8125 | (unwind_stop_reason_to_string): this. | |
8126 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
8127 | (backtrace_command_1): Likewise. | |
8128 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
8129 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
8130 | ||
8131 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> | |
8132 | ||
8133 | * frame.c (remove_prev_frame): New function. | |
8134 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
8135 | remove_prev_frame. | |
8136 | ||
8137 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8138 | ||
8139 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
8140 | and make it const. When a single-step decays to a continue, | |
8141 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
8142 | to step to user_visible_resume_ptid, not what we ask the | |
8143 | target to do. | |
8144 | ||
8145 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8146 | ||
8147 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
8148 | (handle_step_into_function_backward): Adjust. | |
8149 | Don't set the even thread's stop_step and call stop_waiting before | |
8150 | calling end_stepping_range. Instead do that ... | |
8151 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
8152 | ||
8153 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8154 | ||
8155 | * infrun.c (stop_stepping): Rename to ... | |
8156 | (stop_waiting): ... this. | |
8157 | (proceed): Update comment. | |
8158 | (process_event_stop_test, handle_inferior_event) | |
8159 | (handle_signal_stop, handle_step_into_function) | |
8160 | (handle_step_into_function_backward): Update. | |
8161 | ||
8162 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8163 | ||
8164 | * infcall.c (run_inferior_call): Don't check whether the current | |
8165 | thread is running after the proceed call. | |
8166 | ||
8167 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8168 | Tom Tromey <tromey@redhat.com> | |
8169 | ||
8170 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
8171 | background execution commands are now always available. | |
8172 | * target.h (target_async_permitted): Update comment. | |
8173 | * target.c (target_async_permitted, target_async_permitted_1): | |
8174 | Default to 1. | |
8175 | (set_target_async_command): Rename to ... | |
8176 | (maint_set_target_async_command): ... this. | |
8177 | (show_target_async_command): Rename to ... | |
8178 | (maint_show_target_async_command): ... this. | |
8179 | (_initialize_target): Adjust. | |
8180 | * infcmd.c (prepare_execution_command): Make extern. | |
8181 | * inferior.h (prepare_execution_command): Declare. | |
8182 | * infrun.c (set_observer_mode): Leave target async alone. | |
8183 | * mi/mi-interp.c (mi_interpreter_init): Install | |
8184 | mi_on_sync_execution_done as sync_execution_done observer. | |
8185 | (mi_on_sync_execution_done): New function. | |
8186 | (mi_execute_command_input_handler): Don't print the prompt if we | |
8187 | just started a synchronous command with an async target. | |
8188 | (mi_on_resume): Check sync_execution before printing prompt. | |
8189 | * mi/mi-main.h (mi_async_p): Declare. | |
8190 | * mi/mi-main.c: Include gdbcmd.h. | |
8191 | (mi_async_p): New function. | |
8192 | (mi_async, mi_async_1): New globals. | |
8193 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
8194 | functions. | |
8195 | (exec_continue): Call prepare_execution_command. | |
8196 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
8197 | (mi_execute_async_cli_command): Use mi_async_p. | |
8198 | (_initialize_mi_main): Install "set mi-async". Make | |
8199 | "target-async" a deprecated alias. | |
8200 | ||
8201 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8202 | ||
8203 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
8204 | (_initialize_cli_interp): Adjust. | |
8205 | * event-loop.c: Include "observer.h". | |
8206 | (start_event_loop): Notify 'command_error' observers instead of | |
8207 | calling display_gdb_prompt. Remove FIXME comment. | |
8208 | * event-top.c (display_gdb_prompt): Remove call into the | |
8209 | interpreters. | |
8210 | * inf-loop.c: Include "observer.h". | |
8211 | (inferior_event_handler): Notify 'command_error' observers instead | |
8212 | of calling display_gdb_prompt. | |
8213 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
8214 | observers instead of calling display_gdb_prompt. | |
8215 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
8216 | (current_interp_display_prompt_p): Delete. | |
8217 | * interps.h (interp_prompt_p): Delete declaration. | |
8218 | (interp_prompt_p_ftype): Delete. | |
8219 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
8220 | (current_interp_display_prompt_p): Delete declaration. | |
8221 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
8222 | (_initialize_mi_interp): Adjust. | |
8223 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
8224 | 'command_error' observers. | |
8225 | (tui_on_sync_execution_done, tui_on_command_error): New | |
8226 | functions. | |
8227 | (tui_display_prompt_p): Delete. | |
8228 | (_initialize_tui_interp): Adjust. | |
8229 | ||
8230 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8231 | ||
8232 | PR gdb/13860 | |
8233 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
8234 | (cli_uiout, cli_interp): New globals. | |
8235 | (cli_on_signal_received, cli_on_end_stepping_range) | |
8236 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
8237 | functions. | |
8238 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
8239 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
8240 | observers. | |
8241 | (_initialize_cli_interp): Remove cli_interp local. | |
8242 | * infrun.c (handle_inferior_event): Call the several stop reason | |
8243 | observers instead of printing the stop reason directly. | |
8244 | (end_stepping_range): New function. | |
8245 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
8246 | (print_exited_reason, print_signal_received_reason) | |
8247 | (print_no_history_reason): Make static, and add an uiout | |
8248 | parameter. Print to that instead of to CURRENT_UIOUT. | |
8249 | * infrun.h (print_end_stepping_range_reason) | |
8250 | (print_signal_exited_reason, print_exited_reason) | |
8251 | (print_signal_received_reason print_no_history_reason): New | |
8252 | declarations. | |
8253 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
8254 | 'mi_uiout'. | |
8255 | <cli_uiout>: New field. | |
8256 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
8257 | uiout for CLI output. Install 'signal_received', | |
8258 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
8259 | observers. | |
8260 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
8261 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
8262 | (mi_on_no_history): New functions. | |
8263 | (ui_out_free_cleanup): Delete function. | |
8264 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
8265 | instead use the one already stored in the MI interpreter data. | |
8266 | (mi_ui_out): Adjust. | |
8267 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
8268 | (tui_interp): New global. | |
8269 | (tui_on_signal_received, tui_on_end_stepping_range) | |
8270 | (tui_on_signal_exited, tui_on_exited) | |
8271 | (tui_on_no_history): New functions. | |
8272 | (tui_init): Install them as 'end_stepping_range', | |
8273 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
8274 | observers. | |
8275 | (_initialize_tui_interp): Delete tui_interp local. | |
8276 | ||
8277 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8278 | ||
8279 | PR gdb/15713 | |
8280 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
8281 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
8282 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
8283 | before resuming sibling lwps. Instead ask | |
8284 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
8285 | stopped after actually resuming it. | |
8286 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
8287 | resuming it. | |
8288 | (wait_lwp): Mark the lwp as stopped here. | |
8289 | (stop_wait_callback): Mark the lwp as not stopped right after | |
8290 | resuming it. Don't mark lwps as stopped here. | |
8291 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
8292 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
8293 | ||
8294 | 2014-05-29 Pedro Alves <palves@redhat.com> | |
8295 | ||
8296 | PR PR15693 | |
8297 | * infrun.c (resume): Determine how much to resume depending on | |
8298 | whether the caller wanted a step, not whether we can hardware step | |
8299 | the target. Mark all threads that we intend to run as running, | |
8300 | unless we're calling an inferior function. | |
8301 | (normal_stop): If the thread is running an infcall, don't finish | |
8302 | thread state. | |
8303 | * target.c (target_resume): Don't mark threads as running here. | |
8304 | ||
8305 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> | |
8306 | ||
8307 | * serial.c (_initialize_serial): Remove support for | |
8308 | the "set remotebaud" and "show remotebaud" commands. | |
8309 | * NEWS: Add entry documenting the removal of that command. | |
8310 | ||
8311 | 2014-05-28 Yao Qi <yao@codesourcery.com> | |
8312 | ||
8313 | * charset.c: Fix typo in comments. | |
8314 | ||
8315 | 2014-05-27 Gary Benson <gbenson@redhat.com> | |
8316 | ||
8317 | * utils.c (internal_vproblem): Prompt for a bug report. | |
8318 | ||
8319 | 2014-05-26 Andy Wingo <wingo@igalia.com> | |
8320 | ||
8321 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
8322 | * guile/scm-block.c (bkscm_mark_block_smob) | |
8323 | (bkscm_mark_block_syms_progress_smob): | |
8324 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
8325 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
8326 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
8327 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
8328 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
8329 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
8330 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
8331 | (ppscm_mark_pretty_printer_worker_smob): | |
8332 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
8333 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
8334 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
8335 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
8336 | mark functions. | |
8337 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
8338 | function. | |
8339 | ||
8340 | 2014-05-26 Andy Wingo <wingo@igalia.com> | |
8341 | Doug Evans <xdje42@gmail.com> | |
8342 | ||
8343 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
8344 | empty_base_class. All uses updated. | |
8345 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
8346 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
8347 | Adapt all callers. | |
8348 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
8349 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
8350 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
8351 | (gdbscm_gsmob_has_property_p, add_property_name) | |
8352 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
8353 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
8354 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
8355 | (gdb-object-kind): Renamed from gsmob-kind. | |
8356 | ||
8357 | 2014-05-26 Andy Wingo <wingo@igalia.com> | |
8358 | ||
8359 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
8360 | * configure: Regenerate. | |
8361 | ||
8362 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> | |
8363 | ||
8364 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
8365 | ||
8366 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> | |
8367 | ||
8368 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
8369 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
8370 | (replay_memory_access_types, replay_memory_access) | |
8371 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
8372 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
8373 | (cmd_show_replay_memory_access): New. | |
8374 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
8375 | (record_btrace_remove_breakpoint): Replace | |
8376 | record_btrace_allow_memory_access with replay_memory_access. | |
8377 | (_initialize_record_btrace): Add commands. | |
8378 | * NEWS: Announce it. | |
8379 | ||
8380 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
8381 | ||
8382 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
8383 | ||
8384 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
8385 | ||
8386 | * MAINTAINERS (Write After Approval): Move self back from | |
8387 | paper trail. | |
8388 | ||
8389 | 2014-05-22 Pedro Alves <palves@redhat.com> | |
8390 | ||
8391 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
8392 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
8393 | (disable_randomization, enum exec_direction_kind) | |
8394 | (execution_direction, stop_registers, start_remote) | |
8395 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
8396 | (wait_for_inferior, normal_stop, get_last_target_status) | |
8397 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
8398 | (insert_step_resume_breakpoint_at_sal) | |
8399 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
8400 | (set_step_info, print_stop_event, signal_stop_state) | |
8401 | (signal_print_state, signal_pass_state, signal_stop_update) | |
8402 | (signal_print_update, signal_pass_update) | |
8403 | (update_signals_program_target, clear_exit_convenience_vars) | |
8404 | (displaced_step_dump_bytes, update_observer_mode) | |
8405 | (signal_catch_update, gdb_signal_from_command): Move | |
8406 | declarations ... | |
8407 | * infrun.h: ... to this new file. | |
8408 | * amd64-tdep.c: Include infrun.h. | |
8409 | * annotate.c: Include infrun.h. | |
8410 | * arch-utils.c: Include infrun.h. | |
8411 | * arm-linux-tdep.c: Include infrun.h. | |
8412 | * arm-tdep.c: Include infrun.h. | |
8413 | * break-catch-sig.c: Include infrun.h. | |
8414 | * breakpoint.c: Include infrun.h. | |
8415 | * common/agent.c: Include infrun.h instead of inferior.h. | |
8416 | * corelow.c: Include infrun.h. | |
8417 | * event-top.c: Include infrun.h. | |
8418 | * go32-nat.c: Include infrun.h. | |
8419 | * i386-tdep.c: Include infrun.h. | |
8420 | * inf-loop.c: Include infrun.h. | |
8421 | * infcall.c: Include infrun.h. | |
8422 | * infcmd.c: Include infrun.h. | |
8423 | * infrun.c: Include infrun.h. | |
8424 | * linux-fork.c: Include infrun.h. | |
8425 | * linux-nat.c: Include infrun.h. | |
8426 | * linux-thread-db.c: Include infrun.h. | |
8427 | * monitor.c: Include infrun.h. | |
8428 | * nto-tdep.c: Include infrun.h. | |
8429 | * procfs.c: Include infrun.h. | |
8430 | * record-btrace.c: Include infrun.h. | |
8431 | * record-full.c: Include infrun.h. | |
8432 | * remote-m32r-sdi.c: Include infrun.h. | |
8433 | * remote-mips.c: Include infrun.h. | |
8434 | * remote-notif.c: Include infrun.h. | |
8435 | * remote-sim.c: Include infrun.h. | |
8436 | * remote.c: Include infrun.h. | |
8437 | * reverse.c: Include infrun.h. | |
8438 | * rs6000-tdep.c: Include infrun.h. | |
8439 | * s390-linux-tdep.c: Include infrun.h. | |
8440 | * solib-irix.c: Include infrun.h. | |
8441 | * solib-osf.c: Include infrun.h. | |
8442 | * solib-svr4.c: Include infrun.h. | |
8443 | * target.c: Include infrun.h. | |
8444 | * top.c: Include infrun.h. | |
8445 | * windows-nat.c: Include infrun.h. | |
8446 | * mi/mi-interp.c: Include infrun.h. | |
8447 | * mi/mi-main.c: Include infrun.h. | |
8448 | * python/py-threadevent.c: Include infrun.h. | |
8449 | ||
8450 | 2014-05-22 Pedro Alves <palves@redhat.com> | |
8451 | ||
8452 | * infrun.c (handle_inferior_event): Store the exit code for | |
8453 | --return-child-result here, instead of ... | |
8454 | (print_exited_reason): ... here. | |
8455 | ||
8456 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8457 | ||
8458 | PR gdb/13860 | |
8459 | * gdbthread.h (struct thread_control_state): New field | |
8460 | `command_interp'. | |
8461 | * infrun.c (follow_fork): Copy the new thread control field to the | |
8462 | child fork thread. | |
8463 | (clear_proceed_status_thread): Clear the new thread control field. | |
8464 | (proceed): Set the new thread control field. | |
8465 | * interps.h (command_interp): Declare. | |
8466 | * interps.c (command_interpreter): New global. | |
8467 | (command_interp): New function. | |
8468 | (interp_exec): Set `command_interpreter' while here. | |
8469 | * cli-out.c (cli_uiout_dtor): New function. | |
8470 | (cli_ui_out_impl): Install it. | |
8471 | * mi/mi-interp.c: Include cli-out.h. | |
8472 | (mi_cmd_interpreter_exec): Add comment. | |
8473 | (restore_current_uiout_cleanup): New function. | |
8474 | (ui_out_free_cleanup): New function. | |
8475 | (mi_on_normal_stop): If finishing an execution command started by | |
8476 | a CLI command, or any kind of breakpoint-like event triggered, | |
8477 | print the stop event to the output (CLI) stream. | |
8478 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
8479 | ||
8480 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8481 | ||
8482 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
8483 | current source line having changed. | |
8484 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
8485 | * infrun.c (normal_stop): Adjust call to | |
8486 | set_current_sal_from_frame. | |
8487 | * source.c (clear_lines_listed_range): New function. | |
8488 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
8489 | the lines listed range. | |
8490 | (line_info): Handle the first "info line" after the current source | |
8491 | line having changed. | |
8492 | * stack.c (print_stack_frame): Remove center handling. | |
8493 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
8494 | center sal.line. | |
8495 | ||
8496 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8497 | ||
8498 | * inf-child.c (inf_child_mourn_inferior): New function. | |
8499 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
8500 | * darwin-nat.c (darwin_mourn_inferior): Use | |
8501 | inf_child_mourn_inferior. | |
8502 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
8503 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
8504 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
8505 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
8506 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
8507 | ||
8508 | 2014-05-21 Doug Evans <xdje42@gmail.com> | |
8509 | ||
8510 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. | |
8511 | ||
8512 | 2014-05-21 Doug Evans <xdje42@gmail.com> | |
8513 | ||
8514 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. | |
8515 | (gdbscm_out_of_range_error): Ditto. | |
8516 | (gdbscm_memory_error): Ditto. | |
8517 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. | |
8518 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
8519 | (gdbscm_out_of_range_error): Update. | |
8520 | (gdbscm_memory_error): Update. | |
8521 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
8522 | ||
8523 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8524 | ||
8525 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
8526 | globals. | |
8527 | (inf_child_open_target): New function. | |
8528 | (inf_child_open): Use inf_child_open_target to push the target | |
8529 | instead of erroring out. | |
8530 | (inf_child_disconnect, inf_child_close) | |
8531 | (inf_child_maybe_unpush_target): New functions. | |
8532 | (inf_child_target): Install inf_child_disconnect and | |
8533 | inf_child_close. Store a pointer to the returned object. | |
8534 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
8535 | declarations. | |
8536 | * target.c (auto_connect_native_target): New global. | |
8537 | (show_default_run_target): New function. | |
8538 | (find_default_run_target): Return NULL if automatically connecting | |
8539 | to the native target is disabled. | |
8540 | (_initialize_target): Install set/show auto-connect-native-target. | |
8541 | * NEWS: Mention "set auto-connect-native-target", and "target | |
8542 | native". | |
8543 | * linux-nat.c (super_close): New global. | |
8544 | (linux_nat_close): Call super_close. | |
8545 | (linux_nat_add_target): Store a pointer to the base class's | |
8546 | to_close method. | |
8547 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
8548 | inf_child_maybe_unpush. | |
8549 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
8550 | already pushed. | |
8551 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
8552 | the inferior. Use inf_child_maybe_unpush_target. | |
8553 | (inf_ttrace_attach): Don't push the target if it is already | |
8554 | pushed. | |
8555 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
8556 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
8557 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
8558 | (darwin_attach_pid): Don't push the target if it is already | |
8559 | pushed. | |
8560 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
8561 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
8562 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
8563 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
8564 | is already pushed. | |
8565 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
8566 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
8567 | (procfs_open): Rename to ... | |
8568 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
8569 | comments. Can target_preopen before changing node. Call | |
8570 | inf_child_open_target to push the target explicitly. | |
8571 | (procfs_attach): Don't push the target if it is already pushed. | |
8572 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
8573 | (procfs_create_inferior): Don't push the target if it is already | |
8574 | pushed. | |
8575 | (nto_native_ops): New global. | |
8576 | (procfs_open): Reimplement. | |
8577 | (procfs_native_open): New function. | |
8578 | (init_procfs_targets): Install procfs_native_open as to_open of | |
8579 | "target native". Store a pointer to the "native" target in | |
8580 | nto_native_ops. | |
8581 | * procfs.c (procfs_attach): Don't push the target if it is already | |
8582 | pushed. | |
8583 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
8584 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
8585 | inferior. Use inf_child_maybe_unpush_target. | |
8586 | (procfs_init_inferior): Don't push the target if it is already | |
8587 | pushed. | |
8588 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
8589 | if it is already pushed. | |
8590 | ||
8591 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8592 | ||
8593 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
8594 | and "procfs" targets are now called "native" instead. | |
8595 | ||
8596 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8597 | ||
8598 | * go32-nat.c (go32_open): Delete. | |
8599 | (go32_target): Don't override the to_open method. | |
8600 | ||
8601 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8602 | ||
8603 | * nto-procfs.c (procfs_can_run): New function. | |
8604 | (nto_procfs_ops): New global. | |
8605 | (init_procfs_targets): New, based on procfs_target. Install | |
8606 | "target native" in addition to "target procfs". | |
8607 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
8608 | the target here. | |
8609 | ||
8610 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8611 | ||
8612 | * windows-nat.c (windows_target): Don't override to_shortname, | |
8613 | to_longname or to_doc. | |
8614 | ||
8615 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8616 | ||
8617 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
8618 | to_doc. | |
8619 | ||
8620 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8621 | ||
8622 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
8623 | to_shortname, to_longname or to_doc. | |
8624 | ||
8625 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8626 | ||
8627 | * go32-nat.c (go32_target): Don't override to_shortname, | |
8628 | to_longname or to_doc. | |
8629 | ||
8630 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8631 | ||
8632 | * inf-child.c (inf_child_open): Remove mention of "child". | |
8633 | (inf_child_target): Rename target to "native" instead of "child". | |
8634 | ||
8635 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8636 | ||
8637 | * Makefile.in (SFILES): Delete "regset.c". | |
8638 | (COMMON_OBS): Delete "regset.o". | |
8639 | * regset.c: Remove. | |
8640 | * regset.h (regset_alloc): Delete prototype. | |
8641 | ||
8642 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8643 | ||
8644 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
8645 | (sparc32_linux_fpregset): New static regset structures. | |
8646 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
8647 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
8648 | 'fpregset' fields. | |
8649 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
8650 | (sparc64_linux_fpregset): New static regset structures. | |
8651 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
8652 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
8653 | New static regset structures. | |
8654 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
8655 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
8656 | New static regset structures. | |
8657 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
8658 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
8659 | New static regset structures. | |
8660 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
8661 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
8662 | New static regset structures. | |
8663 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
8664 | ||
8665 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8666 | ||
8667 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
8668 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
8669 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
8670 | for all regmap types and variables. | |
8671 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
8672 | (sparc32_linux_supply_core_gregset) | |
8673 | (sparc32_linux_collect_core_gregset) | |
8674 | (sparc32_linux_supply_core_fpregset) | |
8675 | (sparc32_linux_collect_core_fpregset): Likewise. | |
8676 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
8677 | (sparc_gregmap, sparc_fpregmap): ... these. | |
8678 | (sparc_supply_gregset, sparc_collect_gregset) | |
8679 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
8680 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
8681 | (_initialize_sparc_nat): Rename regmaps. | |
8682 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
8683 | (sparc_gregmap, sparc_fpregmap): ... these. | |
8684 | (sparc_supply_gregset, sparc_collect_gregset) | |
8685 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
8686 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
8687 | Rename macros to... | |
8688 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
8689 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
8690 | Likewise. | |
8691 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
8692 | Rename to... | |
8693 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
8694 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
8695 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
8696 | regmaps. | |
8697 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
8698 | (sparc32_bsd_fpregset): Rename to... | |
8699 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
8700 | (sparc32_bsd_fpregmap): ... these. | |
8701 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
8702 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
8703 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
8704 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
8705 | (struct sparc_gregmap, struct sparc_fpregmap) | |
8706 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
8707 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
8708 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
8709 | (sparc32_supply_regset, sparc32_collect_gregset) | |
8710 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
8711 | prototypes. | |
8712 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
8713 | (sparc64_linux_ptrace_gregmap): ... this. | |
8714 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
8715 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
8716 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
8717 | (sparc64_linux_core_gregmap): ... this. | |
8718 | (sparc64_linux_supply_core_gregset) | |
8719 | (sparc64_linux_collect_core_gregset) | |
8720 | (sparc64_linux_supply_core_fpregset) | |
8721 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
8722 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
8723 | (sparc64_sol2_fpregset): Rename to... | |
8724 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
8725 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
8726 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
8727 | regmaps. | |
8728 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
8729 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
8730 | (sparc64_bsd_fpregset): Rename to... | |
8731 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
8732 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
8733 | (sparc64_bsd_fpregmap): ... these. | |
8734 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
8735 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
8736 | prototypes. | |
8737 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
8738 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
8739 | (sparc64fbsd_gregmap): ... this. | |
8740 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
8741 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
8742 | Rename regmaps. | |
8743 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
8744 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
8745 | (sparc64nbsd_collect_fpregset): Likewise. | |
8746 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
8747 | (sparc64nbsd_gregmap): ... this. | |
8748 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
8749 | regmaps. | |
8750 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
8751 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
8752 | (sparc64obsd_gregmap): ... this. | |
8753 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
8754 | regmaps. | |
8755 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
8756 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
8757 | (sparc32nbsd_gregmap): ... this. | |
8758 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
8759 | regmaps. | |
8760 | ||
8761 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8762 | ||
8763 | * score-tdep.c (score7_linux_gregset): New static regset | |
8764 | structure. | |
8765 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
8766 | allocation. | |
8767 | (score_gdbarch_init): Drop allocation of tdep structure. | |
8768 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
8769 | ||
8770 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8771 | ||
8772 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
8773 | regset structures. | |
8774 | (am33_regset_from_core_section): Remove dynamic regset | |
8775 | allocations. | |
8776 | ||
8777 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8778 | ||
8779 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
8780 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
8781 | structures. | |
8782 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
8783 | allocations. | |
8784 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8785 | 'gregset64', 'fpregset', and 'fpregset64'. | |
8786 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
8787 | deleted tdep fields. | |
8788 | ||
8789 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8790 | ||
8791 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
8792 | regset structures. | |
8793 | (amd64_regset_from_core_section): Remove dynamic regset | |
8794 | allocations. | |
8795 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
8796 | structure. | |
8797 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
8798 | allocation. | |
8799 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
8800 | Likewise. | |
8801 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
8802 | x86-common regset supply function. | |
8803 | * i386-tdep.c (i386_collect_gregset): Make static. | |
8804 | (i386_gregset): New global regset structure. | |
8805 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
8806 | (i386_regset_from_core_section): Remove dynamic regset | |
8807 | allocations. | |
8808 | (i386_gdbarch_init): Remove initialization of tdep fields | |
8809 | 'gregset', 'fpregset', and 'xstateregset'. | |
8810 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8811 | 'fpregset', and 'xstateregset'. | |
8812 | (i386_collect_gregset): Remove prototype. | |
8813 | (i386_gregset): New declaration. | |
8814 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
8815 | structure. | |
8816 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
8817 | allocation. | |
8818 | ||
8819 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8820 | ||
8821 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
8822 | (arm_linux_vfpregset): New static regset structures. | |
8823 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
8824 | regset structures. | |
8825 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
8826 | and 'vfpregset' fields. | |
8827 | ||
8828 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8829 | ||
8830 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
8831 | (aarch64_linux_fpregset): New static regset structures. | |
8832 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
8833 | of regset structures. | |
8834 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
8835 | 'fpregset' fields. | |
8836 | ||
8837 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8838 | ||
8839 | * regset.h (struct regset): Remove gdbarch field. | |
8840 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
8841 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8842 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
8843 | Likewise. | |
8844 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
8845 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
8846 | (ppc32_linux_vsxregset): Likewise. | |
8847 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
8848 | via the regcache instead of the regset. | |
8849 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
8850 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
8851 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
8852 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
8853 | Likewise. | |
8854 | ||
8855 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> | |
8856 | ||
8857 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
8858 | Constify structures. | |
8859 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
8860 | (alphanbsd_aout_gregset): Likewise. | |
8861 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
8862 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
8863 | Likewise. | |
8864 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
8865 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
8866 | Likewise. | |
8867 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
8868 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
8869 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
8870 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
8871 | * m88k-tdep.c (m88k_gregset): Likewise. | |
8872 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
8873 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
8874 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8875 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
8876 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8877 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8878 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8879 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8880 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
8881 | Likewise. | |
8882 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
8883 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
8884 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
8885 | * vax-tdep.c (vax_gregset): Likewise. | |
8886 | ||
8887 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
8888 | ||
8889 | Fix TLS access for -static -pthread. | |
8890 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
8891 | (try_thread_db_load_1): Initialize it. | |
8892 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
8893 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
8894 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
8895 | load_module_addr comment. | |
8896 | ||
8897 | 2014-05-21 Pedro Alves <palves@redhat.com> | |
8898 | ||
8899 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
8900 | fails, fallback to reading just the memory the caller wanted. | |
8901 | ||
8902 | 2014-05-20 Doug Evans <dje@google.com> | |
8903 | ||
8904 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
8905 | instead of get_current_arch. | |
8906 | ||
8907 | 2014-05-20 Pedro Alves <palves@redhat.com> | |
8908 | ||
8909 | * NEWS: Mention that compare-sections now works with all targets. | |
8910 | ||
8911 | * remote.c (PACKET_qCRC): New enum value. | |
8912 | (remote_verify_memory): Don't send qCRC if the target has no | |
8913 | execution. Use packet_support/packet_ok. If the target doesn't | |
8914 | support the qCRC packet, fallback to a deep memory copy. | |
8915 | (compare_sections_command): Say "target image" instead of "remote | |
8916 | executable". | |
8917 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
8918 | packets that have no associated command. Extend comment. | |
8919 | * target.c (simple_verify_memory, default_verify_memory): New | |
8920 | function. | |
8921 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
8922 | default_verify_memory. | |
8923 | (simple_verify_memory): New declaration. | |
8924 | * target-delegates.c: Regenerate. | |
8925 | ||
8926 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> | |
8927 | ||
8928 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
8929 | ||
8930 | 2014-05-20 Hui Zhu <hui@codesourcery.com> | |
8931 | Yao Qi <yao@codesourcery.com> | |
8932 | ||
8933 | PR backtrace/16558 | |
8934 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
8935 | and change address of sp and pc. | |
8936 | ||
8937 | 2014-05-19 Tom Tromey <tromey@redhat.com> | |
8938 | ||
8939 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
8940 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
8941 | ||
8942 | 2014-05-19 Doug Evans <dje@google.com> | |
8943 | ||
8944 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
8945 | build_type_unit_groups and moved closer to only caller. Remove | |
8946 | arguments. All references updated. Remove outdated .gdb_index | |
8947 | comment. | |
8948 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
8949 | build_type_psymtabs_1. | |
8950 | ||
8951 | 2014-05-19 Doug Evans <dje@google.com> | |
8952 | ||
8953 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
8954 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
8955 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
8956 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
8957 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
8958 | (add_type_unit_group_to_table): Delete. | |
8959 | ||
8960 | 2014-05-19 Doug Evans <dje@google.com> | |
8961 | ||
8962 | * eval.c (evaluate_subexp_standard): Add some comments. | |
8963 | ||
8964 | 2014-05-17 Doug Evans <xdje42@gmail.com> | |
8965 | ||
8966 | * progspace.c (remove_program_space): Delete, unused. | |
8967 | * progspace.h (remove_program_space): Ditto. | |
8968 | ||
8969 | 2014-05-17 Doug Evans <xdje42@gmail.com> | |
8970 | ||
8971 | * inferior.c (prune_inferiors): Fix comment. | |
8972 | (remove_inferior_command): Call prune_program_spaces. | |
8973 | ||
8974 | 2014-05-16 Doug Evans <dje@google.com> | |
8975 | ||
8976 | New command line option -D. | |
8977 | * NEWS: Mention it. | |
8978 | * main.c (set_gdb_data_directory): New function. | |
8979 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
8980 | Call set_gdb_data_directory. | |
8981 | (print_gdb_help): Print --data-directory, -D. | |
8982 | * main.h (set_gdb_data_directory): Declare. | |
8983 | * top.c (staged_gdb_datadir): New static global. | |
8984 | (set_gdb_datadir): Call set_gdb_data_directory | |
8985 | (show_gdb_datadir): New function. | |
8986 | (init_main): Update init of data-directory parameter. | |
8987 | ||
8988 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> | |
8989 | ||
8990 | Import the "dirfd" gnulib module. | |
8991 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
8992 | * gnulib/aclocal.m4: Update. | |
8993 | * gnulib/config.in: Update. | |
8994 | * gnulib/configure: Update. | |
8995 | * gnulib/import/Makefile.am: Update. | |
8996 | * gnulib/import/Makefile.in: Update. | |
8997 | * gnulib/import/dirfd.c: New. | |
8998 | * gnulib/import/m4/dirfd.m4: New. | |
8999 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
9000 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
9001 | ||
9002 | 2014-05-16 Pierre Muller <muller@sourceware.org> | |
9003 | Yao Qi <yao@codesourcery.com> | |
9004 | ||
9005 | * valprint.c (print_wchar): Move the code on checking whether | |
9006 | W is a printable wide char to the default branch of switch | |
9007 | statement below. Call wchar_printable instead of gdb_iswprint. | |
9008 | ||
9009 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> | |
9010 | ||
9011 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for | |
9012 | ldr.w and ldrd instructions. | |
9013 | ||
9014 | 2014-05-15 Doug Evans <dje@google.com> | |
9015 | ||
9016 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
9017 | ||
9018 | 2014-05-14 Tom Tromey <tromey@redhat.com> | |
9019 | ||
9020 | * macrocmd.c (print_macro_definition): Reindent. | |
9021 | ||
9022 | 2014-05-13 Doug Evans <xdje42@gmail.com> | |
9023 | ||
9024 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
9025 | (completers): Make const. | |
9026 | ||
9027 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> | |
9028 | ||
9029 | * infrun.c (resume): Remove should_resume (unused). Move up | |
9030 | declaration of resume_ptid. | |
9031 | ||
9032 | 2014-05-13 Tom Tromey <tromey@redhat.com> | |
9033 | ||
9034 | * language.h (unop_type_check): Remove. | |
9035 | (binop_type_check): Don't declare. | |
9036 | ||
9037 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> | |
9038 | ||
9039 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
9040 | call to regcache_raw_collect. | |
9041 | ||
9042 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> | |
9043 | ||
9044 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
9045 | mi_console->quote as the quoting character. | |
9046 | ||
9047 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> | |
9048 | ||
9049 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
9050 | ||
9051 | 2014-04-29 Tom Tromey <tromey@redhat.com> | |
9052 | ||
9053 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
9054 | "show debug varobj". | |
9055 | ||
9056 | 2014-05-07 Kyle McMartin <kyle@redhat.com> | |
9057 | ||
9058 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
9059 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
9060 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
9061 | with aarch64_software_single_step. | |
9062 | ||
9063 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> | |
9064 | ||
9065 | GDB 7.7.1 released. | |
9066 | ||
9067 | 2014-05-05 Keith Seitz <keiths@redhat.com> | |
9068 | ||
9069 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
9070 | variable or history value is successfully parsed. | |
9071 | ||
9072 | 2014-05-05 Yao Qi <yao@codesourcery.com> | |
9073 | Pedro Alves <palves@redhat.com> | |
9074 | ||
9075 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
9076 | address of blocks that intersects the requested range. Trim | |
9077 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
9078 | sections. | |
9079 | * ctf.c (ctf_xfer_partial): Likewise. | |
9080 | ||
9081 | 2014-05-05 Yao Qi <yao@codesourcery.com> | |
9082 | ||
9083 | * printcmd.c (display_command): Remove the check to | |
9084 | target_has_execution. | |
9085 | ||
9086 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> | |
9087 | ||
9088 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
9089 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
9090 | add_target. | |
9091 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
9092 | ||
9093 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> | |
9094 | ||
9095 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
9096 | and 16-bit signed and unsigned arguments. Update comment. | |
9097 | (stap_parse_probe_arguments): Extend code to handle such | |
9098 | arguments. Use warning instead of complaint to notify about | |
9099 | unrecognized bitness. | |
9100 | ||
9101 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> | |
9102 | ||
9103 | PR breakpoints/16889 | |
9104 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
9105 | check for non-prefixed probes (i.e., probes whose | |
9106 | arguments do not start with "N@"). Always set the | |
9107 | argument type to a sane value. | |
9108 | ||
9109 | 2014-05-01 David Taylor <dtaylor@emc.com> | |
9110 | ||
9111 | * remote.c (compare_sections_command): Add -r option to compare | |
9112 | all loadable read-only sections. | |
9113 | ||
9114 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> | |
9115 | ||
9116 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
9117 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
9118 | Update all callers. | |
9119 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
9120 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
9121 | Remove unused CORE_ADDR argument. Update all callers. | |
9122 | ||
9123 | 2014-04-29 Pedro Alves <palves@redhat.com> | |
9124 | ||
9125 | * remote.c (struct packet_config) <detect>: Extend comment. | |
9126 | (add_packet_config_cmd): Don't set the config's detect or support | |
9127 | fields here. | |
9128 | (init_all_packet_configs): Also initialize the config's 'detect' | |
9129 | field. | |
9130 | (reset_all_packet_configs_support): New function. | |
9131 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
9132 | init_all_packet_configs. | |
9133 | (_initialize_remote): Initialize all packet configs. Assert that | |
9134 | all packets have an associated command, except a few known | |
9135 | outliers. | |
9136 | ||
9137 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> | |
9138 | ||
9139 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
9140 | DW_AT_lower_bound attributes. | |
9141 | ||
9142 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> | |
9143 | ||
9144 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
9145 | dynamic bounds before computing its upper bound. | |
9146 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
9147 | ||
9148 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> | |
9149 | ||
9150 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
9151 | range types. Adjust the array handling implementation to | |
9152 | take advantage of this change. | |
9153 | (resolve_dynamic_range): New function, mostly extracted from | |
9154 | resolve_dynamic_bounds. | |
9155 | (resolve_dynamic_array): New function, mostly extracted from | |
9156 | resolve_dynamic_bounds. | |
9157 | (resolve_dynamic_bounds): Delete. | |
9158 | (resolve_dynamic_type): Reimplement. Add handling of | |
9159 | TYPE_CODE_RANGE types. | |
9160 | ||
9161 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> | |
9162 | ||
9163 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
9164 | handling of parallel ___XA types. | |
9165 | ||
9166 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> | |
9167 | ||
9168 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
9169 | unnecessary second call to static_unwrap_type. | |
9170 | ||
9171 | 2014-04-27 Hui Zhu <hui@codesourcery.com> | |
9172 | ||
9173 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
9174 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
9175 | ||
9176 | 2014-04-26 Doug Evans <xdje42@gmail.com> | |
9177 | ||
9178 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
9179 | ||
9180 | 2014-04-25 Pedro Alves <palves@redhat.com> | |
9181 | ||
9182 | PR server/16255 | |
9183 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
9184 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
9185 | and newline from built string. | |
9186 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
9187 | (linux_ptrace_attach_fail_reason): ... this. | |
9188 | * linux-nat.c (linux_nat_attach): Adjust to use | |
9189 | linux_ptrace_attach_fail_reason. | |
9190 | ||
9191 | 2014-04-25 Pedro Alves <palves@redhat.com> | |
9192 | ||
9193 | * remote.c (struct remote_state): Remove multi_process_aware, | |
9194 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
9195 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
9196 | install_in_trace, disconnected_tracing, | |
9197 | enable_disable_tracepoints, string_tracing, and | |
9198 | augmented_libraries_svr4_read fields. | |
9199 | (remote_multi_process_p): Move further below in the file. | |
9200 | (struct packet_config): Add comments. | |
9201 | (update_packet_config): Delete function. | |
9202 | (show_packet_config_cmd): Use packet_config_support. | |
9203 | (add_packet_config_cmd): Use NULL as set callback. | |
9204 | (packet_ok): "set remote foo-packet"-style commands no longer | |
9205 | change config->supported -- adjust. | |
9206 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
9207 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
9208 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
9209 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
9210 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
9211 | (PACKET_DisconnectedTracing_feature) | |
9212 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
9213 | (set_remote_protocol_packet_cmd): Delete function. | |
9214 | (packet_config_support, packet_support): New functions. | |
9215 | (set_remote_protocol_Z_packet_cmd): Don't call | |
9216 | update_packet_config. | |
9217 | (remote_query_attached, remote_pass_signals) | |
9218 | (remote_program_signals, remote_threads_info) | |
9219 | (remote_threads_extra_info, remote_start_remote): Use | |
9220 | packet_support. | |
9221 | (remote_start_remote): Use packet_config_support and | |
9222 | packet_support. | |
9223 | (init_all_packet_configs): Set all packets to unknown support, | |
9224 | instead of calling update_packet_config. | |
9225 | (remote_check_symbols): Use packet_support. | |
9226 | (remote_supported_packet): Unconditionally set the packet config's | |
9227 | support status. | |
9228 | (remote_multi_process_feature, remote_non_stop_feature) | |
9229 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
9230 | (remote_breakpoint_commands_feature) | |
9231 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
9232 | (remote_install_in_trace_feature) | |
9233 | (remote_disconnected_tracing_feature) | |
9234 | (remote_enable_disable_tracepoint_feature) | |
9235 | (remote_string_tracing_feature) | |
9236 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
9237 | (remote_protocol_features): Adjust to use remote_supported_packet | |
9238 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
9239 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
9240 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
9241 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
9242 | "EnableDisableTracepoints", and "tracenz". | |
9243 | (remote_query_supported): Use packet_support. | |
9244 | (remote_open_1): Adjust. | |
9245 | (extended_remote_attach_1): Use packet_support. Switch on the | |
9246 | result of packet_ok instead of checking whether the packet ended | |
9247 | up disabled. | |
9248 | (remote_vcont_resume): Use packet_support. | |
9249 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
9250 | (remote_prepare_to_store, store_register_using_P) | |
9251 | (check_binary_download, remote_write_bytes): Use packet_support. | |
9252 | (remote_vkill): Use packet_support. Switch on the result of | |
9253 | packet_ok instead of checking whether the packet ended up | |
9254 | disabled. | |
9255 | (extended_remote_supports_disable_randomization): Use | |
9256 | packet_support. | |
9257 | (extended_remote_run): Switch on the result of packet_ok instead | |
9258 | of checking whether the packet ended up disabled. | |
9259 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
9260 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
9261 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
9262 | packet_support. | |
9263 | (remote_search_memory): Use packet_config_support. | |
9264 | (remote_get_thread_local_address, remote_get_tib_address) | |
9265 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
9266 | packet_support. | |
9267 | (remote_supports_cond_tracepoints) | |
9268 | (remote_supports_cond_breakpoints) | |
9269 | (remote_supports_fast_tracepoints) | |
9270 | (remote_supports_static_tracepoints) | |
9271 | (remote_supports_install_in_trace) | |
9272 | (remote_supports_enable_disable_tracepoint) | |
9273 | (remote_supports_string_tracing) | |
9274 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
9275 | the packet config says the feature is enabled or disabled. | |
9276 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
9277 | (remote_get_trace_status): Use packet_support. | |
9278 | (remote_set_disconnected_tracing): Adjust to check whether the | |
9279 | feature is enabled with packet_support. | |
9280 | (remote_set_trace_buffer_size, remote_use_agent) | |
9281 | (remote_can_use_agent, remote_supports_btrace): Use | |
9282 | packet_support. | |
9283 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
9284 | Use packet_config_support. | |
9285 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
9286 | the packet config says the feature is enabled or disabled. | |
9287 | (set_range_stepping): Use packet_support. | |
9288 | ||
9289 | 2014-04-25 Tom Tromey <tromey@redhat.com> | |
9290 | ||
9291 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
9292 | argument. | |
9293 | ||
9294 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> | |
9295 | ||
9296 | * NEWS: Mention support for C99 variable length arrays. | |
9297 | ||
9298 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> | |
9299 | ||
9300 | * ada-lang.c (standard_exc): Expand introductory comment. | |
9301 | ||
9302 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> | |
9303 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
9304 | ||
9305 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
9306 | AVX512 registers. | |
9307 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
9308 | mask and return respective tdesc. | |
9309 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
9310 | and features/i386/x32-avx512-linux.c. | |
9311 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
9312 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
9313 | xstate mask and return respective tdesc. | |
9314 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
9315 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
9316 | calculation. | |
9317 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
9318 | (tdesc_amd64_avx512_linux): New prototype. | |
9319 | (tdesc_x32_avx512_linux): Likewise. | |
9320 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
9321 | features/i386/x32-avx512.c. | |
9322 | (amd64_ymm_avx512_names): New register names for pseudo | |
9323 | registers YMM16-31. | |
9324 | (amd64_ymmh_avx512_names): New register names for raw registers | |
9325 | YMMH16-31. | |
9326 | (amd64_k_names): New register names for K registers. | |
9327 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
9328 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
9329 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
9330 | registers. | |
9331 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
9332 | registers. | |
9333 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
9334 | if feature is present. | |
9335 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
9336 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
9337 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
9338 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
9339 | registers supplied via XSTATE by AVX512 registers. | |
9340 | (i386_linux_read_description): Add case for AVX512. | |
9341 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
9342 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
9343 | (i386_linux_core_read_description): Add case for AVX512. | |
9344 | (i386_linux_init_abi): Install supported register note section | |
9345 | for AVX512. | |
9346 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
9347 | AVX512. | |
9348 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
9349 | registers to be number of zmm7h + 1. | |
9350 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
9351 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
9352 | (i386_zmm_names): Add ZMM pseudo register names array. | |
9353 | (i386_zmmh_names): Add ZMM raw register names array. | |
9354 | (i386_k_names): Add K raw register names array. | |
9355 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
9356 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
9357 | registers. | |
9358 | (i386_zmmh_regnum_p): Add function to look up register number of | |
9359 | ZMM raw registers. | |
9360 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
9361 | (i386_k_regnum_p): Likewise for K raw registers. | |
9362 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
9363 | registers added by AVX512. | |
9364 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
9365 | registers added by AVX512. | |
9366 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
9367 | added by AVX512. | |
9368 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
9369 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
9370 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
9371 | registers. | |
9372 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
9373 | ZMM0-31 pseudo registers and K registers. | |
9374 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
9375 | and YMM16-31 registers from register cache. | |
9376 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
9377 | YMM16-31 registers. | |
9378 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
9379 | registers in/from respective register groups. | |
9380 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
9381 | registers if feature is present in xcr0. | |
9382 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
9383 | variables in tdep structure, wire in pseudo registers and call | |
9384 | initialize_tdesc_i386_avx512. | |
9385 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
9386 | variables. | |
9387 | (i386_regnum): Add AVX512 registers. | |
9388 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
9389 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
9390 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
9391 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
9392 | 512 bits wide. | |
9393 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
9394 | (i386_ymm_avx512_regnum_p): Likewise. | |
9395 | (i386_k_regnum_p): Likewise. | |
9396 | (i386_zmm_regnum_p): Likewise. | |
9397 | (i386_zmmh_regnum_p): Likewise. | |
9398 | * i387-tdep.c : Update year in copyright notice. | |
9399 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
9400 | XSAVE buffer. | |
9401 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
9402 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
9403 | XSAVE buffer. | |
9404 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
9405 | (xsave_avx512_k_offset): New table for K register offsets in | |
9406 | XSAVE buffer. | |
9407 | (XSAVE_AVX512_K_ADDR): New macro. | |
9408 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
9409 | in XSAVE buffer. | |
9410 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
9411 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
9412 | buffer. | |
9413 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
9414 | XSAVE buffer. | |
9415 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
9416 | of XMM16-31 registers. | |
9417 | (I387_NUM_K_REGS): New define for number of K registers. | |
9418 | (I387_K0_REGNUM): New define for K0 register number. | |
9419 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
9420 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
9421 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
9422 | registers. | |
9423 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
9424 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
9425 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
9426 | (I387_KEND_REGNUM): New define for last K register number. | |
9427 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
9428 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
9429 | number. | |
9430 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
9431 | number. | |
9432 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
9433 | size. | |
9434 | * features/Makefile: Add AVX512 related files. | |
9435 | * features/i386/32bit-avx512.xml: New file. | |
9436 | * features/i386/64bit-avx512.xml: Likewise. | |
9437 | * features/i386/amd64-avx512-linux.c: Likewise. | |
9438 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
9439 | * features/i386/amd64-avx512.c: Likewise. | |
9440 | * features/i386/amd64-avx512.xml: Likewise. | |
9441 | * features/i386/i386-avx512-linux.c: Likewise. | |
9442 | * features/i386/i386-avx512-linux.xml: Likewise. | |
9443 | * features/i386/i386-avx512.c: Likewise. | |
9444 | * features/i386/i386-avx512.xml: Likewise. | |
9445 | * features/i386/x32-avx512-linux.c: Likewise. | |
9446 | * features/i386/x32-avx512-linux.xml: Likewise. | |
9447 | * features/i386/x32-avx512.c: Likewise. | |
9448 | * features/i386/x32-avx512.xml: Likewise. | |
9449 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
9450 | * regformats/i386/amd64-avx512.dat: Likewise. | |
9451 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
9452 | * regformats/i386/i386-avx512.dat: Likewise. | |
9453 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
9454 | * regformats/i386/x32-avx512.dat: Likewise. | |
9455 | * NEWS: Add note about new support for AVX512. | |
9456 | ||
9457 | ||
9458 | 2014-04-23 Pedro Alves <palves@redhat.com> | |
9459 | ||
9460 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
9461 | breakpoint is set in a user-loaded objfile. | |
9462 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
9463 | location is marked shlib_disabled. If the breakpoint is set in a | |
9464 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
9465 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
9466 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
9467 | flag. | |
9468 | * mem-break.c (memory_validate_breakpoint): New function. | |
9469 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
9470 | function. | |
9471 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
9472 | * target.h (memory_validate_breakpoint): New declaration. | |
9473 | ||
9474 | 2014-04-23 Pedro Alves <palves@redhat.com> | |
9475 | ||
9476 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
9477 | the breakpoint is set in a shared library, only suppress | |
9478 | errors for software breakpoints, not hardware breakpoints. | |
9479 | ||
9480 | 2014-04-22 Pedro Alves <palves@redhat.com> | |
9481 | ||
9482 | * infrun.c (schedlock_applies): New function, factored out from | |
9483 | find_thread_needs_step_over. | |
9484 | (find_thread_needs_step_over): Use it. | |
9485 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
9486 | step over is finished. Return early if scheduler locking applies. | |
9487 | Look for the stepping thread and a potential step-over thread with | |
9488 | a single loop. | |
9489 | (currently_stepping_or_nexting_callback): Delete. | |
9490 | ||
9491 | 2014-04-22 Nick Clifton <nickc@redhat.com> | |
9492 | ||
9493 | * NEWS: Mention that ARM sim now supports tracing. | |
9494 | ||
9495 | 2014-04-22 Yao Qi <yao@codesourcery.com> | |
9496 | ||
9497 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
9498 | to ... | |
9499 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
9500 | function. | |
9501 | * tracefile.h (tracefile_fetch_registers): Declare. | |
9502 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
9503 | tracefile_fetch_registers. | |
9504 | ||
9505 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> | |
9506 | ||
9507 | PR gdb/14018 | |
9508 | * windows-nat.c (thread_rec): Don't display a warning when | |
9509 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
9510 | fails for any reason, set th->suspended to -1, so that we don't | |
9511 | try to resume such a thread. Also, don't return NULL in these | |
9512 | cases, to avoid completely ruin the session due to "PC register is | |
9513 | not available" error. | |
9514 | (do_windows_fetch_inferior_registers): Check errors in | |
9515 | GetThreadContext call. | |
9516 | (windows_continue): Accept an additional argument KILLED; if not | |
9517 | zero, ignore errors in the SetThreadContext call, since the | |
9518 | inferior was killed and is shutting down. | |
9519 | (windows_resume, get_windows_debug_event) | |
9520 | (windows_create_inferior, windows_mourn_inferior) | |
9521 | (windows_kill_inferior): All callers of windows_continue changed | |
9522 | to adjust to its new calling sequence. | |
9523 | ||
9524 | 2014-04-19 Yao Qi <yao@codesourcery.com> | |
9525 | ||
9526 | * ctf.c (ctf_open): Call post_create_inferior. | |
9527 | ||
9528 | 2014-04-19 Yao Qi <yao@codesourcery.com> | |
9529 | ||
9530 | * ctf.c (handle_id): New static variable. | |
9531 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
9532 | value. Get the declaration of event "register" and get length | |
9533 | of field "contents". | |
9534 | ||
9535 | 2014-04-19 Yao Qi <yao@codesourcery.com> | |
9536 | ||
9537 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
9538 | ||
9539 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> | |
9540 | ||
9541 | * valops.c (oload_method_static): Remove unnecessary argument | |
9542 | METHOD. Update all callers. | |
9543 | ||
9544 | 2014-04-18 Pedro alves <palves@redhat.com> | |
9545 | Tom Tromey <tromey@redhat.com> | |
9546 | ||
9547 | PR backtrace/15558 | |
9548 | * frame.c (get_prev_frame_1): Rename to ... | |
9549 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
9550 | (skip_artificial_frames): Use get_prev_frame_always. | |
9551 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
9552 | (get_frame_unwind_stop_reason): Adjust to rename. | |
9553 | * frame.h (get_prev_frame_always): Declare. | |
9554 | * inline-frame.c: Include frame.h. | |
9555 | (inline_frame_this_id): Use get_prev_frame_always. | |
9556 | ||
9557 | 2014-04-18 Tristan Gingold <gingold@adacore.com> | |
9558 | ||
9559 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
9560 | code by using bfd_mach_o_get_base_address. | |
9561 | ||
9562 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> | |
9563 | ||
9564 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
9565 | (spu_ax_pseudo_register_collect): New function. | |
9566 | (spu_ax_pseudo_register_push_stack): Likewise. | |
9567 | (spu_dwarf_reg_to_regnum): Likewise. | |
9568 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
9569 | ||
9570 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> | |
9571 | ||
9572 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
9573 | Replace FRAME argument with FRAME_ID. | |
9574 | * gdbarch.c, gdbarch.h: Regenerate. | |
9575 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
9576 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
9577 | (value_from_register): Update call to gdbarch_value_from_register. | |
9578 | * value.h (default_value_from_register): Update prototype. | |
9579 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
9580 | and call to default_value_from_register. | |
9581 | * spu-tdep.c (spu_value_from_register): Likewise. | |
9582 | ||
9583 | * findvar.c (address_from_register): Remove TYPE argument. | |
9584 | Do not call value_from_register; use gdbarch_value_from_register | |
9585 | with null_frame_id instead. | |
9586 | * value.h (address_from_register): Update prototype. | |
9587 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
9588 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
9589 | address_from_register interface change. | |
9590 | ||
9591 | 2014-04-17 Yao Qi <yao@codesourcery.com> | |
9592 | ||
9593 | * gdbtypes.h: Update comments to link to types and macros' | |
9594 | definitions. | |
9595 | ||
9596 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> | |
9597 | ||
9598 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
9599 | ||
9600 | 2014-04-16 Keith Seitz <keiths@redhat.com> | |
9601 | ||
9602 | PR gdb/15827 | |
9603 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
9604 | sibling DIEs fall within range of the current reader's buffer. | |
9605 | (read_partial_die): Likewise. | |
9606 | ||
9607 | 2014-04-16 Keith Seitz <keiths@redhat.com> | |
9608 | ||
9609 | PR c++/16597 | |
9610 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
9611 | `this' is NULL, return immediately. | |
9612 | ||
9613 | 2014-04-14 Keith Seitz <keiths@redhat.com> | |
9614 | ||
9615 | PR c++/16253 | |
9616 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
9617 | from symbol_matches_domain in symtab.c. All local callers | |
9618 | of symbol_matches_domain updated. | |
9619 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
9620 | search STRUCT_DOMAIN. | |
9621 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
9622 | independently. standard_lookup will do that automatically. | |
9623 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
9624 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
9625 | (cp_lookup_symbol_in_namespace): Likewise. | |
9626 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
9627 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
9628 | may return a STRUCT_DOMAIN match. | |
9629 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
9630 | * cp-support.c: Include language.h. | |
9631 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
9632 | VAR_DOMAIN. | |
9633 | * psymtab.c (match_partial_symbol): Compare the requested | |
9634 | domain with the symbol's domain directly. | |
9635 | (lookup_partial_symbol): Likewise. | |
9636 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
9637 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
9638 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
9639 | appropriate languages. | |
9640 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
9641 | and moved to ada-lang.c | |
9642 | (lookup_block_symbol): Explain that this function only returns | |
9643 | symbol matching the requested DOMAIN. | |
9644 | Compare the requested domain with the symbol's domain directly. | |
9645 | (iterate_over_symbols): Compare the requested domain with the | |
9646 | symbol's domain directly. | |
9647 | * symtab.h (symbol_matches_domain): Remove. | |
9648 | ||
9649 | 2014-04-14 Tom Tromey <tromey@redhat.com> | |
9650 | ||
9651 | PR c++/15246: | |
9652 | * c-exp.y (type_aggregate_p): New function. | |
9653 | (qualified_name, classify_inner_name): Use it. | |
9654 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
9655 | and TYPE_TARGET_TYPE of an enum type. | |
9656 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
9657 | an enum type. | |
9658 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
9659 | handle TYPE_DECLARED_CLASS. | |
9660 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
9661 | types. | |
9662 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
9663 | * valops.c (enum_constant_from_type): New function. | |
9664 | (value_aggregate_elt): Use it. | |
9665 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
9666 | TYPE_CODE_ENUM. | |
9667 | ||
9668 | 2014-04-14 Tom Tromey <tromey@redhat.com> | |
9669 | ||
9670 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
9671 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
9672 | const. | |
9673 | * value.h (value_aggregate_elt): Update. | |
9674 | ||
9675 | 2014-04-14 Tom Tromey <tromey@redhat.com> | |
9676 | ||
9677 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
9678 | ||
9679 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9680 | ||
9681 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9682 | (evaluate_subexp_standard): Pass noside argument. | |
9683 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9684 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9685 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9686 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9687 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9688 | ||
9689 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9690 | ||
9691 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9692 | points to a constant blob. | |
9693 | ||
9694 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9695 | ||
9696 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9697 | property and store it as the high bound and flag the range accordingly. | |
9698 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9699 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9700 | * gdbtypes.h (enum range_flags): New enum. | |
9701 | (struct range_bounds): Add flags member. | |
9702 | ||
9703 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9704 | ||
9705 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9706 | check for not yet resolved high bound. If unresolved, print | |
9707 | "variable length" string to the console instead of random | |
9708 | length. | |
9709 | ||
9710 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9711 | ||
9712 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
9713 | value. | |
9714 | (ada_template_to_fixed_record_type_1): Likewise. | |
9715 | (ada_to_fixed_type_1): Likewise. | |
9716 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9717 | (cp_print_value): Likewise. | |
9718 | * d-valprint.c (dynamic_array_type): Likewise. | |
9719 | * findvar.c (address_of_variable): Likewise. | |
9720 | * jv-valprint.c (java_value_print): Likewise. | |
9721 | * valops.c (value_ind): Likewise. | |
9722 | * value.c (coerce_ref): Likewise. | |
9723 | ||
9724 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9725 | ||
9726 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9727 | value and retrieve the dynamic type size. | |
9728 | ||
9729 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9730 | ||
9731 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9732 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9733 | ||
9734 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> | |
9735 | Joel Brobecker <brobecker@adacore.com> | |
9736 | ||
9737 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9738 | (dwarf2_evaluate_property): New function. | |
9739 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9740 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9741 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9742 | attribute. | |
9743 | * gdbtypes.c: Include dwarf2loc.h. | |
9744 | (is_dynamic_type): New function. | |
9745 | (resolve_dynamic_type): New function. | |
9746 | (resolve_dynamic_bounds): New function. | |
9747 | (get_type_length): New function. | |
9748 | (check_typedef): Use get_type_length to compute type length. | |
9749 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9750 | (TYPE_LOW_BOUND_KIND): New macro. | |
9751 | (is_dynamic_type): New function prototype. | |
9752 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9753 | to resolve dynamic properties of the type. Update comment. | |
9754 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9755 | ||
9756 | 2014-04-14 Richard Henderson <rth@redhat.com> | |
9757 | ||
9758 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
9759 | ||
9760 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> | |
9761 | Doug Evans <xdje42@gmail.com> | |
9762 | ||
9763 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
9764 | dereference TYPE_CODE_REF values. | |
9765 | ||
9766 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> | |
9767 | ||
9768 | Revert the following changes due to regressions: | |
9769 | ||
9770 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9771 | (dwarf2_evaluate_property): New function. | |
9772 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9773 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9774 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9775 | attribute. | |
9776 | * gdbtypes.c: Include dwarf2loc.h. | |
9777 | (is_dynamic_type): New function. | |
9778 | (resolve_dynamic_type): New function. | |
9779 | (resolve_dynamic_bounds): New function. | |
9780 | (get_type_length): New function. | |
9781 | (check_typedef): Use get_type_length to compute type length. | |
9782 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9783 | (TYPE_LOW_BOUND_KIND): New macro. | |
9784 | (is_dynamic_type): New function prototype. | |
9785 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9786 | to resolve dynamic properties of the type. Update comment. | |
9787 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9788 | ||
9789 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9790 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9791 | ||
9792 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9793 | value and retrieve the dynamic type size. | |
9794 | ||
9795 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9796 | (ada_template_to_fixed_record_type_1): Likewise. | |
9797 | (ada_to_fixed_type_1): Likewise. | |
9798 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9799 | (cp_print_value): Likewise. | |
9800 | * d-valprint.c (dynamic_array_type): Likewise. | |
9801 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9802 | * findvar.c (address_of_variable): Likewise. | |
9803 | * jv-valprint.c (java_value_print): Likewise. | |
9804 | * valops.c (value_ind): Likewise. | |
9805 | * value.c (coerce_ref): Likewise. | |
9806 | ||
9807 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9808 | check for not yet resolved high bound. If unresolved, print | |
9809 | "variable length" string to the console instead of random | |
9810 | length. | |
9811 | ||
9812 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9813 | property and store it as the high bound and flag the range accordingly. | |
9814 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9815 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9816 | * gdbtypes.h (enum range_flags): New enum. | |
9817 | (struct range_bounds): Add flags member. | |
9818 | ||
9819 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9820 | points to a constant blob. | |
9821 | ||
9822 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9823 | (evaluate_subexp_standard): Pass noside argument. | |
9824 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9825 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9826 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9827 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9828 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9829 | ||
9830 | 2014-04-11 Keith Seitz <keiths@redhat.com> | |
9831 | ||
9832 | PR c++/16675 | |
9833 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
9834 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
9835 | reference types. | |
9836 | ||
9837 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9838 | ||
9839 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9840 | (evaluate_subexp_standard): Pass noside argument. | |
9841 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9842 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9843 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9844 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9845 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9846 | ||
9847 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9848 | ||
9849 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9850 | points to a constant blob. | |
9851 | ||
9852 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9853 | ||
9854 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9855 | property and store it as the high bound and flag the range accordingly. | |
9856 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9857 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9858 | * gdbtypes.h (enum range_flags): New enum. | |
9859 | (struct range_bounds): Add flags member. | |
9860 | ||
9861 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9862 | ||
9863 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9864 | check for not yet resolved high bound. If unresolved, print | |
9865 | "variable length" string to the console instead of random | |
9866 | length. | |
9867 | ||
9868 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9869 | ||
9870 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9871 | (ada_template_to_fixed_record_type_1): Likewise. | |
9872 | (ada_to_fixed_type_1): Likewise. | |
9873 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9874 | (cp_print_value): Likewise. | |
9875 | * d-valprint.c (dynamic_array_type): Likewise. | |
9876 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9877 | * findvar.c (address_of_variable): Likewise. | |
9878 | * jv-valprint.c (java_value_print): Likewise. | |
9879 | * valops.c (value_ind): Likewise. | |
9880 | * value.c (coerce_ref): Likewise. | |
9881 | ||
9882 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9883 | ||
9884 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9885 | value and retrieve the dynamic type size. | |
9886 | ||
9887 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9888 | ||
9889 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9890 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9891 | ||
9892 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9893 | ||
9894 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9895 | (dwarf2_evaluate_property): New function. | |
9896 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9897 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9898 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9899 | attribute. | |
9900 | * gdbtypes.c: Include dwarf2loc.h. | |
9901 | (is_dynamic_type): New function. | |
9902 | (resolve_dynamic_type): New function. | |
9903 | (resolve_dynamic_bounds): New function. | |
9904 | (get_type_length): New function. | |
9905 | (check_typedef): Use get_type_length to compute type length. | |
9906 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9907 | (TYPE_LOW_BOUND_KIND): New macro. | |
9908 | (is_dynamic_type): New function prototype. | |
9909 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9910 | to resolve dynamic properties of the type. Update comment. | |
9911 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9912 | ||
9913 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9914 | ||
9915 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
9916 | declaring high/low bounds and change uses accordingly. Call | |
9917 | create_range_type instead of create_static_range_type. | |
9918 | * gdbtypes.c (create_range_type): New function. | |
9919 | (create_range_type): Convert bounds into struct bound_prop and pass | |
9920 | them to create_range_type. | |
9921 | * gdbtypes.h (struct bound_prop): New struct. | |
9922 | (create_range_type): New function prototype. | |
9923 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
9924 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
9925 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
9926 | part of the bound. | |
9927 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
9928 | ||
9929 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> | |
9930 | ||
9931 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
9932 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
9933 | * ada-lang.c: All uses of create_range_type updated. | |
9934 | * coffread.c: All uses of create_range_type updated. | |
9935 | * dwarf2read.c: All uses of create_range_type updated. | |
9936 | * f-exp.y: All uses of create_range_type updated. | |
9937 | * m2-valprint.c: All uses of create_range_type updated. | |
9938 | * mdebugread.c: All uses of create_range_type updated. | |
9939 | * stabsread.c: All uses of create_range_type updated. | |
9940 | * valops.c: All uses of create_range_type updated. | |
9941 | * valprint.c: All uses of create_range_type updated. | |
9942 | ||
9943 | 2014-04-10 Pedro Alves <palves@redhat.com> | |
9944 | ||
9945 | * breakpoint.c (single_step_breakpoints) | |
9946 | (single_step_gdbarch): Move up in the file. | |
9947 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
9948 | (breakpoint_xfer_memory): ... here. Also process single-step | |
9949 | breakpoints. | |
9950 | ||
9951 | 2014-04-09 Tristan Gingold <gingold@adacore.com> | |
9952 | ||
9953 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
9954 | comments. | |
9955 | (darwin_decode_exception_message): Free port only after use. | |
9956 | ||
9957 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> | |
9958 | ||
9959 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
9960 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
9961 | when setting the size of call_length. | |
9962 | ||
9963 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> | |
9964 | ||
9965 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
9966 | dereference TYPE_CODE_REF values. | |
9967 | ||
9968 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> | |
9969 | ||
9970 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
9971 | end of warning message. | |
9972 | ||
9973 | 2014-04-03 Doug Evans <dje@google.com> | |
9974 | ||
9975 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
9976 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
9977 | ||
9978 | 2014-04-02 Alan Modra <amodra@gmail.com> | |
9979 | ||
9980 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
9981 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
9982 | (struct symbol_file_add_from_memory_args): Add size field. | |
9983 | (find_vdso_size): New function. | |
9984 | (add_vsyscall_page): Attempt to find vdso size. | |
9985 | ||
9986 | 2014-04-01 Doug Evans <dje@google.com> | |
9987 | ||
9988 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
9989 | ||
9990 | 2014-04-01 Tristan Gingold <gingold@adacore.com> | |
9991 | ||
9992 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
9993 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
9994 | (darwin_decode_message): Handle message by id. Ignore message | |
9995 | to unknown inferior. | |
9996 | (darwin_wait): Discard unknown messages, add debug trace. | |
9997 | ||
9998 | 2014-03-31 Doug Evans <dje@google.com> | |
9999 | ||
10000 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
10001 | comp_dir_string. | |
10002 | ||
10003 | 2014-03-31 Doug Evans <dje@google.com> | |
10004 | ||
10005 | New option "set print symbol-loading". | |
10006 | * NEWS: Mention it. | |
10007 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
10008 | if requested. | |
10009 | (solib_add): If symbol loading is in "brief" mode, notify user | |
10010 | symbols are being loaded. | |
10011 | (reload_shared_libraries_1): Ditto. | |
10012 | * symfile.c (print_symbol_loading_off): New static global. | |
10013 | (print_symbol_loading_brief): New static global. | |
10014 | (print_symbol_loading_full): New static global. | |
10015 | (print_symbol_loading_enums): New static global. | |
10016 | (print_symbol_loading): New static global. | |
10017 | (print_symbol_loading_p): New function. | |
10018 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
10019 | if requested. | |
10020 | (_initialize_symfile): Register "print symbol-loading" set/show | |
10021 | command. | |
10022 | * symfile.h (print_symbol_loading_p): Declare. | |
10023 | ||
10024 | 2014-03-30 Doug Evans <xdje42@gmail.com> | |
10025 | ||
10026 | * infrun.c (set_last_target_status): New function. | |
10027 | (handle_inferior_event): Call it. | |
10028 | ||
10029 | 2014-03-30 Doug Evans <xdje42@gmail.com> | |
10030 | ||
10031 | * inferior.h (enum stop_kind): Improve comment. | |
10032 | ||
10033 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> | |
10034 | ||
10035 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
10036 | a reference, strip the reference layer before calling | |
10037 | the lang_ops value_has_mutated callback. | |
10038 | ||
10039 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> | |
10040 | ||
10041 | Remove some globals from our parser. | |
10042 | * language.c (unk_lang_parser): Add "struct parser_state" | |
10043 | argument. | |
10044 | * language.h (struct language_defn) <la_parser>: Likewise. | |
10045 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
10046 | (initialize_expout): Add "struct parser_state" argument. | |
10047 | Rewrite function to use the parser state. | |
10048 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
10049 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
10050 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
10051 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
10052 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
10053 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
10054 | write_dollar_variable): Likewise. | |
10055 | (parse_exp_in_context_1): Use parser state. | |
10056 | (insert_type_address_space): Add "struct parser_state" argument. | |
10057 | Use parser state. | |
10058 | (increase_expout_size): New function. | |
10059 | * parser-defs.h: Forward declare "struct language_defn" and | |
10060 | "struct parser_state". | |
10061 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
10062 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
10063 | accept the parser state. | |
10064 | (struct parser_state): New struct. | |
10065 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
10066 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
10067 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
10068 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
10069 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
10070 | write_exp_msymbol, write_dollar_variable, | |
10071 | mark_struct_expression, insert_type_address_space): Add "struct | |
10072 | parser_state" argument. | |
10073 | (increase_expout_size): New function. | |
10074 | * utils.c (do_clear_parser_state): New function. | |
10075 | (make_cleanup_clear_parser_state): Likewise. | |
10076 | * utils.h (make_cleanup_clear_parser_state): New function | |
10077 | prototype. | |
10078 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
10079 | Update calls to write_exp* in order to pass the parser state. | |
10080 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
10081 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
10082 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
10083 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
10084 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
10085 | (stap_parse_single_operand): Likewise. | |
10086 | (stap_parse_argument_1): Likewise. | |
10087 | (stap_parse_argument): Use parser state. | |
10088 | * stap-probe.h: Include "parser-defs.h". | |
10089 | (struct stap_parse_info) <pstate>: New field. | |
10090 | * c-exp.y (parse_type): Rewrite to use parser state. | |
10091 | (yyparse): Redefine to c_parse_internal. | |
10092 | (pstate): New global variable. | |
10093 | (parse_number): Add "struct parser_state" argument. | |
10094 | (write_destructor_name): Likewise. | |
10095 | (type_exp): Update calls to write_exp* and similars in order to | |
10096 | use parser state. | |
10097 | (exp1, exp, variable, qualified_name, space_identifier, | |
10098 | typename, typebase): Likewise. | |
10099 | (write_destructor_name, parse_number, lex_one_token, | |
10100 | classify_name, classify_inner_name, c_parse): Add "struct | |
10101 | parser_state" argument. Update function to use parser state. | |
10102 | * c-lang.h: Forward declare "struct parser_state". | |
10103 | (c_parse): Add "struct parser_state" argument. | |
10104 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
10105 | (yyparse): Redefine macro to ada_parse_internal. | |
10106 | (pstate): New variable. | |
10107 | (write_int, write_object_renaming, write_var_or_type, | |
10108 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
10109 | type_int, type_long, type_long_long, type_float, type_double, | |
10110 | type_long_double, type_char, type_boolean, type_system_address): | |
10111 | Add "struct parser_state" argument. | |
10112 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
10113 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
10114 | var_or_type, aggregate, aggregate_component_list, | |
10115 | positional_list, others, component_group, | |
10116 | component_associations): Update calls to write_exp* and similar | |
10117 | functions in order to use parser state. | |
10118 | (ada_parse, write_var_from_sym, write_int, | |
10119 | write_exp_op_with_string, write_object_renaming, | |
10120 | find_primitive_type, write_selectors, write_ambiguous_var, | |
10121 | write_var_or_type, write_name_assoc, type_int, type_long, | |
10122 | type_long_long, type_float, type_double, type_long_double, | |
10123 | type_char, type_boolean, type_system_address): Add "struct | |
10124 | parser_state" argument. Adjust function to use parser state. | |
10125 | * ada-lang.c (parse): Likewise. | |
10126 | * ada-lang.h: Forward declare "struct parser_state". | |
10127 | (ada_parse): Add "struct parser_state" argument. | |
10128 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
10129 | calls to both functions. | |
10130 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
10131 | parser state. | |
10132 | (yyparse): Redefine macro to f_parse_internal. | |
10133 | (pstate): New variable. | |
10134 | (parse_number): Add "struct parser_state" argument. | |
10135 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
10136 | and similars in order to use parser state. | |
10137 | (parse_number): Adjust code to use parser state. | |
10138 | (yylex): Likewise. | |
10139 | (f_parse): New function. | |
10140 | * f-lang.h: Forward declare "struct parser_state". | |
10141 | (f_parse): Add "struct parser_state" argument. | |
10142 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
10143 | parser state. | |
10144 | (yyparse): Redefine macro for java_parse_internal. | |
10145 | (pstate): New variable. | |
10146 | (push_expression_name, push_expression_name, insert_exp): Add | |
10147 | "struct parser_state" argument. | |
10148 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
10149 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
10150 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
10151 | PostIncrementExpression, PostDecrementExpression, | |
10152 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
10153 | UnaryExpressionNotPlusMinus, CastExpression, | |
10154 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
10155 | RelationalExpression, EqualityExpression, AndExpression, | |
10156 | ExclusiveOrExpression, InclusiveOrExpression, | |
10157 | ConditionalAndExpression, ConditionalOrExpression, | |
10158 | ConditionalExpression, Assignment, LeftHandSide): Update | |
10159 | calls to write_exp* and similars in order to use parser state. | |
10160 | (parse_number): Ajust code to use parser state. | |
10161 | (yylex): Likewise. | |
10162 | (java_parse): New function. | |
10163 | (push_variable): Add "struct parser_state" argument. Adjust | |
10164 | code to user parser state. | |
10165 | (push_fieldnames, push_qualified_expression_name, | |
10166 | push_expression_name, insert_exp): Likewise. | |
10167 | * jv-lang.h: Forward declare "struct parser_state". | |
10168 | (java_parse): Add "struct parser_state" argument. | |
10169 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
10170 | parser state. | |
10171 | (yyparse): Redefine macro to m2_parse_internal. | |
10172 | (pstate): New variable. | |
10173 | (type_exp, exp, fblock, variable, type): Update calls to | |
10174 | write_exp* and similars to use parser state. | |
10175 | (yylex): Likewise. | |
10176 | (m2_parse): New function. | |
10177 | * m2-lang.h: Forward declare "struct parser_state". | |
10178 | (m2_parse): Add "struct parser_state" argument. | |
10179 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
10180 | * objc-lang.h: Forward declare "struct parser_state". | |
10181 | (end_msglist): Add "struct parser_state" argument. | |
10182 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
10183 | (yyparse): Redefine macro to pascal_parse_internal. | |
10184 | (pstate): New variable. | |
10185 | (parse_number): Add "struct parser_state" argument. | |
10186 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
10187 | write_exp* and similars in order to use parser state. | |
10188 | (parse_number, yylex): Adjust code to use parser state. | |
10189 | (pascal_parse): New function. | |
10190 | * p-lang.h: Forward declare "struct parser_state". | |
10191 | (pascal_parse): Add "struct parser_state" argument. | |
10192 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
10193 | (yyparse): Redefine macro to go_parse_internal. | |
10194 | (pstate): New variable. | |
10195 | (parse_number): Add "struct parser_state" argument. | |
10196 | (type_exp, exp1, exp, variable, type): Update calls to | |
10197 | write_exp* and similars in order to use parser state. | |
10198 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
10199 | to use parser state. | |
10200 | (go_parse): Likewise. | |
10201 | * go-lang.h: Forward declare "struct parser_state". | |
10202 | (go_parse): Add "struct parser_state" argument. | |
10203 | ||
10204 | 2014-03-27 Doug Evans <dje@google.com> | |
10205 | ||
10206 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
10207 | ||
10208 | 2014-03-27 Doug Evans <dje@google.com> | |
10209 | ||
10210 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
10211 | Remove argument abbrev_section. All callers updated. | |
10212 | ||
10213 | 2014-03-27 Doug Evans <dje@google.com> | |
10214 | ||
10215 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
10216 | addr_base, ranges_base. | |
10217 | ||
10218 | 2014-03-26 Keith Seitz <keiths@redhat.com> | |
10219 | ||
10220 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
10221 | types, not VAR_DOMAIN. | |
10222 | ||
10223 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> | |
10224 | ||
10225 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
10226 | "ra" registers. | |
10227 | * features/nios2-linux.c: Regenerated. | |
10228 | * features/nios2.c: Regenerated. | |
10229 | ||
10230 | 2014-03-25 Pedro Alves <palves@redhat.com> | |
10231 | ||
10232 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
10233 | sync mode. | |
10234 | ||
10235 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> | |
10236 | ||
10237 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
10238 | small stack allocation. | |
10239 | ||
10240 | 2014-03-24 Tristan Gingold <gingold@adacore.com> | |
10241 | ||
10242 | * darwin-nat.c (exc_server): Remove unused prototype. | |
10243 | (darwin_dump_message): Correctly display data on x86_64. | |
10244 | (darwin_encode_reply): Fix style. | |
10245 | Add comments and fix indentation. | |
10246 | ||
10247 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> | |
10248 | ||
10249 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
10250 | ||
10251 | 2014-03-22 Doug Evans <xdje42@gmail.com> | |
10252 | ||
10253 | * infcmd.c: Whitespace fixes. | |
10254 | (interrupt_command): Merge two function comments into one. | |
10255 | ||
10256 | 2014-03-22 Doug Evans <xdje42@gmail.com> | |
10257 | ||
10258 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
10259 | All uses updated. | |
10260 | ||
10261 | 2014-03-22 Yao Qi <yao@codesourcery.com> | |
10262 | ||
10263 | * remote.c (target_read_live_memory): Remove. | |
10264 | (memory_xfer_live_readonly_partial): Rename it to | |
10265 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
10266 | All callers updated. Call remote_read_bytes_1 | |
10267 | instead of target_read_live_memory. | |
10268 | * tracepoint.c (set_traceframe_number): Remove. | |
10269 | (make_cleanup_restore_traceframe_number): Likewise . | |
10270 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
10271 | (make_cleanup_restore_traceframe_number): Likewise. | |
10272 | ||
10273 | 2014-03-22 Yao Qi <yao@codesourcery.com> | |
10274 | ||
10275 | * remote.c (remote_read_bytes): Move code on reading from the | |
10276 | remote stub to ... | |
10277 | (remote_read_bytes_1): ... here. New function. | |
10278 | ||
10279 | 2014-03-22 Yao Qi <yao@codesourcery.com> | |
10280 | ||
10281 | * ctf.c (ctf_xfer_partial): Check the return value of | |
10282 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
10283 | return TARGET_XFER_UNAVAILABLE. | |
10284 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
10285 | * target.c (target_read_live_memory): Move it to remote.c. | |
10286 | (memory_xfer_live_readonly_partial): Likewise. | |
10287 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
10288 | * remote.c (target_read_live_memory): Moved from target.c. | |
10289 | (memory_xfer_live_readonly_partial): Likewise. | |
10290 | (remote_read_bytes): Factored out from | |
10291 | memory_xfer_partial_1. | |
10292 | ||
10293 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> | |
10294 | ||
10295 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
10296 | NULL pointer. | |
10297 | ||
10298 | 2014-03-21 Pedro Alves <palves@redhat.com> | |
10299 | ||
10300 | * infrun.c (normal_stop): Extend comment. | |
10301 | ||
10302 | 2014-03-21 Hui Zhu <hui@codesourcery.com> | |
10303 | Pedro Alves <palves@redhat.com> | |
10304 | ||
10305 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
10306 | static buffer. | |
10307 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
10308 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
10309 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
10310 | ||
10311 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> | |
10312 | ||
10313 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
10314 | `z' formatted output modifier. | |
10315 | ||
10316 | 2014-03-20 Tom Tromey <tromey@redhat.com> | |
10317 | Sergio Durigan Junior <sergiodj@redhat.com> | |
10318 | ||
10319 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
10320 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
10321 | exceptions when parsing probes. Rearrange the code for clarity. | |
10322 | ||
10323 | 2014-03-20 Tom Tromey <tromey@redhat.com> | |
10324 | ||
10325 | PR gdb/14135 | |
10326 | * top.c (execute_command): Only dispatch events if the command | |
10327 | started the target. | |
10328 | ||
10329 | 2014-03-20 Tom Tromey <tromey@redhat.com> | |
10330 | ||
10331 | PR cli/15718 | |
10332 | * infcall.c: Include event-top.h. | |
10333 | (run_inferior_call): Call async_disable_stdin if needed. | |
10334 | ||
10335 | 2014-03-20 Pedro Alves <palves@redhat.com> | |
10336 | ||
10337 | * infrun.c (prepare_to_proceed): Delete. | |
10338 | (thread_still_needs_step_over): New function. | |
10339 | (find_thread_needs_step_over): New function. | |
10340 | (proceed): If the current thread needs a step-over, set its | |
10341 | steping_over_breakpoint flag. Adjust to use | |
10342 | find_thread_needs_step_over instead of prepare_to_proceed. | |
10343 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
10344 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
10345 | breakpoint. | |
10346 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
10347 | threads not the stepping thread, before switching back to the | |
10348 | stepping thread. | |
10349 | ||
10350 | 2014-03-20 Pedro Alves <palves@redhat.com> | |
10351 | ||
10352 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
10353 | extern. | |
10354 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
10355 | * infrun.c (saved_singlestep_ptid) | |
10356 | (stepping_past_singlestep_breakpoint): Delete. | |
10357 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
10358 | (proceed): Store the prev_pc of the stepping thread too. | |
10359 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
10360 | singlestep_pc. | |
10361 | (enum infwait_states): Delete infwait_thread_hop_state. | |
10362 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
10363 | field. | |
10364 | (handle_inferior_event): Adjust. | |
10365 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
10366 | handling and the thread-hop code. Before removing single-step | |
10367 | breakpoints, check whether the thread hit a single-step breakpoint | |
10368 | of another thread. If it did, the trap is not a random signal. | |
10369 | (switch_back_to_stepped_thread): If the event thread hit a | |
10370 | single-step breakpoint, unblock it before switching to the | |
10371 | stepping thread. Handle the case of the stepped thread having | |
10372 | advanced already. | |
10373 | (keep_going): Handle the case of the current thread moving past a | |
10374 | single-step breakpoint. | |
10375 | ||
10376 | 2014-03-20 Pedro Alves <palves@redhat.com> | |
10377 | ||
10378 | PR breakpoints/7143 | |
10379 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
10380 | are being stepped over. | |
10381 | (breakpoint_address_match): Make extern. | |
10382 | * breakpoint.h (breakpoint_address_match): New declaration. | |
10383 | * inferior.h (stepping_past_instruction_at): New declaration. | |
10384 | * infrun.c (struct step_over_info): New type. | |
10385 | (step_over_info): New global. | |
10386 | (set_step_over_info, clear_step_over_info) | |
10387 | (stepping_past_instruction_at): New functions. | |
10388 | (handle_inferior_event): Clear the step-over info when | |
10389 | trap_expected is cleared. | |
10390 | (resume): Remove now stale comment. | |
10391 | (clear_proceed_status): Clear step-over info. | |
10392 | (proceed): Adjust step-over handling to set or clear the step-over | |
10393 | info instead of removing all breakpoints. | |
10394 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
10395 | breakpoints here. | |
10396 | (stop_stepping): Clear step-over info. | |
10397 | (keep_going): Adjust step-over handling to set or clear step-over | |
10398 | info and then always inserting breakpoints, instead of removing | |
10399 | all breakpoints when stepping over one. | |
10400 | ||
10401 | 2014-03-20 Pedro Alves <palves@redhat.com> | |
10402 | ||
10403 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
10404 | (deferred_step_ptid): Delete. | |
10405 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
10406 | (init_wait_for_inferior): Adjust. | |
10407 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
10408 | ||
10409 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10410 | ||
10411 | PR gdb/15358 | |
10412 | * defs.h (sync_quit_force_run): New declaration. | |
10413 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
10414 | * event-top.c (async_sigterm_handler): New declaration. | |
10415 | (async_sigterm_token): New variable. | |
10416 | (async_init_signals): Create also async_sigterm_token. | |
10417 | (async_sigterm_handler): New function. | |
10418 | (sync_quit_force_run): New variable. | |
10419 | (handle_sigterm): Replace quit_force call by other calls. | |
10420 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
10421 | ||
10422 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> | |
10423 | ||
10424 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
10425 | offset into SPE pseudo registers. | |
10426 | ||
10427 | 2014-03-18 Pedro Alves <palves@redhat.com> | |
10428 | ||
10429 | PR gdb/13860 | |
10430 | * inferior.h (print_stop_event): Declare. | |
10431 | * infrun.c (print_stop_event): New, factored out from ... | |
10432 | (normal_stop): ... this. | |
10433 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
10434 | of bpstat_print/print_stack_frame. | |
10435 | ||
10436 | 2014-03-17 Tom Tromey <tromey@redhat.com> | |
10437 | ||
10438 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
10439 | ||
10440 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> | |
10441 | ||
10442 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
10443 | minimal coercion for reference with coerce_ref instead of | |
10444 | ada_coerce_ref. | |
10445 | ||
10446 | 2014-03-17 Tristan Gingold <gingold@adacore.com> | |
10447 | ||
10448 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
10449 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
10450 | is unhandled. | |
10451 | ||
10452 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> | |
10453 | ||
10454 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
10455 | PyObject_GetAttrString to support Python 2.4. | |
10456 | ||
10457 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10458 | ||
10459 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
10460 | (Global Maintainers): Remove Jan Kratochvil. | |
10461 | ||
10462 | 2014-03-14 Pedro Alves <palves@redhat.com> | |
10463 | ||
10464 | * inferior.h (terminal_ours_for_output): Rename to ... | |
10465 | (child_terminal_ours_for_output): ... this. | |
10466 | (terminal_save_ours): Rename to ... | |
10467 | (child_terminal_save_ours): ... this. | |
10468 | (terminal_ours): Rename to ... | |
10469 | (child_terminal_ours): ... this. | |
10470 | (terminal_inferior): Rename to ... | |
10471 | (child_terminal_inferior): ... this. | |
10472 | (terminal_init_inferior): Rename to ... | |
10473 | (child_terminal_init_inferior): ... this. | |
10474 | (terminal_init_inferior_with_pgrp): Rename to ... | |
10475 | (child_terminal_init_inferior_with_pgrp): ... this. | |
10476 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
10477 | (child_terminal_init_with_pgrp): ... this. | |
10478 | (terminal_save_ours): Rename to ... | |
10479 | (child_terminal_save_ours): ... this. | |
10480 | (terminal_init_inferior): Rename to ... | |
10481 | (child_terminal_init): ... this. Adjust. | |
10482 | (terminal_inferior): Rename to ... | |
10483 | (child_terminal_inferior): ... this. | |
10484 | (terminal_ours_for_output): Rename to ... | |
10485 | (child_terminal_ours_for_output): ... this. Adjust. | |
10486 | (terminal_ours): Rename to ... | |
10487 | (child_terminal_ours): ... this. | |
10488 | (terminal_ours_1): Rename to ... | |
10489 | (child_terminal_ours_1): ... this. Adjust. | |
10490 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
10491 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
10492 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
10493 | (gnu_terminal_init): ... this. Adjust. | |
10494 | (gnu_target): Adjust. | |
10495 | * inf-child.c (inf_child_target): Adjust. | |
10496 | ||
10497 | 2014-03-13 Doug Evans <xdje42@gmail.com> | |
10498 | ||
10499 | PR guile/16612 | |
10500 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
10501 | new eq?-hashtab. | |
10502 | ||
10503 | 2014-03-13 Doug Evans <xdje42@gmail.com> | |
10504 | ||
10505 | * value.c (record_latest_value): Call release_value_or_incref | |
10506 | instead of release_value. | |
10507 | ||
10508 | 2014-03-13 Pedro Alves <palves@redhat.com> | |
10509 | ||
10510 | * procfs.c (procfs_target): Don't override to_shortname, | |
10511 | to_longname or to_doc. | |
10512 | ||
10513 | 2014-03-13 Pedro Alves <palves@redhat.com> | |
10514 | ||
10515 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
10516 | Unix in user visible strings. | |
10517 | ||
10518 | 2014-03-12 Stan Shebs <stan@codesourcery.com> | |
10519 | ||
10520 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
10521 | block comment with some general info. | |
10522 | ||
10523 | 2014-03-12 Pedro Alves <palves@redhat.com> | |
10524 | ||
10525 | * infcmd.c (prepare_execution_command): New function, factored out | |
10526 | from several execution commands. | |
10527 | (run_command_1, continue_command, step_1, jump_command) | |
10528 | (signal_command, until_command, advance_command, finish_command) | |
10529 | (attach_command): Use prepare_execution_command. | |
10530 | ||
10531 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> | |
10532 | ||
10533 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
10534 | (MAX_BPTS): Define. | |
10535 | (MAX_WPTS): Define. | |
10536 | (struct arm_linux_thread_points): Removed. | |
10537 | (struct arm_linux_process_info): New. | |
10538 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
10539 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
10540 | (arm_linux_find_breakpoints_by_tid): Removed. | |
10541 | (struct arch_lwp_info): New. | |
10542 | (arm_linux_find_process_pid): New functions. | |
10543 | (arm_linux_add_process): New functions. | |
10544 | (arm_linux_process_info_get): New functions. | |
10545 | (arm_linux_forget_process): New function. | |
10546 | (arm_linux_get_debug_reg_state): New function. | |
10547 | (struct update_registers_data): New. | |
10548 | (update_registers_callback): New function. | |
10549 | (arm_linux_insert_hw_breakpoint1): Updated. | |
10550 | (arm_linux_remove_hw_breakpoint1): Updated. | |
10551 | (arm_linux_insert_hw_breakpoint): Updated. | |
10552 | (arm_linux_remove_hw_breakpoint): Updated. | |
10553 | (arm_linux_insert_watchpoint): Updated. | |
10554 | (arm_linux_remove_watchpoint): Updated. | |
10555 | (arm_linux_new_thread): Updated. | |
10556 | (arm_linux_prepare_to_resume): New function. | |
10557 | (arm_linux_new_fork): New function. | |
10558 | (_initialize_arm_linux_nat): Updated. | |
10559 | ||
10560 | 2014-03-12 Pedro Alves <palves@redhat.com> | |
10561 | ||
10562 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
10563 | ||
10564 | 2014-03-12 Tom Tromey <tromey@redhat.com> | |
10565 | ||
10566 | * inf-child.c (return_zero): New function. | |
10567 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
10568 | * aix-thread.c (aix_thread_inferior_created): New function. | |
10569 | (aix_thread_attach): Remove. | |
10570 | (init_aix_thread_ops): Don't set to_attach. | |
10571 | (_initialize_aix_thread): Register inferior_created observer. | |
10572 | * corelow.c (init_core_ops): Don't set to_attach or | |
10573 | to_create_inferior. | |
10574 | * exec.c (init_exec_ops): Don't set to_attach or | |
10575 | to_create_inferior. | |
10576 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
10577 | target calls. | |
10578 | (attach_command): Use find_attach_target. Make direct target | |
10579 | calls. | |
10580 | * record-btrace.c (init_record_btrace_ops): Don't set | |
10581 | to_create_inferior. | |
10582 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
10583 | Remove. | |
10584 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
10585 | set to_create_inferior. | |
10586 | * target.c (complete_target_initialization): Add assertion. | |
10587 | (target_create_inferior): Remove. | |
10588 | (find_default_attach, find_default_create_inferior): Remove. | |
10589 | (find_attach_target, find_run_target): New functions. | |
10590 | (find_default_is_async_p, find_default_can_async_p) | |
10591 | (target_supports_non_stop, target_attach): Remove. | |
10592 | (init_dummy_target): Don't set to_create_inferior or | |
10593 | to_supports_non_stop. | |
10594 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
10595 | TARGET_DEFAULT_FUNC. | |
10596 | <to_create_inferior>: Add comment. | |
10597 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
10598 | TARGET_DEFAULT_RETURN. | |
10599 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
10600 | (find_attach_target, find_run_target): Declare. | |
10601 | (target_create_inferior): Remove. | |
10602 | (target_has_execution_1): Update comment. | |
10603 | (target_supports_non_stop): Remove. | |
10604 | * target-delegates.c: Rebuild. | |
10605 | ||
10606 | 2014-03-12 Pedro Alves <palves@redhat.com> | |
10607 | ||
10608 | * inf-child.h: Update comment to not mention Unix. | |
10609 | ||
10610 | 2014-03-12 Pedro Alves <palves@redhat.com> | |
10611 | ||
10612 | * inf-child.c: Update top comment to not mention Unix. Add | |
10613 | generic comment describing how this target is meant to be used. | |
10614 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
10615 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
10616 | Unix in comment. | |
10617 | ||
10618 | 2014-03-12 Pedro Alves <palves@redhat.com> | |
10619 | ||
10620 | * nto-procfs.c: Include inf-child.h. | |
10621 | (procfs_ops): Delete global. | |
10622 | (procfs_can_run): Delete method. | |
10623 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
10624 | target pointer instead of referencing procfs_ops. | |
10625 | (procfs_prepare_to_store): Delete. | |
10626 | (init_procfs_ops): Delete function. | |
10627 | (procfs_target): New function, based on init_procfs_ops, but | |
10628 | inherit inf_child_target. | |
10629 | (_initialize_procfs): Use procfs_target. | |
10630 | ||
10631 | 2014-03-12 Pedro Alves <palves@redhat.com> | |
10632 | ||
10633 | * windows-nat.c: Include inf-child.h. | |
10634 | (windows_ops): Delete global. | |
10635 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
10636 | methods. | |
10637 | (init_windows_ops): Delete function. | |
10638 | (windows_target): New function, based on init_windows_ops, but | |
10639 | inherit inf_child_target. | |
10640 | (_initialize_windows_nat): Use windows_target. Install x86 | |
10641 | specific target methods here. | |
10642 | ||
10643 | 2014-03-10 Doug Evans <xdje42@gmail.com> | |
10644 | ||
10645 | * guile/guile.c (call_initialize_gdb_module): New function. | |
10646 | (initialize_guile): Replace call to scm_init_guile with call to | |
10647 | scm_with_guile. | |
10648 | ||
10649 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> | |
10650 | ||
10651 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
10652 | in call to TYPE_CODE macro. | |
10653 | ||
10654 | 2014-03-10 Jerome Guitton <guitton@adacore.com> | |
10655 | ||
10656 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: | |
10657 | Resolve tagged types to full view. | |
10658 | ||
10659 | 2014-03-10 Hui Zhu <hui@codesourcery.com> | |
10660 | ||
10661 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
10662 | comments. | |
10663 | ||
10664 | 2014-03-07 Doug Evans <dje@google.com> | |
10665 | ||
10666 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
10667 | ||
10668 | 2014-03-07 Doug Evans <dje@google.com> | |
10669 | ||
10670 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
10671 | Remove unused local comp_dir_attr. Assert exactly one of | |
10672 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
10673 | ||
10674 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> | |
10675 | ||
10676 | * target.h (complete_target_initialization, add_target): | |
10677 | Add comment. | |
10678 | ||
10679 | 2014-03-07 Pedro Alves <palves@redhat.com> | |
10680 | ||
10681 | * go32-nat.c: Include inf-child.h. | |
10682 | (go32_ops): Delete global. | |
10683 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
10684 | Delete methods. | |
10685 | (go32_create_inferior): Push the passed in target pointer instead | |
10686 | of referencing go32_ops. | |
10687 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
10688 | (go32_target): New function, based on init_go32_ops, but inherit | |
10689 | inf_child_target. | |
10690 | (_initialize_go32_nat): Use go32_target. Move parts of | |
10691 | init_go32_ops here. | |
10692 | ||
10693 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> | |
10694 | ||
10695 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
10696 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
10697 | SYMBOL_VALUE_ADDRESS. | |
10698 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
10699 | ||
10700 | 2014-03-06 Yao Qi <yao@codesourcery.com> | |
10701 | ||
10702 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
10703 | optional_p. All callers updated. Adjust comments. Update | |
10704 | output message. | |
10705 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
10706 | ||
10707 | 2014-03-06 Yao Qi <yao@codesourcery.com> | |
10708 | ||
10709 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
10710 | early if get_number returns zero. Use 'p' instead of 'args'. | |
10711 | ||
10712 | 2014-03-06 Yao Qi <yao@codesourcery.com> | |
10713 | ||
10714 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
10715 | message. | |
10716 | ||
10717 | 2014-03-06 Yao Qi <yao@codesourcery.com> | |
10718 | ||
10719 | PR breakpoints/16508 | |
10720 | * tracepoint.c (check_trace_running): New function. | |
10721 | (trace_find_command): Move code to check_trace_running and | |
10722 | call check_trace_running. | |
10723 | (trace_find_pc_command): Likewise. | |
10724 | (trace_find_tracepoint_command): Likewise. | |
10725 | (trace_find_line_command): Likewise. | |
10726 | (trace_find_range_command): Likewise. | |
10727 | * tracepoint.h (check_trace_running): Likewise. | |
10728 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
10729 | ||
10730 | 2014-03-06 Yao Qi <yao@codesourcery.com> | |
10731 | ||
10732 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
10733 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
10734 | * target-delegates.c: Regenerated. | |
10735 | ||
10736 | 2014-03-05 Pedro Alves <palves@redhat.com> | |
10737 | ||
10738 | PR gdb/16575 | |
10739 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
10740 | void. Update comment. | |
10741 | (dcache_xfer_memory): Delete. | |
10742 | (dcache_read_memory_partial): New, based on the read bits of | |
10743 | dcache_xfer_memory. | |
10744 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
10745 | adjust. Discard cache lines if the reason for the update was | |
10746 | error. | |
10747 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
10748 | (dcache_read_memory_partial): New declaration. | |
10749 | (dcache_update): Update prototype. | |
10750 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
10751 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
10752 | ||
10753 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> | |
10754 | ||
10755 | * remote-sim.c (gdbsim_load): Add const to prog. | |
10756 | ||
10757 | 2014-03-03 Tom Tromey <tromey@redhat.com> | |
10758 | ||
10759 | * elfread.c (probe_key): Change to bfd_data. | |
10760 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
10761 | now per-BFD, not per-objfile. | |
10762 | * stap-probe.c (stap_probe_destroy): Update comment. | |
10763 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
10764 | ||
10765 | 2014-03-03 Tom Tromey <tromey@redhat.com> | |
10766 | ||
10767 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
10768 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
10769 | get_probe_address. | |
10770 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
10771 | (bkpt_probe_remove_location): Update. | |
10772 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
10773 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
10774 | (elf_probe_fns): Update. | |
10775 | (insert_exception_resume_breakpoint): Change type of "probe" | |
10776 | parameter to bound_probe. | |
10777 | (check_exception_resume): Update. | |
10778 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
10779 | * probe.c (bound_probe_s): New typedef. | |
10780 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
10781 | (find_probe_by_pc): Return a bound_probe. | |
10782 | (collect_probes): Return a VEC(bound_probe_s). | |
10783 | (compare_probes): Update. | |
10784 | (gen_ui_out_table_header_info): Change type of "probes" | |
10785 | parameter. Update. | |
10786 | (info_probes_for_ops): Update. | |
10787 | (get_probe_address): New function. | |
10788 | (probe_safe_evaluate_at_pc): Update. | |
10789 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
10790 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
10791 | (struct probe) <objfile>: Remove field. | |
10792 | <arch>: New field. | |
10793 | <address>: Update comment. | |
10794 | (struct bound_probe): New. | |
10795 | (find_probe_by_pc): Return a bound_probe. | |
10796 | (get_probe_address): Declare. | |
10797 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
10798 | (hash_probe_and_action, equal_probe_and_action): Update. | |
10799 | (register_solib_event_probe): Add address parameter. | |
10800 | (solib_event_probe_at): Update. | |
10801 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
10802 | get_probe_address. | |
10803 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
10804 | (stap_get_probe_address): New function. | |
10805 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
10806 | (compile_probe_arg): Update. | |
10807 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
10808 | address. | |
10809 | (handle_stap_probe): Don't relocate the probe. | |
10810 | (stap_relocate): Remove. | |
10811 | (stap_gen_info_probes_table_values): Update. | |
10812 | (stap_probe_ops): Remove stap_relocate. | |
10813 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
10814 | (debug_sym_probe_fns): Update. | |
10815 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
10816 | * symtab.c (init_sal): Use memset. | |
10817 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
10818 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
10819 | ||
10820 | 2014-03-03 Tom Tromey <tromey@redhat.com> | |
10821 | ||
10822 | * probe.h (parse_probes, find_probe_by_pc) | |
10823 | (find_probes_in_objfile): Fix comments. | |
10824 | ||
10825 | 2014-03-02 Doug Evans <xdje42@gmail.com> | |
10826 | ||
10827 | * infrun.c (handle_signal_stop): Replace test for | |
10828 | TARGET_WAITKIND_STOPPED with an assert. | |
10829 | ||
10830 | 2014-03-02 Doug Evans <xdje42@gmail.com> | |
10831 | ||
10832 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
10833 | ||
10834 | 2014-03-02 Doug Evans <xdje42@gmail.com> | |
10835 | ||
10836 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
10837 | ||
10838 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> | |
10839 | ||
10840 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
10841 | ||
10842 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> | |
10843 | ||
10844 | * i386obsd-nat.c: Include "obsd-nat.h". | |
10845 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
10846 | add_target. | |
10847 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
10848 | ||
10849 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> | |
10850 | ||
10851 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
10852 | ||
10853 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> | |
10854 | ||
10855 | * mips64obsd-nat.c: Include "obsd-nath". | |
10856 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
10857 | add_target | |
10858 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
10859 | ||
10860 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> | |
10861 | ||
10862 | * amd64obsd-nat.c: Include "obsd-nat,h. | |
10863 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
10864 | add_target. | |
10865 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
10866 | ||
10867 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> | |
10868 | ||
10869 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
10870 | (find_overload_match): Update call to find_oload_champ. | |
10871 | (find_oload_champ_namespace_loop): Likewise | |
10872 | ||
10873 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> | |
10874 | ||
10875 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. | |
10876 | ||
10877 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. | |
10878 | * config/sparc/obsd64.mh: New file. | |
10879 | * sparc64obsd-nat.c: New file. | |
10880 | ||
10881 | * obsd-nat.h: New file. | |
10882 | * obsd-nat.c: New file. | |
10883 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
10884 | (ALLDEPFILES): Add obsd-nat.c. | |
10885 | ||
10886 | 2014-02-28 Tom Tromey <tromey@redhat.com> | |
10887 | ||
10888 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
10889 | * cli-out.h (cli_ui_out_impl): Now const. | |
10890 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
10891 | * ui-out.c (struct ui_out) <impl>: Now const. | |
10892 | (default_ui_out_impl): Now const. | |
10893 | (ui_out_new): Make 'impl' parameter const. | |
10894 | * ui-out.h (ui_out_new): Update. | |
10895 | ||
10896 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> | |
10897 | ||
10898 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
10899 | ||
10900 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> | |
10901 | ||
10902 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
10903 | ||
10904 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> | |
10905 | ||
10906 | Additional PR 8882 fix. | |
10907 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
10908 | ||
10909 | 2014-02-27 Pedro Alves <palves@redhat.com> | |
10910 | ||
10911 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
10912 | isn't set. | |
10913 | ||
10914 | 2014-02-27 Pedro Alves <palves@redhat.com> | |
10915 | ||
10916 | PR 12702 | |
10917 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
10918 | * nat/linux-waitpid.c: Include string.h. | |
10919 | (status_to_str): Moved here and made extern. | |
10920 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
10921 | ||
10922 | 2014-02-27 Hui Zhu <hui@codesourcery.com> | |
10923 | ||
10924 | PR 12702 | |
10925 | * infrun.c (ptid_match): Move ... | |
10926 | * common/ptid.c (ptid_match): ... here. | |
10927 | * inferior.h (ptid_match): Move ... | |
10928 | * common/ptid.h (ptid_match): ... here. | |
10929 | ||
10930 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> | |
10931 | ||
10932 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
10933 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
10934 | gdb_target_obs. | |
10935 | ||
10936 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> | |
10937 | ||
10938 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
10939 | (obsd_init_abi): Set auxv_parse. | |
10940 | ||
10941 | * gdbarch.sh (auxv_parse): New. | |
10942 | * gdbarch.h: Regenerated. | |
10943 | * gdbarch.c: Regenerated. | |
10944 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
10945 | ||
10946 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> | |
10947 | ||
10948 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
10949 | (value_functions): Add it. | |
10950 | ||
10951 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> | |
10952 | ||
10953 | * dwarf2read.c (attr_value_as_address): New function. | |
10954 | (dwarf2_find_base_address, read_call_site_scope): Use | |
10955 | attr_value_as_address in place of DW_ADDR. | |
10956 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
10957 | the low and high addresses. Slight rework of the handling | |
10958 | of the high pc being a constant form, and limit it to | |
10959 | DWARF verson 4 or higher. | |
10960 | (dwarf2_record_block_ranges): Likewise. | |
10961 | (read_partial_die): Likewise. | |
10962 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
10963 | ||
10964 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
10965 | ||
10966 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
10967 | ||
10968 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
10969 | ||
10970 | * elfread.c (elf_read_minimal_symbols): Return early if | |
10971 | minimal symbols have already been read. Add "ei" parameter. | |
10972 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
10973 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
10974 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
10975 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
10976 | * symmisc.c (print_objfile_statistics): Update. | |
10977 | ||
10978 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
10979 | ||
10980 | * elfread.c (elf_read_minimal_symbols): New function, from | |
10981 | elf_symfile_read. | |
10982 | (elf_symfile_read): Call it. | |
10983 | ||
10984 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
10985 | ||
10986 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
10987 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
10988 | (lookup_minimal_symbol_solib_trampoline) | |
10989 | (lookup_minimal_symbol_by_pc_section_1) | |
10990 | (lookup_minimal_symbol_and_objfile): Update. | |
10991 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
10992 | Don't allocate a minimal symbol if minsyms have already been read. | |
10993 | (build_minimal_symbol_hash_tables): Update. | |
10994 | (install_minimal_symbols): Do nothing if minsyms already read. | |
10995 | Use the per-BFD obstack. | |
10996 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
10997 | * objfiles.c (allocate_objfile): Call | |
10998 | terminate_minimal_symbol_table later. | |
10999 | (have_minimal_symbols): Update. | |
11000 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
11001 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
11002 | Move from struct objfile. | |
11003 | <minsyms_read>: New field. | |
11004 | (struct objfile) <msymbols, minimal_symbol_count, | |
11005 | msymbol_hash, msymbol_demangled_hash>: Move. | |
11006 | (ALL_OBJFILE_MSYMBOLS): Update. | |
11007 | * symfile.c (read_symbols): Set minsyms_read. | |
11008 | (reread_symbols): Update. | |
11009 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
11010 | ||
11011 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
11012 | ||
11013 | * minsyms.c (msymbols_sort): Remove. | |
11014 | * minsyms.h (msymbols_sort): Remove. | |
11015 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
11016 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
11017 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
11018 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
11019 | to minimal symbol address. | |
11020 | * somread.c (text_offset, data_offset): Remove. | |
11021 | (som_symtab_read): Don't add section offsets to minimal symbol | |
11022 | addresses. | |
11023 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
11024 | Don't add section offsets to minimal symbols. | |
11025 | * coffread.c (coff_symtab_read): Don't add section offsets | |
11026 | to minimal symbol addresses. | |
11027 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
11028 | to minimal symbol addresses. | |
11029 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
11030 | section offset to minimal symbol addresses. | |
11031 | * mdebugread.c (parse_partial_symbols): Don't add section | |
11032 | offset to minimal symbol addresses. | |
11033 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
11034 | offset to minimal symbol addresses. | |
11035 | ||
11036 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
11037 | ||
11038 | * ada-lang.c (ada_main_name): Update. | |
11039 | (ada_add_standard_exceptions): Update. | |
11040 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
11041 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
11042 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
11043 | * auxv.c (ld_so_xfer_auxv): Update. | |
11044 | * avr-tdep.c (avr_scan_prologue): Update. | |
11045 | * ax-gdb.c (gen_var_ref): Update. | |
11046 | * blockframe.c (get_pc_function_start) | |
11047 | (find_pc_partial_function_gnu_ifunc): Update. | |
11048 | * breakpoint.c (create_overlay_event_breakpoint) | |
11049 | (create_longjmp_master_breakpoint) | |
11050 | (create_std_terminate_master_breakpoint) | |
11051 | (create_exception_master_breakpoint): Update. | |
11052 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
11053 | * c-valprint.c (c_val_print): Update. | |
11054 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
11055 | * common/agent.c (agent_look_up_symbols): Update. | |
11056 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
11057 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
11058 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
11059 | * elfread.c (elf_gnu_ifunc_record_cache) | |
11060 | (elf_gnu_ifunc_resolve_by_got): Update. | |
11061 | * findvar.c (default_read_var_value): Update. | |
11062 | * frame.c (inside_main_func): Update. | |
11063 | * frv-tdep.c (frv_frame_this_id): Update. | |
11064 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
11065 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
11066 | Update. | |
11067 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
11068 | (hppa_hpux_find_dummy_bpaddr): Update. | |
11069 | * hppa-tdep.c (hppa_symbol_address): Update. | |
11070 | * infcmd.c (until_next_command): Update. | |
11071 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
11072 | Update. | |
11073 | * linespec.c (minsym_found, add_minsym): Update. | |
11074 | * linux-nat.c (get_signo): Update. | |
11075 | * linux-thread-db.c (inferior_has_bug): Update. | |
11076 | * m32c-tdep.c (m32c_return_value) | |
11077 | (m32c_m16c_address_to_pointer): Update. | |
11078 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
11079 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
11080 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
11081 | * maint.c (maintenance_translate_address): Update. | |
11082 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
11083 | (frob_address): New function. | |
11084 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
11085 | frob_address. Rename parameter to "pc_in". | |
11086 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
11087 | addresses. | |
11088 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
11089 | Update. | |
11090 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
11091 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
11092 | * objc-lang.c (find_objc_msgsend): Update. | |
11093 | * objfiles.c (objfile_relocate1): Update. | |
11094 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
11095 | * p-valprint.c (pascal_val_print): Update. | |
11096 | * parse.c (write_exp_msymbol): Update. | |
11097 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
11098 | (ppc_elfv2_skip_entrypoint): Update. | |
11099 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
11100 | * printcmd.c (build_address_symbolic, msym_info) | |
11101 | (address_info): Update. | |
11102 | * proc-service.c (ps_pglobal_lookup): Update. | |
11103 | * psymtab.c (find_pc_sect_psymtab_closer) | |
11104 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
11105 | Change msymbol parameter to bound_minimal_symbol. | |
11106 | * ravenscar-thread.c (get_running_thread_id): Update. | |
11107 | * remote.c (remote_check_symbols): Update. | |
11108 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
11109 | address. | |
11110 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
11111 | * solib-dsbt.c (lm_base): Update. | |
11112 | * solib-frv.c (lm_base, main_got): Update. | |
11113 | * solib-irix.c (locate_base): Update. | |
11114 | * solib-som.c (som_solib_create_inferior_hook) | |
11115 | (link_map_start): Update. | |
11116 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
11117 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
11118 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
11119 | (flush_ea_cache): Update. | |
11120 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
11121 | * stack.c (find_frame_funname): Update. | |
11122 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
11123 | (debug_qf_find_pc_sect_symtab): Update. | |
11124 | * symfile.c (simple_read_overlay_table) | |
11125 | (simple_overlay_update): Update. | |
11126 | * symfile.h (struct quick_symbol_functions) | |
11127 | <find_pc_sect_symtab>: Change type of msymbol to | |
11128 | bound_minimal_symbol. | |
11129 | * symmisc.c (dump_msymbols): Update. | |
11130 | * symtab.c (find_pc_sect_symtab_via_partial) | |
11131 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
11132 | (search_symbols, print_msymbol_info): Update. | |
11133 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
11134 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
11135 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
11136 | * tracepoint.c (scope_info): Update. | |
11137 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
11138 | (tui_get_begin_asm_address): Update. | |
11139 | * valops.c (find_function_in_inferior): Update. | |
11140 | * value.c (value_static_field, value_fn_field): Update. | |
11141 | ||
11142 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
11143 | ||
11144 | * ada-lang.c (ada_update_initial_language): Update. | |
11145 | (ada_main_name, ada_has_this_exception_support): Update. | |
11146 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
11147 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
11148 | * arm-tdep.c (arm_skip_stub): Update. | |
11149 | * auxv.c (ld_so_xfer_auxv): Update. | |
11150 | * avr-tdep.c (avr_scan_prologue): Update. | |
11151 | * ax-gdb.c (gen_var_ref): Update. | |
11152 | * breakpoint.c (struct breakpoint_objfile_data) | |
11153 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
11154 | type to bound_minimal_symbol. | |
11155 | (create_overlay_event_breakpoint) | |
11156 | (create_longjmp_master_breakpoint) | |
11157 | (create_std_terminate_master_breakpoint) | |
11158 | (create_exception_master_breakpoint): Update. | |
11159 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
11160 | * c-exp.y (classify_name): Update. | |
11161 | * coffread.c (coff_symfile_read): Update. | |
11162 | * common/agent.c (agent_look_up_symbols): Update. | |
11163 | * d-lang.c (d_main_name): Update. | |
11164 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
11165 | * dec-thread.c (enable_dec_thread): Update. | |
11166 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
11167 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
11168 | * eval.c (evaluate_subexp_standard): Update. | |
11169 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
11170 | to bound_minimal_symbol. | |
11171 | <objfile>: Remove. | |
11172 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
11173 | * frame.c (inside_main_func): Update. | |
11174 | * frv-tdep.c (frv_frame_this_id): Update. | |
11175 | * gcore.c (call_target_sbrk): Update. | |
11176 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
11177 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
11178 | Update. | |
11179 | * go-lang.c (go_main_name): Update. | |
11180 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
11181 | (hppa_hpux_find_import_stub_for_addr): Update. | |
11182 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
11183 | Update. Change return type. | |
11184 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
11185 | type. | |
11186 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
11187 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
11188 | Update. | |
11189 | * linux-nat.c (get_signo): Update. | |
11190 | * linux-thread-db.c (inferior_has_bug): Update | |
11191 | * m32c-tdep.c (m32c_return_value) | |
11192 | (m32c_m16c_address_to_pointer): Update. | |
11193 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
11194 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
11195 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
11196 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
11197 | lookup_minimal_symbol. Change return type. | |
11198 | (lookup_minimal_symbol): Remove. | |
11199 | (lookup_bound_minimal_symbol): Update. | |
11200 | (lookup_minimal_symbol_text): Change return type. | |
11201 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
11202 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
11203 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
11204 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
11205 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
11206 | (value_nsstring, find_imps): Update. | |
11207 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
11208 | * p-lang.c (pascal_main_name): Update. | |
11209 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
11210 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
11211 | * proc-service.c (ps_pglobal_lookup): Update. | |
11212 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
11213 | return type. | |
11214 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
11215 | * remote.c (remote_check_symbols): Update. | |
11216 | * sol-thread.c (ps_pglobal_lookup): Update. | |
11217 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
11218 | * solib-dsbt.c (lm_base): Update. | |
11219 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
11220 | Update. | |
11221 | * solib-irix.c (locate_base): Update. | |
11222 | * solib-som.c (som_solib_create_inferior_hook) | |
11223 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
11224 | Update. | |
11225 | * solib-spu.c (spu_enable_break): Update. | |
11226 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
11227 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
11228 | (flush_ea_cache): Update. | |
11229 | * stabsread.c (define_symbol): Update. | |
11230 | * symfile.c (simple_read_overlay_table): Update. | |
11231 | * symtab.c (find_pc_sect_line): Update. | |
11232 | * tracepoint.c (scope_info): Update. | |
11233 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
11234 | * value.c (value_static_field): Update. | |
11235 | ||
11236 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
11237 | ||
11238 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
11239 | SET_MSYMBOL_VALUE_ADDRESS. | |
11240 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
11241 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
11242 | SET_MSYMBOL_VALUE_ADDRESS. | |
11243 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
11244 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
11245 | ||
11246 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
11247 | ||
11248 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
11249 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
11250 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
11251 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
11252 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
11253 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
11254 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
11255 | * ada-lang.c (ada_main_name): Update. | |
11256 | (ada_lookup_simple_minsym): Update. | |
11257 | (ada_make_symbol_completion_list): Update. | |
11258 | (ada_add_standard_exceptions): Update. | |
11259 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
11260 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
11261 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
11262 | * arm-tdep.c (skip_prologue_function): Update. | |
11263 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
11264 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
11265 | (arm_wince_skip_main_prologue): Update. | |
11266 | * auxv.c (ld_so_xfer_auxv): Update. | |
11267 | * avr-tdep.c (avr_scan_prologue): Update. | |
11268 | * ax-gdb.c (gen_var_ref): Update. | |
11269 | * block.c (call_site_for_pc): Update. | |
11270 | * blockframe.c (get_pc_function_start): Update. | |
11271 | (find_pc_partial_function_gnu_ifunc): Update. | |
11272 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
11273 | (create_longjmp_master_breakpoint): Update. | |
11274 | (create_std_terminate_master_breakpoint): Update. | |
11275 | (create_exception_master_breakpoint): Update. | |
11276 | (resolve_sal_pc): Update. | |
11277 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
11278 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
11279 | Update. | |
11280 | * c-valprint.c (c_val_print): Update. | |
11281 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
11282 | * coffread.c (coff_symfile_read): Update. | |
11283 | * common/agent.c (agent_look_up_symbols): Update. | |
11284 | * dbxread.c (find_stab_function_addr): Update. | |
11285 | (end_psymtab): Update. | |
11286 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
11287 | (func_verify_no_selftailcall): Update. | |
11288 | (tailcall_dump): Update. | |
11289 | (call_site_find_chain_1): Update. | |
11290 | (dwarf_expr_reg_to_entry_parameter): Update. | |
11291 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
11292 | (elf_gnu_ifunc_resolve_by_got): Update. | |
11293 | * f-valprint.c (info_common_command): Update. | |
11294 | * findvar.c (read_var_value): Update. | |
11295 | * frame.c (get_prev_frame_1): Update. | |
11296 | (inside_main_func): Update. | |
11297 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
11298 | (frv_frame_this_id): Update. | |
11299 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
11300 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
11301 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
11302 | (gnuv3_skip_trampoline): Update. | |
11303 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
11304 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
11305 | (hppa_hpux_skip_trampoline_code): Update. | |
11306 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
11307 | (hppa_hpux_find_import_stub_for_addr): Update. | |
11308 | (hppa_hpux_find_dummy_bpaddr): Update. | |
11309 | * hppa-tdep.c (hppa_symbol_address) | |
11310 | (hppa_lookup_stub_minimal_symbol): Update. | |
11311 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
11312 | (i386_pe_skip_trampoline_code): Update. | |
11313 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
11314 | * infcall.c (get_function_name): Update. | |
11315 | * infcmd.c (until_next_command): Update. | |
11316 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
11317 | (jit_inferior_init): Update. | |
11318 | * linespec.c (minsym_found): Update. | |
11319 | (add_minsym): Update. | |
11320 | * linux-fork.c (info_checkpoints_command): Update. | |
11321 | * linux-nat.c (get_signo): Update. | |
11322 | * linux-thread-db.c (inferior_has_bug): Update. | |
11323 | * m32c-tdep.c (m32c_return_value): Update. | |
11324 | (m32c_m16c_address_to_pointer): Update. | |
11325 | (m32c_m16c_pointer_to_address): Update. | |
11326 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
11327 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
11328 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
11329 | * maint.c (maintenance_translate_address): Update. | |
11330 | * minsyms.c (add_minsym_to_hash_table): Update. | |
11331 | (add_minsym_to_demangled_hash_table): Update. | |
11332 | (msymbol_objfile): Update. | |
11333 | (lookup_minimal_symbol): Update. | |
11334 | (iterate_over_minimal_symbols): Update. | |
11335 | (lookup_minimal_symbol_text): Update. | |
11336 | (lookup_minimal_symbol_by_pc_name): Update. | |
11337 | (lookup_minimal_symbol_solib_trampoline): Update. | |
11338 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
11339 | (lookup_minimal_symbol_and_objfile): Update. | |
11340 | (prim_record_minimal_symbol_full): Update. | |
11341 | (compare_minimal_symbols): Update. | |
11342 | (compact_minimal_symbols): Update. | |
11343 | (build_minimal_symbol_hash_tables): Update. | |
11344 | (install_minimal_symbols): Update. | |
11345 | (terminate_minimal_symbol_table): Update. | |
11346 | (find_solib_trampoline_target): Update. | |
11347 | (minimal_symbol_upper_bound): Update. | |
11348 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
11349 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
11350 | (mips_skip_pic_trampoline_code): Update. | |
11351 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
11352 | * objc-lang.c (selectors_info): Update. | |
11353 | (classes_info): Update. | |
11354 | (find_methods): Update. | |
11355 | (find_imps): Update. | |
11356 | (find_objc_msgsend): Update. | |
11357 | * objfiles.c (objfile_relocate1): Update. | |
11358 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
11359 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
11360 | * p-valprint.c (pascal_val_print): Update. | |
11361 | * parse.c (write_exp_msymbol): Update. | |
11362 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
11363 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
11364 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
11365 | * printcmd.c (build_address_symbolic): Update. | |
11366 | (sym_info): Update. | |
11367 | (address_info): Update. | |
11368 | * proc-service.c (ps_pglobal_lookup): Update. | |
11369 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
11370 | (find_pc_sect_psymtab): Update. | |
11371 | * python/py-framefilter.c (py_print_frame): Update. | |
11372 | * ravenscar-thread.c (get_running_thread_id): Update. | |
11373 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
11374 | Update. | |
11375 | * remote.c (remote_check_symbols): Update. | |
11376 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
11377 | (rs6000_skip_trampoline_code): Update. | |
11378 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
11379 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
11380 | * solib-dsbt.c (lm_base): Update. | |
11381 | * solib-frv.c (lm_base): Update. | |
11382 | (main_got): Update. | |
11383 | * solib-irix.c (locate_base): Update. | |
11384 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
11385 | (som_solib_desire_dynamic_linker_symbols): Update. | |
11386 | (link_map_start): Update. | |
11387 | * solib-spu.c (spu_enable_break): Update. | |
11388 | (ocl_enable_break): Update. | |
11389 | * solib-svr4.c (elf_locate_base): Update. | |
11390 | (enable_break): Update. | |
11391 | * spu-tdep.c (spu_get_overlay_table): Update. | |
11392 | (spu_catch_start): Update. | |
11393 | (flush_ea_cache): Update. | |
11394 | * stabsread.c (define_symbol): Update. | |
11395 | (scan_file_globals): Update. | |
11396 | * stack.c (find_frame_funname): Update. | |
11397 | (frame_info): Update. | |
11398 | * symfile.c (simple_read_overlay_table): Update. | |
11399 | (simple_overlay_update): Update. | |
11400 | * symmisc.c (dump_msymbols): Update. | |
11401 | * symtab.c (fixup_section): Update. | |
11402 | (find_pc_sect_line): Update. | |
11403 | (skip_prologue_sal): Update. | |
11404 | (search_symbols): Update. | |
11405 | (print_msymbol_info): Update. | |
11406 | (rbreak_command): Update. | |
11407 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
11408 | (completion_list_objc_symbol): Update. | |
11409 | (default_make_symbol_completion_list_break_on): Update. | |
11410 | * tracepoint.c (scope_info): Update. | |
11411 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
11412 | (tui_get_begin_asm_address): Update. | |
11413 | * valops.c (find_function_in_inferior): Update. | |
11414 | * value.c (value_static_field): Update. | |
11415 | (value_fn_field): Update. | |
11416 | ||
11417 | 2014-02-26 Tom Tromey <tromey@redhat.com> | |
11418 | ||
11419 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
11420 | bound minimal symbols. Move code that knows about minsym | |
11421 | table layout... | |
11422 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
11423 | function. | |
11424 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
11425 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
11426 | minimal_symbol_upper_bound. | |
11427 | ||
11428 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> | |
11429 | ||
11430 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
11431 | Use the type's name if its basic type does not have a tag. | |
11432 | ||
11433 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> | |
11434 | ||
11435 | * dwarf2read.c (read_subrange_type): Add comment. | |
11436 | ||
11437 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> | |
11438 | ||
11439 | * dwarf2read.c (update_enumeration_type_from_children): New | |
11440 | function, mostly extracted from process_structure_scope. | |
11441 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
11442 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
11443 | and flag_flag_enum fields. | |
11444 | ||
11445 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11446 | ||
11447 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
11448 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
11449 | to_xfer_partial method. | |
11450 | ||
11451 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11452 | ||
11453 | * target.c (complete_target_initialization): Don't install | |
11454 | default_xfer_partial as to_xfer_partial hook. | |
11455 | (nomemory): Delete. | |
11456 | (update_current_target): Don't INHERIT nor de_fault | |
11457 | deprecated_xfer_memory. Delete de_fault macro. | |
11458 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
11459 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
11460 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
11461 | field. | |
11462 | ||
11463 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11464 | ||
11465 | * go32-nat.c (my_write_child): New function. | |
11466 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
11467 | (go32_xfer_partial): New function. | |
11468 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
11469 | Instead install a to_xfer_partial hook. | |
11470 | ||
11471 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11472 | ||
11473 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
11474 | to_xfer_partial helper. Rewrite. | |
11475 | (procfs_xfer_partial): New function. | |
11476 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
11477 | Install a to_xfer_partial hook. | |
11478 | ||
11479 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11480 | ||
11481 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
11482 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
11483 | (m32r_xfer_partial): New function. | |
11484 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
11485 | Install a to_xfer_partial hook. | |
11486 | ||
11487 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11488 | ||
11489 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
11490 | helper. | |
11491 | (mips_xfer_partial): New function. | |
11492 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
11493 | hook. Install a to_xfer_partial hook. | |
11494 | ||
11495 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> | |
11496 | ||
11497 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
11498 | * gdbtypes.c (create_array_type_with_stride): New function, | |
11499 | renaming create_array_type, but with an added parameter | |
11500 | called "bit_stride". | |
11501 | (create_array_type): Re-implement using | |
11502 | create_array_type_with_stride. | |
11503 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
11504 | and DW_AT_bit_stride attributes. | |
11505 | ||
11506 | 2014-02-26 Pedro Alves <palves@redhat.com> | |
11507 | ||
11508 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
11509 | task-specific breakpoints. | |
11510 | ||
11511 | 2014-02-25 Pedro Alves <palves@redhat.com> | |
11512 | ||
11513 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
11514 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
11515 | ||
11516 | 2014-02-25 Stan Shebs <stan@codesourcery.com> | |
11517 | ||
11518 | * defs.h: Annotate comments for Doxygen. | |
11519 | ||
11520 | 2014-02-25 Tom Tromey <tromey@redhat.com> | |
11521 | ||
11522 | * target.h (target_ignore): Don't declare. | |
11523 | * target.c (target_ignore): Remove. | |
11524 | ||
11525 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> | |
11526 | ||
11527 | PR gdb/16626 | |
11528 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
11529 | debugfile. | |
11530 | ||
11531 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> | |
11532 | ||
11533 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
11534 | documentation. Adjust prototype to match the target_ops | |
11535 | to_xfer_partial method. Adjust implementation accordingly. | |
11536 | ||
11537 | 2014-02-25 Hui Zhu <hui@codesourcery.com> | |
11538 | ||
11539 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
11540 | to_traceframe_info. | |
11541 | ||
11542 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> | |
11543 | ||
11544 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) | |
11545 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) | |
11546 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
11547 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
11548 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
11549 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
11550 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
11551 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
11552 | New constants. | |
11553 | (rl78_register_type): Use a data pointer type for SP and | |
11554 | new pseudo registers mentioned above. Use a 16 bit integer | |
11555 | type for all other register pairs. | |
11556 | (rl78_register_name, rl78_g10_register_name): Update for | |
11557 | new pseudo registers. | |
11558 | (rl78_pseudo_register_read): Likewise. | |
11559 | (rl78_pseudo_register_write): Likewise. | |
11560 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
11561 | to the newly added pseudo registers. | |
11562 | ||
11563 | 2014-02-24 Doug Evans <dje@google.com> | |
11564 | ||
11565 | * value.c (record_latest_value): Fix comment. | |
11566 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
11567 | record_latest_value. | |
11568 | ||
11569 | 2014-02-24 Pedro Alves <palves@redhat.com> | |
11570 | ||
11571 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
11572 | deprecated_xfer_memory hook. | |
11573 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
11574 | of the deprecated_xfer_memory target hook. | |
11575 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
11576 | helper. | |
11577 | ||
11578 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> | |
11579 | ||
11580 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
11581 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
11582 | requested object is TARGET_OBJECT_LIBRARIES. | |
11583 | ||
11584 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
11585 | ||
11586 | * target.h (enum target_xfer_status) | |
11587 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
11588 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
11589 | explicitly. New. | |
11590 | * corefile.c (memory_error_message): User updated. | |
11591 | * exec.c (section_table_read_available_memory): Likewise. | |
11592 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
11593 | * target.c (target_xfer_status_to_string): Likewise. | |
11594 | (raw_memory_xfer_partial): Likewise. | |
11595 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
11596 | * valops.c (read_value_memory): Likewise. | |
11597 | * exec.h: Update comments. | |
11598 | ||
11599 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
11600 | ||
11601 | * target.c (target_xfer_status_to_string): Rename argument err | |
11602 | to status. | |
11603 | * target.h (target_xfer_status_to_string): Update declaration. | |
11604 | Replace target_xfer_error_to_string with | |
11605 | target_xfer_status_to_string in comment. | |
11606 | ||
11607 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
11608 | ||
11609 | * mips-linux-nat.c (super_close): Update its type. | |
11610 | (mips_linux_close): Pass 'self' to super_close. | |
11611 | ||
11612 | 2014-02-24 Yao Qi <yao@codesourcery.com> | |
11613 | ||
11614 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
11615 | * corefile.c (read_memory): Adjusted. | |
11616 | * target.c (target_write_with_progress): Adjusted. | |
11617 | ||
11618 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11619 | ||
11620 | Revert two patches: | |
11621 | ||
11622 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
11623 | ||
11624 | * remote.c (remote_traceframe_info): Return early if | |
11625 | traceframe is not selected. | |
11626 | ||
11627 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
11628 | ||
11629 | * target.c (update_current_target): Change the default action | |
11630 | of 'to_traceframe_info' from tcomplain to return_zero. | |
11631 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
11632 | comments. | |
11633 | ||
11634 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11635 | ||
11636 | * valops.c (read_value_memory): Rewrite it. Call | |
11637 | target_xfer_partial in a loop. | |
11638 | * exec.h (section_table_available_memory): Remove declaration. | |
11639 | Move comments to ... | |
11640 | * exec.c (section_table_available_memory): ... here. Make it | |
11641 | static. | |
11642 | ||
11643 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11644 | ||
11645 | * exec.c (section_table_read_available_memory): New function. | |
11646 | * exec.h (section_table_read_available_memory): Declare. | |
11647 | * ctf.c (ctf_xfer_partial): Call | |
11648 | section_table_read_available_memory. | |
11649 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
11650 | ||
11651 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11652 | ||
11653 | * ctf.c (ctf_xfer_partial): Move code to ... | |
11654 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
11655 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
11656 | * tracefile.c: Include "exec.h". | |
11657 | * exec.h (exec_read_partial_read_only): Declare. | |
11658 | ||
11659 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11660 | ||
11661 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
11662 | (tfile_has_memory): Remove. | |
11663 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
11664 | to_has_memory of tfile_ops. | |
11665 | * tracefile.c (tracefile_has_all_memory): New function. | |
11666 | (tracefile_has_memory): New function. | |
11667 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
11668 | to_has_memory of 'ops'. | |
11669 | ||
11670 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11671 | ||
11672 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
11673 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
11674 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
11675 | init_tracefile_ops. | |
11676 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
11677 | (tfile_has_stack, tfile_has_registers): Remove. | |
11678 | (tfile_thread_alive): Remove. | |
11679 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
11680 | init_tracefile_ops. | |
11681 | * tracefile.c (tracefile_has_stack): New function. | |
11682 | (tracefile_has_registers): New function. | |
11683 | (tracefile_thread_alive): New function. | |
11684 | (tracefile_get_trace_status): New function. | |
11685 | (init_tracefile_ops): New function. | |
11686 | * tracefile.h (init_tracefile_ops): Declare. | |
11687 | ||
11688 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11689 | ||
11690 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
11691 | (O_LARGEFILE): Likewise. | |
11692 | (tfile_ops): Likewise. | |
11693 | (TRACE_HEADER_SIZE): Likewise. | |
11694 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
11695 | (cur_data_size): Likewise. | |
11696 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
11697 | (tfile_close, tfile_files_info): Likewise. | |
11698 | (tfile_get_trace_status): Likewise. | |
11699 | (tfile_get_tracepoint_status): Likewise. | |
11700 | (tfile_get_traceframe_address): Likewise. | |
11701 | (tfile_trace_find, match_blocktype): Likewise. | |
11702 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
11703 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
11704 | (tfile_get_trace_state_variable_value): Likewise. | |
11705 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
11706 | (tfile_has_stack, tfile_has_registers): Likewise. | |
11707 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
11708 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
11709 | (_initialize_tracepoint): Don't call init_tfile_ops | |
11710 | and add_target_with_completer. | |
11711 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
11712 | exec.h, completer.h and filenames.h. | |
11713 | (_initialize_tracefile_tfile): New function. | |
11714 | ||
11715 | 2014-02-23 Yao Qi <yao@codesourcery.com> | |
11716 | ||
11717 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
11718 | tracefile-tfile.o. | |
11719 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
11720 | * ctf.c: Include "tracefile.h". | |
11721 | * tracefile.h: New file. | |
11722 | * tracefile.c: New file | |
11723 | * tracefile-tfile.c: New file. | |
11724 | * tracepoint.c: Include "tracefile.h". | |
11725 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
11726 | (stop_reason_names): Add const. | |
11727 | (trace_file_writer_xfree): Move it to tracefile.c. | |
11728 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
11729 | (trace_save_ctf): Likewise. | |
11730 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
11731 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
11732 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
11733 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
11734 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
11735 | (tfile_write_raw_data, tfile_end): Likewise. | |
11736 | (tfile_trace_file_writer_new): Likewise. | |
11737 | (free_uploaded_tp): Make it extern. | |
11738 | (free_uploaded_tsv): Make it extern. | |
11739 | (_initialize_tracepoint): Move code to register command 'tsave' | |
11740 | to tracefile.c. | |
11741 | * tracepoint.h (stop_reason_names): Declare. | |
11742 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
11743 | (struct trace_file_write_ops): Likewise. | |
11744 | (struct trace_file_writer): Likewise. | |
11745 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
11746 | ||
11747 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> | |
11748 | ||
11749 | PR gdb/16594 | |
11750 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
11751 | process name. | |
11752 | (get_cores_used_by_process): New parameter num_cores, use it. | |
11753 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
11754 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
11755 | process name. | |
11756 | ||
11757 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> | |
11758 | ||
11759 | * target.c (memory_xfer_partial): Fix length arg in call to | |
11760 | breakpoint_xfer_memory. | |
11761 | ||
11762 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> | |
11763 | ||
11764 | PR tdep/16397 | |
11765 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
11766 | number comes after the + or - signs. Adjust length of register | |
11767 | name to be extracted. | |
11768 | ||
11769 | 2014-02-20 Tom Tromey <tromey@redhat.com> | |
11770 | ||
11771 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
11772 | (ada_varobj_ops): Mark "extern". | |
11773 | ||
11774 | 2014-02-20 Tom Tromey <tromey@redhat.com> | |
11775 | ||
11776 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
11777 | ||
11778 | 2014-02-20 Doug Evans <xdje42@gmail.com> | |
11779 | ||
11780 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
11781 | All callers updated. | |
11782 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
11783 | All callers updated. | |
11784 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
11785 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
11786 | ||
11787 | 2014-02-20 lin zuojian <manjian2006@gmail.com> | |
11788 | Joel Brobecker <brobecker@adacore.com> | |
11789 | Doug Evans <xdje42@gmail.com> | |
11790 | ||
11791 | PR symtab/16581 | |
11792 | * dwarf2read.c (struct die_info): New member in_process. | |
11793 | (reset_die_in_process): New function. | |
11794 | (process_die): Set it at the start, reset when returning. | |
11795 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
11796 | not already being processed. | |
11797 | ||
11798 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
11799 | ||
11800 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
11801 | (do_initial_windows_stuff): Add comment explaining why we wait | |
11802 | until after inferior initialization has finished before | |
11803 | processing all DLLs. | |
11804 | ||
11805 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
11806 | ||
11807 | * windows-nat.c (get_module_name): Delete. | |
11808 | (windows_get_exec_module_filename): New function, mostly | |
11809 | inspired from get_module_name. | |
11810 | (windows_pid_to_exec_file): Replace call to get_module_name | |
11811 | by call to windows_get_exec_module_filename. | |
11812 | ||
11813 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
11814 | ||
11815 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
11816 | introductory comment. Remove code using get_module_name | |
11817 | to get the DLL's name. | |
11818 | ||
11819 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
11820 | ||
11821 | * windows-nat.c (get_windows_debug_event): Ignore | |
11822 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
11823 | if windows_initialization_done == 0. | |
11824 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
11825 | Adjust implementation to always load all DLLs. | |
11826 | (do_initial_windows_stuff): Replace call to | |
11827 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
11828 | ||
11829 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
11830 | ||
11831 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
11832 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
11833 | and "assf" aliases into commands, and deprecate them as well. | |
11834 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
11835 | aliases are now deprecated. | |
11836 | ||
11837 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> | |
11838 | ||
11839 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
11840 | new-line in debug string. Remove trailing spaces. | |
11841 | ||
11842 | 2014-02-19 Stan Shebs <stan@codesourcery.com> | |
11843 | ||
11844 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
11845 | ||
11846 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> | |
11847 | ||
11848 | * NEWS: Add entry for the new feature | |
11849 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
11850 | and class values. | |
11851 | ||
11852 | 2014-02-19 Stan Shebs <stan@codesourcery.com> | |
11853 | ||
11854 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
11855 | ||
11856 | 2014-02-19 Pedro Alves <palves@redhat.com> | |
11857 | ||
11858 | * common/ptid.h (struct ptid): Mention that process_stratum | |
11859 | targets should prefer ptid.lwp. | |
11860 | ||
11861 | 2014-02-19 Pedro Alves <palves@redhat.com> | |
11862 | ||
11863 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
11864 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
11865 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
11866 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
11867 | store remote thread ids rather than ptid.tid. | |
11868 | (_initialize_remote): Adjust. | |
11869 | ||
11870 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11871 | ||
11872 | * target.c (target_get_unwinder): Rewrite. | |
11873 | (target_get_tailcall_unwinder): Rewrite. | |
11874 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
11875 | (record_btrace_to_get_tailcall_unwinder): New function. | |
11876 | (init_record_btrace_ops): Update. | |
11877 | * target.h (struct target_ops) <to_get_unwinder, | |
11878 | to_get_tailcall_unwinder>: Now function pointers. Use | |
11879 | TARGET_DEFAULT_RETURN. | |
11880 | ||
11881 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11882 | ||
11883 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
11884 | argument. | |
11885 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
11886 | ||
11887 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11888 | ||
11889 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
11890 | directly. | |
11891 | * target-delegates.c: Rebuild. | |
11892 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
11893 | TARGET_DEFAULT_FUNC. | |
11894 | * target.c (default_target_decr_pc_after_break): Rename from | |
11895 | forward_target_decr_pc_after_break. Simplify. | |
11896 | (target_decr_pc_after_break): Rely on delegation. | |
11897 | ||
11898 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11899 | ||
11900 | * target.c (update_current_target): Do not INHERIT to_doc or | |
11901 | to_magic. Do not de_fault to_open or to_close. | |
11902 | ||
11903 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11904 | ||
11905 | * gcore.h (objfile_find_memory_regions): Declare. | |
11906 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
11907 | "self" argument. | |
11908 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
11909 | * exec.c: Include gcore.h. | |
11910 | (exec_set_find_memory_regions): Remove. | |
11911 | (exec_find_memory_regions): Remove. | |
11912 | (exec_do_find_memory_regions): Remove. | |
11913 | (init_exec_ops): Update. | |
11914 | * defs.h (exec_set_find_memory_regions): Remove. | |
11915 | ||
11916 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11917 | ||
11918 | * target-delegates.c: Rebuild. | |
11919 | * target.h (struct target_ops) <to_extra_thread_info, | |
11920 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
11921 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
11922 | not 0, in TARGET_DEFAULT_RETURN. | |
11923 | ||
11924 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11925 | ||
11926 | * target.c (complete_target_initialization): Remove casts. Use | |
11927 | return_zero_has_execution. | |
11928 | (return_zero): Add "ignore" argument. | |
11929 | (return_zero_has_execution): New function. | |
11930 | (init_dummy_target): Remove casts. Use | |
11931 | return_zero_has_execution. | |
11932 | ||
11933 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11934 | ||
11935 | * target.c (update_current_target): Update comments. Do not | |
11936 | INHERIT to_stratum. | |
11937 | ||
11938 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11939 | ||
11940 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
11941 | needed. | |
11942 | * corelow.c (core_read_description): Delegate when needed. | |
11943 | * remote.c (remote_read_description): Delegate when needed. | |
11944 | * target-delegates.c: Rebuild. | |
11945 | * target.c (target_read_description): Rewrite. | |
11946 | * target.h (struct target_ops) <to_read_description>: Update | |
11947 | comment. Use TARGET_DEFAULT_RETURN. | |
11948 | ||
11949 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11950 | ||
11951 | * target-delegates.c: Rebuild. | |
11952 | * target.c (update_current_target): Don't inherit or default | |
11953 | to_can_run. | |
11954 | (find_default_run_target): Check against delegate_can_run. | |
11955 | * target.h (struct target_ops) <to_can_run>: Use | |
11956 | TARGET_DEFAULT_RETURN. | |
11957 | ||
11958 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11959 | ||
11960 | * target-delegates.c: Rebuild. | |
11961 | * target.c (target_disconnect): Unconditionally delegate. | |
11962 | * target.h (struct target_ops) <to_disconnect>: Use | |
11963 | TARGET_DEFAULT_NORETURN. | |
11964 | ||
11965 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11966 | ||
11967 | * record.c (record_stop): Unconditionally delegate. | |
11968 | * target-delegates.c: Rebuild. | |
11969 | * target.c (target_stop_recording): Unconditionally delegate. | |
11970 | * target.h (struct target_ops) <to_stop_recording>: Use | |
11971 | TARGET_DEFAULT_IGNORE. | |
11972 | ||
11973 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11974 | ||
11975 | * target-delegates.c: Rebuild. | |
11976 | * target.c (target_enable_btrace): Unconditionally delegate. | |
11977 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
11978 | TARGET_DEFAULT_NORETURN. | |
11979 | ||
11980 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11981 | ||
11982 | * target-delegates.c: Rebuild. | |
11983 | * target.c (target_read_btrace): Unconditionally delegate. | |
11984 | * target.h (struct target_ops) <to_read_btrace>: Use | |
11985 | TARGET_DEFAULT_NORETURN. | |
11986 | ||
11987 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11988 | ||
11989 | * target-delegates.c: Rebuild. | |
11990 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
11991 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
11992 | TARGET_DEFAULT_NORETURN. | |
11993 | ||
11994 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
11995 | ||
11996 | * target-delegates.c: Rebuild. | |
11997 | * target.c (target_disable_btrace): Unconditionally delegate. | |
11998 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
11999 | TARGET_DEFAULT_NORETURN. | |
12000 | ||
12001 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12002 | ||
12003 | * target-delegates.c: Rebuild. | |
12004 | * target.c (default_search_memory): New function. | |
12005 | (simple_search_memory): Update comment. | |
12006 | (target_search_memory): Unconditionally delegate. | |
12007 | * target.h (struct target_ops) <to_search_memory>: Use | |
12008 | TARGET_DEFAULT_FUNC. | |
12009 | ||
12010 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12011 | ||
12012 | * auxv.c (default_auxv_parse): No longer static. | |
12013 | (target_auxv_parse): Unconditionally delegate. | |
12014 | * auxv.h (default_auxv_parse): Declare. | |
12015 | * target-delegates.c: Rebuild. | |
12016 | * target.c: Include auxv.h. | |
12017 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
12018 | TARGET_DEFAULT_FUNC. | |
12019 | ||
12020 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12021 | ||
12022 | * target-delegates.c: Rebuild. | |
12023 | * target.c (target_memory_map): Unconditionally delegate. | |
12024 | * target.h (struct target_ops) <to_memory_map>: Use | |
12025 | TARGET_DEFAULT_RETURN. | |
12026 | ||
12027 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12028 | ||
12029 | * target-delegates.c: Rebuild. | |
12030 | * target.c (target_thread_alive): Unconditionally delegate. | |
12031 | * target.h (struct target_ops) <to_thread_alive>: Use | |
12032 | TARGET_DEFAULT_RETURN. | |
12033 | ||
12034 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12035 | ||
12036 | * target-delegates.c: Rebuild. | |
12037 | * target.c (target_save_record): Unconditionally delegate. | |
12038 | * target.h (struct target_ops) <to_save_record>: Use | |
12039 | TARGET_DEFAULT_NORETURN. | |
12040 | ||
12041 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12042 | ||
12043 | * target-delegates.c: Rebuild. | |
12044 | * target.c (target_delete_record): Unconditionally delegate. | |
12045 | * target.h (struct target_ops) <to_delete_record>: Use | |
12046 | TARGET_DEFAULT_NORETURN. | |
12047 | ||
12048 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12049 | ||
12050 | * target-delegates.c: Rebuild. | |
12051 | * target.c (target_record_is_replaying): Unconditionally | |
12052 | delegate. | |
12053 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
12054 | TARGET_DEFAULT_RETURN. | |
12055 | ||
12056 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12057 | ||
12058 | * target-delegates.c: Rebuild. | |
12059 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
12060 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
12061 | TARGET_DEFAULT_NORETURN. | |
12062 | ||
12063 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12064 | ||
12065 | * target-delegates.c: Rebuild. | |
12066 | * target.c (target_goto_record_end): Unconditionally delegate. | |
12067 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
12068 | TARGET_DEFAULT_NORETURN. | |
12069 | ||
12070 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12071 | ||
12072 | * target-delegates.c: Rebuild. | |
12073 | * target.c (target_goto_record): Unconditionally delegate. | |
12074 | * target.h (struct target_ops) <to_goto_record>: Use | |
12075 | TARGET_DEFAULT_NORETURN. | |
12076 | ||
12077 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12078 | ||
12079 | * target-delegates.c: Rebuild. | |
12080 | * target.c (target_insn_history): Unconditionally delegate. | |
12081 | * target.h (struct target_ops) <to_insn_history>: Use | |
12082 | TARGET_DEFAULT_NORETURN. | |
12083 | ||
12084 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12085 | ||
12086 | * target-delegates.c: Rebuild. | |
12087 | * target.c (target_insn_history_from): Unconditionally delegate. | |
12088 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
12089 | TARGET_DEFAULT_NORETURN. | |
12090 | ||
12091 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12092 | ||
12093 | * target-delegates.c: Rebuild. | |
12094 | * target.c (target_insn_history_range): Unconditionally delegate. | |
12095 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
12096 | TARGET_DEFAULT_NORETURN. | |
12097 | ||
12098 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12099 | ||
12100 | * target-delegates.c: Rebuild. | |
12101 | * target.c (target_call_history): Unconditionally delegate. | |
12102 | * target.h (struct target_ops) <to_call_history>: Use | |
12103 | TARGET_DEFAULT_NORETURN. | |
12104 | ||
12105 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12106 | ||
12107 | * target-delegates.c: Rebuild. | |
12108 | * target.c (target_call_history_from): Unconditionally delegate. | |
12109 | * target.h (struct target_ops) <to_call_history_from>: Use | |
12110 | TARGET_DEFAULT_NORETURN. | |
12111 | ||
12112 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12113 | ||
12114 | * target-delegates.c: Rebuild. | |
12115 | * target.c (target_call_history_range): Unconditionally delegate. | |
12116 | * target.h (struct target_ops) <to_call_history_range>: Use | |
12117 | TARGET_DEFAULT_NORETURN. | |
12118 | ||
12119 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12120 | ||
12121 | * target-delegates.c: Rebuild. | |
12122 | * target.c (target_verify_memory): Unconditionally delegate. | |
12123 | * target.h (struct target_ops) <to_verify_memory>: Use | |
12124 | TARGET_DEFAULT_NORETURN. | |
12125 | ||
12126 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12127 | ||
12128 | * target-delegates.c: Rebuild. | |
12129 | * target.c (target_core_of_thread): Unconditionally delegate. | |
12130 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
12131 | TARGET_DEFAULT_RETURN. | |
12132 | ||
12133 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12134 | ||
12135 | * target-delegates.c: Rebuild. | |
12136 | * target.c (target_flash_done): Unconditionally delegate. | |
12137 | * target.h (struct target_ops) <to_flash_done>: Use | |
12138 | TARGET_DEFAULT_NORETURN. | |
12139 | ||
12140 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12141 | ||
12142 | * target-delegates.c: Rebuild. | |
12143 | * target.c (target_flash_erase): Unconditionally delegate. | |
12144 | * target.h (struct target_ops) <to_flash_erase>: Use | |
12145 | TARGET_DEFAULT_NORETURN. | |
12146 | ||
12147 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12148 | ||
12149 | * target-delegates.c: Rebuild. | |
12150 | * target.c (target_get_section_table): Unconditionally delegate. | |
12151 | * target.h (struct target_ops) <to_get_section_table>: Use | |
12152 | TARGET_DEFAULT_RETURN. | |
12153 | ||
12154 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12155 | ||
12156 | * target-delegates.c: Rebuild. | |
12157 | * target.c (target_pid_to_str): Unconditionally delegate. | |
12158 | (init_dummy_target): Don't initialize to_pid_to_str. | |
12159 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
12160 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
12161 | TARGET_DEFAULT_FUNC. | |
12162 | ||
12163 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12164 | ||
12165 | * target-delegates.c: Rebuild. | |
12166 | * target.c (target_find_new_threads): Unconditionally delegate. | |
12167 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
12168 | TARGET_DEFAULT_RETURN. | |
12169 | ||
12170 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12171 | ||
12172 | * target-delegates.c: Rebuild. | |
12173 | * target.c (target_program_signals): Unconditionally delegate. | |
12174 | * target.h (struct target_ops) <to_program_signals>: Use | |
12175 | TARGET_DEFAULT_IGNORE. | |
12176 | ||
12177 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12178 | ||
12179 | * target-delegates.c: Rebuild. | |
12180 | * target.c (target_pass_signals): Unconditionally delegate. | |
12181 | * target.h (struct target_ops) <to_pass_signals>: Use | |
12182 | TARGET_DEFAULT_IGNORE. | |
12183 | ||
12184 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12185 | ||
12186 | * target-delegates.c: Rebuild. | |
12187 | * target.c (default_mourn_inferior): New function. | |
12188 | (target_mourn_inferior): Unconditionally delegate. | |
12189 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
12190 | TARGET_DEFAULT_FUNC. | |
12191 | ||
12192 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12193 | ||
12194 | * target-delegates.c: Rebuild. | |
12195 | * target.c (default_follow_fork): New function. | |
12196 | (target_follow_fork): Unconditionally delegate. | |
12197 | * target.h (struct target_ops) <to_follow_fork>: Use | |
12198 | TARGET_DEFAULT_FUNC. | |
12199 | ||
12200 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12201 | ||
12202 | * target-delegates.c: Rebuild. | |
12203 | * target.c (target_kill): Unconditionally delegate. | |
12204 | * target.h (struct target_ops) <to_kill>: Use | |
12205 | TARGET_DEFAULT_NORETURN. | |
12206 | ||
12207 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12208 | ||
12209 | * target-delegates.c: Rebuild. | |
12210 | * target.c (target_masked_watch_num_registers): Unconditionally | |
12211 | delegate. | |
12212 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
12213 | Use TARGET_DEFAULT_RETURN. | |
12214 | ||
12215 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12216 | ||
12217 | * target-delegates.c: Rebuild. | |
12218 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
12219 | delegate. | |
12220 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
12221 | TARGET_DEFAULT_RETURN. | |
12222 | ||
12223 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12224 | ||
12225 | * target-delegates.c: Rebuild. | |
12226 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
12227 | delegate. | |
12228 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
12229 | TARGET_DEFAULT_RETURN. | |
12230 | ||
12231 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12232 | ||
12233 | * target-delegates.c: Rebuild. | |
12234 | * target.c (target_ranged_break_num_registers): Unconditionally | |
12235 | delegate. | |
12236 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
12237 | Use TARGET_DEFAULT_RETURN. | |
12238 | ||
12239 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12240 | ||
12241 | * target-delegates.c: Rebuild. | |
12242 | * target.c (target_fetch_registers): Unconditionally delegate. | |
12243 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
12244 | TARGET_DEFAULT_NORETURN. | |
12245 | ||
12246 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12247 | ||
12248 | * target-delegates.c: Rebuild. | |
12249 | * target.c (update_current_target): Don't inherit or default | |
12250 | to_stop. | |
12251 | * target.h (struct target_ops) <to_stop>: Use | |
12252 | TARGET_DEFAULT_IGNORE. | |
12253 | ||
12254 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12255 | ||
12256 | * target-delegates.c: Rebuild. | |
12257 | * target.c (update_current_target): Don't inherit or default | |
12258 | to_can_run_breakpoint_commands. | |
12259 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
12260 | Use TARGET_DEFAULT_RETURN. | |
12261 | ||
12262 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12263 | ||
12264 | * target-delegates.c: Rebuild. | |
12265 | * target.c (update_current_target): Don't inherit or default | |
12266 | to_supports_evaluation_of_breakpoint_conditions. | |
12267 | * target.h (struct target_ops) | |
12268 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
12269 | TARGET_DEFAULT_RETURN. | |
12270 | ||
12271 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12272 | ||
12273 | * target-delegates.c: Rebuild. | |
12274 | * target.c (update_current_target): Don't inherit or default | |
12275 | to_augmented_libraries_svr4_read. | |
12276 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
12277 | Use TARGET_DEFAULT_RETURN. | |
12278 | ||
12279 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12280 | ||
12281 | * target-delegates.c: Rebuild. | |
12282 | * target.c (update_current_target): Don't inherit or default | |
12283 | to_can_use_agent. | |
12284 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
12285 | TARGET_DEFAULT_RETURN. | |
12286 | ||
12287 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12288 | ||
12289 | * target-delegates.c: Rebuild. | |
12290 | * target.c (update_current_target): Don't inherit or default | |
12291 | to_use_agent. | |
12292 | * target.h (struct target_ops) <to_use_agent>: Use | |
12293 | TARGET_DEFAULT_NORETURN. | |
12294 | ||
12295 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12296 | ||
12297 | * target-delegates.c: Rebuild. | |
12298 | * target.c (update_current_target): Don't inherit or default | |
12299 | to_traceframe_info. | |
12300 | (return_null): Remove. | |
12301 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
12302 | TARGET_DEFAULT_RETURN. | |
12303 | ||
12304 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12305 | ||
12306 | * target-delegates.c: Rebuild. | |
12307 | * target.c (update_current_target): Don't inherit or default | |
12308 | to_static_tracepoint_markers_by_strid. | |
12309 | * target.h (struct target_ops) | |
12310 | <to_static_tracepoint_markers_by_strid>: Use | |
12311 | TARGET_DEFAULT_NORETURN. | |
12312 | ||
12313 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12314 | ||
12315 | * target-delegates.c: Rebuild. | |
12316 | * target.c (update_current_target): Don't inherit or default | |
12317 | to_static_tracepoint_marker_at. | |
12318 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
12319 | Use TARGET_DEFAULT_RETURN. | |
12320 | ||
12321 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12322 | ||
12323 | * target-delegates.c: Rebuild. | |
12324 | * target.c (update_current_target): Don't inherit or default | |
12325 | to_set_permissions. | |
12326 | * target.h (struct target_ops) <to_set_permissions>: Use | |
12327 | TARGET_DEFAULT_IGNORE. | |
12328 | ||
12329 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12330 | ||
12331 | * target-delegates.c: Rebuild. | |
12332 | * target.c (update_current_target): Don't inherit or default | |
12333 | to_get_tib_address. | |
12334 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
12335 | TARGET_DEFAULT_NORETURN. | |
12336 | ||
12337 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12338 | ||
12339 | * target-delegates.c: Rebuild. | |
12340 | * target.c (update_current_target): Don't inherit or default | |
12341 | to_set_trace_notes. | |
12342 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
12343 | TARGET_DEFAULT_RETURN. | |
12344 | ||
12345 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12346 | ||
12347 | * target-delegates.c: Rebuild. | |
12348 | * target.c (update_current_target): Don't initialize | |
12349 | to_set_trace_buffer_size. | |
12350 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
12351 | TARGET_DEFAULT_IGNORE. | |
12352 | ||
12353 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12354 | ||
12355 | * target-delegates.c: Rebuild. | |
12356 | * target.c (update_current_target): Don't inherit or default | |
12357 | to_set_circular_trace_buffer. | |
12358 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
12359 | TARGET_DEFAULT_IGNORE. | |
12360 | ||
12361 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12362 | ||
12363 | * target-delegates.c: Rebuild. | |
12364 | * target.c (update_current_target): Don't inherit or default | |
12365 | to_set_disconnected_tracing. | |
12366 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
12367 | TARGET_DEFAULT_IGNORE. | |
12368 | ||
12369 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12370 | ||
12371 | * target-delegates.c: Rebuild. | |
12372 | * target.c (update_current_target): Don't inherit or default | |
12373 | to_get_min_fast_tracepoint_insn_len. | |
12374 | (return_minus_one): Remove. | |
12375 | * target.h (struct target_ops) | |
12376 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
12377 | ||
12378 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12379 | ||
12380 | * target-delegates.c: Rebuild. | |
12381 | * target.c (update_current_target): Don't inherit or default | |
12382 | to_get_raw_trace_data. | |
12383 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
12384 | TARGET_DEFAULT_NORETURN. | |
12385 | ||
12386 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12387 | ||
12388 | * target-delegates.c: Rebuild. | |
12389 | * target.c (update_current_target): Don't inherit or default | |
12390 | to_upload_trace_state_variables. | |
12391 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12392 | Use TARGET_DEFAULT_RETURN. | |
12393 | ||
12394 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12395 | ||
12396 | * target-delegates.c: Rebuild. | |
12397 | * target.c (update_current_target): Don't inherit or default | |
12398 | to_upload_tracepoints. | |
12399 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
12400 | TARGET_DEFAULT_RETURN. | |
12401 | ||
12402 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12403 | ||
12404 | * target-delegates.c: Rebuild. | |
12405 | * target.c (update_current_target): Don't inherit or default | |
12406 | to_save_trace_data. | |
12407 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
12408 | TARGET_DEFAULT_NORETURN. | |
12409 | ||
12410 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12411 | ||
12412 | * target-delegates.c: Rebuild. | |
12413 | * target.c (update_current_target): Don't inherit or default | |
12414 | to_get_trace_state_variable_value. | |
12415 | * target.h (struct target_ops) | |
12416 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
12417 | ||
12418 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12419 | ||
12420 | * target-delegates.c: Rebuild. | |
12421 | * target.c (update_current_target): Don't inherit or default | |
12422 | to_trace_find. | |
12423 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
12424 | ||
12425 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12426 | ||
12427 | * target-delegates.c: Rebuild. | |
12428 | * target.c (update_current_target): Don't inherit or default | |
12429 | to_trace_stop. | |
12430 | * target.h (struct target_ops) <to_trace_stop>: Use | |
12431 | TARGET_DEFAULT_NORETURN. | |
12432 | ||
12433 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12434 | ||
12435 | * target-delegates.c: Rebuild. | |
12436 | * target.c (update_current_target): Don't inherit or default | |
12437 | to_get_tracepoint_status. | |
12438 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
12439 | TARGET_DEFAULT_NORETURN. | |
12440 | ||
12441 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12442 | ||
12443 | * target-delegates.c: Rebuild. | |
12444 | * target.c (update_current_target): Don't inherit or default | |
12445 | to_get_trace_status. | |
12446 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
12447 | TARGET_DEFAULT_RETURN. | |
12448 | ||
12449 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12450 | ||
12451 | * target-delegates.c: Rebuild. | |
12452 | * target.c (update_current_target): Don't inherit or default | |
12453 | to_trace_start. | |
12454 | * target.h (struct target_ops) <to_trace_start>: Use | |
12455 | TARGET_DEFAULT_NORETURN. | |
12456 | ||
12457 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12458 | ||
12459 | * target-delegates.c: Rebuild. | |
12460 | * target.c (update_current_target): Don't inherit or default | |
12461 | to_trace_set_readonly_regions. | |
12462 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12463 | Use TARGET_DEFAULT_NORETURN. | |
12464 | ||
12465 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12466 | ||
12467 | * target-delegates.c: Rebuild. | |
12468 | * target.c (update_current_target): Don't inherit or default | |
12469 | to_disable_tracepoint. | |
12470 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
12471 | TARGET_DEFAULT_NORETURN. | |
12472 | ||
12473 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12474 | ||
12475 | * target-delegates.c: Rebuild. | |
12476 | * target.c (update_current_target): Don't inherit or default | |
12477 | to_enable_tracepoint. | |
12478 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
12479 | TARGET_DEFAULT_NORETURN. | |
12480 | ||
12481 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12482 | ||
12483 | * target-delegates.c: Rebuild. | |
12484 | * target.c (update_current_target): Don't inherit or default | |
12485 | to_download_trace_state_variable. | |
12486 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12487 | Use TARGET_DEFAULT_NORETURN. | |
12488 | ||
12489 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12490 | ||
12491 | * target-delegates.c: Rebuild. | |
12492 | * target.c (update_current_target): Don't inherit or default | |
12493 | to_can_download_tracepoint. | |
12494 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
12495 | TARGET_DEFAULT_RETURN. | |
12496 | ||
12497 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12498 | ||
12499 | * target-delegates.c: Rebuild. | |
12500 | * target.c (update_current_target): Don't inherit or default | |
12501 | to_download_tracepoint. | |
12502 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
12503 | TARGET_DEFAULT_NORETURN. | |
12504 | ||
12505 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12506 | ||
12507 | * target-delegates.c: Rebuild. | |
12508 | * target.c (update_current_target): Don't inherit or default | |
12509 | to_trace_init. | |
12510 | * target.h (struct target_ops) <to_trace_init>: Use | |
12511 | TARGET_DEFAULT_RETURN. | |
12512 | ||
12513 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12514 | ||
12515 | * target-delegates.c: Rebuild. | |
12516 | * target.c (update_current_target): Don't inherit or default | |
12517 | to_supports_string_tracing. | |
12518 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
12519 | TARGET_DEFAULT_RETURN. | |
12520 | ||
12521 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12522 | ||
12523 | * target-delegates.c: Rebuild. | |
12524 | * target.c (update_current_target): Don't inherit or default | |
12525 | to_supports_enable_disable_tracepoint. | |
12526 | * target.h (struct target_ops) | |
12527 | <to_supports_enable_disable_tracepoint>: Use | |
12528 | TARGET_DEFAULT_RETURN. | |
12529 | ||
12530 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12531 | ||
12532 | * target-delegates.c: Rebuild. | |
12533 | * target.c (update_current_target): Don't inherit or default | |
12534 | to_supports_multi_process. | |
12535 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
12536 | TARGET_DEFAULT_RETURN. | |
12537 | ||
12538 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12539 | ||
12540 | * target-delegates.c: Rebuild. | |
12541 | * target.c (update_current_target): Don't inherit or default | |
12542 | to_get_ada_task_ptid. | |
12543 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
12544 | TARGET_DEFAULT_FUNC. | |
12545 | ||
12546 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12547 | ||
12548 | * target-delegates.c: Rebuild. | |
12549 | * target.c (update_current_target): Don't inherit or default | |
12550 | to_thread_architecture. | |
12551 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
12552 | TARGET_DEFAULT_FUNC. | |
12553 | ||
12554 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12555 | ||
12556 | * target-delegates.c: Rebuild. | |
12557 | * target.c (update_current_target): Don't inherit or default | |
12558 | to_execution_direction. | |
12559 | * target.h (struct target_ops) <to_execution_direction>: Use | |
12560 | TARGET_DEFAULT_FUNC. | |
12561 | ||
12562 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12563 | ||
12564 | * target-delegates.c: Rebuild. | |
12565 | * target.c (update_current_target): Don't inherit or default | |
12566 | to_can_execute_reverse. | |
12567 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
12568 | TARGET_DEFAULT_RETURN. | |
12569 | (target_can_execute_reverse): Unconditionally delegate. | |
12570 | ||
12571 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12572 | ||
12573 | * target-delegates.c: Rebuild. | |
12574 | * target.c (update_current_target): Don't inherit or default | |
12575 | to_goto_bookmark. | |
12576 | (dummy_goto_bookmark): Remove. | |
12577 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
12578 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
12579 | TARGET_DEFAULT_NORETURN. | |
12580 | ||
12581 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12582 | ||
12583 | * target-delegates.c: Rebuild. | |
12584 | * target.c (update_current_target): Don't inherit or default | |
12585 | to_get_bookmark. | |
12586 | (dummy_get_bookmark): Remove. | |
12587 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
12588 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
12589 | TARGET_DEFAULT_NORETURN | |
12590 | ||
12591 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12592 | ||
12593 | * target-delegates.c: Rebuild. | |
12594 | * target.c (update_current_target): Don't inherit or default | |
12595 | to_make_corefile_notes. | |
12596 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
12597 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
12598 | TARGET_DEFAULT_FUNC. | |
12599 | ||
12600 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12601 | ||
12602 | * target-delegates.c: Rebuild. | |
12603 | * target.c (update_current_target): Don't inherit or default | |
12604 | to_find_memory_regions. | |
12605 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
12606 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
12607 | TARGET_DEFAULT_FUNC. | |
12608 | ||
12609 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12610 | ||
12611 | * target-delegates.c: Rebuild. | |
12612 | * target.c (update_current_target): Don't inherit or default | |
12613 | to_log_command. | |
12614 | * target.h (struct target_ops) <to_log_command>: Use | |
12615 | TARGET_DEFAULT_IGNORE. | |
12616 | (target_log_command): Unconditionally delegate. | |
12617 | ||
12618 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12619 | ||
12620 | * target-delegates.c: Rebuild. | |
12621 | * target.c (update_current_target): Don't inherit or default | |
12622 | to_pid_to_exec_file. | |
12623 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
12624 | TARGET_DEFAULT_RETURN. | |
12625 | ||
12626 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12627 | ||
12628 | * target-delegates.c: Rebuild. | |
12629 | * target.c (update_current_target): Don't inherit or default | |
12630 | to_thread_name. | |
12631 | (target_thread_name): Unconditionally delegate. | |
12632 | * target.h (struct target_ops) <to_thread_name>: Use | |
12633 | TARGET_DEFAULT_RETURN. | |
12634 | ||
12635 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12636 | ||
12637 | * target-delegates.c: Rebuild. | |
12638 | * target.c (update_current_target): Don't inherit or default | |
12639 | to_extra_thread_info. | |
12640 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
12641 | TARGET_DEFAULT_RETURN. | |
12642 | ||
12643 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12644 | ||
12645 | * target-delegates.c: Rebuild. | |
12646 | * target.c (update_current_target): Don't inherit or default | |
12647 | to_has_exited. | |
12648 | * target.h (struct target_ops) <to_has_exited>: Use | |
12649 | TARGET_DEFAULT_RETURN.. | |
12650 | ||
12651 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12652 | ||
12653 | * target-delegates.c: Rebuild. | |
12654 | * target.c (update_current_target): Don't inherit or default | |
12655 | to_set_syscall_catchpoint. | |
12656 | (return_one): Remove. | |
12657 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
12658 | TARGET_DEFAULT_RETURN. | |
12659 | ||
12660 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12661 | ||
12662 | * target-delegates.c: Rebuild. | |
12663 | * target.c (update_current_target): Don't inherit or default | |
12664 | to_insert_exec_catchpoint. | |
12665 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
12666 | TARGET_DEFAULT_RETURN. | |
12667 | ||
12668 | 2014-01-08 Tom Tromey <tromey@redhat.com> | |
12669 | ||
12670 | * target-delegates.c: Rebuild. | |
12671 | * target.c (update_current_target): Don't inherit or default | |
12672 | to_insert_exec_catchpoint. | |
12673 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
12674 | TARGET_DEFAULT_RETURN. | |
12675 | ||
12676 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12677 | ||
12678 | * target-delegates.c: Rebuild. | |
12679 | * target.c (update_current_target): Don't inherit or default | |
12680 | to_remove_vfork_catchpoint. | |
12681 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
12682 | TARGET_DEFAULT_RETURN. | |
12683 | ||
12684 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12685 | ||
12686 | * target-delegates.c: Rebuild. | |
12687 | * target.c (update_current_target): Don't inherit or default | |
12688 | to_insert_vfork_catchpoint. | |
12689 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
12690 | TARGET_DEFAULT_RETURN. | |
12691 | ||
12692 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12693 | ||
12694 | * target-delegates.c: Rebuild. | |
12695 | * target.c (update_current_target): Don't inherit or default | |
12696 | to_remove_fork_catchpoint. | |
12697 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
12698 | TARGET_DEFAULT_RETURN. | |
12699 | ||
12700 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12701 | ||
12702 | * target-delegates.c: Rebuild. | |
12703 | * target.c (update_current_target): Don't inherit or default | |
12704 | to_insert_fork_catchpoint. | |
12705 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
12706 | TARGET_DEFAULT_RETURN. | |
12707 | ||
12708 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12709 | ||
12710 | * target-delegates.c: Rebuild. | |
12711 | * target.c (update_current_target): Don't inherit or default | |
12712 | to_post_startup_inferior. | |
12713 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
12714 | TARGET_DEFAULT_IGNORE. | |
12715 | ||
12716 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12717 | ||
12718 | * target-delegates.c: Rebuild. | |
12719 | * target.c (update_current_target): Don't inherit or default | |
12720 | to_load. | |
12721 | * target.h (struct target_ops) <to_load>: Use | |
12722 | TARGET_DEFAULT_NORETURN. | |
12723 | ||
12724 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12725 | ||
12726 | * target-delegates.c: Rebuild. | |
12727 | * target.c (update_current_target): Don't inherit or default | |
12728 | to_terminal_info. | |
12729 | * target.h (struct target_ops) <to_terminal_info>: Use | |
12730 | TARGET_DEFAULT_FUNC. | |
12731 | ||
12732 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12733 | ||
12734 | * target-delegates.c: Rebuild. | |
12735 | * target.c (update_current_target): Don't inherit or default | |
12736 | to_terminal_save_ours. | |
12737 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
12738 | TARGET_DEFAULT_IGNORE. | |
12739 | ||
12740 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12741 | ||
12742 | * target-delegates.c: Rebuild. | |
12743 | * target.c (update_current_target): Don't inherit or default | |
12744 | to_terminal_ours. | |
12745 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
12746 | TARGET_DEFAULT_IGNORE. | |
12747 | ||
12748 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12749 | ||
12750 | * target-delegates.c: Rebuild. | |
12751 | * target.c (update_current_target): Don't inherit or default | |
12752 | to_terminal_ours_for_output. | |
12753 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
12754 | TARGET_DEFAULT_IGNORE. | |
12755 | ||
12756 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12757 | ||
12758 | * target-delegates.c: Rebuild. | |
12759 | * target.c (update_current_target): Don't inherit or default | |
12760 | to_terminal_inferior. | |
12761 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
12762 | TARGET_DEFAULT_IGNORE. | |
12763 | ||
12764 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12765 | ||
12766 | * target-delegates.c: Rebuild. | |
12767 | * target.c (update_current_target): Don't inherit or default | |
12768 | to_terminal_init. | |
12769 | * target.h (struct target_ops) <to_terminal_init>: Use | |
12770 | TARGET_DEFAULT_IGNORE. | |
12771 | ||
12772 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12773 | ||
12774 | * target-delegates.c: Rebuild. | |
12775 | * target.c (update_current_target): Don't inherit or default | |
12776 | to_can_accel_watchpoint_condition. | |
12777 | * target.h (struct target_ops) | |
12778 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
12779 | ||
12780 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12781 | ||
12782 | * target-delegates.c: Rebuild. | |
12783 | * target.c (update_current_target): Don't inherit or default | |
12784 | to_region_ok_for_hw_watchpoint. | |
12785 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
12786 | Use TARGET_DEFAULT_FUNC. | |
12787 | ||
12788 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12789 | ||
12790 | * target-delegates.c: Rebuild. | |
12791 | * target.c (update_current_target): Don't inherit or default | |
12792 | to_watchpoint_addr_within_range. | |
12793 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
12794 | Use TARGET_DEFAULT_FUNC. | |
12795 | ||
12796 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12797 | ||
12798 | * target-delegates.c: Rebuild. | |
12799 | * target.c (update_current_target): Don't inherit or default | |
12800 | to_remove_watchpoint. | |
12801 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
12802 | TARGET_DEFAULT_NORETURN. | |
12803 | ||
12804 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12805 | ||
12806 | * target-delegates.c: Rebuild. | |
12807 | * target.c (update_current_target): Don't inherit or default | |
12808 | to_insert_watchpoint. | |
12809 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
12810 | TARGET_DEFAULT_RETURN. | |
12811 | ||
12812 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12813 | ||
12814 | * target-delegates.c: Rebuild. | |
12815 | * target.c (update_current_target): Don't inherit or default | |
12816 | to_remove_hw_breakpoint. | |
12817 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
12818 | TARGET_DEFAULT_RETURN. | |
12819 | ||
12820 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12821 | ||
12822 | * target-delegates.c: Rebuild. | |
12823 | * target.c (update_current_target): Don't inherit or default | |
12824 | to_insert_hw_breakpoint. | |
12825 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
12826 | TARGET_DEFAULT_RETURN. | |
12827 | ||
12828 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12829 | ||
12830 | * target-delegates.c: Rebuild. | |
12831 | * target.c (update_current_target): Don't inherit or default | |
12832 | to_can_use_hw_breakpoint. | |
12833 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
12834 | TARGET_DEFAULT_RETURN. | |
12835 | ||
12836 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12837 | ||
12838 | * target-delegates.c: Rebuild. | |
12839 | * target.c (update_current_target): Don't inherit or default | |
12840 | to_files_info. | |
12841 | * target.h (struct target_ops) <to_files_info>: Use | |
12842 | TARGET_DEFAULT_IGNORE. | |
12843 | ||
12844 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12845 | ||
12846 | * target-delegates.c: Rebuild. | |
12847 | * target.c (update_current_target): Don't inherit or default | |
12848 | to_store. | |
12849 | * target.h (struct target_ops) <to_store>: Use | |
12850 | TARGET_DEFAULT_NORETURN. | |
12851 | ||
12852 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12853 | ||
12854 | * target-delegates.c: Rebuild. | |
12855 | * target.c (update_current_target): Don't inherit or default | |
12856 | to_post_attach. | |
12857 | * target.h (struct target_ops) <to_post_attach>: Use | |
12858 | TARGET_DEFAULT_IGNORE. | |
12859 | ||
12860 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12861 | ||
12862 | * target-delegates.c: Rebuild. | |
12863 | * target.c (update_current_target): Don't inherit or default | |
12864 | to_rcmd. | |
12865 | (default_rcmd): New function. | |
12866 | (do_monitor_command): Unconditionally delegate. | |
12867 | * target.h (struct target_ops) <to_rmcd>: Use | |
12868 | TARGET_DEFAULT_FUNC. | |
12869 | ||
12870 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12871 | ||
12872 | * target-delegates.c: Rebuild. | |
12873 | * target.c (init_dummy_target): Don't initialize to_attach. | |
12874 | (target_attach): Unconditionally delegate. | |
12875 | * target.h (struct target_ops) <to_attach>: Use | |
12876 | TARGET_DEFAULT_FUNC. | |
12877 | ||
12878 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12879 | ||
12880 | * target-delegates.c: Rebuild. | |
12881 | * target.c (target_detach): Unconditionally delegate. | |
12882 | (init_dummy_target): Don't initialize to_detach. | |
12883 | * target.h (struct target_ops) <to_detach>: Use | |
12884 | TARGET_DEFAULT_IGNORE. | |
12885 | ||
12886 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12887 | ||
12888 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
12889 | Add argument. | |
12890 | (target_augmented_libraries_svr4_read): Add argument. | |
12891 | * target.c (update_current_target): Update. | |
12892 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
12893 | argument. | |
12894 | ||
12895 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12896 | ||
12897 | * target.h (struct target_ops) <to_call_history_range>: Add | |
12898 | argument. | |
12899 | * target.c (target_call_history_range): Add argument. | |
12900 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
12901 | argument. | |
12902 | (record_btrace_call_history_from): Update. | |
12903 | ||
12904 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12905 | ||
12906 | * target.h (struct target_ops) <to_call_history_from>: Add | |
12907 | argument. | |
12908 | * target.c (target_call_history_from): Add argument. | |
12909 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
12910 | argument. | |
12911 | ||
12912 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12913 | ||
12914 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
12915 | * target.c (target_call_history): Add argument. | |
12916 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
12917 | argument. | |
12918 | ||
12919 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12920 | ||
12921 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
12922 | argument. | |
12923 | * target.c (target_insn_history_range): Add argument. | |
12924 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
12925 | argument. | |
12926 | (record_btrace_insn_history_from): Update. | |
12927 | ||
12928 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12929 | ||
12930 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
12931 | argument. | |
12932 | * target.c (target_insn_history_from): Add argument. | |
12933 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
12934 | argument. | |
12935 | ||
12936 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12937 | ||
12938 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
12939 | * target.c (target_insn_history): Add argument. | |
12940 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
12941 | argument. | |
12942 | ||
12943 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12944 | ||
12945 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
12946 | * target.c (target_goto_record): Add argument. | |
12947 | * record-full.c (record_full_goto): Add 'self' argument. | |
12948 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
12949 | ||
12950 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12951 | ||
12952 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
12953 | * target.c (target_goto_record_end): Add argument. | |
12954 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
12955 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
12956 | ||
12957 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12958 | ||
12959 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
12960 | argument. | |
12961 | * target.c (target_goto_record_begin): Add argument. | |
12962 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
12963 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
12964 | argument. | |
12965 | ||
12966 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12967 | ||
12968 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
12969 | argument. | |
12970 | * target.c (target_record_is_replaying): Add argument. | |
12971 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
12972 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
12973 | argument. | |
12974 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
12975 | (record_btrace_prepare_to_store, record_btrace_resume) | |
12976 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
12977 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
12978 | Update. | |
12979 | ||
12980 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12981 | ||
12982 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
12983 | * target.c (target_delete_record): Add argument. | |
12984 | * record-full.c (record_full_delete): Add 'self' argument. | |
12985 | ||
12986 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12987 | ||
12988 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
12989 | * target.c (target_save_record): Add argument. | |
12990 | * record-full.c (record_full_save): Add 'self' argument. | |
12991 | (record_full_save): Add 'self' argument. | |
12992 | ||
12993 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
12994 | ||
12995 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
12996 | * target.c (target_info_record): Add argument. | |
12997 | * record.c (info_record_command): Add argument. | |
12998 | * record-full.c (record_full_info): Add 'self' argument. | |
12999 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
13000 | ||
13001 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13002 | ||
13003 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
13004 | * target.c (target_stop_recording): Add argument. | |
13005 | * record.c (record_stop): Add argument. | |
13006 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
13007 | argument. | |
13008 | ||
13009 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13010 | ||
13011 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
13012 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
13013 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
13014 | argument. | |
13015 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
13016 | (_initialize_amd64_linux_nat): Use it. | |
13017 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
13018 | (_initialize_i386_linux_nat): Use it. | |
13019 | ||
13020 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13021 | ||
13022 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
13023 | * target.c (target_teardown_btrace): Add argument. | |
13024 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
13025 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
13026 | argument. | |
13027 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
13028 | argument. | |
13029 | ||
13030 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13031 | ||
13032 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
13033 | * target.c (target_disable_btrace): Add argument. | |
13034 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
13035 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
13036 | argument. | |
13037 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
13038 | argument. | |
13039 | ||
13040 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13041 | ||
13042 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
13043 | * target.c (target_enable_btrace): Add argument. | |
13044 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
13045 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
13046 | argument. | |
13047 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
13048 | argument. | |
13049 | ||
13050 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13051 | ||
13052 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
13053 | (target_can_use_agent): Add argument. | |
13054 | * target.c (update_current_target): Update. | |
13055 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
13056 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
13057 | ||
13058 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13059 | ||
13060 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
13061 | (target_use_agent): Add argument. | |
13062 | * target.c (update_current_target): Update. | |
13063 | * remote.c (remote_use_agent): Add 'self' argument. | |
13064 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
13065 | ||
13066 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13067 | ||
13068 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
13069 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
13070 | (target_traceframe_info): Add argument. | |
13071 | * target.c (update_current_target): Update. | |
13072 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
13073 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
13074 | ||
13075 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13076 | ||
13077 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
13078 | argument. | |
13079 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
13080 | 'self' argument. | |
13081 | * target.c (update_current_target): Update. | |
13082 | * remote.c (struct target_ops) | |
13083 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
13084 | * linux-nat.c (struct target_ops) | |
13085 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
13086 | ||
13087 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13088 | ||
13089 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
13090 | Add argument. | |
13091 | (target_static_tracepoint_marker_at): Add argument. | |
13092 | * target.c (update_current_target): Update. | |
13093 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
13094 | argument. | |
13095 | ||
13096 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13097 | ||
13098 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
13099 | (target_set_permissions): Add argument. | |
13100 | * target.c (update_current_target): Update. | |
13101 | * remote.c (remote_set_permissions): Add 'self' argument. | |
13102 | (remote_start_remote): Update. | |
13103 | ||
13104 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13105 | ||
13106 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
13107 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
13108 | (target_get_tib_address): Add argument. | |
13109 | * target.c (update_current_target): Update. | |
13110 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
13111 | ||
13112 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13113 | ||
13114 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
13115 | (target_set_trace_notes): Add argument. | |
13116 | * target.c (update_current_target): Update. | |
13117 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
13118 | ||
13119 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13120 | ||
13121 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
13122 | argument. | |
13123 | (target_set_trace_buffer_size): Add argument. | |
13124 | * target.c (update_current_target): Update. | |
13125 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
13126 | ||
13127 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13128 | ||
13129 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
13130 | argument. | |
13131 | (target_set_circular_trace_buffer): Add argument. | |
13132 | * target.c (update_current_target): Update. | |
13133 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
13134 | argument. | |
13135 | ||
13136 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13137 | ||
13138 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
13139 | argument. | |
13140 | (target_set_disconnected_tracing): Add argument. | |
13141 | * target.c (update_current_target): Update. | |
13142 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
13143 | ||
13144 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13145 | ||
13146 | * target.h (struct target_ops) | |
13147 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
13148 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
13149 | * target.c (update_current_target): Update. | |
13150 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
13151 | argument. | |
13152 | ||
13153 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13154 | ||
13155 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
13156 | argument. | |
13157 | (target_get_raw_trace_data): Add argument. | |
13158 | * target.c (update_current_target): Update. | |
13159 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
13160 | ||
13161 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13162 | ||
13163 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
13164 | Add argument. | |
13165 | (target_upload_trace_state_variables): Add argument. | |
13166 | * target.c (update_current_target): Update. | |
13167 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
13168 | argument. | |
13169 | (remote_start_remote): Update. | |
13170 | ||
13171 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13172 | ||
13173 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
13174 | argument. | |
13175 | (target_upload_tracepoints): Add argument. | |
13176 | * target.c (update_current_target): Update. | |
13177 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
13178 | (remote_start_remote): Update. | |
13179 | ||
13180 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13181 | ||
13182 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
13183 | (target_save_trace_data): Add argument. | |
13184 | * target.c (update_current_target): Update. | |
13185 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
13186 | ||
13187 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13188 | ||
13189 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
13190 | argument. | |
13191 | * target.h (struct target_ops) | |
13192 | <to_get_trace_state_variable_value>: Add argument. | |
13193 | (target_get_trace_state_variable_value): Add argument. | |
13194 | * target.c (update_current_target): Update. | |
13195 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
13196 | argument. | |
13197 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
13198 | ||
13199 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13200 | ||
13201 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
13202 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
13203 | (target_trace_find): Add argument. | |
13204 | * target.c (update_current_target): Update. | |
13205 | * remote.c (remote_trace_find): Add 'self' argument. | |
13206 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
13207 | ||
13208 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13209 | ||
13210 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
13211 | (target_trace_stop): Add argument. | |
13212 | * target.c (update_current_target): Update. | |
13213 | * remote.c (remote_trace_stop): Add 'self' argument. | |
13214 | ||
13215 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13216 | ||
13217 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
13218 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
13219 | argument. | |
13220 | (target_get_tracepoint_status): Add argument. | |
13221 | * target.c (update_current_target): Update. | |
13222 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
13223 | ||
13224 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13225 | ||
13226 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
13227 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
13228 | argument. | |
13229 | (target_get_trace_status): Add argument. | |
13230 | * target.c (update_current_target): Update. | |
13231 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
13232 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
13233 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
13234 | ||
13235 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13236 | ||
13237 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
13238 | (target_trace_start): Add argument. | |
13239 | * target.c (update_current_target): Update. | |
13240 | * remote.c (remote_trace_start): Add 'self' argument. | |
13241 | ||
13242 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13243 | ||
13244 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
13245 | Add argument. | |
13246 | (target_trace_set_readonly_regions): Add argument. | |
13247 | * target.c (update_current_target): Update. | |
13248 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
13249 | argument. | |
13250 | ||
13251 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13252 | ||
13253 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
13254 | argument. | |
13255 | (target_disable_tracepoint): Add argument. | |
13256 | * target.c (update_current_target): Update. | |
13257 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
13258 | ||
13259 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13260 | ||
13261 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
13262 | argument. | |
13263 | (target_enable_tracepoint): Add argument. | |
13264 | * target.c (update_current_target): Update. | |
13265 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
13266 | ||
13267 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13268 | ||
13269 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
13270 | Add argument. | |
13271 | (target_download_trace_state_variable): Add argument. | |
13272 | * target.c (update_current_target): Update. | |
13273 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
13274 | argument. | |
13275 | ||
13276 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13277 | ||
13278 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
13279 | argument. | |
13280 | (target_can_download_tracepoint): Add argument. | |
13281 | * target.c (update_current_target): Update. | |
13282 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
13283 | ||
13284 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13285 | ||
13286 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
13287 | argument. | |
13288 | (target_download_tracepoint): Add argument. | |
13289 | * target.c (update_current_target): Update. | |
13290 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
13291 | ||
13292 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13293 | ||
13294 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
13295 | (target_trace_init): Add argument. | |
13296 | * target.c (update_current_target): Update. | |
13297 | * remote.c (remote_trace_init): Add 'self' argument. | |
13298 | ||
13299 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13300 | ||
13301 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
13302 | * target.c (target_fileio_readlink): Add argument. | |
13303 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
13304 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
13305 | ||
13306 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13307 | ||
13308 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
13309 | * target.c (target_fileio_unlink): Add argument. | |
13310 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
13311 | (remote_file_delete): Update. | |
13312 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
13313 | ||
13314 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13315 | ||
13316 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
13317 | * target.c (target_fileio_close): Add argument. | |
13318 | * remote.c (remote_hostio_close): Add 'self' argument. | |
13319 | (remote_hostio_close_cleanup): Update. | |
13320 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
13321 | Update. | |
13322 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
13323 | ||
13324 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13325 | ||
13326 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
13327 | * target.c (target_fileio_pread): Add argument. | |
13328 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
13329 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
13330 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
13331 | ||
13332 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13333 | ||
13334 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
13335 | * target.c (target_fileio_pwrite): Add argument. | |
13336 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
13337 | (remote_file_put): Update. | |
13338 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
13339 | ||
13340 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13341 | ||
13342 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
13343 | * target.c (target_fileio_open): Add argument. | |
13344 | * remote.c (remote_hostio_open): Add 'self' argument. | |
13345 | (remote_bfd_iovec_open): Add 'self' argument. | |
13346 | (remote_file_put): Add 'self' argument. | |
13347 | (remote_file_get): Add 'self' argument. | |
13348 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
13349 | ||
13350 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13351 | ||
13352 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
13353 | Add argument. | |
13354 | (target_can_run_breakpoint_commands): Add argument. | |
13355 | * target.c (update_current_target): Update. | |
13356 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
13357 | argument. | |
13358 | (remote_insert_breakpoint): Add 'self' argument. | |
13359 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
13360 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
13361 | ||
13362 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13363 | ||
13364 | * target.h (struct target_ops) | |
13365 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
13366 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
13367 | argument. | |
13368 | * target.c (update_current_target): Update. | |
13369 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
13370 | argument. | |
13371 | (remote_insert_breakpoint): Add 'self' argument. | |
13372 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
13373 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
13374 | ||
13375 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13376 | ||
13377 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
13378 | argument. | |
13379 | (target_supports_string_tracing): Add argument. | |
13380 | * target.c (update_current_target): Update. | |
13381 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
13382 | ||
13383 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13384 | ||
13385 | * target.h (struct target_ops) | |
13386 | <to_supports_disable_randomization>: Add argument. | |
13387 | * target.c (find_default_supports_disable_randomization): Add | |
13388 | argument. | |
13389 | (target_supports_disable_randomization): Add argument. | |
13390 | (find_default_supports_disable_randomization): Add 'self' | |
13391 | argument. | |
13392 | * remote.c (extended_remote_supports_disable_randomization): Add | |
13393 | 'self' argument. | |
13394 | (remote_supports_disable_randomization): Add 'self' argument. | |
13395 | (extended_remote_create_inferior): Update. | |
13396 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
13397 | 'self' argument. | |
13398 | ||
13399 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13400 | ||
13401 | * target.h (struct target_ops) | |
13402 | <to_supports_enable_disable_tracepoint>: Add argument. | |
13403 | (target_supports_enable_disable_tracepoint): Add argument. | |
13404 | * target.c (update_current_target): Update. | |
13405 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
13406 | argument. | |
13407 | ||
13408 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13409 | ||
13410 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
13411 | argument. | |
13412 | (target_supports_multi_process): Add argument. | |
13413 | * target.c (update_current_target): Update. | |
13414 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
13415 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
13416 | argument. | |
13417 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
13418 | argument. | |
13419 | ||
13420 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13421 | ||
13422 | * target.h (struct target_ops) <to_execution_direction>: Add | |
13423 | argument. | |
13424 | (target_execution_direction): Add argument. | |
13425 | * target.c (default_execution_direction): Add 'self' argument. | |
13426 | * record-full.c (record_full_execution_direction): Add 'self' | |
13427 | argument. | |
13428 | ||
13429 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13430 | ||
13431 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
13432 | argument. | |
13433 | (target_can_execute_reverse): Add argument. | |
13434 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
13435 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
13436 | argument. | |
13437 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
13438 | argument. | |
13439 | ||
13440 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13441 | ||
13442 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
13443 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
13444 | argument. | |
13445 | (target_get_ada_task_ptid): Add argument. | |
13446 | * target.c (update_current_target): Update. | |
13447 | (default_get_ada_task_ptid): Add 'self' argument. | |
13448 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
13449 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
13450 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
13451 | argument. | |
13452 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
13453 | argument. | |
13454 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
13455 | argument. | |
13456 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
13457 | argument. | |
13458 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
13459 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
13460 | argument. | |
13461 | ||
13462 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13463 | ||
13464 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
13465 | (target_goto_bookmark): Add argument. | |
13466 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
13467 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
13468 | ||
13469 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13470 | ||
13471 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
13472 | (target_get_bookmark): Add argument. | |
13473 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
13474 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
13475 | ||
13476 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13477 | ||
13478 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
13479 | argument. | |
13480 | (target_make_corefile_notes): Add argument. | |
13481 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
13482 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
13483 | (procfs_make_note_section): Add 'self' argument. | |
13484 | (procfs_make_note_section): Add 'self' argument. | |
13485 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
13486 | argument. | |
13487 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
13488 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
13489 | * exec.c (exec_make_note_section): Add 'self' argument. | |
13490 | (exec_make_note_section): Add 'self' argument. | |
13491 | ||
13492 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13493 | ||
13494 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
13495 | argument. | |
13496 | (target_find_memory_regions): Add argument. | |
13497 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
13498 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
13499 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
13500 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
13501 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
13502 | * exec. (exec_do_find_memory_regions): New global. | |
13503 | (exec_set_find_memory_regions): Rewrite. | |
13504 | (exec_find_memory_regions): New function. | |
13505 | (init_exec_ops): Use exec_find_memory_regions. | |
13506 | ||
13507 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13508 | ||
13509 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
13510 | argument. | |
13511 | * target.c (find_default_supports_non_stop): Add argument. | |
13512 | (target_supports_non_stop): Add argument. | |
13513 | (find_default_supports_non_stop): Add 'self' argument. | |
13514 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
13515 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
13516 | ||
13517 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13518 | ||
13519 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
13520 | (target_log_command): Add argument. | |
13521 | * serial.h (serial_log_command): Add 'self' argument. | |
13522 | * serial.c (serial_log_command): Add 'self' argument. | |
13523 | ||
13524 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13525 | ||
13526 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
13527 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
13528 | argument. | |
13529 | (target_pid_to_exec_file): Add argument. | |
13530 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
13531 | (update_current_target): Update. | |
13532 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
13533 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
13534 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
13535 | (linux_handle_extended_wait): Update. | |
13536 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
13537 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
13538 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
13539 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
13540 | ||
13541 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13542 | ||
13543 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
13544 | (target_rcmd): Add argument. | |
13545 | * target.c (debug_to_rcmd): Add argument. | |
13546 | (update_current_target, do_monitor_command): Update. | |
13547 | * remote.c (remote_rcmd): Add 'self' argument. | |
13548 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
13549 | ||
13550 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13551 | ||
13552 | * windows-nat.c (windows_stop): Add 'self' argument. | |
13553 | * target.h (struct target_ops) <to_stop>: Add argument. | |
13554 | * target.c (target_stop): Add argument. | |
13555 | (debug_to_stop): Add argument. | |
13556 | (update_current_target): Update. | |
13557 | * remote.c (remote_stop): Add 'self' argument. | |
13558 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
13559 | (gdbsim_cntrl_c): Update. | |
13560 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
13561 | * procfs.c (procfs_stop): Add 'self' argument. | |
13562 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
13563 | * monitor.c (monitor_stop): Add 'self' argument. | |
13564 | (monitor_open): Update. | |
13565 | * linux-nat.c (linux_nat_stop): Add argument. | |
13566 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
13567 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
13568 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
13569 | ||
13570 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13571 | ||
13572 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
13573 | * target.c (target_thread_name): Add argument. | |
13574 | (update_current_target): Update. | |
13575 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
13576 | ||
13577 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13578 | ||
13579 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
13580 | argument. | |
13581 | (target_extra_thread_info): Add argument. | |
13582 | * target.c (update_current_target): Update. | |
13583 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
13584 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
13585 | argument. | |
13586 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
13587 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
13588 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
13589 | argument. | |
13590 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
13591 | argument. | |
13592 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
13593 | argument. | |
13594 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
13595 | argument. | |
13596 | ||
13597 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13598 | ||
13599 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
13600 | * target.c (target_program_signals): Add argument. | |
13601 | * remote.c (remote_program_signals): Add 'self' argument. | |
13602 | ||
13603 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13604 | ||
13605 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
13606 | * target.c (target_pass_signals): Add argument. | |
13607 | * remote.c (remote_pass_signals): Add 'self' argument. | |
13608 | (remote_start_remote): Update. | |
13609 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
13610 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
13611 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
13612 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
13613 | ||
13614 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13615 | ||
13616 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
13617 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
13618 | (target_can_run): Add argument. | |
13619 | * target.c (debug_to_can_run): Add argument. | |
13620 | (update_current_target): Update. | |
13621 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
13622 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
13623 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
13624 | ||
13625 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13626 | ||
13627 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
13628 | (target_has_exited): Add argument. | |
13629 | * target.c (debug_to_has_exited): Add argument. | |
13630 | (update_current_target): Update. | |
13631 | ||
13632 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13633 | ||
13634 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
13635 | argument. | |
13636 | (target_set_syscall_catchpoint): Add argument. | |
13637 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
13638 | argument. | |
13639 | * target.c (update_current_target): Update. | |
13640 | ||
13641 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13642 | ||
13643 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
13644 | argument. | |
13645 | (target_remove_exec_catchpoint): Add argument. | |
13646 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
13647 | (update_current_target): Update. | |
13648 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
13649 | argument. | |
13650 | ||
13651 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13652 | ||
13653 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
13654 | argument. | |
13655 | (target_insert_exec_catchpoint): Add argument. | |
13656 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
13657 | (update_current_target): Update. | |
13658 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
13659 | argument. | |
13660 | ||
13661 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13662 | ||
13663 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
13664 | argument. | |
13665 | (target_remove_vfork_catchpoint): Add argument. | |
13666 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
13667 | (update_current_target): Update. | |
13668 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
13669 | argument. | |
13670 | ||
13671 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13672 | ||
13673 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
13674 | argument. | |
13675 | (target_insert_vfork_catchpoint): Add argument. | |
13676 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
13677 | (update_current_target): Update. | |
13678 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
13679 | argument. | |
13680 | ||
13681 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13682 | ||
13683 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
13684 | argument. | |
13685 | (target_remove_fork_catchpoint): Add argument. | |
13686 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
13687 | (update_current_target): Update. | |
13688 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
13689 | argument. | |
13690 | ||
13691 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13692 | ||
13693 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
13694 | argument. | |
13695 | (target_insert_fork_catchpoint): Add argument. | |
13696 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
13697 | (update_current_target): Update. | |
13698 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
13699 | argument. | |
13700 | ||
13701 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13702 | ||
13703 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
13704 | argument. | |
13705 | (target_post_startup_inferior): Add argument. | |
13706 | * target.c (debug_to_post_startup_inferior): Add argument. | |
13707 | (update_current_target): Update. | |
13708 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
13709 | argument. | |
13710 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
13711 | argument. | |
13712 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
13713 | argument. | |
13714 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
13715 | argument. | |
13716 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
13717 | 'self' argument. | |
13718 | (super_post_startup_inferior): Likewise. | |
13719 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
13720 | 'self' argument. | |
13721 | (super_post_startup_inferior): Likewise. | |
13722 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
13723 | Add 'self' argument. | |
13724 | (super_post_startup_inferior): Likewise. | |
13725 | ||
13726 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13727 | ||
13728 | * target.h (struct target_ops) <to_load>: Add argument. | |
13729 | * target.c (target_load): Add argument. | |
13730 | (debug_to_load): Add argument. | |
13731 | (update_current_target): Update. | |
13732 | * remote.c (remote_load): Add 'self' argument. | |
13733 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
13734 | * remote-mips.c (mips_load): Add 'self' argument. | |
13735 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
13736 | * monitor.c (monitor_load): Add 'self' argument. | |
13737 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
13738 | ||
13739 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13740 | ||
13741 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
13742 | (target_terminal_info): Add argument. | |
13743 | * target.c (debug_to_terminal_info): Add argument. | |
13744 | (default_terminal_info): Likewise. | |
13745 | * inflow.c (child_terminal_info): Add 'self' argument. | |
13746 | * inferior.h (child_terminal_info): Add 'self' argument. | |
13747 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
13748 | ||
13749 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13750 | ||
13751 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
13752 | argument. | |
13753 | (target_terminal_save_ours): Add argument. | |
13754 | * target.c (debug_to_terminal_save_ours): Add argument. | |
13755 | (update_current_target): Update. | |
13756 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
13757 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
13758 | ||
13759 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13760 | ||
13761 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
13762 | (target_terminal_ours): Add argument. | |
13763 | * target.c (debug_to_terminal_ours): Add argument. | |
13764 | (update_current_target): Update. | |
13765 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
13766 | (remote_close): Update. | |
13767 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
13768 | * inflow.c (terminal_ours): Add 'self' argument. | |
13769 | * inferior.h (terminal_ours): Add 'self' argument. | |
13770 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13771 | ||
13772 | 2014-02-19 Pedro Alves <palves@redhat.com> | |
13773 | Tom Tromey <tromey@redhat.com> | |
13774 | ||
13775 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
13776 | argument. | |
13777 | (target_terminal_ours_for_output): Add argument. | |
13778 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
13779 | (update_current_target): Update. | |
13780 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
13781 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
13782 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13783 | ||
13784 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13785 | ||
13786 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
13787 | argument. | |
13788 | * target.c (target_terminal_inferior): Add argument. | |
13789 | (update_current_target): Update. | |
13790 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
13791 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
13792 | * inflow.c (terminal_inferior): Add 'self' argument. | |
13793 | * inferior.h (terminal_inferior): Add 'self' argument. | |
13794 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
13795 | (go32_terminal_inferior): Add 'self' argument. | |
13796 | ||
13797 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13798 | ||
13799 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
13800 | (target_terminal_init): Add argument. | |
13801 | * target.c (debug_to_terminal_init): Add argument. | |
13802 | (update_current_target): Update. | |
13803 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
13804 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
13805 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
13806 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
13807 | ||
13808 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13809 | ||
13810 | * target.h (struct target_ops) | |
13811 | <to_can_accel_watchpoint_condition>: Add argument. | |
13812 | (target_can_accel_watchpoint_condition): Add argument. | |
13813 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
13814 | argument. | |
13815 | (update_current_target): Update. | |
13816 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
13817 | 'self' argument. | |
13818 | ||
13819 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13820 | ||
13821 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
13822 | Add argument. | |
13823 | (target_region_ok_for_hw_watchpoint): Add argument. | |
13824 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
13825 | (default_region_ok_for_hw_watchpoint): Add argument. | |
13826 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
13827 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
13828 | argument. | |
13829 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
13830 | argument. | |
13831 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
13832 | argument. | |
13833 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
13834 | 'self' argument. | |
13835 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
13836 | 'self' argument. | |
13837 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
13838 | 'self' argument. | |
13839 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
13840 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
13841 | 'self' argument. | |
13842 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
13843 | Add 'self' argument. | |
13844 | ||
13845 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13846 | ||
13847 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
13848 | argument. | |
13849 | (target_insert_watchpoint): Add argument. | |
13850 | * target.c (debug_to_insert_watchpoint): Add argument. | |
13851 | (update_current_target): Update. | |
13852 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
13853 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
13854 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
13855 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
13856 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
13857 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
13858 | argument. | |
13859 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13860 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13861 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
13862 | argument. | |
13863 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
13864 | argument. | |
13865 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
13866 | argument. | |
13867 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
13868 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
13869 | argument. | |
13870 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
13871 | 'self' argument. | |
13872 | ||
13873 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13874 | ||
13875 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
13876 | argument. | |
13877 | (target_remove_watchpoint): Add argument. | |
13878 | * target.c (debug_to_remove_watchpoint): Add argument. | |
13879 | (update_current_target): Update. | |
13880 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
13881 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
13882 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
13883 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
13884 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
13885 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
13886 | argument. | |
13887 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
13888 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
13889 | argument. | |
13890 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
13891 | argument. | |
13892 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
13893 | argument. | |
13894 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
13895 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
13896 | argument. | |
13897 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
13898 | 'self' argument. | |
13899 | ||
13900 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13901 | ||
13902 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
13903 | argument. | |
13904 | (target_remove_hw_breakpoint): Add argument. | |
13905 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
13906 | (update_current_target): Update. | |
13907 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
13908 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
13909 | argument. | |
13910 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
13911 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
13912 | argument. | |
13913 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
13914 | 'self' argument. | |
13915 | ||
13916 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13917 | ||
13918 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
13919 | argument. | |
13920 | (target_insert_hw_breakpoint): Add argument. | |
13921 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
13922 | (update_current_target): Update. | |
13923 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
13924 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
13925 | argument. | |
13926 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
13927 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
13928 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
13929 | argument. | |
13930 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
13931 | 'self' argument. | |
13932 | ||
13933 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13934 | ||
13935 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
13936 | argument. | |
13937 | (target_can_use_hardware_watchpoint): Add argument. | |
13938 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
13939 | (update_current_target): Update. | |
13940 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
13941 | argument. | |
13942 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
13943 | argument. | |
13944 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
13945 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
13946 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
13947 | argument. | |
13948 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
13949 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
13950 | argument. | |
13951 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
13952 | argument. | |
13953 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
13954 | argument. | |
13955 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
13956 | argument. | |
13957 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
13958 | argument. | |
13959 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
13960 | argument. | |
13961 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
13962 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
13963 | argument. | |
13964 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
13965 | 'self' argument. | |
13966 | ||
13967 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13968 | ||
13969 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
13970 | (target_post_attach): Add argument. | |
13971 | * target.c (debug_to_post_attach): Add argument. | |
13972 | (update_current_target): Update. | |
13973 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
13974 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
13975 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
13976 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
13977 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
13978 | ||
13979 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
13980 | ||
13981 | * windows-nat.c (windows_close): Add 'self' argument. | |
13982 | * tracepoint.c (tfile_close): Add 'self' argument. | |
13983 | * target.h (struct target_ops) <to_close>: Add argument. | |
13984 | * target.c (target_close): Add argument. | |
13985 | (update_current_target): Update. | |
13986 | * remote.c (remote_close): Add 'self' argument. | |
13987 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
13988 | * remote-mips.c (mips_close): Add 'self' argument. | |
13989 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
13990 | * record-full.c (record_full_close): Add 'self' argument. | |
13991 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
13992 | * monitor.h (monitor_close): Add 'self' argument. | |
13993 | * monitor.c (monitor_close): Add 'self' argument. | |
13994 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
13995 | * linux-nat.c (linux_nat_close): Add argument. | |
13996 | * go32-nat.c (go32_close): Add 'self' argument. | |
13997 | * exec.c (exec_close_1): Add 'self' argument. | |
13998 | * ctf.c (ctf_close): Add 'self' argument. | |
13999 | * corelow.c (core_close): Add 'self' argument. | |
14000 | (core_close_cleanup): Update. | |
14001 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
14002 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
14003 | ||
14004 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
14005 | ||
14006 | * remote.c (remote_load): New function. | |
14007 | (init_remote_ops): Use it. | |
14008 | ||
14009 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
14010 | ||
14011 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
14012 | argument. | |
14013 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
14014 | * remote.c (remote_supports_btrace): Add "self" argument. | |
14015 | * target-delegates.c: Rebuild. | |
14016 | * target.c (target_supports_btrace): Remove. | |
14017 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
14018 | target_ops argument. | |
14019 | (target_supports_btrace): New define. | |
14020 | ||
14021 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
14022 | ||
14023 | * record-full.c (record_full_beneath_to_resume_ops) | |
14024 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
14025 | (record_full_beneath_to_wait) | |
14026 | (record_full_beneath_to_store_registers_ops) | |
14027 | (record_full_beneath_to_store_registers) | |
14028 | (record_full_beneath_to_xfer_partial_ops) | |
14029 | (record_full_beneath_to_xfer_partial) | |
14030 | (record_full_beneath_to_insert_breakpoint_ops) | |
14031 | (record_full_beneath_to_insert_breakpoint) | |
14032 | (record_full_beneath_to_remove_breakpoint_ops) | |
14033 | (record_full_beneath_to_remove_breakpoint) | |
14034 | (record_full_beneath_to_stopped_by_watchpoint) | |
14035 | (record_full_beneath_to_stopped_data_address) | |
14036 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
14037 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
14038 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
14039 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
14040 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
14041 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
14042 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
14043 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
14044 | (record_full_resume, record_full_wait_1) | |
14045 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
14046 | (record_full_store_registers, record_full_xfer_partial) | |
14047 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
14048 | (record_full_async, record_full_core_xfer_partial): Use target | |
14049 | delegation. | |
14050 | * target-delegates.c: Rebuild. | |
14051 | * target.c (current_xfer_partial): Remove. | |
14052 | (update_current_target): Do not INHERIT or de_fault | |
14053 | to_insert_breakpoint, to_remove_breakpoint, | |
14054 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
14055 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
14056 | (default_xfer_partial): Simplify. | |
14057 | (current_xfer_partial): Remove. | |
14058 | (target_wait, target_resume): Simplify. | |
14059 | (find_default_can_async_p, find_default_is_async_p): Update. | |
14060 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
14061 | to_xfer_partial, to_stopped_by_watchpoint, | |
14062 | to_stopped_data_address. | |
14063 | (target_store_registers): Simplify. | |
14064 | (forward_target_remove_breakpoint) | |
14065 | (forward_target_insert_breakpoint): Remove. | |
14066 | (target_remove_breakpoint, target_insert_breakpoint) | |
14067 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
14068 | * target.h (struct target_ops) <to_resume, to_wait, | |
14069 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
14070 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
14071 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
14072 | markup. | |
14073 | (forward_target_remove_breakpoint) | |
14074 | (forward_target_insert_breakpoint): Remove. | |
14075 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
14076 | directly. | |
14077 | (record_btrace_insert_breakpoint): Delegate directly. | |
14078 | ||
14079 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
14080 | ||
14081 | PR build/7701: | |
14082 | * target-delegates.c: New file. | |
14083 | * target.c: Include target-delegates.c. | |
14084 | (init_dummy_target): Call install_dummy_methods. | |
14085 | (complete_target_initialization): Call install_delegators. | |
14086 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
14087 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
14088 | * make-target-delegates: New file. | |
14089 | ||
14090 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
14091 | ||
14092 | * record.c (find_record_target): Use find_target_at. | |
14093 | * target.c (find_target_at): New function. | |
14094 | * target.h (find_target_at): Declare. | |
14095 | ||
14096 | 2014-02-19 Tom Tromey <tromey@redhat.com> | |
14097 | ||
14098 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
14099 | Add 'ops' argument. | |
14100 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
14101 | 'ops' argument. | |
14102 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
14103 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
14104 | 'ops' argument. | |
14105 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
14106 | argument. | |
14107 | * linux-nat.c (save_sigtrap): Update. | |
14108 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
14109 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
14110 | (linux_nat_close): Update. | |
14111 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
14112 | argument. | |
14113 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
14114 | argument. | |
14115 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
14116 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
14117 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
14118 | (tmp_to_async): Add 'ops' argument. | |
14119 | (record_full_stopped_by_watchpoint, record_full_async) | |
14120 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
14121 | argument. | |
14122 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
14123 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
14124 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
14125 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
14126 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
14127 | (remote_stopped_data_address): Update. | |
14128 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
14129 | * target.c (update_current_target) | |
14130 | (find_default_can_async_p, find_default_is_async_p): Update. | |
14131 | (init_dummy_target): Update. | |
14132 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
14133 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
14134 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
14135 | (target_can_async_p, target_is_async_p, target_async) | |
14136 | (target_stopped_by_watchpoint): Update. | |
14137 | ||
14138 | 2014-02-19 Yao Qi <yao@codesourcery.com> | |
14139 | ||
14140 | PR gdb/16220 | |
14141 | * gdbarch.sh: Remove startup_gdbarch. | |
14142 | * gdbarch.c: Regenerated. | |
14143 | * gdbarch.h: Likewise. | |
14144 | ||
14145 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> | |
14146 | ||
14147 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
14148 | (rl78_return_value): Add g10 support. | |
14149 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
14150 | g10. | |
14151 | ||
14152 | 2014-02-17 Doug Evans <xdje42@gmail.com> | |
14153 | ||
14154 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
14155 | (SUBDIR_GUILE_SRCS): Ditto. | |
14156 | (scm-gsmob.o): Ditto. | |
14157 | ||
14158 | 2014-02-17 Yao Qi <yao@codesourcery.com> | |
14159 | ||
14160 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
14161 | ||
14162 | 2014-02-17 Yao Qi <yao@codesourcery.com> | |
14163 | ||
14164 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
14165 | mach_msg_type_number_t. | |
14166 | (gnu_write_inferior): Likewise. | |
14167 | ||
14168 | 2014-02-17 Yao Qi <yao@codesourcery.com> | |
14169 | ||
14170 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
14171 | in format string. | |
14172 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
14173 | (inf_validate_procs, inf_signal): Likewise. | |
14174 | (S_exception_raise_request): Likewise. | |
14175 | (do_mach_notify_dead_name): Likewise. | |
14176 | (steal_exc_port): Likewise. | |
14177 | (gnu_read_inferior): Change 'copy_count''s type to | |
14178 | mach_msg_type_number_t. | |
14179 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
14180 | format string. | |
14181 | ||
14182 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> | |
14183 | ||
14184 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit | |
14185 | flag. Adjust all users; in particular... | |
14186 | (gnu_wait): ..., don't decrement its value in here... | |
14187 | (gnu_create_inferior): ..., and instead set the flag in here, | |
14188 | around the startup_inferior call, and call that one with | |
14189 | START_INFERIOR_TRAPS_EXPECTED. | |
14190 | ||
14191 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... | |
14192 | (ILL_RPC): ... new macro. | |
14193 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
14194 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
14195 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
14196 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
14197 | functions with ILL_RPC macro. | |
14198 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
14199 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
14200 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
14201 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
14202 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
14203 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
14204 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
14205 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
14206 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
14207 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
14208 | (S_proc_get_code_reply): New stub functions, generated with | |
14209 | ILL_RPC macro. | |
14210 | ||
14211 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet | |
14212 | collected the type check structures. | |
14213 | ||
14214 | * reply_mig_hack.awk: Don't expect to see the auto keyword. | |
14215 | ||
14216 | 2014-02-14 Doug Evans <dje@google.com> | |
14217 | ||
14218 | * target.c (target_write_partial): Fix result type. | |
14219 | ||
14220 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> | |
14221 | ||
14222 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
14223 | the proper offsets to access fpregset_t. | |
14224 | ||
14225 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> | |
14226 | ||
14227 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
14228 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
14229 | * h8300-tdep.c (setmachinelist): Remove global. | |
14230 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
14231 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
14232 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
14233 | * ravenscar-thread.c (update_target_observer): Remove global. | |
14234 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
14235 | ||
14236 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14237 | ||
14238 | * common/rsp-low.c: Update comments. | |
14239 | * common/rsp-low.h: Update comments. | |
14240 | ||
14241 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14242 | ||
14243 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
14244 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
14245 | ||
14246 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14247 | ||
14248 | * common/rsp-low.h (unhexify): Don't declare. | |
14249 | * common/rsp-low.c (unhexify): Remove. | |
14250 | ||
14251 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14252 | ||
14253 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
14254 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
14255 | ||
14256 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14257 | ||
14258 | * common/rsp-low.h (hexify): Don't declare. | |
14259 | * common/rsp-low.c (hexify): Remove. | |
14260 | ||
14261 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14262 | ||
14263 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
14264 | ||
14265 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14266 | ||
14267 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
14268 | * remote.c (extended_remote_run, remote_rcmd) | |
14269 | (remote_download_trace_state_variable, remote_save_trace_data) | |
14270 | (remote_set_trace_notes): Update. | |
14271 | * tracepoint.c (encode_source_string, tfile_write_status) | |
14272 | (tfile_write_uploaded_tsv): Update. | |
14273 | ||
14274 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14275 | ||
14276 | * tracepoint.c: Include rsp-low.h. | |
14277 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
14278 | * remote.c: Include rsp-low.h. | |
14279 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
14280 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
14281 | (remote_unescape_input): Move to common/rsp-low.c. | |
14282 | * common/rsp-low.h: New file. | |
14283 | * common/rsp-low.c: New file. | |
14284 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
14285 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
14286 | (COMMON_OBS): Add rsp-low.o. | |
14287 | (rsp-low.o): New target. | |
14288 | ||
14289 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14290 | ||
14291 | * utils.h: Include print-utils.h. | |
14292 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
14293 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
14294 | (hex_string, hex_string_custom): Don't declare. | |
14295 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
14296 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
14297 | (hex_string_custom, int_string, core_addr_to_string) | |
14298 | (core_addr_to_string_nz, host_address_to_string): Move to | |
14299 | common/print-utils.c. | |
14300 | * common/print-utils.h: New file. | |
14301 | * common/print-utils.c: New file | |
14302 | * Makefile.in (SFILES): Add common/print-utils.c. | |
14303 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
14304 | (COMMON_OBS): Add print-utils.o. | |
14305 | (print-utils.o): New target. | |
14306 | ||
14307 | 2014-02-12 Tom Tromey <tromey@redhat.com> | |
14308 | ||
14309 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
14310 | ||
14311 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> | |
14312 | ||
14313 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
14314 | ||
14315 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> | |
14316 | ||
14317 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
14318 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
14319 | bytes were transferred. | |
14320 | ||
14321 | 2014-02-12 Pedro Alves <palves@redhat.com> | |
14322 | Kevin Buettner <kevinb@redhat.com> | |
14323 | ||
14324 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
14325 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
14326 | ||
14327 | 2014-02-12 Pedro Alves <palves@redhat.com> | |
14328 | ||
14329 | * h8300-tdep.c (pseudo_from_raw_register) | |
14330 | (raw_from_pseudo_register): New functions. | |
14331 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
14332 | them. | |
14333 | ||
14334 | 2014-02-12 Pedro Alves <palves@redhat.com> | |
14335 | ||
14336 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
14337 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
14338 | gdbarch_register_sim_regno hook. | |
14339 | ||
14340 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> | |
14341 | ||
14342 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
14343 | ||
14344 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> | |
14345 | ||
14346 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
14347 | ||
14348 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> | |
14349 | ||
14350 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
14351 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
14352 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
14353 | (obsd_init_abi): New functions. | |
14354 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
14355 | (i386obsd_init_abi): Call obsd_init_abi. | |
14356 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
14357 | (amd64obsd_init_abi): Call obsd_init_abi. | |
14358 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
14359 | obsd-tdep.c to gdb_target_obs. | |
14360 | ||
14361 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> | |
14362 | ||
14363 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
14364 | double float arguments to 16-byte in the argument slots. | |
14365 | ||
14366 | 2014-02-11 Doug Evans <xdje42@gmail.com> | |
14367 | ||
14368 | * configure.ac: Don't crash if pkg-config is not found and guile | |
14369 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
14370 | in guile checks. | |
14371 | * configure: Regenerate. | |
14372 | ||
14373 | 2014-02-11 Yao Qi <yao@codesourcery.com> | |
14374 | ||
14375 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
14376 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
14377 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
14378 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
14379 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
14380 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14381 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14382 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
14383 | ||
14384 | 2014-02-11 Yao Qi <yao@codesourcery.com> | |
14385 | ||
14386 | * target.h (enum target_xfer_error): Rename to ... | |
14387 | (enum target_xfer_status): ... it. New. All users updated. | |
14388 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
14389 | New. | |
14390 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
14391 | (target_xfer_error_to_string): Remove declaration. | |
14392 | (target_xfer_status_to_string): Declare. | |
14393 | (target_xfer_partial_ftype): Adjust it. | |
14394 | (struct target_ops) <to_xfer_partial>: Return | |
14395 | target_xfer_status. Add argument xfered_len. Update | |
14396 | comments. | |
14397 | * target.c (target_xfer_error_to_string): Rename to ... | |
14398 | (target_xfer_status_to_string): ... it. New. All callers | |
14399 | updated. | |
14400 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
14401 | instead of target_read. | |
14402 | (memory_xfer_live_readonly_partial): Return | |
14403 | target_xfer_status. Add argument xfered_len. | |
14404 | (raw_memory_xfer_partial): Likewise. | |
14405 | (memory_xfer_partial_1): Likewise. | |
14406 | (memory_xfer_partial): Likewise. | |
14407 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
14408 | properly. Update debug message. | |
14409 | (default_xfer_partial, current_xfer_partial): Likewise. | |
14410 | (target_write_partial): Likewise. | |
14411 | (target_read_partial): Likewise. All callers updated. | |
14412 | (read_whatever_is_readable): Likewise. | |
14413 | (target_write_with_progress): Likewise. | |
14414 | (target_read_alloc_1): Likewise. | |
14415 | ||
14416 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
14417 | * auxv.c (procfs_xfer_auxv): Likewise. | |
14418 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
14419 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14420 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14421 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
14422 | * corefile.c (read_memory): Adjust. | |
14423 | * corelow.c (core_xfer_partial): Likewise. | |
14424 | * ctf.c (ctf_xfer_partial): Likewise. | |
14425 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
14426 | updated. | |
14427 | (darwin_xfer_partial): Likewise. | |
14428 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
14429 | callers updated. | |
14430 | (exec_xfer_partial): Likewise. | |
14431 | * exec.h (section_table_xfer_memory_partial): Update | |
14432 | declaration. | |
14433 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
14434 | negative. | |
14435 | (gnu_xfer_partial): Likewise. | |
14436 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
14437 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
14438 | (ia64_hpux_xfer_solib_got): Likewise. | |
14439 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
14440 | type of 'partial_len' to ULONGEST. | |
14441 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
14442 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
14443 | (linux_nat_xfer_partial): Likewise. | |
14444 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
14445 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
14446 | * monitor.c (monitor_xfer_memory): Likewise. | |
14447 | (monitor_xfer_partial): Likewise. | |
14448 | * procfs.c (procfs_xfer_partial): Likewise. | |
14449 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
14450 | * record-full.c (record_full_xfer_partial): Likewise. | |
14451 | (record_full_core_xfer_partial): Likewise. | |
14452 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
14453 | (gdbsim_xfer_partial): Likewise. | |
14454 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
14455 | updated. | |
14456 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
14457 | callers updated. | |
14458 | (remote_flash_erase): Likewise. All callers updated. | |
14459 | (remote_write_qxfer): Likewise. All callers updated. | |
14460 | (remote_read_qxfer): Likewise. All callers updated. | |
14461 | (remote_xfer_partial): Likewise. | |
14462 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14463 | (rs6000_xfer_shared_libraries): Likewise. | |
14464 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
14465 | (sol_thread_xfer_partial): Likewise. | |
14466 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14467 | (sparc_xfer_partial): Likewise. | |
14468 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
14469 | updated. | |
14470 | (spu_xfer_partial): Likewise. | |
14471 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
14472 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
14473 | * windows-nat.c (windows_xfer_memory): Likewise. | |
14474 | (windows_xfer_shared_libraries): Likewise. | |
14475 | (windows_xfer_partial): Likewise. | |
14476 | * valprint.c: Replace 'target_xfer_error' with | |
14477 | 'target_xfer_status' in comments. | |
14478 | ||
14479 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) | |
14480 | ||
14481 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
14482 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
14483 | ||
14484 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> | |
14485 | ||
14486 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
14487 | function parameters. | |
14488 | ||
14489 | 2014-02-10 Will Newton <will.newton@linaro.org> | |
14490 | ||
14491 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
14492 | looking up .got.plt fails. | |
14493 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
14494 | on address passed to elf_gnu_ifunc_record_cache. | |
14495 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
14496 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
14497 | ||
14498 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> | |
14499 | ||
14500 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
14501 | (X_RETTURN): New macro. | |
14502 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
14503 | ||
14504 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
14505 | sparc_in_function_epilogue_p. | |
14506 | ||
14507 | 2014-02-10 Gary Benson <gbenson@redhat.com> | |
14508 | ||
14509 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
14510 | Rename name_matcher to symbol_matcher. | |
14511 | ||
14512 | 2014-02-10 Gary Benson <gbenson@redhat.com> | |
14513 | ||
14514 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
14515 | Use expand_symtabs_file_matcher_ftype and | |
14516 | expand_symtabs_symbol_matcher_ftype. | |
14517 | ||
14518 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
14519 | ||
14520 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
14521 | (struct ada_symbol_cache): New. | |
14522 | (ada_free_symbol_cache): Forward declare. | |
14523 | (struct ada_pspace_data): New. | |
14524 | (ada_pspace_data_handle): New static global. | |
14525 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
14526 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
14527 | (cache_space, cache): Delete, now folded inside struct | |
14528 | ada_pspace_data. | |
14529 | (ada_get_symbol_cache): New function. | |
14530 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
14531 | implementation. | |
14532 | (_initialize_ada_language): Remove initialization of cache_space. | |
14533 | Move call to observer_attach_inferior_exit up, grouping it | |
14534 | with the other observer registrations inside this function. | |
14535 | Rename command to be more general. Add call to | |
14536 | register_program_space_data_with_cleanup. | |
14537 | ||
14538 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
14539 | ||
14540 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
14541 | ada_new_objfile_observer. | |
14542 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
14543 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
14544 | and ada_tasks_normal_stop_observer. | |
14545 | ||
14546 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
14547 | ||
14548 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
14549 | returned by the 'Length attribute to integer. | |
14550 | ||
14551 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
14552 | ||
14553 | * ada-lang.c (_initialize_ada_language): Initialize | |
14554 | cache_space obstack. | |
14555 | ||
14556 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
14557 | ||
14558 | * ada-lang.c (HASH_SIZE): New macro. | |
14559 | (struct cache_entry): New type. | |
14560 | (cache_space, cache): New static globals. | |
14561 | (ada_clear_symbol_cache, find_entry): New functions. | |
14562 | (lookup_cached_symbol, cache_symbol): Implement. | |
14563 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
14564 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
14565 | and ada_free_objfile_observer. | |
14566 | ||
14567 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> | |
14568 | ||
14569 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
14570 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
14571 | struct block * parameter. | |
14572 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
14573 | Remove cast which is no longer necessary. | |
14574 | ||
14575 | 2014-02-10 Doug Evans <xdje42@gmail.com> | |
14576 | ||
14577 | Add Guile as an extension language. | |
14578 | * NEWS: Mention Guile scripting. | |
14579 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
14580 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
14581 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
14582 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
14583 | (CLIBS): Add GUILE_LIBS. | |
14584 | (install-guile): New rule. | |
14585 | (guile.o): New rule. | |
14586 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
14587 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
14588 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
14589 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
14590 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
14591 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
14592 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
14593 | * configure.ac: New option --with-guile. | |
14594 | * configure: Regenerate. | |
14595 | * config.in: Regenerate. | |
14596 | * auto-load.c: Remove #include "python/python.h". Add #include | |
14597 | "gdb/section-scripts.h". | |
14598 | (source_section_scripts): Handle Guile scripts. | |
14599 | (_initialize_auto_load): Add name of Guile objfile script to | |
14600 | scripts-directory help text. | |
14601 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
14602 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
14603 | (struct breakpoint): New member scm_bp_object. | |
14604 | * defs.h (enum command_control_type): New value guile_control. | |
14605 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
14606 | "extension.h". | |
14607 | (show_user): Update comment. | |
14608 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
14609 | text for max-user-call-depth. | |
14610 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
14611 | "extension.h". | |
14612 | (multi_line_command_p): Add guile_control. | |
14613 | (print_command_lines): Handle guile_control. | |
14614 | (execute_control_command, recurse_read_control_structure): Ditto. | |
14615 | (process_next_line): Recognize "guile" commands. | |
14616 | * disasm.c (gdb_disassemble_info): Make non-static. | |
14617 | * disasm.h: #include "dis-asm.h". | |
14618 | (struct gdbarch): Add forward decl. | |
14619 | (gdb_disassemble_info): Declare. | |
14620 | * extension.c: #include "guile/guile.h". | |
14621 | (extension_languages): Add guile. | |
14622 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
14623 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
14624 | * gdbtypes.c (get_unsigned_type_max): New function. | |
14625 | (get_signed_type_minmax): New function. | |
14626 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
14627 | (get_signed_type_minmax): Declare. | |
14628 | * guile/README: New file. | |
14629 | * guile/guile-internal.h: New file. | |
14630 | * guile/guile.c: New file. | |
14631 | * guile/guile.h: New file. | |
14632 | * guile/scm-arch.c: New file. | |
14633 | * guile/scm-auto-load.c: New file. | |
14634 | * guile/scm-block.c: New file. | |
14635 | * guile/scm-breakpoint.c: New file. | |
14636 | * guile/scm-disasm.c: New file. | |
14637 | * guile/scm-exception.c: New file. | |
14638 | * guile/scm-frame.c: New file. | |
14639 | * guile/scm-gsmob.c: New file. | |
14640 | * guile/scm-iterator.c: New file. | |
14641 | * guile/scm-lazy-string.c: New file. | |
14642 | * guile/scm-math.c: New file. | |
14643 | * guile/scm-objfile.c: New file. | |
14644 | * guile/scm-ports.c: New file. | |
14645 | * guile/scm-pretty-print.c: New file. | |
14646 | * guile/scm-safe-call.c: New file. | |
14647 | * guile/scm-string.c: New file. | |
14648 | * guile/scm-symbol.c: New file. | |
14649 | * guile/scm-symtab.c: New file. | |
14650 | * guile/scm-type.c: New file. | |
14651 | * guile/scm-utils.c: New file. | |
14652 | * guile/scm-value.c: New file. | |
14653 | * guile/lib/gdb.scm: New file. | |
14654 | * guile/lib/gdb/boot.scm: New file. | |
14655 | * guile/lib/gdb/experimental.scm: New file. | |
14656 | * guile/lib/gdb/init.scm: New file. | |
14657 | * guile/lib/gdb/iterator.scm: New file. | |
14658 | * guile/lib/gdb/printing.scm: New file. | |
14659 | * guile/lib/gdb/types.scm: New file. | |
14660 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
14661 | (VPATH): Add $(GUILE_SRCDIR). | |
14662 | (GUILE_DIR): New variable. | |
14663 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
14664 | (all): Add stamp-guile dependency. | |
14665 | (stamp-guile): New rule. | |
14666 | (clean-guile, install-guile, uninstall-guile): New rules. | |
14667 | (install-only): Add install-guile dependency. | |
14668 | (uninstall): Add uninstall-guile dependency. | |
14669 | (clean): Add clean-guile dependency. | |
14670 | ||
14671 | 2014-02-09 Doug Evans <xdje42@gmail.com> | |
14672 | ||
14673 | Revert this patch (which I approved, mea culpa). | |
14674 | ||
14675 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
14676 | ||
14677 | * Makefile.in (all-lib): Remove. | |
14678 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
14679 | ||
14680 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> | |
14681 | ||
14682 | Fix Python stack corruption. | |
14683 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
14684 | gdb_py_longest. | |
14685 | ||
14686 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
14687 | ||
14688 | * Makefile.in (all-lib): Remove. | |
14689 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
14690 | ||
14691 | 2014-02-07 Doug Evans <dje@google.com> | |
14692 | ||
14693 | * extension-priv.h (extension_language_script_ops): Add comment. | |
14694 | (extension_language_ops): Add comment. | |
14695 | (active_ext_lang_state): Fix typo in comment. | |
14696 | ||
14697 | 2014-02-07 Pedro Alves <palves@redhat.com> | |
14698 | ||
14699 | PR breakpoints/16292 | |
14700 | * infrun.c (handle_signal_stop) <signal arrives while stepping | |
14701 | over a breakpoint>: Switch back to the stepping thread. | |
14702 | ||
14703 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
14704 | ||
14705 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
14706 | ||
14707 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
14708 | ||
14709 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
14710 | (ld_so_xfer_auxv): Likewise. | |
14711 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14712 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14713 | * corelow.c (core_xfer_partial): Likewise. | |
14714 | * ctf.c (ctf_xfer_partial): Likewise. | |
14715 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
14716 | (darwin_xfer_partial): Likewise. | |
14717 | * exec.c (exec_xfer_partial): Likewise. | |
14718 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
14719 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
14720 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
14721 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
14722 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
14723 | (linux_proc_xfer_spu): Likewise. | |
14724 | * procfs.c (procfs_xfer_partial): Likewise. | |
14725 | * record-full.c (record_full_xfer_partial): Likewise. | |
14726 | (record_full_core_xfer_partial): Likewise. | |
14727 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
14728 | * remote.c (remote_write_qxfer): Likewise. | |
14729 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
14730 | (remote_xfer_partial): Likewise. | |
14731 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14732 | (rs6000_xfer_shared_libraries): Likewise. | |
14733 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14734 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
14735 | (spu_xfer_partial): Likewise. | |
14736 | * target.c (memory_xfer_partial_1): Likewise. | |
14737 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
14738 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
14739 | (windows_xfer_partial): Likewise. | |
14740 | ||
14741 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
14742 | ||
14743 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
14744 | comments. | |
14745 | (core_xfer_shared_libraries_aix): Likewise. | |
14746 | * gdbarch.c, gdbarch.h: Regenerated. | |
14747 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
14748 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
14749 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
14750 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
14751 | declaration. | |
14752 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
14753 | ||
14754 | 2014-02-07 Yao Qi <yao@codesourcery.com> | |
14755 | ||
14756 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
14757 | 'exception' to throw_error. | |
14758 | ||
14759 | 2014-02-06 Doug Evans <xdje42@gmail.com> | |
14760 | ||
14761 | * configure.ac (libpython checking): Remove all but python.o from | |
14762 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
14763 | * configure: Regenerate. | |
14764 | ||
14765 | * Makefile.in (SFILES): Add extension.c. | |
14766 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
14767 | (COMMON_OBS): Add extension.o. | |
14768 | * extension.h: New file. | |
14769 | * extension-priv.h: New file. | |
14770 | * extension.c: New file. | |
14771 | ||
14772 | * python/python-internal.h: #include "extension.h". | |
14773 | (gdbpy_auto_load_enabled): Declare. | |
14774 | (gdbpy_apply_val_pretty_printer): Declare. | |
14775 | (gdbpy_apply_frame_filter): Declare. | |
14776 | (gdbpy_preserve_values): Declare. | |
14777 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
14778 | (gdbpy_breakpoint_has_cond): Declare. | |
14779 | (void source_python_script_for_objfile): Delete. | |
14780 | * python/python.c: #include "extension-priv.h". | |
14781 | Delete inclusion of "observer.h". | |
14782 | (extension_language_python): Moved here and renamed from | |
14783 | script_language_python in py-auto-load.c. | |
14784 | Redefined to be of type extension_language_defn. | |
14785 | (python_extension_script_ops): New global. | |
14786 | (python_extension_ops): New global. | |
14787 | (struct python_env): New member previous_active. | |
14788 | (restore_python_env): Call restore_active_ext_lang. | |
14789 | (ensure_python_env): Call set_active_ext_lang. | |
14790 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
14791 | New arg extlang. | |
14792 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
14793 | New arg extlang. | |
14794 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
14795 | New arg extlang. | |
14796 | (gdbpy_eval_from_control_command): Renamed from | |
14797 | eval_python_from_control_command, made static. New arg extlang. | |
14798 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
14799 | New arg extlang. | |
14800 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
14801 | result to int. New arg extlang. | |
14802 | (gdbpy_source_objfile_script): Renamed from | |
14803 | source_python_script_for_objfile, made static. New arg extlang. | |
14804 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
14805 | static. New args extlang, extlang_printers. Change result type to | |
14806 | "void". | |
14807 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
14808 | static. New arg extlang. Rename arg printers to extlang_printers | |
14809 | and change type to ext_lang_type_printers *. | |
14810 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
14811 | static. Replace argument arg with extlang, extlang_printers. | |
14812 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
14813 | (!HAVE_PYTHON, source_python_script): Delete. | |
14814 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
14815 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
14816 | (!HAVE_PYTHON, start_type_printers): Delete. | |
14817 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
14818 | (!HAVE_PYTHON, free_type_printers): Delete. | |
14819 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
14820 | (finalize_python): Set/restore active extension language. | |
14821 | (gdbpy_finish_initialization) Renamed from | |
14822 | finish_python_initialization, made static. New arg extlang. | |
14823 | (gdbpy_initialized): New function. | |
14824 | * python/python.h: #include "extension.h". Delete #include | |
14825 | "value.h", "mi/mi-cmds.h". | |
14826 | (extension_language_python): Declare. | |
14827 | (GDBPY_AUTO_FILE_NAME): Delete. | |
14828 | (enum py_bt_status): Moved to extension.h and renamed to | |
14829 | ext_lang_bt_status. | |
14830 | (enum frame_filter_flags): Moved to extension.h. | |
14831 | (enum py_frame_args): Moved to extension.h and renamed to | |
14832 | ext_lang_frame_args. | |
14833 | (finish_python_initialization): Delete. | |
14834 | (eval_python_from_control_command): Delete. | |
14835 | (source_python_script): Delete. | |
14836 | (apply_val_pretty_printer): Delete. | |
14837 | (apply_frame_filter): Delete. | |
14838 | (preserve_python_values): Delete. | |
14839 | (gdbpy_script_language_defn): Delete. | |
14840 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
14841 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
14842 | ||
14843 | * auto-load.c: #include "extension.h". | |
14844 | (GDB_AUTO_FILE_NAME): Delete. | |
14845 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
14846 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
14847 | extension_language_gdb. | |
14848 | (source_gdb_script_for_objfile): Delete. | |
14849 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
14850 | (loaded_script): Change type of language member to | |
14851 | struct extension_language_defn *. | |
14852 | (init_loaded_scripts_info): Initialize | |
14853 | unsupported_script_warning_printed. | |
14854 | (maybe_add_script): Make static. Change type of language arg to | |
14855 | struct extension_language_defn *. | |
14856 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
14857 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
14858 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
14859 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
14860 | (source_section_scripts): Rewrite to use extension language API. | |
14861 | (load_auto_scripts_for_objfile): Rewrite to use | |
14862 | auto_load_scripts_for_objfile. | |
14863 | (collect_matching_scripts_data): Change type of language member to | |
14864 | struct extension_language_defn *. | |
14865 | (auto_load_info_scripts): Change type of language arg to | |
14866 | struct extension_language_defn *. | |
14867 | (unsupported_script_warning_print): New function. | |
14868 | (script_not_found_warning_print): Make static. | |
14869 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
14870 | help. | |
14871 | * auto-load.h (struct objfile): Add forward decl. | |
14872 | (struct script_language): Delete. | |
14873 | (struct auto_load_pspace_info): Add forward decl. | |
14874 | (struct extension_language_defn): Add forward decl. | |
14875 | (maybe_add_script): Delete. | |
14876 | (auto_load_objfile_script): Declare. | |
14877 | (script_not_found_warning_print): Delete. | |
14878 | (auto_load_info_scripts): Update prototype. | |
14879 | (auto_load_gdb_scripts_enabled): Declare. | |
14880 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
14881 | auto_load_python_scripts_enabled and made public. | |
14882 | (script_language_python): Delete, moved to python.c. | |
14883 | (gdbpy_script_language_defn): Delete. | |
14884 | (info_auto_load_python_scripts): Update to use | |
14885 | extension_language_python. | |
14886 | ||
14887 | * breakpoint.c (condition_command): Replace call to | |
14888 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
14889 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
14890 | with call to breakpoint_ext_lang_cond_says_stop. | |
14891 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
14892 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
14893 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
14894 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
14895 | New arg slang. | |
14896 | (local_setattro): Print name of extension language with existing | |
14897 | stop condition. | |
14898 | ||
14899 | * valprint.c (val_print, value_print): Update to call | |
14900 | apply_ext_lang_val_pretty_printer. | |
14901 | * cp-valprint.c (cp_print_value): Update call to | |
14902 | apply_ext_lang_val_pretty_printer. | |
14903 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
14904 | (gdbpy_apply_val_pretty_printer): Renamed from | |
14905 | apply_val_pretty_printer. New arg extlang. | |
14906 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
14907 | ||
14908 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
14909 | extension language API. | |
14910 | * cli/cli-script.c (execute_control_command): Update to call | |
14911 | eval_ext_lang_from_control_command. | |
14912 | ||
14913 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
14914 | enum ext_lang_bt_status values. Update call to | |
14915 | apply_ext_lang_frame_filter. | |
14916 | (mi_cmd_stack_list_locals): Ditto. | |
14917 | (mi_cmd_stack_list_args): Ditto. | |
14918 | (mi_cmd_stack_list_variables): Ditto. | |
14919 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
14920 | Add #include "extension.h". | |
14921 | (mi_cmd_list_features): Replace reference to python internal variable | |
14922 | gdb_python_initialized with call to ext_lang_initialized_p. | |
14923 | ||
14924 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
14925 | Update to use enum ext_lang_frame_args. Update to call | |
14926 | apply_ext_lang_frame_filter. | |
14927 | * python/py-framefilter.c (extract_sym): Update to use enum | |
14928 | ext_lang_bt_status. | |
14929 | (extract_value, py_print_type, py_print_value): Ditto. | |
14930 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
14931 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
14932 | (py_print_frame): Ditto. | |
14933 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
14934 | New arg extlang. Update to use enum ext_lang_bt_status. | |
14935 | ||
14936 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
14937 | finish_python_initialization. Replace with call to | |
14938 | finish_ext_lang_initialization. | |
14939 | ||
14940 | * typeprint.c (do_free_global_table): Update to call | |
14941 | free_ext_lang_type_printers. | |
14942 | (create_global_typedef_table): Update to call | |
14943 | start_ext_lang_type_printers. | |
14944 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
14945 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
14946 | (type_print_options): Change type of global_printers from "void *" | |
14947 | to "struct ext_lang_type_printers *". | |
14948 | ||
14949 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
14950 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
14951 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
14952 | New arg extlang. | |
14953 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
14954 | ||
14955 | * utils.c (quit_flag): Delete, moved to extension.c. | |
14956 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
14957 | extension.c. | |
14958 | ||
14959 | * eval.c: Delete #include "python/python.h". | |
14960 | * main.c: Delete #include "python/python.h". | |
14961 | ||
14962 | * defs.h: Update comment. | |
14963 | ||
14964 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> | |
14965 | ||
14966 | GDB 7.7 released. | |
14967 | ||
14968 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> | |
14969 | ||
14970 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
14971 | defined. | |
14972 | ||
14973 | 2014-02-05 Yao Qi <yao@codesourcery.com> | |
14974 | ||
14975 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
14976 | rs->buf. | |
14977 | (remote_program_signals): Likewise. | |
14978 | ||
14979 | 2014-02-05 Yao Qi <yao@codesourcery.com> | |
14980 | ||
14981 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
14982 | (CTF_PID): A new macro. | |
14983 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
14984 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
14985 | (ctf_thread_alive): New function. | |
14986 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
14987 | ||
14988 | 2014-02-05 Yao Qi <yao@codesourcery.com> | |
14989 | ||
14990 | Revert this patch: | |
14991 | ||
14992 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
14993 | ||
14994 | * tracepoint.c (TFILE_PID): Remove. | |
14995 | (tfile_open): Don't add thread and inferior. | |
14996 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
14997 | exit_inferior_silent. | |
14998 | (tfile_thread_alive): Remove. | |
14999 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
15000 | tfile_ops. | |
15001 | ||
15002 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) | |
15003 | ||
15004 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
15005 | if only symbol-file (not file) has been given. | |
15006 | ||
15007 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15008 | ||
15009 | * gdbarch.sh (skip_entrypoint): New callback. | |
15010 | * gdbarch.c, gdbarch.h: Regenerate. | |
15011 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
15012 | * infrun.c (fill_in_stop_func): Likewise. | |
15013 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
15014 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
15015 | (ppc_elfv2_skip_entrypoint): Likewise. | |
15016 | (ppc_linux_init_abi): Install them for ELFv2. | |
15017 | ||
15018 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15019 | ||
15020 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
15021 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
15022 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
15023 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
15024 | structures returned in GPRs. | |
15025 | ||
15026 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15027 | ||
15028 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
15029 | offset to the stack parameter list for the ELFv2 ABI. | |
15030 | ||
15031 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15032 | ||
15033 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
15034 | set_gdbarch_convert_from_func_ptr_addr and | |
15035 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
15036 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
15037 | function descriptors on ELFv1. | |
15038 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
15039 | set up r12 at function entry. | |
15040 | ||
15041 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15042 | ||
15043 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
15044 | (struct gdbarch_tdep): New member elf_abi. | |
15045 | ||
15046 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
15047 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
15048 | ||
15049 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15050 | ||
15051 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
15052 | within a register pair holding a DFP 128-bit value on little-endian. | |
15053 | (ppc64_sysv_abi_return_value_base): Likewise. | |
15054 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
15055 | (dfp_pseudo_register_write): Likewise. | |
15056 | ||
15057 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15058 | ||
15059 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
15060 | offset on little-endian when passing _Decimal32. | |
15061 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
15062 | ||
15063 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15064 | ||
15065 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
15066 | of the overlapped FP register within the VSX register on little- | |
15067 | endian platforms. | |
15068 | (efpr_pseudo_register_write): Likewise. | |
15069 | ||
15070 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15071 | ||
15072 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
15073 | offset on little-endian when passing small structures. | |
15074 | ||
15075 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15076 | ||
15077 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
15078 | (struct ppc64_sysv_argpos): New data structure. | |
15079 | (ppc64_sysv_abi_push_float): Remove. | |
15080 | (ppc64_sysv_abi_push_val): New function. | |
15081 | (ppc64_sysv_abi_push_integer): Likewise. | |
15082 | (ppc64_sysv_abi_push_freg): Likewise. | |
15083 | (ppc64_sysv_abi_push_vreg): Likewise. | |
15084 | (ppc64_sysv_abi_push_param): Likewise. | |
15085 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
15086 | (ppc64_sysv_abi_return_value_base): New function. | |
15087 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
15088 | ||
15089 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> | |
15090 | ||
15091 | * NEWS: Document new target powerpc64le-*-linux*. | |
15092 | ||
15093 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> | |
15094 | ||
15095 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
15096 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
15097 | core dumps. | |
15098 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
15099 | register set used in ELF core dumps. Add floating-point register set. | |
15100 | ||
15101 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> | |
15102 | ||
15103 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite | |
15104 | dwarf2_to_gdb[] table using symbolic constants. Adjust | |
15105 | penultimate entry from number representing the PC register | |
15106 | to symbolic constant representing the MDR register. Add | |
15107 | constant for the PC register to the end of the table. | |
15108 | ||
15109 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> | |
15110 | ||
15111 | * bsd-kvm.c: Include <sys/param.h> | |
15112 | ||
15113 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> | |
15114 | ||
15115 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
15116 | ||
15117 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> | |
15118 | ||
15119 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
15120 | ||
15121 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> | |
15122 | ||
15123 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
15124 | ||
15125 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> | |
15126 | ||
15127 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
15128 | the sigreturn register save area only if the syscall is | |
15129 | sigreturn. | |
15130 | ||
15131 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> | |
15132 | ||
15133 | * valops.c (value_slice): Minor reformatting. | |
15134 | ||
15135 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> | |
15136 | ||
15137 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
15138 | ||
15139 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> | |
15140 | ||
15141 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
15142 | New static globals. | |
15143 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
15144 | (ada_ignore_descriptive_types_p): New static global. | |
15145 | (find_parallel_type_by_descriptive_type): Return immediately | |
15146 | if ada_ignore_descriptive_types_p is set. | |
15147 | (_initialize_ada_language): Register new commands "maintenance | |
15148 | set ada", "maintenance show ada", "maintenance set ada | |
15149 | ignore-descriptive-types" and "maintenance show ada | |
15150 | ignore-descriptive-types". | |
15151 | * NEWS: Add entry for new "maint ada set/show | |
15152 | ignore-descriptive-types" commands. | |
15153 | ||
15154 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> | |
15155 | ||
15156 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
15157 | for all threads. | |
15158 | ||
15159 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
15160 | ||
15161 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
15162 | "ui-out.h". | |
15163 | ||
15164 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
15165 | ||
15166 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
15167 | New function. | |
15168 | (print_range): Add parameter bounds_prefered_p. If not set, | |
15169 | try printing range types using the name of their base type. | |
15170 | (print_range_type): Add parameter bounds_prefered_p. | |
15171 | Use it in call to print_range. | |
15172 | (print_array_type, ada_print_type): Update calls to print_range | |
15173 | and print_range_type. | |
15174 | ||
15175 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
15176 | ||
15177 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
15178 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
15179 | Remove declaration. | |
15180 | ||
15181 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
15182 | ||
15183 | * ada-typeprint.c (print_range): Add missing empty line | |
15184 | after local declaration. | |
15185 | ||
15186 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
15187 | ||
15188 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
15189 | target type for as long as it is a TYPE_CODE_RANGE. | |
15190 | ||
15191 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> | |
15192 | ||
15193 | * procfs.c (procfs_make_note_section): Remove assertion and | |
15194 | associated comment. | |
15195 | ||
15196 | 2014-01-24 Yao Qi <yao@codesourcery.com> | |
15197 | ||
15198 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
15199 | * corelow.c (get_core_siginfo): Likewise. | |
15200 | ||
15201 | 2014-01-24 Yao Qi <yao@codesourcery.com> | |
15202 | ||
15203 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
15204 | ULONGEST. Don't check 'len' is negative. | |
15205 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
15206 | ||
15207 | 2014-01-23 Tom Tromey <tromey@redhat.com> | |
15208 | ||
15209 | PR python/16485: | |
15210 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
15211 | Handle exception from frame.block. | |
15212 | (FrameVars.fetch_frame_locals): Likewise. | |
15213 | ||
15214 | 2014-01-23 Tom Tromey <tromey@redhat.com> | |
15215 | ||
15216 | PR python/16487: | |
15217 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
15218 | on a NULL pointer. Move "goto error" to correct place. | |
15219 | ||
15220 | 2014-01-23 Tom Tromey <tromey@redhat.com> | |
15221 | ||
15222 | PR python/16491: | |
15223 | * python/py-framefilter.c (apply_frame_filter): Call | |
15224 | ensure_python_env after computing gdbarch. | |
15225 | ||
15226 | 2014-01-23 Yao Qi <yao@codesourcery.com> | |
15227 | ||
15228 | * target.c (raw_memory_xfer_partial): Change argument type | |
15229 | from void * to gdb_byte *. | |
15230 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
15231 | ||
15232 | 2014-01-22 Doug Evans <dje@google.com> | |
15233 | ||
15234 | New gdbserver option --debug-format=timestamp. | |
15235 | * NEWS: Mention it. | |
15236 | ||
15237 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> | |
15238 | ||
15239 | * syscalls/s390x-linux.xml: New file. | |
15240 | * syscalls/s390-linux.xml: New file. | |
15241 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
15242 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
15243 | (op_svc): New enum value for SVC opcode. | |
15244 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
15245 | (s390_linux_get_syscall_number): New function. | |
15246 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
15247 | syscall xml file name. | |
15248 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
15249 | "s390-linux.xml" and "s390x-linux.xml". | |
15250 | * NEWS: Announce new feature. | |
15251 | ||
15252 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> | |
15253 | ||
15254 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
15255 | ||
15256 | 2014-01-22 Pedro Alves <palves@redhat.com> | |
15257 | ||
15258 | * xtensa-config.c: Include defs.h. | |
15259 | ||
15260 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> | |
15261 | ||
15262 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
15263 | reference. | |
15264 | ||
15265 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> | |
15266 | ||
15267 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
15268 | documentation a bit. | |
15269 | ||
15270 | 2014-01-21 Roland McGrath <mcgrathr@google.com> | |
15271 | ||
15272 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
15273 | * configure: Regenerate. | |
15274 | * aclocal.m4: Regenerate. | |
15275 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
15276 | New substituted variables. | |
15277 | (install-strip): New target. | |
15278 | (INSTALL_SCRIPT): New substituted variable. | |
15279 | (FLAGS_TO_PASS): Add it. | |
15280 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
15281 | $(INSTALL_PROGRAM) for gcore. | |
15282 | ||
15283 | 2014-01-20 Tom Tromey <tromey@redhat.com> | |
15284 | ||
15285 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
15286 | together. | |
15287 | ||
15288 | 2014-01-20 Tom Tromey <tromey@redhat.com> | |
15289 | ||
15290 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
15291 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
15292 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
15293 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
15294 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
15295 | (struct cmd_list_element) <flags>: Remove. | |
15296 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
15297 | doc_allocated>: New fields. | |
15298 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
15299 | bitfields. | |
15300 | * maint.c (maintenance_do_deprecate): Update. | |
15301 | * top.c (execute_command): Update. | |
15302 | ||
15303 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> | |
15304 | ||
15305 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
15306 | ||
15307 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
15308 | ||
15309 | * Makefile.in (SFILES): Add d-support.c. | |
15310 | (COMMON_OBS): Add d-support.o. | |
15311 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
15312 | d-support.c. | |
15313 | * d-lang.c (parse_call_convention) | |
15314 | (parse_attributes, parse_function_types) | |
15315 | (parse_function_args, parse_type, parse_identifier) | |
15316 | (call_convention_p, d_parse_symbol): Move functions to ... | |
15317 | * d-support.c: ... New file. | |
15318 | ||
15319 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
15320 | ||
15321 | * d-lang.h (d_parse_symbol): Add declaration. | |
15322 | * d-lang.c (extract_identifiers) | |
15323 | (extract_type_info): Remove functions. | |
15324 | (parse_call_convention, parse_attributes) | |
15325 | (parse_function_types, parse_function_args) | |
15326 | (parse_type, parse_identifier, call_convention_p) | |
15327 | (d_parse_symbol): New functions. | |
15328 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
15329 | ||
15330 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
15331 | ||
15332 | * d-lang.h (struct builtin_d_type): New data type. | |
15333 | (builtin_d_type): Add declaration. | |
15334 | * d-lang.c (d_language_arch_info, build_d_types) | |
15335 | (builtin_d_type): New functions. | |
15336 | (enum d_primitive_types): New data type. | |
15337 | (d_language_defn): Change c_language_arch_info to | |
15338 | d_language_arch_info. | |
15339 | (d_type_data): New static variable. | |
15340 | (_initialize_d_language): Initialize d_type_data. | |
15341 | ||
15342 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
15343 | ||
15344 | * d-lang.h (d_main_name): Add declaration. | |
15345 | * d-lang.c (d_main_name): New function. | |
15346 | * symtab.c (find_main_name): Add call to d_main_name. | |
15347 | ||
15348 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
15349 | ||
15350 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
15351 | macro_expansion_no. | |
15352 | ||
15353 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> | |
15354 | ||
15355 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
15356 | ||
15357 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> | |
15358 | ||
15359 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
15360 | gdb_exception" declaration. | |
15361 | * remote.c (getpkt_or_notif_sane): Likewise. | |
15362 | ||
15363 | 2014-01-17 Doug Evans <dje@google.com> | |
15364 | ||
15365 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
15366 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
15367 | (delim_string_to_char_ptr_vec): New function. | |
15368 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
15369 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
15370 | ||
15371 | 2014-01-17 Doug Evans <dje@google.com> | |
15372 | ||
15373 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
15374 | and moved here ... | |
15375 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
15376 | #include "common-utils.h". | |
15377 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
15378 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
15379 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
15380 | (MACH_CHECK_ERROR): Update. | |
15381 | ||
15382 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> | |
15383 | ||
15384 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
15385 | comments. | |
15386 | * gdbarch.h: Regenerate. | |
15387 | ||
15388 | 2014-01-16 Tom Tromey <tromey@redhat.com> | |
15389 | ||
15390 | * value.c (struct value) <regnum>: Move earlier. | |
15391 | ||
15392 | 2014-01-16 Tom Tromey <tromey@redhat.com> | |
15393 | ||
15394 | * remote.c (extended_remote_create_inferior): Rename from | |
15395 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
15396 | old implementation. | |
15397 | ||
15398 | 2014-01-16 Pedro Alves <palves@redhat.com> | |
15399 | ||
15400 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
15401 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
15402 | the backchain. | |
15403 | ||
15404 | 2014-01-16 Doug Evans <dje@google.com> | |
15405 | ||
15406 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
15407 | ||
15408 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15409 | ||
15410 | * btrace.h (btrace_thread_flag): New. | |
15411 | (struct btrace_thread_info) <flags>: New. | |
15412 | * record-btrace.c (record_btrace_resume_thread) | |
15413 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
15414 | (btrace_step_stopped, record_btrace_start_replaying) | |
15415 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
15416 | (record_btrace_find_resume_thread): New. | |
15417 | (record_btrace_resume, record_btrace_wait): Extend. | |
15418 | (record_btrace_can_execute_reverse): New. | |
15419 | (record_btrace_open): Fail in non-stop mode. | |
15420 | (record_btrace_set_replay): Split into this, ... | |
15421 | (record_btrace_stop_replaying): ... this, ... | |
15422 | (record_btrace_clear_histories): ... and this. | |
15423 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
15424 | * NEWS: Announce it. | |
15425 | ||
15426 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15427 | ||
15428 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
15429 | (forward_target_decr_pc_after_break) | |
15430 | (target_decr_pc_after_break): New. | |
15431 | * target.c (forward_target_decr_pc_after_break) | |
15432 | (target_decr_pc_after_break): New. | |
15433 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
15434 | instead of gdbarch_decr_pc_after_break. | |
15435 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
15436 | instead of gdbarch_decr_pc_after_break. | |
15437 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
15438 | instead of gdbarch_decr_pc_after_break. | |
15439 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
15440 | instead of gdbarch_decr_pc_after_break. | |
15441 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
15442 | instead of gdbarch_decr_pc_after_break. | |
15443 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
15444 | instead of gdbarch_decr_pc_after_break. | |
15445 | ||
15446 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15447 | ||
15448 | * btrace.c: Include regcache.h. | |
15449 | (btrace_add_pc): New. | |
15450 | (btrace_enable): Call btrace_add_pc. | |
15451 | (btrace_is_empty): New. | |
15452 | * btrace.h (btrace_is_empty): New. | |
15453 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
15454 | btrace_is_empty. | |
15455 | ||
15456 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15457 | ||
15458 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
15459 | Support delta reads. | |
15460 | (linux_disable_btrace): Change return type. | |
15461 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
15462 | and return type to allow error reporting. Update users. | |
15463 | (linux_disable_btrace): Change return type. Update users. | |
15464 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
15465 | New. | |
15466 | (btrace_error): New. | |
15467 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
15468 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
15469 | the current trace. | |
15470 | (btrace_stitch_trace, btrace_clear_history): New. | |
15471 | (btrace_fetch): Read delta trace, return if replaying. | |
15472 | (btrace_clear): Move clear history code to btrace_clear_history. | |
15473 | (parse_xml_btrace): Throw an error if parsing failed. | |
15474 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
15475 | and return type to allow error reporting. | |
15476 | (target_read_btrace): Change parameters and return type to allow | |
15477 | error reporting. | |
15478 | * target.c (target_read_btrace): Update. | |
15479 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
15480 | errors on. | |
15481 | * NEWS: Announce it. | |
15482 | ||
15483 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15484 | ||
15485 | * record.h (record_btrace_frame_unwind) | |
15486 | (record_btrace_tailcall_frame_unwind): New declarations. | |
15487 | * dwarf2-frame: Include record.h | |
15488 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
15489 | * record-btrace.c: Include hashtab.h. | |
15490 | (btrace_get_bfun_name): New. | |
15491 | (btrace_call_history): Call btrace_get_bfun_name. | |
15492 | (struct btrace_frame_cache): New. | |
15493 | (bfcache): New. | |
15494 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
15495 | (btrace_get_frame_function): New. | |
15496 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
15497 | (record_btrace_frame_this_id): Compute own id. | |
15498 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
15499 | for all other registers. | |
15500 | (record_btrace_frame_sniffer): Detect btrace frames. | |
15501 | (record_btrace_tailcall_frame_sniffer): New. | |
15502 | (record_btrace_frame_dealloc_cache): New. | |
15503 | (record_btrace_frame_unwind): Add new functions. | |
15504 | (record_btrace_tailcall_frame_unwind): New. | |
15505 | (_initialize_record_btrace): Allocate cache. | |
15506 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
15507 | * NEWS: Announce it. | |
15508 | ||
15509 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15510 | ||
15511 | * record-btrace.c (record_btrace_set_replay) | |
15512 | (record_btrace_goto_begin, record_btrace_goto_end) | |
15513 | (record_btrace_goto): New. | |
15514 | (init_record_btrace_ops): Initialize them. | |
15515 | * NEWS: Announce it. | |
15516 | ||
15517 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15518 | ||
15519 | * record-btrace.c (record_btrace_find_new_threads) | |
15520 | (record_btrace_thread_alive): New. | |
15521 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
15522 | to_thread_alive. | |
15523 | ||
15524 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15525 | ||
15526 | * record-btrace.c (record_btrace_resume): New. | |
15527 | (record_btrace_wait): New. | |
15528 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
15529 | ||
15530 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15531 | ||
15532 | * record-btrace.c (record_btrace_xfer_partial) | |
15533 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
15534 | (record_btrace_allow_memory_access): New. | |
15535 | (init_record_btrace_ops): Initialize new methods. | |
15536 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
15537 | that this memory is not available. | |
15538 | ||
15539 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15540 | ||
15541 | * target.h (target_ops) <to_insert_breakpoint> | |
15542 | <to_remove_breakpoint>: Add target_ops parameter. | |
15543 | (forward_target_insert_breakpoint): New. | |
15544 | (forward_target_remove_breakpoint): New. | |
15545 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
15546 | Add target_ops parameter. | |
15547 | * target.c (target_insert_breakpoint): Split into this and ... | |
15548 | (forward_target_insert_breakpoint): ... this. | |
15549 | (target_remove_breakpoint): Split into this and ... | |
15550 | (forward_target_remove_breakpoint): ... this. | |
15551 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
15552 | Call forward_target_insert_breakpoint. | |
15553 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
15554 | Call forward_target_remove_breakpoint. | |
15555 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
15556 | and to_remove_breakpoint. | |
15557 | * corelow.c (ignore): Add target_ops parameter. | |
15558 | * exec.c (ignore): Add target_ops parameter. | |
15559 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
15560 | Add target_ops parameter. | |
15561 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
15562 | Add target_ops parameter. | |
15563 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
15564 | Add target_ops parameter. | |
15565 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
15566 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
15567 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
15568 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
15569 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
15570 | Update users. | |
15571 | (record_full_beneath_to_insert_breakpoint_ops) | |
15572 | (record_full_beneath_to_remove_breakpoint_ops) | |
15573 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
15574 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
15575 | tmp_to_remove_breakpoint_ops, | |
15576 | record_full_beneath_to_insert_breakpoint_ops, and | |
15577 | record_full_beneath_to_remove_breakpoint_ops. | |
15578 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
15579 | (m32r_remove_breakpoint): Add target_ops parameter. | |
15580 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
15581 | Add target_ops parameter. | |
15582 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
15583 | Add target_ops parameter. | |
15584 | ||
15585 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
15586 | Markus Metzger <markus.t.metzger@intel.com> | |
15587 | ||
15588 | * record-btrace.c: Include frame-unwind.h. | |
15589 | (record_btrace_frame_unwind_stop_reason) | |
15590 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
15591 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
15592 | New. | |
15593 | (init_record_btrace_ops): Install it. | |
15594 | ||
15595 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
15596 | ||
15597 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
15598 | get_prev_frame_1. | |
15599 | ||
15600 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
15601 | ||
15602 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
15603 | earlier. | |
15604 | ||
15605 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> | |
15606 | ||
15607 | * frame-unwind.c: Include target.h. | |
15608 | (frame_unwind_try_unwinder): New function with code from ... | |
15609 | (frame_unwind_find_by_frame): ... here. New variable | |
15610 | unwinder_from_target, call also target_get_unwinder) | |
15611 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
15612 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
15613 | * target.h (struct target_ops): New fields to_get_unwinder and | |
15614 | to_get_tailcall_unwinder. | |
15615 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
15616 | ||
15617 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15618 | ||
15619 | * record-btrace.c (record_btrace_fetch_registers) | |
15620 | (record_btrace_store_registers) | |
15621 | (record_btrace_to_prepare_to_store): New. | |
15622 | (init_record_btrace_ops): Add the above. | |
15623 | ||
15624 | 2014-01-16 Tom Tromey <tromey@redhat.com> | |
15625 | ||
15626 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
15627 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
15628 | argument. | |
15629 | (target_prepare_to_store): Add argument. | |
15630 | * target.c (debug_to_prepare_to_store): Add argument. | |
15631 | (update_current_target): Update. | |
15632 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
15633 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
15634 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
15635 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
15636 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
15637 | argument. | |
15638 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
15639 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
15640 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
15641 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
15642 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
15643 | ||
15644 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15645 | ||
15646 | * btrace.h (replay) <replay>: New. | |
15647 | (btrace_is_replaying): New. | |
15648 | * btrace.c (btrace_clear): Free replay iterator. | |
15649 | (btrace_is_replaying): New. | |
15650 | * record-btrace.c (record_btrace_is_replaying): New. | |
15651 | (record_btrace_info): Print insn number if replaying. | |
15652 | (record_btrace_insn_history): Start at replay position. | |
15653 | (record_btrace_call_history): Start at replay position. | |
15654 | (init_record_btrace_ops): Init to_record_is_replaying. | |
15655 | ||
15656 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15657 | ||
15658 | * record-btrace.c (record_btrace_insn_history_range): Include | |
15659 | end. | |
15660 | (record_btrace_insn_history_from): Adjust range. | |
15661 | (record_btrace_call_history_range): Include | |
15662 | end. | |
15663 | (record_btrace_call_history_from): Adjust range. | |
15664 | * NEWS: Announce changes. | |
15665 | ||
15666 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15667 | ||
15668 | * record.h (enum record_print_flag) | |
15669 | <record_print_indent_calls>: New. | |
15670 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
15671 | (_initialize_record): Document /c modifier. | |
15672 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
15673 | Reorder fields. Optionally indent the function name. Update | |
15674 | all users. | |
15675 | * NEWS: Announce changes. | |
15676 | ||
15677 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15678 | ||
15679 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
15680 | ||
15681 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15682 | ||
15683 | * btrace.c (ftrace_new_function): Start counting at one. | |
15684 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
15685 | and insns. | |
15686 | * NEWS: Announce it. | |
15687 | ||
15688 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15689 | ||
15690 | * record-btrace.c (btrace_call_history_insn_range): Print | |
15691 | insn range as [begin, end]. | |
15692 | ||
15693 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15694 | ||
15695 | * btrace.h (struct btrace_func_link): New. | |
15696 | (enum btrace_function_flag): New. | |
15697 | (struct btrace_inst): Rename to ... | |
15698 | (struct btrace_insn): ...this. Update all users. | |
15699 | (struct btrace_func) <ibegin, iend>: Remove. | |
15700 | (struct btrace_func_link): New. | |
15701 | (struct btrace_func): Rename to ... | |
15702 | (struct btrace_function): ...this. Update all users. | |
15703 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
15704 | (number, level, flags>: New. | |
15705 | (struct btrace_insn_iterator): Rename to ... | |
15706 | (struct btrace_insn_history): ...this. | |
15707 | Update all users. | |
15708 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
15709 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
15710 | (struct btrace_target_info) <begin, end, level> | |
15711 | <insn_history, call_history>: New. | |
15712 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
15713 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
15714 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
15715 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
15716 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
15717 | (btrace_find_function_by_number, btrace_set_insn_history) | |
15718 | (btrace_set_call_history): New. | |
15719 | * btrace.c (btrace_init_insn_iterator) | |
15720 | (btrace_init_func_iterator, compute_itrace): Remove. | |
15721 | (ftrace_print_function_name, ftrace_print_filename) | |
15722 | (ftrace_skip_file): Change | |
15723 | parameter to const. | |
15724 | (ftrace_init_func): Remove. | |
15725 | (ftrace_debug): Use new btrace_function fields. | |
15726 | (ftrace_function_switched): Also consider gaining and | |
15727 | losing symbol information). | |
15728 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
15729 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
15730 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
15731 | New. | |
15732 | (ftrace_new_function): Move. Remove debug print. | |
15733 | (ftrace_update_lines, ftrace_update_insns): New. | |
15734 | (ftrace_update_function): Check for call, ret, and jump. | |
15735 | (compute_ftrace): Renamed to ... | |
15736 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
15737 | stack. | |
15738 | (btrace_fetch, btrace_clear): Updated. | |
15739 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
15740 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
15741 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
15742 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
15743 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
15744 | (btrace_find_function_by_number, btrace_set_insn_history) | |
15745 | (btrace_set_call_history): New. | |
15746 | * record-btrace.c (require_btrace): Use new btrace thread | |
15747 | info fields. | |
15748 | (record_btrace_info, btrace_insn_history) | |
15749 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
15750 | Use new btrace thread info fields and new iterator. | |
15751 | (btrace_func_history_src_line): Rename to ... | |
15752 | (btrace_call_history_src_line): ...this. Use new btrace | |
15753 | thread info fields. | |
15754 | (btrace_func_history): Rename to ... | |
15755 | (btrace_call_history): ...this. Use new btrace thread info | |
15756 | fields and new iterator. | |
15757 | (record_btrace_call_history, record_btrace_call_history_range): | |
15758 | Use new btrace thread info fields and new iterator. | |
15759 | ||
15760 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15761 | ||
15762 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
15763 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
15764 | ||
15765 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15766 | ||
15767 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
15768 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
15769 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
15770 | to gdbarch. | |
15771 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
15772 | (i386_insn_is_jump, i386_jmp_p): New. | |
15773 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
15774 | insn_is_jump to gdbarch. | |
15775 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
15776 | * gdbarch.h: Regenerated. | |
15777 | * gdbarch.c: Regenerated. | |
15778 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
15779 | (default_insn_is_jump): New. | |
15780 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
15781 | (default_insn_is_jump): New. | |
15782 | ||
15783 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15784 | ||
15785 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
15786 | Change to ... | |
15787 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
15788 | (btrace_read_type) <btrace_read_new>: Change to ... | |
15789 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
15790 | ||
15791 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> | |
15792 | ||
15793 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
15794 | previous iteration. | |
15795 | ||
15796 | 2014-01-15 Doug Evans <dje@google.com> | |
15797 | ||
15798 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
15799 | uint32_t. | |
15800 | ||
15801 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15802 | ||
15803 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
15804 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
15805 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
15806 | (set_objfile_main_name): New function. | |
15807 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
15808 | language_of_main>: New fields. | |
15809 | (set_objfile_main_name): Declare. | |
15810 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
15811 | name and language. | |
15812 | (set_main_name): Now static. | |
15813 | (get_main_info): Add comment. | |
15814 | * symtab.h (set_main_name): Don't declare. | |
15815 | ||
15816 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15817 | ||
15818 | * symtab.c (main_progspace_key): New global. | |
15819 | (struct main_info): New. | |
15820 | (name_of_main, language_of_main): Remove. | |
15821 | (get_main_info, main_info_cleanup): New function. | |
15822 | (set_main_name, main_name, main_language): Use get_main_info. | |
15823 | (_initialize_symtab): Initialize main_progspace_key. | |
15824 | ||
15825 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15826 | ||
15827 | * dbxread.c (process_one_symbol): Update. | |
15828 | * dwarf2read.c (read_partial_die): Update. | |
15829 | * symfile.c (set_initial_language): Call main_language. | |
15830 | * symtab.c (language_of_main): Now static. | |
15831 | (set_main_name): Add 'lang' parameter. | |
15832 | (find_main_name): Update. | |
15833 | (main_language): New function. | |
15834 | (symtab_observer_executable_changed): Update. | |
15835 | * symtab.h (set_main_name): Update. | |
15836 | (language_of_main): Remove. | |
15837 | (main_language): Declare. | |
15838 | ||
15839 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15840 | ||
15841 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
15842 | Update. | |
15843 | * objfiles.h (struct entry_point) <initialized>: New field. | |
15844 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
15845 | (struct objfile) <ei>: ...here. Remove. | |
15846 | * objfiles.c (entry_point_address_query): Update. | |
15847 | ||
15848 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15849 | ||
15850 | * objfiles.c (entry_point_address_query): Relocate entry point | |
15851 | address. | |
15852 | (objfile_relocate1): Do not relocate entry point address. | |
15853 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
15854 | <the_bfd_section_index>: New field. | |
15855 | * symfile.c (init_entry_point_info): Find the entry point's | |
15856 | section. | |
15857 | ||
15858 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15859 | ||
15860 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
15861 | ||
15862 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
15863 | ||
15864 | * NEWS: Add note on improved process record-replay on | |
15865 | arm*-linux* targets. | |
15866 | ||
15867 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
15868 | ||
15869 | * arm-tdep.c (enum arm_record_result): New enum. | |
15870 | (arm_record_unsupported_insn): New function. | |
15871 | (arm_record_coproc_data_proc): Removed. | |
15872 | (thumb2_record_ld_st_multiple): New function. | |
15873 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
15874 | (thumb2_record_data_proc_sreg_mimm): New function. | |
15875 | (thumb2_record_ps_dest_generic): New function. | |
15876 | (thumb2_record_branch_misc_cntrl): New function. | |
15877 | (thumb2_record_str_single_data): New function. | |
15878 | (thumb2_record_ld_mem_hints): New function. | |
15879 | (thumb2_record_ld_word): New function. | |
15880 | (thumb2_record_lmul_lmla_div): New function. | |
15881 | (thumb2_record_decode_insn_handler): New function. | |
15882 | (decode_insn): Add thumb32 instruction handlers. | |
15883 | ||
15884 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
15885 | ||
15886 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
15887 | (struct arm_linux_record_tdep): Declare. | |
15888 | (arm_canonicalize_syscall): New function. | |
15889 | (arm_all_but_pc_registers_record): New function. | |
15890 | (arm_linux_syscall_record): New function. | |
15891 | (arm_linux_init_abi): Add syscall recording constructs. | |
15892 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
15893 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
15894 | decoding. | |
15895 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
15896 | <arm_syscall_record>: New field. | |
15897 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
15898 | gdb_target_obs. | |
15899 | ||
15900 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
15901 | ||
15902 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
15903 | register for push instruction recording. | |
15904 | ||
15905 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
15906 | ||
15907 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
15908 | error while recording ldm, ldmia and pop instructions. | |
15909 | ||
15910 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> | |
15911 | ||
15912 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
15913 | ||
15914 | 2014-01-15 Pedro Alves <palves@redhat.com> | |
15915 | ||
15916 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
15917 | (go32_resume, go32_fetch_registers, store_register) | |
15918 | (go32_store_registers, go32_prepare_to_store) | |
15919 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
15920 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
15921 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
15922 | declarations. | |
15923 | ||
15924 | 2014-01-15 Tom Tromey <tromey@redhat.com> | |
15925 | ||
15926 | * target.h (async_callback_ftype): New typedef. | |
15927 | (struct target_ops) <to_async>: Use it. | |
15928 | ||
15929 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> | |
15930 | ||
15931 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
15932 | braces for single-statement if block. | |
15933 | ||
15934 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> | |
15935 | ||
15936 | * python/py-type.c (convert_field): Add missing empty line | |
15937 | after declarations. | |
15938 | ||
15939 | 2014-01-14 Doug Evans <dje@google.com> | |
15940 | ||
15941 | * symfile.h (expand_symtabs_matching): Renamed from | |
15942 | expand_partial_symbol_names. Update prototype. | |
15943 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15944 | * symfile.c (expand_symtabs_matching): Renamed from | |
15945 | expand_partial_symbol_names. New args file_matcher, kind. | |
15946 | Rename arg fun to symbol_matcher. | |
15947 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15948 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
15949 | ada_expand_partial_symbol_name. | |
15950 | (ada_make_symbol_completion_list): Update to call | |
15951 | expand_symtabs_matching. | |
15952 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
15953 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
15954 | call map_symbol_filenames. | |
15955 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
15956 | (search_symbols): Call expand_symtabs_matching. | |
15957 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
15958 | (default_make_symbol_completion_list_break_on): Update to call | |
15959 | expand_symtabs_matching. | |
15960 | (make_source_files_completion_list): Update to call | |
15961 | map_symbol_filenames. | |
15962 | ||
15963 | 2014-01-14 Doug Evans <dje@google.com> | |
15964 | ||
15965 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
15966 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
15967 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
15968 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15969 | * symfile.c (expand_partial_symbol_names): Update to use | |
15970 | expand_symtabs_symbol_matcher_ftype. | |
15971 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
15972 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15973 | Arg name_matcher renamed to symbol_matcher. | |
15974 | * psymtab.c (recursively_search_psymtabs): Update to use | |
15975 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
15976 | sym_matcher. | |
15977 | (expand_symtabs_matching_via_partial): Update to use | |
15978 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15979 | Arg name_matcher renamed to symbol_matcher. | |
15980 | ||
15981 | 2014-01-14 Doug Evans <dje@google.com> | |
15982 | ||
15983 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
15984 | (map_partial_symbol_filenames): Ditto. | |
15985 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
15986 | (map_partial_symbol_filenames): Ditto. | |
15987 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
15988 | (map_partial_symbol_filenames): Ditto. | |
15989 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
15990 | (map_partial_symbol_filenames): Ditto. | |
15991 | * symtab.c: Delete #include "psymtab.h". | |
15992 | ||
15993 | 2014-01-14 Pedro Alves <palves@redhat.com> | |
15994 | Tom Tromey <tromey@redhat.com> | |
15995 | ||
15996 | * infrun.c (use_displaced_stepping): Use find_record_target | |
15997 | instead of RECORD_IS_USED. | |
15998 | (adjust_pc_after_break): Use record_full_is_used instead of | |
15999 | RECORD_IS_USED. | |
16000 | * record-btrace.c (record_btrace_open): Call record_preopen | |
16001 | instead of checking RECORD_IS_USED. | |
16002 | * record-full.c (record_full_shortname) | |
16003 | (record_full_core_shortname): New globals. | |
16004 | (record_full_is_used): New function. | |
16005 | (find_full_open): Call record_preopen instead of checking | |
16006 | RECORD_IS_USED. | |
16007 | (init_record_full_ops): Set the target's shortname to | |
16008 | record_full_shortname. | |
16009 | (init_record_full_core_ops): Set the target's shortname to | |
16010 | record_full_core_shortname. | |
16011 | * record-full.h (record_full_is_used): Declare. | |
16012 | * record.c (find_record_target): Make extern. | |
16013 | (record_preopen): New function. | |
16014 | * record.h (RECORD_IS_USED): Delete macro. | |
16015 | (find_record_target, record_preopen): Declare functions. | |
16016 | ||
16017 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
16018 | ||
16019 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
16020 | 'len''s type to ULONGEST. | |
16021 | (core_xfer_shared_libraries_aix): Likewise. | |
16022 | * gdbarch.c, gdbarch.h: Regenerated. | |
16023 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
16024 | Change type of 'len' to ULONGEST. | |
16025 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
16026 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
16027 | ||
16028 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
16029 | ||
16030 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
16031 | type of 'len' to ULONGEST. | |
16032 | (linux_xfer_osdata_processgroups): Likewise. | |
16033 | (linux_xfer_osdata_threads): Likewise. | |
16034 | (linux_xfer_osdata_fds): Likewise. | |
16035 | (linux_xfer_osdata_isockets): Likewise. | |
16036 | (linux_xfer_osdata_shm): Likewise. | |
16037 | (linux_xfer_osdata_sem): Likewise. | |
16038 | (linux_xfer_osdata_msg): Likewise. | |
16039 | (linux_common_xfer_osdata): Likewise. | |
16040 | (struct osdata_type) <getter>: Likewise. | |
16041 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
16042 | the declaration. | |
16043 | ||
16044 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
16045 | ||
16046 | * target.h (target_xfer_partial_ftype): Update. | |
16047 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
16048 | ULONGEST. | |
16049 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
16050 | argument 'len' to ULONGEST. | |
16051 | * auxv.c (procfs_xfer_auxv): Likewise. | |
16052 | (ld_so_xfer_auxv): Likewise. | |
16053 | (memory_xfer_auxv): Likewise. | |
16054 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
16055 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
16056 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
16057 | * corelow.c (core_xfer_partial): Likewise. | |
16058 | * ctf.c (ctf_xfer_partial): Likewise. | |
16059 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
16060 | '%u'. | |
16061 | (darwin_read_dyld_info): Likewise. | |
16062 | (darwin_xfer_partial): Likewise. | |
16063 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
16064 | (exec_xfer_partial): Likewise. | |
16065 | * exec.h (section_table_xfer_memory_partial): Update | |
16066 | declaration. | |
16067 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
16068 | instead of plongest. | |
16069 | (gnu_xfer_partial): Likewise. | |
16070 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
16071 | (ia64_hpux_xfer_solib_got): Likewise. | |
16072 | (ia64_hpux_xfer_partial): Likewise. | |
16073 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
16074 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
16075 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
16076 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
16077 | (linux_nat_xfer_partial): Likewise. | |
16078 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
16079 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
16080 | * monitor.c (monitor_xfer_memory): Likewise. | |
16081 | (monitor_xfer_partial): Likewise. | |
16082 | * procfs.c (procfs_xfer_partial): Likewise. | |
16083 | * record-full.c (record_full_xfer_partial): Likewise. | |
16084 | (record_full_core_xfer_partial): Likewise. | |
16085 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
16086 | instead of plongest. | |
16087 | (gdbsim_xfer_partial): Likewise. | |
16088 | * remote.c (remote_xfer_partial): Likewise. | |
16089 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
16090 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
16091 | declaration. | |
16092 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
16093 | (rs6000_xfer_shared_libraries): Likewise. | |
16094 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
16095 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
16096 | (sparc_xfer_partial): Likewise. | |
16097 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
16098 | (spu_xfer_partial): Likewise. | |
16099 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
16100 | * target.c (target_read_live_memory): Likewise. | |
16101 | (memory_xfer_live_readonly_partial): Likewise. | |
16102 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
16103 | (target_xfer_partial, default_xfer_partial): Likewise. | |
16104 | (current_xfer_partial): Likewise. | |
16105 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
16106 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
16107 | pulongest instead of plongest. | |
16108 | (windows_xfer_partial): Likewise. | |
16109 | (windows_xfer_shared_libraries): Likewise. | |
16110 | ||
16111 | 2014-01-14 Yao Qi <yao@codesourcery.com> | |
16112 | ||
16113 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
16114 | target_xfer_partial_ftype. | |
16115 | ||
16116 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> | |
16117 | ||
16118 | PR python/15464 | |
16119 | PR python/16113 | |
16120 | * valops.c (value_struct_elt_bitpos): New function | |
16121 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
16122 | object to 'None' if the field name is an empty string (""). | |
16123 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
16124 | attribute to look for a field when 'name' is 'None'. | |
16125 | (get_field_type): New function | |
16126 | ||
16127 | 2014-01-13 Doug Evans <dje@google.com> | |
16128 | ||
16129 | PR symtab/16426 | |
16130 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
16131 | (try_open_dwop_file): Ditto. | |
16132 | * gdb_bfd.c: #include "vec.h". | |
16133 | (bfdp): New typedef. | |
16134 | (struct gdb_bfd_data): New member included_bfds. | |
16135 | (gdb_bfd_unref): Unref all included bfds. | |
16136 | (gdb_bfd_record_inclusion): New function. | |
16137 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
16138 | ||
16139 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16140 | ||
16141 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
16142 | ||
16143 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16144 | ||
16145 | * defs.h (use_windows): Remove. | |
16146 | * gdb.c (main): Update. | |
16147 | * main.c (captured_main, gdb_main): Update. | |
16148 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
16149 | * top.c (use_windows): Remove. | |
16150 | ||
16151 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16152 | ||
16153 | * defs.h (deprecated_flush_hook): Remove. | |
16154 | ||
16155 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> | |
16156 | ||
16157 | PR threads/16216 | |
16158 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
16159 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
16160 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
16161 | (try_thread_db_load_from_sdir): Update caller. | |
16162 | (try_thread_db_load_from_dir): Move it there from here. | |
16163 | ||
16164 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> | |
16165 | ||
16166 | * regformats/regdat.sh: Always rewrite the register file. | |
16167 | ||
16168 | 2014-01-13 Pedro Alves <palves@redhat.com> | |
16169 | ||
16170 | * Makefile.in (CHECK_HEADERS): New variable. | |
16171 | (check-headers:): New rule. | |
16172 | ||
16173 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16174 | ||
16175 | * cli/cli-setshow.c (do_set_command): Update. | |
16176 | * defs.h (deprecated_set_hook): Remove. | |
16177 | * top.c (deprecated_set_hook): Remove. | |
16178 | ||
16179 | 2014-01-13 Pedro Alves <palves@redhat.com> | |
16180 | ||
16181 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
16182 | the tracepoint if the PC is a pseudo-register. | |
16183 | ||
16184 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16185 | ||
16186 | * defs.h (XCALLOC): Remove. | |
16187 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
16188 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
16189 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
16190 | * elfread.c (elf_symfile_segments): Likewise. | |
16191 | (elf_symfile_segments): Likewise. | |
16192 | * gdbtypes.c (copy_type_recursive): Likewise. | |
16193 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
16194 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
16195 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
16196 | XCALLOC. | |
16197 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
16198 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
16199 | XCALLOC. | |
16200 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
16201 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
16202 | * registry.c (registry_alloc_data): Likewise. | |
16203 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
16204 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
16205 | * serial.c (serial_fdopen_ops): Likewise. | |
16206 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
16207 | XCALLOC. | |
16208 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
16209 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
16210 | not XCALLOC. | |
16211 | ||
16212 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16213 | ||
16214 | * defs.h (XMALLOC): Remove. | |
16215 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
16216 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
16217 | * cli-out.c (struct ui_out *): Likewise. | |
16218 | * cli/cli-dump.c (add_dump_command): Likewise. | |
16219 | (add_dump_command): Likewise. | |
16220 | * complaints.c (get_complaints): Likewise. | |
16221 | (find_complaint): Likewise. | |
16222 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
16223 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
16224 | * gdbarch.sh: Likewise. | |
16225 | * gdbarch.c: Rebuild. | |
16226 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
16227 | * interps.c (interp_new): Likewise. | |
16228 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
16229 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
16230 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
16231 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
16232 | * mi/mi-out.c (mi_out_new): Likewise. | |
16233 | * mi/mi-parse.c (mi_parse): Likewise. | |
16234 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
16235 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
16236 | * observer.c (xalloc_observer_list_node): Likewise. | |
16237 | * regcache.c (regcache_xmalloc_1): Likewise. | |
16238 | * reggroups.c (reggroup_new): Likewise. | |
16239 | (_initialize_reggroup): Likewise. | |
16240 | * registry.c (register_data_with_cleanup): Likewise. | |
16241 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
16242 | * ser-base.c (serial_ttystate): Likewise. | |
16243 | * ser-mingw.c (make_pipe_state): Likewise. | |
16244 | * ser-pipe.c (pipe_open): Likewise. | |
16245 | * serial.c (serial_open): Likewise. | |
16246 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
16247 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
16248 | (tui_alloc_win_info): Likewise. | |
16249 | (tui_add_content_elements): Likewise. | |
16250 | * tui/tui-file.c (tui_file_new): Likewise. | |
16251 | * tui/tui-out.c (tui_out_new): Likewise. | |
16252 | * ui-file.c (mem_file_new): Likewise. | |
16253 | * ui-out.c (push_level): Likewise. | |
16254 | (make_cleanup_ui_out_end): Likewise. | |
16255 | (append_header_to_list): Likewise. | |
16256 | (ui_out_new): Likewise. | |
16257 | * user-regs.c (user_reg_add_builtin): Likewise. | |
16258 | ||
16259 | 2014-01-13 Tom Tromey <tromey@redhat.com> | |
16260 | ||
16261 | * defs.h (XZALLOC): Remove. | |
16262 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
16263 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
16264 | (get_ada_tasks_inferior_data): Likewise. | |
16265 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
16266 | * auxv.c (get_auxv_inferior_data): Likewise. | |
16267 | * bfd-target.c (target_bfd_reopen): Likewise. | |
16268 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
16269 | (deprecated_insert_raw_breakpoint): Likewise. | |
16270 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
16271 | * corelow.c (core_open): Likewise. | |
16272 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
16273 | (darwin_attach_pid): Likewise. | |
16274 | * dummy-frame.c (dummy_frame_push): Likewise. | |
16275 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
16276 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
16277 | * elfread.c (elf_symfile_segments): Likewise. | |
16278 | * eval.c (ptrmath_type_p): Likewise. | |
16279 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
16280 | * gdbtypes.c (alloc_type_arch): Likewise. | |
16281 | (alloc_type_instance): Likewise. | |
16282 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
16283 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
16284 | * inflow.c (get_inflow_inferior_data): Likewise. | |
16285 | * infrun.c (save_infcall_suspend_state): Likewise. | |
16286 | * jit.c (jit_reader_load): Likewise. | |
16287 | (get_jit_objfile_data): Likewise. | |
16288 | (get_jit_program_space_data): Likewise. | |
16289 | (jit_object_open_impl): Likewise. | |
16290 | (jit_symtab_open_impl): Likewise. | |
16291 | (jit_block_open_impl): Likewise. | |
16292 | (jit_frame_sniffer): Likewise. | |
16293 | * linux-fork.c (add_fork): Likewise. | |
16294 | * maint.c (make_command_stats_cleanup): Likewise. | |
16295 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
16296 | * opencl-lang.c (struct lval_closure): Likewise. | |
16297 | * osdata.c (osdata_start_osdata): Likewise. | |
16298 | * progspace.c (new_address_space): Likewise. | |
16299 | (add_program_space): Likewise. | |
16300 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
16301 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
16302 | * skip.c (Ignore): Likewise. | |
16303 | (skip_delete_command): Likewise. | |
16304 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
16305 | (library_list_start_library): Likewise. | |
16306 | (solib_aix_current_sos): Likewise. | |
16307 | * solib-darwin.c (get_darwin_info): Likewise. | |
16308 | (darwin_current_sos): Likewise. | |
16309 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
16310 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
16311 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
16312 | * solib-spu.c (append_ocl_sos): Likewise. | |
16313 | (spu_current_sos): Likewise. | |
16314 | * solib-svr4.c (get_svr4_info): Likewise. | |
16315 | (svr4_keep_data_in_core): Likewise. | |
16316 | (library_list_start_library): Likewise. | |
16317 | (svr4_default_sos): Likewise. | |
16318 | (svr4_read_so_list): Likewise. | |
16319 | * solib-target.c (library_list_start_library): Likewise. | |
16320 | (solib_target_current_sos): Likewise. | |
16321 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
16322 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
16323 | * symfile.c (default_symfile_segments): Likewise. | |
16324 | * target-descriptions.c (tdesc_data_init): Likewise. | |
16325 | (tdesc_create_reg): Likewise. | |
16326 | (struct tdesc_type *): Likewise. | |
16327 | (tdesc_create_vector): Likewise. | |
16328 | (tdesc_set_struct_size): Likewise. | |
16329 | (struct tdesc_type *): Likewise. | |
16330 | (tdesc_free_feature): Likewise. | |
16331 | (tdesc_create_feature): Likewise. | |
16332 | * windows-nat.c (windows_add_thread): Likewise. | |
16333 | (windows_make_so): Likewise. | |
16334 | * xml-support.c (gdb_xml_body_text): Likewise. | |
16335 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
16336 | (xml_process_xincludes): Likewise. | |
16337 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
16338 | (syscall_create_syscall_desc): Likewise. | |
16339 | ||
16340 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> | |
16341 | ||
16342 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
16343 | function, with code from i386_stap_parse_special_token. | |
16344 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
16345 | (i386_stap_parse_special_token): Move code to the two functions | |
16346 | above; simplify it. | |
16347 | ||
16348 | 2014-01-09 Pedro Alves <palves@redhat.com> | |
16349 | Hui Zhu <hui@codesourcery.com> | |
16350 | ||
16351 | PR gdb/16101 | |
16352 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
16353 | bp_err_string. Don't mark the location shlib_disabled if the | |
16354 | error thrown wasn't a generic or memory error. Catch errors | |
16355 | thrown while inserting breakpoints in overlayed code. Output | |
16356 | error message of software breakpoints. | |
16357 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
16358 | target-side commands but this stub doesn't support Z0 packets, | |
16359 | throw NOT_SUPPORTED_ERROR error. | |
16360 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
16361 | * target.h (target_insert_breakpoint): Extend comment. | |
16362 | (target_insert_hw_breakpoint): Add comment. | |
16363 | ||
16364 | 2014-01-08 Pedro Alves <palves@redhat.com> | |
16365 | ||
16366 | * remote.c (remote_add_thread): Add threads silently if starting | |
16367 | up. | |
16368 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
16369 | don't call notice_new_inferior. | |
16370 | (get_current_thread): New function, factored out from ... | |
16371 | (add_current_inferior_and_thread): ... this. Adjust. | |
16372 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
16373 | found any thread, then select the remote's current thread as GDB's | |
16374 | current thread too. | |
16375 | ||
16376 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> | |
16377 | ||
16378 | * NEWS: Create a new section for the next release branch. | |
16379 | Rename the section of the current branch, now that it has | |
16380 | been cut. | |
16381 | ||
16382 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> | |
16383 | ||
16384 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
16385 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
16386 | ||
16387 | 2014-01-08 Yao Qi <yao@codesourcery.com> | |
16388 | ||
16389 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
16390 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
16391 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
16392 | ||
16393 | 2014-01-08 Yao Qi <yao@codesourcery.com> | |
16394 | ||
16395 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
16396 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
16397 | ||
16398 | 2014-01-08 Pierre Muller <muller@sourceware.org> | |
16399 | ||
16400 | Fix PR16201. | |
16401 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
16402 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
16403 | to prim_record_mininal_symbol_and_info. | |
16404 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
16405 | in call to prim_record_minimal_symbol_and_info. | |
16406 | (read_pe_exported_syms): Set index field of section_data. | |
16407 | ||
16408 | 2014-01-07 Andrew Pinski <apinski@cavium.com> | |
16409 | ||
16410 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
16411 | * features/aarch64.c: Regenerate. | |
16412 | ||
16413 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> | |
16414 | ||
16415 | * target.c (return_null): Define. | |
16416 | (update_current_target): Use it instead of return_zero for | |
16417 | functions that return a pointer. | |
16418 | ||
16419 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> | |
16420 | ||
16421 | * source.c (add_path): Fix check for duplicated paths in the previously | |
16422 | included paths. | |
16423 | ||
16424 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> | |
16425 | ||
16426 | * ada-lang.c: Remove duplicated include statements. | |
16427 | * alphabsd-nat.c: Ditto. | |
16428 | * amd64-darwin-tdep.c: Ditto. | |
16429 | * amd64fbsd-nat.c: Ditto. | |
16430 | * auto-load.c: Ditto. | |
16431 | * ax-gdb.c: Ditto. | |
16432 | * breakpoint.c: Ditto. | |
16433 | * dbxread.c: Ditto. | |
16434 | * fork-child.c: Ditto. | |
16435 | * gdb_usleep.c: Ditto. | |
16436 | * i386-darwin-tdep.c: Ditto. | |
16437 | * i386fbsd-nat.c: Ditto. | |
16438 | * infcmd.c: Ditto. | |
16439 | * inferior.c: Ditto. | |
16440 | * jv-lang.c: Ditto. | |
16441 | * linux-nat.c: Ditto. | |
16442 | * linux-tdep.c: Ditto. | |
16443 | * m68kbsd-nat.c: Ditto. | |
16444 | * m68klinux-nat.c: Ditto. | |
16445 | * microblaze-tdep.c: Ditto. | |
16446 | * mips-linux-tdep.c: Ditto. | |
16447 | * mn10300-tdep.c: Ditto. | |
16448 | * nto-tdep.c: Ditto. | |
16449 | * opencl-lang.c: Ditto. | |
16450 | * osdata.c: Ditto. | |
16451 | * printcmd.c: Ditto. | |
16452 | * regcache.c: Ditto. | |
16453 | * remote-m32r-sdi.c: Ditto. | |
16454 | * remote.c: Ditto. | |
16455 | * symfile.c: Ditto. | |
16456 | * symtab.c: Ditto. | |
16457 | * tilegx-linux-nat.c: Ditto. | |
16458 | * tilegx-tdep.c: Ditto. | |
16459 | * tracepoint.c: Ditto. | |
16460 | * valops.c: Ditto. | |
16461 | * vaxbsd-nat.c: Ditto. | |
16462 | * windows-nat.c: Ditto. | |
16463 | * xtensa-tdep.c: Ditto. | |
16464 | ||
16465 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16466 | ||
16467 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
16468 | ||
16469 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16470 | Joel Brobecker <brobecker@adacore.com> | |
16471 | ||
16472 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
16473 | (pdc_write_regs): Likewise. | |
16474 | (fetch_regs_kernel_thread): Likewise. | |
16475 | (store_regs_kernel_thread): Likewise. | |
16476 | ||
16477 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16478 | ||
16479 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
16480 | tagged type objects to their actual type. | |
16481 | ||
16482 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16483 | ||
16484 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
16485 | Update calls to print_field_values and print_variant_part. | |
16486 | Pass new parameter "language" in call to val_print instead | |
16487 | of "current_language". Replace call to ada_val_print by call | |
16488 | to val_print. | |
16489 | (print_variant_part): Add "language" parameter. | |
16490 | (ada_val_print_struct_union): Update call to print_field_values. | |
16491 | ||
16492 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16493 | ||
16494 | * ada-valprint.c (ui_memcpy): Delete. | |
16495 | (ada_print_floating): Update documentation. Add empty line | |
16496 | between between function documentation and implementation. | |
16497 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
16498 | ui_file_put. Minor adjustments following this change. | |
16499 | ||
16500 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16501 | ||
16502 | * ada-valprint.c (ada_val_print_string): New function, | |
16503 | extracted from ada_val_print_array. | |
16504 | (ada_val_print_array): Replace extracted code by call | |
16505 | to ada_val_print_string followed by a return. Move | |
16506 | "else" branch to the function's top block. | |
16507 | ||
16508 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16509 | ||
16510 | * ada-valprint.c (ada_val_print_array): Move implementation | |
16511 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
16512 | and "original_value" respectively. Add parameter "offset". | |
16513 | ||
16514 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16515 | ||
16516 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
16517 | re-organizing the code. Change the "???" message printed | |
16518 | when target type is a TYPE_CODE_UNDEF into | |
16519 | "<ref to undefined type>". | |
16520 | ||
16521 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16522 | ||
16523 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
16524 | (ada_val_print_struct_union): ... here. Remove call to | |
16525 | ada_check_typedef in inlined implementation. | |
16526 | ||
16527 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16528 | ||
16529 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
16530 | extracted from ada_val_print_1; | |
16531 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
16532 | (ada_val_print_flt, ada_val_print_struct_union) | |
16533 | (ada_val_print_ref): Likewise. | |
16534 | (ada_val_print_1): Delete variables i and elttype. | |
16535 | Replace extracted-out code by call to corresponding | |
16536 | new functions. | |
16537 | ||
16538 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16539 | ||
16540 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
16541 | ||
16542 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16543 | ||
16544 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
16545 | ada_val_print_1 by calls to val_print. | |
16546 | ||
16547 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16548 | ||
16549 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
16550 | Update calls to self accordingly. Replace calls to c_val_print | |
16551 | by calls to val_print. | |
16552 | ||
16553 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16554 | ||
16555 | * ada-valprint.c (print_record): Delete declaration. | |
16556 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
16557 | (ada_val_print): Move function implementation down. | |
16558 | (print_variant_part, print_field_values, print_record): | |
16559 | Move function implementation up. | |
16560 | ||
16561 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16562 | ||
16563 | * python/py-type.c (typy_get_name): New function. | |
16564 | (type_object_getset): Add entry for attribute "name". | |
16565 | * NEWS: Add entry mentioning this new attribute. | |
16566 | ||
16567 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16568 | ||
16569 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
16570 | statement. | |
16571 | ||
16572 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16573 | ||
16574 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
16575 | argument args. | |
16576 | ||
16577 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16578 | ||
16579 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
16580 | ||
16581 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16582 | ||
16583 | * gnu-nat.c (make_inf) Update declaration. | |
16584 | (make_inf): Make it static. | |
16585 | (inf_set_traced): Likewise. | |
16586 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
16587 | ||
16588 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16589 | ||
16590 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
16591 | ||
16592 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16593 | ||
16594 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
16595 | ||
16596 | 2014-01-07 Yao Qi <yao@codesourcery.com> | |
16597 | ||
16598 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
16599 | 'enum bfd_endian'. | |
16600 | (struct gdbarch_info) <byte_order>: Change type to | |
16601 | 'enum bfd_endian'. | |
16602 | <byte_order_for_code>: Likewise. | |
16603 | * gdbarch.c, gdbarch.h: Regenerated. | |
16604 | ||
16605 | 2014-01-06 Sasha Smundak <asmundak@google.com> | |
16606 | ||
16607 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
16608 | ||
16609 | 2014-01-06 Tom Tromey <tromey@redhat.com> | |
16610 | ||
16611 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
16612 | CONST. | |
16613 | * somread.c (som_symtab_read): Likewise. | |
16614 | ||
16615 | 2014-01-07 Hui Zhu <hui@codesourcery.com> | |
16616 | ||
16617 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
16618 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
16619 | (gdb_bfd_fopen): Ditto. | |
16620 | (gdb_bfd_openr): Ditto. | |
16621 | (gdb_bfd_openw): Ditto. | |
16622 | (gdb_bfd_openr_iovec): Ditto. | |
16623 | (gdb_bfd_fdopenr): Ditto. | |
16624 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
16625 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
16626 | with xstrdup. | |
16627 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
16628 | with xstrdup. | |
16629 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
16630 | gdb_bfd_stash_filename. | |
16631 | ||
16632 | 2014-01-03 Doug Evans <dje@google.com> | |
16633 | ||
16634 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
16635 | output. | |
16636 | ||
16637 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> | |
16638 | ||
16639 | Update year range in copyright notice of all files. | |
16640 | ||
16641 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> | |
16642 | ||
16643 | * top.c (print_gdb_version): Set copyright year to 2014. | |
16644 | ||
16645 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> | |
16646 | ||
16647 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
16648 | ||
16649 | For older changes see ChangeLog-2013. | |
16650 | \f | |
16651 | Local Variables: | |
16652 | mode: change-log | |
16653 | left-margin: 8 | |
16654 | fill-column: 74 | |
16655 | version-control: never | |
16656 | coding: utf-8 | |
16657 | End: |