Commit | Line | Data |
---|---|---|
aacd3e8c CU |
1 | 2014-12-15 Catalin Udma <catalin.udma@freescale.com> |
2 | ||
3 | PR gdb/15684 | |
4 | * memattr.c (mem_info_command): Remove "unsigned long" casts. | |
5 | ||
dc4d6886 DE |
6 | 2014-12-13 Doug Evans <xdje42@gmail.com> |
7 | ||
8 | * utils.c (make_hex_string): Fix off-by-one error. | |
9 | ||
c1b5a1a6 JB |
10 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
11 | ||
12 | * ada-lang.h (ada_ensure_varsize_limit): Declare. | |
13 | * ada-lang.c (check_size): Remove advance declaration. | |
14 | (ada_ensure_varsize_limit): Renames check_size. | |
15 | Replace calls to check_size by calls to ada_ensure_varsize_limit | |
16 | throughout. | |
17 | * ada-valprint.c (ada_val_print_ref): Add call to | |
18 | ada_ensure_varsize_limit. Add comment explaining why. | |
19 | ||
3c46a02f JB |
20 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
21 | ||
22 | * utils.c (make_hex_string): Replace use of sprintf by use of | |
23 | xsnprintf. | |
24 | ||
8e8347b8 JB |
25 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
26 | ||
27 | * compile/compile-object-load.c (link_callbacks_multiple_definition) | |
28 | (link_callbacks_warning, link_callbacks_einfo): Remove trailing | |
29 | newline at end of warning message. | |
30 | ||
f93b65a0 JB |
31 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
32 | ||
33 | * acx_configure_dir.m4 (ACX_CONFIGURE_DIR): Add support for | |
34 | new "EXTRA-ARGS" parameter. | |
35 | * configure.ac: If large-file support is disabled in GDB, | |
36 | pass --disable-largefile to ACX_CONFIGURE_DIR call for "gnulib". | |
37 | * configure: Regenerate. | |
38 | ||
5537b577 JK |
39 | 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
40 | ||
41 | PR symtab/17642 | |
42 | * gdbtypes.c (resolve_dynamic_type_internal): Apply check_typedef to | |
43 | TYPE if not TYPE_CODE_TYPEDEF. | |
44 | ||
e0782980 JB |
45 | 2014-12-13 Joel Brobecker <brobecker@adacore.com> |
46 | ||
47 | PR backtrace/16215: | |
48 | * dwarf2-frame.c (dwarf2_frame_cfa): Remove the restriction | |
49 | the frame unwinder must either be the dwarf2_frame_unwind | |
50 | or the dwarf2_tailcall_frame_unwind. Verify that this_frame's | |
51 | stack_addr is valid before calling get_frame_base. Throw | |
52 | an error if not valid. | |
53 | ||
ae6a105d DE |
54 | 2014-12-12 Doug Evans <xdje42@gmail.com> |
55 | ||
56 | * valops.c (value_maybe_namespace_elt): Remove unnecessary test of | |
57 | result != NULL. | |
58 | ||
59da4d04 DE |
59 | 2014-12-12 Doug Evans <xdje42@gmail.com> |
60 | ||
61 | * cp-support.h (cp_is_in_anonymous): Renamed from cp_is_anonymous. | |
62 | All callers updated. Rename arg "namespace" to "symbol_name". | |
63 | ||
83827540 DE |
64 | 2014-12-12 Doug Evans <xdje42@gmail.com> |
65 | ||
66 | * psymtab.c (psym_map_symtabs_matching_filename): Renamed from | |
67 | partial_map_symtabs_matching_filename. All uses updated. | |
68 | (psym_find_pc_sect_compunit_symtab): Renamed from | |
69 | find_pc_sect_compunit_symtab_from_partial. All uses updated. | |
70 | Add function comment. | |
71 | (psym_lookup_symbol): Renamed from lookup_symbol_aux_psymtabs. | |
72 | All uses updated. Add function comment. | |
73 | (psym_relocate): Renamed from relocate_psymtabs. All uses updated. | |
74 | Add function comment. | |
75 | (psym_find_last_source_symtab): Renamed from | |
76 | find_last_source_symtab_from_partial. All uses updated. | |
77 | Add function comment. | |
78 | (psym_forget_cached_source_info): Renamed from | |
79 | forget_cached_source_info_partial. All uses updated. | |
80 | Add function comment. | |
81 | (psym_print_stats): Renamed from print_psymtab_stats_for_objfile. | |
82 | All uses updated. Add function comment. | |
83 | (psym_dump): Renamed from dump_psymtabs_for_objfile. All uses | |
84 | updated. Add function comment. | |
85 | (psym_expand_symtabs_for_function): Renamed from | |
86 | read_symtabs_for_function. All uses updated. Update function comment. | |
87 | (psym_expand_all_symtabs): Renamed from expand_partial_symbol_tables. | |
88 | All uses updated. Add function comment. | |
89 | (psym_expand_symtabs_with_fullname): Renamed from | |
90 | read_psymtabs_with_fullname. All uses updated. Add function comment. | |
91 | (psym_map_symbol_filenames): Renamed from map_symbol_filenames_psymtab. | |
92 | All uses updated. Add function comment. | |
93 | (psym_map_matching_symbols): Renamed from map_matching_symbols_psymtab. | |
94 | All uses updated. | |
95 | (psym_expand_symtabs_matching): Renamed from | |
96 | expand_symtabs_matching_via_partial. All uses updated. | |
97 | Add function comment. | |
98 | (psym_has_symbols): Renamed from objfile_has_psyms. All uses updated. | |
99 | Add function comment. | |
100 | ||
bb2ec1b3 TT |
101 | 2014-12-12 Phil Muldoon <pmuldoon@redhat.com> |
102 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
103 | Tom Tromey <tromey@redhat.com> | |
104 | ||
105 | * NEWS: Update. | |
106 | * symtab.h (struct symbol_computed_ops) <generate_c_location>: New | |
107 | field. | |
108 | * p-lang.c (pascal_language_defn): Update. | |
109 | * opencl-lang.c (opencl_language_defn): Update. | |
110 | * objc-lang.c (objc_language_defn): Update. | |
111 | * m2-lang.c (m2_language_defn): Update. | |
112 | * language.h (struct language_defn) <la_get_compile_instance, | |
113 | la_compute_program>: New fields. | |
114 | * language.c (unknown_language_defn, auto_language_defn) | |
115 | (local_language_defn): Update. | |
116 | * jv-lang.c (java_language_defn): Update. | |
117 | * go-lang.c (go_language_defn): Update. | |
118 | * f-lang.c (f_language_defn): Update. | |
119 | * dwarf2loc.h (dwarf2_compile_property_to_c): Declare. | |
120 | * dwarf2loc.c (dwarf2_compile_property_to_c) | |
121 | (locexpr_generate_c_location, loclist_generate_c_location): New | |
122 | functions. | |
123 | (dwarf2_locexpr_funcs, dwarf2_loclist_funcs): Update. | |
124 | * defs.h (enum compile_i_scope_types): New. | |
125 | (enum command_control_type) <compile_control>: New constant. | |
126 | (struct command_line) <control_u>: New field. | |
127 | * d-lang.c (d_language_defn): Update. | |
128 | * compile/compile.c: New file. | |
129 | * compile/compile-c-support.c: New file. | |
130 | * compile/compile-c-symbols.c: New file. | |
131 | * compile/compile-c-types.c: New file. | |
132 | * compile/compile.h: New file. | |
133 | * compile/compile-internal.h: New file. | |
134 | * compile/compile-loc2c.c: New file. | |
135 | * compile/compile-object-load.c: New file. | |
136 | * compile/compile-object-load.h: New file. | |
137 | * compile/compile-object-run.c: New file. | |
138 | * compile/compile-object-run.h: New file. | |
139 | * cli/cli-script.c (multi_line_command_p, print_command_lines) | |
140 | (execute_control_command, process_next_line) | |
141 | (recurse_read_control_structure): Handle compile_control. | |
142 | * c-lang.h (c_get_compile_context, c_compute_program): Declare. | |
143 | * c-lang.c (c_language_defn, cplus_language_defn) | |
144 | (asm_language_defn, minimal_language_defn): Update. | |
145 | * ada-lang.c (ada_language_defn): Update. | |
146 | * Makefile.in (SUBDIR_GCC_COMPILE_OBS, SUBDIR_GCC_COMPILE_SRCS): | |
147 | New variables. | |
148 | (SFILES): Add SUBDIR_GCC_COMPILE_SRCS. | |
149 | (HFILES_NO_SRCDIR): Add compile.h. | |
150 | (COMMON_OBS): Add SUBDIR_GCC_COMPILE_OBS. | |
151 | (INIT_FILES): Add SUBDIR_GCC_COMPILE_SRCS. | |
152 | (compile.o, compile-c-types.o, compile-c-symbols.o) | |
153 | (compile-object-load.o, compile-object-run.o, compile-loc2c.o) | |
154 | (compile-c-support.o): New targets. | |
155 | ||
a2658feb JK |
156 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
157 | ||
158 | * s390-linux-tdep.c (s390_gcc_target_options): New function. | |
159 | (s390_gdbarch_init): Add it to gdbarch. | |
160 | ||
3bc3cebe JK |
161 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
162 | ||
163 | * linux-tdep.c: Include objfiles.h and infcall.h. | |
164 | (GDB_MMAP_MAP_PRIVATE, GDB_MMAP_MAP_ANONYMOUS, linux_infcall_mmap): New | |
165 | function. | |
166 | (linux_init_abi): Add linux_infcall_mmap to gdbarch. | |
167 | ||
d064d1be JK |
168 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
169 | ||
170 | * dwarf2loc.h (dwarf2_reg_to_regnum_or_error): Declare. | |
171 | * dwarf2loc.c (dwarf2_reg_to_regnum_or_error): Rename from | |
172 | translate_register. Now public. | |
173 | (dwarf2_compile_expr_to_ax): Update. | |
174 | ||
af945b75 TT |
175 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
176 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
177 | ||
178 | * dwarf2loc.c (dwarf_expr_frame_base_1): Remove declaration. | |
179 | (dwarf_expr_frame_base): Update caller. | |
180 | (dwarf_expr_frame_base_1): Rename to ... | |
181 | (func_get_frame_base_dwarf_block): ... this and make it public. | |
182 | (dwarf2_compile_expr_to_ax, locexpr_describe_location_piece): Update | |
183 | callers. | |
184 | * dwarf2loc.h (func_get_frame_base_dwarf_block): New declaration. | |
185 | ||
a8fd5589 TT |
186 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
187 | ||
188 | * dwarf2loc.c (dwarf2_compile_expr_to_ax) <DW_OP_call_frame_cfa>: | |
189 | Update. | |
190 | * dwarf2-frame.c (dwarf2_fetch_cfa_info): New function, based on | |
191 | dwarf2_compile_cfa_to_ax. | |
192 | (dwarf2_compile_cfa_to_ax): Remove. | |
193 | * dwarf2-frame.h (dwarf2_fetch_cfa_info): Declare. | |
194 | (dwarf2_compile_cfa_to_ax): Remove. | |
195 | ||
ed12ef62 JK |
196 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
197 | ||
198 | * infcall.h (call_function_by_hand_dummy): Declare. | |
199 | * infcall.c (call_function_by_hand): Use | |
200 | call_function_by_hand_dummy. | |
201 | (call_function_by_hand_dummy): Rename from call_function_by_hand. | |
202 | Add arguments. Register a destructor. | |
203 | ||
ac04f72b TT |
204 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
205 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
206 | ||
207 | * osabi.h (osabi_triplet_regexp): Declare. | |
208 | * osabi.c (struct osabi_names): New. | |
209 | (gdb_osabi_names): Change type to struct osabi_names. Update | |
210 | values. | |
211 | (gdbarch_osabi_name): Update. | |
212 | (osabi_triplet_regexp): New function. | |
213 | (osabi_from_tdesc_string, _initialize_gdb_osabi): Update. | |
214 | * i386-tdep.c (i386_gnu_triplet_regexp): New method. | |
215 | (i386_elf_init_abi, i386_go32_init_abi, i386_gdbarch_init): Call | |
216 | set_gdbarch_gnu_triplet_regexp. | |
217 | * gdbarch.sh (gnu_triplet_regexp): New method. | |
218 | * gdbarch.c, gdbarch.h: Rebuild. | |
219 | * arch-utils.h (default_gnu_triplet_regexp): Declare. | |
220 | * arch-utils.c (default_gnu_triplet_regexp): New function. | |
221 | ||
f208eee0 JK |
222 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
223 | ||
224 | * arch-utils.c (default_infcall_mmap) | |
225 | (default_gcc_target_options): New functions. | |
226 | * arch-utils.h (GDB_MMAP_PROT_READ, GDB_MMAP_PROT_WRITE) | |
227 | (GDB_MMAP_PROT_EXEC): Define. | |
228 | (default_infcall_mmap, default_gcc_target_options): Declare. | |
229 | * gdbarch.h: Rebuild. | |
230 | * gdbarch.c: Rebuild. | |
231 | * gdbarch.sh (infcall_mmap, gcc_target_options): New methods. | |
232 | ||
233a8fb3 JK |
233 | 2014-12-12 Jan Kratochvil <jan.kratochvil@redhat.com> |
234 | ||
235 | * dummy-frame.c (struct dummy_frame) <dtor, dtor_data>: New | |
236 | fields. | |
237 | (pop_dummy_frame): Call the destructor if it exists. | |
238 | (register_dummy_frame_dtor, find_dummy_frame_dtor): New | |
239 | functions. | |
240 | * dummy-frame.h (dummy_frame_dtor_ftype): New typedef. | |
241 | (register_dummy_frame_dtor, find_dummy_frame_dtor): Declare. | |
242 | ||
f1660027 TT |
243 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
244 | ||
245 | * gdbtypes.h (make_unqualified_type): Declare. | |
246 | * gdbtypes.c (make_unqualified_type): New function. | |
247 | ||
de571fc5 TT |
248 | 2014-12-12 Tom Tromey <tromey@redhat.com> |
249 | ||
250 | * ui-file.h (ui_file_write_for_put): Declare. | |
251 | * ui-file.c (ui_file_write_for_put): New function. | |
252 | * mi/mi-out.c (do_write): Remove. | |
253 | (mi_out_put): Use ui_file_write_for_put. | |
254 | ||
6dddd6a5 DE |
255 | 2014-12-12 Doug Evans <dje@google.com> |
256 | ||
257 | * NEWS: Mention gdb.lookup_objfile. | |
258 | * python/python.c (GdbMethods): Add lookup_objfile. | |
259 | * python/python-internal.h (gdbpy_lookup_objfile): Declare. | |
260 | * python/py-objfile.c: #include "symtab.h". | |
261 | (objfpy_build_id_ok, objfpy_build_id_matches): New functions. | |
262 | (objfpy_lookup_objfile_by_name): New function. | |
263 | (objfpy_lookup_objfile_by_build_id): New function. | |
264 | (gdbpy_lookup_objfile): New function. | |
265 | ||
f161c171 MR |
266 | 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com> |
267 | ||
268 | * mips-tdep.h (MSYMBOL_TARGET_FLAG_MIPS16): New macro. | |
269 | (MSYMBOL_TARGET_FLAG_MICROMIPS): Likewise. | |
270 | * mips-tdep.c (mips_elf_make_msymbol_special): Use the new | |
271 | macros. | |
272 | (msymbol_is_mips, msymbol_is_mips16, msymbol_is_micromips): | |
273 | Likewise. | |
274 | ||
71c24708 AA |
275 | 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com> |
276 | ||
277 | * completer.c: Include "target.h", "reggroups.h", and | |
278 | "user-regs.h". | |
279 | (reg_or_group_completer): New. | |
280 | * completer.h (reg_or_group_completer): Declare. | |
281 | * infcmd.c (_initialize_infcmd): Set reg_or_group_completer for | |
282 | the "info registers" and "info all-registers" commands and the | |
283 | dbx-mode "lr" command. | |
284 | ||
f5b95c01 AA |
285 | 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com> |
286 | ||
287 | * user-regs.c: Include "arch-utils.h", "command.h", and | |
288 | "cli/cli-cmds.h". | |
289 | (maintenance_print_user_registers): New. | |
290 | (_initialize_user_regs): Register new "maint print user-registers" | |
291 | subcommand. | |
292 | * NEWS: Mention new GDB command "maint print user-registers". | |
293 | ||
3e29f34a MR |
294 | 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com> |
295 | Maciej W. Rozycki <macro@mips.com> | |
296 | Pedro Alves <pedro@codesourcery.com> | |
297 | ||
298 | * gdbarch.sh (elf_make_msymbol_special): Change type to `F', | |
299 | remove `predefault' and `invalid_p' initializers. | |
300 | (make_symbol_special): New architecture method. | |
301 | (adjust_dwarf2_addr, adjust_dwarf2_line): Likewise. | |
302 | (objfile, symbol): New declarations. | |
303 | * arch-utils.h (default_elf_make_msymbol_special): Remove | |
304 | prototype. | |
305 | (default_make_symbol_special): New prototype. | |
306 | (default_adjust_dwarf2_addr): Likewise. | |
307 | (default_adjust_dwarf2_line): Likewise. | |
308 | * mips-tdep.h (mips_unmake_compact_addr): New prototype. | |
309 | * arch-utils.c (default_elf_make_msymbol_special): Remove | |
310 | function. | |
311 | (default_make_symbol_special): New function. | |
312 | (default_adjust_dwarf2_addr): Likewise. | |
313 | (default_adjust_dwarf2_line): Likewise. | |
314 | * dwarf2-frame.c (decode_frame_entry_1): Call | |
315 | `gdbarch_adjust_dwarf2_addr'. | |
316 | * dwarf2loc.c (dwarf2_find_location_expression): Likewise. | |
317 | * dwarf2read.c (create_addrmap_from_index): Likewise. | |
318 | (process_psymtab_comp_unit_reader): Likewise. | |
319 | (add_partial_symbol): Likewise. | |
320 | (add_partial_subprogram): Likewise. | |
321 | (process_full_comp_unit): Likewise. | |
322 | (read_file_scope): Likewise. | |
323 | (read_func_scope): Likewise. Call `gdbarch_make_symbol_special'. | |
324 | (read_lexical_block_scope): Call `gdbarch_adjust_dwarf2_addr'. | |
325 | (read_call_site_scope): Likewise. | |
326 | (dwarf2_ranges_read): Likewise. | |
327 | (dwarf2_record_block_ranges): Likewise. | |
328 | (read_attribute_value): Likewise. | |
329 | (dwarf_decode_lines_1): Call `gdbarch_adjust_dwarf2_line'. | |
330 | (new_symbol_full): Call `gdbarch_adjust_dwarf2_addr'. | |
331 | * elfread.c (elf_symtab_read): Don't call | |
332 | `gdbarch_elf_make_msymbol_special' if unset. | |
333 | * mips-linux-tdep.c (micromips_linux_sigframe_validate): Strip | |
334 | the ISA bit from the PC. | |
335 | * mips-tdep.c (mips_unmake_compact_addr): New function. | |
336 | (mips_elf_make_msymbol_special): Set the ISA bit in the symbol's | |
337 | address appropriately. | |
338 | (mips_make_symbol_special): New function. | |
339 | (mips_pc_is_mips): Set the ISA bit before symbol lookup. | |
340 | (mips_pc_is_mips16): Likewise. | |
341 | (mips_pc_is_micromips): Likewise. | |
342 | (mips_pc_isa): Likewise. | |
343 | (mips_adjust_dwarf2_addr): New function. | |
344 | (mips_adjust_dwarf2_line): Likewise. | |
345 | (mips_read_pc, mips_unwind_pc): Keep the ISA bit. | |
346 | (mips_addr_bits_remove): Likewise. | |
347 | (mips_skip_trampoline_code): Likewise. | |
348 | (mips_write_pc): Don't set the ISA bit. | |
349 | (mips_eabi_push_dummy_call): Likewise. | |
350 | (mips_o64_push_dummy_call): Likewise. | |
351 | (mips_gdbarch_init): Install `mips_make_symbol_special', | |
352 | `mips_adjust_dwarf2_addr' and `mips_adjust_dwarf2_line' gdbarch | |
353 | handlers. | |
354 | * solib.c (gdb_bfd_lookup_symbol_from_symtab): Get | |
355 | target-specific symbol address adjustments. | |
356 | * gdbarch.h: Regenerate. | |
357 | * gdbarch.c: Regenerate. | |
358 | ||
21daaaaf YQ |
359 | 2014-12-12 Yao Qi <yao@codesourcery.com> |
360 | ||
361 | PR tdep/14261 | |
362 | * arm-tdep.c (arm_skip_prologue): Remove unused local variable | |
363 | 'skip_pc'. Remove code skipping prologue instructions, use | |
364 | arm_analyze_prologue instead. | |
365 | (arm_analyze_prologue): Stop the scanning for unrecognized | |
366 | instruction when skipping prologue. | |
367 | ||
f303bc3e YQ |
368 | 2014-12-12 Yao Qi <yao@codesourcery.com> |
369 | ||
370 | * arm-tdep.c (arm_instruction_restores_sp): New function. | |
371 | (arm_analyze_prologue): Call arm_instruction_restores_sp. | |
372 | (arm_in_function_epilogue_p): Move code to | |
373 | arm_instruction_restores_sp. | |
374 | ||
05a6c3c8 DE |
375 | 2014-12-11 Doug Evans <xdje42@gmail.com> |
376 | ||
377 | * cp-namespace.c (cp_lookup_nested_symbol): Fix comments. | |
378 | ||
fe2a438d DE |
379 | 2014-12-11 Doug Evans <xdje42@gmail.com> |
380 | ||
381 | * symtab.c (lookup_symbol_in_objfile_symtabs): Delete forward decl. | |
382 | (symbol *lookup_symbol_via_quick_fns): Ditto. | |
383 | (lookup_symbol_in_objfile): Add forward decl. | |
384 | (lookup_global_symbol_from_objfile): Simplify, call | |
385 | lookup_symbol_in_objfile. | |
386 | ||
540feddf DE |
387 | 2014-12-11 Doug Evans <xdje42@gmail.com> |
388 | ||
389 | * symtab.c (domain_name) <MODULE_DOMAIN>: Add missing case. | |
390 | ||
fc126975 SM |
391 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> |
392 | ||
393 | PR breakpoints/17012 | |
394 | * breakpoint.c (remove_breakpoints_pid): Skip removing breakpoint if | |
395 | it is marked as persistent. | |
396 | ||
56286edf DE |
397 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
398 | ||
399 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Move definition, | |
400 | closer to its subroutines. | |
401 | ||
34ef8452 DE |
402 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
403 | ||
404 | * cp-namespace.c (lookup_symbol_file): Move next to only caller. | |
405 | ||
9a80057a DE |
406 | 2014-12-10 Doug Evans <xdje42@gmail.com> |
407 | ||
408 | * cp-namespace.c (cp_lookup_symbol_imports): Make static. | |
409 | * cp-support.c (cp_lookup_symbol_imports): Delete. | |
410 | ||
1abf3a14 SM |
411 | 2014-12-10 Simon Marchi <simon.marchi@ericsson.com> |
412 | ||
413 | PR gdb/17627 | |
414 | * target.c (cleanup_restore_target_terminal): New function. | |
415 | (make_cleanup_restore_target_terminal): New function. | |
416 | * target.h (make_cleanup_restore_target_terminal): New declaration. | |
417 | * mi/mi-interp.c (mi_thread_exit): Use the new cleanup. | |
418 | ||
d4d1e336 DE |
419 | 2014-12-08 Doug Evans <dje@google.com> |
420 | ||
421 | * python/py-objfile.c (objfpy_get_owner): Increment refcount of result. | |
422 | ||
a0be3e44 DE |
423 | 2014-12-08 Doug Evans <dje@google.com> |
424 | ||
425 | * NEWS: Mention gdb.Objfile.owner. | |
426 | * python/py-objfile.c (objfpy_get_owner): New function. | |
427 | (objfile_getset): Add "owner". | |
428 | ||
6c1c7be3 JK |
429 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
430 | ||
431 | * symtab.c (lookup_symbol_in_objfile_symtabs): New declaration. | |
432 | (lookup_global_symbol_from_objfile): Call it. | |
433 | ||
efad9b6a JK |
434 | 2014-12-05 Jan Kratochvil <jan.kratochvil@redhat.com> |
435 | ||
436 | Remove const from struct objfile *. | |
437 | * solib-darwin.c, solib-spu.c, solib-svr4.c, solib.c, solist.h, | |
438 | symtab.c, symtab.h: In these files. | |
439 | ||
069bb7ec AF |
440 | 2014-12-05 Andreas From <andreas.from@ericsson.com> |
441 | ||
442 | * MAINTAINERS (Write After Approval): Add "Andreas From" | |
443 | ||
642a8d80 DE |
444 | 2014-12-05 Doug Evans <xdje42@gmail.com> |
445 | ||
446 | Revert: | |
447 | PR symtab/17602 | |
448 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
449 | ||
86e4ed39 DE |
450 | 2014-12-04 Doug Evans <dje@google.com> |
451 | ||
452 | * NEWS: Mention gdb.Objfile.add_separate_debug_file. | |
453 | * python/py-objfile.c (objfpy_add_separate_debug_file): New function. | |
454 | (objfile_getset): Add "add_separate_debug_file". | |
455 | ||
7c50a931 DE |
456 | 2014-12-04 Doug Evans <dje@google.com> |
457 | ||
458 | * NEWS: Mention gdb.Objfile.build_id. | |
459 | * build-id.c (build_id_bfd_get): Make non-static. | |
460 | * build-id.h (build_id_bfd_get): Add declaration. | |
461 | * python/py-objfile.c: #include "build-id.h", "elf-bfd.h". | |
462 | (OBJFPY_REQUIRE_VALID): New macro. | |
463 | (objfpy_get_build_id): New function. | |
464 | (objfile_getset): Add "build_id". | |
465 | * utils.c (make_hex_string): New function. | |
466 | * utils.h (make_hex_string): Add declaration. | |
467 | ||
ba715d7f JK |
468 | 2014-12-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
469 | ||
470 | * block.c (block_lookup_symbol_primary): New function. | |
471 | * block.h (block_lookup_symbol_primary): New declaration. | |
472 | * symtab.c (lookup_symbol_in_objfile_symtabs): Assert BLOCK_INDEX. | |
473 | Call block_lookup_symbol_primary. | |
474 | ||
858339f2 MR |
475 | 2014-12-03 Maciej W. Rozycki <macro@codesourcery.com> |
476 | ||
477 | * tramp-frame.h (tramp_frame): Add `validate' member. | |
478 | * tramp-frame.c (tramp_frame_start): Validate trampoline before | |
479 | scanning. | |
480 | * mips-linux-tdep.c (MICROMIPS_INST_LI_V0): New macro. | |
481 | (MICROMIPS_INST_POOL32A, MICROMIPS_INST_SYSCALL): Likewise. | |
482 | (mips_linux_o32_sigframe): Initialize `validate' member. | |
483 | (mips_linux_o32_rt_sigframe): Likewise. | |
484 | (mips_linux_n32_rt_sigframe): Likewise. | |
485 | (mips_linux_n64_rt_sigframe): Likewise. | |
486 | (micromips_linux_o32_sigframe): New variable. | |
487 | (micromips_linux_o32_rt_sigframe): Likewise. | |
488 | (micromips_linux_n32_rt_sigframe): Likewise. | |
489 | (micromips_linux_n64_rt_sigframe): Likewise. | |
490 | (mips_linux_o32_sigframe_init): Handle microMIPS trampolines. | |
491 | (mips_linux_n32n64_sigframe_init): Likewise. | |
492 | (mips_linux_sigframe_validate): New function. | |
493 | (micromips_linux_sigframe_validate): Likewise. | |
494 | (mips_linux_init_abi): Install microMIPS trampoline unwinders. | |
495 | ||
ff1eb2b5 UW |
496 | 2014-12-03 Ulrich Weigand <uweigand@de.ibm.com> |
497 | ||
498 | * config/sparc/sol2.mh (NATDEPFILES): Remove core-regset.o. | |
499 | * sparc-sol2-tdep.c: Include "regset.h". | |
500 | (sparc32_sol2_supply_core_gregset): New function. | |
501 | (sparc32_sol2_collect_core_gregset): Likewise. | |
502 | (sparc32_sol2_supply_core_fpregset): Likewise. | |
503 | (sparc32_sol2_collect_core_fpregset): Likewise. | |
504 | (sparc32_sol2_gregset, sparc32_sol2_fpregset): New variables. | |
505 | (sparc32_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
506 | tdep->fpregset/sizeof_fpregset. | |
507 | * sparc64-sol2-tdep.c: Include "regset.h". | |
508 | (sparc64_sol2_supply_core_gregset): New function. | |
509 | (sparc64_sol2_collect_core_gregset): Likewise. | |
510 | (sparc64_sol2_supply_core_fpregset): Likewise. | |
511 | (sparc64_sol2_collect_core_fpregset): Likewise. | |
512 | (sparc64_sol2_gregset, sparc64_sol2_fpregset): New variables. | |
513 | (sparc64_sol2_init_abi): Set tdep->gregset/sizeof_gregset and | |
514 | tdep->fpregset/sizeof_fpregset. | |
515 | ||
75783939 SM |
516 | 2014-12-03 Simon Marchi <simon.marchi@ericsson.com> |
517 | ||
518 | * common/cleanups.c (make_cleanup_dtor): Use typedef for dtor | |
519 | type. | |
520 | ||
7c5fdd25 DE |
521 | 2014-12-02 Doug Evans <dje@google.com> |
522 | ||
523 | * symtab.c (symbol_init_cplus_specific): Delete. | |
524 | (symbol_set_demangled_name): Remove special c++ support. | |
525 | (symbol_get_demangled_name, symbol_set_language): Ditto. | |
526 | * symtab.h (struct cplus_specific): Delete. | |
527 | (struct general_symbol_info) <language_specific>: Remove | |
528 | cplus_specific. | |
529 | ||
29f0c3b7 DE |
530 | 2014-12-02 Doug Evans <dje@google.com> |
531 | ||
532 | PR symtab/17602 | |
533 | * linespec.c (iterate_name_matcher): Fix arguments to symbol_name_cmp. | |
534 | ||
72998fb3 DE |
535 | 2014-12-02 Doug Evans <dje@google.com> |
536 | ||
537 | PR symtab/17591 | |
538 | * dwarf2read.c (find_slot_in_mapped_hash): Use cp_remove_params | |
539 | to strip parameters. | |
540 | ||
422b9917 DE |
541 | 2014-12-02 Doug Evans <dje@google.com> |
542 | ||
543 | * dwarf2read.c (peek_die_abbrev): Improve error message text. | |
544 | ||
47c6ee49 DE |
545 | 2014-12-02 Doug Evans <dje@google.com> |
546 | ||
547 | * valops.c (do_search_struct_field): Remove remnant of Chill support. | |
548 | Ref: commit 4c2260aa5c261f7bfb26dcf3aa7c67876720b17e | |
549 | ||
5da3ffc9 SM |
550 | 2014-12-02 Simon Marchi <simon.marchi@ericsson.com> |
551 | ||
552 | * common/cleanups.c (make_cleanup_dtor): Fix comment typo. | |
553 | ||
162078c8 NB |
554 | 2014-12-02 Nick Bull <nicholaspbull@gmail.com> |
555 | ||
556 | * NEWS: Mention new Python events. | |
557 | * Makefile.in (SUBDIR_PYTHON_OBS): Add py-infevents.o. | |
558 | (SUBDIR_PYTHON_SRCS): Add py-infevents.c. | |
559 | (py-infevents.o): New rule. | |
560 | * doc/observer.texi (inferior_call_pre, inferior_call_post) | |
561 | (memory_changed, register_changed): New observers. | |
562 | * infcall.c (call_function_by_hand): Notify observer before and | |
563 | after inferior call. | |
564 | * python/py-event.h (inferior_call_kind): New enum. | |
565 | (emit_inferior_call_event): New prototype. | |
566 | (emit_register_changed_event): New prototype. | |
567 | (emit_memory_changed_event): New prototype. | |
568 | * python/py-events.h (events_object): New registries | |
569 | inferior_call, memory_changed and register_changed. | |
570 | * python/py-evts.c (gdbpy_initialize_py_events): Add the | |
571 | inferior_call, memory_changed and register_changed registries. | |
572 | * python/py-infevents.c: New. | |
573 | * python/py-inferior.c (python_on_inferior_call_pre) | |
574 | (python_on_inferior_call_post, python_on_register_change) | |
575 | (python_on_memory_change): New functions. | |
576 | (gdbpy_initialize_inferior): Attach python handler to new | |
577 | observers. | |
578 | * python/py-infthread.c(gdbpy_create_ptid_object): New. | |
579 | (thpy_get_ptid) Use gdbpy_create_ptid_object. | |
580 | * python/python-internal.h: | |
581 | (gdbpy_create_ptid_object) | |
582 | (gdbpy_initialize_inferior_call_pre_event) | |
583 | (gdbpy_initialize_inferior_call_post_event) | |
584 | (gdbpy_initialize_register_changed_event) | |
585 | (gdbpy_initialize_memory_changed_event): New prototypes. | |
586 | * python/python.c (_initialize_python): Initialize new events. | |
587 | * valops.c (value_assign): Notify register_changed observer. | |
588 | ||
007baf27 DE |
589 | 2014-12-02 Doug Evans <dje@google.com> |
590 | ||
591 | * python/py-infthread.c: Whitespace fixes. | |
592 | ||
d5552aab AA |
593 | 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com> |
594 | ||
595 | * features/Makefile (s390-te-linux64-expedite): Replace | |
596 | non-existant r14 and r15 by r14l and r15l, respectively. | |
597 | * regformats/s390-te-linux64.dat: Regenerate. | |
598 | ||
30b5e341 SM |
599 | 2014-12-01 Simon Marchi <simon.marchi@ericsson.com> |
600 | ||
601 | * objfiles.c (allocate_objfile): Remove duplicate comment. | |
602 | ||
ac3d87c0 UW |
603 | 2014-12-01 Ulrich Weigand <uweigand@de.ibm.com> |
604 | ||
605 | * config/i386/i386gnu.mh (NATDEPFILES): Remove core-regset.o. | |
606 | * i386gnu-nat.c: Do not include <sys/procfs.h> or "gregset.h". | |
607 | (CREG_OFFSET, creg_offset, CREG_ADDR): Remove. | |
608 | (supply_gregset, supply_fpregset): Remove. | |
609 | * i386gnu-tdep.c (i386gnu_gregset_reg_offset): New variable. | |
610 | (i386gnu_init_abi): Set tdep->gregset_reg_offset, gregset_num_regs, | |
611 | and sizeof_gregset. | |
612 | ||
f10c5b19 JK |
613 | 2014-11-30 Jan Kratochvil <jan.kratochvil@redhat.com> |
614 | ||
615 | Add add-auto-load-scripts-directory. | |
616 | * NEWS (Changes since GDB 7.8): Add add-auto-load-scripts-directory. | |
617 | * auto-load.c (add_auto_load_dir): New function. | |
618 | (_initialize_auto_load): Install it. | |
619 | ||
f0d4ba1f MG |
620 | 2014-11-30 Martin Galvan <martin.galvan@tallertechnologies.com> (tiny patch, obvious) |
621 | ||
622 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
623 | * frame.c (frame_id_eq): Fix the check for FID_STACK_INVALID. | |
624 | ||
18ac6ffc SC |
625 | 2014-11-29 Siva Chandra Reddy <sivachandra@google.com> |
626 | ||
627 | * eval.c (evaluate_subexp): Check that the thread stack temporaries | |
628 | are not already enabled before enabling them. | |
629 | ||
4072f920 YQ |
630 | 2014-11-29 Yao Qi <yao@codesourcery.com> |
631 | ||
632 | * arm-tdep.c (arm_analyze_prologue): Move local variables | |
633 | 'framereg' and 'framesize' to inner block. Move code to | |
634 | inner block too. | |
635 | ||
6c659fc2 SC |
636 | 2014-11-28 Siva Chandra Reddy <sivachandra@google.com> |
637 | ||
638 | * eval.c: Include gdbthread.h. | |
639 | (evaluate_subexp): Enable thread stack temporaries before | |
640 | evaluating a complete expression and clean them up after the | |
641 | evaluation is complete. | |
642 | * gdbthread.h: Include common/vec.h. | |
643 | (value_ptr): New typedef. | |
644 | (VEC (value_ptr)): New vector type. | |
645 | (value_vec): New typedef. | |
646 | (struct thread_info): Add new fields stack_temporaries_enabled | |
647 | and stack_temporaries. | |
648 | (enable_thread_stack_temporaries) | |
649 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
650 | (get_last_thread_stack_temporary) | |
651 | (value_in_thread_stack_temporaries): Declare. | |
652 | * gdbtypes.c (class_or_union_p): New function. | |
653 | * gdbtypes.h (class_or_union_p): Declare. | |
654 | * infcall.c (call_function_by_hand): Store return values of class | |
655 | type as temporaries on stack. | |
656 | * thread.c (enable_thread_stack_temporaries): New function. | |
657 | (thread_stack_temporaries_enabled_p, push_thread_stack_temporary) | |
658 | (get_last_thread_stack_temporary): Likewise. | |
659 | (value_in_thread_stack_temporaries): Likewise. | |
660 | * value.c (value_force_lval): New function. | |
661 | * value.h (value_force_lval): Declare. | |
662 | ||
f7ca3fcf PM |
663 | 2014-11-28 Pierre Muller <muller@sourceware.org> |
664 | ||
665 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
666 | * amd64-tdep.c (amd64_dwarf_regmap array): Add missing MMX | |
667 | registers. | |
668 | ||
b2859a9a UW |
669 | 2014-11-28 Ulrich Weigand <uweigand@de.ibm.com> |
670 | ||
671 | * config/ia64/linux.mh (NATDEPFILES): Remove core-regset.o. | |
672 | * config/sparc/linux.mh (NATDEPFILES): Likewise. | |
673 | * config/sparc/linux64.mh (NATDEPFILES): Likewise. | |
674 | * m68klinux-nat.c (fetch_core_registers): Remove. | |
675 | (linux_elf_core_fns): Remove. | |
676 | (_initialize_m68k_linux_nat): Do not call deprecated_add_core_fns. | |
677 | ||
0fa9473f JB |
678 | 2014-11-28 Joel Brobecker <brobecker@adacore.com> |
679 | ||
680 | * utils.c (gdb_realpath): Rework comment about handling on | |
681 | Windows. | |
682 | ||
6a29c58e YQ |
683 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
684 | ||
685 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
686 | rename. | |
687 | * gnulib/aclocal.m4: Re-generated. | |
688 | * gnulib/config.in: Re-generated. | |
689 | * gnulib/configure: Re-generated. | |
690 | * gnulib/import/Makefile.am: Re-generated. | |
691 | * gnulib/import/Makefile.in: Re-generated. | |
692 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
693 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
694 | * import/basename-lgpl.c: New file. | |
695 | * import/dirname-lgpl.c: New file. | |
696 | * import/dirname.h: New file. | |
697 | * import/m4/dirname.m4: New file. | |
698 | * import/m4/malloc.m4: New file. | |
699 | * import/m4/rename.m4: New file. | |
700 | * import/m4/rmdir.m4: New file. | |
701 | * import/m4/stdio_h.m4: New file. | |
702 | * import/malloc.c: New file. | |
703 | * import/rename.c: New file. | |
704 | * import/rmdir.c: New file. | |
705 | * import/same-inode.h: New file. | |
706 | * import/stdio.c: New file. | |
707 | * import/stdio.in.h: New file. | |
708 | * import/stripslash.c: New file. | |
709 | ||
abbffc89 YQ |
710 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
711 | ||
712 | * configure.ac (AC_CHECK_FUNCS): Remove canonicalize_file_name | |
713 | and realpath. | |
714 | * config.in: Re-generated. | |
715 | * configure: Re-generated. | |
716 | * utils.c (gdb_realpath): Remove code calling realpath, | |
717 | canonicalize_file_name and pathconf. | |
718 | [!_WIN32]: Call canonicalize_file_name. | |
719 | ||
98399780 YQ |
720 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
721 | ||
722 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
723 | canonicalize-lgpl. | |
724 | * aclocal.m4: Re-generated. | |
725 | * config.in: Re-generated. | |
726 | * configure: Re-generated. | |
727 | * import/Makefile.am: Re-generated. | |
728 | * import/Makefile.in: Re-generated. | |
729 | * import/m4/gnulib-cache.m4: Re-generated. | |
730 | * import/m4/gnulib-comp.m4: Re-generated. | |
731 | * import/canonicalize-lgpl.c: New file. | |
732 | * import/extra/snippet/_Noreturn.h: New file. | |
733 | * import/m4/canonicalize.m4: New file. | |
734 | * import/m4/double-slash-root.m4: New file. | |
735 | * import/m4/eealloc.m4: New file. | |
736 | * import/m4/malloca.m4: New file. | |
737 | * import/m4/nocrash.m4: New file. | |
738 | * import/m4/stdlib_h.m4: New file. | |
739 | * import/malloca.c: New file. | |
740 | * import/malloca.h: New file. | |
741 | * import/malloca.valgrind: New file. | |
742 | ||
3332aaf2 YQ |
743 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
744 | ||
745 | * configure.ac (AC_CHECK_FUNCS): Remove lstat. | |
746 | * config.in, configure: Regenerate. | |
747 | * symfile.c (find_separate_debug_file_by_debuglink): Remove | |
748 | code checking HAVE_LSTAT is defined. | |
749 | ||
f45c62c4 YQ |
750 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
751 | ||
752 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
753 | lstat. | |
754 | * gnulib/aclocal.m4: Re-generated. | |
755 | * gnulib/config.in: Re-generated. | |
756 | * gnulib/configure: Re-generated. | |
757 | * gnulib/import/Makefile.am: Re-generated. | |
758 | * gnulib/import/Makefile.in: Re-generated. | |
759 | * gnulib/import/m4/gnulib-cache.m4: Re-generated. | |
760 | * gnulib/import/m4/gnulib-comp.m4: Re-generated. | |
761 | * gnulib/import/lstat.c: New file. | |
762 | * gnulib/import/m4/lstat.m4: New file. | |
763 | ||
bdca27a2 YQ |
764 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
765 | ||
766 | * configure.ac (AC_CHECK_FUNCS): Remove readlink. | |
767 | * config.in, configure: Re-generate. | |
768 | * inf-child.c (inf_child_fileio_readlink): Don't check | |
769 | HAVE_READLINK is defined. | |
770 | ||
2196f55f YQ |
771 | 2014-11-28 Yao Qi <yao@codesourcery.com> |
772 | ||
773 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add readlink. | |
774 | * gnulib/aclocal.m4: Re-generated. | |
775 | * gnulib/config.in: Likewise. | |
776 | * gnulib/configure: Likewise. | |
777 | * gnulib/import/Makefile.am: Likewise. | |
778 | * gnulib/import/Makefile.in: Likewise. | |
779 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
780 | * gnulib/import/m4/gnulib-comp.m4: Likewise. | |
781 | * gnulib/import/dosname.h: New file | |
782 | * gnulib/import/m4/largefile.m4: New file. | |
783 | * gnulib/import/m4/readlink.m4: New file. | |
784 | * gnulib/import/m4/stat.m4: New file. | |
785 | * gnulib/import/readlink.c: New file. | |
786 | * gnulib/import/stat.c: New file. | |
787 | ||
7014e923 | 788 | 2014-11-26 Mark Wielaard <mjw@redhat.com> |
0cfd832f MW |
789 | |
790 | * dwarf2read.c (set_cu_language): Recognize DW_LANG_C11, | |
791 | DW_LANG_C_plus_plus_11, DW_LANG_C_plus_plus_14. | |
792 | ||
aa489395 SL |
793 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
794 | ||
795 | * nios2-tdep.c (nios2_analyze_prologue): Replace restriction | |
796 | that there can be only one stack adjustment in the prologue | |
797 | with tests to detect specific disallowed stack adjustments. | |
798 | ||
7f1659b5 SL |
799 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
800 | ||
801 | * nios2-tdep.c (nios2_in_epilogue_p): Handle multiple stack | |
802 | adjustments. | |
803 | ||
d53c26c7 SL |
804 | 2014-11-25 Sandra Loosemore <sandra@codesourcery.com> |
805 | ||
806 | * nios2-tdep.c (nios2_fetch_insn): Move up in file. Disassemble | |
807 | the instruction as well as reading it from memory. | |
808 | (nios2_match_add): New. | |
809 | (nios2_match_sub): New. | |
810 | (nios2_match_addi): New. | |
811 | (nios2_match_orhi): New. | |
812 | (nios2_match_stw): New. | |
813 | (nios2_match_ldw): New. | |
814 | (nios2_match_rdctl): New. | |
815 | (enum branch_condition): New. | |
816 | (nios2_match_branch): New. | |
817 | (nios2_match_jmpi): New. | |
818 | (nios2_match_calli): New. | |
819 | (nios2_match_jmpr): New. | |
820 | (nios2_match_callr): New. | |
821 | (nios2_match_break): New. | |
822 | (nios2_match_trap): New. | |
823 | (nios2_in_epilogue_p): Rewrite to use new functions. | |
824 | (nios2_analyze_prologue): Likewise. | |
825 | (nios2_skip_prologue): Delete unused local limit_pc. | |
826 | (nios2_breakpoint_from_pc): Make R1-specific encodings explicit. | |
827 | (nios2_get_next_pc): Rewrite to use new functions. | |
828 | ||
cac9b138 JK |
829 | 2014-11-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
830 | ||
831 | * gdbtypes.c (resolve_dynamic_type_internal): Reindent the code. | |
832 | ||
a441dfbc ST |
833 | 2014-11-24 Samuel Thibault <samuel.thibault@ens-lyon.org> |
834 | ||
835 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
836 | * gdb/gnu-nat.c (inf_validate_procinfo): Multiply the number of | |
837 | elements pi_len by the size of the elements before calling | |
838 | vm_deallocate. | |
839 | (inf_validate_task_sc): Likewise, and properly deallocate the | |
840 | noise array. | |
841 | ||
4c9e8482 DE |
842 | 2014-11-23 Doug Evans <xdje42@gmail.com> |
843 | ||
844 | * gdbtypes.c (print_args): Renamed from print_arg_types. Print arg | |
845 | number and name if present. All callers updated. | |
846 | (dump_fn_fieldlists): Fix indentation of args. | |
847 | ||
15ee0bbd PP |
848 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
849 | ||
850 | * MAINTAINERS (Write After Approval): Add myself. | |
851 | ||
e8af5d7a JB |
852 | 2014-11-23 Joel Brobecker <brobecker@adacore.com> |
853 | ||
854 | * breakpoint.c (bp_loc_is_permanent): Return 0 if LOC corresponds | |
855 | to a bp_call_dummy breakpoint type. | |
856 | ||
a344fc09 PP |
857 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
858 | ||
859 | * tui/tui-win.c (tui_initialize_win): Specify SA_RESTART when | |
860 | registering the signal handler. | |
861 | ||
d64e57fa PP |
862 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
863 | ||
864 | * event-top.h (call_stdin_event_handler_again_p): Declare. | |
865 | * event-top.c (call_stdin_event_handler_again_p): Define. | |
866 | (stdin_event_handler): Use it. | |
867 | * tui/tui-io.c (tui_getc): Prepare to call the stdin event | |
868 | handler again if there is pending input following a | |
869 | start sequence. | |
870 | ||
6f9d33d8 PP |
871 | 2014-11-23 Patrick Palka <patrick@parcs.ath.cx> |
872 | ||
873 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
874 | * linux-fork.c (checkpoint_command): Print index of new | |
875 | checkpoint in response message. | |
876 | ||
88db67ef YQ |
877 | 2014-11-23 Yao Qi <yao@codesourcery.com> |
878 | ||
879 | * valprint.c (read_string): Move local variables 'found_nul', | |
880 | 'chunksize' and 'limit' to inner scope. Update comments. | |
881 | ||
01465b56 DE |
882 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
883 | ||
884 | * symtab.c (lookup_symbol_in_objfile_from_linkage_name): Improve | |
885 | function comment. | |
886 | (search_symbols): Fix comments and whitespace. | |
887 | ||
07a1c2c3 DE |
888 | 2014-11-22 Doug Evans <xdje42@gmail.com> |
889 | ||
890 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Fix comment. | |
891 | ||
b2a919a8 DE |
892 | 2014-11-21 Doug Evans <dje@google.com> |
893 | ||
894 | * psymtab.c (psymtab_search_name): Fix whitespace. | |
895 | ||
278289d5 YQ |
896 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
897 | ||
898 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
899 | errno. | |
900 | * gnulib/import/Makefile.am: Re-generated. | |
901 | * gnulib/import/Makefile.in: Likewise. | |
902 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
903 | ||
e01e2baa YQ |
904 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
905 | ||
906 | * gdb_wchar.h: Include wchar.h and wctype.h. | |
907 | [HAVE_ICONV && HAVE_BTOWC]: Don't check HAVE_WCHAR_T and don't | |
908 | include wchar.h and wctype.h. | |
909 | Don't check HAVE_WCHAR_H. | |
910 | ||
f0c00af8 YQ |
911 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
912 | ||
913 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add wchar | |
914 | and wctype-h. | |
915 | * gnulib/import/Makefile.am: Re-generated. | |
916 | * gnulib/import/Makefile.in: Likewise. | |
917 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
918 | ||
0cae13bb YQ |
919 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
920 | ||
921 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add | |
922 | memchr. | |
923 | * gnulib/import/Makefile.am: Re-generated. | |
924 | * gnulib/import/Makefile.in: Likewise. | |
925 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
926 | ||
9c232dda YQ |
927 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
928 | ||
929 | * common/common-defs.h: Include alloca.h | |
930 | * configure.ac: Don't invoke AC_FUNC_ALLOCA. | |
931 | * configure: Re-generated. | |
932 | * defs.h: Remove code handling alloca. | |
933 | * utils.c (gdb_realpath): Don't check HAVE_ALLOCA is defined | |
934 | or not. | |
935 | ||
00d7f58f YQ |
936 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
937 | ||
938 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULE): Add | |
939 | alloca. | |
940 | * gnulib/import/Makefile.am: Re-generated. | |
941 | * gnulib/import/Makefile.in: Likewise.. | |
942 | * gnulib/import/m4/gnulib-cache.m4: Likewise. | |
943 | ||
6068ad5d YQ |
944 | 2014-11-21 Yao Qi <yao@codesourcery.com> |
945 | ||
946 | * gnulib/update-gnulib.sh: Make IMPORTED_GNULIB_MODULES in | |
947 | alphabetical order. | |
948 | ||
45e44d27 JB |
949 | 2014-11-21 Joel Brobecker <brobecker@adacore.com> |
950 | ||
951 | * gdbtypes.c (create_range_type): Unset RESULT_TYPE's | |
952 | flag_unsigned if HIGH_BOUND is constant and negative. | |
953 | ||
7e7cbeb3 SDJ |
954 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
955 | ||
956 | PR breakpoints/10737 | |
957 | * xml-syscall.c (set_xml_syscall_file_name): Remove "const" | |
958 | modifier from "struct gdbarch" when compiling without Expat (XML) | |
959 | support. | |
960 | (get_syscall_by_number): Likewise. | |
961 | (get_syscall_by_name): Likewise. | |
962 | (get_syscall_names): Likewise. | |
963 | ||
458c8db8 SDJ |
964 | 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com> |
965 | ||
966 | PR breakpoints/10737 | |
967 | * amd64-linux-tdep.c (amd64_linux_init_abi_common): Adjust call to | |
968 | set_xml_syscall_file_name to provide gdbarch. | |
969 | * arm-linux-tdep.c (arm_linux_init_abi): Likewise. | |
970 | * bfin-linux-tdep.c (bfin_linux_init_abi): Likewise. | |
971 | * breakpoint.c (print_it_catch_syscall): Adjust call to | |
972 | get_syscall_by_number to provide gdbarch. | |
973 | (print_one_catch_syscall): Likewise. | |
974 | (print_mention_catch_syscall): Likewise. | |
975 | (print_recreate_catch_syscall): Likewise. | |
976 | (catch_syscall_split_args): Adjust calls to get_syscall_by_number | |
977 | and get_syscall_by_name to provide gdbarch. | |
978 | (catch_syscall_completer): Adjust call to get_syscall_names to | |
979 | provide gdbarch. | |
980 | * gdbarch.c: Regenerate. | |
981 | * gdbarch.h: Likewise. | |
982 | * gdbarch.sh: Forward declare "struct syscalls_info". | |
983 | (xml_syscall_file): New variable. | |
984 | (syscalls_info): Likewise. | |
985 | * i386-linux-tdep.c (i386_linux_init_abi): Adjust call to | |
986 | set_xml_syscall_file_name to provide gdbarch. | |
987 | * mips-linux-tdep.c (mips_linux_init_abi): Likewise. | |
988 | * ppc-linux-tdep.c (ppc_linux_init_abi): Likewise. | |
989 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
990 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Likewise. | |
991 | * sparc64-linux-tdep.c (sparc64_linux_init_abi): Likewise. | |
992 | * xml-syscall.c: Include gdbarch.h. | |
993 | (set_xml_syscall_file_name): Accept gdbarch parameter. | |
994 | (get_syscall_by_number): Likewise. | |
995 | (get_syscall_by_name): Likewise. | |
996 | (get_syscall_names): Likewise. | |
997 | (my_gdb_datadir): Delete global variable. | |
998 | (struct syscalls_info) <my_gdb_datadir>: New variable. | |
999 | (struct syscalls_info) <sysinfo>: Rename variable to | |
1000 | "syscalls_info". | |
1001 | (sysinfo): Delete global variable. | |
1002 | (have_initialized_sysinfo): Likewise. | |
1003 | (xml_syscall_file): Likewise. | |
1004 | (sysinfo_free_syscalls_desc): Rename to... | |
1005 | (syscalls_info_free_syscalls_desc): ... this. | |
1006 | (free_syscalls_info): Rename "sysinfo" to "syscalls_info". Adjust | |
1007 | code to the new layout of "struct syscalls_info". | |
1008 | (make_cleanup_free_syscalls_info): Rename parameter "sysinfo" to | |
1009 | "syscalls_info". | |
1010 | (syscall_create_syscall_desc): Likewise. | |
1011 | (syscall_start_syscall): Likewise. | |
1012 | (syscall_parse_xml): Likewise. | |
1013 | (xml_init_syscalls_info): Likewise. Drop "const" from return value. | |
1014 | (init_sysinfo): Rename to... | |
1015 | (init_syscalls_info): ...this. Add gdbarch as a parameter. | |
1016 | Adjust function to deal with gdbarch. | |
1017 | (xml_get_syscall_number): Delete parameter sysinfo. Accept | |
1018 | gdbarch as a parameter. Adjust code. | |
1019 | (xml_get_syscall_name): Likewise. | |
1020 | (xml_list_of_syscalls): Likewise. | |
1021 | (set_xml_syscall_file_name): Accept gdbarch as parameter. | |
1022 | (get_syscall_by_number): Likewise. | |
1023 | (get_syscall_by_name): Likewise. | |
1024 | (get_syscall_names): Likewise. | |
1025 | * xml-syscall.h (set_xml_syscall_file_name): Likewise. | |
1026 | (get_syscall_by_number): Likewise. | |
1027 | (get_syscall_by_name): Likewise. | |
1028 | (get_syscall_names): Likewise. | |
1029 | ||
43f3e411 DE |
1030 | 2014-11-20 Doug Evans <xdje42@gmail.com> |
1031 | ||
1032 | Split struct symtab into two: struct symtab and compunit_symtab. | |
1033 | * amd64-tdep.c (amd64_skip_xmm_prologue): Fetch producer from compunit. | |
1034 | * block.c (blockvector_for_pc_sect): Change "struct symtab *" argument | |
1035 | to "struct compunit_symtab *". All callers updated. | |
1036 | (set_block_compunit_symtab): Renamed from set_block_symtab. Change | |
1037 | "struct symtab *" argument to "struct compunit_symtab *". | |
1038 | All callers updated. | |
1039 | (get_block_compunit_symtab): Renamed from get_block_symtab. Change | |
1040 | result to "struct compunit_symtab *". All callers updated. | |
1041 | (find_iterator_compunit_symtab): Renamed from find_iterator_symtab. | |
1042 | Change result to "struct compunit_symtab *". All callers updated. | |
1043 | * block.h (struct global_block) <compunit_symtab>: Renamed from symtab. | |
1044 | hange type to "struct compunit_symtab *". All uses updated. | |
1045 | (struct block_iterator) <d.compunit_symtab>: Renamed from "d.symtab". | |
1046 | Change type to "struct compunit_symtab *". All uses updated. | |
1047 | * buildsym.c (struct buildsym_compunit): New struct. | |
1048 | (subfiles, buildsym_compdir, buildsym_objfile, main_subfile): Delete. | |
1049 | (buildsym_compunit): New static global. | |
1050 | (finish_block_internal): Update to fetch objfile from | |
1051 | buildsym_compunit. | |
1052 | (make_blockvector): Delete objfile argument. | |
1053 | (start_subfile): Rewrite to use buildsym_compunit. Don't initialize | |
1054 | debugformat, producer. | |
1055 | (start_buildsym_compunit): New function. | |
1056 | (free_buildsym_compunit): Renamed from free_subfiles_list. | |
1057 | All callers updated. | |
1058 | (patch_subfile_names): Rewrite to use buildsym_compunit. | |
1059 | (get_compunit_symtab): New function. | |
1060 | (get_macro_table): Delete argument comp_dir. All callers updated. | |
1061 | (start_symtab): Change result to "struct compunit_symtab *". | |
1062 | All callers updated. Create the subfile of the main source file. | |
1063 | (watch_main_source_file_lossage): Rewrite to use buildsym_compunit. | |
1064 | (reset_symtab_globals): Update. | |
1065 | (end_symtab_get_static_block): Update to use buildsym_compunit. | |
1066 | (end_symtab_without_blockvector): Rewrite. | |
1067 | (end_symtab_with_blockvector): Change result to | |
1068 | "struct compunit_symtab *". All callers updated. | |
1069 | Update to use buildsym_compunit. Don't set symtab->dirname, | |
1070 | instead set it in the compunit. | |
1071 | Explicitly make sure main symtab is first in its list. | |
1072 | Set debugformat, producer, blockvector, block_line_section, and | |
1073 | macrotable in the compunit. | |
1074 | (end_symtab_from_static_block): Change result to | |
1075 | "struct compunit_symtab *". All callers updated. | |
1076 | (end_symtab, end_expandable_symtab): Ditto. | |
1077 | (set_missing_symtab): Change symtab argument to | |
1078 | "struct compunit_symtab *". All callers updated. | |
1079 | (augment_type_symtab): Ditto. | |
1080 | (record_debugformat): Update to use buildsym_compunit. | |
1081 | (record_producer): Update to use buildsym_compunit. | |
1082 | * buildsym.h (struct subfile) <dirname>: Delete. | |
1083 | <producer, debugformat>: Delete. | |
1084 | <buildsym_compunit>: New member. | |
1085 | (get_compunit_symtab): Declare. | |
1086 | * dwarf2read.c (struct type_unit_group) <compunit_symtab>: Renamed | |
1087 | from primary_symtab. Change type to "struct compunit_symtab *". | |
1088 | All uses updated. | |
1089 | (dwarf2_start_symtab): Change result to "struct compunit_symtab *". | |
1090 | All callers updated. | |
1091 | (dwarf_decode_macros): Delete comp_dir argument. All callers updated. | |
1092 | (struct dwarf2_per_cu_quick_data) <compunit_symtab>: Renamed from | |
1093 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
1094 | (dw2_instantiate_symtab): Change result to "struct compunit_symtab *". | |
1095 | All callers updated. | |
1096 | (dw2_find_last_source_symtab): Ditto. | |
1097 | (dw2_lookup_symbol): Ditto. | |
1098 | (recursively_find_pc_sect_compunit_symtab): Renamed from | |
1099 | recursively_find_pc_sect_symtab. Change result to | |
1100 | "struct compunit_symtab *". All callers updated. | |
1101 | (dw2_find_pc_sect_compunit_symtab): Renamed from | |
1102 | dw2_find_pc_sect_symtab. Change result to | |
1103 | "struct compunit_symtab *". All callers updated. | |
1104 | (get_compunit_symtab): Renamed from get_symtab. Change result to | |
1105 | "struct compunit_symtab *". All callers updated. | |
1106 | (recursively_compute_inclusions): Change type of immediate_parent | |
1107 | argument to "struct compunit_symtab *". All callers updated. | |
1108 | (compute_compunit_symtab_includes): Renamed from | |
1109 | compute_symtab_includes. All callers updated. Rewrite to compute | |
1110 | includes of compunit_symtabs and not symtabs. | |
1111 | (process_full_comp_unit): Update to work with struct compunit_symtab. | |
1112 | (process_full_type_unit): Ditto. | |
1113 | (dwarf_decode_lines_1): Delete argument comp_dir. All callers updated. | |
1114 | (dwarf_decode_lines): Remove special case handling of main subfile. | |
1115 | (macro_start_file): Delete argument comp_dir. All callers updated. | |
1116 | (dwarf_decode_macro_bytes): Ditto. | |
1117 | * guile/scm-block.c (bkscm_print_block_syms_progress_smob): Update to | |
1118 | use struct compunit_symtab. | |
1119 | * i386-tdep.c (i386_skip_prologue): Fetch producer from compunit. | |
1120 | * jit.c (finalize_symtab): Build compunit_symtab. | |
1121 | * jv-lang.c (get_java_class_symtab): Change result to | |
1122 | "struct compunit_symtab *". All callers updated. | |
1123 | * macroscope.c (sal_macro_scope): Fetch macro table from compunit. | |
1124 | * macrotab.c (struct macro_table) <compunit_symtab>: Renamed from | |
1125 | comp_dir. Change type to "struct compunit_symtab *". | |
1126 | All uses updated. | |
1127 | (new_macro_table): Change comp_dir argument to cust, | |
1128 | "struct compunit_symtab *". All callers updated. | |
1129 | * maint.c (struct cmd_stats) <nr_compunit_symtabs>: Renamed from | |
1130 | nr_primary_symtabs. All uses updated. | |
1131 | (count_symtabs_and_blocks): Update to handle compunits. | |
1132 | (report_command_stats): Update output, "primary symtabs" renamed to | |
1133 | "compunits". | |
1134 | * mdebugread.c (new_symtab): Change result to | |
1135 | "struct compunit_symtab *". All callers updated. | |
1136 | (parse_procedure): Change type of search_symtab argument to | |
1137 | "struct compunit_symtab *". All callers updated. | |
1138 | * objfiles.c (objfile_relocate1): Loop over blockvectors in a | |
1139 | separate loop. | |
1140 | * objfiles.h (struct objfile) <compunit_symtabs>: Renamed from | |
1141 | symtabs. Change type to "struct compunit_symtab *". All uses updated. | |
1142 | (ALL_OBJFILE_FILETABS): Renamed from ALL_OBJFILE_SYMTABS. | |
1143 | All uses updated. | |
1144 | (ALL_OBJFILE_COMPUNITS): Renamed from ALL_OBJFILE_PRIMARY_SYMTABS. | |
1145 | All uses updated. | |
1146 | (ALL_FILETABS): Renamed from ALL_SYMTABS. All uses updated. | |
1147 | (ALL_COMPUNITS): Renamed from ALL_PRIMARY_SYMTABS. All uses updated. | |
1148 | * psympriv.h (struct partial_symtab) <compunit_symtab>: Renamed from | |
1149 | symtab. Change type to "struct compunit_symtab *". All uses updated. | |
1150 | * psymtab.c (psymtab_to_symtab): Change result type to | |
1151 | "struct compunit_symtab *". All callers updated. | |
1152 | (find_pc_sect_compunit_symtab_from_partial): Renamed from | |
1153 | find_pc_sect_symtab_from_partial. Change result type to | |
1154 | "struct compunit_symtab *". All callers updated. | |
1155 | (lookup_symbol_aux_psymtabs): Change result type to | |
1156 | "struct compunit_symtab *". All callers updated. | |
1157 | (find_last_source_symtab_from_partial): Ditto. | |
1158 | * python/py-symtab.c (stpy_get_producer): Fetch producer from compunit. | |
1159 | * source.c (forget_cached_source_info_for_objfile): Fetch debugformat | |
1160 | and macro_table from compunit. | |
1161 | * symfile-debug.c (debug_qf_find_last_source_symtab): Change result | |
1162 | type to "struct compunit_symtab *". All callers updated. | |
1163 | (debug_qf_lookup_symbol): Ditto. | |
1164 | (debug_qf_find_pc_sect_compunit_symtab): Renamed from | |
1165 | debug_qf_find_pc_sect_symtab, change result type to | |
1166 | "struct compunit_symtab *". All callers updated. | |
1167 | * symfile.c (allocate_symtab): Delete objfile argument. | |
1168 | New argument cust. | |
1169 | (allocate_compunit_symtab): New function. | |
1170 | (add_compunit_symtab_to_objfile): New function. | |
1171 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: | |
1172 | Change result type to "struct compunit_symtab *". All uses updated. | |
1173 | <find_pc_sect_compunit_symtab>: Renamed from find_pc_sect_symtab. | |
1174 | Change result type to "struct compunit_symtab *". All uses updated. | |
1175 | * symmisc.c (print_objfile_statistics): Compute blockvector count in | |
1176 | separate loop. | |
1177 | (dump_symtab_1): Update test for primary source symtab. | |
1178 | (maintenance_info_symtabs): Update to handle compunit symtabs. | |
1179 | (maintenance_check_symtabs): Ditto. | |
1180 | * symtab.c (set_primary_symtab): Delete. | |
1181 | (compunit_primary_filetab): New function. | |
1182 | (compunit_language): New function. | |
1183 | (iterate_over_some_symtabs): Change type of arguments "first", | |
1184 | "after_last" to "struct compunit_symtab *". All callers updated. | |
1185 | Update to loop over symtabs in each compunit. | |
1186 | (error_in_psymtab_expansion): Rename symtab argument to cust, | |
1187 | and change type to "struct compunit_symtab *". All callers updated. | |
1188 | (find_pc_sect_compunit_symtab): Renamed from find_pc_sect_symtab. | |
1189 | Change result type to "struct compunit_symtab *". All callers updated. | |
1190 | (find_pc_compunit_symtab): Renamed from find_pc_symtab. | |
1191 | Change result type to "struct compunit_symtab *". All callers updated. | |
1192 | (find_pc_sect_line): Only loop over symtabs within selected compunit | |
1193 | instead of all symtabs in the objfile. | |
1194 | * symtab.h (struct symtab) <blockvector>: Moved to compunit_symtab. | |
1195 | <compunit_symtab> New member. | |
1196 | <block_line_section>: Moved to compunit_symtab. | |
1197 | <locations_valid>: Ditto. | |
1198 | <epilogue_unwind_valid>: Ditto. | |
1199 | <macro_table>: Ditto. | |
1200 | <dirname>: Ditto. | |
1201 | <debugformat>: Ditto. | |
1202 | <producer>: Ditto. | |
1203 | <objfile>: Ditto. | |
1204 | <call_site_htab>: Ditto. | |
1205 | <includes>: Ditto. | |
1206 | <user>: Ditto. | |
1207 | <primary>: Delete | |
1208 | (SYMTAB_COMPUNIT): New macro. | |
1209 | (SYMTAB_BLOCKVECTOR): Update definition. | |
1210 | (SYMTAB_OBJFILE): Update definition. | |
1211 | (SYMTAB_DIRNAME): Update definition. | |
1212 | (struct compunit_symtab): New type. Common members among all source | |
1213 | symtabs within a compilation unit moved here. All uses updated. | |
1214 | (COMPUNIT_OBJFILE): New macro. | |
1215 | (COMPUNIT_FILETABS): New macro. | |
1216 | (COMPUNIT_DEBUGFORMAT): New macro. | |
1217 | (COMPUNIT_PRODUCER): New macro. | |
1218 | (COMPUNIT_DIRNAME): New macro. | |
1219 | (COMPUNIT_BLOCKVECTOR): New macro. | |
1220 | (COMPUNIT_BLOCK_LINE_SECTION): New macro. | |
1221 | (COMPUNIT_LOCATIONS_VALID): New macro. | |
1222 | (COMPUNIT_EPILOGUE_UNWIND_VALID): New macro. | |
1223 | (COMPUNIT_CALL_SITE_HTAB): New macro. | |
1224 | (COMPUNIT_MACRO_TABLE): New macro. | |
1225 | (ALL_COMPUNIT_FILETABS): New macro. | |
1226 | (compunit_symtab_ptr): New typedef. | |
1227 | (DEF_VEC_P (compunit_symtab_ptr)): New vector type. | |
1228 | ||
005e2509 JB |
1229 | 2014-11-20 Joel Brobecker <brobecker@adacore.com> |
1230 | ||
1231 | * ada-lang.c (ada_is_redundant_range_encoding): Return 0 | |
1232 | if the TYPE_CODE of range_type's base type does not match | |
1233 | the TYPE_CODE of encoding_type's base type. | |
1234 | ||
2b0f535a JB |
1235 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
1236 | ||
1237 | * ada-lang.c (ada_unqualified_name): Return DECODED_NAME if | |
1238 | it starts with '<'. | |
1239 | ||
8908fca5 JB |
1240 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
1241 | ||
1242 | * ada-lang.c (ada_is_redundant_range_encoding): New function. | |
1243 | (ada_is_redundant_index_type_desc): New function. | |
1244 | (to_fixed_array_type): Ignore parallel XA type if redundant. | |
1245 | ||
4a46959e JB |
1246 | 2014-11-19 Joel Brobecker <brobecker@adacore.com> |
1247 | ||
1248 | * ada-lang.c (constrained_packed_array_type): Set the length | |
1249 | of the return array as if both bounds where zero if that | |
1250 | returned array's index type is dynamic. | |
1251 | ||
2acf986b YQ |
1252 | 2014-11-19 Yao Qi <yao@codesourcery.com> |
1253 | ||
1254 | * config/i386/go32.mh (CC): Remove. | |
1255 | ||
439247b6 DE |
1256 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1257 | ||
1258 | * symtab.h (SYMTAB_BLOCKVECTOR): Renamed from BLOCKVECTOR. All uses | |
1259 | updated. | |
1260 | ||
4d663531 DE |
1261 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1262 | ||
1263 | * buildsym.c (buildsym_objfile): New static global. | |
1264 | (buildsym_comp_dir): New static global. | |
1265 | (finish_block_internal): Delete arg objfile. All callers updated. | |
1266 | (finish_block): Delete arg objfile. All callers updated. | |
1267 | (start_subfile): Delete arg dirname. All callers updated. | |
1268 | (patch_subfile_names): Update buildsym_comp_dir. | |
1269 | (get_macro_table): Delete arg objfile. All callers updated. | |
1270 | (start_symtab): New arg objfile. All callers updated. | |
1271 | Rename arg dirname to comp_dir. | |
1272 | (reset_symtab_globals): Initialize buildsym_objfile, buildsym_comp_dir. | |
1273 | (end_symtab_get_static_block): Delete arg objfile. All callers | |
1274 | updated. | |
1275 | (end_symtab_without_blockvector): Ditto. | |
1276 | (end_symtab_with_blockvector): Ditto. | |
1277 | (end_symtab_from_static_block): Ditto. | |
1278 | (end_symtab): Ditto. | |
1279 | (end_expandable_symtab): Ditto. | |
1280 | (augment_type_symtab): Ditto. | |
1281 | * coffread.c (coff_start_symtab): New arg objfile. All callers | |
1282 | updated. | |
1283 | ||
8435453b DE |
1284 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1285 | ||
1286 | * symtab.h (SYMTAB_LINETABLE): Renamed from LINETABLE. All uses | |
1287 | updated. | |
1288 | ||
ee6f8984 DE |
1289 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1290 | ||
1291 | * symtab.h (SYMTAB_DIRNAME): New macro. All uses of member | |
1292 | symtab.dirname updated to use it. | |
1293 | ||
eb822aa6 DE |
1294 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1295 | ||
1296 | * symtab.h (SYMTAB_OBJFILE): New macro. All uses of member | |
1297 | symtab.objfile updated to use it. | |
1298 | ||
98387a29 DE |
1299 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1300 | ||
1301 | * buildsym.c (watch_main_source_file_lossage): Fix memory leak. | |
1302 | ||
aff08958 DE |
1303 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1304 | ||
1305 | * cp-namespace.c (cp_lookup_symbol_imports_or_template): Use | |
1306 | SYMBOL_OBJFILE. | |
1307 | * findvar.c (default_read_var_value): Ditto. | |
1308 | * jv-lang.c (add_class_symtab_symbol): Ditto. | |
1309 | * parse.c (operator_check_standard): Ditto. | |
1310 | * printcmd.c (address_info): Ditto. | |
1311 | * symtab.c (fixup_symbol_section): Ditto. | |
1312 | (skip_prologue_sal): Ditto. | |
1313 | * tracepoint.c (scope_info): Ditto. | |
1314 | * valops.c (find_function_in_inferior): Ditto. | |
1315 | * guile/scm-symbol.c (syscm_eq_symbol_smob): Ditto. | |
1316 | * python/py-symbol.c (set_symbol): Ditto. | |
1317 | ||
7bab9b58 DE |
1318 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1319 | ||
1320 | * buildsym.c (main_subfile): New static global. | |
1321 | (free_subfiles_list): New function. | |
1322 | (start_symtab): Set main_subfile. | |
1323 | (restart_symtab): Replace init of subfiles, current_subfile with | |
1324 | call to free_subfiles_list. | |
1325 | (watch_main_source_file_lossage): Use main_subfile. | |
1326 | (reset_symtab_globals): Replace init of current_subfile with call | |
1327 | to free_subfiles_list. | |
1328 | (end_symtab_without_blockvector, end_symtab_with_blockvector): New | |
1329 | functions, split out from ... | |
1330 | (end_symtab_from_static_block): ... here. Rewrite to call them. | |
1331 | ||
f194fefb DE |
1332 | 2014-11-18 Doug Evans <xdje42@gmail.com> |
1333 | ||
1334 | The result of symtab expansion is always a primary symtab. | |
1335 | * dwarf2read.c (dw2_instantiate_symtab): Add assert. | |
1336 | (dw2_lookup_symbol): Remove unnecessary test for primary symbol table. | |
1337 | * psymtab.c (lookup_symbol_aux_psymtabs): Ditto. | |
1338 | (psymtab_to_symtab): Add comment and assert. | |
1339 | (map_matching_symbols_psymtab): Remove unnecessary test for | |
1340 | non-primary symtab. | |
1341 | ||
34248c3a DE |
1342 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
1343 | ||
1344 | PR symtab/17559 | |
1345 | * symtab.c (find_pc_line_symtab): New function. | |
1346 | * symtab.h (find_pc_line_symtab): Declare. | |
1347 | * disasm.c (gdb_disassembly): Call find_pc_line_symtab instead of | |
1348 | find_pc_symtab. | |
1349 | * tui/tui-disasm.c (tui_set_disassem_content): Ditto. | |
1350 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Ditto. | |
1351 | * tui/tui-source.c (tui_vertical_source_scroll): Ditto. | |
1352 | * tui/tui-win.c (make_visible_with_new_height): Ditto. | |
1353 | * tui/tui-winsource.c (tui_horizontal_source_scroll): Ditto. | |
1354 | (tui_display_main): Call find_pc_line_symtab instead of find_pc_line. | |
1355 | ||
2097ae25 DE |
1356 | 2014-11-15 Doug Evans <xdje42@gmail.com> |
1357 | ||
1358 | * symtab.c (expand_symtab_containing_pc): Renamed from | |
1359 | find_pc_sect_symtab_via_partial. All callers updated. | |
1360 | ||
1ada499f YQ |
1361 | 2014-11-15 Yao Qi <yao@codesourcery.com> |
1362 | ||
1363 | * go32-nat.c (go32_create_inferior): Add missing parenthesis. | |
1364 | ||
355e2102 JB |
1365 | 2014-11-14 Joel Brobecker <brobecker@adacore.com> |
1366 | ||
1367 | * common/common-defs.h: Move <stdarg.h> #include ahead of | |
1368 | <stdio.h> #include. | |
1369 | ||
83030110 PA |
1370 | 2014-11-14 Pedro Alves <palves@redhat.com> |
1371 | ||
1372 | * charset.c [PHONY_ICONV && !EILSEQ] (EILSEQ): Don't define. | |
1373 | [!PHONY_ICONV] (gdb_iconv): New function. | |
1374 | [!PHONY_ICONV] (iconv): Redefine to gdb_iconv. | |
1375 | ||
a8719064 DE |
1376 | 2014-11-13 Doug Evans <dje@google.com> |
1377 | ||
1378 | PR symtab/17591 | |
1379 | * dwarf2read.c (find_slot_in_mapped_hash): Handle | |
1380 | "(anonymous namespace)". | |
1381 | ||
60f7655a DE |
1382 | 2014-11-13 Doug Evans <dje@google.com> |
1383 | ||
1384 | * dwarf2read.c (update_enumeration_type_from_children): Avoid | |
1385 | infinite loop. | |
1386 | ||
5784b3ca JK |
1387 | 2014-11-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
1388 | ||
1389 | * NEWS (maint set target-async): Fix typo. | |
1390 | ||
6218dc4b PA |
1391 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1392 | ||
1393 | * infrun.c (enum infwait_states, infwait_state): Delete. | |
1394 | ||
af48d08f PA |
1395 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1396 | ||
1397 | * infrun.c (resume): Clear the thread's 'stepped_breakpoint' flag. | |
1398 | Rewrite stepping over a permanent breakpoint. | |
1399 | (thread_still_needs_step_over, proceed): Don't set | |
1400 | stepping_over_breakpoint for permanent breakpoints. | |
1401 | (handle_signal_stop): Don't clear stepped_breakpoint. Also pull | |
1402 | single-step breakpoints out of the target on hardware step | |
1403 | targets. | |
1404 | (process_event_stop_test): If stepping a permanent breakpoint | |
1405 | doesn't hit the step-resume breakpoint, delete the step-resume | |
1406 | breakpoint. | |
1407 | (switch_back_to_stepped_thread): Also check if the stepped thread | |
1408 | has advanced already on hardware step targets. | |
1409 | (currently_stepping): Return true if the thread stepped a | |
1410 | breakpoint. | |
1411 | ||
1a853c52 PA |
1412 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1413 | ||
1414 | Mark locations as permanent, not the whole breakpoint. | |
1415 | * breakpoint.c (remove_breakpoint_1, remove_breakpoint): Adjust. | |
1416 | (mark_breakpoints_out): Don't mark permanent breakpoints as | |
1417 | uninserted. | |
1418 | (breakpoint_init_inferior): Use mark_breakpoints_out. | |
1419 | (breakpoint_here_p): Adjust. | |
1420 | (bpstat_stop_status, describe_other_breakpoints): Remove handling | |
1421 | of permanent breakpoints. | |
1422 | (make_breakpoint_permanent): Mark each location as permanent, | |
1423 | instead of marking the breakpoint. | |
1424 | (add_location_to_breakpoint): If the location is permanent, mark | |
1425 | it as such, and as inserted. | |
1426 | (init_breakpoint_sal): Don't make the breakpoint permanent here. | |
1427 | (bp_location_compare, update_global_location_list): Adjust. | |
1428 | (update_breakpoint_locations): Don't make the breakpoint permanent | |
1429 | here. | |
1430 | (disable_breakpoint, enable_breakpoint_disp): Don't skip permanent | |
1431 | breakpoints. | |
1432 | * breakpoint.h (enum enable_state) <bp_permanent>: Delete field. | |
1433 | (struct bp_location) <permanent>: New field. | |
1434 | * guile/scm-breakpoint.c (bpscm_enable_state_to_string): Remove | |
1435 | reference to bp_permanent. | |
1436 | ||
ae9bb220 PA |
1437 | 2014-11-12 Pedro Alves <palves@redhat.com> |
1438 | ||
1439 | * arch-utils.c (default_skip_permanent_breakpoint): New function. | |
1440 | * arch-utils.h (default_skip_permanent_breakpoint): New | |
1441 | declaration. | |
1442 | * gdbarch.sh (skip_permanent_breakpoint): Now an 'f' function. | |
1443 | Install default_skip_permanent_breakpoint as default method. | |
1444 | * i386-tdep.c (i386_skip_permanent_breakpoint): Delete function. | |
1445 | (i386_gdbarch_init): Don't install it. | |
1446 | * infrun.c (resume): Assume there's always a | |
1447 | gdbarch_skip_permanent_breakpoint implementation. | |
1448 | * gdbarch.h, gdbarch.c: Regenerate. | |
1449 | ||
015de688 DC |
1450 | 2014-11-11 Daniel Colascione <dancol@dancol.org> |
1451 | ||
1452 | Warn about cross-PID-namespace debugging. | |
1453 | * nat/linux-procfs.h (linux_proc_pid_get_ns): New prototype. | |
1454 | * nat/linux-procfs.c (linux_proc_pid_get_ns): New function. | |
1455 | * linux-thread-db.c (check_pid_namespace_match): New function. | |
1456 | (thread_db_inferior_created): Call it. | |
1457 | ||
26a84859 DE |
1458 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1459 | ||
1460 | * symmisc.c (print_objfile_statistics): Remove trailing whitespace. | |
1461 | (maintenance_info_symtabs, maintenance_check_symtabs): Ditto. | |
1462 | ||
712a2e6d DE |
1463 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1464 | ||
1465 | * source.c (select_source_symtab): Rewrite to use ALL_SYMTABS. | |
1466 | ||
af3768e9 DE |
1467 | 2014-11-10 Doug Evans <xdje42@gmail.com> |
1468 | ||
1469 | PR symtab/17564 | |
1470 | * symtab.c (lookup_symbol_in_all_objfiles): Delete. | |
1471 | (lookup_static_symbol): Move definition to new location and rewrite. | |
1472 | (lookup_symbol_in_objfile): New function. | |
1473 | (lookup_symbol_global_iterator_cb): Call it. | |
1474 | ||
b1f28d99 UW |
1475 | 2014-11-10 Ulrich Weigand <uweigand@de.ibm.com> |
1476 | ||
1477 | * eval.c (evaluate_subexp_standard): Work around GCC bug 63748. | |
1478 | ||
b7a084be PA |
1479 | 2014-11-07 Pedro Alves <palves@redhat.com> |
1480 | ||
1481 | * infrun.c (process_event_stop_test) <subroutine check>: Don't | |
1482 | check if we did a "nexti" inside a prologue. | |
1483 | * symtab.c (in_prologue): Delete function. | |
1484 | * symtab.h (in_prologue): Delete declaration. | |
1485 | ||
67be31e5 DE |
1486 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1487 | ||
1488 | * symtab.h (lookup_global_symbol): Improve function comment. | |
1489 | ||
08724ab7 DE |
1490 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1491 | ||
1492 | * symtab.c (lookup_global_symbol): Renamed from lookup_symbol_global. | |
1493 | All callers updated. | |
1494 | * symtab.h (lookup_global_symbol): Update decl. | |
1495 | (lookup_static_symbol): Move decl to better location. | |
1496 | ||
d9060ba6 DE |
1497 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1498 | ||
1499 | * symtab.c (basic_lookup_symbol_nonlocal): Add comment. | |
1500 | ||
74016e12 DE |
1501 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1502 | ||
1503 | * symtab.c (lookup_local_symbol): Renamed from lookup_symbol_aux_local. | |
1504 | All callers updated. | |
1505 | (lookup_symbol_in_all_objfiles): Renamed from | |
1506 | lookup_symbol_aux_symtabs. All callers updated. | |
1507 | (lookup_symbol_via_quick_fns): Renamed from lookup_symbol_aux_quick. | |
1508 | All callers updated. | |
1509 | (lookup_symbol_in_objfile_symtabs): Renamed from | |
1510 | lookup_symbol_aux_objfile. All callers updated. | |
1511 | ||
d1a2d36d DE |
1512 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1513 | ||
1514 | * symtab.c (lookup_symbol_in_block): Renamed from | |
1515 | lookup_symbol_aux_block. All callers updated. | |
1516 | ||
24d864bb DE |
1517 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1518 | ||
1519 | * symtab.c (lookup_static_symbol): Renamed from | |
1520 | lookup_static_symbol_aux. All callers updated. | |
1521 | (lookup_symbol_in_static_block): Renamed from lookup_symbol_static. | |
1522 | All callers updated. | |
1523 | ||
358d6ab3 DE |
1524 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1525 | ||
1526 | * block.h (ALL_BLOCK_SYMBOLS_WITH_NAME): New macro. | |
1527 | * block.c (block_lookup_symbol): Use it. | |
1528 | * cp-support.c (make_symbol_overload_list_block): Use it. | |
1529 | * symtab.c (iterate_over_symbols): Use it. | |
1530 | ||
16b2eaa1 DE |
1531 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1532 | ||
1533 | * symtab.c (lookup_block_symbol): Moved to ... | |
1534 | * block.c (block_lookup_symbol): ... here and renamed. | |
1535 | All callers updated. | |
1536 | * block.h (block_lookup_symbol): Declare. | |
1537 | * symtab.h (lookup_block_symbol): Delete. | |
1538 | ||
2dd2cd1c DE |
1539 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1540 | ||
1541 | * ada-lang.c (ada_make_symbol_completion_list): Use | |
1542 | ALL_PRIMARY_SYMTABS instead of ALL_SYMTABS. | |
1543 | * symtab.c (lookup_objfile_from_block): Ditto. | |
1544 | ||
d4c58915 DE |
1545 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1546 | ||
1547 | * gdbtypes.h (TYPE_CODE_CLASS): Delete. All uses changed to use | |
1548 | TYPE_CODE_STRUCT. | |
1549 | ||
9c1877ea DE |
1550 | 2014-11-06 Doug Evans <xdje42@gmail.com> |
1551 | ||
1552 | * objfiles.c (get_objfile_arch): Constify. | |
1553 | * objfiles.h (get_objfile_arch): Update prototype. | |
1554 | * solib.c (solib_global_lookup): Fetch arch from objfile, | |
1555 | not target_gdbarch. | |
1556 | ||
426a4079 SL |
1557 | 2014-11-06 Sandra Loosemore <sandra@codesourcery.com> |
1558 | ||
1559 | * nios2-tdep.c (wild_insn): Delete. | |
1560 | (profiler_insn, irqentry_insn): Delete. | |
1561 | (nios2_match_sequence): Delete. | |
1562 | (nios2_analyze_prologue): Update comments. Remove matching | |
1563 | of obsolete profiler_insn and irqentry_insn sequences. | |
1564 | ||
ee11262d AM |
1565 | 2014-11-05 Alan Modra <amodra@gmail.com> |
1566 | ||
1567 | * charset.c (convert_between_encodings): Shrink obstack using | |
1568 | obstack_blank_fast. | |
1569 | * minsyms.c (install_minimal_symbols): Likewise. | |
1ae1b8cc AM |
1570 | * cp-valprint.c (cp_print_value_fields): Cast obstack_next_free |
1571 | to char* before doing pointer arithmetic. | |
ee11262d | 1572 | |
c87e6d00 SM |
1573 | 2014-11-04 Simon Marchi <simon.marchi@ericsson.com> |
1574 | ||
1575 | * tui/tui.c (tui_enable): Pass stdout and stdin to newterm. | |
1576 | ||
441ef17f PA |
1577 | 2014-11-04 Pedro Alves <palves@redhat.com> |
1578 | ||
1579 | * breakpoint.c (breakpoint_thread_match): Delete function. | |
1580 | * breakpoint.h (breakpoint_thread_match): Delete declaration. | |
1581 | ||
e0f52461 SC |
1582 | 2014-11-03 Siva Chandra Reddy <sivachandra@google.com> |
1583 | ||
1584 | PR c++/17494 | |
1585 | * eval.c (evaluate_subexp_standard): Evaluate the "object" and | |
1586 | the method args also under EVAL_SKIP when evaluating method | |
1587 | calls under EVAL_SKIP. | |
1588 | ||
a0b4d890 YQ |
1589 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> |
1590 | ||
1591 | * dwarf2loc.c (read_pieced_value): Do big endian | |
1592 | processing only if gdb_regnum is not -1. | |
1593 | (write_pieced_value): Ditto. | |
1594 | ||
1595 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1596 | ||
1597 | * arm-linux-tdep.c (arm_linux_init_abi): Use | |
1598 | info.byte_order_for_code to choose endianity of breakpoint | |
1599 | instructions snippets. | |
1600 | ||
1601 | 2014-11-02 Victor Kamensky <victor.kamensky@linaro.org> | |
1602 | ||
1603 | * arm-tdep.c (extract_arm_insn): Use | |
1604 | gdbarch_byte_order_for_code to read arm instruction. | |
1605 | ||
e82149ff DE |
1606 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
1607 | ||
1608 | * mdebugread.c (parse_procedure): Delete unnecessary forward decl. | |
1609 | ||
d7ee84f1 DE |
1610 | 2014-11-02 Doug Evans <xdje42@gmail.com> |
1611 | ||
1612 | * xcoffread.c (process_linenos): Delete unnecessary zeroing of | |
1613 | main_subfile before returning. | |
1614 | ||
4f072d17 DE |
1615 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
1616 | ||
1617 | * objfiles.h (ALL_PSPACE_OBJFILES_SAFE): Delete, unused. | |
1618 | (ALL_PSPACE_SYMTABS, ALL_PSPACE_PRIMARY_SYMTABS): Ditto. | |
1619 | ||
8301c89e DE |
1620 | 2014-10-31 Doug Evans <xdje42@gmail.com> |
1621 | ||
1622 | * valops.c (value_cast_pointers): Fix whitespace. | |
1623 | (typecmp, search_struct_method, value_struct_elt, find_oload_champ): | |
1624 | Ditto. | |
1625 | ||
02be9a71 DE |
1626 | 2014-10-30 Doug Evans <dje@google.com> |
1627 | ||
1628 | * NEWS: Mention ability add attributes to gdb.Objfile and | |
1629 | gdb.Progspace objects. | |
1630 | * python/py-objfile.c (objfile_object): New member dict. | |
1631 | (objfpy_dealloc): Py_XDECREF dict. | |
1632 | (objfpy_initialize): Initialize dict. | |
1633 | (objfile_getset): Add __dict__. | |
1634 | (objfile_object_type): Set tp_dictoffset member. | |
1635 | * python/py-progspace.c (progspace_object): New member dict. | |
1636 | (pspy_dealloc): Py_XDECREF dict. | |
1637 | (pspy_initialize): Initialize dict. | |
1638 | (pspace_getset): Add __dict__. | |
1639 | (pspace_object_type): Set tp_dictoffset member. | |
1640 | ||
6427bef6 YQ |
1641 | 2014-10-30 Yao Qi <yao@codesourcery.com> |
1642 | ||
1643 | * python/lib/gdb/command/prompt.py (before_prompt_hook): Don't | |
1644 | replace '\\' with '\\\\'. | |
1645 | ||
f60325be JB |
1646 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
1647 | ||
1648 | GDB 7.8.1 released. | |
1649 | ||
ab917dfb PA |
1650 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1651 | ||
1652 | PR gdb/17408 | |
1653 | * infrun.c (switch_back_to_stepped_thread): Use currently_stepping | |
1654 | instead of assuming a thread with a stepping range is always | |
1655 | stepping. | |
1656 | ||
d3d4baed PA |
1657 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1658 | ||
1659 | PR python/17372 | |
1660 | * event-top.c (change_line_handler): Call | |
1661 | gdb_rl_callback_handler_remove instead of | |
1662 | rl_callback_handler_remove. | |
1663 | (callback_handler_installed): New global. | |
1664 | (gdb_rl_callback_handler_remove, gdb_rl_callback_handler_install) | |
1665 | (gdb_rl_callback_handler_reinstall): New functions. | |
1666 | (display_gdb_prompt): Call gdb_rl_callback_handler_remove and | |
1667 | gdb_rl_callback_handler_install instead of | |
1668 | rl_callback_handler_remove and rl_callback_handler_install. | |
1669 | (gdb_disable_readline): Call gdb_rl_callback_handler_remove | |
1670 | instead of rl_callback_handler_remove. | |
1671 | * event-top.h (gdb_rl_callback_handler_remove) | |
1672 | (gdb_rl_callback_handler_install) | |
1673 | (gdb_rl_callback_handler_reinstall): New declarations. | |
1674 | * infrun.c (reinstall_readline_callback_handler_cleanup): New | |
1675 | cleanup function. | |
1676 | (fetch_inferior_event): Install it. | |
1677 | * top.c (gdb_readline_wrapper_line) Call | |
1678 | gdb_rl_callback_handler_remove instead of | |
1679 | rl_callback_handler_remove. | |
1680 | (gdb_readline_wrapper_cleanup): Don't call | |
1681 | rl_callback_handler_install. | |
1682 | ||
6e5d7f39 PA |
1683 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1684 | ||
1685 | * event-top.c (command_line_handler): Clear the first byte of | |
1686 | linebuffer, when it is first allocated. | |
1687 | ||
551cb6a5 PA |
1688 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1689 | ||
1690 | * tui/tui.c (tui_rl_switch_mode): Wrap tui_enable/tui_disable in | |
1691 | TRY_CATCH. | |
1692 | ||
1e1e619b PA |
1693 | 2014-10-29 Pedro Alves <palves@redhat.com> |
1694 | ||
1695 | PR tui/16138 | |
1696 | PR tui/17519 | |
1697 | * tui/tui-interp.c (tui_is_toplevel): Delete global. | |
1698 | (tui_allowed_p): Delete function. | |
1699 | * tui/tui.c: Include "interps.h". | |
1700 | (tui_enable): Don't use tui_allowed_p. Error out here with | |
1701 | detailed error messages if the TUI is the top level interpreter, | |
1702 | or if output is not a terminal. Use newterm instead of initscr, | |
1703 | and error out if initializing the terminal fails. Also error out if | |
1704 | the terminal doesn't support cursor addressing. | |
1705 | * tui/tui.h (tui_allowed_p): Delete declaration. | |
1706 | ||
6041179a JB |
1707 | 2014-10-29 Joel Brobecker <brobecker@adacore.com> |
1708 | ||
1709 | * arm-tdep.c (arm_skip_stack_protector): Return early if | |
1710 | address loaded by first "ldr" instruction does not have | |
1711 | a corresponding minimal symbol. Update comment. | |
1712 | ||
6ae274b7 YQ |
1713 | 2014-10-29 Yao Qi <yao@codesourcery.com> |
1714 | ||
1715 | * arm-tdep.c (arm_analyze_load_stack_chk_guard): Compute the | |
1716 | loaded address correctly of ldr instruction. | |
1717 | ||
7f5ef605 PA |
1718 | 2014-10-28 Pedro Alves <palves@redhat.com> |
1719 | ||
1720 | PR gdb/12623 | |
1721 | * gdbthread.h (struct thread_info) <stepped_breakpoint>: New | |
1722 | field. | |
1723 | * infrun.c (resume) <stepping breakpoint instruction>: Set the | |
1724 | thread's stepped_breakpoint field. Skip if reverse debugging. | |
1725 | Add comment. | |
1726 | (init_thread_stepping_state, handle_signal_stop): Clear the | |
1727 | thread's stepped_breakpoint field. | |
1728 | ||
7d1a114c PA |
1729 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1730 | ||
1731 | * remote.c (remote_thread_alive): New, factored out from ... | |
1732 | (remote_thread_alive): ... this. | |
1733 | (remote_update_thread_list): Bail out before deleting threads if | |
1734 | the target returned an empty list, and, the current thread has a | |
1735 | magic/fake ptid. | |
1736 | ||
e5f8a7cc PA |
1737 | 2014-10-27 Pedro Alves <palves@redhat.com> |
1738 | ||
1739 | * infrun.c (handle_signal_stop): Also skip handlers when a random | |
1740 | signal arrives while handling a "stepi" or a "nexti". Set the | |
1741 | thread's 'step_after_step_resume_breakpoint' flag. | |
1742 | ||
71e396f9 LM |
1743 | 2014-10-27 Luis Machado <lgustavo@codesourcery.com> |
1744 | ||
1745 | * arm-tdep.c (INSN_S_L_BIT_NUM): Document. | |
1746 | (arm_record_ld_st_imm_offset): Reimplement to cover all | |
1747 | load/store cases for ARM opcode 010. | |
1748 | (arm_record_ld_st_multiple): Reimplement to cover all | |
1749 | load/store cases for ARM opcode 100. | |
1750 | ||
3aee438b DE |
1751 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1752 | ||
1753 | * symtab.c (lookup_symbol_aux_local): Fix typo in comment. | |
1754 | ||
f88cb4b6 DE |
1755 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1756 | ||
1757 | * symfile.h (struct quick_symbol_functions) <lookup_symbol>: Rename | |
1758 | parameter "kind" to "block_index". | |
1759 | * symtab.c (error_in_psymtab_expansion): Rename parameter "kind" to | |
1760 | "block_index". | |
1761 | (lookup_symbol_aux_quick, basic_lookup_transparent_type_quick): Ditto. | |
1762 | ||
a023a30f DE |
1763 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1764 | ||
1765 | * block.h (ALL_BLOCK_SYMBOLS): Fix comment. | |
1766 | ||
4c35218e DE |
1767 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1768 | ||
1769 | * block.c (allocate_block): Use OBSTACK_ZALLOC instead of | |
1770 | obstack_alloc. | |
1771 | ||
f08e8df3 DE |
1772 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1773 | ||
1774 | * parser-defs.h (block_found): Move decl from here ... | |
1775 | * symtab.h (block_found): ... to here. | |
1776 | ||
cf901d3b DE |
1777 | 2014-10-26 Doug Evans <xdje42@gmail.com> |
1778 | ||
1779 | * symtab.h (struct field_of_this_result): Fix typo in comment. | |
1780 | (lookup_symbol_in_language): Move function comment here. | |
1781 | (lookup_symbol): Improve function comment. | |
1782 | (basic_lookup_symbol_nonlocal): Ditto. | |
1783 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1784 | (lookup_symbol_aux_block): Ditto. | |
1785 | (lookup_language_this): Add function comment. | |
1786 | (lookup_static_symbol_aux): Explicitly mark as extern. Improve | |
1787 | function comment. | |
1788 | (lookup_block_symbol): Improve function comment. | |
1789 | (lookup_struct): Fix capitalization in function comment. | |
1790 | (lookup_transparent_type): Add function comment. | |
1791 | (lookup_global_symbol_from_objfile): Explicitly mark as extern. | |
1792 | Improve function comment. | |
1793 | (lookup_objfile_from_block): Add function comment. | |
1794 | * symtab.c (lookup_symbol_in_language): Update function comment. | |
1795 | (lookup_symbol, lookup_language_this): Ditto. | |
1796 | (lookup_static_symbol_aux, lookup_objfile_from_block): Ditto. | |
1797 | (lookup_symbol_aux_block, lookup_global_symbol_from_objfile): Ditto. | |
1798 | (basic_lookup_symbol_nonlocal): Ditto. | |
1799 | (lookup_symbol_static, lookup_symbol_global): Ditto. | |
1800 | (lookup_transparent_type, lookup_block_symbol): Ditto. | |
1801 | ||
ff6c39cf DE |
1802 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1803 | ||
1804 | * symtab.c (types_info): Delete forward decl. | |
1805 | (functions_info, variables_info, sources_info): Ditto. | |
1806 | (_initialize_symtab): Rewrite forward decl to use | |
1807 | initialize_file_ftype. | |
1808 | ||
ec201f0c DE |
1809 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1810 | ||
1811 | * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. | |
1812 | ||
ca040673 DE |
1813 | 2014-10-25 Doug Evans <xdje42@gmail.com> |
1814 | ||
1815 | * dwarf2read.c (process_structure_scope): Remove second (nested) copy | |
1816 | of local var child_die. | |
1817 | ||
6f259a23 DB |
1818 | 2014-10-24 Don Breazeal <donb@codesourcery.com> |
1819 | ||
1820 | * infrun.c (follow_fork_inferior): Update fork message printing | |
1821 | to use target_terminal_ours_for_output instead of | |
1822 | target_terminal_ours, to use _() for all format strings, to print | |
1823 | "vfork" instead of "fork" for vforks, and to add a detach message. | |
1824 | (handle_vfork_child_exec_or_exit): Update message printing to use | |
1825 | target_terminal_ours_for_output instead of target_terminal_ours, to | |
1826 | use _() for all format strings, and to fix some formatting. | |
1827 | ||
09dd9a69 PA |
1828 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1829 | ||
1830 | * Makefile.in (ALLDEPFILES): Remove vax-nat.c. | |
1831 | * NEWS (Removed targets): Add VAX BSD and VAX Ultrix. | |
1832 | * config/vax/vax.mh: Delete. | |
1833 | * configure.host: Move vax-*-bsd* and vax-*-ultrix* to the | |
1834 | obsolete configurations section. | |
1835 | * configure.tgt (vax-*-*): Don't mention 4.2BSD nor Ultrix. | |
1836 | * vax-nat.c: Delete file. | |
1837 | ||
5ab806de PA |
1838 | 2014-10-24 Pedro Alves <palves@redhat.com> |
1839 | ||
1840 | * NEWS (Removed targets): Add OS/arch column. | |
1841 | ||
3433cfa5 SC |
1842 | 2014-10-24 Siva Chandra Reddy <sivachandra@google.com> |
1843 | ||
1844 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Call TYPE_TARGET_TYPE | |
1845 | on the arg type of a constructor only if it is of reference type. | |
1846 | ||
96ba4233 SL |
1847 | 2014-10-23 Sandra Loosemore <sandra@codesourcery.com> |
1848 | ||
1849 | * nios2-tdep.c (nios2_analyze_prologue): Use new instruction field | |
1850 | accessors and constants from nios2 opcodes update. | |
1851 | (nios2_get_next_pc): Likewise. | |
1852 | ||
28153fd3 DE |
1853 | 2014-10-19 Doug Evans <xdje42@gmail.com> |
1854 | ||
1855 | * gdbthread.h (set_running): Fix comment. | |
1856 | (set_executing, finish_thread_state): Fix comment. | |
1857 | ||
fc9b8e47 DE |
1858 | 2014-10-18 Doug Evans <xdje42@gmail.com> |
1859 | ||
1860 | * linux-nat.c (linux_nat_wait_1): Make local prev_mask non-static. | |
1861 | ||
4ffbba72 DE |
1862 | 2014-10-17 Doug Evans <dje@google.com> |
1863 | ||
1864 | * NEWS: Mention new event gdb.clear_objfiles. | |
1865 | * python/py-event.h (emit_clear_objfiles_event): Clear | |
1866 | * python/py-events.h (events_object): New member clear_objfiles. | |
1867 | * python/py-evts.c (gdbpy_initialize_py_events): Add clear_objfiles | |
1868 | event. | |
1869 | * python/py-inferior.c (python_new_objfile): If objfile is NULL, | |
1870 | emit clear_objfiles event. | |
1871 | * python/py-newobjfileevent.c (create_clear_objfiles_event_object): New | |
1872 | function. | |
1873 | (emit_clear_objfiles_event): New function. | |
1874 | (clear_objfiles): New event. | |
1875 | * python/python-internal.h (gdbpy_initialize_clear_objfiles_event): | |
1876 | Declare. | |
1877 | * python/python.c (_initialize_python): Call | |
1878 | gdbpy_initialize_clear_objfiles_event. | |
1879 | ||
d096d8c1 DE |
1880 | 2014-10-17 Doug Evans <dje@google.com> |
1881 | ||
1882 | * NEWS: Mention new gdb.Objfile.progspace attribute. | |
1883 | * python/py-objfile.c (objfpy_get_progspace): New function. | |
1884 | (objfile_getset): New entry for "progspace". | |
1885 | ||
6c4486e6 PA |
1886 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1887 | ||
1888 | PR gdb/17471 | |
1889 | * infcmd.c (strip_bg_char): Change prototype and rewrite. Now | |
1890 | returns a copy of the input. | |
1891 | (run_command_1, continue_command, step_1, jump_command) | |
1892 | (signal_command, until_command, advance_command, finish_command) | |
1893 | (attach_command): Adjust and install a cleanup to free the | |
1894 | stripped args. | |
1895 | ||
0ff33695 PA |
1896 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1897 | ||
1898 | PR gdb/17300 | |
1899 | * infcmd.c (continue_1): If continuing all threads in the | |
1900 | foreground, make sure the inferior's terminal settings are put in | |
1901 | effect. | |
1902 | ||
6fdebc3d PA |
1903 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1904 | ||
1905 | PR gdb/17472 | |
1906 | * annotate.c (annotate_breakpoints_invalid): Use | |
1907 | target_terminal_our_for_output instead of target_terminal_ours. | |
1908 | Give back the terminal to the target. | |
1909 | (annotate_frames_invalid): Likewise. | |
1910 | ||
5842f62a PA |
1911 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1912 | ||
1913 | * target.c (enum terminal_state): New enum. | |
1914 | (terminal_state): New global. | |
1915 | (target_terminal_init): New function. | |
1916 | (target_terminal_inferior): Skip if inferior already owns the | |
1917 | terminal. | |
1918 | (target_terminal_ours, target_terminal_ours_for_output): New | |
1919 | functions. | |
1920 | * target.h (target_terminal_init): Convert to function prototype. | |
1921 | (target_terminal_ours_for_output): Convert to function prototype | |
1922 | and tweak comment. | |
1923 | (target_terminal_ours): Convert to function prototype and tweak | |
1924 | comment. | |
1925 | * windows-nat.c (do_initial_windows_stuff): Call | |
1926 | target_terminal_init instead of child_terminal_init_with_pgrp. | |
1927 | ||
32a8097b PA |
1928 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1929 | ||
1930 | * Makefile.in (ALL_64_TARGET_OBS): Remove alpha-osf1-tdep.o. | |
1931 | (HFILES_NO_SRCDIR): Remove config/alpha/nm-osf3.h. | |
1932 | (ALLDEPFILES): Remove alpha-nat.c, alpha-osf1-tdep.c and | |
1933 | solib-osf.c. | |
1934 | * NEWS: Mention that support for alpha*-*-osf* has been removed. | |
1935 | * ada-lang.h [__alpha__ && __osf__] | |
1936 | (ADA_KNOWN_RUNTIME_FILE_NAME_PATTERNS): Delete. | |
1937 | * alpha-nat.c, alpha-osf1-tdep.c: Delete files. | |
1938 | * alpha-tdep.c (alpha_gdbarch_init): Remove reference to | |
1939 | GDB_OSABI_OSF1. | |
1940 | * config/alpha/alpha-osf3.mh, config/alpha/nm-osf3.h: Delete | |
1941 | files. | |
1942 | * config/djgpp/fnchange.lst (config/alpha/alpha-osf1.mh) | |
1943 | (config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh): Delete. | |
1944 | * configure: Regenerate. | |
1945 | * configure.ac: Remove references to osf. | |
1946 | * configure.host: Handle alpha*-*-osf* in the obsolete hosts | |
1947 | section. Remove all other references to osf. | |
1948 | * configure.tgt: Add alpha*-*-osf* to the obsolete targets section. | |
1949 | Remove all other references to osf. | |
1950 | * dec-thread.c: Delete file. | |
1951 | * defs.h (GDB_OSABI_OSF1): Delete. | |
1952 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): New unconditionally | |
1953 | defined. | |
1954 | * osabi.c (gdb_osabi_names): Delete "OSF/1". | |
1955 | * procfs.c (procfs_debug_inferior) [PROCFS_DONT_TRACE_FAULTS]: | |
1956 | Delete code. | |
1957 | (unconditionally_kill_inferior) | |
1958 | [PROCFS_NEED_CLEAR_CURSIG_FOR_KILL]: Delete code. | |
1959 | * solib-osf.c: Delete file. | |
1960 | ||
80134cf5 PA |
1961 | 2014-10-17 Pedro Alves <palves@redhat.com> |
1962 | ||
1963 | * remote.c (clear_threads_listing_context): Move higher up, out of | |
1964 | the HAVE_LIBEXPAT guard. | |
1965 | ||
89c7137f TG |
1966 | 2014-10-16 Tristan Gingold <gingold@adacore.com> |
1967 | ||
1968 | * i386-darwin-nat.c (i386_darwin_fetch_inferior_registers) | |
1969 | (i386_darwin_store_inferior_registers): Sanitize gs and fs values | |
1970 | on amd64. | |
1971 | ||
44ee4a52 PA |
1972 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1973 | ||
1974 | * dec-thread.c (dec_thread_count_gdb_threads) | |
1975 | (dec_thread_add_gdb_thread): Delete. | |
1976 | (dec_thread_update_thread_list): Delete. | |
1977 | (dec_thread_find_new_threads): Rename to ... | |
1978 | (dec_thread_update_thread_list): ... this. Delete GDB-size | |
1979 | threads that are no longer found in dec_thread_list. | |
1980 | (resync_thread_list): Delete. | |
1981 | (dec_thread_wait): Call dec_thread_update_thread_list instead of | |
1982 | resync_thread_list. | |
1983 | ||
ab970af1 PA |
1984 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1985 | ||
1986 | * gdbthread.h (ALL_NON_EXITED_THREADS_SAFE): New macro. | |
1987 | * remote.c (remote_update_thread_list): Skip calling prune_threads | |
1988 | if any thread listing method is supported, and instead walk over | |
1989 | the set of remote threads listed, deleting those that are not | |
1990 | found in GDB's thread list. | |
1991 | ||
e8032dde PA |
1992 | 2014-10-15 Pedro Alves <palves@redhat.com> |
1993 | ||
1994 | * ada-tasks.c (print_ada_task_info, task_command_1): Adjust. | |
1995 | * bsd-uthread.c (bsd_uthread_find_new_threads): Rename to ... | |
1996 | (bsd_uthread_update_thread_list): ... this. Call prune_threads. | |
1997 | (bsd_uthread_target): Adjust. | |
1998 | * corelow.c (core_open): Adjust. | |
1999 | * dec-thread.c (dec_thread_find_new_threads): Update comment. | |
2000 | (dec_thread_update_thread_list): New function. | |
2001 | (init_dec_thread_ops): Adjust. | |
2002 | * gdbthread.h (prune_threads): New declaration. | |
2003 | * linux-thread-db.c (thread_db_find_new_threads): Rename to ... | |
2004 | (thread_db_update_thread_list): ... this. Call prune_threads. | |
2005 | (init_thread_db_ops): Adjust. | |
2006 | * nto-procfs.c (procfs_find_new_threads): Rename to ... | |
2007 | (procfs_update_thread_list): ... this. Call prune_threads. | |
2008 | (procfs_attach, procfs_create_inferior, init_procfs_targets): | |
2009 | Adjust. | |
2010 | * obsd-nat.c (obsd_find_new_threads): Rename to ... | |
2011 | (obsd_update_thread_list): ... this. Call prune_threads. | |
2012 | (obsd_add_target): Adjust. | |
2013 | * procfs.c (procfs_target): Adjust. | |
2014 | (procfs_notice_thread): Update comment. | |
2015 | (procfs_find_new_threads): Rename to ... | |
2016 | (procfs_update_thread_list): ... this. Call prune_threads. | |
2017 | * ravenscar-thread.c (ravenscar_update_inferior_ptid): Update | |
2018 | comment. | |
2019 | (ravenscar_wait): Adjust. | |
2020 | (ravenscar_find_new_threads): Rename to ... | |
2021 | (ravenscar_update_thread_list): ... this. Call prune_threads. | |
2022 | (init_ravenscar_thread_ops): Adjust. | |
2023 | * record-btrace.c (record_btrace_find_new_threads): Rename to ... | |
2024 | (record_btrace_update_thread_list): ... this. Adjust comment. | |
2025 | (init_record_btrace_ops): Adjust. | |
2026 | * remote.c (remote_threads_info): Rename to ... | |
2027 | (remote_update_thread_list): ... this. Call prune_threads. | |
2028 | (remote_start_remote, extended_remote_attach_1, init_remote_ops): | |
2029 | Adjust. | |
2030 | * sol-thread.c (check_for_thread_db): Adjust. | |
2031 | (sol_find_new_threads_callback): Rename to ... | |
2032 | (sol_update_thread_list_callback): ... this. | |
2033 | (sol_find_new_threads): Rename to ... | |
2034 | (sol_update_thread_list): ... this. Call prune_threads. Adjust. | |
2035 | (sol_get_ada_task_ptid, init_sol_thread_ops): Adjust. | |
2036 | * target-delegates.c: Regenerate. | |
2037 | * target.c (target_find_new_threads): Rename to ... | |
2038 | (target_update_thread_list): ... this. | |
2039 | * target.h (struct target_ops): Rename to_find_new_threads field | |
2040 | to to_update_thread_list. | |
2041 | (target_find_new_threads): Rename to ... | |
2042 | (target_update_thread_list): ... this. | |
2043 | * thread.c (prune_threads): Make extern. | |
2044 | (update_thread_list): Adjust. | |
2045 | ||
6dc54d91 PA |
2046 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2047 | ||
2048 | * remote.c (remote_get_threadlist, remote_threadlist_iterator): | |
2049 | Add describing comment. Return -1 if the qL packet is not | |
2050 | supported. | |
2051 | (struct thread_item, thread_item_t): Move higher up in | |
2052 | the file. Add comments. | |
2053 | (struct threads_parsing_context): Move higher up in | |
2054 | the file, add comments, and remote to ... | |
2055 | (struct threads_listing_context): ... this. | |
2056 | (remote_newthread_step): Don't add the thread to GDB's thread | |
2057 | database here. Instead push it to the thread_listing_context | |
2058 | list. | |
2059 | (remote_find_new_threads): Rename to ... | |
2060 | (remote_get_threads_with_ql): ... this. Add target_ops and | |
2061 | targets_listing_context parameters. Pass down context. | |
2062 | (start_thread): Adjust. | |
2063 | (clear_threads_parsing_context): Rename to ... | |
2064 | (clear_threads_listing_context): ... this. | |
2065 | (remote_get_threads_with_qxfer): New, with parts salvaged from old | |
2066 | remote_threads_info. | |
2067 | (remote_get_threads_with_qthreadinfo): Ditto. | |
2068 | (remote_threads_info): Reimplement. | |
2069 | ||
36728e82 PA |
2070 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2071 | ||
2072 | * infrun.c (resume): Don't force displaced-stepping for all | |
2073 | single-steps on software single-stepping archs. | |
2074 | ||
34b7e8a6 PA |
2075 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2076 | ||
2077 | * breakpoint.c (single_step_breakpoints): Delete global. | |
2078 | (insert_single_step_breakpoint): Adjust to store the breakpoint | |
2079 | pointer in the current thread. | |
2080 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
2081 | (cancel_single_step_breakpoints): Delete functions. | |
2082 | (breakpoint_has_location_inserted_here): Make extern. | |
2083 | (single_step_breakpoint_inserted_here_p): Adjust to walk the | |
2084 | breakpoint list. | |
2085 | * breakpoint.h (breakpoint_has_location_inserted_here): New | |
2086 | declaration. | |
2087 | (single_step_breakpoints_inserted, remove_single_step_breakpoints) | |
2088 | (cancel_single_step_breakpoints): Remove declarations. | |
2089 | * gdbthread.h (struct thread_control_state) | |
2090 | <single_step_breakpoints>: New field. | |
2091 | (delete_single_step_breakpoints) | |
2092 | (thread_has_single_step_breakpoints_set) | |
2093 | (thread_has_single_step_breakpoint_here): New declarations. | |
2094 | * infrun.c (follow_exec): Also clear the single-step breakpoints. | |
2095 | (singlestep_breakpoints_inserted_p, singlestep_ptid) | |
2096 | (singlestep_pc): Delete globals. | |
2097 | (infrun_thread_ptid_changed): Remove references to removed | |
2098 | globals. | |
2099 | (resume_cleanups): Delete the current thread's single-step | |
2100 | breakpoints. | |
2101 | (maybe_software_singlestep): Remove references to removed globals. | |
2102 | (resume): Adjust to use thread_has_single_step_breakpoints_set and | |
2103 | delete_single_step_breakpoints. | |
2104 | (init_wait_for_inferior): Remove references to removed globals. | |
2105 | (delete_thread_infrun_breakpoints): Delete the thread's | |
2106 | single-step breakpoints too. | |
2107 | (delete_just_stopped_threads_infrun_breakpoints): Don't delete | |
2108 | single-step breakpoints here. | |
2109 | (delete_stopped_threads_single_step_breakpoints): New function. | |
2110 | (adjust_pc_after_break): Adjust to use | |
2111 | thread_has_single_step_breakpoints_set. | |
2112 | (handle_inferior_event): Remove references to removed globals. | |
2113 | Use delete_stopped_threads_single_step_breakpoints. | |
2114 | (handle_signal_stop): Adjust to per-thread single-step | |
2115 | breakpoints. Swap test order to do cheaper tests first. | |
2116 | (switch_back_to_stepped_thread): Extend debug output. Remove | |
2117 | references to removed globals. | |
2118 | * record-full.c (record_full_wait_1): Adjust to per-thread | |
2119 | single-step breakpoints. | |
2120 | * thread.c (delete_single_step_breakpoints) | |
2121 | (thread_has_single_step_breakpoints_set) | |
2122 | (thread_has_single_step_breakpoint_here): New functions. | |
2123 | (clear_thread_inferior_resources): Also delete the thread's | |
2124 | single-step breakpoints. | |
2125 | ||
5b834a0a PA |
2126 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2127 | ||
2128 | * thread.c (delete_thread_breakpoint): New function. | |
2129 | (delete_step_resume_breakpoint) | |
2130 | (delete_exception_resume_breakpoint): Use it. | |
2131 | (delete_at_next_stop): New function. | |
2132 | (clear_thread_inferior_resources): Use delete_at_next_stop. | |
2133 | ||
a1fd2fa5 PA |
2134 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2135 | ||
2136 | * breakpoint.c (regular_breakpoint_inserted_here_p): Inline ... | |
2137 | (breakpoint_inserted_here_p): ... here. Remove special case for | |
2138 | software single-step breakpoints. | |
2139 | (find_non_raw_software_breakpoint_inserted_here): Inline ... | |
2140 | (software_breakpoint_inserted_here_p): ... here. Remove special | |
2141 | case for software single-step breakpoints. | |
2142 | (bp_target_info_copy_insertion_state) | |
2143 | (deprecated_insert_raw_breakpoint) | |
2144 | (deprecated_remove_raw_breakpoint): Delete functions. | |
2145 | * breakpoint.h (deprecated_insert_raw_breakpoint) | |
2146 | (deprecated_remove_raw_breakpoint): Remove declarations. | |
2147 | ||
7c16b83e PA |
2148 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2149 | ||
2150 | PR breakpoints/9649 | |
2151 | * breakpoint.c (single_step_breakpoints, single_step_gdbarch): | |
2152 | Delete array globals. | |
2153 | (single_step_breakpoints): New global. | |
2154 | (breakpoint_xfer_memory): Remove special handling for single-step | |
2155 | breakpoints. | |
2156 | (update_breakpoints_after_exec): Delete bp_single_step | |
2157 | breakpoints. | |
2158 | (detach_breakpoints): Remove special handling for single-step | |
2159 | breakpoints. | |
2160 | (breakpoint_init_inferior): Delete bp_single_step breakpoints. | |
2161 | (bpstat_stop_status): Add comment. | |
2162 | (bpstat_what, bptype_string, print_one_breakpoint_location) | |
2163 | (adjust_breakpoint_address, init_bp_location): Handle | |
2164 | bp_single_step. | |
2165 | (new_single_step_breakpoint): New function. | |
2166 | (set_momentary_breakpoint, bkpt_remove_location): Remove special | |
2167 | handling for single-step breakpoints. | |
2168 | (insert_single_step_breakpoint, single_step_breakpoints_inserted) | |
2169 | (remove_single_step_breakpoints, cancel_single_step_breakpoints): | |
2170 | Rewrite. | |
2171 | (detach_single_step_breakpoints, find_single_step_breakpoint): | |
2172 | Delete functions. | |
2173 | (breakpoint_has_location_inserted_here): New function. | |
2174 | (single_step_breakpoint_inserted_here_p): Rewrite. | |
2175 | * breakpoint.h: Remove FIXME. | |
2176 | (enum bptype) <bp_single_step>: New enum value. | |
2177 | (insert_single_step_breakpoint): Update comment. | |
2178 | * infrun.c (resume_cleanups) | |
2179 | (delete_step_thread_step_resume_breakpoint): Remove single-step | |
2180 | breakpoints. | |
2181 | (fetch_inferior_event): Install a cleanup that removes infrun | |
2182 | breakpoints. | |
2183 | (switch_back_to_stepped_thread) <expect thread advanced also>: | |
2184 | Clear step-over info. | |
2185 | ||
0cbcdb96 PA |
2186 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2187 | ||
2188 | * infrun.c (delete_step_resume_breakpoint_callback): Delete. | |
2189 | (delete_thread_infrun_breakpoints): New function, with parts | |
2190 | salvaged from delete_step_resume_breakpoint_callback. | |
2191 | (delete_step_thread_step_resume_breakpoint): Delete. | |
2192 | (for_each_just_stopped_thread_callback_func): New typedef. | |
2193 | (for_each_just_stopped_thread): New function. | |
2194 | (delete_just_stopped_threads_infrun_breakpoints): New function. | |
2195 | (delete_step_thread_step_resume_breakpoint_cleanup): Rename to ... | |
2196 | (delete_just_stopped_threads_infrun_breakpoints_cleanup): | |
2197 | ... this. Adjust. | |
2198 | (wait_for_inferior, fetch_inferior_event): Adjust to renames. | |
2199 | ||
963f9c80 PA |
2200 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2201 | ||
2202 | * breakpoint.c (should_be_inserted): Don't insert watchpoints if | |
2203 | trying to step past a non-steppable watchpoint. | |
2204 | * gdbthread.h (struct thread_info) <stepping_over_watchpoint>: New | |
2205 | field. | |
2206 | * infrun.c (struct step_over_info): Add new field | |
2207 | 'nonsteppable_watchpoint_p' and adjust comments. | |
2208 | (set_step_over_info): New 'nonsteppable_watchpoint_p' parameter. | |
2209 | Adjust. | |
2210 | (clear_step_over_info): Clear nonsteppable_watchpoint_p as well. | |
2211 | (stepping_past_nonsteppable_watchpoint): New function. | |
2212 | (step_over_info_valid_p): Also return true if stepping past a | |
2213 | nonsteppable watchpoint. | |
2214 | (proceed): Adjust call to set_step_over_info. Remove reference to | |
2215 | init_infwait_state. | |
2216 | (init_wait_for_inferior): Remove reference to init_infwait_state. | |
2217 | (waiton_ptid): Delete global. | |
2218 | (struct execution_control_state) | |
2219 | <stepped_after_stopped_by_watchpoint>: Delete field. | |
2220 | (wait_for_inferior, fetch_inferior_event): Always pass | |
2221 | minus_one_ptid to target_wait. | |
2222 | (init_thread_stepping_state): Clear 'stepping_over_watchpoint' | |
2223 | field. | |
2224 | (init_infwait_state): Delete function. | |
2225 | (handle_inferior_event): Remove infwait_state handling. | |
2226 | (handle_signal_stop) <watchpoints handling>: Adjust after | |
2227 | stepped_after_stopped_by_watchpoint removal. Don't remove | |
2228 | breakpoints here nor set infwait_state. Set the thread's | |
2229 | stepping_over_watchpoint flag, and call keep_going instead. | |
2230 | (keep_going): Handle stepping_over_watchpoint. Adjust | |
2231 | set_step_over_info calls. | |
2232 | * infrun.h (stepping_past_nonsteppable_watchpoint): Declare | |
2233 | function. | |
2234 | ||
6cc83d2a PA |
2235 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2236 | ||
2237 | * infrun.c (step_over_info_valid_p): New function. | |
2238 | (resume): Use step_over_info_valid_p instead of checking the | |
2239 | threads's trap_expected flag. | |
2240 | ||
6979730b DE |
2241 | 2014-10-15 Doug Evans <dje@google.com> |
2242 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
2243 | ||
2244 | PR python/17364 | |
2245 | * python/lib/gdb/__init__.py (packages): Add "printer". | |
2246 | * python/lib/gdb/command/bound_registers.py: Moved to ... | |
2247 | * python/lib/gdb/printer/bound_registers.py: ... here. | |
2248 | Add printer to global set of builtin printers. Rename printer from | |
2249 | "bound" to "mpx_bound128". | |
2250 | * python/lib/gdb/printing.py (_builtin_pretty_printers): New global, | |
2251 | registered as global "builtin" printer. | |
2252 | (add_builtin_pretty_printer): New function. | |
2253 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Update, and add | |
2254 | gdb/printer/__init__.py. | |
2255 | ||
35a49624 IB |
2256 | 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org> |
2257 | ||
2258 | * Makefile.in (SFILES): Remove d-support.c. | |
2259 | (COMMON_OBS): Remove d-support.o. | |
2260 | * d-lang.h (d_parse_symbol): Remove declaration. | |
2261 | * d-lang.c (d_demangle): Use gdb_demangle to demangle D symbols. | |
2262 | * d-support.c: Remove file. | |
2263 | ||
8fa0c4f8 AA |
2264 | 2014-10-15 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2265 | ||
2266 | * gdb/infrun.c (process_event_stop_test): Apply | |
2267 | gdbarch_addr_bits_remove to longjmp resume address. | |
2268 | ||
3666da81 PA |
2269 | 2014-10-15 Pedro Alves <palves@redhat.com> |
2270 | ||
2271 | * regformats/microblaze.dat: Delete file. | |
2272 | ||
449aa9df AKA |
2273 | 2014-10-15 Ajit Agarwal <ajitkum@xilinx.com> |
2274 | ||
2275 | * features/Makefile (microblaze-expedite): Replace pc with rpc. | |
2276 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2277 | ||
ebb8ece2 SC |
2278 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
2279 | ||
2280 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Treat dynamic classes | |
2281 | as non-trivial. | |
2282 | ||
82c48ac7 SC |
2283 | 2014-10-15 Siva Chandra Reddy <sivachandra@google.com> |
2284 | ||
2285 | PR c++/13403 | |
2286 | PR c++/15154 | |
2287 | * gnu-v3-abi.c (gnuv3_pass_by_reference): Lookup copy constructors | |
2288 | with qualified args. | |
2289 | ||
c40cc657 JB |
2290 | 2014-10-14 Joel Brobecker <brobecker@adacore.com> |
2291 | ||
2292 | * ada-lang.c (ada_evaluate_subexp) <BINOP_ADD>: Add handling | |
2293 | of the case where the second operand is a pointer. | |
2294 | <BINOP_SUB>: Likewise. | |
2295 | ||
0ea5cda8 SDJ |
2296 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
2297 | ||
2298 | * breakpoint.c (bkpt_probe_insert_location): Call set_semaphore | |
2299 | only if it is not NULL. | |
2300 | (bkpt_probe_remove_location): Likewise, for clear_semaphore. | |
2301 | * probe.h (struct probe_ops) <set_semaphore>: Update comment. | |
2302 | (struct probe_ops) <clear_semaphore>: Likewise. | |
2303 | * tracepoint.c (start_tracing): Call set_semaphore only if it is | |
2304 | not NULL. | |
2305 | (stop_tracing): Likewise, for clear_semaphore. | |
2306 | ||
f7088df3 SDJ |
2307 | 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com> |
2308 | ||
2309 | * stap-probe.c (stap_parse_argument): Initialize expout explicitly | |
2310 | using language_c, instead of current_language. | |
2311 | ||
4e1bbde0 DE |
2312 | 2014-10-13 Doug Evans <dje@google.com> |
2313 | ||
6ff5a0f6 | 2314 | * python/py-objfile.c (objfpy_initialize): New function. |
4e1bbde0 | 2315 | (objfpy_new, objfile_to_objfile_object): Call it. |
6ff5a0f6 | 2316 | * python/py-progspace.c (pspy_initialize): New function. |
4e1bbde0 DE |
2317 | (pspy_new, pspace_to_pspace_object): Call it. |
2318 | ||
c780cc2f JK |
2319 | 2014-10-13 Miroslav Franc <mfranc@redhat.com> |
2320 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
2321 | ||
2322 | Fix "save breakpoints" for "catch" command. | |
2323 | * break-catch-sig.c (signal_catchpoint_print_recreate): Add trailing | |
2324 | newline. | |
2325 | ||
99894e11 JK |
2326 | 2014-10-12 Miroslav Franc <mfranc@redhat.com> |
2327 | ||
2328 | Fix "save breakpoints" for "disable $bpnum" command. | |
2329 | * breakpoint.c (save_breakpoints): Add $bpnum for disable. | |
2330 | ||
3831839c PA |
2331 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2332 | ||
2333 | * Makefile.in (ALL_TARGET_OBS): Remove mips-irix-tdep.o and solib-irix.o. | |
2334 | (ALLDEPFILES): Remove mips-irix-tdep.c and solib-irix.c. | |
2335 | (HFILES_NO_SRCDIR): Remove solib-irix.h. | |
2336 | * NEWS: Mention that support for mips-sgi-irix5* mips-sgi-irix6* | |
2337 | and been removed. | |
2338 | * config/mips/irix5.mh, config/mips/irix6.mh: Delete files. | |
2339 | * configure.ac: Remove references to IRIX. | |
2340 | * configure.host: Add *-*-irix* to the obsolete hosts section. | |
2341 | Remove all other references to irix. | |
2342 | * irix5-nat.c, mips-irix-tdep.c, solib-irix.c, solib-irix.h: | |
2343 | Delete files. | |
2344 | ||
cc3afae2 AKA |
2345 | 2014-10-10 Ajit Agarwal <ajitkum@xilinx.com> |
2346 | ||
2347 | * microblaze-tdep.c (microblaze_gdbarch_init): If the description | |
2348 | isn't valid, release the tdesc arch data and return NULL. | |
2349 | ||
cdfa0b0a PA |
2350 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2351 | ||
2352 | * linux-tdep.c: Include observer.h. | |
2353 | (linux_inferior_data): New global. | |
2354 | (struct linux_info): New structure. | |
2355 | (invalidate_linux_cache_inf, linux_inferior_data_cleanup) | |
2356 | (get_linux_inferior_data): New functions. | |
2357 | (linux_vsyscall_range): Rename to ... | |
2358 | (linux_vsyscall_range_raw): ... this. | |
2359 | (linux_vsyscall_range): New function; handles caching. | |
2360 | (_initialize_linux_tdep): Register linux_inferior_data. Install | |
2361 | inferior_exit and inferior_appeared observers. | |
2362 | ||
8b9a549d PA |
2363 | 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com> |
2364 | Pedro Alves <palves@redhat.com> | |
2365 | ||
2366 | PR symtab/14466 | |
2367 | * solib-svr4.c (svr4_read_so_list): Rename to ... | |
2368 | (svr4_current_sos_1): ... this and change the function comment. | |
2369 | (svr4_current_sos): New function. | |
2370 | ||
3437254d PA |
2371 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2372 | ||
2373 | * arch-utils.c (default_vsyscall_range): New function. | |
2374 | * arch-utils.h (default_vsyscall_range): New declaration. | |
2375 | * gdbarch.sh (vsyscall_range): New hook. | |
2376 | * gdbarch.h, gdbarch.c: Regenerate. | |
2377 | * linux-tdep.c (linux_vsyscall_range): New function. | |
2378 | (linux_init_abi): Install linux_vsyscall_range as | |
2379 | vsyscall_range gdbarch hook. | |
2380 | * memrange.c (address_in_mem_range): New function. | |
2381 | * memrange.h (address_in_mem_range): New declaration. | |
2382 | * symfile-mem.c (find_vdso_size): Delete function. | |
2383 | (add_vsyscall_page): Use gdbarch_vsyscall_range. | |
2384 | ||
31cc0b80 PA |
2385 | 2014-10-10 Pedro Alves <palves@redhat.com> |
2386 | ||
2387 | * infrun.c (normal_stop): Fix typo in comment. | |
2388 | ||
3e3286a2 SDJ |
2389 | 2014-10-09 Sergio Durigan Junior <sergiodj@redhat.com> |
2390 | ||
2391 | PR tdep/9390 | |
2392 | * xstorxstormy16-tdep.c (xstormy16_analyze_prologue): Fix possible | |
2393 | typo when using logical AND to determine instruction type. | |
2394 | ||
fcbdedf8 YQ |
2395 | 2014-10-09 Yao Qi <yao@codesourcery.com> |
2396 | ||
2397 | * infrun.c (handle_signal_stop): Remove local variable | |
2398 | 'printed'. | |
2399 | ||
db984616 SS |
2400 | 2014-10-08 Stan Shebs <stan@codesourcery.com> |
2401 | ||
2402 | * MAINTAINERS (GLOBAL MAINTAINERS): Add Yao Qi. | |
2403 | ||
3ba37e6c GB |
2404 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2405 | ||
2406 | * fbsd-tdep.c: Do not include string.h or gdb_assert.h. | |
2407 | ||
a442d071 GB |
2408 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2409 | ||
2410 | * common/common-defs.h: Include common-exceptions.h. | |
2411 | * exceptions.h: Do not include common-exceptions.h. | |
2412 | ||
6f1947e8 GB |
2413 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2414 | ||
2415 | * common/common-defs.h: Include cleanups.h. | |
2416 | * common/common-exceptions.c: Do not include cleanups.h. | |
2417 | * utils.h: Likewise. | |
2418 | ||
c765fdb9 GB |
2419 | 2014-10-08 Gary Benson <gbenson@redhat.com> |
2420 | ||
2421 | * ada-lang.c: Do not include exceptions.h. | |
2422 | * ada-valprint.c: Likewise. | |
2423 | * amd64-tdep.c: Likewise. | |
2424 | * auto-load.c: Likewise. | |
2425 | * block.c: Likewise. | |
2426 | * break-catch-throw.c: Likewise. | |
2427 | * breakpoint.c: Likewise. | |
2428 | * btrace.c: Likewise. | |
2429 | * c-lang.c: Likewise. | |
2430 | * cli/cli-cmds.c: Likewise. | |
2431 | * cli/cli-interp.c: Likewise. | |
2432 | * cli/cli-script.c: Likewise. | |
2433 | * completer.c: Likewise. | |
2434 | * corefile.c: Likewise. | |
2435 | * corelow.c: Likewise. | |
2436 | * cp-abi.c: Likewise. | |
2437 | * cp-support.c: Likewise. | |
2438 | * cp-valprint.c: Likewise. | |
2439 | * darwin-nat.c: Likewise. | |
2440 | * dwarf2-frame-tailcall.c: Likewise. | |
2441 | * dwarf2-frame.c: Likewise. | |
2442 | * dwarf2loc.c: Likewise. | |
2443 | * dwarf2read.c: Likewise. | |
2444 | * eval.c: Likewise. | |
2445 | * event-loop.c: Likewise. | |
2446 | * event-top.c: Likewise. | |
2447 | * f-valprint.c: Likewise. | |
2448 | * frame-unwind.c: Likewise. | |
2449 | * frame.c: Likewise. | |
2450 | * gdbtypes.c: Likewise. | |
2451 | * gnu-v2-abi.c: Likewise. | |
2452 | * gnu-v3-abi.c: Likewise. | |
2453 | * guile/scm-auto-load.c: Likewise. | |
2454 | * guile/scm-breakpoint.c: Likewise. | |
2455 | * guile/scm-cmd.c: Likewise. | |
2456 | * guile/scm-frame.c: Likewise. | |
2457 | * guile/scm-lazy-string.c: Likewise. | |
2458 | * guile/scm-param.c: Likewise. | |
2459 | * guile/scm-symbol.c: Likewise. | |
2460 | * guile/scm-type.c: Likewise. | |
2461 | * hppa-hpux-tdep.c: Likewise. | |
2462 | * i386-tdep.c: Likewise. | |
2463 | * inf-loop.c: Likewise. | |
2464 | * infcall.c: Likewise. | |
2465 | * infcmd.c: Likewise. | |
2466 | * infrun.c: Likewise. | |
2467 | * interps.c: Likewise. | |
2468 | * interps.h: Likewise. | |
2469 | * jit.c: Likewise. | |
2470 | * linespec.c: Likewise. | |
2471 | * linux-nat.c: Likewise. | |
2472 | * linux-thread-db.c: Likewise. | |
2473 | * m32r-rom.c: Likewise. | |
2474 | * main.c: Likewise. | |
2475 | * memory-map.c: Likewise. | |
2476 | * mi/mi-cmd-break.c: Likewise. | |
2477 | * mi/mi-cmd-stack.c: Likewise. | |
2478 | * mi/mi-interp.c: Likewise. | |
2479 | * mi/mi-main.c: Likewise. | |
2480 | * monitor.c: Likewise. | |
2481 | * nto-procfs.c: Likewise. | |
2482 | * objc-lang.c: Likewise. | |
2483 | * p-valprint.c: Likewise. | |
2484 | * parse.c: Likewise. | |
2485 | * ppc-linux-tdep.c: Likewise. | |
2486 | * printcmd.c: Likewise. | |
2487 | * probe.c: Likewise. | |
2488 | * python/py-auto-load.c: Likewise. | |
2489 | * python/py-breakpoint.c: Likewise. | |
2490 | * python/py-cmd.c: Likewise. | |
2491 | * python/py-finishbreakpoint.c: Likewise. | |
2492 | * python/py-frame.c: Likewise. | |
2493 | * python/py-framefilter.c: Likewise. | |
2494 | * python/py-function.c: Likewise. | |
2495 | * python/py-gdb-readline.c: Likewise. | |
2496 | * python/py-inferior.c: Likewise. | |
2497 | * python/py-infthread.c: Likewise. | |
2498 | * python/py-lazy-string.c: Likewise. | |
2499 | * python/py-linetable.c: Likewise. | |
2500 | * python/py-param.c: Likewise. | |
2501 | * python/py-prettyprint.c: Likewise. | |
2502 | * python/py-symbol.c: Likewise. | |
2503 | * python/py-type.c: Likewise. | |
2504 | * python/py-value.c: Likewise. | |
2505 | * python/python-internal.h: Likewise. | |
2506 | * python/python.c: Likewise. | |
2507 | * record-btrace.c: Likewise. | |
2508 | * record-full.c: Likewise. | |
2509 | * regcache.c: Likewise. | |
2510 | * remote-fileio.c: Likewise. | |
2511 | * remote-mips.c: Likewise. | |
2512 | * remote.c: Likewise. | |
2513 | * rs6000-aix-tdep.c: Likewise. | |
2514 | * rs6000-nat.c: Likewise. | |
2515 | * skip.c: Likewise. | |
2516 | * solib-darwin.c: Likewise. | |
2517 | * solib-dsbt.c: Likewise. | |
2518 | * solib-frv.c: Likewise. | |
2519 | * solib-ia64-hpux.c: Likewise. | |
2520 | * solib-spu.c: Likewise. | |
2521 | * solib-svr4.c: Likewise. | |
2522 | * solib.c: Likewise. | |
2523 | * spu-tdep.c: Likewise. | |
2524 | * stack.c: Likewise. | |
2525 | * stap-probe.c: Likewise. | |
2526 | * symfile-mem.c: Likewise. | |
2527 | * symmisc.c: Likewise. | |
2528 | * target.c: Likewise. | |
2529 | * thread.c: Likewise. | |
2530 | * top.c: Likewise. | |
2531 | * tracepoint.c: Likewise. | |
2532 | * tui/tui-interp.c: Likewise. | |
2533 | * typeprint.c: Likewise. | |
2534 | * utils.c: Likewise. | |
2535 | * valarith.c: Likewise. | |
2536 | * valops.c: Likewise. | |
2537 | * valprint.c: Likewise. | |
2538 | * value.c: Likewise. | |
2539 | * varobj.c: Likewise. | |
2540 | * windows-nat.c: Likewise. | |
2541 | * xml-support.c: Likewise. | |
2542 | ||
484933d1 MR |
2543 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2544 | ||
2545 | * mips-tdep.c (add_offset_16): Rewrite to implement what the | |
2546 | name implies. | |
2547 | (extended_mips16_next_pc): Update accordingly. | |
2548 | ||
ab50adb6 MR |
2549 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2550 | ||
2551 | * mips-tdep.c (mips16_instruction_is_compact_branch): New | |
2552 | function. | |
2553 | (micromips_instruction_is_compact_branch): Likewise. | |
2554 | (mips16_scan_prologue): Terminate scanning upon seeing a branch | |
2555 | or a compact jump, reaching a jump delay slot, or seeing a | |
2556 | second non-prologue instruction. | |
2557 | (micromips_scan_prologue): Also terminate scanning upon seeing a | |
2558 | compact branch or jump, or reaching a branch or jump delay slot. | |
2559 | (mips32_scan_prologue): Terminate scanning upon reaching a branch | |
2560 | or jump delay slot, or seeing a second non-prologue instruction. | |
2561 | (mips32_instruction_has_delay_slot): Retain instruction | |
2562 | examination code only, update arguments accordingly and move | |
2563 | instruction fetch pieces to... | |
2564 | (mips32_insn_at_pc_has_delay_slot): ... this new function. | |
2565 | (micromips_instruction_has_delay_slot): Likewise and to... | |
2566 | (micromips_insn_at_pc_has_delay_slot): ... this new function. | |
2567 | (mips16_instruction_has_delay_slot): Likewise and to... | |
2568 | (mips16_insn_at_pc_has_delay_slot): ... this new function. | |
2569 | (mips_single_step_through_delay): Update accordingly. | |
2570 | (mips_adjust_breakpoint_address): Likewise. | |
2571 | ||
ae790652 MR |
2572 | 2014-10-05 Maciej W. Rozycki <macro@codesourcery.com> |
2573 | ||
2574 | * mips-tdep.c (micromips_instruction_has_delay_slot): When | |
2575 | !mustbe32 also return 1 for 32-bit instructions. | |
2576 | (mips16_instruction_has_delay_slot): Likewise. Add an | |
2577 | explanatory comment. | |
2578 | ||
9b807e7b MR |
2579 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
2580 | ||
2581 | * elfread.c (elf_symtab_read): Also mark solib trampoline minimal | |
2582 | symbols special. | |
2583 | ||
0d5ed153 MR |
2584 | 2014-10-03 Maciej W. Rozycki <macro@codesourcery.com> |
2585 | ||
2586 | * breakpoint.h (bp_target_info): Add `reqstd_address' member, | |
2587 | update comments. | |
2588 | * breakpoint.c (one_breakpoint_xfer_memory): Use `reqstd_address' | |
2589 | for the breakpoint's address. Don't preinitialize `placed_size'. | |
2590 | (insert_bp_location): Set `reqstd_address' rather than | |
2591 | `placed_address'. | |
2592 | (bp_target_info_copy_insertion_state): Also copy `placed_address'. | |
2593 | (bkpt_insert_location): Use `reqstd_address' for the breakpoint's | |
2594 | address. | |
2595 | (bkpt_remove_location): Likewise. | |
2596 | (deprecated_insert_raw_breakpoint): Likewise. | |
2597 | (deprecated_remove_raw_breakpoint): Likewise. | |
2598 | (find_single_step_breakpoint): Likewise. | |
2599 | * mem-break.c (default_memory_insert_breakpoint): Use | |
2600 | `reqstd_address' for the breakpoint's address. Don't set | |
2601 | `placed_address' or `placed_size' if breakpoint contents couldn't | |
2602 | have been determined. | |
2603 | * remote.c (remote_insert_breakpoint): Use `reqstd_address' for | |
2604 | the breakpoint's address. | |
2605 | (remote_insert_hw_breakpoint): Likewise. Don't set | |
2606 | `placed_address' or `placed_size' if breakpoint couldn't have been | |
2607 | set. | |
2608 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Use | |
2609 | `reqstd_address' for the breakpoint's address. | |
2610 | * arm-linux-nat.c (arm_linux_hw_breakpoint_initialize): Likewise. | |
2611 | * ia64-tdep.c (ia64_memory_insert_breakpoint): Likewise. | |
2612 | * m32r-tdep.c (m32r_memory_insert_breakpoint): Likewise. | |
2613 | * microblaze-linux-tdep.c | |
2614 | (microblaze_linux_memory_remove_breakpoint): Likewise. | |
2615 | * monitor.c (monitor_insert_breakpoint): Likewise. | |
2616 | * nto-procfs.c (procfs_insert_breakpoint): Likewise. | |
2617 | (procfs_insert_hw_breakpoint): Likewise. | |
2618 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Likewise. | |
2619 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
2620 | * remote-m32r-sdi.c (m32r_insert_breakpoint): Likewise. | |
2621 | * remote-mips.c (mips_insert_breakpoint): Likewise. | |
2622 | * x86-nat.c (x86_insert_hw_breakpoint): Likewise. | |
2623 | ||
3e871532 LM |
2624 | 2014-10-03 Luis Machado <lgustavo@codesourcery.com> |
2625 | ||
2626 | * valops.c (value_assign): Check for bit field assignments | |
2627 | before calling architecture-specific register value | |
2628 | conversion functions. | |
2629 | ||
ec48dc8b PM |
2630 | 2014-10-03 Pierre Muller <muller@sourceware.org> |
2631 | ||
2632 | * dbxread.c (read_dbx_symtab): Also ignore N_BNSYM/N_ENSYM. | |
2633 | ||
b57bacec PA |
2634 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2635 | ||
2636 | * breakpoint.c (breakpoints_should_be_inserted_now): Use | |
2637 | threads_are_executing. | |
2638 | * breakpoint.h (breakpoints_should_be_inserted_now): Add | |
2639 | describing comment. | |
2640 | * gdbthread.h (threads_are_executing): Declare. | |
2641 | (handle_signal_stop) <random signals>: Don't print about the | |
2642 | signal here if stopping. | |
2643 | (end_stepping_range): Don't notify observers here. | |
2644 | (normal_stop): Update the thread list. If stopped by a random | |
2645 | signal or a stepping range ended, notify observers. | |
2646 | * thread.c (threads_executing): New global. | |
2647 | (init_thread_list): Clear 'threads_executing'. | |
2648 | (set_executing): Set or clear 'threads_executing'. | |
2649 | (threads_are_executing): New function. | |
2650 | (update_threads_executing): New function. | |
2651 | (update_thread_list): Use it. | |
2652 | ||
13fd3ff3 PA |
2653 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2654 | ||
2655 | PR breakpoints/17431 | |
2656 | * breakpoint.c (update_breakpoints_after_exec): Don't create | |
2657 | overlay, longjmp, std terminate nor exception breakpoints here. | |
2658 | ||
32990ada PA |
2659 | 2014-10-02 Pedro Alves <palves@redhat.com> |
2660 | ||
2661 | * gdbthread.h (any_thread_of_process, any_live_thread_of_process): | |
2662 | Adjust comments. | |
2663 | * inferior.c (find_inferior_for_program_space): Give preference to | |
2664 | the current inferior. | |
2665 | * inferior.h (find_inferior_for_program_space): Update comment. | |
2666 | * progspace.c (switch_to_program_space_and_thread): Prefer the | |
2667 | current inferior if it's bound to the program space requested. If | |
2668 | the inferior found doesn't have a PID yet, don't bother looking up | |
2669 | a thread. | |
2670 | * progspace.h (switch_to_program_space_and_thread): Adjust | |
2671 | comment. | |
2672 | * thread.c (any_thread_of_process, any_live_thread_of_process): | |
2673 | Give preference to the current thread. | |
2674 | ||
0fec99e8 PA |
2675 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2676 | ||
2677 | * breakpoint.c (insert_bp_location): Error out if inserting a | |
2678 | software breakpoint at a read-only address. | |
2679 | * target.c (memory_xfer_check_region): New function, factored out | |
2680 | from ... | |
2681 | (memory_xfer_partial_1): ... this. Make the 'reg_len' local a | |
2682 | ULONGEST. | |
2683 | (target_xfer_partial) <TARGET_OBJECT_RAW_MEMORY>: Check the access | |
2684 | against the memory region attributes. | |
2685 | ||
2ddf4301 SM |
2686 | 2014-10-01 Simon Marchi <simon.marchi@ericsson.com> |
2687 | ||
2688 | * NEWS: Announce new exit-code field in -list-thread-groups | |
2689 | output. | |
2690 | * inferior.c (exit_inferior_1): Don't clear exit code. | |
2691 | (inferior_appeared): Clear exit code. | |
2692 | * mi/mi-main.c (print_one_inferior): Add printing of the exit | |
2693 | code. | |
2694 | ||
5fdeec1d PA |
2695 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2696 | ||
2697 | * features/Makefile ($(outdir)/%.dat): Output "THIS FILE IS | |
2698 | GENERATED" along with emacs/vi read-only markers. | |
2699 | * regformats/aarch64.dat: Regenerate. | |
2700 | * regformats/arm-with-iwmmxt.dat: Regenerate. | |
2701 | * regformats/arm-with-neon.dat: Regenerate. | |
2702 | * regformats/arm-with-vfpv2.dat: Regenerate. | |
2703 | * regformats/arm-with-vfpv3.dat: Regenerate. | |
2704 | * regformats/i386/amd64-avx-linux.dat: Regenerate. | |
2705 | * regformats/i386/amd64-avx.dat: Regenerate. | |
2706 | * regformats/i386/amd64-avx512-linux.dat: Regenerate. | |
2707 | * regformats/i386/amd64-avx512.dat: Regenerate. | |
2708 | * regformats/i386/amd64-linux.dat: Regenerate. | |
2709 | * regformats/i386/amd64-mpx-linux.dat: Regenerate. | |
2710 | * regformats/i386/amd64-mpx.dat: Regenerate. | |
2711 | * regformats/i386/amd64.dat: Regenerate. | |
2712 | * regformats/i386/i386-avx-linux.dat: Regenerate. | |
2713 | * regformats/i386/i386-avx.dat: Regenerate. | |
2714 | * regformats/i386/i386-avx512-linux.dat: Regenerate. | |
2715 | * regformats/i386/i386-avx512.dat: Regenerate. | |
2716 | * regformats/i386/i386-linux.dat: Regenerate. | |
2717 | * regformats/i386/i386-mmx-linux.dat: Regenerate. | |
2718 | * regformats/i386/i386-mmx.dat: Regenerate. | |
2719 | * regformats/i386/i386-mpx-linux.dat: Regenerate. | |
2720 | * regformats/i386/i386-mpx.dat: Regenerate. | |
2721 | * regformats/i386/i386.dat: Regenerate. | |
2722 | * regformats/i386/x32-avx-linux.dat: Regenerate. | |
2723 | * regformats/i386/x32-avx.dat: Regenerate. | |
2724 | * regformats/i386/x32-avx512-linux.dat: Regenerate. | |
2725 | * regformats/i386/x32-avx512.dat: Regenerate. | |
2726 | * regformats/i386/x32-linux.dat: Regenerate. | |
2727 | * regformats/i386/x32.dat: Regenerate. | |
2728 | * regformats/microblaze-with-stack-protect.dat: Regenerate. | |
2729 | * regformats/mips-dsp-linux.dat: Regenerate. | |
2730 | * regformats/mips-linux.dat: Regenerate. | |
2731 | * regformats/mips64-dsp-linux.dat: Regenerate. | |
2732 | * regformats/mips64-linux.dat: Regenerate. | |
2733 | * regformats/nios2-linux.dat: Regenerate. | |
2734 | * regformats/rs6000/powerpc-32.dat: Regenerate. | |
2735 | * regformats/rs6000/powerpc-32l.dat: Regenerate. | |
2736 | * regformats/rs6000/powerpc-64l.dat: Regenerate. | |
2737 | * regformats/rs6000/powerpc-altivec32l.dat: Regenerate. | |
2738 | * regformats/rs6000/powerpc-altivec64l.dat: Regenerate. | |
2739 | * regformats/rs6000/powerpc-cell32l.dat: Regenerate. | |
2740 | * regformats/rs6000/powerpc-cell64l.dat: Regenerate. | |
2741 | * regformats/rs6000/powerpc-e500l.dat: Regenerate. | |
2742 | * regformats/rs6000/powerpc-vsx32l.dat: Regenerate. | |
2743 | * regformats/rs6000/powerpc-vsx64l.dat: Regenerate. | |
2744 | * regformats/s390-linux32.dat: Regenerate. | |
2745 | * regformats/s390-linux32v1.dat: Regenerate. | |
2746 | * regformats/s390-linux32v2.dat: Regenerate. | |
2747 | * regformats/s390-linux64.dat: Regenerate. | |
2748 | * regformats/s390-linux64v1.dat: Regenerate. | |
2749 | * regformats/s390-linux64v2.dat: Regenerate. | |
2750 | * regformats/s390-te-linux64.dat: Regenerate. | |
2751 | * regformats/s390x-linux64.dat: Regenerate. | |
2752 | * regformats/s390x-linux64v1.dat: Regenerate. | |
2753 | * regformats/s390x-linux64v2.dat: Regenerate. | |
2754 | * regformats/s390x-te-linux64.dat: Regenerate. | |
2755 | * regformats/tic6x-c62x-linux.dat: Regenerate. | |
2756 | * regformats/tic6x-c62x.dat: Regenerate. | |
2757 | * regformats/tic6x-c64x-linux.dat: Regenerate. | |
2758 | * regformats/tic6x-c64x.dat: Regenerate. | |
2759 | * regformats/tic6x-c64xp-linux.dat: Regenerate. | |
2760 | * regformats/tic6x-c64xp.dat: Regenerate. | |
2761 | ||
db74e4ba PA |
2762 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2763 | ||
2764 | * features/Makefile: Update comments. | |
2765 | (XMLTOC): List all xml files we build C files from. | |
2766 | (clean-cfiles): New rule. | |
2767 | ||
d63f2f84 PA |
2768 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2769 | ||
2770 | * features/i386/amd64-avx512-linux.c: Regenerate. | |
2771 | * features/i386/amd64-avx512.c: Regenerate. | |
2772 | * features/i386/x32-avx512-linux.c: Regenerate. | |
2773 | * features/i386/x32-avx512.c: Regenerate. | |
2774 | ||
20ad026d PA |
2775 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2776 | ||
2777 | * features/Makefile (WHICH): Remove arm-with-m, | |
2778 | arm-with-m-fpa-layout and arm-with-m-vfp-d16. | |
2779 | ||
acc9fe45 PA |
2780 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2781 | ||
2782 | * features/Makefile (clean): New rule. | |
2783 | ||
e001e535 PA |
2784 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2785 | ||
2786 | * features/i386/64bit-avx512.xml (zmm10h, zmm11h, zmm12h, zmm13h) | |
2787 | (zmm14h): Add missing end quotes. | |
2788 | ||
bdc14417 PA |
2789 | 2014-10-01 Pedro Alves <palves@redhat.com> |
2790 | ||
2791 | * features/aarch64-core.xml (cpsr): Change back to 32-bit. | |
2792 | * features/aarch64.c: Regenerate. | |
2793 | ||
d83ad864 DB |
2794 | 2014-09-30 Don Breazeal <donb@codesourcery.com> |
2795 | ||
2796 | * inf-ptrace.c (inf_ptrace_follow_fork): Remove target-independent | |
2797 | code so as to work with follow_fork_inferior. | |
2798 | * inf-ttrace.c (inf_ttrace_follow_fork): Ditto. | |
2799 | (inf_ttrace_create_inferior): Remove reference to | |
2800 | inf_ttrace_vfork_ppid. | |
2801 | (inf_ttrace_attach): Ditto. | |
2802 | (inf_ttrace_detach): Ditto. | |
2803 | (inf_ttrace_kill): Use current_inferior instead of | |
2804 | inf_ttrace_vfork_ppid. | |
2805 | (inf_ttrace_wait): Eliminate use of inf_ttrace_vfork_ppid, report | |
2806 | TARGET_WAITKIND_VFORK_DONE event, delete HACK that switched the | |
2807 | inferior away from the parent. | |
2808 | * infrun.c (follow_fork): Call follow_fork_inferior instead of | |
2809 | target_follow_fork. | |
2810 | (follow_fork_inferior): New function. | |
2811 | (follow_inferior_reset_breakpoints): Make function static. | |
2812 | * infrun.h (follow_inferior_reset_breakpoints): Remove declaration. | |
2813 | * linux-nat.c (linux_child_follow_fork): Move target-independent | |
2814 | code to infrun.c:follow_fork_inferior. | |
2815 | ||
29082443 AA |
2816 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2817 | ||
2818 | * gdbarch.sh (regset_from_core_section): Remove gdbarch method. | |
2819 | * gdbarch.c: Regenerate. | |
2820 | * gdbarch.h: Likewise. | |
2821 | * corelow.c (sniff_core_bfd): Drop presence check for deleted | |
2822 | gdbarch method 'regset_from_core_section'. | |
2823 | (get_core_register_section): Remove handling for the case that | |
2824 | regset == NULL and regset_from_core_section is defined. | |
2825 | (get_core_registers): Drop check for deleted method. | |
2826 | * procfs.c (procfs_do_thread_registers): Adjust comment. | |
2827 | ||
f968fe80 AA |
2828 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2829 | ||
2830 | * linux-nat.c (linux_nat_collect_thread_registers): Remove. | |
2831 | (linux_nat_make_corefile_notes): Remove. | |
2832 | (linux_target_install_ops): Do not set target method | |
2833 | 'make_corefile_notes'. | |
2834 | * linux-tdep.c (struct linux_corefile_thread_data)<collect>: | |
2835 | Remove field. | |
2836 | (linux_corefile_thread_callback): Instead of args->collect, call | |
2837 | linux_collect_thread_registers. | |
2838 | (linux_make_corefile_notes): Remove 'collect' parameter. Return | |
2839 | NULL unless there is a regset iterator. | |
2840 | (linux_make_corefile_notes_1): Remove. | |
2841 | (linux_init_abi): Replace reference to linux_make_corefile_notes_1 | |
2842 | by linux_make_corefile_notes. | |
2843 | * linux-tdep.h (linux_make_corefile_notes): Remove prototype. | |
2844 | ||
174ad59a AA |
2845 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2846 | ||
2847 | * fbsd-nat.c (find_signalled_thread, find_stop_signal) | |
2848 | (fbsd_collect_regset_section_cb, fbsd_make_corefile_notes): | |
2849 | Remove. | |
2850 | * fbsd-nat.h (fbsd_make_corefile_notes): Remove prototype. | |
2851 | ||
97094034 AA |
2852 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2853 | ||
2854 | * xtensa-tdep.c (xtensa_regset_from_core_section): Remove. | |
2855 | (xtensa_iterate_over_regset_sections): New. | |
2856 | (xtensa_gdbarch_init): Adjust gdbarch initialization. | |
2857 | ||
f73d3ce7 AA |
2858 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2859 | ||
2860 | * vax-tdep.c (vax_regset_from_core_section): Remove. | |
2861 | (vax_iterate_over_regset_sections): New. | |
2862 | (vax_gdbarch_init): Adjust gdbarch initialization. | |
2863 | ||
cb24567a AA |
2864 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2865 | ||
2866 | * tilegx-linux-tdep.c (TILEGX_LINUX_SIZEOF_GREGSET): New macro. | |
2867 | (tilegx_regset_from_core_section): Remove. | |
2868 | (tilegx_iterate_over_regset_sections): New. | |
2869 | (tilegx_linux_init_abi): Adjust gdbarch initialization. | |
2870 | ||
e5139de8 AA |
2871 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2872 | ||
2873 | * sparc-tdep.c (sparc_regset_from_core_section): Remove. | |
2874 | (sparc_iterate_over_regset_sections): New. | |
2875 | (sparc32_gdbarch_init): Adjust gdbarch initialization. | |
2876 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for SPARC FreeBSD | |
2877 | targets. | |
2878 | * sparc64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2879 | (sparc64fbsd_init_abi): Call fbsd_init_abi. | |
2880 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Do not set | |
2881 | target method 'make_corefile_notes'. | |
2882 | ||
c6d41a6f AA |
2883 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2884 | ||
2885 | * sh-linux-tdep.c (sh_linux_init_abi): Set tdep fields | |
2886 | 'sizeof_gregset' and 'sizeof_fpregset'. | |
2887 | * sh-tdep.c (sh_regset_from_core_section): Remove. | |
2888 | (sh_iterate_over_regset_sections): New. | |
2889 | (sh_gdbarch_init): Adjust gdbarch initialization. | |
2890 | * sh-tdep.h (struct gdbarch_tdep): New fields sizeof_gregset and | |
2891 | sizeof_fpregset. | |
2892 | * shnbsd-tdep.c (shnbsd_init_abi): Set tdep field | |
2893 | 'sizeof_gregset'. | |
2894 | ||
9845a0b5 AA |
2895 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2896 | ||
2897 | * score-tdep.c (score7_linux_regset_from_core_section): Remove. | |
2898 | (score7_linux_iterate_over_regset_sections): New. | |
2899 | (score_gdbarch_init): Adjust gdbarch initialization. | |
2900 | ||
23ea9aeb AA |
2901 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2902 | ||
2903 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for PowerPC | |
2904 | FreeBSD targets. | |
2905 | * ppcfbsd-nat.c (_initialize_ppcfbsd_nat): Do not set target | |
2906 | method 'make_corefile_notes'. | |
2907 | * ppcfbsd-tdep.c (fbsd-tdep.h): Include. | |
2908 | (ppcfbsd_regset_from_core_section): Remove. | |
2909 | (ppcfbsd_iterate_over_regset_sections): New. | |
2910 | (ppcfbsd_init_abi): Call fbsd_init_abi. Adjust gdbarch | |
2911 | initialization. | |
2912 | * ppcnbsd-tdep.c (ppcnbsd_regset_from_core_section): Remove. | |
2913 | (ppcnbsd_iterate_over_regset_sections): New. | |
2914 | (ppcnbsd_init_abi): Adjust. | |
2915 | * ppcobsd-tdep.c (ppcobsd_regset_from_core_section): Remove. | |
2916 | (ppcobsd_iterate_over_regset_sections): New. | |
2917 | (ppcobsd_init_abi): Adjust. | |
2918 | * rs6000-aix-tdep.c (rs6000_aix_regset_from_core_section): Remove. | |
2919 | (rs6000_aix_iterate_over_regset_sections): New. | |
2920 | (rs6000_aix_init_osabi): Adjust. | |
2921 | ||
c5b8d704 AA |
2922 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2923 | ||
2924 | * nios2-linux-tdep.c (NIOS2_GREGS_SIZE): New macro. | |
2925 | (nios2_regset_from_core_section): Remove. | |
2926 | (nios2_iterate_over_regset_sections): New. | |
2927 | (nios2_linux_init_abi): Adjust gdbarch initialization. | |
2928 | ||
3636e608 AA |
2929 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2930 | ||
2931 | * mn10300-linux-tdep.c (am33_regset_from_core_section): Remove. | |
2932 | (am33_iterate_over_regset_sections): New. | |
2933 | (am33_linux_init_osabi): Adjust gdbarch initialization. | |
2934 | ||
d4036235 AA |
2935 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2936 | ||
2937 | * mips-linux-tdep.c (mips_linux_regset_from_core_section): Remove. | |
2938 | (mips_linux_iterate_over_regset_sections): New. | |
2939 | (mips_linux_init_abi): Adjust gdbarch initialization. | |
2940 | * mips64obsd-tdep.c (mips64obsd_regset_from_core_section): Remove. | |
2941 | (mips64obsd_iterate_over_regset_sections): New. | |
2942 | (mips64obsd_init_abi): Adjust. | |
2943 | * mipsnbsd-tdep.c (mipsnbsd_regset_from_core_section): Remove. | |
2944 | (mipsnbsd_iterate_over_regset_sections): New. | |
2945 | (mipsnbsd_init_abi): Adjust. | |
2946 | ||
b61ddd6e AA |
2947 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2948 | ||
2949 | * m88k-tdep.c (m88k_regset_from_core_section): Remove. | |
2950 | (m88k_iterate_over_regset_sections): New. | |
2951 | (m88k_gdbarch_init): Adjust gdbarch initialization. | |
2952 | ||
55a2906a AA |
2953 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2954 | ||
2955 | * ia64-linux-tdep.c (ia64_linux_regset_from_core_section): Remove. | |
2956 | (ia64_linux_iterate_over_regset_sections): New. | |
2957 | (ia64_linux_init_abi): Adjust gdbarch initialization. | |
2958 | ||
022c98ab AA |
2959 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2960 | ||
2961 | * m68kbsd-tdep.c (m68kbsd_regset_from_core_section): Remove. | |
2962 | (m68kbsd_iterate_over_regset_sections): New. | |
2963 | (m68kbsd_init_abi): Adjust gdbarch initialization. | |
2964 | * m68klinux-tdep.c (m68k_linux_regset_from_core_section): Remove. | |
2965 | (m68k_linux_iterate_over_regset_sections): New. | |
2966 | (m68k_linux_init_abi): Adjust gdbarch initialization. | |
2967 | ||
5fac247f AA |
2968 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2969 | ||
2970 | * m32r-linux-tdep.c (M32R_LINUX_GREGS_SIZE): New macro. | |
2971 | (m32r_linux_regset_from_core_section): Remove. | |
2972 | (m32r_linux_iterate_over_regset_sections): New. | |
2973 | (m32r_linux_init_abi): Adjust gdbarch initialization. | |
2974 | ||
490496c3 AA |
2975 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
2976 | ||
2977 | * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Remove. | |
2978 | (amd64obsd_iterate_over_regset_sections): New. | |
2979 | (amd64obsd_core_init_abi): Adjust gdbarch initialization. | |
2980 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
2981 | Remove. | |
2982 | (i386_cygwin_init_abi): Clear tdep->sizeof_fpregset. Drop | |
2983 | regset_from_core_section initialization. | |
2984 | * i386-tdep.c (i386_regset_from_core_section): Remove. | |
2985 | (i386_iterate_over_regset_sections): New. | |
2986 | (i386_gdbarch_init): Adjust gdbarch initialization. | |
2987 | * i386-tdep.h (i386_regset_from_core_section): Remove prototype. | |
2988 | (i386_iterate_over_regset_sections): New prototype. | |
2989 | * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): | |
2990 | Remove. | |
2991 | (i386obsd_aout_iterate_over_regset_sections): New. | |
2992 | (i386obsd_aout_init_abi): Adjust gdbarch initialization. | |
2993 | * configure.tgt (gdb_target_obs): Add fbsd-tdep.o for all x86 FreeBSD | |
2994 | targets. | |
2995 | * amd64fbsd-tdep.c (fbsd-tdep.h): Include. | |
2996 | (amd64fbsd_init_abi): Call fbsd_init_abi. | |
2997 | * i386fbsd-tdep.c (fbsd-tdep.h): Include. | |
2998 | (i386fbsd4_init_abi): Call fbsd_init_abi. | |
2999 | * amd64fbsd-nat.c (_initialize_amd64fbsd_nat): No longer set | |
3000 | target method 'make_corefile_notes'. | |
3001 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Likewise. | |
3002 | ||
50c5eb53 AA |
3003 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3004 | ||
3005 | * hppa-hpux-tdep.c (hppa_hpux_regset_from_core_section): Remove. | |
3006 | (hppa_hpux_iterate_over_regset_sections): New. | |
3007 | (hppa_hpux_init_abi): Adjust gdbarch initialization. | |
3008 | * hppa-linux-tdep.c (hppa_linux_regset_from_core_section): Remove. | |
3009 | (hppa_linux_iterate_over_regset_sections): New. | |
3010 | (hppa_linux_init_abi): Adjust. | |
3011 | * hppanbsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
3012 | (hppanbsd_iterate_over_regset_sections): New. | |
3013 | (hppanbsd_init_abi): Adjust. | |
3014 | * hppaobsd-tdep.c (hppaobsd_regset_from_core_section): Remove. | |
3015 | (hppaobsd_iterate_over_regset_sections): New. | |
3016 | (hppaobsd_init_abi): Adjust. | |
3017 | ||
66afae4f AA |
3018 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3019 | ||
3020 | * frv-linux-tdep.c (frv_linux_regset_from_core_section): Remove. | |
3021 | (frv_linux_iterate_over_regset_sections): New. | |
3022 | (frv_linux_init_abi): Adjust gdbarch initialization. | |
3023 | ||
ed09174e AA |
3024 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3025 | ||
3026 | * arm-tdep.h (armbsd_regset_from_core_section): Remove prototype. | |
3027 | (armbsd_iterate_over_regset_sections): New prototype. | |
3028 | * armbsd-tdep.c (armbsd_regset_from_core_section): Remove. | |
3029 | (armbsd_iterate_over_regset_sections): New. | |
3030 | * armobsd-tdep.c (armobsd_init_abi): Adjust gdbarch | |
3031 | initialization. | |
3032 | ||
dff2166e AA |
3033 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3034 | ||
3035 | * alpha-linux-tdep.c (alpha_linux_regset_from_core_section): Remove. | |
3036 | (alpha_linux_iterate_over_regset_sections): New. | |
3037 | (alpha_linux_init_abi): Adjust gdbarch initialization. | |
3038 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): Remove | |
3039 | prototype. | |
3040 | (alphanbsd_iterate_over_regset_sections): New prototype. | |
3041 | ||
4108500a AA |
3042 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3043 | ||
3044 | * aarch64-linux-tdep.c (aarch64_linux_regset_from_core_section): | |
3045 | Remove. | |
3046 | (aarch64_linux_iterate_over_regset_sections): New. | |
3047 | (aarch64_linux_init_abi): Adjust gdbarch initialization. | |
3048 | ||
a904c024 AA |
3049 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3050 | ||
3051 | * fbsd-tdep.c: New file. | |
3052 | * fbsd-tdep.h: New file. | |
3053 | * Makefile.in (ALL_TARGET_OBS): Add fbsd-tdep.o. | |
3054 | (HFILES_NO_SRCDIR): Add fbsd-tdep.h. | |
3055 | (ALLDEPFILES): Add fbsd-tdep.c. | |
3056 | ||
8f0435f7 AA |
3057 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3058 | ||
3059 | * gdbarch.sh (iterate_over_regset_sections_cb): Add regset | |
3060 | parameter. | |
3061 | * gdbarch.h: Regenerate. | |
3062 | * corelow.c (sniff_core_bfd): Don't sniff if gdbarch has a regset | |
3063 | iterator. | |
3064 | (get_core_register_section): Add parameter 'regset' and use it, if | |
3065 | set. Add parameter 'min_size' and verify the bfd section size | |
3066 | against it. | |
3067 | (get_core_registers_cb): Add parameter 'regset' and pass it to | |
3068 | get_core_register section. For the "standard" register sections | |
3069 | ".reg" and ".reg2", set an appropriate default for human_name. | |
3070 | (get_core_registers): Don't abort when the gdbarch has an iterator | |
3071 | but no regset_from_core_section. Add NULL/0 for parameters | |
3072 | 'regset'/'min_size' in calls to get_core_register_section. | |
3073 | * linux-tdep.c (linux_collect_regset_section_cb): Add parameter | |
3074 | 'regset' and use it instead of calling the | |
3075 | regset_from_core_section gdbarch method. | |
3076 | * i386-tdep.h (struct gdbarch_tdep): Add field 'fpregset'. | |
3077 | * i386-tdep.c (i386_supply_xstateregset) | |
3078 | (i386_collect_xstateregset, i386_xstateregset): Moved to | |
3079 | i386-linux-tdep.c. | |
3080 | (i386_regset_from_core_section): Drop handling for .reg-xfp and | |
3081 | .reg-xstate. | |
3082 | (i386_gdbarch_init): Set tdep field 'fpregset'. Enable generic | |
3083 | core file support only if the regset iterator hasn't been set. | |
3084 | * i386-linux-tdep.c (i386_linux_supply_xstateregset) | |
3085 | (i386_linux_collect_xstateregset, i386_linux_xstateregset): New. | |
3086 | Moved from i386-tdep.c and renamed to *_linux*. | |
3087 | (i386_linux_iterate_over_regset_sections): Add regset parameter to | |
3088 | each callback invocation. Allow any .reg-xstate size when reading | |
3089 | from a core file. | |
3090 | * amd64-tdep.c (amd64_supply_xstateregset) | |
3091 | (amd64_collect_xstateregset, amd64_xstateregset): Moved to | |
3092 | amd64-linux-tdep.c. | |
3093 | (amd64_regset_from_core_section): Remove. | |
3094 | (amd64_init_abi): Set new tdep field 'fpregset'. No longer | |
3095 | install an amd64-specific regset_from_core_section gdbarch method. | |
3096 | * amd64-linux-tdep.c (amd64_linux_supply_xstateregset) | |
3097 | (amd64_linux_collect_xstateregset, amd64_linux_xstateregset): New. | |
3098 | Moved from amd64-tdep.c and renamed to *_linux*. | |
3099 | (amd64_linux_iterate_over_regset_sections): Add regset parameter | |
3100 | to each callback invocation. Allow any .reg-xstate size when | |
3101 | reading from a core file. | |
3102 | * arm-linux-tdep.c (arm_linux_regset_from_core_section): Remove. | |
3103 | (arm_linux_iterate_over_regset_sections): Add regset parameter to | |
3104 | each callback invocation. | |
3105 | (arm_linux_init_abi): No longer set the regset_from_core_section | |
3106 | gdbarch method. | |
3107 | * ppc-linux-tdep.c (ppc_linux_regset_from_core_section): Remove. | |
3108 | (ppc_linux_iterate_over_regset_sections): Add regset parameter to | |
3109 | each callback invocation. | |
3110 | (ppc_linux_init_abi): No longer set the regset_from_core_section | |
3111 | gdbarch method. | |
3112 | * s390-linux-tdep.c (struct gdbarch_tdep): Remove the fields | |
3113 | gregset, sizeof_gregset, fpregset, and sizeof_fpregset. | |
3114 | (s390_regset_from_core_section): Remove. | |
3115 | (s390_iterate_over_regset_sections): Add regset parameter to each | |
3116 | callback invocation. | |
3117 | (s390_gdbarch_init): No longer set the regset_from_core_section | |
3118 | gdbarch method. Drop initialization of deleted tdep fields. | |
3119 | ||
5aa82d05 AA |
3120 | 2014-09-30 Andreas Arnez <arnez@linux.vnet.ibm.com> |
3121 | ||
3122 | * amd64-linux-tdep.c (amd64_linux_regset_sections): Remove. | |
3123 | (amd64_linux_iterate_over_regset_sections): New. | |
3124 | (amd64_linux_init_abi_common): Don't install the regset section | |
3125 | list, but the new iterator in gdbarch. | |
3126 | * arm-linux-tdep.c (arm_linux_fpa_regset_sections) | |
3127 | (arm_linux_vfp_regset_sections): Remove. Move combined logic... | |
3128 | (arm_linux_iterate_over_regset_sections): ...here. New function. | |
3129 | (arm_linux_init_abi): Set iterator instead of section list. | |
3130 | * corelow.c (get_core_registers_cb): New function, logic moved | |
3131 | from... | |
3132 | (get_core_registers): ...loop body here. Use new iterator method | |
3133 | instead of walking through the regset section list. | |
3134 | * gdbarch.sh: Remove 'core_regset_sections'. New method | |
3135 | 'iterate_over_regset_sections'. New typedef | |
3136 | 'iterate_over_regset_sections_cb'. | |
3137 | * gdbarch.c: Regenerate. | |
3138 | * gdbarch.h: Likewise. | |
3139 | * i386-linux-tdep.c (i386_linux_regset_sections) | |
3140 | (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections): | |
3141 | Remove. | |
3142 | (i386_linux_iterate_over_regset_sections): New. | |
3143 | (i386_linux_init_abi): Don't choose a regset section list, but | |
3144 | install new iterator in gdbarch. | |
3145 | * linux-tdep.c (struct linux_collect_regset_section_cb_data): New. | |
3146 | (linux_collect_regset_section_cb): New function, logic moved | |
3147 | from... | |
3148 | (linux_collect_thread_registers): ...loop body here. Use iterator | |
3149 | method instead of walking through list. | |
3150 | (linux_make_corefile_notes_1): Check for presence of iterator | |
3151 | method instead of regset section list. | |
3152 | * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections) | |
3153 | (ppc_linux_vmx_regset_sections, ppc_linux_fp_regset_sections) | |
3154 | (ppc64_linux_vsx_regset_sections, ppc64_linux_vmx_regset_sections) | |
3155 | (ppc64_linux_fp_regset_sections): Remove. Move combined logic... | |
3156 | (ppc_linux_iterate_over_regset_sections): ...here. New function. | |
3157 | (ppc_linux_init_abi): Don't choose from above regset section | |
3158 | lists, but install new iterator in gdbarch. | |
3159 | * regset.h (struct core_regset_section): Remove. | |
3160 | * s390-linux-tdep.c (struct gdbarch_tdep): Add new fields | |
3161 | have_linux_v1, have_linux_v2, and have_tdb. | |
3162 | (s390_linux32_regset_sections, s390_linux32v1_regset_sections) | |
3163 | (s390_linux32v2_regset_sections, s390_linux64_regset_sections) | |
3164 | (s390_linux64v1_regset_sections, s390_linux64v2_regset_sections) | |
3165 | (s390x_linux64_regset_sections, s390x_linux64v1_regset_sections) | |
3166 | (s390x_linux64v2_regset_sections): Remove. Move combined logic... | |
3167 | (s390_iterate_over_regset_sections): ...here. New function. Use | |
3168 | new tdep fields. | |
3169 | (s390_gdbarch_init): Set new tdep fields. Don't choose from above | |
3170 | regset section lists, but install new iterator. | |
3171 | ||
2eca4a8d JK |
3172 | 2014-09-29 Jan Kratochvil <jan.kratochvil@redhat.com> |
3173 | ||
3174 | * solib-svr4.c (svr4_parse_libraries): Use "library-list-svr4.dtd". | |
3175 | ||
a73c2b56 SM |
3176 | 2014-09-26 Simon Marchi <simon.marchi@ericsson.com> |
3177 | ||
3178 | * progspace.c (print_program_space): Don't prune program spaces | |
3179 | before printing them. | |
3180 | ||
03d46957 PA |
3181 | 2014-09-25 Pedro Alves <palves@redhat.com> |
3182 | ||
3183 | * infrun.c (user_visible_resume_ptid): Don't check | |
3184 | singlestep_breakpoints_inserted_p. | |
3185 | ||
e558d7c1 PA |
3186 | 2014-09-25 Pedro Alves <palves@redhat.com> |
3187 | ||
3188 | * breakpoint.c (should_be_inserted): Add debug output. | |
3189 | ||
7f89fd65 PA |
3190 | 2014-09-25 Pedro Alves <palves@redhat.com> |
3191 | ||
3192 | * infrun.c (stepping_past_instruction_at) | |
3193 | (clear_exit_convenience_vars): Point at infrun.h instead of | |
3194 | inferior.h. | |
3195 | (handle_signal_stop): Fix typo. | |
3196 | ||
b7576e5c YQ |
3197 | 2014-09-24 Yao Qi <yao@codesourcery.com> |
3198 | ||
3199 | * arm-tdep.c (thumb_in_function_epilogue_p): Fix typo in the | |
3200 | bitmask. | |
3201 | ||
9a6cf368 GB |
3202 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
3203 | ||
3204 | * target.c (target_stop): Updated comment. | |
3205 | ||
03f4463b GB |
3206 | 2014-09-22 Gary Benson <gbenson@redhat.com> |
3207 | ||
3208 | * target/target.h (target_stop_ptid): Renamed as... | |
3209 | (target_stop_and_wait): New function. Updated comment. | |
3210 | All uses updated. | |
3211 | (target_continue_ptid): Renamed as... | |
3212 | (target_continue_no_signal): New function. Updated comment. | |
3213 | All uses updated. | |
3214 | ||
a25a5a45 PA |
3215 | 2014-09-22 Pedro Alves <palves@redhat.com> |
3216 | ||
3217 | * NEWS: Mention merge of "breakpoint always-inserted" modes "off" | |
3218 | and "auto" merged. | |
3219 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
3220 | (always_inserted_mode): Now a plain boolean. | |
3221 | (show_always_inserted_mode): No longer handle AUTO_BOOLEAN_AUTO. | |
3222 | (breakpoints_always_inserted_mode): Delete. | |
3223 | (breakpoints_should_be_inserted_now): New function. | |
3224 | (insert_breakpoints): Pass UGLL_INSERT to | |
3225 | update_global_location_list instead of calling | |
3226 | insert_breakpoint_locations manually. | |
3227 | (create_solib_event_breakpoint_1): New, factored out from ... | |
3228 | (create_solib_event_breakpoint): ... this. | |
3229 | (create_and_insert_solib_event_breakpoint): Use | |
3230 | create_solib_event_breakpoint_1 instead of calling | |
3231 | insert_breakpoint_locations manually. | |
3232 | (update_global_location_list): Change parameter type from boolean | |
3233 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
3234 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
3235 | (update_global_location_list_nothrow): Change parameter type from | |
3236 | boolean to enum ugll_insert_mode. | |
3237 | (_initialize_breakpoint): "breakpoint always-inserted" option is | |
3238 | now a boolean command. Update help text. | |
3239 | * breakpoint.h (breakpoints_always_inserted_mode): Delete declaration. | |
3240 | (breakpoints_should_be_inserted_now): New declaration. | |
3241 | * infrun.c (handle_inferior_event) <TARGET_WAITKIND_LOADED>: | |
3242 | Remove breakpoints_always_inserted_mode check. | |
3243 | (normal_stop): Adjust to use breakpoints_should_be_inserted_now. | |
3244 | * remote.c (remote_start_remote): Likewise. | |
3245 | ||
04086b45 PA |
3246 | 2014-09-22 Pedro Alves <palves@redhat.com> |
3247 | ||
3248 | * breakpoint.c (enum ugll_insert_mode): Add UGLL_INSERT. | |
3249 | (insert_breakpoints): Don't call insert_breakpoint_locations here. | |
3250 | Instead, pass UGLL_INSERT to update_global_location_list. | |
3251 | (update_global_location_list): Change parameter type from boolean | |
3252 | to enum ugll_insert_mode. All callers adjusted. Adjust to use | |
3253 | breakpoints_should_be_inserted_now and handle UGLL_INSERT. | |
3254 | (create_solib_event_breakpoint_1): New, factored out from ... | |
3255 | (create_solib_event_breakpoint): ... this. | |
3256 | (create_and_insert_solib_event_breakpoint): Use | |
3257 | create_solib_event_breakpoint_1 instead of calling | |
3258 | insert_breakpoint_locations manually. | |
3259 | (update_global_location_list): Handle UGLL_INSERT. | |
3260 | ||
44702360 PA |
3261 | 2014-09-22 Pedro Alves <palves@redhat.com> |
3262 | ||
3263 | * breakpoint.c (enum ugll_insert_mode): New enum. | |
3264 | (update_global_location_list) | |
3265 | (update_global_location_list_nothrow): Change parameter type from | |
3266 | boolean to enum ugll_insert_mode. All callers adjusted. | |
3267 | ||
93c6145a JB |
3268 | 2014-09-19 Joel Brobecker <brobecker@adacore.com> |
3269 | ||
3270 | * MAINTAINERS: Add Sergio Durigan Junior as maintainer of | |
3271 | SystemTap support in GDB. | |
3272 | ||
89a5711c DB |
3273 | 2014-09-19 Don Breazeal <donb@codesourcery.com> |
3274 | ||
3275 | * linux-nat.c (linux_handle_extended_wait): Call | |
3276 | linux_ptrace_get_extended_event. | |
3277 | (wait_lwp): Call linux_is_extended_waitstatus. | |
3278 | (linux_nat_filter_event): Call linux_ptrace_get_extended_event | |
3279 | and linux_is_extended_waitstatus. | |
3280 | * nat/linux-ptrace.c (linux_test_for_tracefork): Call | |
3281 | linux_ptrace_get_extended_event. | |
3282 | (linux_ptrace_get_extended_event): New function. | |
3283 | (linux_is_extended_waitstatus): New function. | |
3284 | * nat/linux-ptrace.h (linux_ptrace_get_extended_event) | |
3285 | (linux_is_extended_waitstatus): New declarations. | |
3286 | ||
c3b7b696 YQ |
3287 | 2014-09-19 Yao Qi <yao@codesourcery.com> |
3288 | ||
3289 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3290 | (handle_DW_AT_stmt_list): Add argument 'lowpc'. Update | |
3291 | comments. Callers update. | |
3292 | (dwarf_decode_lines): Likewise. | |
3293 | (dwarf_decode_lines_1): Add argument 'lowpc'. Update | |
3294 | comments. Skip the line table if 'lowpc' is greater than | |
3295 | 'address'. Don't check | |
3296 | dwarf2_per_objfile->has_section_at_zero. | |
3297 | ||
2b4fd423 DE |
3298 | 2014-09-18 Doug Evans <dje@google.com> |
3299 | ||
3300 | * NEWS: Mention new "producer" attribute of gdb.Symtab. | |
3301 | * python/py-symtab.c (stpy_get_producer): New function. | |
3302 | (symtab_object_getset): Add "producer" attribute. | |
3303 | ||
5e43d467 UW |
3304 | 2014-09-17 Ulrich Weigand <uweigand@de.ibm.com> |
3305 | ||
3306 | PR gdb/17384 | |
3307 | * corefile.c (struct captured_read_memory_integer_arguments): Remove. | |
3308 | (do_captured_read_memory_integer): Remove. | |
3309 | (safe_read_memory_integer): Use target_read_memory directly instead | |
3310 | of catching errors in do_captured_read_memory_integer. | |
3311 | ||
04e79979 MR |
3312 | 2014-09-16 Maciej W. Rozycki <macro@codesourcery.com> |
3313 | ||
3314 | * CONTRIBUTE (Coding Standards): For internals refer to wiki, | |
3315 | not gdb/doc. | |
3316 | ||
76aeec5b SDJ |
3317 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
3318 | ||
3319 | * objc-lang.c (find_implementation_from_class): Remove dead code. | |
3320 | ||
2f693f9d SDJ |
3321 | 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com> |
3322 | ||
3323 | PR cli/7233 | |
3324 | * linux-nat.c (linux_nat_wait_1): Replace "fprintf (stderr..." by | |
3325 | "fprintf_unfiltered (gdb_stdlog...)". | |
3326 | ||
bb9d5f81 PP |
3327 | 2014-09-16 Patrick Palka <patrick@parcs.ath.cx> |
3328 | ||
3329 | PR breakpoints/12526 | |
3330 | * breakpoint.h (struct watchpoint): New fields val_bitpos and | |
3331 | val_bitsize. | |
3332 | * breakpoint.c (watch_command_1): Use these fields to retain | |
3333 | bitfield information. | |
3334 | (extract_bitfield_from_watchpoint_value): New function. | |
3335 | (watchpoint_check): Use it. | |
3336 | (update_watchpoint): Use it. Optimize the address and length of a | |
3337 | HW watchpoint pointing to a bitfield. | |
3338 | * value.h (unpack_value_bitfield): New prototype. | |
3339 | * value.c (unpack_value_bitfield): Make extern. | |
3340 | ||
05db5edd ST |
3341 | 2014-09-16 Samuel Thibault <samuel.thibault@ens-lyon.org> |
3342 | ||
3343 | * config/i386/i386gnu.mh (NATDEPFILES): Add x86-nat.o and | |
3344 | x86-dregs.o. | |
3345 | * gnu-nat.c (inf_threads): New function. | |
3346 | * gnu-nat.h (inf_threads_ftype): New typedef. | |
3347 | (inf_threads): New declaration. | |
3348 | * i386gnu-nat.c: Include "x86-nat.h" and "inf-child.h". | |
3349 | [i386_DEBUG_STATE] (i386_gnu_dr_get, i386_gnu_dr_set) | |
3350 | (i386_gnu_dr_set_control_one, i386_gnu_dr_set_control) | |
3351 | (i386_gnu_dr_set_addr_one, i386_gnu_dr_set_addr) | |
3352 | (i386_gnu_dr_get_reg, i386_gnu_dr_get_addr, 386_gnu_dr_get_status) | |
3353 | (i386_gnu_dr_get_control): New functions. | |
3354 | (reg_addr): New structure. | |
3355 | (_initialize_i386gnu_nat) [i386_DEBUG_STATE]: Initialize hardware | |
3356 | i386 debugging register hooks. | |
3357 | * NEWS: Mention this. | |
3358 | ||
5a578da5 OJ |
3359 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3360 | ||
3361 | * arm-tdep.c (arm_record_vdata_transfer_insn): Added record handler for | |
3362 | vector data transfer instructions. | |
3363 | (arm_record_coproc_data_proc): Updated. | |
3364 | ||
f20f80dd OJ |
3365 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3366 | ||
3367 | * arm-tdep.c (arm_record_asimd_vfp_coproc): Replace stub handler with | |
3368 | arm_record_exreg_ld_st_insn. | |
3369 | (arm_record_exreg_ld_st_insn): Add record handler for ex-register | |
3370 | load/store insns. | |
3371 | ||
851f26ae OJ |
3372 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3373 | ||
3374 | * arm-tdep.c (arm_record_coproc_data_proc): Updated. | |
3375 | (arm_record_vfp_data_proc_insn): Added record handler for VFP data | |
3376 | processing instructions. | |
3377 | ||
1e1b6563 OJ |
3378 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3379 | ||
3380 | * arm-tdep.c (thumb2_record_asimd_struct_ld_st): Add record handler | |
3381 | for advance SIMD struct ld/st insn. | |
3382 | (thumb2_record_decode_insn_handler): Replace stub handler with | |
3383 | thumb2_record_asimd_struct_ld_st. | |
3384 | ||
60cc5e93 OJ |
3385 | 2014-08-13 Omair Javaid <omair.javaid@linaro.org> |
3386 | ||
3387 | * arm-tdep.c (arm_record_coproc_data_proc): Add record handler stubs | |
3388 | for asimd, vfp and coprocessor insns. | |
3389 | (arm_record_asimd_vfp_coproc): Add record handler for asimd, vfp | |
3390 | and coprocessor insns. | |
3391 | (thumb2_record_coproc_insn): New function. | |
3392 | (thumb2_record_decode_insn_handler): Update coprocessor insns record | |
3393 | handlers. | |
3394 | (decode_insn): Install arm_record_asimd_vfp_coproc as handler for | |
3395 | opcode 110 insns. | |
3396 | ||
81219e53 DE |
3397 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
3398 | ||
3399 | * NEWS: Mention new "queue-signal" command. | |
3400 | * infcmd.c (queue_signal_command): New function. | |
3401 | (_initialize_infcmd): Add new queue-signal command. | |
3402 | ||
d36bf488 DE |
3403 | 2014-09-13 Doug Evans <xdje42@gmail.com> |
3404 | ||
3405 | * linux-nat.c (wait_lwp): Add debugging printf. | |
3406 | (linux_nat_wait_1): Ditto. | |
3407 | ||
f37f681c PA |
3408 | 2014-09-12 Pedro Alves <palves@redhat.com> |
3409 | ||
3410 | * breakpoint.c (remove_solib_event_breakpoints_at_next_stop) | |
3411 | (create_and_insert_solib_event_breakpoint): New functions. | |
3412 | * breakpoint.h (create_and_insert_solib_event_breakpoint) | |
3413 | (remove_solib_event_breakpoints_at_next_stop): New declarations. | |
3414 | * procfs.c (dbx_link_bpt_addr, dbx_link_bpt): Delete globals. | |
3415 | (remove_dbx_link_breakpoint): Delete function. | |
3416 | (insert_dbx_link_bpt_in_file): Use | |
3417 | create_and_insert_solib_event_breakpoint instead of | |
3418 | deprecated_insert_raw_breakpoint. | |
3419 | (procfs_wait): Don't check whether we hit __dbx_link here. | |
3420 | (procfs_mourn_inferior): Don't delete the __dbx_link breakpoint | |
3421 | here. | |
3422 | * solib-irix.c (base_breakpoint): Delete global. | |
3423 | (disable_break): Delete function. | |
3424 | (enable_break): Use create_solib_event_breakpoint | |
3425 | instead of deprecated_insert_raw_breakpoint. | |
3426 | (irix_solib_handle_event): New function. | |
3427 | (irix_solib_create_inferior_hook): Don't run the target or disable | |
3428 | the mapping-complete breakpoint here. | |
3429 | (_initialize_irix_solib): Install irix_solib_handle_event as | |
3430 | so_ops->handle_event hook. | |
3431 | ||
9d9bf2df EBM |
3432 | 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
3433 | Ulrich Weigand <uweigand@de.ibm.com> | |
3434 | ||
3435 | PR tdep/17379 | |
3436 | * rs6000-tdep.c (rs6000_frame_cache): Use safe_read_memory_integer | |
3437 | instead of read_memory_unsigned_integer. | |
3438 | ||
b006a80e GB |
3439 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3440 | ||
3441 | * nat/linux-waitpid.c: Include common-defs.h. | |
3442 | [GDBSERVER]: Add FIXME comment. | |
3443 | [!GDBSERVER]: Don't include defs.h or signal.h. | |
3444 | (linux_debug) [!GDBSERVER]: Remove empty block. | |
3445 | ||
296b1496 GB |
3446 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3447 | ||
3448 | * nat/x86-dregs.c: Include common-defs.h and break-common.h. | |
3449 | Don't include defs.h or server.h. | |
3450 | ||
53f81362 GB |
3451 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3452 | ||
3453 | * nat/linux-btrace.c: Include common-defs.h. | |
3454 | Don't include defs.h, server.h or gdbthread.h. | |
3455 | * nat/linux-btrace.h (struct target_ops): New forward declaration. | |
3456 | ||
727605ca GB |
3457 | 2014-09-12 Gary Benson <gbenson@redhat.com> |
3458 | ||
3459 | * common/agent.c: Include common-defs.h. | |
3460 | Don't include defs.h or server.h. | |
3461 | * common/buffer.c: Likewise. | |
3462 | * common/common-debug.c: Likewise. | |
3463 | * common/common-utils.c: Likewise. | |
3464 | * common/errors.c: Likewise. | |
3465 | * common/filestuff.c: Likewise. | |
3466 | * common/format.c: Likewise. | |
3467 | * common/gdb_vecs.c: Likewise. | |
3468 | * common/print-utils.c: Likewise. | |
3469 | * common/ptid.c: Likewise. | |
3470 | * common/rsp-low.c: Likewise. | |
3471 | * common/signals.c: Likewise. | |
3472 | * common/vec.c: Likewise. | |
3473 | * common/xml-utils.c: Likewise. | |
3474 | * nat/linux-osdata.c: Likewise. | |
3475 | * nat/linux-procfs.c: Likewise. | |
3476 | * nat/linux-ptrace.c: Likewise. | |
3477 | * nat/mips-linux-watch.c: Likewise. | |
3478 | * target/waitstatus.c: Likewise. | |
3479 | ||
361c8ade GB |
3480 | 2014-09-12 Tom Tromey <tromey@redhat.com> |
3481 | Gary Benson <gbenson@redhat.com> | |
3482 | ||
3483 | * common/common-regcache.h: New file. | |
3484 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-regcache.h. | |
3485 | * regcache.h: Include common-regcache.h. | |
3486 | (regcache_read_pc): Don't declare. | |
3487 | * regcache.c (get_thread_regcache_for_ptid): New function. | |
3488 | * nat/linux-btrace.c: Don't include regcache.h. | |
3489 | Include common-regcache.h. | |
3490 | (perf_event_read_bts): Use get_thread_regcache_for_ptid. | |
3491 | ||
a01cbb49 TS |
3492 | 2014-09-11 Thomas Schwinge <thomas@codesourcery.com> |
3493 | ||
3494 | * regcache.h (struct regset): Declare. | |
3495 | ||
98880d46 PA |
3496 | 2014-09-11 Pedro Alves <palves@redhat.com> |
3497 | ||
3498 | PR gdb/17347 | |
3499 | * main.c: Include "infrun.h". | |
3500 | (catch_command_errors, catch_command_errors_const): Wait for the | |
3501 | foreground command to complete. | |
3502 | * top.c (maybe_wait_sync_command_done): New function, factored out | |
3503 | from ... | |
3504 | (maybe_wait_sync_command_done): ... here. | |
3505 | * top.h (maybe_wait_sync_command_done): New declaration. | |
3506 | ||
bd9269f7 GB |
3507 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
3508 | Gary Benson <gbenson@redhat.com> | |
3509 | ||
3510 | * common/symbol.h: New file. | |
3511 | * Makefile.in (HFILES_NO_SRCDIR): Add common/symbol.h. | |
3512 | * minsyms.c (find_minimal_symbol_address): New function. | |
3513 | * common/agent.c: Include common/symbol.h. | |
3514 | [!GDBSERVER]: Don't include objfiles.h. | |
3515 | (agent_look_up_symbols): Use find_minimal_symbol_address. | |
3516 | ||
f8c1d06b GB |
3517 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
3518 | ||
3519 | * target/target.h (target_stop_ptid, target_continue_ptid): | |
3520 | Declare. | |
3521 | * target.c (target_stop_ptid, target_continue_ptid): New | |
3522 | functions. | |
3523 | * common/agent.c [!GDBSERVER]: Don't include infrun.h. | |
3524 | (agent_run_command): Always use target_stop_ptid and | |
3525 | target_continue_ptid. | |
3526 | ||
721ec300 GB |
3527 | 2014-09-11 Tom Tromey <tromey@redhat.com> |
3528 | Gary Benson <gbenson@redhat.com> | |
3529 | ||
3530 | * target/target.h: New file. | |
3531 | * Makefile.in (HFILES_NO_SRCDIR): Add target/target.h. | |
3532 | * target.h: Include target/target.h. | |
3533 | (target_read_memory, target_write_memory): Don't declare. | |
3534 | * target.c (target_read_uint32): New function. | |
3535 | * common/agent.c: Include target/target.h. | |
3536 | [!GDBSERVER]: Don't include target.h. | |
3537 | (helper_thread_id): Type changed to uint32_t. | |
3538 | (agent_get_helper_thread_id): Use target_read_uint32. | |
3539 | (agent_run_command): Always use target_read_memory and | |
3540 | target_write_memory. | |
3541 | (agent_capability): Type changed to uint32_t. | |
3542 | (agent_capability_check): Use target_read_uint32. | |
3543 | ||
c5e92cca GB |
3544 | 2014-09-11 Gary Benson <gbenson@redhat.com> |
3545 | ||
3546 | * common/common-debug.h (show_debug_regs): Declare. | |
3547 | * common/common-debug.c (show_debug_regs): Define. | |
3548 | * aarch64-linux-nat.c (debug_hw_points): Don't define. Replace | |
3549 | all uses with show_debug_regs. Replace all uses that considered | |
3550 | debug_hw_points as a multi-value integer with straight boolean | |
3551 | uses. | |
3552 | * x86-nat.c (debug_hw_points): Don't define. Replace all uses | |
3553 | with show_debug_regs. | |
3554 | * nat/x86-dregs.c (debug_hw_points): Don't declare. Replace | |
3555 | all uses with show_debug_regs. | |
3556 | * mips-linux-nat.c (maint_show_dr): Don't define. Replace all | |
3557 | uses with show_debug_regs. | |
3558 | ||
eeef931a UW |
3559 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3560 | ||
3561 | * findvar.c (address_from_register): Handle targets requiring | |
3562 | a special conversion routine even for plain pointer types. | |
3563 | ||
8efa9855 UW |
3564 | 2014-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3565 | ||
3566 | * rs6000-nat.c (exec_one_dummy_insn): Remove. | |
3567 | (store_register): Do not call exec_one_dummy_insn. | |
3568 | ||
eb479039 JB |
3569 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3570 | ||
3571 | * ada-lang.c (ada_array_bound): If ARR is a TYPE_CODE_PTR, | |
3572 | dereference it first. Use value_enclosing_type instead of | |
3573 | value_type. | |
3574 | (ada_array_length): Likewise. | |
3575 | ||
deede10c JB |
3576 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3577 | ||
3578 | * ada-lang.c (ada_value_ptr_subscript): Remove parameter "type". | |
3579 | Adjust function implementation and documentation accordingly. | |
3580 | (ada_evaluate_subexp) <OP_FUNCALL>: Only assign "type" if | |
3581 | NOSIDE is EVAL_AVOID_SIDE_EFFECTS. | |
3582 | Update call to ada_value_ptr_subscript. | |
3583 | ||
7828a5f5 JB |
3584 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3585 | ||
3586 | * ada-valprint.c (ada_value_print): Use VAL's enclosing type | |
3587 | instead of VAL's type. | |
3588 | ||
35782f14 JB |
3589 | 2014-09-10 Joel Brobecker <brobecker@adacore.com> |
3590 | ||
3591 | * amd64-linux-nat.c: Add <sys/uio.h> #include. | |
3592 | ||
d342a0da DE |
3593 | 2014-09-09 Doug Evans <xdje42@gmail.com> |
3594 | ||
3595 | PR guile/17367 | |
3596 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): Pass guile version as | |
3597 | last parameter to pkg-config, not first. | |
3598 | * configure.ac: Pass --with-guile provided pkg-config path to | |
3599 | GDB_GUILE_PROGRAM_NAMES. | |
3600 | * configure: Regenerate. | |
3601 | ||
b4a3d263 GKB |
3602 | 2014-09-09 Gabriel Krisman Bertazi <gabriel@krisman.be> |
3603 | ||
3604 | * MAINTAINERS (Write After Approval): Add "Gabriel Krisman | |
3605 | Bertazi". | |
3606 | ||
6e466374 MR |
3607 | 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com> |
3608 | ||
3609 | * mips-irix-tdep.c (mips_irix_elf_osabi_sniff_abi_tag_sections): | |
3610 | Exclude `.MIPS.abiflags', `.MIPS.options' and `.MIPS.stubs' from | |
3611 | the list of sections determining GDB_OSABI_IRIX. | |
3612 | ||
a1ada89a JH |
3613 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
3614 | ||
3615 | * MAINTAINERS (Write After Approval): Add "James Hogan". | |
3616 | ||
86db008d JH |
3617 | 2014-09-09 James Hogan <james.hogan@imgtec.com> |
3618 | ||
3619 | * trad-frame.h (trad_frame_set_reg_unknown): Remove declaration. | |
3620 | ||
72fde3df JB |
3621 | 2014-09-09 Joel Brobecker <brobecker@adacore.com> |
3622 | ||
3623 | * i386-linux-nat.c, x86-linux-nat.c: Add <sys/uio.h> #include. | |
3624 | ||
92d8d229 DE |
3625 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
3626 | ||
3627 | PR 17247 | |
3628 | * guile.c: #include <signal.h>. | |
3629 | (_initialize_guile): Block SIGCHLD while initializing Guile. | |
3630 | ||
3631 | Replaces the following, which is reverted. | |
3632 | ||
3633 | 2014-07-26 Doug Evans <xdje42@gmail.com> | |
3634 | ||
3635 | PR 17185 | |
3636 | * configure.ac: Add check for header gc/gc.h. | |
3637 | Add check for function setenv. | |
3638 | * configure: Regenerate. | |
3639 | * config.in: Regenerate. | |
3640 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
3641 | ||
d81412aa DE |
3642 | 2014-09-08 Doug Evans <xdje42@gmail.com> |
3643 | ||
3644 | * guile/scm-cmd.c (gdbscm_parse_command_name): Replace magic number | |
3645 | with named constant. Fix style of pointer comparison. | |
3646 | * python/py-cmd.c (gdbpy_parse_command_name): Ditto. | |
3647 | ||
a9f116cb GKB |
3648 | 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be> |
3649 | ||
3650 | PR gdb/17035 | |
3651 | * cli/cli-cmds.c (show_user): Use cli_user_command_p to | |
3652 | decide whether we display the command on "show user". | |
3653 | * cli/cli-script.c (show_user_1): Only verify cmdlines after | |
3654 | printing command name. | |
3655 | * cli/cli-decode.h (cli_user_command_p): Declare new function. | |
3656 | * cli/cli-decode.c (cli_user_command_p): Create helper function | |
3657 | to verify whether cmd_list_element is a user-defined command. | |
3658 | ||
c75bd3a2 JK |
3659 | 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com> |
3660 | ||
3661 | PR python/17355 | |
3662 | * python/py-framefilter.c (py_print_single_arg): Handle NULL FA->VAL. | |
3663 | Fix goto out of TRY_CATCH. | |
3664 | ||
faa42425 | 3665 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
1a52a81c | 3666 | Tom Tromey <tromey@redhat.com> |
faa42425 DE |
3667 | |
3668 | PR 15276 | |
3669 | * NEWS: Mention $_caller_is, $_caller_matches, $_any_caller_is, | |
3670 | $_any_caller_matches. | |
3671 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Add caller_is.py. | |
3672 | * python/lib/gdb/function/caller_is.py: New file. | |
3673 | ||
0d41ba00 DE |
3674 | 2014-09-06 Doug Evans <xdje42@gmail.com> |
3675 | ||
3676 | * infcmd.c (program_info): Fix typo. | |
3677 | ||
474ca4f6 SDJ |
3678 | 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com> |
3679 | ||
3680 | PR gdb/17235 | |
3681 | * stap-probe.c (stap_parse_single_operand): Delete unused variable | |
3682 | 'number'. New variable 'has_digit'. Rewrite code to deal with | |
3683 | subexpressions on SDT probes. | |
3684 | ||
ebf13736 PA |
3685 | 2014-09-04 Pedro Alves <palves@redhat.com> |
3686 | ||
3687 | * c-exp.y (parse_number): Skip handling base-switching prefixes if | |
3688 | the input is only one character long. | |
3689 | ||
eb0b0463 SDJ |
3690 | 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com> |
3691 | ||
3692 | PR fortran/17237 | |
3693 | * f-valprint.c (f_val_print): Specify the correct print option to | |
3694 | use when printing integer values. | |
3695 | ||
5ee44bfa GB |
3696 | 2014-09-04 Gary Benson <gbenson@redhat.com> |
3697 | ||
3698 | * x86-linux-nat.c (x86_linux_dr_get, x86_linux_dr_set): | |
3699 | Remove code to cope with LWPs wrapped as PIDs. | |
3700 | Add assertions to ensure no wrapped LWPs are passed. | |
3701 | ||
4875ffdb PA |
3702 | 2014-09-04 Pedro Alves <palves@redhat.com> |
3703 | ||
3704 | * value.c (value_ranges_copy_adjusted): New function, factored out | |
3705 | from ... | |
3706 | (value_contents_copy_raw): ... here. | |
3707 | (unpack_value_bits_as_long_1): Rename back to ... | |
3708 | (unpack_bits_as_long): ... this. Remove 'original_value' and | |
3709 | 'result' parameters. Change return type to LONGEST. | |
3710 | (unpack_value_bits_as_long): Delete. | |
3711 | (unpack_value_field_as_long_1): Delete. | |
3712 | (unpack_value_field_as_long, unpack_field_as_long): Reimplement. | |
3713 | (unpack_value_bitfield): New function. | |
3714 | (value_field_bitfield): Reimplement using unpack_value_bitfield. | |
3715 | (value_fetch_lazy): Use unpack_value_bitfield. | |
3716 | * value.h (unpack_value_bits_as_long): Delete declaration. | |
3717 | ||
5f3b99cf SS |
3718 | 2014-09-03 Sasha Smundak <asmundak@google.com> |
3719 | ||
3720 | * python/py-frame.c (frapy_read_register): New function. | |
3721 | ||
ac740bc7 JH |
3722 | 2014-09-03 James Hogan <james.hogan@imgtec.com> |
3723 | ||
3724 | * mips-linux-nat.c (mips_linux_read_description): Reset errno to 0 | |
3725 | prior to reading DSP_CONTROL with PTRACE_PEEKUSER ptrace call. | |
3726 | ||
7d793aa9 SDJ |
3727 | 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com> |
3728 | ||
3729 | PR python/16699 | |
3730 | * cli/cli-decode.c (set_cmd_completer_handle_brkchars): New | |
3731 | function. | |
3732 | (add_cmd): Set "completer_handle_brkchars" to NULL. | |
3733 | * cli/cli-decode.h (struct cmd_list_element) | |
3734 | <completer_handle_brkchars>: New field. | |
3735 | * command.h (completer_ftype_void): New typedef. | |
3736 | (set_cmd_completer_handle_brkchars): New prototype. | |
3737 | * completer.c (set_gdb_completion_word_break_characters): New | |
3738 | function. | |
3739 | (complete_line_internal): Call "completer_handle_brkchars" | |
3740 | callback from command. | |
3741 | * completer.h: Include "command.h". | |
3742 | (set_gdb_completion_word_break_characters): New prototype. | |
3743 | * python/py-cmd.c (cmdpy_completer_helper): New function. | |
3744 | (cmdpy_completer_handle_brkchars): New function. | |
3745 | (cmdpy_completer): Adjust to use cmdpy_completer_helper. | |
3746 | (cmdpy_init): Set completer_handle_brkchars to | |
3747 | cmdpy_completer_handle_brkchars. | |
3748 | ||
97ea6506 GB |
3749 | 2014-09-03 Gary Benson <gbenson@redhat.com> |
3750 | ||
3751 | * nat/x86-dregs.h (ALL_DEBUG_REGISTERS): Renamed as... | |
3752 | (ALL_DEBUG_ADDRESS_REGISTERS): New macro. All uses updated. | |
3753 | Loop conditions changed to equivalent form. | |
3754 | (struct x86_debug_reg_state): Updated dr_ref_count comment. | |
3755 | * x86-linux-nat.c (x86_linux_prepare_to_resume): Use | |
3756 | ALL_DEBUG_ADDRESS_REGISTERS. | |
3757 | ||
d1437815 JB |
3758 | 2014-09-03 Joel Brobecker <brobecker@adacore.com> |
3759 | ||
3760 | * dwarf2loc.h (dwarf2_evaluate_property): Minor function | |
3761 | description fix. | |
3762 | ||
9b94fcf1 DE |
3763 | 2014-09-02 Doug Evans <dje@google.com> |
3764 | ||
3765 | * typeprint.c (find_global_typedef): Fix comment. | |
3766 | ||
df7e5265 GB |
3767 | 2014-09-02 Gary Benson <gbenson@redhat.com> |
3768 | ||
3769 | * i386-nat.h: Renamed as... | |
3770 | * x86-nat.h: New file. All type, function and variable name | |
3771 | prefixes changed from "i386_" to "x86_". All references updated. | |
3772 | * i386-nat.c: Renamed as... | |
3773 | * x86-nat.c: New file. All type, function and variable name | |
3774 | prefixes changed from "i386_" to "x86_". All references updated. | |
3775 | * common/i386-xstate.h: Renamed as... | |
3776 | * common/x86-xstate.h: New file. All type, function and variable | |
3777 | name prefixes changed from "i386_" to "x86_". All references | |
3778 | updated. | |
3779 | * nat/i386-cpuid.h: Renamed as... | |
3780 | * nat/x86-cpuid.h: New file. All type, function and variable name | |
3781 | prefixes changed from "i386_" to "x86_". All references updated. | |
3782 | * nat/i386-gcc-cpuid.h: Renamed as... | |
3783 | * nat/x86-gcc-cpuid.h: New file. All type, function and variable | |
3784 | name prefixes changed from "i386_" to "x86_". All references | |
3785 | updated. | |
3786 | * nat/i386-dregs.h: Renamed as... | |
3787 | * nat/x86-dregs.h: New file. All type, function and variable name | |
3788 | prefixes changed from "i386_" to "x86_". All references updated. | |
3789 | * nat/i386-dregs.c: Renamed as... | |
3790 | * nat/x86-dregs.c: New file. All type, function and variable name | |
3791 | prefixes changed from "i386_" to "x86_". All references updated. | |
3792 | ||
1c3569d4 MR |
3793 | 2014-09-01 Maciej W. Rozycki <macro@codesourcery.com> |
3794 | ||
3795 | * varobj.c (_initialize_varobj): Move to the end of file. | |
3796 | ||
ff55e1b5 GB |
3797 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3798 | ||
3799 | * common/common-exceptions.h: New file. | |
3800 | * common/common-exceptions.c: Likewise. | |
3801 | * Makefile.in (SFILES): Add common/common-exceptions.c. | |
3802 | (HFILES_NO_SRCDIR): Add common/common-exceptions.h. | |
3803 | (COMMON_OBS): Add common-exceptions.o. | |
3804 | (common-exceptions.o): New rule. | |
3805 | * exceptions.h (common-exceptions.h): Include. | |
3806 | (gdb_setjmp.h): Do not include. | |
3807 | (return_reason): Moved to common-exceptions.h. | |
3808 | (enum return_reason): Likewise. | |
3809 | (RETURN_MASK): Likewise. | |
3810 | (typedef return_mask): Likewise. | |
3811 | (enum errors): Likewise. | |
3812 | (struct gdb_exception): Likewise. | |
3813 | (exceptions_state_mc_init): Likewise. | |
3814 | (exceptions_state_mc_action_iter): Likewise. | |
3815 | (exceptions_state_mc_action_iter_1): Likewise. | |
3816 | (TRY_CATCH): Likewise. | |
3817 | (throw_exception): Likewise. | |
3818 | (throw_verror): Likewise. | |
3819 | (throw_vquit): Likewise. | |
3820 | (throw_error): Likewise. | |
3821 | (throw_quit): Likewise. | |
3822 | * exceptions.c (enum catcher_state): Moved to common-exceptions.c. | |
3823 | (enum catcher_action): Likewise. | |
3824 | (struct catcher): Likewise. | |
3825 | (current_catcher): Likewise. | |
3826 | (catcher_list_size): Likewise. | |
3827 | (exceptions_state_mc_init): Likewise. | |
3828 | (catcher_pop): Likewise. | |
3829 | (exceptions_state_mc): Likewise. | |
3830 | (exceptions_state_mc_action_iter): Likewise. | |
3831 | (exceptions_state_mc_action_iter_1): Likewise. | |
3832 | (throw_exception): Likewise. | |
3833 | (exception_messages): Likewise. | |
3834 | (exception_messages_size): Likewise. | |
3835 | (throw_it): Likewise. | |
3836 | (throw_verror): Likewise. | |
3837 | (throw_vquit): Likewise. | |
3838 | (throw_error): Likewise. | |
3839 | (throw_quit): Likewise. | |
3840 | (prepare_to_throw_exception): New function. | |
3841 | ||
e9bcb658 GB |
3842 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3843 | ||
3844 | * common/gdb_setjmp.h: New file. | |
3845 | * Makefile.in (HFILES_NO_SRCDIR): Add common/gdb_setjmp.h. | |
3846 | * configure.ac: Move sigsetjmp check... | |
3847 | * common/common.m4: ...here. | |
3848 | * configure: Regenerate. | |
3849 | * cp-support.c (SIGJMP_BUF): Delete. | |
3850 | (SIGSETJMP): Likewise. | |
3851 | (SIGLONGJMP): Likewise. | |
3852 | * exceptions.h (gdb_setjmp.h): Include. | |
3853 | (setjmp.h): Do not include. | |
3854 | (EXCEPTIONS_SIGJMP_BUF): Delete. | |
3855 | (EXCEPTIONS_SIGSETJMP): Likewise. | |
3856 | (EXCEPTIONS_SIGLONGJMP): Likewise. | |
3857 | Replace all uses of EXCEPTIONS_SIG* macros with SIG* macros | |
3858 | from gdb_setjmp.h. | |
3859 | * exceptions.c: Likewise. | |
3860 | ||
e3180625 GB |
3861 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3862 | ||
3863 | * cleanups.h: Moved to... | |
3864 | * common/cleanups.h: New file. | |
3865 | * cleanups.c: Moved to... | |
3866 | * common/cleanups.c: New file. Include common-defs.h and | |
3867 | cleanups.h. Do not include defs.h. | |
3868 | * Makefile.in (SFILES): Replace cleanups.c with common/cleanups.c. | |
3869 | (HFILES_NO_SRCDIR): Replace cleanups.h with common/cleanups.h. | |
3870 | (cleanups.o): New rule. | |
3871 | ||
e3d6ba5d GB |
3872 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3873 | ||
3874 | * common/errors.h (internal_warning): New declaration. | |
3875 | (internal_vwarning): Likewise. | |
3876 | * common/errors.c (internal_warning): New function. | |
3877 | * utils.h (internal_warning): Don't declare. | |
3878 | (internal_vwarning): Likewise. | |
3879 | * utils.c (internal_warning): Removed. | |
3880 | ||
075c7033 GB |
3881 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3882 | ||
3883 | * main.c (captured_main): Use warning during startup. | |
3884 | Prefix startup warning messages with command name. | |
3885 | ||
91b35fd0 GB |
3886 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3887 | ||
3888 | * main.c (captured_main): Handle usage errors with error. | |
3889 | ||
b1ec390e GB |
3890 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3891 | ||
3892 | * go32-nat.c (go32_create_inferior): Replace a fprintf/ | |
3893 | exit pair with a call to error. Wrap the message with _(). | |
3894 | ||
fd0ef3dd GB |
3895 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3896 | ||
3897 | * main.c (captured_main): Replace a fprintf/exit | |
3898 | pair with a call to error. Wrap the message with _(). | |
3899 | ||
e0e6bcab GB |
3900 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3901 | ||
3902 | * tui/tui-io.c (tui_initialize_io): Replace two fprintf/exit | |
3903 | pairs with calls to error. Wrap the message with _(). | |
3904 | ||
0d2f5c07 GB |
3905 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3906 | ||
3907 | * utils.c (vwarning): Protect calls to target_terminal_ours | |
3908 | and wrap_here. | |
3909 | ||
5df43998 GB |
3910 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3911 | ||
3912 | * exceptions.c (print_flush): Protect calls to | |
3913 | target_terminal_ours and wrap_here. | |
3914 | ||
2437fd32 GB |
3915 | 2014-08-29 Gary Benson <gbenson@redhat.com> |
3916 | ||
3917 | * utils.h (filtered_printing_initialized): New declaration. | |
3918 | * utils.c (abort_with_message): New function. | |
3919 | (internal_vproblem): Use abort_with_message for first level | |
3920 | recursive internal problems, and if gdb_stderr is not set up. | |
3921 | Protect calls to target_terminal_ours, begin_line and query. | |
3922 | ||
f1f58506 DE |
3923 | 2014-08-28 Doug Evans <dje@google.com> |
3924 | ||
3925 | * symtab.c (in_prologue): Move definition to better spot. | |
3926 | (skip_prologue_using_sal): Ditto. | |
3927 | ||
aab2f208 DE |
3928 | 2014-08-28 Doug Evans <dje@google.com> |
3929 | ||
3930 | * symtab.c (find_function_start_sal): Move definition to better spot. | |
3931 | ||
6b65d1b6 YQ |
3932 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3933 | ||
3934 | * arm-tdep.c (thumb_in_function_epilogue_p): Don't set | |
3935 | found_stack_adjust in forward scan. Remove condition check | |
3936 | on found_stack_adjust which is always true. Indent the code. | |
3937 | ||
a1b34d15 YQ |
3938 | 2014-08-28 Yao Qi <yao@codesourcery.com> |
3939 | ||
3940 | * dwarf2read.c (dwarf_decode_lines): Update declaration. | |
3941 | (handle_DW_AT_stmt_list): Remove comment about WANT_LINE_INFO. | |
3942 | (dwarf_decode_lines): Remove argument | |
3943 | want_line_info. Remove condition check on want_line_info. | |
3944 | Callers update. | |
3945 | ||
d5962de5 DE |
3946 | 2014-08-27 Doug Evans <dje@google.com> |
3947 | ||
3948 | * dwarf2read.c (dwarf_record_line): Fix typo. | |
3949 | ||
9b139002 SDJ |
3950 | 2014-08-27 Patrick Palka <patrick@parcs.ath.cx> |
3951 | ||
3952 | * target.h (struct target_ops::to_terminal_save_ours): Remove | |
3953 | declaration. | |
3954 | (target_terminal_save_ours): Remove macro. | |
3955 | * target-delegates.c: Regenerate. | |
3956 | * inf-child.c (inf_child_target): Don't set the nonexistent | |
3957 | field to_terminal_save_ours. | |
3958 | * inferior.h (child_terminal_save_ours): Remove declaration. | |
3959 | * terminal.h (gdb_save_tty_state): New declaration. | |
3960 | * inflow.c (child_terminal_save_ours): Rename to ... | |
3961 | (gdb_save_tty_state): ... this. | |
3962 | * tui/tui.c: Include terminal.h. | |
3963 | (tui_enable): Use gdb_save_tty_state instead of | |
3964 | target_terminal_save_ours. | |
3965 | (tui_disable): Likewise. | |
3966 | ||
9debeba0 DE |
3967 | 2014-08-25 Doug Evans <dje@google.com> |
3968 | ||
3969 | * linux-nat.c (linux_nat_close): Don't pass NULL for "this". | |
3970 | Pass NULL instead of 0 for context pointer. | |
3971 | ||
428fc5fc YQ |
3972 | 2014-08-25 Yao Qi <yao@codesourcery.com> |
3973 | ||
3974 | * dwarf2read.c: Fix grammatical error. | |
3975 | ||
cdc07690 YQ |
3976 | 2014-08-24 Yao Qi <yao@codesourcery.com> |
3977 | ||
3978 | * dwarf2read.c (scan_partial_symbols): Update comments. | |
3979 | Rename argument 'need_pc' with 'set_addrmap'. | |
3980 | (add_partial_namespace): Rename argument 'need_pc' with | |
3981 | 'set_addrmap'. | |
3982 | (add_partial_module): Likewise. | |
3983 | (add_partial_subprogram): Likewise. Update comments. | |
3984 | (dwarf2_name): Fix typo. | |
3985 | ||
a05a36a5 DE |
3986 | 2014-08-22 Doug Evans <dje@google.com> |
3987 | ||
3988 | PR 17276 | |
3989 | * dwarf2read.c (dwarf_record_line_p): New function. | |
3990 | (dwarf_decode_lines_1): Ignore subsequent line number entries | |
3991 | for the same line if any entry had a non-zero discriminator. | |
3992 | ||
252a6764 DE |
3993 | 2014-08-22 Doug Evans <dje@google.com> |
3994 | ||
3995 | * buildsym.h (record_line_ftype): New typedef. | |
3996 | (record_line): Use it. | |
3997 | * dwarf2read.c (dwarf_record_line, dwarf_finish_line): New functions. | |
3998 | (dwarf_decode_lines_1): Call them. | |
3999 | ||
510db052 YQ |
4000 | 2014-08-22 Yao Qi <yao@codesourcery.com> |
4001 | ||
4002 | * ctf.c (CTF_FILE_MIN_SIZE): Remove. | |
4003 | (ctf_end): Remove code. | |
4004 | ||
22fd09ae JK |
4005 | 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
4006 | ||
4007 | * linux-tdep.c (linux_corefile_thread_callback): Ignore THREAD_EXITED. | |
4008 | (linux_make_corefile_notes): call update_thread_list, protected against | |
4009 | exceptions. | |
4010 | ||
656e8868 PA |
4011 | 2014-08-21 Pedro Alves <palves@redhat.com> |
4012 | ||
4013 | * infcmd.c (attach_command): Remove comment. | |
4014 | ||
de589d04 WN |
4015 | 2014-08-21 Bin Cheng <bin.cheng@arm.com> |
4016 | ||
4017 | * aarch64-linux-nat.c (dr_changed_t): Change the type from | |
4018 | unsigned LONGEST to ULONGEST. | |
4019 | ||
2a31c623 PA |
4020 | 2014-08-20 Pedro Alves <palves@redhat.com> |
4021 | ||
4022 | * Makefile.in (check-read1): New rule. | |
4023 | ||
d36430db JB |
4024 | 2014-08-20 Joel Brobecker <brobecker@adacore.com> |
4025 | ||
4026 | * value.c (value_from_contents_and_address): Strip resolved_type's | |
4027 | typedef layers before checking its TYPE_DATA_LOCATION. | |
4028 | ||
000339af PA |
4029 | 2014-08-20 Pedro Alves <palves@redhat.com> |
4030 | ||
4031 | * value.c (value_contents_bits_eq): Initialize l,h for gcc -Wall. | |
4032 | ||
5f52445b YQ |
4033 | 2014-08-20 Yao Qi <yao@codesourcery.com> |
4034 | ||
4035 | * amd64-tdep.c (amd64_classify): Add a blank line after the | |
4036 | example. Move "*/" to a new line. | |
4037 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Likewise. | |
4038 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Likewise. | |
4039 | * dwarf2read.c (psymtab_include_file_name): Likewise. | |
4040 | ||
9a0dc9e3 PA |
4041 | 2014-08-19 Andrew Burgess <aburgess@broadcom.com> |
4042 | Pedro Alves <palves@redhat.com> | |
4043 | ||
4044 | PR symtab/14604 | |
4045 | PR symtab/14605 | |
4046 | * ada-lang.c (coerce_unspec_val_to_type): Use | |
4047 | value_contents_copy_raw. | |
4048 | * ada-valprint.c (val_print_packed_array_elements): Adjust. | |
4049 | * c-valprint.c (c_val_print): Use value_bits_any_optimized_out. | |
4050 | * cp-valprint.c (cp_print_value_fields): Let the common printing | |
4051 | code handle optimized out values. | |
4052 | (cp_print_value_fields_rtti): Use value_bits_any_optimized_out. | |
4053 | * d-valprint.c (dynamic_array_type): Use | |
4054 | value_bits_any_optimized_out. | |
4055 | * dwarf2loc.c (entry_data_value_funcs): Remove check_validity and | |
4056 | check_any_valid fields. | |
4057 | (check_pieced_value_bits): Delete and inline ... | |
4058 | (check_pieced_synthetic_pointer): ... here. | |
4059 | (check_pieced_value_validity): Delete. | |
4060 | (check_pieced_value_invalid): Delete. | |
4061 | (pieced_value_funcs): Remove check_validity and check_any_valid | |
4062 | fields. | |
4063 | (read_pieced_value): Use mark_value_bits_optimized_out. | |
4064 | (write_pieced_value): Switch to use | |
4065 | mark_value_bytes_optimized_out. | |
4066 | (dwarf2_evaluate_loc_desc_full): Copy the value contents instead | |
4067 | of assuming the whole value is optimized out. | |
4068 | * findvar.c (read_frame_register_value): Remove special handling | |
4069 | of optimized out registers. | |
4070 | (value_from_register): Use mark_value_bytes_optimized_out. | |
4071 | * frame-unwind.c (frame_unwind_got_optimized): Use | |
4072 | mark_value_bytes_optimized_out. | |
4073 | * jv-valprint.c (java_value_print): Adjust. | |
4074 | (java_print_value_fields): Let the common printing code handle | |
4075 | optimized out values. | |
4076 | * mips-tdep.c (mips_print_register): Remove special handling of | |
4077 | optimized out registers. | |
4078 | * opencl-lang.c (lval_func_check_validity): Delete. | |
4079 | (lval_func_check_any_valid): Delete. | |
4080 | (opencl_value_funcs): Remove check_validity and check_any_valid | |
4081 | fields. | |
4082 | * p-valprint.c (pascal_object_print_value_fields): Let the common | |
4083 | printing code handle optimized out values. | |
4084 | * stack.c (read_frame_arg): Remove special handling of optimized | |
4085 | out values. Fetch both VAL and ENTRYVAL before comparing | |
4086 | contents. Adjust to value_available_contents_eq rename. | |
4087 | * valprint.c (valprint_check_validity) | |
4088 | (val_print_scalar_formatted): Use value_bits_any_optimized_out. | |
4089 | (val_print_array_elements): Adjust. | |
4090 | * value.c (struct value) <optimized_out>: Now a VEC(range_s). | |
4091 | (value_bits_any_optimized_out): New function. | |
4092 | (value_entirely_covered_by_range_vector): New function, factored | |
4093 | out from value_entirely_unavailable. | |
4094 | (value_entirely_unavailable): Reimplement. | |
4095 | (value_entirely_optimized_out): New function. | |
4096 | (insert_into_bit_range_vector): New function, factored out from | |
4097 | mark_value_bits_unavailable. | |
4098 | (mark_value_bits_unavailable): Reimplement. | |
4099 | (struct ranges_and_idx): New struct. | |
4100 | (find_first_range_overlap_and_match): New function, factored out | |
4101 | from value_available_contents_bits_eq. | |
4102 | (value_available_contents_bits_eq): Rename to ... | |
4103 | (value_contents_bits_eq): ... this. Check both unavailable | |
4104 | contents and optimized out contents. | |
4105 | (value_available_contents_eq): Rename to ... | |
4106 | (value_contents_eq): ... this. | |
4107 | (allocate_value_lazy): Remove reference to the old optimized_out | |
4108 | boolean. | |
4109 | (allocate_optimized_out_value): Use | |
4110 | mark_value_bytes_optimized_out. | |
4111 | (require_not_optimized_out): Adjust to check whether the | |
4112 | optimized_out vec is empty. | |
4113 | (ranges_copy_adjusted): New function, factored out from | |
4114 | value_contents_copy_raw. | |
4115 | (value_contents_copy_raw): Also copy the optimized out ranges. | |
4116 | Assert the destination ranges aren't optimized out. | |
4117 | (value_contents_copy): Update comment, remove call to | |
4118 | require_not_optimized_out. | |
4119 | (value_contents_equal): Adjust to check whether the optimized_out | |
4120 | vec is empty. | |
4121 | (set_value_optimized_out, value_optimized_out_const): Delete. | |
4122 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
4123 | New functions. | |
4124 | (value_entirely_optimized_out, value_bits_valid): Delete. | |
4125 | (value_copy): Take a VEC copy of the 'optimized_out' field. | |
4126 | (value_primitive_field): Remove special handling of optimized out. | |
4127 | (value_fetch_lazy): Assert that lazy values have no unavailable | |
4128 | regions. Use value_bits_any_optimized_out. Remove some special | |
4129 | handling for optimized out values. | |
4130 | * value.h: Add intro comment about <optimized out> and | |
4131 | <unavailable>. | |
4132 | (struct lval_funcs): Remove check_validity and check_any_valid | |
4133 | fields. | |
4134 | (set_value_optimized_out, value_optimized_out_const): Remove. | |
4135 | (mark_value_bytes_optimized_out, mark_value_bits_optimized_out): | |
4136 | New declarations. | |
4137 | (value_bits_any_optimized_out): New declaration. | |
4138 | (value_bits_valid): Delete declaration. | |
4139 | (value_available_contents_eq): Rename to ... | |
4140 | (value_contents_eq): ... this, and extend comments. | |
4141 | ||
6694c411 JK |
4142 | 2014-08-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
4143 | ||
4144 | Fix -fsanitize=address on unreadable inferior strings. | |
4145 | * valprint.c (val_print_string): Fix access before BUFFER. | |
4146 | ||
89a1c21a SM |
4147 | 2014-08-19 Simon Marchi <simon.marchi@ericsson.com> |
4148 | ||
4149 | * target.c (target_struct_size): Remove. | |
4150 | (target_struct_allocsize): Remove. | |
4151 | (DEFAULT_ALLOCSIZE): Remove. | |
4152 | (target_ops_p): New typedef. | |
4153 | (DEF_VEC_P (target_ops_p)): New vector type. | |
4154 | (target_structs): Change type to VEC (target_ops_p). | |
4155 | (add_target_with_completer): Replace "push" code by VEC_safe_push. | |
4156 | (find_default_run_target): Rewrite for loop following changes to | |
4157 | target_structs. | |
4158 | ||
cb417230 JB |
4159 | 2014-08-19 Joel Brobecker <brobecker@adacore.com> |
4160 | ||
4161 | * value.c (value_from_pointer): Remove use of resolve_dynamic_type. | |
4162 | Adjust code accordingly. Adjust function description comment. | |
4163 | ||
817e0957 YQ |
4164 | 2014-08-19 Yao Qi <yao@codesourcery.com> |
4165 | ||
4166 | * arm-tdep.c (arm_vfp_cprc_sub_candidate): Handle _Complex | |
4167 | types. | |
4168 | ||
2974be62 AM |
4169 | 2014-08-19 Alan Modra <amodra@gmail.com> |
4170 | ||
4171 | * acinclude.m4 (GDB_AC_CHECK_BFD): Don't add -ldl. | |
4172 | * config.in: Regenerate. | |
4173 | * configure: Regenerate. | |
4174 | ||
34abf635 GB |
4175 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
4176 | Gary Benson <gbenson@redhat.com> | |
4177 | ||
4178 | * common/common-debug.h: New file. | |
4179 | * common/common-debug.c: Likewise. | |
4180 | * debug.c: Likewise. | |
4181 | * Makefile.in (SFILES): Add common/common-debug.c. | |
4182 | (HFILES_NO_SRCDIR): Add common/common-debug.h. | |
4183 | (COMMON_OBS): Add common-debug.o and debug.o. | |
4184 | (common-debug.o): New rule. | |
4185 | * common/common-defs.h: Include common-debug.h. | |
4186 | * common/agent.c (debug_agent_printf): New function. | |
4187 | (DEBUG_AGENT): Redefine. | |
4188 | * nat/i386-dregs.c (debug_printf): Undefine. | |
4189 | ||
f6e94d78 GB |
4190 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
4191 | ||
4192 | * common/common-defs.h: Include print-utils.h. | |
4193 | * utils.h: Do not include print-utils.h. | |
4194 | ||
9239eeab GB |
4195 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
4196 | Gary Benson <gbenson@redhat.com> | |
4197 | ||
4198 | * common/common-types.h: New file. | |
4199 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-types.h. | |
4200 | * common/common-defs.h: Include common-types.h. | |
4201 | * defs.h (gdb_byte, CORE_ADDR, CORE_ADDR_MAX, LONGEST) | |
4202 | (ULONGEST): Remove. | |
4203 | ||
ef87c8bb GB |
4204 | 2014-08-19 Tom Tromey <tromey@redhat.com> |
4205 | Gary Benson <gbenson@redhat.com> | |
4206 | ||
4207 | * common/errors.h: New file. | |
4208 | * common/errors.c: Likewise. | |
4209 | * Makefile.in (SFILES): Add common/errors.c. | |
4210 | (HFILES_NO_SRCDIR): Add common/errors.h. | |
4211 | (COMMON_OBS): Add errors.o. | |
4212 | (errors.o): New rule. | |
4213 | * common/common-defs.h: Include errors.h. | |
4214 | * utils.h (perror_with_name, error, verror, warning, vwarning): | |
4215 | Don't declare. | |
4216 | * common/common-utils.h: (malloc_failure, internal_error): | |
4217 | Likewise. | |
4218 | ||
196a707b GB |
4219 | 2014-08-19 Gary Benson <gbenson@redhat.com> |
4220 | ||
4221 | * utils.c (internal_vproblem): Always print the message. | |
4222 | ||
ded4fc8f DE |
4223 | 2014-08-18 Doug Evans <dje@google.com> |
4224 | ||
4225 | * ada-typeprint.c (print_range): Initialize lo,hi for gcc -Wall. | |
4226 | ||
950c97d8 JB |
4227 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4228 | ||
4229 | * ada-typeprint.c (type_is_full_subrange_of_target_type): | |
4230 | Return 0 if TYPE is dynamic. | |
4231 | (print_range): Add handling of dynamic ranges. | |
4232 | ||
3cdcd0ce JB |
4233 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
4234 | Joel Brobecker <brobecker@adacore.com> | |
4235 | ||
4236 | * gdbtypes.h (struct main_type): Add field "data_location". | |
4237 | (TYPE_DATA_LOCATION, TYPE_DATA_LOCATION_BATON) | |
4238 | (TYPE_DATA_LOCATION_ADDR, TYPE_DATA_LOCATION_KIND): New macros. | |
4239 | * gdbtypes.c (is_dynamic_type): Return 1 if the type has | |
4240 | a dynamic data location. | |
4241 | (resolve_dynamic_type): Add DW_AT_data_location handling. | |
4242 | (copy_recursive, copy_type): Copy the data_location information | |
4243 | when present. | |
4244 | * dwarf2read.c (set_die_type): Add DW_AT_data_location handling. | |
4245 | * value.c (value_from_contents_and_address): Add | |
4246 | DW_AT_data_location handling. | |
4247 | ||
08412b07 JB |
4248 | 2014-08-18 Keven Boell <keven.boell@intel.com> |
4249 | Joel Brobecker <brobecker@adacore.com> | |
4250 | ||
4251 | * dwarf2expr.h (struct dwarf_expr_context_funcs): Uncomment | |
4252 | field "get_object_address". | |
4253 | * dwarf2expr.c (execute_stack_op): Add handling for | |
4254 | DW_OP_push_object_address. | |
4255 | * dwarf2loc.h (dwarf2_evaluate_property): Add "address" field. | |
4256 | * dwarf2loc.c (struct dwarf_expr_baton): Add field "obj_address". | |
4257 | (dwarf_expr_push_dwarf_reg_entry_value): Set baton_local.obj_address. | |
4258 | (dwarf_expr_get_obj_addr): New function. | |
4259 | (dwarf_expr_ctx_funcs): Add get_object_address field. | |
4260 | (dwarf2_evaluate_loc_desc_full): Set baton.obj_address. | |
4261 | (dwarf2_locexpr_baton_eval): Add parameter "addr". Use it. | |
4262 | (dwarf2_evaluate_property): Add parameter "address". Use it. | |
4263 | (needs_get_obj_addr): New function. | |
4264 | (needs_frame_ctx_funcs): Add get_object_address field. | |
4265 | (dwarf2_compile_expr_to_ax): Add DW_OP_push_object_address handling. | |
4266 | * gdbtypes.c (resolve_dynamic_range): Add "addr" field. Use it. | |
4267 | (resolve_dynamic_array): Likewise. | |
4268 | ||
84754697 JB |
4269 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4270 | ||
4271 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: | |
4272 | When noside is EVAL_AVOID_SIDE_EFFECTS, only return a statically | |
4273 | fixed value for records and unions for which some GNAT encodings | |
4274 | are present. | |
4275 | ||
da5c522f JB |
4276 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4277 | ||
4278 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Slight code | |
4279 | rewrite to avoid "else if" and "else" constructs. Should be | |
4280 | a no-op in practice. | |
4281 | ||
0d72a7c3 JB |
4282 | 2014-08-18 Joel Brobecker <brobecker@adacore.com> |
4283 | ||
4284 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Fix identation | |
4285 | of lexical block. | |
4286 | ||
e66d4446 SC |
4287 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
4288 | ||
4289 | PR c++/17132 | |
4290 | * eval.c: Update all calls to find_overload_match. | |
4291 | * valarith.c: Likewise. | |
4292 | (value_user_defined_cpp_op, value_user_defined_op): New | |
4293 | argument NOSIDE. Update all callers. | |
4294 | * valops.c (find_overload_match): New argument NOSIDE. | |
4295 | * value.h (find_overload_match): Update signature. | |
4296 | ||
940df408 SC |
4297 | 2014-08-15 Siva Chandra Reddy <sivachandra@google.com> |
4298 | ||
4299 | * python/lib/gdb/command/xmethods.py (set_xm_status1): Use the | |
4300 | 'items' methods instead of 'iteritems' method on dictionaries. | |
4301 | ||
699ca60a DE |
4302 | 2014-08-15 Doug Evans <dje@google.com> |
4303 | ||
4304 | * dwarf2read.c (dwarf_decode_lines_1): Move definition of adj_opcode | |
4305 | closer to use. | |
4306 | ||
37780ee5 DE |
4307 | 2014-08-15 Doug Evans <dje@google.com> |
4308 | ||
4309 | * dwarf2read.c (dwarf_decode_lines_1): Add comment. | |
4310 | ||
0ad93d4f DE |
4311 | 2014-08-15 Doug Evans <dje@google.com> |
4312 | ||
4313 | * dwarf2read.c (dwarf_decode_lines_1): Delete local "column", unused. | |
4314 | ||
20d8c372 DE |
4315 | 2014-08-15 Doug Evans <dje@google.com> |
4316 | ||
4317 | * dwarf2read.c (dwarf_decode_lines_1): Delete local basic_block, | |
4318 | unused. | |
4319 | ||
cb039ba4 EZ |
4320 | 2014-08-15 Eli Zaretskii <eliz@gnu.org> |
4321 | ||
4322 | * dcache.h: Include target.h, to avoid compile time warnings. | |
4323 | ||
eb7a547a JB |
4324 | 2014-08-15 Joel Brobecker <brobecker@adacore.com> |
4325 | ||
4326 | * gdbarch.sh: #include "frame.h" in gdbarch.h. Delete "struct | |
4327 | frame_info" partial declaration. | |
4328 | * gdbarch.h: Regenerate. | |
4329 | ||
783cecc8 YQ |
4330 | 2014-08-15 Yao Qi <yao@codesourcery.com> |
4331 | ||
4332 | * dwarf2read.c (dwarf_decode_lines_1): Remove parameter 'pst'. | |
4333 | Add parameter 'decode_for_pst_p'. Callers update. | |
4334 | ||
65c749e7 YQ |
4335 | 2014-08-13 Yao Qi <yao@codesourcery.com> |
4336 | ||
4337 | PR build/17104 | |
4338 | * configure.ac: Use local variable 'pos'. | |
4339 | * configure: Regenerated. | |
4340 | ||
d769e349 DE |
4341 | 2014-08-11 Doug Evans <dje@google.com> |
4342 | ||
4343 | * solib.c (solib_read_symbols): Delete "Loaded symbols for ..." | |
4344 | message, it is redundant with "Reading symbols from ..." message. | |
4345 | ||
24f1235e DE |
4346 | 2014-08-10 Doug Evans <xdje42@gmail.com> |
4347 | ||
4348 | * linux-nat.c (linux_nat_thread_address_space): Delete dead code. | |
4349 | ||
dcd2e6ef YQ |
4350 | 2014-08-09 Yao Qi <yao@codesourcery.com> |
4351 | ||
4352 | PR remote/9053 | |
4353 | * remote.c (remote_xfer_partial): Remove dead code. | |
4354 | ||
070bdf0b AA |
4355 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4356 | ||
4357 | * ia64-linux-tdep.c: Include "regset.h". | |
4358 | (ia64_linux_gregmap, ia64_linux_fpregmap): New register maps. | |
4359 | (IA64_LINUX_GREGS_SIZE, IA64_LINUX_FPREGS_SIZE): New macros. | |
4360 | (ia64_linux_supply_fpregset): New function. | |
4361 | (ia64_linux_gregset, ia64_linux_fpregset): New regsets. | |
4362 | (ia64_linux_regset_from_core_section): New function. | |
4363 | (ia64_linux_init_abi): Set regset_from_core_section gdbarch | |
4364 | method. | |
4365 | ||
08f9f542 AA |
4366 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4367 | ||
4368 | * m68klinux-tdep.c: Include "regset.h". | |
4369 | (m68k_linux_gregmap, m68k_linux_fpregmap): New register maps. | |
4370 | (M68K_LINUX_GREGS_SIZE, M68K_LINUX_FPREGS_SIZE): New macros. | |
4371 | (m68k_linux_gregset, m68k_linux_fpregset): New regsets. | |
4372 | (m68k_linux_regset_from_core_section): New function. | |
4373 | (m68k_linux_init_abi): Set regset_from_core_section gdbarch | |
4374 | method. | |
4375 | ||
8f1cee41 AA |
4376 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4377 | ||
4378 | * tilegx-linux-tdep.c (tilegx_linux_supply_regset): Delete | |
4379 | function. Move logic to... | |
4380 | (tilegx_linux_regmap): ... this new register map. | |
4381 | (tilegx_linux_regset): Refer to register map, replace supply | |
4382 | method by regcache_supply_regset, and add collect method. | |
4383 | * tilegx-tdep.h (enum tilegx_regnum): New enum value | |
4384 | TILEGX_FIRST_EASY_REGNUM. | |
4385 | ||
c5741217 AA |
4386 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4387 | ||
4388 | * score-tdep.c (score7_linux_supply_gregset): Reduce to small stub | |
4389 | that calls regcache_supply_regset and handles the EPC register | |
4390 | separately. Move main logic to... | |
4391 | (score7_linux_gregmap): ... this new register map. | |
4392 | (SCORE7_LINUX_SIZEOF_GREGSET, SCORE7_LINUX_EPC_OFFSET): New macros. | |
4393 | (score7_linux_gregset): Refer to register map. Add collect method. | |
4394 | (score7_linux_regset_from_core_section): Replace | |
4395 | sizeof elf_gregset_t by SCORE7_LINUX_SIZEOF_GREGSET. | |
4396 | * score-tdep.h (enum gdb_regnum): New enum value SCORE_EPC_REGNUM. | |
4397 | (struct regset): Delete unused forward declaraction. | |
4398 | (struct pt_regs): Delete structure definition. | |
4399 | (elf_gregset_t): Delete typedef. | |
4400 | ||
81580573 AA |
4401 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4402 | ||
4403 | * nios2-linux-tdep.c (nios2_collect_gregset): New function. | |
4404 | (nios2_core_regset): Add collect method. | |
4405 | ||
ba199d7d AA |
4406 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4407 | ||
4408 | * m32r-linux-tdep.c (m32r_linux_supply_gregset): Make | |
4409 | platform-independent and don't write to read-only input buffer. | |
4410 | (m32r_linux_collect_gregset): New function. | |
4411 | (m32r_linux_gregset): Add collect method. | |
4412 | ||
0006a9da AA |
4413 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4414 | ||
4415 | * hppa-linux-tdep.c (greg_map): Rename to... | |
4416 | (hppa_linux_gregmap): ... this. Also convert to | |
4417 | regcache_map_entry format. | |
4418 | (hppa_linux_supply_regset): Delete function. | |
4419 | (hppa_linux_supply_fpregset): Delete function. Move logic to... | |
4420 | (hppa_linux_fpregmap): ... this new register map. | |
4421 | (hppa_linux_regset, hppa_linux_fpregset): Refer to appropriate | |
4422 | register map, replace supply method by regcache_supply_regset, and | |
4423 | add collect method regcache_collect_regset. | |
4424 | ||
901e1b23 AA |
4425 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4426 | ||
4427 | * frv-linux-tdep.c (FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR) | |
4428 | (FRV_PT_CCCR, FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0) | |
4429 | (FRV_PT_GNER1, FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR) | |
4430 | (FRV_PT_TBR, FRV_PT_GR, FRV_PT_EXEC_FDPIC_LOADMAP) | |
4431 | (FRV_PT_INTERP_FDPIC_LOADMAP): Delete macros. | |
4432 | (frv_linux_gregmap, frv_linux_fpregmap): New register maps. | |
4433 | (frv_linux_supply_gregset): Replace main logic by call to | |
4434 | regcache_supply_regset, but keep clearing gr32-gr63. | |
4435 | (frv_linux_supply_fpregset): Delete function. | |
4436 | (frv_linux_gregset): Refer to appropriate register map and add | |
4437 | regcache_collect_regset as the collect method. | |
4438 | (frv_linux_fpregset): Likewise. Also exchange the supply method | |
4439 | by regcache_supply_regset. | |
4440 | ||
1d6e7555 AA |
4441 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4442 | ||
4443 | * alpha-linux-tdep.c (alpha_linux_supply_gregset): Replace logic | |
4444 | by call to alpha_supply_int_regs. | |
4445 | (alpha_linux_collect_gregset): New function. | |
4446 | (alpha_linux_supply_fpregset): Replace logic by call to | |
4447 | alpha_supply_fp_regs. | |
4448 | (alpha_linux_collect_fpregset): New function. | |
4449 | (alpha_linux_gregset, alpha_linux_fpregset): Add collect method. | |
4450 | ||
d4d793bf AA |
4451 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4452 | ||
4453 | * aarch64-linux-nat.c (fill_gregset, fill_fpregset): Replace logic | |
4454 | by call to regcache_collect_regset. | |
4455 | (supply_gregset, supply_fpregset): Call regcache_supply_regset | |
4456 | instead of aarch64_linux_supply_gregset/_fpregset. | |
4457 | * aarch64-linux-tdep.c (AARCH64_LINUX_SIZEOF_GREGSET) | |
4458 | (AARCH64_LINUX_SIZEOF_FPREGSET): Delete macros here, move to | |
4459 | header file instead. | |
4460 | (aarch64_linux_supply_gregset, supply_gregset_from_core) | |
4461 | (aarch64_linux_suply_fpregset, supply_fpregset_from_core): Delete | |
4462 | functions. Move logic to ... | |
4463 | (aarch64_linux_gregmap, aarch64_linux_fpregmap): ... these new | |
4464 | register maps. | |
4465 | (aarch64_linux_gregset, aarch64_linux_fpregset): Make global, | |
4466 | refer to new register maps, replace *_regset_from_core by | |
4467 | regcache_supply_regset, and also use regcache_collect_regset. | |
4468 | * aarch64-linux-tdep.h: Include "regset.h". | |
4469 | (aarch64_linux_supply_gregset, aarch64_linux_supply_fpregset): | |
4470 | Delete prototypes. | |
4471 | (AARCH64_LINUX_SIZEOF_GREGSET, AARCH64_LINUX_SIZEOF_FPREGSET): New | |
4472 | macros, moved from C source file. | |
4473 | (aarch64_linux_gregset, aarch64_linux_fpregset): New global | |
4474 | variable declarations. | |
4475 | ||
99b7da5d AA |
4476 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4477 | ||
4478 | * s390-linux-nat.c: Include "regset.h". | |
4479 | (regmap_gregset): Delete macro. | |
4480 | (s390_64_regmap_gregset): New register map for | |
4481 | regcache_supply/_collect_regset. | |
4482 | (s390_64_gregset): New regset. | |
4483 | (S390_PSWM_OFFSET, S390_PSWA_OFFSET): New macros. | |
4484 | (regmap_fpregset): Delete macro. | |
4485 | (s390_native_supply, s390_native_collect): Delete functions. | |
4486 | (supply_gregset, fill_gregset): Replace s390-specific regmap | |
4487 | handling by a call to regcache_supply/_collect_regset. | |
4488 | (supply_fpregset, fill_fpregset): Call regcache_supply/ | |
4489 | _collect_regset instead of s390_native_supply/_collect. | |
4490 | (fetch_regset, store_regset): Likewise. Also change the last | |
4491 | parameter to a regset instead of a regmap. | |
4492 | (s390_linux_fetch_inferior_registers) | |
4493 | (390_linux_store_inferior_registers): Adjust last parameter in | |
4494 | calls to fetch_regset and store_regset. | |
4495 | * s390-linux-tdep.c (s390_regmap_gregset): Rename to... | |
4496 | (s390_gregmap): ... this. Also make static const and convert to | |
4497 | regcache_map_entry format. | |
4498 | (s390x_regmap_gregset): Delete. | |
4499 | (s390_regmap_fpregset): Rename to... | |
4500 | (s390_fpregmap): ... this. Make static const and convert to | |
4501 | regcache_map_entry format. | |
4502 | (s390_regmap_upper, s390_regmap_last_break) | |
4503 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4504 | (s390_regmap_tdb): Likewise. | |
4505 | (s390_supply_regset, s390_collect_regset): Remove functions. | |
4506 | (s390_supply_tdb_regset): Call regcache_supply_regset instead of | |
4507 | s390_supply_regset. | |
4508 | (s390_gregset, s390_fpregset, s390_upper_regset) | |
4509 | (s390_last_break_regset, s390x_last_break_regset) | |
4510 | (s390_system_call_regset, s390_tdb_regset): Make global and | |
4511 | replace s390_supply/_collect_regset by regcache_supply/ | |
4512 | _collect_regset. | |
4513 | (s390x_gregset): Delete. | |
4514 | (s390_gdbarch_init): Replace s390x_gregset by s390_gregset. | |
4515 | * s390-linux-tdep.h (s390_regmap_gregset, s390x_regmap_gregset) | |
4516 | (s390_regmap_fpregset, s390_regmap_last_break) | |
4517 | (s390x_regmap_last_break, s390_regmap_system_call) | |
4518 | (s390_regmap_tdb): Delete global variable declarations. | |
4519 | (s390_gregset, s390_fpregset, s390_last_break_regset) | |
4520 | (s390x_last_break_regset, s390_system_call_regset) | |
4521 | (s390_tdb_regset): New global variable declarations. | |
4522 | ||
0b309272 AA |
4523 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4524 | ||
4525 | * regcache.c: Include "regset.h". | |
4526 | (regcache_transfer_regset): New local function. | |
4527 | (regcache_supply_regset, regcache_collect_regset): New functions. | |
4528 | * regcache.h (struct regcache_map_entry): New structure. | |
4529 | (REGCACHE_MAP_SKIP): New enum value. | |
4530 | (regcache_supply_regset, regcache_collect_regset): New prototypes. | |
4531 | ||
7fefa8d7 AA |
4532 | 2014-08-07 Andreas Arnez <arnez@linux.vnet.ibm.com> |
4533 | ||
4534 | * regset.h (struct regset): Rename 'descr' field to 'regmap'. | |
4535 | * ppc-linux-tdep.c (ppc_linux_supply_gregset) | |
4536 | (ppc_linux_collect_gregset ): Likewise. | |
4537 | * rs6000-tdep.c (ppc_supply_gregset, ppc_supply_fpregset) | |
4538 | (ppc_supply_vrregset, ppc_collect_gregset, ppc_collect_fpregset) | |
4539 | (ppc_collect_vrregset): Likewise. | |
4540 | * s390-linux-tdep.c (s390_supply_regset, s390_collect_regset): | |
4541 | Likewise. | |
4542 | ||
96c4f946 YQ |
4543 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4544 | ||
4545 | * corelow.c (core_xfer_partial): Replace 0 with TARGET_XFER_EOF. | |
4546 | * remote-m32r-sdi.c (m32r_xfer_memory): Likewise. | |
4547 | * remote.c (remote_read_bytes): Likewise. | |
4548 | ||
fffbe6a8 YQ |
4549 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4550 | ||
4551 | * dwarf2read.c (struct dwarf2_per_cu_data) <u>: Tweak comments. | |
4552 | ||
5ee8a82c YQ |
4553 | 2014-08-07 Yao Qi <yao@codesourcery.com> |
4554 | ||
4555 | PR remote/17230 | |
4556 | * remote-mips.c (mips_xfer_memory): Set *xfered_len and return | |
4557 | TARGET_XFER_OK instead of 0. | |
4558 | ||
bb974a24 GB |
4559 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4560 | ||
4561 | * common/common-defs.h: Include errno.h. | |
4562 | * defs.h: Do not include errno.h. | |
4563 | * ada-typeprint.c: Likewise. | |
4564 | * c-typeprint.c: Likewise. | |
4565 | * core-regset.c: Likewise. | |
4566 | * corefile.c: Likewise. | |
4567 | * corelow.c: Likewise. | |
4568 | * event-loop.c: Likewise. | |
4569 | * f-typeprint.c: Likewise. | |
4570 | * gnu-nat.c: Likewise. | |
4571 | * go32-nat.c: Likewise. | |
4572 | * i386gnu-nat.c: Likewise. | |
4573 | * m2-typeprint.c: Likewise. | |
4574 | * nat/linux-btrace.c: Likewise. | |
4575 | * p-typeprint.c: Likewise. | |
4576 | * procfs.c: Likewise. | |
4577 | * remote-sim.c: Likewise. | |
4578 | * rs6000-nat.c: Likewise. | |
4579 | * target.c: Likewise. | |
4580 | * typeprint.c: Likewise. | |
4581 | * ui-file.c: Likewise. | |
4582 | * valops.c: Likewise. | |
4583 | * valprint.c: Likewise. | |
4584 | ||
6d3d12eb GB |
4585 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4586 | ||
4587 | * common/common-defs.h: Include string.h. | |
4588 | * aarch64-tdep.c: Do not include string.h. | |
4589 | * ada-exp.y: Likewise. | |
4590 | * ada-lang.c: Likewise. | |
4591 | * ada-lex.l: Likewise. | |
4592 | * ada-typeprint.c: Likewise. | |
4593 | * ada-valprint.c: Likewise. | |
4594 | * aix-thread.c: Likewise. | |
4595 | * alpha-linux-tdep.c: Likewise. | |
4596 | * alpha-mdebug-tdep.c: Likewise. | |
4597 | * alpha-nat.c: Likewise. | |
4598 | * alpha-osf1-tdep.c: Likewise. | |
4599 | * alpha-tdep.c: Likewise. | |
4600 | * alphanbsd-tdep.c: Likewise. | |
4601 | * amd64-dicos-tdep.c: Likewise. | |
4602 | * amd64-linux-tdep.c: Likewise. | |
4603 | * amd64-nat.c: Likewise. | |
4604 | * amd64-sol2-tdep.c: Likewise. | |
4605 | * amd64fbsd-tdep.c: Likewise. | |
4606 | * amd64obsd-tdep.c: Likewise. | |
4607 | * arch-utils.c: Likewise. | |
4608 | * arm-linux-nat.c: Likewise. | |
4609 | * arm-linux-tdep.c: Likewise. | |
4610 | * arm-tdep.c: Likewise. | |
4611 | * arm-wince-tdep.c: Likewise. | |
4612 | * armbsd-tdep.c: Likewise. | |
4613 | * armnbsd-nat.c: Likewise. | |
4614 | * armnbsd-tdep.c: Likewise. | |
4615 | * armobsd-tdep.c: Likewise. | |
4616 | * avr-tdep.c: Likewise. | |
4617 | * ax-gdb.c: Likewise. | |
4618 | * ax-general.c: Likewise. | |
4619 | * bcache.c: Likewise. | |
4620 | * bfin-tdep.c: Likewise. | |
4621 | * breakpoint.c: Likewise. | |
4622 | * build-id.c: Likewise. | |
4623 | * buildsym.c: Likewise. | |
4624 | * c-exp.y: Likewise. | |
4625 | * c-lang.c: Likewise. | |
4626 | * c-typeprint.c: Likewise. | |
4627 | * c-valprint.c: Likewise. | |
4628 | * charset.c: Likewise. | |
4629 | * cli-out.c: Likewise. | |
4630 | * cli/cli-cmds.c: Likewise. | |
4631 | * cli/cli-decode.c: Likewise. | |
4632 | * cli/cli-dump.c: Likewise. | |
4633 | * cli/cli-interp.c: Likewise. | |
4634 | * cli/cli-logging.c: Likewise. | |
4635 | * cli/cli-script.c: Likewise. | |
4636 | * cli/cli-setshow.c: Likewise. | |
4637 | * cli/cli-utils.c: Likewise. | |
4638 | * coffread.c: Likewise. | |
4639 | * common/agent.c: Likewise. | |
4640 | * common/buffer.c: Likewise. | |
4641 | * common/buffer.h: Likewise. | |
4642 | * common/common-utils.c: Likewise. | |
4643 | * common/filestuff.c: Likewise. | |
4644 | * common/filestuff.c: Likewise. | |
4645 | * common/format.c: Likewise. | |
4646 | * common/print-utils.c: Likewise. | |
4647 | * common/rsp-low.c: Likewise. | |
4648 | * common/signals.c: Likewise. | |
4649 | * common/vec.h: Likewise. | |
4650 | * common/xml-utils.c: Likewise. | |
4651 | * core-regset.c: Likewise. | |
4652 | * corefile.c: Likewise. | |
4653 | * corelow.c: Likewise. | |
4654 | * cp-abi.c: Likewise. | |
4655 | * cp-name-parser.y: Likewise. | |
4656 | * cp-support.c: Likewise. | |
4657 | * cp-valprint.c: Likewise. | |
4658 | * cris-tdep.c: Likewise. | |
4659 | * d-exp.y: Likewise. | |
4660 | * darwin-nat.c: Likewise. | |
4661 | * dbxread.c: Likewise. | |
4662 | * dcache.c: Likewise. | |
4663 | * demangle.c: Likewise. | |
4664 | * dicos-tdep.c: Likewise. | |
4665 | * disasm.c: Likewise. | |
4666 | * doublest.c: Likewise. | |
4667 | * dsrec.c: Likewise. | |
4668 | * dummy-frame.c: Likewise. | |
4669 | * dwarf2-frame.c: Likewise. | |
4670 | * dwarf2loc.c: Likewise. | |
4671 | * dwarf2read.c: Likewise. | |
4672 | * elfread.c: Likewise. | |
4673 | * environ.c: Likewise. | |
4674 | * eval.c: Likewise. | |
4675 | * event-loop.c: Likewise. | |
4676 | * exceptions.c: Likewise. | |
4677 | * exec.c: Likewise. | |
4678 | * expprint.c: Likewise. | |
4679 | * f-exp.y: Likewise. | |
4680 | * f-lang.c: Likewise. | |
4681 | * f-typeprint.c: Likewise. | |
4682 | * f-valprint.c: Likewise. | |
4683 | * fbsd-nat.c: Likewise. | |
4684 | * findcmd.c: Likewise. | |
4685 | * findvar.c: Likewise. | |
4686 | * fork-child.c: Likewise. | |
4687 | * frame.c: Likewise. | |
4688 | * frv-linux-tdep.c: Likewise. | |
4689 | * frv-tdep.c: Likewise. | |
4690 | * gdb.c: Likewise. | |
4691 | * gdb_bfd.c: Likewise. | |
4692 | * gdbarch.c: Likewise. | |
4693 | * gdbarch.sh: Likewise. | |
4694 | * gdbtypes.c: Likewise. | |
4695 | * gnu-nat.c: Likewise. | |
4696 | * gnu-v2-abi.c: Likewise. | |
4697 | * gnu-v3-abi.c: Likewise. | |
4698 | * go-exp.y: Likewise. | |
4699 | * go-lang.c: Likewise. | |
4700 | * go32-nat.c: Likewise. | |
4701 | * guile/guile.c: Likewise. | |
4702 | * guile/scm-auto-load.c: Likewise. | |
4703 | * hppa-hpux-tdep.c: Likewise. | |
4704 | * hppa-linux-nat.c: Likewise. | |
4705 | * hppanbsd-tdep.c: Likewise. | |
4706 | * hppaobsd-tdep.c: Likewise. | |
4707 | * i386-cygwin-tdep.c: Likewise. | |
4708 | * i386-dicos-tdep.c: Likewise. | |
4709 | * i386-linux-tdep.c: Likewise. | |
4710 | * i386-nto-tdep.c: Likewise. | |
4711 | * i386-sol2-tdep.c: Likewise. | |
4712 | * i386-tdep.c: Likewise. | |
4713 | * i386bsd-tdep.c: Likewise. | |
4714 | * i386gnu-nat.c: Likewise. | |
4715 | * i386nbsd-tdep.c: Likewise. | |
4716 | * i386obsd-tdep.c: Likewise. | |
4717 | * i387-tdep.c: Likewise. | |
4718 | * ia64-libunwind-tdep.c: Likewise. | |
4719 | * ia64-linux-nat.c: Likewise. | |
4720 | * inf-child.c: Likewise. | |
4721 | * inf-ptrace.c: Likewise. | |
4722 | * inf-ttrace.c: Likewise. | |
4723 | * infcall.c: Likewise. | |
4724 | * infcmd.c: Likewise. | |
4725 | * inflow.c: Likewise. | |
4726 | * infrun.c: Likewise. | |
4727 | * interps.c: Likewise. | |
4728 | * iq2000-tdep.c: Likewise. | |
4729 | * irix5-nat.c: Likewise. | |
4730 | * jv-exp.y: Likewise. | |
4731 | * jv-lang.c: Likewise. | |
4732 | * jv-typeprint.c: Likewise. | |
4733 | * jv-valprint.c: Likewise. | |
4734 | * language.c: Likewise. | |
4735 | * linux-fork.c: Likewise. | |
4736 | * linux-nat.c: Likewise. | |
4737 | * lm32-tdep.c: Likewise. | |
4738 | * m2-exp.y: Likewise. | |
4739 | * m2-typeprint.c: Likewise. | |
4740 | * m32c-tdep.c: Likewise. | |
4741 | * m32r-linux-nat.c: Likewise. | |
4742 | * m32r-linux-tdep.c: Likewise. | |
4743 | * m32r-rom.c: Likewise. | |
4744 | * m32r-tdep.c: Likewise. | |
4745 | * m68hc11-tdep.c: Likewise. | |
4746 | * m68k-tdep.c: Likewise. | |
4747 | * m68kbsd-tdep.c: Likewise. | |
4748 | * m68klinux-nat.c: Likewise. | |
4749 | * m68klinux-tdep.c: Likewise. | |
4750 | * m88k-tdep.c: Likewise. | |
4751 | * machoread.c: Likewise. | |
4752 | * macrocmd.c: Likewise. | |
4753 | * main.c: Likewise. | |
4754 | * mdebugread.c: Likewise. | |
4755 | * mem-break.c: Likewise. | |
4756 | * memattr.c: Likewise. | |
4757 | * memory-map.c: Likewise. | |
4758 | * mep-tdep.c: Likewise. | |
4759 | * mi/mi-cmd-break.c: Likewise. | |
4760 | * mi/mi-cmd-disas.c: Likewise. | |
4761 | * mi/mi-cmd-env.c: Likewise. | |
4762 | * mi/mi-cmd-stack.c: Likewise. | |
4763 | * mi/mi-cmd-var.c: Likewise. | |
4764 | * mi/mi-cmds.c: Likewise. | |
4765 | * mi/mi-console.c: Likewise. | |
4766 | * mi/mi-getopt.c: Likewise. | |
4767 | * mi/mi-interp.c: Likewise. | |
4768 | * mi/mi-main.c: Likewise. | |
4769 | * mi/mi-parse.c: Likewise. | |
4770 | * microblaze-rom.c: Likewise. | |
4771 | * microblaze-tdep.c: Likewise. | |
4772 | * mingw-hdep.c: Likewise. | |
4773 | * minidebug.c: Likewise. | |
4774 | * minsyms.c: Likewise. | |
4775 | * mips-irix-tdep.c: Likewise. | |
4776 | * mips-linux-tdep.c: Likewise. | |
4777 | * mips-tdep.c: Likewise. | |
4778 | * mips64obsd-tdep.c: Likewise. | |
4779 | * mipsnbsd-tdep.c: Likewise. | |
4780 | * mipsread.c: Likewise. | |
4781 | * mn10300-linux-tdep.c: Likewise. | |
4782 | * mn10300-tdep.c: Likewise. | |
4783 | * monitor.c: Likewise. | |
4784 | * moxie-tdep.c: Likewise. | |
4785 | * mt-tdep.c: Likewise. | |
4786 | * nat/linux-btrace.c: Likewise. | |
4787 | * nat/linux-osdata.c: Likewise. | |
4788 | * nat/linux-procfs.c: Likewise. | |
4789 | * nat/linux-ptrace.c: Likewise. | |
4790 | * nat/linux-waitpid.c: Likewise. | |
4791 | * nbsd-tdep.c: Likewise. | |
4792 | * nios2-linux-tdep.c: Likewise. | |
4793 | * nto-procfs.c: Likewise. | |
4794 | * nto-tdep.c: Likewise. | |
4795 | * objc-lang.c: Likewise. | |
4796 | * objfiles.c: Likewise. | |
4797 | * opencl-lang.c: Likewise. | |
4798 | * osabi.c: Likewise. | |
4799 | * osdata.c: Likewise. | |
4800 | * p-exp.y: Likewise. | |
4801 | * p-lang.c: Likewise. | |
4802 | * p-typeprint.c: Likewise. | |
4803 | * parse.c: Likewise. | |
4804 | * posix-hdep.c: Likewise. | |
4805 | * ppc-linux-nat.c: Likewise. | |
4806 | * ppc-sysv-tdep.c: Likewise. | |
4807 | * ppcfbsd-tdep.c: Likewise. | |
4808 | * ppcnbsd-tdep.c: Likewise. | |
4809 | * ppcobsd-tdep.c: Likewise. | |
4810 | * printcmd.c: Likewise. | |
4811 | * procfs.c: Likewise. | |
4812 | * prologue-value.c: Likewise. | |
4813 | * python/py-auto-load.c: Likewise. | |
4814 | * python/py-gdb-readline.c: Likewise. | |
4815 | * ravenscar-thread.c: Likewise. | |
4816 | * regcache.c: Likewise. | |
4817 | * registry.c: Likewise. | |
4818 | * remote-fileio.c: Likewise. | |
4819 | * remote-m32r-sdi.c: Likewise. | |
4820 | * remote-mips.c: Likewise. | |
4821 | * remote-notif.c: Likewise. | |
4822 | * remote-sim.c: Likewise. | |
4823 | * remote.c: Likewise. | |
4824 | * reverse.c: Likewise. | |
4825 | * rs6000-aix-tdep.c: Likewise. | |
4826 | * ser-base.c: Likewise. | |
4827 | * ser-go32.c: Likewise. | |
4828 | * ser-mingw.c: Likewise. | |
4829 | * ser-pipe.c: Likewise. | |
4830 | * ser-tcp.c: Likewise. | |
4831 | * ser-unix.c: Likewise. | |
4832 | * serial.c: Likewise. | |
4833 | * sh-tdep.c: Likewise. | |
4834 | * sh64-tdep.c: Likewise. | |
4835 | * shnbsd-tdep.c: Likewise. | |
4836 | * skip.c: Likewise. | |
4837 | * sol-thread.c: Likewise. | |
4838 | * solib-dsbt.c: Likewise. | |
4839 | * solib-frv.c: Likewise. | |
4840 | * solib-osf.c: Likewise. | |
4841 | * solib-som.c: Likewise. | |
4842 | * solib-spu.c: Likewise. | |
4843 | * solib-target.c: Likewise. | |
4844 | * solib.c: Likewise. | |
4845 | * somread.c: Likewise. | |
4846 | * source.c: Likewise. | |
4847 | * sparc-nat.c: Likewise. | |
4848 | * sparc-sol2-tdep.c: Likewise. | |
4849 | * sparc-tdep.c: Likewise. | |
4850 | * sparc64-tdep.c: Likewise. | |
4851 | * sparc64fbsd-tdep.c: Likewise. | |
4852 | * sparc64nbsd-tdep.c: Likewise. | |
4853 | * sparcnbsd-tdep.c: Likewise. | |
4854 | * spu-linux-nat.c: Likewise. | |
4855 | * spu-multiarch.c: Likewise. | |
4856 | * spu-tdep.c: Likewise. | |
4857 | * stabsread.c: Likewise. | |
4858 | * stack.c: Likewise. | |
4859 | * std-regs.c: Likewise. | |
4860 | * symfile.c: Likewise. | |
4861 | * symmisc.c: Likewise. | |
4862 | * symtab.c: Likewise. | |
4863 | * target.c: Likewise. | |
4864 | * thread.c: Likewise. | |
4865 | * tilegx-linux-nat.c: Likewise. | |
4866 | * tilegx-tdep.c: Likewise. | |
4867 | * top.c: Likewise. | |
4868 | * tracepoint.c: Likewise. | |
4869 | * tui/tui-command.c: Likewise. | |
4870 | * tui/tui-data.c: Likewise. | |
4871 | * tui/tui-disasm.c: Likewise. | |
4872 | * tui/tui-file.c: Likewise. | |
4873 | * tui/tui-layout.c: Likewise. | |
4874 | * tui/tui-out.c: Likewise. | |
4875 | * tui/tui-regs.c: Likewise. | |
4876 | * tui/tui-source.c: Likewise. | |
4877 | * tui/tui-stack.c: Likewise. | |
4878 | * tui/tui-win.c: Likewise. | |
4879 | * tui/tui-windata.c: Likewise. | |
4880 | * tui/tui-winsource.c: Likewise. | |
4881 | * typeprint.c: Likewise. | |
4882 | * ui-file.c: Likewise. | |
4883 | * ui-out.c: Likewise. | |
4884 | * user-regs.c: Likewise. | |
4885 | * utils.c: Likewise. | |
4886 | * v850-tdep.c: Likewise. | |
4887 | * valarith.c: Likewise. | |
4888 | * valops.c: Likewise. | |
4889 | * valprint.c: Likewise. | |
4890 | * value.c: Likewise. | |
4891 | * varobj.c: Likewise. | |
4892 | * vax-tdep.c: Likewise. | |
4893 | * vaxnbsd-tdep.c: Likewise. | |
4894 | * vaxobsd-tdep.c: Likewise. | |
4895 | * windows-nat.c: Likewise. | |
4896 | * xcoffread.c: Likewise. | |
4897 | * xml-support.c: Likewise. | |
4898 | * xstormy16-tdep.c: Likewise. | |
4899 | * xtensa-linux-nat.c: Likewise. | |
4900 | ||
dccbb609 GB |
4901 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
4902 | ||
4903 | * common/common-defs.h: Include gdb_assert.h. | |
4904 | * aarch64-tdep.c: Do not include gdb_assert.h. | |
4905 | * addrmap.c: Likewise. | |
4906 | * aix-thread.c: Likewise. | |
4907 | * alpha-linux-tdep.c: Likewise. | |
4908 | * alpha-mdebug-tdep.c: Likewise. | |
4909 | * alphanbsd-tdep.c: Likewise. | |
4910 | * amd64-nat.c: Likewise. | |
4911 | * amd64-tdep.c: Likewise. | |
4912 | * amd64bsd-nat.c: Likewise. | |
4913 | * amd64fbsd-nat.c: Likewise. | |
4914 | * amd64fbsd-tdep.c: Likewise. | |
4915 | * amd64nbsd-nat.c: Likewise. | |
4916 | * amd64nbsd-tdep.c: Likewise. | |
4917 | * amd64obsd-nat.c: Likewise. | |
4918 | * amd64obsd-tdep.c: Likewise. | |
4919 | * arch-utils.c: Likewise. | |
4920 | * arm-tdep.c: Likewise. | |
4921 | * armbsd-tdep.c: Likewise. | |
4922 | * auxv.c: Likewise. | |
4923 | * bcache.c: Likewise. | |
4924 | * bfin-tdep.c: Likewise. | |
4925 | * blockframe.c: Likewise. | |
4926 | * breakpoint.c: Likewise. | |
4927 | * bsd-kvm.c: Likewise. | |
4928 | * bsd-uthread.c: Likewise. | |
4929 | * buildsym.c: Likewise. | |
4930 | * c-exp.y: Likewise. | |
4931 | * c-lang.c: Likewise. | |
4932 | * charset.c: Likewise. | |
4933 | * cleanups.c: Likewise. | |
4934 | * cli-out.c: Likewise. | |
4935 | * cli/cli-decode.c: Likewise. | |
4936 | * cli/cli-dump.c: Likewise. | |
4937 | * cli/cli-logging.c: Likewise. | |
4938 | * cli/cli-script.c: Likewise. | |
4939 | * cli/cli-utils.c: Likewise. | |
4940 | * coffread.c: Likewise. | |
4941 | * common/common-utils.c: Likewise. | |
4942 | * common/queue.h: Likewise. | |
4943 | * common/signals.c: Likewise. | |
4944 | * common/vec.h: Likewise. | |
4945 | * complaints.c: Likewise. | |
4946 | * completer.c: Likewise. | |
4947 | * corelow.c: Likewise. | |
4948 | * cp-abi.c: Likewise. | |
4949 | * cp-name-parser.y: Likewise. | |
4950 | * cp-namespace.c: Likewise. | |
4951 | * cp-support.c: Likewise. | |
4952 | * cris-tdep.c: Likewise. | |
4953 | * dbxread.c: Likewise. | |
4954 | * dictionary.c: Likewise. | |
4955 | * doublest.c: Likewise. | |
4956 | * dsrec.c: Likewise. | |
4957 | * dummy-frame.c: Likewise. | |
4958 | * dwarf2-frame-tailcall.c: Likewise. | |
4959 | * dwarf2-frame.c: Likewise. | |
4960 | * dwarf2expr.c: Likewise. | |
4961 | * dwarf2loc.c: Likewise. | |
4962 | * dwarf2read.c: Likewise. | |
4963 | * eval.c: Likewise. | |
4964 | * event-loop.c: Likewise. | |
4965 | * exceptions.c: Likewise. | |
4966 | * expprint.c: Likewise. | |
4967 | * f-valprint.c: Likewise. | |
4968 | * fbsd-nat.c: Likewise. | |
4969 | * findvar.c: Likewise. | |
4970 | * frame-unwind.c: Likewise. | |
4971 | * frame.c: Likewise. | |
4972 | * frv-tdep.c: Likewise. | |
4973 | * gcore.c: Likewise. | |
4974 | * gdb-dlfcn.c: Likewise. | |
4975 | * gdb_bfd.c: Likewise. | |
4976 | * gdbarch.c: Likewise. | |
4977 | * gdbarch.sh: Likewise. | |
4978 | * gdbtypes.c: Likewise. | |
4979 | * gnu-nat.c: Likewise. | |
4980 | * gnu-v3-abi.c: Likewise. | |
4981 | * go-lang.c: Likewise. | |
4982 | * guile/scm-exception.c: Likewise. | |
4983 | * guile/scm-gsmob.c: Likewise. | |
4984 | * guile/scm-lazy-string.c: Likewise. | |
4985 | * guile/scm-math.c: Likewise. | |
4986 | * guile/scm-pretty-print.c: Likewise. | |
4987 | * guile/scm-safe-call.c: Likewise. | |
4988 | * guile/scm-utils.c: Likewise. | |
4989 | * guile/scm-value.c: Likewise. | |
4990 | * h8300-tdep.c: Likewise. | |
4991 | * hppa-hpux-nat.c: Likewise. | |
4992 | * hppa-tdep.c: Likewise. | |
4993 | * hppanbsd-tdep.c: Likewise. | |
4994 | * hppaobsd-tdep.c: Likewise. | |
4995 | * i386-darwin-nat.c: Likewise. | |
4996 | * i386-darwin-tdep.c: Likewise. | |
4997 | * i386-nto-tdep.c: Likewise. | |
4998 | * i386-tdep.c: Likewise. | |
4999 | * i386bsd-nat.c: Likewise. | |
5000 | * i386fbsd-tdep.c: Likewise. | |
5001 | * i386gnu-nat.c: Likewise. | |
5002 | * i386nbsd-tdep.c: Likewise. | |
5003 | * i386obsd-tdep.c: Likewise. | |
5004 | * i387-tdep.c: Likewise. | |
5005 | * ia64-libunwind-tdep.c: Likewise. | |
5006 | * ia64-tdep.c: Likewise. | |
5007 | * inf-ptrace.c: Likewise. | |
5008 | * inf-ttrace.c: Likewise. | |
5009 | * infcall.c: Likewise. | |
5010 | * infcmd.c: Likewise. | |
5011 | * infrun.c: Likewise. | |
5012 | * inline-frame.c: Likewise. | |
5013 | * interps.c: Likewise. | |
5014 | * jv-lang.c: Likewise. | |
5015 | * jv-typeprint.c: Likewise. | |
5016 | * linux-fork.c: Likewise. | |
5017 | * linux-nat.c: Likewise. | |
5018 | * linux-thread-db.c: Likewise. | |
5019 | * m32c-tdep.c: Likewise. | |
5020 | * m32r-linux-nat.c: Likewise. | |
5021 | * m32r-tdep.c: Likewise. | |
5022 | * m68k-tdep.c: Likewise. | |
5023 | * m68kbsd-nat.c: Likewise. | |
5024 | * m68kbsd-tdep.c: Likewise. | |
5025 | * m88k-tdep.c: Likewise. | |
5026 | * machoread.c: Likewise. | |
5027 | * macroexp.c: Likewise. | |
5028 | * macrotab.c: Likewise. | |
5029 | * maint.c: Likewise. | |
5030 | * mdebugread.c: Likewise. | |
5031 | * memory-map.c: Likewise. | |
5032 | * mep-tdep.c: Likewise. | |
5033 | * mi/mi-common.c: Likewise. | |
5034 | * microblaze-tdep.c: Likewise. | |
5035 | * mingw-hdep.c: Likewise. | |
5036 | * mips-linux-nat.c: Likewise. | |
5037 | * mips-linux-tdep.c: Likewise. | |
5038 | * mips-tdep.c: Likewise. | |
5039 | * mips64obsd-tdep.c: Likewise. | |
5040 | * mipsnbsd-tdep.c: Likewise. | |
5041 | * mn10300-linux-tdep.c: Likewise. | |
5042 | * mn10300-tdep.c: Likewise. | |
5043 | * moxie-tdep.c: Likewise. | |
5044 | * mt-tdep.c: Likewise. | |
5045 | * nat/linux-btrace.c: Likewise. | |
5046 | * nat/linux-osdata.c: Likewise. | |
5047 | * nat/linux-ptrace.c: Likewise. | |
5048 | * nat/mips-linux-watch.c: Likewise. | |
5049 | * nios2-linux-tdep.c: Likewise. | |
5050 | * nios2-tdep.c: Likewise. | |
5051 | * objc-lang.c: Likewise. | |
5052 | * objfiles.c: Likewise. | |
5053 | * obsd-nat.c: Likewise. | |
5054 | * opencl-lang.c: Likewise. | |
5055 | * osabi.c: Likewise. | |
5056 | * parse.c: Likewise. | |
5057 | * ppc-linux-nat.c: Likewise. | |
5058 | * ppc-sysv-tdep.c: Likewise. | |
5059 | * ppcfbsd-nat.c: Likewise. | |
5060 | * ppcfbsd-tdep.c: Likewise. | |
5061 | * ppcnbsd-nat.c: Likewise. | |
5062 | * ppcnbsd-tdep.c: Likewise. | |
5063 | * ppcobsd-nat.c: Likewise. | |
5064 | * ppcobsd-tdep.c: Likewise. | |
5065 | * printcmd.c: Likewise. | |
5066 | * procfs.c: Likewise. | |
5067 | * prologue-value.c: Likewise. | |
5068 | * psymtab.c: Likewise. | |
5069 | * python/py-lazy-string.c: Likewise. | |
5070 | * python/py-value.c: Likewise. | |
5071 | * regcache.c: Likewise. | |
5072 | * reggroups.c: Likewise. | |
5073 | * registry.c: Likewise. | |
5074 | * remote-sim.c: Likewise. | |
5075 | * remote.c: Likewise. | |
5076 | * rs6000-aix-tdep.c: Likewise. | |
5077 | * rs6000-tdep.c: Likewise. | |
5078 | * s390-linux-tdep.c: Likewise. | |
5079 | * score-tdep.c: Likewise. | |
5080 | * ser-base.c: Likewise. | |
5081 | * ser-mingw.c: Likewise. | |
5082 | * sh-tdep.c: Likewise. | |
5083 | * sh64-tdep.c: Likewise. | |
5084 | * solib-darwin.c: Likewise. | |
5085 | * solib-spu.c: Likewise. | |
5086 | * solib-svr4.c: Likewise. | |
5087 | * source.c: Likewise. | |
5088 | * sparc-nat.c: Likewise. | |
5089 | * sparc-sol2-tdep.c: Likewise. | |
5090 | * sparc-tdep.c: Likewise. | |
5091 | * sparc64-sol2-tdep.c: Likewise. | |
5092 | * sparc64-tdep.c: Likewise. | |
5093 | * sparc64fbsd-tdep.c: Likewise. | |
5094 | * sparc64nbsd-tdep.c: Likewise. | |
5095 | * sparc64obsd-tdep.c: Likewise. | |
5096 | * sparcnbsd-tdep.c: Likewise. | |
5097 | * sparcobsd-tdep.c: Likewise. | |
5098 | * spu-multiarch.c: Likewise. | |
5099 | * spu-tdep.c: Likewise. | |
5100 | * stabsread.c: Likewise. | |
5101 | * stack.c: Likewise. | |
5102 | * symfile.c: Likewise. | |
5103 | * symtab.c: Likewise. | |
5104 | * target-descriptions.c: Likewise. | |
5105 | * target-memory.c: Likewise. | |
5106 | * target.c: Likewise. | |
5107 | * tic6x-linux-tdep.c: Likewise. | |
5108 | * tic6x-tdep.c: Likewise. | |
5109 | * tilegx-linux-nat.c: Likewise. | |
5110 | * tilegx-tdep.c: Likewise. | |
5111 | * top.c: Likewise. | |
5112 | * tramp-frame.c: Likewise. | |
5113 | * tui/tui-out.c: Likewise. | |
5114 | * tui/tui-winsource.c: Likewise. | |
5115 | * ui-out.c: Likewise. | |
5116 | * user-regs.c: Likewise. | |
5117 | * utils.c: Likewise. | |
5118 | * v850-tdep.c: Likewise. | |
5119 | * valops.c: Likewise. | |
5120 | * value.c: Likewise. | |
5121 | * varobj.c: Likewise. | |
5122 | * vax-nat.c: Likewise. | |
5123 | * xml-syscall.c: Likewise. | |
5124 | * xml-tdesc.c: Likewise. | |
5125 | * xstormy16-tdep.c: Likewise. | |
5126 | * xtensa-linux-nat.c: Likewise. | |
5127 | * xtensa-tdep.c: Likewise. | |
5128 | ||
e76df0d0 GB |
5129 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5130 | ||
5131 | * common/common-defs.h: Include common-utils.h. | |
5132 | * defs.h: Do not include common-utils.h. | |
5133 | * common/gdb_assert.h: Likewise. | |
5134 | * darwin-nat.h: Likewise. | |
5135 | * nat/linux-btrace.c: Likewise. | |
5136 | * target/waitstatus.h: Likewise. | |
5137 | ||
4cb9c816 GB |
5138 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5139 | ||
5140 | * common/common-defs.h: Include ptid.h. | |
5141 | * defs.h: Do not include ptid.h. | |
5142 | * inferior.h: Likewise. | |
5143 | * infrun.h: Likewise. | |
5144 | * nat/linux-btrace.h: Likewise. | |
5145 | * nat/linux-osdata.h: Likewise. | |
5146 | * target/waitstatus.h: Likewise. | |
5147 | ||
3995eeee GB |
5148 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5149 | ||
5150 | * common/common-defs.h: Include gdb_locale.h. | |
5151 | * defs.h: Do not include gdb_locale.h. | |
5152 | ||
cb9f1a9b GB |
5153 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5154 | ||
5155 | * common/common-defs.h: Include gdb/signals.h. | |
5156 | * defs.h: Do not include gdb/signals.h. | |
5157 | ||
a5fceff8 GB |
5158 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5159 | ||
5160 | * common/common-defs.h: Include pathmax.h. | |
5161 | * defs.h: Do not include pathmax.h. | |
5162 | ||
b9391142 GB |
5163 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5164 | ||
5165 | * common/common-defs.h: Include libiberty.h. | |
5166 | * defs.h: Do not include libiberty.h. | |
5167 | * common/queue.h: Likewise. | |
5168 | * cp-name-parser.y: Likewise. | |
5169 | * mi/mi-cmd-catch.c: Likewise. | |
5170 | * python/python.c: Likewise. | |
5171 | ||
0e443c87 GB |
5172 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5173 | ||
5174 | * common/common-defs.h: Include ansidecl.h. | |
5175 | * defs.h: Do not include ansidecl.h. | |
5176 | * common/buffer.h: Likewise. | |
5177 | * common/common-utils.h: Likewise. | |
5178 | ||
8ebb3f56 GB |
5179 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5180 | ||
5181 | * common/common-defs.h: Include stddef.h. | |
5182 | * defs.h: Do not include stddef.h. | |
5183 | * common/common-utils.h: Likewise. | |
5184 | * amd64fbsd-nat.c: Likewise. | |
5185 | * bcache.c: Likewise. | |
5186 | * charset.c: Likewise. | |
5187 | * common/buffer.h: Likewise. | |
5188 | * common/vec.h: Likewise. | |
5189 | * i386bsd-nat.c: Likewise. | |
5190 | * nat/linux-btrace.h: Likewise. | |
5191 | * ppcfbsd-nat.c: Likewise. | |
5192 | * ppcnbsd-tdep.h: Likewise. | |
5193 | * ppcobsd-nat.c: Likewise. | |
5194 | * ppcobsd-tdep.h: Likewise. | |
5195 | * python/py-gdb-readline.c: Likewise. | |
5196 | ||
8980bdf6 GB |
5197 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5198 | ||
5199 | * common/common-defs.h: Include stdarg.h. | |
5200 | * defs.h: Do not include stdarg.h. | |
5201 | * ada-lang.c: Likewise. | |
5202 | * common/common-utils.h: Likewise. | |
5203 | * guile/scm-string.c: Likewise. | |
5204 | * guile/scm-utils.c: Likewise. | |
5205 | * m32c-tdep.c: Likewise. | |
5206 | ||
d7096f71 GB |
5207 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5208 | ||
5209 | * common/common-defs.h: Include stdlib.h. | |
5210 | * defs.h: Do not include stdlib.h. | |
5211 | * addrmap.c: Likewise. | |
5212 | * bcache.c: Likewise. | |
5213 | * common/buffer.c: Likewise. | |
5214 | * common/common-utils.c: Likewise. | |
5215 | * cp-name-parser.y: Likewise. | |
5216 | * go32-nat.c: Likewise. | |
5217 | * mn10300-linux-tdep.c: Likewise. | |
5218 | * nat/linux-osdata.c: Likewise. | |
5219 | * tui/tui.c: Likewise. | |
5220 | * windows-nat.c: Likewise. | |
5221 | ||
d02f550d GB |
5222 | 2014-08-07 Gary Benson <gbenson@redhat.com> |
5223 | ||
5224 | * common/common-defs.h: Include stdio.h. | |
5225 | * defs.h: Do not include stdio.h. | |
5226 | * ada-lang.c: Likewise. | |
5227 | * common/buffer.c: Likewise. | |
5228 | * common/common-utils.c: Likewise. | |
5229 | * cp-name-parser.y: Likewise. | |
5230 | * gnu-nat.c: Likewise. | |
5231 | * go32-nat.c: Likewise. | |
5232 | * i386gnu-nat.c: Likewise. | |
5233 | * proc-api.c: Likewise. | |
5234 | * proc-events.c: Likewise. | |
5235 | * proc-flags.c: Likewise. | |
5236 | * proc-why.c: Likewise. | |
5237 | * python/python-internal.h: Likewise. | |
5238 | * target-memory.c: Likewise. | |
5239 | * tui/tui-io.c: Likewise. | |
5240 | * tui/tui.c: Likewise. | |
5241 | ||
b6d7a4bf SM |
5242 | 2014-08-06 Simon Marchi <simon.marchi@ericsson.com> |
5243 | ||
5244 | * solib-svr4.c (scan_dyntag): Rename dyntag and dyn_tag variables. | |
5245 | (scan_dyntag_auxv): Same. | |
5246 | ||
af19829b YQ |
5247 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
5248 | ||
5249 | * amd64-linux-nat.c: Remove duplicated include | |
5250 | "x86-linux-nat.h". | |
5251 | * i386-linux-nat.c: Likewise. | |
5252 | ||
8e07a239 YQ |
5253 | 2014-08-06 Yao Qi <yao@codesourcery.com> |
5254 | ||
5255 | * dwarf2read.c (dwarf_decode_lines_1): Replace "Special | |
5256 | operand" with "Special opcode" in comments. | |
5257 | ||
7bfe8241 GB |
5258 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
5259 | ||
5260 | * interps.c (initialize_interps): Remove prototype. | |
5261 | (interpreter_initialized): Remove static global. | |
5262 | (interp_add): Do not call initialize_interps. | |
5263 | (initialize_interps): Remove function. | |
5264 | ||
d6c95504 GB |
5265 | 2014-08-05 Gary Benson <gbenson@redhat.com> |
5266 | ||
5267 | * utils.c (vwarning): Remove spurious va_end. | |
5268 | ||
241fd515 AM |
5269 | 2014-08-05 Alan Modra <amodra@gmail.com> |
5270 | ||
5271 | * charset.c (convert_between_encodings): Cast result of obstack_base. | |
5272 | * cp-valprint.c (cp_print_value_fields): Use size_t locals. | |
5273 | * hppa-tdep.c (internalize_unwinds): Change "size" parm to size_t. | |
5274 | (read_unwind_info): Use size_t for some locals. | |
5275 | * jit.c (finalize_symtab): Likewise. | |
5276 | * utils.c (hashtab_obstack_allocate): Likewise. | |
5277 | * symmisc.c (print_objfile_statistics): Update format strings. | |
5278 | ||
dc304a94 JK |
5279 | 2014-08-04 Jan Kratochvil <jan.kratochvil@redhat.com> |
5280 | ||
5281 | * NEWS (Changes in GDB-4.0): Move Intel MPX and Intel AVX-512 items ... | |
5282 | (Changes in GDB 7.8): ... here. | |
5283 | ||
3cecbbbe TT |
5284 | 2014-08-04 Tom Tromey <tromey@redhat.com> |
5285 | ||
5286 | * target.c (set_targetdebug): New function. | |
5287 | (initialize_targets): Pass set_targetdebug when creating "set | |
5288 | debug target". | |
5289 | ||
6908c509 JB |
5290 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
5291 | ||
5292 | * gdbtypes.c (resolve_dynamic_struct): Do not generate an error | |
5293 | if detecting a variable-sized field that is not the last field. | |
5294 | Fix struct type length computation. | |
5295 | ||
53e8f97d JB |
5296 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
5297 | ||
5298 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
5299 | Add debug trace. | |
5300 | ||
e068c55d JB |
5301 | 2014-08-01 Joel Brobecker <brobecker@adacore.com> |
5302 | ||
5303 | * amd64-windows-tdep.c (amd64_windows_frame_decode_insns): | |
5304 | Remove "+ 8" offset in computation of CHAIN_VMA. | |
5305 | ||
4d4ca2a1 DE |
5306 | 2014-07-31 Doug Evans <dje@google.com> |
5307 | ||
5308 | * inflow.c (child_terminal_inferior): Add comment. | |
5309 | (child_terminal_ours_for_output): Add comment. | |
5310 | (child_terminal_ours): Add comment. | |
5311 | * linux-nat.c (linux_nat_terminal_inferior): Add comment. | |
5312 | (linux_nat_terminal_ours): Add comment. | |
5313 | ||
462f517e GB |
5314 | 2014-07-31 Gary Benson <gbenson@redhat.com> |
5315 | ||
5316 | * common/btrace-common.h: Do not include defs.h or server.h. | |
5317 | * nat/mips-linux-watch.h: Likewise. | |
5318 | * gdb-dlfcn.h: Do not include defs.h. | |
5319 | * tracefile.h: Likewise. | |
5320 | ||
74228e77 RM |
5321 | 2014-07-30 Roland McGrath <mcgrathr@google.com> |
5322 | ||
5323 | * remote-sim.c (gdbsim_open): Apply constification to forward decl. | |
5324 | ||
014f9477 TT |
5325 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5326 | ||
5327 | * bsd-kvm.c (bsd_kvm_open): Constify. | |
5328 | * corelow.c (core_open): Constify. | |
5329 | * ctf.c (ctf_open): Constify. | |
5330 | * dbug-rom.c (dbug_open): Constify. | |
5331 | * exec.c (exec_open): Constify. | |
5332 | * m32r-rom.c (m32r_open, mon2000_open): Constify. | |
5333 | * microblaze-rom.c (picobug_open): Constify. | |
5334 | * nto-procfs.c (procfs_open_1, procfs_open, procfs_native_open): | |
5335 | Constify. | |
5336 | * ppcbug-rom.c (ppcbug_open0, ppcbug_open1): Constify. | |
5337 | * record-btrace.c (record_btrace_open): Constify. | |
5338 | * record-full.c (record_full_core_open_1, record_full_open_1) | |
5339 | (record_full_open): Constify. | |
5340 | * remote-m32r-sdi.c (m32r_open): Constify. | |
5341 | * remote-mips.c (common_open, mips_open, pmon_open, ddb_open) | |
5342 | (rockhopper_open, lsi_open): Constify. | |
5343 | * remote-sim.c (gdbsim_open): Constify. | |
5344 | * remote.c (remote_open, extended_remote_open, remote_open_1): | |
5345 | Constify. | |
5346 | * target.h (struct target_ops) <to_open>: Make "arg" const. | |
5347 | * tracefile-tfile.c (tfile_open): Constify. | |
5348 | ||
e799154c TT |
5349 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5350 | ||
5351 | * breakpoint.c (map_breakpoint_numbers): Update. | |
5352 | * cli/cli-utils.c (get_number_trailer): Make "pp" const. Update. | |
5353 | (get_number_const): New function. | |
5354 | (get_number): Rewrite using get_number_const. | |
5355 | (init_number_or_range): Make "string" const. | |
5356 | (number_is_in_list): Make "list" const. | |
5357 | * cli/cli-utils.h (get_number_const): Declare. | |
5358 | (struct get_number_or_range_state) <string, end_ptr>: Now const. | |
5359 | (init_number_or_range, number_is_in_list): Update. | |
5360 | * printcmd.c (map_display_numbers): Update. | |
5361 | * value.c (value_from_history_ref): Constify. | |
5362 | * value.h (value_from_history_ref): Update. | |
5363 | ||
5f08566b TT |
5364 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5365 | ||
5366 | * corefile.c (hook_type, call_extra_exec_file_hooks) | |
5367 | (specify_exec_file_hook): Constify. | |
5368 | * exec.c (exec_file_attach): Make "filename" const. | |
5369 | * gdbcore.h (deprecated_exec_file_display_hook) | |
5370 | (specify_exec_file_hook, exec_file_attach): Constify. | |
5371 | * main.c (captured_main): Use catch_command_errors_const. | |
5372 | ||
8981c758 TT |
5373 | 2014-07-30 Tom Tromey <tromey@redhat.com> |
5374 | ||
5375 | * target.c (open_target): New function. | |
5376 | (add_target_with_completer, add_deprecated_target_alias): Use | |
5377 | set_cmd_sfunc, set_cmd_context. | |
5378 | (debug_to_open): Remove. | |
5379 | (setup_target_debug): Update. | |
5380 | ||
a1c7835a YQ |
5381 | 2014-07-30 Yao Qi <yao@codesourcery.com> |
5382 | ||
5383 | * parser-defs.h (struct exp_descriptor) <operator_check>: Update | |
5384 | comments. | |
5385 | * parse.c (exp_iterate): Update comments. | |
5386 | ||
976411d6 GB |
5387 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
5388 | ||
5389 | * common/common-defs.h: New file. | |
5390 | * Makefile.in (HFILES_NO_SRCDIR): Add common/common-defs.h. | |
5391 | * defs.h: Include common-defs.h. | |
5392 | Do not include config.h or build-gnulib/config.h. | |
5393 | ||
5d4848a4 GB |
5394 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
5395 | ||
5396 | * common/common-utils.h: Do not include config.h. | |
5397 | * nat/linux-btrace.h: Likewise. | |
5398 | ||
d41f6d8e GB |
5399 | 2014-07-30 Gary Benson <gbenson@redhat.com> |
5400 | ||
5401 | * btrace.c: Include defs.h. | |
5402 | * common/ptid.c: Include defs.h or server.h as appropriate. | |
5403 | * nat/mips-linux-watch.c: Likewise. | |
5404 | ||
84202f9c TT |
5405 | 2014-07-29 Tom Tromey <tromey@redhat.com> |
5406 | ||
5407 | * target.c (target_is_pushed): Simplify. | |
5408 | ||
2530441c JB |
5409 | 2014-07-29 Joel Brobecker <brobecker@adacore.com> |
5410 | ||
5411 | GDB 7.8 released. | |
5412 | ||
7e09a223 YQ |
5413 | 2014-07-29 Yao Qi <yao@codesourcery.com> |
5414 | ||
5415 | PR gdb/17206 | |
5416 | * infcmd.c (until_next_command): Set step_range_end to PC + 1. | |
5417 | ||
7ebdbe92 DE |
5418 | 2014-07-28 Doug Evans <xdje42@gmail.com> |
5419 | ||
5420 | PR guile/17203 | |
5421 | * guile/scm-param.c (pascm_parameter_defined_p): New function. | |
5422 | (gdbscm_register_parameter_x): Call it. Raise error for pre-existing | |
5423 | parameters. | |
5424 | ||
f347ffc9 WN |
5425 | 2014-07-28 Will Newton <will.newton@linaro.org> |
5426 | ||
5427 | * arm-linux-tdep.c (THUMB2_SET_R7_SIGRETURN1): New define. | |
5428 | (THUMB2_SET_R7_SIGRETURN2): Likewise. | |
5429 | (THUMB2_SET_R7_RT_SIGRETURN1): Likewise. | |
5430 | (THUMB2_SET_R7_RT_SIGRETURN2): Likewise. | |
5431 | (THUMB2_EABI_SYSCALL): Likewise. | |
5432 | (thumb2_eabi_linux_sigreturn_tramp_frame): Create new | |
5433 | struct tramp_frame. | |
5434 | (thumb2_eabi_linux_rt_sigreturn_tramp_frame): Likewise. | |
5435 | (arm_linux_init_abi): Add Thumb2 tramp frame unwinders. | |
5436 | ||
37c5f1f7 DE |
5437 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
5438 | ||
5439 | * guile/scm-param.c (pascm_print_param_smob): Fix output. | |
5440 | ||
0c3abbc7 DE |
5441 | 2014-07-27 Doug Evans <xdje42@gmail.com> |
5442 | ||
5443 | * guile/guile.c (gdbscm_execute_gdb_command): Fix typo in comment. | |
5444 | ||
e76c5d17 DE |
5445 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
5446 | Doug Evans <xdje42@gmail.com> | |
5447 | ||
5448 | PR guile/17146 | |
5449 | * acinclude.m4 (GDB_GUILE_PROGRAM_NAMES): New macro. | |
5450 | (GDB_GUILD_TARGET_FLAG, GDB_TRY_GUILD): New macros. | |
5451 | * configure.ac: Try to use guild to compile an scm file, if it fails | |
5452 | then disable guile support. | |
5453 | * configure: Regenerate. | |
5454 | * data-directory/Makefile.in (GUILE_SOURCE_FILES): Renamed from | |
5455 | GUILE_FILE_LIST. | |
5456 | (GUILE_COMPILED_FILES): New variable. | |
5457 | (GUILE_FILES) Update. | |
5458 | (GUILD, GUILD_TARGET_FLAG, GUILD_COMPILE_FLAGS): New variables. | |
5459 | (stamp-guile): Compile scm files. | |
5460 | * guile/guile.c (boot_guile_support): New function. | |
5461 | (standard_throw_args_p): New function. | |
5462 | (print_standard_throw_error, print_throw_error): New functions. | |
5463 | (handle_boot_error): New function. | |
5464 | (initialize_scheme_side): Rewrite to call boot_guile_support. | |
5465 | * guile/lib/gdb/boot.scm: Update %load-compiled-path. Load gdb.go. | |
5466 | * guile/lib/gdb/init.scm (%silence-compiler-warnings%): New function. | |
5467 | ||
186fcde0 DE |
5468 | 2014-07-26 Ludovic Courtès <ludo@gnu.org> |
5469 | Doug Evans <xdje42@gmail.com> | |
5470 | ||
5471 | PR guile/17146 | |
5472 | * data-directory/Makefile.in (GUILE_FILES): Add support.scm. | |
5473 | * guile/lib/gdb/support.scm: New file. | |
5474 | * guile/guile.c (gdbscm_init_module_name): Change to "gdb". | |
5475 | * guile/lib/gdb.scm: Load gdb/init.scm as an include file. | |
5476 | All uses updated. | |
5477 | * guile/lib/gdb/init.scm (SCM_ARG1, SCM_ARG2): Moved to support.scm. | |
5478 | All uses updated. | |
5479 | (%assert-type): Ditto, and renamed to assert-type. | |
5480 | (%exception-print-style): Delete. | |
5481 | ||
4df42755 DE |
5482 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5483 | ||
5484 | PR build/17105 | |
5485 | * configure.ac: Add AM_CONDITIONALs for HAVE_PYTHON, HAVE_GUILE. | |
5486 | * configure: Regenerate. | |
5487 | * data-directory/Makefile.in (PYTHON_FILE_LIST): Renamed from | |
5488 | PYTHON_FILES. | |
5489 | (PYTHON_FILES): New variable. | |
5490 | (GUILE_FILE_LIST): Renamed from GUILE_FILES. | |
5491 | (GUILE_FILES): New variable. | |
5492 | (stamp-python, install-python, uninstall-python): Handle empty | |
5493 | file list. | |
5494 | (stamp-guile, install-guile, uninstall-guile): Ditto. | |
5495 | ||
ee7333ae DE |
5496 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5497 | ||
5498 | PR guile/17177 | |
5499 | * guile/lib/gdb.scm (pretty-printers): Export. | |
5500 | (set-pretty-printers!): Export. | |
5501 | * guile/lib/gdb/printing.scm (gdb module): Update. | |
5502 | (prepend-pretty-printer!, append-pretty-printer!): Update. | |
5503 | * guile/scm-pretty-print.c (pretty_printer_list_name): Delete. | |
5504 | (pretty_printer_list_var): Delete. | |
5505 | (pretty_printer_list): New static global. | |
5506 | (gdbscm_pretty_printers): New function. | |
5507 | (gdbscm_set_pretty_printers_x): New function. | |
5508 | (ppscm_find_pretty_printer_from_gdb): Update. | |
5509 | (pretty_printer_functions): Add pretty-printers, set-pretty-printers!. | |
5510 | (gdbscm_initialize_pretty_printers): Update. | |
5511 | ||
74edf516 DE |
5512 | 2014-07-26 Doug Evans <xdje42@gmail.com> |
5513 | ||
5514 | PR 17185 | |
5515 | * configure.ac: Add check for header gc/gc.h. | |
5516 | Add check for function setenv. | |
5517 | * configure: Regenerate. | |
5518 | * config.in: Regenerate. | |
5519 | * guile/guile.c (_initialize_guile): Add workaround for libgc 7.4.0. | |
5520 | ||
d54398a7 MR |
5521 | 2014-07-25 Maciej W. Rozycki <macro@codesourcery.com> |
5522 | ||
5523 | * mips-tdep.c (mips_gdbarch_init): Also check the compressed ISA | |
5524 | variation in gdbarch matching. | |
5525 | ||
ab16fce8 TT |
5526 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
5527 | ||
5528 | * exec.c (using_exec_ops): Remove. | |
5529 | (exec_close_1): Update. Remove extraneous block, reindent. | |
5530 | (add_target_sections): Use target_is_pushed. | |
5531 | ||
88056fbb PA |
5532 | 2014-07-25 Pedro Alves <palves@redhat.com> |
5533 | ||
5534 | * go32-nat.c (go32_create_inferior): Pass 0 to clear_proceed_status. | |
5535 | * monitor.c (monitor_create_inferior): Likewise. | |
5536 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
5537 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
5538 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
5539 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
5540 | * windows-nat.c (do_initial_windows_stuff): Likewise. | |
5541 | ||
70509625 PA |
5542 | 2014-07-25 Pedro Alves <palves@redhat.com> |
5543 | ||
5544 | * NEWS: Mention signal passing and "signal" command changes. | |
5545 | * gdbthread.h (struct thread_suspend_state) <stop_signal>: Extend | |
5546 | comment. | |
5547 | * breakpoint.c (until_break_command): Adjust clear_proceed_status | |
5548 | call. | |
5549 | * infcall.c (run_inferior_call): Adjust clear_proceed_status call. | |
5550 | * infcmd.c (proceed_thread_callback, continue_1, step_once) | |
5551 | (jump_command): Adjust clear_proceed_status call. | |
5552 | (signal_command): Warn if other thread that are resumed have | |
5553 | signals that will be delivered. Adjust clear_proceed_status call. | |
5554 | (until_next_command, finish_command) | |
5555 | (proceed_after_attach_callback, attach_command_post_wait) | |
5556 | (attach_command): Adjust clear_proceed_status call. | |
5557 | * infrun.c (proceed_after_vfork_done): Likewise. | |
5558 | (proceed_after_attach_callback): Adjust comment. | |
5559 | (clear_proceed_status_thread): Clear stop_signal if not in pass | |
5560 | state. | |
5561 | (clear_proceed_status_callback): Delete. | |
5562 | (clear_proceed_status): New 'step' parameter. Only clear the | |
5563 | proceed status of threads the command being prepared is about to | |
5564 | resume. | |
5565 | (proceed): If passed in an explicit signal, override stop_signal | |
5566 | with it. Don't pass the last stop signal to the thread we're | |
5567 | resuming. | |
5568 | (init_wait_for_inferior): Adjust clear_proceed_status call. | |
5569 | (switch_back_to_stepped_thread): Clear the signal if it should not | |
5570 | be passed. | |
5571 | * infrun.h (clear_proceed_status): New 'step' parameter. | |
5572 | (user_visible_resume_ptid): Add comment. | |
5573 | * linux-nat.c (linux_nat_resume_callback): Don't check whether the | |
5574 | signal is in pass state. | |
5575 | * remote.c (append_pending_thread_resumptions): Likewise. | |
5576 | * mi/mi-main.c (proceed_thread): Adjust clear_proceed_status call. | |
5577 | ||
d8be2939 TT |
5578 | 2014-07-25 Tom Tromey <tromey@redhat.com> |
5579 | ||
5580 | * target.h (target_stopped_data_address) | |
5581 | (target_watchpoint_addr_within_range): Use "->", not ".". Fix | |
5582 | parentheses. | |
5583 | ||
7d0d9d2b PL |
5584 | 2014-07-25 Pierre Langlois <pierre.langlois@embecosm.com> |
5585 | ||
5586 | * avr-tdep.c (avr_address_to_pointer): Clarify the conversion in the | |
5587 | comments. | |
5588 | (avr_pointer_to_address): Likewise. | |
5589 | ||
e9e7f724 TT |
5590 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5591 | ||
5592 | * monitor.c (compile_pattern): Update. | |
5593 | * target.h (struct target_ops) <to_shortname, to_longname, | |
5594 | to_doc>: Now const. | |
5595 | ||
1947513d TT |
5596 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5597 | ||
5598 | * cli/cli-decode.c (add_cmd, add_prefix_cmd) | |
5599 | (add_abbrev_prefix_cmd, add_set_or_show_cmd, add_info) | |
5600 | (add_info_alias, add_com): Make "doc" const. | |
5601 | (print_doc_line): Make "str" const. | |
5602 | (delete_cmd): Update. | |
5603 | * cli/cli-decode.h (struct cmd_list_element) <doc>: Now const. | |
5604 | (print_doc_line): Update. | |
5605 | * cli/cli-script.c (document_command): Update. | |
5606 | * command.h (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd) | |
5607 | (add_com, add_info, add_info_alias): Update. | |
5608 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5609 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5610 | ||
64e61d29 TT |
5611 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5612 | ||
5613 | * cli/cli-decode.c (print_help_for_command): Make "prefix" const. | |
5614 | (add_prefix_cmd, add_abbrev_prefix_cmd, apropos_cmd, help_list) | |
5615 | (help_cmd_list): Constify. | |
5616 | (lookup_cmd): Update. | |
5617 | * cli/cli-decode.h (struct cmd_list_element) <prefixname>: Now | |
5618 | const. | |
5619 | (help_cmd_list, apropos_cmd): Update. | |
5620 | * cli/cli-script.c (show_user): Update. | |
5621 | * cli/cli-setshow.c (cmd_show_list): Make "prefix" const. | |
5622 | * cli/cli-setshow.h (cmd_show_list): Update. | |
5623 | * command.h (add_prefix_cmd, add_abbrev_prefix_cmd, help_list) | |
5624 | (cmd_show_list): Update. | |
5625 | * guile/scm-cmd.c (cmdscm_destroyer): Update. | |
5626 | * python/py-cmd.c (cmdpy_destroyer): Update. | |
5627 | ||
429e55ea TT |
5628 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5629 | ||
5630 | * cli/cli-decode.c (deprecate_cmd): Make "replacement" const. | |
5631 | * cli/cli-decode.h (struct cmd_list_element) <replacement>: Now | |
5632 | const. | |
5633 | * command.h (deprecate_cmd): Update. | |
5634 | * maint.c (maintenance_do_deprecate): Add casts. | |
5635 | ||
64669f3b TT |
5636 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5637 | ||
5638 | * cli/cli-decode.c (help_cmd): Make parameter "const". | |
5639 | * cli/cli-decode.h (help_cmd): Update. | |
5640 | ||
d3d3328b TT |
5641 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5642 | ||
5643 | * stack.c (up_silently_base, down_silently_base): Make argument | |
5644 | const. | |
5645 | ||
414842dc TT |
5646 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5647 | ||
5648 | * solib.c (solib_add): Make "pattern" const. | |
5649 | * solib.h (solib_add): Update. | |
5650 | ||
baa336ce TT |
5651 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5652 | ||
5653 | * remote.c (remote_serial_open, print_packet, putpkt) | |
5654 | (putpkt_binary): Constify. | |
5655 | * remote.h (putpkt): Update. | |
5656 | ||
5a19e2d0 TT |
5657 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5658 | ||
5659 | * monitor.c (monitor_open): Make "args" const. | |
5660 | * monitor.h (monitor_open): Update. | |
5661 | ||
fc4baa5e TT |
5662 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5663 | ||
5664 | * maint.c (match_bfd_flags): Make "string" const. | |
5665 | (print_bfd_section_info): Remove casts. | |
5666 | (print_objfile_section_info): Make "string" const. | |
5667 | ||
0d5f0dbe TT |
5668 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5669 | ||
5670 | * inf-child.c (inf_child_open_target): Make "arg" const. | |
5671 | * inf-child.h (inf_child_open_target): Update. | |
5672 | ||
41c77899 TT |
5673 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5674 | ||
5675 | * environ.c (unset_in_environ): Make "var" const. | |
5676 | * environ.h (unset_in_environ): Update. | |
5677 | ||
93db0d79 TT |
5678 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5679 | ||
5680 | * cli/cli-dump.c (scan_expression_with_cleanup): Return const. | |
5681 | Make "cmd" const. | |
5682 | (scan_filename_with_cleanup): Likewise. | |
5683 | (dump_memory_to_file, dump_value_to_file, restore_binary_file): | |
5684 | Make arguments const. | |
5685 | (restore_command): Update. | |
5686 | ||
36d6eb95 PA |
5687 | 2014-07-24 Pedro Alves <palves@redhat.com> |
5688 | ||
5689 | * tui/tui-io.c (tui_prep_terminal): Handle NULL rl_prompt. | |
5690 | ||
8009206a TT |
5691 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5692 | Gary Benson <gbenson@redhat.com> | |
5693 | ||
5694 | * nat/linux-ptrace.c (additional_flags): New global. | |
5695 | (linux_test_for_tracesysgood, linux_test_for_tracefork): Use | |
5696 | additional_flags; don't check GDBSERVER. | |
5697 | (linux_ptrace_set_additional_flags): New function. | |
5698 | * nat/linux-ptrace.h (linux_ptrace_set_additional_flags): | |
5699 | Declare. | |
5700 | * linux-nat.c (_initialize_linux_nat): Call | |
5701 | linux_ptrace_set_additional_flags. | |
5702 | ||
a7068b60 TT |
5703 | 2014-07-24 Tom Tromey <tromey@redhat.com> |
5704 | ||
5705 | * make-target-delegates (munge_type, write_debugmethod): New | |
5706 | functions. | |
5707 | (debug_names): New global. | |
5708 | ($TARGET_DEBUG_PRINTER): New global. | |
5709 | (write_function_header): Strip TARGET_DEBUG_PRINTER from the type | |
5710 | name. | |
5711 | Write debug methods. Generate init_debug_target. | |
5712 | * target-debug.h: New file. | |
5713 | * target-delegates.c: Rebuild. | |
5714 | * target.c: Include target-debug.h. | |
5715 | (debug_target): Hoist definition. | |
5716 | (target_kill, target_get_section_table, target_memory_map) | |
5717 | (target_flash_erase, target_flash_done, target_detach) | |
5718 | (target_disconnect, target_wait, target_resume) | |
5719 | (target_pass_signals, target_program_signals, target_follow_fork) | |
5720 | (target_mourn_inferior, target_search_memory) | |
5721 | (target_thread_address_space, target_close) | |
5722 | (target_find_new_threads, target_core_of_thread) | |
5723 | (target_verify_memory, target_insert_mask_watchpoint) | |
5724 | (target_remove_mask_watchpoint): Remove targetdebug code. | |
5725 | (debug_to_post_attach, debug_to_prepare_to_store) | |
5726 | (debug_to_files_info, debug_to_insert_breakpoint) | |
5727 | (debug_to_remove_breakpoint, debug_to_can_use_hw_breakpoint) | |
5728 | (debug_to_region_ok_for_hw_watchpoint) | |
5729 | (debug_to_can_accel_watchpoint_condition) | |
5730 | (debug_to_stopped_by_watchpoint, debug_to_stopped_data_address) | |
5731 | (debug_to_watchpoint_addr_within_range) | |
5732 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint) | |
5733 | (debug_to_insert_watchpoint, debug_to_remove_watchpoint) | |
5734 | (debug_to_terminal_init, debug_to_terminal_inferior) | |
5735 | (debug_to_terminal_ours_for_output, debug_to_terminal_ours) | |
5736 | (debug_to_terminal_save_ours, debug_to_terminal_info) | |
5737 | (debug_to_load, debug_to_post_startup_inferior) | |
5738 | (debug_to_insert_fork_catchpoint) | |
5739 | (debug_to_remove_fork_catchpoint) | |
5740 | (debug_to_insert_vfork_catchpoint) | |
5741 | (debug_to_remove_vfork_catchpoint) | |
5742 | (debug_to_insert_exec_catchpoint) | |
5743 | (debug_to_remove_exec_catchpoint, debug_to_has_exited) | |
5744 | (debug_to_can_run, debug_to_thread_architecture, debug_to_stop) | |
5745 | (debug_to_rcmd, debug_to_pid_to_exec_file): Remove. | |
5746 | (setup_target_debug): Call init_debug_target. | |
5747 | * target.h (TARGET_DEBUG_PRINTER): New macro. | |
5748 | (struct target_ops) <to_resume, to_wait, to_pass_signals, | |
5749 | to_program_signals>: Use TARGET_DEBUG_PRINTER. | |
5750 | ||
2c51604d GB |
5751 | 2014-07-24 Gary Benson <gbenson@redhat.com> |
5752 | ||
5753 | * exceptions.h (throw_vfatal): Renamed to... | |
5754 | (throw_vquit): New declaration. | |
5755 | (throw_quit): Likewise. | |
5756 | * exceptions.c (throw_vfatal): Renamed to... | |
5757 | (throw_vquit): New function. | |
5758 | (throw_quit): Likewise. | |
5759 | (throw_error): Call throw_verror rather than throw_it. | |
5760 | * utils.h (vfatal): Removed. | |
5761 | (fatal): Likewise. | |
5762 | * utils.c (vfatal): Removed. | |
5763 | (fatal): Likewise. | |
5764 | (internal_verror): Replaced call to fatal with call to throw_quit. | |
5765 | (quit): Replaced calls to fatal with calls to throw_quit. | |
5766 | ||
34211963 ME |
5767 | 2014-07-23 Ajit Agarwal <ajitkum@xilinx.com> |
5768 | ||
5769 | * microblaze-tdep.c (microblaze_fetch_instruction): Use of | |
5770 | target_read_code. | |
5771 | ||
a52b4d3e ME |
5772 | 2014-07-23 Chen Gang <gang.chen.5i5j@gmail.com> |
5773 | ||
5774 | * microblaze-tdep.c (microblaze_dwarf2_reg_to_regnum): Check whether | |
5775 | less than zero in conditional expression. | |
5776 | ||
a8bdc56b TT |
5777 | 2014-07-23 Tom Tromey <tromey@redhat.com> |
5778 | ||
5779 | * make-target-delegates ($ARGS_PART): Match trailing close paren. | |
5780 | ($INTRO_PART): Don't match whitespace. | |
5781 | ($METHOD_TRAILER): Move earlier. Remove trailing semicolon and | |
5782 | argument matching. | |
5783 | ($METHOD): Add $METHOD_TRAILER. | |
5784 | (trim): Rewrite. | |
5785 | (scan_target_h): New sub. | |
5786 | Change main loop not to collect state. | |
5787 | * target-delegates.c: Rebuild. | |
5788 | ||
91b52240 GB |
5789 | 2014-07-23 Gary Benson <gbenson@redhat.com> |
5790 | ||
5791 | * cp-support.c (gdb_demangle): Fix build on systems without | |
5792 | sigaltstack. | |
5793 | ||
45326f6f JK |
5794 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5795 | ||
5796 | * dwarf2loc.c (value_of_dwarf_reg_entry): Remove setting value address | |
5797 | for reference entry value target data value. | |
5798 | ||
e214cf6c JK |
5799 | 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
5800 | ||
5801 | * stack.c (read_frame_arg): Verify value_optimized_out before calling | |
5802 | value_available_contents_eq. | |
5803 | ||
bddbbedd PA |
5804 | 2014-07-22 Pedro Alves <palves@redhat.com> |
5805 | ||
5806 | * value.c (allocate_optimized_out_value): Don't mark value as | |
5807 | non-lazy. | |
5808 | ||
45c71484 JW |
5809 | 2014-07-22 Jiong Wang <jiong.wang@arm.com> |
5810 | ||
5811 | * MAINTAINERS (Write After Approval): Update my email address. | |
5812 | ||
9597b22a DE |
5813 | 2014-07-20 Doug Evans <dje@google.com> |
5814 | ||
5815 | PR server/17147 | |
5816 | * remote.c (putpkt_binary): Add text to error message. | |
5817 | ||
91101fe5 YQ |
5818 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5819 | ||
5820 | * eval.c: Remove "Chill" from comments. | |
5821 | * gdbtypes.h: Likewise. | |
5822 | * symtab.h: Likewise. | |
5823 | ||
c9402c95 YQ |
5824 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5825 | ||
5826 | * std-operator.def: Update comments to TERNOP_SLICE. | |
5827 | ||
ae8fddda YQ |
5828 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5829 | ||
5830 | * std-operator.def: Remove BINOP_RANGE. | |
5831 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5832 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5833 | * eval.c (init_array_element): Remove dead code. | |
5834 | (evaluate_subexp_standard): Likewise. | |
5835 | ||
9c816640 YQ |
5836 | 2014-07-20 Yao Qi <yao@codesourcery.com> |
5837 | ||
5838 | * std-operator.def: Remove BINOP_IN. | |
5839 | * breakpoint.c (watchpoint_exp_is_const): Update. | |
5840 | * eval.c (evaluate_subexp_standard): Likewise. | |
5841 | * expprint.c (dump_subexp_body_standard): Likewise. | |
5842 | ||
164224e9 ME |
5843 | 2014-07-19 Ajit Agarwal <ajitkum@xilinx.com> |
5844 | ||
5845 | * microblaze-tdep.c (microblaze_register_names): Add | |
5846 | the rshr and rslr register names. | |
5847 | (microblaze_gdbarch_init): Use of tdesc_has_registers. | |
5848 | Use of tdesc_find_feature. Use of tdesc_data_alloc. | |
5849 | Use of tdesc_numbered_register. Use of | |
5850 | microblaze_register_g_packet_guesses. Use of | |
5851 | tdesc_use_registers. Use of set_gdbarch_register_type. | |
5852 | (microblaze_register_g_packet_guesses): New. | |
5853 | * microblaze-tdep.h (microblaze_reg_num): Add | |
5854 | field MICROBLAZE_SLR_REGNUM MICROBLAZE_SHR_REGNUM | |
5855 | MICROBLAZE_NUM_REGS and MICROBLAZE_NUM_CORE_REGS. | |
5856 | (microblaze_frame_cache): Use of MICROBLAZE_NUM_REGS. | |
5857 | * features/microblaze-core.xml: New file. | |
5858 | * features/microblaze-stack-protect.xml: New file. | |
5859 | * features/microblaze-with-stack-protect.c: New file. | |
5860 | * features/microblaze-with-stack-protect.xml: New file. | |
5861 | * features/microblaze.xml: New file. | |
5862 | * features/microblaze.c: New file. | |
5863 | * features/Makefile (microblaze-with-stack-protect): Add | |
5864 | microblaze-with-stack-protect microblaze and microblaze-expedite. | |
5865 | * regformats/microblaze-with-stack-protect.dat: New file. | |
5866 | * regformats/microblaze.dat: New file. | |
5867 | * doc/gdb.texinfo (MicroBlaze Features): Added. | |
5868 | ||
e8b2341c TT |
5869 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5870 | ||
5871 | * exec.c (exec_ops): Now static. | |
5872 | * exec.h (exec_ops): Don't declare. | |
5873 | ||
44e89118 TT |
5874 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5875 | ||
5876 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Pass "self" | |
5877 | to find_target_beneath. | |
5878 | * ravenscar-thread.c (ravenscar_prepare_to_store): Pass "ops" to | |
5879 | find_target_beneath. | |
5880 | (ravenscar_mourn_inferior): Pass "self" to find_target_beneath. | |
5881 | ||
b0ed115f TT |
5882 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5883 | ||
5884 | PR gdb/17130: | |
5885 | * utils.c (quit): Use target_supports_terminal_ours. | |
5886 | * target.h (target_supports_terminal_ours): Declare. | |
5887 | * target.c (target_supports_delete_record): Don't check | |
5888 | to_delete_record against NULL. | |
5889 | (target_supports_terminal_ours): New function. | |
5890 | ||
e75fdfca TT |
5891 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5892 | ||
5893 | PR gdb/17130: | |
5894 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint) | |
5895 | (spu_fetch_registers, spu_store_registers, spu_xfer_partial) | |
5896 | (spu_search_memory, spu_mourn_inferior): Simplify delegation. | |
5897 | * linux-thread-db.c (thread_db_pid_to_str): Always delegate. | |
5898 | * windows-nat.c (windows_xfer_partial): Always delegate. | |
5899 | * record-btrace.c (record_btrace_xfer_partial): Simplify | |
5900 | delegation. | |
5901 | (record_btrace_fetch_registers, record_btrace_store_registers) | |
5902 | (record_btrace_prepare_to_store, record_btrace_resume) | |
5903 | (record_btrace_wait, record_btrace_find_new_threads) | |
5904 | (record_btrace_thread_alive): Likewise. | |
5905 | * procfs.c (procfs_xfer_partial): Always delegate. | |
5906 | * corelow.c (core_xfer_partial): Always delegate. | |
5907 | * sol-thread.c (sol_find_new_threads): Simplify delegation. | |
5908 | ||
83814951 TT |
5909 | 2014-07-18 Tom Tromey <tromey@redhat.com> |
5910 | ||
5911 | * exec.c (exec_make_note_section): Move earlier. | |
5912 | ||
b8b8facf DE |
5913 | 2014-07-17 Doug Evans <dje@google.com> |
5914 | ||
74b49205 | 5915 | PR gdb/17170 |
b8b8facf DE |
5916 | * maint.c (count_symtabs_and_blocks): Handle NULL |
5917 | current_program_space. | |
5918 | (report_command_stats): Check global enabled flag in addition to | |
5919 | recorded enabled flag. | |
5920 | (make_command_stats_cleanup): Handle msg_type == 0, startup. | |
5921 | ||
69ff6be5 PA |
5922 | 2014-07-16 Pedro Alves <palves@redhat.com> |
5923 | ||
5924 | * linux-nat.c (kill_callback): Use kill_lwp, not kill. | |
5925 | ||
252db1b5 TT |
5926 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5927 | ||
5928 | * target.h (struct target_ops) <to_delete_record>: Reformat | |
5929 | comment. | |
5930 | ||
a432721e TT |
5931 | 2014-07-16 Tom Tromey <tromey@redhat.com> |
5932 | ||
5933 | * target-delegates.c: Rebuild. | |
5934 | ||
487d9753 PL |
5935 | 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com> |
5936 | ||
5937 | * avr-tdep.c (AVR_TYPE_ADDRESS_CLASS_FLASH): New macro. | |
5938 | (AVR_TYPE_INSTANCE_FLAG_ADDRESS_CLASS_FLASH): Likewise. | |
5939 | (avr_address_to_pointer): Check for AVR_TYPE_ADDRESS_CLASS_FLASH. | |
5940 | (avr_pointer_to_address): Likewise. | |
5941 | (avr_address_class_type_flags): New function. | |
5942 | (avr_address_class_type_flags_to_name): Likewise. | |
5943 | (avr_address_class_name_to_type_flags): Likewise. | |
5944 | (avr_gdbarch_init): Set address_class_type_flags, | |
5945 | address_class_type_flags_to_name and | |
5946 | address_class_name_to_type_flags. | |
5947 | ||
57745c90 PA |
5948 | 2014-07-15 Pedro Alves <palves@redhat.com> |
5949 | ||
5950 | * linux-nat.c (kill_callback): Save errno and work with saved | |
5951 | copy. | |
5952 | ||
2d40be18 SM |
5953 | 2014-07-15 Simon Marchi <simon.marchi@ericsson.com> |
5954 | ||
5955 | * expprint.c (dump_subexp_body_standard): Handle OP_STRING. | |
5956 | ||
572f6555 EBM |
5957 | 2014-07-14 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
5958 | ||
5959 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Report no hardware | |
5960 | breakpoint support correctly. | |
5961 | ||
cc1c52ad PA |
5962 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5963 | ||
5964 | * utils.c (prompt_for_continue): Call target_terminal_ours. | |
5965 | ||
1e973570 PA |
5966 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5967 | ||
5968 | * inf-loop.c (inferior_event_handler): Use TRY_CATCH instead of | |
5969 | catch_errors. Don't re-enable stdin or notify observers where, | |
5970 | and rethrow error. | |
5971 | (fetch_inferior_event_wrapper): Delete. | |
5972 | ||
93d6eb10 PA |
5973 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5974 | ||
5975 | PR gdb/17072 | |
5976 | * top.c: Include "inf-loop.h". | |
5977 | (struct gdb_readline_wrapper_cleanup) <target_is_async_orig>: New | |
5978 | field. | |
5979 | (gdb_readline_wrapper_cleanup): Make the target async again, if it | |
5980 | was async before. | |
5981 | (gdb_readline_wrapper): Store whether the target is async, and | |
5982 | make it sync. | |
5983 | ||
0017922d PA |
5984 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5985 | ||
5986 | PR gdb/17072 | |
5987 | * top.c (gdb_readline_wrapper_line): Tweak comment. | |
5988 | (gdb_readline_wrapper_cleanup): If readline is enabled, reinstall | |
5989 | the input handler callback. | |
5990 | ||
94696ad3 PA |
5991 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5992 | ||
5993 | PR gdb/17072 | |
5994 | * main.c: Include event-top.h. | |
5995 | (handle_command_errors): New function. | |
5996 | (catch_command_errors, catch_command_errors_const): Use it. | |
5997 | ||
9d1e69a2 PA |
5998 | 2014-07-14 Pedro Alves <palves@redhat.com> |
5999 | ||
6000 | * exceptions.c (catch_command_errors, catch_command_errors_const): | |
6001 | Moved to main.c. | |
6002 | * exceptions.h (catch_command_errors_ftype) | |
6003 | (catch_command_errors_const_ftype): Moved to main.c. | |
6004 | (catch_command_errors, catch_command_errors_const): Delete | |
6005 | declarations. | |
6006 | * main.c (catch_command_errors_ftype) | |
6007 | (catch_command_errors_const_ftype): Moved here from exceptions.h. | |
6008 | (catch_command_errors, catch_command_errors_const)): Moved here | |
6009 | from exceptions.c and make static. | |
6010 | ||
feefc97b PA |
6011 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6012 | ||
6013 | * exceptions.c (print_any_exception): Delete. | |
6014 | (catch_exceptions_with_msg): Use exception_print instead of | |
6015 | print_any_exception. | |
6016 | (catch_errors): Use exception_fprintf instead of | |
6017 | print_any_exception. | |
6018 | (catch_command_errors, catch_command_errors_const): Use | |
6019 | exception_print instead of print_any_exception. | |
6020 | ||
c933f875 PA |
6021 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6022 | ||
6023 | * infcall.c (run_inferior_call): Set 'sync_execution' while | |
6024 | running the inferior call. | |
6025 | ||
feb6f816 PA |
6026 | 2014-07-14 Pedro Alves <palves@redhat.com> |
6027 | ||
6028 | * value.c (value_contents_equal): Delete function. | |
6029 | * value.h (value_contents_equal): Delete declaration. | |
6030 | ||
d98b7a16 TT |
6031 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
6032 | ||
6033 | PR exp/17106: | |
6034 | * gdbtypes.c (is_dynamic_type_internal): New function, from | |
6035 | is_dynamic_type. | |
6036 | (is_dynamic_type): Rewrite. | |
6037 | (resolve_dynamic_union): Use resolve_dynamic_type_internal. | |
6038 | (resolve_dynamic_struct): Likewise. | |
6039 | (resolve_dynamic_type_internal): New function, from | |
6040 | resolve_dynamic_type. | |
6041 | (resolve_dynamic_type): Rewrite. | |
6042 | ||
548740d6 TT |
6043 | 2014-07-14 Tom Tromey <tromey@redhat.com> |
6044 | ||
6045 | * target.c (target_require_runnable): Also check record_stratum. | |
6046 | Update comment. | |
6047 | ||
808f7ab1 YQ |
6048 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
6049 | ||
6050 | * arm-tdep.c (thumb_analyze_prologue): Break the loop if | |
6051 | thumb_instruction_restores_sp return true. | |
6052 | ||
540314bd YQ |
6053 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
6054 | ||
6055 | * arm-tdep.c (thumb_instruction_restores_sp): New function. | |
6056 | (thumb_in_function_epilogue_p): Call | |
6057 | thumb_instruction_restores_sp. | |
6058 | ||
1db01f22 YQ |
6059 | 2014-07-11 Yao Qi <yao@codesourcery.com> |
6060 | ||
6061 | * arm-tdep.c (thumb_analyze_prologue): Don't match instruction | |
6062 | 'add sp, #imm'. | |
6063 | (thumb_in_function_epilogue_p): Don't match 'sub sp, #imm'. | |
6064 | ||
3116063b GB |
6065 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6066 | ||
6067 | * amd64-linux-nat.c (gdbcore.h): Remove include. | |
6068 | (regset.h): Likewise. | |
6069 | (nat/linux-btrace.h): Likewise. | |
6070 | (btrace.h): Likewise. | |
6071 | (gdb_assert.h): Likewise. | |
6072 | (string.h): Likewise. | |
6073 | (sys/uio.h): Likewise. | |
6074 | (sys/debugreg.h): Likewise. | |
6075 | (sys/syscall.h): Likewise. | |
6076 | (sys/procfs.h): Likewise. | |
6077 | (sys/user.h): Likewise. | |
6078 | (asm/ptrace.h): Likewise. | |
6079 | (i386-nat.h): Likewise. | |
6080 | * i386-linux-nat.c (i386-nat.h): Likewise. | |
6081 | (regset.h): Likewise. | |
6082 | (target.h): Likewise. | |
6083 | (linux-nat.h): Likewise. | |
6084 | (nat/linux-btrace.h): Likewise. | |
6085 | (btrace.h): Likewise. | |
6086 | (gdb_assert.h): Likewise. | |
6087 | (string.h): Likewise. | |
6088 | (sys/uio.h): Likewise. | |
6089 | (sys/user.h): Likewise. | |
6090 | (sys/procfs.h): Likewise. | |
6091 | (sys/reg.h): Likewise. | |
6092 | (sys/debugreg.h): Likewise. | |
6093 | (ORIG_EAX): Remove definition. | |
6094 | ||
040baaf6 GB |
6095 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6096 | ||
6097 | * i386-linux-nat.h: New file. | |
6098 | * x86-linux-nat.h: Likewise. | |
6099 | * x86-linux-nat.c: Likewise. | |
6100 | * Makefile.in (HFILES_NO_SRCDIR): Add the above new headers. | |
6101 | * config/i386/linux.mh (NATDEPFILES): Add x86-linux-nat.o. | |
6102 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
6103 | * amd64-linux-nat.c (x86-linux-nat.h): New include. | |
6104 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
6105 | (PTRACE_SETREGSET): Likewise. | |
6106 | (arch_lwp_info): Now in x86-linux-nat.c. | |
6107 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
6108 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
6109 | (x86_linux_dr_set): Likewise. | |
6110 | (x86_linux_dr_get_addr): Likewise. | |
6111 | (x86_linux_dr_get_control): Likewise. | |
6112 | (x86_linux_dr_get_status): Likewise. | |
6113 | (update_debug_registers_callback): Likewise. | |
6114 | (x86_linux_dr_set_control): Likewise. | |
6115 | (x86_linux_dr_set_addr): Likewise. | |
6116 | (x86_linux_prepare_to_resume): Likewise. | |
6117 | (x86_linux_new_thread): Likewise. | |
6118 | (x86_linux_new_fork): Likewise. | |
6119 | (x86_linux_get_thread_area): Likewise. | |
6120 | (super_post_startup_inferior): Likewise. | |
6121 | (x86_linux_child_post_startup_inferior): Likewise. | |
6122 | (AMD64_LINUX_USER64_CS): Likewise. | |
6123 | (AMD64_LINUX_X32_DS): Likewise. | |
6124 | (x86_linux_read_description): Likewise. | |
6125 | (x86_linux_enable_btrace): Likewise. | |
6126 | (x86_linux_disable_btrace): Likewise. | |
6127 | (x86_linux_teardown_btrace): Likewise. | |
6128 | (x86_linux_read_btrace): Likewise. | |
6129 | (x86_linux_create_target): Likewise. | |
6130 | (x86_linux_add_target): Likewise. | |
6131 | * i386-linux-nat.c (x86-linux-nat.h): New include. | |
6132 | (PTRACE_GETREGSET): Now in x86-linux-nat.h. | |
6133 | (PTRACE_SETREGSET): Likewise. | |
6134 | (arch_lwp_info): Now in x86-linux-nat.c. | |
6135 | (have_ptrace_getregset): Now in x86-linux-nat.h. | |
6136 | (x86_linux_dr_get): Now in x86-linux-nat.c. | |
6137 | (x86_linux_dr_set): Likewise. | |
6138 | (x86_linux_dr_get_addr): Likewise. | |
6139 | (x86_linux_dr_get_control): Likewise. | |
6140 | (x86_linux_dr_get_status): Likewise. | |
6141 | (update_debug_registers_callback): Likewise. | |
6142 | (x86_linux_dr_set_control): Likewise. | |
6143 | (x86_linux_dr_set_addr): Likewise. | |
6144 | (x86_linux_prepare_to_resume): Likewise. | |
6145 | (x86_linux_new_thread): Likewise. | |
6146 | (x86_linux_new_fork): Likewise. | |
6147 | (x86_linux_get_thread_area): Likewise. | |
6148 | (super_post_startup_inferior): Likewise. | |
6149 | (x86_linux_child_post_startup_inferior): Likewise. | |
6150 | (AMD64_LINUX_USER64_CS): Likewise. | |
6151 | (AMD64_LINUX_X32_DS): Likewise. | |
6152 | (x86_linux_read_description): Likewise. | |
6153 | (x86_linux_enable_btrace): Likewise. | |
6154 | (x86_linux_disable_btrace): Likewise. | |
6155 | (x86_linux_teardown_btrace): Likewise. | |
6156 | (x86_linux_read_btrace): Likewise. | |
6157 | (x86_linux_create_target): Likewise. | |
6158 | (x86_linux_add_target): Likewise. | |
6159 | ||
1aa7e42c GB |
6160 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6161 | ||
6162 | * amd64-linux-nat.c: Comment and whitespace changes. | |
6163 | * i386-linux-nat.c: Comment and whitespace changes. | |
6164 | ||
c1e246a0 GB |
6165 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6166 | ||
6167 | * amd64-linux-nat.c (x86_linux_create_target): New function. | |
6168 | (x86_linux_add_target): Likewise. | |
6169 | (_initialize_amd64_linux_nat): Delegate to the above new functions. | |
6170 | * i386-linux-nat.c (x86_linux_create_target): New function. | |
6171 | (x86_linux_add_target): Likewise. | |
6172 | (_initialize_i386_linux_nat): Delegate to the above new functions. | |
6173 | ||
8c420b8d GB |
6174 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6175 | ||
6176 | * amd64-linux-nat.c (x86_linux_get_thread_area): New function. | |
6177 | (ps_get_thread_area): Delegate to the above in 32-bit mode. | |
6178 | * i386-linux-nat.c (x86_linux_get_thread_area): New function. | |
6179 | (ps_get_thread_area): Delegate to the above. | |
6180 | ||
cb1da100 GB |
6181 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6182 | ||
6183 | * amd64-linux-nat.c (amd64_linux_read_description): Renamed to | |
6184 | x86_linux_read_description. All uses updated. amd64-specific | |
6185 | code conditionalized. Conditionalized i386-specific code added. | |
6186 | Redundant cast removed. | |
6187 | * i386-linux-nat.c (i386_linux_read_description): Renamed to | |
6188 | x86_linux_read_description. All uses updated. i386-specific | |
6189 | code conditionalized. Conditionalized amd64-specific code added. | |
6190 | One sizeof replaced with the actual type it is describing. | |
6191 | ||
2acf3cd0 GB |
6192 | 2014-07-11 Gary Benson <gbenson@redhat.com> |
6193 | ||
6194 | * amd64-linux-nat.c (amd64_linux_dr_get): Renamed to | |
6195 | x86_linux_dr_get. All uses updated. | |
6196 | (amd64_linux_dr_set): Renamed to | |
6197 | x86_linux_dr_set. All uses updated. | |
6198 | (amd64_linux_dr_get_addr): Renamed to | |
6199 | x86_linux_dr_get_addr. All uses updated. | |
6200 | (amd64_linux_dr_get_control): Renamed to | |
6201 | x86_linux_dr_get_control. All uses updated. | |
6202 | (amd64_linux_dr_get_status): Renamed to | |
6203 | x86_linux_dr_get_status. All uses updated. | |
6204 | (amd64_linux_dr_set_control): Renamed to | |
6205 | x86_linux_dr_set_control. All uses updated. | |
6206 | (amd64_linux_dr_set_addr): Renamed to | |
6207 | x86_linux_dr_set_addr. All uses updated. | |
6208 | (amd64_linux_prepare_to_resume): Renamed to | |
6209 | x86_linux_prepare_to_resume. All uses updated. | |
6210 | (amd64_linux_new_thread): Renamed to | |
6211 | x86_linux_new_thread. All uses updated. | |
6212 | (amd64_linux_new_fork): Renamed to | |
6213 | x86_linux_new_fork. All uses updated. | |
6214 | (amd64_linux_child_post_startup_inferior): Renamed to | |
6215 | x86_linux_child_post_startup_inferior. All uses updated. | |
6216 | (amd64_linux_enable_btrace): Renamed to | |
6217 | x86_linux_enable_btrace. All uses updated. | |
6218 | (amd64_linux_disable_btrace): Renamed to | |
6219 | x86_linux_disable_btrace. All uses updated. | |
6220 | (amd64_linux_teardown_btrace): Renamed to | |
6221 | x86_linux_teardown_btrace. All uses updated. | |
6222 | (amd64_linux_read_btrace): Renamed to | |
6223 | x86_linux_read_btrace. All uses updated. | |
6224 | * i386-linux-nat.c (i386_linux_dr_get): Renamed to | |
6225 | x86_linux_dr_get. All uses updated. | |
6226 | (i386_linux_dr_set): Renamed to | |
6227 | x86_linux_dr_set. All uses updated. | |
6228 | (i386_linux_dr_get_addr): Renamed to | |
6229 | x86_linux_dr_get_addr. All uses updated. | |
6230 | (i386_linux_dr_get_control): Renamed to | |
6231 | x86_linux_dr_get_control. All uses updated. | |
6232 | (i386_linux_dr_get_status): Renamed to | |
6233 | x86_linux_dr_get_status. All uses updated. | |
6234 | (i386_linux_dr_set_control): Renamed to | |
6235 | x86_linux_dr_set_control. All uses updated. | |
6236 | (i386_linux_dr_set_addr): Renamed to | |
6237 | x86_linux_dr_set_addr. All uses updated. | |
6238 | (i386_linux_prepare_to_resume): Renamed to | |
6239 | x86_linux_prepare_to_resume. All uses updated. | |
6240 | (i386_linux_new_thread): Renamed to | |
6241 | x86_linux_new_thread. All uses updated. | |
6242 | (i386_linux_new_fork): Renamed to | |
6243 | x86_linux_new_fork. All uses updated. | |
6244 | (i386_linux_child_post_startup_inferior): Renamed to | |
6245 | x86_linux_child_post_startup_inferior. All uses updated. | |
6246 | (i386_linux_enable_btrace): Renamed to | |
6247 | x86_linux_enable_btrace. All uses updated. | |
6248 | (i386_linux_disable_btrace): Renamed to | |
6249 | x86_linux_disable_btrace. All uses updated. | |
6250 | (i386_linux_teardown_btrace): Renamed to | |
6251 | x86_linux_teardown_btrace. All uses updated. | |
6252 | (i386_linux_read_btrace): Renamed to | |
6253 | x86_linux_read_btrace. All uses updated. | |
6254 | ||
b9c1d481 AS |
6255 | 2014-07-11 Adrian Sendroiu <adrian.sendroiu@freescale.com> |
6256 | ||
6257 | * remote.c (extended_remote_post_attach): New function. | |
6258 | (init_extended_remote_ops): Install it as to_post_attach method. | |
6259 | ||
7180e04a PA |
6260 | 2014-07-09 Pedro Alves <palves@redhat.com> |
6261 | ||
6262 | * infcmd.c (attach_command_post_wait): Don't call | |
6263 | target_terminal_inferior here. | |
6264 | (attach_command): Call it here instead. | |
6265 | ||
9a9a7608 AB |
6266 | 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com> |
6267 | ||
6268 | * ada-varobj.c (ada_varobj_ops): Fill in is_path_expr_parent | |
6269 | field. | |
6270 | * c-varobj.c (c_is_path_expr_parent): New function, moved core | |
6271 | from varobj.c, with additional checks. | |
6272 | (c_varobj_ops): Fill in is_path_expr_parent field. | |
6273 | (cplus_varobj_ops): Fill in is_path_expr_parent field. | |
6274 | * jv-varobj.c (java_varobj_ops): Fill in is_path_expr_parent | |
6275 | field. | |
6276 | * varobj.c (is_path_expr_parent): Call is_path_expr_parent varobj | |
6277 | ops method. | |
6278 | (varobj_default_is_path_expr_parent): New function. | |
6279 | * varobj.h (lang_varobj_ops): Add is_path_expr_parent field. | |
6280 | (varobj_default_is_path_expr_parent): Declare new function. | |
6281 | ||
1f267ae3 MM |
6282 | 2014-07-08 Markus Metzger <markus.t.metzger@intel.com> |
6283 | ||
6284 | * infcmd.c (finish_backward): Turn internal error into normal error. | |
6285 | ||
b2ee242b PA |
6286 | 2014-07-07 Pedro Alves <palves@redhat.com> |
6287 | ||
8a869bca | 6288 | PR gdb/17096 |
b2ee242b PA |
6289 | * remote.c (async_handle_remote_sigint) |
6290 | (async_handle_remote_sigint_twice): Call | |
6291 | gdb_call_async_signal_handler instead of | |
6292 | mark_async_signal_handler. | |
6293 | ||
38e229b2 TT |
6294 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
6295 | ||
6296 | * target-delegates.c: Rebuild. | |
6297 | * target.c (target_info_record): Remove. | |
6298 | * record.c (info_record_command): Unconditionally call | |
6299 | to_info_record. | |
6300 | * target.h (struct target_ops) <to_info_record>: Use | |
6301 | TARGET_DEFAULT_IGNORE. | |
6302 | (target_info_record): Remove. | |
6303 | ||
f0f9ff95 TT |
6304 | 2014-07-07 Tom Tromey <tromey@redhat.com> |
6305 | ||
6306 | * target.h (struct target_ops) <to_get_thread_local_address>: Use | |
6307 | TARGET_DEFAULT_NORETURN. | |
6308 | * target.c (generic_tls_error): New function. | |
6309 | (target_translate_tls_address): Don't search target stack. | |
6310 | * target-delegates.c: Rebuild. | |
6311 | * ppc-linux-tdep.c (ppc_linux_spe_context): Don't search target | |
6312 | stack. | |
6313 | * linux-thread-db.c (thread_db_get_thread_local_address): | |
6314 | Unconditionally call beneath target. | |
6315 | ||
4a5be5ee MK |
6316 | 2014-07-03 Marc Khouzam <marc.khouzam@ericsson.com> |
6317 | ||
6318 | * cli/cli-logging.c (pop_output_files): Assign targerr to | |
6319 | gdb_stdtargerr. | |
6320 | ||
92c3b204 AB |
6321 | 2014-07-03 Andrew Burgess <andrew.burgess@embecosm.com> |
6322 | ||
6323 | * MAINTAINERS (Write After Approval): Update my email address. | |
6324 | ||
9b11e3a7 GB |
6325 | 2014-07-02 Gary Benson <gbenson@redhat.com> |
6326 | ||
6327 | * proc-service.c (ps_xfer_memory): Update comment. | |
6328 | (ps_pstop): Remove unused function. | |
6329 | (ps_pcontinue): Likewise. | |
6330 | (ps_lstop): Likewise. | |
6331 | (ps_lcontinue): Likewise. | |
6332 | (ps_lgetxregsize): Likewise. | |
6333 | (ps_lgetxregs): Likewise. | |
6334 | (ps_lsetxregs): Likewise. | |
6335 | (ps_plog): Likewise. | |
6336 | (ps_ptread): Likewise. | |
6337 | (ps_ptwrite): Likewise. | |
6338 | ||
cf363f18 MW |
6339 | 2014-07-01 Mark Wielaard <mjw@redhat.com> |
6340 | ||
6341 | * dwarf2read.c (add_array_cv_type): New function. | |
6342 | (read_tag_const_type): Call add_array_cv_type for TYPE_CODE_ARRAY. | |
6343 | (read_tag_volatile_type): Likewise. | |
6344 | ||
82ae6c8d TT |
6345 | 2014-07-01 Tom Tromey <tromey@redhat.com> |
6346 | ||
6347 | * breakpoint.c (add_catch_command): Use cmd_sfunc_ftype. | |
6348 | * breakpoint.h (add_catch_command): Use cmd_sfunc_ftype. | |
6349 | * cli/cli-decode.c (cmd_cfunc_eq, add_cmd, add_prefix_cmd) | |
6350 | (add_abbrev_prefix_cmd, add_info, add_com): Use cmd_cfunc_ftype. | |
6351 | * command.h (cmd_cfunc_ftype): Move earlier. | |
6352 | (add_cmd, add_prefix_cmd, add_abbrev_prefix_cmd, cmd_cfunc_eq) | |
6353 | (add_com, add_info): Use cmd_cfunc_ftype. | |
6354 | ||
96142726 TT |
6355 | 2014-06-30 Tom Tromey <tromey@redhat.com> |
6356 | ||
6357 | * symtab.c (operator_chars): Make parameters and return type | |
6358 | const. | |
6359 | (file_matches): Make "files" const. | |
6360 | (struct search_symbols_data) <files>: Now const. | |
6361 | (search_symbols): Make "regexp" and "files" parameters const. | |
6362 | Update. | |
6363 | (symtab_symbol_info): Remove cast. | |
6364 | (rbreak_command): Update. | |
6365 | * symtab.h (search_symbols): Update. | |
6366 | ||
b67a2c6f YQ |
6367 | 2014-06-27 Yao Qi <yao@codesourcery.com> |
6368 | ||
6369 | * breakpoint.c (check_longjmp_breakpoint_for_call_dummy): | |
6370 | Change parameter type to 'struct thread_info *'. Caller | |
6371 | updated. | |
6372 | * breakpoint.h (check_longjmp_breakpoint_for_call_dummy): | |
6373 | Update declaration. | |
6374 | * dummy-frame.c (struct dummy_frame_id): New. | |
6375 | (dummy_frame_id_eq): New function. | |
6376 | (struct dummy_frame) <id>: Change its type to 'struct | |
6377 | dummy_frame_id'. | |
6378 | (dummy_frame_push): Add parameter ptid and save it in | |
6379 | dummy_frame_id. | |
6380 | (pop_dummy_frame_bpt): Use ptid of dummy_frame instead of | |
6381 | inferior_ptid. | |
6382 | (pop_dummy_frame): Assert that the ptid of dummy_frame equals | |
6383 | to inferior_ptid. | |
6384 | (lookup_dummy_frame): Change parameter type to 'struct | |
6385 | dummy_frame_id *'. Callers updated. Call dummy_frame_id_eq | |
6386 | instead of frame_id_eq. | |
6387 | (dummy_frame_pop): Add parameter ptid. Callers updated. | |
6388 | Update comments. Compose dummy_frame_id and pass it to | |
6389 | lookup_dummy_frame. | |
6390 | (dummy_frame_discard): Add parameter ptid. | |
6391 | (dummy_frame_sniffer): Compose dummy_frame_id and call | |
6392 | dummy_frame_id_eq instead of frame_id_eq. | |
6393 | (fprint_dummy_frames): Print ptid. | |
6394 | * dummy-frame.h: Remove comments. | |
6395 | (dummy_frame_push): Add ptid in declaration. | |
6396 | (dummy_frame_pop, dummy_frame_discard): Likewise. | |
6397 | ||
5b10184c TT |
6398 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6399 | ||
6400 | * cli/cli-cmds.c (error_no_arg): Make "why" const. | |
6401 | * command.h (error_no_arg): Update. | |
6402 | ||
06900326 TT |
6403 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6404 | ||
6405 | * cli/cli-setshow.c (do_set_command): Make "arg" const. | |
6406 | (do_show_command): Make "arg" const. | |
6407 | * cli/cli-setshow.h (do_set_command, do_show_command): Update. | |
6408 | ||
c2bcbb1d TT |
6409 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6410 | ||
6411 | * record-full.c (record_full_get_bookmark): Make "args" const. | |
6412 | (record_full_goto_bookmark): Make "raw_bookmark" const. | |
6413 | * record.c (record_goto): New function. | |
6414 | (cmd_record_goto): Use it. Now static. | |
6415 | * record.h (record_goto): Declare. | |
6416 | (cmd_record_goto): Remove declaration. | |
6417 | * target-delegates.c: Rebuild. | |
6418 | * target.h (struct target_ops) <to_get_bookmark, | |
6419 | to_goto_bookmark>: Make parameter const. | |
6420 | ||
9cbe5fff TT |
6421 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6422 | ||
6423 | * defs.h (generic_load): Update. | |
6424 | * m32r-rom.c (m32r_load_gen): Make "filename" const. | |
6425 | * monitor.c (monitor_load): Make "args" const. | |
6426 | * remote-m32r-sdi.c (m32r_load): Make "args" const. | |
6427 | * remote-mips.c (mips_load_srec, pmon_load_fast): Make "args" | |
6428 | const. | |
6429 | (mips_load): Make "file" const. | |
6430 | * remote-sim.c (gdbsim_load): Make "args" const. | |
6431 | * remote.c (remote_load): Make "name" const. | |
6432 | * symfile.c (generic_load): Make "args" const. | |
6433 | * target-delegates.c: Rebuild. | |
6434 | * target.c (target_load): Make "arg" const. | |
6435 | (debug_to_load): Make "args" const. | |
6436 | * target.h (struct target_ops) <to_load>: Make parameter const. | |
6437 | (target_load): Update. | |
6438 | ||
34a68019 TT |
6439 | 2014-06-26 Tom Tromey <tromey@redhat.com> |
6440 | ||
6441 | PR symtab/16902: | |
6442 | * dwarf2read.c (fixup_go_packaging, dwarf2_compute_name) | |
6443 | (dwarf2_physname, read_partial_die) | |
6444 | (guess_partial_die_structure_name, fixup_partial_die) | |
6445 | (guess_full_die_structure_name, anonymous_struct_prefix) | |
6446 | (dwarf2_name): Use per-BFD obstack. | |
6447 | ||
efc889c1 YQ |
6448 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
6449 | ||
6450 | * dummy-frame.c (dummy_frame_sniffer): Move local variables | |
6451 | dummyframe and this_id into inner block below. | |
6452 | ||
4395285e YQ |
6453 | 2014-06-26 Yao Qi <yao@codesourcery.com> |
6454 | ||
6455 | * infrun.c (_initialize_infrun): Replace "signal_program[0]" | |
6456 | with "signal_pass[0]" in the initialization of signal_pass. | |
6457 | ||
aef92902 MM |
6458 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6459 | ||
6460 | * record-btrace.c (record_btrace_generating_corefile) | |
6461 | (record_btrace_prepare_to_generate_core) | |
6462 | (record_btrace_done_generating_core): New. | |
6463 | (record_btrace_xfer_partial, record_btrace_fetch_registers) | |
6464 | (record_btrace_store_registers, record_btrace_prepare_to_store): | |
6465 | Forward request when generating a core file. | |
6466 | (record_btrace_open): Set record_btrace_generating_corefile to zero. | |
6467 | (init_record_btrace_ops): Set to_prepare_to_generate_core and | |
6468 | to_done_generating_core. | |
6469 | ||
5fff78c4 MM |
6470 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6471 | ||
6472 | * target.h (target_ops) <to_prepare_to_generate_core> | |
6473 | <to_done_generating_core>: New. | |
6474 | (target_prepare_to_generate_core, target_done_generating_core): New. | |
6475 | * target.c (target_prepare_to_generate_core) | |
6476 | (target_done_generating_core): New. | |
6477 | * target-delegates.c: Regenerate. | |
6478 | * gcore.c: (write_gcore_file): Rename to ... | |
6479 | (write_gcore_file_1): ...this. | |
6480 | (write_gcore_file): Call target_prepare_to_generate_core | |
6481 | and target_done_generating_core. | |
6482 | ||
1d1f1ccb MM |
6483 | 2014-06-25 Markus Metzger <markus.t.metzger@intel.com> |
6484 | ||
6485 | * fbsd-nat.c (fbsd_make_corefile_notes): Remove make_cleanup call. | |
6486 | * gcore.c (write_gcore_file): Free memory returned from | |
6487 | make_corefile_notes. | |
6488 | * linux-tdep.c (linux_make_corefile_notes): Remove make_cleanup call. | |
6489 | * procfs.c (procfs_make_note_section): Remove make_cleanup call. | |
6490 | ||
3343ef86 YQ |
6491 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6492 | ||
6493 | * arm-linux-tdep.c (arm_linux_skip_trampoline_code): New. | |
6494 | (arm_linux_init_abi): Set skip_trampoline_code with | |
6495 | gdbarch_skip_trampoline_code instead of | |
6496 | find_solib_trampoline_target. | |
6497 | ||
18d18ac8 YQ |
6498 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6499 | ||
6500 | * arm-tdep.c (arm_stub_unwind_sniffer): Return 1 if | |
6501 | arm_skip_bx_reg returns non-zero. | |
6502 | ||
80d8d390 YQ |
6503 | 2014-06-24 Yao Qi <yao@codesourcery.com> |
6504 | ||
6505 | * arm-tdep.c (arm_skip_bx_reg): New function. | |
6506 | (arm_skip_stub): Call arm_skip_bx_reg. | |
6507 | ||
6a18a01c DB |
6508 | 2014-06-23 Don Breazeal <donb@codesourcery.com> |
6509 | ||
6510 | * MAINTAINERS: Add myself as write-after-approval maintainer. | |
6511 | ||
8e9db26e PA |
6512 | 2014-06-23 Pedro Alves <palves@redhat.com> |
6513 | ||
6514 | * amd64-linux-nat.c (amd64_linux_prepare_to_resume): Clear | |
6515 | DR_CONTROL before setting DR0..DR3. | |
6516 | * i386-linux-nat.c (i386_linux_prepare_to_resume): Likewise. | |
6517 | * nat/i386-dregs.c (i386_remove_aligned_watchpoint): Clear all | |
6518 | bits of DR_CONTROL related to the debug register slot being | |
6519 | disabled. If all slots are vacant, clear local slowdown as well, | |
6520 | and assert DR_CONTROL is 0. | |
6521 | ||
70afc5b7 SC |
6522 | 2014-06-23 Siva Chandra Reddy <sivachandra@google.com> |
6523 | ||
6524 | * python/lib/gdb/command/xmethods.py | |
6525 | (get_method_matchers_in_loci): Lookup xmethod matchers in the | |
6526 | current progspace only if the string "progspace" matches LOCUS_RE. | |
6527 | ||
840ed64d JK |
6528 | 2014-06-20 Jan Kratochvil <jan.kratochvil@redhat.com> |
6529 | ||
6530 | Fix --with-system-readline with readline-6.3 patch 5. | |
6531 | * tui/tui-io.c (tui_old_rl_getc_function, tui_old_rl_redisplay_function) | |
6532 | (tui_old_rl_prep_terminal, tui_old_rl_deprep_terminal): Use rl_*_t | |
6533 | types. | |
6534 | ||
26f2dc30 TT |
6535 | 2014-06-20 Tom Tromey <tromey@redhat.com> |
6536 | ||
6537 | * dwarf2read.c (dw2_get_real_path): Use correct type in | |
6538 | OBSTACK_CALLOC. | |
6539 | * gdb_obstack.h (OBSTACK_ZALLOC, OBSTACK_CALLOC): Cast result. | |
6540 | ||
125f8a3d GB |
6541 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
6542 | ||
6543 | * common/gdb_thread_db.h: Moved to nat. All includes updated. | |
6544 | * common/glibc_thread_db.h: Likewise. | |
6545 | * common/i386-cpuid.h: Likewise. | |
6546 | * common/i386-gcc-cpuid.h: Likewise. | |
6547 | * common/linux-btrace.h: Likewise. | |
6548 | * common/linux-osdata.h: Likewise. | |
6549 | * common/linux-procfs.h: Likewise. | |
6550 | * common/linux-ptrace.h: Likewise. | |
6551 | * common/mips-linux-watch.h: Likewise. | |
6552 | * common/linux-btrace.c: Moved to nat. | |
6553 | * common/linux-osdata.c: Likewise. | |
6554 | * common/linux-procfs.c: Likewise. | |
6555 | * common/linux-ptrace.c: Likewise. | |
6556 | * common/mips-linux-watch.c: Likewise. | |
6557 | * nat/gdb_thread_db.h: Moved from common. | |
6558 | * nat/glibc_thread_db.h: Likewise. | |
6559 | * nat/i386-cpuid.h: Likewise. | |
6560 | * nat/i386-gcc-cpuid.h: Likewise. | |
6561 | * nat/linux-btrace.c: Likewise. | |
6562 | * nat/linux-btrace.h: Likewise. | |
6563 | * nat/linux-osdata.c: Likewise. | |
6564 | * nat/linux-osdata.h: Likewise. | |
6565 | * nat/linux-procfs.c: Likewise. | |
6566 | * nat/linux-procfs.h: Likewise. | |
6567 | * nat/linux-ptrace.c: Likewise. | |
6568 | * nat/linux-ptrace.h: Likewise. | |
6569 | * nat/mips-linux-watch.c: Likewise. | |
6570 | * nat/mips-linux-watch.h: Likewise. | |
6571 | * Makefile.in (HFILES_NO_SRCDIR): Reflect new locations. | |
6572 | (object file files): Reordered. | |
6573 | * gdb/copyright.py (EXCLUDE_LIST): Reflect new location | |
6574 | of glibc_thread_db.h. | |
6575 | ||
42995dbd GB |
6576 | 2014-06-20 Gary Benson <gbenson@redhat.com> |
6577 | ||
6578 | * i386-nat.h (debug_hw_points): Moved to nat/i386-dregs.c. | |
6579 | (i386_dr_low_type): Moved to nat/i386-dregs.h. | |
6580 | (i386_dr_low): Likewise. | |
6581 | (i386_dr_low_can_set_addr): Moved to nat/i386-dregs.c. | |
6582 | (i386_dr_low_set_addr): Likewise. | |
6583 | (i386_dr_low_get_addr): Likewise. | |
6584 | (i386_dr_low_can_set_control): Likewise. | |
6585 | (i386_dr_low_set_control): Likewise. | |
6586 | (i386_dr_low_get_control): Likewise. | |
6587 | (i386_dr_low_get_status): Likewise. | |
6588 | (i386_get_debug_register_length): Likewise. | |
6589 | * nat/i386-dregs.h (i386_dr_low_type): Moved from i386-nat.h. | |
6590 | (i386_dr_low): Likewise. | |
6591 | * nat/i386-dregs.c (i386-low.h): Remove include. | |
6592 | (i386-nat.h): Likewise. | |
6593 | (nat/i386-dregs.h): New include. | |
6594 | (i386_dr_low_can_set_addr): Moved from i386-nat.h. | |
6595 | (i386_dr_low_set_addr): Likewise. | |
6596 | (i386_dr_low_get_addr): Likewise. | |
6597 | (i386_dr_low_can_set_control): Likewise. | |
6598 | (i386_dr_low_set_control): Likewise. | |
6599 | (i386_dr_low_get_control): Likewise. | |
6600 | (i386_dr_low_get_status): Likewise. | |
6601 | (i386_get_debug_register_length): Likewise. | |
6602 | (debug_hw_points): Likewise. | |
6603 | ||
3ed9baed IB |
6604 | 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org> |
6605 | ||
6606 | * Makefile.in (SFILES): Add d-exp.y. | |
6607 | (YYFILES): Add d-exp.c. | |
6608 | (YYOBJ): Add d-exp.o. | |
6609 | (local-maintainer-clean): Delete d-exp.c. | |
6610 | * d-exp.y: New file. | |
6611 | * d-lang.h (d_parse): New declaration. | |
6612 | (d_error): New declaration. | |
6613 | * d-lang.c (d_op_print_tab): Add entry for BINOP_CONCAT and BINOP_EXP. | |
6614 | Set BINOP_EQUAL and BINOP_NOTEQUAL to same precedence as other | |
6615 | PREC_ORDER operators. | |
6616 | (d_language_defn): Use d_parse, d_error instead of c_parse, c_error. | |
6617 | ||
78c164b0 YQ |
6618 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
6619 | ||
6620 | * gdbthread.h (any_running): Remove the declaration. | |
6621 | * thread.c (any_running): Remove. | |
6622 | ||
f6e29b6e YQ |
6623 | 2014-06-19 Yao Qi <yao@codesourcery.com> |
6624 | ||
6625 | * gdbthread.h (struct thread_info) <state>: Change its type to | |
6626 | 'enum thread_state'. Update comments. | |
6627 | ||
034f788c PA |
6628 | 2014-06-19 Pedro Alves <palves@redhat.com> |
6629 | ||
6630 | * gdbthread.h (ALL_THREADS): Delete. | |
6631 | (ALL_NON_EXITED_THREADS): New macro. | |
6632 | * btrace.c (btrace_free_objfile): Use ALL_NON_EXITED_THREADS | |
6633 | instead of ALL_THREADS. | |
6634 | * infrun.c (find_thread_needs_step_over) | |
6635 | (switch_back_to_stepped_thread): Use ALL_NON_EXITED_THREADS | |
6636 | instead of ALL_THREADS. | |
6637 | * record-btrace.c (record_btrace_open) | |
6638 | (record_btrace_stop_recording, record_btrace_close) | |
6639 | (record_btrace_is_replaying, record_btrace_resume) | |
6640 | (record_btrace_find_thread_to_move, record_btrace_wait): Likewise. | |
6641 | * remote.c (append_pending_thread_resumptions): Likewise. | |
6642 | * thread.c (thread_apply_all_command): Likewise. | |
6643 | ||
46e33252 GB |
6644 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6645 | ||
6646 | * i386-nat.c (i386_stopped_by_watchpoint): | |
6647 | Use i386_dr_stopped_by_watchpoint. | |
6648 | (i386_insert_hw_breakpoint): Use i386_dr_insert_watchpoint. | |
6649 | (i386_remove_hw_breakpoint): Use i386_dr_remove_watchpoint. | |
6650 | ||
3a8ee006 GB |
6651 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6652 | ||
6653 | * nat/i386-dregs.c: New file. | |
6654 | * Makefile.in (i386-dregs.o): New rule. | |
6655 | * config/i386/cygwin.mh (NATDEPFILES): Add i386-dregs.o. | |
6656 | * config/i386/cygwin64.mh (NATDEPFILES): Likewise. | |
6657 | * config/i386/darwin.mh (NATDEPFILES): Likewise. | |
6658 | * config/i386/fbsd.mh (NATDEPFILES): Likewise. | |
6659 | * config/i386/fbsd64.mh (NATDEPFILES): Likewise. | |
6660 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
6661 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
6662 | * config/i386/linux64.mh (NATDEPFILES): Likewise. | |
6663 | * config/i386/mingw.mh (NATDEPFILES): Likewise. | |
6664 | * config/i386/mingw64.mh (NATDEPFILES): Likewise. | |
6665 | * i386-nat.h (debug_hw_points): New declaration. | |
6666 | * i386-nat.c (breakpoint.h): Remove include. | |
6667 | (command.h): Likewise. | |
6668 | (target.h): Likewise. | |
6669 | (gdb_assert.h): Likewise. | |
6670 | (debug_hw_points): Made nonstatic. | |
6671 | (debug_printf): Now in i386-dregs.c. | |
6672 | (TARGET_HAS_DR_LEN_8): Likewise. | |
6673 | (DR_CONTROL_SHIFT): Likewise. | |
6674 | (DR_CONTROL_SIZE): Likewise. | |
6675 | (DR_RW_EXECUTE): Likewise. | |
6676 | (DR_RW_WRITE): Likewise. | |
6677 | (DR_RW_READ): Likewise. | |
6678 | (DR_RW_IORW): Likewise. | |
6679 | (DR_LEN_1): Likewise. | |
6680 | (DR_LEN_2): Likewise. | |
6681 | (DR_LEN_4): Likewise. | |
6682 | (DR_LEN_8): Likewise. | |
6683 | (DR_LOCAL_ENABLE_SHIFT): Likewise. | |
6684 | (DR_GLOBAL_ENABLE_SHIFT): Likewise. | |
6685 | (DR_ENABLE_SIZE): Likewise. | |
6686 | (DR_LOCAL_SLOWDOWN): Likewise. | |
6687 | (DR_GLOBAL_SLOWDOWN): Likewise. | |
6688 | (DR_CONTROL_RESERVED): Likewise. | |
6689 | (I386_DR_CONTROL_MASK): Likewise. | |
6690 | (I386_DR_VACANT): Likewise. | |
6691 | (I386_DR_LOCAL_ENABLE): Likewise. | |
6692 | (I386_DR_GLOBAL_ENABLE): Likewise. | |
6693 | (I386_DR_DISABLE): Likewise. | |
6694 | (I386_DR_SET_RW_LEN): Likewise. | |
6695 | (I386_DR_GET_RW_LEN): Likewise. | |
6696 | (I386_DR_WATCH_HIT): Likewise. | |
6697 | (i386_wp_op_t): Likewise. | |
6698 | (i386_show_dr): Likewise. | |
6699 | (i386_length_and_rw_bits): Likewise. | |
6700 | (i386_insert_aligned_watchpoint): Likewise. | |
6701 | (i386_remove_aligned_watchpoint): Likewise. | |
6702 | (i386_handle_nonaligned_watchpoint): Likewise. | |
6703 | (i386_update_inferior_debug_regs): Likewise. | |
6704 | (i386_insert_watchpoint): Use i386_dr_insert_watchpoint. | |
6705 | (i386_remove_watchpoint): Use i386_dr_remove_watchpoint. | |
6706 | (i386_region_ok_for_watchpoint): | |
6707 | Use i386_dr_region_ok_for_watchpoint. | |
6708 | (i386_stopped_data_address): Use i386_dr_stopped_data_address. | |
6709 | ||
322a8e06 GB |
6710 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6711 | ||
6712 | * i386-nat.c (i386_insert_hw_breakpoint): Use | |
6713 | i386_insert_watchpoint. | |
6714 | (i386_remove_hw_breakpoint): Use i386_remove_watchpoint. | |
6715 | ||
8f26655c GB |
6716 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6717 | ||
6718 | * i386-nat.c (i386_dr_show): Renamed to | |
6719 | i386_show_dr and made static. All uses updated. | |
6720 | (i386_dr_length_and_rw_bits): Renamed to | |
6721 | i386_length_and_rw_bits and made static. | |
6722 | All uses updated. | |
6723 | (i386_dr_insert_aligned_watchpoint): Renamed to | |
6724 | i386_insert_aligned_watchpoint and made static. | |
6725 | All uses updated. | |
6726 | (i386_dr_remove_aligned_watchpoint): Renamed to | |
6727 | i386_remove_aligned_watchpoint and made static. | |
6728 | All uses updated. | |
6729 | (i386_dr_update_inferior_debug_regs): Renamed to | |
6730 | i386_update_inferior_debug_regs and made static. | |
6731 | All uses updated. | |
6732 | * nat/i386-dregs.h (i386_dr_show): Removed. | |
6733 | (i386_dr_length_and_rw_bits): Likewise. | |
6734 | (i386_dr_insert_aligned_watchpoint): Likewise. | |
6735 | (i386_dr_remove_aligned_watchpoint): Likewise. | |
6736 | (i386_dr_update_inferior_debug_regs): Likewise. | |
6737 | ||
992c7d70 GB |
6738 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6739 | ||
6740 | * configure.ac [AC_CHECK_FUNCS] <sigaltstack>: New check. | |
6741 | * configure: Regenerate. | |
6742 | * config.in: Likewise. | |
6743 | * main.c (signal.h): New include. | |
6744 | (setup_alternate_signal_stack): New function. | |
6745 | (captured_main): Call the above. | |
6746 | * cp-support.c (signal.h): New include. | |
6747 | (catch_demangler_crashes): New flag. | |
6748 | (SIGJMP_BUF): New define. | |
6749 | (SIGSETJMP): Likewise. | |
6750 | (SIGLONGJMP): Likewise. | |
6751 | (gdb_demangle_jmp_buf): New static global. | |
6752 | (gdb_demangle_attempt_core_dump): Likewise. | |
6753 | (gdb_demangle_signal_handler): New function. | |
6754 | (gdb_demangle): If catch_demangler_crashes is set, install the | |
6755 | above signal handler before calling bfd_demangle, and restore | |
6756 | the original signal handler afterwards. Display the offending | |
6757 | symbol and call demangler_warning the first time a segmentation | |
6758 | fault is caught. | |
6759 | (_initialize_cp_support): New maint set/show command. | |
6760 | ||
eae7090b GB |
6761 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6762 | ||
6763 | * utils.h (resource_limit_kind): New enum. | |
6764 | (can_dump_core): New declaration. | |
6765 | (warn_cant_dump_core): Likewise. | |
6766 | (dump_core): Likewise. | |
6767 | * utils.c (dump_core): Made nonstatic. Added new | |
6768 | parameter "limit_kind". | |
6769 | (can_dump_core): Made nonstatic. Moved printing code to... | |
6770 | (warn_cant_dump_core): New function. | |
6771 | (can_dump_core_warn): Likewise. | |
6772 | (internal_vproblem): Replace calls to can_dump_core with | |
6773 | calls to can_dump_core_warn. Supply new argument to each. | |
6774 | ||
57fcfb1b GB |
6775 | 2014-06-19 Gary Benson <gbenson@redhat.com> |
6776 | ||
6777 | * utils.h (demangler_vwarning): New declaration. | |
6778 | (demangler_warning): Likewise. | |
6779 | * utils.c (struct internal_problem) | |
6780 | <user_settable_should_quit>: New field. | |
6781 | <user_settable_should_dump_core>: Likewise | |
6782 | (internal_error_problem): Add values for above new fields. | |
6783 | (internal_warning_problem): Likewise. | |
6784 | (demangler_warning_problem): New static global. | |
6785 | (demangler_vwarning): New function. | |
6786 | (demangler_warning): Likewise. | |
6787 | (add_internal_problem_command): Selectively add commands. | |
6788 | (_initialize_utils): New internal problem command. | |
6789 | * maint.c (maintenance_demangler_warning): New function. | |
6790 | (_initialize_maint_cmds): New command. | |
6791 | ||
17a40b44 TT |
6792 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6793 | ||
6794 | * f-valprint.c (info_common_command_for_block): Update. | |
6795 | * symtab.h (struct general_symbol_info) <common_block>: Now | |
6796 | const. | |
6797 | ||
346d1dfe TT |
6798 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6799 | ||
6800 | * symtab.h (struct symtab) <blockvector>: Now const. | |
6801 | * ada-lang.c (ada_add_global_exceptions): Update. | |
6802 | * buildsym.c (augment_type_symtab): Update. | |
6803 | * dwarf2read.c (dw2_lookup_symbol): Update. | |
6804 | * jit.c (finalize_symtab): Update. | |
6805 | * jv-lang.c (add_class_symtab_symbol): Update. | |
6806 | * mdebugread.c (parse_symbol, add_block, sort_blocks, new_symtab): | |
6807 | Update. | |
6808 | * objfiles.c (objfile_relocate1): Update. | |
6809 | * psymtab.c (lookup_symbol_aux_psymtabs) | |
6810 | (maintenance_check_psymtabs): Update. | |
6811 | * python/py-symtab.c (stpy_global_block, stpy_static_block): | |
6812 | Update. | |
6813 | * spu-tdep.c (spu_catch_start): Update. | |
6814 | * symmisc.c (dump_symtab_1): Update. | |
6815 | * symtab.c (lookup_global_symbol_from_objfile) | |
6816 | (lookup_symbol_aux_objfile, lookup_symbol_aux_quick) | |
6817 | (basic_lookup_transparent_type_quick) | |
6818 | (basic_lookup_transparent_type, find_pc_sect_symtab) | |
6819 | (find_pc_sect_line, search_symbols): Update. | |
6820 | * block.c (find_block_in_blockvector): Make "bl" const. | |
6821 | (blockvector_for_pc_sect, blockvector_for_pc): Make return type | |
6822 | const. | |
6823 | (blockvector_contains_pc): Make "bv" const. | |
6824 | (block_for_pc_sect): Update. | |
6825 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6826 | (blockvector_contains_pc): Update. | |
6827 | * breakpoint.c (resolve_sal_pc): Update. | |
6828 | * inline-frame.c (block_starting_point_at): Update. | |
6829 | ||
1834676b TT |
6830 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6831 | ||
6832 | * completer.c (complete_line): Make "line_buffer" const. | |
6833 | * completer.h (complete_line): Update. | |
6834 | ||
ac1a991b TT |
6835 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6836 | ||
6837 | * symtab.c (add_macro_name): Remove unneeded cast. | |
6838 | ||
5bc98e52 TT |
6839 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6840 | ||
6841 | * cli/cli-setshow.h (parse_cli_boolean_value): Update. | |
6842 | * cli/cli-setshow.c (parse_cli_boolean_value): Make "arg" const. | |
6843 | ||
8236def8 TT |
6844 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6845 | ||
6846 | * probe.c (info_probes_for_ops): Make "arg" const. | |
6847 | * probe.h (info_probes_for_ops): Update. | |
6848 | ||
3977b71f TT |
6849 | 2014-06-18 Tom Tromey <tromey@redhat.com> |
6850 | ||
6851 | * varobj.c (varobj_create): Update. | |
6852 | * valops.c (value_of_this): Update. | |
6853 | * tracepoint.c (add_local_symbols, scope_info): Update. | |
6854 | * symtab.h (struct general_symbol_info) <block>: Now const. | |
6855 | * symtab.c (skip_prologue_sal) | |
6856 | (default_make_symbol_completion_list_break_on) | |
6857 | (skip_prologue_using_sal): Update. | |
6858 | * stack.h (iterate_over_block_locals) | |
6859 | (iterate_over_block_local_vars): Update. | |
6860 | * stack.c (print_frame_args): Update. | |
6861 | (iterate_over_block_locals, iterate_over_block_local_vars): Make | |
6862 | parameter const. | |
6863 | (get_selected_block): Make return type const. | |
6864 | * python/py-frame.c (frapy_block): Update. | |
6865 | * python/py-block.c (gdbpy_block_for_pc): Update. | |
6866 | * p-exp.y (%union) <bval>: Now const. | |
6867 | * mi/mi-cmd-stack.c (list_args_or_locals): Update. | |
6868 | * mdebugread.c (mylookup_symbol, parse_procedure): Update. | |
6869 | * m2-exp.y (%union) <bval>: Now const. | |
6870 | * linespec.c (get_current_search_block): Make return type const. | |
6871 | (create_sals_line_offset, find_label_symbols): Update. | |
6872 | * inline-frame.c (inline_frame_sniffer, skip_inline_frames): | |
6873 | Update. | |
6874 | (block_starting_point_at): Make "block" const. | |
6875 | * infrun.c (insert_exception_resume_breakpoint): Make "b" const. | |
6876 | (check_exception_resume): Update. | |
6877 | * guile/scm-frame.c (gdbscm_frame_block): Update. | |
6878 | * guile/scm-block.c (gdbscm_lookup_block): Update. | |
6879 | * frame.h (get_frame_block): Update. | |
6880 | (get_selected_block): Make return type const. | |
6881 | * frame.c (frame_id_inner): Update. | |
6882 | * f-valprint.c (info_common_command_for_block) | |
6883 | (info_common_command): Update. | |
6884 | * dwarf2loc.c (dwarf2_find_location_expression) | |
6885 | (dwarf_expr_frame_base, dwarf2_compile_expr_to_ax) | |
6886 | (locexpr_describe_location_piece): Update. | |
6887 | * c-exp.y (%union) <bval>: Now const. | |
6888 | * breakpoint.c (resolve_sal_pc): Update. | |
6889 | * blockframe.c (get_frame_block):Make return type const. | |
6890 | (get_pc_function_start, get_frame_function, find_pc_sect_function) | |
6891 | (block_innermost_frame): Update. | |
6892 | * block.h (blockvector_for_pc, blockvector_for_pc_sect) | |
6893 | (block_for_pc, block_for_pc_sect): Update. | |
6894 | * block.c (blockvector_for_pc_sect, blockvector_for_pc): Make | |
6895 | 'pblock' const. | |
6896 | (block_for_pc_sect, block_for_pc): Make return type const. | |
6897 | * ax-gdb.c (gen_expr): Update. | |
6898 | * alpha-mdebug-tdep.c (find_proc_desc): Update. | |
6899 | * ada-lang.c (ada_read_renaming_var_value): Make 'block' const. | |
6900 | (ada_make_symbol_completion_list, ada_add_exceptions_from_frame) | |
6901 | (ada_read_var_value): Update. | |
6902 | * ada-exp.y (struct name_info) <block>: Now const. | |
6903 | (%union): Likewise. | |
6904 | (block_lookup): Constify. | |
6905 | ||
b9228891 GB |
6906 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6907 | ||
6908 | * nat/i386-dregs.h: New file. | |
6909 | * Makefile.in (HFILES_NO_SRCDIR): Add the above. | |
6910 | * i386-nat.h (i386-dregs.h): New include. | |
6911 | (DR_FIRSTADDR): Now in i386-dregs.h. | |
6912 | (DR_LASTADDR): Likewise. | |
6913 | (DR_NADDR): Likewise. | |
6914 | (DR_STATUS): Likewise. | |
6915 | (DR_CONTROL): Likewise. | |
6916 | (i386_debug_reg_state): Likewise. | |
6917 | * i386-nat.c (ALL_DEBUG_REGISTERS): Likewise. | |
6918 | ||
a1aa2221 LM |
6919 | 2014-06-18 Don Breazeal <donb@codesourcery.com> |
6920 | ||
6921 | * breakpoint.c (set_longjmp_breakpoint): Call | |
6922 | momentary_breakpoint_from_master with additional argument. | |
6923 | (set_longjmp_breakpoint_for_call_dummy): Call | |
6924 | momentary_breakpoint_from_master with additional argument. | |
6925 | (set_std_terminate_breakpoint): Call | |
6926 | momentary_breakpoint_from_master with additional argument. | |
6927 | (momentary_breakpoint_from_master): Add argument to function | |
6928 | definition and use it to initialize structure member flag. | |
74228e77 | 6929 | (clone_momentary_breakpoint): Call |
a1aa2221 LM |
6930 | momentary_breakpoint_from_master with additional argument. |
6931 | * infrun.c (follow_inferior_reset_breakpoints): Clear structure | |
6932 | member flags set in momentary_breakpoint_from_master. | |
6933 | ||
4be83cc2 GB |
6934 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6935 | ||
6936 | * i386-nat.c (i386_show_dr): Renamed to | |
6937 | i386_dr_show and made nonstatic. All uses updated. | |
6938 | (i386_length_and_rw_bits): Renamed to | |
6939 | i386_dr_length_and_rw_bits and made nonstatic. | |
6940 | All uses updated. | |
6941 | (i386_insert_aligned_watchpoint): Renamed to | |
6942 | i386_dr_insert_aligned_watchpoint and made nonstatic. | |
6943 | All uses updated. | |
6944 | (i386_remove_aligned_watchpoint): Renamed to | |
6945 | i386_dr_remove_aligned_watchpoint and made nonstatic. | |
6946 | All uses updated. | |
6947 | (i386_update_inferior_debug_regs): Renamed to | |
6948 | i386_dr_update_inferior_debug_regs and made nonstatic. | |
6949 | All uses updated. | |
6950 | ||
131aa0d4 GB |
6951 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6952 | ||
6953 | * i386-nat.c (i386_dr_low_can_set_addr): New macro. | |
6954 | (i386_dr_low_can_set_control): Likewise. | |
6955 | (i386_dr_low_set_addr): Likewise. | |
6956 | (i386_dr_low_set_control): Likewise. | |
6957 | (i386_dr_low_get_addr): Likewise. | |
6958 | (i386_dr_low_get_status): Likewise. | |
6959 | (i386_dr_low_get_control): Likewise. | |
6960 | (i386_insert_aligned_watchpoint): Use new macros. | |
6961 | (i386_update_inferior_debug_regs): Likewise. | |
6962 | (i386_stopped_data_address): Likewise. | |
6963 | ||
d9305f7f GB |
6964 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6965 | ||
6966 | * i386-nat.c (i386_update_inferior_debug_regs) <state>: | |
6967 | New parameter. All uses updated. | |
6968 | ||
ea008da4 GB |
6969 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6970 | ||
6971 | * i386-nat.c (maint_show_dr): Renamed to debug_hw_points. | |
6972 | All uses updated. | |
6973 | ||
1b6d4134 GB |
6974 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6975 | ||
6976 | * i386-nat.c (debug_printf): New macro. | |
6977 | (i386_get_debug_register_length): Likewise. | |
6978 | (TARGET_HAS_DR_LEN_8): Use above macro. | |
6979 | (i386_show_dr): Use debug_printf instead of puts_unfiltered | |
6980 | and printf_unfiltered. Use phex to format values. | |
6981 | ||
9b4550ef GB |
6982 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6983 | ||
6984 | * i386-nat.c (i386_handle_nonaligned_watchpoint) <size_try_array>: | |
6985 | Make const. | |
6986 | ||
6e62758f GB |
6987 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6988 | ||
6989 | * i386-nat.c: Comment changes. | |
6990 | ||
51c79e94 GB |
6991 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6992 | ||
6993 | * i386-nat.c (I386_DR_WATCH_MASK): Remove macro. | |
6994 | ||
3e11889a GB |
6995 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
6996 | ||
6997 | * i386-nat.c (i386_length_and_rw_bits): Remove prototype. | |
6998 | (i386_insert_aligned_watchpoint): Likewise. | |
6999 | (i386_remove_aligned_watchpoint): Likewise. | |
7000 | (i386_handle_nonaligned_watchpoint): Likewise. | |
7001 | ||
fc6e2f03 GB |
7002 | 2014-06-18 Gary Benson <gbenson@redhat.com> |
7003 | ||
7004 | * i386-nat.c: Whitespace changes. | |
7005 | ||
2afe7d50 SB |
7006 | 2014-06-17 Samuel Bronson <naesten@gmail.com> |
7007 | ||
7008 | * MAINTAINERS: Update Roland McGrath's email address. | |
7009 | Thanks to Sergio Durigan Junior for pointing out that he left | |
6a83deea | 7010 | Red Hat a while ago, and giving me a current address. |
2afe7d50 | 7011 | |
3bca49ee TT |
7012 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
7013 | ||
7014 | * utils.h (savestring): Remove declaration. | |
7015 | ||
6e366df1 TT |
7016 | 2014-06-17 Tom Tromey <tromey@redhat.com> |
7017 | ||
7018 | * remote.c (extended_remote_run): Use make_cleanup_freeargv. | |
7019 | ||
6be47f0c KS |
7020 | 2014-06-16 Keith Seitz <keiths@redhat.com> |
7021 | ||
7022 | PR mi/15863 | |
7023 | * mi/mi-cmd-var.c (mi_cmd_var_update_iter): Do not attempt | |
7024 | to update the varobj if inferior_ptid is null_ptid. | |
7025 | ||
7bc112c1 TT |
7026 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7027 | ||
7028 | * target.h (struct target_ops) <to_info_proc>: Make parameter | |
7029 | const. | |
7030 | (target_info_proc): Update. | |
7031 | * target.c (target_info_proc): Make "args" const. | |
7032 | * procfs.c (procfs_info_proc): Update. | |
7033 | * linux-tdep.c (linux_info_proc): Update. | |
7034 | (linux_core_info_proc_mappings): Make "args" const. | |
7035 | (linux_core_info_proc): Update. | |
7036 | * gdbarch.sh (info_proc, core_info_proc): Make "args" const. | |
7037 | * gdbarch.c: Rebuild. | |
7038 | * gdbarch.h: Rebuild. | |
7039 | * corelow.c (core_info_proc): Update. | |
7040 | ||
fee354ee TT |
7041 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7042 | ||
7043 | * target.h (struct target_ops) <to_disconnect>: Make parameter | |
7044 | const. | |
7045 | (target_disconnect): Update. | |
7046 | * target.c (target_disconnect): Make "args" const. | |
7047 | * target-delegates.c: Rebuild. | |
7048 | * remote.c (remote_disconnect): Update. | |
7049 | * record.h (record_disconnect): Update. | |
7050 | * record.c (record_disconnect): Update. | |
7051 | * inf-child.c (inf_child_disconnect): Update. | |
7052 | ||
a30bf1f1 TT |
7053 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7054 | ||
7055 | * target.h (struct target_ops) <to_rcmd>: Make "command" const. | |
7056 | * target.c (debug_to_rcmd, default_rcmd): Update. | |
7057 | * target-delegates.c: Rebuild. | |
7058 | * remote.c (remote_rcmd): Update. | |
7059 | * monitor.c (monitor_rcmd): Update. | |
7060 | ||
d03de421 PA |
7061 | 2014-06-16 Pedro Alves <palves@redhat.com> |
7062 | ||
7063 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): Adjust. | |
7064 | (disable_breakpoints_in_freed_objfile): Skip objfiles that don't | |
7065 | have OBJF_SHARED set. | |
7066 | * objfiles.c (userloaded_objfile_contains_address_p): Rename to... | |
7067 | (shared_objfile_contains_address_p): ... this. Check OBJF_SHARED | |
7068 | instead of OBJF_USERLOADED. | |
7069 | * objfiles.h (OBJF_SHARED): Update comment. | |
7070 | (userloaded_objfile_contains_address_p): Rename to ... | |
7071 | (shared_objfile_contains_address_p): ... this, and update | |
7072 | comments. | |
7073 | * symfile.c (add_symbol_file_command): Also set OBJF_SHARED in the | |
7074 | new objfile. | |
7075 | (remove_symbol_file_command): Skip objfiles that don't have | |
7076 | OBJF_SHARED set. | |
7077 | ||
99f4262f TT |
7078 | 2014-06-16 Tom Tromey <tromey@redhat.com> |
7079 | ||
7080 | * minsyms.h (prim_record_minimal_symbol) | |
7081 | (prim_record_minimal_symbol_and_info): Update comments. | |
7082 | ||
97d66cc6 EZ |
7083 | 2014-06-14 Eli Zaretskii <eliz@gnu.org> |
7084 | ||
7085 | * top.c (print_gdb_configuration) [HAVE_GUILE]: Print --with-guile | |
7086 | or --without-guile, according to how GDB was built. | |
7087 | ||
635c7e8a TT |
7088 | 2014-06-13 Tom Tromey <tromey@redhat.com> |
7089 | ||
7090 | * cp-support.c (maint_cplus_command): Pass all_commands, not -1, | |
7091 | to help_list. | |
7092 | * guile/guile.c (info_guile_command): Pass all_commands, not -1, | |
7093 | to help_list. | |
7094 | * tui/tui-win.c (tui_command): Pass all_commands, not -1, to | |
7095 | help_list. | |
7096 | * tui/tui-regs.c (tui_reg_command): Pass all_commands, not -1, to | |
7097 | help_list.Pass all_commands, not -1, to help_list. | |
7098 | * cli/cli-dump.c (dump_command, append_command) | |
7099 | (srec_dump_command, ihex_dump_command, tekhex_dump_command) | |
7100 | (binary_dump_command, binary_append_command): Pass all_commands, | |
7101 | not -1, to help_list. | |
7102 | * cli/cli-cmds.c (info_command, set_debug): Pass all_commands, not | |
7103 | -1, to help_list. | |
7104 | * valprint.c (set_print, set_print_raw): Pass all_commands, not | |
7105 | -1, to help_list. | |
7106 | * typeprint.c (set_print_type): Pass all_commands, not -1, to | |
7107 | help_list. | |
7108 | * top.c (set_history): Pass all_commands, not -1, to help_list. | |
7109 | * target-descriptions.c (set_tdesc_cmd, unset_tdesc_cmd): Pass | |
7110 | all_commands, not -1, to help_list. | |
7111 | * symfile.c (overlay_command): Pass all_commands, not -1, to | |
7112 | help_list. | |
7113 | * spu-tdep.c (info_spu_command): Pass all_commands, not -1, to | |
7114 | help_list. | |
7115 | * serial.c (serial_set_cmd): Pass all_commands, not -1, to | |
7116 | help_list. | |
7117 | * ser-tcp.c (set_tcp_cmd, show_tcp_cmd): Pass all_commands, not | |
7118 | -1, to help_list. | |
7119 | * remote.c (remote_command, set_remote_cmd): Pass all_commands, | |
7120 | not -1, to help_list. | |
7121 | * ravenscar-thread.c (set_ravenscar_command): Pass all_commands, | |
7122 | not -1, to help_list. | |
7123 | * maint.c (maintenance_command, maintenance_info_command) | |
7124 | (maintenance_print_command, maintenance_set_cmd): Pass | |
7125 | all_commands, not -1, to help_list. | |
7126 | * macrocmd.c (macro_command): Pass all_commands, not -1, to | |
7127 | help_list. | |
7128 | * language.c (set_check): Pass all_commands, not -1, to help_list. | |
7129 | * infcmd.c (unset_command): Pass all_commands, not -1, to | |
7130 | help_list. | |
7131 | * frame.c (set_backtrace_cmd): Pass all_commands, not -1, to | |
7132 | help_list. | |
7133 | * dwarf2read.c (set_dwarf2_cmd): Pass all_commands, not -1, to | |
7134 | help_list. | |
7135 | * dcache.c (set_dcache_command): Pass all_commands, not -1, to | |
7136 | help_list. | |
7137 | * breakpoint.c (save_command): Pass all_commands, not -1, to | |
7138 | help_list. | |
7139 | * ada-lang.c (maint_set_ada_cmd, set_ada_command): Pass | |
7140 | all_commands, not -1, to help_list. | |
7141 | ||
b94ade42 PL |
7142 | 2014-06-12 Pierre Langlois <pierre.langlois@embecosm.com> |
7143 | ||
7144 | * regcache.c (struct register_to_invalidate): New structure. | |
7145 | (do_register_invalidate, make_cleanup_regcache_invalidate): New | |
7146 | functions. | |
7147 | (regcache_raw_write): Call make_cleanup_regcache_invalidate. | |
7148 | ||
31f628ae YQ |
7149 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
7150 | ||
7151 | * varobj.c (varobj_get_num_children): Call | |
7152 | varobj_is_dynamic_p. | |
7153 | (varobj_list_children): Likewise. | |
7154 | (varobj_update): Likewise. Update comments. | |
7155 | ||
cde5ef40 YQ |
7156 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
7157 | ||
7158 | * varobj.c (varobj_pretty_printed_p): Rename to ... | |
7159 | (varobj_is_dynamic_p): ... this. New function. | |
7160 | * varobj.h (varobj_pretty_printed_p): Remove declaration. | |
7161 | (varobj_is_dynamic_p): Declare. | |
7162 | * mi/mi-cmd-var.c (print_varobj): All callers updated. | |
7163 | (mi_print_value_p, varobj_update_one): Likewise. | |
7164 | ||
576ea091 YQ |
7165 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
7166 | Yao Qi <yao@codesourcery.com> | |
7167 | ||
7168 | * varobj.c: Remove "#if HAVE_PYTHON" and "#endif". | |
7169 | (varobj_get_iterator): Wrap up code for pretty-printer by | |
7170 | "#if HAVE_PYTHON" and "#endif". | |
7171 | (update_dynamic_varobj_children): Likewise. | |
7172 | ||
827f100c YQ |
7173 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
7174 | Yao Qi <yao@codesourcery.com> | |
7175 | ||
7176 | * python/py-varobj.c (py_varobj_iter_next): Return NULL if | |
7177 | gdb_python_initialized is false. Move some code from varobj.c. | |
7178 | * varobj-iter.h (struct varobj_item): Moved from varobj.c. | |
7179 | * varobj.c: Move "varobj-iter.h" inclusion earlier. | |
7180 | (struct varobj_item): Moved to varobj-iter.h". | |
7181 | (varobj_clear_saved_item): New function. | |
7182 | (update_dynamic_varobj_children): Move python-related code to | |
7183 | py-varobj.c. | |
7184 | (free_variable): Call varobj_clear_saved_item and | |
7185 | varobj_iter_delete. | |
7186 | ||
e5250216 YQ |
7187 | 2014-06-12 Pedro Alves <pedro@codesourcery.com> |
7188 | Yao Qi <yao@codesourcery.com> | |
7189 | ||
7190 | * Makefile.in (SUBDIR_PYTHON_OBS): Add "py-varobj.o". | |
7191 | (SUBDIR_PYTHON_SRCS): Add "python/py-varobj.c". | |
7192 | (HFILES_NO_SRCDIR): Add "varobj-iter.h". | |
7193 | (py-varobj.o): New rule. | |
7194 | * python/py-varobj.c: New file. | |
7195 | * python/python-internal.h (py_varobj_get_iterator): Declare. | |
7196 | * varobj-iter.h: New file. | |
7197 | * varobj.c: Include "varobj-iter.h" | |
7198 | (struct varobj) <child_iter>: Change its type from "PyObject *" | |
7199 | to "struct varobj_iter *". | |
7200 | <saved_item>: Likewise. | |
7201 | [HAVE_PYTHON] (varobj_ensure_python_env): Make it extern. | |
7202 | [HAVE_PYTHON] (varobj_get_iterator): New function. | |
7203 | (update_dynamic_varobj_children) [HAVE_PYTHON]: Move | |
7204 | python-specific code to python/py-varobj.c. | |
7205 | (install_visualizer): Call varobj_iter_delete instead of | |
7206 | Py_XDECREF. | |
7207 | * varobj.h (varobj_ensure_python_env): Declare. | |
7208 | ||
5a2e0d6e YQ |
7209 | 2014-06-12 Yao Qi <yao@codesourcery.com> |
7210 | ||
7211 | * varobj.c (struct varobj_item): New structure. | |
7212 | (create_child_with_value): Update declaration. | |
7213 | (varobj_add_child): Replace arguments 'name' and 'value' with | |
7214 | 'item'. All callers updated. | |
7215 | (install_dynamic_child): Likewise. | |
7216 | (update_dynamic_varobj_children): Likewise. | |
7217 | (varobj_add_child): Likewise. | |
7218 | (create_child_with_value): Likewise. | |
7219 | ||
919b9a93 JB |
7220 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
7221 | ||
7222 | * NEWS: Create a new section for the next release branch. | |
7223 | Rename the section of the current branch, now that it has | |
7224 | been cut. | |
7225 | ||
71a55bdf JB |
7226 | 2014-06-11 Joel Brobecker <brobecker@adacore.com> |
7227 | ||
7228 | GDB 7.8 branch created (173373c6f6388171d1d62a217fae90a052395be2): | |
7229 | * version.in: Bump version to 7.8.50.DATE-cvs. | |
7230 | ||
364fe1f7 PA |
7231 | 2014-06-11 Pedro Alves <palves@redhat.com> |
7232 | ||
7233 | PR remote/17028 | |
7234 | * ser-mingw.c (net_windows_socket_check_pending): New function. | |
7235 | (net_windows_select_thread): Ignore spurious wakeups. Use | |
7236 | net_windows_socket_check_pending. | |
7237 | (net_windows_wait_handle): Check for pending events with | |
7238 | ioctlsocket, through net_windows_socket_check_pending, instead of | |
7239 | checking the socket's event. | |
7240 | ||
5a6c7709 SC |
7241 | 2014-06-10 Siva Chandra Reddy <sivachandra@google.com> |
7242 | ||
7243 | * python/python-internal.h (gdb_PyObject_GetAttrString) | |
7244 | (gdb_PyObject_HasAttrString): New inline function definitions. | |
7245 | * py-value.c (get_field_flag): Remove the now unnecessary cast to | |
7246 | char * of the second argument to PyObject_GetAttrString. | |
74228e77 | 7247 | |
0e58ee40 JB |
7248 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
7249 | ||
7250 | * serial.c (serial_write): Fix index of character to be printed | |
7251 | in call to serial_logchar when serial debug traces are enabled. | |
7252 | ||
d190df30 JB |
7253 | 2014-06-10 Joel Brobecker <brobecker@adacore.com> |
7254 | ||
7255 | * gdbtypes (resolve_dynamic_range): Add function description. | |
7256 | ||
b4b01d36 PA |
7257 | 2014-06-09 Pedro Alves <palves@redhat.com> |
7258 | ||
7259 | * linux-nat.c (linux_child_follow_fork): Initialize status with | |
7260 | W_STOPCODE (0) instead of 0. Remove shodowing 'status' local from | |
7261 | inner block. Only pass the signal to PTRACE_DETACH if in pass | |
7262 | state. | |
7263 | ||
3657956b GB |
7264 | 2014-06-09 Gary Benson <gbenson@redhat.com> |
7265 | ||
7266 | * common/signals.c (gdb_signal_from_host): Reorder to separate | |
7267 | the always-available ANSI-standard signals from the signals that | |
7268 | require checking. | |
7269 | (do_gdb_signal_to_host): Likewise. | |
7270 | * proc-events.c (signal_table): Likewise. | |
7271 | ||
c077881a HZ |
7272 | 2014-06-08 Hui Zhu <hui@codesourcery.com> |
7273 | ||
7274 | * common/linux-ptrace.c (linux_disable_event_reporting): New | |
7275 | function. | |
7276 | * common/linux-ptrace.h (linux_disable_event_reporting): New | |
7277 | declaration. | |
7278 | * linux-nat.c (linux_child_follow_fork): Do a single step before | |
7279 | detach. | |
7280 | ||
4186eb54 KS |
7281 | 2014-06-07 Keith Seitz <keiths@redhat.com> |
7282 | ||
7283 | Revert: | |
7284 | PR c++/16253 | |
7285 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
7286 | from symbol_matches_domain in symtab.c. All local callers | |
7287 | of symbol_matches_domain updated. | |
7288 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
7289 | search STRUCT_DOMAIN. | |
7290 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
7291 | independently. standard_lookup will do that automatically. | |
7292 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
7293 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7294 | (cp_lookup_symbol_in_namespace): Likewise. | |
7295 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
7296 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
7297 | may return a STRUCT_DOMAIN match. | |
7298 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
7299 | * cp-support.c: Include language.h. | |
7300 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
7301 | VAR_DOMAIN. | |
7302 | * psymtab.c (match_partial_symbol): Compare the requested | |
7303 | domain with the symbol's domain directly. | |
7304 | (lookup_partial_symbol): Likewise. | |
7305 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
7306 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
7307 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
7308 | appropriate languages. | |
7309 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
7310 | and moved to ada-lang.c | |
7311 | (lookup_block_symbol): Explain that this function only returns | |
7312 | symbol matching the requested DOMAIN. | |
7313 | Compare the requested domain with the symbol's domain directly. | |
7314 | (iterate_over_symbols): Compare the requested domain with the | |
7315 | symbol's domain directly. | |
7316 | * symtab.h (symbol_matches_domain): Remove. | |
7317 | ||
25326a28 | 7318 | 2014-06-06 Doug Evans <xdje42@gmail.com> |
d2929fdc DE |
7319 | |
7320 | * guile/guile-internal.h (gdbscm_guile_major_version): Declare. | |
7321 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): Declare. | |
7322 | (gdbscm_guile_version_is_at_least): Declare. | |
7323 | (gdbscm_scm_string_to_int): Declare. | |
7324 | * guile/guile.c (gdbscm_guile_major_version): New global. | |
7325 | (gdbscm_guile_minor_version, gdbscm_guile_micro_version): New globals. | |
7326 | (guile_datadir): New static global. | |
7327 | (gdbscm_guile_data_directory): New function. | |
7328 | (initialize_scheme_side): Update. | |
7329 | (misc_guile_functions): Add guile-data-directory. | |
7330 | (initialize_gdb_module): Fetch guile version number. | |
7331 | * guile/lib/gdb.scm: Remove call to add-to-load-path. | |
7332 | * guile/lib/gdb/init.scm (%initialize!): Ditto. | |
7333 | * guile/lib/gdb/boot.scm: Use guile-data-directory. | |
7334 | * guile/scm-exception.c (gdbscm_print_exception_with_stack): Fix | |
7335 | comments. | |
7336 | * guile/scm-string.c (gdbscm_scm_string_to_int): New function. | |
7337 | * guile/scm-utils.c (gdbscm_guile_version_is_at_least): New function. | |
7338 | * guile/scm-value.c (gdbscm_value_to_string): Only call | |
7339 | scm_port_conversion_strategy if Guile version >= 2.0.6. | |
7340 | ||
0a770bb2 | 7341 | 2014-06-06 Mingjie Xing <mingjie.xing@gmail.com> |
7342 | ||
7343 | * main.c (print_gdb_help): Add -q and --silent. | |
7344 | ||
73ba372c GB |
7345 | 2014-06-06 Gary Benson <gbenson@redhat.com> |
7346 | ||
7347 | * common/signals.c: Remove preprocessor conditionals for | |
7348 | always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE, | |
7349 | SIGSEGV and SIGTERM. | |
7350 | * proc-events.c: Likewise. | |
7351 | ||
c33b2f12 MM |
7352 | 2014-06-06 Markus Metzger <markus.t.metzger@intel.com> |
7353 | ||
7354 | * symfile.c (symfile_free_objfile): Remove restriction to | |
7355 | OBJF_USERLOADED. | |
7356 | * symfile-mem.c (symbol_file_add_from_memory): Call | |
7357 | add_target_sections_of_objfile. | |
7358 | ||
fb934770 LC |
7359 | 2014-06-05 Ludovic Courtès <ludo@gnu.org> |
7360 | ||
7361 | * guile/scm-value.c (gdbscm_history_append_x): Use | |
7362 | 'vlscm_get_value_smob_arg_unsafe' instead of | |
7363 | 'vlscm_scm_to_value'. | |
7364 | ||
6ef284bd SM |
7365 | 2014-06-05 Simon Marchi <simon.marchi@ericsson.com> |
7366 | ||
7367 | PR mi/15806 | |
7368 | * utils.c (printchar): Don't escape at all if quoter is NUL. | |
7369 | Update function documentation to clarify effect of parameter | |
7370 | QUOTER. | |
7371 | * remote.c (escape_buffer): Pass '\\' as the quoter to | |
7372 | fputstrn_unfiltered. | |
7373 | * mi/mi-interp.c (mi_solib_loaded): Use ui_out_field_* functions to | |
7374 | generate the output. | |
7375 | (mi_solib_unloaded): Same. | |
7376 | ||
270c9937 JB |
7377 | 2014-06-05 Joel Brobecker <brobecker@adacore.com> |
7378 | ||
7379 | * development.sh: Delete. | |
7380 | * Makefile.in (config.status): Adjust dependency on development.sh. | |
7381 | * configure.ac: Adjust development.sh source call. | |
7382 | * configure: Regenerate. | |
7383 | ||
16f691fb DE |
7384 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
7385 | ||
7386 | * guile/scm-breakpoint.c (struct gdbscm_breakpoint_object): New members | |
7387 | is_scheme_bkpt, spec. | |
7388 | (bpscm_make_breakpoint_smob): Initialize new members. | |
7389 | (gdbscm_create_breakpoint_x): Split into two ... | |
7390 | (gdbscm_make_breakpoint, gdbscm_register_breakpoint_x): New functions. | |
7391 | (bpscm_breakpoint_deleted): Reset breakpoint number and stop function. | |
7392 | (scheme_function breakpoint_functions): Update. | |
7393 | * guile/lib/gdb.scm: Delete create-breakpoint!. Rename | |
7394 | breakpoint-delete! to delete-breakpoint!. Add make-breakpoint, | |
7395 | register-breakpoint!. | |
7396 | ||
ef7cab6b JB |
7397 | 2014-06-04 Joel Brobecker <brobecker@adacorer.com> |
7398 | ||
7399 | PR server/17023 | |
7400 | * mem-break.c (z_type_supported): Return zero if | |
7401 | THE_TARGET->SUPPORTS_Z_POINT_TYPE is NULL. | |
7402 | ||
012370f6 TT |
7403 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7404 | ||
7405 | * ada-lang.c (ada_template_to_fixed_record_type_1): Use | |
7406 | value_from_contents_and_address_unresolved. | |
7407 | (ada_template_to_fixed_record_type_1): Likewise. | |
7408 | (ada_which_variant_applies): Likewise. | |
7409 | * value.h (value_from_contents_and_address_unresolved): Declare. | |
7410 | * value.c (value_from_contents_and_address_unresolved): New | |
7411 | function. | |
7412 | * gdbtypes.c (is_dynamic_type, resolve_dynamic_type) | |
7413 | <TYPE_CODE_STRUCT, TYPE_CODE_UNION>: New cases. | |
7414 | (resolve_dynamic_struct, resolve_dynamic_union): New functions. | |
7415 | ||
92e2a17f TT |
7416 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7417 | ||
7418 | * gdbtypes.c (is_dynamic_type): Remove unneeded "break"s. | |
7419 | ||
c0939df1 TT |
7420 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7421 | ||
7422 | * procfs.c (procfs_attach): Make "args" const. | |
7423 | * windows-nat.c (windows_attach): Make "args" const. | |
7424 | * nto-procfs.c (procfs_attach): Make "args" const. | |
7425 | * inf-ttrace.c (inf_ttrace_attach): Make "args" const. | |
7426 | * go32-nat.c (go32_attach): Make "args" const. | |
7427 | * gnu-nat.c (gnu_attach): Make "args" const. | |
7428 | * darwin-nat.c (darwin_attach): Make "args" const. | |
7429 | * inf-ptrace.c (inf_ptrace_attach): Make "args" const. | |
7430 | * linux-nat.c (linux_nat_attach): Make "args" const. | |
7431 | * remote.c (extended_remote_attach_1, extended_remote_attach): | |
7432 | Make "args" const. | |
7433 | * target.h (struct target_ops) <to_attach>: Make "args" const. | |
7434 | (find_default_attach): Likewise. | |
7435 | * utils.c (parse_pid_to_attach): Make "args" const. | |
7436 | * utils.h (parse_pid_to_attach): Update. | |
7437 | ||
8eaff7cd TT |
7438 | 2014-06-04 Tom Tromey <tromey@redhat.com> |
7439 | ||
7440 | * target-delegates.c: Rebuild. | |
7441 | * target.c (default_thread_address_space): New function. | |
7442 | (target_thread_address_space): Simplify. | |
7443 | * target.h (struct target_ops) <to_thread_address_space>: Add | |
7444 | TARGET_DEFAULT_FUNC. | |
7445 | ||
1913f160 DE |
7446 | 2014-06-04 Doug Evans <xdje42@gmail.com> |
7447 | ||
7448 | * guile/scm-type.c (type_smob): Remove duplicate typedef. | |
7449 | ||
70ad5bff MM |
7450 | 2014-06-04 Markus Metzger <markus.t.metzger@intel.com> |
7451 | ||
7452 | * record-btrace.c: Include event-loop.h and inf-loop.h. | |
7453 | (record_btrace_resume_exec_dir) | |
7454 | (record_btrace_async_inferior_event_handler) | |
7455 | (record_btrace_handle_async_inferior_event): New. | |
7456 | (record_btrace_open): Create async event handler. | |
7457 | (record_btrace_close): Delete async event handler. | |
7458 | (record_btrace_resume): Set record_btrace_resume_exec_dir, | |
7459 | Mark async event handler. | |
7460 | (record_btrace_execution_direction): New. | |
7461 | (init_record_btrace_ops): Initialize to_execution_direction. | |
7462 | ||
b6210538 DE |
7463 | 2014-06-03 Doug Evans <xdje42@gmail.com> |
7464 | ||
7465 | * guile/scm-param.c (pascm_make_param_smob): Add ARI comment. | |
7466 | (gdbscm_make_parameter): Ditto. | |
7467 | ||
a5b1fd27 DE |
7468 | 2014-06-03 Doug Evans <dje@google.com> |
7469 | ||
7470 | * exec.c (exec_close_1): Call clear_section_table instead of | |
7471 | resize_section_table. | |
7472 | (clear_section_table): New function. | |
7473 | (resize_section_table): Make static. Rename arg num_added to | |
7474 | adjustment. | |
7475 | * exec.h (clear_section_table): Declare. | |
7476 | (resize_section_table): Delete. | |
7477 | * progspace.c (release_program_space): Call clear_section_table | |
7478 | instead of resize_section_table. | |
7479 | ||
0c6e92a5 SC |
7480 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7481 | ||
7482 | * NEWS (Python Scripting): Add entry about the new xmethods | |
7483 | feature. | |
7484 | ||
883964a7 SC |
7485 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7486 | ||
7487 | * python/py-xmethods.c: New file. | |
7488 | * python/py-objfile.c (objfile_object): New field 'xmethods'. | |
7489 | (objfpy_dealloc): XDECREF on the new xmethods field. | |
7490 | (objfpy_new, objfile_to_objfile_object): Initialize xmethods | |
7491 | field. | |
7492 | (objfpy_get_xmethods): New function. | |
7493 | (objfile_getset): New entry 'xmethods'. | |
7494 | * python/py-progspace.c (pspace_object): New field 'xmethods'. | |
7495 | (pspy_dealloc): XDECREF on the new xmethods field. | |
7496 | (pspy_new, pspace_to_pspace_object): Initialize xmethods | |
7497 | field. | |
7498 | (pspy_get_xmethods): New function. | |
7499 | (pspace_getset): New entry 'xmethods'. | |
7500 | * python/python-internal.h: Add declarations for new functions. | |
7501 | * python/python.c (_initialize_python): Invoke | |
7502 | gdbpy_initialize_xmethods. | |
7503 | * python/lib/gdb/__init__.py (xmethods): New | |
7504 | attribute. | |
7505 | * python/lib/gdb/xmethod.py: New file. | |
7506 | * python/lib/gdb/command/xmethods.py: New file. | |
7507 | ||
58992dc5 SC |
7508 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7509 | ||
7510 | * eval.c (evaluate_subexp_standard): Call the xmethod if the | |
7511 | best match method returned by find_overload_match is an xmethod. | |
7512 | * valarith.c (value_x_binop, value_x_unop): Call the xmethod if | |
7513 | the best matching operator returned by find_overload_match is an | |
7514 | xmethod. | |
7515 | * valops.c: #include "extension.h". | |
7516 | (find_method_list): Add "fn_list" and "xm_worker_vec" arguments. | |
7517 | Return void. The list of matching source methods is returned in | |
7518 | "fn_list" and a vector of matching debug method workers is | |
7519 | returned in "xm_worker_vec". Update all callers. | |
7520 | (value_find_oload_method_list): Likewise. | |
7521 | (find_oload_champ): Add "xm_worker_vec" parameter. If it is | |
7522 | non-NULL, then the index of the best matching method in this | |
7523 | vector is returned. Update all callers. | |
7524 | (find_overload_match): Include xmethods while performing overload | |
7525 | resolution. | |
7526 | ||
e81e7f5e SC |
7527 | 2014-06-03 Siva Chandra Reddy <sivachandra@google.com> |
7528 | ||
7529 | * defs.h (enum lval_type): New enumerator "lval_xcallable". | |
7530 | * extension-priv.h (struct extension_language_ops): Add the | |
7531 | xmethod interface. | |
7532 | * extension.c (new_xmethod_worker, clone_xmethod_worker, | |
7533 | get_matching_xmethod_workers, get_xmethod_argtypes, | |
7534 | invoke_xmethod, free_xmethod_worker, | |
7535 | free_xmethod_worker_vec): New functions. | |
7536 | * extension.h: #include "common/vec.h". | |
7537 | New function declarations. | |
7538 | (struct xmethod_worker): New struct. | |
7539 | (VEC (xmethod_worker_ptr)): New vector type. | |
7540 | (xmethod_worker_ptr): New typedef. | |
7541 | (xmethod_worker_vec): Likewise. | |
7542 | * gdbtypes.c (gdbtypes_post_init): Initialize "xmethod" field of | |
7543 | builtin_type. | |
7544 | * gdbtypes.h (enum type_code): New enumerator TYPE_CODE_XMETHOD. | |
7545 | (struct builtin_type): New field "xmethod". | |
7546 | * valarith.c (value_ptradd): Assert that the value argument is not | |
7547 | lval_xcallable. | |
7548 | * valops.c (value_must_coerce_to_target): Return 0 for | |
7549 | lval_xcallable values. | |
7550 | * value.c (struct value): New field XM_WORKER in the field | |
7551 | LOCATION. | |
7552 | (value_address, value_raw_address): Return 0 for lval_xcallable | |
7553 | values. | |
7554 | (set_value_address): Assert that the value is not an | |
7555 | lval_xcallable. | |
7556 | (value_free): Free the associated xmethod worker when freeing | |
7557 | lval_xcallable values. | |
7558 | (set_value_component_location): Assert that the WHOLE value is not | |
7559 | lval_xcallable. | |
7560 | (value_of_xmethod, call_xmethod): New functions. | |
7561 | * value.h: Declare "struct xmethod_worker". | |
7562 | Declare new functions value_of_xmethod, call_xmethod. | |
7563 | ||
ef370185 JB |
7564 | 2014-06-03 Joel Brobecker <brobecker@adacore.com> |
7565 | Pedro Alves <palves@redhat.com> | |
7566 | ||
7567 | PR breakpoints/17000 | |
7568 | * breakpoint.c (find_non_raw_software_breakpoint_inserted_here): | |
7569 | New function, extracted from software_breakpoint_inserted_here_p. | |
7570 | (software_breakpoint_inserted_here_p): Replace factored out code | |
7571 | by call to find_non_raw_software_breakpoint_inserted_here. | |
7572 | (bp_target_info_copy_insertion_state): New function. | |
7573 | (bkpt_insert_location): Handle the case of a single-step | |
7574 | breakpoint already inserted at the same address. | |
7575 | (bkpt_remove_location): Handle the case of a single-step | |
7576 | breakpoint still inserted at the same address. | |
7577 | (deprecated_insert_raw_breakpoint): Handle the case of non-raw | |
7578 | breakpoint already inserted at the same address. | |
7579 | (deprecated_remove_raw_breakpoint): Handle the case of a | |
7580 | non-raw breakpoint still inserted at the same address. | |
7581 | (find_single_step_breakpoint): New function, extracted from | |
7582 | single_step_breakpoint_inserted_here_p. | |
7583 | (find_single_step_breakpoint): New function, | |
7584 | factored out from single_step_breakpoint_inserted_here_p. | |
7585 | (single_step_breakpoint_inserted_here_p): Reimplement. | |
7586 | ||
1e2ccb61 BM |
7587 | 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch) |
7588 | ||
7589 | Pushed by Joel Brobecker <brobecker@adacore.com> | |
7590 | * source.c (show_substitute_path_command): Fix display of matching | |
7591 | substitution rules. | |
7592 | ||
d3448d85 GB |
7593 | 2014-06-03 Gary Benson <gbenson@redhat.com> |
7594 | ||
7595 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Use gdb_demangle. | |
7596 | ||
06eb1586 DE |
7597 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7598 | ||
7599 | Add parameter support for Guile. | |
7600 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-param.o. | |
7601 | (SUBDIR_GUILE_SRCS): Add scm-param.c. | |
7602 | (scm-param.o): New rule. | |
7603 | * guile/guile-internal.h (gdbscm_gc_dup_argv): Declare. | |
7604 | (gdbscm_misc_error): Declare. | |
7605 | (gdbscm_canonicalize_command_name): Declare. | |
7606 | (gdbscm_scm_to_host_string): Declare. | |
7607 | (gdbscm_scm_from_host_string): Declare. | |
7608 | (gdbscm_initialize_parameters): Declare. | |
7609 | * guile/guile.c (initialize_gdb_module): Call | |
7610 | gdbscm_initialize_parameters. | |
7611 | * guile/lib/gdb.scm: Export parameter symbols. | |
7612 | * guile/scm-cmd.c (gdbscm_canonicalize_command_name): Renamed from | |
7613 | cmdscm_canonicalize_name and made public. All callers updated. | |
7614 | * guile/scm-exception.c (gdbscm_misc_error): New function. | |
7615 | * guile/scm-param.c: New file. | |
7616 | * guile/scm-string.c (gdbscm_scm_to_string): Add comments. | |
7617 | (gdbscm_scm_to_host_string): New function. | |
7618 | (gdbscm_scm_from_host_string): New function. | |
7619 | * scm-utils.c (gdbscm_gc_dup_argv): New function. | |
7620 | ||
e698b8c4 DE |
7621 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7622 | ||
7623 | Add command support for Guile. | |
7624 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-cmd.o. | |
7625 | (SUBDIR_GUILE_SRCS): Add scm-cmd.c. | |
7626 | (scm-cmd.o): New rule. | |
7627 | * guile/guile-internal.h (gdbscm_gc_xstrdup): Declare. | |
7628 | (gdbscm_user_error_p): Declare. | |
7629 | (gdbscm_parse_command_name): Declare. | |
7630 | (gdbscm_valid_command_class_p): Declare. | |
7631 | (gdbscm_initialize_commands): Declare. | |
7632 | * guile/guile.c (initialize_gdb_module): Call | |
7633 | gdbscm_initialize_commands. | |
7634 | * guile/lib/gdb.scm: Export command symbols. | |
7635 | * guile/lib/gdb/init.scm (%exception-keys): Add gdb:user-error. | |
7636 | (throw-user-error): New function. | |
7637 | * guile/scm-cmd.c: New file. | |
7638 | * guile/scm-exception.c (user_error_symbol): New static global. | |
7639 | (gdbscm_user_error_p): New function. | |
7640 | (gdbscm_initialize_exceptions): Set user_error_symbol. | |
7641 | * scm-utils.c (gdbscm_gc_xstrdup): New function. | |
7642 | ||
fb1f94b0 PM |
7643 | 2014-06-02 Phil Muldoon <pmuldoon@redhat.com> |
7644 | ||
7645 | * top.c (command_loop): Handle comments here... | |
7646 | (command_line_input): ... not here. | |
7647 | ||
ded03782 DE |
7648 | 2014-06-02 Doug Evans <xdje42@gmail.com> |
7649 | ||
7650 | Add progspace support for Guile. | |
7651 | * Makefile.in (SUBDIR_GUILE_OBS): Add scm-progspace.o. | |
7652 | (SUBDIR_GUILE_SRCS): Add scm-progspace.c. | |
7653 | (scm-progspace.o): New rule. | |
7654 | * guile/guile-internal.h (pspace_smob): New typedef. | |
7655 | (psscm_pspace_smob_pretty_printers): Declare. | |
7656 | (psscm_pspace_smob_from_pspace): Declare. | |
7657 | (psscm_scm_from_pspace): Declare. | |
7658 | * guile/guile.c (initialize_gdb_module): Call | |
7659 | gdbscm_initialize_pspaces. | |
7660 | * guile/lib/gdb.scm: Export progspace symbols. | |
7661 | * guile/lib/gdb/printing.scm (prepend-pretty-printer!): Add progspace | |
7662 | support. | |
7663 | (append-pretty-printer!): Ditto. | |
7664 | * guile/scm-pretty-print.c (ppscm_find_pretty_printer_from_progspace): | |
7665 | Implement. | |
7666 | * guile/scm-progspace.c: New file. | |
7667 | ||
397998fc AM |
7668 | 2014-06-03 Alan Modra <amodra@gmail.com> |
7669 | ||
7670 | * ppc64-tdep.c (ppc64_standard_linkage8): New. | |
7671 | (ppc64_skip_trampoline_code): Recognise ELFv2 stub supporting fusion. | |
7672 | ||
6aa5f3a6 DE |
7673 | 2014-06-02 Doug Evans <dje@google.com> |
7674 | ||
7675 | Add support for skeletonless type units. | |
7676 | * dwarf2read.c (struct dwarf2_per_objfile): New member | |
7677 | n_allocated_type_units. | |
7678 | (struct dwarf2_per_objfile) <tu_stats>: New member | |
7679 | nr_all_type_units_reallocs. | |
7680 | (create_signatured_type_table_from_index): Initialize | |
7681 | n_allocated_type_units | |
7682 | (create_all_type_units): Ditto. | |
7683 | (add_type_unit): Move up in file. New arg slot. | |
7684 | All callers updated. Increase space for all_type_units more | |
7685 | efficiently. | |
7686 | (fill_in_sig_entry_from_dwo_entry): Handle psymtabs. | |
7687 | (lookup_dwo_signatured_type): Handle skeletonless TUs. | |
7688 | (lookup_dwp_signatured_type): Ditto. | |
7689 | (init_tu_and_read_dwo_dies): New arg use_existing_cu. | |
7690 | All callers updated. | |
7691 | (build_type_psymtabs_1): Leave type_unit_groups as | |
7692 | NULL if no TUs present. | |
7693 | (print_tu_stats): New function. | |
7694 | (process_skeletonless_type_unit): New function. | |
7695 | (process_dwo_file_for_skeletonless_type_units): New | |
7696 | function. | |
7697 | (process_skeletonless_type_units): New function. | |
7698 | (dwarf2_build_psymtabs_hard): Handle skeletonless TUs. | |
7699 | Call print tu_stats if debugging enabled. | |
7700 | ||
41fac0cf PA |
7701 | 2014-06-02 Pedro Alves <palves@redhat.com> |
7702 | ||
7703 | * breakpoint.c (build_target_command_list): Don't build a command | |
7704 | list if we have any duplicate location that isn't a dprintf. | |
7705 | ||
cd1608cc PA |
7706 | 2014-06-02 Pedro Alves <palves@redhat.com> |
7707 | ||
7708 | * breakpoint.c (dprintf_breakpoint_hit): New function. | |
7709 | (initialize_breakpoint_ops): Install it as dprintf's | |
7710 | breakpoint_hit method. | |
7711 | ||
486ef3b9 JB |
7712 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
7713 | ||
7714 | * source.c (substitute_path_rule_matches): Simplify using | |
7715 | filename_ncmp instead of FILENAME_CMP. | |
7716 | ||
230cd560 JB |
7717 | 2014-06-02 Joel Brobecker <brobecker@adacore.com> |
7718 | ||
7719 | * source.c (substitute_path_rule_matches): Remove trailing spaces. | |
7720 | ||
16954d5d LC |
7721 | 2014-06-01 Ludovic Courtès <ludo@gnu.org> |
7722 | ||
7723 | * configure.ac: When Guile is available, check for the | |
7724 | availability of 'scm_new_smob'. | |
7725 | * configure, config.h.in: Regenerate. | |
7726 | * guile/guile-internal.h (scm_new_smob) [!HAVE_SCM_NEW_SMOB]: New | |
7727 | function. | |
7728 | ||
53e8a631 AB |
7729 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7730 | ||
7731 | * frame.c (struct frame_info): Add stop_string field. | |
7732 | (get_prev_frame_always_1): Renamed from get_prev_frame_always. | |
7733 | (get_prev_frame_always): Old content moved into | |
7734 | get_prev_frame_always_1. Call get_prev_frame_always_1 inside | |
7735 | TRY_CATCH, handle MEMORY_ERROR exceptions. | |
7736 | (frame_stop_reason_string): New function definition. | |
7737 | * frame.h (unwind_stop_reason_to_string): Extend comment to | |
7738 | mention frame_stop_reason_string. | |
7739 | (frame_stop_reason_string): New function declaration. | |
7740 | * stack.c (frame_info): Switch to frame_stop_reason_string. | |
7741 | (backtrace_command_1): Switch to frame_stop_reason_string. | |
7742 | * unwind_stop_reason.def: Add UNWIND_MEMORY_ERROR. | |
7743 | (LAST_ENTRY): Changed to UNWIND_MEMORY_ERROR. | |
7744 | * guile/lib/gdb.scm: Add FRAME_UNWIND_MEMORY_ERROR to export list. | |
7745 | ||
70e38b8e AB |
7746 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7747 | ||
7748 | * frame.c (frame_stop_reason_string): Rename to ... | |
7749 | (unwind_stop_reason_to_string): this. | |
7750 | * frame.h (frame_stop_reason_string): Rename to ... | |
7751 | (unwind_stop_reason_to_string): this. | |
7752 | * stack.c (frame_info): Update call to frame_stop_reason_string. | |
7753 | (backtrace_command_1): Likewise. | |
7754 | * guile/scm-frame.c (gdbscm_unwind_stop_reason_string): Likewise. | |
7755 | * python/py-frame.c (gdbpy_frame_stop_reason_string): Likewise. | |
7756 | ||
938f0e2f AB |
7757 | 2014-05-30 Andrew Burgess <aburgess@broadcom.com> |
7758 | ||
7759 | * frame.c (remove_prev_frame): New function. | |
7760 | (get_prev_frame_if_no_cycle): Create / discard cleanup using | |
7761 | remove_prev_frame. | |
7762 | ||
a09dd441 PA |
7763 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7764 | ||
7765 | * infrun.c (resume): Rename local 'hw_step' to 'entry_step' | |
7766 | and make it const. When a single-step decays to a continue, | |
7767 | clear 'step', not 'hw_step'. Pass whether the caller wanted | |
7768 | to step to user_visible_resume_ptid, not what we ask the | |
7769 | target to do. | |
7770 | ||
bdc36728 PA |
7771 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7772 | ||
7773 | * infrun.c (process_event_stop_test, handle_step_into_function) | |
7774 | (handle_step_into_function_backward): Adjust. | |
7775 | Don't set the even thread's stop_step and call stop_waiting before | |
7776 | calling end_stepping_range. Instead do that ... | |
7777 | (end_stepping_range): ... here. Take an ecs pointer parameter. | |
7778 | ||
22bcd14b PA |
7779 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7780 | ||
7781 | * infrun.c (stop_stepping): Rename to ... | |
7782 | (stop_waiting): ... this. | |
7783 | (proceed): Update comment. | |
7784 | (process_event_stop_test, handle_inferior_event) | |
7785 | (handle_signal_stop, handle_step_into_function) | |
7786 | (handle_step_into_function_backward): Update. | |
7787 | ||
4ae57c05 PA |
7788 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7789 | ||
7790 | * infcall.c (run_inferior_call): Don't check whether the current | |
7791 | thread is running after the proceed call. | |
7792 | ||
329ea579 PA |
7793 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7794 | Tom Tromey <tromey@redhat.com> | |
7795 | ||
7796 | * NEWS: Mention "maint set target-async", "set mi-async", and that | |
7797 | background execution commands are now always available. | |
7798 | * target.h (target_async_permitted): Update comment. | |
7799 | * target.c (target_async_permitted, target_async_permitted_1): | |
7800 | Default to 1. | |
7801 | (set_target_async_command): Rename to ... | |
7802 | (maint_set_target_async_command): ... this. | |
7803 | (show_target_async_command): Rename to ... | |
7804 | (maint_show_target_async_command): ... this. | |
7805 | (_initialize_target): Adjust. | |
7806 | * infcmd.c (prepare_execution_command): Make extern. | |
7807 | * inferior.h (prepare_execution_command): Declare. | |
7808 | * infrun.c (set_observer_mode): Leave target async alone. | |
7809 | * mi/mi-interp.c (mi_interpreter_init): Install | |
7810 | mi_on_sync_execution_done as sync_execution_done observer. | |
7811 | (mi_on_sync_execution_done): New function. | |
7812 | (mi_execute_command_input_handler): Don't print the prompt if we | |
7813 | just started a synchronous command with an async target. | |
7814 | (mi_on_resume): Check sync_execution before printing prompt. | |
7815 | * mi/mi-main.h (mi_async_p): Declare. | |
7816 | * mi/mi-main.c: Include gdbcmd.h. | |
7817 | (mi_async_p): New function. | |
7818 | (mi_async, mi_async_1): New globals. | |
7819 | (set_mi_async_command, show_mi_async_command, mi_async): New | |
7820 | functions. | |
7821 | (exec_continue): Call prepare_execution_command. | |
7822 | (run_one_inferior, mi_cmd_exec_run, mi_cmd_list_target_features) | |
7823 | (mi_execute_async_cli_command): Use mi_async_p. | |
7824 | (_initialize_mi_main): Install "set mi-async". Make | |
7825 | "target-async" a deprecated alias. | |
7826 | ||
92bcb5f9 PA |
7827 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7828 | ||
7829 | * cli/cli-interp.c (cli_interpreter_display_prompt_p): Delete. | |
7830 | (_initialize_cli_interp): Adjust. | |
7831 | * event-loop.c: Include "observer.h". | |
7832 | (start_event_loop): Notify 'command_error' observers instead of | |
7833 | calling display_gdb_prompt. Remove FIXME comment. | |
7834 | * event-top.c (display_gdb_prompt): Remove call into the | |
7835 | interpreters. | |
7836 | * inf-loop.c: Include "observer.h". | |
7837 | (inferior_event_handler): Notify 'command_error' observers instead | |
7838 | of calling display_gdb_prompt. | |
7839 | * infrun.c (fetch_inferior_event): Notify 'sync_execution_done' | |
7840 | observers instead of calling display_gdb_prompt. | |
7841 | * interps.c (interp_set): Don't call display_gdb_prompt. | |
7842 | (current_interp_display_prompt_p): Delete. | |
7843 | * interps.h (interp_prompt_p): Delete declaration. | |
7844 | (interp_prompt_p_ftype): Delete. | |
7845 | (struct interp_procs) <prompt_proc_p>: Delete field. | |
7846 | (current_interp_display_prompt_p): Delete declaration. | |
7847 | * mi-interp.c (mi_interpreter_prompt_p): Delete. | |
7848 | (_initialize_mi_interp): Adjust. | |
7849 | * tui-interp.c (tui_init): Install 'sync_execution_done' and | |
7850 | 'command_error' observers. | |
7851 | (tui_on_sync_execution_done, tui_on_command_error): New | |
7852 | functions. | |
7853 | (tui_display_prompt_p): Delete. | |
7854 | (_initialize_tui_interp): Adjust. | |
7855 | ||
fd664c91 PA |
7856 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7857 | ||
7858 | PR gdb/13860 | |
7859 | * cli/cli-interp.c: Include infrun.h and observer.h. | |
7860 | (cli_uiout, cli_interp): New globals. | |
7861 | (cli_on_signal_received, cli_on_end_stepping_range) | |
7862 | (cli_on_signal_exited, cli_on_exited, cli_on_no_history): New | |
7863 | functions. | |
7864 | (cli_interpreter_init): Install them as 'end_stepping_range', | |
7865 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7866 | observers. | |
7867 | (_initialize_cli_interp): Remove cli_interp local. | |
7868 | * infrun.c (handle_inferior_event): Call the several stop reason | |
7869 | observers instead of printing the stop reason directly. | |
7870 | (end_stepping_range): New function. | |
7871 | (print_end_stepping_range_reason, print_signal_exited_reason) | |
7872 | (print_exited_reason, print_signal_received_reason) | |
7873 | (print_no_history_reason): Make static, and add an uiout | |
7874 | parameter. Print to that instead of to CURRENT_UIOUT. | |
7875 | * infrun.h (print_end_stepping_range_reason) | |
7876 | (print_signal_exited_reason, print_exited_reason) | |
7877 | (print_signal_received_reason print_no_history_reason): New | |
7878 | declarations. | |
7879 | * mi/mi-common.h (struct mi_interp): Rename 'uiout' field to | |
7880 | 'mi_uiout'. | |
7881 | <cli_uiout>: New field. | |
7882 | * mi/mi-interp.c (mi_interpreter_init): Adjust. Create the new | |
7883 | uiout for CLI output. Install 'signal_received', | |
7884 | 'end_stepping_range', 'signal_exited', 'exited' and 'no_history' | |
7885 | observers. | |
7886 | (find_mi_interpreter, mi_interp_data, mi_on_signal_received) | |
7887 | (mi_on_end_stepping_range, mi_on_signal_exited, mi_on_exited) | |
7888 | (mi_on_no_history): New functions. | |
7889 | (ui_out_free_cleanup): Delete function. | |
7890 | (mi_on_normal_stop): Don't allocate a new uiout for CLI output, | |
7891 | instead use the one already stored in the MI interpreter data. | |
7892 | (mi_ui_out): Adjust. | |
7893 | * tui/tui-interp.c: Include infrun.h and observer.h. | |
7894 | (tui_interp): New global. | |
7895 | (tui_on_signal_received, tui_on_end_stepping_range) | |
7896 | (tui_on_signal_exited, tui_on_exited) | |
7897 | (tui_on_no_history): New functions. | |
7898 | (tui_init): Install them as 'end_stepping_range', | |
7899 | 'signal_received' 'signal_exited', 'exited' and 'no_history' | |
7900 | observers. | |
7901 | (_initialize_tui_interp): Delete tui_interp local. | |
7902 | ||
8817a6f2 PA |
7903 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7904 | ||
7905 | PR gdb/15713 | |
7906 | * linux-nat.c (linux_nat_resume_callback): Rename the second | |
7907 | parameter to 'except'. Skip LP if it points to EXCEPT. | |
7908 | (linux_nat_resume): Don't mark the event lwp as not stopped | |
7909 | before resuming sibling lwps. Instead ask | |
7910 | linux_nat_resume_callback to skip the event lwp. Mark it as not | |
7911 | stopped after actually resuming it. | |
7912 | (linux_handle_syscall_trap): Mark the lwp as not stopped after | |
7913 | resuming it. | |
7914 | (wait_lwp): Mark the lwp as stopped here. | |
7915 | (stop_wait_callback): Mark the lwp as not stopped right after | |
7916 | resuming it. Don't mark lwps as stopped here. | |
7917 | (linux_nat_filter_event): Mark the lwp as stopped earlier. | |
7918 | (linux_nat_wait_1): Don't mark dead lwps as stopped here. | |
7919 | ||
251bde03 PA |
7920 | 2014-05-29 Pedro Alves <palves@redhat.com> |
7921 | ||
7922 | PR PR15693 | |
7923 | * infrun.c (resume): Determine how much to resume depending on | |
7924 | whether the caller wanted a step, not whether we can hardware step | |
7925 | the target. Mark all threads that we intend to run as running, | |
7926 | unless we're calling an inferior function. | |
7927 | (normal_stop): If the thread is running an infcall, don't finish | |
7928 | thread state. | |
7929 | * target.c (target_resume): Don't mark threads as running here. | |
7930 | ||
7f3c0343 JB |
7931 | 2014-05-28 Joel Brobecker <brobecker@adacore.com> |
7932 | ||
7933 | * serial.c (_initialize_serial): Remove support for | |
7934 | the "set remotebaud" and "show remotebaud" commands. | |
7935 | * NEWS: Add entry documenting the removal of that command. | |
7936 | ||
ee34b3f9 YQ |
7937 | 2014-05-28 Yao Qi <yao@codesourcery.com> |
7938 | ||
7939 | * charset.c: Fix typo in comments. | |
7940 | ||
add6c04d GB |
7941 | 2014-05-27 Gary Benson <gbenson@redhat.com> |
7942 | ||
7943 | * utils.c (internal_vproblem): Prompt for a bug report. | |
7944 | ||
92c48fc5 AW |
7945 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7946 | ||
7947 | * guile/scm-arch.c (arscm_mark_arch_smob): | |
7948 | * guile/scm-block.c (bkscm_mark_block_smob) | |
7949 | (bkscm_mark_block_syms_progress_smob): | |
7950 | * guile/scm-breakpoint.c (bpscm_mark_breakpoint_smob): | |
7951 | * guile/scm-exception.c (exscm_mark_exception_smob): | |
7952 | * guile/scm-frame.c (frscm_mark_frame_smob): | |
7953 | * guile/scm-iterator.c (itscm_mark_iterator_smob): | |
7954 | * guile/scm-lazy-string.c (lsscm_mark_lazy_string_smob): | |
7955 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): | |
7956 | * guile/scm-pretty-print.c (ppscm_mark_pretty_printer_smob) | |
7957 | (ppscm_mark_pretty_printer_worker_smob): | |
7958 | * guile/scm-symbol.c (syscm_mark_symbol_smob): | |
7959 | * guile/scm-symtab.c (stscm_mark_symtab_smob, stscm_mark_sal_smob): | |
7960 | * guile/scm-type.c (tyscm_mark_type_smob, tyscm_mark_field_smob): | |
7961 | * guile/scm-value.c (vlscm_mark_value_smob): Remove unnecessary | |
7962 | mark functions. | |
7963 | * guile/scm-symtab.c (stscm_free_sal_smob): Remove unnecessary free | |
7964 | function. | |
7965 | ||
b2715b27 AW |
7966 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7967 | Doug Evans <xdje42@gmail.com> | |
7968 | ||
7969 | * guile/guile-internal.h (GDB_SMOB_HEAD): Replace properties with | |
7970 | empty_base_class. All uses updated. | |
7971 | (gdbscm_mark_gsmob, gdbscm_mark_chained_gsmob) | |
7972 | (gdbscm_mark_eqable_gsmob): Remove these now-unneeded functions. | |
7973 | Adapt all callers. | |
7974 | * guile/scm-gsmob.c (gdbscm_mark_gsmob) | |
7975 | (gdbscm_mark_chained_gsmob, gdbscm_mark_eqable_gsmob): Remove. | |
7976 | (gdbscm_gsmob_property, gdbscm_set_gsmob_property_x) | |
7977 | (gdbscm_gsmob_has_property_p, add_property_name) | |
7978 | (gdbscm_gsmob_properties): Remove, and remove them from gsmob_functions. | |
7979 | * guile/lib/gdb.scm (gdb-object-property, set-gdb-object-property) | |
7980 | (gdb-object-has-property?, gdb-object-properties): Remove. | |
7981 | (gdb-object-kind): Renamed from gsmob-kind. | |
7982 | ||
214ab2da AW |
7983 | 2014-05-26 Andy Wingo <wingo@igalia.com> |
7984 | ||
7985 | * configure.ac (try_guile_versions): Allow building with guile 2.2. | |
7986 | * configure: Regenerate. | |
7987 | ||
589fdceb MM |
7988 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
7989 | ||
7990 | * symfile-mem.c (symbol_file_add_from_memory): Add BFD sections. | |
7991 | ||
67b5c0c1 MM |
7992 | 2014-05-23 Markus Metzger <markus.t.metzger@intel.com> |
7993 | ||
7994 | * record-btrace.c (record_btrace_allow_memory_access): Remove. | |
7995 | (replay_memory_access_read_only, replay_memory_access_read_write) | |
7996 | (replay_memory_access_types, replay_memory_access) | |
7997 | (set_record_btrace_cmdlist, show_record_btrace_cmdlist) | |
7998 | (cmd_set_record_btrace, cmd_show_record_btrace) | |
7999 | (cmd_show_replay_memory_access): New. | |
8000 | (record_btrace_xfer_partial, record_btrace_insert_breakpoint) | |
8001 | (record_btrace_remove_breakpoint): Replace | |
8002 | record_btrace_allow_memory_access with replay_memory_access. | |
8003 | (_initialize_record_btrace): Add commands. | |
8004 | * NEWS: Announce it. | |
8005 | ||
036cd381 RR |
8006 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8007 | ||
8008 | * aarch64-linux-nat.c (asm/ptrace.h): Include. | |
8009 | ||
c77c1e42 RR |
8010 | 2014-05-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
8011 | ||
8012 | * MAINTAINERS (Write After Approval): Move self back from | |
8013 | paper trail. | |
8014 | ||
45741a9c PA |
8015 | 2014-05-22 Pedro Alves <palves@redhat.com> |
8016 | ||
8017 | * inferior.h (debug_infrun, debug_displaced, stop_on_solib_events) | |
8018 | (sync_execution, sched_multi, step_stop_if_no_debug, non_stop) | |
8019 | (disable_randomization, enum exec_direction_kind) | |
8020 | (execution_direction, stop_registers, start_remote) | |
8021 | (clear_proceed_status, proceed, resume, user_visible_resume_ptid) | |
8022 | (wait_for_inferior, normal_stop, get_last_target_status) | |
8023 | (prepare_for_detach, fetch_inferior_event, init_wait_for_inferior) | |
8024 | (insert_step_resume_breakpoint_at_sal) | |
8025 | (follow_inferior_reset_breakpoints, stepping_past_instruction_at) | |
8026 | (set_step_info, print_stop_event, signal_stop_state) | |
8027 | (signal_print_state, signal_pass_state, signal_stop_update) | |
8028 | (signal_print_update, signal_pass_update) | |
8029 | (update_signals_program_target, clear_exit_convenience_vars) | |
8030 | (displaced_step_dump_bytes, update_observer_mode) | |
8031 | (signal_catch_update, gdb_signal_from_command): Move | |
8032 | declarations ... | |
8033 | * infrun.h: ... to this new file. | |
8034 | * amd64-tdep.c: Include infrun.h. | |
8035 | * annotate.c: Include infrun.h. | |
8036 | * arch-utils.c: Include infrun.h. | |
8037 | * arm-linux-tdep.c: Include infrun.h. | |
8038 | * arm-tdep.c: Include infrun.h. | |
8039 | * break-catch-sig.c: Include infrun.h. | |
8040 | * breakpoint.c: Include infrun.h. | |
8041 | * common/agent.c: Include infrun.h instead of inferior.h. | |
8042 | * corelow.c: Include infrun.h. | |
8043 | * event-top.c: Include infrun.h. | |
8044 | * go32-nat.c: Include infrun.h. | |
8045 | * i386-tdep.c: Include infrun.h. | |
8046 | * inf-loop.c: Include infrun.h. | |
8047 | * infcall.c: Include infrun.h. | |
8048 | * infcmd.c: Include infrun.h. | |
8049 | * infrun.c: Include infrun.h. | |
8050 | * linux-fork.c: Include infrun.h. | |
8051 | * linux-nat.c: Include infrun.h. | |
8052 | * linux-thread-db.c: Include infrun.h. | |
8053 | * monitor.c: Include infrun.h. | |
8054 | * nto-tdep.c: Include infrun.h. | |
8055 | * procfs.c: Include infrun.h. | |
8056 | * record-btrace.c: Include infrun.h. | |
8057 | * record-full.c: Include infrun.h. | |
8058 | * remote-m32r-sdi.c: Include infrun.h. | |
8059 | * remote-mips.c: Include infrun.h. | |
8060 | * remote-notif.c: Include infrun.h. | |
8061 | * remote-sim.c: Include infrun.h. | |
8062 | * remote.c: Include infrun.h. | |
8063 | * reverse.c: Include infrun.h. | |
8064 | * rs6000-tdep.c: Include infrun.h. | |
8065 | * s390-linux-tdep.c: Include infrun.h. | |
8066 | * solib-irix.c: Include infrun.h. | |
8067 | * solib-osf.c: Include infrun.h. | |
8068 | * solib-svr4.c: Include infrun.h. | |
8069 | * target.c: Include infrun.h. | |
8070 | * top.c: Include infrun.h. | |
8071 | * windows-nat.c: Include infrun.h. | |
8072 | * mi/mi-interp.c: Include infrun.h. | |
8073 | * mi/mi-main.c: Include infrun.h. | |
8074 | * python/py-threadevent.c: Include infrun.h. | |
8075 | ||
98eb56a4 PA |
8076 | 2014-05-22 Pedro Alves <palves@redhat.com> |
8077 | ||
8078 | * infrun.c (handle_inferior_event): Store the exit code for | |
8079 | --return-child-result here, instead of ... | |
8080 | (print_exited_reason): ... here. | |
8081 | ||
17b2616c PA |
8082 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8083 | ||
8084 | PR gdb/13860 | |
8085 | * gdbthread.h (struct thread_control_state): New field | |
8086 | `command_interp'. | |
8087 | * infrun.c (follow_fork): Copy the new thread control field to the | |
8088 | child fork thread. | |
8089 | (clear_proceed_status_thread): Clear the new thread control field. | |
8090 | (proceed): Set the new thread control field. | |
8091 | * interps.h (command_interp): Declare. | |
8092 | * interps.c (command_interpreter): New global. | |
8093 | (command_interp): New function. | |
8094 | (interp_exec): Set `command_interpreter' while here. | |
8095 | * cli-out.c (cli_uiout_dtor): New function. | |
8096 | (cli_ui_out_impl): Install it. | |
8097 | * mi/mi-interp.c: Include cli-out.h. | |
8098 | (mi_cmd_interpreter_exec): Add comment. | |
8099 | (restore_current_uiout_cleanup): New function. | |
8100 | (ui_out_free_cleanup): New function. | |
8101 | (mi_on_normal_stop): If finishing an execution command started by | |
8102 | a CLI command, or any kind of breakpoint-like event triggered, | |
8103 | print the stop event to the output (CLI) stream. | |
8104 | * mi/mi-out.c (mi_ui_out_impl): Install NULL `dtor' handler. | |
8105 | ||
5166082f PA |
8106 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8107 | ||
8108 | * cli/cli-cmds.c (list_command): Handle the first "list" after the | |
8109 | current source line having changed. | |
8110 | * frame.h (set_current_sal_from_frame): Remove 'center' parameter. | |
8111 | * infrun.c (normal_stop): Adjust call to | |
8112 | set_current_sal_from_frame. | |
8113 | * source.c (clear_lines_listed_range): New function. | |
8114 | (set_current_source_symtab_and_line, identify_source_line): Clear | |
8115 | the lines listed range. | |
8116 | (line_info): Handle the first "info line" after the current source | |
8117 | line having changed. | |
8118 | * stack.c (print_stack_frame): Remove center handling. | |
8119 | (set_current_sal_from_frame): Remove 'center' parameter. Don't | |
8120 | center sal.line. | |
8121 | ||
c1ee2fb3 PA |
8122 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8123 | ||
8124 | * inf-child.c (inf_child_mourn_inferior): New function. | |
8125 | * inf-child.h (inf_child_mourn_inferior): New declaration. | |
8126 | * darwin-nat.c (darwin_mourn_inferior): Use | |
8127 | inf_child_mourn_inferior. | |
8128 | * gnu-nat.c (gnu_mourn_inferior): Likewise. | |
8129 | * inf-ptrace.c (inf_ptrace_mourn_inferior): Likewise. | |
8130 | * inf-ttrace.c (inf_ttrace_mourn_inferior): Likewise. | |
8131 | * nto-procfs.c (procfs_mourn_inferior): Likewise. | |
8132 | * windows-nat.c (windows_mourn_inferior): Likewise. | |
8133 | ||
5c6d4fb2 DE |
8134 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
8135 | ||
250748cb | 8136 | * guile/scm-breakpoint.c (breakpoint_functions): Fix typo. |
5c6d4fb2 | 8137 | |
4a2722c5 DE |
8138 | 2014-05-21 Doug Evans <xdje42@gmail.com> |
8139 | ||
17292b30 | 8140 | * guile/scm-exception.c (gdbscm_invalid_object_error): Make result void. |
4a2722c5 DE |
8141 | (gdbscm_out_of_range_error): Ditto. |
8142 | (gdbscm_memory_error): Ditto. | |
250748cb DE |
8143 | * guile/scm-string.c (gdbscm_scm_to_target_string_unsafe): Delete. |
8144 | * guile/guile-internal.h (gdbscm_invalid_object_error): Update. | |
4a2722c5 DE |
8145 | (gdbscm_out_of_range_error): Update. |
8146 | (gdbscm_memory_error): Update. | |
8147 | (gdbscm_scm_to_target_string_unsafe): Delete. | |
8148 | ||
6a3cb8e8 PA |
8149 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8150 | ||
8151 | * inf-child.c (inf_child_ops, inf_child_explicitly_opened): New | |
8152 | globals. | |
8153 | (inf_child_open_target): New function. | |
8154 | (inf_child_open): Use inf_child_open_target to push the target | |
8155 | instead of erroring out. | |
8156 | (inf_child_disconnect, inf_child_close) | |
8157 | (inf_child_maybe_unpush_target): New functions. | |
8158 | (inf_child_target): Install inf_child_disconnect and | |
8159 | inf_child_close. Store a pointer to the returned object. | |
8160 | * inf-child.h (inf_child_open_target, inf_child_maybe_unpush): New | |
8161 | declarations. | |
8162 | * target.c (auto_connect_native_target): New global. | |
8163 | (show_default_run_target): New function. | |
8164 | (find_default_run_target): Return NULL if automatically connecting | |
8165 | to the native target is disabled. | |
8166 | (_initialize_target): Install set/show auto-connect-native-target. | |
8167 | * NEWS: Mention "set auto-connect-native-target", and "target | |
8168 | native". | |
8169 | * linux-nat.c (super_close): New global. | |
8170 | (linux_nat_close): Call super_close. | |
8171 | (linux_nat_add_target): Store a pointer to the base class's | |
8172 | to_close method. | |
8173 | * inf-ptrace.c (inf_ptrace_mourn_inferior, inf_ptrace_detach): Use | |
8174 | inf_child_maybe_unpush. | |
8175 | * inf-ttrace.c (inf_ttrace_him): Don't push the target if it is | |
8176 | already pushed. | |
8177 | (inf_ttrace_mourn_inferior): Only unpush the target after mourning | |
8178 | the inferior. Use inf_child_maybe_unpush_target. | |
8179 | (inf_ttrace_attach): Don't push the target if it is already | |
8180 | pushed. | |
8181 | (inf_ttrace_detach): Use inf_child_maybe_unpush_target. | |
8182 | * darwin-nat.c (darwin_mourn_inferior): Only unpush the target | |
8183 | after mourning the inferior. Use inf_child_maybe_unpush_target. | |
8184 | (darwin_attach_pid): Don't push the target if it is already | |
8185 | pushed. | |
8186 | * gnu-nat.c (gnu_mourn_inferior): Only unpush the target after | |
8187 | mourning the inferior. Use inf_child_maybe_unpush_target. | |
8188 | (gnu_detach): Use inf_child_maybe_unpush_target. | |
8189 | * go32-nat.c (go32_create_inferior): Don't push the target if it | |
8190 | is already pushed. | |
8191 | (go32_mourn_inferior): Use inf_child_maybe_unpush_target. | |
8192 | * nto-procfs.c (procfs_is_nto_target): Adjust comment. | |
8193 | (procfs_open): Rename to ... | |
8194 | (procfs_open_1): ... this. Add target_ops parameter. Adjust | |
8195 | comments. Can target_preopen before changing node. Call | |
8196 | inf_child_open_target to push the target explicitly. | |
8197 | (procfs_attach): Don't push the target if it is already pushed. | |
8198 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
8199 | (procfs_create_inferior): Don't push the target if it is already | |
8200 | pushed. | |
8201 | (nto_native_ops): New global. | |
8202 | (procfs_open): Reimplement. | |
8203 | (procfs_native_open): New function. | |
8204 | (init_procfs_targets): Install procfs_native_open as to_open of | |
8205 | "target native". Store a pointer to the "native" target in | |
8206 | nto_native_ops. | |
8207 | * procfs.c (procfs_attach): Don't push the target if it is already | |
8208 | pushed. | |
8209 | (procfs_detach): Use inf_child_maybe_unpush_target. | |
8210 | (procfs_mourn_inferior): Only unpush the target after mourning the | |
8211 | inferior. Use inf_child_maybe_unpush_target. | |
8212 | (procfs_init_inferior): Don't push the target if it is already | |
8213 | pushed. | |
8214 | * windows-nat.c (do_initial_windows_stuff): Don't push the target | |
8215 | if it is already pushed. | |
8216 | ||
930ee1b1 PA |
8217 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8218 | ||
8219 | * NEWS: Mention that the "child", "GNU, "djgpp", "darwin-child" | |
8220 | and "procfs" targets are now called "native" instead. | |
8221 | ||
1f5d1b13 PA |
8222 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8223 | ||
8224 | * go32-nat.c (go32_open): Delete. | |
8225 | (go32_target): Don't override the to_open method. | |
8226 | ||
132f8e03 PA |
8227 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8228 | ||
8229 | * nto-procfs.c (procfs_can_run): New function. | |
8230 | (nto_procfs_ops): New global. | |
8231 | (init_procfs_targets): New, based on procfs_target. Install | |
8232 | "target native" in addition to "target procfs". | |
8233 | (_initialize_procfs): Call init_procfs_targets instead of adding | |
8234 | the target here. | |
8235 | ||
03c136c3 PA |
8236 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8237 | ||
8238 | * windows-nat.c (windows_target): Don't override to_shortname, | |
8239 | to_longname or to_doc. | |
8240 | ||
a635d0f3 PA |
8241 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8242 | ||
8243 | * gnu-nat.c (gnu): Don't override to_shortname, to_longname or | |
8244 | to_doc. | |
8245 | ||
4f9b5133 PA |
8246 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8247 | ||
8248 | * darwin-nat.c (_initialize_darwin_inferior): Don't override | |
8249 | to_shortname, to_longname or to_doc. | |
8250 | ||
bc85afde PA |
8251 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8252 | ||
8253 | * go32-nat.c (go32_target): Don't override to_shortname, | |
8254 | to_longname or to_doc. | |
8255 | ||
4ebfc96e PA |
8256 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8257 | ||
8258 | * inf-child.c (inf_child_open): Remove mention of "child". | |
8259 | (inf_child_target): Rename target to "native" instead of "child". | |
8260 | ||
2648dfed AA |
8261 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8262 | ||
8263 | * Makefile.in (SFILES): Delete "regset.c". | |
8264 | (COMMON_OBS): Delete "regset.o". | |
8265 | * regset.c: Remove. | |
8266 | * regset.h (regset_alloc): Delete prototype. | |
8267 | ||
b13feb94 AA |
8268 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8269 | ||
8270 | * sparc-linux-tdep.c (sparc32_linux_gregset) | |
8271 | (sparc32_linux_fpregset): New static regset structures. | |
8272 | (sparc32_linux_init_abi): Drop dynamic regset allocations. | |
8273 | * sparc-tdep.h (struct gdbarch_tdep): Constify 'gregset' and | |
8274 | 'fpregset' fields. | |
8275 | * sparc64-linux-tdep.c: (sparc64_linux_gregset) | |
8276 | (sparc64_linux_fpregset): New static regset structures. | |
8277 | (sparc64_linux_init_abi): Drop dynamic regset allocations. | |
8278 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset, sparc64fbsd_fpregset): | |
8279 | New static regset structures. | |
8280 | (sparc64fbsd_init_abi): Drop dynamic regset allocations. | |
8281 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset, sparc64nbsd_fpregset): | |
8282 | New static regset structures. | |
8283 | (sparc64nbsd_init_abi): Drop dynamic regset allocations. | |
8284 | * sparc64obsd-tdep.c (sparc64obsd_gregset, sparc64obsd_fpregset): | |
8285 | New static regset structures. | |
8286 | (sparc64obsd_init_abi): Drop dynamic regset allocations. | |
8287 | * sparcnbsd-tdep.c (sparc32nbsd_gregset, sparc32nbsd_fpregset): | |
8288 | New static regset structures. | |
8289 | (sparc32nbsd_init_abi): Drop dynamic regset allocations. | |
8290 | ||
b4fd25c9 AA |
8291 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8292 | ||
8293 | * sparc-linux-nat.c (supply_gregset, supply_fpregset) | |
8294 | (fill_gregset, fill_fpregset, _initialize_sparc_linux_nat): Rename | |
8295 | register maps ("regmaps") from "*regset" to "*regmap". Do this | |
8296 | for all regmap types and variables. | |
8297 | * sparc-linux-tdep.c (sparc32_linux_step_trap) | |
8298 | (sparc32_linux_supply_core_gregset) | |
8299 | (sparc32_linux_collect_core_gregset) | |
8300 | (sparc32_linux_supply_core_fpregset) | |
8301 | (sparc32_linux_collect_core_fpregset): Likewise. | |
8302 | * sparc-nat.c (sparc_gregset, sparc_fpregset): Rename to... | |
8303 | (sparc_gregmap, sparc_fpregmap): ... these. | |
8304 | (sparc_supply_gregset, sparc_collect_gregset) | |
8305 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
8306 | (sparc_fetch_inferior_registers, sparc_store_inferior_registers) | |
8307 | (_initialize_sparc_nat): Rename regmaps. | |
8308 | * sparc-nat.h (sparc_gregset, sparc_fpregset): Rename to... | |
8309 | (sparc_gregmap, sparc_fpregmap): ... these. | |
8310 | (sparc_supply_gregset, sparc_collect_gregset) | |
8311 | (sparc_supply_fpregset, sparc_collect_fpregset): Likewise. | |
8312 | * sparc-sol2-nat.c (sparc_sol2_gregset, sparc_sol2_fpregset): | |
8313 | Rename macros to... | |
8314 | (sparc_sol2_gregmap, sparc_sol2_fpregmap): ... these. | |
8315 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset): | |
8316 | Likewise. | |
8317 | * sparc-sol2-tdep.c (sparc32_sol2_gregset, sparc32_sol2_fpregset): | |
8318 | Rename to... | |
8319 | (sparc32_sol2_gregmap, sparc32_sol2_fpregmap): ... these. | |
8320 | * sparc-tdep.c (sparc32_supply_gregset, sparc32_collect_gregset) | |
8321 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Rename | |
8322 | regmaps. | |
8323 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
8324 | (sparc32_bsd_fpregset): Rename to... | |
8325 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
8326 | (sparc32_bsd_fpregmap): ... these. | |
8327 | * sparc-tdep.h (struct sparc_gregset, struct sparc_fpregset) | |
8328 | (sparc32_sunos4_gregset, sparc32_sunos4_fpregset) | |
8329 | (sparc32_bsd_fpregset, sparc32_sol2_gregset) | |
8330 | (sparc32_sol2_fpregset, sparc32nbsd_gregset): Rename to... | |
8331 | (struct sparc_gregmap, struct sparc_fpregmap) | |
8332 | (sparc32_sunos4_gregmap, sparc32_sunos4_fpregmap) | |
8333 | (sparc32_bsd_fpregmap, sparc32_sol2_gregmap) | |
8334 | (sparc32_sol2_fpregmap, sparc32nbsd_gregmap): ... these. | |
8335 | (sparc32_supply_regset, sparc32_collect_gregset) | |
8336 | (sparc32_supply_fpregset, sparc32_collect_fpregset): Adjust | |
8337 | prototypes. | |
8338 | * sparc64-linux-nat.c (sparc64_linux_ptrace_gregset): Rename to... | |
8339 | (sparc64_linux_ptrace_gregmap): ... this. | |
8340 | (supply_gregset, supply_fpregset, fill_gregset, fill_fpregset) | |
8341 | (_initialize_sparc64_linux_nat): Rename regmaps. | |
8342 | * sparc64-linux-tdep.c (sparc64_linux_core_gregset): Rename to... | |
8343 | (sparc64_linux_core_gregmap): ... this. | |
8344 | (sparc64_linux_supply_core_gregset) | |
8345 | (sparc64_linux_collect_core_gregset) | |
8346 | (sparc64_linux_supply_core_fpregset) | |
8347 | (sparc64_linux_collect_core_fpregset): Rename regmaps. | |
8348 | * sparc64-sol2-tdep.c (sparc64_sol2_gregset) | |
8349 | (sparc64_sol2_fpregset): Rename to... | |
8350 | (sparc64_sol2_gregmap, sparc64_sol2_fpregmap): ... these. | |
8351 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
8352 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Rename | |
8353 | regmaps. | |
8354 | * sparc64-tdep.h (struct sparc_gregset, sparc64_sol2_gregset) | |
8355 | (sparc64_sol2_fpregset, sparc64fbsd_gregset, sparc64nbsd_gregset) | |
8356 | (sparc64_bsd_fpregset): Rename to... | |
8357 | (struct sparc_gregmap, sparc64_sol2_gregmap) | |
8358 | (sparc64_sol2_fpregmap, sparc64fbsd_gregmap, sparc64nbsd_gregmap) | |
8359 | (sparc64_bsd_fpregmap): ... these. | |
8360 | (sparc64_supply_gregset, sparc64_collect_gregset) | |
8361 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Adjust | |
8362 | prototypes. | |
8363 | * sparc64fbsd-nat.c (_initialize_sparc64fbsd_nat): Rename regmaps. | |
8364 | * sparc64fbsd-tdep.c (sparc64fbsd_gregset): Rename to... | |
8365 | (sparc64fbsd_gregmap): ... this. | |
8366 | (sparc64fbsd_supply_gregset, sparc64fbsd_collect_gregset) | |
8367 | (sparc64fbsd_supply_fpregset, sparc64fbsd_collect_fpregset): | |
8368 | Rename regmaps. | |
8369 | * sparc64nbsd-nat.c (sparc64nbsd_supply_gregset) | |
8370 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
8371 | (sparc64nbsd_collect_fpregset): Likewise. | |
8372 | * sparc64nbsd-tdep.c (sparc64nbsd_gregset): Rename to... | |
8373 | (sparc64nbsd_gregmap): ... this. | |
8374 | (sparc64nbsd_supply_gregset, sparc64nbsd_supply_fpregset): Rename | |
8375 | regmaps. | |
8376 | * sparc64obsd-nat.c (_initialize_sparc64obsd_nat): Likewise. | |
8377 | * sparc64obsd-tdep.c (sparc64obsd_gregset): Rename to... | |
8378 | (sparc64obsd_gregmap): ... this. | |
8379 | (sparc64obsd_supply_gregset, sparc64obsd_supply_fpregset): Rename | |
8380 | regmaps. | |
8381 | * sparcnbsd-nat.c (_initialize_sparcnbsd_nat): Likewise. | |
8382 | * sparcnbsd-tdep.c (sparc32nbsd_gregset): Rename to... | |
8383 | (sparc32nbsd_gregmap): ... this. | |
8384 | (sparc32nbsd_supply_gregset, sparc32nbsd_supply_fpregset): Rename | |
8385 | regmaps. | |
8386 | ||
8fea3224 AA |
8387 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8388 | ||
8389 | * score-tdep.c (score7_linux_gregset): New static regset | |
8390 | structure. | |
8391 | (score7_linux_regset_from_core_section): Remove dynamic regset | |
8392 | allocation. | |
8393 | (score_gdbarch_init): Drop allocation of tdep structure. | |
8394 | * score-tdep.h (struct gdbarch_tdep): Remove declaration. | |
8395 | ||
24534243 AA |
8396 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8397 | ||
8398 | * mn10300-linux-tdep.c (am33_gregset, am33_fpregset): New static | |
8399 | regset structures. | |
8400 | (am33_regset_from_core_section): Remove dynamic regset | |
8401 | allocations. | |
8402 | ||
b7195f27 AA |
8403 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8404 | ||
8405 | * mips-linux-tdep.c (mips_linux_gregset, mips64_linux_gregset) | |
8406 | (mips_linux_fpregset, mips64_linux_fpregset): New static regset | |
8407 | structures. | |
8408 | (mips_linux_regset_from_core_section): Remove dynamic regset | |
8409 | allocations. | |
8410 | * mips-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8411 | 'gregset64', 'fpregset', and 'fpregset64'. | |
8412 | * mips-tdep.c (mips_gdbarch_init): Remove initialization of | |
8413 | deleted tdep fields. | |
8414 | ||
ecc37a5a AA |
8415 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8416 | ||
8417 | * amd64-tdep.c (amd64_fpregset, amd64_xstateregset): New static | |
8418 | regset structures. | |
8419 | (amd64_regset_from_core_section): Remove dynamic regset | |
8420 | allocations. | |
8421 | * amd64obsd-tdep.c (amd64obsd_combined_regset): New static regset | |
8422 | structure. | |
8423 | (amd64obsd_regset_from_core_section): Remove dynamic regset | |
8424 | allocation. | |
8425 | * i386-cygwin-tdep.c (i386_windows_regset_from_core_section): | |
8426 | Likewise. | |
8427 | * i386-nto-tdep.c (i386nto_supply_gregset): Adjust call to | |
8428 | x86-common regset supply function. | |
8429 | * i386-tdep.c (i386_collect_gregset): Make static. | |
8430 | (i386_gregset): New global regset structure. | |
8431 | (i386_fpregset, i386_xstateregset): New static regset structures. | |
8432 | (i386_regset_from_core_section): Remove dynamic regset | |
8433 | allocations. | |
8434 | (i386_gdbarch_init): Remove initialization of tdep fields | |
8435 | 'gregset', 'fpregset', and 'xstateregset'. | |
8436 | * i386-tdep.h (struct gdbarch_tdep): Remove fields 'gregset', | |
8437 | 'fpregset', and 'xstateregset'. | |
8438 | (i386_collect_gregset): Remove prototype. | |
8439 | (i386_gregset): New declaration. | |
8440 | * i386obsd-tdep.c (i386obsd_aout_gregset): New static regset | |
8441 | structure. | |
8442 | (i386obsd_aout_regset_from_core_section): Remove dynamic regset | |
8443 | allocation. | |
8444 | ||
b7611c43 AA |
8445 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8446 | ||
8447 | * arm-linux-tdep.c (arm_linux_gregset, arm_linux_fpregset) | |
8448 | (arm_linux_vfpregset): New static regset structures. | |
8449 | (arm_linux_regset_from_core_section): Remove dynamic allocation of | |
8450 | regset structures. | |
8451 | * arm-tdep.h (struct gdbarch_tdep): Remove 'gregset', 'fpregset', | |
8452 | and 'vfpregset' fields. | |
8453 | ||
a069a2bd AA |
8454 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8455 | ||
8456 | * aarch64-linux-tdep.c (aarch64_linux_gregset) | |
8457 | (aarch64_linux_fpregset): New static regset structures. | |
8458 | (aarch64_linux_regset_from_core_section): Drop dynamic allocation | |
8459 | of regset structures. | |
8460 | * aarch64-tdep.h (struct gdbarch_tdep): Remove 'gregset' and | |
8461 | 'fpregset' fields. | |
8462 | ||
09424cff AA |
8463 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8464 | ||
8465 | * regset.h (struct regset): Remove gdbarch field. | |
8466 | * regset.c (regset_alloc): Drop initialization of gdbarch field. | |
8467 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8468 | * ppcfbsd-tdep.c (ppc32_fbsd_gregset, ppc64_fbsd_gregset): | |
8469 | Likewise. | |
8470 | * ppc-linux-tdep.c (ppc32_linux_gregset, ppc64_linux_gregset) | |
8471 | (ppc32_linux_fpregset, ppc32_linux_vrregset) | |
8472 | (ppc32_linux_vsxregset): Likewise. | |
8473 | * i386obsd-tdep.c (i386obsd_aout_supply_regset): Get the gdbarch | |
8474 | via the regcache instead of the regset. | |
8475 | * i386-tdep.c (i386_supply_gregset, i386_collect_gregset) | |
8476 | (i386_supply_fpregset, i386_collect_fpregset): Likewise. | |
8477 | * amd64obsd-tdep.c (amd64obsd_supply_regset): Likewise. | |
8478 | * amd64-tdep.c (amd64_supply_fpregset, amd64_collect_fpregset): | |
8479 | Likewise. | |
8480 | ||
3ca7dae4 AA |
8481 | 2014-05-21 Andreas Arnez <arnez@linux.vnet.ibm.com> |
8482 | ||
8483 | * alpha-linux-tdep.c (alpha_linux_gregset, alpha_linux_fpregset): | |
8484 | Constify structures. | |
8485 | * alphanbsd-tdep.c (alphanbsd_gregset, alphanbsd_fpregset) | |
8486 | (alphanbsd_aout_gregset): Likewise. | |
8487 | * armbsd-tdep.c (armbsd_gregset, armbsd_fpregset): Likewise. | |
8488 | * frv-linux-tdep.c (frv_linux_gregset, frv_linux_fpregset): | |
8489 | Likewise. | |
8490 | * hppa-hpux-tdep.c (hppa_hpux_regset): Likewise. | |
8491 | * hppa-linux-tdep.c (hppa_linux_regset, hppa_linux_fpregset): | |
8492 | Likewise. | |
8493 | * hppanbsd-tdep.c (hppanbsd_gregset): Likewise. | |
8494 | * hppaobsd-tdep.c (hppaobsd_gregset, hppaobsd_fpregset): Likewise. | |
8495 | * m32r-linux-tdep.c (m32r_linux_gregset): Likewise. | |
8496 | * m68kbsd-tdep.c (m68kbsd_gregset, m68kbsd_fpregset): Likewise. | |
8497 | * m88k-tdep.c (m88k_gregset): Likewise. | |
8498 | * mips64obsd-tdep.c (mips64obsd_gregset): Likewise. | |
8499 | * mipsnbsd-tdep.c (mipsnbsd_gregset, mipsnbsd_fpregset): Likewise. | |
8500 | * nios2-linux-tdep.c (nios2_core_regset): Likewise. | |
8501 | * ppcfbsd-tdep.c (ppc32_fbsd_fpregset): Likewise. | |
8502 | * ppcnbsd-tdep.c (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8503 | * ppcnbsd-tdep.h (ppcnbsd_gregset, ppcnbsd_fpregset): Likewise. | |
8504 | * ppcobsd-tdep.c (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8505 | * ppcobsd-tdep.h (ppcobsd_gregset, ppcobsd_fpregset): Likewise. | |
8506 | * rs6000-aix-tdep.c (rs6000_aix32_regset, rs6000_aix64_regset): | |
8507 | Likewise. | |
8508 | * sh-tdep.c (sh_corefile_gregset, sh_corefile_fpregset): Likewise. | |
8509 | * sh-tdep.h (sh_corefile_gregset): Likewise. | |
8510 | * tilegx-linux-tdep.c (tilegx_linux_regset): Likewise. | |
8511 | * vax-tdep.c (vax_gregset): Likewise. | |
8512 | ||
5876f503 JK |
8513 | 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
8514 | ||
8515 | Fix TLS access for -static -pthread. | |
8516 | * linux-thread-db.c (struct thread_db_info): Add td_thr_tlsbase_p. | |
8517 | (try_thread_db_load_1): Initialize it. | |
8518 | (thread_db_get_thread_local_address): Call it if LM is zero. | |
8519 | * target.c (target_translate_tls_address): Remove LM_ADDR zero check. | |
8520 | * target.h (struct target_ops) (to_get_thread_local_address): Add | |
8521 | load_module_addr comment. | |
8522 | ||
0256a6ac PA |
8523 | 2014-05-21 Pedro Alves <palves@redhat.com> |
8524 | ||
8525 | * dcache.c (dcache_read_memory_partial): If reading the cache line | |
8526 | fails, fallback to reading just the memory the caller wanted. | |
8527 | ||
227533ac DE |
8528 | 2014-05-20 Doug Evans <dje@google.com> |
8529 | ||
8530 | * python/py-progspace.c (py_free_pspace): Call target_gdbarch | |
8531 | instead of get_current_arch. | |
8532 | ||
936d2992 PA |
8533 | 2014-05-20 Pedro Alves <palves@redhat.com> |
8534 | ||
8535 | * NEWS: Mention that compare-sections now works with all targets. | |
8536 | ||
8537 | * remote.c (PACKET_qCRC): New enum value. | |
8538 | (remote_verify_memory): Don't send qCRC if the target has no | |
8539 | execution. Use packet_support/packet_ok. If the target doesn't | |
8540 | support the qCRC packet, fallback to a deep memory copy. | |
8541 | (compare_sections_command): Say "target image" instead of "remote | |
8542 | executable". | |
8543 | (_initialize_remote): Add PACKET_qCRC to the list of config | |
8544 | packets that have no associated command. Extend comment. | |
8545 | * target.c (simple_verify_memory, default_verify_memory): New | |
8546 | function. | |
8547 | * target.h (struct target_ops) <to_verify_memory>: Default to | |
8548 | default_verify_memory. | |
8549 | (simple_verify_memory): New declaration. | |
8550 | * target-delegates.c: Regenerate. | |
8551 | ||
e59fa00f MM |
8552 | 2014-05-20 Markus Metzger <markus.t.metzger@intel.com> |
8553 | ||
8554 | * record-btrace.c (record_btrace_step_thread): Check for empty history. | |
8555 | ||
f2205de0 HZ |
8556 | 2014-05-20 Hui Zhu <hui@codesourcery.com> |
8557 | Yao Qi <yao@codesourcery.com> | |
8558 | ||
8559 | PR backtrace/16558 | |
8560 | * aarch64-linux-tdep.c (aarch64_linux_sigframe_init): Update comments | |
8561 | and change address of sp and pc. | |
8562 | ||
c4e54771 TT |
8563 | 2014-05-19 Tom Tromey <tromey@redhat.com> |
8564 | ||
8565 | * gdbtypes.c (rank_function): Use XNEWVEC. | |
8566 | * mi/mi-cmds.c (build_table): Use XCNEWVEC. | |
8567 | ||
73051182 DE |
8568 | 2014-05-19 Doug Evans <dje@google.com> |
8569 | ||
8570 | * dwarf2read.c (build_type_psymtabs_1): Renamed from | |
8571 | build_type_unit_groups and moved closer to only caller. Remove | |
8572 | arguments. All references updated. Remove outdated .gdb_index | |
8573 | comment. | |
8574 | (struct tu_abbrev_offset, sort_tu_by_abbrev_offset): Move with | |
8575 | build_type_psymtabs_1. | |
8576 | ||
8832e7e3 DE |
8577 | 2014-05-19 Doug Evans <dje@google.com> |
8578 | ||
8579 | * dwarf2read.c (struct dwarf2_per_objfile): Delete unused members | |
8580 | n_type_unit_groups, all_type_unit_groups. All uses removed. | |
8581 | (get_type_unit_group, build_type_unit_groups): Delete forward decls. | |
8582 | (dw2_get_cutu): Renamed from dw2_get_cu. All callers updated. | |
8583 | (dw2_get_cu): Renamed from dw2_get_primary_cu. All callers updated. | |
8584 | (add_type_unit_group_to_table): Delete. | |
8585 | ||
cd8ae15e DE |
8586 | 2014-05-19 Doug Evans <dje@google.com> |
8587 | ||
8588 | * eval.c (evaluate_subexp_standard): Add some comments. | |
8589 | ||
08f4850b DE |
8590 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
8591 | ||
8592 | * progspace.c (remove_program_space): Delete, unused. | |
8593 | * progspace.h (remove_program_space): Ditto. | |
8594 | ||
bed8455c DE |
8595 | 2014-05-17 Doug Evans <xdje42@gmail.com> |
8596 | ||
8597 | * inferior.c (prune_inferiors): Fix comment. | |
8598 | (remove_inferior_command): Call prune_program_spaces. | |
8599 | ||
8d551b02 DE |
8600 | 2014-05-16 Doug Evans <dje@google.com> |
8601 | ||
8602 | New command line option -D. | |
8603 | * NEWS: Mention it. | |
8604 | * main.c (set_gdb_data_directory): New function. | |
8605 | (captured_main): Recognize -D. Flag error for --data-directory "". | |
8606 | Call set_gdb_data_directory. | |
8607 | (print_gdb_help): Print --data-directory, -D. | |
8608 | * main.h (set_gdb_data_directory): Declare. | |
8609 | * top.c (staged_gdb_datadir): New static global. | |
8610 | (set_gdb_datadir): Call set_gdb_data_directory | |
8611 | (show_gdb_datadir): New function. | |
8612 | (init_main): Update init of data-directory parameter. | |
8613 | ||
18848e28 GF |
8614 | 2014-05-16 Gregory Fong <gregory.0xf0@gmail.com> |
8615 | ||
8616 | Import the "dirfd" gnulib module. | |
8617 | * gnulib/update-gnulib.sh (IMPORTED_GNULIB_MODULES): Add dirfd. | |
8618 | * gnulib/aclocal.m4: Update. | |
8619 | * gnulib/config.in: Update. | |
8620 | * gnulib/configure: Update. | |
8621 | * gnulib/import/Makefile.am: Update. | |
8622 | * gnulib/import/Makefile.in: Update. | |
8623 | * gnulib/import/dirfd.c: New. | |
8624 | * gnulib/import/m4/dirfd.m4: New. | |
8625 | * gnulib/import/m4/gnulib-cache.m4: Update. | |
8626 | * gnulib/import/m4/gnulib-comp.m4: Update. | |
8627 | ||
95c64f92 YQ |
8628 | 2014-05-16 Pierre Muller <muller@sourceware.org> |
8629 | Yao Qi <yao@codesourcery.com> | |
8630 | ||
8631 | * valprint.c (print_wchar): Move the code on checking whether | |
8632 | W is a printable wide char to the default branch of switch | |
8633 | statement below. Call wchar_printable instead of gdb_iswprint. | |
8634 | ||
cac395ea TM |
8635 | 2014-05-16 Taimoor Mirza <tmirza@codesourcery.com> |
8636 | ||
19679eca | 8637 | * arm-tdep.c (thumb_analyze_prologue): Fix offset calculation for |
cac395ea TM |
8638 | ldr.w and ldrd instructions. |
8639 | ||
83655187 DE |
8640 | 2014-05-15 Doug Evans <dje@google.com> |
8641 | ||
8642 | * dwarf2read.c (read_structure_type): Delete outdated comments. | |
8643 | ||
dd756689 TT |
8644 | 2014-05-14 Tom Tromey <tromey@redhat.com> |
8645 | ||
8646 | * macrocmd.c (print_macro_definition): Reindent. | |
8647 | ||
75ddda77 DE |
8648 | 2014-05-13 Doug Evans <xdje42@gmail.com> |
8649 | ||
8650 | * python/py-cmd.c (cmdpy_completer): Add comment. | |
8651 | (completers): Make const. | |
8652 | ||
b0f16a3e SM |
8653 | 2014-05-13 Simon Marchi <simon.marchi@ericsson.com> |
8654 | ||
8655 | * infrun.c (resume): Remove should_resume (unused). Move up | |
8656 | declaration of resume_ptid. | |
8657 | ||
033c3379 TT |
8658 | 2014-05-13 Tom Tromey <tromey@redhat.com> |
8659 | ||
8660 | * language.h (unop_type_check): Remove. | |
8661 | (binop_type_check): Don't declare. | |
8662 | ||
9b44a3a5 AA |
8663 | 2014-05-13 Andreas Arnez <arnez@vnet.linux.ibm.com> |
8664 | ||
8665 | * s390-linux-nat.c (fill_gregset): Remove erroneous offset 4 in | |
8666 | call to regcache_raw_collect. | |
8667 | ||
303a33fa SM |
8668 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
8669 | ||
8670 | * mi/mi-console.c (mi_console_raw_packet): Use the value from | |
8671 | mi_console->quote as the quoting character. | |
8672 | ||
196100a0 SM |
8673 | 2014-05-12 Simon Marchi <simon.marchi@ericsson.com> |
8674 | ||
8675 | * MAINTAINERS (Write After Approval): Add "Simon Marchi". | |
8676 | ||
f989a1c8 TT |
8677 | 2014-04-29 Tom Tromey <tromey@redhat.com> |
8678 | ||
8679 | * varobj.c (_initialize_varobj): Rename to "set debug varobj" and | |
8680 | "show debug varobj". | |
8681 | ||
9404b58f KM |
8682 | 2014-05-07 Kyle McMartin <kyle@redhat.com> |
8683 | ||
8684 | Pushed by Joel Brobecker <brobecker@adacore.com>. | |
8685 | * aarch64-tdep.c (aarch64_software_single_step): New function. | |
8686 | (aarch64_gdbarch_init): Handle single stepping of atomic sequences | |
8687 | with aarch64_software_single_step. | |
8688 | ||
5e49ba57 JB |
8689 | 2014-05-05 Joel Brobecker <brobecker@adacore.com> |
8690 | ||
8691 | GDB 7.7.1 released. | |
8692 | ||
c888a17d KS |
8693 | 2014-05-05 Keith Seitz <keiths@redhat.com> |
8694 | ||
8695 | * linespec.c (linespec_parse_basic): Run cleanups if a convenience | |
8696 | variable or history value is successfully parsed. | |
8697 | ||
290a839c YQ |
8698 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
8699 | Pedro Alves <palves@redhat.com> | |
8700 | ||
8701 | * tracefile-tfile.c (tfile_xfer_partial): Record the lowest | |
8702 | address of blocks that intersects the requested range. Trim | |
8703 | LEN up to LOW_ADDR_AVAILABLE if read from executable read-only | |
8704 | sections. | |
8705 | * ctf.c (ctf_xfer_partial): Likewise. | |
8706 | ||
91256dc2 YQ |
8707 | 2014-05-05 Yao Qi <yao@codesourcery.com> |
8708 | ||
8709 | * printcmd.c (display_command): Remove the check to | |
8710 | target_has_execution. | |
8711 | ||
07284463 MK |
8712 | 2014-05-03 Mark Kettenis <kettenis@gnu.org> |
8713 | ||
8714 | * ppcobsd-nat.c: Include "obsd-nat.h". | |
8715 | (_initialize_ppcobsd_nat): Call obsd_add_target instead of | |
8716 | add_target. | |
8717 | * config/powerpc/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
8718 | ||
30a1e6cc SDJ |
8719 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8720 | ||
8721 | * stap-probe.c (enum stap_arg_bitness): New enums to represent 8 | |
8722 | and 16-bit signed and unsigned arguments. Update comment. | |
8723 | (stap_parse_probe_arguments): Extend code to handle such | |
8724 | arguments. Use warning instead of complaint to notify about | |
8725 | unrecognized bitness. | |
8726 | ||
f33da99a SDJ |
8727 | 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com> |
8728 | ||
8729 | PR breakpoints/16889 | |
8730 | * stap-probe.c (stap_parse_probe_arguments): Simplify | |
8731 | check for non-prefixed probes (i.e., probes whose | |
8732 | arguments do not start with "N@"). Always set the | |
8733 | argument type to a sane value. | |
8734 | ||
95cf3b38 DT |
8735 | 2014-05-01 David Taylor <dtaylor@emc.com> |
8736 | ||
8737 | * remote.c (compare_sections_command): Add -r option to compare | |
8738 | all loadable read-only sections. | |
8739 | ||
1cfdf534 SC |
8740 | 2014-04-30 Siva Chandra Reddy <sivachandra@google.com> |
8741 | ||
8742 | * dwarf2loc.c (dwarf2_locexpr_baton_eval, | |
8743 | dwarf2_evaluate_property): Remove unused CORE_ADDR argument. | |
8744 | Update all callers. | |
8745 | * dwarf2loc.h (dwarf2_evaluate_property): Update signature. | |
8746 | * gdbtypes.c (resolve_dynamic_range, resolve_dynamic_array): | |
8747 | Remove unused CORE_ADDR argument. Update all callers. | |
8748 | ||
ca4f7f8b PA |
8749 | 2014-04-29 Pedro Alves <palves@redhat.com> |
8750 | ||
8751 | * remote.c (struct packet_config) <detect>: Extend comment. | |
8752 | (add_packet_config_cmd): Don't set the config's detect or support | |
8753 | fields here. | |
8754 | (init_all_packet_configs): Also initialize the config's 'detect' | |
8755 | field. | |
8756 | (reset_all_packet_configs_support): New function. | |
8757 | (remote_open_1): Call reset_all_packet_configs_support instead of | |
8758 | init_all_packet_configs. | |
8759 | (_initialize_remote): Initialize all packet configs. Assert that | |
8760 | all packets have an associated command, except a few known | |
8761 | outliers. | |
8762 | ||
11c1ba78 JB |
8763 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8764 | ||
8765 | * dwarf2read.c (read_subrange_type): Handle dynamic | |
8766 | DW_AT_lower_bound attributes. | |
8767 | ||
8739bc53 JB |
8768 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8769 | ||
8770 | * ada-lang.c (ada_discrete_type_high_bound): Resolve the type's | |
8771 | dynamic bounds before computing its upper bound. | |
8772 | (ada_discrete_type_low_bound): Same as above with the lower bound. | |
8773 | ||
6f8a3220 JB |
8774 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8775 | ||
8776 | * dwarf2read.c (is_dynamic_type): Return true for dynamic | |
8777 | range types. Adjust the array handling implementation to | |
8778 | take advantage of this change. | |
8779 | (resolve_dynamic_range): New function, mostly extracted from | |
8780 | resolve_dynamic_bounds. | |
8781 | (resolve_dynamic_array): New function, mostly extracted from | |
8782 | resolve_dynamic_bounds. | |
8783 | (resolve_dynamic_bounds): Delete. | |
8784 | (resolve_dynamic_type): Reimplement. Add handling of | |
8785 | TYPE_CODE_RANGE types. | |
8786 | ||
4d072ce4 JB |
8787 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8788 | ||
8789 | * ada-varobj.c (ada_varobj_describe_simple_array_child): Remove | |
8790 | handling of parallel ___XA types. | |
8791 | ||
52865325 JB |
8792 | 2014-04-28 Joel Brobecker <brobecker@adacore.com> |
8793 | ||
8794 | * ada-lang.c (ada_evaluate_subexp) <OP_VAR_VALUE>: Remove | |
8795 | unnecessary second call to static_unwrap_type. | |
8796 | ||
433e77fa HZ |
8797 | 2014-04-27 Hui Zhu <hui@codesourcery.com> |
8798 | ||
8799 | * stack.c (print_frame_info): Call do_gdb_disassembly with | |
8800 | DUMMY_FRAME, SIGTRAMP_FRAME and ARCH_FRAME. | |
8801 | ||
b51a69ee DE |
8802 | 2014-04-26 Doug Evans <xdje42@gmail.com> |
8803 | ||
8804 | * guile/scm-safe-call.c (scscm_eval_scheme_string): Fix comment. | |
8805 | ||
7ae1a6a6 PA |
8806 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8807 | ||
8808 | PR server/16255 | |
8809 | * common/linux-ptrace.c (linux_ptrace_attach_warnings): Rename to ... | |
8810 | (linux_ptrace_attach_fail_reason): ... this. Remove "warning: " | |
8811 | and newline from built string. | |
8812 | * common/linux-ptrace.h (linux_ptrace_attach_warnings): Rename to ... | |
8813 | (linux_ptrace_attach_fail_reason): ... this. | |
8814 | * linux-nat.c (linux_nat_attach): Adjust to use | |
8815 | linux_ptrace_attach_fail_reason. | |
8816 | ||
4082afcc PA |
8817 | 2014-04-25 Pedro Alves <palves@redhat.com> |
8818 | ||
8819 | * remote.c (struct remote_state): Remove multi_process_aware, | |
8820 | non_stop_aware, cond_tracepoints, cond_breakpoints, | |
8821 | breakpoint_commands, fast_tracepoints, static_tracepoints, | |
8822 | install_in_trace, disconnected_tracing, | |
8823 | enable_disable_tracepoints, string_tracing, and | |
8824 | augmented_libraries_svr4_read fields. | |
8825 | (remote_multi_process_p): Move further below in the file. | |
8826 | (struct packet_config): Add comments. | |
8827 | (update_packet_config): Delete function. | |
8828 | (show_packet_config_cmd): Use packet_config_support. | |
8829 | (add_packet_config_cmd): Use NULL as set callback. | |
8830 | (packet_ok): "set remote foo-packet"-style commands no longer | |
8831 | change config->supported -- adjust. | |
8832 | (PACKET_ConditionalTracepoints, PACKET_ConditionalBreakpoints) | |
8833 | (PACKET_BreakpointCommands, PACKET_FastTracepoints) | |
8834 | (PACKET_StaticTracepoints, PACKET_InstallInTrace): Add comments. | |
8835 | (PACKET_QNonStop, PACKET_multiprocess_feature) | |
8836 | (PACKET_EnableDisableTracepoints_feature, PACKET_tracenz_feature) | |
8837 | (PACKET_DisconnectedTracing_feature) | |
8838 | (PACKET_augmented_libraries_svr4_read_feature): New enum values. | |
8839 | (set_remote_protocol_packet_cmd): Delete function. | |
8840 | (packet_config_support, packet_support): New functions. | |
8841 | (set_remote_protocol_Z_packet_cmd): Don't call | |
8842 | update_packet_config. | |
8843 | (remote_query_attached, remote_pass_signals) | |
8844 | (remote_program_signals, remote_threads_info) | |
8845 | (remote_threads_extra_info, remote_start_remote): Use | |
8846 | packet_support. | |
8847 | (remote_start_remote): Use packet_config_support and | |
8848 | packet_support. | |
8849 | (init_all_packet_configs): Set all packets to unknown support, | |
8850 | instead of calling update_packet_config. | |
8851 | (remote_check_symbols): Use packet_support. | |
8852 | (remote_supported_packet): Unconditionally set the packet config's | |
8853 | support status. | |
8854 | (remote_multi_process_feature, remote_non_stop_feature) | |
8855 | (remote_cond_tracepoint_feature, remote_cond_breakpoint_feature) | |
8856 | (remote_breakpoint_commands_feature) | |
8857 | (remote_fast_tracepoint_feature, remote_static_tracepoint_feature) | |
8858 | (remote_install_in_trace_feature) | |
8859 | (remote_disconnected_tracing_feature) | |
8860 | (remote_enable_disable_tracepoint_feature) | |
8861 | (remote_string_tracing_feature) | |
8862 | (remote_augmented_libraries_svr4_read_feature): Delete functions. | |
8863 | (remote_protocol_features): Adjust to use remote_supported_packet | |
8864 | for "augmented-libraries-svr4-read", "multiprocess", "QNonStop", | |
8865 | "ConditionalTracepoints", "ConditionalBreakpoints", | |
8866 | "BreakpointCommands", "FastTracepoints", "StaticTracepoints", | |
8867 | "InstallInTrace", "DisconnectedTracing", "DisconnectedTracing", | |
8868 | "EnableDisableTracepoints", and "tracenz". | |
8869 | (remote_query_supported): Use packet_support. | |
8870 | (remote_open_1): Adjust. | |
8871 | (extended_remote_attach_1): Use packet_support. Switch on the | |
8872 | result of packet_ok instead of checking whether the packet ended | |
8873 | up disabled. | |
8874 | (remote_vcont_resume): Use packet_support. | |
8875 | (remote_resume, remote_stop_ns, fetch_register_using_p) | |
8876 | (remote_prepare_to_store, store_register_using_P) | |
8877 | (check_binary_download, remote_write_bytes): Use packet_support. | |
8878 | (remote_vkill): Use packet_support. Switch on the result of | |
8879 | packet_ok instead of checking whether the packet ended up | |
8880 | disabled. | |
8881 | (extended_remote_supports_disable_randomization): Use | |
8882 | packet_support. | |
8883 | (extended_remote_run): Switch on the result of packet_ok instead | |
8884 | of checking whether the packet ended up disabled. | |
8885 | (remote_insert_breakpoint, remote_remove_breakpoint) | |
8886 | (remote_insert_watchpoint, remote_remove_watchpoint) | |
8887 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Use | |
8888 | packet_support. | |
8889 | (remote_search_memory): Use packet_config_support. | |
8890 | (remote_get_thread_local_address, remote_get_tib_address) | |
8891 | (remote_hostio_send_command, remote_can_execute_reverse): Use | |
8892 | packet_support. | |
8893 | (remote_supports_cond_tracepoints) | |
8894 | (remote_supports_cond_breakpoints) | |
8895 | (remote_supports_fast_tracepoints) | |
8896 | (remote_supports_static_tracepoints) | |
8897 | (remote_supports_install_in_trace) | |
8898 | (remote_supports_enable_disable_tracepoint) | |
8899 | (remote_supports_string_tracing) | |
8900 | (remote_can_run_breakpoint_commands): Rewrite, checking whether | |
8901 | the packet config says the feature is enabled or disabled. | |
8902 | (remote_download_tracepoint, remote_trace_set_readonly_regions) | |
8903 | (remote_get_trace_status): Use packet_support. | |
8904 | (remote_set_disconnected_tracing): Adjust to check whether the | |
8905 | feature is enabled with packet_support. | |
8906 | (remote_set_trace_buffer_size, remote_use_agent) | |
8907 | (remote_can_use_agent, remote_supports_btrace): Use | |
8908 | packet_support. | |
8909 | (remote_enable_btrace, remote_disable_btrace, remote_read_btrace): | |
8910 | Use packet_config_support. | |
8911 | (remote_augmented_libraries_svr4_read): Rewrite, checking whether | |
8912 | the packet config says the feature is enabled or disabled. | |
8913 | (set_range_stepping): Use packet_support. | |
8914 | ||
bdb52a22 TT |
8915 | 2014-04-25 Tom Tromey <tromey@redhat.com> |
8916 | ||
8917 | * cli/cli-cmds.c (_initialize_cli_cmds): Document "quit" command's | |
8918 | argument. | |
8919 | ||
e9475ead SA |
8920 | 2014-04-24 Sanimir Agovic <sanimir.agovic@intel.com> |
8921 | ||
8922 | * NEWS: Mention support for C99 variable length arrays. | |
8923 | ||
82eacd52 JB |
8924 | 2014-04-24 Joel Brobecker <brobecker@adacore.com> |
8925 | ||
8926 | * ada-lang.c (standard_exc): Expand introductory comment. | |
8927 | ||
01f9f808 MS |
8928 | 2014-04-24 Michael Sturm <michael.sturm@mintel.com> |
8929 | Walfred Tedeschi <walfred.tedeschi@intel.com> | |
8930 | ||
8931 | * amd64-linux-nat.c (amd64_linux_gregset32_reg_offset): Add | |
8932 | AVX512 registers. | |
8933 | (amd64_linux_read_description): Add code to handle AVX512 xstate | |
8934 | mask and return respective tdesc. | |
8935 | * amd64-linux-tdep.c: Include features/i386/amd64-avx512-linux.c | |
8936 | and features/i386/x32-avx512-linux.c. | |
8937 | (amd64_linux_gregset_reg_offset): Add AVX512 registers. | |
8938 | (amd64_linux_core_read_description): Add code to handle AVX512 | |
8939 | xstate mask and return respective tdesc. | |
8940 | (_initialize_amd64_linux_tdep): Initialize AVX512 tdesc. | |
8941 | * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Adjust regnum | |
8942 | calculation. | |
8943 | (AMD64_LINUX_NUM_REGS): Adjust to new number of registers. | |
8944 | (tdesc_amd64_avx512_linux): New prototype. | |
8945 | (tdesc_x32_avx512_linux): Likewise. | |
8946 | * amd64-tdep.c: Include features/i386/amd64-avx512.c and | |
8947 | features/i386/x32-avx512.c. | |
8948 | (amd64_ymm_avx512_names): New register names for pseudo | |
8949 | registers YMM16-31. | |
8950 | (amd64_ymmh_avx512_names): New register names for raw registers | |
8951 | YMMH16-31. | |
8952 | (amd64_k_names): New register names for K registers. | |
8953 | (amd64_zmmh_names): New register names for ZMM raw registers. | |
8954 | (amd64_zmm_names): New registers names for ZMM pseudo registers. | |
8955 | (amd64_xmm_avx512_names): New register names for XMM16-31 | |
8956 | registers. | |
8957 | (amd64_pseudo_register_name): Add code to return AVX512 pseudo | |
8958 | registers. | |
8959 | (amd64_init_abi): Add code to intitialize AVX512 tdep variables | |
8960 | if feature is present. | |
8961 | (_initialize_amd64_tdep): Call AVX512 tdesc initializers. | |
8962 | * amd64-tdep.h (enum amd64_regnum): Add AVX512 registers. | |
8963 | (AMD64_NUM_REGS): Adjust to new number of registers. | |
8964 | * i386-linux-nat.c (GETXSTATEREGS_SUPPLIES): Extend range of | |
8965 | registers supplied via XSTATE by AVX512 registers. | |
8966 | (i386_linux_read_description): Add case for AVX512. | |
8967 | * i386-linux-tdep.c: Include i386-avx512-linux.c. | |
8968 | (i386_linux_gregset_reg_offset): Add AVX512 registers. | |
8969 | (i386_linux_core_read_description): Add case for AVX512. | |
8970 | (i386_linux_init_abi): Install supported register note section | |
8971 | for AVX512. | |
8972 | (_initialize_i386_linux_tdep): Add call to tdesc init function for | |
8973 | AVX512. | |
8974 | * i386-linux-tdep.h (I386_LINUX_NUM_REGS): Set number of | |
8975 | registers to be number of zmm7h + 1. | |
8976 | (tdesc_i386_avx512_linux): Add tdesc for AVX512 registers. | |
8977 | * i386-tdep.c: Include features/i386/i386-avx512.c. | |
8978 | (i386_zmm_names): Add ZMM pseudo register names array. | |
8979 | (i386_zmmh_names): Add ZMM raw register names array. | |
8980 | (i386_k_names): Add K raw register names array. | |
8981 | (num_lower_zmm_regs): Add constant for the number of lower ZMM | |
8982 | registers. AVX512 has 16 more ZMM registers than there are YMM | |
8983 | registers. | |
8984 | (i386_zmmh_regnum_p): Add function to look up register number of | |
8985 | ZMM raw registers. | |
8986 | (i386_zmm_regnum_p): Likewise for ZMM pseudo registers. | |
8987 | (i386_k_regnum_p): Likewise for K raw registers. | |
8988 | (i386_ymmh_avx512_regnum_p): Likewise for additional YMM raw | |
8989 | registers added by AVX512. | |
8990 | (i386_ymm_avx512_regnum_p): Likewise for additional YMM pseudo | |
8991 | registers added by AVX512. | |
8992 | (i386_xmm_avx512_regnum_p): Likewise for additional XMM registers | |
8993 | added by AVX512. | |
8994 | (i386_register_name): Add code to hide YMMH16-31 and ZMMH0-31. | |
8995 | (i386_pseudo_register_name): Add ZMM pseudo registers. | |
8996 | (i386_zmm_type): Construct and return vector registers type for ZMM | |
8997 | registers. | |
8998 | (i386_pseudo_register_type): Return appropriate type for YMM16-31, | |
8999 | ZMM0-31 pseudo registers and K registers. | |
9000 | (i386_pseudo_register_read_into_value): Add code to read K, ZMM | |
9001 | and YMM16-31 registers from register cache. | |
9002 | (i386_pseudo_register_write): Add code to write K, ZMM and | |
9003 | YMM16-31 registers. | |
9004 | (i386_register_reggroup_p): Add code to include/exclude AVX512 | |
9005 | registers in/from respective register groups. | |
9006 | (i386_validate_tdesc_p): Handle AVX512 feature, add AVX512 | |
9007 | registers if feature is present in xcr0. | |
9008 | (i386_gdbarch_init): Add code to initialize AVX512 feature | |
9009 | variables in tdep structure, wire in pseudo registers and call | |
9010 | initialize_tdesc_i386_avx512. | |
9011 | * i386-tdep.h (struct gdbarch_tdep): Add AVX512 related | |
9012 | variables. | |
9013 | (i386_regnum): Add AVX512 registers. | |
9014 | (I386_SSE_NUM_REGS): New define for number of SSE registers. | |
9015 | (I386_AVX_NUM_REGS): Likewise for AVX registers. | |
9016 | (I386_AVX512_NUM_REGS): Likewise for AVX512 registers. | |
9017 | (I386_MAX_REGISTER_SIZE): Change to 64 bytes, ZMM registers are | |
9018 | 512 bits wide. | |
9019 | (i386_xmm_avx512_regnum_p): New prototype for register look up. | |
9020 | (i386_ymm_avx512_regnum_p): Likewise. | |
9021 | (i386_k_regnum_p): Likewise. | |
9022 | (i386_zmm_regnum_p): Likewise. | |
9023 | (i386_zmmh_regnum_p): Likewise. | |
9024 | * i387-tdep.c : Update year in copyright notice. | |
9025 | (xsave_ymm_avx512_offset): New table for YMM16-31 offsets in | |
9026 | XSAVE buffer. | |
9027 | (XSAVE_YMM_AVX512_ADDR): New macro. | |
9028 | (xsave_xmm_avx512_offset): New table for XMM16-31 offsets in | |
9029 | XSAVE buffer. | |
9030 | (XSAVE_XMM_AVX512_ADDR): New macro. | |
9031 | (xsave_avx512_k_offset): New table for K register offsets in | |
9032 | XSAVE buffer. | |
9033 | (XSAVE_AVX512_K_ADDR): New macro. | |
9034 | (xsave_avx512_zmm_h_offset): New table for ZMM register offsets | |
9035 | in XSAVE buffer. | |
9036 | (XSAVE_AVX512_ZMM_H_ADDR): New macro. | |
9037 | (i387_supply_xsave): Add code to supply AVX512 registers to XSAVE | |
9038 | buffer. | |
9039 | (i387_collect_xsave): Add code to collect AVX512 registers from | |
9040 | XSAVE buffer. | |
9041 | * i387-tdep.h (I387_NUM_XMM_AVX512_REGS): New define for number | |
9042 | of XMM16-31 registers. | |
9043 | (I387_NUM_K_REGS): New define for number of K registers. | |
9044 | (I387_K0_REGNUM): New define for K0 register number. | |
9045 | (I387_NUM_ZMMH_REGS): New define for number of ZMMH registers. | |
9046 | (I387_ZMM0H_REGNUM): New define for ZMM0H register number. | |
9047 | (I387_NUM_YMM_AVX512_REGS): New define for number of YMM16-31 | |
9048 | registers. | |
9049 | (I387_YMM16H_REGNUM): New define for YMM16H register number. | |
9050 | (I387_XMM16_REGNUM): New define for XMM16 register number. | |
9051 | (I387_YMM0_REGNUM): New define for YMM0 register number. | |
9052 | (I387_KEND_REGNUM): New define for last K register number. | |
9053 | (I387_ZMMENDH_REGNUM): New define for last ZMMH register number. | |
9054 | (I387_YMMH_AVX512_END_REGNUM): New define for YMM31 register | |
9055 | number. | |
9056 | (I387_XMM_AVX512_END_REGNUM): New define for XMM31 register | |
9057 | number. | |
9058 | * common/i386-xstate.h: Add AVX 3.1 feature bits, mask and XSTATE | |
9059 | size. | |
9060 | * features/Makefile: Add AVX512 related files. | |
9061 | * features/i386/32bit-avx512.xml: New file. | |
9062 | * features/i386/64bit-avx512.xml: Likewise. | |
9063 | * features/i386/amd64-avx512-linux.c: Likewise. | |
9064 | * features/i386/amd64-avx512-linux.xml: Likewise. | |
9065 | * features/i386/amd64-avx512.c: Likewise. | |
9066 | * features/i386/amd64-avx512.xml: Likewise. | |
9067 | * features/i386/i386-avx512-linux.c: Likewise. | |
9068 | * features/i386/i386-avx512-linux.xml: Likewise. | |
9069 | * features/i386/i386-avx512.c: Likewise. | |
9070 | * features/i386/i386-avx512.xml: Likewise. | |
9071 | * features/i386/x32-avx512-linux.c: Likewise. | |
9072 | * features/i386/x32-avx512-linux.xml: Likewise. | |
9073 | * features/i386/x32-avx512.c: Likewise. | |
9074 | * features/i386/x32-avx512.xml: Likewise. | |
9075 | * regformats/i386/amd64-avx512-linux.dat: New file. | |
9076 | * regformats/i386/amd64-avx512.dat: Likewise. | |
9077 | * regformats/i386/i386-avx512-linux.dat: Likewise. | |
9078 | * regformats/i386/i386-avx512.dat: Likewise. | |
9079 | * regformats/i386/x32-avx512-linux.dat: Likewise. | |
9080 | * regformats/i386/x32-avx512.dat: Likewise. | |
9081 | * NEWS: Add note about new support for AVX512. | |
9082 | ||
9083 | ||
08351840 PA |
9084 | 2014-04-23 Pedro Alves <palves@redhat.com> |
9085 | ||
9086 | * breakpoint.c (insert_bp_location): Tolerate errors if the | |
9087 | breakpoint is set in a user-loaded objfile. | |
9088 | (remove_breakpoint_1): Likewise. Also tolerate errors if the | |
9089 | location is marked shlib_disabled. If the breakpoint is set in a | |
9090 | user-loaded objfile is a GDB-side memory breakpoint, validate it | |
9091 | before uninsertion. (disable_breakpoints_in_freed_objfile): Skip | |
9092 | non-OBJF_USERLOADED objfiles. Don't clear the location's inserted | |
9093 | flag. | |
9094 | * mem-break.c (memory_validate_breakpoint): New function. | |
9095 | * objfiles.c (userloaded_objfile_contains_address_p): New | |
9096 | function. | |
9097 | * objfiles.h (userloaded_objfile_contains_address_p): Declare. | |
9098 | * target.h (memory_validate_breakpoint): New declaration. | |
9099 | ||
076855f9 PA |
9100 | 2014-04-23 Pedro Alves <palves@redhat.com> |
9101 | ||
9102 | * breakpoint.c (insert_bp_location, remove_breakpoint_1): If | |
9103 | the breakpoint is set in a shared library, only suppress | |
9104 | errors for software breakpoints, not hardware breakpoints. | |
9105 | ||
483805cf PA |
9106 | 2014-04-22 Pedro Alves <palves@redhat.com> |
9107 | ||
9108 | * infrun.c (schedlock_applies): New function, factored out from | |
9109 | find_thread_needs_step_over. | |
9110 | (find_thread_needs_step_over): Use it. | |
9111 | (switch_back_to_stepped_thread): Always clear trap_expected if the | |
9112 | step over is finished. Return early if scheduler locking applies. | |
9113 | Look for the stepping thread and a potential step-over thread with | |
9114 | a single loop. | |
9115 | (currently_stepping_or_nexting_callback): Delete. | |
9116 | ||
a75fef0e NC |
9117 | 2014-04-22 Nick Clifton <nickc@redhat.com> |
9118 | ||
9119 | * NEWS: Mention that ARM sim now supports tracing. | |
9120 | ||
48b6e87e YQ |
9121 | 2014-04-22 Yao Qi <yao@codesourcery.com> |
9122 | ||
9123 | * tracefile-tfile.c (tfile_fetch_registers): Move the bottom | |
9124 | to ... | |
9125 | * tracefile.c (tracefile_fetch_registers): ... it. New | |
9126 | function. | |
9127 | * tracefile.h (tracefile_fetch_registers): Declare. | |
9128 | * ctf.c (ctf_fetch_registers): Remove the bottom. Call | |
9129 | tracefile_fetch_registers. | |
9130 | ||
17617f2d EZ |
9131 | 2014-04-19 Eli Zaretskii <eliz@gnu.org> |
9132 | ||
9133 | PR gdb/14018 | |
9134 | * windows-nat.c (thread_rec): Don't display a warning when | |
9135 | SuspendThread fails with ERROR_ACCESS_DENIED. If SuspendThread | |
9136 | fails for any reason, set th->suspended to -1, so that we don't | |
9137 | try to resume such a thread. Also, don't return NULL in these | |
9138 | cases, to avoid completely ruin the session due to "PC register is | |
9139 | not available" error. | |
9140 | (do_windows_fetch_inferior_registers): Check errors in | |
9141 | GetThreadContext call. | |
9142 | (windows_continue): Accept an additional argument KILLED; if not | |
9143 | zero, ignore errors in the SetThreadContext call, since the | |
9144 | inferior was killed and is shutting down. | |
9145 | (windows_resume, get_windows_debug_event) | |
9146 | (windows_create_inferior, windows_mourn_inferior) | |
9147 | (windows_kill_inferior): All callers of windows_continue changed | |
9148 | to adjust to its new calling sequence. | |
9149 | ||
5723a6fd YQ |
9150 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
9151 | ||
9152 | * ctf.c (ctf_open): Call post_create_inferior. | |
9153 | ||
614d5099 YQ |
9154 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
9155 | ||
9156 | * ctf.c (handle_id): New static variable. | |
9157 | (ctf_open_dir): Get handle_id from bt_context_add_trace return | |
9158 | value. Get the declaration of event "register" and get length | |
9159 | of field "contents". | |
9160 | ||
dac3e710 YQ |
9161 | 2014-04-19 Yao Qi <yao@codesourcery.com> |
9162 | ||
9163 | * ctf.c (ctf_xfer_partial): Check 'name' is NULL before strcmp. | |
9164 | ||
2bca57ba SC |
9165 | 2014-04-18 Siva Chandra Reddy <sivachandra@google.com> |
9166 | ||
9167 | * valops.c (oload_method_static): Remove unnecessary argument | |
9168 | METHOD. Update all callers. | |
9169 | ||
51d48146 PA |
9170 | 2014-04-18 Pedro alves <palves@redhat.com> |
9171 | Tom Tromey <tromey@redhat.com> | |
9172 | ||
9173 | PR backtrace/15558 | |
9174 | * frame.c (get_prev_frame_1): Rename to ... | |
9175 | (get_prev_frame_always): ... this, and make extern. Adjust. | |
9176 | (skip_artificial_frames): Use get_prev_frame_always. | |
9177 | (frame_unwind_caller_id, frame_pop, get_prev_frame) | |
9178 | (get_frame_unwind_stop_reason): Adjust to rename. | |
9179 | * frame.h (get_prev_frame_always): Declare. | |
9180 | * inline-frame.c: Include frame.h. | |
9181 | (inline_frame_this_id): Use get_prev_frame_always. | |
9182 | ||
1bdad2e0 TG |
9183 | 2014-04-18 Tristan Gingold <gingold@adacore.com> |
9184 | ||
9185 | * solib-darwin.c (darwin_solib_create_inferior_hook): Simplify | |
9186 | code by using bfd_mach_o_get_base_address. | |
9187 | ||
7ce16bd4 UW |
9188 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
9189 | ||
9190 | * spu-tdep.c: Include "dwarf2-frame.h" and "ax.h". | |
9191 | (spu_ax_pseudo_register_collect): New function. | |
9192 | (spu_ax_pseudo_register_push_stack): Likewise. | |
9193 | (spu_dwarf_reg_to_regnum): Likewise. | |
9194 | (spu_gdbarch_init): Install them. Append DWARF unwinders. | |
9195 | ||
2ed3c037 UW |
9196 | 2014-04-17 Ulrich Weigand <uweigand@de.ibm.com> |
9197 | ||
9198 | * gdbarch.sh (value_from_register): Make class "m" instead of "f". | |
9199 | Replace FRAME argument with FRAME_ID. | |
9200 | * gdbarch.c, gdbarch.h: Regenerate. | |
9201 | * findvar.c (default_value_from_register): Add GDBARCH argument; | |
9202 | replace FRAME by FRAME_ID. No longer call get_frame_id. | |
9203 | (value_from_register): Update call to gdbarch_value_from_register. | |
9204 | * value.h (default_value_from_register): Update prototype. | |
9205 | * s390-linux-tdep.c (s390_value_from_register): Update interface | |
9206 | and call to default_value_from_register. | |
9207 | * spu-tdep.c (spu_value_from_register): Likewise. | |
9208 | ||
9209 | * findvar.c (address_from_register): Remove TYPE argument. | |
9210 | Do not call value_from_register; use gdbarch_value_from_register | |
9211 | with null_frame_id instead. | |
9212 | * value.h (address_from_register): Update prototype. | |
9213 | * dwarf2-frame.c (read_addr_from_reg): Use address_from_register. | |
9214 | * dwarf2loc.c (dwarf_expr_read_addr_from_reg): Update for | |
9215 | address_from_register interface change. | |
9216 | ||
71e50e83 YQ |
9217 | 2014-04-17 Yao Qi <yao@codesourcery.com> |
9218 | ||
9219 | * gdbtypes.h: Update comments to link to types and macros' | |
9220 | definitions. | |
9221 | ||
7a23c549 SC |
9222 | 2014-04-16 Siva Chandra Reddy <sivachandra@google.com> |
9223 | ||
9224 | * gdbtypes.h: Remove definition of the macro TYPE_FN_FIELDS. | |
9225 | ||
22869d73 KS |
9226 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
9227 | ||
9228 | PR gdb/15827 | |
9229 | * dwarf2read.c (skip_one_die): Check that all relative-offset | |
9230 | sibling DIEs fall within range of the current reader's buffer. | |
9231 | (read_partial_die): Likewise. | |
9232 | ||
c4f87ca6 KS |
9233 | 2014-04-16 Keith Seitz <keiths@redhat.com> |
9234 | ||
9235 | PR c++/16597 | |
9236 | * cp-namespace.c (lookup_symbol_file): If the type name of | |
9237 | `this' is NULL, return immediately. | |
9238 | ||
b50c8614 KS |
9239 | 2014-04-14 Keith Seitz <keiths@redhat.com> |
9240 | ||
9241 | PR c++/16253 | |
9242 | * ada-lang.c (ada_symbol_matches_domain): Moved here and renamed | |
9243 | from symbol_matches_domain in symtab.c. All local callers | |
9244 | of symbol_matches_domain updated. | |
9245 | (standard_lookup): If DOMAIN is VAR_DOMAIN and no symbol is found, | |
9246 | search STRUCT_DOMAIN. | |
9247 | (ada_find_any_type_symbol): Do not search STRUCT_DOMAIN | |
9248 | independently. standard_lookup will do that automatically. | |
9249 | * cp-namespace.c (cp_lookup_symbol_nonlocal): Explain when/why | |
9250 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
9251 | (cp_lookup_symbol_in_namespace): Likewise. | |
9252 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN. | |
9253 | (cp_lookup_symbol_exports): Explain when/why VAR_DOMAIN searches | |
9254 | may return a STRUCT_DOMAIN match. | |
9255 | (lookup_symbol_file): Search for the class name in STRUCT_DOMAIN. | |
9256 | * cp-support.c: Include language.h. | |
9257 | (inspect_type): Explicitly search STRUCT_DOMAIN before searching | |
9258 | VAR_DOMAIN. | |
9259 | * psymtab.c (match_partial_symbol): Compare the requested | |
9260 | domain with the symbol's domain directly. | |
9261 | (lookup_partial_symbol): Likewise. | |
9262 | * symtab.c (lookup_symbol_in_language): Explain when/why | |
9263 | VAR_DOMAIN searches may return a STRUCT_DOMAIN match. | |
9264 | If no VAR_DOMAIN symbol is found, search STRUCT_DOMAIN for | |
9265 | appropriate languages. | |
9266 | (symbol_matches_domain): Renamed `ada_symbol_matches_domain' | |
9267 | and moved to ada-lang.c | |
9268 | (lookup_block_symbol): Explain that this function only returns | |
9269 | symbol matching the requested DOMAIN. | |
9270 | Compare the requested domain with the symbol's domain directly. | |
9271 | (iterate_over_symbols): Compare the requested domain with the | |
9272 | symbol's domain directly. | |
9273 | * symtab.h (symbol_matches_domain): Remove. | |
9274 | ||
3d567982 TT |
9275 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
9276 | ||
9277 | PR c++/15246: | |
9278 | * c-exp.y (type_aggregate_p): New function. | |
9279 | (qualified_name, classify_inner_name): Use it. | |
9280 | * c-typeprint.c (c_type_print_base): Handle TYPE_DECLARED_CLASS | |
9281 | and TYPE_TARGET_TYPE of an enum type. | |
9282 | * dwarf2read.c (read_enumeration_type): Set TYPE_DECLARED_CLASS on | |
9283 | an enum type. | |
9284 | (determine_prefix) <case DW_TAG_enumeration_type>: New case; | |
9285 | handle TYPE_DECLARED_CLASS. | |
9286 | * gdbtypes.c (rank_one_type): Handle TYPE_DECLARED_CLASS on enum | |
9287 | types. | |
9288 | * gdbtypes.h (TYPE_DECLARED_CLASS): Update comment. | |
9289 | * valops.c (enum_constant_from_type): New function. | |
9290 | (value_aggregate_elt): Use it. | |
9291 | * cp-namespace.c (cp_lookup_nested_symbol): Handle | |
9292 | TYPE_CODE_ENUM. | |
9293 | ||
c848d642 TT |
9294 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
9295 | ||
9296 | * valops.c (value_aggregate_elt, value_struct_elt_for_reference) | |
9297 | (value_namespace_elt, value_maybe_namespace_elt): Make "name" | |
9298 | const. | |
9299 | * value.h (value_aggregate_elt): Update. | |
9300 | ||
0626fc76 TT |
9301 | 2014-04-14 Tom Tromey <tromey@redhat.com> |
9302 | ||
9303 | * dwarf2read.c (read_enumeration_type): Handle DW_AT_type. | |
9304 | ||
5ecaaa66 SA |
9305 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9306 | ||
9307 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9308 | (evaluate_subexp_standard): Pass noside argument. | |
9309 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9310 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9311 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9312 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9313 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9314 | ||
1612e0c0 SA |
9315 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9316 | ||
9317 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9318 | points to a constant blob. | |
9319 | ||
c451ebe5 SA |
9320 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9321 | ||
9322 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9323 | property and store it as the high bound and flag the range accordingly. | |
9324 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9325 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9326 | * gdbtypes.h (enum range_flags): New enum. | |
9327 | (struct range_bounds): Add flags member. | |
9328 | ||
1d42e4c4 SA |
9329 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9330 | ||
9331 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9332 | check for not yet resolved high bound. If unresolved, print | |
9333 | "variable length" string to the console instead of random | |
9334 | length. | |
9335 | ||
9f1f738a SA |
9336 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9337 | ||
9338 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from | |
9339 | value. | |
9340 | (ada_template_to_fixed_record_type_1): Likewise. | |
9341 | (ada_to_fixed_type_1): Likewise. | |
9342 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9343 | (cp_print_value): Likewise. | |
9344 | * d-valprint.c (dynamic_array_type): Likewise. | |
9345 | * findvar.c (address_of_variable): Likewise. | |
9346 | * jv-valprint.c (java_value_print): Likewise. | |
9347 | * valops.c (value_ind): Likewise. | |
9348 | * value.c (coerce_ref): Likewise. | |
9349 | ||
3c8452d4 SA |
9350 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9351 | ||
9352 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9353 | value and retrieve the dynamic type size. | |
9354 | ||
4ad88275 SA |
9355 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9356 | ||
9357 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9358 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9359 | ||
80180f79 SA |
9360 | 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com> |
9361 | Joel Brobecker <brobecker@adacore.com> | |
9362 | ||
9363 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9364 | (dwarf2_evaluate_property): New function. | |
9365 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9366 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9367 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9368 | attribute. | |
9369 | * gdbtypes.c: Include dwarf2loc.h. | |
9370 | (is_dynamic_type): New function. | |
9371 | (resolve_dynamic_type): New function. | |
9372 | (resolve_dynamic_bounds): New function. | |
9373 | (get_type_length): New function. | |
9374 | (check_typedef): Use get_type_length to compute type length. | |
9375 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9376 | (TYPE_LOW_BOUND_KIND): New macro. | |
9377 | (is_dynamic_type): New function prototype. | |
9378 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9379 | to resolve dynamic properties of the type. Update comment. | |
9380 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9381 | ||
a1556843 RH |
9382 | 2014-04-14 Richard Henderson <rth@redhat.com> |
9383 | ||
9384 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Fix prototype. | |
9385 | ||
0be03e84 DE |
9386 | 2014-04-12 Siva Chandra Reddy <sivachandra@google.com> |
9387 | Doug Evans <xdje42@gmail.com> | |
9388 | ||
9389 | * guile/scm-value.c (gdbscm_value_dynamic_type): Use coerce_ref to | |
9390 | dereference TYPE_CODE_REF values. | |
9391 | ||
6b662e19 JB |
9392 | 2014-04-11 Joel Brobecker <brobecker@adacore.com> |
9393 | ||
9394 | Revert the following changes due to regressions: | |
9395 | ||
9396 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9397 | (dwarf2_evaluate_property): New function. | |
9398 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9399 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9400 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9401 | attribute. | |
9402 | * gdbtypes.c: Include dwarf2loc.h. | |
9403 | (is_dynamic_type): New function. | |
9404 | (resolve_dynamic_type): New function. | |
9405 | (resolve_dynamic_bounds): New function. | |
9406 | (get_type_length): New function. | |
9407 | (check_typedef): Use get_type_length to compute type length. | |
9408 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9409 | (TYPE_LOW_BOUND_KIND): New macro. | |
9410 | (is_dynamic_type): New function prototype. | |
9411 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9412 | to resolve dynamic properties of the type. Update comment. | |
9413 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9414 | ||
9415 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9416 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9417 | ||
9418 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9419 | value and retrieve the dynamic type size. | |
9420 | ||
9421 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9422 | (ada_template_to_fixed_record_type_1): Likewise. | |
9423 | (ada_to_fixed_type_1): Likewise. | |
9424 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9425 | (cp_print_value): Likewise. | |
9426 | * d-valprint.c (dynamic_array_type): Likewise. | |
9427 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9428 | * findvar.c (address_of_variable): Likewise. | |
9429 | * jv-valprint.c (java_value_print): Likewise. | |
9430 | * valops.c (value_ind): Likewise. | |
9431 | * value.c (coerce_ref): Likewise. | |
9432 | ||
9433 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9434 | check for not yet resolved high bound. If unresolved, print | |
9435 | "variable length" string to the console instead of random | |
9436 | length. | |
9437 | ||
9438 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9439 | property and store it as the high bound and flag the range accordingly. | |
9440 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9441 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9442 | * gdbtypes.h (enum range_flags): New enum. | |
9443 | (struct range_bounds): Add flags member. | |
9444 | ||
9445 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9446 | points to a constant blob. | |
9447 | ||
9448 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9449 | (evaluate_subexp_standard): Pass noside argument. | |
9450 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9451 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9452 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9453 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9454 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9455 | ||
245a5f0b KS |
9456 | 2014-04-11 Keith Seitz <keiths@redhat.com> |
9457 | ||
9458 | PR c++/16675 | |
9459 | * c-exp.y (exp : SIZEOF '(' type ')'): Handle reference types. | |
9460 | * eval.c (evaluate_subexp_for_sizeof): Refactor and handle | |
9461 | reference types. | |
9462 | ||
3bce8237 SA |
9463 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9464 | ||
9465 | * eval.c (evaluate_subexp_for_sizeof): Add enum noside argument. | |
9466 | (evaluate_subexp_standard): Pass noside argument. | |
9467 | (evaluate_subexp_for_sizeof) <BINOP_SUBSCRIPT>: Handle subscript case | |
9468 | if noside equals EVAL_NORMAL. If the subscript yields a vla type | |
9469 | re-evaluate subscript operation with EVAL_NORMAL to enable sideffects. | |
9470 | * gdbtypes.c (resolve_dynamic_bounds): Mark bound as evaluated. | |
9471 | * gdbtypes.h (enum range_flags): Add RANGE_EVALUATED case. | |
9472 | ||
92b09522 SA |
9473 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9474 | ||
9475 | * findvar.c (default_read_var_value): Resolve dynamic bounds if location | |
9476 | points to a constant blob. | |
9477 | ||
e1969afb SA |
9478 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9479 | ||
9480 | * dwarf2read.c (read_subrange_type): Convert DW_AT_count to a dynamic | |
9481 | property and store it as the high bound and flag the range accordingly. | |
9482 | * gdbtypes.c (resolve_dynamic_bounds): If range is flagged as | |
9483 | RANGE_UPPER_BOUND_IS_COUNT assign low + high - 1 as the new high bound. | |
9484 | * gdbtypes.h (enum range_flags): New enum. | |
9485 | (struct range_bounds): Add flags member. | |
9486 | ||
b86138fb SA |
9487 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9488 | ||
9489 | * c-typeprint.c (c_type_print_varspec_suffix): Added | |
9490 | check for not yet resolved high bound. If unresolved, print | |
9491 | "variable length" string to the console instead of random | |
9492 | length. | |
9493 | ||
bcd629a4 SA |
9494 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9495 | ||
9496 | * ada-lang.c (ada_value_primitive_packed_val): Re-fetch type from value. | |
9497 | (ada_template_to_fixed_record_type_1): Likewise. | |
9498 | (ada_to_fixed_type_1): Likewise. | |
9499 | * cp-valprint.c (cp_print_value_fields_rtti): Likewise. | |
9500 | (cp_print_value): Likewise. | |
9501 | * d-valprint.c (dynamic_array_type): Likewise. | |
9502 | * eval.c (evaluate_subexp_with_coercion): Likewise. | |
9503 | * findvar.c (address_of_variable): Likewise. | |
9504 | * jv-valprint.c (java_value_print): Likewise. | |
9505 | * valops.c (value_ind): Likewise. | |
9506 | * value.c (coerce_ref): Likewise. | |
9507 | ||
04b19544 SA |
9508 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9509 | ||
9510 | * eval.c (evaluate_subexp_for_sizeof) <UNOP_IND>: Create an indirect | |
9511 | value and retrieve the dynamic type size. | |
9512 | ||
26cb189f SA |
9513 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9514 | ||
9515 | * eval.c (evaluate_subexp_for_sizeof) <OP_VAR_VALUE>: If the type | |
9516 | passed to sizeof is dynamic evaluate the argument to compute the length. | |
9517 | ||
37c1ab67 SA |
9518 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9519 | ||
9520 | * dwarf2loc.c (dwarf2_locexpr_baton_eval): New function. | |
9521 | (dwarf2_evaluate_property): New function. | |
9522 | * dwarf2loc.h (dwarf2_evaluate_property): New function prototype. | |
9523 | * dwarf2read.c (attr_to_dynamic_prop): New function. | |
9524 | (read_subrange_type): Use attr_to_dynamic_prop to read high bound | |
9525 | attribute. | |
9526 | * gdbtypes.c: Include dwarf2loc.h. | |
9527 | (is_dynamic_type): New function. | |
9528 | (resolve_dynamic_type): New function. | |
9529 | (resolve_dynamic_bounds): New function. | |
9530 | (get_type_length): New function. | |
9531 | (check_typedef): Use get_type_length to compute type length. | |
9532 | * gdbtypes.h (TYPE_HIGH_BOUND_KIND): New macro. | |
9533 | (TYPE_LOW_BOUND_KIND): New macro. | |
9534 | (is_dynamic_type): New function prototype. | |
9535 | * value.c (value_from_contents_and_address): Call resolve_dynamic_type | |
9536 | to resolve dynamic properties of the type. Update comment. | |
9537 | * valops.c (get_value_at, value_at, value_at_lazy): Update comment. | |
9538 | ||
729efb13 SA |
9539 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9540 | ||
9541 | * dwarf2read.c (read_subrange_type): Use struct bound_prop for | |
9542 | declaring high/low bounds and change uses accordingly. Call | |
9543 | create_range_type instead of create_static_range_type. | |
9544 | * gdbtypes.c (create_range_type): New function. | |
9545 | (create_range_type): Convert bounds into struct bound_prop and pass | |
9546 | them to create_range_type. | |
9547 | * gdbtypes.h (struct bound_prop): New struct. | |
9548 | (create_range_type): New function prototype. | |
9549 | (struct range_bounds): Use struct bound_prop instead of LONGEST for | |
9550 | high/low bounds. Remove low_undefined/high_undefined and adapt all uses. | |
9551 | (TYPE_LOW_BOUND,TYPE_HIGH_BOUND): Adapt macros to refer to the static | |
9552 | part of the bound. | |
9553 | * parse.c (follow_types): Set high bound kind to BOUND_UNDEFINED. | |
9554 | ||
0c9c3474 SA |
9555 | 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com> |
9556 | ||
9557 | * gdbtypes.c (create_static_range_type): Renamed from create_range_type. | |
9558 | * gdbtypes.h (create_static_range_type): Renamed from create_range_type. | |
9559 | * ada-lang.c: All uses of create_range_type updated. | |
9560 | * coffread.c: All uses of create_range_type updated. | |
9561 | * dwarf2read.c: All uses of create_range_type updated. | |
9562 | * f-exp.y: All uses of create_range_type updated. | |
9563 | * m2-valprint.c: All uses of create_range_type updated. | |
9564 | * mdebugread.c: All uses of create_range_type updated. | |
9565 | * stabsread.c: All uses of create_range_type updated. | |
9566 | * valops.c: All uses of create_range_type updated. | |
9567 | * valprint.c: All uses of create_range_type updated. | |
9568 | ||
9d497a19 PA |
9569 | 2014-04-10 Pedro Alves <palves@redhat.com> |
9570 | ||
9571 | * breakpoint.c (single_step_breakpoints) | |
9572 | (single_step_gdbarch): Move up in the file. | |
9573 | (one_breakpoint_xfer_memory): New function, factored out from ... | |
9574 | (breakpoint_xfer_memory): ... here. Also process single-step | |
9575 | breakpoints. | |
9576 | ||
15a9128a TG |
9577 | 2014-04-09 Tristan Gingold <gingold@adacore.com> |
9578 | ||
9579 | * darwin-nat.c (darwin_check_new_threads): Fix port leak, add | |
9580 | comments. | |
9581 | (darwin_decode_exception_message): Free port only after use. | |
9582 | ||
9c97a070 PL |
9583 | 2014-04-08 Pierre Langlois <pierre.langlois@embecosm.com> |
9584 | ||
9585 | * avr-tdep.c (struct gdbarch_tdep): Mention avrxmega in the comment. | |
9586 | (avr_gdbarch_init): Add xmega architectures given by bfd_architecture | |
9587 | when setting the size of call_length. | |
9588 | ||
7af389b8 SC |
9589 | 2014-04-07 Siva Chandra Reddy <sivachandra@google.com> |
9590 | ||
9591 | * python/py-value.c (valpy_get_dynamic_type): Use coerce_ref to | |
9592 | dereference TYPE_CODE_REF values. | |
9593 | ||
86ad98c3 JB |
9594 | 2014-04-07 Joel Brobecker <brobecker@adacore.com> |
9595 | ||
9596 | * darwin-nat.c (darwin_decode_message): Remove trailing '\n' at | |
9597 | end of warning message. | |
9598 | ||
b0aeadb3 DE |
9599 | 2014-04-03 Doug Evans <dje@google.com> |
9600 | ||
9601 | * dwarf2read.c (read_cutu_die_from_dwo): Fix assertion, at most one | |
9602 | of stub_comp_unit_die, stub_comp_dir is non-NULL. | |
9603 | ||
5979d6b6 AM |
9604 | 2014-04-02 Alan Modra <amodra@gmail.com> |
9605 | ||
9606 | * symfile-mem.c (symbol_file_add_from_memory): Add size parameter. | |
9607 | Pass to bfd_elf_bfd_from_remote_memory. Adjust all callers. | |
9608 | (struct symbol_file_add_from_memory_args): Add size field. | |
9609 | (find_vdso_size): New function. | |
9610 | (add_vsyscall_page): Attempt to find vdso size. | |
9611 | ||
0d60c288 DE |
9612 | 2014-04-01 Doug Evans <dje@google.com> |
9613 | ||
9614 | * dwarf2read.c (read_cutu_die_from_dwo): Improve comment. | |
9615 | ||
a41f2563 TG |
9616 | 2014-04-01 Tristan Gingold <gingold@adacore.com> |
9617 | ||
9618 | * darwin-nat.c (darwin_encode_reply): Add prototype. | |
9619 | (darwin_decode_exception_message): Reply to unknown inferiors. | |
9620 | (darwin_decode_message): Handle message by id. Ignore message | |
9621 | to unknown inferior. | |
9622 | (darwin_wait): Discard unknown messages, add debug trace. | |
9623 | ||
11a865c8 DE |
9624 | 2014-03-31 Doug Evans <dje@google.com> |
9625 | ||
9626 | * dwarf2read.c (read_cutu_die_from_dwo): Delete unused local | |
9627 | comp_dir_string. | |
9628 | ||
770e7fc7 DE |
9629 | 2014-03-31 Doug Evans <dje@google.com> |
9630 | ||
9631 | New option "set print symbol-loading". | |
9632 | * NEWS: Mention it. | |
9633 | * solib.c (solib_read_symbols): Only print symbol loading messages | |
9634 | if requested. | |
9635 | (solib_add): If symbol loading is in "brief" mode, notify user | |
9636 | symbols are being loaded. | |
9637 | (reload_shared_libraries_1): Ditto. | |
9638 | * symfile.c (print_symbol_loading_off): New static global. | |
9639 | (print_symbol_loading_brief): New static global. | |
9640 | (print_symbol_loading_full): New static global. | |
9641 | (print_symbol_loading_enums): New static global. | |
9642 | (print_symbol_loading): New static global. | |
9643 | (print_symbol_loading_p): New function. | |
9644 | (symbol_file_add_with_addrs): Only print symbol loading messages | |
9645 | if requested. | |
9646 | (_initialize_symfile): Register "print symbol-loading" set/show | |
9647 | command. | |
9648 | * symfile.h (print_symbol_loading_p): Declare. | |
9649 | ||
c32c64b7 DE |
9650 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
9651 | ||
9652 | * infrun.c (set_last_target_status): New function. | |
9653 | (handle_inferior_event): Call it. | |
9654 | ||
7c0bc051 DE |
9655 | 2014-03-30 Doug Evans <xdje42@gmail.com> |
9656 | ||
9657 | * inferior.h (enum stop_kind): Improve comment. | |
9658 | ||
8776cfe9 JB |
9659 | 2014-03-28 Joel Brobecker <brobecker@adacore.com> |
9660 | ||
9661 | * varobj.c (varobj_value_has_mutated): If NEW_VALUE is | |
9662 | a reference, strip the reference layer before calling | |
9663 | the lang_ops value_has_mutated callback. | |
9664 | ||
410a0ff2 SDJ |
9665 | 2014-03-27 Sergio Durigan Junior <sergiodj@redhat.com> |
9666 | ||
9667 | Remove some globals from our parser. | |
9668 | * language.c (unk_lang_parser): Add "struct parser_state" | |
9669 | argument. | |
9670 | * language.h (struct language_defn) <la_parser>: Likewise. | |
9671 | * parse.c (expout, expout_size, expout_ptr): Remove variables. | |
9672 | (initialize_expout): Add "struct parser_state" argument. | |
9673 | Rewrite function to use the parser state. | |
9674 | (reallocate_expout, write_exp_elt, write_exp_elt_opcode, | |
9675 | write_exp_elt_sym, write_exp_elt_block, write_exp_elt_objfile, | |
9676 | write_exp_elt_longcst, write_exp_elt_dblcst, | |
9677 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
9678 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
9679 | write_exp_bitstring, write_exp_msymbol, mark_struct_expression, | |
9680 | write_dollar_variable): Likewise. | |
9681 | (parse_exp_in_context_1): Use parser state. | |
9682 | (insert_type_address_space): Add "struct parser_state" argument. | |
9683 | Use parser state. | |
9684 | (increase_expout_size): New function. | |
9685 | * parser-defs.h: Forward declare "struct language_defn" and | |
9686 | "struct parser_state". | |
9687 | (expout, expout_size, expout_ptr): Remove extern declarations. | |
9688 | (parse_gdbarch, parse_language): Rewrite macro declarations to | |
9689 | accept the parser state. | |
9690 | (struct parser_state): New struct. | |
9691 | (initialize_expout, reallocate_expout, write_exp_elt_opcode, | |
9692 | write_exp_elt_sym, write_exp_elt_longcst, write_exp_elt_dblcst, | |
9693 | write_exp_elt_decfloatcst, write_exp_elt_type, | |
9694 | write_exp_elt_intern, write_exp_string, write_exp_string_vector, | |
9695 | write_exp_bitstring, write_exp_elt_block, write_exp_elt_objfile, | |
9696 | write_exp_msymbol, write_dollar_variable, | |
9697 | mark_struct_expression, insert_type_address_space): Add "struct | |
9698 | parser_state" argument. | |
9699 | (increase_expout_size): New function. | |
9700 | * utils.c (do_clear_parser_state): New function. | |
9701 | (make_cleanup_clear_parser_state): Likewise. | |
9702 | * utils.h (make_cleanup_clear_parser_state): New function | |
9703 | prototype. | |
9704 | * aarch64-linux-tdep.c (aarch64_stap_parse_special_token): | |
9705 | Update calls to write_exp* in order to pass the parser state. | |
9706 | * arm-linux-tdep.c (arm_stap_parse_special_token): Likewise. | |
9707 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Likewise. | |
9708 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
9709 | * ppc-linux-tdep.c (ppc_stap_parse_special_token): Likewise. | |
9710 | * stap-probe.c (stap_parse_register_operand): Likewise. | |
9711 | (stap_parse_single_operand): Likewise. | |
9712 | (stap_parse_argument_1): Likewise. | |
9713 | (stap_parse_argument): Use parser state. | |
9714 | * stap-probe.h: Include "parser-defs.h". | |
9715 | (struct stap_parse_info) <pstate>: New field. | |
9716 | * c-exp.y (parse_type): Rewrite to use parser state. | |
9717 | (yyparse): Redefine to c_parse_internal. | |
9718 | (pstate): New global variable. | |
9719 | (parse_number): Add "struct parser_state" argument. | |
9720 | (write_destructor_name): Likewise. | |
9721 | (type_exp): Update calls to write_exp* and similars in order to | |
9722 | use parser state. | |
9723 | (exp1, exp, variable, qualified_name, space_identifier, | |
9724 | typename, typebase): Likewise. | |
9725 | (write_destructor_name, parse_number, lex_one_token, | |
9726 | classify_name, classify_inner_name, c_parse): Add "struct | |
9727 | parser_state" argument. Update function to use parser state. | |
9728 | * c-lang.h: Forward declare "struct parser_state". | |
9729 | (c_parse): Add "struct parser_state" argument. | |
9730 | * ada-exp.y (parse_type): Rewrite macro to use parser state. | |
9731 | (yyparse): Redefine macro to ada_parse_internal. | |
9732 | (pstate): New variable. | |
9733 | (write_int, write_object_renaming, write_var_or_type, | |
9734 | write_name_assoc, write_exp_op_with_string, write_ambiguous_var, | |
9735 | type_int, type_long, type_long_long, type_float, type_double, | |
9736 | type_long_double, type_char, type_boolean, type_system_address): | |
9737 | Add "struct parser_state" argument. | |
9738 | (exp1, primary, simple_exp, relation, and_exp, and_then_exp, | |
9739 | or_exp, or_else_exp, xor_exp, type_prefix, opt_type_prefix, | |
9740 | var_or_type, aggregate, aggregate_component_list, | |
9741 | positional_list, others, component_group, | |
9742 | component_associations): Update calls to write_exp* and similar | |
9743 | functions in order to use parser state. | |
9744 | (ada_parse, write_var_from_sym, write_int, | |
9745 | write_exp_op_with_string, write_object_renaming, | |
9746 | find_primitive_type, write_selectors, write_ambiguous_var, | |
9747 | write_var_or_type, write_name_assoc, type_int, type_long, | |
9748 | type_long_long, type_float, type_double, type_long_double, | |
9749 | type_char, type_boolean, type_system_address): Add "struct | |
9750 | parser_state" argument. Adjust function to use parser state. | |
9751 | * ada-lang.c (parse): Likewise. | |
9752 | * ada-lang.h: Forward declare "struct parser_state". | |
9753 | (ada_parse): Add "struct parser_state" argument. | |
9754 | * ada-lex.l (processInt, processReal): Likewise. Adjust all | |
9755 | calls to both functions. | |
9756 | * f-exp.y (parse_type, parse_f_type): Rewrite macros to use | |
9757 | parser state. | |
9758 | (yyparse): Redefine macro to f_parse_internal. | |
9759 | (pstate): New variable. | |
9760 | (parse_number): Add "struct parser_state" argument. | |
9761 | (type_exp, exp, subrange, typebase): Update calls to write_exp* | |
9762 | and similars in order to use parser state. | |
9763 | (parse_number): Adjust code to use parser state. | |
9764 | (yylex): Likewise. | |
9765 | (f_parse): New function. | |
9766 | * f-lang.h: Forward declare "struct parser_state". | |
9767 | (f_parse): Add "struct parser_state" argument. | |
9768 | * jv-exp.y (parse_type, parse_java_type): Rewrite macros to use | |
9769 | parser state. | |
9770 | (yyparse): Redefine macro for java_parse_internal. | |
9771 | (pstate): New variable. | |
9772 | (push_expression_name, push_expression_name, insert_exp): Add | |
9773 | "struct parser_state" argument. | |
9774 | (type_exp, StringLiteral, Literal, PrimitiveType, IntegralType, | |
9775 | FloatingPointType, exp1, PrimaryNoNewArray, FieldAccess, | |
9776 | FuncStart, MethodInvocation, ArrayAccess, PostfixExpression, | |
9777 | PostIncrementExpression, PostDecrementExpression, | |
9778 | UnaryExpression, PreIncrementExpression, PreDecrementExpression, | |
9779 | UnaryExpressionNotPlusMinus, CastExpression, | |
9780 | MultiplicativeExpression, AdditiveExpression, ShiftExpression, | |
9781 | RelationalExpression, EqualityExpression, AndExpression, | |
9782 | ExclusiveOrExpression, InclusiveOrExpression, | |
9783 | ConditionalAndExpression, ConditionalOrExpression, | |
9784 | ConditionalExpression, Assignment, LeftHandSide): Update | |
9785 | calls to write_exp* and similars in order to use parser state. | |
9786 | (parse_number): Ajust code to use parser state. | |
9787 | (yylex): Likewise. | |
9788 | (java_parse): New function. | |
9789 | (push_variable): Add "struct parser_state" argument. Adjust | |
9790 | code to user parser state. | |
9791 | (push_fieldnames, push_qualified_expression_name, | |
9792 | push_expression_name, insert_exp): Likewise. | |
9793 | * jv-lang.h: Forward declare "struct parser_state". | |
9794 | (java_parse): Add "struct parser_state" argument. | |
9795 | * m2-exp.y (parse_type, parse_m2_type): Rewrite macros to use | |
9796 | parser state. | |
9797 | (yyparse): Redefine macro to m2_parse_internal. | |
9798 | (pstate): New variable. | |
9799 | (type_exp, exp, fblock, variable, type): Update calls to | |
9800 | write_exp* and similars to use parser state. | |
9801 | (yylex): Likewise. | |
9802 | (m2_parse): New function. | |
9803 | * m2-lang.h: Forward declare "struct parser_state". | |
9804 | (m2_parse): Add "struct parser_state" argument. | |
9805 | * objc-lang.c (end_msglist): Add "struct parser_state" argument. | |
9806 | * objc-lang.h: Forward declare "struct parser_state". | |
9807 | (end_msglist): Add "struct parser_state" argument. | |
9808 | * p-exp.y (parse_type): Rewrite macro to use parser state. | |
9809 | (yyparse): Redefine macro to pascal_parse_internal. | |
9810 | (pstate): New variable. | |
9811 | (parse_number): Add "struct parser_state" argument. | |
9812 | (type_exp, exp1, exp, qualified_name, variable): Update calls to | |
9813 | write_exp* and similars in order to use parser state. | |
9814 | (parse_number, yylex): Adjust code to use parser state. | |
9815 | (pascal_parse): New function. | |
9816 | * p-lang.h: Forward declare "struct parser_state". | |
9817 | (pascal_parse): Add "struct parser_state" argument. | |
9818 | * go-exp.y (parse_type): Rewrite macro to use parser state. | |
9819 | (yyparse): Redefine macro to go_parse_internal. | |
9820 | (pstate): New variable. | |
9821 | (parse_number): Add "struct parser_state" argument. | |
9822 | (type_exp, exp1, exp, variable, type): Update calls to | |
9823 | write_exp* and similars in order to use parser state. | |
9824 | (parse_number, lex_one_token, classify_name, yylex): Adjust code | |
9825 | to use parser state. | |
9826 | (go_parse): Likewise. | |
9827 | * go-lang.h: Forward declare "struct parser_state". | |
9828 | (go_parse): Add "struct parser_state" argument. | |
9829 | ||
342587c4 DE |
9830 | 2014-03-27 Doug Evans <dje@google.com> |
9831 | ||
9832 | * dwarf2read.c (read_str_index): Delete arg cu. All callers updated. | |
9833 | ||
33e80786 DE |
9834 | 2014-03-27 Doug Evans <dje@google.com> |
9835 | ||
9836 | * dwarf2read.c (init_cutu_and_read_dies_no_follow): Fix comments. | |
9837 | Remove argument abbrev_section. All callers updated. | |
9838 | ||
1dbab08b DE |
9839 | 2014-03-27 Doug Evans <dje@google.com> |
9840 | ||
9841 | * dwarf2read.c (struct dwarf2_cu): Improve comments for members | |
9842 | addr_base, ranges_base. | |
9843 | ||
318d3177 KS |
9844 | 2014-03-26 Keith Seitz <keiths@redhat.com> |
9845 | ||
9846 | * ada-tasks.c (get_tcb_types_info): Search STRUCT_DOMAIN for | |
9847 | types, not VAR_DOMAIN. | |
9848 | ||
1e54db15 SL |
9849 | 2014-03-25 Sandra Loosemore <sandra@codesourcery.com> |
9850 | ||
9851 | * features/nios2-cpu.xml: Correct types of "gp", "fp", "ea", and | |
9852 | "ra" registers. | |
9853 | * features/nios2-linux.c: Regenerated. | |
9854 | * features/nios2.c: Regenerated. | |
9855 | ||
d3839ede PA |
9856 | 2014-03-25 Pedro Alves <palves@redhat.com> |
9857 | ||
9858 | * cli/cli-script.c (script_from_file): Force the interpreter to | |
9859 | sync mode. | |
9860 | ||
7588d2ec PL |
9861 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
9862 | ||
9863 | * avr-tdep.c (avr_scan_prologue): Accept push r1 instruction for | |
9864 | small stack allocation. | |
9865 | ||
a6290449 TG |
9866 | 2014-03-24 Tristan Gingold <gingold@adacore.com> |
9867 | ||
9868 | * darwin-nat.c (exc_server): Remove unused prototype. | |
9869 | (darwin_dump_message): Correctly display data on x86_64. | |
9870 | (darwin_encode_reply): Fix style. | |
9871 | Add comments and fix indentation. | |
9872 | ||
31ae9d24 | 9873 | 2014-03-24 Pierre Langlois <pierre.langlois@embecosm.com> |
69fa4030 PL |
9874 | |
9875 | * MAINTAINERS (Write After Approval): Add "Pierre Langlois". | |
9876 | ||
6339bfc4 DE |
9877 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9878 | ||
9879 | * infcmd.c: Whitespace fixes. | |
9880 | (interrupt_command): Merge two function comments into one. | |
9881 | ||
0a07590b DE |
9882 | 2014-03-22 Doug Evans <xdje42@gmail.com> |
9883 | ||
9884 | * infcmd.c (interrupt_command): Renamed from interrupt_target_command. | |
9885 | All uses updated. | |
9886 | ||
b55fbac4 YQ |
9887 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9888 | ||
9889 | * remote.c (target_read_live_memory): Remove. | |
9890 | (memory_xfer_live_readonly_partial): Rename it to | |
9891 | remote_xfer_live_readonly_partial. Remove argument 'object'. | |
9892 | All callers updated. Call remote_read_bytes_1 | |
9893 | instead of target_read_live_memory. | |
9894 | * tracepoint.c (set_traceframe_number): Remove. | |
9895 | (make_cleanup_restore_traceframe_number): Likewise . | |
9896 | * tracepoint.h (set_traceframe_number): Remove declaration. | |
9897 | (make_cleanup_restore_traceframe_number): Likewise. | |
9898 | ||
9217e74e YQ |
9899 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9900 | ||
9901 | * remote.c (remote_read_bytes): Move code on reading from the | |
9902 | remote stub to ... | |
9903 | (remote_read_bytes_1): ... here. New function. | |
9904 | ||
8acf9577 YQ |
9905 | 2014-03-22 Yao Qi <yao@codesourcery.com> |
9906 | ||
9907 | * ctf.c (ctf_xfer_partial): Check the return value of | |
9908 | exec_read_partial_read_only, if it is not TARGET_XFER_OK, | |
9909 | return TARGET_XFER_UNAVAILABLE. | |
9910 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
9911 | * target.c (target_read_live_memory): Move it to remote.c. | |
9912 | (memory_xfer_live_readonly_partial): Likewise. | |
9913 | (memory_xfer_partial_1): Move some code to remote_read_bytes. | |
9914 | * remote.c (target_read_live_memory): Moved from target.c. | |
9915 | (memory_xfer_live_readonly_partial): Likewise. | |
9916 | (remote_read_bytes): Factored out from | |
9917 | memory_xfer_partial_1. | |
9918 | ||
feef67ab DE |
9919 | 2014-03-21 Daniel Gutson <daniel.gutson@tallertechnologies.com> |
9920 | ||
9921 | * extension.c (eval_ext_lang_from_control_command): Avoid dereferencing | |
9922 | NULL pointer. | |
9923 | ||
b65dc60b PA |
9924 | 2014-03-21 Pedro Alves <palves@redhat.com> |
9925 | ||
9926 | * infrun.c (normal_stop): Extend comment. | |
9927 | ||
b4ab256d HZ |
9928 | 2014-03-21 Hui Zhu <hui@codesourcery.com> |
9929 | Pedro Alves <palves@redhat.com> | |
9930 | ||
9931 | * darwin-nat.c (darwin_pid_to_exec_file): Change xmalloc to | |
9932 | static buffer. | |
9933 | * fbsd-nat.c (fbsd_pid_to_exec_file): Ditto. | |
9934 | * linux-nat.c (linux_child_pid_to_exec_file): Ditto. | |
9935 | * nbsd-nat.c (nbsd_pid_to_exec_file): Ditto. | |
9936 | ||
deba7593 MR |
9937 | 2014-03-20 Maciej W. Rozycki <macro@codesourcery.com> |
9938 | ||
9939 | * mi/mi-interp.c (mi_memory_changed): Avoid using the ISO C99 | |
9940 | `z' formatted output modifier. | |
9941 | ||
1bff71c3 SDJ |
9942 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9943 | Sergio Durigan Junior <sergiodj@redhat.com> | |
9944 | ||
9945 | * probe.c (parse_probes): Turn assert into an ordinary error. | |
9946 | * break-catch-throw.c (re_set_exception_catchpoint): Ignore | |
9947 | exceptions when parsing probes. Rearrange the code for clarity. | |
9948 | ||
90e28950 TT |
9949 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9950 | ||
9951 | PR gdb/14135 | |
9952 | * top.c (execute_command): Only dispatch events if the command | |
9953 | started the target. | |
9954 | ||
beb460e8 PA |
9955 | 2014-03-20 Tom Tromey <tromey@redhat.com> |
9956 | ||
9957 | PR cli/15718 | |
9958 | * infcall.c: Include event-top.h. | |
9959 | (run_inferior_call): Call async_disable_stdin if needed. | |
9960 | ||
99619bea PA |
9961 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9962 | ||
9963 | * infrun.c (prepare_to_proceed): Delete. | |
9964 | (thread_still_needs_step_over): New function. | |
9965 | (find_thread_needs_step_over): New function. | |
9966 | (proceed): If the current thread needs a step-over, set its | |
9967 | steping_over_breakpoint flag. Adjust to use | |
9968 | find_thread_needs_step_over instead of prepare_to_proceed. | |
9969 | (process_event_stop_test): For BPSTAT_WHAT_STOP_NOISY and | |
9970 | BPSTAT_WHAT_STOP_SILENT, assume the thread stopped for a | |
9971 | breakpoint. | |
9972 | (switch_back_to_stepped_thread): Step over breakpoints of all | |
9973 | threads not the stepping thread, before switching back to the | |
9974 | stepping thread. | |
9975 | ||
2adfaa28 PA |
9976 | 2014-03-20 Pedro Alves <palves@redhat.com> |
9977 | ||
9978 | * breakpoint.c (single_step_breakpoint_inserted_here_p): Make | |
9979 | extern. | |
9980 | * breakpoint.h (single_step_breakpoint_inserted_here_p): Declare. | |
9981 | * infrun.c (saved_singlestep_ptid) | |
9982 | (stepping_past_singlestep_breakpoint): Delete. | |
9983 | (resume): Remove stepping_past_singlestep_breakpoint handling. | |
9984 | (proceed): Store the prev_pc of the stepping thread too. | |
9985 | (init_wait_for_inferior): Adjust. Clear singlestep_ptid and | |
9986 | singlestep_pc. | |
9987 | (enum infwait_states): Delete infwait_thread_hop_state. | |
9988 | (struct execution_control_state) <hit_singlestep_breakpoint>: New | |
9989 | field. | |
9990 | (handle_inferior_event): Adjust. | |
9991 | (handle_signal_stop): Delete stepping_past_singlestep_breakpoint | |
9992 | handling and the thread-hop code. Before removing single-step | |
9993 | breakpoints, check whether the thread hit a single-step breakpoint | |
9994 | of another thread. If it did, the trap is not a random signal. | |
9995 | (switch_back_to_stepped_thread): If the event thread hit a | |
9996 | single-step breakpoint, unblock it before switching to the | |
9997 | stepping thread. Handle the case of the stepped thread having | |
9998 | advanced already. | |
9999 | (keep_going): Handle the case of the current thread moving past a | |
10000 | single-step breakpoint. | |
10001 | ||
31e77af2 PA |
10002 | 2014-03-20 Pedro Alves <palves@redhat.com> |
10003 | ||
10004 | PR breakpoints/7143 | |
10005 | * breakpoint.c (should_be_inserted): Don't insert breakpoints that | |
10006 | are being stepped over. | |
10007 | (breakpoint_address_match): Make extern. | |
10008 | * breakpoint.h (breakpoint_address_match): New declaration. | |
10009 | * inferior.h (stepping_past_instruction_at): New declaration. | |
10010 | * infrun.c (struct step_over_info): New type. | |
10011 | (step_over_info): New global. | |
10012 | (set_step_over_info, clear_step_over_info) | |
10013 | (stepping_past_instruction_at): New functions. | |
10014 | (handle_inferior_event): Clear the step-over info when | |
10015 | trap_expected is cleared. | |
10016 | (resume): Remove now stale comment. | |
10017 | (clear_proceed_status): Clear step-over info. | |
10018 | (proceed): Adjust step-over handling to set or clear the step-over | |
10019 | info instead of removing all breakpoints. | |
10020 | (handle_signal_stop): When setting up a thread-hop, don't remove | |
10021 | breakpoints here. | |
10022 | (stop_stepping): Clear step-over info. | |
10023 | (keep_going): Adjust step-over handling to set or clear step-over | |
10024 | info and then always inserting breakpoints, instead of removing | |
10025 | all breakpoints when stepping over one. | |
10026 | ||
b9f437de PA |
10027 | 2014-03-20 Pedro Alves <palves@redhat.com> |
10028 | ||
10029 | * infrun.c (previous_inferior_ptid): Adjust comment. | |
10030 | (deferred_step_ptid): Delete. | |
10031 | (infrun_thread_ptid_changed, prepare_to_proceed) | |
10032 | (init_wait_for_inferior): Adjust. | |
10033 | (handle_signal_stop): Delete deferred_step_ptid handling. | |
10034 | ||
06c868a8 JK |
10035 | 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com> |
10036 | ||
10037 | PR gdb/15358 | |
10038 | * defs.h (sync_quit_force_run): New declaration. | |
10039 | (QUIT): Check also SYNC_QUIT_FORCE_RUN. | |
10040 | * event-top.c (async_sigterm_handler): New declaration. | |
10041 | (async_sigterm_token): New variable. | |
10042 | (async_init_signals): Create also async_sigterm_token. | |
10043 | (async_sigterm_handler): New function. | |
10044 | (sync_quit_force_run): New variable. | |
10045 | (handle_sigterm): Replace quit_force call by other calls. | |
10046 | * utils.c (quit): Call quit_force if SYNC_QUIT_FORCE_RUN. | |
10047 | ||
dea80df0 MR |
10048 | 2014-03-18 Maciej W. Rozycki <macro@codesourcery.com> |
10049 | ||
10050 | * rs6000-tdep.c (rs6000_frame_cache): Correct little-endian GPR | |
10051 | offset into SPE pseudo registers. | |
10052 | ||
0c7e1a46 PA |
10053 | 2014-03-18 Pedro Alves <palves@redhat.com> |
10054 | ||
10055 | PR gdb/13860 | |
10056 | * inferior.h (print_stop_event): Declare. | |
10057 | * infrun.c (print_stop_event): New, factored out from ... | |
10058 | (normal_stop): ... this. | |
10059 | * mi/mi-interp.c (mi_on_normal_stop): Use print_stop_event instead | |
10060 | of bpstat_print/print_stack_frame. | |
10061 | ||
9c1fcd01 TT |
10062 | 2014-03-17 Tom Tromey <tromey@redhat.com> |
10063 | ||
10064 | * ui-out.c (clear_table, ui_out_new): Clear uiout->table.id. | |
10065 | ||
11aa919a PMR |
10066 | 2014-03-17 Pierre-Marie de Rodat <derodat@adacore.com> |
10067 | ||
10068 | * ada-lang.c (decode_constrained_packed_array): Perform a | |
10069 | minimal coercion for reference with coerce_ref instead of | |
10070 | ada_coerce_ref. | |
10071 | ||
d4ccb5e0 TG |
10072 | 2014-03-17 Tristan Gingold <gingold@adacore.com> |
10073 | ||
10074 | * solib-darwin.c (DYLD_VERSION_MAX): Increase value. | |
10075 | (darwin_solib_create_inferior_hook): Emit a warning if version | |
10076 | is unhandled. | |
10077 | ||
49840f2a UW |
10078 | 2014-03-16 Ulrich Weigand <uweigand@de.ibm.com> |
10079 | ||
10080 | * python/py-value.c (get_field_flag): Cast flag_name argument to | |
10081 | PyObject_GetAttrString to support Python 2.4. | |
10082 | ||
ed4123e5 JK |
10083 | 2014-03-14 Jan Kratochvil <jan.kratochvil@redhat.com> |
10084 | ||
10085 | * MAINTAINERS (The Official FSF-appointed GDB Maintainers) | |
10086 | (Global Maintainers): Remove Jan Kratochvil. | |
10087 | ||
d6b64346 PA |
10088 | 2014-03-14 Pedro Alves <palves@redhat.com> |
10089 | ||
10090 | * inferior.h (terminal_ours_for_output): Rename to ... | |
10091 | (child_terminal_ours_for_output): ... this. | |
10092 | (terminal_save_ours): Rename to ... | |
10093 | (child_terminal_save_ours): ... this. | |
10094 | (terminal_ours): Rename to ... | |
10095 | (child_terminal_ours): ... this. | |
10096 | (terminal_inferior): Rename to ... | |
10097 | (child_terminal_inferior): ... this. | |
10098 | (terminal_init_inferior): Rename to ... | |
10099 | (child_terminal_init_inferior): ... this. | |
10100 | (terminal_init_inferior_with_pgrp): Rename to ... | |
10101 | (child_terminal_init_inferior_with_pgrp): ... this. | |
10102 | * inflow.c (terminal_init_inferior_with_pgrp): Rename to ... | |
10103 | (child_terminal_init_with_pgrp): ... this. | |
10104 | (terminal_save_ours): Rename to ... | |
10105 | (child_terminal_save_ours): ... this. | |
10106 | (terminal_init_inferior): Rename to ... | |
10107 | (child_terminal_init): ... this. Adjust. | |
10108 | (terminal_inferior): Rename to ... | |
10109 | (child_terminal_inferior): ... this. | |
10110 | (terminal_ours_for_output): Rename to ... | |
10111 | (child_terminal_ours_for_output): ... this. Adjust. | |
10112 | (terminal_ours): Rename to ... | |
10113 | (child_terminal_ours): ... this. | |
10114 | (terminal_ours_1): Rename to ... | |
10115 | (child_terminal_ours_1): ... this. Adjust. | |
10116 | * linux-nat.c (linux_nat_terminal_inferior): Adjust. | |
10117 | * windows-nat.c (do_initial_windows_stuff): Adjust. | |
10118 | * gnu-nat.c (gnu_terminal_init_inferior): Rename to ... | |
10119 | (gnu_terminal_init): ... this. Adjust. | |
10120 | (gnu_target): Adjust. | |
10121 | * inf-child.c (inf_child_target): Adjust. | |
10122 | ||
5a1e8c7a DE |
10123 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
10124 | ||
10125 | PR guile/16612 | |
10126 | * guile/scm-type.c (tyscm_copy_type_recursive): Move type to its | |
10127 | new eq?-hashtab. | |
10128 | ||
350e1a76 DE |
10129 | 2014-03-13 Doug Evans <xdje42@gmail.com> |
10130 | ||
10131 | * value.c (record_latest_value): Call release_value_or_incref | |
10132 | instead of release_value. | |
10133 | ||
a69900ae PA |
10134 | 2014-03-13 Pedro Alves <palves@redhat.com> |
10135 | ||
10136 | * procfs.c (procfs_target): Don't override to_shortname, | |
10137 | to_longname or to_doc. | |
10138 | ||
5db9f0bd PA |
10139 | 2014-03-13 Pedro Alves <palves@redhat.com> |
10140 | ||
10141 | * inf-child.c (inf_child_open, inf_child_target): Don't mention | |
10142 | Unix in user visible strings. | |
10143 | ||
5e3a2c38 SS |
10144 | 2014-03-12 Stan Shebs <stan@codesourcery.com> |
10145 | ||
10146 | * gdbtypes.h: Annotate comments for Doxygen, add a page | |
10147 | block comment with some general info. | |
10148 | ||
8bc2fe48 PA |
10149 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10150 | ||
10151 | * infcmd.c (prepare_execution_command): New function, factored out | |
10152 | from several execution commands. | |
10153 | (run_command_1, continue_command, step_1, jump_command) | |
10154 | (signal_command, until_command, advance_command, finish_command) | |
10155 | (attach_command): Use prepare_execution_command. | |
10156 | ||
638c5f49 OJ |
10157 | 2014-03-12 Omair Javaid <omair.javaid@linaro.org> |
10158 | ||
10159 | * arm-linux-nat.c (arm_linux_get_hwbp_cap): Updated. | |
10160 | (MAX_BPTS): Define. | |
10161 | (MAX_WPTS): Define. | |
10162 | (struct arm_linux_thread_points): Removed. | |
10163 | (struct arm_linux_process_info): New. | |
10164 | (DEF_VEC_P (arm_linux_thread_points_p)): Removed. | |
10165 | (VEC(arm_linux_thread_points_p) *arm_threads): Removed. | |
10166 | (arm_linux_find_breakpoints_by_tid): Removed. | |
10167 | (struct arch_lwp_info): New. | |
10168 | (arm_linux_find_process_pid): New functions. | |
10169 | (arm_linux_add_process): New functions. | |
10170 | (arm_linux_process_info_get): New functions. | |
10171 | (arm_linux_forget_process): New function. | |
10172 | (arm_linux_get_debug_reg_state): New function. | |
10173 | (struct update_registers_data): New. | |
10174 | (update_registers_callback): New function. | |
10175 | (arm_linux_insert_hw_breakpoint1): Updated. | |
10176 | (arm_linux_remove_hw_breakpoint1): Updated. | |
10177 | (arm_linux_insert_hw_breakpoint): Updated. | |
10178 | (arm_linux_remove_hw_breakpoint): Updated. | |
10179 | (arm_linux_insert_watchpoint): Updated. | |
10180 | (arm_linux_remove_watchpoint): Updated. | |
10181 | (arm_linux_new_thread): Updated. | |
10182 | (arm_linux_prepare_to_resume): New function. | |
10183 | (arm_linux_new_fork): New function. | |
10184 | (_initialize_arm_linux_nat): Updated. | |
10185 | ||
6d03af93 PA |
10186 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10187 | ||
10188 | * Makefile.in (TARGET_FLAGS_TO_PASS): Add TESTS. | |
10189 | ||
b3ccfe11 TT |
10190 | 2014-03-12 Tom Tromey <tromey@redhat.com> |
10191 | ||
10192 | * inf-child.c (return_zero): New function. | |
10193 | (inf_child_target): Set to_can_async_p, to_supports_non_stop. | |
10194 | * aix-thread.c (aix_thread_inferior_created): New function. | |
10195 | (aix_thread_attach): Remove. | |
10196 | (init_aix_thread_ops): Don't set to_attach. | |
10197 | (_initialize_aix_thread): Register inferior_created observer. | |
10198 | * corelow.c (init_core_ops): Don't set to_attach or | |
10199 | to_create_inferior. | |
10200 | * exec.c (init_exec_ops): Don't set to_attach or | |
10201 | to_create_inferior. | |
10202 | * infcmd.c (run_command_1): Use find_run_target. Make direct | |
10203 | target calls. | |
10204 | (attach_command): Use find_attach_target. Make direct target | |
10205 | calls. | |
10206 | * record-btrace.c (init_record_btrace_ops): Don't set | |
10207 | to_create_inferior. | |
10208 | * record-full.c (record_full_can_async_p, record_full_is_async_p): | |
10209 | Remove. | |
10210 | (init_record_full_ops, init_record_full_core_ops): Update. Don't | |
10211 | set to_create_inferior. | |
10212 | * target.c (complete_target_initialization): Add assertion. | |
10213 | (target_create_inferior): Remove. | |
10214 | (find_default_attach, find_default_create_inferior): Remove. | |
10215 | (find_attach_target, find_run_target): New functions. | |
10216 | (find_default_is_async_p, find_default_can_async_p) | |
10217 | (target_supports_non_stop, target_attach): Remove. | |
10218 | (init_dummy_target): Don't set to_create_inferior or | |
10219 | to_supports_non_stop. | |
10220 | * target.h (struct target_ops) <to_attach>: Add comment. Remove | |
10221 | TARGET_DEFAULT_FUNC. | |
10222 | <to_create_inferior>: Add comment. | |
10223 | <to_can_async_p, to_is_async_p, to_supports_non_stop>: Use | |
10224 | TARGET_DEFAULT_RETURN. | |
10225 | <to_can_async_p, to_supports_non_stop, to_can_run>: Add comments. | |
10226 | (find_attach_target, find_run_target): Declare. | |
10227 | (target_create_inferior): Remove. | |
10228 | (target_has_execution_1): Update comment. | |
10229 | (target_supports_non_stop): Remove. | |
10230 | * target-delegates.c: Rebuild. | |
10231 | ||
91f83b02 PA |
10232 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10233 | ||
10234 | * inf-child.h: Update comment to not mention Unix. | |
10235 | ||
f1aea813 PA |
10236 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10237 | ||
10238 | * inf-child.c: Update top comment to not mention Unix. Add | |
10239 | generic comment describing how this target is meant to be used. | |
10240 | (inf_child_post_attach, inf_child_post_startup_inferior) | |
10241 | (inf_child_follow_fork, inf_child_pid_to_exec_file): Don't mention | |
10242 | Unix in comment. | |
10243 | ||
ee8e9165 PA |
10244 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10245 | ||
10246 | * nto-procfs.c: Include inf-child.h. | |
10247 | (procfs_ops): Delete global. | |
10248 | (procfs_can_run): Delete method. | |
10249 | (procfs_detach, procfs_mourn_inferior): Unpush the passed in | |
10250 | target pointer instead of referencing procfs_ops. | |
10251 | (procfs_prepare_to_store): Delete. | |
10252 | (init_procfs_ops): Delete function. | |
10253 | (procfs_target): New function, based on init_procfs_ops, but | |
10254 | inherit inf_child_target. | |
10255 | (_initialize_procfs): Use procfs_target. | |
10256 | ||
51a9c8c5 PA |
10257 | 2014-03-12 Pedro Alves <palves@redhat.com> |
10258 | ||
10259 | * windows-nat.c: Include inf-child.h. | |
10260 | (windows_ops): Delete global. | |
10261 | (windows_open, windows_prepare_to_store, windows_can_run): Delete | |
10262 | methods. | |
10263 | (init_windows_ops): Delete function. | |
10264 | (windows_target): New function, based on init_windows_ops, but | |
10265 | inherit inf_child_target. | |
10266 | (_initialize_windows_nat): Use windows_target. Install x86 | |
10267 | specific target methods here. | |
10268 | ||
c1966e26 DE |
10269 | 2014-03-10 Doug Evans <xdje42@gmail.com> |
10270 | ||
10271 | * guile/guile.c (call_initialize_gdb_module): New function. | |
10272 | (initialize_guile): Replace call to scm_init_guile with call to | |
10273 | scm_with_guile. | |
10274 | ||
023db19c JB |
10275 | 2014-03-10 Joel Brobecker <brobecker@adacore.com> |
10276 | ||
10277 | * ada-lang.c (ada_evaluate_subexp): Add missing space before '(' | |
10278 | in call to TYPE_CODE macro. | |
10279 | ||
5ec18f2b JG |
10280 | 2014-03-10 Jerome Guitton <guitton@adacore.com> |
10281 | ||
8668be63 JB |
10282 | * ada-lang.c (ada_evaluate_subexp) <UNOP_IND, STRUCTOP_STRUCT>: |
10283 | Resolve tagged types to full view. | |
5ec18f2b | 10284 | |
7d03f2eb HZ |
10285 | 2014-03-10 Hui Zhu <hui@codesourcery.com> |
10286 | ||
10287 | * target.h (target_insert_breakpoint): Remove "hardware" from its | |
10288 | comments. | |
10289 | ||
c5164cbc DE |
10290 | 2014-03-07 Doug Evans <dje@google.com> |
10291 | ||
10292 | * dwarf2read.c (read_str_index): Rename local dwo_name to objf_name. | |
10293 | ||
c4a3fee2 DE |
10294 | 2014-03-07 Doug Evans <dje@google.com> |
10295 | ||
10296 | * dwarf2read.c (read_cutu_die_from_dwo): Fix function comment. | |
10297 | Remove unused local comp_dir_attr. Assert exactly one of | |
10298 | stub_comp_unit_die, stub_comp_dir is non-NULL. | |
10299 | ||
3156469c JB |
10300 | 2014-03-07 Joel Brobecker <brobecker@adacore.com> |
10301 | ||
10302 | * target.h (complete_target_initialization, add_target): | |
10303 | Add comment. | |
10304 | ||
c1a7b7c6 PA |
10305 | 2014-03-07 Pedro Alves <palves@redhat.com> |
10306 | ||
10307 | * go32-nat.c: Include inf-child.h. | |
10308 | (go32_ops): Delete global. | |
10309 | (go32_close, go32_detach, go32_prepare_to_store, go32_can_run): | |
10310 | Delete methods. | |
10311 | (go32_create_inferior): Push the passed in target pointer instead | |
10312 | of referencing go32_ops. | |
10313 | (init_go32_ops): Delete function. Moved parts to _initialize_go32_nat. | |
10314 | (go32_target): New function, based on init_go32_ops, but inherit | |
10315 | inf_child_target. | |
10316 | (_initialize_go32_nat): Use go32_target. Move parts of | |
10317 | init_go32_ops here. | |
10318 | ||
d3c1a85f JB |
10319 | 2014-03-06 Joel Brobecker <brobecker@adacore.com> |
10320 | ||
10321 | * sol-thread.c: #include "symtab.h", "minsym.h" and "objfiles.h". | |
10322 | (ps_pglobal_lookup): Use BMSYMBOL_VALUE_ADDRESS instead of | |
10323 | SYMBOL_VALUE_ADDRESS. | |
10324 | (info_cb): MSYMBOL_PRINT_NAME instead of SYMBOL_PRINT_NAME. | |
10325 | ||
5fa1d40e YQ |
10326 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10327 | ||
10328 | * breakpoint.c (get_tracepoint_by_number): Remove argument | |
10329 | optional_p. All callers updated. Adjust comments. Update | |
10330 | output message. | |
10331 | * breakpoint.h (get_tracepoint_by_number): Update declaration. | |
10332 | ||
0c13193f YQ |
10333 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10334 | ||
10335 | * reverse.c (goto_bookmark_command): Add local 'p'. Emit error | |
10336 | early if get_number returns zero. Use 'p' instead of 'args'. | |
10337 | ||
2217da06 YQ |
10338 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10339 | ||
10340 | * cli/cli-utils.c (get_number_trailer): Add '\n' at the end of | |
10341 | message. | |
10342 | ||
cc3da688 YQ |
10343 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10344 | ||
10345 | PR breakpoints/16508 | |
10346 | * tracepoint.c (check_trace_running): New function. | |
10347 | (trace_find_command): Move code to check_trace_running and | |
10348 | call check_trace_running. | |
10349 | (trace_find_pc_command): Likewise. | |
10350 | (trace_find_tracepoint_command): Likewise. | |
10351 | (trace_find_line_command): Likewise. | |
10352 | (trace_find_range_command): Likewise. | |
10353 | * tracepoint.h (check_trace_running): Likewise. | |
10354 | * mi/mi-main.c (mi_cmd_trace_find): Call check_trace_running. | |
10355 | ||
6a5f844b YQ |
10356 | 2014-03-06 Yao Qi <yao@codesourcery.com> |
10357 | ||
10358 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
10359 | TARGET_DEFAULT_NORETURN (tcomplain ()). | |
10360 | * target-delegates.c: Regenerated. | |
10361 | ||
0f26cec1 PA |
10362 | 2014-03-05 Pedro Alves <palves@redhat.com> |
10363 | ||
10364 | PR gdb/16575 | |
10365 | * dcache.c (dcache_poke_byte): Constify ptr parameter. Return | |
10366 | void. Update comment. | |
10367 | (dcache_xfer_memory): Delete. | |
10368 | (dcache_read_memory_partial): New, based on the read bits of | |
10369 | dcache_xfer_memory. | |
10370 | (dcache_update): Add status parameter. Use ULONGEST for len, and | |
10371 | adjust. Discard cache lines if the reason for the update was | |
10372 | error. | |
10373 | * dcache.h (dcache_xfer_memory): Delete declaration. | |
10374 | (dcache_read_memory_partial): New declaration. | |
10375 | (dcache_update): Update prototype. | |
10376 | * target.c (raw_memory_xfer_partial): Update the dcache here. | |
10377 | (memory_xfer_partial_1): Don't handle dcache writes here. | |
10378 | ||
b2b255bd MF |
10379 | 2014-03-05 Mike Frysinger <vapier@gentoo.org> |
10380 | ||
10381 | * remote-sim.c (gdbsim_load): Add const to prog. | |
10382 | ||
5d9cf8a4 TT |
10383 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10384 | ||
10385 | * elfread.c (probe_key): Change to bfd_data. | |
10386 | (elf_get_probes, probe_key_free, _initialize_elfread): Probes are | |
10387 | now per-BFD, not per-objfile. | |
10388 | * stap-probe.c (stap_probe_destroy): Update comment. | |
10389 | (handle_stap_probe): Allocate on the per-BFD obstack. | |
10390 | ||
729662a5 TT |
10391 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10392 | ||
10393 | * break-catch-throw.c (fetch_probe_arguments): Use bound probes. | |
10394 | * breakpoint.c (create_longjmp_master_breakpoint): Use | |
10395 | get_probe_address. | |
10396 | (add_location_to_breakpoint, bkpt_probe_insert_location) | |
10397 | (bkpt_probe_remove_location): Update. | |
10398 | * breakpoint.h (struct bp_location) <probe>: Now a bound_probe. | |
10399 | * elfread.c (elf_symfile_relocate_probe): Remove. | |
10400 | (elf_probe_fns): Update. | |
10401 | (insert_exception_resume_breakpoint): Change type of "probe" | |
10402 | parameter to bound_probe. | |
10403 | (check_exception_resume): Update. | |
10404 | * objfiles.c (objfile_relocate1): Don't relocate probes. | |
10405 | * probe.c (bound_probe_s): New typedef. | |
10406 | (parse_probes): Use get_probe_address. Set sal's objfile. | |
10407 | (find_probe_by_pc): Return a bound_probe. | |
10408 | (collect_probes): Return a VEC(bound_probe_s). | |
10409 | (compare_probes): Update. | |
10410 | (gen_ui_out_table_header_info): Change type of "probes" | |
10411 | parameter. Update. | |
10412 | (info_probes_for_ops): Update. | |
10413 | (get_probe_address): New function. | |
10414 | (probe_safe_evaluate_at_pc): Update. | |
10415 | * probe.h (struct probe_ops) <get_probe_address>: New field. | |
10416 | <set_semaphore, clear_semaphore>: Add objfile parameter. | |
10417 | (struct probe) <objfile>: Remove field. | |
10418 | <arch>: New field. | |
10419 | <address>: Update comment. | |
10420 | (struct bound_probe): New. | |
10421 | (find_probe_by_pc): Return a bound_probe. | |
10422 | (get_probe_address): Declare. | |
10423 | * solib-svr4.c (struct probe_and_action) <address>: New field. | |
10424 | (hash_probe_and_action, equal_probe_and_action): Update. | |
10425 | (register_solib_event_probe): Add address parameter. | |
10426 | (solib_event_probe_at): Update. | |
10427 | (svr4_create_probe_breakpoints): Add objfile parameter. Use | |
10428 | get_probe_address. | |
10429 | * stap-probe.c (struct stap_probe) <sem_addr>: Update comment. | |
10430 | (stap_get_probe_address): New function. | |
10431 | (stap_can_evaluate_probe_arguments, compute_probe_arg) | |
10432 | (compile_probe_arg): Update. | |
10433 | (stap_set_semaphore, stap_clear_semaphore): Compute semaphore's | |
10434 | address. | |
10435 | (handle_stap_probe): Don't relocate the probe. | |
10436 | (stap_relocate): Remove. | |
10437 | (stap_gen_info_probes_table_values): Update. | |
10438 | (stap_probe_ops): Remove stap_relocate. | |
10439 | * symfile-debug.c (debug_sym_relocate_probe): Remove. | |
10440 | (debug_sym_probe_fns): Update. | |
10441 | * symfile.h (struct sym_probe_fns) <sym_relocate_probe>: Remove. | |
10442 | * symtab.c (init_sal): Use memset. | |
10443 | * symtab.h (struct symtab_and_line) <objfile>: New field. | |
10444 | * tracepoint.c (start_tracing, stop_tracing): Update. | |
10445 | ||
ff887920 TT |
10446 | 2014-03-03 Tom Tromey <tromey@redhat.com> |
10447 | ||
10448 | * probe.h (parse_probes, find_probe_by_pc) | |
10449 | (find_probes_in_objfile): Fix comments. | |
10450 | ||
f0407826 DE |
10451 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10452 | ||
10453 | * infrun.c (handle_signal_stop): Replace test for | |
10454 | TARGET_WAITKIND_STOPPED with an assert. | |
10455 | ||
35e6a711 DE |
10456 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10457 | ||
10458 | * guile/scm-objfile.c (ofscm_mark_objfile_smob): Fix typo in comment. | |
10459 | ||
667f9d0b DE |
10460 | 2014-03-02 Doug Evans <xdje42@gmail.com> |
10461 | ||
10462 | * guile/lib/gdb/printing.scm (append-pretty-printer!): Fix thinko. | |
10463 | ||
dc92ace0 MK |
10464 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10465 | ||
10466 | * obsd-nat.c: Include "gdb_wait.h" instead of <sys/wait.h>. | |
10467 | ||
a900370f MK |
10468 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10469 | ||
10470 | * i386obsd-nat.c: Include "obsd-nat.h". | |
10471 | (_initialize_i386obsd_nat): Call obsd_add_target instead of | |
10472 | add_target. | |
10473 | * config/i386/obsd.mh (NATDEPFILES): Add obsd-nat.o. | |
10474 | ||
b72a7981 MK |
10475 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10476 | ||
10477 | * i386obsd-nat.c (i386obsd_supply_pcb): Cast 'sf' to 'gdb_byte *'. | |
10478 | ||
96c70aba MK |
10479 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10480 | ||
10481 | * mips64obsd-nat.c: Include "obsd-nath". | |
10482 | (_initialize_mips64obsd_nat): Call obsd_add_target instead of | |
10483 | add_target | |
10484 | * config/mips/obsd64.mh (NATDEPFILES): Add obsd-nat.o. | |
10485 | ||
874a80af MK |
10486 | 2014-03-01 Mark Kettenis <kettenis@gnu.org> |
10487 | ||
8fd408f1 MK |
10488 | * amd64obsd-nat.c: Include "obsd-nat,h. |
10489 | (_initialize_amd64obsd_nat): Call obsd_add_target instead of | |
10490 | add_target. | |
874a80af MK |
10491 | * config/i386/obsd64.mh (NATDEPFILES): Add obsd-nat.o. |
10492 | ||
9cf95373 SC |
10493 | 2014-02-28 Siva Chandra Reddy <sivachandra@google.com> |
10494 | ||
10495 | * valops.c (find_oload_champ): Remove unneccesary argument METHOD. | |
10496 | (find_overload_match): Update call to find_oload_champ. | |
10497 | (find_oload_champ_namespace_loop): Likewise | |
10498 | ||
863e4da4 MK |
10499 | 2014-02-28 Mark Kettenis <kettenis@gnu.org> |
10500 | ||
025cac40 MK |
10501 | * Makefile.in (ALLDEPFILES): Add sparc64obsd-nat.c. |
10502 | ||
1ed586ce MK |
10503 | * configure.host (sparc64-*-openbsd*): Set gdb_host to obsd64. |
10504 | * config/sparc/obsd64.mh: New file. | |
10505 | * sparc64obsd-nat.c: New file. | |
10506 | ||
863e4da4 MK |
10507 | * obsd-nat.h: New file. |
10508 | * obsd-nat.c: New file. | |
10509 | * Makefile.in (HFILES_NO_SRCDIR): Add obsd-nat.h. | |
10510 | (ALLDEPFILES): Add obsd-nat.c. | |
10511 | ||
89de4da4 TT |
10512 | 2014-02-28 Tom Tromey <tromey@redhat.com> |
10513 | ||
10514 | * cli-out.c (cli_ui_out_impl): Now const. Remove comment. | |
10515 | * cli-out.h (cli_ui_out_impl): Now const. | |
10516 | * mi/mi-out.c (mi_ui_out_impl): Now const. Remove comment. | |
10517 | * ui-out.c (struct ui_out) <impl>: Now const. | |
10518 | (default_ui_out_impl): Now const. | |
10519 | (ui_out_new): Make 'impl' parameter const. | |
10520 | * ui-out.h (ui_out_new): Update. | |
10521 | ||
c725e7b6 MK |
10522 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10523 | ||
10524 | * solib-svr4.c (svr4_read_so_list): Initialize first_l_name to 0. | |
10525 | ||
670b46b3 MK |
10526 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10527 | ||
10528 | * sparc-nat.c (sparc_xfer_wcookie): Always use process ID. | |
10529 | ||
c91550fc JK |
10530 | 2014-02-27 Jan Kratochvil <jan.kratochvil@redhat.com> |
10531 | ||
10532 | Additional PR 8882 fix. | |
10533 | * solib-svr4.c (svr4_read_so_list): Change first to first_l_name. | |
10534 | ||
2fa0369e PA |
10535 | 2014-02-27 Pedro Alves <palves@redhat.com> |
10536 | ||
10537 | * nat/linux-waitpid.c (my_waitpid): Only block signals if WNOHANG | |
10538 | isn't set. | |
10539 | ||
d632a097 PA |
10540 | 2014-02-27 Pedro Alves <palves@redhat.com> |
10541 | ||
10542 | PR 12702 | |
10543 | * linux-nat.c (status_to_str): Moved to nat/linux-waitpid.c. | |
10544 | * nat/linux-waitpid.c: Include string.h. | |
10545 | (status_to_str): Moved here and made extern. | |
10546 | * nat/linux-waitpid.h (status_to_str): New declaration. | |
10547 | ||
2ebd5a35 HZ |
10548 | 2014-02-27 Hui Zhu <hui@codesourcery.com> |
10549 | ||
10550 | PR 12702 | |
10551 | * infrun.c (ptid_match): Move ... | |
10552 | * common/ptid.c (ptid_match): ... here. | |
10553 | * inferior.h (ptid_match): Move ... | |
10554 | * common/ptid.h (ptid_match): ... here. | |
10555 | ||
3cdd631f MK |
10556 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10557 | ||
10558 | * mips64obsd-tdep.c (mips64obsd_init_abi): Call obsd_init_abi. | |
10559 | * configure.tgt (mips64*-*-openbsd*): Add obsd-tdep.c to | |
10560 | gdb_target_obs. | |
10561 | ||
bee30a64 MK |
10562 | 2014-02-27 Mark Kettenis <kettenis@gnu.org> |
10563 | ||
10564 | * obsd-tdep.c (obsd_auxv_parse): New function. | |
10565 | (obsd_init_abi): Set auxv_parse. | |
27a48a92 MK |
10566 | |
10567 | * gdbarch.sh (auxv_parse): New. | |
10568 | * gdbarch.h: Regenerated. | |
10569 | * gdbarch.c: Regenerated. | |
10570 | * auxv.c (target_auxv_parse): Call gdbarch_parse_auxv if provided. | |
10571 | ||
7a5a839f LC |
10572 | 2014-02-26 Ludovic Courtès <ludo@gnu.org> |
10573 | ||
10574 | * guile/scm-value.c (gdbscm_history_append_x): New function. | |
10575 | (value_functions): Add it. | |
10576 | ||
31aa7e4e JB |
10577 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
10578 | ||
10579 | * dwarf2read.c (attr_value_as_address): New function. | |
10580 | (dwarf2_find_base_address, read_call_site_scope): Use | |
10581 | attr_value_as_address in place of DW_ADDR. | |
10582 | (dwarf2_get_pc_bounds): Use attr_value_as_address to get | |
10583 | the low and high addresses. Slight rework of the handling | |
10584 | of the high pc being a constant form, and limit it to | |
10585 | DWARF verson 4 or higher. | |
10586 | (dwarf2_record_block_ranges): Likewise. | |
10587 | (read_partial_die): Likewise. | |
10588 | (new_symbol_full): Use attr_value_as_address in place of DW_ADDR. | |
10589 | ||
9b333ba3 TT |
10590 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10591 | ||
10592 | * exec.c (exec_file_attach): Hold a reference to exec_bfd. | |
10593 | ||
5f6cac40 TT |
10594 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10595 | ||
10596 | * elfread.c (elf_read_minimal_symbols): Return early if | |
10597 | minimal symbols have already been read. Add "ei" parameter. | |
10598 | (elf_symfile_read): Call elf_read_minimal_symbols earlier. | |
10599 | * minsyms.c (prim_record_minimal_symbol_full): Update. | |
10600 | * objfiles.h (struct objstats) <n_minsyms>: Move... | |
10601 | (struct objfile_per_bfd_storage) <n_minsyms>: ... here. | |
10602 | * symmisc.c (print_objfile_statistics): Update. | |
10603 | ||
2750ef27 TT |
10604 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10605 | ||
10606 | * elfread.c (elf_read_minimal_symbols): New function, from | |
10607 | elf_symfile_read. | |
10608 | (elf_symfile_read): Call it. | |
10609 | ||
34643a32 TT |
10610 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10611 | ||
10612 | * minsyms.c (lookup_minimal_symbol, iterate_over_minimal_symbols) | |
10613 | (lookup_minimal_symbol_text, lookup_minimal_symbol_by_pc_name) | |
10614 | (lookup_minimal_symbol_solib_trampoline) | |
10615 | (lookup_minimal_symbol_by_pc_section_1) | |
10616 | (lookup_minimal_symbol_and_objfile): Update. | |
10617 | (prim_record_minimal_symbol_full): Use the per-BFD obstack. | |
10618 | Don't allocate a minimal symbol if minsyms have already been read. | |
10619 | (build_minimal_symbol_hash_tables): Update. | |
10620 | (install_minimal_symbols): Do nothing if minsyms already read. | |
10621 | Use the per-BFD obstack. | |
10622 | (terminate_minimal_symbol_table): Use the per-BFD obstack. | |
10623 | * objfiles.c (allocate_objfile): Call | |
10624 | terminate_minimal_symbol_table later. | |
10625 | (have_minimal_symbols): Update. | |
10626 | * objfiles.h (struct objfile_per_bfd_storage) <msymbols, | |
10627 | minimal_symbol_count, msymbol_hash, msymbol_demangled_hash>: | |
10628 | Move from struct objfile. | |
10629 | <minsyms_read>: New field. | |
10630 | (struct objfile) <msymbols, minimal_symbol_count, | |
10631 | msymbol_hash, msymbol_demangled_hash>: Move. | |
10632 | (ALL_OBJFILE_MSYMBOLS): Update. | |
10633 | * symfile.c (read_symbols): Set minsyms_read. | |
10634 | (reread_symbols): Update. | |
10635 | * symmisc.c (dump_objfile, dump_msymbols): Update. | |
10636 | ||
2273f0ac TT |
10637 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10638 | ||
10639 | * minsyms.c (msymbols_sort): Remove. | |
10640 | * minsyms.h (msymbols_sort): Remove. | |
10641 | * objfiles.c (objfile_relocate1): Don't relocate minsyms. | |
10642 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Use objfile offsets. | |
10643 | * elfread.c (elf_symtab_read): Don't add section offsets. | |
10644 | * xcoffread.c (record_minimal_symbol): Don't add section offset | |
10645 | to minimal symbol address. | |
10646 | * somread.c (text_offset, data_offset): Remove. | |
10647 | (som_symtab_read): Don't add section offsets to minimal symbol | |
10648 | addresses. | |
10649 | * coff-pe-read.c (add_pe_forwarded_sym, read_pe_exported_syms): | |
10650 | Don't add section offsets to minimal symbols. | |
10651 | * coffread.c (coff_symtab_read): Don't add section offsets | |
10652 | to minimal symbol addresses. | |
10653 | * machoread.c (macho_symtab_add_minsym): Don't add section offset | |
10654 | to minimal symbol addresses. | |
10655 | * mipsread.c (read_alphacoff_dynamic_symtab): Don't add | |
10656 | section offset to minimal symbol addresses. | |
10657 | * mdebugread.c (parse_partial_symbols): Don't add section | |
10658 | offset to minimal symbol addresses. | |
10659 | * dbxread.c (read_dbx_dynamic_symtab): Don't add section | |
10660 | offset to minimal symbol addresses. | |
10661 | ||
77e371c0 TT |
10662 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10663 | ||
10664 | * ada-lang.c (ada_main_name): Update. | |
10665 | (ada_add_standard_exceptions): Update. | |
10666 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10667 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10668 | * arm-tdep.c (skip_prologue_function, arm_skip_stub): Update. | |
10669 | * auxv.c (ld_so_xfer_auxv): Update. | |
10670 | * avr-tdep.c (avr_scan_prologue): Update. | |
10671 | * ax-gdb.c (gen_var_ref): Update. | |
10672 | * blockframe.c (get_pc_function_start) | |
10673 | (find_pc_partial_function_gnu_ifunc): Update. | |
10674 | * breakpoint.c (create_overlay_event_breakpoint) | |
10675 | (create_longjmp_master_breakpoint) | |
10676 | (create_std_terminate_master_breakpoint) | |
10677 | (create_exception_master_breakpoint): Update. | |
10678 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10679 | * c-valprint.c (c_val_print): Update. | |
10680 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10681 | * common/agent.c (agent_look_up_symbols): Update. | |
10682 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10683 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10684 | * dwarf2read.c (dw2_find_pc_sect_symtab): Update. | |
10685 | * elfread.c (elf_gnu_ifunc_record_cache) | |
10686 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10687 | * findvar.c (default_read_var_value): Update. | |
10688 | * frame.c (inside_main_func): Update. | |
10689 | * frv-tdep.c (frv_frame_this_id): Update. | |
10690 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10691 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10692 | Update. | |
10693 | * hppa-hpux-tdep.c (hppa64_hpux_search_dummy_call_sequence) | |
10694 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10695 | * hppa-tdep.c (hppa_symbol_address): Update. | |
10696 | * infcmd.c (until_next_command): Update. | |
10697 | * jit.c (jit_read_descriptor, jit_breakpoint_re_set_internal): | |
10698 | Update. | |
10699 | * linespec.c (minsym_found, add_minsym): Update. | |
10700 | * linux-nat.c (get_signo): Update. | |
10701 | * linux-thread-db.c (inferior_has_bug): Update. | |
10702 | * m32c-tdep.c (m32c_return_value) | |
10703 | (m32c_m16c_address_to_pointer): Update. | |
10704 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10705 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10706 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10707 | * maint.c (maintenance_translate_address): Update. | |
10708 | * minsyms.c (lookup_minimal_symbol_by_pc_name): Update. | |
10709 | (frob_address): New function. | |
10710 | (lookup_minimal_symbol_by_pc_section_1): Use raw addresses, | |
10711 | frob_address. Rename parameter to "pc_in". | |
10712 | (compare_minimal_symbols, compact_minimal_symbols): Use raw | |
10713 | addresses. | |
10714 | (find_solib_trampoline_target, minimal_symbol_upper_bound): | |
10715 | Update. | |
10716 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10717 | * mips-tdep.c (mips_skip_pic_trampoline_code): Update. | |
10718 | * objc-lang.c (find_objc_msgsend): Update. | |
10719 | * objfiles.c (objfile_relocate1): Update. | |
10720 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10721 | * p-valprint.c (pascal_val_print): Update. | |
10722 | * parse.c (write_exp_msymbol): Update. | |
10723 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup) | |
10724 | (ppc_elfv2_skip_entrypoint): Update. | |
10725 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10726 | * printcmd.c (build_address_symbolic, msym_info) | |
10727 | (address_info): Update. | |
10728 | * proc-service.c (ps_pglobal_lookup): Update. | |
10729 | * psymtab.c (find_pc_sect_psymtab_closer) | |
10730 | (find_pc_sect_psymtab, find_pc_sect_symtab_from_partial): | |
10731 | Change msymbol parameter to bound_minimal_symbol. | |
10732 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10733 | * remote.c (remote_check_symbols): Update. | |
10734 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use raw | |
10735 | address. | |
10736 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10737 | * solib-dsbt.c (lm_base): Update. | |
10738 | * solib-frv.c (lm_base, main_got): Update. | |
10739 | * solib-irix.c (locate_base): Update. | |
10740 | * solib-som.c (som_solib_create_inferior_hook) | |
10741 | (link_map_start): Update. | |
10742 | * solib-spu.c (spu_enable_break, ocl_enable_break): Update. | |
10743 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10744 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10745 | (flush_ea_cache): Update. | |
10746 | * stabsread.c (define_symbol, scan_file_globals): Update. | |
10747 | * stack.c (find_frame_funname): Update. | |
10748 | * symfile-debug.c (debug_qf_expand_symtabs_matching) | |
10749 | (debug_qf_find_pc_sect_symtab): Update. | |
10750 | * symfile.c (simple_read_overlay_table) | |
10751 | (simple_overlay_update): Update. | |
10752 | * symfile.h (struct quick_symbol_functions) | |
10753 | <find_pc_sect_symtab>: Change type of msymbol to | |
10754 | bound_minimal_symbol. | |
10755 | * symmisc.c (dump_msymbols): Update. | |
10756 | * symtab.c (find_pc_sect_symtab_via_partial) | |
10757 | (find_pc_sect_psymtab, find_pc_sect_line, skip_prologue_sal) | |
10758 | (search_symbols, print_msymbol_info): Update. | |
10759 | * symtab.h (MSYMBOL_VALUE_RAW_ADDRESS): New macro. | |
10760 | (MSYMBOL_VALUE_ADDRESS): Redefine. | |
10761 | (BMSYMBOL_VALUE_ADDRESS): New macro. | |
10762 | * tracepoint.c (scope_info): Update. | |
10763 | * tui/tui-disasm.c (tui_find_disassembly_address) | |
10764 | (tui_get_begin_asm_address): Update. | |
10765 | * valops.c (find_function_in_inferior): Update. | |
10766 | * value.c (value_static_field, value_fn_field): Update. | |
10767 | ||
3b7344d5 TT |
10768 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10769 | ||
10770 | * ada-lang.c (ada_update_initial_language): Update. | |
10771 | (ada_main_name, ada_has_this_exception_support): Update. | |
10772 | * ada-tasks.c (ada_tasks_inferior_data_sniffer): Update. | |
10773 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10774 | * arm-tdep.c (arm_skip_stub): Update. | |
10775 | * auxv.c (ld_so_xfer_auxv): Update. | |
10776 | * avr-tdep.c (avr_scan_prologue): Update. | |
10777 | * ax-gdb.c (gen_var_ref): Update. | |
10778 | * breakpoint.c (struct breakpoint_objfile_data) | |
10779 | <overlay_msym, longjmp_msym, terminate_msym, exception_msym>: Change | |
10780 | type to bound_minimal_symbol. | |
10781 | (create_overlay_event_breakpoint) | |
10782 | (create_longjmp_master_breakpoint) | |
10783 | (create_std_terminate_master_breakpoint) | |
10784 | (create_exception_master_breakpoint): Update. | |
10785 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10786 | * c-exp.y (classify_name): Update. | |
10787 | * coffread.c (coff_symfile_read): Update. | |
10788 | * common/agent.c (agent_look_up_symbols): Update. | |
10789 | * d-lang.c (d_main_name): Update. | |
10790 | * dbxread.c (find_stab_function_addr, end_psymtab): Update. | |
10791 | * dec-thread.c (enable_dec_thread): Update. | |
10792 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10793 | * elfread.c (elf_gnu_ifunc_resolve_by_got): Update. | |
10794 | * eval.c (evaluate_subexp_standard): Update. | |
10795 | * findvar.c (struct minsym_lookup_data) <result>: Change type | |
10796 | to bound_minimal_symbol. | |
10797 | <objfile>: Remove. | |
10798 | (minsym_lookup_iterator_cb, default_read_var_value): Update. | |
10799 | * frame.c (inside_main_func): Update. | |
10800 | * frv-tdep.c (frv_frame_this_id): Update. | |
10801 | * gcore.c (call_target_sbrk): Update. | |
10802 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10803 | * gnu-v3-abi.c (gnuv3_get_typeid, gnuv3_skip_trampoline): | |
10804 | Update. | |
10805 | * go-lang.c (go_main_name): Update. | |
10806 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
10807 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10808 | * hppa-tdep.c (hppa_extract_17, hppa_lookup_stub_minimal_symbol): | |
10809 | Update. Change return type. | |
10810 | * hppa-tdep.h (hppa_lookup_stub_minimal_symbol): Change return | |
10811 | type. | |
10812 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10813 | * linux-fork.c (inferior_call_waitpid, checkpoint_command): | |
10814 | Update. | |
10815 | * linux-nat.c (get_signo): Update. | |
10816 | * linux-thread-db.c (inferior_has_bug): Update | |
10817 | * m32c-tdep.c (m32c_return_value) | |
10818 | (m32c_m16c_address_to_pointer): Update. | |
10819 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10820 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10821 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10822 | * minsyms.c (lookup_minimal_symbol_internal): Rename to | |
10823 | lookup_minimal_symbol. Change return type. | |
10824 | (lookup_minimal_symbol): Remove. | |
10825 | (lookup_bound_minimal_symbol): Update. | |
10826 | (lookup_minimal_symbol_text): Change return type. | |
10827 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10828 | * minsyms.h (lookup_minimal_symbol, lookup_minimal_symbol_text) | |
10829 | (lookup_minimal_symbol_solib_trampoline): Change return type. | |
10830 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10831 | * objc-lang.c (lookup_objc_class, lookup_child_selector) | |
10832 | (value_nsstring, find_imps): Update. | |
10833 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10834 | * p-lang.c (pascal_main_name): Update. | |
10835 | * ppc-linux-tdep.c (ppc_linux_spe_context_lookup): Update. | |
10836 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10837 | * proc-service.c (ps_pglobal_lookup): Update. | |
10838 | * ravenscar-thread.c (get_running_thread_msymbol): Change | |
10839 | return type. | |
10840 | (has_ravenscar_runtime, get_running_thread_id): Update. | |
10841 | * remote.c (remote_check_symbols): Update. | |
10842 | * sol-thread.c (ps_pglobal_lookup): Update. | |
10843 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
10844 | * solib-dsbt.c (lm_base): Update. | |
10845 | * solib-frv.c (lm_base, frv_relocate_section_addresses): | |
10846 | Update. | |
10847 | * solib-irix.c (locate_base): Update. | |
10848 | * solib-som.c (som_solib_create_inferior_hook) | |
10849 | (som_solib_desire_dynamic_linker_symbols, link_map_start): | |
10850 | Update. | |
10851 | * solib-spu.c (spu_enable_break): Update. | |
10852 | * solib-svr4.c (elf_locate_base, enable_break): Update. | |
10853 | * spu-tdep.c (spu_get_overlay_table, spu_catch_start) | |
10854 | (flush_ea_cache): Update. | |
10855 | * stabsread.c (define_symbol): Update. | |
10856 | * symfile.c (simple_read_overlay_table): Update. | |
10857 | * symtab.c (find_pc_sect_line): Update. | |
10858 | * tracepoint.c (scope_info): Update. | |
10859 | * tui-disasm.c (tui_get_begin_asm_address): Update. | |
10860 | * value.c (value_static_field): Update. | |
10861 | ||
40c1a007 TT |
10862 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10863 | ||
10864 | * minsyms.c (prim_record_minimal_symbol_full): Use | |
10865 | SET_MSYMBOL_VALUE_ADDRESS. | |
10866 | * objfiles.c (objfile_relocate1): Use SET_MSYMBOL_VALUE_ADDRESS. | |
10867 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Use | |
10868 | SET_MSYMBOL_VALUE_ADDRESS. | |
10869 | * symtab.h (MSYMBOL_VALUE_ADDRESS): Expand to an rvalue. | |
10870 | (SET_MSYMBOL_VALUE_ADDRESS): New macro. | |
10871 | ||
efd66ac6 TT |
10872 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
10873 | ||
10874 | * symtab.h (struct minimal_symbol) <mginfo>: Rename from ginfo. | |
10875 | (MSYMBOL_VALUE, MSYMBOL_VALUE_ADDRESS, MSYMBOL_VALUE_BYTES) | |
10876 | (MSYMBOL_BLOCK_VALUE, MSYMBOL_VALUE_CHAIN, MSYMBOL_LANGUAGE) | |
10877 | (MSYMBOL_SECTION, MSYMBOL_OBJ_SECTION, MSYMBOL_NATURAL_NAME) | |
10878 | (MSYMBOL_LINKAGE_NAME, MSYMBOL_PRINT_NAME, MSYMBOL_DEMANGLED_NAME) | |
10879 | (MSYMBOL_SET_LANGUAGE, MSYMBOL_SEARCH_NAME) | |
10880 | (MSYMBOL_MATCHES_SEARCH_NAME, MSYMBOL_SET_NAMES): New macros. | |
10881 | * ada-lang.c (ada_main_name): Update. | |
10882 | (ada_lookup_simple_minsym): Update. | |
10883 | (ada_make_symbol_completion_list): Update. | |
10884 | (ada_add_standard_exceptions): Update. | |
10885 | * ada-tasks.c (read_atcb, ada_tasks_inferior_data_sniffer): Update. | |
10886 | * aix-thread.c (pdc_symbol_addrs, pd_enable): Update. | |
10887 | * amd64-windows-tdep.c (amd64_skip_main_prologue): Update. | |
10888 | * arm-tdep.c (skip_prologue_function): Update. | |
10889 | (arm_skip_stack_protector, arm_skip_stub): Update. | |
10890 | * arm-wince-tdep.c (arm_pe_skip_trampoline_code): Update. | |
10891 | (arm_wince_skip_main_prologue): Update. | |
10892 | * auxv.c (ld_so_xfer_auxv): Update. | |
10893 | * avr-tdep.c (avr_scan_prologue): Update. | |
10894 | * ax-gdb.c (gen_var_ref): Update. | |
10895 | * block.c (call_site_for_pc): Update. | |
10896 | * blockframe.c (get_pc_function_start): Update. | |
10897 | (find_pc_partial_function_gnu_ifunc): Update. | |
10898 | * breakpoint.c (create_overlay_event_breakpoint): Update. | |
10899 | (create_longjmp_master_breakpoint): Update. | |
10900 | (create_std_terminate_master_breakpoint): Update. | |
10901 | (create_exception_master_breakpoint): Update. | |
10902 | (resolve_sal_pc): Update. | |
10903 | * bsd-uthread.c (bsd_uthread_lookup_address): Update. | |
10904 | * btrace.c (ftrace_print_function_name, ftrace_function_switched): | |
10905 | Update. | |
10906 | * c-valprint.c (c_val_print): Update. | |
10907 | * coff-pe-read.c (add_pe_forwarded_sym): Update. | |
10908 | * coffread.c (coff_symfile_read): Update. | |
10909 | * common/agent.c (agent_look_up_symbols): Update. | |
10910 | * dbxread.c (find_stab_function_addr): Update. | |
10911 | (end_psymtab): Update. | |
10912 | * dwarf2loc.c (call_site_to_target_addr): Update. | |
10913 | (func_verify_no_selftailcall): Update. | |
10914 | (tailcall_dump): Update. | |
10915 | (call_site_find_chain_1): Update. | |
10916 | (dwarf_expr_reg_to_entry_parameter): Update. | |
10917 | * elfread.c (elf_gnu_ifunc_record_cache): Update. | |
10918 | (elf_gnu_ifunc_resolve_by_got): Update. | |
10919 | * f-valprint.c (info_common_command): Update. | |
10920 | * findvar.c (read_var_value): Update. | |
10921 | * frame.c (get_prev_frame_1): Update. | |
10922 | (inside_main_func): Update. | |
10923 | * frv-tdep.c (frv_skip_main_prologue): Update. | |
10924 | (frv_frame_this_id): Update. | |
10925 | * glibc-tdep.c (glibc_skip_solib_resolver): Update. | |
10926 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Update. | |
10927 | * gnu-v3-abi.c (gnuv3_rtti_type): Update. | |
10928 | (gnuv3_skip_trampoline): Update. | |
10929 | * hppa-hpux-tdep.c (hppa32_hpux_in_solib_call_trampoline): Update. | |
10930 | (hppa64_hpux_in_solib_call_trampoline): Update. | |
10931 | (hppa_hpux_skip_trampoline_code): Update. | |
10932 | (hppa64_hpux_search_dummy_call_sequence): Update. | |
10933 | (hppa_hpux_find_import_stub_for_addr): Update. | |
10934 | (hppa_hpux_find_dummy_bpaddr): Update. | |
10935 | * hppa-tdep.c (hppa_symbol_address) | |
10936 | (hppa_lookup_stub_minimal_symbol): Update. | |
10937 | * i386-tdep.c (i386_skip_main_prologue): Update. | |
10938 | (i386_pe_skip_trampoline_code): Update. | |
10939 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Update. | |
10940 | * infcall.c (get_function_name): Update. | |
10941 | * infcmd.c (until_next_command): Update. | |
10942 | * jit.c (jit_breakpoint_re_set_internal): Update. | |
10943 | (jit_inferior_init): Update. | |
10944 | * linespec.c (minsym_found): Update. | |
10945 | (add_minsym): Update. | |
10946 | * linux-fork.c (info_checkpoints_command): Update. | |
10947 | * linux-nat.c (get_signo): Update. | |
10948 | * linux-thread-db.c (inferior_has_bug): Update. | |
10949 | * m32c-tdep.c (m32c_return_value): Update. | |
10950 | (m32c_m16c_address_to_pointer): Update. | |
10951 | (m32c_m16c_pointer_to_address): Update. | |
10952 | * m32r-tdep.c (m32r_frame_this_id): Update. | |
10953 | * m68hc11-tdep.c (m68hc11_get_register_info): Update. | |
10954 | * machoread.c (macho_resolve_oso_sym_with_minsym): Update. | |
10955 | * maint.c (maintenance_translate_address): Update. | |
10956 | * minsyms.c (add_minsym_to_hash_table): Update. | |
10957 | (add_minsym_to_demangled_hash_table): Update. | |
10958 | (msymbol_objfile): Update. | |
10959 | (lookup_minimal_symbol): Update. | |
10960 | (iterate_over_minimal_symbols): Update. | |
10961 | (lookup_minimal_symbol_text): Update. | |
10962 | (lookup_minimal_symbol_by_pc_name): Update. | |
10963 | (lookup_minimal_symbol_solib_trampoline): Update. | |
10964 | (lookup_minimal_symbol_by_pc_section_1): Update. | |
10965 | (lookup_minimal_symbol_and_objfile): Update. | |
10966 | (prim_record_minimal_symbol_full): Update. | |
10967 | (compare_minimal_symbols): Update. | |
10968 | (compact_minimal_symbols): Update. | |
10969 | (build_minimal_symbol_hash_tables): Update. | |
10970 | (install_minimal_symbols): Update. | |
10971 | (terminate_minimal_symbol_table): Update. | |
10972 | (find_solib_trampoline_target): Update. | |
10973 | (minimal_symbol_upper_bound): Update. | |
10974 | * mips-linux-tdep.c (mips_linux_skip_resolver): Update. | |
10975 | * mips-tdep.c (mips_stub_frame_sniffer): Update. | |
10976 | (mips_skip_pic_trampoline_code): Update. | |
10977 | * msp430-tdep.c (msp430_skip_trampoline_code): Update. | |
10978 | * objc-lang.c (selectors_info): Update. | |
10979 | (classes_info): Update. | |
10980 | (find_methods): Update. | |
10981 | (find_imps): Update. | |
10982 | (find_objc_msgsend): Update. | |
10983 | * objfiles.c (objfile_relocate1): Update. | |
10984 | * objfiles.h (ALL_OBJFILE_MSYMBOLS): Update. | |
10985 | * obsd-tdep.c (obsd_skip_solib_resolver): Update. | |
10986 | * p-valprint.c (pascal_val_print): Update. | |
10987 | * parse.c (write_exp_msymbol): Update. | |
10988 | * ppc-linux-tdep.c (powerpc_linux_in_dynsym_resolve_code) | |
10989 | (ppc_linux_spe_context_lookup, ppc_elfv2_skip_entrypoint): Update. | |
10990 | * ppc-sysv-tdep.c (convert_code_addr_to_desc_addr): Update. | |
10991 | * printcmd.c (build_address_symbolic): Update. | |
10992 | (sym_info): Update. | |
10993 | (address_info): Update. | |
10994 | * proc-service.c (ps_pglobal_lookup): Update. | |
10995 | * psymtab.c (find_pc_sect_psymtab_closer): Update. | |
10996 | (find_pc_sect_psymtab): Update. | |
10997 | * python/py-framefilter.c (py_print_frame): Update. | |
10998 | * ravenscar-thread.c (get_running_thread_id): Update. | |
10999 | * record-btrace.c (btrace_call_history, btrace_get_bfun_name): | |
11000 | Update. | |
11001 | * remote.c (remote_check_symbols): Update. | |
11002 | * rs6000-tdep.c (rs6000_skip_main_prologue): Update. | |
11003 | (rs6000_skip_trampoline_code): Update. | |
11004 | * sh64-tdep.c (sh64_elf_make_msymbol_special): Update. | |
11005 | * sol2-tdep.c (sol2_skip_solib_resolver): Update. | |
11006 | * solib-dsbt.c (lm_base): Update. | |
11007 | * solib-frv.c (lm_base): Update. | |
11008 | (main_got): Update. | |
11009 | * solib-irix.c (locate_base): Update. | |
11010 | * solib-som.c (som_solib_create_inferior_hook): Update. | |
11011 | (som_solib_desire_dynamic_linker_symbols): Update. | |
11012 | (link_map_start): Update. | |
11013 | * solib-spu.c (spu_enable_break): Update. | |
11014 | (ocl_enable_break): Update. | |
11015 | * solib-svr4.c (elf_locate_base): Update. | |
11016 | (enable_break): Update. | |
11017 | * spu-tdep.c (spu_get_overlay_table): Update. | |
11018 | (spu_catch_start): Update. | |
11019 | (flush_ea_cache): Update. | |
11020 | * stabsread.c (define_symbol): Update. | |
11021 | (scan_file_globals): Update. | |
11022 | * stack.c (find_frame_funname): Update. | |
11023 | (frame_info): Update. | |
11024 | * symfile.c (simple_read_overlay_table): Update. | |
11025 | (simple_overlay_update): Update. | |
11026 | * symmisc.c (dump_msymbols): Update. | |
11027 | * symtab.c (fixup_section): Update. | |
11028 | (find_pc_sect_line): Update. | |
11029 | (skip_prologue_sal): Update. | |
11030 | (search_symbols): Update. | |
11031 | (print_msymbol_info): Update. | |
11032 | (rbreak_command): Update. | |
11033 | (MCOMPLETION_LIST_ADD_SYMBOL): New macro. | |
11034 | (completion_list_objc_symbol): Update. | |
11035 | (default_make_symbol_completion_list_break_on): Update. | |
11036 | * tracepoint.c (scope_info): Update. | |
11037 | * tui/tui-disasm.c (tui_find_disassembly_address): Update. | |
11038 | (tui_get_begin_asm_address): Update. | |
11039 | * valops.c (find_function_in_inferior): Update. | |
11040 | * value.c (value_static_field): Update. | |
11041 | (value_fn_field): Update. | |
11042 | ||
50e65b17 TT |
11043 | 2014-02-26 Tom Tromey <tromey@redhat.com> |
11044 | ||
11045 | * blockframe.c (find_pc_partial_function_gnu_ifunc): Use | |
11046 | bound minimal symbols. Move code that knows about minsym | |
11047 | table layout... | |
11048 | * minsyms.c (minimal_symbol_upper_bound): ... here. New | |
11049 | function. | |
11050 | * minsyms.h (minimal_symbol_upper_bound): Declare. | |
11051 | * objc-lang.c (find_objc_msgsend): Use bound minimal symbols, | |
11052 | minimal_symbol_upper_bound. | |
11053 | ||
1b588015 JB |
11054 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
11055 | ||
11056 | * python/lib/gdb/printing.py (RegexpCollectionPrettyPrinter): | |
11057 | Use the type's name if its basic type does not have a tag. | |
11058 | ||
dbb9c2b1 JB |
11059 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
11060 | ||
11061 | * dwarf2read.c (read_subrange_type): Add comment. | |
11062 | ||
55426c9d JB |
11063 | 2014-02-27 Joel Brobecker <brobecker@adacore.com> |
11064 | ||
11065 | * dwarf2read.c (update_enumeration_type_from_children): New | |
11066 | function, mostly extracted from process_structure_scope. | |
11067 | (read_enumeration_type): Call update_enumeration_type_from_children. | |
11068 | (process_enumeration_scope): Do not set THIS_TYPE's flag_unsigned | |
11069 | and flag_flag_enum fields. | |
11070 | ||
f2fce0ca PA |
11071 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11072 | ||
11073 | * bsd-uthread.c (bsd_uthread_xfer_partial): Delete function. | |
11074 | (bsd_uthread_target): Don't install bsd_uthread_xfer_partial as | |
11075 | to_xfer_partial method. | |
11076 | ||
7a44e40e PA |
11077 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11078 | ||
11079 | * target.c (complete_target_initialization): Don't install | |
11080 | default_xfer_partial as to_xfer_partial hook. | |
11081 | (nomemory): Delete. | |
11082 | (update_current_target): Don't INHERIT nor de_fault | |
11083 | deprecated_xfer_memory. Delete de_fault macro. | |
11084 | (default_xfer_partial, deprecated_debug_xfer_memory): Delete. | |
11085 | (setup_target_debug): Don't install a deprecated_xfer_memory hook. | |
11086 | * target.h (struct target_ops) <deprecated_xfer_memory>: Delete | |
11087 | field. | |
11088 | ||
bd265cd0 PA |
11089 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11090 | ||
11091 | * go32-nat.c (my_write_child): New function. | |
11092 | (go32_xfer_memory): Rewrite as to_xfer_partial helper. | |
11093 | (go32_xfer_partial): New function. | |
11094 | (init_go32_ops): Don't install a deprecated_xfer_memory hook. | |
11095 | Instead install a to_xfer_partial hook. | |
11096 | ||
9d46c4e5 PA |
11097 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11098 | ||
11099 | * nto-procfs.c (procfs_xfer_memory): Adjust interface as a | |
11100 | to_xfer_partial helper. Rewrite. | |
11101 | (procfs_xfer_partial): New function. | |
11102 | (init_procfs_ops): Don't install a deprecated_xfer_memory hook. | |
11103 | Install a to_xfer_partial hook. | |
11104 | ||
a1583b1f PA |
11105 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11106 | ||
11107 | * remote-m32r-sdi.c (send_data): Constify 'buf' parameter. | |
11108 | (m32r_xfer_memory): Adjust as a to_xfer_partial helper. | |
11109 | (m32r_xfer_partial): New function. | |
11110 | (init_m32r_ops): Don't install a deprecated_xfer_memory hook. | |
11111 | Install a to_xfer_partial hook. | |
11112 | ||
6df1b29f PA |
11113 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11114 | ||
11115 | * remote-mips.c (mips_xfer_memory): Adjust as to_xfer_partial | |
11116 | helper. | |
11117 | (mips_xfer_partial): New function. | |
11118 | (_initialize_remote_mips): Don't install a deprecated_xfer_memory | |
11119 | hook. Install a to_xfer_partial hook. | |
11120 | ||
dc53a7ad JB |
11121 | 2014-02-26 Joel Brobecker <brobecker@adacore.com> |
11122 | ||
11123 | * gdbtypes.h (create_array_type_with_stride): Add declaration. | |
11124 | * gdbtypes.c (create_array_type_with_stride): New function, | |
11125 | renaming create_array_type, but with an added parameter | |
11126 | called "bit_stride". | |
11127 | (create_array_type): Re-implement using | |
11128 | create_array_type_with_stride. | |
11129 | * dwarf2read.c (read_array_type): Add support for DW_AT_byte_stride | |
11130 | and DW_AT_bit_stride attributes. | |
11131 | ||
12ab52e9 PA |
11132 | 2014-02-26 Pedro Alves <palves@redhat.com> |
11133 | ||
11134 | * breakpoint.c (bpstat_check_breakpoint_conditions): Handle | |
11135 | task-specific breakpoints. | |
11136 | ||
d16461ae PA |
11137 | 2014-02-25 Pedro Alves <palves@redhat.com> |
11138 | ||
11139 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Reimplement | |
11140 | handling of object == TARGET_OBJECT_UNWIND_TABLE. | |
11141 | ||
a8b16220 SS |
11142 | 2014-02-25 Stan Shebs <stan@codesourcery.com> |
11143 | ||
11144 | * defs.h: Annotate comments for Doxygen. | |
11145 | ||
b9e795ee TT |
11146 | 2014-02-25 Tom Tromey <tromey@redhat.com> |
11147 | ||
11148 | * target.h (target_ignore): Don't declare. | |
11149 | * target.c (target_ignore): Remove. | |
11150 | ||
849c862e JK |
11151 | 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
11152 | ||
11153 | PR gdb/16626 | |
11154 | * auto-load.c (auto_load_objfile_script_1): Change filename to | |
11155 | debugfile. | |
11156 | ||
475109d8 JB |
11157 | 2014-02-25 Joel Brobecker <brobecker@adacore.com> |
11158 | ||
11159 | * ia64-linux-nat.c (ia64_linux_xfer_partial): Add function | |
11160 | documentation. Adjust prototype to match the target_ops | |
11161 | to_xfer_partial method. Adjust implementation accordingly. | |
11162 | ||
e186c3bd HZ |
11163 | 2014-02-25 Hui Zhu <hui@codesourcery.com> |
11164 | ||
11165 | * target.h (target_ops): Fix TARGET_DEFAULT_RETURN of | |
11166 | to_traceframe_info. | |
11167 | ||
6d451942 KB |
11168 | 2014-02-25 Kevin Buettner <kevinb@redhat.com> |
11169 | ||
041ab8b4 | 11170 | * rl78-tdep.c (RL78_BANK0_RP0_PTR_REGNUM, RL78_BANK0_RP1_PTR_REGNUM) |
6d451942 KB |
11171 | (RL78_BANK0_RP2_PTR_REGNUM, RL78_BANK0_RP3_PTR_REGNUM) |
11172 | (RL78_BANK1_RP0_PTR_REGNUM, RL78_BANK1_RP1_PTR_REGNUM) | |
11173 | (RL78_BANK1_RP2_PTR_REGNUM, RL78_BANK1_RP3_PTR_REGNUM) | |
11174 | (RL78_BANK2_RP0_PTR_REGNUM, RL78_BANK2_RP1_PTR_REGNUM) | |
11175 | (RL78_BANK2_RP2_PTR_REGNUM, RL78_BANK2_RP3_PTR_REGNUM) | |
11176 | (RL78_BANK3_RP0_PTR_REGNUM, RL78_BANK3_RP1_PTR_REGNUM) | |
11177 | (RL78_BANK3_RP2_PTR_REGNUM, RL78_BANK3_RP3_PTR_REGNUM): | |
11178 | New constants. | |
11179 | (rl78_register_type): Use a data pointer type for SP and | |
11180 | new pseudo registers mentioned above. Use a 16 bit integer | |
11181 | type for all other register pairs. | |
11182 | (rl78_register_name, rl78_g10_register_name): Update for | |
11183 | new pseudo registers. | |
11184 | (rl78_pseudo_register_read): Likewise. | |
11185 | (rl78_pseudo_register_write): Likewise. | |
11186 | (rl78_dwarf_reg_to_regnum): Return register numbers representing | |
11187 | to the newly added pseudo registers. | |
11188 | ||
eddf0bae DE |
11189 | 2014-02-24 Doug Evans <dje@google.com> |
11190 | ||
11191 | * value.c (record_latest_value): Fix comment. | |
11192 | * printcmd.c (print_command_1): Remove code to handle -1 return from | |
11193 | record_latest_value. | |
11194 | ||
e96027e0 PA |
11195 | 2014-02-24 Pedro Alves <palves@redhat.com> |
11196 | ||
11197 | * procfs.c (procfs_target): Don't install procfs_xfer_memory as | |
11198 | deprecated_xfer_memory hook. | |
11199 | (procfs_xfer_partial): Call procfs_xfer_memory instead | |
11200 | of the deprecated_xfer_memory target hook. | |
11201 | (procfs_xfer_memory): Adjust interface as a to_xfer_partial | |
11202 | helper. | |
11203 | ||
0837c976 YZ |
11204 | 2014-02-24 Yuanhui Zhang <asmwarrior@gmail.com> |
11205 | ||
11206 | * windows-nat.c (windows_xfer_shared_libraries): Return | |
11207 | TARGET_XFER_EOF if LEN is zero to fix an assert failure when | |
11208 | requested object is TARGET_OBJECT_LIBRARIES. | |
11209 | ||
bc113b4e YQ |
11210 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11211 | ||
11212 | * target.h (enum target_xfer_status) | |
11213 | <TARGET_XFER_E_UNAVAILABLE>: Rename it to ... | |
11214 | <TARGET_XFER_UNAVAILABLE>: ... it with setting value 2 | |
11215 | explicitly. New. | |
11216 | * corefile.c (memory_error_message): User updated. | |
11217 | * exec.c (section_table_read_available_memory): Likewise. | |
11218 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
11219 | * target.c (target_xfer_status_to_string): Likewise. | |
11220 | (raw_memory_xfer_partial): Likewise. | |
11221 | (memory_xfer_partial_1, target_xfer_partial): Likewise. | |
11222 | * valops.c (read_value_memory): Likewise. | |
11223 | * exec.h: Update comments. | |
11224 | ||
01cb8804 YQ |
11225 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11226 | ||
11227 | * target.c (target_xfer_status_to_string): Rename argument err | |
11228 | to status. | |
11229 | * target.h (target_xfer_status_to_string): Update declaration. | |
11230 | Replace target_xfer_error_to_string with | |
11231 | target_xfer_status_to_string in comment. | |
11232 | ||
93063aa6 YQ |
11233 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11234 | ||
11235 | * mips-linux-nat.c (super_close): Update its type. | |
11236 | (mips_linux_close): Pass 'self' to super_close. | |
11237 | ||
5c328c05 YQ |
11238 | 2014-02-24 Yao Qi <yao@codesourcery.com> |
11239 | ||
11240 | * target.h (TARGET_XFER_STATUS_ERROR_P): Remove. | |
11241 | * corefile.c (read_memory): Adjusted. | |
11242 | * target.c (target_write_with_progress): Adjusted. | |
11243 | ||
f73023dd YQ |
11244 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11245 | ||
11246 | Revert two patches: | |
11247 | ||
11248 | 2013-10-25 Yao Qi <yao@codesourcery.com> | |
11249 | ||
11250 | * remote.c (remote_traceframe_info): Return early if | |
11251 | traceframe is not selected. | |
11252 | ||
11253 | 2013-07-19 Yao Qi <yao@codesourcery.com> | |
11254 | ||
11255 | * target.c (update_current_target): Change the default action | |
11256 | of 'to_traceframe_info' from tcomplain to return_zero. | |
11257 | * target.h (struct target_ops) <to_traceframe_info>: Add more | |
11258 | comments. | |
11259 | ||
5a2eb0ef YQ |
11260 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11261 | ||
11262 | * valops.c (read_value_memory): Rewrite it. Call | |
11263 | target_xfer_partial in a loop. | |
11264 | * exec.h (section_table_available_memory): Remove declaration. | |
11265 | Move comments to ... | |
11266 | * exec.c (section_table_available_memory): ... here. Make it | |
11267 | static. | |
11268 | ||
1ee79381 YQ |
11269 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11270 | ||
11271 | * exec.c (section_table_read_available_memory): New function. | |
11272 | * exec.h (section_table_read_available_memory): Declare. | |
11273 | * ctf.c (ctf_xfer_partial): Call | |
11274 | section_table_read_available_memory. | |
11275 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
11276 | ||
1ca49d37 YQ |
11277 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11278 | ||
11279 | * ctf.c (ctf_xfer_partial): Move code to ... | |
11280 | * exec.c (exec_read_partial_read_only): ... it. New function. | |
11281 | * tracefile-tfile.c (tfile_xfer_partial): Likewise. | |
11282 | * tracefile.c: Include "exec.h". | |
11283 | * exec.h (exec_read_partial_read_only): Declare. | |
11284 | ||
a283690e YQ |
11285 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11286 | ||
11287 | * tracefile-tfile.c (tfile_has_all_memory): Remove. | |
11288 | (tfile_has_memory): Remove. | |
11289 | (init_tfile_ops): Don't set fields to_has_all_memory and | |
11290 | to_has_memory of tfile_ops. | |
11291 | * tracefile.c (tracefile_has_all_memory): New function. | |
11292 | (tracefile_has_memory): New function. | |
11293 | (init_tracefile_ops): Initialize fields to_has_all_memory and | |
11294 | to_has_memory of 'ops'. | |
11295 | ||
12e03cd0 YQ |
11296 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11297 | ||
11298 | * ctf.c (ctf_has_stack, ctf_has_registers): Remove. | |
11299 | (ctf_thread_alive, ctf_get_trace_status): Remove. | |
11300 | (init_ctf_ops): Don't set some fields of ctf_ops. Call | |
11301 | init_tracefile_ops. | |
11302 | * tracefile-tfile.c (tfile_get_trace_status): Remove. | |
11303 | (tfile_has_stack, tfile_has_registers): Remove. | |
11304 | (tfile_thread_alive): Remove. | |
11305 | (init_tfile_ops): Don't set some fields of tfile_ops. Call | |
11306 | init_tracefile_ops. | |
11307 | * tracefile.c (tracefile_has_stack): New function. | |
11308 | (tracefile_has_registers): New function. | |
11309 | (tracefile_thread_alive): New function. | |
11310 | (tracefile_get_trace_status): New function. | |
11311 | (init_tracefile_ops): New function. | |
11312 | * tracefile.h (init_tracefile_ops): Declare. | |
11313 | ||
11395323 YQ |
11314 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11315 | ||
11316 | * tracepoint.c (TFILE_PID): Move it to tracefile-tfile.c. | |
11317 | (O_LARGEFILE): Likewise. | |
11318 | (tfile_ops): Likewise. | |
11319 | (TRACE_HEADER_SIZE): Likewise. | |
11320 | (trace_fd, trace_frames_offset, cur_offset): Likewise. | |
11321 | (cur_data_size): Likewise. | |
11322 | (tfile_read, tfile_open, tfile_interp_line): Likewise. | |
11323 | (tfile_close, tfile_files_info): Likewise. | |
11324 | (tfile_get_trace_status): Likewise. | |
11325 | (tfile_get_tracepoint_status): Likewise. | |
11326 | (tfile_get_traceframe_address): Likewise. | |
11327 | (tfile_trace_find, match_blocktype): Likewise. | |
11328 | (traceframe_walk_blocks, traceframe_find_block_type): Likewise. | |
11329 | (tfile_fetch_registers, tfile_xfer_partial): Likewise. | |
11330 | (tfile_get_trace_state_variable_value): Likewise. | |
11331 | (tfile_has_all_memory, tfile_has_memory): Likewise. | |
11332 | (tfile_has_stack, tfile_has_registers): Likewise. | |
11333 | (tfile_thread_alive, build_traceframe_info): Likewise. | |
11334 | (tfile_traceframe_info, init_tfile_ops): Likewise. | |
11335 | (_initialize_tracepoint): Don't call init_tfile_ops | |
11336 | and add_target_with_completer. | |
11337 | * tracefile-tfile.c: Include regcache.h, inferior.h, gdbthread.h, | |
11338 | exec.h, completer.h and filenames.h. | |
11339 | (_initialize_tracefile_tfile): New function. | |
11340 | ||
7951c4eb YQ |
11341 | 2014-02-23 Yao Qi <yao@codesourcery.com> |
11342 | ||
11343 | * Makefile.in (REMOTE_OBS): Append tracefile.o and | |
11344 | tracefile-tfile.o. | |
11345 | (HFILES_NO_SRCDIR): Add tracefile.h. | |
11346 | * ctf.c: Include "tracefile.h". | |
11347 | * tracefile.h: New file. | |
11348 | * tracefile.c: New file | |
11349 | * tracefile-tfile.c: New file. | |
11350 | * tracepoint.c: Include "tracefile.h". | |
11351 | (free_uploaded_tps, free_uploaded_tsvs): Remove declarations. | |
11352 | (stop_reason_names): Add const. | |
11353 | (trace_file_writer_xfree): Move it to tracefile.c. | |
11354 | (trace_save, trace_save_command, trace_save_tfile): Likewise. | |
11355 | (trace_save_ctf): Likewise. | |
11356 | (struct tfile_trace_file_writer): Move it to tracefile-tfile.c. | |
11357 | (tfile_target_save, tfile_dtor, tfile_start): Likewise. | |
11358 | (tfile_write_header, tfile_write_regblock_type): Likewise. | |
11359 | (tfile_write_status, tfile_write_uploaded_tsv): Likewise. | |
11360 | (tfile_write_uploaded_tp, tfile_write_definition_end): Likewise. | |
11361 | (tfile_write_raw_data, tfile_end): Likewise. | |
11362 | (tfile_trace_file_writer_new): Likewise. | |
11363 | (free_uploaded_tp): Make it extern. | |
11364 | (free_uploaded_tsv): Make it extern. | |
11365 | (_initialize_tracepoint): Move code to register command 'tsave' | |
11366 | to tracefile.c. | |
11367 | * tracepoint.h (stop_reason_names): Declare. | |
11368 | (struct trace_frame_write_ops): Move it to tracefile.h. | |
11369 | (struct trace_file_write_ops): Likewise. | |
11370 | (struct trace_file_writer): Likewise. | |
11371 | (free_uploaded_tsvs, free_uploaded_tps): Declare. | |
11372 | ||
184cd072 JK |
11373 | 2014-02-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
11374 | ||
11375 | PR gdb/16594 | |
11376 | * common/linux-osdata.c (linux_common_core_of_thread): Find the end of | |
11377 | process name. | |
11378 | (get_cores_used_by_process): New parameter num_cores, use it. | |
11379 | (linux_xfer_osdata_processes): Pass num_cores to it. | |
11380 | * linux-tdep.c (linux_info_proc, linux_fill_prpsinfo): Find the end of | |
11381 | process name. | |
11382 | ||
c63528fc AK |
11383 | 2014-02-21 Andreas Arnez <arnez@vnet.linux.ibm.com> |
11384 | ||
11385 | * target.c (memory_xfer_partial): Fix length arg in call to | |
11386 | breakpoint_xfer_memory. | |
11387 | ||
d7b30f67 SDJ |
11388 | 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com> |
11389 | ||
11390 | PR tdep/16397 | |
11391 | * i386-tdep.c (i386_stap_parse_special_token_triplet): Check if a | |
11392 | number comes after the + or - signs. Adjust length of register | |
11393 | name to be extracted. | |
11394 | ||
8838afaf TT |
11395 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
11396 | ||
11397 | * varobj.h (c_varobj_ops, cplus_varobj_ops, java_varobj_ops) | |
11398 | (ada_varobj_ops): Mark "extern". | |
11399 | ||
05227d14 TT |
11400 | 2014-02-20 Tom Tromey <tromey@redhat.com> |
11401 | ||
11402 | * dbxread.c (read_dbx_symtab): Remove last_o_file_start. | |
11403 | ||
1254eefc DE |
11404 | 2014-02-20 Doug Evans <xdje42@gmail.com> |
11405 | ||
11406 | * guile/scm-gsmob.c (gdbscm_init_eqable_gsmob): New arg containing_scm. | |
11407 | All callers updated. | |
11408 | (gdbscm_fill_eqable_gsmob_ptr_slot): Delete arg containing_scm. | |
11409 | All callers updated. | |
11410 | * guile/guile-internal.h (gdbscm_init_eqable_gsmob): Update. | |
11411 | (gdbscm_fill_eqable_gsmob_ptr_slot): Update. | |
11412 | ||
adde2bff DE |
11413 | 2014-02-20 lin zuojian <manjian2006@gmail.com> |
11414 | Joel Brobecker <brobecker@adacore.com> | |
11415 | Doug Evans <xdje42@gmail.com> | |
11416 | ||
11417 | PR symtab/16581 | |
11418 | * dwarf2read.c (struct die_info): New member in_process. | |
11419 | (reset_die_in_process): New function. | |
11420 | (process_die): Set it at the start, reset when returning. | |
11421 | (inherit_abstract_dies): Only call process_die if origin_child_die | |
11422 | not already being processed. | |
11423 | ||
3be75f87 JB |
11424 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11425 | ||
11426 | * windows-nat.c (handle_unload_dll): Add function documentation. | |
11427 | (do_initial_windows_stuff): Add comment explaining why we wait | |
11428 | until after inferior initialization has finished before | |
11429 | processing all DLLs. | |
11430 | ||
47f7ffdb JB |
11431 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11432 | ||
11433 | * windows-nat.c (get_module_name): Delete. | |
11434 | (windows_get_exec_module_filename): New function, mostly | |
11435 | inspired from get_module_name. | |
11436 | (windows_pid_to_exec_file): Replace call to get_module_name | |
11437 | by call to windows_get_exec_module_filename. | |
11438 | ||
1cd9feab JB |
11439 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11440 | ||
11441 | * windows-nat.c (handle_load_dll): Rewrite this function's | |
11442 | introductory comment. Remove code using get_module_name | |
11443 | to get the DLL's name. | |
11444 | ||
ea39ad35 JB |
11445 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11446 | ||
11447 | * windows-nat.c (get_windows_debug_event): Ignore | |
11448 | LOAD_DLL_DEBUG_EVENT and UNLOAD_DLL_DEBUG_EVENT | |
11449 | if windows_initialization_done == 0. | |
11450 | (windows_add_all_dlls): Renames windows_ensure_ntdll_loaded. | |
11451 | Adjust implementation to always load all DLLs. | |
11452 | (do_initial_windows_stuff): Replace call to | |
11453 | windows_ensure_ntdll_loaded by call to windows_add_all_dlls. | |
11454 | ||
95060284 JB |
11455 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11456 | ||
11457 | * windows-nat.c (_initialize_windows_nat): Deprecate the | |
11458 | "dll-symbols" command. Turn the "add-shared-symbol-files" | |
11459 | and "assf" aliases into commands, and deprecate them as well. | |
11460 | * NEWS: Add entry explaining that "dll-symbols" and its two | |
11461 | aliases are now deprecated. | |
11462 | ||
8d4fdb12 JB |
11463 | 2014-02-20 Joel Brobecker <brobecker@adacore.com> |
11464 | ||
11465 | * dec-thread.c (dec_thread_get_ada_task_ptid): Avoid unescaped | |
11466 | new-line in debug string. Remove trailing spaces. | |
11467 | ||
1b281443 SS |
11468 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
11469 | ||
11470 | * darwin-nat.c (darwin_xfer_partial): Fix return type. | |
11471 | ||
f7bd0f78 SC |
11472 | 2014-02-19 Siva Chandra Reddy <sivachandra@google.com> |
11473 | ||
11474 | * NEWS: Add entry for the new feature | |
11475 | * python/py-value.c (valpy_binop): Call value_x_binop for struct | |
11476 | and class values. | |
11477 | ||
399ebc3d SS |
11478 | 2014-02-19 Stan Shebs <stan@codesourcery.com> |
11479 | ||
11480 | * MAINTAINERS: List Yao Qi as nios2 maintainer. | |
11481 | ||
c658158d PA |
11482 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11483 | ||
11484 | * common/ptid.h (struct ptid): Mention that process_stratum | |
11485 | targets should prefer ptid.lwp. | |
11486 | ||
ba348170 PA |
11487 | 2014-02-19 Pedro Alves <palves@redhat.com> |
11488 | ||
11489 | * remote.c (remote_thread_alive, write_ptid, read_ptid) | |
11490 | (read_ptid, remote_newthread_step, remote_threads_extra_info) | |
11491 | (remote_get_ada_task_ptid, append_resumption, remote_stop_ns) | |
11492 | (threadalive_test, remote_pid_to_str): Use the ptid.lwp field to | |
11493 | store remote thread ids rather than ptid.tid. | |
11494 | (_initialize_remote): Adjust. | |
11495 | ||
ac01945b TT |
11496 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11497 | ||
11498 | * target.c (target_get_unwinder): Rewrite. | |
11499 | (target_get_tailcall_unwinder): Rewrite. | |
11500 | * record-btrace.c (record_btrace_to_get_unwinder): New function. | |
11501 | (record_btrace_to_get_tailcall_unwinder): New function. | |
11502 | (init_record_btrace_ops): Update. | |
11503 | * target.h (struct target_ops) <to_get_unwinder, | |
11504 | to_get_tailcall_unwinder>: Now function pointers. Use | |
11505 | TARGET_DEFAULT_RETURN. | |
11506 | ||
8476dc92 TT |
11507 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11508 | ||
11509 | * nto-procfs.c (procfs_remove_hw_breakpoint): Add 'self' | |
11510 | argument. | |
11511 | (init_procfs_ops): Correctly set to_remove_hw_breakpoint. | |
11512 | ||
c0eca49f TT |
11513 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11514 | ||
11515 | * record-btrace.c (record_btrace_decr_pc_after_break): Delegate | |
11516 | directly. | |
11517 | * target-delegates.c: Rebuild. | |
11518 | * target.h (struct target_ops) <to_decr_pc_after_break>: Use | |
11519 | TARGET_DEFAULT_FUNC. | |
11520 | * target.c (default_target_decr_pc_after_break): Rename from | |
11521 | forward_target_decr_pc_after_break. Simplify. | |
11522 | (target_decr_pc_after_break): Rely on delegation. | |
11523 | ||
596b6b39 TT |
11524 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11525 | ||
11526 | * target.c (update_current_target): Do not INHERIT to_doc or | |
11527 | to_magic. Do not de_fault to_open or to_close. | |
11528 | ||
b427c1bc TT |
11529 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11530 | ||
11531 | * gcore.h (objfile_find_memory_regions): Declare. | |
11532 | * gcore.c (objfile_find_memory_regions): No longer static. Add | |
11533 | "self" argument. | |
11534 | (_initialize_gcore): Don't call exec_set_find_memory_regions. | |
11535 | * exec.c: Include gcore.h. | |
11536 | (exec_set_find_memory_regions): Remove. | |
11537 | (exec_find_memory_regions): Remove. | |
11538 | (exec_do_find_memory_regions): Remove. | |
11539 | (init_exec_ops): Update. | |
11540 | * defs.h (exec_set_find_memory_regions): Remove. | |
11541 | ||
9b144037 TT |
11542 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11543 | ||
11544 | * target-delegates.c: Rebuild. | |
11545 | * target.h (struct target_ops) <to_extra_thread_info, | |
11546 | to_thread_name, to_pid_to_exec_file, to_get_section_table, | |
11547 | to_memory_map, to_read_description, to_traceframe_info>: Use NULL, | |
11548 | not 0, in TARGET_DEFAULT_RETURN. | |
11549 | ||
555bbdeb TT |
11550 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11551 | ||
11552 | * target.c (complete_target_initialization): Remove casts. Use | |
11553 | return_zero_has_execution. | |
11554 | (return_zero): Add "ignore" argument. | |
11555 | (return_zero_has_execution): New function. | |
11556 | (init_dummy_target): Remove casts. Use | |
11557 | return_zero_has_execution. | |
11558 | ||
be4ddd36 TT |
11559 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11560 | ||
11561 | * target.c (update_current_target): Update comments. Do not | |
11562 | INHERIT to_stratum. | |
11563 | ||
2117c711 TT |
11564 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11565 | ||
11566 | * arm-linux-nat.c (arm_linux_read_description): Delegate when | |
11567 | needed. | |
11568 | * corelow.c (core_read_description): Delegate when needed. | |
11569 | * remote.c (remote_read_description): Delegate when needed. | |
11570 | * target-delegates.c: Rebuild. | |
11571 | * target.c (target_read_description): Rewrite. | |
11572 | * target.h (struct target_ops) <to_read_description>: Update | |
11573 | comment. Use TARGET_DEFAULT_RETURN. | |
11574 | ||
e88ef65c TT |
11575 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11576 | ||
11577 | * target-delegates.c: Rebuild. | |
11578 | * target.c (update_current_target): Don't inherit or default | |
11579 | to_can_run. | |
11580 | (find_default_run_target): Check against delegate_can_run. | |
11581 | * target.h (struct target_ops) <to_can_run>: Use | |
11582 | TARGET_DEFAULT_RETURN. | |
11583 | ||
86a0854a TT |
11584 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11585 | ||
11586 | * target-delegates.c: Rebuild. | |
11587 | * target.c (target_disconnect): Unconditionally delegate. | |
11588 | * target.h (struct target_ops) <to_disconnect>: Use | |
11589 | TARGET_DEFAULT_NORETURN. | |
11590 | ||
ee97f592 TT |
11591 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11592 | ||
11593 | * record.c (record_stop): Unconditionally delegate. | |
11594 | * target-delegates.c: Rebuild. | |
11595 | * target.c (target_stop_recording): Unconditionally delegate. | |
11596 | * target.h (struct target_ops) <to_stop_recording>: Use | |
11597 | TARGET_DEFAULT_IGNORE. | |
11598 | ||
6dc7fcf4 TT |
11599 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11600 | ||
11601 | * target-delegates.c: Rebuild. | |
11602 | * target.c (target_enable_btrace): Unconditionally delegate. | |
11603 | * target.h (struct target_ops) <to_enable_btrace>: Use | |
11604 | TARGET_DEFAULT_NORETURN. | |
11605 | ||
eb5b20d4 TT |
11606 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11607 | ||
11608 | * target-delegates.c: Rebuild. | |
11609 | * target.c (target_read_btrace): Unconditionally delegate. | |
11610 | * target.h (struct target_ops) <to_read_btrace>: Use | |
11611 | TARGET_DEFAULT_NORETURN. | |
11612 | ||
9ace480d TT |
11613 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11614 | ||
11615 | * target-delegates.c: Rebuild. | |
11616 | * target.c (target_teardown_btrace): Unconditionally delegate. | |
11617 | * target.h (struct target_ops) <to_teardown_btrace>: Use | |
11618 | TARGET_DEFAULT_NORETURN. | |
11619 | ||
8dc292d3 TT |
11620 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11621 | ||
11622 | * target-delegates.c: Rebuild. | |
11623 | * target.c (target_disable_btrace): Unconditionally delegate. | |
11624 | * target.h (struct target_ops) <to_disable_btrace>: Use | |
11625 | TARGET_DEFAULT_NORETURN. | |
11626 | ||
58a5184e TT |
11627 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11628 | ||
11629 | * target-delegates.c: Rebuild. | |
11630 | * target.c (default_search_memory): New function. | |
11631 | (simple_search_memory): Update comment. | |
11632 | (target_search_memory): Unconditionally delegate. | |
11633 | * target.h (struct target_ops) <to_search_memory>: Use | |
11634 | TARGET_DEFAULT_FUNC. | |
11635 | ||
8de71aab TT |
11636 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11637 | ||
11638 | * auxv.c (default_auxv_parse): No longer static. | |
11639 | (target_auxv_parse): Unconditionally delegate. | |
11640 | * auxv.h (default_auxv_parse): Declare. | |
11641 | * target-delegates.c: Rebuild. | |
11642 | * target.c: Include auxv.h. | |
11643 | * target.h (struct target_ops) <to_auxv_parse>: Use | |
11644 | TARGET_DEFAULT_FUNC. | |
11645 | ||
6b2c5a57 TT |
11646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11647 | ||
11648 | * target-delegates.c: Rebuild. | |
11649 | * target.c (target_memory_map): Unconditionally delegate. | |
11650 | * target.h (struct target_ops) <to_memory_map>: Use | |
11651 | TARGET_DEFAULT_RETURN. | |
11652 | ||
cbffc065 TT |
11653 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11654 | ||
11655 | * target-delegates.c: Rebuild. | |
11656 | * target.c (target_thread_alive): Unconditionally delegate. | |
11657 | * target.h (struct target_ops) <to_thread_alive>: Use | |
11658 | TARGET_DEFAULT_RETURN. | |
11659 | ||
f09e2107 TT |
11660 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11661 | ||
11662 | * target-delegates.c: Rebuild. | |
11663 | * target.c (target_save_record): Unconditionally delegate. | |
11664 | * target.h (struct target_ops) <to_save_record>: Use | |
11665 | TARGET_DEFAULT_NORETURN. | |
11666 | ||
07366925 TT |
11667 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11668 | ||
11669 | * target-delegates.c: Rebuild. | |
11670 | * target.c (target_delete_record): Unconditionally delegate. | |
11671 | * target.h (struct target_ops) <to_delete_record>: Use | |
11672 | TARGET_DEFAULT_NORETURN. | |
11673 | ||
dd2e9d25 TT |
11674 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11675 | ||
11676 | * target-delegates.c: Rebuild. | |
11677 | * target.c (target_record_is_replaying): Unconditionally | |
11678 | delegate. | |
11679 | * target.h (struct target_ops) <to_record_is_replaying>: Use | |
11680 | TARGET_DEFAULT_RETURN. | |
11681 | ||
671e76cc TT |
11682 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11683 | ||
11684 | * target-delegates.c: Rebuild. | |
11685 | * target.c (target_goto_record_begin): Unconditionally delegate. | |
11686 | * target.h (struct target_ops) <to_goto_record_begin>: Use | |
11687 | TARGET_DEFAULT_NORETURN. | |
11688 | ||
e9179bb3 TT |
11689 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11690 | ||
11691 | * target-delegates.c: Rebuild. | |
11692 | * target.c (target_goto_record_end): Unconditionally delegate. | |
11693 | * target.h (struct target_ops) <to_goto_record_end>: Use | |
11694 | TARGET_DEFAULT_NORETURN. | |
11695 | ||
05969c84 TT |
11696 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11697 | ||
11698 | * target-delegates.c: Rebuild. | |
11699 | * target.c (target_goto_record): Unconditionally delegate. | |
11700 | * target.h (struct target_ops) <to_goto_record>: Use | |
11701 | TARGET_DEFAULT_NORETURN. | |
11702 | ||
3679abfa TT |
11703 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11704 | ||
11705 | * target-delegates.c: Rebuild. | |
11706 | * target.c (target_insn_history): Unconditionally delegate. | |
11707 | * target.h (struct target_ops) <to_insn_history>: Use | |
11708 | TARGET_DEFAULT_NORETURN. | |
11709 | ||
8444ab58 TT |
11710 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11711 | ||
11712 | * target-delegates.c: Rebuild. | |
11713 | * target.c (target_insn_history_from): Unconditionally delegate. | |
11714 | * target.h (struct target_ops) <to_insn_history_from>: Use | |
11715 | TARGET_DEFAULT_NORETURN. | |
11716 | ||
c29302cc TT |
11717 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11718 | ||
11719 | * target-delegates.c: Rebuild. | |
11720 | * target.c (target_insn_history_range): Unconditionally delegate. | |
11721 | * target.h (struct target_ops) <to_insn_history_range>: Use | |
11722 | TARGET_DEFAULT_NORETURN. | |
11723 | ||
170049d4 TT |
11724 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11725 | ||
11726 | * target-delegates.c: Rebuild. | |
11727 | * target.c (target_call_history): Unconditionally delegate. | |
11728 | * target.h (struct target_ops) <to_call_history>: Use | |
11729 | TARGET_DEFAULT_NORETURN. | |
11730 | ||
16fc27d6 TT |
11731 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11732 | ||
11733 | * target-delegates.c: Rebuild. | |
11734 | * target.c (target_call_history_from): Unconditionally delegate. | |
11735 | * target.h (struct target_ops) <to_call_history_from>: Use | |
11736 | TARGET_DEFAULT_NORETURN. | |
11737 | ||
115d9817 TT |
11738 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11739 | ||
11740 | * target-delegates.c: Rebuild. | |
11741 | * target.c (target_call_history_range): Unconditionally delegate. | |
11742 | * target.h (struct target_ops) <to_call_history_range>: Use | |
11743 | TARGET_DEFAULT_NORETURN. | |
11744 | ||
eb276a6b TT |
11745 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11746 | ||
11747 | * target-delegates.c: Rebuild. | |
11748 | * target.c (target_verify_memory): Unconditionally delegate. | |
11749 | * target.h (struct target_ops) <to_verify_memory>: Use | |
11750 | TARGET_DEFAULT_NORETURN. | |
11751 | ||
9e538d0d TT |
11752 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11753 | ||
11754 | * target-delegates.c: Rebuild. | |
11755 | * target.c (target_core_of_thread): Unconditionally delegate. | |
11756 | * target.h (struct target_ops) <to_core_of_thread>: Use | |
11757 | TARGET_DEFAULT_RETURN. | |
11758 | ||
f6fb2925 TT |
11759 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11760 | ||
11761 | * target-delegates.c: Rebuild. | |
11762 | * target.c (target_flash_done): Unconditionally delegate. | |
11763 | * target.h (struct target_ops) <to_flash_done>: Use | |
11764 | TARGET_DEFAULT_NORETURN. | |
11765 | ||
e8a6c6ac TT |
11766 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11767 | ||
11768 | * target-delegates.c: Rebuild. | |
11769 | * target.c (target_flash_erase): Unconditionally delegate. | |
11770 | * target.h (struct target_ops) <to_flash_erase>: Use | |
11771 | TARGET_DEFAULT_NORETURN. | |
11772 | ||
7e35c012 TT |
11773 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11774 | ||
11775 | * target-delegates.c: Rebuild. | |
11776 | * target.c (target_get_section_table): Unconditionally delegate. | |
11777 | * target.h (struct target_ops) <to_get_section_table>: Use | |
11778 | TARGET_DEFAULT_RETURN. | |
11779 | ||
770234d3 TT |
11780 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11781 | ||
11782 | * target-delegates.c: Rebuild. | |
11783 | * target.c (target_pid_to_str): Unconditionally delegate. | |
11784 | (init_dummy_target): Don't initialize to_pid_to_str. | |
11785 | (default_pid_to_str): Rename from dummy_pid_to_str. | |
11786 | * target.h (struct target_ops) <to_pid_to_str>: Use | |
11787 | TARGET_DEFAULT_FUNC. | |
11788 | ||
09b0dc2b TT |
11789 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11790 | ||
11791 | * target-delegates.c: Rebuild. | |
11792 | * target.c (target_find_new_threads): Unconditionally delegate. | |
11793 | * target.h (struct target_ops) <to_find_new_threads>: Use | |
11794 | TARGET_DEFAULT_RETURN. | |
11795 | ||
7d4f8efa TT |
11796 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11797 | ||
11798 | * target-delegates.c: Rebuild. | |
11799 | * target.c (target_program_signals): Unconditionally delegate. | |
11800 | * target.h (struct target_ops) <to_program_signals>: Use | |
11801 | TARGET_DEFAULT_IGNORE. | |
11802 | ||
035cad7f TT |
11803 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11804 | ||
11805 | * target-delegates.c: Rebuild. | |
11806 | * target.c (target_pass_signals): Unconditionally delegate. | |
11807 | * target.h (struct target_ops) <to_pass_signals>: Use | |
11808 | TARGET_DEFAULT_IGNORE. | |
11809 | ||
8d657035 TT |
11810 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11811 | ||
11812 | * target-delegates.c: Rebuild. | |
11813 | * target.c (default_mourn_inferior): New function. | |
11814 | (target_mourn_inferior): Unconditionally delegate. | |
11815 | * target.h (struct target_ops) <to_mourn_inferior>: Use | |
11816 | TARGET_DEFAULT_FUNC. | |
11817 | ||
098dba18 TT |
11818 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11819 | ||
11820 | * target-delegates.c: Rebuild. | |
11821 | * target.c (default_follow_fork): New function. | |
11822 | (target_follow_fork): Unconditionally delegate. | |
11823 | * target.h (struct target_ops) <to_follow_fork>: Use | |
11824 | TARGET_DEFAULT_FUNC. | |
11825 | ||
423a4807 TT |
11826 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11827 | ||
11828 | * target-delegates.c: Rebuild. | |
11829 | * target.c (target_kill): Unconditionally delegate. | |
11830 | * target.h (struct target_ops) <to_kill>: Use | |
11831 | TARGET_DEFAULT_NORETURN. | |
11832 | ||
6c7e5e5c TT |
11833 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11834 | ||
11835 | * target-delegates.c: Rebuild. | |
11836 | * target.c (target_masked_watch_num_registers): Unconditionally | |
11837 | delegate. | |
11838 | * target.h (struct target_ops) <to_masked_watch_num_registers>: | |
11839 | Use TARGET_DEFAULT_RETURN. | |
11840 | ||
8b1c364c TT |
11841 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11842 | ||
11843 | * target-delegates.c: Rebuild. | |
11844 | * target.c (target_remove_mask_watchpoint): Unconditionally | |
11845 | delegate. | |
11846 | * target.h (struct target_ops) <to_remove_mask_watchpoint>: Use | |
11847 | TARGET_DEFAULT_RETURN. | |
11848 | ||
cd4ae029 TT |
11849 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11850 | ||
11851 | * target-delegates.c: Rebuild. | |
11852 | * target.c (target_insert_mask_watchpoint): Unconditionally | |
11853 | delegate. | |
11854 | * target.h (struct target_ops) <to_insert_mask_watchpoint>: Use | |
11855 | TARGET_DEFAULT_RETURN. | |
11856 | ||
a134316b TT |
11857 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11858 | ||
11859 | * target-delegates.c: Rebuild. | |
11860 | * target.c (target_ranged_break_num_registers): Unconditionally | |
11861 | delegate. | |
11862 | * target.h (struct target_ops) <to_ranged_break_num_registers>: | |
11863 | Use TARGET_DEFAULT_RETURN. | |
11864 | ||
ad5989bd TT |
11865 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11866 | ||
11867 | * target-delegates.c: Rebuild. | |
11868 | * target.c (target_fetch_registers): Unconditionally delegate. | |
11869 | * target.h (struct target_ops) <to_fetch_registers>: Use | |
11870 | TARGET_DEFAULT_NORETURN. | |
11871 | ||
46ee7e8d TT |
11872 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11873 | ||
11874 | * target-delegates.c: Rebuild. | |
11875 | * target.c (update_current_target): Don't inherit or default | |
11876 | to_stop. | |
11877 | * target.h (struct target_ops) <to_stop>: Use | |
11878 | TARGET_DEFAULT_IGNORE. | |
11879 | ||
843f59ed TT |
11880 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11881 | ||
11882 | * target-delegates.c: Rebuild. | |
11883 | * target.c (update_current_target): Don't inherit or default | |
11884 | to_can_run_breakpoint_commands. | |
11885 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
11886 | Use TARGET_DEFAULT_RETURN. | |
11887 | ||
ccfde2a0 TT |
11888 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11889 | ||
11890 | * target-delegates.c: Rebuild. | |
11891 | * target.c (update_current_target): Don't inherit or default | |
11892 | to_supports_evaluation_of_breakpoint_conditions. | |
11893 | * target.h (struct target_ops) | |
11894 | <to_supports_evaluation_of_breakpoint_conditions>: Use | |
11895 | TARGET_DEFAULT_RETURN. | |
11896 | ||
0de91722 TT |
11897 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11898 | ||
11899 | * target-delegates.c: Rebuild. | |
11900 | * target.c (update_current_target): Don't inherit or default | |
11901 | to_augmented_libraries_svr4_read. | |
11902 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
11903 | Use TARGET_DEFAULT_RETURN. | |
11904 | ||
9a7d8b48 TT |
11905 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11906 | ||
11907 | * target-delegates.c: Rebuild. | |
11908 | * target.c (update_current_target): Don't inherit or default | |
11909 | to_can_use_agent. | |
11910 | * target.h (struct target_ops) <to_can_use_agent>: Use | |
11911 | TARGET_DEFAULT_RETURN. | |
11912 | ||
d9db5b21 TT |
11913 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11914 | ||
11915 | * target-delegates.c: Rebuild. | |
11916 | * target.c (update_current_target): Don't inherit or default | |
11917 | to_use_agent. | |
11918 | * target.h (struct target_ops) <to_use_agent>: Use | |
11919 | TARGET_DEFAULT_NORETURN. | |
11920 | ||
92155eeb TT |
11921 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11922 | ||
11923 | * target-delegates.c: Rebuild. | |
11924 | * target.c (update_current_target): Don't inherit or default | |
11925 | to_traceframe_info. | |
11926 | (return_null): Remove. | |
11927 | * target.h (struct target_ops) <to_traceframe_info>: Use | |
11928 | TARGET_DEFAULT_RETURN. | |
11929 | ||
d6522a22 TT |
11930 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11931 | ||
11932 | * target-delegates.c: Rebuild. | |
11933 | * target.c (update_current_target): Don't inherit or default | |
11934 | to_static_tracepoint_markers_by_strid. | |
11935 | * target.h (struct target_ops) | |
11936 | <to_static_tracepoint_markers_by_strid>: Use | |
11937 | TARGET_DEFAULT_NORETURN. | |
11938 | ||
4c3e4425 TT |
11939 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11940 | ||
11941 | * target-delegates.c: Rebuild. | |
11942 | * target.c (update_current_target): Don't inherit or default | |
11943 | to_static_tracepoint_marker_at. | |
11944 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
11945 | Use TARGET_DEFAULT_RETURN. | |
11946 | ||
dcd6917f TT |
11947 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11948 | ||
11949 | * target-delegates.c: Rebuild. | |
11950 | * target.c (update_current_target): Don't inherit or default | |
11951 | to_set_permissions. | |
11952 | * target.h (struct target_ops) <to_set_permissions>: Use | |
11953 | TARGET_DEFAULT_IGNORE. | |
11954 | ||
22bcceee TT |
11955 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11956 | ||
11957 | * target-delegates.c: Rebuild. | |
11958 | * target.c (update_current_target): Don't inherit or default | |
11959 | to_get_tib_address. | |
11960 | * target.h (struct target_ops) <to_get_tib_address>: Use | |
11961 | TARGET_DEFAULT_NORETURN. | |
11962 | ||
8586ccaa TT |
11963 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11964 | ||
11965 | * target-delegates.c: Rebuild. | |
11966 | * target.c (update_current_target): Don't inherit or default | |
11967 | to_set_trace_notes. | |
11968 | * target.h (struct target_ops) <to_set_trace_notes>: Use | |
11969 | TARGET_DEFAULT_RETURN. | |
11970 | ||
91df8d1d TT |
11971 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11972 | ||
11973 | * target-delegates.c: Rebuild. | |
11974 | * target.c (update_current_target): Don't initialize | |
11975 | to_set_trace_buffer_size. | |
11976 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Use | |
11977 | TARGET_DEFAULT_IGNORE. | |
11978 | ||
8d526939 TT |
11979 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11980 | ||
11981 | * target-delegates.c: Rebuild. | |
11982 | * target.c (update_current_target): Don't inherit or default | |
11983 | to_set_circular_trace_buffer. | |
11984 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Use | |
11985 | TARGET_DEFAULT_IGNORE. | |
11986 | ||
0bcfeddf TT |
11987 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11988 | ||
11989 | * target-delegates.c: Rebuild. | |
11990 | * target.c (update_current_target): Don't inherit or default | |
11991 | to_set_disconnected_tracing. | |
11992 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Use | |
11993 | TARGET_DEFAULT_IGNORE. | |
11994 | ||
9249843f TT |
11995 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
11996 | ||
11997 | * target-delegates.c: Rebuild. | |
11998 | * target.c (update_current_target): Don't inherit or default | |
11999 | to_get_min_fast_tracepoint_insn_len. | |
12000 | (return_minus_one): Remove. | |
12001 | * target.h (struct target_ops) | |
12002 | <to_get_min_fast_tracepoint_insn_len>: Use TARGET_DEFAULT_RETURN. | |
12003 | ||
ace92e7d TT |
12004 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12005 | ||
12006 | * target-delegates.c: Rebuild. | |
12007 | * target.c (update_current_target): Don't inherit or default | |
12008 | to_get_raw_trace_data. | |
12009 | * target.h (struct target_ops) <to_get_raw_trace_data>: Use | |
12010 | TARGET_DEFAULT_NORETURN. | |
12011 | ||
08120467 TT |
12012 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12013 | ||
12014 | * target-delegates.c: Rebuild. | |
12015 | * target.c (update_current_target): Don't inherit or default | |
12016 | to_upload_trace_state_variables. | |
12017 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12018 | Use TARGET_DEFAULT_RETURN. | |
12019 | ||
1e949b00 TT |
12020 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12021 | ||
12022 | * target-delegates.c: Rebuild. | |
12023 | * target.c (update_current_target): Don't inherit or default | |
12024 | to_upload_tracepoints. | |
12025 | * target.h (struct target_ops) <to_upload_tracepoints>: Use | |
12026 | TARGET_DEFAULT_RETURN. | |
12027 | ||
a2e6c147 TT |
12028 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12029 | ||
12030 | * target-delegates.c: Rebuild. | |
12031 | * target.c (update_current_target): Don't inherit or default | |
12032 | to_save_trace_data. | |
12033 | * target.h (struct target_ops) <to_save_trace_data>: Use | |
12034 | TARGET_DEFAULT_NORETURN. | |
12035 | ||
959bcd0b TT |
12036 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12037 | ||
12038 | * target-delegates.c: Rebuild. | |
12039 | * target.c (update_current_target): Don't inherit or default | |
12040 | to_get_trace_state_variable_value. | |
12041 | * target.h (struct target_ops) | |
12042 | <to_get_trace_state_variable_value>: Use TARGET_DEFAULT_RETURN. | |
12043 | ||
afc94e66 TT |
12044 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12045 | ||
12046 | * target-delegates.c: Rebuild. | |
12047 | * target.c (update_current_target): Don't inherit or default | |
12048 | to_trace_find. | |
12049 | * target.h (struct target_ops): Use TARGET_DEFAULT_RETURN. | |
12050 | ||
e51c07ea TT |
12051 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12052 | ||
12053 | * target-delegates.c: Rebuild. | |
12054 | * target.c (update_current_target): Don't inherit or default | |
12055 | to_trace_stop. | |
12056 | * target.h (struct target_ops) <to_trace_stop>: Use | |
12057 | TARGET_DEFAULT_NORETURN. | |
12058 | ||
6fea14cd TT |
12059 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12060 | ||
12061 | * target-delegates.c: Rebuild. | |
12062 | * target.c (update_current_target): Don't inherit or default | |
12063 | to_get_tracepoint_status. | |
12064 | * target.h (struct target_ops) <to_get_tracepoint_status>: Use | |
12065 | TARGET_DEFAULT_NORETURN. | |
12066 | ||
4072d4ff TT |
12067 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12068 | ||
12069 | * target-delegates.c: Rebuild. | |
12070 | * target.c (update_current_target): Don't inherit or default | |
12071 | to_get_trace_status. | |
12072 | * target.h (struct target_ops) <to_get_trace_status>: Use | |
12073 | TARGET_DEFAULT_RETURN. | |
12074 | ||
25da2e80 TT |
12075 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12076 | ||
12077 | * target-delegates.c: Rebuild. | |
12078 | * target.c (update_current_target): Don't inherit or default | |
12079 | to_trace_start. | |
12080 | * target.h (struct target_ops) <to_trace_start>: Use | |
12081 | TARGET_DEFAULT_NORETURN. | |
12082 | ||
86dd181d TT |
12083 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12084 | ||
12085 | * target-delegates.c: Rebuild. | |
12086 | * target.c (update_current_target): Don't inherit or default | |
12087 | to_trace_set_readonly_regions. | |
12088 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12089 | Use TARGET_DEFAULT_NORETURN. | |
12090 | ||
05c41993 TT |
12091 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12092 | ||
12093 | * target-delegates.c: Rebuild. | |
12094 | * target.c (update_current_target): Don't inherit or default | |
12095 | to_disable_tracepoint. | |
12096 | * target.h (struct target_ops) <to_disable_tracepoint>: Use | |
12097 | TARGET_DEFAULT_NORETURN. | |
12098 | ||
151f70f1 TT |
12099 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12100 | ||
12101 | * target-delegates.c: Rebuild. | |
12102 | * target.c (update_current_target): Don't inherit or default | |
12103 | to_enable_tracepoint. | |
12104 | * target.h (struct target_ops) <to_enable_tracepoint>: Use | |
12105 | TARGET_DEFAULT_NORETURN. | |
12106 | ||
94eb98b9 TT |
12107 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12108 | ||
12109 | * target-delegates.c: Rebuild. | |
12110 | * target.c (update_current_target): Don't inherit or default | |
12111 | to_download_trace_state_variable. | |
12112 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12113 | Use TARGET_DEFAULT_NORETURN. | |
12114 | ||
719acc4a TT |
12115 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12116 | ||
12117 | * target-delegates.c: Rebuild. | |
12118 | * target.c (update_current_target): Don't inherit or default | |
12119 | to_can_download_tracepoint. | |
12120 | * target.h (struct target_ops) <to_can_download_tracepoint>: Use | |
12121 | TARGET_DEFAULT_RETURN. | |
12122 | ||
9a980a22 TT |
12123 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12124 | ||
12125 | * target-delegates.c: Rebuild. | |
12126 | * target.c (update_current_target): Don't inherit or default | |
12127 | to_download_tracepoint. | |
12128 | * target.h (struct target_ops) <to_download_tracepoint>: Use | |
12129 | TARGET_DEFAULT_NORETURN. | |
12130 | ||
5536135b TT |
12131 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12132 | ||
12133 | * target-delegates.c: Rebuild. | |
12134 | * target.c (update_current_target): Don't inherit or default | |
12135 | to_trace_init. | |
12136 | * target.h (struct target_ops) <to_trace_init>: Use | |
12137 | TARGET_DEFAULT_RETURN. | |
12138 | ||
9409d39e TT |
12139 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12140 | ||
12141 | * target-delegates.c: Rebuild. | |
12142 | * target.c (update_current_target): Don't inherit or default | |
12143 | to_supports_string_tracing. | |
12144 | * target.h (struct target_ops) <to_supports_string_tracing>: Use | |
12145 | TARGET_DEFAULT_RETURN. | |
12146 | ||
aab1b22d TT |
12147 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12148 | ||
12149 | * target-delegates.c: Rebuild. | |
12150 | * target.c (update_current_target): Don't inherit or default | |
12151 | to_supports_enable_disable_tracepoint. | |
12152 | * target.h (struct target_ops) | |
12153 | <to_supports_enable_disable_tracepoint>: Use | |
12154 | TARGET_DEFAULT_RETURN. | |
12155 | ||
a7304748 TT |
12156 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12157 | ||
12158 | * target-delegates.c: Rebuild. | |
12159 | * target.c (update_current_target): Don't inherit or default | |
12160 | to_supports_multi_process. | |
12161 | * target.h (struct target_ops) <to_supports_multi_process>: Use | |
12162 | TARGET_DEFAULT_RETURN. | |
12163 | ||
4229b31d TT |
12164 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12165 | ||
12166 | * target-delegates.c: Rebuild. | |
12167 | * target.c (update_current_target): Don't inherit or default | |
12168 | to_get_ada_task_ptid. | |
12169 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Use | |
12170 | TARGET_DEFAULT_FUNC. | |
12171 | ||
43eba180 TT |
12172 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12173 | ||
12174 | * target-delegates.c: Rebuild. | |
12175 | * target.c (update_current_target): Don't inherit or default | |
12176 | to_thread_architecture. | |
12177 | * target.h (struct target_ops) <to_thread_architecture>: Use | |
12178 | TARGET_DEFAULT_FUNC. | |
12179 | ||
fe31bf5b TT |
12180 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12181 | ||
12182 | * target-delegates.c: Rebuild. | |
12183 | * target.c (update_current_target): Don't inherit or default | |
12184 | to_execution_direction. | |
12185 | * target.h (struct target_ops) <to_execution_direction>: Use | |
12186 | TARGET_DEFAULT_FUNC. | |
12187 | ||
53e1cfc7 TT |
12188 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12189 | ||
12190 | * target-delegates.c: Rebuild. | |
12191 | * target.c (update_current_target): Don't inherit or default | |
12192 | to_can_execute_reverse. | |
12193 | * target.h (struct target_ops) <to_can_execute_reverse>: Use | |
12194 | TARGET_DEFAULT_RETURN. | |
12195 | (target_can_execute_reverse): Unconditionally delegate. | |
12196 | ||
9bb9d61d TT |
12197 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12198 | ||
12199 | * target-delegates.c: Rebuild. | |
12200 | * target.c (update_current_target): Don't inherit or default | |
12201 | to_goto_bookmark. | |
12202 | (dummy_goto_bookmark): Remove. | |
12203 | (init_dummy_target): Don't inherit or default to_goto_bookmark. | |
12204 | * target.h (struct target_ops) <to_goto_bookmark>: Use | |
12205 | TARGET_DEFAULT_NORETURN. | |
12206 | ||
3dbafbbb TT |
12207 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12208 | ||
12209 | * target-delegates.c: Rebuild. | |
12210 | * target.c (update_current_target): Don't inherit or default | |
12211 | to_get_bookmark. | |
12212 | (dummy_get_bookmark): Remove. | |
12213 | (init_dummy_target): Don't inherit or default to_get_bookmark. | |
12214 | * target.h (struct target_ops) <to_get_bookmark>: Use | |
12215 | TARGET_DEFAULT_NORETURN | |
12216 | ||
16f796b1 TT |
12217 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12218 | ||
12219 | * target-delegates.c: Rebuild. | |
12220 | * target.c (update_current_target): Don't inherit or default | |
12221 | to_make_corefile_notes. | |
12222 | (init_dummy_target): Don't initialize to_make_corefile_notes. | |
12223 | * target.h (struct target_ops) <to_make_corefile_notes>: Use | |
12224 | TARGET_DEFAULT_FUNC. | |
12225 | ||
0b5a2719 TT |
12226 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12227 | ||
12228 | * target-delegates.c: Rebuild. | |
12229 | * target.c (update_current_target): Don't inherit or default | |
12230 | to_find_memory_regions. | |
12231 | (init_dummy_target): Don't initialize to_find_memory_regions. | |
12232 | * target.h (struct target_ops) <to_find_memory_regions>: Use | |
12233 | TARGET_DEFAULT_FUNC. | |
12234 | ||
d9cb0195 TT |
12235 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12236 | ||
12237 | * target-delegates.c: Rebuild. | |
12238 | * target.c (update_current_target): Don't inherit or default | |
12239 | to_log_command. | |
12240 | * target.h (struct target_ops) <to_log_command>: Use | |
12241 | TARGET_DEFAULT_IGNORE. | |
12242 | (target_log_command): Unconditionally delegate. | |
12243 | ||
830ca330 TT |
12244 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12245 | ||
12246 | * target-delegates.c: Rebuild. | |
12247 | * target.c (update_current_target): Don't inherit or default | |
12248 | to_pid_to_exec_file. | |
12249 | * target.h (struct target_ops) <to_pid_to_exec_file>: Use | |
12250 | TARGET_DEFAULT_RETURN. | |
12251 | ||
825828fc TT |
12252 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12253 | ||
12254 | * target-delegates.c: Rebuild. | |
12255 | * target.c (update_current_target): Don't inherit or default | |
12256 | to_thread_name. | |
12257 | (target_thread_name): Unconditionally delegate. | |
12258 | * target.h (struct target_ops) <to_thread_name>: Use | |
12259 | TARGET_DEFAULT_RETURN. | |
12260 | ||
4a7e6dda TT |
12261 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12262 | ||
12263 | * target-delegates.c: Rebuild. | |
12264 | * target.c (update_current_target): Don't inherit or default | |
12265 | to_extra_thread_info. | |
12266 | * target.h (struct target_ops) <to_extra_thread_info>: Use | |
12267 | TARGET_DEFAULT_RETURN. | |
12268 | ||
0db88c1d TT |
12269 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12270 | ||
12271 | * target-delegates.c: Rebuild. | |
12272 | * target.c (update_current_target): Don't inherit or default | |
12273 | to_has_exited. | |
12274 | * target.h (struct target_ops) <to_has_exited>: Use | |
12275 | TARGET_DEFAULT_RETURN.. | |
12276 | ||
6a9fa051 TT |
12277 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12278 | ||
12279 | * target-delegates.c: Rebuild. | |
12280 | * target.c (update_current_target): Don't inherit or default | |
12281 | to_set_syscall_catchpoint. | |
12282 | (return_one): Remove. | |
12283 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Use | |
12284 | TARGET_DEFAULT_RETURN. | |
12285 | ||
62f64d7a TT |
12286 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12287 | ||
12288 | * target-delegates.c: Rebuild. | |
12289 | * target.c (update_current_target): Don't inherit or default | |
12290 | to_insert_exec_catchpoint. | |
12291 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
12292 | TARGET_DEFAULT_RETURN. | |
12293 | ||
cda0f38c TT |
12294 | 2014-01-08 Tom Tromey <tromey@redhat.com> |
12295 | ||
12296 | * target-delegates.c: Rebuild. | |
12297 | * target.c (update_current_target): Don't inherit or default | |
12298 | to_insert_exec_catchpoint. | |
12299 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Use | |
12300 | TARGET_DEFAULT_RETURN. | |
12301 | ||
95c3375e TT |
12302 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12303 | ||
12304 | * target-delegates.c: Rebuild. | |
12305 | * target.c (update_current_target): Don't inherit or default | |
12306 | to_remove_vfork_catchpoint. | |
12307 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Use | |
12308 | TARGET_DEFAULT_RETURN. | |
12309 | ||
7e18a8dc TT |
12310 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12311 | ||
12312 | * target-delegates.c: Rebuild. | |
12313 | * target.c (update_current_target): Don't inherit or default | |
12314 | to_insert_vfork_catchpoint. | |
12315 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Use | |
12316 | TARGET_DEFAULT_RETURN. | |
12317 | ||
e1a21fb7 TT |
12318 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12319 | ||
12320 | * target-delegates.c: Rebuild. | |
12321 | * target.c (update_current_target): Don't inherit or default | |
12322 | to_remove_fork_catchpoint. | |
12323 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Use | |
12324 | TARGET_DEFAULT_RETURN. | |
12325 | ||
5958ebeb TT |
12326 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12327 | ||
12328 | * target-delegates.c: Rebuild. | |
12329 | * target.c (update_current_target): Don't inherit or default | |
12330 | to_insert_fork_catchpoint. | |
12331 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Use | |
12332 | TARGET_DEFAULT_RETURN. | |
12333 | ||
340ba4bf TT |
12334 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12335 | ||
12336 | * target-delegates.c: Rebuild. | |
12337 | * target.c (update_current_target): Don't inherit or default | |
12338 | to_post_startup_inferior. | |
12339 | * target.h (struct target_ops) <to_post_startup_inferior>: Use | |
12340 | TARGET_DEFAULT_IGNORE. | |
12341 | ||
7634da87 TT |
12342 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12343 | ||
12344 | * target-delegates.c: Rebuild. | |
12345 | * target.c (update_current_target): Don't inherit or default | |
12346 | to_load. | |
12347 | * target.h (struct target_ops) <to_load>: Use | |
12348 | TARGET_DEFAULT_NORETURN. | |
12349 | ||
e19e919f TT |
12350 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12351 | ||
12352 | * target-delegates.c: Rebuild. | |
12353 | * target.c (update_current_target): Don't inherit or default | |
12354 | to_terminal_info. | |
12355 | * target.h (struct target_ops) <to_terminal_info>: Use | |
12356 | TARGET_DEFAULT_FUNC. | |
12357 | ||
c6ea8f79 TT |
12358 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12359 | ||
12360 | * target-delegates.c: Rebuild. | |
12361 | * target.c (update_current_target): Don't inherit or default | |
12362 | to_terminal_save_ours. | |
12363 | * target.h (struct target_ops) <to_terminal_save_ours>: Use | |
12364 | TARGET_DEFAULT_IGNORE. | |
12365 | ||
e4a733f1 TT |
12366 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12367 | ||
12368 | * target-delegates.c: Rebuild. | |
12369 | * target.c (update_current_target): Don't inherit or default | |
12370 | to_terminal_ours. | |
12371 | * target.h (struct target_ops) <to_terminal_ours>: Use | |
12372 | TARGET_DEFAULT_IGNORE. | |
12373 | ||
74fcbef9 TT |
12374 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12375 | ||
12376 | * target-delegates.c: Rebuild. | |
12377 | * target.c (update_current_target): Don't inherit or default | |
12378 | to_terminal_ours_for_output. | |
12379 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Use | |
12380 | TARGET_DEFAULT_IGNORE. | |
12381 | ||
ddeaacc9 TT |
12382 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12383 | ||
12384 | * target-delegates.c: Rebuild. | |
12385 | * target.c (update_current_target): Don't inherit or default | |
12386 | to_terminal_inferior. | |
12387 | * target.h (struct target_ops) <to_terminal_inferior>: Use | |
12388 | TARGET_DEFAULT_IGNORE. | |
12389 | ||
0343661d TT |
12390 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12391 | ||
12392 | * target-delegates.c: Rebuild. | |
12393 | * target.c (update_current_target): Don't inherit or default | |
12394 | to_terminal_init. | |
12395 | * target.h (struct target_ops) <to_terminal_init>: Use | |
12396 | TARGET_DEFAULT_IGNORE. | |
12397 | ||
77cdffe9 TT |
12398 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12399 | ||
12400 | * target-delegates.c: Rebuild. | |
12401 | * target.c (update_current_target): Don't inherit or default | |
12402 | to_can_accel_watchpoint_condition. | |
12403 | * target.h (struct target_ops) | |
12404 | <to_can_accel_watchpoint_condition>: Use TARGET_DEFAULT_RETURN. | |
12405 | ||
d03655e4 TT |
12406 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12407 | ||
12408 | * target-delegates.c: Rebuild. | |
12409 | * target.c (update_current_target): Don't inherit or default | |
12410 | to_region_ok_for_hw_watchpoint. | |
12411 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
12412 | Use TARGET_DEFAULT_FUNC. | |
12413 | ||
65f160a9 TT |
12414 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12415 | ||
12416 | * target-delegates.c: Rebuild. | |
12417 | * target.c (update_current_target): Don't inherit or default | |
12418 | to_watchpoint_addr_within_range. | |
12419 | * target.h (struct target_ops) <to_watchpoint_addr_within_range>: | |
12420 | Use TARGET_DEFAULT_FUNC. | |
12421 | ||
61dd109f TT |
12422 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12423 | ||
12424 | * target-delegates.c: Rebuild. | |
12425 | * target.c (update_current_target): Don't inherit or default | |
12426 | to_remove_watchpoint. | |
12427 | * target.h (struct target_ops) <to_remove_watchpoint>: Use | |
12428 | TARGET_DEFAULT_NORETURN. | |
12429 | ||
016facd4 TT |
12430 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12431 | ||
12432 | * target-delegates.c: Rebuild. | |
12433 | * target.c (update_current_target): Don't inherit or default | |
12434 | to_insert_watchpoint. | |
12435 | * target.h (struct target_ops) <to_insert_watchpoint>: Use | |
12436 | TARGET_DEFAULT_RETURN. | |
12437 | ||
418dabac TT |
12438 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12439 | ||
12440 | * target-delegates.c: Rebuild. | |
12441 | * target.c (update_current_target): Don't inherit or default | |
12442 | to_remove_hw_breakpoint. | |
12443 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Use | |
12444 | TARGET_DEFAULT_RETURN. | |
12445 | ||
61b371f9 TT |
12446 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12447 | ||
12448 | * target-delegates.c: Rebuild. | |
12449 | * target.c (update_current_target): Don't inherit or default | |
12450 | to_insert_hw_breakpoint. | |
12451 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Use | |
12452 | TARGET_DEFAULT_RETURN. | |
12453 | ||
52b51d06 TT |
12454 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12455 | ||
12456 | * target-delegates.c: Rebuild. | |
12457 | * target.c (update_current_target): Don't inherit or default | |
12458 | to_can_use_hw_breakpoint. | |
12459 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Use | |
12460 | TARGET_DEFAULT_RETURN. | |
12461 | ||
f86e59b2 TT |
12462 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12463 | ||
12464 | * target-delegates.c: Rebuild. | |
12465 | * target.c (update_current_target): Don't inherit or default | |
12466 | to_files_info. | |
12467 | * target.h (struct target_ops) <to_files_info>: Use | |
12468 | TARGET_DEFAULT_IGNORE. | |
12469 | ||
6c628163 TT |
12470 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12471 | ||
12472 | * target-delegates.c: Rebuild. | |
12473 | * target.c (update_current_target): Don't inherit or default | |
12474 | to_store. | |
12475 | * target.h (struct target_ops) <to_store>: Use | |
12476 | TARGET_DEFAULT_NORETURN. | |
12477 | ||
bebd3233 TT |
12478 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12479 | ||
12480 | * target-delegates.c: Rebuild. | |
12481 | * target.c (update_current_target): Don't inherit or default | |
12482 | to_post_attach. | |
12483 | * target.h (struct target_ops) <to_post_attach>: Use | |
12484 | TARGET_DEFAULT_IGNORE. | |
12485 | ||
a53f3625 TT |
12486 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12487 | ||
12488 | * target-delegates.c: Rebuild. | |
12489 | * target.c (update_current_target): Don't inherit or default | |
12490 | to_rcmd. | |
12491 | (default_rcmd): New function. | |
12492 | (do_monitor_command): Unconditionally delegate. | |
12493 | * target.h (struct target_ops) <to_rmcd>: Use | |
12494 | TARGET_DEFAULT_FUNC. | |
12495 | ||
e9a29200 TT |
12496 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12497 | ||
12498 | * target-delegates.c: Rebuild. | |
12499 | * target.c (init_dummy_target): Don't initialize to_attach. | |
12500 | (target_attach): Unconditionally delegate. | |
12501 | * target.h (struct target_ops) <to_attach>: Use | |
12502 | TARGET_DEFAULT_FUNC. | |
12503 | ||
09da0d0a TT |
12504 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12505 | ||
12506 | * target-delegates.c: Rebuild. | |
12507 | * target.c (target_detach): Unconditionally delegate. | |
12508 | (init_dummy_target): Don't initialize to_detach. | |
12509 | * target.h (struct target_ops) <to_detach>: Use | |
12510 | TARGET_DEFAULT_IGNORE. | |
12511 | ||
5436ff03 TT |
12512 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12513 | ||
12514 | * target.h (struct target_ops) <to_augmented_libraries_svr4_read>: | |
12515 | Add argument. | |
12516 | (target_augmented_libraries_svr4_read): Add argument. | |
12517 | * target.c (update_current_target): Update. | |
12518 | * remote.c (remote_augmented_libraries_svr4_read): Add 'self' | |
12519 | argument. | |
12520 | ||
f0d960ea TT |
12521 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12522 | ||
12523 | * target.h (struct target_ops) <to_call_history_range>: Add | |
12524 | argument. | |
12525 | * target.c (target_call_history_range): Add argument. | |
12526 | * record-btrace.c (record_btrace_call_history_range): Add 'self' | |
12527 | argument. | |
12528 | (record_btrace_call_history_from): Update. | |
12529 | ||
ec0aea04 TT |
12530 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12531 | ||
12532 | * target.h (struct target_ops) <to_call_history_from>: Add | |
12533 | argument. | |
12534 | * target.c (target_call_history_from): Add argument. | |
12535 | * record-btrace.c (record_btrace_call_history_from): Add 'self' | |
12536 | argument. | |
12537 | ||
5df2fcba TT |
12538 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12539 | ||
12540 | * target.h (struct target_ops) <to_call_history>: Add argument. | |
12541 | * target.c (target_call_history): Add argument. | |
12542 | * record-btrace.c (record_btrace_call_history): Add 'self' | |
12543 | argument. | |
12544 | ||
4e99c6b7 TT |
12545 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12546 | ||
12547 | * target.h (struct target_ops) <to_insn_history_range>: Add | |
12548 | argument. | |
12549 | * target.c (target_insn_history_range): Add argument. | |
12550 | * record-btrace.c (record_btrace_insn_history_range): Add 'self' | |
12551 | argument. | |
12552 | (record_btrace_insn_history_from): Update. | |
12553 | ||
9abc3ff3 TT |
12554 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12555 | ||
12556 | * target.h (struct target_ops) <to_insn_history_from>: Add | |
12557 | argument. | |
12558 | * target.c (target_insn_history_from): Add argument. | |
12559 | * record-btrace.c (record_btrace_insn_history_from): Add 'self' | |
12560 | argument. | |
12561 | ||
7a6c5609 TT |
12562 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12563 | ||
12564 | * target.h (struct target_ops) <to_insn_history>: Add argument. | |
12565 | * target.c (target_insn_history): Add argument. | |
12566 | * record-btrace.c (record_btrace_insn_history): Add 'self' | |
12567 | argument. | |
12568 | ||
606183ac TT |
12569 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12570 | ||
12571 | * target.h (struct target_ops) <to_goto_record>: Add argument. | |
12572 | * target.c (target_goto_record): Add argument. | |
12573 | * record-full.c (record_full_goto): Add 'self' argument. | |
12574 | * record-btrace.c (record_btrace_goto): Add 'self' argument. | |
12575 | ||
307a1b91 TT |
12576 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12577 | ||
12578 | * target.h (struct target_ops) <to_goto_record_end>: Add argument. | |
12579 | * target.c (target_goto_record_end): Add argument. | |
12580 | * record-full.c (record_full_goto_end): Add 'self' argument. | |
12581 | * record-btrace.c (record_btrace_goto_end): Add 'self' argument. | |
12582 | ||
08475817 TT |
12583 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12584 | ||
12585 | * target.h (struct target_ops) <to_goto_record_begin>: Add | |
12586 | argument. | |
12587 | * target.c (target_goto_record_begin): Add argument. | |
12588 | * record-full.c (record_full_goto_begin): Add 'self' argument. | |
12589 | * record-btrace.c (record_btrace_goto_begin): Add 'self' | |
12590 | argument. | |
12591 | ||
1c63c994 TT |
12592 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12593 | ||
12594 | * target.h (struct target_ops) <to_record_is_replaying>: Add | |
12595 | argument. | |
12596 | * target.c (target_record_is_replaying): Add argument. | |
12597 | * record-full.c (record_full_is_replaying): Add 'self' argument. | |
12598 | * record-btrace.c (record_btrace_is_replaying): Add 'self' | |
12599 | argument. | |
12600 | (record_btrace_xfer_partial, record_btrace_store_registers) | |
12601 | (record_btrace_prepare_to_store, record_btrace_resume) | |
12602 | (record_btrace_wait, record_btrace_decr_pc_after_break) | |
12603 | (record_btrace_find_new_threads, record_btrace_thread_alive): | |
12604 | Update. | |
12605 | ||
d1b55219 TT |
12606 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12607 | ||
12608 | * target.h (struct target_ops) <to_delete_record>: Add argument. | |
12609 | * target.c (target_delete_record): Add argument. | |
12610 | * record-full.c (record_full_delete): Add 'self' argument. | |
12611 | ||
1390f529 TT |
12612 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12613 | ||
12614 | * target.h (struct target_ops) <to_save_record>: Add argument. | |
12615 | * target.c (target_save_record): Add argument. | |
12616 | * record-full.c (record_full_save): Add 'self' argument. | |
12617 | (record_full_save): Add 'self' argument. | |
12618 | ||
630d6a4a TT |
12619 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12620 | ||
12621 | * target.h (struct target_ops) <to_info_record>: Add argument. | |
12622 | * target.c (target_info_record): Add argument. | |
12623 | * record.c (info_record_command): Add argument. | |
12624 | * record-full.c (record_full_info): Add 'self' argument. | |
12625 | * record-btrace.c (record_btrace_info): Add 'self' argument. | |
12626 | ||
c6cd7c02 TT |
12627 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12628 | ||
12629 | * target.h (struct target_ops) <to_stop_recording>: Add argument. | |
12630 | * target.c (target_stop_recording): Add argument. | |
12631 | * record.c (record_stop): Add argument. | |
12632 | * record-btrace.c (record_btrace_stop_recording): Add 'self' | |
12633 | argument. | |
12634 | ||
39c49f83 TT |
12635 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12636 | ||
12637 | * target.h (struct target_ops) <to_read_btrace>: Add argument. | |
12638 | * target.c (struct target_ops) <to_read_btrace>: Add argument. | |
12639 | * remote.c (struct target_ops) <to_read_btrace>: Add 'self' | |
12640 | argument. | |
12641 | * amd64-linux-nat.c (amd64_linux_read_btrace): New function. | |
12642 | (_initialize_amd64_linux_nat): Use it. | |
12643 | * i386-linux-nat.c (i386_linux_read_btrace): New function. | |
12644 | (_initialize_i386_linux_nat): Use it. | |
12645 | ||
1777056d TT |
12646 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12647 | ||
12648 | * target.h (struct target_ops) <to_teardown_btrace>: Add argument. | |
12649 | * target.c (target_teardown_btrace): Add argument. | |
12650 | * remote.c (remote_teardown_btrace): Add 'self' argument. | |
12651 | * i386-linux-nat.c (i386_linux_teardown_btrace): Add 'self' | |
12652 | argument. | |
12653 | * amd64-linux-nat.c (amd64_linux_teardown_btrace): Add 'self' | |
12654 | argument. | |
12655 | ||
25e95349 TT |
12656 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12657 | ||
12658 | * target.h (struct target_ops) <to_disable_btrace>: Add argument. | |
12659 | * target.c (target_disable_btrace): Add argument. | |
12660 | * remote.c (remote_disable_btrace): Add 'self' argument. | |
12661 | * i386-linux-nat.c (i386_linux_disable_btrace): Add 'self' | |
12662 | argument. | |
12663 | * amd64-linux-nat.c (amd64_linux_disable_btrace): Add 'self' | |
12664 | argument. | |
12665 | ||
e3c49f88 TT |
12666 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12667 | ||
12668 | * target.h (struct target_ops) <to_enable_btrace>: Add argument. | |
12669 | * target.c (target_enable_btrace): Add argument. | |
12670 | * remote.c (remote_enable_btrace): Add 'self' argument. | |
12671 | * i386-linux-nat.c (i386_linux_enable_btrace): Add 'self' | |
12672 | argument. | |
12673 | * amd64-linux-nat.c (amd64_linux_enable_btrace): Add 'self' | |
12674 | argument. | |
12675 | ||
fe38f897 TT |
12676 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12677 | ||
12678 | * target.h (struct target_ops) <to_can_use_agent>: Add argument. | |
12679 | (target_can_use_agent): Add argument. | |
12680 | * target.c (update_current_target): Update. | |
12681 | * remote.c (remote_can_use_agent): Add 'self' argument. | |
12682 | * inf-child.c (inf_child_can_use_agent): Add 'self' argument. | |
12683 | ||
2c152180 TT |
12684 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12685 | ||
12686 | * target.h (struct target_ops) <to_use_agent>: Add argument. | |
12687 | (target_use_agent): Add argument. | |
12688 | * target.c (update_current_target): Update. | |
12689 | * remote.c (remote_use_agent): Add 'self' argument. | |
12690 | * inf-child.c (inf_child_use_agent): Add 'self' argument. | |
12691 | ||
a893e81f TT |
12692 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12693 | ||
12694 | * tracepoint.c (tfile_traceframe_info): Add 'self' argument. | |
12695 | * target.h (struct target_ops) <to_traceframe_info>: Add argument. | |
12696 | (target_traceframe_info): Add argument. | |
12697 | * target.c (update_current_target): Update. | |
12698 | * remote.c (remote_traceframe_info): Add 'self' argument. | |
12699 | * ctf.c (ctf_traceframe_info): Add 'self' argument. | |
12700 | ||
c686c57f TT |
12701 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12702 | ||
12703 | * target.h (target_static_tracepoint_markers_by_strid): Add | |
12704 | argument. | |
12705 | (struct target_ops) <to_static_tracepoint_markers_by_strid>: Add | |
12706 | 'self' argument. | |
12707 | * target.c (update_current_target): Update. | |
12708 | * remote.c (struct target_ops) | |
12709 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
12710 | * linux-nat.c (struct target_ops) | |
12711 | <to_static_tracepoint_markers_by_strid>: Add 'self' argument. | |
12712 | ||
61fc905d TT |
12713 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12714 | ||
12715 | * target.h (struct target_ops) <to_static_tracepoint_marker_at>: | |
12716 | Add argument. | |
12717 | (target_static_tracepoint_marker_at): Add argument. | |
12718 | * target.c (update_current_target): Update. | |
12719 | * remote.c (remote_static_tracepoint_marker_at): Add 'self' | |
12720 | argument. | |
12721 | ||
c378d69d TT |
12722 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12723 | ||
12724 | * target.h (struct target_ops) <to_set_permissions>: Add argument. | |
12725 | (target_set_permissions): Add argument. | |
12726 | * target.c (update_current_target): Update. | |
12727 | * remote.c (remote_set_permissions): Add 'self' argument. | |
12728 | (remote_start_remote): Update. | |
12729 | ||
bd7ae0f5 TT |
12730 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12731 | ||
12732 | * windows-nat.c (windows_get_tib_address): Add 'self' argument. | |
12733 | * target.h (struct target_ops) <to_get_tib_address>: Add argument. | |
12734 | (target_get_tib_address): Add argument. | |
12735 | * target.c (update_current_target): Update. | |
12736 | * remote.c (remote_get_tib_address): Add 'self' argument. | |
12737 | ||
d9e68a2c TT |
12738 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12739 | ||
12740 | * target.h (struct target_ops) <to_set_trace_notes>: Add argument. | |
12741 | (target_set_trace_notes): Add argument. | |
12742 | * target.c (update_current_target): Update. | |
12743 | * remote.c (remote_set_trace_notes): Add 'self' argument. | |
12744 | ||
4da384be TT |
12745 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12746 | ||
12747 | * target.h (struct target_ops) <to_set_trace_buffer_size>: Add | |
12748 | argument. | |
12749 | (target_set_trace_buffer_size): Add argument. | |
12750 | * target.c (update_current_target): Update. | |
12751 | * remote.c (remote_set_trace_buffer_size): Add 'self' argument. | |
12752 | ||
736d5b1f TT |
12753 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12754 | ||
12755 | * target.h (struct target_ops) <to_set_circular_trace_buffer>: Add | |
12756 | argument. | |
12757 | (target_set_circular_trace_buffer): Add argument. | |
12758 | * target.c (update_current_target): Update. | |
12759 | * remote.c (remote_set_circular_trace_buffer): Add 'self' | |
12760 | argument. | |
12761 | ||
37b25738 TT |
12762 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12763 | ||
12764 | * target.h (struct target_ops) <to_set_disconnected_tracing>: Add | |
12765 | argument. | |
12766 | (target_set_disconnected_tracing): Add argument. | |
12767 | * target.c (update_current_target): Update. | |
12768 | * remote.c (remote_set_disconnected_tracing): Add 'self' argument. | |
12769 | ||
0e67620a TT |
12770 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12771 | ||
12772 | * target.h (struct target_ops) | |
12773 | <to_get_min_fast_tracepoint_insn_len>: Add argument. | |
12774 | (target_get_min_fast_tracepoint_insn_len): Add argument. | |
12775 | * target.c (update_current_target): Update. | |
12776 | * remote.c (remote_get_min_fast_tracepoint_insn_len): Add 'self' | |
12777 | argument. | |
12778 | ||
88ee6f45 TT |
12779 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12780 | ||
12781 | * target.h (struct target_ops) <to_get_raw_trace_data>: Add | |
12782 | argument. | |
12783 | (target_get_raw_trace_data): Add argument. | |
12784 | * target.c (update_current_target): Update. | |
12785 | * remote.c (remote_get_raw_trace_data): Add 'self' argument. | |
12786 | ||
181e3713 TT |
12787 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12788 | ||
12789 | * target.h (struct target_ops) <to_upload_trace_state_variables>: | |
12790 | Add argument. | |
12791 | (target_upload_trace_state_variables): Add argument. | |
12792 | * target.c (update_current_target): Update. | |
12793 | * remote.c (remote_upload_trace_state_variables): Add 'self' | |
12794 | argument. | |
12795 | (remote_start_remote): Update. | |
12796 | ||
ab6617cc TT |
12797 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12798 | ||
12799 | * target.h (struct target_ops) <to_upload_tracepoints>: Add | |
12800 | argument. | |
12801 | (target_upload_tracepoints): Add argument. | |
12802 | * target.c (update_current_target): Update. | |
12803 | * remote.c (remote_upload_tracepoints): Add 'self' argument. | |
12804 | (remote_start_remote): Update. | |
12805 | ||
dc3decaf TT |
12806 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12807 | ||
12808 | * target.h (struct target_ops) <to_save_trace_data>: Add argument. | |
12809 | (target_save_trace_data): Add argument. | |
12810 | * target.c (update_current_target): Update. | |
12811 | * remote.c (remote_save_trace_data): Add 'self' argument. | |
12812 | ||
4011015b TT |
12813 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12814 | ||
12815 | * tracepoint.c (tfile_get_trace_state_variable_value): Add 'self' | |
12816 | argument. | |
12817 | * target.h (struct target_ops) | |
12818 | <to_get_trace_state_variable_value>: Add argument. | |
12819 | (target_get_trace_state_variable_value): Add argument. | |
12820 | * target.c (update_current_target): Update. | |
12821 | * remote.c (remote_get_trace_state_variable_value): Add 'self' | |
12822 | argument. | |
12823 | * ctf.c (ctf_get_trace_state_variable_value): Add 'self' argument. | |
12824 | ||
bd4c6793 TT |
12825 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12826 | ||
12827 | * tracepoint.c (tfile_trace_find): Add 'self' argument. | |
12828 | * target.h (struct target_ops) <to_trace_find>: Add argument. | |
12829 | (target_trace_find): Add argument. | |
12830 | * target.c (update_current_target): Update. | |
12831 | * remote.c (remote_trace_find): Add 'self' argument. | |
12832 | * ctf.c (ctf_trace_find): Add 'self' argument. | |
12833 | ||
74499f1b TT |
12834 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12835 | ||
12836 | * target.h (struct target_ops) <to_trace_stop>: Add argument. | |
12837 | (target_trace_stop): Add argument. | |
12838 | * target.c (update_current_target): Update. | |
12839 | * remote.c (remote_trace_stop): Add 'self' argument. | |
12840 | ||
db90e85c TT |
12841 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12842 | ||
12843 | * tracepoint.c (tfile_get_tracepoint_status): Add 'self' argument. | |
12844 | * target.h (struct target_ops) <to_get_tracepoint_status>: Add | |
12845 | argument. | |
12846 | (target_get_tracepoint_status): Add argument. | |
12847 | * target.c (update_current_target): Update. | |
12848 | * remote.c (remote_get_tracepoint_status): Add 'self' argument. | |
12849 | ||
8bd200f1 TT |
12850 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12851 | ||
12852 | * tracepoint.c (tfile_get_trace_status): Add 'self' argument. | |
12853 | * target.h (struct target_ops) <to_get_trace_status>: Add | |
12854 | argument. | |
12855 | (target_get_trace_status): Add argument. | |
12856 | * target.c (update_current_target): Update. | |
12857 | * remote.c (remote_get_trace_status): Add 'self' argument. | |
12858 | (remote_start_remote, remote_can_download_tracepoint): Update. | |
12859 | * ctf.c (ctf_get_trace_status): Add 'self' argument. | |
12860 | ||
e2d1aae3 TT |
12861 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12862 | ||
12863 | * target.h (struct target_ops) <to_trace_start>: Add argument. | |
12864 | (target_trace_start): Add argument. | |
12865 | * target.c (update_current_target): Update. | |
12866 | * remote.c (remote_trace_start): Add 'self' argument. | |
12867 | ||
583f9a86 TT |
12868 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12869 | ||
12870 | * target.h (struct target_ops) <to_trace_set_readonly_regions>: | |
12871 | Add argument. | |
12872 | (target_trace_set_readonly_regions): Add argument. | |
12873 | * target.c (update_current_target): Update. | |
12874 | * remote.c (remote_trace_set_readonly_regions): Add 'self' | |
12875 | argument. | |
12876 | ||
780b049c TT |
12877 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12878 | ||
12879 | * target.h (struct target_ops) <to_disable_tracepoint>: Add | |
12880 | argument. | |
12881 | (target_disable_tracepoint): Add argument. | |
12882 | * target.c (update_current_target): Update. | |
12883 | * remote.c (remote_disable_tracepoint): Add 'self' argument. | |
12884 | ||
46670d57 TT |
12885 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12886 | ||
12887 | * target.h (struct target_ops) <to_enable_tracepoint>: Add | |
12888 | argument. | |
12889 | (target_enable_tracepoint): Add argument. | |
12890 | * target.c (update_current_target): Update. | |
12891 | * remote.c (remote_enable_tracepoint): Add 'self' argument. | |
12892 | ||
559d2b81 TT |
12893 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12894 | ||
12895 | * target.h (struct target_ops) <to_download_trace_state_variable>: | |
12896 | Add argument. | |
12897 | (target_download_trace_state_variable): Add argument. | |
12898 | * target.c (update_current_target): Update. | |
12899 | * remote.c (remote_download_trace_state_variable): Add 'self' | |
12900 | argument. | |
12901 | ||
a52a8357 TT |
12902 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12903 | ||
12904 | * target.h (struct target_ops) <to_can_download_tracepoint>: Add | |
12905 | argument. | |
12906 | (target_can_download_tracepoint): Add argument. | |
12907 | * target.c (update_current_target): Update. | |
12908 | * remote.c (remote_can_download_tracepoint): Add 'self' argument. | |
12909 | ||
548f7808 TT |
12910 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12911 | ||
12912 | * target.h (struct target_ops) <to_download_tracepoint>: Add | |
12913 | argument. | |
12914 | (target_download_tracepoint): Add argument. | |
12915 | * target.c (update_current_target): Update. | |
12916 | * remote.c (remote_download_tracepoint): Add 'self' argument. | |
12917 | ||
ecae04e1 TT |
12918 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12919 | ||
12920 | * target.h (struct target_ops) <to_trace_init>: Add argument. | |
12921 | (target_trace_init): Add argument. | |
12922 | * target.c (update_current_target): Update. | |
12923 | * remote.c (remote_trace_init): Add 'self' argument. | |
12924 | ||
fab5aa7c TT |
12925 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12926 | ||
12927 | * target.h (struct target_ops) <to_fileio_readlink>: Add argument. | |
12928 | * target.c (target_fileio_readlink): Add argument. | |
12929 | * remote.c (remote_hostio_readlink): Add 'self' argument. | |
12930 | * inf-child.c (inf_child_fileio_readlink): Add 'self' argument. | |
12931 | ||
dbbca37d TT |
12932 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12933 | ||
12934 | * target.h (struct target_ops) <to_fileio_unlink>: Add argument. | |
12935 | * target.c (target_fileio_unlink): Add argument. | |
12936 | * remote.c (remote_hostio_unlink): Add 'self' argument. | |
12937 | (remote_file_delete): Update. | |
12938 | * inf-child.c (inf_child_fileio_unlink): Add 'self' argument. | |
12939 | ||
df39ea25 TT |
12940 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12941 | ||
12942 | * target.h (struct target_ops) <to_fileio_close>: Add argument. | |
12943 | * target.c (target_fileio_close): Add argument. | |
12944 | * remote.c (remote_hostio_close): Add 'self' argument. | |
12945 | (remote_hostio_close_cleanup): Update. | |
12946 | (remote_bfd_iovec_close, remote_file_put, remote_file_get): | |
12947 | Update. | |
12948 | * inf-child.c (inf_child_fileio_close): Add 'self' argument. | |
12949 | ||
a3be983c TT |
12950 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12951 | ||
12952 | * target.h (struct target_ops) <to_fileio_pread>: Add argument. | |
12953 | * target.c (target_fileio_pread): Add argument. | |
12954 | * remote.c (remote_hostio_pread): Add 'self' argument. | |
12955 | (remote_bfd_iovec_pread, remote_file_get): Update. | |
12956 | * inf-child.c (inf_child_fileio_pread): Add 'self' argument. | |
12957 | ||
0d866f62 TT |
12958 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12959 | ||
12960 | * target.h (struct target_ops) <to_fileio_pwrite>: Add argument. | |
12961 | * target.c (target_fileio_pwrite): Add argument. | |
12962 | * remote.c (remote_hostio_pwrite): Add 'self' argument. | |
12963 | (remote_file_put): Update. | |
12964 | * inf-child.c (inf_child_fileio_pwrite): Add 'self' argument. | |
12965 | ||
cd897586 TT |
12966 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12967 | ||
12968 | * target.h (struct target_ops) <to_fileio_open>: Add argument. | |
12969 | * target.c (target_fileio_open): Add argument. | |
12970 | * remote.c (remote_hostio_open): Add 'self' argument. | |
12971 | (remote_bfd_iovec_open): Add 'self' argument. | |
12972 | (remote_file_put): Add 'self' argument. | |
12973 | (remote_file_get): Add 'self' argument. | |
12974 | * inf-child.c (inf_child_fileio_open): Add 'self' argument. | |
12975 | ||
78eff0ec TT |
12976 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12977 | ||
12978 | * target.h (struct target_ops) <to_can_run_breakpoint_commands>: | |
12979 | Add argument. | |
12980 | (target_can_run_breakpoint_commands): Add argument. | |
12981 | * target.c (update_current_target): Update. | |
12982 | * remote.c (remote_can_run_breakpoint_commands): Add 'self' | |
12983 | argument. | |
12984 | (remote_insert_breakpoint): Add 'self' argument. | |
12985 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
12986 | (remote_can_run_breakpoint_commands): Add 'self' argument. | |
12987 | ||
efcc2da7 TT |
12988 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
12989 | ||
12990 | * target.h (struct target_ops) | |
12991 | <to_supports_evaluation_of_breakpoint_conditions>: Add argument. | |
12992 | (target_supports_evaluation_of_breakpoint_conditions): Add | |
12993 | argument. | |
12994 | * target.c (update_current_target): Update. | |
12995 | * remote.c (remote_supports_cond_breakpoints): Add 'self' | |
12996 | argument. | |
12997 | (remote_insert_breakpoint): Add 'self' argument. | |
12998 | (remote_insert_hw_breakpoint): Add 'self' argument. | |
12999 | (remote_supports_cond_breakpoints): Add 'self' argument. | |
13000 | ||
6de37a3a TT |
13001 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13002 | ||
13003 | * target.h (struct target_ops) <to_supports_string_tracing>: Add | |
13004 | argument. | |
13005 | (target_supports_string_tracing): Add argument. | |
13006 | * target.c (update_current_target): Update. | |
13007 | * remote.c (remote_supports_string_tracing): Add 'self' argument. | |
13008 | ||
2bfc0540 TT |
13009 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13010 | ||
13011 | * target.h (struct target_ops) | |
13012 | <to_supports_disable_randomization>: Add argument. | |
13013 | * target.c (find_default_supports_disable_randomization): Add | |
13014 | argument. | |
13015 | (target_supports_disable_randomization): Add argument. | |
13016 | (find_default_supports_disable_randomization): Add 'self' | |
13017 | argument. | |
13018 | * remote.c (extended_remote_supports_disable_randomization): Add | |
13019 | 'self' argument. | |
13020 | (remote_supports_disable_randomization): Add 'self' argument. | |
13021 | (extended_remote_create_inferior): Update. | |
13022 | * linux-nat.c (linux_nat_supports_disable_randomization): Add | |
13023 | 'self' argument. | |
13024 | ||
7d178d6a TT |
13025 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13026 | ||
13027 | * target.h (struct target_ops) | |
13028 | <to_supports_enable_disable_tracepoint>: Add argument. | |
13029 | (target_supports_enable_disable_tracepoint): Add argument. | |
13030 | * target.c (update_current_target): Update. | |
13031 | * remote.c (remote_supports_enable_disable_tracepoint): Add 'self' | |
13032 | argument. | |
13033 | ||
86ce2668 TT |
13034 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13035 | ||
13036 | * target.h (struct target_ops) <to_supports_multi_process>: Add | |
13037 | argument. | |
13038 | (target_supports_multi_process): Add argument. | |
13039 | * target.c (update_current_target): Update. | |
13040 | * remote.c (remote_supports_multi_process): Add 'self' argument. | |
13041 | * linux-nat.c (linux_nat_supports_multi_process): Add 'self' | |
13042 | argument. | |
13043 | * darwin-nat.c (darwin_supports_multi_process): Add 'self' | |
13044 | argument. | |
13045 | ||
4c612759 TT |
13046 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13047 | ||
13048 | * target.h (struct target_ops) <to_execution_direction>: Add | |
13049 | argument. | |
13050 | (target_execution_direction): Add argument. | |
13051 | * target.c (default_execution_direction): Add 'self' argument. | |
13052 | * record-full.c (record_full_execution_direction): Add 'self' | |
13053 | argument. | |
13054 | ||
19db3e69 TT |
13055 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13056 | ||
13057 | * target.h (struct target_ops) <to_can_execute_reverse>: Add | |
13058 | argument. | |
13059 | (target_can_execute_reverse): Add argument. | |
13060 | * remote.c (remote_can_execute_reverse): Add 'self' argument. | |
13061 | * record-full.c (record_full_can_execute_reverse): Add 'self' | |
13062 | argument. | |
13063 | * record-btrace.c (record_btrace_can_execute_reverse): Add 'self' | |
13064 | argument. | |
13065 | ||
1e6b91a4 TT |
13066 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13067 | ||
13068 | * windows-nat.c (windows_get_ada_task_ptid): Add 'self' argument. | |
13069 | * target.h (struct target_ops) <to_get_ada_task_ptid>: Add | |
13070 | argument. | |
13071 | (target_get_ada_task_ptid): Add argument. | |
13072 | * target.c (update_current_target): Update. | |
13073 | (default_get_ada_task_ptid): Add 'self' argument. | |
13074 | * sol-thread.c (sol_get_ada_task_ptid): Add 'self' argument. | |
13075 | * remote.c (remote_get_ada_task_ptid): Add 'self' argument. | |
13076 | * ravenscar-thread.c (ravenscar_get_ada_task_ptid): Add 'self' | |
13077 | argument. | |
13078 | * linux-thread-db.c (thread_db_get_ada_task_ptid): Add 'self' | |
13079 | argument. | |
13080 | * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): Add 'self' | |
13081 | argument. | |
13082 | * dec-thread.c (dec_thread_get_ada_task_ptid): Add 'self' | |
13083 | argument. | |
13084 | * darwin-nat.c (darwin_get_ada_task_ptid): Add 'self' argument. | |
13085 | * aix-thread.c (aix_thread_get_ada_task_ptid): Add 'self' | |
13086 | argument. | |
13087 | ||
3c80fb48 TT |
13088 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13089 | ||
13090 | * target.h (struct target_ops) <to_goto_bookmark>: Add argument. | |
13091 | (target_goto_bookmark): Add argument. | |
13092 | * target.c (dummy_goto_bookmark): Add 'self' argument. | |
13093 | * record-full.c (record_full_goto_bookmark): Add 'self' argument. | |
13094 | ||
dd0e2830 TT |
13095 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13096 | ||
13097 | * target.h (struct target_ops) <to_get_bookmark>: Add argument. | |
13098 | (target_get_bookmark): Add argument. | |
13099 | * target.c (dummy_get_bookmark): Add 'self' argument. | |
13100 | * record-full.c (record_full_get_bookmark): Add 'self' argument. | |
13101 | ||
fc6691b2 TT |
13102 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13103 | ||
13104 | * target.h (struct target_ops) <to_make_corefile_notes>: Add | |
13105 | argument. | |
13106 | (target_make_corefile_notes): Add argument. | |
13107 | * target.c (dummy_make_corefile_notes): Add 'self' argument. | |
13108 | * procfs.c (procfs_make_note_section): Add 'self' argument. | |
13109 | (procfs_make_note_section): Add 'self' argument. | |
13110 | (procfs_make_note_section): Add 'self' argument. | |
13111 | * linux-nat.c (linux_nat_make_corefile_notes): Add 'self' | |
13112 | argument. | |
13113 | * fbsd-nat.h (fbsd_make_corefile_notes): Add 'self' argument. | |
13114 | * fbsd-nat.c (fbsd_make_corefile_notes): Add 'self' argument. | |
13115 | * exec.c (exec_make_note_section): Add 'self' argument. | |
13116 | (exec_make_note_section): Add 'self' argument. | |
13117 | ||
2e73927c TT |
13118 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13119 | ||
13120 | * target.h (struct target_ops) <to_find_memory_regions>: Add | |
13121 | argument. | |
13122 | (target_find_memory_regions): Add argument. | |
13123 | * target.c (dummy_find_memory_regions): Add 'self' argument. | |
13124 | * procfs.c (proc_find_memory_regions): Add 'self' argument. | |
13125 | * gnu-nat.c (gnu_find_memory_regions): Add 'self' argument. | |
13126 | * fbsd-nat.h (fbsd_find_memory_regions): Add 'self' argument. | |
13127 | * fbsd-nat.c (fbsd_find_memory_regions): Add 'self' argument. | |
13128 | * exec. (exec_do_find_memory_regions): New global. | |
13129 | (exec_set_find_memory_regions): Rewrite. | |
13130 | (exec_find_memory_regions): New function. | |
13131 | (init_exec_ops): Use exec_find_memory_regions. | |
13132 | ||
2a9a2795 TT |
13133 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13134 | ||
13135 | * target.h (struct target_ops) <to_supports_non_stop>: Add | |
13136 | argument. | |
13137 | * target.c (find_default_supports_non_stop): Add argument. | |
13138 | (target_supports_non_stop): Add argument. | |
13139 | (find_default_supports_non_stop): Add 'self' argument. | |
13140 | * remote.c (remote_supports_non_stop): Add 'self' argument. | |
13141 | * linux-nat.c (linux_nat_supports_non_stop): Add 'self' argument. | |
13142 | ||
4ab76ea3 TT |
13143 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13144 | ||
13145 | * target.h (struct target_ops) <to_log_command>: Add argument. | |
13146 | (target_log_command): Add argument. | |
13147 | * serial.h (serial_log_command): Add 'self' argument. | |
13148 | * serial.c (serial_log_command): Add 'self' argument. | |
13149 | ||
8dd27370 TT |
13150 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13151 | ||
13152 | * windows-nat.c (windows_pid_to_exec_file): Add 'self' argument. | |
13153 | * target.h (struct target_ops) <to_pid_to_exec_file>: Add | |
13154 | argument. | |
13155 | (target_pid_to_exec_file): Add argument. | |
13156 | * target.c (debug_to_pid_to_exec_file): Add argument. | |
13157 | (update_current_target): Update. | |
13158 | * nbsd-nat.h (nbsd_pid_to_exec_file): Add 'self' argument. | |
13159 | * nbsd-nat.c (nbsd_pid_to_exec_file): Add 'self' argument. | |
13160 | * linux-nat.c (linux_child_pid_to_exec_file): Add 'self' argument. | |
13161 | (linux_handle_extended_wait): Update. | |
13162 | * inf-child.c (inf_child_pid_to_exec_file): Add 'self' argument. | |
13163 | * fbsd-nat.h (fbsd_pid_to_exec_file): Add 'self' argument. | |
13164 | * fbsd-nat.c (fbsd_pid_to_exec_file): Add 'self' argument. | |
13165 | * darwin-nat.c (darwin_pid_to_exec_file): Add 'self' argument. | |
13166 | ||
1aac633b TT |
13167 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13168 | ||
13169 | * target.h (struct target_ops) <to_rcmd>: Add argument. | |
13170 | (target_rcmd): Add argument. | |
13171 | * target.c (debug_to_rcmd): Add argument. | |
13172 | (update_current_target, do_monitor_command): Update. | |
13173 | * remote.c (remote_rcmd): Add 'self' argument. | |
13174 | * monitor.c (monitor_rcmd): Add 'self' argument. | |
13175 | ||
1eab8a48 TT |
13176 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13177 | ||
13178 | * windows-nat.c (windows_stop): Add 'self' argument. | |
13179 | * target.h (struct target_ops) <to_stop>: Add argument. | |
13180 | * target.c (target_stop): Add argument. | |
13181 | (debug_to_stop): Add argument. | |
13182 | (update_current_target): Update. | |
13183 | * remote.c (remote_stop): Add 'self' argument. | |
13184 | * remote-sim.c (gdbsim_stop): Add 'self' argument. | |
13185 | (gdbsim_cntrl_c): Update. | |
13186 | * remote-m32r-sdi.c (m32r_stop): Add 'self' argument. | |
13187 | * procfs.c (procfs_stop): Add 'self' argument. | |
13188 | * nto-procfs.c (procfs_stop): Add 'self' argument. | |
13189 | * monitor.c (monitor_stop): Add 'self' argument. | |
13190 | (monitor_open): Update. | |
13191 | * linux-nat.c (linux_nat_stop): Add argument. | |
13192 | * inf-ptrace.c (inf_ptrace_stop): Add 'self' argument. | |
13193 | * gnu-nat.c (gnu_stop): Add 'self' argument. | |
13194 | * darwin-nat.c (darwin_stop): Add 'self' argument. | |
13195 | ||
503a628d TT |
13196 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13197 | ||
13198 | * target.h (struct target_ops) <to_thread_name>: Add argument. | |
13199 | * target.c (target_thread_name): Add argument. | |
13200 | (update_current_target): Update. | |
13201 | * linux-nat.c (linux_nat_thread_name): Add 'self' argument. | |
13202 | ||
c15906d8 TT |
13203 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13204 | ||
13205 | * target.h (struct target_ops) <to_extra_thread_info>: Add | |
13206 | argument. | |
13207 | (target_extra_thread_info): Add argument. | |
13208 | * target.c (update_current_target): Update. | |
13209 | * remote.c (remote_threads_extra_info): Add 'self' argument. | |
13210 | * ravenscar-thread.c (ravenscar_extra_thread_info): Add 'self' | |
13211 | argument. | |
13212 | * nto-tdep.h (nto_extra_thread_info): Add 'self' argument. | |
13213 | * nto-tdep.c (nto_extra_thread_info): Add 'self' argument. | |
13214 | * linux-thread-db.c (thread_db_extra_thread_info): Add 'self' | |
13215 | argument. | |
13216 | * inf-ttrace.c (inf_ttrace_extra_thread_info): Add 'self' | |
13217 | argument. | |
13218 | * bsd-uthread.c (bsd_uthread_extra_thread_info): Add 'self' | |
13219 | argument. | |
13220 | * aix-thread.c (aix_thread_extra_thread_info): Add 'self' | |
13221 | argument. | |
13222 | ||
daf5e9b6 TT |
13223 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13224 | ||
13225 | * target.h (struct target_ops) <to_program_signals>: Add argument. | |
13226 | * target.c (target_program_signals): Add argument. | |
13227 | * remote.c (remote_program_signals): Add 'self' argument. | |
13228 | ||
94bedb42 TT |
13229 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13230 | ||
13231 | * target.h (struct target_ops) <to_pass_signals>: Add argument. | |
13232 | * target.c (target_pass_signals): Add argument. | |
13233 | * remote.c (remote_pass_signals): Add 'self' argument. | |
13234 | (remote_start_remote): Update. | |
13235 | * procfs.c (procfs_pass_signals): Add 'self' argument. | |
13236 | * nto-procfs.c (procfs_pass_signals): Add 'self' argument. | |
13237 | * linux-nat.c (linux_nat_pass_signals): Add 'self' argument. | |
13238 | (linux_nat_create_inferior, linux_nat_attach): Update. | |
13239 | ||
da82bd6b TT |
13240 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13241 | ||
13242 | * windows-nat.c (windows_can_run): Add 'self' argument. | |
13243 | * target.h (struct target_ops) <to_can_run>: Add argument. | |
13244 | (target_can_run): Add argument. | |
13245 | * target.c (debug_to_can_run): Add argument. | |
13246 | (update_current_target): Update. | |
13247 | * nto-procfs.c (procfs_can_run): Add 'self' argument. | |
13248 | * inf-child.c (inf_child_can_run): Add 'self' argument. | |
13249 | * go32-nat.c (go32_can_run): Add 'self' argument. | |
13250 | ||
d796e1d6 TT |
13251 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13252 | ||
13253 | * target.h (struct target_ops) <to_has_exited>: Add argument. | |
13254 | (target_has_exited): Add argument. | |
13255 | * target.c (debug_to_has_exited): Add argument. | |
13256 | (update_current_target): Update. | |
13257 | ||
ff214e67 TT |
13258 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13259 | ||
13260 | * target.h (struct target_ops) <to_set_syscall_catchpoint>: Add | |
13261 | argument. | |
13262 | (target_set_syscall_catchpoint): Add argument. | |
13263 | * linux-nat.c (linux_child_set_syscall_catchpoint): Add 'self' | |
13264 | argument. | |
13265 | * target.c (update_current_target): Update. | |
13266 | ||
758e29d2 TT |
13267 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13268 | ||
13269 | * target.h (struct target_ops) <to_remove_exec_catchpoint>: Add | |
13270 | argument. | |
13271 | (target_remove_exec_catchpoint): Add argument. | |
13272 | * target.c (debug_to_remove_exec_catchpoint): Add argument. | |
13273 | (update_current_target): Update. | |
13274 | * linux-nat.c (linux_child_remove_exec_catchpoint): Add 'self' | |
13275 | argument. | |
13276 | ||
ba025e51 TT |
13277 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13278 | ||
13279 | * target.h (struct target_ops) <to_insert_exec_catchpoint>: Add | |
13280 | argument. | |
13281 | (target_insert_exec_catchpoint): Add argument. | |
13282 | * target.c (debug_to_insert_exec_catchpoint): Add argument. | |
13283 | (update_current_target): Update. | |
13284 | * linux-nat.c (linux_child_insert_exec_catchpoint): Add 'self' | |
13285 | argument. | |
13286 | ||
e98cf0cd TT |
13287 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13288 | ||
13289 | * target.h (struct target_ops) <to_remove_vfork_catchpoint>: Add | |
13290 | argument. | |
13291 | (target_remove_vfork_catchpoint): Add argument. | |
13292 | * target.c (debug_to_remove_vfork_catchpoint): Add argument. | |
13293 | (update_current_target): Update. | |
13294 | * linux-nat.c (linux_child_remove_vfork_catchpoint): Add 'self' | |
13295 | argument. | |
13296 | ||
3ecc7da0 TT |
13297 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13298 | ||
13299 | * target.h (struct target_ops) <to_insert_vfork_catchpoint>: Add | |
13300 | argument. | |
13301 | (target_insert_vfork_catchpoint): Add argument. | |
13302 | * target.c (debug_to_insert_vfork_catchpoint): Add argument. | |
13303 | (update_current_target): Update. | |
13304 | * linux-nat.c (linux_child_insert_vfork_catchpoint): Add 'self' | |
13305 | argument. | |
13306 | ||
973fc227 TT |
13307 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13308 | ||
13309 | * target.h (struct target_ops) <to_remove_fork_catchpoint>: Add | |
13310 | argument. | |
13311 | (target_remove_fork_catchpoint): Add argument. | |
13312 | * target.c (debug_to_remove_fork_catchpoint): Add argument. | |
13313 | (update_current_target): Update. | |
13314 | * linux-nat.c (linux_child_remove_fork_catchpoint): Add 'self' | |
13315 | argument. | |
13316 | ||
a863b201 TT |
13317 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13318 | ||
13319 | * target.h (struct target_ops) <to_insert_fork_catchpoint>: Add | |
13320 | argument. | |
13321 | (target_insert_fork_catchpoint): Add argument. | |
13322 | * target.c (debug_to_insert_fork_catchpoint): Add argument. | |
13323 | (update_current_target): Update. | |
13324 | * linux-nat.c (linux_child_insert_fork_catchpoint): Add 'self' | |
13325 | argument. | |
13326 | ||
2e97a79e TT |
13327 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13328 | ||
13329 | * target.h (struct target_ops) <to_post_startup_inferior>: Add | |
13330 | argument. | |
13331 | (target_post_startup_inferior): Add argument. | |
13332 | * target.c (debug_to_post_startup_inferior): Add argument. | |
13333 | (update_current_target): Update. | |
13334 | * spu-linux-nat.c (spu_child_post_startup_inferior): Add 'self' | |
13335 | argument. | |
13336 | * linux-nat.c (linux_child_post_startup_inferior): Add 'self' | |
13337 | argument. | |
13338 | * inf-ptrace.c (inf_ptrace_post_startup_inferior): Add 'self' | |
13339 | argument. | |
13340 | * inf-child.c (inf_child_post_startup_inferior): Add 'self' | |
13341 | argument. | |
13342 | * i386-linux-nat.c (i386_linux_child_post_startup_inferior): Add | |
13343 | 'self' argument. | |
13344 | (super_post_startup_inferior): Likewise. | |
13345 | * amd64-linux-nat.c (amd64_linux_child_post_startup_inferior): Add | |
13346 | 'self' argument. | |
13347 | (super_post_startup_inferior): Likewise. | |
13348 | * aarch64-linux-nat.c (aarch64_linux_child_post_startup_inferior): | |
13349 | Add 'self' argument. | |
13350 | (super_post_startup_inferior): Likewise. | |
13351 | ||
71a9f134 TT |
13352 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13353 | ||
13354 | * target.h (struct target_ops) <to_load>: Add argument. | |
13355 | * target.c (target_load): Add argument. | |
13356 | (debug_to_load): Add argument. | |
13357 | (update_current_target): Update. | |
13358 | * remote.c (remote_load): Add 'self' argument. | |
13359 | * remote-sim.c (gdbsim_load): Add 'self' argument. | |
13360 | * remote-mips.c (mips_load): Add 'self' argument. | |
13361 | * remote-m32r-sdi.c (m32r_load): Add 'self' argument. | |
13362 | * monitor.c (monitor_load): Add 'self' argument. | |
13363 | * m32r-rom.c (m32r_load_gen): Add 'self' argument. | |
13364 | ||
0a4f40a2 TT |
13365 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13366 | ||
13367 | * target.h (struct target_ops) <to_terminal_info>: Add argument. | |
13368 | (target_terminal_info): Add argument. | |
13369 | * target.c (debug_to_terminal_info): Add argument. | |
13370 | (default_terminal_info): Likewise. | |
13371 | * inflow.c (child_terminal_info): Add 'self' argument. | |
13372 | * inferior.h (child_terminal_info): Add 'self' argument. | |
13373 | * go32-nat.c (go32_terminal_info): Add 'self' argument. | |
13374 | ||
ae3bd431 TT |
13375 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13376 | ||
13377 | * target.h (struct target_ops) <to_terminal_save_ours>: Add | |
13378 | argument. | |
13379 | (target_terminal_save_ours): Add argument. | |
13380 | * target.c (debug_to_terminal_save_ours): Add argument. | |
13381 | (update_current_target): Update. | |
13382 | * inflow.c (terminal_save_ours): Add 'self' argument. | |
13383 | * inferior.h (terminal_save_ours): Add 'self' argument. | |
13384 | ||
e3594fd1 TT |
13385 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13386 | ||
13387 | * target.h (struct target_ops) <to_terminal_ours>: Add argument. | |
13388 | (target_terminal_ours): Add argument. | |
13389 | * target.c (debug_to_terminal_ours): Add argument. | |
13390 | (update_current_target): Update. | |
13391 | * remote.c (remote_terminal_ours): Add 'self' argument. | |
13392 | (remote_close): Update. | |
13393 | * linux-nat.c (linux_nat_terminal_ours): Add 'self' argument. | |
13394 | * inflow.c (terminal_ours): Add 'self' argument. | |
13395 | * inferior.h (terminal_ours): Add 'self' argument. | |
13396 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13397 | ||
2e1e1a19 TT |
13398 | 2014-02-19 Pedro Alves <palves@redhat.com> |
13399 | Tom Tromey <tromey@redhat.com> | |
13400 | ||
13401 | * target.h (struct target_ops) <to_terminal_ours_for_output>: Add | |
13402 | argument. | |
13403 | (target_terminal_ours_for_output): Add argument. | |
13404 | * target.c (debug_to_terminal_ours_for_output): Add argument. | |
13405 | (update_current_target): Update. | |
13406 | * inflow.c (terminal_ours_for_output): Add 'self' argument. | |
13407 | * inferior.h (terminal_ours_for_output): Add 'self' argument. | |
13408 | * go32-nat.c (go32_terminal_ours): Add 'self' argument. | |
13409 | ||
d2f640d4 TT |
13410 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13411 | ||
13412 | * target.h (struct target_ops) <to_terminal_inferior>: Add | |
13413 | argument. | |
13414 | * target.c (target_terminal_inferior): Add argument. | |
13415 | (update_current_target): Update. | |
13416 | * remote.c (remote_terminal_inferior): Add 'self' argument. | |
13417 | * linux-nat.c (linux_nat_terminal_inferior): Add 'self' argument. | |
13418 | * inflow.c (terminal_inferior): Add 'self' argument. | |
13419 | * inferior.h (terminal_inferior): Add 'self' argument. | |
13420 | * go32-nat.c (go32_terminal_inferior): Add 'self' argument. | |
13421 | (go32_terminal_inferior): Add 'self' argument. | |
13422 | ||
c42bf286 TT |
13423 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13424 | ||
13425 | * target.h (struct target_ops) <to_terminal_init>: Add argument. | |
13426 | (target_terminal_init): Add argument. | |
13427 | * target.c (debug_to_terminal_init): Add argument. | |
13428 | (update_current_target): Update. | |
13429 | * inflow.c (terminal_init_inferior): Add 'self' argument. | |
13430 | * inferior.h (terminal_init_inferior): Add 'self' argument. | |
13431 | * go32-nat.c (go32_terminal_init): Add 'self' argument. | |
13432 | * gnu-nat.c (gnu_terminal_init_inferior): Add 'self' argument. | |
13433 | ||
c3a5ff89 TT |
13434 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13435 | ||
13436 | * target.h (struct target_ops) | |
13437 | <to_can_accel_watchpoint_condition>: Add argument. | |
13438 | (target_can_accel_watchpoint_condition): Add argument. | |
13439 | * target.c (debug_to_can_accel_watchpoint_condition): Add | |
13440 | argument. | |
13441 | (update_current_target): Update. | |
13442 | * ppc-linux-nat.c (ppc_linux_can_accel_watchpoint_condition): Add | |
13443 | 'self' argument. | |
13444 | ||
31568a15 TT |
13445 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13446 | ||
13447 | * target.h (struct target_ops) <to_region_ok_for_hw_watchpoint>: | |
13448 | Add argument. | |
13449 | (target_region_ok_for_hw_watchpoint): Add argument. | |
13450 | * target.c (debug_to_region_ok_for_hw_watchpoint): Add argument. | |
13451 | (default_region_ok_for_hw_watchpoint): Add argument. | |
13452 | * spu-multiarch.c (spu_region_ok_for_hw_watchpoint): Add argument. | |
13453 | * s390-linux-nat.c (s390_region_ok_for_hw_watchpoint): Add 'self' | |
13454 | argument. | |
13455 | * remote.c (remote_region_ok_for_hw_watchpoint): Add 'self' | |
13456 | argument. | |
13457 | * procfs.c (procfs_region_ok_for_hw_watchpoint): Add 'self' | |
13458 | argument. | |
13459 | * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint): Add | |
13460 | 'self' argument. | |
13461 | * mips-linux-nat.c (mips_linux_region_ok_for_hw_watchpoint): Add | |
13462 | 'self' argument. | |
13463 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): Add | |
13464 | 'self' argument. | |
13465 | * i386-nat.c (i386_region_ok_for_watchpoint): Add 'self' argument. | |
13466 | * arm-linux-nat.c (arm_linux_region_ok_for_hw_watchpoint): Add | |
13467 | 'self' argument. | |
13468 | * aarch64-linux-nat.c (aarch64_linux_region_ok_for_hw_watchpoint): | |
13469 | Add 'self' argument. | |
13470 | ||
7bb99c53 TT |
13471 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13472 | ||
13473 | * target.h (struct target_ops) <to_insert_watchpoint>: Add | |
13474 | argument. | |
13475 | (target_insert_watchpoint): Add argument. | |
13476 | * target.c (debug_to_insert_watchpoint): Add argument. | |
13477 | (update_current_target): Update. | |
13478 | * s390-linux-nat.c (s390_insert_watchpoint): Add 'self' argument. | |
13479 | * remote.c (remote_insert_watchpoint): Add 'self' argument. | |
13480 | * remote-mips.c (mips_insert_watchpoint): Add 'self' argument. | |
13481 | * remote-m32r-sdi.c (m32r_insert_watchpoint): Add 'self' argument. | |
13482 | * procfs.c (procfs_insert_watchpoint): Add 'self' argument. | |
13483 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Add 'self' | |
13484 | argument. | |
13485 | * nto-procfs.c (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13486 | (procfs_insert_hw_watchpoint): Add 'self' argument. | |
13487 | * mips-linux-nat.c (mips_linux_insert_watchpoint): Add 'self' | |
13488 | argument. | |
13489 | * inf-ttrace.c (inf_ttrace_insert_watchpoint): Add 'self' | |
13490 | argument. | |
13491 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Add 'self' | |
13492 | argument. | |
13493 | * i386-nat.c (i386_insert_watchpoint): Add 'self' argument. | |
13494 | * arm-linux-nat.c (arm_linux_insert_watchpoint): Add 'self' | |
13495 | argument. | |
13496 | * aarch64-linux-nat.c (aarch64_linux_insert_watchpoint): Add | |
13497 | 'self' argument. | |
13498 | ||
11b5219a TT |
13499 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13500 | ||
13501 | * target.h (struct target_ops) <to_remove_watchpoint>: Add | |
13502 | argument. | |
13503 | (target_remove_watchpoint): Add argument. | |
13504 | * target.c (debug_to_remove_watchpoint): Add argument. | |
13505 | (update_current_target): Update. | |
13506 | * s390-linux-nat.c (s390_remove_watchpoint): Add 'self' argument. | |
13507 | * remote.c (remote_remove_watchpoint): Add 'self' argument. | |
13508 | * remote-mips.c (mips_remove_watchpoint): Add 'self' argument. | |
13509 | * remote-m32r-sdi.c (m32r_remove_watchpoint): Add 'self' argument. | |
13510 | * procfs.c (procfs_remove_watchpoint): Add 'self' argument. | |
13511 | * ppc-linux-nat.c (ppc_linux_remove_watchpoint): Add 'self' | |
13512 | argument. | |
13513 | * nto-procfs.c (procfs_remove_hw_watchpoint): Add 'self' argument. | |
13514 | * mips-linux-nat.c (mips_linux_remove_watchpoint): Add 'self' | |
13515 | argument. | |
13516 | * inf-ttrace.c (inf_ttrace_remove_watchpoint): Add 'self' | |
13517 | argument. | |
13518 | * ia64-linux-nat.c (ia64_linux_remove_watchpoint): Add 'self' | |
13519 | argument. | |
13520 | * i386-nat.c (i386_remove_watchpoint): Add 'self' argument. | |
13521 | * arm-linux-nat.c (arm_linux_remove_watchpoint): Add 'self' | |
13522 | argument. | |
13523 | * aarch64-linux-nat.c (aarch64_linux_remove_watchpoint): Add | |
13524 | 'self' argument. | |
13525 | ||
a64dc96c TT |
13526 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13527 | ||
13528 | * target.h (struct target_ops) <to_remove_hw_breakpoint>: Add | |
13529 | argument. | |
13530 | (target_remove_hw_breakpoint): Add argument. | |
13531 | * target.c (debug_to_remove_hw_breakpoint): Add argument. | |
13532 | (update_current_target): Update. | |
13533 | * remote.c (remote_remove_hw_breakpoint): Add 'self' argument. | |
13534 | * ppc-linux-nat.c (ppc_linux_remove_hw_breakpoint): Add 'self' | |
13535 | argument. | |
13536 | * i386-nat.c (i386_remove_hw_breakpoint): Add 'self' argument. | |
13537 | * arm-linux-nat.c (arm_linux_remove_hw_breakpoint): Add 'self' | |
13538 | argument. | |
13539 | * aarch64-linux-nat.c (aarch64_linux_remove_hw_breakpoint): Add | |
13540 | 'self' argument. | |
13541 | ||
23a26771 TT |
13542 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13543 | ||
13544 | * target.h (struct target_ops) <to_insert_hw_breakpoint>: Add | |
13545 | argument. | |
13546 | (target_insert_hw_breakpoint): Add argument. | |
13547 | * target.c (debug_to_insert_hw_breakpoint): Add argument. | |
13548 | (update_current_target): Update. | |
13549 | * remote.c (remote_insert_hw_breakpoint): Add 'self' argument. | |
13550 | * ppc-linux-nat.c (ppc_linux_insert_hw_breakpoint): Add 'self' | |
13551 | argument. | |
13552 | * nto-procfs.c (procfs_insert_hw_breakpoint): Add 'self' argument. | |
13553 | * i386-nat.c (i386_insert_hw_breakpoint): Add 'self' argument. | |
13554 | * arm-linux-nat.c (arm_linux_insert_hw_breakpoint): Add 'self' | |
13555 | argument. | |
13556 | * aarch64-linux-nat.c (aarch64_linux_insert_hw_breakpoint): Add | |
13557 | 'self' argument. | |
13558 | ||
5461485a TT |
13559 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13560 | ||
13561 | * target.h (struct target_ops) <to_can_use_hw_breakpoint>: Add | |
13562 | argument. | |
13563 | (target_can_use_hardware_watchpoint): Add argument. | |
13564 | * target.c (debug_to_can_use_hw_breakpoint): Add argument. | |
13565 | (update_current_target): Update. | |
13566 | * spu-linux-nat.c (spu_can_use_hw_breakpoint): Add 'self' | |
13567 | argument. | |
13568 | * s390-linux-nat.c (s390_can_use_hw_breakpoint): Add 'self' | |
13569 | argument. | |
13570 | * remote.c (remote_check_watch_resources): Add 'self' argument. | |
13571 | * remote-mips.c (mips_can_use_watchpoint): Add 'self' argument. | |
13572 | * remote-m32r-sdi.c (m32r_can_use_hw_watchpoint): Add 'self' | |
13573 | argument. | |
13574 | * procfs.c (procfs_can_use_hw_breakpoint): Add 'self' argument. | |
13575 | * ppc-linux-nat.c (ppc_linux_can_use_hw_breakpoint): Add 'self' | |
13576 | argument. | |
13577 | * nto-procfs.c (procfs_can_use_hw_breakpoint): Add 'self' | |
13578 | argument. | |
13579 | * mips-linux-nat.c (mips_linux_can_use_hw_breakpoint): Add 'self' | |
13580 | argument. | |
13581 | * inf-ttrace.c (inf_ttrace_can_use_hw_breakpoint): Add 'self' | |
13582 | argument. | |
13583 | * ia64-linux-nat.c (ia64_linux_can_use_hw_breakpoint): Add 'self' | |
13584 | argument. | |
13585 | * ia64-hpux-nat.c (ia64_hpux_can_use_hw_breakpoint): Add 'self' | |
13586 | argument. | |
13587 | * i386-nat.c (i386_can_use_hw_breakpoint): Add 'self' argument. | |
13588 | * arm-linux-nat.c (arm_linux_can_use_hw_breakpoint): Add 'self' | |
13589 | argument. | |
13590 | * aarch64-linux-nat.c (aarch64_linux_can_use_hw_breakpoint): Add | |
13591 | 'self' argument. | |
13592 | ||
f045800c TT |
13593 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13594 | ||
13595 | * target.h (struct target_ops) <to_post_attach>: Add argument. | |
13596 | (target_post_attach): Add argument. | |
13597 | * target.c (debug_to_post_attach): Add argument. | |
13598 | (update_current_target): Update. | |
13599 | * spu-linux-nat.c (spu_child_post_attach): Add 'self' argument. | |
13600 | * nto-procfs.c (procfs_post_attach): Add 'self' argument. | |
13601 | * linux-nat.c (linux_child_post_attach): Add 'self' argument. | |
13602 | * inf-ptrace.c (inf_ptrace_post_attach): Add 'self' argument. | |
13603 | * inf-child.c (inf_child_post_attach): Add 'self' argument. | |
13604 | ||
de90e03d TT |
13605 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13606 | ||
13607 | * windows-nat.c (windows_close): Add 'self' argument. | |
13608 | * tracepoint.c (tfile_close): Add 'self' argument. | |
13609 | * target.h (struct target_ops) <to_close>: Add argument. | |
13610 | * target.c (target_close): Add argument. | |
13611 | (update_current_target): Update. | |
13612 | * remote.c (remote_close): Add 'self' argument. | |
13613 | * remote-sim.c (gdbsim_close): Add 'self' argument. | |
13614 | * remote-mips.c (mips_close): Add 'self' argument. | |
13615 | * remote-m32r-sdi.c (m32r_close): Add 'self' argument. | |
13616 | * record-full.c (record_full_close): Add 'self' argument. | |
13617 | * record-btrace.c (record_btrace_close): Add 'self' argument. | |
13618 | * monitor.h (monitor_close): Add 'self' argument. | |
13619 | * monitor.c (monitor_close): Add 'self' argument. | |
13620 | * mips-linux-nat.c (mips_linux_close): Add 'self' argument. | |
13621 | * linux-nat.c (linux_nat_close): Add argument. | |
13622 | * go32-nat.c (go32_close): Add 'self' argument. | |
13623 | * exec.c (exec_close_1): Add 'self' argument. | |
13624 | * ctf.c (ctf_close): Add 'self' argument. | |
13625 | * corelow.c (core_close): Add 'self' argument. | |
13626 | (core_close_cleanup): Update. | |
13627 | * bsd-uthread.c (bsd_uthread_close): Add 'self' argument. | |
13628 | * bsd-kvm.c (bsd_kvm_close): Add 'self' argument. | |
13629 | ||
9dd130a0 TT |
13630 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13631 | ||
13632 | * remote.c (remote_load): New function. | |
13633 | (init_remote_ops): Use it. | |
13634 | ||
46917d26 TT |
13635 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13636 | ||
13637 | * common/linux-btrace.c (linux_supports_btrace): Add "ops" | |
13638 | argument. | |
13639 | * common/linux-btrace.h (linux_supports_btrace): Update. | |
13640 | * remote.c (remote_supports_btrace): Add "self" argument. | |
13641 | * target-delegates.c: Rebuild. | |
13642 | * target.c (target_supports_btrace): Remove. | |
13643 | * target.h (struct target_ops) <to_supports_btrace>: Add | |
13644 | target_ops argument. | |
13645 | (target_supports_btrace): New define. | |
13646 | ||
6b84065d TT |
13647 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13648 | ||
13649 | * record-full.c (record_full_beneath_to_resume_ops) | |
13650 | (record_full_beneath_to_resume, record_full_beneath_to_wait_ops) | |
13651 | (record_full_beneath_to_wait) | |
13652 | (record_full_beneath_to_store_registers_ops) | |
13653 | (record_full_beneath_to_store_registers) | |
13654 | (record_full_beneath_to_xfer_partial_ops) | |
13655 | (record_full_beneath_to_xfer_partial) | |
13656 | (record_full_beneath_to_insert_breakpoint_ops) | |
13657 | (record_full_beneath_to_insert_breakpoint) | |
13658 | (record_full_beneath_to_remove_breakpoint_ops) | |
13659 | (record_full_beneath_to_remove_breakpoint) | |
13660 | (record_full_beneath_to_stopped_by_watchpoint) | |
13661 | (record_full_beneath_to_stopped_data_address) | |
13662 | (record_full_beneath_to_async, tmp_to_resume_ops, tmp_to_resume) | |
13663 | (tmp_to_wait_ops, tmp_to_wait, tmp_to_store_registers_ops) | |
13664 | (tmp_to_store_registers, tmp_to_xfer_partial_ops) | |
13665 | (tmp_to_xfer_partial, tmp_to_instmp_to_insert_breakpoint_ops) | |
13666 | (tmp_to_insert_breakpoint, tmp_to_remove_breakpoint_ops) | |
13667 | (tmp_to_remove_breakpoint, tmp_to_stopped_by_watchpoint) | |
13668 | (tmp_to_stopped_data_address, tmp_to_async): Remove. | |
13669 | (record_full_open_1, record_full_open): Update. Use RECORD_IS_USED. | |
13670 | (record_full_resume, record_full_wait_1) | |
13671 | (record_full_stopped_by_watchpoint, record_full_stopped_data_address) | |
13672 | (record_full_store_registers, record_full_xfer_partial) | |
13673 | (record_full_insert_breakpoint, record_full_remove_breakpoint) | |
13674 | (record_full_async, record_full_core_xfer_partial): Use target | |
13675 | delegation. | |
13676 | * target-delegates.c: Rebuild. | |
13677 | * target.c (current_xfer_partial): Remove. | |
13678 | (update_current_target): Do not INHERIT or de_fault | |
13679 | to_insert_breakpoint, to_remove_breakpoint, | |
13680 | to_stopped_data_address, to_stopped_by_watchpoint, to_can_async_p, | |
13681 | to_is_async_p, to_async. Do not set to_xfer_partial field. | |
13682 | (default_xfer_partial): Simplify. | |
13683 | (current_xfer_partial): Remove. | |
13684 | (target_wait, target_resume): Simplify. | |
13685 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13686 | (init_dummy_target): Don't set to_can_async_p, to_is_async_p, | |
13687 | to_xfer_partial, to_stopped_by_watchpoint, | |
13688 | to_stopped_data_address. | |
13689 | (target_store_registers): Simplify. | |
13690 | (forward_target_remove_breakpoint) | |
13691 | (forward_target_insert_breakpoint): Remove. | |
13692 | (target_remove_breakpoint, target_insert_breakpoint) | |
13693 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint): Update. | |
13694 | * target.h (struct target_ops) <to_resume, to_wait, | |
13695 | to_store_registers, to_insert_breakpoint, to_remove_breakpoint, | |
13696 | to_stopped_by_watchpoint, to_stopped_data_address, to_can_async_p, | |
13697 | to_is_async_p, to_async, to_xfer_partial>: Add TARGET_DEFAULT | |
13698 | markup. | |
13699 | (forward_target_remove_breakpoint) | |
13700 | (forward_target_insert_breakpoint): Remove. | |
13701 | * record-btrace.c (record_btrace_remove_breakpoint): Delegate | |
13702 | directly. | |
13703 | (record_btrace_insert_breakpoint): Delegate directly. | |
13704 | ||
1101cb7b TT |
13705 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13706 | ||
13707 | PR build/7701: | |
13708 | * target-delegates.c: New file. | |
13709 | * target.c: Include target-delegates.c. | |
13710 | (init_dummy_target): Call install_dummy_methods. | |
13711 | (complete_target_initialization): Call install_delegators. | |
13712 | * target.h (TARGET_DEFAULT_IGNORE, TARGET_DEFAULT_NORETURN) | |
13713 | (TARGET_DEFAULT_RETURN, TARGET_DEFAULT_FUNC): New defines. | |
13714 | * make-target-delegates: New file. | |
13715 | ||
8b06beed TT |
13716 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13717 | ||
13718 | * record.c (find_record_target): Use find_target_at. | |
13719 | * target.c (find_target_at): New function. | |
13720 | * target.h (find_target_at): Declare. | |
13721 | ||
6a109b6b TT |
13722 | 2014-02-19 Tom Tromey <tromey@redhat.com> |
13723 | ||
13724 | * aarch64-linux-nat.c (aarch64_linux_stopped_by_watchpoint): | |
13725 | Add 'ops' argument. | |
13726 | * arm-linux-nat.c (arm_linux_stopped_by_watchpoint): Add | |
13727 | 'ops' argument. | |
13728 | * i386-nat.c (i386_stopped_by_watchpoint): Add 'ops' argument. | |
13729 | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Add | |
13730 | 'ops' argument. | |
13731 | * inf-ttrace.c (inf_ttrace_stopped_by_watchpoint): Add 'ops' | |
13732 | argument. | |
13733 | * linux-nat.c (save_sigtrap): Update. | |
13734 | (linux_nat_stopped_by_watchpoint, linux_nat_is_async_p) | |
13735 | (linux_nat_can_async_p, linux_nat_async): Add 'ops' argument. | |
13736 | (linux_nat_close): Update. | |
13737 | * mips-linux-nat.c (mips_linux_stopped_by_watchpoint): Add 'ops' | |
13738 | argument. | |
13739 | * ppc-linux-nat.c (ppc_linux_stopped_by_watchpoint): Add 'ops' | |
13740 | argument. | |
13741 | * procfs.c (procfs_stopped_by_watchpoint): Add 'ops' argument. | |
13742 | * record-full.c (record_full_beneath_to_stopped_by_watchpoint) | |
13743 | (record_full_beneath_to_async, tmp_to_stopped_by_watchpoint) | |
13744 | (tmp_to_async): Add 'ops' argument. | |
13745 | (record_full_stopped_by_watchpoint, record_full_async) | |
13746 | (record_full_can_async_p, record_full_is_async_p): Add 'ops' | |
13747 | argument. | |
13748 | * remote-m32r-sdi.c (m32r_insert_breakpoint, m32r_remove_breakpoint) | |
13749 | (m32r_stopped_by_watchpoint): Add 'ops' argument. | |
13750 | * remote-mips.c (mips_stopped_by_watchpoint): Add 'ops' argument. | |
13751 | * remote.c (remote_stopped_by_watchpoint_p, remote_can_async_p) | |
13752 | (remote_is_async_p, remote_async): Add 'ops' argument. | |
13753 | (remote_stopped_data_address): Update. | |
13754 | * s390-nat.c (s390_stopped_by_watchpoint): Add 'ops' argument. | |
13755 | * target.c (update_current_target) | |
13756 | (find_default_can_async_p, find_default_is_async_p): Update. | |
13757 | (init_dummy_target): Update. | |
13758 | (debug_to_stopped_by_watchpoint): Add 'ops' argument. | |
13759 | * target.h (struct target_ops) <to_stopped_by_watchpoint, | |
13760 | to_can_async_p, to_is_async_p, to_async>: Add 'ops' argument. | |
13761 | (target_can_async_p, target_is_async_p, target_async) | |
13762 | (target_stopped_by_watchpoint): Update. | |
13763 | ||
e095146b YQ |
13764 | 2014-02-19 Yao Qi <yao@codesourcery.com> |
13765 | ||
13766 | PR gdb/16220 | |
13767 | * gdbarch.sh: Remove startup_gdbarch. | |
13768 | * gdbarch.c: Regenerated. | |
13769 | * gdbarch.h: Likewise. | |
13770 | ||
bc3c6b36 KB |
13771 | 2014-02-17 Kevin Buettner <kevinb@redhat.com> |
13772 | ||
13773 | * rl78-tdep.c (rl78_g10_register_name): New function. | |
13774 | (rl78_return_value): Add g10 support. | |
13775 | (rl78_gdbarch_init): Register rl78_g10_register_name for the | |
13776 | g10. | |
13777 | ||
98dc0167 | 13778 | 2014-02-17 Doug Evans <xdje42@gmail.com> |
f01c1940 DE |
13779 | |
13780 | * Makefile.in (SUBDIR_GUILE_OBS): Resort alphabetically. | |
13781 | (SUBDIR_GUILE_SRCS): Ditto. | |
13782 | (scm-gsmob.o): Ditto. | |
13783 | ||
842c05cd YQ |
13784 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13785 | ||
13786 | * gnu-nat.c (ILL_RPC): Declare defined function. | |
13787 | ||
25c0bd04 YQ |
13788 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13789 | ||
13790 | * gnu-nat.c (gnu_read_inferior): Change 'copy_count' type to | |
13791 | mach_msg_type_number_t. | |
13792 | (gnu_write_inferior): Likewise. | |
13793 | ||
a9a758e3 YQ |
13794 | 2014-02-17 Yao Qi <yao@codesourcery.com> |
13795 | ||
13796 | * gnu-nat.c (proc_get_exception_port): Use 'lu' insetad of 'd' | |
13797 | in format string. | |
13798 | (proc_steal_exc_port, make_proc, inf_set_pid): Likewise. | |
13799 | (inf_validate_procs, inf_signal): Likewise. | |
13800 | (S_exception_raise_request): Likewise. | |
13801 | (do_mach_notify_dead_name): Likewise. | |
13802 | (steal_exc_port): Likewise. | |
13803 | (gnu_read_inferior): Change 'copy_count''s type to | |
13804 | mach_msg_type_number_t. | |
13805 | (gnu_write_inferior): Likewise. Use 'lx' instead of 'x' in | |
13806 | format string. | |
13807 | ||
bae8023e TS |
13808 | 2014-02-16 Thomas Schwinge <thomas@codesourcery.com> |
13809 | ||
c82f56d9 TS |
13810 | * gnu-nat.c (struct inf): Change pending_execs member to a 1-bit |
13811 | flag. Adjust all users; in particular... | |
13812 | (gnu_wait): ..., don't decrement its value in here... | |
13813 | (gnu_create_inferior): ..., and instead set the flag in here, | |
13814 | around the startup_inferior call, and call that one with | |
13815 | START_INFERIOR_TRAPS_EXPECTED. | |
13816 | ||
3398af6a TS |
13817 | * gnu-nat.c (ill_rpc): Remove function; replaced with this... |
13818 | (ILL_RPC): ... new macro. | |
13819 | (do_mach_notify_no_senders, do_mach_notify_port_deleted) | |
13820 | (do_mach_notify_msg_accepted, do_mach_notify_port_destroyed) | |
13821 | (do_mach_notify_send_once, S_proc_setmsgport_reply) | |
13822 | (S_proc_getmsgport_reply, S_msg_sig_post_reply): Generate stub | |
13823 | functions with ILL_RPC macro. | |
13824 | (S_proc_pid2task_reply, S_proc_task2pid_reply) | |
13825 | (S_proc_task2proc_reply, S_proc_proc2task_reply) | |
13826 | (S_proc_pid2proc_reply, S_proc_getprocinfo_reply) | |
13827 | (S_proc_getprocargs_reply, S_proc_getprocenv_reply) | |
13828 | (S_proc_getloginid_reply, S_proc_getloginpids_reply) | |
13829 | (S_proc_getlogin_reply, S_proc_getsid_reply) | |
13830 | (S_proc_getsessionpgids_reply, S_proc_getsessionpids_reply) | |
13831 | (S_proc_getsidport_reply, S_proc_getpgrp_reply) | |
13832 | (S_proc_getpgrppids_reply, S_proc_get_tty_reply) | |
13833 | (S_proc_getnports_reply, S_proc_is_important_reply) | |
13834 | (S_proc_get_code_reply): New stub functions, generated with | |
13835 | ILL_RPC macro. | |
13836 | ||
d47642c9 TS |
13837 | * reply_mig_hack.awk: In phase 5, keep going if we have not yet |
13838 | collected the type check structures. | |
13839 | ||
bae8023e TS |
13840 | * reply_mig_hack.awk: Don't expect to see the auto keyword. |
13841 | ||
8a55ffb0 DE |
13842 | 2014-02-14 Doug Evans <dje@google.com> |
13843 | ||
13844 | * target.c (target_write_partial): Fix result type. | |
13845 | ||
c2853f3d JM |
13846 | 2014-02-14 Jose E. Marchesi <jose.marchesi@oracle.com> |
13847 | ||
13848 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Register | |
13849 | the proper offsets to access fpregset_t. | |
13850 | ||
ac61d2db SA |
13851 | 2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> |
13852 | ||
13853 | * cris-tdep.c (cris_supply_gregset): Remove zerobuf. | |
13854 | (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. | |
13855 | * h8300-tdep.c (setmachinelist): Remove global. | |
13856 | * hppa-tdep.c (hppa_sigtramp): Remove global. | |
13857 | * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb | |
13858 | RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. | |
13859 | * ravenscar-thread.c (update_target_observer): Remove global. | |
13860 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs. | |
13861 | ||
9d2d0b8b TT |
13862 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13863 | ||
13864 | * common/rsp-low.c: Update comments. | |
13865 | * common/rsp-low.h: Update comments. | |
13866 | ||
a7191e8b TT |
13867 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13868 | ||
13869 | * common/rsp-low.c (convert_ascii_to_int): Remove. | |
13870 | * common/rsp-low.h (convert_ascii_to_int): Don't declare. | |
13871 | ||
ff0e980e TT |
13872 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13873 | ||
13874 | * common/rsp-low.h (unhexify): Don't declare. | |
13875 | * common/rsp-low.c (unhexify): Remove. | |
13876 | ||
e9371aff TT |
13877 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13878 | ||
13879 | * common/rsp-low.h (convert_int_to_ascii): Don't declare. | |
13880 | * common/rsp-low.c (convert_int_to_ascii): Remove. | |
13881 | ||
971dc0b8 TT |
13882 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13883 | ||
13884 | * common/rsp-low.h (hexify): Don't declare. | |
13885 | * common/rsp-low.c (hexify): Remove. | |
13886 | ||
0a822afb TT |
13887 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13888 | ||
13889 | * common/rsp-low.c (hexify): Never take strlen of argument. | |
13890 | ||
9f1b45b0 TT |
13891 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13892 | ||
13893 | * common/rsp-low.c (bin2hex): Never take strlen of argument. | |
13894 | * remote.c (extended_remote_run, remote_rcmd) | |
13895 | (remote_download_trace_state_variable, remote_save_trace_data) | |
13896 | (remote_set_trace_notes): Update. | |
13897 | * tracepoint.c (encode_source_string, tfile_write_status) | |
13898 | (tfile_write_uploaded_tsv): Update. | |
13899 | ||
9c3d6531 TT |
13900 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13901 | ||
13902 | * tracepoint.c: Include rsp-low.h. | |
13903 | * remote.h (hex2bin, bin2hex, unpack_varlen_hex): Don't declare. | |
13904 | * remote.c: Include rsp-low.h. | |
13905 | (hexchars, ishex, unpack_varlen_hex, pack_nibble, pack_hex_byte) | |
13906 | (fromhex, hex2bin, tohex, bin2hex, remote_escape_output) | |
13907 | (remote_unescape_input): Move to common/rsp-low.c. | |
13908 | * common/rsp-low.h: New file. | |
13909 | * common/rsp-low.c: New file. | |
13910 | * Makefile.in (SFILES): Add common/rsp-low.c. | |
13911 | (HFILES_NO_SRCDIR): Add common/rsp-low.h. | |
13912 | (COMMON_OBS): Add rsp-low.o. | |
13913 | (rsp-low.o): New target. | |
13914 | ||
01fd3ea5 TT |
13915 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13916 | ||
13917 | * utils.h: Include print-utils.h. | |
13918 | (host_address_to_string, plongest, pulongest, phex, phex_nz) | |
13919 | (int_string, core_addr_to_string, core_addr_to_string_nz) | |
13920 | (hex_string, hex_string_custom): Don't declare. | |
13921 | * utils.c (NUMCELLS, CELLSIZE, get_cell, decimal2str, pulongest) | |
13922 | (plongest, thirty_two, phex, phex_nz, octal2str, hex_string) | |
13923 | (hex_string_custom, int_string, core_addr_to_string) | |
13924 | (core_addr_to_string_nz, host_address_to_string): Move to | |
13925 | common/print-utils.c. | |
13926 | * common/print-utils.h: New file. | |
13927 | * common/print-utils.c: New file | |
13928 | * Makefile.in (SFILES): Add common/print-utils.c. | |
13929 | (HFILES_NO_SRCDIR): Add common/print-utils.h. | |
13930 | (COMMON_OBS): Add print-utils.o. | |
13931 | (print-utils.o): New target. | |
13932 | ||
9fb50108 TT |
13933 | 2014-02-12 Tom Tromey <tromey@redhat.com> |
13934 | ||
13935 | * nios2-tdep.c (nios2_stub_frame_base_address): Remove. | |
13936 | ||
0548b5db MK |
13937 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13938 | ||
13939 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Call obsd_init_abi. | |
13940 | ||
493443a4 MK |
13941 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13942 | ||
13943 | * inf-ptrace.c (inf_ptrace_xfer_partial): Return TARGET_XFER_EOF | |
13944 | if a PT_IO ptrace request returns sucessfully but indicates that 0 | |
13945 | bytes were transferred. | |
13946 | ||
706d0883 PA |
13947 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13948 | Kevin Buettner <kevinb@redhat.com> | |
13949 | ||
13950 | * gnu-v3-abi.c (build_gdb_vtable_type): Return a type marked with | |
13951 | TYPE_INSTANCE_FLAG_CODE_SPACE. | |
13952 | ||
5caa2f0b PA |
13953 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13954 | ||
13955 | * h8300-tdep.c (pseudo_from_raw_register) | |
13956 | (raw_from_pseudo_register): New functions. | |
13957 | (h8300_pseudo_register_read, h8300_pseudo_register_write): Use | |
13958 | them. | |
13959 | ||
76fd5f74 PA |
13960 | 2014-02-12 Pedro Alves <palves@redhat.com> |
13961 | ||
13962 | * h8300-tdep.c (h8300_register_sim_regno): New function. | |
13963 | (h8300_gdbarch_init): Install h8300_register_sim_regno as | |
13964 | gdbarch_register_sim_regno hook. | |
13965 | ||
8f008406 SA |
13966 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
13967 | ||
13968 | * nios2-tdep.c (nios2_stub_frame_base): Remove global. | |
13969 | ||
195abc10 SA |
13970 | 2014-02-12 Sanimir Agovic <sanimir.agovic@intel.com> |
13971 | ||
13972 | * tic6x-tdep.c (tic6x_gdbarch_init): Call frame_base_set_default. | |
13973 | ||
93ffa5b9 MK |
13974 | 2014-02-12 Mark Kettenis <kettenis@gnu.org> |
13975 | ||
13976 | * obsd-tdep.h (obsd_init_abi): New prototype. | |
13977 | * obsd-tdep.c: Define enum with OpenBSD signal numbers. | |
13978 | (obsd_gdb_signal_from_target, obsd_gdb_signal_to_target) | |
13979 | (obsd_init_abi): New functions. | |
13980 | * i386obsd-tdep.c: Include "obsd-tdep.h". | |
13981 | (i386obsd_init_abi): Call obsd_init_abi. | |
13982 | * amd64obsd-tdep.c: Include "obsd-tdep.h". | |
13983 | (amd64obsd_init_abi): Call obsd_init_abi. | |
13984 | * configure.tgt (i[34567]86-*-openbsd*, x86_64-*-openbsd*): Add | |
13985 | obsd-tdep.c to gdb_target_obs. | |
13986 | ||
49caec94 JM |
13987 | 2014-02-11 Jose E. Marchesi <jose.marchesi@oracle.com> |
13988 | ||
13989 | * sparc64-tdep.c (sparc64_store_arguments): Do not align complex | |
13990 | double float arguments to 16-byte in the argument slots. | |
13991 | ||
e1402065 DE |
13992 | 2014-02-11 Doug Evans <xdje42@gmail.com> |
13993 | ||
13994 | * configure.ac: Don't crash if pkg-config is not found and guile | |
13995 | wasn't explicitly requested. Use AC_MSG_ERROR instead of AC_ERROR | |
13996 | in guile checks. | |
13997 | * configure: Regenerate. | |
13998 | ||
edcc890f YQ |
13999 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
14000 | ||
14001 | * aix-thread.c (aix_thread_xfer_partial): Update comments. | |
14002 | * auxv.c (procfs_xfer_auxv, memory_xfer_auxv): Likewise. | |
14003 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
14004 | * gnu-nat.c (gnu_xfer_memory): Likewise. | |
14005 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
14006 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14007 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14008 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
14009 | ||
9b409511 YQ |
14010 | 2014-02-11 Yao Qi <yao@codesourcery.com> |
14011 | ||
14012 | * target.h (enum target_xfer_error): Rename to ... | |
14013 | (enum target_xfer_status): ... it. New. All users updated. | |
14014 | (enum target_xfer_status) <TARGET_XFER_OK>, <TARGET_XFER_EOF>: | |
14015 | New. | |
14016 | (TARGET_XFER_STATUS_ERROR_P): New macro. | |
14017 | (target_xfer_error_to_string): Remove declaration. | |
14018 | (target_xfer_status_to_string): Declare. | |
14019 | (target_xfer_partial_ftype): Adjust it. | |
14020 | (struct target_ops) <to_xfer_partial>: Return | |
14021 | target_xfer_status. Add argument xfered_len. Update | |
14022 | comments. | |
14023 | * target.c (target_xfer_error_to_string): Rename to ... | |
14024 | (target_xfer_status_to_string): ... it. New. All callers | |
14025 | updated. | |
14026 | (target_read_live_memory): Likewise. Call target_xfer_partial | |
14027 | instead of target_read. | |
14028 | (memory_xfer_live_readonly_partial): Return | |
14029 | target_xfer_status. Add argument xfered_len. | |
14030 | (raw_memory_xfer_partial): Likewise. | |
14031 | (memory_xfer_partial_1): Likewise. | |
14032 | (memory_xfer_partial): Likewise. | |
14033 | (target_xfer_partial): Likewise. Check *XFERED_LEN is set | |
14034 | properly. Update debug message. | |
14035 | (default_xfer_partial, current_xfer_partial): Likewise. | |
14036 | (target_write_partial): Likewise. | |
14037 | (target_read_partial): Likewise. All callers updated. | |
14038 | (read_whatever_is_readable): Likewise. | |
14039 | (target_write_with_progress): Likewise. | |
14040 | (target_read_alloc_1): Likewise. | |
14041 | ||
14042 | * aix-thread.c (aix_thread_xfer_partial): Likewise. | |
14043 | * auxv.c (procfs_xfer_auxv): Likewise. | |
14044 | (ld_so_xfer_auxv, memory_xfer_auxv): Likewise. | |
14045 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14046 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14047 | * bsd-uthread.c (bsd_uthread_xfer_partia): Likewise. | |
14048 | * corefile.c (read_memory): Adjust. | |
14049 | * corelow.c (core_xfer_partial): Likewise. | |
14050 | * ctf.c (ctf_xfer_partial): Likewise. | |
14051 | * darwin-nat.c (darwin_read_dyld_info): Likewise. All callers | |
14052 | updated. | |
14053 | (darwin_xfer_partial): Likewise. | |
14054 | * exec.c (section_table_xfer_memory_partial): Likewise. All | |
14055 | callers updated. | |
14056 | (exec_xfer_partial): Likewise. | |
14057 | * exec.h (section_table_xfer_memory_partial): Update | |
14058 | declaration. | |
14059 | * gnu-nat.c (gnu_xfer_memory): Likewise. Assert 'res' is not | |
14060 | negative. | |
14061 | (gnu_xfer_partial): Likewise. | |
14062 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory_no_bs): Likewise. | |
14063 | (ia64_hpux_xfer_memory, ia64_hpux_xfer_uregs): Likewise. | |
14064 | (ia64_hpux_xfer_solib_got): Likewise. | |
14065 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. Change | |
14066 | type of 'partial_len' to ULONGEST. | |
14067 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
14068 | * linux-nat.c (linux_xfer_siginfo ): Likewise. | |
14069 | (linux_nat_xfer_partial): Likewise. | |
14070 | (linux_proc_xfer_partial, linux_xfer_partial): Likewise. | |
14071 | (linux_proc_xfer_spu, linux_nat_xfer_osdata): Likewise. | |
14072 | * monitor.c (monitor_xfer_memory): Likewise. | |
14073 | (monitor_xfer_partial): Likewise. | |
14074 | * procfs.c (procfs_xfer_partial): Likewise. | |
14075 | * record-btrace.c (record_btrace_xfer_partial): Likewise. | |
14076 | * record-full.c (record_full_xfer_partial): Likewise. | |
14077 | (record_full_core_xfer_partial): Likewise. | |
14078 | * remote-sim.c (gdbsim_xfer_memory): Likewise. | |
14079 | (gdbsim_xfer_partial): Likewise. | |
14080 | * remote.c (remote_write_bytes_aux): Likewise. All callers | |
14081 | updated. | |
14082 | (remote_write_bytes, remote_read_bytes): Likewise. All | |
14083 | callers updated. | |
14084 | (remote_flash_erase): Likewise. All callers updated. | |
14085 | (remote_write_qxfer): Likewise. All callers updated. | |
14086 | (remote_read_qxfer): Likewise. All callers updated. | |
14087 | (remote_xfer_partial): Likewise. | |
14088 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14089 | (rs6000_xfer_shared_libraries): Likewise. | |
14090 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
14091 | (sol_thread_xfer_partial): Likewise. | |
14092 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14093 | (sparc_xfer_partial): Likewise. | |
14094 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. All callers | |
14095 | updated. | |
14096 | (spu_xfer_partial): Likewise. | |
14097 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
14098 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
14099 | * windows-nat.c (windows_xfer_memory): Likewise. | |
14100 | (windows_xfer_shared_libraries): Likewise. | |
14101 | (windows_xfer_partial): Likewise. | |
14102 | * valprint.c: Replace 'target_xfer_error' with | |
14103 | 'target_xfer_status' in comments. | |
14104 | ||
a8e63083 JB |
14105 | 2014-02-11 Simon Marchi <simon.marchi@ericsson.com> (tiny patch) |
14106 | ||
14107 | Checked in by Joel Brobecker <brobecker@adacore.com>. | |
14108 | * mi/mi-main.c (mi_cmd_data_write_memory_bytes): Fix comment. | |
14109 | ||
e86b67d3 JB |
14110 | 2014-02-11 Joel Brobecker <brobecker@adacore.com> |
14111 | ||
14112 | * symfile-debug.c (debug_qf_expand_symtabs_matching): Reformat | |
14113 | function parameters. | |
14114 | ||
4b7d1f7f WN |
14115 | 2014-02-10 Will Newton <will.newton@linaro.org> |
14116 | ||
14117 | * elfread.c (elf_rel_plt_read): Look for a .got section if | |
14118 | looking up .got.plt fails. | |
14119 | (elf_gnu_ifunc_resolve_by_got): Call gdbarch_addr_bits_remove | |
14120 | on address passed to elf_gnu_ifunc_record_cache. | |
14121 | (elf_gnu_ifunc_resolve_addr): Likewise. | |
14122 | (elf_gnu_ifunc_resolver_return_stop): Likewise. | |
14123 | ||
961842b2 JM |
14124 | 2014-02-10 Jose E. Marchesi <jose.marchesi@oracle.com> |
14125 | ||
14126 | * sparc-tdep.c (sparc_in_function_epilogue_p): New function. | |
14127 | (X_RETTURN): New macro. | |
14128 | * sparc-tdep.h: sparc_in_function_epilogue_p prototype. | |
14129 | ||
14130 | * sparc64-tdep.c (sparc64_init_abi): Hook | |
14131 | sparc_in_function_epilogue_p. | |
14132 | ||
3f03e7b1 GB |
14133 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
14134 | ||
14135 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
14136 | Rename name_matcher to symbol_matcher. | |
14137 | ||
96f861ef GB |
14138 | 2014-02-10 Gary Benson <gbenson@redhat.com> |
14139 | ||
14140 | * symfile-debug.c (debug_qf_expand_symtabs_matching): | |
14141 | Use expand_symtabs_file_matcher_ftype and | |
14142 | expand_symtabs_symbol_matcher_ftype. | |
14143 | ||
ee01b665 JB |
14144 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14145 | ||
14146 | * ada-lang.c (struct cache_entry, HASH_SIZE): Move definition up. | |
14147 | (struct ada_symbol_cache): New. | |
14148 | (ada_free_symbol_cache): Forward declare. | |
14149 | (struct ada_pspace_data): New. | |
14150 | (ada_pspace_data_handle): New static global. | |
14151 | (get_ada_pspace_data, ada_pspace_data_cleanup) | |
14152 | (ada_init_symbol_cache, ada_free_symbol_cache): New functions. | |
14153 | (cache_space, cache): Delete, now folded inside struct | |
14154 | ada_pspace_data. | |
14155 | (ada_get_symbol_cache): New function. | |
14156 | (ada_clear_symbol_cache, find_entry, cache_symbol): Adjust | |
14157 | implementation. | |
14158 | (_initialize_ada_language): Remove initialization of cache_space. | |
14159 | Move call to observer_attach_inferior_exit up, grouping it | |
14160 | with the other observer registrations inside this function. | |
14161 | Rename command to be more general. Add call to | |
14162 | register_program_space_data_with_cleanup. | |
14163 | ||
143adbbf JB |
14164 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14165 | ||
14166 | * ada-tasks.c (ada_tasks_new_objfile_observer): Renames | |
14167 | ada_new_objfile_observer. | |
14168 | (ada_tasks_normal_stop_observer): Renames ada_normal_stop_observer. | |
14169 | (_initialize_tasks): Update uses of ada_new_objfile_observer | |
14170 | and ada_tasks_normal_stop_observer. | |
14171 | ||
aa4fb036 JB |
14172 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14173 | ||
14174 | * ada-lang.c (ada_evaluate_subexp): Set the type of the value | |
14175 | returned by the 'Length attribute to integer. | |
14176 | ||
9dee8cc6 JB |
14177 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14178 | ||
14179 | * ada-lang.c (_initialize_ada_language): Initialize | |
14180 | cache_space obstack. | |
14181 | ||
3d9434b5 JB |
14182 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14183 | ||
14184 | * ada-lang.c (HASH_SIZE): New macro. | |
14185 | (struct cache_entry): New type. | |
14186 | (cache_space, cache): New static globals. | |
14187 | (ada_clear_symbol_cache, find_entry): New functions. | |
14188 | (lookup_cached_symbol, cache_symbol): Implement. | |
14189 | (ada_new_objfile_observer, ada_free_objfile_observer): New. | |
14190 | (_initialize_ada_language): Attach ada_new_objfile_observer | |
14191 | and ada_free_objfile_observer. | |
14192 | ||
f0c5f9b2 JB |
14193 | 2014-02-10 Joel Brobecker <brobecker@adacore.com> |
14194 | ||
14195 | * ada-lang.c (ada_add_block_symbols, add_defn_to_vec) | |
14196 | (lookup_cached_symbol, ada_add_local_symbols): Add "const" to | |
14197 | struct block * parameter. | |
14198 | (ada_lookup_symbol_list_worker): Constify local variable "block". | |
14199 | Remove cast which is no longer necessary. | |
14200 | ||
ed3ef339 DE |
14201 | 2014-02-10 Doug Evans <xdje42@gmail.com> |
14202 | ||
14203 | Add Guile as an extension language. | |
14204 | * NEWS: Mention Guile scripting. | |
14205 | * Makefile.in (SUBDIR_GUILE_OBS): New variable. | |
14206 | (SUBDIR_GUILE_SRCS, SUBDIR_GUILE_DEPS): New variables | |
14207 | (SUBDIR_GUILE_LDFLAGS, SUBDIR_GUILE_CFLAGS): New variables. | |
14208 | (INTERNAL_CPPFLAGS): Add GUILE_CPPFLAGS. | |
14209 | (CLIBS): Add GUILE_LIBS. | |
14210 | (install-guile): New rule. | |
14211 | (guile.o): New rule. | |
14212 | (scm-arch.o, scm-auto-load.o, scm-block.o): New rules. | |
14213 | (scm-breakpoint.o, scm-disasm.o, scm-exception.o): New rules. | |
14214 | (scm-frame.o, scm-iterator.o, scm-lazy-string.o): New rules. | |
14215 | (scm-math.o, scm-objfile.o, scm-ports.o): New rules. | |
14216 | (scm-pretty-print.o, scm-safe-call.o, scm-gsmob.o): New rules. | |
14217 | (scm-string.o, scm-symbol.o, scm-symtab.o): New rules. | |
14218 | (scm-type.o, scm-utils.o, scm-value.o): New rules. | |
14219 | * configure.ac: New option --with-guile. | |
14220 | * configure: Regenerate. | |
14221 | * config.in: Regenerate. | |
14222 | * auto-load.c: Remove #include "python/python.h". Add #include | |
14223 | "gdb/section-scripts.h". | |
14224 | (source_section_scripts): Handle Guile scripts. | |
14225 | (_initialize_auto_load): Add name of Guile objfile script to | |
14226 | scripts-directory help text. | |
14227 | * breakpoint.c (condition_command): Tweak comment to include Scheme. | |
14228 | * breakpoint.h (gdbscm_breakpoint_object): Add forward decl. | |
14229 | (struct breakpoint): New member scm_bp_object. | |
14230 | * defs.h (enum command_control_type): New value guile_control. | |
14231 | * cli/cli-cmds.c: Remove #include "python/python.h". Add #include | |
14232 | "extension.h". | |
14233 | (show_user): Update comment. | |
14234 | (_initialize_cli_cmds): Update help text for "show user". Update help | |
14235 | text for max-user-call-depth. | |
14236 | * cli/cli-script.c: Remove #include "python/python.h". Add #include | |
14237 | "extension.h". | |
14238 | (multi_line_command_p): Add guile_control. | |
14239 | (print_command_lines): Handle guile_control. | |
14240 | (execute_control_command, recurse_read_control_structure): Ditto. | |
14241 | (process_next_line): Recognize "guile" commands. | |
14242 | * disasm.c (gdb_disassemble_info): Make non-static. | |
14243 | * disasm.h: #include "dis-asm.h". | |
14244 | (struct gdbarch): Add forward decl. | |
14245 | (gdb_disassemble_info): Declare. | |
14246 | * extension.c: #include "guile/guile.h". | |
14247 | (extension_languages): Add guile. | |
14248 | (get_ext_lang_defn): Handle EXT_LANG_GDB. | |
14249 | * extension.h (enum extension_language): New value EXT_LANG_GUILE. | |
14250 | * gdbtypes.c (get_unsigned_type_max): New function. | |
14251 | (get_signed_type_minmax): New function. | |
14252 | * gdbtypes.h (get_unsigned_type_max): Declare. | |
14253 | (get_signed_type_minmax): Declare. | |
14254 | * guile/README: New file. | |
14255 | * guile/guile-internal.h: New file. | |
14256 | * guile/guile.c: New file. | |
14257 | * guile/guile.h: New file. | |
14258 | * guile/scm-arch.c: New file. | |
14259 | * guile/scm-auto-load.c: New file. | |
14260 | * guile/scm-block.c: New file. | |
14261 | * guile/scm-breakpoint.c: New file. | |
14262 | * guile/scm-disasm.c: New file. | |
14263 | * guile/scm-exception.c: New file. | |
14264 | * guile/scm-frame.c: New file. | |
14265 | * guile/scm-gsmob.c: New file. | |
14266 | * guile/scm-iterator.c: New file. | |
14267 | * guile/scm-lazy-string.c: New file. | |
14268 | * guile/scm-math.c: New file. | |
14269 | * guile/scm-objfile.c: New file. | |
14270 | * guile/scm-ports.c: New file. | |
14271 | * guile/scm-pretty-print.c: New file. | |
14272 | * guile/scm-safe-call.c: New file. | |
14273 | * guile/scm-string.c: New file. | |
14274 | * guile/scm-symbol.c: New file. | |
14275 | * guile/scm-symtab.c: New file. | |
14276 | * guile/scm-type.c: New file. | |
14277 | * guile/scm-utils.c: New file. | |
14278 | * guile/scm-value.c: New file. | |
14279 | * guile/lib/gdb.scm: New file. | |
14280 | * guile/lib/gdb/boot.scm: New file. | |
14281 | * guile/lib/gdb/experimental.scm: New file. | |
14282 | * guile/lib/gdb/init.scm: New file. | |
14283 | * guile/lib/gdb/iterator.scm: New file. | |
14284 | * guile/lib/gdb/printing.scm: New file. | |
14285 | * guile/lib/gdb/types.scm: New file. | |
14286 | * data-directory/Makefile.in (GUILE_SRCDIR): New variable. | |
14287 | (VPATH): Add $(GUILE_SRCDIR). | |
14288 | (GUILE_DIR): New variable. | |
14289 | (GUILE_INSTALL_DIR, GUILE_FILES): New variables. | |
14290 | (all): Add stamp-guile dependency. | |
14291 | (stamp-guile): New rule. | |
14292 | (clean-guile, install-guile, uninstall-guile): New rules. | |
14293 | (install-only): Add install-guile dependency. | |
14294 | (uninstall): Add uninstall-guile dependency. | |
14295 | (clean): Add clean-guile dependency. | |
14296 | ||
ac020ec5 DE |
14297 | 2014-02-09 Doug Evans <xdje42@gmail.com> |
14298 | ||
14299 | Revert this patch (which I approved, mea culpa). | |
14300 | ||
14301 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> | |
14302 | ||
14303 | * Makefile.in (all-lib): Remove. | |
14304 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
14305 | ||
2a081c59 JK |
14306 | 2014-02-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
14307 | ||
14308 | Fix Python stack corruption. | |
14309 | * python/py-linetable.c (ltpy_get_pcs_for_line, ltpy_has_line): Use | |
14310 | gdb_py_longest. | |
14311 | ||
0a6bd22d MK |
14312 | 2014-02-08 Mark Kettenis <kettenis@gnu.org> |
14313 | ||
14314 | * Makefile.in (all-lib): Remove. | |
14315 | ($(LIBGNU) $(GNULIB_H)): Replace with gits of remove all-lib target. | |
14316 | ||
1a860409 DE |
14317 | 2014-02-07 Doug Evans <dje@google.com> |
14318 | ||
14319 | * extension-priv.h (extension_language_script_ops): Add comment. | |
14320 | (extension_language_ops): Add comment. | |
caf5a491 | 14321 | (active_ext_lang_state): Fix typo in comment. |
1a860409 | 14322 | |
d137e6dc PA |
14323 | 2014-02-07 Pedro Alves <palves@redhat.com> |
14324 | ||
0dcb32c3 | 14325 | PR breakpoints/16292 |
d137e6dc PA |
14326 | * infrun.c (handle_signal_stop) <signal arrives while stepping |
14327 | over a breakpoint>: Switch back to the stepping thread. | |
14328 | ||
ce6d0892 YQ |
14329 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14330 | ||
14331 | * target.c (target_xfer_partial): Return zero if LEN is zero. | |
14332 | ||
2ed4b548 YQ |
14333 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14334 | ||
14335 | * auxv.c (procfs_xfer_auxv): Replace -1 with TARGET_XFER_E_IO. | |
14336 | (ld_so_xfer_auxv): Likewise. | |
14337 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
14338 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
14339 | * corelow.c (core_xfer_partial): Likewise. | |
14340 | * ctf.c (ctf_xfer_partial): Likewise. | |
14341 | * darwin-nat.c (darwin_read_dyld_info): Likewise. | |
14342 | (darwin_xfer_partial): Likewise. | |
14343 | * exec.c (exec_xfer_partial): Likewise. | |
14344 | * gnu-nat.c (gnu_xfer_partial): Likewise. | |
14345 | * ia64-hpux-nat.c (ia64_hpux_xfer_uregs): Likewise. | |
14346 | * inf-ptrace.c (inf_ptrace_xfer_partial): Likewise. | |
14347 | * inf-ttrace.c (inf_ttrace_xfer_partial): Likewise. | |
14348 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
14349 | (linux_proc_xfer_spu): Likewise. | |
14350 | * procfs.c (procfs_xfer_partial): Likewise. | |
14351 | * record-full.c (record_full_xfer_partial): Likewise. | |
14352 | (record_full_core_xfer_partial): Likewise. | |
14353 | * remote-sim.c (gdbsim_xfer_partial): Likewise. | |
14354 | * remote.c (remote_write_qxfer): Likewise. | |
14355 | (remote_write_qxfer, remote_read_qxfer): Likewise. | |
14356 | (remote_xfer_partial): Likewise. | |
14357 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
14358 | (rs6000_xfer_shared_libraries): Likewise. | |
14359 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
14360 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
14361 | (spu_xfer_partial): Likewise. | |
14362 | * target.c (memory_xfer_partial_1): Likewise. | |
14363 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
14364 | * windows-nat.c (windows_xfer_shared_libraries): Likewise. | |
14365 | (windows_xfer_partial): Likewise. | |
14366 | ||
c09f20e4 YQ |
14367 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14368 | ||
14369 | * gdbarch.sh (core_xfer_shared_libraries): Returns ULONGEST. Add | |
14370 | comments. | |
14371 | (core_xfer_shared_libraries_aix): Likewise. | |
14372 | * gdbarch.c, gdbarch.h: Regenerated. | |
14373 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): Return | |
14374 | ULONGEST. Change 'len_avail' type to ULONGEST. | |
14375 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
14376 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
14377 | declaration. | |
14378 | (rs6000_aix_core_xfer_shared_libraries_aix): Return ULONGEST. | |
14379 | ||
8635b3bf YQ |
14380 | 2014-02-07 Yao Qi <yao@codesourcery.com> |
14381 | ||
14382 | * corefile.c (memory_error): Get 'exception' from ERR and pass | |
14383 | 'exception' to throw_error. | |
14384 | ||
6dddc817 DE |
14385 | 2014-02-06 Doug Evans <xdje42@gmail.com> |
14386 | ||
14387 | * configure.ac (libpython checking): Remove all but python.o from | |
14388 | CONFIG_OBS. Remove all but python.c from CONFIG_SRCS. | |
14389 | * configure: Regenerate. | |
14390 | ||
14391 | * Makefile.in (SFILES): Add extension.c. | |
14392 | (HFILES_NO_SRCDIR): Add extension.h, extension-priv.h | |
14393 | (COMMON_OBS): Add extension.o. | |
14394 | * extension.h: New file. | |
14395 | * extension-priv.h: New file. | |
14396 | * extension.c: New file. | |
14397 | ||
14398 | * python/python-internal.h: #include "extension.h". | |
14399 | (gdbpy_auto_load_enabled): Declare. | |
14400 | (gdbpy_apply_val_pretty_printer): Declare. | |
14401 | (gdbpy_apply_frame_filter): Declare. | |
14402 | (gdbpy_preserve_values): Declare. | |
14403 | (gdbpy_breakpoint_cond_says_stop): Declare. | |
14404 | (gdbpy_breakpoint_has_cond): Declare. | |
14405 | (void source_python_script_for_objfile): Delete. | |
14406 | * python/python.c: #include "extension-priv.h". | |
14407 | Delete inclusion of "observer.h". | |
14408 | (extension_language_python): Moved here and renamed from | |
14409 | script_language_python in py-auto-load.c. | |
14410 | Redefined to be of type extension_language_defn. | |
14411 | (python_extension_script_ops): New global. | |
14412 | (python_extension_ops): New global. | |
14413 | (struct python_env): New member previous_active. | |
14414 | (restore_python_env): Call restore_active_ext_lang. | |
14415 | (ensure_python_env): Call set_active_ext_lang. | |
14416 | (gdbpy_clear_quit_flag): Renamed from clear_quit_flag, made static. | |
14417 | New arg extlang. | |
14418 | (gdbpy_set_quit_flag): Renamed from set_quit_flag, made static. | |
14419 | New arg extlang. | |
14420 | (gdbpy_check_quit_flag): Renamed from check_quit_flag, made static. | |
14421 | New arg extlang. | |
14422 | (gdbpy_eval_from_control_command): Renamed from | |
14423 | eval_python_from_control_command, made static. New arg extlang. | |
14424 | (gdbpy_source_script) Renamed from source_python_script, made static. | |
14425 | New arg extlang. | |
14426 | (gdbpy_before_prompt_hook): Renamed from before_prompt_hook. Change | |
14427 | result to int. New arg extlang. | |
14428 | (gdbpy_source_objfile_script): Renamed from | |
14429 | source_python_script_for_objfile, made static. New arg extlang. | |
14430 | (gdbpy_start_type_printers): Renamed from start_type_printers, made | |
14431 | static. New args extlang, extlang_printers. Change result type to | |
14432 | "void". | |
14433 | (gdbpy_apply_type_printers): Renamed from apply_type_printers, made | |
14434 | static. New arg extlang. Rename arg printers to extlang_printers | |
14435 | and change type to ext_lang_type_printers *. | |
14436 | (gdbpy_free_type_printers): Renamed from free_type_printers, made | |
14437 | static. Replace argument arg with extlang, extlang_printers. | |
14438 | (!HAVE_PYTHON, eval_python_from_control_command): Delete. | |
14439 | (!HAVE_PYTHON, source_python_script): Delete. | |
14440 | (!HAVE_PYTHON, gdbpy_should_stop): Delete. | |
14441 | (!HAVE_PYTHON, gdbpy_breakpoint_has_py_cond): Delete. | |
14442 | (!HAVE_PYTHON, start_type_printers): Delete. | |
14443 | (!HAVE_PYTHON, apply_type_printers): Delete. | |
14444 | (!HAVE_PYTHON, free_type_printers): Delete. | |
14445 | (_initialize_python): Delete call to observer_attach_before_prompt. | |
14446 | (finalize_python): Set/restore active extension language. | |
14447 | (gdbpy_finish_initialization) Renamed from | |
14448 | finish_python_initialization, made static. New arg extlang. | |
14449 | (gdbpy_initialized): New function. | |
14450 | * python/python.h: #include "extension.h". Delete #include | |
14451 | "value.h", "mi/mi-cmds.h". | |
14452 | (extension_language_python): Declare. | |
14453 | (GDBPY_AUTO_FILE_NAME): Delete. | |
14454 | (enum py_bt_status): Moved to extension.h and renamed to | |
14455 | ext_lang_bt_status. | |
14456 | (enum frame_filter_flags): Moved to extension.h. | |
14457 | (enum py_frame_args): Moved to extension.h and renamed to | |
14458 | ext_lang_frame_args. | |
14459 | (finish_python_initialization): Delete. | |
14460 | (eval_python_from_control_command): Delete. | |
14461 | (source_python_script): Delete. | |
14462 | (apply_val_pretty_printer): Delete. | |
14463 | (apply_frame_filter): Delete. | |
14464 | (preserve_python_values): Delete. | |
14465 | (gdbpy_script_language_defn): Delete. | |
14466 | (gdbpy_should_stop, gdbpy_breakpoint_has_py_cond): Delete. | |
14467 | (start_type_printers, apply_type_printers, free_type_printers): Delete. | |
14468 | ||
14469 | * auto-load.c: #include "extension.h". | |
14470 | (GDB_AUTO_FILE_NAME): Delete. | |
14471 | (auto_load_gdb_scripts_enabled): Make public. New arg extlang. | |
14472 | (script_language_gdb): Delete, moved to extension.c and renamed to | |
14473 | extension_language_gdb. | |
14474 | (source_gdb_script_for_objfile): Delete. | |
14475 | (auto_load_pspace_info): New member unsupported_script_warning_printed. | |
14476 | (loaded_script): Change type of language member to | |
14477 | struct extension_language_defn *. | |
14478 | (init_loaded_scripts_info): Initialize | |
14479 | unsupported_script_warning_printed. | |
14480 | (maybe_add_script): Make static. Change type of language arg to | |
14481 | struct extension_language_defn *. | |
14482 | (clear_section_scripts): Reset unsupported_script_warning_printed. | |
14483 | (auto_load_objfile_script_1): Rewrite to use extension language API. | |
14484 | (auto_load_objfile_script): Make public. Remove support-compiled-in | |
14485 | and auto-load-enabled checks, moved to auto_load_scripts_for_objfile. | |
14486 | (source_section_scripts): Rewrite to use extension language API. | |
14487 | (load_auto_scripts_for_objfile): Rewrite to use | |
14488 | auto_load_scripts_for_objfile. | |
14489 | (collect_matching_scripts_data): Change type of language member to | |
14490 | struct extension_language_defn *. | |
14491 | (auto_load_info_scripts): Change type of language arg to | |
14492 | struct extension_language_defn *. | |
14493 | (unsupported_script_warning_print): New function. | |
14494 | (script_not_found_warning_print): Make static. | |
14495 | (_initialize_auto_load): Rewrite construction of scripts-directory | |
14496 | help. | |
14497 | * auto-load.h (struct objfile): Add forward decl. | |
14498 | (struct script_language): Delete. | |
14499 | (struct auto_load_pspace_info): Add forward decl. | |
14500 | (struct extension_language_defn): Add forward decl. | |
14501 | (maybe_add_script): Delete. | |
14502 | (auto_load_objfile_script): Declare. | |
14503 | (script_not_found_warning_print): Delete. | |
14504 | (auto_load_info_scripts): Update prototype. | |
14505 | (auto_load_gdb_scripts_enabled): Declare. | |
14506 | * python/py-auto-load.c (gdbpy_auto_load_enabled): Renamed from | |
14507 | auto_load_python_scripts_enabled and made public. | |
14508 | (script_language_python): Delete, moved to python.c. | |
14509 | (gdbpy_script_language_defn): Delete. | |
14510 | (info_auto_load_python_scripts): Update to use | |
14511 | extension_language_python. | |
14512 | ||
14513 | * breakpoint.c (condition_command): Replace call to | |
14514 | gdbpy_breakpoint_has_py_cond with call to get_breakpoint_cond_ext_lang. | |
14515 | (bpstat_check_breakpoint_conditions): Replace call to gdbpy_should_stop | |
14516 | with call to breakpoint_ext_lang_cond_says_stop. | |
14517 | * python/py-breakpoint.c (gdbpy_breakpoint_cond_says_stop): Renamed | |
14518 | from gdbpy_should_stop. Change result type to enum scr_bp_stop. | |
14519 | New arg slang. Return SCR_BP_STOP_UNSET if py_bp_object is NULL. | |
14520 | (gdbpy_breakpoint_has_cond): Renamed from gdbpy_breakpoint_has_py_cond. | |
14521 | New arg slang. | |
14522 | (local_setattro): Print name of extension language with existing | |
14523 | stop condition. | |
14524 | ||
14525 | * valprint.c (val_print, value_print): Update to call | |
14526 | apply_ext_lang_val_pretty_printer. | |
14527 | * cp-valprint.c (cp_print_value): Update call to | |
14528 | apply_ext_lang_val_pretty_printer. | |
14529 | * python/py-prettyprint.c: Remove #ifdef HAVE_PYTHON. | |
14530 | (gdbpy_apply_val_pretty_printer): Renamed from | |
14531 | apply_val_pretty_printer. New arg extlang. | |
14532 | (!HAVE_PYTHON, apply_val_pretty_printer): Delete. | |
14533 | ||
14534 | * cli/cli-cmds.c (source_script_from_stream): Rewrite to use | |
14535 | extension language API. | |
14536 | * cli/cli-script.c (execute_control_command): Update to call | |
14537 | eval_ext_lang_from_control_command. | |
14538 | ||
14539 | * mi/mi-cmd-stack.c (mi_cmd_stack_list_frames): Update to use | |
14540 | enum ext_lang_bt_status values. Update call to | |
14541 | apply_ext_lang_frame_filter. | |
14542 | (mi_cmd_stack_list_locals): Ditto. | |
14543 | (mi_cmd_stack_list_args): Ditto. | |
14544 | (mi_cmd_stack_list_variables): Ditto. | |
14545 | * mi/mi-main.c: Delete #include "python/python-internal.h". | |
14546 | Add #include "extension.h". | |
14547 | (mi_cmd_list_features): Replace reference to python internal variable | |
14548 | gdb_python_initialized with call to ext_lang_initialized_p. | |
14549 | ||
14550 | * stack.c (backtrace_command_1): Update to use enum ext_lang_bt_status. | |
14551 | Update to use enum ext_lang_frame_args. Update to call | |
14552 | apply_ext_lang_frame_filter. | |
14553 | * python/py-framefilter.c (extract_sym): Update to use enum | |
14554 | ext_lang_bt_status. | |
14555 | (extract_value, py_print_type, py_print_value): Ditto. | |
14556 | (py_print_single_arg, enumerate_args, enumerate_locals): Ditto. | |
14557 | (py_mi_print_variables, py_print_locals, py_print_args): Ditto. | |
14558 | (py_print_frame): Ditto. | |
14559 | (gdbpy_apply_frame_filter): Renamed from apply_frame_filter. | |
14560 | New arg extlang. Update to use enum ext_lang_bt_status. | |
14561 | ||
14562 | * top.c (gdb_init): Delete #ifdef HAVE_PYTHON call to | |
14563 | finish_python_initialization. Replace with call to | |
14564 | finish_ext_lang_initialization. | |
14565 | ||
14566 | * typeprint.c (do_free_global_table): Update to call | |
14567 | free_ext_lang_type_printers. | |
14568 | (create_global_typedef_table): Update to call | |
14569 | start_ext_lang_type_printers. | |
14570 | (find_global_typedef): Update to call apply_ext_lang_type_printers. | |
14571 | * typeprint.h (struct ext_lang_type_printers): Add forward decl. | |
14572 | (type_print_options): Change type of global_printers from "void *" | |
14573 | to "struct ext_lang_type_printers *". | |
14574 | ||
14575 | * value.c (preserve_values): Update to call preserve_ext_lang_values. | |
14576 | * python/py-value.c: Remove #ifdef HAVE_PYTHON. | |
14577 | (gdbpy_preserve_values): Renamed from preserve_python_values. | |
14578 | New arg extlang. | |
14579 | (!HAVE_PYTHON, preserve_python_values): Delete. | |
14580 | ||
14581 | * utils.c (quit_flag): Delete, moved to extension.c. | |
14582 | (clear_quit_flag, set_quit_flag, check_quit_flag): Delete, moved to | |
14583 | extension.c. | |
14584 | ||
14585 | * eval.c: Delete #include "python/python.h". | |
14586 | * main.c: Delete #include "python/python.h". | |
14587 | ||
14588 | * defs.h: Update comment. | |
14589 | ||
6af79985 JB |
14590 | 2014-02-06 Joel Brobecker <brobecker@adacore.com> |
14591 | ||
14592 | GDB 7.7 released. | |
14593 | ||
12c5175d MK |
14594 | 2014-02-05 Mark Kettenis <kettenis@gnu.org> |
14595 | ||
14596 | * c-exp.y (YYPRINT, c_print_token): Only define if YYBISON is | |
14597 | defined. | |
14598 | ||
8dc5b319 YQ |
14599 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14600 | ||
14601 | * remote.c (remote_pass_signals): Remove local 'buf' and use | |
14602 | rs->buf. | |
14603 | (remote_program_signals): Likewise. | |
14604 | ||
de7b2893 YQ |
14605 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14606 | ||
14607 | * ctf.c: Include "inferior.h" and "gdbthread.h". | |
14608 | (CTF_PID): A new macro. | |
14609 | (ctf_open): Call inferior_appeared and add_thread_silent. | |
14610 | (ctf_close): Call exit_inferior_silent and set inferior_ptid. | |
14611 | (ctf_thread_alive): New function. | |
14612 | (init_ctf_ops): Install ctf_thread_alive to to_thread_alive. | |
14613 | ||
66d032ac YQ |
14614 | 2014-02-05 Yao Qi <yao@codesourcery.com> |
14615 | ||
14616 | Revert this patch: | |
14617 | ||
14618 | 2013-05-24 Yao Qi <yao@codesourcery.com> | |
14619 | ||
14620 | * tracepoint.c (TFILE_PID): Remove. | |
14621 | (tfile_open): Don't add thread and inferior. | |
14622 | (tfile_close): Don't set 'inferior_ptid'. Don't call | |
14623 | exit_inferior_silent. | |
14624 | (tfile_thread_alive): Remove. | |
14625 | (init_tfile_ops): Don't set field 'to_thread_alive' of | |
14626 | tfile_ops. | |
14627 | ||
f4ccffad CE |
14628 | 2014-02-04 Christian Eggers <ceggers@gmx.de> (tiny change) |
14629 | ||
14630 | * remote.c (remote_start_remote): Call remote_check_symbols even | |
14631 | if only symbol-file (not file) has been given. | |
14632 | ||
591a12a1 UW |
14633 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14634 | ||
14635 | * gdbarch.sh (skip_entrypoint): New callback. | |
14636 | * gdbarch.c, gdbarch.h: Regenerate. | |
14637 | * symtab.c (skip_prologue_sal): Call gdbarch_skip_entrypoint. | |
14638 | * infrun.c (fill_in_stop_func): Likewise. | |
14639 | * ppc-linux-tdep.c: Include "elf/ppc64.h". | |
14640 | (ppc_elfv2_elf_make_msymbol_special): New function. | |
14641 | (ppc_elfv2_skip_entrypoint): Likewise. | |
14642 | (ppc_linux_init_abi): Install them for ELFv2. | |
14643 | ||
cc0e89c5 UW |
14644 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14645 | ||
14646 | * ppc-sysv-tdep.c (ppc64_aggregate_candidate): New routine. | |
14647 | (ppc64_elfv2_abi_homogeneous_aggregate): Likewise. | |
14648 | (ppc64_sysv_abi_push_param): Handle ELFv2 homogeneous structs. | |
14649 | (ppc64_sysv_abi_return_value): Likewise. Also, handle small | |
14650 | structures returned in GPRs. | |
14651 | ||
52f548e4 UW |
14652 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14653 | ||
14654 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Use correct | |
14655 | offset to the stack parameter list for the ELFv2 ABI. | |
14656 | ||
d4094b6a UW |
14657 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14658 | ||
14659 | * ppc-linux-tdep.c (ppc_linux_init_abi): Only call | |
14660 | set_gdbarch_convert_from_func_ptr_addr and | |
14661 | set_gdbarch_elf_make_msymbol_special for ELFv1. | |
14662 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_param): Only handle | |
14663 | function descriptors on ELFv1. | |
14664 | (ppc64_sysv_abi_push_dummy_call): Likewise. On ELFv2, | |
14665 | set up r12 at function entry. | |
14666 | ||
cd453cd0 UW |
14667 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14668 | ||
14669 | * ppc-tdep.h (enum powerpc_elf_abi): New data type. | |
14670 | (struct gdbarch_tdep): New member elf_abi. | |
14671 | ||
14672 | * rs6000-tdep.c: Include "elf/ppc64.h". | |
14673 | (rs6000_gdbarch_init): Detect ELF ABI version. | |
14674 | ||
0ff3e01f UW |
14675 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14676 | ||
14677 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct order | |
14678 | within a register pair holding a DFP 128-bit value on little-endian. | |
14679 | (ppc64_sysv_abi_return_value_base): Likewise. | |
14680 | * rs6000-tdep.c (dfp_pseudo_register_read): Likewise. | |
14681 | (dfp_pseudo_register_write): Likewise. | |
14682 | ||
5b757e5d UW |
14683 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14684 | ||
14685 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_freg): Use correct | |
14686 | offset on little-endian when passing _Decimal32. | |
14687 | (ppc64_sysv_abi_return_value_base): Likewise for return values. | |
14688 | ||
084ee545 UW |
14689 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14690 | ||
14691 | * rs6000-tdep.c (efpr_pseudo_register_read): Use correct offset | |
14692 | of the overlapped FP register within the VSX register on little- | |
14693 | endian platforms. | |
14694 | (efpr_pseudo_register_write): Likewise. | |
14695 | ||
d63167af UW |
14696 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14697 | ||
14698 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_val): Use correct | |
14699 | offset on little-endian when passing small structures. | |
14700 | ||
e765b44c UW |
14701 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14702 | ||
14703 | * ppc-sysv-tdep.c (get_decimal_float_return_value): Update comment. | |
14704 | (struct ppc64_sysv_argpos): New data structure. | |
14705 | (ppc64_sysv_abi_push_float): Remove. | |
14706 | (ppc64_sysv_abi_push_val): New function. | |
14707 | (ppc64_sysv_abi_push_integer): Likewise. | |
14708 | (ppc64_sysv_abi_push_freg): Likewise. | |
14709 | (ppc64_sysv_abi_push_vreg): Likewise. | |
14710 | (ppc64_sysv_abi_push_param): Likewise. | |
14711 | (ppc64_sysv_abi_push_dummy_call): Refactor to use those new routines. | |
14712 | (ppc64_sysv_abi_return_value_base): New function. | |
14713 | (ppc64_sysv_abi_return_value): Refactor to use it. | |
14714 | ||
36c24d95 UW |
14715 | 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com> |
14716 | ||
14717 | * NEWS: Document new target powerpc64le-*-linux*. | |
14718 | ||
26fd9228 MK |
14719 | 2014-02-04 Mark Kettenis <kettenis@gnu.org> |
14720 | ||
14721 | * sparc64obsd-tdep.c (sparc64obsd_gregset): New variable. | |
14722 | (sparc64obsd_supply_gregset): Handle registers sets used in ELF | |
14723 | core dumps. | |
14724 | (sparc64obsd_init_abi): Adjust minimum size of the general purpose | |
14725 | register set used in ELF core dumps. Add floating-point register set. | |
14726 | ||
c5bb7362 KB |
14727 | 2014-02-03 Kevin Buettner <kevinb@redhat.com> |
14728 | ||
74228e77 | 14729 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Rewrite |
c5bb7362 KB |
14730 | dwarf2_to_gdb[] table using symbolic constants. Adjust |
14731 | penultimate entry from number representing the PC register | |
14732 | to symbolic constant representing the MDR register. Add | |
14733 | constant for the PC register to the end of the table. | |
14734 | ||
af09351e MK |
14735 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14736 | ||
14737 | * bsd-kvm.c: Include <sys/param.h> | |
14738 | ||
8507e05d MK |
14739 | 2014-02-03 Mark Kettenis <kettenis@gnu.org> |
14740 | ||
14741 | * sparc64nbsd-nat.c (sparc64nbsd_supply_fpregset): Fix prototype. | |
14742 | ||
ae56bfb8 JB |
14743 | 2014-01-31 Joel Brobecker <brobecker@adacore.com> |
14744 | ||
14745 | * ada-lang.h (clear_ada_sym_cache): Delete. | |
14746 | ||
718ee4dc UW |
14747 | 2014-01-30 Ulrich Weigand <uweigand@de.ibm.com> |
14748 | ||
14749 | * auxv.c (fprint_target_auxv): Handle AT_HWCAP2. | |
14750 | ||
401e27fd JM |
14751 | 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com> |
14752 | ||
14753 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Get PC from | |
14754 | the sigreturn register save area only if the syscall is | |
14755 | sigreturn. | |
14756 | ||
a7c88acd JB |
14757 | 2014-01-29 Joel Brobecker <brobecker@adacore.com> |
14758 | ||
14759 | * valops.c (value_slice): Minor reformatting. | |
14760 | ||
fa0079ea UW |
14761 | 2014-01-28 Ulrich Weigand <uweigand@de.ibm.com> |
14762 | ||
14763 | * ppc64-tdep.c (ppc64_standard_linkage7): Fix typo. | |
14764 | ||
c6044dd1 JB |
14765 | 2014-01-28 Joel Brobecker <brobecker@adacore.com> |
14766 | ||
14767 | * ada-lang.c (maint_set_ada_cmdlist, maint_show_ada_cmdlist): | |
14768 | New static globals. | |
14769 | (maint_set_ada_cmd, maint_show_ada_cmd): New functions. | |
14770 | (ada_ignore_descriptive_types_p): New static global. | |
14771 | (find_parallel_type_by_descriptive_type): Return immediately | |
14772 | if ada_ignore_descriptive_types_p is set. | |
14773 | (_initialize_ada_language): Register new commands "maintenance | |
14774 | set ada", "maintenance show ada", "maintenance set ada | |
14775 | ignore-descriptive-types" and "maintenance show ada | |
14776 | ignore-descriptive-types". | |
14777 | * NEWS: Add entry for new "maint ada set/show | |
14778 | ignore-descriptive-types" commands. | |
14779 | ||
568e808b MM |
14780 | 2014-01-27 Markus Metzger <markus.t.metzger@intel.com> |
14781 | ||
14782 | * record-btrace.c (record_btrace_close): Call btrace_teardown | |
14783 | for all threads. | |
14784 | ||
467d141b JB |
14785 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14786 | ||
14787 | * ada-lang.c: Remove "#ifdef UI_OUT" condition for including | |
14788 | "ui-out.h". | |
14789 | ||
fb151210 JB |
14790 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14791 | ||
14792 | * ada-typeprint (type_is_full_subrange_of_target_type): | |
14793 | New function. | |
14794 | (print_range): Add parameter bounds_prefered_p. If not set, | |
14795 | try printing range types using the name of their base type. | |
14796 | (print_range_type): Add parameter bounds_prefered_p. | |
14797 | Use it in call to print_range. | |
14798 | (print_array_type, ada_print_type): Update calls to print_range | |
14799 | and print_range_type. | |
14800 | ||
aba02109 JB |
14801 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14802 | ||
14803 | * ada-typeprint.c (print_array_type, print_choices, print_range) | |
14804 | (print_range_bound, print_dynamic_range_bound, print_range_type): | |
14805 | Remove declaration. | |
14806 | ||
e62e21fd JB |
14807 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14808 | ||
14809 | * ada-typeprint.c (print_range): Add missing empty line | |
14810 | after local declaration. | |
14811 | ||
859cf5d1 JB |
14812 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14813 | ||
14814 | * ada-valprint.c (print_optional_low_bound): Get index_type's | |
14815 | target type for as long as it is a TYPE_CODE_RANGE. | |
14816 | ||
25790f6f JB |
14817 | 2014-01-27 Joel Brobecker <brobecker@adacore.com> |
14818 | ||
14819 | * procfs.c (procfs_make_note_section): Remove assertion and | |
14820 | associated comment. | |
14821 | ||
6b6aa828 YQ |
14822 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14823 | ||
14824 | * remote.c (remote_read_bytes): Change type of len to ULONGEST. | |
14825 | * corelow.c (get_core_siginfo): Likewise. | |
14826 | ||
5d6df423 YQ |
14827 | 2014-01-24 Yao Qi <yao@codesourcery.com> |
14828 | ||
14829 | * remote.c (remote_write_bytes_aux): Change type of 'len' to | |
14830 | ULONGEST. Don't check 'len' is negative. | |
14831 | (remote_write_bytes): Change type of 'len' to ULONGEST. | |
14832 | ||
83b645b8 TT |
14833 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14834 | ||
14835 | PR python/16485: | |
14836 | * python/lib/gdb/FrameDecorator.py: (FrameVars.fetch_frame_args): | |
14837 | Handle exception from frame.block. | |
14838 | (FrameVars.fetch_frame_locals): Likewise. | |
14839 | ||
0740f8d8 TT |
14840 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14841 | ||
14842 | PR python/16487: | |
14843 | * python/py-framefilter.c (py_print_frame): Don't call Py_DECREF | |
14844 | on a NULL pointer. Move "goto error" to correct place. | |
14845 | ||
21909fa1 TT |
14846 | 2014-01-23 Tom Tromey <tromey@redhat.com> |
14847 | ||
14848 | PR python/16491: | |
14849 | * python/py-framefilter.c (apply_frame_filter): Call | |
14850 | ensure_python_env after computing gdbarch. | |
14851 | ||
17fde6d0 YQ |
14852 | 2014-01-23 Yao Qi <yao@codesourcery.com> |
14853 | ||
14854 | * target.c (raw_memory_xfer_partial): Change argument type | |
14855 | from void * to gdb_byte *. | |
14856 | (memory_xfer_partial_1, memory_xfer_partial): Likewise. | |
14857 | ||
87ce2a04 DE |
14858 | 2014-01-22 Doug Evans <dje@google.com> |
14859 | ||
14860 | New gdbserver option --debug-format=timestamp. | |
14861 | * NEWS: Mention it. | |
14862 | ||
237b092b AA |
14863 | 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com> |
14864 | ||
14865 | * syscalls/s390x-linux.xml: New file. | |
14866 | * syscalls/s390-linux.xml: New file. | |
14867 | * s390-linux-tdep.c (XML_SYSCALL_FILENAME_S390): New macro. | |
14868 | (XML_SYSCALL_FILENAME_S390X): Likewise. | |
14869 | (op_svc): New enum value for SVC opcode. | |
14870 | (s390_sigtramp_frame_sniffer): Replace literal by 'op_svc'. | |
14871 | (s390_linux_get_syscall_number): New function. | |
14872 | (s390_gdbarch_init): Register '*get_syscall_number' and the | |
14873 | syscall xml file name. | |
14874 | * data-directory/Makefile.in (SYSCALLS_FILES): Add | |
14875 | "s390-linux.xml" and "s390x-linux.xml". | |
14876 | * NEWS: Announce new feature. | |
14877 | ||
54bff650 BS |
14878 | 2014-01-22 Baruch Siach <baruch@tkos.co.il> |
14879 | ||
14880 | * xtensa-tdep.h (xtensa_elf_greg_t): Change type to uint32_t. | |
14881 | ||
14e361d7 PA |
14882 | 2014-01-22 Pedro Alves <palves@redhat.com> |
14883 | ||
14884 | * xtensa-config.c: Include defs.h. | |
14885 | ||
46bbb3ed JB |
14886 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14887 | ||
14888 | * common/common-utils.h: Add "ARI:" comment beside __func__ | |
14889 | reference. | |
14890 | ||
3a80edfc JB |
14891 | 2014-01-22 Joel Brobecker <brobecker@adacore.com> |
14892 | ||
14893 | * common/common-utils.h (FUNCTION_NAME): Expand the macro's | |
14894 | documentation a bit. | |
14895 | ||
4869db5e RM |
14896 | 2014-01-21 Roland McGrath <mcgrathr@google.com> |
14897 | ||
14898 | * configure.ac: Call AM_PROG_INSTALL_STRIP. | |
14899 | * configure: Regenerate. | |
14900 | * aclocal.m4: Regenerate. | |
14901 | * Makefile.in (install_sh, INSTALL_STRIP_PROGRAM, STRIP): | |
14902 | New substituted variables. | |
14903 | (install-strip): New target. | |
14904 | (INSTALL_SCRIPT): New substituted variable. | |
14905 | (FLAGS_TO_PASS): Add it. | |
14906 | (install-only): Use $(INSTALL_SCRIPT) rather than | |
14907 | $(INSTALL_PROGRAM) for gcore. | |
14908 | ||
9ea4267d TT |
14909 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14910 | ||
14911 | * cli/cli-decode.h (struct cmd_list_element): Move all bitfields | |
14912 | together. | |
14913 | ||
1f2bdf09 TT |
14914 | 2014-01-20 Tom Tromey <tromey@redhat.com> |
14915 | ||
14916 | * cli/cli-decode.c (add_cmd, deprecate_cmd, add_alias_cmd) | |
14917 | (add_setshow_cmd_full, delete_cmd, lookup_cmd_1) | |
14918 | (deprecated_cmd_warning, complete_on_cmdlist): Update. | |
14919 | * cli/cli-decode.h (CMD_DEPRECATED, DEPRECATED_WARN_USER) | |
14920 | (MALLOCED_REPLACEMENT, DOC_ALLOCATED): Remove. | |
14921 | (struct cmd_list_element) <flags>: Remove. | |
14922 | <cmd_deprecated, deprecated_warn_user, malloced_replacement, | |
14923 | doc_allocated>: New fields. | |
14924 | <hook_in, allow_unknown, abbrev_flag, type, var_type>: Now | |
14925 | bitfields. | |
14926 | * maint.c (maintenance_do_deprecate): Update. | |
14927 | * top.c (execute_command): Update. | |
14928 | ||
e671835b BS |
14929 | 2014-01-20 Baruch Siach <baruch@tkos.co.il> |
14930 | ||
14931 | * xtensa-linux-nat.c: Include asm/ptrace.h. | |
14932 | ||
50367cd2 IB |
14933 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14934 | ||
14935 | * Makefile.in (SFILES): Add d-support.c. | |
14936 | (COMMON_OBS): Add d-support.o. | |
14937 | * d-lang.h (d_parse_symbol): Add comment, now defined in | |
14938 | d-support.c. | |
14939 | * d-lang.c (parse_call_convention) | |
14940 | (parse_attributes, parse_function_types) | |
14941 | (parse_function_args, parse_type, parse_identifier) | |
14942 | (call_convention_p, d_parse_symbol): Move functions to ... | |
14943 | * d-support.c: ... New file. | |
14944 | ||
ec9f644a IB |
14945 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14946 | ||
14947 | * d-lang.h (d_parse_symbol): Add declaration. | |
14948 | * d-lang.c (extract_identifiers) | |
14949 | (extract_type_info): Remove functions. | |
14950 | (parse_call_convention, parse_attributes) | |
14951 | (parse_function_types, parse_function_args) | |
14952 | (parse_type, parse_identifier, call_convention_p) | |
14953 | (d_parse_symbol): New functions. | |
14954 | (d_demangle): Use d_parse_symbol to demangle D symbols. | |
14955 | ||
94b1b47e IB |
14956 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14957 | ||
14958 | * d-lang.h (struct builtin_d_type): New data type. | |
14959 | (builtin_d_type): Add declaration. | |
14960 | * d-lang.c (d_language_arch_info, build_d_types) | |
14961 | (builtin_d_type): New functions. | |
14962 | (enum d_primitive_types): New data type. | |
14963 | (d_language_defn): Change c_language_arch_info to | |
14964 | d_language_arch_info. | |
14965 | (d_type_data): New static variable. | |
14966 | (_initialize_d_language): Initialize d_type_data. | |
14967 | ||
63778547 IB |
14968 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14969 | ||
14970 | * d-lang.h (d_main_name): Add declaration. | |
14971 | * d-lang.c (d_main_name): New function. | |
14972 | * symtab.c (find_main_name): Add call to d_main_name. | |
14973 | ||
3271ba66 IB |
14974 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14975 | ||
14976 | * d-lang.c (d_language_defn): Change macro_expansion_c to | |
14977 | macro_expansion_no. | |
14978 | ||
d36b3012 IB |
14979 | 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org> |
14980 | ||
14981 | * MAINTAINERS: Add myself as a write-after-approval maintainer. | |
14982 | ||
c90a6fb7 SDJ |
14983 | 2014-01-17 Sergio Durigan Junior <sergiodj@redhat.com> |
14984 | ||
14985 | * breakpoint.c (insert_bp_location): Add "volatile" keyword to "struct | |
14986 | gdb_exception" declaration. | |
14987 | * remote.c (getpkt_or_notif_sane): Likewise. | |
14988 | ||
749234e5 DE |
14989 | 2014-01-17 Doug Evans <dje@google.com> |
14990 | ||
14991 | * common/gdb_vecs.c (delim_string_to_char_ptr_vec_append): New | |
14992 | function, contents of dirnames_to_char_ptr_vec_append moved here. | |
14993 | (delim_string_to_char_ptr_vec): New function. | |
14994 | (dirnames_to_char_ptr_vec_append): Rewrite. | |
14995 | * common/gdb_vecs.h (delim_string_to_char_ptr_vec): Declare. | |
14996 | ||
df049a58 DE |
14997 | 2014-01-17 Doug Evans <dje@google.com> |
14998 | ||
14999 | * common/common-utils.h (FUNCTION_NAME): Renamed from ASSERT_FUNCTION, | |
15000 | and moved here ... | |
15001 | * common/gdb_assert.h (ASSERT_FUNCTION): ... from here. | |
15002 | #include "common-utils.h". | |
15003 | (gdb_assert, gdb_assert_fail, gdb_assert_not_reached): Update. | |
15004 | * common/vec.h (VEC_ASSERT_PASS): Update. | |
15005 | * darwin-nat.h: Replace #include of gdb_assert.h with common-utils.h. | |
15006 | (MACH_CHECK_ERROR): Update. | |
15007 | ||
69f97648 SM |
15008 | 2014-01-17 Simon Marchi <simon.marchi@ericsson.com> |
15009 | ||
15010 | * gdbarch.sh (gdbarch_address_class_name_to_type_flags): Add | |
15011 | comments. | |
15012 | * gdbarch.h: Regenerate. | |
15013 | ||
98b1cfdc TT |
15014 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
15015 | ||
15016 | * value.c (struct value) <regnum>: Move earlier. | |
15017 | ||
77a19445 TT |
15018 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
15019 | ||
15020 | * remote.c (extended_remote_create_inferior): Rename from | |
15021 | extended_remote_create_inferior_1. Add "ops" argument. Remove | |
15022 | old implementation. | |
15023 | ||
62261490 PA |
15024 | 2014-01-16 Pedro Alves <palves@redhat.com> |
15025 | ||
15026 | * s390-linux-tdep.c (s390_frame_unwind_cache): Swallow | |
15027 | NOT_AVAILABLE_ERROR errors while parsing the prologue or reading | |
15028 | the backchain. | |
15029 | ||
4d65956b DE |
15030 | 2014-01-16 Doug Evans <dje@google.com> |
15031 | ||
15032 | * dwarf2read.c (open_and_init_dwp_file): Fix typo in comment. | |
15033 | ||
52834460 MM |
15034 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15035 | ||
15036 | * btrace.h (btrace_thread_flag): New. | |
15037 | (struct btrace_thread_info) <flags>: New. | |
15038 | * record-btrace.c (record_btrace_resume_thread) | |
15039 | (record_btrace_find_thread_to_move, btrace_step_no_history) | |
15040 | (btrace_step_stopped, record_btrace_start_replaying) | |
15041 | (record_btrace_step_thread, record_btrace_decr_pc_after_break) | |
15042 | (record_btrace_find_resume_thread): New. | |
15043 | (record_btrace_resume, record_btrace_wait): Extend. | |
15044 | (record_btrace_can_execute_reverse): New. | |
15045 | (record_btrace_open): Fail in non-stop mode. | |
15046 | (record_btrace_set_replay): Split into this, ... | |
15047 | (record_btrace_stop_replaying): ... this, ... | |
15048 | (record_btrace_clear_histories): ... and this. | |
15049 | (init_record_btrace_ops): Init to_can_execute_reverse. | |
15050 | * NEWS: Announce it. | |
15051 | ||
118e6252 MM |
15052 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15053 | ||
15054 | * target.h (struct target_ops) <to_decr_pc_after_break>: New. | |
15055 | (forward_target_decr_pc_after_break) | |
15056 | (target_decr_pc_after_break): New. | |
15057 | * target.c (forward_target_decr_pc_after_break) | |
15058 | (target_decr_pc_after_break): New. | |
15059 | * aix-thread.c (aix_thread_wait): Call target_decr_pc_after_break | |
15060 | instead of gdbarch_decr_pc_after_break. | |
15061 | * darwin-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
15062 | instead of gdbarch_decr_pc_after_break. | |
15063 | * infrun.c (adjust_pc_after_break): Call target_decr_pc_after_break | |
15064 | instead of gdbarch_decr_pc_after_break. | |
15065 | * linux-nat.c (cancel_breakpoint): Call target_decr_pc_after_break | |
15066 | instead of gdbarch_decr_pc_after_break. | |
15067 | * linux-thread-db.c (check_event): Call target_decr_pc_after_break | |
15068 | instead of gdbarch_decr_pc_after_break. | |
15069 | * record-full.c (record_full_wait_1): Call target_decr_pc_after_break | |
15070 | instead of gdbarch_decr_pc_after_break. | |
15071 | ||
6e07b1d2 MM |
15072 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15073 | ||
15074 | * btrace.c: Include regcache.h. | |
15075 | (btrace_add_pc): New. | |
15076 | (btrace_enable): Call btrace_add_pc. | |
15077 | (btrace_is_empty): New. | |
15078 | * btrace.h (btrace_is_empty): New. | |
15079 | * record-btrace.c (require_btrace, record_btrace_info): Call | |
15080 | btrace_is_empty. | |
15081 | ||
969c39fb MM |
15082 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15083 | ||
15084 | * common/linux-btrace.c (perf_event_read_bts, linux_read_btrace): | |
15085 | Support delta reads. | |
15086 | (linux_disable_btrace): Change return type. | |
15087 | * common/linux-btrace.h (linux_read_btrace): Change parameters | |
15088 | and return type to allow error reporting. Update users. | |
15089 | (linux_disable_btrace): Change return type. Update users. | |
15090 | * common/btrace-common.h (btrace_read_type) <BTRACE_READ_DELTA>: | |
15091 | New. | |
15092 | (btrace_error): New. | |
15093 | (btrace_block) <begin>: Comment on BEGIN == 0. | |
15094 | * btrace.c (btrace_compute_ftrace): Start from the end of | |
15095 | the current trace. | |
15096 | (btrace_stitch_trace, btrace_clear_history): New. | |
15097 | (btrace_fetch): Read delta trace, return if replaying. | |
15098 | (btrace_clear): Move clear history code to btrace_clear_history. | |
15099 | (parse_xml_btrace): Throw an error if parsing failed. | |
15100 | * target.h (struct target_ops) <to_read_btrace>: Change parameters | |
15101 | and return type to allow error reporting. | |
15102 | (target_read_btrace): Change parameters and return type to allow | |
15103 | error reporting. | |
15104 | * target.c (target_read_btrace): Update. | |
15105 | * remote.c (remote_read_btrace): Support delta reads. Pass | |
15106 | errors on. | |
15107 | * NEWS: Announce it. | |
15108 | ||
0b722aec MM |
15109 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15110 | ||
15111 | * record.h (record_btrace_frame_unwind) | |
15112 | (record_btrace_tailcall_frame_unwind): New declarations. | |
15113 | * dwarf2-frame: Include record.h | |
15114 | (dwarf2_frame_cfa): Throw an error for btrace frames. | |
15115 | * record-btrace.c: Include hashtab.h. | |
15116 | (btrace_get_bfun_name): New. | |
15117 | (btrace_call_history): Call btrace_get_bfun_name. | |
15118 | (struct btrace_frame_cache): New. | |
15119 | (bfcache): New. | |
15120 | (bfcache_hash, bfcache_eq, bfcache_new): New. | |
15121 | (btrace_get_frame_function): New. | |
15122 | (record_btrace_frame_unwind_stop_reason): Allow unwinding. | |
15123 | (record_btrace_frame_this_id): Compute own id. | |
15124 | (record_btrace_frame_prev_register): Provide PC, throw_error | |
15125 | for all other registers. | |
15126 | (record_btrace_frame_sniffer): Detect btrace frames. | |
15127 | (record_btrace_tailcall_frame_sniffer): New. | |
15128 | (record_btrace_frame_dealloc_cache): New. | |
15129 | (record_btrace_frame_unwind): Add new functions. | |
15130 | (record_btrace_tailcall_frame_unwind): New. | |
15131 | (_initialize_record_btrace): Allocate cache. | |
15132 | * btrace.c (btrace_clear): Call reinit_frame_cache. | |
15133 | * NEWS: Announce it. | |
15134 | ||
066ce621 MM |
15135 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15136 | ||
15137 | * record-btrace.c (record_btrace_set_replay) | |
15138 | (record_btrace_goto_begin, record_btrace_goto_end) | |
15139 | (record_btrace_goto): New. | |
15140 | (init_record_btrace_ops): Initialize them. | |
15141 | * NEWS: Announce it. | |
15142 | ||
e2887aa3 MM |
15143 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15144 | ||
15145 | * record-btrace.c (record_btrace_find_new_threads) | |
15146 | (record_btrace_thread_alive): New. | |
15147 | (init_record_btrace_ops): Initialize to_find_new_threads and | |
15148 | to_thread_alive. | |
15149 | ||
b2f4cfde MM |
15150 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15151 | ||
15152 | * record-btrace.c (record_btrace_resume): New. | |
15153 | (record_btrace_wait): New. | |
15154 | (init_record_btrace_ops): Initialize to_wait and to_resume. | |
15155 | ||
633785ff MM |
15156 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15157 | ||
15158 | * record-btrace.c (record_btrace_xfer_partial) | |
15159 | (record_btrace_insert_breakpoint, record_btrace_remove_breakpoint) | |
15160 | (record_btrace_allow_memory_access): New. | |
15161 | (init_record_btrace_ops): Initialize new methods. | |
15162 | * target.c (raw_memory_xfer_partial): Bail out if target reports | |
15163 | that this memory is not available. | |
15164 | ||
3db08215 MM |
15165 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15166 | ||
15167 | * target.h (target_ops) <to_insert_breakpoint> | |
15168 | <to_remove_breakpoint>: Add target_ops parameter. | |
15169 | (forward_target_insert_breakpoint): New. | |
15170 | (forward_target_remove_breakpoint): New. | |
15171 | (memory_remove_breakpoint, memory_insert_breakpoint): | |
15172 | Add target_ops parameter. | |
15173 | * target.c (target_insert_breakpoint): Split into this and ... | |
15174 | (forward_target_insert_breakpoint): ... this. | |
15175 | (target_remove_breakpoint): Split into this and ... | |
15176 | (forward_target_remove_breakpoint): ... this. | |
15177 | (debug_to_insert_breakpoint): Add target_ops parameter. | |
15178 | Call forward_target_insert_breakpoint. | |
15179 | (debug_to_remove_breakpoint): Add target_ops parameter. | |
15180 | Call forward_target_remove_breakpoint. | |
15181 | (update_current_target): Do not inherit or default to_insert_breakpoint | |
15182 | and to_remove_breakpoint. | |
15183 | * corelow.c (ignore): Add target_ops parameter. | |
15184 | * exec.c (ignore): Add target_ops parameter. | |
15185 | * mem-break.c (memory_insert_breakpoint, memory_remove_breakpoint): | |
15186 | Add target_ops parameter. | |
15187 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
15188 | Add target_ops parameter. | |
15189 | * nto-procfs.c (procfs_insert_breakpoint, procfs_remove_breakpoint): | |
15190 | Add target_ops parameter. | |
15191 | * record-full.c (record_full_beneath_to_insert_breakpoint) | |
15192 | (record_full_beneath_to_remove_breakpoint, tmp_to_insert_breakpoint) | |
15193 | (tmp_to_remove_breakpoint, record_full_insert_breakpoint) | |
15194 | (record_full_remove_breakpoint, record_full_core_insert_breakpoint) | |
15195 | (record_full_core_remove_breakpoint): Add target_ops parameter. | |
15196 | Update users. | |
15197 | (record_full_beneath_to_insert_breakpoint_ops) | |
15198 | (record_full_beneath_to_remove_breakpoint_ops) | |
15199 | (tmp_to_insert_breakpoint_ops, tmp_to_remove_breakpoint_ops): New. | |
15200 | (record_full_open): Initialize tmp_to_insert_breakpoint_ops, | |
15201 | tmp_to_remove_breakpoint_ops, | |
15202 | record_full_beneath_to_insert_breakpoint_ops, and | |
15203 | record_full_beneath_to_remove_breakpoint_ops. | |
15204 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
15205 | (m32r_remove_breakpoint): Add target_ops parameter. | |
15206 | * remote-mips.c (mips_insert_breakpoint, mips_remove_breakpoint): | |
15207 | Add target_ops parameter. | |
15208 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
15209 | Add target_ops parameter. | |
15210 | ||
cecac1ab MM |
15211 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15212 | Markus Metzger <markus.t.metzger@intel.com> | |
15213 | ||
15214 | * record-btrace.c: Include frame-unwind.h. | |
15215 | (record_btrace_frame_unwind_stop_reason) | |
15216 | (record_btrace_frame_this_id, record_btrace_frame_prev_register) | |
15217 | (record_btrace_frame_sniffer, record_btrace_frame_unwind): | |
15218 | New. | |
15219 | (init_record_btrace_ops): Install it. | |
15220 | ||
824344ca MM |
15221 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15222 | ||
15223 | * frame.c (get_frame_unwind_stop_reason): Unconditionally call | |
15224 | get_prev_frame_1. | |
15225 | ||
32261e52 MM |
15226 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15227 | ||
15228 | * dwarf2-frame.c (dwarf2_frame_cfa): Move UNWIND_UNAVAILABLE check | |
15229 | earlier. | |
15230 | ||
ea001bdc MM |
15231 | 2014-01-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
15232 | ||
15233 | * frame-unwind.c: Include target.h. | |
15234 | (frame_unwind_try_unwinder): New function with code from ... | |
15235 | (frame_unwind_find_by_frame): ... here. New variable | |
15236 | unwinder_from_target, call also target_get_unwinder) | |
15237 | (target_get_tailcall_unwinder, and frame_unwind_try_unwinder for it. | |
15238 | * target.c (target_get_unwinder, target_get_tailcall_unwinder): New. | |
15239 | * target.h (struct target_ops): New fields to_get_unwinder and | |
15240 | to_get_tailcall_unwinder. | |
15241 | (target_get_unwinder, target_get_tailcall_unwinder): New declarations. | |
15242 | ||
1f3ef581 MM |
15243 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15244 | ||
15245 | * record-btrace.c (record_btrace_fetch_registers) | |
15246 | (record_btrace_store_registers) | |
15247 | (record_btrace_to_prepare_to_store): New. | |
15248 | (init_record_btrace_ops): Add the above. | |
15249 | ||
f32dbf8c MM |
15250 | 2014-01-16 Tom Tromey <tromey@redhat.com> |
15251 | ||
15252 | * windows-nat.c (windows_prepare_to_store): Add 'self' argument. | |
15253 | * target.h (struct target_ops) <to_prepare_to_store>: Add | |
15254 | argument. | |
15255 | (target_prepare_to_store): Add argument. | |
15256 | * target.c (debug_to_prepare_to_store): Add argument. | |
15257 | (update_current_target): Update. | |
15258 | * remote.c (remote_prepare_to_store): Add 'self' argument. | |
15259 | * remote-sim.c (gdbsim_prepare_to_store): Add 'self' argument. | |
15260 | * remote-mips.c (mips_prepare_to_store): Add 'self' argument. | |
15261 | * remote-m32r-sdi.c (m32r_prepare_to_store): Add 'self' argument. | |
15262 | * record-full.c (record_full_core_prepare_to_store): Add 'self' | |
15263 | argument. | |
15264 | * ravenscar-thread.c (ravenscar_prepare_to_store): Add argument. | |
15265 | * nto-procfs.c (procfs_prepare_to_store): Add 'self' argument. | |
15266 | * monitor.c (monitor_prepare_to_store): Add 'self' argument. | |
15267 | * inf-child.c (inf_child_prepare_to_store): Add 'self' argument. | |
15268 | * go32-nat.c (go32_prepare_to_store): Add 'self' argument. | |
15269 | ||
07bbe694 MM |
15270 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15271 | ||
15272 | * btrace.h (replay) <replay>: New. | |
15273 | (btrace_is_replaying): New. | |
15274 | * btrace.c (btrace_clear): Free replay iterator. | |
15275 | (btrace_is_replaying): New. | |
15276 | * record-btrace.c (record_btrace_is_replaying): New. | |
15277 | (record_btrace_info): Print insn number if replaying. | |
15278 | (record_btrace_insn_history): Start at replay position. | |
15279 | (record_btrace_call_history): Start at replay position. | |
15280 | (init_record_btrace_ops): Init to_record_is_replaying. | |
15281 | ||
0688d04e MM |
15282 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15283 | ||
15284 | * record-btrace.c (record_btrace_insn_history_range): Include | |
15285 | end. | |
15286 | (record_btrace_insn_history_from): Adjust range. | |
15287 | (record_btrace_call_history_range): Include | |
15288 | end. | |
15289 | (record_btrace_call_history_from): Adjust range. | |
15290 | * NEWS: Announce changes. | |
15291 | ||
8710b709 MM |
15292 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15293 | ||
15294 | * record.h (enum record_print_flag) | |
15295 | <record_print_indent_calls>: New. | |
15296 | * record.c (get_call_history_modifiers): Recognize /c modifier. | |
15297 | (_initialize_record): Document /c modifier. | |
15298 | * record-btrace.c (btrace_call_history): Add btinfo parameter. | |
15299 | Reorder fields. Optionally indent the function name. Update | |
15300 | all users. | |
15301 | * NEWS: Announce changes. | |
15302 | ||
d0fa7535 MM |
15303 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15304 | ||
15305 | * common/linux-btrace.c (linux_enable_btrace): Enlarge buffer. | |
15306 | ||
5de9129b MM |
15307 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15308 | ||
15309 | * btrace.c (ftrace_new_function): Start counting at one. | |
15310 | * record-btrace.c (record_btrace_info): Adjust number of calls | |
15311 | and insns. | |
15312 | * NEWS: Announce it. | |
15313 | ||
7acbe133 MM |
15314 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15315 | ||
15316 | * record-btrace.c (btrace_call_history_insn_range): Print | |
15317 | insn range as [begin, end]. | |
15318 | ||
23a7fe75 MM |
15319 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15320 | ||
15321 | * btrace.h (struct btrace_func_link): New. | |
15322 | (enum btrace_function_flag): New. | |
15323 | (struct btrace_inst): Rename to ... | |
15324 | (struct btrace_insn): ...this. Update all users. | |
15325 | (struct btrace_func) <ibegin, iend>: Remove. | |
15326 | (struct btrace_func_link): New. | |
15327 | (struct btrace_func): Rename to ... | |
15328 | (struct btrace_function): ...this. Update all users. | |
15329 | (struct btrace_function) <segment, flow, up, insn, insn_offset) | |
15330 | (number, level, flags>: New. | |
15331 | (struct btrace_insn_iterator): Rename to ... | |
15332 | (struct btrace_insn_history): ...this. | |
15333 | Update all users. | |
15334 | (struct btrace_insn_iterator, btrace_call_iterator): New. | |
15335 | (struct btrace_target_info) <btrace, itrace, ftrace>: Remove. | |
15336 | (struct btrace_target_info) <begin, end, level> | |
15337 | <insn_history, call_history>: New. | |
15338 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
15339 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
15340 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
15341 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
15342 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
15343 | (btrace_find_function_by_number, btrace_set_insn_history) | |
15344 | (btrace_set_call_history): New. | |
15345 | * btrace.c (btrace_init_insn_iterator) | |
15346 | (btrace_init_func_iterator, compute_itrace): Remove. | |
15347 | (ftrace_print_function_name, ftrace_print_filename) | |
15348 | (ftrace_skip_file): Change | |
15349 | parameter to const. | |
15350 | (ftrace_init_func): Remove. | |
15351 | (ftrace_debug): Use new btrace_function fields. | |
15352 | (ftrace_function_switched): Also consider gaining and | |
15353 | losing symbol information). | |
15354 | (ftrace_print_insn_addr, ftrace_new_call, ftrace_new_return) | |
15355 | (ftrace_new_switch, ftrace_find_caller, ftrace_new_function) | |
15356 | (ftrace_update_caller, ftrace_fixup_caller, ftrace_new_tailcall): | |
15357 | New. | |
15358 | (ftrace_new_function): Move. Remove debug print. | |
15359 | (ftrace_update_lines, ftrace_update_insns): New. | |
15360 | (ftrace_update_function): Check for call, ret, and jump. | |
15361 | (compute_ftrace): Renamed to ... | |
15362 | (btrace_compute_ftrace): ...this. Rewritten to compute call | |
15363 | stack. | |
15364 | (btrace_fetch, btrace_clear): Updated. | |
15365 | (btrace_insn_get, btrace_insn_number, btrace_insn_begin) | |
15366 | (btrace_insn_end, btrace_insn_prev, btrace_insn_next) | |
15367 | (btrace_insn_cmp, btrace_find_insn_by_number, btrace_call_get) | |
15368 | (btrace_call_number, btrace_call_begin, btrace_call_end) | |
15369 | (btrace_call_prev, btrace_call_next, btrace_call_cmp) | |
15370 | (btrace_find_function_by_number, btrace_set_insn_history) | |
15371 | (btrace_set_call_history): New. | |
15372 | * record-btrace.c (require_btrace): Use new btrace thread | |
15373 | info fields. | |
15374 | (record_btrace_info, btrace_insn_history) | |
15375 | (record_btrace_insn_history, record_btrace_insn_history_range): | |
15376 | Use new btrace thread info fields and new iterator. | |
15377 | (btrace_func_history_src_line): Rename to ... | |
15378 | (btrace_call_history_src_line): ...this. Use new btrace | |
15379 | thread info fields. | |
15380 | (btrace_func_history): Rename to ... | |
15381 | (btrace_call_history): ...this. Use new btrace thread info | |
15382 | fields and new iterator. | |
15383 | (record_btrace_call_history, record_btrace_call_history_range): | |
15384 | Use new btrace thread info fields and new iterator. | |
15385 | ||
8372a7cb MM |
15386 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15387 | ||
15388 | * frame.h (frame_id_build_unavailable_stack_special): New. | |
15389 | * frame.c (frame_id_build_unavailable_stack_special): New. | |
15390 | ||
c2170eef MM |
15391 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15392 | ||
15393 | * amd64-tdep.c (amd64_classify_insn_at, amd64_insn_is_call) | |
15394 | (amd64_insn_is_ret, amd64_insn_is_jump, amd64_jmp_p): New. | |
15395 | (amd64_init_abi): Add insn_is_call, insn_is_ret, and insn_is_jump | |
15396 | to gdbarch. | |
15397 | * i386-tdep.c (i386_insn_is_call, i386_insn_is_ret) | |
15398 | (i386_insn_is_jump, i386_jmp_p): New. | |
15399 | (i386_gdbarch_init): Add insn_is_call, insn_is_ret, and | |
15400 | insn_is_jump to gdbarch. | |
15401 | * gdbarch.sh (insn_is_call, insn_is_ret, insn_is_jump): New. | |
15402 | * gdbarch.h: Regenerated. | |
15403 | * gdbarch.c: Regenerated. | |
15404 | * arch-utils.h (default_insn_is_call, default_insn_is_ret) | |
15405 | (default_insn_is_jump): New. | |
15406 | * arch-utils.c (default_insn_is_call, default_insn_is_ret) | |
15407 | (default_insn_is_jump): New. | |
15408 | ||
864089d2 MM |
15409 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15410 | ||
15411 | * common/btrace-common.h (btrace_read_type) <btrace_read_all>: | |
15412 | Change to ... | |
15413 | (btrace_read_type) <BTRACE_READ_ALL>: ... this. Update users. | |
15414 | (btrace_read_type) <btrace_read_new>: Change to ... | |
15415 | (btrace_read_type) <BTRACE_READ_NEW>: ... this. Update users. | |
15416 | ||
ed9edfb5 MM |
15417 | 2014-01-16 Markus Metzger <markus.t.metzger@intel.com> |
15418 | ||
15419 | * common/linux-btrace.c (linux_read_btrace): Free trace from | |
15420 | previous iteration. | |
15421 | ||
fbcbc3fd DE |
15422 | 2014-01-15 Doug Evans <dje@google.com> |
15423 | ||
15424 | * dwarf2read.c (open_and_init_dwp_file): Use pulongest to print | |
15425 | uint32_t. | |
15426 | ||
3d548a53 TT |
15427 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15428 | ||
15429 | * dbxread.c (process_one_symbol): Use set_objfile_main_name. | |
15430 | * dwarf2read.c (read_partial_die): Use set_objfile_main_name. | |
15431 | * objfiles.c (get_objfile_bfd_data): Initialize language_of_main. | |
15432 | (set_objfile_main_name): New function. | |
15433 | * objfiles.h (struct objfile_per_bfd_storage) <name_of_main, | |
15434 | language_of_main>: New fields. | |
15435 | (set_objfile_main_name): Declare. | |
15436 | * symtab.c (find_main_name): Loop over objfiles to find the main | |
15437 | name and language. | |
15438 | (set_main_name): Now static. | |
15439 | (get_main_info): Add comment. | |
15440 | * symtab.h (set_main_name): Don't declare. | |
15441 | ||
32ac0d11 TT |
15442 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15443 | ||
15444 | * symtab.c (main_progspace_key): New global. | |
15445 | (struct main_info): New. | |
15446 | (name_of_main, language_of_main): Remove. | |
15447 | (get_main_info, main_info_cleanup): New function. | |
15448 | (set_main_name, main_name, main_language): Use get_main_info. | |
15449 | (_initialize_symtab): Initialize main_progspace_key. | |
15450 | ||
9e6c82ad TT |
15451 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15452 | ||
15453 | * dbxread.c (process_one_symbol): Update. | |
15454 | * dwarf2read.c (read_partial_die): Update. | |
15455 | * symfile.c (set_initial_language): Call main_language. | |
15456 | * symtab.c (language_of_main): Now static. | |
15457 | (set_main_name): Add 'lang' parameter. | |
15458 | (find_main_name): Update. | |
15459 | (main_language): New function. | |
15460 | (symtab_observer_executable_changed): Update. | |
15461 | * symtab.h (set_main_name): Update. | |
15462 | (language_of_main): Remove. | |
15463 | (main_language): Declare. | |
15464 | ||
6ef55de7 TT |
15465 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15466 | ||
15467 | * symfile.c (init_entry_point_info): Use new "initialized" field. | |
15468 | Update. | |
15469 | * objfiles.h (struct entry_point) <initialized>: New field. | |
15470 | (struct objfile_per_bfd_storage) <ei>: New field, moved from... | |
15471 | (struct objfile) <ei>: ...here. Remove. | |
15472 | * objfiles.c (entry_point_address_query): Update. | |
15473 | ||
53eddfa6 TT |
15474 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15475 | ||
15476 | * objfiles.c (entry_point_address_query): Relocate entry point | |
15477 | address. | |
15478 | (objfile_relocate1): Do not relocate entry point address. | |
15479 | * objfiles.h (struct entry_info) <entry_point>: Update comment. | |
15480 | <the_bfd_section_index>: New field. | |
15481 | * symfile.c (init_entry_point_info): Find the entry point's | |
15482 | section. | |
15483 | ||
d56e56aa TT |
15484 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15485 | ||
15486 | * solib-frv.c (enable_break): Use entry_point_address_query. | |
15487 | ||
33a97bbe OJ |
15488 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15489 | ||
15490 | * NEWS: Add note on improved process record-replay on | |
15491 | arm*-linux* targets. | |
15492 | ||
c6ec2b30 OJ |
15493 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15494 | ||
15495 | * arm-tdep.c (enum arm_record_result): New enum. | |
15496 | (arm_record_unsupported_insn): New function. | |
15497 | (arm_record_coproc_data_proc): Removed. | |
15498 | (thumb2_record_ld_st_multiple): New function. | |
15499 | (thumb2_record_ld_st_dual_ex_tbb): New function. | |
15500 | (thumb2_record_data_proc_sreg_mimm): New function. | |
15501 | (thumb2_record_ps_dest_generic): New function. | |
15502 | (thumb2_record_branch_misc_cntrl): New function. | |
15503 | (thumb2_record_str_single_data): New function. | |
15504 | (thumb2_record_ld_mem_hints): New function. | |
15505 | (thumb2_record_ld_word): New function. | |
15506 | (thumb2_record_lmul_lmla_div): New function. | |
15507 | (thumb2_record_decode_insn_handler): New function. | |
15508 | (decode_insn): Add thumb32 instruction handlers. | |
15509 | ||
97dfe206 OJ |
15510 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15511 | ||
15512 | * arm-linux-tdep.c: Include "record-full.h" and "linux-record.h". | |
15513 | (struct arm_linux_record_tdep): Declare. | |
15514 | (arm_canonicalize_syscall): New function. | |
15515 | (arm_all_but_pc_registers_record): New function. | |
15516 | (arm_linux_syscall_record): New function. | |
15517 | (arm_linux_init_abi): Add syscall recording constructs. | |
15518 | * arm-tdep.c (thumb_record_ldm_stm_swi): Update thumb syscall | |
15519 | decoding. (arm_record_coproc_data_proc): Update arm syscall | |
15520 | decoding. | |
15521 | * arm-tdep.h (struct gdbarch_tdep) <arm_swi_record>: Remove. | |
15522 | <arm_syscall_record>: New field. | |
15523 | * configure.tgt (arm*-*-linux*): Add linux-record.o to | |
15524 | gdb_target_obs. | |
15525 | ||
9904a494 OJ |
15526 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15527 | ||
15528 | * arm-tdep.c (thumb_record_misc): Update to use sp as base | |
15529 | register for push instruction recording. | |
15530 | ||
f969241e OJ |
15531 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15532 | ||
15533 | * arm-tdep.c (thumb_record_misc): Update to correct logical | |
15534 | error while recording ldm, ldmia and pop instructions. | |
15535 | ||
bfbbec00 OJ |
15536 | 2014-01-15 Omair Javaid <omair.javaid@linaro.org> |
15537 | ||
15538 | * arm-tdep.c (struct arm_mem_r) <addr>: Change type to uint32_t. | |
15539 | ||
e40adcc9 PA |
15540 | 2014-01-15 Pedro Alves <palves@redhat.com> |
15541 | ||
15542 | * go32-nat.c (go32_open, go32_close, go32_attach, go32_detach) | |
15543 | (go32_resume, go32_fetch_registers, store_register) | |
15544 | (go32_store_registers, go32_prepare_to_store) | |
15545 | (go32_xfer_memory, go32_files_info, go32_kill_inferior) | |
15546 | (go32_create_inferior, go32_can_run, go32_terminal_init) | |
15547 | (go32_terminal_inferior, go32_terminal_ours): Delete forward | |
15548 | declarations. | |
15549 | ||
b0a16e66 TT |
15550 | 2014-01-15 Tom Tromey <tromey@redhat.com> |
15551 | ||
15552 | * target.h (async_callback_ftype): New typedef. | |
15553 | (struct target_ops) <to_async>: Use it. | |
15554 | ||
bf7105a4 JB |
15555 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
15556 | ||
15557 | * python/py-value.c (get_field_type): Remove unnecessary curly | |
15558 | braces for single-statement if block. | |
15559 | ||
a8f35c2e JB |
15560 | 2014-01-15 Joel Brobecker <brobecker@adacore.com> |
15561 | ||
15562 | * python/py-type.c (convert_field): Add missing empty line | |
15563 | after declarations. | |
15564 | ||
bb4142cf DE |
15565 | 2014-01-14 Doug Evans <dje@google.com> |
15566 | ||
15567 | * symfile.h (expand_symtabs_matching): Renamed from | |
15568 | expand_partial_symbol_names. Update prototype. | |
15569 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15570 | * symfile.c (expand_symtabs_matching): Renamed from | |
15571 | expand_partial_symbol_names. New args file_matcher, kind. | |
15572 | Rename arg fun to symbol_matcher. | |
15573 | (map_symbol_filenames): Renamed from map_partial_symbol_filenames. | |
15574 | * ada-lang.c (ada_complete_symbol_matcher): Renamed from | |
15575 | ada_expand_partial_symbol_name. | |
15576 | (ada_make_symbol_completion_list): Update to call | |
15577 | expand_symtabs_matching. | |
15578 | (ada_add_global_exceptions): Call expand_symtabs_matching. | |
15579 | * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_files): Update to | |
15580 | call map_symbol_filenames. | |
15581 | * symtab.c (sources_info): Update to call map_symbol_filenames. | |
15582 | (search_symbols): Call expand_symtabs_matching. | |
15583 | (symbol_completion_matcher): Renamed from expand_partial_symbol_name. | |
15584 | (default_make_symbol_completion_list_break_on): Update to call | |
15585 | expand_symtabs_matching. | |
15586 | (make_source_files_completion_list): Update to call | |
15587 | map_symbol_filenames. | |
15588 | ||
206f2a57 DE |
15589 | 2014-01-14 Doug Evans <dje@google.com> |
15590 | ||
15591 | * symfile.h (expand_symtabs_file_matcher_ftype): New typedef. | |
15592 | (expand_symtabs_symbol_matcher_ftype): New typedef. | |
15593 | (quick_symbol_functions.expand_symtabs_matching): Update to use. | |
15594 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15595 | * symfile.c (expand_partial_symbol_names): Update to use | |
15596 | expand_symtabs_symbol_matcher_ftype. | |
15597 | * dwarf2read.c (dw2_expand_symtabs_matching): Update to use | |
15598 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15599 | Arg name_matcher renamed to symbol_matcher. | |
15600 | * psymtab.c (recursively_search_psymtabs): Update to use | |
15601 | expand_symtabs_symbol_matcher_ftype. Arg name_matcher renamed to | |
15602 | sym_matcher. | |
15603 | (expand_symtabs_matching_via_partial): Update to use | |
15604 | expand_symtabs_file_matcher_ftype, expand_symtabs_symbol_matcher_ftype. | |
15605 | Arg name_matcher renamed to symbol_matcher. | |
15606 | ||
540c2971 DE |
15607 | 2014-01-14 Doug Evans <dje@google.com> |
15608 | ||
15609 | * psymtab.c (expand_partial_symbol_names): Delete, moved to symfile.c. | |
15610 | (map_partial_symbol_filenames): Ditto. | |
15611 | * psymtab.h (expand_partial_symbol_names): Delete, moved to symfile.h. | |
15612 | (map_partial_symbol_filenames): Ditto. | |
15613 | * symfile.c (expand_partial_symbol_names): Moved here from psymtab.c. | |
15614 | (map_partial_symbol_filenames): Ditto. | |
15615 | * symfile.h (expand_partial_symbol_names): Moved here from psymtab.h. | |
15616 | (map_partial_symbol_filenames): Ditto. | |
15617 | * symtab.c: Delete #include "psymtab.h". | |
15618 | ||
8213266a PA |
15619 | 2014-01-14 Pedro Alves <palves@redhat.com> |
15620 | Tom Tromey <tromey@redhat.com> | |
15621 | ||
15622 | * infrun.c (use_displaced_stepping): Use find_record_target | |
15623 | instead of RECORD_IS_USED. | |
15624 | (adjust_pc_after_break): Use record_full_is_used instead of | |
15625 | RECORD_IS_USED. | |
15626 | * record-btrace.c (record_btrace_open): Call record_preopen | |
15627 | instead of checking RECORD_IS_USED. | |
15628 | * record-full.c (record_full_shortname) | |
15629 | (record_full_core_shortname): New globals. | |
15630 | (record_full_is_used): New function. | |
15631 | (find_full_open): Call record_preopen instead of checking | |
15632 | RECORD_IS_USED. | |
15633 | (init_record_full_ops): Set the target's shortname to | |
15634 | record_full_shortname. | |
15635 | (init_record_full_core_ops): Set the target's shortname to | |
15636 | record_full_core_shortname. | |
15637 | * record-full.h (record_full_is_used): Declare. | |
15638 | * record.c (find_record_target): Make extern. | |
15639 | (record_preopen): New function. | |
15640 | * record.h (RECORD_IS_USED): Delete macro. | |
15641 | (find_record_target, record_preopen): Declare functions. | |
15642 | ||
7ec1862d YQ |
15643 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15644 | ||
15645 | * gdbarch.sh (core_xfer_shared_libraries): Change its argument | |
15646 | 'len''s type to ULONGEST. | |
15647 | (core_xfer_shared_libraries_aix): Likewise. | |
15648 | * gdbarch.c, gdbarch.h: Regenerated. | |
15649 | * i386-cygwin-tdep.c (windows_core_xfer_shared_libraries): | |
15650 | Change type of 'len' to ULONGEST. | |
15651 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
15652 | (rs6000_aix_core_xfer_shared_libraries_aix): Likewise. | |
15653 | ||
dea80a27 YQ |
15654 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15655 | ||
15656 | * common/linux-osdata.c (linux_xfer_osdata_processes): Change | |
15657 | type of 'len' to ULONGEST. | |
15658 | (linux_xfer_osdata_processgroups): Likewise. | |
15659 | (linux_xfer_osdata_threads): Likewise. | |
15660 | (linux_xfer_osdata_fds): Likewise. | |
15661 | (linux_xfer_osdata_isockets): Likewise. | |
15662 | (linux_xfer_osdata_shm): Likewise. | |
15663 | (linux_xfer_osdata_sem): Likewise. | |
15664 | (linux_xfer_osdata_msg): Likewise. | |
15665 | (linux_common_xfer_osdata): Likewise. | |
15666 | (struct osdata_type) <getter>: Likewise. | |
15667 | * common/linux-osdata.h (linux_common_xfer_osdata): Update | |
15668 | the declaration. | |
15669 | ||
b55e14c7 YQ |
15670 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15671 | ||
15672 | * target.h (target_xfer_partial_ftype): Update. | |
15673 | (struct target_ops) <to_xfer_partial>: Change 'len' type to | |
15674 | ULONGEST. | |
15675 | * aix-thread.c (aix_thread_xfer_partial): Change type of | |
15676 | argument 'len' to ULONGEST. | |
15677 | * auxv.c (procfs_xfer_auxv): Likewise. | |
15678 | (ld_so_xfer_auxv): Likewise. | |
15679 | (memory_xfer_auxv): Likewise. | |
15680 | * bfd-target.c (target_bfd_xfer_partial): Likewise. | |
15681 | * bsd-kvm.c (bsd_kvm_xfer_partial): Likewise. | |
15682 | * bsd-uthread.c (bsd_uthread_xfer_partial): Likewise. | |
15683 | * corelow.c (core_xfer_partial): Likewise. | |
15684 | * ctf.c (ctf_xfer_partial): Likewise. | |
15685 | * darwin-nat.c (darwin_read_write_inferior): Likewise. Use | |
15686 | '%u'. | |
15687 | (darwin_read_dyld_info): Likewise. | |
15688 | (darwin_xfer_partial): Likewise. | |
15689 | * exec.c (section_table_xfer_memory_partial): Likewise. | |
15690 | (exec_xfer_partial): Likewise. | |
15691 | * exec.h (section_table_xfer_memory_partial): Update | |
15692 | declaration. | |
15693 | * gnu-nat.c (gnu_xfer_memory): Likewise. Call pulongest | |
15694 | instead of plongest. | |
15695 | (gnu_xfer_partial): Likewise. | |
15696 | * ia64-hpux-nat.c (ia64_hpux_xfer_memory): Likewise. | |
15697 | (ia64_hpux_xfer_solib_got): Likewise. | |
15698 | (ia64_hpux_xfer_partial): Likewise. | |
15699 | * ia64-linux-nat.c (ia64_linux_xfer_partial): | |
15700 | * inf-ptrace.c (inf_ptrace_xfer_partial): | |
15701 | * inf-ttrace.c (inf_ttrace_xfer_partial): | |
15702 | * linux-nat.c (linux_xfer_siginfo): Likewise. | |
15703 | (linux_nat_xfer_partial): Likewise. | |
15704 | (spu_enumerate_spu_ids, linux_proc_xfer_spu): Likewise. | |
15705 | (linux_nat_xfer_osdata, linux_xfer_partial): Likewise. | |
15706 | * monitor.c (monitor_xfer_memory): Likewise. | |
15707 | (monitor_xfer_partial): Likewise. | |
15708 | * procfs.c (procfs_xfer_partial): Likewise. | |
15709 | * record-full.c (record_full_xfer_partial): Likewise. | |
15710 | (record_full_core_xfer_partial): Likewise. | |
15711 | * remote-sim.c (gdbsim_xfer_memory): Likewise. Call pulongest | |
15712 | instead of plongest. | |
15713 | (gdbsim_xfer_partial): Likewise. | |
15714 | * remote.c (remote_xfer_partial): Likewise. | |
15715 | * rs6000-aix-tdep.c (rs6000_aix_ld_info_to_xml): Likewise. | |
15716 | * rs6000-aix-tdep.h (rs6000_aix_ld_info_to_xml): Update | |
15717 | declaration. | |
15718 | * rs6000-nat.c (rs6000_xfer_partial): Likewise. | |
15719 | (rs6000_xfer_shared_libraries): Likewise. | |
15720 | * sol-thread.c (sol_thread_xfer_partial): Likewise. | |
15721 | * sparc-nat.c (sparc_xfer_wcookie): Likewise. | |
15722 | (sparc_xfer_partial): Likewise. | |
15723 | * spu-linux-nat.c (spu_proc_xfer_spu): Likewise. | |
15724 | (spu_xfer_partial): Likewise. | |
15725 | * spu-multiarch.c (spu_xfer_partial): Likewise. | |
15726 | * target.c (target_read_live_memory): Likewise. | |
15727 | (memory_xfer_live_readonly_partial): Likewise. | |
15728 | (memory_xfer_partial, memory_xfer_partial_1): Likewise. | |
15729 | (target_xfer_partial, default_xfer_partial): Likewise. | |
15730 | (current_xfer_partial): Likewise. | |
15731 | * tracepoint.c (tfile_xfer_partial): Likewise. | |
15732 | * windows-nat.c (windows_xfer_memory): Likewise. Call | |
15733 | pulongest instead of plongest. | |
15734 | (windows_xfer_partial): Likewise. | |
15735 | (windows_xfer_shared_libraries): Likewise. | |
15736 | ||
05804640 YQ |
15737 | 2014-01-14 Yao Qi <yao@codesourcery.com> |
15738 | ||
15739 | * rs6000-nat.c (rs6000_xfer_shared_libraries): Use | |
15740 | target_xfer_partial_ftype. | |
15741 | ||
b5b08fb4 SC |
15742 | 2014-01-13 Siva Chandra Reddy <sivachandra@google.com> |
15743 | ||
15744 | PR python/15464 | |
15745 | PR python/16113 | |
15746 | * valops.c (value_struct_elt_bitpos): New function | |
15747 | * py-type.c (convert_field): Set 'name' attribute of a gdb.Field | |
15748 | object to 'None' if the field name is an empty string (""). | |
15749 | * python/py-value.c (valpy_getitem): Use 'bitpos' and 'type' | |
15750 | attribute to look for a field when 'name' is 'None'. | |
15751 | (get_field_type): New function | |
15752 | ||
13aaf454 DE |
15753 | 2014-01-13 Doug Evans <dje@google.com> |
15754 | ||
15755 | PR symtab/16426 | |
15756 | * dwarf2read.c (dwarf2_get_dwz_file): Call gdb_bfd_record_inclusion. | |
15757 | (try_open_dwop_file): Ditto. | |
15758 | * gdb_bfd.c: #include "vec.h". | |
15759 | (bfdp): New typedef. | |
15760 | (struct gdb_bfd_data): New member included_bfds. | |
15761 | (gdb_bfd_unref): Unref all included bfds. | |
15762 | (gdb_bfd_record_inclusion): New function. | |
15763 | * gdb_bfd.h (gdb_bfd_record_inclusion): Declare. | |
15764 | ||
c2cec97c TT |
15765 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15766 | ||
15767 | * gdbcore.h (deprecated_core_resize_section_table): Remove. | |
15768 | ||
78e5999d TT |
15769 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15770 | ||
15771 | * defs.h (use_windows): Remove. | |
15772 | * gdb.c (main): Update. | |
15773 | * main.c (captured_main, gdb_main): Update. | |
15774 | * main.h (struct captured_main_args) <use_windows>: Remove. | |
15775 | * top.c (use_windows): Remove. | |
15776 | ||
f2052bbe TT |
15777 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15778 | ||
15779 | * defs.h (deprecated_flush_hook): Remove. | |
15780 | ||
fde4f8ed JK |
15781 | 2014-01-13 Jan Kratochvil <jan.kratochvil@redhat.com> |
15782 | ||
15783 | PR threads/16216 | |
15784 | * linux-thread-db.c (try_thread_db_load): Add parameter | |
15785 | check_auto_load_safe. Move here the file_is_auto_load_safe call. | |
15786 | (try_thread_db_load_from_pdir_1): Move it there from here. | |
15787 | (try_thread_db_load_from_sdir): Update caller. | |
15788 | (try_thread_db_load_from_dir): Move it there from here. | |
15789 | ||
bdf61915 PP |
15790 | 2014-01-13 Patrick Palka <patrick@parcs.ath.cx> |
15791 | ||
15792 | * regformats/regdat.sh: Always rewrite the register file. | |
15793 | ||
f71e1a8d PA |
15794 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15795 | ||
15796 | * Makefile.in (CHECK_HEADERS): New variable. | |
15797 | (check-headers:): New rule. | |
15798 | ||
42c85435 TT |
15799 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15800 | ||
15801 | * cli/cli-setshow.c (do_set_command): Update. | |
15802 | * defs.h (deprecated_set_hook): Remove. | |
15803 | * top.c (deprecated_set_hook): Remove. | |
15804 | ||
f8de5129 PA |
15805 | 2014-01-13 Pedro Alves <palves@redhat.com> |
15806 | ||
15807 | * tracepoint.c (tfile_fetch_registers): Don't infer the PC from | |
15808 | the tracepoint if the PC is a pseudo-register. | |
15809 | ||
fc270c35 TT |
15810 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15811 | ||
15812 | * defs.h (XCALLOC): Remove. | |
15813 | * bcache.c (bcache_xmalloc): Use XCNEW, not XCALLOC. | |
15814 | (print_bcache_statistics): Use XCNEWVEC, not XCALLOC. | |
15815 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15816 | * elfread.c (elf_symfile_segments): Likewise. | |
15817 | (elf_symfile_segments): Likewise. | |
15818 | * gdbtypes.c (copy_type_recursive): Likewise. | |
15819 | * i386-tdep.c (i386_gdbarch_init): Use XCNEW, not XCALLOC. | |
15820 | * jit.c (jit_frame_sniffer): Use XCNEWVEC, not XCALLOC. | |
15821 | * minsyms.c (prim_record_minimal_symbol_full): Use XCNEW, not | |
15822 | XCALLOC. | |
15823 | * mt-tdep.c (mt_gdbarch_init): Likewise. | |
15824 | * opencl-lang.c (allocate_lval_closure): Use XCNEWVEC, not | |
15825 | XCALLOC. | |
15826 | * psymtab.c (psymbol_compare): Use XCNEW, not XCALLOC. | |
15827 | * regcache.c (regcache_xmalloc_1): Use XCNEWVEC, not XCALLOC. | |
15828 | * registry.c (registry_alloc_data): Likewise. | |
15829 | * rs6000-tdep.c (rs6000_gdbarch_init): Use XCNEW, not XCALLOC. | |
15830 | * s390-linux-tdep.c (s390_gdbarch_init): Likewise. | |
15831 | * serial.c (serial_fdopen_ops): Likewise. | |
15832 | * solib-aix.c (solib_aix_get_section_offsets): Use XCNEWVEC, not | |
15833 | XCALLOC. | |
15834 | * spu-tdep.c (spu_gdbarch_init): Use XCNEW, not XCALLOC. | |
15835 | * symfile.c (default_symfile_segments): Use XCNEW and XCNEWVEC, | |
15836 | not XCALLOC. | |
15837 | ||
70ba0933 TT |
15838 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15839 | ||
15840 | * defs.h (XMALLOC): Remove. | |
15841 | * avr-tdep.c (avr_gdbarch_init): Use XNEW, not XMALLOC. | |
15842 | * bfin-tdep.c (bfin_gdbarch_init): Likewise. | |
15843 | * cli-out.c (struct ui_out *): Likewise. | |
15844 | * cli/cli-dump.c (add_dump_command): Likewise. | |
15845 | (add_dump_command): Likewise. | |
15846 | * complaints.c (get_complaints): Likewise. | |
15847 | (find_complaint): Likewise. | |
15848 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
15849 | * dwarf2read.c (abbrev_table_read_table): Likewise. | |
15850 | * gdbarch.sh: Likewise. | |
15851 | * gdbarch.c: Rebuild. | |
15852 | * inf-ttrace.c (inf_ttrace_add_page): Likewise. | |
15853 | * interps.c (interp_new): Likewise. | |
15854 | * lm32-tdep.c (lm32_gdbarch_init): Likewise. | |
15855 | * m32r-tdep.c (m32r_gdbarch_init): Likewise. | |
15856 | * mi/mi-console.c (mi_console_file_new): Likewise. | |
15857 | * mi/mi-interp.c (mi_interpreter_init): Likewise. | |
15858 | * mi/mi-out.c (mi_out_new): Likewise. | |
15859 | * mi/mi-parse.c (mi_parse): Likewise. | |
15860 | * microblaze-tdep.c (microblaze_gdbarch_init): Likewise. | |
15861 | * moxie-tdep.c (moxie_gdbarch_init): Likewise. | |
15862 | * observer.c (xalloc_observer_list_node): Likewise. | |
15863 | * regcache.c (regcache_xmalloc_1): Likewise. | |
15864 | * reggroups.c (reggroup_new): Likewise. | |
15865 | (_initialize_reggroup): Likewise. | |
15866 | * registry.c (register_data_with_cleanup): Likewise. | |
15867 | * remote.c (remote_notif_stop_alloc_reply): Likewise. | |
15868 | * ser-base.c (serial_ttystate): Likewise. | |
15869 | * ser-mingw.c (make_pipe_state): Likewise. | |
15870 | * ser-pipe.c (pipe_open): Likewise. | |
15871 | * serial.c (serial_open): Likewise. | |
15872 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
15873 | * tui/tui-data.c (tui_alloc_generic_win_info): Likewise. | |
15874 | (tui_alloc_win_info): Likewise. | |
15875 | (tui_add_content_elements): Likewise. | |
15876 | * tui/tui-file.c (tui_file_new): Likewise. | |
15877 | * tui/tui-out.c (tui_out_new): Likewise. | |
15878 | * ui-file.c (mem_file_new): Likewise. | |
15879 | * ui-out.c (push_level): Likewise. | |
15880 | (make_cleanup_ui_out_end): Likewise. | |
15881 | (append_header_to_list): Likewise. | |
15882 | (ui_out_new): Likewise. | |
15883 | * user-regs.c (user_reg_add_builtin): Likewise. | |
15884 | ||
41bf6aca TT |
15885 | 2014-01-13 Tom Tromey <tromey@redhat.com> |
15886 | ||
15887 | * defs.h (XZALLOC): Remove. | |
15888 | * ada-lang.c (get_ada_inferior_data): Use XCNEW, not XZALLOC. | |
15889 | * ada-tasks.c (get_ada_tasks_pspace_data): Likewise. | |
15890 | (get_ada_tasks_inferior_data): Likewise. | |
15891 | * auto-load.c (get_auto_load_pspace_data): Likewise. | |
15892 | * auxv.c (get_auxv_inferior_data): Likewise. | |
15893 | * bfd-target.c (target_bfd_reopen): Likewise. | |
15894 | * breakpoint.c (get_catch_syscall_inferior_data): Likewise. | |
15895 | (deprecated_insert_raw_breakpoint): Likewise. | |
15896 | * bsd-uthread.c (bsd_uthread_pid_to_str): Likewise. | |
15897 | * corelow.c (core_open): Likewise. | |
15898 | * darwin-nat.c (darwin_check_new_threads): Likewise. | |
15899 | (darwin_attach_pid): Likewise. | |
15900 | * dummy-frame.c (dummy_frame_push): Likewise. | |
15901 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
15902 | * dwarf2loc.c (allocate_piece_closure): Likewise. | |
15903 | * elfread.c (elf_symfile_segments): Likewise. | |
15904 | * eval.c (ptrmath_type_p): Likewise. | |
15905 | * exceptions.c (EXCEPTIONS_SIGJMP_BUF): Likewise. | |
15906 | * gdbtypes.c (alloc_type_arch): Likewise. | |
15907 | (alloc_type_instance): Likewise. | |
15908 | * hppa-tdep.c (hppa_gdbarch_init): Likewise. | |
15909 | * inf-child.c (inf_child_can_use_agent): Likewise. | |
15910 | * inflow.c (get_inflow_inferior_data): Likewise. | |
15911 | * infrun.c (save_infcall_suspend_state): Likewise. | |
15912 | * jit.c (jit_reader_load): Likewise. | |
15913 | (get_jit_objfile_data): Likewise. | |
15914 | (get_jit_program_space_data): Likewise. | |
15915 | (jit_object_open_impl): Likewise. | |
15916 | (jit_symtab_open_impl): Likewise. | |
15917 | (jit_block_open_impl): Likewise. | |
15918 | (jit_frame_sniffer): Likewise. | |
15919 | * linux-fork.c (add_fork): Likewise. | |
15920 | * maint.c (make_command_stats_cleanup): Likewise. | |
15921 | * objfiles.c (get_objfile_pspace_data): Likewise. | |
15922 | * opencl-lang.c (struct lval_closure): Likewise. | |
15923 | * osdata.c (osdata_start_osdata): Likewise. | |
15924 | * progspace.c (new_address_space): Likewise. | |
15925 | (add_program_space): Likewise. | |
15926 | * remote-sim.c (get_sim_inferior_data): Likewise. | |
15927 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
15928 | * skip.c (Ignore): Likewise. | |
15929 | (skip_delete_command): Likewise. | |
15930 | * solib-aix.c (get_solib_aix_inferior_data): Likewise. | |
15931 | (library_list_start_library): Likewise. | |
15932 | (solib_aix_current_sos): Likewise. | |
15933 | * solib-darwin.c (get_darwin_info): Likewise. | |
15934 | (darwin_current_sos): Likewise. | |
15935 | * solib-dsbt.c (get_dsbt_info): Likewise. | |
15936 | * solib-ia64-hpux.c (new_so_list): Likewise. | |
15937 | (ia64_hpux_get_solib_linkage_addr): Likewise. | |
15938 | * solib-spu.c (append_ocl_sos): Likewise. | |
15939 | (spu_current_sos): Likewise. | |
15940 | * solib-svr4.c (get_svr4_info): Likewise. | |
15941 | (svr4_keep_data_in_core): Likewise. | |
15942 | (library_list_start_library): Likewise. | |
15943 | (svr4_default_sos): Likewise. | |
15944 | (svr4_read_so_list): Likewise. | |
15945 | * solib-target.c (library_list_start_library): Likewise. | |
15946 | (solib_target_current_sos): Likewise. | |
15947 | * sparc-tdep.c (sparc32_gdbarch_init): Likewise. | |
15948 | * symfile-debug.c (install_symfile_debug_logging): Likewise. | |
15949 | * symfile.c (default_symfile_segments): Likewise. | |
15950 | * target-descriptions.c (tdesc_data_init): Likewise. | |
15951 | (tdesc_create_reg): Likewise. | |
15952 | (struct tdesc_type *): Likewise. | |
15953 | (tdesc_create_vector): Likewise. | |
15954 | (tdesc_set_struct_size): Likewise. | |
15955 | (struct tdesc_type *): Likewise. | |
15956 | (tdesc_free_feature): Likewise. | |
15957 | (tdesc_create_feature): Likewise. | |
15958 | * windows-nat.c (windows_add_thread): Likewise. | |
15959 | (windows_make_so): Likewise. | |
15960 | * xml-support.c (gdb_xml_body_text): Likewise. | |
15961 | (gdb_xml_create_parser_and_cleanup): Likewise. | |
15962 | (xml_process_xincludes): Likewise. | |
15963 | * xml-syscall.c (allocate_syscalls_info): Likewise. | |
15964 | (syscall_create_syscall_desc): Likewise. | |
15965 | ||
5acfdbae SDJ |
15966 | 2014-01-12 Sergio Durigan Junior <sergiodj@redhat.com> |
15967 | ||
15968 | * i386-tdep.c (i386_stap_parse_special_token_triplet): New | |
15969 | function, with code from i386_stap_parse_special_token. | |
15970 | (i386_stap_parse_special_token_three_arg_disp): Likewise. | |
15971 | (i386_stap_parse_special_token): Move code to the two functions | |
15972 | above; simplify it. | |
15973 | ||
0000e5cc PA |
15974 | 2014-01-09 Pedro Alves <palves@redhat.com> |
15975 | Hui Zhu <hui@codesourcery.com> | |
15976 | ||
15977 | PR gdb/16101 | |
15978 | * breakpoint.c (insert_bp_location): Rename hw_bp_err_string to | |
15979 | bp_err_string. Don't mark the location shlib_disabled if the | |
15980 | error thrown wasn't a generic or memory error. Catch errors | |
15981 | thrown while inserting breakpoints in overlayed code. Output | |
15982 | error message of software breakpoints. | |
15983 | * remote.c (remote_insert_breakpoint): If this breakpoint has | |
15984 | target-side commands but this stub doesn't support Z0 packets, | |
15985 | throw NOT_SUPPORTED_ERROR error. | |
15986 | * exceptions.h (enum errors) <NOT_SUPPORTED_ERROR>: New error. | |
15987 | * target.h (target_insert_breakpoint): Extend comment. | |
15988 | (target_insert_hw_breakpoint): Add comment. | |
15989 | ||
b7ea362b PA |
15990 | 2014-01-08 Pedro Alves <palves@redhat.com> |
15991 | ||
15992 | * remote.c (remote_add_thread): Add threads silently if starting | |
15993 | up. | |
15994 | (remote_notice_new_inferior): If in all-stop, and starting up, | |
15995 | don't call notice_new_inferior. | |
15996 | (get_current_thread): New function, factored out from ... | |
15997 | (add_current_inferior_and_thread): ... this. Adjust. | |
15998 | (remote_start_remote) <all-stop>: Fetch the thread list. If we | |
15999 | found any thread, then select the remote's current thread as GDB's | |
16000 | current thread too. | |
16001 | ||
b7bba001 JB |
16002 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
16003 | ||
16004 | * NEWS: Create a new section for the next release branch. | |
16005 | Rename the section of the current branch, now that it has | |
16006 | been cut. | |
16007 | ||
16dfbded JB |
16008 | 2014-01-08 Joel Brobecker <brobecker@adacore.com> |
16009 | ||
16010 | GDB 7.7 branch created (79301218fa0f074c5656db0ec8972a5ddcf91fb5): | |
16011 | * version.in: Bump version to 7.7.50.DATE-cvs. | |
16012 | ||
22c90ac1 YQ |
16013 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
16014 | ||
16015 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Change | |
16016 | type of 'id' to gdb_byte. Cast 'id' to 'const char *'. | |
16017 | (spu_xfer_partial): Cast 'buf' to 'const char *'. | |
16018 | ||
d64ad97c YQ |
16019 | 2014-01-08 Yao Qi <yao@codesourcery.com> |
16020 | ||
16021 | * spu-linux-nat.c (spu_symbol_file_add_from_memory): Pass | |
16022 | return value of bfd_get_filename to symbol_file_add_from_bfd. | |
16023 | ||
f93ba80c PM |
16024 | 2014-01-08 Pierre Muller <muller@sourceware.org> |
16025 | ||
16026 | Fix PR16201. | |
16027 | * coff-pe-read.c (struct read_pe_section_data): Add index field. | |
16028 | (add_pe_exported_sym): Use SECTION_DATA->INDEX for call | |
16029 | to prim_record_mininal_symbol_and_info. | |
16030 | (add_pe_forwarded_sym): Use known section number of forwarded symbol | |
16031 | in call to prim_record_minimal_symbol_and_info. | |
16032 | (read_pe_exported_syms): Set index field of section_data. | |
16033 | ||
a4d9ba85 AP |
16034 | 2014-01-07 Andrew Pinski <apinski@cavium.com> |
16035 | ||
16036 | * features/aarch64-core.xml (cpsr): Change to be 64bit. | |
16037 | * features/aarch64.c: Regenerate. | |
16038 | ||
1b67eb02 AS |
16039 | 2014-01-07 Andreas Schwab <schwab@linux-m68k.org> |
16040 | ||
16041 | * target.c (return_null): Define. | |
16042 | (update_current_target): Use it instead of return_zero for | |
16043 | functions that return a pointer. | |
16044 | ||
5e3f4fab EBM |
16045 | 2014-01-07 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com> |
16046 | ||
16047 | * source.c (add_path): Fix check for duplicated paths in the previously | |
16048 | included paths. | |
16049 | ||
e2616788 HK |
16050 | 2014-01-07 Honggyu Kim <hong.gyu.kim@lge.com> |
16051 | ||
16052 | * ada-lang.c: Remove duplicated include statements. | |
16053 | * alphabsd-nat.c: Ditto. | |
16054 | * amd64-darwin-tdep.c: Ditto. | |
16055 | * amd64fbsd-nat.c: Ditto. | |
16056 | * auto-load.c: Ditto. | |
16057 | * ax-gdb.c: Ditto. | |
16058 | * breakpoint.c: Ditto. | |
16059 | * dbxread.c: Ditto. | |
16060 | * fork-child.c: Ditto. | |
16061 | * gdb_usleep.c: Ditto. | |
16062 | * i386-darwin-tdep.c: Ditto. | |
16063 | * i386fbsd-nat.c: Ditto. | |
16064 | * infcmd.c: Ditto. | |
16065 | * inferior.c: Ditto. | |
16066 | * jv-lang.c: Ditto. | |
16067 | * linux-nat.c: Ditto. | |
16068 | * linux-tdep.c: Ditto. | |
16069 | * m68kbsd-nat.c: Ditto. | |
16070 | * m68klinux-nat.c: Ditto. | |
16071 | * microblaze-tdep.c: Ditto. | |
16072 | * mips-linux-tdep.c: Ditto. | |
16073 | * mn10300-tdep.c: Ditto. | |
16074 | * nto-tdep.c: Ditto. | |
16075 | * opencl-lang.c: Ditto. | |
16076 | * osdata.c: Ditto. | |
16077 | * printcmd.c: Ditto. | |
16078 | * regcache.c: Ditto. | |
16079 | * remote-m32r-sdi.c: Ditto. | |
16080 | * remote.c: Ditto. | |
16081 | * symfile.c: Ditto. | |
16082 | * symtab.c: Ditto. | |
16083 | * tilegx-linux-nat.c: Ditto. | |
16084 | * tilegx-tdep.c: Ditto. | |
16085 | * tracepoint.c: Ditto. | |
16086 | * valops.c: Ditto. | |
16087 | * vaxbsd-nat.c: Ditto. | |
16088 | * windows-nat.c: Ditto. | |
16089 | * xtensa-tdep.c: Ditto. | |
16090 | ||
bd1f7788 YQ |
16091 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16092 | ||
16093 | * spu-linux-nat.c (_initialize_spu_nat): Declare. | |
16094 | ||
79301218 JB |
16095 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16096 | Joel Brobecker <brobecker@adacore.com> | |
16097 | ||
16098 | * aix-thread.c (pdc_read_regs): Cast parameter to uintptr_t. | |
16099 | (pdc_write_regs): Likewise. | |
16100 | (fetch_regs_kernel_thread): Likewise. | |
16101 | (store_regs_kernel_thread): Likewise. | |
16102 | ||
16103 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> | |
16104 | ||
16105 | * ada-varobj.c (ada_varobj_adjust_for_child_access): Convert | |
16106 | tagged type objects to their actual type. | |
16107 | ||
8e355c5d JB |
16108 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16109 | ||
16110 | * ada-valprint.c (print_field_values): Add "language" parameter. | |
16111 | Update calls to print_field_values and print_variant_part. | |
16112 | Pass new parameter "language" in call to val_print instead | |
16113 | of "current_language". Replace call to ada_val_print by call | |
16114 | to val_print. | |
16115 | (print_variant_part): Add "language" parameter. | |
16116 | (ada_val_print_struct_union): Update call to print_field_values. | |
16117 | ||
4fbf5aa5 JB |
16118 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16119 | ||
16120 | * ada-valprint.c (ui_memcpy): Delete. | |
16121 | (ada_print_floating): Update documentation. Add empty line | |
16122 | between between function documentation and implementation. | |
16123 | Delete variable "buffer". Use ui_file_xstrdup in place of | |
16124 | ui_file_put. Minor adjustments following this change. | |
16125 | ||
71855601 JB |
16126 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16127 | ||
16128 | * ada-valprint.c (ada_val_print_string): New function, | |
16129 | extracted from ada_val_print_array. | |
16130 | (ada_val_print_array): Replace extracted code by call | |
16131 | to ada_val_print_string followed by a return. Move | |
16132 | "else" branch to the function's top block. | |
16133 | ||
4eb27a30 JB |
16134 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16135 | ||
16136 | * ada-valprint.c (ada_val_print_array): Move implementation | |
16137 | down. Rename parameter "offset" and "val" into "offset_aligned" | |
16138 | and "original_value" respectively. Add parameter "offset". | |
16139 | ||
34b27950 JB |
16140 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16141 | ||
16142 | * ada-valprint.c (ada_val_print_ref): Rewrite by mostly | |
16143 | re-organizing the code. Change the "???" message printed | |
16144 | when target type is a TYPE_CODE_UNDEF into | |
16145 | "<ref to undefined type>". | |
16146 | ||
079e4591 JB |
16147 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16148 | ||
16149 | * ada-valprint.c (print_record): Delete, implementation inlined... | |
16150 | (ada_val_print_struct_union): ... here. Remove call to | |
16151 | ada_check_typedef in inlined implementation. | |
16152 | ||
8004dfd1 JB |
16153 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16154 | ||
16155 | * ada-valprint.c (ada_val_print_gnat_array): New function, | |
16156 | extracted from ada_val_print_1; | |
16157 | (ada_val_print_ptr, ada_val_print_num, ada_val_print_enum) | |
16158 | (ada_val_print_flt, ada_val_print_struct_union) | |
16159 | (ada_val_print_ref): Likewise. | |
16160 | (ada_val_print_1): Delete variables i and elttype. | |
16161 | Replace extracted-out code by call to corresponding | |
16162 | new functions. | |
16163 | ||
760a2db0 JB |
16164 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16165 | ||
16166 | * ada-valprint.c (ada_val_print_1): Remove call to gdb_flush. | |
16167 | ||
3a92c861 JB |
16168 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16169 | ||
16170 | * ada-valprint.c (ada_val_print_1): Replace calls to | |
16171 | ada_val_print_1 by calls to val_print. | |
16172 | ||
cd1630f9 JB |
16173 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16174 | ||
16175 | * ada-valprint.c (ada_val_print_1): Add parameter "language". | |
16176 | Update calls to self accordingly. Replace calls to c_val_print | |
16177 | by calls to val_print. | |
16178 | ||
bdf779a0 JB |
16179 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16180 | ||
16181 | * ada-valprint.c (print_record): Delete declaration. | |
16182 | (adjust_type_signedness, ada_val_print_1): Likewise. | |
16183 | (ada_val_print): Move function implementation down. | |
16184 | (print_variant_part, print_field_values, print_record): | |
16185 | Move function implementation up. | |
16186 | ||
c0d48811 JB |
16187 | 2014-01-07 Joel Brobecker <brobecker@adacore.com> |
16188 | ||
16189 | * python/py-type.c (typy_get_name): New function. | |
16190 | (type_object_getset): Add entry for attribute "name". | |
16191 | * NEWS: Add entry mentioning this new attribute. | |
16192 | ||
c26e9cbb YQ |
16193 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16194 | ||
16195 | * gnu-nat.c (set_exceptions_cmd): Remove an empty body 'if' | |
16196 | statement. | |
16197 | ||
0cc6f43d YQ |
16198 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16199 | ||
16200 | * gnu-nat.c (info_port_rights): Add qualifier const to | |
16201 | argument args. | |
16202 | ||
eec03155 YQ |
16203 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16204 | ||
16205 | * gnu-nat.c (trace_me): Use 'void' for empty argument list. | |
16206 | ||
f04a82ef YQ |
16207 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16208 | ||
16209 | * gnu-nat.c (make_inf) Update declaration. | |
16210 | (make_inf): Make it static. | |
16211 | (inf_set_traced): Likewise. | |
16212 | (inf_port_to_thread, inf_task_died_status): Likewise. | |
16213 | ||
d57dda0a YQ |
16214 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16215 | ||
16216 | * gnu-nat.c (inf_tid_to_proc): Remove declaration. | |
16217 | ||
3aa8c969 YQ |
16218 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16219 | ||
16220 | * gnu-nat.c (_initialize_gnu_nat): Declare. | |
16221 | ||
94123b4f YQ |
16222 | 2014-01-07 Yao Qi <yao@codesourcery.com> |
16223 | ||
16224 | * gdbarch.sh (byte_order, byte_order_for_code): Change type to | |
16225 | 'enum bfd_endian'. | |
16226 | (struct gdbarch_info) <byte_order>: Change type to | |
16227 | 'enum bfd_endian'. | |
16228 | <byte_order_for_code>: Likewise. | |
16229 | * gdbarch.c, gdbarch.h: Regenerated. | |
16230 | ||
dc81d70a TT |
16231 | 2014-01-06 Sasha Smundak <asmundak@google.com> |
16232 | ||
16233 | * jit.c: (jit_reader_load_command): Fix JIT reader path creation. | |
16234 | ||
cc2f3c35 TT |
16235 | 2014-01-06 Tom Tromey <tromey@redhat.com> |
16236 | ||
16237 | * doublest.c (convert_doublest_to_floatformat): Use const, not | |
16238 | CONST. | |
16239 | * somread.c (som_symtab_read): Likewise. | |
16240 | ||
adcf2eed HZ |
16241 | 2014-01-07 Hui Zhu <hui@codesourcery.com> |
16242 | ||
16243 | * gdb_bfd.c (gdb_bfd_stash_filename): Removed. | |
16244 | (gdb_bfd_open): Removed gdb_bfd_stash_filename. | |
16245 | (gdb_bfd_fopen): Ditto. | |
16246 | (gdb_bfd_openr): Ditto. | |
16247 | (gdb_bfd_openw): Ditto. | |
16248 | (gdb_bfd_openr_iovec): Ditto. | |
16249 | (gdb_bfd_fdopenr): Ditto. | |
16250 | * gdb_bfd.h (gdb_bfd_stash_filename): Removed. | |
16251 | * solib-aix.c (solib_aix_bfd_open): Alloc object_bfd->filename | |
16252 | with xstrdup. | |
16253 | * solib-darwin.c (darwin_bfd_open): Alloc res->filename | |
16254 | with xstrdup. | |
16255 | * symfile-mem.c (symbol_file_add_from_memory): Removed | |
16256 | gdb_bfd_stash_filename. | |
16257 | ||
50722198 DE |
16258 | 2014-01-03 Doug Evans <dje@google.com> |
16259 | ||
16260 | * nat/linux-waitpid.c (linux_debug): Remove extraneous \n from | |
16261 | output. | |
16262 | ||
2fa4b862 JB |
16263 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
16264 | ||
16265 | Update year range in copyright notice of all files. | |
16266 | ||
28498c42 JB |
16267 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
16268 | ||
16269 | * top.c (print_gdb_version): Set copyright year to 2014. | |
16270 | ||
7b6e1046 JB |
16271 | 2014-01-01 Joel Brobecker <brobecker@adacore.com> |
16272 | ||
16273 | * config/djgpp/fnchange.lst: Add entry for gdb/ChangeLog-2013. | |
16274 | ||
df96af55 | 16275 | For older changes see ChangeLog-2013. |
c906108c SS |
16276 | \f |
16277 | Local Variables: | |
16278 | mode: change-log | |
16279 | left-margin: 8 | |
16280 | fill-column: 74 | |
16281 | version-control: never | |
57da7796 | 16282 | coding: utf-8 |
c906108c | 16283 | End: |